@morghulis/core 1.0.30 → 1.0.31

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.
@@ -1792,26 +1792,26 @@ var Ec = Object.create, qa = Object.defineProperty, xc = Object.getOwnPropertyDe
1792
1792
  "¤": "tien te"
1793
1793
  }
1794
1794
  }, i = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), u = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(y, E) {
1795
- var V = "-", D = "", C = "", A = !0, N = {}, $, P, U, T, I, B, q, Z, de, ne, G, ae, oe, Ne, pe = "";
1795
+ var V = "-", D = "", C = "", A = !0, F = {}, $, P, U, T, I, B, q, Z, de, ne, G, ae, oe, Ne, pe = "";
1796
1796
  if (typeof y != "string")
1797
1797
  return "";
1798
1798
  if (typeof E == "string" && (V = E), q = r.en, Z = a.en, typeof E == "object") {
1799
- $ = E.maintainCase || !1, N = E.custom && typeof E.custom == "object" ? E.custom : N, U = +E.truncate > 1 && E.truncate || !1, T = E.uric || !1, I = E.uricNoSlash || !1, B = E.mark || !1, A = !(E.symbols === !1 || E.lang === !1), V = E.separator || V, T && (pe += i), I && (pe += u), B && (pe += c), q = E.lang && r[E.lang] && A ? r[E.lang] : A ? r.en : {}, Z = E.lang && a[E.lang] ? a[E.lang] : E.lang === !1 || E.lang === !0 ? {} : a.en, E.titleCase && typeof E.titleCase.length == "number" && Array.prototype.toString.call(E.titleCase) ? (E.titleCase.forEach(function(me) {
1800
- N[me + ""] = me + "";
1799
+ $ = E.maintainCase || !1, F = E.custom && typeof E.custom == "object" ? E.custom : F, U = +E.truncate > 1 && E.truncate || !1, T = E.uric || !1, I = E.uricNoSlash || !1, B = E.mark || !1, A = !(E.symbols === !1 || E.lang === !1), V = E.separator || V, T && (pe += i), I && (pe += u), B && (pe += c), q = E.lang && r[E.lang] && A ? r[E.lang] : A ? r.en : {}, Z = E.lang && a[E.lang] ? a[E.lang] : E.lang === !1 || E.lang === !0 ? {} : a.en, E.titleCase && typeof E.titleCase.length == "number" && Array.prototype.toString.call(E.titleCase) ? (E.titleCase.forEach(function(me) {
1800
+ F[me + ""] = me + "";
1801
1801
  }), P = !0) : P = !!E.titleCase, E.custom && typeof E.custom.length == "number" && Array.prototype.toString.call(E.custom) && E.custom.forEach(function(me) {
1802
- N[me + ""] = me + "";
1803
- }), Object.keys(N).forEach(function(me) {
1802
+ F[me + ""] = me + "";
1803
+ }), Object.keys(F).forEach(function(me) {
1804
1804
  var He;
1805
- me.length > 1 ? He = new RegExp("\\b" + g(me) + "\\b", "gi") : He = new RegExp(g(me), "gi"), y = y.replace(He, N[me]);
1805
+ me.length > 1 ? He = new RegExp("\\b" + g(me) + "\\b", "gi") : He = new RegExp(g(me), "gi"), y = y.replace(He, F[me]);
1806
1806
  });
1807
- for (G in N)
1807
+ for (G in F)
1808
1808
  pe += G;
1809
1809
  }
1810
1810
  for (pe += V, pe = g(pe), y = y.replace(/(^\s+|\s+$)/g, ""), oe = !1, Ne = !1, ne = 0, ae = y.length; ne < ae; ne++)
1811
- G = y[ne], p(G, N) ? oe = !1 : Z[G] ? (G = oe && Z[G].match(/[A-Za-z0-9]/) ? " " + Z[G] : Z[G], oe = !1) : G in o ? (ne + 1 < ae && l.indexOf(y[ne + 1]) >= 0 ? (C += G, G = "") : Ne === !0 ? (G = s[C] + o[G], C = "") : G = oe && o[G].match(/[A-Za-z0-9]/) ? " " + o[G] : o[G], oe = !1, Ne = !1) : G in s ? (C += G, G = "", ne === ae - 1 && (G = s[C]), Ne = !0) : /* process symbol chars */ q[G] && !(T && i.indexOf(G) !== -1) && !(I && u.indexOf(G) !== -1) ? (G = oe || D.substr(-1).match(/[A-Za-z0-9]/) ? V + q[G] : q[G], G += y[ne + 1] !== void 0 && y[ne + 1].match(/[A-Za-z0-9]/) ? V : "", oe = !0) : (Ne === !0 ? (G = s[C] + G, C = "", Ne = !1) : oe && (/[A-Za-z0-9]/.test(G) || D.substr(-1).match(/A-Za-z0-9]/)) && (G = " " + G), oe = !1), D += G.replace(new RegExp("[^\\w\\s" + pe + "_-]", "g"), V);
1811
+ G = y[ne], p(G, F) ? oe = !1 : Z[G] ? (G = oe && Z[G].match(/[A-Za-z0-9]/) ? " " + Z[G] : Z[G], oe = !1) : G in o ? (ne + 1 < ae && l.indexOf(y[ne + 1]) >= 0 ? (C += G, G = "") : Ne === !0 ? (G = s[C] + o[G], C = "") : G = oe && o[G].match(/[A-Za-z0-9]/) ? " " + o[G] : o[G], oe = !1, Ne = !1) : G in s ? (C += G, G = "", ne === ae - 1 && (G = s[C]), Ne = !0) : /* process symbol chars */ q[G] && !(T && i.indexOf(G) !== -1) && !(I && u.indexOf(G) !== -1) ? (G = oe || D.substr(-1).match(/[A-Za-z0-9]/) ? V + q[G] : q[G], G += y[ne + 1] !== void 0 && y[ne + 1].match(/[A-Za-z0-9]/) ? V : "", oe = !0) : (Ne === !0 ? (G = s[C] + G, C = "", Ne = !1) : oe && (/[A-Za-z0-9]/.test(G) || D.substr(-1).match(/A-Za-z0-9]/)) && (G = " " + G), oe = !1), D += G.replace(new RegExp("[^\\w\\s" + pe + "_-]", "g"), V);
1812
1812
  return P && (D = D.replace(/(\w)(\S*)/g, function(me, He, st) {
1813
1813
  var vt = He.toUpperCase() + (st !== null ? st : "");
1814
- return Object.keys(N).indexOf(vt.toLowerCase()) < 0 ? vt : vt.toLowerCase();
1814
+ return Object.keys(F).indexOf(vt.toLowerCase()) < 0 ? vt : vt.toLowerCase();
1815
1815
  })), D = D.replace(/\s+/g, V).replace(new RegExp("\\" + V + "+", "g"), V).replace(new RegExp("(^\\" + V + "+|\\" + V + "+$)", "g"), ""), U && D.length > U && (de = D.charAt(U) === V, D = D.slice(0, U), de || (D = D.slice(0, D.lastIndexOf(V)))), !$ && !P && (D = D.toLowerCase()), D;
1816
1816
  }, _ = function(y) {
1817
1817
  return function(V) {
@@ -4268,7 +4268,7 @@ function go(e, t, n = {}, o, l, s) {
4268
4268
  getters: {},
4269
4269
  state: [],
4270
4270
  hotState: v
4271
- }), N = {
4271
+ }), F = {
4272
4272
  _p: o,
4273
4273
  // _s: scope,
4274
4274
  $id: e,
@@ -4292,10 +4292,10 @@ function go(e, t, n = {}, o, l, s) {
4292
4292
  _customProperties: it(/* @__PURE__ */ new Set())
4293
4293
  // devtools custom properties
4294
4294
  },
4295
- N
4295
+ F
4296
4296
  // must be added later
4297
4297
  // setupStore
4298
- ) : N);
4298
+ ) : F);
4299
4299
  o._s.set(e, $);
4300
4300
  const U = (o._a && o._a.runWithContext || xp)(() => o._e.run(() => (a = Ia()).run(() => t({ action: C }))));
