lty-protocol 1.0.15 → 1.0.16

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