@das-fed/upf-utils 6.4.0-dev.227 → 6.4.0-dev.229

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 (93) hide show
  1. package/api-services/es5.js +1082 -1077
  2. package/api-services/index.js +846 -842
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1418 -1403
  5. package/api-services/modules/app-manage/index.js +1198 -1180
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +161 -158
  8. package/api-services/modules/authentication/index.js +138 -138
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1180 -1165
  11. package/api-services/modules/bems/index.js +976 -958
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +702 -699
  14. package/api-services/modules/contract/index.js +619 -619
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1389 -1374
  17. package/api-services/modules/duty-manage/index.js +1180 -1162
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1174 -1159
  20. package/api-services/modules/enterpriseright/index.js +971 -953
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1337 -1346
  23. package/api-services/modules/file/es5.js +1222 -1231
  24. package/api-services/modules/file/index.js +987 -1005
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1384 -1391
  27. package/api-services/modules/gateway-edge/index.js +1165 -1179
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1046 -1064
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1206 -1191
  32. package/api-services/modules/iot/index.js +1006 -988
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1148 -1133
  35. package/api-services/modules/justauth/index.js +954 -936
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1157 -1163
  38. package/api-services/modules/knowledge/index.js +955 -969
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1384 -1393
  41. package/api-services/modules/link/index.js +1165 -1183
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1157 -1163
  44. package/api-services/modules/permission/index.js +955 -969
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +171 -168
  47. package/api-services/modules/platformManage/index.js +150 -150
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +235 -232
  50. package/api-services/modules/portal/index.js +209 -209
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +919 -913
  53. package/api-services/modules/space-manage/index.js +728 -724
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1117 -1126
  56. package/api-services/modules/super-admin/index.js +916 -934
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +165 -162
  59. package/api-services/modules/supplier/index.js +141 -141
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1134 -1143
  62. package/api-services/modules/supplychain-manage/index.js +932 -950
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1145 -1133
  65. package/api-services/modules/systemConfiguration/index.js +948 -934
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1174 -1159
  68. package/api-services/modules/tool/index.js +971 -953
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +1390 -1397
  71. package/api-services/src/create-service/index.js +1164 -1178
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +1635 -1596
  74. package/common-info/getPermissionMethod/es5.js +1160 -1148
  75. package/common-info/getPermissionMethod/index.js +956 -942
  76. package/common-info/getPermissionMethod/index.js.gz +0 -0
  77. package/common-info/index.d.ts +9 -2
  78. package/common-info/index.js +1417 -1397
  79. package/common-info/index.js.gz +0 -0
  80. package/create-api-service/es5.js +165 -161
  81. package/create-api-service/index.d.ts +6 -6
  82. package/create-api-service/index.js +151 -150
  83. package/create-api-service/index.js.gz +0 -0
  84. package/directive/auth/es5.js +49 -56
  85. package/directive/auth/index.js +33 -41
  86. package/directive/auth/index.js.gz +0 -0
  87. package/esm-map.json +4 -1
  88. package/hooks/use-get-auth/es5.js +57 -191
  89. package/hooks/use-get-auth/index.d.ts +2 -7
  90. package/hooks/use-get-auth/index.js +16 -50
  91. package/package.json +3 -3
  92. package/hooks/use-get-auth/apis.d.ts +0 -4
  93. package/hooks/use-get-auth/index.js.gz +0 -0
@@ -179,7 +179,7 @@ const Ho = (t) => {
179
179
  return n;
180
180
  };
181
181
  return r(t, 0);
