@linagora/linid-im-front-corelib 0.0.54 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as bn from "vue";
2
2
  import { defineAsyncComponent as $o, hasInjectionContext as wn, inject as xt, getCurrentInstance as Bo, ref as Qt, reactive as jo, markRaw as mt, effectScope as Ho, isRef as ht, isReactive as ir, toRef as yn, toRaw as qo, nextTick as Or, getCurrentScope as Wo, onScopeDispose as Go, watch as Dn, computed as Ue, toRefs as Sr, defineComponent as zt, openBlock as Nn, createElementBlock as Tr, Fragment as Vt, renderList as Yo, unref as Ar, createBlock as Ko, resolveDynamicComponent as Xo, mergeProps as Jo, renderSlot as Qo, createCommentVNode as zo, onMounted as Cs, onUnmounted as Is, shallowRef as Zo, h as Ps, createVNode as ei, Text as ti } from "vue";
3
3
  let $t = null;
4
- function Xu(e) {
4
+ function Ju(e) {
5
5
  if ($t !== null) {
6
6
  console.warn(
7
7
  "[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
@@ -88,19 +88,19 @@ function vr(e) {
88
88
  function Cr(e, t, n, r) {
89
89
  const { state: s, actions: o, getters: i } = t, a = n.state.value[e];
90
90
  let c;
91
- function f() {
91
+ function u() {
92
92
  !a && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = s ? s() : {});
93
- const u = process.env.NODE_ENV !== "production" && r ? (
93
+ const f = process.env.NODE_ENV !== "production" && r ? (
94
94
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
95
95
  Sr(Qt(s ? s() : {}).value)
96
96
  ) : Sr(n.state.value[e]);
97
- return _e(u, o, Object.keys(i || {}).reduce((p, _) => (process.env.NODE_ENV !== "production" && _ in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${_}" in store "${e}".`), p[_] = mt(Ue(() => {
97
+ return _e(f, o, Object.keys(i || {}).reduce((p, m) => (process.env.NODE_ENV !== "production" && m in f && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${m}" in store "${e}".`), p[m] = mt(Ue(() => {
98
98
  Bt(n);
99
99
  const L = n._s.get(e);
100
- return i[_].call(L, L);
100
+ return i[m].call(L, L);
101
101
  })), p), {}));
102
102
  }
103
- return c = Un(e, f, t, n, r, !0), c;
103
+ return c = Un(e, u, t, n, r, !0), c;
104
104
  }
105
105
  function Un(e, t, n = {}, r, s, o) {
106
106
  let i;
@@ -109,16 +109,16 @@ function Un(e, t, n = {}, r, s, o) {
109
109
  throw new Error("Pinia destroyed");
110
110
  const c = { deep: !0 };
111
111
  process.env.NODE_ENV !== "production" && (c.onTrigger = (I) => {
112
- f ? L = I : f == !1 && !h._hotUpdating && (Array.isArray(L) ? L.push(I) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
112
+ u ? L = I : u == !1 && !h._hotUpdating && (Array.isArray(L) ? L.push(I) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
113
113
  });
114
- let f, u, p = /* @__PURE__ */ new Set(), _ = /* @__PURE__ */ new Set(), L;
115
- const g = r.state.value[e];
116
- !o && !g && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
114
+ let u, f, p = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), L;
115
+ const E = r.state.value[e];
116
+ !o && !E && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
117
117
  const b = Qt({});
118
118
  let N;
119
- function m(I) {
119
+ function _(I) {
120
120
  let P;
121
- f = u = !1, process.env.NODE_ENV !== "production" && (L = []), typeof I == "function" ? (I(r.state.value[e]), P = {
121
+ u = f = !1, process.env.NODE_ENV !== "production" && (L = []), typeof I == "function" ? (I(r.state.value[e]), P = {
122
122
  type: _t.patchFunction,
123
123
  storeId: e,
124
124
  events: L
@@ -130,8 +130,8 @@ function Un(e, t, n = {}, r, s, o) {
130
130
  });
131
131
  const k = N = /* @__PURE__ */ Symbol();
132
132
  Or().then(() => {
133
- N === k && (f = !0);
134
- }), u = !0, ze(p, P, r.state.value[e]);
133
+ N === k && (u = !0);
134
+ }), f = !0, ze(p, P, r.state.value[e]);
135
135
  }
136
136
  const O = o ? function() {
137
137
  const { state: P } = n, k = P ? P() : {};
@@ -145,7 +145,7 @@ function Un(e, t, n = {}, r, s, o) {
145
145
  } : Ds
146
146
  );
147
147
  function T() {
148
- i.stop(), p.clear(), _.clear(), r._s.delete(e);
148
+ i.stop(), p.clear(), m.clear(), r._s.delete(e);
149
149
  }
150
150
  const y = (I, P = "") => {
151
151
  if (Rr in I)
@@ -159,7 +159,7 @@ function Un(e, t, n = {}, r, s, o) {
159
159
  function ke(Z) {
160
160
  Ne.add(Z);
161
161
  }
162
- ze(_, {
162
+ ze(m, {
163
163
  args: q,
164
164
  name: k[On],
165
165
  store: h,
@@ -184,12 +184,12 @@ function Un(e, t, n = {}, r, s, o) {
184
184
  _p: r,
185
185
  // _s: scope,
186
186
  $id: e,
187
- $onAction: Lr.bind(null, _),
188
- $patch: m,
187
+ $onAction: Lr.bind(null, m),
188
+ $patch: _,
189
189
  $reset: O,
190
190
  $subscribe(I, P = {}) {
191
191
  const k = Lr(p, I, P.detached, () => q()), q = i.run(() => Dn(() => r.state.value[e], (se) => {
192
- (P.flush === "sync" ? u : f) && I({
192
+ (P.flush === "sync" ? f : u) && I({
193
193
  storeId: e,
194
194
  type: _t.direct,
195
195
  events: L
@@ -213,7 +213,7 @@ function Un(e, t, n = {}, r, s, o) {
213
213
  for (const I in M) {
214
214
  const P = M[I];
215
215
  if (ht(P) && !vr(P) || ir(P))
216
- process.env.NODE_ENV !== "production" && s ? b.value[I] = yn(M, I) : o || (g && ii(P) && (ht(P) ? P.value = g[I] : Fn(P, g[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && v.state.push(I);
216
+ process.env.NODE_ENV !== "production" && s ? b.value[I] = yn(M, I) : o || (E && ii(P) && (ht(P) ? P.value = E[I] : Fn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && v.state.push(I);
217
217
  else if (typeof P == "function") {
218
218
  const k = process.env.NODE_ENV !== "production" && s ? P : y(P, I);
219
219
  M[I] = k, process.env.NODE_ENV !== "production" && (v.actions[I] = P), a.actions[I] = P;
@@ -228,7 +228,7 @@ function Un(e, t, n = {}, r, s, o) {
228
228
  set: (I) => {
229
229
  if (process.env.NODE_ENV !== "production" && s)
230
230
  throw new Error("cannot set hotState");
231
- m((P) => {
231
+ _((P) => {
232
232
  _e(P, I);
233
233
  });
234
234
  }
@@ -241,8 +241,8 @@ function Un(e, t, n = {}, r, s, o) {
241
241
  h[P] = yn(I.$state, P);
242
242
  }), Object.keys(h.$state).forEach((P) => {
243
243
  P in I.$state || delete h[P];
244
- }), f = !1, u = !1, r.state.value[e] = yn(I._hmrPayload, "hotState"), u = !0, Or().then(() => {
245
- f = !0;
244
+ }), u = !1, f = !1, r.state.value[e] = yn(I._hmrPayload, "hotState"), f = !0, Or().then(() => {
245
+ u = !0;
246
246
  });
247
247
  for (const P in I._hmrPayload.actions) {
248
248
  const k = I[P];
@@ -291,7 +291,7 @@ function Un(e, t, n = {}, r, s, o) {
291
291
  })));
292
292
  }), process.env.NODE_ENV !== "production" && h.$state && typeof h.$state == "object" && typeof h.$state.constructor == "function" && !h.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
293
293
  state: () => new MyClass()
294
- Found in store "${h.$id}".`), g && o && n.hydrate && n.hydrate(h.$state, g), f = !0, u = !0, h;
294
+ Found in store "${h.$id}".`), E && o && n.hydrate && n.hydrate(h.$state, E), u = !0, f = !0, h;
295
295
  }
296
296
  // @__NO_SIDE_EFFECTS__
297
297
  function Zt(e, t, n) {
@@ -307,25 +307,25 @@ function Zt(e, t, n) {
307
307
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
308
308
  This will fail in production.`);
309
309
  i = qe, i._s.has(e) || (s ? Un(e, t, r, i) : Cr(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
310
- const f = i._s.get(e);
310
+ const u = i._s.get(e);
311
311
  if (process.env.NODE_ENV !== "production" && a) {
312
- const u = "__hot:" + e, p = s ? Un(u, t, r, i, !0) : Cr(u, _e({}, r), i, !0);
313
- a._hotUpdate(p), delete i.state.value[u], i._s.delete(u);
312
+ const f = "__hot:" + e, p = s ? Un(f, t, r, i, !0) : Cr(f, _e({}, r), i, !0);
313
+ a._hotUpdate(p), delete i.state.value[f], i._s.delete(f);
314
314
  }
315
315
  if (process.env.NODE_ENV !== "production" && tt) {
316
- const u = Bo();
317
- if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
316
+ const f = Bo();
317
+ if (f && f.proxy && // avoid adding stores that are just built for hot module replacement
318
318
  !a) {
319
- const p = u.proxy, _ = "_pStores" in p ? p._pStores : p._pStores = {};
320
- _[e] = f;
319
+ const p = f.proxy, m = "_pStores" in p ? p._pStores : p._pStores = {};
320
+ m[e] = u;
321
321
  }
322
322
  }
323
- return f;
323
+ return u;
324
324
  }
325
325
  return o.$id = e, o;
326
326
  }
327
327
  let jt = null;
328
- function Ju(e) {
328
+ function Qu(e) {
329
329
  if (jt !== null) {
330
330
  console.warn(
331
331
  "[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
@@ -364,7 +364,7 @@ const ai = () => ci(en()), ci = /* @__PURE__ */ Zt("linidZoneStore", {
364
364
  this.zones[e]?.some(({ plugin: n }) => n === t.plugin) || this.register(e, t);
365
365
  }
366
366
  }
367
- }), Qu = /* @__PURE__ */ zt({
367
+ }), zu = /* @__PURE__ */ zt({
368
368
  inheritAttrs: !1,
369
369
  __name: "LinidZoneRenderer",
370
370
  props: {
@@ -470,8 +470,8 @@ var nn = (function() {
470
470
  if (this._parentage = null, Array.isArray(i))
471
471
  try {
472
472
  for (var a = xn(i), c = a.next(); !c.done; c = a.next()) {
473
- var f = c.value;
474
- f.remove(this);
473
+ var u = c.value;
474
+ u.remove(this);
475
475
  }
476
476
  } catch (b) {
477
477
  t = { error: b };
@@ -484,10 +484,10 @@ var nn = (function() {
484
484
  }
485
485
  else
486
486
  i.remove(this);
487
- var u = this.initialTeardown;
488
- if (Ce(u))
487
+ var f = this.initialTeardown;
488
+ if (Ce(f))
489
489
  try {
490
- u();
490
+ f();
491
491
  } catch (b) {
492
492
  o = b instanceof Sn ? b.errors : [b];
493
493
  }
@@ -495,10 +495,10 @@ var nn = (function() {
495
495
  if (p) {
496
496
  this._finalizers = null;
497
497
  try {
498
- for (var _ = xn(p), L = _.next(); !L.done; L = _.next()) {
499
- var g = L.value;
498
+ for (var m = xn(p), L = m.next(); !L.done; L = m.next()) {
499
+ var E = L.value;
500
500
  try {
501
- Ir(g);
501
+ Ir(E);
502
502
  } catch (b) {
503
503
  o = o ?? [], b instanceof Sn ? o = $n($n([], Vn(o)), Vn(b.errors)) : o.push(b);
504
504
  }
@@ -507,7 +507,7 @@ var nn = (function() {
507
507
  r = { error: b };
508
508
  } finally {
509
509
  try {
510
- L && !L.done && (s = _.return) && s.call(_);
510
+ L && !L.done && (s = m.return) && s.call(m);
511
511
  } finally {
512
512
  if (r) throw r.error;
513
513
  }
@@ -770,8 +770,8 @@ var yi = ks(function(e) {
770
770
  var c = a.value;
771
771
  c.next(n);
772
772
  }
773
- } catch (f) {
774
- s = { error: f };
773
+ } catch (u) {
774
+ s = { error: u };
775
775
  } finally {
776
776
  try {
777
777
  a && !a.done && (o = i.return) && o.call(i);
@@ -847,7 +847,7 @@ var yi = ks(function(e) {
847
847
  }, t;
848
848
  })(xs);
849
849
  const Vs = new xs();
850
- function zu(e, t) {
850
+ function Zu(e, t) {
851
851
  const n = Qt(!1);
852
852
  let r;
853
853
  function s(o) {
@@ -1072,7 +1072,7 @@ const sa = (e) => {
1072
1072
  !1
1073
1073
  ), (s) => {
1074
1074
  r.push(s), We.postMessage(n, "*");
1075
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", ue(We.postMessage)), aa = typeof queueMicrotask < "u" ? queueMicrotask.bind(We) : typeof process < "u" && process.nextTick || Ys, ca = (e) => e != null && ue(e[rn]), E = {
1075
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", ue(We.postMessage)), aa = typeof queueMicrotask < "u" ? queueMicrotask.bind(We) : typeof process < "u" && process.nextTick || Ys, ca = (e) => e != null && ue(e[rn]), g = {
1076
1076
  isArray: it,
1077
1077
  isArrayBuffer: js,
1078
1078
  isBuffer: Nt,
@@ -1172,7 +1172,7 @@ let U = class Ks extends Error {
1172
1172
  columnNumber: this.columnNumber,
1173
1173
  stack: this.stack,
1174
1174
  // Axios
1175
- config: E.toJSONObject(this.config),
1175
+ config: g.toJSONObject(this.config),
1176
1176
  code: this.code,
1177
1177
  status: this.status
1178
1178
  };
@@ -1192,10 +1192,10 @@ U.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
1192
1192
  U.ERR_INVALID_URL = "ERR_INVALID_URL";
1193
1193
  const la = null;
1194
1194
  function qn(e) {
1195
- return E.isPlainObject(e) || E.isArray(e);
1195
+ return g.isPlainObject(e) || g.isArray(e);
1196
1196
  }
1197
1197
  function Xs(e) {
1198
- return E.endsWith(e, "[]") ? e.slice(0, -2) : e;
1198
+ return g.endsWith(e, "[]") ? e.slice(0, -2) : e;
1199
1199
  }
1200
1200
  function Tn(e, t, n) {
1201
1201
  return e ? e.concat(t).map(function(s, o) {
@@ -1203,15 +1203,15 @@ function Tn(e, t, n) {
1203
1203
  }).join(n ? "." : "") : t;
1204
1204
  }
1205
1205
  function ua(e) {
1206
- return E.isArray(e) && !e.some(qn);
1206
+ return g.isArray(e) && !e.some(qn);
1207
1207
  }
1208
- const fa = E.toFlatObject(E, {}, null, function(t) {
1208
+ const fa = g.toFlatObject(g, {}, null, function(t) {
1209
1209
  return /^is[A-Z]/.test(t);
1210
1210
  });
1211
1211
  function an(e, t, n) {
1212
- if (!E.isObject(e))
1212
+ if (!g.isObject(e))
1213
1213
  throw new TypeError("target must be an object");
1214
- t = t || new FormData(), n = E.toFlatObject(
1214
+ t = t || new FormData(), n = g.toFlatObject(
1215
1215
  n,
1216
1216
  {
1217
1217
  metaTokens: !0,
@@ -1220,55 +1220,55 @@ function an(e, t, n) {
1220
1220
  },
1221
1221
  !1,
1222
1222
  function(b, N) {
1223
- return !E.isUndefined(N[b]);
1223
+ return !g.isUndefined(N[b]);
1224
1224
  }
1225
1225
  );
1226
- const r = n.metaTokens, s = n.visitor || u, o = n.dots, i = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && E.isSpecCompliantForm(t);
1227
- if (!E.isFunction(s))
1226
+ const r = n.metaTokens, s = n.visitor || f, o = n.dots, i = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && g.isSpecCompliantForm(t);
1227
+ if (!g.isFunction(s))
1228
1228
  throw new TypeError("visitor must be a function");
1229
- function f(g) {
1230
- if (g === null) return "";
1231
- if (E.isDate(g))
1232
- return g.toISOString();
1233
- if (E.isBoolean(g))
1234
- return g.toString();
1235
- if (!c && E.isBlob(g))
1229
+ function u(E) {
1230
+ if (E === null) return "";
1231
+ if (g.isDate(E))
1232
+ return E.toISOString();
1233
+ if (g.isBoolean(E))
1234
+ return E.toString();
1235
+ if (!c && g.isBlob(E))
1236
1236
  throw new U("Blob is not supported. Use a Buffer instead.");
1237
- return E.isArrayBuffer(g) || E.isTypedArray(g) ? c && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
1238
- }
1239
- function u(g, b, N) {
1240
- let m = g;
1241
- if (E.isReactNative(t) && E.isReactNativeBlob(g))
1242
- return t.append(Tn(N, b, o), f(g)), !1;
1243
- if (g && !N && typeof g == "object") {
1244
- if (E.endsWith(b, "{}"))
1245
- b = r ? b : b.slice(0, -2), g = JSON.stringify(g);
1246
- else if (E.isArray(g) && ua(g) || (E.isFileList(g) || E.endsWith(b, "[]")) && (m = E.toArray(g)))
1247
- return b = Xs(b), m.forEach(function(T, y) {
1248
- !(E.isUndefined(T) || T === null) && t.append(
1237
+ return g.isArrayBuffer(E) || g.isTypedArray(E) ? c && typeof Blob == "function" ? new Blob([E]) : Buffer.from(E) : E;
1238
+ }
1239
+ function f(E, b, N) {
1240
+ let _ = E;
1241
+ if (g.isReactNative(t) && g.isReactNativeBlob(E))
1242
+ return t.append(Tn(N, b, o), u(E)), !1;
1243
+ if (E && !N && typeof E == "object") {
1244
+ if (g.endsWith(b, "{}"))
1245
+ b = r ? b : b.slice(0, -2), E = JSON.stringify(E);
1246
+ else if (g.isArray(E) && ua(E) || (g.isFileList(E) || g.endsWith(b, "[]")) && (_ = g.toArray(E)))
1247
+ return b = Xs(b), _.forEach(function(T, y) {
1248
+ !(g.isUndefined(T) || T === null) && t.append(
1249
1249
  // eslint-disable-next-line no-nested-ternary
1250
1250
  i === !0 ? Tn([b], y, o) : i === null ? b : b + "[]",
1251
- f(T)
1251
+ u(T)
1252
1252
  );
1253
1253
  }), !1;
1254
1254
  }
1255
- return qn(g) ? !0 : (t.append(Tn(N, b, o), f(g)), !1);
1255
+ return qn(E) ? !0 : (t.append(Tn(N, b, o), u(E)), !1);
1256
1256
  }
1257
- const p = [], _ = Object.assign(fa, {
1258
- defaultVisitor: u,
1259
- convertValue: f,
1257
+ const p = [], m = Object.assign(fa, {
1258
+ defaultVisitor: f,
1259
+ convertValue: u,
1260
1260
  isVisitable: qn
1261
1261
  });
1262
- function L(g, b) {
1263
- if (!E.isUndefined(g)) {
1264
- if (p.indexOf(g) !== -1)
1262
+ function L(E, b) {
1263
+ if (!g.isUndefined(E)) {
1264
+ if (p.indexOf(E) !== -1)
1265
1265
  throw Error("Circular reference detected in " + b.join("."));
1266
- p.push(g), E.forEach(g, function(m, O) {
1267
- (!(E.isUndefined(m) || m === null) && s.call(t, m, E.isString(O) ? O.trim() : O, b, _)) === !0 && L(m, b ? b.concat(O) : [O]);
1266
+ p.push(E), g.forEach(E, function(_, O) {
1267
+ (!(g.isUndefined(_) || _ === null) && s.call(t, _, g.isString(O) ? O.trim() : O, b, m)) === !0 && L(_, b ? b.concat(O) : [O]);
1268
1268
  }), p.pop();
1269
1269
  }
1270
1270
  }
1271
- if (!E.isObject(e))
1271
+ if (!g.isObject(e))
1272
1272
  throw new TypeError("data must be an object");
1273
1273
  return L(e), t;
1274
1274
  }
@@ -1307,11 +1307,11 @@ function da(e) {
1307
1307
  function Qs(e, t, n) {
1308
1308
  if (!t)
1309
1309
  return e;
1310
- const r = n && n.encode || da, s = E.isFunction(n) ? {
1310
+ const r = n && n.encode || da, s = g.isFunction(n) ? {
1311
1311
  serialize: n
1312
1312
  } : n, o = s && s.serialize;
1313
1313
  let i;
1314
- if (o ? i = o(t, s) : i = E.isURLSearchParams(t) ? t.toString() : new cr(t, s).toString(r), i) {
1314
+ if (o ? i = o(t, s) : i = g.isURLSearchParams(t) ? t.toString() : new cr(t, s).toString(r), i) {
1315
1315
  const a = e.indexOf("#");
1316
1316
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
1317
1317
  }
@@ -1367,7 +1367,7 @@ class Vr {
1367
1367
  * @returns {void}
1368
1368
  */
1369
1369
  forEach(t) {
1370
- E.forEach(this.handlers, function(r) {
1370
+ g.forEach(this.handlers, function(r) {
1371
1371
  r !== null && t(r);
1372
1372
  });
1373
1373
  }
@@ -1400,13 +1400,13 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ba
1400
1400
  function Na(e, t) {
1401
1401
  return an(e, new ce.classes.URLSearchParams(), {
1402
1402
  visitor: function(n, r, s, o) {
1403
- return ce.isNode && E.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
1403
+ return ce.isNode && g.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
1404
1404
  },
1405
1405
  ...t
1406
1406
  });
1407
1407
  }
1408
1408
  function Oa(e) {
1409
- return E.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1409
+ return g.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1410
1410
  }
1411
1411
  function Sa(e) {
1412
1412
  const t = {}, n = Object.keys(e);
@@ -1422,20 +1422,20 @@ function zs(e) {
1422
1422
  let i = n[o++];
1423
1423
  if (i === "__proto__") return !0;
1424
1424
  const a = Number.isFinite(+i), c = o >= n.length;
1425
- return i = !i && E.isArray(s) ? s.length : i, c ? (E.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !E.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && E.isArray(s[i]) && (s[i] = Sa(s[i])), !a);
1425
+ return i = !i && g.isArray(s) ? s.length : i, c ? (g.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !g.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && g.isArray(s[i]) && (s[i] = Sa(s[i])), !a);
1426
1426
  }
1427
- if (E.isFormData(e) && E.isFunction(e.entries)) {
1427
+ if (g.isFormData(e) && g.isFunction(e.entries)) {
1428
1428
  const n = {};
1429
- return E.forEachEntry(e, (r, s) => {
1429
+ return g.forEachEntry(e, (r, s) => {
1430
1430
  t(Oa(r), s, n, 0);
1431
1431
  }), n;
1432
1432
  }
1433
1433
  return null;
1434
1434
  }
1435
1435
  function Ta(e, t, n) {
1436
- if (E.isString(e))
1436
+ if (g.isString(e))
1437
1437
  try {
1438
- return (t || JSON.parse)(e), E.trim(e);
1438
+ return (t || JSON.parse)(e), g.trim(e);
1439
1439
  } catch (r) {
1440
1440
  if (r.name !== "SyntaxError")
1441
1441
  throw r;
@@ -1447,20 +1447,20 @@ const Tt = {
1447
1447
  adapter: ["xhr", "http", "fetch"],
1448
1448
  transformRequest: [
1449
1449
  function(t, n) {
1450
- const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = E.isObject(t);
1451
- if (o && E.isHTMLForm(t) && (t = new FormData(t)), E.isFormData(t))
1450
+ const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = g.isObject(t);
1451
+ if (o && g.isHTMLForm(t) && (t = new FormData(t)), g.isFormData(t))
1452
1452
  return s ? JSON.stringify(zs(t)) : t;
1453
- if (E.isArrayBuffer(t) || E.isBuffer(t) || E.isStream(t) || E.isFile(t) || E.isBlob(t) || E.isReadableStream(t))
1453
+ if (g.isArrayBuffer(t) || g.isBuffer(t) || g.isStream(t) || g.isFile(t) || g.isBlob(t) || g.isReadableStream(t))
1454
1454
  return t;
1455
- if (E.isArrayBufferView(t))
1455
+ if (g.isArrayBufferView(t))
1456
1456
  return t.buffer;
1457
- if (E.isURLSearchParams(t))
1457
+ if (g.isURLSearchParams(t))
1458
1458
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
1459
1459
  let a;
1460
1460
  if (o) {
1461
1461
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
1462
1462
  return Na(t, this.formSerializer).toString();
1463
- if ((a = E.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
1463
+ if ((a = g.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
1464
1464
  const c = this.env && this.env.FormData;
1465
1465
  return an(
1466
1466
  a ? { "files[]": t } : t,
@@ -1475,9 +1475,9 @@ const Tt = {
1475
1475
  transformResponse: [
1476
1476
  function(t) {
1477
1477
  const n = this.transitional || Tt.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
1478
- if (E.isResponse(t) || E.isReadableStream(t))
1478
+ if (g.isResponse(t) || g.isReadableStream(t))
1479
1479
  return t;
1480
- if (t && E.isString(t) && (r && !this.responseType || s)) {
1480
+ if (t && g.isString(t) && (r && !this.responseType || s)) {
1481
1481
  const i = !(n && n.silentJSONParsing) && s;
1482
1482
  try {
1483
1483
  return JSON.parse(t, this.parseReviver);
@@ -1512,10 +1512,10 @@ const Tt = {
1512
1512
  }
1513
1513
  }
1514
1514
  };
1515
- E.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
1515
+ g.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
1516
1516
  Tt.headers[e] = {};
1517
1517
  });
1518
- const Aa = E.toObjectSet([
1518
+ const Aa = g.toObjectSet([
1519
1519
  "age",
1520
1520
  "authorization",
1521
1521
  "content-length",
@@ -1545,7 +1545,7 @@ function dt(e) {
1545
1545
  return e && String(e).trim().toLowerCase();
1546
1546
  }
1547
1547
  function Ft(e) {
1548
- return e === !1 || e == null ? e : E.isArray(e) ? e.map(Ft) : String(e);
1548
+ return e === !1 || e == null ? e : g.isArray(e) ? e.map(Ft) : String(e);
1549
1549
  }
1550
1550
  function Ra(e) {
1551
1551
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -1556,12 +1556,12 @@ function Ra(e) {
1556
1556
  }
1557
1557
  const va = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1558
1558
  function An(e, t, n, r, s) {
1559
- if (E.isFunction(r))
1559
+ if (g.isFunction(r))
1560
1560
  return r.call(this, t, n);
1561
- if (s && (t = n), !!E.isString(t)) {
1562
- if (E.isString(r))
1561
+ if (s && (t = n), !!g.isString(t)) {
1562
+ if (g.isString(r))
1563
1563
  return t.indexOf(r) !== -1;
1564
- if (E.isRegExp(r))
1564
+ if (g.isRegExp(r))
1565
1565
  return r.test(t);
1566
1566
  }
1567
1567
  }
@@ -1569,7 +1569,7 @@ function Ca(e) {
1569
1569
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
1570
1570
  }
1571
1571
  function Ia(e, t) {
1572
- const n = E.toCamelCase(" " + t);
1572
+ const n = g.toCamelCase(" " + t);
1573
1573
  ["get", "set", "has"].forEach((r) => {
1574
1574
  Object.defineProperty(e, r + n, {
1575
1575
  value: function(s, o, i) {
@@ -1585,24 +1585,24 @@ let fe = class {
1585
1585
  }
1586
1586
  set(t, n, r) {
1587
1587
  const s = this;
1588
- function o(a, c, f) {
1589
- const u = dt(c);
1590
- if (!u)
1588
+ function o(a, c, u) {
1589
+ const f = dt(c);
1590
+ if (!f)
1591
1591
  throw new Error("header name must be a non-empty string");
1592
- const p = E.findKey(s, u);
1593
- (!p || s[p] === void 0 || f === !0 || f === void 0 && s[p] !== !1) && (s[p || c] = Ft(a));
1592
+ const p = g.findKey(s, f);
1593
+ (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || c] = Ft(a));
1594
1594
  }
1595
- const i = (a, c) => E.forEach(a, (f, u) => o(f, u, c));
1596
- if (E.isPlainObject(t) || t instanceof this.constructor)
1595
+ const i = (a, c) => g.forEach(a, (u, f) => o(u, f, c));
1596
+ if (g.isPlainObject(t) || t instanceof this.constructor)
1597
1597
  i(t, n);
1598
- else if (E.isString(t) && (t = t.trim()) && !va(t))
1598
+ else if (g.isString(t) && (t = t.trim()) && !va(t))
1599
1599
  i(La(t), n);
1600
- else if (E.isObject(t) && E.isIterable(t)) {
1601
- let a = {}, c, f;
1602
- for (const u of t) {
1603
- if (!E.isArray(u))
1600
+ else if (g.isObject(t) && g.isIterable(t)) {
1601
+ let a = {}, c, u;
1602
+ for (const f of t) {
1603
+ if (!g.isArray(f))
1604
1604
  throw TypeError("Object iterator must return a key-value pair");
1605
- a[f = u[0]] = (c = a[f]) ? E.isArray(c) ? [...c, u[1]] : [c, u[1]] : u[1];
1605
+ a[u = f[0]] = (c = a[u]) ? g.isArray(c) ? [...c, f[1]] : [c, f[1]] : f[1];
1606
1606
  }
1607
1607
  i(a, n);
1608
1608
  } else
@@ -1611,16 +1611,16 @@ let fe = class {
1611
1611
  }
1612
1612
  get(t, n) {
1613
1613
  if (t = dt(t), t) {
1614
- const r = E.findKey(this, t);
1614
+ const r = g.findKey(this, t);
1615
1615
  if (r) {
1616
1616
  const s = this[r];
1617
1617
  if (!n)
1618
1618
  return s;
1619
1619
  if (n === !0)
1620
1620
  return Ra(s);
1621
- if (E.isFunction(n))
1621
+ if (g.isFunction(n))
1622
1622
  return n.call(this, s, r);
1623
- if (E.isRegExp(n))
1623
+ if (g.isRegExp(n))
1624
1624
  return n.exec(s);
1625
1625
  throw new TypeError("parser must be boolean|regexp|function");
1626
1626
  }
@@ -1628,7 +1628,7 @@ let fe = class {
1628
1628
  }
1629
1629
  has(t, n) {
1630
1630
  if (t = dt(t), t) {
1631
- const r = E.findKey(this, t);
1631
+ const r = g.findKey(this, t);
1632
1632
  return !!(r && this[r] !== void 0 && (!n || An(this, this[r], r, n)));
1633
1633
  }
1634
1634
  return !1;
@@ -1638,11 +1638,11 @@ let fe = class {
1638
1638
  let s = !1;
1639
1639
  function o(i) {
1640
1640
  if (i = dt(i), i) {
1641
- const a = E.findKey(r, i);
1641
+ const a = g.findKey(r, i);
1642
1642
  a && (!n || An(r, r[a], a, n)) && (delete r[a], s = !0);
1643
1643
  }
1644
1644
  }
1645
- return E.isArray(t) ? t.forEach(o) : o(t), s;
1645
+ return g.isArray(t) ? t.forEach(o) : o(t), s;
1646
1646
  }
1647
1647
  clear(t) {
1648
1648
  const n = Object.keys(this);
@@ -1655,8 +1655,8 @@ let fe = class {
1655
1655
  }
1656
1656
  normalize(t) {
1657
1657
  const n = this, r = {};
1658
- return E.forEach(this, (s, o) => {
1659
- const i = E.findKey(r, o);
1658
+ return g.forEach(this, (s, o) => {
1659
+ const i = g.findKey(r, o);
1660
1660
  if (i) {
1661
1661
  n[i] = Ft(s), delete n[o];
1662
1662
  return;
@@ -1670,8 +1670,8 @@ let fe = class {
1670
1670
  }
1671
1671
  toJSON(t) {
1672
1672
  const n = /* @__PURE__ */ Object.create(null);
1673
- return E.forEach(this, (r, s) => {
1674
- r != null && r !== !1 && (n[s] = t && E.isArray(r) ? r.join(", ") : r);
1673
+ return g.forEach(this, (r, s) => {
1674
+ r != null && r !== !1 && (n[s] = t && g.isArray(r) ? r.join(", ") : r);
1675
1675
  }), n;
1676
1676
  }
1677
1677
  [Symbol.iterator]() {
@@ -1702,7 +1702,7 @@ let fe = class {
1702
1702
  const a = dt(i);
1703
1703
  r[a] || (Ia(s, i), r[a] = !0);
1704
1704
  }
1705
- return E.isArray(t) ? t.forEach(o) : o(t), this;
1705
+ return g.isArray(t) ? t.forEach(o) : o(t), this;
1706
1706
  }
1707
1707
  };
1708
1708
  fe.accessor([
@@ -1713,7 +1713,7 @@ fe.accessor([
1713
1713
  "User-Agent",
1714
1714
  "Authorization"
1715
1715
  ]);
1716
- E.reduceDescriptors(fe.prototype, ({ value: e }, t) => {
1716
+ g.reduceDescriptors(fe.prototype, ({ value: e }, t) => {
1717
1717
  let n = t[0].toUpperCase() + t.slice(1);
1718
1718
  return {
1719
1719
  get: () => e,
@@ -1722,11 +1722,11 @@ E.reduceDescriptors(fe.prototype, ({ value: e }, t) => {
1722
1722
  }
1723
1723
  };
1724
1724
  });
1725
- E.freezeMethods(fe);
1725
+ g.freezeMethods(fe);
1726
1726
  function Ln(e, t) {
1727
1727
  const n = this || Tt, r = t || n, s = fe.from(r.headers);
1728
1728
  let o = r.data;
1729
- return E.forEach(e, function(a) {
1729
+ return g.forEach(e, function(a) {
1730
1730
  o = a.call(n, o, s.normalize(), t ? t.status : void 0);
1731
1731
  }), s.normalize(), o;
1732
1732
  }
@@ -1768,25 +1768,25 @@ function wa(e, t) {
1768
1768
  const n = new Array(e), r = new Array(e);
1769
1769
  let s = 0, o = 0, i;
1770
1770
  return t = t !== void 0 ? t : 1e3, function(c) {
1771
- const f = Date.now(), u = r[o];
1772
- i || (i = f), n[s] = c, r[s] = f;
1773
- let p = o, _ = 0;
1771
+ const u = Date.now(), f = r[o];
1772
+ i || (i = u), n[s] = c, r[s] = u;
1773
+ let p = o, m = 0;
1774
1774
  for (; p !== s; )
1775
- _ += n[p++], p = p % e;
1776
- if (s = (s + 1) % e, s === o && (o = (o + 1) % e), f - i < t)
1775
+ m += n[p++], p = p % e;
1776
+ if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
1777
1777
  return;
1778
- const L = u && f - u;
1779
- return L ? Math.round(_ * 1e3 / L) : void 0;
1778
+ const L = f && u - f;
1779
+ return L ? Math.round(m * 1e3 / L) : void 0;
1780
1780
  };
1781
1781
  }
1782
1782
  function Da(e, t) {
1783
1783
  let n = 0, r = 1e3 / t, s, o;
1784
- const i = (f, u = Date.now()) => {
1785
- n = u, s = null, o && (clearTimeout(o), o = null), e(...f);
1784
+ const i = (u, f = Date.now()) => {
1785
+ n = f, s = null, o && (clearTimeout(o), o = null), e(...u);
1786
1786
  };
1787
- return [(...f) => {
1788
- const u = Date.now(), p = u - n;
1789
- p >= r ? i(f, u) : (s = f, o || (o = setTimeout(() => {
1787
+ return [(...u) => {
1788
+ const f = Date.now(), p = f - n;
1789
+ p >= r ? i(u, f) : (s = u, o || (o = setTimeout(() => {
1790
1790
  o = null, i(s);
1791
1791
  }, r - p)));
1792
1792
  }, () => s && i(s)];
@@ -1795,15 +1795,15 @@ const Ht = (e, t, n = 3) => {
1795
1795
  let r = 0;
1796
1796
  const s = wa(50, 250);
1797
1797
  return Da((o) => {
1798
- const i = o.loaded, a = o.lengthComputable ? o.total : void 0, c = i - r, f = s(c), u = i <= a;
1798
+ const i = o.loaded, a = o.lengthComputable ? o.total : void 0, c = i - r, u = s(c), f = i <= a;
1799
1799
  r = i;
1800
1800
  const p = {
1801
1801
  loaded: i,
1802
1802
  total: a,
1803
1803
  progress: a ? i / a : void 0,
1804
1804
  bytes: c,
1805
- rate: f || void 0,
1806
- estimated: f && a && u ? (a - i) / f : void 0,
1805
+ rate: u || void 0,
1806
+ estimated: u && a && f ? (a - i) / u : void 0,
1807
1807
  event: o,
1808
1808
  lengthComputable: a != null,
1809
1809
  [t ? "download" : "upload"]: !0
@@ -1820,7 +1820,7 @@ const Ht = (e, t, n = 3) => {
1820
1820
  }),
1821
1821
  t[1]
1822
1822
  ];
1823
- }, jr = (e) => (...t) => E.asap(() => e(...t)), ka = ce.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, ce.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1823
+ }, jr = (e) => (...t) => g.asap(() => e(...t)), ka = ce.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, ce.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1824
1824
  new URL(ce.origin),
1825
1825
  ce.navigator && /(msie|trident)/i.test(ce.navigator.userAgent)
1826
1826
  ) : () => !0, Fa = ce.hasStandardBrowserEnv ? (
@@ -1829,7 +1829,7 @@ const Ht = (e, t, n = 3) => {
1829
1829
  write(e, t, n, r, s, o, i) {
1830
1830
  if (typeof document > "u") return;
1831
1831
  const a = [`${e}=${encodeURIComponent(t)}`];
1832
- E.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), E.isString(r) && a.push(`path=${r}`), E.isString(s) && a.push(`domain=${s}`), o === !0 && a.push("secure"), E.isString(i) && a.push(`SameSite=${i}`), document.cookie = a.join("; ");
1832
+ g.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), g.isString(r) && a.push(`path=${r}`), g.isString(s) && a.push(`domain=${s}`), o === !0 && a.push("secure"), g.isString(i) && a.push(`SameSite=${i}`), document.cookie = a.join("; ");
1833
1833
  },
1834
1834
  read(e) {
1835
1835
  if (typeof document > "u") return null;
@@ -1866,30 +1866,30 @@ const Hr = (e) => e instanceof fe ? { ...e } : e;
1866
1866
  function Xe(e, t) {
1867
1867
  t = t || {};
1868
1868
  const n = {};
1869
- function r(f, u, p, _) {
1870
- return E.isPlainObject(f) && E.isPlainObject(u) ? E.merge.call({ caseless: _ }, f, u) : E.isPlainObject(u) ? E.merge({}, u) : E.isArray(u) ? u.slice() : u;
1869
+ function r(u, f, p, m) {
1870
+ return g.isPlainObject(u) && g.isPlainObject(f) ? g.merge.call({ caseless: m }, u, f) : g.isPlainObject(f) ? g.merge({}, f) : g.isArray(f) ? f.slice() : f;
1871
1871
  }
1872
- function s(f, u, p, _) {
1873
- if (E.isUndefined(u)) {
1874
- if (!E.isUndefined(f))
1875
- return r(void 0, f, p, _);
1876
- } else return r(f, u, p, _);
1872
+ function s(u, f, p, m) {
1873
+ if (g.isUndefined(f)) {
1874
+ if (!g.isUndefined(u))
1875
+ return r(void 0, u, p, m);
1876
+ } else return r(u, f, p, m);
1877
1877
  }
1878
- function o(f, u) {
1879
- if (!E.isUndefined(u))
1880
- return r(void 0, u);
1878
+ function o(u, f) {
1879
+ if (!g.isUndefined(f))
1880
+ return r(void 0, f);
1881
1881
  }
1882
- function i(f, u) {
1883
- if (E.isUndefined(u)) {
1884
- if (!E.isUndefined(f))
1885
- return r(void 0, f);
1886
- } else return r(void 0, u);
1882
+ function i(u, f) {
1883
+ if (g.isUndefined(f)) {
1884
+ if (!g.isUndefined(u))
1885
+ return r(void 0, u);
1886
+ } else return r(void 0, f);
1887
1887
  }
1888
- function a(f, u, p) {
1888
+ function a(u, f, p) {
1889
1889
  if (p in t)
1890
- return r(f, u);
1890
+ return r(u, f);
1891
1891
  if (p in e)
1892
- return r(void 0, f);
1892
+ return r(void 0, u);
1893
1893
  }
1894
1894
  const c = {
1895
1895
  url: o,
@@ -1920,12 +1920,12 @@ function Xe(e, t) {
1920
1920
  socketPath: i,
1921
1921
  responseEncoding: i,
1922
1922
  validateStatus: a,
1923
- headers: (f, u, p) => s(Hr(f), Hr(u), p, !0)
1923
+ headers: (u, f, p) => s(Hr(u), Hr(f), p, !0)
1924
1924
  };
1925
- return E.forEach(Object.keys({ ...e, ...t }), function(u) {
1926
- if (u === "__proto__" || u === "constructor" || u === "prototype") return;
1927
- const p = E.hasOwnProp(c, u) ? c[u] : s, _ = p(e[u], t[u], u);
1928
- E.isUndefined(_) && p !== a || (n[u] = _);
1925
+ return g.forEach(Object.keys({ ...e, ...t }), function(f) {
1926
+ if (f === "__proto__" || f === "constructor" || f === "prototype") return;
1927
+ const p = g.hasOwnProp(c, f) ? c[f] : s, m = p(e[f], t[f], f);
1928
+ g.isUndefined(m) && p !== a || (n[f] = m);
1929
1929
  }), n;
1930
1930
  }
1931
1931
  const no = (e) => {
@@ -1940,17 +1940,17 @@ const no = (e) => {
1940
1940
  "Basic " + btoa(
1941
1941
  (a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : "")
1942
1942
  )
1943
- ), E.isFormData(n)) {
1943
+ ), g.isFormData(n)) {
1944
1944
  if (ce.hasStandardBrowserEnv || ce.hasStandardBrowserWebWorkerEnv)
1945
1945
  i.setContentType(void 0);
1946
- else if (E.isFunction(n.getHeaders)) {
1947
- const c = n.getHeaders(), f = ["content-type", "content-length"];
1948
- Object.entries(c).forEach(([u, p]) => {
1949
- f.includes(u.toLowerCase()) && i.set(u, p);
1946
+ else if (g.isFunction(n.getHeaders)) {
1947
+ const c = n.getHeaders(), u = ["content-type", "content-length"];
1948
+ Object.entries(c).forEach(([f, p]) => {
1949
+ u.includes(f.toLowerCase()) && i.set(f, p);
1950
1950
  });
1951
1951
  }
1952
1952
  }
1953
- if (ce.hasStandardBrowserEnv && (r && E.isFunction(r) && (r = r(t)), r || r !== !1 && ka(t.url))) {
1953
+ if (ce.hasStandardBrowserEnv && (r && g.isFunction(r) && (r = r(t)), r || r !== !1 && ka(t.url))) {
1954
1954
  const c = s && o && Fa.read(o);
1955
1955
  c && i.set(s, c);
1956
1956
  }
@@ -1960,13 +1960,13 @@ const no = (e) => {
1960
1960
  const s = no(e);
1961
1961
  let o = s.data;
1962
1962
  const i = fe.from(s.headers).normalize();
1963
- let { responseType: a, onUploadProgress: c, onDownloadProgress: f } = s, u, p, _, L, g;
1963
+ let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = s, f, p, m, L, E;
1964
1964
  function b() {
1965
- L && L(), g && g(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
1965
+ L && L(), E && E(), s.cancelToken && s.cancelToken.unsubscribe(f), s.signal && s.signal.removeEventListener("abort", f);
1966
1966
  }
1967
1967
  let N = new XMLHttpRequest();
1968
1968
  N.open(s.method.toUpperCase(), s.url, !0), N.timeout = s.timeout;
1969
- function m() {
1969
+ function _() {
1970
1970
  if (!N)
1971
1971
  return;
1972
1972
  const T = fe.from(
@@ -1989,8 +1989,8 @@ const no = (e) => {
1989
1989
  v
1990
1990
  ), N = null;
1991
1991
  }
1992
- "onloadend" in N ? N.onloadend = m : N.onreadystatechange = function() {
1993
- !N || N.readyState !== 4 || N.status === 0 && !(N.responseURL && N.responseURL.indexOf("file:") === 0) || setTimeout(m);
1992
+ "onloadend" in N ? N.onloadend = _ : N.onreadystatechange = function() {
1993
+ !N || N.readyState !== 4 || N.status === 0 && !(N.responseURL && N.responseURL.indexOf("file:") === 0) || setTimeout(_);
1994
1994
  }, N.onabort = function() {
1995
1995
  N && (r(new U("Request aborted", U.ECONNABORTED, e, N)), N = null);
1996
1996
  }, N.onerror = function(y) {
@@ -2007,11 +2007,11 @@ const no = (e) => {
2007
2007
  N
2008
2008
  )
2009
2009
  ), N = null;
2010
- }, o === void 0 && i.setContentType(null), "setRequestHeader" in N && E.forEach(i.toJSON(), function(y, v) {
2010
+ }, o === void 0 && i.setContentType(null), "setRequestHeader" in N && g.forEach(i.toJSON(), function(y, v) {
2011
2011
  N.setRequestHeader(v, y);
2012
- }), E.isUndefined(s.withCredentials) || (N.withCredentials = !!s.withCredentials), a && a !== "json" && (N.responseType = s.responseType), f && ([_, g] = Ht(f, !0), N.addEventListener("progress", _)), c && N.upload && ([p, L] = Ht(c), N.upload.addEventListener("progress", p), N.upload.addEventListener("loadend", L)), (s.cancelToken || s.signal) && (u = (T) => {
2012
+ }), g.isUndefined(s.withCredentials) || (N.withCredentials = !!s.withCredentials), a && a !== "json" && (N.responseType = s.responseType), u && ([m, E] = Ht(u, !0), N.addEventListener("progress", m)), c && N.upload && ([p, L] = Ht(c), N.upload.addEventListener("progress", p), N.upload.addEventListener("loadend", L)), (s.cancelToken || s.signal) && (f = (T) => {
2013
2013
  N && (r(!T || T.type ? new At(null, e, N) : T), N.abort(), N = null);
2014
- }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
2014
+ }, s.cancelToken && s.cancelToken.subscribe(f), s.signal && (s.signal.aborted ? f() : s.signal.addEventListener("abort", f)));
2015
2015
  const O = Pa(s.url);
2016
2016
  if (O && ce.protocols.indexOf(O) === -1) {
2017
2017
  r(
@@ -2029,12 +2029,12 @@ const no = (e) => {
2029
2029
  const { length: n } = e = e ? e.filter(Boolean) : [];
2030
2030
  if (t || n) {
2031
2031
  let r = new AbortController(), s;
2032
- const o = function(f) {
2032
+ const o = function(u) {
2033
2033
  if (!s) {
2034
2034
  s = !0, a();
2035
- const u = f instanceof Error ? f : this.reason;
2035
+ const f = u instanceof Error ? u : this.reason;
2036
2036
  r.abort(
2037
- u instanceof U ? u : new At(u instanceof Error ? u.message : u)
2037
+ f instanceof U ? f : new At(f instanceof Error ? f.message : f)
2038
2038
  );
2039
2039
  }
2040
2040
  };
@@ -2042,13 +2042,13 @@ const no = (e) => {
2042
2042
  i = null, o(new U(`timeout of ${t}ms exceeded`, U.ETIMEDOUT));
2043
2043
  }, t);
2044
2044
  const a = () => {
2045
- e && (i && clearTimeout(i), i = null, e.forEach((f) => {
2046
- f.unsubscribe ? f.unsubscribe(o) : f.removeEventListener("abort", o);
2045
+ e && (i && clearTimeout(i), i = null, e.forEach((u) => {
2046
+ u.unsubscribe ? u.unsubscribe(o) : u.removeEventListener("abort", o);
2047
2047
  }), e = null);
2048
2048
  };
2049
- e.forEach((f) => f.addEventListener("abort", o));
2049
+ e.forEach((u) => u.addEventListener("abort", o));
2050
2050
  const { signal: c } = r;
2051
- return c.unsubscribe = () => E.asap(a), c;
2051
+ return c.unsubscribe = () => g.asap(a), c;
2052
2052
  }
2053
2053
  }, Ba = function* (e, t) {
2054
2054
  let n = e.byteLength;
@@ -2087,19 +2087,19 @@ const no = (e) => {
2087
2087
  {
2088
2088
  async pull(c) {
2089
2089
  try {
2090
- const { done: f, value: u } = await s.next();
2091
- if (f) {
2090
+ const { done: u, value: f } = await s.next();
2091
+ if (u) {
2092
2092
  a(), c.close();
2093
2093
  return;
2094
2094
  }
2095
- let p = u.byteLength;
2095
+ let p = f.byteLength;
2096
2096
  if (n) {
2097
- let _ = o += p;
2098
- n(_);
2097
+ let m = o += p;
2098
+ n(m);
2099
2099
  }
2100
- c.enqueue(new Uint8Array(u));
2101
- } catch (f) {
2102
- throw a(f), f;
2100
+ c.enqueue(new Uint8Array(f));
2101
+ } catch (u) {
2102
+ throw a(u), u;
2103
2103
  }
2104
2104
  },
2105
2105
  cancel(c) {
@@ -2110,17 +2110,17 @@ const no = (e) => {
2110
2110
  highWaterMark: 2
2111
2111
  }
2112
2112
  );
2113
- }, Wr = 64 * 1024, { isFunction: Ct } = E, qa = (({ Request: e, Response: t }) => ({
2113
+ }, Wr = 64 * 1024, { isFunction: Ct } = g, qa = (({ Request: e, Response: t }) => ({
2114
2114
  Request: e,
2115
2115
  Response: t
2116
- }))(E.global), { ReadableStream: Gr, TextEncoder: Yr } = E.global, Kr = (e, ...t) => {
2116
+ }))(g.global), { ReadableStream: Gr, TextEncoder: Yr } = g.global, Kr = (e, ...t) => {
2117
2117
  try {
2118
2118
  return !!e(...t);
2119
2119
  } catch {
2120
2120
  return !1;
2121
2121
  }
2122
2122
  }, Wa = (e) => {
2123
- e = E.merge.call(
2123
+ e = g.merge.call(
2124
2124
  {
2125
2125
  skipUndefined: !0
2126
2126
  },
@@ -2130,54 +2130,54 @@ const no = (e) => {
2130
2130
  const { fetch: t, Request: n, Response: r } = e, s = t ? Ct(t) : typeof fetch == "function", o = Ct(n), i = Ct(r);
2131
2131
  if (!s)
2132
2132
  return !1;
2133
- const a = s && Ct(Gr), c = s && (typeof Yr == "function" ? /* @__PURE__ */ ((g) => (b) => g.encode(b))(new Yr()) : async (g) => new Uint8Array(await new n(g).arrayBuffer())), f = o && a && Kr(() => {
2134
- let g = !1;
2133
+ const a = s && Ct(Gr), c = s && (typeof Yr == "function" ? /* @__PURE__ */ ((E) => (b) => E.encode(b))(new Yr()) : async (E) => new Uint8Array(await new n(E).arrayBuffer())), u = o && a && Kr(() => {
2134
+ let E = !1;
2135
2135
  const b = new n(ce.origin, {
2136
2136
  body: new Gr(),
2137
2137
  method: "POST",
2138
2138
  get duplex() {
2139
- return g = !0, "half";
2139
+ return E = !0, "half";
2140
2140
  }
2141
2141
  }).headers.has("Content-Type");
2142
- return g && !b;
2143
- }), u = i && a && Kr(() => E.isReadableStream(new r("").body)), p = {
2144
- stream: u && ((g) => g.body)
2142
+ return E && !b;
2143
+ }), f = i && a && Kr(() => g.isReadableStream(new r("").body)), p = {
2144
+ stream: f && ((E) => E.body)
2145
2145
  };
2146
- s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
2147
- !p[g] && (p[g] = (b, N) => {
2148
- let m = b && b[g];
2149
- if (m)
2150
- return m.call(b);
2146
+ s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((E) => {
2147
+ !p[E] && (p[E] = (b, N) => {
2148
+ let _ = b && b[E];
2149
+ if (_)
2150
+ return _.call(b);
2151
2151
  throw new U(
2152
- `Response type '${g}' is not supported`,
2152
+ `Response type '${E}' is not supported`,
2153
2153
  U.ERR_NOT_SUPPORT,
2154
2154
  N
2155
2155
  );
2156
2156
  });
2157
2157
  });
2158
- const _ = async (g) => {
2159
- if (g == null)
2158
+ const m = async (E) => {
2159
+ if (E == null)
2160
2160
  return 0;
2161
- if (E.isBlob(g))
2162
- return g.size;
2163
- if (E.isSpecCompliantForm(g))
2161
+ if (g.isBlob(E))
2162
+ return E.size;
2163
+ if (g.isSpecCompliantForm(E))
2164
2164
  return (await new n(ce.origin, {
2165
2165
  method: "POST",
2166
- body: g
2166
+ body: E
2167
2167
  }).arrayBuffer()).byteLength;
2168
- if (E.isArrayBufferView(g) || E.isArrayBuffer(g))
2169
- return g.byteLength;
2170
- if (E.isURLSearchParams(g) && (g = g + ""), E.isString(g))
2171
- return (await c(g)).byteLength;
2172
- }, L = async (g, b) => {
2173
- const N = E.toFiniteNumber(g.getContentLength());
2174
- return N ?? _(b);
2168
+ if (g.isArrayBufferView(E) || g.isArrayBuffer(E))
2169
+ return E.byteLength;
2170
+ if (g.isURLSearchParams(E) && (E = E + ""), g.isString(E))
2171
+ return (await c(E)).byteLength;
2172
+ }, L = async (E, b) => {
2173
+ const N = g.toFiniteNumber(E.getContentLength());
2174
+ return N ?? m(b);
2175
2175
  };
2176
- return async (g) => {
2176
+ return async (E) => {
2177
2177
  let {
2178
2178
  url: b,
2179
2179
  method: N,
2180
- data: m,
2180
+ data: _,
2181
2181
  signal: O,
2182
2182
  cancelToken: T,
2183
2183
  timeout: y,
@@ -2187,7 +2187,7 @@ const no = (e) => {
2187
2187
  headers: x,
2188
2188
  withCredentials: M = "same-origin",
2189
2189
  fetchOptions: I
2190
- } = no(g), P = t || fetch;
2190
+ } = no(E), P = t || fetch;
2191
2191
  h = h ? (h + "").toLowerCase() : "text";
2192
2192
  let k = $a(
2193
2193
  [O, T && T.toAbortSignal()],
@@ -2198,39 +2198,39 @@ const no = (e) => {
2198
2198
  });
2199
2199
  let Ne;
2200
2200
  try {
2201
- if (C && f && N !== "get" && N !== "head" && (Ne = await L(x, m)) !== 0) {
2201
+ if (C && u && N !== "get" && N !== "head" && (Ne = await L(x, _)) !== 0) {
2202
2202
  let le = new n(b, {
2203
2203
  method: "POST",
2204
- body: m,
2204
+ body: _,
2205
2205
  duplex: "half"
2206
2206
  }), Oe;
2207
- if (E.isFormData(m) && (Oe = le.headers.get("content-type")) && x.setContentType(Oe), le.body) {
2207
+ if (g.isFormData(_) && (Oe = le.headers.get("content-type")) && x.setContentType(Oe), le.body) {
2208
2208
  const [Ve, Fe] = Br(
2209
2209
  Ne,
2210
2210
  Ht(jr(C))
2211
2211
  );
2212
- m = qr(le.body, Wr, Ve, Fe);
2212
+ _ = qr(le.body, Wr, Ve, Fe);
2213
2213
  }
2214
2214
  }
2215
- E.isString(M) || (M = M ? "include" : "omit");
2215
+ g.isString(M) || (M = M ? "include" : "omit");
2216
2216
  const z = o && "credentials" in n.prototype, ke = {
2217
2217
  ...I,
2218
2218
  signal: k,
2219
2219
  method: N.toUpperCase(),
2220
2220
  headers: x.normalize().toJSON(),
2221
- body: m,
2221
+ body: _,
2222
2222
  duplex: "half",
2223
2223
  credentials: z ? M : void 0
2224
2224
  };
2225
2225
  q = o && new n(b, ke);
2226
2226
  let ee = await (o ? P(q, I) : P(b, ke));
2227
- const Z = u && (h === "stream" || h === "response");
2228
- if (u && (v || Z && se)) {
2227
+ const Z = f && (h === "stream" || h === "response");
2228
+ if (f && (v || Z && se)) {
2229
2229
  const le = {};
2230
2230
  ["status", "statusText", "headers"].forEach((Qe) => {
2231
2231
  le[Qe] = ee[Qe];
2232
2232
  });
2233
- const Oe = E.toFiniteNumber(ee.headers.get("content-length")), [Ve, Fe] = v && Br(
2233
+ const Oe = g.toFiniteNumber(ee.headers.get("content-length")), [Ve, Fe] = v && Br(
2234
2234
  Oe,
2235
2235
  Ht(jr(v), !0)
2236
2236
  ) || [];
@@ -2242,9 +2242,9 @@ const no = (e) => {
2242
2242
  );
2243
2243
  }
2244
2244
  h = h || "text";
2245
- let ge = await p[E.findKey(p, h) || "text"](
2245
+ let ge = await p[g.findKey(p, h) || "text"](
2246
2246
  ee,
2247
- g
2247
+ E
2248
2248
  );
2249
2249
  return !Z && se && se(), await new Promise((le, Oe) => {
2250
2250
  eo(le, Oe, {
@@ -2252,7 +2252,7 @@ const no = (e) => {
2252
2252
  headers: fe.from(ee.headers),
2253
2253
  status: ee.status,
2254
2254
  statusText: ee.statusText,
2255
- config: g,
2255
+ config: E,
2256
2256
  request: q
2257
2257
  });
2258
2258
  });
@@ -2261,23 +2261,23 @@ const no = (e) => {
2261
2261
  new U(
2262
2262
  "Network Error",
2263
2263
  U.ERR_NETWORK,
2264
- g,
2264
+ E,
2265
2265
  q,
2266
2266
  z && z.response
2267
2267
  ),
2268
2268
  {
2269
2269
  cause: z.cause || z
2270
2270
  }
2271
- ) : U.from(z, z && z.code, g, q, z && z.response);
2271
+ ) : U.from(z, z && z.code, E, q, z && z.response);
2272
2272
  }
2273
2273
  };
2274
2274
  }, Ga = /* @__PURE__ */ new Map(), ro = (e) => {
2275
2275
  let t = e && e.env || {};
2276
2276
  const { fetch: n, Request: r, Response: s } = t, o = [r, s, n];
2277
- let i = o.length, a = i, c, f, u = Ga;
2277
+ let i = o.length, a = i, c, u, f = Ga;
2278
2278
  for (; a--; )
2279
- c = o[a], f = u.get(c), f === void 0 && u.set(c, f = a ? /* @__PURE__ */ new Map() : Wa(t)), u = f;
2280
- return f;
2279
+ c = o[a], u = f.get(c), u === void 0 && f.set(c, u = a ? /* @__PURE__ */ new Map() : Wa(t)), f = u;
2280
+ return u;
2281
2281
  };
2282
2282
  ro();
2283
2283
  const fr = {
@@ -2287,7 +2287,7 @@ const fr = {
2287
2287
  get: ro
2288
2288
  }
2289
2289
  };
2290
- E.forEach(fr, (e, t) => {
2290
+ g.forEach(fr, (e, t) => {
2291
2291
  if (e) {
2292
2292
  try {
2293
2293
  Object.defineProperty(e, "name", { value: t });
@@ -2296,9 +2296,9 @@ E.forEach(fr, (e, t) => {
2296
2296
  Object.defineProperty(e, "adapterName", { value: t });
2297
2297
  }
2298
2298
  });
2299
- const Xr = (e) => `- ${e}`, Ya = (e) => E.isFunction(e) || e === null || e === !1;
2299
+ const Xr = (e) => `- ${e}`, Ya = (e) => g.isFunction(e) || e === null || e === !1;
2300
2300
  function Ka(e, t) {
2301
- e = E.isArray(e) ? e : [e];
2301
+ e = g.isArray(e) ? e : [e];
2302
2302
  const { length: n } = e;
2303
2303
  let r, s;
2304
2304
  const o = {};
@@ -2307,13 +2307,13 @@ function Ka(e, t) {
2307
2307
  let a;
2308
2308
  if (s = r, !Ya(r) && (s = fr[(a = String(r)).toLowerCase()], s === void 0))
2309
2309
  throw new U(`Unknown adapter '${a}'`);
2310
- if (s && (E.isFunction(s) || (s = s.get(t))))
2310
+ if (s && (g.isFunction(s) || (s = s.get(t))))
2311
2311
  break;
2312
2312
  o[a || "#" + i] = s;
2313
2313
  }
2314
2314
  if (!s) {
2315
2315
  const i = Object.entries(o).map(
2316
- ([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
2316
+ ([c, u]) => `adapter ${c} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
2317
2317
  );
2318
2318
  let a = n ? i.length > 1 ? `since :
2319
2319
  ` + i.map(Xr).join(`
@@ -2451,7 +2451,7 @@ let Ye = class {
2451
2451
  legacyInterceptorReqResOrdering: me.transitional(me.boolean)
2452
2452
  },
2453
2453
  !1
2454
- ), s != null && (E.isFunction(s) ? n.paramsSerializer = {
2454
+ ), s != null && (g.isFunction(s) ? n.paramsSerializer = {
2455
2455
  serialize: s
2456
2456
  } : Ut.assertOptions(
2457
2457
  s,
@@ -2468,9 +2468,9 @@ let Ye = class {
2468
2468
  },
2469
2469
  !0
2470
2470
  ), n.method = (n.method || this.defaults.method || "get").toLowerCase();
2471
- let i = o && E.merge(o.common, o[n.method]);
2472
- o && E.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (g) => {
2473
- delete o[g];
2471
+ let i = o && g.merge(o.common, o[n.method]);
2472
+ o && g.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (E) => {
2473
+ delete o[E];
2474
2474
  }), n.headers = fe.concat(i, o);
2475
2475
  const a = [];
2476
2476
  let c = !0;
@@ -2481,36 +2481,36 @@ let Ye = class {
2481
2481
  const N = n.transitional || lr;
2482
2482
  N && N.legacyInterceptorReqResOrdering ? a.unshift(b.fulfilled, b.rejected) : a.push(b.fulfilled, b.rejected);
2483
2483
  });
2484
- const f = [];
2484
+ const u = [];
2485
2485
  this.interceptors.response.forEach(function(b) {
2486
- f.push(b.fulfilled, b.rejected);
2486
+ u.push(b.fulfilled, b.rejected);
2487
2487
  });
2488
- let u, p = 0, _;
2488
+ let f, p = 0, m;
2489
2489
  if (!c) {
2490
- const g = [Jr.bind(this), void 0];
2491
- for (g.unshift(...a), g.push(...f), _ = g.length, u = Promise.resolve(n); p < _; )
2492
- u = u.then(g[p++], g[p++]);
2493
- return u;
2490
+ const E = [Jr.bind(this), void 0];
2491
+ for (E.unshift(...a), E.push(...u), m = E.length, f = Promise.resolve(n); p < m; )
2492
+ f = f.then(E[p++], E[p++]);
2493
+ return f;
2494
2494
  }
2495
- _ = a.length;
2495
+ m = a.length;
2496
2496
  let L = n;
2497
- for (; p < _; ) {
2498
- const g = a[p++], b = a[p++];
2497
+ for (; p < m; ) {
2498
+ const E = a[p++], b = a[p++];
2499
2499
  try {
2500
- L = g(L);
2500
+ L = E(L);
2501
2501
  } catch (N) {
2502
2502
  b.call(this, N);
2503
2503
  break;
2504
2504
  }
2505
2505
  }
2506
2506
  try {
2507
- u = Jr.call(this, L);
2508
- } catch (g) {
2509
- return Promise.reject(g);
2507
+ f = Jr.call(this, L);
2508
+ } catch (E) {
2509
+ return Promise.reject(E);
2510
2510
  }
2511
- for (p = 0, _ = f.length; p < _; )
2512
- u = u.then(f[p++], f[p++]);
2513
- return u;
2511
+ for (p = 0, m = u.length; p < m; )
2512
+ f = f.then(u[p++], u[p++]);
2513
+ return f;
2514
2514
  }
2515
2515
  getUri(t) {
2516
2516
  t = Xe(this.defaults, t);
@@ -2518,7 +2518,7 @@ let Ye = class {
2518
2518
  return Qs(n, t.params, t.paramsSerializer);
2519
2519
  }
2520
2520
  };
2521
- E.forEach(["delete", "get", "head", "options"], function(t) {
2521
+ g.forEach(["delete", "get", "head", "options"], function(t) {
2522
2522
  Ye.prototype[t] = function(n, r) {
2523
2523
  return this.request(
2524
2524
  Xe(r || {}, {
@@ -2529,7 +2529,7 @@ E.forEach(["delete", "get", "head", "options"], function(t) {
2529
2529
  );
2530
2530
  };
2531
2531
  });
2532
- E.forEach(["post", "put", "patch"], function(t) {
2532
+ g.forEach(["post", "put", "patch"], function(t) {
2533
2533
  function n(r) {
2534
2534
  return function(o, i, a) {
2535
2535
  return this.request(
@@ -2625,7 +2625,7 @@ function Qa(e) {
2625
2625
  };
2626
2626
  }
2627
2627
  function za(e) {
2628
- return E.isObject(e) && e.isAxiosError === !0;
2628
+ return g.isObject(e) && e.isAxiosError === !0;
2629
2629
  }
2630
2630
  const Gn = {
2631
2631
  Continue: 100,
@@ -2703,7 +2703,7 @@ Object.entries(Gn).forEach(([e, t]) => {
2703
2703
  });
2704
2704
  function ao(e) {
2705
2705
  const t = new Ye(e), n = $s(Ye.prototype.request, t);
2706
- return E.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), E.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
2706
+ return g.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), g.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
2707
2707
  return ao(Xe(e, s));
2708
2708
  }, n;
2709
2709
  }
@@ -2723,30 +2723,30 @@ Q.spread = Qa;
2723
2723
  Q.isAxiosError = za;
2724
2724
  Q.mergeConfig = Xe;
2725
2725
  Q.AxiosHeaders = fe;
2726
- Q.formToJSON = (e) => zs(E.isHTMLForm(e) ? new FormData(e) : e);
2726
+ Q.formToJSON = (e) => zs(g.isHTMLForm(e) ? new FormData(e) : e);
2727
2727
  Q.getAdapter = so.getAdapter;
2728
2728
  Q.HttpStatusCode = Gn;
2729
2729
  Q.default = Q;
2730
2730
  const {
2731
- Axios: nf,
2732
- AxiosError: rf,
2733
- CanceledError: sf,
2734
- isCancel: of,
2735
- CancelToken: af,
2736
- VERSION: cf,
2737
- all: lf,
2738
- Cancel: uf,
2739
- isAxiosError: ff,
2740
- spread: df,
2741
- toFormData: pf,
2742
- AxiosHeaders: mf,
2731
+ Axios: rf,
2732
+ AxiosError: sf,
2733
+ CanceledError: of,
2734
+ isCancel: af,
2735
+ CancelToken: cf,
2736
+ VERSION: lf,
2737
+ all: uf,
2738
+ Cancel: ff,
2739
+ isAxiosError: df,
2740
+ spread: pf,
2741
+ toFormData: mf,
2742
+ AxiosHeaders: _f,
2743
2743
  HttpStatusCode: zr,
2744
- formToJSON: _f,
2745
- getAdapter: hf,
2746
- mergeConfig: Ef
2744
+ formToJSON: hf,
2745
+ getAdapter: Ef,
2746
+ mergeConfig: gf
2747
2747
  } = Q;
2748
2748
  let qt = null;
2749
- function gf(e) {
2749
+ function bf(e) {
2750
2750
  if (qt !== null) {
2751
2751
  console.warn(
2752
2752
  "[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
@@ -2763,7 +2763,7 @@ function we() {
2763
2763
  return qt;
2764
2764
  }
2765
2765
  const co = /* @__PURE__ */ new Map();
2766
- function bf(e) {
2766
+ function yf(e) {
2767
2767
  co.set(e.instanceId, e);
2768
2768
  }
2769
2769
  function at(e) {
@@ -2774,25 +2774,25 @@ function at(e) {
2774
2774
  );
2775
2775
  return t;
2776
2776
  }
2777
- async function yf(e, t) {
2777
+ async function Nf(e, t) {
2778
2778
  const n = at(e);
2779
2779
  return we().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
2780
2780
  }
2781
- async function Nf(e, t, n) {
2781
+ async function Of(e, t, n) {
2782
2782
  const r = at(e);
2783
2783
  return we().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
2784
2784
  }
2785
- async function Of(e, t, n) {
2785
+ async function Sf(e, t, n) {
2786
2786
  const r = at(e);
2787
2787
  return we().get(`/${r.apiEndpoint}`, {
2788
2788
  params: { ...t, ...n }
2789
2789
  }).then(({ data: s }) => s);
2790
2790
  }
2791
- async function Sf(e, t) {
2791
+ async function Tf(e, t) {
2792
2792
  const n = at(e);
2793
2793
  return we().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
2794
2794
  }
2795
- async function Tf(e, t) {
2795
+ async function Af(e, t) {
2796
2796
  const n = at(e);
2797
2797
  return we().delete(`/${n.apiEndpoint}/${t}`);
2798
2798
  }
@@ -2812,7 +2812,7 @@ function ec(e, t) {
2812
2812
  n[r] = ec(e[r], t[r]);
2813
2813
  return n;
2814
2814
  }
2815
- function Af(e) {
2815
+ function Lf(e) {
2816
2816
  const t = {};
2817
2817
  for (const [n, r] of Object.entries(e)) {
2818
2818
  const s = n.split(".");
@@ -2928,16 +2928,16 @@ function fc(e, t = 0, n = e.length) {
2928
2928
  continue;
2929
2929
  const c = a + 1;
2930
2930
  o.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[a]}`);
2931
- const f = r[a].length;
2931
+ const u = r[a].length;
2932
2932
  if (a === i) {
2933
- const u = t - (s - f) + 1, p = Math.max(1, n > s ? f - u : n - t);
2934
- o.push(" | " + " ".repeat(u) + "^".repeat(p));
2933
+ const f = t - (s - u) + 1, p = Math.max(1, n > s ? u - f : n - t);
2934
+ o.push(" | " + " ".repeat(f) + "^".repeat(p));
2935
2935
  } else if (a > i) {
2936
2936
  if (n > s) {
2937
- const u = Math.max(Math.min(n - s, f), 1);
2938
- o.push(" | " + "^".repeat(u));
2937
+ const f = Math.max(Math.min(n - s, u), 1);
2938
+ o.push(" | " + "^".repeat(f));
2939
2939
  }
2940
- s += f + 1;
2940
+ s += u + 1;
2941
2941
  }
2942
2942
  }
2943
2943
  break;
@@ -3035,9 +3035,9 @@ const Ec = /<\/?[\w\s="/.':;#-\/]+>/, gc = (e) => Ec.test(e), Se = " ", bc = "\r
3035
3035
  function Oc(e) {
3036
3036
  const t = e;
3037
3037
  let n = 0, r = 1, s = 1, o = 0;
3038
- const i = (h) => t[h] === bc && t[h + 1] === ie, a = (h) => t[h] === ie, c = (h) => t[h] === Nc, f = (h) => t[h] === yc, u = (h) => i(h) || a(h) || c(h) || f(h), p = () => n, _ = () => r, L = () => s, g = () => o, b = (h) => i(h) || c(h) || f(h) ? ie : t[h], N = () => b(n), m = () => b(n + o);
3038
+ const i = (h) => t[h] === bc && t[h + 1] === ie, a = (h) => t[h] === ie, c = (h) => t[h] === Nc, u = (h) => t[h] === yc, f = (h) => i(h) || a(h) || c(h) || u(h), p = () => n, m = () => r, L = () => s, E = () => o, b = (h) => i(h) || c(h) || u(h) ? ie : t[h], N = () => b(n), _ = () => b(n + o);
3039
3039
  function O() {
3040
- return o = 0, u(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
3040
+ return o = 0, f(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
3041
3041
  }
3042
3042
  function T() {
3043
3043
  return i(n + o) && o++, o++, t[n + o];
@@ -3056,12 +3056,12 @@ function Oc(e) {
3056
3056
  }
3057
3057
  return {
3058
3058
  index: p,
3059
- line: _,
3059
+ line: m,
3060
3060
  column: L,
3061
- peekOffset: g,
3061
+ peekOffset: E,
3062
3062
  charAt: b,
3063
3063
  currentChar: N,
3064
- currentPeek: m,
3064
+ currentPeek: _,
3065
3065
  next: O,
3066
3066
  peek: T,
3067
3067
  reset: y,
@@ -3083,28 +3083,28 @@ function Ac(e, t = {}) {
3083
3083
  braceNest: 0,
3084
3084
  inLinked: !1,
3085
3085
  text: ""
3086
- }, f = () => c, { onError: u } = t;
3086
+ }, u = () => c, { onError: f } = t;
3087
3087
  function p(l, d, A, ...w) {
3088
- const W = f();
3089
- if (d.column += A, d.offset += A, u) {
3088
+ const W = u();
3089
+ if (d.column += A, d.offset += A, f) {
3090
3090
  const K = n ? Kn(W.startLoc, d) : null, V = ct(l, K, {
3091
3091
  domain: Tc,
3092
3092
  args: w
3093
3093
  });
3094
- u(V);
3094
+ f(V);
3095
3095
  }
3096
3096
  }
3097
- function _(l, d, A) {
3097
+ function m(l, d, A) {
3098
3098
  l.endLoc = o(), l.currentType = d;
3099
3099
  const w = { type: d };
3100
3100
  return n && (w.loc = Kn(l.startLoc, l.endLoc)), A != null && (w.value = A), w;
3101
3101
  }
3102
- const L = (l) => _(
3102
+ const L = (l) => m(
3103
3103
  l,
3104
3104
  13
3105
3105
  /* TokenTypes.EOF */
3106
3106
  );
3107
- function g(l, d) {
3107
+ function E(l, d) {
3108
3108
  return l.currentChar() === d ? (l.next(), d) : (p(F.EXPECTED_TOKEN, o(), 0, d), "");
3109
3109
  }
3110
3110
  function b(l) {
@@ -3117,7 +3117,7 @@ function Ac(e, t = {}) {
3117
3117
  const d = b(l);
3118
3118
  return l.skipToPeek(), d;
3119
3119
  }
3120
- function m(l) {
3120
+ function _(l) {
3121
3121
  if (l === Re)
3122
3122
  return !1;
3123
3123
  const d = l.charCodeAt(0);
@@ -3136,7 +3136,7 @@ function Ac(e, t = {}) {
3136
3136
  if (A !== 2)
3137
3137
  return !1;
3138
3138
  b(l);
3139
- const w = m(l.currentPeek());
3139
+ const w = _(l.currentPeek());
3140
3140
  return l.resetPeek(), w;
3141
3141
  }
3142
3142
  function y(l, d) {
@@ -3168,7 +3168,7 @@ function Ac(e, t = {}) {
3168
3168
  if (A !== 8)
3169
3169
  return !1;
3170
3170
  b(l);
3171
- const w = m(l.currentPeek());
3171
+ const w = _(l.currentPeek());
3172
3172
  return l.resetPeek(), w;
3173
3173
  }
3174
3174
  function x(l, d) {
@@ -3185,7 +3185,7 @@ function Ac(e, t = {}) {
3185
3185
  return !1;
3186
3186
  const w = () => {
3187
3187
  const K = l.currentPeek();
3188
- return K === "{" ? m(l.peek()) : K === "@" || K === "|" || K === ":" || K === "." || K === Se || !K ? !1 : K === ie ? (l.peek(), w()) : P(l, !1);
3188
+ return K === "{" ? _(l.peek()) : K === "@" || K === "|" || K === ":" || K === "." || K === Se || !K ? !1 : K === ie ? (l.peek(), w()) : P(l, !1);
3189
3189
  }, W = w();
3190
3190
  return l.resetPeek(), W;
3191
3191
  }
@@ -3295,12 +3295,12 @@ function Ac(e, t = {}) {
3295
3295
  return l !== ss && l !== ie;
3296
3296
  }
3297
3297
  function yr(l) {
3298
- N(l), g(l, "'");
3298
+ N(l), E(l, "'");
3299
3299
  let d = "", A = "";
3300
3300
  for (; d = k(l, Qe); )
3301
3301
  d === "\\" ? A += mn(l) : A += d;
3302
3302
  const w = l.currentChar();
3303
- return w === ie || w === Re ? (p(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), w === ie && (l.next(), g(l, "'")), A) : (g(l, "'"), A);
3303
+ return w === ie || w === Re ? (p(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), w === ie && (l.next(), E(l, "'")), A) : (E(l, "'"), A);
3304
3304
  }
3305
3305
  function mn(l) {
3306
3306
  const d = l.currentChar();
@@ -3317,7 +3317,7 @@ function Ac(e, t = {}) {
3317
3317
  }
3318
3318
  }
3319
3319
  function Lt(l, d, A) {
3320
- g(l, d);
3320
+ E(l, d);
3321
3321
  let w = "";
3322
3322
  for (let W = 0; W < A; W++) {
3323
3323
  const K = ge(l);
@@ -3354,7 +3354,7 @@ function Ac(e, t = {}) {
3354
3354
  }
3355
3355
  function lt(l) {
3356
3356
  N(l);
3357
- const d = g(
3357
+ const d = E(
3358
3358
  l,
3359
3359
  "|"
3360
3360
  /* TokenChars.Pipe */
@@ -3365,14 +3365,14 @@ function Ac(e, t = {}) {
3365
3365
  let A = null;
3366
3366
  switch (l.currentChar()) {
3367
3367
  case "{":
3368
- return d.braceNest >= 1 && p(F.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), l.next(), A = _(
3368
+ return d.braceNest >= 1 && p(F.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), l.next(), A = m(
3369
3369
  d,
3370
3370
  2,
3371
3371
  "{"
3372
3372
  /* TokenChars.BraceLeft */
3373
3373
  ), N(l), d.braceNest++, A;
3374
3374
  case "}":
3375
- return d.braceNest > 0 && d.currentType === 2 && p(F.EMPTY_PLACEHOLDER, o(), 0), l.next(), A = _(
3375
+ return d.braceNest > 0 && d.currentType === 2 && p(F.EMPTY_PLACEHOLDER, o(), 0), l.next(), A = m(
3376
3376
  d,
3377
3377
  3,
3378
3378
  "}"
@@ -3383,17 +3383,17 @@ function Ac(e, t = {}) {
3383
3383
  default: {
3384
3384
  let W = !0, K = !0, V = !0;
3385
3385
  if (I(l))
3386
- return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), A = _(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, A;
3386
+ return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), A = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, A;
3387
3387
  if (d.braceNest > 0 && (d.currentType === 4 || d.currentType === 5 || d.currentType === 6))
3388
3388
  return p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d.braceNest = 0, ft(l, d);
3389
3389
  if (W = T(l, d))
3390
- return A = _(d, 4, Ve(l)), N(l), A;
3390
+ return A = m(d, 4, Ve(l)), N(l), A;
3391
3391
  if (K = y(l, d))
3392
- return A = _(d, 5, Fe(l)), N(l), A;
3392
+ return A = m(d, 5, Fe(l)), N(l), A;
3393
3393
  if (V = v(l, d))
3394
- return A = _(d, 6, yr(l)), N(l), A;
3394
+ return A = m(d, 6, yr(l)), N(l), A;
3395
3395
  if (!W && !K && !V)
3396
- return A = _(d, 12, Rt(l)), p(F.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, A.value), N(l), A;
3396
+ return A = m(d, 12, Rt(l)), p(F.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, A.value), N(l), A;
3397
3397
  break;
3398
3398
  }
3399
3399
  }
@@ -3405,28 +3405,28 @@ function Ac(e, t = {}) {
3405
3405
  const W = l.currentChar();
3406
3406
  switch ((A === 7 || A === 8 || A === 11 || A === 9) && (W === ie || W === Se) && p(F.INVALID_LINKED_FORMAT, o(), 0), W) {
3407
3407
  case "@":
3408
- return l.next(), w = _(
3408
+ return l.next(), w = m(
3409
3409
  d,
3410
3410
  7,
3411
3411
  "@"
3412
3412
  /* TokenChars.LinkedAlias */
3413
3413
  ), d.inLinked = !0, w;
3414
3414
  case ".":
3415
- return N(l), l.next(), _(
3415
+ return N(l), l.next(), m(
3416
3416
  d,
3417
3417
  8,
3418
3418
  "."
3419
3419
  /* TokenChars.LinkedDot */
3420
3420
  );
3421
3421
  case ":":
3422
- return N(l), l.next(), _(
3422
+ return N(l), l.next(), m(
3423
3423
  d,
3424
3424
  9,
3425
3425
  ":"
3426
3426
  /* TokenChars.LinkedDelimiter */
3427
3427
  );
3428
3428
  default:
3429
- return I(l) ? (w = _(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, w) : C(l, d) || x(l, d) ? (N(l), $e(l, d)) : h(l, d) ? (N(l), _(d, 11, hn(l))) : M(l, d) ? (N(l), W === "{" ? ut(l, d) || w : _(d, 10, En(l))) : (A === 7 && p(F.INVALID_LINKED_FORMAT, o(), 0), d.braceNest = 0, d.inLinked = !1, ft(l, d));
3429
+ return I(l) ? (w = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, w) : C(l, d) || x(l, d) ? (N(l), $e(l, d)) : h(l, d) ? (N(l), m(d, 11, hn(l))) : M(l, d) ? (N(l), W === "{" ? ut(l, d) || w : m(d, 10, En(l))) : (A === 7 && p(F.INVALID_LINKED_FORMAT, o(), 0), d.braceNest = 0, d.inLinked = !1, ft(l, d));
3430
3430
  }
3431
3431
  }
3432
3432
  function ft(l, d) {
@@ -3442,7 +3442,7 @@ function Ac(e, t = {}) {
3442
3442
  case "{":
3443
3443
  return ut(l, d) || L(d);
3444
3444
  case "}":
3445
- return p(F.UNBALANCED_CLOSING_BRACE, o(), 0), l.next(), _(
3445
+ return p(F.UNBALANCED_CLOSING_BRACE, o(), 0), l.next(), m(
3446
3446
  d,
3447
3447
  3,
3448
3448
  "}"
@@ -3452,9 +3452,9 @@ function Ac(e, t = {}) {
3452
3452
  return $e(l, d) || L(d);
3453
3453
  default: {
3454
3454
  if (I(l))
3455
- return A = _(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, A;
3455
+ return A = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, A;
3456
3456
  if (P(l))
3457
- return _(d, 0, Oe(l));
3457
+ return m(d, 0, Oe(l));
3458
3458
  break;
3459
3459
  }
3460
3460
  }
@@ -3462,7 +3462,7 @@ function Ac(e, t = {}) {
3462
3462
  }
3463
3463
  function gn() {
3464
3464
  const { currentType: l, offset: d, startLoc: A, endLoc: w } = c;
3465
- return c.lastType = l, c.lastOffset = d, c.lastStartLoc = A, c.lastEndLoc = w, c.offset = s(), c.startLoc = o(), r.currentChar() === Re ? _(
3465
+ return c.lastType = l, c.lastOffset = d, c.lastStartLoc = A, c.lastEndLoc = w, c.offset = s(), c.startLoc = o(), r.currentChar() === Re ? m(
3466
3466
  c,
3467
3467
  13
3468
3468
  /* TokenTypes.EOF */
@@ -3472,7 +3472,7 @@ function Ac(e, t = {}) {
3472
3472
  nextToken: gn,
3473
3473
  currentOffset: s,
3474
3474
  currentPosition: o,
3475
- context: f
3475
+ context: u
3476
3476
  };
3477
3477
  }
3478
3478
  const Lc = "parser", Rc = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, vc = /\\([\\@{}|])/g;
@@ -3494,8 +3494,8 @@ function Ic(e, t, n) {
3494
3494
  }
3495
3495
  function Pc(e = {}) {
3496
3496
  const t = e.location !== !1, { onError: n } = e;
3497
- function r(m, O, T, y, ...v) {
3498
- const C = m.currentPosition();
3497
+ function r(_, O, T, y, ...v) {
3498
+ const C = _.currentPosition();
3499
3499
  if (C.offset += y, C.column += y, n) {
3500
3500
  const h = t ? Kn(T, C) : null, x = ct(O, h, {
3501
3501
  domain: Lc,
@@ -3504,122 +3504,122 @@ function Pc(e = {}) {
3504
3504
  n(x);
3505
3505
  }
3506
3506
  }
3507
- function s(m, O, T) {
3508
- const y = { type: m };
3507
+ function s(_, O, T) {
3508
+ const y = { type: _ };
3509
3509
  return t && (y.start = O, y.end = O, y.loc = { start: T, end: T }), y;
3510
3510
  }
3511
- function o(m, O, T, y) {
3512
- t && (m.end = O, m.loc && (m.loc.end = T));
3511
+ function o(_, O, T, y) {
3512
+ t && (_.end = O, _.loc && (_.loc.end = T));
3513
3513
  }
3514
- function i(m, O) {
3515
- const T = m.context(), y = s(3, T.offset, T.startLoc);
3516
- return y.value = O.replace(vc, Cc), o(y, m.currentOffset(), m.currentPosition()), y;
3514
+ function i(_, O) {
3515
+ const T = _.context(), y = s(3, T.offset, T.startLoc);
3516
+ return y.value = O.replace(vc, Cc), o(y, _.currentOffset(), _.currentPosition()), y;
3517
3517
  }
3518
- function a(m, O) {
3519
- const T = m.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(5, y, v);
3520
- return C.index = parseInt(O, 10), m.nextToken(), o(C, m.currentOffset(), m.currentPosition()), C;
3518
+ function a(_, O) {
3519
+ const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(5, y, v);
3520
+ return C.index = parseInt(O, 10), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
3521
3521
  }
3522
- function c(m, O) {
3523
- const T = m.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(4, y, v);
3524
- return C.key = O, m.nextToken(), o(C, m.currentOffset(), m.currentPosition()), C;
3522
+ function c(_, O) {
3523
+ const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(4, y, v);
3524
+ return C.key = O, _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
3525
3525
  }
3526
- function f(m, O) {
3527
- const T = m.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(9, y, v);
3528
- return C.value = O.replace(Rc, Ic), m.nextToken(), o(C, m.currentOffset(), m.currentPosition()), C;
3526
+ function u(_, O) {
3527
+ const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(9, y, v);
3528
+ return C.value = O.replace(Rc, Ic), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
3529
3529
  }
3530
- function u(m) {
3531
- const O = m.nextToken(), T = m.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(8, y, v);
3532
- return O.type !== 11 ? (r(m, F.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), C.value = "", o(C, y, v), {
3530
+ function f(_) {
3531
+ const O = _.nextToken(), T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(8, y, v);
3532
+ return O.type !== 11 ? (r(_, F.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), C.value = "", o(C, y, v), {
3533
3533
  nextConsumeToken: O,
3534
3534
  node: C
3535
- }) : (O.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Te(O)), C.value = O.value || "", o(C, m.currentOffset(), m.currentPosition()), {
3535
+ }) : (O.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Te(O)), C.value = O.value || "", o(C, _.currentOffset(), _.currentPosition()), {
3536
3536
  node: C
3537
3537
  });
3538
3538
  }
3539
- function p(m, O) {
3540
- const T = m.context(), y = s(7, T.offset, T.startLoc);
3541
- return y.value = O, o(y, m.currentOffset(), m.currentPosition()), y;
3539
+ function p(_, O) {
3540
+ const T = _.context(), y = s(7, T.offset, T.startLoc);
3541
+ return y.value = O, o(y, _.currentOffset(), _.currentPosition()), y;
3542
3542
  }
3543
- function _(m) {
3544
- const O = m.context(), T = s(6, O.offset, O.startLoc);
3545
- let y = m.nextToken();
3543
+ function m(_) {
3544
+ const O = _.context(), T = s(6, O.offset, O.startLoc);
3545
+ let y = _.nextToken();
3546
3546
  if (y.type === 8) {
3547
- const v = u(m);
3548
- T.modifier = v.node, y = v.nextConsumeToken || m.nextToken();
3547
+ const v = f(_);
3548
+ T.modifier = v.node, y = v.nextConsumeToken || _.nextToken();
3549
3549
  }
3550
- switch (y.type !== 9 && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), y = m.nextToken(), y.type === 2 && (y = m.nextToken()), y.type) {
3550
+ switch (y.type !== 9 && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), y = _.nextToken(), y.type === 2 && (y = _.nextToken()), y.type) {
3551
3551
  case 10:
3552
- y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = p(m, y.value || "");
3552
+ y.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = p(_, y.value || "");
3553
3553
  break;
3554
3554
  case 4:
3555
- y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = c(m, y.value || "");
3555
+ y.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = c(_, y.value || "");
3556
3556
  break;
3557
3557
  case 5:
3558
- y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = a(m, y.value || "");
3558
+ y.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = a(_, y.value || "");
3559
3559
  break;
3560
3560
  case 6:
3561
- y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = f(m, y.value || "");
3561
+ y.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(y)), T.key = u(_, y.value || "");
3562
3562
  break;
3563
3563
  default: {
3564
- r(m, F.UNEXPECTED_EMPTY_LINKED_KEY, O.lastStartLoc, 0);
3565
- const v = m.context(), C = s(7, v.offset, v.startLoc);
3564
+ r(_, F.UNEXPECTED_EMPTY_LINKED_KEY, O.lastStartLoc, 0);
3565
+ const v = _.context(), C = s(7, v.offset, v.startLoc);
3566
3566
  return C.value = "", o(C, v.offset, v.startLoc), T.key = C, o(T, v.offset, v.startLoc), {
3567
3567
  nextConsumeToken: y,
3568
3568
  node: T
3569
3569
  };
3570
3570
  }
3571
3571
  }
3572
- return o(T, m.currentOffset(), m.currentPosition()), {
3572
+ return o(T, _.currentOffset(), _.currentPosition()), {
3573
3573
  node: T
3574
3574
  };
3575
3575
  }
3576
- function L(m) {
3577
- const O = m.context(), T = O.currentType === 1 ? m.currentOffset() : O.offset, y = O.currentType === 1 ? O.endLoc : O.startLoc, v = s(2, T, y);
3576
+ function L(_) {
3577
+ const O = _.context(), T = O.currentType === 1 ? _.currentOffset() : O.offset, y = O.currentType === 1 ? O.endLoc : O.startLoc, v = s(2, T, y);
3578
3578
  v.items = [];
3579
3579
  let C = null;
3580
3580
  do {
3581
- const M = C || m.nextToken();
3581
+ const M = C || _.nextToken();
3582
3582
  switch (C = null, M.type) {
3583
3583
  case 0:
3584
- M.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(i(m, M.value || ""));
3584
+ M.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(i(_, M.value || ""));
3585
3585
  break;
3586
3586
  case 5:
3587
- M.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(a(m, M.value || ""));
3587
+ M.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(a(_, M.value || ""));
3588
3588
  break;
3589
3589
  case 4:
3590
- M.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(c(m, M.value || ""));
3590
+ M.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(c(_, M.value || ""));
3591
3591
  break;
3592
3592
  case 6:
3593
- M.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(f(m, M.value || ""));
3593
+ M.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, Te(M)), v.items.push(u(_, M.value || ""));
3594
3594
  break;
3595
3595
  case 7: {
3596
- const I = _(m);
3596
+ const I = m(_);
3597
3597
  v.items.push(I.node), C = I.nextConsumeToken || null;
3598
3598
  break;
3599
3599
  }
3600
3600
  }
3601
3601
  } while (O.currentType !== 13 && O.currentType !== 1);
3602
- const h = O.currentType === 1 ? O.lastOffset : m.currentOffset(), x = O.currentType === 1 ? O.lastEndLoc : m.currentPosition();
3602
+ const h = O.currentType === 1 ? O.lastOffset : _.currentOffset(), x = O.currentType === 1 ? O.lastEndLoc : _.currentPosition();
3603
3603
  return o(v, h, x), v;
3604
3604
  }
3605
- function g(m, O, T, y) {
3606
- const v = m.context();
3605
+ function E(_, O, T, y) {
3606
+ const v = _.context();
3607
3607
  let C = y.items.length === 0;
3608
3608
  const h = s(1, O, T);
3609
3609
  h.cases = [], h.cases.push(y);
3610
3610
  do {
3611
- const x = L(m);
3611
+ const x = L(_);
3612
3612
  C || (C = x.items.length === 0), h.cases.push(x);
3613
3613
  } while (v.currentType !== 13);
3614
- return C && r(m, F.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), o(h, m.currentOffset(), m.currentPosition()), h;
3614
+ return C && r(_, F.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), o(h, _.currentOffset(), _.currentPosition()), h;
3615
3615
  }
3616
- function b(m) {
3617
- const O = m.context(), { offset: T, startLoc: y } = O, v = L(m);
3618
- return O.currentType === 13 ? v : g(m, T, y, v);
3616
+ function b(_) {
3617
+ const O = _.context(), { offset: T, startLoc: y } = O, v = L(_);
3618
+ return O.currentType === 13 ? v : E(_, T, y, v);
3619
3619
  }
3620
- function N(m) {
3621
- const O = Ac(m, re({}, e)), T = O.context(), y = s(0, T.offset, T.startLoc);
3622
- return t && y.loc && (y.loc.source = m), y.body = b(O), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), T.currentType !== 13 && r(O, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, m[T.offset] || ""), o(y, O.currentOffset(), O.currentPosition()), y;
3620
+ function N(_) {
3621
+ const O = Ac(_, re({}, e)), T = O.context(), y = s(0, T.offset, T.startLoc);
3622
+ return t && y.loc && (y.loc.source = _), y.body = b(O), e.onCacheKey && (y.cacheKey = e.onCacheKey(_)), T.currentType !== 13 && r(O, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, _[T.offset] || ""), o(y, O.currentOffset(), O.currentPosition()), y;
3623
3623
  }
3624
3624
  return { parse: N };
3625
3625
  }
@@ -3787,27 +3787,27 @@ function Mc(e, t) {
3787
3787
  function c(b, N) {
3788
3788
  i.code += b;
3789
3789
  }
3790
- function f(b, N = !0) {
3791
- const m = N ? r : "";
3792
- c(s ? m + " ".repeat(b) : m);
3790
+ function u(b, N = !0) {
3791
+ const _ = N ? r : "";
3792
+ c(s ? _ + " ".repeat(b) : _);
3793
3793
  }
3794
- function u(b = !0) {
3794
+ function f(b = !0) {
3795
3795
  const N = ++i.indentLevel;
3796
- b && f(N);
3796
+ b && u(N);
3797
3797
  }
3798
3798
  function p(b = !0) {
3799
3799
  const N = --i.indentLevel;
3800
- b && f(N);
3800
+ b && u(N);
3801
3801
  }
3802
- function _() {
3803
- f(i.indentLevel);
3802
+ function m() {
3803
+ u(i.indentLevel);
3804
3804
  }
3805
3805
  return {
3806
3806
  context: a,
3807
3807
  push: c,
3808
- indent: u,
3808
+ indent: f,
3809
3809
  deindent: p,
3810
- newline: _,
3810
+ newline: m,
3811
3811
  helper: (b) => `_${b}`,
3812
3812
  needIndent: () => i.needIndent
3813
3813
  };
@@ -3908,12 +3908,12 @@ const jc = (e, t = {}) => {
3908
3908
  breakLineCode: s,
3909
3909
  needIndent: o
3910
3910
  });
3911
- a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${pr(i.map((u) => `${u}: _${u}`), ", ")} } = ctx`), a.newline()), a.push("return "), st(a, e), a.deindent(o), a.push("}"), delete e.helpers;
3912
- const { code: c, map: f } = a.context();
3911
+ a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${pr(i.map((f) => `${f}: _${f}`), ", ")} } = ctx`), a.newline()), a.push("return "), st(a, e), a.deindent(o), a.push("}"), delete e.helpers;
3912
+ const { code: c, map: u } = a.context();
3913
3913
  return {
3914
3914
  ast: e,
3915
3915
  code: c,
3916
- map: f ? f.toJSON() : void 0
3916
+ map: u ? u.toJSON() : void 0
3917
3917
  // eslint-disable-line @typescript-eslint/no-explicit-any
3918
3918
  };
3919
3919
  };
@@ -4406,55 +4406,55 @@ function hl(e) {
4406
4406
  }
4407
4407
  function El(e) {
4408
4408
  const t = [];
4409
- let n = -1, r = 0, s = 0, o, i, a, c, f, u, p;
4410
- const _ = [];
4411
- _[
4409
+ let n = -1, r = 0, s = 0, o, i, a, c, u, f, p;
4410
+ const m = [];
4411
+ m[
4412
4412
  0
4413
4413
  /* Actions.APPEND */
4414
4414
  ] = () => {
4415
4415
  i === void 0 ? i = a : i += a;
4416
- }, _[
4416
+ }, m[
4417
4417
  1
4418
4418
  /* Actions.PUSH */
4419
4419
  ] = () => {
4420
4420
  i !== void 0 && (t.push(i), i = void 0);
4421
- }, _[
4421
+ }, m[
4422
4422
  2
4423
4423
  /* Actions.INC_SUB_PATH_DEPTH */
4424
4424
  ] = () => {
4425
- _[
4425
+ m[
4426
4426
  0
4427
4427
  /* Actions.APPEND */
4428
4428
  ](), s++;
4429
- }, _[
4429
+ }, m[
4430
4430
  3
4431
4431
  /* Actions.PUSH_SUB_PATH */
4432
4432
  ] = () => {
4433
4433
  if (s > 0)
4434
- s--, r = 4, _[
4434
+ s--, r = 4, m[
4435
4435
  0
4436
4436
  /* Actions.APPEND */
4437
4437
  ]();
4438
4438
  else {
4439
4439
  if (s = 0, i === void 0 || (i = hl(i), i === !1))
4440
4440
  return !1;
4441
- _[
4441
+ m[
4442
4442
  1
4443
4443
  /* Actions.PUSH */
4444
4444
  ]();
4445
4445
  }
4446
4446
  };
4447
4447
  function L() {
4448
- const g = e[n + 1];
4449
- if (r === 5 && g === "'" || r === 6 && g === '"')
4450
- return n++, a = "\\" + g, _[
4448
+ const E = e[n + 1];
4449
+ if (r === 5 && E === "'" || r === 6 && E === '"')
4450
+ return n++, a = "\\" + E, m[
4451
4451
  0
4452
4452
  /* Actions.APPEND */
4453
4453
  ](), !0;
4454
4454
  }
4455
4455
  for (; r !== null; )
4456
4456
  if (n++, o = e[n], !(o === "\\" && L())) {
4457
- if (c = _l(o), p = xe[r], f = p[c] || p.l || 8, f === 8 || (r = f[0], f[1] !== void 0 && (u = _[f[1]], u && (a = o, u() === !1))))
4457
+ if (c = _l(o), p = xe[r], u = p[c] || p.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (f = m[u[1]], f && (a = o, f() === !1))))
4458
4458
  return;
4459
4459
  if (r === 7)
4460
4460
  return t;
@@ -4537,7 +4537,7 @@ const ds = (e) => {
4537
4537
  }, vl = () => Lo;
4538
4538
  let ps = 0;
4539
4539
  function Cl(e = {}) {
4540
- const t = G(e.onWarn) ? e.onWarn : Le, n = D(e.version) ? e.version : Nl, r = D(e.locale) || G(e.locale) ? e.locale : Gt, s = G(r) ? Gt : r, o = J(e.fallbackLocale) || j(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = j(e.messages) ? e.messages : In(s), a = j(e.datetimeFormats) ? e.datetimeFormats : In(s), c = j(e.numberFormats) ? e.numberFormats : In(s), f = re(H(), e.modifiers, Ol()), u = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, _ = X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, g = !!e.fallbackFormat, b = !!e.unresolving, N = G(e.postTranslation) ? e.postTranslation : null, m = j(e.processor) ? e.processor : null, O = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : Oo;
4540
+ const t = G(e.onWarn) ? e.onWarn : Le, n = D(e.version) ? e.version : Nl, r = D(e.locale) || G(e.locale) ? e.locale : Gt, s = G(r) ? Gt : r, o = J(e.fallbackLocale) || j(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = j(e.messages) ? e.messages : In(s), a = j(e.datetimeFormats) ? e.datetimeFormats : In(s), c = j(e.numberFormats) ? e.numberFormats : In(s), u = re(H(), e.modifiers, Ol()), f = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, m = X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, N = G(e.postTranslation) ? e.postTranslation : null, _ = j(e.processor) ? e.processor : null, O = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : Oo;
4541
4541
  process.env.NODE_ENV !== "production" && G(e.messageCompiler) && nc(Ie(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
4542
4542
  const v = G(e.messageResolver) ? e.messageResolver : So || gl, C = G(e.localeFallbacker) ? e.localeFallbacker : To || ll, h = B(e.fallbackContext) ? e.fallbackContext : void 0, x = e, M = B(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = B(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = B(x.__meta) ? x.__meta : {};
4543
4543
  ps++;
@@ -4547,15 +4547,15 @@ function Cl(e = {}) {
4547
4547
  locale: r,
4548
4548
  fallbackLocale: o,
4549
4549
  messages: i,
4550
- modifiers: f,
4551
- pluralRules: u,
4550
+ modifiers: u,
4551
+ pluralRules: f,
4552
4552
  missing: p,
4553
- missingWarn: _,
4553
+ missingWarn: m,
4554
4554
  fallbackWarn: L,
4555
- fallbackFormat: g,
4555
+ fallbackFormat: E,
4556
4556
  unresolving: b,
4557
4557
  postTranslation: N,
4558
- processor: m,
4558
+ processor: _,
4559
4559
  warnHtmlMessage: O,
4560
4560
  escapeParameter: T,
4561
4561
  messageCompiler: y,
@@ -4619,15 +4619,15 @@ function _s(e, ...t) {
4619
4619
  return process.env.NODE_ENV !== "production" && o(Ie(te.INVALID_DATE_ARGUMENT, {
4620
4620
  value: String(t[0])
4621
4621
  })), ot;
4622
- const [c, f, u, p] = Qn(...t), _ = X(u.missingWarn) ? u.missingWarn : e.missingWarn, L = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, g = !!u.part, b = hr(e, u), N = i(
4622
+ const [c, u, f, p] = Qn(...t), m = X(f.missingWarn) ? f.missingWarn : e.missingWarn, L = X(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, E = !!f.part, b = hr(e, f), N = i(
4623
4623
  e,
4624
4624
  // eslint-disable-line @typescript-eslint/no-explicit-any
4625
4625
  s,
4626
4626
  b
4627
4627
  );
4628
4628
  if (!D(c) || c === "")
4629
- return new Intl.DateTimeFormat(b.replace(/!/g, ""), p).format(f);
4630
- let m = {}, O, T = null, y = b, v = null;
4629
+ return new Intl.DateTimeFormat(b.replace(/!/g, ""), p).format(u);
4630
+ let _ = {}, O, T = null, y = b, v = null;
4631
4631
  const C = "datetime format";
4632
4632
  for (let M = 0; M < N.length; M++) {
4633
4633
  if (O = v = N[M], process.env.NODE_ENV !== "production" && b !== O && dn(L, c) && o(Ie(te.FALLBACK_TO_DATE_FORMAT, {
@@ -4643,16 +4643,16 @@ function _s(e, ...t) {
4643
4643
  groupId: `${C}:${c}`
4644
4644
  });
4645
4645
  }
4646
- if (m = n[O] || {}, T = m[c], j(T))
4646
+ if (_ = n[O] || {}, T = _[c], j(T))
4647
4647
  break;
4648
- Er(e, c, O, _, C), y = v;
4648
+ Er(e, c, O, m, C), y = v;
4649
4649
  }
4650
4650
  if (!j(T) || !D(O))
4651
4651
  return r ? fn : c;
4652
4652
  let h = `${O}__${c}`;
4653
4653
  un(p) || (h = `${h}__${JSON.stringify(p)}`);
4654
4654
  let x = a.get(h);
4655
- return x || (x = new Intl.DateTimeFormat(O, re({}, T, p)), a.set(h, x)), g ? x.formatToParts(f) : x.format(f);
4655
+ return x || (x = new Intl.DateTimeFormat(O, re({}, T, p)), a.set(h, x)), E ? x.formatToParts(u) : x.format(u);
4656
4656
  }
4657
4657
  const Io = [
4658
4658
  "localeMatcher",
@@ -4683,8 +4683,8 @@ function Qn(...e) {
4683
4683
  const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
4684
4684
  if (!c)
4685
4685
  throw ve(ae.INVALID_ISO_DATE_ARGUMENT);
4686
- const f = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
4687
- a = new Date(f);
4686
+ const u = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
4687
+ a = new Date(u);
4688
4688
  try {
4689
4689
  a.toISOString();
4690
4690
  } catch {
@@ -4717,15 +4717,15 @@ function Es(e, ...t) {
4717
4717
  return process.env.NODE_ENV !== "production" && o(Ie(te.INVALID_NUMBER_ARGUMENT, {
4718
4718
  value: String(t[0])
4719
4719
  })), ot;
4720
- const [c, f, u, p] = zn(...t), _ = X(u.missingWarn) ? u.missingWarn : e.missingWarn, L = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, g = !!u.part, b = hr(e, u), N = i(
4720
+ const [c, u, f, p] = zn(...t), m = X(f.missingWarn) ? f.missingWarn : e.missingWarn, L = X(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, E = !!f.part, b = hr(e, f), N = i(
4721
4721
  e,
4722
4722
  // eslint-disable-line @typescript-eslint/no-explicit-any
4723
4723
  s,
4724
4724
  b
4725
4725
  );
4726
4726
  if (!D(c) || c === "")
4727
- return new Intl.NumberFormat(b.replace(/!/g, ""), p).format(f);
4728
- let m = {}, O, T = null, y = b, v = null;
4727
+ return new Intl.NumberFormat(b.replace(/!/g, ""), p).format(u);
4728
+ let _ = {}, O, T = null, y = b, v = null;
4729
4729
  const C = "number format";
4730
4730
  for (let M = 0; M < N.length; M++) {
4731
4731
  if (O = v = N[M], process.env.NODE_ENV !== "production" && b !== O && dn(L, c) && o(Ie(te.FALLBACK_TO_NUMBER_FORMAT, {
@@ -4741,16 +4741,16 @@ function Es(e, ...t) {
4741
4741
  groupId: `${C}:${c}`
4742
4742
  });
4743
4743
  }
4744
- if (m = n[O] || {}, T = m[c], j(T))
4744
+ if (_ = n[O] || {}, T = _[c], j(T))
4745
4745
  break;
4746
- Er(e, c, O, _, C), y = v;
4746
+ Er(e, c, O, m, C), y = v;
4747
4747
  }
4748
4748
  if (!j(T) || !D(O))
4749
4749
  return r ? fn : c;
4750
4750
  let h = `${O}__${c}`;
4751
4751
  un(p) || (h = `${h}__${JSON.stringify(p)}`);
4752
4752
  let x = a.get(h);
4753
- return x || (x = new Intl.NumberFormat(O, re({}, T, p)), a.set(h, x)), g ? x.formatToParts(f) : x.format(f);
4753
+ return x || (x = new Intl.NumberFormat(O, re({}, T, p)), a.set(h, x)), E ? x.formatToParts(u) : x.format(u);
4754
4754
  }
4755
4755
  const Po = [
4756
4756
  "localeMatcher",
@@ -4800,45 +4800,45 @@ function Ul(e) {
4800
4800
  return ne(e.named?.count) ? e.named.count : ne(e.named?.n) ? e.named.n : t;
4801
4801
  }
4802
4802
  function Ml(e = {}) {
4803
- const t = e.locale, n = Ul(e), r = D(t) && G(e.pluralRules?.[t]) ? e.pluralRules[t] : Pn, s = r === Pn ? void 0 : Pn, o = (m) => m[r(n, m.length, s)], i = e.list || [], a = (m) => i[m], c = e.named || H();
4803
+ const t = e.locale, n = Ul(e), r = D(t) && G(e.pluralRules?.[t]) ? e.pluralRules[t] : Pn, s = r === Pn ? void 0 : Pn, o = (_) => _[r(n, _.length, s)], i = e.list || [], a = (_) => i[_], c = e.named || H();
4804
4804
  ne(e.pluralIndex) && (c.count ||= e.pluralIndex, c.n ||= e.pluralIndex);
4805
- const f = (m) => c[m];
4806
- function u(m, O) {
4807
- const T = G(e.messages) ? e.messages(m, !!O) : B(e.messages) ? e.messages[m] : !1;
4808
- return T || (e.parent ? e.parent.message(m) : wl);
4805
+ const u = (_) => c[_];
4806
+ function f(_, O) {
4807
+ const T = G(e.messages) ? e.messages(_, !!O) : B(e.messages) ? e.messages[_] : !1;
4808
+ return T || (e.parent ? e.parent.message(_) : wl);
4809
4809
  }
4810
- const p = (m) => e.modifiers ? e.modifiers[m] : Pl, _ = G(e.processor?.normalize) ? e.processor.normalize : kl, L = G(e.processor?.interpolate) ? e.processor.interpolate : Fl, g = D(e.processor?.type) ? e.processor.type : Dl, N = {
4810
+ const p = (_) => e.modifiers ? e.modifiers[_] : Pl, m = G(e.processor?.normalize) ? e.processor.normalize : kl, L = G(e.processor?.interpolate) ? e.processor.interpolate : Fl, E = D(e.processor?.type) ? e.processor.type : Dl, N = {
4811
4811
  list: a,
4812
- named: f,
4812
+ named: u,
4813
4813
  plural: o,
4814
- linked: (m, ...O) => {
4814
+ linked: (_, ...O) => {
4815
4815
  const [T, y] = O;
4816
4816
  let v = "text", C = "";
4817
4817
  O.length === 1 ? B(T) ? (C = T.modifier || C, v = T.type || v) : D(T) && (C = T || C) : O.length === 2 && (D(T) && (C = T || C), D(y) && (v = y || v));
4818
- const h = u(m, !0)(N), x = h === "" || h === void 0 ? m : h, M = (
4818
+ const h = f(_, !0)(N), x = h === "" || h === void 0 ? _ : h, M = (
4819
4819
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
4820
4820
  v === "vnode" && J(x) && C ? x[0] : x
4821
4821
  );
4822
4822
  return C ? p(C)(M, v) : M;
4823
4823
  },
4824
- message: u,
4825
- type: g,
4824
+ message: f,
4825
+ type: E,
4826
4826
  interpolate: L,
4827
- normalize: _,
4827
+ normalize: m,
4828
4828
  values: re(H(), i, c)
4829
4829
  };
4830
4830
  return N;
4831
4831
  }
4832
4832
  const bs = () => "", he = (e) => G(e);
4833
4833
  function ys(e, ...t) {
4834
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: a } = e, [c, f] = Zn(...t), u = X(f.missingWarn) ? f.missingWarn : e.missingWarn, p = X(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, _ = X(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, L = !!f.resolvedMessage, g = D(f.default) || X(f.default) ? X(f.default) ? o ? c : () => c : f.default : n ? o ? c : () => c : null, b = n || g != null && (D(g) || G(g)), N = hr(e, f);
4835
- _ && xl(f);
4836
- let [m, O, T] = L ? [
4834
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: a } = e, [c, u] = Zn(...t), f = X(u.missingWarn) ? u.missingWarn : e.missingWarn, p = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, m = X(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, L = !!u.resolvedMessage, E = D(u.default) || X(u.default) ? X(u.default) ? o ? c : () => c : u.default : n ? o ? c : () => c : null, b = n || E != null && (D(E) || G(E)), N = hr(e, u);
4835
+ m && xl(u);
4836
+ let [_, O, T] = L ? [
4837
4837
  c,
4838
4838
  N,
4839
4839
  a[N] || H()
4840
- ] : wo(e, c, N, i, p, u), y = m, v = c;
4841
- if (!L && !(D(y) || be(y) || he(y)) && b && (y = g, v = y), !L && (!(D(y) || be(y) || he(y)) || !D(O)))
4840
+ ] : wo(e, c, N, i, p, f), y = _, v = c;
4841
+ if (!L && !(D(y) || be(y) || he(y)) && b && (y = E, v = y), !L && (!(D(y) || be(y) || he(y)) || !D(O)))
4842
4842
  return s ? fn : c;
4843
4843
  if (process.env.NODE_ENV !== "production" && D(y) && e.messageCompiler == null)
4844
4844
  return Le(`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 '${c}'.`), c;
@@ -4848,9 +4848,9 @@ function ys(e, ...t) {
4848
4848
  }, x = he(y) ? y : Do(e, c, O, y, v, h);
4849
4849
  if (C)
4850
4850
  return y;
4851
- const M = jl(e, O, T, f), I = Ml(M), P = Vl(e, x, I);
4851
+ const M = jl(e, O, T, u), I = Ml(M), P = Vl(e, x, I);
4852
4852
  let k = r ? r(P, c) : P;
4853
- if (_ && D(k) && (k = ac(k)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
4853
+ if (m && D(k) && (k = ac(k)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
4854
4854
  const q = {
4855
4855
  timestamp: Date.now(),
4856
4856
  key: D(c) ? c : he(y) ? y.key : "",
@@ -4868,24 +4868,24 @@ function xl(e) {
4868
4868
  });
4869
4869
  }
4870
4870
  function wo(e, t, n, r, s, o) {
4871
- const { messages: i, onWarn: a, messageResolver: c, localeFallbacker: f } = e, u = f(e, r, n);
4872
- let p = H(), _, L = null, g = n, b = null;
4871
+ const { messages: i, onWarn: a, messageResolver: c, localeFallbacker: u } = e, f = u(e, r, n);
4872
+ let p = H(), m, L = null, E = n, b = null;
4873
4873
  const N = "translate";
4874
- for (let m = 0; m < u.length; m++) {
4875
- if (_ = b = u[m], process.env.NODE_ENV !== "production" && n !== _ && !vo(n, _) && dn(s, t) && a(Ie(te.FALLBACK_TO_TRANSLATE, {
4874
+ for (let _ = 0; _ < f.length; _++) {
4875
+ if (m = b = f[_], process.env.NODE_ENV !== "production" && n !== m && !vo(n, m) && dn(s, t) && a(Ie(te.FALLBACK_TO_TRANSLATE, {
4876
4876
  key: t,
4877
- target: _
4878
- })), process.env.NODE_ENV !== "production" && n !== _) {
4877
+ target: m
4878
+ })), process.env.NODE_ENV !== "production" && n !== m) {
4879
4879
  const v = e.__v_emitter;
4880
4880
  v && v.emit("fallback", {
4881
4881
  type: N,
4882
4882
  key: t,
4883
- from: g,
4883
+ from: E,
4884
4884
  to: b,
4885
4885
  groupId: `${N}:${t}`
4886
4886
  });
4887
4887
  }
4888
- p = i[_] || H();
4888
+ p = i[m] || H();
4889
4889
  let O = null, T, y;
4890
4890
  if (process.env.NODE_ENV !== "production" && Pe && (O = window.performance.now(), T = "intlify-message-resolve-start", y = "intlify-message-resolve-end", de && de(T)), (L = c(p, t)) === null && (L = p[t]), process.env.NODE_ENV !== "production" && Pe) {
4891
4891
  const v = window.performance.now(), C = e.__v_emitter;
@@ -4899,42 +4899,42 @@ function wo(e, t, n, r, s, o) {
4899
4899
  }
4900
4900
  if (D(L) || be(L) || he(L))
4901
4901
  break;
4902
- if (!Il(_, u)) {
4902
+ if (!Il(m, f)) {
4903
4903
  const v = Er(
4904
4904
  e,
4905
4905
  // eslint-disable-line @typescript-eslint/no-explicit-any
4906
4906
  t,
4907
- _,
4907
+ m,
4908
4908
  o,
4909
4909
  N
4910
4910
  );
4911
4911
  v !== t && (L = v);
4912
4912
  }
4913
- g = b;
4913
+ E = b;
4914
4914
  }
4915
- return [L, _, p];
4915
+ return [L, m, p];
4916
4916
  }
4917
4917
  function Do(e, t, n, r, s, o) {
4918
4918
  const { messageCompiler: i, warnHtmlMessage: a } = e;
4919
4919
  if (he(r)) {
4920
- const _ = r;
4921
- return _.locale = _.locale || n, _.key = _.key || t, _;
4920
+ const m = r;
4921
+ return m.locale = m.locale || n, m.key = m.key || t, m;
4922
4922
  }
4923
4923
  if (i == null) {
4924
- const _ = (() => r);
4925
- return _.locale = n, _.key = t, _;
4924
+ const m = (() => r);
4925
+ return m.locale = n, m.key = t, m;
4926
4926
  }
4927
- let c = null, f, u;
4928
- process.env.NODE_ENV !== "production" && Pe && (c = window.performance.now(), f = "intlify-message-compilation-start", u = "intlify-message-compilation-end", de && de(f));
4927
+ let c = null, u, f;
4928
+ process.env.NODE_ENV !== "production" && Pe && (c = window.performance.now(), u = "intlify-message-compilation-start", f = "intlify-message-compilation-end", de && de(u));
4929
4929
  const p = i(r, $l(e, n, s, r, a, o));
4930
4930
  if (process.env.NODE_ENV !== "production" && Pe) {
4931
- const _ = window.performance.now(), L = e.__v_emitter;
4931
+ const m = window.performance.now(), L = e.__v_emitter;
4932
4932
  L && c && L.emit("message-compilation", {
4933
4933
  type: "message-compilation",
4934
4934
  message: r,
4935
- time: _ - c,
4935
+ time: m - c,
4936
4936
  groupId: `translate:${t}`
4937
- }), f && u && de && Je && (de(u), Je("intlify message compilation", f, u));
4937
+ }), u && f && de && Je && (de(f), Je("intlify message compilation", u, f));
4938
4938
  }
4939
4939
  return p.locale = n, p.key = t, p.source = r, p;
4940
4940
  }
@@ -4967,17 +4967,17 @@ function $l(e, t, n, r, s, o) {
4967
4967
  warnHtmlMessage: s,
4968
4968
  onError: (i) => {
4969
4969
  if (o && o(i), process.env.NODE_ENV !== "production") {
4970
- const a = Bl(r), c = i.location && a && fc(a, i.location.start.offset, i.location.end.offset), f = e.__v_emitter;
4971
- f && a && f.emit("compile-error", {
4970
+ const a = Bl(r), c = i.location && a && fc(a, i.location.start.offset, i.location.end.offset), u = e.__v_emitter;
4971
+ u && a && u.emit("compile-error", {
4972
4972
  message: a,
4973
4973
  error: i.message,
4974
4974
  start: i.location && i.location.start.offset,
4975
4975
  end: i.location && i.location.end.offset,
4976
4976
  groupId: `translate:${n}`
4977
4977
  });
4978
- const u = `Message compilation error: ${i.message}`;
4979
- throw new SyntaxError(c ? `${u}
4980
- ${c}` : u);
4978
+ const f = `Message compilation error: ${i.message}`;
4979
+ throw new SyntaxError(c ? `${f}
4980
+ ${c}` : f);
4981
4981
  }
4982
4982
  throw i;
4983
4983
  },
@@ -4991,21 +4991,21 @@ function Bl(e) {
4991
4991
  return e.loc.source;
4992
4992
  }
4993
4993
  function jl(e, t, n, r) {
4994
- const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: f, fallbackContext: u } = e, _ = {
4994
+ const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: u, fallbackContext: f } = e, m = {
4995
4995
  locale: t,
4996
4996
  modifiers: s,
4997
4997
  pluralRules: o,
4998
- messages: (L, g) => {
4998
+ messages: (L, E) => {
4999
4999
  let b = i(n, L);
5000
- if (b == null && (u || g)) {
5000
+ if (b == null && (f || E)) {
5001
5001
  const [, , N] = wo(
5002
- u || e,
5002
+ f || e,
5003
5003
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
5004
5004
  L,
5005
5005
  t,
5006
5006
  a,
5007
5007
  c,
5008
- f
5008
+ u
5009
5009
  );
5010
5010
  b = i(N, L);
5011
5011
  }
@@ -5018,7 +5018,7 @@ function jl(e, t, n, r) {
5018
5018
  } else return he(b) ? b : bs;
5019
5019
  }
5020
5020
  };
5021
- return e.processor && (_.processor = e.processor), r.list && (_.list = r.list), r.named && (_.named = r.named), ne(r.plural) && (_.pluralIndex = r.plural), _;
5021
+ return e.processor && (m.processor = e.processor), r.list && (m.list = r.list), r.named && (m.named = r.named), ne(r.plural) && (m.pluralIndex = r.plural), m;
5022
5022
  }
5023
5023
  qc();
5024
5024
  const Hl = "11.3.0";
@@ -5127,8 +5127,8 @@ function Fo(e, t) {
5127
5127
  const { messages: n, __i18n: r, messageResolver: s, flatJson: o } = t, i = j(n) ? n : J(r) ? H() : { [e]: H() };
5128
5128
  if (J(r) && r.forEach((a) => {
5129
5129
  if ("locale" in a && "resource" in a) {
5130
- const { locale: c, resource: f } = a;
5131
- c ? (i[c] = i[c] || H(), Mt(f, i[c])) : Mt(f, i);
5130
+ const { locale: c, resource: u } = a;
5131
+ c ? (i[c] = i[c] || H(), Mt(u, i[c])) : Mt(u, i);
5132
5132
  } else
5133
5133
  D(a) && Mt(JSON.parse(a), i);
5134
5134
  }), s == null && o)
@@ -5190,8 +5190,8 @@ function Ql(e = {}) {
5190
5190
  ), c = o(
5191
5191
  // prettier-ignore
5192
5192
  t && i ? t.fallbackLocale.value : D(e.fallbackLocale) || J(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
5193
- ), f = o(Fo(a.value, e)), u = o(j(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = o(j(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
5194
- let _ = t ? t.missingWarn : X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = t ? t.fallbackWarn : X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, g = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, N = G(e.missing) ? e.missing : null, m = G(e.missing) ? As(e.missing) : null, O = G(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
5193
+ ), u = o(Fo(a.value, e)), f = o(j(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = o(j(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
5194
+ let m = t ? t.missingWarn : X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = t ? t.fallbackWarn : X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, N = G(e.missing) ? e.missing : null, _ = G(e.missing) ? As(e.missing) : null, O = G(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
5195
5195
  const v = t ? t.modifiers : j(e.modifiers) ? e.modifiers : {};
5196
5196
  let C = e.pluralRules || t && t.pluralRules, h;
5197
5197
  h = (() => {
@@ -5200,11 +5200,11 @@ function Ql(e = {}) {
5200
5200
  version: Hl,
5201
5201
  locale: a.value,
5202
5202
  fallbackLocale: c.value,
5203
- messages: f.value,
5203
+ messages: u.value,
5204
5204
  modifiers: v,
5205
5205
  pluralRules: C,
5206
- missing: m === null ? void 0 : m,
5207
- missingWarn: _,
5206
+ missing: _ === null ? void 0 : _,
5207
+ missingWarn: m,
5208
5208
  fallbackWarn: L,
5209
5209
  fallbackFormat: b,
5210
5210
  unresolving: !0,
@@ -5215,7 +5215,7 @@ function Ql(e = {}) {
5215
5215
  messageCompiler: e.messageCompiler,
5216
5216
  __meta: { framework: "vue" }
5217
5217
  };
5218
- S.datetimeFormats = u.value, S.numberFormats = p.value, S.__datetimeFormatters = j(h) ? h.__datetimeFormatters : void 0, S.__numberFormatters = j(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (S.__v_emitter = j(h) ? h.__v_emitter : void 0);
5218
+ S.datetimeFormats = f.value, S.numberFormats = p.value, S.__datetimeFormatters = j(h) ? h.__datetimeFormatters : void 0, S.__numberFormatters = j(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (S.__v_emitter = j(h) ? h.__v_emitter : void 0);
5219
5219
  const R = Cl(S);
5220
5220
  return r && ds(R), R;
5221
5221
  })(), pt(h, a.value, c.value);
@@ -5223,8 +5223,8 @@ function Ql(e = {}) {
5223
5223
  return [
5224
5224
  a.value,
5225
5225
  c.value,
5226
- f.value,
5227
5226
  u.value,
5227
+ f.value,
5228
5228
  p.value
5229
5229
  ];
5230
5230
  }
@@ -5238,7 +5238,7 @@ function Ql(e = {}) {
5238
5238
  set: (S) => {
5239
5239
  h.fallbackLocale = S, c.value = S, pt(h, a.value, S);
5240
5240
  }
5241
- }), k = Ue(() => f.value), q = /* @__PURE__ */ Ue(() => u.value), se = /* @__PURE__ */ Ue(() => p.value);
5241
+ }), k = Ue(() => u.value), q = /* @__PURE__ */ Ue(() => f.value), se = /* @__PURE__ */ Ue(() => p.value);
5242
5242
  function Ne() {
5243
5243
  return G(O) ? O : null;
5244
5244
  }
@@ -5249,7 +5249,7 @@ function Ql(e = {}) {
5249
5249
  return N;
5250
5250
  }
5251
5251
  function ee(S) {
5252
- S !== null && (m = As(S)), N = S, h.missing = m;
5252
+ S !== null && (_ = As(S)), N = S, h.missing = _;
5253
5253
  }
5254
5254
  function Z(S, R) {
5255
5255
  return S !== "translate" || !R.resolvedMessage;
@@ -5265,19 +5265,19 @@ function Ql(e = {}) {
5265
5265
  if ($ !== "translate exists" && // for not `te` (e.g `t`)
5266
5266
  ne(pe) && pe === fn || $ === "translate exists" && !pe) {
5267
5267
  const [He, Vo] = R();
5268
- if (process.env.NODE_ENV !== "production" && t && D(He) && Z($, Vo) && (g && (dn(L, He) || Ro(_, He)) && Le(Yt(Ae.FALLBACK_TO_ROOT, {
5268
+ if (process.env.NODE_ENV !== "production" && t && D(He) && Z($, Vo) && (E && (dn(L, He) || Ro(m, He)) && Le(Yt(Ae.FALLBACK_TO_ROOT, {
5269
5269
  key: He,
5270
5270
  type: $
5271
5271
  })), process.env.NODE_ENV !== "production")) {
5272
5272
  const { __v_emitter: Nr } = h;
5273
- Nr && g && Nr.emit("fallback", {
5273
+ Nr && E && Nr.emit("fallback", {
5274
5274
  type: $,
5275
5275
  key: He,
5276
5276
  to: "global",
5277
5277
  groupId: `${$}:${He}`
5278
5278
  });
5279
5279
  }
5280
- return t && g ? Y(t) : Be(He);
5280
+ return t && E ? Y(t) : Be(He);
5281
5281
  } else {
5282
5282
  if (je(pe))
5283
5283
  return pe;
@@ -5346,7 +5346,7 @@ function Ql(e = {}) {
5346
5346
  let R = null;
5347
5347
  const $ = Jn(h, c.value, a.value);
5348
5348
  for (let Y = 0; Y < $.length; Y++) {
5349
- const Be = f.value[$[Y]] || {}, je = h.messageResolver(Be, S);
5349
+ const Be = u.value[$[Y]] || {}, je = h.messageResolver(Be, S);
5350
5350
  if (je != null) {
5351
5351
  R = je;
5352
5352
  break;
@@ -5359,7 +5359,7 @@ function Ql(e = {}) {
5359
5359
  return R ?? (t ? t.tm(S) || {} : {});
5360
5360
  }
5361
5361
  function $e(S) {
5362
- return f.value[S] || {};
5362
+ return u.value[S] || {};
5363
5363
  }
5364
5364
  function ft(S, R) {
5365
5365
  if (s) {
@@ -5368,24 +5368,24 @@ function Ql(e = {}) {
5368
5368
  Ee($, Y) && yt($[Y]);
5369
5369
  R = $[S];
5370
5370
  }
5371
- f.value[S] = R, h.messages = f.value;
5371
+ u.value[S] = R, h.messages = u.value;
5372
5372
  }
5373
5373
  function gn(S, R) {
5374
- f.value[S] = f.value[S] || {};
5374
+ u.value[S] = u.value[S] || {};
5375
5375
  const $ = { [S]: R };
5376
5376
  if (s)
5377
5377
  for (const Y in $)
5378
5378
  Ee($, Y) && yt($[Y]);
5379
- R = $[S], Mt(R, f.value[S]), h.messages = f.value;
5379
+ R = $[S], Mt(R, u.value[S]), h.messages = u.value;
5380
5380
  }
5381
5381
  function l(S) {
5382
- return u.value[S] || {};
5382
+ return f.value[S] || {};
5383
5383
  }
5384
5384
  function d(S, R) {
5385
- u.value[S] = R, h.datetimeFormats = u.value, hs(h, S, R);
5385
+ f.value[S] = R, h.datetimeFormats = f.value, hs(h, S, R);
5386
5386
  }
5387
5387
  function A(S, R) {
5388
- u.value[S] = re(u.value[S] || {}, R), h.datetimeFormats = u.value, hs(h, S, R);
5388
+ f.value[S] = re(f.value[S] || {}, R), h.datetimeFormats = f.value, hs(h, S, R);
5389
5389
  }
5390
5390
  function w(S) {
5391
5391
  return p.value[S] || {};
@@ -5412,7 +5412,7 @@ function Ql(e = {}) {
5412
5412
  i = S, S && t && (a.value = t.locale.value, c.value = t.fallbackLocale.value, pt(h, a.value, c.value));
5413
5413
  },
5414
5414
  get availableLocales() {
5415
- return Object.keys(f.value).sort();
5415
+ return Object.keys(u.value).sort();
5416
5416
  },
5417
5417
  messages: k,
5418
5418
  get modifiers() {
@@ -5425,10 +5425,10 @@ function Ql(e = {}) {
5425
5425
  return r;
5426
5426
  },
5427
5427
  get missingWarn() {
5428
- return _;
5428
+ return m;
5429
5429
  },
5430
5430
  set missingWarn(S) {
5431
- _ = S, h.missingWarn = _;
5431
+ m = S, h.missingWarn = m;
5432
5432
  },
5433
5433
  get fallbackWarn() {
5434
5434
  return L;
@@ -5437,10 +5437,10 @@ function Ql(e = {}) {
5437
5437
  L = S, h.fallbackWarn = L;
5438
5438
  },
5439
5439
  get fallbackRoot() {
5440
- return g;
5440
+ return E;
5441
5441
  },
5442
5442
  set fallbackRoot(S) {
5443
- g = S;
5443
+ E = S;
5444
5444
  },
5445
5445
  get fallbackFormat() {
5446
5446
  return b;
@@ -5527,15 +5527,15 @@ function xo(e, t, n, r) {
5527
5527
  return () => {
5528
5528
  const i = { part: !0 };
5529
5529
  let a = H();
5530
- e.locale && (i.locale = e.locale), D(e.format) ? i.key = e.format : B(e.format) && (D(e.format.key) && (i.key = e.format.key), a = Object.keys(e.format).reduce((_, L) => n.includes(L) ? re(H(), _, { [L]: e.format[L] }) : _, H()));
5530
+ e.locale && (i.locale = e.locale), D(e.format) ? i.key = e.format : B(e.format) && (D(e.format.key) && (i.key = e.format.key), a = Object.keys(e.format).reduce((m, L) => n.includes(L) ? re(H(), m, { [L]: e.format[L] }) : m, H()));
5531
5531
  const c = r(e.value, i, a);
5532
- let f = [i.key];
5533
- J(c) ? f = c.map((_, L) => {
5534
- const g = s[_.type], b = g ? g({ [_.type]: _.value, index: L, parts: c }) : [_.value];
5535
- return Zl(b) && (b[0].key = `${_.type}-${L}`), b;
5536
- }) : D(c) && (f = [c]);
5537
- const u = re(H(), o), p = D(e.tag) || B(e.tag) ? e.tag : Mo();
5538
- return Ps(p, u, f);
5532
+ let u = [i.key];
5533
+ J(c) ? u = c.map((m, L) => {
5534
+ const E = s[m.type], b = E ? E({ [m.type]: m.value, index: L, parts: c }) : [m.value];
5535
+ return Zl(b) && (b[0].key = `${m.type}-${L}`), b;
5536
+ }) : D(c) && (u = [c]);
5537
+ const f = re(H(), o), p = D(e.tag) || B(e.tag) ? e.tag : Mo();
5538
+ return Ps(p, f, u);
5539
5539
  };
5540
5540
  }
5541
5541
  re({
@@ -5637,7 +5637,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
5637
5637
  }
5638
5638
  process.env.NODE_ENV;
5639
5639
  let Kt = null;
5640
- function Lf(e) {
5640
+ function Rf(e) {
5641
5641
  if (Kt !== null) {
5642
5642
  console.warn(
5643
5643
  "[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
@@ -5659,8 +5659,8 @@ function cu(e) {
5659
5659
  __i18n: au().global
5660
5660
  });
5661
5661
  function s(...c) {
5662
- const [f, u, p] = c;
5663
- return t(typeof u == "number" ? `${e}.${f}` : `${e}.${f}`, u, p);
5662
+ const [u, f, p] = c;
5663
+ return t(typeof f == "number" ? `${e}.${u}` : `${e}.${u}`, f, p);
5664
5664
  }
5665
5665
  function o(c) {
5666
5666
  return n(`${e}.${c}`);
@@ -5668,8 +5668,8 @@ function cu(e) {
5668
5668
  function i(c) {
5669
5669
  return r(`${e}.${c}`);
5670
5670
  }
5671
- function a(c, ...f) {
5672
- return o(f[0]) ? s(...f) : c;
5671
+ function a(c, ...u) {
5672
+ return o(u[0]) ? s(...u) : c;
5673
5673
  }
5674
5674
  return {
5675
5675
  t: s,
@@ -5685,48 +5685,52 @@ const lu = /* @__PURE__ */ new Set([
5685
5685
  function uu(e) {
5686
5686
  return Q.isAxiosError(e) && e.response?.status != null && lu.has(e.response.status);
5687
5687
  }
5688
- function fu(e, t) {
5689
- const { t: n } = cu(`${e}.fields.${t}`);
5690
- async function r(p) {
5688
+ function fu(e) {
5689
+ const { t } = cu(e);
5690
+ async function n(p, m, L) {
5691
5691
  try {
5692
- return await Za(e, t, p), !0;
5693
- } catch (_) {
5694
- return uu(_) ? _.response.data.error : n("validation.unknownError");
5692
+ return await Za(p, m, L), !0;
5693
+ } catch (E) {
5694
+ return uu(E) ? E.response.data.error : t("validation.unknownError");
5695
5695
  }
5696
5696
  }
5697
+ function r(p) {
5698
+ return p == null || p === "" ? t("validation.required") : !0;
5699
+ }
5697
5700
  function s(p) {
5698
- return p == null || p === "" ? n("validation.required") : !0;
5701
+ return typeof p != "string" || !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(p) ? t("validation.email") : !0;
5699
5702
  }
5700
- function o(p, _) {
5701
- return p != null && p.length < _ ? n("validation.minLength", { min: _ }) : !0;
5703
+ function o(p, m) {
5704
+ return p != null && p.length < m ? t("validation.minLength", { min: m }) : !0;
5702
5705
  }
5703
- function i(p, _) {
5704
- return p != null && p.length > _ ? n("validation.maxLength", { max: _ }) : !0;
5706
+ function i(p, m) {
5707
+ return p != null && p.length > m ? t("validation.maxLength", { max: m }) : !0;
5705
5708
  }
5706
- function a(p, _) {
5707
- return _ > p ? n("validation.min", { min: _ }) : !0;
5709
+ function a(p, m) {
5710
+ return m > p ? t("validation.min", { min: m }) : !0;
5708
5711
  }
5709
- function c(p, _) {
5710
- return p > _ ? n("validation.max", { max: _ }) : !0;
5712
+ function c(p, m) {
5713
+ return p > m ? t("validation.max", { max: m }) : !0;
5711
5714
  }
5712
- function f(p, _) {
5713
- return new RegExp(_).test(p) ? !0 : n("validation.pattern", { pattern: _.toString() });
5715
+ function u(p, m) {
5716
+ return new RegExp(m).test(p) ? !0 : t("validation.pattern", { pattern: m.toString() });
5714
5717
  }
5715
- function u(p, _) {
5716
- return p == null ? !0 : (typeof p == "object" ? _.some((g) => Yn(p, g)) : _.some((g) => g != null && String(g) === String(p))) ? n("validation.unique") : !0;
5718
+ function f(p, m) {
5719
+ return p == null ? !0 : (typeof p == "object" ? m.some((E) => Yn(p, E)) : m.some((E) => E != null && String(E) === String(p))) ? t("validation.unique") : !0;
5717
5720
  }
5718
5721
  return {
5719
- validateFromApi: r,
5720
- required: s,
5722
+ validateFromApi: n,
5723
+ required: r,
5724
+ email: s,
5721
5725
  minLength: o,
5722
5726
  maxLength: i,
5723
5727
  min: a,
5724
5728
  max: c,
5725
- pattern: f,
5726
- unique: u
5729
+ pattern: u,
5730
+ unique: f
5727
5731
  };
5728
5732
  }
5729
- function Rf() {
5733
+ function vf() {
5730
5734
  function e(t) {
5731
5735
  Vs.next({
5732
5736
  key: "notify",
@@ -5735,7 +5739,7 @@ function Rf() {
5735
5739
  }
5736
5740
  return { Notify: e };
5737
5741
  }
5738
- function vf() {
5742
+ function Cf() {
5739
5743
  function e(n) {
5740
5744
  return {
5741
5745
  page: (n.page || 1) - 1,
@@ -5760,25 +5764,27 @@ function du(e, t) {
5760
5764
  const {
5761
5765
  validateFromApi: n,
5762
5766
  required: r,
5763
- minLength: s,
5764
- maxLength: o,
5765
- min: i,
5766
- max: a,
5767
- pattern: c,
5767
+ email: s,
5768
+ minLength: o,
5769
+ maxLength: i,
5770
+ min: a,
5771
+ max: c,
5772
+ pattern: u,
5768
5773
  unique: f
5769
- } = fu(e, t);
5774
+ } = fu(`${e}.fields.${t}`);
5770
5775
  return {
5771
- validateFromApi: n,
5776
+ validateFromApi: (p) => n(e, t, p),
5772
5777
  required: r,
5773
- min: (u) => (p) => i(typeof p == "string" ? parseFloat(p) : p, u),
5774
- max: (u) => (p) => a(typeof p == "string" ? parseFloat(p) : p, u),
5775
- minLength: (u) => (p) => s(p, u),
5776
- maxLength: (u) => (p) => o(p, u),
5777
- pattern: (u) => (p) => c(p, u),
5778
- unique: (u) => (p) => f(p, u)
5778
+ email: s,
5779
+ min: (p) => (m) => a(typeof m == "string" ? parseFloat(m) : m, p),
5780
+ max: (p) => (m) => c(typeof m == "string" ? parseFloat(m) : m, p),
5781
+ minLength: (p) => (m) => o(m, p),
5782
+ maxLength: (p) => (m) => i(m, p),
5783
+ pattern: (p) => (m) => u(m, p),
5784
+ unique: (p) => (m) => f(m, p)
5779
5785
  };
5780
5786
  }
5781
- function Cf(e, t, n) {
5787
+ function If(e, t, n) {
5782
5788
  if (!t.hasValidations)
5783
5789
  return [];
5784
5790
  const { required: r, validateFromApi: s, ...o } = du(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
@@ -5793,7 +5799,7 @@ function Cf(e, t, n) {
5793
5799
  ];
5794
5800
  }
5795
5801
  let Xt = null;
5796
- function If(e) {
5802
+ function Pf(e) {
5797
5803
  if (Xt !== null) {
5798
5804
  console.warn(
5799
5805
  "[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
@@ -6156,7 +6162,7 @@ const mu = [
6156
6162
  "noErrorFocus",
6157
6163
  "noResetFocus",
6158
6164
  "greedy"
6159
- ], Vu = ["lines", "overline", "caption", "header"], Rs = {
6165
+ ], Vu = ["lines", "overline", "caption", "header"], $u = ["inlineActions", "dense", "rounded", "dark"], Rs = {
6160
6166
  "q-avatar": yu,
6161
6167
  "q-badge": Nu,
6162
6168
  "q-btn": mu,
@@ -6182,7 +6188,8 @@ const mu = [
6182
6188
  "q-tabs": _u,
6183
6189
  "q-toggle": Lu,
6184
6190
  "q-toolbar": gu,
6185
- "q-toolbar-title": bu
6191
+ "q-toolbar-title": bu,
6192
+ "q-banner": $u
6186
6193
  };
6187
6194
  function vs(e, t) {
6188
6195
  return t.split(".").reduce((n, r) => {
@@ -6190,7 +6197,7 @@ function vs(e, t) {
6190
6197
  return n[r];
6191
6198
  }, e);
6192
6199
  }
6193
- function $u(e, t, n) {
6200
+ function Bu(e, t, n) {
6194
6201
  let r = vs(e, `${t}.${n}`);
6195
6202
  if (r === void 0 && (r = vs(e, `default.${n}`)), typeof r == "object")
6196
6203
  throw new Error(
@@ -6198,39 +6205,39 @@ function $u(e, t, n) {
6198
6205
  );
6199
6206
  return r;
6200
6207
  }
6201
- function Bu(e) {
6208
+ function ju(e) {
6202
6209
  if (!(e in Rs))
6203
6210
  throw new Error(
6204
6211
  `[UiDesign] The component '${e}' is not supported for UI design retrieval.`
6205
6212
  );
6206
6213
  return Rs[e];
6207
6214
  }
6208
- function Pf() {
6215
+ function wf() {
6209
6216
  const e = Ue(() => pu());
6210
6217
  function t(n, r, s) {
6211
- const o = Bu(r), i = {};
6218
+ const o = ju(r), i = {};
6212
6219
  for (const a of o) {
6213
- const c = s?.[a] ?? $u(e.value, n, `${r}.${String(a)}`);
6220
+ const c = s?.[a] ?? Bu(e.value, n, `${r}.${String(a)}`);
6214
6221
  c !== void 0 && (i[a] = c);
6215
6222
  }
6216
6223
  return i;
6217
6224
  }
6218
6225
  return { ui: t };
6219
6226
  }
6220
- async function ju() {
6227
+ async function Hu() {
6221
6228
  return (await we().get("/metadata/entities")).data;
6222
6229
  }
6223
- async function wf(e) {
6230
+ async function Df(e) {
6224
6231
  return (await we().get(
6225
6232
  `/metadata/entities/${e}`
6226
6233
  )).data;
6227
6234
  }
6228
- async function Hu() {
6235
+ async function qu() {
6229
6236
  return (await we().get(
6230
6237
  "/metadata/routes"
6231
6238
  )).data;
6232
6239
  }
6233
- const Df = () => qu(en()), qu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6240
+ const kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6234
6241
  state: () => ({
6235
6242
  entities: [],
6236
6243
  apiEndpoints: [],
@@ -6261,8 +6268,8 @@ const Df = () => qu(en()), qu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6261
6268
  this.loading = !0, this.error = null;
6262
6269
  try {
6263
6270
  const [e, t] = await Promise.all([
6264
- ju(),
6265
- Hu()
6271
+ Hu(),
6272
+ qu()
6266
6273
  ]);
6267
6274
  this.entities = e, this.apiEndpoints = t;
6268
6275
  } catch (e) {
@@ -6272,7 +6279,7 @@ const Df = () => qu(en()), qu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6272
6279
  }
6273
6280
  }
6274
6281
  }
6275
- }), kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidUiStore", {
6282
+ }), Ff = () => Gu(en()), Gu = /* @__PURE__ */ Zt("LinidUiStore", {
6276
6283
  state: () => ({
6277
6284
  mainNavigationItems: []
6278
6285
  }),
@@ -6285,7 +6292,7 @@ const Df = () => qu(en()), qu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6285
6292
  this.mainNavigationItems.push(...e);
6286
6293
  }
6287
6294
  }
6288
- }), Ff = () => Gu(en()), Gu = /* @__PURE__ */ Zt("LinidUserStore", {
6295
+ }), Uf = () => Yu(en()), Yu = /* @__PURE__ */ Zt("LinidUserStore", {
6289
6296
  /**
6290
6297
  * State properties of the user store.
6291
6298
  * @returns The initial state of the user store.
@@ -6313,7 +6320,7 @@ const Df = () => qu(en()), qu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6313
6320
  }
6314
6321
  });
6315
6322
  let Jt = null;
6316
- function Uf(e) {
6323
+ function Mf(e) {
6317
6324
  if (Jt !== null) {
6318
6325
  console.warn(
6319
6326
  "[LinID CoreLib] Nunjucks environment has already been initialized. Re-initialization is ignored."
@@ -6322,15 +6329,15 @@ function Uf(e) {
6322
6329
  }
6323
6330
  Jt = e;
6324
6331
  }
6325
- function Mf() {
6332
+ function xf() {
6326
6333
  if (Jt === null)
6327
6334
  throw new Error(
6328
6335
  "[LinID CoreLib] Nunjucks environment is not initialized. Call setNunjucksEnv() first."
6329
6336
  );
6330
6337
  return Jt;
6331
6338
  }
6332
- var Yu = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Yu || {});
6333
- class xf {
6339
+ var Ku = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Ku || {});
6340
+ class Vf {
6334
6341
  /**
6335
6342
  * Unique identifier for the module.
6336
6343
  *
@@ -6434,49 +6441,49 @@ class xf {
6434
6441
  }
6435
6442
  }
6436
6443
  export {
6437
- xf as BasicRemoteModule,
6438
- Qu as LinidZoneRenderer,
6439
- Yu as ModuleLifecyclePhase,
6444
+ Vf as BasicRemoteModule,
6445
+ zu as LinidZoneRenderer,
6446
+ Ku as ModuleLifecyclePhase,
6440
6447
  lo as deepEqual,
6441
6448
  Yn as deepEqualUnordered,
6442
- Tf as deleteEntityById,
6443
- Af as fromDot,
6444
- Hu as getApiEndpointsConfiguration,
6445
- Of as getEntities,
6446
- ju as getEntitiesConfiguration,
6447
- Sf as getEntityById,
6448
- wf as getEntityConfiguration,
6449
+ Af as deleteEntityById,
6450
+ Lf as fromDot,
6451
+ qu as getApiEndpointsConfiguration,
6452
+ Sf as getEntities,
6453
+ Hu as getEntitiesConfiguration,
6454
+ Tf as getEntityById,
6455
+ Df as getEntityConfiguration,
6449
6456
  we as getHttpClient,
6450
6457
  au as getI18nInstance,
6451
6458
  ni as getModuleFederation,
6452
6459
  at as getModuleHostConfiguration,
6453
- Mf as getNunjucksEnv,
6460
+ xf as getNunjucksEnv,
6454
6461
  en as getPiniaStore,
6455
6462
  pu as getUiDesign,
6456
6463
  rt as isObject,
6457
6464
  ri as loadAsyncComponent,
6458
6465
  ec as merge,
6459
- bf as registerModuleHostConfiguration,
6466
+ yf as registerModuleHostConfiguration,
6460
6467
  tc as renameKeys,
6461
- yf as saveEntity,
6462
- gf as setHttpClient,
6463
- Lf as setI18nInstance,
6464
- Xu as setModuleFederation,
6465
- Uf as setNunjucksEnv,
6466
- Ju as setPiniaStore,
6467
- If as setUiDesign,
6468
+ Nf as saveEntity,
6469
+ bf as setHttpClient,
6470
+ Rf as setI18nInstance,
6471
+ Ju as setModuleFederation,
6472
+ Mf as setNunjucksEnv,
6473
+ Qu as setPiniaStore,
6474
+ Pf as setUiDesign,
6468
6475
  Vs as uiEventSubject,
6469
- Nf as updateEntity,
6470
- zu as useDialog,
6476
+ Of as updateEntity,
6477
+ Zu as useDialog,
6471
6478
  fu as useFieldValidation,
6472
- Df as useLinidConfigurationStore,
6473
- kf as useLinidUiStore,
6474
- Ff as useLinidUserStore,
6479
+ kf as useLinidConfigurationStore,
6480
+ Ff as useLinidUiStore,
6481
+ Uf as useLinidUserStore,
6475
6482
  ai as useLinidZoneStore,
6476
- Rf as useNotify,
6477
- vf as usePagination,
6483
+ vf as useNotify,
6484
+ Cf as usePagination,
6478
6485
  du as useQuasarFieldValidation,
6479
- Cf as useQuasarRules,
6486
+ If as useQuasarRules,
6480
6487
  cu as useScopedI18n,
6481
- Pf as useUiDesign
6488
+ wf as useUiDesign
6482
6489
  };