mp-front-cli 0.0.26 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,8 @@
1
1
  import { Observable } from "rxjs";
2
2
  import type { NextApiRequest, NextApiResponse } from "next";
3
- import { ApiResponse } from "../interfaces/api-response";
4
3
  import { CustomValidator } from "../utils/custom-validator";
5
- export declare class ApiMiddleware<TRes, TData> extends CustomValidator {
6
- returnData(res: NextApiResponse, resp: ApiResponse<TRes>): void;
7
- get(handle: (params: TData) => Observable<ApiResponse<TRes>>): (req: NextApiRequest, res: NextApiResponse) => void;
4
+ export declare class ApiMiddleware<TRes, TData = {}> extends CustomValidator {
5
+ returnData(res: NextApiResponse, resp: TRes): void;
6
+ get(handle: (params: TData) => Observable<TRes>): (req: NextApiRequest, res: NextApiResponse) => void;
8
7
  }
9
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA6B,MAAM,MAAM,CAAA;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,qBAAa,aAAa,CAAC,IAAI,EAAE,KAAK,CAAE,SAAQ,eAAe;IAC7D,UAAU,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;IAMxD,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,SAG7C,cAAc,OAAO,eAAe;CA8BpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA6B,MAAM,MAAM,CAAA;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAE3D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,qBAAa,aAAa,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAE,SAAQ,eAAe;IAClE,UAAU,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI;IAM3C,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,UAAU,CAAC,IAAI,CAAC,SAGhC,cAAc,OAAO,eAAe;CA8BpD"}
@@ -115,8 +115,12 @@ export declare class CustomHeader extends CustomValidator {
115
115
  values(): IterableIterator<string>;
116
116
  [Symbol.iterator](): IterableIterator<[string, string]>;
117
117
  }>;
118
+ private temporaryCognitoHeader;
118
119
  getHeaders(): import("rxjs").Observable<{
119
- Authorization: string;
120
+ Accesstoken: string | undefined;
121
+ Refreshtoken: string | undefined;
122
+ Idtoken: string | undefined;
123
+ Username: string | undefined;
120
124
  length: number;
121
125
  toString(): string;
122
126
  toLocaleString(): string;
@@ -213,9 +217,15 @@ export declare class CustomHeader extends CustomValidator {
213
217
  readonly [Symbol.unscopables]?: boolean | undefined;
214
218
  };
215
219
  } | {
216
- Authorization: string;
220
+ Accesstoken: string | undefined;
221
+ Refreshtoken: string | undefined;
222
+ Idtoken: string | undefined;
223
+ Username: string | undefined;
217
224
  } | {
218
- Authorization: string;
225
+ Accesstoken: string | undefined;
226
+ Refreshtoken: string | undefined;
227
+ Idtoken: string | undefined;
228
+ Username: string | undefined;
219
229
  append(name: string, value: string): void;
220
230
  delete(name: string): void;
221
231
  get(name: string): string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"custom-header.d.ts","sourceRoot":"","sources":["../../../src/core/utils/custom-header.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,qBAAa,YAAa,SAAQ,eAAe;IAC/C,OAAO,CAAC,OAAO,CAAa;;IAU5B,eAAe,CAAC,OAAO,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX"}
1
+ {"version":3,"file":"custom-header.d.ts","sourceRoot":"","sources":["../../../src/core/utils/custom-header.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,qBAAa,YAAa,SAAQ,eAAe;IAC/C,OAAO,CAAC,OAAO,CAAa;;IAU5B,eAAe,CAAC,OAAO,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpC,OAAO,CAAC,sBAAsB;IAU9B,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASX"}
@@ -4,7 +4,7 @@ var xe = (i, r, t) => (Qm(i, typeof r != "symbol" ? r + "" : r, t), t);
4
4
  import { MessageHandler as en, LoadingHandler as ai } from "./mp-front-cli-utils-rxjs.es.js";
5
5
  import { RxSubjectManager as __ } from "./mp-front-cli-utils-rxjs.es.js";
6
6
  import { t as jm } from "./index-6f6eb615.js";
7
- import { of as ke, switchMap as Ne, catchError as Ti, filter as di } from "rxjs";
7
+ import { of as Me, switchMap as Ie, catchError as Ti, filter as di } from "rxjs";
8
8
  const e1 = {
9
9
  type: "logger",
10
10
  log(i) {
@@ -1533,22 +1533,22 @@ class cr extends Ii {
1533
1533
  };
1534
1534
  }
1535
1535
  }
1536
- const $e = cr.createInstance();
1537
- $e.createInstance = cr.createInstance;
1538
- $e.createInstance;
1539
- $e.dir;
1540
- $e.init;
1541
- $e.loadResources;
1542
- $e.reloadResources;
1543
- $e.use;
1544
- $e.changeLanguage;
1545
- $e.getFixedT;
1546
- const ui = $e.t;
1547
- $e.exists;
1548
- $e.setDefaultNamespace;
1549
- $e.hasLoadedNamespace;
1550
- $e.loadNamespaces;
1551
- $e.loadLanguages;
1536
+ const Je = cr.createInstance();
1537
+ Je.createInstance = cr.createInstance;
1538
+ Je.createInstance;
1539
+ Je.dir;
1540
+ Je.init;
1541
+ Je.loadResources;
1542
+ Je.reloadResources;
1543
+ Je.use;
1544
+ Je.changeLanguage;
1545
+ Je.getFixedT;
1546
+ const ui = Je.t;
1547
+ Je.exists;
1548
+ Je.setDefaultNamespace;
1549
+ Je.hasLoadedNamespace;
1550
+ Je.loadNamespaces;
1551
+ Je.loadLanguages;
1552
1552
  const _1 = {
1553
1553
  es: {
1554
1554
  translation: {
@@ -1556,7 +1556,7 @@ const _1 = {
1556
1556
  }
1557
1557
  }
1558
1558
  };
1559
- $e.init({
1559
+ Je.init({
1560
1560
  resources: _1,
1561
1561
  lng: "es",
1562
1562
  // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
@@ -1781,7 +1781,7 @@ const Ma = (i) => {
1781
1781
  throw new TypeError("The input to be decoded is not correctly encoded.");
1782
1782
  }
1783
1783
  };
1784
- class Ie extends Error {
1784
+ class He extends Error {
1785
1785
  static get code() {
1786
1786
  return "ERR_JOSE_GENERIC";
1787
1787
  }
@@ -1790,7 +1790,7 @@ class Ie extends Error {
1790
1790
  super(r), this.code = "ERR_JOSE_GENERIC", this.name = this.constructor.name, (t = Error.captureStackTrace) === null || t === void 0 || t.call(Error, this, this.constructor);
1791
1791
  }
1792
1792
  }
1793
- class Ze extends Ie {
1793
+ class Ze extends He {
1794
1794
  static get code() {
1795
1795
  return "ERR_JWT_CLAIM_VALIDATION_FAILED";
1796
1796
  }
@@ -1798,7 +1798,7 @@ class Ze extends Ie {
1798
1798
  super(r), this.code = "ERR_JWT_CLAIM_VALIDATION_FAILED", this.claim = t, this.reason = s;
1799
1799
  }
1800
1800
  }
1801
- class Ra extends Ie {
1801
+ class Ra extends He {
1802
1802
  static get code() {
1803
1803
  return "ERR_JWT_EXPIRED";
1804
1804
  }
@@ -1806,7 +1806,7 @@ class Ra extends Ie {
1806
1806
  super(r), this.code = "ERR_JWT_EXPIRED", this.claim = t, this.reason = s;
1807
1807
  }
1808
1808
  }
1809
- class Si extends Ie {
1809
+ class Si extends He {
1810
1810
  constructor() {
1811
1811
  super(...arguments), this.code = "ERR_JOSE_ALG_NOT_ALLOWED";
1812
1812
  }
@@ -1814,7 +1814,7 @@ class Si extends Ie {
1814
1814
  return "ERR_JOSE_ALG_NOT_ALLOWED";
1815
1815
  }
1816
1816
  }
1817
- class ne extends Ie {
1817
+ class ne extends He {
1818
1818
  constructor() {
1819
1819
  super(...arguments), this.code = "ERR_JOSE_NOT_SUPPORTED";
1820
1820
  }
@@ -1822,7 +1822,7 @@ class ne extends Ie {
1822
1822
  return "ERR_JOSE_NOT_SUPPORTED";
1823
1823
  }
1824
1824
  }
1825
- class fr extends Ie {
1825
+ class fr extends He {
1826
1826
  constructor() {
1827
1827
  super(...arguments), this.code = "ERR_JWE_DECRYPTION_FAILED", this.message = "decryption operation failed";
1828
1828
  }
@@ -1830,7 +1830,7 @@ class fr extends Ie {
1830
1830
  return "ERR_JWE_DECRYPTION_FAILED";
1831
1831
  }
1832
1832
  }
1833
- class W extends Ie {
1833
+ class W extends He {
1834
1834
  constructor() {
1835
1835
  super(...arguments), this.code = "ERR_JWE_INVALID";
1836
1836
  }
@@ -1838,7 +1838,7 @@ class W extends Ie {
1838
1838
  return "ERR_JWE_INVALID";
1839
1839
  }
1840
1840
  }
1841
- class ae extends Ie {
1841
+ class ae extends He {
1842
1842
  constructor() {
1843
1843
  super(...arguments), this.code = "ERR_JWS_INVALID";
1844
1844
  }
@@ -1846,7 +1846,7 @@ class ae extends Ie {
1846
1846
  return "ERR_JWS_INVALID";
1847
1847
  }
1848
1848
  }
1849
- class Qe extends Ie {
1849
+ class Qe extends He {
1850
1850
  constructor() {
1851
1851
  super(...arguments), this.code = "ERR_JWT_INVALID";
1852
1852
  }
@@ -1854,7 +1854,7 @@ class Qe extends Ie {
1854
1854
  return "ERR_JWT_INVALID";
1855
1855
  }
1856
1856
  }
1857
- class vf extends Ie {
1857
+ class vf extends He {
1858
1858
  constructor() {
1859
1859
  super(...arguments), this.code = "ERR_JWK_INVALID";
1860
1860
  }
@@ -1862,7 +1862,7 @@ class vf extends Ie {
1862
1862
  return "ERR_JWK_INVALID";
1863
1863
  }
1864
1864
  }
1865
- class Li extends Ie {
1865
+ class Li extends He {
1866
1866
  constructor() {
1867
1867
  super(...arguments), this.code = "ERR_JWKS_INVALID";
1868
1868
  }
@@ -1870,7 +1870,7 @@ class Li extends Ie {
1870
1870
  return "ERR_JWKS_INVALID";
1871
1871
  }
1872
1872
  }
1873
- class $a extends Ie {
1873
+ class $a extends He {
1874
1874
  constructor() {
1875
1875
  super(...arguments), this.code = "ERR_JWKS_NO_MATCHING_KEY", this.message = "no applicable key found in the JSON Web Key Set";
1876
1876
  }
@@ -1878,7 +1878,7 @@ class $a extends Ie {
1878
1878
  return "ERR_JWKS_NO_MATCHING_KEY";
1879
1879
  }
1880
1880
  }
1881
- class wf extends Ie {
1881
+ class wf extends He {
1882
1882
  constructor() {
1883
1883
  super(...arguments), this.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS", this.message = "multiple matching keys found in the JSON Web Key Set";
1884
1884
  }
@@ -1886,7 +1886,7 @@ class wf extends Ie {
1886
1886
  return "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
1887
1887
  }
1888
1888
  }
1889
- class _f extends Ie {
1889
+ class _f extends He {
1890
1890
  constructor() {
1891
1891
  super(...arguments), this.code = "ERR_JWKS_TIMEOUT", this.message = "request timed out";
1892
1892
  }
@@ -1894,7 +1894,7 @@ class _f extends Ie {
1894
1894
  return "ERR_JWKS_TIMEOUT";
1895
1895
  }
1896
1896
  }
1897
- class Ja extends Ie {
1897
+ class Ja extends He {
1898
1898
  constructor() {
1899
1899
  super(...arguments), this.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED", this.message = "signature verification failed";
1900
1900
  }
@@ -1905,7 +1905,7 @@ class Ja extends Ie {
1905
1905
  const x1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1906
1906
  __proto__: null,
1907
1907
  JOSEAlgNotAllowed: Si,
1908
- JOSEError: Ie,
1908
+ JOSEError: He,
1909
1909
  JOSENotSupported: ne,
1910
1910
  JWEDecryptionFailed: fr,
1911
1911
  JWEInvalid: W,
@@ -2104,14 +2104,14 @@ function xf(i, r, ...t) {
2104
2104
  t.length === 2 ? i += `one of type ${t[0]} or ${t[1]}.` : i += `of type ${t[0]}.`;
2105
2105
  return r == null ? i += ` Received ${r}` : typeof r == "function" && r.name ? i += ` Received function ${r.name}` : typeof r == "object" && r != null && r.constructor && r.constructor.name && (i += ` Received an instance of ${r.constructor.name}`), i;
2106
2106
  }
2107
- const Me = (i, ...r) => xf("Key must be ", i, ...r);
2107
+ const $e = (i, ...r) => xf("Key must be ", i, ...r);
2108
2108
  function Cf(i, r, ...t) {
2109
2109
  return xf(`Key for the ${i} algorithm must be `, r, ...t);
2110
2110
  }
2111
2111
  const Pf = (i) => je(i), ge = ["CryptoKey"];
2112
2112
  async function O1(i, r, t, s, o, u) {
2113
2113
  if (!(r instanceof Uint8Array))
2114
- throw new TypeError(Me(r, "Uint8Array"));
2114
+ throw new TypeError($e(r, "Uint8Array"));
2115
2115
  const f = parseInt(i.slice(1, 4), 10), p = await q.subtle.importKey("raw", r.subarray(f >> 3), "AES-CBC", !1, ["decrypt"]), g = await q.subtle.importKey("raw", r.subarray(0, f >> 3), {
2116
2116
  hash: `SHA-${f << 1}`,
2117
2117
  name: "HMAC"
@@ -2148,7 +2148,7 @@ async function T1(i, r, t, s, o, u) {
2148
2148
  }
2149
2149
  const Rf = async (i, r, t, s, o, u) => {
2150
2150
  if (!je(r) && !(r instanceof Uint8Array))
2151
- throw new TypeError(Me(r, ...ge, "Uint8Array"));
2151
+ throw new TypeError($e(r, ...ge, "Uint8Array"));
2152
2152
  switch (Af(i, s), i) {
2153
2153
  case "A128CBC-HS256":
2154
2154
  case "A192CBC-HS384":
@@ -2211,7 +2211,7 @@ function Tf(i, r, t) {
2211
2211
  return rn(i, r, t), i;
2212
2212
  if (i instanceof Uint8Array)
2213
2213
  return q.subtle.importKey("raw", i, "AES-KW", !0, [t]);
2214
- throw new TypeError(Me(i, ...ge, "Uint8Array"));
2214
+ throw new TypeError($e(i, ...ge, "Uint8Array"));
2215
2215
  }
2216
2216
  const Oa = async (i, r, t) => {
2217
2217
  const s = await Tf(r, i, "wrapKey");
@@ -2226,9 +2226,9 @@ const Oa = async (i, r, t) => {
2226
2226
  };
2227
2227
  async function If(i, r, t, s, o = new Uint8Array(0), u = new Uint8Array(0)) {
2228
2228
  if (!je(i))
2229
- throw new TypeError(Me(i, ...ge));
2229
+ throw new TypeError($e(i, ...ge));
2230
2230
  if (rn(i, "ECDH"), !je(r))
2231
- throw new TypeError(Me(r, ...ge));
2231
+ throw new TypeError($e(r, ...ge));
2232
2232
  rn(r, "ECDH", "deriveBits");
2233
2233
  const f = Ot(la(ve.encode(t)), la(o), la(u), Na(s));
2234
2234
  let p;
@@ -2241,12 +2241,12 @@ async function If(i, r, t, s, o = new Uint8Array(0), u = new Uint8Array(0)) {
2241
2241
  }
2242
2242
  async function K1(i) {
2243
2243
  if (!je(i))
2244
- throw new TypeError(Me(i, ...ge));
2244
+ throw new TypeError($e(i, ...ge));
2245
2245
  return q.subtle.generateKey(i.algorithm, !0, ["deriveBits"]);
2246
2246
  }
2247
2247
  function Hf(i) {
2248
2248
  if (!je(i))
2249
- throw new TypeError(Me(i, ...ge));
2249
+ throw new TypeError($e(i, ...ge));
2250
2250
  return ["P-256", "P-384", "P-521"].includes(i.algorithm.namedCurve) || i.algorithm.name === "X25519" || i.algorithm.name === "X448";
2251
2251
  }
2252
2252
  function U1(i) {
@@ -2258,7 +2258,7 @@ function W1(i, r) {
2258
2258
  return q.subtle.importKey("raw", i, "PBKDF2", !1, ["deriveBits"]);
2259
2259
  if (je(i))
2260
2260
  return rn(i, r, "deriveBits", "deriveKey"), i;
2261
- throw new TypeError(Me(i, ...ge, "Uint8Array"));
2261
+ throw new TypeError($e(i, ...ge, "Uint8Array"));
2262
2262
  }
2263
2263
  async function Lf(i, r, t, s) {
2264
2264
  U1(i);
@@ -2303,7 +2303,7 @@ const Wi = (i, r) => {
2303
2303
  }
2304
2304
  }, M1 = async (i, r, t) => {
2305
2305
  if (!je(r))
2306
- throw new TypeError(Me(r, ...ge));
2306
+ throw new TypeError($e(r, ...ge));
2307
2307
  if (rn(r, i, "encrypt", "wrapKey"), Wi(i, r), r.usages.includes("encrypt"))
2308
2308
  return new Uint8Array(await q.subtle.encrypt(Ai(i), r, t));
2309
2309
  if (r.usages.includes("wrapKey")) {
@@ -2313,7 +2313,7 @@ const Wi = (i, r) => {
2313
2313
  throw new TypeError('RSA-OAEP key "usages" must include "encrypt" or "wrapKey" for this operation');
2314
2314
  }, $1 = async (i, r, t) => {
2315
2315
  if (!je(r))
2316
- throw new TypeError(Me(r, ...ge));
2316
+ throw new TypeError($e(r, ...ge));
2317
2317
  if (rn(r, i, "decrypt", "unwrapKey"), Wi(i, r), r.usages.includes("decrypt"))
2318
2318
  return new Uint8Array(await q.subtle.decrypt(Ai(i), r, t));
2319
2319
  if (r.usages.includes("unwrapKey")) {
@@ -2347,7 +2347,7 @@ ${t}
2347
2347
  -----END ${r}-----`;
2348
2348
  }, Uf = async (i, r, t) => {
2349
2349
  if (!je(t))
2350
- throw new TypeError(Me(t, ...ge));
2350
+ throw new TypeError($e(t, ...ge));
2351
2351
  if (!t.extractable)
2352
2352
  throw new TypeError("CryptoKey is not extractable");
2353
2353
  if (t.type !== i)
@@ -2667,7 +2667,7 @@ const Q1 = (i, r) => {
2667
2667
  };
2668
2668
  async function ev(i, r, t, s, o) {
2669
2669
  if (!(t instanceof Uint8Array))
2670
- throw new TypeError(Me(t, "Uint8Array"));
2670
+ throw new TypeError($e(t, "Uint8Array"));
2671
2671
  const u = parseInt(i.slice(1, 4), 10), f = await q.subtle.importKey("raw", t.subarray(u >> 3), "AES-CBC", !1, ["encrypt"]), p = await q.subtle.importKey("raw", t.subarray(0, u >> 3), {
2672
2672
  hash: `SHA-${u << 1}`,
2673
2673
  name: "HMAC"
@@ -2690,7 +2690,7 @@ async function tv(i, r, t, s, o) {
2690
2690
  }
2691
2691
  const Ia = async (i, r, t, s, o) => {
2692
2692
  if (!je(t) && !(t instanceof Uint8Array))
2693
- throw new TypeError(Me(t, ...ge, "Uint8Array"));
2693
+ throw new TypeError($e(t, ...ge, "Uint8Array"));
2694
2694
  switch (Af(i, s), i) {
2695
2695
  case "A128CBC-HS256":
2696
2696
  case "A192CBC-HS384":
@@ -2992,7 +2992,7 @@ const av = async (i) => {
2992
2992
  k: we(i)
2993
2993
  };
2994
2994
  if (!je(i))
2995
- throw new TypeError(Me(i, ...ge, "Uint8Array"));
2995
+ throw new TypeError($e(i, ...ge, "Uint8Array"));
2996
2996
  if (!i.extractable)
2997
2997
  throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");
2998
2998
  const { ext: r, key_ops: t, alg: s, use: o, ...u } = await q.subtle.exportKey("jwk", i);
@@ -3294,10 +3294,10 @@ function kf(i, r, t) {
3294
3294
  return R1(r, i, t), r;
3295
3295
  if (r instanceof Uint8Array) {
3296
3296
  if (!i.startsWith("HS"))
3297
- throw new TypeError(Me(r, ...ge));
3297
+ throw new TypeError($e(r, ...ge));
3298
3298
  return q.subtle.importKey("raw", r, { hash: `SHA-${i.slice(-3)}`, name: "HMAC" }, !1, [t]);
3299
3299
  }
3300
- throw new TypeError(Me(r, ...ge, "Uint8Array"));
3300
+ throw new TypeError($e(r, ...ge, "Uint8Array"));
3301
3301
  }
3302
3302
  const hv = async (i, r, t, s) => {
3303
3303
  const o = await kf(i, r, "verify");
@@ -3864,11 +3864,11 @@ const Iv = async (i, r, t) => {
3864
3864
  throw u ? new _f() : p;
3865
3865
  });
3866
3866
  if (o !== void 0 && clearTimeout(o), f.status !== 200)
3867
- throw new Ie("Expected 200 OK from the JSON Web Key Set HTTP response");
3867
+ throw new He("Expected 200 OK from the JSON Web Key Set HTTP response");
3868
3868
  try {
3869
3869
  return await f.json();
3870
3870
  } catch {
3871
- throw new Ie("Failed to parse the JSON Web Key Set HTTP response as JSON");
3871
+ throw new He("Failed to parse the JSON Web Key Set HTTP response as JSON");
3872
3872
  }
3873
3873
  };
3874
3874
  function Hv() {
@@ -4308,7 +4308,7 @@ function cw(i, r) {
4308
4308
  i[r >> 5] |= 128 << r % 32, i[nl(r) - 1] = r;
4309
4309
  for (var t = 1732584193, s = -271733879, o = -1732584194, u = 271733878, f = 0; f < i.length; f += 16) {
4310
4310
  var p = t, g = s, y = o, w = u;
4311
- t = Ke(t, s, o, u, i[f], 7, -680876936), u = Ke(u, t, s, o, i[f + 1], 12, -389564586), o = Ke(o, u, t, s, i[f + 2], 17, 606105819), s = Ke(s, o, u, t, i[f + 3], 22, -1044525330), t = Ke(t, s, o, u, i[f + 4], 7, -176418897), u = Ke(u, t, s, o, i[f + 5], 12, 1200080426), o = Ke(o, u, t, s, i[f + 6], 17, -1473231341), s = Ke(s, o, u, t, i[f + 7], 22, -45705983), t = Ke(t, s, o, u, i[f + 8], 7, 1770035416), u = Ke(u, t, s, o, i[f + 9], 12, -1958414417), o = Ke(o, u, t, s, i[f + 10], 17, -42063), s = Ke(s, o, u, t, i[f + 11], 22, -1990404162), t = Ke(t, s, o, u, i[f + 12], 7, 1804603682), u = Ke(u, t, s, o, i[f + 13], 12, -40341101), o = Ke(o, u, t, s, i[f + 14], 17, -1502002290), s = Ke(s, o, u, t, i[f + 15], 22, 1236535329), t = Ue(t, s, o, u, i[f + 1], 5, -165796510), u = Ue(u, t, s, o, i[f + 6], 9, -1069501632), o = Ue(o, u, t, s, i[f + 11], 14, 643717713), s = Ue(s, o, u, t, i[f], 20, -373897302), t = Ue(t, s, o, u, i[f + 5], 5, -701558691), u = Ue(u, t, s, o, i[f + 10], 9, 38016083), o = Ue(o, u, t, s, i[f + 15], 14, -660478335), s = Ue(s, o, u, t, i[f + 4], 20, -405537848), t = Ue(t, s, o, u, i[f + 9], 5, 568446438), u = Ue(u, t, s, o, i[f + 14], 9, -1019803690), o = Ue(o, u, t, s, i[f + 3], 14, -187363961), s = Ue(s, o, u, t, i[f + 8], 20, 1163531501), t = Ue(t, s, o, u, i[f + 13], 5, -1444681467), u = Ue(u, t, s, o, i[f + 2], 9, -51403784), o = Ue(o, u, t, s, i[f + 7], 14, 1735328473), s = Ue(s, o, u, t, i[f + 12], 20, -1926607734), t = We(t, s, o, u, i[f + 5], 4, -378558), u = We(u, t, s, o, i[f + 8], 11, -2022574463), o = We(o, u, t, s, i[f + 11], 16, 1839030562), s = We(s, o, u, t, i[f + 14], 23, -35309556), t = We(t, s, o, u, i[f + 1], 4, -1530992060), u = We(u, t, s, o, i[f + 4], 11, 1272893353), o = We(o, u, t, s, i[f + 7], 16, -155497632), s = We(s, o, u, t, i[f + 10], 23, -1094730640), t = We(t, s, o, u, i[f + 13], 4, 681279174), u = We(u, t, s, o, i[f], 11, -358537222), o = We(o, u, t, s, i[f + 3], 16, -722521979), s = We(s, o, u, t, i[f + 6], 23, 76029189), t = We(t, s, o, u, i[f + 9], 4, -640364487), u = We(u, t, s, o, i[f + 12], 11, -421815835), o = We(o, u, t, s, i[f + 15], 16, 530742520), s = We(s, o, u, t, i[f + 2], 23, -995338651), t = De(t, s, o, u, i[f], 6, -198630844), u = De(u, t, s, o, i[f + 7], 10, 1126891415), o = De(o, u, t, s, i[f + 14], 15, -1416354905), s = De(s, o, u, t, i[f + 5], 21, -57434055), t = De(t, s, o, u, i[f + 12], 6, 1700485571), u = De(u, t, s, o, i[f + 3], 10, -1894986606), o = De(o, u, t, s, i[f + 10], 15, -1051523), s = De(s, o, u, t, i[f + 1], 21, -2054922799), t = De(t, s, o, u, i[f + 8], 6, 1873313359), u = De(u, t, s, o, i[f + 15], 10, -30611744), o = De(o, u, t, s, i[f + 6], 15, -1560198380), s = De(s, o, u, t, i[f + 13], 21, 1309151649), t = De(t, s, o, u, i[f + 4], 6, -145523070), u = De(u, t, s, o, i[f + 11], 10, -1120210379), o = De(o, u, t, s, i[f + 2], 15, 718787259), s = De(s, o, u, t, i[f + 9], 21, -343485551), t = nn(t, p), s = nn(s, g), o = nn(o, y), u = nn(u, w);
4311
+ t = Ue(t, s, o, u, i[f], 7, -680876936), u = Ue(u, t, s, o, i[f + 1], 12, -389564586), o = Ue(o, u, t, s, i[f + 2], 17, 606105819), s = Ue(s, o, u, t, i[f + 3], 22, -1044525330), t = Ue(t, s, o, u, i[f + 4], 7, -176418897), u = Ue(u, t, s, o, i[f + 5], 12, 1200080426), o = Ue(o, u, t, s, i[f + 6], 17, -1473231341), s = Ue(s, o, u, t, i[f + 7], 22, -45705983), t = Ue(t, s, o, u, i[f + 8], 7, 1770035416), u = Ue(u, t, s, o, i[f + 9], 12, -1958414417), o = Ue(o, u, t, s, i[f + 10], 17, -42063), s = Ue(s, o, u, t, i[f + 11], 22, -1990404162), t = Ue(t, s, o, u, i[f + 12], 7, 1804603682), u = Ue(u, t, s, o, i[f + 13], 12, -40341101), o = Ue(o, u, t, s, i[f + 14], 17, -1502002290), s = Ue(s, o, u, t, i[f + 15], 22, 1236535329), t = We(t, s, o, u, i[f + 1], 5, -165796510), u = We(u, t, s, o, i[f + 6], 9, -1069501632), o = We(o, u, t, s, i[f + 11], 14, 643717713), s = We(s, o, u, t, i[f], 20, -373897302), t = We(t, s, o, u, i[f + 5], 5, -701558691), u = We(u, t, s, o, i[f + 10], 9, 38016083), o = We(o, u, t, s, i[f + 15], 14, -660478335), s = We(s, o, u, t, i[f + 4], 20, -405537848), t = We(t, s, o, u, i[f + 9], 5, 568446438), u = We(u, t, s, o, i[f + 14], 9, -1019803690), o = We(o, u, t, s, i[f + 3], 14, -187363961), s = We(s, o, u, t, i[f + 8], 20, 1163531501), t = We(t, s, o, u, i[f + 13], 5, -1444681467), u = We(u, t, s, o, i[f + 2], 9, -51403784), o = We(o, u, t, s, i[f + 7], 14, 1735328473), s = We(s, o, u, t, i[f + 12], 20, -1926607734), t = De(t, s, o, u, i[f + 5], 4, -378558), u = De(u, t, s, o, i[f + 8], 11, -2022574463), o = De(o, u, t, s, i[f + 11], 16, 1839030562), s = De(s, o, u, t, i[f + 14], 23, -35309556), t = De(t, s, o, u, i[f + 1], 4, -1530992060), u = De(u, t, s, o, i[f + 4], 11, 1272893353), o = De(o, u, t, s, i[f + 7], 16, -155497632), s = De(s, o, u, t, i[f + 10], 23, -1094730640), t = De(t, s, o, u, i[f + 13], 4, 681279174), u = De(u, t, s, o, i[f], 11, -358537222), o = De(o, u, t, s, i[f + 3], 16, -722521979), s = De(s, o, u, t, i[f + 6], 23, 76029189), t = De(t, s, o, u, i[f + 9], 4, -640364487), u = De(u, t, s, o, i[f + 12], 11, -421815835), o = De(o, u, t, s, i[f + 15], 16, 530742520), s = De(s, o, u, t, i[f + 2], 23, -995338651), t = Ne(t, s, o, u, i[f], 6, -198630844), u = Ne(u, t, s, o, i[f + 7], 10, 1126891415), o = Ne(o, u, t, s, i[f + 14], 15, -1416354905), s = Ne(s, o, u, t, i[f + 5], 21, -57434055), t = Ne(t, s, o, u, i[f + 12], 6, 1700485571), u = Ne(u, t, s, o, i[f + 3], 10, -1894986606), o = Ne(o, u, t, s, i[f + 10], 15, -1051523), s = Ne(s, o, u, t, i[f + 1], 21, -2054922799), t = Ne(t, s, o, u, i[f + 8], 6, 1873313359), u = Ne(u, t, s, o, i[f + 15], 10, -30611744), o = Ne(o, u, t, s, i[f + 6], 15, -1560198380), s = Ne(s, o, u, t, i[f + 13], 21, 1309151649), t = Ne(t, s, o, u, i[f + 4], 6, -145523070), u = Ne(u, t, s, o, i[f + 11], 10, -1120210379), o = Ne(o, u, t, s, i[f + 2], 15, 718787259), s = Ne(s, o, u, t, i[f + 9], 21, -343485551), t = nn(t, p), s = nn(s, g), o = nn(o, y), u = nn(u, w);
4312
4312
  }
4313
4313
  return [t, s, o, u];
4314
4314
  }
@@ -4329,16 +4329,16 @@ function lw(i, r) {
4329
4329
  function Ji(i, r, t, s, o, u) {
4330
4330
  return nn(lw(nn(nn(r, i), nn(s, u)), o), t);
4331
4331
  }
4332
- function Ke(i, r, t, s, o, u, f) {
4332
+ function Ue(i, r, t, s, o, u, f) {
4333
4333
  return Ji(r & t | ~r & s, i, r, o, u, f);
4334
4334
  }
4335
- function Ue(i, r, t, s, o, u, f) {
4335
+ function We(i, r, t, s, o, u, f) {
4336
4336
  return Ji(r & s | t & ~s, i, r, o, u, f);
4337
4337
  }
4338
- function We(i, r, t, s, o, u, f) {
4338
+ function De(i, r, t, s, o, u, f) {
4339
4339
  return Ji(r ^ t ^ s, i, r, o, u, f);
4340
4340
  }
4341
- function De(i, r, t, s, o, u, f) {
4341
+ function Ne(i, r, t, s, o, u, f) {
4342
4342
  return Ji(t ^ (r | ~s), i, r, o, u, f);
4343
4343
  }
4344
4344
  var hw = tl("v3", 48, ow);
@@ -5319,7 +5319,7 @@ Ci.exports;
5319
5319
  return e({}, "", {}), e;
5320
5320
  } catch {
5321
5321
  }
5322
- }(), Xh = x.clearTimeout !== Pe.clearTimeout && x.clearTimeout, Zh = K && K.now !== Pe.Date.now && K.now, Qh = x.setTimeout !== Pe.setTimeout && x.setTimeout, Lr = Se.ceil, Kr = Se.floor, ms = oe.getOwnPropertySymbols, jh = Rr ? Rr.isBuffer : t, Zo = x.isFinite, ed = Er.join, td = ko(oe.keys, oe), be = Se.max, He = Se.min, nd = K.now, rd = x.parseInt, Qo = Se.random, id = Er.reverse, vs = hn(x, "DataView"), qn = hn(x, "Map"), ws = hn(x, "Promise"), Cn = hn(x, "Set"), Yn = hn(x, "WeakMap"), Xn = hn(oe, "create"), Ur = Yn && new Yn(), Pn = {}, sd = dn(vs), ad = dn(qn), od = dn(ws), ud = dn(Cn), cd = dn(Yn), Wr = zt ? zt.prototype : t, Zn = Wr ? Wr.valueOf : t, jo = Wr ? Wr.toString : t;
5322
+ }(), Xh = x.clearTimeout !== Pe.clearTimeout && x.clearTimeout, Zh = K && K.now !== Pe.Date.now && K.now, Qh = x.setTimeout !== Pe.setTimeout && x.setTimeout, Lr = Se.ceil, Kr = Se.floor, ms = oe.getOwnPropertySymbols, jh = Rr ? Rr.isBuffer : t, Zo = x.isFinite, ed = Er.join, td = ko(oe.keys, oe), be = Se.max, Le = Se.min, nd = K.now, rd = x.parseInt, Qo = Se.random, id = Er.reverse, vs = hn(x, "DataView"), qn = hn(x, "Map"), ws = hn(x, "Promise"), Cn = hn(x, "Set"), Yn = hn(x, "WeakMap"), Xn = hn(oe, "create"), Ur = Yn && new Yn(), Pn = {}, sd = dn(vs), ad = dn(qn), od = dn(ws), ud = dn(Cn), cd = dn(Yn), Wr = zt ? zt.prototype : t, Zn = Wr ? Wr.valueOf : t, jo = Wr ? Wr.toString : t;
5323
5323
  function h(e) {
5324
5324
  if (pe(e) && !G(e) && !(e instanceof ee)) {
5325
5325
  if (e instanceof lt)
@@ -5408,7 +5408,7 @@ Ci.exports;
5408
5408
  return e;
5409
5409
  }
5410
5410
  function hd() {
5411
- var e = this.__wrapped__.value(), n = this.__dir__, a = G(e), c = n < 0, l = a ? e.length : 0, d = Ep(0, l, this.__views__), m = d.start, v = d.end, b = v - m, C = c ? v : m - 1, P = this.__iteratees__, O = P.length, L = 0, N = He(b, this.__takeCount__);
5411
+ var e = this.__wrapped__.value(), n = this.__dir__, a = G(e), c = n < 0, l = a ? e.length : 0, d = Ep(0, l, this.__views__), m = d.start, v = d.end, b = v - m, C = c ? v : m - 1, P = this.__iteratees__, O = P.length, L = 0, N = Le(b, this.__takeCount__);
5412
5412
  if (!a || !c && l == b && N == b)
5413
5413
  return Au(e, this.__actions__);
5414
5414
  var $ = [];
@@ -5416,10 +5416,10 @@ Ci.exports;
5416
5416
  for (; b-- && L < N; ) {
5417
5417
  C += n;
5418
5418
  for (var Y = -1, J = e[C]; ++Y < O; ) {
5419
- var Q = P[Y], te = Q.iteratee, st = Q.type, Be = te(J);
5419
+ var Q = P[Y], te = Q.iteratee, st = Q.type, ke = te(J);
5420
5420
  if (st == sn)
5421
- J = Be;
5422
- else if (!Be) {
5421
+ J = ke;
5422
+ else if (!ke) {
5423
5423
  if (st == Ft)
5424
5424
  continue e;
5425
5425
  break e;
@@ -5630,7 +5630,7 @@ Ci.exports;
5630
5630
  if (m = Cp(e), !v)
5631
5631
  return Ve(e, m);
5632
5632
  } else {
5633
- var O = Le(e), L = O == yr || O == ro;
5633
+ var O = Ke(e), L = O == yr || O == ro;
5634
5634
  if (Zt(e))
5635
5635
  return Cu(e, v);
5636
5636
  if (O == It || O == vn || L && !l) {
@@ -5755,7 +5755,7 @@ Ci.exports;
5755
5755
  var c = n(e);
5756
5756
  return G(e) ? c : kt(c, a(e));
5757
5757
  }
5758
- function Je(e) {
5758
+ function Fe(e) {
5759
5759
  return e == null ? e === t ? yl : pl : on && on in oe(e) ? Ap(e) : Wp(e);
5760
5760
  }
5761
5761
  function Es(e, n) {
@@ -5768,12 +5768,12 @@ Ci.exports;
5768
5768
  return e != null && n in oe(e);
5769
5769
  }
5770
5770
  function kd(e, n, a) {
5771
- return e >= He(n, a) && e < be(n, a);
5771
+ return e >= Le(n, a) && e < be(n, a);
5772
5772
  }
5773
5773
  function xs(e, n, a) {
5774
5774
  for (var c = a ? os : Sr, l = e[0].length, d = e.length, m = d, v = A(d), b = 1 / 0, C = []; m--; ) {
5775
5775
  var P = e[m];
5776
- m && n && (P = le(P, nt(n))), b = He(P.length, b), v[m] = !a && (n || l >= 120 && P.length >= 120) ? new cn(m && P) : t;
5776
+ m && n && (P = le(P, nt(n))), b = Le(P.length, b), v[m] = !a && (n || l >= 120 && P.length >= 120) ? new cn(m && P) : t;
5777
5777
  }
5778
5778
  P = e[0];
5779
5779
  var O = -1, L = v[0];
@@ -5802,19 +5802,19 @@ Ci.exports;
5802
5802
  return c == null ? t : tt(c, e, a);
5803
5803
  }
5804
5804
  function cu(e) {
5805
- return pe(e) && Je(e) == vn;
5805
+ return pe(e) && Fe(e) == vn;
5806
5806
  }
5807
5807
  function zd(e) {
5808
- return pe(e) && Je(e) == Gn;
5808
+ return pe(e) && Fe(e) == Gn;
5809
5809
  }
5810
5810
  function Vd(e) {
5811
- return pe(e) && Je(e) == $n;
5811
+ return pe(e) && Fe(e) == $n;
5812
5812
  }
5813
5813
  function tr(e, n, a, c, l) {
5814
5814
  return e === n ? !0 : e == null || n == null || !pe(e) && !pe(n) ? e !== e && n !== n : qd(e, n, a, c, tr, l);
5815
5815
  }
5816
5816
  function qd(e, n, a, c, l, d) {
5817
- var m = G(e), v = G(n), b = m ? pr : Le(e), C = v ? pr : Le(n);
5817
+ var m = G(e), v = G(n), b = m ? pr : Ke(e), C = v ? pr : Ke(n);
5818
5818
  b = b == vn ? It : b, C = C == vn ? It : C;
5819
5819
  var P = b == It, O = C == It, L = b == C;
5820
5820
  if (L && Zt(e)) {
@@ -5834,7 +5834,7 @@ Ci.exports;
5834
5834
  return L ? (d || (d = new _t()), bp(e, n, a, c, l, d)) : !1;
5835
5835
  }
5836
5836
  function Yd(e) {
5837
- return pe(e) && Le(e) == mt;
5837
+ return pe(e) && Ke(e) == mt;
5838
5838
  }
5839
5839
  function Cs(e, n, a, c) {
5840
5840
  var l = a.length, d = l, m = !c;
@@ -5868,13 +5868,13 @@ Ci.exports;
5868
5868
  return n.test(dn(e));
5869
5869
  }
5870
5870
  function Xd(e) {
5871
- return pe(e) && Je(e) == Fn;
5871
+ return pe(e) && Fe(e) == Fn;
5872
5872
  }
5873
5873
  function Zd(e) {
5874
- return pe(e) && Le(e) == vt;
5874
+ return pe(e) && Ke(e) == vt;
5875
5875
  }
5876
5876
  function Qd(e) {
5877
- return pe(e) && ri(e.length) && !!fe[Je(e)];
5877
+ return pe(e) && ri(e.length) && !!fe[Fe(e)];
5878
5878
  }
5879
5879
  function lu(e) {
5880
5880
  return typeof e == "function" ? e : e == null ? Xe : typeof e == "object" ? G(e) ? pu(e[0], e[1]) : du(e) : Lc(e);
@@ -6089,7 +6089,7 @@ Ci.exports;
6089
6089
  C ? J = $ && (c || L) : v ? J = $ && L && (c || !N) : b ? J = $ && L && !N && (c || !Y) : N || Y ? J = !1 : J = c ? O <= n : O < n;
6090
6090
  J ? l = P + 1 : d = P;
6091
6091
  }
6092
- return He(d, cl);
6092
+ return Le(d, cl);
6093
6093
  }
6094
6094
  function _u(e, n) {
6095
6095
  for (var a = -1, c = e.length, l = 0, d = []; ++a < c; ) {
@@ -6283,7 +6283,7 @@ Ci.exports;
6283
6283
  function On(e) {
6284
6284
  return Z(function(n, a) {
6285
6285
  var c = -1, l = a.length, d = l > 1 ? a[l - 1] : t, m = l > 2 ? a[2] : t;
6286
- for (d = e.length > 3 && typeof d == "function" ? (l--, d) : t, m && Fe(a[0], a[1], m) && (d = l < 3 ? t : d, l = 1), n = oe(n); ++c < l; ) {
6286
+ for (d = e.length > 3 && typeof d == "function" ? (l--, d) : t, m && Be(a[0], a[1], m) && (d = l < 3 ? t : d, l = 1), n = oe(n); ++c < l; ) {
6287
6287
  var v = a[c];
6288
6288
  v && e(n, v, c, d);
6289
6289
  }
@@ -6424,9 +6424,9 @@ Ci.exports;
6424
6424
  for (var Q = arguments.length, te = A(Q), st = Q; st--; )
6425
6425
  te[st] = arguments[st];
6426
6426
  if (N)
6427
- var Be = In(J), at = Oh(te, Be);
6427
+ var ke = In(J), at = Oh(te, ke);
6428
6428
  if (c && (te = Ou(te, c, l, N)), d && (te = Tu(te, d, m, N)), Q -= at, N && Q < C) {
6429
- var me = Gt(te, Be);
6429
+ var me = Gt(te, ke);
6430
6430
  return Nu(
6431
6431
  e,
6432
6432
  n,
@@ -6494,7 +6494,7 @@ Ci.exports;
6494
6494
  }
6495
6495
  function Du(e) {
6496
6496
  return function(n, a, c) {
6497
- return c && typeof c != "number" && Fe(n, a, c) && (a = c = t), n = Mt(n), a === t ? (a = n, n = 0) : a = Mt(a), c = c === t ? n < a ? 1 : -1 : Mt(c), rp(n, a, c, e);
6497
+ return c && typeof c != "number" && Be(n, a, c) && (a = c = t), n = Mt(n), a === t ? (a = n, n = 0) : a = Mt(a), c = c === t ? n < a ? 1 : -1 : Mt(c), rp(n, a, c, e);
6498
6498
  };
6499
6499
  }
6500
6500
  function qr(e) {
@@ -6522,7 +6522,7 @@ Ci.exports;
6522
6522
  function Ms(e) {
6523
6523
  var n = Se[e];
6524
6524
  return function(a, c) {
6525
- if (a = gt(a), c = c == null ? 0 : He(V(c), 292), c && Zo(a)) {
6525
+ if (a = gt(a), c = c == null ? 0 : Le(V(c), 292), c && Zo(a)) {
6526
6526
  var l = (ie(a) + "e").split("e"), d = n(l[0] + "e" + (+l[1] + c));
6527
6527
  return l = (ie(d) + "e").split("e"), +(l[0] + "e" + (+l[1] - c));
6528
6528
  }
@@ -6534,7 +6534,7 @@ Ci.exports;
6534
6534
  } : oa;
6535
6535
  function Mu(e) {
6536
6536
  return function(n) {
6537
- var a = Le(n);
6537
+ var a = Ke(n);
6538
6538
  return a == mt ? gs(n) : a == vt ? Wh(n) : Rh(n, e(n));
6539
6539
  };
6540
6540
  }
@@ -6669,8 +6669,8 @@ Ci.exports;
6669
6669
  J || (J = L == "constructor");
6670
6670
  }
6671
6671
  if (Y && !J) {
6672
- var Be = e.constructor, at = n.constructor;
6673
- Be != at && "constructor" in e && "constructor" in n && !(typeof Be == "function" && Be instanceof Be && typeof at == "function" && at instanceof at) && (Y = !1);
6672
+ var ke = e.constructor, at = n.constructor;
6673
+ ke != at && "constructor" in e && "constructor" in n && !(typeof ke == "function" && ke instanceof ke && typeof at == "function" && at instanceof at) && (Y = !1);
6674
6674
  }
6675
6675
  return d.delete(e), d.delete(n), Y;
6676
6676
  }
@@ -6735,9 +6735,9 @@ Ci.exports;
6735
6735
  for (var n = []; e; )
6736
6736
  kt(n, ks(e)), e = Tr(e);
6737
6737
  return n;
6738
- } : ua, Le = Je;
6739
- (vs && Le(new vs(new ArrayBuffer(1))) != wn || qn && Le(new qn()) != mt || ws && Le(ws.resolve()) != io || Cn && Le(new Cn()) != vt || Yn && Le(new Yn()) != kn) && (Le = function(e) {
6740
- var n = Je(e), a = n == It ? e.constructor : t, c = a ? dn(a) : "";
6738
+ } : ua, Ke = Fe;
6739
+ (vs && Ke(new vs(new ArrayBuffer(1))) != wn || qn && Ke(new qn()) != mt || ws && Ke(ws.resolve()) != io || Cn && Ke(new Cn()) != vt || Yn && Ke(new Yn()) != kn) && (Ke = function(e) {
6740
+ var n = Fe(e), a = n == It ? e.constructor : t, c = a ? dn(a) : "";
6741
6741
  if (c)
6742
6742
  switch (c) {
6743
6743
  case sd:
@@ -6764,7 +6764,7 @@ Ci.exports;
6764
6764
  n -= m;
6765
6765
  break;
6766
6766
  case "take":
6767
- n = He(n, e + m);
6767
+ n = Le(n, e + m);
6768
6768
  break;
6769
6769
  case "takeRight":
6770
6770
  e = be(e, n - m);
@@ -6843,7 +6843,7 @@ Ci.exports;
6843
6843
  var a = typeof e;
6844
6844
  return n = n ?? de, !!n && (a == "number" || a != "symbol" && Jl.test(e)) && e > -1 && e % 1 == 0 && e < n;
6845
6845
  }
6846
- function Fe(e, n, a) {
6846
+ function Be(e, n, a) {
6847
6847
  if (!he(a))
6848
6848
  return !1;
6849
6849
  var c = typeof n;
@@ -6900,7 +6900,7 @@ Ci.exports;
6900
6900
  var b = e[3];
6901
6901
  e[3] = b ? Ou(b, v, n[4]) : v, e[4] = b ? Gt(e[3], w) : n[4];
6902
6902
  }
6903
- return v = n[5], v && (b = e[5], e[5] = b ? Tu(b, v, n[6]) : v, e[6] = b ? Gt(e[5], w) : n[6]), v = n[7], v && (e[7] = v), c & B && (e[8] = e[8] == null ? n[8] : He(e[8], n[8])), e[9] == null && (e[9] = n[9]), e[0] = n[0], e[1] = l, e;
6903
+ return v = n[5], v && (b = e[5], e[5] = b ? Tu(b, v, n[6]) : v, e[6] = b ? Gt(e[5], w) : n[6]), v = n[7], v && (e[7] = v), c & B && (e[8] = e[8] == null ? n[8] : Le(e[8], n[8])), e[9] == null && (e[9] = n[9]), e[0] = n[0], e[1] = l, e;
6904
6904
  }
6905
6905
  function Up(e) {
6906
6906
  var n = [];
@@ -6926,7 +6926,7 @@ Ci.exports;
6926
6926
  return n.length < 2 ? e : ln(e, dt(n, 0, -1));
6927
6927
  }
6928
6928
  function Dp(e, n) {
6929
- for (var a = e.length, c = He(n.length, a), l = Ve(e); c--; ) {
6929
+ for (var a = e.length, c = Le(n.length, a), l = Ve(e); c--; ) {
6930
6930
  var d = n[c];
6931
6931
  e[c] = Dt(d, a) ? l[d] : t;
6932
6932
  }
@@ -7001,7 +7001,7 @@ Ci.exports;
7001
7001
  return n.__actions__ = Ve(e.__actions__), n.__index__ = e.__index__, n.__values__ = e.__values__, n;
7002
7002
  }
7003
7003
  function Mp(e, n, a) {
7004
- (a ? Fe(e, n, a) : n === t) ? n = 1 : n = be(V(n), 0);
7004
+ (a ? Be(e, n, a) : n === t) ? n = 1 : n = be(V(n), 0);
7005
7005
  var c = e == null ? 0 : e.length;
7006
7006
  if (!c || n < 1)
7007
7007
  return [];
@@ -7049,7 +7049,7 @@ Ci.exports;
7049
7049
  }
7050
7050
  function Yp(e, n, a, c) {
7051
7051
  var l = e == null ? 0 : e.length;
7052
- return l ? (a && typeof a != "number" && Fe(e, n, a) && (a = 0, c = l), Jd(e, n, a, c)) : [];
7052
+ return l ? (a && typeof a != "number" && Be(e, n, a) && (a = 0, c = l), Jd(e, n, a, c)) : [];
7053
7053
  }
7054
7054
  function tc(e, n, a) {
7055
7055
  var c = e == null ? 0 : e.length;
@@ -7063,7 +7063,7 @@ Ci.exports;
7063
7063
  if (!c)
7064
7064
  return -1;
7065
7065
  var l = c - 1;
7066
- return a !== t && (l = V(a), l = a < 0 ? be(c + l, 0) : He(l, c - 1)), br(e, M(n, 3), l, !0);
7066
+ return a !== t && (l = V(a), l = a < 0 ? be(c + l, 0) : Le(l, c - 1)), br(e, M(n, 3), l, !0);
7067
7067
  }
7068
7068
  function rc(e) {
7069
7069
  var n = e == null ? 0 : e.length;
@@ -7120,7 +7120,7 @@ Ci.exports;
7120
7120
  if (!c)
7121
7121
  return -1;
7122
7122
  var l = c;
7123
- return a !== t && (l = V(a), l = l < 0 ? be(c + l, 0) : He(l, c - 1)), n === n ? Nh(e, n, l) : br(e, No, l, !0);
7123
+ return a !== t && (l = V(a), l = l < 0 ? be(c + l, 0) : Le(l, c - 1)), n === n ? Nh(e, n, l) : br(e, No, l, !0);
7124
7124
  }
7125
7125
  function ag(e, n) {
7126
7126
  return e && e.length ? gu(e, V(n)) : t;
@@ -7157,7 +7157,7 @@ Ci.exports;
7157
7157
  }
7158
7158
  function hg(e, n, a) {
7159
7159
  var c = e == null ? 0 : e.length;
7160
- return c ? (a && typeof a != "number" && Fe(e, n, a) ? (n = 0, a = c) : (n = n == null ? 0 : V(n), a = a === t ? c : V(a)), dt(e, n, a)) : [];
7160
+ return c ? (a && typeof a != "number" && Be(e, n, a) ? (n = 0, a = c) : (n = n == null ? 0 : V(n), a = a === t ? c : V(a)), dt(e, n, a)) : [];
7161
7161
  }
7162
7162
  function dg(e, n) {
7163
7163
  return Fr(e, n);
@@ -7335,7 +7335,7 @@ Ci.exports;
7335
7335
  });
7336
7336
  function Xg(e, n, a) {
7337
7337
  var c = G(e) ? Wo : $d;
7338
- return a && Fe(e, n, a) && (n = t), c(e, M(n, 3));
7338
+ return a && Be(e, n, a) && (n = t), c(e, M(n, 3));
7339
7339
  }
7340
7340
  function Zg(e, n) {
7341
7341
  var a = G(e) ? Bt : au;
@@ -7404,7 +7404,7 @@ Ci.exports;
7404
7404
  return n(e);
7405
7405
  }
7406
7406
  function d0(e, n, a) {
7407
- (a ? Fe(e, n, a) : n === t) ? n = 1 : n = V(n);
7407
+ (a ? Be(e, n, a) : n === t) ? n = 1 : n = V(n);
7408
7408
  var c = G(e) ? Ud : sp;
7409
7409
  return c(e, n);
7410
7410
  }
@@ -7417,18 +7417,18 @@ Ci.exports;
7417
7417
  return 0;
7418
7418
  if (qe(e))
7419
7419
  return ii(e) ? An(e) : e.length;
7420
- var n = Le(e);
7420
+ var n = Ke(e);
7421
7421
  return n == mt || n == vt ? e.size : Ps(e).length;
7422
7422
  }
7423
7423
  function y0(e, n, a) {
7424
7424
  var c = G(e) ? cs : up;
7425
- return a && Fe(e, n, a) && (n = t), c(e, M(n, 3));
7425
+ return a && Be(e, n, a) && (n = t), c(e, M(n, 3));
7426
7426
  }
7427
7427
  var m0 = Z(function(e, n) {
7428
7428
  if (e == null)
7429
7429
  return [];
7430
7430
  var a = n.length;
7431
- return a > 1 && Fe(e, n[0], n[1]) ? n = [] : a > 2 && Fe(n[0], n[1], n[2]) && (n = [n[0]]), yu(e, Re(n, 1), []);
7431
+ return a > 1 && Be(e, n[0], n[1]) ? n = [] : a > 2 && Be(n[0], n[1], n[2]) && (n = [n[0]]), yu(e, Re(n, 1), []);
7432
7432
  }), ei = Zh || function() {
7433
7433
  return Pe.Date.now();
7434
7434
  };
@@ -7490,7 +7490,7 @@ Ci.exports;
7490
7490
  }
7491
7491
  function Y(me) {
7492
7492
  var bt = me - b, $t = me - C, Kc = n - bt;
7493
- return O ? He(Kc, d - $t) : Kc;
7493
+ return O ? Le(Kc, d - $t) : Kc;
7494
7494
  }
7495
7495
  function J(me) {
7496
7496
  var bt = me - b, $t = me - C;
@@ -7508,7 +7508,7 @@ Ci.exports;
7508
7508
  function st() {
7509
7509
  v !== t && xu(v), C = 0, c = b = l = v = t;
7510
7510
  }
7511
- function Be() {
7511
+ function ke() {
7512
7512
  return v === t ? m : te(ei());
7513
7513
  }
7514
7514
  function at() {
@@ -7521,7 +7521,7 @@ Ci.exports;
7521
7521
  }
7522
7522
  return v === t && (v = sr(Q, n)), m;
7523
7523
  }
7524
- return at.cancel = st, at.flush = Be, at;
7524
+ return at.cancel = st, at.flush = ke, at;
7525
7525
  }
7526
7526
  var w0 = Z(function(e, n) {
7527
7527
  return iu(e, 1, n);
@@ -7569,7 +7569,7 @@ Ci.exports;
7569
7569
  n = n.length == 1 && G(n[0]) ? le(n[0], nt(M())) : le(Re(n, 1), nt(M()));
7570
7570
  var a = n.length;
7571
7571
  return Z(function(c) {
7572
- for (var l = -1, d = He(c.length, a); ++l < d; )
7572
+ for (var l = -1, d = Le(c.length, a); ++l < d; )
7573
7573
  c[l] = n[l].call(this, c[l]);
7574
7574
  return tt(e, this, c);
7575
7575
  });
@@ -7649,7 +7649,7 @@ Ci.exports;
7649
7649
  return pe(e) && qe(e);
7650
7650
  }
7651
7651
  function M0(e) {
7652
- return e === !0 || e === !1 || pe(e) && Je(e) == Mn;
7652
+ return e === !0 || e === !1 || pe(e) && Fe(e) == Mn;
7653
7653
  }
7654
7654
  var Zt = jh || ca, $0 = Io ? nt(Io) : Vd;
7655
7655
  function J0(e) {
@@ -7660,7 +7660,7 @@ Ci.exports;
7660
7660
  return !0;
7661
7661
  if (qe(e) && (G(e) || typeof e == "string" || typeof e.splice == "function" || Zt(e) || Hn(e) || pn(e)))
7662
7662
  return !e.length;
7663
- var n = Le(e);
7663
+ var n = Ke(e);
7664
7664
  if (n == mt || n == vt)
7665
7665
  return !e.size;
7666
7666
  if (ir(e))
@@ -7681,7 +7681,7 @@ Ci.exports;
7681
7681
  function js(e) {
7682
7682
  if (!pe(e))
7683
7683
  return !1;
7684
- var n = Je(e);
7684
+ var n = Fe(e);
7685
7685
  return n == gr || n == dl || typeof e.message == "string" && typeof e.name == "string" && !ar(e);
7686
7686
  }
7687
7687
  function G0(e) {
@@ -7690,7 +7690,7 @@ Ci.exports;
7690
7690
  function Nt(e) {
7691
7691
  if (!he(e))
7692
7692
  return !1;
7693
- var n = Je(e);
7693
+ var n = Fe(e);
7694
7694
  return n == yr || n == ro || n == hl || n == gl;
7695
7695
  }
7696
7696
  function mc(e) {
@@ -7728,10 +7728,10 @@ Ci.exports;
7728
7728
  return e == null;
7729
7729
  }
7730
7730
  function wc(e) {
7731
- return typeof e == "number" || pe(e) && Je(e) == Jn;
7731
+ return typeof e == "number" || pe(e) && Fe(e) == Jn;
7732
7732
  }
7733
7733
  function ar(e) {
7734
- if (!pe(e) || Je(e) != It)
7734
+ if (!pe(e) || Fe(e) != It)
7735
7735
  return !1;
7736
7736
  var n = Tr(e);
7737
7737
  if (n === null)
@@ -7745,20 +7745,20 @@ Ci.exports;
7745
7745
  }
7746
7746
  var _c = Ko ? nt(Ko) : Zd;
7747
7747
  function ii(e) {
7748
- return typeof e == "string" || !G(e) && pe(e) && Je(e) == Bn;
7748
+ return typeof e == "string" || !G(e) && pe(e) && Fe(e) == Bn;
7749
7749
  }
7750
7750
  function it(e) {
7751
- return typeof e == "symbol" || pe(e) && Je(e) == mr;
7751
+ return typeof e == "symbol" || pe(e) && Fe(e) == mr;
7752
7752
  }
7753
7753
  var Hn = Uo ? nt(Uo) : Qd;
7754
7754
  function j0(e) {
7755
7755
  return e === t;
7756
7756
  }
7757
7757
  function ey(e) {
7758
- return pe(e) && Le(e) == kn;
7758
+ return pe(e) && Ke(e) == kn;
7759
7759
  }
7760
7760
  function ty(e) {
7761
- return pe(e) && Je(e) == ml;
7761
+ return pe(e) && Fe(e) == ml;
7762
7762
  }
7763
7763
  var ny = qr(Rs), ry = qr(function(e, n) {
7764
7764
  return e <= n;
@@ -7770,7 +7770,7 @@ Ci.exports;
7770
7770
  return ii(e) ? wt(e) : Ve(e);
7771
7771
  if (Vn && e[Vn])
7772
7772
  return Uh(e[Vn]());
7773
- var n = Le(e), a = n == mt ? gs : n == vt ? Ar : Ln;
7773
+ var n = Ke(e), a = n == mt ? gs : n == vt ? Ar : Ln;
7774
7774
  return a(e);
7775
7775
  }
7776
7776
  function Mt(e) {
@@ -7834,7 +7834,7 @@ Ci.exports;
7834
7834
  var cy = Z(function(e, n) {
7835
7835
  e = oe(e);
7836
7836
  var a = -1, c = n.length, l = c > 2 ? n[2] : t;
7837
- for (l && Fe(n[0], n[1], l) && (c = 1); ++a < c; )
7837
+ for (l && Be(n[0], n[1], l) && (c = 1); ++a < c; )
7838
7838
  for (var d = n[a], m = Ye(d), v = -1, b = m.length; ++v < b; ) {
7839
7839
  var C = m[v], P = e[C];
7840
7840
  (P === t || St(P, xn[C]) && !se.call(e, C)) && (e[C] = d[C]);
@@ -7980,13 +7980,13 @@ Ci.exports;
7980
7980
  return n = Mt(n), a === t ? (a = n, n = 0) : a = Mt(a), e = gt(e), kd(e, n, a);
7981
7981
  }
7982
7982
  function My(e, n, a) {
7983
- if (a && typeof a != "boolean" && Fe(e, n, a) && (n = a = t), a === t && (typeof n == "boolean" ? (a = n, n = t) : typeof e == "boolean" && (a = e, e = t)), e === t && n === t ? (e = 0, n = 1) : (e = Mt(e), n === t ? (n = e, e = 0) : n = Mt(n)), e > n) {
7983
+ if (a && typeof a != "boolean" && Be(e, n, a) && (n = a = t), a === t && (typeof n == "boolean" ? (a = n, n = t) : typeof e == "boolean" && (a = e, e = t)), e === t && n === t ? (e = 0, n = 1) : (e = Mt(e), n === t ? (n = e, e = 0) : n = Mt(n)), e > n) {
7984
7984
  var c = e;
7985
7985
  e = n, n = c;
7986
7986
  }
7987
7987
  if (a || e % 1 || n % 1) {
7988
7988
  var l = Qo();
7989
- return He(e + l * (n - e + mh("1e-" + ((l + "").length - 1))), n);
7989
+ return Le(e + l * (n - e + mh("1e-" + ((l + "").length - 1))), n);
7990
7990
  }
7991
7991
  return Ts(e, n);
7992
7992
  }
@@ -8039,7 +8039,7 @@ Ci.exports;
8039
8039
  return a || n == null ? n = 0 : n && (n = +n), rd(ie(e).replace(ji, ""), n || 0);
8040
8040
  }
8041
8041
  function Zy(e, n, a) {
8042
- return (a ? Fe(e, n, a) : n === t) ? n = 1 : n = V(n), Is(ie(e), n);
8042
+ return (a ? Be(e, n, a) : n === t) ? n = 1 : n = V(n), Is(ie(e), n);
8043
8043
  }
8044
8044
  function Qy() {
8045
8045
  var e = arguments, n = ie(e[0]);
@@ -8049,7 +8049,7 @@ Ci.exports;
8049
8049
  return e + (a ? "_" : "") + n.toLowerCase();
8050
8050
  });
8051
8051
  function em(e, n, a) {
8052
- return a && typeof a != "number" && Fe(e, n, a) && (n = a = t), a = a === t ? et : a >>> 0, a ? (e = ie(e), e && (typeof n == "string" || n != null && !ea(n)) && (n = rt(n), !n && bn(e)) ? Xt(wt(e), 0, a) : e.split(n, a)) : [];
8052
+ return a && typeof a != "number" && Be(e, n, a) && (n = a = t), a = a === t ? et : a >>> 0, a ? (e = ie(e), e && (typeof n == "string" || n != null && !ea(n)) && (n = rt(n), !n && bn(e)) ? Xt(wt(e), 0, a) : e.split(n, a)) : [];
8053
8053
  }
8054
8054
  var tm = Tn(function(e, n, a) {
8055
8055
  return e + (a ? " " : "") + ra(n);
@@ -8059,17 +8059,17 @@ Ci.exports;
8059
8059
  }
8060
8060
  function rm(e, n, a) {
8061
8061
  var c = h.templateSettings;
8062
- a && Fe(e, n, a) && (n = t), e = ie(e), n = si({}, n, c, $u);
8062
+ a && Be(e, n, a) && (n = t), e = ie(e), n = si({}, n, c, $u);
8063
8063
  var l = si({}, n.imports, c.imports, $u), d = Ee(l), m = ps(l, d), v, b, C = 0, P = n.interpolate || vr, O = "__p += '", L = ys(
8064
8064
  (n.escape || vr).source + "|" + P.source + "|" + (P === oo ? Wl : vr).source + "|" + (n.evaluate || vr).source + "|$",
8065
8065
  "g"
8066
8066
  ), N = "//# sourceURL=" + (se.call(n, "sourceURL") ? (n.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++hh + "]") + `
8067
8067
  `;
8068
- e.replace(L, function(J, Q, te, st, Be, at) {
8068
+ e.replace(L, function(J, Q, te, st, ke, at) {
8069
8069
  return te || (te = st), O += e.slice(C, at).replace(Bl, Hh), Q && (v = !0, O += `' +
8070
8070
  __e(` + Q + `) +
8071
- '`), Be && (b = !0, O += `';
8072
- ` + Be + `;
8071
+ '`), ke && (b = !0, O += `';
8072
+ ` + ke + `;
8073
8073
  __p += '`), te && (O += `' +
8074
8074
  ((__t = (` + te + `)) == null ? '' : __t) +
8075
8075
  '`), C = at + J.length, J;
@@ -8281,7 +8281,7 @@ function print() { __p += __j.call(arguments, '') }
8281
8281
  function Lm(e, n) {
8282
8282
  if (e = V(e), e < 1 || e > de)
8283
8283
  return [];
8284
- var a = et, c = He(e, et);
8284
+ var a = et, c = Le(e, et);
8285
8285
  n = M(n), e -= et;
8286
8286
  for (var l = ds(c, n); ++a < e; )
8287
8287
  n(a);
@@ -8339,8 +8339,8 @@ function print() { __p += __j.call(arguments, '') }
8339
8339
  ee.prototype[e] = function(a) {
8340
8340
  a = a === t ? 1 : be(V(a), 0);
8341
8341
  var c = this.__filtered__ && !n ? new ee(this) : this.clone();
8342
- return c.__filtered__ ? c.__takeCount__ = He(a, c.__takeCount__) : c.__views__.push({
8343
- size: He(a, et),
8342
+ return c.__filtered__ ? c.__takeCount__ = Le(a, c.__takeCount__) : c.__views__.push({
8343
+ size: Le(a, et),
8344
8344
  type: e + (c.__dir__ < 0 ? "Right" : "")
8345
8345
  }), c;
8346
8346
  }, ee.prototype[e + "Right"] = function(a) {
@@ -8476,11 +8476,11 @@ class g_ extends Za {
8476
8476
  next: (o) => (this.logError(
8477
8477
  `ApiMiddleware MessageHandler ${JSON.stringify(o)}`
8478
8478
  ), en.getInstance().unsubscribeSubject(), s.status(o.code ?? 520).json(o))
8479
- }), ke(t).pipe(
8480
- Ne((o) => this.validateTokenFront(o)),
8481
- Ne((o) => ke(this.decode(o.body))),
8482
- Ne((o) => r(o)),
8483
- Ti((o) => (en.getInstance().setSubject(o), ke({})))
8479
+ }), Me(t).pipe(
8480
+ Ie((o) => this.validateTokenFront(o)),
8481
+ Ie((o) => Me(this.decode(o.body))),
8482
+ Ie((o) => r(o)),
8483
+ Ti((o) => (en.getInstance().setSubject(o), Me({})))
8484
8484
  ).subscribe({
8485
8485
  next: (o) => {
8486
8486
  this.returnData(s, o);
@@ -9313,14 +9313,14 @@ class c_ extends Hi {
9313
9313
  password: this.API_AUTH_BACK_PASSWORD
9314
9314
  })
9315
9315
  }).pipe(
9316
- Ne((t) => t.json()),
9317
- Ne((t) => {
9316
+ Ie((t) => t.json()),
9317
+ Ie((t) => {
9318
9318
  var s;
9319
9319
  return this.logDebug(
9320
9320
  `ServiceToken <URL>: \x1B[33m ${this.API_AUTH_BACK_URL} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(this.headers)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(t)} \x1B[37m`
9321
- ), ke(((s = t == null ? void 0 : t.data) == null ? void 0 : s.Token) || "");
9321
+ ), Me(((s = t == null ? void 0 : t.data) == null ? void 0 : s.Token) || "");
9322
9322
  }),
9323
- Ti((t) => (this.logError(`ServiceToken ${t}`), ke("")))
9323
+ Ti((t) => (this.logError(`ServiceToken ${t}`), Me("")))
9324
9324
  );
9325
9325
  }
9326
9326
  }
@@ -9335,13 +9335,25 @@ class f_ extends Za {
9335
9335
  }
9336
9336
  addTokenBackend(t) {
9337
9337
  return this.logDebug("addTokenBackend CustomHeader", JSON.stringify(t)), new c_().get().pipe(
9338
- Ne((s) => ke({ ...t, Authorization: `Bearer ${s}` }))
9338
+ Ie((s) => Me({ ...t, Authorization: `Bearer ${s}` }))
9339
9339
  );
9340
9340
  }
9341
+ temporaryCognitoHeader(t) {
9342
+ return Me({
9343
+ ...t,
9344
+ Accesstoken: process.env.Accesstoken,
9345
+ Refreshtoken: process.env.Refreshtoken,
9346
+ Idtoken: process.env.Idtoken,
9347
+ Username: process.env.Username
9348
+ });
9349
+ }
9341
9350
  getHeaders() {
9342
- return this.logDebug("getHeaders CustomHeader"), ke({
9351
+ return this.logDebug("getHeaders CustomHeader"), Me({
9343
9352
  ...this.headers
9344
- }).pipe(Ne((t) => this.addTokenBackend(t)));
9353
+ }).pipe(
9354
+ Ie((t) => this.addTokenBackend(t)),
9355
+ Ie((t) => this.temporaryCognitoHeader(t))
9356
+ );
9345
9357
  }
9346
9358
  }
9347
9359
  class y_ extends f_ {
@@ -9357,27 +9369,27 @@ class y_ extends f_ {
9357
9369
  ), !(t != null && t.errors);
9358
9370
  }
9359
9371
  customCatchError(t) {
9360
- return en.getInstance().setSubject(new wi(t).get()), ke({ error: !0 }).pipe(di(({ error: s }) => !s));
9372
+ return en.getInstance().setSubject(new wi(t).get()), Me({ error: !0 }).pipe(di(({ error: s }) => !s));
9361
9373
  }
9362
9374
  fetchData(t = {}) {
9363
- return this.logDebug("fetchData", JSON.stringify(t)), ke(t).pipe(
9364
- Ne(
9365
- (s) => this.getHeaders().pipe(Ne((o) => ke({ params: s, headers: o })))
9375
+ return this.logDebug("fetchData", JSON.stringify(t)), Me(t).pipe(
9376
+ Ie(
9377
+ (s) => this.getHeaders().pipe(Ie((o) => Me({ params: s, headers: o })))
9366
9378
  ),
9367
- Ne(
9379
+ Ie(
9368
9380
  ({ params: s, headers: o }) => no(this.apiUrl, {
9369
9381
  method: this.method,
9370
9382
  headers: o,
9371
9383
  body: JSON.stringify(s)
9372
9384
  }).pipe(
9373
- Ne((u) => u.json()),
9374
- Ne((u) => (this.logDebug(
9385
+ Ie((u) => u.json()),
9386
+ Ie((u) => (this.logDebug(
9375
9387
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
9376
9388
  o
9377
9389
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
9378
9390
  s
9379
9391
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(u)} \x1B[33m`
9380
- ), ke(u)))
9392
+ ), Me(u)))
9381
9393
  )
9382
9394
  ),
9383
9395
  Ti(this.customCatchError),
@@ -9400,7 +9412,7 @@ class m_ extends Za {
9400
9412
  return t.code && (en.getInstance().setSubject(t), ai.getInstance().setSubject(!1)), !t.code;
9401
9413
  }
9402
9414
  customCatchError(t) {
9403
- return en.getInstance().setSubject(new wi(t).get()), ai.getInstance().setSubject(!1), ke({ error: !0 }).pipe(
9415
+ return en.getInstance().setSubject(new wi(t).get()), ai.getInstance().setSubject(!1), Me({ error: !0 }).pipe(
9404
9416
  di(({ error: s }) => !s)
9405
9417
  );
9406
9418
  }
@@ -9410,13 +9422,13 @@ class m_ extends Za {
9410
9422
  headers: this.headers,
9411
9423
  body: this.encode(t)
9412
9424
  }).pipe(
9413
- Ne((s) => s.json()),
9414
- Ne((s) => (this.logDebug(
9425
+ Ie((s) => s.json()),
9426
+ Ie((s) => (this.logDebug(
9415
9427
  `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <BODY>: ${JSON.stringify(s)}`
9416
- ), ke(s))),
9428
+ ), Me(s))),
9417
9429
  di(this.errorHandler),
9418
- Ne((s) => ke(this.decode(s))),
9419
- Ne((s) => (ai.getInstance().setSubject(!1), ke(s))),
9430
+ Ie((s) => Me(this.decode(s))),
9431
+ Ie((s) => (ai.getInstance().setSubject(!1), Me(s))),
9420
9432
  Ti(this.customCatchError)
9421
9433
  );
9422
9434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {