lty-protocol 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import * as vt from "vue";
2
- import { defineComponent as pe, openBlock as xe, createElementBlock as He, renderSlot as Bn, inject as jn, h as Ht, Fragment as Yt, renderList as Pr, toDisplayString as Dr, createVNode as Xn, unref as kr, effectScope as Rr, computed as We, watch as Pt, isRef as Mr, ref as Fr, shallowRef as Ur, onMounted as wr, onUnmounted as Vr, Text as $r, createApp as Wr } from "vue";
1
+ import * as Ct from "vue";
2
+ import { defineComponent as pe, openBlock as xe, createElementBlock as He, renderSlot as Bn, inject as jn, h as Ye, ref as Xn, Fragment as Yt, renderList as Dr, toDisplayString as kr, createVNode as Jn, unref as Rr, effectScope as Mr, computed as We, watch as Dt, isRef as Fr, shallowRef as Ur, onMounted as wr, onUnmounted as Vr, Text as $r, createApp as Wr } from "vue";
3
3
  const Gr = /* @__PURE__ */ pe({
4
4
  name: "MyButton",
5
5
  __name: "MyButton",
@@ -15,12 +15,12 @@ const Gr = /* @__PURE__ */ pe({
15
15
  Bn(s.$slots, "default", {}, void 0, !0)
16
16
  ]));
17
17
  }
