@ezpaarse-project/ezreeport-sdk-js 1.0.0-beta.7 → 1.0.0-beta.9

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.
@@ -8,7 +8,7 @@ function Lt(e, t) {
8
8
  if (t.length < e)
9
9
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
10
10
  }
11
- var Fe = 6e4, ke = 36e5;
11
+ var ke = 6e4, Fe = 36e5;
12
12
  function b(e, t) {
13
13
  var n;
14
14
  Lt(1, arguments);
@@ -17,22 +17,22 @@ function b(e, t) {
17
17
  throw new RangeError("additionalDigits must be 0, 1 or 2");
18
18
  if (!(typeof e == "string" || Object.prototype.toString.call(e) === "[object String]"))
19
19
  return /* @__PURE__ */ new Date(NaN);
20
- var s = Pt(e), o;
20
+ var s = $t(e), o;
21
21
  if (s.date) {
22
- var i = $t(s.date, r);
22
+ var i = Pt(s.date, r);
23
23
  o = Dt(i.restDateString, i.year);
24
24
  }
25
25
  if (!o || isNaN(o.getTime()))
26
26
  return /* @__PURE__ */ new Date(NaN);
27
27
  var c = o.getTime(), f = 0, u;
28
- if (s.time && (f = Ft(s.time), isNaN(f)))
28
+ if (s.time && (f = kt(s.time), isNaN(f)))
29
29
  return /* @__PURE__ */ new Date(NaN);
30
30
  if (s.timezone) {
31
- if (u = kt(s.timezone), isNaN(u))
31
+ if (u = Ft(s.timezone), isNaN(u))
32
32
  return /* @__PURE__ */ new Date(NaN);
33
33
  } else {
34
- var l = new Date(c + f), p = /* @__PURE__ */ new Date(0);
35
- return p.setFullYear(l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()), p.setHours(l.getUTCHours(), l.getUTCMinutes(), l.getUTCSeconds(), l.getUTCMilliseconds()), p;
34
+ var l = new Date(c + f), h = /* @__PURE__ */ new Date(0);
35
+ return h.setFullYear(l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()), h.setHours(l.getUTCHours(), l.getUTCMinutes(), l.getUTCSeconds(), l.getUTCMilliseconds()), h;
36
36
  }
37
37
  return new Date(c + f + u);
38
38
  }
@@ -40,8 +40,8 @@ var q = {
40
40
  dateTimeDelimiter: /[T ]/,
41
41
  timeZoneDelimiter: /[Z ]/i,
42
42
  timezone: /([Z+-].*)$/
43
- }, Nt = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Ct = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, xt = /^([+-])(\d{2})(?::?(\d{2}))?$/;
44
- function Pt(e) {
43
+ }, Nt = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, xt = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, Ct = /^([+-])(\d{2})(?::?(\d{2}))?$/;
44
+ function $t(e) {
45
45
  var t = {}, n = e.split(q.dateTimeDelimiter), r;
46
46
  if (n.length > 2)
47
47
  return t;
@@ -51,7 +51,7 @@ function Pt(e) {
51
51
  }
52
52
  return t;
53
53
  }
54
- function $t(e, t) {
54
+ function Pt(e, t) {
55
55
  var n = new RegExp("^(?:(\\d{4}|[+-]\\d{" + (4 + t) + "})|(\\d{2}|[+-]\\d{" + (2 + t) + "})$)"), r = e.match(n);
56
56
  if (!r)
57
57
  return {
@@ -70,72 +70,72 @@ function Dt(e, t) {
70
70
  var n = e.match(Nt);
71
71
  if (!n)
72
72
  return /* @__PURE__ */ new Date(NaN);
73
- var r = !!n[4], s = U(n[1]), o = U(n[2]) - 1, i = U(n[3]), c = U(n[4]), f = U(n[5]) - 1;
73
+ var r = !!n[4], s = j(n[1]), o = j(n[2]) - 1, i = j(n[3]), c = j(n[4]), f = j(n[5]) - 1;
74
74
  if (r)
75
- return Ht(t, c, f) ? Ut(t, c, f) : /* @__PURE__ */ new Date(NaN);
75
+ return zt(t, c, f) ? jt(t, c, f) : /* @__PURE__ */ new Date(NaN);
76
76
  var u = /* @__PURE__ */ new Date(0);
77
77
  return !Bt(t, o, i) || !Mt(t, s) ? /* @__PURE__ */ new Date(NaN) : (u.setUTCFullYear(t, o, Math.max(s, i)), u);
78
78
  }
79
- function U(e) {
79
+ function j(e) {
80
80
  return e ? parseInt(e) : 1;
81
81
  }
82
- function Ft(e) {
83
- var t = e.match(Ct);
82
+ function kt(e) {
83
+ var t = e.match(xt);
84
84
  if (!t)
85
85
  return NaN;
86
- var n = re(t[1]), r = re(t[2]), s = re(t[3]);
87
- return zt(n, r, s) ? n * ke + r * Fe + s * 1e3 : NaN;
86
+ var n = se(t[1]), r = se(t[2]), s = se(t[3]);
87
+ return Ht(n, r, s) ? n * Fe + r * ke + s * 1e3 : NaN;
88
88
  }
89
- function re(e) {
89
+ function se(e) {
90
90
  return e && parseFloat(e.replace(",", ".")) || 0;
91
91
  }
92
- function kt(e) {
92
+ function Ft(e) {
93
93
  if (e === "Z")
94
94
  return 0;
95
- var t = e.match(xt);
95
+ var t = e.match(Ct);
96
96
  if (!t)
97
97
  return 0;
98
98
  var n = t[1] === "+" ? -1 : 1, r = parseInt(t[2]), s = t[3] && parseInt(t[3]) || 0;
99
- return It(r, s) ? n * (r * ke + s * Fe) : NaN;
99
+ return It(r, s) ? n * (r * Fe + s * ke) : NaN;
100
100
  }
101
- function Ut(e, t, n) {
101
+ function jt(e, t, n) {
102
102
  var r = /* @__PURE__ */ new Date(0);
103
103
  r.setUTCFullYear(e, 0, 4);
104
104
  var s = r.getUTCDay() || 7, o = (t - 1) * 7 + n + 1 - s;
105
105
  return r.setUTCDate(r.getUTCDate() + o), r;
106
106
  }
107
- var jt = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
108
- function Ue(e) {
107
+ var Ut = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
108
+ function je(e) {
109
109
  return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
110
110
  }
111
111
  function Bt(e, t, n) {
112
- return t >= 0 && t <= 11 && n >= 1 && n <= (jt[t] || (Ue(e) ? 29 : 28));
112
+ return t >= 0 && t <= 11 && n >= 1 && n <= (Ut[t] || (je(e) ? 29 : 28));
113
113
  }
114
114
  function Mt(e, t) {
115
- return t >= 1 && t <= (Ue(e) ? 366 : 365);
115
+ return t >= 1 && t <= (je(e) ? 366 : 365);
116
116
  }
117
- function Ht(e, t, n) {
117
+ function zt(e, t, n) {
118
118
  return t >= 1 && t <= 53 && n >= 0 && n <= 6;
119
119
  }
120
- function zt(e, t, n) {
120
+ function Ht(e, t, n) {
121
121
  return e === 24 ? t === 0 && n === 0 : n >= 0 && n < 60 && t >= 0 && t < 60 && e >= 0 && e < 25;
122
122
  }
123
123
  function It(e, t) {
124
124
  return t >= 0 && t <= 59;
125
125
  }
126
- function je(e, t) {
126
+ function Ue(e, t) {
127
127
  return function() {
128
128
  return e.apply(t, arguments);
129
129
  };
130
130
  }
131
- const { toString: qt } = Object.prototype, { getPrototypeOf: de } = Object, Q = ((e) => (t) => {
131
+ const { toString: qt } = Object.prototype, { getPrototypeOf: pe } = Object, Q = ((e) => (t) => {
132
132
  const n = qt.call(t);
133
133
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
134
- })(/* @__PURE__ */ Object.create(null)), T = (e) => (e = e.toLowerCase(), (t) => Q(t) === e), Z = (e) => (t) => typeof t === e, { isArray: $ } = Array, B = Z("undefined");
134
+ })(/* @__PURE__ */ Object.create(null)), R = (e) => (e = e.toLowerCase(), (t) => Q(t) === e), Z = (e) => (t) => typeof t === e, { isArray: P } = Array, B = Z("undefined");
135
135
  function Jt(e) {
136
136
  return e !== null && !B(e) && e.constructor !== null && !B(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
137
137
  }
138
- const Be = T("ArrayBuffer");
138
+ const Be = R("ArrayBuffer");
139
139
  function Wt(e) {
140
140
  let t;
141
141
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Be(e.buffer), t;
@@ -143,18 +143,18 @@ function Wt(e) {
143
143
  const Kt = Z("string"), A = Z("function"), Me = Z("number"), X = (e) => e !== null && typeof e == "object", Vt = (e) => e === !0 || e === !1, J = (e) => {
144
144
  if (Q(e) !== "object")
145
145
  return !1;
146
- const t = de(e);
146
+ const t = pe(e);
147
147
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
148
- }, Yt = T("Date"), Gt = T("File"), Qt = T("Blob"), Zt = T("FileList"), Xt = (e) => X(e) && A(e.pipe), en = (e) => {
148
+ }, Yt = R("Date"), Gt = R("File"), Qt = R("Blob"), Zt = R("FileList"), Xt = (e) => X(e) && A(e.pipe), en = (e) => {
149
149
  let t;
150
150
  return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = Q(e)) === "formdata" || // detect form-data instance
151
151
  t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
152
- }, tn = T("URLSearchParams"), nn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
152
+ }, tn = R("URLSearchParams"), nn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
153
153
  function M(e, t, { allOwnKeys: n = !1 } = {}) {
154
154
  if (e === null || typeof e > "u")
155
155
  return;
156
156
  let r, s;
157
- if (typeof e != "object" && (e = [e]), $(e))
157
+ if (typeof e != "object" && (e = [e]), P(e))
158
158
  for (r = 0, s = e.length; r < s; r++)
159
159
  t.call(null, e[r], r, e);
160
160
  else {
@@ -164,7 +164,7 @@ function M(e, t, { allOwnKeys: n = !1 } = {}) {
164
164
  c = o[r], t.call(null, e[c], c, e);
165
165
  }
166
166
  }
167
- function He(e, t) {
167
+ function ze(e, t) {
168
168
  t = t.toLowerCase();
169
169
  const n = Object.keys(e);
170
170
  let r = n.length, s;
@@ -173,18 +173,18 @@ function He(e, t) {
173
173
  return s;
174
174
  return null;
175
175
  }
176
- const ze = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ie = (e) => !B(e) && e !== ze;
177
- function ce() {
176
+ const He = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ie = (e) => !B(e) && e !== He;
177
+ function ue() {
178
178
  const { caseless: e } = Ie(this) && this || {}, t = {}, n = (r, s) => {
179
- const o = e && He(t, s) || s;
180
- J(t[o]) && J(r) ? t[o] = ce(t[o], r) : J(r) ? t[o] = ce({}, r) : $(r) ? t[o] = r.slice() : t[o] = r;
179
+ const o = e && ze(t, s) || s;
180
+ J(t[o]) && J(r) ? t[o] = ue(t[o], r) : J(r) ? t[o] = ue({}, r) : P(r) ? t[o] = r.slice() : t[o] = r;
181
181
  };
182
182
  for (let r = 0, s = arguments.length; r < s; r++)
183
183
  arguments[r] && M(arguments[r], n);
184
184
  return t;
185
185
  }
186
186
  const rn = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
187
- n && A(s) ? e[o] = je(s, n) : e[o] = s;
187
+ n && A(s) ? e[o] = Ue(s, n) : e[o] = s;
188
188
  }, { allOwnKeys: r }), e), sn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), on = (e, t, n, r) => {
189
189
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
190
190
  value: t.prototype
@@ -197,7 +197,7 @@ const rn = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
197
197
  do {
198
198
  for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
199
199
  i = s[o], (!r || r(i, e, t)) && !c[i] && (t[i] = e[i], c[i] = !0);
200
- e = n !== !1 && de(e);
200
+ e = n !== !1 && pe(e);
201
201
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
202
202
  return t;
203
203
  }, cn = (e, t, n) => {
@@ -207,7 +207,7 @@ const rn = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
207
207
  }, un = (e) => {
208
208
  if (!e)
209
209
  return null;
210
- if ($(e))
210
+ if (P(e))
211
211
  return e;
212
212
  let t = e.length;
213
213
  if (!Me(t))
@@ -216,7 +216,7 @@ const rn = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
216
216
  for (; t-- > 0; )
217
217
  n[t] = e[t];
218
218
  return n;
219
- }, ln = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && de(Uint8Array)), fn = (e, t) => {
219
+ }, ln = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && pe(Uint8Array)), fn = (e, t) => {
220
220
  const r = (e && e[Symbol.iterator]).call(e);
221
221
  let s;
222
222
  for (; (s = r.next()) && !s.done; ) {
@@ -229,12 +229,12 @@ const rn = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
229
229
  for (; (n = e.exec(t)) !== null; )
230
230
  r.push(n);
231
231
  return r;
232
- }, pn = T("HTMLFormElement"), hn = (e) => e.toLowerCase().replace(
232
+ }, pn = R("HTMLFormElement"), hn = (e) => e.toLowerCase().replace(
233
233
  /[-_\s]([a-z\d])(\w*)/g,
234
234
  function(n, r, s) {
235
235
  return r.toUpperCase() + s;
236
236
  }
237
- ), Se = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), mn = T("RegExp"), qe = (e, t) => {
237
+ ), Te = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), mn = R("RegExp"), qe = (e, t) => {
238
238
  const n = Object.getOwnPropertyDescriptors(e), r = {};
239
239
  M(n, (s, o) => {
240
240
  let i;
@@ -255,18 +255,18 @@ const rn = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
255
255
  });
256
256
  }
257
257
  });
258
- }, wn = (e, t) => {
258
+ }, gn = (e, t) => {
259
259
  const n = {}, r = (s) => {
260
260
  s.forEach((o) => {
261
261
  n[o] = !0;
262
262
  });
263
263
  };
264
- return $(e) ? r(e) : r(String(e).split(t)), n;
265
- }, gn = () => {
266
- }, bn = (e, t) => (e = +e, Number.isFinite(e) ? e : t), se = "abcdefghijklmnopqrstuvwxyz", Re = "0123456789", Je = {
267
- DIGIT: Re,
268
- ALPHA: se,
269
- ALPHA_DIGIT: se + se.toUpperCase() + Re
264
+ return P(e) ? r(e) : r(String(e).split(t)), n;
265
+ }, wn = () => {
266
+ }, bn = (e, t) => (e = +e, Number.isFinite(e) ? e : t), oe = "abcdefghijklmnopqrstuvwxyz", Se = "0123456789", Je = {
267
+ DIGIT: Se,
268
+ ALPHA: oe,
269
+ ALPHA_DIGIT: oe + oe.toUpperCase() + Se
270
270
  }, En = (e = 16, t = Je.ALPHA_DIGIT) => {
271
271
  let n = "";
272
272
  const { length: r } = t;
@@ -284,7 +284,7 @@ const An = (e) => {
284
284
  return;
285
285
  if (!("toJSON" in r)) {
286
286
  t[s] = r;
287
- const o = $(r) ? [] : {};
287
+ const o = P(r) ? [] : {};
288
288
  return M(r, (i, c) => {
289
289
  const f = n(i, s + 1);
290
290
  !B(f) && (o[c] = f);
@@ -294,8 +294,8 @@ const An = (e) => {
294
294
  return r;
295
295
  };
296
296
  return n(e, 0);
297
- }, Sn = T("AsyncFunction"), Rn = (e) => e && (X(e) || A(e)) && A(e.then) && A(e.catch), a = {
298
- isArray: $,
297
+ }, Tn = R("AsyncFunction"), Sn = (e) => e && (X(e) || A(e)) && A(e.then) && A(e.catch), a = {
298
+ isArray: P,
299
299
  isArrayBuffer: Be,
300
300
  isBuffer: Jt,
301
301
  isFormData: en,
@@ -316,37 +316,37 @@ const An = (e) => {
316
316
  isTypedArray: ln,
317
317
  isFileList: Zt,
318
318
  forEach: M,
319
- merge: ce,
319
+ merge: ue,
320
320
  extend: rn,
321
321
  trim: nn,
322
322
  stripBOM: sn,
323
323
  inherits: on,
324
324
  toFlatObject: an,
325
325
  kindOf: Q,
326
- kindOfTest: T,
326
+ kindOfTest: R,
327
327
  endsWith: cn,
328
328
  toArray: un,
329
329
  forEachEntry: fn,
330
330
  matchAll: dn,
331
331
  isHTMLForm: pn,
332
- hasOwnProperty: Se,
333
- hasOwnProp: Se,
332
+ hasOwnProperty: Te,
333
+ hasOwnProp: Te,
334
334
  // an alias to avoid ESLint no-prototype-builtins detection
335
335
  reduceDescriptors: qe,
336
336
  freezeMethods: yn,
337
- toObjectSet: wn,
337
+ toObjectSet: gn,
338
338
  toCamelCase: hn,
339
- noop: gn,
339
+ noop: wn,
340
340
  toFiniteNumber: bn,
341
- findKey: He,
342
- global: ze,
341
+ findKey: ze,
342
+ global: He,
343
343
  isContextDefined: Ie,
344
344
  ALPHABET: Je,
345
345
  generateString: En,
346
346
  isSpecCompliantForm: vn,
347
347
  toJSONObject: An,
348
- isAsyncFn: Sn,
349
- isThenable: Rn
348
+ isAsyncFn: Tn,
349
+ isThenable: Sn
350
350
  };
351
351
  function y(e, t, n, r, s) {
352
352
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s);
@@ -398,20 +398,20 @@ y.from = (e, t, n, r, s, o) => {
398
398
  return f !== Error.prototype;
399
399
  }, (c) => c !== "isAxiosError"), y.call(i, e.message, t, n, r, s), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
400
400
  };
401
- const Tn = null;
402
- function ue(e) {
401
+ const Rn = null;
402
+ function le(e) {
403
403
  return a.isPlainObject(e) || a.isArray(e);
404
404
  }
405
405
  function Ve(e) {
406
406
  return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
407
407
  }
408
- function Te(e, t, n) {
408
+ function Re(e, t, n) {
409
409
  return e ? e.concat(t).map(function(s, o) {
410
410
  return s = Ve(s), !n && o ? "[" + s + "]" : s;
411
411
  }).join(n ? "." : "") : t;
412
412
  }
413
413
  function _n(e) {
414
- return a.isArray(e) && !e.some(ue);
414
+ return a.isArray(e) && !e.some(le);
415
415
  }
416
416
  const On = a.toFlatObject(a, {}, null, function(t) {
417
417
  return /^is[A-Z]/.test(t);
@@ -439,44 +439,44 @@ function ee(e, t, n) {
439
439
  return a.isArrayBuffer(d) || a.isTypedArray(d) ? f && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
440
440
  }
441
441
  function l(d, m, _) {
442
- let S = d;
442
+ let T = d;
443
443
  if (d && !_ && typeof d == "object") {
444
444
  if (a.endsWith(m, "{}"))
445
445
  m = r ? m : m.slice(0, -2), d = JSON.stringify(d);
446
- else if (a.isArray(d) && _n(d) || (a.isFileList(d) || a.endsWith(m, "[]")) && (S = a.toArray(d)))
447
- return m = Ve(m), S.forEach(function(I, _t) {
446
+ else if (a.isArray(d) && _n(d) || (a.isFileList(d) || a.endsWith(m, "[]")) && (T = a.toArray(d)))
447
+ return m = Ve(m), T.forEach(function(I, _t) {
448
448
  !(a.isUndefined(I) || I === null) && t.append(
449
449
  // eslint-disable-next-line no-nested-ternary
450
- i === !0 ? Te([m], _t, o) : i === null ? m : m + "[]",
450
+ i === !0 ? Re([m], _t, o) : i === null ? m : m + "[]",
451
451
  u(I)
452
452
  );
453
453
  }), !1;
454
454
  }
455
- return ue(d) ? !0 : (t.append(Te(_, m, o), u(d)), !1);
455
+ return le(d) ? !0 : (t.append(Re(_, m, o), u(d)), !1);
456
456
  }
457
- const p = [], v = Object.assign(On, {
457
+ const h = [], v = Object.assign(On, {
458
458
  defaultVisitor: l,
459
459
  convertValue: u,
460
- isVisitable: ue
460
+ isVisitable: le
461
461
  });
462
- function g(d, m) {
462
+ function w(d, m) {
463
463
  if (!a.isUndefined(d)) {
464
- if (p.indexOf(d) !== -1)
464
+ if (h.indexOf(d) !== -1)
465
465
  throw Error("Circular reference detected in " + m.join("."));
466
- p.push(d), a.forEach(d, function(S, C) {
467
- (!(a.isUndefined(S) || S === null) && s.call(
466
+ h.push(d), a.forEach(d, function(T, x) {
467
+ (!(a.isUndefined(T) || T === null) && s.call(
468
468
  t,
469
- S,
470
- a.isString(C) ? C.trim() : C,
469
+ T,
470
+ a.isString(x) ? x.trim() : x,
471
471
  m,
472
472
  v
473
- )) === !0 && g(S, m ? m.concat(C) : [C]);
474
- }), p.pop();
473
+ )) === !0 && w(T, m ? m.concat(x) : [x]);
474
+ }), h.pop();
475
475
  }
476
476
  }
477
477
  if (!a.isObject(e))
478
478
  throw new TypeError("data must be an object");
479
- return g(e), t;
479
+ return w(e), t;
480
480
  }
481
481
  function _e(e) {
482
482
  const t = {
@@ -492,10 +492,10 @@ function _e(e) {
492
492
  return t[r];
493
493
  });
494
494
  }
495
- function pe(e, t) {
495
+ function he(e, t) {
496
496
  this._pairs = [], e && ee(e, this, t);
497
497
  }
498
- const Ye = pe.prototype;
498
+ const Ye = he.prototype;
499
499
  Ye.append = function(t, n) {
500
500
  this._pairs.push([t, n]);
501
501
  };
@@ -515,7 +515,7 @@ function Ge(e, t, n) {
515
515
  return e;
516
516
  const r = n && n.encode || Ln, s = n && n.serialize;
517
517
  let o;
518
- if (s ? o = s(t, n) : o = a.isURLSearchParams(t) ? t.toString() : new pe(t, n).toString(r), o) {
518
+ if (s ? o = s(t, n) : o = a.isURLSearchParams(t) ? t.toString() : new he(t, n).toString(r), o) {
519
519
  const i = e.indexOf("#");
520
520
  i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
521
521
  }
@@ -579,32 +579,32 @@ const Oe = Nn, Qe = {
579
579
  silentJSONParsing: !0,
580
580
  forcedJSONParsing: !0,
581
581
  clarifyTimeoutError: !1
582
- }, Cn = typeof URLSearchParams < "u" ? URLSearchParams : pe, xn = typeof FormData < "u" ? FormData : null, Pn = typeof Blob < "u" ? Blob : null, $n = (() => {
582
+ }, xn = typeof URLSearchParams < "u" ? URLSearchParams : he, Cn = typeof FormData < "u" ? FormData : null, $n = typeof Blob < "u" ? Blob : null, Pn = (() => {
583
583
  let e;
584
584
  return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
585
585
  })(), Dn = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
586
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), R = {
586
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), S = {
587
587
  isBrowser: !0,
588
588
  classes: {
589
- URLSearchParams: Cn,
590
- FormData: xn,
591
- Blob: Pn
589
+ URLSearchParams: xn,
590
+ FormData: Cn,
591
+ Blob: $n
592
592
  },
593
- isStandardBrowserEnv: $n,
593
+ isStandardBrowserEnv: Pn,
594
594
  isStandardBrowserWebWorkerEnv: Dn,
595
595
  protocols: ["http", "https", "file", "blob", "url", "data"]
596
596
  };
597
- function Fn(e, t) {
598
- return ee(e, new R.classes.URLSearchParams(), Object.assign({
597
+ function kn(e, t) {
598
+ return ee(e, new S.classes.URLSearchParams(), Object.assign({
599
599
  visitor: function(n, r, s, o) {
600
- return R.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
600
+ return S.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
601
601
  }
602
602
  }, t));
603
603
  }
604
- function kn(e) {
604
+ function Fn(e) {
605
605
  return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
606
606
  }
607
- function Un(e) {
607
+ function jn(e) {
608
608
  const t = {}, n = Object.keys(e);
609
609
  let r;
610
610
  const s = n.length;
@@ -617,17 +617,17 @@ function Ze(e) {
617
617
  function t(n, r, s, o) {
618
618
  let i = n[o++];
619
619
  const c = Number.isFinite(+i), f = o >= n.length;
620
- return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = Un(s[i])), !c);
620
+ return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = jn(s[i])), !c);
621
621
  }
622
622
  if (a.isFormData(e) && a.isFunction(e.entries)) {
623
623
  const n = {};
624
624
  return a.forEachEntry(e, (r, s) => {
625
- t(kn(r), s, n, 0);
625
+ t(Fn(r), s, n, 0);
626
626
  }), n;
627
627
  }
628
628
  return null;
629
629
  }
630
- function jn(e, t, n) {
630
+ function Un(e, t, n) {
631
631
  if (a.isString(e))
632
632
  try {
633
633
  return (t || JSON.parse)(e), a.trim(e);
@@ -637,9 +637,9 @@ function jn(e, t, n) {
637
637
  }
638
638
  return (n || JSON.stringify)(e);
639
639
  }
640
- const he = {
640
+ const me = {
641
641
  transitional: Qe,
642
- adapter: R.isNode ? "http" : "xhr",
642
+ adapter: S.isNode ? "http" : "xhr",
643
643
  transformRequest: [function(t, n) {
644
644
  const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = a.isObject(t);
645
645
  if (o && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
@@ -653,7 +653,7 @@ const he = {
653
653
  let c;
654
654
  if (o) {
655
655
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
656
- return Fn(t, this.formSerializer).toString();
656
+ return kn(t, this.formSerializer).toString();
657
657
  if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
658
658
  const f = this.env && this.env.FormData;
659
659
  return ee(
@@ -663,10 +663,10 @@ const he = {
663
663
  );
664
664
  }
665
665
  }
666
- return o || s ? (n.setContentType("application/json", !1), jn(t)) : t;
666
+ return o || s ? (n.setContentType("application/json", !1), Un(t)) : t;
667
667
  }],
668
668
  transformResponse: [function(t) {
669
- const n = this.transitional || he.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
669
+ const n = this.transitional || me.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
670
670
  if (t && a.isString(t) && (r && !this.responseType || s)) {
671
671
  const i = !(n && n.silentJSONParsing) && s;
672
672
  try {
@@ -688,8 +688,8 @@ const he = {
688
688
  maxContentLength: -1,
689
689
  maxBodyLength: -1,
690
690
  env: {
691
- FormData: R.classes.FormData,
692
- Blob: R.classes.Blob
691
+ FormData: S.classes.FormData,
692
+ Blob: S.classes.Blob
693
693
  },
694
694
  validateStatus: function(t) {
695
695
  return t >= 200 && t < 300;
@@ -702,9 +702,9 @@ const he = {
702
702
  }
703
703
  };
704
704
  a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
705
- he.headers[e] = {};
705
+ me.headers[e] = {};
706
706
  });
707
- const me = he, Bn = a.toObjectSet([
707
+ const ye = me, Bn = a.toObjectSet([
708
708
  "age",
709
709
  "authorization",
710
710
  "content-length",
@@ -730,21 +730,21 @@ const me = he, Bn = a.toObjectSet([
730
730
  s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && Bn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
731
731
  }), t;
732
732
  }, Le = Symbol("internals");
733
- function j(e) {
733
+ function U(e) {
734
734
  return e && String(e).trim().toLowerCase();
735
735
  }
736
736
  function W(e) {
737
737
  return e === !1 || e == null ? e : a.isArray(e) ? e.map(W) : String(e);
738
738
  }
739
- function Hn(e) {
739
+ function zn(e) {
740
740
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
741
741
  let r;
742
742
  for (; r = n.exec(e); )
743
743
  t[r[1]] = r[2];
744
744
  return t;
745
745
  }
746
- const zn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
747
- function oe(e, t, n, r, s) {
746
+ const Hn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
747
+ function ie(e, t, n, r, s) {
748
748
  if (a.isFunction(r))
749
749
  return r.call(this, t, n);
750
750
  if (s && (t = n), !!a.isString(t)) {
@@ -775,24 +775,24 @@ let te = class {
775
775
  set(t, n, r) {
776
776
  const s = this;
777
777
  function o(c, f, u) {
778
- const l = j(f);
778
+ const l = U(f);
779
779
  if (!l)
780
780
  throw new Error("header name must be a non-empty string");
781
- const p = a.findKey(s, l);
782
- (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || f] = W(c));
781
+ const h = a.findKey(s, l);
782
+ (!h || s[h] === void 0 || u === !0 || u === void 0 && s[h] !== !1) && (s[h || f] = W(c));
783
783
  }
784
784
  const i = (c, f) => a.forEach(c, (u, l) => o(u, l, f));
785
- return a.isPlainObject(t) || t instanceof this.constructor ? i(t, n) : a.isString(t) && (t = t.trim()) && !zn(t) ? i(Mn(t), n) : t != null && o(n, t, r), this;
785
+ return a.isPlainObject(t) || t instanceof this.constructor ? i(t, n) : a.isString(t) && (t = t.trim()) && !Hn(t) ? i(Mn(t), n) : t != null && o(n, t, r), this;
786
786
  }
787
787
  get(t, n) {
788
- if (t = j(t), t) {
788
+ if (t = U(t), t) {
789
789
  const r = a.findKey(this, t);
790
790
  if (r) {
791
791
  const s = this[r];
792
792
  if (!n)
793
793
  return s;
794
794
  if (n === !0)
795
- return Hn(s);
795
+ return zn(s);
796
796
  if (a.isFunction(n))
797
797
  return n.call(this, s, r);
798
798
  if (a.isRegExp(n))
@@ -802,9 +802,9 @@ let te = class {
802
802
  }
803
803
  }
804
804
  has(t, n) {
805
- if (t = j(t), t) {
805
+ if (t = U(t), t) {
806
806
  const r = a.findKey(this, t);
807
- return !!(r && this[r] !== void 0 && (!n || oe(this, this[r], r, n)));
807
+ return !!(r && this[r] !== void 0 && (!n || ie(this, this[r], r, n)));
808
808
  }
809
809
  return !1;
810
810
  }
@@ -812,9 +812,9 @@ let te = class {
812
812
  const r = this;
813
813
  let s = !1;
814
814
  function o(i) {
815
- if (i = j(i), i) {
815
+ if (i = U(i), i) {
816
816
  const c = a.findKey(r, i);
817
- c && (!n || oe(r, r[c], c, n)) && (delete r[c], s = !0);
817
+ c && (!n || ie(r, r[c], c, n)) && (delete r[c], s = !0);
818
818
  }
819
819
  }
820
820
  return a.isArray(t) ? t.forEach(o) : o(t), s;
@@ -824,7 +824,7 @@ let te = class {
824
824
  let r = n.length, s = !1;
825
825
  for (; r--; ) {
826
826
  const o = n[r];
827
- (!t || oe(this, this[o], o, t, !0)) && (delete this[o], s = !0);
827
+ (!t || ie(this, this[o], o, t, !0)) && (delete this[o], s = !0);
828
828
  }
829
829
  return s;
830
830
  }
@@ -871,7 +871,7 @@ let te = class {
871
871
  accessors: {}
872
872
  }).accessors, s = this.prototype;
873
873
  function o(i) {
874
- const c = j(i);
874
+ const c = U(i);
875
875
  r[c] || (qn(s, i), r[c] = !0);
876
876
  }
877
877
  return a.isArray(t) ? t.forEach(o) : o(t), this;
@@ -889,8 +889,8 @@ a.reduceDescriptors(te.prototype, ({ value: e }, t) => {
889
889
  });
890
890
  a.freezeMethods(te);
891
891
  const L = te;
892
- function ie(e, t) {
893
- const n = this || me, r = t || n, s = L.from(r.headers);
892
+ function ae(e, t) {
893
+ const n = this || ye, r = t || n, s = L.from(r.headers);
894
894
  let o = r.data;
895
895
  return a.forEach(e, function(c) {
896
896
  o = c.call(n, o, s.normalize(), t ? t.status : void 0);
@@ -899,10 +899,10 @@ function ie(e, t) {
899
899
  function Xe(e) {
900
900
  return !!(e && e.__CANCEL__);
901
901
  }
902
- function H(e, t, n) {
902
+ function z(e, t, n) {
903
903
  y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
904
904
  }
905
- a.inherits(H, y, {
905
+ a.inherits(z, y, {
906
906
  __CANCEL__: !0
907
907
  });
908
908
  function Jn(e, t, n) {
@@ -915,7 +915,7 @@ function Jn(e, t, n) {
915
915
  n
916
916
  ));
917
917
  }
918
- const Wn = R.isStandardBrowserEnv ? (
918
+ const Wn = S.isStandardBrowserEnv ? (
919
919
  // Standard browser envs support document.cookie
920
920
  function() {
921
921
  return {
@@ -955,7 +955,7 @@ function Vn(e, t) {
955
955
  function et(e, t) {
956
956
  return e && !Kn(t) ? Vn(e, t) : t;
957
957
  }
958
- const Yn = R.isStandardBrowserEnv ? (
958
+ const Yn = S.isStandardBrowserEnv ? (
959
959
  // Standard browser envs have full support of the APIs needed to test
960
960
  // whether the request URL is of the same origin as current location.
961
961
  function() {
@@ -998,13 +998,13 @@ function Qn(e, t) {
998
998
  return t = t !== void 0 ? t : 1e3, function(f) {
999
999
  const u = Date.now(), l = r[o];
1000
1000
  i || (i = u), n[s] = f, r[s] = u;
1001
- let p = o, v = 0;
1002
- for (; p !== s; )
1003
- v += n[p++], p = p % e;
1001
+ let h = o, v = 0;
1002
+ for (; h !== s; )
1003
+ v += n[h++], h = h % e;
1004
1004
  if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
1005
1005
  return;
1006
- const g = l && u - l;
1007
- return g ? Math.round(v * 1e3 / g) : void 0;
1006
+ const w = l && u - l;
1007
+ return w ? Math.round(v * 1e3 / w) : void 0;
1008
1008
  };
1009
1009
  }
1010
1010
  function Ne(e, t) {
@@ -1033,35 +1033,35 @@ const Zn = typeof XMLHttpRequest < "u", Xn = Zn && function(e) {
1033
1033
  function f() {
1034
1034
  e.cancelToken && e.cancelToken.unsubscribe(c), e.signal && e.signal.removeEventListener("abort", c);
1035
1035
  }
1036
- a.isFormData(s) && (R.isStandardBrowserEnv || R.isStandardBrowserWebWorkerEnv ? o.setContentType(!1) : o.setContentType("multipart/form-data;", !1));
1036
+ a.isFormData(s) && (S.isStandardBrowserEnv || S.isStandardBrowserWebWorkerEnv ? o.setContentType(!1) : o.setContentType("multipart/form-data;", !1));
1037
1037
  let u = new XMLHttpRequest();
1038
1038
  if (e.auth) {
1039
- const g = e.auth.username || "", d = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
1040
- o.set("Authorization", "Basic " + btoa(g + ":" + d));
1039
+ const w = e.auth.username || "", d = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
1040
+ o.set("Authorization", "Basic " + btoa(w + ":" + d));
1041
1041
  }
1042
1042
  const l = et(e.baseURL, e.url);
1043
1043
  u.open(e.method.toUpperCase(), Ge(l, e.params, e.paramsSerializer), !0), u.timeout = e.timeout;
1044
- function p() {
1044
+ function h() {
1045
1045
  if (!u)
1046
1046
  return;
1047
- const g = L.from(
1047
+ const w = L.from(
1048
1048
  "getAllResponseHeaders" in u && u.getAllResponseHeaders()
1049
1049
  ), m = {
1050
1050
  data: !i || i === "text" || i === "json" ? u.responseText : u.response,
1051
1051
  status: u.status,
1052
1052
  statusText: u.statusText,
1053
- headers: g,
1053
+ headers: w,
1054
1054
  config: e,
1055
1055
  request: u
1056
1056
  };
1057
- Jn(function(S) {
1058
- n(S), f();
1059
- }, function(S) {
1060
- r(S), f();
1057
+ Jn(function(T) {
1058
+ n(T), f();
1059
+ }, function(T) {
1060
+ r(T), f();
1061
1061
  }, m), u = null;
1062
1062
  }
1063
- if ("onloadend" in u ? u.onloadend = p : u.onreadystatechange = function() {
1064
- !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(p);
1063
+ if ("onloadend" in u ? u.onloadend = h : u.onreadystatechange = function() {
1064
+ !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(h);
1065
1065
  }, u.onabort = function() {
1066
1066
  u && (r(new y("Request aborted", y.ECONNABORTED, e, u)), u = null);
1067
1067
  }, u.onerror = function() {
@@ -1075,24 +1075,24 @@ const Zn = typeof XMLHttpRequest < "u", Xn = Zn && function(e) {
1075
1075
  e,
1076
1076
  u
1077
1077
  )), u = null;
1078
- }, R.isStandardBrowserEnv) {
1079
- const g = (e.withCredentials || Yn(l)) && e.xsrfCookieName && Wn.read(e.xsrfCookieName);
1080
- g && o.set(e.xsrfHeaderName, g);
1078
+ }, S.isStandardBrowserEnv) {
1079
+ const w = (e.withCredentials || Yn(l)) && e.xsrfCookieName && Wn.read(e.xsrfCookieName);
1080
+ w && o.set(e.xsrfHeaderName, w);
1081
1081
  }
1082
1082
  s === void 0 && o.setContentType(null), "setRequestHeader" in u && a.forEach(o.toJSON(), function(d, m) {
1083
1083
  u.setRequestHeader(m, d);
1084
- }), a.isUndefined(e.withCredentials) || (u.withCredentials = !!e.withCredentials), i && i !== "json" && (u.responseType = e.responseType), typeof e.onDownloadProgress == "function" && u.addEventListener("progress", Ne(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Ne(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (g) => {
1085
- u && (r(!g || g.type ? new H(null, e, u) : g), u.abort(), u = null);
1084
+ }), a.isUndefined(e.withCredentials) || (u.withCredentials = !!e.withCredentials), i && i !== "json" && (u.responseType = e.responseType), typeof e.onDownloadProgress == "function" && u.addEventListener("progress", Ne(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Ne(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (w) => {
1085
+ u && (r(!w || w.type ? new z(null, e, u) : w), u.abort(), u = null);
1086
1086
  }, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
1087
1087
  const v = Gn(l);
1088
- if (v && R.protocols.indexOf(v) === -1) {
1088
+ if (v && S.protocols.indexOf(v) === -1) {
1089
1089
  r(new y("Unsupported protocol " + v + ":", y.ERR_BAD_REQUEST, e));
1090
1090
  return;
1091
1091
  }
1092
1092
  u.send(s || null);
1093
1093
  });
1094
1094
  }, K = {
1095
- http: Tn,
1095
+ http: Rn,
1096
1096
  xhr: Xn
1097
1097
  };
1098
1098
  a.forEach(K, (e, t) => {
@@ -1124,41 +1124,41 @@ const tt = {
1124
1124
  },
1125
1125
  adapters: K
1126
1126
  };
1127
- function ae(e) {
1127
+ function ce(e) {
1128
1128
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1129
- throw new H(null, e);
1129
+ throw new z(null, e);
1130
1130
  }
1131
- function Ce(e) {
1132
- return ae(e), e.headers = L.from(e.headers), e.data = ie.call(
1131
+ function xe(e) {
1132
+ return ce(e), e.headers = L.from(e.headers), e.data = ae.call(
1133
1133
  e,
1134
1134
  e.transformRequest
1135
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), tt.getAdapter(e.adapter || me.adapter)(e).then(function(r) {
1136
- return ae(e), r.data = ie.call(
1135
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), tt.getAdapter(e.adapter || ye.adapter)(e).then(function(r) {
1136
+ return ce(e), r.data = ae.call(
1137
1137
  e,
1138
1138
  e.transformResponse,
1139
1139
  r
1140
1140
  ), r.headers = L.from(r.headers), r;
1141
1141
  }, function(r) {
1142
- return Xe(r) || (ae(e), r && r.response && (r.response.data = ie.call(
1142
+ return Xe(r) || (ce(e), r && r.response && (r.response.data = ae.call(
1143
1143
  e,
1144
1144
  e.transformResponse,
1145
1145
  r.response
1146
1146
  ), r.response.headers = L.from(r.response.headers))), Promise.reject(r);
1147
1147
  });
1148
1148
  }
1149
- const xe = (e) => e instanceof L ? e.toJSON() : e;
1150
- function P(e, t) {
1149
+ const Ce = (e) => e instanceof L ? e.toJSON() : e;
1150
+ function $(e, t) {
1151
1151
  t = t || {};
1152
1152
  const n = {};
1153
- function r(u, l, p) {
1154
- return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: p }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
1153
+ function r(u, l, h) {
1154
+ return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: h }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
1155
1155
  }
1156
- function s(u, l, p) {
1156
+ function s(u, l, h) {
1157
1157
  if (a.isUndefined(l)) {
1158
1158
  if (!a.isUndefined(u))
1159
- return r(void 0, u, p);
1159
+ return r(void 0, u, h);
1160
1160
  } else
1161
- return r(u, l, p);
1161
+ return r(u, l, h);
1162
1162
  }
1163
1163
  function o(u, l) {
1164
1164
  if (!a.isUndefined(l))
@@ -1171,10 +1171,10 @@ function P(e, t) {
1171
1171
  } else
1172
1172
  return r(void 0, l);
1173
1173
  }
1174
- function c(u, l, p) {
1175
- if (p in t)
1174
+ function c(u, l, h) {
1175
+ if (h in t)
1176
1176
  return r(u, l);
1177
- if (p in e)
1177
+ if (h in e)
1178
1178
  return r(void 0, u);
1179
1179
  }
1180
1180
  const f = {
@@ -1205,21 +1205,21 @@ function P(e, t) {
1205
1205
  socketPath: i,
1206
1206
  responseEncoding: i,
1207
1207
  validateStatus: c,
1208
- headers: (u, l) => s(xe(u), xe(l), !0)
1208
+ headers: (u, l) => s(Ce(u), Ce(l), !0)
1209
1209
  };
1210
1210
  return a.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
1211
- const p = f[l] || s, v = p(e[l], t[l], l);
1212
- a.isUndefined(v) && p !== c || (n[l] = v);
1211
+ const h = f[l] || s, v = h(e[l], t[l], l);
1212
+ a.isUndefined(v) && h !== c || (n[l] = v);
1213
1213
  }), n;
1214
1214
  }
1215
- const nt = "1.5.0", ye = {};
1215
+ const nt = "1.5.0", ge = {};
1216
1216
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1217
- ye[e] = function(r) {
1217
+ ge[e] = function(r) {
1218
1218
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1219
1219
  };
1220
1220
  });
1221
- const Pe = {};
1222
- ye.transitional = function(t, n, r) {
1221
+ const $e = {};
1222
+ ge.transitional = function(t, n, r) {
1223
1223
  function s(o, i) {
1224
1224
  return "[Axios v" + nt + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1225
1225
  }
@@ -1229,7 +1229,7 @@ ye.transitional = function(t, n, r) {
1229
1229
  s(i, " has been removed" + (n ? " in " + n : "")),
1230
1230
  y.ERR_DEPRECATED
1231
1231
  );
1232
- return n && !Pe[i] && (Pe[i] = !0, console.warn(
1232
+ return n && !$e[i] && ($e[i] = !0, console.warn(
1233
1233
  s(
1234
1234
  i,
1235
1235
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1254,10 +1254,10 @@ function er(e, t, n) {
1254
1254
  throw new y("Unknown option " + o, y.ERR_BAD_OPTION);
1255
1255
  }
1256
1256
  }
1257
- const le = {
1257
+ const fe = {
1258
1258
  assertOptions: er,
1259
- validators: ye
1260
- }, N = le.validators;
1259
+ validators: ge
1260
+ }, N = fe.validators;
1261
1261
  let G = class {
1262
1262
  constructor(t) {
1263
1263
  this.defaults = t, this.interceptors = {
@@ -1274,15 +1274,15 @@ let G = class {
1274
1274
  * @returns {Promise} The Promise to be fulfilled
1275
1275
  */
1276
1276
  request(t, n) {
1277
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = P(this.defaults, n);
1277
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = $(this.defaults, n);
1278
1278
  const { transitional: r, paramsSerializer: s, headers: o } = n;
1279
- r !== void 0 && le.assertOptions(r, {
1279
+ r !== void 0 && fe.assertOptions(r, {
1280
1280
  silentJSONParsing: N.transitional(N.boolean),
1281
1281
  forcedJSONParsing: N.transitional(N.boolean),
1282
1282
  clarifyTimeoutError: N.transitional(N.boolean)
1283
1283
  }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
1284
1284
  serialize: s
1285
- } : le.assertOptions(s, {
1285
+ } : fe.assertOptions(s, {
1286
1286
  encode: N.function,
1287
1287
  serialize: N.function
1288
1288
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1305,42 +1305,42 @@ let G = class {
1305
1305
  this.interceptors.response.forEach(function(m) {
1306
1306
  u.push(m.fulfilled, m.rejected);
1307
1307
  });
1308
- let l, p = 0, v;
1308
+ let l, h = 0, v;
1309
1309
  if (!f) {
1310
- const d = [Ce.bind(this), void 0];
1311
- for (d.unshift.apply(d, c), d.push.apply(d, u), v = d.length, l = Promise.resolve(n); p < v; )
1312
- l = l.then(d[p++], d[p++]);
1310
+ const d = [xe.bind(this), void 0];
1311
+ for (d.unshift.apply(d, c), d.push.apply(d, u), v = d.length, l = Promise.resolve(n); h < v; )
1312
+ l = l.then(d[h++], d[h++]);
1313
1313
  return l;
1314
1314
  }
1315
1315
  v = c.length;
1316
- let g = n;
1317
- for (p = 0; p < v; ) {
1318
- const d = c[p++], m = c[p++];
1316
+ let w = n;
1317
+ for (h = 0; h < v; ) {
1318
+ const d = c[h++], m = c[h++];
1319
1319
  try {
1320
- g = d(g);
1320
+ w = d(w);
1321
1321
  } catch (_) {
1322
1322
  m.call(this, _);
1323
1323
  break;
1324
1324
  }
1325
1325
  }
1326
1326
  try {
1327
- l = Ce.call(this, g);
1327
+ l = xe.call(this, w);
1328
1328
  } catch (d) {
1329
1329
  return Promise.reject(d);
1330
1330
  }
1331
- for (p = 0, v = u.length; p < v; )
1332
- l = l.then(u[p++], u[p++]);
1331
+ for (h = 0, v = u.length; h < v; )
1332
+ l = l.then(u[h++], u[h++]);
1333
1333
  return l;
1334
1334
  }
1335
1335
  getUri(t) {
1336
- t = P(this.defaults, t);
1336
+ t = $(this.defaults, t);
1337
1337
  const n = et(t.baseURL, t.url);
1338
1338
  return Ge(n, t.params, t.paramsSerializer);
1339
1339
  }
1340
1340
  };
1341
1341
  a.forEach(["delete", "get", "head", "options"], function(t) {
1342
1342
  G.prototype[t] = function(n, r) {
1343
- return this.request(P(r || {}, {
1343
+ return this.request($(r || {}, {
1344
1344
  method: t,
1345
1345
  url: n,
1346
1346
  data: (r || {}).data
@@ -1350,7 +1350,7 @@ a.forEach(["delete", "get", "head", "options"], function(t) {
1350
1350
  a.forEach(["post", "put", "patch"], function(t) {
1351
1351
  function n(r) {
1352
1352
  return function(o, i, c) {
1353
- return this.request(P(c || {}, {
1353
+ return this.request($(c || {}, {
1354
1354
  method: t,
1355
1355
  headers: r ? {
1356
1356
  "Content-Type": "multipart/form-data"
@@ -1388,7 +1388,7 @@ let tr = class rt {
1388
1388
  r.unsubscribe(o);
1389
1389
  }, i;
1390
1390
  }, t(function(o, i, c) {
1391
- r.reason || (r.reason = new H(o, i, c), n(r.reason));
1391
+ r.reason || (r.reason = new z(o, i, c), n(r.reason));
1392
1392
  });
1393
1393
  }
1394
1394
  /**
@@ -1440,7 +1440,7 @@ function rr(e) {
1440
1440
  function sr(e) {
1441
1441
  return a.isObject(e) && e.isAxiosError === !0;
1442
1442
  }
1443
- const fe = {
1443
+ const de = {
1444
1444
  Continue: 100,
1445
1445
  SwitchingProtocols: 101,
1446
1446
  Processing: 102,
@@ -1505,19 +1505,19 @@ const fe = {
1505
1505
  NotExtended: 510,
1506
1506
  NetworkAuthenticationRequired: 511
1507
1507
  };
1508
- Object.entries(fe).forEach(([e, t]) => {
1509
- fe[t] = e;
1508
+ Object.entries(de).forEach(([e, t]) => {
1509
+ de[t] = e;
1510
1510
  });
1511
- const or = fe;
1511
+ const or = de;
1512
1512
  function st(e) {
1513
- const t = new V(e), n = je(V.prototype.request, t);
1513
+ const t = new V(e), n = Ue(V.prototype.request, t);
1514
1514
  return a.extend(n, V.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1515
- return st(P(e, s));
1515
+ return st($(e, s));
1516
1516
  }, n;
1517
1517
  }
1518
- const E = st(me);
1518
+ const E = st(ye);
1519
1519
  E.Axios = V;
1520
- E.CanceledError = H;
1520
+ E.CanceledError = z;
1521
1521
  E.CancelToken = nr;
1522
1522
  E.isCancel = Xe;
1523
1523
  E.VERSION = nt;
@@ -1529,29 +1529,29 @@ E.all = function(t) {
1529
1529
  };
1530
1530
  E.spread = rr;
1531
1531
  E.isAxiosError = sr;
1532
- E.mergeConfig = P;
1532
+ E.mergeConfig = $;
1533
1533
  E.AxiosHeaders = L;
1534
1534
  E.formToJSON = (e) => Ze(a.isHTMLForm(e) ? new FormData(e) : e);
1535
1535
  E.getAdapter = tt.getAdapter;
1536
1536
  E.HttpStatusCode = or;
1537
1537
  E.default = E;
1538
1538
  const ot = E, {
1539
- Axios: ms,
1539
+ Axios: Es,
1540
1540
  AxiosError: ir,
1541
- CanceledError: ys,
1542
- isCancel: ws,
1543
- CancelToken: gs,
1544
- VERSION: bs,
1545
- all: Es,
1546
- Cancel: vs,
1547
- isAxiosError: As,
1548
- spread: Ss,
1549
- toFormData: Rs,
1550
- AxiosHeaders: Ts,
1551
- HttpStatusCode: _s,
1552
- formToJSON: Os,
1553
- getAdapter: Ls,
1554
- mergeConfig: Ns
1541
+ CanceledError: vs,
1542
+ isCancel: As,
1543
+ CancelToken: Ts,
1544
+ VERSION: Ss,
1545
+ all: Rs,
1546
+ Cancel: _s,
1547
+ isAxiosError: Os,
1548
+ spread: Ls,
1549
+ toFormData: Ns,
1550
+ AxiosHeaders: xs,
1551
+ HttpStatusCode: Cs,
1552
+ formToJSON: $s,
1553
+ getAdapter: Ps,
1554
+ mergeConfig: Ds
1555
1555
  } = ot, it = ot.create({
1556
1556
  headers: {
1557
1557
  "Content-Type": "application/json"
@@ -1586,7 +1586,7 @@ const ot = E, {
1586
1586
  }
1587
1587
  throw s = `${n.code} (${r.status}) - ${s}: ${r.data.content.message}`, new Error(s);
1588
1588
  }
1589
- }, h = Object.assign(
1589
+ }, p = Object.assign(
1590
1590
  it,
1591
1591
  {
1592
1592
  $get: async (...e) => (await O("get", ...e)).data,
@@ -1610,22 +1610,22 @@ const ot = E, {
1610
1610
  createdAt: b(e.createdAt),
1611
1611
  updatedAt: e.updatedAt ? b(e.updatedAt) : void 0
1612
1612
  }), ct = (e) => {
1613
- h.defaults.headers.common.authorization = `Bearer ${e}`;
1613
+ p.defaults.headers.common.authorization = `Bearer ${e}`;
1614
1614
  }, ut = () => {
1615
- h.defaults.headers.common.authorization = void 0;
1615
+ p.defaults.headers.common.authorization = void 0;
1616
1616
  }, lt = () => {
1617
- const e = h.defaults.headers.common.authorization;
1617
+ const e = p.defaults.headers.common.authorization;
1618
1618
  if (!e || typeof e != "string")
1619
1619
  return !1;
1620
1620
  const [, t] = e.split("Bearer ");
1621
1621
  return !!t;
1622
1622
  }, ur = async () => {
1623
- const { content: e, ...t } = await h.$get("/me");
1623
+ const { content: e, ...t } = await p.$get("/me");
1624
1624
  return {
1625
1625
  ...t,
1626
1626
  content: cr(e)
1627
1627
  };
1628
- }, lr = () => h.$get("/me/permissions"), fr = () => h.$get("/me/namespaces"), Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1628
+ }, lr = () => p.$get("/me/permissions"), fr = () => p.$get("/me/namespaces"), ks = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1629
1629
  __proto__: null,
1630
1630
  getCurrentNamespaces: fr,
1631
1631
  getCurrentPermissions: lr,
@@ -1638,68 +1638,68 @@ const ot = E, {
1638
1638
  nextRun: e.nextRun ? b(e.nextRun) : void 0,
1639
1639
  lastRun: e.lastRun ? b(e.lastRun) : void 0
1640
1640
  }), dr = async () => {
1641
- const { content: e, ...t } = await h.$get("/crons");
1641
+ const { content: e, ...t } = await p.$get("/crons");
1642
1642
  return {
1643
1643
  ...t,
1644
1644
  content: e.map(D)
1645
1645
  };
1646
1646
  }, pr = async (e) => {
1647
- const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await h.$get(`/crons/${t}`);
1647
+ const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await p.$get(`/crons/${t}`);
1648
1648
  return {
1649
1649
  ...r,
1650
1650
  content: D(n)
1651
1651
  };
1652
1652
  }, hr = async (e) => {
1653
- const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await h.$put(`/crons/${t}/start`, {});
1653
+ const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await p.$put(`/crons/${t}/start`, {});
1654
1654
  return {
1655
1655
  ...r,
1656
1656
  content: D(n)
1657
1657
  };
1658
1658
  }, mr = async (e) => {
1659
- const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await h.$put(`/crons/${t}/stop`, {});
1659
+ const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await p.$put(`/crons/${t}/stop`, {});
1660
1660
  return {
1661
1661
  ...r,
1662
1662
  content: D(n)
1663
1663
  };
1664
1664
  }, yr = async (e) => {
1665
- const { name: t, ...n } = e, { content: r, ...s } = await h.$patch(`/crons/${t}`, n);
1665
+ const { name: t, ...n } = e, { content: r, ...s } = await p.$patch(`/crons/${t}`, n);
1666
1666
  return {
1667
1667
  ...s,
1668
1668
  content: D(r)
1669
1669
  };
1670
- }, wr = async (e) => {
1671
- const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await h.$post(`/crons/${t}/force`, {});
1670
+ }, gr = async (e) => {
1671
+ const t = typeof e == "string" ? e : e.name, { content: n, ...r } = await p.$post(`/crons/${t}/force`, {});
1672
1672
  return {
1673
1673
  ...r,
1674
1674
  content: D(n)
1675
1675
  };
1676
- }, xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1676
+ }, Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1677
1677
  __proto__: null,
1678
- forceCron: wr,
1678
+ forceCron: gr,
1679
1679
  getAllCrons: dr,
1680
1680
  getCron: pr,
1681
1681
  startCron: hr,
1682
1682
  stopCron: mr,
1683
1683
  updateCron: yr
1684
- }, Symbol.toStringTag, { value: "Module" })), ft = () => h.$get("/health"), gr = () => h.$get("/health/all"), dt = (e) => h.$get(`/health/${e}`), br = async () => {
1684
+ }, Symbol.toStringTag, { value: "Module" })), ft = () => p.$get("/health"), wr = () => p.$get("/health/all"), dt = (e) => p.$get(`/health/${e}`), br = async () => {
1685
1685
  const { content: { current: e } } = await ft();
1686
1686
  return dt(e);
1687
- }, Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1687
+ }, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1688
1688
  __proto__: null,
1689
- checkAllConnectedService: gr,
1689
+ checkAllConnectedService: wr,
1690
1690
  checkConnectedService: dt,
1691
1691
  checkCurrentService: br,
1692
1692
  getAllConnectedServices: ft
1693
1693
  }, Symbol.toStringTag, { value: "Module" }));
1694
1694
  var pt = /* @__PURE__ */ ((e) => (e.DAILY = "DAILY", e.WEEKLY = "WEEKLY", e.MONTHLY = "MONTHLY", e.QUARTERLY = "QUARTERLY", e.BIENNIAL = "BIENNIAL", e.YEARLY = "YEARLY", e))(pt || {});
1695
- const we = (e) => ({
1695
+ const ne = (e) => ({
1696
1696
  ...e,
1697
1697
  nextRun: b(e.nextRun),
1698
1698
  lastRun: e.lastRun ? b(e.lastRun) : void 0,
1699
1699
  createdAt: b(e.createdAt),
1700
1700
  updatedAt: e.updatedAt ? b(e.updatedAt) : void 0
1701
1701
  }), ht = (e) => {
1702
- const { namespace: t, ...n } = e, { namespaceId: r, ...s } = we({
1702
+ const { namespace: t, ...n } = e, { namespaceId: r, ...s } = ne({
1703
1703
  namespaceId: t.id,
1704
1704
  ...n
1705
1705
  });
@@ -1729,28 +1729,28 @@ const we = (e) => ({
1729
1729
  ...r,
1730
1730
  content: n.map(vr)
1731
1731
  };
1732
- }, $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1732
+ }, Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1733
1733
  __proto__: null,
1734
1734
  getAllEntries: Ar
1735
- }, Symbol.toStringTag, { value: "Module" })), Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1735
+ }, Symbol.toStringTag, { value: "Module" })), Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1736
1736
  __proto__: null
1737
- }, Symbol.toStringTag, { value: "Module" })), ge = (e) => ({
1737
+ }, Symbol.toStringTag, { value: "Module" })), we = (e) => ({
1738
1738
  ...e,
1739
1739
  added: b(e.added),
1740
1740
  started: e.started ? b(e.started) : void 0,
1741
1741
  ended: e.ended ? b(e.ended) : void 0
1742
- }), Sr = () => h.$get("/queues"), Rr = async (e) => {
1742
+ }), Tr = () => p.$get("/queues"), Sr = async (e) => {
1743
1743
  const t = typeof e == "string" ? e : e.name;
1744
- return h.$get(`/queues/${t}`);
1745
- }, Tr = async (e) => {
1744
+ return p.$get(`/queues/${t}`);
1745
+ }, Rr = async (e) => {
1746
1746
  const { name: t, ...n } = e;
1747
- return h.$patch(`/queues/${t}`, n);
1747
+ return p.$patch(`/queues/${t}`, n);
1748
1748
  }, _r = async (e) => {
1749
1749
  const t = typeof e == "string" ? e : e.name;
1750
- return h.$put(`/queues/${t}/pause`);
1750
+ return p.$put(`/queues/${t}/pause`);
1751
1751
  }, Or = async (e) => {
1752
1752
  const t = typeof e == "string" ? e : e.name;
1753
- return h.$put(`/queues/${t}/resume`);
1753
+ return p.$put(`/queues/${t}/resume`);
1754
1754
  }, Lr = async (e, t) => {
1755
1755
  const n = typeof e == "string" ? e : e.name, { data: { content: r, ...s } } = await O(
1756
1756
  "get",
@@ -1761,63 +1761,63 @@ const we = (e) => ({
1761
1761
  );
1762
1762
  return {
1763
1763
  ...s,
1764
- content: r.map(ge)
1764
+ content: r.map(we)
1765
1765
  };
1766
- }, z = async (e, t, n) => {
1767
- const r = typeof e == "string" ? e : e.name, s = typeof t == "string" || typeof t == "number" ? t : t.id, { content: o, ...i } = await h.$get(`/queues/${r}/jobs/${s}`, { params: { namespaces: n } });
1766
+ }, H = async (e, t, n) => {
1767
+ const r = typeof e == "string" ? e : e.name, s = typeof t == "string" || typeof t == "number" ? t : t.id, { content: o, ...i } = await p.$get(`/queues/${r}/jobs/${s}`, { params: { namespaces: n } });
1768
1768
  return {
1769
1769
  ...i,
1770
- content: ge(o)
1770
+ content: we(o)
1771
1771
  };
1772
1772
  }, Nr = async (e, t, n) => {
1773
- const r = typeof e == "string" ? e : e.name, s = typeof t == "string" || typeof t == "number" ? t : t.id, { content: o, ...i } = await h.$post(`/queues/${r}/jobs/${s}/retry`, { params: { namespaces: n } });
1773
+ const r = typeof e == "string" ? e : e.name, s = typeof t == "string" || typeof t == "number" ? t : t.id, { content: o, ...i } = await p.$post(`/queues/${r}/jobs/${s}/retry`, { params: { namespaces: n } });
1774
1774
  return {
1775
1775
  ...i,
1776
- content: ge(o)
1776
+ content: we(o)
1777
1777
  };
1778
- }, Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1778
+ }, Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1779
1779
  __proto__: null,
1780
- getAllQueues: Sr,
1781
- getJob: z,
1782
- getQueue: Rr,
1780
+ getAllQueues: Tr,
1781
+ getJob: H,
1782
+ getQueue: Sr,
1783
1783
  getQueueJobs: Lr,
1784
1784
  pauseQueue: _r,
1785
1785
  resumeQueue: Or,
1786
1786
  retryJob: Nr,
1787
- updateQueue: Tr
1787
+ updateQueue: Rr
1788
1788
  }, Symbol.toStringTag, { value: "Module" }));
1789
- function Cr(e) {
1789
+ function xr(e) {
1790
1790
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1791
1791
  }
1792
- var be = { exports: {} }, x = typeof Reflect == "object" ? Reflect : null, $e = x && typeof x.apply == "function" ? x.apply : function(t, n, r) {
1792
+ var be = { exports: {} }, C = typeof Reflect == "object" ? Reflect : null, Pe = C && typeof C.apply == "function" ? C.apply : function(t, n, r) {
1793
1793
  return Function.prototype.apply.call(t, n, r);
1794
1794
  }, Y;
1795
- x && typeof x.ownKeys == "function" ? Y = x.ownKeys : Object.getOwnPropertySymbols ? Y = function(t) {
1795
+ C && typeof C.ownKeys == "function" ? Y = C.ownKeys : Object.getOwnPropertySymbols ? Y = function(t) {
1796
1796
  return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t));
1797
1797
  } : Y = function(t) {
1798
1798
  return Object.getOwnPropertyNames(t);
1799
1799
  };
1800
- function xr(e) {
1800
+ function Cr(e) {
1801
1801
  console && console.warn && console.warn(e);
1802
1802
  }
1803
1803
  var mt = Number.isNaN || function(t) {
1804
1804
  return t !== t;
1805
1805
  };
1806
- function w() {
1807
- w.init.call(this);
1808
- }
1809
- be.exports = w;
1810
- be.exports.once = Fr;
1811
- w.EventEmitter = w;
1812
- w.prototype._events = void 0;
1813
- w.prototype._eventsCount = 0;
1814
- w.prototype._maxListeners = void 0;
1806
+ function g() {
1807
+ g.init.call(this);
1808
+ }
1809
+ be.exports = g;
1810
+ be.exports.once = kr;
1811
+ g.EventEmitter = g;
1812
+ g.prototype._events = void 0;
1813
+ g.prototype._eventsCount = 0;
1814
+ g.prototype._maxListeners = void 0;
1815
1815
  var De = 10;
1816
- function ne(e) {
1816
+ function re(e) {
1817
1817
  if (typeof e != "function")
1818
1818
  throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
1819
1819
  }
1820
- Object.defineProperty(w, "defaultMaxListeners", {
1820
+ Object.defineProperty(g, "defaultMaxListeners", {
1821
1821
  enumerable: !0,
1822
1822
  get: function() {
1823
1823
  return De;
@@ -1828,21 +1828,21 @@ Object.defineProperty(w, "defaultMaxListeners", {
1828
1828
  De = e;
1829
1829
  }
1830
1830
  });
1831
- w.init = function() {
1831
+ g.init = function() {
1832
1832
  (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
1833
1833
  };
1834
- w.prototype.setMaxListeners = function(t) {
1834
+ g.prototype.setMaxListeners = function(t) {
1835
1835
  if (typeof t != "number" || t < 0 || mt(t))
1836
1836
  throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + t + ".");
1837
1837
  return this._maxListeners = t, this;
1838
1838
  };
1839
1839
  function yt(e) {
1840
- return e._maxListeners === void 0 ? w.defaultMaxListeners : e._maxListeners;
1840
+ return e._maxListeners === void 0 ? g.defaultMaxListeners : e._maxListeners;
1841
1841
  }
1842
- w.prototype.getMaxListeners = function() {
1842
+ g.prototype.getMaxListeners = function() {
1843
1843
  return yt(this);
1844
1844
  };
1845
- w.prototype.emit = function(t) {
1845
+ g.prototype.emit = function(t) {
1846
1846
  for (var n = [], r = 1; r < arguments.length; r++)
1847
1847
  n.push(arguments[r]);
1848
1848
  var s = t === "error", o = this._events;
@@ -1861,15 +1861,15 @@ w.prototype.emit = function(t) {
1861
1861
  if (f === void 0)
1862
1862
  return !1;
1863
1863
  if (typeof f == "function")
1864
- $e(f, this, n);
1864
+ Pe(f, this, n);
1865
1865
  else
1866
1866
  for (var u = f.length, l = vt(f, u), r = 0; r < u; ++r)
1867
- $e(l[r], this, n);
1867
+ Pe(l[r], this, n);
1868
1868
  return !0;
1869
1869
  };
1870
- function wt(e, t, n, r) {
1870
+ function gt(e, t, n, r) {
1871
1871
  var s, o, i;
1872
- if (ne(n), o = e._events, o === void 0 ? (o = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (o.newListener !== void 0 && (e.emit(
1872
+ if (re(n), o = e._events, o === void 0 ? (o = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (o.newListener !== void 0 && (e.emit(
1873
1873
  "newListener",
1874
1874
  t,
1875
1875
  n.listener ? n.listener : n
@@ -1878,34 +1878,34 @@ function wt(e, t, n, r) {
1878
1878
  else if (typeof i == "function" ? i = o[t] = r ? [n, i] : [i, n] : r ? i.unshift(n) : i.push(n), s = yt(e), s > 0 && i.length > s && !i.warned) {
1879
1879
  i.warned = !0;
1880
1880
  var c = new Error("Possible EventEmitter memory leak detected. " + i.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
1881
- c.name = "MaxListenersExceededWarning", c.emitter = e, c.type = t, c.count = i.length, xr(c);
1881
+ c.name = "MaxListenersExceededWarning", c.emitter = e, c.type = t, c.count = i.length, Cr(c);
1882
1882
  }
1883
1883
  return e;
1884
1884
  }
1885
- w.prototype.addListener = function(t, n) {
1886
- return wt(this, t, n, !1);
1885
+ g.prototype.addListener = function(t, n) {
1886
+ return gt(this, t, n, !1);
1887
1887
  };
1888
- w.prototype.on = w.prototype.addListener;
1889
- w.prototype.prependListener = function(t, n) {
1890
- return wt(this, t, n, !0);
1888
+ g.prototype.on = g.prototype.addListener;
1889
+ g.prototype.prependListener = function(t, n) {
1890
+ return gt(this, t, n, !0);
1891
1891
  };
1892
- function Pr() {
1892
+ function $r() {
1893
1893
  if (!this.fired)
1894
1894
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
1895
1895
  }
1896
- function gt(e, t, n) {
1897
- var r = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, s = Pr.bind(r);
1896
+ function wt(e, t, n) {
1897
+ var r = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, s = $r.bind(r);
1898
1898
  return s.listener = n, r.wrapFn = s, s;
1899
1899
  }
1900
- w.prototype.once = function(t, n) {
1901
- return ne(n), this.on(t, gt(this, t, n)), this;
1900
+ g.prototype.once = function(t, n) {
1901
+ return re(n), this.on(t, wt(this, t, n)), this;
1902
1902
  };
1903
- w.prototype.prependOnceListener = function(t, n) {
1904
- return ne(n), this.prependListener(t, gt(this, t, n)), this;
1903
+ g.prototype.prependOnceListener = function(t, n) {
1904
+ return re(n), this.prependListener(t, wt(this, t, n)), this;
1905
1905
  };
1906
- w.prototype.removeListener = function(t, n) {
1906
+ g.prototype.removeListener = function(t, n) {
1907
1907
  var r, s, o, i, c;
1908
- if (ne(n), s = this._events, s === void 0)
1908
+ if (re(n), s = this._events, s === void 0)
1909
1909
  return this;
1910
1910
  if (r = s[t], r === void 0)
1911
1911
  return this;
@@ -1919,12 +1919,12 @@ w.prototype.removeListener = function(t, n) {
1919
1919
  }
1920
1920
  if (o < 0)
1921
1921
  return this;
1922
- o === 0 ? r.shift() : $r(r, o), r.length === 1 && (s[t] = r[0]), s.removeListener !== void 0 && this.emit("removeListener", t, c || n);
1922
+ o === 0 ? r.shift() : Pr(r, o), r.length === 1 && (s[t] = r[0]), s.removeListener !== void 0 && this.emit("removeListener", t, c || n);
1923
1923
  }
1924
1924
  return this;
1925
1925
  };
1926
- w.prototype.off = w.prototype.removeListener;
1927
- w.prototype.removeAllListeners = function(t) {
1926
+ g.prototype.off = g.prototype.removeListener;
1927
+ g.prototype.removeAllListeners = function(t) {
1928
1928
  var n, r, s;
1929
1929
  if (r = this._events, r === void 0)
1930
1930
  return this;
@@ -1950,16 +1950,16 @@ function bt(e, t, n) {
1950
1950
  var s = r[t];
1951
1951
  return s === void 0 ? [] : typeof s == "function" ? n ? [s.listener || s] : [s] : n ? Dr(s) : vt(s, s.length);
1952
1952
  }
1953
- w.prototype.listeners = function(t) {
1953
+ g.prototype.listeners = function(t) {
1954
1954
  return bt(this, t, !0);
1955
1955
  };
1956
- w.prototype.rawListeners = function(t) {
1956
+ g.prototype.rawListeners = function(t) {
1957
1957
  return bt(this, t, !1);
1958
1958
  };
1959
- w.listenerCount = function(e, t) {
1959
+ g.listenerCount = function(e, t) {
1960
1960
  return typeof e.listenerCount == "function" ? e.listenerCount(t) : Et.call(e, t);
1961
1961
  };
1962
- w.prototype.listenerCount = Et;
1962
+ g.prototype.listenerCount = Et;
1963
1963
  function Et(e) {
1964
1964
  var t = this._events;
1965
1965
  if (t !== void 0) {
@@ -1971,7 +1971,7 @@ function Et(e) {
1971
1971
  }
1972
1972
  return 0;
1973
1973
  }
1974
- w.prototype.eventNames = function() {
1974
+ g.prototype.eventNames = function() {
1975
1975
  return this._eventsCount > 0 ? Y(this._events) : [];
1976
1976
  };
1977
1977
  function vt(e, t) {
@@ -1979,7 +1979,7 @@ function vt(e, t) {
1979
1979
  n[r] = e[r];
1980
1980
  return n;
1981
1981
  }
1982
- function $r(e, t) {
1982
+ function Pr(e, t) {
1983
1983
  for (; t + 1 < e.length; t++)
1984
1984
  e[t] = e[t + 1];
1985
1985
  e.pop();
@@ -1989,7 +1989,7 @@ function Dr(e) {
1989
1989
  t[n] = e[n].listener || e[n];
1990
1990
  return t;
1991
1991
  }
1992
- function Fr(e, t) {
1992
+ function kr(e, t) {
1993
1993
  return new Promise(function(n, r) {
1994
1994
  function s(i) {
1995
1995
  e.removeListener(t, o), r(i);
@@ -1997,10 +1997,10 @@ function Fr(e, t) {
1997
1997
  function o() {
1998
1998
  typeof e.removeListener == "function" && e.removeListener("error", s), n([].slice.call(arguments));
1999
1999
  }
2000
- At(e, t, o, { once: !0 }), t !== "error" && kr(e, s, { once: !0 });
2000
+ At(e, t, o, { once: !0 }), t !== "error" && Fr(e, s, { once: !0 });
2001
2001
  });
2002
2002
  }
2003
- function kr(e, t, n) {
2003
+ function Fr(e, t, n) {
2004
2004
  typeof e.on == "function" && At(e, "error", t, n);
2005
2005
  }
2006
2006
  function At(e, t, n, r) {
@@ -2013,8 +2013,8 @@ function At(e, t, n, r) {
2013
2013
  else
2014
2014
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
2015
2015
  }
2016
- var Ur = be.exports;
2017
- const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2016
+ var jr = be.exports;
2017
+ const Ur = /* @__PURE__ */ xr(jr), Br = (e, t = new Ur()) => {
2018
2018
  const n = {
2019
2019
  emit: (o, ...i) => (t.emit(o.toString(), ...i), n)
2020
2020
  }, r = e(n), s = Object.assign(
@@ -2030,22 +2030,22 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2030
2030
  (t) => {
2031
2031
  setTimeout(t, e);
2032
2032
  }
2033
- ), Hr = (e) => ({
2033
+ ), zr = (e) => ({
2034
2034
  start: b(e.start),
2035
2035
  end: b(e.end)
2036
- }), zr = (e) => ({
2036
+ }), Hr = (e) => ({
2037
2037
  ...e,
2038
2038
  createdAt: b(e.createdAt),
2039
2039
  destroyAt: b(e.destroyAt),
2040
- period: e.period ? Hr(e.period) : void 0
2040
+ period: e.period ? zr(e.period) : void 0
2041
2041
  }), Ee = (e) => ({
2042
2042
  ...e,
2043
- detail: zr(e.detail)
2044
- }), St = (e, t, n) => {
2043
+ detail: Hr(e.detail)
2044
+ }), Tt = (e, t, n) => {
2045
2045
  var s, o;
2046
2046
  const r = typeof e == "string" ? e : e.id;
2047
- return h.$post(
2048
- `/tasks/${r}/run`,
2047
+ return p.$post(
2048
+ `/tasks/${r}/_run`,
2049
2049
  null,
2050
2050
  {
2051
2051
  params: {
@@ -2058,7 +2058,7 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2058
2058
  );
2059
2059
  }, Ir = (...e) => Br(
2060
2060
  async (t) => {
2061
- const { content: { id: n, queue: r } } = await St(...e);
2061
+ const { content: { id: n, queue: r } } = await Tt(...e);
2062
2062
  t.emit("started", { id: n, queue: r });
2063
2063
  let s;
2064
2064
  do {
@@ -2070,7 +2070,7 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2070
2070
  }
2071
2071
  // FIXME: What if param order changes ?
2072
2072
  // eslint-disable-next-line no-await-in-loop
2073
- } = await z(r, n, e[2]);
2073
+ } = await H(r, n, e[2]);
2074
2074
  s = { progress: o, status: i, result: c }, t.emit("progress", { progress: o, status: i });
2075
2075
  let f = 1e3;
2076
2076
  s.status === "active" && (f = 250), await Mr(f);
@@ -2079,48 +2079,48 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2079
2079
  throw new Error("Generation failed with weird error");
2080
2080
  return Ee(s.result);
2081
2081
  }
2082
- ), F = async (e, t, n) => (await O(
2082
+ ), k = async (e, t, n) => (await O(
2083
2083
  "get",
2084
2084
  `/reports/${e}`,
2085
2085
  {
2086
2086
  responseType: n,
2087
2087
  params: { namespaces: t }
2088
2088
  }
2089
- )).data, qr = (e, t, n, r = "pdf") => F(`${e}.rep.${r}`, t, n), Jr = async (e, t, n, r) => {
2089
+ )).data, qr = (e, t, n, r = "pdf") => k(`${e}.rep.${r}`, t, n), Jr = async (e, t, n, r) => {
2090
2090
  var o;
2091
- const { content: { result: s } } = await z(
2091
+ const { content: { result: s } } = await H(
2092
2092
  e,
2093
2093
  t,
2094
2094
  n
2095
2095
  );
2096
2096
  if (!s)
2097
2097
  throw new Error("Job have no result");
2098
- return F(((o = s.detail) == null ? void 0 : o.files.report) ?? "", n, r);
2098
+ return k(((o = s.detail) == null ? void 0 : o.files.report) ?? "", n, r);
2099
2099
  }, Wr = async (e, t, n) => {
2100
- const r = await F(`${e}.det.json`, t, n);
2100
+ const r = await k(`${e}.det.json`, t, n);
2101
2101
  return !n || n === "json" ? Ee(r) : r;
2102
2102
  }, Kr = async (e, t, n, r) => {
2103
2103
  var i;
2104
- const { content: { result: s } } = await z(
2104
+ const { content: { result: s } } = await H(
2105
2105
  e,
2106
2106
  t,
2107
2107
  n
2108
2108
  );
2109
2109
  if (!s)
2110
2110
  throw new Error("Job have no result");
2111
- const o = await F(((i = s.detail) == null ? void 0 : i.files.detail) ?? "", n, r);
2111
+ const o = await k(((i = s.detail) == null ? void 0 : i.files.detail) ?? "", n, r);
2112
2112
  return !r || r === "json" ? Ee(o) : o;
2113
- }, Vr = (e, t, n) => F(`${e}.deb.json`, t, n), Yr = async (e, t, n, r) => {
2113
+ }, Vr = (e, t, n) => k(`${e}.deb.json`, t, n), Yr = async (e, t, n, r) => {
2114
2114
  var o;
2115
- const { content: { result: s } } = await z(
2115
+ const { content: { result: s } } = await H(
2116
2116
  e,
2117
2117
  t,
2118
2118
  n
2119
2119
  );
2120
2120
  if (!s)
2121
2121
  throw new Error("Job have no result");
2122
- return F(((o = s.detail) == null ? void 0 : o.files.debug) ?? "", n, r);
2123
- }, ks = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2122
+ return k(((o = s.detail) == null ? void 0 : o.files.debug) ?? "", n, r);
2123
+ }, zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2124
2124
  __proto__: null,
2125
2125
  getReportDebugByJob: Yr,
2126
2126
  getReportDebugByName: Vr,
@@ -2129,12 +2129,12 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2129
2129
  getReportFileByJob: Jr,
2130
2130
  getReportFileByName: qr,
2131
2131
  startAndListenGeneration: Ir,
2132
- startGeneration: St
2132
+ startGeneration: Tt
2133
2133
  }, Symbol.toStringTag, { value: "Module" })), Gr = (e) => {
2134
- h.defaults.baseURL = e;
2134
+ p.defaults.baseURL = e;
2135
2135
  }, Qr = () => {
2136
- h.defaults.baseURL = void 0;
2137
- }, Zr = () => !!h.defaults.baseURL, Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2136
+ p.defaults.baseURL = void 0;
2137
+ }, Zr = () => !!p.defaults.baseURL, Hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2138
2138
  __proto__: null,
2139
2139
  isLogged: lt,
2140
2140
  isURLset: Zr,
@@ -2150,23 +2150,23 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2150
2150
  const { body: t, tasks: n, ...r } = e;
2151
2151
  return {
2152
2152
  ...ve(r),
2153
- tasks: n.map(we),
2153
+ tasks: n.map(ne),
2154
2154
  body: t
2155
2155
  };
2156
2156
  }, Xr = async () => {
2157
- const { content: e, ...t } = await h.$get("/templates");
2157
+ const { content: e, ...t } = await p.$get("/templates");
2158
2158
  return {
2159
2159
  ...t,
2160
2160
  content: e.map(ve)
2161
2161
  };
2162
2162
  }, es = async (e) => {
2163
- const t = typeof e == "string" ? e : e.id, { content: n, ...r } = await h.$get(`/templates/${t}`);
2163
+ const t = typeof e == "string" ? e : e.id, { content: n, ...r } = await p.$get(`/templates/${t}`);
2164
2164
  return {
2165
2165
  ...r,
2166
2166
  content: Ae(n)
2167
2167
  };
2168
2168
  }, ts = async (e) => {
2169
- const { content: t, ...n } = await h.$post(
2169
+ const { content: t, ...n } = await p.$post(
2170
2170
  "/templates",
2171
2171
  e
2172
2172
  );
@@ -2174,8 +2174,8 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2174
2174
  ...n,
2175
2175
  content: Ae(t)
2176
2176
  };
2177
- }, Rt = async (e) => {
2178
- const { id: t, ...n } = e, { content: r, ...s } = await h.$put(
2177
+ }, St = async (e) => {
2178
+ const { id: t, ...n } = e, { content: r, ...s } = await p.$put(
2179
2179
  `/templates/${t}`,
2180
2180
  n
2181
2181
  );
@@ -2183,10 +2183,10 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2183
2183
  ...s,
2184
2184
  content: Ae(r)
2185
2185
  };
2186
- }, ns = Rt, rs = async (e) => {
2186
+ }, ns = St, rs = async (e) => {
2187
2187
  const t = typeof e == "string" ? e : e.id;
2188
- await h.$delete(`/templates/${t}`);
2189
- }, k = (e) => {
2188
+ await p.$delete(`/templates/${t}`);
2189
+ }, F = (e) => {
2190
2190
  const {
2191
2191
  activity: t,
2192
2192
  template: n,
@@ -2216,108 +2216,134 @@ const jr = /* @__PURE__ */ Cr(Ur), Br = (e, t = new jr()) => {
2216
2216
  ...r,
2217
2217
  content: n.map(({ tags: s, ...o }) => ({
2218
2218
  tags: s,
2219
- ...we(o)
2219
+ ...ne(o)
2220
+ }))
2221
+ };
2222
+ }, os = (e) => p.$get(
2223
+ "/tasks/_targets",
2224
+ { params: { namespaces: e } }
2225
+ ), is = async (e, t) => {
2226
+ const { content: n, ...r } = await p.$get(
2227
+ `/tasks/_targets/${e}/tasks`,
2228
+ { params: { namespaces: t } }
2229
+ );
2230
+ return {
2231
+ ...r,
2232
+ content: n.map(({ tags: s, ...o }) => ({
2233
+ tags: s,
2234
+ ...ne(o)
2220
2235
  }))
2221
2236
  };
2222
- }, os = async (e, t) => {
2223
- const { content: n, ...r } = await h.$post(
2237
+ }, as = async (e, t, n) => {
2238
+ const r = typeof t == "string" ? t : t.id;
2239
+ await p.$delete(`/tasks/_targets/${e}/tasks/${r}`, { params: { namespaces: n } });
2240
+ }, cs = async (e, t) => {
2241
+ const { content: n, ...r } = await p.$post(
2224
2242
  "/tasks",
2225
2243
  e,
2226
2244
  { params: { namespaces: t } }
2227
2245
  );
2228
2246
  return {
2229
2247
  ...r,
2230
- content: k(n)
2248
+ content: F(n)
2231
2249
  };
2232
- }, is = async (e, t) => {
2233
- const n = typeof e == "string" ? e : e.id, { content: r, ...s } = await h.$get(`/tasks/${n}`, { params: { namespaces: t } });
2250
+ }, us = async (e, t) => {
2251
+ const n = typeof e == "string" ? e : e.id, { content: r, ...s } = await p.$get(`/tasks/${n}`, { params: { namespaces: t } });
2234
2252
  return {
2235
2253
  ...s,
2236
- content: k(r)
2254
+ content: F(r)
2237
2255
  };
2238
- }, Tt = async (e, t) => {
2239
- const { id: n, ...r } = e, { content: s, ...o } = await h.$put(
2256
+ }, Rt = async (e, t) => {
2257
+ const { id: n, ...r } = e, { content: s, ...o } = await p.$put(
2240
2258
  `/tasks/${n}`,
2241
2259
  r,
2242
2260
  { params: { namespaces: t } }
2243
2261
  );
2244
2262
  return {
2245
2263
  ...o,
2246
- content: k(s)
2264
+ content: F(s)
2247
2265
  };
2248
- }, as = Tt, cs = async (e, t) => {
2266
+ }, ls = Rt, fs = async (e, t) => {
2249
2267
  const n = typeof e == "string" ? e : e.id;
2250
- await h.$delete(`/tasks/${n}`, { params: { namespaces: t } });
2251
- }, us = async (e, t) => {
2252
- const n = typeof e == "string" ? e : e.id, { content: r, ...s } = await h.$put(
2253
- `/tasks/${n}/enable`,
2268
+ await p.$delete(`/tasks/${n}`, { params: { namespaces: t } });
2269
+ }, ds = async (e, t) => {
2270
+ const n = typeof e == "string" ? e : e.id, { content: r, ...s } = await p.$put(
2271
+ `/tasks/${n}/_enable`,
2254
2272
  void 0,
2255
2273
  { params: { namespaces: t } }
2256
2274
  );
2257
2275
  return {
2258
2276
  ...s,
2259
- content: k(r)
2277
+ content: F(r)
2260
2278
  };
2261
- }, ls = async (e, t) => {
2262
- const n = typeof e == "string" ? e : e.id, { content: r, ...s } = await h.$put(
2263
- `/tasks/${n}/disable`,
2279
+ }, ps = async (e, t) => {
2280
+ const n = typeof e == "string" ? e : e.id, { content: r, ...s } = await p.$put(
2281
+ `/tasks/${n}/_disable`,
2264
2282
  void 0,
2265
2283
  { params: { namespaces: t } }
2266
2284
  );
2267
2285
  return {
2268
2286
  ...s,
2269
- content: k(r)
2287
+ content: F(r)
2270
2288
  };
2271
- }, fs = async (e, t, n) => {
2272
- const r = typeof e == "string" ? e : e.id, s = typeof t == "string" ? t : t.id, { content: o, ...i } = await h.$put(
2273
- `/tasks/${r}/link/${s}`,
2289
+ }, hs = async (e, t, n) => {
2290
+ const r = typeof e == "string" ? e : e.id, s = typeof t == "string" ? t : t.id, { content: o, ...i } = await p.$put(
2291
+ `/tasks/${r}/_link/${s}`,
2274
2292
  void 0,
2275
2293
  { params: { namespaces: n } }
2276
2294
  );
2277
2295
  return {
2278
2296
  ...i,
2279
- content: k(o)
2297
+ content: F(o)
2280
2298
  };
2281
- }, ds = async (e, t, n) => {
2299
+ }, ms = async (e, t, n) => {
2282
2300
  const r = typeof e == "string" ? e : e.id, s = typeof t == "string" ? t : t.id;
2283
- await h.$delete(
2284
- `/tasks/${r}/link/${s}`,
2301
+ await p.$delete(
2302
+ `/tasks/${r}/_link/${s}`,
2285
2303
  { params: { namespaces: n } }
2286
2304
  );
2287
- }, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2305
+ }, Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2288
2306
  __proto__: null,
2289
2307
  Recurrence: pt,
2290
- createTask: os,
2291
- deleteTask: cs,
2292
- disableTask: ls,
2293
- enableTask: us,
2308
+ createTask: cs,
2309
+ deleteTask: fs,
2310
+ disableTask: ps,
2311
+ enableTask: ds,
2312
+ getAllTargets: os,
2294
2313
  getAllTasks: ss,
2295
- getTask: is,
2296
- linkTaskToTemplate: fs,
2297
- unlinkTaskToTemplate: ds,
2298
- updateTask: as,
2299
- upsertTask: Tt
2300
- }, Symbol.toStringTag, { value: "Module" })), Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2314
+ getTask: us,
2315
+ getTasksOfTarget: is,
2316
+ linkTaskToTemplate: hs,
2317
+ unlinkTaskToTemplate: ms,
2318
+ unsubTargetOfTask: as,
2319
+ updateTask: ls,
2320
+ upsertTask: Rt
2321
+ }, Symbol.toStringTag, { value: "Module" })), qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2301
2322
  __proto__: null,
2302
2323
  createTemplate: ts,
2303
2324
  deleteTemplate: rs,
2304
2325
  getAllTemplates: Xr,
2305
2326
  getTemplate: es,
2306
2327
  updateTemplate: ns,
2307
- upsertTemplate: Rt
2308
- }, Symbol.toStringTag, { value: "Module" })), Ms = "1.0.0-beta.7";
2328
+ upsertTemplate: St
2329
+ }, Symbol.toStringTag, { value: "Module" })), ys = (e) => p.$get("/elastic/indices", { params: { namespace: e } }), gs = (e, t) => p.$get(`/elastic/indices/${e}`, { params: { namespace: t } }), Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2330
+ __proto__: null,
2331
+ getAllIndices: ys,
2332
+ getIndexMapping: gs
2333
+ }, Symbol.toStringTag, { value: "Module" })), Ws = "1.0.0-beta.9";
2309
2334
  export {
2310
- Cs as auth,
2311
- xs as crons,
2312
- Ps as health,
2313
- $s as history,
2314
- Ds as namespaces,
2315
- Fs as queues,
2316
- ks as reports,
2317
- Us as setup,
2318
- js as tasks,
2319
- $s as tasksActivity,
2320
- Bs as templates,
2321
- Ms as version
2335
+ ks as auth,
2336
+ Fs as crons,
2337
+ Js as elastic,
2338
+ js as health,
2339
+ Us as history,
2340
+ Bs as namespaces,
2341
+ Ms as queues,
2342
+ zs as reports,
2343
+ Hs as setup,
2344
+ Is as tasks,
2345
+ Us as tasksActivity,
2346
+ qs as templates,
2347
+ Ws as version
2322
2348
  };
2323
2349
  //# sourceMappingURL=ezreeport-sdk-js.mjs.map