182
- }, Wo = q("AsyncFunction"), zo = (t) => t && (Ce(t) || I(t)) && I(t.then) && I(t.catch), on = ((t, e) => t ? setImmediate : e ? ((r, n) => (ee.addEventListener("message", ({ source: o, data: a }) => {
182
+ }, zo = q("AsyncFunction"), Wo = (t) => t && (Ce(t) || I(t)) && I(t.then) && I(t.catch), on = ((t, e) => t ? setImmediate : e ? ((r, n) => (ee.addEventListener("message", ({ source: o, data: a }) => {
183
183
  o === ee && a === r && n.length && n.shift()();
184
184
  }, !1), (o) => {
185
185
  n.push(o), ee.postMessage(r, "*");
@@ -240,8 +240,8 @@ const Ho = (t) => {
240
240
  isContextDefined: rn,
241
241
  isSpecCompliantForm: jo,
242
242
  toJSONObject: Ho,
243
- isAsyncFn: Wo,
244
- isThenable: zo,
243
+ isAsyncFn: zo,
244
+ isThenable: Wo,
245
245
  setImmediate: on,
246
246
  asap: Go,
247
247
  isIterable: Jo
@@ -364,14 +364,14 @@ function tt(t, e, r) {
364
364
  if (!f.isUndefined(d)) {
365
365
  if (p.indexOf(d) !== -1)
366
366
  throw Error("Circular reference detected in " + m.join("."));
367
- p.push(d), f.forEach(d, function(S, A) {
367
+ p.push(d), f.forEach(d, function(S, O) {
368
368
  (!(f.isUndefined(S) || S === null) && o.call(
369
369
  e,
370
370
  S,
371
- f.isString(A) ? A.trim() : A,
371
+ f.isString(O) ? O.trim() : O,
372
372
  m,
373
373
  y
374
- )) === !0 && v(S, m ? m.concat(A) : [A]);
374
+ )) === !0 && v(S, m ? m.concat(O) : [O]);
375
375
  }), p.pop();
376
376
  }
377
377
  }
@@ -492,10 +492,10 @@ const fn = {
492
492
  Blob: ea
493
493
  },
494
494
  protocols: ["http", "https", "file", "blob", "url", "data"]
495
- }, Wt = typeof window < "u" && typeof document < "u", $t = typeof navigator == "object" && navigator || void 0, ra = Wt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0), na = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
496
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", oa = Wt && window.location.href || "http://localhost", aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
495
+ }, zt = typeof window < "u" && typeof document < "u", $t = typeof navigator == "object" && navigator || void 0, ra = zt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0), na = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
496
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", oa = zt && window.location.href || "http://localhost", aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
497
497
  __proto__: null,
498
- hasBrowserEnv: Wt,
498
+ hasBrowserEnv: zt,
499
499
  hasStandardBrowserEnv: ra,
500
500
  hasStandardBrowserWebWorkerEnv: na,
501
501
  navigator: $t,
@@ -1047,7 +1047,7 @@ const mn = (t) => {
1047
1047
  return;
1048
1048
  const g = D.from(
1049
1049
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1050
- ), O = {
1050
+ ), P = {
1051
1051
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1052
1052
  status: h.status,
1053
1053
  statusText: h.statusText,
@@ -1059,32 +1059,32 @@ const mn = (t) => {
1059
1059
  r(T), m();
1060
1060
  }, function(T) {
1061
1061
  n(T), m();
1062
- }, O), h = null;
1062
+ }, P), h = null;
1063
1063
  }
1064
1064
  "onloadend" in h ? h.onloadend = S : h.onreadystatechange = function() {
1065
1065
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(S);
1066
1066
  }, h.onabort = function() {
1067
1067
  h && (n(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
1068
1068
  }, h.onerror = function(E) {
1069
- const O = E && E.message ? E.message : "Network Error", U = new w(O, w.ERR_NETWORK, t, h);
1069
+ const P = E && E.message ? E.message : "Network Error", U = new w(P, w.ERR_NETWORK, t, h);
1070
1070
  U.event = E || null, n(U), h = null;
1071
1071
  }, h.ontimeout = function() {
1072
1072
  let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1073
- const O = o.transitional || fn;
1073
+ const P = o.transitional || fn;
1074
1074
  o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(
1075
1075
  E,
1076
- O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1076
+ P.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1077
1077
  t,
1078
1078
  h
1079
1079
  )), h = null;
1080
- }, a === void 0 && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function(E, O) {
1081
- h.setRequestHeader(O, E);
1080
+ }, a === void 0 && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function(E, P) {
1081
+ h.setRequestHeader(P, E);
1082
1082
  }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), u && ([y, d] = Je(u, !0), h.addEventListener("progress", y)), c && h.upload && ([p, v] = Je(c), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1083
1083
  h && (n(!g || g.type ? new ve(null, t, h) : g), h.abort(), h = null);
1084
1084
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1085
- const A = ma(o.url);
1086
- if (A && N.protocols.indexOf(A) === -1) {
1087
- n(new w("Unsupported protocol " + A + ":", w.ERR_BAD_REQUEST, t));
1085
+ const O = ma(o.url);
1086
+ if (O && N.protocols.indexOf(O) === -1) {
1087
+ n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
1088
1088
  return;
1089
1089
  }
1090
1090
  h.send(a || null);
@@ -1232,10 +1232,10 @@ const mn = (t) => {
1232
1232
  url: m,
1233
1233
  method: h,
1234
1234
  data: S,
1235
- signal: A,
1235
+ signal: O,
1236
1236
  cancelToken: g,
1237
1237
  timeout: E,
1238
- onDownloadProgress: O,
1238
+ onDownloadProgress: P,
1239
1239
  onUploadProgress: U,
1240
1240
  responseType: T,
1241
1241
  headers: V,
@@ -1243,7 +1243,7 @@ const mn = (t) => {
1243
1243
  fetchOptions: M
1244
1244
  } = mn(d), Z = e || fetch;
1245
1245
  T = T ? (T + "").toLowerCase() : "text";
1246
- let k = Ra([A, g && g.toAbortSignal()], E), C = null;
1246
+ let k = Ra([O, g && g.toAbortSignal()], E), C = null;
1247
1247
  const F = k && k.unsubscribe && (() => {
1248
1248
  k.unsubscribe();
1249
1249
  });
@@ -1276,14 +1276,14 @@ const mn = (t) => {
1276
1276
  C = a && new r(m, le);
1277
1277
  let j = await (a ? Z(C, M) : Z(m, le));
1278
1278
  const be = l && (T === "stream" || T === "response");
1279
- if (l && (O || be && F)) {
1279
+ if (l && (P || be && F)) {
1280
1280
  const K = {};
1281
1281
  ["status", "statusText", "headers"].forEach((er) => {
1282
1282
  K[er] = j[er];
1283
1283
  });
1284
- const ce = f.toFiniteNumber(j.headers.get("content-length")), [st, Ue] = O && ir(
1284
+ const ce = f.toFiniteNumber(j.headers.get("content-length")), [st, Ue] = P && ir(
1285
1285
  ce,
1286
- Je(sr(O), !0)
1286
+ Je(sr(P), !0)
1287
1287
  ) || [];
1288
1288
  j = new n(
1289
1289
  cr(j.body, ur, st, () => {
@@ -1326,14 +1326,14 @@ const mn = (t) => {
1326
1326
  return u;
1327
1327
  };
1328
1328
  gn();
1329
- const zt = {
1329
+ const Wt = {
1330
1330
  http: Vo,
1331
1331
  xhr: Aa,
1332
1332
  fetch: {
1333
1333
  get: gn
1334
1334
  }
1335
1335
  };
1336
- f.forEach(zt, (t, e) => {
1336
+ f.forEach(Wt, (t, e) => {
1337
1337
  if (t) {
1338
1338
  try {
1339
1339
  Object.defineProperty(t, "name", { value: e });
@@ -1351,7 +1351,7 @@ function Na(t, e) {
1351
1351
  for (let i = 0; i < r; i++) {
1352
1352
  n = t[i];
1353
1353
  let s;
1354
- if (o = n, !$a(n) && (o = zt[(s = String(n)).toLowerCase()], o === void 0))
1354
+ if (o = n, !$a(n) && (o = Wt[(s = String(n)).toLowerCase()], o === void 0))
1355
1355
  throw new w(`Unknown adapter '${s}'`);
1356
1356
  if (o && (f.isFunction(o) || (o = o.get(e))))
1357
1357
  break;
@@ -1381,7 +1381,7 @@ const vn = {
1381
1381
  * Exposes all known adapters
1382
1382
  * @type {Object<string, Function|Object>}
1383
1383
  */
1384
- adapters: zt
1384
+ adapters: Wt
1385
1385
  };
1386
1386
  function ut(t) {
1387
1387
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
@@ -1734,26 +1734,26 @@ function bn(t) {
1734
1734
  return bn(ae(t, o));
1735
1735
  }, r;
1736
1736
  }
1737
- const P = bn($e);
1738
- P.Axios = te;
1739
- P.CanceledError = ve;
1740
- P.CancelToken = Gt;
1741
- P.isCancel = dn;
1742
- P.VERSION = wn;
1743
- P.toFormData = tt;
1744
- P.AxiosError = w;
1745
- P.Cancel = P.CanceledError;
1746
- P.all = function(e) {
1737
+ const R = bn($e);
1738
+ R.Axios = te;
1739
+ R.CanceledError = ve;
1740
+ R.CancelToken = Gt;
1741
+ R.isCancel = dn;
1742
+ R.VERSION = wn;
1743
+ R.toFormData = tt;
1744
+ R.AxiosError = w;
1745
+ R.Cancel = R.CanceledError;
1746
+ R.all = function(e) {
1747
1747
  return Promise.all(e);
1748
1748
  };
1749
- P.spread = Da;
1750
- P.isAxiosError = Ua;
1751
- P.mergeConfig = ae;
1752
- P.AxiosHeaders = D;
1753
- P.formToJSON = (t) => pn(f.isHTMLForm(t) ? new FormData(t) : t);
1754
- P.getAdapter = vn.getAdapter;
1755
- P.HttpStatusCode = Nt;
1756
- P.default = P;
1749
+ R.spread = Da;
1750
+ R.isAxiosError = Ua;
1751
+ R.mergeConfig = ae;
1752
+ R.AxiosHeaders = D;
1753
+ R.formToJSON = (t) => pn(f.isHTMLForm(t) ? new FormData(t) : t);
1754
+ R.getAdapter = vn.getAdapter;
1755
+ R.HttpStatusCode = Nt;
1756
+ R.default = R;
1757
1757
  var gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1758
1758
  function La(t) {
1759
1759
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -1782,7 +1782,7 @@ const Ma = {}, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1782
1782
  __proto__: null,
1783
1783
  default: Ma
1784
1784
  }, Symbol.toStringTag, { value: "Module" })), qa = /* @__PURE__ */ Ba(ka);
1785
- var Jt = typeof Map == "function" && Map.prototype, ft = Object.getOwnPropertyDescriptor && Jt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ve = Jt && ft && typeof ft.get == "function" ? ft.get : null, vr = Jt && Map.prototype.forEach, Vt = typeof Set == "function" && Set.prototype, pt = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ke = Vt && pt && typeof pt.get == "function" ? pt.get : null, wr = Vt && Set.prototype.forEach, ja = typeof WeakMap == "function" && WeakMap.prototype, Ae = ja ? WeakMap.prototype.has : null, Ha = typeof WeakSet == "function" && WeakSet.prototype, Re = Ha ? WeakSet.prototype.has : null, Wa = typeof WeakRef == "function" && WeakRef.prototype, br = Wa ? WeakRef.prototype.deref : null, za = Boolean.prototype.valueOf, Ga = Object.prototype.toString, Ja = Function.prototype.toString, Va = String.prototype.match, Kt = String.prototype.slice, Q = String.prototype.replace, Ka = String.prototype.toUpperCase, Sr = String.prototype.toLowerCase, Sn = RegExp.prototype.test, Er = Array.prototype.concat, G = Array.prototype.join, Qa = Array.prototype.slice, Or = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, dt = Object.getOwnPropertySymbols, Dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, he = typeof Symbol == "function" && typeof Symbol.iterator == "object", Pe = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === he || !0) ? Symbol.toStringTag : null, En = Object.prototype.propertyIsEnumerable, Ar = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1785
+ var Jt = typeof Map == "function" && Map.prototype, ft = Object.getOwnPropertyDescriptor && Jt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ve = Jt && ft && typeof ft.get == "function" ? ft.get : null, vr = Jt && Map.prototype.forEach, Vt = typeof Set == "function" && Set.prototype, pt = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ke = Vt && pt && typeof pt.get == "function" ? pt.get : null, wr = Vt && Set.prototype.forEach, ja = typeof WeakMap == "function" && WeakMap.prototype, Ae = ja ? WeakMap.prototype.has : null, Ha = typeof WeakSet == "function" && WeakSet.prototype, Re = Ha ? WeakSet.prototype.has : null, za = typeof WeakRef == "function" && WeakRef.prototype, br = za ? WeakRef.prototype.deref : null, Wa = Boolean.prototype.valueOf, Ga = Object.prototype.toString, Ja = Function.prototype.toString, Va = String.prototype.match, Kt = String.prototype.slice, Q = String.prototype.replace, Ka = String.prototype.toUpperCase, Sr = String.prototype.toLowerCase, Sn = RegExp.prototype.test, Er = Array.prototype.concat, G = Array.prototype.join, Qa = Array.prototype.slice, Or = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, dt = Object.getOwnPropertySymbols, Dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, he = typeof Symbol == "function" && typeof Symbol.iterator == "object", Pe = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === he || !0) ? Symbol.toStringTag : null, En = Object.prototype.propertyIsEnumerable, Ar = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1786
1786
  return t.__proto__;
1787
1787
  } : null);
1788
1788
  function Rr(t, e) {
@@ -1864,8 +1864,8 @@ var Ut = qa, Pr = Ut.custom, Tr = Rn(Pr) ? Pr : null, On = {
1864
1864
  return typeof e == "object" && !he ? Oe(m) : m;
1865
1865
  }
1866
1866
  if (pi(e)) {
1867
- for (var h = "<" + Sr.call(String(e.nodeName)), S = e.attributes || [], A = 0; A < S.length; A++)
1868
- h += " " + S[A].name + "=" + An(Za(S[A].value), "double", a);
1867
+ for (var h = "<" + Sr.call(String(e.nodeName)), S = e.attributes || [], O = 0; O < S.length; O++)
1868
+ h += " " + S[O].name + "=" + An(Za(S[O].value), "double", a);
1869
1869
  return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + Sr.call(String(e.nodeName)) + ">", h;
1870
1870
  }
1871
1871
  if (Lt(e)) {
@@ -1885,10 +1885,10 @@ var Ut = qa, Pr = Ut.custom, Tr = Rn(Pr) ? Pr : null, On = {
1885
1885
  return e.inspect();
1886
1886
  }
1887
1887
  if (si(e)) {
1888
- var O = [];
1888
+ var P = [];
1889
1889
  return vr && vr.call(e, function(C, F) {
1890
- O.push(y(F, e, !0) + " => " + y(C, e));
1891
- }), _r("Map", Ve.call(e), O, p);
1890
+ P.push(y(F, e, !0) + " => " + y(C, e));
1891
+ }), _r("Map", Ve.call(e), P, p);
1892
1892
  }
1893
1893
  if (ui(e)) {
1894
1894
  var U = [];
@@ -1907,7 +1907,7 @@ var Ut = qa, Pr = Ut.custom, Tr = Rn(Pr) ? Pr : null, On = {
1907
1907
  if (oi(e))
1908
1908
  return Oe(y(It.call(e)));
1909
1909
  if (ni(e))
1910
- return Oe(za.call(e));
1910
+ return Oe(Wa.call(e));
1911
1911
  if (ti(e))
1912
1912
  return Oe(y(String(e)));
1913
1913
  if (typeof window < "u" && e === window)
@@ -2202,21 +2202,21 @@ var mi = nt, gi = we, ot = function(t, e, r) {
2202
2202
  return e !== e;
2203
2203
  }, Ui = Di, Li = function(e) {
2204
2204
  return Ui(e) || e === 0 ? e : e < 0 ? -1 : 1;
2205
- }, Bi = Object.getOwnPropertyDescriptor, We = Bi;
2206
- if (We)
2205
+ }, Bi = Object.getOwnPropertyDescriptor, ze = Bi;
2206
+ if (ze)
2207
2207
  try {
2208
- We([], "length");
2208
+ ze([], "length");
2209
2209
  } catch {
2210
- We = null;
2210
+ ze = null;
2211
2211
  }
2212
- var _n = We, ze = Object.defineProperty || !1;
2213
- if (ze)
2212
+ var _n = ze, We = Object.defineProperty || !1;
2213
+ if (We)
2214
2214
  try {
2215
- ze({}, "a", { value: 1 });
2215
+ We({}, "a", { value: 1 });
2216
2216
  } catch {
2217
- ze = !1;
2217
+ We = !1;
2218
2218
  }
2219
- var Mi = ze, ht, Cr;
2219
+ var Mi = We, ht, Cr;
2220
2220
  function ki() {
2221
2221
  return Cr || (Cr = 1, ht = function() {
2222
2222
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
@@ -2266,7 +2266,7 @@ function Fn() {
2266
2266
  var t = xn;
2267
2267
  return vt = t.getPrototypeOf || null, vt;
2268
2268
  }
2269
- var ji = "Function.prototype.bind called on incompatible ", Hi = Object.prototype.toString, Wi = Math.max, zi = "[object Function]", Ir = function(e, r) {
2269
+ var ji = "Function.prototype.bind called on incompatible ", Hi = Object.prototype.toString, zi = Math.max, Wi = "[object Function]", Ir = function(e, r) {
2270
2270
  for (var n = [], o = 0; o < e.length; o += 1)
2271
2271
  n[o] = e[o];
2272
2272
  for (var a = 0; a < r.length; a += 1)
@@ -2282,7 +2282,7 @@ var ji = "Function.prototype.bind called on incompatible ", Hi = Object.prototyp
2282
2282
  return r;
2283
2283
  }, Vi = function(e) {
2284
2284
  var r = this;
2285
- if (typeof r != "function" || Hi.apply(r) !== zi)
2285
+ if (typeof r != "function" || Hi.apply(r) !== Wi)
2286
2286
  throw new TypeError(ji + r);
2287
2287
  for (var n = Gi(arguments, 1), o, a = function() {
2288
2288
  if (this instanceof o) {
@@ -2296,7 +2296,7 @@ var ji = "Function.prototype.bind called on incompatible ", Hi = Object.prototyp
2296
2296
  e,
2297
2297
  Ir(n, arguments)
2298
2298
  );
2299
- }, i = Wi(0, r.length - n.length), s = [], c = 0; c < i; c++)
2299
+ }, i = zi(0, r.length - n.length), s = [], c = 0; c < i; c++)
2300
2300
  s[c] = "$" + c;
2301
2301
  if (o = Function("binder", "return function (" + Ji(s, ",") + "){ return binder.apply(this,arguments); }")(a), r.prototype) {
2302
2302
  var u = function() {
@@ -2597,7 +2597,7 @@ var xs = function t(e) {
2597
2597
  /** @type {const} */
2598
2598
  [n]
2599
2599
  ) : n;
2600
- }, Ls = Xt, De = Bn, Bs = nt, Ms = we, qr = Ls("%Map%", !0), ks = De("Map.prototype.get", !0), qs = De("Map.prototype.set", !0), js = De("Map.prototype.has", !0), Hs = De("Map.prototype.delete", !0), Ws = De("Map.prototype.size", !0), Mn = !!qr && /** @type {Exclude<import('.'), false>} */
2600
+ }, Ls = Xt, De = Bn, Bs = nt, Ms = we, qr = Ls("%Map%", !0), ks = De("Map.prototype.get", !0), qs = De("Map.prototype.set", !0), js = De("Map.prototype.has", !0), Hs = De("Map.prototype.delete", !0), zs = De("Map.prototype.size", !0), Mn = !!qr && /** @type {Exclude<import('.'), false>} */
2601
2601
  function() {
2602
2602
  var e, r = {
2603
2603
  assert: function(n) {
@@ -2607,7 +2607,7 @@ function() {
2607
2607
  delete: function(n) {
2608
2608
  if (e) {
2609
2609
  var o = Hs(e, n);
2610
- return Ws(e) === 0 && (e = void 0), o;
2610
+ return zs(e) === 0 && (e = void 0), o;
2611
2611
  }
2612
2612
  return !1;
2613
2613
  },
@@ -2623,7 +2623,7 @@ function() {
2623
2623
  }
2624
2624
  };
2625
2625
  return r;
2626
- }, zs = Xt, it = Bn, Gs = nt, Me = Mn, Js = we, fe = zs("%WeakMap%", !0), Vs = it("WeakMap.prototype.get", !0), Ks = it("WeakMap.prototype.set", !0), Qs = it("WeakMap.prototype.has", !0), Xs = it("WeakMap.prototype.delete", !0), Zs = fe ? (
2626
+ }, Ws = Xt, it = Bn, Gs = nt, Me = Mn, Js = we, fe = Ws("%WeakMap%", !0), Vs = it("WeakMap.prototype.get", !0), Ks = it("WeakMap.prototype.set", !0), Qs = it("WeakMap.prototype.has", !0), Xs = it("WeakMap.prototype.delete", !0), Zs = fe ? (
2627
2627
  /** @type {Exclude<import('.'), false>} */
2628
2628
  function() {
2629
2629
  var e, r, n = {
@@ -2686,7 +2686,7 @@ function() {
2686
2686
  },
2687
2687
  RFC1738: Rt.RFC1738,
2688
2688
  RFC3986: Rt.RFC3986
2689
- }, ll = Zt, Pt = Object.prototype.hasOwnProperty, Y = Array.isArray, W = function() {
2689
+ }, ll = Zt, Pt = Object.prototype.hasOwnProperty, Y = Array.isArray, z = function() {
2690
2690
  for (var t = [], e = 0; e < 256; ++e)
2691
2691
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2692
2692
  return t;
@@ -2757,18 +2757,18 @@ function() {
2757
2757
  continue;
2758
2758
  }
2759
2759
  if (y < 128) {
2760
- l[l.length] = W[y];
2760
+ l[l.length] = z[y];
2761
2761
  continue;
2762
2762
  }
2763
2763
  if (y < 2048) {
2764
- l[l.length] = W[192 | y >> 6] + W[128 | y & 63];
2764
+ l[l.length] = z[192 | y >> 6] + z[128 | y & 63];
2765
2765
  continue;
2766
2766
  }
2767
2767
  if (y < 55296 || y >= 57344) {
2768
- l[l.length] = W[224 | y >> 12] + W[128 | y >> 6 & 63] + W[128 | y & 63];
2768
+ l[l.length] = z[224 | y >> 12] + z[128 | y >> 6 & 63] + z[128 | y & 63];
2769
2769
  continue;
2770
2770
  }
2771
- p += 1, y = 65536 + ((y & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = W[240 | y >> 18] + W[128 | y >> 12 & 63] + W[128 | y >> 6 & 63] + W[128 | y & 63];
2771
+ p += 1, y = 65536 + ((y & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = z[240 | y >> 18] + z[128 | y >> 12 & 63] + z[128 | y >> 6 & 63] + z[128 | y & 63];
2772
2772
  }
2773
2773
  s += l.join("");
2774
2774
  }
@@ -2815,8 +2815,8 @@ function() {
2815
2815
  repeat: function(e) {
2816
2816
  return e;
2817
2817
  }
2818
- }, z = Array.isArray, bl = Array.prototype.push, Wn = function(t, e) {
2819
- bl.apply(t, z(e) ? e : [e]);
2818
+ }, W = Array.isArray, bl = Array.prototype.push, zn = function(t, e) {
2819
+ bl.apply(t, W(e) ? e : [e]);
2820
2820
  }, Sl = Date.prototype.toISOString, jr = Te.default, x = {
2821
2821
  addQueryPrefix: !1,
2822
2822
  allowDots: !1,
@@ -2842,17 +2842,17 @@ function() {
2842
2842
  strictNullHandling: !1
2843
2843
  }, El = function(e) {
2844
2844
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2845
- }, xt = {}, Ol = function t(e, r, n, o, a, i, s, c, u, l, p, y, v, d, m, h, S, A) {
2846
- for (var g = e, E = A, O = 0, U = !1; (E = E.get(xt)) !== void 0 && !U; ) {
2845
+ }, xt = {}, Ol = function t(e, r, n, o, a, i, s, c, u, l, p, y, v, d, m, h, S, O) {
2846
+ for (var g = e, E = O, P = 0, U = !1; (E = E.get(xt)) !== void 0 && !U; ) {
2847
2847
  var T = E.get(e);
2848
- if (O += 1, typeof T < "u") {
2849
- if (T === O)
2848
+ if (P += 1, typeof T < "u") {
2849
+ if (T === P)
2850
2850
  throw new RangeError("Cyclic object value");
2851
2851
  U = !0;
2852
2852
  }
2853
- typeof E.get(xt) > "u" && (O = 0);
2853
+ typeof E.get(xt) > "u" && (P = 0);
2854
2854
  }
2855
- if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && z(g) && (g = Ge.maybeMap(g, function(Se) {
2855
+ if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = Ge.maybeMap(g, function(Se) {
2856
2856
  return Se instanceof Date ? v(Se) : Se;
2857
2857
  })), g === null) {
2858
2858
  if (i)
@@ -2870,24 +2870,24 @@ function() {
2870
2870
  if (typeof g > "u")
2871
2871
  return L;
2872
2872
  var M;
2873
- if (n === "comma" && z(g))
2873
+ if (n === "comma" && W(g))
2874
2874
  h && u && (g = Ge.maybeMap(g, u)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2875
- else if (z(l))
2875
+ else if (W(l))
2876
2876
  M = l;
2877
2877
  else {
2878
2878
  var Z = Object.keys(g);
2879
2879
  M = p ? Z.sort(p) : Z;
2880
2880
  }
2881
- var k = c ? String(r).replace(/\./g, "%2E") : String(r), C = o && z(g) && g.length === 1 ? k + "[]" : k;
2882
- if (a && z(g) && g.length === 0)
2881
+ var k = c ? String(r).replace(/\./g, "%2E") : String(r), C = o && W(g) && g.length === 1 ? k + "[]" : k;
2882
+ if (a && W(g) && g.length === 0)
2883
2883
  return C + "[]";
2884
2884
  for (var F = 0; F < M.length; ++F) {
2885
2885
  var B = M[F], $ = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
2886
2886
  if (!(s && $ === null)) {
2887
- var le = y && c ? String(B).replace(/\./g, "%2E") : String(B), j = z(g) ? typeof n == "function" ? n(C, le) : C : C + (y ? "." + le : "[" + le + "]");
2888
- A.set(e, O);
2887
+ var le = y && c ? String(B).replace(/\./g, "%2E") : String(B), j = W(g) ? typeof n == "function" ? n(C, le) : C : C + (y ? "." + le : "[" + le + "]");
2888
+ O.set(e, P);
2889
2889
  var be = jn();
2890
- be.set(xt, A), Wn(L, t(
2890
+ be.set(xt, O), zn(L, t(
2891
2891
  $,
2892
2892
  j,
2893
2893
  n,
@@ -2896,7 +2896,7 @@ function() {
2896
2896
  i,
2897
2897
  s,
2898
2898
  c,
2899
- n === "comma" && h && z(g) ? null : u,
2899
+ n === "comma" && h && W(g) ? null : u,
2900
2900
  l,
2901
2901
  p,
2902
2902
  y,
@@ -2929,7 +2929,7 @@ function() {
2929
2929
  n = e.format;
2930
2930
  }
2931
2931
  var o = Te.formatters[n], a = x.filter;
2932
- (typeof e.filter == "function" || z(e.filter)) && (a = e.filter);
2932
+ (typeof e.filter == "function" || W(e.filter)) && (a = e.filter);
2933
2933
  var i;
2934
2934
  if (e.arrayFormat in Hn ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = x.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
2935
2935
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
@@ -2957,7 +2957,7 @@ function() {
2957
2957
  };
2958
2958
  }, Rl = function(t, e) {
2959
2959
  var r = t, n = Al(e), o, a;
2960
- typeof n.filter == "function" ? (a = n.filter, r = a("", r)) : z(n.filter) && (a = n.filter, o = a);
2960
+ typeof n.filter == "function" ? (a = n.filter, r = a("", r)) : W(n.filter) && (a = n.filter, o = a);
2961
2961
  var i = [];
2962
2962
  if (typeof r != "object" || r === null)
2963
2963
  return "";
@@ -2965,7 +2965,7 @@ function() {
2965
2965
  o || (o = Object.keys(r)), n.sort && o.sort(n.sort);
2966
2966
  for (var u = jn(), l = 0; l < o.length; ++l) {
2967
2967
  var p = o[l], y = r[p];
2968
- n.skipNulls && y === null || Wn(i, Ol(
2968
+ n.skipNulls && y === null || zn(i, Ol(
2969
2969
  y,
2970
2970
  p,
2971
2971
  s,
@@ -2988,7 +2988,7 @@ function() {
2988
2988
  }
2989
2989
  var v = i.join(n.delimiter), d = n.addQueryPrefix === !0 ? "?" : "";
2990
2990
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), v.length > 0 ? d + v : "";
2991
- }, ie = qn, Mt = Object.prototype.hasOwnProperty, Hr = Array.isArray, R = {
2991
+ }, ie = qn, Mt = Object.prototype.hasOwnProperty, Hr = Array.isArray, A = {
2992
2992
  allowDots: !1,
2993
2993
  allowEmptyArrays: !1,
2994
2994
  allowPrototypes: !1,
@@ -3014,7 +3014,7 @@ function() {
3014
3014
  return t.replace(/&#(\d+);/g, function(e, r) {
3015
3015
  return String.fromCharCode(parseInt(r, 10));
3016
3016
  });
3017
- }, zn = function(t, e, r) {
3017
+ }, Wn = function(t, e, r) {
3018
3018
  if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
3019
3019
  return t.split(",");
3020
3020
  if (e.throwOnLimitExceeded && r >= e.arrayLimit)
@@ -3036,14 +3036,14 @@ function() {
3036
3036
  for (c = 0; c < i.length; ++c)
3037
3037
  if (c !== s) {
3038
3038
  var l = i[c], p = l.indexOf("]="), y = p === -1 ? l.indexOf("=") : p + 1, v, d;
3039
- y === -1 ? (v = r.decoder(l, R.decoder, u, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), R.decoder, u, "key"), d = ie.maybeMap(
3040
- zn(
3039
+ y === -1 ? (v = r.decoder(l, A.decoder, u, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), A.decoder, u, "key"), d = ie.maybeMap(
3040
+ Wn(
3041
3041
  l.slice(y + 1),
3042
3042
  r,
3043
3043
  Hr(n[v]) ? n[v].length : 0
3044
3044
  ),
3045
3045
  function(h) {
3046
- return r.decoder(h, R.decoder, u, "value");
3046
+ return r.decoder(h, A.decoder, u, "value");
3047
3047
  }
3048
3048
  )), d && r.interpretNumericEntities && u === "iso-8859-1" && (d = Pl(String(d))), l.indexOf("[]=") > -1 && (d = Hr(d) ? [d] : d);
3049
3049
  var m = Mt.call(n, v);
@@ -3056,7 +3056,7 @@ function() {
3056
3056
  var a = t.slice(0, -1).join("");
3057
3057
  o = Array.isArray(e) && e[a] ? e[a].length : 0;
3058
3058
  }
3059
- for (var i = n ? e : zn(e, r, o), s = t.length - 1; s >= 0; --s) {
3059
+ for (var i = n ? e : Wn(e, r, o), s = t.length - 1; s >= 0; --s) {
3060
3060
  var c, u = t[s];
3061
3061
  if (u === "[]" && r.parseArrays)
3062
3062
  c = r.allowEmptyArrays && (i === "" || r.strictNullHandling && i === null) ? [] : ie.combine([], i);
@@ -3090,7 +3090,7 @@ function() {
3090
3090
  }
3091
3091
  }, $l = function(e) {
3092
3092
  if (!e)
3093
- return R;
3093
+ return A;
3094
3094
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
3095
3095
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3096
3096
  if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
@@ -3101,32 +3101,32 @@ function() {
3101
3101
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3102
3102
  if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
3103
3103
  throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
3104
- var r = typeof e.charset > "u" ? R.charset : e.charset, n = typeof e.duplicates > "u" ? R.duplicates : e.duplicates;
3104
+ var r = typeof e.charset > "u" ? A.charset : e.charset, n = typeof e.duplicates > "u" ? A.duplicates : e.duplicates;
3105
3105
  if (n !== "combine" && n !== "first" && n !== "last")
3106
3106
  throw new TypeError("The duplicates option must be either combine, first, or last");
3107
- var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : R.allowDots : !!e.allowDots;
3107
+ var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : A.allowDots : !!e.allowDots;
3108
3108
  return {
3109
3109
  allowDots: o,
3110
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : R.allowEmptyArrays,
3111
- allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : R.allowPrototypes,
3112
- allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : R.allowSparse,
3113
- arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : R.arrayLimit,
3110
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : A.allowEmptyArrays,
3111
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : A.allowPrototypes,
3112
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : A.allowSparse,
3113
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : A.arrayLimit,
3114
3114
  charset: r,
3115
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : R.charsetSentinel,
3116
- comma: typeof e.comma == "boolean" ? e.comma : R.comma,
3117
- decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : R.decodeDotInKeys,
3118
- decoder: typeof e.decoder == "function" ? e.decoder : R.decoder,
3119
- delimiter: typeof e.delimiter == "string" || ie.isRegExp(e.delimiter) ? e.delimiter : R.delimiter,
3115
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : A.charsetSentinel,
3116
+ comma: typeof e.comma == "boolean" ? e.comma : A.comma,
3117
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : A.decodeDotInKeys,
3118
+ decoder: typeof e.decoder == "function" ? e.decoder : A.decoder,
3119
+ delimiter: typeof e.delimiter == "string" || ie.isRegExp(e.delimiter) ? e.delimiter : A.delimiter,
3120
3120
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3121
- depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : R.depth,
3121
+ depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : A.depth,
3122
3122
  duplicates: n,
3123
3123
  ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
3124
- interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : R.interpretNumericEntities,
3125
- parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : R.parameterLimit,
3124
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : A.interpretNumericEntities,
3125
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : A.parameterLimit,
3126
3126
  parseArrays: e.parseArrays !== !1,
3127
- plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : R.plainObjects,
3128
- strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : R.strictDepth,
3129
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : R.strictNullHandling,
3127
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : A.plainObjects,
3128
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : A.strictDepth,
3129
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
3130
3130
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
3131
3131
  };
3132
3132
  }, Nl = function(t, e) {
@@ -3214,10 +3214,10 @@ function kt(t, e) {
3214
3214
  }
3215
3215
  );
3216
3216
  }
3217
- var Wr = kt(Ml, { path: "/" });
3217
+ var zr = kt(Ml, { path: "/" });
3218
3218
  qt.extend(ro);
3219
3219
  qt.extend(no);
3220
- const Yt = Qr(), Gn = Yt.sso ?? !0, zr = Yt.i18n ?? !0, Jn = Yt.noRedireLogin ?? !1;
3220
+ const Yt = Qr(), Gn = Yt.sso ?? !0, Wr = Yt.i18n ?? !0, Jn = Yt.noRedireLogin ?? !1;
3221
3221
  let Gr = "", Jr = 0;
3222
3222
  const kl = 1e3, Vr = async (t, e, r = []) => {
3223
3223
  const n = Date.now(), o = 1200, a = 60;
@@ -3236,40 +3236,40 @@ const ql = 5e3, Vn = () => _t ? !1 : (_t = !0, setTimeout(() => {
3236
3236
  if (Jn) return;
3237
3237
  const t = "/login";
3238
3238
  location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace(`/#${t}`));
3239
- }, jl = async (t) => {
3239
+ }, jl = () => Zn("code") || "" || Jn ? !1 : Vn() ? (Gn ? Yn({ ...eo, redirect_uri: to }) : Kn(), !0) : !1, Hl = async (t) => {
3240
3240
  var r;
3241
3241
  return ((r = t.config) == null ? void 0 : r.responseType) === "blob" ? t : t.data ?? t;
3242
- }, Hl = async (t, e) => {
3243
- var m, h, S, A;
3242
+ }, zl = async (t, e) => {
3243
+ var d, m, h, S;
3244
3244
  const { t: r } = Kr();
3245
3245
  let n, o, a = {};
3246
3246
  const i = { 400: r("参数校验错误"), 404: r("接口地址未找到"), 500: r("服务器内部错误") };
3247
- let s = ((m = t == null ? void 0 : t.response) == null ? void 0 : m.data) || {};
3248
- const c = Zn("code") || "", u = s == null ? void 0 : s.code, l = (h = t.response) == null ? void 0 : h.status;
3249
- if (!c && !Jn && (u === 401 || l === 401)) {
3250
- Vn() && (Gn ? Yn({ ...eo, redirect_uri: to }) : Kn()), n = u || l, a = s;
3251
- const g = (e == null ? void 0 : e.i18n) ?? !0;
3252
- if (zr && g && (s != null && s.status)) {
3253
- const E = !(s != null && s.data) || !s.data.length ? [] : s.data, O = r(s.status, ...E);
3254
- o = O === s.status ? await Vr(r, s.status, E) : O;
3247
+ let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
3248
+ const c = s == null ? void 0 : s.code, u = (m = t.response) == null ? void 0 : m.status;
3249
+ if (c === 401 || u === 401) {
3250
+ jl(), n = c || u, a = s;
3251
+ const O = (e == null ? void 0 : e.i18n) ?? !0;
3252
+ if (Wr && O && (s != null && s.status)) {
3253
+ const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
3254
+ o = E === s.status ? await Vr(r, s.status, g) : E;
3255
3255
  } else
3256
3256
  o = (s == null ? void 0 : s.msg) || i[n] || (t == null ? void 0 : t.message);
3257
3257
  } else if (t.response) {
3258
- if (s instanceof Blob && (s = await new Promise((g) => {
3259
- const E = new FileReader();
3260
- E.readAsText(s, "utf-8"), E.onload = () => {
3258
+ if (s instanceof Blob && (s = await new Promise((O) => {
3259
+ const g = new FileReader();
3260
+ g.readAsText(s, "utf-8"), g.onload = () => {
3261
3261
  try {
3262
- g(JSON.parse(E.result || "{}"));
3262
+ O(JSON.parse(g.result || "{}"));
3263
3263
  } catch {
3264
- g({ code: 400, msg: r("解析错误") });
3264
+ O({ code: 400, msg: r("解析错误") });
3265
3265
  }
3266
3266
  };
3267
3267
  })), s.code !== void 0 && s.code !== null) {
3268
3268
  n = s.code, a = s;
3269
- const g = (e == null ? void 0 : e.i18n) ?? !0;
3270
- if (zr && g && (s != null && s.status)) {
3271
- const E = !(s != null && s.data) || !s.data.length ? [] : s.data, O = r(s.status, ...E);
3272
- o = O === s.status ? await Vr(r, s.status, E) : O;
3269
+ const O = (e == null ? void 0 : e.i18n) ?? !0;
3270
+ if (Wr && O && (s != null && s.status)) {
3271
+ const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
3272
+ o = E === s.status ? await Vr(r, s.status, g) : E;
3273
3273
  } else
3274
3274
  o = (s == null ? void 0 : s.msg) ?? "";
3275
3275
  } else
@@ -3277,11 +3277,11 @@ const ql = 5e3, Vn = () => _t ? !1 : (_t = !0, setTimeout(() => {
3277
3277
  o || (o = i[t.response.status] || t.message);
3278
3278
  } else t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
3279
3279
  e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
3280
- const y = Date.now(), v = o === Gr, d = y - Jr < kl;
3281
- return !(e != null && e.ignoreErrorMessage) && o && (!v || !d) && ((A = (S = window.DasMessage) == null ? void 0 : S.error) == null || A.call(S, { message: o, showClose: !0 }), Gr = o, Jr = y), { ...a, code: n, msg: o, error: t };
3280
+ const p = Date.now(), y = o === Gr, v = p - Jr < kl;
3281
+ return !(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((S = (h = window.DasMessage) == null ? void 0 : h.error) == null || S.call(h, { message: o, showClose: !0 }), Gr = o, Jr = p), { ...a, code: n, msg: o, error: t };
3282
3282
  };
3283
3283
  function ne(t, e) {
3284
- const r = P.create();
3284
+ const r = R.create();
3285
3285
  return Qn(r, async (n) => {
3286
3286
  const { currentLang: o } = Kr(), a = Qr();
3287
3287
  if (n.headers || (n.headers = {}), !(n != null && n.public)) {
@@ -3301,7 +3301,7 @@ function ne(t, e) {
3301
3301
  }
3302
3302
  p && !n.headers.Authorization && (n.headers.Authorization = `Bearer ${p}`);
3303
3303
  }
3304
- n.baseURL || (n.baseURL = a.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Bl.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = jl), n.onError || (n.onError = Hl), (n.csrf ?? !1) && (n.headers["csrf-token"] = Wr.get("csrf-token"));
3304
+ n.baseURL || (n.baseURL = a.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Bl.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = Hl), n.onError || (n.onError = zl), (n.csrf ?? !1) && (n.headers["csrf-token"] = zr.get("csrf-token"));
3305
3305
  const c = n.params || {};
3306
3306
  if (c.project === void 0) {
3307
3307
  let p = 0;
@@ -3314,18 +3314,18 @@ function ne(t, e) {
3314
3314
  }
3315
3315
  n.params = c, n.headers.Timezone = qt.tz.guess(), n.headers["X-Origin"] = location.origin;
3316
3316
  const l = (o == null ? void 0 : o.value) ?? "";
3317
- return l && (n.headers["Accept-Language"] = l), l && Wr.set("locale", l), n;
3317
+ return l && (n.headers["Accept-Language"] = l), l && zr.set("locale", l), n;
3318
3318
  });
3319
3319
  }
3320
- const oe = "v1", ec = ne(`/api/customer/customer/${oe}`), tc = ne(`/api/customer/company/${oe}`), rc = ne(`/api/customer/customer-grade/${oe}`), nc = ne(`/api/customer/customer-type/${oe}`), oc = {
3320
+ const oe = "v1", tc = ne(`/api/customer/customer/${oe}`), rc = ne(`/api/customer/company/${oe}`), nc = ne(`/api/customer/customer-grade/${oe}`), oc = ne(`/api/customer/customer-type/${oe}`), ac = {
3321
3321
  list: ne(`/api/project/${oe}/list`),
3322
3322
  app: ne(`/api/project/${oe}/app`),
3323
3323
  people: ne(`/api/project/${oe}/people`)
3324
3324
  };
3325
3325
  export {
3326
- tc as company,
3327
- ec as customer,
3328
- rc as customerGrade,
3329
- nc as customerType,
3330
- oc as projectManage
3326
+ rc as company,
3327
+ tc as customer,
3328
+ nc as customerGrade,
3329
+ oc as customerType,
3330
+ ac as projectManage
3331
3331
  };