18
- }), Jn = (e, t) => {
18
+ }), Qn = (e, t) => {
19
19
  const n = e.__vccOpts || e;
20
20
  for (const [r, s] of t)
21
21
  n[r] = s;
22
22
  return n;
23
- }, xr = /* @__PURE__ */ Jn(Gr, [["__scopeId", "data-v-c654f959"]]), Hr = /* @__PURE__ */ pe({
23
+ }, xr = /* @__PURE__ */ Qn(Gr, [["__scopeId", "data-v-c654f959"]]), Hr = /* @__PURE__ */ pe({
24
24
  name: "MyButton",
25
25
  __name: "button2",
26
26
  emits: ["click"],
@@ -35,7 +35,7 @@ const Gr = /* @__PURE__ */ pe({
35
35
  Bn(s.$slots, "default", {}, void 0, !0)
36
36
  ]));
37
37
  }
38
- }), Yr = /* @__PURE__ */ Jn(Hr, [["__scopeId", "data-v-1477cfc3"]]), ci = pe({
38
+ }), Yr = /* @__PURE__ */ Qn(Hr, [["__scopeId", "data-v-1477cfc3"]]), Kr = pe({
39
39
  name: "MyInput",
40
40
  props: {
41
41
  modelValue: String
@@ -43,13 +43,33 @@ const Gr = /* @__PURE__ */ pe({
43
43
  emits: ["update:modelValue"],
44
44
  setup(e, { emit: t }) {
45
45
  const n = jn("UIComponents").Input;
46
- return n ? () => Ht(n, {
46
+ return n ? () => Ye(n, {
47
47
  modelValue: e.modelValue,
48
48
  "onUpdate:modelValue": (r) => t("update:modelValue", r)
49
49
  }) : null;
50
50
  }
51
+ }), ui = pe({
52
+ name: "IpInput",
53
+ props: { modelValue: String },
54
+ emits: ["update:modelValue"],
55
+ setup(e, { emit: t }) {
56
+ const n = Xn((e.modelValue || "0.0.0.0").split(".")), r = (s, a) => {
57
+ n.value[s] = a, t("update:modelValue", n.value.join("."));
58
+ };
59
+ return () => Ye(
60
+ "div",
61
+ { style: { display: "flex", gap: "4px" } },
62
+ n.value.map(
63
+ (s, a) => Ye(Kr, {
64
+ key: a,
65
+ modelValue: s,
66
+ "onUpdate:modelValue": (o) => r(a, o)
67
+ })
68
+ )
69
+ );
70
+ }
51
71
  });
52
- function ui(e, t) {
72
+ function fi(e, t) {
53
73
  e.provide("UIComponents", t);
54
74
  }
55
75
  class re {
@@ -69,7 +89,7 @@ class re {
69
89
  return n.fromPlain(t);
70
90
  }
71
91
  }
72
- class Kr {
92
+ class Br {
73
93
  static getDefaultConfig(t) {
74
94
  console.log(1231231, t);
75
95
  const n = t.baseInfo, r = t.configuration, s = t.tab;
@@ -80,30 +100,30 @@ class Kr {
80
100
  };
81
101
  }
82
102
  }
83
- const Br = "Ethernet", jr = [{ key: "name", name: { i18nKey: "name" }, defaultValue: "Ethernet" }, { key: "supplier", name: { i18nKey: "supplier" }, defaultValue: { i18nKey: "company" } }, { key: "version", name: { i18nKey: "verison" }, defaultValue: "1.0.0.0" }, { key: "description", name: { i18nKey: "description" }, defaultValue: { i18nKey: "descriptionMap.ethernet" } }, { key: "category", name: { i18nKey: "category" }, defaultValue: { i18nKey: "ethernet" } }], Xr = [{ name: { i18nKey: "general" }, key: "general" }, { name: { i18nKey: "ioMapping" }, key: "ioMapping" }], Jr = { general: [{ key: "netInterface", name: { i18nKey: "netInterface" }, dataType: "string", componentType: "strInput", defaultValue: "" }, { key: "ipAddress", name: { i18nKey: "ipAddress" }, dataType: "string", componentType: "ipInput", defaultValue: "192.168.1.1" }, { key: "subnetMask", name: { i18nKey: "subnetMask" }, dataType: "string", componentType: "ipInput", defaultValue: "255.255.255.0" }, { key: "defaultGateway", name: { i18nKey: "defaultGateway" }, dataType: "string", componentType: "ipInput", defaultValue: "0.0.0.0" }, { key: "adaptedOSConfiguration", name: { i18nKey: "adaptedOSConfiguration" }, dataType: "boolean", componentType: "switch", defaultValue: !1 }], ioMapping: [{ key: "busCycleTask", name: { i18nKey: "busCycleTask" }, dataType: "string", componentType: "select", defaultValue: "-1" }] }, Qr = {
84
- type: Br,
85
- baseInfo: jr,
86
- tab: Xr,
87
- configuration: Jr
103
+ const jr = "Ethernet", Xr = [{ key: "name", name: { i18nKey: "name" }, defaultValue: "Ethernet" }, { key: "supplier", name: { i18nKey: "supplier" }, defaultValue: { i18nKey: "company" } }, { key: "version", name: { i18nKey: "verison" }, defaultValue: "1.0.0.0" }, { key: "description", name: { i18nKey: "description" }, defaultValue: { i18nKey: "descriptionMap.ethernet" } }, { key: "category", name: { i18nKey: "category" }, defaultValue: { i18nKey: "ethernet" } }], Jr = [{ name: { i18nKey: "general" }, key: "general" }, { name: { i18nKey: "ioMapping" }, key: "ioMapping" }], Qr = { general: [{ key: "netInterface", name: { i18nKey: "netInterface" }, dataType: "string", componentType: "strInput", defaultValue: "" }, { key: "ipAddress", name: { i18nKey: "ipAddress" }, dataType: "string", componentType: "ipInput", defaultValue: "192.168.1.1" }, { key: "subnetMask", name: { i18nKey: "subnetMask" }, dataType: "string", componentType: "ipInput", defaultValue: "255.255.255.0" }, { key: "defaultGateway", name: { i18nKey: "defaultGateway" }, dataType: "string", componentType: "ipInput", defaultValue: "0.0.0.0" }, { key: "adaptedOSConfiguration", name: { i18nKey: "adaptedOSConfiguration" }, dataType: "boolean", componentType: "switch", defaultValue: !1 }], ioMapping: [{ key: "busCycleTask", name: { i18nKey: "busCycleTask" }, dataType: "string", componentType: "select", defaultValue: "-1" }] }, qr = {
104
+ type: jr,
105
+ baseInfo: Xr,
106
+ tab: Jr,
107
+ configuration: Qr
88
108
  };
89
- class st extends re {
109
+ class at extends re {
90
110
  type = Ee.ETHERNET;
91
- moduleType = at[Ee.ETHERNET];
111
+ moduleType = ot[Ee.ETHERNET];
92
112
  baseInfo;
93
113
  config;
94
114
  tab;
95
115
  constructor(t) {
96
116
  super(t);
97
- const { baseInfo: n, config: r, tab: s } = Kr.getDefaultConfig(Qr);
117
+ const { baseInfo: n, config: r, tab: s } = Br.getDefaultConfig(qr);
98
118
  this.baseInfo = n, this.config = r, this.tab = s;
99
119
  }
100
120
  static fromPlain(t) {
101
- return new st(t);
121
+ return new at(t);
102
122
  }
103
123
  }
104
124
  class Kt extends re {
105
125
  type = Ee.MODBUS_TCP_SERVER;
106
- moduleType = at[Ee.MODBUS_TCP_SERVER];
126
+ moduleType = ot[Ee.MODBUS_TCP_SERVER];
107
127
  constructor(t) {
108
128
  super(t);
109
129
  }
@@ -113,7 +133,7 @@ class Kt extends re {
113
133
  }
114
134
  class Bt extends re {
115
135
  type = Ee.MODBUS_TCP_CLIENT;
116
- moduleType = at[Ee.MODBUS_TCP_CLIENT];
136
+ moduleType = ot[Ee.MODBUS_TCP_CLIENT];
117
137
  constructor(t) {
118
138
  super(t);
119
139
  }
@@ -123,7 +143,7 @@ class Bt extends re {
123
143
  }
124
144
  class jt extends re {
125
145
  type = Ee.MODBUS_TCP_SLAVE_DEVICE;
126
- moduleType = at[Ee.MODBUS_TCP_SLAVE_DEVICE];
146
+ moduleType = ot[Ee.MODBUS_TCP_SLAVE_DEVICE];
127
147
  constructor(t) {
128
148
  super(t);
129
149
  }
@@ -132,7 +152,7 @@ class jt extends re {
132
152
  }
133
153
  }
134
154
  var Ee = /* @__PURE__ */ ((e) => (e.ETHERNET = "Ethernet", e.MODBUS_TCP_SERVER = "ModbusTCPServer", e.MODBUS_TCP_CLIENT = "ModbusTCPClient", e.MODBUS_TCP_SLAVE_DEVICE = "ModbusTCPSlaveDevice", e.MODBUS_SERIAL_PORT = "ModbusSerialPort", e.MODBUS_MASTER = "ModbusMaster", e.MODBUS_SLAVE = "ModbusSlave", e.MODBUS_SERIAL = "ModbusSerial", e.OPCUA_SERVER = "OPCUAServer", e.ETHER_CAT_MASTER = "EtherCatMaster", e.ETHER_CAT_SLAVE = "EtherCatSlave", e.ETHER_CAT_MODULE = "EtherCatModule", e))(Ee || {});
135
- const at = {
155
+ const ot = {
136
156
  Pprogrammable: 4096,
137
157
  // 根节点
138
158
  Protgrammable_Safety: 4098,
@@ -186,10 +206,10 @@ const at = {
186
206
  EtherCatModule: 16384
187
207
  // Ethercat子模块
188
208
  };
189
- class qr {
209
+ class Zr {
190
210
  map = /* @__PURE__ */ new Map();
191
211
  constructor() {
192
- re.register("Ethernet", st), re.register("ModbusTCPServer", Kt), re.register("ModbusTCPClient", Bt), re.register("ModbusTCPSlaveDevice", jt);
212
+ re.register("Ethernet", at), re.register("ModbusTCPServer", Kt), re.register("ModbusTCPClient", Bt), re.register("ModbusTCPSlaveDevice", jt);
193
213
  }
194
214
  init(t) {
195
215
  this.clear(), t.forEach((n) => {
@@ -216,27 +236,27 @@ class qr {
216
236
  this.map.clear();
217
237
  }
218
238
  }
219
- const Zr = /* @__PURE__ */ pe({
239
+ const zr = /* @__PURE__ */ pe({
220
240
  __name: "Ethernet",
221
241
  props: {
222
242
  config: {}
223
243
  },
224
244
  setup(e) {
225
- return (t, n) => (xe(!0), He(Yt, null, Pr(e.config.tab, (r) => (xe(), He("div", {
245
+ return (t, n) => (xe(!0), He(Yt, null, Dr(e.config.tab, (r) => (xe(), He("div", {
226
246
  key: r.key
227
- }, Dr(t.$t(r.name.i18nKey)), 1))), 128));
247
+ }, kr(t.$t(r.name.i18nKey)), 1))), 128));
228
248
  }
229
- }), zr = /* @__PURE__ */ pe({
249
+ }), es = /* @__PURE__ */ pe({
230
250
  __name: "App",
231
251
  setup(e) {
232
- new qr();
233
- const t = new st({
252
+ new Zr();
253
+ const t = new at({
234
254
  id: 1,
235
255
  deviceId: 1,
236
256
  type: "Ethernet"
237
257
  });
238
258
  return (n, r) => (xe(), He("div", null, [
239
- Xn(Zr, { config: kr(t) }, null, 8, ["config"])
259
+ Jn(zr, { config: Rr(t) }, null, 8, ["config"])
240
260
  ]));
241
261
  }
242
262
  });
@@ -258,20 +278,20 @@ if (process.env.NODE_ENV !== "production") {
258
278
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
259
279
  });
260
280
  }
261
- const es = /\{([0-9a-zA-Z]+)\}/g;
262
- function ot(e, ...t) {
263
- return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(es, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
281
+ const ts = /\{([0-9a-zA-Z]+)\}/g;
282
+ function lt(e, ...t) {
283
+ return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ts, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
264
284
  }
265
- const fe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ts = (e, t, n) => ns({ l: e, k: t, s: n }), ns = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), rs = (e) => Jt(e) === "[object Date]", ke = (e) => Jt(e) === "[object RegExp]", lt = (e) => R(e) && Object.keys(e).length === 0, J = Object.assign, ss = Object.create, $ = (e = null) => ss(e);
285
+ const fe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ns = (e, t, n) => rs({ l: e, k: t, s: n }), rs = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), ss = (e) => Jt(e) === "[object Date]", ke = (e) => Jt(e) === "[object RegExp]", it = (e) => R(e) && Object.keys(e).length === 0, J = Object.assign, as = Object.create, $ = (e = null) => as(e);
266
286
  let fn;
267
- const Ie = () => fn || (fn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
287
+ const Le = () => fn || (fn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
268
288
  function _n(e) {
269
289
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
270
290
  }
271
291
  function mn(e) {
272
292
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
273
293
  }
274
- function as(e) {
294
+ function os(e) {
275
295
  return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, a) => `${s}="${mn(a)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, a) => `${s}='${mn(a)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && ue("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
276
296
  // In href, src, action, formaction attributes
277
297
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
@@ -281,16 +301,16 @@ function as(e) {
281
301
  e = e.replace(r, "$1javascript&#58;");
282
302
  }), e;
283
303
  }
284
- const os = Object.prototype.hasOwnProperty;
304
+ const ls = Object.prototype.hasOwnProperty;
285
305
  function oe(e, t) {
286
- return os.call(e, t);
306
+ return ls.call(e, t);
287
307
  }
288
- const H = Array.isArray, W = (e) => typeof e == "function", I = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", ls = (e) => M(e) && W(e.then) && W(e.catch), Qn = Object.prototype.toString, Jt = (e) => Qn.call(e), R = (e) => Jt(e) === "[object Object]", is = (e) => e == null ? "" : H(e) || R(e) && e.toString === Qn ? JSON.stringify(e, null, 2) : String(e);
308
+ const H = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", is = (e) => M(e) && W(e.then) && W(e.catch), qn = Object.prototype.toString, Jt = (e) => qn.call(e), R = (e) => Jt(e) === "[object Object]", cs = (e) => e == null ? "" : H(e) || R(e) && e.toString === qn ? JSON.stringify(e, null, 2) : String(e);
289
309
  function Qt(e, t = "") {
290
310
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
291
311
  }
292
312
  const dn = 2;
293
- function cs(e, t = 0, n = e.length) {
313
+ function us(e, t = 0, n = e.length) {
294
314
  const r = e.split(/\r?\n/);
295
315
  let s = 0;
296
316
  const a = [];
@@ -303,12 +323,12 @@ function cs(e, t = 0, n = e.length) {
303
323
  a.push(`${u}${" ".repeat(3 - String(u).length)}| ${r[i]}`);
304
324
  const E = r[i].length;
305
325
  if (i === o) {
306
- const L = t - (s - E) + 1, b = Math.max(1, n > s ? E - L : n - t);
307
- a.push(" | " + " ".repeat(L) + "^".repeat(b));
326
+ const I = t - (s - E) + 1, b = Math.max(1, n > s ? E - I : n - t);
327
+ a.push(" | " + " ".repeat(I) + "^".repeat(b));
308
328
  } else if (i > o) {
309
329
  if (n > s) {
310
- const L = Math.max(Math.min(n - s, E), 1);
311
- a.push(" | " + "^".repeat(L));
330
+ const I = Math.max(Math.min(n - s, E), 1);
331
+ a.push(" | " + "^".repeat(I));
312
332
  }
313
333
  s += E + 1;
314
334
  }
@@ -335,22 +355,22 @@ function qt() {
335
355
  }
336
356
  };
337
357
  }
338
- const ze = (e) => !M(e) || H(e);
339
- function nt(e, t) {
340
- if (ze(e) || ze(t))
358
+ const et = (e) => !M(e) || H(e);
359
+ function rt(e, t) {
360
+ if (et(e) || et(t))
341
361
  throw new Error("Invalid value");
342
362
  const n = [{ src: e, des: t }];
343
363
  for (; n.length; ) {
344
364
  const { src: r, des: s } = n.pop();
345
365
  Object.keys(r).forEach((a) => {
346
- a !== "__proto__" && (M(r[a]) && !M(s[a]) && (s[a] = Array.isArray(r[a]) ? [] : $()), ze(s[a]) || ze(r[a]) ? s[a] = r[a] : n.push({ src: r[a], des: s[a] }));
366
+ a !== "__proto__" && (M(r[a]) && !M(s[a]) && (s[a] = Array.isArray(r[a]) ? [] : $()), et(s[a]) || et(r[a]) ? s[a] = r[a] : n.push({ src: r[a], des: s[a] }));
347
367
  });
348
368
  }
349
369
  }
350
- function us(e, t, n) {
370
+ function fs(e, t, n) {
351
371
  return { line: e, column: t, offset: n };
352
372
  }
353
- function Dt(e, t, n) {
373
+ function kt(e, t, n) {
354
374
  return { start: e, end: t };
355
375
  }
356
376
  const P = {
@@ -374,7 +394,7 @@ const P = {
374
394
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
375
395
  // minifier error codes
376
396
  UNHANDLED_MINIFIER_NODE_TYPE: 16
377
- }, fs = 17, _s = {
397
+ }, _s = 17, ms = {
378
398
  // tokenizer error messages
379
399
  [P.EXPECTED_TOKEN]: "Expected token: '{0}'",
380
400
  [P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -397,20 +417,20 @@ const P = {
397
417
  [P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
398
418
  };
399
419
  function Fe(e, t, n = {}) {
400
- const { domain: r, messages: s, args: a } = n, o = process.env.NODE_ENV !== "production" ? ot((s || _s)[e] || "", ...a || []) : e, i = new SyntaxError(String(o));
420
+ const { domain: r, messages: s, args: a } = n, o = process.env.NODE_ENV !== "production" ? lt((s || ms)[e] || "", ...a || []) : e, i = new SyntaxError(String(o));
401
421
  return i.code = e, t && (i.location = t), i.domain = r, i;
402
422
  }
403
- function ms(e) {
423
+ function ds(e) {
404
424
  throw e;
405
425
  }
406
- const ds = /<\/?[\w\s="/.':;#-\/]+>/, Es = (e) => ds.test(e), ie = " ", ps = "\r", Q = `
407
- `, gs = "\u2028", Ns = "\u2029";
408
- function Ts(e) {
426
+ const Es = /<\/?[\w\s="/.':;#-\/]+>/, ps = (e) => Es.test(e), ie = " ", gs = "\r", Q = `
427
+ `, Ns = "\u2028", Ts = "\u2029";
428
+ function bs(e) {
409
429
  const t = e;
410
430
  let n = 0, r = 1, s = 1, a = 0;
411
- const o = (p) => t[p] === ps && t[p + 1] === Q, i = (p) => t[p] === Q, u = (p) => t[p] === Ns, E = (p) => t[p] === gs, L = (p) => o(p) || i(p) || u(p) || E(p), b = () => n, N = () => r, A = () => s, D = () => a, C = (p) => o(p) || u(p) || E(p) ? Q : t[p], S = () => C(n), f = () => C(n + a);
431
+ const o = (p) => t[p] === gs && t[p + 1] === Q, i = (p) => t[p] === Q, u = (p) => t[p] === Ts, E = (p) => t[p] === Ns, I = (p) => o(p) || i(p) || u(p) || E(p), b = () => n, N = () => r, A = () => s, D = () => a, C = (p) => o(p) || u(p) || E(p) ? Q : t[p], S = () => C(n), f = () => C(n + a);
412
432
  function m() {
413
- return a = 0, L(n) && (r++, s = 0), o(n) && n++, n++, s++, t[n];
433
+ return a = 0, I(n) && (r++, s = 0), o(n) && n++, n++, s++, t[n];
414
434
  }
415
435
  function h() {
416
436
  return o(n + a) && a++, a++, t[n + a];
@@ -442,9 +462,9 @@ function Ts(e) {
442
462
  skipToPeek: v
443
463
  };
444
464
  }
445
- const me = void 0, bs = ".", En = "'", hs = "tokenizer";
465
+ const me = void 0, hs = ".", En = "'", Is = "tokenizer";
446
466
  function Ls(e, t = {}) {
447
- const n = t.location !== !1, r = Ts(e), s = () => r.index(), a = () => us(r.line(), r.column(), r.index()), o = a(), i = s(), u = {
467
+ const n = t.location !== !1, r = bs(e), s = () => r.index(), a = () => fs(r.line(), r.column(), r.index()), o = a(), i = s(), u = {
448
468
  currentType: 13,
449
469
  offset: i,
450
470
  startLoc: o,
@@ -456,21 +476,21 @@ function Ls(e, t = {}) {
456
476
  braceNest: 0,
457
477
  inLinked: !1,
458
478
  text: ""
459
- }, E = () => u, { onError: L } = t;
479
+ }, E = () => u, { onError: I } = t;
460
480
  function b(l, c, g, ...y) {
461
481
  const x = E();
462
- if (c.column += g, c.offset += g, L) {
463
- const K = n ? Dt(x.startLoc, c) : null, U = Fe(l, K, {
464
- domain: hs,
482
+ if (c.column += g, c.offset += g, I) {
483
+ const K = n ? kt(x.startLoc, c) : null, U = Fe(l, K, {
484
+ domain: Is,
465
485
  args: y
466
486
  });
467
- L(U);
487
+ I(U);
468
488
  }
469
489
  }
470
490
  function N(l, c, g) {
471
491
  l.endLoc = a(), l.currentType = c;
472
492
  const y = { type: c };
473
- return n && (y.loc = Dt(l.startLoc, l.endLoc)), g != null && (y.value = g), y;
493
+ return n && (y.loc = kt(l.startLoc, l.endLoc)), g != null && (y.value = g), y;
474
494
  }
475
495
  const A = (l) => N(
476
496
  l,
@@ -586,10 +606,10 @@ function Ls(e, t = {}) {
586
606
  c === 95 || // _
587
607
  c === 36;
588
608
  }
589
- function ut(l) {
609
+ function ft(l) {
590
610
  return Y(l, Ae);
591
611
  }
592
- function ft(l) {
612
+ function _t(l) {
593
613
  const c = l.charCodeAt(0);
594
614
  return c >= 97 && c <= 122 || // a-z
595
615
  c >= 65 && c <= 90 || // A-Z
@@ -598,32 +618,32 @@ function Ls(e, t = {}) {
598
618
  c === 36 || // $
599
619
  c === 45;
600
620
  }
601
- function _t(l) {
602
- return Y(l, ft);
603
- }
604
621
  function mt(l) {
605
- const c = l.charCodeAt(0);
606
- return c >= 48 && c <= 57;
622
+ return Y(l, _t);
607
623
  }
608
624
  function dt(l) {
609
- return Y(l, mt);
625
+ const c = l.charCodeAt(0);
626
+ return c >= 48 && c <= 57;
610
627
  }
611
628
  function Et(l) {
629
+ return Y(l, dt);
630
+ }
631
+ function pt(l) {
612
632
  const c = l.charCodeAt(0);
613
633
  return c >= 48 && c <= 57 || // 0-9
614
634
  c >= 65 && c <= 70 || // A-F
615
635
  c >= 97 && c <= 102;
616
636
  }
617
637
  function _e(l) {
618
- return Y(l, Et);
638
+ return Y(l, pt);
619
639
  }
620
640
  function Ue(l) {
621
641
  let c = "", g = "";
622
- for (; c = dt(l); )
642
+ for (; c = Et(l); )
623
643
  g += c;
624
644
  return g;
625
645
  }
626
- function pt(l) {
646
+ function gt(l) {
627
647
  let c = "";
628
648
  for (; ; ) {
629
649
  const g = l.currentChar();
@@ -642,49 +662,49 @@ function Ls(e, t = {}) {
642
662
  }
643
663
  return c;
644
664
  }
645
- function gt(l) {
665
+ function Nt(l) {
646
666
  S(l);
647
667
  let c = "", g = "";
648
- for (; c = _t(l); )
668
+ for (; c = mt(l); )
649
669
  g += c;
650
670
  const y = l.currentChar();
651
671
  if (y && y !== "}" && y !== me && y !== ie && y !== Q && y !== " ") {
652
- const x = qe(l);
672
+ const x = Ze(l);
653
673
  return b(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g + x), g + x;
654
674
  }
655
675
  return l.currentChar() === me && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
656
676
  }
657
- function Nt(l) {
677
+ function Tt(l) {
658
678
  S(l);
659
679
  let c = "";
660
680
  return l.currentChar() === "-" ? (l.next(), c += `-${Ue(l)}`) : c += Ue(l), l.currentChar() === me && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c;
661
681
  }
662
- function Tt(l) {
682
+ function bt(l) {
663
683
  return l !== En && l !== Q;
664
684
  }
665
685
  function ln(l) {
666
686
  S(l), D(l, "'");
667
687
  let c = "", g = "";
668
- for (; c = Y(l, Tt); )
669
- c === "\\" ? g += bt(l) : g += c;
688
+ for (; c = Y(l, bt); )
689
+ c === "\\" ? g += ht(l) : g += c;
670
690
  const y = l.currentChar();
671
691
  return y === Q || y === me ? (b(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), y === Q && (l.next(), D(l, "'")), g) : (D(l, "'"), g);
672
692
  }
673
- function bt(l) {
693
+ function ht(l) {
674
694
  const c = l.currentChar();
675
695
  switch (c) {
676
696
  case "\\":
677
697
  case "'":
678
698
  return l.next(), `\\${c}`;
679
699
  case "u":
680
- return Qe(l, c, 4);
700
+ return qe(l, c, 4);
681
701
  case "U":
682
- return Qe(l, c, 6);
702
+ return qe(l, c, 6);
683
703
  default:
684
704
  return b(P.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, c), "";
685
705
  }
686
706
  }
687
- function Qe(l, c, g) {
707
+ function qe(l, c, g) {
688
708
  D(l, c);
689
709
  let y = "";
690
710
  for (let x = 0; x < g; x++) {
@@ -697,23 +717,23 @@ function Ls(e, t = {}) {
697
717
  }
698
718
  return `\\${c}${y}`;
699
719
  }
700
- function ht(l) {
720
+ function It(l) {
701
721
  return l !== "{" && l !== "}" && l !== ie && l !== Q;
702
722
  }
703
- function qe(l) {
723
+ function Ze(l) {
704
724
  S(l);
705
725
  let c = "", g = "";
706
- for (; c = Y(l, ht); )
726
+ for (; c = Y(l, It); )
707
727
  g += c;
708
728
  return g;
709
729
  }
710
730
  function Lt(l) {
711
731
  let c = "", g = "";
712
- for (; c = ut(l); )
732
+ for (; c = ft(l); )
713
733
  g += c;
714
734
  return g;
715
735
  }
716
- function It(l) {
736
+ function Ot(l) {
717
737
  const c = (g) => {
718
738
  const y = l.currentChar();
719
739
  return y === "{" || y === "@" || y === "|" || y === "(" || y === ")" || !y || y === ie ? g : (g += y, l.next(), c(g));
@@ -755,13 +775,13 @@ function Ls(e, t = {}) {
755
775
  if (c.braceNest > 0 && (c.currentType === 4 || c.currentType === 5 || c.currentType === 6))
756
776
  return b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c.braceNest = 0, $e(l, c);
757
777
  if (x = h(l, c))
758
- return g = N(c, 4, gt(l)), S(l), g;
778
+ return g = N(c, 4, Nt(l)), S(l), g;
759
779
  if (K = d(l, c))
760
- return g = N(c, 5, Nt(l)), S(l), g;
780
+ return g = N(c, 5, Tt(l)), S(l), g;
761
781
  if (U = O(l, c))
762
782
  return g = N(c, 6, ln(l)), S(l), g;
763
783
  if (!x && !K && !U)
764
- return g = N(c, 12, qe(l)), b(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), S(l), g;
784
+ return g = N(c, 12, Ze(l)), b(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), S(l), g;
765
785
  break;
766
786
  }
767
787
  }
@@ -794,7 +814,7 @@ function Ls(e, t = {}) {
794
814
  /* TokenChars.LinkedDelimiter */
795
815
  );
796
816
  default:
797
- return X(l) ? (y = N(c, 1, we(l)), c.braceNest = 0, c.inLinked = !1, y) : v(l, c) || k(l, c) ? (S(l), Te(l, c)) : p(l, c) ? (S(l), N(c, 11, Lt(l))) : w(l, c) ? (S(l), x === "{" ? Ve(l, c) || y : N(c, 10, It(l))) : (g === 7 && b(P.INVALID_LINKED_FORMAT, a(), 0), c.braceNest = 0, c.inLinked = !1, $e(l, c));
817
+ return X(l) ? (y = N(c, 1, we(l)), c.braceNest = 0, c.inLinked = !1, y) : v(l, c) || k(l, c) ? (S(l), Te(l, c)) : p(l, c) ? (S(l), N(c, 11, Lt(l))) : w(l, c) ? (S(l), x === "{" ? Ve(l, c) || y : N(c, 10, Ot(l))) : (g === 7 && b(P.INVALID_LINKED_FORMAT, a(), 0), c.braceNest = 0, c.inLinked = !1, $e(l, c));
798
818
  }
799
819
  }
800
820
  function $e(l, c) {
@@ -822,13 +842,13 @@ function Ls(e, t = {}) {
822
842
  if (X(l))
823
843
  return g = N(c, 1, we(l)), c.braceNest = 0, c.inLinked = !1, g;
824
844
  if (ae(l))
825
- return N(c, 0, pt(l));
845
+ return N(c, 0, gt(l));
826
846
  break;
827
847
  }
828
848
  }
829
849
  return g;
830
850
  }
831
- function Ot() {
851
+ function vt() {
832
852
  const { currentType: l, offset: c, startLoc: g, endLoc: y } = u;
833
853
  return u.lastType = l, u.lastOffset = c, u.lastStartLoc = g, u.lastEndLoc = y, u.offset = s(), u.startLoc = a(), r.currentChar() === me ? N(
834
854
  u,
@@ -837,14 +857,14 @@ function Ls(e, t = {}) {
837
857
  ) : $e(r, u);
838
858
  }
839
859
  return {
840
- nextToken: Ot,
860
+ nextToken: vt,
841
861
  currentOffset: s,
842
862
  currentPosition: a,
843
863
  context: E
844
864
  };
845
865
  }
846
- const Is = "parser", Os = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
847
- function vs(e, t, n) {
866
+ const Os = "parser", vs = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
867
+ function Cs(e, t, n) {
848
868
  switch (e) {
849
869
  case "\\\\":
850
870
  return "\\";
@@ -857,13 +877,13 @@ function vs(e, t, n) {
857
877
  }
858
878
  }
859
879
  }
860
- function Cs(e = {}) {
880
+ function As(e = {}) {
861
881
  const t = e.location !== !1, { onError: n } = e;
862
882
  function r(f, m, h, d, ...O) {
863
883
  const v = f.currentPosition();
864
884
  if (v.offset += d, v.column += d, n) {
865
- const p = t ? Dt(h, v) : null, k = Fe(m, p, {
866
- domain: Is,
885
+ const p = t ? kt(h, v) : null, k = Fe(m, p, {
886
+ domain: Os,
867
887
  args: O
868
888
  });
869
889
  n(k);
@@ -890,9 +910,9 @@ function Cs(e = {}) {
890
910
  }
891
911
  function E(f, m) {
892
912
  const h = f.context(), { lastOffset: d, lastStartLoc: O } = h, v = s(9, d, O);
893
- return v.value = m.replace(Os, vs), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
913
+ return v.value = m.replace(vs, Cs), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
894
914
  }
895
- function L(f) {
915
+ function I(f) {
896
916
  const m = f.nextToken(), h = f.context(), { lastOffset: d, lastStartLoc: O } = h, v = s(8, d, O);
897
917
  return m.type !== 11 ? (r(f, P.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), v.value = "", a(v, d, O), {
898
918
  nextConsumeToken: m,
@@ -909,7 +929,7 @@ function Cs(e = {}) {
909
929
  const m = f.context(), h = s(6, m.offset, m.startLoc);
910
930
  let d = f.nextToken();
911
931
  if (d.type === 8) {
912
- const O = L(f);
932
+ const O = I(f);
913
933
  h.modifier = O.node, d = O.nextConsumeToken || f.nextToken();
914
934
  }
915
935
  switch (d.type !== 9 && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(d)), d = f.nextToken(), d.type === 2 && (d = f.nextToken()), d.type) {
@@ -994,7 +1014,7 @@ function ce(e) {
994
1014
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
995
1015
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
996
1016
  }
997
- function As(e, t = {}) {
1017
+ function Ss(e, t = {}) {
998
1018
  const n = {
999
1019
  ast: e,
1000
1020
  helpers: /* @__PURE__ */ new Set()
@@ -1046,8 +1066,8 @@ function Zt(e, t) {
1046
1066
  break;
1047
1067
  }
1048
1068
  }
1049
- function Ss(e, t = {}) {
1050
- const n = As(e);
1069
+ function ys(e, t = {}) {
1070
+ const n = Ss(e);
1051
1071
  n.helper(
1052
1072
  "normalize"
1053
1073
  /* HelperNameMap.NORMALIZE */
@@ -1055,7 +1075,7 @@ function Ss(e, t = {}) {
1055
1075
  const r = n.context();
1056
1076
  e.helpers = Array.from(r.helpers);
1057
1077
  }
1058
- function ys(e) {
1078
+ function Ps(e) {
1059
1079
  const t = e.body;
1060
1080
  return t.type === 2 ? gn(t) : t.cases.forEach((n) => gn(n)), e;
1061
1081
  }
@@ -1080,7 +1100,7 @@ function gn(e) {
1080
1100
  }
1081
1101
  }
1082
1102
  }
1083
- const Ps = "minifier";
1103
+ const Ds = "minifier";
1084
1104
  function Pe(e) {
1085
1105
  switch (e.t = e.type, e.type) {
1086
1106
  case 0: {
@@ -1128,14 +1148,14 @@ function Pe(e) {
1128
1148
  default:
1129
1149
  if (process.env.NODE_ENV !== "production")
1130
1150
  throw Fe(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1131
- domain: Ps,
1151
+ domain: Ds,
1132
1152
  args: [e.type]
1133
1153
  });
1134
1154
  }
1135
1155
  delete e.type;
1136
1156
  }
1137
- const Ds = "parser";
1138
- function ks(e, t) {
1157
+ const ks = "parser";
1158
+ function Rs(e, t) {
1139
1159
  const { filename: n, breakLineCode: r, needIndent: s } = t, a = t.location !== !1, o = {
1140
1160
  filename: n,
1141
1161
  code: "",
@@ -1156,7 +1176,7 @@ function ks(e, t) {
1156
1176
  const f = S ? r : "";
1157
1177
  u(s ? f + " ".repeat(C) : f);
1158
1178
  }
1159
- function L(C = !0) {
1179
+ function I(C = !0) {
1160
1180
  const S = ++o.indentLevel;
1161
1181
  C && E(S);
1162
1182
  }
@@ -1170,21 +1190,21 @@ function ks(e, t) {
1170
1190
  return {
1171
1191
  context: i,
1172
1192
  push: u,
1173
- indent: L,
1193
+ indent: I,
1174
1194
  deindent: b,
1175
1195
  newline: N,
1176
1196
  helper: (C) => `_${C}`,
1177
1197
  needIndent: () => o.needIndent
1178
1198
  };
1179
1199
  }
1180
- function Rs(e, t) {
1200
+ function Ms(e, t) {
1181
1201
  const { helper: n } = e;
1182
1202
  e.push(`${n(
1183
1203
  "linked"
1184
1204
  /* HelperNameMap.LINKED */
1185
1205
  )}(`), Re(e, t.key), t.modifier ? (e.push(", "), Re(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1186
1206
  }
1187
- function Ms(e, t) {
1207
+ function Fs(e, t) {
1188
1208
  const { helper: n, needIndent: r } = e;
1189
1209
  e.push(`${n(
1190
1210
  "normalize"
@@ -1195,7 +1215,7 @@ function Ms(e, t) {
1195
1215
  e.push(", ");
1196
1216
  e.deindent(r()), e.push("])");
1197
1217
  }
1198
- function Fs(e, t) {
1218
+ function Us(e, t) {
1199
1219
  const { helper: n, needIndent: r } = e;
1200
1220
  if (t.cases.length > 1) {
1201
1221
  e.push(`${n(
@@ -1208,23 +1228,23 @@ function Fs(e, t) {
1208
1228
  e.deindent(r()), e.push("])");
1209
1229
  }
1210
1230
  }
1211
- function Us(e, t) {
1231
+ function ws(e, t) {
1212
1232
  t.body ? Re(e, t.body) : e.push("null");
1213
1233
  }
1214
1234
  function Re(e, t) {
1215
1235
  const { helper: n } = e;
1216
1236
  switch (t.type) {
1217
1237
  case 0:
1218
- Us(e, t);
1238
+ ws(e, t);
1219
1239
  break;
1220
1240
  case 1:
1221
- Fs(e, t);
1241
+ Us(e, t);
1222
1242
  break;
1223
1243
  case 2:
1224
- Ms(e, t);
1244
+ Fs(e, t);
1225
1245
  break;
1226
1246
  case 6:
1227
- Rs(e, t);
1247
+ Ms(e, t);
1228
1248
  break;
1229
1249
  case 8:
1230
1250
  e.push(JSON.stringify(t.value), t);
@@ -1259,21 +1279,21 @@ function Re(e, t) {
1259
1279
  default:
1260
1280
  if (process.env.NODE_ENV !== "production")
1261
1281
  throw Fe(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1262
- domain: Ds,
1282
+ domain: ks,
1263
1283
  args: [t.type]
1264
1284
  });
1265
1285
  }
1266
1286
  }
1267
- const ws = (e, t = {}) => {
1268
- const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
1287
+ const Vs = (e, t = {}) => {
1288
+ const n = L(t.mode) ? t.mode : "normal", r = L(t.filename) ? t.filename : "message.intl";
1269
1289
  t.sourceMap;
1270
1290
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1271
- `, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = ks(e, {
1291
+ `, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Rs(e, {
1272
1292
  filename: r,
1273
1293
  breakLineCode: s,
1274
1294
  needIndent: a
1275
1295
  });
1276
- i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(a), o.length > 0 && (i.push(`const { ${Qt(o.map((L) => `${L}: _${L}`), ", ")} } = ctx`), i.newline()), i.push("return "), Re(i, e), i.deindent(a), i.push("}"), delete e.helpers;
1296
+ i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(a), o.length > 0 && (i.push(`const { ${Qt(o.map((I) => `${I}: _${I}`), ", ")} } = ctx`), i.newline()), i.push("return "), Re(i, e), i.deindent(a), i.push("}"), delete e.helpers;
1277
1297
  const { code: u, map: E } = i.context();
1278
1298
  return {
1279
1299
  ast: e,
@@ -1282,53 +1302,53 @@ const ws = (e, t = {}) => {
1282
1302
  // eslint-disable-line @typescript-eslint/no-explicit-any
1283
1303
  };
1284
1304
  };
1285
- function Vs(e, t = {}) {
1286
- const n = J({}, t), r = !!n.jit, s = !!n.minify, a = n.optimize == null ? !0 : n.optimize, i = Cs(n).parse(e);
1287
- return r ? (a && ys(i), s && Pe(i), { ast: i, code: "" }) : (Ss(i, n), ws(i, n));
1305
+ function $s(e, t = {}) {
1306
+ const n = J({}, t), r = !!n.jit, s = !!n.minify, a = n.optimize == null ? !0 : n.optimize, i = As(n).parse(e);
1307
+ return r ? (a && Ps(i), s && Pe(i), { ast: i, code: "" }) : (ys(i, n), Vs(i, n));
1288
1308
  }
1289
- function $s() {
1290
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ie().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ie().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1309
+ function Ws() {
1310
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1291
1311
  }
1292
1312
  function se(e) {
1293
1313
  return M(e) && zt(e) === 0 && (oe(e, "b") || oe(e, "body"));
1294
1314
  }
1295
- const qn = ["b", "body"];
1296
- function Ws(e) {
1297
- return ge(e, qn);
1298
- }
1299
- const Zn = ["c", "cases"];
1315
+ const Zn = ["b", "body"];
1300
1316
  function Gs(e) {
1301
- return ge(e, Zn, []);
1317
+ return ge(e, Zn);
1302
1318
  }
1303
- const zn = ["s", "static"];
1319
+ const zn = ["c", "cases"];
1304
1320
  function xs(e) {
1305
- return ge(e, zn);
1321
+ return ge(e, zn, []);
1306
1322
  }
1307
- const er = ["i", "items"];
1323
+ const er = ["s", "static"];
1308
1324
  function Hs(e) {
1309
- return ge(e, er, []);
1325
+ return ge(e, er);
1310
1326
  }
1311
- const tr = ["t", "type"];
1327
+ const tr = ["i", "items"];
1328
+ function Ys(e) {
1329
+ return ge(e, tr, []);
1330
+ }
1331
+ const nr = ["t", "type"];
1312
1332
  function zt(e) {
1313
- return ge(e, tr);
1333
+ return ge(e, nr);
1314
1334
  }
1315
- const nr = ["v", "value"];
1316
- function et(e, t) {
1317
- const n = ge(e, nr);
1335
+ const rr = ["v", "value"];
1336
+ function tt(e, t) {
1337
+ const n = ge(e, rr);
1318
1338
  if (n != null)
1319
1339
  return n;
1320
- throw Ye(t);
1340
+ throw Ke(t);
1321
1341
  }
1322
- const rr = ["m", "modifier"];
1323
- function Ys(e) {
1324
- return ge(e, rr);
1325
- }
1326
- const sr = ["k", "key"];
1342
+ const sr = ["m", "modifier"];
1327
1343
  function Ks(e) {
1328
- const t = ge(e, sr);
1344
+ return ge(e, sr);
1345
+ }
1346
+ const ar = ["k", "key"];
1347
+ function Bs(e) {
1348
+ const t = ge(e, ar);
1329
1349
  if (t)
1330
1350
  return t;
1331
- throw Ye(
1351
+ throw Ke(
1332
1352
  6
1333
1353
  /* NodeTypes.Linked */
1334
1354
  );
@@ -1341,31 +1361,31 @@ function ge(e, t, n) {
1341
1361
  }
1342
1362
  return n;
1343
1363
  }
1344
- const ar = [
1345
- ...qn,
1364
+ const or = [
1346
1365
  ...Zn,
1347
1366
  ...zn,
1348
1367
  ...er,
1368
+ ...tr,
1369
+ ...ar,
1349
1370
  ...sr,
1350
1371
  ...rr,
1351
- ...nr,
1352
- ...tr
1372
+ ...nr
1353
1373
  ];
1354
- function Ye(e) {
1374
+ function Ke(e) {
1355
1375
  return new Error(`unhandled node type: ${e}`);
1356
1376
  }
1357
- function Ct(e) {
1358
- return (n) => Bs(n, e);
1377
+ function At(e) {
1378
+ return (n) => js(n, e);
1359
1379
  }
1360
- function Bs(e, t) {
1361
- const n = Ws(t);
1380
+ function js(e, t) {
1381
+ const n = Gs(t);
1362
1382
  if (n == null)
1363
- throw Ye(
1383
+ throw Ke(
1364
1384
  0
1365
1385
  /* NodeTypes.Resource */
1366
1386
  );
1367
1387
  if (zt(n) === 1) {
1368
- const a = Gs(n);
1388
+ const a = xs(n);
1369
1389
  return e.plural(a.reduce((o, i) => [
1370
1390
  ...o,
1371
1391
  Nn(e, i)
@@ -1374,28 +1394,28 @@ function Bs(e, t) {
1374
1394
  return Nn(e, n);
1375
1395
  }
1376
1396
  function Nn(e, t) {
1377
- const n = xs(t);
1397
+ const n = Hs(t);
1378
1398
  if (n != null)
1379
1399
  return e.type === "text" ? n : e.normalize([n]);
1380
1400
  {
1381
- const r = Hs(t).reduce((s, a) => [...s, kt(e, a)], []);
1401
+ const r = Ys(t).reduce((s, a) => [...s, Rt(e, a)], []);
1382
1402
  return e.normalize(r);
1383
1403
  }
1384
1404
  }
1385
- function kt(e, t) {
1405
+ function Rt(e, t) {
1386
1406
  const n = zt(t);
1387
1407
  switch (n) {
1388
1408
  case 3:
1389
- return et(t, n);
1409
+ return tt(t, n);
1390
1410
  case 9:
1391
- return et(t, n);
1411
+ return tt(t, n);
1392
1412
  case 4: {
1393
1413
  const r = t;
1394
1414
  if (oe(r, "k") && r.k)
1395
1415
  return e.interpolate(e.named(r.k));
1396
1416
  if (oe(r, "key") && r.key)
1397
1417
  return e.interpolate(e.named(r.key));
1398
- throw Ye(n);
1418
+ throw Ke(n);
1399
1419
  }
1400
1420
  case 5: {
1401
1421
  const r = t;
@@ -1403,76 +1423,76 @@ function kt(e, t) {
1403
1423
  return e.interpolate(e.list(r.i));
1404
1424
  if (oe(r, "index") && j(r.index))
1405
1425
  return e.interpolate(e.list(r.index));
1406
- throw Ye(n);
1426
+ throw Ke(n);
1407
1427
  }
1408
1428
  case 6: {
1409
- const r = t, s = Ys(r), a = Ks(r);
1410
- return e.linked(kt(e, a), s ? kt(e, s) : void 0, e.type);
1429
+ const r = t, s = Ks(r), a = Bs(r);
1430
+ return e.linked(Rt(e, a), s ? Rt(e, s) : void 0, e.type);
1411
1431
  }
1412
1432
  case 7:
1413
- return et(t, n);
1433
+ return tt(t, n);
1414
1434
  case 8:
1415
- return et(t, n);
1435
+ return tt(t, n);
1416
1436
  default:
1417
1437
  throw new Error(`unhandled node on format message part: ${n}`);
1418
1438
  }
1419
1439
  }
1420
- const js = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1421
- function Xs(e, t) {
1422
- t && Es(e) && ue(ot(js, { source: e }));
1440
+ const Xs = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1441
+ function Js(e, t) {
1442
+ t && ps(e) && ue(lt(Xs, { source: e }));
1423
1443
  }
1424
- const Js = (e) => e;
1425
- let tt = $();
1426
- function Qs(e, t = {}) {
1444
+ const Qs = (e) => e;
1445
+ let nt = $();
1446
+ function qs(e, t = {}) {
1427
1447
  let n = !1;
1428
- const r = t.onError || ms;
1448
+ const r = t.onError || ds;
1429
1449
  return t.onError = (s) => {
1430
1450
  n = !0, r(s);
1431
- }, { ...Vs(e, t), detectError: n };
1451
+ }, { ...$s(e, t), detectError: n };
1432
1452
  }
1433
1453
  // @__NO_SIDE_EFFECTS__
1434
- function qs(e, t) {
1435
- if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
1454
+ function Zs(e, t) {
1455
+ if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && L(e)) {
1436
1456
  const n = F(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1437
- process.env.NODE_ENV !== "production" && Xs(e, n);
1438
- const s = (t.onCacheKey || Js)(e), a = tt[s];
1457
+ process.env.NODE_ENV !== "production" && Js(e, n);
1458
+ const s = (t.onCacheKey || Qs)(e), a = nt[s];
1439
1459
  if (a)
1440
1460
  return a;
1441
- const { ast: o, detectError: i } = Qs(e, {
1461
+ const { ast: o, detectError: i } = qs(e, {
1442
1462
  ...t,
1443
1463
  location: process.env.NODE_ENV !== "production",
1444
1464
  jit: !0
1445
- }), u = Ct(o);
1446
- return i ? u : tt[s] = u;
1465
+ }), u = At(o);
1466
+ return i ? u : nt[s] = u;
1447
1467
  } else {
1448
1468
  if (process.env.NODE_ENV !== "production" && !se(e))
1449
1469
  return ue(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1450
1470
  const n = e.cacheKey;
1451
1471
  if (n) {
1452
- const r = tt[n];
1453
- return r || (tt[n] = Ct(e));
1472
+ const r = nt[n];
1473
+ return r || (nt[n] = At(e));
1454
1474
  } else
1455
- return Ct(e);
1475
+ return At(e);
1456
1476
  }
1457
1477
  }
1458
- let Ke = null;
1459
- function Zs(e) {
1460
- Ke = e;
1478
+ let Be = null;
1479
+ function zs(e) {
1480
+ Be = e;
1461
1481
  }
1462
- function zs(e, t, n) {
1463
- Ke && Ke.emit("i18n:init", {
1482
+ function ea(e, t, n) {
1483
+ Be && Be.emit("i18n:init", {
1464
1484
  timestamp: Date.now(),
1465
1485
  i18n: e,
1466
1486
  version: t,
1467
1487
  meta: n
1468
1488
  });
1469
1489
  }
1470
- const ea = /* @__PURE__ */ ta("function:translate");
1471
- function ta(e) {
1472
- return (t) => Ke && Ke.emit(e, t);
1490
+ const ta = /* @__PURE__ */ na("function:translate");
1491
+ function na(e) {
1492
+ return (t) => Be && Be.emit(e, t);
1473
1493
  }
1474
1494
  const q = {
1475
- INVALID_ARGUMENT: fs,
1495
+ INVALID_ARGUMENT: _s,
1476
1496
  // 17
1477
1497
  INVALID_DATE_ARGUMENT: 18,
1478
1498
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1480,11 +1500,11 @@ const q = {
1480
1500
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1481
1501
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1482
1502
  NOT_SUPPORT_LOCALE_TYPE: 23
1483
- }, na = 24;
1503
+ }, ra = 24;
1484
1504
  function de(e) {
1485
- return Fe(e, null, process.env.NODE_ENV !== "production" ? { messages: ra } : void 0);
1505
+ return Fe(e, null, process.env.NODE_ENV !== "production" ? { messages: sa } : void 0);
1486
1506
  }
1487
- const ra = {
1507
+ const sa = {
1488
1508
  [q.INVALID_ARGUMENT]: "Invalid arguments",
1489
1509
  [q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1490
1510
  [q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1496,31 +1516,31 @@ const ra = {
1496
1516
  function en(e, t) {
1497
1517
  return t.locale != null ? Tn(t.locale) : Tn(e.locale);
1498
1518
  }
1499
- let At;
1519
+ let St;
1500
1520
  function Tn(e) {
1501
- if (I(e))
1521
+ if (L(e))
1502
1522
  return e;
1503
1523
  if (W(e)) {
1504
- if (e.resolvedOnce && At != null)
1505
- return At;
1524
+ if (e.resolvedOnce && St != null)
1525
+ return St;
1506
1526
  if (e.constructor.name === "Function") {
1507
1527
  const t = e();
1508
- if (ls(t))
1528
+ if (is(t))
1509
1529
  throw de(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1510
- return At = t;
1530
+ return St = t;
1511
1531
  } else
1512
1532
  throw de(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1513
1533
  } else
1514
1534
  throw de(q.NOT_SUPPORT_LOCALE_TYPE);
1515
1535
  }
1516
- function sa(e, t, n) {
1536
+ function aa(e, t, n) {
1517
1537
  return [.../* @__PURE__ */ new Set([
1518
1538
  n,
1519
- ...H(t) ? t : M(t) ? Object.keys(t) : I(t) ? [t] : [n]
1539
+ ...H(t) ? t : M(t) ? Object.keys(t) : L(t) ? [t] : [n]
1520
1540
  ])];
1521
1541
  }
1522
- function or(e, t, n) {
1523
- const r = I(n) ? n : Be, s = e;
1542
+ function lr(e, t, n) {
1543
+ const r = L(n) ? n : je, s = e;
1524
1544
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1525
1545
  let a = s.__localeChainCache.get(r);
1526
1546
  if (!a) {
@@ -1529,7 +1549,7 @@ function or(e, t, n) {
1529
1549
  for (; H(o); )
1530
1550
  o = bn(a, o, t);
1531
1551
  const i = H(t) || !R(t) ? t : t.default ? t.default : null;
1532
- o = I(i) ? [i] : i, H(o) && bn(a, o, !1), s.__localeChainCache.set(r, a);
1552
+ o = L(i) ? [i] : i, H(o) && bn(a, o, !1), s.__localeChainCache.set(r, a);
1533
1553
  }
1534
1554
  return a;
1535
1555
  }
@@ -1537,20 +1557,20 @@ function bn(e, t, n) {
1537
1557
  let r = !0;
1538
1558
  for (let s = 0; s < t.length && F(r); s++) {
1539
1559
  const a = t[s];
1540
- I(a) && (r = aa(e, t[s], n));
1560
+ L(a) && (r = oa(e, t[s], n));
1541
1561
  }
1542
1562
  return r;
1543
1563
  }
1544
- function aa(e, t, n) {
1564
+ function oa(e, t, n) {
1545
1565
  let r;
1546
1566
  const s = t.split("-");
1547
1567
  do {
1548
1568
  const a = s.join("-");
1549
- r = oa(e, a, n), s.splice(-1, 1);
1569
+ r = la(e, a, n), s.splice(-1, 1);
1550
1570
  } while (s.length && r === !0);
1551
1571
  return r;
1552
1572
  }
1553
- function oa(e, t, n) {
1573
+ function la(e, t, n) {
1554
1574
  let r = !1;
1555
1575
  if (!e.includes(t) && (r = !0, t)) {
1556
1576
  r = t[t.length - 1] !== "!";
@@ -1720,15 +1740,15 @@ Ne[
1720
1740
  /* Actions.APPEND */
1721
1741
  ]
1722
1742
  };
1723
- const la = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1724
- function ia(e) {
1725
- return la.test(e);
1726
- }
1743
+ const ia = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1727
1744
  function ca(e) {
1745
+ return ia.test(e);
1746
+ }
1747
+ function ua(e) {
1728
1748
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1729
1749
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1730
1750
  }
1731
- function ua(e) {
1751
+ function fa(e) {
1732
1752
  if (e == null)
1733
1753
  return "o";
1734
1754
  switch (e.charCodeAt(0)) {
@@ -1765,13 +1785,13 @@ function ua(e) {
1765
1785
  }
1766
1786
  return "i";
1767
1787
  }
1768
- function fa(e) {
1788
+ function _a(e) {
1769
1789
  const t = e.trim();
1770
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ia(t) ? ca(t) : "*" + t;
1790
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ca(t) ? ua(t) : "*" + t;
1771
1791
  }
1772
- function _a(e) {
1792
+ function ma(e) {
1773
1793
  const t = [];
1774
- let n = -1, r = 0, s = 0, a, o, i, u, E, L, b;
1794
+ let n = -1, r = 0, s = 0, a, o, i, u, E, I, b;
1775
1795
  const N = [];
1776
1796
  N[
1777
1797
  0
@@ -1801,7 +1821,7 @@ function _a(e) {
1801
1821
  /* Actions.APPEND */
1802
1822
  ]();
1803
1823
  else {
1804
- if (s = 0, o === void 0 || (o = fa(o), o === !1))
1824
+ if (s = 0, o === void 0 || (o = _a(o), o === !1))
1805
1825
  return !1;
1806
1826
  N[
1807
1827
  1
@@ -1819,27 +1839,27 @@ function _a(e) {
1819
1839
  }
1820
1840
  for (; r !== null; )
1821
1841
  if (n++, a = e[n], !(a === "\\" && A())) {
1822
- if (u = ua(a), b = Ne[r], E = b[u] || b.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (L = N[E[1]], L && (i = a, L() === !1))))
1842
+ if (u = fa(a), b = Ne[r], E = b[u] || b.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (I = N[E[1]], I && (i = a, I() === !1))))
1823
1843
  return;
1824
1844
  if (r === 7)
1825
1845
  return t;
1826
1846
  }
1827
1847
  }
1828
1848
  const hn = /* @__PURE__ */ new Map();
1829
- function ma(e, t) {
1849
+ function da(e, t) {
1830
1850
  return M(e) ? e[t] : null;
1831
1851
  }
1832
- function da(e, t) {
1852
+ function Ea(e, t) {
1833
1853
  if (!M(e))
1834
1854
  return null;
1835
1855
  let n = hn.get(t);
1836
- if (n || (n = _a(t), n && hn.set(t, n)), !n)
1856
+ if (n || (n = ma(t), n && hn.set(t, n)), !n)
1837
1857
  return null;
1838
1858
  const r = n.length;
1839
1859
  let s = e, a = 0;
1840
1860
  for (; a < r; ) {
1841
1861
  const o = n[a];
1842
- if (ar.includes(o) && se(s))
1862
+ if (or.includes(o) && se(s))
1843
1863
  return null;
1844
1864
  const i = s[o];
1845
1865
  if (i === void 0 || W(s))
@@ -1856,7 +1876,7 @@ const Z = {
1856
1876
  CANNOT_FORMAT_DATE: 5,
1857
1877
  FALLBACK_TO_DATE_FORMAT: 6,
1858
1878
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
1859
- }, Ea = 8, pa = {
1879
+ }, pa = 8, ga = {
1860
1880
  [Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1861
1881
  [Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1862
1882
  [Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -1866,20 +1886,16 @@ const Z = {
1866
1886
  [Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
1867
1887
  };
1868
1888
  function ve(e, ...t) {
1869
- return ot(pa[e], ...t);
1889
+ return lt(ga[e], ...t);
1870
1890
  }
1871
- const ga = "11.2.8", it = -1, Be = "en-US", rt = "", Ln = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1872
- function Na() {
1891
+ const Na = "11.2.8", ct = -1, je = "en-US", st = "", In = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1892
+ function Ta() {
1873
1893
  return {
1874
- upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1875
- lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1876
- capitalize: (e, t) => t === "text" && I(e) ? Ln(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? Ln(e.children) : e
1894
+ upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1895
+ lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1896
+ capitalize: (e, t) => t === "text" && L(e) ? In(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? In(e.children) : e
1877
1897
  };
1878
1898
  }
1879
- let lr;
1880
- function Ta(e) {
1881
- lr = e;
1882
- }
1883
1899
  let ir;
1884
1900
  function ba(e) {
1885
1901
  ir = e;
@@ -1888,19 +1904,23 @@ let cr;
1888
1904
  function ha(e) {
1889
1905
  cr = e;
1890
1906
  }
1891
- let ur = null;
1892
- const La = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1907
+ let ur;
1908
+ function Ia(e) {
1893
1909
  ur = e;
1894
- }, Ia = /* @__NO_SIDE_EFFECTS__ */ () => ur;
1910
+ }
1895
1911
  let fr = null;
1896
- const In = (e) => {
1912
+ const La = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1897
1913
  fr = e;
1898
- }, Oa = () => fr;
1914
+ }, Oa = /* @__NO_SIDE_EFFECTS__ */ () => fr;
1915
+ let _r = null;
1916
+ const Ln = (e) => {
1917
+ _r = e;
1918
+ }, va = () => _r;
1899
1919
  let On = 0;
1900
- function va(e = {}) {
1901
- const t = W(e.onWarn) ? e.onWarn : ue, n = I(e.version) ? e.version : ga, r = I(e.locale) || W(e.locale) ? e.locale : Be, s = W(r) ? Be : r, a = H(e.fallbackLocale) || R(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = R(e.messages) ? e.messages : St(s), i = R(e.datetimeFormats) ? e.datetimeFormats : St(s), u = R(e.numberFormats) ? e.numberFormats : St(s), E = J($(), e.modifiers, Na()), L = e.pluralRules || $(), b = W(e.missing) ? e.missing : null, N = F(e.missingWarn) || ke(e.missingWarn) ? e.missingWarn : !0, A = F(e.fallbackWarn) || ke(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, C = !!e.unresolving, S = W(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, m = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, d = W(e.messageCompiler) ? e.messageCompiler : lr;
1920
+ function Ca(e = {}) {
1921
+ const t = W(e.onWarn) ? e.onWarn : ue, n = L(e.version) ? e.version : Na, r = L(e.locale) || W(e.locale) ? e.locale : je, s = W(r) ? je : r, a = H(e.fallbackLocale) || R(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = R(e.messages) ? e.messages : yt(s), i = R(e.datetimeFormats) ? e.datetimeFormats : yt(s), u = R(e.numberFormats) ? e.numberFormats : yt(s), E = J($(), e.modifiers, Ta()), I = e.pluralRules || $(), b = W(e.missing) ? e.missing : null, N = F(e.missingWarn) || ke(e.missingWarn) ? e.missingWarn : !0, A = F(e.fallbackWarn) || ke(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, C = !!e.unresolving, S = W(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, m = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, d = W(e.messageCompiler) ? e.messageCompiler : ir;
1902
1922
  process.env.NODE_ENV !== "production" && W(e.messageCompiler) && Xt(ve(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1903
- const O = W(e.messageResolver) ? e.messageResolver : ir || ma, v = W(e.localeFallbacker) ? e.localeFallbacker : cr || sa, p = M(e.fallbackContext) ? e.fallbackContext : void 0, k = e, w = M(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), ae = M(k.__meta) ? k.__meta : {};
1923
+ const O = W(e.messageResolver) ? e.messageResolver : cr || da, v = W(e.localeFallbacker) ? e.localeFallbacker : ur || aa, p = M(e.fallbackContext) ? e.fallbackContext : void 0, k = e, w = M(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), ae = M(k.__meta) ? k.__meta : {};
1904
1924
  On++;
1905
1925
  const Y = {
1906
1926
  version: n,
@@ -1909,7 +1929,7 @@ function va(e = {}) {
1909
1929
  fallbackLocale: a,
1910
1930
  messages: o,
1911
1931
  modifiers: E,
1912
- pluralRules: L,
1932
+ pluralRules: I,
1913
1933
  missing: b,
1914
1934
  missingWarn: N,
1915
1935
  fallbackWarn: A,
@@ -1926,13 +1946,13 @@ function va(e = {}) {
1926
1946
  onWarn: t,
1927
1947
  __meta: ae
1928
1948
  };
1929
- return Y.datetimeFormats = i, Y.numberFormats = u, Y.__datetimeFormatters = w, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = k.__v_emitter != null ? k.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && zs(Y, n, ae), Y;
1949
+ return Y.datetimeFormats = i, Y.numberFormats = u, Y.__datetimeFormatters = w, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = k.__v_emitter != null ? k.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ea(Y, n, ae), Y;
1930
1950
  }
1931
- const St = (e) => ({ [e]: $() });
1932
- function ct(e, t) {
1951
+ const yt = (e) => ({ [e]: $() });
1952
+ function ut(e, t) {
1933
1953
  return e instanceof RegExp ? e.test(t) : e;
1934
1954
  }
1935
- function _r(e, t) {
1955
+ function mr(e, t) {
1936
1956
  return e instanceof RegExp ? e.test(t) : e;
1937
1957
  }
1938
1958
  function tn(e, t, n, r, s) {
@@ -1948,46 +1968,46 @@ function tn(e, t, n, r, s) {
1948
1968
  }
1949
1969
  if (a !== null) {
1950
1970
  const i = a(e, n, t, s);
1951
- return I(i) ? i : t;
1971
+ return L(i) ? i : t;
1952
1972
  } else
1953
- return process.env.NODE_ENV !== "production" && _r(r, t) && o(ve(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1973
+ return process.env.NODE_ENV !== "production" && mr(r, t) && o(ve(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1954
1974
  }
1955
1975
  function Ge(e, t, n) {
1956
1976
  const r = e;
1957
1977
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1958
1978
  }
1959
- function mr(e, t) {
1979
+ function dr(e, t) {
1960
1980
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1961
1981
  }
1962
- function Ca(e, t) {
1982
+ function Aa(e, t) {
1963
1983
  const n = t.indexOf(e);
1964
1984
  if (n === -1)
1965
1985
  return !1;
1966
1986
  for (let r = n + 1; r < t.length; r++)
1967
- if (mr(e, t[r]))
1987
+ if (dr(e, t[r]))
1968
1988
  return !0;
1969
1989
  return !1;
1970
1990
  }
1971
- const vn = typeof Intl < "u", dr = {
1991
+ const vn = typeof Intl < "u", Er = {
1972
1992
  dateTimeFormat: vn && typeof Intl.DateTimeFormat < "u",
1973
1993
  numberFormat: vn && typeof Intl.NumberFormat < "u"
1974
1994
  };
1975
1995
  function Cn(e, ...t) {
1976
1996
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: a, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
1977
- if (process.env.NODE_ENV !== "production" && !dr.dateTimeFormat)
1978
- return a(ve(Z.CANNOT_FORMAT_DATE)), rt;
1979
- const [u, E, L, b] = Rt(...t), N = F(L.missingWarn) ? L.missingWarn : e.missingWarn, A = F(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, D = !!L.part, C = en(e, L), S = o(
1997
+ if (process.env.NODE_ENV !== "production" && !Er.dateTimeFormat)
1998
+ return a(ve(Z.CANNOT_FORMAT_DATE)), st;
1999
+ const [u, E, I, b] = Mt(...t), N = F(I.missingWarn) ? I.missingWarn : e.missingWarn, A = F(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn, D = !!I.part, C = en(e, I), S = o(
1980
2000
  e,
1981
2001
  // eslint-disable-line @typescript-eslint/no-explicit-any
1982
2002
  s,
1983
2003
  C
1984
2004
  );
1985
- if (!I(u) || u === "")
2005
+ if (!L(u) || u === "")
1986
2006
  return new Intl.DateTimeFormat(C, b).format(E);
1987
2007
  let f = {}, m, h = null, d = C, O = null;
1988
2008
  const v = "datetime format";
1989
2009
  for (let w = 0; w < S.length; w++) {
1990
- if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && ct(A, u) && a(ve(Z.FALLBACK_TO_DATE_FORMAT, {
2010
+ if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && ut(A, u) && a(ve(Z.FALLBACK_TO_DATE_FORMAT, {
1991
2011
  key: u,
1992
2012
  target: m
1993
2013
  })), process.env.NODE_ENV !== "production" && C !== m) {
@@ -2004,14 +2024,14 @@ function Cn(e, ...t) {
2004
2024
  break;
2005
2025
  tn(e, u, m, N, v), d = O;
2006
2026
  }
2007
- if (!R(h) || !I(m))
2008
- return r ? it : u;
2027
+ if (!R(h) || !L(m))
2028
+ return r ? ct : u;
2009
2029
  let p = `${m}__${u}`;
2010
- lt(b) || (p = `${p}__${JSON.stringify(b)}`);
2030
+ it(b) || (p = `${p}__${JSON.stringify(b)}`);
2011
2031
  let k = i.get(p);
2012
2032
  return k || (k = new Intl.DateTimeFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(E) : k.format(E);
2013
2033
  }
2014
- const Er = [
2034
+ const pr = [
2015
2035
  "localeMatcher",
2016
2036
  "weekday",
2017
2037
  "era",
@@ -2033,10 +2053,10 @@ const Er = [
2033
2053
  "hourCycle",
2034
2054
  "fractionalSecondDigits"
2035
2055
  ];
2036
- function Rt(...e) {
2056
+ function Mt(...e) {
2037
2057
  const [t, n, r, s] = e, a = $();
2038
2058
  let o = $(), i;
2039
- if (I(t)) {
2059
+ if (L(t)) {
2040
2060
  const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2041
2061
  if (!u)
2042
2062
  throw de(q.INVALID_ISO_DATE_ARGUMENT);
@@ -2047,7 +2067,7 @@ function Rt(...e) {
2047
2067
  } catch {
2048
2068
  throw de(q.INVALID_ISO_DATE_ARGUMENT);
2049
2069
  }
2050
- } else if (rs(t)) {
2070
+ } else if (ss(t)) {
2051
2071
  if (isNaN(t.getTime()))
2052
2072
  throw de(q.INVALID_DATE_ARGUMENT);
2053
2073
  i = t;
@@ -2055,9 +2075,9 @@ function Rt(...e) {
2055
2075
  i = t;
2056
2076
  else
2057
2077
  throw de(q.INVALID_ARGUMENT);
2058
- return I(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2059
- Er.includes(u) ? o[u] = n[u] : a[u] = n[u];
2060
- }), I(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2078
+ return L(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2079
+ pr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2080
+ }), L(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2061
2081
  }
2062
2082
  function An(e, t, n) {
2063
2083
  const r = e;
@@ -2068,20 +2088,20 @@ function An(e, t, n) {
2068
2088
  }
2069
2089
  function Sn(e, ...t) {
2070
2090
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: a, localeFallbacker: o } = e, { __numberFormatters: i } = e;
2071
- if (process.env.NODE_ENV !== "production" && !dr.numberFormat)
2072
- return a(ve(Z.CANNOT_FORMAT_NUMBER)), rt;
2073
- const [u, E, L, b] = Mt(...t), N = F(L.missingWarn) ? L.missingWarn : e.missingWarn, A = F(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, D = !!L.part, C = en(e, L), S = o(
2091
+ if (process.env.NODE_ENV !== "production" && !Er.numberFormat)
2092
+ return a(ve(Z.CANNOT_FORMAT_NUMBER)), st;
2093
+ const [u, E, I, b] = Ft(...t), N = F(I.missingWarn) ? I.missingWarn : e.missingWarn, A = F(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn, D = !!I.part, C = en(e, I), S = o(
2074
2094
  e,
2075
2095
  // eslint-disable-line @typescript-eslint/no-explicit-any
2076
2096
  s,
2077
2097
  C
2078
2098
  );
2079
- if (!I(u) || u === "")
2099
+ if (!L(u) || u === "")
2080
2100
  return new Intl.NumberFormat(C, b).format(E);
2081
2101
  let f = {}, m, h = null, d = C, O = null;
2082
2102
  const v = "number format";
2083
2103
  for (let w = 0; w < S.length; w++) {
2084
- if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && ct(A, u) && a(ve(Z.FALLBACK_TO_NUMBER_FORMAT, {
2104
+ if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && ut(A, u) && a(ve(Z.FALLBACK_TO_NUMBER_FORMAT, {
2085
2105
  key: u,
2086
2106
  target: m
2087
2107
  })), process.env.NODE_ENV !== "production" && C !== m) {
@@ -2098,14 +2118,14 @@ function Sn(e, ...t) {
2098
2118
  break;
2099
2119
  tn(e, u, m, N, v), d = O;
2100
2120
  }
2101
- if (!R(h) || !I(m))
2102
- return r ? it : u;
2121
+ if (!R(h) || !L(m))
2122
+ return r ? ct : u;
2103
2123
  let p = `${m}__${u}`;
2104
- lt(b) || (p = `${p}__${JSON.stringify(b)}`);
2124
+ it(b) || (p = `${p}__${JSON.stringify(b)}`);
2105
2125
  let k = i.get(p);
2106
2126
  return k || (k = new Intl.NumberFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(E) : k.format(E);
2107
2127
  }
2108
- const pr = [
2128
+ const gr = [
2109
2129
  "localeMatcher",
2110
2130
  "style",
2111
2131
  "currency",
@@ -2127,15 +2147,15 @@ const pr = [
2127
2147
  "roundingIncrement",
2128
2148
  "trailingZeroDisplay"
2129
2149
  ];
2130
- function Mt(...e) {
2150
+ function Ft(...e) {
2131
2151
  const [t, n, r, s] = e, a = $();
2132
2152
  let o = $();
2133
2153
  if (!j(t))
2134
2154
  throw de(q.INVALID_ARGUMENT);
2135
2155
  const i = t;
2136
- return I(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2137
- pr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2138
- }), I(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2156
+ return L(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2157
+ gr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2158
+ }), L(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2139
2159
  }
2140
2160
  function yn(e, t, n) {
2141
2161
  const r = e;
@@ -2144,40 +2164,40 @@ function yn(e, t, n) {
2144
2164
  r.__numberFormatters.has(a) && r.__numberFormatters.delete(a);
2145
2165
  }
2146
2166
  }
2147
- const Aa = (e) => e, Sa = (e) => "", ya = "text", Pa = (e) => e.length === 0 ? "" : Qt(e), Da = is;
2167
+ const Sa = (e) => e, ya = (e) => "", Pa = "text", Da = (e) => e.length === 0 ? "" : Qt(e), ka = cs;
2148
2168
  function Pn(e, t) {
2149
2169
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2150
2170
  }
2151
- function ka(e) {
2171
+ function Ra(e) {
2152
2172
  const t = j(e.pluralIndex) ? e.pluralIndex : -1;
2153
2173
  return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : t : t;
2154
2174
  }
2155
- function Ra(e, t) {
2175
+ function Ma(e, t) {
2156
2176
  t.count || (t.count = e), t.n || (t.n = e);
2157
2177
  }
2158
- function Ma(e = {}) {
2159
- const t = e.locale, n = ka(e), r = M(e.pluralRules) && I(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Pn, s = M(e.pluralRules) && I(t) && W(e.pluralRules[t]) ? Pn : void 0, a = (f) => f[r(n, f.length, s)], o = e.list || [], i = (f) => o[f], u = e.named || $();
2160
- j(e.pluralIndex) && Ra(n, u);
2178
+ function Fa(e = {}) {
2179
+ const t = e.locale, n = Ra(e), r = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Pn, s = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Pn : void 0, a = (f) => f[r(n, f.length, s)], o = e.list || [], i = (f) => o[f], u = e.named || $();
2180
+ j(e.pluralIndex) && Ma(n, u);
2161
2181
  const E = (f) => u[f];
2162
- function L(f, m) {
2182
+ function I(f, m) {
2163
2183
  const h = W(e.messages) ? e.messages(f, !!m) : M(e.messages) ? e.messages[f] : !1;
2164
- return h || (e.parent ? e.parent.message(f) : Sa);
2184
+ return h || (e.parent ? e.parent.message(f) : ya);
2165
2185
  }
2166
- const b = (f) => e.modifiers ? e.modifiers[f] : Aa, N = R(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Pa, A = R(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Da, D = R(e.processor) && I(e.processor.type) ? e.processor.type : ya, S = {
2186
+ const b = (f) => e.modifiers ? e.modifiers[f] : Sa, N = R(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Da, A = R(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : ka, D = R(e.processor) && L(e.processor.type) ? e.processor.type : Pa, S = {
2167
2187
  list: i,
2168
2188
  named: E,
2169
2189
  plural: a,
2170
2190
  linked: (f, ...m) => {
2171
2191
  const [h, d] = m;
2172
2192
  let O = "text", v = "";
2173
- m.length === 1 ? M(h) ? (v = h.modifier || v, O = h.type || O) : I(h) && (v = h || v) : m.length === 2 && (I(h) && (v = h || v), I(d) && (O = d || O));
2174
- const p = L(f, !0)(S), k = (
2193
+ m.length === 1 ? M(h) ? (v = h.modifier || v, O = h.type || O) : L(h) && (v = h || v) : m.length === 2 && (L(h) && (v = h || v), L(d) && (O = d || O));
2194
+ const p = I(f, !0)(S), k = (
2175
2195
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2176
2196
  O === "vnode" && H(p) && v ? p[0] : p
2177
2197
  );
2178
2198
  return v ? b(v)(k, O) : k;
2179
2199
  },
2180
- message: L,
2200
+ message: I,
2181
2201
  type: D,
2182
2202
  interpolate: A,
2183
2203
  normalize: N,
@@ -2187,48 +2207,48 @@ function Ma(e = {}) {
2187
2207
  }
2188
2208
  const Dn = () => "", te = (e) => W(e);
2189
2209
  function kn(e, ...t) {
2190
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: a, fallbackLocale: o, messages: i } = e, [u, E] = Ft(...t), L = F(E.missingWarn) ? E.missingWarn : e.missingWarn, b = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, N = F(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, A = !!E.resolvedMessage, D = I(E.default) || F(E.default) ? F(E.default) ? a ? u : () => u : E.default : n ? a ? u : () => u : null, C = n || D != null && (I(D) || W(D)), S = en(e, E);
2191
- N && Fa(E);
2210
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: a, fallbackLocale: o, messages: i } = e, [u, E] = Ut(...t), I = F(E.missingWarn) ? E.missingWarn : e.missingWarn, b = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, N = F(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, A = !!E.resolvedMessage, D = L(E.default) || F(E.default) ? F(E.default) ? a ? u : () => u : E.default : n ? a ? u : () => u : null, C = n || D != null && (L(D) || W(D)), S = en(e, E);
2211
+ N && Ua(E);
2192
2212
  let [f, m, h] = A ? [
2193
2213
  u,
2194
2214
  S,
2195
2215
  i[S] || $()
2196
- ] : gr(e, u, S, o, b, L), d = f, O = u;
2197
- if (!A && !(I(d) || se(d) || te(d)) && C && (d = D, O = d), !A && (!(I(d) || se(d) || te(d)) || !I(m)))
2198
- return s ? it : u;
2199
- if (process.env.NODE_ENV !== "production" && I(d) && e.messageCompiler == null)
2216
+ ] : Nr(e, u, S, o, b, I), d = f, O = u;
2217
+ if (!A && !(L(d) || se(d) || te(d)) && C && (d = D, O = d), !A && (!(L(d) || se(d) || te(d)) || !L(m)))
2218
+ return s ? ct : u;
2219
+ if (process.env.NODE_ENV !== "production" && L(d) && e.messageCompiler == null)
2200
2220
  return ue(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`), u;
2201
2221
  let v = !1;
2202
2222
  const p = () => {
2203
2223
  v = !0;
2204
- }, k = te(d) ? d : Nr(e, u, m, d, O, p);
2224
+ }, k = te(d) ? d : Tr(e, u, m, d, O, p);
2205
2225
  if (v)
2206
2226
  return d;
2207
- const w = $a(e, m, h, E), X = Ma(w), ae = Ua(e, k, X);
2227
+ const w = Wa(e, m, h, E), X = Fa(w), ae = wa(e, k, X);
2208
2228
  let Y = r ? r(ae, u) : ae;
2209
- if (N && I(Y) && (Y = as(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2229
+ if (N && L(Y) && (Y = os(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2210
2230
  const Ae = {
2211
2231
  timestamp: Date.now(),
2212
- key: I(u) ? u : te(d) ? d.key : "",
2232
+ key: L(u) ? u : te(d) ? d.key : "",
2213
2233
  locale: m || (te(d) ? d.locale : ""),
2214
- format: I(d) ? d : te(d) ? d.source : "",
2234
+ format: L(d) ? d : te(d) ? d.source : "",
2215
2235
  message: Y
2216
2236
  };
2217
- Ae.meta = J({}, e.__meta, /* @__PURE__ */ Ia() || {}), ea(Ae);
2237
+ Ae.meta = J({}, e.__meta, /* @__PURE__ */ Oa() || {}), ta(Ae);
2218
2238
  }
2219
2239
  return Y;
2220
2240
  }
2221
- function Fa(e) {
2222
- H(e.list) ? e.list = e.list.map((t) => I(t) ? _n(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
2223
- I(e.named[t]) && (e.named[t] = _n(e.named[t]));
2241
+ function Ua(e) {
2242
+ H(e.list) ? e.list = e.list.map((t) => L(t) ? _n(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
2243
+ L(e.named[t]) && (e.named[t] = _n(e.named[t]));
2224
2244
  });
2225
2245
  }
2226
- function gr(e, t, n, r, s, a) {
2227
- const { messages: o, onWarn: i, messageResolver: u, localeFallbacker: E } = e, L = E(e, r, n);
2246
+ function Nr(e, t, n, r, s, a) {
2247
+ const { messages: o, onWarn: i, messageResolver: u, localeFallbacker: E } = e, I = E(e, r, n);
2228
2248
  let b = $(), N, A = null, D = n, C = null;
2229
2249
  const S = "translate";
2230
- for (let f = 0; f < L.length; f++) {
2231
- if (N = C = L[f], process.env.NODE_ENV !== "production" && n !== N && !mr(n, N) && ct(s, t) && i(ve(Z.FALLBACK_TO_TRANSLATE, {
2250
+ for (let f = 0; f < I.length; f++) {
2251
+ if (N = C = I[f], process.env.NODE_ENV !== "production" && n !== N && !dr(n, N) && ut(s, t) && i(ve(Z.FALLBACK_TO_TRANSLATE, {
2232
2252
  key: t,
2233
2253
  target: N
2234
2254
  })), process.env.NODE_ENV !== "production" && n !== N) {
@@ -2253,9 +2273,9 @@ function gr(e, t, n, r, s, a) {
2253
2273
  groupId: `${S}:${t}`
2254
2274
  }), h && d && ee && Oe && (ee(d), Oe("intlify message resolve", h, d));
2255
2275
  }
2256
- if (I(A) || se(A) || te(A))
2276
+ if (L(A) || se(A) || te(A))
2257
2277
  break;
2258
- if (!Ca(N, L)) {
2278
+ if (!Aa(N, I)) {
2259
2279
  const O = tn(
2260
2280
  e,
2261
2281
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -2270,7 +2290,7 @@ function gr(e, t, n, r, s, a) {
2270
2290
  }
2271
2291
  return [A, N, b];
2272
2292
  }
2273
- function Nr(e, t, n, r, s, a) {
2293
+ function Tr(e, t, n, r, s, a) {
2274
2294
  const { messageCompiler: o, warnHtmlMessage: i } = e;
2275
2295
  if (te(r)) {
2276
2296
  const N = r;
@@ -2280,9 +2300,9 @@ function Nr(e, t, n, r, s, a) {
2280
2300
  const N = (() => r);
2281
2301
  return N.locale = n, N.key = t, N;
2282
2302
  }
2283
- let u = null, E, L;
2284
- process.env.NODE_ENV !== "production" && le && (u = window.performance.now(), E = "intlify-message-compilation-start", L = "intlify-message-compilation-end", ee && ee(E));
2285
- const b = o(r, wa(e, n, s, r, i, a));
2303
+ let u = null, E, I;
2304
+ process.env.NODE_ENV !== "production" && le && (u = window.performance.now(), E = "intlify-message-compilation-start", I = "intlify-message-compilation-end", ee && ee(E));
2305
+ const b = o(r, Va(e, n, s, r, i, a));
2286
2306
  if (process.env.NODE_ENV !== "production" && le) {
2287
2307
  const N = window.performance.now(), A = e.__v_emitter;
2288
2308
  A && u && A.emit("message-compilation", {
@@ -2290,11 +2310,11 @@ function Nr(e, t, n, r, s, a) {
2290
2310
  message: r,
2291
2311
  time: N - u,
2292
2312
  groupId: `translate:${t}`
2293
- }), E && L && ee && Oe && (ee(L), Oe("intlify message compilation", E, L));
2313
+ }), E && I && ee && Oe && (ee(I), Oe("intlify message compilation", E, I));
2294
2314
  }
2295
2315
  return b.locale = n, b.key = t, b.source = r, b;
2296
2316
  }
2297
- function Ua(e, t, n) {
2317
+ function wa(e, t, n) {
2298
2318
  let r = null, s, a;
2299
2319
  process.env.NODE_ENV !== "production" && le && (r = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ee && ee(s));
2300
2320
  const o = t(n);
@@ -2309,22 +2329,22 @@ function Ua(e, t, n) {
2309
2329
  }
2310
2330
  return o;
2311
2331
  }
2312
- function Ft(...e) {
2332
+ function Ut(...e) {
2313
2333
  const [t, n, r] = e, s = $();
2314
- if (!I(t) && !j(t) && !te(t) && !se(t))
2334
+ if (!L(t) && !j(t) && !te(t) && !se(t))
2315
2335
  throw de(q.INVALID_ARGUMENT);
2316
2336
  const a = j(t) ? String(t) : (te(t), t);
2317
- return j(n) ? s.plural = n : I(n) ? s.default = n : R(n) && !lt(n) ? s.named = n : H(n) && (s.list = n), j(r) ? s.plural = r : I(r) ? s.default = r : R(r) && J(s, r), [a, s];
2337
+ return j(n) ? s.plural = n : L(n) ? s.default = n : R(n) && !it(n) ? s.named = n : H(n) && (s.list = n), j(r) ? s.plural = r : L(r) ? s.default = r : R(r) && J(s, r), [a, s];
2318
2338
  }
2319
- function wa(e, t, n, r, s, a) {
2339
+ function Va(e, t, n, r, s, a) {
2320
2340
  return {
2321
2341
  locale: t,
2322
2342
  key: n,
2323
2343
  warnHtmlMessage: s,
2324
2344
  onError: (o) => {
2325
2345
  if (a && a(o), process.env.NODE_ENV !== "production") {
2326
- const i = Va(r), u = `Message compilation error: ${o.message}`, E = o.location && i && cs(i, o.location.start.offset, o.location.end.offset), L = e.__v_emitter;
2327
- L && i && L.emit("compile-error", {
2346
+ const i = $a(r), u = `Message compilation error: ${o.message}`, E = o.location && i && us(i, o.location.start.offset, o.location.end.offset), I = e.__v_emitter;
2347
+ I && i && I.emit("compile-error", {
2328
2348
  message: i,
2329
2349
  error: o.message,
2330
2350
  start: o.location && o.location.start.offset,
@@ -2335,25 +2355,25 @@ ${E}` : u);
2335
2355
  } else
2336
2356
  throw o;
2337
2357
  },
2338
- onCacheKey: (o) => ts(t, n, o)
2358
+ onCacheKey: (o) => ns(t, n, o)
2339
2359
  };
2340
2360
  }
2341
- function Va(e) {
2342
- if (I(e))
2361
+ function $a(e) {
2362
+ if (L(e))
2343
2363
  return e;
2344
2364
  if (e.loc && e.loc.source)
2345
2365
  return e.loc.source;
2346
2366
  }
2347
- function $a(e, t, n, r) {
2348
- const { modifiers: s, pluralRules: a, messageResolver: o, fallbackLocale: i, fallbackWarn: u, missingWarn: E, fallbackContext: L } = e, N = {
2367
+ function Wa(e, t, n, r) {
2368
+ const { modifiers: s, pluralRules: a, messageResolver: o, fallbackLocale: i, fallbackWarn: u, missingWarn: E, fallbackContext: I } = e, N = {
2349
2369
  locale: t,
2350
2370
  modifiers: s,
2351
2371
  pluralRules: a,
2352
2372
  messages: (A, D) => {
2353
2373
  let C = o(n, A);
2354
- if (C == null && (L || D)) {
2355
- const [, , S] = gr(
2356
- L || e,
2374
+ if (C == null && (I || D)) {
2375
+ const [, , S] = Nr(
2376
+ I || e,
2357
2377
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2358
2378
  A,
2359
2379
  t,
@@ -2363,9 +2383,9 @@ function $a(e, t, n, r) {
2363
2383
  );
2364
2384
  C = o(S, A);
2365
2385
  }
2366
- if (I(C) || se(C)) {
2386
+ if (L(C) || se(C)) {
2367
2387
  let S = !1;
2368
- const m = Nr(e, A, t, C, A, () => {
2388
+ const m = Tr(e, A, t, C, A, () => {
2369
2389
  S = !0;
2370
2390
  });
2371
2391
  return S ? Dn : m;
@@ -2374,23 +2394,23 @@ function $a(e, t, n, r) {
2374
2394
  };
2375
2395
  return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), j(r.plural) && (N.pluralIndex = r.plural), N;
2376
2396
  }
2377
- $s();
2378
- function Wa() {
2379
- return Tr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2397
+ Ws();
2398
+ function Ga() {
2399
+ return br().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2380
2400
  }
2381
- function Tr() {
2401
+ function br() {
2382
2402
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2383
2403
  }
2384
- const Ga = typeof Proxy == "function", xa = "devtools-plugin:setup", Ha = "plugin:settings:set";
2385
- let ye, Ut;
2386
- function Ya() {
2404
+ const xa = typeof Proxy == "function", Ha = "devtools-plugin:setup", Ya = "plugin:settings:set";
2405
+ let ye, wt;
2406
+ function Ka() {
2387
2407
  var e;
2388
- return ye !== void 0 || (typeof window < "u" && window.performance ? (ye = !0, Ut = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ye = !0, Ut = globalThis.perf_hooks.performance) : ye = !1), ye;
2408
+ return ye !== void 0 || (typeof window < "u" && window.performance ? (ye = !0, wt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ye = !0, wt = globalThis.perf_hooks.performance) : ye = !1), ye;
2389
2409
  }
2390
- function Ka() {
2391
- return Ya() ? Ut.now() : Date.now();
2410
+ function Ba() {
2411
+ return Ka() ? wt.now() : Date.now();
2392
2412
  }
2393
- class Ba {
2413
+ class ja {
2394
2414
  constructor(t, n) {
2395
2415
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2396
2416
  const r = {};
@@ -2418,9 +2438,9 @@ class Ba {
2418
2438
  a = o;
2419
2439
  },
2420
2440
  now() {
2421
- return Ka();
2441
+ return Ba();
2422
2442
  }
2423
- }, n && n.on(Ha, (o, i) => {
2443
+ }, n && n.on(Ya, (o, i) => {
2424
2444
  o === this.plugin.id && this.fallbacks.setSettings(i);
2425
2445
  }), this.proxiedOn = new Proxy({}, {
2426
2446
  get: (o, i) => this.target ? this.target.on[i] : (...u) => {
@@ -2452,12 +2472,12 @@ class Ba {
2452
2472
  n.resolve(await this.target[n.method](...n.args));
2453
2473
  }
2454
2474
  }
2455
- function ja(e, t) {
2456
- const n = e, r = Tr(), s = Wa(), a = Ga && n.enableEarlyProxy;
2475
+ function Xa(e, t) {
2476
+ const n = e, r = br(), s = Ga(), a = xa && n.enableEarlyProxy;
2457
2477
  if (s && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
2458
- s.emit(xa, e, t);
2478
+ s.emit(Ha, e, t);
2459
2479
  else {
2460
- const o = a ? new Ba(n, s) : null;
2480
+ const o = a ? new ja(n, s) : null;
2461
2481
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2462
2482
  pluginDescriptor: n,
2463
2483
  setupFn: t,
@@ -2465,13 +2485,13 @@ function ja(e, t) {
2465
2485
  }), o && t(o.proxiedTarget);
2466
2486
  }
2467
2487
  }
2468
- const Xa = "11.2.8";
2469
- function Ja() {
2470
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ie().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ie().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ie().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ie().__INTLIFY_PROD_DEVTOOLS__ = !1);
2488
+ const Ja = "11.2.8";
2489
+ function Qa() {
2490
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
2471
2491
  }
2472
2492
  const G = {
2473
2493
  // composer module errors
2474
- UNEXPECTED_RETURN_TYPE: na,
2494
+ UNEXPECTED_RETURN_TYPE: ra,
2475
2495
  // 24
2476
2496
  // legacy module errors
2477
2497
  INVALID_ARGUMENT: 25,
@@ -2492,9 +2512,9 @@ const G = {
2492
2512
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2493
2513
  };
2494
2514
  function z(e, ...t) {
2495
- return Fe(e, null, process.env.NODE_ENV !== "production" ? { messages: Qa, args: t } : void 0);
2515
+ return Fe(e, null, process.env.NODE_ENV !== "production" ? { messages: qa, args: t } : void 0);
2496
2516
  }
2497
- const Qa = {
2517
+ const qa = {
2498
2518
  [G.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2499
2519
  [G.INVALID_ARGUMENT]: "Invalid argument",
2500
2520
  [G.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2506,8 +2526,8 @@ const Qa = {
2506
2526
  [G.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2507
2527
  [G.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2508
2528
  [G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2509
- }, wt = /* @__PURE__ */ fe("__translateVNode"), Vt = /* @__PURE__ */ fe("__datetimeParts"), $t = /* @__PURE__ */ fe("__numberParts"), Ce = /* @__PURE__ */ fe("__enableEmitter"), je = /* @__PURE__ */ fe("__disableEmitter"), br = fe("__setPluralRules"), hr = /* @__PURE__ */ fe("__injectWithOption"), Wt = /* @__PURE__ */ fe("__dispose"), ne = {
2510
- FALLBACK_TO_ROOT: Ea,
2529
+ }, Vt = /* @__PURE__ */ fe("__translateVNode"), $t = /* @__PURE__ */ fe("__datetimeParts"), Wt = /* @__PURE__ */ fe("__numberParts"), Ce = /* @__PURE__ */ fe("__enableEmitter"), Xe = /* @__PURE__ */ fe("__disableEmitter"), hr = fe("__setPluralRules"), Ir = /* @__PURE__ */ fe("__injectWithOption"), Gt = /* @__PURE__ */ fe("__dispose"), ne = {
2530
+ FALLBACK_TO_ROOT: pa,
2511
2531
  // 8
2512
2532
  NOT_FOUND_PARENT_SCOPE: 9,
2513
2533
  IGNORE_OBJ_FLATTEN: 10,
@@ -2521,7 +2541,7 @@ const Qa = {
2521
2541
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
2522
2542
  // duplicate `useI18n` calling
2523
2543
  DUPLICATE_USE_I18N_CALLING: 13
2524
- }, qa = {
2544
+ }, Za = {
2525
2545
  [ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2526
2546
  [ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2527
2547
  [ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2537,15 +2557,15 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2537
2557
  [ne.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
2538
2558
  };
2539
2559
  function Me(e, ...t) {
2540
- return ot(qa[e], ...t);
2560
+ return lt(Za[e], ...t);
2541
2561
  }
2542
- function Xe(e) {
2562
+ function Je(e) {
2543
2563
  if (!M(e) || se(e))
2544
2564
  return e;
2545
2565
  for (const t in e)
2546
2566
  if (oe(e, t))
2547
2567
  if (!t.includes("."))
2548
- M(e[t]) && Xe(e[t]);
2568
+ M(e[t]) && Je(e[t]);
2549
2569
  else {
2550
2570
  const n = t.split("."), r = n.length - 1;
2551
2571
  let s = e, a = !1;
@@ -2560,9 +2580,9 @@ function Xe(e) {
2560
2580
  }
2561
2581
  s = s[n[o]];
2562
2582
  }
2563
- if (a || (se(s) ? ar.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !se(s)) {
2583
+ if (a || (se(s) ? or.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !se(s)) {
2564
2584
  const o = s[n[r]];
2565
- M(o) && Xe(o);
2585
+ M(o) && Je(o);
2566
2586
  }
2567
2587
  }
2568
2588
  return e;
@@ -2572,18 +2592,18 @@ function nn(e, t) {
2572
2592
  if (H(r) && r.forEach((i) => {
2573
2593
  if ("locale" in i && "resource" in i) {
2574
2594
  const { locale: u, resource: E } = i;
2575
- u ? (o[u] = o[u] || $(), nt(E, o[u])) : nt(E, o);
2595
+ u ? (o[u] = o[u] || $(), rt(E, o[u])) : rt(E, o);
2576
2596
  } else
2577
- I(i) && nt(JSON.parse(i), o);
2597
+ L(i) && rt(JSON.parse(i), o);
2578
2598
  }), s == null && a)
2579
2599
  for (const i in o)
2580
- oe(o, i) && Xe(o[i]);
2600
+ oe(o, i) && Je(o[i]);
2581
2601
  return o;
2582
2602
  }
2583
2603
  function Lr(e) {
2584
2604
  return e.type;
2585
2605
  }
2586
- function Ir(e, t, n) {
2606
+ function Or(e, t, n) {
2587
2607
  let r = M(t.messages) ? t.messages : $();
2588
2608
  "__i18nGlobal" in n && (r = nn(e.locale.value, {
2589
2609
  messages: r,
@@ -2609,39 +2629,39 @@ function Ir(e, t, n) {
2609
2629
  }
2610
2630
  }
2611
2631
  function Rn(e) {
2612
- return Xn($r, null, e, 0);
2632
+ return Jn($r, null, e, 0);
2613
2633
  }
2614
2634
  function De() {
2615
2635
  const e = "currentInstance";
2616
- return e in vt ? vt[e] : vt.getCurrentInstance();
2636
+ return e in Ct ? Ct[e] : Ct.getCurrentInstance();
2617
2637
  }
2618
- const Mn = "__INTLIFY_META__", Fn = () => [], Za = () => !1;
2638
+ const Mn = "__INTLIFY_META__", Fn = () => [], za = () => !1;
2619
2639
  let Un = 0;
2620
2640
  function wn(e) {
2621
2641
  return ((t, n, r, s) => e(n, r, De() || void 0, s));
2622
2642
  }
2623
- const za = /* @__NO_SIDE_EFFECTS__ */ () => {
2643
+ const eo = /* @__NO_SIDE_EFFECTS__ */ () => {
2624
2644
  const e = De();
2625
2645
  let t = null;
2626
2646
  return e && (t = Lr(e)[Mn]) ? { [Mn]: t } : null;
2627
2647
  };
2628
2648
  function rn(e = {}) {
2629
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, a = le ? Fr : Ur;
2649
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, a = le ? Xn : Ur;
2630
2650
  let o = F(e.inheritLocale) ? e.inheritLocale : !0;
2631
2651
  const i = a(
2632
2652
  // prettier-ignore
2633
- t && o ? t.locale.value : I(e.locale) ? e.locale : Be
2653
+ t && o ? t.locale.value : L(e.locale) ? e.locale : je
2634
2654
  ), u = a(
2635
2655
  // prettier-ignore
2636
- t && o ? t.fallbackLocale.value : I(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
2637
- ), E = a(nn(i.value, e)), L = a(R(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), b = a(R(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2656
+ t && o ? t.fallbackLocale.value : L(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
2657
+ ), E = a(nn(i.value, e)), I = a(R(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), b = a(R(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2638
2658
  let N = t ? t.missingWarn : F(e.missingWarn) || ke(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : F(e.fallbackWarn) || ke(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, C = !!e.fallbackFormat, S = W(e.missing) ? e.missing : null, f = W(e.missing) ? wn(e.missing) : null, m = W(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, d = !!e.escapeParameter;
2639
2659
  const O = t ? t.modifiers : R(e.modifiers) ? e.modifiers : {};
2640
2660
  let v = e.pluralRules || t && t.pluralRules, p;
2641
2661
  p = (() => {
2642
- r && In(null);
2662
+ r && Ln(null);
2643
2663
  const _ = {
2644
- version: Xa,
2664
+ version: Ja,
2645
2665
  locale: i.value,
2646
2666
  fallbackLocale: u.value,
2647
2667
  messages: E.value,
@@ -2659,16 +2679,16 @@ function rn(e = {}) {
2659
2679
  messageCompiler: e.messageCompiler,
2660
2680
  __meta: { framework: "vue" }
2661
2681
  };
2662
- _.datetimeFormats = L.value, _.numberFormats = b.value, _.__datetimeFormatters = R(p) ? p.__datetimeFormatters : void 0, _.__numberFormatters = R(p) ? p.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = R(p) ? p.__v_emitter : void 0);
2663
- const T = va(_);
2664
- return r && In(T), T;
2682
+ _.datetimeFormats = I.value, _.numberFormats = b.value, _.__datetimeFormatters = R(p) ? p.__datetimeFormatters : void 0, _.__numberFormatters = R(p) ? p.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = R(p) ? p.__v_emitter : void 0);
2683
+ const T = Ca(_);
2684
+ return r && Ln(T), T;
2665
2685
  })(), Ge(p, i.value, u.value);
2666
2686
  function w() {
2667
2687
  return [
2668
2688
  i.value,
2669
2689
  u.value,
2670
2690
  E.value,
2671
- L.value,
2691
+ I.value,
2672
2692
  b.value
2673
2693
  ];
2674
2694
  }
@@ -2682,34 +2702,34 @@ function rn(e = {}) {
2682
2702
  set: (_) => {
2683
2703
  p.fallbackLocale = _, u.value = _, Ge(p, i.value, _);
2684
2704
  }
2685
- }), Y = We(() => E.value), Ae = /* @__PURE__ */ We(() => L.value), ut = /* @__PURE__ */ We(() => b.value);
2686
- function ft() {
2705
+ }), Y = We(() => E.value), Ae = /* @__PURE__ */ We(() => I.value), ft = /* @__PURE__ */ We(() => b.value);
2706
+ function _t() {
2687
2707
  return W(m) ? m : null;
2688
2708
  }
2689
- function _t(_) {
2709
+ function mt(_) {
2690
2710
  m = _, p.postTranslation = _;
2691
2711
  }
2692
- function mt() {
2712
+ function dt() {
2693
2713
  return S;
2694
2714
  }
2695
- function dt(_) {
2715
+ function Et(_) {
2696
2716
  _ !== null && (f = wn(_)), S = _, p.missing = f;
2697
2717
  }
2698
- function Et(_, T) {
2718
+ function pt(_, T) {
2699
2719
  return _ !== "translate" || !T.resolvedMessage;
2700
2720
  }
2701
- const _e = (_, T, V, B, be, Ze) => {
2721
+ const _e = (_, T, V, B, be, ze) => {
2702
2722
  w();
2703
2723
  let Se;
2704
2724
  try {
2705
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? Oa() : void 0), Se = _(p);
2725
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? va() : void 0), Se = _(p);
2706
2726
  } finally {
2707
2727
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = void 0);
2708
2728
  }
2709
2729
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2710
- j(Se) && Se === it || V === "translate exists" && !Se) {
2711
- const [he, yr] = T();
2712
- if (process.env.NODE_ENV !== "production" && t && I(he) && Et(V, yr) && (D && (ct(A, he) || _r(N, he)) && ue(Me(ne.FALLBACK_TO_ROOT, {
2730
+ j(Se) && Se === ct || V === "translate exists" && !Se) {
2731
+ const [he, Pr] = T();
2732
+ if (process.env.NODE_ENV !== "production" && t && L(he) && pt(V, Pr) && (D && (ut(A, he) || mr(N, he)) && ue(Me(ne.FALLBACK_TO_ROOT, {
2713
2733
  key: he,
2714
2734
  type: V
2715
2735
  })), process.env.NODE_ENV !== "production")) {
@@ -2723,70 +2743,70 @@ function rn(e = {}) {
2723
2743
  }
2724
2744
  return t && D ? B(t) : be(he);
2725
2745
  } else {
2726
- if (Ze(Se))
2746
+ if (ze(Se))
2727
2747
  return Se;
2728
2748
  throw z(G.UNEXPECTED_RETURN_TYPE);
2729
2749
  }
2730
2750
  };
2731
2751
  function Ue(..._) {
2732
- return _e((T) => Reflect.apply(kn, null, [T, ..._]), () => Ft(..._), "translate", (T) => Reflect.apply(T.t, T, [..._]), (T) => T, (T) => I(T));
2752
+ return _e((T) => Reflect.apply(kn, null, [T, ..._]), () => Ut(..._), "translate", (T) => Reflect.apply(T.t, T, [..._]), (T) => T, (T) => L(T));
2733
2753
  }
2734
- function pt(..._) {
2754
+ function gt(..._) {
2735
2755
  const [T, V, B] = _;
2736
2756
  if (B && !M(B))
2737
2757
  throw z(G.INVALID_ARGUMENT);
2738
2758
  return Ue(T, V, J({ resolvedMessage: !0 }, B || {}));
2739
2759
  }
2740
- function gt(..._) {
2741
- return _e((T) => Reflect.apply(Cn, null, [T, ..._]), () => Rt(..._), "datetime format", (T) => Reflect.apply(T.d, T, [..._]), () => rt, (T) => I(T) || H(T));
2742
- }
2743
2760
  function Nt(..._) {
2744
- return _e((T) => Reflect.apply(Sn, null, [T, ..._]), () => Mt(..._), "number format", (T) => Reflect.apply(T.n, T, [..._]), () => rt, (T) => I(T) || H(T));
2761
+ return _e((T) => Reflect.apply(Cn, null, [T, ..._]), () => Mt(..._), "datetime format", (T) => Reflect.apply(T.d, T, [..._]), () => st, (T) => L(T) || H(T));
2762
+ }
2763
+ function Tt(..._) {
2764
+ return _e((T) => Reflect.apply(Sn, null, [T, ..._]), () => Ft(..._), "number format", (T) => Reflect.apply(T.n, T, [..._]), () => st, (T) => L(T) || H(T));
2745
2765
  }
2746
- function Tt(_) {
2747
- return _.map((T) => I(T) || j(T) || F(T) ? Rn(String(T)) : T);
2766
+ function bt(_) {
2767
+ return _.map((T) => L(T) || j(T) || F(T) ? Rn(String(T)) : T);
2748
2768
  }
2749
- const bt = {
2750
- normalize: Tt,
2769
+ const ht = {
2770
+ normalize: bt,
2751
2771
  interpolate: (_) => _,
2752
2772
  type: "vnode"
2753
2773
  };
2754
- function Qe(..._) {
2774
+ function qe(..._) {
2755
2775
  return _e((T) => {
2756
2776
  let V;
2757
2777
  const B = T;
2758
2778
  try {
2759
- B.processor = bt, V = Reflect.apply(kn, null, [B, ..._]);
2779
+ B.processor = ht, V = Reflect.apply(kn, null, [B, ..._]);
2760
2780
  } finally {
2761
2781
  B.processor = null;
2762
2782
  }
2763
2783
  return V;
2764
- }, () => Ft(..._), "translate", (T) => T[wt](..._), (T) => [Rn(T)], (T) => H(T));
2784
+ }, () => Ut(..._), "translate", (T) => T[Vt](..._), (T) => [Rn(T)], (T) => H(T));
2765
2785
  }
2766
- function ht(..._) {
2767
- return _e((T) => Reflect.apply(Sn, null, [T, ..._]), () => Mt(..._), "number format", (T) => T[$t](..._), Fn, (T) => I(T) || H(T));
2786
+ function It(..._) {
2787
+ return _e((T) => Reflect.apply(Sn, null, [T, ..._]), () => Ft(..._), "number format", (T) => T[Wt](..._), Fn, (T) => L(T) || H(T));
2768
2788
  }
2769
- function qe(..._) {
2770
- return _e((T) => Reflect.apply(Cn, null, [T, ..._]), () => Rt(..._), "datetime format", (T) => T[Vt](..._), Fn, (T) => I(T) || H(T));
2789
+ function Ze(..._) {
2790
+ return _e((T) => Reflect.apply(Cn, null, [T, ..._]), () => Mt(..._), "datetime format", (T) => T[$t](..._), Fn, (T) => L(T) || H(T));
2771
2791
  }
2772
2792
  function Lt(_) {
2773
2793
  v = _, p.pluralRules = v;
2774
2794
  }
2775
- function It(_, T) {
2795
+ function Ot(_, T) {
2776
2796
  return _e(() => {
2777
2797
  if (!_)
2778
2798
  return !1;
2779
- const V = I(T) ? T : i.value, B = Te(V), be = p.messageResolver(B, _);
2780
- return se(be) || te(be) || I(be);
2781
- }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, T]), Za, (V) => F(V));
2799
+ const V = L(T) ? T : i.value, B = Te(V), be = p.messageResolver(B, _);
2800
+ return se(be) || te(be) || L(be);
2801
+ }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, T]), za, (V) => F(V));
2782
2802
  }
2783
2803
  function we(_) {
2784
2804
  let T = null;
2785
- const V = or(p, u.value, i.value);
2805
+ const V = lr(p, u.value, i.value);
2786
2806
  for (let B = 0; B < V.length; B++) {
2787
- const be = E.value[V[B]] || {}, Ze = p.messageResolver(be, _);
2788
- if (Ze != null) {
2789
- T = Ze;
2807
+ const be = E.value[V[B]] || {}, ze = p.messageResolver(be, _);
2808
+ if (ze != null) {
2809
+ T = ze;
2790
2810
  break;
2791
2811
  }
2792
2812
  }
@@ -2803,27 +2823,27 @@ function rn(e = {}) {
2803
2823
  if (s) {
2804
2824
  const V = { [_]: T };
2805
2825
  for (const B in V)
2806
- oe(V, B) && Xe(V[B]);
2826
+ oe(V, B) && Je(V[B]);
2807
2827
  T = V[_];
2808
2828
  }
2809
2829
  E.value[_] = T, p.messages = E.value;
2810
2830
  }
2811
- function Ot(_, T) {
2831
+ function vt(_, T) {
2812
2832
  E.value[_] = E.value[_] || {};
2813
2833
  const V = { [_]: T };
2814
2834
  if (s)
2815
2835
  for (const B in V)
2816
- oe(V, B) && Xe(V[B]);
2817
- T = V[_], nt(T, E.value[_]), p.messages = E.value;
2836
+ oe(V, B) && Je(V[B]);
2837
+ T = V[_], rt(T, E.value[_]), p.messages = E.value;
2818
2838
  }
2819
2839
  function l(_) {
2820
- return L.value[_] || {};
2840
+ return I.value[_] || {};
2821
2841
  }
2822
2842
  function c(_, T) {
2823
- L.value[_] = T, p.datetimeFormats = L.value, An(p, _, T);
2843
+ I.value[_] = T, p.datetimeFormats = I.value, An(p, _, T);
2824
2844
  }
2825
2845
  function g(_, T) {
2826
- L.value[_] = J(L.value[_] || {}, T), p.datetimeFormats = L.value, An(p, _, T);
2846
+ I.value[_] = J(I.value[_] || {}, T), p.datetimeFormats = I.value, An(p, _, T);
2827
2847
  }
2828
2848
  function y(_) {
2829
2849
  return b.value[_] || {};
@@ -2834,9 +2854,9 @@ function rn(e = {}) {
2834
2854
  function K(_, T) {
2835
2855
  b.value[_] = J(b.value[_] || {}, T), p.numberFormats = b.value, yn(p, _, T);
2836
2856
  }
2837
- Un++, t && le && (Pt(t.locale, (_) => {
2857
+ Un++, t && le && (Dt(t.locale, (_) => {
2838
2858
  o && (i.value = _, p.locale = _, Ge(p, i.value, u.value));
2839
- }), Pt(t.fallbackLocale, (_) => {
2859
+ }), Dt(t.fallbackLocale, (_) => {
2840
2860
  o && (u.value = _, p.fallbackLocale = _, Ge(p, i.value, u.value));
2841
2861
  }));
2842
2862
  const U = {
@@ -2901,73 +2921,73 @@ function rn(e = {}) {
2901
2921
  t: Ue,
2902
2922
  getLocaleMessage: Te,
2903
2923
  setLocaleMessage: $e,
2904
- mergeLocaleMessage: Ot,
2905
- getPostTranslationHandler: ft,
2906
- setPostTranslationHandler: _t,
2907
- getMissingHandler: mt,
2908
- setMissingHandler: dt,
2909
- [br]: Lt
2924
+ mergeLocaleMessage: vt,
2925
+ getPostTranslationHandler: _t,
2926
+ setPostTranslationHandler: mt,
2927
+ getMissingHandler: dt,
2928
+ setMissingHandler: Et,
2929
+ [hr]: Lt
2910
2930
  };
2911
- return U.datetimeFormats = Ae, U.numberFormats = ut, U.rt = pt, U.te = It, U.tm = Ve, U.d = gt, U.n = Nt, U.getDateTimeFormat = l, U.setDateTimeFormat = c, U.mergeDateTimeFormat = g, U.getNumberFormat = y, U.setNumberFormat = x, U.mergeNumberFormat = K, U[hr] = n, U[wt] = Qe, U[Vt] = qe, U[$t] = ht, process.env.NODE_ENV !== "production" && (U[Ce] = (_) => {
2931
+ return U.datetimeFormats = Ae, U.numberFormats = ft, U.rt = gt, U.te = Ot, U.tm = Ve, U.d = Nt, U.n = Tt, U.getDateTimeFormat = l, U.setDateTimeFormat = c, U.mergeDateTimeFormat = g, U.getNumberFormat = y, U.setNumberFormat = x, U.mergeNumberFormat = K, U[Ir] = n, U[Vt] = qe, U[$t] = Ze, U[Wt] = It, process.env.NODE_ENV !== "production" && (U[Ce] = (_) => {
2912
2932
  p.__v_emitter = _;
2913
- }, U[je] = () => {
2933
+ }, U[Xe] = () => {
2914
2934
  p.__v_emitter = void 0;
2915
2935
  }), U;
2916
2936
  }
2917
- const Or = "vue-i18n: composer properties", yt = {
2937
+ const vr = "vue-i18n: composer properties", Pt = {
2918
2938
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2919
2939
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2920
2940
  "vue-i18n-timeline": "Vue I18n"
2921
- }, eo = {
2922
- "vue-i18n-resource-inspector": "Search for scopes ..."
2923
2941
  }, to = {
2942
+ "vue-i18n-resource-inspector": "Search for scopes ..."
2943
+ }, no = {
2924
2944
  "vue-i18n-timeline": 16764185
2925
2945
  };
2926
- let Gt;
2927
- async function no(e, t) {
2946
+ let xt;
2947
+ async function ro(e, t) {
2928
2948
  return new Promise((n, r) => {
2929
2949
  try {
2930
- ja({
2950
+ Xa({
2931
2951
  id: "vue-devtools-plugin-vue-i18n",
2932
- label: yt["vue-devtools-plugin-vue-i18n"],
2952
+ label: Pt["vue-devtools-plugin-vue-i18n"],
2933
2953
  packageName: "vue-i18n",
2934
2954
  homepage: "https://vue-i18n.intlify.dev",
2935
2955
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2936
- componentStateTypes: [Or],
2956
+ componentStateTypes: [vr],
2937
2957
  app: e
2938
2958
  // eslint-disable-line @typescript-eslint/no-explicit-any
2939
2959
  }, (s) => {
2940
- Gt = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2941
- ro(o, i, t);
2960
+ xt = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2961
+ so(o, i, t);
2942
2962
  }), s.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
2943
2963
  o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Vn(i, o.__VUE_I18N__) : Vn(i, o.__VUE_I18N__));
2944
2964
  }), s.addInspector({
2945
2965
  id: "vue-i18n-resource-inspector",
2946
- label: yt["vue-i18n-resource-inspector"],
2966
+ label: Pt["vue-i18n-resource-inspector"],
2947
2967
  icon: "language",
2948
- treeFilterPlaceholder: eo["vue-i18n-resource-inspector"]
2968
+ treeFilterPlaceholder: to["vue-i18n-resource-inspector"]
2949
2969
  }), s.on.getInspectorTree((o) => {
2950
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && io(o, t);
2970
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && co(o, t);
2951
2971
  });
2952
2972
  const a = /* @__PURE__ */ new Map();
2953
2973
  s.on.getInspectorState(async (o) => {
2954
2974
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2955
- if (s.unhighlightElement(), uo(o, t), o.nodeId === "global") {
2975
+ if (s.unhighlightElement(), fo(o, t), o.nodeId === "global") {
2956
2976
  if (!a.has(o.app)) {
2957
2977
  const [i] = await s.getComponentInstances(o.app);
2958
2978
  a.set(o.app, i);
2959
2979
  }
2960
2980
  s.highlightElement(a.get(o.app));
2961
2981
  } else {
2962
- const i = co(o.nodeId, t);
2982
+ const i = uo(o.nodeId, t);
2963
2983
  i && s.highlightElement(i);
2964
2984
  }
2965
2985
  }), s.on.editInspectorState((o) => {
2966
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && _o(o, t);
2986
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && mo(o, t);
2967
2987
  }), s.addTimelineLayer({
2968
2988
  id: "vue-i18n-timeline",
2969
- label: yt["vue-i18n-timeline"],
2970
- color: to["vue-i18n-timeline"]
2989
+ label: Pt["vue-i18n-timeline"],
2990
+ color: no["vue-i18n-timeline"]
2971
2991
  }), n(!0);
2972
2992
  });
2973
2993
  } catch (s) {
@@ -2975,14 +2995,14 @@ async function no(e, t) {
2975
2995
  }
2976
2996
  });
2977
2997
  }
2978
- function vr(e) {
2998
+ function Cr(e) {
2979
2999
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2980
3000
  }
2981
- function ro(e, t, n) {
3001
+ function so(e, t, n) {
2982
3002
  const r = n.mode === "composition" ? n.global : n.global.__composer;
2983
3003
  if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== r) {
2984
3004
  const s = {
2985
- label: `i18n (${vr(e)} Scope)`,
3005
+ label: `i18n (${Cr(e)} Scope)`,
2986
3006
  textColor: 0,
2987
3007
  backgroundColor: 16764185
2988
3008
  };
@@ -2990,7 +3010,7 @@ function ro(e, t, n) {
2990
3010
  }
2991
3011
  }
2992
3012
  function Vn(e, t) {
2993
- const n = Or;
3013
+ const n = vr;
2994
3014
  e.state.push({
2995
3015
  type: n,
2996
3016
  key: "locale",
@@ -3032,30 +3052,30 @@ function sn(e) {
3032
3052
  const t = {};
3033
3053
  return Object.keys(e).forEach((n) => {
3034
3054
  const r = e[n];
3035
- W(r) && "source" in r ? t[n] = lo(r) : se(r) && r.loc && r.loc.source ? t[n] = r.loc.source : M(r) ? t[n] = sn(r) : t[n] = r;
3055
+ W(r) && "source" in r ? t[n] = io(r) : se(r) && r.loc && r.loc.source ? t[n] = r.loc.source : M(r) ? t[n] = sn(r) : t[n] = r;
3036
3056
  }), t;
3037
3057
  }
3038
- const so = {
3058
+ const ao = {
3039
3059
  "<": "&lt;",
3040
3060
  ">": "&gt;",
3041
3061
  '"': "&quot;",
3042
3062
  "&": "&amp;"
3043
3063
  };
3044
- function ao(e) {
3045
- return e.replace(/[<>"&]/g, oo);
3046
- }
3047
3064
  function oo(e) {
3048
- return so[e] || e;
3065
+ return e.replace(/[<>"&]/g, lo);
3049
3066
  }
3050
3067
  function lo(e) {
3068
+ return ao[e] || e;
3069
+ }
3070
+ function io(e) {
3051
3071
  return {
3052
3072
  _custom: {
3053
3073
  type: "function",
3054
- display: `<span>ƒ</span> ${e.source ? `("${ao(e.source)}")` : "(?)"}`
3074
+ display: `<span>ƒ</span> ${e.source ? `("${oo(e.source)}")` : "(?)"}`
3055
3075
  }
3056
3076
  };
3057
3077
  }
3058
- function io(e, t) {
3078
+ function co(e, t) {
3059
3079
  e.rootNodes.push({
3060
3080
  id: "global",
3061
3081
  label: "Global Scope"
@@ -3065,11 +3085,11 @@ function io(e, t) {
3065
3085
  const a = t.mode === "composition" ? s : s.__composer;
3066
3086
  n !== a && e.rootNodes.push({
3067
3087
  id: a.id.toString(),
3068
- label: `${vr(r)} Scope`
3088
+ label: `${Cr(r)} Scope`
3069
3089
  });
3070
3090
  }
3071
3091
  }
3072
- function co(e, t) {
3092
+ function uo(e, t) {
3073
3093
  let n = null;
3074
3094
  if (e !== "global") {
3075
3095
  for (const [r, s] of t.__instances.entries())
@@ -3080,7 +3100,7 @@ function co(e, t) {
3080
3100
  }
3081
3101
  return n;
3082
3102
  }
3083
- function Cr(e, t) {
3103
+ function Ar(e, t) {
3084
3104
  if (e === "global")
3085
3105
  return t.mode === "composition" ? t.global : t.global.__composer;
3086
3106
  {
@@ -3088,11 +3108,11 @@ function Cr(e, t) {
3088
3108
  return n ? t.mode === "composition" ? n : n.__composer : null;
3089
3109
  }
3090
3110
  }
3091
- function uo(e, t) {
3092
- const n = Cr(e.nodeId, t);
3093
- return n && (e.state = fo(n)), null;
3111
+ function fo(e, t) {
3112
+ const n = Ar(e.nodeId, t);
3113
+ return n && (e.state = _o(n)), null;
3094
3114
  }
3095
- function fo(e) {
3115
+ function _o(e) {
3096
3116
  const t = {}, n = "Locale related info", r = [
3097
3117
  {
3098
3118
  type: n,
@@ -3151,10 +3171,10 @@ function fo(e) {
3151
3171
  }
3152
3172
  return t;
3153
3173
  }
3154
- function Je(e, t) {
3155
- if (Gt) {
3174
+ function Qe(e, t) {
3175
+ if (xt) {
3156
3176
  let n;
3157
- t && "groupId" in t && (n = t.groupId, delete t.groupId), Gt.addTimelineEvent({
3177
+ t && "groupId" in t && (n = t.groupId, delete t.groupId), xt.addTimelineEvent({
3158
3178
  layerId: "vue-i18n-timeline",
3159
3179
  event: {
3160
3180
  title: e,
@@ -3167,15 +3187,15 @@ function Je(e, t) {
3167
3187
  });
3168
3188
  }
3169
3189
  }
3170
- function _o(e, t) {
3171
- const n = Cr(e.nodeId, t);
3190
+ function mo(e, t) {
3191
+ const n = Ar(e.nodeId, t);
3172
3192
  if (n) {
3173
3193
  const [r] = e.path;
3174
- r === "locale" && I(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (I(e.state.value) || H(e.state.value) || M(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && F(e.state.value) && (n.inheritLocale = e.state.value);
3194
+ r === "locale" && L(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (L(e.state.value) || H(e.state.value) || M(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && F(e.state.value) && (n.inheritLocale = e.state.value);
3175
3195
  }
3176
3196
  }
3177
- function mo(e) {
3178
- const t = I(e.locale) ? e.locale : Be, n = I(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = W(e.missing) ? e.missing : void 0, s = F(e.silentTranslationWarn) || ke(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = F(e.silentFallbackWarn) || ke(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, u = R(e.modifiers) ? e.modifiers : {}, E = e.pluralizationRules, L = W(e.postTranslation) ? e.postTranslation : void 0, b = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, A = F(e.sync) ? e.sync : !0;
3197
+ function Eo(e) {
3198
+ const t = L(e.locale) ? e.locale : je, n = L(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = W(e.missing) ? e.missing : void 0, s = F(e.silentTranslationWarn) || ke(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = F(e.silentFallbackWarn) || ke(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, u = R(e.modifiers) ? e.modifiers : {}, E = e.pluralizationRules, I = W(e.postTranslation) ? e.postTranslation : void 0, b = L(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, A = F(e.sync) ? e.sync : !0;
3179
3199
  let D = e.messages;
3180
3200
  if (R(e.sharedMessages)) {
3181
3201
  const O = e.sharedMessages;
@@ -3199,7 +3219,7 @@ function mo(e) {
3199
3219
  fallbackFormat: i,
3200
3220
  modifiers: u,
3201
3221
  pluralRules: E,
3202
- postTranslation: L,
3222
+ postTranslation: I,
3203
3223
  warnHtmlMessage: b,
3204
3224
  escapeParameter: N,
3205
3225
  messageResolver: e.messageResolver,
@@ -3209,8 +3229,8 @@ function mo(e) {
3209
3229
  __injectWithOption: f
3210
3230
  };
3211
3231
  }
3212
- function xt(e = {}) {
3213
- const t = rn(mo(e)), { __extender: n } = e, r = {
3232
+ function Ht(e = {}) {
3233
+ const t = rn(Eo(e)), { __extender: n } = e, r = {
3214
3234
  // id
3215
3235
  id: t.id,
3216
3236
  // locale
@@ -3375,10 +3395,10 @@ function xt(e = {}) {
3375
3395
  a[Ce] && a[Ce](s);
3376
3396
  }, r.__disableEmitter = () => {
3377
3397
  const s = t;
3378
- s[je] && s[je]();
3398
+ s[Xe] && s[Xe]();
3379
3399
  }), r;
3380
3400
  }
3381
- function Eo(e, t, n) {
3401
+ function po(e, t, n) {
3382
3402
  return {
3383
3403
  beforeCreate() {
3384
3404
  const r = De();
@@ -3390,7 +3410,7 @@ function Eo(e, t, n) {
3390
3410
  if (s.__i18n && (a.__i18n = s.__i18n), a.__root = t, this === this.$root)
3391
3411
  this.$i18n = $n(e, a);
3392
3412
  else {
3393
- a.__injectWithOption = !0, a.__extender = n.__vueI18nExtend, this.$i18n = xt(a);
3413
+ a.__injectWithOption = !0, a.__extender = n.__vueI18nExtend, this.$i18n = Ht(a);
3394
3414
  const o = this.$i18n;
3395
3415
  o.__extender && (o.__disposer = o.__extender(this.$i18n));
3396
3416
  }
@@ -3398,7 +3418,7 @@ function Eo(e, t, n) {
3398
3418
  if (this === this.$root)
3399
3419
  this.$i18n = $n(e, s);
3400
3420
  else {
3401
- this.$i18n = xt({
3421
+ this.$i18n = Ht({
3402
3422
  __i18n: s.__i18n,
3403
3423
  __injectWithOption: !0,
3404
3424
  __extender: n.__vueI18nExtend,
@@ -3409,7 +3429,7 @@ function Eo(e, t, n) {
3409
3429
  }
3410
3430
  else
3411
3431
  this.$i18n = e;
3412
- s.__i18nGlobal && Ir(t, s, s), this.$t = (...a) => this.$i18n.t(...a), this.$rt = (...a) => this.$i18n.rt(...a), this.$te = (a, o) => this.$i18n.te(a, o), this.$d = (...a) => this.$i18n.d(...a), this.$n = (...a) => this.$i18n.n(...a), this.$tm = (a) => this.$i18n.tm(a), n.__setInstance(r, this.$i18n);
3432
+ s.__i18nGlobal && Or(t, s, s), this.$t = (...a) => this.$i18n.t(...a), this.$rt = (...a) => this.$i18n.rt(...a), this.$te = (a, o) => this.$i18n.te(a, o), this.$d = (...a) => this.$i18n.d(...a), this.$n = (...a) => this.$i18n.n(...a), this.$tm = (a) => this.$i18n.tm(a), n.__setInstance(r, this.$i18n);
3413
3433
  },
3414
3434
  mounted() {
3415
3435
  if (process.env.NODE_ENV !== "production" && this.$i18n) {
@@ -3419,7 +3439,7 @@ function Eo(e, t, n) {
3419
3439
  const s = this.$i18n;
3420
3440
  r.__VUE_I18N__ = s.__composer;
3421
3441
  const a = this.__v_emitter = qt();
3422
- s.__enableEmitter && s.__enableEmitter(a), a.on("*", Je);
3442
+ s.__enableEmitter && s.__enableEmitter(a), a.on("*", Qe);
3423
3443
  }
3424
3444
  },
3425
3445
  unmounted() {
@@ -3427,12 +3447,12 @@ function Eo(e, t, n) {
3427
3447
  if (!r)
3428
3448
  throw z(G.UNEXPECTED_ERROR);
3429
3449
  const s = this.$i18n;
3430
- process.env.NODE_ENV !== "production" && r.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Je), delete this.__v_emitter), this.$i18n && (s.__disableEmitter && s.__disableEmitter(), delete r.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, s.__disposer && (s.__disposer(), delete s.__disposer, delete s.__extender), n.__deleteInstance(r), delete this.$i18n;
3450
+ process.env.NODE_ENV !== "production" && r.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Qe), delete this.__v_emitter), this.$i18n && (s.__disableEmitter && s.__disableEmitter(), delete r.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, s.__disposer && (s.__disposer(), delete s.__disposer, delete s.__extender), n.__deleteInstance(r), delete this.$i18n;
3431
3451
  }
3432
3452
  };
3433
3453
  }
3434
3454
  function $n(e, t) {
3435
- e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[br](t.pluralizationRules || e.pluralizationRules);
3455
+ e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[hr](t.pluralizationRules || e.pluralizationRules);
3436
3456
  const n = nn(e.locale, {
3437
3457
  messages: t.messages,
3438
3458
  __i18n: t.__i18n
@@ -3457,7 +3477,7 @@ const an = {
3457
3477
  type: Object
3458
3478
  }
3459
3479
  };
3460
- function po({ slots: e }, t) {
3480
+ function go({ slots: e }, t) {
3461
3481
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
3462
3482
  ...r,
3463
3483
  // prettier-ignore
@@ -3467,10 +3487,10 @@ function po({ slots: e }, t) {
3467
3487
  return s && (n[r] = s()), n;
3468
3488
  }, $());
3469
3489
  }
3470
- function Ar() {
3490
+ function Sr() {
3471
3491
  return Yt;
3472
3492
  }
3473
- const go = /* @__PURE__ */ pe({
3493
+ const No = /* @__PURE__ */ pe({
3474
3494
  /* eslint-disable */
3475
3495
  name: "i18n-t",
3476
3496
  props: J({
@@ -3492,32 +3512,32 @@ const go = /* @__PURE__ */ pe({
3492
3512
  });
3493
3513
  return () => {
3494
3514
  const a = Object.keys(n).filter((b) => b[0] !== "_"), o = $();
3495
- e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
3496
- const i = po(t, a), u = s[wt](e.keypath, i, o), E = J($(), r), L = I(e.tag) || M(e.tag) ? e.tag : Ar();
3497
- return Ht(L, E, u);
3515
+ e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = L(e.plural) ? +e.plural : e.plural);
3516
+ const i = go(t, a), u = s[Vt](e.keypath, i, o), E = J($(), r), I = L(e.tag) || M(e.tag) ? e.tag : Sr();
3517
+ return Ye(I, E, u);
3498
3518
  };
3499
3519
  }
3500
- }), Wn = go;
3501
- function No(e) {
3502
- return H(e) && !I(e[0]);
3520
+ }), Wn = No;
3521
+ function To(e) {
3522
+ return H(e) && !L(e[0]);
3503
3523
  }
3504
- function Sr(e, t, n, r) {
3524
+ function yr(e, t, n, r) {
3505
3525
  const { slots: s, attrs: a } = t;
3506
3526
  return () => {
3507
3527
  const o = { part: !0 };
3508
3528
  let i = $();
3509
- e.locale && (o.locale = e.locale), I(e.format) ? o.key = e.format : M(e.format) && (I(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((N, A) => n.includes(A) ? J($(), N, { [A]: e.format[A] }) : N, $()));
3529
+ e.locale && (o.locale = e.locale), L(e.format) ? o.key = e.format : M(e.format) && (L(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((N, A) => n.includes(A) ? J($(), N, { [A]: e.format[A] }) : N, $()));
3510
3530
  const u = r(e.value, o, i);
3511
3531
  let E = [o.key];
3512
3532
  H(u) ? E = u.map((N, A) => {
3513
3533
  const D = s[N.type], C = D ? D({ [N.type]: N.value, index: A, parts: u }) : [N.value];
3514
- return No(C) && (C[0].key = `${N.type}-${A}`), C;
3515
- }) : I(u) && (E = [u]);
3516
- const L = J($(), a), b = I(e.tag) || M(e.tag) ? e.tag : Ar();
3517
- return Ht(b, L, E);
3534
+ return To(C) && (C[0].key = `${N.type}-${A}`), C;
3535
+ }) : L(u) && (E = [u]);
3536
+ const I = J($(), a), b = L(e.tag) || M(e.tag) ? e.tag : Sr();
3537
+ return Ye(b, I, E);
3518
3538
  };
3519
3539
  }
3520
- const To = /* @__PURE__ */ pe({
3540
+ const bo = /* @__PURE__ */ pe({
3521
3541
  /* eslint-disable */
3522
3542
  name: "i18n-n",
3523
3543
  props: J({
@@ -3536,13 +3556,13 @@ const To = /* @__PURE__ */ pe({
3536
3556
  useScope: e.scope,
3537
3557
  __useComponent: !0
3538
3558
  });
3539
- return Sr(e, t, pr, (...r) => (
3559
+ return yr(e, t, gr, (...r) => (
3540
3560
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3541
- n[$t](...r)
3561
+ n[Wt](...r)
3542
3562
  ));
3543
3563
  }
3544
- }), Gn = To;
3545
- function bo(e, t) {
3564
+ }), Gn = bo;
3565
+ function ho(e, t) {
3546
3566
  const n = e;
3547
3567
  if (e.mode === "composition")
3548
3568
  return n.__getInstance(t) || e.global;
@@ -3551,22 +3571,22 @@ function bo(e, t) {
3551
3571
  return r != null ? r.__composer : e.global.__composer;
3552
3572
  }
3553
3573
  }
3554
- function ho(e) {
3574
+ function Io(e) {
3555
3575
  const t = (o) => {
3556
3576
  process.env.NODE_ENV !== "production" && Xt(Me(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3557
3577
  const { instance: i, value: u } = o;
3558
3578
  if (!i || !i.$)
3559
3579
  throw z(G.UNEXPECTED_ERROR);
3560
- const E = bo(e, i.$), L = xn(u);
3580
+ const E = ho(e, i.$), I = xn(u);
3561
3581
  return [
3562
- Reflect.apply(E.t, E, [...Hn(L)]),
3582
+ Reflect.apply(E.t, E, [...Hn(I)]),
3563
3583
  E
3564
3584
  ];
3565
3585
  };
3566
3586
  return {
3567
3587
  created: (o, i) => {
3568
3588
  const [u, E] = t(i);
3569
- le && e.global === E && (o.__i18nWatcher = Pt(E.locale, () => {
3589
+ le && e.global === E && (o.__i18nWatcher = Dt(E.locale, () => {
3570
3590
  i.instance && i.instance.$forceUpdate();
3571
3591
  })), o.__composer = E, o.textContent = u;
3572
3592
  },
@@ -3588,7 +3608,7 @@ function ho(e) {
3588
3608
  };
3589
3609
  }
3590
3610
  function xn(e) {
3591
- if (I(e))
3611
+ if (L(e))
3592
3612
  return { path: e };
3593
3613
  if (R(e)) {
3594
3614
  if (!("path" in e))
@@ -3599,17 +3619,17 @@ function xn(e) {
3599
3619
  }
3600
3620
  function Hn(e) {
3601
3621
  const { path: t, locale: n, args: r, choice: s, plural: a } = e, o = {}, i = r || {};
3602
- return I(n) && (o.locale = n), j(s) && (o.plural = s), j(a) && (o.plural = a), [t, i, o];
3622
+ return L(n) && (o.locale = n), j(s) && (o.plural = s), j(a) && (o.plural = a), [t, i, o];
3603
3623
  }
3604
3624
  function Lo(e, t, ...n) {
3605
3625
  const r = R(n[0]) ? n[0] : {};
3606
- (!F(r.globalInstall) || r.globalInstall) && ([Wn.name, "I18nT"].forEach((a) => e.component(a, Wn)), [Gn.name, "I18nN"].forEach((a) => e.component(a, Gn)), [Kn.name, "I18nD"].forEach((a) => e.component(a, Kn))), e.directive("t", ho(t));
3626
+ (!F(r.globalInstall) || r.globalInstall) && ([Wn.name, "I18nT"].forEach((a) => e.component(a, Wn)), [Gn.name, "I18nN"].forEach((a) => e.component(a, Gn)), [Kn.name, "I18nD"].forEach((a) => e.component(a, Kn))), e.directive("t", Io(t));
3607
3627
  }
3608
- const Io = /* @__PURE__ */ fe("global-vue-i18n");
3609
- function Oo(e = {}) {
3628
+ const Oo = /* @__PURE__ */ fe("global-vue-i18n");
3629
+ function vo(e = {}) {
3610
3630
  const t = __VUE_I18N_LEGACY_API__ && F(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3611
3631
  process.env.NODE_ENV !== "production" && t && Xt(Me(ne.DEPRECATE_LEGACY_MODE));
3612
- const n = F(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [s, a] = vo(e, t), o = /* @__PURE__ */ fe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3632
+ const n = F(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [s, a] = Co(e, t), o = /* @__PURE__ */ fe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3613
3633
  function i(b) {
3614
3634
  return r.get(b) || null;
3615
3635
  }
@@ -3619,24 +3639,24 @@ function Oo(e = {}) {
3619
3639
  function E(b) {
3620
3640
  r.delete(b);
3621
3641
  }
3622
- const L = {
3642
+ const I = {
3623
3643
  // mode
3624
3644
  get mode() {
3625
3645
  return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
3626
3646
  },
3627
3647
  // install plugin
3628
3648
  async install(b, ...N) {
3629
- if (process.env.NODE_ENV !== "production" && (b.__VUE_I18N__ = L), b.__VUE_I18N_SYMBOL__ = o, b.provide(b.__VUE_I18N_SYMBOL__, L), R(N[0])) {
3649
+ if (process.env.NODE_ENV !== "production" && (b.__VUE_I18N__ = I), b.__VUE_I18N_SYMBOL__ = o, b.provide(b.__VUE_I18N_SYMBOL__, I), R(N[0])) {
3630
3650
  const C = N[0];
3631
- L.__composerExtend = C.__composerExtend, L.__vueI18nExtend = C.__vueI18nExtend;
3651
+ I.__composerExtend = C.__composerExtend, I.__vueI18nExtend = C.__vueI18nExtend;
3632
3652
  }
3633
3653
  let A = null;
3634
- !t && n && (A = Ro(b, L.global)), __VUE_I18N_FULL_INSTALL__ && Lo(b, L, ...N), __VUE_I18N_LEGACY_API__ && t && b.mixin(Eo(a, a.__composer, L));
3654
+ !t && n && (A = Mo(b, I.global)), __VUE_I18N_FULL_INSTALL__ && Lo(b, I, ...N), __VUE_I18N_LEGACY_API__ && t && b.mixin(po(a, a.__composer, I));
3635
3655
  const D = b.unmount;
3636
3656
  if (b.unmount = () => {
3637
- A && A(), L.dispose(), D();
3657
+ A && A(), I.dispose(), D();
3638
3658
  }, process.env.NODE_ENV !== "production") {
3639
- if (!await no(b, L))
3659
+ if (!await ro(b, I))
3640
3660
  throw z(G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3641
3661
  const S = qt();
3642
3662
  if (t) {
@@ -3646,7 +3666,7 @@ function Oo(e = {}) {
3646
3666
  const f = a;
3647
3667
  f[Ce] && f[Ce](S);
3648
3668
  }
3649
- S.on("*", Je);
3669
+ S.on("*", Qe);
3650
3670
  }
3651
3671
  },
3652
3672
  // global accessor
@@ -3665,7 +3685,7 @@ function Oo(e = {}) {
3665
3685
  // @internal
3666
3686
  __deleteInstance: E
3667
3687
  };
3668
- return L;
3688
+ return I;
3669
3689
  }
3670
3690
  function on(e = {}) {
3671
3691
  const t = De();
@@ -3673,51 +3693,51 @@ function on(e = {}) {
3673
3693
  throw z(G.MUST_BE_CALL_SETUP_TOP);
3674
3694
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3675
3695
  throw z(G.NOT_INSTALLED);
3676
- const n = Co(t), r = So(n), s = Lr(t), a = Ao(e, s);
3696
+ const n = Ao(t), r = yo(n), s = Lr(t), a = So(e, s);
3677
3697
  if (a === "global")
3678
- return Ir(r, e, s), r;
3698
+ return Or(r, e, s), r;
3679
3699
  if (a === "parent") {
3680
- let u = yo(n, t, e.__useComponent);
3700
+ let u = Po(n, t, e.__useComponent);
3681
3701
  return u == null && (process.env.NODE_ENV !== "production" && ue(Me(ne.NOT_FOUND_PARENT_SCOPE)), u = r), u;
3682
3702
  }
3683
3703
  const o = n;
3684
3704
  let i = o.__getInstance(t);
3685
3705
  if (i == null) {
3686
3706
  const u = J({}, e);
3687
- "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = rn(u), o.__composerExtend && (i[Wt] = o.__composerExtend(i)), Do(o, t, i), o.__setInstance(t, i);
3707
+ "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = rn(u), o.__composerExtend && (i[Gt] = o.__composerExtend(i)), ko(o, t, i), o.__setInstance(t, i);
3688
3708
  } else
3689
3709
  process.env.NODE_ENV !== "production" && a === "local" && ue(Me(ne.DUPLICATE_USE_I18N_CALLING));
3690
3710
  return i;
3691
3711
  }
3692
- function vo(e, t) {
3693
- const n = Rr(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => xt(e)) : n.run(() => rn(e));
3712
+ function Co(e, t) {
3713
+ const n = Mr(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Ht(e)) : n.run(() => rn(e));
3694
3714
  if (r == null)
3695
3715
  throw z(G.UNEXPECTED_ERROR);
3696
3716
  return [n, r];
3697
3717
  }
3698
- function Co(e) {
3699
- const t = jn(e.isCE ? Io : e.appContext.app.__VUE_I18N_SYMBOL__);
3718
+ function Ao(e) {
3719
+ const t = jn(e.isCE ? Oo : e.appContext.app.__VUE_I18N_SYMBOL__);
3700
3720
  if (!t)
3701
3721
  throw z(e.isCE ? G.NOT_INSTALLED_WITH_PROVIDE : G.UNEXPECTED_ERROR);
3702
3722
  return t;
3703
3723
  }
3704
- function Ao(e, t) {
3705
- return lt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3724
+ function So(e, t) {
3725
+ return it(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3706
3726
  }
3707
- function So(e) {
3727
+ function yo(e) {
3708
3728
  return e.mode === "composition" ? e.global : e.global.__composer;
3709
3729
  }
3710
- function yo(e, t, n = !1) {
3730
+ function Po(e, t, n = !1) {
3711
3731
  let r = null;
3712
3732
  const s = t.root;
3713
- let a = Po(t, n);
3733
+ let a = Do(t, n);
3714
3734
  for (; a != null; ) {
3715
3735
  const o = e;
3716
3736
  if (e.mode === "composition")
3717
3737
  r = o.__getInstance(a);
3718
3738
  else if (__VUE_I18N_LEGACY_API__) {
3719
3739
  const i = o.__getInstance(a);
3720
- i != null && (r = i.__composer, n && r && !r[hr] && (r = null));
3740
+ i != null && (r = i.__composer, n && r && !r[Ir] && (r = null));
3721
3741
  }
3722
3742
  if (r != null || s === a)
3723
3743
  break;
@@ -3725,36 +3745,36 @@ function yo(e, t, n = !1) {
3725
3745
  }
3726
3746
  return r;
3727
3747
  }
3728
- function Po(e, t = !1) {
3748
+ function Do(e, t = !1) {
3729
3749
  return e == null ? null : t && e.vnode.ctx || e.parent;
3730
3750
  }
3731
- function Do(e, t, n) {
3751
+ function ko(e, t, n) {
3732
3752
  let r = null;
3733
3753
  wr(() => {
3734
3754
  if (process.env.NODE_ENV !== "production") {
3735
3755
  t.__VUE_I18N__ = n, r = qt();
3736
3756
  const s = n;
3737
- s[Ce] && s[Ce](r), r.on("*", Je);
3757
+ s[Ce] && s[Ce](r), r.on("*", Qe);
3738
3758
  }
3739
3759
  }, t), Vr(() => {
3740
3760
  const s = n;
3741
- process.env.NODE_ENV !== "production" && (r && r.off("*", Je), s[je] && s[je](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3742
- const a = s[Wt];
3743
- a && (a(), delete s[Wt]);
3761
+ process.env.NODE_ENV !== "production" && (r && r.off("*", Qe), s[Xe] && s[Xe](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3762
+ const a = s[Gt];
3763
+ a && (a(), delete s[Gt]);
3744
3764
  }, t);
3745
3765
  }
3746
- const ko = [
3766
+ const Ro = [
3747
3767
  "locale",
3748
3768
  "fallbackLocale",
3749
3769
  "availableLocales"
3750
3770
  ], Yn = ["t", "rt", "d", "n", "tm", "te"];
3751
- function Ro(e, t) {
3771
+ function Mo(e, t) {
3752
3772
  const n = /* @__PURE__ */ Object.create(null);
3753
- return ko.forEach((s) => {
3773
+ return Ro.forEach((s) => {
3754
3774
  const a = Object.getOwnPropertyDescriptor(t, s);
3755
3775
  if (!a)
3756
3776
  throw z(G.UNEXPECTED_ERROR);
3757
- const o = Mr(a.value) ? {
3777
+ const o = Fr(a.value) ? {
3758
3778
  get() {
3759
3779
  return a.value.value;
3760
3780
  },
@@ -3779,7 +3799,7 @@ function Ro(e, t) {
3779
3799
  });
3780
3800
  };
3781
3801
  }
3782
- const Mo = /* @__PURE__ */ pe({
3802
+ const Fo = /* @__PURE__ */ pe({
3783
3803
  /* eslint-disable */
3784
3804
  name: "i18n-d",
3785
3805
  props: J({
@@ -3798,140 +3818,141 @@ const Mo = /* @__PURE__ */ pe({
3798
3818
  useScope: e.scope,
3799
3819
  __useComponent: !0
3800
3820
  });
3801
- return Sr(e, t, Er, (...r) => (
3821
+ return yr(e, t, pr, (...r) => (
3802
3822
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3803
- n[Vt](...r)
3823
+ n[$t](...r)
3804
3824
  ));
3805
3825
  }
3806
- }), Kn = Mo;
3807
- Ja();
3808
- Ta(qs);
3809
- ba(da);
3810
- ha(or);
3826
+ }), Kn = Fo;
3827
+ Qa();
3828
+ ba(Zs);
3829
+ ha(Ea);
3830
+ Ia(lr);
3811
3831
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3812
- const e = Ie();
3813
- e.__INTLIFY__ = !0, Zs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3832
+ const e = Le();
3833
+ e.__INTLIFY__ = !0, zs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3814
3834
  }
3815
3835
  process.env.NODE_ENV;
3816
- const Fo = "名称", Uo = "供应商", wo = "版本", Vo = "描述", $o = "类别", Wo = "通用", Go = "I/O映射", xo = "Modbus从站通道", Ho = "状态", Yo = "以太网", Ko = "Modbus TCP服务器", Bo = "Modbus TCP客户端", jo = "Modbus TCP从站设备", Xo = "成都数字创新科技有限公司", Jo = { ethernet: "一种在以太网上充当Modbus服务器的设备。", modbusTcpServer: "一种在以太网上充当Modbus TCP服务器的设备。", modbusTcpClient: "一种在以太网上充当Modbus TCP客户端的设备。", modbusTCPSlaveDevice: "一种在以太网上充当Modbus TCP从站设备。" }, Qo = "网络接口", qo = "IP地址", Zo = "子网掩码", zo = "默认网关", el = "适配操作系统配置", tl = "总线周期任务", nl = "使用父总线循环设置", rl = "响应超时(ms)", sl = "Socket超时(ms)", al = "自动重连", ol = "从站IP地址", ll = "端口", il = " 看门狗", cl = "从站端口", ul = "绑定到适配器", fl = "保持寄存器", _l = "可写入", ml = "输入寄存器", dl = "离散位区域", El = "线圈", pl = "离散输入", gl = "数据模型", Nl = "起始地址", Tl = {
3817
- name: Fo,
3818
- supplier: Uo,
3819
- version: wo,
3820
- description: Vo,
3821
- category: $o,
3822
- general: Wo,
3823
- ioMapping: Go,
3824
- modbusSlaveChannel: xo,
3825
- status: Ho,
3826
- ethernet: Yo,
3827
- modbusTcpServer: Ko,
3828
- modbusTcpClient: Bo,
3829
- modbusTCPSlaveDevice: jo,
3830
- company: Xo,
3831
- descriptionMap: Jo,
3832
- netInterface: Qo,
3833
- ipAddress: qo,
3834
- subnetMask: Zo,
3835
- defaultGateway: zo,
3836
- adaptedOSConfiguration: el,
3837
- busCycleTask: tl,
3838
- defaultTask: nl,
3839
- responseTimeout: rl,
3840
- socketTimeout: sl,
3841
- reconnect: al,
3842
- slaveIpAddress: ol,
3843
- port: ll,
3844
- watchDog: il,
3845
- slavePort: cl,
3846
- bindToAdapter: ul,
3847
- holdingRegister: fl,
3848
- writable: _l,
3849
- inputRegister: ml,
3850
- discreteBitArea: dl,
3851
- coil: El,
3852
- discreteInput: pl,
3853
- dataModel: gl,
3854
- startAddress: Nl
3855
- }, bl = "Name", hl = "Supplier", Ll = "Version", Il = "Description", Ol = "Category", vl = "General", Cl = "I/O Mapping", Al = "Modbus Slave Channel", Sl = "Status", yl = "Ethernet", Pl = "Modbus TCP Server", Dl = "Modbus TCP Client", kl = "Modbus TCP Slave Device", Rl = "Chengdu AIOSYS Innovation Technology Co., Ltd.", Ml = { ethernet: "A device that works as a Modbus Server on Ethernet.", modbusTcpServer: "A device that works as a Modbus TCP Server.", modbusTcpClient: "A device that works as a Modbus TCP Client.", modbusTCPSlaveDevice: "A device that works as a Modbus TCP Slave Device." }, Fl = "Network Interface", Ul = "IP Address", wl = "Subnet Mask", Vl = "Default Gateway", $l = "Adapted OS Configuration", Wl = "Bus Cycle Task", Gl = "Use Parent Bus Cycle Setting", xl = "Response Timeout(ms)", Hl = "Socket Timeout(ms)", Yl = "Reconnect", Kl = "Slave IP Address", Bl = "Port", jl = "Watch Dog", Xl = "Slave Port", Jl = "Bind to Adapter", Ql = "Holding Register", ql = "Writable", Zl = "Input Register", zl = "Discrete Bit Area", ei = "Coil", ti = "Discrete Input", ni = "Data Model", ri = "Start Address", si = {
3856
- name: bl,
3857
- supplier: hl,
3836
+ const Uo = "名称", wo = "供应商", Vo = "版本", $o = "描述", Wo = "类别", Go = "通用", xo = "I/O映射", Ho = "Modbus从站通道", Yo = "状态", Ko = "以太网", Bo = "Modbus TCP服务器", jo = "Modbus TCP客户端", Xo = "Modbus TCP从站设备", Jo = "成都数字创新科技有限公司", Qo = { ethernet: "一种在以太网上充当Modbus服务器的设备。", modbusTcpServer: "一种在以太网上充当Modbus TCP服务器的设备。", modbusTcpClient: "一种在以太网上充当Modbus TCP客户端的设备。", modbusTCPSlaveDevice: "一种在以太网上充当Modbus TCP从站设备。" }, qo = "网络接口", Zo = "IP地址", zo = "子网掩码", el = "默认网关", tl = "适配操作系统配置", nl = "总线周期任务", rl = "使用父总线循环设置", sl = "响应超时(ms)", al = "Socket超时(ms)", ol = "自动重连", ll = "从站IP地址", il = "端口", cl = " 看门狗", ul = "从站端口", fl = "绑定到适配器", _l = "保持寄存器", ml = "可写入", dl = "输入寄存器", El = "离散位区域", pl = "线圈", gl = "离散输入", Nl = "数据模型", Tl = "起始地址", bl = {
3837
+ name: Uo,
3838
+ supplier: wo,
3839
+ version: Vo,
3840
+ description: $o,
3841
+ category: Wo,
3842
+ general: Go,
3843
+ ioMapping: xo,
3844
+ modbusSlaveChannel: Ho,
3845
+ status: Yo,
3846
+ ethernet: Ko,
3847
+ modbusTcpServer: Bo,
3848
+ modbusTcpClient: jo,
3849
+ modbusTCPSlaveDevice: Xo,
3850
+ company: Jo,
3851
+ descriptionMap: Qo,
3852
+ netInterface: qo,
3853
+ ipAddress: Zo,
3854
+ subnetMask: zo,
3855
+ defaultGateway: el,
3856
+ adaptedOSConfiguration: tl,
3857
+ busCycleTask: nl,
3858
+ defaultTask: rl,
3859
+ responseTimeout: sl,
3860
+ socketTimeout: al,
3861
+ reconnect: ol,
3862
+ slaveIpAddress: ll,
3863
+ port: il,
3864
+ watchDog: cl,
3865
+ slavePort: ul,
3866
+ bindToAdapter: fl,
3867
+ holdingRegister: _l,
3868
+ writable: ml,
3869
+ inputRegister: dl,
3870
+ discreteBitArea: El,
3871
+ coil: pl,
3872
+ discreteInput: gl,
3873
+ dataModel: Nl,
3874
+ startAddress: Tl
3875
+ }, hl = "Name", Il = "Supplier", Ll = "Version", Ol = "Description", vl = "Category", Cl = "General", Al = "I/O Mapping", Sl = "Modbus Slave Channel", yl = "Status", Pl = "Ethernet", Dl = "Modbus TCP Server", kl = "Modbus TCP Client", Rl = "Modbus TCP Slave Device", Ml = "Chengdu AIOSYS Innovation Technology Co., Ltd.", Fl = { ethernet: "A device that works as a Modbus Server on Ethernet.", modbusTcpServer: "A device that works as a Modbus TCP Server.", modbusTcpClient: "A device that works as a Modbus TCP Client.", modbusTCPSlaveDevice: "A device that works as a Modbus TCP Slave Device." }, Ul = "Network Interface", wl = "IP Address", Vl = "Subnet Mask", $l = "Default Gateway", Wl = "Adapted OS Configuration", Gl = "Bus Cycle Task", xl = "Use Parent Bus Cycle Setting", Hl = "Response Timeout(ms)", Yl = "Socket Timeout(ms)", Kl = "Reconnect", Bl = "Slave IP Address", jl = "Port", Xl = "Watch Dog", Jl = "Slave Port", Ql = "Bind to Adapter", ql = "Holding Register", Zl = "Writable", zl = "Input Register", ei = "Discrete Bit Area", ti = "Coil", ni = "Discrete Input", ri = "Data Model", si = "Start Address", ai = {
3876
+ name: hl,
3877
+ supplier: Il,
3858
3878
  version: Ll,
3859
- description: Il,
3860
- category: Ol,
3861
- general: vl,
3862
- ioMapping: Cl,
3863
- modbusSlaveChannel: Al,
3864
- status: Sl,
3865
- ethernet: yl,
3866
- modbusTcpServer: Pl,
3867
- modbusTcpClient: Dl,
3868
- modbusTCPSlaveDevice: kl,
3869
- company: Rl,
3870
- descriptionMap: Ml,
3871
- netInterface: Fl,
3872
- ipAddress: Ul,
3873
- subnetMask: wl,
3874
- defaultGateway: Vl,
3875
- adaptedOSConfiguration: $l,
3876
- busCycleTask: Wl,
3877
- defaultTask: Gl,
3878
- responseTimeout: xl,
3879
- socketTimeout: Hl,
3880
- reconnect: Yl,
3881
- slaveIpAddress: Kl,
3882
- port: Bl,
3883
- watchDog: jl,
3884
- slavePort: Xl,
3885
- bindToAdapter: Jl,
3886
- holdingRegister: Ql,
3887
- writable: ql,
3888
- inputRegister: Zl,
3889
- discreteBitArea: zl,
3890
- coil: ei,
3891
- discreteInput: ti,
3892
- dataModel: ni,
3893
- startAddress: ri
3894
- }, ai = {
3895
- zh: Tl,
3896
- en: si
3897
- }, Le = Oo({
3879
+ description: Ol,
3880
+ category: vl,
3881
+ general: Cl,
3882
+ ioMapping: Al,
3883
+ modbusSlaveChannel: Sl,
3884
+ status: yl,
3885
+ ethernet: Pl,
3886
+ modbusTcpServer: Dl,
3887
+ modbusTcpClient: kl,
3888
+ modbusTCPSlaveDevice: Rl,
3889
+ company: Ml,
3890
+ descriptionMap: Fl,
3891
+ netInterface: Ul,
3892
+ ipAddress: wl,
3893
+ subnetMask: Vl,
3894
+ defaultGateway: $l,
3895
+ adaptedOSConfiguration: Wl,
3896
+ busCycleTask: Gl,
3897
+ defaultTask: xl,
3898
+ responseTimeout: Hl,
3899
+ socketTimeout: Yl,
3900
+ reconnect: Kl,
3901
+ slaveIpAddress: Bl,
3902
+ port: jl,
3903
+ watchDog: Xl,
3904
+ slavePort: Jl,
3905
+ bindToAdapter: Ql,
3906
+ holdingRegister: ql,
3907
+ writable: Zl,
3908
+ inputRegister: zl,
3909
+ discreteBitArea: ei,
3910
+ coil: ti,
3911
+ discreteInput: ni,
3912
+ dataModel: ri,
3913
+ startAddress: si
3914
+ }, oi = {
3915
+ zh: bl,
3916
+ en: ai
3917
+ }, Ie = vo({
3898
3918
  legacy: !1,
3899
3919
  locale: "zh",
3900
3920
  fallbackLocale: "en",
3901
- messages: ai
3921
+ messages: oi
3902
3922
  });
3903
- typeof window < "u" && (window.$t = Le.global.t.bind(Le.global), Object.defineProperty(window, "$locale", {
3923
+ typeof window < "u" && (window.$t = Ie.global.t.bind(Ie.global), Object.defineProperty(window, "$locale", {
3904
3924
  get() {
3905
- return typeof Le.global.locale == "string" ? Le.global.locale : Le.global.locale.value;
3925
+ return typeof Ie.global.locale == "string" ? Ie.global.locale : Ie.global.locale.value;
3906
3926
  },
3907
3927
  set(e) {
3908
- Le.global.locale = e;
3928
+ Ie.global.locale = e;
3909
3929
  }
3910
3930
  }));
3911
- const oi = Wr(zr).use(Le);
3912
- oi.mount("#app");
3913
- const li = [
3931
+ const li = Wr(es).use(Ie);
3932
+ li.mount("#app");
3933
+ const ii = [
3914
3934
  xr,
3915
3935
  Yr
3916
- ], fi = {
3936
+ ], _i = {
3917
3937
  install(e) {
3918
- li.forEach((t) => {
3938
+ ii.forEach((t) => {
3919
3939
  e.component(t.name, t);
3920
3940
  });
3921
3941
  }
3922
3942
  };
3923
3943
  export {
3924
3944
  Yr as Button2,
3925
- st as EthernetProtocolItem,
3926
- ci as Input,
3945
+ at as EthernetProtocolItem,
3946
+ Kr as Input,
3947
+ ui as IpInput,
3927
3948
  Bt as ModbusTCPClientProtocolItem,
3928
3949
  Kt as ModbusTCPServerProtocolItem,
3929
3950
  jt as ModbusTCPSlaveDeviceProtocolItem,
3930
3951
  xr as MyButton,
3931
- ui as MyLibPlugin,
3932
- qr as ProtocolCollection,
3952
+ fi as MyLibPlugin,
3953
+ Zr as ProtocolCollection,
3933
3954
  re as ProtocolItem,
3934
3955
  Ee as ProtocolType,
3935
- fi as default,
3936
- at as protocolMap
3956
+ _i as default,
3957
+ ot as protocolMap
3937
3958
  };