@regulaforensics/facesdk-webclient 7.2.360-rc → 7.2.361-rc

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 (3) hide show
  1. package/dist/index.cjs +5 -5
  2. package/dist/index.js +874 -876
  3. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -1,157 +1,157 @@
1
- function ve(s, e) {
1
+ function ve(t, e) {
2
2
  return function() {
3
- return s.apply(e, arguments);
3
+ return t.apply(e, arguments);
4
4
  };
5
5
  }
6
- const { toString: ft } = Object.prototype, { getPrototypeOf: ge } = Object, { iterator: ce, toStringTag: ze } = Symbol, le = /* @__PURE__ */ ((s) => (e) => {
7
- const t = ft.call(e);
8
- return s[t] || (s[t] = t.slice(8, -1).toLowerCase());
9
- })(/* @__PURE__ */ Object.create(null)), F = (s) => (s = s.toLowerCase(), (e) => le(e) === s), ue = (s) => (e) => typeof e === s, { isArray: $ } = Array, K = ue("undefined");
10
- function X(s) {
11
- return s !== null && !K(s) && s.constructor !== null && !K(s.constructor) && N(s.constructor.isBuffer) && s.constructor.isBuffer(s);
6
+ const { toString: ft } = Object.prototype, { getPrototypeOf: Te } = Object, { iterator: ce, toStringTag: qe } = Symbol, le = /* @__PURE__ */ ((t) => (e) => {
7
+ const s = ft.call(e);
8
+ return t[s] || (t[s] = s.slice(8, -1).toLowerCase());
9
+ })(/* @__PURE__ */ Object.create(null)), U = (t) => (t = t.toLowerCase(), (e) => le(e) === t), ue = (t) => (e) => typeof e === t, { isArray: $ } = Array, K = ue("undefined");
10
+ function X(t) {
11
+ return t !== null && !K(t) && t.constructor !== null && !K(t.constructor) && N(t.constructor.isBuffer) && t.constructor.isBuffer(t);
12
12
  }
13
- const qe = F("ArrayBuffer");
14
- function mt(s) {
13
+ const ze = U("ArrayBuffer");
14
+ function mt(t) {
15
15
  let e;
16
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(s) : e = s && s.buffer && qe(s.buffer), e;
16
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && ze(t.buffer), e;
17
17
  }
18
- const Et = ue("string"), N = ue("function"), $e = ue("number"), J = (s) => s !== null && typeof s == "object", At = (s) => s === !0 || s === !1, se = (s) => {
19
- if (le(s) !== "object")
18
+ const Et = ue("string"), N = ue("function"), $e = ue("number"), J = (t) => t !== null && typeof t == "object", At = (t) => t === !0 || t === !1, se = (t) => {
19
+ if (le(t) !== "object")
20
20
  return !1;
21
- const e = ge(s);
22
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(ze in s) && !(ce in s);
23
- }, Ot = (s) => {
24
- if (!J(s) || X(s))
21
+ const e = Te(t);
22
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(qe in t) && !(ce in t);
23
+ }, Ot = (t) => {
24
+ if (!J(t) || X(t))
25
25
  return !1;
26
26
  try {
27
- return Object.keys(s).length === 0 && Object.getPrototypeOf(s) === Object.prototype;
27
+ return Object.keys(t).length === 0 && Object.getPrototypeOf(t) === Object.prototype;
28
28
  } catch {
29
29
  return !1;
30
30
  }
31
- }, yt = F("Date"), St = F("File"), Rt = F("Blob"), Pt = F("FileList"), Tt = (s) => J(s) && N(s.pipe), gt = (s) => {
31
+ }, yt = U("Date"), Rt = U("File"), St = U("Blob"), gt = U("FileList"), Pt = (t) => J(t) && N(t.pipe), Tt = (t) => {
32
32
  let e;
33
- return s && (typeof FormData == "function" && s instanceof FormData || N(s.append) && ((e = le(s)) === "formdata" || // detect form-data instance
34
- e === "object" && N(s.toString) && s.toString() === "[object FormData]"));
35
- }, Ct = F("URLSearchParams"), [bt, _t, wt, It] = ["ReadableStream", "Request", "Response", "Headers"].map(F), Lt = (s) => s.trim ? s.trim() : s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
- function Y(s, e, { allOwnKeys: t = !1 } = {}) {
37
- if (s === null || typeof s > "u")
33
+ return t && (typeof FormData == "function" && t instanceof FormData || N(t.append) && ((e = le(t)) === "formdata" || // detect form-data instance
34
+ e === "object" && N(t.toString) && t.toString() === "[object FormData]"));
35
+ }, Ct = U("URLSearchParams"), [bt, _t, wt, It] = ["ReadableStream", "Request", "Response", "Headers"].map(U), Lt = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
+ function Y(t, e, { allOwnKeys: s = !1 } = {}) {
37
+ if (t === null || typeof t > "u")
38
38
  return;
39
39
  let r, n;
40
- if (typeof s != "object" && (s = [s]), $(s))
41
- for (r = 0, n = s.length; r < n; r++)
42
- e.call(null, s[r], r, s);
40
+ if (typeof t != "object" && (t = [t]), $(t))
41
+ for (r = 0, n = t.length; r < n; r++)
42
+ e.call(null, t[r], r, t);
43
43
  else {
44
- if (X(s))
44
+ if (X(t))
45
45
  return;
46
- const o = t ? Object.getOwnPropertyNames(s) : Object.keys(s), a = o.length;
46
+ const o = s ? Object.getOwnPropertyNames(t) : Object.keys(t), a = o.length;
47
47
  let i;
48
48
  for (r = 0; r < a; r++)
49
- i = o[r], e.call(null, s[i], i, s);
49
+ i = o[r], e.call(null, t[i], i, t);
50
50
  }
51
51
  }
52
- function Qe(s, e) {
53
- if (X(s))
52
+ function Qe(t, e) {
53
+ if (X(t))
54
54
  return null;
55
55
  e = e.toLowerCase();
56
- const t = Object.keys(s);
57
- let r = t.length, n;
56
+ const s = Object.keys(t);
57
+ let r = s.length, n;
58
58
  for (; r-- > 0; )
59
- if (n = t[r], e === n.toLowerCase())
59
+ if (n = s[r], e === n.toLowerCase())
60
60
  return n;
61
61
  return null;
62
62
  }
63
- const j = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, We = (s) => !K(s) && s !== j;
63
+ const j = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, We = (t) => !K(t) && t !== j;
64
64
  function Oe() {
65
- const { caseless: s } = We(this) && this || {}, e = {}, t = (r, n) => {
66
- const o = s && Qe(e, n) || n;
65
+ const { caseless: t } = We(this) && this || {}, e = {}, s = (r, n) => {
66
+ const o = t && Qe(e, n) || n;
67
67
  se(e[o]) && se(r) ? e[o] = Oe(e[o], r) : se(r) ? e[o] = Oe({}, r) : $(r) ? e[o] = r.slice() : e[o] = r;
68
68
  };
69
69
  for (let r = 0, n = arguments.length; r < n; r++)
70
- arguments[r] && Y(arguments[r], t);
70
+ arguments[r] && Y(arguments[r], s);
71
71
  return e;
72
72
  }
73
- const Nt = (s, e, t, { allOwnKeys: r } = {}) => (Y(e, (n, o) => {
74
- t && N(n) ? s[o] = ve(n, t) : s[o] = n;
75
- }, { allOwnKeys: r }), s), Ut = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), Ft = (s, e, t, r) => {
76
- s.prototype = Object.create(e.prototype, r), s.prototype.constructor = s, Object.defineProperty(s, "super", {
73
+ const Nt = (t, e, s, { allOwnKeys: r } = {}) => (Y(e, (n, o) => {
74
+ s && N(n) ? t[o] = ve(n, s) : t[o] = n;
75
+ }, { allOwnKeys: r }), t), Ft = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ut = (t, e, s, r) => {
76
+ t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
77
77
  value: e.prototype
78
- }), t && Object.assign(s.prototype, t);
79
- }, Vt = (s, e, t, r) => {
78
+ }), s && Object.assign(t.prototype, s);
79
+ }, Vt = (t, e, s, r) => {
80
80
  let n, o, a;
81
81
  const i = {};
82
- if (e = e || {}, s == null) return e;
82
+ if (e = e || {}, t == null) return e;
83
83
  do {
84
- for (n = Object.getOwnPropertyNames(s), o = n.length; o-- > 0; )
85
- a = n[o], (!r || r(a, s, e)) && !i[a] && (e[a] = s[a], i[a] = !0);
86
- s = t !== !1 && ge(s);
87
- } while (s && (!t || t(s, e)) && s !== Object.prototype);
84
+ for (n = Object.getOwnPropertyNames(t), o = n.length; o-- > 0; )
85
+ a = n[o], (!r || r(a, t, e)) && !i[a] && (e[a] = t[a], i[a] = !0);
86
+ t = s !== !1 && Te(t);
87
+ } while (t && (!s || s(t, e)) && t !== Object.prototype);
88
88
  return e;
89
- }, Dt = (s, e, t) => {
90
- s = String(s), (t === void 0 || t > s.length) && (t = s.length), t -= e.length;
91
- const r = s.indexOf(e, t);
92
- return r !== -1 && r === t;
93
- }, Gt = (s) => {
94
- if (!s) return null;
95
- if ($(s)) return s;
96
- let e = s.length;
89
+ }, Dt = (t, e, s) => {
90
+ t = String(t), (s === void 0 || s > t.length) && (s = t.length), s -= e.length;
91
+ const r = t.indexOf(e, s);
92
+ return r !== -1 && r === s;
93
+ }, Gt = (t) => {
94
+ if (!t) return null;
95
+ if ($(t)) return t;
96
+ let e = t.length;
97
97
  if (!$e(e)) return null;
98
- const t = new Array(e);
98
+ const s = new Array(e);
99
99
  for (; e-- > 0; )
100
- t[e] = s[e];
101
- return t;
102
- }, Ht = /* @__PURE__ */ ((s) => (e) => s && e instanceof s)(typeof Uint8Array < "u" && ge(Uint8Array)), xt = (s, e) => {
103
- const r = (s && s[ce]).call(s);
100
+ s[e] = t[e];
101
+ return s;
102
+ }, Ht = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Te(Uint8Array)), xt = (t, e) => {
103
+ const r = (t && t[ce]).call(t);
104
104
  let n;
105
105
  for (; (n = r.next()) && !n.done; ) {
106
106
  const o = n.value;
107
- e.call(s, o[0], o[1]);
107
+ e.call(t, o[0], o[1]);
108
108
  }
109
- }, Bt = (s, e) => {
110
- let t;
109
+ }, Bt = (t, e) => {
110
+ let s;
111
111
  const r = [];
112
- for (; (t = s.exec(e)) !== null; )
113
- r.push(t);
112
+ for (; (s = t.exec(e)) !== null; )
113
+ r.push(s);
114
114
  return r;
115
- }, Mt = F("HTMLFormElement"), jt = (s) => s.toLowerCase().replace(
115
+ }, Mt = U("HTMLFormElement"), jt = (t) => t.toLowerCase().replace(
116
116
  /[-_\s]([a-z\d])(\w*)/g,
117
- function(t, r, n) {
117
+ function(s, r, n) {
118
118
  return r.toUpperCase() + n;
119
119
  }
120
- ), we = (({ hasOwnProperty: s }) => (e, t) => s.call(e, t))(Object.prototype), kt = F("RegExp"), Ke = (s, e) => {
121
- const t = Object.getOwnPropertyDescriptors(s), r = {};
122
- Y(t, (n, o) => {
120
+ ), we = (({ hasOwnProperty: t }) => (e, s) => t.call(e, s))(Object.prototype), kt = U("RegExp"), Ke = (t, e) => {
121
+ const s = Object.getOwnPropertyDescriptors(t), r = {};
122
+ Y(s, (n, o) => {
123
123
  let a;
124
- (a = e(n, o, s)) !== !1 && (r[o] = a || n);
125
- }), Object.defineProperties(s, r);
126
- }, vt = (s) => {
127
- Ke(s, (e, t) => {
128
- if (N(s) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
124
+ (a = e(n, o, t)) !== !1 && (r[o] = a || n);
125
+ }), Object.defineProperties(t, r);
126
+ }, vt = (t) => {
127
+ Ke(t, (e, s) => {
128
+ if (N(t) && ["arguments", "caller", "callee"].indexOf(s) !== -1)
129
129
  return !1;
130
- const r = s[t];
130
+ const r = t[s];
131
131
  if (N(r)) {
132
132
  if (e.enumerable = !1, "writable" in e) {
133
133
  e.writable = !1;
134
134
  return;
135
135
  }
136
136
  e.set || (e.set = () => {
137
- throw Error("Can not rewrite read-only method '" + t + "'");
137
+ throw Error("Can not rewrite read-only method '" + s + "'");
138
138
  });
139
139
  }
140
140
  });
141
- }, zt = (s, e) => {
142
- const t = {}, r = (n) => {
141
+ }, qt = (t, e) => {
142
+ const s = {}, r = (n) => {
143
143
  n.forEach((o) => {
144
- t[o] = !0;
144
+ s[o] = !0;
145
145
  });
146
146
  };
147
- return $(s) ? r(s) : r(String(s).split(e)), t;
148
- }, qt = () => {
149
- }, $t = (s, e) => s != null && Number.isFinite(s = +s) ? s : e;
150
- function Qt(s) {
151
- return !!(s && N(s.append) && s[ze] === "FormData" && s[ce]);
147
+ return $(t) ? r(t) : r(String(t).split(e)), s;
148
+ }, zt = () => {
149
+ }, $t = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
150
+ function Qt(t) {
151
+ return !!(t && N(t.append) && t[qe] === "FormData" && t[ce]);
152
152
  }
153
- const Wt = (s) => {
154
- const e = new Array(10), t = (r, n) => {
153
+ const Wt = (t) => {
154
+ const e = new Array(10), s = (r, n) => {
155
155
  if (J(r)) {
156
156
  if (e.indexOf(r) >= 0)
157
157
  return;
@@ -161,26 +161,26 @@ const Wt = (s) => {
161
161
  e[n] = r;
162
162
  const o = $(r) ? [] : {};
163
163
  return Y(r, (a, i) => {
164
- const c = t(a, n + 1);
164
+ const c = s(a, n + 1);
165
165
  !K(c) && (o[i] = c);
166
166
  }), e[n] = void 0, o;
167
167
  }
168
168
  }
169
169
  return r;
170
170
  };
171
- return t(s, 0);
172
- }, Kt = F("AsyncFunction"), Xt = (s) => s && (J(s) || N(s)) && N(s.then) && N(s.catch), Xe = ((s, e) => s ? setImmediate : e ? ((t, r) => (j.addEventListener("message", ({ source: n, data: o }) => {
173
- n === j && o === t && r.length && r.shift()();
171
+ return s(t, 0);
172
+ }, Kt = U("AsyncFunction"), Xt = (t) => t && (J(t) || N(t)) && N(t.then) && N(t.catch), Xe = ((t, e) => t ? setImmediate : e ? ((s, r) => (j.addEventListener("message", ({ source: n, data: o }) => {
173
+ n === j && o === s && r.length && r.shift()();
174
174
  }, !1), (n) => {
175
- r.push(n), j.postMessage(t, "*");
176
- }))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
175
+ r.push(n), j.postMessage(s, "*");
176
+ }))(`axios@${Math.random()}`, []) : (s) => setTimeout(s))(
177
177
  typeof setImmediate == "function",
178
178
  N(j.postMessage)
179
- ), Jt = typeof queueMicrotask < "u" ? queueMicrotask.bind(j) : typeof process < "u" && process.nextTick || Xe, Yt = (s) => s != null && N(s[ce]), u = {
179
+ ), Jt = typeof queueMicrotask < "u" ? queueMicrotask.bind(j) : typeof process < "u" && process.nextTick || Xe, Yt = (t) => t != null && N(t[ce]), u = {
180
180
  isArray: $,
181
- isArrayBuffer: qe,
181
+ isArrayBuffer: ze,
182
182
  isBuffer: X,
183
- isFormData: gt,
183
+ isFormData: Tt,
184
184
  isArrayBufferView: mt,
185
185
  isString: Et,
186
186
  isNumber: $e,
@@ -194,23 +194,23 @@ const Wt = (s) => {
194
194
  isHeaders: It,
195
195
  isUndefined: K,
196
196
  isDate: yt,
197
- isFile: St,
198
- isBlob: Rt,
197
+ isFile: Rt,
198
+ isBlob: St,
199
199
  isRegExp: kt,
200
200
  isFunction: N,
201
- isStream: Tt,
201
+ isStream: Pt,
202
202
  isURLSearchParams: Ct,
203
203
  isTypedArray: Ht,
204
- isFileList: Pt,
204
+ isFileList: gt,
205
205
  forEach: Y,
206
206
  merge: Oe,
207
207
  extend: Nt,
208
208
  trim: Lt,
209
- stripBOM: Ut,
210
- inherits: Ft,
209
+ stripBOM: Ft,
210
+ inherits: Ut,
211
211
  toFlatObject: Vt,
212
212
  kindOf: le,
213
- kindOfTest: F,
213
+ kindOfTest: U,
214
214
  endsWith: Dt,
215
215
  toArray: Gt,
216
216
  forEachEntry: xt,
@@ -221,9 +221,9 @@ const Wt = (s) => {
221
221
  // an alias to avoid ESLint no-prototype-builtins detection
222
222
  reduceDescriptors: Ke,
223
223
  freezeMethods: vt,
224
- toObjectSet: zt,
224
+ toObjectSet: qt,
225
225
  toCamelCase: jt,
226
- noop: qt,
226
+ noop: zt,
227
227
  toFiniteNumber: $t,
228
228
  findKey: Qe,
229
229
  global: j,
@@ -236,8 +236,8 @@ const Wt = (s) => {
236
236
  asap: Jt,
237
237
  isIterable: Yt
238
238
  };
239
- function E(s, e, t, r, n) {
240
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = s, this.name = "AxiosError", e && (this.code = e), t && (this.config = t), r && (this.request = r), n && (this.response = n, this.status = n.status ? n.status : null);
239
+ function E(t, e, s, r, n) {
240
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), s && (this.config = s), r && (this.request = r), n && (this.response = n, this.status = n.status ? n.status : null);
241
241
  }
242
242
  u.inherits(E, Error, {
243
243
  toJSON: function() {
@@ -275,46 +275,46 @@ const Je = E.prototype, Ye = {};
275
275
  "ERR_NOT_SUPPORT",
276
276
  "ERR_INVALID_URL"
277
277
  // eslint-disable-next-line func-names
278
- ].forEach((s) => {
279
- Ye[s] = { value: s };
278
+ ].forEach((t) => {
279
+ Ye[t] = { value: t };
280
280
  });
281
281
  Object.defineProperties(E, Ye);
282
282
  Object.defineProperty(Je, "isAxiosError", { value: !0 });
283
- E.from = (s, e, t, r, n, o) => {
283
+ E.from = (t, e, s, r, n, o) => {
284
284
  const a = Object.create(Je);
285
- return u.toFlatObject(s, a, function(c) {
285
+ return u.toFlatObject(t, a, function(c) {
286
286
  return c !== Error.prototype;
287
- }, (i) => i !== "isAxiosError"), E.call(a, s.message, e, t, r, n), a.cause = s, a.name = s.name, o && Object.assign(a, o), a;
287
+ }, (i) => i !== "isAxiosError"), E.call(a, t.message, e, s, r, n), a.cause = t, a.name = t.name, o && Object.assign(a, o), a;
288
288
  };
289
289
  const Zt = null;
290
- function ye(s) {
291
- return u.isPlainObject(s) || u.isArray(s);
290
+ function ye(t) {
291
+ return u.isPlainObject(t) || u.isArray(t);
292
292
  }
293
- function Ze(s) {
294
- return u.endsWith(s, "[]") ? s.slice(0, -2) : s;
293
+ function Ze(t) {
294
+ return u.endsWith(t, "[]") ? t.slice(0, -2) : t;
295
295
  }
296
- function Ie(s, e, t) {
297
- return s ? s.concat(e).map(function(n, o) {
298
- return n = Ze(n), !t && o ? "[" + n + "]" : n;
299
- }).join(t ? "." : "") : e;
296
+ function Ie(t, e, s) {
297
+ return t ? t.concat(e).map(function(n, o) {
298
+ return n = Ze(n), !s && o ? "[" + n + "]" : n;
299
+ }).join(s ? "." : "") : e;
300
300
  }
301
- function es(s) {
302
- return u.isArray(s) && !s.some(ye);
301
+ function es(t) {
302
+ return u.isArray(t) && !t.some(ye);
303
303
  }
304
304
  const ts = u.toFlatObject(u, {}, null, function(e) {
305
305
  return /^is[A-Z]/.test(e);
306
306
  });
307
- function de(s, e, t) {
308
- if (!u.isObject(s))
307
+ function de(t, e, s) {
308
+ if (!u.isObject(t))
309
309
  throw new TypeError("target must be an object");
310
- e = e || new FormData(), t = u.toFlatObject(t, {
310
+ e = e || new FormData(), s = u.toFlatObject(s, {
311
311
  metaTokens: !0,
312
312
  dots: !1,
313
313
  indexes: !1
314
314
  }, !1, function(A, f) {
315
315
  return !u.isUndefined(f[A]);
316
316
  });
317
- const r = t.metaTokens, n = t.visitor || d, o = t.dots, a = t.indexes, c = (t.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(e);
317
+ const r = s.metaTokens, n = s.visitor || d, o = s.dots, a = s.indexes, c = (s.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(e);
318
318
  if (!u.isFunction(n))
319
319
  throw new TypeError("visitor must be a function");
320
320
  function l(h) {
@@ -363,11 +363,11 @@ function de(s, e, t) {
363
363
  }), p.pop();
364
364
  }
365
365
  }
366
- if (!u.isObject(s))
366
+ if (!u.isObject(t))
367
367
  throw new TypeError("data must be an object");
368
- return b(s), e;
368
+ return b(t), e;
369
369
  }
370
- function Le(s) {
370
+ function Le(t) {
371
371
  const e = {
372
372
  "!": "%21",
373
373
  "'": "%27",
@@ -377,42 +377,42 @@ function Le(s) {
377
377
  "%20": "+",
378
378
  "%00": "\0"
379
379
  };
380
- return encodeURIComponent(s).replace(/[!'()~]|%20|%00/g, function(r) {
380
+ return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(r) {
381
381
  return e[r];
382
382
  });
383
383
  }
384
- function Ce(s, e) {
385
- this._pairs = [], s && de(s, this, e);
384
+ function Ce(t, e) {
385
+ this._pairs = [], t && de(t, this, e);
386
386
  }
387
387
  const et = Ce.prototype;
388
- et.append = function(e, t) {
389
- this._pairs.push([e, t]);
388
+ et.append = function(e, s) {
389
+ this._pairs.push([e, s]);
390
390
  };
391
391
  et.toString = function(e) {
392
- const t = e ? function(r) {
392
+ const s = e ? function(r) {
393
393
  return e.call(this, r, Le);
394
394
  } : Le;
395
395
  return this._pairs.map(function(n) {
396
- return t(n[0]) + "=" + t(n[1]);
396
+ return s(n[0]) + "=" + s(n[1]);
397
397
  }, "").join("&");
398
398
  };
399
- function ss(s) {
400
- return encodeURIComponent(s).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
399
+ function ss(t) {
400
+ return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
401
401
  }
402
- function tt(s, e, t) {
402
+ function tt(t, e, s) {
403
403
  if (!e)
404
- return s;
405
- const r = t && t.encode || ss;
406
- u.isFunction(t) && (t = {
407
- serialize: t
404
+ return t;
405
+ const r = s && s.encode || ss;
406
+ u.isFunction(s) && (s = {
407
+ serialize: s
408
408
  });
409
- const n = t && t.serialize;
409
+ const n = s && s.serialize;
410
410
  let o;
411
- if (n ? o = n(e, t) : o = u.isURLSearchParams(e) ? e.toString() : new Ce(e, t).toString(r), o) {
412
- const a = s.indexOf("#");
413
- a !== -1 && (s = s.slice(0, a)), s += (s.indexOf("?") === -1 ? "?" : "&") + o;
411
+ if (n ? o = n(e, s) : o = u.isURLSearchParams(e) ? e.toString() : new Ce(e, s).toString(r), o) {
412
+ const a = t.indexOf("#");
413
+ a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + o;
414
414
  }
415
- return s;
415
+ return t;
416
416
  }
417
417
  class Ne {
418
418
  constructor() {
@@ -426,10 +426,10 @@ class Ne {
426
426
  *
427
427
  * @return {Number} An ID used to remove interceptor later
428
428
  */
429
- use(e, t, r) {
429
+ use(e, s, r) {
430
430
  return this.handlers.push({
431
431
  fulfilled: e,
432
- rejected: t,
432
+ rejected: s,
433
433
  synchronous: r ? r.synchronous : !1,
434
434
  runWhen: r ? r.runWhen : null
435
435
  }), this.handlers.length - 1;
@@ -480,68 +480,68 @@ const st = {
480
480
  Blob: os
481
481
  },
482
482
  protocols: ["http", "https", "file", "blob", "url", "data"]
483
- }, be = typeof window < "u" && typeof document < "u", Se = typeof navigator == "object" && navigator || void 0, is = be && (!Se || ["ReactNative", "NativeScript", "NS"].indexOf(Se.product) < 0), cs = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
+ }, be = typeof window < "u" && typeof document < "u", Re = typeof navigator == "object" && navigator || void 0, is = be && (!Re || ["ReactNative", "NativeScript", "NS"].indexOf(Re.product) < 0), cs = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
484
484
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ls = be && window.location.href || "http://localhost", us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
485
485
  __proto__: null,
486
486
  hasBrowserEnv: be,
487
487
  hasStandardBrowserEnv: is,
488
488
  hasStandardBrowserWebWorkerEnv: cs,
489
- navigator: Se,
489
+ navigator: Re,
490
490
  origin: ls
491
491
  }, Symbol.toStringTag, { value: "Module" })), I = {
492
492
  ...us,
493
493
  ...as
494
494
  };
495
- function ds(s, e) {
496
- return de(s, new I.classes.URLSearchParams(), {
497
- visitor: function(t, r, n, o) {
498
- return I.isNode && u.isBuffer(t) ? (this.append(r, t.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
495
+ function ds(t, e) {
496
+ return de(t, new I.classes.URLSearchParams(), {
497
+ visitor: function(s, r, n, o) {
498
+ return I.isNode && u.isBuffer(s) ? (this.append(r, s.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
499
499
  },
500
500
  ...e
501
501
  });
502
502
  }
503
- function ps(s) {
504
- return u.matchAll(/\w+|\[(\w*)]/g, s).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
503
+ function ps(t) {
504
+ return u.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
505
505
  }
506
- function hs(s) {
507
- const e = {}, t = Object.keys(s);
506
+ function hs(t) {
507
+ const e = {}, s = Object.keys(t);
508
508
  let r;
509
- const n = t.length;
509
+ const n = s.length;
510
510
  let o;
511
511
  for (r = 0; r < n; r++)
512
- o = t[r], e[o] = s[o];
512
+ o = s[r], e[o] = t[o];
513
513
  return e;
514
514
  }
515
- function rt(s) {
516
- function e(t, r, n, o) {
517
- let a = t[o++];
515
+ function rt(t) {
516
+ function e(s, r, n, o) {
517
+ let a = s[o++];
518
518
  if (a === "__proto__") return !0;
519
- const i = Number.isFinite(+a), c = o >= t.length;
520
- return a = !a && u.isArray(n) ? n.length : a, c ? (u.hasOwnProp(n, a) ? n[a] = [n[a], r] : n[a] = r, !i) : ((!n[a] || !u.isObject(n[a])) && (n[a] = []), e(t, r, n[a], o) && u.isArray(n[a]) && (n[a] = hs(n[a])), !i);
519
+ const i = Number.isFinite(+a), c = o >= s.length;
520
+ return a = !a && u.isArray(n) ? n.length : a, c ? (u.hasOwnProp(n, a) ? n[a] = [n[a], r] : n[a] = r, !i) : ((!n[a] || !u.isObject(n[a])) && (n[a] = []), e(s, r, n[a], o) && u.isArray(n[a]) && (n[a] = hs(n[a])), !i);
521
521
  }
522
- if (u.isFormData(s) && u.isFunction(s.entries)) {
523
- const t = {};
524
- return u.forEachEntry(s, (r, n) => {
525
- e(ps(r), n, t, 0);
526
- }), t;
522
+ if (u.isFormData(t) && u.isFunction(t.entries)) {
523
+ const s = {};
524
+ return u.forEachEntry(t, (r, n) => {
525
+ e(ps(r), n, s, 0);
526
+ }), s;
527
527
  }
528
528
  return null;
529
529
  }
530
- function fs(s, e, t) {
531
- if (u.isString(s))
530
+ function fs(t, e, s) {
531
+ if (u.isString(t))
532
532
  try {
533
- return (e || JSON.parse)(s), u.trim(s);
533
+ return (e || JSON.parse)(t), u.trim(t);
534
534
  } catch (r) {
535
535
  if (r.name !== "SyntaxError")
536
536
  throw r;
537
537
  }
538
- return (t || JSON.stringify)(s);
538
+ return (s || JSON.stringify)(t);
539
539
  }
540
540
  const Z = {
541
541
  transitional: st,
542
542
  adapter: ["xhr", "http", "fetch"],
543
- transformRequest: [function(e, t) {
544
- const r = t.getContentType() || "", n = r.indexOf("application/json") > -1, o = u.isObject(e);
543
+ transformRequest: [function(e, s) {
544
+ const r = s.getContentType() || "", n = r.indexOf("application/json") > -1, o = u.isObject(e);
545
545
  if (o && u.isHTMLForm(e) && (e = new FormData(e)), u.isFormData(e))
546
546
  return n ? JSON.stringify(rt(e)) : e;
547
547
  if (u.isArrayBuffer(e) || u.isBuffer(e) || u.isStream(e) || u.isFile(e) || u.isBlob(e) || u.isReadableStream(e))
@@ -549,7 +549,7 @@ const Z = {
549
549
  if (u.isArrayBufferView(e))
550
550
  return e.buffer;
551
551
  if (u.isURLSearchParams(e))
552
- return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
552
+ return s.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
553
553
  let i;
554
554
  if (o) {
555
555
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
@@ -563,14 +563,14 @@ const Z = {
563
563
  );
564
564
  }
565
565
  }
566
- return o || n ? (t.setContentType("application/json", !1), fs(e)) : e;
566
+ return o || n ? (s.setContentType("application/json", !1), fs(e)) : e;
567
567
  }],
568
568
  transformResponse: [function(e) {
569
- const t = this.transitional || Z.transitional, r = t && t.forcedJSONParsing, n = this.responseType === "json";
569
+ const s = this.transitional || Z.transitional, r = s && s.forcedJSONParsing, n = this.responseType === "json";
570
570
  if (u.isResponse(e) || u.isReadableStream(e))
571
571
  return e;
572
572
  if (e && u.isString(e) && (r && !this.responseType || n)) {
573
- const a = !(t && t.silentJSONParsing) && n;
573
+ const a = !(s && s.silentJSONParsing) && n;
574
574
  try {
575
575
  return JSON.parse(e);
576
576
  } catch (i) {
@@ -603,8 +603,8 @@ const Z = {
603
603
  }
604
604
  }
605
605
  };
606
- u.forEach(["delete", "get", "head", "post", "put", "patch"], (s) => {
607
- Z.headers[s] = {};
606
+ u.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
607
+ Z.headers[t] = {};
608
608
  });
609
609
  const ms = u.toObjectSet([
610
610
  "age",
@@ -624,45 +624,45 @@ const ms = u.toObjectSet([
624
624
  "referer",
625
625
  "retry-after",
626
626
  "user-agent"
627
- ]), Es = (s) => {
627
+ ]), Es = (t) => {
628
628
  const e = {};
629
- let t, r, n;
630
- return s && s.split(`
629
+ let s, r, n;
630
+ return t && t.split(`
631
631
  `).forEach(function(a) {
632
- n = a.indexOf(":"), t = a.substring(0, n).trim().toLowerCase(), r = a.substring(n + 1).trim(), !(!t || e[t] && ms[t]) && (t === "set-cookie" ? e[t] ? e[t].push(r) : e[t] = [r] : e[t] = e[t] ? e[t] + ", " + r : r);
632
+ n = a.indexOf(":"), s = a.substring(0, n).trim().toLowerCase(), r = a.substring(n + 1).trim(), !(!s || e[s] && ms[s]) && (s === "set-cookie" ? e[s] ? e[s].push(r) : e[s] = [r] : e[s] = e[s] ? e[s] + ", " + r : r);
633
633
  }), e;
634
- }, Ue = Symbol("internals");
635
- function W(s) {
636
- return s && String(s).trim().toLowerCase();
634
+ }, Fe = Symbol("internals");
635
+ function W(t) {
636
+ return t && String(t).trim().toLowerCase();
637
637
  }
638
- function re(s) {
639
- return s === !1 || s == null ? s : u.isArray(s) ? s.map(re) : String(s);
638
+ function re(t) {
639
+ return t === !1 || t == null ? t : u.isArray(t) ? t.map(re) : String(t);
640
640
  }
641
- function As(s) {
642
- const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
641
+ function As(t) {
642
+ const e = /* @__PURE__ */ Object.create(null), s = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
643
643
  let r;
644
- for (; r = t.exec(s); )
644
+ for (; r = s.exec(t); )
645
645
  e[r[1]] = r[2];
646
646
  return e;
647
647
  }
648
- const Os = (s) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(s.trim());
649
- function fe(s, e, t, r, n) {
648
+ const Os = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
649
+ function fe(t, e, s, r, n) {
650
650
  if (u.isFunction(r))
651
- return r.call(this, e, t);
652
- if (n && (e = t), !!u.isString(e)) {
651
+ return r.call(this, e, s);
652
+ if (n && (e = s), !!u.isString(e)) {
653
653
  if (u.isString(r))
654
654
  return e.indexOf(r) !== -1;
655
655
  if (u.isRegExp(r))
656
656
  return r.test(e);
657
657
  }
658
658
  }
659
- function ys(s) {
660
- return s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, r) => t.toUpperCase() + r);
659
+ function ys(t) {
660
+ return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, s, r) => s.toUpperCase() + r);
661
661
  }
662
- function Ss(s, e) {
663
- const t = u.toCamelCase(" " + e);
662
+ function Rs(t, e) {
663
+ const s = u.toCamelCase(" " + e);
664
664
  ["get", "set", "has"].forEach((r) => {
665
- Object.defineProperty(s, r + t, {
665
+ Object.defineProperty(t, r + s, {
666
666
  value: function(n, o, a) {
667
667
  return this[r].call(this, e, n, o, a);
668
668
  },
@@ -670,11 +670,11 @@ function Ss(s, e) {
670
670
  });
671
671
  });
672
672
  }
673
- let U = class {
673
+ let F = class {
674
674
  constructor(e) {
675
675
  e && this.set(e);
676
676
  }
677
- set(e, t, r) {
677
+ set(e, s, r) {
678
678
  const n = this;
679
679
  function o(i, c, l) {
680
680
  const d = W(c);
@@ -685,9 +685,9 @@ let U = class {
685
685
  }
686
686
  const a = (i, c) => u.forEach(i, (l, d) => o(l, d, c));
687
687
  if (u.isPlainObject(e) || e instanceof this.constructor)
688
- a(e, t);
688
+ a(e, s);
689
689
  else if (u.isString(e) && (e = e.trim()) && !Os(e))
690
- a(Es(e), t);
690
+ a(Es(e), s);
691
691
  else if (u.isObject(e) && u.isIterable(e)) {
692
692
  let i = {}, c, l;
693
693
  for (const d of e) {
@@ -695,81 +695,81 @@ let U = class {
695
695
  throw TypeError("Object iterator must return a key-value pair");
696
696
  i[l = d[0]] = (c = i[l]) ? u.isArray(c) ? [...c, d[1]] : [c, d[1]] : d[1];
697
697
  }
698
- a(i, t);
698
+ a(i, s);
699
699
  } else
700
- e != null && o(t, e, r);
700
+ e != null && o(s, e, r);
701
701
  return this;
702
702
  }
703
- get(e, t) {
703
+ get(e, s) {
704
704
  if (e = W(e), e) {
705
705
  const r = u.findKey(this, e);
706
706
  if (r) {
707
707
  const n = this[r];
708
- if (!t)
708
+ if (!s)
709
709
  return n;
710
- if (t === !0)
710
+ if (s === !0)
711
711
  return As(n);
712
- if (u.isFunction(t))
713
- return t.call(this, n, r);
714
- if (u.isRegExp(t))
715
- return t.exec(n);
712
+ if (u.isFunction(s))
713
+ return s.call(this, n, r);
714
+ if (u.isRegExp(s))
715
+ return s.exec(n);
716
716
  throw new TypeError("parser must be boolean|regexp|function");
717
717
  }
718
718
  }
719
719
  }
720
- has(e, t) {
720
+ has(e, s) {
721
721
  if (e = W(e), e) {
722
722
  const r = u.findKey(this, e);
723
- return !!(r && this[r] !== void 0 && (!t || fe(this, this[r], r, t)));
723
+ return !!(r && this[r] !== void 0 && (!s || fe(this, this[r], r, s)));
724
724
  }
725
725
  return !1;
726
726
  }
727
- delete(e, t) {
727
+ delete(e, s) {
728
728
  const r = this;
729
729
  let n = !1;
730
730
  function o(a) {
731
731
  if (a = W(a), a) {
732
732
  const i = u.findKey(r, a);
733
- i && (!t || fe(r, r[i], i, t)) && (delete r[i], n = !0);
733
+ i && (!s || fe(r, r[i], i, s)) && (delete r[i], n = !0);
734
734
  }
735
735
  }
736
736
  return u.isArray(e) ? e.forEach(o) : o(e), n;
737
737
  }
738
738
  clear(e) {
739
- const t = Object.keys(this);
740
- let r = t.length, n = !1;
739
+ const s = Object.keys(this);
740
+ let r = s.length, n = !1;
741
741
  for (; r--; ) {
742
- const o = t[r];
742
+ const o = s[r];
743
743
  (!e || fe(this, this[o], o, e, !0)) && (delete this[o], n = !0);
744
744
  }
745
745
  return n;
746
746
  }
747
747
  normalize(e) {
748
- const t = this, r = {};
748
+ const s = this, r = {};
749
749
  return u.forEach(this, (n, o) => {
750
750
  const a = u.findKey(r, o);
751
751
  if (a) {
752
- t[a] = re(n), delete t[o];
752
+ s[a] = re(n), delete s[o];
753
753
  return;
754
754
  }
755
755
  const i = e ? ys(o) : String(o).trim();
756
- i !== o && delete t[o], t[i] = re(n), r[i] = !0;
756
+ i !== o && delete s[o], s[i] = re(n), r[i] = !0;
757
757
  }), this;
758
758
  }
759
759
  concat(...e) {
760
760
  return this.constructor.concat(this, ...e);
761
761
  }
762
762
  toJSON(e) {
763
- const t = /* @__PURE__ */ Object.create(null);
763
+ const s = /* @__PURE__ */ Object.create(null);
764
764
  return u.forEach(this, (r, n) => {
765
- r != null && r !== !1 && (t[n] = e && u.isArray(r) ? r.join(", ") : r);
766
- }), t;
765
+ r != null && r !== !1 && (s[n] = e && u.isArray(r) ? r.join(", ") : r);
766
+ }), s;
767
767
  }
768
768
  [Symbol.iterator]() {
769
769
  return Object.entries(this.toJSON())[Symbol.iterator]();
770
770
  }
771
771
  toString() {
772
- return Object.entries(this.toJSON()).map(([e, t]) => e + ": " + t).join(`
772
+ return Object.entries(this.toJSON()).map(([e, s]) => e + ": " + s).join(`
773
773
  `);
774
774
  }
775
775
  getSetCookie() {
@@ -781,94 +781,94 @@ let U = class {
781
781
  static from(e) {
782
782
  return e instanceof this ? e : new this(e);
783
783
  }
784
- static concat(e, ...t) {
784
+ static concat(e, ...s) {
785
785
  const r = new this(e);
786
- return t.forEach((n) => r.set(n)), r;
786
+ return s.forEach((n) => r.set(n)), r;
787
787
  }
788
788
  static accessor(e) {
789
- const r = (this[Ue] = this[Ue] = {
789
+ const r = (this[Fe] = this[Fe] = {
790
790
  accessors: {}
791
791
  }).accessors, n = this.prototype;
792
792
  function o(a) {
793
793
  const i = W(a);
794
- r[i] || (Ss(n, a), r[i] = !0);
794
+ r[i] || (Rs(n, a), r[i] = !0);
795
795
  }
796
796
  return u.isArray(e) ? e.forEach(o) : o(e), this;
797
797
  }
798
798
  };
799
- U.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
800
- u.reduceDescriptors(U.prototype, ({ value: s }, e) => {
801
- let t = e[0].toUpperCase() + e.slice(1);
799
+ F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
800
+ u.reduceDescriptors(F.prototype, ({ value: t }, e) => {
801
+ let s = e[0].toUpperCase() + e.slice(1);
802
802
  return {
803
- get: () => s,
803
+ get: () => t,
804
804
  set(r) {
805
- this[t] = r;
805
+ this[s] = r;
806
806
  }
807
807
  };
808
808
  });
809
- u.freezeMethods(U);
810
- function me(s, e) {
811
- const t = this || Z, r = e || t, n = U.from(r.headers);
809
+ u.freezeMethods(F);
810
+ function me(t, e) {
811
+ const s = this || Z, r = e || s, n = F.from(r.headers);
812
812
  let o = r.data;
813
- return u.forEach(s, function(i) {
814
- o = i.call(t, o, n.normalize(), e ? e.status : void 0);
813
+ return u.forEach(t, function(i) {
814
+ o = i.call(s, o, n.normalize(), e ? e.status : void 0);
815
815
  }), n.normalize(), o;
816
816
  }
817
- function nt(s) {
818
- return !!(s && s.__CANCEL__);
817
+ function nt(t) {
818
+ return !!(t && t.__CANCEL__);
819
819
  }
820
- function Q(s, e, t) {
821
- E.call(this, s ?? "canceled", E.ERR_CANCELED, e, t), this.name = "CanceledError";
820
+ function Q(t, e, s) {
821
+ E.call(this, t ?? "canceled", E.ERR_CANCELED, e, s), this.name = "CanceledError";
822
822
  }
823
823
  u.inherits(Q, E, {
824
824
  __CANCEL__: !0
825
825
  });
826
- function ot(s, e, t) {
827
- const r = t.config.validateStatus;
828
- !t.status || !r || r(t.status) ? s(t) : e(new E(
829
- "Request failed with status code " + t.status,
830
- [E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
831
- t.config,
832
- t.request,
833
- t
826
+ function ot(t, e, s) {
827
+ const r = s.config.validateStatus;
828
+ !s.status || !r || r(s.status) ? t(s) : e(new E(
829
+ "Request failed with status code " + s.status,
830
+ [E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(s.status / 100) - 4],
831
+ s.config,
832
+ s.request,
833
+ s
834
834
  ));
835
835
  }
836
- function Rs(s) {
837
- const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(s);
836
+ function Ss(t) {
837
+ const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
838
838
  return e && e[1] || "";
839
839
  }
840
- function Ps(s, e) {
841
- s = s || 10;
842
- const t = new Array(s), r = new Array(s);
840
+ function gs(t, e) {
841
+ t = t || 10;
842
+ const s = new Array(t), r = new Array(t);
843
843
  let n = 0, o = 0, a;
844
844
  return e = e !== void 0 ? e : 1e3, function(c) {
845
845
  const l = Date.now(), d = r[o];
846
- a || (a = l), t[n] = c, r[n] = l;
846
+ a || (a = l), s[n] = c, r[n] = l;
847
847
  let p = o, O = 0;
848
848
  for (; p !== n; )
849
- O += t[p++], p = p % s;
850
- if (n = (n + 1) % s, n === o && (o = (o + 1) % s), l - a < e)
849
+ O += s[p++], p = p % t;
850
+ if (n = (n + 1) % t, n === o && (o = (o + 1) % t), l - a < e)
851
851
  return;
852
852
  const b = d && l - d;
853
853
  return b ? Math.round(O * 1e3 / b) : void 0;
854
854
  };
855
855
  }
856
- function Ts(s, e) {
857
- let t = 0, r = 1e3 / e, n, o;
856
+ function Ps(t, e) {
857
+ let s = 0, r = 1e3 / e, n, o;
858
858
  const a = (l, d = Date.now()) => {
859
- t = d, n = null, o && (clearTimeout(o), o = null), s(...l);
859
+ s = d, n = null, o && (clearTimeout(o), o = null), t(...l);
860
860
  };
861
861
  return [(...l) => {
862
- const d = Date.now(), p = d - t;
862
+ const d = Date.now(), p = d - s;
863
863
  p >= r ? a(l, d) : (n = l, o || (o = setTimeout(() => {
864
864
  o = null, a(n);
865
865
  }, r - p)));
866
866
  }, () => n && a(n)];
867
867
  }
868
- const oe = (s, e, t = 3) => {
868
+ const oe = (t, e, s = 3) => {
869
869
  let r = 0;
870
- const n = Ps(50, 250);
871
- return Ts((o) => {
870
+ const n = gs(50, 250);
871
+ return Ps((o) => {
872
872
  const a = o.loaded, i = o.lengthComputable ? o.total : void 0, c = a - r, l = n(c), d = a <= i;
873
873
  r = a;
874
874
  const p = {
@@ -882,31 +882,31 @@ const oe = (s, e, t = 3) => {
882
882
  lengthComputable: i != null,
883
883
  [e ? "download" : "upload"]: !0
884
884
  };
885
- s(p);
886
- }, t);
887
- }, Fe = (s, e) => {
888
- const t = s != null;
885
+ t(p);
886
+ }, s);
887
+ }, Ue = (t, e) => {
888
+ const s = t != null;
889
889
  return [(r) => e[0]({
890
- lengthComputable: t,
891
- total: s,
890
+ lengthComputable: s,
891
+ total: t,
892
892
  loaded: r
893
893
  }), e[1]];
894
- }, Ve = (s) => (...e) => u.asap(() => s(...e)), gs = I.hasStandardBrowserEnv ? /* @__PURE__ */ ((s, e) => (t) => (t = new URL(t, I.origin), s.protocol === t.protocol && s.host === t.host && (e || s.port === t.port)))(
894
+ }, Ve = (t) => (...e) => u.asap(() => t(...e)), Ts = I.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (s) => (s = new URL(s, I.origin), t.protocol === s.protocol && t.host === s.host && (e || t.port === s.port)))(
895
895
  new URL(I.origin),
896
896
  I.navigator && /(msie|trident)/i.test(I.navigator.userAgent)
897
897
  ) : () => !0, Cs = I.hasStandardBrowserEnv ? (
898
898
  // Standard browser envs support document.cookie
899
899
  {
900
- write(s, e, t, r, n, o) {
901
- const a = [s + "=" + encodeURIComponent(e)];
902
- u.isNumber(t) && a.push("expires=" + new Date(t).toGMTString()), u.isString(r) && a.push("path=" + r), u.isString(n) && a.push("domain=" + n), o === !0 && a.push("secure"), document.cookie = a.join("; ");
900
+ write(t, e, s, r, n, o) {
901
+ const a = [t + "=" + encodeURIComponent(e)];
902
+ u.isNumber(s) && a.push("expires=" + new Date(s).toGMTString()), u.isString(r) && a.push("path=" + r), u.isString(n) && a.push("domain=" + n), o === !0 && a.push("secure"), document.cookie = a.join("; ");
903
903
  },
904
- read(s) {
905
- const e = document.cookie.match(new RegExp("(^|;\\s*)(" + s + ")=([^;]*)"));
904
+ read(t) {
905
+ const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
906
906
  return e ? decodeURIComponent(e[3]) : null;
907
907
  },
908
- remove(s) {
909
- this.write(s, "", Date.now() - 864e5);
908
+ remove(t) {
909
+ this.write(t, "", Date.now() - 864e5);
910
910
  }
911
911
  }
912
912
  ) : (
@@ -921,20 +921,20 @@ const oe = (s, e, t = 3) => {
921
921
  }
922
922
  }
923
923
  );
924
- function bs(s) {
925
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(s);
924
+ function bs(t) {
925
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
926
926
  }
927
- function _s(s, e) {
928
- return e ? s.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : s;
927
+ function _s(t, e) {
928
+ return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
929
929
  }
930
- function at(s, e, t) {
930
+ function at(t, e, s) {
931
931
  let r = !bs(e);
932
- return s && (r || t == !1) ? _s(s, e) : e;
932
+ return t && (r || s == !1) ? _s(t, e) : e;
933
933
  }
934
- const De = (s) => s instanceof U ? { ...s } : s;
935
- function v(s, e) {
934
+ const De = (t) => t instanceof F ? { ...t } : t;
935
+ function v(t, e) {
936
936
  e = e || {};
937
- const t = {};
937
+ const s = {};
938
938
  function r(l, d, p, O) {
939
939
  return u.isPlainObject(l) && u.isPlainObject(d) ? u.merge.call({ caseless: O }, l, d) : u.isPlainObject(d) ? u.merge({}, d) : u.isArray(d) ? d.slice() : d;
940
940
  }
@@ -957,7 +957,7 @@ function v(s, e) {
957
957
  function i(l, d, p) {
958
958
  if (p in e)
959
959
  return r(l, d);
960
- if (p in s)
960
+ if (p in t)
961
961
  return r(void 0, l);
962
962
  }
963
963
  const c = {
@@ -991,20 +991,20 @@ function v(s, e) {
991
991
  validateStatus: i,
992
992
  headers: (l, d, p) => n(De(l), De(d), p, !0)
993
993
  };
994
- return u.forEach(Object.keys({ ...s, ...e }), function(d) {
995
- const p = c[d] || n, O = p(s[d], e[d], d);
996
- u.isUndefined(O) && p !== i || (t[d] = O);
997
- }), t;
994
+ return u.forEach(Object.keys({ ...t, ...e }), function(d) {
995
+ const p = c[d] || n, O = p(t[d], e[d], d);
996
+ u.isUndefined(O) && p !== i || (s[d] = O);
997
+ }), s;
998
998
  }
999
- const it = (s) => {
1000
- const e = v({}, s);
1001
- let { data: t, withXSRFToken: r, xsrfHeaderName: n, xsrfCookieName: o, headers: a, auth: i } = e;
1002
- e.headers = a = U.from(a), e.url = tt(at(e.baseURL, e.url, e.allowAbsoluteUrls), s.params, s.paramsSerializer), i && a.set(
999
+ const it = (t) => {
1000
+ const e = v({}, t);
1001
+ let { data: s, withXSRFToken: r, xsrfHeaderName: n, xsrfCookieName: o, headers: a, auth: i } = e;
1002
+ e.headers = a = F.from(a), e.url = tt(at(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), i && a.set(
1003
1003
  "Authorization",
1004
1004
  "Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
1005
1005
  );
1006
1006
  let c;
1007
- if (u.isFormData(t)) {
1007
+ if (u.isFormData(s)) {
1008
1008
  if (I.hasStandardBrowserEnv || I.hasStandardBrowserWebWorkerEnv)
1009
1009
  a.setContentType(void 0);
1010
1010
  else if ((c = a.getContentType()) !== !1) {
@@ -1012,16 +1012,16 @@ const it = (s) => {
1012
1012
  a.setContentType([l || "multipart/form-data", ...d].join("; "));
1013
1013
  }
1014
1014
  }
1015
- if (I.hasStandardBrowserEnv && (r && u.isFunction(r) && (r = r(e)), r || r !== !1 && gs(e.url))) {
1015
+ if (I.hasStandardBrowserEnv && (r && u.isFunction(r) && (r = r(e)), r || r !== !1 && Ts(e.url))) {
1016
1016
  const l = n && o && Cs.read(o);
1017
1017
  l && a.set(n, l);
1018
1018
  }
1019
1019
  return e;
1020
- }, ws = typeof XMLHttpRequest < "u", Is = ws && function(s) {
1021
- return new Promise(function(t, r) {
1022
- const n = it(s);
1020
+ }, ws = typeof XMLHttpRequest < "u", Is = ws && function(t) {
1021
+ return new Promise(function(s, r) {
1022
+ const n = it(t);
1023
1023
  let o = n.data;
1024
- const a = U.from(n.headers).normalize();
1024
+ const a = F.from(n.headers).normalize();
1025
1025
  let { responseType: i, onUploadProgress: c, onDownloadProgress: l } = n, d, p, O, b, h;
1026
1026
  function A() {
1027
1027
  b && b(), h && h(), n.cancelToken && n.cancelToken.unsubscribe(d), n.signal && n.signal.removeEventListener("abort", d);
@@ -1031,18 +1031,18 @@ const it = (s) => {
1031
1031
  function C() {
1032
1032
  if (!f)
1033
1033
  return;
1034
- const w = U.from(
1034
+ const w = F.from(
1035
1035
  "getAllResponseHeaders" in f && f.getAllResponseHeaders()
1036
1036
  ), L = {
1037
1037
  data: !i || i === "text" || i === "json" ? f.responseText : f.response,
1038
1038
  status: f.status,
1039
1039
  statusText: f.statusText,
1040
1040
  headers: w,
1041
- config: s,
1041
+ config: t,
1042
1042
  request: f
1043
1043
  };
1044
1044
  ot(function(B) {
1045
- t(B), A();
1045
+ s(B), A();
1046
1046
  }, function(B) {
1047
1047
  r(B), A();
1048
1048
  }, L), f = null;
@@ -1050,33 +1050,33 @@ const it = (s) => {
1050
1050
  "onloadend" in f ? f.onloadend = C : f.onreadystatechange = function() {
1051
1051
  !f || f.readyState !== 4 || f.status === 0 && !(f.responseURL && f.responseURL.indexOf("file:") === 0) || setTimeout(C);
1052
1052
  }, f.onabort = function() {
1053
- f && (r(new E("Request aborted", E.ECONNABORTED, s, f)), f = null);
1053
+ f && (r(new E("Request aborted", E.ECONNABORTED, t, f)), f = null);
1054
1054
  }, f.onerror = function() {
1055
- r(new E("Network Error", E.ERR_NETWORK, s, f)), f = null;
1055
+ r(new E("Network Error", E.ERR_NETWORK, t, f)), f = null;
1056
1056
  }, f.ontimeout = function() {
1057
1057
  let G = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
1058
1058
  const L = n.transitional || st;
1059
1059
  n.timeoutErrorMessage && (G = n.timeoutErrorMessage), r(new E(
1060
1060
  G,
1061
1061
  L.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
1062
- s,
1062
+ t,
1063
1063
  f
1064
1064
  )), f = null;
1065
1065
  }, o === void 0 && a.setContentType(null), "setRequestHeader" in f && u.forEach(a.toJSON(), function(G, L) {
1066
1066
  f.setRequestHeader(L, G);
1067
1067
  }), u.isUndefined(n.withCredentials) || (f.withCredentials = !!n.withCredentials), i && i !== "json" && (f.responseType = n.responseType), l && ([O, h] = oe(l, !0), f.addEventListener("progress", O)), c && f.upload && ([p, b] = oe(c), f.upload.addEventListener("progress", p), f.upload.addEventListener("loadend", b)), (n.cancelToken || n.signal) && (d = (w) => {
1068
- f && (r(!w || w.type ? new Q(null, s, f) : w), f.abort(), f = null);
1068
+ f && (r(!w || w.type ? new Q(null, t, f) : w), f.abort(), f = null);
1069
1069
  }, n.cancelToken && n.cancelToken.subscribe(d), n.signal && (n.signal.aborted ? d() : n.signal.addEventListener("abort", d)));
1070
- const _ = Rs(n.url);
1070
+ const _ = Ss(n.url);
1071
1071
  if (_ && I.protocols.indexOf(_) === -1) {
1072
- r(new E("Unsupported protocol " + _ + ":", E.ERR_BAD_REQUEST, s));
1072
+ r(new E("Unsupported protocol " + _ + ":", E.ERR_BAD_REQUEST, t));
1073
1073
  return;
1074
1074
  }
1075
1075
  f.send(o || null);
1076
1076
  });
1077
- }, Ls = (s, e) => {
1078
- const { length: t } = s = s ? s.filter(Boolean) : [];
1079
- if (e || t) {
1077
+ }, Ls = (t, e) => {
1078
+ const { length: s } = t = t ? t.filter(Boolean) : [];
1079
+ if (e || s) {
1080
1080
  let r = new AbortController(), n;
1081
1081
  const o = function(l) {
1082
1082
  if (!n) {
@@ -1089,44 +1089,44 @@ const it = (s) => {
1089
1089
  a = null, o(new E(`timeout ${e} of ms exceeded`, E.ETIMEDOUT));
1090
1090
  }, e);
1091
1091
  const i = () => {
1092
- s && (a && clearTimeout(a), a = null, s.forEach((l) => {
1092
+ t && (a && clearTimeout(a), a = null, t.forEach((l) => {
1093
1093
  l.unsubscribe ? l.unsubscribe(o) : l.removeEventListener("abort", o);
1094
- }), s = null);
1094
+ }), t = null);
1095
1095
  };
1096
- s.forEach((l) => l.addEventListener("abort", o));
1096
+ t.forEach((l) => l.addEventListener("abort", o));
1097
1097
  const { signal: c } = r;
1098
1098
  return c.unsubscribe = () => u.asap(i), c;
1099
1099
  }
1100
- }, Ns = function* (s, e) {
1101
- let t = s.byteLength;
1102
- if (t < e) {
1103
- yield s;
1100
+ }, Ns = function* (t, e) {
1101
+ let s = t.byteLength;
1102
+ if (s < e) {
1103
+ yield t;
1104
1104
  return;
1105
1105
  }
1106
1106
  let r = 0, n;
1107
- for (; r < t; )
1108
- n = r + e, yield s.slice(r, n), r = n;
1109
- }, Us = async function* (s, e) {
1110
- for await (const t of Fs(s))
1111
- yield* Ns(t, e);
1112
- }, Fs = async function* (s) {
1113
- if (s[Symbol.asyncIterator]) {
1114
- yield* s;
1107
+ for (; r < s; )
1108
+ n = r + e, yield t.slice(r, n), r = n;
1109
+ }, Fs = async function* (t, e) {
1110
+ for await (const s of Us(t))
1111
+ yield* Ns(s, e);
1112
+ }, Us = async function* (t) {
1113
+ if (t[Symbol.asyncIterator]) {
1114
+ yield* t;
1115
1115
  return;
1116
1116
  }
1117
- const e = s.getReader();
1117
+ const e = t.getReader();
1118
1118
  try {
1119
1119
  for (; ; ) {
1120
- const { done: t, value: r } = await e.read();
1121
- if (t)
1120
+ const { done: s, value: r } = await e.read();
1121
+ if (s)
1122
1122
  break;
1123
1123
  yield r;
1124
1124
  }
1125
1125
  } finally {
1126
1126
  await e.cancel();
1127
1127
  }
1128
- }, Ge = (s, e, t, r) => {
1129
- const n = Us(s, e);
1128
+ }, Ge = (t, e, s, r) => {
1129
+ const n = Fs(t, e);
1130
1130
  let o = 0, a, i = (c) => {
1131
1131
  a || (a = !0, r && r(c));
1132
1132
  };
@@ -1139,9 +1139,9 @@ const it = (s) => {
1139
1139
  return;
1140
1140
  }
1141
1141
  let p = d.byteLength;
1142
- if (t) {
1142
+ if (s) {
1143
1143
  let O = o += p;
1144
- t(O);
1144
+ s(O);
1145
1145
  }
1146
1146
  c.enqueue(new Uint8Array(d));
1147
1147
  } catch (l) {
@@ -1154,53 +1154,53 @@ const it = (s) => {
1154
1154
  }, {
1155
1155
  highWaterMark: 2
1156
1156
  });
1157
- }, pe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", ct = pe && typeof ReadableStream == "function", Vs = pe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (e) => s.encode(e))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), lt = (s, ...e) => {
1157
+ }, pe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", ct = pe && typeof ReadableStream == "function", Vs = pe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), lt = (t, ...e) => {
1158
1158
  try {
1159
- return !!s(...e);
1159
+ return !!t(...e);
1160
1160
  } catch {
1161
1161
  return !1;
1162
1162
  }
1163
1163
  }, Ds = ct && lt(() => {
1164
- let s = !1;
1164
+ let t = !1;
1165
1165
  const e = new Request(I.origin, {
1166
1166
  body: new ReadableStream(),
1167
1167
  method: "POST",
1168
1168
  get duplex() {
1169
- return s = !0, "half";
1169
+ return t = !0, "half";
1170
1170
  }
1171
1171
  }).headers.has("Content-Type");
1172
- return s && !e;
1173
- }), He = 64 * 1024, Re = ct && lt(() => u.isReadableStream(new Response("").body)), ae = {
1174
- stream: Re && ((s) => s.body)
1172
+ return t && !e;
1173
+ }), He = 64 * 1024, Se = ct && lt(() => u.isReadableStream(new Response("").body)), ae = {
1174
+ stream: Se && ((t) => t.body)
1175
1175
  };
1176
- pe && ((s) => {
1176
+ pe && ((t) => {
1177
1177
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
1178
- !ae[e] && (ae[e] = u.isFunction(s[e]) ? (t) => t[e]() : (t, r) => {
1178
+ !ae[e] && (ae[e] = u.isFunction(t[e]) ? (s) => s[e]() : (s, r) => {
1179
1179
  throw new E(`Response type '${e}' is not supported`, E.ERR_NOT_SUPPORT, r);
1180
1180
  });
1181
1181
  });
1182
1182
  })(new Response());
1183
- const Gs = async (s) => {
1184
- if (s == null)
1183
+ const Gs = async (t) => {
1184
+ if (t == null)
1185
1185
  return 0;
1186
- if (u.isBlob(s))
1187
- return s.size;
1188
- if (u.isSpecCompliantForm(s))
1186
+ if (u.isBlob(t))
1187
+ return t.size;
1188
+ if (u.isSpecCompliantForm(t))
1189
1189
  return (await new Request(I.origin, {
1190
1190
  method: "POST",
1191
- body: s
1191
+ body: t
1192
1192
  }).arrayBuffer()).byteLength;
1193
- if (u.isArrayBufferView(s) || u.isArrayBuffer(s))
1194
- return s.byteLength;
1195
- if (u.isURLSearchParams(s) && (s = s + ""), u.isString(s))
1196
- return (await Vs(s)).byteLength;
1197
- }, Hs = async (s, e) => {
1198
- const t = u.toFiniteNumber(s.getContentLength());
1199
- return t ?? Gs(e);
1200
- }, xs = pe && (async (s) => {
1193
+ if (u.isArrayBufferView(t) || u.isArrayBuffer(t))
1194
+ return t.byteLength;
1195
+ if (u.isURLSearchParams(t) && (t = t + ""), u.isString(t))
1196
+ return (await Vs(t)).byteLength;
1197
+ }, Hs = async (t, e) => {
1198
+ const s = u.toFiniteNumber(t.getContentLength());
1199
+ return s ?? Gs(e);
1200
+ }, xs = pe && (async (t) => {
1201
1201
  let {
1202
1202
  url: e,
1203
- method: t,
1203
+ method: s,
1204
1204
  data: r,
1205
1205
  signal: n,
1206
1206
  cancelToken: o,
@@ -1211,7 +1211,7 @@ const Gs = async (s) => {
1211
1211
  headers: d,
1212
1212
  withCredentials: p = "same-origin",
1213
1213
  fetchOptions: O
1214
- } = it(s);
1214
+ } = it(t);
1215
1215
  l = l ? (l + "").toLowerCase() : "text";
1216
1216
  let b = Ls([n, o && o.toAbortSignal()], a), h;
1217
1217
  const A = b && b.unsubscribe && (() => {
@@ -1219,14 +1219,14 @@ const Gs = async (s) => {
1219
1219
  });
1220
1220
  let f;
1221
1221
  try {
1222
- if (c && Ds && t !== "get" && t !== "head" && (f = await Hs(d, r)) !== 0) {
1222
+ if (c && Ds && s !== "get" && s !== "head" && (f = await Hs(d, r)) !== 0) {
1223
1223
  let L = new Request(e, {
1224
1224
  method: "POST",
1225
1225
  body: r,
1226
1226
  duplex: "half"
1227
1227
  }), x;
1228
1228
  if (u.isFormData(r) && (x = L.headers.get("content-type")) && d.setContentType(x), L.body) {
1229
- const [B, ee] = Fe(
1229
+ const [B, ee] = Ue(
1230
1230
  f,
1231
1231
  oe(Ve(c))
1232
1232
  );
@@ -1238,20 +1238,20 @@ const Gs = async (s) => {
1238
1238
  h = new Request(e, {
1239
1239
  ...O,
1240
1240
  signal: b,
1241
- method: t.toUpperCase(),
1241
+ method: s.toUpperCase(),
1242
1242
  headers: d.normalize().toJSON(),
1243
1243
  body: r,
1244
1244
  duplex: "half",
1245
1245
  credentials: C ? p : void 0
1246
1246
  });
1247
1247
  let _ = await fetch(h, O);
1248
- const w = Re && (l === "stream" || l === "response");
1249
- if (Re && (i || w && A)) {
1248
+ const w = Se && (l === "stream" || l === "response");
1249
+ if (Se && (i || w && A)) {
1250
1250
  const L = {};
1251
1251
  ["status", "statusText", "headers"].forEach((_e) => {
1252
1252
  L[_e] = _[_e];
1253
1253
  });
1254
- const x = u.toFiniteNumber(_.headers.get("content-length")), [B, ee] = i && Fe(
1254
+ const x = u.toFiniteNumber(_.headers.get("content-length")), [B, ee] = i && Ue(
1255
1255
  x,
1256
1256
  oe(Ve(i), !0)
1257
1257
  ) || [];
@@ -1263,49 +1263,49 @@ const Gs = async (s) => {
1263
1263
  );
1264
1264
  }
1265
1265
  l = l || "text";
1266
- let G = await ae[u.findKey(ae, l) || "text"](_, s);
1266
+ let G = await ae[u.findKey(ae, l) || "text"](_, t);
1267
1267
  return !w && A && A(), await new Promise((L, x) => {
1268
1268
  ot(L, x, {
1269
1269
  data: G,
1270
- headers: U.from(_.headers),
1270
+ headers: F.from(_.headers),
1271
1271
  status: _.status,
1272
1272
  statusText: _.statusText,
1273
- config: s,
1273
+ config: t,
1274
1274
  request: h
1275
1275
  });
1276
1276
  });
1277
1277
  } catch (C) {
1278
1278
  throw A && A(), C && C.name === "TypeError" && /Load failed|fetch/i.test(C.message) ? Object.assign(
1279
- new E("Network Error", E.ERR_NETWORK, s, h),
1279
+ new E("Network Error", E.ERR_NETWORK, t, h),
1280
1280
  {
1281
1281
  cause: C.cause || C
1282
1282
  }
1283
- ) : E.from(C, C && C.code, s, h);
1283
+ ) : E.from(C, C && C.code, t, h);
1284
1284
  }
1285
- }), Pe = {
1285
+ }), ge = {
1286
1286
  http: Zt,
1287
1287
  xhr: Is,
1288
1288
  fetch: xs
1289
1289
  };
1290
- u.forEach(Pe, (s, e) => {
1291
- if (s) {
1290
+ u.forEach(ge, (t, e) => {
1291
+ if (t) {
1292
1292
  try {
1293
- Object.defineProperty(s, "name", { value: e });
1293
+ Object.defineProperty(t, "name", { value: e });
1294
1294
  } catch {
1295
1295
  }
1296
- Object.defineProperty(s, "adapterName", { value: e });
1296
+ Object.defineProperty(t, "adapterName", { value: e });
1297
1297
  }
1298
1298
  });
1299
- const xe = (s) => `- ${s}`, Bs = (s) => u.isFunction(s) || s === null || s === !1, ut = {
1300
- getAdapter: (s) => {
1301
- s = u.isArray(s) ? s : [s];
1302
- const { length: e } = s;
1303
- let t, r;
1299
+ const xe = (t) => `- ${t}`, Bs = (t) => u.isFunction(t) || t === null || t === !1, ut = {
1300
+ getAdapter: (t) => {
1301
+ t = u.isArray(t) ? t : [t];
1302
+ const { length: e } = t;
1303
+ let s, r;
1304
1304
  const n = {};
1305
1305
  for (let o = 0; o < e; o++) {
1306
- t = s[o];
1306
+ s = t[o];
1307
1307
  let a;
1308
- if (r = t, !Bs(t) && (r = Pe[(a = String(t)).toLowerCase()], r === void 0))
1308
+ if (r = s, !Bs(s) && (r = ge[(a = String(s)).toLowerCase()], r === void 0))
1309
1309
  throw new E(`Unknown adapter '${a}'`);
1310
1310
  if (r)
1311
1311
  break;
@@ -1325,72 +1325,72 @@ const xe = (s) => `- ${s}`, Bs = (s) => u.isFunction(s) || s === null || s === !
1325
1325
  }
1326
1326
  return r;
1327
1327
  },
1328
- adapters: Pe
1328
+ adapters: ge
1329
1329
  };
1330
- function Ee(s) {
1331
- if (s.cancelToken && s.cancelToken.throwIfRequested(), s.signal && s.signal.aborted)
1332
- throw new Q(null, s);
1330
+ function Ee(t) {
1331
+ if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1332
+ throw new Q(null, t);
1333
1333
  }
1334
- function Be(s) {
1335
- return Ee(s), s.headers = U.from(s.headers), s.data = me.call(
1336
- s,
1337
- s.transformRequest
1338
- ), ["post", "put", "patch"].indexOf(s.method) !== -1 && s.headers.setContentType("application/x-www-form-urlencoded", !1), ut.getAdapter(s.adapter || Z.adapter)(s).then(function(r) {
1339
- return Ee(s), r.data = me.call(
1340
- s,
1341
- s.transformResponse,
1334
+ function Be(t) {
1335
+ return Ee(t), t.headers = F.from(t.headers), t.data = me.call(
1336
+ t,
1337
+ t.transformRequest
1338
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), ut.getAdapter(t.adapter || Z.adapter)(t).then(function(r) {
1339
+ return Ee(t), r.data = me.call(
1340
+ t,
1341
+ t.transformResponse,
1342
1342
  r
1343
- ), r.headers = U.from(r.headers), r;
1343
+ ), r.headers = F.from(r.headers), r;
1344
1344
  }, function(r) {
1345
- return nt(r) || (Ee(s), r && r.response && (r.response.data = me.call(
1346
- s,
1347
- s.transformResponse,
1345
+ return nt(r) || (Ee(t), r && r.response && (r.response.data = me.call(
1346
+ t,
1347
+ t.transformResponse,
1348
1348
  r.response
1349
- ), r.response.headers = U.from(r.response.headers))), Promise.reject(r);
1349
+ ), r.response.headers = F.from(r.response.headers))), Promise.reject(r);
1350
1350
  });
1351
1351
  }
1352
1352
  const dt = "1.11.0", he = {};
1353
- ["object", "boolean", "number", "function", "string", "symbol"].forEach((s, e) => {
1354
- he[s] = function(r) {
1355
- return typeof r === s || "a" + (e < 1 ? "n " : " ") + s;
1353
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1354
+ he[t] = function(r) {
1355
+ return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1356
1356
  };
1357
1357
  });
1358
1358
  const Me = {};
1359
- he.transitional = function(e, t, r) {
1359
+ he.transitional = function(e, s, r) {
1360
1360
  function n(o, a) {
1361
1361
  return "[Axios v" + dt + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
1362
1362
  }
1363
1363
  return (o, a, i) => {
1364
1364
  if (e === !1)
1365
1365
  throw new E(
1366
- n(a, " has been removed" + (t ? " in " + t : "")),
1366
+ n(a, " has been removed" + (s ? " in " + s : "")),
1367
1367
  E.ERR_DEPRECATED
1368
1368
  );
1369
- return t && !Me[a] && (Me[a] = !0, console.warn(
1369
+ return s && !Me[a] && (Me[a] = !0, console.warn(
1370
1370
  n(
1371
1371
  a,
1372
- " has been deprecated since v" + t + " and will be removed in the near future"
1372
+ " has been deprecated since v" + s + " and will be removed in the near future"
1373
1373
  )
1374
1374
  )), e ? e(o, a, i) : !0;
1375
1375
  };
1376
1376
  };
1377
1377
  he.spelling = function(e) {
1378
- return (t, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
1378
+ return (s, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
1379
1379
  };
1380
- function Ms(s, e, t) {
1381
- if (typeof s != "object")
1380
+ function Ms(t, e, s) {
1381
+ if (typeof t != "object")
1382
1382
  throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
1383
- const r = Object.keys(s);
1383
+ const r = Object.keys(t);
1384
1384
  let n = r.length;
1385
1385
  for (; n-- > 0; ) {
1386
1386
  const o = r[n], a = e[o];
1387
1387
  if (a) {
1388
- const i = s[o], c = i === void 0 || a(i, o, s);
1388
+ const i = t[o], c = i === void 0 || a(i, o, t);
1389
1389
  if (c !== !0)
1390
1390
  throw new E("option " + o + " must be " + c, E.ERR_BAD_OPTION_VALUE);
1391
1391
  continue;
1392
1392
  }
1393
- if (t !== !0)
1393
+ if (s !== !0)
1394
1394
  throw new E("Unknown option " + o, E.ERR_BAD_OPTION);
1395
1395
  }
1396
1396
  }
@@ -1413,9 +1413,9 @@ let k = class {
1413
1413
  *
1414
1414
  * @returns {Promise} The Promise to be fulfilled
1415
1415
  */
1416
- async request(e, t) {
1416
+ async request(e, s) {
1417
1417
  try {
1418
- return await this._request(e, t);
1418
+ return await this._request(e, s);
1419
1419
  } catch (r) {
1420
1420
  if (r instanceof Error) {
1421
1421
  let n = {};
@@ -1430,36 +1430,36 @@ let k = class {
1430
1430
  throw r;
1431
1431
  }
1432
1432
  }
1433
- _request(e, t) {
1434
- typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = v(this.defaults, t);
1435
- const { transitional: r, paramsSerializer: n, headers: o } = t;
1433
+ _request(e, s) {
1434
+ typeof e == "string" ? (s = s || {}, s.url = e) : s = e || {}, s = v(this.defaults, s);
1435
+ const { transitional: r, paramsSerializer: n, headers: o } = s;
1436
1436
  r !== void 0 && ne.assertOptions(r, {
1437
1437
  silentJSONParsing: V.transitional(V.boolean),
1438
1438
  forcedJSONParsing: V.transitional(V.boolean),
1439
1439
  clarifyTimeoutError: V.transitional(V.boolean)
1440
- }, !1), n != null && (u.isFunction(n) ? t.paramsSerializer = {
1440
+ }, !1), n != null && (u.isFunction(n) ? s.paramsSerializer = {
1441
1441
  serialize: n
1442
1442
  } : ne.assertOptions(n, {
1443
1443
  encode: V.function,
1444
1444
  serialize: V.function
1445
- }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), ne.assertOptions(t, {
1445
+ }, !0)), s.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? s.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : s.allowAbsoluteUrls = !0), ne.assertOptions(s, {
1446
1446
  baseUrl: V.spelling("baseURL"),
1447
1447
  withXsrfToken: V.spelling("withXSRFToken")
1448
- }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
1448
+ }, !0), s.method = (s.method || this.defaults.method || "get").toLowerCase();
1449
1449
  let a = o && u.merge(
1450
1450
  o.common,
1451
- o[t.method]
1451
+ o[s.method]
1452
1452
  );
1453
1453
  o && u.forEach(
1454
1454
  ["delete", "get", "head", "post", "put", "patch", "common"],
1455
1455
  (h) => {
1456
1456
  delete o[h];
1457
1457
  }
1458
- ), t.headers = U.concat(a, o);
1458
+ ), s.headers = F.concat(a, o);
1459
1459
  const i = [];
1460
1460
  let c = !0;
1461
1461
  this.interceptors.request.forEach(function(A) {
1462
- typeof A.runWhen == "function" && A.runWhen(t) === !1 || (c = c && A.synchronous, i.unshift(A.fulfilled, A.rejected));
1462
+ typeof A.runWhen == "function" && A.runWhen(s) === !1 || (c = c && A.synchronous, i.unshift(A.fulfilled, A.rejected));
1463
1463
  });
1464
1464
  const l = [];
1465
1465
  this.interceptors.response.forEach(function(A) {
@@ -1468,12 +1468,12 @@ let k = class {
1468
1468
  let d, p = 0, O;
1469
1469
  if (!c) {
1470
1470
  const h = [Be.bind(this), void 0];
1471
- for (h.unshift(...i), h.push(...l), O = h.length, d = Promise.resolve(t); p < O; )
1471
+ for (h.unshift(...i), h.push(...l), O = h.length, d = Promise.resolve(s); p < O; )
1472
1472
  d = d.then(h[p++], h[p++]);
1473
1473
  return d;
1474
1474
  }
1475
1475
  O = i.length;
1476
- let b = t;
1476
+ let b = s;
1477
1477
  for (p = 0; p < O; ) {
1478
1478
  const h = i[p++], A = i[p++];
1479
1479
  try {
@@ -1494,21 +1494,21 @@ let k = class {
1494
1494
  }
1495
1495
  getUri(e) {
1496
1496
  e = v(this.defaults, e);
1497
- const t = at(e.baseURL, e.url, e.allowAbsoluteUrls);
1498
- return tt(t, e.params, e.paramsSerializer);
1497
+ const s = at(e.baseURL, e.url, e.allowAbsoluteUrls);
1498
+ return tt(s, e.params, e.paramsSerializer);
1499
1499
  }
1500
1500
  };
1501
1501
  u.forEach(["delete", "get", "head", "options"], function(e) {
1502
- k.prototype[e] = function(t, r) {
1502
+ k.prototype[e] = function(s, r) {
1503
1503
  return this.request(v(r || {}, {
1504
1504
  method: e,
1505
- url: t,
1505
+ url: s,
1506
1506
  data: (r || {}).data
1507
1507
  }));
1508
1508
  };
1509
1509
  });
1510
1510
  u.forEach(["post", "put", "patch"], function(e) {
1511
- function t(r) {
1511
+ function s(r) {
1512
1512
  return function(o, a, i) {
1513
1513
  return this.request(v(i || {}, {
1514
1514
  method: e,
@@ -1520,15 +1520,15 @@ u.forEach(["post", "put", "patch"], function(e) {
1520
1520
  }));
1521
1521
  };
1522
1522
  }
1523
- k.prototype[e] = t(), k.prototype[e + "Form"] = t(!0);
1523
+ k.prototype[e] = s(), k.prototype[e + "Form"] = s(!0);
1524
1524
  });
1525
1525
  let js = class pt {
1526
1526
  constructor(e) {
1527
1527
  if (typeof e != "function")
1528
1528
  throw new TypeError("executor must be a function.");
1529
- let t;
1529
+ let s;
1530
1530
  this.promise = new Promise(function(o) {
1531
- t = o;
1531
+ s = o;
1532
1532
  });
1533
1533
  const r = this;
1534
1534
  this.promise.then((n) => {
@@ -1546,7 +1546,7 @@ let js = class pt {
1546
1546
  r.unsubscribe(o);
1547
1547
  }, a;
1548
1548
  }, e(function(o, a, i) {
1549
- r.reason || (r.reason = new Q(o, a, i), t(r.reason));
1549
+ r.reason || (r.reason = new Q(o, a, i), s(r.reason));
1550
1550
  });
1551
1551
  }
1552
1552
  /**
@@ -1572,14 +1572,14 @@ let js = class pt {
1572
1572
  unsubscribe(e) {
1573
1573
  if (!this._listeners)
1574
1574
  return;
1575
- const t = this._listeners.indexOf(e);
1576
- t !== -1 && this._listeners.splice(t, 1);
1575
+ const s = this._listeners.indexOf(e);
1576
+ s !== -1 && this._listeners.splice(s, 1);
1577
1577
  }
1578
1578
  toAbortSignal() {
1579
- const e = new AbortController(), t = (r) => {
1579
+ const e = new AbortController(), s = (r) => {
1580
1580
  e.abort(r);
1581
1581
  };
1582
- return this.subscribe(t), e.signal.unsubscribe = () => this.unsubscribe(t), e.signal;
1582
+ return this.subscribe(s), e.signal.unsubscribe = () => this.unsubscribe(s), e.signal;
1583
1583
  }
1584
1584
  /**
1585
1585
  * Returns an object that contains a new `CancelToken` and a function that, when called,
@@ -1595,15 +1595,15 @@ let js = class pt {
1595
1595
  };
1596
1596
  }
1597
1597
  };
1598
- function ks(s) {
1599
- return function(t) {
1600
- return s.apply(null, t);
1598
+ function ks(t) {
1599
+ return function(s) {
1600
+ return t.apply(null, s);
1601
1601
  };
1602
1602
  }
1603
- function vs(s) {
1604
- return u.isObject(s) && s.isAxiosError === !0;
1603
+ function vs(t) {
1604
+ return u.isObject(t) && t.isAxiosError === !0;
1605
1605
  }
1606
- const Te = {
1606
+ const Pe = {
1607
1607
  Continue: 100,
1608
1608
  SwitchingProtocols: 101,
1609
1609
  Processing: 102,
@@ -1668,14 +1668,14 @@ const Te = {
1668
1668
  NotExtended: 510,
1669
1669
  NetworkAuthenticationRequired: 511
1670
1670
  };
1671
- Object.entries(Te).forEach(([s, e]) => {
1672
- Te[e] = s;
1671
+ Object.entries(Pe).forEach(([t, e]) => {
1672
+ Pe[e] = t;
1673
1673
  });
1674
- function ht(s) {
1675
- const e = new k(s), t = ve(k.prototype.request, e);
1676
- return u.extend(t, k.prototype, e, { allOwnKeys: !0 }), u.extend(t, e, null, { allOwnKeys: !0 }), t.create = function(n) {
1677
- return ht(v(s, n));
1678
- }, t;
1674
+ function ht(t) {
1675
+ const e = new k(t), s = ve(k.prototype.request, e);
1676
+ return u.extend(s, k.prototype, e, { allOwnKeys: !0 }), u.extend(s, e, null, { allOwnKeys: !0 }), s.create = function(n) {
1677
+ return ht(v(t, n));
1678
+ }, s;
1679
1679
  }
1680
1680
  const m = ht(Z);
1681
1681
  m.Axios = k;
@@ -1692,20 +1692,20 @@ m.all = function(e) {
1692
1692
  m.spread = ks;
1693
1693
  m.isAxiosError = vs;
1694
1694
  m.mergeConfig = v;
1695
- m.AxiosHeaders = U;
1696
- m.formToJSON = (s) => rt(u.isHTMLForm(s) ? new FormData(s) : s);
1695
+ m.AxiosHeaders = F;
1696
+ m.formToJSON = (t) => rt(u.isHTMLForm(t) ? new FormData(t) : t);
1697
1697
  m.getAdapter = ut.getAdapter;
1698
- m.HttpStatusCode = Te;
1698
+ m.HttpStatusCode = Pe;
1699
1699
  m.default = m;
1700
1700
  const {
1701
1701
  Axios: Ar,
1702
1702
  AxiosError: Or,
1703
1703
  CanceledError: yr,
1704
- isCancel: Sr,
1705
- CancelToken: Rr,
1706
- VERSION: Pr,
1707
- all: Tr,
1708
- Cancel: gr,
1704
+ isCancel: Rr,
1705
+ CancelToken: Sr,
1706
+ VERSION: gr,
1707
+ all: Pr,
1708
+ Cancel: Tr,
1709
1709
  isAxiosError: Cr,
1710
1710
  spread: br,
1711
1711
  toFormData: _r,
@@ -1713,43 +1713,43 @@ const {
1713
1713
  HttpStatusCode: Ir,
1714
1714
  formToJSON: Lr,
1715
1715
  getAdapter: Nr,
1716
- mergeConfig: Ur
1717
- } = m, S = "http://localhost:41101".replace(/\/+$/, "");
1718
- class z {
1719
- constructor(e, t = S, r = m) {
1720
- this.basePath = t, this.axios = r, e && (this.configuration = e, this.basePath = e.basePath || this.basePath);
1716
+ mergeConfig: Fr
1717
+ } = m, R = "http://localhost:41101".replace(/\/+$/, "");
1718
+ class q {
1719
+ constructor(e, s = R, r = m) {
1720
+ this.basePath = s, this.axios = r, e && (this.configuration = e, this.basePath = e.basePath || this.basePath);
1721
1721
  }
1722
1722
  }
1723
- class zs extends Error {
1724
- constructor(e, t) {
1725
- super(t), this.field = e, this.name = "RequiredError";
1723
+ class qs extends Error {
1724
+ constructor(e, s) {
1725
+ super(s), this.field = e, this.name = "RequiredError";
1726
1726
  }
1727
1727
  }
1728
- const R = "https://example.com", y = function(s, e, t) {
1729
- if (t == null)
1730
- throw new zs(e, `Required parameter ${e} was null or undefined when calling ${s}.`);
1731
- }, P = function(s, ...e) {
1732
- const t = new URLSearchParams(s.search);
1728
+ const S = "https://example.com", y = function(t, e, s) {
1729
+ if (s == null)
1730
+ throw new qs(e, `Required parameter ${e} was null or undefined when calling ${t}.`);
1731
+ }, g = function(t, ...e) {
1732
+ const s = new URLSearchParams(t.search);
1733
1733
  for (const r of e)
1734
1734
  for (const n in r)
1735
1735
  if (Array.isArray(r[n])) {
1736
- t.delete(n);
1736
+ s.delete(n);
1737
1737
  for (const o of r[n])
1738
- t.append(n, o);
1738
+ s.append(n, o);
1739
1739
  } else
1740
- t.set(n, r[n]);
1741
- s.search = t.toString();
1742
- }, D = function(s, e, t) {
1743
- const r = typeof s != "string";
1744
- return (r && t && t.isJsonMime ? t.isJsonMime(e.headers["Content-Type"]) : r) ? JSON.stringify(s !== void 0 ? s : {}) : s || "";
1745
- }, T = function(s) {
1746
- return s.pathname + s.search + s.hash;
1747
- }, g = function(s, e, t, r) {
1748
- return (n = e, o = t) => {
1749
- const a = { ...s.options, url: ((r == null ? void 0 : r.basePath) || o) + s.url };
1740
+ s.set(n, r[n]);
1741
+ t.search = s.toString();
1742
+ }, D = function(t, e, s) {
1743
+ const r = typeof t != "string";
1744
+ return (r && s && s.isJsonMime ? s.isJsonMime(e.headers["Content-Type"]) : r) ? JSON.stringify(t !== void 0 ? t : {}) : t || "";
1745
+ }, P = function(t) {
1746
+ return t.pathname + t.search + t.hash;
1747
+ }, T = function(t, e, s, r) {
1748
+ return (n = e, o = s) => {
1749
+ const a = { ...t.options, url: (r?.basePath || o) + t.url };
1750
1750
  return n.request(a);
1751
1751
  };
1752
- }, qs = function(s) {
1752
+ }, zs = function(t) {
1753
1753
  return {
1754
1754
  /**
1755
1755
  * Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you additionally: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. For the list of assessed characteristics, see the [Face Image Quality Characteristics page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/face-image-quality-check/). - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. For the list of assessed attributes, see the [Attributes List page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and you will need to add all the necessary parameters to each request. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. For detailed information about scenarios, refer to the [Scenarios page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/scenarios/).
@@ -1759,16 +1759,16 @@ const R = "https://example.com", y = function(s, e, t) {
1759
1759
  * @param {*} [options] Override http request option.
1760
1760
  * @throws {RequiredError}
1761
1761
  */
1762
- detect: async (e, t, r = {}) => {
1762
+ detect: async (e, s, r = {}) => {
1763
1763
  y("detect", "detectRequest", e);
1764
- const n = "/api/detect", o = new URL(n, R);
1764
+ const n = "/api/detect", o = new URL(n, S);
1765
1765
  let a;
1766
- s && (a = s.baseOptions);
1766
+ t && (a = t.baseOptions);
1767
1767
  const i = { method: "POST", ...a, ...r }, c = {}, l = {};
1768
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
1768
+ s != null && (c["X-RequestID"] = String(s)), c["Content-Type"] = "application/json", g(o, l);
1769
1769
  let d = a && a.headers ? a.headers : {};
1770
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1771
- url: T(o),
1770
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, t), {
1771
+ url: P(o),
1772
1772
  options: i
1773
1773
  };
1774
1774
  },
@@ -1780,16 +1780,16 @@ const R = "https://example.com", y = function(s, e, t) {
1780
1780
  * @param {*} [options] Override http request option.
1781
1781
  * @throws {RequiredError}
1782
1782
  */
1783
- match: async (e, t, r = {}) => {
1783
+ match: async (e, s, r = {}) => {
1784
1784
  y("match", "matchRequest", e);
1785
- const n = "/api/match", o = new URL(n, R);
1785
+ const n = "/api/match", o = new URL(n, S);
1786
1786
  let a;
1787
- s && (a = s.baseOptions);
1787
+ t && (a = t.baseOptions);
1788
1788
  const i = { method: "POST", ...a, ...r }, c = {}, l = {};
1789
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
1789
+ s != null && (c["X-RequestID"] = String(s)), c["Content-Type"] = "application/json", g(o, l);
1790
1790
  let d = a && a.headers ? a.headers : {};
1791
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1792
- url: T(o),
1791
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, t), {
1792
+ url: P(o),
1793
1793
  options: i
1794
1794
  };
1795
1795
  },
@@ -1801,22 +1801,22 @@ const R = "https://example.com", y = function(s, e, t) {
1801
1801
  * @param {*} [options] Override http request option.
1802
1802
  * @throws {RequiredError}
1803
1803
  */
1804
- matchAndSearch: async (e, t, r = {}) => {
1804
+ matchAndSearch: async (e, s, r = {}) => {
1805
1805
  y("matchAndSearch", "matchAndSearchRequest", e);
1806
- const n = "/api/match_and_search", o = new URL(n, R);
1806
+ const n = "/api/match_and_search", o = new URL(n, S);
1807
1807
  let a;
1808
- s && (a = s.baseOptions);
1808
+ t && (a = t.baseOptions);
1809
1809
  const i = { method: "POST", ...a, ...r }, c = {}, l = {};
1810
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
1810
+ s != null && (c["X-RequestID"] = String(s)), c["Content-Type"] = "application/json", g(o, l);
1811
1811
  let d = a && a.headers ? a.headers : {};
1812
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1813
- url: T(o),
1812
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, t), {
1813
+ url: P(o),
1814
1814
  options: i
1815
1815
  };
1816
1816
  }
1817
1817
  };
1818
- }, Ae = function(s) {
1819
- const e = qs(s);
1818
+ }, Ae = function(t) {
1819
+ const e = zs(t);
1820
1820
  return {
1821
1821
  /**
1822
1822
  * Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you additionally: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. For the list of assessed characteristics, see the [Face Image Quality Characteristics page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/face-image-quality-check/). - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. For the list of assessed attributes, see the [Attributes List page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and you will need to add all the necessary parameters to each request. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. For detailed information about scenarios, refer to the [Scenarios page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/scenarios/).
@@ -1826,9 +1826,9 @@ const R = "https://example.com", y = function(s, e, t) {
1826
1826
  * @param {*} [options] Override http request option.
1827
1827
  * @throws {RequiredError}
1828
1828
  */
1829
- async detect(t, r, n) {
1830
- const o = await e.detect(t, r, n);
1831
- return g(o, m, S, s);
1829
+ async detect(s, r, n) {
1830
+ const o = await e.detect(s, r, n);
1831
+ return T(o, m, R, t);
1832
1832
  },
1833
1833
  /**
1834
1834
  * To perform a comparison of faces in the same image or in two different images, use POST `/api/match`. It\'s possible to compare faces in the same image or in two different images, this is defined by the `images.type` parameter. <br><br> The face detection result is displayed in the `detections` field. Each face is identified by two parameters: `faceIndex` (the index number of the face) and `imageIndex` (the index number of the image on which the face is detected). So, if there are two images each of which has two faces in them, the parameters will be the following: - First face in the first image: `faceIndex: 0`, `imageIndex: 0` - Second face in the first image: `faceIndex: 1`, `imageIndex: 0` - First face of the second image: `faceIndex: 0`, `imageIndex: 1` - Second face in the second image: `faceIndex: 1`, `imageIndex: 1`
@@ -1838,9 +1838,9 @@ const R = "https://example.com", y = function(s, e, t) {
1838
1838
  * @param {*} [options] Override http request option.
1839
1839
  * @throws {RequiredError}
1840
1840
  */
1841
- async match(t, r, n) {
1842
- const o = await e.match(t, r, n);
1843
- return g(o, m, S, s);
1841
+ async match(s, r, n) {
1842
+ const o = await e.match(s, r, n);
1843
+ return T(o, m, R, t);
1844
1844
  },
1845
1845
  /**
1846
1846
  * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. At least two photos are required. If, after processing two or more photos, only one face is detected across them, the match step is skipped, and only the search is carried out.
@@ -1850,13 +1850,13 @@ const R = "https://example.com", y = function(s, e, t) {
1850
1850
  * @param {*} [options] Override http request option.
1851
1851
  * @throws {RequiredError}
1852
1852
  */
1853
- async matchAndSearch(t, r, n) {
1854
- const o = await e.matchAndSearch(t, r, n);
1855
- return g(o, m, S, s);
1853
+ async matchAndSearch(s, r, n) {
1854
+ const o = await e.matchAndSearch(s, r, n);
1855
+ return T(o, m, R, t);
1856
1856
  }
1857
1857
  };
1858
1858
  };
1859
- let $s = class extends z {
1859
+ let $s = class extends q {
1860
1860
  /**
1861
1861
  * Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you additionally: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. For the list of assessed characteristics, see the [Face Image Quality Characteristics page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/face-image-quality-check/). - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. For the list of assessed attributes, see the [Attributes List page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and you will need to add all the necessary parameters to each request. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. For detailed information about scenarios, refer to the [Scenarios page](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/scenarios/).
1862
1862
  * @summary detect and check quality
@@ -1866,8 +1866,8 @@ let $s = class extends z {
1866
1866
  * @throws {RequiredError}
1867
1867
  * @memberof MatchApi
1868
1868
  */
1869
- detect(e, t, r) {
1870
- return Ae(this.configuration).detect(e, t, r).then((n) => n(this.axios, this.basePath));
1869
+ detect(e, s, r) {
1870
+ return Ae(this.configuration).detect(e, s, r).then((n) => n(this.axios, this.basePath));
1871
1871
  }
1872
1872
  /**
1873
1873
  * To perform a comparison of faces in the same image or in two different images, use POST `/api/match`. It\'s possible to compare faces in the same image or in two different images, this is defined by the `images.type` parameter. <br><br> The face detection result is displayed in the `detections` field. Each face is identified by two parameters: `faceIndex` (the index number of the face) and `imageIndex` (the index number of the image on which the face is detected). So, if there are two images each of which has two faces in them, the parameters will be the following: - First face in the first image: `faceIndex: 0`, `imageIndex: 0` - Second face in the first image: `faceIndex: 1`, `imageIndex: 0` - First face of the second image: `faceIndex: 0`, `imageIndex: 1` - Second face in the second image: `faceIndex: 1`, `imageIndex: 1`
@@ -1878,8 +1878,8 @@ let $s = class extends z {
1878
1878
  * @throws {RequiredError}
1879
1879
  * @memberof MatchApi
1880
1880
  */
1881
- match(e, t, r) {
1882
- return Ae(this.configuration).match(e, t, r).then((n) => n(this.axios, this.basePath));
1881
+ match(e, s, r) {
1882
+ return Ae(this.configuration).match(e, s, r).then((n) => n(this.axios, this.basePath));
1883
1883
  }
1884
1884
  /**
1885
1885
  * To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. At least two photos are required. If, after processing two or more photos, only one face is detected across them, the match step is skipped, and only the search is carried out.
@@ -1890,8 +1890,8 @@ let $s = class extends z {
1890
1890
  * @throws {RequiredError}
1891
1891
  * @memberof MatchApi
1892
1892
  */
1893
- matchAndSearch(e, t, r) {
1894
- return Ae(this.configuration).matchAndSearch(e, t, r).then((n) => n(this.axios, this.basePath));
1893
+ matchAndSearch(e, s, r) {
1894
+ return Ae(this.configuration).matchAndSearch(e, s, r).then((n) => n(this.axios, this.basePath));
1895
1895
  }
1896
1896
  };
1897
1897
  const Vr = {
@@ -2053,29 +2053,29 @@ const Vr = {
2053
2053
  ACTIVE: 0,
2054
2054
  PASSIVE: 1
2055
2055
  };
2056
- var q = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ws = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
2057
- for (var te = 0; te < q.length; te++)
2058
- Ws[q.charCodeAt(te)] = te;
2059
- var ie = function(s) {
2060
- var e = new Uint8Array(s), t, r = e.length, n = "";
2061
- for (t = 0; t < r; t += 3)
2062
- n += q[e[t] >> 2], n += q[(e[t] & 3) << 4 | e[t + 1] >> 4], n += q[(e[t + 1] & 15) << 2 | e[t + 2] >> 6], n += q[e[t + 2] & 63];
2056
+ var z = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ws = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
2057
+ for (var te = 0; te < z.length; te++)
2058
+ Ws[z.charCodeAt(te)] = te;
2059
+ var ie = function(t) {
2060
+ var e = new Uint8Array(t), s, r = e.length, n = "";
2061
+ for (s = 0; s < r; s += 3)
2062
+ n += z[e[s] >> 2], n += z[(e[s] & 3) << 4 | e[s + 1] >> 4], n += z[(e[s + 1] & 15) << 2 | e[s + 2] >> 6], n += z[e[s + 2] & 63];
2063
2063
  return r % 3 === 2 ? n = n.substring(0, n.length - 1) + "=" : r % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="), n;
2064
2064
  };
2065
2065
  class Ks {
2066
- constructor(e, t, r) {
2067
- this.superClass = new $s(e, t, r);
2066
+ constructor(e, s, r) {
2067
+ this.superClass = new $s(e, s, r);
2068
2068
  }
2069
- async match(e, t, r) {
2069
+ async match(e, s, r) {
2070
2070
  for (const o of e.images)
2071
2071
  o.type || (o.type = Qs.LIVE), typeof o.data != "string" && (o.data = ie(o.data));
2072
- return (await this.superClass.match(e, t, r)).data;
2072
+ return (await this.superClass.match(e, s, r)).data;
2073
2073
  }
2074
- async detect(e, t, r) {
2075
- return e.image && typeof e.image != "string" && (e.image = ie(e.image)), (await this.superClass.detect(e, t, r)).data;
2074
+ async detect(e, s, r) {
2075
+ return e.image && typeof e.image != "string" && (e.image = ie(e.image)), (await this.superClass.detect(e, s, r)).data;
2076
2076
  }
2077
2077
  }
2078
- const Xs = function(s) {
2078
+ const Xs = function(t) {
2079
2079
  return {
2080
2080
  /**
2081
2081
  *
@@ -2085,16 +2085,16 @@ const Xs = function(s) {
2085
2085
  * @param {*} [options] Override http request option.
2086
2086
  * @throws {RequiredError}
2087
2087
  */
2088
- createGroup: async (e, t, r = {}) => {
2088
+ createGroup: async (e, s, r = {}) => {
2089
2089
  y("createGroup", "groupToCreate", e);
2090
- const n = "/api/groups", o = new URL(n, R);
2090
+ const n = "/api/groups", o = new URL(n, S);
2091
2091
  let a;
2092
- s && (a = s.baseOptions);
2092
+ t && (a = t.baseOptions);
2093
2093
  const i = { method: "POST", ...a, ...r }, c = {}, l = {};
2094
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
2094
+ s != null && (c["X-RequestID"] = String(s)), c["Content-Type"] = "application/json", g(o, l);
2095
2095
  let d = a && a.headers ? a.headers : {};
2096
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
2097
- url: T(o),
2096
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, t), {
2097
+ url: P(o),
2098
2098
  options: i
2099
2099
  };
2100
2100
  },
@@ -2106,16 +2106,16 @@ const Xs = function(s) {
2106
2106
  * @param {*} [options] Override http request option.
2107
2107
  * @throws {RequiredError}
2108
2108
  */
2109
- deleteGroup: async (e, t, r = {}) => {
2109
+ deleteGroup: async (e, s, r = {}) => {
2110
2110
  y("deleteGroup", "groupId", e);
2111
- const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, R);
2111
+ const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, S);
2112
2112
  let a;
2113
- s && (a = s.baseOptions);
2113
+ t && (a = t.baseOptions);
2114
2114
  const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
2115
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2115
+ s != null && (c["X-RequestID"] = String(s)), g(o, l);
2116
2116
  let d = a && a.headers ? a.headers : {};
2117
2117
  return i.headers = { ...c, ...d, ...r.headers }, {
2118
- url: T(o),
2118
+ url: P(o),
2119
2119
  options: i
2120
2120
  };
2121
2121
  },
@@ -2128,15 +2128,15 @@ const Xs = function(s) {
2128
2128
  * @param {*} [options] Override http request option.
2129
2129
  * @throws {RequiredError}
2130
2130
  */
2131
- getAllGroups: async (e, t, r, n = {}) => {
2132
- const o = "/api/groups", a = new URL(o, R);
2131
+ getAllGroups: async (e, s, r, n = {}) => {
2132
+ const o = "/api/groups", a = new URL(o, S);
2133
2133
  let i;
2134
- s && (i = s.baseOptions);
2134
+ t && (i = t.baseOptions);
2135
2135
  const c = { method: "GET", ...i, ...n }, l = {}, d = {};
2136
- e !== void 0 && (d.page = e), t !== void 0 && (d.size = t), r != null && (l["X-RequestID"] = String(r)), P(a, d);
2136
+ e !== void 0 && (d.page = e), s !== void 0 && (d.size = s), r != null && (l["X-RequestID"] = String(r)), g(a, d);
2137
2137
  let p = i && i.headers ? i.headers : {};
2138
2138
  return c.headers = { ...l, ...p, ...n.headers }, {
2139
- url: T(a),
2139
+ url: P(a),
2140
2140
  options: c
2141
2141
  };
2142
2142
  },
@@ -2150,16 +2150,16 @@ const Xs = function(s) {
2150
2150
  * @param {*} [options] Override http request option.
2151
2151
  * @throws {RequiredError}
2152
2152
  */
2153
- getAllPersonsByGroupId: async (e, t, r, n, o = {}) => {
2153
+ getAllPersonsByGroupId: async (e, s, r, n, o = {}) => {
2154
2154
  y("getAllPersonsByGroupId", "groupId", e);
2155
- const a = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), i = new URL(a, R);
2155
+ const a = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), i = new URL(a, S);
2156
2156
  let c;
2157
- s && (c = s.baseOptions);
2157
+ t && (c = t.baseOptions);
2158
2158
  const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2159
- t !== void 0 && (p.page = t), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), P(i, p);
2159
+ s !== void 0 && (p.page = s), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), g(i, p);
2160
2160
  let O = c && c.headers ? c.headers : {};
2161
2161
  return l.headers = { ...d, ...O, ...o.headers }, {
2162
- url: T(i),
2162
+ url: P(i),
2163
2163
  options: l
2164
2164
  };
2165
2165
  },
@@ -2171,16 +2171,16 @@ const Xs = function(s) {
2171
2171
  * @param {*} [options] Override http request option.
2172
2172
  * @throws {RequiredError}
2173
2173
  */
2174
- getGroup: async (e, t, r = {}) => {
2174
+ getGroup: async (e, s, r = {}) => {
2175
2175
  y("getGroup", "groupId", e);
2176
- const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, R);
2176
+ const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, S);
2177
2177
  let a;
2178
- s && (a = s.baseOptions);
2178
+ t && (a = t.baseOptions);
2179
2179
  const i = { method: "GET", ...a, ...r }, c = {}, l = {};
2180
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2180
+ s != null && (c["X-RequestID"] = String(s)), g(o, l);
2181
2181
  let d = a && a.headers ? a.headers : {};
2182
2182
  return i.headers = { ...c, ...d, ...r.headers }, {
2183
- url: T(o),
2183
+ url: P(o),
2184
2184
  options: i
2185
2185
  };
2186
2186
  },
@@ -2193,16 +2193,16 @@ const Xs = function(s) {
2193
2193
  * @param {*} [options] Override http request option.
2194
2194
  * @throws {RequiredError}
2195
2195
  */
2196
- updateGroup: async (e, t, r, n = {}) => {
2197
- y("updateGroup", "groupId", e), y("updateGroup", "groupToCreate", t);
2198
- const o = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, R);
2196
+ updateGroup: async (e, s, r, n = {}) => {
2197
+ y("updateGroup", "groupId", e), y("updateGroup", "groupToCreate", s);
2198
+ const o = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, S);
2199
2199
  let i;
2200
- s && (i = s.baseOptions);
2200
+ t && (i = t.baseOptions);
2201
2201
  const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2202
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2202
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", g(a, d);
2203
2203
  let p = i && i.headers ? i.headers : {};
2204
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2205
- url: T(a),
2204
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(s, c, t), {
2205
+ url: P(a),
2206
2206
  options: c
2207
2207
  };
2208
2208
  },
@@ -2215,22 +2215,22 @@ const Xs = function(s) {
2215
2215
  * @param {*} [options] Override http request option.
2216
2216
  * @throws {RequiredError}
2217
2217
  */
2218
- updatePersonsInGroup: async (e, t, r, n = {}) => {
2219
- y("updatePersonsInGroup", "groupId", e), y("updatePersonsInGroup", "updateGroup", t);
2220
- const o = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, R);
2218
+ updatePersonsInGroup: async (e, s, r, n = {}) => {
2219
+ y("updatePersonsInGroup", "groupId", e), y("updatePersonsInGroup", "updateGroup", s);
2220
+ const o = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, S);
2221
2221
  let i;
2222
- s && (i = s.baseOptions);
2222
+ t && (i = t.baseOptions);
2223
2223
  const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2224
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2224
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", g(a, d);
2225
2225
  let p = i && i.headers ? i.headers : {};
2226
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2227
- url: T(a),
2226
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(s, c, t), {
2227
+ url: P(a),
2228
2228
  options: c
2229
2229
  };
2230
2230
  }
2231
2231
  };
2232
- }, M = function(s) {
2233
- const e = Xs(s);
2232
+ }, M = function(t) {
2233
+ const e = Xs(t);
2234
2234
  return {
2235
2235
  /**
2236
2236
  *
@@ -2240,9 +2240,9 @@ const Xs = function(s) {
2240
2240
  * @param {*} [options] Override http request option.
2241
2241
  * @throws {RequiredError}
2242
2242
  */
2243
- async createGroup(t, r, n) {
2244
- const o = await e.createGroup(t, r, n);
2245
- return g(o, m, S, s);
2243
+ async createGroup(s, r, n) {
2244
+ const o = await e.createGroup(s, r, n);
2245
+ return T(o, m, R, t);
2246
2246
  },
2247
2247
  /**
2248
2248
  *
@@ -2252,9 +2252,9 @@ const Xs = function(s) {
2252
2252
  * @param {*} [options] Override http request option.
2253
2253
  * @throws {RequiredError}
2254
2254
  */
2255
- async deleteGroup(t, r, n) {
2256
- const o = await e.deleteGroup(t, r, n);
2257
- return g(o, m, S, s);
2255
+ async deleteGroup(s, r, n) {
2256
+ const o = await e.deleteGroup(s, r, n);
2257
+ return T(o, m, R, t);
2258
2258
  },
2259
2259
  /**
2260
2260
  *
@@ -2265,9 +2265,9 @@ const Xs = function(s) {
2265
2265
  * @param {*} [options] Override http request option.
2266
2266
  * @throws {RequiredError}
2267
2267
  */
2268
- async getAllGroups(t, r, n, o) {
2269
- const a = await e.getAllGroups(t, r, n, o);
2270
- return g(a, m, S, s);
2268
+ async getAllGroups(s, r, n, o) {
2269
+ const a = await e.getAllGroups(s, r, n, o);
2270
+ return T(a, m, R, t);
2271
2271
  },
2272
2272
  /**
2273
2273
  *
@@ -2279,9 +2279,9 @@ const Xs = function(s) {
2279
2279
  * @param {*} [options] Override http request option.
2280
2280
  * @throws {RequiredError}
2281
2281
  */
2282
- async getAllPersonsByGroupId(t, r, n, o, a) {
2283
- const i = await e.getAllPersonsByGroupId(t, r, n, o, a);
2284
- return g(i, m, S, s);
2282
+ async getAllPersonsByGroupId(s, r, n, o, a) {
2283
+ const i = await e.getAllPersonsByGroupId(s, r, n, o, a);
2284
+ return T(i, m, R, t);
2285
2285
  },
2286
2286
  /**
2287
2287
  *
@@ -2291,9 +2291,9 @@ const Xs = function(s) {
2291
2291
  * @param {*} [options] Override http request option.
2292
2292
  * @throws {RequiredError}
2293
2293
  */
2294
- async getGroup(t, r, n) {
2295
- const o = await e.getGroup(t, r, n);
2296
- return g(o, m, S, s);
2294
+ async getGroup(s, r, n) {
2295
+ const o = await e.getGroup(s, r, n);
2296
+ return T(o, m, R, t);
2297
2297
  },
2298
2298
  /**
2299
2299
  *
@@ -2304,9 +2304,9 @@ const Xs = function(s) {
2304
2304
  * @param {*} [options] Override http request option.
2305
2305
  * @throws {RequiredError}
2306
2306
  */
2307
- async updateGroup(t, r, n, o) {
2308
- const a = await e.updateGroup(t, r, n, o);
2309
- return g(a, m, S, s);
2307
+ async updateGroup(s, r, n, o) {
2308
+ const a = await e.updateGroup(s, r, n, o);
2309
+ return T(a, m, R, t);
2310
2310
  },
2311
2311
  /**
2312
2312
  *
@@ -2317,13 +2317,13 @@ const Xs = function(s) {
2317
2317
  * @param {*} [options] Override http request option.
2318
2318
  * @throws {RequiredError}
2319
2319
  */
2320
- async updatePersonsInGroup(t, r, n, o) {
2321
- const a = await e.updatePersonsInGroup(t, r, n, o);
2322
- return g(a, m, S, s);
2320
+ async updatePersonsInGroup(s, r, n, o) {
2321
+ const a = await e.updatePersonsInGroup(s, r, n, o);
2322
+ return T(a, m, R, t);
2323
2323
  }
2324
2324
  };
2325
2325
  };
2326
- let Js = class extends z {
2326
+ let Js = class extends q {
2327
2327
  /**
2328
2328
  *
2329
2329
  * @summary Create group
@@ -2333,8 +2333,8 @@ let Js = class extends z {
2333
2333
  * @throws {RequiredError}
2334
2334
  * @memberof GroupApi
2335
2335
  */
2336
- createGroup(e, t, r) {
2337
- return M(this.configuration).createGroup(e, t, r).then((n) => n(this.axios, this.basePath));
2336
+ createGroup(e, s, r) {
2337
+ return M(this.configuration).createGroup(e, s, r).then((n) => n(this.axios, this.basePath));
2338
2338
  }
2339
2339
  /**
2340
2340
  *
@@ -2345,8 +2345,8 @@ let Js = class extends z {
2345
2345
  * @throws {RequiredError}
2346
2346
  * @memberof GroupApi
2347
2347
  */
2348
- deleteGroup(e, t, r) {
2349
- return M(this.configuration).deleteGroup(e, t, r).then((n) => n(this.axios, this.basePath));
2348
+ deleteGroup(e, s, r) {
2349
+ return M(this.configuration).deleteGroup(e, s, r).then((n) => n(this.axios, this.basePath));
2350
2350
  }
2351
2351
  /**
2352
2352
  *
@@ -2358,8 +2358,8 @@ let Js = class extends z {
2358
2358
  * @throws {RequiredError}
2359
2359
  * @memberof GroupApi
2360
2360
  */
2361
- getAllGroups(e, t, r, n) {
2362
- return M(this.configuration).getAllGroups(e, t, r, n).then((o) => o(this.axios, this.basePath));
2361
+ getAllGroups(e, s, r, n) {
2362
+ return M(this.configuration).getAllGroups(e, s, r, n).then((o) => o(this.axios, this.basePath));
2363
2363
  }
2364
2364
  /**
2365
2365
  *
@@ -2372,8 +2372,8 @@ let Js = class extends z {
2372
2372
  * @throws {RequiredError}
2373
2373
  * @memberof GroupApi
2374
2374
  */
2375
- getAllPersonsByGroupId(e, t, r, n, o) {
2376
- return M(this.configuration).getAllPersonsByGroupId(e, t, r, n, o).then((a) => a(this.axios, this.basePath));
2375
+ getAllPersonsByGroupId(e, s, r, n, o) {
2376
+ return M(this.configuration).getAllPersonsByGroupId(e, s, r, n, o).then((a) => a(this.axios, this.basePath));
2377
2377
  }
2378
2378
  /**
2379
2379
  *
@@ -2384,8 +2384,8 @@ let Js = class extends z {
2384
2384
  * @throws {RequiredError}
2385
2385
  * @memberof GroupApi
2386
2386
  */
2387
- getGroup(e, t, r) {
2388
- return M(this.configuration).getGroup(e, t, r).then((n) => n(this.axios, this.basePath));
2387
+ getGroup(e, s, r) {
2388
+ return M(this.configuration).getGroup(e, s, r).then((n) => n(this.axios, this.basePath));
2389
2389
  }
2390
2390
  /**
2391
2391
  *
@@ -2397,8 +2397,8 @@ let Js = class extends z {
2397
2397
  * @throws {RequiredError}
2398
2398
  * @memberof GroupApi
2399
2399
  */
2400
- updateGroup(e, t, r, n) {
2401
- return M(this.configuration).updateGroup(e, t, r, n).then((o) => o(this.axios, this.basePath));
2400
+ updateGroup(e, s, r, n) {
2401
+ return M(this.configuration).updateGroup(e, s, r, n).then((o) => o(this.axios, this.basePath));
2402
2402
  }
2403
2403
  /**
2404
2404
  *
@@ -2410,41 +2410,41 @@ let Js = class extends z {
2410
2410
  * @throws {RequiredError}
2411
2411
  * @memberof GroupApi
2412
2412
  */
2413
- updatePersonsInGroup(e, t, r, n) {
2414
- return M(this.configuration).updatePersonsInGroup(e, t, r, n).then((o) => o(this.axios, this.basePath));
2413
+ updatePersonsInGroup(e, s, r, n) {
2414
+ return M(this.configuration).updatePersonsInGroup(e, s, r, n).then((o) => o(this.axios, this.basePath));
2415
2415
  }
2416
2416
  };
2417
2417
  class Ys {
2418
- constructor(e, t, r) {
2419
- this.superClass = new Js(e, t, r);
2418
+ constructor(e, s, r) {
2419
+ this.superClass = new Js(e, s, r);
2420
2420
  }
2421
- async createGroup(e, t, r) {
2421
+ async createGroup(e, s, r) {
2422
2422
  const n = {
2423
2423
  ...e,
2424
- metadata: e != null && e.metadata ? e.metadata : {}
2424
+ metadata: e?.metadata ? e.metadata : {}
2425
2425
  };
2426
- return (await this.superClass.createGroup(n, t, r)).data;
2426
+ return (await this.superClass.createGroup(n, s, r)).data;
2427
2427
  }
2428
- async deleteGroup(e, t, r) {
2429
- await this.superClass.deleteGroup(e, t, r);
2428
+ async deleteGroup(e, s, r) {
2429
+ await this.superClass.deleteGroup(e, s, r);
2430
2430
  }
2431
- async getAllGroups(e, t, r, n) {
2432
- return (await this.superClass.getAllGroups(e, t, r, n)).data;
2431
+ async getAllGroups(e, s, r, n) {
2432
+ return (await this.superClass.getAllGroups(e, s, r, n)).data;
2433
2433
  }
2434
- async getAllPersonsByGroupId(e, t, r, n, o) {
2435
- return (await this.superClass.getAllPersonsByGroupId(r, e, t, n, o)).data;
2434
+ async getAllPersonsByGroupId(e, s, r, n, o) {
2435
+ return (await this.superClass.getAllPersonsByGroupId(r, e, s, n, o)).data;
2436
2436
  }
2437
- async getGroup(e, t, r) {
2438
- return (await this.superClass.getGroup(e, t, r)).data;
2437
+ async getGroup(e, s, r) {
2438
+ return (await this.superClass.getGroup(e, s, r)).data;
2439
2439
  }
2440
- async updateGroup(e, t, r, n) {
2441
- await this.superClass.updateGroup(e, t, r, n);
2440
+ async updateGroup(e, s, r, n) {
2441
+ await this.superClass.updateGroup(e, s, r, n);
2442
2442
  }
2443
- async updatePersonsInGroup(e, t, r, n) {
2444
- await this.superClass.updatePersonsInGroup(e, t, r, n);
2443
+ async updatePersonsInGroup(e, s, r, n) {
2444
+ await this.superClass.updatePersonsInGroup(e, s, r, n);
2445
2445
  }
2446
2446
  }
2447
- const Zs = function(s) {
2447
+ const Zs = function(t) {
2448
2448
  return {
2449
2449
  /**
2450
2450
  *
@@ -2455,16 +2455,16 @@ const Zs = function(s) {
2455
2455
  * @param {*} [options] Override http request option.
2456
2456
  * @throws {RequiredError}
2457
2457
  */
2458
- addImageToPerson: async (e, t, r, n = {}) => {
2459
- y("addImageToPerson", "personId", e), y("addImageToPerson", "addImageToPersonRequest", t);
2460
- const o = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, R);
2458
+ addImageToPerson: async (e, s, r, n = {}) => {
2459
+ y("addImageToPerson", "personId", e), y("addImageToPerson", "addImageToPersonRequest", s);
2460
+ const o = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, S);
2461
2461
  let i;
2462
- s && (i = s.baseOptions);
2462
+ t && (i = t.baseOptions);
2463
2463
  const c = { method: "POST", ...i, ...n }, l = {}, d = {};
2464
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2464
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", g(a, d);
2465
2465
  let p = i && i.headers ? i.headers : {};
2466
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2467
- url: T(a),
2466
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(s, c, t), {
2467
+ url: P(a),
2468
2468
  options: c
2469
2469
  };
2470
2470
  },
@@ -2476,16 +2476,16 @@ const Zs = function(s) {
2476
2476
  * @param {*} [options] Override http request option.
2477
2477
  * @throws {RequiredError}
2478
2478
  */
2479
- createPerson: async (e, t, r = {}) => {
2479
+ createPerson: async (e, s, r = {}) => {
2480
2480
  y("createPerson", "personFields", e);
2481
- const n = "/api/persons", o = new URL(n, R);
2481
+ const n = "/api/persons", o = new URL(n, S);
2482
2482
  let a;
2483
- s && (a = s.baseOptions);
2483
+ t && (a = t.baseOptions);
2484
2484
  const i = { method: "POST", ...a, ...r }, c = {}, l = {};
2485
- t != null && (c["X-RequestID"] = String(t)), c["Content-Type"] = "application/json", P(o, l);
2485
+ s != null && (c["X-RequestID"] = String(s)), c["Content-Type"] = "application/json", g(o, l);
2486
2486
  let d = a && a.headers ? a.headers : {};
2487
- return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
2488
- url: T(o),
2487
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, t), {
2488
+ url: P(o),
2489
2489
  options: i
2490
2490
  };
2491
2491
  },
@@ -2498,16 +2498,16 @@ const Zs = function(s) {
2498
2498
  * @param {*} [options] Override http request option.
2499
2499
  * @throws {RequiredError}
2500
2500
  */
2501
- deleteImageOfPerson: async (e, t, r, n = {}) => {
2502
- y("deleteImageOfPerson", "imageId", e), y("deleteImageOfPerson", "personId", t);
2503
- const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(t))), a = new URL(o, R);
2501
+ deleteImageOfPerson: async (e, s, r, n = {}) => {
2502
+ y("deleteImageOfPerson", "imageId", e), y("deleteImageOfPerson", "personId", s);
2503
+ const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(s))), a = new URL(o, S);
2504
2504
  let i;
2505
- s && (i = s.baseOptions);
2505
+ t && (i = t.baseOptions);
2506
2506
  const c = { method: "DELETE", ...i, ...n }, l = {}, d = {};
2507
- r != null && (l["X-RequestID"] = String(r)), P(a, d);
2507
+ r != null && (l["X-RequestID"] = String(r)), g(a, d);
2508
2508
  let p = i && i.headers ? i.headers : {};
2509
2509
  return c.headers = { ...l, ...p, ...n.headers }, {
2510
- url: T(a),
2510
+ url: P(a),
2511
2511
  options: c
2512
2512
  };
2513
2513
  },
@@ -2519,16 +2519,16 @@ const Zs = function(s) {
2519
2519
  * @param {*} [options] Override http request option.
2520
2520
  * @throws {RequiredError}
2521
2521
  */
2522
- deletePerson: async (e, t, r = {}) => {
2522
+ deletePerson: async (e, s, r = {}) => {
2523
2523
  y("deletePerson", "personId", e);
2524
- const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, R);
2524
+ const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, S);
2525
2525
  let a;
2526
- s && (a = s.baseOptions);
2526
+ t && (a = t.baseOptions);
2527
2527
  const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
2528
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2528
+ s != null && (c["X-RequestID"] = String(s)), g(o, l);
2529
2529
  let d = a && a.headers ? a.headers : {};
2530
2530
  return i.headers = { ...c, ...d, ...r.headers }, {
2531
- url: T(o),
2531
+ url: P(o),
2532
2532
  options: i
2533
2533
  };
2534
2534
  },
@@ -2542,16 +2542,16 @@ const Zs = function(s) {
2542
2542
  * @param {*} [options] Override http request option.
2543
2543
  * @throws {RequiredError}
2544
2544
  */
2545
- getAllGroupsByPersonId: async (e, t, r, n, o = {}) => {
2545
+ getAllGroupsByPersonId: async (e, s, r, n, o = {}) => {
2546
2546
  y("getAllGroupsByPersonId", "personId", e);
2547
- const a = "/api/persons/{personId}/groups".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, R);
2547
+ const a = "/api/persons/{personId}/groups".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, S);
2548
2548
  let c;
2549
- s && (c = s.baseOptions);
2549
+ t && (c = t.baseOptions);
2550
2550
  const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2551
- t !== void 0 && (p.page = t), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), P(i, p);
2551
+ s !== void 0 && (p.page = s), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), g(i, p);
2552
2552
  let O = c && c.headers ? c.headers : {};
2553
2553
  return l.headers = { ...d, ...O, ...o.headers }, {
2554
- url: T(i),
2554
+ url: P(i),
2555
2555
  options: l
2556
2556
  };
2557
2557
  },
@@ -2565,16 +2565,16 @@ const Zs = function(s) {
2565
2565
  * @param {*} [options] Override http request option.
2566
2566
  * @throws {RequiredError}
2567
2567
  */
2568
- getAllImagesByPersonId: async (e, t, r, n, o = {}) => {
2568
+ getAllImagesByPersonId: async (e, s, r, n, o = {}) => {
2569
2569
  y("getAllImagesByPersonId", "personId", e);
2570
- const a = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, R);
2570
+ const a = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, S);
2571
2571
  let c;
2572
- s && (c = s.baseOptions);
2572
+ t && (c = t.baseOptions);
2573
2573
  const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2574
- t !== void 0 && (p.page = t), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), P(i, p);
2574
+ s !== void 0 && (p.page = s), r !== void 0 && (p.size = r), n != null && (d["X-RequestID"] = String(n)), g(i, p);
2575
2575
  let O = c && c.headers ? c.headers : {};
2576
2576
  return l.headers = { ...d, ...O, ...o.headers }, {
2577
- url: T(i),
2577
+ url: P(i),
2578
2578
  options: l
2579
2579
  };
2580
2580
  },
@@ -2587,16 +2587,16 @@ const Zs = function(s) {
2587
2587
  * @param {*} [options] Override http request option.
2588
2588
  * @throws {RequiredError}
2589
2589
  */
2590
- getImageOfPerson: async (e, t, r, n = {}) => {
2591
- y("getImageOfPerson", "imageId", e), y("getImageOfPerson", "personId", t);
2592
- const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(t))), a = new URL(o, R);
2590
+ getImageOfPerson: async (e, s, r, n = {}) => {
2591
+ y("getImageOfPerson", "imageId", e), y("getImageOfPerson", "personId", s);
2592
+ const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(s))), a = new URL(o, S);
2593
2593
  let i;
2594
- s && (i = s.baseOptions);
2594
+ t && (i = t.baseOptions);
2595
2595
  const c = { method: "GET", ...i, ...n }, l = {}, d = {};
2596
- r != null && (l["X-RequestID"] = String(r)), P(a, d);
2596
+ r != null && (l["X-RequestID"] = String(r)), g(a, d);
2597
2597
  let p = i && i.headers ? i.headers : {};
2598
2598
  return c.headers = { ...l, ...p, ...n.headers }, {
2599
- url: T(a),
2599
+ url: P(a),
2600
2600
  options: c
2601
2601
  };
2602
2602
  },
@@ -2608,16 +2608,16 @@ const Zs = function(s) {
2608
2608
  * @param {*} [options] Override http request option.
2609
2609
  * @throws {RequiredError}
2610
2610
  */
2611
- getPerson: async (e, t, r = {}) => {
2611
+ getPerson: async (e, s, r = {}) => {
2612
2612
  y("getPerson", "personId", e);
2613
- const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, R);
2613
+ const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, S);
2614
2614
  let a;
2615
- s && (a = s.baseOptions);
2615
+ t && (a = t.baseOptions);
2616
2616
  const i = { method: "GET", ...a, ...r }, c = {}, l = {};
2617
- t != null && (c["X-RequestID"] = String(t)), P(o, l);
2617
+ s != null && (c["X-RequestID"] = String(s)), g(o, l);
2618
2618
  let d = a && a.headers ? a.headers : {};
2619
2619
  return i.headers = { ...c, ...d, ...r.headers }, {
2620
- url: T(o),
2620
+ url: P(o),
2621
2621
  options: i
2622
2622
  };
2623
2623
  },
@@ -2630,22 +2630,22 @@ const Zs = function(s) {
2630
2630
  * @param {*} [options] Override http request option.
2631
2631
  * @throws {RequiredError}
2632
2632
  */
2633
- updatePerson: async (e, t, r, n = {}) => {
2634
- y("updatePerson", "personId", e), y("updatePerson", "personToUpdateFields", t);
2635
- const o = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, R);
2633
+ updatePerson: async (e, s, r, n = {}) => {
2634
+ y("updatePerson", "personId", e), y("updatePerson", "personToUpdateFields", s);
2635
+ const o = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, S);
2636
2636
  let i;
2637
- s && (i = s.baseOptions);
2637
+ t && (i = t.baseOptions);
2638
2638
  const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2639
- r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2639
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", g(a, d);
2640
2640
  let p = i && i.headers ? i.headers : {};
2641
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2642
- url: T(a),
2641
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(s, c, t), {
2642
+ url: P(a),
2643
2643
  options: c
2644
2644
  };
2645
2645
  }
2646
2646
  };
2647
- }, H = function(s) {
2648
- const e = Zs(s);
2647
+ }, H = function(t) {
2648
+ const e = Zs(t);
2649
2649
  return {
2650
2650
  /**
2651
2651
  *
@@ -2656,9 +2656,9 @@ const Zs = function(s) {
2656
2656
  * @param {*} [options] Override http request option.
2657
2657
  * @throws {RequiredError}
2658
2658
  */
2659
- async addImageToPerson(t, r, n, o) {
2660
- const a = await e.addImageToPerson(t, r, n, o);
2661
- return g(a, m, S, s);
2659
+ async addImageToPerson(s, r, n, o) {
2660
+ const a = await e.addImageToPerson(s, r, n, o);
2661
+ return T(a, m, R, t);
2662
2662
  },
2663
2663
  /**
2664
2664
  *
@@ -2668,9 +2668,9 @@ const Zs = function(s) {
2668
2668
  * @param {*} [options] Override http request option.
2669
2669
  * @throws {RequiredError}
2670
2670
  */
2671
- async createPerson(t, r, n) {
2672
- const o = await e.createPerson(t, r, n);
2673
- return g(o, m, S, s);
2671
+ async createPerson(s, r, n) {
2672
+ const o = await e.createPerson(s, r, n);
2673
+ return T(o, m, R, t);
2674
2674
  },
2675
2675
  /**
2676
2676
  *
@@ -2681,9 +2681,9 @@ const Zs = function(s) {
2681
2681
  * @param {*} [options] Override http request option.
2682
2682
  * @throws {RequiredError}
2683
2683
  */
2684
- async deleteImageOfPerson(t, r, n, o) {
2685
- const a = await e.deleteImageOfPerson(t, r, n, o);
2686
- return g(a, m, S, s);
2684
+ async deleteImageOfPerson(s, r, n, o) {
2685
+ const a = await e.deleteImageOfPerson(s, r, n, o);
2686
+ return T(a, m, R, t);
2687
2687
  },
2688
2688
  /**
2689
2689
  *
@@ -2693,9 +2693,9 @@ const Zs = function(s) {
2693
2693
  * @param {*} [options] Override http request option.
2694
2694
  * @throws {RequiredError}
2695
2695
  */
2696
- async deletePerson(t, r, n) {
2697
- const o = await e.deletePerson(t, r, n);
2698
- return g(o, m, S, s);
2696
+ async deletePerson(s, r, n) {
2697
+ const o = await e.deletePerson(s, r, n);
2698
+ return T(o, m, R, t);
2699
2699
  },
2700
2700
  /**
2701
2701
  *
@@ -2707,9 +2707,9 @@ const Zs = function(s) {
2707
2707
  * @param {*} [options] Override http request option.
2708
2708
  * @throws {RequiredError}
2709
2709
  */
2710
- async getAllGroupsByPersonId(t, r, n, o, a) {
2711
- const i = await e.getAllGroupsByPersonId(t, r, n, o, a);
2712
- return g(i, m, S, s);
2710
+ async getAllGroupsByPersonId(s, r, n, o, a) {
2711
+ const i = await e.getAllGroupsByPersonId(s, r, n, o, a);
2712
+ return T(i, m, R, t);
2713
2713
  },
2714
2714
  /**
2715
2715
  *
@@ -2721,9 +2721,9 @@ const Zs = function(s) {
2721
2721
  * @param {*} [options] Override http request option.
2722
2722
  * @throws {RequiredError}
2723
2723
  */
2724
- async getAllImagesByPersonId(t, r, n, o, a) {
2725
- const i = await e.getAllImagesByPersonId(t, r, n, o, a);
2726
- return g(i, m, S, s);
2724
+ async getAllImagesByPersonId(s, r, n, o, a) {
2725
+ const i = await e.getAllImagesByPersonId(s, r, n, o, a);
2726
+ return T(i, m, R, t);
2727
2727
  },
2728
2728
  /**
2729
2729
  *
@@ -2734,9 +2734,9 @@ const Zs = function(s) {
2734
2734
  * @param {*} [options] Override http request option.
2735
2735
  * @throws {RequiredError}
2736
2736
  */
2737
- async getImageOfPerson(t, r, n, o) {
2738
- const a = await e.getImageOfPerson(t, r, n, o);
2739
- return g(a, m, S, s);
2737
+ async getImageOfPerson(s, r, n, o) {
2738
+ const a = await e.getImageOfPerson(s, r, n, o);
2739
+ return T(a, m, R, t);
2740
2740
  },
2741
2741
  /**
2742
2742
  *
@@ -2746,9 +2746,9 @@ const Zs = function(s) {
2746
2746
  * @param {*} [options] Override http request option.
2747
2747
  * @throws {RequiredError}
2748
2748
  */
2749
- async getPerson(t, r, n) {
2750
- const o = await e.getPerson(t, r, n);
2751
- return g(o, m, S, s);
2749
+ async getPerson(s, r, n) {
2750
+ const o = await e.getPerson(s, r, n);
2751
+ return T(o, m, R, t);
2752
2752
  },
2753
2753
  /**
2754
2754
  *
@@ -2759,13 +2759,13 @@ const Zs = function(s) {
2759
2759
  * @param {*} [options] Override http request option.
2760
2760
  * @throws {RequiredError}
2761
2761
  */
2762
- async updatePerson(t, r, n, o) {
2763
- const a = await e.updatePerson(t, r, n, o);
2764
- return g(a, m, S, s);
2762
+ async updatePerson(s, r, n, o) {
2763
+ const a = await e.updatePerson(s, r, n, o);
2764
+ return T(a, m, R, t);
2765
2765
  }
2766
2766
  };
2767
2767
  };
2768
- let er = class extends z {
2768
+ let er = class extends q {
2769
2769
  /**
2770
2770
  *
2771
2771
  * @summary Add person image
@@ -2776,8 +2776,8 @@ let er = class extends z {
2776
2776
  * @throws {RequiredError}
2777
2777
  * @memberof PersonApi
2778
2778
  */
2779
- addImageToPerson(e, t, r, n) {
2780
- return H(this.configuration).addImageToPerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2779
+ addImageToPerson(e, s, r, n) {
2780
+ return H(this.configuration).addImageToPerson(e, s, r, n).then((o) => o(this.axios, this.basePath));
2781
2781
  }
2782
2782
  /**
2783
2783
  *
@@ -2788,8 +2788,8 @@ let er = class extends z {
2788
2788
  * @throws {RequiredError}
2789
2789
  * @memberof PersonApi
2790
2790
  */
2791
- createPerson(e, t, r) {
2792
- return H(this.configuration).createPerson(e, t, r).then((n) => n(this.axios, this.basePath));
2791
+ createPerson(e, s, r) {
2792
+ return H(this.configuration).createPerson(e, s, r).then((n) => n(this.axios, this.basePath));
2793
2793
  }
2794
2794
  /**
2795
2795
  *
@@ -2801,8 +2801,8 @@ let er = class extends z {
2801
2801
  * @throws {RequiredError}
2802
2802
  * @memberof PersonApi
2803
2803
  */
2804
- deleteImageOfPerson(e, t, r, n) {
2805
- return H(this.configuration).deleteImageOfPerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2804
+ deleteImageOfPerson(e, s, r, n) {
2805
+ return H(this.configuration).deleteImageOfPerson(e, s, r, n).then((o) => o(this.axios, this.basePath));
2806
2806
  }
2807
2807
  /**
2808
2808
  *
@@ -2813,8 +2813,8 @@ let er = class extends z {
2813
2813
  * @throws {RequiredError}
2814
2814
  * @memberof PersonApi
2815
2815
  */
2816
- deletePerson(e, t, r) {
2817
- return H(this.configuration).deletePerson(e, t, r).then((n) => n(this.axios, this.basePath));
2816
+ deletePerson(e, s, r) {
2817
+ return H(this.configuration).deletePerson(e, s, r).then((n) => n(this.axios, this.basePath));
2818
2818
  }
2819
2819
  /**
2820
2820
  *
@@ -2827,8 +2827,8 @@ let er = class extends z {
2827
2827
  * @throws {RequiredError}
2828
2828
  * @memberof PersonApi
2829
2829
  */
2830
- getAllGroupsByPersonId(e, t, r, n, o) {
2831
- return H(this.configuration).getAllGroupsByPersonId(e, t, r, n, o).then((a) => a(this.axios, this.basePath));
2830
+ getAllGroupsByPersonId(e, s, r, n, o) {
2831
+ return H(this.configuration).getAllGroupsByPersonId(e, s, r, n, o).then((a) => a(this.axios, this.basePath));
2832
2832
  }
2833
2833
  /**
2834
2834
  *
@@ -2841,8 +2841,8 @@ let er = class extends z {
2841
2841
  * @throws {RequiredError}
2842
2842
  * @memberof PersonApi
2843
2843
  */
2844
- getAllImagesByPersonId(e, t, r, n, o) {
2845
- return H(this.configuration).getAllImagesByPersonId(e, t, r, n, o).then((a) => a(this.axios, this.basePath));
2844
+ getAllImagesByPersonId(e, s, r, n, o) {
2845
+ return H(this.configuration).getAllImagesByPersonId(e, s, r, n, o).then((a) => a(this.axios, this.basePath));
2846
2846
  }
2847
2847
  /**
2848
2848
  *
@@ -2854,8 +2854,8 @@ let er = class extends z {
2854
2854
  * @throws {RequiredError}
2855
2855
  * @memberof PersonApi
2856
2856
  */
2857
- getImageOfPerson(e, t, r, n) {
2858
- return H(this.configuration).getImageOfPerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2857
+ getImageOfPerson(e, s, r, n) {
2858
+ return H(this.configuration).getImageOfPerson(e, s, r, n).then((o) => o(this.axios, this.basePath));
2859
2859
  }
2860
2860
  /**
2861
2861
  *
@@ -2866,8 +2866,8 @@ let er = class extends z {
2866
2866
  * @throws {RequiredError}
2867
2867
  * @memberof PersonApi
2868
2868
  */
2869
- getPerson(e, t, r) {
2870
- return H(this.configuration).getPerson(e, t, r).then((n) => n(this.axios, this.basePath));
2869
+ getPerson(e, s, r) {
2870
+ return H(this.configuration).getPerson(e, s, r).then((n) => n(this.axios, this.basePath));
2871
2871
  }
2872
2872
  /**
2873
2873
  *
@@ -2879,48 +2879,47 @@ let er = class extends z {
2879
2879
  * @throws {RequiredError}
2880
2880
  * @memberof PersonApi
2881
2881
  */
2882
- updatePerson(e, t, r, n) {
2883
- return H(this.configuration).updatePerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2882
+ updatePerson(e, s, r, n) {
2883
+ return H(this.configuration).updatePerson(e, s, r, n).then((o) => o(this.axios, this.basePath));
2884
2884
  }
2885
2885
  };
2886
2886
  class tr {
2887
- constructor(e, t, r) {
2888
- this.superClass = new er(e, t, r);
2887
+ constructor(e, s, r) {
2888
+ this.superClass = new er(e, s, r);
2889
2889
  }
2890
- async createPerson(e, t, r) {
2890
+ async createPerson(e, s, r) {
2891
2891
  const n = {
2892
2892
  ...e,
2893
- metadata: e != null && e.metadata ? e.metadata : {}
2893
+ metadata: e?.metadata ? e.metadata : {}
2894
2894
  };
2895
- return (await this.superClass.createPerson(n, t, r)).data;
2895
+ return (await this.superClass.createPerson(n, s, r)).data;
2896
2896
  }
2897
- async addImageToPerson(e, t, r, n) {
2898
- var a;
2899
- return (a = t == null ? void 0 : t.image) != null && a.content && typeof t.image.content != "string" && (t.image.content = ie(t.image.content)), (await this.superClass.addImageToPerson(e, t, r, n)).data;
2897
+ async addImageToPerson(e, s, r, n) {
2898
+ return s?.image?.content && typeof s.image.content != "string" && (s.image.content = ie(s.image.content)), (await this.superClass.addImageToPerson(e, s, r, n)).data;
2900
2899
  }
2901
- async deleteImageOfPerson(e, t, r, n) {
2902
- await this.superClass.deleteImageOfPerson(e, t, r, n);
2900
+ async deleteImageOfPerson(e, s, r, n) {
2901
+ await this.superClass.deleteImageOfPerson(e, s, r, n);
2903
2902
  }
2904
- async deletePerson(e, t, r) {
2905
- await this.superClass.deletePerson(e, t, r);
2903
+ async deletePerson(e, s, r) {
2904
+ await this.superClass.deletePerson(e, s, r);
2906
2905
  }
2907
- async getAllGroupsByPersonId(e, t, r, n, o) {
2908
- return (await this.superClass.getAllGroupsByPersonId(r, e, t, n, o)).data;
2906
+ async getAllGroupsByPersonId(e, s, r, n, o) {
2907
+ return (await this.superClass.getAllGroupsByPersonId(r, e, s, n, o)).data;
2909
2908
  }
2910
- async getAllImagesByPersonId(e, t, r, n, o) {
2911
- return (await this.superClass.getAllImagesByPersonId(r, e, t, n, o)).data;
2909
+ async getAllImagesByPersonId(e, s, r, n, o) {
2910
+ return (await this.superClass.getAllImagesByPersonId(r, e, s, n, o)).data;
2912
2911
  }
2913
- async getImageOfPerson(e, t, r, n) {
2914
- return (await this.superClass.getImageOfPerson(e, t, r, n)).data;
2912
+ async getImageOfPerson(e, s, r, n) {
2913
+ return (await this.superClass.getImageOfPerson(e, s, r, n)).data;
2915
2914
  }
2916
- async getPerson(e, t, r) {
2917
- return (await this.superClass.getPerson(e, t, r)).data;
2915
+ async getPerson(e, s, r) {
2916
+ return (await this.superClass.getPerson(e, s, r)).data;
2918
2917
  }
2919
- async updatePerson(e, t, r, n) {
2920
- await this.superClass.updatePerson(e, t, r, n);
2918
+ async updatePerson(e, s, r, n) {
2919
+ await this.superClass.updatePerson(e, s, r, n);
2921
2920
  }
2922
2921
  }
2923
- const sr = function(s) {
2922
+ const sr = function(t) {
2924
2923
  return {
2925
2924
  /**
2926
2925
  *
@@ -2931,22 +2930,22 @@ const sr = function(s) {
2931
2930
  * @param {*} [options] Override http request option.
2932
2931
  * @throws {RequiredError}
2933
2932
  */
2934
- search: async (e, t, r, n = {}) => {
2933
+ search: async (e, s, r, n = {}) => {
2935
2934
  y("search", "searchRequest", e);
2936
- const o = "/api/search", a = new URL(o, R);
2935
+ const o = "/api/search", a = new URL(o, S);
2937
2936
  let i;
2938
- s && (i = s.baseOptions);
2937
+ t && (i = t.baseOptions);
2939
2938
  const c = { method: "POST", ...i, ...n }, l = {}, d = {};
2940
- r !== void 0 && (d.withImages = r), t != null && (l["X-RequestID"] = String(t)), l["Content-Type"] = "application/json", P(a, d);
2939
+ r !== void 0 && (d.withImages = r), s != null && (l["X-RequestID"] = String(s)), l["Content-Type"] = "application/json", g(a, d);
2941
2940
  let p = i && i.headers ? i.headers : {};
2942
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(e, c, s), {
2943
- url: T(a),
2941
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(e, c, t), {
2942
+ url: P(a),
2944
2943
  options: c
2945
2944
  };
2946
2945
  }
2947
2946
  };
2948
- }, rr = function(s) {
2949
- const e = sr(s);
2947
+ }, rr = function(t) {
2948
+ const e = sr(t);
2950
2949
  return {
2951
2950
  /**
2952
2951
  *
@@ -2957,13 +2956,13 @@ const sr = function(s) {
2957
2956
  * @param {*} [options] Override http request option.
2958
2957
  * @throws {RequiredError}
2959
2958
  */
2960
- async search(t, r, n, o) {
2961
- const a = await e.search(t, r, n, o);
2962
- return g(a, m, S, s);
2959
+ async search(s, r, n, o) {
2960
+ const a = await e.search(s, r, n, o);
2961
+ return T(a, m, R, t);
2963
2962
  }
2964
2963
  };
2965
2964
  };
2966
- let nr = class extends z {
2965
+ let nr = class extends q {
2967
2966
  /**
2968
2967
  *
2969
2968
  * @summary Find person by image in groups
@@ -2974,20 +2973,19 @@ let nr = class extends z {
2974
2973
  * @throws {RequiredError}
2975
2974
  * @memberof SearchApi
2976
2975
  */
2977
- search(e, t, r, n) {
2978
- return rr(this.configuration).search(e, t, r, n).then((o) => o(this.axios, this.basePath));
2976
+ search(e, s, r, n) {
2977
+ return rr(this.configuration).search(e, s, r, n).then((o) => o(this.axios, this.basePath));
2979
2978
  }
2980
2979
  };
2981
2980
  class or {
2982
- constructor(e, t, r) {
2983
- this.superClass = new nr(e, t, r);
2981
+ constructor(e, s, r) {
2982
+ this.superClass = new nr(e, s, r);
2984
2983
  }
2985
- async search(e, t, r, n) {
2986
- var a;
2987
- return (a = e == null ? void 0 : e.image) != null && a.content && typeof e.image.content != "string" && (e.image.content = ie(e.image.content)), (await this.superClass.search(e, t, r, n)).data;
2984
+ async search(e, s, r, n) {
2985
+ return e?.image?.content && typeof e.image.content != "string" && (e.image.content = ie(e.image.content)), (await this.superClass.search(e, s, r, n)).data;
2988
2986
  }
2989
2987
  }
2990
- const ar = function(s) {
2988
+ const ar = function(t) {
2991
2989
  return {
2992
2990
  /**
2993
2991
  *
@@ -2996,21 +2994,21 @@ const ar = function(s) {
2996
2994
  * @param {*} [options] Override http request option.
2997
2995
  * @throws {RequiredError}
2998
2996
  */
2999
- readiness: async (e, t = {}) => {
3000
- const r = "/api/readiness", n = new URL(r, R);
2997
+ readiness: async (e, s = {}) => {
2998
+ const r = "/api/readiness", n = new URL(r, S);
3001
2999
  let o;
3002
- s && (o = s.baseOptions);
3003
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3004
- e != null && (i["X-RequestID"] = String(e)), P(n, c);
3000
+ t && (o = t.baseOptions);
3001
+ const a = { method: "GET", ...o, ...s }, i = {}, c = {};
3002
+ e != null && (i["X-RequestID"] = String(e)), g(n, c);
3005
3003
  let l = o && o.headers ? o.headers : {};
3006
- return a.headers = { ...i, ...l, ...t.headers }, {
3007
- url: T(n),
3004
+ return a.headers = { ...i, ...l, ...s.headers }, {
3005
+ url: P(n),
3008
3006
  options: a
3009
3007
  };
3010
3008
  }
3011
3009
  };
3012
- }, ir = function(s) {
3013
- const e = ar(s);
3010
+ }, ir = function(t) {
3011
+ const e = ar(t);
3014
3012
  return {
3015
3013
  /**
3016
3014
  *
@@ -3019,13 +3017,13 @@ const ar = function(s) {
3019
3017
  * @param {*} [options] Override http request option.
3020
3018
  * @throws {RequiredError}
3021
3019
  */
3022
- async readiness(t, r) {
3023
- const n = await e.readiness(t, r);
3024
- return g(n, m, S, s);
3020
+ async readiness(s, r) {
3021
+ const n = await e.readiness(s, r);
3022
+ return T(n, m, R, t);
3025
3023
  }
3026
3024
  };
3027
3025
  };
3028
- let cr = class extends z {
3026
+ let cr = class extends q {
3029
3027
  /**
3030
3028
  *
3031
3029
  * @summary Checking the license status
@@ -3034,19 +3032,19 @@ let cr = class extends z {
3034
3032
  * @throws {RequiredError}
3035
3033
  * @memberof DiagnosticsApi
3036
3034
  */
3037
- readiness(e, t) {
3038
- return ir(this.configuration).readiness(e, t).then((r) => r(this.axios, this.basePath));
3035
+ readiness(e, s) {
3036
+ return ir(this.configuration).readiness(e, s).then((r) => r(this.axios, this.basePath));
3039
3037
  }
3040
3038
  };
3041
3039
  class lr {
3042
- constructor(e, t, r) {
3043
- this.superClass = new cr(e, t, r);
3040
+ constructor(e, s, r) {
3041
+ this.superClass = new cr(e, s, r);
3044
3042
  }
3045
- async readiness(e, t) {
3046
- return (await this.superClass.readiness(e, t)).data;
3043
+ async readiness(e, s) {
3044
+ return (await this.superClass.readiness(e, s)).data;
3047
3045
  }
3048
3046
  }
3049
- const ur = function(s) {
3047
+ const ur = function(t) {
3050
3048
  return {
3051
3049
  /**
3052
3050
  * This endpoint deletes a liveness transaction based on either the specified `tag` or `transactionId`. At least one of the parameters must be provided for the operation to be valid.
@@ -3056,16 +3054,16 @@ const ur = function(s) {
3056
3054
  * @param {*} [options] Override http request option.
3057
3055
  * @throws {RequiredError}
3058
3056
  */
3059
- deleteLivenessTransaction: async (e, t, r = {}) => {
3060
- y("deleteLivenessTransaction", "transactionId", e), y("deleteLivenessTransaction", "tag", t);
3061
- const n = "/api/v2/liveness", o = new URL(n, R);
3057
+ deleteLivenessTransaction: async (e, s, r = {}) => {
3058
+ y("deleteLivenessTransaction", "transactionId", e), y("deleteLivenessTransaction", "tag", s);
3059
+ const n = "/api/v2/liveness", o = new URL(n, S);
3062
3060
  let a;
3063
- s && (a = s.baseOptions);
3061
+ t && (a = t.baseOptions);
3064
3062
  const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
3065
- e !== void 0 && (l.transactionId = e), t !== void 0 && (l.tag = t), P(o, l);
3063
+ e !== void 0 && (l.transactionId = e), s !== void 0 && (l.tag = s), g(o, l);
3066
3064
  let d = a && a.headers ? a.headers : {};
3067
3065
  return i.headers = { ...c, ...d, ...r.headers }, {
3068
- url: T(o),
3066
+ url: P(o),
3069
3067
  options: i
3070
3068
  };
3071
3069
  },
@@ -3076,22 +3074,22 @@ const ur = function(s) {
3076
3074
  * @param {*} [options] Override http request option.
3077
3075
  * @throws {RequiredError}
3078
3076
  */
3079
- getLivenessTransactionInfo: async (e, t = {}) => {
3077
+ getLivenessTransactionInfo: async (e, s = {}) => {
3080
3078
  y("getLivenessTransactionInfo", "transactionId", e);
3081
- const r = "/api/v2/liveness", n = new URL(r, R);
3079
+ const r = "/api/v2/liveness", n = new URL(r, S);
3082
3080
  let o;
3083
- s && (o = s.baseOptions);
3084
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3085
- e !== void 0 && (c.transactionId = e), P(n, c);
3081
+ t && (o = t.baseOptions);
3082
+ const a = { method: "GET", ...o, ...s }, i = {}, c = {};
3083
+ e !== void 0 && (c.transactionId = e), g(n, c);
3086
3084
  let l = o && o.headers ? o.headers : {};
3087
- return a.headers = { ...i, ...l, ...t.headers }, {
3088
- url: T(n),
3085
+ return a.headers = { ...i, ...l, ...s.headers }, {
3086
+ url: P(n),
3089
3087
  options: a
3090
3088
  };
3091
3089
  }
3092
3090
  };
3093
- }, je = function(s) {
3094
- const e = ur(s);
3091
+ }, je = function(t) {
3092
+ const e = ur(t);
3095
3093
  return {
3096
3094
  /**
3097
3095
  * This endpoint deletes a liveness transaction based on either the specified `tag` or `transactionId`. At least one of the parameters must be provided for the operation to be valid.
@@ -3101,9 +3099,9 @@ const ur = function(s) {
3101
3099
  * @param {*} [options] Override http request option.
3102
3100
  * @throws {RequiredError}
3103
3101
  */
3104
- async deleteLivenessTransaction(t, r, n) {
3105
- const o = await e.deleteLivenessTransaction(t, r, n);
3106
- return g(o, m, S, s);
3102
+ async deleteLivenessTransaction(s, r, n) {
3103
+ const o = await e.deleteLivenessTransaction(s, r, n);
3104
+ return T(o, m, R, t);
3107
3105
  },
3108
3106
  /**
3109
3107
  * To verify the presence of a real person in front of a camera, use the GET `/api/v2/liveness` endpoint. When starting, you can specify `tag` which all attempts to read liveness will be bound to. If left unspecified, the application automatically generates one. The calling application returns `tag` and `transactionId`. One session may include many transactions, and from a transaction ID it is clear which session it belongs to. When specifying `tag`, note that only Latin uppercase and lowercase letters, digits, and symbols `-` and `_` are allowed. The maximum supported number of characters is 127. The metadata (device model, screen data, frame size, app ID and version, OS version, platform, SDK version, etc.), a person\'s selfie and video of the liveness detection session are stored on the backend at: `faceapi-session/year={year}/month={month}/day={day}/hour={hour}/minute={minute}/{tag}/transactionId` By default, liveness checks operate with eventual consistency. This means that when you submit a request and receive a response, the associated data (like the selfie and session video) may be saved after the response is sent. If this doesn\'t meet your requirements, you can switch to strong consistency; refer to the [Architecture page](https://docs.regulaforensics.com/develop/face-sdk/overview/architecture/#consistency-models) for details. To access the liveness transaction data, use GET `/api/v2/liveness?transactionId={transactionId}`.
@@ -3112,13 +3110,13 @@ const ur = function(s) {
3112
3110
  * @param {*} [options] Override http request option.
3113
3111
  * @throws {RequiredError}
3114
3112
  */
3115
- async getLivenessTransactionInfo(t, r) {
3116
- const n = await e.getLivenessTransactionInfo(t, r);
3117
- return g(n, m, S, s);
3113
+ async getLivenessTransactionInfo(s, r) {
3114
+ const n = await e.getLivenessTransactionInfo(s, r);
3115
+ return T(n, m, R, t);
3118
3116
  }
3119
3117
  };
3120
3118
  };
3121
- let dr = class extends z {
3119
+ let dr = class extends q {
3122
3120
  /**
3123
3121
  * This endpoint deletes a liveness transaction based on either the specified `tag` or `transactionId`. At least one of the parameters must be provided for the operation to be valid.
3124
3122
  * @summary delete liveness transaction
@@ -3128,8 +3126,8 @@ let dr = class extends z {
3128
3126
  * @throws {RequiredError}
3129
3127
  * @memberof Liveness20Api
3130
3128
  */
3131
- deleteLivenessTransaction(e, t, r) {
3132
- return je(this.configuration).deleteLivenessTransaction(e, t, r).then((n) => n(this.axios, this.basePath));
3129
+ deleteLivenessTransaction(e, s, r) {
3130
+ return je(this.configuration).deleteLivenessTransaction(e, s, r).then((n) => n(this.axios, this.basePath));
3133
3131
  }
3134
3132
  /**
3135
3133
  * To verify the presence of a real person in front of a camera, use the GET `/api/v2/liveness` endpoint. When starting, you can specify `tag` which all attempts to read liveness will be bound to. If left unspecified, the application automatically generates one. The calling application returns `tag` and `transactionId`. One session may include many transactions, and from a transaction ID it is clear which session it belongs to. When specifying `tag`, note that only Latin uppercase and lowercase letters, digits, and symbols `-` and `_` are allowed. The maximum supported number of characters is 127. The metadata (device model, screen data, frame size, app ID and version, OS version, platform, SDK version, etc.), a person\'s selfie and video of the liveness detection session are stored on the backend at: `faceapi-session/year={year}/month={month}/day={day}/hour={hour}/minute={minute}/{tag}/transactionId` By default, liveness checks operate with eventual consistency. This means that when you submit a request and receive a response, the associated data (like the selfie and session video) may be saved after the response is sent. If this doesn\'t meet your requirements, you can switch to strong consistency; refer to the [Architecture page](https://docs.regulaforensics.com/develop/face-sdk/overview/architecture/#consistency-models) for details. To access the liveness transaction data, use GET `/api/v2/liveness?transactionId={transactionId}`.
@@ -3139,24 +3137,24 @@ let dr = class extends z {
3139
3137
  * @throws {RequiredError}
3140
3138
  * @memberof Liveness20Api
3141
3139
  */
3142
- getLivenessTransactionInfo(e, t) {
3143
- return je(this.configuration).getLivenessTransactionInfo(e, t).then((r) => r(this.axios, this.basePath));
3140
+ getLivenessTransactionInfo(e, s) {
3141
+ return je(this.configuration).getLivenessTransactionInfo(e, s).then((r) => r(this.axios, this.basePath));
3144
3142
  }
3145
3143
  };
3146
3144
  class pr {
3147
- constructor(e, t, r) {
3148
- this.superClass = new dr(e, t, r);
3145
+ constructor(e, s, r) {
3146
+ this.superClass = new dr(e, s, r);
3149
3147
  }
3150
- async getLivenessTransactionInfo(e, t) {
3151
- return (await this.superClass.getLivenessTransactionInfo(e, t)).data;
3148
+ async getLivenessTransactionInfo(e, s) {
3149
+ return (await this.superClass.getLivenessTransactionInfo(e, s)).data;
3152
3150
  }
3153
3151
  }
3154
3152
  class Kr {
3155
- constructor(e, t = S, r = m) {
3156
- this.basePath = t, this.axios = r, this.matchApi = new Ks(e, t, r), this.groupApi = new Ys(e, t, r), this.personApi = new tr(e, t, r), this.searchApi = new or(e, t, r), this.diagnosticsApi = new lr(e, t, r), this.livenessApi = new pr(e, t, r);
3153
+ constructor(e, s = R, r = m) {
3154
+ this.basePath = s, this.axios = r, this.matchApi = new Ks(e, s, r), this.groupApi = new Ys(e, s, r), this.personApi = new tr(e, s, r), this.searchApi = new or(e, s, r), this.diagnosticsApi = new lr(e, s, r), this.livenessApi = new pr(e, s, r);
3157
3155
  }
3158
3156
  }
3159
- const hr = function(s) {
3157
+ const hr = function(t) {
3160
3158
  return {
3161
3159
  /**
3162
3160
  * The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/).
@@ -3165,15 +3163,15 @@ const hr = function(s) {
3165
3163
  * @param {*} [options] Override http request option.
3166
3164
  * @throws {RequiredError}
3167
3165
  */
3168
- healthz: async (e, t = {}) => {
3169
- const r = "/api/healthz", n = new URL(r, R);
3166
+ healthz: async (e, s = {}) => {
3167
+ const r = "/api/healthz", n = new URL(r, S);
3170
3168
  let o;
3171
- s && (o = s.baseOptions);
3172
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3173
- e != null && (i["X-RequestID"] = String(e)), P(n, c);
3169
+ t && (o = t.baseOptions);
3170
+ const a = { method: "GET", ...o, ...s }, i = {}, c = {};
3171
+ e != null && (i["X-RequestID"] = String(e)), g(n, c);
3174
3172
  let l = o && o.headers ? o.headers : {};
3175
- return a.headers = { ...i, ...l, ...t.headers }, {
3176
- url: T(n),
3173
+ return a.headers = { ...i, ...l, ...s.headers }, {
3174
+ url: P(n),
3177
3175
  options: a
3178
3176
  };
3179
3177
  },
@@ -3184,21 +3182,21 @@ const hr = function(s) {
3184
3182
  * @param {*} [options] Override http request option.
3185
3183
  * @throws {RequiredError}
3186
3184
  */
3187
- readyz: async (e, t = {}) => {
3188
- const r = "/api/readyz", n = new URL(r, R);
3185
+ readyz: async (e, s = {}) => {
3186
+ const r = "/api/readyz", n = new URL(r, S);
3189
3187
  let o;
3190
- s && (o = s.baseOptions);
3191
- const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3192
- e != null && (i["X-RequestID"] = String(e)), P(n, c);
3188
+ t && (o = t.baseOptions);
3189
+ const a = { method: "GET", ...o, ...s }, i = {}, c = {};
3190
+ e != null && (i["X-RequestID"] = String(e)), g(n, c);
3193
3191
  let l = o && o.headers ? o.headers : {};
3194
- return a.headers = { ...i, ...l, ...t.headers }, {
3195
- url: T(n),
3192
+ return a.headers = { ...i, ...l, ...s.headers }, {
3193
+ url: P(n),
3196
3194
  options: a
3197
3195
  };
3198
3196
  }
3199
3197
  };
3200
- }, ke = function(s) {
3201
- const e = hr(s);
3198
+ }, ke = function(t) {
3199
+ const e = hr(t);
3202
3200
  return {
3203
3201
  /**
3204
3202
  * The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/).
@@ -3207,9 +3205,9 @@ const hr = function(s) {
3207
3205
  * @param {*} [options] Override http request option.
3208
3206
  * @throws {RequiredError}
3209
3207
  */
3210
- async healthz(t, r) {
3211
- const n = await e.healthz(t, r);
3212
- return g(n, m, S, s);
3208
+ async healthz(s, r) {
3209
+ const n = await e.healthz(s, r);
3210
+ return T(n, m, R, t);
3213
3211
  },
3214
3212
  /**
3215
3213
  * The `/api/readyz` endpoint checks the license\'s health to determine if the application is ready for operation. It validates the license and returns a response indicating whether the license is valid (`200`) or invalid (`400`).
@@ -3218,13 +3216,13 @@ const hr = function(s) {
3218
3216
  * @param {*} [options] Override http request option.
3219
3217
  * @throws {RequiredError}
3220
3218
  */
3221
- async readyz(t, r) {
3222
- const n = await e.readyz(t, r);
3223
- return g(n, m, S, s);
3219
+ async readyz(s, r) {
3220
+ const n = await e.readyz(s, r);
3221
+ return T(n, m, R, t);
3224
3222
  }
3225
3223
  };
3226
3224
  };
3227
- let fr = class extends z {
3225
+ let fr = class extends q {
3228
3226
  /**
3229
3227
  * The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/).
3230
3228
  * @summary Server healthcheck
@@ -3233,8 +3231,8 @@ let fr = class extends z {
3233
3231
  * @throws {RequiredError}
3234
3232
  * @memberof HealthcheckApi
3235
3233
  */
3236
- healthz(e, t) {
3237
- return ke(this.configuration).healthz(e, t).then((r) => r(this.axios, this.basePath));
3234
+ healthz(e, s) {
3235
+ return ke(this.configuration).healthz(e, s).then((r) => r(this.axios, this.basePath));
3238
3236
  }
3239
3237
  /**
3240
3238
  * The `/api/readyz` endpoint checks the license\'s health to determine if the application is ready for operation. It validates the license and returns a response indicating whether the license is valid (`200`) or invalid (`400`).
@@ -3244,19 +3242,19 @@ let fr = class extends z {
3244
3242
  * @throws {RequiredError}
3245
3243
  * @memberof HealthcheckApi
3246
3244
  */
3247
- readyz(e, t) {
3248
- return ke(this.configuration).readyz(e, t).then((r) => r(this.axios, this.basePath));
3245
+ readyz(e, s) {
3246
+ return ke(this.configuration).readyz(e, s).then((r) => r(this.axios, this.basePath));
3249
3247
  }
3250
3248
  };
3251
3249
  class Jr {
3252
- constructor(e, t, r) {
3253
- this.superClass = new fr(e, t, r);
3250
+ constructor(e, s, r) {
3251
+ this.superClass = new fr(e, s, r);
3254
3252
  }
3255
- async healthz(e, t) {
3256
- return (await this.superClass.healthz(e, t)).data;
3253
+ async healthz(e, s) {
3254
+ return (await this.superClass.healthz(e, s)).data;
3257
3255
  }
3258
- async readyz(e, t) {
3259
- return (await this.superClass.readyz(e, t)).data;
3256
+ async readyz(e, s) {
3257
+ return (await this.superClass.readyz(e, s)).data;
3260
3258
  }
3261
3259
  }
3262
3260
  class Yr {
@@ -3274,8 +3272,8 @@ class Yr {
3274
3272
  * @return True if the given MIME is JSON, false otherwise.
3275
3273
  */
3276
3274
  isJsonMime(e) {
3277
- const t = new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$", "i");
3278
- return e !== null && (t.test(e) || e.toLowerCase() === "application/json-patch+json");
3275
+ const s = new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$", "i");
3276
+ return e !== null && (s.test(e) || e.toLowerCase() === "application/json-patch+json");
3279
3277
  }
3280
3278
  }
3281
3279
  export {