@das-fed/upf-utils 6.4.0-dev.279 → 6.4.0-dev.280

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.
Files changed (91) hide show
  1. package/api-services/es5.js +1127 -1136
  2. package/api-services/index.js +857 -862
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1258 -1280
  5. package/api-services/modules/app-manage/index.js +1048 -1072
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1267 -1265
  8. package/api-services/modules/authentication/index.js +1054 -1042
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1256 -1257
  11. package/api-services/modules/bems/index.js +1044 -1036
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +680 -690
  14. package/api-services/modules/contract/index.js +566 -572
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +673 -683
  17. package/api-services/modules/duty-manage/index.js +556 -562
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1258 -1280
  20. package/api-services/modules/enterpriseright/index.js +1048 -1072
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1017 -1023
  23. package/api-services/modules/file/es5.js +1432 -1429
  24. package/api-services/modules/file/index.js +1172 -1159
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1258 -1280
  27. package/api-services/modules/gateway-edge/index.js +1048 -1072
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +783 -784
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1270 -1292
  32. package/api-services/modules/iot/index.js +1055 -1079
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +682 -692
  35. package/api-services/modules/justauth/index.js +565 -571
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1249 -1247
  38. package/api-services/modules/knowledge/index.js +1040 -1028
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +694 -704
  41. package/api-services/modules/link/index.js +568 -574
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1252 -1253
  44. package/api-services/modules/permission/index.js +1042 -1034
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +725 -735
  47. package/api-services/modules/platformManage/index.js +596 -602
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +680 -690
  50. package/api-services/modules/portal/index.js +566 -572
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +1258 -1280
  53. package/api-services/modules/space-manage/index.js +1048 -1072
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +951 -958
  56. package/api-services/modules/super-admin/index.js +770 -772
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +1242 -1243
  59. package/api-services/modules/supplier/index.js +1034 -1026
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1267 -1265
  62. package/api-services/modules/supplychain-manage/index.js +1054 -1042
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1258 -1280
  65. package/api-services/modules/systemConfiguration/index.js +1048 -1072
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1267 -1265
  68. package/api-services/modules/tool/index.js +1054 -1042
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +690 -700
  71. package/api-services/src/create-service/index.js +567 -573
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +805 -815
  74. package/common-info/getPermissionMethod/es5.js +1544 -1542
  75. package/common-info/getPermissionMethod/index.js +1306 -1294
  76. package/common-info/getPermissionMethod/index.js.gz +0 -0
  77. package/common-info/index.js +680 -686
  78. package/common-info/index.js.gz +0 -0
  79. package/common-tools/timezone-format/es5.d.ts +5 -54
  80. package/common-tools/timezone-format/es5.js +373 -550
  81. package/common-tools/timezone-format/index.d.ts +5 -54
  82. package/common-tools/timezone-format/index.js +271 -374
  83. package/common-tools/timezone-format/index.js.gz +0 -0
  84. package/create-api-service/es5.js +1257 -1279
  85. package/create-api-service/index.js +1048 -1072
  86. package/create-api-service/index.js.gz +0 -0
  87. package/curring-http/es5.js +417 -406
  88. package/curring-http/index.js +321 -323
  89. package/curring-http/index.js.gz +0 -0
  90. package/esm-map.json +1 -15
  91. package/package.json +3 -3
@@ -162,8 +162,8 @@ const er = (e) => {
162
162
  t[o] = r;
163
163
  const i = J(r) ? [] : {};
164
164
  return re(r, (s, a) => {
165
- const d = n(s, o + 1);
166
- !k(d) && (i[a] = d);
165
+ const f = n(s, o + 1);
166
+ !k(f) && (i[a] = f);
167
167
  }), t[o] = void 0, i;
168
168
  }
169
169
  }
@@ -237,10 +237,10 @@ const er = (e) => {
237
237
  asap: rr,
238
238
  isIterable: or
239
239
  };
240
- function y(e, t, n, r, o) {
240
+ function b(e, t, n, r, o) {
241
241
  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), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
242
242
  }
