lty-protocol 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import * as St from "vue";
2
- import { defineComponent as _e, openBlock as ue, createElementBlock as Ce, renderSlot as Jn, inject as Bt, ref as at, watch as ge, createBlock as Kt, resolveDynamicComponent as Qn, unref as jt, Fragment as ot, renderList as qn, toDisplayString as Ur, createVNode as Zn, 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__ */ _e({
2
+ import { defineComponent as fe, openBlock as Oe, createElementBlock as Ye, renderSlot as Jn, inject as Bt, ref as ot, watch as ve, createBlock as Qn, resolveDynamicComponent as qn, unref as Kt, h as st, Fragment as jt, renderList as Fr, toDisplayString as Ur, createVNode as Zn, effectScope as wr, computed as xe, isRef as Vr, shallowRef as $r, onMounted as Wr, onUnmounted as Gr, Text as xr, createApp as Hr } from "vue";
3
+ const Yr = /* @__PURE__ */ fe({
4
4
  name: "MyButton",
5
5
  __name: "MyButton",
6
6
  emits: ["click"],
@@ -8,19 +8,19 @@ const Yr = /* @__PURE__ */ _e({
8
8
  const n = t, r = () => {
9
9
  n("click");
10
10
  };
11
- return (s, a) => (ue(), Ce("button", {
11
+ return (s, a) => (Oe(), Ye("button", {
12
12
  class: "my-btn",
13
13
  onClick: r
14
14
  }, [
15
15
  Jn(s.$slots, "default", {}, void 0, !0)
16
16
  ]));
17
17
  }
18
- }), er = (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__ */ er(Yr, [["__scopeId", "data-v-c654f959"]]), Kr = /* @__PURE__ */ _e({
23
+ }, Br = /* @__PURE__ */ zn(Yr, [["__scopeId", "data-v-c654f959"]]), Kr = /* @__PURE__ */ fe({
24
24
  name: "MyButton",
25
25
  __name: "button2",
26
26
  emits: ["click"],
@@ -28,57 +28,61 @@ const Yr = /* @__PURE__ */ _e({
28
28
  const n = t, r = () => {
29
29
  n("click");
30
30
  };
31
- return (s, a) => (ue(), Ce("button", {
31
+ return (s, a) => (Oe(), Ye("button", {
32
32
  class: "my-btn",
33
33
  onClick: r
34
34
  }, [
35
35
  Jn(s.$slots, "default", {}, void 0, !0)
36
36
  ]));
37
37
  }
38
- }), jr = /* @__PURE__ */ er(Kr, [["__scopeId", "data-v-1477cfc3"]]), tr = /* @__PURE__ */ _e({
38
+ }), jr = /* @__PURE__ */ zn(Kr, [["__scopeId", "data-v-1477cfc3"]]), er = /* @__PURE__ */ fe({
39
39
  __name: "Input",
40
40
  props: {
41
41
  modelValue: {}
42
42
  },
43
43
  emits: ["update:modelValue"],
44
44
  setup(e, { emit: t }) {
45
- const n = e, r = t, s = Bt("UIComponents").Input, a = at(n.modelValue);
46
- return ge(() => n.modelValue, (o) => a.value = o), ge(a, (o) => r("update:modelValue", o)), (o, i) => (ue(), Kt(Qn(jt(s)), {
45
+ const n = e, r = t, s = Bt("UIComponents").Input, a = ot(n.modelValue);
46
+ return ve(() => n.modelValue, (o) => a.value = o), ve(a, (o) => r("update:modelValue", o)), (o, i) => (Oe(), Qn(qn(Kt(s)), {
47
47
  modelValue: a.value,
48
48
  "onUpdate:modelValue": i[0] || (i[0] = (u) => a.value = u)
49
49
  }, null, 8, ["modelValue"]));
50
50
  }
51
- }), Xr = { style: { display: "flex", gap: "4px" } }, Jr = /* @__PURE__ */ _e({
52
- __name: "IpInput",
53
- props: {
54
- modelValue: {}
55
- },
51
+ }), Xr = fe({
52
+ name: "IpInput",
53
+ props: { modelValue: String },
56
54
  emits: ["update:modelValue"],
57
55
  setup(e, { emit: t }) {
58
- const n = e, r = t, s = at((n.modelValue || "0.0.0.0").split("."));
59
- return ge(s, () => r("update:modelValue", s.value.join(".")), { deep: !0 }), ge(() => n.modelValue, (a) => s.value = (a || "0.0.0.0").split(".")), (a, o) => (ue(), Ce("div", Xr, [
60
- (ue(!0), Ce(ot, null, qn(s.value, (i, u) => (ue(), Kt(tr, {
61
- key: u,
62
- modelValue: s.value[u],
63
- "onUpdate:modelValue": (d) => s.value[u] = d
64
- }, null, 8, ["modelValue", "onUpdate:modelValue"]))), 128))
65
- ]));
56
+ const n = ot((e.modelValue || "0.0.0.0").split(".")), r = (s, a) => {
57
+ n.value[s] = a, t("update:modelValue", n.value.join("."));
58
+ };
59
+ return () => st(
60
+ "div",
61
+ { style: { display: "flex", gap: "4px" } },
62
+ n.value.map(
63
+ (s, a) => st(er, {
64
+ key: a,
65
+ modelValue: s,
66
+ "onUpdate:modelValue": (o) => r(a, o)
67
+ })
68
+ )
69
+ );
66
70
  }
67
- }), Qr = /* @__PURE__ */ _e({
71
+ }), Jr = /* @__PURE__ */ fe({
68
72
  __name: "InputNumber",
69
73
  props: {
70
74
  modelValue: {}
71
75
  },
72
76
  emits: ["update:modelValue"],
73
77
  setup(e, { emit: t }) {
74
- const n = e, r = t, s = Bt("UIComponents").Input, a = at(n.modelValue);
75
- return ge(() => n.modelValue, (o) => a.value = o), ge(a, (o) => r("update:modelValue", o)), (o, i) => (ue(), Kt(Qn(jt(s)), {
78
+ const n = e, r = t, s = Bt("UIComponents").Input, a = ot(n.modelValue);
79
+ return ve(() => n.modelValue, (o) => a.value = o), ve(a, (o) => r("update:modelValue", o)), (o, i) => (Oe(), Qn(qn(Kt(s)), {
76
80
  modelValue: a.value,
77
81
  "onUpdate:modelValue": i[0] || (i[0] = (u) => a.value = u)
78
82
  }, null, 8, ["modelValue"]));
79
83
  }
80
84
  });
81
- function Ei(e, t) {
85
+ function di(e, t) {
82
86
  e.provide("UIComponents", t);
83
87
  }
84
88
  class re {
@@ -98,7 +102,7 @@ class re {
98
102
  return n.fromPlain(t);
99
103
  }
100
104
  }
101
- class qr {
105
+ class Qr {
102
106
  static getDefaultConfig(t) {
103
107
  console.log(1231231, t);
104
108
  const n = t.baseInfo, r = t.configuration, s = t.tab;
@@ -109,21 +113,21 @@ class qr {
109
113
  };
110
114
  }
111
115
  }
112
- const Zr = "Ethernet", zr = [{ 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" } }], es = [{ name: { i18nKey: "general" }, key: "general" }, { name: { i18nKey: "ioMapping" }, key: "ioMapping" }], ts = { 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" }] }, ns = {
113
- type: Zr,
114
- baseInfo: zr,
115
- tab: es,
116
- configuration: ts
116
+ const qr = "Ethernet", Zr = [{ 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" }], es = { 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" }] }, ts = {
117
+ type: qr,
118
+ baseInfo: Zr,
119
+ tab: zr,
120
+ configuration: es
117
121
  };
118
122
  class lt extends re {
119
- type = Ne.ETHERNET;
120
- moduleType = it[Ne.ETHERNET];
123
+ type = pe.ETHERNET;
124
+ moduleType = it[pe.ETHERNET];
121
125
  baseInfo;
122
126
  config;
123
127
  tab;
124
128
  constructor(t) {
125
129
  super(t);
126
- const { baseInfo: n, config: r, tab: s } = qr.getDefaultConfig(ns);
130
+ const { baseInfo: n, config: r, tab: s } = Qr.getDefaultConfig(ts);
127
131
  this.baseInfo = n, this.config = r, this.tab = s;
128
132
  }
129
133
  static fromPlain(t) {
@@ -131,8 +135,8 @@ class lt extends re {
131
135
  }
132
136
  }
133
137
  class Xt extends re {
134
- type = Ne.MODBUS_TCP_SERVER;
135
- moduleType = it[Ne.MODBUS_TCP_SERVER];
138
+ type = pe.MODBUS_TCP_SERVER;
139
+ moduleType = it[pe.MODBUS_TCP_SERVER];
136
140
  constructor(t) {
137
141
  super(t);
138
142
  }
@@ -141,8 +145,8 @@ class Xt extends re {
141
145
  }
142
146
  }
143
147
  class Jt extends re {
144
- type = Ne.MODBUS_TCP_CLIENT;
145
- moduleType = it[Ne.MODBUS_TCP_CLIENT];
148
+ type = pe.MODBUS_TCP_CLIENT;
149
+ moduleType = it[pe.MODBUS_TCP_CLIENT];
146
150
  constructor(t) {
147
151
  super(t);
148
152
  }
@@ -151,8 +155,8 @@ class Jt extends re {
151
155
  }
152
156
  }
153
157
  class Qt extends re {
154
- type = Ne.MODBUS_TCP_SLAVE_DEVICE;
155
- moduleType = it[Ne.MODBUS_TCP_SLAVE_DEVICE];
158
+ type = pe.MODBUS_TCP_SLAVE_DEVICE;
159
+ moduleType = it[pe.MODBUS_TCP_SLAVE_DEVICE];
156
160
  constructor(t) {
157
161
  super(t);
158
162
  }
@@ -160,7 +164,7 @@ class Qt extends re {
160
164
  return new Qt(t);
161
165
  }
162
166
  }
163
- var Ne = /* @__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))(Ne || {});
167
+ 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 || {});
164
168
  const it = {
165
169
  Pprogrammable: 4096,
166
170
  // 根节点
@@ -215,7 +219,7 @@ const it = {
215
219
  EtherCatModule: 16384
216
220
  // Ethercat子模块
217
221
  };
218
- class rs {
222
+ class ns {
219
223
  map = /* @__PURE__ */ new Map();
220
224
  constructor() {
221
225
  re.register("Ethernet", lt), re.register("ModbusTCPServer", Xt), re.register("ModbusTCPClient", Jt), re.register("ModbusTCPSlaveDevice", Qt);
@@ -245,63 +249,63 @@ class rs {
245
249
  this.map.clear();
246
250
  }
247
251
  }
248
- const ss = /* @__PURE__ */ _e({
252
+ const rs = /* @__PURE__ */ fe({
249
253
  __name: "Ethernet",
250
254
  props: {
251
255
  config: {}
252
256
  },
253
257
  setup(e) {
254
- return (t, n) => (ue(!0), Ce(ot, null, qn(e.config.tab, (r) => (ue(), Ce("div", {
258
+ return (t, n) => (Oe(!0), Ye(jt, null, Fr(e.config.tab, (r) => (Oe(), Ye("div", {
255
259
  key: r.key
256
260
  }, Ur(t.$t(r.name.i18nKey)), 1))), 128));
257
261
  }
258
- }), as = /* @__PURE__ */ _e({
262
+ }), ss = /* @__PURE__ */ fe({
259
263
  __name: "App",
260
264
  setup(e) {
261
- new rs();
265
+ new ns();
262
266
  const t = new lt({
263
267
  id: 1,
264
268
  deviceId: 1,
265
269
  type: "Ethernet"
266
270
  });
267
- return (n, r) => (ue(), Ce("div", null, [
268
- Zn(ss, { config: jt(t) }, null, 8, ["config"])
271
+ return (n, r) => (Oe(), Ye("div", null, [
272
+ Zn(rs, { config: Kt(t) }, null, 8, ["config"])
269
273
  ]));
270
274
  }
271
275
  });
272
- function fe(e, t) {
276
+ function ue(e, t) {
273
277
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
274
278
  }
275
279
  const mn = {};
276
280
  function qt(e) {
277
- mn[e] || (mn[e] = !0, fe(e));
281
+ mn[e] || (mn[e] = !0, ue(e));
278
282
  }
279
283
  const le = typeof window < "u";
280
- let ee, Ae;
284
+ let ee, Ce;
281
285
  if (process.env.NODE_ENV !== "production") {
282
286
  const e = le && window.performance;
283
287
  e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
284
288
  e.clearMeasures && (ee = (t) => {
285
289
  e.mark(t);
286
- }, Ae = (t, n, r) => {
290
+ }, Ce = (t, n, r) => {
287
291
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
288
292
  });
289
293
  }
290
- const os = /\{([0-9a-zA-Z]+)\}/g;
294
+ const as = /\{([0-9a-zA-Z]+)\}/g;
291
295
  function ct(e, ...t) {
292
- return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(os, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
296
+ return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(as, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
293
297
  }
294
- const me = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ls = (e, t, n) => is({ l: e, k: t, s: n }), is = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), cs = (e) => Zt(e) === "[object Date]", Fe = (e) => Zt(e) === "[object RegExp]", ut = (e) => R(e) && Object.keys(e).length === 0, J = Object.assign, us = Object.create, $ = (e = null) => us(e);
298
+ const _e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), os = (e, t, n) => ls({ l: e, k: t, s: n }), ls = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), is = (e) => Zt(e) === "[object Date]", Me = (e) => Zt(e) === "[object RegExp]", ut = (e) => R(e) && Object.keys(e).length === 0, J = Object.assign, cs = Object.create, $ = (e = null) => cs(e);
295
299
  let dn;
296
- const ve = () => dn || (dn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
300
+ const Le = () => dn || (dn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
297
301
  function En(e) {
298
302
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
299
303
  }
300
304
  function pn(e) {
301
305
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
302
306
  }
303
- function fs(e) {
304
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, a) => `${s}="${pn(a)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, a) => `${s}='${pn(a)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && fe("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")), [
307
+ function us(e) {
308
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, a) => `${s}="${pn(a)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, a) => `${s}='${pn(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")), [
305
309
  // In href, src, action, formaction attributes
306
310
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
307
311
  // In style attributes within url()
@@ -310,16 +314,16 @@ function fs(e) {
310
314
  e = e.replace(r, "$1javascript&#58;");
311
315
  }), e;
312
316
  }
313
- const _s = Object.prototype.hasOwnProperty;
317
+ const fs = Object.prototype.hasOwnProperty;
314
318
  function oe(e, t) {
315
- return _s.call(e, t);
319
+ return fs.call(e, t);
316
320
  }
317
- 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", ms = (e) => M(e) && W(e.then) && W(e.catch), nr = Object.prototype.toString, Zt = (e) => nr.call(e), R = (e) => Zt(e) === "[object Object]", ds = (e) => e == null ? "" : H(e) || R(e) && e.toString === nr ? JSON.stringify(e, null, 2) : String(e);
321
+ 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", _s = (e) => M(e) && W(e.then) && W(e.catch), tr = Object.prototype.toString, Zt = (e) => tr.call(e), R = (e) => Zt(e) === "[object Object]", ms = (e) => e == null ? "" : H(e) || R(e) && e.toString === tr ? JSON.stringify(e, null, 2) : String(e);
318
322
  function zt(e, t = "") {
319
323
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
320
324
  }
321
325
  const gn = 2;
322
- function Es(e, t = 0, n = e.length) {
326
+ function ds(e, t = 0, n = e.length) {
323
327
  const r = e.split(/\r?\n/);
324
328
  let s = 0;
325
329
  const a = [];
@@ -330,16 +334,16 @@ function Es(e, t = 0, n = e.length) {
330
334
  continue;
331
335
  const u = i + 1;
332
336
  a.push(`${u}${" ".repeat(3 - String(u).length)}| ${r[i]}`);
333
- const d = r[i].length;
337
+ const E = r[i].length;
334
338
  if (i === o) {
335
- const I = t - (s - d) + 1, b = Math.max(1, n > s ? d - I : n - t);
339
+ const I = t - (s - E) + 1, b = Math.max(1, n > s ? E - I : n - t);
336
340
  a.push(" | " + " ".repeat(I) + "^".repeat(b));
337
341
  } else if (i > o) {
338
342
  if (n > s) {
339
- const I = Math.max(Math.min(n - s, d), 1);
343
+ const I = Math.max(Math.min(n - s, E), 1);
340
344
  a.push(" | " + "^".repeat(I));
341
345
  }
342
- s += d + 1;
346
+ s += E + 1;
343
347
  }
344
348
  }
345
349
  break;
@@ -376,7 +380,7 @@ function rt(e, t) {
376
380
  });
377
381
  }
378
382
  }
379
- function ps(e, t, n) {
383
+ function Es(e, t, n) {
380
384
  return { line: e, column: t, offset: n };
381
385
  }
382
386
  function Rt(e, t, n) {
@@ -403,7 +407,7 @@ const P = {
403
407
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
404
408
  // minifier error codes
405
409
  UNHANDLED_MINIFIER_NODE_TYPE: 16
406
- }, gs = 17, Ns = {
410
+ }, ps = 17, gs = {
407
411
  // tokenizer error messages
408
412
  [P.EXPECTED_TOKEN]: "Expected token: '{0}'",
409
413
  [P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -425,26 +429,26 @@ const P = {
425
429
  // minimizer error messages
426
430
  [P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
427
431
  };
428
- function Ve(e, t, n = {}) {
429
- const { domain: r, messages: s, args: a } = n, o = process.env.NODE_ENV !== "production" ? ct((s || Ns)[e] || "", ...a || []) : e, i = new SyntaxError(String(o));
432
+ function we(e, t, n = {}) {
433
+ const { domain: r, messages: s, args: a } = n, o = process.env.NODE_ENV !== "production" ? ct((s || gs)[e] || "", ...a || []) : e, i = new SyntaxError(String(o));
430
434
  return i.code = e, t && (i.location = t), i.domain = r, i;
431
435
  }
432
- function Ts(e) {
436
+ function Ns(e) {
433
437
  throw e;
434
438
  }
435
- const bs = /<\/?[\w\s="/.':;#-\/]+>/, hs = (e) => bs.test(e), ie = " ", Is = "\r", Q = `
436
- `, Ls = "\u2028", Os = "\u2029";
437
- function vs(e) {
439
+ const Ts = /<\/?[\w\s="/.':;#-\/]+>/, bs = (e) => Ts.test(e), ie = " ", hs = "\r", Q = `
440
+ `, Is = "\u2028", Ls = "\u2029";
441
+ function Os(e) {
438
442
  const t = e;
439
443
  let n = 0, r = 1, s = 1, a = 0;
440
- const o = (p) => t[p] === Is && t[p + 1] === Q, i = (p) => t[p] === Q, u = (p) => t[p] === Os, d = (p) => t[p] === Ls, 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);
444
+ const o = (p) => t[p] === hs && t[p + 1] === Q, i = (p) => t[p] === Q, u = (p) => t[p] === Ls, E = (p) => t[p] === Is, I = (p) => o(p) || i(p) || u(p) || E(p), b = () => n, N = () => r, A = () => s, D = () => a, C = (p) => o(p) || u(p) || E(p) ? Q : t[p], S = () => C(n), f = () => C(n + a);
441
445
  function m() {
442
446
  return a = 0, I(n) && (r++, s = 0), o(n) && n++, n++, s++, t[n];
443
447
  }
444
448
  function h() {
445
449
  return o(n + a) && a++, a++, t[n + a];
446
450
  }
447
- function E() {
451
+ function d() {
448
452
  n = 0, r = 1, s = 1, a = 0;
449
453
  }
450
454
  function O(p = 0) {
@@ -466,14 +470,14 @@ function vs(e) {
466
470
  currentPeek: f,
467
471
  next: m,
468
472
  peek: h,
469
- reset: E,
473
+ reset: d,
470
474
  resetPeek: O,
471
475
  skipToPeek: v
472
476
  };
473
477
  }
474
- const Ee = void 0, Cs = ".", Nn = "'", As = "tokenizer";
475
- function Ss(e, t = {}) {
476
- const n = t.location !== !1, r = vs(e), s = () => r.index(), a = () => ps(r.line(), r.column(), r.index()), o = a(), i = s(), u = {
478
+ const de = void 0, vs = ".", Nn = "'", Cs = "tokenizer";
479
+ function As(e, t = {}) {
480
+ const n = t.location !== !1, r = Os(e), s = () => r.index(), a = () => Es(r.line(), r.column(), r.index()), o = a(), i = s(), u = {
477
481
  currentType: 13,
478
482
  offset: i,
479
483
  startLoc: o,
@@ -485,12 +489,12 @@ function Ss(e, t = {}) {
485
489
  braceNest: 0,
486
490
  inLinked: !1,
487
491
  text: ""
488
- }, d = () => u, { onError: I } = t;
492
+ }, E = () => u, { onError: I } = t;
489
493
  function b(l, c, g, ...y) {
490
- const x = d();
494
+ const x = E();
491
495
  if (c.column += g, c.offset += g, I) {
492
- const B = n ? Rt(x.startLoc, c) : null, U = Ve(l, B, {
493
- domain: As,
496
+ const B = n ? Rt(x.startLoc, c) : null, U = we(l, B, {
497
+ domain: Cs,
494
498
  args: y
495
499
  });
496
500
  I(U);
@@ -520,7 +524,7 @@ function Ss(e, t = {}) {
520
524
  return l.skipToPeek(), c;
521
525
  }
522
526
  function f(l) {
523
- if (l === Ee)
527
+ if (l === de)
524
528
  return !1;
525
529
  const c = l.charCodeAt(0);
526
530
  return c >= 97 && c <= 122 || // a-z
@@ -528,7 +532,7 @@ function Ss(e, t = {}) {
528
532
  c === 95;
529
533
  }
530
534
  function m(l) {
531
- if (l === Ee)
535
+ if (l === de)
532
536
  return !1;
533
537
  const c = l.charCodeAt(0);
534
538
  return c >= 48 && c <= 57;
@@ -541,7 +545,7 @@ function Ss(e, t = {}) {
541
545
  const y = f(l.currentPeek());
542
546
  return l.resetPeek(), y;
543
547
  }
544
- function E(l, c) {
548
+ function d(l, c) {
545
549
  const { currentType: g } = c;
546
550
  if (g !== 2)
547
551
  return !1;
@@ -605,9 +609,9 @@ function Ss(e, t = {}) {
605
609
  }
606
610
  function Y(l, c) {
607
611
  const g = l.currentChar();
608
- return g === Ee ? Ee : c(g) ? (l.next(), g) : null;
612
+ return g === de ? de : c(g) ? (l.next(), g) : null;
609
613
  }
610
- function Pe(l) {
614
+ function ye(l) {
611
615
  const c = l.charCodeAt(0);
612
616
  return c >= 97 && c <= 122 || // a-z
613
617
  c >= 65 && c <= 90 || // A-Z
@@ -616,7 +620,7 @@ function Ss(e, t = {}) {
616
620
  c === 36;
617
621
  }
618
622
  function mt(l) {
619
- return Y(l, Pe);
623
+ return Y(l, ye);
620
624
  }
621
625
  function dt(l) {
622
626
  const c = l.charCodeAt(0);
@@ -643,10 +647,10 @@ function Ss(e, t = {}) {
643
647
  c >= 65 && c <= 70 || // A-F
644
648
  c >= 97 && c <= 102;
645
649
  }
646
- function de(l) {
650
+ function me(l) {
647
651
  return Y(l, Nt);
648
652
  }
649
- function $e(l) {
653
+ function Ve(l) {
650
654
  let c = "", g = "";
651
655
  for (; c = gt(l); )
652
656
  g += c;
@@ -677,16 +681,16 @@ function Ss(e, t = {}) {
677
681
  for (; c = Et(l); )
678
682
  g += c;
679
683
  const y = l.currentChar();
680
- if (y && y !== "}" && y !== Ee && y !== ie && y !== Q && y !== " ") {
684
+ if (y && y !== "}" && y !== de && y !== ie && y !== Q && y !== " ") {
681
685
  const x = Ze(l);
682
686
  return b(P.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g + x), g + x;
683
687
  }
684
- return l.currentChar() === Ee && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
688
+ return l.currentChar() === de && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
685
689
  }
686
690
  function ht(l) {
687
691
  S(l);
688
692
  let c = "";
689
- return l.currentChar() === "-" ? (l.next(), c += `-${$e(l)}`) : c += $e(l), l.currentChar() === Ee && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c;
693
+ return l.currentChar() === "-" ? (l.next(), c += `-${Ve(l)}`) : c += Ve(l), l.currentChar() === de && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c;
690
694
  }
691
695
  function It(l) {
692
696
  return l !== Nn && l !== Q;
@@ -697,7 +701,7 @@ function Ss(e, t = {}) {
697
701
  for (; c = Y(l, It); )
698
702
  c === "\\" ? g += Lt(l) : g += c;
699
703
  const y = l.currentChar();
700
- return y === Q || y === Ee ? (b(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), y === Q && (l.next(), D(l, "'")), g) : (D(l, "'"), g);
704
+ return y === Q || y === de ? (b(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), y === Q && (l.next(), D(l, "'")), g) : (D(l, "'"), g);
701
705
  }
702
706
  function Lt(l) {
703
707
  const c = l.currentChar();
@@ -717,7 +721,7 @@ function Ss(e, t = {}) {
717
721
  D(l, c);
718
722
  let y = "";
719
723
  for (let x = 0; x < g; x++) {
720
- const B = de(l);
724
+ const B = me(l);
721
725
  if (!B) {
722
726
  b(P.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${c}${y}${l.currentChar()}`);
723
727
  break;
@@ -749,7 +753,7 @@ function Ss(e, t = {}) {
749
753
  };
750
754
  return c("");
751
755
  }
752
- function We(l) {
756
+ function $e(l) {
753
757
  S(l);
754
758
  const c = D(
755
759
  l,
@@ -758,7 +762,7 @@ function Ss(e, t = {}) {
758
762
  );
759
763
  return S(l), c;
760
764
  }
761
- function Ge(l, c) {
765
+ function We(l, c) {
762
766
  let g = null;
763
767
  switch (l.currentChar()) {
764
768
  case "{":
@@ -776,16 +780,16 @@ function Ss(e, t = {}) {
776
780
  /* TokenChars.BraceRight */
777
781
  ), c.braceNest--, c.braceNest > 0 && S(l), c.inLinked && c.braceNest === 0 && (c.inLinked = !1), g;
778
782
  case "@":
779
- return c.braceNest > 0 && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = he(l, c) || A(c), c.braceNest = 0, g;
783
+ return c.braceNest > 0 && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = Te(l, c) || A(c), c.braceNest = 0, g;
780
784
  default: {
781
785
  let x = !0, B = !0, U = !0;
782
786
  if (X(l))
783
- return c.braceNest > 0 && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, g;
787
+ return c.braceNest > 0 && b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), g = N(c, 1, $e(l)), c.braceNest = 0, c.inLinked = !1, g;
784
788
  if (c.braceNest > 0 && (c.currentType === 4 || c.currentType === 5 || c.currentType === 6))
785
- return b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c.braceNest = 0, xe(l, c);
789
+ return b(P.UNTERMINATED_CLOSING_BRACE, a(), 0), c.braceNest = 0, Ge(l, c);
786
790
  if (x = h(l, c))
787
791
  return g = N(c, 4, bt(l)), S(l), g;
788
- if (B = E(l, c))
792
+ if (B = d(l, c))
789
793
  return g = N(c, 5, ht(l)), S(l), g;
790
794
  if (U = O(l, c))
791
795
  return g = N(c, 6, fn(l)), S(l), g;
@@ -796,7 +800,7 @@ function Ss(e, t = {}) {
796
800
  }
797
801
  return g;
798
802
  }
799
- function he(l, c) {
803
+ function Te(l, c) {
800
804
  const { currentType: g } = c;
801
805
  let y = null;
802
806
  const x = l.currentChar();
@@ -823,21 +827,21 @@ function Ss(e, t = {}) {
823
827
  /* TokenChars.LinkedDelimiter */
824
828
  );
825
829
  default:
826
- return X(l) ? (y = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, y) : v(l, c) || k(l, c) ? (S(l), he(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));
830
+ return X(l) ? (y = N(c, 1, $e(l)), c.braceNest = 0, c.inLinked = !1, y) : v(l, c) || k(l, c) ? (S(l), Te(l, c)) : p(l, c) ? (S(l), N(c, 11, vt(l))) : w(l, c) ? (S(l), x === "{" ? We(l, c) || y : N(c, 10, Ct(l))) : (g === 7 && b(P.INVALID_LINKED_FORMAT, a(), 0), c.braceNest = 0, c.inLinked = !1, Ge(l, c));
827
831
  }
828
832
  }
829
- function xe(l, c) {
833
+ function Ge(l, c) {
830
834
  let g = {
831
835
  type: 13
832
836
  /* TokenTypes.EOF */
833
837
  };
834
838
  if (c.braceNest > 0)
835
- return Ge(l, c) || A(c);
839
+ return We(l, c) || A(c);
836
840
  if (c.inLinked)
837
- return he(l, c) || A(c);
841
+ return Te(l, c) || A(c);
838
842
  switch (l.currentChar()) {
839
843
  case "{":
840
- return Ge(l, c) || A(c);
844
+ return We(l, c) || A(c);
841
845
  case "}":
842
846
  return b(P.UNBALANCED_CLOSING_BRACE, a(), 0), l.next(), N(
843
847
  c,
@@ -846,10 +850,10 @@ function Ss(e, t = {}) {
846
850
  /* TokenChars.BraceRight */
847
851
  );
848
852
  case "@":
849
- return he(l, c) || A(c);
853
+ return Te(l, c) || A(c);
850
854
  default: {
851
855
  if (X(l))
852
- return g = N(c, 1, We(l)), c.braceNest = 0, c.inLinked = !1, g;
856
+ return g = N(c, 1, $e(l)), c.braceNest = 0, c.inLinked = !1, g;
853
857
  if (ae(l))
854
858
  return N(c, 0, Tt(l));
855
859
  break;
@@ -859,21 +863,21 @@ function Ss(e, t = {}) {
859
863
  }
860
864
  function At() {
861
865
  const { currentType: l, offset: c, startLoc: g, endLoc: y } = u;
862
- return u.lastType = l, u.lastOffset = c, u.lastStartLoc = g, u.lastEndLoc = y, u.offset = s(), u.startLoc = a(), r.currentChar() === Ee ? N(
866
+ return u.lastType = l, u.lastOffset = c, u.lastStartLoc = g, u.lastEndLoc = y, u.offset = s(), u.startLoc = a(), r.currentChar() === de ? N(
863
867
  u,
864
868
  13
865
869
  /* TokenTypes.EOF */
866
- ) : xe(r, u);
870
+ ) : Ge(r, u);
867
871
  }
868
872
  return {
869
873
  nextToken: At,
870
874
  currentOffset: s,
871
875
  currentPosition: a,
872
- context: d
876
+ context: E
873
877
  };
874
878
  }
875
- const ys = "parser", Ps = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
876
- function Ds(e, t, n) {
879
+ const Ss = "parser", ys = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
880
+ function Ps(e, t, n) {
877
881
  switch (e) {
878
882
  case "\\\\":
879
883
  return "\\";
@@ -886,44 +890,44 @@ function Ds(e, t, n) {
886
890
  }
887
891
  }
888
892
  }
889
- function ks(e = {}) {
893
+ function Ds(e = {}) {
890
894
  const t = e.location !== !1, { onError: n } = e;
891
- function r(f, m, h, E, ...O) {
895
+ function r(f, m, h, d, ...O) {
892
896
  const v = f.currentPosition();
893
- if (v.offset += E, v.column += E, n) {
894
- const p = t ? Rt(h, v) : null, k = Ve(m, p, {
895
- domain: ys,
897
+ if (v.offset += d, v.column += d, n) {
898
+ const p = t ? Rt(h, v) : null, k = we(m, p, {
899
+ domain: Ss,
896
900
  args: O
897
901
  });
898
902
  n(k);
899
903
  }
900
904
  }
901
905
  function s(f, m, h) {
902
- const E = { type: f };
903
- return t && (E.start = m, E.end = m, E.loc = { start: h, end: h }), E;
906
+ const d = { type: f };
907
+ return t && (d.start = m, d.end = m, d.loc = { start: h, end: h }), d;
904
908
  }
905
- function a(f, m, h, E) {
909
+ function a(f, m, h, d) {
906
910
  t && (f.end = m, f.loc && (f.loc.end = h));
907
911
  }
908
912
  function o(f, m) {
909
- const h = f.context(), E = s(3, h.offset, h.startLoc);
910
- return E.value = m, a(E, f.currentOffset(), f.currentPosition()), E;
913
+ const h = f.context(), d = s(3, h.offset, h.startLoc);
914
+ return d.value = m, a(d, f.currentOffset(), f.currentPosition()), d;
911
915
  }
912
916
  function i(f, m) {
913
- const h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(5, E, O);
917
+ const h = f.context(), { lastOffset: d, lastStartLoc: O } = h, v = s(5, d, O);
914
918
  return v.index = parseInt(m, 10), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
915
919
  }
916
920
  function u(f, m) {
917
- const h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(4, E, O);
921
+ const h = f.context(), { lastOffset: d, lastStartLoc: O } = h, v = s(4, d, O);
918
922
  return v.key = m, f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
919
923
  }
920
- function d(f, m) {
921
- const h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(9, E, O);
922
- return v.value = m.replace(Ps, Ds), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
924
+ function E(f, m) {
925
+ const h = f.context(), { lastOffset: d, lastStartLoc: O } = h, v = s(9, d, O);
926
+ return v.value = m.replace(ys, Ps), f.nextToken(), a(v, f.currentOffset(), f.currentPosition()), v;
923
927
  }
924
928
  function I(f) {
925
- const m = f.nextToken(), h = f.context(), { lastOffset: E, lastStartLoc: O } = h, v = s(8, E, O);
926
- return m.type !== 11 ? (r(f, P.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), v.value = "", a(v, E, O), {
929
+ const m = f.nextToken(), h = f.context(), { lastOffset: d, lastStartLoc: O } = h, v = s(8, d, O);
930
+ return m.type !== 11 ? (r(f, P.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), v.value = "", a(v, d, O), {
927
931
  nextConsumeToken: m,
928
932
  node: v
929
933
  }) : (m.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ce(m)), v.value = m.value || "", a(v, f.currentOffset(), f.currentPosition()), {
@@ -931,34 +935,34 @@ function ks(e = {}) {
931
935
  });
932
936
  }
933
937
  function b(f, m) {
934
- const h = f.context(), E = s(7, h.offset, h.startLoc);
935
- return E.value = m, a(E, f.currentOffset(), f.currentPosition()), E;
938
+ const h = f.context(), d = s(7, h.offset, h.startLoc);
939
+ return d.value = m, a(d, f.currentOffset(), f.currentPosition()), d;
936
940
  }
937
941
  function N(f) {
938
942
  const m = f.context(), h = s(6, m.offset, m.startLoc);
939
- let E = f.nextToken();
940
- if (E.type === 8) {
943
+ let d = f.nextToken();
944
+ if (d.type === 8) {
941
945
  const O = I(f);
942
- h.modifier = O.node, E = O.nextConsumeToken || f.nextToken();
946
+ h.modifier = O.node, d = O.nextConsumeToken || f.nextToken();
943
947
  }
944
- switch (E.type !== 9 && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), E = f.nextToken(), E.type === 2 && (E = f.nextToken()), E.type) {
948
+ switch (d.type !== 9 && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(d)), d = f.nextToken(), d.type === 2 && (d = f.nextToken()), d.type) {
945
949
  case 10:
946
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = b(f, E.value || "");
950
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(d)), h.key = b(f, d.value || "");
947
951
  break;
948
952
  case 4:
949
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = u(f, E.value || "");
953
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(d)), h.key = u(f, d.value || "");
950
954
  break;
951
955
  case 5:
952
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = i(f, E.value || "");
956
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(d)), h.key = i(f, d.value || "");
953
957
  break;
954
958
  case 6:
955
- E.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(E)), h.key = d(f, E.value || "");
959
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(d)), h.key = E(f, d.value || "");
956
960
  break;
957
961
  default: {
958
962
  r(f, P.UNEXPECTED_EMPTY_LINKED_KEY, m.lastStartLoc, 0);
959
963
  const O = f.context(), v = s(7, O.offset, O.startLoc);
960
964
  return v.value = "", a(v, O.offset, O.startLoc), h.key = v, a(h, O.offset, O.startLoc), {
961
- nextConsumeToken: E,
965
+ nextConsumeToken: d,
962
966
  node: h
963
967
  };
964
968
  }
@@ -968,7 +972,7 @@ function ks(e = {}) {
968
972
  };
969
973
  }
970
974
  function A(f) {
971
- const m = f.context(), h = m.currentType === 1 ? f.currentOffset() : m.offset, E = m.currentType === 1 ? m.endLoc : m.startLoc, O = s(2, h, E);
975
+ const m = f.context(), h = m.currentType === 1 ? f.currentOffset() : m.offset, d = m.currentType === 1 ? m.endLoc : m.startLoc, O = s(2, h, d);
972
976
  O.items = [];
973
977
  let v = null;
974
978
  do {
@@ -984,7 +988,7 @@ function ks(e = {}) {
984
988
  w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(u(f, w.value || ""));
985
989
  break;
986
990
  case 6:
987
- w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(d(f, w.value || ""));
991
+ w.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ce(w)), O.items.push(E(f, w.value || ""));
988
992
  break;
989
993
  case 7: {
990
994
  const X = N(f);
@@ -996,11 +1000,11 @@ function ks(e = {}) {
996
1000
  const p = m.currentType === 1 ? m.lastOffset : f.currentOffset(), k = m.currentType === 1 ? m.lastEndLoc : f.currentPosition();
997
1001
  return a(O, p, k), O;
998
1002
  }
999
- function D(f, m, h, E) {
1003
+ function D(f, m, h, d) {
1000
1004
  const O = f.context();
1001
- let v = E.items.length === 0;
1005
+ let v = d.items.length === 0;
1002
1006
  const p = s(1, m, h);
1003
- p.cases = [], p.cases.push(E);
1007
+ p.cases = [], p.cases.push(d);
1004
1008
  do {
1005
1009
  const k = A(f);
1006
1010
  v || (v = k.items.length === 0), p.cases.push(k);
@@ -1008,12 +1012,12 @@ function ks(e = {}) {
1008
1012
  return v && r(f, P.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), a(p, f.currentOffset(), f.currentPosition()), p;
1009
1013
  }
1010
1014
  function C(f) {
1011
- const m = f.context(), { offset: h, startLoc: E } = m, O = A(f);
1012
- return m.currentType === 13 ? O : D(f, h, E, O);
1015
+ const m = f.context(), { offset: h, startLoc: d } = m, O = A(f);
1016
+ return m.currentType === 13 ? O : D(f, h, d, O);
1013
1017
  }
1014
1018
  function S(f) {
1015
- const m = Ss(f, J({}, e)), h = m.context(), E = s(0, h.offset, h.startLoc);
1016
- 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;
1019
+ const m = As(f, J({}, e)), h = m.context(), d = s(0, h.offset, h.startLoc);
1020
+ return t && d.loc && (d.loc.source = f), d.body = C(m), e.onCacheKey && (d.cacheKey = e.onCacheKey(f)), h.currentType !== 13 && r(m, P.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, f[h.offset] || ""), a(d, m.currentOffset(), m.currentPosition()), d;
1017
1021
  }
1018
1022
  return { parse: S };
1019
1023
  }
@@ -1023,7 +1027,7 @@ function ce(e) {
1023
1027
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
1024
1028
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
1025
1029
  }
1026
- function Rs(e, t = {}) {
1030
+ function ks(e, t = {}) {
1027
1031
  const n = {
1028
1032
  ast: e,
1029
1033
  helpers: /* @__PURE__ */ new Set()
@@ -1075,8 +1079,8 @@ function tn(e, t) {
1075
1079
  break;
1076
1080
  }
1077
1081
  }
1078
- function Ms(e, t = {}) {
1079
- const n = Rs(e);
1082
+ function Rs(e, t = {}) {
1083
+ const n = ks(e);
1080
1084
  n.helper(
1081
1085
  "normalize"
1082
1086
  /* HelperNameMap.NORMALIZE */
@@ -1084,7 +1088,7 @@ function Ms(e, t = {}) {
1084
1088
  const r = n.context();
1085
1089
  e.helpers = Array.from(r.helpers);
1086
1090
  }
1087
- function Fs(e) {
1091
+ function Ms(e) {
1088
1092
  const t = e.body;
1089
1093
  return t.type === 2 ? bn(t) : t.cases.forEach((n) => bn(n)), e;
1090
1094
  }
@@ -1109,25 +1113,25 @@ function bn(e) {
1109
1113
  }
1110
1114
  }
1111
1115
  }
1112
- const Us = "minifier";
1113
- function Re(e) {
1116
+ const Fs = "minifier";
1117
+ function ke(e) {
1114
1118
  switch (e.t = e.type, e.type) {
1115
1119
  case 0: {
1116
1120
  const t = e;
1117
- Re(t.body), t.b = t.body, delete t.body;
1121
+ ke(t.body), t.b = t.body, delete t.body;
1118
1122
  break;
1119
1123
  }
1120
1124
  case 1: {
1121
1125
  const t = e, n = t.cases;
1122
1126
  for (let r = 0; r < n.length; r++)
1123
- Re(n[r]);
1127
+ ke(n[r]);
1124
1128
  t.c = n, delete t.cases;
1125
1129
  break;
1126
1130
  }
1127
1131
  case 2: {
1128
1132
  const t = e, n = t.items;
1129
1133
  for (let r = 0; r < n.length; r++)
1130
- Re(n[r]);
1134
+ ke(n[r]);
1131
1135
  t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
1132
1136
  break;
1133
1137
  }
@@ -1141,7 +1145,7 @@ function Re(e) {
1141
1145
  }
1142
1146
  case 6: {
1143
1147
  const t = e;
1144
- Re(t.key), t.k = t.key, delete t.key, t.modifier && (Re(t.modifier), t.m = t.modifier, delete t.modifier);
1148
+ ke(t.key), t.k = t.key, delete t.key, t.modifier && (ke(t.modifier), t.m = t.modifier, delete t.modifier);
1145
1149
  break;
1146
1150
  }
1147
1151
  case 5: {
@@ -1156,15 +1160,15 @@ function Re(e) {
1156
1160
  }
1157
1161
  default:
1158
1162
  if (process.env.NODE_ENV !== "production")
1159
- throw Ve(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1160
- domain: Us,
1163
+ throw we(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1164
+ domain: Fs,
1161
1165
  args: [e.type]
1162
1166
  });
1163
1167
  }
1164
1168
  delete e.type;
1165
1169
  }
1166
- const ws = "parser";
1167
- function Vs(e, t) {
1170
+ const Us = "parser";
1171
+ function ws(e, t) {
1168
1172
  const { filename: n, breakLineCode: r, needIndent: s } = t, a = t.location !== !1, o = {
1169
1173
  filename: n,
1170
1174
  code: "",
@@ -1181,20 +1185,20 @@ function Vs(e, t) {
1181
1185
  function u(C, S) {
1182
1186
  o.code += C;
1183
1187
  }
1184
- function d(C, S = !0) {
1188
+ function E(C, S = !0) {
1185
1189
  const f = S ? r : "";
1186
1190
  u(s ? f + " ".repeat(C) : f);
1187
1191
  }
1188
1192
  function I(C = !0) {
1189
1193
  const S = ++o.indentLevel;
1190
- C && d(S);
1194
+ C && E(S);
1191
1195
  }
1192
1196
  function b(C = !0) {
1193
1197
  const S = --o.indentLevel;
1194
- C && d(S);
1198
+ C && E(S);
1195
1199
  }
1196
1200
  function N() {
1197
- d(o.indentLevel);
1201
+ E(o.indentLevel);
1198
1202
  }
1199
1203
  return {
1200
1204
  context: i,
@@ -1206,25 +1210,25 @@ function Vs(e, t) {
1206
1210
  needIndent: () => o.needIndent
1207
1211
  };
1208
1212
  }
1209
- function $s(e, t) {
1213
+ function Vs(e, t) {
1210
1214
  const { helper: n } = e;
1211
1215
  e.push(`${n(
1212
1216
  "linked"
1213
1217
  /* HelperNameMap.LINKED */
1214
- )}(`), Ue(e, t.key), t.modifier ? (e.push(", "), Ue(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1218
+ )}(`), Fe(e, t.key), t.modifier ? (e.push(", "), Fe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1215
1219
  }
1216
- function Ws(e, t) {
1220
+ function $s(e, t) {
1217
1221
  const { helper: n, needIndent: r } = e;
1218
1222
  e.push(`${n(
1219
1223
  "normalize"
1220
1224
  /* HelperNameMap.NORMALIZE */
1221
1225
  )}([`), e.indent(r());
1222
1226
  const s = t.items.length;
1223
- for (let a = 0; a < s && (Ue(e, t.items[a]), a !== s - 1); a++)
1227
+ for (let a = 0; a < s && (Fe(e, t.items[a]), a !== s - 1); a++)
1224
1228
  e.push(", ");
1225
1229
  e.deindent(r()), e.push("])");
1226
1230
  }
1227
- function Gs(e, t) {
1231
+ function Ws(e, t) {
1228
1232
  const { helper: n, needIndent: r } = e;
1229
1233
  if (t.cases.length > 1) {
1230
1234
  e.push(`${n(
@@ -1232,28 +1236,28 @@ function Gs(e, t) {
1232
1236
  /* HelperNameMap.PLURAL */
1233
1237
  )}([`), e.indent(r());
1234
1238
  const s = t.cases.length;
1235
- for (let a = 0; a < s && (Ue(e, t.cases[a]), a !== s - 1); a++)
1239
+ for (let a = 0; a < s && (Fe(e, t.cases[a]), a !== s - 1); a++)
1236
1240
  e.push(", ");
1237
1241
  e.deindent(r()), e.push("])");
1238
1242
  }
1239
1243
  }
1240
- function xs(e, t) {
1241
- t.body ? Ue(e, t.body) : e.push("null");
1244
+ function Gs(e, t) {
1245
+ t.body ? Fe(e, t.body) : e.push("null");
1242
1246
  }
1243
- function Ue(e, t) {
1247
+ function Fe(e, t) {
1244
1248
  const { helper: n } = e;
1245
1249
  switch (t.type) {
1246
1250
  case 0:
1247
- xs(e, t);
1251
+ Gs(e, t);
1248
1252
  break;
1249
1253
  case 1:
1250
- Gs(e, t);
1254
+ Ws(e, t);
1251
1255
  break;
1252
1256
  case 2:
1253
- Ws(e, t);
1257
+ $s(e, t);
1254
1258
  break;
1255
1259
  case 6:
1256
- $s(e, t);
1260
+ Vs(e, t);
1257
1261
  break;
1258
1262
  case 8:
1259
1263
  e.push(JSON.stringify(t.value), t);
@@ -1287,74 +1291,74 @@ function Ue(e, t) {
1287
1291
  break;
1288
1292
  default:
1289
1293
  if (process.env.NODE_ENV !== "production")
1290
- throw Ve(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1291
- domain: ws,
1294
+ throw we(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1295
+ domain: Us,
1292
1296
  args: [t.type]
1293
1297
  });
1294
1298
  }
1295
1299
  }
1296
- const Hs = (e, t = {}) => {
1300
+ const xs = (e, t = {}) => {
1297
1301
  const n = L(t.mode) ? t.mode : "normal", r = L(t.filename) ? t.filename : "message.intl";
1298
1302
  t.sourceMap;
1299
1303
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1300
- `, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Vs(e, {
1304
+ `, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = ws(e, {
1301
1305
  filename: r,
1302
1306
  breakLineCode: s,
1303
1307
  needIndent: a
1304
1308
  });
1305
- i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(a), o.length > 0 && (i.push(`const { ${zt(o.map((I) => `${I}: _${I}`), ", ")} } = ctx`), i.newline()), i.push("return "), Ue(i, e), i.deindent(a), i.push("}"), delete e.helpers;
1306
- const { code: u, map: d } = i.context();
1309
+ i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(a), o.length > 0 && (i.push(`const { ${zt(o.map((I) => `${I}: _${I}`), ", ")} } = ctx`), i.newline()), i.push("return "), Fe(i, e), i.deindent(a), i.push("}"), delete e.helpers;
1310
+ const { code: u, map: E } = i.context();
1307
1311
  return {
1308
1312
  ast: e,
1309
1313
  code: u,
1310
- map: d ? d.toJSON() : void 0
1314
+ map: E ? E.toJSON() : void 0
1311
1315
  // eslint-disable-line @typescript-eslint/no-explicit-any
1312
1316
  };
1313
1317
  };
1314
- function Ys(e, t = {}) {
1315
- const n = J({}, t), r = !!n.jit, s = !!n.minify, a = n.optimize == null ? !0 : n.optimize, i = ks(n).parse(e);
1316
- return r ? (a && Fs(i), s && Re(i), { ast: i, code: "" }) : (Ms(i, n), Hs(i, n));
1318
+ function Hs(e, t = {}) {
1319
+ const n = J({}, t), r = !!n.jit, s = !!n.minify, a = n.optimize == null ? !0 : n.optimize, i = Ds(n).parse(e);
1320
+ return r ? (a && Ms(i), s && ke(i), { ast: i, code: "" }) : (Rs(i, n), xs(i, n));
1317
1321
  }
1318
- function Bs() {
1319
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ve().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ve().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1322
+ function Ys() {
1323
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1320
1324
  }
1321
1325
  function se(e) {
1322
1326
  return M(e) && nn(e) === 0 && (oe(e, "b") || oe(e, "body"));
1323
1327
  }
1324
- const rr = ["b", "body"];
1328
+ const nr = ["b", "body"];
1329
+ function Bs(e) {
1330
+ return ge(e, nr);
1331
+ }
1332
+ const rr = ["c", "cases"];
1325
1333
  function Ks(e) {
1326
- return Te(e, rr);
1334
+ return ge(e, rr, []);
1327
1335
  }
1328
- const sr = ["c", "cases"];
1336
+ const sr = ["s", "static"];
1329
1337
  function js(e) {
1330
- return Te(e, sr, []);
1338
+ return ge(e, sr);
1331
1339
  }
1332
- const ar = ["s", "static"];
1340
+ const ar = ["i", "items"];
1333
1341
  function Xs(e) {
1334
- return Te(e, ar);
1342
+ return ge(e, ar, []);
1335
1343
  }
1336
- const or = ["i", "items"];
1337
- function Js(e) {
1338
- return Te(e, or, []);
1339
- }
1340
- const lr = ["t", "type"];
1344
+ const or = ["t", "type"];
1341
1345
  function nn(e) {
1342
- return Te(e, lr);
1346
+ return ge(e, or);
1343
1347
  }
1344
- const ir = ["v", "value"];
1348
+ const lr = ["v", "value"];
1345
1349
  function tt(e, t) {
1346
- const n = Te(e, ir);
1350
+ const n = ge(e, lr);
1347
1351
  if (n != null)
1348
1352
  return n;
1349
1353
  throw Be(t);
1350
1354
  }
1351
- const cr = ["m", "modifier"];
1352
- function Qs(e) {
1353
- return Te(e, cr);
1355
+ const ir = ["m", "modifier"];
1356
+ function Js(e) {
1357
+ return ge(e, ir);
1354
1358
  }
1355
- const ur = ["k", "key"];
1356
- function qs(e) {
1357
- const t = Te(e, ur);
1359
+ const cr = ["k", "key"];
1360
+ function Qs(e) {
1361
+ const t = ge(e, cr);
1358
1362
  if (t)
1359
1363
  return t;
1360
1364
  throw Be(
@@ -1362,7 +1366,7 @@ function qs(e) {
1362
1366
  /* NodeTypes.Linked */
1363
1367
  );
1364
1368
  }
1365
- function Te(e, t, n) {
1369
+ function ge(e, t, n) {
1366
1370
  for (let r = 0; r < t.length; r++) {
1367
1371
  const s = t[r];
1368
1372
  if (oe(e, s) && e[s] != null)
@@ -1370,31 +1374,31 @@ function Te(e, t, n) {
1370
1374
  }
1371
1375
  return n;
1372
1376
  }
1373
- const fr = [
1377
+ const ur = [
1378
+ ...nr,
1374
1379
  ...rr,
1375
1380
  ...sr,
1376
1381
  ...ar,
1377
- ...or,
1378
- ...ur,
1379
1382
  ...cr,
1380
1383
  ...ir,
1381
- ...lr
1384
+ ...lr,
1385
+ ...or
1382
1386
  ];
1383
1387
  function Be(e) {
1384
1388
  return new Error(`unhandled node type: ${e}`);
1385
1389
  }
1386
1390
  function yt(e) {
1387
- return (n) => Zs(n, e);
1391
+ return (n) => qs(n, e);
1388
1392
  }
1389
- function Zs(e, t) {
1390
- const n = Ks(t);
1393
+ function qs(e, t) {
1394
+ const n = Bs(t);
1391
1395
  if (n == null)
1392
1396
  throw Be(
1393
1397
  0
1394
1398
  /* NodeTypes.Resource */
1395
1399
  );
1396
1400
  if (nn(n) === 1) {
1397
- const a = js(n);
1401
+ const a = Ks(n);
1398
1402
  return e.plural(a.reduce((o, i) => [
1399
1403
  ...o,
1400
1404
  hn(e, i)
@@ -1403,11 +1407,11 @@ function Zs(e, t) {
1403
1407
  return hn(e, n);
1404
1408
  }
1405
1409
  function hn(e, t) {
1406
- const n = Xs(t);
1410
+ const n = js(t);
1407
1411
  if (n != null)
1408
1412
  return e.type === "text" ? n : e.normalize([n]);
1409
1413
  {
1410
- const r = Js(t).reduce((s, a) => [...s, Mt(e, a)], []);
1414
+ const r = Xs(t).reduce((s, a) => [...s, Mt(e, a)], []);
1411
1415
  return e.normalize(r);
1412
1416
  }
1413
1417
  }
@@ -1435,7 +1439,7 @@ function Mt(e, t) {
1435
1439
  throw Be(n);
1436
1440
  }
1437
1441
  case 6: {
1438
- const r = t, s = Qs(r), a = qs(r);
1442
+ const r = t, s = Js(r), a = Qs(r);
1439
1443
  return e.linked(Mt(e, a), s ? Mt(e, s) : void 0, e.type);
1440
1444
  }
1441
1445
  case 7:
@@ -1446,28 +1450,28 @@ function Mt(e, t) {
1446
1450
  throw new Error(`unhandled node on format message part: ${n}`);
1447
1451
  }
1448
1452
  }
1449
- const zs = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1450
- function ea(e, t) {
1451
- t && hs(e) && fe(ct(zs, { source: e }));
1453
+ const Zs = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1454
+ function zs(e, t) {
1455
+ t && bs(e) && ue(ct(Zs, { source: e }));
1452
1456
  }
1453
- const ta = (e) => e;
1457
+ const ea = (e) => e;
1454
1458
  let nt = $();
1455
- function na(e, t = {}) {
1459
+ function ta(e, t = {}) {
1456
1460
  let n = !1;
1457
- const r = t.onError || Ts;
1461
+ const r = t.onError || Ns;
1458
1462
  return t.onError = (s) => {
1459
1463
  n = !0, r(s);
1460
- }, { ...Ys(e, t), detectError: n };
1464
+ }, { ...Hs(e, t), detectError: n };
1461
1465
  }
1462
1466
  // @__NO_SIDE_EFFECTS__
1463
- function ra(e, t) {
1467
+ function na(e, t) {
1464
1468
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && L(e)) {
1465
1469
  const n = F(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1466
- process.env.NODE_ENV !== "production" && ea(e, n);
1467
- const s = (t.onCacheKey || ta)(e), a = nt[s];
1470
+ process.env.NODE_ENV !== "production" && zs(e, n);
1471
+ const s = (t.onCacheKey || ea)(e), a = nt[s];
1468
1472
  if (a)
1469
1473
  return a;
1470
- const { ast: o, detectError: i } = na(e, {
1474
+ const { ast: o, detectError: i } = ta(e, {
1471
1475
  ...t,
1472
1476
  location: process.env.NODE_ENV !== "production",
1473
1477
  jit: !0
@@ -1475,7 +1479,7 @@ function ra(e, t) {
1475
1479
  return i ? u : nt[s] = u;
1476
1480
  } else {
1477
1481
  if (process.env.NODE_ENV !== "production" && !se(e))
1478
- return fe(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1482
+ return ue(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1479
1483
  const n = e.cacheKey;
1480
1484
  if (n) {
1481
1485
  const r = nt[n];
@@ -1485,10 +1489,10 @@ function ra(e, t) {
1485
1489
  }
1486
1490
  }
1487
1491
  let Ke = null;
1488
- function sa(e) {
1492
+ function ra(e) {
1489
1493
  Ke = e;
1490
1494
  }
1491
- function aa(e, t, n) {
1495
+ function sa(e, t, n) {
1492
1496
  Ke && Ke.emit("i18n:init", {
1493
1497
  timestamp: Date.now(),
1494
1498
  i18n: e,
@@ -1496,12 +1500,12 @@ function aa(e, t, n) {
1496
1500
  meta: n
1497
1501
  });
1498
1502
  }
1499
- const oa = /* @__PURE__ */ la("function:translate");
1500
- function la(e) {
1503
+ const aa = /* @__PURE__ */ oa("function:translate");
1504
+ function oa(e) {
1501
1505
  return (t) => Ke && Ke.emit(e, t);
1502
1506
  }
1503
1507
  const q = {
1504
- INVALID_ARGUMENT: gs,
1508
+ INVALID_ARGUMENT: ps,
1505
1509
  // 17
1506
1510
  INVALID_DATE_ARGUMENT: 18,
1507
1511
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1509,11 +1513,11 @@ const q = {
1509
1513
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1510
1514
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1511
1515
  NOT_SUPPORT_LOCALE_TYPE: 23
1512
- }, ia = 24;
1513
- function pe(e) {
1514
- return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: ca } : void 0);
1516
+ }, la = 24;
1517
+ function Ee(e) {
1518
+ return we(e, null, process.env.NODE_ENV !== "production" ? { messages: ia } : void 0);
1515
1519
  }
1516
- const ca = {
1520
+ const ia = {
1517
1521
  [q.INVALID_ARGUMENT]: "Invalid arguments",
1518
1522
  [q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1519
1523
  [q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1534,21 +1538,21 @@ function In(e) {
1534
1538
  return Pt;
1535
1539
  if (e.constructor.name === "Function") {
1536
1540
  const t = e();
1537
- if (ms(t))
1538
- throw pe(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1541
+ if (_s(t))
1542
+ throw Ee(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1539
1543
  return Pt = t;
1540
1544
  } else
1541
- throw pe(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1545
+ throw Ee(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1542
1546
  } else
1543
- throw pe(q.NOT_SUPPORT_LOCALE_TYPE);
1547
+ throw Ee(q.NOT_SUPPORT_LOCALE_TYPE);
1544
1548
  }
1545
- function ua(e, t, n) {
1549
+ function ca(e, t, n) {
1546
1550
  return [.../* @__PURE__ */ new Set([
1547
1551
  n,
1548
1552
  ...H(t) ? t : M(t) ? Object.keys(t) : L(t) ? [t] : [n]
1549
1553
  ])];
1550
1554
  }
1551
- function _r(e, t, n) {
1555
+ function fr(e, t, n) {
1552
1556
  const r = L(n) ? n : je, s = e;
1553
1557
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1554
1558
  let a = s.__localeChainCache.get(r);
@@ -1566,20 +1570,20 @@ function Ln(e, t, n) {
1566
1570
  let r = !0;
1567
1571
  for (let s = 0; s < t.length && F(r); s++) {
1568
1572
  const a = t[s];
1569
- L(a) && (r = fa(e, t[s], n));
1573
+ L(a) && (r = ua(e, t[s], n));
1570
1574
  }
1571
1575
  return r;
1572
1576
  }
1573
- function fa(e, t, n) {
1577
+ function ua(e, t, n) {
1574
1578
  let r;
1575
1579
  const s = t.split("-");
1576
1580
  do {
1577
1581
  const a = s.join("-");
1578
- r = _a(e, a, n), s.splice(-1, 1);
1582
+ r = fa(e, a, n), s.splice(-1, 1);
1579
1583
  } while (s.length && r === !0);
1580
1584
  return r;
1581
1585
  }
1582
- function _a(e, t, n) {
1586
+ function fa(e, t, n) {
1583
1587
  let r = !1;
1584
1588
  if (!e.includes(t) && (r = !0, t)) {
1585
1589
  r = t[t.length - 1] !== "!";
@@ -1588,8 +1592,8 @@ function _a(e, t, n) {
1588
1592
  }
1589
1593
  return r;
1590
1594
  }
1591
- const be = [];
1592
- be[
1595
+ const Ne = [];
1596
+ Ne[
1593
1597
  0
1594
1598
  /* States.BEFORE_PATH */
1595
1599
  ] = {
@@ -1611,7 +1615,7 @@ be[
1611
1615
  /* States.AFTER_PATH */
1612
1616
  ]
1613
1617
  };
1614
- be[
1618
+ Ne[
1615
1619
  1
1616
1620
  /* States.IN_PATH */
1617
1621
  ] = {
@@ -1632,7 +1636,7 @@ be[
1632
1636
  /* States.AFTER_PATH */
1633
1637
  ]
1634
1638
  };
1635
- be[
1639
+ Ne[
1636
1640
  2
1637
1641
  /* States.BEFORE_IDENT */
1638
1642
  ] = {
@@ -1651,7 +1655,7 @@ be[
1651
1655
  /* Actions.APPEND */
1652
1656
  ]
1653
1657
  };
1654
- be[
1658
+ Ne[
1655
1659
  3
1656
1660
  /* States.IN_IDENT */
1657
1661
  ] = {
@@ -1686,7 +1690,7 @@ be[
1686
1690
  /* Actions.PUSH */
1687
1691
  ]
1688
1692
  };
1689
- be[
1693
+ Ne[
1690
1694
  4
1691
1695
  /* States.IN_SUB_PATH */
1692
1696
  ] = {
@@ -1717,7 +1721,7 @@ be[
1717
1721
  /* Actions.APPEND */
1718
1722
  ]
1719
1723
  };
1720
- be[
1724
+ Ne[
1721
1725
  5
1722
1726
  /* States.IN_SINGLE_QUOTE */
1723
1727
  ] = {
@@ -1733,7 +1737,7 @@ be[
1733
1737
  /* Actions.APPEND */
1734
1738
  ]
1735
1739
  };
1736
- be[
1740
+ Ne[
1737
1741
  6
1738
1742
  /* States.IN_DOUBLE_QUOTE */
1739
1743
  ] = {
@@ -1749,15 +1753,15 @@ be[
1749
1753
  /* Actions.APPEND */
1750
1754
  ]
1751
1755
  };
1752
- const ma = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1753
- function da(e) {
1754
- return ma.test(e);
1756
+ const _a = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1757
+ function ma(e) {
1758
+ return _a.test(e);
1755
1759
  }
1756
- function Ea(e) {
1760
+ function da(e) {
1757
1761
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1758
1762
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1759
1763
  }
1760
- function pa(e) {
1764
+ function Ea(e) {
1761
1765
  if (e == null)
1762
1766
  return "o";
1763
1767
  switch (e.charCodeAt(0)) {
@@ -1794,13 +1798,13 @@ function pa(e) {
1794
1798
  }
1795
1799
  return "i";
1796
1800
  }
1797
- function ga(e) {
1801
+ function pa(e) {
1798
1802
  const t = e.trim();
1799
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : da(t) ? Ea(t) : "*" + t;
1803
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ma(t) ? da(t) : "*" + t;
1800
1804
  }
1801
- function Na(e) {
1805
+ function ga(e) {
1802
1806
  const t = [];
1803
- let n = -1, r = 0, s = 0, a, o, i, u, d, I, b;
1807
+ let n = -1, r = 0, s = 0, a, o, i, u, E, I, b;
1804
1808
  const N = [];
1805
1809
  N[
1806
1810
  0
@@ -1830,7 +1834,7 @@ function Na(e) {
1830
1834
  /* Actions.APPEND */
1831
1835
  ]();
1832
1836
  else {
1833
- if (s = 0, o === void 0 || (o = ga(o), o === !1))
1837
+ if (s = 0, o === void 0 || (o = pa(o), o === !1))
1834
1838
  return !1;
1835
1839
  N[
1836
1840
  1
@@ -1848,27 +1852,27 @@ function Na(e) {
1848
1852
  }
1849
1853
  for (; r !== null; )
1850
1854
  if (n++, a = e[n], !(a === "\\" && A())) {
1851
- if (u = pa(a), b = be[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))))
1855
+ if (u = Ea(a), b = Ne[r], E = b[u] || b.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (I = N[E[1]], I && (i = a, I() === !1))))
1852
1856
  return;
1853
1857
  if (r === 7)
1854
1858
  return t;
1855
1859
  }
1856
1860
  }
1857
1861
  const On = /* @__PURE__ */ new Map();
1858
- function Ta(e, t) {
1862
+ function Na(e, t) {
1859
1863
  return M(e) ? e[t] : null;
1860
1864
  }
1861
- function ba(e, t) {
1865
+ function Ta(e, t) {
1862
1866
  if (!M(e))
1863
1867
  return null;
1864
1868
  let n = On.get(t);
1865
- if (n || (n = Na(t), n && On.set(t, n)), !n)
1869
+ if (n || (n = ga(t), n && On.set(t, n)), !n)
1866
1870
  return null;
1867
1871
  const r = n.length;
1868
1872
  let s = e, a = 0;
1869
1873
  for (; a < r; ) {
1870
1874
  const o = n[a];
1871
- if (fr.includes(o) && se(s))
1875
+ if (ur.includes(o) && se(s))
1872
1876
  return null;
1873
1877
  const i = s[o];
1874
1878
  if (i === void 0 || W(s))
@@ -1885,7 +1889,7 @@ const Z = {
1885
1889
  CANNOT_FORMAT_DATE: 5,
1886
1890
  FALLBACK_TO_DATE_FORMAT: 6,
1887
1891
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
1888
- }, ha = 8, Ia = {
1892
+ }, ba = 8, ha = {
1889
1893
  [Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1890
1894
  [Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1891
1895
  [Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -1894,17 +1898,21 @@ const Z = {
1894
1898
  [Z.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
1895
1899
  [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."
1896
1900
  };
1897
- function Se(e, ...t) {
1898
- return ct(Ia[e], ...t);
1901
+ function Ae(e, ...t) {
1902
+ return ct(ha[e], ...t);
1899
1903
  }
1900
- const La = "11.2.8", ft = -1, je = "en-US", st = "", vn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1901
- function Oa() {
1904
+ const Ia = "11.2.8", ft = -1, je = "en-US", at = "", vn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1905
+ function La() {
1902
1906
  return {
1903
1907
  upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1904
1908
  lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1905
1909
  capitalize: (e, t) => t === "text" && L(e) ? vn(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? vn(e.children) : e
1906
1910
  };
1907
1911
  }
1912
+ let _r;
1913
+ function Oa(e) {
1914
+ _r = e;
1915
+ }
1908
1916
  let mr;
1909
1917
  function va(e) {
1910
1918
  mr = e;
@@ -1913,23 +1921,19 @@ let dr;
1913
1921
  function Ca(e) {
1914
1922
  dr = e;
1915
1923
  }
1916
- let Er;
1917
- function Aa(e) {
1924
+ let Er = null;
1925
+ const Aa = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1918
1926
  Er = e;
1919
- }
1927
+ }, Sa = /* @__NO_SIDE_EFFECTS__ */ () => Er;
1920
1928
  let pr = null;
1921
- const Sa = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1922
- pr = e;
1923
- }, ya = /* @__NO_SIDE_EFFECTS__ */ () => pr;
1924
- let gr = null;
1925
1929
  const Cn = (e) => {
1926
- gr = e;
1927
- }, Pa = () => gr;
1930
+ pr = e;
1931
+ }, ya = () => pr;
1928
1932
  let An = 0;
1929
- function Da(e = {}) {
1930
- const t = W(e.onWarn) ? e.onWarn : fe, n = L(e.version) ? e.version : La, 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, Oa()), 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 : mr;
1931
- process.env.NODE_ENV !== "production" && W(e.messageCompiler) && qt(Se(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1932
- const O = W(e.messageResolver) ? e.messageResolver : dr || Ta, v = W(e.localeFallbacker) ? e.localeFallbacker : Er || ua, 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 : {};
1933
+ function Pa(e = {}) {
1934
+ const t = W(e.onWarn) ? e.onWarn : ue, n = L(e.version) ? e.version : Ia, 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), E = J($(), e.modifiers, La()), I = e.pluralRules || $(), b = W(e.missing) ? e.missing : null, N = F(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, A = F(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, C = !!e.unresolving, S = W(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, m = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, d = W(e.messageCompiler) ? e.messageCompiler : _r;
1935
+ process.env.NODE_ENV !== "production" && W(e.messageCompiler) && qt(Ae(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1936
+ const O = W(e.messageResolver) ? e.messageResolver : mr || Na, v = W(e.localeFallbacker) ? e.localeFallbacker : dr || ca, 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 : {};
1933
1937
  An++;
1934
1938
  const Y = {
1935
1939
  version: n,
@@ -1937,7 +1941,7 @@ function Da(e = {}) {
1937
1941
  locale: r,
1938
1942
  fallbackLocale: a,
1939
1943
  messages: o,
1940
- modifiers: d,
1944
+ modifiers: E,
1941
1945
  pluralRules: I,
1942
1946
  missing: b,
1943
1947
  missingWarn: N,
@@ -1948,20 +1952,20 @@ function Da(e = {}) {
1948
1952
  processor: f,
1949
1953
  warnHtmlMessage: m,
1950
1954
  escapeParameter: h,
1951
- messageCompiler: E,
1955
+ messageCompiler: d,
1952
1956
  messageResolver: O,
1953
1957
  localeFallbacker: v,
1954
1958
  fallbackContext: p,
1955
1959
  onWarn: t,
1956
1960
  __meta: ae
1957
1961
  };
1958
- 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__) && aa(Y, n, ae), Y;
1962
+ 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__) && sa(Y, n, ae), Y;
1959
1963
  }
1960
1964
  const Dt = (e) => ({ [e]: $() });
1961
1965
  function _t(e, t) {
1962
1966
  return e instanceof RegExp ? e.test(t) : e;
1963
1967
  }
1964
- function Nr(e, t) {
1968
+ function gr(e, t) {
1965
1969
  return e instanceof RegExp ? e.test(t) : e;
1966
1970
  }
1967
1971
  function sn(e, t, n, r, s) {
@@ -1979,44 +1983,44 @@ function sn(e, t, n, r, s) {
1979
1983
  const i = a(e, n, t, s);
1980
1984
  return L(i) ? i : t;
1981
1985
  } else
1982
- return process.env.NODE_ENV !== "production" && Nr(r, t) && o(Se(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1986
+ return process.env.NODE_ENV !== "production" && gr(r, t) && o(Ae(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1983
1987
  }
1984
- function Ye(e, t, n) {
1988
+ function He(e, t, n) {
1985
1989
  const r = e;
1986
1990
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1987
1991
  }
1988
- function Tr(e, t) {
1992
+ function Nr(e, t) {
1989
1993
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1990
1994
  }
1991
- function ka(e, t) {
1995
+ function Da(e, t) {
1992
1996
  const n = t.indexOf(e);
1993
1997
  if (n === -1)
1994
1998
  return !1;
1995
1999
  for (let r = n + 1; r < t.length; r++)
1996
- if (Tr(e, t[r]))
2000
+ if (Nr(e, t[r]))
1997
2001
  return !0;
1998
2002
  return !1;
1999
2003
  }
2000
- const Sn = typeof Intl < "u", br = {
2004
+ const Sn = typeof Intl < "u", Tr = {
2001
2005
  dateTimeFormat: Sn && typeof Intl.DateTimeFormat < "u",
2002
2006
  numberFormat: Sn && typeof Intl.NumberFormat < "u"
2003
2007
  };
2004
2008
  function yn(e, ...t) {
2005
2009
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: a, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
2006
- if (process.env.NODE_ENV !== "production" && !br.dateTimeFormat)
2007
- return a(Se(Z.CANNOT_FORMAT_DATE)), st;
2008
- 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 = rn(e, I), S = o(
2010
+ if (process.env.NODE_ENV !== "production" && !Tr.dateTimeFormat)
2011
+ return a(Ae(Z.CANNOT_FORMAT_DATE)), at;
2012
+ const [u, E, I, b] = Ft(...t), N = F(I.missingWarn) ? I.missingWarn : e.missingWarn, A = F(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn, D = !!I.part, C = rn(e, I), S = o(
2009
2013
  e,
2010
2014
  // eslint-disable-line @typescript-eslint/no-explicit-any
2011
2015
  s,
2012
2016
  C
2013
2017
  );
2014
2018
  if (!L(u) || u === "")
2015
- return new Intl.DateTimeFormat(C, b).format(d);
2016
- let f = {}, m, h = null, E = C, O = null;
2019
+ return new Intl.DateTimeFormat(C, b).format(E);
2020
+ let f = {}, m, h = null, d = C, O = null;
2017
2021
  const v = "datetime format";
2018
2022
  for (let w = 0; w < S.length; w++) {
2019
- if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && _t(A, u) && a(Se(Z.FALLBACK_TO_DATE_FORMAT, {
2023
+ if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && _t(A, u) && a(Ae(Z.FALLBACK_TO_DATE_FORMAT, {
2020
2024
  key: u,
2021
2025
  target: m
2022
2026
  })), process.env.NODE_ENV !== "production" && C !== m) {
@@ -2024,23 +2028,23 @@ function yn(e, ...t) {
2024
2028
  X && X.emit("fallback", {
2025
2029
  type: v,
2026
2030
  key: u,
2027
- from: E,
2031
+ from: d,
2028
2032
  to: O,
2029
2033
  groupId: `${v}:${u}`
2030
2034
  });
2031
2035
  }
2032
2036
  if (f = n[m] || {}, h = f[u], R(h))
2033
2037
  break;
2034
- sn(e, u, m, N, v), E = O;
2038
+ sn(e, u, m, N, v), d = O;
2035
2039
  }
2036
2040
  if (!R(h) || !L(m))
2037
2041
  return r ? ft : u;
2038
2042
  let p = `${m}__${u}`;
2039
2043
  ut(b) || (p = `${p}__${JSON.stringify(b)}`);
2040
2044
  let k = i.get(p);
2041
- return k || (k = new Intl.DateTimeFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(d) : k.format(d);
2045
+ return k || (k = new Intl.DateTimeFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(E) : k.format(E);
2042
2046
  }
2043
- const hr = [
2047
+ const br = [
2044
2048
  "localeMatcher",
2045
2049
  "weekday",
2046
2050
  "era",
@@ -2068,24 +2072,24 @@ function Ft(...e) {
2068
2072
  if (L(t)) {
2069
2073
  const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2070
2074
  if (!u)
2071
- throw pe(q.INVALID_ISO_DATE_ARGUMENT);
2072
- const d = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2073
- i = new Date(d);
2075
+ throw Ee(q.INVALID_ISO_DATE_ARGUMENT);
2076
+ const E = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2077
+ i = new Date(E);
2074
2078
  try {
2075
2079
  i.toISOString();
2076
2080
  } catch {
2077
- throw pe(q.INVALID_ISO_DATE_ARGUMENT);
2081
+ throw Ee(q.INVALID_ISO_DATE_ARGUMENT);
2078
2082
  }
2079
- } else if (cs(t)) {
2083
+ } else if (is(t)) {
2080
2084
  if (isNaN(t.getTime()))
2081
- throw pe(q.INVALID_DATE_ARGUMENT);
2085
+ throw Ee(q.INVALID_DATE_ARGUMENT);
2082
2086
  i = t;
2083
2087
  } else if (j(t))
2084
2088
  i = t;
2085
2089
  else
2086
- throw pe(q.INVALID_ARGUMENT);
2090
+ throw Ee(q.INVALID_ARGUMENT);
2087
2091
  return L(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2088
- hr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2092
+ br.includes(u) ? o[u] = n[u] : a[u] = n[u];
2089
2093
  }), L(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2090
2094
  }
2091
2095
  function Pn(e, t, n) {
@@ -2097,20 +2101,20 @@ function Pn(e, t, n) {
2097
2101
  }
2098
2102
  function Dn(e, ...t) {
2099
2103
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: a, localeFallbacker: o } = e, { __numberFormatters: i } = e;
2100
- if (process.env.NODE_ENV !== "production" && !br.numberFormat)
2101
- return a(Se(Z.CANNOT_FORMAT_NUMBER)), st;
2102
- 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 = rn(e, I), S = o(
2104
+ if (process.env.NODE_ENV !== "production" && !Tr.numberFormat)
2105
+ return a(Ae(Z.CANNOT_FORMAT_NUMBER)), at;
2106
+ const [u, E, I, b] = Ut(...t), N = F(I.missingWarn) ? I.missingWarn : e.missingWarn, A = F(I.fallbackWarn) ? I.fallbackWarn : e.fallbackWarn, D = !!I.part, C = rn(e, I), S = o(
2103
2107
  e,
2104
2108
  // eslint-disable-line @typescript-eslint/no-explicit-any
2105
2109
  s,
2106
2110
  C
2107
2111
  );
2108
2112
  if (!L(u) || u === "")
2109
- return new Intl.NumberFormat(C, b).format(d);
2110
- let f = {}, m, h = null, E = C, O = null;
2113
+ return new Intl.NumberFormat(C, b).format(E);
2114
+ let f = {}, m, h = null, d = C, O = null;
2111
2115
  const v = "number format";
2112
2116
  for (let w = 0; w < S.length; w++) {
2113
- if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && _t(A, u) && a(Se(Z.FALLBACK_TO_NUMBER_FORMAT, {
2117
+ if (m = O = S[w], process.env.NODE_ENV !== "production" && C !== m && _t(A, u) && a(Ae(Z.FALLBACK_TO_NUMBER_FORMAT, {
2114
2118
  key: u,
2115
2119
  target: m
2116
2120
  })), process.env.NODE_ENV !== "production" && C !== m) {
@@ -2118,23 +2122,23 @@ function Dn(e, ...t) {
2118
2122
  X && X.emit("fallback", {
2119
2123
  type: v,
2120
2124
  key: u,
2121
- from: E,
2125
+ from: d,
2122
2126
  to: O,
2123
2127
  groupId: `${v}:${u}`
2124
2128
  });
2125
2129
  }
2126
2130
  if (f = n[m] || {}, h = f[u], R(h))
2127
2131
  break;
2128
- sn(e, u, m, N, v), E = O;
2132
+ sn(e, u, m, N, v), d = O;
2129
2133
  }
2130
2134
  if (!R(h) || !L(m))
2131
2135
  return r ? ft : u;
2132
2136
  let p = `${m}__${u}`;
2133
2137
  ut(b) || (p = `${p}__${JSON.stringify(b)}`);
2134
2138
  let k = i.get(p);
2135
- return k || (k = new Intl.NumberFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(d) : k.format(d);
2139
+ return k || (k = new Intl.NumberFormat(m, J({}, h, b)), i.set(p, k)), D ? k.formatToParts(E) : k.format(E);
2136
2140
  }
2137
- const Ir = [
2141
+ const hr = [
2138
2142
  "localeMatcher",
2139
2143
  "style",
2140
2144
  "currency",
@@ -2160,10 +2164,10 @@ function Ut(...e) {
2160
2164
  const [t, n, r, s] = e, a = $();
2161
2165
  let o = $();
2162
2166
  if (!j(t))
2163
- throw pe(q.INVALID_ARGUMENT);
2167
+ throw Ee(q.INVALID_ARGUMENT);
2164
2168
  const i = t;
2165
2169
  return L(n) ? a.key = n : R(n) && Object.keys(n).forEach((u) => {
2166
- Ir.includes(u) ? o[u] = n[u] : a[u] = n[u];
2170
+ hr.includes(u) ? o[u] = n[u] : a[u] = n[u];
2167
2171
  }), L(r) ? a.locale = r : R(r) && (o = r), R(s) && (o = s), [a.key || "", i, a, o];
2168
2172
  }
2169
2173
  function kn(e, t, n) {
@@ -2173,33 +2177,33 @@ function kn(e, t, n) {
2173
2177
  r.__numberFormatters.has(a) && r.__numberFormatters.delete(a);
2174
2178
  }
2175
2179
  }
2176
- const Ra = (e) => e, Ma = (e) => "", Fa = "text", Ua = (e) => e.length === 0 ? "" : zt(e), wa = ds;
2180
+ const ka = (e) => e, Ra = (e) => "", Ma = "text", Fa = (e) => e.length === 0 ? "" : zt(e), Ua = ms;
2177
2181
  function Rn(e, t) {
2178
2182
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2179
2183
  }
2180
- function Va(e) {
2184
+ function wa(e) {
2181
2185
  const t = j(e.pluralIndex) ? e.pluralIndex : -1;
2182
2186
  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;
2183
2187
  }
2184
- function $a(e, t) {
2188
+ function Va(e, t) {
2185
2189
  t.count || (t.count = e), t.n || (t.n = e);
2186
2190
  }
2187
- function Wa(e = {}) {
2188
- const t = e.locale, n = Va(e), r = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Rn, s = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Rn : void 0, a = (f) => f[r(n, f.length, s)], o = e.list || [], i = (f) => o[f], u = e.named || $();
2189
- j(e.pluralIndex) && $a(n, u);
2190
- const d = (f) => u[f];
2191
+ function $a(e = {}) {
2192
+ const t = e.locale, n = wa(e), r = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Rn, s = M(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Rn : void 0, a = (f) => f[r(n, f.length, s)], o = e.list || [], i = (f) => o[f], u = e.named || $();
2193
+ j(e.pluralIndex) && Va(n, u);
2194
+ const E = (f) => u[f];
2191
2195
  function I(f, m) {
2192
2196
  const h = W(e.messages) ? e.messages(f, !!m) : M(e.messages) ? e.messages[f] : !1;
2193
- return h || (e.parent ? e.parent.message(f) : Ma);
2197
+ return h || (e.parent ? e.parent.message(f) : Ra);
2194
2198
  }
2195
- const b = (f) => e.modifiers ? e.modifiers[f] : Ra, N = R(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Ua, A = R(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : wa, D = R(e.processor) && L(e.processor.type) ? e.processor.type : Fa, S = {
2199
+ const b = (f) => e.modifiers ? e.modifiers[f] : ka, N = R(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Fa, A = R(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Ua, D = R(e.processor) && L(e.processor.type) ? e.processor.type : Ma, S = {
2196
2200
  list: i,
2197
- named: d,
2201
+ named: E,
2198
2202
  plural: a,
2199
2203
  linked: (f, ...m) => {
2200
- const [h, E] = m;
2204
+ const [h, d] = m;
2201
2205
  let O = "text", v = "";
2202
- m.length === 1 ? M(h) ? (v = h.modifier || v, O = h.type || O) : L(h) && (v = h || v) : m.length === 2 && (L(h) && (v = h || v), L(E) && (O = E || O));
2206
+ m.length === 1 ? M(h) ? (v = h.modifier || v, O = h.type || O) : L(h) && (v = h || v) : m.length === 2 && (L(h) && (v = h || v), L(d) && (O = d || O));
2203
2207
  const p = I(f, !0)(S), k = (
2204
2208
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2205
2209
  O === "vnode" && H(p) && v ? p[0] : p
@@ -2216,48 +2220,48 @@ function Wa(e = {}) {
2216
2220
  }
2217
2221
  const Mn = () => "", te = (e) => W(e);
2218
2222
  function Fn(e, ...t) {
2219
- 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 = rn(e, d);
2220
- N && Ga(d);
2223
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: a, fallbackLocale: o, messages: i } = e, [u, E] = wt(...t), I = F(E.missingWarn) ? E.missingWarn : e.missingWarn, b = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, N = F(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, A = !!E.resolvedMessage, D = L(E.default) || F(E.default) ? F(E.default) ? a ? u : () => u : E.default : n ? a ? u : () => u : null, C = n || D != null && (L(D) || W(D)), S = rn(e, E);
2224
+ N && Wa(E);
2221
2225
  let [f, m, h] = A ? [
2222
2226
  u,
2223
2227
  S,
2224
2228
  i[S] || $()
2225
- ] : Lr(e, u, S, o, b, I), E = f, O = u;
2226
- if (!A && !(L(E) || se(E) || te(E)) && C && (E = D, O = E), !A && (!(L(E) || se(E) || te(E)) || !L(m)))
2229
+ ] : Ir(e, u, S, o, b, I), d = f, O = u;
2230
+ if (!A && !(L(d) || se(d) || te(d)) && C && (d = D, O = d), !A && (!(L(d) || se(d) || te(d)) || !L(m)))
2227
2231
  return s ? ft : u;
2228
- if (process.env.NODE_ENV !== "production" && L(E) && e.messageCompiler == null)
2229
- return fe(`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;
2232
+ if (process.env.NODE_ENV !== "production" && L(d) && e.messageCompiler == null)
2233
+ 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;
2230
2234
  let v = !1;
2231
2235
  const p = () => {
2232
2236
  v = !0;
2233
- }, k = te(E) ? E : Or(e, u, m, E, O, p);
2237
+ }, k = te(d) ? d : Lr(e, u, m, d, O, p);
2234
2238
  if (v)
2235
- return E;
2236
- const w = Ba(e, m, h, d), X = Wa(w), ae = xa(e, k, X);
2239
+ return d;
2240
+ const w = Ya(e, m, h, E), X = $a(w), ae = Ga(e, k, X);
2237
2241
  let Y = r ? r(ae, u) : ae;
2238
- if (N && L(Y) && (Y = fs(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2239
- const Pe = {
2242
+ if (N && L(Y) && (Y = us(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2243
+ const ye = {
2240
2244
  timestamp: Date.now(),
2241
- key: L(u) ? u : te(E) ? E.key : "",
2242
- locale: m || (te(E) ? E.locale : ""),
2243
- format: L(E) ? E : te(E) ? E.source : "",
2245
+ key: L(u) ? u : te(d) ? d.key : "",
2246
+ locale: m || (te(d) ? d.locale : ""),
2247
+ format: L(d) ? d : te(d) ? d.source : "",
2244
2248
  message: Y
2245
2249
  };
2246
- Pe.meta = J({}, e.__meta, /* @__PURE__ */ ya() || {}), oa(Pe);
2250
+ ye.meta = J({}, e.__meta, /* @__PURE__ */ Sa() || {}), aa(ye);
2247
2251
  }
2248
2252
  return Y;
2249
2253
  }
2250
- function Ga(e) {
2254
+ function Wa(e) {
2251
2255
  H(e.list) ? e.list = e.list.map((t) => L(t) ? En(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
2252
2256
  L(e.named[t]) && (e.named[t] = En(e.named[t]));
2253
2257
  });
2254
2258
  }
2255
- function Lr(e, t, n, r, s, a) {
2256
- const { messages: o, onWarn: i, messageResolver: u, localeFallbacker: d } = e, I = d(e, r, n);
2259
+ function Ir(e, t, n, r, s, a) {
2260
+ const { messages: o, onWarn: i, messageResolver: u, localeFallbacker: E } = e, I = E(e, r, n);
2257
2261
  let b = $(), N, A = null, D = n, C = null;
2258
2262
  const S = "translate";
2259
2263
  for (let f = 0; f < I.length; f++) {
2260
- if (N = C = I[f], process.env.NODE_ENV !== "production" && n !== N && !Tr(n, N) && _t(s, t) && i(Se(Z.FALLBACK_TO_TRANSLATE, {
2264
+ if (N = C = I[f], process.env.NODE_ENV !== "production" && n !== N && !Nr(n, N) && _t(s, t) && i(Ae(Z.FALLBACK_TO_TRANSLATE, {
2261
2265
  key: t,
2262
2266
  target: N
2263
2267
  })), process.env.NODE_ENV !== "production" && n !== N) {
@@ -2271,8 +2275,8 @@ function Lr(e, t, n, r, s, a) {
2271
2275
  });
2272
2276
  }
2273
2277
  b = o[N] || $();
2274
- let m = null, h, E;
2275
- if (process.env.NODE_ENV !== "production" && le && (m = window.performance.now(), h = "intlify-message-resolve-start", E = "intlify-message-resolve-end", ee && ee(h)), (A = u(b, t)) === null && (A = b[t]), process.env.NODE_ENV !== "production" && le) {
2278
+ let m = null, h, d;
2279
+ if (process.env.NODE_ENV !== "production" && le && (m = window.performance.now(), h = "intlify-message-resolve-start", d = "intlify-message-resolve-end", ee && ee(h)), (A = u(b, t)) === null && (A = b[t]), process.env.NODE_ENV !== "production" && le) {
2276
2280
  const O = window.performance.now(), v = e.__v_emitter;
2277
2281
  v && m && A && v.emit("message-resolve", {
2278
2282
  type: "message-resolve",
@@ -2280,11 +2284,11 @@ function Lr(e, t, n, r, s, a) {
2280
2284
  message: A,
2281
2285
  time: O - m,
2282
2286
  groupId: `${S}:${t}`
2283
- }), h && E && ee && Ae && (ee(E), Ae("intlify message resolve", h, E));
2287
+ }), h && d && ee && Ce && (ee(d), Ce("intlify message resolve", h, d));
2284
2288
  }
2285
2289
  if (L(A) || se(A) || te(A))
2286
2290
  break;
2287
- if (!ka(N, I)) {
2291
+ if (!Da(N, I)) {
2288
2292
  const O = sn(
2289
2293
  e,
2290
2294
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -2299,7 +2303,7 @@ function Lr(e, t, n, r, s, a) {
2299
2303
  }
2300
2304
  return [A, N, b];
2301
2305
  }
2302
- function Or(e, t, n, r, s, a) {
2306
+ function Lr(e, t, n, r, s, a) {
2303
2307
  const { messageCompiler: o, warnHtmlMessage: i } = e;
2304
2308
  if (te(r)) {
2305
2309
  const N = r;
@@ -2309,9 +2313,9 @@ function Or(e, t, n, r, s, a) {
2309
2313
  const N = (() => r);
2310
2314
  return N.locale = n, N.key = t, N;
2311
2315
  }
2312
- let u = null, d, I;
2313
- process.env.NODE_ENV !== "production" && le && (u = window.performance.now(), d = "intlify-message-compilation-start", I = "intlify-message-compilation-end", ee && ee(d));
2314
- const b = o(r, Ha(e, n, s, r, i, a));
2316
+ let u = null, E, I;
2317
+ process.env.NODE_ENV !== "production" && le && (u = window.performance.now(), E = "intlify-message-compilation-start", I = "intlify-message-compilation-end", ee && ee(E));
2318
+ const b = o(r, xa(e, n, s, r, i, a));
2315
2319
  if (process.env.NODE_ENV !== "production" && le) {
2316
2320
  const N = window.performance.now(), A = e.__v_emitter;
2317
2321
  A && u && A.emit("message-compilation", {
@@ -2319,11 +2323,11 @@ function Or(e, t, n, r, s, a) {
2319
2323
  message: r,
2320
2324
  time: N - u,
2321
2325
  groupId: `translate:${t}`
2322
- }), d && I && ee && Ae && (ee(I), Ae("intlify message compilation", d, I));
2326
+ }), E && I && ee && Ce && (ee(I), Ce("intlify message compilation", E, I));
2323
2327
  }
2324
2328
  return b.locale = n, b.key = t, b.source = r, b;
2325
2329
  }
2326
- function xa(e, t, n) {
2330
+ function Ga(e, t, n) {
2327
2331
  let r = null, s, a;
2328
2332
  process.env.NODE_ENV !== "production" && le && (r = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ee && ee(s));
2329
2333
  const o = t(n);
@@ -2334,67 +2338,67 @@ function xa(e, t, n) {
2334
2338
  value: o,
2335
2339
  time: i - r,
2336
2340
  groupId: `translate:${t.key}`
2337
- }), s && a && ee && Ae && (ee(a), Ae("intlify message evaluation", s, a));
2341
+ }), s && a && ee && Ce && (ee(a), Ce("intlify message evaluation", s, a));
2338
2342
  }
2339
2343
  return o;
2340
2344
  }
2341
2345
  function wt(...e) {
2342
2346
  const [t, n, r] = e, s = $();
2343
2347
  if (!L(t) && !j(t) && !te(t) && !se(t))
2344
- throw pe(q.INVALID_ARGUMENT);
2348
+ throw Ee(q.INVALID_ARGUMENT);
2345
2349
  const a = j(t) ? String(t) : (te(t), t);
2346
2350
  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];
2347
2351
  }
2348
- function Ha(e, t, n, r, s, a) {
2352
+ function xa(e, t, n, r, s, a) {
2349
2353
  return {
2350
2354
  locale: t,
2351
2355
  key: n,
2352
2356
  warnHtmlMessage: s,
2353
2357
  onError: (o) => {
2354
2358
  if (a && a(o), process.env.NODE_ENV !== "production") {
2355
- const i = Ya(r), u = `Message compilation error: ${o.message}`, d = o.location && i && Es(i, o.location.start.offset, o.location.end.offset), I = e.__v_emitter;
2359
+ const i = Ha(r), u = `Message compilation error: ${o.message}`, E = o.location && i && ds(i, o.location.start.offset, o.location.end.offset), I = e.__v_emitter;
2356
2360
  I && i && I.emit("compile-error", {
2357
2361
  message: i,
2358
2362
  error: o.message,
2359
2363
  start: o.location && o.location.start.offset,
2360
2364
  end: o.location && o.location.end.offset,
2361
2365
  groupId: `translate:${n}`
2362
- }), console.error(d ? `${u}
2363
- ${d}` : u);
2366
+ }), console.error(E ? `${u}
2367
+ ${E}` : u);
2364
2368
  } else
2365
2369
  throw o;
2366
2370
  },
2367
- onCacheKey: (o) => ls(t, n, o)
2371
+ onCacheKey: (o) => os(t, n, o)
2368
2372
  };
2369
2373
  }
2370
- function Ya(e) {
2374
+ function Ha(e) {
2371
2375
  if (L(e))
2372
2376
  return e;
2373
2377
  if (e.loc && e.loc.source)
2374
2378
  return e.loc.source;
2375
2379
  }
2376
- function Ba(e, t, n, r) {
2377
- const { modifiers: s, pluralRules: a, messageResolver: o, fallbackLocale: i, fallbackWarn: u, missingWarn: d, fallbackContext: I } = e, N = {
2380
+ function Ya(e, t, n, r) {
2381
+ const { modifiers: s, pluralRules: a, messageResolver: o, fallbackLocale: i, fallbackWarn: u, missingWarn: E, fallbackContext: I } = e, N = {
2378
2382
  locale: t,
2379
2383
  modifiers: s,
2380
2384
  pluralRules: a,
2381
2385
  messages: (A, D) => {
2382
2386
  let C = o(n, A);
2383
2387
  if (C == null && (I || D)) {
2384
- const [, , S] = Lr(
2388
+ const [, , S] = Ir(
2385
2389
  I || e,
2386
2390
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2387
2391
  A,
2388
2392
  t,
2389
2393
  i,
2390
2394
  u,
2391
- d
2395
+ E
2392
2396
  );
2393
2397
  C = o(S, A);
2394
2398
  }
2395
2399
  if (L(C) || se(C)) {
2396
2400
  let S = !1;
2397
- const m = Or(e, A, t, C, A, () => {
2401
+ const m = Lr(e, A, t, C, A, () => {
2398
2402
  S = !0;
2399
2403
  });
2400
2404
  return S ? Mn : m;
@@ -2403,23 +2407,23 @@ function Ba(e, t, n, r) {
2403
2407
  };
2404
2408
  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;
2405
2409
  }
2406
- Bs();
2407
- function Ka() {
2408
- return vr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2410
+ Ys();
2411
+ function Ba() {
2412
+ return Or().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2409
2413
  }
2410
- function vr() {
2414
+ function Or() {
2411
2415
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2412
2416
  }
2413
- const ja = typeof Proxy == "function", Xa = "devtools-plugin:setup", Ja = "plugin:settings:set";
2414
- let ke, Vt;
2415
- function Qa() {
2417
+ const Ka = typeof Proxy == "function", ja = "devtools-plugin:setup", Xa = "plugin:settings:set";
2418
+ let De, Vt;
2419
+ function Ja() {
2416
2420
  var e;
2417
- 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;
2421
+ return De !== void 0 || (typeof window < "u" && window.performance ? (De = !0, Vt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (De = !0, Vt = globalThis.perf_hooks.performance) : De = !1), De;
2418
2422
  }
2419
- function qa() {
2420
- return Qa() ? Vt.now() : Date.now();
2423
+ function Qa() {
2424
+ return Ja() ? Vt.now() : Date.now();
2421
2425
  }
2422
- class Za {
2426
+ class qa {
2423
2427
  constructor(t, n) {
2424
2428
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2425
2429
  const r = {};
@@ -2447,9 +2451,9 @@ class Za {
2447
2451
  a = o;
2448
2452
  },
2449
2453
  now() {
2450
- return qa();
2454
+ return Qa();
2451
2455
  }
2452
- }, n && n.on(Ja, (o, i) => {
2456
+ }, n && n.on(Xa, (o, i) => {
2453
2457
  o === this.plugin.id && this.fallbacks.setSettings(i);
2454
2458
  }), this.proxiedOn = new Proxy({}, {
2455
2459
  get: (o, i) => this.target ? this.target.on[i] : (...u) => {
@@ -2464,11 +2468,11 @@ class Za {
2464
2468
  args: u,
2465
2469
  resolve: () => {
2466
2470
  }
2467
- }), this.fallbacks[i](...u)) : (...u) => new Promise((d) => {
2471
+ }), this.fallbacks[i](...u)) : (...u) => new Promise((E) => {
2468
2472
  this.targetQueue.push({
2469
2473
  method: i,
2470
2474
  args: u,
2471
- resolve: d
2475
+ resolve: E
2472
2476
  });
2473
2477
  })
2474
2478
  });
@@ -2481,12 +2485,12 @@ class Za {
2481
2485
  n.resolve(await this.target[n.method](...n.args));
2482
2486
  }
2483
2487
  }
2484
- function za(e, t) {
2485
- const n = e, r = vr(), s = Ka(), a = ja && n.enableEarlyProxy;
2488
+ function Za(e, t) {
2489
+ const n = e, r = Or(), s = Ba(), a = Ka && n.enableEarlyProxy;
2486
2490
  if (s && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
2487
- s.emit(Xa, e, t);
2491
+ s.emit(ja, e, t);
2488
2492
  else {
2489
- const o = a ? new Za(n, s) : null;
2493
+ const o = a ? new qa(n, s) : null;
2490
2494
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2491
2495
  pluginDescriptor: n,
2492
2496
  setupFn: t,
@@ -2494,13 +2498,13 @@ function za(e, t) {
2494
2498
  }), o && t(o.proxiedTarget);
2495
2499
  }
2496
2500
  }
2497
- const eo = "11.2.8";
2498
- function to() {
2499
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ve().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ve().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ve().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ve().__INTLIFY_PROD_DEVTOOLS__ = !1);
2501
+ const za = "11.2.8";
2502
+ function eo() {
2503
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
2500
2504
  }
2501
2505
  const G = {
2502
2506
  // composer module errors
2503
- UNEXPECTED_RETURN_TYPE: ia,
2507
+ UNEXPECTED_RETURN_TYPE: la,
2504
2508
  // 24
2505
2509
  // legacy module errors
2506
2510
  INVALID_ARGUMENT: 25,
@@ -2521,9 +2525,9 @@ const G = {
2521
2525
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2522
2526
  };
2523
2527
  function z(e, ...t) {
2524
- return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: no, args: t } : void 0);
2528
+ return we(e, null, process.env.NODE_ENV !== "production" ? { messages: to, args: t } : void 0);
2525
2529
  }
2526
- const no = {
2530
+ const to = {
2527
2531
  [G.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2528
2532
  [G.INVALID_ARGUMENT]: "Invalid argument",
2529
2533
  [G.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2535,8 +2539,8 @@ const no = {
2535
2539
  [G.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2536
2540
  [G.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2537
2541
  [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"
2538
- }, $t = /* @__PURE__ */ me("__translateVNode"), Wt = /* @__PURE__ */ me("__datetimeParts"), Gt = /* @__PURE__ */ me("__numberParts"), ye = /* @__PURE__ */ me("__enableEmitter"), Xe = /* @__PURE__ */ me("__disableEmitter"), Cr = me("__setPluralRules"), Ar = /* @__PURE__ */ me("__injectWithOption"), xt = /* @__PURE__ */ me("__dispose"), ne = {
2539
- FALLBACK_TO_ROOT: ha,
2542
+ }, $t = /* @__PURE__ */ _e("__translateVNode"), Wt = /* @__PURE__ */ _e("__datetimeParts"), Gt = /* @__PURE__ */ _e("__numberParts"), Se = /* @__PURE__ */ _e("__enableEmitter"), Xe = /* @__PURE__ */ _e("__disableEmitter"), vr = _e("__setPluralRules"), Cr = /* @__PURE__ */ _e("__injectWithOption"), xt = /* @__PURE__ */ _e("__dispose"), ne = {
2543
+ FALLBACK_TO_ROOT: ba,
2540
2544
  // 8
2541
2545
  NOT_FOUND_PARENT_SCOPE: 9,
2542
2546
  IGNORE_OBJ_FLATTEN: 10,
@@ -2550,7 +2554,7 @@ const no = {
2550
2554
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
2551
2555
  // duplicate `useI18n` calling
2552
2556
  DUPLICATE_USE_I18N_CALLING: 13
2553
- }, ro = {
2557
+ }, no = {
2554
2558
  [ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2555
2559
  [ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2556
2560
  [ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2565,8 +2569,8 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2565
2569
  [ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
2566
2570
  [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."
2567
2571
  };
2568
- function we(e, ...t) {
2569
- return ct(ro[e], ...t);
2572
+ function Ue(e, ...t) {
2573
+ return ct(no[e], ...t);
2570
2574
  }
2571
2575
  function Je(e) {
2572
2576
  if (!M(e) || se(e))
@@ -2582,14 +2586,14 @@ function Je(e) {
2582
2586
  if (n[o] === "__proto__")
2583
2587
  throw new Error(`unsafe key: ${n[o]}`);
2584
2588
  if (n[o] in s || (s[n[o]] = $()), !M(s[n[o]])) {
2585
- process.env.NODE_ENV !== "production" && fe(we(ne.IGNORE_OBJ_FLATTEN, {
2589
+ process.env.NODE_ENV !== "production" && ue(Ue(ne.IGNORE_OBJ_FLATTEN, {
2586
2590
  key: n[o]
2587
2591
  })), a = !0;
2588
2592
  break;
2589
2593
  }
2590
2594
  s = s[n[o]];
2591
2595
  }
2592
- if (a || (se(s) ? fr.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !se(s)) {
2596
+ if (a || (se(s) ? ur.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !se(s)) {
2593
2597
  const o = s[n[r]];
2594
2598
  M(o) && Je(o);
2595
2599
  }
@@ -2600,8 +2604,8 @@ function an(e, t) {
2600
2604
  const { messages: n, __i18n: r, messageResolver: s, flatJson: a } = t, o = R(n) ? n : H(r) ? $() : { [e]: $() };
2601
2605
  if (H(r) && r.forEach((i) => {
2602
2606
  if ("locale" in i && "resource" in i) {
2603
- const { locale: u, resource: d } = i;
2604
- u ? (o[u] = o[u] || $(), rt(d, o[u])) : rt(d, o);
2607
+ const { locale: u, resource: E } = i;
2608
+ u ? (o[u] = o[u] || $(), rt(E, o[u])) : rt(E, o);
2605
2609
  } else
2606
2610
  L(i) && rt(JSON.parse(i), o);
2607
2611
  }), s == null && a)
@@ -2609,10 +2613,10 @@ function an(e, t) {
2609
2613
  oe(o, i) && Je(o[i]);
2610
2614
  return o;
2611
2615
  }
2612
- function Sr(e) {
2616
+ function Ar(e) {
2613
2617
  return e.type;
2614
2618
  }
2615
- function yr(e, t, n) {
2619
+ function Sr(e, t, n) {
2616
2620
  let r = M(t.messages) ? t.messages : $();
2617
2621
  "__i18nGlobal" in n && (r = an(e.locale.value, {
2618
2622
  messages: r,
@@ -2640,22 +2644,22 @@ function yr(e, t, n) {
2640
2644
  function Un(e) {
2641
2645
  return Zn(xr, null, e, 0);
2642
2646
  }
2643
- function Me() {
2647
+ function Re() {
2644
2648
  const e = "currentInstance";
2645
2649
  return e in St ? St[e] : St.getCurrentInstance();
2646
2650
  }
2647
- const wn = "__INTLIFY_META__", Vn = () => [], so = () => !1;
2651
+ const wn = "__INTLIFY_META__", Vn = () => [], ro = () => !1;
2648
2652
  let $n = 0;
2649
2653
  function Wn(e) {
2650
- return ((t, n, r, s) => e(n, r, Me() || void 0, s));
2654
+ return ((t, n, r, s) => e(n, r, Re() || void 0, s));
2651
2655
  }
2652
- const ao = /* @__NO_SIDE_EFFECTS__ */ () => {
2653
- const e = Me();
2656
+ const so = /* @__NO_SIDE_EFFECTS__ */ () => {
2657
+ const e = Re();
2654
2658
  let t = null;
2655
- return e && (t = Sr(e)[wn]) ? { [wn]: t } : null;
2659
+ return e && (t = Ar(e)[wn]) ? { [wn]: t } : null;
2656
2660
  };
2657
2661
  function on(e = {}) {
2658
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, a = le ? at : $r;
2662
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, a = le ? ot : $r;
2659
2663
  let o = F(e.inheritLocale) ? e.inheritLocale : !0;
2660
2664
  const i = a(
2661
2665
  // prettier-ignore
@@ -2663,17 +2667,17 @@ function on(e = {}) {
2663
2667
  ), u = a(
2664
2668
  // prettier-ignore
2665
2669
  t && o ? t.fallbackLocale.value : L(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
2666
- ), d = a(an(i.value, e)), I = a(R(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), b = a(R(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2667
- 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;
2670
+ ), E = a(an(i.value, e)), I = a(R(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), b = a(R(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2671
+ let N = t ? t.missingWarn : F(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : F(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, C = !!e.fallbackFormat, S = W(e.missing) ? e.missing : null, f = W(e.missing) ? Wn(e.missing) : null, m = W(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, d = !!e.escapeParameter;
2668
2672
  const O = t ? t.modifiers : R(e.modifiers) ? e.modifiers : {};
2669
2673
  let v = e.pluralRules || t && t.pluralRules, p;
2670
2674
  p = (() => {
2671
2675
  r && Cn(null);
2672
2676
  const _ = {
2673
- version: eo,
2677
+ version: za,
2674
2678
  locale: i.value,
2675
2679
  fallbackLocale: u.value,
2676
- messages: d.value,
2680
+ messages: E.value,
2677
2681
  modifiers: O,
2678
2682
  pluralRules: v,
2679
2683
  missing: f === null ? void 0 : f,
@@ -2683,35 +2687,35 @@ function on(e = {}) {
2683
2687
  unresolving: !0,
2684
2688
  postTranslation: m === null ? void 0 : m,
2685
2689
  warnHtmlMessage: h,
2686
- escapeParameter: E,
2690
+ escapeParameter: d,
2687
2691
  messageResolver: e.messageResolver,
2688
2692
  messageCompiler: e.messageCompiler,
2689
2693
  __meta: { framework: "vue" }
2690
2694
  };
2691
2695
  _.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);
2692
- const T = Da(_);
2696
+ const T = Pa(_);
2693
2697
  return r && Cn(T), T;
2694
- })(), Ye(p, i.value, u.value);
2698
+ })(), He(p, i.value, u.value);
2695
2699
  function w() {
2696
2700
  return [
2697
2701
  i.value,
2698
2702
  u.value,
2699
- d.value,
2703
+ E.value,
2700
2704
  I.value,
2701
2705
  b.value
2702
2706
  ];
2703
2707
  }
2704
- const X = He({
2708
+ const X = xe({
2705
2709
  get: () => i.value,
2706
2710
  set: (_) => {
2707
2711
  p.locale = _, i.value = _;
2708
2712
  }
2709
- }), ae = He({
2713
+ }), ae = xe({
2710
2714
  get: () => u.value,
2711
2715
  set: (_) => {
2712
- p.fallbackLocale = _, u.value = _, Ye(p, i.value, _);
2716
+ p.fallbackLocale = _, u.value = _, He(p, i.value, _);
2713
2717
  }
2714
- }), Y = He(() => d.value), Pe = /* @__PURE__ */ He(() => I.value), mt = /* @__PURE__ */ He(() => b.value);
2718
+ }), Y = xe(() => E.value), ye = /* @__PURE__ */ xe(() => I.value), mt = /* @__PURE__ */ xe(() => b.value);
2715
2719
  function dt() {
2716
2720
  return W(m) ? m : null;
2717
2721
  }
@@ -2727,50 +2731,50 @@ function on(e = {}) {
2727
2731
  function Nt(_, T) {
2728
2732
  return _ !== "translate" || !T.resolvedMessage;
2729
2733
  }
2730
- const de = (_, T, V, K, Ie, ze) => {
2734
+ const me = (_, T, V, K, be, ze) => {
2731
2735
  w();
2732
- let De;
2736
+ let Pe;
2733
2737
  try {
2734
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? Pa() : void 0), De = _(p);
2738
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? ya() : void 0), Pe = _(p);
2735
2739
  } finally {
2736
2740
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = void 0);
2737
2741
  }
2738
2742
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2739
- j(De) && De === ft || V === "translate exists" && !De) {
2740
- const [Le, Fr] = T();
2741
- if (process.env.NODE_ENV !== "production" && t && L(Le) && Nt(V, Fr) && (D && (_t(A, Le) || Nr(N, Le)) && fe(we(ne.FALLBACK_TO_ROOT, {
2742
- key: Le,
2743
+ j(Pe) && Pe === ft || V === "translate exists" && !Pe) {
2744
+ const [he, Mr] = T();
2745
+ if (process.env.NODE_ENV !== "production" && t && L(he) && Nt(V, Mr) && (D && (_t(A, he) || gr(N, he)) && ue(Ue(ne.FALLBACK_TO_ROOT, {
2746
+ key: he,
2743
2747
  type: V
2744
2748
  })), process.env.NODE_ENV !== "production")) {
2745
2749
  const { __v_emitter: _n } = p;
2746
2750
  _n && D && _n.emit("fallback", {
2747
2751
  type: V,
2748
- key: Le,
2752
+ key: he,
2749
2753
  to: "global",
2750
- groupId: `${V}:${Le}`
2754
+ groupId: `${V}:${he}`
2751
2755
  });
2752
2756
  }
2753
- return t && D ? K(t) : Ie(Le);
2757
+ return t && D ? K(t) : be(he);
2754
2758
  } else {
2755
- if (ze(De))
2756
- return De;
2759
+ if (ze(Pe))
2760
+ return Pe;
2757
2761
  throw z(G.UNEXPECTED_RETURN_TYPE);
2758
2762
  }
2759
2763
  };
2760
- function $e(..._) {
2761
- return de((T) => Reflect.apply(Fn, null, [T, ..._]), () => wt(..._), "translate", (T) => Reflect.apply(T.t, T, [..._]), (T) => T, (T) => L(T));
2764
+ function Ve(..._) {
2765
+ return me((T) => Reflect.apply(Fn, null, [T, ..._]), () => wt(..._), "translate", (T) => Reflect.apply(T.t, T, [..._]), (T) => T, (T) => L(T));
2762
2766
  }
2763
2767
  function Tt(..._) {
2764
2768
  const [T, V, K] = _;
2765
2769
  if (K && !M(K))
2766
2770
  throw z(G.INVALID_ARGUMENT);
2767
- return $e(T, V, J({ resolvedMessage: !0 }, K || {}));
2771
+ return Ve(T, V, J({ resolvedMessage: !0 }, K || {}));
2768
2772
  }
2769
2773
  function bt(..._) {
2770
- return de((T) => Reflect.apply(yn, null, [T, ..._]), () => Ft(..._), "datetime format", (T) => Reflect.apply(T.d, T, [..._]), () => st, (T) => L(T) || H(T));
2774
+ return me((T) => Reflect.apply(yn, null, [T, ..._]), () => Ft(..._), "datetime format", (T) => Reflect.apply(T.d, T, [..._]), () => at, (T) => L(T) || H(T));
2771
2775
  }
2772
2776
  function ht(..._) {
2773
- return de((T) => Reflect.apply(Dn, null, [T, ..._]), () => Ut(..._), "number format", (T) => Reflect.apply(T.n, T, [..._]), () => st, (T) => L(T) || H(T));
2777
+ return me((T) => Reflect.apply(Dn, null, [T, ..._]), () => Ut(..._), "number format", (T) => Reflect.apply(T.n, T, [..._]), () => at, (T) => L(T) || H(T));
2774
2778
  }
2775
2779
  function It(_) {
2776
2780
  return _.map((T) => L(T) || j(T) || F(T) ? Un(String(T)) : T);
@@ -2781,7 +2785,7 @@ function on(e = {}) {
2781
2785
  type: "vnode"
2782
2786
  };
2783
2787
  function qe(..._) {
2784
- return de((T) => {
2788
+ return me((T) => {
2785
2789
  let V;
2786
2790
  const K = T;
2787
2791
  try {
@@ -2793,27 +2797,27 @@ function on(e = {}) {
2793
2797
  }, () => wt(..._), "translate", (T) => T[$t](..._), (T) => [Un(T)], (T) => H(T));
2794
2798
  }
2795
2799
  function Ot(..._) {
2796
- return de((T) => Reflect.apply(Dn, null, [T, ..._]), () => Ut(..._), "number format", (T) => T[Gt](..._), Vn, (T) => L(T) || H(T));
2800
+ return me((T) => Reflect.apply(Dn, null, [T, ..._]), () => Ut(..._), "number format", (T) => T[Gt](..._), Vn, (T) => L(T) || H(T));
2797
2801
  }
2798
2802
  function Ze(..._) {
2799
- return de((T) => Reflect.apply(yn, null, [T, ..._]), () => Ft(..._), "datetime format", (T) => T[Wt](..._), Vn, (T) => L(T) || H(T));
2803
+ return me((T) => Reflect.apply(yn, null, [T, ..._]), () => Ft(..._), "datetime format", (T) => T[Wt](..._), Vn, (T) => L(T) || H(T));
2800
2804
  }
2801
2805
  function vt(_) {
2802
2806
  v = _, p.pluralRules = v;
2803
2807
  }
2804
2808
  function Ct(_, T) {
2805
- return de(() => {
2809
+ return me(() => {
2806
2810
  if (!_)
2807
2811
  return !1;
2808
- const V = L(T) ? T : i.value, K = he(V), Ie = p.messageResolver(K, _);
2809
- return se(Ie) || te(Ie) || L(Ie);
2810
- }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, T]), so, (V) => F(V));
2812
+ const V = L(T) ? T : i.value, K = Te(V), be = p.messageResolver(K, _);
2813
+ return se(be) || te(be) || L(be);
2814
+ }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, T]), ro, (V) => F(V));
2811
2815
  }
2812
- function We(_) {
2816
+ function $e(_) {
2813
2817
  let T = null;
2814
- const V = _r(p, u.value, i.value);
2818
+ const V = fr(p, u.value, i.value);
2815
2819
  for (let K = 0; K < V.length; K++) {
2816
- const Ie = d.value[V[K]] || {}, ze = p.messageResolver(Ie, _);
2820
+ const be = E.value[V[K]] || {}, ze = p.messageResolver(be, _);
2817
2821
  if (ze != null) {
2818
2822
  T = ze;
2819
2823
  break;
@@ -2821,29 +2825,29 @@ function on(e = {}) {
2821
2825
  }
2822
2826
  return T;
2823
2827
  }
2824
- function Ge(_) {
2825
- const T = We(_);
2828
+ function We(_) {
2829
+ const T = $e(_);
2826
2830
  return T ?? (t ? t.tm(_) || {} : {});
2827
2831
  }
2828
- function he(_) {
2829
- return d.value[_] || {};
2832
+ function Te(_) {
2833
+ return E.value[_] || {};
2830
2834
  }
2831
- function xe(_, T) {
2835
+ function Ge(_, T) {
2832
2836
  if (s) {
2833
2837
  const V = { [_]: T };
2834
2838
  for (const K in V)
2835
2839
  oe(V, K) && Je(V[K]);
2836
2840
  T = V[_];
2837
2841
  }
2838
- d.value[_] = T, p.messages = d.value;
2842
+ E.value[_] = T, p.messages = E.value;
2839
2843
  }
2840
2844
  function At(_, T) {
2841
- d.value[_] = d.value[_] || {};
2845
+ E.value[_] = E.value[_] || {};
2842
2846
  const V = { [_]: T };
2843
2847
  if (s)
2844
2848
  for (const K in V)
2845
2849
  oe(V, K) && Je(V[K]);
2846
- T = V[_], rt(T, d.value[_]), p.messages = d.value;
2850
+ T = V[_], rt(T, E.value[_]), p.messages = E.value;
2847
2851
  }
2848
2852
  function l(_) {
2849
2853
  return I.value[_] || {};
@@ -2863,10 +2867,10 @@ function on(e = {}) {
2863
2867
  function B(_, T) {
2864
2868
  b.value[_] = J(b.value[_] || {}, T), p.numberFormats = b.value, kn(p, _, T);
2865
2869
  }
2866
- $n++, t && le && (ge(t.locale, (_) => {
2867
- o && (i.value = _, p.locale = _, Ye(p, i.value, u.value));
2868
- }), ge(t.fallbackLocale, (_) => {
2869
- o && (u.value = _, p.fallbackLocale = _, Ye(p, i.value, u.value));
2870
+ $n++, t && le && (ve(t.locale, (_) => {
2871
+ o && (i.value = _, p.locale = _, He(p, i.value, u.value));
2872
+ }), ve(t.fallbackLocale, (_) => {
2873
+ o && (u.value = _, p.fallbackLocale = _, He(p, i.value, u.value));
2870
2874
  }));
2871
2875
  const U = {
2872
2876
  id: $n,
@@ -2876,10 +2880,10 @@ function on(e = {}) {
2876
2880
  return o;
2877
2881
  },
2878
2882
  set inheritLocale(_) {
2879
- o = _, _ && t && (i.value = t.locale.value, u.value = t.fallbackLocale.value, Ye(p, i.value, u.value));
2883
+ o = _, _ && t && (i.value = t.locale.value, u.value = t.fallbackLocale.value, He(p, i.value, u.value));
2880
2884
  },
2881
2885
  get availableLocales() {
2882
- return Object.keys(d.value).sort();
2886
+ return Object.keys(E.value).sort();
2883
2887
  },
2884
2888
  messages: Y,
2885
2889
  get modifiers() {
@@ -2922,81 +2926,81 @@ function on(e = {}) {
2922
2926
  h = _, p.warnHtmlMessage = _;
2923
2927
  },
2924
2928
  get escapeParameter() {
2925
- return E;
2929
+ return d;
2926
2930
  },
2927
2931
  set escapeParameter(_) {
2928
- E = _, p.escapeParameter = _;
2932
+ d = _, p.escapeParameter = _;
2929
2933
  },
2930
- t: $e,
2931
- getLocaleMessage: he,
2932
- setLocaleMessage: xe,
2934
+ t: Ve,
2935
+ getLocaleMessage: Te,
2936
+ setLocaleMessage: Ge,
2933
2937
  mergeLocaleMessage: At,
2934
2938
  getPostTranslationHandler: dt,
2935
2939
  setPostTranslationHandler: Et,
2936
2940
  getMissingHandler: pt,
2937
2941
  setMissingHandler: gt,
2938
- [Cr]: vt
2942
+ [vr]: vt
2939
2943
  };
2940
- 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[Ar] = n, U[$t] = qe, U[Wt] = Ze, U[Gt] = Ot, process.env.NODE_ENV !== "production" && (U[ye] = (_) => {
2944
+ return U.datetimeFormats = ye, U.numberFormats = mt, U.rt = Tt, U.te = Ct, U.tm = We, 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[Cr] = n, U[$t] = qe, U[Wt] = Ze, U[Gt] = Ot, process.env.NODE_ENV !== "production" && (U[Se] = (_) => {
2941
2945
  p.__v_emitter = _;
2942
2946
  }, U[Xe] = () => {
2943
2947
  p.__v_emitter = void 0;
2944
2948
  }), U;
2945
2949
  }
2946
- const Pr = "vue-i18n: composer properties", kt = {
2950
+ const yr = "vue-i18n: composer properties", kt = {
2947
2951
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2948
2952
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2949
2953
  "vue-i18n-timeline": "Vue I18n"
2950
- }, oo = {
2954
+ }, ao = {
2951
2955
  "vue-i18n-resource-inspector": "Search for scopes ..."
2952
- }, lo = {
2956
+ }, oo = {
2953
2957
  "vue-i18n-timeline": 16764185
2954
2958
  };
2955
2959
  let Ht;
2956
- async function io(e, t) {
2960
+ async function lo(e, t) {
2957
2961
  return new Promise((n, r) => {
2958
2962
  try {
2959
- za({
2963
+ Za({
2960
2964
  id: "vue-devtools-plugin-vue-i18n",
2961
2965
  label: kt["vue-devtools-plugin-vue-i18n"],
2962
2966
  packageName: "vue-i18n",
2963
2967
  homepage: "https://vue-i18n.intlify.dev",
2964
2968
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2965
- componentStateTypes: [Pr],
2969
+ componentStateTypes: [yr],
2966
2970
  app: e
2967
2971
  // eslint-disable-line @typescript-eslint/no-explicit-any
2968
2972
  }, (s) => {
2969
2973
  Ht = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2970
- co(o, i, t);
2974
+ io(o, i, t);
2971
2975
  }), s.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
2972
2976
  o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Gn(i, o.__VUE_I18N__) : Gn(i, o.__VUE_I18N__));
2973
2977
  }), s.addInspector({
2974
2978
  id: "vue-i18n-resource-inspector",
2975
2979
  label: kt["vue-i18n-resource-inspector"],
2976
2980
  icon: "language",
2977
- treeFilterPlaceholder: oo["vue-i18n-resource-inspector"]
2981
+ treeFilterPlaceholder: ao["vue-i18n-resource-inspector"]
2978
2982
  }), s.on.getInspectorTree((o) => {
2979
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Eo(o, t);
2983
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && mo(o, t);
2980
2984
  });
2981
2985
  const a = /* @__PURE__ */ new Map();
2982
2986
  s.on.getInspectorState(async (o) => {
2983
2987
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2984
- if (s.unhighlightElement(), go(o, t), o.nodeId === "global") {
2988
+ if (s.unhighlightElement(), po(o, t), o.nodeId === "global") {
2985
2989
  if (!a.has(o.app)) {
2986
2990
  const [i] = await s.getComponentInstances(o.app);
2987
2991
  a.set(o.app, i);
2988
2992
  }
2989
2993
  s.highlightElement(a.get(o.app));
2990
2994
  } else {
2991
- const i = po(o.nodeId, t);
2995
+ const i = Eo(o.nodeId, t);
2992
2996
  i && s.highlightElement(i);
2993
2997
  }
2994
2998
  }), s.on.editInspectorState((o) => {
2995
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && To(o, t);
2999
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && No(o, t);
2996
3000
  }), s.addTimelineLayer({
2997
3001
  id: "vue-i18n-timeline",
2998
3002
  label: kt["vue-i18n-timeline"],
2999
- color: lo["vue-i18n-timeline"]
3003
+ color: oo["vue-i18n-timeline"]
3000
3004
  }), n(!0);
3001
3005
  });
3002
3006
  } catch (s) {
@@ -3004,14 +3008,14 @@ async function io(e, t) {
3004
3008
  }
3005
3009
  });
3006
3010
  }
3007
- function Dr(e) {
3011
+ function Pr(e) {
3008
3012
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
3009
3013
  }
3010
- function co(e, t, n) {
3014
+ function io(e, t, n) {
3011
3015
  const r = n.mode === "composition" ? n.global : n.global.__composer;
3012
3016
  if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== r) {
3013
3017
  const s = {
3014
- label: `i18n (${Dr(e)} Scope)`,
3018
+ label: `i18n (${Pr(e)} Scope)`,
3015
3019
  textColor: 0,
3016
3020
  backgroundColor: 16764185
3017
3021
  };
@@ -3019,7 +3023,7 @@ function co(e, t, n) {
3019
3023
  }
3020
3024
  }
3021
3025
  function Gn(e, t) {
3022
- const n = Pr;
3026
+ const n = yr;
3023
3027
  e.state.push({
3024
3028
  type: n,
3025
3029
  key: "locale",
@@ -3061,30 +3065,30 @@ function ln(e) {
3061
3065
  const t = {};
3062
3066
  return Object.keys(e).forEach((n) => {
3063
3067
  const r = e[n];
3064
- W(r) && "source" in r ? t[n] = mo(r) : se(r) && r.loc && r.loc.source ? t[n] = r.loc.source : M(r) ? t[n] = ln(r) : t[n] = r;
3068
+ W(r) && "source" in r ? t[n] = _o(r) : se(r) && r.loc && r.loc.source ? t[n] = r.loc.source : M(r) ? t[n] = ln(r) : t[n] = r;
3065
3069
  }), t;
3066
3070
  }
3067
- const uo = {
3071
+ const co = {
3068
3072
  "<": "&lt;",
3069
3073
  ">": "&gt;",
3070
3074
  '"': "&quot;",
3071
3075
  "&": "&amp;"
3072
3076
  };
3077
+ function uo(e) {
3078
+ return e.replace(/[<>"&]/g, fo);
3079
+ }
3073
3080
  function fo(e) {
3074
- return e.replace(/[<>"&]/g, _o);
3081
+ return co[e] || e;
3075
3082
  }
3076
3083
  function _o(e) {
3077
- return uo[e] || e;
3078
- }
3079
- function mo(e) {
3080
3084
  return {
3081
3085
  _custom: {
3082
3086
  type: "function",
3083
- display: `<span>ƒ</span> ${e.source ? `("${fo(e.source)}")` : "(?)"}`
3087
+ display: `<span>ƒ</span> ${e.source ? `("${uo(e.source)}")` : "(?)"}`
3084
3088
  }
3085
3089
  };
3086
3090
  }
3087
- function Eo(e, t) {
3091
+ function mo(e, t) {
3088
3092
  e.rootNodes.push({
3089
3093
  id: "global",
3090
3094
  label: "Global Scope"
@@ -3094,11 +3098,11 @@ function Eo(e, t) {
3094
3098
  const a = t.mode === "composition" ? s : s.__composer;
3095
3099
  n !== a && e.rootNodes.push({
3096
3100
  id: a.id.toString(),
3097
- label: `${Dr(r)} Scope`
3101
+ label: `${Pr(r)} Scope`
3098
3102
  });
3099
3103
  }
3100
3104
  }
3101
- function po(e, t) {
3105
+ function Eo(e, t) {
3102
3106
  let n = null;
3103
3107
  if (e !== "global") {
3104
3108
  for (const [r, s] of t.__instances.entries())
@@ -3109,7 +3113,7 @@ function po(e, t) {
3109
3113
  }
3110
3114
  return n;
3111
3115
  }
3112
- function kr(e, t) {
3116
+ function Dr(e, t) {
3113
3117
  if (e === "global")
3114
3118
  return t.mode === "composition" ? t.global : t.global.__composer;
3115
3119
  {
@@ -3117,11 +3121,11 @@ function kr(e, t) {
3117
3121
  return n ? t.mode === "composition" ? n : n.__composer : null;
3118
3122
  }
3119
3123
  }
3120
- function go(e, t) {
3121
- const n = kr(e.nodeId, t);
3122
- return n && (e.state = No(n)), null;
3124
+ function po(e, t) {
3125
+ const n = Dr(e.nodeId, t);
3126
+ return n && (e.state = go(n)), null;
3123
3127
  }
3124
- function No(e) {
3128
+ function go(e) {
3125
3129
  const t = {}, n = "Locale related info", r = [
3126
3130
  {
3127
3131
  type: n,
@@ -3168,7 +3172,7 @@ function No(e) {
3168
3172
  }
3169
3173
  ];
3170
3174
  t[o] = i;
3171
- const u = "Datetime formats info", d = [
3175
+ const u = "Datetime formats info", E = [
3172
3176
  {
3173
3177
  type: u,
3174
3178
  key: "numberFormats",
@@ -3176,7 +3180,7 @@ function No(e) {
3176
3180
  value: e.numberFormats.value
3177
3181
  }
3178
3182
  ];
3179
- t[u] = d;
3183
+ t[u] = E;
3180
3184
  }
3181
3185
  return t;
3182
3186
  }
@@ -3196,15 +3200,15 @@ function Qe(e, t) {
3196
3200
  });
3197
3201
  }
3198
3202
  }
3199
- function To(e, t) {
3200
- const n = kr(e.nodeId, t);
3203
+ function No(e, t) {
3204
+ const n = Dr(e.nodeId, t);
3201
3205
  if (n) {
3202
3206
  const [r] = e.path;
3203
3207
  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);
3204
3208
  }
3205
3209
  }
3206
- function bo(e) {
3207
- 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;
3210
+ function To(e) {
3211
+ 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) || Me(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = F(e.silentFallbackWarn) || Me(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, u = R(e.modifiers) ? e.modifiers : {}, E = e.pluralizationRules, I = W(e.postTranslation) ? e.postTranslation : void 0, b = L(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, A = F(e.sync) ? e.sync : !0;
3208
3212
  let D = e.messages;
3209
3213
  if (R(e.sharedMessages)) {
3210
3214
  const O = e.sharedMessages;
@@ -3213,12 +3217,12 @@ function bo(e) {
3213
3217
  return J(w, O[k]), p;
3214
3218
  }, D || {});
3215
3219
  }
3216
- const { __i18n: C, __root: S, __injectWithOption: f } = e, m = e.datetimeFormats, h = e.numberFormats, E = e.flatJson;
3220
+ const { __i18n: C, __root: S, __injectWithOption: f } = e, m = e.datetimeFormats, h = e.numberFormats, d = e.flatJson;
3217
3221
  return {
3218
3222
  locale: t,
3219
3223
  fallbackLocale: n,
3220
3224
  messages: D,
3221
- flatJson: E,
3225
+ flatJson: d,
3222
3226
  datetimeFormats: m,
3223
3227
  numberFormats: h,
3224
3228
  missing: r,
@@ -3227,7 +3231,7 @@ function bo(e) {
3227
3231
  fallbackRoot: o,
3228
3232
  fallbackFormat: i,
3229
3233
  modifiers: u,
3230
- pluralRules: d,
3234
+ pluralRules: E,
3231
3235
  postTranslation: I,
3232
3236
  warnHtmlMessage: b,
3233
3237
  escapeParameter: N,
@@ -3239,7 +3243,7 @@ function bo(e) {
3239
3243
  };
3240
3244
  }
3241
3245
  function Yt(e = {}) {
3242
- const t = on(bo(e)), { __extender: n } = e, r = {
3246
+ const t = on(To(e)), { __extender: n } = e, r = {
3243
3247
  // id
3244
3248
  id: t.id,
3245
3249
  // locale
@@ -3401,16 +3405,16 @@ function Yt(e = {}) {
3401
3405
  };
3402
3406
  return r.__extender = n, process.env.NODE_ENV !== "production" && (r.__enableEmitter = (s) => {
3403
3407
  const a = t;
3404
- a[ye] && a[ye](s);
3408
+ a[Se] && a[Se](s);
3405
3409
  }, r.__disableEmitter = () => {
3406
3410
  const s = t;
3407
3411
  s[Xe] && s[Xe]();
3408
3412
  }), r;
3409
3413
  }
3410
- function ho(e, t, n) {
3414
+ function bo(e, t, n) {
3411
3415
  return {
3412
3416
  beforeCreate() {
3413
- const r = Me();
3417
+ const r = Re();
3414
3418
  if (!r)
3415
3419
  throw z(G.UNEXPECTED_ERROR);
3416
3420
  const s = this.$options;
@@ -3438,11 +3442,11 @@ function ho(e, t, n) {
3438
3442
  }
3439
3443
  else
3440
3444
  this.$i18n = e;
3441
- s.__i18nGlobal && yr(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);
3445
+ s.__i18nGlobal && Sr(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);
3442
3446
  },
3443
3447
  mounted() {
3444
3448
  if (process.env.NODE_ENV !== "production" && this.$i18n) {
3445
- const r = Me();
3449
+ const r = Re();
3446
3450
  if (!r)
3447
3451
  return;
3448
3452
  const s = this.$i18n;
@@ -3452,7 +3456,7 @@ function ho(e, t, n) {
3452
3456
  }
3453
3457
  },
3454
3458
  unmounted() {
3455
- const r = Me();
3459
+ const r = Re();
3456
3460
  if (!r)
3457
3461
  throw z(G.UNEXPECTED_ERROR);
3458
3462
  const s = this.$i18n;
@@ -3461,7 +3465,7 @@ function ho(e, t, n) {
3461
3465
  };
3462
3466
  }
3463
3467
  function xn(e, t) {
3464
- 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[Cr](t.pluralizationRules || e.pluralizationRules);
3468
+ 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[vr](t.pluralizationRules || e.pluralizationRules);
3465
3469
  const n = an(e.locale, {
3466
3470
  messages: t.messages,
3467
3471
  __i18n: t.__i18n
@@ -3486,20 +3490,20 @@ const cn = {
3486
3490
  type: Object
3487
3491
  }
3488
3492
  };
3489
- function Io({ slots: e }, t) {
3493
+ function ho({ slots: e }, t) {
3490
3494
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
3491
3495
  ...r,
3492
3496
  // prettier-ignore
3493
- ...s.type === ot ? s.children : [s]
3497
+ ...s.type === jt ? s.children : [s]
3494
3498
  ], []) : t.reduce((n, r) => {
3495
3499
  const s = e[r];
3496
3500
  return s && (n[r] = s()), n;
3497
3501
  }, $());
3498
3502
  }
3499
- function Rr() {
3500
- return ot;
3503
+ function kr() {
3504
+ return jt;
3501
3505
  }
3502
- const Lo = /* @__PURE__ */ _e({
3506
+ const Io = /* @__PURE__ */ fe({
3503
3507
  /* eslint-disable */
3504
3508
  name: "i18n-t",
3505
3509
  props: J({
@@ -3522,31 +3526,31 @@ const Lo = /* @__PURE__ */ _e({
3522
3526
  return () => {
3523
3527
  const a = Object.keys(n).filter((b) => b[0] !== "_"), o = $();
3524
3528
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = L(e.plural) ? +e.plural : e.plural);
3525
- const i = Io(t, a), u = s[$t](e.keypath, i, o), d = J($(), r), I = L(e.tag) || M(e.tag) ? e.tag : Rr();
3526
- return zn(I, d, u);
3529
+ const i = ho(t, a), u = s[$t](e.keypath, i, o), E = J($(), r), I = L(e.tag) || M(e.tag) ? e.tag : kr();
3530
+ return st(I, E, u);
3527
3531
  };
3528
3532
  }
3529
- }), Hn = Lo;
3530
- function Oo(e) {
3533
+ }), Hn = Io;
3534
+ function Lo(e) {
3531
3535
  return H(e) && !L(e[0]);
3532
3536
  }
3533
- function Mr(e, t, n, r) {
3537
+ function Rr(e, t, n, r) {
3534
3538
  const { slots: s, attrs: a } = t;
3535
3539
  return () => {
3536
3540
  const o = { part: !0 };
3537
3541
  let i = $();
3538
3542
  e.locale && (o.locale = e.locale), L(e.format) ? o.key = e.format : M(e.format) && (L(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((N, A) => n.includes(A) ? J($(), N, { [A]: e.format[A] }) : N, $()));
3539
3543
  const u = r(e.value, o, i);
3540
- let d = [o.key];
3541
- H(u) ? d = u.map((N, A) => {
3544
+ let E = [o.key];
3545
+ H(u) ? E = u.map((N, A) => {
3542
3546
  const D = s[N.type], C = D ? D({ [N.type]: N.value, index: A, parts: u }) : [N.value];
3543
- return Oo(C) && (C[0].key = `${N.type}-${A}`), C;
3544
- }) : L(u) && (d = [u]);
3545
- const I = J($(), a), b = L(e.tag) || M(e.tag) ? e.tag : Rr();
3546
- return zn(b, I, d);
3547
+ return Lo(C) && (C[0].key = `${N.type}-${A}`), C;
3548
+ }) : L(u) && (E = [u]);
3549
+ const I = J($(), a), b = L(e.tag) || M(e.tag) ? e.tag : kr();
3550
+ return st(b, I, E);
3547
3551
  };
3548
3552
  }
3549
- const vo = /* @__PURE__ */ _e({
3553
+ const Oo = /* @__PURE__ */ fe({
3550
3554
  /* eslint-disable */
3551
3555
  name: "i18n-n",
3552
3556
  props: J({
@@ -3565,13 +3569,13 @@ const vo = /* @__PURE__ */ _e({
3565
3569
  useScope: e.scope,
3566
3570
  __useComponent: !0
3567
3571
  });
3568
- return Mr(e, t, Ir, (...r) => (
3572
+ return Rr(e, t, hr, (...r) => (
3569
3573
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3570
3574
  n[Gt](...r)
3571
3575
  ));
3572
3576
  }
3573
- }), Yn = vo;
3574
- function Co(e, t) {
3577
+ }), Yn = Oo;
3578
+ function vo(e, t) {
3575
3579
  const n = e;
3576
3580
  if (e.mode === "composition")
3577
3581
  return n.__getInstance(t) || e.global;
@@ -3580,33 +3584,33 @@ function Co(e, t) {
3580
3584
  return r != null ? r.__composer : e.global.__composer;
3581
3585
  }
3582
3586
  }
3583
- function Ao(e) {
3587
+ function Co(e) {
3584
3588
  const t = (o) => {
3585
- process.env.NODE_ENV !== "production" && qt(we(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3589
+ process.env.NODE_ENV !== "production" && qt(Ue(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3586
3590
  const { instance: i, value: u } = o;
3587
3591
  if (!i || !i.$)
3588
3592
  throw z(G.UNEXPECTED_ERROR);
3589
- const d = Co(e, i.$), I = Bn(u);
3593
+ const E = vo(e, i.$), I = Bn(u);
3590
3594
  return [
3591
- Reflect.apply(d.t, d, [...Kn(I)]),
3592
- d
3595
+ Reflect.apply(E.t, E, [...Kn(I)]),
3596
+ E
3593
3597
  ];
3594
3598
  };
3595
3599
  return {
3596
3600
  created: (o, i) => {
3597
- const [u, d] = t(i);
3598
- le && e.global === d && (o.__i18nWatcher = ge(d.locale, () => {
3601
+ const [u, E] = t(i);
3602
+ le && e.global === E && (o.__i18nWatcher = ve(E.locale, () => {
3599
3603
  i.instance && i.instance.$forceUpdate();
3600
- })), o.__composer = d, o.textContent = u;
3604
+ })), o.__composer = E, o.textContent = u;
3601
3605
  },
3602
3606
  unmounted: (o) => {
3603
3607
  le && o.__i18nWatcher && (o.__i18nWatcher(), o.__i18nWatcher = void 0, delete o.__i18nWatcher), o.__composer && (o.__composer = void 0, delete o.__composer);
3604
3608
  },
3605
3609
  beforeUpdate: (o, { value: i }) => {
3606
3610
  if (o.__composer) {
3607
- const u = o.__composer, d = Bn(i);
3611
+ const u = o.__composer, E = Bn(i);
3608
3612
  o.textContent = Reflect.apply(u.t, u, [
3609
- ...Kn(d)
3613
+ ...Kn(E)
3610
3614
  ]);
3611
3615
  }
3612
3616
  },
@@ -3630,22 +3634,22 @@ function Kn(e) {
3630
3634
  const { path: t, locale: n, args: r, choice: s, plural: a } = e, o = {}, i = r || {};
3631
3635
  return L(n) && (o.locale = n), j(s) && (o.plural = s), j(a) && (o.plural = a), [t, i, o];
3632
3636
  }
3633
- function So(e, t, ...n) {
3637
+ function Ao(e, t, ...n) {
3634
3638
  const r = R(n[0]) ? n[0] : {};
3635
- (!F(r.globalInstall) || r.globalInstall) && ([Hn.name, "I18nT"].forEach((a) => e.component(a, Hn)), [Yn.name, "I18nN"].forEach((a) => e.component(a, Yn)), [Xn.name, "I18nD"].forEach((a) => e.component(a, Xn))), e.directive("t", Ao(t));
3639
+ (!F(r.globalInstall) || r.globalInstall) && ([Hn.name, "I18nT"].forEach((a) => e.component(a, Hn)), [Yn.name, "I18nN"].forEach((a) => e.component(a, Yn)), [Xn.name, "I18nD"].forEach((a) => e.component(a, Xn))), e.directive("t", Co(t));
3636
3640
  }
3637
- const yo = /* @__PURE__ */ me("global-vue-i18n");
3638
- function Po(e = {}) {
3641
+ const So = /* @__PURE__ */ _e("global-vue-i18n");
3642
+ function yo(e = {}) {
3639
3643
  const t = __VUE_I18N_LEGACY_API__ && F(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3640
- process.env.NODE_ENV !== "production" && t && qt(we(ne.DEPRECATE_LEGACY_MODE));
3641
- const n = F(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [s, a] = Do(e, t), o = /* @__PURE__ */ me(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3644
+ process.env.NODE_ENV !== "production" && t && qt(Ue(ne.DEPRECATE_LEGACY_MODE));
3645
+ const n = F(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [s, a] = Po(e, t), o = /* @__PURE__ */ _e(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3642
3646
  function i(b) {
3643
3647
  return r.get(b) || null;
3644
3648
  }
3645
3649
  function u(b, N) {
3646
3650
  r.set(b, N);
3647
3651
  }
3648
- function d(b) {
3652
+ function E(b) {
3649
3653
  r.delete(b);
3650
3654
  }
3651
3655
  const I = {
@@ -3660,12 +3664,12 @@ function Po(e = {}) {
3660
3664
  I.__composerExtend = C.__composerExtend, I.__vueI18nExtend = C.__vueI18nExtend;
3661
3665
  }
3662
3666
  let A = null;
3663
- !t && n && (A = $o(b, I.global)), __VUE_I18N_FULL_INSTALL__ && So(b, I, ...N), __VUE_I18N_LEGACY_API__ && t && b.mixin(ho(a, a.__composer, I));
3667
+ !t && n && (A = Vo(b, I.global)), __VUE_I18N_FULL_INSTALL__ && Ao(b, I, ...N), __VUE_I18N_LEGACY_API__ && t && b.mixin(bo(a, a.__composer, I));
3664
3668
  const D = b.unmount;
3665
3669
  if (b.unmount = () => {
3666
3670
  A && A(), I.dispose(), D();
3667
3671
  }, process.env.NODE_ENV !== "production") {
3668
- if (!await io(b, I))
3672
+ if (!await lo(b, I))
3669
3673
  throw z(G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3670
3674
  const S = en();
3671
3675
  if (t) {
@@ -3673,7 +3677,7 @@ function Po(e = {}) {
3673
3677
  f.__enableEmitter && f.__enableEmitter(S);
3674
3678
  } else {
3675
3679
  const f = a;
3676
- f[ye] && f[ye](S);
3680
+ f[Se] && f[Se](S);
3677
3681
  }
3678
3682
  S.on("*", Qe);
3679
3683
  }
@@ -3692,61 +3696,61 @@ function Po(e = {}) {
3692
3696
  // @internal
3693
3697
  __setInstance: u,
3694
3698
  // @internal
3695
- __deleteInstance: d
3699
+ __deleteInstance: E
3696
3700
  };
3697
3701
  return I;
3698
3702
  }
3699
3703
  function un(e = {}) {
3700
- const t = Me();
3704
+ const t = Re();
3701
3705
  if (t == null)
3702
3706
  throw z(G.MUST_BE_CALL_SETUP_TOP);
3703
3707
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3704
3708
  throw z(G.NOT_INSTALLED);
3705
- const n = ko(t), r = Mo(n), s = Sr(t), a = Ro(e, s);
3709
+ const n = Do(t), r = Ro(n), s = Ar(t), a = ko(e, s);
3706
3710
  if (a === "global")
3707
- return yr(r, e, s), r;
3711
+ return Sr(r, e, s), r;
3708
3712
  if (a === "parent") {
3709
- let u = Fo(n, t, e.__useComponent);
3710
- return u == null && (process.env.NODE_ENV !== "production" && fe(we(ne.NOT_FOUND_PARENT_SCOPE)), u = r), u;
3713
+ let u = Mo(n, t, e.__useComponent);
3714
+ return u == null && (process.env.NODE_ENV !== "production" && ue(Ue(ne.NOT_FOUND_PARENT_SCOPE)), u = r), u;
3711
3715
  }
3712
3716
  const o = n;
3713
3717
  let i = o.__getInstance(t);
3714
3718
  if (i == null) {
3715
3719
  const u = J({}, e);
3716
- "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = on(u), o.__composerExtend && (i[xt] = o.__composerExtend(i)), wo(o, t, i), o.__setInstance(t, i);
3720
+ "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = on(u), o.__composerExtend && (i[xt] = o.__composerExtend(i)), Uo(o, t, i), o.__setInstance(t, i);
3717
3721
  } else
3718
- process.env.NODE_ENV !== "production" && a === "local" && fe(we(ne.DUPLICATE_USE_I18N_CALLING));
3722
+ process.env.NODE_ENV !== "production" && a === "local" && ue(Ue(ne.DUPLICATE_USE_I18N_CALLING));
3719
3723
  return i;
3720
3724
  }
3721
- function Do(e, t) {
3725
+ function Po(e, t) {
3722
3726
  const n = wr(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Yt(e)) : n.run(() => on(e));
3723
3727
  if (r == null)
3724
3728
  throw z(G.UNEXPECTED_ERROR);
3725
3729
  return [n, r];
3726
3730
  }
3727
- function ko(e) {
3728
- const t = Bt(e.isCE ? yo : e.appContext.app.__VUE_I18N_SYMBOL__);
3731
+ function Do(e) {
3732
+ const t = Bt(e.isCE ? So : e.appContext.app.__VUE_I18N_SYMBOL__);
3729
3733
  if (!t)
3730
3734
  throw z(e.isCE ? G.NOT_INSTALLED_WITH_PROVIDE : G.UNEXPECTED_ERROR);
3731
3735
  return t;
3732
3736
  }
3733
- function Ro(e, t) {
3737
+ function ko(e, t) {
3734
3738
  return ut(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3735
3739
  }
3736
- function Mo(e) {
3740
+ function Ro(e) {
3737
3741
  return e.mode === "composition" ? e.global : e.global.__composer;
3738
3742
  }
3739
- function Fo(e, t, n = !1) {
3743
+ function Mo(e, t, n = !1) {
3740
3744
  let r = null;
3741
3745
  const s = t.root;
3742
- let a = Uo(t, n);
3746
+ let a = Fo(t, n);
3743
3747
  for (; a != null; ) {
3744
3748
  const o = e;
3745
3749
  if (e.mode === "composition")
3746
3750
  r = o.__getInstance(a);
3747
3751
  else if (__VUE_I18N_LEGACY_API__) {
3748
3752
  const i = o.__getInstance(a);
3749
- i != null && (r = i.__composer, n && r && !r[Ar] && (r = null));
3753
+ i != null && (r = i.__composer, n && r && !r[Cr] && (r = null));
3750
3754
  }
3751
3755
  if (r != null || s === a)
3752
3756
  break;
@@ -3754,16 +3758,16 @@ function Fo(e, t, n = !1) {
3754
3758
  }
3755
3759
  return r;
3756
3760
  }
3757
- function Uo(e, t = !1) {
3761
+ function Fo(e, t = !1) {
3758
3762
  return e == null ? null : t && e.vnode.ctx || e.parent;
3759
3763
  }
3760
- function wo(e, t, n) {
3764
+ function Uo(e, t, n) {
3761
3765
  let r = null;
3762
3766
  Wr(() => {
3763
3767
  if (process.env.NODE_ENV !== "production") {
3764
3768
  t.__VUE_I18N__ = n, r = en();
3765
3769
  const s = n;
3766
- s[ye] && s[ye](r), r.on("*", Qe);
3770
+ s[Se] && s[Se](r), r.on("*", Qe);
3767
3771
  }
3768
3772
  }, t), Gr(() => {
3769
3773
  const s = n;
@@ -3772,14 +3776,14 @@ function wo(e, t, n) {
3772
3776
  a && (a(), delete s[xt]);
3773
3777
  }, t);
3774
3778
  }
3775
- const Vo = [
3779
+ const wo = [
3776
3780
  "locale",
3777
3781
  "fallbackLocale",
3778
3782
  "availableLocales"
3779
3783
  ], jn = ["t", "rt", "d", "n", "tm", "te"];
3780
- function $o(e, t) {
3784
+ function Vo(e, t) {
3781
3785
  const n = /* @__PURE__ */ Object.create(null);
3782
- return Vo.forEach((s) => {
3786
+ return wo.forEach((s) => {
3783
3787
  const a = Object.getOwnPropertyDescriptor(t, s);
3784
3788
  if (!a)
3785
3789
  throw z(G.UNEXPECTED_ERROR);
@@ -3808,7 +3812,7 @@ function $o(e, t) {
3808
3812
  });
3809
3813
  };
3810
3814
  }
3811
- const Wo = /* @__PURE__ */ _e({
3815
+ const $o = /* @__PURE__ */ fe({
3812
3816
  /* eslint-disable */
3813
3817
  name: "i18n-d",
3814
3818
  props: J({
@@ -3827,127 +3831,127 @@ const Wo = /* @__PURE__ */ _e({
3827
3831
  useScope: e.scope,
3828
3832
  __useComponent: !0
3829
3833
  });
3830
- return Mr(e, t, hr, (...r) => (
3834
+ return Rr(e, t, br, (...r) => (
3831
3835
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3832
3836
  n[Wt](...r)
3833
3837
  ));
3834
3838
  }
3835
- }), Xn = Wo;
3836
- to();
3837
- va(ra);
3838
- Ca(ba);
3839
- Aa(_r);
3839
+ }), Xn = $o;
3840
+ eo();
3841
+ Oa(na);
3842
+ va(Ta);
3843
+ Ca(fr);
3840
3844
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3841
- const e = ve();
3842
- e.__INTLIFY__ = !0, sa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3845
+ const e = Le();
3846
+ e.__INTLIFY__ = !0, ra(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3843
3847
  }
3844
3848
  process.env.NODE_ENV;
3845
- const Go = "名称", xo = "供应商", Ho = "版本", Yo = "描述", Bo = "类别", Ko = "通用", jo = "I/O映射", Xo = "Modbus从站通道", Jo = "状态", Qo = "以太网", qo = "Modbus TCP服务器", Zo = "Modbus TCP客户端", zo = "Modbus TCP从站设备", el = "成都数字创新科技有限公司", tl = { ethernet: "一种在以太网上充当Modbus服务器的设备。", modbusTcpServer: "一种在以太网上充当Modbus TCP服务器的设备。", modbusTcpClient: "一种在以太网上充当Modbus TCP客户端的设备。", modbusTCPSlaveDevice: "一种在以太网上充当Modbus TCP从站设备。" }, nl = "网络接口", rl = "IP地址", sl = "子网掩码", al = "默认网关", ol = "适配操作系统配置", ll = "总线周期任务", il = "使用父总线循环设置", cl = "响应超时(ms)", ul = "Socket超时(ms)", fl = "自动重连", _l = "从站IP地址", ml = "端口", dl = " 看门狗", El = "从站端口", pl = "绑定到适配器", gl = "保持寄存器", Nl = "可写入", Tl = "输入寄存器", bl = "离散位区域", hl = "线圈", Il = "离散输入", Ll = "数据模型", Ol = "起始地址", vl = {
3846
- name: Go,
3847
- supplier: xo,
3848
- version: Ho,
3849
- description: Yo,
3850
- category: Bo,
3851
- general: Ko,
3852
- ioMapping: jo,
3853
- modbusSlaveChannel: Xo,
3854
- status: Jo,
3855
- ethernet: Qo,
3856
- modbusTcpServer: qo,
3857
- modbusTcpClient: Zo,
3858
- modbusTCPSlaveDevice: zo,
3859
- company: el,
3860
- descriptionMap: tl,
3861
- netInterface: nl,
3862
- ipAddress: rl,
3863
- subnetMask: sl,
3864
- defaultGateway: al,
3865
- adaptedOSConfiguration: ol,
3866
- busCycleTask: ll,
3867
- defaultTask: il,
3868
- responseTimeout: cl,
3869
- socketTimeout: ul,
3870
- reconnect: fl,
3871
- slaveIpAddress: _l,
3872
- port: ml,
3873
- watchDog: dl,
3874
- slavePort: El,
3875
- bindToAdapter: pl,
3876
- holdingRegister: gl,
3877
- writable: Nl,
3878
- inputRegister: Tl,
3879
- discreteBitArea: bl,
3880
- coil: hl,
3881
- discreteInput: Il,
3882
- dataModel: Ll,
3883
- startAddress: Ol
3884
- }, Cl = "Name", Al = "Supplier", Sl = "Version", yl = "Description", Pl = "Category", Dl = "General", kl = "I/O Mapping", Rl = "Modbus Slave Channel", Ml = "Status", Fl = "Ethernet", Ul = "Modbus TCP Server", wl = "Modbus TCP Client", Vl = "Modbus TCP Slave Device", $l = "Chengdu AIOSYS Innovation Technology Co., Ltd.", Wl = { 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." }, Gl = "Network Interface", xl = "IP Address", Hl = "Subnet Mask", Yl = "Default Gateway", Bl = "Adapted OS Configuration", Kl = "Bus Cycle Task", jl = "Use Parent Bus Cycle Setting", Xl = "Response Timeout(ms)", Jl = "Socket Timeout(ms)", Ql = "Reconnect", ql = "Slave IP Address", Zl = "Port", zl = "Watch Dog", ei = "Slave Port", ti = "Bind to Adapter", ni = "Holding Register", ri = "Writable", si = "Input Register", ai = "Discrete Bit Area", oi = "Coil", li = "Discrete Input", ii = "Data Model", ci = "Start Address", ui = {
3885
- name: Cl,
3886
- supplier: Al,
3887
- version: Sl,
3888
- description: yl,
3889
- category: Pl,
3890
- general: Dl,
3891
- ioMapping: kl,
3892
- modbusSlaveChannel: Rl,
3893
- status: Ml,
3894
- ethernet: Fl,
3895
- modbusTcpServer: Ul,
3896
- modbusTcpClient: wl,
3897
- modbusTCPSlaveDevice: Vl,
3898
- company: $l,
3899
- descriptionMap: Wl,
3900
- netInterface: Gl,
3901
- ipAddress: xl,
3902
- subnetMask: Hl,
3903
- defaultGateway: Yl,
3904
- adaptedOSConfiguration: Bl,
3905
- busCycleTask: Kl,
3906
- defaultTask: jl,
3907
- responseTimeout: Xl,
3908
- socketTimeout: Jl,
3909
- reconnect: Ql,
3910
- slaveIpAddress: ql,
3911
- port: Zl,
3912
- watchDog: zl,
3913
- slavePort: ei,
3914
- bindToAdapter: ti,
3915
- holdingRegister: ni,
3916
- writable: ri,
3917
- inputRegister: si,
3918
- discreteBitArea: ai,
3919
- coil: oi,
3920
- discreteInput: li,
3921
- dataModel: ii,
3922
- startAddress: ci
3923
- }, fi = {
3924
- zh: vl,
3925
- en: ui
3926
- }, Oe = Po({
3849
+ const Wo = "名称", Go = "供应商", xo = "版本", Ho = "描述", Yo = "类别", Bo = "通用", Ko = "I/O映射", jo = "Modbus从站通道", Xo = "状态", Jo = "以太网", Qo = "Modbus TCP服务器", qo = "Modbus TCP客户端", Zo = "Modbus TCP从站设备", zo = "成都数字创新科技有限公司", el = { ethernet: "一种在以太网上充当Modbus服务器的设备。", modbusTcpServer: "一种在以太网上充当Modbus TCP服务器的设备。", modbusTcpClient: "一种在以太网上充当Modbus TCP客户端的设备。", modbusTCPSlaveDevice: "一种在以太网上充当Modbus TCP从站设备。" }, tl = "网络接口", nl = "IP地址", rl = "子网掩码", sl = "默认网关", al = "适配操作系统配置", ol = "总线周期任务", ll = "使用父总线循环设置", il = "响应超时(ms)", cl = "Socket超时(ms)", ul = "自动重连", fl = "从站IP地址", _l = "端口", ml = " 看门狗", dl = "从站端口", El = "绑定到适配器", pl = "保持寄存器", gl = "可写入", Nl = "输入寄存器", Tl = "离散位区域", bl = "线圈", hl = "离散输入", Il = "数据模型", Ll = "起始地址", Ol = {
3850
+ name: Wo,
3851
+ supplier: Go,
3852
+ version: xo,
3853
+ description: Ho,
3854
+ category: Yo,
3855
+ general: Bo,
3856
+ ioMapping: Ko,
3857
+ modbusSlaveChannel: jo,
3858
+ status: Xo,
3859
+ ethernet: Jo,
3860
+ modbusTcpServer: Qo,
3861
+ modbusTcpClient: qo,
3862
+ modbusTCPSlaveDevice: Zo,
3863
+ company: zo,
3864
+ descriptionMap: el,
3865
+ netInterface: tl,
3866
+ ipAddress: nl,
3867
+ subnetMask: rl,
3868
+ defaultGateway: sl,
3869
+ adaptedOSConfiguration: al,
3870
+ busCycleTask: ol,
3871
+ defaultTask: ll,
3872
+ responseTimeout: il,
3873
+ socketTimeout: cl,
3874
+ reconnect: ul,
3875
+ slaveIpAddress: fl,
3876
+ port: _l,
3877
+ watchDog: ml,
3878
+ slavePort: dl,
3879
+ bindToAdapter: El,
3880
+ holdingRegister: pl,
3881
+ writable: gl,
3882
+ inputRegister: Nl,
3883
+ discreteBitArea: Tl,
3884
+ coil: bl,
3885
+ discreteInput: hl,
3886
+ dataModel: Il,
3887
+ startAddress: Ll
3888
+ }, vl = "Name", Cl = "Supplier", Al = "Version", Sl = "Description", yl = "Category", Pl = "General", Dl = "I/O Mapping", kl = "Modbus Slave Channel", Rl = "Status", Ml = "Ethernet", Fl = "Modbus TCP Server", Ul = "Modbus TCP Client", wl = "Modbus TCP Slave Device", Vl = "Chengdu AIOSYS Innovation Technology Co., Ltd.", $l = { 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." }, Wl = "Network Interface", Gl = "IP Address", xl = "Subnet Mask", Hl = "Default Gateway", Yl = "Adapted OS Configuration", Bl = "Bus Cycle Task", Kl = "Use Parent Bus Cycle Setting", jl = "Response Timeout(ms)", Xl = "Socket Timeout(ms)", Jl = "Reconnect", Ql = "Slave IP Address", ql = "Port", Zl = "Watch Dog", zl = "Slave Port", ei = "Bind to Adapter", ti = "Holding Register", ni = "Writable", ri = "Input Register", si = "Discrete Bit Area", ai = "Coil", oi = "Discrete Input", li = "Data Model", ii = "Start Address", ci = {
3889
+ name: vl,
3890
+ supplier: Cl,
3891
+ version: Al,
3892
+ description: Sl,
3893
+ category: yl,
3894
+ general: Pl,
3895
+ ioMapping: Dl,
3896
+ modbusSlaveChannel: kl,
3897
+ status: Rl,
3898
+ ethernet: Ml,
3899
+ modbusTcpServer: Fl,
3900
+ modbusTcpClient: Ul,
3901
+ modbusTCPSlaveDevice: wl,
3902
+ company: Vl,
3903
+ descriptionMap: $l,
3904
+ netInterface: Wl,
3905
+ ipAddress: Gl,
3906
+ subnetMask: xl,
3907
+ defaultGateway: Hl,
3908
+ adaptedOSConfiguration: Yl,
3909
+ busCycleTask: Bl,
3910
+ defaultTask: Kl,
3911
+ responseTimeout: jl,
3912
+ socketTimeout: Xl,
3913
+ reconnect: Jl,
3914
+ slaveIpAddress: Ql,
3915
+ port: ql,
3916
+ watchDog: Zl,
3917
+ slavePort: zl,
3918
+ bindToAdapter: ei,
3919
+ holdingRegister: ti,
3920
+ writable: ni,
3921
+ inputRegister: ri,
3922
+ discreteBitArea: si,
3923
+ coil: ai,
3924
+ discreteInput: oi,
3925
+ dataModel: li,
3926
+ startAddress: ii
3927
+ }, ui = {
3928
+ zh: Ol,
3929
+ en: ci
3930
+ }, Ie = yo({
3927
3931
  legacy: !1,
3928
3932
  locale: "zh",
3929
3933
  fallbackLocale: "en",
3930
- messages: fi
3934
+ messages: ui
3931
3935
  });
3932
- typeof window < "u" && (window.$t = Oe.global.t.bind(Oe.global), Object.defineProperty(window, "$locale", {
3936
+ typeof window < "u" && (window.$t = Ie.global.t.bind(Ie.global), Object.defineProperty(window, "$locale", {
3933
3937
  get() {
3934
- return typeof Oe.global.locale == "string" ? Oe.global.locale : Oe.global.locale.value;
3938
+ return typeof Ie.global.locale == "string" ? Ie.global.locale : Ie.global.locale.value;
3935
3939
  },
3936
3940
  set(e) {
3937
- Oe.global.locale = e;
3941
+ Ie.global.locale = e;
3938
3942
  }
3939
3943
  }));
3940
- const _i = Hr(as).use(Oe);
3941
- _i.mount("#app");
3942
- const mi = [
3944
+ const fi = Hr(ss).use(Ie);
3945
+ fi.mount("#app");
3946
+ const _i = [
3943
3947
  Br,
3944
3948
  jr,
3945
- tr,
3946
- Qr,
3947
- Jr
3948
- ], pi = {
3949
+ er,
3950
+ Jr,
3951
+ Xr
3952
+ ], Ei = {
3949
3953
  install(e) {
3950
- mi.forEach((t) => {
3954
+ _i.forEach((t) => {
3951
3955
  e.component(t.name, t);
3952
3956
  });
3953
3957
  }
@@ -3955,17 +3959,17 @@ const mi = [
3955
3959
  export {
3956
3960
  jr as Button2,
3957
3961
  lt as EthernetProtocolItem,
3958
- tr as Input,
3959
- Qr as InputNumber,
3960
- Jr as IpInput,
3962
+ er as Input,
3963
+ Jr as InputNumber,
3964
+ Xr as IpInput,
3961
3965
  Jt as ModbusTCPClientProtocolItem,
3962
3966
  Xt as ModbusTCPServerProtocolItem,
3963
3967
  Qt as ModbusTCPSlaveDeviceProtocolItem,
3964
3968
  Br as MyButton,
3965
- Ei as MyLibPlugin,
3966
- rs as ProtocolCollection,
3969
+ di as MyLibPlugin,
3970
+ ns as ProtocolCollection,
3967
3971
  re as ProtocolItem,
3968
- Ne as ProtocolType,
3969
- pi as default,
3972
+ pe as ProtocolType,
3973
+ Ei as default,
3970
3974
  it as protocolMap
3971
3975
  };