@konnectio/core 4.0.82 → 4.0.83

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.
Files changed (73) hide show
  1. package/dist/ActionField-BA-fYDFE.js +100 -0
  2. package/dist/ActionField-BA-fYDFE.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-cs1R6FqT.js +281 -0
  4. package/dist/AvailabilitySkeleton-cs1R6FqT.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js} +1156 -1171
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js.br +0 -0
  7. package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-BWvzwZp7.js} +153 -168
  8. package/dist/CheckoutWindow-BWvzwZp7.js.br +0 -0
  9. package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-Cznv1pOA.js} +20 -35
  10. package/dist/ErrorMessage-Cznv1pOA.js.br +0 -0
  11. package/dist/EventAvailabilityForm-CCIRdxiD.js +111 -0
  12. package/dist/EventAvailabilityForm-CCIRdxiD.js.br +0 -0
  13. package/dist/Field-BvDQnKDq.js +43 -0
  14. package/dist/Field-BvDQnKDq.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js} +2302 -2317
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js.br +0 -0
  17. package/dist/TermsOfService-GFdUcU5a.js +29 -0
  18. package/dist/_-CApO2y_W.js +5 -0
  19. package/dist/_.vue_vue_type_style_index_0_lang-JXEPTW6b.js +25 -0
  20. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  21. package/dist/availability.js +55 -71
  22. package/dist/availability.js.br +0 -0
  23. package/dist/deep-link.js +21 -36
  24. package/dist/deep-link.js.br +0 -0
  25. package/dist/event.js +408 -424
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +73 -89
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +181 -197
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-DA27WKsi.js +119 -0
  32. package/dist/giftCard-DA27WKsi.js.br +0 -0
  33. package/dist/hotel.js +505 -520
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-C22IPiCy.js} +53 -68
  36. package/dist/masonry.plugin-C22IPiCy.js.br +0 -0
  37. package/dist/{mitt-CzL6QOyp.js → mitt-QLRlCcPH.js} +983 -998
  38. package/dist/mitt-QLRlCcPH.js.br +0 -0
  39. package/dist/polyfill.js +4152 -7854
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/{style-CT1Yk_a0.js → style-CF23zZwv.js} +388 -403
  42. package/dist/style-CF23zZwv.js.br +0 -0
  43. package/dist/{_sentry-release-injection-file-8liCQLPI.js → vue.esm-bundler-BkY4vCIk.js} +1987 -2003
  44. package/dist/vue.esm-bundler-BkY4vCIk.js.br +0 -0
  45. package/package.json +1 -3
  46. package/dist/ActionField-Mf3IO8Sg.js +0 -115
  47. package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-D3xnLMQI.js +0 -296
  49. package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
  51. package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
  52. package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
  53. package/dist/EventAvailabilityForm-Ctz8ENUN.js +0 -126
  54. package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
  55. package/dist/Field-Bg0N8Vc0.js +0 -58
  56. package/dist/Field-Bg0N8Vc0.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
  58. package/dist/TermsOfService-CWraQvoB.js +0 -44
  59. package/dist/TermsOfService-CWraQvoB.js.br +0 -4
  60. package/dist/_-BEZe3PAF.js +0 -20
  61. package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js +0 -40
  62. package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
  63. package/dist/_commonjsHelpers-C8ml6AyB.js +0 -25
  64. package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
  66. package/dist/giftCard-sImOKdP0.js +0 -134
  67. package/dist/giftCard-sImOKdP0.js.br +0 -0
  68. package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
  69. package/dist/mitt-CzL6QOyp.js.br +0 -0
  70. package/dist/sentry-Cyc40KnT.js +0 -26
  71. package/dist/style-CT1Yk_a0.js.br +0 -0
  72. package/dist/tracing-6Srl_nMB.js +0 -2628
  73. package/dist/tracing-6Srl_nMB.js.br +0 -0
@@ -1,27 +1,12 @@
1
- import { af as Ot, r as It, ag as gn, ah as pn, v as he, ai as Ct, U as qn, aj as Zn, H as Nn, z as xe, N as zn, a2 as er, a3 as tr, E as nr, ak as rr, c as Le, d as yt, K as Ln, I as St, o as sr, O as ar, F as bn, a8 as or, f as lr, M as cr } from "./_sentry-release-injection-file-8liCQLPI.js";
2
- (function() {
3
- try {
4
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
5
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "de4cf1ba-5ab1-4bce-add2-f334361271b0", e._sentryDebugIdIdentifier = "sentry-dbid-de4cf1ba-5ab1-4bce-add2-f334361271b0");
6
- } catch {
7
- }
8
- })();
9
- {
10
- var we = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
- we._sentryModuleMetadata = we._sentryModuleMetadata || {}, we._sentryModuleMetadata[new Error().stack] = Object.assign(
12
- {},
13
- we._sentryModuleMetadata[new Error().stack],
14
- { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
15
- );
16
- }
17
- var ir = !1;
1
+ import { af as bt, r as Ot, ag as En, ah as gn, v as Te, ai as It, U as Qn, aj as qn, H as Nn, z as $e, N as Zn, a2 as zn, a3 as er, E as tr, ak as nr, c as Le, d as Ct, K as pn, I as yt, o as rr, O as sr, F as Ln, a8 as ar, f as lr, M as or } from "./vue.esm-bundler-BkY4vCIk.js";
2
+ var cr = !1;
18
3
  /*!
19
4
  * pinia v2.2.2
20
5
  * (c) 2024 Eduardo San Martin Morote
21
6
  * @license MIT
22
7
  */
23
8
  let hn;
24
- const Ge = (e) => hn = e, Tn = (
9
+ const Ye = (e) => hn = e, Tn = (
25
10
  /* istanbul ignore next */
26
11
  Symbol()
27
12
  );
@@ -33,14 +18,14 @@ var Re;
33
18
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
34
19
  })(Re || (Re = {}));