4301
4301
  for (const T in U) {
@@ -4888,7 +4888,7 @@ const kf = (e) => {
4888
4888
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
4889
4889
  typeof setImmediate == "function",
4890
4890
  xe(ct.postMessage)
4891
- ), Cf = typeof queueMicrotask < "u" ? queueMicrotask.bind(ct) : typeof process < "u" && process.nextTick || js, Of = (e) => e != null && xe(e[Nn]), F = {
4891
+ ), Cf = typeof queueMicrotask < "u" ? queueMicrotask.bind(ct) : typeof process < "u" && process.nextTick || js, Of = (e) => e != null && xe(e[Nn]), N = {
4892
4892
  isArray: It,
4893
4893
  isArrayBuffer: Us,
4894
4894
  isBuffer: nn,
@@ -4951,7 +4951,7 @@ const kf = (e) => {
4951
4951
  function ee(e, t, n, o, l) {
4952
4952
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), o && (this.request = o), l && (this.response = l, this.status = l.status ? l.status : null);
4953
4953
  }
4954
- F.inherits(ee, Error, {
4954
+ N.inherits(ee, Error, {
4955
4955
  toJSON: function() {
4956
4956
  return {
4957
4957
  // Standard
@@ -4966,7 +4966,7 @@ F.inherits(ee, Error, {
4966
4966
  columnNumber: this.columnNumber,
4967
4967
  stack: this.stack,
4968
4968
  // Axios
4969
- config: F.toJSONObject(this.config),
4969
+ config: N.toJSONObject(this.config),
4970
4970
  code: this.code,
4971
4971
  status: this.status
4972
4972
  };
@@ -4994,7 +4994,7 @@ Object.defineProperties(ee, Hs);
4994
4994
  Object.defineProperty(qs, "isAxiosError", { value: !0 });
4995
4995
  ee.from = (e, t, n, o, l, s) => {
4996
4996
  const a = Object.create(qs);
4997
- F.toFlatObject(e, a, function(c) {
4997
+ N.toFlatObject(e, a, function(c) {
4998
4998
  return c !== Error.prototype;
4999
4999
  }, (u) => u !== "isAxiosError");
5000
5000
  const r = e && e.message ? e.message : "Error", i = t == null && e ? e.code : t;
@@ -5002,10 +5002,10 @@ ee.from = (e, t, n, o, l, s) => {
5002
5002
  };
5003
5003
  const Sf = null;
5004
5004
  function vo(e) {
5005
- return F.isPlainObject(e) || F.isArray(e);
5005
+ return N.isPlainObject(e) || N.isArray(e);
5006
5006
  }
5007
5007
  function Ks(e) {
5008
- return F.endsWith(e, "[]") ? e.slice(0, -2) : e;
5008
+ return N.endsWith(e, "[]") ? e.slice(0, -2) : e;
5009
5009
  }
5010
5010
  function ma(e, t, n) {
5011
5011
  return e ? e.concat(t).map(function(l, s) {
@@ -5013,42 +5013,42 @@ function ma(e, t, n) {
5013
5013
  }).join(n ? "." : "") : t;
5014
5014
  }
5015
5015
  function $f(e) {
5016
- return F.isArray(e) && !e.some(vo);
5016
+ return N.isArray(e) && !e.some(vo);
5017
5017
  }
5018
- const Vf = F.toFlatObject(F, {}, null, function(t) {
5018
+ const Vf = N.toFlatObject(N, {}, null, function(t) {
5019
5019
  return /^is[A-Z]/.test(t);
5020
5020
  });
5021
5021
  function Ln(e, t, n) {
5022
- if (!F.isObject(e))
5022
+ if (!N.isObject(e))
5023
5023
  throw new TypeError("target must be an object");
5024
- t = t || new FormData(), n = F.toFlatObject(n, {
5024
+ t = t || new FormData(), n = N.toFlatObject(n, {
5025
5025
  metaTokens: !0,
5026
5026
  dots: !1,
5027
5027
  indexes: !1
5028
5028
  }, !1, function(v, y) {
5029
- return !F.isUndefined(y[v]);
5029
+ return !N.isUndefined(y[v]);
5030
5030
  });
5031
- const o = n.metaTokens, l = n.visitor || c, s = n.dots, a = n.indexes, i = (n.Blob || typeof Blob < "u" && Blob) && F.isSpecCompliantForm(t);
5032
- if (!F.isFunction(l))
5031
+ const o = n.metaTokens, l = n.visitor || c, s = n.dots, a = n.indexes, i = (n.Blob || typeof Blob < "u" && Blob) && N.isSpecCompliantForm(t);
5032
+ if (!N.isFunction(l))
5033
5033
  throw new TypeError("visitor must be a function");
5034
5034
  function u(p) {
5035
5035
  if (p === null) return "";
5036
- if (F.isDate(p))
5036
+ if (N.isDate(p))
5037
5037
  return p.toISOString();
5038
- if (F.isBoolean(p))
5038
+ if (N.isBoolean(p))
5039
5039
  return p.toString();
5040
- if (!i && F.isBlob(p))
5040
+ if (!i && N.isBlob(p))
5041
5041
  throw new ee("Blob is not supported. Use a Buffer instead.");
5042
- return F.isArrayBuffer(p) || F.isTypedArray(p) ? i && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
5042
+ return N.isArrayBuffer(p) || N.isTypedArray(p) ? i && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
5043
5043
  }
5044
5044
  function c(p, v, y) {
5045
5045
  let E = p;
5046
5046
  if (p && !y && typeof p == "object") {
5047
- if (F.endsWith(v, "{}"))
5047
+ if (N.endsWith(v, "{}"))
5048
5048
  v = o ? v : v.slice(0, -2), p = JSON.stringify(p);
5049
- else if (F.isArray(p) && $f(p) || (F.isFileList(p) || F.endsWith(v, "[]")) && (E = F.toArray(p)))
5049
+ else if (N.isArray(p) && $f(p) || (N.isFileList(p) || N.endsWith(v, "[]")) && (E = N.toArray(p)))
5050
5050
  return v = Ks(v), E.forEach(function(D, C) {
5051
- !(F.isUndefined(D) || D === null) && t.append(
5051
+ !(N.isUndefined(D) || D === null) && t.append(
5052
5052
  // eslint-disable-next-line no-nested-ternary
5053
5053
  a === !0 ? ma([v], C, s) : a === null ? v : v + "[]",
5054
5054
  u(D)
@@ -5063,21 +5063,21 @@ function Ln(e, t, n) {
5063
5063
  isVisitable: vo
5064
5064
  });
5065
5065
  function g(p, v) {
5066
- if (!F.isUndefined(p)) {
5066
+ if (!N.isUndefined(p)) {
5067
5067
  if (d.indexOf(p) !== -1)
5068
5068
  throw Error("Circular reference detected in " + v.join("."));
5069
- d.push(p), F.forEach(p, function(E, V) {
5070
- (!(F.isUndefined(E) || E === null) && l.call(
5069
+ d.push(p), N.forEach(p, function(E, V) {
5070
+ (!(N.isUndefined(E) || E === null) && l.call(
5071
5071
  t,
5072
5072
  E,
5073
- F.isString(V) ? V.trim() : V,
5073
+ N.isString(V) ? V.trim() : V,
5074
5074
  v,
5075
5075
  _
5076
5076
  )) === !0 && g(E, v ? v.concat(V) : [V]);
5077
5077
  }), d.pop();
5078
5078
  }
5079
5079
  }
5080
- if (!F.isObject(e))
5080
+ if (!N.isObject(e))
5081
5081
  throw new TypeError("data must be an object");
5082
5082
  return g(e), t;
5083
5083
  }
@@ -5117,12 +5117,12 @@ function Ws(e, t, n) {
5117
5117
  if (!t)
5118
5118
  return e;
5119
5119
  const o = n && n.encode || Tf;
5120
- F.isFunction(n) && (n = {
5120
+ N.isFunction(n) && (n = {
5121
5121
  serialize: n
5122
5122
  });
5123
5123
  const l = n && n.serialize;
5124
5124
  let s;
5125
- if (l ? s = l(t, n) : s = F.isURLSearchParams(t) ? t.toString() : new Lo(t, n).toString(o), s) {
5125
+ if (l ? s = l(t, n) : s = N.isURLSearchParams(t) ? t.toString() : new Lo(t, n).toString(o), s) {
5126
5126
  const a = e.indexOf("#");
5127
5127
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
5128
5128
  }
@@ -5177,7 +5177,7 @@ class ga {
5177
5177
  * @returns {void}
5178
5178
  */
5179
5179
  forEach(t) {
5180
- F.forEach(this.handlers, function(o) {
5180
+ N.forEach(this.handlers, function(o) {
5181
5181
  o !== null && t(o);
5182
5182
  });
5183
5183
  }
@@ -5209,13 +5209,13 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Nf
5209
5209
  function Bf(e, t) {
5210
5210
  return Ln(e, new be.classes.URLSearchParams(), {
5211
5211
  visitor: function(n, o, l, s) {
5212
- return be.isNode && F.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
5212
+ return be.isNode && N.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
5213
5213
  },
5214
5214
  ...t
5215
5215
  });
5216
5216
  }
5217
5217
  function Lf(e) {
5218
- return F.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
5218
+ return N.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
5219
5219
  }
5220
5220
  function zf(e) {
5221
5221
  const t = {}, n = Object.keys(e);
@@ -5231,20 +5231,20 @@ function Js(e) {
5231
5231
  let a = n[s++];
5232
5232
  if (a === "__proto__") return !0;
5233
5233
  const r = Number.isFinite(+a), i = s >= n.length;
5234
- return a = !a && F.isArray(l) ? l.length : a, i ? (F.hasOwnProp(l, a) ? l[a] = [l[a], o] : l[a] = o, !r) : ((!l[a] || !F.isObject(l[a])) && (l[a] = []), t(n, o, l[a], s) && F.isArray(l[a]) && (l[a] = zf(l[a])), !r);
5234
+ return a = !a && N.isArray(l) ? l.length : a, i ? (N.hasOwnProp(l, a) ? l[a] = [l[a], o] : l[a] = o, !r) : ((!l[a] || !N.isObject(l[a])) && (l[a] = []), t(n, o, l[a], s) && N.isArray(l[a]) && (l[a] = zf(l[a])), !r);
5235
5235
  }
5236
- if (F.isFormData(e) && F.isFunction(e.entries)) {
5236
+ if (N.isFormData(e) && N.isFunction(e.entries)) {
5237
5237
  const n = {};
5238
- return F.forEachEntry(e, (o, l) => {
5238
+ return N.forEachEntry(e, (o, l) => {
5239
5239
  t(Lf(o), l, n, 0);
5240
5240
  }), n;
5241
5241
  }
5242
5242
  return null;
5243
5243
  }
5244
5244
  function Mf(e, t, n) {
5245
- if (F.isString(e))
5245
+ if (N.isString(e))
5246
5246
  try {
5247
- return (t || JSON.parse)(e), F.trim(e);
5247
+ return (t || JSON.parse)(e), N.trim(e);
5248
5248
  } catch (o) {
5249
5249
  if (o.name !== "SyntaxError")
5250
5250
  throw o;
@@ -5255,20 +5255,20 @@ const an = {
5255
5255
  transitional: Gs,
5256
5256
  adapter: ["xhr", "http", "fetch"],
5257
5257
  transformRequest: [function(t, n) {
5258
- const o = n.getContentType() || "", l = o.indexOf("application/json") > -1, s = F.isObject(t);
5259
- if (s && F.isHTMLForm(t) && (t = new FormData(t)), F.isFormData(t))
5258
+ const o = n.getContentType() || "", l = o.indexOf("application/json") > -1, s = N.isObject(t);
5259
+ if (s && N.isHTMLForm(t) && (t = new FormData(t)), N.isFormData(t))
5260
5260
  return l ? JSON.stringify(Js(t)) : t;
5261
- if (F.isArrayBuffer(t) || F.isBuffer(t) || F.isStream(t) || F.isFile(t) || F.isBlob(t) || F.isReadableStream(t))
5261
+ if (N.isArrayBuffer(t) || N.isBuffer(t) || N.isStream(t) || N.isFile(t) || N.isBlob(t) || N.isReadableStream(t))
5262
5262
  return t;
5263
- if (F.isArrayBufferView(t))
5263
+ if (N.isArrayBufferView(t))
5264
5264
  return t.buffer;
5265
- if (F.isURLSearchParams(t))
5265
+ if (N.isURLSearchParams(t))
5266
5266
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
5267
5267
  let r;
5268
5268
  if (s) {
5269
5269
  if (o.indexOf("application/x-www-form-urlencoded") > -1)
5270
5270
  return Bf(t, this.formSerializer).toString();
5271
- if ((r = F.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
5271
+ if ((r = N.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
5272
5272
  const i = this.env && this.env.FormData;
5273
5273
  return Ln(
5274
5274
  r ? { "files[]": t } : t,
@@ -5281,9 +5281,9 @@ const an = {
5281
5281
  }],
5282
5282
  transformResponse: [function(t) {
5283
5283
  const n = this.transitional || an.transitional, o = n && n.forcedJSONParsing, l = this.responseType === "json";
5284
- if (F.isResponse(t) || F.isReadableStream(t))
5284
+ if (N.isResponse(t) || N.isReadableStream(t))
5285
5285
  return t;
5286
- if (t && F.isString(t) && (o && !this.responseType || l)) {
5286
+ if (t && N.isString(t) && (o && !this.responseType || l)) {
5287
5287
  const a = !(n && n.silentJSONParsing) && l;
5288
5288
  try {
5289
5289
  return JSON.parse(t, this.parseReviver);
@@ -5317,10 +5317,10 @@ const an = {
5317
5317
  }
5318
5318
  }
5319
5319
  };
5320
- F.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
5320
+ N.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
5321
5321
  an.headers[e] = {};
5322
5322
  });
5323
- const jf = F.toObjectSet([
5323
+ const jf = N.toObjectSet([
5324
5324
  "age",
5325
5325
  "authorization",
5326
5326
  "content-length",
@@ -5350,7 +5350,7 @@ function Mt(e) {
5350
5350
  return e && String(e).trim().toLowerCase();
5351
5351
  }
5352
5352
  function bn(e) {
5353
- return e === !1 || e == null ? e : F.isArray(e) ? e.map(bn) : String(e);
5353
+ return e === !1 || e == null ? e : N.isArray(e) ? e.map(bn) : String(e);
5354
5354
  }
5355
5355
  function Hf(e) {
5356
5356
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -5361,12 +5361,12 @@ function Hf(e) {
5361
5361
  }
5362
5362
  const Kf = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
5363
5363
  function Zn(e, t, n, o, l) {
5364
- if (F.isFunction(o))
5364
+ if (N.isFunction(o))
5365
5365
  return o.call(this, t, n);
5366
- if (l && (t = n), !!F.isString(t)) {
5367
- if (F.isString(o))
5366
+ if (l && (t = n), !!N.isString(t)) {
5367
+ if (N.isString(o))
5368
5368
  return t.indexOf(o) !== -1;
5369
- if (F.isRegExp(o))
5369
+ if (N.isRegExp(o))
5370
5370
  return o.test(t);
5371
5371
  }
5372
5372
  }
@@ -5374,7 +5374,7 @@ function Yf(e) {
5374
5374
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, o) => n.toUpperCase() + o);
5375
5375
  }
5376
5376
  function Wf(e, t) {
5377
- const n = F.toCamelCase(" " + t);
5377
+ const n = N.toCamelCase(" " + t);
5378
5378
  ["get", "set", "has"].forEach((o) => {
5379
5379
  Object.defineProperty(e, o + n, {
5380
5380
  value: function(l, s, a) {
@@ -5394,20 +5394,20 @@ let Ce = class {
5394
5394
  const c = Mt(i);
5395
5395
  if (!c)
5396
5396
  throw new Error("header name must be a non-empty string");
5397
- const d = F.findKey(l, c);
5397
+ const d = N.findKey(l, c);
5398
5398
  (!d || l[d] === void 0 || u === !0 || u === void 0 && l[d] !== !1) && (l[d || i] = bn(r));
5399
5399
  }
5400
- const a = (r, i) => F.forEach(r, (u, c) => s(u, c, i));
5401
- if (F.isPlainObject(t) || t instanceof this.constructor)
5400
+ const a = (r, i) => N.forEach(r, (u, c) => s(u, c, i));
5401
+ if (N.isPlainObject(t) || t instanceof this.constructor)
5402
5402
  a(t, n);
5403
- else if (F.isString(t) && (t = t.trim()) && !Kf(t))
5403
+ else if (N.isString(t) && (t = t.trim()) && !Kf(t))
5404
5404
  a(qf(t), n);
5405
- else if (F.isObject(t) && F.isIterable(t)) {
5405
+ else if (N.isObject(t) && N.isIterable(t)) {
5406
5406
  let r = {}, i, u;
5407
5407
  for (const c of t) {
5408
- if (!F.isArray(c))
5408
+ if (!N.isArray(c))
5409
5409
  throw TypeError("Object iterator must return a key-value pair");
5410
- r[u = c[0]] = (i = r[u]) ? F.isArray(i) ? [...i, c[1]] : [i, c[1]] : c[1];
5410
+ r[u = c[0]] = (i = r[u]) ? N.isArray(i) ? [...i, c[1]] : [i, c[1]] : c[1];
5411
5411
  }
5412
5412
  a(r, n);
5413
5413
  } else
@@ -5416,16 +5416,16 @@ let Ce = class {
5416
5416
  }
5417
5417
  get(t, n) {
5418
5418
  if (t = Mt(t), t) {
5419
- const o = F.findKey(this, t);
5419
+ const o = N.findKey(this, t);
5420
5420
  if (o) {
5421
5421
  const l = this[o];
5422
5422
  if (!n)
5423
5423
  return l;
5424
5424
  if (n === !0)
5425
5425
  return Hf(l);
5426
- if (F.isFunction(n))
5426
+ if (N.isFunction(n))
5427
5427
  return n.call(this, l, o);
5428
- if (F.isRegExp(n))
5428
+ if (N.isRegExp(n))
5429
5429
  return n.exec(l);
5430
5430
  throw new TypeError("parser must be boolean|regexp|function");
5431
5431
  }
@@ -5433,7 +5433,7 @@ let Ce = class {
5433
5433
  }
5434
5434
  has(t, n) {
5435
5435
  if (t = Mt(t), t) {
5436
- const o = F.findKey(this, t);
5436
+ const o = N.findKey(this, t);
5437
5437
  return !!(o && this[o] !== void 0 && (!n || Zn(this, this[o], o, n)));
5438
5438
  }
5439
5439
  return !1;
@@ -5443,11 +5443,11 @@ let Ce = class {
5443
5443
  let l = !1;
5444
5444
  function s(a) {
5445
5445
  if (a = Mt(a), a) {
5446
- const r = F.findKey(o, a);
5446
+ const r = N.findKey(o, a);
5447
5447
  r && (!n || Zn(o, o[r], r, n)) && (delete o[r], l = !0);
5448
5448
  }
5449
5449
  }
5450
- return F.isArray(t) ? t.forEach(s) : s(t), l;
5450
+ return N.isArray(t) ? t.forEach(s) : s(t), l;
5451
5451
  }
5452
5452
  clear(t) {
5453
5453
  const n = Object.keys(this);
@@ -5460,8 +5460,8 @@ let Ce = class {
5460
5460
  }
5461
5461
  normalize(t) {
5462
5462
  const n = this, o = {};
5463
- return F.forEach(this, (l, s) => {
5464
- const a = F.findKey(o, s);
5463
+ return N.forEach(this, (l, s) => {
5464
+ const a = N.findKey(o, s);
5465
5465
  if (a) {
5466
5466
  n[a] = bn(l), delete n[s];
5467
5467
  return;
@@ -5475,8 +5475,8 @@ let Ce = class {
5475
5475
  }
5476
5476
  toJSON(t) {
5477
5477
  const n = /* @__PURE__ */ Object.create(null);
5478
- return F.forEach(this, (o, l) => {
5479
- o != null && o !== !1 && (n[l] = t && F.isArray(o) ? o.join(", ") : o);
5478
+ return N.forEach(this, (o, l) => {
5479
+ o != null && o !== !1 && (n[l] = t && N.isArray(o) ? o.join(", ") : o);
5480
5480
  }), n;
5481
5481
  }
5482
5482
  [Symbol.iterator]() {
@@ -5507,11 +5507,11 @@ let Ce = class {
5507
5507
  const r = Mt(a);
5508
5508
  o[r] || (Wf(l, a), o[r] = !0);
5509
5509
  }
5510
- return F.isArray(t) ? t.forEach(s) : s(t), this;
5510
+ return N.isArray(t) ? t.forEach(s) : s(t), this;
5511
5511
  }
5512
5512
  };
5513
5513
  Ce.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
5514
- F.reduceDescriptors(Ce.prototype, ({ value: e }, t) => {
5514
+ N.reduceDescriptors(Ce.prototype, ({ value: e }, t) => {
5515
5515
  let n = t[0].toUpperCase() + t.slice(1);
5516
5516
  return {
5517
5517
  get: () => e,
@@ -5520,11 +5520,11 @@ F.reduceDescriptors(Ce.prototype, ({ value: e }, t) => {
5520
5520
  }
5521
5521
  };
5522
5522
  });
5523
- F.freezeMethods(Ce);
5523
+ N.freezeMethods(Ce);
5524
5524
  function Qn(e, t) {
5525
5525
  const n = this || an, o = t || n, l = Ce.from(o.headers);
5526
5526
  let s = o.data;
5527
- return F.forEach(e, function(r) {
5527
+ return N.forEach(e, function(r) {
5528
5528
  s = r.call(n, s, l.normalize(), t ? t.status : void 0);
5529
5529
  }), l.normalize(), s;
5530
5530
  }
@@ -5534,7 +5534,7 @@ function Xs(e) {
5534
5534
  function Pt(e, t, n) {
5535
5535
  ee.call(this, e ?? "canceled", ee.ERR_CANCELED, t, n), this.name = "CanceledError";
5536
5536
  }
5537
- F.inherits(Pt, ee, {
5537
+ N.inherits(Pt, ee, {
5538
5538
  __CANCEL__: !0
5539
5539
  });
5540
5540
  function Zs(e, t, n) {
@@ -5605,7 +5605,7 @@ const Cn = (e, t, n = 3) => {
5605
5605
  total: e,
5606
5606
  loaded: o
5607
5607
  }), t[1]];
5608
- }, ya = (e) => (...t) => F.asap(() => e(...t)), Zf = be.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, be.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
5608
+ }, ya = (e) => (...t) => N.asap(() => e(...t)), Zf = be.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, be.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
5609
5609
  new URL(be.origin),
5610
5610
  be.navigator && /(msie|trident)/i.test(be.navigator.userAgent)
5611
5611
  ) : () => !0, Qf = be.hasStandardBrowserEnv ? (
@@ -5614,7 +5614,7 @@ const Cn = (e, t, n = 3) => {
5614
5614
  write(e, t, n, o, l, s, a) {
5615
5615
  if (typeof document > "u") return;
5616
5616
  const r = [`${e}=${encodeURIComponent(t)}`];
5617
- F.isNumber(n) && r.push(`expires=${new Date(n).toUTCString()}`), F.isString(o) && r.push(`path=${o}`), F.isString(l) && r.push(`domain=${l}`), s === !0 && r.push("secure"), F.isString(a) && r.push(`SameSite=${a}`), document.cookie = r.join("; ");
5617
+ N.isNumber(n) && r.push(`expires=${new Date(n).toUTCString()}`), N.isString(o) && r.push(`path=${o}`), N.isString(l) && r.push(`domain=${l}`), s === !0 && r.push("secure"), N.isString(a) && r.push(`SameSite=${a}`), document.cookie = r.join("; ");
5618
5618
  },
5619
5619
  read(e) {
5620
5620
  if (typeof document > "u") return null;
@@ -5652,21 +5652,21 @@ function mt(e, t) {
5652
5652
  t = t || {};
5653
5653
  const n = {};
5654
5654
  function o(u, c, d, _) {
5655
- return F.isPlainObject(u) && F.isPlainObject(c) ? F.merge.call({ caseless: _ }, u, c) : F.isPlainObject(c) ? F.merge({}, c) : F.isArray(c) ? c.slice() : c;
5655
+ return N.isPlainObject(u) && N.isPlainObject(c) ? N.merge.call({ caseless: _ }, u, c) : N.isPlainObject(c) ? N.merge({}, c) : N.isArray(c) ? c.slice() : c;
5656
5656
  }
5657
5657
  function l(u, c, d, _) {
5658
- if (F.isUndefined(c)) {
5659
- if (!F.isUndefined(u))
5658
+ if (N.isUndefined(c)) {
5659
+ if (!N.isUndefined(u))
5660
5660
  return o(void 0, u, d, _);
5661
5661
  } else return o(u, c, d, _);
5662
5662
  }
5663
5663
  function s(u, c) {
5664
- if (!F.isUndefined(c))
5664
+ if (!N.isUndefined(c))
5665
5665
  return o(void 0, c);
5666
5666
  }
5667
5667
  function a(u, c) {
5668
- if (F.isUndefined(c)) {
5669
- if (!F.isUndefined(u))
5668
+ if (N.isUndefined(c)) {
5669
+ if (!N.isUndefined(u))
5670
5670
  return o(void 0, u);
5671
5671
  } else return o(void 0, c);
5672
5672
  }
@@ -5707,9 +5707,9 @@ function mt(e, t) {
5707
5707
  validateStatus: r,
5708
5708
  headers: (u, c, d) => l(ba(u), ba(c), d, !0)
5709
5709
  };
5710
- return F.forEach(Object.keys({ ...e, ...t }), function(c) {
5710
+ return N.forEach(Object.keys({ ...e, ...t }), function(c) {
5711
5711
  const d = i[c] || l, _ = d(e[c], t[c], c);
5712
- F.isUndefined(_) && d !== r || (n[c] = _);
5712
+ N.isUndefined(_) && d !== r || (n[c] = _);
5713
5713
  }), n;
5714
5714
  }
5715
5715
  const er = (e) => {
@@ -5718,17 +5718,17 @@ const er = (e) => {
5718
5718
  if (t.headers = a = Ce.from(a), t.url = Ws(Qs(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), r && a.set(
5719
5719
  "Authorization",
5720
5720
  "Basic " + btoa((r.username || "") + ":" + (r.password ? unescape(encodeURIComponent(r.password)) : ""))
5721
- ), F.isFormData(n)) {
5721
+ ), N.isFormData(n)) {
5722
5722
  if (be.hasStandardBrowserEnv || be.hasStandardBrowserWebWorkerEnv)
5723
5723
  a.setContentType(void 0);
5724
- else if (F.isFunction(n.getHeaders)) {
5724
+ else if (N.isFunction(n.getHeaders)) {
5725
5725
  const i = n.getHeaders(), u = ["content-type", "content-length"];
5726
5726
  Object.entries(i).forEach(([c, d]) => {
5727
5727
  u.includes(c.toLowerCase()) && a.set(c, d);
5728
5728
  });
5729
5729
  }
5730
5730
  }
5731
- if (be.hasStandardBrowserEnv && (o && F.isFunction(o) && (o = o(t)), o || o !== !1 && Zf(t.url))) {
5731
+ if (be.hasStandardBrowserEnv && (o && N.isFunction(o) && (o = o(t)), o || o !== !1 && Zf(t.url))) {
5732
5732
  const i = l && s && Qf.read(s);
5733
5733
  i && a.set(l, i);
5734
5734
  }
@@ -5768,8 +5768,8 @@ const er = (e) => {
5768
5768
  }, y.onabort = function() {
5769
5769
  y && (o(new ee("Request aborted", ee.ECONNABORTED, e, y)), y = null);
5770
5770
  }, y.onerror = function(C) {
5771
- const A = C && C.message ? C.message : "Network Error", N = new ee(A, ee.ERR_NETWORK, e, y);
5772
- N.event = C || null, o(N), y = null;
5771
+ const A = C && C.message ? C.message : "Network Error", F = new ee(A, ee.ERR_NETWORK, e, y);
5772
+ F.event = C || null, o(F), y = null;
5773
5773
  }, y.ontimeout = function() {
5774
5774
  let C = l.timeout ? "timeout of " + l.timeout + "ms exceeded" : "timeout exceeded";
5775
5775
  const A = l.transitional || Gs;
@@ -5779,9 +5779,9 @@ const er = (e) => {
5779
5779
  e,
5780
5780
  y
5781
5781
  )), y = null;
5782
- }, s === void 0 && a.setContentType(null), "setRequestHeader" in y && F.forEach(a.toJSON(), function(C, A) {
5782
+ }, s === void 0 && a.setContentType(null), "setRequestHeader" in y && N.forEach(a.toJSON(), function(C, A) {
5783
5783
  y.setRequestHeader(A, C);
5784
- }), F.isUndefined(l.withCredentials) || (y.withCredentials = !!l.withCredentials), r && r !== "json" && (y.responseType = l.responseType), u && ([_, p] = Cn(u, !0), y.addEventListener("progress", _)), i && y.upload && ([d, g] = Cn(i), y.upload.addEventListener("progress", d), y.upload.addEventListener("loadend", g)), (l.cancelToken || l.signal) && (c = (D) => {
5784
+ }), N.isUndefined(l.withCredentials) || (y.withCredentials = !!l.withCredentials), r && r !== "json" && (y.responseType = l.responseType), u && ([_, p] = Cn(u, !0), y.addEventListener("progress", _)), i && y.upload && ([d, g] = Cn(i), y.upload.addEventListener("progress", d), y.upload.addEventListener("loadend", g)), (l.cancelToken || l.signal) && (c = (D) => {
5785
5785
  y && (o(!D || D.type ? new Pt(null, e, y) : D), y.abort(), y = null);
5786
5786
  }, l.cancelToken && l.cancelToken.subscribe(c), l.signal && (l.signal.aborted ? c() : l.signal.addEventListener("abort", c)));
5787
5787
  const V = Gf(l.url);
@@ -5812,7 +5812,7 @@ const er = (e) => {
5812
5812
  };
5813
5813
  e.forEach((u) => u.addEventListener("abort", s));
5814
5814
  const { signal: i } = o;
5815
- return i.unsubscribe = () => F.asap(r), i;
5815
+ return i.unsubscribe = () => N.asap(r), i;
5816
5816
  }
5817
5817
  }, am = function* (e, t) {
5818
5818
  let n = e.byteLength;
@@ -5871,20 +5871,20 @@ const er = (e) => {
5871
5871
  }, {
5872
5872
  highWaterMark: 2
5873
5873
  });
5874
- }, ka = 64 * 1024, { isFunction: cn } = F, im = (({ Request: e, Response: t }) => ({
5874
+ }, ka = 64 * 1024, { isFunction: cn } = N, im = (({ Request: e, Response: t }) => ({
5875
5875
  Request: e,
5876
5876
  Response: t
5877
- }))(F.global), {
5877
+ }))(N.global), {
5878
5878
  ReadableStream: Ea,
5879
5879
  TextEncoder: xa
5880
- } = F.global, Ca = (e, ...t) => {
5880
+ } = N.global, Ca = (e, ...t) => {
5881
5881
  try {
5882
5882
  return !!e(...t);
5883
5883
  } catch {
5884
5884
  return !1;
5885
5885
  }
5886
5886
  }, um = (e) => {
5887
- e = F.merge.call({
5887
+ e = N.merge.call({
5888
5888
  skipUndefined: !0
5889
5889
  }, im, e);
5890
5890
  const { fetch: t, Request: n, Response: o } = e, l = t ? cn(t) : typeof fetch == "function", s = cn(n), a = cn(o);
@@ -5900,7 +5900,7 @@ const er = (e) => {
5900
5900
  }
5901
5901
  }).headers.has("Content-Type");
5902
5902
  return p && !v;
5903
- }), c = a && r && Ca(() => F.isReadableStream(new o("").body)), d = {
5903
+ }), c = a && r && Ca(() => N.isReadableStream(new o("").body)), d = {
5904
5904
  stream: c && ((p) => p.body)
5905
5905
  };
5906
5906
  l && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((p) => {
@@ -5914,19 +5914,19 @@ const er = (e) => {
5914
5914
  const _ = async (p) => {
5915
5915
  if (p == null)
5916
5916
  return 0;
5917
- if (F.isBlob(p))
5917
+ if (N.isBlob(p))
5918
5918
  return p.size;
5919
- if (F.isSpecCompliantForm(p))
5919
+ if (N.isSpecCompliantForm(p))
5920
5920
  return (await new n(be.origin, {
5921
5921
  method: "POST",
5922
5922
  body: p
5923
5923
  }).arrayBuffer()).byteLength;
5924
- if (F.isArrayBufferView(p) || F.isArrayBuffer(p))
5924
+ if (N.isArrayBufferView(p) || N.isArrayBuffer(p))
5925
5925
  return p.byteLength;
5926
- if (F.isURLSearchParams(p) && (p = p + ""), F.isString(p))
5926
+ if (N.isURLSearchParams(p) && (p = p + ""), N.isString(p))
5927
5927
  return (await i(p)).byteLength;
5928
5928
  }, g = async (p, v) => {
5929
- const y = F.toFiniteNumber(p.getContentLength());
5929
+ const y = N.toFiniteNumber(p.getContentLength());
5930
5930
  return y ?? _(v);
5931
5931
  };
5932
5932
  return async (p) => {
@@ -5938,7 +5938,7 @@ const er = (e) => {
5938
5938
  cancelToken: D,
5939
5939
  timeout: C,
5940
5940
  onDownloadProgress: A,
5941
- onUploadProgress: N,
5941
+ onUploadProgress: F,
5942
5942
  responseType: $,
5943
5943
  headers: P,
5944
5944
  withCredentials: U = "same-origin",
@@ -5951,21 +5951,21 @@ const er = (e) => {
5951
5951
  });
5952
5952
  let de;
5953
5953
  try {
5954
- if (N && u && y !== "get" && y !== "head" && (de = await g(P, E)) !== 0) {
5954
+ if (F && u && y !== "get" && y !== "head" && (de = await g(P, E)) !== 0) {
5955
5955
  let pe = new n(v, {
5956
5956
  method: "POST",
5957
5957
  body: E,
5958
5958
  duplex: "half"
5959
5959
  }), me;
5960
- if (F.isFormData(E) && (me = pe.headers.get("content-type")) && P.setContentType(me), pe.body) {
5960
+ if (N.isFormData(E) && (me = pe.headers.get("content-type")) && P.setContentType(me), pe.body) {
5961
5961
  const [He, st] = va(
5962
5962
  de,
5963
- Cn(ya(N))
5963
+ Cn(ya(F))
5964
5964
  );
5965
5965
  E = wa(pe.body, ka, He, st);
5966
5966
  }
5967
5967
  }
5968
- F.isString(U) || (U = U ? "include" : "omit");
5968
+ N.isString(U) || (U = U ? "include" : "omit");
5969
5969
  const ne = s && "credentials" in n.prototype, G = {
5970
5970
  ...T,
5971
5971
  signal: B,
@@ -5983,7 +5983,7 @@ const er = (e) => {
5983
5983
  ["status", "statusText", "headers"].forEach((vt) => {
5984
5984
  pe[vt] = ae[vt];
5985
5985
  });
5986
- const me = F.toFiniteNumber(ae.headers.get("content-length")), [He, st] = A && va(
5986
+ const me = N.toFiniteNumber(ae.headers.get("content-length")), [He, st] = A && va(
5987
5987
  me,
5988
5988
  Cn(ya(A), !0)
5989
5989
  ) || [];
@@ -5995,7 +5995,7 @@ const er = (e) => {
5995
5995
  );
5996
5996
  }
5997
5997
  $ = $ || "text";
5998
- let Ne = await d[F.findKey(d, $) || "text"](ae, p);
5998
+ let Ne = await d[N.findKey(d, $) || "text"](ae, p);
5999
5999
  return !oe && Z && Z(), await new Promise((pe, me) => {
6000
6000
  Zs(pe, me, {
6001
6001
  data: Ne,
@@ -6035,7 +6035,7 @@ const Mo = {
6035
6035
  get: tr
6036
6036
  }
6037
6037
  };
6038
- F.forEach(Mo, (e, t) => {
6038
+ N.forEach(Mo, (e, t) => {
6039
6039
  if (e) {
6040
6040
  try {
6041
6041
  Object.defineProperty(e, "name", { value: t });
@@ -6044,9 +6044,9 @@ F.forEach(Mo, (e, t) => {
6044
6044
  Object.defineProperty(e, "adapterName", { value: t });
6045
6045
  }
6046
6046
  });
6047
- const Oa = (e) => `- ${e}`, dm = (e) => F.isFunction(e) || e === null || e === !1;
6047
+ const Oa = (e) => `- ${e}`, dm = (e) => N.isFunction(e) || e === null || e === !1;
6048
6048
  function pm(e, t) {
6049
- e = F.isArray(e) ? e : [e];
6049
+ e = N.isArray(e) ? e : [e];
6050
6050
  const { length: n } = e;
6051
6051
  let o, l;
6052
6052
  const s = {};
@@ -6055,7 +6055,7 @@ function pm(e, t) {
6055
6055
  let r;
6056
6056
  if (l = o, !dm(o) && (l = Mo[(r = String(o)).toLowerCase()], l === void 0))
6057
6057
  throw new ee(`Unknown adapter '${r}'`);
6058
- if (l && (F.isFunction(l) || (l = l.get(t))))
6058
+ if (l && (N.isFunction(l) || (l = l.get(t))))
6059
6059
  break;
6060
6060
  s[r || "#" + a] = l;
6061
6061
  }
@@ -6195,7 +6195,7 @@ let dt = class {
6195
6195
  silentJSONParsing: Be.transitional(Be.boolean),
6196
6196
  forcedJSONParsing: Be.transitional(Be.boolean),
6197
6197
  clarifyTimeoutError: Be.transitional(Be.boolean)
6198
- }, !1), l != null && (F.isFunction(l) ? n.paramsSerializer = {
6198
+ }, !1), l != null && (N.isFunction(l) ? n.paramsSerializer = {
6199
6199
  serialize: l
6200
6200
  } : wn.assertOptions(l, {
6201
6201
  encode: Be.function,
@@ -6204,11 +6204,11 @@ let dt = class {
6204
6204
  baseUrl: Be.spelling("baseURL"),
6205
6205
  withXsrfToken: Be.spelling("withXSRFToken")
6206
6206
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
6207
- let a = s && F.merge(
6207
+ let a = s && N.merge(
6208
6208
  s.common,
6209
6209
  s[n.method]
6210
6210
  );
6211
- s && F.forEach(
6211
+ s && N.forEach(
6212
6212
  ["delete", "get", "head", "post", "put", "patch", "common"],
6213
6213
  (p) => {
6214
6214
  delete s[p];
@@ -6256,7 +6256,7 @@ let dt = class {
6256
6256
  return Ws(n, t.params, t.paramsSerializer);
6257
6257
  }
6258
6258
  };
6259
- F.forEach(["delete", "get", "head", "options"], function(t) {
6259
+ N.forEach(["delete", "get", "head", "options"], function(t) {
6260
6260
  dt.prototype[t] = function(n, o) {
6261
6261
  return this.request(mt(o || {}, {
6262
6262
  method: t,
@@ -6265,7 +6265,7 @@ F.forEach(["delete", "get", "head", "options"], function(t) {
6265
6265
  }));
6266
6266
  };
6267
6267
  });
6268
- F.forEach(["post", "put", "patch"], function(t) {
6268
+ N.forEach(["post", "put", "patch"], function(t) {
6269
6269
  function n(o) {
6270
6270
  return function(s, a, r) {
6271
6271
  return this.request(mt(r || {}, {
@@ -6359,7 +6359,7 @@ function _m(e) {
6359
6359
  };
6360
6360
  }
6361
6361
  function gm(e) {
6362
- return F.isObject(e) && e.isAxiosError === !0;
6362
+ return N.isObject(e) && e.isAxiosError === !0;
6363
6363
  }
6364
6364
  const bo = {
6365
6365
  Continue: 100,
@@ -6437,7 +6437,7 @@ Object.entries(bo).forEach(([e, t]) => {
6437
6437
  });
6438
6438
  function ar(e) {
6439
6439
  const t = new dt(e), n = Fs(dt.prototype.request, t);
6440
- return F.extend(n, dt.prototype, t, { allOwnKeys: !0 }), F.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(l) {
6440
+ return N.extend(n, dt.prototype, t, { allOwnKeys: !0 }), N.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(l) {
6441
6441
  return ar(mt(e, l));
6442
6442
  }, n;
6443
6443
  }
@@ -6457,7 +6457,7 @@ ue.spread = _m;
6457
6457
  ue.isAxiosError = gm;
6458
6458
  ue.mergeConfig = mt;
6459
6459
  ue.AxiosHeaders = Ce;
6460
- ue.formToJSON = (e) => Js(F.isHTMLForm(e) ? new FormData(e) : e);
6460
+ ue.formToJSON = (e) => Js(N.isHTMLForm(e) ? new FormData(e) : e);
6461
6461
  ue.getAdapter = nr.getAdapter;
6462
6462
  ue.HttpStatusCode = bo;
6463
6463
  ue.default = ue;
@@ -6595,30 +6595,30 @@ function ym() {
6595
6595
  })(), i = /* @__PURE__ */ (function() {
6596
6596
  var p = ["Webkit", "O", "Moz", "ms"], v = {};
6597
6597
  function y(C) {
6598
- return C.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(A, N) {
6599
- return N.toUpperCase();
6598
+ return C.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(A, F) {
6599
+ return F.toUpperCase();
6600
6600
  });
6601
6601
  }
6602
6602
  function E(C) {
6603
6603
  var A = document.body.style;
6604
6604
  if (C in A) return C;
6605
- for (var N = p.length, $ = C.charAt(0).toUpperCase() + C.slice(1), P; N--; )
6606
- if (P = p[N] + $, P in A) return P;
6605
+ for (var F = p.length, $ = C.charAt(0).toUpperCase() + C.slice(1), P; F--; )
6606
+ if (P = p[F] + $, P in A) return P;
6607
6607
  return C;
6608
6608
  }
6609
6609
  function V(C) {
6610
6610
  return C = y(C), v[C] || (v[C] = E(C));
6611
6611
  }
6612
- function D(C, A, N) {
6613
- A = V(A), C.style[A] = N;
6612
+ function D(C, A, F) {
6613
+ A = V(A), C.style[A] = F;
6614
6614
  }
6615
6615
  return function(C, A) {
6616
- var N = arguments, $, P;
6617
- if (N.length == 2)
6616
+ var F = arguments, $, P;
6617
+ if (F.length == 2)
6618
6618
  for ($ in A)
6619
6619
  P = A[$], P !== void 0 && A.hasOwnProperty($) && D(C, $, P);
6620
6620
  else
6621
- D(C, N[1], N[2]);
6621
+ D(C, F[1], F[2]);
6622
6622
  };
6623
6623
  })();
6624
6624
  function u(p, v) {
@@ -7132,7 +7132,7 @@ function Ae(e) {
7132
7132
  const E = d[y] || {}, V = E.domain;
7133
7133
  if (ge.DOMAINS.multiple.includes(V)) {
7134
7134
  const D = `${y}_set`, C = v[D], { label: A } = E.refer;
7135
- return C.map((N) => N[A]).join(";");
7135
+ return C.map((F) => F[A]).join(";");
7136
7136
  } else if (ge.DOMAINS.referred.includes(V)) {
7137
7137
  const D = y.replace("_id", ""), C = v[D], { label: A } = E.refer;
7138
7138
  return C ? C[A] : null;
@@ -7582,7 +7582,7 @@ function Ho(e, t, n) {
7582
7582
  const P = $?.length ? [new Te({ id__in: $ })] : p.value;
7583
7583
  v.delete_many(P);
7584
7584
  }
7585
- function N($) {
7585
+ function F($) {
7586
7586
  l.value.total + $.length > 200 && t.value.type === "table" && (t.value.size = 10);
7587
7587
  const P = $.map((U) => ({ ...U, ...d.value }));
7588
7588
  v.save_many(P);
@@ -7602,7 +7602,7 @@ function Ho(e, t, n) {
7602
7602
  init: D,
7603
7603
  reload: C,
7604
7604
  delete_many: A,
7605
- save_many: N,
7605
+ save_many: F,
7606
7606
  switching: i
7607
7607
  };
7608
7608
  }
@@ -10023,13 +10023,13 @@ const br = (e = "/api/") => ({
10023
10023
  function d(A) {
10024
10024
  c.value.data = A;
10025
10025
  }
10026
- function _(A, N) {
10026
+ function _(A, F) {
10027
10027
  c.value = {
10028
- title: N?.title || l.title || "对话框",
10029
- info: N?.info || l.info,
10028
+ title: F?.title || l.title || "对话框",
10029
+ info: F?.info || l.info,
10030
10030
  data: Qe(A || {}),
10031
10031
  raw: A,
10032
- width: N?.width || l.width
10032
+ width: F?.width || l.width
10033
10033
  }, i.visible = !0;
10034
10034
  }
10035
10035
  function g() {
@@ -10054,7 +10054,7 @@ const br = (e = "/api/") => ({
10054
10054
  i.fullscreen = !i.fullscreen;
10055
10055
  }
10056
10056
  const C = { open: _, close: g, confirm: p, cancel: E, getData: V, expand: D, unload: v };
10057
- return t({ open: _, close: g, confirm: p, cancel: E, getData: V, expand: D, load: y }), (A, N) => {
10057
+ return t({ open: _, close: g, confirm: p, cancel: E, getData: V, expand: D, load: y }), (A, F) => {
10058
10058
  const $ = w("el-text"), P = w("el-space"), U = w("el-dialog"), T = Tt("loading");
10059
10059
  return b(), k(U, {
10060
10060
  ref_key: "dialog",
@@ -10065,7 +10065,7 @@ const br = (e = "/api/") => ({
10065
10065
  "body-class": "m-dialog-body",
10066
10066
  "footer-class": "m-dialog-footer",
10067
10067
  modelValue: i.visible,
10068
- "onUpdate:modelValue": N[0] || (N[0] = (I) => i.visible = I),
10068
+ "onUpdate:modelValue": F[0] || (F[0] = (I) => i.visible = I),
10069
10069
  width: c.value.width,
10070
10070
  top: e.top,
10071
10071
  fullscreen: i.fullscreen,
@@ -10077,9 +10077,9 @@ const br = (e = "/api/") => ({
10077
10077
  "close-on-press-escape": !1,
10078
10078
  "show-close": !1,
10079
10079
  draggable: !0,
10080
- onOpened: N[1] || (N[1] = (I) => s.value = !0),
10081
- onClose: N[2] || (N[2] = (I) => h(o)("closed")),
10082
- onKeydown: N[3] || (N[3] = Le((I) => E(), ["esc"]))
10080
+ onOpened: F[1] || (F[1] = (I) => s.value = !0),
10081
+ onClose: F[2] || (F[2] = (I) => h(o)("closed")),
10082
+ onKeydown: F[3] || (F[3] = Le((I) => E(), ["esc"]))
10083
10083
  }, ko({
10084
10084
  header: f(() => [
10085
10085
  Ye((b(), k(Vm, {
@@ -10571,8 +10571,8 @@ function zm(e) {
10571
10571
  a.value[_] = t.value.item[_];
10572
10572
  }
10573
10573
  function d(_, g, p) {
10574
- const { prop: v, domain: y, not_null: E } = _, V = Sn(g[v]), D = Sn(p[v]), C = Dn(V) ? !1 : V == null, A = (t.value.keys?.length || 0) > 1, N = ge.DOMAINS.multiple.includes(y) || A ? !1 : C && E, $ = !Ie(D, V);
10575
- return { prop: v, invalid: N, value: V, changed: $ };
10574
+ const { prop: v, domain: y, not_null: E } = _, V = Sn(g[v]), D = Sn(p[v]), C = Dn(V) ? !1 : V == null, A = (t.value.keys?.length || 0) > 1, F = ge.DOMAINS.multiple.includes(y) || A ? !1 : C && E, $ = !Ie(D, V);
10575
+ return { prop: v, invalid: F, value: V, changed: $ };
10576
10576
  }
10577
10577
  return { fields: n, bean: a, $disabled: o, mapping: r, row: l, data: u, reset: c, invalid: i };
10578
10578
  }
@@ -12764,8 +12764,8 @@ const Or = /* @__PURE__ */ R({
12764
12764
  A == null ? (Q.warning("请注意非空值"), C(!1)) : A.length ? (l.rest.save_many(A), C()) : (Q.warning("数据无变化,是否关闭?"), C(!1));
12765
12765
  }
12766
12766
  function u(D, C) {
12767
- const { keys: A, insert: N } = D;
12768
- N && l.rest.delete_one(A[0]), C();
12767
+ const { keys: A, insert: F } = D;
12768
+ F && l.rest.delete_one(A[0]), C();
12769
12769
  }
12770
12770
  function c(D) {
12771
12771
  const C = D.map((P) => P.id), A = [];
@@ -12780,19 +12780,19 @@ const Or = /* @__PURE__ */ R({
12780
12780
  return new Promise((C) => {
12781
12781
  if (D) {
12782
12782
  const A = xo({ saved: !1 }, l.core);
12783
- l.rest.insert_one(A).then((N) => C([N])).finally(l.collector.clear);
12783
+ l.rest.insert_one(A).then((F) => C([F])).finally(l.collector.clear);
12784
12784
  } else
12785
12785
  l.rest.find(r.value).then((A) => C(A));
12786
12786
  });
12787
12787
  }
12788
12788
  function _(D, C) {
12789
12789
  d(D).then((A) => {
12790
- const { keys: N, item: $ } = c(A);
12790
+ const { keys: F, item: $ } = c(A);
12791
12791
  if (C) {
12792
12792
  const P = Object.keys(l.core);
12793
12793
  Object.assign($, ve(C, P));
12794
12794
  }
12795
- s.value?.open({ insert: D, keys: N, item: $ });
12795
+ s.value?.open({ insert: D, keys: F, item: $ });
12796
12796
  });
12797
12797
  }
12798
12798
  function g() {
@@ -12809,8 +12809,8 @@ const Or = /* @__PURE__ */ R({
12809
12809
  const U = C[P];
12810
12810
  U != null && A.push([$, U]);
12811
12811
  });
12812
- const N = JSON.stringify(Object.fromEntries(A));
12813
- y(N).then(() => Q.success("所选数据已存入剪切板"));
12812
+ const F = JSON.stringify(Object.fromEntries(A));
12813
+ y(F).then(() => Q.success("所选数据已存入剪切板"));
12814
12814
  }
12815
12815
  return t({ controller: {
12816
12816
  insert: (D) => _(!0, D),
@@ -12819,7 +12819,7 @@ const Or = /* @__PURE__ */ R({
12819
12819
  clone: () => l.selection.length ? p() : Q.warning("请选择数据"),
12820
12820
  paste: () => l.selection.length ? E() : Q.warning("请选择数据")
12821
12821
  } }), (D, C) => {
12822
- const A = w("el-text"), N = w("el-tag"), $ = w("el-space");
12822
+ const A = w("el-text"), F = w("el-tag"), $ = w("el-space");
12823
12823
  return b(), M(H, null, [
12824
12824
  e.error ? K("", !0) : (b(), k(Or, {
12825
12825
  key: 0,
@@ -12860,7 +12860,7 @@ const Or = /* @__PURE__ */ R({
12860
12860
  ])]),
12861
12861
  _: 1
12862
12862
  }),
12863
- m(N, {
12863
+ m(F, {
12864
12864
  type: "primary",
12865
12865
  hit: "",
12866
12866
  size: "small",
@@ -13157,7 +13157,7 @@ const Or = /* @__PURE__ */ R({
13157
13157
  }
13158
13158
  const _ = () => o("confirm");
13159
13159
  return t({ getData: d }), (g, p) => {
13160
- const v = w("el-segmented"), y = w("el-text"), E = w("el-option"), V = w("el-select"), D = w("el-space"), C = w("el-checkbox"), A = w("el-input-tag"), N = w("el-input"), $ = w("el-col"), P = w("el-row"), U = w("el-divider");
13160
+ const v = w("el-segmented"), y = w("el-text"), E = w("el-option"), V = w("el-select"), D = w("el-space"), C = w("el-checkbox"), A = w("el-input-tag"), F = w("el-input"), $ = w("el-col"), P = w("el-row"), U = w("el-divider");
13161
13161
  return b(), M(H, null, [
13162
13162
  te("div", F_, [
13163
13163
  m(v, {
@@ -13228,7 +13228,7 @@ const Or = /* @__PURE__ */ R({
13228
13228
  default: f(() => [
13229
13229
  m($, { span: 11 }, {
13230
13230
  default: f(() => [
13231
- m(N, {
13231
+ m(F, {
13232
13232
  modelValue: i.value.value.from,
13233
13233
  "onUpdate:modelValue": p[4] || (p[4] = (T) => i.value.value.from = T),
13234
13234
  onKeyup: Le(_, ["enter"])
@@ -13247,7 +13247,7 @@ const Or = /* @__PURE__ */ R({
13247
13247
  }),
13248
13248
  m($, { span: 11 }, {
13249
13249
  default: f(() => [
13250
- m(N, {
13250
+ m(F, {
13251
13251
  modelValue: i.value.value.to,
13252
13252
  "onUpdate:modelValue": p[5] || (p[5] = (T) => i.value.value.to = T),
13253
13253
  onKeyup: Le(_, ["enter"])
@@ -13257,7 +13257,7 @@ const Or = /* @__PURE__ */ R({
13257
13257
  })
13258
13258
  ]),
13259
13259
  _: 1
13260
- })) : (b(), k(N, {
13260
+ })) : (b(), k(F, {
13261
13261
  key: 3,
13262
13262
  size: "large",
13263
13263
  modelValue: i.value.value,
@@ -13619,7 +13619,7 @@ const Or = /* @__PURE__ */ R({
13619
13619
  u.value = !1, i.value = !1;
13620
13620
  }
13621
13621
  return (g, p) => {
13622
- const v = w("el-checkbox"), y = w("el-space"), E = w("el-radio"), V = w("el-radio-group"), D = w("el-col"), C = w("el-text"), A = w("el-table-column"), N = w("el-tooltip"), $ = w("el-table"), P = w("el-pagination"), U = w("el-row");
13622
+ const v = w("el-checkbox"), y = w("el-space"), E = w("el-radio"), V = w("el-radio-group"), D = w("el-col"), C = w("el-text"), A = w("el-table-column"), F = w("el-tooltip"), $ = w("el-table"), P = w("el-pagination"), U = w("el-row");
13623
13623
  return b(), k(U, null, {
13624
13624
  default: f(() => [
13625
13625
  e.rows.length ? (b(), k(D, {
@@ -13746,7 +13746,7 @@ const Or = /* @__PURE__ */ R({
13746
13746
  resizable: !1
13747
13747
  }, {
13748
13748
  header: f(() => [
13749
- m(N, null, {
13749
+ m(F, null, {
13750
13750
  content: f(() => [
13751
13751
  S(z(T.label) + "/" + z(T.tool) + "/" + z(T.format), 1)
13752
13752
  ]),
@@ -13874,16 +13874,16 @@ function Y_(e) {
13874
13874
  const { fromMode: a } = Ae(t.value.view), r = O(() => {
13875
13875
  const { $modes: y, $fields: E } = t.value.view, V = [];
13876
13876
  return (n.value.hasId || n.value.isUpdate) && V.push(a(y.id)), n.value.hasSort && V.push(a(y.sort)), Object.values(E).filter((D) => {
13877
- const { prop: C, allow_update: A, allow_upload: N } = D, $ = !["id", "sort"].includes(C), P = n.value.isUpdate ? A : N;
13877
+ const { prop: C, allow_update: A, allow_upload: F } = D, $ = !["id", "sort"].includes(C), P = n.value.isUpdate ? A : F;
13878
13878
  return $ && P;
13879
13879
  }).forEach((D) => {
13880
- let { domain: C, prop: A, label: N, not_null: $, format: P } = D;
13880
+ let { domain: C, prop: A, label: F, not_null: $, format: P } = D;
13881
13881
  if (ge.DOMAINS.referred) {
13882
13882
  const U = ge.DOMAINS.multiple.includes(C), T = n.value.useKey ? "value" : "label", I = (s.value[A] || []).map((q) => [q[T], q[T]]), B = Object.fromEntries(I);
13883
- V.push(a({ prop: A, label: N, domain: C, not_null: $, multiple: U, set: B }));
13883
+ V.push(a({ prop: A, label: F, domain: C, not_null: $, multiple: U, set: B }));
13884
13884
  } else {
13885
13885
  const { set: U, multiple: T } = P;
13886
- V.push(a({ prop: A, label: N, domain: C, not_null: $, multiple: T, set: U }));
13886
+ V.push(a({ prop: A, label: F, domain: C, not_null: $, multiple: T, set: U }));
13887
13887
  }
13888
13888
  }), V;
13889
13889
  }), i = O(() => {
@@ -14182,7 +14182,7 @@ const W_ = /* @__PURE__ */ R({
14182
14182
  function A(T) {
14183
14183
  a.value?.open(T);
14184
14184
  }
14185
- function N(T, I) {
14185
+ function F(T, I) {
14186
14186
  const B = T.$index, q = r.value?.getData();
14187
14187
  q ? (q.length && E(q[0], B), I()) : (Q.warning("注意验证信息"), I(!1));
14188
14188
  }
@@ -14285,7 +14285,7 @@ const W_ = /* @__PURE__ */ R({
14285
14285
  ref: a,
14286
14286
  title: "数据上传",
14287
14287
  width: "500",
14288
- confirm: N
14288
+ confirm: F
14289
14289
  }, {
14290
14290
  default: f(({ data: ne }) => [
14291
14291
  m(h(Hn), {
@@ -15188,7 +15188,7 @@ const W_ = /* @__PURE__ */ R({
15188
15188
  const { parse: P } = Ae(l.view);
15189
15189
  return P(l.results);
15190
15190
  });
15191
- function N(P, U, T, I) {
15191
+ function F(P, U, T, I) {
15192
15192
  I.preventDefault(), I.stopPropagation();
15193
15193
  const { property: B } = U, q = P.id;
15194
15194
  B && !l.single ? p.toggle(q) : (p.clear(), p.set([q]));
@@ -15294,7 +15294,7 @@ const W_ = /* @__PURE__ */ R({
15294
15294
  "max-height": e.view.table_height,
15295
15295
  "tooltip-options": h(y),
15296
15296
  size: e.size || "small",
15297
- onCellClick: N,
15297
+ onCellClick: F,
15298
15298
  onCellContextmenu: $,
15299
15299
  "row-class-name": h(D),
15300
15300
  "cell-class-name": h(V),
@@ -15560,9 +15560,9 @@ function kg(e, t) {
15560
15560
  return A;
15561
15561
  }
15562
15562
  function s(C) {
15563
- const N = e.value.mapping[C].children;
15564
- if (N.length) {
15565
- const $ = N.map((P) => s(P.id)).reduce((P, U) => [...P, ...U], []);
15563
+ const F = e.value.mapping[C].children;
15564
+ if (F.length) {
15565
+ const $ = F.map((P) => s(P.id)).reduce((P, U) => [...P, ...U], []);
15566
15566
  return [C, ...$];
15567
15567
  }
15568
15568
  return [];
@@ -15571,7 +15571,7 @@ function kg(e, t) {
15571
15571
  n.value = n.value.filter((A) => !C.includes(A));
15572
15572
  }
15573
15573
  function r(C) {
15574
- const A = C.filter((N) => !n.value.includes(N) && o.value.includes(N));
15574
+ const A = C.filter((F) => !n.value.includes(F) && o.value.includes(F));
15575
15575
  n.value.push(...A);
15576
15576
  }
15577
15577
  function i(C) {
@@ -15592,7 +15592,7 @@ function kg(e, t) {
15592
15592
  }
15593
15593
  function _(C) {
15594
15594
  if (e.value.expandAll) return;
15595
- const A = C.map((N) => l(N)).reduce((N, $) => [...N, ...$], []);
15595
+ const A = C.map((F) => l(F)).reduce((F, $) => [...F, ...$], []);
15596
15596
  C = [...new Set(A)], r(C);
15597
15597
  }
15598
15598
  const g = {
@@ -15603,9 +15603,9 @@ function kg(e, t) {
15603
15603
  function p(C) {
15604
15604
  return !!C.data.id;
15605
15605
  }
15606
- function v(C, A, N) {
15606
+ function v(C, A, F) {
15607
15607
  const $ = C.data, P = A.data, U = P.isLeaf, T = !!P.children?.length, I = $.id, B = P.id;
15608
- return !U && B !== I && (A.expanded = !0), N === "inner" ? !U && !T : B != 0;
15608
+ return !U && B !== I && (A.expanded = !0), F === "inner" ? !U && !T : B != 0;
15609
15609
  }
15610
15610
  function y(C) {
15611
15611
  const A = C.id;
@@ -15615,9 +15615,9 @@ function kg(e, t) {
15615
15615
  const A = C.id;
15616
15616
  c(A);
15617
15617
  }
15618
- function V(C, A, N, $) {
15618
+ function V(C, A, F, $) {
15619
15619
  const P = C.data, U = A.data, T = P.id, I = U.id;
15620
- if (N === "inner") {
15620
+ if (F === "inner") {
15621
15621
  const B = {
15622
15622
  id: T,
15623
15623
  pid: I
@@ -16039,10 +16039,10 @@ const Eg = /* @__PURE__ */ R({
16039
16039
  emits: ["meta", "table"],
16040
16040
  setup(e, { expose: t, emit: n }) {
16041
16041
  const o = n, l = e, s = x(), a = x(), r = x(), { fromMode: i } = Ae(), u = O(() => l), c = O(() => l.labelKey || "name"), d = O(() => {
16042
- const { $fields: N, $modes: $ } = l.view, P = c.value, U = N[P], T = l.view.$modes[P];
16042
+ const { $fields: F, $modes: $ } = l.view, P = c.value, U = F[P], T = l.view.$modes[P];
16043
16043
  return U || (T ? i(T) : new ge());
16044
16044
  }), _ = x("");
16045
- J(_, (N) => s.value.filter(N));
16045
+ J(_, (F) => s.value.filter(F));
16046
16046
  const {
16047
16047
  collection: g,
16048
16048
  selection: p,
@@ -16052,26 +16052,26 @@ const Eg = /* @__PURE__ */ R({
16052
16052
  expansion: E,
16053
16053
  ui: V
16054
16054
  } = kg(u, s);
16055
- function D(N, $, P) {
16056
- return ($[c.value] || "").includes(N);
16055
+ function D(F, $, P) {
16056
+ return ($[c.value] || "").includes(F);
16057
16057
  }
16058
- function C(N, $, P, U) {
16058
+ function C(F, $, P, U) {
16059
16059
  U.preventDefault(), U.stopPropagation();
16060
- const T = N.id;
16061
- N.children.length ? y.toggle(T) : l.single ? v.set(T) : v.toggle(T);
16060
+ const T = F.id;
16061
+ F.children.length ? y.toggle(T) : l.single ? v.set(T) : v.toggle(T);
16062
16062
  }
16063
- function A(N, $) {
16064
- N.preventDefault(), N.stopPropagation();
16063
+ function A(F, $) {
16064
+ F.preventDefault(), F.stopPropagation();
16065
16065
  const P = $.id;
16066
- v.set(P), r.value?.open(N, $);
16066
+ v.set(P), r.value?.open(F, $);
16067
16067
  }
16068
16068
  return t({
16069
16069
  selection: p,
16070
16070
  get: () => g.value,
16071
- set: (N) => Ve().then(() => {
16072
- v.set(...N), y.set(N);
16071
+ set: (F) => Ve().then(() => {
16072
+ v.set(...F), y.set(F);
16073
16073
  })
16074
- }), (N, $) => {
16074
+ }), (F, $) => {
16075
16075
  const P = w("el-divider"), U = w("el-text"), T = w("el-space"), I = w("el-tree");
16076
16076
  return b(), M(H, null, [
16077
16077
  m(Go, {
@@ -16088,7 +16088,7 @@ const Eg = /* @__PURE__ */ R({
16088
16088
  onMeta: $[0] || ($[0] = (q) => o("meta", q))
16089
16089
  }, null, 8, ["collection", "expansion", "collector", "disclosure"]),
16090
16090
  m(P, { direction: "vertical" }),
16091
- X(N.$slots, "header", { width: B }, () => [
16091
+ X(F.$slots, "header", { width: B }, () => [
16092
16092
  m(U, { tag: "b" }, {
16093
16093
  default: f(() => [
16094
16094
  S(z(e.view.$meta_name), 1)
@@ -16098,7 +16098,7 @@ const Eg = /* @__PURE__ */ R({
16098
16098
  ])
16099
16099
  ]),
16100
16100
  "header-tool": f(({ width: B }) => [
16101
- m(yg, ke(N.$props, {
16101
+ m(yg, ke(F.$props, {
16102
16102
  modelValue: _.value,
16103
16103
  "onUpdate:modelValue": $[1] || ($[1] = (q) => _.value = q),
16104
16104
  collector: h(v),
@@ -16144,16 +16144,16 @@ const Eg = /* @__PURE__ */ R({
16144
16144
  data: B,
16145
16145
  field: d.value
16146
16146
  }, null, 8, ["node", "data", "field"]),
16147
- X(N.$slots, "prefix", {
16147
+ X(F.$slots, "prefix", {
16148
16148
  isLeaf: B.isLeaf,
16149
16149
  node: q,
16150
16150
  data: B
16151
16151
  }, () => [
16152
- B.isLeaf ? X(N.$slots, "prefix-leaf", {
16152
+ B.isLeaf ? X(F.$slots, "prefix-leaf", {
16153
16153
  key: 0,
16154
16154
  node: q,
16155
16155
  data: B
16156
- }) : X(N.$slots, "prefix-branch", {
16156
+ }) : X(F.$slots, "prefix-branch", {
16157
16157
  key: 1,
16158
16158
  node: q,
16159
16159
  data: B
@@ -16164,22 +16164,22 @@ const Eg = /* @__PURE__ */ R({
16164
16164
  }, 1024),
16165
16165
  m(T, null, {
16166
16166
  default: f(() => [
16167
- X(N.$slots, "suffix", {
16167
+ X(F.$slots, "suffix", {
16168
16168
  isLeaf: B.isLeaf,
16169
16169
  node: q,
16170
16170
  data: B
16171
16171
  }, () => [
16172
- B.isLeaf ? X(N.$slots, "suffix-leaf", {
16172
+ B.isLeaf ? X(F.$slots, "suffix-leaf", {
16173
16173
  key: 0,
16174
16174
  node: q,
16175
16175
  data: B
16176
- }) : X(N.$slots, "suffix-branch", {
16176
+ }) : X(F.$slots, "suffix-branch", {
16177
16177
  key: 1,
16178
16178
  node: q,
16179
16179
  data: B
16180
16180
  })
16181
16181
  ]),
16182
- m($g, ke(N.$props, {
16182
+ m($g, ke(F.$props, {
16183
16183
  data: B,
16184
16184
  collector: h(v)
16185
16185
  }), null, 16, ["data", "collector"])
@@ -16196,11 +16196,11 @@ const Eg = /* @__PURE__ */ R({
16196
16196
  m(h(xg), ke({
16197
16197
  ref_key: "batch",
16198
16198
  ref: a
16199
- }, N.$props, { field: d.value }), null, 16, ["field"]),
16199
+ }, F.$props, { field: d.value }), null, 16, ["field"]),
16200
16200
  m(h(Og), ke({
16201
16201
  ref_key: "node",
16202
16202
  ref: r
16203
- }, N.$props, {
16203
+ }, F.$props, {
16204
16204
  field: d.value,
16205
16205
  onTable: $[3] || ($[3] = (B) => o("table", B)),
16206
16206
  onBatch: a.value?.open
@@ -16694,8 +16694,8 @@ const Dr = /* @__PURE__ */ R({
16694
16694
  window.open(`${p}/${l.value}`, "_blank");
16695
16695
  }
16696
16696
  function y(D) {
16697
- const { name: C, size: A } = D, N = C.indexOf(".") !== -1 ? `.${C.split(".").pop()}` : "", $ = [];
16698
- return (u.value === "*" ? !0 : r.value.accept.includes(N)) || $.push(`文件类型不符合:${u.value}`), A / 1e6 <= r.value.maximum || $.push(`文件大小不超过${r.value.maximum}Mb`), $.length > 0 ? (Q.error($.join(";")), !1) : !0;
16697
+ const { name: C, size: A } = D, F = C.indexOf(".") !== -1 ? `.${C.split(".").pop()}` : "", $ = [];
16698
+ return (u.value === "*" ? !0 : r.value.accept.includes(F)) || $.push(`文件类型不符合:${u.value}`), A / 1e6 <= r.value.maximum || $.push(`文件大小不超过${r.value.maximum}Mb`), $.length > 0 ? (Q.error($.join(";")), !1) : !0;
16699
16699
  }
16700
16700
  function E(D) {
16701
16701
  D.payload ? (l.value = D.payload, o("reload"), Q.success("上传成功!")) : V(), s.value?.clearFiles();
@@ -16704,7 +16704,7 @@ const Dr = /* @__PURE__ */ R({
16704
16704
  Q.error("上传失败");
16705
16705
  }
16706
16706
  return (D, C) => {
16707
- const A = w("el-upload"), N = w("el-text"), $ = w("el-tooltip"), P = w("el-divider"), U = w("el-space"), T = w("el-input");
16707
+ const A = w("el-upload"), F = w("el-text"), $ = w("el-tooltip"), P = w("el-divider"), U = w("el-space"), T = w("el-input");
16708
16708
  return b(), M(H, null, [
16709
16709
  Ye(m(A, {
16710
16710
  ref_key: "upload",
@@ -16731,7 +16731,7 @@ const Dr = /* @__PURE__ */ R({
16731
16731
  S(z(c.value), 1)
16732
16732
  ]),
16733
16733
  default: f(() => [
16734
- m(N, {
16734
+ m(F, {
16735
16735
  size: "small",
16736
16736
  truncated: "",
16737
16737
  style: { width: "100px" }
@@ -17424,7 +17424,7 @@ function Kg(e, t) {
17424
17424
  options: D,
17425
17425
  mapping: C,
17426
17426
  total: A
17427
- } = pr(o), { toAoa: N } = Ae(g), { toText: $ } = gt(), { copy: P } = At(), { write: U } = Ut();
17427
+ } = pr(o), { toAoa: F } = Ae(g), { toText: $ } = gt(), { copy: P } = At(), { write: U } = Ut();
17428
17428
  return {
17429
17429
  view: g,
17430
17430
  search: n,
@@ -17454,7 +17454,7 @@ function Kg(e, t) {
17454
17454
  },
17455
17455
  download: () => {
17456
17456
  l.find(..._.value).then((I) => {
17457
- const B = N(I), q = { confirmButtonText: "复制到剪切板", cancelButtonText: "下载为文件" }, Z = e.value.title || g.value.$meta_name;
17457
+ const B = F(I), q = { confirmButtonText: "复制到剪切板", cancelButtonText: "下载为文件" }, Z = e.value.title || g.value.$meta_name;
17458
17458
  De.info("请选择数据下载方式:", q).then(() => P($(B))).then(() => Q.success("数据已存至剪切板")).catch(() => U(Z || _t(), { data: B, name: Z }));
17459
17459
  });
17460
17460
  }
@@ -18307,7 +18307,7 @@ const Yg = /* @__PURE__ */ R({
18307
18307
  ]),
18308
18308
  _: 1
18309
18309
  }),
18310
- (b(), M(H, null, se(c, (A, N) => m(y, { span: 8 }, {
18310
+ (b(), M(H, null, se(c, (A, F) => m(y, { span: 8 }, {
18311
18311
  default: f(() => [
18312
18312
  m(v, {
18313
18313
  label: A,
@@ -18315,12 +18315,12 @@ const Yg = /* @__PURE__ */ R({
18315
18315
  }, {
18316
18316
  default: f(() => [
18317
18317
  m(D, {
18318
- disabled: N === "value" && d.value.value || d.value.all,
18318
+ disabled: F === "value" && d.value.value || d.value.all,
18319
18319
  filterable: "",
18320
18320
  clearable: "",
18321
18321
  "value-on-clear": "",
18322
- modelValue: o.value[N],
18323
- "onUpdate:modelValue": ($) => o.value[N] = $
18322
+ modelValue: o.value[F],
18323
+ "onUpdate:modelValue": ($) => o.value[F] = $
18324
18324
  }, {
18325
18325
  default: f(() => [
18326
18326
  (b(!0), M(H, null, se(_.value, ($) => (b(), k(V, {
@@ -18595,15 +18595,15 @@ const Yg = /* @__PURE__ */ R({
18595
18595
  expandTrigger: "hover",
18596
18596
  lazyLoad(c, d) {
18597
18597
  const { level: _, data: g } = c, { $db: p, $entity: v } = n.view, y = _ ? g : { db: p, entity: v }, E = _ ? c.pathNodes.map((A) => {
18598
- const { db: N, entity: $ } = A.data;
18599
- return `${N}.${$}`;
18598
+ const { db: F, entity: $ } = A.data;
18599
+ return `${F}.${$}`;
18600
18600
  }) : [], V = _ ? c.pathValues : [];
18601
18601
  E.push(`${p}.${v}`);
18602
18602
  const { db: D, entity: C } = y;
18603
18603
  o("valar/get_fields", { db: D, entity: C, route: E }).then((A) => {
18604
- A.forEach((N) => {
18605
- const $ = [...V, N.value].join("__");
18606
- N.disabled = s.value.includes($);
18604
+ A.forEach((F) => {
18605
+ const $ = [...V, F.value].join("__");
18606
+ F.disabled = s.value.includes($);
18607
18607
  }), d(A);
18608
18608
  });
18609
18609
  }
@@ -19421,14 +19421,14 @@ const Yg = /* @__PURE__ */ R({
19421
19421
  options: V,
19422
19422
  rest: D,
19423
19423
  switching: C
19424
- } = Kg(a, (N) => {
19425
- o.value?.set(N);
19424
+ } = Kg(a, (F) => {
19425
+ o.value?.set(F);
19426
19426
  });
19427
19427
  return t({
19428
19428
  rest: D,
19429
19429
  controller: i,
19430
19430
  getSelection: () => o.value?.getSelection() || []
19431
- }), (N, $) => (b(), M(H, null, [
19431
+ }), (F, $) => (b(), M(H, null, [
19432
19432
  m(h(Vr), {
19433
19433
  ref_key: "table",
19434
19434
  ref: o,
@@ -19454,7 +19454,7 @@ const Yg = /* @__PURE__ */ R({
19454
19454
  onField: s.value?.open
19455
19455
  }, {
19456
19456
  header: f(({ width: P }) => [
19457
- X(N.$slots, "header", { width: P })
19457
+ X(F.$slots, "header", { width: P })
19458
19458
  ]),
19459
19459
  _: 3
19460
19460
  }, 8, ["view", "rest", "results", "mapping", "total", "search", "finder", "core", "loading", "ticker", "error", "admin", "title", "single", "height", "buttons", "columns", "onMeta", "onField"]),
@@ -19978,7 +19978,7 @@ const bh = /* @__PURE__ */ R({
19978
19978
  } = yh(s, (P) => {
19979
19979
  a.value?.set(P);
19980
19980
  });
19981
- function N(P, U) {
19981
+ function F(P, U) {
19982
19982
  P.stopPropagation(), P.preventDefault(), a.value?.set([U]);
19983
19983
  }
19984
19984
  return J(() => a.value?.selection, (P) => {
@@ -20027,38 +20027,43 @@ const bh = /* @__PURE__ */ R({
20027
20027
  X(P.$slots, "prefix", {
20028
20028
  isLeaf: I.isLeaf,
20029
20029
  node: B,
20030
- data: I
20030
+ data: I,
20031
+ select: F
20031
20032
  })
20032
20033
  ]),
20033
20034
  "prefix-leaf": f(({ data: I, node: B }) => [
20034
20035
  X(P.$slots, "prefix-leaf", {
20035
20036
  node: B,
20036
- data: I
20037
+ data: I,
20038
+ select: F
20037
20039
  })
20038
20040
  ]),
20039
20041
  "prefix-branch": f(({ data: I, node: B }) => [
20040
20042
  X(P.$slots, "prefix-branch", {
20041
20043
  node: B,
20042
- data: I
20044
+ data: I,
20045
+ select: F
20043
20046
  })
20044
20047
  ]),
20045
20048
  suffix: f(({ data: I, node: B, isLeaf: q }) => [
20046
20049
  X(P.$slots, "suffix", {
20047
20050
  node: B,
20048
- data: I
20051
+ data: I,
20052
+ select: F
20049
20053
  })
20050
20054
  ]),
20051
20055
  "suffix-leaf": f(({ data: I, node: B }) => [
20052
20056
  X(P.$slots, "suffix-leaf", {
20053
20057
  node: B,
20054
20058
  data: I,
20055
- select: N
20059
+ select: F
20056
20060
  })
20057
20061
  ]),
20058
20062
  "suffix-branch": f(({ data: I, node: B }) => [
20059
20063
  X(P.$slots, "suffix-branch", {
20060
20064
  node: B,
20061
- data: I
20065
+ data: I,
20066
+ select: F
20062
20067
  })
20063
20068
  ]),
20064
20069
  _: 3