243
- c.inherits(y, Error, {
243
+ c.inherits(b, Error, {
244
244
  toJSON: function() {
245
245
  return {
246
246
  // Standard
@@ -261,7 +261,7 @@ c.inherits(y, Error, {
261
261
  };
262
262
  }
263
263
  });
264
- const It = y.prototype, Mt = {};
264
+ const It = b.prototype, Mt = {};
265
265
  [
266
266
  "ERR_BAD_OPTION_VALUE",
267
267
  "ERR_BAD_OPTION",
@@ -279,15 +279,15 @@ const It = y.prototype, Mt = {};
279
279
  ].forEach((e) => {
280
280
  Mt[e] = { value: e };
281
281
  });
282
- Object.defineProperties(y, Mt);
282
+ Object.defineProperties(b, Mt);
283
283
  Object.defineProperty(It, "isAxiosError", { value: !0 });
284
- y.from = (e, t, n, r, o, i) => {
284
+ b.from = (e, t, n, r, o, i) => {
285
285
  const s = Object.create(It);
286
- c.toFlatObject(e, s, function(l) {
287
- return l !== Error.prototype;
288
- }, (f) => f !== "isAxiosError");
289
- const a = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
290
- return y.call(s, a, d, n, r, o), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", i && Object.assign(s, i), s;
286
+ c.toFlatObject(e, s, function(u) {
287
+ return u !== Error.prototype;
288
+ }, (l) => l !== "isAxiosError");
289
+ const a = e && e.message ? e.message : "Error", f = t == null && e ? e.code : t;
290
+ return b.call(s, a, f, n, r, o), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", i && Object.assign(s, i), s;
291
291
  };
292
292
  const sr = null;
293
293
  function Ue(e) {
@@ -314,55 +314,55 @@ function Ee(e, t, n) {
314
314
  metaTokens: !0,
315
315
  dots: !1,
316
316
  indexes: !1
317
- }, !1, function(m, u) {
318
- return !c.isUndefined(u[m]);
317
+ }, !1, function(y, m) {
318
+ return !c.isUndefined(m[y]);
319
319
  });
320
- const r = n.metaTokens, o = n.visitor || l, i = n.dots, s = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(t);
320
+ const r = n.metaTokens, o = n.visitor || u, i = n.dots, s = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(t);
321
321
  if (!c.isFunction(o))
322
322
  throw new TypeError("visitor must be a function");
323
- function f(p) {
324
- if (p === null) return "";
325
- if (c.isDate(p))
326
- return p.toISOString();
327
- if (c.isBoolean(p))
328
- return p.toString();
329
- if (!d && c.isBlob(p))
330
- throw new y("Blob is not supported. Use a Buffer instead.");
331
- return c.isArrayBuffer(p) || c.isTypedArray(p) ? d && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
332
- }
333
- function l(p, m, u) {
334
- let g = p;
335
- if (p && !u && typeof p == "object") {
336
- if (c.endsWith(m, "{}"))
337
- m = r ? m : m.slice(0, -2), p = JSON.stringify(p);
338
- else if (c.isArray(p) && ir(p) || (c.isFileList(p) || c.endsWith(m, "[]")) && (g = c.toArray(p)))
339
- return m = Ht(m), g.forEach(function(w, R) {
323
+ function l(d) {
324
+ if (d === null) return "";
325
+ if (c.isDate(d))
326
+ return d.toISOString();
327
+ if (c.isBoolean(d))
328
+ return d.toString();
329
+ if (!f && c.isBlob(d))
330
+ throw new b("Blob is not supported. Use a Buffer instead.");
331
+ return c.isArrayBuffer(d) || c.isTypedArray(d) ? f && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
332
+ }
333
+ function u(d, y, m) {
334
+ let p = d;
335
+ if (d && !m && typeof d == "object") {
336
+ if (c.endsWith(y, "{}"))
337
+ y = r ? y : y.slice(0, -2), d = JSON.stringify(d);
338
+ else if (c.isArray(d) && ir(d) || (c.isFileList(d) || c.endsWith(y, "[]")) && (p = c.toArray(d)))
339
+ return y = Ht(y), p.forEach(function(w, _) {
340
340
  !(c.isUndefined(w) || w === null) && t.append(
341
341
  // eslint-disable-next-line no-nested-ternary
342
- s === !0 ? rt([m], R, i) : s === null ? m : m + "[]",
343
- f(w)
342
+ s === !0 ? rt([y], _, i) : s === null ? y : y + "[]",
343
+ l(w)
344
344
  );
345
345
  }), !1;
346
346
  }
347
- return Ue(p) ? !0 : (t.append(rt(u, m, i), f(p)), !1);
347
+ return Ue(d) ? !0 : (t.append(rt(m, y, i), l(d)), !1);
348
348
  }
349
- const h = [], b = Object.assign(ar, {
350
- defaultVisitor: l,
351
- convertValue: f,
349
+ const h = [], g = Object.assign(ar, {
350
+ defaultVisitor: u,
351
+ convertValue: l,
352
352
  isVisitable: Ue
353
353
  });
354
- function O(p, m) {
355
- if (!c.isUndefined(p)) {
356
- if (h.indexOf(p) !== -1)
357
- throw Error("Circular reference detected in " + m.join("."));
358
- h.push(p), c.forEach(p, function(g, S) {
359
- (!(c.isUndefined(g) || g === null) && o.call(
354
+ function O(d, y) {
355
+ if (!c.isUndefined(d)) {
356
+ if (h.indexOf(d) !== -1)
357
+ throw Error("Circular reference detected in " + y.join("."));
358
+ h.push(d), c.forEach(d, function(p, S) {
359
+ (!(c.isUndefined(p) || p === null) && o.call(
360
360
  t,
361
- g,
361
+ p,
362
362
  c.isString(S) ? S.trim() : S,
363
- m,
364
- b
365
- )) === !0 && O(g, m ? m.concat(S) : [S]);
363
+ y,
364
+ g
365
+ )) === !0 && O(p, y ? y.concat(S) : [S]);
366
366
  }), h.pop();
367
367
  }
368
368
  }
@@ -491,14 +491,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", mr
491
491
  hasStandardBrowserWebWorkerEnv: hr,
492
492
  navigator: De,
493
493
  origin: mr
494
- }, Symbol.toStringTag, { value: "Module" })), _ = {
494
+ }, Symbol.toStringTag, { value: "Module" })), R = {
495
495
  ...yr,
496
496
  ...dr
497
497
  };
498
498
  function br(e, t) {
499
- return Ee(e, new _.classes.URLSearchParams(), {
499
+ return Ee(e, new R.classes.URLSearchParams(), {
500
500
  visitor: function(n, r, o, i) {
501
- return _.isNode && c.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
501
+ return R.isNode && c.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
502
502
  },
503
503
  ...t
504
504
  });
@@ -519,8 +519,8 @@ function Jt(e) {
519
519
  function t(n, r, o, i) {
520
520
  let s = n[i++];
521
521
  if (s === "__proto__") return !0;
522
- const a = Number.isFinite(+s), d = i >= n.length;
523
- return s = !s && c.isArray(o) ? o.length : s, d ? (c.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !a) : ((!o[s] || !c.isObject(o[s])) && (o[s] = []), t(n, r, o[s], i) && c.isArray(o[s]) && (o[s] = wr(o[s])), !a);
522
+ const a = Number.isFinite(+s), f = i >= n.length;
523
+ return s = !s && c.isArray(o) ? o.length : s, f ? (c.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !a) : ((!o[s] || !c.isObject(o[s])) && (o[s] = []), t(n, r, o[s], i) && c.isArray(o[s]) && (o[s] = wr(o[s])), !a);
524
524
  }
525
525
  if (c.isFormData(e) && c.isFunction(e.entries)) {
526
526
  const n = {};
@@ -558,10 +558,10 @@ const oe = {
558
558
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
559
559
  return br(t, this.formSerializer).toString();
560
560
  if ((a = c.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
561
- const d = this.env && this.env.FormData;
561
+ const f = this.env && this.env.FormData;
562
562
  return Ee(
563
563
  a ? { "files[]": t } : t,
564
- d && new d(),
564
+ f && new f(),
565
565
  this.formSerializer
566
566
  );
567
567
  }
@@ -578,7 +578,7 @@ const oe = {
578
578
  return JSON.parse(t, this.parseReviver);
579
579
  } catch (a) {
580
580
  if (s)
581
- throw a.name === "SyntaxError" ? y.from(a, y.ERR_BAD_RESPONSE, this, null, this.response) : a;
581
+ throw a.name === "SyntaxError" ? b.from(a, b.ERR_BAD_RESPONSE, this, null, this.response) : a;
582
582
  }
583
583
  }
584
584
  return t;
@@ -593,8 +593,8 @@ const oe = {
593
593
  maxContentLength: -1,
594
594
  maxBodyLength: -1,
595
595
  env: {
596
- FormData: _.classes.FormData,
597
- Blob: _.classes.Blob
596
+ FormData: R.classes.FormData,
597
+ Blob: R.classes.Blob
598
598
  },
599
599
  validateStatus: function(t) {
600
600
  return t >= 200 && t < 300;
@@ -679,24 +679,24 @@ class x {
679
679
  }
680
680
  set(t, n, r) {
681
681
  const o = this;
682
- function i(a, d, f) {
683
- const l = Z(d);
684
- if (!l)
682
+ function i(a, f, l) {
683
+ const u = Z(f);
684
+ if (!u)
685
685
  throw new Error("header name must be a non-empty string");
686
- const h = c.findKey(o, l);
687
- (!h || o[h] === void 0 || f === !0 || f === void 0 && o[h] !== !1) && (o[h || d] = de(a));
686
+ const h = c.findKey(o, u);
687
+ (!h || o[h] === void 0 || l === !0 || l === void 0 && o[h] !== !1) && (o[h || f] = de(a));
688
688
  }
689
- const s = (a, d) => c.forEach(a, (f, l) => i(f, l, d));
689
+ const s = (a, f) => c.forEach(a, (l, u) => i(l, u, f));
690
690
  if (c.isPlainObject(t) || t instanceof this.constructor)
691
691
  s(t, n);
692
692
  else if (c.isString(t) && (t = t.trim()) && !_r(t))
693
693
  s(Or(t), n);
694
694
  else if (c.isObject(t) && c.isIterable(t)) {
695
- let a = {}, d, f;
696
- for (const l of t) {
697
- if (!c.isArray(l))
695
+ let a = {}, f, l;
696
+ for (const u of t) {
697
+ if (!c.isArray(u))
698
698
  throw TypeError("Object iterator must return a key-value pair");
699
- a[f = l[0]] = (d = a[f]) ? c.isArray(d) ? [...d, l[1]] : [d, l[1]] : l[1];
699
+ a[l = u[0]] = (f = a[l]) ? c.isArray(f) ? [...f, u[1]] : [f, u[1]] : u[1];
700
700
  }
701
701
  s(a, n);
702
702
  } else
@@ -821,16 +821,16 @@ function Vt(e) {
821
821
  return !!(e && e.__CANCEL__);
822
822
  }
823
823
  function V(e, t, n) {
824
- y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
824
+ b.call(this, e ?? "canceled", b.ERR_CANCELED, t, n), this.name = "CanceledError";
825
825
  }
826
- c.inherits(V, y, {
826
+ c.inherits(V, b, {
827
827
  __CANCEL__: !0
828
828
  });
829
829
  function Kt(e, t, n) {
830
830
  const r = n.config.validateStatus;
831
- !n.status || !r || r(n.status) ? e(n) : t(new y(
831
+ !n.status || !r || r(n.status) ? e(n) : t(new b(
832
832
  "Request failed with status code " + n.status,
833
- [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
833
+ [b.ERR_BAD_REQUEST, b.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
834
834
  n.config,
835
835
  n.request,
836
836
  n
@@ -844,26 +844,26 @@ function Pr(e, t) {
844
844
  e = e || 10;
845
845
  const n = new Array(e), r = new Array(e);
846
846
  let o = 0, i = 0, s;
847
- return t = t !== void 0 ? t : 1e3, function(d) {
848
- const f = Date.now(), l = r[i];
849
- s || (s = f), n[o] = d, r[o] = f;
850
- let h = i, b = 0;
847
+ return t = t !== void 0 ? t : 1e3, function(f) {
848
+ const l = Date.now(), u = r[i];
849
+ s || (s = l), n[o] = f, r[o] = l;
850
+ let h = i, g = 0;
851
851
  for (; h !== o; )
852
- b += n[h++], h = h % e;
853
- if (o = (o + 1) % e, o === i && (i = (i + 1) % e), f - s < t)
852
+ g += n[h++], h = h % e;
853
+ if (o = (o + 1) % e, o === i && (i = (i + 1) % e), l - s < t)
854
854
  return;
855
- const O = l && f - l;
856
- return O ? Math.round(b * 1e3 / O) : void 0;
855
+ const O = u && l - u;
856
+ return O ? Math.round(g * 1e3 / O) : void 0;
857
857
  };
858
858
  }
859
859
  function vr(e, t) {
860
860
  let n = 0, r = 1e3 / t, o, i;
861
- const s = (f, l = Date.now()) => {
862
- n = l, o = null, i && (clearTimeout(i), i = null), e(...f);
861
+ const s = (l, u = Date.now()) => {
862
+ n = u, o = null, i && (clearTimeout(i), i = null), e(...l);
863
863
  };
864
- return [(...f) => {
865
- const l = Date.now(), h = l - n;
866
- h >= r ? s(f, l) : (o = f, i || (i = setTimeout(() => {
864
+ return [(...l) => {
865
+ const u = Date.now(), h = u - n;
866
+ h >= r ? s(l, u) : (o = l, i || (i = setTimeout(() => {
867
867
  i = null, s(o);
868
868
  }, r - h)));
869
869
  }, () => o && s(o)];
@@ -872,15 +872,15 @@ const he = (e, t, n = 3) => {
872
872
  let r = 0;
873
873
  const o = Pr(50, 250);
874
874
  return vr((i) => {
875
- const s = i.loaded, a = i.lengthComputable ? i.total : void 0, d = s - r, f = o(d), l = s <= a;
875
+ const s = i.loaded, a = i.lengthComputable ? i.total : void 0, f = s - r, l = o(f), u = s <= a;
876
876
  r = s;
877
877
  const h = {
878
878
  loaded: s,
879
879
  total: a,
880
880
  progress: a ? s / a : void 0,
881
- bytes: d,
882
- rate: f || void 0,
883
- estimated: f && a && l ? (a - s) / f : void 0,
881
+ bytes: f,
882
+ rate: l || void 0,
883
+ estimated: l && a && u ? (a - s) / l : void 0,
884
884
  event: i,
885
885
  lengthComputable: a != null,
886
886
  [t ? "download" : "upload"]: !0
@@ -894,10 +894,10 @@ const he = (e, t, n = 3) => {
894
894
  total: e,
895
895
  loaded: r
896
896
  }), t[1]];
897
- }, ct = (e) => (...t) => c.asap(() => e(...t)), Cr = _.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, _.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
898
- new URL(_.origin),
899
- _.navigator && /(msie|trident)/i.test(_.navigator.userAgent)
900
- ) : () => !0, jr = _.hasStandardBrowserEnv ? (
897
+ }, ct = (e) => (...t) => c.asap(() => e(...t)), Cr = R.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, R.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
898
+ new URL(R.origin),
899
+ R.navigator && /(msie|trident)/i.test(R.navigator.userAgent)
900
+ ) : () => !0, jr = R.hasStandardBrowserEnv ? (
901
901
  // Standard browser envs support document.cookie
902
902
  {
903
903
  write(e, t, n, r, o, i, s) {
@@ -940,32 +940,32 @@ const ut = (e) => e instanceof x ? { ...e } : e;
940
940
  function M(e, t) {
941
941
  t = t || {};
942
942
  const n = {};
943
- function r(f, l, h, b) {
944
- return c.isPlainObject(f) && c.isPlainObject(l) ? c.merge.call({ caseless: b }, f, l) : c.isPlainObject(l) ? c.merge({}, l) : c.isArray(l) ? l.slice() : l;
945
- }
946
- function o(f, l, h, b) {
947
- if (c.isUndefined(l)) {
948
- if (!c.isUndefined(f))
949
- return r(void 0, f, h, b);
950
- } else return r(f, l, h, b);
951
- }
952
- function i(f, l) {
953
- if (!c.isUndefined(l))
954
- return r(void 0, l);
955
- }
956
- function s(f, l) {
957
- if (c.isUndefined(l)) {
958
- if (!c.isUndefined(f))
959
- return r(void 0, f);
960
- } else return r(void 0, l);
961
- }
962
- function a(f, l, h) {
943
+ function r(l, u, h, g) {
944
+ return c.isPlainObject(l) && c.isPlainObject(u) ? c.merge.call({ caseless: g }, l, u) : c.isPlainObject(u) ? c.merge({}, u) : c.isArray(u) ? u.slice() : u;
945
+ }
946
+ function o(l, u, h, g) {
947
+ if (c.isUndefined(u)) {
948
+ if (!c.isUndefined(l))
949
+ return r(void 0, l, h, g);
950
+ } else return r(l, u, h, g);
951
+ }
952
+ function i(l, u) {
953
+ if (!c.isUndefined(u))
954
+ return r(void 0, u);
955
+ }
956
+ function s(l, u) {
957
+ if (c.isUndefined(u)) {
958
+ if (!c.isUndefined(l))
959
+ return r(void 0, l);
960
+ } else return r(void 0, u);
961
+ }
962
+ function a(l, u, h) {
963
963
  if (h in t)
964
- return r(f, l);
964
+ return r(l, u);
965
965
  if (h in e)
966
- return r(void 0, f);
966
+ return r(void 0, l);
967
967
  }
968
- const d = {
968
+ const f = {
969
969
  url: i,
970
970
  method: i,
971
971
  data: i,
@@ -994,11 +994,11 @@ function M(e, t) {
994
994
  socketPath: s,
995
995
  responseEncoding: s,
996
996
  validateStatus: a,
997
- headers: (f, l, h) => o(ut(f), ut(l), h, !0)
997
+ headers: (l, u, h) => o(ut(l), ut(u), h, !0)
998
998
  };
999
- return c.forEach(Object.keys({ ...e, ...t }), function(l) {
1000
- const h = d[l] || o, b = h(e[l], t[l], l);
1001
- c.isUndefined(b) && h !== a || (n[l] = b);
999
+ return c.forEach(Object.keys({ ...e, ...t }), function(u) {
1000
+ const h = f[u] || o, g = h(e[u], t[u], u);
1001
+ c.isUndefined(g) && h !== a || (n[u] = g);
1002
1002
  }), n;
1003
1003
  }
1004
1004
  const Gt = (e) => {
@@ -1008,18 +1008,18 @@ const Gt = (e) => {
1008
1008
  "Authorization",
1009
1009
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1010
1010
  ), c.isFormData(n)) {
1011
- if (_.hasStandardBrowserEnv || _.hasStandardBrowserWebWorkerEnv)
1011
+ if (R.hasStandardBrowserEnv || R.hasStandardBrowserWebWorkerEnv)
1012
1012
  s.setContentType(void 0);
1013
1013
  else if (c.isFunction(n.getHeaders)) {
1014
- const d = n.getHeaders(), f = ["content-type", "content-length"];
1015
- Object.entries(d).forEach(([l, h]) => {
1016
- f.includes(l.toLowerCase()) && s.set(l, h);
1014
+ const f = n.getHeaders(), l = ["content-type", "content-length"];
1015
+ Object.entries(f).forEach(([u, h]) => {
1016
+ l.includes(u.toLowerCase()) && s.set(u, h);
1017
1017
  });
1018
1018
  }
1019
1019
  }
1020
- if (_.hasStandardBrowserEnv && (r && c.isFunction(r) && (r = r(t)), r || r !== !1 && Cr(t.url))) {
1021
- const d = o && i && jr.read(i);
1022
- d && s.set(o, d);
1020
+ if (R.hasStandardBrowserEnv && (r && c.isFunction(r) && (r = r(t)), r || r !== !1 && Cr(t.url))) {
1021
+ const f = o && i && jr.read(i);
1022
+ f && s.set(o, f);
1023
1023
  }
1024
1024
  return t;
1025
1025
  }, Ur = typeof XMLHttpRequest < "u", Dr = Ur && function(e) {
@@ -1027,81 +1027,81 @@ const Gt = (e) => {
1027
1027
  const o = Gt(e);
1028
1028
  let i = o.data;
1029
1029
  const s = x.from(o.headers).normalize();
1030
- let { responseType: a, onUploadProgress: d, onDownloadProgress: f } = o, l, h, b, O, p;
1031
- function m() {
1032
- O && O(), p && p(), o.cancelToken && o.cancelToken.unsubscribe(l), o.signal && o.signal.removeEventListener("abort", l);
1030
+ let { responseType: a, onUploadProgress: f, onDownloadProgress: l } = o, u, h, g, O, d;
1031
+ function y() {
1032
+ O && O(), d && d(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
1033
1033
  }
1034
- let u = new XMLHttpRequest();
1035
- u.open(o.method.toUpperCase(), o.url, !0), u.timeout = o.timeout;
1036
- function g() {
1037
- if (!u)
1034
+ let m = new XMLHttpRequest();
1035
+ m.open(o.method.toUpperCase(), o.url, !0), m.timeout = o.timeout;
1036
+ function p() {
1037
+ if (!m)
1038
1038
  return;
1039
1039
  const w = x.from(
1040
- "getAllResponseHeaders" in u && u.getAllResponseHeaders()
1040
+ "getAllResponseHeaders" in m && m.getAllResponseHeaders()
1041
1041
  ), v = {
1042
- data: !a || a === "text" || a === "json" ? u.responseText : u.response,
1043
- status: u.status,
1044
- statusText: u.statusText,
1042
+ data: !a || a === "text" || a === "json" ? m.responseText : m.response,
1043
+ status: m.status,
1044
+ statusText: m.statusText,
1045
1045
  headers: w,
1046
1046
  config: e,
1047
- request: u
1047
+ request: m
1048
1048
  };
1049
1049
  Kt(function(P) {
1050
- n(P), m();
1050
+ n(P), y();
1051
1051
  }, function(P) {
1052
- r(P), m();
1053
- }, v), u = null;
1052
+ r(P), y();
1053
+ }, v), m = null;
1054
1054
  }
1055
- "onloadend" in u ? u.onloadend = g : u.onreadystatechange = function() {
1056
- !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(g);
1057
- }, u.onabort = function() {
1058
- u && (r(new y("Request aborted", y.ECONNABORTED, e, u)), u = null);
1059
- }, u.onerror = function(R) {
1060
- const v = R && R.message ? R.message : "Network Error", L = new y(v, y.ERR_NETWORK, e, u);
1061
- L.event = R || null, r(L), u = null;
1062
- }, u.ontimeout = function() {
1063
- let R = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1055
+ "onloadend" in m ? m.onloadend = p : m.onreadystatechange = function() {
1056
+ !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(p);
1057
+ }, m.onabort = function() {
1058
+ m && (r(new b("Request aborted", b.ECONNABORTED, e, m)), m = null);
1059
+ }, m.onerror = function(_) {
1060
+ const v = _ && _.message ? _.message : "Network Error", L = new b(v, b.ERR_NETWORK, e, m);
1061
+ L.event = _ || null, r(L), m = null;
1062
+ }, m.ontimeout = function() {
1063
+ let _ = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1064
1064
  const v = o.transitional || kt;
1065
- o.timeoutErrorMessage && (R = o.timeoutErrorMessage), r(new y(
1066
- R,
1067
- v.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1065
+ o.timeoutErrorMessage && (_ = o.timeoutErrorMessage), r(new b(
1066
+ _,
1067
+ v.clarifyTimeoutError ? b.ETIMEDOUT : b.ECONNABORTED,
1068
1068
  e,
1069
- u
1070
- )), u = null;
1071
- }, i === void 0 && s.setContentType(null), "setRequestHeader" in u && c.forEach(s.toJSON(), function(R, v) {
1072
- u.setRequestHeader(v, R);
1073
- }), c.isUndefined(o.withCredentials) || (u.withCredentials = !!o.withCredentials), a && a !== "json" && (u.responseType = o.responseType), f && ([b, p] = he(f, !0), u.addEventListener("progress", b)), d && u.upload && ([h, O] = he(d), u.upload.addEventListener("progress", h), u.upload.addEventListener("loadend", O)), (o.cancelToken || o.signal) && (l = (w) => {
1074
- u && (r(!w || w.type ? new V(null, e, u) : w), u.abort(), u = null);
1075
- }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1069
+ m
1070
+ )), m = null;
1071
+ }, i === void 0 && s.setContentType(null), "setRequestHeader" in m && c.forEach(s.toJSON(), function(_, v) {
1072
+ m.setRequestHeader(v, _);
1073
+ }), c.isUndefined(o.withCredentials) || (m.withCredentials = !!o.withCredentials), a && a !== "json" && (m.responseType = o.responseType), l && ([g, d] = he(l, !0), m.addEventListener("progress", g)), f && m.upload && ([h, O] = he(f), m.upload.addEventListener("progress", h), m.upload.addEventListener("loadend", O)), (o.cancelToken || o.signal) && (u = (w) => {
1074
+ m && (r(!w || w.type ? new V(null, e, m) : w), m.abort(), m = null);
1075
+ }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
1076
1076
  const S = xr(o.url);
1077
- if (S && _.protocols.indexOf(S) === -1) {
1078
- r(new y("Unsupported protocol " + S + ":", y.ERR_BAD_REQUEST, e));
1077
+ if (S && R.protocols.indexOf(S) === -1) {
1078
+ r(new b("Unsupported protocol " + S + ":", b.ERR_BAD_REQUEST, e));
1079
1079
  return;
1080
1080
  }
1081
- u.send(i || null);
1081
+ m.send(i || null);
1082
1082
  });
1083
1083
  }, Lr = (e, t) => {
1084
1084
  const { length: n } = e = e ? e.filter(Boolean) : [];
1085
1085
  if (t || n) {
1086
1086
  let r = new AbortController(), o;
1087
- const i = function(f) {
1087
+ const i = function(l) {
1088
1088
  if (!o) {
1089
1089
  o = !0, a();
1090
- const l = f instanceof Error ? f : this.reason;
1091
- r.abort(l instanceof y ? l : new V(l instanceof Error ? l.message : l));
1090
+ const u = l instanceof Error ? l : this.reason;
1091
+ r.abort(u instanceof b ? u : new V(u instanceof Error ? u.message : u));
1092
1092
  }
1093
1093
  };
1094
1094
  let s = t && setTimeout(() => {
1095
- s = null, i(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
1095
+ s = null, i(new b(`timeout ${t} of ms exceeded`, b.ETIMEDOUT));
1096
1096
  }, t);
1097
1097
  const a = () => {
1098
- e && (s && clearTimeout(s), s = null, e.forEach((f) => {
1099
- f.unsubscribe ? f.unsubscribe(i) : f.removeEventListener("abort", i);
1098
+ e && (s && clearTimeout(s), s = null, e.forEach((l) => {
1099
+ l.unsubscribe ? l.unsubscribe(i) : l.removeEventListener("abort", i);
1100
1100
  }), e = null);
1101
1101
  };
1102
- e.forEach((f) => f.addEventListener("abort", i));
1103
- const { signal: d } = r;
1104
- return d.unsubscribe = () => c.asap(a), d;
1102
+ e.forEach((l) => l.addEventListener("abort", i));
1103
+ const { signal: f } = r;
1104
+ return f.unsubscribe = () => c.asap(a), f;
1105
1105
  }
1106
1106
  }, Br = function* (e, t) {
1107
1107
  let n = e.byteLength;
@@ -1133,29 +1133,29 @@ const Gt = (e) => {
1133
1133
  }
1134
1134
  }, lt = (e, t, n, r) => {
1135
1135
  const o = $r(e, t);
1136
- let i = 0, s, a = (d) => {
1137
- s || (s = !0, r && r(d));
1136
+ let i = 0, s, a = (f) => {
1137
+ s || (s = !0, r && r(f));
1138
1138
  };
1139
1139
  return new ReadableStream({
1140
- async pull(d) {
1140
+ async pull(f) {
1141
1141
  try {
1142
- const { done: f, value: l } = await o.next();
1143
- if (f) {
1144
- a(), d.close();
1142
+ const { done: l, value: u } = await o.next();
1143
+ if (l) {
1144
+ a(), f.close();
1145
1145
  return;
1146
1146
  }
1147
- let h = l.byteLength;
1147
+ let h = u.byteLength;
1148
1148
  if (n) {
1149
- let b = i += h;
1150
- n(b);
1149
+ let g = i += h;
1150
+ n(g);
1151
1151
  }
1152
- d.enqueue(new Uint8Array(l));
1153
- } catch (f) {
1154
- throw a(f), f;
1152
+ f.enqueue(new Uint8Array(u));
1153
+ } catch (l) {
1154
+ throw a(l), l;
1155
1155
  }
1156
1156
  },
1157
- cancel(d) {
1158
- return a(d), o.return();
1157
+ cancel(f) {
1158
+ return a(f), o.return();
1159
1159
  }
1160
1160
  }, {
1161
1161
  highWaterMark: 2
@@ -1179,95 +1179,95 @@ const Gt = (e) => {
1179
1179
  const { fetch: t, Request: n, Response: r } = e, o = t ? le(t) : typeof fetch == "function", i = le(n), s = le(r);
1180
1180
  if (!o)
1181
1181
  return !1;
1182
- const a = o && le(dt), d = o && (typeof pt == "function" ? /* @__PURE__ */ ((p) => (m) => p.encode(m))(new pt()) : async (p) => new Uint8Array(await new n(p).arrayBuffer())), f = i && a && ht(() => {
1183
- let p = !1;
1184
- const m = new n(_.origin, {
1182
+ const a = o && le(dt), f = o && (typeof pt == "function" ? /* @__PURE__ */ ((d) => (y) => d.encode(y))(new pt()) : async (d) => new Uint8Array(await new n(d).arrayBuffer())), l = i && a && ht(() => {
1183
+ let d = !1;
1184
+ const y = new n(R.origin, {
1185
1185
  body: new dt(),
1186
1186
  method: "POST",
1187
1187
  get duplex() {
1188
- return p = !0, "half";
1188
+ return d = !0, "half";
1189
1189
  }
1190
1190
  }).headers.has("Content-Type");
1191
- return p && !m;
1192
- }), l = s && a && ht(() => c.isReadableStream(new r("").body)), h = {
1193
- stream: l && ((p) => p.body)
1191
+ return d && !y;
1192
+ }), u = s && a && ht(() => c.isReadableStream(new r("").body)), h = {
1193
+ stream: u && ((d) => d.body)
1194
1194
  };
1195
- o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((p) => {
1196
- !h[p] && (h[p] = (m, u) => {
1197
- let g = m && m[p];
1198
- if (g)
1199
- return g.call(m);
1200
- throw new y(`Response type '${p}' is not supported`, y.ERR_NOT_SUPPORT, u);
1195
+ o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((d) => {
1196
+ !h[d] && (h[d] = (y, m) => {
1197
+ let p = y && y[d];
1198
+ if (p)
1199
+ return p.call(y);
1200
+ throw new b(`Response type '${d}' is not supported`, b.ERR_NOT_SUPPORT, m);
1201
1201
  });
1202
1202
  });
1203
- const b = async (p) => {
1204
- if (p == null)
1203
+ const g = async (d) => {
1204
+ if (d == null)
1205
1205
  return 0;
1206
- if (c.isBlob(p))
1207
- return p.size;
1208
- if (c.isSpecCompliantForm(p))
1209
- return (await new n(_.origin, {
1206
+ if (c.isBlob(d))
1207
+ return d.size;
1208
+ if (c.isSpecCompliantForm(d))
1209
+ return (await new n(R.origin, {
1210
1210
  method: "POST",
1211
- body: p
1211
+ body: d
1212
1212
  }).arrayBuffer()).byteLength;
1213
- if (c.isArrayBufferView(p) || c.isArrayBuffer(p))
1214
- return p.byteLength;
1215
- if (c.isURLSearchParams(p) && (p = p + ""), c.isString(p))
1216
- return (await d(p)).byteLength;
1217
- }, O = async (p, m) => {
1218
- const u = c.toFiniteNumber(p.getContentLength());
1219
- return u ?? b(m);
1213
+ if (c.isArrayBufferView(d) || c.isArrayBuffer(d))
1214
+ return d.byteLength;
1215
+ if (c.isURLSearchParams(d) && (d = d + ""), c.isString(d))
1216
+ return (await f(d)).byteLength;
1217
+ }, O = async (d, y) => {
1218
+ const m = c.toFiniteNumber(d.getContentLength());
1219
+ return m ?? g(y);
1220
1220
  };
1221
- return async (p) => {
1221
+ return async (d) => {
1222
1222
  let {
1223
- url: m,
1224
- method: u,
1225
- data: g,
1223
+ url: y,
1224
+ method: m,
1225
+ data: p,
1226
1226
  signal: S,
1227
1227
  cancelToken: w,
1228
- timeout: R,
1228
+ timeout: _,
1229
1229
  onDownloadProgress: v,
1230
1230
  onUploadProgress: L,
1231
1231
  responseType: P,
1232
1232
  headers: Ae,
1233
1233
  withCredentials: ie = "same-origin",
1234
1234
  fetchOptions: Xe
1235
- } = Gt(p), Ze = t || fetch;
1235
+ } = Gt(d), Ze = t || fetch;
1236
1236
  P = P ? (P + "").toLowerCase() : "text";
1237
- let ae = Lr([S, w && w.toAbortSignal()], R), X = null;
1237
+ let ae = Lr([S, w && w.toAbortSignal()], _), X = null;
1238
1238
  const B = ae && ae.unsubscribe && (() => {
1239
1239
  ae.unsubscribe();
1240
1240
  });
1241
1241
  let Qe;
1242
1242
  try {
1243
- if (L && f && u !== "get" && u !== "head" && (Qe = await O(Ae, g)) !== 0) {
1244
- let D = new n(m, {
1243
+ if (L && l && m !== "get" && m !== "head" && (Qe = await O(Ae, p)) !== 0) {
1244
+ let D = new n(y, {
1245
1245
  method: "POST",
1246
- body: g,
1246
+ body: p,
1247
1247
  duplex: "half"
1248
1248
  }), q;
1249
- if (c.isFormData(g) && (q = D.headers.get("content-type")) && Ae.setContentType(q), D.body) {
1249
+ if (c.isFormData(p) && (q = D.headers.get("content-type")) && Ae.setContentType(q), D.body) {
1250
1250
  const [xe, ce] = at(
1251
1251
  Qe,
1252
1252
  he(ct(L))
1253
1253
  );
1254
- g = lt(D.body, ft, xe, ce);
1254
+ p = lt(D.body, ft, xe, ce);
1255
1255
  }
1256
1256
  }
1257
1257
  c.isString(ie) || (ie = ie ? "include" : "omit");
1258
1258
  const j = i && "credentials" in n.prototype, Ye = {
1259
1259
  ...Xe,
1260
1260
  signal: ae,
1261
- method: u.toUpperCase(),
1261
+ method: m.toUpperCase(),
1262
1262
  headers: Ae.normalize().toJSON(),
1263
- body: g,
1263
+ body: p,
1264
1264
  duplex: "half",
1265
1265
  credentials: j ? ie : void 0
1266
1266
  };
1267
- X = i && new n(m, Ye);
1268
- let U = await (i ? Ze(X, Xe) : Ze(m, Ye));
1269
- const et = l && (P === "stream" || P === "response");
1270
- if (l && (v || et && B)) {
1267
+ X = i && new n(y, Ye);
1268
+ let U = await (i ? Ze(X, Xe) : Ze(y, Ye));
1269
+ const et = u && (P === "stream" || P === "response");
1270
+ if (u && (v || et && B)) {
1271
1271
  const D = {};
1272
1272
  ["status", "statusText", "headers"].forEach((tt) => {
1273
1273
  D[tt] = U[tt];
@@ -1284,24 +1284,24 @@ const Gt = (e) => {
1284
1284
  );
1285
1285
  }
1286
1286
  P = P || "text";
1287
- let gn = await h[c.findKey(h, P) || "text"](U, p);
1287
+ let gn = await h[c.findKey(h, P) || "text"](U, d);
1288
1288
  return !et && B && B(), await new Promise((D, q) => {
1289
1289
  Kt(D, q, {
1290
1290
  data: gn,
1291
1291
  headers: x.from(U.headers),
1292
1292
  status: U.status,
1293
1293
  statusText: U.statusText,
1294
- config: p,
1294
+ config: d,
1295
1295
  request: X
1296
1296
  });
1297
1297
  });
1298
1298
  } catch (j) {
1299
1299
  throw B && B(), j && j.name === "TypeError" && /Load failed|fetch/i.test(j.message) ? Object.assign(
1300
- new y("Network Error", y.ERR_NETWORK, p, X),
1300
+ new b("Network Error", b.ERR_NETWORK, d, X),
1301
1301
  {
1302
1302
  cause: j.cause || j
1303
1303
  }
1304
- ) : y.from(j, j && j.code, p, X);
1304
+ ) : b.from(j, j && j.code, d, X);
1305
1305
  }
1306
1306
  };
1307
1307
  }, zr = /* @__PURE__ */ new Map(), Xt = (e) => {
@@ -1311,10 +1311,10 @@ const Gt = (e) => {
1311
1311
  o,
1312
1312
  n
1313
1313
  ];
1314
- let s = i.length, a = s, d, f, l = zr;
1314
+ let s = i.length, a = s, f, l, u = zr;
1315
1315
  for (; a--; )
1316
- d = i[a], f = l.get(d), f === void 0 && l.set(d, f = a ? /* @__PURE__ */ new Map() : Hr(t)), l = f;
1317
- return f;
1316
+ f = i[a], l = u.get(f), l === void 0 && u.set(f, l = a ? /* @__PURE__ */ new Map() : Hr(t)), u = l;
1317
+ return l;
1318
1318
  };
1319
1319
  Xt();
1320
1320
  const ke = {
@@ -1343,19 +1343,19 @@ function kr(e, t) {
1343
1343
  r = e[s];
1344
1344
  let a;
1345
1345
  if (o = r, !qr(r) && (o = ke[(a = String(r)).toLowerCase()], o === void 0))
1346
- throw new y(`Unknown adapter '${a}'`);
1346
+ throw new b(`Unknown adapter '${a}'`);
1347
1347
  if (o && (c.isFunction(o) || (o = o.get(t))))
1348
1348
  break;
1349
1349
  i[a || "#" + s] = o;
1350
1350
  }
1351
1351
  if (!o) {
1352
1352
  const s = Object.entries(i).map(
1353
- ([d, f]) => `adapter ${d} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1353
+ ([f, l]) => `adapter ${f} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1354
1354
  );
1355
1355
  let a = n ? s.length > 1 ? `since :
1356
1356
  ` + s.map(mt).join(`
1357
1357
  `) : " " + mt(s[0]) : "as no adapter specified";
1358
- throw new y(
1358
+ throw new b(
1359
1359
  "There is no suitable adapter to dispatch the request " + a,
1360
1360
  "ERR_NOT_SUPPORT"
1361
1361
  );
@@ -1409,9 +1409,9 @@ Se.transitional = function(t, n, r) {
1409
1409
  }
1410
1410
  return (i, s, a) => {
1411
1411
  if (t === !1)
1412
- throw new y(
1412
+ throw new b(
1413
1413
  o(s, " has been removed" + (n ? " in " + n : "")),
1414
- y.ERR_DEPRECATED
1414
+ b.ERR_DEPRECATED
1415
1415
  );
1416
1416
  return n && !bt[s] && (bt[s] = !0), t ? t(i, s, a) : !0;
1417
1417
  };
@@ -1421,19 +1421,19 @@ Se.spelling = function(t) {
1421
1421
  };
1422
1422
  function Jr(e, t, n) {
1423
1423
  if (typeof e != "object")
1424
- throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
1424
+ throw new b("options must be an object", b.ERR_BAD_OPTION_VALUE);
1425
1425
  const r = Object.keys(e);
1426
1426
  let o = r.length;
1427
1427
  for (; o-- > 0; ) {
1428
1428
  const i = r[o], s = t[i];
1429
1429
  if (s) {
1430
- const a = e[i], d = a === void 0 || s(a, i, e);
1431
- if (d !== !0)
1432
- throw new y("option " + i + " must be " + d, y.ERR_BAD_OPTION_VALUE);
1430
+ const a = e[i], f = a === void 0 || s(a, i, e);
1431
+ if (f !== !0)
1432
+ throw new b("option " + i + " must be " + f, b.ERR_BAD_OPTION_VALUE);
1433
1433
  continue;
1434
1434
  }
1435
1435
  if (n !== !0)
1436
- throw new y("Unknown option " + i, y.ERR_BAD_OPTION);
1436
+ throw new b("Unknown option " + i, b.ERR_BAD_OPTION);
1437
1437
  }
1438
1438
  }
1439
1439
  const pe = {
@@ -1494,45 +1494,45 @@ class I {
1494
1494
  );
1495
1495
  i && c.forEach(
1496
1496
  ["delete", "get", "head", "post", "put", "patch", "common"],
1497
- (p) => {
1498
- delete i[p];
1497
+ (d) => {
1498
+ delete i[d];
1499
1499
  }
1500
1500
  ), n.headers = x.concat(s, i);
1501
1501
  const a = [];
1502
- let d = !0;
1503
- this.interceptors.request.forEach(function(m) {
1504
- typeof m.runWhen == "function" && m.runWhen(n) === !1 || (d = d && m.synchronous, a.unshift(m.fulfilled, m.rejected));
1502
+ let f = !0;
1503
+ this.interceptors.request.forEach(function(y) {
1504
+ typeof y.runWhen == "function" && y.runWhen(n) === !1 || (f = f && y.synchronous, a.unshift(y.fulfilled, y.rejected));
1505
1505
  });
1506
- const f = [];
1507
- this.interceptors.response.forEach(function(m) {
1508
- f.push(m.fulfilled, m.rejected);
1506
+ const l = [];
1507
+ this.interceptors.response.forEach(function(y) {
1508
+ l.push(y.fulfilled, y.rejected);
1509
1509
  });
1510
- let l, h = 0, b;
1511
- if (!d) {
1512
- const p = [yt.bind(this), void 0];
1513
- for (p.unshift(...a), p.push(...f), b = p.length, l = Promise.resolve(n); h < b; )
1514
- l = l.then(p[h++], p[h++]);
1515
- return l;
1510
+ let u, h = 0, g;
1511
+ if (!f) {
1512
+ const d = [yt.bind(this), void 0];
1513
+ for (d.unshift(...a), d.push(...l), g = d.length, u = Promise.resolve(n); h < g; )
1514
+ u = u.then(d[h++], d[h++]);
1515
+ return u;
1516
1516
  }
1517
- b = a.length;
1517
+ g = a.length;
1518
1518
  let O = n;
1519
- for (; h < b; ) {
1520
- const p = a[h++], m = a[h++];
1519
+ for (; h < g; ) {
1520
+ const d = a[h++], y = a[h++];
1521
1521
  try {
1522
- O = p(O);
1523
- } catch (u) {
1524
- m.call(this, u);
1522
+ O = d(O);
1523
+ } catch (m) {
1524
+ y.call(this, m);
1525
1525
  break;
1526
1526
  }
1527
1527
  }
1528
1528
  try {
1529
- l = yt.call(this, O);
1530
- } catch (p) {
1531
- return Promise.reject(p);
1529
+ u = yt.call(this, O);
1530
+ } catch (d) {
1531
+ return Promise.reject(d);
1532
1532
  }
1533
- for (h = 0, b = f.length; h < b; )
1534
- l = l.then(f[h++], f[h++]);
1535
- return l;
1533
+ for (h = 0, g = l.length; h < g; )
1534
+ u = u.then(l[h++], l[h++]);
1535
+ return u;
1536
1536
  }
1537
1537
  getUri(t) {
1538
1538
  t = M(this.defaults, t);
@@ -1732,7 +1732,7 @@ T.CancelToken = Je;
1732
1732
  T.isCancel = Vt;
1733
1733
  T.VERSION = Qt;
1734
1734
  T.toFormData = Ee;
1735
- T.AxiosError = y;
1735
+ T.AxiosError = b;
1736
1736
  T.Cancel = T.CanceledError;
1737
1737
  T.all = function(t) {
1738
1738
  return Promise.all(t);
@@ -1989,8 +1989,8 @@ function Be(e, t, n) {
1989
1989
  function Zo(e) {
1990
1990
  return function(t, n, r) {
1991
1991
  for (var o = -1, i = Object(t), s = r(t), a = s.length; a--; ) {
1992
- var d = s[++o];
1993
- if (n(i[d], d, i) === !1)
1992
+ var f = s[++o];
1993
+ if (n(i[f], f, i) === !1)
1994
1994
  break;
1995
1995
  }
1996
1996
  return t;
@@ -2107,8 +2107,8 @@ function Qs(e, t, n, r) {
2107
2107
  var o = !n;
2108
2108
  n || (n = {});
2109
2109
  for (var i = -1, s = t.length; ++i < s; ) {
2110
- var a = t[i], d = void 0;
2111
- d === void 0 && (d = e[a]), o ? We(n, a, d) : Zs(n, a, d);
2110
+ var a = t[i], f = void 0;
2111
+ f === void 0 && (f = e[a]), o ? We(n, a, f) : Zs(n, a, f);
2112
2112
  }
2113
2113
  return n;
2114
2114
  }
@@ -2123,13 +2123,13 @@ function hn(e, t) {
2123
2123
  return t = t ?? ei, !!t && (n == "number" || n != "symbol" && ti.test(e)) && e > -1 && e % 1 == 0 && e < t;
2124
2124
  }
2125
2125
  function ni(e, t) {
2126
- var n = Ie(e), r = !n && $e(e), o = !n && !r && ln(e), i = !n && !r && !o && pn(e), s = n || r || o || i, a = s ? Ys(e.length, String) : [], d = a.length;
2127
- for (var f in e)
2126
+ var n = Ie(e), r = !n && $e(e), o = !n && !r && ln(e), i = !n && !r && !o && pn(e), s = n || r || o || i, a = s ? Ys(e.length, String) : [], f = a.length;
2127
+ for (var l in e)
2128
2128
  s && // Safari 9 has enumerable `arguments.length` in strict mode.
2129
- (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2130
- o && (f == "offset" || f == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2131
- i && (f == "buffer" || f == "byteLength" || f == "byteOffset") || // Skip index properties.
2132
- hn(f, d)) || a.push(f);
2129
+ (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2130
+ o && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2131
+ i && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
2132
+ hn(l, f)) || a.push(l);
2133
2133
  return a;
2134
2134
  }
2135
2135
  function ri(e) {
@@ -2155,17 +2155,17 @@ function ai(e) {
2155
2155
  return Qs(e, mn(e));
2156
2156
  }
2157
2157
  function ci(e, t, n, r, o, i, s) {
2158
- var a = Me(e, n), d = Me(t, n), f = s.get(d);
2159
- if (f) {
2160
- Be(e, n, f);
2158
+ var a = Me(e, n), f = Me(t, n), l = s.get(f);
2159
+ if (l) {
2160
+ Be(e, n, l);
2161
2161
  return;
2162
2162
  }
2163
- var l = i ? i(a, d, n + "", e, t, s) : void 0, h = l === void 0;
2163
+ var u = i ? i(a, f, n + "", e, t, s) : void 0, h = u === void 0;
2164
2164
  if (h) {
2165
- var b = Ie(d), O = !b && ln(d), p = !b && !O && pn(d);
2166
- l = d, b || O || p ? Ie(a) ? l = a : ds(a) ? l = rs(a) : O ? (h = !1, l = es(d)) : p ? (h = !1, l = ns(d)) : l = [] : Ss(d) || $e(d) ? (l = a, $e(a) ? l = ai(a) : (!z(a) || Ve(a)) && (l = as(d))) : h = !1;
2165
+ var g = Ie(f), O = !g && ln(f), d = !g && !O && pn(f);
2166
+ u = f, g || O || d ? Ie(a) ? u = a : ds(a) ? u = rs(a) : O ? (h = !1, u = es(f)) : d ? (h = !1, u = ns(f)) : u = [] : Ss(f) || $e(f) ? (u = a, $e(a) ? u = ai(a) : (!z(a) || Ve(a)) && (u = as(f))) : h = !1;
2167
2167
  }
2168
- h && (s.set(d, l), o(l, d, r, i, s), s.delete(d)), Be(e, n, l);
2168
+ h && (s.set(f, u), o(u, f, r, i, s), s.delete(f)), Be(e, n, u);
2169
2169
  }
2170
2170
  function yn(e, t, n, r, o) {
2171
2171
  e !== t && Qo(t, function(i, s) {
@@ -2253,41 +2253,39 @@ var Ct = Ei(function(e, t, n) {
2253
2253
  yn(e, t, n);
2254
2254
  });
2255
2255
  const Oi = (e, t) => {
2256
- const n = (r, o) => (i, s) => (a, d) => {
2257
- const f = ue(!1), l = ue(null), h = ue(null), b = ue(null);
2256
+ const n = (r, o) => (i, s) => (a, f) => {
2257
+ const l = ue(!1), u = ue(null), h = ue(null), g = ue(null);
2258
2258
  return {
2259
- loading: f,
2260
- error: l,
2259
+ loading: l,
2260
+ error: u,
2261
2261
  data: h,
2262
- run: async (p, m) => {
2263
- f.value = !0, l.value = null, h.value = null, b.value = new AbortController();
2264
- let u = null;
2265
- try {
2266
- e || (e = T.create());
2267
- let g = "";
2268
- typeof i == "string" && (g = i), wn(i) && (g = i.value), u = {
2269
- method: r,
2270
- url: g,
2271
- headers: {}
2272
- }, p && (a = p), u.method === "get" || u.method === "delete" ? u.params = a : u.data = a, u.method !== "get" && (u.params = {
2273
- ...u.params,
2274
- timestamp: (/* @__PURE__ */ new Date()).getTime()
2275
- }), s && (u = await s(u)), d && (u = Ct(u, d)), m && (u = Ct(u, m)), t && (u = await t(u)), u.axiosInstance && (e = u.axiosInstance), u.urlPrefix && (u.baseURL = u.baseURL + u.urlPrefix), u.signal || (u.signal = b.value.signal), u != null && u.beforeRun && (u = await (u == null ? void 0 : u.beforeRun(u)));
2276
- const S = await e(u);
2262
+ run: async (d, y) => {
2263
+ l.value = !0, u.value = null, h.value = null, g.value = new AbortController(), e || (e = T.create());
2264
+ let m = "";
2265
+ typeof i == "string" && (m = i), wn(i) && (m = i.value);
2266
+ let p = {
2267
+ method: r,
2268
+ url: m,
2269
+ headers: {}
2270
+ };
2271
+ return d && (a = d), p.method === "get" || p.method === "delete" ? p.params = a : p.data = a, p.method !== "get" && (p.params = {
2272
+ ...p.params,
2273
+ timestamp: (/* @__PURE__ */ new Date()).getTime()
2274
+ }), s && (p = await s(p)), f && (p = Ct(p, f)), y && (p = Ct(p, y)), t && (p = await t(p)), p.axiosInstance && (e = p.axiosInstance), p.urlPrefix && (p.baseURL = p.baseURL + p.urlPrefix), p.signal || (p.signal = g.value.signal), p != null && p.beforeRun && (p = await (p == null ? void 0 : p.beforeRun(p))), e(p).then(async (S) => {
2277
2275
  let w = (S == null ? void 0 : S.data) ?? S;
2278
- return u.onSuccess && (w = await u.onSuccess(S, u)), h.value = w, [null, w];
2279
- } catch (g) {
2280
- if (u != null && u.signal) {
2281
- const w = u.signal.reason;
2282
- typeof w == "string" && (g.abortReason = w || "");
2276
+ return p.onSuccess && (w = await p.onSuccess(S, p)), h.value = w, Promise.resolve([null, w]);
2277
+ }).catch(async (S) => {
2278
+ if (p != null && p.signal) {
2279
+ const _ = p.signal.reason;
2280
+ typeof _ == "string" && (S.abortReason = _ || "");
2283
2281
  }
2284
- let S = g;
2285
- return u != null && u.onError && (S = await u.onError(g, u)), u != null && u.onCustomError && (S = await u.onCustomError(g, u)), l.value = S, [S, null];
2286
- } finally {
2287
- f.value = !1, u != null && u.finally && u.finally(u);
2288
- }
2282
+ let w = S;
2283
+ return p != null && p.onError && (w = await p.onError(S, p)), p != null && p.onCustomError && (w = await p.onCustomError(S, p)), u.value = w, Promise.resolve([w, null]);
2284
+ }).finally(() => {
2285
+ p.finally && p.finally(p), l.value = !1;
2286
+ });
2289
2287
  },
2290
- abortController: b
2288
+ abortController: g
2291
2289
  };
2292
2290
  };
2293
2291
  return {