@regulaforensics/facesdk-webclient 8.4.851-rc → 8.4.853-rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -16,91 +16,117 @@ function n(e, t) {
16
16
  }
17
17
  //#endregion
18
18
  //#region node_modules/axios/lib/utils.js
19
- var { toString: r } = Object.prototype, { getPrototypeOf: i } = Object, { iterator: a, toStringTag: o } = Symbol, s = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), c = (e, t) => {
19
+ var { toString: r } = Object.prototype, { getPrototypeOf: i } = Object, { iterator: a, toStringTag: o } = Symbol, s = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), c = (e) => typeof e == "string" && (e === "__proto__" || e === "constructor" || e === "prototype"), l = (e, t, n) => e === Object.prototype || !n && t === null, u = (e) => {
20
+ if (!Object.isExtensible(e)) return !1;
21
+ let t = Object.getOwnPropertyNames(e);
22
+ return Object.getOwnPropertySymbols && t.push(...Object.getOwnPropertySymbols(e)), t.every((t) => {
23
+ if (c(t)) return !1;
24
+ let n = Object.getOwnPropertyDescriptor(e, t);
25
+ return !!n && n.configurable && n.writable === !0;
26
+ });
27
+ }, d = (e, t) => {
20
28
  let n = e, r = [];
21
- for (; n != null && n !== Object.prototype;) {
29
+ for (; n != null;) {
22
30
  if (r.indexOf(n) !== -1) return !1;
23
- if (r.push(n), s(n, t)) return !0;
24
- n = i(n);
31
+ r.push(n);
32
+ let a = i(n);
33
+ if (l(n, a, n === e)) return !1;
34
+ if (s(n, t)) return !0;
35
+ n = a;
25
36
  }
26
37
  return !1;
27
- }, l = (e, t) => e != null && c(e, t) ? e[t] : void 0, u = ((e) => (t) => {
38
+ }, f = (e, t) => e != null && d(e, t) ? e[t] : void 0, p = (e) => {
39
+ if (e == null || typeof e != "object" && typeof e != "function") return e;
40
+ let t = i(e);
41
+ if (t === null && u(e)) return e;
42
+ let n = Object.create(null), r = Object.create(null), a = [], o = e;
43
+ for (; o != null && a.indexOf(o) === -1;) {
44
+ a.push(o);
45
+ let u = o === e ? t : i(o);
46
+ if (l(o, u, o === e)) break;
47
+ let d = Object.getOwnPropertyNames(o);
48
+ Object.getOwnPropertySymbols && d.push(...Object.getOwnPropertySymbols(o));
49
+ for (let t of d) c(t) || s(r, t) || (n[t] = e[t], r[t] = !0);
50
+ o = u;
51
+ }
52
+ return n;
53
+ }, m = ((e) => (t) => {
28
54
  let n = r.call(t);
29
55
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
30
- })(Object.create(null)), d = (e) => (e = e.toLowerCase(), (t) => u(t) === e), f = (e) => (t) => typeof t === e, { isArray: p } = Array, m = f("undefined");
31
- function h(e) {
32
- return e !== null && !m(e) && e.constructor !== null && !m(e.constructor) && v(e.constructor.isBuffer) && e.constructor.isBuffer(e);
56
+ })(Object.create(null)), h = (e) => (e = e.toLowerCase(), (t) => m(t) === e), g = (e) => (t) => typeof t === e, { isArray: _ } = Array, v = g("undefined");
57
+ function y(e) {
58
+ return e !== null && !v(e) && e.constructor !== null && !v(e.constructor) && S(e.constructor.isBuffer) && e.constructor.isBuffer(e);
33
59
  }
34
- var g = d("ArrayBuffer");
35
- function _(e) {
60
+ var b = h("ArrayBuffer");
61
+ function x(e) {
36
62
  let t;
37
- return t = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && g(e.buffer), t;
63
+ return t = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && b(e.buffer), t;
38
64
  }
39
- var ee = f("string"), v = f("function"), y = f("number"), b = (e) => typeof e == "object" && !!e, te = (e) => e === !0 || e === !1, x = (e) => {
40
- if (!b(e)) return !1;
65
+ var ee = g("string"), S = g("function"), C = g("number"), w = (e) => typeof e == "object" && !!e, te = (e) => e === !0 || e === !1, T = (e) => {
66
+ if (!w(e)) return !1;
41
67
  let t = i(e);
42
- return (t === null || t === Object.prototype || i(t) === null) && !c(e, o) && !c(e, a);
43
- }, S = (e) => {
44
- if (!b(e) || h(e)) return !1;
68
+ return (t === null || t === Object.prototype || i(t) === null) && !d(e, o) && !d(e, a);
69
+ }, ne = (e) => {
70
+ if (!w(e) || y(e)) return !1;
45
71
  try {
46
72
  return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
47
73
  } catch {
48
74
  return !1;
49
75
  }
50
- }, C = d("Date"), w = d("File"), ne = (e) => !!(e && e.uri !== void 0), re = (e) => e && e.getParts !== void 0, ie = d("Blob"), T = d("FileList"), E = (e) => b(e) && v(e.pipe);
51
- function D() {
76
+ }, re = h("Date"), ie = h("File"), E = (e) => !!(e && e.uri !== void 0), D = (e) => e && e.getParts !== void 0, O = h("Blob"), ae = h("FileList"), oe = h("Set"), se = (e) => w(e) && S(e.pipe);
77
+ function ce() {
52
78
  return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
53
79
  }
54
- var O = D(), k = O.FormData === void 0 ? void 0 : O.FormData, ae = (e) => {
80
+ var k = ce(), A = k.FormData === void 0 ? void 0 : k.FormData, j = (e) => {
55
81
  if (!e) return !1;
56
- if (k && e instanceof k) return !0;
82
+ if (A && e instanceof A) return !0;
57
83
  let t = i(e);
58
- if (!t || t === Object.prototype || !v(e.append)) return !1;
59
- let n = u(e);
60
- return n === "formdata" || n === "object" && v(e.toString) && e.toString() === "[object FormData]";
61
- }, oe = d("URLSearchParams"), [se, A, ce, le] = [
84
+ if (!t || t === Object.prototype || !S(e.append)) return !1;
85
+ let n = m(e);
86
+ return n === "formdata" || n === "object" && S(e.toString) && e.toString() === "[object FormData]";
87
+ }, le = h("URLSearchParams"), [ue, M, de, fe] = [
62
88
  "ReadableStream",
63
89
  "Request",
64
90
  "Response",
65
91
  "Headers"
66
- ].map(d), j = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
67
- function ue(e, t, { allOwnKeys: n = !1 } = {}) {
92
+ ].map(h), pe = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
93
+ function me(e, t, { allOwnKeys: n = !1 } = {}) {
68
94
  if (e == null) return;
69
95
  let r, i;
70
- if (typeof e != "object" && (e = [e]), p(e)) for (r = 0, i = e.length; r < i; r++) t.call(null, e[r], r, e);
96
+ if (typeof e != "object" && (e = [e]), _(e)) for (r = 0, i = e.length; r < i; r++) t.call(null, e[r], r, e);
71
97
  else {
72
- if (h(e)) return;
98
+ if (y(e)) return;
73
99
  let i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = i.length, o;
74
100
  for (r = 0; r < a; r++) o = i[r], t.call(null, e[o], o, e);
75
101
  }
76
102
  }
77
- function de(e, t) {
78
- if (h(e)) return null;
103
+ function he(e, t) {
104
+ if (y(e)) return null;
79
105
  t = t.toLowerCase();
80
106
  let n = Object.keys(e), r = n.length, i;
81
107
  for (; r-- > 0;) if (i = n[r], t === i.toLowerCase()) return i;
82
108
  return null;
83
109
  }
84
- var M = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, fe = (e) => !m(e) && e !== M;
85
- function pe(...e) {
86
- let { caseless: t, skipUndefined: n } = fe(this) && this || {}, r = {}, i = (e, i) => {
110
+ var N = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ge = (e) => !v(e) && e !== N;
111
+ function _e(...e) {
112
+ let { caseless: t, skipUndefined: n } = ge(this) && this || {}, r = {}, i = (e, i) => {
87
113
  if (i === "__proto__" || i === "constructor" || i === "prototype") return;
88
- let a = t && typeof i == "string" && de(r, i) || i, o = s(r, a) ? r[a] : void 0;
89
- x(o) && x(e) ? r[a] = pe(o, e) : x(e) ? r[a] = pe({}, e) : p(e) ? r[a] = e.slice() : (!n || !m(e)) && (r[a] = e);
114
+ let a = t && typeof i == "string" && he(r, i) || i, o = s(r, a) ? r[a] : void 0;
115
+ T(o) && T(e) ? r[a] = _e(o, e) : T(e) ? r[a] = _e({}, e) : _(e) ? r[a] = e.slice() : (!n || !v(e)) && (r[a] = e);
90
116
  };
91
117
  for (let t = 0, n = e.length; t < n; t++) {
92
118
  let n = e[t];
93
- if (!n || h(n) || (ue(n, i), typeof n != "object" || p(n))) continue;
119
+ if (!n || y(n) || (me(n, i), typeof n != "object" || _(n))) continue;
94
120
  let r = Object.getOwnPropertySymbols(n);
95
121
  for (let e = 0; e < r.length; e++) {
96
122
  let t = r[e];
97
- Te.call(n, t) && i(n[t], t);
123
+ ke.call(n, t) && i(n[t], t);
98
124
  }
99
125
  }
100
126
  return r;
101
127
  }
102
- var me = (e, t, r, { allOwnKeys: i } = {}) => (ue(t, (t, i) => {
103
- r && v(t) ? Object.defineProperty(e, i, {
128
+ var ve = (e, t, r, { allOwnKeys: i } = {}) => (me(t, (t, i) => {
129
+ r && S(t) ? Object.defineProperty(e, i, {
104
130
  __proto__: null,
105
131
  value: n(t, r),
106
132
  writable: !0,
@@ -113,7 +139,7 @@ var me = (e, t, r, { allOwnKeys: i } = {}) => (ue(t, (t, i) => {
113
139
  enumerable: !0,
114
140
  configurable: !0
115
141
  });
116
- }, { allOwnKeys: i }), e), he = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ge = (e, t, n, r) => {
142
+ }, { allOwnKeys: i }), e), ye = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), be = (e, t, n, r) => {
117
143
  e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
118
144
  __proto__: null,
119
145
  value: e,
@@ -124,7 +150,7 @@ var me = (e, t, r, { allOwnKeys: i } = {}) => (ue(t, (t, i) => {
124
150
  __proto__: null,
125
151
  value: t.prototype
126
152
  }), n && Object.assign(e.prototype, n);
127
- }, _e = (e, t, n, r) => {
153
+ }, xe = (e, t, n, r) => {
128
154
  let a, o, s, c = {};
129
155
  if (t ||= {}, e == null) return t;
130
156
  do {
@@ -132,45 +158,45 @@ var me = (e, t, r, { allOwnKeys: i } = {}) => (ue(t, (t, i) => {
132
158
  e = n !== !1 && i(e);
133
159
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
134
160
  return t;
135
- }, ve = (e, t, n) => {
161
+ }, Se = (e, t, n) => {
136
162
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
137
163
  let r = e.indexOf(t, n);
138
164
  return r !== -1 && r === n;
139
- }, ye = (e) => {
165
+ }, Ce = (e) => {
140
166
  if (!e) return null;
141
- if (p(e)) return e;
167
+ if (_(e)) return e;
142
168
  let t = e.length;
143
- if (!y(t)) return null;
169
+ if (!C(t)) return null;
144
170
  let n = Array(t);
145
171
  for (; t-- > 0;) n[t] = e[t];
146
172
  return n;
147
- }, be = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && i(Uint8Array)), xe = (e, t) => {
173
+ }, we = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && i(Uint8Array)), Te = (e, t) => {
148
174
  let n = (e && e[a]).call(e), r;
149
175
  for (; (r = n.next()) && !r.done;) {
150
176
  let n = r.value;
151
177
  t.call(e, n[0], n[1]);
152
178
  }
153
- }, Se = (e, t) => {
179
+ }, Ee = (e, t) => {
154
180
  let n, r = [];
155
181
  for (; (n = e.exec(t)) !== null;) r.push(n);
156
182
  return r;
157
- }, Ce = d("HTMLFormElement"), we = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(e, t, n) {
183
+ }, De = h("HTMLFormElement"), Oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(e, t, n) {
158
184
  return t.toUpperCase() + n;
159
- }), { propertyIsEnumerable: Te } = Object.prototype, Ee = d("RegExp"), De = (e, t) => {
185
+ }), { propertyIsEnumerable: ke } = Object.prototype, Ae = h("RegExp"), je = (e, t) => {
160
186
  let n = Object.getOwnPropertyDescriptors(e), r = {};
161
- ue(n, (n, i) => {
187
+ me(n, (n, i) => {
162
188
  let a;
163
189
  (a = t(n, i, e)) !== !1 && (r[i] = a || n);
164
190
  }), Object.defineProperties(e, r);
165
- }, Oe = (e) => {
166
- De(e, (t, n) => {
167
- if (v(e) && [
191
+ }, Me = (e) => {
192
+ je(e, (t, n) => {
193
+ if (S(e) && [
168
194
  "arguments",
169
195
  "caller",
170
196
  "callee"
171
197
  ].includes(n)) return !1;
172
198
  let r = e[n];
173
- if (v(r)) {
199
+ if (S(r)) {
174
200
  if (t.enumerable = !1, "writable" in t) {
175
201
  t.writable = !1;
176
202
  return;
@@ -180,102 +206,110 @@ var me = (e, t, r, { allOwnKeys: i } = {}) => (ue(t, (t, i) => {
180
206
  };
181
207
  }
182
208
  });
183
- }, ke = (e, t) => {
209
+ }, Ne = (e, t) => {
184
210
  let n = {}, r = (e) => {
185
211
  e.forEach((e) => {
186
212
  n[e] = !0;
187
213
  });
188
214
  };
189
- return p(e) ? r(e) : r(String(e).split(t)), n;
190
- }, Ae = () => {}, je = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
191
- function Me(e) {
192
- return !!(e && v(e.append) && e[o] === "FormData" && e[a]);
215
+ return _(e) ? r(e) : r(String(e).split(t)), n;
216
+ }, Pe = () => {}, Fe = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
217
+ function Ie(e) {
218
+ return !!(e && S(e.append) && e[o] === "FormData" && e[a]);
193
219
  }
194
- var Ne = (e) => {
220
+ var Le = (e) => {
195
221
  let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
196
- if (b(e)) {
222
+ if (w(e)) {
197
223
  if (t.has(e)) return;
198
- if (h(e)) return e;
224
+ if (y(e)) return e;
199
225
  if (!("toJSON" in e)) {
200
226
  t.add(e);
201
- let r = p(e) ? [] : {};
202
- return ue(e, (e, t) => {
227
+ let r;
228
+ if (oe(e)) {
229
+ r = [];
230
+ for (let t of e) {
231
+ let e = n(t);
232
+ !v(e) && r.push(e);
233
+ }
234
+ } else r = _(e) ? [] : {}, me(e, (e, t) => {
203
235
  let i = n(e);
204
- !m(i) && (r[t] = i);
205
- }), t.delete(e), r;
236
+ !v(i) && (r[t] = i);
237
+ });
238
+ return t.delete(e), r;
206
239
  }
207
240
  }
208
241
  return e;
209
242
  };
210
243
  return n(e);
211
- }, Pe = d("AsyncFunction"), Fe = (e) => e && (b(e) || v(e)) && v(e.then) && v(e.catch), Ie = ((e, t) => e ? setImmediate : t ? ((e, t) => (M.addEventListener("message", ({ source: n, data: r }) => {
212
- n === M && r === e && t.length && t.shift()();
244
+ }, Re = h("AsyncFunction"), ze = (e) => e && (w(e) || S(e)) && S(e.then) && S(e.catch), Be = ((e, t) => e ? setImmediate : t ? ((e, t) => (N.addEventListener("message", ({ source: n, data: r }) => {
245
+ n === N && r === e && t.length && t.shift()();
213
246
  }, !1), (n) => {
214
- t.push(n), M.postMessage(e, "*");
215
- }))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", v(M.postMessage)), Le = typeof queueMicrotask < "u" ? queueMicrotask.bind(M) : typeof process < "u" && process.nextTick || Ie, Re = (e) => e != null && v(e[a]), N = {
216
- isArray: p,
217
- isArrayBuffer: g,
218
- isBuffer: h,
219
- isFormData: ae,
220
- isArrayBufferView: _,
247
+ t.push(n), N.postMessage(e, "*");
248
+ }))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", S(N.postMessage)), Ve = typeof queueMicrotask < "u" ? queueMicrotask.bind(N) : typeof process < "u" && process.nextTick || Be, He = (e) => e != null && S(e[a]), P = {
249
+ isArray: _,
250
+ isArrayBuffer: b,
251
+ isBuffer: y,
252
+ isFormData: j,
253
+ isArrayBufferView: x,
221
254
  isString: ee,
222
- isNumber: y,
255
+ isNumber: C,
223
256
  isBoolean: te,
224
- isObject: b,
225
- isPlainObject: x,
226
- isEmptyObject: S,
227
- isReadableStream: se,
228
- isRequest: A,
229
- isResponse: ce,
230
- isHeaders: le,
231
- isUndefined: m,
232
- isDate: C,
233
- isFile: w,
234
- isReactNativeBlob: ne,
235
- isReactNative: re,
236
- isBlob: ie,
237
- isRegExp: Ee,
238
- isFunction: v,
239
- isStream: E,
240
- isURLSearchParams: oe,
241
- isTypedArray: be,
242
- isFileList: T,
243
- forEach: ue,
244
- merge: pe,
245
- extend: me,
246
- trim: j,
247
- stripBOM: he,
248
- inherits: ge,
249
- toFlatObject: _e,
250
- kindOf: u,
251
- kindOfTest: d,
252
- endsWith: ve,
253
- toArray: ye,
254
- forEachEntry: xe,
255
- matchAll: Se,
256
- isHTMLForm: Ce,
257
+ isObject: w,
258
+ isPlainObject: T,
259
+ isEmptyObject: ne,
260
+ isReadableStream: ue,
261
+ isRequest: M,
262
+ isResponse: de,
263
+ isHeaders: fe,
264
+ isUndefined: v,
265
+ isDate: re,
266
+ isFile: ie,
267
+ isReactNativeBlob: E,
268
+ isReactNative: D,
269
+ isBlob: O,
270
+ isRegExp: Ae,
271
+ isFunction: S,
272
+ isStream: se,
273
+ isURLSearchParams: le,
274
+ isTypedArray: we,
275
+ isFileList: ae,
276
+ forEach: me,
277
+ merge: _e,
278
+ extend: ve,
279
+ trim: pe,
280
+ stripBOM: ye,
281
+ inherits: be,
282
+ toFlatObject: xe,
283
+ kindOf: m,
284
+ kindOfTest: h,
285
+ endsWith: Se,
286
+ toArray: Ce,
287
+ forEachEntry: Te,
288
+ matchAll: Ee,
289
+ isHTMLForm: De,
257
290
  hasOwnProperty: s,
258
291
  hasOwnProp: s,
259
- hasOwnInPrototypeChain: c,
260
- getSafeProp: l,
261
- reduceDescriptors: De,
262
- freezeMethods: Oe,
263
- toObjectSet: ke,
264
- toCamelCase: we,
265
- noop: Ae,
266
- toFiniteNumber: je,
267
- findKey: de,
268
- global: M,
269
- isContextDefined: fe,
270
- isSpecCompliantForm: Me,
271
- toJSONObject: Ne,
272
- isAsyncFn: Pe,
273
- isThenable: Fe,
274
- setImmediate: Ie,
275
- asap: Le,
276
- isIterable: Re,
277
- isSafeIterable: (e) => e != null && c(e, a) && Re(e)
278
- }, ze = N.toObjectSet([
292
+ hasOwnInPrototypeChain: d,
293
+ getSafeProp: f,
294
+ toSafeFlatObject: p,
295
+ reduceDescriptors: je,
296
+ freezeMethods: Me,
297
+ toObjectSet: Ne,
298
+ toCamelCase: Oe,
299
+ noop: Pe,
300
+ toFiniteNumber: Fe,
301
+ findKey: he,
302
+ global: N,
303
+ isContextDefined: ge,
304
+ isSpecCompliantForm: Ie,
305
+ toJSONObject: Le,
306
+ isAsyncFn: Re,
307
+ isThenable: ze,
308
+ setImmediate: Be,
309
+ asap: Ve,
310
+ isIterable: He,
311
+ isSafeIterable: (e) => e != null && d(e, a) && He(e)
312
+ }, Ue = P.toObjectSet([
279
313
  "age",
280
314
  "authorization",
281
315
  "content-length",
@@ -293,15 +327,17 @@ var Ne = (e) => {
293
327
  "referer",
294
328
  "retry-after",
295
329
  "user-agent"
296
- ]), Be = (e) => {
330
+ ]), We = (e) => {
297
331
  let t = {}, n, r, i;
298
332
  return e && e.split("\n").forEach(function(e) {
299
- i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim(), !(!n || t[n] && ze[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
333
+ i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim();
334
+ let a = P.hasOwnProp(t, n);
335
+ !n || a && P.hasOwnProp(Ue, n) || (n === "set-cookie" ? a ? t[n].push(r) : t[n] = [r] : t[n] = a ? t[n] + ", " + r : r);
300
336
  }), t;
301
337
  };
302
338
  //#endregion
303
339
  //#region node_modules/axios/lib/helpers/sanitizeHeaderValue.js
304
- function Ve(e) {
340
+ function Ge(e) {
305
341
  let t = 0, n = e.length;
306
342
  for (; t < n;) {
307
343
  let n = e.charCodeAt(t);
@@ -315,44 +351,88 @@ function Ve(e) {
315
351
  }
316
352
  return t === 0 && n === e.length ? e : e.slice(t, n);
317
353
  }
318
- var He = /* @__PURE__ */ RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", "g"), Ue = /* @__PURE__ */ RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
319
- function We(e, t) {
320
- return N.isArray(e) ? e.map((e) => We(e, t)) : Ve(String(e).replace(t, ""));
354
+ var Ke = /* @__PURE__ */ RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", "g"), qe = /* @__PURE__ */ RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
355
+ function Je(e, t) {
356
+ return P.isArray(e) ? e.map((e) => Je(e, t)) : Ge(String(e).replace(t, ""));
321
357
  }
322
- var Ge = (e) => We(e, He), Ke = (e) => We(e, Ue);
323
- function qe(e) {
358
+ var Ye = (e) => Je(e, Ke), Xe = (e) => Je(e, qe);
359
+ function Ze(e) {
324
360
  let t = Object.create(null);
325
- return N.forEach(e.toJSON(), (e, n) => {
326
- t[n] = Ke(e);
361
+ return P.forEach(e.toJSON(), (e, n) => {
362
+ t[n] = Xe(e);
327
363
  }), t;
328
364
  }
329
365
  //#endregion
330
366
  //#region node_modules/axios/lib/core/AxiosHeaders.js
331
- var Je = Symbol("internals");
332
- function Ye(e) {
367
+ var Qe = Symbol("internals");
368
+ function $e(e) {
333
369
  return e && String(e).trim().toLowerCase();
334
370
  }
335
- function Xe(e) {
336
- return e === !1 || e == null ? e : N.isArray(e) ? e.map(Xe) : Ge(String(e));
371
+ function et(e) {
372
+ return e === !1 || e == null ? e : P.isArray(e) ? e.map(et) : Ye(String(e));
337
373
  }
338
- function Ze(e) {
374
+ function tt(e) {
339
375
  let t = Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g, r;
340
376
  for (; r = n.exec(e);) t[r[1]] = r[2];
341
377
  return t;
342
378
  }
343
- var Qe = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
344
- function $e(e, t, n, r, i) {
345
- if (N.isFunction(r)) return r.call(this, t, n);
346
- if (i && (t = n), N.isString(t)) {
347
- if (N.isString(r)) return t.indexOf(r) !== -1;
348
- if (N.isRegExp(r)) return r.test(t);
379
+ var nt = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
380
+ function rt(e) {
381
+ let t = 0, n = e.length;
382
+ for (; t < n;) {
383
+ let n = e.charCodeAt(t);
384
+ if (n !== 9 && n !== 32) break;
385
+ t += 1;
349
386
  }
387
+ for (; n > t;) {
388
+ let t = e.charCodeAt(n - 1);
389
+ if (t !== 9 && t !== 32) break;
390
+ --n;
391
+ }
392
+ return t === 0 && n === e.length ? e : e.slice(t, n);
350
393
  }
351
- function et(e) {
394
+ function it(e) {
395
+ let t = e.length - 1;
396
+ if (t < 1 || e.charCodeAt(0) !== 34 || e.charCodeAt(t) !== 34) return e;
397
+ let n = "";
398
+ for (let r = 1; r < t; r++) {
399
+ let i = e.charCodeAt(r);
400
+ if (i === 34 || i === 92 && (r += 1, r >= t)) return e;
401
+ n += e[r];
402
+ }
403
+ return n;
404
+ }
405
+ function at(e) {
406
+ let t = Object.create(null), n = String(e), r = 0, i = !1, a = !1;
407
+ function o(e) {
408
+ let i = rt(n.slice(r, e)), a = i.indexOf("=");
409
+ if (a < 1) return;
410
+ let o = rt(i.slice(0, a));
411
+ if (!nt.test(o)) return;
412
+ let s = o.toLowerCase();
413
+ if (s === "__proto__" || s === "constructor" || s === "prototype") return;
414
+ let c = rt(i.slice(a + 1));
415
+ t[s] = it(c);
416
+ }
417
+ for (let e = 0; e < n.length; e++) {
418
+ let t = n.charCodeAt(e);
419
+ i ? a ? a = !1 : t === 92 ? a = !0 : t === 34 && (i = !1) : t === 34 ? i = !0 : (t === 44 || t === 59) && (o(e), r = e + 1);
420
+ }
421
+ return o(n.length), t;
422
+ }
423
+ var ot = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
424
+ function st(e, t, n, r, i) {
425
+ if (P.isFunction(r)) return r.call(this, t, n);
426
+ if (i && (t = n), P.isString(t)) {
427
+ if (P.isString(r)) return t.indexOf(r) !== -1;
428
+ if (P.isRegExp(r)) return r.test(t);
429
+ }
430
+ }
431
+ function ct(e) {
352
432
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
353
433
  }
354
- function tt(e, t) {
355
- let n = N.toCamelCase(" " + t);
434
+ function lt(e, t) {
435
+ let n = P.toCamelCase(" " + t);
356
436
  [
357
437
  "get",
358
438
  "set",
@@ -367,79 +447,79 @@ function tt(e, t) {
367
447
  });
368
448
  });
369
449
  }
370
- var P = class {
450
+ var F = class {
371
451
  constructor(e) {
372
452
  e && this.set(e);
373
453
  }
374
454
  set(e, t, n) {
375
455
  let r = this;
376
456
  function i(e, t, n) {
377
- let i = Ye(t);
457
+ let i = $e(t);
378
458
  if (!i) return;
379
- let a = N.findKey(r, i);
380
- (!a || r[a] === void 0 || n === !0 || n === void 0 && r[a] !== !1) && (r[a || t] = Xe(e));
459
+ let a = P.findKey(r, i);
460
+ (!a || r[a] === void 0 || n === !0 || n === void 0 && r[a] !== !1) && (r[a || t] = et(e));
381
461
  }
382
- let a = (e, t) => N.forEach(e, (e, n) => i(e, n, t));
383
- if (N.isPlainObject(e) || e instanceof this.constructor) a(e, t);
384
- else if (N.isString(e) && (e = e.trim()) && !Qe(e)) a(Be(e), t);
385
- else if (N.isObject(e) && N.isSafeIterable(e)) {
462
+ let a = (e, t) => P.forEach(e, (e, n) => i(e, n, t));
463
+ if (P.isPlainObject(e) || e instanceof this.constructor) a(e, t);
464
+ else if (P.isString(e) && (e = e.trim()) && !ot(e)) a(We(e), t);
465
+ else if (P.isObject(e) && P.isSafeIterable(e)) {
386
466
  let n = Object.create(null), r, i;
387
467
  for (let t of e) {
388
- if (!N.isArray(t)) throw TypeError("Object iterator must return a key-value pair");
389
- i = t[0], N.hasOwnProp(n, i) ? (r = n[i], n[i] = N.isArray(r) ? [...r, t[1]] : [r, t[1]]) : n[i] = t[1];
468
+ if (!P.isArray(t)) throw TypeError("Object iterator must return a key-value pair");
469
+ i = t[0], P.hasOwnProp(n, i) ? (r = n[i], n[i] = P.isArray(r) ? [...r, t[1]] : [r, t[1]]) : n[i] = t[1];
390
470
  }
391
471
  a(n, t);
392
472
  } else e != null && i(t, e, n);
393
473
  return this;
394
474
  }
395
475
  get(e, t) {
396
- if (e = Ye(e), e) {
397
- let n = N.findKey(this, e);
476
+ if (e = $e(e), e) {
477
+ let n = P.findKey(this, e);
398
478
  if (n) {
399
479
  let e = this[n];
400
480
  if (!t) return e;
401
- if (t === !0) return Ze(e);
402
- if (N.isFunction(t)) return t.call(this, e, n);
403
- if (N.isRegExp(t)) return t.exec(e);
481
+ if (t === !0) return tt(e);
482
+ if (P.isFunction(t)) return t.call(this, e, n);
483
+ if (P.isRegExp(t)) return t.exec(e);
404
484
  throw TypeError("parser must be boolean|regexp|function");
405
485
  }
406
486
  }
407
487
  }
408
488
  has(e, t) {
409
- if (e = Ye(e), e) {
410
- let n = N.findKey(this, e);
411
- return !!(n && this[n] !== void 0 && (!t || $e(this, this[n], n, t)));
489
+ if (e = $e(e), e) {
490
+ let n = P.findKey(this, e);
491
+ return !!(n && this[n] !== void 0 && (!t || st(this, this[n], n, t)));
412
492
  }
413
493
  return !1;
414
494
  }
415
495
  delete(e, t) {
416
496
  let n = this, r = !1;
417
497
  function i(e) {
418
- if (e = Ye(e), e) {
419
- let i = N.findKey(n, e);
420
- i && (!t || $e(n, n[i], i, t)) && (delete n[i], r = !0);
498
+ if (e = $e(e), e) {
499
+ let i = P.findKey(n, e);
500
+ i && (!t || st(n, n[i], i, t)) && (delete n[i], r = !0);
421
501
  }
422
502
  }
423
- return N.isArray(e) ? e.forEach(i) : i(e), r;
503
+ return P.isArray(e) ? e.forEach(i) : i(e), r;
424
504
  }
425
505
  clear(e) {
426
506
  let t = Object.keys(this), n = t.length, r = !1;
427
507
  for (; n--;) {
428
508
  let i = t[n];
429
- (!e || $e(this, this[i], i, e, !0)) && (delete this[i], r = !0);
509
+ (!e || st(this, this[i], i, e, !0)) && (delete this[i], r = !0);
430
510
  }
431
511
  return r;
432
512
  }
433
513
  normalize(e) {
434
514
  let t = this, n = {};
435
- return N.forEach(this, (r, i) => {
436
- let a = N.findKey(n, i);
515
+ return P.forEach(this, (r, i) => {
516
+ let a = P.findKey(n, i);
437
517
  if (a) {
438
- t[a] = Xe(r), delete t[i];
518
+ t[a] = et(r), delete t[i];
439
519
  return;
440
520
  }
441
- let o = e ? et(i) : String(i).trim();
442
- o !== i && delete t[i], t[o] = Xe(r), n[o] = !0;
521
+ let o = e ? ct(i) : String(i).trim();
522
+ o !== i && delete t[i], t[o] = et(r), n[o] = !0;
443
523
  }), this;
444
524
  }
445
525
  concat(...e) {
@@ -447,8 +527,8 @@ var P = class {
447
527
  }
448
528
  toJSON(e) {
449
529
  let t = Object.create(null);
450
- return N.forEach(this, (n, r) => {
451
- n != null && n !== !1 && (t[r] = e && N.isArray(n) ? n.join(", ") : n);
530
+ return P.forEach(this, (n, r) => {
531
+ n != null && n !== !1 && (t[r] = e && P.isArray(n) ? n.join(", ") : n);
452
532
  }), t;
453
533
  }
454
534
  [Symbol.iterator]() {
@@ -458,7 +538,8 @@ var P = class {
458
538
  return Object.entries(this.toJSON()).map(([e, t]) => e + ": " + t).join("\n");
459
539
  }
460
540
  getSetCookie() {
461
- return this.get("set-cookie") || [];
541
+ let e = this.get("set-cookie");
542
+ return P.isArray(e) ? e : e == null || e === !1 ? [] : [e];
462
543
  }
463
544
  get [Symbol.toStringTag]() {
464
545
  return "AxiosHeaders";
@@ -466,27 +547,30 @@ var P = class {
466
547
  static from(e) {
467
548
  return e instanceof this ? e : new this(e);
468
549
  }
550
+ static parseParameters(e) {
551
+ return at(e);
552
+ }
469
553
  static concat(e, ...t) {
470
554
  let n = new this(e);
471
555
  return t.forEach((e) => n.set(e)), n;
472
556
  }
473
557
  static accessor(e) {
474
- let t = (this[Je] = this[Je] = { accessors: {} }).accessors, n = this.prototype;
558
+ let t = (this[Qe] = this[Qe] = { accessors: {} }).accessors, n = this.prototype;
475
559
  function r(e) {
476
- let r = Ye(e);
477
- t[r] || (tt(n, e), t[r] = !0);
560
+ let r = $e(e);
561
+ t[r] || (lt(n, e), t[r] = !0);
478
562
  }
479
- return N.isArray(e) ? e.forEach(r) : r(e), this;
563
+ return P.isArray(e) ? e.forEach(r) : r(e), this;
480
564
  }
481
565
  };
482
- P.accessor([
566
+ F.accessor([
483
567
  "Content-Type",
484
568
  "Content-Length",
485
569
  "Accept",
486
570
  "Accept-Encoding",
487
571
  "User-Agent",
488
572
  "Authorization"
489
- ]), N.reduceDescriptors(P.prototype, ({ value: e }, t) => {
573
+ ]), P.reduceDescriptors(F.prototype, ({ value: e }, t) => {
490
574
  let n = t[0].toUpperCase() + t.slice(1);
491
575
  return {
492
576
  get: () => e,
@@ -494,51 +578,69 @@ P.accessor([
494
578
  this[n] = e;
495
579
  }
496
580
  };
497
- }), N.freezeMethods(P);
581
+ }), P.freezeMethods(F);
498
582
  //#endregion
499
583
  //#region node_modules/axios/lib/core/AxiosError.js
500
- var nt = "[REDACTED ****]";
501
- function rt(e) {
502
- if (N.hasOwnProp(e, "toJSON")) return !0;
584
+ var ut = "[REDACTED ****]";
585
+ function dt(e) {
586
+ if (P.hasOwnProp(e, "toJSON")) return !0;
503
587
  let t = Object.getPrototypeOf(e);
504
588
  for (; t && t !== Object.prototype;) {
505
- if (N.hasOwnProp(t, "toJSON")) return !0;
589
+ if (P.hasOwnProp(t, "toJSON")) return !0;
506
590
  t = Object.getPrototypeOf(t);
507
591
  }
508
592
  return !1;
509
593
  }
510
- function it(e, t) {
594
+ function ft(e, t) {
511
595
  let n = new Set(t.map((e) => String(e).toLowerCase())), r = [], i = (e) => {
512
- if (typeof e != "object" || !e || N.isBuffer(e)) return e;
596
+ if (typeof e != "object" || !e || P.isBuffer(e)) return e;
513
597
  if (r.indexOf(e) !== -1) return;
514
- e instanceof P && (e = e.toJSON()), r.push(e);
598
+ e instanceof F && (e = e.toJSON()), r.push(e);
515
599
  let t;
516
- if (N.isArray(e)) t = [], e.forEach((e, n) => {
600
+ if (P.isArray(e)) t = [], e.forEach((e, n) => {
517
601
  let r = i(e);
518
- N.isUndefined(r) || (t[n] = r);
602
+ P.isUndefined(r) || (t[n] = r);
519
603
  });
520
604
  else {
521
- if (!N.isPlainObject(e) && rt(e)) return r.pop(), e;
605
+ if (!P.isPlainObject(e) && dt(e)) return r.pop(), e;
522
606
  t = Object.create(null);
523
607
  for (let [r, a] of Object.entries(e)) {
524
- let e = n.has(r.toLowerCase()) ? nt : i(a);
525
- N.isUndefined(e) || (t[r] = e);
608
+ let e = n.has(r.toLowerCase()) ? ut : i(a);
609
+ P.isUndefined(e) || (t[r] = e);
526
610
  }
527
611
  }
528
612
  return r.pop(), t;
529
613
  };
530
614
  return i(e);
531
615
  }
532
- var F = class e extends Error {
616
+ function pt(e) {
617
+ try {
618
+ return String(e);
619
+ } catch {
620
+ return "";
621
+ }
622
+ }
623
+ function mt(e) {
624
+ return e.errors.map((e) => {
625
+ try {
626
+ return e && e.message ? pt(e.message) : pt(e);
627
+ } catch {
628
+ return "";
629
+ }
630
+ }).filter(Boolean).join("; ") || e.name || "AggregateError";
631
+ }
632
+ var I = class e extends Error {
533
633
  static from(t, n, r, i, a, o) {
534
- let s = new e(t.message, n || t.code, r, i, a);
535
- return Object.defineProperty(s, "cause", {
634
+ let s = t.message;
635
+ !s && P.isArray(t.errors) && t.errors.length && (s = mt(t));
636
+ let c = new e(s, n || t.code, r, i, a);
637
+ return Object.defineProperty(c, "cause", {
536
638
  __proto__: null,
537
639
  value: t,
538
640
  writable: !0,
539
641
  enumerable: !1,
540
642
  configurable: !0
541
- }), s.name = t.name, t.status != null && s.status == null && (s.status = t.status), o && Object.assign(s, o), s;
643
+ }), c.name = t.name, t.status != null && c.status == null && (c.status = t.status), o && Object.assign(c, o), c;
542
644
  }
543
645
  constructor(e, t, n, r, i) {
544
646
  super(e), Object.defineProperty(this, "message", {
@@ -550,7 +652,7 @@ var F = class e extends Error {
550
652
  }), this.name = "AxiosError", this.isAxiosError = !0, t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status);
551
653
  }
552
654
  toJSON() {
553
- let e = this.config, t = e && N.hasOwnProp(e, "redact") ? e.redact : void 0, n = N.isArray(t) && t.length > 0 ? it(e, t) : N.toJSONObject(e);
655
+ let e = this.config, t = e && P.hasOwnProp(e, "redact") ? e.redact : void 0, n = P.isArray(t) && t.length > 0 ? ft(e, t) : P.toJSONObject(e);
554
656
  return {
555
657
  message: this.message,
556
658
  name: this.name,
@@ -566,89 +668,85 @@ var F = class e extends Error {
566
668
  };
567
669
  }
568
670
  };
569
- F.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", F.ERR_BAD_OPTION = "ERR_BAD_OPTION", F.ECONNABORTED = "ECONNABORTED", F.ETIMEDOUT = "ETIMEDOUT", F.ECONNREFUSED = "ECONNREFUSED", F.ERR_NETWORK = "ERR_NETWORK", F.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", F.ERR_DEPRECATED = "ERR_DEPRECATED", F.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", F.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", F.ERR_CANCELED = "ERR_CANCELED", F.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", F.ERR_INVALID_URL = "ERR_INVALID_URL", F.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
570
- function at(e) {
571
- return N.isPlainObject(e) || N.isArray(e);
671
+ I.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", I.ERR_BAD_OPTION = "ERR_BAD_OPTION", I.ECONNABORTED = "ECONNABORTED", I.ETIMEDOUT = "ETIMEDOUT", I.ECONNREFUSED = "ECONNREFUSED", I.ERR_NETWORK = "ERR_NETWORK", I.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", I.ERR_DEPRECATED = "ERR_DEPRECATED", I.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", I.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", I.ERR_CANCELED = "ERR_CANCELED", I.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", I.ERR_INVALID_URL = "ERR_INVALID_URL", I.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
672
+ function ht(e) {
673
+ return P.isPlainObject(e) || P.isArray(e);
572
674
  }
573
- function ot(e) {
574
- return N.endsWith(e, "[]") ? e.slice(0, -2) : e;
675
+ function gt(e) {
676
+ return P.endsWith(e, "[]") ? e.slice(0, -2) : e;
575
677
  }
576
- function st(e, t, n) {
678
+ function _t(e, t, n) {
577
679
  return e ? e.concat(t).map(function(e, t) {
578
- return e = ot(e), !n && t ? "[" + e + "]" : e;
680
+ return e = gt(e), !n && t ? "[" + e + "]" : e;
579
681
  }).join(n ? "." : "") : t;
580
682
  }
581
- function ct(e) {
582
- return N.isArray(e) && !e.some(at);
683
+ function vt(e) {
684
+ return P.isArray(e) && !e.some(ht);
583
685
  }
584
- var lt = N.toFlatObject(N, {}, null, function(e) {
686
+ var yt = P.toFlatObject(P, {}, null, function(e) {
585
687
  return /^is[A-Z]/.test(e);
586
688
  });
587
- function ut(e, t, n) {
588
- if (!N.isObject(e)) throw TypeError("target must be an object");
589
- t ||= new FormData(), n = N.toFlatObject(n, {
590
- metaTokens: !0,
591
- dots: !1,
592
- indexes: !1
593
- }, !1, function(e, t) {
594
- return !N.isUndefined(t[e]);
595
- });
596
- let r = n.metaTokens, i = n.visitor || m, a = n.dots, o = n.indexes, s = n.Blob || typeof Blob < "u" && Blob, c = n.maxDepth === void 0 ? 100 : n.maxDepth, l = s && N.isSpecCompliantForm(t), u = [];
597
- if (!N.isFunction(i)) throw TypeError("visitor must be a function");
598
- function d(e) {
689
+ function bt(e, t, n) {
690
+ if (!P.isObject(e)) throw TypeError("target must be an object");
691
+ t ||= new FormData();
692
+ let r = (e, t) => {
693
+ let r = P.getSafeProp(n, e);
694
+ return P.isUndefined(r) ? t : r;
695
+ }, i = r("metaTokens", !0), a = r("visitor") || h, o = r("dots", !1), s = r("indexes", !1), c = r("Blob") || typeof Blob < "u" && Blob, l = r("maxDepth", 100), u = c && P.isSpecCompliantForm(t), d = [];
696
+ if (!P.isFunction(a)) throw TypeError("visitor must be a function");
697
+ function f(e) {
599
698
  if (e === null) return "";
600
- if (N.isDate(e)) return e.toISOString();
601
- if (N.isBoolean(e)) return e.toString();
602
- if (!l && N.isBlob(e)) throw new F("Blob is not supported. Use a Buffer instead.");
603
- if (N.isArrayBuffer(e) || N.isTypedArray(e)) {
604
- if (l && typeof s == "function") return new s([e]);
605
- if (typeof Buffer < "u") return Buffer.from(e);
606
- throw new F("Blob is not supported. Use a Buffer instead.", F.ERR_NOT_SUPPORT);
699
+ if (P.isDate(e)) return e.toISOString();
700
+ if (P.isBoolean(e)) return e.toString();
701
+ if (!u && P.isBlob(e)) throw new I("Blob is not supported. Use a Buffer instead.");
702
+ if (P.isArrayBuffer(e) || P.isTypedArray(e)) {
703
+ if (u && typeof c == "function") return new c([e]);
704
+ throw new I("Blob is not supported. Use a Buffer instead.", I.ERR_NOT_SUPPORT);
607
705
  }
608
706
  return e;
609
707
  }
610
- function f(e) {
611
- if (e > c) throw new F("Object is too deeply nested (" + e + " levels). Max depth: " + c, F.ERR_FORM_DATA_DEPTH_EXCEEDED);
708
+ function p(e) {
709
+ if (e > l) throw new I("Object is too deeply nested (" + e + " levels). Max depth: " + l, I.ERR_FORM_DATA_DEPTH_EXCEEDED);
612
710
  }
613
- function p(e, t) {
614
- if (c === Infinity) return JSON.stringify(e);
711
+ function m(e, t) {
712
+ if (l === Infinity) return JSON.stringify(e);
615
713
  let n = [];
616
714
  return JSON.stringify(e, function(e, r) {
617
- if (!N.isObject(r)) return r;
715
+ if (!P.isObject(r)) return r;
618
716
  for (; n.length && n[n.length - 1] !== this;) n.pop();
619
- return n.push(r), f(t + n.length - 1), r;
717
+ return n.push(r), p(t + n.length - 1), r;
620
718
  });
621
719
  }
622
- function m(e, n, i) {
623
- let s = e;
624
- if (N.isReactNative(t) && N.isReactNativeBlob(e)) return t.append(st(i, n, a), d(e)), !1;
625
- if (e && !i && typeof e == "object") {
626
- if (N.endsWith(n, "{}")) n = r ? n : n.slice(0, -2), e = p(e, 1);
627
- else if (N.isArray(e) && ct(e) || (N.isFileList(e) || N.endsWith(n, "[]")) && (s = N.toArray(e))) return n = ot(n), s.forEach(function(e, r) {
628
- !(N.isUndefined(e) || e === null) && t.append(o === !0 ? st([n], r, a) : o === null ? n : n + "[]", d(e));
720
+ function h(e, n, r) {
721
+ let a = e;
722
+ if (P.isReactNative(t) && P.isReactNativeBlob(e)) return t.append(_t(r, n, o), f(e)), !1;
723
+ if (e && !r && typeof e == "object") {
724
+ if (P.endsWith(n, "{}")) n = i ? n : n.slice(0, -2), e = m(e, 1);
725
+ else if (P.isArray(e) && vt(e) || (P.isFileList(e) || P.endsWith(n, "[]")) && (a = P.toArray(e))) return n = gt(n), a.forEach(function(e, r) {
726
+ !(P.isUndefined(e) || e === null) && t.append(s === !0 ? _t([n], r, o) : s === null ? n : n + "[]", f(e));
629
727
  }), !1;
630
728
  }
631
- return at(e) ? !0 : (t.append(st(i, n, a), d(e)), !1);
729
+ return ht(e) ? !0 : (t.append(_t(r, n, o), f(e)), !1);
632
730
  }
633
- let h = Object.assign(lt, {
634
- defaultVisitor: m,
635
- convertValue: d,
636
- isVisitable: at
731
+ let g = Object.assign(yt, {
732
+ defaultVisitor: h,
733
+ convertValue: f,
734
+ isVisitable: ht
637
735
  });
638
- function g(e, n, r = 0) {
639
- if (!N.isUndefined(e)) {
640
- if (f(r), u.indexOf(e) !== -1) throw Error("Circular reference detected in " + n.join("."));
641
- u.push(e), N.forEach(e, function(e, a) {
642
- (!(N.isUndefined(e) || e === null) && i.call(t, e, N.isString(a) ? a.trim() : a, n, h)) === !0 && g(e, n ? n.concat(a) : [a], r + 1);
643
- }), u.pop();
736
+ function _(e, n, r = 0) {
737
+ if (!P.isUndefined(e)) {
738
+ if (p(r), d.indexOf(e) !== -1) throw Error("Circular reference detected in " + n.join("."));
739
+ d.push(e), P.forEach(e, function(e, i) {
740
+ (!(P.isUndefined(e) || e === null) && a.call(t, e, P.isString(i) ? i.trim() : i, n, g)) === !0 && _(e, n ? n.concat(i) : [i], r + 1);
741
+ }), d.pop();
644
742
  }
645
743
  }
646
- if (!N.isObject(e)) throw TypeError("data must be an object");
647
- return g(e), t;
744
+ if (!P.isObject(e)) throw TypeError("data must be an object");
745
+ return _(e), t;
648
746
  }
649
747
  //#endregion
650
748
  //#region node_modules/axios/lib/helpers/AxiosURLSearchParams.js
651
- function dt(e) {
749
+ function xt(e) {
652
750
  let t = {
653
751
  "!": "%21",
654
752
  "'": "%27",
@@ -661,28 +759,28 @@ function dt(e) {
661
759
  return t[e];
662
760
  });
663
761
  }
664
- function ft(e, t) {
665
- this._pairs = [], e && ut(e, this, t);
762
+ function St(e, t) {
763
+ this._pairs = [], e && bt(e, this, t);
666
764
  }
667
- var pt = ft.prototype;
668
- pt.append = function(e, t) {
765
+ var Ct = St.prototype;
766
+ Ct.append = function(e, t) {
669
767
  this._pairs.push([e, t]);
670
- }, pt.toString = function(e) {
671
- let t = e ? (t) => e.call(this, t, dt) : dt;
768
+ }, Ct.toString = function(e) {
769
+ let t = e ? (t) => e.call(this, t, xt) : xt;
672
770
  return this._pairs.map(function(e) {
673
771
  return t(e[0]) + "=" + t(e[1]);
674
772
  }, "").join("&");
675
773
  };
676
774
  //#endregion
677
775
  //#region node_modules/axios/lib/helpers/buildURL.js
678
- function mt(e) {
776
+ function wt(e) {
679
777
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
680
778
  }
681
- function ht(e, t, n) {
779
+ function Tt(e, t, n) {
682
780
  if (!t) return e;
683
781
  e ||= "";
684
- let r = N.isFunction(n) ? { serialize: n } : n, i = N.getSafeProp(r, "encode") || mt, a = N.getSafeProp(r, "serialize"), o;
685
- if (o = a ? a(t, r) : N.isURLSearchParams(t) ? t.toString() : new ft(t, r).toString(i), o) {
782
+ let r = P.isFunction(n) ? { serialize: n } : n, i = P.getSafeProp(r, "encode") || wt, a = P.getSafeProp(r, "serialize"), o;
783
+ if (o = a ? a(t, r) : P.isURLSearchParams(t) ? t.toString() : new St(t, r).toString(i), o) {
686
784
  let t = e.indexOf("#");
687
785
  t !== -1 && (e = e.slice(0, t)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
688
786
  }
@@ -690,40 +788,77 @@ function ht(e, t, n) {
690
788
  }
691
789
  //#endregion
692
790
  //#region node_modules/axios/lib/core/InterceptorManager.js
693
- var gt = class {
791
+ var Et = Symbol("internals");
792
+ function Dt(e) {
793
+ return e ? e.length : 0;
794
+ }
795
+ function Ot(e) {
796
+ if (e) for (; e.length && e[e.length - 1] === null;) e.pop();
797
+ }
798
+ function kt(e, t) {
799
+ let n = e.handlers, r = Dt(n);
800
+ n === t.handlersRef ? r !== t.handlersLength && (r ? t.handlerEntries.forEach(function(e, r) {
801
+ n[e.index] !== e.handler && t.handlerEntries.delete(r);
802
+ }) : t.handlerEntries.clear()) : (t.handlersRef = n, t.handlerEntries.clear()), t.handlersLength = r;
803
+ }
804
+ var At = class {
694
805
  constructor() {
695
- this.handlers = [];
806
+ this.handlers = [], this[Et] = {
807
+ handlersRef: this.handlers,
808
+ handlersLength: this.handlers.length,
809
+ handlerEntries: /* @__PURE__ */ new Map(),
810
+ iterationDepth: 0,
811
+ nextId: 0
812
+ };
696
813
  }
697
814
  use(e, t, n) {
698
- return this.handlers.push({
815
+ let r = {
699
816
  fulfilled: e,
700
817
  rejected: t,
701
818
  synchronous: n ? n.synchronous : !1,
702
819
  runWhen: n ? n.runWhen : null
703
- }), this.handlers.length - 1;
820
+ }, i = this[Et];
821
+ this.handlers ??= [], kt(this, i);
822
+ let a = i.nextId++;
823
+ return this.handlers.push(r), i.handlerEntries.set(a, {
824
+ handler: r,
825
+ index: this.handlers.length - 1
826
+ }), i.handlersLength = this.handlers.length, a;
704
827
  }
705
828
  eject(e) {
706
- this.handlers[e] && (this.handlers[e] = null);
829
+ let t = this[Et];
830
+ kt(this, t);
831
+ let n = t.handlerEntries.get(e);
832
+ if (n) {
833
+ if (t.handlerEntries.delete(e), this.handlers[n.index] !== n.handler) return;
834
+ this.handlers[n.index] = null, t.iterationDepth || (Ot(this.handlers), t.handlersLength = this.handlers.length);
835
+ }
707
836
  }
708
837
  clear() {
709
- this.handlers &&= [];
838
+ this.handlers && (this.handlers = [], kt(this, this[Et]));
710
839
  }
711
840
  forEach(e) {
712
- N.forEach(this.handlers, function(t) {
713
- t !== null && e(t);
714
- });
841
+ let t = this[Et];
842
+ kt(this, t), t.iterationDepth++;
843
+ try {
844
+ P.forEach(this.handlers, function(t) {
845
+ t !== null && e(t);
846
+ });
847
+ } finally {
848
+ --t.iterationDepth || (kt(this, t), Ot(this.handlers), t.handlersLength = Dt(this.handlers));
849
+ }
715
850
  }
716
- }, _t = {
851
+ }, jt = {
717
852
  silentJSONParsing: !0,
718
853
  forcedJSONParsing: !0,
719
854
  clarifyTimeoutError: !1,
720
855
  legacyInterceptorReqResOrdering: !0,
721
856
  advertiseZstdAcceptEncoding: !1,
722
857
  validateStatusUndefinedResolves: !0
723
- }, vt = {
858
+ }, Mt = {
724
859
  isBrowser: !0,
725
860
  classes: {
726
- URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : ft,
861
+ URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : St,
727
862
  FormData: typeof FormData < "u" ? FormData : null,
728
863
  Blob: typeof Blob < "u" ? Blob : null
729
864
  },
@@ -735,106 +870,118 @@ var gt = class {
735
870
  "url",
736
871
  "data"
737
872
  ]
738
- }, yt = /* @__PURE__ */ t({
739
- hasBrowserEnv: () => bt,
740
- hasStandardBrowserEnv: () => St,
741
- hasStandardBrowserWebWorkerEnv: () => Ct,
742
- navigator: () => xt,
743
- origin: () => wt
744
- }), bt = typeof window < "u" && typeof document < "u", xt = typeof navigator == "object" && navigator || void 0, St = bt && (!xt || [
873
+ }, Nt = /* @__PURE__ */ t({
874
+ hasBrowserEnv: () => Pt,
875
+ hasStandardBrowserEnv: () => It,
876
+ hasStandardBrowserWebWorkerEnv: () => Lt,
877
+ navigator: () => Ft,
878
+ origin: () => Rt
879
+ }), Pt = typeof window < "u" && typeof document < "u", Ft = typeof navigator == "object" && navigator || void 0, It = Pt && (!Ft || [
745
880
  "ReactNative",
746
881
  "NativeScript",
747
882
  "NS"
748
- ].indexOf(xt.product) < 0), Ct = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wt = bt && window.location.href || "http://localhost", I = {
749
- ...yt,
750
- ...vt
883
+ ].indexOf(Ft.product) < 0), Lt = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Rt = Pt && window.location.href || "http://localhost", L = {
884
+ ...Nt,
885
+ ...Mt
751
886
  };
752
887
  //#endregion
753
888
  //#region node_modules/axios/lib/helpers/toURLEncodedForm.js
754
- function Tt(e, t) {
755
- return ut(e, new I.classes.URLSearchParams(), {
889
+ function zt(e, t) {
890
+ return bt(e, new L.classes.URLSearchParams(), {
756
891
  visitor: function(e, t, n, r) {
757
- return I.isNode && N.isBuffer(e) ? (this.append(t, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
892
+ return L.isNode && P.isBuffer(e) ? (this.append(t, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
758
893
  },
759
894
  ...t
760
895
  });
761
896
  }
762
897
  //#endregion
763
898
  //#region node_modules/axios/lib/helpers/formDataToJSON.js
764
- var Et = 100;
765
- function Dt(e) {
766
- if (e > Et) throw new F("FormData field is too deeply nested (" + e + " levels). Max depth: " + Et, F.ERR_FORM_DATA_DEPTH_EXCEEDED);
899
+ var Bt = 100;
900
+ function Vt(e) {
901
+ if (e > Bt) throw new I("FormData field is too deeply nested (" + e + " levels). Max depth: " + Bt, I.ERR_FORM_DATA_DEPTH_EXCEEDED);
767
902
  }
768
- function Ot(e) {
769
- let t = [], n = /\w+|\[(\w*)]/g, r;
770
- for (; (r = n.exec(e)) !== null;) Dt(t.length), t.push(r[0] === "[]" ? "" : r[1] || r[0]);
903
+ function Ht(e) {
904
+ let t = [], n = /[^.[\]]+|\[([^.[\]]*)]/g, r;
905
+ for (; (r = n.exec(e)) !== null;) Vt(t.length), t.push(r[0] === "[]" ? "" : r[1] || r[0]);
771
906
  return t;
772
907
  }
773
- function kt(e) {
908
+ function Ut(e) {
774
909
  let t = {}, n = Object.keys(e), r, i = n.length, a;
775
910
  for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
776
911
  return t;
777
912
  }
778
- function At(e) {
913
+ function Wt(e) {
779
914
  function t(e, n, r, i) {
780
- Dt(i);
915
+ Vt(i);
781
916
  let a = e[i++];
782
917
  if (a === "__proto__") return !0;
783
918
  let o = Number.isFinite(+a), s = i >= e.length;
784
- return a = !a && N.isArray(r) ? r.length : a, s ? (N.hasOwnProp(r, a) ? r[a] = N.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : ((!N.hasOwnProp(r, a) || !N.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && N.isArray(r[a]) && (r[a] = kt(r[a])), !o);
919
+ return a = !a && P.isArray(r) ? r.length : a, s ? (P.hasOwnProp(r, a) ? r[a] = P.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : ((!P.hasOwnProp(r, a) || !P.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && P.isArray(r[a]) && (r[a] = Ut(r[a])), !o);
785
920
  }
786
- if (N.isFormData(e) && N.isFunction(e.entries)) {
921
+ if (P.isFormData(e) && P.isFunction(e.entries)) {
787
922
  let n = {};
788
- return N.forEachEntry(e, (e, r) => {
789
- t(Ot(e), r, n, 0);
923
+ return P.forEachEntry(e, (e, r) => {
924
+ t(Ht(e), r, n, 0);
790
925
  }), n;
791
926
  }
792
927
  return null;
793
928
  }
794
929
  //#endregion
795
- //#region node_modules/axios/lib/defaults/index.js
796
- var L = (e, t) => e != null && N.hasOwnProp(e, t) ? e[t] : void 0;
797
- function jt(e, t, n) {
798
- if (N.isString(e)) try {
799
- return (t || JSON.parse)(e), N.trim(e);
930
+ //#region node_modules/axios/lib/core/methodList.js
931
+ var Gt = Object.freeze([
932
+ "get",
933
+ "delete",
934
+ "head",
935
+ "options",
936
+ "post",
937
+ "put",
938
+ "patch",
939
+ "purge",
940
+ "link",
941
+ "unlink",
942
+ "query"
943
+ ]), R = (e, t) => e != null && P.hasOwnProp(e, t) ? e[t] : void 0;
944
+ function Kt(e, t, n) {
945
+ if (P.isString(e)) try {
946
+ return (t || JSON.parse)(e), P.trim(e);
800
947
  } catch (e) {
801
948
  if (e.name !== "SyntaxError") throw e;
802
949
  }
803
950
  return (n || JSON.stringify)(e);
804
951
  }
805
- var Mt = {
806
- transitional: _t,
952
+ var qt = {
953
+ transitional: jt,
807
954
  adapter: [
808
955
  "xhr",
809
956
  "http",
810
957
  "fetch"
811
958
  ],
812
959
  transformRequest: [function(e, t) {
813
- let n = t.getContentType() || "", r = n.indexOf("application/json") > -1, i = N.isObject(e);
814
- if (i && N.isHTMLForm(e) && (e = new FormData(e)), N.isFormData(e)) return r ? JSON.stringify(At(e)) : e;
815
- if (N.isArrayBuffer(e) || N.isBuffer(e) || N.isStream(e) || N.isFile(e) || N.isBlob(e) || N.isReadableStream(e)) return e;
816
- if (N.isArrayBufferView(e)) return e.buffer;
817
- if (N.isURLSearchParams(e)) return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
960
+ let n = t.getContentType() || "", r = n.indexOf("application/json") > -1, i = P.isObject(e);
961
+ if (i && P.isHTMLForm(e) && (e = new FormData(e)), P.isFormData(e)) return r ? JSON.stringify(Wt(e)) : e;
962
+ if (P.isArrayBuffer(e) || P.isBuffer(e) || P.isStream(e) || P.isFile(e) || P.isBlob(e) || P.isReadableStream(e)) return e;
963
+ if (P.isArrayBufferView(e)) return e.buffer;
964
+ if (P.isURLSearchParams(e)) return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
818
965
  let a;
819
966
  if (i) {
820
- let t = L(this, "formSerializer");
821
- if (n.indexOf("application/x-www-form-urlencoded") > -1) return Tt(e, t).toString();
822
- if ((a = N.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
823
- let n = L(this, "env"), r = n && n.FormData;
824
- return ut(a ? { "files[]": e } : e, r && new r(), t);
967
+ let t = R(this, "formSerializer");
968
+ if (n.indexOf("application/x-www-form-urlencoded") > -1) return zt(e, t).toString();
969
+ if ((a = P.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
970
+ let n = R(this, "env"), r = n && n.FormData;
971
+ return bt(a ? { "files[]": e } : e, r && new r(), t);
825
972
  }
826
973
  }
827
- return i || r ? (t.setContentType("application/json", !1), jt(e)) : e;
974
+ return i || r ? (t.setContentType("application/json", !1), Kt(e)) : e;
828
975
  }],
829
976
  transformResponse: [function(e) {
830
- let t = L(this, "transitional") || Mt.transitional, n = t && t.forcedJSONParsing, r = L(this, "responseType"), i = r === "json";
831
- if (N.isResponse(e) || N.isReadableStream(e)) return e;
832
- if (e && N.isString(e) && (n && !r || i)) {
977
+ let t = R(this, "transitional") || qt.transitional, n = t && t.forcedJSONParsing, r = R(this, "responseType"), i = r === "json";
978
+ if (P.isResponse(e) || P.isReadableStream(e)) return e;
979
+ if (e && P.isString(e) && (n && !r || i)) {
833
980
  let n = !(t && t.silentJSONParsing) && i;
834
981
  try {
835
- return JSON.parse(e, L(this, "parseReviver"));
982
+ return JSON.parse(e, R(this, "parseReviver"));
836
983
  } catch (e) {
837
- if (n) throw e.name === "SyntaxError" ? F.from(e, F.ERR_BAD_RESPONSE, this, null, L(this, "response")) : e;
984
+ if (n) throw e.name === "SyntaxError" ? I.from(e, I.ERR_BAD_RESPONSE, this, null, R(this, "response")) : e;
838
985
  }
839
986
  }
840
987
  return e;
@@ -845,8 +992,8 @@ var Mt = {
845
992
  maxContentLength: -1,
846
993
  maxBodyLength: -1,
847
994
  env: {
848
- FormData: I.classes.FormData,
849
- Blob: I.classes.Blob
995
+ FormData: L.classes.FormData,
996
+ Blob: L.classes.Blob
850
997
  },
851
998
  validateStatus: function(e) {
852
999
  return e >= 200 && e < 300;
@@ -856,52 +1003,53 @@ var Mt = {
856
1003
  "Content-Type": void 0
857
1004
  } }
858
1005
  };
859
- N.forEach([
860
- "delete",
861
- "get",
862
- "head",
863
- "post",
864
- "put",
865
- "patch",
866
- "query"
867
- ], (e) => {
868
- Mt.headers[e] = {};
1006
+ P.forEach(Gt, (e) => {
1007
+ qt.headers[e] = {};
869
1008
  });
870
1009
  //#endregion
871
1010
  //#region node_modules/axios/lib/core/transformData.js
872
- function Nt(e, t) {
873
- let n = this || Mt, r = t || n, i = P.from(r.headers), a = r.data;
874
- return N.forEach(e, function(e) {
1011
+ function Jt(e, t) {
1012
+ let n = this || qt, r = t || n, i = F.from(r.headers), a = r.data;
1013
+ return P.forEach(e, function(e) {
875
1014
  a = e.call(n, a, i.normalize(), t ? t.status : void 0);
876
1015
  }), i.normalize(), a;
877
1016
  }
878
1017
  //#endregion
879
1018
  //#region node_modules/axios/lib/cancel/isCancel.js
880
- function Pt(e) {
1019
+ function Yt(e) {
881
1020
  return !!(e && e.__CANCEL__);
882
1021
  }
883
1022
  //#endregion
884
1023
  //#region node_modules/axios/lib/cancel/CanceledError.js
885
- var Ft = class extends F {
1024
+ var Xt = class extends I {
886
1025
  constructor(e, t, n) {
887
- super(e ?? "canceled", F.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
1026
+ super(e ?? "canceled", I.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
888
1027
  }
889
1028
  };
890
1029
  //#endregion
891
1030
  //#region node_modules/axios/lib/core/settle.js
892
- function It(e, t, n) {
1031
+ function Zt(e, t, n) {
893
1032
  let r = n.config.validateStatus;
894
- !n.status || !r || r(n.status) ? e(n) : t(new F("Request failed with status code " + n.status, n.status >= 400 && n.status < 500 ? F.ERR_BAD_REQUEST : F.ERR_BAD_RESPONSE, n.config, n.request, n));
1033
+ !n.status || !r || r(n.status) ? e(n) : t(new I("Request failed with status code " + n.status, n.status >= 400 && n.status < 500 ? I.ERR_BAD_REQUEST : I.ERR_BAD_RESPONSE, n.config, n.request, n));
1034
+ }
1035
+ //#endregion
1036
+ //#region node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js
1037
+ var Qt = /[\t\n\r]/g;
1038
+ function $t(e) {
1039
+ if (typeof e != "string") return e;
1040
+ let t = 0;
1041
+ for (; t < e.length && e.charCodeAt(t) <= 32;) t++;
1042
+ return e.slice(t).replace(Qt, "");
895
1043
  }
896
1044
  //#endregion
897
1045
  //#region node_modules/axios/lib/helpers/parseProtocol.js
898
- function Lt(e) {
1046
+ function en(e) {
899
1047
  let t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
900
1048
  return t && t[1] || "";
901
1049
  }
902
1050
  //#endregion
903
1051
  //#region node_modules/axios/lib/helpers/speedometer.js
904
- function Rt(e, t) {
1052
+ function tn(e, t) {
905
1053
  e ||= 10;
906
1054
  let n = Array(e), r = Array(e), i = 0, a = 0, o;
907
1055
  return t = t === void 0 ? 1e3 : t, function(s) {
@@ -916,24 +1064,28 @@ function Rt(e, t) {
916
1064
  }
917
1065
  //#endregion
918
1066
  //#region node_modules/axios/lib/helpers/throttle.js
919
- function zt(e, t) {
1067
+ function nn(e, t) {
920
1068
  let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
921
1069
  n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
922
1070
  };
923
- return [(...e) => {
924
- let t = Date.now(), s = t - n;
925
- s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
926
- a = null, o(i);
927
- }, r - s));
928
- }, () => i && o(i)];
1071
+ return [
1072
+ (...e) => {
1073
+ let t = Date.now(), s = t - n;
1074
+ s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
1075
+ a = null, o(i);
1076
+ }, r - s));
1077
+ },
1078
+ () => i && o(i),
1079
+ (...e) => o(e)
1080
+ ];
929
1081
  }
930
1082
  //#endregion
931
1083
  //#region node_modules/axios/lib/helpers/progressEventReducer.js
932
- var Bt = (e, t, n = 3) => {
933
- let r = 0, i = Rt(50, 250);
934
- return zt((n) => {
935
- if (!n || typeof n.loaded != "number") return;
936
- let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = o == null ? a : Math.min(a, o), c = Math.max(0, s - r), l = i(c);
1084
+ var rn = (e, t, n = 3) => {
1085
+ let r = 0, i = tn(50, 250);
1086
+ return nn((n) => {
1087
+ if (!n || !P.isNumber(n.loaded)) return;
1088
+ let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = Math.max(0, o == null ? a : Math.min(a, o)), c = Math.max(0, s - r), l = i(c);
937
1089
  r = Math.max(r, s), e({
938
1090
  loaded: s,
939
1091
  total: o,
@@ -946,18 +1098,18 @@ var Bt = (e, t, n = 3) => {
946
1098
  [t ? "download" : "upload"]: !0
947
1099
  });
948
1100
  }, n);
949
- }, Vt = (e, t) => {
1101
+ }, an = (e, t) => {
950
1102
  let n = e != null;
951
1103
  return [(r) => t[0]({
952
1104
  lengthComputable: n,
953
1105
  total: e,
954
1106
  loaded: r
955
1107
  }), t[1]];
956
- }, Ht = (e) => (...t) => N.asap(() => e(...t)), Ut = I.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, I.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(new URL(I.origin), I.navigator && /(msie|trident)/i.test(I.navigator.userAgent)) : () => !0, Wt = I.hasStandardBrowserEnv ? {
1108
+ }, on = (e, t = P.asap) => (...n) => t(() => e(...n)), sn = L.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, L.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(new URL(L.origin), L.navigator && /(msie|trident)/i.test(L.navigator.userAgent)) : () => !0, cn = L.hasStandardBrowserEnv ? {
957
1109
  write(e, t, n, r, i, a, o) {
958
1110
  if (typeof document > "u") return;
959
1111
  let s = [`${e}=${encodeURIComponent(t)}`];
960
- N.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), N.isString(r) && s.push(`path=${r}`), N.isString(i) && s.push(`domain=${i}`), a === !0 && s.push("secure"), N.isString(o) && s.push(`SameSite=${o}`), document.cookie = s.join("; ");
1112
+ P.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), P.isString(r) && s.push(`path=${r}`), P.isString(i) && s.push(`domain=${i}`), a === !0 && s.push("secure"), P.isString(o) && s.push(`SameSite=${o}`), document.cookie = s.join("; ");
961
1113
  },
962
1114
  read(e) {
963
1115
  if (typeof document > "u") return null;
@@ -984,37 +1136,42 @@ var Bt = (e, t, n = 3) => {
984
1136
  };
985
1137
  //#endregion
986
1138
  //#region node_modules/axios/lib/helpers/isAbsoluteURL.js
987
- function Gt(e) {
1139
+ function ln(e) {
988
1140
  return typeof e == "string" && /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
989
1141
  }
990
1142
  //#endregion
991
1143
  //#region node_modules/axios/lib/helpers/combineURLs.js
992
- function Kt(e, t) {
993
- return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1144
+ function un(e, t) {
1145
+ if (!t) return e;
1146
+ let n = e.length;
1147
+ for (; n > 0 && e.charCodeAt(n - 1) === 47;) n--;
1148
+ return e.slice(0, n) + "/" + t.replace(/^\/+/, "");
994
1149
  }
995
1150
  //#endregion
996
1151
  //#region node_modules/axios/lib/core/buildFullPath.js
997
- var qt = /^https?:(?!\/\/)/i, Jt = /[\t\n\r]/g;
998
- function Yt(e) {
999
- let t = 0;
1000
- for (; t < e.length && e.charCodeAt(t) <= 32;) t++;
1001
- return e.slice(t);
1152
+ var dn = /^https?:(?!\/\/)/i;
1153
+ function fn(e) {
1154
+ return e && e.replace(/(^|&)([^=&]*=)?[^&]+/g, (e, t, n = "") => `${t}${n}${ut}`);
1002
1155
  }
1003
- function Xt(e) {
1004
- return Yt(e).replace(Jt, "");
1156
+ function pn(e) {
1157
+ let t = e.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${ut}@`), n = t.indexOf("#"), r = (n === -1 ? t : t.slice(0, n)).replace(/([?&][^=&#]*=)[^&#]*/g, `$1${ut}`);
1158
+ return n === -1 ? r : `${r}#${fn(t.slice(n + 1))}`;
1005
1159
  }
1006
- function Zt(e, t) {
1007
- if (typeof e == "string" && qt.test(Xt(e))) throw new F("Invalid URL: missing \"//\" after protocol", F.ERR_INVALID_URL, t);
1160
+ function mn(e, t) {
1161
+ if (typeof e == "string") {
1162
+ let n = $t(e);
1163
+ if (dn.test(n)) throw new I(`Invalid URL ${JSON.stringify(pn(n))}: missing "//" after protocol`, I.ERR_INVALID_URL, t);
1164
+ }
1008
1165
  }
1009
- function Qt(e, t, n, r) {
1010
- Zt(t, r);
1011
- let i = !Gt(t);
1012
- return e && (i || n === !1) ? (Zt(e, r), Kt(e, t)) : t;
1166
+ function hn(e, t, n, r) {
1167
+ mn(t, r);
1168
+ let i = !ln(t);
1169
+ return e && (i || n === !1) ? (mn(e, r), un(e, t)) : t;
1013
1170
  }
1014
1171
  //#endregion
1015
1172
  //#region node_modules/axios/lib/core/mergeConfig.js
1016
- var $t = (e) => e instanceof P ? { ...e } : e;
1017
- function R(e, t) {
1173
+ var gn = (e) => e instanceof F ? { ...e } : e, _n = (e) => Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor ? Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter((t) => Object.getOwnPropertyDescriptor(e, t).enumerable)) : Object.keys(e);
1174
+ function z(e, t) {
1018
1175
  e ||= {}, t ||= {};
1019
1176
  let n = Object.create(null);
1020
1177
  Object.defineProperty(n, "hasOwnProperty", {
@@ -1025,30 +1182,30 @@ function R(e, t) {
1025
1182
  configurable: !0
1026
1183
  });
1027
1184
  function r(e, t, n, r) {
1028
- return N.isPlainObject(e) && N.isPlainObject(t) ? N.merge.call({ caseless: r }, e, t) : N.isPlainObject(t) ? N.merge({}, t) : N.isArray(t) ? t.slice() : t;
1185
+ return P.isPlainObject(e) && P.isPlainObject(t) ? P.merge.call({ caseless: r }, e, t) : P.isPlainObject(t) ? P.merge({}, t) : P.isArray(t) ? t.slice() : t;
1029
1186
  }
1030
1187
  function i(e, t, n, i) {
1031
- if (!N.isUndefined(t)) return r(e, t, n, i);
1032
- if (!N.isUndefined(e)) return r(void 0, e, n, i);
1188
+ if (!P.isUndefined(t)) return r(e, t, n, i);
1189
+ if (!P.isUndefined(e)) return r(void 0, e, n, i);
1033
1190
  }
1034
1191
  function a(e, t) {
1035
- if (!N.isUndefined(t)) return r(void 0, t);
1192
+ if (!P.isUndefined(t)) return r(void 0, t);
1036
1193
  }
1037
1194
  function o(e, t) {
1038
- if (!N.isUndefined(t)) return r(void 0, t);
1039
- if (!N.isUndefined(e)) return r(void 0, e);
1195
+ if (!P.isUndefined(t)) return r(void 0, t);
1196
+ if (!P.isUndefined(e)) return r(void 0, e);
1040
1197
  }
1041
1198
  function s(n) {
1042
- let r = N.hasOwnProp(t, "transitional") ? t.transitional : void 0;
1043
- if (!N.isUndefined(r)) if (N.isPlainObject(r)) {
1044
- if (N.hasOwnProp(r, n)) return r[n];
1199
+ let r = P.hasOwnProp(t, "transitional") ? t.transitional : void 0;
1200
+ if (!P.isUndefined(r)) if (P.isPlainObject(r)) {
1201
+ if (P.hasOwnProp(r, n)) return r[n];
1045
1202
  } else return;
1046
- let i = N.hasOwnProp(e, "transitional") ? e.transitional : void 0;
1047
- if (N.isPlainObject(i) && N.hasOwnProp(i, n)) return i[n];
1203
+ let i = P.hasOwnProp(e, "transitional") ? e.transitional : void 0;
1204
+ if (P.isPlainObject(i) && P.hasOwnProp(i, n)) return i[n];
1048
1205
  }
1049
1206
  function c(n, i, a) {
1050
- if (N.hasOwnProp(t, a)) return r(n, i);
1051
- if (N.hasOwnProp(e, a)) return r(void 0, n);
1207
+ if (P.hasOwnProp(t, a)) return r(n, i);
1208
+ if (P.hasOwnProp(e, a)) return r(void 0, n);
1052
1209
  }
1053
1210
  let l = {
1054
1211
  url: a,
@@ -1059,7 +1216,7 @@ function R(e, t) {
1059
1216
  transformResponse: o,
1060
1217
  paramsSerializer: o,
1061
1218
  timeout: o,
1062
- timeoutMessage: o,
1219
+ timeoutErrorMessage: o,
1063
1220
  withCredentials: o,
1064
1221
  withXSRFToken: o,
1065
1222
  adapter: o,
@@ -1080,111 +1237,137 @@ function R(e, t) {
1080
1237
  allowedSocketPaths: o,
1081
1238
  responseEncoding: o,
1082
1239
  validateStatus: c,
1083
- headers: (e, t, n) => i($t(e), $t(t), n, !0)
1240
+ headers: (e, t, n) => i(gn(e), gn(t), n, !0)
1084
1241
  };
1085
- return N.forEach(Object.keys({
1242
+ return P.forEach(_n({
1086
1243
  ...e,
1087
1244
  ...t
1088
1245
  }), function(r) {
1089
1246
  if (r === "__proto__" || r === "constructor" || r === "prototype") return;
1090
- let a = N.hasOwnProp(l, r) ? l[r] : i, o = a(N.hasOwnProp(e, r) ? e[r] : void 0, N.hasOwnProp(t, r) ? t[r] : void 0, r);
1091
- N.isUndefined(o) && a !== c || (n[r] = o);
1092
- }), N.hasOwnProp(t, "validateStatus") && N.isUndefined(t.validateStatus) && s("validateStatusUndefinedResolves") === !1 && (N.hasOwnProp(e, "validateStatus") ? n.validateStatus = r(void 0, e.validateStatus) : delete n.validateStatus), n;
1247
+ let a = P.hasOwnProp(l, r) ? l[r] : i, o = a(P.hasOwnProp(e, r) ? e[r] : void 0, P.hasOwnProp(t, r) ? t[r] : void 0, r);
1248
+ P.isUndefined(o) && a !== c || (n[r] = o);
1249
+ }), P.hasOwnProp(t, "validateStatus") && P.isUndefined(t.validateStatus) && s("validateStatusUndefinedResolves") === !1 && (P.hasOwnProp(e, "validateStatus") ? n.validateStatus = r(void 0, e.validateStatus) : delete n.validateStatus), n;
1093
1250
  }
1094
1251
  //#endregion
1095
- //#region node_modules/axios/lib/helpers/resolveConfig.js
1096
- var en = ["content-type", "content-length"];
1097
- function tn(e, t, n) {
1252
+ //#region node_modules/axios/lib/core/setFormDataHeaders.js
1253
+ var vn = ["content-type", "content-length"];
1254
+ function yn(e, t, n) {
1098
1255
  if (n !== "content-only") {
1099
1256
  e.set(t);
1100
1257
  return;
1101
1258
  }
1102
1259
  Object.entries(t || {}).forEach(([t, n]) => {
1103
- en.includes(t.toLowerCase()) && e.set(t, n);
1260
+ vn.includes(t.toLowerCase()) && e.set(t, n);
1104
1261
  });
1105
1262
  }
1106
- var nn = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
1107
- function rn(e) {
1108
- let t = R({}, e), n = (e) => N.hasOwnProp(t, e) ? t[e] : void 0, r = n("data"), i = n("withXSRFToken"), a = n("xsrfHeaderName"), o = n("xsrfCookieName"), s = n("headers"), c = n("auth"), l = n("baseURL"), u = n("allowAbsoluteUrls"), d = n("url");
1109
- if (t.headers = s = P.from(s), t.url = ht(Qt(l, d, u, t), n("params"), n("paramsSerializer")), c) {
1110
- let t = N.getSafeProp(c, "username") || "", n = N.getSafeProp(c, "password") || "";
1263
+ //#endregion
1264
+ //#region node_modules/axios/lib/helpers/resolveConfig.js
1265
+ var bn = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
1266
+ function xn(e) {
1267
+ let t = z({}, e), n = (e) => P.hasOwnProp(t, e) ? t[e] : void 0, r = n("data"), i = n("withXSRFToken"), a = n("xsrfHeaderName"), o = n("xsrfCookieName"), s = n("headers"), c = n("auth"), l = n("baseURL"), u = n("allowAbsoluteUrls"), d = n("url");
1268
+ if (t.headers = s = F.from(s), t.url = Tt(hn(l, d, u, t), n("params"), n("paramsSerializer")), c) {
1269
+ let t = P.getSafeProp(c, "username") || "", n = P.getSafeProp(c, "password") || "";
1111
1270
  try {
1112
- s.set("Authorization", "Basic " + btoa(t + ":" + (n ? nn(n) : "")));
1271
+ s.set("Authorization", "Basic " + btoa(t + ":" + (n ? bn(n) : "")));
1113
1272
  } catch (t) {
1114
- throw F.from(t, F.ERR_BAD_OPTION_VALUE, e);
1273
+ throw I.from(t, I.ERR_BAD_OPTION_VALUE, e);
1115
1274
  }
1116
1275
  }
1117
- if (N.isFormData(r) && (I.hasStandardBrowserEnv || I.hasStandardBrowserWebWorkerEnv || N.isReactNative(r) ? s.setContentType(void 0) : N.isFunction(r.getHeaders) && tn(s, r.getHeaders(), n("formDataHeaderPolicy"))), I.hasStandardBrowserEnv && (N.isFunction(i) && (i = i(t)), i === !0 || i == null && Ut(t.url))) {
1118
- let e = a && o && Wt.read(o);
1276
+ if (P.isFormData(r)) {
1277
+ let e = P.getSafeProp(r, "getHeaders");
1278
+ L.hasStandardBrowserEnv || L.hasStandardBrowserWebWorkerEnv || P.isReactNative(r) ? s.setContentType(void 0) : P.isFunction(e) && yn(s, e.call(r), n("formDataHeaderPolicy"));
1279
+ }
1280
+ if (L.hasStandardBrowserEnv && (P.isFunction(i) && (i = i(t)), i === !0 || i == null && sn(t.url))) {
1281
+ let e = a && o && cn.read(o);
1119
1282
  e && s.set(a, e);
1120
1283
  }
1121
1284
  return t;
1122
1285
  }
1123
- var an = typeof XMLHttpRequest < "u" && function(e) {
1286
+ var Sn = typeof XMLHttpRequest < "u" && function(e) {
1124
1287
  return new Promise(function(t, n) {
1125
- let r = rn(e), i = r.data, a = P.from(r.headers).normalize(), { responseType: o, onUploadProgress: s, onDownloadProgress: c } = r, l, u, d, f, p;
1126
- function m() {
1288
+ let r = xn(e), i = r.data, a = F.from(r.headers).normalize(), { responseType: o, onUploadProgress: s, onDownloadProgress: c } = r, l, u, d, f, p, m;
1289
+ function h() {
1127
1290
  f && f(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(l), r.signal && r.signal.removeEventListener("abort", l);
1128
1291
  }
1129
- let h = new XMLHttpRequest();
1130
- h.open(r.method.toUpperCase(), r.url, !0), h.timeout = r.timeout;
1131
- function g() {
1132
- if (!h) return;
1133
- let r = P.from("getAllResponseHeaders" in h && h.getAllResponseHeaders());
1134
- It(function(e) {
1135
- t(e), m();
1292
+ let g = new XMLHttpRequest();
1293
+ g.open(r.method.toUpperCase(), r.url, !0), g.timeout = r.timeout;
1294
+ function _(i) {
1295
+ if (!g) return;
1296
+ if (g.status === 0 && (en($t(r.url)) || en(L.origin)) !== "file" && !(g.responseURL && g.responseURL.startsWith("file:"))) {
1297
+ n(new I("Request aborted", I.ECONNABORTED, e, g)), h(), g = null;
1298
+ return;
1299
+ }
1300
+ try {
1301
+ i ? m && m(i) : p && p();
1302
+ } catch (e) {
1303
+ setTimeout(() => {
1304
+ throw e;
1305
+ });
1306
+ }
1307
+ if (!g) return;
1308
+ let a = F.from("getAllResponseHeaders" in g && g.getAllResponseHeaders());
1309
+ Zt(function(e) {
1310
+ t(e), h();
1136
1311
  }, function(e) {
1137
- n(e), m();
1312
+ n(e), h();
1138
1313
  }, {
1139
- data: !o || o === "text" || o === "json" ? h.responseText : h.response,
1140
- status: h.status,
1141
- statusText: h.statusText,
1142
- headers: r,
1314
+ data: !o || o === "text" || o === "json" ? g.responseText : g.response,
1315
+ status: g.status,
1316
+ statusText: g.statusText,
1317
+ headers: a,
1143
1318
  config: e,
1144
- request: h
1145
- }), h = null;
1319
+ request: g
1320
+ }), g = null;
1146
1321
  }
1147
- "onloadend" in h ? h.onloadend = g : h.onreadystatechange = function() {
1148
- !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.startsWith("file:")) || setTimeout(g);
1149
- }, h.onabort = function() {
1150
- h &&= (n(new F("Request aborted", F.ECONNABORTED, e, h)), m(), null);
1151
- }, h.onerror = function(t) {
1152
- let r = new F(t && t.message ? t.message : "Network Error", F.ERR_NETWORK, e, h);
1153
- r.event = t || null, n(r), m(), h = null;
1154
- }, h.ontimeout = function() {
1155
- let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional || _t;
1156
- r.timeoutErrorMessage && (t = r.timeoutErrorMessage), n(new F(t, i.clarifyTimeoutError ? F.ETIMEDOUT : F.ECONNABORTED, e, h)), m(), h = null;
1157
- }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && N.forEach(qe(a), function(e, t) {
1158
- h.setRequestHeader(t, e);
1159
- }), N.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), o && o !== "json" && (h.responseType = r.responseType), c && ([d, p] = Bt(c, !0), h.addEventListener("progress", d)), s && h.upload && ([u, f] = Bt(s), h.upload.addEventListener("progress", u), h.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (l = (t) => {
1160
- h &&= (n(!t || t.type ? new Ft(null, e, h) : t), h.abort(), m(), null);
1322
+ "onloadend" in g ? g.onloadend = _ : g.onreadystatechange = function() {
1323
+ !g || g.readyState !== 4 || g.status === 0 && !(g.responseURL && g.responseURL.startsWith("file:")) || setTimeout(_);
1324
+ }, g.onabort = function() {
1325
+ g &&= (n(new I("Request aborted", I.ECONNABORTED, e, g)), h(), null);
1326
+ }, g.onerror = function(t) {
1327
+ let r = new I(t && t.message ? t.message : "Network Error", I.ERR_NETWORK, e, g);
1328
+ r.event = t || null, n(r), h(), g = null;
1329
+ }, g.ontimeout = function() {
1330
+ let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional || jt;
1331
+ r.timeoutErrorMessage && (t = r.timeoutErrorMessage), n(new I(t, i.clarifyTimeoutError ? I.ETIMEDOUT : I.ECONNABORTED, e, g)), h(), g = null;
1332
+ }, i === void 0 && a.setContentType(null), "setRequestHeader" in g && P.forEach(Ze(a), function(e, t) {
1333
+ g.setRequestHeader(t, e);
1334
+ }), P.isUndefined(r.withCredentials) || (g.withCredentials = !!r.withCredentials), o && o !== "json" && (g.responseType = r.responseType), c && ([d, p, m] = rn(c, !0), g.addEventListener("progress", d)), s && g.upload && ([u, f] = rn(s), g.upload.addEventListener("progress", u), g.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (l = (t) => {
1335
+ g &&= (n(!t || t.type ? new Xt(null, e, g) : t), g.abort(), h(), null);
1161
1336
  }, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
1162
- let _ = Lt(r.url);
1163
- if (_ && !I.protocols.includes(_)) {
1164
- n(new F("Unsupported protocol " + _ + ":", F.ERR_BAD_REQUEST, e)), m();
1337
+ let v = en(r.url);
1338
+ if (v && !L.protocols.includes(v)) {
1339
+ n(new I("Unsupported protocol " + v + ":", I.ERR_BAD_REQUEST, e)), h();
1165
1340
  return;
1166
1341
  }
1167
- h.send(i || null);
1342
+ g.send(i || null);
1168
1343
  });
1169
- }, on = (e, t) => {
1344
+ }, Cn = (e, t) => {
1170
1345
  if (e = e ? e.filter(Boolean) : [], !t && !e.length) return;
1171
1346
  let n = new AbortController(), r = !1, i = function(e) {
1172
1347
  if (!r) {
1173
1348
  r = !0, o();
1174
1349
  let t = e instanceof Error ? e : this.reason;
1175
- n.abort(t instanceof F ? t : new Ft(t instanceof Error ? t.message : t));
1350
+ n.abort(t instanceof I ? t : new Xt(t instanceof Error ? t.message : t));
1176
1351
  }
1177
1352
  }, a = t && setTimeout(() => {
1178
- a = null, i(new F(`timeout of ${t}ms exceeded`, F.ETIMEDOUT));
1353
+ a = null, i(new I(`timeout of ${t}ms exceeded`, I.ETIMEDOUT));
1179
1354
  }, t), o = () => {
1180
1355
  e &&= (a && clearTimeout(a), a = null, e.forEach((e) => {
1181
1356
  e.unsubscribe ? e.unsubscribe(i) : e.removeEventListener("abort", i);
1182
1357
  }), null);
1183
1358
  };
1184
- e.forEach((e) => e.addEventListener("abort", i, { once: !0 }));
1359
+ e.forEach((e) => {
1360
+ if (!r) {
1361
+ if (e.aborted) {
1362
+ i.call(e);
1363
+ return;
1364
+ }
1365
+ e.addEventListener("abort", i, { once: !0 });
1366
+ }
1367
+ });
1185
1368
  let { signal: s } = n;
1186
- return s.unsubscribe = () => N.asap(o), s;
1187
- }, sn = function* (e, t) {
1369
+ return s.unsubscribe = () => P.asap(o), s;
1370
+ }, wn = function* (e, t) {
1188
1371
  let n = e.byteLength;
1189
1372
  if (!t || n < t) {
1190
1373
  yield e;
@@ -1192,9 +1375,9 @@ var an = typeof XMLHttpRequest < "u" && function(e) {
1192
1375
  }
1193
1376
  let r = 0, i;
1194
1377
  for (; r < n;) i = r + t, yield e.slice(r, i), r = i;
1195
- }, cn = async function* (e, t) {
1196
- for await (let n of ln(e)) yield* sn(n, t);
1197
- }, ln = async function* (e) {
1378
+ }, Tn = async function* (e, t) {
1379
+ for await (let n of En(e)) yield* wn(n, t);
1380
+ }, En = async function* (e) {
1198
1381
  if (e[Symbol.asyncIterator]) {
1199
1382
  yield* e;
1200
1383
  return;
@@ -1209,8 +1392,8 @@ var an = typeof XMLHttpRequest < "u" && function(e) {
1209
1392
  } finally {
1210
1393
  await t.cancel();
1211
1394
  }
1212
- }, un = (e, t, n, r) => {
1213
- let i = cn(e, t), a = 0, o, s = (e) => {
1395
+ }, Dn = (e, t, n, r) => {
1396
+ let i = Tn(e, t), a = 0, o, s = (e) => {
1214
1397
  o || (o = !0, r && r(e));
1215
1398
  };
1216
1399
  return new ReadableStream({
@@ -1231,64 +1414,90 @@ var an = typeof XMLHttpRequest < "u" && function(e) {
1231
1414
  return s(e), i.return();
1232
1415
  }
1233
1416
  }, { highWaterMark: 2 });
1234
- }, dn = (e) => e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102, fn = (e, t, n) => t + 2 < n && dn(e.charCodeAt(t + 1)) && dn(e.charCodeAt(t + 2));
1235
- function pn(e) {
1236
- if (!e || typeof e != "string" || !e.startsWith("data:")) return 0;
1237
- let t = e.indexOf(",");
1238
- if (t < 0) return 0;
1239
- let n = e.slice(5, t), r = e.slice(t + 1);
1240
- if (/;base64/i.test(n)) {
1241
- let e = r.length, t = r.length;
1242
- for (let n = 0; n < t; n++) if (r.charCodeAt(n) === 37 && n + 2 < t) {
1243
- let t = r.charCodeAt(n + 1), i = r.charCodeAt(n + 2);
1244
- dn(t) && dn(i) && (e -= 2, n += 2);
1417
+ }, On = (e) => e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102, kn = (e, t, n) => t + 2 < n && On(e.charCodeAt(t + 1)) && On(e.charCodeAt(t + 2)), An = (e) => e <= 57 ? e - 48 : (e & 223) - 55, jn = (e) => e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 43 || e === 47 || e === 45 || e === 95, Mn = (e) => e === 9 || e === 10 || e === 12 || e === 13 || e === 32, Nn = (e) => {
1418
+ let t = Math.floor(e / 4), n = e % 4;
1419
+ return t * 3 + (n === 2 ? 1 : n === 3 ? 2 : 0);
1420
+ }, Pn = (e) => {
1421
+ let t = e.length, n = 0;
1422
+ return t > 0 && e.charCodeAt(t - 1) === 61 && (n++, t > 1 && e.charCodeAt(t - 2) === 61 && n++), Math.floor((t - n) * 3 / 4);
1423
+ }, Fn = (e) => {
1424
+ let t = e.length, n = 0, r = 0, i = !1;
1425
+ for (let a = 0; a < t; a++) {
1426
+ let o = e.charCodeAt(a);
1427
+ if (o === 37 && kn(e, a, t) && (o = An(e.charCodeAt(a + 1)) * 16 + An(e.charCodeAt(a + 2)), a += 2), !Mn(o)) {
1428
+ if (o === 61) {
1429
+ r++;
1430
+ continue;
1431
+ }
1432
+ if (!jn(o) || r > 0) {
1433
+ i = !0;
1434
+ continue;
1435
+ }
1436
+ n++;
1245
1437
  }
1246
- let n = 0, i = t - 1, a = (e) => e >= 2 && r.charCodeAt(e - 2) === 37 && r.charCodeAt(e - 1) === 51 && (r.charCodeAt(e) === 68 || r.charCodeAt(e) === 100);
1247
- i >= 0 && (r.charCodeAt(i) === 61 ? (n++, i--) : a(i) && (n++, i -= 3)), n === 1 && i >= 0 && (r.charCodeAt(i) === 61 || a(i)) && n++;
1248
- let o = Math.floor(e / 4) * 3 - (n || 0);
1249
- return o > 0 ? o : 0;
1250
- }
1251
- let i = 0;
1252
- for (let e = 0, t = r.length; e < t; e++) {
1253
- let n = r.charCodeAt(e);
1254
- if (n === 37 && fn(r, e, t)) i += 1, e += 2;
1255
- else if (n < 128) i += 1;
1256
- else if (n < 2048) i += 2;
1438
+ }
1439
+ return i || r > 2 || r > 0 && (n + r) % 4 != 0 || n % 4 == 1 ? Pn(e) : Nn(n);
1440
+ }, In = (e, t) => {
1441
+ if (!e || typeof e != "string" || !e.startsWith("data:")) return 0;
1442
+ let n = e.indexOf(",");
1443
+ if (n < 0) return 0;
1444
+ let r = e.slice(5, n), i = e.slice(n + 1);
1445
+ if (/;base64/i.test(r)) return t(i);
1446
+ let a = 0;
1447
+ for (let e = 0, t = i.length; e < t; e++) {
1448
+ let n = i.charCodeAt(e);
1449
+ if (n === 37 && kn(i, e, t)) a += 1, e += 2;
1450
+ else if (n < 128) a += 1;
1451
+ else if (n < 2048) a += 2;
1257
1452
  else if (n >= 55296 && n <= 56319 && e + 1 < t) {
1258
- let t = r.charCodeAt(e + 1);
1259
- t >= 56320 && t <= 57343 ? (i += 4, e++) : i += 3;
1260
- } else i += 3;
1453
+ let t = i.charCodeAt(e + 1);
1454
+ t >= 56320 && t <= 57343 ? (a += 4, e++) : a += 3;
1455
+ } else a += 3;
1261
1456
  }
1262
- return i;
1457
+ return a;
1458
+ };
1459
+ function Ln(e) {
1460
+ let t = typeof e == "string" ? e.indexOf("#") : -1;
1461
+ return In(t === -1 ? e : e.slice(0, t), Fn);
1263
1462
  }
1264
1463
  //#endregion
1265
1464
  //#region node_modules/axios/lib/env/data.js
1266
- var mn = "1.18.1", hn = 64 * 1024, { isFunction: gn } = N, _n = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), vn = (e) => {
1267
- if (!N.isString(e)) return e;
1465
+ var Rn = "1.20.0", zn = 64 * 1024, Bn = {
1466
+ cache: "default",
1467
+ redirect: "follow",
1468
+ referrer: "about:client",
1469
+ referrerPolicy: "",
1470
+ mode: "cors",
1471
+ integrity: "",
1472
+ keepalive: !1,
1473
+ priority: "auto",
1474
+ window: null
1475
+ }, { isFunction: Vn } = P, Hn = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), Un = (e) => {
1476
+ if (!P.isString(e)) return e;
1268
1477
  try {
1269
1478
  return decodeURIComponent(e);
1270
1479
  } catch {
1271
1480
  return e;
1272
1481
  }
1273
- }, yn = (e, ...t) => {
1482
+ }, Wn = (e, ...t) => {
1274
1483
  try {
1275
1484
  return !!e(...t);
1276
1485
  } catch {
1277
1486
  return !1;
1278
1487
  }
1279
- }, bn = (e) => {
1488
+ }, Gn = (e) => {
1280
1489
  let t = e.indexOf("://"), n = e;
1281
1490
  return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
1282
- }, xn = (e) => {
1283
- let t = N.global !== void 0 && N.global !== null ? N.global : globalThis, { ReadableStream: n, TextEncoder: r } = t;
1284
- e = N.merge.call({ skipUndefined: !0 }, {
1491
+ }, Kn = (e) => {
1492
+ let t = P.global !== void 0 && P.global !== null ? P.global : globalThis, { ReadableStream: n, TextEncoder: r } = t;
1493
+ e = P.merge.call({ skipUndefined: !0 }, {
1285
1494
  Request: t.Request,
1286
1495
  Response: t.Response
1287
1496
  }, e);
1288
- let { fetch: i, Request: a, Response: o } = e, s = i ? gn(i) : typeof fetch == "function", c = gn(a), l = gn(o);
1497
+ let { fetch: i, Request: a, Response: o } = e, s = i ? Vn(i) : typeof fetch == "function", c = Vn(a), l = Vn(o);
1289
1498
  if (!s) return !1;
1290
- let u = s && gn(n), d = s && (typeof r == "function" ? ((e) => (t) => e.encode(t))(new r()) : async (e) => new Uint8Array(await new a(e).arrayBuffer())), f = c && u && yn(() => {
1291
- let e = !1, t = new a(I.origin, {
1499
+ let u = s && Vn(n), d = s && (typeof r == "function" ? ((e) => (t) => e.encode(t))(new r()) : async (e) => new Uint8Array(await new a(e).arrayBuffer())), f = c && u && Wn(() => {
1500
+ let e = !1, t = new a(L.origin, {
1292
1501
  body: new n(),
1293
1502
  method: "POST",
1294
1503
  get duplex() {
@@ -1296,7 +1505,7 @@ var mn = "1.18.1", hn = 64 * 1024, { isFunction: gn } = N, _n = (e) => encodeURI
1296
1505
  }
1297
1506
  }), r = t.headers.has("Content-Type");
1298
1507
  return t.body != null && t.body.cancel(), e && !r;
1299
- }), p = l && u && yn(() => N.isReadableStream(new o("").body)), m = { stream: p && ((e) => e.body) };
1508
+ }), p = l && u && Wn(() => P.isReadableStream(new o("").body)), m = { stream: p && ((e) => e.body) };
1300
1509
  s && [
1301
1510
  "text",
1302
1511
  "arrayBuffer",
@@ -1307,120 +1516,123 @@ var mn = "1.18.1", hn = 64 * 1024, { isFunction: gn } = N, _n = (e) => encodeURI
1307
1516
  !m[e] && (m[e] = (t, n) => {
1308
1517
  let r = t && t[e];
1309
1518
  if (r) return r.call(t);
1310
- throw new F(`Response type '${e}' is not supported`, F.ERR_NOT_SUPPORT, n);
1519
+ throw new I(`Response type '${e}' is not supported`, I.ERR_NOT_SUPPORT, n);
1311
1520
  });
1312
1521
  });
1313
1522
  let h = async (e) => {
1314
1523
  if (e == null) return 0;
1315
- if (N.isBlob(e)) return e.size;
1316
- if (N.isSpecCompliantForm(e)) return (await new a(I.origin, {
1524
+ if (P.isBlob(e)) return e.size;
1525
+ if (P.isSpecCompliantForm(e)) return (await new a(L.origin, {
1317
1526
  method: "POST",
1318
1527
  body: e
1319
1528
  }).arrayBuffer()).byteLength;
1320
- if (N.isArrayBufferView(e) || N.isArrayBuffer(e)) return e.byteLength;
1321
- if (N.isURLSearchParams(e) && (e += ""), N.isString(e)) return (await d(e)).byteLength;
1322
- }, g = async (e, t) => N.toFiniteNumber(e.getContentLength()) ?? h(t);
1529
+ if (P.isArrayBufferView(e) || P.isArrayBuffer(e)) return e.byteLength;
1530
+ if (P.isURLSearchParams(e) && (e += ""), P.isString(e)) return (await d(e)).byteLength;
1531
+ }, g = async (e, t) => P.toFiniteNumber(e.getContentLength()) ?? h(t);
1323
1532
  return async (e) => {
1324
- let { url: t, method: n, data: s, signal: l, cancelToken: d, timeout: _, onDownloadProgress: ee, onUploadProgress: v, responseType: y, headers: b, withCredentials: te = "same-origin", fetchOptions: x, maxContentLength: S, maxBodyLength: C } = rn(e), w = N.isNumber(S) && S > -1, ne = N.isNumber(C) && C > -1, re = (t) => N.hasOwnProp(e, t) ? e[t] : void 0, ie = i || fetch;
1325
- y = y ? (y + "").toLowerCase() : "text";
1326
- let T = on([l, d && d.toAbortSignal()], _), E = null, D = T && T.unsubscribe && (() => {
1327
- T.unsubscribe();
1328
- }), O, k = null, ae = () => new F("Request body larger than maxBodyLength limit", F.ERR_BAD_REQUEST, e, E);
1533
+ let { url: t, method: n, data: s, signal: l, cancelToken: d, timeout: _, onDownloadProgress: v, onUploadProgress: y, responseType: b, headers: x, withCredentials: ee = "same-origin", fetchOptions: S, maxContentLength: C, maxBodyLength: w, maxRedirects: te } = xn(e), T = P.isNumber(C) && C > -1, ne = P.isNumber(w) && w > -1, re = (t) => P.hasOwnProp(e, t) ? e[t] : void 0, ie = i || fetch;
1534
+ b = b ? (b + "").toLowerCase() : "text";
1535
+ let E = Cn([l, d && d.toAbortSignal()], _), D = null, O = E && E.unsubscribe && (() => {
1536
+ E.unsubscribe();
1537
+ }), ae, oe = null, se = () => new I("Request body larger than maxBodyLength limit", I.ERR_BAD_REQUEST, e, D);
1329
1538
  try {
1330
1539
  let i, l = re("auth");
1331
1540
  if (l && (i = {
1332
- username: N.getSafeProp(l, "username") || "",
1333
- password: N.getSafeProp(l, "password") || ""
1334
- }), bn(t)) {
1335
- let e = new URL(t, I.origin);
1541
+ username: P.getSafeProp(l, "username") || "",
1542
+ password: P.getSafeProp(l, "password") || ""
1543
+ }), Gn(t)) {
1544
+ let e = new URL(t, L.origin);
1336
1545
  !i && (e.username || e.password) && (i = {
1337
- username: vn(e.username),
1338
- password: vn(e.password)
1546
+ username: Un(e.username),
1547
+ password: Un(e.password)
1339
1548
  }), (e.username || e.password) && (e.username = "", e.password = "", t = e.href);
1340
1549
  }
1341
- if (i && (b.delete("authorization"), b.set("Authorization", "Basic " + btoa(_n((i.username || "") + ":" + (i.password || ""))))), w && typeof t == "string" && t.startsWith("data:") && pn(t) > S) throw new F("maxContentLength size of " + S + " exceeded", F.ERR_BAD_RESPONSE, e, E);
1550
+ if (i && (x.delete("authorization"), x.set("Authorization", "Basic " + btoa(Hn((i.username || "") + ":" + (i.password || ""))))), T && typeof t == "string" && t.startsWith("data:") && Ln(t) > C) throw new I("maxContentLength size of " + C + " exceeded", I.ERR_BAD_RESPONSE, e, D);
1342
1551
  if (ne && n !== "get" && n !== "head") {
1343
1552
  let e = await h(s);
1344
- if (typeof e == "number" && isFinite(e) && (O = e, e > C)) throw ae();
1553
+ if (typeof e == "number" && isFinite(e) && (ae = e, e > w)) throw se();
1345
1554
  }
1346
- let d = ne && (N.isReadableStream(s) || N.isStream(s)), _ = (e, t, n) => un(e, hn, (e) => {
1347
- if (ne && e > C) throw k = ae();
1555
+ let d = ne && (P.isReadableStream(s) || P.isStream(s)), _ = (e, t, n) => Dn(e, zn, (e) => {
1556
+ if (ne && e > w) throw oe = se();
1348
1557
  t && t(e);
1349
1558
  }, n);
1350
- if (f && n !== "get" && n !== "head" && (v || d)) {
1351
- if (O ??= await g(b, s), O !== 0 || d) {
1559
+ if (f && n !== "get" && n !== "head" && (y || d)) {
1560
+ if (ae ??= await g(x, s), ae !== 0 || d) {
1352
1561
  let e = new a(t, {
1353
1562
  method: "POST",
1354
1563
  body: s,
1355
1564
  duplex: "half"
1356
1565
  }), n;
1357
- if (N.isFormData(s) && (n = e.headers.get("content-type")) && b.setContentType(n), e.body) {
1358
- let [t, n] = v && Vt(O, Bt(Ht(v))) || [];
1566
+ if (P.isFormData(s) && (n = e.headers.get("content-type")) && x.setContentType(n), e.body) {
1567
+ let [t, n] = y && an(ae, rn(on(y))) || [];
1359
1568
  s = _(e.body, t, n);
1360
1569
  }
1361
1570
  }
1362
1571
  } else if (d && !c && u && n !== "get" && n !== "head") s = _(s);
1363
- else if (d && c && !f && n !== "get" && n !== "head") throw new F("Stream request bodies are not supported by the current fetch implementation", F.ERR_NOT_SUPPORT, e, E);
1364
- N.isString(te) || (te = te ? "include" : "omit");
1365
- let oe = c && "credentials" in a.prototype;
1366
- if (N.isFormData(s)) {
1367
- let e = b.getContentType();
1368
- e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && b.delete("content-type");
1572
+ else if (d && c && !f && n !== "get" && n !== "head") throw new I("Stream request bodies are not supported by the current fetch implementation", I.ERR_NOT_SUPPORT, e, D);
1573
+ P.isString(ee) || (ee = ee ? "include" : "omit");
1574
+ let ce = c && "credentials" in a.prototype;
1575
+ if (P.isFormData(s)) {
1576
+ let e = x.getContentType();
1577
+ e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && x.delete("content-type");
1369
1578
  }
1370
- b.set("User-Agent", "axios/" + mn, !1);
1371
- let se = {
1372
- ...x,
1373
- signal: T,
1579
+ x.set("User-Agent", "axios/" + Rn, !1);
1580
+ let k = S == null ? S : Object.assign(Object.create(null), S);
1581
+ k && (delete k.body, delete k.headers, delete k.method, delete k.signal, delete k.duplex, delete k.credentials);
1582
+ let A = Object.assign(Object.create(null), k, {
1583
+ signal: E,
1374
1584
  method: n.toUpperCase(),
1375
- headers: qe(b.normalize()),
1585
+ headers: Ze(x.normalize()),
1376
1586
  body: s,
1377
1587
  duplex: "half",
1378
- credentials: oe ? te : void 0
1379
- };
1380
- E = c && new a(t, se);
1381
- let A = await (c ? ie(E, x) : ie(t, se)), ce = P.from(A.headers);
1382
- if (w) {
1383
- let t = N.toFiniteNumber(ce.getContentLength());
1384
- if (t != null && t > S) throw new F("maxContentLength size of " + S + " exceeded", F.ERR_BAD_RESPONSE, e, E);
1588
+ credentials: ce ? ee : void 0
1589
+ });
1590
+ c && (P.forEach(Bn, (e, t) => {
1591
+ A[t] === void 0 && (A[t] = e);
1592
+ }), A.signal === void 0 && (A.signal = null), A.body === void 0 && (A.body = null)), te === 0 && (A.redirect = "manual", k && (k.redirect = "manual")), D = c && new a(t, A);
1593
+ let j = await (c ? ie(D, k) : ie(t, A)), le = F.from(j.headers);
1594
+ if (T) {
1595
+ let t = P.toFiniteNumber(le.getContentLength());
1596
+ if (t != null && t > C) throw new I("maxContentLength size of " + C + " exceeded", I.ERR_BAD_RESPONSE, e, D);
1385
1597
  }
1386
- let le = p && (y === "stream" || y === "response");
1387
- if (p && A.body && (ee || w || le && D)) {
1598
+ let ue = p && (b === "stream" || b === "response");
1599
+ if (p && j.body && (v || T || ue && O)) {
1388
1600
  let t = {};
1389
1601
  [
1390
1602
  "status",
1391
1603
  "statusText",
1392
1604
  "headers"
1393
1605
  ].forEach((e) => {
1394
- t[e] = A[e];
1606
+ t[e] = j[e];
1395
1607
  });
1396
- let n = N.toFiniteNumber(ce.getContentLength()), [r, i] = ee && Vt(n, Bt(Ht(ee), !0)) || [], a = 0;
1397
- A = new o(un(A.body, hn, (t) => {
1398
- if (w && (a = t, a > S)) throw new F("maxContentLength size of " + S + " exceeded", F.ERR_BAD_RESPONSE, e, E);
1608
+ let n = P.toFiniteNumber(le.getContentLength()), [r, i] = v && an(n, rn(on(v), !0)) || [], a = 0;
1609
+ j = new o(Dn(j.body, zn, (t) => {
1610
+ if (T && (a = t, a > C)) throw new I("maxContentLength size of " + C + " exceeded", I.ERR_BAD_RESPONSE, e, D);
1399
1611
  r && r(t);
1400
1612
  }, () => {
1401
- i && i(), D && D();
1613
+ i && i(), O && O();
1402
1614
  }), t);
1403
1615
  }
1404
- y ||= "text";
1405
- let j = await m[N.findKey(m, y) || "text"](A, e);
1406
- if (w && !p && !le) {
1616
+ b ||= "text";
1617
+ let M = await m[P.findKey(m, b) || "text"](j, e);
1618
+ if (T && !p && !ue) {
1407
1619
  let t;
1408
- if (j != null && (typeof j.byteLength == "number" ? t = j.byteLength : typeof j.size == "number" ? t = j.size : typeof j == "string" && (t = typeof r == "function" ? new r().encode(j).byteLength : j.length)), typeof t == "number" && t > S) throw new F("maxContentLength size of " + S + " exceeded", F.ERR_BAD_RESPONSE, e, E);
1620
+ if (M != null && (typeof M.byteLength == "number" ? t = M.byteLength : typeof M.size == "number" ? t = M.size : typeof M == "string" && (t = typeof r == "function" ? new r().encode(M).byteLength : M.length)), typeof t == "number" && t > C) throw new I("maxContentLength size of " + C + " exceeded", I.ERR_BAD_RESPONSE, e, D);
1409
1621
  }
1410
- return !le && D && D(), await new Promise((t, n) => {
1411
- It(t, n, {
1412
- data: j,
1413
- headers: P.from(A.headers),
1414
- status: A.status,
1415
- statusText: A.statusText,
1622
+ return !ue && O && O(), await new Promise((t, n) => {
1623
+ Zt(t, n, {
1624
+ data: M,
1625
+ headers: F.from(j.headers),
1626
+ status: j.status,
1627
+ statusText: j.statusText,
1416
1628
  config: e,
1417
- request: E
1629
+ request: D
1418
1630
  });
1419
1631
  });
1420
1632
  } catch (t) {
1421
- if (D && D(), T && T.aborted && T.reason instanceof F) {
1422
- let n = T.reason;
1423
- throw n.config = e, E && (n.request = E), t !== n && Object.defineProperty(n, "cause", {
1633
+ if (O && O(), E && E.aborted && E.reason instanceof I) {
1634
+ let n = E.reason;
1635
+ throw n.config = e, D && (n.request = D), t !== n && Object.defineProperty(n, "cause", {
1424
1636
  __proto__: null,
1425
1637
  value: t,
1426
1638
  writable: !0,
@@ -1428,10 +1640,10 @@ var mn = "1.18.1", hn = 64 * 1024, { isFunction: gn } = N, _n = (e) => encodeURI
1428
1640
  configurable: !0
1429
1641
  }), n;
1430
1642
  }
1431
- if (k) throw E && !k.request && (k.request = E), k;
1432
- if (t instanceof F) throw E && !t.request && (t.request = E), t;
1643
+ if (oe) throw D && !oe.request && (oe.request = D), oe;
1644
+ if (t instanceof I) throw D && !t.request && (t.request = D), t;
1433
1645
  if (t && t.name === "TypeError" && /Load failed|fetch/i.test(t.message)) {
1434
- let n = new F("Network Error", F.ERR_NETWORK, e, E, t && t.response);
1646
+ let n = new I("Network Error", I.ERR_NETWORK, e, D, t && t.response);
1435
1647
  throw Object.defineProperty(n, "cause", {
1436
1648
  __proto__: null,
1437
1649
  value: t.cause || t,
@@ -1440,27 +1652,27 @@ var mn = "1.18.1", hn = 64 * 1024, { isFunction: gn } = N, _n = (e) => encodeURI
1440
1652
  configurable: !0
1441
1653
  }), n;
1442
1654
  }
1443
- throw F.from(t, t && t.code, e, E, t && t.response);
1655
+ throw I.from(t, t && t.code, e, D, t && t.response);
1444
1656
  }
1445
1657
  };
1446
- }, Sn = /* @__PURE__ */ new Map(), Cn = (e) => {
1658
+ }, qn = /* @__PURE__ */ new Map(), Jn = (e) => {
1447
1659
  let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
1448
1660
  r,
1449
1661
  i,
1450
1662
  n
1451
- ], o = a.length, s, c, l = Sn;
1452
- for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : xn(t)), l = c;
1663
+ ], o = a.length, s, c, l = qn;
1664
+ for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : Kn(t)), l = c;
1453
1665
  return c;
1454
1666
  };
1455
- Cn();
1667
+ Jn();
1456
1668
  //#endregion
1457
1669
  //#region node_modules/axios/lib/adapters/adapters.js
1458
- var wn = {
1670
+ var Yn = {
1459
1671
  http: null,
1460
- xhr: an,
1461
- fetch: { get: Cn }
1672
+ xhr: Sn,
1673
+ fetch: { get: Jn }
1462
1674
  };
1463
- N.forEach(wn, (e, t) => {
1675
+ P.forEach(Yn, (e, t) => {
1464
1676
  if (e) {
1465
1677
  try {
1466
1678
  Object.defineProperty(e, "name", {
@@ -1474,61 +1686,62 @@ N.forEach(wn, (e, t) => {
1474
1686
  });
1475
1687
  }
1476
1688
  });
1477
- var Tn = (e) => `- ${e}`, En = (e) => N.isFunction(e) || e === null || e === !1;
1478
- function Dn(e, t) {
1479
- e = N.isArray(e) ? e : [e];
1689
+ var Xn = (e) => `- ${e}`, Zn = (e) => P.isFunction(e) || e === null || e === !1;
1690
+ function Qn(e, t) {
1691
+ e = P.isArray(e) ? e : [e];
1480
1692
  let { length: n } = e, r, i, a = {};
1481
1693
  for (let o = 0; o < n; o++) {
1482
1694
  r = e[o];
1483
1695
  let n;
1484
- if (i = r, !En(r) && (i = wn[(n = String(r)).toLowerCase()], i === void 0)) throw new F(`Unknown adapter '${n}'`);
1485
- if (i && (N.isFunction(i) || (i = i.get(t)))) break;
1696
+ if (i = r, !Zn(r) && (i = Yn[(n = String(r)).toLowerCase()], i === void 0)) throw new I(`Unknown adapter '${n}'`);
1697
+ if (i && (P.isFunction(i) || (i = i.get(t)))) break;
1486
1698
  a[n || "#" + o] = i;
1487
1699
  }
1488
1700
  if (!i) {
1489
1701
  let e = Object.entries(a).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
1490
- throw new F("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(Tn).join("\n") : " " + Tn(e[0]) : "as no adapter specified"), F.ERR_NOT_SUPPORT);
1702
+ throw new I("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(Xn).join("\n") : " " + Xn(e[0]) : "as no adapter specified"), I.ERR_NOT_SUPPORT);
1491
1703
  }
1492
1704
  return i;
1493
1705
  }
1494
- var On = {
1495
- getAdapter: Dn,
1496
- adapters: wn
1706
+ var $n = {
1707
+ getAdapter: Qn,
1708
+ adapters: Yn
1497
1709
  };
1498
1710
  //#endregion
1499
1711
  //#region node_modules/axios/lib/core/dispatchRequest.js
1500
- function kn(e) {
1501
- if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new Ft(null, e);
1712
+ function er(e) {
1713
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new Xt(null, e);
1502
1714
  }
1503
- function An(e) {
1504
- return kn(e), e.headers = P.from(e.headers), e.data = Nt.call(e, e.transformRequest), [
1715
+ function tr(e) {
1716
+ let t = P.toSafeFlatObject(e);
1717
+ return er(t), t.headers = F.from(P.getSafeProp(t, "headers")), t.data = Jt.call(t, t.transformRequest), [
1505
1718
  "post",
1506
1719
  "put",
1507
1720
  "patch"
1508
- ].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), On.getAdapter(e.adapter || Mt.adapter, e)(e).then(function(t) {
1509
- kn(e), e.response = t;
1721
+ ].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), $n.getAdapter(t.adapter || qt.adapter, t)(t).then(function(e) {
1722
+ er(t), t.response = e;
1510
1723
  try {
1511
- t.data = Nt.call(e, e.transformResponse, t);
1724
+ e.data = Jt.call(t, t.transformResponse, e);
1512
1725
  } finally {
1513
- delete e.response;
1726
+ delete t.response;
1514
1727
  }
1515
- return t.headers = P.from(t.headers), t;
1516
- }, function(t) {
1517
- if (!Pt(t) && (kn(e), t && t.response)) {
1518
- e.response = t.response;
1728
+ return e.headers = F.from(e.headers), e;
1729
+ }, function(e) {
1730
+ if (!Yt(e) && (er(t), e && e.response)) {
1731
+ t.response = e.response;
1519
1732
  try {
1520
- t.response.data = Nt.call(e, e.transformResponse, t.response);
1733
+ e.response.data = Jt.call(t, t.transformResponse, e.response);
1521
1734
  } finally {
1522
- delete e.response;
1735
+ delete t.response;
1523
1736
  }
1524
- t.response.headers = P.from(t.response.headers);
1737
+ e.response.headers = F.from(e.response.headers);
1525
1738
  }
1526
- return Promise.reject(t);
1739
+ return Promise.reject(e);
1527
1740
  });
1528
1741
  }
1529
1742
  //#endregion
1530
1743
  //#region node_modules/axios/lib/helpers/validator.js
1531
- var jn = {};
1744
+ var nr = {};
1532
1745
  [
1533
1746
  "object",
1534
1747
  "boolean",
@@ -1537,103 +1750,92 @@ var jn = {};
1537
1750
  "string",
1538
1751
  "symbol"
1539
1752
  ].forEach((e, t) => {
1540
- jn[e] = function(n) {
1753
+ nr[e] = function(n) {
1541
1754
  return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
1542
1755
  };
1543
1756
  });
1544
- var Mn = {};
1545
- jn.transitional = function(e, t, n) {
1757
+ var rr = {};
1758
+ nr.transitional = function(e, t, n) {
1546
1759
  function r(e, t) {
1547
- return "[Axios v" + mn + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "");
1760
+ return "[Axios v" + Rn + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "");
1548
1761
  }
1549
1762
  return (n, i, a) => {
1550
- if (e === !1) throw new F(r(i, " has been removed" + (t ? " in " + t : "")), F.ERR_DEPRECATED);
1551
- return t && !Mn[i] && (Mn[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), !e || e(n, i, a);
1763
+ if (e === !1) throw new I(r(i, " has been removed" + (t ? " in " + t : "")), I.ERR_DEPRECATED);
1764
+ return t && !rr[i] && (rr[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), !e || e(n, i, a);
1552
1765
  };
1553
- }, jn.spelling = function(e) {
1766
+ }, nr.spelling = function(e) {
1554
1767
  return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
1555
1768
  };
1556
- function Nn(e, t, n) {
1557
- if (typeof e != "object" || !e) throw new F("options must be an object", F.ERR_BAD_OPTION_VALUE);
1769
+ function ir(e, t, n) {
1770
+ if (typeof e != "object" || !e) throw new I("options must be an object", I.ERR_BAD_OPTION_VALUE);
1558
1771
  let r = Object.keys(e), i = r.length;
1559
1772
  for (; i-- > 0;) {
1560
1773
  let a = r[i], o = Object.prototype.hasOwnProperty.call(t, a) ? t[a] : void 0;
1561
1774
  if (o) {
1562
1775
  let t = e[a], n = t === void 0 || o(t, a, e);
1563
- if (n !== !0) throw new F("option " + a + " must be " + n, F.ERR_BAD_OPTION_VALUE);
1776
+ if (n !== !0) throw new I("option " + a + " must be " + n, I.ERR_BAD_OPTION_VALUE);
1564
1777
  continue;
1565
1778
  }
1566
- if (n !== !0) throw new F("Unknown option " + a, F.ERR_BAD_OPTION);
1779
+ if (n !== !0) throw new I("Unknown option " + a, I.ERR_BAD_OPTION);
1567
1780
  }
1568
1781
  }
1569
- var Pn = {
1570
- assertOptions: Nn,
1571
- validators: jn
1572
- }, z = Pn.validators, B = class {
1782
+ var ar = {
1783
+ assertOptions: ir,
1784
+ validators: nr
1785
+ }, B = ar.validators, V = class {
1573
1786
  constructor(e) {
1574
1787
  this.defaults = e || {}, this.interceptors = {
1575
- request: new gt(),
1576
- response: new gt()
1788
+ request: new At(),
1789
+ response: new At()
1577
1790
  };
1578
1791
  }
1579
1792
  async request(e, t) {
1580
1793
  try {
1581
1794
  return await this._request(e, t);
1582
1795
  } catch (e) {
1583
- if (e instanceof Error) {
1796
+ if (e instanceof Error) try {
1584
1797
  let t = {};
1585
1798
  Error.captureStackTrace ? Error.captureStackTrace(t) : t = /* @__PURE__ */ Error();
1586
- let n = (() => {
1587
- if (!t.stack) return "";
1588
- let e = t.stack.indexOf("\n");
1589
- return e === -1 ? "" : t.stack.slice(e + 1);
1590
- })();
1591
- try {
1592
- if (!e.stack) e.stack = n;
1593
- else if (n) {
1594
- let t = n.indexOf("\n"), r = t === -1 ? -1 : n.indexOf("\n", t + 1), i = r === -1 ? "" : n.slice(r + 1);
1595
- String(e.stack).endsWith(i) || (e.stack += "\n" + n);
1596
- }
1597
- } catch {}
1598
- }
1799
+ let n = t.stack, r = "";
1800
+ if (typeof n == "string") {
1801
+ let e = n.indexOf("\n");
1802
+ r = e === -1 ? "" : n.slice(e + 1);
1803
+ }
1804
+ if (!e.stack) e.stack = r;
1805
+ else if (r) {
1806
+ let t = r.indexOf("\n"), n = t === -1 ? -1 : r.indexOf("\n", t + 1), i = n === -1 ? "" : r.slice(n + 1);
1807
+ String(e.stack).endsWith(i) || (e.stack += "\n" + r);
1808
+ }
1809
+ } catch {}
1599
1810
  throw e;
1600
1811
  }
1601
1812
  }
1602
1813
  _request(e, t) {
1603
- typeof e == "string" ? (t ||= {}, t.url = e) : t = e || {}, t = R(this.defaults, t);
1814
+ typeof e == "string" ? (t ||= {}, t.url = e) : t = e || {}, t = z(this.defaults, t);
1604
1815
  let { transitional: n, paramsSerializer: r, headers: i } = t;
1605
- n !== void 0 && Pn.assertOptions(n, {
1606
- silentJSONParsing: z.transitional(z.boolean),
1607
- forcedJSONParsing: z.transitional(z.boolean),
1608
- clarifyTimeoutError: z.transitional(z.boolean),
1609
- legacyInterceptorReqResOrdering: z.transitional(z.boolean),
1610
- advertiseZstdAcceptEncoding: z.transitional(z.boolean),
1611
- validateStatusUndefinedResolves: z.transitional(z.boolean)
1612
- }, !1), r != null && (N.isFunction(r) ? t.paramsSerializer = { serialize: r } : Pn.assertOptions(r, {
1613
- encode: z.function,
1614
- serialize: z.function
1615
- }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), Pn.assertOptions(t, {
1616
- baseUrl: z.spelling("baseURL"),
1617
- withXsrfToken: z.spelling("withXSRFToken")
1618
- }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
1619
- let a = i && N.merge(i.common, i[t.method]);
1620
- i && N.forEach([
1621
- "delete",
1622
- "get",
1623
- "head",
1624
- "post",
1625
- "put",
1626
- "patch",
1627
- "query",
1628
- "common"
1629
- ], (e) => {
1816
+ n !== void 0 && ar.assertOptions(n, {
1817
+ silentJSONParsing: B.transitional(B.boolean),
1818
+ forcedJSONParsing: B.transitional(B.boolean),
1819
+ clarifyTimeoutError: B.transitional(B.boolean),
1820
+ legacyInterceptorReqResOrdering: B.transitional(B.boolean),
1821
+ advertiseZstdAcceptEncoding: B.transitional(B.boolean),
1822
+ validateStatusUndefinedResolves: B.transitional(B.boolean)
1823
+ }, !1), r != null && (P.isFunction(r) ? t.paramsSerializer = { serialize: r } : ar.assertOptions(r, {
1824
+ encode: B.function,
1825
+ serialize: B.function
1826
+ }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), ar.assertOptions(t, {
1827
+ baseUrl: B.spelling("baseURL"),
1828
+ withXsrfToken: B.spelling("withXSRFToken")
1829
+ }, !0), t.method = (P.getSafeProp(t, "method") || P.getSafeProp(this.defaults, "method") || "get").toLowerCase();
1830
+ let a = i && P.merge(i.common, i[t.method]);
1831
+ i && P.forEach(Gt.concat("common"), (e) => {
1630
1832
  delete i[e];
1631
- }), t.headers = P.concat(a, i);
1833
+ }), t.headers = F.concat(a, i);
1632
1834
  let o = [], s = !0;
1633
1835
  this.interceptors.request.forEach(function(e) {
1634
1836
  if (typeof e.runWhen == "function" && e.runWhen(t) === !1) return;
1635
1837
  s &&= e.synchronous;
1636
- let n = t.transitional || _t;
1838
+ let n = t.transitional || jt;
1637
1839
  n && n.legacyInterceptorReqResOrdering ? o.unshift(e.fulfilled, e.rejected) : o.push(e.fulfilled, e.rejected);
1638
1840
  });
1639
1841
  let c = [];
@@ -1642,7 +1844,7 @@ var Pn = {
1642
1844
  });
1643
1845
  let l, u = 0, d;
1644
1846
  if (!s) {
1645
- let e = [An.bind(this), void 0];
1847
+ let e = [tr.bind(this), void 0];
1646
1848
  for (e.unshift(...o), e.push(...c), d = e.length, l = Promise.resolve(t); u < d;) l = l.then(e[u++], e[u++]);
1647
1849
  return l;
1648
1850
  }
@@ -1651,38 +1853,47 @@ var Pn = {
1651
1853
  for (; u < d;) {
1652
1854
  let e = o[u++], t = o[u++];
1653
1855
  try {
1654
- f = e(f);
1856
+ f = e ? e(f) : f;
1655
1857
  } catch (e) {
1656
- t.call(this, e);
1858
+ if (!t) {
1859
+ l = Promise.reject(e);
1860
+ break;
1861
+ }
1862
+ try {
1863
+ let n = t.call(this, e);
1864
+ P.isThenable(n) && (l = Promise.resolve(n).then(() => tr.call(this, f)));
1865
+ } catch (e) {
1866
+ l = Promise.reject(e);
1867
+ }
1657
1868
  break;
1658
1869
  }
1659
1870
  }
1660
- try {
1661
- l = An.call(this, f);
1871
+ if (!l) try {
1872
+ l = tr.call(this, f);
1662
1873
  } catch (e) {
1663
- return Promise.reject(e);
1874
+ l = Promise.reject(e);
1664
1875
  }
1665
1876
  for (u = 0, d = c.length; u < d;) l = l.then(c[u++], c[u++]);
1666
1877
  return l;
1667
1878
  }
1668
1879
  getUri(e) {
1669
- return e = R(this.defaults, e), ht(Qt(e.baseURL, e.url, e.allowAbsoluteUrls, e), e.params, e.paramsSerializer);
1880
+ return e = z(this.defaults, e), Tt(hn(e.baseURL, e.url, e.allowAbsoluteUrls, e), e.params, e.paramsSerializer);
1670
1881
  }
1671
1882
  };
1672
- N.forEach([
1883
+ P.forEach([
1673
1884
  "delete",
1674
1885
  "get",
1675
1886
  "head",
1676
1887
  "options"
1677
1888
  ], function(e) {
1678
- B.prototype[e] = function(t, n) {
1679
- return this.request(R(n || {}, {
1889
+ V.prototype[e] = function(t, n) {
1890
+ return this.request(z(n || {}, {
1680
1891
  method: e,
1681
1892
  url: t,
1682
- data: n && N.hasOwnProp(n, "data") ? n.data : void 0
1893
+ data: n && P.hasOwnProp(n, "data") ? n.data : void 0
1683
1894
  }));
1684
1895
  };
1685
- }), N.forEach([
1896
+ }), P.forEach([
1686
1897
  "post",
1687
1898
  "put",
1688
1899
  "patch",
@@ -1690,7 +1901,7 @@ N.forEach([
1690
1901
  ], function(e) {
1691
1902
  function t(t) {
1692
1903
  return function(n, r, i) {
1693
- return this.request(R(i || {}, {
1904
+ return this.request(z(i || {}, {
1694
1905
  method: e,
1695
1906
  headers: t ? { "Content-Type": "multipart/form-data" } : {},
1696
1907
  url: n,
@@ -1698,11 +1909,11 @@ N.forEach([
1698
1909
  }));
1699
1910
  };
1700
1911
  }
1701
- B.prototype[e] = t(), e !== "query" && (B.prototype[e + "Form"] = t(!0));
1912
+ V.prototype[e] = t(), e !== "query" && (V.prototype[e + "Form"] = t(!0));
1702
1913
  });
1703
1914
  //#endregion
1704
1915
  //#region node_modules/axios/lib/cancel/CancelToken.js
1705
- var Fn = class e {
1916
+ var or = class e {
1706
1917
  constructor(e) {
1707
1918
  if (typeof e != "function") throw TypeError("executor must be a function.");
1708
1919
  let t;
@@ -1723,7 +1934,7 @@ var Fn = class e {
1723
1934
  n.unsubscribe(t);
1724
1935
  }, r;
1725
1936
  }, e(function(e, r, i) {
1726
- n.reason || (n.reason = new Ft(e, r, i), t(n.reason));
1937
+ n.reason || (n.reason = new Xt(e, r, i), t(n.reason));
1727
1938
  });
1728
1939
  }
1729
1940
  throwIfRequested() {
@@ -1759,19 +1970,19 @@ var Fn = class e {
1759
1970
  };
1760
1971
  //#endregion
1761
1972
  //#region node_modules/axios/lib/helpers/spread.js
1762
- function In(e) {
1973
+ function sr(e) {
1763
1974
  return function(t) {
1764
1975
  return e.apply(null, t);
1765
1976
  };
1766
1977
  }
1767
1978
  //#endregion
1768
1979
  //#region node_modules/axios/lib/helpers/isAxiosError.js
1769
- function Ln(e) {
1770
- return N.isObject(e) && e.isAxiosError === !0;
1980
+ function cr(e) {
1981
+ return P.isObject(e) && e.isAxiosError === !0;
1771
1982
  }
1772
1983
  //#endregion
1773
1984
  //#region node_modules/axios/lib/helpers/HttpStatusCode.js
1774
- var Rn = {
1985
+ var lr = {
1775
1986
  Continue: 100,
1776
1987
  SwitchingProtocols: 101,
1777
1988
  Processing: 102,
@@ -1809,6 +2020,7 @@ var Rn = {
1809
2020
  LengthRequired: 411,
1810
2021
  PreconditionFailed: 412,
1811
2022
  PayloadTooLarge: 413,
2023
+ ContentTooLarge: 413,
1812
2024
  UriTooLong: 414,
1813
2025
  UnsupportedMediaType: 415,
1814
2026
  RangeNotSatisfiable: 416,
@@ -1816,6 +2028,7 @@ var Rn = {
1816
2028
  ImATeapot: 418,
1817
2029
  MisdirectedRequest: 421,
1818
2030
  UnprocessableEntity: 422,
2031
+ UnprocessableContent: 422,
1819
2032
  Locked: 423,
1820
2033
  FailedDependency: 424,
1821
2034
  TooEarly: 425,
@@ -1835,6 +2048,7 @@ var Rn = {
1835
2048
  LoopDetected: 508,
1836
2049
  NotExtended: 510,
1837
2050
  NetworkAuthenticationRequired: 511,
2051
+ WebServerReturnsAnUnknownError: 520,
1838
2052
  WebServerIsDown: 521,
1839
2053
  ConnectionTimedOut: 522,
1840
2054
  OriginIsUnreachable: 523,
@@ -1842,46 +2056,46 @@ var Rn = {
1842
2056
  SslHandshakeFailed: 525,
1843
2057
  InvalidSslCertificate: 526
1844
2058
  };
1845
- Object.entries(Rn).forEach(([e, t]) => {
1846
- Rn[t] = e;
2059
+ Object.entries(lr).forEach(([e, t]) => {
2060
+ lr[t] === void 0 && (lr[t] = e);
1847
2061
  });
1848
2062
  //#endregion
1849
2063
  //#region node_modules/axios/lib/axios.js
1850
- function zn(e) {
1851
- let t = new B(e), r = n(B.prototype.request, t);
1852
- return N.extend(r, B.prototype, t, { allOwnKeys: !0 }), N.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(t) {
1853
- return zn(R(e, t));
2064
+ function ur(e) {
2065
+ let t = new V(e), r = n(V.prototype.request, t);
2066
+ return P.extend(r, V.prototype, t, { allOwnKeys: !0 }), P.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(t) {
2067
+ return ur(z(e, t));
1854
2068
  }, r;
1855
2069
  }
1856
- var V = zn(Mt);
1857
- V.Axios = B, V.CanceledError = Ft, V.CancelToken = Fn, V.isCancel = Pt, V.VERSION = mn, V.toFormData = ut, V.AxiosError = F, V.Cancel = V.CanceledError, V.all = function(e) {
2070
+ var H = ur(qt);
2071
+ H.Axios = V, H.CanceledError = Xt, H.CancelToken = or, H.isCancel = Yt, H.VERSION = Rn, H.toFormData = bt, H.AxiosError = I, H.Cancel = H.CanceledError, H.all = function(e) {
1858
2072
  return Promise.all(e);
1859
- }, V.spread = In, V.isAxiosError = Ln, V.mergeConfig = R, V.AxiosHeaders = P, V.formToJSON = (e) => At(N.isHTMLForm(e) ? new FormData(e) : e), V.getAdapter = On.getAdapter, V.HttpStatusCode = Rn, V.default = V;
2073
+ }, H.spread = sr, H.isAxiosError = cr, H.mergeConfig = z, H.AxiosHeaders = F, H.formToJSON = (e) => Wt(P.isHTMLForm(e) ? new FormData(e) : e), H.getAdapter = $n.getAdapter, H.HttpStatusCode = lr, H.default = H;
1860
2074
  //#endregion
1861
2075
  //#region src/base.ts
1862
- var H = "https://faceapi.regulaforensics.com".replace(/\/+$/, ""), U = class {
1863
- constructor(e, t = H, n = V) {
2076
+ var U = "https://faceapi.regulaforensics.com".replace(/\/+$/, ""), W = class {
2077
+ constructor(e, t = U, n = H) {
1864
2078
  this.basePath = t, this.axios = n, e && (this.configuration = e, this.basePath = e.basePath ?? t);
1865
2079
  }
1866
- }, Bn = class extends Error {
2080
+ }, dr = class extends Error {
1867
2081
  constructor(e, t) {
1868
2082
  super(t), this.field = e, this.name = "RequiredError";
1869
2083
  }
1870
- }, W = {}, G = "https://example.com", K = function(e, t, n) {
1871
- if (n == null) throw new Bn(t, `Required parameter ${t} was null or undefined when calling ${e}.`);
2084
+ }, G = {}, K = "https://example.com", q = function(e, t, n) {
2085
+ if (n == null) throw new dr(t, `Required parameter ${t} was null or undefined when calling ${e}.`);
1872
2086
  };
1873
- function Vn(e, t, n = "") {
1874
- t != null && (typeof t == "object" ? Array.isArray(t) ? t.forEach((t) => Vn(e, t, n)) : Object.keys(t).forEach((r) => Vn(e, t[r], `${n}${n === "" ? "" : "."}${r}`)) : e.has(n) ? e.append(n, t) : e.set(n, t));
2087
+ function fr(e, t, n = "") {
2088
+ t != null && (typeof t == "object" ? Array.isArray(t) ? t.forEach((t) => fr(e, t, n)) : Object.keys(t).forEach((r) => fr(e, t[r], `${n}${n === "" ? "" : "."}${r}`)) : e.has(n) ? e.append(n, t) : e.set(n, t));
1875
2089
  }
1876
- for (var q = function(e, ...t) {
2090
+ for (var J = function(e, ...t) {
1877
2091
  let n = new URLSearchParams(e.search);
1878
- Vn(n, t), e.search = n.toString();
1879
- }, J = function(e, t, n) {
2092
+ fr(n, t), e.search = n.toString();
2093
+ }, Y = function(e, t, n) {
1880
2094
  let r = typeof e != "string";
1881
2095
  return (r && n && n.isJsonMime ? n.isJsonMime(t.headers["Content-Type"]) : r) ? JSON.stringify(e === void 0 ? {} : e) : e || "";
1882
- }, Y = function(e) {
2096
+ }, X = function(e) {
1883
2097
  return e.pathname + e.search + e.hash;
1884
- }, X = function(e, t, n, r) {
2098
+ }, Z = function(e, t, n, r) {
1885
2099
  return (i = t, a = n) => {
1886
2100
  let o = {
1887
2101
  ...e.options,
@@ -1889,312 +2103,312 @@ for (var q = function(e, ...t) {
1889
2103
  };
1890
2104
  return i.request(o);
1891
2105
  };
1892
- }, Hn = function(e) {
2106
+ }, pr = function(e) {
1893
2107
  return {
1894
2108
  detect: async (t, n, r = {}) => {
1895
- K("detect", "detectRequest", t);
1896
- let i = new URL("/api/detect", G), a;
2109
+ q("detect", "detectRequest", t);
2110
+ let i = new URL("/api/detect", K), a;
1897
2111
  e && (a = e.baseOptions);
1898
2112
  let o = {
1899
2113
  method: "POST",
1900
2114
  ...a,
1901
2115
  ...r
1902
2116
  }, s = {};
1903
- s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), q(i, {});
2117
+ s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), J(i, {});
1904
2118
  let c = a && a.headers ? a.headers : {};
1905
2119
  return o.headers = {
1906
2120
  ...s,
1907
2121
  ...c,
1908
2122
  ...r.headers
1909
- }, o.data = J(t, o, e), {
1910
- url: Y(i),
2123
+ }, o.data = Y(t, o, e), {
2124
+ url: X(i),
1911
2125
  options: o
1912
2126
  };
1913
2127
  },
1914
2128
  match: async (t, n, r = {}) => {
1915
- K("match", "matchRequest", t);
1916
- let i = new URL("/api/match", G), a;
2129
+ q("match", "matchRequest", t);
2130
+ let i = new URL("/api/match", K), a;
1917
2131
  e && (a = e.baseOptions);
1918
2132
  let o = {
1919
2133
  method: "POST",
1920
2134
  ...a,
1921
2135
  ...r
1922
2136
  }, s = {};
1923
- s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), q(i, {});
2137
+ s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), J(i, {});
1924
2138
  let c = a && a.headers ? a.headers : {};
1925
2139
  return o.headers = {
1926
2140
  ...s,
1927
2141
  ...c,
1928
2142
  ...r.headers
1929
- }, o.data = J(t, o, e), {
1930
- url: Y(i),
2143
+ }, o.data = Y(t, o, e), {
2144
+ url: X(i),
1931
2145
  options: o
1932
2146
  };
1933
2147
  },
1934
2148
  matchAndSearch: async (t, n, r = {}) => {
1935
- K("matchAndSearch", "matchAndSearchRequest", t);
1936
- let i = new URL("/api/match_and_search", G), a;
2149
+ q("matchAndSearch", "matchAndSearchRequest", t);
2150
+ let i = new URL("/api/match_and_search", K), a;
1937
2151
  e && (a = e.baseOptions);
1938
2152
  let o = {
1939
2153
  method: "POST",
1940
2154
  ...a,
1941
2155
  ...r
1942
2156
  }, s = {};
1943
- s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), q(i, {});
2157
+ s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), J(i, {});
1944
2158
  let c = a && a.headers ? a.headers : {};
1945
2159
  return o.headers = {
1946
2160
  ...s,
1947
2161
  ...c,
1948
2162
  ...r.headers
1949
- }, o.data = J(t, o, e), {
1950
- url: Y(i),
2163
+ }, o.data = Y(t, o, e), {
2164
+ url: X(i),
1951
2165
  options: o
1952
2166
  };
1953
2167
  }
1954
2168
  };
1955
- }, Un = function(e) {
1956
- let t = Hn(e);
2169
+ }, mr = function(e) {
2170
+ let t = pr(e);
1957
2171
  return {
1958
2172
  async detect(n, r, i) {
1959
- let a = await t.detect(n, r, i), o = e?.serverIndex ?? 0, s = W["MatchApi.detect"]?.[o]?.url;
1960
- return (t, n) => X(a, V, H, e)(t, s || n);
2173
+ let a = await t.detect(n, r, i), o = e?.serverIndex ?? 0, s = G["MatchApi.detect"]?.[o]?.url;
2174
+ return (t, n) => Z(a, H, U, e)(t, s || n);
1961
2175
  },
1962
2176
  async match(n, r, i) {
1963
- let a = await t.match(n, r, i), o = e?.serverIndex ?? 0, s = W["MatchApi.match"]?.[o]?.url;
1964
- return (t, n) => X(a, V, H, e)(t, s || n);
2177
+ let a = await t.match(n, r, i), o = e?.serverIndex ?? 0, s = G["MatchApi.match"]?.[o]?.url;
2178
+ return (t, n) => Z(a, H, U, e)(t, s || n);
1965
2179
  },
1966
2180
  async matchAndSearch(n, r, i) {
1967
- let a = await t.matchAndSearch(n, r, i), o = e?.serverIndex ?? 0, s = W["MatchApi.matchAndSearch"]?.[o]?.url;
1968
- return (t, n) => X(a, V, H, e)(t, s || n);
2181
+ let a = await t.matchAndSearch(n, r, i), o = e?.serverIndex ?? 0, s = G["MatchApi.matchAndSearch"]?.[o]?.url;
2182
+ return (t, n) => Z(a, H, U, e)(t, s || n);
1969
2183
  }
1970
2184
  };
1971
- }, Wn = class extends U {
2185
+ }, hr = class extends W {
1972
2186
  detect(e, t, n) {
1973
- return Un(this.configuration).detect(e, t, n).then((e) => e(this.axios, this.basePath));
2187
+ return mr(this.configuration).detect(e, t, n).then((e) => e(this.axios, this.basePath));
1974
2188
  }
1975
2189
  match(e, t, n) {
1976
- return Un(this.configuration).match(e, t, n).then((e) => e(this.axios, this.basePath));
2190
+ return mr(this.configuration).match(e, t, n).then((e) => e(this.axios, this.basePath));
1977
2191
  }
1978
2192
  matchAndSearch(e, t, n) {
1979
- return Un(this.configuration).matchAndSearch(e, t, n).then((e) => e(this.axios, this.basePath));
2193
+ return mr(this.configuration).matchAndSearch(e, t, n).then((e) => e(this.axios, this.basePath));
1980
2194
  }
1981
- }, Gn = /* @__PURE__ */ function(e) {
2195
+ }, gr = /* @__PURE__ */ function(e) {
1982
2196
  return e.AGE = "Age", e.EMOTION = "Emotion", e.EYE_LEFT = "EyeLeft", e.EYE_RIGHT = "EyeRight", e.SMILE = "Smile", e.GLASSES = "Glasses", e.HEAD_COVERING = "HeadCovering", e.FOREHEAD_COVERING = "ForeheadCovering", e.MOUTH = "Mouth", e.MEDICAL_MASK = "MedicalMask", e.OCCLUSION = "Occlusion", e.STRONG_MAKEUP = "StrongMakeup", e.HEADPHONES = "Headphones", e;
1983
- }({}), Kn = /* @__PURE__ */ function(e) {
2197
+ }({}), _r = /* @__PURE__ */ function(e) {
1984
2198
  return e[e.ALIGN_3x4 = 0] = "ALIGN_3x4", e[e.ALIGN_4x5 = 1] = "ALIGN_4x5", e[e.ALIGN_2x3 = 2] = "ALIGN_2x3", e[e.ALIGN_1x1 = 3] = "ALIGN_1x1", e[e.ALIGN_7x9 = 4] = "ALIGN_7x9", e;
1985
- }({}), qn = /* @__PURE__ */ function(e) {
2199
+ }({}), vr = /* @__PURE__ */ function(e) {
1986
2200
  return e[e.IMAGE_CHARACTERISTICS = 1] = "IMAGE_CHARACTERISTICS", e[e.HEAD_SIZE_AND_POSITIONS = 2] = "HEAD_SIZE_AND_POSITIONS", e[e.FACE_QUALITY = 3] = "FACE_QUALITY", e[e.EYES_CHARACTERISTICS = 4] = "EYES_CHARACTERISTICS", e[e.SHADOWS_AND_LIGHTNING = 5] = "SHADOWS_AND_LIGHTNING", e[e.POSE_AND_EXPRESSION = 6] = "POSE_AND_EXPRESSION", e[e.HEAD_OCCLUSION = 7] = "HEAD_OCCLUSION", e[e.BACKGROUND = 8] = "BACKGROUND", e;
1987
- }({}), Jn = /* @__PURE__ */ function(e) {
2201
+ }({}), yr = /* @__PURE__ */ function(e) {
1988
2202
  return e.IMAGE_CHARACTERISTICS = "ImageCharacteristics", e.HEAD_SIZE_AND_POSITIONS = "HeadSizeAndPosition", e.FACE_QUALITY = "FaceQuality", e.EYES_CHARACTERISTICS = "EyesCharacteristics", e.SHADOWS_AND_LIGHTNING = "ShadowsAndLightning", e.POSE_AND_EXPRESSION = "PoseAndExpression", e.HEAD_OCCLUSION = "HeadOcclusion", e.BACKGROUND = "Background", e;
1989
- }({}), Yn = /* @__PURE__ */ function(e) {
2203
+ }({}), br = /* @__PURE__ */ function(e) {
1990
2204
  return e[e.QUALITY_STATUS_FALSE = 0] = "QUALITY_STATUS_FALSE", e[e.QUALITY_STATUS_TRUE = 1] = "QUALITY_STATUS_TRUE", e[e.QUALITY_STATUS_UNDETERMINED = 2] = "QUALITY_STATUS_UNDETERMINED", e;
1991
- }({}), Xn = /* @__PURE__ */ function(e) {
2205
+ }({}), xr = /* @__PURE__ */ function(e) {
1992
2206
  return e.IMAGE_WIDTH = "ImageWidth", e.IMAGE_HEIGHT = "ImageHeight", e.IMAGE_WIDTH_TO_HEIGHT = "ImageWidthToHeight", e.IMAGE_CHANNELS_NUMBER = "ImageChannelsNumber", e.PADDING_RATIO = "PaddingRatio", e.FACE_MID_POINT_HORIZONTAL_POSITION = "FaceMidPointHorizontalPosition", e.FACE_MID_POINT_VERTICAL_POSITION = "FaceMidPointVerticalPosition", e.HEAD_WIDTH_RATIO = "HeadWidthRatio", e.HEAD_HEIGHT_RATIO = "HeadHeightRatio", e.EYES_DISTANCE = "EyesDistance", e.YAW = "Yaw", e.PITCH = "Pitch", e.ROLL = "Roll", e.BLUR_LEVEL = "BlurLevel", e.NOISE_LEVEL = "NoiseLevel", e.EYE_RIGHT_CLOSED = "EyeRightClosed", e.EYE_LEFT_CLOSED = "EyeLeftClosed", e.EYE_RIGHT_OCCLUDED = "EyeRightOccluded", e.EYE_LEFT_OCCLUDED = "EyeLeftOccluded", e.EYES_RED = "EyesRed", e.EYE_RIGHT_COVERED_WITH_HAIR = "EyeRightCoveredWithHair", e.EYE_LEFT_COVERED_WITH_HAIR = "EyeLeftCoveredWithHair", e.OFF_GAZE = "OffGaze", e.FACE_DYNAMIC_RANGE = "FaceDynamicRange", e.UNNATURAL_SKIN_TONE = "UnnaturalSkinTone", e.TOO_DARK = "TooDark", e.TOO_LIGHT = "TooLight", e.FACE_GLARE = "FaceGlare", e.SHADOWS_ON_FACE = "ShadowsOnFace", e.DARK_GLASSES = "DarkGlasses", e.REFLECTION_ON_GLASSES = "ReflectionOnGlasses", e.FRAMES_TOO_HEAVY = "FramesTooHeavy", e.FACE_OCCLUDED = "FaceOccluded", e.HEAD_COVERING = "HeadCovering", e.BACKGROUND_UNIFORMITY = "BackgroundUniformity", e.SHADOWS_ON_BACKGROUND = "ShadowsOnBackground", e.OTHER_FACES = "OtherFaces", e.SHOULDERS_POSE = "ShouldersPose", e.EXPRESSION_LEVEL = "ExpressionLevel", e.MOUTH_OPEN = "MouthOpen", e.FOREHEAD_COVERING = "ForeheadCovering", e.SMILE = "Smile", e.STRONG_MAKEUP = "StrongMakeup", e.HEADPHONES = "Headphones", e.MEDICAL_MASK = "MedicalMask", e.BACKGROUND_COLOR_MATCH = "BackgroundColorMatch", e.ART_FACE = "ArtFace", e.CONTACT_LENSES = "ContactLenses", e;
1993
- }({}), Zn = /* @__PURE__ */ function(e) {
2207
+ }({}), Sr = /* @__PURE__ */ function(e) {
1994
2208
  return e.OLD_MODE = "OldMode", e.QUALITY_FULL = "QualityFull", e.QUALITY_ICAO = "QualityICAO", e.QUALITY_VISA_SCHENGEN = "QualityVisaSchengen", e.QUALITY_VISA_USA = "QualityVisaUSA", e.CROP_CENTRAL_FACE = "CropCentralFace", e.CROP_ALL_FACES = "CropAllFaces", e.THUMBNAIL = "Thumbnail", e.ATTRIBUTES_ALL = "AttributesAll", e.EMPTY = "", e;
1995
- }({}), Qn = /* @__PURE__ */ function(e) {
2209
+ }({}), Cr = /* @__PURE__ */ function(e) {
1996
2210
  return e[e.FACER_OK = 0] = "FACER_OK", e[e.FR_IMAGE_EMPTY = 1] = "FR_IMAGE_EMPTY", e[e.FR_FACE_NOT_DETECTED = 2] = "FR_FACE_NOT_DETECTED", e[e.FR_LANDMARKS_NOT_DETECTED = 3] = "FR_LANDMARKS_NOT_DETECTED", e[e.FR_FACE_ALIGHNER_FAILED = 4] = "FR_FACE_ALIGHNER_FAILED", e[e.FR_DESCRIPTOR_EXTRACTOR_ERROR = 5] = "FR_DESCRIPTOR_EXTRACTOR_ERROR", e[e.FR_IMAGE_DECODE_ERROR = 6] = "FR_IMAGE_DECODE_ERROR", e[e.FR_INTERNAL_ERROR = 7] = "FR_INTERNAL_ERROR", e[e.FACER_CONFIG_ERROR = 199] = "FACER_CONFIG_ERROR", e[e.FACER_NO_LICENSE = 200] = "FACER_NO_LICENSE", e[e.FACER_IS_NOT_INITIALIZED = 201] = "FACER_IS_NOT_INITIALIZED", e[e.FACER_COMMAND_IS_NOT_SUPPORTED = 202] = "FACER_COMMAND_IS_NOT_SUPPORTED", e[e.FACER_COMMAND_PARAMS_READ_ERROR = 203] = "FACER_COMMAND_PARAMS_READ_ERROR", e[e.FACER_LESS_THAN_TWO_IMAGES_IN_REQUEST = 224] = "FACER_LESS_THAN_TWO_IMAGES_IN_REQUEST", e[e.FACER_VIDEO_DECODE_ERROR = 227] = "FACER_VIDEO_DECODE_ERROR", e[e.FACER_NOT_ENOUGH_FRAMES = 228] = "FACER_NOT_ENOUGH_FRAMES", e[e.FACER_OUTPUT_IS_NOT_DEFINED = 229] = "FACER_OUTPUT_IS_NOT_DEFINED", e[e.FACER_CLOSED_EYES_DETECTED = 230] = "FACER_CLOSED_EYES_DETECTED", e[e.FACER_LOW_QUALITY = 231] = "FACER_LOW_QUALITY", e[e.FACER_HIGH_ASYMMETRY = 232] = "FACER_HIGH_ASYMMETRY", e[e.FACER_FACE_OVER_EMOTIONAL = 233] = "FACER_FACE_OVER_EMOTIONAL", e[e.FACER_SUNGLASSES_DETECTED = 234] = "FACER_SUNGLASSES_DETECTED", e[e.FACER_SMALL_AGE = 235] = "FACER_SMALL_AGE", e[e.FACER_HEADDRESS_DETECTED = 236] = "FACER_HEADDRESS_DETECTED", e[e.FACER_FACES_NOT_MATCHED = 237] = "FACER_FACES_NOT_MATCHED", e[e.FACER_IMAGES_COUNT_LIMIT_EXCEEDED = 238] = "FACER_IMAGES_COUNT_LIMIT_EXCEEDED", e[e.FACER_MEDICINE_MASK_DETECTED = 239] = "FACER_MEDICINE_MASK_DETECTED", e[e.FACER_OCCLUSION_DETECTED = 240] = "FACER_OCCLUSION_DETECTED", e[e.FACER_FOREHEAD_GLASSES_DETECTED = 242] = "FACER_FOREHEAD_GLASSES_DETECTED", e[e.FACER_MOUTH_OPENED = 243] = "FACER_MOUTH_OPENED", e[e.FACER_ART_MASK_DETECTED = 244] = "FACER_ART_MASK_DETECTED", e[e.FACER_ELECTRONIC_DEVICE_DETECTED = 245] = "FACER_ELECTRONIC_DEVICE_DETECTED", e[e.FACER_TRACK_BREAK = 246] = "FACER_TRACK_BREAK", e[e.FACER_WRONG_GEO = 247] = "FACER_WRONG_GEO", e[e.FACER_WRONG_OF = 248] = "FACER_WRONG_OF", e[e.FACER_WRONG_VIEW = 249] = "FACER_WRONG_VIEW", e[e.FACER_TIMEOUT_LIVENESS_TRANSACTION = 250] = "FACER_TIMEOUT_LIVENESS_TRANSACTION", e[e.FACER_FAILED_LIVENESS_TRANSACTION = 251] = "FACER_FAILED_LIVENESS_TRANSACTION", e[e.FACER_ABORTED_LIVENESS_TRANSACTION = 252] = "FACER_ABORTED_LIVENESS_TRANSACTION", e[e.FACER_GENERAL_ERROR = 253] = "FACER_GENERAL_ERROR", e[e.FACER_PASSIVE_LIVENESS_FAIL = 254] = "FACER_PASSIVE_LIVENESS_FAIL", e;
1997
- }({}), $n = /* @__PURE__ */ function(e) {
2211
+ }({}), wr = /* @__PURE__ */ function(e) {
1998
2212
  return e.IN = "in", e.NOT_IN = "nin", e;
1999
- }({}), er = /* @__PURE__ */ function(e) {
2213
+ }({}), Tr = /* @__PURE__ */ function(e) {
2000
2214
  return e[e.DOCUMENT_PRINTED = 1] = "DOCUMENT_PRINTED", e[e.DOCUMENT_RFID = 2] = "DOCUMENT_RFID", e[e.LIVE = 3] = "LIVE", e[e.DOCUMENT_WITH_LIVE = 4] = "DOCUMENT_WITH_LIVE", e[e.EXTERNAL = 5] = "EXTERNAL", e[e.GHOST = 6] = "GHOST", e[e.BARCODE = 7] = "BARCODE", e;
2001
- }({}), tr = /* @__PURE__ */ function(e) {
2215
+ }({}), Er = /* @__PURE__ */ function(e) {
2002
2216
  return e[e.ACTIVE = 0] = "ACTIVE", e[e.PASSIVE = 1] = "PASSIVE", e[e.PASSIVE_WITH_BLINK = 2] = "PASSIVE_WITH_BLINK", e;
2003
- }({}), Z = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", nr = typeof Uint8Array > "u" ? [] : /* @__PURE__ */ new Uint8Array(256), rr = 0; rr < Z.length; rr++) nr[Z.charCodeAt(rr)] = rr;
2004
- var ir = function(e) {
2217
+ }({}), Dr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Or = typeof Uint8Array > "u" ? [] : /* @__PURE__ */ new Uint8Array(256), kr = 0; kr < Dr.length; kr++) Or[Dr.charCodeAt(kr)] = kr;
2218
+ var Ar = function(e) {
2005
2219
  var t = new Uint8Array(e), n, r = t.length, i = "";
2006
- for (n = 0; n < r; n += 3) i += Z[t[n] >> 2], i += Z[(t[n] & 3) << 4 | t[n + 1] >> 4], i += Z[(t[n + 1] & 15) << 2 | t[n + 2] >> 6], i += Z[t[n + 2] & 63];
2220
+ for (n = 0; n < r; n += 3) i += Dr[t[n] >> 2], i += Dr[(t[n] & 3) << 4 | t[n + 1] >> 4], i += Dr[(t[n + 1] & 15) << 2 | t[n + 2] >> 6], i += Dr[t[n + 2] & 63];
2007
2221
  return r % 3 == 2 ? i = i.substring(0, i.length - 1) + "=" : r % 3 == 1 && (i = i.substring(0, i.length - 2) + "=="), i;
2008
- }, ar = class {
2222
+ }, jr = class {
2009
2223
  constructor(e, t, n) {
2010
- this.superClass = new Wn(e, t, n);
2224
+ this.superClass = new hr(e, t, n);
2011
2225
  }
2012
2226
  async match(e, t, n) {
2013
- for (let t of e.images) t.type ||= er.LIVE, typeof t.data != "string" && (t.data = ir(t.data));
2227
+ for (let t of e.images) t.type ||= Tr.LIVE, typeof t.data != "string" && (t.data = Ar(t.data));
2014
2228
  return (await this.superClass.match(e, t, n)).data;
2015
2229
  }
2016
2230
  async detect(e, t, n) {
2017
- return e.image && typeof e.image != "string" && (e.image = ir(e.image)), (await this.superClass.detect(e, t, n)).data;
2231
+ return e.image && typeof e.image != "string" && (e.image = Ar(e.image)), (await this.superClass.detect(e, t, n)).data;
2018
2232
  }
2019
2233
  async matchAndSearch(e, t, n) {
2020
- if (e.images) for (let t of e.images) t.type ||= er.LIVE, t.content && typeof t.content != "string" && (t.content = ir(t.content));
2234
+ if (e.images) for (let t of e.images) t.type ||= Tr.LIVE, t.content && typeof t.content != "string" && (t.content = Ar(t.content));
2021
2235
  return (await this.superClass.matchAndSearch(e, t, n)).data;
2022
2236
  }
2023
- }, or = function(e) {
2237
+ }, Mr = function(e) {
2024
2238
  return {
2025
2239
  createGroup: async (t, n, r = {}) => {
2026
- K("createGroup", "groupToCreate", t);
2027
- let i = new URL("/api/groups", G), a;
2240
+ q("createGroup", "groupToCreate", t);
2241
+ let i = new URL("/api/groups", K), a;
2028
2242
  e && (a = e.baseOptions);
2029
2243
  let o = {
2030
2244
  method: "POST",
2031
2245
  ...a,
2032
2246
  ...r
2033
2247
  }, s = {};
2034
- s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), q(i, {});
2248
+ s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), J(i, {});
2035
2249
  let c = a && a.headers ? a.headers : {};
2036
2250
  return o.headers = {
2037
2251
  ...s,
2038
2252
  ...c,
2039
2253
  ...r.headers
2040
- }, o.data = J(t, o, e), {
2041
- url: Y(i),
2254
+ }, o.data = Y(t, o, e), {
2255
+ url: X(i),
2042
2256
  options: o
2043
2257
  };
2044
2258
  },
2045
2259
  deleteGroup: async (t, n, r = {}) => {
2046
- K("deleteGroup", "groupId", t);
2047
- let i = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(t))), a = new URL(i, G), o;
2260
+ q("deleteGroup", "groupId", t);
2261
+ let i = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(t))), a = new URL(i, K), o;
2048
2262
  e && (o = e.baseOptions);
2049
2263
  let s = {
2050
2264
  method: "DELETE",
2051
2265
  ...o,
2052
2266
  ...r
2053
2267
  }, c = {};
2054
- n != null && (c["X-RequestID"] = String(n)), q(a, {});
2268
+ n != null && (c["X-RequestID"] = String(n)), J(a, {});
2055
2269
  let l = o && o.headers ? o.headers : {};
2056
2270
  return s.headers = {
2057
2271
  ...c,
2058
2272
  ...l,
2059
2273
  ...r.headers
2060
2274
  }, {
2061
- url: Y(a),
2275
+ url: X(a),
2062
2276
  options: s
2063
2277
  };
2064
2278
  },
2065
2279
  getAllGroups: async (t, n, r, i = {}) => {
2066
- let a = new URL("/api/groups", G), o;
2280
+ let a = new URL("/api/groups", K), o;
2067
2281
  e && (o = e.baseOptions);
2068
2282
  let s = {
2069
2283
  method: "GET",
2070
2284
  ...o,
2071
2285
  ...i
2072
2286
  }, c = {}, l = {};
2073
- n !== void 0 && (l.page = n), r !== void 0 && (l.size = r), t != null && (c["X-RequestID"] = String(t)), q(a, l);
2287
+ n !== void 0 && (l.page = n), r !== void 0 && (l.size = r), t != null && (c["X-RequestID"] = String(t)), J(a, l);
2074
2288
  let u = o && o.headers ? o.headers : {};
2075
2289
  return s.headers = {
2076
2290
  ...c,
2077
2291
  ...u,
2078
2292
  ...i.headers
2079
2293
  }, {
2080
- url: Y(a),
2294
+ url: X(a),
2081
2295
  options: s
2082
2296
  };
2083
2297
  },
2084
2298
  getAllPersonsByGroupId: async (t, n, r, i, a = {}) => {
2085
- K("getAllPersonsByGroupId", "groupId", t);
2086
- let o = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(t))), s = new URL(o, G), c;
2299
+ q("getAllPersonsByGroupId", "groupId", t);
2300
+ let o = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(t))), s = new URL(o, K), c;
2087
2301
  e && (c = e.baseOptions);
2088
2302
  let l = {
2089
2303
  method: "GET",
2090
2304
  ...c,
2091
2305
  ...a
2092
2306
  }, u = {}, d = {};
2093
- r !== void 0 && (d.page = r), i !== void 0 && (d.size = i), n != null && (u["X-RequestID"] = String(n)), q(s, d);
2307
+ r !== void 0 && (d.page = r), i !== void 0 && (d.size = i), n != null && (u["X-RequestID"] = String(n)), J(s, d);
2094
2308
  let f = c && c.headers ? c.headers : {};
2095
2309
  return l.headers = {
2096
2310
  ...u,
2097
2311
  ...f,
2098
2312
  ...a.headers
2099
2313
  }, {
2100
- url: Y(s),
2314
+ url: X(s),
2101
2315
  options: l
2102
2316
  };
2103
2317
  },
2104
2318
  getGroup: async (t, n, r = {}) => {
2105
- K("getGroup", "groupId", t);
2106
- let i = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(t))), a = new URL(i, G), o;
2319
+ q("getGroup", "groupId", t);
2320
+ let i = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(t))), a = new URL(i, K), o;
2107
2321
  e && (o = e.baseOptions);
2108
2322
  let s = {
2109
2323
  method: "GET",
2110
2324
  ...o,
2111
2325
  ...r
2112
2326
  }, c = {};
2113
- n != null && (c["X-RequestID"] = String(n)), q(a, {});
2327
+ n != null && (c["X-RequestID"] = String(n)), J(a, {});
2114
2328
  let l = o && o.headers ? o.headers : {};
2115
2329
  return s.headers = {
2116
2330
  ...c,
2117
2331
  ...l,
2118
2332
  ...r.headers
2119
2333
  }, {
2120
- url: Y(a),
2334
+ url: X(a),
2121
2335
  options: s
2122
2336
  };
2123
2337
  },
2124
2338
  updateGroup: async (t, n, r, i = {}) => {
2125
- K("updateGroup", "groupId", t), K("updateGroup", "groupToCreate", n);
2126
- let a = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(t))), o = new URL(a, G), s;
2339
+ q("updateGroup", "groupId", t), q("updateGroup", "groupToCreate", n);
2340
+ let a = "/api/groups/{groupId}".replace("{groupId}", encodeURIComponent(String(t))), o = new URL(a, K), s;
2127
2341
  e && (s = e.baseOptions);
2128
2342
  let c = {
2129
2343
  method: "PUT",
2130
2344
  ...s,
2131
2345
  ...i
2132
2346
  }, l = {};
2133
- l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), q(o, {});
2347
+ l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), J(o, {});
2134
2348
  let u = s && s.headers ? s.headers : {};
2135
2349
  return c.headers = {
2136
2350
  ...l,
2137
2351
  ...u,
2138
2352
  ...i.headers
2139
- }, c.data = J(n, c, e), {
2140
- url: Y(o),
2353
+ }, c.data = Y(n, c, e), {
2354
+ url: X(o),
2141
2355
  options: c
2142
2356
  };
2143
2357
  },
2144
2358
  updatePersonsInGroup: async (t, n, r, i = {}) => {
2145
- K("updatePersonsInGroup", "groupId", t), K("updatePersonsInGroup", "updateGroup", n);
2146
- let a = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(t))), o = new URL(a, G), s;
2359
+ q("updatePersonsInGroup", "groupId", t), q("updatePersonsInGroup", "updateGroup", n);
2360
+ let a = "/api/groups/{groupId}/persons".replace("{groupId}", encodeURIComponent(String(t))), o = new URL(a, K), s;
2147
2361
  e && (s = e.baseOptions);
2148
2362
  let c = {
2149
2363
  method: "PUT",
2150
2364
  ...s,
2151
2365
  ...i
2152
2366
  }, l = {};
2153
- l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), q(o, {});
2367
+ l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), J(o, {});
2154
2368
  let u = s && s.headers ? s.headers : {};
2155
2369
  return c.headers = {
2156
2370
  ...l,
2157
2371
  ...u,
2158
2372
  ...i.headers
2159
- }, c.data = J(n, c, e), {
2160
- url: Y(o),
2373
+ }, c.data = Y(n, c, e), {
2374
+ url: X(o),
2161
2375
  options: c
2162
2376
  };
2163
2377
  }
2164
2378
  };
2165
2379
  }, Q = function(e) {
2166
- let t = or(e);
2380
+ let t = Mr(e);
2167
2381
  return {
2168
2382
  async createGroup(n, r, i) {
2169
- let a = await t.createGroup(n, r, i), o = e?.serverIndex ?? 0, s = W["GroupApi.createGroup"]?.[o]?.url;
2170
- return (t, n) => X(a, V, H, e)(t, s || n);
2383
+ let a = await t.createGroup(n, r, i), o = e?.serverIndex ?? 0, s = G["GroupApi.createGroup"]?.[o]?.url;
2384
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2171
2385
  },
2172
2386
  async deleteGroup(n, r, i) {
2173
- let a = await t.deleteGroup(n, r, i), o = e?.serverIndex ?? 0, s = W["GroupApi.deleteGroup"]?.[o]?.url;
2174
- return (t, n) => X(a, V, H, e)(t, s || n);
2387
+ let a = await t.deleteGroup(n, r, i), o = e?.serverIndex ?? 0, s = G["GroupApi.deleteGroup"]?.[o]?.url;
2388
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2175
2389
  },
2176
2390
  async getAllGroups(n, r, i, a) {
2177
- let o = await t.getAllGroups(n, r, i, a), s = e?.serverIndex ?? 0, c = W["GroupApi.getAllGroups"]?.[s]?.url;
2178
- return (t, n) => X(o, V, H, e)(t, c || n);
2391
+ let o = await t.getAllGroups(n, r, i, a), s = e?.serverIndex ?? 0, c = G["GroupApi.getAllGroups"]?.[s]?.url;
2392
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2179
2393
  },
2180
2394
  async getAllPersonsByGroupId(n, r, i, a, o) {
2181
- let s = await t.getAllPersonsByGroupId(n, r, i, a, o), c = e?.serverIndex ?? 0, l = W["GroupApi.getAllPersonsByGroupId"]?.[c]?.url;
2182
- return (t, n) => X(s, V, H, e)(t, l || n);
2395
+ let s = await t.getAllPersonsByGroupId(n, r, i, a, o), c = e?.serverIndex ?? 0, l = G["GroupApi.getAllPersonsByGroupId"]?.[c]?.url;
2396
+ return (t, n) => Z(s, H, U, e)(t, l || n);
2183
2397
  },
2184
2398
  async getGroup(n, r, i) {
2185
- let a = await t.getGroup(n, r, i), o = e?.serverIndex ?? 0, s = W["GroupApi.getGroup"]?.[o]?.url;
2186
- return (t, n) => X(a, V, H, e)(t, s || n);
2399
+ let a = await t.getGroup(n, r, i), o = e?.serverIndex ?? 0, s = G["GroupApi.getGroup"]?.[o]?.url;
2400
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2187
2401
  },
2188
2402
  async updateGroup(n, r, i, a) {
2189
- let o = await t.updateGroup(n, r, i, a), s = e?.serverIndex ?? 0, c = W["GroupApi.updateGroup"]?.[s]?.url;
2190
- return (t, n) => X(o, V, H, e)(t, c || n);
2403
+ let o = await t.updateGroup(n, r, i, a), s = e?.serverIndex ?? 0, c = G["GroupApi.updateGroup"]?.[s]?.url;
2404
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2191
2405
  },
2192
2406
  async updatePersonsInGroup(n, r, i, a) {
2193
- let o = await t.updatePersonsInGroup(n, r, i, a), s = e?.serverIndex ?? 0, c = W["GroupApi.updatePersonsInGroup"]?.[s]?.url;
2194
- return (t, n) => X(o, V, H, e)(t, c || n);
2407
+ let o = await t.updatePersonsInGroup(n, r, i, a), s = e?.serverIndex ?? 0, c = G["GroupApi.updatePersonsInGroup"]?.[s]?.url;
2408
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2195
2409
  }
2196
2410
  };
2197
- }, sr = class extends U {
2411
+ }, Nr = class extends W {
2198
2412
  createGroup(e, t, n) {
2199
2413
  return Q(this.configuration).createGroup(e, t, n).then((e) => e(this.axios, this.basePath));
2200
2414
  }
@@ -2216,9 +2430,9 @@ var ir = function(e) {
2216
2430
  updatePersonsInGroup(e, t, n, r) {
2217
2431
  return Q(this.configuration).updatePersonsInGroup(e, t, n, r).then((e) => e(this.axios, this.basePath));
2218
2432
  }
2219
- }, cr = class {
2433
+ }, Pr = class {
2220
2434
  constructor(e, t, n) {
2221
- this.superClass = new sr(e, t, n);
2435
+ this.superClass = new Nr(e, t, n);
2222
2436
  }
2223
2437
  async createGroup(e, t, n) {
2224
2438
  let r = {
@@ -2245,230 +2459,230 @@ var ir = function(e) {
2245
2459
  async updatePersonsInGroup(e, t, n, r) {
2246
2460
  await this.superClass.updatePersonsInGroup(e, t, n, r);
2247
2461
  }
2248
- }, lr = function(e) {
2462
+ }, Fr = function(e) {
2249
2463
  return {
2250
2464
  addImageToPerson: async (t, n, r, i = {}) => {
2251
- K("addImageToPerson", "personId", t), K("addImageToPerson", "addImageToPersonRequest", n);
2252
- let a = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(t))), o = new URL(a, G), s;
2465
+ q("addImageToPerson", "personId", t), q("addImageToPerson", "addImageToPersonRequest", n);
2466
+ let a = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(t))), o = new URL(a, K), s;
2253
2467
  e && (s = e.baseOptions);
2254
2468
  let c = {
2255
2469
  method: "POST",
2256
2470
  ...s,
2257
2471
  ...i
2258
2472
  }, l = {};
2259
- l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), q(o, {});
2473
+ l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), J(o, {});
2260
2474
  let u = s && s.headers ? s.headers : {};
2261
2475
  return c.headers = {
2262
2476
  ...l,
2263
2477
  ...u,
2264
2478
  ...i.headers
2265
- }, c.data = J(n, c, e), {
2266
- url: Y(o),
2479
+ }, c.data = Y(n, c, e), {
2480
+ url: X(o),
2267
2481
  options: c
2268
2482
  };
2269
2483
  },
2270
2484
  createPerson: async (t, n, r = {}) => {
2271
- K("createPerson", "personFields", t);
2272
- let i = new URL("/api/persons", G), a;
2485
+ q("createPerson", "personFields", t);
2486
+ let i = new URL("/api/persons", K), a;
2273
2487
  e && (a = e.baseOptions);
2274
2488
  let o = {
2275
2489
  method: "POST",
2276
2490
  ...a,
2277
2491
  ...r
2278
2492
  }, s = {};
2279
- s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), q(i, {});
2493
+ s["Content-Type"] = "application/json", n != null && (s["X-RequestID"] = String(n)), J(i, {});
2280
2494
  let c = a && a.headers ? a.headers : {};
2281
2495
  return o.headers = {
2282
2496
  ...s,
2283
2497
  ...c,
2284
2498
  ...r.headers
2285
- }, o.data = J(t, o, e), {
2286
- url: Y(i),
2499
+ }, o.data = Y(t, o, e), {
2500
+ url: X(i),
2287
2501
  options: o
2288
2502
  };
2289
2503
  },
2290
2504
  deleteImageOfPerson: async (t, n, r, i = {}) => {
2291
- K("deleteImageOfPerson", "personId", t), K("deleteImageOfPerson", "imageId", n);
2292
- let a = "/api/persons/{personId}/images/{imageId}".replace("{personId}", encodeURIComponent(String(t))).replace("{imageId}", encodeURIComponent(String(n))), o = new URL(a, G), s;
2505
+ q("deleteImageOfPerson", "personId", t), q("deleteImageOfPerson", "imageId", n);
2506
+ let a = "/api/persons/{personId}/images/{imageId}".replace("{personId}", encodeURIComponent(String(t))).replace("{imageId}", encodeURIComponent(String(n))), o = new URL(a, K), s;
2293
2507
  e && (s = e.baseOptions);
2294
2508
  let c = {
2295
2509
  method: "DELETE",
2296
2510
  ...s,
2297
2511
  ...i
2298
2512
  }, l = {};
2299
- r != null && (l["X-RequestID"] = String(r)), q(o, {});
2513
+ r != null && (l["X-RequestID"] = String(r)), J(o, {});
2300
2514
  let u = s && s.headers ? s.headers : {};
2301
2515
  return c.headers = {
2302
2516
  ...l,
2303
2517
  ...u,
2304
2518
  ...i.headers
2305
2519
  }, {
2306
- url: Y(o),
2520
+ url: X(o),
2307
2521
  options: c
2308
2522
  };
2309
2523
  },
2310
2524
  deletePerson: async (t, n, r = {}) => {
2311
- K("deletePerson", "personId", t);
2312
- let i = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(t))), a = new URL(i, G), o;
2525
+ q("deletePerson", "personId", t);
2526
+ let i = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(t))), a = new URL(i, K), o;
2313
2527
  e && (o = e.baseOptions);
2314
2528
  let s = {
2315
2529
  method: "DELETE",
2316
2530
  ...o,
2317
2531
  ...r
2318
2532
  }, c = {};
2319
- n != null && (c["X-RequestID"] = String(n)), q(a, {});
2533
+ n != null && (c["X-RequestID"] = String(n)), J(a, {});
2320
2534
  let l = o && o.headers ? o.headers : {};
2321
2535
  return s.headers = {
2322
2536
  ...c,
2323
2537
  ...l,
2324
2538
  ...r.headers
2325
2539
  }, {
2326
- url: Y(a),
2540
+ url: X(a),
2327
2541
  options: s
2328
2542
  };
2329
2543
  },
2330
2544
  getAllGroupsByPersonId: async (t, n, r, i, a = {}) => {
2331
- K("getAllGroupsByPersonId", "personId", t);
2332
- let o = "/api/persons/{personId}/groups".replace("{personId}", encodeURIComponent(String(t))), s = new URL(o, G), c;
2545
+ q("getAllGroupsByPersonId", "personId", t);
2546
+ let o = "/api/persons/{personId}/groups".replace("{personId}", encodeURIComponent(String(t))), s = new URL(o, K), c;
2333
2547
  e && (c = e.baseOptions);
2334
2548
  let l = {
2335
2549
  method: "GET",
2336
2550
  ...c,
2337
2551
  ...a
2338
2552
  }, u = {}, d = {};
2339
- r !== void 0 && (d.page = r), i !== void 0 && (d.size = i), n != null && (u["X-RequestID"] = String(n)), q(s, d);
2553
+ r !== void 0 && (d.page = r), i !== void 0 && (d.size = i), n != null && (u["X-RequestID"] = String(n)), J(s, d);
2340
2554
  let f = c && c.headers ? c.headers : {};
2341
2555
  return l.headers = {
2342
2556
  ...u,
2343
2557
  ...f,
2344
2558
  ...a.headers
2345
2559
  }, {
2346
- url: Y(s),
2560
+ url: X(s),
2347
2561
  options: l
2348
2562
  };
2349
2563
  },
2350
2564
  getAllImagesByPersonId: async (t, n, r, i, a = {}) => {
2351
- K("getAllImagesByPersonId", "personId", t);
2352
- let o = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(t))), s = new URL(o, G), c;
2565
+ q("getAllImagesByPersonId", "personId", t);
2566
+ let o = "/api/persons/{personId}/images".replace("{personId}", encodeURIComponent(String(t))), s = new URL(o, K), c;
2353
2567
  e && (c = e.baseOptions);
2354
2568
  let l = {
2355
2569
  method: "GET",
2356
2570
  ...c,
2357
2571
  ...a
2358
2572
  }, u = {}, d = {};
2359
- r !== void 0 && (d.page = r), i !== void 0 && (d.size = i), n != null && (u["X-RequestID"] = String(n)), q(s, d);
2573
+ r !== void 0 && (d.page = r), i !== void 0 && (d.size = i), n != null && (u["X-RequestID"] = String(n)), J(s, d);
2360
2574
  let f = c && c.headers ? c.headers : {};
2361
2575
  return l.headers = {
2362
2576
  ...u,
2363
2577
  ...f,
2364
2578
  ...a.headers
2365
2579
  }, {
2366
- url: Y(s),
2580
+ url: X(s),
2367
2581
  options: l
2368
2582
  };
2369
2583
  },
2370
2584
  getImageOfPerson: async (t, n, r, i = {}) => {
2371
- K("getImageOfPerson", "personId", t), K("getImageOfPerson", "imageId", n);
2372
- let a = "/api/persons/{personId}/images/{imageId}".replace("{personId}", encodeURIComponent(String(t))).replace("{imageId}", encodeURIComponent(String(n))), o = new URL(a, G), s;
2585
+ q("getImageOfPerson", "personId", t), q("getImageOfPerson", "imageId", n);
2586
+ let a = "/api/persons/{personId}/images/{imageId}".replace("{personId}", encodeURIComponent(String(t))).replace("{imageId}", encodeURIComponent(String(n))), o = new URL(a, K), s;
2373
2587
  e && (s = e.baseOptions);
2374
2588
  let c = {
2375
2589
  method: "GET",
2376
2590
  ...s,
2377
2591
  ...i
2378
2592
  }, l = {};
2379
- r != null && (l["X-RequestID"] = String(r)), q(o, {});
2593
+ r != null && (l["X-RequestID"] = String(r)), J(o, {});
2380
2594
  let u = s && s.headers ? s.headers : {};
2381
2595
  return c.headers = {
2382
2596
  ...l,
2383
2597
  ...u,
2384
2598
  ...i.headers
2385
2599
  }, {
2386
- url: Y(o),
2600
+ url: X(o),
2387
2601
  options: c
2388
2602
  };
2389
2603
  },
2390
2604
  getPerson: async (t, n, r = {}) => {
2391
- K("getPerson", "personId", t);
2392
- let i = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(t))), a = new URL(i, G), o;
2605
+ q("getPerson", "personId", t);
2606
+ let i = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(t))), a = new URL(i, K), o;
2393
2607
  e && (o = e.baseOptions);
2394
2608
  let s = {
2395
2609
  method: "GET",
2396
2610
  ...o,
2397
2611
  ...r
2398
2612
  }, c = {};
2399
- n != null && (c["X-RequestID"] = String(n)), q(a, {});
2613
+ n != null && (c["X-RequestID"] = String(n)), J(a, {});
2400
2614
  let l = o && o.headers ? o.headers : {};
2401
2615
  return s.headers = {
2402
2616
  ...c,
2403
2617
  ...l,
2404
2618
  ...r.headers
2405
2619
  }, {
2406
- url: Y(a),
2620
+ url: X(a),
2407
2621
  options: s
2408
2622
  };
2409
2623
  },
2410
2624
  updatePerson: async (t, n, r, i = {}) => {
2411
- K("updatePerson", "personId", t), K("updatePerson", "personToUpdateFields", n);
2412
- let a = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(t))), o = new URL(a, G), s;
2625
+ q("updatePerson", "personId", t), q("updatePerson", "personToUpdateFields", n);
2626
+ let a = "/api/persons/{personId}".replace("{personId}", encodeURIComponent(String(t))), o = new URL(a, K), s;
2413
2627
  e && (s = e.baseOptions);
2414
2628
  let c = {
2415
2629
  method: "PUT",
2416
2630
  ...s,
2417
2631
  ...i
2418
2632
  }, l = {};
2419
- l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), q(o, {});
2633
+ l["Content-Type"] = "application/json", r != null && (l["X-RequestID"] = String(r)), J(o, {});
2420
2634
  let u = s && s.headers ? s.headers : {};
2421
2635
  return c.headers = {
2422
2636
  ...l,
2423
2637
  ...u,
2424
2638
  ...i.headers
2425
- }, c.data = J(n, c, e), {
2426
- url: Y(o),
2639
+ }, c.data = Y(n, c, e), {
2640
+ url: X(o),
2427
2641
  options: c
2428
2642
  };
2429
2643
  }
2430
2644
  };
2431
2645
  }, $ = function(e) {
2432
- let t = lr(e);
2646
+ let t = Fr(e);
2433
2647
  return {
2434
2648
  async addImageToPerson(n, r, i, a) {
2435
- let o = await t.addImageToPerson(n, r, i, a), s = e?.serverIndex ?? 0, c = W["PersonApi.addImageToPerson"]?.[s]?.url;
2436
- return (t, n) => X(o, V, H, e)(t, c || n);
2649
+ let o = await t.addImageToPerson(n, r, i, a), s = e?.serverIndex ?? 0, c = G["PersonApi.addImageToPerson"]?.[s]?.url;
2650
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2437
2651
  },
2438
2652
  async createPerson(n, r, i) {
2439
- let a = await t.createPerson(n, r, i), o = e?.serverIndex ?? 0, s = W["PersonApi.createPerson"]?.[o]?.url;
2440
- return (t, n) => X(a, V, H, e)(t, s || n);
2653
+ let a = await t.createPerson(n, r, i), o = e?.serverIndex ?? 0, s = G["PersonApi.createPerson"]?.[o]?.url;
2654
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2441
2655
  },
2442
2656
  async deleteImageOfPerson(n, r, i, a) {
2443
- let o = await t.deleteImageOfPerson(n, r, i, a), s = e?.serverIndex ?? 0, c = W["PersonApi.deleteImageOfPerson"]?.[s]?.url;
2444
- return (t, n) => X(o, V, H, e)(t, c || n);
2657
+ let o = await t.deleteImageOfPerson(n, r, i, a), s = e?.serverIndex ?? 0, c = G["PersonApi.deleteImageOfPerson"]?.[s]?.url;
2658
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2445
2659
  },
2446
2660
  async deletePerson(n, r, i) {
2447
- let a = await t.deletePerson(n, r, i), o = e?.serverIndex ?? 0, s = W["PersonApi.deletePerson"]?.[o]?.url;
2448
- return (t, n) => X(a, V, H, e)(t, s || n);
2661
+ let a = await t.deletePerson(n, r, i), o = e?.serverIndex ?? 0, s = G["PersonApi.deletePerson"]?.[o]?.url;
2662
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2449
2663
  },
2450
2664
  async getAllGroupsByPersonId(n, r, i, a, o) {
2451
- let s = await t.getAllGroupsByPersonId(n, r, i, a, o), c = e?.serverIndex ?? 0, l = W["PersonApi.getAllGroupsByPersonId"]?.[c]?.url;
2452
- return (t, n) => X(s, V, H, e)(t, l || n);
2665
+ let s = await t.getAllGroupsByPersonId(n, r, i, a, o), c = e?.serverIndex ?? 0, l = G["PersonApi.getAllGroupsByPersonId"]?.[c]?.url;
2666
+ return (t, n) => Z(s, H, U, e)(t, l || n);
2453
2667
  },
2454
2668
  async getAllImagesByPersonId(n, r, i, a, o) {
2455
- let s = await t.getAllImagesByPersonId(n, r, i, a, o), c = e?.serverIndex ?? 0, l = W["PersonApi.getAllImagesByPersonId"]?.[c]?.url;
2456
- return (t, n) => X(s, V, H, e)(t, l || n);
2669
+ let s = await t.getAllImagesByPersonId(n, r, i, a, o), c = e?.serverIndex ?? 0, l = G["PersonApi.getAllImagesByPersonId"]?.[c]?.url;
2670
+ return (t, n) => Z(s, H, U, e)(t, l || n);
2457
2671
  },
2458
2672
  async getImageOfPerson(n, r, i, a) {
2459
- let o = await t.getImageOfPerson(n, r, i, a), s = e?.serverIndex ?? 0, c = W["PersonApi.getImageOfPerson"]?.[s]?.url;
2460
- return (t, n) => X(o, V, H, e)(t, c || n);
2673
+ let o = await t.getImageOfPerson(n, r, i, a), s = e?.serverIndex ?? 0, c = G["PersonApi.getImageOfPerson"]?.[s]?.url;
2674
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2461
2675
  },
2462
2676
  async getPerson(n, r, i) {
2463
- let a = await t.getPerson(n, r, i), o = e?.serverIndex ?? 0, s = W["PersonApi.getPerson"]?.[o]?.url;
2464
- return (t, n) => X(a, V, H, e)(t, s || n);
2677
+ let a = await t.getPerson(n, r, i), o = e?.serverIndex ?? 0, s = G["PersonApi.getPerson"]?.[o]?.url;
2678
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2465
2679
  },
2466
2680
  async updatePerson(n, r, i, a) {
2467
- let o = await t.updatePerson(n, r, i, a), s = e?.serverIndex ?? 0, c = W["PersonApi.updatePerson"]?.[s]?.url;
2468
- return (t, n) => X(o, V, H, e)(t, c || n);
2681
+ let o = await t.updatePerson(n, r, i, a), s = e?.serverIndex ?? 0, c = G["PersonApi.updatePerson"]?.[s]?.url;
2682
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2469
2683
  }
2470
2684
  };
2471
- }, ur = class extends U {
2685
+ }, Ir = class extends W {
2472
2686
  addImageToPerson(e, t, n, r) {
2473
2687
  return $(this.configuration).addImageToPerson(e, t, n, r).then((e) => e(this.axios, this.basePath));
2474
2688
  }
@@ -2496,9 +2710,9 @@ var ir = function(e) {
2496
2710
  updatePerson(e, t, n, r) {
2497
2711
  return $(this.configuration).updatePerson(e, t, n, r).then((e) => e(this.axios, this.basePath));
2498
2712
  }
2499
- }, dr = class {
2713
+ }, Lr = class {
2500
2714
  constructor(e, t, n) {
2501
- this.superClass = new ur(e, t, n);
2715
+ this.superClass = new Ir(e, t, n);
2502
2716
  }
2503
2717
  async createPerson(e, t, n) {
2504
2718
  let r = {
@@ -2508,7 +2722,7 @@ var ir = function(e) {
2508
2722
  return (await this.superClass.createPerson(r, t, n)).data;
2509
2723
  }
2510
2724
  async addImageToPerson(e, t, n, r) {
2511
- return t?.image?.content && typeof t.image.content != "string" && (t.image.content = ir(t.image.content)), (await this.superClass.addImageToPerson(e, t, n, r)).data;
2725
+ return t?.image?.content && typeof t.image.content != "string" && (t.image.content = Ar(t.image.content)), (await this.superClass.addImageToPerson(e, t, n, r)).data;
2512
2726
  }
2513
2727
  async deleteImageOfPerson(e, t, n, r) {
2514
2728
  await this.superClass.deleteImageOfPerson(t, e, n, r);
@@ -2531,176 +2745,176 @@ var ir = function(e) {
2531
2745
  async updatePerson(e, t, n, r) {
2532
2746
  await this.superClass.updatePerson(e, t, n, r);
2533
2747
  }
2534
- }, fr = function(e) {
2748
+ }, Rr = function(e) {
2535
2749
  return { search: async (t, n, r, i = {}) => {
2536
- K("search", "searchRequest", t);
2537
- let a = new URL("/api/search", G), o;
2750
+ q("search", "searchRequest", t);
2751
+ let a = new URL("/api/search", K), o;
2538
2752
  e && (o = e.baseOptions);
2539
2753
  let s = {
2540
2754
  method: "POST",
2541
2755
  ...o,
2542
2756
  ...i
2543
2757
  }, c = {}, l = {};
2544
- r !== void 0 && (l.withImages = r), c["Content-Type"] = "application/json", n != null && (c["X-RequestID"] = String(n)), q(a, l);
2758
+ r !== void 0 && (l.withImages = r), c["Content-Type"] = "application/json", n != null && (c["X-RequestID"] = String(n)), J(a, l);
2545
2759
  let u = o && o.headers ? o.headers : {};
2546
2760
  return s.headers = {
2547
2761
  ...c,
2548
2762
  ...u,
2549
2763
  ...i.headers
2550
- }, s.data = J(t, s, e), {
2551
- url: Y(a),
2764
+ }, s.data = Y(t, s, e), {
2765
+ url: X(a),
2552
2766
  options: s
2553
2767
  };
2554
2768
  } };
2555
- }, pr = function(e) {
2556
- let t = fr(e);
2769
+ }, zr = function(e) {
2770
+ let t = Rr(e);
2557
2771
  return { async search(n, r, i, a) {
2558
- let o = await t.search(n, r, i, a), s = e?.serverIndex ?? 0, c = W["SearchApi.search"]?.[s]?.url;
2559
- return (t, n) => X(o, V, H, e)(t, c || n);
2772
+ let o = await t.search(n, r, i, a), s = e?.serverIndex ?? 0, c = G["SearchApi.search"]?.[s]?.url;
2773
+ return (t, n) => Z(o, H, U, e)(t, c || n);
2560
2774
  } };
2561
- }, mr = class extends U {
2775
+ }, Br = class extends W {
2562
2776
  search(e, t, n, r) {
2563
- return pr(this.configuration).search(e, t, n, r).then((e) => e(this.axios, this.basePath));
2777
+ return zr(this.configuration).search(e, t, n, r).then((e) => e(this.axios, this.basePath));
2564
2778
  }
2565
- }, hr = class {
2779
+ }, Vr = class {
2566
2780
  constructor(e, t, n) {
2567
- this.superClass = new mr(e, t, n);
2781
+ this.superClass = new Br(e, t, n);
2568
2782
  }
2569
2783
  async search(e, t, n, r) {
2570
- return e?.image?.content && typeof e.image.content != "string" && (e.image.content = ir(e.image.content)), (await this.superClass.search(e, t, n, r)).data;
2784
+ return e?.image?.content && typeof e.image.content != "string" && (e.image.content = Ar(e.image.content)), (await this.superClass.search(e, t, n, r)).data;
2571
2785
  }
2572
- }, gr = function(e) {
2786
+ }, Hr = function(e) {
2573
2787
  return {
2574
2788
  deleteLivenessTransaction: async (t, n, r = {}) => {
2575
- K("deleteLivenessTransaction", "transactionId", t), K("deleteLivenessTransaction", "tag", n);
2576
- let i = new URL("/api/v2/liveness", G), a;
2789
+ q("deleteLivenessTransaction", "transactionId", t), q("deleteLivenessTransaction", "tag", n);
2790
+ let i = new URL("/api/v2/liveness", K), a;
2577
2791
  e && (a = e.baseOptions);
2578
2792
  let o = {
2579
2793
  method: "DELETE",
2580
2794
  ...a,
2581
2795
  ...r
2582
2796
  }, s = {}, c = {};
2583
- t !== void 0 && (c.transactionId = t), n !== void 0 && (c.tag = n), q(i, c);
2797
+ t !== void 0 && (c.transactionId = t), n !== void 0 && (c.tag = n), J(i, c);
2584
2798
  let l = a && a.headers ? a.headers : {};
2585
2799
  return o.headers = {
2586
2800
  ...s,
2587
2801
  ...l,
2588
2802
  ...r.headers
2589
2803
  }, {
2590
- url: Y(i),
2804
+ url: X(i),
2591
2805
  options: o
2592
2806
  };
2593
2807
  },
2594
2808
  getLivenessTransactionInfo: async (t, n = {}) => {
2595
- K("getLivenessTransactionInfo", "transactionId", t);
2596
- let r = new URL("/api/v2/liveness", G), i;
2809
+ q("getLivenessTransactionInfo", "transactionId", t);
2810
+ let r = new URL("/api/v2/liveness", K), i;
2597
2811
  e && (i = e.baseOptions);
2598
2812
  let a = {
2599
2813
  method: "GET",
2600
2814
  ...i,
2601
2815
  ...n
2602
2816
  }, o = {}, s = {};
2603
- t !== void 0 && (s.transactionId = t), q(r, s);
2817
+ t !== void 0 && (s.transactionId = t), J(r, s);
2604
2818
  let c = i && i.headers ? i.headers : {};
2605
2819
  return a.headers = {
2606
2820
  ...o,
2607
2821
  ...c,
2608
2822
  ...n.headers
2609
2823
  }, {
2610
- url: Y(r),
2824
+ url: X(r),
2611
2825
  options: a
2612
2826
  };
2613
2827
  }
2614
2828
  };
2615
- }, _r = function(e) {
2616
- let t = gr(e);
2829
+ }, Ur = function(e) {
2830
+ let t = Hr(e);
2617
2831
  return {
2618
2832
  async deleteLivenessTransaction(n, r, i) {
2619
- let a = await t.deleteLivenessTransaction(n, r, i), o = e?.serverIndex ?? 0, s = W["Liveness20Api.deleteLivenessTransaction"]?.[o]?.url;
2620
- return (t, n) => X(a, V, H, e)(t, s || n);
2833
+ let a = await t.deleteLivenessTransaction(n, r, i), o = e?.serverIndex ?? 0, s = G["Liveness20Api.deleteLivenessTransaction"]?.[o]?.url;
2834
+ return (t, n) => Z(a, H, U, e)(t, s || n);
2621
2835
  },
2622
2836
  async getLivenessTransactionInfo(n, r) {
2623
- let i = await t.getLivenessTransactionInfo(n, r), a = e?.serverIndex ?? 0, o = W["Liveness20Api.getLivenessTransactionInfo"]?.[a]?.url;
2624
- return (t, n) => X(i, V, H, e)(t, o || n);
2837
+ let i = await t.getLivenessTransactionInfo(n, r), a = e?.serverIndex ?? 0, o = G["Liveness20Api.getLivenessTransactionInfo"]?.[a]?.url;
2838
+ return (t, n) => Z(i, H, U, e)(t, o || n);
2625
2839
  }
2626
2840
  };
2627
- }, vr = class extends U {
2841
+ }, Wr = class extends W {
2628
2842
  deleteLivenessTransaction(e, t, n) {
2629
- return _r(this.configuration).deleteLivenessTransaction(e, t, n).then((e) => e(this.axios, this.basePath));
2843
+ return Ur(this.configuration).deleteLivenessTransaction(e, t, n).then((e) => e(this.axios, this.basePath));
2630
2844
  }
2631
2845
  getLivenessTransactionInfo(e, t) {
2632
- return _r(this.configuration).getLivenessTransactionInfo(e, t).then((e) => e(this.axios, this.basePath));
2846
+ return Ur(this.configuration).getLivenessTransactionInfo(e, t).then((e) => e(this.axios, this.basePath));
2633
2847
  }
2634
- }, yr = class {
2848
+ }, Gr = class {
2635
2849
  constructor(e, t, n) {
2636
- this.superClass = new vr(e, t, n);
2850
+ this.superClass = new Wr(e, t, n);
2637
2851
  }
2638
2852
  async getLivenessTransactionInfo(e, t) {
2639
2853
  return (await this.superClass.getLivenessTransactionInfo(e, t)).data;
2640
2854
  }
2641
- }, br = function(e) {
2855
+ }, Kr = function(e) {
2642
2856
  return {
2643
2857
  healthz: async (t, n = {}) => {
2644
- let r = new URL("/api/healthz", G), i;
2858
+ let r = new URL("/api/healthz", K), i;
2645
2859
  e && (i = e.baseOptions);
2646
2860
  let a = {
2647
2861
  method: "GET",
2648
2862
  ...i,
2649
2863
  ...n
2650
2864
  }, o = {};
2651
- t != null && (o["X-RequestID"] = String(t)), q(r, {});
2865
+ t != null && (o["X-RequestID"] = String(t)), J(r, {});
2652
2866
  let s = i && i.headers ? i.headers : {};
2653
2867
  return a.headers = {
2654
2868
  ...o,
2655
2869
  ...s,
2656
2870
  ...n.headers
2657
2871
  }, {
2658
- url: Y(r),
2872
+ url: X(r),
2659
2873
  options: a
2660
2874
  };
2661
2875
  },
2662
2876
  readyz: async (t, n = {}) => {
2663
- let r = new URL("/api/readyz", G), i;
2877
+ let r = new URL("/api/readyz", K), i;
2664
2878
  e && (i = e.baseOptions);
2665
2879
  let a = {
2666
2880
  method: "GET",
2667
2881
  ...i,
2668
2882
  ...n
2669
2883
  }, o = {};
2670
- t != null && (o["X-RequestID"] = String(t)), q(r, {});
2884
+ t != null && (o["X-RequestID"] = String(t)), J(r, {});
2671
2885
  let s = i && i.headers ? i.headers : {};
2672
2886
  return a.headers = {
2673
2887
  ...o,
2674
2888
  ...s,
2675
2889
  ...n.headers
2676
2890
  }, {
2677
- url: Y(r),
2891
+ url: X(r),
2678
2892
  options: a
2679
2893
  };
2680
2894
  }
2681
2895
  };
2682
- }, xr = function(e) {
2683
- let t = br(e);
2896
+ }, qr = function(e) {
2897
+ let t = Kr(e);
2684
2898
  return {
2685
2899
  async healthz(n, r) {
2686
- let i = await t.healthz(n, r), a = e?.serverIndex ?? 0, o = W["HealthcheckApi.healthz"]?.[a]?.url;
2687
- return (t, n) => X(i, V, H, e)(t, o || n);
2900
+ let i = await t.healthz(n, r), a = e?.serverIndex ?? 0, o = G["HealthcheckApi.healthz"]?.[a]?.url;
2901
+ return (t, n) => Z(i, H, U, e)(t, o || n);
2688
2902
  },
2689
2903
  async readyz(n, r) {
2690
- let i = await t.readyz(n, r), a = e?.serverIndex ?? 0, o = W["HealthcheckApi.readyz"]?.[a]?.url;
2691
- return (t, n) => X(i, V, H, e)(t, o || n);
2904
+ let i = await t.readyz(n, r), a = e?.serverIndex ?? 0, o = G["HealthcheckApi.readyz"]?.[a]?.url;
2905
+ return (t, n) => Z(i, H, U, e)(t, o || n);
2692
2906
  }
2693
2907
  };
2694
- }, Sr = class extends U {
2908
+ }, Jr = class extends W {
2695
2909
  healthz(e, t) {
2696
- return xr(this.configuration).healthz(e, t).then((e) => e(this.axios, this.basePath));
2910
+ return qr(this.configuration).healthz(e, t).then((e) => e(this.axios, this.basePath));
2697
2911
  }
2698
2912
  readyz(e, t) {
2699
- return xr(this.configuration).readyz(e, t).then((e) => e(this.axios, this.basePath));
2913
+ return qr(this.configuration).readyz(e, t).then((e) => e(this.axios, this.basePath));
2700
2914
  }
2701
- }, Cr = class {
2915
+ }, Yr = class {
2702
2916
  constructor(e, t, n) {
2703
- this.superClass = new Sr(e, t, n);
2917
+ this.superClass = new Jr(e, t, n);
2704
2918
  }
2705
2919
  async healthz(e, t) {
2706
2920
  return (await this.superClass.healthz(e, t)).data;
@@ -2708,11 +2922,11 @@ var ir = function(e) {
2708
2922
  async readyz(e, t) {
2709
2923
  return (await this.superClass.readyz(e, t)).data;
2710
2924
  }
2711
- }, wr = class {
2712
- constructor(e, t = H, n = V) {
2713
- this.basePath = t, this.axios = n, this.matchApi = new ar(e, t, n), this.groupApi = new cr(e, t, n), this.personApi = new dr(e, t, n), this.searchApi = new hr(e, t, n), this.livenessApi = new yr(e, t, n), this.healthcheckApi = new Cr(e, t, n);
2925
+ }, Xr = class {
2926
+ constructor(e, t = U, n = H) {
2927
+ this.basePath = t, this.axios = n, this.matchApi = new jr(e, t, n), this.groupApi = new Pr(e, t, n), this.personApi = new Lr(e, t, n), this.searchApi = new Vr(e, t, n), this.livenessApi = new Gr(e, t, n), this.healthcheckApi = new Yr(e, t, n);
2714
2928
  }
2715
- }, Tr = class {
2929
+ }, Zr = class {
2716
2930
  constructor(e = {}) {
2717
2931
  this.apiKey = e.apiKey, this.username = e.username, this.password = e.password, this.accessToken = e.accessToken, this.basePath = e.basePath, this.serverIndex = e.serverIndex, this.baseOptions = {
2718
2932
  ...e.baseOptions,
@@ -2724,4 +2938,4 @@ var ir = function(e) {
2724
2938
  }
2725
2939
  };
2726
2940
  //#endregion
2727
- export { Tr as Configuration, Gn as FaceAttribute, Kn as FaceImageQualityAlignType, qn as FaceImageQualityGroups, Jn as FaceImageQualityGroupsStrings, Yn as FaceImageQualityStatus, Xn as FaceQualityConfigName, Zn as FaceQualityScenarios, Qn as FaceSDKResultCode, wr as FaceSdk, $n as FilterOp, cr as GroupApi, Cr as HealthcheckApi, er as ImageSource, yr as Liveness20Api, tr as LivenessType, ar as MatchApi, dr as PersonApi, hr as SearchApi };
2941
+ export { Zr as Configuration, gr as FaceAttribute, _r as FaceImageQualityAlignType, vr as FaceImageQualityGroups, yr as FaceImageQualityGroupsStrings, br as FaceImageQualityStatus, xr as FaceQualityConfigName, Sr as FaceQualityScenarios, Cr as FaceSDKResultCode, Xr as FaceSdk, wr as FilterOp, Pr as GroupApi, Yr as HealthcheckApi, Tr as ImageSource, Gr as Liveness20Api, Er as LivenessType, jr as MatchApi, Lr as PersonApi, Vr as SearchApi };