35
20
  function ha() {
36
- const e = Ot(!0), t = e.run(() => It({}));
21
+ const e = bt(!0), t = e.run(() => Ot({}));
37
22
  let n = [], r = [];
38
- const s = gn({
39
- install(o) {
40
- Ge(s), s._a = o, o.provide(Tn, s), o.config.globalProperties.$pinia = s, r.forEach((c) => n.push(c)), r = [];
23
+ const s = En({
24
+ install(l) {
25
+ Ye(s), s._a = l, l.provide(Tn, s), l.config.globalProperties.$pinia = s, r.forEach((c) => n.push(c)), r = [];
41
26
  },
42
- use(o) {
43
- return !this._a && !ir ? r.push(o) : n.push(o), this;
27
+ use(l) {
28
+ return !this._a && !cr ? r.push(l) : n.push(l), this;
44
29
  },
45
30
  _p: n,
46
31
  // it's actually undefined here
@@ -52,206 +37,206 @@ function ha() {
52
37
  });
53
38
  return s;
54
39
  }
55
- const On = () => {
40
+ const bn = () => {
56
41
  };
57
- function Ft(e, t, n, r = On) {
42
+ function Mt(e, t, n, r = bn) {
58
43
  e.push(t);
59
44
  const s = () => {
60
- const o = e.indexOf(t);
61
- o > -1 && (e.splice(o, 1), r());
45
+ const l = e.indexOf(t);
46
+ l > -1 && (e.splice(l, 1), r());
62
47
  };
63
- return !n && er() && tr(s), s;
48
+ return !n && zn() && er(s), s;
64
49
  }
65
- function Ne(e, ...t) {
50
+ function pe(e, ...t) {
66
51
  e.slice().forEach((n) => {
67
52
  n(...t);
68
53
  });
69
54
  }
70
- const ur = (e) => e(), Ut = Symbol(), ut = Symbol();
71
- function dt(e, t) {
55
+ const ir = (e) => e(), Ft = Symbol(), it = Symbol();
56
+ function _t(e, t) {
72
57
  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);
73
58
  for (const n in t) {
74
59
  if (!t.hasOwnProperty(n))
75
60
  continue;
76
61
  const r = t[n], s = e[n];
77
- mt(s) && mt(r) && e.hasOwnProperty(n) && !he(r) && !Ct(r) ? e[n] = dt(s, r) : e[n] = r;
62
+ mt(s) && mt(r) && e.hasOwnProperty(n) && !Te(r) && !It(r) ? e[n] = _t(s, r) : e[n] = r;
78
63
  }
79
64
  return e;
80
65
  }
81
- const fr = (
66
+ const ur = (
82
67
  /* istanbul ignore next */
83
68
  Symbol()
84
69
  );
85
- function _r(e) {
86
- return !mt(e) || !e.hasOwnProperty(fr);
70
+ function fr(e) {
71
+ return !mt(e) || !e.hasOwnProperty(ur);
87
72
  }
88
73
  const { assign: ue } = Object;
89
74
  function mr(e) {
90
- return !!(he(e) && e.effect);
75
+ return !!(Te(e) && e.effect);
91
76
  }
92
- function dr(e, t, n, r) {
93
- const { state: s, actions: o, getters: c } = t, i = n.state.value[e];
77
+ function _r(e, t, n, r) {
78
+ const { state: s, actions: l, getters: c } = t, i = n.state.value[e];
94
79
  let u;
95
- function m() {
80
+ function _() {
96
81
  i || (n.state.value[e] = s ? s() : {});
97
- const O = rr(n.state.value[e]);
98
- return ue(O, o, Object.keys(c || {}).reduce((L, N) => (L[N] = gn(Le(() => {
99
- Ge(n);
82
+ const O = nr(n.state.value[e]);
83
+ return ue(O, l, Object.keys(c || {}).reduce((L, p) => (L[p] = En(Le(() => {
84
+ Ye(n);
100
85
  const C = n._s.get(e);
101
- return c[N].call(C, C);
86
+ return c[p].call(C, C);
102
87
  })), L), {}));
103
88
  }
104
- return u = In(e, m, t, n, r, !0), u;
89
+ return u = On(e, _, t, n, r, !0), u;
105
90
  }
106
- function In(e, t, n = {}, r, s, o) {
91
+ function On(e, t, n = {}, r, s, l) {
107
92
  let c;
108
93
  const i = ue({ actions: {} }, n), u = { deep: !0 };
109
- let m, O, L = [], N = [], C;
94
+ let _, O, L = [], p = [], C;
110
95
  const A = r.state.value[e];
111
- !o && !A && (r.state.value[e] = {}), It({});
96
+ !l && !A && (r.state.value[e] = {}), Ot({});
112
97
  let R;
113
- function y(T) {
114
- let b;
115
- m = O = !1, typeof T == "function" ? (T(r.state.value[e]), b = {
98
+ function y(b) {
99
+ let h;
100
+ _ = O = !1, typeof b == "function" ? (b(r.state.value[e]), h = {
116
101
  type: Re.patchFunction,
117
102
  storeId: e,
118
103
  events: C
119
- }) : (dt(r.state.value[e], T), b = {
104
+ }) : (_t(r.state.value[e], b), h = {
120
105
  type: Re.patchObject,
121
- payload: T,
106
+ payload: b,
122
107
  storeId: e,
123
108
  events: C
124
109
  });
125
110
  const W = R = Symbol();
126
- nr().then(() => {
127
- R === W && (m = !0);
128
- }), O = !0, Ne(L, b, r.state.value[e]);
129
- }
130
- const P = o ? function() {
131
- const { state: b } = n, W = b ? b() : {};
132
- this.$patch((Y) => {
133
- ue(Y, W);
111
+ tr().then(() => {
112
+ R === W && (_ = !0);
113
+ }), O = !0, pe(L, h, r.state.value[e]);
114
+ }
115
+ const P = l ? function() {
116
+ const { state: h } = n, W = h ? h() : {};
117
+ this.$patch((G) => {
118
+ ue(G, W);
134
119
  });
135
120
  } : (
136
121
  /* istanbul ignore next */
137
- On
122
+ bn
138
123
  );
139
124
  function M() {
140
- c.stop(), L = [], N = [], r._s.delete(e);
125
+ c.stop(), L = [], p = [], r._s.delete(e);
141
126
  }
142
- const _ = (T, b = "") => {
143
- if (Ut in T)
144
- return T[ut] = b, T;
127
+ const m = (b, h = "") => {
128
+ if (Ft in b)
129
+ return b[it] = h, b;
145
130
  const W = function() {
146
- Ge(r);
147
- const Y = Array.from(arguments), F = [], K = [];
131
+ Ye(r);
132
+ const G = Array.from(arguments), F = [], Y = [];
148
133
  function Ce(B) {
149
134
  F.push(B);
150
135
  }
151
136
  function ye(B) {
152
- K.push(B);
137
+ Y.push(B);
153
138
  }
154
- Ne(N, {
155
- args: Y,
156
- name: W[ut],
157
- store: h,
139
+ pe(p, {
140
+ args: G,
141
+ name: W[it],
142
+ store: T,
158
143
  after: Ce,
159
144
  onError: ye
160
145
  });
161
146
  let re;
162
147
  try {
163
- re = T.apply(this && this.$id === e ? this : h, Y);
148
+ re = b.apply(this && this.$id === e ? this : T, G);
164
149
  } catch (B) {
165
- throw Ne(K, B), B;
150
+ throw pe(Y, B), B;
166
151
  }
167
- return re instanceof Promise ? re.then((B) => (Ne(F, B), B)).catch((B) => (Ne(K, B), Promise.reject(B))) : (Ne(F, re), re);
152
+ return re instanceof Promise ? re.then((B) => (pe(F, B), B)).catch((B) => (pe(Y, B), Promise.reject(B))) : (pe(F, re), re);
168
153
  };
169
- return W[Ut] = !0, W[ut] = b, W;
154
+ return W[Ft] = !0, W[it] = h, W;
170
155
  }, d = {
171
156
  _p: r,
172
157
  // _s: scope,
173
158
  $id: e,
174
- $onAction: Ft.bind(null, N),
159
+ $onAction: Mt.bind(null, p),
175
160
  $patch: y,
176
161
  $reset: P,
177
- $subscribe(T, b = {}) {
178
- const W = Ft(L, T, b.detached, () => Y()), Y = c.run(() => xe(() => r.state.value[e], (F) => {
179
- (b.flush === "sync" ? O : m) && T({
162
+ $subscribe(b, h = {}) {
163
+ const W = Mt(L, b, h.detached, () => G()), G = c.run(() => $e(() => r.state.value[e], (F) => {
164
+ (h.flush === "sync" ? O : _) && b({
180
165
  storeId: e,
181
166
  type: Re.direct,
182
167
  events: C
183
168
  }, F);
184
- }, ue({}, u, b)));
169
+ }, ue({}, u, h)));
185
170
  return W;
186
171
  },
187
172
  $dispose: M
188
- }, h = zn(d);
189
- r._s.set(e, h);
190
- const I = (r._a && r._a.runWithContext || ur)(() => r._e.run(() => (c = Ot()).run(() => t({ action: _ }))));
191
- for (const T in I) {
192
- const b = I[T];
193
- if (he(b) && !mr(b) || Ct(b))
194
- o || (A && _r(b) && (he(b) ? b.value = A[T] : dt(b, A[T])), r.state.value[e][T] = b);
195
- else if (typeof b == "function") {
196
- const W = _(b, T);
197
- I[T] = W, i.actions[T] = b;
173
+ }, T = Zn(d);
174
+ r._s.set(e, T);
175
+ const I = (r._a && r._a.runWithContext || ir)(() => r._e.run(() => (c = bt()).run(() => t({ action: m }))));
176
+ for (const b in I) {
177
+ const h = I[b];
178
+ if (Te(h) && !mr(h) || It(h))
179
+ l || (A && fr(h) && (Te(h) ? h.value = A[b] : _t(h, A[b])), r.state.value[e][b] = h);
180
+ else if (typeof h == "function") {
181
+ const W = m(h, b);
182
+ I[b] = W, i.actions[b] = h;
198
183
  }
199
184
  }
200
- return ue(h, I), ue(pn(h), I), Object.defineProperty(h, "$state", {
185
+ return ue(T, I), ue(gn(T), I), Object.defineProperty(T, "$state", {
201
186
  get: () => r.state.value[e],
202
- set: (T) => {
203
- y((b) => {
204
- ue(b, T);
187
+ set: (b) => {
188
+ y((h) => {
189
+ ue(h, b);
205
190
  });
206
191
  }
207
- }), r._p.forEach((T) => {
208
- ue(h, c.run(() => T({
209
- store: h,
192
+ }), r._p.forEach((b) => {
193
+ ue(T, c.run(() => b({
194
+ store: T,
210
195
  app: r._a,
211
196
  pinia: r,
212
197
  options: i
213
198
  })));
214
- }), A && o && n.hydrate && n.hydrate(h.$state, A), m = !0, O = !0, h;
199
+ }), A && l && n.hydrate && n.hydrate(T.$state, A), _ = !0, O = !0, T;
215
200
  }
216
201
  // @__NO_SIDE_EFFECTS__
217
202
  function Ta(e, t, n) {
218
203
  let r, s;
219
- const o = typeof t == "function";
220
- typeof e == "string" ? (r = e, s = o ? n : t) : (s = e, r = e.id);
204
+ const l = typeof t == "function";
205
+ typeof e == "string" ? (r = e, s = l ? n : t) : (s = e, r = e.id);
221
206
  function c(i, u) {
222
- const m = Zn();
207
+ const _ = qn();
223
208
  return i = // in test mode, ignore the argument provided as we can always retrieve a
224
209
  // pinia instance with getActivePinia()
225
- i || (m ? Nn(Tn, null) : null), i && Ge(i), i = hn, i._s.has(r) || (o ? In(r, t, s, i) : dr(r, s, i)), i._s.get(r);
210
+ i || (_ ? Nn(Tn, null) : null), i && Ye(i), i = hn, i._s.has(r) || (l ? On(r, t, s, i) : _r(r, s, i)), i._s.get(r);
226
211
  }
227
212
  return c.$id = r, c;
228
213
  }
229
- function Oa(e) {
214
+ function ba(e) {
230
215
  {
231
- e = pn(e);
216
+ e = gn(e);
232
217
  const t = {};
233
218
  for (const n in e) {
234
219
  const r = e[n];
235
- (he(r) || Ct(r)) && (t[n] = // ---
236
- qn(e, n));
220
+ (Te(r) || It(r)) && (t[n] = // ---
221
+ Qn(e, n));
237
222
  }
238
223
  return t;
239
224
  }
240
225
  }
241
- const Er = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, n) => (n ? "-" : "") + t.toLowerCase()), gr = (e) => e.replace(/-./g, (t) => t[1].toUpperCase());
242
- function Ia(e, t) {
226
+ const dr = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, n) => (n ? "-" : "") + t.toLowerCase()), Er = (e) => e.replace(/-./g, (t) => t[1].toUpperCase());
227
+ function Oa(e, t) {
243
228
  const n = typeof e == "function" ? e.options : e;
244
229
  let r = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
245
230
  const s = {};
246
- r = r.map(Er);
247
- const o = {};
231
+ r = r.map(dr);
232
+ const l = {};
248
233
  for (const c of Object.values(t)) {
249
234
  const u = c.name.split(".");
250
- u.length > 1 && (o[u[0]] || (o[u[0]] = {}), o[u[0]][gr(u[1])] = c.value);
235
+ u.length > 1 && (l[u[0]] || (l[u[0]] = {}), l[u[0]][Er(u[1])] = c.value);
251
236
  }
252
237
  for (const c of r) {
253
238
  let i = t.getNamedItem(c)?.value;
254
- Object.prototype.hasOwnProperty.call(o, c) && (i = o[c]), s[c] = i;
239
+ Object.prototype.hasOwnProperty.call(l, c) && (i = l[c]), s[c] = i;
255
240
  }
256
241
  return s;
257
242
  }
@@ -260,41 +245,41 @@ function Ia(e, t) {
260
245
  * (c) 2024 kazuya kawaguchi
261
246
  * Released under the MIT License.
262
247
  */
263
- const je = typeof window < "u", fe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), pr = (e, t, n) => Nr({ l: e, k: t, s: n }), Nr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), G = (e) => typeof e == "number" && isFinite(e), Lr = (e) => yn(e) === "[object Date]", He = (e) => yn(e) === "[object RegExp]", Be = (e) => U(e) && Object.keys(e).length === 0, J = Object.assign;
264
- let wt;
265
- const br = () => wt || (wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
266
- function Wt(e) {
248
+ const xe = typeof window < "u", fe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), gr = (e, t, n) => Nr({ l: e, k: t, s: n }), Nr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), pr = (e) => Cn(e) === "[object Date]", je = (e) => Cn(e) === "[object RegExp]", Ke = (e) => U(e) && Object.keys(e).length === 0, J = Object.assign;
249
+ let Ut;
250
+ const Lr = () => Ut || (Ut = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
251
+ function wt(e) {
267
252
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
268
253
  }
269
254
  const hr = Object.prototype.hasOwnProperty;
270
- function Xe(e, t) {
255
+ function He(e, t) {
271
256
  return hr.call(e, t);
272
257
  }
273
- const X = Array.isArray, j = (e) => typeof e == "function", S = (e) => typeof e == "string", x = (e) => typeof e == "boolean", w = (e) => e !== null && typeof e == "object", Tr = (e) => w(e) && j(e.then) && j(e.catch), Cn = Object.prototype.toString, yn = (e) => Cn.call(e), U = (e) => {
258
+ const X = Array.isArray, j = (e) => typeof e == "function", S = (e) => typeof e == "string", x = (e) => typeof e == "boolean", w = (e) => e !== null && typeof e == "object", Tr = (e) => w(e) && j(e.then) && j(e.catch), In = Object.prototype.toString, Cn = (e) => In.call(e), U = (e) => {
274
259
  if (!w(e))
275
260
  return !1;
276
261
  const t = Object.getPrototypeOf(e);
277
262
  return t === null || t.constructor === Object;
278
- }, Or = (e) => e == null ? "" : X(e) || U(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
279
- function Ir(e, t = "") {
263
+ }, br = (e) => e == null ? "" : X(e) || U(e) && e.toString === In ? JSON.stringify(e, null, 2) : String(e);
264
+ function Or(e, t = "") {
280
265
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
281
266
  }
282
- function Je(e) {
267
+ function Be(e) {
283
268
  let t = e;
284
269
  return () => ++t;
285
270
  }
286
- function Cr(e, t) {
271
+ function Ir(e, t) {
287
272
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
288
273
  }
289
- const We = (e) => !w(e) || X(e);
290
- function $e(e, t) {
291
- if (We(e) || We(t))
274
+ const we = (e) => !w(e) || X(e);
275
+ function Ve(e, t) {
276
+ if (we(e) || we(t))
292
277
  throw new Error("Invalid value");
293
278
  const n = [{ src: e, des: t }];
294
279
  for (; n.length; ) {
295
280
  const { src: r, des: s } = n.pop();
296
- Object.keys(r).forEach((o) => {
297
- We(r[o]) || We(s[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] });
281
+ Object.keys(r).forEach((l) => {
282
+ we(r[l]) || we(s[l]) ? s[l] = r[l] : n.push({ src: r[l], des: s[l] });
298
283
  });
299
284
  }
300
285
  }
@@ -303,28 +288,28 @@ function $e(e, t) {
303
288
  * (c) 2024 kazuya kawaguchi
304
289
  * Released under the MIT License.
305
290
  */
306
- function yr(e, t, n) {
291
+ function Cr(e, t, n) {
307
292
  return { line: e, column: t, offset: n };
308
293
  }
309
- function Ye(e, t, n) {
294
+ function Xe(e, t, n) {
310
295
  return { start: e, end: t };
311
296
  }
312
- const Sr = /\{([0-9a-zA-Z]+)\}/g;
313
- function Sn(e, ...t) {
314
- return t.length === 1 && Ar(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Sr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
297
+ const yr = /\{([0-9a-zA-Z]+)\}/g;
298
+ function yn(e, ...t) {
299
+ return t.length === 1 && Sr(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(yr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
315
300
  }
316
- const An = Object.assign, Vt = (e) => typeof e == "string", Ar = (e) => e !== null && typeof e == "object";
317
- function Pn(e, t = "") {
301
+ const Sn = Object.assign, Wt = (e) => typeof e == "string", Sr = (e) => e !== null && typeof e == "object";
302
+ function An(e, t = "") {
318
303
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
319
304
  }
320
- const At = {
305
+ const St = {
321
306
  USE_MODULO_SYNTAX: 1,
322
307
  __EXTEND_POINT__: 2
323
- }, Pr = {
324
- [At.USE_MODULO_SYNTAX]: "Use modulo before '{{0}}'."
308
+ }, Ar = {
309
+ [St.USE_MODULO_SYNTAX]: "Use modulo before '{{0}}'."
325
310
  };
326
- function kr(e, t, ...n) {
327
- const r = Sn(Pr[e], ...n || []), s = { message: String(r), code: e };
311
+ function Pr(e, t, ...n) {
312
+ const r = yn(Ar[e], ...n || []), s = { message: String(r), code: e };
328
313
  return t && (s.location = t), s;
329
314
  }
330
315
  const D = {
@@ -352,7 +337,7 @@ const D = {
352
337
  // to avoid collision of error codes. This should always be kept as the last
353
338
  // item.
354
339
  __EXTEND_POINT__: 17
355
- }, Rr = {
340
+ }, kr = {
356
341
  // tokenizer error messages
357
342
  [D.EXPECTED_TOKEN]: "Expected token: '{0}'",
358
343
  [D.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -375,54 +360,54 @@ const D = {
375
360
  [D.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
376
361
  };
377
362
  function Ie(e, t, n = {}) {
378
- const { domain: r, messages: s, args: o } = n, c = Sn((s || Rr)[e] || "", ...o || []), i = new SyntaxError(String(c));
363
+ const { domain: r, messages: s, args: l } = n, c = yn((s || kr)[e] || "", ...l || []), i = new SyntaxError(String(c));
379
364
  return i.code = e, t && (i.location = t), i.domain = r, i;
380
365
  }
381
- function Dr(e) {
366
+ function Rr(e) {
382
367
  throw e;
383
368
  }
384
- const ae = " ", vr = "\r", Q = `
385
- `, Mr = "\u2028", Fr = "\u2029";
386
- function Ur(e) {
369
+ const ae = " ", Dr = "\r", Q = `
370
+ `, vr = "\u2028", Mr = "\u2029";
371
+ function Fr(e) {
387
372
  const t = e;
388
- let n = 0, r = 1, s = 1, o = 0;
389
- const c = (I) => t[I] === vr && t[I + 1] === Q, i = (I) => t[I] === Q, u = (I) => t[I] === Fr, m = (I) => t[I] === Mr, O = (I) => c(I) || i(I) || u(I) || m(I), L = () => n, N = () => r, C = () => s, A = () => o, R = (I) => c(I) || u(I) || m(I) ? Q : t[I], y = () => R(n), P = () => R(n + o);
373
+ let n = 0, r = 1, s = 1, l = 0;
374
+ const c = (I) => t[I] === Dr && t[I + 1] === Q, i = (I) => t[I] === Q, u = (I) => t[I] === Mr, _ = (I) => t[I] === vr, O = (I) => c(I) || i(I) || u(I) || _(I), L = () => n, p = () => r, C = () => s, A = () => l, R = (I) => c(I) || u(I) || _(I) ? Q : t[I], y = () => R(n), P = () => R(n + l);
390
375
  function M() {
391
- return o = 0, O(n) && (r++, s = 0), c(n) && n++, n++, s++, t[n];
376
+ return l = 0, O(n) && (r++, s = 0), c(n) && n++, n++, s++, t[n];
392
377
  }
393
- function _() {
394
- return c(n + o) && o++, o++, t[n + o];
378
+ function m() {
379
+ return c(n + l) && l++, l++, t[n + l];
395
380
  }
396
381
  function d() {
397
- n = 0, r = 1, s = 1, o = 0;
382
+ n = 0, r = 1, s = 1, l = 0;
398
383
  }
399
- function h(I = 0) {
400
- o = I;
384
+ function T(I = 0) {
385
+ l = I;
401
386
  }
402
387
  function g() {
403
- const I = n + o;
388
+ const I = n + l;
404
389
  for (; I !== n; )
405
390
  M();
406
- o = 0;
391
+ l = 0;
407
392
  }
408
393
  return {
409
394
  index: L,
410
- line: N,
395
+ line: p,
411
396
  column: C,
412
397
  peekOffset: A,
413
398
  charAt: R,
414
399
  currentChar: y,
415
400
  currentPeek: P,
416
401
  next: M,
417
- peek: _,
402
+ peek: m,
418
403
  reset: d,
419
- resetPeek: h,
404
+ resetPeek: T,
420
405
  skipToPeek: g
421
406
  };
422
407
  }
423
- const ie = void 0, wr = ".", $t = "'", Wr = "tokenizer";
424
- function Vr(e, t = {}) {
425
- const n = t.location !== !1, r = Ur(e), s = () => r.index(), o = () => yr(r.line(), r.column(), r.index()), c = o(), i = s(), u = {
408
+ const ie = void 0, Ur = ".", Vt = "'", wr = "tokenizer";
409
+ function Wr(e, t = {}) {
410
+ const n = t.location !== !1, r = Fr(e), s = () => r.index(), l = () => Cr(r.line(), r.column(), r.index()), c = l(), i = s(), u = {
426
411
  currentType: 14,
427
412
  offset: i,
428
413
  startLoc: c,
@@ -434,104 +419,104 @@ function Vr(e, t = {}) {
434
419
  braceNest: 0,
435
420
  inLinked: !1,
436
421
  text: ""
437
- }, m = () => u, { onError: O } = t;
438
- function L(a, l, E, ...k) {
439
- const $ = m();
440
- if (l.column += E, l.offset += E, O) {
441
- const v = n ? Ye($.startLoc, l) : null, f = Ie(a, v, {
442
- domain: Wr,
422
+ }, _ = () => u, { onError: O } = t;
423
+ function L(a, o, E, ...k) {
424
+ const $ = _();
425
+ if (o.column += E, o.offset += E, O) {
426
+ const v = n ? Xe($.startLoc, o) : null, f = Ie(a, v, {
427
+ domain: wr,
443
428
  args: k
444
429
  });
445
430
  O(f);
446
431
  }
447
432
  }
448
- function N(a, l, E) {
449
- a.endLoc = o(), a.currentType = l;
450
- const k = { type: l };
451
- return n && (k.loc = Ye(a.startLoc, a.endLoc)), E != null && (k.value = E), k;
433
+ function p(a, o, E) {
434
+ a.endLoc = l(), a.currentType = o;
435
+ const k = { type: o };
436
+ return n && (k.loc = Xe(a.startLoc, a.endLoc)), E != null && (k.value = E), k;
452
437
  }
453
- const C = (a) => N(
438
+ const C = (a) => p(
454
439
  a,
455
440
  14
456
441
  /* TokenTypes.EOF */
457
442
  );
458
- function A(a, l) {
459
- return a.currentChar() === l ? (a.next(), l) : (L(D.EXPECTED_TOKEN, o(), 0, l), "");
443
+ function A(a, o) {
444
+ return a.currentChar() === o ? (a.next(), o) : (L(D.EXPECTED_TOKEN, l(), 0, o), "");
460
445
  }
461
446
  function R(a) {
462
- let l = "";
447
+ let o = "";
463
448
  for (; a.currentPeek() === ae || a.currentPeek() === Q; )
464
- l += a.currentPeek(), a.peek();
465
- return l;
449
+ o += a.currentPeek(), a.peek();
450
+ return o;
466
451
  }
467
452
  function y(a) {
468
- const l = R(a);
469
- return a.skipToPeek(), l;
453
+ const o = R(a);
454
+ return a.skipToPeek(), o;
470
455
  }
471
456
  function P(a) {
472
457
  if (a === ie)
473
458
  return !1;
474
- const l = a.charCodeAt(0);
475
- return l >= 97 && l <= 122 || // a-z
476
- l >= 65 && l <= 90 || // A-Z
477
- l === 95;
459
+ const o = a.charCodeAt(0);
460
+ return o >= 97 && o <= 122 || // a-z
461
+ o >= 65 && o <= 90 || // A-Z
462
+ o === 95;
478
463
  }
479
464
  function M(a) {
480
465
  if (a === ie)
481
466
  return !1;
482
- const l = a.charCodeAt(0);
483
- return l >= 48 && l <= 57;
467
+ const o = a.charCodeAt(0);
468
+ return o >= 48 && o <= 57;
484
469
  }
485
- function _(a, l) {
486
- const { currentType: E } = l;
470
+ function m(a, o) {
471
+ const { currentType: E } = o;
487
472
  if (E !== 2)
488
473
  return !1;
489
474
  R(a);
490
475
  const k = P(a.currentPeek());
491
476
  return a.resetPeek(), k;
492
477
  }
493
- function d(a, l) {
494
- const { currentType: E } = l;
478
+ function d(a, o) {
479
+ const { currentType: E } = o;
495
480
  if (E !== 2)
496
481
  return !1;
497
482
  R(a);
498
483
  const k = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), $ = M(k);
499
484
  return a.resetPeek(), $;
500
485
  }
501
- function h(a, l) {
502
- const { currentType: E } = l;
486
+ function T(a, o) {
487
+ const { currentType: E } = o;
503
488
  if (E !== 2)
504
489
  return !1;
505
490
  R(a);
506
- const k = a.currentPeek() === $t;
491
+ const k = a.currentPeek() === Vt;
507
492
  return a.resetPeek(), k;
508
493
  }
509
- function g(a, l) {
510
- const { currentType: E } = l;
494
+ function g(a, o) {
495
+ const { currentType: E } = o;
511
496
  if (E !== 8)
512
497
  return !1;
513
498
  R(a);
514
499
  const k = a.currentPeek() === ".";
515
500
  return a.resetPeek(), k;
516
501
  }
517
- function I(a, l) {
518
- const { currentType: E } = l;
502
+ function I(a, o) {
503
+ const { currentType: E } = o;
519
504
  if (E !== 9)
520
505
  return !1;
521
506
  R(a);
522
507
  const k = P(a.currentPeek());
523
508
  return a.resetPeek(), k;
524
509
  }
525
- function T(a, l) {
526
- const { currentType: E } = l;
510
+ function b(a, o) {
511
+ const { currentType: E } = o;
527
512
  if (!(E === 8 || E === 12))
528
513
  return !1;
529
514
  R(a);
530
515
  const k = a.currentPeek() === ":";
531
516
  return a.resetPeek(), k;
532
517
  }
533
- function b(a, l) {
534
- const { currentType: E } = l;
518
+ function h(a, o) {
519
+ const { currentType: E } = o;
535
520
  if (E !== 10)
536
521
  return !1;
537
522
  const k = () => {
@@ -542,302 +527,302 @@ function Vr(e, t = {}) {
542
527
  }
543
528
  function W(a) {
544
529
  R(a);
545
- const l = a.currentPeek() === "|";
546
- return a.resetPeek(), l;
530
+ const o = a.currentPeek() === "|";
531
+ return a.resetPeek(), o;
547
532
  }
548
- function Y(a) {
549
- const l = R(a), E = a.currentPeek() === "%" && a.peek() === "{";
533
+ function G(a) {
534
+ const o = R(a), E = a.currentPeek() === "%" && a.peek() === "{";
550
535
  return a.resetPeek(), {
551
536
  isModulo: E,
552
- hasSpace: l.length > 0
537
+ hasSpace: o.length > 0
553
538
  };
554
539
  }
555
- function F(a, l = !0) {
540
+ function F(a, o = !0) {
556
541
  const E = ($ = !1, v = "", f = !1) => {
557
- const p = a.currentPeek();
558
- return p === "{" ? v === "%" ? !1 : $ : p === "@" || !p ? v === "%" ? !0 : $ : p === "%" ? (a.peek(), E($, "%", !0)) : p === "|" ? v === "%" || f ? !0 : !(v === ae || v === Q) : p === ae ? (a.peek(), E(!0, ae, f)) : p === Q ? (a.peek(), E(!0, Q, f)) : !0;
542
+ const N = a.currentPeek();
543
+ return N === "{" ? v === "%" ? !1 : $ : N === "@" || !N ? v === "%" ? !0 : $ : N === "%" ? (a.peek(), E($, "%", !0)) : N === "|" ? v === "%" || f ? !0 : !(v === ae || v === Q) : N === ae ? (a.peek(), E(!0, ae, f)) : N === Q ? (a.peek(), E(!0, Q, f)) : !0;
559
544
  }, k = E();
560
- return l && a.resetPeek(), k;
545
+ return o && a.resetPeek(), k;
561
546
  }
562
- function K(a, l) {
547
+ function Y(a, o) {
563
548
  const E = a.currentChar();
564
- return E === ie ? ie : l(E) ? (a.next(), E) : null;
549
+ return E === ie ? ie : o(E) ? (a.next(), E) : null;
565
550
  }
566
551
  function Ce(a) {
567
- const l = a.charCodeAt(0);
568
- return l >= 97 && l <= 122 || // a-z
569
- l >= 65 && l <= 90 || // A-Z
570
- l >= 48 && l <= 57 || // 0-9
571
- l === 95 || // _
572
- l === 36;
552
+ const o = a.charCodeAt(0);
553
+ return o >= 97 && o <= 122 || // a-z
554
+ o >= 65 && o <= 90 || // A-Z
555
+ o >= 48 && o <= 57 || // 0-9
556
+ o === 95 || // _
557
+ o === 36;
573
558
  }
574
559
  function ye(a) {
575
- return K(a, Ce);
560
+ return Y(a, Ce);
576
561
  }
577
562
  function re(a) {
578
- const l = a.charCodeAt(0);
579
- return l >= 97 && l <= 122 || // a-z
580
- l >= 65 && l <= 90 || // A-Z
581
- l >= 48 && l <= 57 || // 0-9
582
- l === 95 || // _
583
- l === 36 || // $
584
- l === 45;
563
+ const o = a.charCodeAt(0);
564
+ return o >= 97 && o <= 122 || // a-z
565
+ o >= 65 && o <= 90 || // A-Z
566
+ o >= 48 && o <= 57 || // 0-9
567
+ o === 95 || // _
568
+ o === 36 || // $
569
+ o === 45;
585
570
  }
586
571
  function B(a) {
587
- return K(a, re);
572
+ return Y(a, re);
573
+ }
574
+ function Qe(a) {
575
+ const o = a.charCodeAt(0);
576
+ return o >= 48 && o <= 57;
588
577
  }
589
578
  function qe(a) {
590
- const l = a.charCodeAt(0);
591
- return l >= 48 && l <= 57;
579
+ return Y(a, Qe);
592
580
  }
593
581
  function Ze(a) {
594
- return K(a, qe);
595
- }
596
- function ze(a) {
597
- const l = a.charCodeAt(0);
598
- return l >= 48 && l <= 57 || // 0-9
599
- l >= 65 && l <= 70 || // A-F
600
- l >= 97 && l <= 102;
582
+ const o = a.charCodeAt(0);
583
+ return o >= 48 && o <= 57 || // 0-9
584
+ o >= 65 && o <= 70 || // A-F
585
+ o >= 97 && o <= 102;
601
586
  }
602
587
  function se(a) {
603
- return K(a, ze);
588
+ return Y(a, Ze);
604
589
  }
605
590
  function Se(a) {
606
- let l = "", E = "";
607
- for (; l = Ze(a); )
608
- E += l;
591
+ let o = "", E = "";
592
+ for (; o = qe(a); )
593
+ E += o;
609
594
  return E;
610
595
  }
611
- function et(a) {
596
+ function ze(a) {
612
597
  y(a);
613
- const l = a.currentChar();
614
- return l !== "%" && L(D.EXPECTED_TOKEN, o(), 0, l), a.next(), "%";
598
+ const o = a.currentChar();
599
+ return o !== "%" && L(D.EXPECTED_TOKEN, l(), 0, o), a.next(), "%";
615
600
  }
616
601
  function Me(a) {
617
- let l = "";
602
+ let o = "";
618
603
  for (; ; ) {
619
604
  const E = a.currentChar();
620
605
  if (E === "{" || E === "}" || E === "@" || E === "|" || !E)
621
606
  break;
622
607
  if (E === "%")
623
608
  if (F(a))
624
- l += E, a.next();
609
+ o += E, a.next();
625
610
  else
626
611
  break;
627
612
  else if (E === ae || E === Q)
628
613
  if (F(a))
629
- l += E, a.next();
614
+ o += E, a.next();
630
615
  else {
631
616
  if (W(a))
632
617
  break;
633
- l += E, a.next();
618
+ o += E, a.next();
634
619
  }
635
620
  else
636
- l += E, a.next();
621
+ o += E, a.next();
637
622
  }
638
- return l;
623
+ return o;
639
624
  }
640
- function tt(a) {
625
+ function et(a) {
641
626
  y(a);
642
- let l = "", E = "";
643
- for (; l = B(a); )
644
- E += l;
645
- return a.currentChar() === ie && L(D.UNTERMINATED_CLOSING_BRACE, o(), 0), E;
627
+ let o = "", E = "";
628
+ for (; o = B(a); )
629
+ E += o;
630
+ return a.currentChar() === ie && L(D.UNTERMINATED_CLOSING_BRACE, l(), 0), E;
646
631
  }
647
- function nt(a) {
632
+ function tt(a) {
648
633
  y(a);
649
- let l = "";
650
- return a.currentChar() === "-" ? (a.next(), l += `-${Se(a)}`) : l += Se(a), a.currentChar() === ie && L(D.UNTERMINATED_CLOSING_BRACE, o(), 0), l;
634
+ let o = "";
635
+ return a.currentChar() === "-" ? (a.next(), o += `-${Se(a)}`) : o += Se(a), a.currentChar() === ie && L(D.UNTERMINATED_CLOSING_BRACE, l(), 0), o;
651
636
  }
652
- function Mt(a) {
653
- return a !== $t && a !== Q;
637
+ function vt(a) {
638
+ return a !== Vt && a !== Q;
654
639
  }
655
- function rt(a) {
640
+ function nt(a) {
656
641
  y(a), A(a, "'");
657
- let l = "", E = "";
658
- for (; l = K(a, Mt); )
659
- l === "\\" ? E += st(a) : E += l;
642
+ let o = "", E = "";
643
+ for (; o = Y(a, vt); )
644
+ o === "\\" ? E += rt(a) : E += o;
660
645
  const k = a.currentChar();
661
- return k === Q || k === ie ? (L(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), k === Q && (a.next(), A(a, "'")), E) : (A(a, "'"), E);
646
+ return k === Q || k === ie ? (L(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), k === Q && (a.next(), A(a, "'")), E) : (A(a, "'"), E);
662
647
  }
663
- function st(a) {
664
- const l = a.currentChar();
665
- switch (l) {
648
+ function rt(a) {
649
+ const o = a.currentChar();
650
+ switch (o) {
666
651
  case "\\":
667
652
  case "'":
668
- return a.next(), `\\${l}`;
653
+ return a.next(), `\\${o}`;
669
654
  case "u":
670
- return Fe(a, l, 4);
655
+ return Fe(a, o, 4);
671
656
  case "U":
672
- return Fe(a, l, 6);
657
+ return Fe(a, o, 6);
673
658
  default:
674
- return L(D.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, l), "";
659
+ return L(D.UNKNOWN_ESCAPE_SEQUENCE, l(), 0, o), "";
675
660
  }
676
661
  }
677
- function Fe(a, l, E) {
678
- A(a, l);
662
+ function Fe(a, o, E) {
663
+ A(a, o);
679
664
  let k = "";
680
665
  for (let $ = 0; $ < E; $++) {
681
666
  const v = se(a);
682
667
  if (!v) {
683
- L(D.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${l}${k}${a.currentChar()}`);
668
+ L(D.INVALID_UNICODE_ESCAPE_SEQUENCE, l(), 0, `\\${o}${k}${a.currentChar()}`);
684
669
  break;
685
670
  }
686
671
  k += v;
687
672
  }
688
- return `\\${l}${k}`;
673
+ return `\\${o}${k}`;
689
674
  }
690
- function at(a) {
675
+ function st(a) {
691
676
  return a !== "{" && a !== "}" && a !== ae && a !== Q;
692
677
  }
693
- function ot(a) {
678
+ function at(a) {
694
679
  y(a);
695
- let l = "", E = "";
696
- for (; l = K(a, at); )
697
- E += l;
680
+ let o = "", E = "";
681
+ for (; o = Y(a, st); )
682
+ E += o;
698
683
  return E;
699
684
  }
700
685
  function lt(a) {
701
- let l = "", E = "";
702
- for (; l = ye(a); )
703
- E += l;
686
+ let o = "", E = "";
687
+ for (; o = ye(a); )
688
+ E += o;
704
689
  return E;
705
690
  }
706
- function ct(a) {
707
- const l = (E) => {
691
+ function ot(a) {
692
+ const o = (E) => {
708
693
  const k = a.currentChar();
709
- return k === "{" || k === "%" || k === "@" || k === "|" || k === "(" || k === ")" || !k || k === ae ? E : (E += k, a.next(), l(E));
694
+ return k === "{" || k === "%" || k === "@" || k === "|" || k === "(" || k === ")" || !k || k === ae ? E : (E += k, a.next(), o(E));
710
695
  };
711
- return l("");
696
+ return o("");
712
697
  }
713
698
  function Ae(a) {
714
699
  y(a);
715
- const l = A(
700
+ const o = A(
716
701
  a,
717
702
  "|"
718
703
  /* TokenChars.Pipe */
719
704
  );
720
- return y(a), l;
705
+ return y(a), o;
721
706
  }
722
- function Ee(a, l) {
707
+ function Ee(a, o) {
723
708
  let E = null;
724
709
  switch (a.currentChar()) {
725
710
  case "{":
726
- return l.braceNest >= 1 && L(D.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), a.next(), E = N(
727
- l,
711
+ return o.braceNest >= 1 && L(D.NOT_ALLOW_NEST_PLACEHOLDER, l(), 0), a.next(), E = p(
712
+ o,
728
713
  2,
729
714
  "{"
730
715
  /* TokenChars.BraceLeft */
731
- ), y(a), l.braceNest++, E;
716
+ ), y(a), o.braceNest++, E;
732
717
  case "}":
733
- return l.braceNest > 0 && l.currentType === 2 && L(D.EMPTY_PLACEHOLDER, o(), 0), a.next(), E = N(
734
- l,
718
+ return o.braceNest > 0 && o.currentType === 2 && L(D.EMPTY_PLACEHOLDER, l(), 0), a.next(), E = p(
719
+ o,
735
720
  3,
736
721
  "}"
737
722
  /* TokenChars.BraceRight */
738
- ), l.braceNest--, l.braceNest > 0 && y(a), l.inLinked && l.braceNest === 0 && (l.inLinked = !1), E;
723
+ ), o.braceNest--, o.braceNest > 0 && y(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), E;
739
724
  case "@":
740
- return l.braceNest > 0 && L(D.UNTERMINATED_CLOSING_BRACE, o(), 0), E = ge(a, l) || C(l), l.braceNest = 0, E;
725
+ return o.braceNest > 0 && L(D.UNTERMINATED_CLOSING_BRACE, l(), 0), E = ge(a, o) || C(o), o.braceNest = 0, E;
741
726
  default: {
742
727
  let $ = !0, v = !0, f = !0;
743
728
  if (W(a))
744
- return l.braceNest > 0 && L(D.UNTERMINATED_CLOSING_BRACE, o(), 0), E = N(l, 1, Ae(a)), l.braceNest = 0, l.inLinked = !1, E;
745
- if (l.braceNest > 0 && (l.currentType === 5 || l.currentType === 6 || l.currentType === 7))
746
- return L(D.UNTERMINATED_CLOSING_BRACE, o(), 0), l.braceNest = 0, Pe(a, l);
747
- if ($ = _(a, l))
748
- return E = N(l, 5, tt(a)), y(a), E;
749
- if (v = d(a, l))
750
- return E = N(l, 6, nt(a)), y(a), E;
751
- if (f = h(a, l))
752
- return E = N(l, 7, rt(a)), y(a), E;
729
+ return o.braceNest > 0 && L(D.UNTERMINATED_CLOSING_BRACE, l(), 0), E = p(o, 1, Ae(a)), o.braceNest = 0, o.inLinked = !1, E;
730
+ if (o.braceNest > 0 && (o.currentType === 5 || o.currentType === 6 || o.currentType === 7))
731
+ return L(D.UNTERMINATED_CLOSING_BRACE, l(), 0), o.braceNest = 0, Pe(a, o);
732
+ if ($ = m(a, o))
733
+ return E = p(o, 5, et(a)), y(a), E;
734
+ if (v = d(a, o))
735
+ return E = p(o, 6, tt(a)), y(a), E;
736
+ if (f = T(a, o))
737
+ return E = p(o, 7, nt(a)), y(a), E;
753
738
  if (!$ && !v && !f)
754
- return E = N(l, 13, ot(a)), L(D.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, E.value), y(a), E;
739
+ return E = p(o, 13, at(a)), L(D.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, E.value), y(a), E;
755
740
  break;
756
741
  }
757
742
  }
758
743
  return E;
759
744
  }
760
- function ge(a, l) {
761
- const { currentType: E } = l;
745
+ function ge(a, o) {
746
+ const { currentType: E } = o;
762
747
  let k = null;
763
748
  const $ = a.currentChar();
764
- switch ((E === 8 || E === 9 || E === 12 || E === 10) && ($ === Q || $ === ae) && L(D.INVALID_LINKED_FORMAT, o(), 0), $) {
749
+ switch ((E === 8 || E === 9 || E === 12 || E === 10) && ($ === Q || $ === ae) && L(D.INVALID_LINKED_FORMAT, l(), 0), $) {
765
750
  case "@":
766
- return a.next(), k = N(
767
- l,
751
+ return a.next(), k = p(
752
+ o,
768
753
  8,
769
754
  "@"
770
755
  /* TokenChars.LinkedAlias */
771
- ), l.inLinked = !0, k;
756
+ ), o.inLinked = !0, k;
772
757
  case ".":
773
- return y(a), a.next(), N(
774
- l,
758
+ return y(a), a.next(), p(
759
+ o,
775
760
  9,
776
761
  "."
777
762
  /* TokenChars.LinkedDot */
778
763
  );
779
764
  case ":":
780
- return y(a), a.next(), N(
781
- l,
765
+ return y(a), a.next(), p(
766
+ o,
782
767
  10,
783
768
  ":"
784
769
  /* TokenChars.LinkedDelimiter */
785
770
  );
786
771
  default:
787
- return W(a) ? (k = N(l, 1, Ae(a)), l.braceNest = 0, l.inLinked = !1, k) : g(a, l) || T(a, l) ? (y(a), ge(a, l)) : I(a, l) ? (y(a), N(l, 12, lt(a))) : b(a, l) ? (y(a), $ === "{" ? Ee(a, l) || k : N(l, 11, ct(a))) : (E === 8 && L(D.INVALID_LINKED_FORMAT, o(), 0), l.braceNest = 0, l.inLinked = !1, Pe(a, l));
772
+ return W(a) ? (k = p(o, 1, Ae(a)), o.braceNest = 0, o.inLinked = !1, k) : g(a, o) || b(a, o) ? (y(a), ge(a, o)) : I(a, o) ? (y(a), p(o, 12, lt(a))) : h(a, o) ? (y(a), $ === "{" ? Ee(a, o) || k : p(o, 11, ot(a))) : (E === 8 && L(D.INVALID_LINKED_FORMAT, l(), 0), o.braceNest = 0, o.inLinked = !1, Pe(a, o));
788
773
  }
789
774
  }
790
- function Pe(a, l) {
775
+ function Pe(a, o) {
791
776
  let E = {
792
777
  type: 14
793
778
  /* TokenTypes.EOF */
794
779
  };
795
- if (l.braceNest > 0)
796
- return Ee(a, l) || C(l);
797
- if (l.inLinked)
798
- return ge(a, l) || C(l);
780
+ if (o.braceNest > 0)
781
+ return Ee(a, o) || C(o);
782
+ if (o.inLinked)
783
+ return ge(a, o) || C(o);
799
784
  switch (a.currentChar()) {
800
785
  case "{":
801
- return Ee(a, l) || C(l);
786
+ return Ee(a, o) || C(o);
802
787
  case "}":
803
- return L(D.UNBALANCED_CLOSING_BRACE, o(), 0), a.next(), N(
804
- l,
788
+ return L(D.UNBALANCED_CLOSING_BRACE, l(), 0), a.next(), p(
789
+ o,
805
790
  3,
806
791
  "}"
807
792
  /* TokenChars.BraceRight */
808
793
  );
809
794
  case "@":
810
- return ge(a, l) || C(l);
795
+ return ge(a, o) || C(o);
811
796
  default: {
812
797
  if (W(a))
813
- return E = N(l, 1, Ae(a)), l.braceNest = 0, l.inLinked = !1, E;
814
- const { isModulo: $, hasSpace: v } = Y(a);
798
+ return E = p(o, 1, Ae(a)), o.braceNest = 0, o.inLinked = !1, E;
799
+ const { isModulo: $, hasSpace: v } = G(a);
815
800
  if ($)
816
- return v ? N(l, 0, Me(a)) : N(l, 4, et(a));
801
+ return v ? p(o, 0, Me(a)) : p(o, 4, ze(a));
817
802
  if (F(a))
818
- return N(l, 0, Me(a));
803
+ return p(o, 0, Me(a));
819
804
  break;
820
805
  }
821
806
  }
822
807
  return E;
823
808
  }
824
- function it() {
825
- const { currentType: a, offset: l, startLoc: E, endLoc: k } = u;
826
- return u.lastType = a, u.lastOffset = l, u.lastStartLoc = E, u.lastEndLoc = k, u.offset = s(), u.startLoc = o(), r.currentChar() === ie ? N(
809
+ function ct() {
810
+ const { currentType: a, offset: o, startLoc: E, endLoc: k } = u;
811
+ return u.lastType = a, u.lastOffset = o, u.lastStartLoc = E, u.lastEndLoc = k, u.offset = s(), u.startLoc = l(), r.currentChar() === ie ? p(
827
812
  u,
828
813
  14
829
814
  /* TokenTypes.EOF */
830
815
  ) : Pe(r, u);
831
816
  }
832
817
  return {
833
- nextToken: it,
818
+ nextToken: ct,
834
819
  currentOffset: s,
835
- currentPosition: o,
836
- context: m
820
+ currentPosition: l,
821
+ context: _
837
822
  };
838
823
  }
839
- const $r = "parser", xr = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
840
- function jr(e, t, n) {
824
+ const Vr = "parser", $r = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
825
+ function xr(e, t, n) {
841
826
  switch (e) {
842
827
  case "\\\\":
843
828
  return "\\";
@@ -849,144 +834,144 @@ function jr(e, t, n) {
849
834
  }
850
835
  }
851
836
  }
852
- function Hr(e = {}) {
837
+ function jr(e = {}) {
853
838
  const t = e.location !== !1, { onError: n, onWarn: r } = e;
854
- function s(_, d, h, g, ...I) {
855
- const T = _.currentPosition();
856
- if (T.offset += g, T.column += g, n) {
857
- const b = t ? Ye(h, T) : null, W = Ie(d, b, {
858
- domain: $r,
839
+ function s(m, d, T, g, ...I) {
840
+ const b = m.currentPosition();
841
+ if (b.offset += g, b.column += g, n) {
842
+ const h = t ? Xe(T, b) : null, W = Ie(d, h, {
843
+ domain: Vr,
859
844
  args: I
860
845
  });
861
846
  n(W);
862
847
  }
863
848
  }
864
- function o(_, d, h, g, ...I) {
865
- const T = _.currentPosition();
866
- if (T.offset += g, T.column += g, r) {
867
- const b = t ? Ye(h, T) : null;
868
- r(kr(d, b, I));
849
+ function l(m, d, T, g, ...I) {
850
+ const b = m.currentPosition();
851
+ if (b.offset += g, b.column += g, r) {
852
+ const h = t ? Xe(T, b) : null;
853
+ r(Pr(d, h, I));
869
854
  }
870
855
  }
871
- function c(_, d, h) {
872
- const g = { type: _ };
873
- return t && (g.start = d, g.end = d, g.loc = { start: h, end: h }), g;
856
+ function c(m, d, T) {
857
+ const g = { type: m };
858
+ return t && (g.start = d, g.end = d, g.loc = { start: T, end: T }), g;
874
859
  }
875
- function i(_, d, h, g) {
876
- t && (_.end = d, _.loc && (_.loc.end = h));
860
+ function i(m, d, T, g) {
861
+ t && (m.end = d, m.loc && (m.loc.end = T));
877
862
  }
878
- function u(_, d) {
879
- const h = _.context(), g = c(3, h.offset, h.startLoc);
880
- return g.value = d, i(g, _.currentOffset(), _.currentPosition()), g;
863
+ function u(m, d) {
864
+ const T = m.context(), g = c(3, T.offset, T.startLoc);
865
+ return g.value = d, i(g, m.currentOffset(), m.currentPosition()), g;
881
866
  }
882
- function m(_, d) {
883
- const h = _.context(), { lastOffset: g, lastStartLoc: I } = h, T = c(5, g, I);
884
- return T.index = parseInt(d, 10), _.nextToken(), i(T, _.currentOffset(), _.currentPosition()), T;
867
+ function _(m, d) {
868
+ const T = m.context(), { lastOffset: g, lastStartLoc: I } = T, b = c(5, g, I);
869
+ return b.index = parseInt(d, 10), m.nextToken(), i(b, m.currentOffset(), m.currentPosition()), b;
885
870
  }
886
- function O(_, d, h) {
887
- const g = _.context(), { lastOffset: I, lastStartLoc: T } = g, b = c(4, I, T);
888
- return b.key = d, h === !0 && (b.modulo = !0), _.nextToken(), i(b, _.currentOffset(), _.currentPosition()), b;
871
+ function O(m, d, T) {
872
+ const g = m.context(), { lastOffset: I, lastStartLoc: b } = g, h = c(4, I, b);
873
+ return h.key = d, T === !0 && (h.modulo = !0), m.nextToken(), i(h, m.currentOffset(), m.currentPosition()), h;
889
874
  }
890
- function L(_, d) {
891
- const h = _.context(), { lastOffset: g, lastStartLoc: I } = h, T = c(9, g, I);
892
- return T.value = d.replace(xr, jr), _.nextToken(), i(T, _.currentOffset(), _.currentPosition()), T;
875
+ function L(m, d) {
876
+ const T = m.context(), { lastOffset: g, lastStartLoc: I } = T, b = c(9, g, I);
877
+ return b.value = d.replace($r, xr), m.nextToken(), i(b, m.currentOffset(), m.currentPosition()), b;
893
878
  }
894
- function N(_) {
895
- const d = _.nextToken(), h = _.context(), { lastOffset: g, lastStartLoc: I } = h, T = c(8, g, I);
896
- return d.type !== 12 ? (s(_, D.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), T.value = "", i(T, g, I), {
879
+ function p(m) {
880
+ const d = m.nextToken(), T = m.context(), { lastOffset: g, lastStartLoc: I } = T, b = c(8, g, I);
881
+ return d.type !== 12 ? (s(m, D.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), b.value = "", i(b, g, I), {
897
882
  nextConsumeToken: d,
898
- node: T
899
- }) : (d.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ee(d)), T.value = d.value || "", i(T, _.currentOffset(), _.currentPosition()), {
900
- node: T
883
+ node: b
884
+ }) : (d.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, ee(d)), b.value = d.value || "", i(b, m.currentOffset(), m.currentPosition()), {
885
+ node: b
901
886
  });
902
887
  }
903
- function C(_, d) {
904
- const h = _.context(), g = c(7, h.offset, h.startLoc);
905
- return g.value = d, i(g, _.currentOffset(), _.currentPosition()), g;
888
+ function C(m, d) {
889
+ const T = m.context(), g = c(7, T.offset, T.startLoc);
890
+ return g.value = d, i(g, m.currentOffset(), m.currentPosition()), g;
906
891
  }
907
- function A(_) {
908
- const d = _.context(), h = c(6, d.offset, d.startLoc);
909
- let g = _.nextToken();
892
+ function A(m) {
893
+ const d = m.context(), T = c(6, d.offset, d.startLoc);
894
+ let g = m.nextToken();
910
895
  if (g.type === 9) {
911
- const I = N(_);
912
- h.modifier = I.node, g = I.nextConsumeToken || _.nextToken();
896
+ const I = p(m);
897
+ T.modifier = I.node, g = I.nextConsumeToken || m.nextToken();
913
898
  }
914
- switch (g.type !== 10 && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), g = _.nextToken(), g.type === 2 && (g = _.nextToken()), g.type) {
899
+ switch (g.type !== 10 && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), g = m.nextToken(), g.type === 2 && (g = m.nextToken()), g.type) {
915
900
  case 11:
916
- g.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = C(_, g.value || "");
901
+ g.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), T.key = C(m, g.value || "");
917
902
  break;
918
903
  case 5:
919
- g.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = O(_, g.value || "");
904
+ g.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), T.key = O(m, g.value || "");
920
905
  break;
921
906
  case 6:
922
- g.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = m(_, g.value || "");
907
+ g.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), T.key = _(m, g.value || "");
923
908
  break;
924
909
  case 7:
925
- g.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = L(_, g.value || "");
910
+ g.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), T.key = L(m, g.value || "");
926
911
  break;
927
912
  default: {
928
- s(_, D.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
929
- const I = _.context(), T = c(7, I.offset, I.startLoc);
930
- return T.value = "", i(T, I.offset, I.startLoc), h.key = T, i(h, I.offset, I.startLoc), {
913
+ s(m, D.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
914
+ const I = m.context(), b = c(7, I.offset, I.startLoc);
915
+ return b.value = "", i(b, I.offset, I.startLoc), T.key = b, i(T, I.offset, I.startLoc), {
931
916
  nextConsumeToken: g,
932
- node: h
917
+ node: T
933
918
  };
934
919
  }
935
920
  }
936
- return i(h, _.currentOffset(), _.currentPosition()), {
937
- node: h
921
+ return i(T, m.currentOffset(), m.currentPosition()), {
922
+ node: T
938
923
  };
939
924
  }
940
- function R(_) {
941
- const d = _.context(), h = d.currentType === 1 ? _.currentOffset() : d.offset, g = d.currentType === 1 ? d.endLoc : d.startLoc, I = c(2, h, g);
925
+ function R(m) {
926
+ const d = m.context(), T = d.currentType === 1 ? m.currentOffset() : d.offset, g = d.currentType === 1 ? d.endLoc : d.startLoc, I = c(2, T, g);
942
927
  I.items = [];
943
- let T = null, b = null;
928
+ let b = null, h = null;
944
929
  do {
945
- const F = T || _.nextToken();
946
- switch (T = null, F.type) {
930
+ const F = b || m.nextToken();
931
+ switch (b = null, F.type) {
947
932
  case 0:
948
- F.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(u(_, F.value || ""));
933
+ F.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(u(m, F.value || ""));
949
934
  break;
950
935
  case 6:
951
- F.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(m(_, F.value || ""));
936
+ F.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(_(m, F.value || ""));
952
937
  break;
953
938
  case 4:
954
- b = !0;
939
+ h = !0;
955
940
  break;
956
941
  case 5:
957
- F.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(O(_, F.value || "", !!b)), b && (o(_, At.USE_MODULO_SYNTAX, d.lastStartLoc, 0, ee(F)), b = null);
942
+ F.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(O(m, F.value || "", !!h)), h && (l(m, St.USE_MODULO_SYNTAX, d.lastStartLoc, 0, ee(F)), h = null);
958
943
  break;
959
944
  case 7:
960
- F.value == null && s(_, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(L(_, F.value || ""));
945
+ F.value == null && s(m, D.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(L(m, F.value || ""));
961
946
  break;
962
947
  case 8: {
963
- const K = A(_);
964
- I.items.push(K.node), T = K.nextConsumeToken || null;
948
+ const Y = A(m);
949
+ I.items.push(Y.node), b = Y.nextConsumeToken || null;
965
950
  break;
966
951
  }
967
952
  }
968
953
  } while (d.currentType !== 14 && d.currentType !== 1);
969
- const W = d.currentType === 1 ? d.lastOffset : _.currentOffset(), Y = d.currentType === 1 ? d.lastEndLoc : _.currentPosition();
970
- return i(I, W, Y), I;
971
- }
972
- function y(_, d, h, g) {
973
- const I = _.context();
974
- let T = g.items.length === 0;
975
- const b = c(1, d, h);
976
- b.cases = [], b.cases.push(g);
954
+ const W = d.currentType === 1 ? d.lastOffset : m.currentOffset(), G = d.currentType === 1 ? d.lastEndLoc : m.currentPosition();
955
+ return i(I, W, G), I;
956
+ }
957
+ function y(m, d, T, g) {
958
+ const I = m.context();
959
+ let b = g.items.length === 0;
960
+ const h = c(1, d, T);
961
+ h.cases = [], h.cases.push(g);
977
962
  do {
978
- const W = R(_);
979
- T || (T = W.items.length === 0), b.cases.push(W);
963
+ const W = R(m);
964
+ b || (b = W.items.length === 0), h.cases.push(W);
980
965
  } while (I.currentType !== 14);
981
- return T && s(_, D.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), i(b, _.currentOffset(), _.currentPosition()), b;
966
+ return b && s(m, D.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), i(h, m.currentOffset(), m.currentPosition()), h;
982
967
  }
983
- function P(_) {
984
- const d = _.context(), { offset: h, startLoc: g } = d, I = R(_);
985
- return d.currentType === 14 ? I : y(_, h, g, I);
968
+ function P(m) {
969
+ const d = m.context(), { offset: T, startLoc: g } = d, I = R(m);
970
+ return d.currentType === 14 ? I : y(m, T, g, I);
986
971
  }
987
- function M(_) {
988
- const d = Vr(_, An({}, e)), h = d.context(), g = c(0, h.offset, h.startLoc);
989
- return t && g.loc && (g.loc.source = _), g.body = P(d), e.onCacheKey && (g.cacheKey = e.onCacheKey(_)), h.currentType !== 14 && s(d, D.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, _[h.offset] || ""), i(g, d.currentOffset(), d.currentPosition()), g;
972
+ function M(m) {
973
+ const d = Wr(m, Sn({}, e)), T = d.context(), g = c(0, T.offset, T.startLoc);
974
+ return t && g.loc && (g.loc.source = m), g.body = P(d), e.onCacheKey && (g.cacheKey = e.onCacheKey(m)), T.currentType !== 14 && s(d, D.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, m[T.offset] || ""), i(g, d.currentOffset(), d.currentPosition()), g;
990
975
  }
991
976
  return { parse: M };
992
977
  }
@@ -996,30 +981,30 @@ function ee(e) {
996
981
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
997
982
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
998
983
  }
999
- function Xr(e, t = {}) {
984
+ function Hr(e, t = {}) {
1000
985
  const n = {
1001
986
  ast: e,
1002
987
  helpers: /* @__PURE__ */ new Set()
1003
988
  };
1004
- return { context: () => n, helper: (o) => (n.helpers.add(o), o) };
989
+ return { context: () => n, helper: (l) => (n.helpers.add(l), l) };
1005
990
  }
1006
- function xt(e, t) {
991
+ function $t(e, t) {
1007
992
  for (let n = 0; n < e.length; n++)
1008
- Pt(e[n], t);
993
+ At(e[n], t);
1009
994
  }
1010
- function Pt(e, t) {
995
+ function At(e, t) {
1011
996
  switch (e.type) {
1012
997
  case 1:
1013
- xt(e.cases, t), t.helper(
998
+ $t(e.cases, t), t.helper(
1014
999
  "plural"
1015
1000
  /* HelperNameMap.PLURAL */
1016
1001
  );
1017
1002
  break;
1018
1003
  case 2:
1019
- xt(e.items, t);
1004
+ $t(e.items, t);
1020
1005
  break;
1021
1006
  case 6: {
1022
- Pt(e.key, t), t.helper(
1007
+ At(e.key, t), t.helper(
1023
1008
  "linked"
1024
1009
  /* HelperNameMap.LINKED */
1025
1010
  ), t.helper(
@@ -1048,20 +1033,20 @@ function Pt(e, t) {
1048
1033
  break;
1049
1034
  }
1050
1035
  }
1051
- function Yr(e, t = {}) {
1052
- const n = Xr(e);
1036
+ function Xr(e, t = {}) {
1037
+ const n = Hr(e);
1053
1038
  n.helper(
1054
1039
  "normalize"
1055
1040
  /* HelperNameMap.NORMALIZE */
1056
- ), e.body && Pt(e.body, n);
1041
+ ), e.body && At(e.body, n);
1057
1042
  const r = n.context();
1058
1043
  e.helpers = Array.from(r.helpers);
1059
1044
  }
1060
- function Kr(e) {
1045
+ function Gr(e) {
1061
1046
  const t = e.body;
1062
- return t.type === 2 ? jt(t) : t.cases.forEach((n) => jt(n)), e;
1047
+ return t.type === 2 ? xt(t) : t.cases.forEach((n) => xt(n)), e;
1063
1048
  }
1064
- function jt(e) {
1049
+ function xt(e) {
1065
1050
  if (e.items.length === 1) {
1066
1051
  const t = e.items[0];
1067
1052
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -1074,7 +1059,7 @@ function jt(e) {
1074
1059
  t.push(r.value);
1075
1060
  }
1076
1061
  if (t.length === e.items.length) {
1077
- e.static = Pn(t);
1062
+ e.static = An(t);
1078
1063
  for (let n = 0; n < e.items.length; n++) {
1079
1064
  const r = e.items[n];
1080
1065
  (r.type === 3 || r.type === 9) && delete r.value;
@@ -1082,25 +1067,25 @@ function jt(e) {
1082
1067
  }
1083
1068
  }
1084
1069
  }
1085
- const Gr = "minifier";
1086
- function be(e) {
1070
+ const Yr = "minifier";
1071
+ function he(e) {
1087
1072
  switch (e.t = e.type, e.type) {
1088
1073
  case 0: {
1089
1074
  const t = e;
1090
- be(t.body), t.b = t.body, delete t.body;
1075
+ he(t.body), t.b = t.body, delete t.body;
1091
1076
  break;
1092
1077
  }
1093
1078
  case 1: {
1094
1079
  const t = e, n = t.cases;
1095
1080
  for (let r = 0; r < n.length; r++)
1096
- be(n[r]);
1081
+ he(n[r]);
1097
1082
  t.c = n, delete t.cases;
1098
1083
  break;
1099
1084
  }
1100
1085
  case 2: {
1101
1086
  const t = e, n = t.items;
1102
1087
  for (let r = 0; r < n.length; r++)
1103
- be(n[r]);
1088
+ he(n[r]);
1104
1089
  t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
1105
1090
  break;
1106
1091
  }
@@ -1114,7 +1099,7 @@ function be(e) {
1114
1099
  }
1115
1100
  case 6: {
1116
1101
  const t = e;
1117
- be(t.key), t.k = t.key, delete t.key, t.modifier && (be(t.modifier), t.m = t.modifier, delete t.modifier);
1102
+ he(t.key), t.k = t.key, delete t.key, t.modifier && (he(t.modifier), t.m = t.modifier, delete t.modifier);
1118
1103
  break;
1119
1104
  }
1120
1105
  case 5: {
@@ -1129,15 +1114,15 @@ function be(e) {
1129
1114
  }
1130
1115
  default:
1131
1116
  throw Ie(D.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1132
- domain: Gr,
1117
+ domain: Yr,
1133
1118
  args: [e.type]
1134
1119
  });
1135
1120
  }
1136
1121
  delete e.type;
1137
1122
  }
1138
- const Br = "parser";
1139
- function Jr(e, t) {
1140
- const { sourceMap: n, filename: r, breakLineCode: s, needIndent: o } = t, c = t.location !== !1, i = {
1123
+ const Kr = "parser";
1124
+ function Br(e, t) {
1125
+ const { sourceMap: n, filename: r, breakLineCode: s, needIndent: l } = t, c = t.location !== !1, i = {
1141
1126
  filename: r,
1142
1127
  code: "",
1143
1128
  column: 1,
@@ -1145,23 +1130,23 @@ function Jr(e, t) {
1145
1130
  offset: 0,
1146
1131
  map: void 0,
1147
1132
  breakLineCode: s,
1148
- needIndent: o,
1133
+ needIndent: l,
1149
1134
  indentLevel: 0
1150
1135
  };
1151
1136
  c && e.loc && (i.source = e.loc.source);
1152
1137
  const u = () => i;
1153
- function m(y, P) {
1138
+ function _(y, P) {
1154
1139
  i.code += y;
1155
1140
  }
1156
1141
  function O(y, P = !0) {
1157
1142
  const M = P ? s : "";
1158
- m(o ? M + " ".repeat(y) : M);
1143
+ _(l ? M + " ".repeat(y) : M);
1159
1144
  }
1160
1145
  function L(y = !0) {
1161
1146
  const P = ++i.indentLevel;
1162
1147
  y && O(P);
1163
1148
  }
1164
- function N(y = !0) {
1149
+ function p(y = !0) {
1165
1150
  const P = --i.indentLevel;
1166
1151
  y && O(P);
1167
1152
  }
@@ -1170,33 +1155,33 @@ function Jr(e, t) {
1170
1155
  }
1171
1156
  return {
1172
1157
  context: u,
1173
- push: m,
1158
+ push: _,
1174
1159
  indent: L,
1175
- deindent: N,
1160
+ deindent: p,
1176
1161
  newline: C,
1177
1162
  helper: (y) => `_${y}`,
1178
1163
  needIndent: () => i.needIndent
1179
1164
  };
1180
1165
  }
1181
- function Qr(e, t) {
1166
+ function Jr(e, t) {
1182
1167
  const { helper: n } = e;
1183
1168
  e.push(`${n(
1184
1169
  "linked"
1185
1170
  /* HelperNameMap.LINKED */
1186
- )}(`), Te(e, t.key), t.modifier ? (e.push(", "), Te(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1171
+ )}(`), be(e, t.key), t.modifier ? (e.push(", "), be(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1187
1172
  }
1188
- function qr(e, t) {
1173
+ function Qr(e, t) {
1189
1174
  const { helper: n, needIndent: r } = e;
1190
1175
  e.push(`${n(
1191
1176
  "normalize"
1192
1177
  /* HelperNameMap.NORMALIZE */
1193
1178
  )}([`), e.indent(r());
1194
1179
  const s = t.items.length;
1195
- for (let o = 0; o < s && (Te(e, t.items[o]), o !== s - 1); o++)
1180
+ for (let l = 0; l < s && (be(e, t.items[l]), l !== s - 1); l++)
1196
1181
  e.push(", ");
1197
1182
  e.deindent(r()), e.push("])");
1198
1183
  }
1199
- function Zr(e, t) {
1184
+ function qr(e, t) {
1200
1185
  const { helper: n, needIndent: r } = e;
1201
1186
  if (t.cases.length > 1) {
1202
1187
  e.push(`${n(
@@ -1204,28 +1189,28 @@ function Zr(e, t) {
1204
1189
  /* HelperNameMap.PLURAL */
1205
1190
  )}([`), e.indent(r());
1206
1191
  const s = t.cases.length;
1207
- for (let o = 0; o < s && (Te(e, t.cases[o]), o !== s - 1); o++)
1192
+ for (let l = 0; l < s && (be(e, t.cases[l]), l !== s - 1); l++)
1208
1193
  e.push(", ");
1209
1194
  e.deindent(r()), e.push("])");
1210
1195
  }
1211
1196
  }
1212
- function zr(e, t) {
1213
- t.body ? Te(e, t.body) : e.push("null");
1197
+ function Zr(e, t) {
1198
+ t.body ? be(e, t.body) : e.push("null");
1214
1199
  }
1215
- function Te(e, t) {
1200
+ function be(e, t) {
1216
1201
  const { helper: n } = e;
1217
1202
  switch (t.type) {
1218
1203
  case 0:
1219
- zr(e, t);
1204
+ Zr(e, t);
1220
1205
  break;
1221
1206
  case 1:
1222
- Zr(e, t);
1207
+ qr(e, t);
1223
1208
  break;
1224
1209
  case 2:
1225
- qr(e, t);
1210
+ Qr(e, t);
1226
1211
  break;
1227
1212
  case 6:
1228
- Qr(e, t);
1213
+ Jr(e, t);
1229
1214
  break;
1230
1215
  case 8:
1231
1216
  e.push(JSON.stringify(t.value), t);
@@ -1259,40 +1244,40 @@ function Te(e, t) {
1259
1244
  break;
1260
1245
  default:
1261
1246
  throw Ie(D.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1262
- domain: Br,
1247
+ domain: Kr,
1263
1248
  args: [t.type]
1264
1249
  });
1265
1250
  }
1266
1251
  }
1267
- const es = (e, t = {}) => {
1268
- const n = Vt(t.mode) ? t.mode : "normal", r = Vt(t.filename) ? t.filename : "message.intl", s = !!t.sourceMap, o = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1269
- `, c = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], u = Jr(e, {
1252
+ const zr = (e, t = {}) => {
1253
+ const n = Wt(t.mode) ? t.mode : "normal", r = Wt(t.filename) ? t.filename : "message.intl", s = !!t.sourceMap, l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1254
+ `, c = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], u = Br(e, {
1270
1255
  mode: n,
1271
1256
  filename: r,
1272
1257
  sourceMap: s,
1273
- breakLineCode: o,
1258
+ breakLineCode: l,
1274
1259
  needIndent: c
1275
1260
  });
1276
- u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(c), i.length > 0 && (u.push(`const { ${Pn(i.map((L) => `${L}: _${L}`), ", ")} } = ctx`), u.newline()), u.push("return "), Te(u, e), u.deindent(c), u.push("}"), delete e.helpers;
1277
- const { code: m, map: O } = u.context();
1261
+ u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(c), i.length > 0 && (u.push(`const { ${An(i.map((L) => `${L}: _${L}`), ", ")} } = ctx`), u.newline()), u.push("return "), be(u, e), u.deindent(c), u.push("}"), delete e.helpers;
1262
+ const { code: _, map: O } = u.context();
1278
1263
  return {
1279
1264
  ast: e,
1280
- code: m,
1265
+ code: _,
1281
1266
  map: O ? O.toJSON() : void 0
1282
1267
  // eslint-disable-line @typescript-eslint/no-explicit-any
1283
1268
  };
1284
1269
  };
1285
- function ts(e, t = {}) {
1286
- const n = An({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, i = Hr(n).parse(e);
1287
- return r ? (o && Kr(i), s && be(i), { ast: i, code: "" }) : (Yr(i, n), es(i, n));
1270
+ function es(e, t = {}) {
1271
+ const n = Sn({}, t), r = !!n.jit, s = !!n.minify, l = n.optimize == null ? !0 : n.optimize, i = jr(n).parse(e);
1272
+ return r ? (l && Gr(i), s && he(i), { ast: i, code: "" }) : (Xr(i, n), zr(i, n));
1288
1273
  }
1289
1274
  /*!
1290
1275
  * core-base v9.13.1
1291
1276
  * (c) 2024 kazuya kawaguchi
1292
1277
  * Released under the MIT License.
1293
1278
  */
1294
- const _e = [];
1295
- _e[
1279
+ const me = [];
1280
+ me[
1296
1281
  0
1297
1282
  /* States.BEFORE_PATH */
1298
1283
  ] = {
@@ -1314,7 +1299,7 @@ _e[
1314
1299
  /* States.AFTER_PATH */
1315
1300
  ]
1316
1301
  };
1317
- _e[
1302
+ me[
1318
1303
  1
1319
1304
  /* States.IN_PATH */
1320
1305
  ] = {
@@ -1335,7 +1320,7 @@ _e[
1335
1320
  /* States.AFTER_PATH */
1336
1321
  ]
1337
1322
  };
1338
- _e[
1323
+ me[
1339
1324
  2
1340
1325
  /* States.BEFORE_IDENT */
1341
1326
  ] = {
@@ -1354,7 +1339,7 @@ _e[
1354
1339
  /* Actions.APPEND */
1355
1340
  ]
1356
1341
  };
1357
- _e[
1342
+ me[
1358
1343
  3
1359
1344
  /* States.IN_IDENT */
1360
1345
  ] = {
@@ -1389,7 +1374,7 @@ _e[
1389
1374
  /* Actions.PUSH */
1390
1375
  ]
1391
1376
  };
1392
- _e[
1377
+ me[
1393
1378
  4
1394
1379
  /* States.IN_SUB_PATH */
1395
1380
  ] = {
@@ -1420,7 +1405,7 @@ _e[
1420
1405
  /* Actions.APPEND */
1421
1406
  ]
1422
1407
  };
1423
- _e[
1408
+ me[
1424
1409
  5
1425
1410
  /* States.IN_SINGLE_QUOTE */
1426
1411
  ] = {
@@ -1436,7 +1421,7 @@ _e[
1436
1421
  /* Actions.APPEND */
1437
1422
  ]
1438
1423
  };
1439
- _e[
1424
+ me[
1440
1425
  6
1441
1426
  /* States.IN_DOUBLE_QUOTE */
1442
1427
  ] = {
@@ -1452,15 +1437,15 @@ _e[
1452
1437
  /* Actions.APPEND */
1453
1438
  ]
1454
1439
  };
1455
- const ns = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1456
- function rs(e) {
1457
- return ns.test(e);
1440
+ const ts = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1441
+ function ns(e) {
1442
+ return ts.test(e);
1458
1443
  }
1459
- function ss(e) {
1444
+ function rs(e) {
1460
1445
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1461
1446
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1462
1447
  }
1463
- function as(e) {
1448
+ function ss(e) {
1464
1449
  if (e == null)
1465
1450
  return "o";
1466
1451
  switch (e.charCodeAt(0)) {
@@ -1485,45 +1470,45 @@ function as(e) {
1485
1470
  }
1486
1471
  return "i";
1487
1472
  }
1488
- function os(e) {
1473
+ function as(e) {
1489
1474
  const t = e.trim();
1490
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : rs(t) ? ss(t) : "*" + t;
1475
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ns(t) ? rs(t) : "*" + t;
1491
1476
  }
1492
1477
  function ls(e) {
1493
1478
  const t = [];
1494
- let n = -1, r = 0, s = 0, o, c, i, u, m, O, L;
1495
- const N = [];
1496
- N[
1479
+ let n = -1, r = 0, s = 0, l, c, i, u, _, O, L;
1480
+ const p = [];
1481
+ p[
1497
1482
  0
1498
1483
  /* Actions.APPEND */
1499
1484
  ] = () => {
1500
1485
  c === void 0 ? c = i : c += i;
1501
- }, N[
1486
+ }, p[
1502
1487
  1
1503
1488
  /* Actions.PUSH */
1504
1489
  ] = () => {
1505
1490
  c !== void 0 && (t.push(c), c = void 0);
1506
- }, N[
1491
+ }, p[
1507
1492
  2
1508
1493
  /* Actions.INC_SUB_PATH_DEPTH */
1509
1494
  ] = () => {
1510
- N[
1495
+ p[
1511
1496
  0
1512
1497
  /* Actions.APPEND */
1513
1498
  ](), s++;
1514
- }, N[
1499
+ }, p[
1515
1500
  3
1516
1501
  /* Actions.PUSH_SUB_PATH */
1517
1502
  ] = () => {
1518
1503
  if (s > 0)
1519
- s--, r = 4, N[
1504
+ s--, r = 4, p[
1520
1505
  0
1521
1506
  /* Actions.APPEND */
1522
1507
  ]();
1523
1508
  else {
1524
- if (s = 0, c === void 0 || (c = os(c), c === !1))
1509
+ if (s = 0, c === void 0 || (c = as(c), c === !1))
1525
1510
  return !1;
1526
- N[
1511
+ p[
1527
1512
  1
1528
1513
  /* Actions.PUSH */
1529
1514
  ]();
@@ -1532,76 +1517,76 @@ function ls(e) {
1532
1517
  function C() {
1533
1518
  const A = e[n + 1];
1534
1519
  if (r === 5 && A === "'" || r === 6 && A === '"')
1535
- return n++, i = "\\" + A, N[
1520
+ return n++, i = "\\" + A, p[
1536
1521
  0
1537
1522
  /* Actions.APPEND */
1538
1523
  ](), !0;
1539
1524
  }
1540
1525
  for (; r !== null; )
1541
- if (n++, o = e[n], !(o === "\\" && C())) {
1542
- if (u = as(o), L = _e[r], m = L[u] || L.l || 8, m === 8 || (r = m[0], m[1] !== void 0 && (O = N[m[1]], O && (i = o, O() === !1))))
1526
+ if (n++, l = e[n], !(l === "\\" && C())) {
1527
+ if (u = ss(l), L = me[r], _ = L[u] || L.l || 8, _ === 8 || (r = _[0], _[1] !== void 0 && (O = p[_[1]], O && (i = l, O() === !1))))
1543
1528
  return;
1544
1529
  if (r === 7)
1545
1530
  return t;
1546
1531
  }
1547
1532
  }
1548
- const Ht = /* @__PURE__ */ new Map();
1549
- function cs(e, t) {
1533
+ const jt = /* @__PURE__ */ new Map();
1534
+ function os(e, t) {
1550
1535
  return w(e) ? e[t] : null;
1551
1536
  }
1552
- function is(e, t) {
1537
+ function cs(e, t) {
1553
1538
  if (!w(e))
1554
1539
  return null;
1555
- let n = Ht.get(t);
1556
- if (n || (n = ls(t), n && Ht.set(t, n)), !n)
1540
+ let n = jt.get(t);
1541
+ if (n || (n = ls(t), n && jt.set(t, n)), !n)
1557
1542
  return null;
1558
1543
  const r = n.length;
1559
- let s = e, o = 0;
1560
- for (; o < r; ) {
1561
- const c = s[n[o]];
1544
+ let s = e, l = 0;
1545
+ for (; l < r; ) {
1546
+ const c = s[n[l]];
1562
1547
  if (c === void 0 || j(s))
1563
1548
  return null;
1564
- s = c, o++;
1549
+ s = c, l++;
1565
1550
  }
1566
1551
  return s;
1567
1552
  }
1568
- const us = (e) => e, fs = (e) => "", _s = "text", ms = (e) => e.length === 0 ? "" : Ir(e), ds = Or;
1569
- function Xt(e, t) {
1553
+ const is = (e) => e, us = (e) => "", fs = "text", ms = (e) => e.length === 0 ? "" : Or(e), _s = br;
1554
+ function Ht(e, t) {
1570
1555
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1571
1556
  }
1572
- function Es(e) {
1573
- const t = G(e.pluralIndex) ? e.pluralIndex : -1;
1574
- return e.named && (G(e.named.count) || G(e.named.n)) ? G(e.named.count) ? e.named.count : G(e.named.n) ? e.named.n : t : t;
1557
+ function ds(e) {
1558
+ const t = K(e.pluralIndex) ? e.pluralIndex : -1;
1559
+ return e.named && (K(e.named.count) || K(e.named.n)) ? K(e.named.count) ? e.named.count : K(e.named.n) ? e.named.n : t : t;
1575
1560
  }
1576
- function gs(e, t) {
1561
+ function Es(e, t) {
1577
1562
  t.count || (t.count = e), t.n || (t.n = e);
1578
1563
  }
1579
- function ps(e = {}) {
1580
- const t = e.locale, n = Es(e), r = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? e.pluralRules[t] : Xt, s = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? Xt : void 0, o = (P) => P[r(n, P.length, s)], c = e.list || [], i = (P) => c[P], u = e.named || {};
1581
- G(e.pluralIndex) && gs(n, u);
1582
- const m = (P) => u[P];
1564
+ function gs(e = {}) {
1565
+ const t = e.locale, n = ds(e), r = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? e.pluralRules[t] : Ht, s = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? Ht : void 0, l = (P) => P[r(n, P.length, s)], c = e.list || [], i = (P) => c[P], u = e.named || {};
1566
+ K(e.pluralIndex) && Es(n, u);
1567
+ const _ = (P) => u[P];
1583
1568
  function O(P) {
1584
1569
  const M = j(e.messages) ? e.messages(P) : w(e.messages) ? e.messages[P] : !1;
1585
- return M || (e.parent ? e.parent.message(P) : fs);
1570
+ return M || (e.parent ? e.parent.message(P) : us);
1586
1571
  }
1587
- const L = (P) => e.modifiers ? e.modifiers[P] : us, N = U(e.processor) && j(e.processor.normalize) ? e.processor.normalize : ms, C = U(e.processor) && j(e.processor.interpolate) ? e.processor.interpolate : ds, A = U(e.processor) && S(e.processor.type) ? e.processor.type : _s, y = {
1572
+ const L = (P) => e.modifiers ? e.modifiers[P] : is, p = U(e.processor) && j(e.processor.normalize) ? e.processor.normalize : ms, C = U(e.processor) && j(e.processor.interpolate) ? e.processor.interpolate : _s, A = U(e.processor) && S(e.processor.type) ? e.processor.type : fs, y = {
1588
1573
  list: i,
1589
- named: m,
1590
- plural: o,
1574
+ named: _,
1575
+ plural: l,
1591
1576
  linked: (P, ...M) => {
1592
- const [_, d] = M;
1593
- let h = "text", g = "";
1594
- M.length === 1 ? w(_) ? (g = _.modifier || g, h = _.type || h) : S(_) && (g = _ || g) : M.length === 2 && (S(_) && (g = _ || g), S(d) && (h = d || h));
1595
- const I = O(P)(y), T = (
1577
+ const [m, d] = M;
1578
+ let T = "text", g = "";
1579
+ M.length === 1 ? w(m) ? (g = m.modifier || g, T = m.type || T) : S(m) && (g = m || g) : M.length === 2 && (S(m) && (g = m || g), S(d) && (T = d || T));
1580
+ const I = O(P)(y), b = (
1596
1581
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1597
- h === "vnode" && X(I) && g ? I[0] : I
1582
+ T === "vnode" && X(I) && g ? I[0] : I
1598
1583
  );
1599
- return g ? L(g)(T, h) : T;
1584
+ return g ? L(g)(b, T) : b;
1600
1585
  },
1601
1586
  message: O,
1602
1587
  type: A,
1603
1588
  interpolate: C,
1604
- normalize: N,
1589
+ normalize: p,
1605
1590
  values: J({}, c, u)
1606
1591
  };
1607
1592
  return y;
@@ -1610,7 +1595,7 @@ let De = null;
1610
1595
  function Ns(e) {
1611
1596
  De = e;
1612
1597
  }
1613
- function Ls(e, t, n) {
1598
+ function ps(e, t, n) {
1614
1599
  De && De.emit("i18n:init", {
1615
1600
  timestamp: Date.now(),
1616
1601
  i18n: e,
@@ -1618,32 +1603,32 @@ function Ls(e, t, n) {
1618
1603
  meta: n
1619
1604
  });
1620
1605
  }
1621
- const bs = /* @__PURE__ */ hs(
1606
+ const Ls = /* @__PURE__ */ hs(
1622
1607
  "function:translate"
1623
1608
  /* IntlifyDevToolsHooks.FunctionTranslate */
1624
1609
  );
1625
1610
  function hs(e) {
1626
1611
  return (t) => De && De.emit(e, t);
1627
1612
  }
1628
- const kn = At.__EXTEND_POINT__, me = Je(kn), Ts = {
1629
- NOT_FOUND_KEY: kn,
1613
+ const Pn = St.__EXTEND_POINT__, _e = Be(Pn), Ts = {
1614
+ NOT_FOUND_KEY: Pn,
1630
1615
  // 2
1631
- FALLBACK_TO_TRANSLATE: me(),
1616
+ FALLBACK_TO_TRANSLATE: _e(),
1632
1617
  // 3
1633
- CANNOT_FORMAT_NUMBER: me(),
1618
+ CANNOT_FORMAT_NUMBER: _e(),
1634
1619
  // 4
1635
- FALLBACK_TO_NUMBER_FORMAT: me(),
1620
+ FALLBACK_TO_NUMBER_FORMAT: _e(),
1636
1621
  // 5
1637
- CANNOT_FORMAT_DATE: me(),
1622
+ CANNOT_FORMAT_DATE: _e(),
1638
1623
  // 6
1639
- FALLBACK_TO_DATE_FORMAT: me(),
1624
+ FALLBACK_TO_DATE_FORMAT: _e(),
1640
1625
  // 7
1641
- EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: me(),
1626
+ EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: _e(),
1642
1627
  // 8
1643
- __EXTEND_POINT__: me()
1628
+ __EXTEND_POINT__: _e()
1644
1629
  // 9
1645
- }, Rn = D.__EXTEND_POINT__, de = Je(Rn), ne = {
1646
- INVALID_ARGUMENT: Rn,
1630
+ }, kn = D.__EXTEND_POINT__, de = Be(kn), ne = {
1631
+ INVALID_ARGUMENT: kn,
1647
1632
  // 17
1648
1633
  INVALID_DATE_ARGUMENT: de(),
1649
1634
  // 18
@@ -1660,67 +1645,67 @@ const kn = At.__EXTEND_POINT__, me = Je(kn), Ts = {
1660
1645
  __EXTEND_POINT__: de()
1661
1646
  // 24
1662
1647
  };
1663
- function le(e) {
1648
+ function oe(e) {
1664
1649
  return Ie(e, null, void 0);
1665
1650
  }
1666
- function kt(e, t) {
1667
- return t.locale != null ? Yt(t.locale) : Yt(e.locale);
1651
+ function Pt(e, t) {
1652
+ return t.locale != null ? Xt(t.locale) : Xt(e.locale);
1668
1653
  }
1669
- let ft;
1670
- function Yt(e) {
1654
+ let ut;
1655
+ function Xt(e) {
1671
1656
  if (S(e))
1672
1657
  return e;
1673
1658
  if (j(e)) {
1674
- if (e.resolvedOnce && ft != null)
1675
- return ft;
1659
+ if (e.resolvedOnce && ut != null)
1660
+ return ut;
1676
1661
  if (e.constructor.name === "Function") {
1677
1662
  const t = e();
1678
1663
  if (Tr(t))
1679
- throw le(ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1680
- return ft = t;
1664
+ throw oe(ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1665
+ return ut = t;
1681
1666
  } else
1682
- throw le(ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1667
+ throw oe(ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1683
1668
  } else
1684
- throw le(ne.NOT_SUPPORT_LOCALE_TYPE);
1669
+ throw oe(ne.NOT_SUPPORT_LOCALE_TYPE);
1685
1670
  }
1686
- function Os(e, t, n) {
1671
+ function bs(e, t, n) {
1687
1672
  return [.../* @__PURE__ */ new Set([
1688
1673
  n,
1689
1674
  ...X(t) ? t : w(t) ? Object.keys(t) : S(t) ? [t] : [n]
1690
1675
  ])];
1691
1676
  }
1692
- function Dn(e, t, n) {
1693
- const r = S(n) ? n : Ke, s = e;
1677
+ function Rn(e, t, n) {
1678
+ const r = S(n) ? n : Ge, s = e;
1694
1679
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1695
- let o = s.__localeChainCache.get(r);
1696
- if (!o) {
1697
- o = [];
1680
+ let l = s.__localeChainCache.get(r);
1681
+ if (!l) {
1682
+ l = [];
1698
1683
  let c = [n];
1699
1684
  for (; X(c); )
1700
- c = Kt(o, c, t);
1685
+ c = Gt(l, c, t);
1701
1686
  const i = X(t) || !U(t) ? t : t.default ? t.default : null;
1702
- c = S(i) ? [i] : i, X(c) && Kt(o, c, !1), s.__localeChainCache.set(r, o);
1687
+ c = S(i) ? [i] : i, X(c) && Gt(l, c, !1), s.__localeChainCache.set(r, l);
1703
1688
  }
1704
- return o;
1689
+ return l;
1705
1690
  }
1706
- function Kt(e, t, n) {
1691
+ function Gt(e, t, n) {
1707
1692
  let r = !0;
1708
1693
  for (let s = 0; s < t.length && x(r); s++) {
1709
- const o = t[s];
1710
- S(o) && (r = Is(e, t[s], n));
1694
+ const l = t[s];
1695
+ S(l) && (r = Os(e, t[s], n));
1711
1696
  }
1712
1697
  return r;
1713
1698
  }
1714
- function Is(e, t, n) {
1699
+ function Os(e, t, n) {
1715
1700
  let r;
1716
1701
  const s = t.split("-");
1717
1702
  do {
1718
- const o = s.join("-");
1719
- r = Cs(e, o, n), s.splice(-1, 1);
1703
+ const l = s.join("-");
1704
+ r = Is(e, l, n), s.splice(-1, 1);
1720
1705
  } while (s.length && r === !0);
1721
1706
  return r;
1722
1707
  }
1723
- function Cs(e, t, n) {
1708
+ function Is(e, t, n) {
1724
1709
  let r = !1;
1725
1710
  if (!e.includes(t) && (r = !0, t)) {
1726
1711
  r = t[t.length - 1] !== "!";
@@ -1729,14 +1714,18 @@ function Cs(e, t, n) {
1729
1714
  }
1730
1715
  return r;
1731
1716
  }
1732
- const ys = "9.13.1", Qe = -1, Ke = "en-US", Gt = "", Bt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1733
- function Ss() {
1717
+ const Cs = "9.13.1", Je = -1, Ge = "en-US", Yt = "", Kt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1718
+ function ys() {
1734
1719
  return {
1735
1720
  upper: (e, t) => t === "text" && S(e) ? e.toUpperCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1736
1721
  lower: (e, t) => t === "text" && S(e) ? e.toLowerCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1737
- capitalize: (e, t) => t === "text" && S(e) ? Bt(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? Bt(e.children) : e
1722
+ capitalize: (e, t) => t === "text" && S(e) ? Kt(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? Kt(e.children) : e
1738
1723
  };
1739
1724
  }
1725
+ let Dn;
1726
+ function Ss(e) {
1727
+ Dn = e;
1728
+ }
1740
1729
  let vn;
1741
1730
  function As(e) {
1742
1731
  vn = e;
@@ -1745,52 +1734,48 @@ let Mn;
1745
1734
  function Ps(e) {
1746
1735
  Mn = e;
1747
1736
  }
1748
- let Fn;
1749
- function ks(e) {
1737
+ let Fn = null;
1738
+ const ks = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1750
1739
  Fn = e;
1751
- }
1740
+ }, Rs = /* @__NO_SIDE_EFFECTS__ */ () => Fn;
1752
1741
  let Un = null;
1753
- const Rs = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1742
+ const Bt = (e) => {
1754
1743
  Un = e;
1755
- }, Ds = /* @__NO_SIDE_EFFECTS__ */ () => Un;
1756
- let wn = null;
1757
- const Jt = (e) => {
1758
- wn = e;
1759
- }, vs = () => wn;
1760
- let Qt = 0;
1761
- function Ms(e = {}) {
1762
- const t = j(e.onWarn) ? e.onWarn : Cr, n = S(e.version) ? e.version : ys, r = S(e.locale) || j(e.locale) ? e.locale : Ke, s = j(r) ? Ke : r, o = X(e.fallbackLocale) || U(e.fallbackLocale) || S(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, c = U(e.messages) ? e.messages : { [s]: {} }, i = U(e.datetimeFormats) ? e.datetimeFormats : { [s]: {} }, u = U(e.numberFormats) ? e.numberFormats : { [s]: {} }, m = J({}, e.modifiers || {}, Ss()), O = e.pluralRules || {}, L = j(e.missing) ? e.missing : null, N = x(e.missingWarn) || He(e.missingWarn) ? e.missingWarn : !0, C = x(e.fallbackWarn) || He(e.fallbackWarn) ? e.fallbackWarn : !0, A = !!e.fallbackFormat, R = !!e.unresolving, y = j(e.postTranslation) ? e.postTranslation : null, P = U(e.processor) ? e.processor : null, M = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter, d = j(e.messageCompiler) ? e.messageCompiler : vn, h = j(e.messageResolver) ? e.messageResolver : Mn || cs, g = j(e.localeFallbacker) ? e.localeFallbacker : Fn || Os, I = w(e.fallbackContext) ? e.fallbackContext : void 0, T = e, b = w(T.__datetimeFormatters) ? T.__datetimeFormatters : /* @__PURE__ */ new Map(), W = w(T.__numberFormatters) ? T.__numberFormatters : /* @__PURE__ */ new Map(), Y = w(T.__meta) ? T.__meta : {};
1763
- Qt++;
1744
+ }, Ds = () => Un;
1745
+ let Jt = 0;
1746
+ function vs(e = {}) {
1747
+ const t = j(e.onWarn) ? e.onWarn : Ir, n = S(e.version) ? e.version : Cs, r = S(e.locale) || j(e.locale) ? e.locale : Ge, s = j(r) ? Ge : r, l = X(e.fallbackLocale) || U(e.fallbackLocale) || S(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, c = U(e.messages) ? e.messages : { [s]: {} }, i = U(e.datetimeFormats) ? e.datetimeFormats : { [s]: {} }, u = U(e.numberFormats) ? e.numberFormats : { [s]: {} }, _ = J({}, e.modifiers || {}, ys()), O = e.pluralRules || {}, L = j(e.missing) ? e.missing : null, p = x(e.missingWarn) || je(e.missingWarn) ? e.missingWarn : !0, C = x(e.fallbackWarn) || je(e.fallbackWarn) ? e.fallbackWarn : !0, A = !!e.fallbackFormat, R = !!e.unresolving, y = j(e.postTranslation) ? e.postTranslation : null, P = U(e.processor) ? e.processor : null, M = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter, d = j(e.messageCompiler) ? e.messageCompiler : Dn, T = j(e.messageResolver) ? e.messageResolver : vn || os, g = j(e.localeFallbacker) ? e.localeFallbacker : Mn || bs, I = w(e.fallbackContext) ? e.fallbackContext : void 0, b = e, h = w(b.__datetimeFormatters) ? b.__datetimeFormatters : /* @__PURE__ */ new Map(), W = w(b.__numberFormatters) ? b.__numberFormatters : /* @__PURE__ */ new Map(), G = w(b.__meta) ? b.__meta : {};
1748
+ Jt++;
1764
1749
  const F = {
1765
1750
  version: n,
1766
- cid: Qt,
1751
+ cid: Jt,
1767
1752
  locale: r,
1768
- fallbackLocale: o,
1753
+ fallbackLocale: l,
1769
1754
  messages: c,
1770
- modifiers: m,
1755
+ modifiers: _,
1771
1756
  pluralRules: O,
1772
1757
  missing: L,
1773
- missingWarn: N,
1758
+ missingWarn: p,
1774
1759
  fallbackWarn: C,
1775
1760
  fallbackFormat: A,
1776
1761
  unresolving: R,
1777
1762
  postTranslation: y,
1778
1763
  processor: P,
1779
1764
  warnHtmlMessage: M,
1780
- escapeParameter: _,
1765
+ escapeParameter: m,
1781
1766
  messageCompiler: d,
1782
- messageResolver: h,
1767
+ messageResolver: T,
1783
1768
  localeFallbacker: g,
1784
1769
  fallbackContext: I,
1785
1770
  onWarn: t,
1786
- __meta: Y
1771
+ __meta: G
1787
1772
  };
1788
- return F.datetimeFormats = i, F.numberFormats = u, F.__datetimeFormatters = b, F.__numberFormatters = W, Ls(F, n, Y), F;
1773
+ return F.datetimeFormats = i, F.numberFormats = u, F.__datetimeFormatters = h, F.__numberFormatters = W, ps(F, n, G), F;
1789
1774
  }
1790
- function Rt(e, t, n, r, s) {
1791
- const { missing: o, onWarn: c } = e;
1792
- if (o !== null) {
1793
- const i = o(e, n, t, s);
1775
+ function kt(e, t, n, r, s) {
1776
+ const { missing: l, onWarn: c } = e;
1777
+ if (l !== null) {
1778
+ const i = l(e, n, t, s);
1794
1779
  return S(i) ? i : t;
1795
1780
  } else
1796
1781
  return t;
@@ -1799,42 +1784,42 @@ function ke(e, t, n) {
1799
1784
  const r = e;
1800
1785
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1801
1786
  }
1802
- function Fs(e, t) {
1787
+ function Ms(e, t) {
1803
1788
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1804
1789
  }
1805
- function Us(e, t) {
1790
+ function Fs(e, t) {
1806
1791
  const n = t.indexOf(e);
1807
1792
  if (n === -1)
1808
1793
  return !1;
1809
1794
  for (let r = n + 1; r < t.length; r++)
1810
- if (Fs(e, t[r]))
1795
+ if (Ms(e, t[r]))
1811
1796
  return !0;
1812
1797
  return !1;
1813
1798
  }
1814
- function _t(e) {
1815
- return (n) => ws(n, e);
1799
+ function ft(e) {
1800
+ return (n) => Us(n, e);
1816
1801
  }
1817
- function ws(e, t) {
1802
+ function Us(e, t) {
1818
1803
  const n = t.b || t.body;
1819
1804
  if ((n.t || n.type) === 1) {
1820
1805
  const r = n, s = r.c || r.cases;
1821
- return e.plural(s.reduce((o, c) => [
1822
- ...o,
1823
- qt(e, c)
1806
+ return e.plural(s.reduce((l, c) => [
1807
+ ...l,
1808
+ Qt(e, c)
1824
1809
  ], []));
1825
1810
  } else
1826
- return qt(e, n);
1811
+ return Qt(e, n);
1827
1812
  }
1828
- function qt(e, t) {
1813
+ function Qt(e, t) {
1829
1814
  const n = t.s || t.static;
1830
1815
  if (n)
1831
1816
  return e.type === "text" ? n : e.normalize([n]);
1832
1817
  {
1833
- const r = (t.i || t.items).reduce((s, o) => [...s, Et(e, o)], []);
1818
+ const r = (t.i || t.items).reduce((s, l) => [...s, dt(e, l)], []);
1834
1819
  return e.normalize(r);
1835
1820
  }
1836
1821
  }
1837
- function Et(e, t) {
1822
+ function dt(e, t) {
1838
1823
  const n = t.t || t.type;
1839
1824
  switch (n) {
1840
1825
  case 3: {
@@ -1855,7 +1840,7 @@ function Et(e, t) {
1855
1840
  }
1856
1841
  case 6: {
1857
1842
  const r = t, s = r.m || r.modifier;
1858
- return e.linked(Et(e, r.k || r.key), s ? Et(e, s) : void 0, e.type);
1843
+ return e.linked(dt(e, r.k || r.key), s ? dt(e, s) : void 0, e.type);
1859
1844
  }
1860
1845
  case 7: {
1861
1846
  const r = t;
@@ -1869,169 +1854,169 @@ function Et(e, t) {
1869
1854
  throw new Error(`unhandled node type on format message part: ${n}`);
1870
1855
  }
1871
1856
  }
1872
- const Ws = (e) => e;
1873
- let Ve = /* @__PURE__ */ Object.create(null);
1857
+ const ws = (e) => e;
1858
+ let We = /* @__PURE__ */ Object.create(null);
1874
1859
  const Oe = (e) => w(e) && (e.t === 0 || e.type === 0) && ("b" in e || "body" in e);
1875
- function Vs(e, t = {}) {
1860
+ function Ws(e, t = {}) {
1876
1861
  let n = !1;
1877
- const r = t.onError || Dr;
1862
+ const r = t.onError || Rr;
1878
1863
  return t.onError = (s) => {
1879
1864
  n = !0, r(s);
1880
- }, { ...ts(e, t), detectError: n };
1865
+ }, { ...es(e, t), detectError: n };
1881
1866
  }
1882
- function $s(e, t) {
1867
+ function Vs(e, t) {
1883
1868
  if (S(e)) {
1884
1869
  x(t.warnHtmlMessage) && t.warnHtmlMessage;
1885
- const r = (t.onCacheKey || Ws)(e), s = Ve[r];
1870
+ const r = (t.onCacheKey || ws)(e), s = We[r];
1886
1871
  if (s)
1887
1872
  return s;
1888
- const { ast: o, detectError: c } = Vs(e, {
1873
+ const { ast: l, detectError: c } = Ws(e, {
1889
1874
  ...t,
1890
1875
  location: !1,
1891
1876
  jit: !0
1892
- }), i = _t(o);
1893
- return c ? i : Ve[r] = i;
1877
+ }), i = ft(l);
1878
+ return c ? i : We[r] = i;
1894
1879
  } else {
1895
1880
  const n = e.cacheKey;
1896
1881
  if (n) {
1897
- const r = Ve[n];
1898
- return r || (Ve[n] = _t(e));
1882
+ const r = We[n];
1883
+ return r || (We[n] = ft(e));
1899
1884
  } else
1900
- return _t(e);
1885
+ return ft(e);
1901
1886
  }
1902
1887
  }
1903
- const Zt = () => "", Z = (e) => j(e);
1904
- function zt(e, ...t) {
1905
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: c, messages: i } = e, [u, m] = gt(...t), O = x(m.missingWarn) ? m.missingWarn : e.missingWarn, L = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, N = x(m.escapeParameter) ? m.escapeParameter : e.escapeParameter, C = !!m.resolvedMessage, A = S(m.default) || x(m.default) ? x(m.default) ? o ? u : () => u : m.default : n ? o ? u : () => u : "", R = n || A !== "", y = kt(e, m);
1906
- N && xs(m);
1907
- let [P, M, _] = C ? [
1888
+ const qt = () => "", Z = (e) => j(e);
1889
+ function Zt(e, ...t) {
1890
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: l, fallbackLocale: c, messages: i } = e, [u, _] = Et(...t), O = x(_.missingWarn) ? _.missingWarn : e.missingWarn, L = x(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, p = x(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, C = !!_.resolvedMessage, A = S(_.default) || x(_.default) ? x(_.default) ? l ? u : () => u : _.default : n ? l ? u : () => u : "", R = n || A !== "", y = Pt(e, _);
1891
+ p && $s(_);
1892
+ let [P, M, m] = C ? [
1908
1893
  u,
1909
1894
  y,
1910
1895
  i[y] || {}
1911
- ] : Wn(e, u, y, c, L, O), d = P, h = u;
1912
- if (!C && !(S(d) || Oe(d) || Z(d)) && R && (d = A, h = d), !C && (!(S(d) || Oe(d) || Z(d)) || !S(M)))
1913
- return s ? Qe : u;
1896
+ ] : wn(e, u, y, c, L, O), d = P, T = u;
1897
+ if (!C && !(S(d) || Oe(d) || Z(d)) && R && (d = A, T = d), !C && (!(S(d) || Oe(d) || Z(d)) || !S(M)))
1898
+ return s ? Je : u;
1914
1899
  let g = !1;
1915
1900
  const I = () => {
1916
1901
  g = !0;
1917
- }, T = Z(d) ? d : Vn(e, u, M, d, h, I);
1902
+ }, b = Z(d) ? d : Wn(e, u, M, d, T, I);
1918
1903
  if (g)
1919
1904
  return d;
1920
- const b = Xs(e, M, _, m), W = ps(b), Y = js(e, T, W), F = r ? r(Y, u) : Y;
1905
+ const h = Hs(e, M, m, _), W = gs(h), G = xs(e, b, W), F = r ? r(G, u) : G;
1921
1906
  {
1922
- const K = {
1907
+ const Y = {
1923
1908
  timestamp: Date.now(),
1924
1909
  key: S(u) ? u : Z(d) ? d.key : "",
1925
1910
  locale: M || (Z(d) ? d.locale : ""),
1926
1911
  format: S(d) ? d : Z(d) ? d.source : "",
1927
1912
  message: F
1928
1913
  };
1929
- K.meta = J({}, e.__meta, /* @__PURE__ */ Ds() || {}), bs(K);
1914
+ Y.meta = J({}, e.__meta, /* @__PURE__ */ Rs() || {}), Ls(Y);
1930
1915
  }
1931
1916
  return F;
1932
1917
  }
1933
- function xs(e) {
1934
- X(e.list) ? e.list = e.list.map((t) => S(t) ? Wt(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1935
- S(e.named[t]) && (e.named[t] = Wt(e.named[t]));
1918
+ function $s(e) {
1919
+ X(e.list) ? e.list = e.list.map((t) => S(t) ? wt(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1920
+ S(e.named[t]) && (e.named[t] = wt(e.named[t]));
1936
1921
  });
1937
1922
  }
1938
- function Wn(e, t, n, r, s, o) {
1939
- const { messages: c, onWarn: i, messageResolver: u, localeFallbacker: m } = e, O = m(e, r, n);
1940
- let L = {}, N, C = null;
1923
+ function wn(e, t, n, r, s, l) {
1924
+ const { messages: c, onWarn: i, messageResolver: u, localeFallbacker: _ } = e, O = _(e, r, n);
1925
+ let L = {}, p, C = null;
1941
1926
  const A = "translate";
1942
- for (let R = 0; R < O.length && (N = O[R], L = c[N] || {}, (C = u(L, t)) === null && (C = L[t]), !(S(C) || Oe(C) || Z(C))); R++)
1943
- if (!Us(N, O)) {
1944
- const y = Rt(
1927
+ for (let R = 0; R < O.length && (p = O[R], L = c[p] || {}, (C = u(L, t)) === null && (C = L[t]), !(S(C) || Oe(C) || Z(C))); R++)
1928
+ if (!Fs(p, O)) {
1929
+ const y = kt(
1945
1930
  e,
1946
1931
  // eslint-disable-line @typescript-eslint/no-explicit-any
1947
1932
  t,
1948
- N,
1949
- o,
1933
+ p,
1934
+ l,
1950
1935
  A
1951
1936
  );
1952
1937
  y !== t && (C = y);
1953
1938
  }
1954
- return [C, N, L];
1939
+ return [C, p, L];
1955
1940
  }
1956
- function Vn(e, t, n, r, s, o) {
1941
+ function Wn(e, t, n, r, s, l) {
1957
1942
  const { messageCompiler: c, warnHtmlMessage: i } = e;
1958
1943
  if (Z(r)) {
1959
- const m = r;
1960
- return m.locale = m.locale || n, m.key = m.key || t, m;
1944
+ const _ = r;
1945
+ return _.locale = _.locale || n, _.key = _.key || t, _;
1961
1946
  }
1962
1947
  if (c == null) {
1963
- const m = () => r;
1964
- return m.locale = n, m.key = t, m;
1948
+ const _ = () => r;
1949
+ return _.locale = n, _.key = t, _;
1965
1950
  }
1966
- const u = c(r, Hs(e, n, s, r, i, o));
1951
+ const u = c(r, js(e, n, s, r, i, l));
1967
1952
  return u.locale = n, u.key = t, u.source = r, u;
1968
1953
  }
1969
- function js(e, t, n) {
1954
+ function xs(e, t, n) {
1970
1955
  return t(n);
1971
1956
  }
1972
- function gt(...e) {
1957
+ function Et(...e) {
1973
1958
  const [t, n, r] = e, s = {};
1974
- if (!S(t) && !G(t) && !Z(t) && !Oe(t))
1975
- throw le(ne.INVALID_ARGUMENT);
1976
- const o = G(t) ? String(t) : (Z(t), t);
1977
- return G(n) ? s.plural = n : S(n) ? s.default = n : U(n) && !Be(n) ? s.named = n : X(n) && (s.list = n), G(r) ? s.plural = r : S(r) ? s.default = r : U(r) && J(s, r), [o, s];
1959
+ if (!S(t) && !K(t) && !Z(t) && !Oe(t))
1960
+ throw oe(ne.INVALID_ARGUMENT);
1961
+ const l = K(t) ? String(t) : (Z(t), t);
1962
+ return K(n) ? s.plural = n : S(n) ? s.default = n : U(n) && !Ke(n) ? s.named = n : X(n) && (s.list = n), K(r) ? s.plural = r : S(r) ? s.default = r : U(r) && J(s, r), [l, s];
1978
1963
  }
1979
- function Hs(e, t, n, r, s, o) {
1964
+ function js(e, t, n, r, s, l) {
1980
1965
  return {
1981
1966
  locale: t,
1982
1967
  key: n,
1983
1968
  warnHtmlMessage: s,
1984
1969
  onError: (c) => {
1985
- throw o && o(c), c;
1970
+ throw l && l(c), c;
1986
1971
  },
1987
- onCacheKey: (c) => pr(t, n, c)
1972
+ onCacheKey: (c) => gr(t, n, c)
1988
1973
  };
1989
1974
  }
1990
- function Xs(e, t, n, r) {
1991
- const { modifiers: s, pluralRules: o, messageResolver: c, fallbackLocale: i, fallbackWarn: u, missingWarn: m, fallbackContext: O } = e, N = {
1975
+ function Hs(e, t, n, r) {
1976
+ const { modifiers: s, pluralRules: l, messageResolver: c, fallbackLocale: i, fallbackWarn: u, missingWarn: _, fallbackContext: O } = e, p = {
1992
1977
  locale: t,
1993
1978
  modifiers: s,
1994
- pluralRules: o,
1979
+ pluralRules: l,
1995
1980
  messages: (C) => {
1996
1981
  let A = c(n, C);
1997
1982
  if (A == null && O) {
1998
- const [, , R] = Wn(O, C, t, i, u, m);
1983
+ const [, , R] = wn(O, C, t, i, u, _);
1999
1984
  A = c(R, C);
2000
1985
  }
2001
1986
  if (S(A) || Oe(A)) {
2002
1987
  let R = !1;
2003
- const P = Vn(e, C, t, A, C, () => {
1988
+ const P = Wn(e, C, t, A, C, () => {
2004
1989
  R = !0;
2005
1990
  });
2006
- return R ? Zt : P;
2007
- } else return Z(A) ? A : Zt;
1991
+ return R ? qt : P;
1992
+ } else return Z(A) ? A : qt;
2008
1993
  }
2009
1994
  };
2010
- return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), G(r.plural) && (N.pluralIndex = r.plural), N;
1995
+ return e.processor && (p.processor = e.processor), r.list && (p.list = r.list), r.named && (p.named = r.named), K(r.plural) && (p.pluralIndex = r.plural), p;
2011
1996
  }
2012
- function en(e, ...t) {
2013
- const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: c } = e, { __datetimeFormatters: i } = e, [u, m, O, L] = pt(...t), N = x(O.missingWarn) ? O.missingWarn : e.missingWarn;
1997
+ function zt(e, ...t) {
1998
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: l, localeFallbacker: c } = e, { __datetimeFormatters: i } = e, [u, _, O, L] = gt(...t), p = x(O.missingWarn) ? O.missingWarn : e.missingWarn;
2014
1999
  x(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
2015
- const C = !!O.part, A = kt(e, O), R = c(
2000
+ const C = !!O.part, A = Pt(e, O), R = c(
2016
2001
  e,
2017
2002
  // eslint-disable-line @typescript-eslint/no-explicit-any
2018
2003
  s,
2019
2004
  A
2020
2005
  );
2021
2006
  if (!S(u) || u === "")
2022
- return new Intl.DateTimeFormat(A, L).format(m);
2007
+ return new Intl.DateTimeFormat(A, L).format(_);
2023
2008
  let y = {}, P, M = null;
2024
- const _ = "datetime format";
2009
+ const m = "datetime format";
2025
2010
  for (let g = 0; g < R.length && (P = R[g], y = n[P] || {}, M = y[u], !U(M)); g++)
2026
- Rt(e, u, P, N, _);
2011
+ kt(e, u, P, p, m);
2027
2012
  if (!U(M) || !S(P))
2028
- return r ? Qe : u;
2013
+ return r ? Je : u;
2029
2014
  let d = `${P}__${u}`;
2030
- Be(L) || (d = `${d}__${JSON.stringify(L)}`);
2031
- let h = i.get(d);
2032
- return h || (h = new Intl.DateTimeFormat(P, J({}, M, L)), i.set(d, h)), C ? h.formatToParts(m) : h.format(m);
2015
+ Ke(L) || (d = `${d}__${JSON.stringify(L)}`);
2016
+ let T = i.get(d);
2017
+ return T || (T = new Intl.DateTimeFormat(P, J({}, M, L)), i.set(d, T)), C ? T.formatToParts(_) : T.format(_);
2033
2018
  }
2034
- const $n = [
2019
+ const Vn = [
2035
2020
  "localeMatcher",
2036
2021
  "weekday",
2037
2022
  "era",
@@ -2053,62 +2038,62 @@ const $n = [
2053
2038
  "hourCycle",
2054
2039
  "fractionalSecondDigits"
2055
2040
  ];
2056
- function pt(...e) {
2057
- const [t, n, r, s] = e, o = {};
2041
+ function gt(...e) {
2042
+ const [t, n, r, s] = e, l = {};
2058
2043
  let c = {}, i;
2059
2044
  if (S(t)) {
2060
2045
  const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2061
2046
  if (!u)
2062
- throw le(ne.INVALID_ISO_DATE_ARGUMENT);
2063
- const m = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2064
- i = new Date(m);
2047
+ throw oe(ne.INVALID_ISO_DATE_ARGUMENT);
2048
+ const _ = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2049
+ i = new Date(_);
2065
2050
  try {
2066
2051
  i.toISOString();
2067
2052
  } catch {
2068
- throw le(ne.INVALID_ISO_DATE_ARGUMENT);
2053
+ throw oe(ne.INVALID_ISO_DATE_ARGUMENT);
2069
2054
  }
2070
- } else if (Lr(t)) {
2055
+ } else if (pr(t)) {
2071
2056
  if (isNaN(t.getTime()))
2072
- throw le(ne.INVALID_DATE_ARGUMENT);
2057
+ throw oe(ne.INVALID_DATE_ARGUMENT);
2073
2058
  i = t;
2074
- } else if (G(t))
2059
+ } else if (K(t))
2075
2060
  i = t;
2076
2061
  else
2077
- throw le(ne.INVALID_ARGUMENT);
2078
- return S(n) ? o.key = n : U(n) && Object.keys(n).forEach((u) => {
2079
- $n.includes(u) ? c[u] = n[u] : o[u] = n[u];
2080
- }), S(r) ? o.locale = r : U(r) && (c = r), U(s) && (c = s), [o.key || "", i, o, c];
2062
+ throw oe(ne.INVALID_ARGUMENT);
2063
+ return S(n) ? l.key = n : U(n) && Object.keys(n).forEach((u) => {
2064
+ Vn.includes(u) ? c[u] = n[u] : l[u] = n[u];
2065
+ }), S(r) ? l.locale = r : U(r) && (c = r), U(s) && (c = s), [l.key || "", i, l, c];
2081
2066
  }
2082
- function tn(e, t, n) {
2067
+ function en(e, t, n) {
2083
2068
  const r = e;
2084
2069
  for (const s in n) {
2085
- const o = `${t}__${s}`;
2086
- r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
2070
+ const l = `${t}__${s}`;
2071
+ r.__datetimeFormatters.has(l) && r.__datetimeFormatters.delete(l);
2087
2072
  }
2088
2073
  }
2089
- function nn(e, ...t) {
2090
- const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: c } = e, { __numberFormatters: i } = e, [u, m, O, L] = Nt(...t), N = x(O.missingWarn) ? O.missingWarn : e.missingWarn;
2074
+ function tn(e, ...t) {
2075
+ const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: l, localeFallbacker: c } = e, { __numberFormatters: i } = e, [u, _, O, L] = Nt(...t), p = x(O.missingWarn) ? O.missingWarn : e.missingWarn;
2091
2076
  x(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
2092
- const C = !!O.part, A = kt(e, O), R = c(
2077
+ const C = !!O.part, A = Pt(e, O), R = c(
2093
2078
  e,
2094
2079
  // eslint-disable-line @typescript-eslint/no-explicit-any
2095
2080
  s,
2096
2081
  A
2097
2082
  );
2098
2083
  if (!S(u) || u === "")
2099
- return new Intl.NumberFormat(A, L).format(m);
2084
+ return new Intl.NumberFormat(A, L).format(_);
2100
2085
  let y = {}, P, M = null;
2101
- const _ = "number format";
2086
+ const m = "number format";
2102
2087
  for (let g = 0; g < R.length && (P = R[g], y = n[P] || {}, M = y[u], !U(M)); g++)
2103
- Rt(e, u, P, N, _);
2088
+ kt(e, u, P, p, m);
2104
2089
  if (!U(M) || !S(P))
2105
- return r ? Qe : u;
2090
+ return r ? Je : u;
2106
2091
  let d = `${P}__${u}`;
2107
- Be(L) || (d = `${d}__${JSON.stringify(L)}`);
2108
- let h = i.get(d);
2109
- return h || (h = new Intl.NumberFormat(P, J({}, M, L)), i.set(d, h)), C ? h.formatToParts(m) : h.format(m);
2092
+ Ke(L) || (d = `${d}__${JSON.stringify(L)}`);
2093
+ let T = i.get(d);
2094
+ return T || (T = new Intl.NumberFormat(P, J({}, M, L)), i.set(d, T)), C ? T.formatToParts(_) : T.format(_);
2110
2095
  }
2111
- const xn = [
2096
+ const $n = [
2112
2097
  "localeMatcher",
2113
2098
  "style",
2114
2099
  "currency",
@@ -2131,20 +2116,20 @@ const xn = [
2131
2116
  "trailingZeroDisplay"
2132
2117
  ];
2133
2118
  function Nt(...e) {
2134
- const [t, n, r, s] = e, o = {};
2119
+ const [t, n, r, s] = e, l = {};
2135
2120
  let c = {};
2136
- if (!G(t))
2137
- throw le(ne.INVALID_ARGUMENT);
2121
+ if (!K(t))
2122
+ throw oe(ne.INVALID_ARGUMENT);
2138
2123
  const i = t;
2139
- return S(n) ? o.key = n : U(n) && Object.keys(n).forEach((u) => {
2140
- xn.includes(u) ? c[u] = n[u] : o[u] = n[u];
2141
- }), S(r) ? o.locale = r : U(r) && (c = r), U(s) && (c = s), [o.key || "", i, o, c];
2124
+ return S(n) ? l.key = n : U(n) && Object.keys(n).forEach((u) => {
2125
+ $n.includes(u) ? c[u] = n[u] : l[u] = n[u];
2126
+ }), S(r) ? l.locale = r : U(r) && (c = r), U(s) && (c = s), [l.key || "", i, l, c];
2142
2127
  }
2143
- function rn(e, t, n) {
2128
+ function nn(e, t, n) {
2144
2129
  const r = e;
2145
2130
  for (const s in n) {
2146
- const o = `${t}__${s}`;
2147
- r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
2131
+ const l = `${t}__${s}`;
2132
+ r.__numberFormatters.has(l) && r.__numberFormatters.delete(l);
2148
2133
  }
2149
2134
  }
2150
2135
  /*!
@@ -2152,11 +2137,11 @@ function rn(e, t, n) {
2152
2137
  * (c) 2024 kazuya kawaguchi
2153
2138
  * Released under the MIT License.
2154
2139
  */
2155
- const Ys = "9.13.1", jn = Ts.__EXTEND_POINT__, oe = Je(jn);
2156
- oe(), oe(), oe(), oe(), oe(), oe(), oe(), oe(), oe();
2157
- const Hn = ne.__EXTEND_POINT__, q = Je(Hn), z = {
2140
+ const Xs = "9.13.1", xn = Ts.__EXTEND_POINT__, le = Be(xn);
2141
+ le(), le(), le(), le(), le(), le(), le(), le(), le();
2142
+ const jn = ne.__EXTEND_POINT__, q = Be(jn), z = {
2158
2143
  // composer module errors
2159
- UNEXPECTED_RETURN_TYPE: Hn,
2144
+ UNEXPECTED_RETURN_TYPE: jn,
2160
2145
  // 24
2161
2146
  // legacy module errors
2162
2147
  INVALID_ARGUMENT: q(),
@@ -2200,314 +2185,314 @@ const Hn = ne.__EXTEND_POINT__, q = Je(Hn), z = {
2200
2185
  function te(e, ...t) {
2201
2186
  return Ie(e, null, void 0);
2202
2187
  }
2203
- const Lt = /* @__PURE__ */ fe("__translateVNode"), bt = /* @__PURE__ */ fe("__datetimeParts"), ht = /* @__PURE__ */ fe("__numberParts"), Ks = fe("__setPluralRules"), Gs = /* @__PURE__ */ fe("__injectWithOption"), Tt = /* @__PURE__ */ fe("__dispose");
2188
+ const pt = /* @__PURE__ */ fe("__translateVNode"), Lt = /* @__PURE__ */ fe("__datetimeParts"), ht = /* @__PURE__ */ fe("__numberParts"), Gs = fe("__setPluralRules"), Ys = /* @__PURE__ */ fe("__injectWithOption"), Tt = /* @__PURE__ */ fe("__dispose");
2204
2189
  function ve(e) {
2205
2190
  if (!w(e))
2206
2191
  return e;
2207
2192
  for (const t in e)
2208
- if (Xe(e, t))
2193
+ if (He(e, t))
2209
2194
  if (!t.includes("."))
2210
2195
  w(e[t]) && ve(e[t]);
2211
2196
  else {
2212
2197
  const n = t.split("."), r = n.length - 1;
2213
- let s = e, o = !1;
2198
+ let s = e, l = !1;
2214
2199
  for (let c = 0; c < r; c++) {
2215
2200
  if (n[c] in s || (s[n[c]] = {}), !w(s[n[c]])) {
2216
- o = !0;
2201
+ l = !0;
2217
2202
  break;
2218
2203
  }
2219
2204
  s = s[n[c]];
2220
2205
  }
2221
- o || (s[n[r]] = e[t], delete e[t]), w(s[n[r]]) && ve(s[n[r]]);
2206
+ l || (s[n[r]] = e[t], delete e[t]), w(s[n[r]]) && ve(s[n[r]]);
2222
2207
  }
2223
2208
  return e;
2224
2209
  }
2225
- function Xn(e, t) {
2226
- const { messages: n, __i18n: r, messageResolver: s, flatJson: o } = t, c = U(n) ? n : X(r) ? {} : { [e]: {} };
2210
+ function Hn(e, t) {
2211
+ const { messages: n, __i18n: r, messageResolver: s, flatJson: l } = t, c = U(n) ? n : X(r) ? {} : { [e]: {} };
2227
2212
  if (X(r) && r.forEach((i) => {
2228
2213
  if ("locale" in i && "resource" in i) {
2229
- const { locale: u, resource: m } = i;
2230
- u ? (c[u] = c[u] || {}, $e(m, c[u])) : $e(m, c);
2214
+ const { locale: u, resource: _ } = i;
2215
+ u ? (c[u] = c[u] || {}, Ve(_, c[u])) : Ve(_, c);
2231
2216
  } else
2232
- S(i) && $e(JSON.parse(i), c);
2233
- }), s == null && o)
2217
+ S(i) && Ve(JSON.parse(i), c);
2218
+ }), s == null && l)
2234
2219
  for (const i in c)
2235
- Xe(c, i) && ve(c[i]);
2220
+ He(c, i) && ve(c[i]);
2236
2221
  return c;
2237
2222
  }
2238
- function Yn(e) {
2223
+ function Xn(e) {
2239
2224
  return e.type;
2240
2225
  }
2241
- function Bs(e, t, n) {
2226
+ function Ks(e, t, n) {
2242
2227
  let r = w(t.messages) ? t.messages : {};
2243
- "__i18nGlobal" in n && (r = Xn(e.locale.value, {
2228
+ "__i18nGlobal" in n && (r = Hn(e.locale.value, {
2244
2229
  messages: r,
2245
2230
  __i18n: n.__i18nGlobal
2246
2231
  }));
2247
2232
  const s = Object.keys(r);
2248
- s.length && s.forEach((o) => {
2249
- e.mergeLocaleMessage(o, r[o]);
2233
+ s.length && s.forEach((l) => {
2234
+ e.mergeLocaleMessage(l, r[l]);
2250
2235
  });
2251
2236
  {
2252
2237
  if (w(t.datetimeFormats)) {
2253
- const o = Object.keys(t.datetimeFormats);
2254
- o.length && o.forEach((c) => {
2238
+ const l = Object.keys(t.datetimeFormats);
2239
+ l.length && l.forEach((c) => {
2255
2240
  e.mergeDateTimeFormat(c, t.datetimeFormats[c]);
2256
2241
  });
2257
2242
  }
2258
2243
  if (w(t.numberFormats)) {
2259
- const o = Object.keys(t.numberFormats);
2260
- o.length && o.forEach((c) => {
2244
+ const l = Object.keys(t.numberFormats);
2245
+ l.length && l.forEach((c) => {
2261
2246
  e.mergeNumberFormat(c, t.numberFormats[c]);
2262
2247
  });
2263
2248
  }
2264
2249
  }
2265
2250
  }
2266
- function sn(e) {
2267
- return lr(cr, null, e, 0);
2251
+ function rn(e) {
2252
+ return lr(or, null, e, 0);
2268
2253
  }
2269
- const an = "__INTLIFY_META__", on = () => [], Js = () => !1;
2254
+ const sn = "__INTLIFY_META__", an = () => [], Bs = () => !1;
2270
2255
  let ln = 0;
2271
- function cn(e) {
2272
- return (t, n, r, s) => e(n, r, St() || void 0, s);
2256
+ function on(e) {
2257
+ return (t, n, r, s) => e(n, r, yt() || void 0, s);
2273
2258
  }
2274
- const Qs = /* @__NO_SIDE_EFFECTS__ */ () => {
2275
- const e = St();
2259
+ const Js = /* @__NO_SIDE_EFFECTS__ */ () => {
2260
+ const e = yt();
2276
2261
  let t = null;
2277
- return e && (t = Yn(e)[an]) ? { [an]: t } : null;
2262
+ return e && (t = Xn(e)[sn]) ? { [sn]: t } : null;
2278
2263
  };
2279
- function Kn(e = {}, t) {
2280
- const { __root: n, __injectWithOption: r } = e, s = n === void 0, o = e.flatJson, c = je ? It : or, i = !!e.translateExistCompatible;
2264
+ function Gn(e = {}, t) {
2265
+ const { __root: n, __injectWithOption: r } = e, s = n === void 0, l = e.flatJson, c = xe ? Ot : ar, i = !!e.translateExistCompatible;
2281
2266
  let u = x(e.inheritLocale) ? e.inheritLocale : !0;
2282
- const m = c(
2267
+ const _ = c(
2283
2268
  // prettier-ignore
2284
- n && u ? n.locale.value : S(e.locale) ? e.locale : Ke
2269
+ n && u ? n.locale.value : S(e.locale) ? e.locale : Ge
2285
2270
  ), O = c(
2286
2271
  // prettier-ignore
2287
- n && u ? n.fallbackLocale.value : S(e.fallbackLocale) || X(e.fallbackLocale) || U(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
2288
- ), L = c(Xn(m.value, e)), N = c(U(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), C = c(U(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
2289
- let A = n ? n.missingWarn : x(e.missingWarn) || He(e.missingWarn) ? e.missingWarn : !0, R = n ? n.fallbackWarn : x(e.fallbackWarn) || He(e.fallbackWarn) ? e.fallbackWarn : !0, y = n ? n.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, P = !!e.fallbackFormat, M = j(e.missing) ? e.missing : null, _ = j(e.missing) ? cn(e.missing) : null, d = j(e.postTranslation) ? e.postTranslation : null, h = n ? n.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2272
+ n && u ? n.fallbackLocale.value : S(e.fallbackLocale) || X(e.fallbackLocale) || U(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : _.value
2273
+ ), L = c(Hn(_.value, e)), p = c(U(e.datetimeFormats) ? e.datetimeFormats : { [_.value]: {} }), C = c(U(e.numberFormats) ? e.numberFormats : { [_.value]: {} });
2274
+ let A = n ? n.missingWarn : x(e.missingWarn) || je(e.missingWarn) ? e.missingWarn : !0, R = n ? n.fallbackWarn : x(e.fallbackWarn) || je(e.fallbackWarn) ? e.fallbackWarn : !0, y = n ? n.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, P = !!e.fallbackFormat, M = j(e.missing) ? e.missing : null, m = j(e.missing) ? on(e.missing) : null, d = j(e.postTranslation) ? e.postTranslation : null, T = n ? n.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2290
2275
  const I = n ? n.modifiers : U(e.modifiers) ? e.modifiers : {};
2291
- let T = e.pluralRules || n && n.pluralRules, b;
2292
- b = (() => {
2293
- s && Jt(null);
2276
+ let b = e.pluralRules || n && n.pluralRules, h;
2277
+ h = (() => {
2278
+ s && Bt(null);
2294
2279
  const f = {
2295
- version: Ys,
2296
- locale: m.value,
2280
+ version: Xs,
2281
+ locale: _.value,
2297
2282
  fallbackLocale: O.value,
2298
2283
  messages: L.value,
2299
2284
  modifiers: I,
2300
- pluralRules: T,
2301
- missing: _ === null ? void 0 : _,
2285
+ pluralRules: b,
2286
+ missing: m === null ? void 0 : m,
2302
2287
  missingWarn: A,
2303
2288
  fallbackWarn: R,
2304
2289
  fallbackFormat: P,
2305
2290
  unresolving: !0,
2306
2291
  postTranslation: d === null ? void 0 : d,
2307
- warnHtmlMessage: h,
2292
+ warnHtmlMessage: T,
2308
2293
  escapeParameter: g,
2309
2294
  messageResolver: e.messageResolver,
2310
2295
  messageCompiler: e.messageCompiler,
2311
2296
  __meta: { framework: "vue" }
2312
2297
  };
2313
- f.datetimeFormats = N.value, f.numberFormats = C.value, f.__datetimeFormatters = U(b) ? b.__datetimeFormatters : void 0, f.__numberFormatters = U(b) ? b.__numberFormatters : void 0;
2314
- const p = Ms(f);
2315
- return s && Jt(p), p;
2316
- })(), ke(b, m.value, O.value);
2317
- function Y() {
2298
+ f.datetimeFormats = p.value, f.numberFormats = C.value, f.__datetimeFormatters = U(h) ? h.__datetimeFormatters : void 0, f.__numberFormatters = U(h) ? h.__numberFormatters : void 0;
2299
+ const N = vs(f);
2300
+ return s && Bt(N), N;
2301
+ })(), ke(h, _.value, O.value);
2302
+ function G() {
2318
2303
  return [
2319
- m.value,
2304
+ _.value,
2320
2305
  O.value,
2321
2306
  L.value,
2322
- N.value,
2307
+ p.value,
2323
2308
  C.value
2324
2309
  ];
2325
2310
  }
2326
2311
  const F = Le({
2327
- get: () => m.value,
2312
+ get: () => _.value,
2328
2313
  set: (f) => {
2329
- m.value = f, b.locale = m.value;
2314
+ _.value = f, h.locale = _.value;
2330
2315
  }
2331
- }), K = Le({
2316
+ }), Y = Le({
2332
2317
  get: () => O.value,
2333
2318
  set: (f) => {
2334
- O.value = f, b.fallbackLocale = O.value, ke(b, m.value, f);
2319
+ O.value = f, h.fallbackLocale = O.value, ke(h, _.value, f);
2335
2320
  }
2336
- }), Ce = Le(() => L.value), ye = /* @__PURE__ */ Le(() => N.value), re = /* @__PURE__ */ Le(() => C.value);
2321
+ }), Ce = Le(() => L.value), ye = /* @__PURE__ */ Le(() => p.value), re = /* @__PURE__ */ Le(() => C.value);
2337
2322
  function B() {
2338
2323
  return j(d) ? d : null;
2339
2324
  }
2340
- function qe(f) {
2341
- d = f, b.postTranslation = f;
2325
+ function Qe(f) {
2326
+ d = f, h.postTranslation = f;
2342
2327
  }
2343
- function Ze() {
2328
+ function qe() {
2344
2329
  return M;
2345
2330
  }
2346
- function ze(f) {
2347
- f !== null && (_ = cn(f)), M = f, b.missing = _;
2331
+ function Ze(f) {
2332
+ f !== null && (m = on(f)), M = f, h.missing = m;
2348
2333
  }
2349
- const se = (f, p, V, H, ce, Ue) => {
2350
- Y();
2351
- let pe;
2334
+ const se = (f, N, V, H, ce, Ue) => {
2335
+ G();
2336
+ let Ne;
2352
2337
  try {
2353
- s || (b.fallbackContext = n ? vs() : void 0), pe = f(b);
2338
+ s || (h.fallbackContext = n ? Ds() : void 0), Ne = f(h);
2354
2339
  } finally {
2355
- s || (b.fallbackContext = void 0);
2340
+ s || (h.fallbackContext = void 0);
2356
2341
  }
2357
2342
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2358
- G(pe) && pe === Qe || V === "translate exists" && !pe) {
2359
- const [Qn, La] = p();
2360
- return n && y ? H(n) : ce(Qn);
2343
+ K(Ne) && Ne === Je || V === "translate exists" && !Ne) {
2344
+ const [Jn, pa] = N();
2345
+ return n && y ? H(n) : ce(Jn);
2361
2346
  } else {
2362
- if (Ue(pe))
2363
- return pe;
2347
+ if (Ue(Ne))
2348
+ return Ne;
2364
2349
  throw te(z.UNEXPECTED_RETURN_TYPE);
2365
2350
  }
2366
2351
  };
2367
2352
  function Se(...f) {
2368
- return se((p) => Reflect.apply(zt, null, [p, ...f]), () => gt(...f), "translate", (p) => Reflect.apply(p.t, p, [...f]), (p) => p, (p) => S(p));
2353
+ return se((N) => Reflect.apply(Zt, null, [N, ...f]), () => Et(...f), "translate", (N) => Reflect.apply(N.t, N, [...f]), (N) => N, (N) => S(N));
2369
2354
  }
2370
- function et(...f) {
2371
- const [p, V, H] = f;
2355
+ function ze(...f) {
2356
+ const [N, V, H] = f;
2372
2357
  if (H && !w(H))
2373
2358
  throw te(z.INVALID_ARGUMENT);
2374
- return Se(p, V, J({ resolvedMessage: !0 }, H || {}));
2359
+ return Se(N, V, J({ resolvedMessage: !0 }, H || {}));
2375
2360
  }
2376
2361
  function Me(...f) {
2377
- return se((p) => Reflect.apply(en, null, [p, ...f]), () => pt(...f), "datetime format", (p) => Reflect.apply(p.d, p, [...f]), () => Gt, (p) => S(p));
2362
+ return se((N) => Reflect.apply(zt, null, [N, ...f]), () => gt(...f), "datetime format", (N) => Reflect.apply(N.d, N, [...f]), () => Yt, (N) => S(N));
2378
2363
  }
2379
- function tt(...f) {
2380
- return se((p) => Reflect.apply(nn, null, [p, ...f]), () => Nt(...f), "number format", (p) => Reflect.apply(p.n, p, [...f]), () => Gt, (p) => S(p));
2364
+ function et(...f) {
2365
+ return se((N) => Reflect.apply(tn, null, [N, ...f]), () => Nt(...f), "number format", (N) => Reflect.apply(N.n, N, [...f]), () => Yt, (N) => S(N));
2381
2366
  }
2382
- function nt(f) {
2383
- return f.map((p) => S(p) || G(p) || x(p) ? sn(String(p)) : p);
2367
+ function tt(f) {
2368
+ return f.map((N) => S(N) || K(N) || x(N) ? rn(String(N)) : N);
2384
2369
  }
2385
- const rt = {
2386
- normalize: nt,
2370
+ const nt = {
2371
+ normalize: tt,
2387
2372
  interpolate: (f) => f,
2388
2373
  type: "vnode"
2389
2374
  };
2390
- function st(...f) {
2375
+ function rt(...f) {
2391
2376
  return se(
2392
- (p) => {
2377
+ (N) => {
2393
2378
  let V;
2394
- const H = p;
2379
+ const H = N;
2395
2380
  try {
2396
- H.processor = rt, V = Reflect.apply(zt, null, [H, ...f]);
2381
+ H.processor = nt, V = Reflect.apply(Zt, null, [H, ...f]);
2397
2382
  } finally {
2398
2383
  H.processor = null;
2399
2384
  }
2400
2385
  return V;
2401
2386
  },
2402
- () => gt(...f),
2387
+ () => Et(...f),
2403
2388
  "translate",
2404
2389
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2405
- (p) => p[Lt](...f),
2406
- (p) => [sn(p)],
2407
- (p) => X(p)
2390
+ (N) => N[pt](...f),
2391
+ (N) => [rn(N)],
2392
+ (N) => X(N)
2408
2393
  );
2409
2394
  }
2410
2395
  function Fe(...f) {
2411
2396
  return se(
2412
- (p) => Reflect.apply(nn, null, [p, ...f]),
2397
+ (N) => Reflect.apply(tn, null, [N, ...f]),
2413
2398
  () => Nt(...f),
2414
2399
  "number format",
2415
2400
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2416
- (p) => p[ht](...f),
2417
- on,
2418
- (p) => S(p) || X(p)
2401
+ (N) => N[ht](...f),
2402
+ an,
2403
+ (N) => S(N) || X(N)
2419
2404
  );
2420
2405
  }
2421
- function at(...f) {
2406
+ function st(...f) {
2422
2407
  return se(
2423
- (p) => Reflect.apply(en, null, [p, ...f]),
2424
- () => pt(...f),
2408
+ (N) => Reflect.apply(zt, null, [N, ...f]),
2409
+ () => gt(...f),
2425
2410
  "datetime format",
2426
2411
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2427
- (p) => p[bt](...f),
2428
- on,
2429
- (p) => S(p) || X(p)
2412
+ (N) => N[Lt](...f),
2413
+ an,
2414
+ (N) => S(N) || X(N)
2430
2415
  );
2431
2416
  }
2432
- function ot(f) {
2433
- T = f, b.pluralRules = T;
2417
+ function at(f) {
2418
+ b = f, h.pluralRules = b;
2434
2419
  }
2435
- function lt(f, p) {
2420
+ function lt(f, N) {
2436
2421
  return se(() => {
2437
2422
  if (!f)
2438
2423
  return !1;
2439
- const V = S(p) ? p : m.value, H = Ee(V), ce = b.messageResolver(H, f);
2424
+ const V = S(N) ? N : _.value, H = Ee(V), ce = h.messageResolver(H, f);
2440
2425
  return i ? ce != null : Oe(ce) || Z(ce) || S(ce);
2441
- }, () => [f], "translate exists", (V) => Reflect.apply(V.te, V, [f, p]), Js, (V) => x(V));
2426
+ }, () => [f], "translate exists", (V) => Reflect.apply(V.te, V, [f, N]), Bs, (V) => x(V));
2442
2427
  }
2443
- function ct(f) {
2444
- let p = null;
2445
- const V = Dn(b, O.value, m.value);
2428
+ function ot(f) {
2429
+ let N = null;
2430
+ const V = Rn(h, O.value, _.value);
2446
2431
  for (let H = 0; H < V.length; H++) {
2447
- const ce = L.value[V[H]] || {}, Ue = b.messageResolver(ce, f);
2432
+ const ce = L.value[V[H]] || {}, Ue = h.messageResolver(ce, f);
2448
2433
  if (Ue != null) {
2449
- p = Ue;
2434
+ N = Ue;
2450
2435
  break;
2451
2436
  }
2452
2437
  }
2453
- return p;
2438
+ return N;
2454
2439
  }
2455
2440
  function Ae(f) {
2456
- const p = ct(f);
2457
- return p ?? (n ? n.tm(f) || {} : {});
2441
+ const N = ot(f);
2442
+ return N ?? (n ? n.tm(f) || {} : {});
2458
2443
  }
2459
2444
  function Ee(f) {
2460
2445
  return L.value[f] || {};
2461
2446
  }
2462
- function ge(f, p) {
2463
- if (o) {
2464
- const V = { [f]: p };
2447
+ function ge(f, N) {
2448
+ if (l) {
2449
+ const V = { [f]: N };
2465
2450
  for (const H in V)
2466
- Xe(V, H) && ve(V[H]);
2467
- p = V[f];
2451
+ He(V, H) && ve(V[H]);
2452
+ N = V[f];
2468
2453
  }
2469
- L.value[f] = p, b.messages = L.value;
2454
+ L.value[f] = N, h.messages = L.value;
2470
2455
  }
2471
- function Pe(f, p) {
2456
+ function Pe(f, N) {
2472
2457
  L.value[f] = L.value[f] || {};
2473
- const V = { [f]: p };
2474
- if (o)
2458
+ const V = { [f]: N };
2459
+ if (l)
2475
2460
  for (const H in V)
2476
- Xe(V, H) && ve(V[H]);
2477
- p = V[f], $e(p, L.value[f]), b.messages = L.value;
2461
+ He(V, H) && ve(V[H]);
2462
+ N = V[f], Ve(N, L.value[f]), h.messages = L.value;
2478
2463
  }
2479
- function it(f) {
2480
- return N.value[f] || {};
2464
+ function ct(f) {
2465
+ return p.value[f] || {};
2481
2466
  }
2482
- function a(f, p) {
2483
- N.value[f] = p, b.datetimeFormats = N.value, tn(b, f, p);
2467
+ function a(f, N) {
2468
+ p.value[f] = N, h.datetimeFormats = p.value, en(h, f, N);
2484
2469
  }
2485
- function l(f, p) {
2486
- N.value[f] = J(N.value[f] || {}, p), b.datetimeFormats = N.value, tn(b, f, p);
2470
+ function o(f, N) {
2471
+ p.value[f] = J(p.value[f] || {}, N), h.datetimeFormats = p.value, en(h, f, N);
2487
2472
  }
2488
2473
  function E(f) {
2489
2474
  return C.value[f] || {};
2490
2475
  }
2491
- function k(f, p) {
2492
- C.value[f] = p, b.numberFormats = C.value, rn(b, f, p);
2476
+ function k(f, N) {
2477
+ C.value[f] = N, h.numberFormats = C.value, nn(h, f, N);
2493
2478
  }
2494
- function $(f, p) {
2495
- C.value[f] = J(C.value[f] || {}, p), b.numberFormats = C.value, rn(b, f, p);
2479
+ function $(f, N) {
2480
+ C.value[f] = J(C.value[f] || {}, N), h.numberFormats = C.value, nn(h, f, N);
2496
2481
  }
2497
- ln++, n && je && (xe(n.locale, (f) => {
2498
- u && (m.value = f, b.locale = f, ke(b, m.value, O.value));
2499
- }), xe(n.fallbackLocale, (f) => {
2500
- u && (O.value = f, b.fallbackLocale = f, ke(b, m.value, O.value));
2482
+ ln++, n && xe && ($e(n.locale, (f) => {
2483
+ u && (_.value = f, h.locale = f, ke(h, _.value, O.value));
2484
+ }), $e(n.fallbackLocale, (f) => {
2485
+ u && (O.value = f, h.fallbackLocale = f, ke(h, _.value, O.value));
2501
2486
  }));
2502
2487
  const v = {
2503
2488
  id: ln,
2504
2489
  locale: F,
2505
- fallbackLocale: K,
2490
+ fallbackLocale: Y,
2506
2491
  get inheritLocale() {
2507
2492
  return u;
2508
2493
  },
2509
2494
  set inheritLocale(f) {
2510
- u = f, f && n && (m.value = n.locale.value, O.value = n.fallbackLocale.value, ke(b, m.value, O.value));
2495
+ u = f, f && n && (_.value = n.locale.value, O.value = n.fallbackLocale.value, ke(h, _.value, O.value));
2511
2496
  },
2512
2497
  get availableLocales() {
2513
2498
  return Object.keys(L.value).sort();
@@ -2517,7 +2502,7 @@ function Kn(e = {}, t) {
2517
2502
  return I;
2518
2503
  },
2519
2504
  get pluralRules() {
2520
- return T || {};
2505
+ return b || {};
2521
2506
  },
2522
2507
  get isGlobal() {
2523
2508
  return s;
@@ -2526,13 +2511,13 @@ function Kn(e = {}, t) {
2526
2511
  return A;
2527
2512
  },
2528
2513
  set missingWarn(f) {
2529
- A = f, b.missingWarn = A;
2514
+ A = f, h.missingWarn = A;
2530
2515
  },
2531
2516
  get fallbackWarn() {
2532
2517
  return R;
2533
2518
  },
2534
2519
  set fallbackWarn(f) {
2535
- R = f, b.fallbackWarn = R;
2520
+ R = f, h.fallbackWarn = R;
2536
2521
  },
2537
2522
  get fallbackRoot() {
2538
2523
  return y;
@@ -2544,33 +2529,33 @@ function Kn(e = {}, t) {
2544
2529
  return P;
2545
2530
  },
2546
2531
  set fallbackFormat(f) {
2547
- P = f, b.fallbackFormat = P;
2532
+ P = f, h.fallbackFormat = P;
2548
2533
  },
2549
2534
  get warnHtmlMessage() {
2550
- return h;
2535
+ return T;
2551
2536
  },
2552
2537
  set warnHtmlMessage(f) {
2553
- h = f, b.warnHtmlMessage = f;
2538
+ T = f, h.warnHtmlMessage = f;
2554
2539
  },
2555
2540
  get escapeParameter() {
2556
2541
  return g;
2557
2542
  },
2558
2543
  set escapeParameter(f) {
2559
- g = f, b.escapeParameter = f;
2544
+ g = f, h.escapeParameter = f;
2560
2545
  },
2561
2546
  t: Se,
2562
2547
  getLocaleMessage: Ee,
2563
2548
  setLocaleMessage: ge,
2564
2549
  mergeLocaleMessage: Pe,
2565
2550
  getPostTranslationHandler: B,
2566
- setPostTranslationHandler: qe,
2567
- getMissingHandler: Ze,
2568
- setMissingHandler: ze,
2569
- [Ks]: ot
2551
+ setPostTranslationHandler: Qe,
2552
+ getMissingHandler: qe,
2553
+ setMissingHandler: Ze,
2554
+ [Gs]: at
2570
2555
  };
2571
- return v.datetimeFormats = ye, v.numberFormats = re, v.rt = et, v.te = lt, v.tm = Ae, v.d = Me, v.n = tt, v.getDateTimeFormat = it, v.setDateTimeFormat = a, v.mergeDateTimeFormat = l, v.getNumberFormat = E, v.setNumberFormat = k, v.mergeNumberFormat = $, v[Gs] = r, v[Lt] = st, v[bt] = at, v[ht] = Fe, v;
2556
+ return v.datetimeFormats = ye, v.numberFormats = re, v.rt = ze, v.te = lt, v.tm = Ae, v.d = Me, v.n = et, v.getDateTimeFormat = ct, v.setDateTimeFormat = a, v.mergeDateTimeFormat = o, v.getNumberFormat = E, v.setNumberFormat = k, v.mergeNumberFormat = $, v[Ys] = r, v[pt] = rt, v[Lt] = st, v[ht] = Fe, v;
2572
2557
  }
2573
- const Dt = {
2558
+ const Rt = {
2574
2559
  tag: {
2575
2560
  type: [String, Object]
2576
2561
  },
@@ -2588,20 +2573,20 @@ const Dt = {
2588
2573
  type: Object
2589
2574
  }
2590
2575
  };
2591
- function qs({ slots: e }, t) {
2576
+ function Qs({ slots: e }, t) {
2592
2577
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
2593
2578
  ...r,
2594
2579
  // prettier-ignore
2595
- ...s.type === bn ? s.children : [s]
2580
+ ...s.type === Ln ? s.children : [s]
2596
2581
  ], []) : t.reduce((n, r) => {
2597
2582
  const s = e[r];
2598
2583
  return s && (n[r] = s()), n;
2599
2584
  }, {});
2600
2585
  }
2601
- function Gn(e) {
2602
- return bn;
2586
+ function Yn(e) {
2587
+ return Ln;
2603
2588
  }
2604
- const Zs = /* @__PURE__ */ yt({
2589
+ const qs = /* @__PURE__ */ Ct({
2605
2590
  /* eslint-disable */
2606
2591
  name: "i18n-t",
2607
2592
  props: J({
@@ -2612,44 +2597,44 @@ const Zs = /* @__PURE__ */ yt({
2612
2597
  plural: {
2613
2598
  type: [Number, String],
2614
2599
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2615
- validator: (e) => G(e) || !isNaN(e)
2600
+ validator: (e) => K(e) || !isNaN(e)
2616
2601
  }
2617
- }, Dt),
2602
+ }, Rt),
2618
2603
  /* eslint-enable */
2619
2604
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2620
2605
  setup(e, t) {
2621
- const { slots: n, attrs: r } = t, s = e.i18n || vt({
2606
+ const { slots: n, attrs: r } = t, s = e.i18n || Dt({
2622
2607
  useScope: e.scope,
2623
2608
  __useComponent: !0
2624
2609
  });
2625
2610
  return () => {
2626
- const o = Object.keys(n).filter((L) => L !== "_"), c = {};
2611
+ const l = Object.keys(n).filter((L) => L !== "_"), c = {};
2627
2612
  e.locale && (c.locale = e.locale), e.plural !== void 0 && (c.plural = S(e.plural) ? +e.plural : e.plural);
2628
- const i = qs(t, o), u = s[Lt](e.keypath, i, c), m = J({}, r), O = S(e.tag) || w(e.tag) ? e.tag : Gn();
2629
- return Ln(O, m, u);
2613
+ const i = Qs(t, l), u = s[pt](e.keypath, i, c), _ = J({}, r), O = S(e.tag) || w(e.tag) ? e.tag : Yn();
2614
+ return pn(O, _, u);
2630
2615
  };
2631
2616
  }
2632
- }), un = Zs;
2633
- function zs(e) {
2617
+ }), cn = qs;
2618
+ function Zs(e) {
2634
2619
  return X(e) && !S(e[0]);
2635
2620
  }
2636
- function Bn(e, t, n, r) {
2637
- const { slots: s, attrs: o } = t;
2621
+ function Kn(e, t, n, r) {
2622
+ const { slots: s, attrs: l } = t;
2638
2623
  return () => {
2639
2624
  const c = { part: !0 };
2640
2625
  let i = {};
2641
- e.locale && (c.locale = e.locale), S(e.format) ? c.key = e.format : w(e.format) && (S(e.format.key) && (c.key = e.format.key), i = Object.keys(e.format).reduce((N, C) => n.includes(C) ? J({}, N, { [C]: e.format[C] }) : N, {}));
2626
+ e.locale && (c.locale = e.locale), S(e.format) ? c.key = e.format : w(e.format) && (S(e.format.key) && (c.key = e.format.key), i = Object.keys(e.format).reduce((p, C) => n.includes(C) ? J({}, p, { [C]: e.format[C] }) : p, {}));
2642
2627
  const u = r(e.value, c, i);
2643
- let m = [c.key];
2644
- X(u) ? m = u.map((N, C) => {
2645
- const A = s[N.type], R = A ? A({ [N.type]: N.value, index: C, parts: u }) : [N.value];
2646
- return zs(R) && (R[0].key = `${N.type}-${C}`), R;
2647
- }) : S(u) && (m = [u]);
2648
- const O = J({}, o), L = S(e.tag) || w(e.tag) ? e.tag : Gn();
2649
- return Ln(L, O, m);
2628
+ let _ = [c.key];
2629
+ X(u) ? _ = u.map((p, C) => {
2630
+ const A = s[p.type], R = A ? A({ [p.type]: p.value, index: C, parts: u }) : [p.value];
2631
+ return Zs(R) && (R[0].key = `${p.type}-${C}`), R;
2632
+ }) : S(u) && (_ = [u]);
2633
+ const O = J({}, l), L = S(e.tag) || w(e.tag) ? e.tag : Yn();
2634
+ return pn(L, O, _);
2650
2635
  };
2651
2636
  }
2652
- const ea = /* @__PURE__ */ yt({
2637
+ const zs = /* @__PURE__ */ Ct({
2653
2638
  /* eslint-disable */
2654
2639
  name: "i18n-n",
2655
2640
  props: J({
@@ -2660,20 +2645,20 @@ const ea = /* @__PURE__ */ yt({
2660
2645
  format: {
2661
2646
  type: [String, Object]
2662
2647
  }
2663
- }, Dt),
2648
+ }, Rt),
2664
2649
  /* eslint-enable */
2665
2650
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2666
2651
  setup(e, t) {
2667
- const n = e.i18n || vt({
2652
+ const n = e.i18n || Dt({
2668
2653
  useScope: e.scope,
2669
2654
  __useComponent: !0
2670
2655
  });
2671
- return Bn(e, t, xn, (...r) => (
2656
+ return Kn(e, t, $n, (...r) => (
2672
2657
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2673
2658
  n[ht](...r)
2674
2659
  ));
2675
2660
  }
2676
- }), fn = ea, ta = /* @__PURE__ */ yt({
2661
+ }), un = zs, ea = /* @__PURE__ */ Ct({
2677
2662
  /* eslint-disable */
2678
2663
  name: "i18n-d",
2679
2664
  props: J({
@@ -2684,21 +2669,21 @@ const ea = /* @__PURE__ */ yt({
2684
2669
  format: {
2685
2670
  type: [String, Object]
2686
2671
  }
2687
- }, Dt),
2672
+ }, Rt),
2688
2673
  /* eslint-enable */
2689
2674
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2690
2675
  setup(e, t) {
2691
- const n = e.i18n || vt({
2676
+ const n = e.i18n || Dt({
2692
2677
  useScope: e.scope,
2693
2678
  __useComponent: !0
2694
2679
  });
2695
- return Bn(e, t, $n, (...r) => (
2680
+ return Kn(e, t, Vn, (...r) => (
2696
2681
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2697
- n[bt](...r)
2682
+ n[Lt](...r)
2698
2683
  ));
2699
2684
  }
2700
- }), _n = ta;
2701
- function na(e, t) {
2685
+ }), fn = ea;
2686
+ function ta(e, t) {
2702
2687
  const n = e;
2703
2688
  if (e.mode === "composition")
2704
2689
  return n.__getInstance(t) || e.global;
@@ -2707,32 +2692,32 @@ function na(e, t) {
2707
2692
  return r != null ? r.__composer : e.global.__composer;
2708
2693
  }
2709
2694
  }
2710
- function ra(e) {
2695
+ function na(e) {
2711
2696
  const t = (c) => {
2712
- const { instance: i, modifiers: u, value: m } = c;
2697
+ const { instance: i, modifiers: u, value: _ } = c;
2713
2698
  if (!i || !i.$)
2714
2699
  throw te(z.UNEXPECTED_ERROR);
2715
- const O = na(e, i.$), L = mn(m);
2700
+ const O = ta(e, i.$), L = mn(_);
2716
2701
  return [
2717
- Reflect.apply(O.t, O, [...dn(L)]),
2702
+ Reflect.apply(O.t, O, [..._n(L)]),
2718
2703
  O
2719
2704
  ];
2720
2705
  };
2721
2706
  return {
2722
2707
  created: (c, i) => {
2723
- const [u, m] = t(i);
2724
- je && e.global === m && (c.__i18nWatcher = xe(m.locale, () => {
2708
+ const [u, _] = t(i);
2709
+ xe && e.global === _ && (c.__i18nWatcher = $e(_.locale, () => {
2725
2710
  i.instance && i.instance.$forceUpdate();
2726
- })), c.__composer = m, c.textContent = u;
2711
+ })), c.__composer = _, c.textContent = u;
2727
2712
  },
2728
2713
  unmounted: (c) => {
2729
- je && c.__i18nWatcher && (c.__i18nWatcher(), c.__i18nWatcher = void 0, delete c.__i18nWatcher), c.__composer && (c.__composer = void 0, delete c.__composer);
2714
+ xe && c.__i18nWatcher && (c.__i18nWatcher(), c.__i18nWatcher = void 0, delete c.__i18nWatcher), c.__composer && (c.__composer = void 0, delete c.__composer);
2730
2715
  },
2731
2716
  beforeUpdate: (c, { value: i }) => {
2732
2717
  if (c.__composer) {
2733
- const u = c.__composer, m = mn(i);
2718
+ const u = c.__composer, _ = mn(i);
2734
2719
  c.textContent = Reflect.apply(u.t, u, [
2735
- ...dn(m)
2720
+ ..._n(_)
2736
2721
  ]);
2737
2722
  }
2738
2723
  },
@@ -2752,22 +2737,22 @@ function mn(e) {
2752
2737
  } else
2753
2738
  throw te(z.INVALID_VALUE);
2754
2739
  }
2755
- function dn(e) {
2756
- const { path: t, locale: n, args: r, choice: s, plural: o } = e, c = {}, i = r || {};
2757
- return S(n) && (c.locale = n), G(s) && (c.plural = s), G(o) && (c.plural = o), [t, i, c];
2740
+ function _n(e) {
2741
+ const { path: t, locale: n, args: r, choice: s, plural: l } = e, c = {}, i = r || {};
2742
+ return S(n) && (c.locale = n), K(s) && (c.plural = s), K(l) && (c.plural = l), [t, i, c];
2758
2743
  }
2759
- function sa(e, t, ...n) {
2744
+ function ra(e, t, ...n) {
2760
2745
  const r = U(n[0]) ? n[0] : {}, s = !!r.useI18nComponentName;
2761
- (x(r.globalInstall) ? r.globalInstall : !0) && ([s ? "i18n" : un.name, "I18nT"].forEach((c) => e.component(c, un)), [fn.name, "I18nN"].forEach((c) => e.component(c, fn)), [_n.name, "I18nD"].forEach((c) => e.component(c, _n))), e.directive("t", ra(t));
2746
+ (x(r.globalInstall) ? r.globalInstall : !0) && ([s ? "i18n" : cn.name, "I18nT"].forEach((c) => e.component(c, cn)), [un.name, "I18nN"].forEach((c) => e.component(c, un)), [fn.name, "I18nD"].forEach((c) => e.component(c, fn))), e.directive("t", na(t));
2762
2747
  }
2763
- const aa = /* @__PURE__ */ fe("global-vue-i18n");
2764
- function oa(e = {}, t) {
2765
- const n = x(e.globalInjection) ? e.globalInjection : !0, r = !0, s = /* @__PURE__ */ new Map(), [o, c] = la(e), i = /* @__PURE__ */ fe("");
2748
+ const sa = /* @__PURE__ */ fe("global-vue-i18n");
2749
+ function aa(e = {}, t) {
2750
+ const n = x(e.globalInjection) ? e.globalInjection : !0, r = !0, s = /* @__PURE__ */ new Map(), [l, c] = la(e), i = /* @__PURE__ */ fe("");
2766
2751
  function u(L) {
2767
2752
  return s.get(L) || null;
2768
2753
  }
2769
- function m(L, N) {
2770
- s.set(L, N);
2754
+ function _(L, p) {
2755
+ s.set(L, p);
2771
2756
  }
2772
2757
  function O(L) {
2773
2758
  s.delete(L);
@@ -2783,15 +2768,15 @@ function oa(e = {}, t) {
2783
2768
  return r;
2784
2769
  },
2785
2770
  // install plugin
2786
- async install(N, ...C) {
2787
- if (N.__VUE_I18N_SYMBOL__ = i, N.provide(N.__VUE_I18N_SYMBOL__, L), U(C[0])) {
2771
+ async install(p, ...C) {
2772
+ if (p.__VUE_I18N_SYMBOL__ = i, p.provide(p.__VUE_I18N_SYMBOL__, L), U(C[0])) {
2788
2773
  const y = C[0];
2789
2774
  L.__composerExtend = y.__composerExtend, L.__vueI18nExtend = y.__vueI18nExtend;
2790
2775
  }
2791
2776
  let A = null;
2792
- n && (A = Ea(N, L.global)), sa(N, L, ...C);
2793
- const R = N.unmount;
2794
- N.unmount = () => {
2777
+ n && (A = da(p, L.global)), ra(p, L, ...C);
2778
+ const R = p.unmount;
2779
+ p.unmount = () => {
2795
2780
  A && A(), L.dispose(), R();
2796
2781
  };
2797
2782
  },
@@ -2800,140 +2785,140 @@ function oa(e = {}, t) {
2800
2785
  return c;
2801
2786
  },
2802
2787
  dispose() {
2803
- o.stop();
2788
+ l.stop();
2804
2789
  },
2805
2790
  // @internal
2806
2791
  __instances: s,
2807
2792
  // @internal
2808
2793
  __getInstance: u,
2809
2794
  // @internal
2810
- __setInstance: m,
2795
+ __setInstance: _,
2811
2796
  // @internal
2812
2797
  __deleteInstance: O
2813
2798
  };
2814
2799
  return L;
2815
2800
  }
2816
2801
  }
2817
- function vt(e = {}) {
2818
- const t = St();
2802
+ function Dt(e = {}) {
2803
+ const t = yt();
2819
2804
  if (t == null)
2820
2805
  throw te(z.MUST_BE_CALL_SETUP_TOP);
2821
2806
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
2822
2807
  throw te(z.NOT_INSTALLED);
2823
- const n = ca(t), r = ua(n), s = Yn(t), o = ia(e, s);
2824
- if (o === "global")
2825
- return Bs(r, e, s), r;
2826
- if (o === "parent") {
2827
- let u = fa(n, t, e.__useComponent);
2808
+ const n = oa(t), r = ia(n), s = Xn(t), l = ca(e, s);
2809
+ if (l === "global")
2810
+ return Ks(r, e, s), r;
2811
+ if (l === "parent") {
2812
+ let u = ua(n, t, e.__useComponent);
2828
2813
  return u == null && (u = r), u;
2829
2814
  }
2830
2815
  const c = n;
2831
2816
  let i = c.__getInstance(t);
2832
2817
  if (i == null) {
2833
2818
  const u = J({}, e);
2834
- "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = Kn(u), c.__composerExtend && (i[Tt] = c.__composerExtend(i)), ma(c, t, i), c.__setInstance(t, i);
2819
+ "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = Gn(u), c.__composerExtend && (i[Tt] = c.__composerExtend(i)), ma(c, t, i), c.__setInstance(t, i);
2835
2820
  }
2836
2821
  return i;
2837
2822
  }
2838
2823
  function la(e, t, n) {
2839
- const r = Ot();
2824
+ const r = bt();
2840
2825
  {
2841
- const s = r.run(() => Kn(e));
2826
+ const s = r.run(() => Gn(e));
2842
2827
  if (s == null)
2843
2828
  throw te(z.UNEXPECTED_ERROR);
2844
2829
  return [r, s];
2845
2830
  }
2846
2831
  }
2847
- function ca(e) {
2832
+ function oa(e) {
2848
2833
  {
2849
- const t = Nn(e.isCE ? aa : e.appContext.app.__VUE_I18N_SYMBOL__);
2834
+ const t = Nn(e.isCE ? sa : e.appContext.app.__VUE_I18N_SYMBOL__);
2850
2835
  if (!t)
2851
2836
  throw te(e.isCE ? z.NOT_INSTALLED_WITH_PROVIDE : z.UNEXPECTED_ERROR);
2852
2837
  return t;
2853
2838
  }
2854
2839
  }
2855
- function ia(e, t) {
2856
- return Be(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2840
+ function ca(e, t) {
2841
+ return Ke(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2857
2842
  }
2858
- function ua(e) {
2843
+ function ia(e) {
2859
2844
  return e.mode === "composition" ? e.global : e.global.__composer;
2860
2845
  }
2861
- function fa(e, t, n = !1) {
2846
+ function ua(e, t, n = !1) {
2862
2847
  let r = null;
2863
2848
  const s = t.root;
2864
- let o = _a(t, n);
2865
- for (; o != null; ) {
2849
+ let l = fa(t, n);
2850
+ for (; l != null; ) {
2866
2851
  const c = e;
2867
- if (e.mode === "composition" && (r = c.__getInstance(o)), r != null || s === o)
2852
+ if (e.mode === "composition" && (r = c.__getInstance(l)), r != null || s === l)
2868
2853
  break;
2869
- o = o.parent;
2854
+ l = l.parent;
2870
2855
  }
2871
2856
  return r;
2872
2857
  }
2873
- function _a(e, t = !1) {
2858
+ function fa(e, t = !1) {
2874
2859
  return e == null ? null : t && e.vnode.ctx || e.parent;
2875
2860
  }
2876
2861
  function ma(e, t, n) {
2877
- sr(() => {
2878
- }, t), ar(() => {
2862
+ rr(() => {
2863
+ }, t), sr(() => {
2879
2864
  const r = n;
2880
2865
  e.__deleteInstance(t);
2881
2866
  const s = r[Tt];
2882
2867
  s && (s(), delete r[Tt]);
2883
2868
  }, t);
2884
2869
  }
2885
- const da = [
2870
+ const _a = [
2886
2871
  "locale",
2887
2872
  "fallbackLocale",
2888
2873
  "availableLocales"
2889
- ], En = ["t", "rt", "d", "n", "tm", "te"];
2890
- function Ea(e, t) {
2874
+ ], dn = ["t", "rt", "d", "n", "tm", "te"];
2875
+ function da(e, t) {
2891
2876
  const n = /* @__PURE__ */ Object.create(null);
2892
- return da.forEach((s) => {
2893
- const o = Object.getOwnPropertyDescriptor(t, s);
2894
- if (!o)
2877
+ return _a.forEach((s) => {
2878
+ const l = Object.getOwnPropertyDescriptor(t, s);
2879
+ if (!l)
2895
2880
  throw te(z.UNEXPECTED_ERROR);
2896
- const c = he(o.value) ? {
2881
+ const c = Te(l.value) ? {
2897
2882
  get() {
2898
- return o.value.value;
2883
+ return l.value.value;
2899
2884
  },
2900
2885
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2901
2886
  set(i) {
2902
- o.value.value = i;
2887
+ l.value.value = i;
2903
2888
  }
2904
2889
  } : {
2905
2890
  get() {
2906
- return o.get && o.get();
2891
+ return l.get && l.get();
2907
2892
  }
2908
2893
  };
2909
2894
  Object.defineProperty(n, s, c);
2910
- }), e.config.globalProperties.$i18n = n, En.forEach((s) => {
2911
- const o = Object.getOwnPropertyDescriptor(t, s);
2912
- if (!o || !o.value)
2895
+ }), e.config.globalProperties.$i18n = n, dn.forEach((s) => {
2896
+ const l = Object.getOwnPropertyDescriptor(t, s);
2897
+ if (!l || !l.value)
2913
2898
  throw te(z.UNEXPECTED_ERROR);
2914
- Object.defineProperty(e.config.globalProperties, `$${s}`, o);
2899
+ Object.defineProperty(e.config.globalProperties, `$${s}`, l);
2915
2900
  }), () => {
2916
- delete e.config.globalProperties.$i18n, En.forEach((s) => {
2901
+ delete e.config.globalProperties.$i18n, dn.forEach((s) => {
2917
2902
  delete e.config.globalProperties[`$${s}`];
2918
2903
  });
2919
2904
  };
2920
2905
  }
2921
- As($s);
2922
- Ps(is);
2923
- ks(Dn);
2906
+ Ss(Vs);
2907
+ As(cs);
2908
+ Ps(Rn);
2924
2909
  {
2925
- const e = br();
2910
+ const e = Lr();
2926
2911
  e.__INTLIFY__ = !0, Ns(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2927
2912
  }
2928
- const Jn = "en", ga = document.documentElement.lang.slice(0, 2) || Jn, pa = oa({
2913
+ const Bn = "en", Ea = document.documentElement.lang.slice(0, 2) || Bn, ga = aa({
2929
2914
  warnHtmlMessage: !1,
2930
2915
  fallbackRootWithEmptyString: !1,
2931
2916
  silentTranslationWarn: !0,
2932
2917
  allowComposition: !0,
2933
2918
  legacy: !1,
2934
2919
  globalInjection: !0,
2935
- locale: ga,
2936
- fallbackLocale: Jn
2920
+ locale: Ea,
2921
+ fallbackLocale: Bn
2937
2922
  /*numberFormats: {
2938
2923
  'da': {
2939
2924
  currency: {
@@ -2941,12 +2926,12 @@ const Jn = "en", ga = document.documentElement.lang.slice(0, 2) || Jn, pa = oa({
2941
2926
  }
2942
2927
  }
2943
2928
  }*/
2944
- }), Na = pa.global;
2945
- function Ca(e) {
2929
+ }), Na = ga.global;
2930
+ function Ia(e) {
2946
2931
  for (const t in e)
2947
2932
  Na.setLocaleMessage(t, e[t]);
2948
2933
  }
2949
- function ya(e) {
2934
+ function Ca(e) {
2950
2935
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
2951
2936
  var r = e.get(t);
2952
2937
  r ? r.push(n) : e.set(t, [n]);
@@ -2963,15 +2948,15 @@ function ya(e) {
2963
2948
  } };
2964
2949
  }
2965
2950
  export {
2966
- un as T,
2951
+ cn as T,
2967
2952
  Na as a,
2968
- Ca as b,
2953
+ Ia as b,
2969
2954
  ha as c,
2970
2955
  Ta as d,
2971
- pa as i,
2972
- Ia as l,
2973
- ya as m,
2974
- Oa as s,
2975
- vt as u
2956
+ ga as i,
2957
+ Oa as l,
2958
+ Ca as m,
2959
+ ba as s,
2960
+ Dt as u
2976
2961
  };
2977
- //# sourceMappingURL=mitt-CzL6QOyp.js.map
2962
+ //# sourceMappingURL=mitt-QLRlCcPH.js.map