@regulaforensics/facesdk-webclient 7.2.313-nightly → 7.2.315-nightly

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.
package/dist/index.js CHANGED
@@ -1,243 +1,243 @@
1
- function ke(t, e) {
1
+ function ve(s, e) {
2
2
  return function() {
3
- return t.apply(e, arguments);
3
+ return s.apply(e, arguments);
4
4
  };
5
5
  }
6
- const { toString: ht } = Object.prototype, { getPrototypeOf: Te } = Object, { iterator: ce, toStringTag: ve } = Symbol, le = /* @__PURE__ */ ((t) => (e) => {
7
- const r = ht.call(e);
8
- return t[r] || (t[r] = r.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: q } = 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);
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);
12
12
  }
13
- const ze = U("ArrayBuffer");
14
- function ft(t) {
13
+ const qe = F("ArrayBuffer");
14
+ function mt(s) {
15
15
  let e;
16
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && ze(t.buffer), e;
16
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(s) : e = s && s.buffer && qe(s.buffer), e;
17
17
  }
18
- const mt = ue("string"), N = ue("function"), $e = ue("number"), J = (t) => t !== null && typeof t == "object", Et = (t) => t === !0 || t === !1, re = (t) => {
19
- if (le(t) !== "object")
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")
20
20
  return !1;
21
- const e = Te(t);
22
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(ve in t) && !(ce in t);
23
- }, At = (t) => {
24
- if (!J(t) || X(t))
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))
25
25
  return !1;
26
26
  try {
27
- return Object.keys(t).length === 0 && Object.getPrototypeOf(t) === Object.prototype;
27
+ return Object.keys(s).length === 0 && Object.getPrototypeOf(s) === Object.prototype;
28
28
  } catch {
29
29
  return !1;
30
30
  }
31
- }, Ot = U("Date"), yt = U("File"), St = U("Blob"), Rt = U("FileList"), Pt = (t) => J(t) && N(t.pipe), gt = (t) => {
31
+ }, yt = F("Date"), St = F("File"), Rt = F("Blob"), Pt = F("FileList"), Tt = (s) => J(s) && N(s.pipe), gt = (s) => {
32
32
  let e;
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
- }, Tt = U("URLSearchParams"), [Ct, bt, _t, wt] = ["ReadableStream", "Request", "Response", "Headers"].map(U), It = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
- function Y(t, e, { allOwnKeys: r = !1 } = {}) {
37
- if (t === null || typeof t > "u")
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")
38
38
  return;
39
- let s, n;
40
- if (typeof t != "object" && (t = [t]), q(t))
41
- for (s = 0, n = t.length; s < n; s++)
42
- e.call(null, t[s], s, t);
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);
43
43
  else {
44
- if (X(t))
44
+ if (X(s))
45
45
  return;
46
- const o = r ? Object.getOwnPropertyNames(t) : Object.keys(t), a = o.length;
46
+ const o = t ? Object.getOwnPropertyNames(s) : Object.keys(s), a = o.length;
47
47
  let i;
48
- for (s = 0; s < a; s++)
49
- i = o[s], e.call(null, t[i], i, t);
48
+ for (r = 0; r < a; r++)
49
+ i = o[r], e.call(null, s[i], i, s);
50
50
  }
51
51
  }
52
- function qe(t, e) {
53
- if (X(t))
52
+ function Qe(s, e) {
53
+ if (X(s))
54
54
  return null;
55
55
  e = e.toLowerCase();
56
- const r = Object.keys(t);
57
- let s = r.length, n;
58
- for (; s-- > 0; )
59
- if (n = r[s], e === n.toLowerCase())
56
+ const t = Object.keys(s);
57
+ let r = t.length, n;
58
+ for (; r-- > 0; )
59
+ if (n = t[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, Qe = (t) => !K(t) && t !== j;
63
+ const j = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, We = (s) => !K(s) && s !== j;
64
64
  function Oe() {
65
- const { caseless: t } = Qe(this) && this || {}, e = {}, r = (s, n) => {
66
- const o = t && qe(e, n) || n;
67
- re(e[o]) && re(s) ? e[o] = Oe(e[o], s) : re(s) ? e[o] = Oe({}, s) : q(s) ? e[o] = s.slice() : e[o] = s;
65
+ const { caseless: s } = We(this) && this || {}, e = {}, t = (r, n) => {
66
+ const o = s && Qe(e, n) || n;
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
- for (let s = 0, n = arguments.length; s < n; s++)
70
- arguments[s] && Y(arguments[s], r);
69
+ for (let r = 0, n = arguments.length; r < n; r++)
70
+ arguments[r] && Y(arguments[r], t);
71
71
  return e;
72
72
  }
73
- const Lt = (t, e, r, { allOwnKeys: s } = {}) => (Y(e, (n, o) => {
74
- r && N(n) ? t[o] = ke(n, r) : t[o] = n;
75
- }, { allOwnKeys: s }), t), Nt = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ft = (t, e, r, s) => {
76
- t.prototype = Object.create(e.prototype, s), t.prototype.constructor = t, Object.defineProperty(t, "super", {
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", {
77
77
  value: e.prototype
78
- }), r && Object.assign(t.prototype, r);
79
- }, Ut = (t, e, r, s) => {
78
+ }), t && Object.assign(s.prototype, t);
79
+ }, Vt = (s, e, t, r) => {
80
80
  let n, o, a;
81
81
  const i = {};
82
- if (e = e || {}, t == null) return e;
82
+ if (e = e || {}, s == null) return e;
83
83
  do {
84
- for (n = Object.getOwnPropertyNames(t), o = n.length; o-- > 0; )
85
- a = n[o], (!s || s(a, t, e)) && !i[a] && (e[a] = t[a], i[a] = !0);
86
- t = r !== !1 && Te(t);
87
- } while (t && (!r || r(t, e)) && t !== Object.prototype);
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);
88
88
  return e;
89
- }, Vt = (t, e, r) => {
90
- t = String(t), (r === void 0 || r > t.length) && (r = t.length), r -= e.length;
91
- const s = t.indexOf(e, r);
92
- return s !== -1 && s === r;
93
- }, Dt = (t) => {
94
- if (!t) return null;
95
- if (q(t)) return t;
96
- let e = t.length;
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;
97
97
  if (!$e(e)) return null;
98
- const r = new Array(e);
98
+ const t = new Array(e);
99
99
  for (; e-- > 0; )
100
- r[e] = t[e];
101
- return r;
102
- }, Gt = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Te(Uint8Array)), Ht = (t, e) => {
103
- const s = (t && t[ce]).call(t);
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);
104
104
  let n;
105
- for (; (n = s.next()) && !n.done; ) {
105
+ for (; (n = r.next()) && !n.done; ) {
106
106
  const o = n.value;
107
- e.call(t, o[0], o[1]);
107
+ e.call(s, o[0], o[1]);
108
108
  }
109
- }, xt = (t, e) => {
110
- let r;
111
- const s = [];
112
- for (; (r = t.exec(e)) !== null; )
113
- s.push(r);
114
- return s;
115
- }, Bt = U("HTMLFormElement"), Mt = (t) => t.toLowerCase().replace(
109
+ }, Bt = (s, e) => {
110
+ let t;
111
+ const r = [];
112
+ for (; (t = s.exec(e)) !== null; )
113
+ r.push(t);
114
+ return r;
115
+ }, Mt = F("HTMLFormElement"), jt = (s) => s.toLowerCase().replace(
116
116
  /[-_\s]([a-z\d])(\w*)/g,
117
- function(r, s, n) {
118
- return s.toUpperCase() + n;
117
+ function(t, r, n) {
118
+ return r.toUpperCase() + n;
119
119
  }
120
- ), we = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), jt = U("RegExp"), We = (t, e) => {
121
- const r = Object.getOwnPropertyDescriptors(t), s = {};
122
- Y(r, (n, o) => {
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) => {
123
123
  let a;
124
- (a = e(n, o, t)) !== !1 && (s[o] = a || n);
125
- }), Object.defineProperties(t, s);
126
- }, kt = (t) => {
127
- We(t, (e, r) => {
128
- if (N(t) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
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)
129
129
  return !1;
130
- const s = t[r];
131
- if (N(s)) {
130
+ const r = s[t];
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 '" + r + "'");
137
+ throw Error("Can not rewrite read-only method '" + t + "'");
138
138
  });
139
139
  }
140
140
  });
141
- }, vt = (t, e) => {
142
- const r = {}, s = (n) => {
141
+ }, zt = (s, e) => {
142
+ const t = {}, r = (n) => {
143
143
  n.forEach((o) => {
144
- r[o] = !0;
144
+ t[o] = !0;
145
145
  });
146
146
  };
147
- return q(t) ? s(t) : s(String(t).split(e)), r;
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[ve] === "FormData" && t[ce]);
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]);
152
152
  }
153
- const Qt = (t) => {
154
- const e = new Array(10), r = (s, n) => {
155
- if (J(s)) {
156
- if (e.indexOf(s) >= 0)
153
+ const Wt = (s) => {
154
+ const e = new Array(10), t = (r, n) => {
155
+ if (J(r)) {
156
+ if (e.indexOf(r) >= 0)
157
157
  return;
158
- if (X(s))
159
- return s;
160
- if (!("toJSON" in s)) {
161
- e[n] = s;
162
- const o = q(s) ? [] : {};
163
- return Y(s, (a, i) => {
164
- const c = r(a, n + 1);
158
+ if (X(r))
159
+ return r;
160
+ if (!("toJSON" in r)) {
161
+ e[n] = r;
162
+ const o = $(r) ? [] : {};
163
+ return Y(r, (a, i) => {
164
+ const c = t(a, n + 1);
165
165
  !K(c) && (o[i] = c);
166
166
  }), e[n] = void 0, o;
167
167
  }
168
168
  }
169
- return s;
169
+ return r;
170
170
  };
171
- return r(t, 0);
172
- }, Wt = U("AsyncFunction"), Kt = (t) => t && (J(t) || N(t)) && N(t.then) && N(t.catch), Ke = ((t, e) => t ? setImmediate : e ? ((r, s) => (j.addEventListener("message", ({ source: n, data: o }) => {
173
- n === j && o === r && s.length && s.shift()();
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()();
174
174
  }, !1), (n) => {
175
- s.push(n), j.postMessage(r, "*");
176
- }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
175
+ r.push(n), j.postMessage(t, "*");
176
+ }))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
177
177
  typeof setImmediate == "function",
178
178
  N(j.postMessage)
179
- ), Xt = typeof queueMicrotask < "u" ? queueMicrotask.bind(j) : typeof process < "u" && process.nextTick || Ke, Jt = (t) => t != null && N(t[ce]), u = {
180
- isArray: q,
181
- isArrayBuffer: ze,
179
+ ), Jt = typeof queueMicrotask < "u" ? queueMicrotask.bind(j) : typeof process < "u" && process.nextTick || Xe, Yt = (s) => s != null && N(s[ce]), u = {
180
+ isArray: $,
181
+ isArrayBuffer: qe,
182
182
  isBuffer: X,
183
183
  isFormData: gt,
184
- isArrayBufferView: ft,
185
- isString: mt,
184
+ isArrayBufferView: mt,
185
+ isString: Et,
186
186
  isNumber: $e,
187
- isBoolean: Et,
187
+ isBoolean: At,
188
188
  isObject: J,
189
- isPlainObject: re,
190
- isEmptyObject: At,
191
- isReadableStream: Ct,
192
- isRequest: bt,
193
- isResponse: _t,
194
- isHeaders: wt,
189
+ isPlainObject: se,
190
+ isEmptyObject: Ot,
191
+ isReadableStream: bt,
192
+ isRequest: _t,
193
+ isResponse: wt,
194
+ isHeaders: It,
195
195
  isUndefined: K,
196
- isDate: Ot,
197
- isFile: yt,
198
- isBlob: St,
199
- isRegExp: jt,
196
+ isDate: yt,
197
+ isFile: St,
198
+ isBlob: Rt,
199
+ isRegExp: kt,
200
200
  isFunction: N,
201
- isStream: Pt,
202
- isURLSearchParams: Tt,
203
- isTypedArray: Gt,
204
- isFileList: Rt,
201
+ isStream: Tt,
202
+ isURLSearchParams: Ct,
203
+ isTypedArray: Ht,
204
+ isFileList: Pt,
205
205
  forEach: Y,
206
206
  merge: Oe,
207
- extend: Lt,
208
- trim: It,
209
- stripBOM: Nt,
207
+ extend: Nt,
208
+ trim: Lt,
209
+ stripBOM: Ut,
210
210
  inherits: Ft,
211
- toFlatObject: Ut,
211
+ toFlatObject: Vt,
212
212
  kindOf: le,
213
- kindOfTest: U,
214
- endsWith: Vt,
215
- toArray: Dt,
216
- forEachEntry: Ht,
217
- matchAll: xt,
218
- isHTMLForm: Bt,
213
+ kindOfTest: F,
214
+ endsWith: Dt,
215
+ toArray: Gt,
216
+ forEachEntry: xt,
217
+ matchAll: Bt,
218
+ isHTMLForm: Mt,
219
219
  hasOwnProperty: we,
220
220
  hasOwnProp: we,
221
221
  // an alias to avoid ESLint no-prototype-builtins detection
222
- reduceDescriptors: We,
223
- freezeMethods: kt,
224
- toObjectSet: vt,
225
- toCamelCase: Mt,
226
- noop: zt,
222
+ reduceDescriptors: Ke,
223
+ freezeMethods: vt,
224
+ toObjectSet: zt,
225
+ toCamelCase: jt,
226
+ noop: qt,
227
227
  toFiniteNumber: $t,
228
- findKey: qe,
228
+ findKey: Qe,
229
229
  global: j,
230
- isContextDefined: Qe,
231
- isSpecCompliantForm: qt,
232
- toJSONObject: Qt,
233
- isAsyncFn: Wt,
234
- isThenable: Kt,
235
- setImmediate: Ke,
236
- asap: Xt,
237
- isIterable: Jt
230
+ isContextDefined: We,
231
+ isSpecCompliantForm: Qt,
232
+ toJSONObject: Wt,
233
+ isAsyncFn: Kt,
234
+ isThenable: Xt,
235
+ setImmediate: Xe,
236
+ asap: Jt,
237
+ isIterable: Yt
238
238
  };
239
- function E(t, e, r, s, 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), r && (this.config = r), s && (this.request = s), n && (this.response = n, this.status = n.status ? n.status : null);
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);
241
241
  }
242
242
  u.inherits(E, Error, {
243
243
  toJSON: function() {
@@ -260,7 +260,7 @@ u.inherits(E, Error, {
260
260
  };
261
261
  }
262
262
  });
263
- const Xe = E.prototype, Je = {};
263
+ const Je = E.prototype, Ye = {};
264
264
  [
265
265
  "ERR_BAD_OPTION_VALUE",
266
266
  "ERR_BAD_OPTION",
@@ -275,46 +275,46 @@ const Xe = E.prototype, Je = {};
275
275
  "ERR_NOT_SUPPORT",
276
276
  "ERR_INVALID_URL"
277
277
  // eslint-disable-next-line func-names
278
- ].forEach((t) => {
279
- Je[t] = { value: t };
278
+ ].forEach((s) => {
279
+ Ye[s] = { value: s };
280
280
  });
281
- Object.defineProperties(E, Je);
282
- Object.defineProperty(Xe, "isAxiosError", { value: !0 });
283
- E.from = (t, e, r, s, n, o) => {
284
- const a = Object.create(Xe);
285
- return u.toFlatObject(t, a, function(c) {
281
+ Object.defineProperties(E, Ye);
282
+ Object.defineProperty(Je, "isAxiosError", { value: !0 });
283
+ E.from = (s, e, t, r, n, o) => {
284
+ const a = Object.create(Je);
285
+ return u.toFlatObject(s, a, function(c) {
286
286
  return c !== Error.prototype;
287
- }, (i) => i !== "isAxiosError"), E.call(a, t.message, e, r, s, n), a.cause = t, a.name = t.name, o && Object.assign(a, o), a;
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;
288
288
  };
289
- const Yt = null;
290
- function ye(t) {
291
- return u.isPlainObject(t) || u.isArray(t);
289
+ const Zt = null;
290
+ function ye(s) {
291
+ return u.isPlainObject(s) || u.isArray(s);
292
292
  }
293
- function Ye(t) {
294
- return u.endsWith(t, "[]") ? t.slice(0, -2) : t;
293
+ function Ze(s) {
294
+ return u.endsWith(s, "[]") ? s.slice(0, -2) : s;
295
295
  }
296
- function Ie(t, e, r) {
297
- return t ? t.concat(e).map(function(n, o) {
298
- return n = Ye(n), !r && o ? "[" + n + "]" : n;
299
- }).join(r ? "." : "") : e;
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;
300
300
  }
301
- function Zt(t) {
302
- return u.isArray(t) && !t.some(ye);
301
+ function es(s) {
302
+ return u.isArray(s) && !s.some(ye);
303
303
  }
304
- const er = u.toFlatObject(u, {}, null, function(e) {
304
+ const ts = u.toFlatObject(u, {}, null, function(e) {
305
305
  return /^is[A-Z]/.test(e);
306
306
  });
307
- function de(t, e, r) {
308
- if (!u.isObject(t))
307
+ function de(s, e, t) {
308
+ if (!u.isObject(s))
309
309
  throw new TypeError("target must be an object");
310
- e = e || new FormData(), r = u.toFlatObject(r, {
310
+ e = e || new FormData(), t = u.toFlatObject(t, {
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 s = r.metaTokens, n = r.visitor || d, o = r.dots, a = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(e);
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);
318
318
  if (!u.isFunction(n))
319
319
  throw new TypeError("visitor must be a function");
320
320
  function l(h) {
@@ -331,9 +331,9 @@ function de(t, e, r) {
331
331
  let C = h;
332
332
  if (h && !f && typeof h == "object") {
333
333
  if (u.endsWith(A, "{}"))
334
- A = s ? A : A.slice(0, -2), h = JSON.stringify(h);
335
- else if (u.isArray(h) && Zt(h) || (u.isFileList(h) || u.endsWith(A, "[]")) && (C = u.toArray(h)))
336
- return A = Ye(A), C.forEach(function(w, G) {
334
+ A = r ? A : A.slice(0, -2), h = JSON.stringify(h);
335
+ else if (u.isArray(h) && es(h) || (u.isFileList(h) || u.endsWith(A, "[]")) && (C = u.toArray(h)))
336
+ return A = Ze(A), C.forEach(function(w, G) {
337
337
  !(u.isUndefined(w) || w === null) && e.append(
338
338
  // eslint-disable-next-line no-nested-ternary
339
339
  a === !0 ? Ie([A], G, o) : a === null ? A : A + "[]",
@@ -343,7 +343,7 @@ function de(t, e, r) {
343
343
  }
344
344
  return ye(h) ? !0 : (e.append(Ie(f, A, o), l(h)), !1);
345
345
  }
346
- const p = [], O = Object.assign(er, {
346
+ const p = [], O = Object.assign(ts, {
347
347
  defaultVisitor: d,
348
348
  convertValue: l,
349
349
  isVisitable: ye
@@ -363,11 +363,11 @@ function de(t, e, r) {
363
363
  }), p.pop();
364
364
  }
365
365
  }
366
- if (!u.isObject(t))
366
+ if (!u.isObject(s))
367
367
  throw new TypeError("data must be an object");
368
- return b(t), e;
368
+ return b(s), e;
369
369
  }
370
- function Le(t) {
370
+ function Le(s) {
371
371
  const e = {
372
372
  "!": "%21",
373
373
  "'": "%27",
@@ -377,42 +377,42 @@ function Le(t) {
377
377
  "%20": "+",
378
378
  "%00": "\0"
379
379
  };
380
- return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(s) {
381
- return e[s];
380
+ return encodeURIComponent(s).replace(/[!'()~]|%20|%00/g, function(r) {
381
+ return e[r];
382
382
  });
383
383
  }
384
- function Ce(t, e) {
385
- this._pairs = [], t && de(t, this, e);
384
+ function Ce(s, e) {
385
+ this._pairs = [], s && de(s, this, e);
386
386
  }
387
- const Ze = Ce.prototype;
388
- Ze.append = function(e, r) {
389
- this._pairs.push([e, r]);
387
+ const et = Ce.prototype;
388
+ et.append = function(e, t) {
389
+ this._pairs.push([e, t]);
390
390
  };
391
- Ze.toString = function(e) {
392
- const r = e ? function(s) {
393
- return e.call(this, s, Le);
391
+ et.toString = function(e) {
392
+ const t = e ? function(r) {
393
+ return e.call(this, r, Le);
394
394
  } : Le;
395
395
  return this._pairs.map(function(n) {
396
- return r(n[0]) + "=" + r(n[1]);
396
+ return t(n[0]) + "=" + t(n[1]);
397
397
  }, "").join("&");
398
398
  };
399
- function tr(t) {
400
- return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
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, "]");
401
401
  }
402
- function et(t, e, r) {
402
+ function tt(s, e, t) {
403
403
  if (!e)
404
- return t;
405
- const s = r && r.encode || tr;
406
- u.isFunction(r) && (r = {
407
- serialize: r
404
+ return s;
405
+ const r = t && t.encode || ss;
406
+ u.isFunction(t) && (t = {
407
+ serialize: t
408
408
  });
409
- const n = r && r.serialize;
409
+ const n = t && t.serialize;
410
410
  let o;
411
- if (n ? o = n(e, r) : o = u.isURLSearchParams(e) ? e.toString() : new Ce(e, r).toString(s), o) {
412
- const a = t.indexOf("#");
413
- a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + 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;
414
414
  }
415
- return t;
415
+ return s;
416
416
  }
417
417
  class Ne {
418
418
  constructor() {
@@ -426,12 +426,12 @@ class Ne {
426
426
  *
427
427
  * @return {Number} An ID used to remove interceptor later
428
428
  */
429
- use(e, r, s) {
429
+ use(e, t, r) {
430
430
  return this.handlers.push({
431
431
  fulfilled: e,
432
- rejected: r,
433
- synchronous: s ? s.synchronous : !1,
434
- runWhen: s ? s.runWhen : null
432
+ rejected: t,
433
+ synchronous: r ? r.synchronous : !1,
434
+ runWhen: r ? r.runWhen : null
435
435
  }), this.handlers.length - 1;
436
436
  }
437
437
  /**
@@ -463,85 +463,85 @@ class Ne {
463
463
  * @returns {void}
464
464
  */
465
465
  forEach(e) {
466
- u.forEach(this.handlers, function(s) {
467
- s !== null && e(s);
466
+ u.forEach(this.handlers, function(r) {
467
+ r !== null && e(r);
468
468
  });
469
469
  }
470
470
  }
471
- const tt = {
471
+ const st = {
472
472
  silentJSONParsing: !0,
473
473
  forcedJSONParsing: !0,
474
474
  clarifyTimeoutError: !1
475
- }, rr = typeof URLSearchParams < "u" ? URLSearchParams : Ce, sr = typeof FormData < "u" ? FormData : null, nr = typeof Blob < "u" ? Blob : null, or = {
475
+ }, rs = typeof URLSearchParams < "u" ? URLSearchParams : Ce, ns = typeof FormData < "u" ? FormData : null, os = typeof Blob < "u" ? Blob : null, as = {
476
476
  isBrowser: !0,
477
477
  classes: {
478
- URLSearchParams: rr,
479
- FormData: sr,
480
- Blob: nr
478
+ URLSearchParams: rs,
479
+ FormData: ns,
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, ar = be && (!Se || ["ReactNative", "NativeScript", "NS"].indexOf(Se.product) < 0), ir = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
484
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", cr = be && window.location.href || "http://localhost", lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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
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
- hasStandardBrowserEnv: ar,
488
- hasStandardBrowserWebWorkerEnv: ir,
487
+ hasStandardBrowserEnv: is,
488
+ hasStandardBrowserWebWorkerEnv: cs,
489
489
  navigator: Se,
490
- origin: cr
490
+ origin: ls
491
491
  }, Symbol.toStringTag, { value: "Module" })), I = {
492
- ...lr,
493
- ...or
492
+ ...us,
493
+ ...as
494
494
  };
495
- function ur(t, e) {
496
- return de(t, new I.classes.URLSearchParams(), {
497
- visitor: function(r, s, n, o) {
498
- return I.isNode && u.isBuffer(r) ? (this.append(s, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
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);
499
499
  },
500
500
  ...e
501
501
  });
502
502
  }
503
- function dr(t) {
504
- return u.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
503
+ function ps(s) {
504
+ return u.matchAll(/\w+|\[(\w*)]/g, s).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
505
505
  }
506
- function pr(t) {
507
- const e = {}, r = Object.keys(t);
508
- let s;
509
- const n = r.length;
506
+ function hs(s) {
507
+ const e = {}, t = Object.keys(s);
508
+ let r;
509
+ const n = t.length;
510
510
  let o;
511
- for (s = 0; s < n; s++)
512
- o = r[s], e[o] = t[o];
511
+ for (r = 0; r < n; r++)
512
+ o = t[r], e[o] = s[o];
513
513
  return e;
514
514
  }
515
- function rt(t) {
516
- function e(r, s, n, o) {
517
- let a = r[o++];
515
+ function rt(s) {
516
+ function e(t, r, n, o) {
517
+ let a = t[o++];
518
518
  if (a === "__proto__") return !0;
519
- const i = Number.isFinite(+a), c = o >= r.length;
520
- return a = !a && u.isArray(n) ? n.length : a, c ? (u.hasOwnProp(n, a) ? n[a] = [n[a], s] : n[a] = s, !i) : ((!n[a] || !u.isObject(n[a])) && (n[a] = []), e(r, s, n[a], o) && u.isArray(n[a]) && (n[a] = pr(n[a])), !i);
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);
521
521
  }
522
- if (u.isFormData(t) && u.isFunction(t.entries)) {
523
- const r = {};
524
- return u.forEachEntry(t, (s, n) => {
525
- e(dr(s), n, r, 0);
526
- }), r;
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;
527
527
  }
528
528
  return null;
529
529
  }
530
- function hr(t, e, r) {
531
- if (u.isString(t))
530
+ function fs(s, e, t) {
531
+ if (u.isString(s))
532
532
  try {
533
- return (e || JSON.parse)(t), u.trim(t);
534
- } catch (s) {
535
- if (s.name !== "SyntaxError")
536
- throw s;
533
+ return (e || JSON.parse)(s), u.trim(s);
534
+ } catch (r) {
535
+ if (r.name !== "SyntaxError")
536
+ throw r;
537
537
  }
538
- return (r || JSON.stringify)(t);
538
+ return (t || JSON.stringify)(s);
539
539
  }
540
540
  const Z = {
541
- transitional: tt,
541
+ transitional: st,
542
542
  adapter: ["xhr", "http", "fetch"],
543
- transformRequest: [function(e, r) {
544
- const s = r.getContentType() || "", n = s.indexOf("application/json") > -1, o = u.isObject(e);
543
+ transformRequest: [function(e, t) {
544
+ const r = t.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,12 +549,12 @@ const Z = {
549
549
  if (u.isArrayBufferView(e))
550
550
  return e.buffer;
551
551
  if (u.isURLSearchParams(e))
552
- return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
552
+ return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
553
553
  let i;
554
554
  if (o) {
555
- if (s.indexOf("application/x-www-form-urlencoded") > -1)
556
- return ur(e, this.formSerializer).toString();
557
- if ((i = u.isFileList(e)) || s.indexOf("multipart/form-data") > -1) {
555
+ if (r.indexOf("application/x-www-form-urlencoded") > -1)
556
+ return ds(e, this.formSerializer).toString();
557
+ if ((i = u.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
558
558
  const c = this.env && this.env.FormData;
559
559
  return de(
560
560
  i ? { "files[]": e } : e,
@@ -563,14 +563,14 @@ const Z = {
563
563
  );
564
564
  }
565
565
  }
566
- return o || n ? (r.setContentType("application/json", !1), hr(e)) : e;
566
+ return o || n ? (t.setContentType("application/json", !1), fs(e)) : e;
567
567
  }],
568
568
  transformResponse: [function(e) {
569
- const r = this.transitional || Z.transitional, s = r && r.forcedJSONParsing, n = this.responseType === "json";
569
+ const t = this.transitional || Z.transitional, r = t && t.forcedJSONParsing, n = this.responseType === "json";
570
570
  if (u.isResponse(e) || u.isReadableStream(e))
571
571
  return e;
572
- if (e && u.isString(e) && (s && !this.responseType || n)) {
573
- const a = !(r && r.silentJSONParsing) && n;
572
+ if (e && u.isString(e) && (r && !this.responseType || n)) {
573
+ const a = !(t && t.silentJSONParsing) && n;
574
574
  try {
575
575
  return JSON.parse(e);
576
576
  } catch (i) {
@@ -603,10 +603,10 @@ const Z = {
603
603
  }
604
604
  }
605
605
  };
606
- u.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
607
- Z.headers[t] = {};
606
+ u.forEach(["delete", "get", "head", "post", "put", "patch"], (s) => {
607
+ Z.headers[s] = {};
608
608
  });
609
- const fr = u.toObjectSet([
609
+ const ms = u.toObjectSet([
610
610
  "age",
611
611
  "authorization",
612
612
  "content-length",
@@ -624,70 +624,70 @@ const fr = u.toObjectSet([
624
624
  "referer",
625
625
  "retry-after",
626
626
  "user-agent"
627
- ]), mr = (t) => {
627
+ ]), Es = (s) => {
628
628
  const e = {};
629
- let r, s, n;
630
- return t && t.split(`
629
+ let t, r, n;
630
+ return s && s.split(`
631
631
  `).forEach(function(a) {
632
- n = a.indexOf(":"), r = a.substring(0, n).trim().toLowerCase(), s = a.substring(n + 1).trim(), !(!r || e[r] && fr[r]) && (r === "set-cookie" ? e[r] ? e[r].push(s) : e[r] = [s] : e[r] = e[r] ? e[r] + ", " + s : s);
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);
633
633
  }), e;
634
- }, Fe = Symbol("internals");
635
- function W(t) {
636
- return t && String(t).trim().toLowerCase();
634
+ }, Ue = Symbol("internals");
635
+ function W(s) {
636
+ return s && String(s).trim().toLowerCase();
637
637
  }
638
- function se(t) {
639
- return t === !1 || t == null ? t : u.isArray(t) ? t.map(se) : String(t);
638
+ function re(s) {
639
+ return s === !1 || s == null ? s : u.isArray(s) ? s.map(re) : String(s);
640
640
  }
641
- function Er(t) {
642
- const e = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
643
- let s;
644
- for (; s = r.exec(t); )
645
- e[s[1]] = s[2];
641
+ function As(s) {
642
+ const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
643
+ let r;
644
+ for (; r = t.exec(s); )
645
+ e[r[1]] = r[2];
646
646
  return e;
647
647
  }
648
- const Ar = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
649
- function fe(t, e, r, s, n) {
650
- if (u.isFunction(s))
651
- return s.call(this, e, r);
652
- if (n && (e = r), !!u.isString(e)) {
653
- if (u.isString(s))
654
- return e.indexOf(s) !== -1;
655
- if (u.isRegExp(s))
656
- return s.test(e);
648
+ const Os = (s) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(s.trim());
649
+ function fe(s, e, t, r, n) {
650
+ if (u.isFunction(r))
651
+ return r.call(this, e, t);
652
+ if (n && (e = t), !!u.isString(e)) {
653
+ if (u.isString(r))
654
+ return e.indexOf(r) !== -1;
655
+ if (u.isRegExp(r))
656
+ return r.test(e);
657
657
  }
658
658
  }
659
- function Or(t) {
660
- return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, r, s) => r.toUpperCase() + s);
659
+ function ys(s) {
660
+ return s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, r) => t.toUpperCase() + r);
661
661
  }
662
- function yr(t, e) {
663
- const r = u.toCamelCase(" " + e);
664
- ["get", "set", "has"].forEach((s) => {
665
- Object.defineProperty(t, s + r, {
662
+ function Ss(s, e) {
663
+ const t = u.toCamelCase(" " + e);
664
+ ["get", "set", "has"].forEach((r) => {
665
+ Object.defineProperty(s, r + t, {
666
666
  value: function(n, o, a) {
667
- return this[s].call(this, e, n, o, a);
667
+ return this[r].call(this, e, n, o, a);
668
668
  },
669
669
  configurable: !0
670
670
  });
671
671
  });
672
672
  }
673
- let F = class {
673
+ let U = class {
674
674
  constructor(e) {
675
675
  e && this.set(e);
676
676
  }
677
- set(e, r, s) {
677
+ set(e, t, r) {
678
678
  const n = this;
679
679
  function o(i, c, l) {
680
680
  const d = W(c);
681
681
  if (!d)
682
682
  throw new Error("header name must be a non-empty string");
683
683
  const p = u.findKey(n, d);
684
- (!p || n[p] === void 0 || l === !0 || l === void 0 && n[p] !== !1) && (n[p || c] = se(i));
684
+ (!p || n[p] === void 0 || l === !0 || l === void 0 && n[p] !== !1) && (n[p || c] = re(i));
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, r);
689
- else if (u.isString(e) && (e = e.trim()) && !Ar(e))
690
- a(mr(e), r);
688
+ a(e, t);
689
+ else if (u.isString(e) && (e = e.trim()) && !Os(e))
690
+ a(Es(e), t);
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 F = 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, r);
698
+ a(i, t);
699
699
  } else
700
- e != null && o(r, e, s);
700
+ e != null && o(t, e, r);
701
701
  return this;
702
702
  }
703
- get(e, r) {
703
+ get(e, t) {
704
704
  if (e = W(e), e) {
705
- const s = u.findKey(this, e);
706
- if (s) {
707
- const n = this[s];
708
- if (!r)
705
+ const r = u.findKey(this, e);
706
+ if (r) {
707
+ const n = this[r];
708
+ if (!t)
709
709
  return n;
710
- if (r === !0)
711
- return Er(n);
712
- if (u.isFunction(r))
713
- return r.call(this, n, s);
714
- if (u.isRegExp(r))
715
- return r.exec(n);
710
+ if (t === !0)
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);
716
716
  throw new TypeError("parser must be boolean|regexp|function");
717
717
  }
718
718
  }
719
719
  }
720
- has(e, r) {
720
+ has(e, t) {
721
721
  if (e = W(e), e) {
722
- const s = u.findKey(this, e);
723
- return !!(s && this[s] !== void 0 && (!r || fe(this, this[s], s, r)));
722
+ const r = u.findKey(this, e);
723
+ return !!(r && this[r] !== void 0 && (!t || fe(this, this[r], r, t)));
724
724
  }
725
725
  return !1;
726
726
  }
727
- delete(e, r) {
728
- const s = this;
727
+ delete(e, t) {
728
+ const r = this;
729
729
  let n = !1;
730
730
  function o(a) {
731
731
  if (a = W(a), a) {
732
- const i = u.findKey(s, a);
733
- i && (!r || fe(s, s[i], i, r)) && (delete s[i], n = !0);
732
+ const i = u.findKey(r, a);
733
+ i && (!t || fe(r, r[i], i, t)) && (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 r = Object.keys(this);
740
- let s = r.length, n = !1;
741
- for (; s--; ) {
742
- const o = r[s];
739
+ const t = Object.keys(this);
740
+ let r = t.length, n = !1;
741
+ for (; r--; ) {
742
+ const o = t[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 r = this, s = {};
748
+ const t = this, r = {};
749
749
  return u.forEach(this, (n, o) => {
750
- const a = u.findKey(s, o);
750
+ const a = u.findKey(r, o);
751
751
  if (a) {
752
- r[a] = se(n), delete r[o];
752
+ t[a] = re(n), delete t[o];
753
753
  return;
754
754
  }
755
- const i = e ? Or(o) : String(o).trim();
756
- i !== o && delete r[o], r[i] = se(n), s[i] = !0;
755
+ const i = e ? ys(o) : String(o).trim();
756
+ i !== o && delete t[o], t[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 r = /* @__PURE__ */ Object.create(null);
764
- return u.forEach(this, (s, n) => {
765
- s != null && s !== !1 && (r[n] = e && u.isArray(s) ? s.join(", ") : s);
766
- }), r;
763
+ const t = /* @__PURE__ */ Object.create(null);
764
+ return u.forEach(this, (r, n) => {
765
+ r != null && r !== !1 && (t[n] = e && u.isArray(r) ? r.join(", ") : r);
766
+ }), t;
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, r]) => e + ": " + r).join(`
772
+ return Object.entries(this.toJSON()).map(([e, t]) => e + ": " + t).join(`
773
773
  `);
774
774
  }
775
775
  getSetCookie() {
@@ -781,96 +781,96 @@ let F = class {
781
781
  static from(e) {
782
782
  return e instanceof this ? e : new this(e);
783
783
  }
784
- static concat(e, ...r) {
785
- const s = new this(e);
786
- return r.forEach((n) => s.set(n)), s;
784
+ static concat(e, ...t) {
785
+ const r = new this(e);
786
+ return t.forEach((n) => r.set(n)), r;
787
787
  }
788
788
  static accessor(e) {
789
- const s = (this[Fe] = this[Fe] = {
789
+ const r = (this[Ue] = this[Ue] = {
790
790
  accessors: {}
791
791
  }).accessors, n = this.prototype;
792
792
  function o(a) {
793
793
  const i = W(a);
794
- s[i] || (yr(n, a), s[i] = !0);
794
+ r[i] || (Ss(n, a), r[i] = !0);
795
795
  }
796
796
  return u.isArray(e) ? e.forEach(o) : o(e), this;
797
797
  }
798
798
  };
799
- F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
800
- u.reduceDescriptors(F.prototype, ({ value: t }, e) => {
801
- let r = e[0].toUpperCase() + e.slice(1);
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);
802
802
  return {
803
- get: () => t,
804
- set(s) {
805
- this[r] = s;
803
+ get: () => s,
804
+ set(r) {
805
+ this[t] = r;
806
806
  }
807
807
  };
808
808
  });
809
- u.freezeMethods(F);
810
- function me(t, e) {
811
- const r = this || Z, s = e || r, n = F.from(s.headers);
812
- let o = s.data;
813
- return u.forEach(t, function(i) {
814
- o = i.call(r, o, n.normalize(), e ? e.status : void 0);
809
+ u.freezeMethods(U);
810
+ function me(s, e) {
811
+ const t = this || Z, r = e || t, n = U.from(r.headers);
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);
815
815
  }), n.normalize(), o;
816
816
  }
817
- function st(t) {
818
- return !!(t && t.__CANCEL__);
817
+ function nt(s) {
818
+ return !!(s && s.__CANCEL__);
819
819
  }
820
- function Q(t, e, r) {
821
- E.call(this, t ?? "canceled", E.ERR_CANCELED, e, r), this.name = "CanceledError";
820
+ function Q(s, e, t) {
821
+ E.call(this, s ?? "canceled", E.ERR_CANCELED, e, t), this.name = "CanceledError";
822
822
  }
823
823
  u.inherits(Q, E, {
824
824
  __CANCEL__: !0
825
825
  });
826
- function nt(t, e, r) {
827
- const s = r.config.validateStatus;
828
- !r.status || !s || s(r.status) ? t(r) : e(new E(
829
- "Request failed with status code " + r.status,
830
- [E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
831
- r.config,
832
- r.request,
833
- r
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
834
834
  ));
835
835
  }
836
- function Sr(t) {
837
- const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
836
+ function Rs(s) {
837
+ const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(s);
838
838
  return e && e[1] || "";
839
839
  }
840
- function Rr(t, e) {
841
- t = t || 10;
842
- const r = new Array(t), s = new Array(t);
840
+ function Ps(s, e) {
841
+ s = s || 10;
842
+ const t = new Array(s), r = new Array(s);
843
843
  let n = 0, o = 0, a;
844
844
  return e = e !== void 0 ? e : 1e3, function(c) {
845
- const l = Date.now(), d = s[o];
846
- a || (a = l), r[n] = c, s[n] = l;
845
+ const l = Date.now(), d = r[o];
846
+ a || (a = l), t[n] = c, r[n] = l;
847
847
  let p = o, O = 0;
848
848
  for (; p !== n; )
849
- O += r[p++], p = p % t;
850
- if (n = (n + 1) % t, n === o && (o = (o + 1) % t), l - a < e)
849
+ O += t[p++], p = p % s;
850
+ if (n = (n + 1) % s, n === o && (o = (o + 1) % s), 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 Pr(t, e) {
857
- let r = 0, s = 1e3 / e, n, o;
856
+ function Ts(s, e) {
857
+ let t = 0, r = 1e3 / e, n, o;
858
858
  const a = (l, d = Date.now()) => {
859
- r = d, n = null, o && (clearTimeout(o), o = null), t(...l);
859
+ t = d, n = null, o && (clearTimeout(o), o = null), s(...l);
860
860
  };
861
861
  return [(...l) => {
862
- const d = Date.now(), p = d - r;
863
- p >= s ? a(l, d) : (n = l, o || (o = setTimeout(() => {
862
+ const d = Date.now(), p = d - t;
863
+ p >= r ? a(l, d) : (n = l, o || (o = setTimeout(() => {
864
864
  o = null, a(n);
865
- }, s - p)));
865
+ }, r - p)));
866
866
  }, () => n && a(n)];
867
867
  }
868
- const oe = (t, e, r = 3) => {
869
- let s = 0;
870
- const n = Rr(50, 250);
871
- return Pr((o) => {
872
- const a = o.loaded, i = o.lengthComputable ? o.total : void 0, c = a - s, l = n(c), d = a <= i;
873
- s = a;
868
+ const oe = (s, e, t = 3) => {
869
+ let r = 0;
870
+ const n = Ps(50, 250);
871
+ return Ts((o) => {
872
+ const a = o.loaded, i = o.lengthComputable ? o.total : void 0, c = a - r, l = n(c), d = a <= i;
873
+ r = a;
874
874
  const p = {
875
875
  loaded: a,
876
876
  total: i,
@@ -882,31 +882,31 @@ const oe = (t, e, r = 3) => {
882
882
  lengthComputable: i != null,
883
883
  [e ? "download" : "upload"]: !0
884
884
  };
885
- t(p);
886
- }, r);
887
- }, Ue = (t, e) => {
888
- const r = t != null;
889
- return [(s) => e[0]({
890
- lengthComputable: r,
891
- total: t,
892
- loaded: s
885
+ s(p);
886
+ }, t);
887
+ }, Fe = (s, e) => {
888
+ const t = s != null;
889
+ return [(r) => e[0]({
890
+ lengthComputable: t,
891
+ total: s,
892
+ loaded: r
893
893
  }), e[1]];
894
- }, Ve = (t) => (...e) => u.asap(() => t(...e)), gr = I.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (r) => (r = new URL(r, I.origin), t.protocol === r.protocol && t.host === r.host && (e || t.port === r.port)))(
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)))(
895
895
  new URL(I.origin),
896
896
  I.navigator && /(msie|trident)/i.test(I.navigator.userAgent)
897
- ) : () => !0, Tr = I.hasStandardBrowserEnv ? (
897
+ ) : () => !0, Cs = I.hasStandardBrowserEnv ? (
898
898
  // Standard browser envs support document.cookie
899
899
  {
900
- write(t, e, r, s, n, o) {
901
- const a = [t + "=" + encodeURIComponent(e)];
902
- u.isNumber(r) && a.push("expires=" + new Date(r).toGMTString()), u.isString(s) && a.push("path=" + s), u.isString(n) && a.push("domain=" + n), o === !0 && a.push("secure"), document.cookie = a.join("; ");
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("; ");
903
903
  },
904
- read(t) {
905
- const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
904
+ read(s) {
905
+ const e = document.cookie.match(new RegExp("(^|;\\s*)(" + s + ")=([^;]*)"));
906
906
  return e ? decodeURIComponent(e[3]) : null;
907
907
  },
908
- remove(t) {
909
- this.write(t, "", Date.now() - 864e5);
908
+ remove(s) {
909
+ this.write(s, "", Date.now() - 864e5);
910
910
  }
911
911
  }
912
912
  ) : (
@@ -921,44 +921,44 @@ const oe = (t, e, r = 3) => {
921
921
  }
922
922
  }
923
923
  );
924
- function Cr(t) {
925
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
924
+ function bs(s) {
925
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(s);
926
926
  }
927
- function br(t, e) {
928
- return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
927
+ function _s(s, e) {
928
+ return e ? s.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : s;
929
929
  }
930
- function ot(t, e, r) {
931
- let s = !Cr(e);
932
- return t && (s || r == !1) ? br(t, e) : e;
930
+ function at(s, e, t) {
931
+ let r = !bs(e);
932
+ return s && (r || t == !1) ? _s(s, e) : e;
933
933
  }
934
- const De = (t) => t instanceof F ? { ...t } : t;
935
- function v(t, e) {
934
+ const De = (s) => s instanceof U ? { ...s } : s;
935
+ function v(s, e) {
936
936
  e = e || {};
937
- const r = {};
938
- function s(l, d, p, O) {
937
+ const t = {};
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
  }
941
941
  function n(l, d, p, O) {
942
942
  if (u.isUndefined(d)) {
943
943
  if (!u.isUndefined(l))
944
- return s(void 0, l, p, O);
945
- } else return s(l, d, p, O);
944
+ return r(void 0, l, p, O);
945
+ } else return r(l, d, p, O);
946
946
  }
947
947
  function o(l, d) {
948
948
  if (!u.isUndefined(d))
949
- return s(void 0, d);
949
+ return r(void 0, d);
950
950
  }
951
951
  function a(l, d) {
952
952
  if (u.isUndefined(d)) {
953
953
  if (!u.isUndefined(l))
954
- return s(void 0, l);
955
- } else return s(void 0, d);
954
+ return r(void 0, l);
955
+ } else return r(void 0, d);
956
956
  }
957
957
  function i(l, d, p) {
958
958
  if (p in e)
959
- return s(l, d);
960
- if (p in t)
961
- return s(void 0, l);
959
+ return r(l, d);
960
+ if (p in s)
961
+ return r(void 0, l);
962
962
  }
963
963
  const c = {
964
964
  url: o,
@@ -991,20 +991,20 @@ function v(t, 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({ ...t, ...e }), function(d) {
995
- const p = c[d] || n, O = p(t[d], e[d], d);
996
- u.isUndefined(O) && p !== i || (r[d] = O);
997
- }), r;
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;
998
998
  }
999
- const at = (t) => {
1000
- const e = v({}, t);
1001
- let { data: r, withXSRFToken: s, xsrfHeaderName: n, xsrfCookieName: o, headers: a, auth: i } = e;
1002
- e.headers = a = F.from(a), e.url = et(ot(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), i && a.set(
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(
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(r)) {
1007
+ if (u.isFormData(t)) {
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 at = (t) => {
1012
1012
  a.setContentType([l || "multipart/form-data", ...d].join("; "));
1013
1013
  }
1014
1014
  }
1015
- if (I.hasStandardBrowserEnv && (s && u.isFunction(s) && (s = s(e)), s || s !== !1 && gr(e.url))) {
1016
- const l = n && o && Tr.read(o);
1015
+ if (I.hasStandardBrowserEnv && (r && u.isFunction(r) && (r = r(e)), r || r !== !1 && gs(e.url))) {
1016
+ const l = n && o && Cs.read(o);
1017
1017
  l && a.set(n, l);
1018
1018
  }
1019
1019
  return e;
1020
- }, _r = typeof XMLHttpRequest < "u", wr = _r && function(t) {
1021
- return new Promise(function(r, s) {
1022
- const n = at(t);
1020
+ }, ws = typeof XMLHttpRequest < "u", Is = ws && function(s) {
1021
+ return new Promise(function(t, r) {
1022
+ const n = it(s);
1023
1023
  let o = n.data;
1024
- const a = F.from(n.headers).normalize();
1024
+ const a = U.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,104 +1031,104 @@ const at = (t) => {
1031
1031
  function C() {
1032
1032
  if (!f)
1033
1033
  return;
1034
- const w = F.from(
1034
+ const w = U.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: t,
1041
+ config: s,
1042
1042
  request: f
1043
1043
  };
1044
- nt(function(B) {
1045
- r(B), A();
1044
+ ot(function(B) {
1045
+ t(B), A();
1046
1046
  }, function(B) {
1047
- s(B), A();
1047
+ r(B), A();
1048
1048
  }, L), f = null;
1049
1049
  }
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 && (s(new E("Request aborted", E.ECONNABORTED, t, f)), f = null);
1053
+ f && (r(new E("Request aborted", E.ECONNABORTED, s, f)), f = null);
1054
1054
  }, f.onerror = function() {
1055
- s(new E("Network Error", E.ERR_NETWORK, t, f)), f = null;
1055
+ r(new E("Network Error", E.ERR_NETWORK, s, f)), f = null;
1056
1056
  }, f.ontimeout = function() {
1057
1057
  let G = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
1058
- const L = n.transitional || tt;
1059
- n.timeoutErrorMessage && (G = n.timeoutErrorMessage), s(new E(
1058
+ const L = n.transitional || st;
1059
+ n.timeoutErrorMessage && (G = n.timeoutErrorMessage), r(new E(
1060
1060
  G,
1061
1061
  L.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
1062
- t,
1062
+ s,
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 && (s(!w || w.type ? new Q(null, t, f) : w), f.abort(), f = null);
1068
+ f && (r(!w || w.type ? new Q(null, s, 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 _ = Sr(n.url);
1070
+ const _ = Rs(n.url);
1071
1071
  if (_ && I.protocols.indexOf(_) === -1) {
1072
- s(new E("Unsupported protocol " + _ + ":", E.ERR_BAD_REQUEST, t));
1072
+ r(new E("Unsupported protocol " + _ + ":", E.ERR_BAD_REQUEST, s));
1073
1073
  return;
1074
1074
  }
1075
1075
  f.send(o || null);
1076
1076
  });
1077
- }, Ir = (t, e) => {
1078
- const { length: r } = t = t ? t.filter(Boolean) : [];
1079
- if (e || r) {
1080
- let s = new AbortController(), n;
1077
+ }, Ls = (s, e) => {
1078
+ const { length: t } = s = s ? s.filter(Boolean) : [];
1079
+ if (e || t) {
1080
+ let r = new AbortController(), n;
1081
1081
  const o = function(l) {
1082
1082
  if (!n) {
1083
1083
  n = !0, i();
1084
1084
  const d = l instanceof Error ? l : this.reason;
1085
- s.abort(d instanceof E ? d : new Q(d instanceof Error ? d.message : d));
1085
+ r.abort(d instanceof E ? d : new Q(d instanceof Error ? d.message : d));
1086
1086
  }
1087
1087
  };
1088
1088
  let a = e && setTimeout(() => {
1089
1089
  a = null, o(new E(`timeout ${e} of ms exceeded`, E.ETIMEDOUT));
1090
1090
  }, e);
1091
1091
  const i = () => {
1092
- t && (a && clearTimeout(a), a = null, t.forEach((l) => {
1092
+ s && (a && clearTimeout(a), a = null, s.forEach((l) => {
1093
1093
  l.unsubscribe ? l.unsubscribe(o) : l.removeEventListener("abort", o);
1094
- }), t = null);
1094
+ }), s = null);
1095
1095
  };
1096
- t.forEach((l) => l.addEventListener("abort", o));
1097
- const { signal: c } = s;
1096
+ s.forEach((l) => l.addEventListener("abort", o));
1097
+ const { signal: c } = r;
1098
1098
  return c.unsubscribe = () => u.asap(i), c;
1099
1099
  }
1100
- }, Lr = function* (t, e) {
1101
- let r = t.byteLength;
1102
- if (r < e) {
1103
- yield t;
1100
+ }, Ns = function* (s, e) {
1101
+ let t = s.byteLength;
1102
+ if (t < e) {
1103
+ yield s;
1104
1104
  return;
1105
1105
  }
1106
- let s = 0, n;
1107
- for (; s < r; )
1108
- n = s + e, yield t.slice(s, n), s = n;
1109
- }, Nr = async function* (t, e) {
1110
- for await (const r of Fr(t))
1111
- yield* Lr(r, e);
1112
- }, Fr = async function* (t) {
1113
- if (t[Symbol.asyncIterator]) {
1114
- yield* t;
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;
1115
1115
  return;
1116
1116
  }
1117
- const e = t.getReader();
1117
+ const e = s.getReader();
1118
1118
  try {
1119
1119
  for (; ; ) {
1120
- const { done: r, value: s } = await e.read();
1121
- if (r)
1120
+ const { done: t, value: r } = await e.read();
1121
+ if (t)
1122
1122
  break;
1123
- yield s;
1123
+ yield r;
1124
1124
  }
1125
1125
  } finally {
1126
1126
  await e.cancel();
1127
1127
  }
1128
- }, Ge = (t, e, r, s) => {
1129
- const n = Nr(t, e);
1128
+ }, Ge = (s, e, t, r) => {
1129
+ const n = Us(s, e);
1130
1130
  let o = 0, a, i = (c) => {
1131
- a || (a = !0, s && s(c));
1131
+ a || (a = !0, r && r(c));
1132
1132
  };
1133
1133
  return new ReadableStream({
1134
1134
  async pull(c) {
@@ -1139,9 +1139,9 @@ const at = (t) => {
1139
1139
  return;
1140
1140
  }
1141
1141
  let p = d.byteLength;
1142
- if (r) {
1142
+ if (t) {
1143
1143
  let O = o += p;
1144
- r(O);
1144
+ t(O);
1145
1145
  }
1146
1146
  c.enqueue(new Uint8Array(d));
1147
1147
  } catch (l) {
@@ -1154,54 +1154,54 @@ const at = (t) => {
1154
1154
  }, {
1155
1155
  highWaterMark: 2
1156
1156
  });
1157
- }, pe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", it = pe && typeof ReadableStream == "function", Ur = pe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), ct = (t, ...e) => {
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) => {
1158
1158
  try {
1159
- return !!t(...e);
1159
+ return !!s(...e);
1160
1160
  } catch {
1161
1161
  return !1;
1162
1162
  }
1163
- }, Vr = it && ct(() => {
1164
- let t = !1;
1163
+ }, Ds = ct && lt(() => {
1164
+ let s = !1;
1165
1165
  const e = new Request(I.origin, {
1166
1166
  body: new ReadableStream(),
1167
1167
  method: "POST",
1168
1168
  get duplex() {
1169
- return t = !0, "half";
1169
+ return s = !0, "half";
1170
1170
  }
1171
1171
  }).headers.has("Content-Type");
1172
- return t && !e;
1173
- }), He = 64 * 1024, Re = it && ct(() => u.isReadableStream(new Response("").body)), ae = {
1174
- stream: Re && ((t) => t.body)
1172
+ return s && !e;
1173
+ }), He = 64 * 1024, Re = ct && lt(() => u.isReadableStream(new Response("").body)), ae = {
1174
+ stream: Re && ((s) => s.body)
1175
1175
  };
1176
- pe && ((t) => {
1176
+ pe && ((s) => {
1177
1177
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
1178
- !ae[e] && (ae[e] = u.isFunction(t[e]) ? (r) => r[e]() : (r, s) => {
1179
- throw new E(`Response type '${e}' is not supported`, E.ERR_NOT_SUPPORT, s);
1178
+ !ae[e] && (ae[e] = u.isFunction(s[e]) ? (t) => t[e]() : (t, r) => {
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 Dr = async (t) => {
1184
- if (t == null)
1183
+ const Gs = async (s) => {
1184
+ if (s == null)
1185
1185
  return 0;
1186
- if (u.isBlob(t))
1187
- return t.size;
1188
- if (u.isSpecCompliantForm(t))
1186
+ if (u.isBlob(s))
1187
+ return s.size;
1188
+ if (u.isSpecCompliantForm(s))
1189
1189
  return (await new Request(I.origin, {
1190
1190
  method: "POST",
1191
- body: t
1191
+ body: s
1192
1192
  }).arrayBuffer()).byteLength;
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 Ur(t)).byteLength;
1197
- }, Gr = async (t, e) => {
1198
- const r = u.toFiniteNumber(t.getContentLength());
1199
- return r ?? Dr(e);
1200
- }, Hr = pe && (async (t) => {
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) => {
1201
1201
  let {
1202
1202
  url: e,
1203
- method: r,
1204
- data: s,
1203
+ method: t,
1204
+ data: r,
1205
1205
  signal: n,
1206
1206
  cancelToken: o,
1207
1207
  timeout: a,
@@ -1211,26 +1211,26 @@ const Dr = async (t) => {
1211
1211
  headers: d,
1212
1212
  withCredentials: p = "same-origin",
1213
1213
  fetchOptions: O
1214
- } = at(t);
1214
+ } = it(s);
1215
1215
  l = l ? (l + "").toLowerCase() : "text";
1216
- let b = Ir([n, o && o.toAbortSignal()], a), h;
1216
+ let b = Ls([n, o && o.toAbortSignal()], a), h;
1217
1217
  const A = b && b.unsubscribe && (() => {
1218
1218
  b.unsubscribe();
1219
1219
  });
1220
1220
  let f;
1221
1221
  try {
1222
- if (c && Vr && r !== "get" && r !== "head" && (f = await Gr(d, s)) !== 0) {
1222
+ if (c && Ds && t !== "get" && t !== "head" && (f = await Hs(d, r)) !== 0) {
1223
1223
  let L = new Request(e, {
1224
1224
  method: "POST",
1225
- body: s,
1225
+ body: r,
1226
1226
  duplex: "half"
1227
1227
  }), x;
1228
- if (u.isFormData(s) && (x = L.headers.get("content-type")) && d.setContentType(x), L.body) {
1229
- const [B, ee] = Ue(
1228
+ if (u.isFormData(r) && (x = L.headers.get("content-type")) && d.setContentType(x), L.body) {
1229
+ const [B, ee] = Fe(
1230
1230
  f,
1231
1231
  oe(Ve(c))
1232
1232
  );
1233
- s = Ge(L.body, He, B, ee);
1233
+ r = Ge(L.body, He, B, ee);
1234
1234
  }
1235
1235
  }
1236
1236
  u.isString(p) || (p = p ? "include" : "omit");
@@ -1238,9 +1238,9 @@ const Dr = async (t) => {
1238
1238
  h = new Request(e, {
1239
1239
  ...O,
1240
1240
  signal: b,
1241
- method: r.toUpperCase(),
1241
+ method: t.toUpperCase(),
1242
1242
  headers: d.normalize().toJSON(),
1243
- body: s,
1243
+ body: r,
1244
1244
  duplex: "half",
1245
1245
  credentials: C ? p : void 0
1246
1246
  });
@@ -1251,7 +1251,7 @@ const Dr = async (t) => {
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 && Ue(
1254
+ const x = u.toFiniteNumber(_.headers.get("content-length")), [B, ee] = i && Fe(
1255
1255
  x,
1256
1256
  oe(Ve(i), !0)
1257
1257
  ) || [];
@@ -1263,55 +1263,55 @@ const Dr = async (t) => {
1263
1263
  );
1264
1264
  }
1265
1265
  l = l || "text";
1266
- let G = await ae[u.findKey(ae, l) || "text"](_, t);
1266
+ let G = await ae[u.findKey(ae, l) || "text"](_, s);
1267
1267
  return !w && A && A(), await new Promise((L, x) => {
1268
- nt(L, x, {
1268
+ ot(L, x, {
1269
1269
  data: G,
1270
- headers: F.from(_.headers),
1270
+ headers: U.from(_.headers),
1271
1271
  status: _.status,
1272
1272
  statusText: _.statusText,
1273
- config: t,
1273
+ config: s,
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, t, h),
1279
+ new E("Network Error", E.ERR_NETWORK, s, h),
1280
1280
  {
1281
1281
  cause: C.cause || C
1282
1282
  }
1283
- ) : E.from(C, C && C.code, t, h);
1283
+ ) : E.from(C, C && C.code, s, h);
1284
1284
  }
1285
1285
  }), Pe = {
1286
- http: Yt,
1287
- xhr: wr,
1288
- fetch: Hr
1286
+ http: Zt,
1287
+ xhr: Is,
1288
+ fetch: xs
1289
1289
  };
1290
- u.forEach(Pe, (t, e) => {
1291
- if (t) {
1290
+ u.forEach(Pe, (s, e) => {
1291
+ if (s) {
1292
1292
  try {
1293
- Object.defineProperty(t, "name", { value: e });
1293
+ Object.defineProperty(s, "name", { value: e });
1294
1294
  } catch {
1295
1295
  }
1296
- Object.defineProperty(t, "adapterName", { value: e });
1296
+ Object.defineProperty(s, "adapterName", { value: e });
1297
1297
  }
1298
1298
  });
1299
- const xe = (t) => `- ${t}`, xr = (t) => u.isFunction(t) || t === null || t === !1, lt = {
1300
- getAdapter: (t) => {
1301
- t = u.isArray(t) ? t : [t];
1302
- const { length: e } = t;
1303
- let r, s;
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;
1304
1304
  const n = {};
1305
1305
  for (let o = 0; o < e; o++) {
1306
- r = t[o];
1306
+ t = s[o];
1307
1307
  let a;
1308
- if (s = r, !xr(r) && (s = Pe[(a = String(r)).toLowerCase()], s === void 0))
1308
+ if (r = t, !Bs(t) && (r = Pe[(a = String(t)).toLowerCase()], r === void 0))
1309
1309
  throw new E(`Unknown adapter '${a}'`);
1310
- if (s)
1310
+ if (r)
1311
1311
  break;
1312
- n[a || "#" + o] = s;
1312
+ n[a || "#" + o] = r;
1313
1313
  }
1314
- if (!s) {
1314
+ if (!r) {
1315
1315
  const o = Object.entries(n).map(
1316
1316
  ([i, c]) => `adapter ${i} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
1317
1317
  );
@@ -1323,79 +1323,79 @@ const xe = (t) => `- ${t}`, xr = (t) => u.isFunction(t) || t === null || t === !
1323
1323
  "ERR_NOT_SUPPORT"
1324
1324
  );
1325
1325
  }
1326
- return s;
1326
+ return r;
1327
1327
  },
1328
1328
  adapters: Pe
1329
1329
  };
1330
- function Ee(t) {
1331
- if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1332
- throw new Q(null, t);
1330
+ function Ee(s) {
1331
+ if (s.cancelToken && s.cancelToken.throwIfRequested(), s.signal && s.signal.aborted)
1332
+ throw new Q(null, s);
1333
1333
  }
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), lt.getAdapter(t.adapter || Z.adapter)(t).then(function(s) {
1339
- return Ee(t), s.data = me.call(
1340
- t,
1341
- t.transformResponse,
1342
- s
1343
- ), s.headers = F.from(s.headers), s;
1344
- }, function(s) {
1345
- return st(s) || (Ee(t), s && s.response && (s.response.data = me.call(
1346
- t,
1347
- t.transformResponse,
1348
- s.response
1349
- ), s.response.headers = F.from(s.response.headers))), Promise.reject(s);
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,
1342
+ r
1343
+ ), r.headers = U.from(r.headers), r;
1344
+ }, function(r) {
1345
+ return nt(r) || (Ee(s), r && r.response && (r.response.data = me.call(
1346
+ s,
1347
+ s.transformResponse,
1348
+ r.response
1349
+ ), r.response.headers = U.from(r.response.headers))), Promise.reject(r);
1350
1350
  });
1351
1351
  }
1352
- const ut = "1.11.0", he = {};
1353
- ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1354
- he[t] = function(s) {
1355
- return typeof s === t || "a" + (e < 1 ? "n " : " ") + t;
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;
1356
1356
  };
1357
1357
  });
1358
1358
  const Me = {};
1359
- he.transitional = function(e, r, s) {
1359
+ he.transitional = function(e, t, r) {
1360
1360
  function n(o, a) {
1361
- return "[Axios v" + ut + "] Transitional option '" + o + "'" + a + (s ? ". " + s : "");
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" + (r ? " in " + r : "")),
1366
+ n(a, " has been removed" + (t ? " in " + t : "")),
1367
1367
  E.ERR_DEPRECATED
1368
1368
  );
1369
- return r && !Me[a] && (Me[a] = !0, console.warn(
1369
+ return t && !Me[a] && (Me[a] = !0, console.warn(
1370
1370
  n(
1371
1371
  a,
1372
- " has been deprecated since v" + r + " and will be removed in the near future"
1372
+ " has been deprecated since v" + t + " 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 (r, s) => (console.warn(`${s} is likely a misspelling of ${e}`), !0);
1378
+ return (t, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
1379
1379
  };
1380
- function Br(t, e, r) {
1381
- if (typeof t != "object")
1380
+ function Ms(s, e, t) {
1381
+ if (typeof s != "object")
1382
1382
  throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
1383
- const s = Object.keys(t);
1384
- let n = s.length;
1383
+ const r = Object.keys(s);
1384
+ let n = r.length;
1385
1385
  for (; n-- > 0; ) {
1386
- const o = s[n], a = e[o];
1386
+ const o = r[n], a = e[o];
1387
1387
  if (a) {
1388
- const i = t[o], c = i === void 0 || a(i, o, t);
1388
+ const i = s[o], c = i === void 0 || a(i, o, s);
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 (r !== !0)
1393
+ if (t !== !0)
1394
1394
  throw new E("Unknown option " + o, E.ERR_BAD_OPTION);
1395
1395
  }
1396
1396
  }
1397
1397
  const ne = {
1398
- assertOptions: Br,
1398
+ assertOptions: Ms,
1399
1399
  validators: he
1400
1400
  }, V = ne.validators;
1401
1401
  let k = class {
@@ -1413,53 +1413,53 @@ let k = class {
1413
1413
  *
1414
1414
  * @returns {Promise} The Promise to be fulfilled
1415
1415
  */
1416
- async request(e, r) {
1416
+ async request(e, t) {
1417
1417
  try {
1418
- return await this._request(e, r);
1419
- } catch (s) {
1420
- if (s instanceof Error) {
1418
+ return await this._request(e, t);
1419
+ } catch (r) {
1420
+ if (r instanceof Error) {
1421
1421
  let n = {};
1422
1422
  Error.captureStackTrace ? Error.captureStackTrace(n) : n = new Error();
1423
1423
  const o = n.stack ? n.stack.replace(/^.+\n/, "") : "";
1424
1424
  try {
1425
- s.stack ? o && !String(s.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (s.stack += `
1426
- ` + o) : s.stack = o;
1425
+ r.stack ? o && !String(r.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (r.stack += `
1426
+ ` + o) : r.stack = o;
1427
1427
  } catch {
1428
1428
  }
1429
1429
  }
1430
- throw s;
1430
+ throw r;
1431
1431
  }
1432
1432
  }
1433
- _request(e, r) {
1434
- typeof e == "string" ? (r = r || {}, r.url = e) : r = e || {}, r = v(this.defaults, r);
1435
- const { transitional: s, paramsSerializer: n, headers: o } = r;
1436
- s !== void 0 && ne.assertOptions(s, {
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;
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) ? r.paramsSerializer = {
1440
+ }, !1), n != null && (u.isFunction(n) ? t.paramsSerializer = {
1441
1441
  serialize: n
1442
1442
  } : ne.assertOptions(n, {
1443
1443
  encode: V.function,
1444
1444
  serialize: V.function
1445
- }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), ne.assertOptions(r, {
1445
+ }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), ne.assertOptions(t, {
1446
1446
  baseUrl: V.spelling("baseURL"),
1447
1447
  withXsrfToken: V.spelling("withXSRFToken")
1448
- }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
1448
+ }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
1449
1449
  let a = o && u.merge(
1450
1450
  o.common,
1451
- o[r.method]
1451
+ o[t.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
- ), r.headers = F.concat(a, o);
1458
+ ), t.headers = U.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(r) === !1 || (c = c && A.synchronous, i.unshift(A.fulfilled, A.rejected));
1462
+ typeof A.runWhen == "function" && A.runWhen(t) === !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(r); p < O; )
1471
+ for (h.unshift(...i), h.push(...l), O = h.length, d = Promise.resolve(t); 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 = r;
1476
+ let b = t;
1477
1477
  for (p = 0; p < O; ) {
1478
1478
  const h = i[p++], A = i[p++];
1479
1479
  try {
@@ -1494,25 +1494,25 @@ let k = class {
1494
1494
  }
1495
1495
  getUri(e) {
1496
1496
  e = v(this.defaults, e);
1497
- const r = ot(e.baseURL, e.url, e.allowAbsoluteUrls);
1498
- return et(r, e.params, e.paramsSerializer);
1497
+ const t = at(e.baseURL, e.url, e.allowAbsoluteUrls);
1498
+ return tt(t, e.params, e.paramsSerializer);
1499
1499
  }
1500
1500
  };
1501
1501
  u.forEach(["delete", "get", "head", "options"], function(e) {
1502
- k.prototype[e] = function(r, s) {
1503
- return this.request(v(s || {}, {
1502
+ k.prototype[e] = function(t, r) {
1503
+ return this.request(v(r || {}, {
1504
1504
  method: e,
1505
- url: r,
1506
- data: (s || {}).data
1505
+ url: t,
1506
+ data: (r || {}).data
1507
1507
  }));
1508
1508
  };
1509
1509
  });
1510
1510
  u.forEach(["post", "put", "patch"], function(e) {
1511
- function r(s) {
1511
+ function t(r) {
1512
1512
  return function(o, a, i) {
1513
1513
  return this.request(v(i || {}, {
1514
1514
  method: e,
1515
- headers: s ? {
1515
+ headers: r ? {
1516
1516
  "Content-Type": "multipart/form-data"
1517
1517
  } : {},
1518
1518
  url: o,
@@ -1520,33 +1520,33 @@ u.forEach(["post", "put", "patch"], function(e) {
1520
1520
  }));
1521
1521
  };
1522
1522
  }
1523
- k.prototype[e] = r(), k.prototype[e + "Form"] = r(!0);
1523
+ k.prototype[e] = t(), k.prototype[e + "Form"] = t(!0);
1524
1524
  });
1525
- let Mr = class dt {
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 r;
1529
+ let t;
1530
1530
  this.promise = new Promise(function(o) {
1531
- r = o;
1531
+ t = o;
1532
1532
  });
1533
- const s = this;
1533
+ const r = this;
1534
1534
  this.promise.then((n) => {
1535
- if (!s._listeners) return;
1536
- let o = s._listeners.length;
1535
+ if (!r._listeners) return;
1536
+ let o = r._listeners.length;
1537
1537
  for (; o-- > 0; )
1538
- s._listeners[o](n);
1539
- s._listeners = null;
1538
+ r._listeners[o](n);
1539
+ r._listeners = null;
1540
1540
  }), this.promise.then = (n) => {
1541
1541
  let o;
1542
1542
  const a = new Promise((i) => {
1543
- s.subscribe(i), o = i;
1543
+ r.subscribe(i), o = i;
1544
1544
  }).then(n);
1545
1545
  return a.cancel = function() {
1546
- s.unsubscribe(o);
1546
+ r.unsubscribe(o);
1547
1547
  }, a;
1548
1548
  }, e(function(o, a, i) {
1549
- s.reason || (s.reason = new Q(o, a, i), r(s.reason));
1549
+ r.reason || (r.reason = new Q(o, a, i), t(r.reason));
1550
1550
  });
1551
1551
  }
1552
1552
  /**
@@ -1572,14 +1572,14 @@ let Mr = class dt {
1572
1572
  unsubscribe(e) {
1573
1573
  if (!this._listeners)
1574
1574
  return;
1575
- const r = this._listeners.indexOf(e);
1576
- r !== -1 && this._listeners.splice(r, 1);
1575
+ const t = this._listeners.indexOf(e);
1576
+ t !== -1 && this._listeners.splice(t, 1);
1577
1577
  }
1578
1578
  toAbortSignal() {
1579
- const e = new AbortController(), r = (s) => {
1580
- e.abort(s);
1579
+ const e = new AbortController(), t = (r) => {
1580
+ e.abort(r);
1581
1581
  };
1582
- return this.subscribe(r), e.signal.unsubscribe = () => this.unsubscribe(r), e.signal;
1582
+ return this.subscribe(t), e.signal.unsubscribe = () => this.unsubscribe(t), e.signal;
1583
1583
  }
1584
1584
  /**
1585
1585
  * Returns an object that contains a new `CancelToken` and a function that, when called,
@@ -1588,22 +1588,22 @@ let Mr = class dt {
1588
1588
  static source() {
1589
1589
  let e;
1590
1590
  return {
1591
- token: new dt(function(n) {
1591
+ token: new pt(function(n) {
1592
1592
  e = n;
1593
1593
  }),
1594
1594
  cancel: e
1595
1595
  };
1596
1596
  }
1597
1597
  };
1598
- function jr(t) {
1599
- return function(r) {
1600
- return t.apply(null, r);
1598
+ function ks(s) {
1599
+ return function(t) {
1600
+ return s.apply(null, t);
1601
1601
  };
1602
1602
  }
1603
- function kr(t) {
1604
- return u.isObject(t) && t.isAxiosError === !0;
1603
+ function vs(s) {
1604
+ return u.isObject(s) && s.isAxiosError === !0;
1605
1605
  }
1606
- const ge = {
1606
+ const Te = {
1607
1607
  Continue: 100,
1608
1608
  SwitchingProtocols: 101,
1609
1609
  Processing: 102,
@@ -1668,107 +1668,107 @@ const ge = {
1668
1668
  NotExtended: 510,
1669
1669
  NetworkAuthenticationRequired: 511
1670
1670
  };
1671
- Object.entries(ge).forEach(([t, e]) => {
1672
- ge[e] = t;
1671
+ Object.entries(Te).forEach(([s, e]) => {
1672
+ Te[e] = s;
1673
1673
  });
1674
- function pt(t) {
1675
- const e = new k(t), r = ke(k.prototype.request, e);
1676
- return u.extend(r, k.prototype, e, { allOwnKeys: !0 }), u.extend(r, e, null, { allOwnKeys: !0 }), r.create = function(n) {
1677
- return pt(v(t, n));
1678
- }, r;
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;
1679
1679
  }
1680
- const m = pt(Z);
1680
+ const m = ht(Z);
1681
1681
  m.Axios = k;
1682
1682
  m.CanceledError = Q;
1683
- m.CancelToken = Mr;
1684
- m.isCancel = st;
1685
- m.VERSION = ut;
1683
+ m.CancelToken = js;
1684
+ m.isCancel = nt;
1685
+ m.VERSION = dt;
1686
1686
  m.toFormData = de;
1687
1687
  m.AxiosError = E;
1688
1688
  m.Cancel = m.CanceledError;
1689
1689
  m.all = function(e) {
1690
1690
  return Promise.all(e);
1691
1691
  };
1692
- m.spread = jr;
1693
- m.isAxiosError = kr;
1692
+ m.spread = ks;
1693
+ m.isAxiosError = vs;
1694
1694
  m.mergeConfig = v;
1695
- m.AxiosHeaders = F;
1696
- m.formToJSON = (t) => rt(u.isHTMLForm(t) ? new FormData(t) : t);
1697
- m.getAdapter = lt.getAdapter;
1698
- m.HttpStatusCode = ge;
1695
+ m.AxiosHeaders = U;
1696
+ m.formToJSON = (s) => rt(u.isHTMLForm(s) ? new FormData(s) : s);
1697
+ m.getAdapter = ut.getAdapter;
1698
+ m.HttpStatusCode = Te;
1699
1699
  m.default = m;
1700
1700
  const {
1701
- Axios: As,
1702
- AxiosError: Os,
1703
- CanceledError: ys,
1704
- isCancel: Ss,
1705
- CancelToken: Rs,
1706
- VERSION: Ps,
1707
- all: gs,
1708
- Cancel: Ts,
1709
- isAxiosError: Cs,
1710
- spread: bs,
1711
- toFormData: _s,
1712
- AxiosHeaders: ws,
1713
- HttpStatusCode: Is,
1714
- formToJSON: Ls,
1715
- getAdapter: Ns,
1716
- mergeConfig: Fs
1701
+ Axios: Ar,
1702
+ AxiosError: Or,
1703
+ CanceledError: yr,
1704
+ isCancel: Sr,
1705
+ CancelToken: Rr,
1706
+ VERSION: Pr,
1707
+ all: Tr,
1708
+ Cancel: gr,
1709
+ isAxiosError: Cr,
1710
+ spread: br,
1711
+ toFormData: _r,
1712
+ AxiosHeaders: wr,
1713
+ HttpStatusCode: Ir,
1714
+ formToJSON: Lr,
1715
+ getAdapter: Nr,
1716
+ mergeConfig: Ur
1717
1717
  } = m, S = "http://localhost:41101".replace(/\/+$/, "");
1718
1718
  class z {
1719
- constructor(e, r = S, s = m) {
1720
- this.basePath = r, this.axios = s, e && (this.configuration = e, this.basePath = e.basePath || this.basePath);
1719
+ constructor(e, t = S, r = m) {
1720
+ this.basePath = t, this.axios = r, e && (this.configuration = e, this.basePath = e.basePath || this.basePath);
1721
1721
  }
1722
1722
  }
1723
- class vr extends Error {
1724
- constructor(e, r) {
1725
- super(r), this.field = e, this.name = "RequiredError";
1723
+ class zs extends Error {
1724
+ constructor(e, t) {
1725
+ super(t), this.field = e, this.name = "RequiredError";
1726
1726
  }
1727
1727
  }
1728
- const R = "https://example.com", y = function(t, e, r) {
1729
- if (r == null)
1730
- throw new vr(e, `Required parameter ${e} was null or undefined when calling ${t}.`);
1731
- }, P = function(t, ...e) {
1732
- const r = new URLSearchParams(t.search);
1733
- for (const s of e)
1734
- for (const n in s)
1735
- if (Array.isArray(s[n])) {
1736
- r.delete(n);
1737
- for (const o of s[n])
1738
- r.append(n, o);
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);
1733
+ for (const r of e)
1734
+ for (const n in r)
1735
+ if (Array.isArray(r[n])) {
1736
+ t.delete(n);
1737
+ for (const o of r[n])
1738
+ t.append(n, o);
1739
1739
  } else
1740
- r.set(n, s[n]);
1741
- t.search = r.toString();
1742
- }, D = function(t, e, r) {
1743
- const s = typeof t != "string";
1744
- return (s && r && r.isJsonMime ? r.isJsonMime(e.headers["Content-Type"]) : s) ? JSON.stringify(t !== void 0 ? t : {}) : t || "";
1745
- }, g = function(t) {
1746
- return t.pathname + t.search + t.hash;
1747
- }, T = function(t, e, r, s) {
1748
- return (n = e, o = r) => {
1749
- const a = { ...t.options, url: ((s == null ? void 0 : s.basePath) || o) + t.url };
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 };
1750
1750
  return n.request(a);
1751
1751
  };
1752
- }, zr = function(t) {
1752
+ }, qs = function(s) {
1753
1753
  return {
1754
1754
  /**
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: - **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. - **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. You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and can not be automatically repeated. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones.
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/).
1756
1756
  * @summary detect and check quality
1757
1757
  * @param {DetectRequest} detectRequest
1758
1758
  * @param {string} [xRequestID] Request header label.
1759
1759
  * @param {*} [options] Override http request option.
1760
1760
  * @throws {RequiredError}
1761
1761
  */
1762
- detect: async (e, r, s = {}) => {
1762
+ detect: async (e, t, r = {}) => {
1763
1763
  y("detect", "detectRequest", e);
1764
1764
  const n = "/api/detect", o = new URL(n, R);
1765
1765
  let a;
1766
- t && (a = t.baseOptions);
1767
- const i = { method: "POST", ...a, ...s }, c = {}, l = {};
1768
- r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(o, l);
1766
+ s && (a = s.baseOptions);
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);
1769
1769
  let d = a && a.headers ? a.headers : {};
1770
- return i.headers = { ...c, ...d, ...s.headers }, i.data = D(e, i, t), {
1771
- url: g(o),
1770
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1771
+ url: T(o),
1772
1772
  options: i
1773
1773
  };
1774
1774
  },
@@ -1780,16 +1780,16 @@ const R = "https://example.com", y = function(t, e, r) {
1780
1780
  * @param {*} [options] Override http request option.
1781
1781
  * @throws {RequiredError}
1782
1782
  */
1783
- match: async (e, r, s = {}) => {
1783
+ match: async (e, t, r = {}) => {
1784
1784
  y("match", "matchRequest", e);
1785
1785
  const n = "/api/match", o = new URL(n, R);
1786
1786
  let a;
1787
- t && (a = t.baseOptions);
1788
- const i = { method: "POST", ...a, ...s }, c = {}, l = {};
1789
- r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(o, l);
1787
+ s && (a = s.baseOptions);
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);
1790
1790
  let d = a && a.headers ? a.headers : {};
1791
- return i.headers = { ...c, ...d, ...s.headers }, i.data = D(e, i, t), {
1792
- url: g(o),
1791
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1792
+ url: T(o),
1793
1793
  options: i
1794
1794
  };
1795
1795
  },
@@ -1801,34 +1801,34 @@ const R = "https://example.com", y = function(t, e, r) {
1801
1801
  * @param {*} [options] Override http request option.
1802
1802
  * @throws {RequiredError}
1803
1803
  */
1804
- matchAndSearch: async (e, r, s = {}) => {
1804
+ matchAndSearch: async (e, t, r = {}) => {
1805
1805
  y("matchAndSearch", "matchAndSearchRequest", e);
1806
1806
  const n = "/api/match_and_search", o = new URL(n, R);
1807
1807
  let a;
1808
- t && (a = t.baseOptions);
1809
- const i = { method: "POST", ...a, ...s }, c = {}, l = {};
1810
- r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(o, l);
1808
+ s && (a = s.baseOptions);
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);
1811
1811
  let d = a && a.headers ? a.headers : {};
1812
- return i.headers = { ...c, ...d, ...s.headers }, i.data = D(e, i, t), {
1813
- url: g(o),
1812
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
1813
+ url: T(o),
1814
1814
  options: i
1815
1815
  };
1816
1816
  }
1817
1817
  };
1818
- }, Ae = function(t) {
1819
- const e = zr(t);
1818
+ }, Ae = function(s) {
1819
+ const e = qs(s);
1820
1820
  return {
1821
1821
  /**
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: - **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. - **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. You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and can not be automatically repeated. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones.
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/).
1823
1823
  * @summary detect and check quality
1824
1824
  * @param {DetectRequest} detectRequest
1825
1825
  * @param {string} [xRequestID] Request header label.
1826
1826
  * @param {*} [options] Override http request option.
1827
1827
  * @throws {RequiredError}
1828
1828
  */
1829
- async detect(r, s, n) {
1830
- const o = await e.detect(r, s, n);
1831
- return T(o, m, S, t);
1829
+ async detect(t, r, n) {
1830
+ const o = await e.detect(t, r, n);
1831
+ return g(o, m, S, s);
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(t, e, r) {
1838
1838
  * @param {*} [options] Override http request option.
1839
1839
  * @throws {RequiredError}
1840
1840
  */
1841
- async match(r, s, n) {
1842
- const o = await e.match(r, s, n);
1843
- return T(o, m, S, t);
1841
+ async match(t, r, n) {
1842
+ const o = await e.match(t, r, n);
1843
+ return g(o, m, S, s);
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. If only one person is identified, match is not performed and only search is carried out.
@@ -1850,15 +1850,15 @@ const R = "https://example.com", y = function(t, e, r) {
1850
1850
  * @param {*} [options] Override http request option.
1851
1851
  * @throws {RequiredError}
1852
1852
  */
1853
- async matchAndSearch(r, s, n) {
1854
- const o = await e.matchAndSearch(r, s, n);
1855
- return T(o, m, S, t);
1853
+ async matchAndSearch(t, r, n) {
1854
+ const o = await e.matchAndSearch(t, r, n);
1855
+ return g(o, m, S, s);
1856
1856
  }
1857
1857
  };
1858
1858
  };
1859
- let $r = class extends z {
1859
+ let $s = class extends z {
1860
1860
  /**
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: - **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. - **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. You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and can not be automatically repeated. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones.
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
1863
1863
  * @param {DetectRequest} detectRequest
1864
1864
  * @param {string} [xRequestID] Request header label.
@@ -1866,8 +1866,8 @@ let $r = class extends z {
1866
1866
  * @throws {RequiredError}
1867
1867
  * @memberof MatchApi
1868
1868
  */
1869
- detect(e, r, s) {
1870
- return Ae(this.configuration).detect(e, r, s).then((n) => n(this.axios, this.basePath));
1869
+ detect(e, t, r) {
1870
+ return Ae(this.configuration).detect(e, t, 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 $r = class extends z {
1878
1878
  * @throws {RequiredError}
1879
1879
  * @memberof MatchApi
1880
1880
  */
1881
- match(e, r, s) {
1882
- return Ae(this.configuration).match(e, r, s).then((n) => n(this.axios, this.basePath));
1881
+ match(e, t, r) {
1882
+ return Ae(this.configuration).match(e, t, 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. If only one person is identified, match is not performed and only search is carried out.
@@ -1890,11 +1890,11 @@ let $r = class extends z {
1890
1890
  * @throws {RequiredError}
1891
1891
  * @memberof MatchApi
1892
1892
  */
1893
- matchAndSearch(e, r, s) {
1894
- return Ae(this.configuration).matchAndSearch(e, r, s).then((n) => n(this.axios, this.basePath));
1893
+ matchAndSearch(e, t, r) {
1894
+ return Ae(this.configuration).matchAndSearch(e, t, r).then((n) => n(this.axios, this.basePath));
1895
1895
  }
1896
1896
  };
1897
- const Vs = {
1897
+ const Vr = {
1898
1898
  AGE: "Age",
1899
1899
  EMOTION: "Emotion",
1900
1900
  EYE_LEFT: "EyeLeft",
@@ -1908,13 +1908,13 @@ const Vs = {
1908
1908
  OCCLUSION: "Occlusion",
1909
1909
  STRONG_MAKEUP: "StrongMakeup",
1910
1910
  HEADPHONES: "Headphones"
1911
- }, Ds = {
1911
+ }, Dr = {
1912
1912
  ALIGN_3x4: 0,
1913
1913
  ALIGN_4x5: 1,
1914
1914
  ALIGN_2x3: 2,
1915
1915
  ALIGN_1x1: 3,
1916
1916
  ALIGN_7x9: 4
1917
- }, Gs = {
1917
+ }, Gr = {
1918
1918
  IMAGE_CHARACTERISTICS: 1,
1919
1919
  HEAD_SIZE_AND_POSITIONS: 2,
1920
1920
  FACE_QUALITY: 3,
@@ -1923,7 +1923,7 @@ const Vs = {
1923
1923
  POSE_AND_EXPRESSION: 6,
1924
1924
  HEAD_OCCLUSION: 7,
1925
1925
  BACKGROUND: 8
1926
- }, Hs = {
1926
+ }, Hr = {
1927
1927
  IMAGE_CHARACTERISTICS: "ImageCharacteristics",
1928
1928
  HEAD_SIZE_AND_POSITIONS: "HeadSizeAndPosition",
1929
1929
  FACE_QUALITY: "FaceQuality",
@@ -1932,11 +1932,11 @@ const Vs = {
1932
1932
  POSE_AND_EXPRESSION: "PoseAndExpression",
1933
1933
  HEAD_OCCLUSION: "HeadOcclusion",
1934
1934
  BACKGROUND: "Background"
1935
- }, xs = {
1935
+ }, xr = {
1936
1936
  QUALITY_STATUS_FALSE: 0,
1937
1937
  QUALITY_STATUS_TRUE: 1,
1938
1938
  QUALITY_STATUS_UNDETERMINED: 2
1939
- }, Bs = {
1939
+ }, Br = {
1940
1940
  IMAGE_WIDTH: "ImageWidth",
1941
1941
  IMAGE_HEIGHT: "ImageHeight",
1942
1942
  IMAGE_WIDTH_TO_HEIGHT: "ImageWidthToHeight",
@@ -1985,7 +1985,7 @@ const Vs = {
1985
1985
  BACKGROUND_COLOR_MATCH: "BackgroundColorMatch",
1986
1986
  ART_FACE: "ArtFace",
1987
1987
  CONTACT_LENSES: "ContactLenses"
1988
- }, Ms = {
1988
+ }, Mr = {
1989
1989
  OLD_MODE: "OldMode",
1990
1990
  QUALITY_FULL: "QualityFull",
1991
1991
  QUALITY_ICAO: "QualityICAO",
@@ -1994,8 +1994,9 @@ const Vs = {
1994
1994
  CROP_CENTRAL_FACE: "CropCentralFace",
1995
1995
  CROP_ALL_FACES: "CropAllFaces",
1996
1996
  THUMBNAIL: "Thumbnail",
1997
+ ATTRIBUTES_ALL: "AttributesAll",
1997
1998
  EMPTY: ""
1998
- }, js = {
1999
+ }, jr = {
1999
2000
  FACER_OK: 0,
2000
2001
  FR_IMAGE_EMPTY: 1,
2001
2002
  FR_FACE_NOT_DETECTED: 2,
@@ -2037,10 +2038,10 @@ const Vs = {
2037
2038
  FACER_ABORTED_LIVENESS_TRANSACTION: 252,
2038
2039
  FACER_GENERAL_ERROR: 253,
2039
2040
  FACER_PASSIVE_LIVENESS_FAIL: 254
2040
- }, ks = {
2041
+ }, kr = {
2041
2042
  IN: "in",
2042
2043
  NOT_IN: "nin"
2043
- }, qr = {
2044
+ }, Qs = {
2044
2045
  DOCUMENT_PRINTED: 1,
2045
2046
  DOCUMENT_RFID: 2,
2046
2047
  LIVE: 3,
@@ -2048,33 +2049,33 @@ const Vs = {
2048
2049
  EXTERNAL: 5,
2049
2050
  GHOST: 6,
2050
2051
  BARCODE: 7
2051
- }, vs = {
2052
+ }, vr = {
2052
2053
  ACTIVE: 0,
2053
2054
  PASSIVE: 1
2054
2055
  };
2055
- var $ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Qr = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
2056
- for (var te = 0; te < $.length; te++)
2057
- Qr[$.charCodeAt(te)] = te;
2058
- var ie = function(t) {
2059
- var e = new Uint8Array(t), r, s = e.length, n = "";
2060
- for (r = 0; r < s; r += 3)
2061
- n += $[e[r] >> 2], n += $[(e[r] & 3) << 4 | e[r + 1] >> 4], n += $[(e[r + 1] & 15) << 2 | e[r + 2] >> 6], n += $[e[r + 2] & 63];
2062
- return s % 3 === 2 ? n = n.substring(0, n.length - 1) + "=" : s % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="), n;
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];
2063
+ return r % 3 === 2 ? n = n.substring(0, n.length - 1) + "=" : r % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="), n;
2063
2064
  };
2064
- class Wr {
2065
- constructor(e, r, s) {
2066
- this.superClass = new $r(e, r, s);
2065
+ class Ks {
2066
+ constructor(e, t, r) {
2067
+ this.superClass = new $s(e, t, r);
2067
2068
  }
2068
- async match(e, r, s) {
2069
+ async match(e, t, r) {
2069
2070
  for (const o of e.images)
2070
- o.type || (o.type = qr.LIVE), typeof o.data != "string" && (o.data = ie(o.data));
2071
- return (await this.superClass.match(e, r, s)).data;
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
2073
  }
2073
- async detect(e, r, s) {
2074
- return e.image && typeof e.image != "string" && (e.image = ie(e.image)), (await this.superClass.detect(e, r, s)).data;
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;
2075
2076
  }
2076
2077
  }
2077
- const Kr = function(t) {
2078
+ const Xs = function(s) {
2078
2079
  return {
2079
2080
  /**
2080
2081
  *
@@ -2084,16 +2085,16 @@ const Kr = function(t) {
2084
2085
  * @param {*} [options] Override http request option.
2085
2086
  * @throws {RequiredError}
2086
2087
  */
2087
- createGroup: async (e, r, s = {}) => {
2088
+ createGroup: async (e, t, r = {}) => {
2088
2089
  y("createGroup", "groupToCreate", e);
2089
2090
  const n = "/api/groups", o = new URL(n, R);
2090
2091
  let a;
2091
- t && (a = t.baseOptions);
2092
- const i = { method: "POST", ...a, ...s }, c = {}, l = {};
2093
- r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(o, l);
2092
+ s && (a = s.baseOptions);
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
2095
  let d = a && a.headers ? a.headers : {};
2095
- return i.headers = { ...c, ...d, ...s.headers }, i.data = D(e, i, t), {
2096
- url: g(o),
2096
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
2097
+ url: T(o),
2097
2098
  options: i
2098
2099
  };
2099
2100
  },
@@ -2105,16 +2106,16 @@ const Kr = function(t) {
2105
2106
  * @param {*} [options] Override http request option.
2106
2107
  * @throws {RequiredError}
2107
2108
  */
2108
- deleteGroup: async (e, r, s = {}) => {
2109
+ deleteGroup: async (e, t, r = {}) => {
2109
2110
  y("deleteGroup", "groupId", e);
2110
2111
  const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, R);
2111
2112
  let a;
2112
- t && (a = t.baseOptions);
2113
- const i = { method: "DELETE", ...a, ...s }, c = {}, l = {};
2114
- r != null && (c["X-RequestID"] = String(r)), P(o, l);
2113
+ s && (a = s.baseOptions);
2114
+ const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
2115
+ t != null && (c["X-RequestID"] = String(t)), P(o, l);
2115
2116
  let d = a && a.headers ? a.headers : {};
2116
- return i.headers = { ...c, ...d, ...s.headers }, {
2117
- url: g(o),
2117
+ return i.headers = { ...c, ...d, ...r.headers }, {
2118
+ url: T(o),
2118
2119
  options: i
2119
2120
  };
2120
2121
  },
@@ -2127,15 +2128,15 @@ const Kr = function(t) {
2127
2128
  * @param {*} [options] Override http request option.
2128
2129
  * @throws {RequiredError}
2129
2130
  */
2130
- getAllGroups: async (e, r, s, n = {}) => {
2131
+ getAllGroups: async (e, t, r, n = {}) => {
2131
2132
  const o = "/api/groups", a = new URL(o, R);
2132
2133
  let i;
2133
- t && (i = t.baseOptions);
2134
+ s && (i = s.baseOptions);
2134
2135
  const c = { method: "GET", ...i, ...n }, l = {}, d = {};
2135
- e !== void 0 && (d.page = e), r !== void 0 && (d.size = r), s != null && (l["X-RequestID"] = String(s)), P(a, 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
2137
  let p = i && i.headers ? i.headers : {};
2137
2138
  return c.headers = { ...l, ...p, ...n.headers }, {
2138
- url: g(a),
2139
+ url: T(a),
2139
2140
  options: c
2140
2141
  };
2141
2142
  },
@@ -2149,16 +2150,16 @@ const Kr = function(t) {
2149
2150
  * @param {*} [options] Override http request option.
2150
2151
  * @throws {RequiredError}
2151
2152
  */
2152
- getAllPersonsByGroupId: async (e, r, s, n, o = {}) => {
2153
+ getAllPersonsByGroupId: async (e, t, r, n, o = {}) => {
2153
2154
  y("getAllPersonsByGroupId", "groupId", e);
2154
2155
  const a = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), i = new URL(a, R);
2155
2156
  let c;
2156
- t && (c = t.baseOptions);
2157
+ s && (c = s.baseOptions);
2157
2158
  const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2158
- r !== void 0 && (p.page = r), s !== void 0 && (p.size = s), n != null && (d["X-RequestID"] = String(n)), P(i, 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
2160
  let O = c && c.headers ? c.headers : {};
2160
2161
  return l.headers = { ...d, ...O, ...o.headers }, {
2161
- url: g(i),
2162
+ url: T(i),
2162
2163
  options: l
2163
2164
  };
2164
2165
  },
@@ -2170,16 +2171,16 @@ const Kr = function(t) {
2170
2171
  * @param {*} [options] Override http request option.
2171
2172
  * @throws {RequiredError}
2172
2173
  */
2173
- getGroup: async (e, r, s = {}) => {
2174
+ getGroup: async (e, t, r = {}) => {
2174
2175
  y("getGroup", "groupId", e);
2175
2176
  const n = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), o = new URL(n, R);
2176
2177
  let a;
2177
- t && (a = t.baseOptions);
2178
- const i = { method: "GET", ...a, ...s }, c = {}, l = {};
2179
- r != null && (c["X-RequestID"] = String(r)), P(o, l);
2178
+ s && (a = s.baseOptions);
2179
+ const i = { method: "GET", ...a, ...r }, c = {}, l = {};
2180
+ t != null && (c["X-RequestID"] = String(t)), P(o, l);
2180
2181
  let d = a && a.headers ? a.headers : {};
2181
- return i.headers = { ...c, ...d, ...s.headers }, {
2182
- url: g(o),
2182
+ return i.headers = { ...c, ...d, ...r.headers }, {
2183
+ url: T(o),
2183
2184
  options: i
2184
2185
  };
2185
2186
  },
@@ -2192,16 +2193,16 @@ const Kr = function(t) {
2192
2193
  * @param {*} [options] Override http request option.
2193
2194
  * @throws {RequiredError}
2194
2195
  */
2195
- updateGroup: async (e, r, s, n = {}) => {
2196
- y("updateGroup", "groupId", e), y("updateGroup", "groupToCreate", r);
2196
+ updateGroup: async (e, t, r, n = {}) => {
2197
+ y("updateGroup", "groupId", e), y("updateGroup", "groupToCreate", t);
2197
2198
  const o = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, R);
2198
2199
  let i;
2199
- t && (i = t.baseOptions);
2200
+ s && (i = s.baseOptions);
2200
2201
  const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2201
- s != null && (l["X-RequestID"] = String(s)), l["Content-Type"] = "application/json", P(a, d);
2202
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2202
2203
  let p = i && i.headers ? i.headers : {};
2203
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(r, c, t), {
2204
- url: g(a),
2204
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2205
+ url: T(a),
2205
2206
  options: c
2206
2207
  };
2207
2208
  },
@@ -2214,22 +2215,22 @@ const Kr = function(t) {
2214
2215
  * @param {*} [options] Override http request option.
2215
2216
  * @throws {RequiredError}
2216
2217
  */
2217
- updatePersonsInGroup: async (e, r, s, n = {}) => {
2218
- y("updatePersonsInGroup", "groupId", e), y("updatePersonsInGroup", "updateGroup", r);
2218
+ updatePersonsInGroup: async (e, t, r, n = {}) => {
2219
+ y("updatePersonsInGroup", "groupId", e), y("updatePersonsInGroup", "updateGroup", t);
2219
2220
  const o = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(e))), a = new URL(o, R);
2220
2221
  let i;
2221
- t && (i = t.baseOptions);
2222
+ s && (i = s.baseOptions);
2222
2223
  const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2223
- s != null && (l["X-RequestID"] = String(s)), l["Content-Type"] = "application/json", P(a, d);
2224
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2224
2225
  let p = i && i.headers ? i.headers : {};
2225
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(r, c, t), {
2226
- url: g(a),
2226
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2227
+ url: T(a),
2227
2228
  options: c
2228
2229
  };
2229
2230
  }
2230
2231
  };
2231
- }, M = function(t) {
2232
- const e = Kr(t);
2232
+ }, M = function(s) {
2233
+ const e = Xs(s);
2233
2234
  return {
2234
2235
  /**
2235
2236
  *
@@ -2239,9 +2240,9 @@ const Kr = function(t) {
2239
2240
  * @param {*} [options] Override http request option.
2240
2241
  * @throws {RequiredError}
2241
2242
  */
2242
- async createGroup(r, s, n) {
2243
- const o = await e.createGroup(r, s, n);
2244
- return T(o, m, S, t);
2243
+ async createGroup(t, r, n) {
2244
+ const o = await e.createGroup(t, r, n);
2245
+ return g(o, m, S, s);
2245
2246
  },
2246
2247
  /**
2247
2248
  *
@@ -2251,9 +2252,9 @@ const Kr = function(t) {
2251
2252
  * @param {*} [options] Override http request option.
2252
2253
  * @throws {RequiredError}
2253
2254
  */
2254
- async deleteGroup(r, s, n) {
2255
- const o = await e.deleteGroup(r, s, n);
2256
- return T(o, m, S, t);
2255
+ async deleteGroup(t, r, n) {
2256
+ const o = await e.deleteGroup(t, r, n);
2257
+ return g(o, m, S, s);
2257
2258
  },
2258
2259
  /**
2259
2260
  *
@@ -2264,9 +2265,9 @@ const Kr = function(t) {
2264
2265
  * @param {*} [options] Override http request option.
2265
2266
  * @throws {RequiredError}
2266
2267
  */
2267
- async getAllGroups(r, s, n, o) {
2268
- const a = await e.getAllGroups(r, s, n, o);
2269
- return T(a, m, S, t);
2268
+ async getAllGroups(t, r, n, o) {
2269
+ const a = await e.getAllGroups(t, r, n, o);
2270
+ return g(a, m, S, s);
2270
2271
  },
2271
2272
  /**
2272
2273
  *
@@ -2278,9 +2279,9 @@ const Kr = function(t) {
2278
2279
  * @param {*} [options] Override http request option.
2279
2280
  * @throws {RequiredError}
2280
2281
  */
2281
- async getAllPersonsByGroupId(r, s, n, o, a) {
2282
- const i = await e.getAllPersonsByGroupId(r, s, n, o, a);
2283
- return T(i, m, S, t);
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);
2284
2285
  },
2285
2286
  /**
2286
2287
  *
@@ -2290,9 +2291,9 @@ const Kr = function(t) {
2290
2291
  * @param {*} [options] Override http request option.
2291
2292
  * @throws {RequiredError}
2292
2293
  */
2293
- async getGroup(r, s, n) {
2294
- const o = await e.getGroup(r, s, n);
2295
- return T(o, m, S, t);
2294
+ async getGroup(t, r, n) {
2295
+ const o = await e.getGroup(t, r, n);
2296
+ return g(o, m, S, s);
2296
2297
  },
2297
2298
  /**
2298
2299
  *
@@ -2303,9 +2304,9 @@ const Kr = function(t) {
2303
2304
  * @param {*} [options] Override http request option.
2304
2305
  * @throws {RequiredError}
2305
2306
  */
2306
- async updateGroup(r, s, n, o) {
2307
- const a = await e.updateGroup(r, s, n, o);
2308
- return T(a, m, S, t);
2307
+ async updateGroup(t, r, n, o) {
2308
+ const a = await e.updateGroup(t, r, n, o);
2309
+ return g(a, m, S, s);
2309
2310
  },
2310
2311
  /**
2311
2312
  *
@@ -2316,13 +2317,13 @@ const Kr = function(t) {
2316
2317
  * @param {*} [options] Override http request option.
2317
2318
  * @throws {RequiredError}
2318
2319
  */
2319
- async updatePersonsInGroup(r, s, n, o) {
2320
- const a = await e.updatePersonsInGroup(r, s, n, o);
2321
- return T(a, m, S, t);
2320
+ async updatePersonsInGroup(t, r, n, o) {
2321
+ const a = await e.updatePersonsInGroup(t, r, n, o);
2322
+ return g(a, m, S, s);
2322
2323
  }
2323
2324
  };
2324
2325
  };
2325
- let Xr = class extends z {
2326
+ let Js = class extends z {
2326
2327
  /**
2327
2328
  *
2328
2329
  * @summary Create group
@@ -2332,8 +2333,8 @@ let Xr = class extends z {
2332
2333
  * @throws {RequiredError}
2333
2334
  * @memberof GroupApi
2334
2335
  */
2335
- createGroup(e, r, s) {
2336
- return M(this.configuration).createGroup(e, r, s).then((n) => n(this.axios, this.basePath));
2336
+ createGroup(e, t, r) {
2337
+ return M(this.configuration).createGroup(e, t, r).then((n) => n(this.axios, this.basePath));
2337
2338
  }
2338
2339
  /**
2339
2340
  *
@@ -2344,8 +2345,8 @@ let Xr = class extends z {
2344
2345
  * @throws {RequiredError}
2345
2346
  * @memberof GroupApi
2346
2347
  */
2347
- deleteGroup(e, r, s) {
2348
- return M(this.configuration).deleteGroup(e, r, s).then((n) => n(this.axios, this.basePath));
2348
+ deleteGroup(e, t, r) {
2349
+ return M(this.configuration).deleteGroup(e, t, r).then((n) => n(this.axios, this.basePath));
2349
2350
  }
2350
2351
  /**
2351
2352
  *
@@ -2357,8 +2358,8 @@ let Xr = class extends z {
2357
2358
  * @throws {RequiredError}
2358
2359
  * @memberof GroupApi
2359
2360
  */
2360
- getAllGroups(e, r, s, n) {
2361
- return M(this.configuration).getAllGroups(e, r, s, n).then((o) => o(this.axios, this.basePath));
2361
+ getAllGroups(e, t, r, n) {
2362
+ return M(this.configuration).getAllGroups(e, t, r, n).then((o) => o(this.axios, this.basePath));
2362
2363
  }
2363
2364
  /**
2364
2365
  *
@@ -2371,8 +2372,8 @@ let Xr = class extends z {
2371
2372
  * @throws {RequiredError}
2372
2373
  * @memberof GroupApi
2373
2374
  */
2374
- getAllPersonsByGroupId(e, r, s, n, o) {
2375
- return M(this.configuration).getAllPersonsByGroupId(e, r, s, n, o).then((a) => a(this.axios, this.basePath));
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));
2376
2377
  }
2377
2378
  /**
2378
2379
  *
@@ -2383,8 +2384,8 @@ let Xr = class extends z {
2383
2384
  * @throws {RequiredError}
2384
2385
  * @memberof GroupApi
2385
2386
  */
2386
- getGroup(e, r, s) {
2387
- return M(this.configuration).getGroup(e, r, s).then((n) => n(this.axios, this.basePath));
2387
+ getGroup(e, t, r) {
2388
+ return M(this.configuration).getGroup(e, t, r).then((n) => n(this.axios, this.basePath));
2388
2389
  }
2389
2390
  /**
2390
2391
  *
@@ -2396,8 +2397,8 @@ let Xr = class extends z {
2396
2397
  * @throws {RequiredError}
2397
2398
  * @memberof GroupApi
2398
2399
  */
2399
- updateGroup(e, r, s, n) {
2400
- return M(this.configuration).updateGroup(e, r, s, n).then((o) => o(this.axios, this.basePath));
2400
+ updateGroup(e, t, r, n) {
2401
+ return M(this.configuration).updateGroup(e, t, r, n).then((o) => o(this.axios, this.basePath));
2401
2402
  }
2402
2403
  /**
2403
2404
  *
@@ -2409,41 +2410,41 @@ let Xr = class extends z {
2409
2410
  * @throws {RequiredError}
2410
2411
  * @memberof GroupApi
2411
2412
  */
2412
- updatePersonsInGroup(e, r, s, n) {
2413
- return M(this.configuration).updatePersonsInGroup(e, r, s, n).then((o) => o(this.axios, this.basePath));
2413
+ updatePersonsInGroup(e, t, r, n) {
2414
+ return M(this.configuration).updatePersonsInGroup(e, t, r, n).then((o) => o(this.axios, this.basePath));
2414
2415
  }
2415
2416
  };
2416
- class Jr {
2417
- constructor(e, r, s) {
2418
- this.superClass = new Xr(e, r, s);
2417
+ class Ys {
2418
+ constructor(e, t, r) {
2419
+ this.superClass = new Js(e, t, r);
2419
2420
  }
2420
- async createGroup(e, r, s) {
2421
+ async createGroup(e, t, r) {
2421
2422
  const n = {
2422
2423
  ...e,
2423
2424
  metadata: e != null && e.metadata ? e.metadata : {}
2424
2425
  };
2425
- return (await this.superClass.createGroup(n, r, s)).data;
2426
+ return (await this.superClass.createGroup(n, t, r)).data;
2426
2427
  }
2427
- async deleteGroup(e, r, s) {
2428
- await this.superClass.deleteGroup(e, r, s);
2428
+ async deleteGroup(e, t, r) {
2429
+ await this.superClass.deleteGroup(e, t, r);
2429
2430
  }
2430
- async getAllGroups(e, r, s, n) {
2431
- return (await this.superClass.getAllGroups(e, r, s, n)).data;
2431
+ async getAllGroups(e, t, r, n) {
2432
+ return (await this.superClass.getAllGroups(e, t, r, n)).data;
2432
2433
  }
2433
- async getAllPersonsByGroupId(e, r, s, n, o) {
2434
- return (await this.superClass.getAllPersonsByGroupId(s, e, r, n, o)).data;
2434
+ async getAllPersonsByGroupId(e, t, r, n, o) {
2435
+ return (await this.superClass.getAllPersonsByGroupId(r, e, t, n, o)).data;
2435
2436
  }
2436
- async getGroup(e, r, s) {
2437
- return (await this.superClass.getGroup(e, r, s)).data;
2437
+ async getGroup(e, t, r) {
2438
+ return (await this.superClass.getGroup(e, t, r)).data;
2438
2439
  }
2439
- async updateGroup(e, r, s, n) {
2440
- await this.superClass.updateGroup(e, r, s, n);
2440
+ async updateGroup(e, t, r, n) {
2441
+ await this.superClass.updateGroup(e, t, r, n);
2441
2442
  }
2442
- async updatePersonsInGroup(e, r, s, n) {
2443
- await this.superClass.updatePersonsInGroup(e, r, s, n);
2443
+ async updatePersonsInGroup(e, t, r, n) {
2444
+ await this.superClass.updatePersonsInGroup(e, t, r, n);
2444
2445
  }
2445
2446
  }
2446
- const Yr = function(t) {
2447
+ const Zs = function(s) {
2447
2448
  return {
2448
2449
  /**
2449
2450
  *
@@ -2454,37 +2455,37 @@ const Yr = function(t) {
2454
2455
  * @param {*} [options] Override http request option.
2455
2456
  * @throws {RequiredError}
2456
2457
  */
2457
- addImageToPerson: async (e, r, s, n = {}) => {
2458
- y("addImageToPerson", "personId", e), y("addImageToPerson", "addImageToPersonRequest", r);
2458
+ addImageToPerson: async (e, t, r, n = {}) => {
2459
+ y("addImageToPerson", "personId", e), y("addImageToPerson", "addImageToPersonRequest", t);
2459
2460
  const o = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, R);
2460
2461
  let i;
2461
- t && (i = t.baseOptions);
2462
+ s && (i = s.baseOptions);
2462
2463
  const c = { method: "POST", ...i, ...n }, l = {}, d = {};
2463
- s != null && (l["X-RequestID"] = String(s)), l["Content-Type"] = "application/json", P(a, d);
2464
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2464
2465
  let p = i && i.headers ? i.headers : {};
2465
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(r, c, t), {
2466
- url: g(a),
2466
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2467
+ url: T(a),
2467
2468
  options: c
2468
2469
  };
2469
2470
  },
2470
2471
  /**
2471
2472
  *
2472
2473
  * @summary Create person
2473
- * @param {PersonFields} personFields
2474
+ * @param {PersonsRequest} personsRequest
2474
2475
  * @param {string} [xRequestID] Request header label.
2475
2476
  * @param {*} [options] Override http request option.
2476
2477
  * @throws {RequiredError}
2477
2478
  */
2478
- createPerson: async (e, r, s = {}) => {
2479
- y("createPerson", "personFields", e);
2479
+ createPerson: async (e, t, r = {}) => {
2480
+ y("createPerson", "personsRequest", e);
2480
2481
  const n = "/api/persons", o = new URL(n, R);
2481
2482
  let a;
2482
- t && (a = t.baseOptions);
2483
- const i = { method: "POST", ...a, ...s }, c = {}, l = {};
2484
- r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(o, l);
2483
+ s && (a = s.baseOptions);
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
2486
  let d = a && a.headers ? a.headers : {};
2486
- return i.headers = { ...c, ...d, ...s.headers }, i.data = D(e, i, t), {
2487
- url: g(o),
2487
+ return i.headers = { ...c, ...d, ...r.headers }, i.data = D(e, i, s), {
2488
+ url: T(o),
2488
2489
  options: i
2489
2490
  };
2490
2491
  },
@@ -2497,16 +2498,16 @@ const Yr = function(t) {
2497
2498
  * @param {*} [options] Override http request option.
2498
2499
  * @throws {RequiredError}
2499
2500
  */
2500
- deleteImageOfPerson: async (e, r, s, n = {}) => {
2501
- y("deleteImageOfPerson", "imageId", e), y("deleteImageOfPerson", "personId", r);
2502
- const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(r))), a = new URL(o, R);
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);
2503
2504
  let i;
2504
- t && (i = t.baseOptions);
2505
+ s && (i = s.baseOptions);
2505
2506
  const c = { method: "DELETE", ...i, ...n }, l = {}, d = {};
2506
- s != null && (l["X-RequestID"] = String(s)), P(a, d);
2507
+ r != null && (l["X-RequestID"] = String(r)), P(a, d);
2507
2508
  let p = i && i.headers ? i.headers : {};
2508
2509
  return c.headers = { ...l, ...p, ...n.headers }, {
2509
- url: g(a),
2510
+ url: T(a),
2510
2511
  options: c
2511
2512
  };
2512
2513
  },
@@ -2518,16 +2519,16 @@ const Yr = function(t) {
2518
2519
  * @param {*} [options] Override http request option.
2519
2520
  * @throws {RequiredError}
2520
2521
  */
2521
- deletePerson: async (e, r, s = {}) => {
2522
+ deletePerson: async (e, t, r = {}) => {
2522
2523
  y("deletePerson", "personId", e);
2523
2524
  const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, R);
2524
2525
  let a;
2525
- t && (a = t.baseOptions);
2526
- const i = { method: "DELETE", ...a, ...s }, c = {}, l = {};
2527
- r != null && (c["X-RequestID"] = String(r)), P(o, l);
2526
+ s && (a = s.baseOptions);
2527
+ const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
2528
+ t != null && (c["X-RequestID"] = String(t)), P(o, l);
2528
2529
  let d = a && a.headers ? a.headers : {};
2529
- return i.headers = { ...c, ...d, ...s.headers }, {
2530
- url: g(o),
2530
+ return i.headers = { ...c, ...d, ...r.headers }, {
2531
+ url: T(o),
2531
2532
  options: i
2532
2533
  };
2533
2534
  },
@@ -2541,16 +2542,16 @@ const Yr = function(t) {
2541
2542
  * @param {*} [options] Override http request option.
2542
2543
  * @throws {RequiredError}
2543
2544
  */
2544
- getAllGroupsByPersonId: async (e, r, s, n, o = {}) => {
2545
+ getAllGroupsByPersonId: async (e, t, r, n, o = {}) => {
2545
2546
  y("getAllGroupsByPersonId", "personId", e);
2546
2547
  const a = "/api/persons/{personId}/groups".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, R);
2547
2548
  let c;
2548
- t && (c = t.baseOptions);
2549
+ s && (c = s.baseOptions);
2549
2550
  const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2550
- r !== void 0 && (p.page = r), s !== void 0 && (p.size = s), n != null && (d["X-RequestID"] = String(n)), P(i, 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
2552
  let O = c && c.headers ? c.headers : {};
2552
2553
  return l.headers = { ...d, ...O, ...o.headers }, {
2553
- url: g(i),
2554
+ url: T(i),
2554
2555
  options: l
2555
2556
  };
2556
2557
  },
@@ -2564,16 +2565,16 @@ const Yr = function(t) {
2564
2565
  * @param {*} [options] Override http request option.
2565
2566
  * @throws {RequiredError}
2566
2567
  */
2567
- getAllImagesByPersonId: async (e, r, s, n, o = {}) => {
2568
+ getAllImagesByPersonId: async (e, t, r, n, o = {}) => {
2568
2569
  y("getAllImagesByPersonId", "personId", e);
2569
2570
  const a = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(e))), i = new URL(a, R);
2570
2571
  let c;
2571
- t && (c = t.baseOptions);
2572
+ s && (c = s.baseOptions);
2572
2573
  const l = { method: "GET", ...c, ...o }, d = {}, p = {};
2573
- r !== void 0 && (p.page = r), s !== void 0 && (p.size = s), n != null && (d["X-RequestID"] = String(n)), P(i, 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
2575
  let O = c && c.headers ? c.headers : {};
2575
2576
  return l.headers = { ...d, ...O, ...o.headers }, {
2576
- url: g(i),
2577
+ url: T(i),
2577
2578
  options: l
2578
2579
  };
2579
2580
  },
@@ -2586,16 +2587,16 @@ const Yr = function(t) {
2586
2587
  * @param {*} [options] Override http request option.
2587
2588
  * @throws {RequiredError}
2588
2589
  */
2589
- getImageOfPerson: async (e, r, s, n = {}) => {
2590
- y("getImageOfPerson", "imageId", e), y("getImageOfPerson", "personId", r);
2591
- const o = "/api/persons/{personId}/images/{imageId}".replace("{imageId}", encodeURIComponent(String(e))).replace("{personId}", encodeURIComponent(String(r))), a = new URL(o, R);
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);
2592
2593
  let i;
2593
- t && (i = t.baseOptions);
2594
+ s && (i = s.baseOptions);
2594
2595
  const c = { method: "GET", ...i, ...n }, l = {}, d = {};
2595
- s != null && (l["X-RequestID"] = String(s)), P(a, d);
2596
+ r != null && (l["X-RequestID"] = String(r)), P(a, d);
2596
2597
  let p = i && i.headers ? i.headers : {};
2597
2598
  return c.headers = { ...l, ...p, ...n.headers }, {
2598
- url: g(a),
2599
+ url: T(a),
2599
2600
  options: c
2600
2601
  };
2601
2602
  },
@@ -2607,16 +2608,16 @@ const Yr = function(t) {
2607
2608
  * @param {*} [options] Override http request option.
2608
2609
  * @throws {RequiredError}
2609
2610
  */
2610
- getPerson: async (e, r, s = {}) => {
2611
+ getPerson: async (e, t, r = {}) => {
2611
2612
  y("getPerson", "personId", e);
2612
2613
  const n = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), o = new URL(n, R);
2613
2614
  let a;
2614
- t && (a = t.baseOptions);
2615
- const i = { method: "GET", ...a, ...s }, c = {}, l = {};
2616
- r != null && (c["X-RequestID"] = String(r)), P(o, l);
2615
+ s && (a = s.baseOptions);
2616
+ const i = { method: "GET", ...a, ...r }, c = {}, l = {};
2617
+ t != null && (c["X-RequestID"] = String(t)), P(o, l);
2617
2618
  let d = a && a.headers ? a.headers : {};
2618
- return i.headers = { ...c, ...d, ...s.headers }, {
2619
- url: g(o),
2619
+ return i.headers = { ...c, ...d, ...r.headers }, {
2620
+ url: T(o),
2620
2621
  options: i
2621
2622
  };
2622
2623
  },
@@ -2629,22 +2630,22 @@ const Yr = function(t) {
2629
2630
  * @param {*} [options] Override http request option.
2630
2631
  * @throws {RequiredError}
2631
2632
  */
2632
- updatePerson: async (e, r, s, n = {}) => {
2633
- y("updatePerson", "personId", e), y("updatePerson", "personToUpdateFields", r);
2633
+ updatePerson: async (e, t, r, n = {}) => {
2634
+ y("updatePerson", "personId", e), y("updatePerson", "personToUpdateFields", t);
2634
2635
  const o = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(e))), a = new URL(o, R);
2635
2636
  let i;
2636
- t && (i = t.baseOptions);
2637
+ s && (i = s.baseOptions);
2637
2638
  const c = { method: "PUT", ...i, ...n }, l = {}, d = {};
2638
- s != null && (l["X-RequestID"] = String(s)), l["Content-Type"] = "application/json", P(a, d);
2639
+ r != null && (l["X-RequestID"] = String(r)), l["Content-Type"] = "application/json", P(a, d);
2639
2640
  let p = i && i.headers ? i.headers : {};
2640
- return c.headers = { ...l, ...p, ...n.headers }, c.data = D(r, c, t), {
2641
- url: g(a),
2641
+ return c.headers = { ...l, ...p, ...n.headers }, c.data = D(t, c, s), {
2642
+ url: T(a),
2642
2643
  options: c
2643
2644
  };
2644
2645
  }
2645
2646
  };
2646
- }, H = function(t) {
2647
- const e = Yr(t);
2647
+ }, H = function(s) {
2648
+ const e = Zs(s);
2648
2649
  return {
2649
2650
  /**
2650
2651
  *
@@ -2655,21 +2656,21 @@ const Yr = function(t) {
2655
2656
  * @param {*} [options] Override http request option.
2656
2657
  * @throws {RequiredError}
2657
2658
  */
2658
- async addImageToPerson(r, s, n, o) {
2659
- const a = await e.addImageToPerson(r, s, n, o);
2660
- return T(a, m, S, t);
2659
+ async addImageToPerson(t, r, n, o) {
2660
+ const a = await e.addImageToPerson(t, r, n, o);
2661
+ return g(a, m, S, s);
2661
2662
  },
2662
2663
  /**
2663
2664
  *
2664
2665
  * @summary Create person
2665
- * @param {PersonFields} personFields
2666
+ * @param {PersonsRequest} personsRequest
2666
2667
  * @param {string} [xRequestID] Request header label.
2667
2668
  * @param {*} [options] Override http request option.
2668
2669
  * @throws {RequiredError}
2669
2670
  */
2670
- async createPerson(r, s, n) {
2671
- const o = await e.createPerson(r, s, n);
2672
- return T(o, m, S, t);
2671
+ async createPerson(t, r, n) {
2672
+ const o = await e.createPerson(t, r, n);
2673
+ return g(o, m, S, s);
2673
2674
  },
2674
2675
  /**
2675
2676
  *
@@ -2680,9 +2681,9 @@ const Yr = function(t) {
2680
2681
  * @param {*} [options] Override http request option.
2681
2682
  * @throws {RequiredError}
2682
2683
  */
2683
- async deleteImageOfPerson(r, s, n, o) {
2684
- const a = await e.deleteImageOfPerson(r, s, n, o);
2685
- return T(a, m, S, t);
2684
+ async deleteImageOfPerson(t, r, n, o) {
2685
+ const a = await e.deleteImageOfPerson(t, r, n, o);
2686
+ return g(a, m, S, s);
2686
2687
  },
2687
2688
  /**
2688
2689
  *
@@ -2692,9 +2693,9 @@ const Yr = function(t) {
2692
2693
  * @param {*} [options] Override http request option.
2693
2694
  * @throws {RequiredError}
2694
2695
  */
2695
- async deletePerson(r, s, n) {
2696
- const o = await e.deletePerson(r, s, n);
2697
- return T(o, m, S, t);
2696
+ async deletePerson(t, r, n) {
2697
+ const o = await e.deletePerson(t, r, n);
2698
+ return g(o, m, S, s);
2698
2699
  },
2699
2700
  /**
2700
2701
  *
@@ -2706,9 +2707,9 @@ const Yr = function(t) {
2706
2707
  * @param {*} [options] Override http request option.
2707
2708
  * @throws {RequiredError}
2708
2709
  */
2709
- async getAllGroupsByPersonId(r, s, n, o, a) {
2710
- const i = await e.getAllGroupsByPersonId(r, s, n, o, a);
2711
- return T(i, m, S, t);
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);
2712
2713
  },
2713
2714
  /**
2714
2715
  *
@@ -2720,9 +2721,9 @@ const Yr = function(t) {
2720
2721
  * @param {*} [options] Override http request option.
2721
2722
  * @throws {RequiredError}
2722
2723
  */
2723
- async getAllImagesByPersonId(r, s, n, o, a) {
2724
- const i = await e.getAllImagesByPersonId(r, s, n, o, a);
2725
- return T(i, m, S, t);
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);
2726
2727
  },
2727
2728
  /**
2728
2729
  *
@@ -2733,9 +2734,9 @@ const Yr = function(t) {
2733
2734
  * @param {*} [options] Override http request option.
2734
2735
  * @throws {RequiredError}
2735
2736
  */
2736
- async getImageOfPerson(r, s, n, o) {
2737
- const a = await e.getImageOfPerson(r, s, n, o);
2738
- return T(a, m, S, t);
2737
+ async getImageOfPerson(t, r, n, o) {
2738
+ const a = await e.getImageOfPerson(t, r, n, o);
2739
+ return g(a, m, S, s);
2739
2740
  },
2740
2741
  /**
2741
2742
  *
@@ -2745,9 +2746,9 @@ const Yr = function(t) {
2745
2746
  * @param {*} [options] Override http request option.
2746
2747
  * @throws {RequiredError}
2747
2748
  */
2748
- async getPerson(r, s, n) {
2749
- const o = await e.getPerson(r, s, n);
2750
- return T(o, m, S, t);
2749
+ async getPerson(t, r, n) {
2750
+ const o = await e.getPerson(t, r, n);
2751
+ return g(o, m, S, s);
2751
2752
  },
2752
2753
  /**
2753
2754
  *
@@ -2758,13 +2759,13 @@ const Yr = function(t) {
2758
2759
  * @param {*} [options] Override http request option.
2759
2760
  * @throws {RequiredError}
2760
2761
  */
2761
- async updatePerson(r, s, n, o) {
2762
- const a = await e.updatePerson(r, s, n, o);
2763
- return T(a, m, S, t);
2762
+ async updatePerson(t, r, n, o) {
2763
+ const a = await e.updatePerson(t, r, n, o);
2764
+ return g(a, m, S, s);
2764
2765
  }
2765
2766
  };
2766
2767
  };
2767
- let Zr = class extends z {
2768
+ let er = class extends z {
2768
2769
  /**
2769
2770
  *
2770
2771
  * @summary Add person image
@@ -2775,20 +2776,20 @@ let Zr = class extends z {
2775
2776
  * @throws {RequiredError}
2776
2777
  * @memberof PersonApi
2777
2778
  */
2778
- addImageToPerson(e, r, s, n) {
2779
- return H(this.configuration).addImageToPerson(e, r, s, n).then((o) => o(this.axios, this.basePath));
2779
+ addImageToPerson(e, t, r, n) {
2780
+ return H(this.configuration).addImageToPerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2780
2781
  }
2781
2782
  /**
2782
2783
  *
2783
2784
  * @summary Create person
2784
- * @param {PersonFields} personFields
2785
+ * @param {PersonsRequest} personsRequest
2785
2786
  * @param {string} [xRequestID] Request header label.
2786
2787
  * @param {*} [options] Override http request option.
2787
2788
  * @throws {RequiredError}
2788
2789
  * @memberof PersonApi
2789
2790
  */
2790
- createPerson(e, r, s) {
2791
- return H(this.configuration).createPerson(e, r, s).then((n) => n(this.axios, this.basePath));
2791
+ createPerson(e, t, r) {
2792
+ return H(this.configuration).createPerson(e, t, r).then((n) => n(this.axios, this.basePath));
2792
2793
  }
2793
2794
  /**
2794
2795
  *
@@ -2800,8 +2801,8 @@ let Zr = class extends z {
2800
2801
  * @throws {RequiredError}
2801
2802
  * @memberof PersonApi
2802
2803
  */
2803
- deleteImageOfPerson(e, r, s, n) {
2804
- return H(this.configuration).deleteImageOfPerson(e, r, s, n).then((o) => o(this.axios, this.basePath));
2804
+ deleteImageOfPerson(e, t, r, n) {
2805
+ return H(this.configuration).deleteImageOfPerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2805
2806
  }
2806
2807
  /**
2807
2808
  *
@@ -2812,8 +2813,8 @@ let Zr = class extends z {
2812
2813
  * @throws {RequiredError}
2813
2814
  * @memberof PersonApi
2814
2815
  */
2815
- deletePerson(e, r, s) {
2816
- return H(this.configuration).deletePerson(e, r, s).then((n) => n(this.axios, this.basePath));
2816
+ deletePerson(e, t, r) {
2817
+ return H(this.configuration).deletePerson(e, t, r).then((n) => n(this.axios, this.basePath));
2817
2818
  }
2818
2819
  /**
2819
2820
  *
@@ -2826,8 +2827,8 @@ let Zr = class extends z {
2826
2827
  * @throws {RequiredError}
2827
2828
  * @memberof PersonApi
2828
2829
  */
2829
- getAllGroupsByPersonId(e, r, s, n, o) {
2830
- return H(this.configuration).getAllGroupsByPersonId(e, r, s, n, o).then((a) => a(this.axios, this.basePath));
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));
2831
2832
  }
2832
2833
  /**
2833
2834
  *
@@ -2840,8 +2841,8 @@ let Zr = class extends z {
2840
2841
  * @throws {RequiredError}
2841
2842
  * @memberof PersonApi
2842
2843
  */
2843
- getAllImagesByPersonId(e, r, s, n, o) {
2844
- return H(this.configuration).getAllImagesByPersonId(e, r, s, n, o).then((a) => a(this.axios, this.basePath));
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));
2845
2846
  }
2846
2847
  /**
2847
2848
  *
@@ -2853,8 +2854,8 @@ let Zr = class extends z {
2853
2854
  * @throws {RequiredError}
2854
2855
  * @memberof PersonApi
2855
2856
  */
2856
- getImageOfPerson(e, r, s, n) {
2857
- return H(this.configuration).getImageOfPerson(e, r, s, n).then((o) => o(this.axios, this.basePath));
2857
+ getImageOfPerson(e, t, r, n) {
2858
+ return H(this.configuration).getImageOfPerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2858
2859
  }
2859
2860
  /**
2860
2861
  *
@@ -2865,8 +2866,8 @@ let Zr = class extends z {
2865
2866
  * @throws {RequiredError}
2866
2867
  * @memberof PersonApi
2867
2868
  */
2868
- getPerson(e, r, s) {
2869
- return H(this.configuration).getPerson(e, r, s).then((n) => n(this.axios, this.basePath));
2869
+ getPerson(e, t, r) {
2870
+ return H(this.configuration).getPerson(e, t, r).then((n) => n(this.axios, this.basePath));
2870
2871
  }
2871
2872
  /**
2872
2873
  *
@@ -2878,112 +2879,115 @@ let Zr = class extends z {
2878
2879
  * @throws {RequiredError}
2879
2880
  * @memberof PersonApi
2880
2881
  */
2881
- updatePerson(e, r, s, n) {
2882
- return H(this.configuration).updatePerson(e, r, s, n).then((o) => o(this.axios, this.basePath));
2882
+ updatePerson(e, t, r, n) {
2883
+ return H(this.configuration).updatePerson(e, t, r, n).then((o) => o(this.axios, this.basePath));
2883
2884
  }
2884
2885
  };
2885
- class es {
2886
- constructor(e, r, s) {
2887
- this.superClass = new Zr(e, r, s);
2886
+ class tr {
2887
+ constructor(e, t, r) {
2888
+ this.superClass = new er(e, t, r);
2888
2889
  }
2889
- async createPerson(e, r, s) {
2890
+ async createPerson(e, t, r) {
2890
2891
  const n = {
2891
2892
  ...e,
2892
2893
  metadata: e != null && e.metadata ? e.metadata : {}
2893
2894
  };
2894
- return (await this.superClass.createPerson(n, r, s)).data;
2895
+ return (await this.superClass.createPerson(n, t, r)).data;
2895
2896
  }
2896
- async addImageToPerson(e, r, s, n) {
2897
+ async addImageToPerson(e, t, r, n) {
2897
2898
  var a;
2898
- return (a = r == null ? void 0 : r.image) != null && a.content && typeof r.image.content != "string" && (r.image.content = ie(r.image.content)), (await this.superClass.addImageToPerson(e, r, s, n)).data;
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;
2899
2900
  }
2900
- async deleteImageOfPerson(e, r, s, n) {
2901
- await this.superClass.deleteImageOfPerson(e, r, s, n);
2901
+ async deleteImageOfPerson(e, t, r, n) {
2902
+ await this.superClass.deleteImageOfPerson(e, t, r, n);
2902
2903
  }
2903
- async deletePerson(e, r, s) {
2904
- await this.superClass.deletePerson(e, r, s);
2904
+ async deletePerson(e, t, r) {
2905
+ await this.superClass.deletePerson(e, t, r);
2905
2906
  }
2906
- async getAllGroupsByPersonId(e, r, s, n, o) {
2907
- return (await this.superClass.getAllGroupsByPersonId(s, e, r, n, o)).data;
2907
+ async getAllGroupsByPersonId(e, t, r, n, o) {
2908
+ return (await this.superClass.getAllGroupsByPersonId(r, e, t, n, o)).data;
2908
2909
  }
2909
- async getAllImagesByPersonId(e, r, s, n, o) {
2910
- return (await this.superClass.getAllImagesByPersonId(s, e, r, n, o)).data;
2910
+ async getAllImagesByPersonId(e, t, r, n, o) {
2911
+ return (await this.superClass.getAllImagesByPersonId(r, e, t, n, o)).data;
2911
2912
  }
2912
- async getImageOfPerson(e, r, s, n) {
2913
- return (await this.superClass.getImageOfPerson(e, r, s, n)).data;
2913
+ async getImageOfPerson(e, t, r, n) {
2914
+ return (await this.superClass.getImageOfPerson(e, t, r, n)).data;
2914
2915
  }
2915
- async getPerson(e, r, s) {
2916
- return (await this.superClass.getPerson(e, r, s)).data;
2916
+ async getPerson(e, t, r) {
2917
+ return (await this.superClass.getPerson(e, t, r)).data;
2917
2918
  }
2918
- async updatePerson(e, r, s, n) {
2919
- await this.superClass.updatePerson(e, r, s, n);
2919
+ async updatePerson(e, t, r, n) {
2920
+ await this.superClass.updatePerson(e, t, r, n);
2920
2921
  }
2921
2922
  }
2922
- const ts = function(t) {
2923
+ const sr = function(s) {
2923
2924
  return {
2924
2925
  /**
2925
2926
  *
2926
2927
  * @summary Find person by image in groups
2927
2928
  * @param {SearchRequest} searchRequest
2928
2929
  * @param {string} [xRequestID] Request header label.
2930
+ * @param {boolean} [withImages] When enabled, the response includes Base64-encoded images of matched persons. Each entry in the &#x60;persons&#x60; array contains an &#x60;images&#x60; field with image IDs and content. If omitted or set to false, images are excluded.
2929
2931
  * @param {*} [options] Override http request option.
2930
2932
  * @throws {RequiredError}
2931
2933
  */
2932
- search: async (e, r, s = {}) => {
2934
+ search: async (e, t, r, n = {}) => {
2933
2935
  y("search", "searchRequest", e);
2934
- const n = "/api/search", o = new URL(n, R);
2935
- let a;
2936
- t && (a = t.baseOptions);
2937
- const i = { method: "POST", ...a, ...s }, c = {}, l = {};
2938
- r != null && (c["X-RequestID"] = String(r)), c["Content-Type"] = "application/json", P(o, l);
2939
- let d = a && a.headers ? a.headers : {};
2940
- return i.headers = { ...c, ...d, ...s.headers }, i.data = D(e, i, t), {
2941
- url: g(o),
2942
- options: i
2936
+ const o = "/api/search", a = new URL(o, R);
2937
+ let i;
2938
+ s && (i = s.baseOptions);
2939
+ 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);
2941
+ 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),
2944
+ options: c
2943
2945
  };
2944
2946
  }
2945
2947
  };
2946
- }, rs = function(t) {
2947
- const e = ts(t);
2948
+ }, rr = function(s) {
2949
+ const e = sr(s);
2948
2950
  return {
2949
2951
  /**
2950
2952
  *
2951
2953
  * @summary Find person by image in groups
2952
2954
  * @param {SearchRequest} searchRequest
2953
2955
  * @param {string} [xRequestID] Request header label.
2956
+ * @param {boolean} [withImages] When enabled, the response includes Base64-encoded images of matched persons. Each entry in the &#x60;persons&#x60; array contains an &#x60;images&#x60; field with image IDs and content. If omitted or set to false, images are excluded.
2954
2957
  * @param {*} [options] Override http request option.
2955
2958
  * @throws {RequiredError}
2956
2959
  */
2957
- async search(r, s, n) {
2958
- const o = await e.search(r, s, n);
2959
- return T(o, m, S, t);
2960
+ async search(t, r, n, o) {
2961
+ const a = await e.search(t, r, n, o);
2962
+ return g(a, m, S, s);
2960
2963
  }
2961
2964
  };
2962
2965
  };
2963
- let ss = class extends z {
2966
+ let nr = class extends z {
2964
2967
  /**
2965
2968
  *
2966
2969
  * @summary Find person by image in groups
2967
2970
  * @param {SearchRequest} searchRequest
2968
2971
  * @param {string} [xRequestID] Request header label.
2972
+ * @param {boolean} [withImages] When enabled, the response includes Base64-encoded images of matched persons. Each entry in the &#x60;persons&#x60; array contains an &#x60;images&#x60; field with image IDs and content. If omitted or set to false, images are excluded.
2969
2973
  * @param {*} [options] Override http request option.
2970
2974
  * @throws {RequiredError}
2971
2975
  * @memberof SearchApi
2972
2976
  */
2973
- search(e, r, s) {
2974
- return rs(this.configuration).search(e, r, s).then((n) => n(this.axios, this.basePath));
2977
+ search(e, t, r, n) {
2978
+ return rr(this.configuration).search(e, t, r, n).then((o) => o(this.axios, this.basePath));
2975
2979
  }
2976
2980
  };
2977
- class ns {
2978
- constructor(e, r, s) {
2979
- this.superClass = new ss(e, r, s);
2981
+ class or {
2982
+ constructor(e, t, r) {
2983
+ this.superClass = new nr(e, t, r);
2980
2984
  }
2981
- async search(e, r, s) {
2982
- var o;
2983
- return (o = e == null ? void 0 : e.image) != null && o.content && typeof e.image.content != "string" && (e.image.content = ie(e.image.content)), (await this.superClass.search(e, r, s)).data;
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
2988
  }
2985
2989
  }
2986
- const os = function(t) {
2990
+ const ar = function(s) {
2987
2991
  return {
2988
2992
  /**
2989
2993
  *
@@ -2992,21 +2996,21 @@ const os = function(t) {
2992
2996
  * @param {*} [options] Override http request option.
2993
2997
  * @throws {RequiredError}
2994
2998
  */
2995
- readiness: async (e, r = {}) => {
2996
- const s = "/api/readiness", n = new URL(s, R);
2999
+ readiness: async (e, t = {}) => {
3000
+ const r = "/api/readiness", n = new URL(r, R);
2997
3001
  let o;
2998
- t && (o = t.baseOptions);
2999
- const a = { method: "GET", ...o, ...r }, i = {}, c = {};
3002
+ s && (o = s.baseOptions);
3003
+ const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3000
3004
  e != null && (i["X-RequestID"] = String(e)), P(n, c);
3001
3005
  let l = o && o.headers ? o.headers : {};
3002
- return a.headers = { ...i, ...l, ...r.headers }, {
3003
- url: g(n),
3006
+ return a.headers = { ...i, ...l, ...t.headers }, {
3007
+ url: T(n),
3004
3008
  options: a
3005
3009
  };
3006
3010
  }
3007
3011
  };
3008
- }, as = function(t) {
3009
- const e = os(t);
3012
+ }, ir = function(s) {
3013
+ const e = ar(s);
3010
3014
  return {
3011
3015
  /**
3012
3016
  *
@@ -3015,13 +3019,13 @@ const os = function(t) {
3015
3019
  * @param {*} [options] Override http request option.
3016
3020
  * @throws {RequiredError}
3017
3021
  */
3018
- async readiness(r, s) {
3019
- const n = await e.readiness(r, s);
3020
- return T(n, m, S, t);
3022
+ async readiness(t, r) {
3023
+ const n = await e.readiness(t, r);
3024
+ return g(n, m, S, s);
3021
3025
  }
3022
3026
  };
3023
3027
  };
3024
- let is = class extends z {
3028
+ let cr = class extends z {
3025
3029
  /**
3026
3030
  *
3027
3031
  * @summary Checking the license status
@@ -3030,20 +3034,41 @@ let is = class extends z {
3030
3034
  * @throws {RequiredError}
3031
3035
  * @memberof DiagnosticsApi
3032
3036
  */
3033
- readiness(e, r) {
3034
- return as(this.configuration).readiness(e, r).then((s) => s(this.axios, this.basePath));
3037
+ readiness(e, t) {
3038
+ return ir(this.configuration).readiness(e, t).then((r) => r(this.axios, this.basePath));
3035
3039
  }
3036
3040
  };
3037
- class cs {
3038
- constructor(e, r, s) {
3039
- this.superClass = new is(e, r, s);
3041
+ class lr {
3042
+ constructor(e, t, r) {
3043
+ this.superClass = new cr(e, t, r);
3040
3044
  }
3041
- async readiness(e, r) {
3042
- return (await this.superClass.readiness(e, r)).data;
3045
+ async readiness(e, t) {
3046
+ return (await this.superClass.readiness(e, t)).data;
3043
3047
  }
3044
3048
  }
3045
- const ls = function(t) {
3049
+ const ur = function(s) {
3046
3050
  return {
3051
+ /**
3052
+ * 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.
3053
+ * @summary delete liveness transaction
3054
+ * @param {string} transactionId ID of the current liveness transaction.
3055
+ * @param {string} tag A unique tag associated with a liveness transaction session. Used to identify and delete the corresponding transaction.
3056
+ * @param {*} [options] Override http request option.
3057
+ * @throws {RequiredError}
3058
+ */
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);
3062
+ let a;
3063
+ s && (a = s.baseOptions);
3064
+ const i = { method: "DELETE", ...a, ...r }, c = {}, l = {};
3065
+ e !== void 0 && (l.transactionId = e), t !== void 0 && (l.tag = t), P(o, l);
3066
+ let d = a && a.headers ? a.headers : {};
3067
+ return i.headers = { ...c, ...d, ...r.headers }, {
3068
+ url: T(o),
3069
+ options: i
3070
+ };
3071
+ },
3047
3072
  /**
3048
3073
  * 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}`.
3049
3074
  * @summary liveness check
@@ -3051,23 +3076,35 @@ const ls = function(t) {
3051
3076
  * @param {*} [options] Override http request option.
3052
3077
  * @throws {RequiredError}
3053
3078
  */
3054
- getLivenessTransactionInfo: async (e, r = {}) => {
3079
+ getLivenessTransactionInfo: async (e, t = {}) => {
3055
3080
  y("getLivenessTransactionInfo", "transactionId", e);
3056
- const s = "/api/v2/liveness", n = new URL(s, R);
3081
+ const r = "/api/v2/liveness", n = new URL(r, R);
3057
3082
  let o;
3058
- t && (o = t.baseOptions);
3059
- const a = { method: "GET", ...o, ...r }, i = {}, c = {};
3083
+ s && (o = s.baseOptions);
3084
+ const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3060
3085
  e !== void 0 && (c.transactionId = e), P(n, c);
3061
3086
  let l = o && o.headers ? o.headers : {};
3062
- return a.headers = { ...i, ...l, ...r.headers }, {
3063
- url: g(n),
3087
+ return a.headers = { ...i, ...l, ...t.headers }, {
3088
+ url: T(n),
3064
3089
  options: a
3065
3090
  };
3066
3091
  }
3067
3092
  };
3068
- }, us = function(t) {
3069
- const e = ls(t);
3093
+ }, je = function(s) {
3094
+ const e = ur(s);
3070
3095
  return {
3096
+ /**
3097
+ * 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.
3098
+ * @summary delete liveness transaction
3099
+ * @param {string} transactionId ID of the current liveness transaction.
3100
+ * @param {string} tag A unique tag associated with a liveness transaction session. Used to identify and delete the corresponding transaction.
3101
+ * @param {*} [options] Override http request option.
3102
+ * @throws {RequiredError}
3103
+ */
3104
+ async deleteLivenessTransaction(t, r, n) {
3105
+ const o = await e.deleteLivenessTransaction(t, r, n);
3106
+ return g(o, m, S, s);
3107
+ },
3071
3108
  /**
3072
3109
  * 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}`.
3073
3110
  * @summary liveness check
@@ -3075,13 +3112,25 @@ const ls = function(t) {
3075
3112
  * @param {*} [options] Override http request option.
3076
3113
  * @throws {RequiredError}
3077
3114
  */
3078
- async getLivenessTransactionInfo(r, s) {
3079
- const n = await e.getLivenessTransactionInfo(r, s);
3080
- return T(n, m, S, t);
3115
+ async getLivenessTransactionInfo(t, r) {
3116
+ const n = await e.getLivenessTransactionInfo(t, r);
3117
+ return g(n, m, S, s);
3081
3118
  }
3082
3119
  };
3083
3120
  };
3084
- let ds = class extends z {
3121
+ let dr = class extends z {
3122
+ /**
3123
+ * 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
+ * @summary delete liveness transaction
3125
+ * @param {string} transactionId ID of the current liveness transaction.
3126
+ * @param {string} tag A unique tag associated with a liveness transaction session. Used to identify and delete the corresponding transaction.
3127
+ * @param {*} [options] Override http request option.
3128
+ * @throws {RequiredError}
3129
+ * @memberof Liveness20Api
3130
+ */
3131
+ deleteLivenessTransaction(e, t, r) {
3132
+ return je(this.configuration).deleteLivenessTransaction(e, t, r).then((n) => n(this.axios, this.basePath));
3133
+ }
3085
3134
  /**
3086
3135
  * 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}`.
3087
3136
  * @summary liveness check
@@ -3090,127 +3139,127 @@ let ds = class extends z {
3090
3139
  * @throws {RequiredError}
3091
3140
  * @memberof Liveness20Api
3092
3141
  */
3093
- getLivenessTransactionInfo(e, r) {
3094
- return us(this.configuration).getLivenessTransactionInfo(e, r).then((s) => s(this.axios, this.basePath));
3142
+ getLivenessTransactionInfo(e, t) {
3143
+ return je(this.configuration).getLivenessTransactionInfo(e, t).then((r) => r(this.axios, this.basePath));
3095
3144
  }
3096
3145
  };
3097
- class ps {
3098
- constructor(e, r, s) {
3099
- this.superClass = new ds(e, r, s);
3146
+ class pr {
3147
+ constructor(e, t, r) {
3148
+ this.superClass = new dr(e, t, r);
3100
3149
  }
3101
- async getLivenessTransactionInfo(e, r) {
3102
- return (await this.superClass.getLivenessTransactionInfo(e, r)).data;
3150
+ async getLivenessTransactionInfo(e, t) {
3151
+ return (await this.superClass.getLivenessTransactionInfo(e, t)).data;
3103
3152
  }
3104
3153
  }
3105
- class Ks {
3106
- constructor(e, r = S, s = m) {
3107
- this.basePath = r, this.axios = s, this.matchApi = new Wr(e, r, s), this.groupApi = new Jr(e, r, s), this.personApi = new es(e, r, s), this.searchApi = new ns(e, r, s), this.diagnosticsApi = new cs(e, r, s), this.livenessApi = new ps(e, r, s);
3154
+ 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);
3108
3157
  }
3109
3158
  }
3110
- const hs = function(t) {
3159
+ const hr = function(s) {
3111
3160
  return {
3112
3161
  /**
3113
- *
3162
+ * 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/).
3114
3163
  * @summary Server healthcheck
3115
3164
  * @param {string} [xRequestID] Request header label.
3116
3165
  * @param {*} [options] Override http request option.
3117
3166
  * @throws {RequiredError}
3118
3167
  */
3119
- healthz: async (e, r = {}) => {
3120
- const s = "/api/healthz", n = new URL(s, R);
3168
+ healthz: async (e, t = {}) => {
3169
+ const r = "/api/healthz", n = new URL(r, R);
3121
3170
  let o;
3122
- t && (o = t.baseOptions);
3123
- const a = { method: "GET", ...o, ...r }, i = {}, c = {};
3171
+ s && (o = s.baseOptions);
3172
+ const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3124
3173
  e != null && (i["X-RequestID"] = String(e)), P(n, c);
3125
3174
  let l = o && o.headers ? o.headers : {};
3126
- return a.headers = { ...i, ...l, ...r.headers }, {
3127
- url: g(n),
3175
+ return a.headers = { ...i, ...l, ...t.headers }, {
3176
+ url: T(n),
3128
3177
  options: a
3129
3178
  };
3130
3179
  },
3131
3180
  /**
3132
- *
3181
+ * 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`).
3133
3182
  * @summary License healthcheck
3134
3183
  * @param {string} [xRequestID] Request header label.
3135
3184
  * @param {*} [options] Override http request option.
3136
3185
  * @throws {RequiredError}
3137
3186
  */
3138
- readyz: async (e, r = {}) => {
3139
- const s = "/api/readyz", n = new URL(s, R);
3187
+ readyz: async (e, t = {}) => {
3188
+ const r = "/api/readyz", n = new URL(r, R);
3140
3189
  let o;
3141
- t && (o = t.baseOptions);
3142
- const a = { method: "GET", ...o, ...r }, i = {}, c = {};
3190
+ s && (o = s.baseOptions);
3191
+ const a = { method: "GET", ...o, ...t }, i = {}, c = {};
3143
3192
  e != null && (i["X-RequestID"] = String(e)), P(n, c);
3144
3193
  let l = o && o.headers ? o.headers : {};
3145
- return a.headers = { ...i, ...l, ...r.headers }, {
3146
- url: g(n),
3194
+ return a.headers = { ...i, ...l, ...t.headers }, {
3195
+ url: T(n),
3147
3196
  options: a
3148
3197
  };
3149
3198
  }
3150
3199
  };
3151
- }, je = function(t) {
3152
- const e = hs(t);
3200
+ }, ke = function(s) {
3201
+ const e = hr(s);
3153
3202
  return {
3154
3203
  /**
3155
- *
3204
+ * 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/).
3156
3205
  * @summary Server healthcheck
3157
3206
  * @param {string} [xRequestID] Request header label.
3158
3207
  * @param {*} [options] Override http request option.
3159
3208
  * @throws {RequiredError}
3160
3209
  */
3161
- async healthz(r, s) {
3162
- const n = await e.healthz(r, s);
3163
- return T(n, m, S, t);
3210
+ async healthz(t, r) {
3211
+ const n = await e.healthz(t, r);
3212
+ return g(n, m, S, s);
3164
3213
  },
3165
3214
  /**
3166
- *
3215
+ * 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`).
3167
3216
  * @summary License healthcheck
3168
3217
  * @param {string} [xRequestID] Request header label.
3169
3218
  * @param {*} [options] Override http request option.
3170
3219
  * @throws {RequiredError}
3171
3220
  */
3172
- async readyz(r, s) {
3173
- const n = await e.readyz(r, s);
3174
- return T(n, m, S, t);
3221
+ async readyz(t, r) {
3222
+ const n = await e.readyz(t, r);
3223
+ return g(n, m, S, s);
3175
3224
  }
3176
3225
  };
3177
3226
  };
3178
- let fs = class extends z {
3227
+ let fr = class extends z {
3179
3228
  /**
3180
- *
3229
+ * 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/).
3181
3230
  * @summary Server healthcheck
3182
3231
  * @param {string} [xRequestID] Request header label.
3183
3232
  * @param {*} [options] Override http request option.
3184
3233
  * @throws {RequiredError}
3185
3234
  * @memberof HealthcheckApi
3186
3235
  */
3187
- healthz(e, r) {
3188
- return je(this.configuration).healthz(e, r).then((s) => s(this.axios, this.basePath));
3236
+ healthz(e, t) {
3237
+ return ke(this.configuration).healthz(e, t).then((r) => r(this.axios, this.basePath));
3189
3238
  }
3190
3239
  /**
3191
- *
3240
+ * 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`).
3192
3241
  * @summary License healthcheck
3193
3242
  * @param {string} [xRequestID] Request header label.
3194
3243
  * @param {*} [options] Override http request option.
3195
3244
  * @throws {RequiredError}
3196
3245
  * @memberof HealthcheckApi
3197
3246
  */
3198
- readyz(e, r) {
3199
- return je(this.configuration).readyz(e, r).then((s) => s(this.axios, this.basePath));
3247
+ readyz(e, t) {
3248
+ return ke(this.configuration).readyz(e, t).then((r) => r(this.axios, this.basePath));
3200
3249
  }
3201
3250
  };
3202
- class Js {
3203
- constructor(e, r, s) {
3204
- this.superClass = new fs(e, r, s);
3251
+ class Jr {
3252
+ constructor(e, t, r) {
3253
+ this.superClass = new fr(e, t, r);
3205
3254
  }
3206
- async healthz(e, r) {
3207
- return (await this.superClass.healthz(e, r)).data;
3255
+ async healthz(e, t) {
3256
+ return (await this.superClass.healthz(e, t)).data;
3208
3257
  }
3209
- async readyz(e, r) {
3210
- return (await this.superClass.readyz(e, r)).data;
3258
+ async readyz(e, t) {
3259
+ return (await this.superClass.readyz(e, t)).data;
3211
3260
  }
3212
3261
  }
3213
- class Ys {
3262
+ class Yr {
3214
3263
  constructor(e = {}) {
3215
3264
  this.apiKey = e.apiKey, this.username = e.username, this.password = e.password, this.accessToken = e.accessToken, this.basePath = e.basePath, this.baseOptions = e.baseOptions, this.formDataCtor = e.formDataCtor;
3216
3265
  }
@@ -3225,29 +3274,29 @@ class Ys {
3225
3274
  * @return True if the given MIME is JSON, false otherwise.
3226
3275
  */
3227
3276
  isJsonMime(e) {
3228
- const r = new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$", "i");
3229
- return e !== null && (r.test(e) || e.toLowerCase() === "application/json-patch+json");
3277
+ const t = new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$", "i");
3278
+ return e !== null && (t.test(e) || e.toLowerCase() === "application/json-patch+json");
3230
3279
  }
3231
3280
  }
3232
3281
  export {
3233
- Ys as Configuration,
3234
- cs as DiagnosticsApi,
3235
- Vs as FaceAttribute,
3236
- Ds as FaceImageQualityAlignType,
3237
- Gs as FaceImageQualityGroups,
3238
- Hs as FaceImageQualityGroupsStrings,
3239
- xs as FaceImageQualityStatus,
3240
- Bs as FaceQualityConfigName,
3241
- Ms as FaceQualityScenarios,
3242
- js as FaceSDKResultCode,
3243
- Ks as FaceSdk,
3244
- ks as FilterOp,
3245
- Jr as GroupApi,
3246
- Js as HealthcheckApi,
3247
- qr as ImageSource,
3248
- ps as Liveness20Api,
3249
- vs as LivenessType,
3250
- Wr as MatchApi,
3251
- es as PersonApi,
3252
- ns as SearchApi
3282
+ Yr as Configuration,
3283
+ lr as DiagnosticsApi,
3284
+ Vr as FaceAttribute,
3285
+ Dr as FaceImageQualityAlignType,
3286
+ Gr as FaceImageQualityGroups,
3287
+ Hr as FaceImageQualityGroupsStrings,
3288
+ xr as FaceImageQualityStatus,
3289
+ Br as FaceQualityConfigName,
3290
+ Mr as FaceQualityScenarios,
3291
+ jr as FaceSDKResultCode,
3292
+ Kr as FaceSdk,
3293
+ kr as FilterOp,
3294
+ Ys as GroupApi,
3295
+ Jr as HealthcheckApi,
3296
+ Qs as ImageSource,
3297
+ pr as Liveness20Api,
3298
+ vr as LivenessType,
3299
+ Ks as MatchApi,
3300
+ tr as PersonApi,
3301
+ or as SearchApi
3253
3302
  };