@opengis/bi 1.2.4 → 1.2.5

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.
@@ -12,7 +12,7 @@ function Te(e) {
12
12
  const [t, r, s] = e.split("T")[0].split("-");
13
13
  return `${s}.${r}.${t}`;
14
14
  }
15
- function Uo(e) {
15
+ function Bi(e) {
16
16
  return Intl.NumberFormat("en").format(e);
17
17
  }
18
18
  function et(e, t) {
@@ -32,7 +32,7 @@ function At(e) {
32
32
  let t;
33
33
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && rt(e.buffer), t;
34
34
  }
35
- const Ft = he("string"), N = he("function"), st = he("number"), te = (e) => e !== null && typeof e == "object", Lt = (e) => e === !0 || e === !1, oe = (e) => {
35
+ const Ft = he("string"), N = he("function"), st = he("number"), te = (e) => e !== null && typeof e == "object", Lt = (e) => e === !0 || e === !1, ie = (e) => {
36
36
  if (fe(e) !== "object")
37
37
  return !1;
38
38
  const t = $e(e);
@@ -60,10 +60,10 @@ function re(e, t, { allOwnKeys: r = !1 } = {}) {
60
60
  else {
61
61
  if (ee(e))
62
62
  return;
63
- const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
63
+ const i = r ? Object.getOwnPropertyNames(e) : Object.keys(e), o = i.length;
64
64
  let a;
65
- for (s = 0; s < i; s++)
66
- a = o[s], t.call(null, e[a], a, e);
65
+ for (s = 0; s < o; s++)
66
+ a = i[s], t.call(null, e[a], a, e);
67
67
  }
68
68
  }
69
69
  function nt(e, t) {
@@ -77,29 +77,29 @@ function nt(e, t) {
77
77
  return n;
78
78
  return null;
79
79
  }
80
- const H = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ot = (e) => !Z(e) && e !== H;
80
+ const H = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, it = (e) => !Z(e) && e !== H;
81
81
  function De() {
82
- const { caseless: e } = ot(this) && this || {}, t = {}, r = (s, n) => {
83
- const o = e && nt(t, n) || n;
84
- oe(t[o]) && oe(s) ? t[o] = De(t[o], s) : oe(s) ? t[o] = De({}, s) : X(s) ? t[o] = s.slice() : t[o] = s;
82
+ const { caseless: e } = it(this) && this || {}, t = {}, r = (s, n) => {
83
+ const i = e && nt(t, n) || n;
84
+ ie(t[i]) && ie(s) ? t[i] = De(t[i], s) : ie(s) ? t[i] = De({}, s) : X(s) ? t[i] = s.slice() : t[i] = s;
85
85
  };
86
86
  for (let s = 0, n = arguments.length; s < n; s++)
87
87
  arguments[s] && re(arguments[s], r);
88
88
  return t;
89
89
  }
90
- const Xt = (e, t, r, { allOwnKeys: s } = {}) => (re(t, (n, o) => {
91
- r && N(n) ? e[o] = et(n, r) : e[o] = n;
90
+ const Xt = (e, t, r, { allOwnKeys: s } = {}) => (re(t, (n, i) => {
91
+ r && N(n) ? e[i] = et(n, r) : e[i] = n;
92
92
  }, { allOwnKeys: s }), e), Gt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Qt = (e, t, r, s) => {
93
93
  e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
94
94
  value: t.prototype
95
95
  }), r && Object.assign(e.prototype, r);
96
96
  }, Zt = (e, t, r, s) => {
97
- let n, o, i;
97
+ let n, i, o;
98
98
  const a = {};
99
99
  if (t = t || {}, e == null) return t;
100
100
  do {
101
- for (n = Object.getOwnPropertyNames(e), o = n.length; o-- > 0; )
102
- i = n[o], (!s || s(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
101
+ for (n = Object.getOwnPropertyNames(e), i = n.length; i-- > 0; )
102
+ o = n[i], (!s || s(o, e, t)) && !a[o] && (t[o] = e[o], a[o] = !0);
103
103
  e = r !== !1 && $e(e);
104
104
  } while (e && (!r || r(e, t)) && e !== Object.prototype);
105
105
  return t;
@@ -120,8 +120,8 @@ const Xt = (e, t, r, { allOwnKeys: s } = {}) => (re(t, (n, o) => {
120
120
  const s = (e && e[de]).call(e);
121
121
  let n;
122
122
  for (; (n = s.next()) && !n.done; ) {
123
- const o = n.value;
124
- t.call(e, o[0], o[1]);
123
+ const i = n.value;
124
+ t.call(e, i[0], i[1]);
125
125
  }
126
126
  }, sr = (e, t) => {
127
127
  let r;
@@ -129,19 +129,19 @@ const Xt = (e, t, r, { allOwnKeys: s } = {}) => (re(t, (n, o) => {
129
129
  for (; (r = e.exec(t)) !== null; )
130
130
  s.push(r);
131
131
  return s;
132
- }, nr = B("HTMLFormElement"), or = (e) => e.toLowerCase().replace(
132
+ }, nr = B("HTMLFormElement"), ir = (e) => e.toLowerCase().replace(
133
133
  /[-_\s]([a-z\d])(\w*)/g,
134
134
  function(r, s, n) {
135
135
  return s.toUpperCase() + n;
136
136
  }
137
- ), Be = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ir = B("RegExp"), it = (e, t) => {
137
+ ), Be = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), or = B("RegExp"), ot = (e, t) => {
138
138
  const r = Object.getOwnPropertyDescriptors(e), s = {};
139
- re(r, (n, o) => {
140
- let i;
141
- (i = t(n, o, e)) !== !1 && (s[o] = i || n);
139
+ re(r, (n, i) => {
140
+ let o;
141
+ (o = t(n, i, e)) !== !1 && (s[i] = o || n);
142
142
  }), Object.defineProperties(e, s);
143
143
  }, ar = (e) => {
144
- it(e, (t, r) => {
144
+ ot(e, (t, r) => {
145
145
  if (N(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
146
146
  return !1;
147
147
  const s = e[r];
@@ -157,8 +157,8 @@ const Xt = (e, t, r, { allOwnKeys: s } = {}) => (re(t, (n, o) => {
157
157
  });
158
158
  }, lr = (e, t) => {
159
159
  const r = {}, s = (n) => {
160
- n.forEach((o) => {
161
- r[o] = !0;
160
+ n.forEach((i) => {
161
+ r[i] = !0;
162
162
  });
163
163
  };
164
164
  return X(e) ? s(e) : s(String(e).split(t)), r;
@@ -176,18 +176,18 @@ const fr = (e) => {
176
176
  return s;
177
177
  if (!("toJSON" in s)) {
178
178
  t[n] = s;
179
- const o = X(s) ? [] : {};
180
- return re(s, (i, a) => {
181
- const f = r(i, n + 1);
182
- !Z(f) && (o[a] = f);
183
- }), t[n] = void 0, o;
179
+ const i = X(s) ? [] : {};
180
+ return re(s, (o, a) => {
181
+ const f = r(o, n + 1);
182
+ !Z(f) && (i[a] = f);
183
+ }), t[n] = void 0, i;
184
184
  }
185
185
  }
186
186
  return s;
187
187
  };
188
188
  return r(e, 0);
189
- }, hr = B("AsyncFunction"), pr = (e) => e && (te(e) || N(e)) && N(e.then) && N(e.catch), at = ((e, t) => e ? setImmediate : t ? ((r, s) => (H.addEventListener("message", ({ source: n, data: o }) => {
190
- n === H && o === r && s.length && s.shift()();
189
+ }, hr = B("AsyncFunction"), pr = (e) => e && (te(e) || N(e)) && N(e.then) && N(e.catch), at = ((e, t) => e ? setImmediate : t ? ((r, s) => (H.addEventListener("message", ({ source: n, data: i }) => {
190
+ n === H && i === r && s.length && s.shift()();
191
191
  }, !1), (n) => {
192
192
  s.push(n), H.postMessage(r, "*");
193
193
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
@@ -203,7 +203,7 @@ const fr = (e) => {
203
203
  isNumber: st,
204
204
  isBoolean: Lt,
205
205
  isObject: te,
206
- isPlainObject: oe,
206
+ isPlainObject: ie,
207
207
  isEmptyObject: Pt,
208
208
  isReadableStream: qt,
209
209
  isRequest: Ht,
@@ -213,7 +213,7 @@ const fr = (e) => {
213
213
  isDate: Bt,
214
214
  isFile: Ut,
215
215
  isBlob: jt,
216
- isRegExp: ir,
216
+ isRegExp: or,
217
217
  isFunction: N,
218
218
  isStream: It,
219
219
  isURLSearchParams: Mt,
@@ -236,15 +236,15 @@ const fr = (e) => {
236
236
  hasOwnProperty: Be,
237
237
  hasOwnProp: Be,
238
238
  // an alias to avoid ESLint no-prototype-builtins detection
239
- reduceDescriptors: it,
239
+ reduceDescriptors: ot,
240
240
  freezeMethods: ar,
241
241
  toObjectSet: lr,
242
- toCamelCase: or,
242
+ toCamelCase: ir,
243
243
  noop: cr,
244
244
  toFiniteNumber: ur,
245
245
  findKey: nt,
246
246
  global: H,
247
- isContextDefined: ot,
247
+ isContextDefined: it,
248
248
  isSpecCompliantForm: dr,
249
249
  toJSONObject: fr,
250
250
  isAsyncFn: hr,
@@ -297,11 +297,11 @@ const lt = D.prototype, ct = {};
297
297
  });
298
298
  Object.defineProperties(D, ct);
299
299
  Object.defineProperty(lt, "isAxiosError", { value: !0 });
300
- D.from = (e, t, r, s, n, o) => {
301
- const i = Object.create(lt);
302
- return l.toFlatObject(e, i, function(f) {
300
+ D.from = (e, t, r, s, n, i) => {
301
+ const o = Object.create(lt);
302
+ return l.toFlatObject(e, o, function(f) {
303
303
  return f !== Error.prototype;
304
- }, (a) => a !== "isAxiosError"), D.call(i, e.message, t, r, s, n), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
304
+ }, (a) => a !== "isAxiosError"), D.call(o, e.message, t, r, s, n), o.cause = e, o.name = e.name, i && Object.assign(o, i), o;
305
305
  };
306
306
  const br = null;
307
307
  function ke(e) {
@@ -311,8 +311,8 @@ function ut(e) {
311
311
  return l.endsWith(e, "[]") ? e.slice(0, -2) : e;
312
312
  }
313
313
  function Ue(e, t, r) {
314
- return e ? e.concat(t).map(function(n, o) {
315
- return n = ut(n), !r && o ? "[" + n + "]" : n;
314
+ return e ? e.concat(t).map(function(n, i) {
315
+ return n = ut(n), !r && i ? "[" + n + "]" : n;
316
316
  }).join(r ? "." : "") : t;
317
317
  }
318
318
  function wr(e) {
@@ -331,7 +331,7 @@ function pe(e, t, r) {
331
331
  }, !1, function(p, b) {
332
332
  return !l.isUndefined(b[p]);
333
333
  });
334
- const s = r.metaTokens, n = r.visitor || c, o = r.dots, i = r.indexes, f = (r.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
334
+ const s = r.metaTokens, n = r.visitor || c, i = r.dots, o = r.indexes, f = (r.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
335
335
  if (!l.isFunction(n))
336
336
  throw new TypeError("visitor must be a function");
337
337
  function u(d) {
@@ -353,12 +353,12 @@ function pe(e, t, r) {
353
353
  return p = ut(p), S.forEach(function(y, L) {
354
354
  !(l.isUndefined(y) || y === null) && t.append(
355
355
  // eslint-disable-next-line no-nested-ternary
356
- i === !0 ? Ue([p], L, o) : i === null ? p : p + "[]",
356
+ o === !0 ? Ue([p], L, i) : o === null ? p : p + "[]",
357
357
  u(y)
358
358
  );
359
359
  }), !1;
360
360
  }
361
- return ke(d) ? !0 : (t.append(Ue(b, p, o), u(d)), !1);
361
+ return ke(d) ? !0 : (t.append(Ue(b, p, i), u(d)), !1);
362
362
  }
363
363
  const h = [], w = Object.assign(yr, {
364
364
  defaultVisitor: c,
@@ -424,10 +424,10 @@ function ft(e, t, r) {
424
424
  serialize: r
425
425
  });
426
426
  const n = r && r.serialize;
427
- let o;
428
- if (n ? o = n(t, r) : o = l.isURLSearchParams(t) ? t.toString() : new Ne(t, r).toString(s), o) {
429
- const i = e.indexOf("#");
430
- i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
427
+ let i;
428
+ if (n ? i = n(t, r) : i = l.isURLSearchParams(t) ? t.toString() : new Ne(t, r).toString(s), i) {
429
+ const o = e.indexOf("#");
430
+ o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
431
431
  }
432
432
  return e;
433
433
  }
@@ -511,8 +511,8 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Cr
511
511
  };
512
512
  function Or(e, t) {
513
513
  return pe(e, new O.classes.URLSearchParams(), {
514
- visitor: function(r, s, n, o) {
515
- return O.isNode && l.isBuffer(r) ? (this.append(s, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
514
+ visitor: function(r, s, n, i) {
515
+ return O.isNode && l.isBuffer(r) ? (this.append(s, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
516
516
  },
517
517
  ...t
518
518
  });
@@ -524,17 +524,17 @@ function $r(e) {
524
524
  const t = {}, r = Object.keys(e);
525
525
  let s;
526
526
  const n = r.length;
527
- let o;
527
+ let i;
528
528
  for (s = 0; s < n; s++)
529
- o = r[s], t[o] = e[o];
529
+ i = r[s], t[i] = e[i];
530
530
  return t;
531
531
  }
532
532
  function pt(e) {
533
- function t(r, s, n, o) {
534
- let i = r[o++];
535
- if (i === "__proto__") return !0;
536
- const a = Number.isFinite(+i), f = o >= r.length;
537
- return i = !i && l.isArray(n) ? n.length : i, f ? (l.hasOwnProp(n, i) ? n[i] = [n[i], s] : n[i] = s, !a) : ((!n[i] || !l.isObject(n[i])) && (n[i] = []), t(r, s, n[i], o) && l.isArray(n[i]) && (n[i] = $r(n[i])), !a);
533
+ function t(r, s, n, i) {
534
+ let o = r[i++];
535
+ if (o === "__proto__") return !0;
536
+ const a = Number.isFinite(+o), f = i >= r.length;
537
+ return o = !o && l.isArray(n) ? n.length : o, f ? (l.hasOwnProp(n, o) ? n[o] = [n[o], s] : n[o] = s, !a) : ((!n[o] || !l.isObject(n[o])) && (n[o] = []), t(r, s, n[o], i) && l.isArray(n[o]) && (n[o] = $r(n[o])), !a);
538
538
  }
539
539
  if (l.isFormData(e) && l.isFunction(e.entries)) {
540
540
  const r = {};
@@ -558,8 +558,8 @@ const se = {
558
558
  transitional: ht,
559
559
  adapter: ["xhr", "http", "fetch"],
560
560
  transformRequest: [function(t, r) {
561
- const s = r.getContentType() || "", n = s.indexOf("application/json") > -1, o = l.isObject(t);
562
- if (o && l.isHTMLForm(t) && (t = new FormData(t)), l.isFormData(t))
561
+ const s = r.getContentType() || "", n = s.indexOf("application/json") > -1, i = l.isObject(t);
562
+ if (i && l.isHTMLForm(t) && (t = new FormData(t)), l.isFormData(t))
563
563
  return n ? JSON.stringify(pt(t)) : t;
564
564
  if (l.isArrayBuffer(t) || l.isBuffer(t) || l.isStream(t) || l.isFile(t) || l.isBlob(t) || l.isReadableStream(t))
565
565
  return t;
@@ -568,7 +568,7 @@ const se = {
568
568
  if (l.isURLSearchParams(t))
569
569
  return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
570
570
  let a;
571
- if (o) {
571
+ if (i) {
572
572
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
573
573
  return Or(t, this.formSerializer).toString();
574
574
  if ((a = l.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
@@ -580,18 +580,18 @@ const se = {
580
580
  );
581
581
  }
582
582
  }
583
- return o || n ? (r.setContentType("application/json", !1), Nr(t)) : t;
583
+ return i || n ? (r.setContentType("application/json", !1), Nr(t)) : t;
584
584
  }],
585
585
  transformResponse: [function(t) {
586
586
  const r = this.transitional || se.transitional, s = r && r.forcedJSONParsing, n = this.responseType === "json";
587
587
  if (l.isResponse(t) || l.isReadableStream(t))
588
588
  return t;
589
589
  if (t && l.isString(t) && (s && !this.responseType || n)) {
590
- const i = !(r && r.silentJSONParsing) && n;
590
+ const o = !(r && r.silentJSONParsing) && n;
591
591
  try {
592
592
  return JSON.parse(t);
593
593
  } catch (a) {
594
- if (i)
594
+ if (o)
595
595
  throw a.name === "SyntaxError" ? D.from(a, D.ERR_BAD_RESPONSE, this, null, this.response) : a;
596
596
  }
597
597
  }
@@ -645,15 +645,15 @@ const Ar = l.toObjectSet([
645
645
  const t = {};
646
646
  let r, s, n;
647
647
  return e && e.split(`
648
- `).forEach(function(i) {
649
- n = i.indexOf(":"), r = i.substring(0, n).trim().toLowerCase(), s = i.substring(n + 1).trim(), !(!r || t[r] && Ar[r]) && (r === "set-cookie" ? t[r] ? t[r].push(s) : t[r] = [s] : t[r] = t[r] ? t[r] + ", " + s : s);
648
+ `).forEach(function(o) {
649
+ n = o.indexOf(":"), r = o.substring(0, n).trim().toLowerCase(), s = o.substring(n + 1).trim(), !(!r || t[r] && Ar[r]) && (r === "set-cookie" ? t[r] ? t[r].push(s) : t[r] = [s] : t[r] = t[r] ? t[r] + ", " + s : s);
650
650
  }), t;
651
651
  }, Ie = Symbol("internals");
652
652
  function Q(e) {
653
653
  return e && String(e).trim().toLowerCase();
654
654
  }
655
- function ie(e) {
656
- return e === !1 || e == null ? e : l.isArray(e) ? e.map(ie) : String(e);
655
+ function oe(e) {
656
+ return e === !1 || e == null ? e : l.isArray(e) ? e.map(oe) : String(e);
657
657
  }
658
658
  function Lr(e) {
659
659
  const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -680,8 +680,8 @@ function Ur(e, t) {
680
680
  const r = l.toCamelCase(" " + t);
681
681
  ["get", "set", "has"].forEach((s) => {
682
682
  Object.defineProperty(e, s + r, {
683
- value: function(n, o, i) {
684
- return this[s].call(this, t, n, o, i);
683
+ value: function(n, i, o) {
684
+ return this[s].call(this, t, n, i, o);
685
685
  },
686
686
  configurable: !0
687
687
  });
@@ -693,18 +693,18 @@ let A = class {
693
693
  }
694
694
  set(t, r, s) {
695
695
  const n = this;
696
- function o(a, f, u) {
696
+ function i(a, f, u) {
697
697
  const c = Q(f);
698
698
  if (!c)
699
699
  throw new Error("header name must be a non-empty string");
700
700
  const h = l.findKey(n, c);
701
- (!h || n[h] === void 0 || u === !0 || u === void 0 && n[h] !== !1) && (n[h || f] = ie(a));
701
+ (!h || n[h] === void 0 || u === !0 || u === void 0 && n[h] !== !1) && (n[h || f] = oe(a));
702
702
  }
703
- const i = (a, f) => l.forEach(a, (u, c) => o(u, c, f));
703
+ const o = (a, f) => l.forEach(a, (u, c) => i(u, c, f));
704
704
  if (l.isPlainObject(t) || t instanceof this.constructor)
705
- i(t, r);
705
+ o(t, r);
706
706
  else if (l.isString(t) && (t = t.trim()) && !Pr(t))
707
- i(Fr(t), r);
707
+ o(Fr(t), r);
708
708
  else if (l.isObject(t) && l.isIterable(t)) {
709
709
  let a = {}, f, u;
710
710
  for (const c of t) {
@@ -712,9 +712,9 @@ let A = class {
712
712
  throw TypeError("Object iterator must return a key-value pair");
713
713
  a[u = c[0]] = (f = a[u]) ? l.isArray(f) ? [...f, c[1]] : [f, c[1]] : c[1];
714
714
  }
715
- i(a, r);
715
+ o(a, r);
716
716
  } else
717
- t != null && o(r, t, s);
717
+ t != null && i(r, t, s);
718
718
  return this;
719
719
  }
720
720
  get(t, r) {
@@ -744,33 +744,33 @@ let A = class {
744
744
  delete(t, r) {
745
745
  const s = this;
746
746
  let n = !1;
747
- function o(i) {
748
- if (i = Q(i), i) {
749
- const a = l.findKey(s, i);
747
+ function i(o) {
748
+ if (o = Q(o), o) {
749
+ const a = l.findKey(s, o);
750
750
  a && (!r || we(s, s[a], a, r)) && (delete s[a], n = !0);
751
751
  }
752
752
  }
753
- return l.isArray(t) ? t.forEach(o) : o(t), n;
753
+ return l.isArray(t) ? t.forEach(i) : i(t), n;
754
754
  }
755
755
  clear(t) {
756
756
  const r = Object.keys(this);
757
757
  let s = r.length, n = !1;
758
758
  for (; s--; ) {
759
- const o = r[s];
760
- (!t || we(this, this[o], o, t, !0)) && (delete this[o], n = !0);
759
+ const i = r[s];
760
+ (!t || we(this, this[i], i, t, !0)) && (delete this[i], n = !0);
761
761
  }
762
762
  return n;
763
763
  }
764
764
  normalize(t) {
765
765
  const r = this, s = {};
766
- return l.forEach(this, (n, o) => {
767
- const i = l.findKey(s, o);
768
- if (i) {
769
- r[i] = ie(n), delete r[o];
766
+ return l.forEach(this, (n, i) => {
767
+ const o = l.findKey(s, i);
768
+ if (o) {
769
+ r[o] = oe(n), delete r[i];
770
770
  return;
771
771
  }
772
- const a = t ? Br(o) : String(o).trim();
773
- a !== o && delete r[o], r[a] = ie(n), s[a] = !0;
772
+ const a = t ? Br(i) : String(i).trim();
773
+ a !== i && delete r[i], r[a] = oe(n), s[a] = !0;
774
774
  }), this;
775
775
  }
776
776
  concat(...t) {
@@ -806,11 +806,11 @@ let A = class {
806
806
  const s = (this[Ie] = this[Ie] = {
807
807
  accessors: {}
808
808
  }).accessors, n = this.prototype;
809
- function o(i) {
810
- const a = Q(i);
811
- s[a] || (Ur(n, i), s[a] = !0);
809
+ function i(o) {
810
+ const a = Q(o);
811
+ s[a] || (Ur(n, o), s[a] = !0);
812
812
  }
813
- return l.isArray(t) ? t.forEach(o) : o(t), this;
813
+ return l.isArray(t) ? t.forEach(i) : i(t), this;
814
814
  }
815
815
  };
816
816
  A.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
@@ -826,10 +826,10 @@ l.reduceDescriptors(A.prototype, ({ value: e }, t) => {
826
826
  l.freezeMethods(A);
827
827
  function ye(e, t) {
828
828
  const r = this || se, s = t || r, n = A.from(s.headers);
829
- let o = s.data;
829
+ let i = s.data;
830
830
  return l.forEach(e, function(a) {
831
- o = a.call(r, o, n.normalize(), t ? t.status : void 0);
832
- }), n.normalize(), o;
831
+ i = a.call(r, i, n.normalize(), t ? t.status : void 0);
832
+ }), n.normalize(), i;
833
833
  }
834
834
  function mt(e) {
835
835
  return !!(e && e.__CANCEL__);
@@ -857,45 +857,45 @@ function jr(e) {
857
857
  function Vr(e, t) {
858
858
  e = e || 10;
859
859
  const r = new Array(e), s = new Array(e);
860
- let n = 0, o = 0, i;
860
+ let n = 0, i = 0, o;
861
861
  return t = t !== void 0 ? t : 1e3, function(f) {
862
- const u = Date.now(), c = s[o];
863
- i || (i = u), r[n] = f, s[n] = u;
864
- let h = o, w = 0;
862
+ const u = Date.now(), c = s[i];
863
+ o || (o = u), r[n] = f, s[n] = u;
864
+ let h = i, w = 0;
865
865
  for (; h !== n; )
866
866
  w += r[h++], h = h % e;
867
- if (n = (n + 1) % e, n === o && (o = (o + 1) % e), u - i < t)
867
+ if (n = (n + 1) % e, n === i && (i = (i + 1) % e), u - o < t)
868
868
  return;
869
869
  const g = c && u - c;
870
870
  return g ? Math.round(w * 1e3 / g) : void 0;
871
871
  };
872
872
  }
873
873
  function Ir(e, t) {
874
- let r = 0, s = 1e3 / t, n, o;
875
- const i = (u, c = Date.now()) => {
876
- r = c, n = null, o && (clearTimeout(o), o = null), e(...u);
874
+ let r = 0, s = 1e3 / t, n, i;
875
+ const o = (u, c = Date.now()) => {
876
+ r = c, n = null, i && (clearTimeout(i), i = null), e(...u);
877
877
  };
878
878
  return [(...u) => {
879
879
  const c = Date.now(), h = c - r;
880
- h >= s ? i(u, c) : (n = u, o || (o = setTimeout(() => {
881
- o = null, i(n);
880
+ h >= s ? o(u, c) : (n = u, i || (i = setTimeout(() => {
881
+ i = null, o(n);
882
882
  }, s - h)));
883
- }, () => n && i(n)];
883
+ }, () => n && o(n)];
884
884
  }
885
885
  const le = (e, t, r = 3) => {
886
886
  let s = 0;
887
887
  const n = Vr(50, 250);
888
- return Ir((o) => {
889
- const i = o.loaded, a = o.lengthComputable ? o.total : void 0, f = i - s, u = n(f), c = i <= a;
890
- s = i;
888
+ return Ir((i) => {
889
+ const o = i.loaded, a = i.lengthComputable ? i.total : void 0, f = o - s, u = n(f), c = o <= a;
890
+ s = o;
891
891
  const h = {
892
- loaded: i,
892
+ loaded: o,
893
893
  total: a,
894
- progress: a ? i / a : void 0,
894
+ progress: a ? o / a : void 0,
895
895
  bytes: f,
896
896
  rate: u || void 0,
897
- estimated: u && a && c ? (a - i) / u : void 0,
898
- event: o,
897
+ estimated: u && a && c ? (a - o) / u : void 0,
898
+ event: i,
899
899
  lengthComputable: a != null,
900
900
  [t ? "download" : "upload"]: !0
901
901
  };
@@ -914,9 +914,9 @@ const le = (e, t, r = 3) => {
914
914
  ) : () => !0, Mr = O.hasStandardBrowserEnv ? (
915
915
  // Standard browser envs support document.cookie
916
916
  {
917
- write(e, t, r, s, n, o) {
918
- const i = [e + "=" + encodeURIComponent(t)];
919
- l.isNumber(r) && i.push("expires=" + new Date(r).toGMTString()), l.isString(s) && i.push("path=" + s), l.isString(n) && i.push("domain=" + n), o === !0 && i.push("secure"), document.cookie = i.join("; ");
917
+ write(e, t, r, s, n, i) {
918
+ const o = [e + "=" + encodeURIComponent(t)];
919
+ l.isNumber(r) && o.push("expires=" + new Date(r).toGMTString()), l.isString(s) && o.push("path=" + s), l.isString(n) && o.push("domain=" + n), i === !0 && o.push("secure"), document.cookie = o.join("; ");
920
920
  },
921
921
  read(e) {
922
922
  const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -961,11 +961,11 @@ function K(e, t) {
961
961
  return s(void 0, u, h, w);
962
962
  } else return s(u, c, h, w);
963
963
  }
964
- function o(u, c) {
964
+ function i(u, c) {
965
965
  if (!l.isUndefined(c))
966
966
  return s(void 0, c);
967
967
  }
968
- function i(u, c) {
968
+ function o(u, c) {
969
969
  if (l.isUndefined(c)) {
970
970
  if (!l.isUndefined(u))
971
971
  return s(void 0, u);
@@ -978,33 +978,33 @@ function K(e, t) {
978
978
  return s(void 0, u);
979
979
  }
980
980
  const f = {
981
- url: o,
982
- method: o,
983
- data: o,
984
- baseURL: i,
985
- transformRequest: i,
986
- transformResponse: i,
987
- paramsSerializer: i,
988
- timeout: i,
989
- timeoutMessage: i,
990
- withCredentials: i,
991
- withXSRFToken: i,
992
- adapter: i,
993
- responseType: i,
994
- xsrfCookieName: i,
995
- xsrfHeaderName: i,
996
- onUploadProgress: i,
997
- onDownloadProgress: i,
998
- decompress: i,
999
- maxContentLength: i,
1000
- maxBodyLength: i,
1001
- beforeRedirect: i,
1002
- transport: i,
1003
- httpAgent: i,
1004
- httpsAgent: i,
1005
- cancelToken: i,
1006
- socketPath: i,
1007
- responseEncoding: i,
981
+ url: i,
982
+ method: i,
983
+ data: i,
984
+ baseURL: o,
985
+ transformRequest: o,
986
+ transformResponse: o,
987
+ paramsSerializer: o,
988
+ timeout: o,
989
+ timeoutMessage: o,
990
+ withCredentials: o,
991
+ withXSRFToken: o,
992
+ adapter: o,
993
+ responseType: o,
994
+ xsrfCookieName: o,
995
+ xsrfHeaderName: o,
996
+ onUploadProgress: o,
997
+ onDownloadProgress: o,
998
+ decompress: o,
999
+ maxContentLength: o,
1000
+ maxBodyLength: o,
1001
+ beforeRedirect: o,
1002
+ transport: o,
1003
+ httpAgent: o,
1004
+ httpsAgent: o,
1005
+ cancelToken: o,
1006
+ socketPath: o,
1007
+ responseEncoding: o,
1008
1008
  validateStatus: a,
1009
1009
  headers: (u, c, h) => n(qe(u), qe(c), h, !0)
1010
1010
  };
@@ -1015,30 +1015,30 @@ function K(e, t) {
1015
1015
  }
1016
1016
  const wt = (e) => {
1017
1017
  const t = K({}, e);
1018
- let { data: r, withXSRFToken: s, xsrfHeaderName: n, xsrfCookieName: o, headers: i, auth: a } = t;
1019
- t.headers = i = A.from(i), t.url = ft(bt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
1018
+ let { data: r, withXSRFToken: s, xsrfHeaderName: n, xsrfCookieName: i, headers: o, auth: a } = t;
1019
+ t.headers = o = A.from(o), t.url = ft(bt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && o.set(
1020
1020
  "Authorization",
1021
1021
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1022
1022
  );
1023
1023
  let f;
1024
1024
  if (l.isFormData(r)) {
1025
1025
  if (O.hasStandardBrowserEnv || O.hasStandardBrowserWebWorkerEnv)
1026
- i.setContentType(void 0);
1027
- else if ((f = i.getContentType()) !== !1) {
1026
+ o.setContentType(void 0);
1027
+ else if ((f = o.getContentType()) !== !1) {
1028
1028
  const [u, ...c] = f ? f.split(";").map((h) => h.trim()).filter(Boolean) : [];
1029
- i.setContentType([u || "multipart/form-data", ...c].join("; "));
1029
+ o.setContentType([u || "multipart/form-data", ...c].join("; "));
1030
1030
  }
1031
1031
  }
1032
1032
  if (O.hasStandardBrowserEnv && (s && l.isFunction(s) && (s = s(t)), s || s !== !1 && zr(t.url))) {
1033
- const u = n && o && Mr.read(o);
1034
- u && i.set(n, u);
1033
+ const u = n && i && Mr.read(i);
1034
+ u && o.set(n, u);
1035
1035
  }
1036
1036
  return t;
1037
1037
  }, Wr = typeof XMLHttpRequest < "u", Jr = Wr && function(e) {
1038
1038
  return new Promise(function(r, s) {
1039
1039
  const n = wt(e);
1040
- let o = n.data;
1041
- const i = A.from(n.headers).normalize();
1040
+ let i = n.data;
1041
+ const o = A.from(n.headers).normalize();
1042
1042
  let { responseType: a, onUploadProgress: f, onDownloadProgress: u } = n, c, h, w, g, d;
1043
1043
  function p() {
1044
1044
  g && g(), d && d(), n.cancelToken && n.cancelToken.unsubscribe(c), n.signal && n.signal.removeEventListener("abort", c);
@@ -1079,7 +1079,7 @@ const wt = (e) => {
1079
1079
  e,
1080
1080
  b
1081
1081
  )), b = null;
1082
- }, o === void 0 && i.setContentType(null), "setRequestHeader" in b && l.forEach(i.toJSON(), function(L, C) {
1082
+ }, i === void 0 && o.setContentType(null), "setRequestHeader" in b && l.forEach(o.toJSON(), function(L, C) {
1083
1083
  b.setRequestHeader(C, L);
1084
1084
  }), l.isUndefined(n.withCredentials) || (b.withCredentials = !!n.withCredentials), a && a !== "json" && (b.responseType = n.responseType), u && ([w, d] = le(u, !0), b.addEventListener("progress", w)), f && b.upload && ([h, g] = le(f), b.upload.addEventListener("progress", h), b.upload.addEventListener("loadend", g)), (n.cancelToken || n.signal) && (c = (y) => {
1085
1085
  b && (s(!y || y.type ? new G(null, e, b) : y), b.abort(), b = null);
@@ -1089,28 +1089,28 @@ const wt = (e) => {
1089
1089
  s(new D("Unsupported protocol " + k + ":", D.ERR_BAD_REQUEST, e));
1090
1090
  return;
1091
1091
  }
1092
- b.send(o || null);
1092
+ b.send(i || null);
1093
1093
  });
1094
1094
  }, Kr = (e, t) => {
1095
1095
  const { length: r } = e = e ? e.filter(Boolean) : [];
1096
1096
  if (t || r) {
1097
1097
  let s = new AbortController(), n;
1098
- const o = function(u) {
1098
+ const i = function(u) {
1099
1099
  if (!n) {
1100
1100
  n = !0, a();
1101
1101
  const c = u instanceof Error ? u : this.reason;
1102
1102
  s.abort(c instanceof D ? c : new G(c instanceof Error ? c.message : c));
1103
1103
  }
1104
1104
  };
1105
- let i = t && setTimeout(() => {
1106
- i = null, o(new D(`timeout ${t} of ms exceeded`, D.ETIMEDOUT));
1105
+ let o = t && setTimeout(() => {
1106
+ o = null, i(new D(`timeout ${t} of ms exceeded`, D.ETIMEDOUT));
1107
1107
  }, t);
1108
1108
  const a = () => {
1109
- e && (i && clearTimeout(i), i = null, e.forEach((u) => {
1110
- u.unsubscribe ? u.unsubscribe(o) : u.removeEventListener("abort", o);
1109
+ e && (o && clearTimeout(o), o = null, e.forEach((u) => {
1110
+ u.unsubscribe ? u.unsubscribe(i) : u.removeEventListener("abort", i);
1111
1111
  }), e = null);
1112
1112
  };
1113
- e.forEach((u) => u.addEventListener("abort", o));
1113
+ e.forEach((u) => u.addEventListener("abort", i));
1114
1114
  const { signal: f } = s;
1115
1115
  return f.unsubscribe = () => l.asap(a), f;
1116
1116
  }
@@ -1144,8 +1144,8 @@ const wt = (e) => {
1144
1144
  }
1145
1145
  }, He = (e, t, r, s) => {
1146
1146
  const n = Gr(e, t);
1147
- let o = 0, i, a = (f) => {
1148
- i || (i = !0, s && s(f));
1147
+ let i = 0, o, a = (f) => {
1148
+ o || (o = !0, s && s(f));
1149
1149
  };
1150
1150
  return new ReadableStream({
1151
1151
  async pull(f) {
@@ -1157,7 +1157,7 @@ const wt = (e) => {
1157
1157
  }
1158
1158
  let h = c.byteLength;
1159
1159
  if (r) {
1160
- let w = o += h;
1160
+ let w = i += h;
1161
1161
  r(w);
1162
1162
  }
1163
1163
  f.enqueue(new Uint8Array(c));
@@ -1220,8 +1220,8 @@ const es = async (e) => {
1220
1220
  method: r,
1221
1221
  data: s,
1222
1222
  signal: n,
1223
- cancelToken: o,
1224
- timeout: i,
1223
+ cancelToken: i,
1224
+ timeout: o,
1225
1225
  onDownloadProgress: a,
1226
1226
  onUploadProgress: f,
1227
1227
  responseType: u,
@@ -1230,7 +1230,7 @@ const es = async (e) => {
1230
1230
  fetchOptions: w
1231
1231
  } = wt(e);
1232
1232
  u = u ? (u + "").toLowerCase() : "text";
1233
- let g = Kr([n, o && o.toAbortSignal()], i), d;
1233
+ let g = Kr([n, i && i.toAbortSignal()], o), d;
1234
1234
  const p = g && g.unsubscribe && (() => {
1235
1235
  g.unsubscribe();
1236
1236
  });
@@ -1319,24 +1319,24 @@ const Je = (e) => `- ${e}`, ss = (e) => l.isFunction(e) || e === null || e === !
1319
1319
  const { length: t } = e;
1320
1320
  let r, s;
1321
1321
  const n = {};
1322
- for (let o = 0; o < t; o++) {
1323
- r = e[o];
1324
- let i;
1325
- if (s = r, !ss(r) && (s = Ee[(i = String(r)).toLowerCase()], s === void 0))
1326
- throw new D(`Unknown adapter '${i}'`);
1322
+ for (let i = 0; i < t; i++) {
1323
+ r = e[i];
1324
+ let o;
1325
+ if (s = r, !ss(r) && (s = Ee[(o = String(r)).toLowerCase()], s === void 0))
1326
+ throw new D(`Unknown adapter '${o}'`);
1327
1327
  if (s)
1328
1328
  break;
1329
- n[i || "#" + o] = s;
1329
+ n[o || "#" + i] = s;
1330
1330
  }
1331
1331
  if (!s) {
1332
- const o = Object.entries(n).map(
1332
+ const i = Object.entries(n).map(
1333
1333
  ([a, f]) => `adapter ${a} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1334
1334
  );
1335
- let i = t ? o.length > 1 ? `since :
1336
- ` + o.map(Je).join(`
1337
- `) : " " + Je(o[0]) : "as no adapter specified";
1335
+ let o = t ? i.length > 1 ? `since :
1336
+ ` + i.map(Je).join(`
1337
+ `) : " " + Je(i[0]) : "as no adapter specified";
1338
1338
  throw new D(
1339
- "There is no suitable adapter to dispatch the request " + i,
1339
+ "There is no suitable adapter to dispatch the request " + o,
1340
1340
  "ERR_NOT_SUPPORT"
1341
1341
  );
1342
1342
  }
@@ -1374,21 +1374,21 @@ const Dt = "1.11.0", ge = {};
1374
1374
  });
1375
1375
  const Xe = {};
1376
1376
  ge.transitional = function(t, r, s) {
1377
- function n(o, i) {
1378
- return "[Axios v" + Dt + "] Transitional option '" + o + "'" + i + (s ? ". " + s : "");
1377
+ function n(i, o) {
1378
+ return "[Axios v" + Dt + "] Transitional option '" + i + "'" + o + (s ? ". " + s : "");
1379
1379
  }
1380
- return (o, i, a) => {
1380
+ return (i, o, a) => {
1381
1381
  if (t === !1)
1382
1382
  throw new D(
1383
- n(i, " has been removed" + (r ? " in " + r : "")),
1383
+ n(o, " has been removed" + (r ? " in " + r : "")),
1384
1384
  D.ERR_DEPRECATED
1385
1385
  );
1386
- return r && !Xe[i] && (Xe[i] = !0, console.warn(
1386
+ return r && !Xe[o] && (Xe[o] = !0, console.warn(
1387
1387
  n(
1388
- i,
1388
+ o,
1389
1389
  " has been deprecated since v" + r + " and will be removed in the near future"
1390
1390
  )
1391
- )), t ? t(o, i, a) : !0;
1391
+ )), t ? t(i, o, a) : !0;
1392
1392
  };
1393
1393
  };
1394
1394
  ge.spelling = function(t) {
@@ -1400,15 +1400,15 @@ function ns(e, t, r) {
1400
1400
  const s = Object.keys(e);
1401
1401
  let n = s.length;
1402
1402
  for (; n-- > 0; ) {
1403
- const o = s[n], i = t[o];
1404
- if (i) {
1405
- const a = e[o], f = a === void 0 || i(a, o, e);
1403
+ const i = s[n], o = t[i];
1404
+ if (o) {
1405
+ const a = e[i], f = a === void 0 || o(a, i, e);
1406
1406
  if (f !== !0)
1407
- throw new D("option " + o + " must be " + f, D.ERR_BAD_OPTION_VALUE);
1407
+ throw new D("option " + i + " must be " + f, D.ERR_BAD_OPTION_VALUE);
1408
1408
  continue;
1409
1409
  }
1410
1410
  if (r !== !0)
1411
- throw new D("Unknown option " + o, D.ERR_BAD_OPTION);
1411
+ throw new D("Unknown option " + i, D.ERR_BAD_OPTION);
1412
1412
  }
1413
1413
  }
1414
1414
  const ae = {
@@ -1437,10 +1437,10 @@ let W = class {
1437
1437
  if (s instanceof Error) {
1438
1438
  let n = {};
1439
1439
  Error.captureStackTrace ? Error.captureStackTrace(n) : n = new Error();
1440
- const o = n.stack ? n.stack.replace(/^.+\n/, "") : "";
1440
+ const i = n.stack ? n.stack.replace(/^.+\n/, "") : "";
1441
1441
  try {
1442
- s.stack ? o && !String(s.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (s.stack += `
1443
- ` + o) : s.stack = o;
1442
+ s.stack ? i && !String(s.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (s.stack += `
1443
+ ` + i) : s.stack = i;
1444
1444
  } catch {
1445
1445
  }
1446
1446
  }
@@ -1449,7 +1449,7 @@ let W = class {
1449
1449
  }
1450
1450
  _request(t, r) {
1451
1451
  typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = K(this.defaults, r);
1452
- const { transitional: s, paramsSerializer: n, headers: o } = r;
1452
+ const { transitional: s, paramsSerializer: n, headers: i } = r;
1453
1453
  s !== void 0 && ae.assertOptions(s, {
1454
1454
  silentJSONParsing: U.transitional(U.boolean),
1455
1455
  forcedJSONParsing: U.transitional(U.boolean),
@@ -1463,16 +1463,16 @@ let W = class {
1463
1463
  baseUrl: U.spelling("baseURL"),
1464
1464
  withXsrfToken: U.spelling("withXSRFToken")
1465
1465
  }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
1466
- let i = o && l.merge(
1467
- o.common,
1468
- o[r.method]
1466
+ let o = i && l.merge(
1467
+ i.common,
1468
+ i[r.method]
1469
1469
  );
1470
- o && l.forEach(
1470
+ i && l.forEach(
1471
1471
  ["delete", "get", "head", "post", "put", "patch", "common"],
1472
1472
  (d) => {
1473
- delete o[d];
1473
+ delete i[d];
1474
1474
  }
1475
- ), r.headers = A.concat(i, o);
1475
+ ), r.headers = A.concat(o, i);
1476
1476
  const a = [];
1477
1477
  let f = !0;
1478
1478
  this.interceptors.request.forEach(function(p) {
@@ -1526,44 +1526,44 @@ l.forEach(["delete", "get", "head", "options"], function(t) {
1526
1526
  });
1527
1527
  l.forEach(["post", "put", "patch"], function(t) {
1528
1528
  function r(s) {
1529
- return function(o, i, a) {
1529
+ return function(i, o, a) {
1530
1530
  return this.request(K(a || {}, {
1531
1531
  method: t,
1532
1532
  headers: s ? {
1533
1533
  "Content-Type": "multipart/form-data"
1534
1534
  } : {},
1535
- url: o,
1536
- data: i
1535
+ url: i,
1536
+ data: o
1537
1537
  }));
1538
1538
  };
1539
1539
  }
1540
1540
  W.prototype[t] = r(), W.prototype[t + "Form"] = r(!0);
1541
1541
  });
1542
- let os = class kt {
1542
+ let is = class kt {
1543
1543
  constructor(t) {
1544
1544
  if (typeof t != "function")
1545
1545
  throw new TypeError("executor must be a function.");
1546
1546
  let r;
1547
- this.promise = new Promise(function(o) {
1548
- r = o;
1547
+ this.promise = new Promise(function(i) {
1548
+ r = i;
1549
1549
  });
1550
1550
  const s = this;
1551
1551
  this.promise.then((n) => {
1552
1552
  if (!s._listeners) return;
1553
- let o = s._listeners.length;
1554
- for (; o-- > 0; )
1555
- s._listeners[o](n);
1553
+ let i = s._listeners.length;
1554
+ for (; i-- > 0; )
1555
+ s._listeners[i](n);
1556
1556
  s._listeners = null;
1557
1557
  }), this.promise.then = (n) => {
1558
- let o;
1559
- const i = new Promise((a) => {
1560
- s.subscribe(a), o = a;
1558
+ let i;
1559
+ const o = new Promise((a) => {
1560
+ s.subscribe(a), i = a;
1561
1561
  }).then(n);
1562
- return i.cancel = function() {
1563
- s.unsubscribe(o);
1564
- }, i;
1565
- }, t(function(o, i, a) {
1566
- s.reason || (s.reason = new G(o, i, a), r(s.reason));
1562
+ return o.cancel = function() {
1563
+ s.unsubscribe(i);
1564
+ }, o;
1565
+ }, t(function(i, o, a) {
1566
+ s.reason || (s.reason = new G(i, o, a), r(s.reason));
1567
1567
  });
1568
1568
  }
1569
1569
  /**
@@ -1612,7 +1612,7 @@ let os = class kt {
1612
1612
  };
1613
1613
  }
1614
1614
  };
1615
- function is(e) {
1615
+ function os(e) {
1616
1616
  return function(r) {
1617
1617
  return e.apply(null, r);
1618
1618
  };
@@ -1697,7 +1697,7 @@ function St(e) {
1697
1697
  const v = St(se);
1698
1698
  v.Axios = W;
1699
1699
  v.CanceledError = G;
1700
- v.CancelToken = os;
1700
+ v.CancelToken = is;
1701
1701
  v.isCancel = mt;
1702
1702
  v.VERSION = Dt;
1703
1703
  v.toFormData = pe;
@@ -1706,7 +1706,7 @@ v.Cancel = v.CanceledError;
1706
1706
  v.all = function(t) {
1707
1707
  return Promise.all(t);
1708
1708
  };
1709
- v.spread = is;
1709
+ v.spread = os;
1710
1710
  v.isAxiosError = as;
1711
1711
  v.mergeConfig = K;
1712
1712
  v.AxiosHeaders = A;
@@ -1715,22 +1715,22 @@ v.getAdapter = _t.getAdapter;
1715
1715
  v.HttpStatusCode = Ce;
1716
1716
  v.default = v;
1717
1717
  const {
1718
- Axios: Io,
1719
- AxiosError: zo,
1720
- CanceledError: Mo,
1721
- isCancel: qo,
1722
- CancelToken: Ho,
1723
- VERSION: Wo,
1724
- all: Jo,
1725
- Cancel: Ko,
1726
- isAxiosError: Xo,
1727
- spread: Go,
1728
- toFormData: Qo,
1729
- AxiosHeaders: Zo,
1730
- HttpStatusCode: Yo,
1731
- formToJSON: ei,
1732
- getAdapter: ti,
1733
- mergeConfig: ri
1718
+ Axios: Vi,
1719
+ AxiosError: Ii,
1720
+ CanceledError: zi,
1721
+ isCancel: Mi,
1722
+ CancelToken: qi,
1723
+ VERSION: Hi,
1724
+ all: Wi,
1725
+ Cancel: Ji,
1726
+ isAxiosError: Ki,
1727
+ spread: Xi,
1728
+ toFormData: Gi,
1729
+ AxiosHeaders: Qi,
1730
+ HttpStatusCode: Zi,
1731
+ formToJSON: Yi,
1732
+ getAdapter: eo,
1733
+ mergeConfig: to
1734
1734
  } = v;
1735
1735
  class ls {
1736
1736
  static getTooltipOptions(t = !0) {
@@ -1874,11 +1874,11 @@ const Qe = [
1874
1874
  async getDataFromURL(e) {
1875
1875
  var t, r, s, n;
1876
1876
  try {
1877
- const o = await v.get(e);
1878
- this.sourceData = ((t = o.data) == null ? void 0 : t.source) || [], this.$emit("update:widgetData", o.data), this.dimensions = Object.keys(((r = this.sourceData) == null ? void 0 : r[0]) || {}), this.titleCharts = this.style ? this.style : ((s = o.data) == null ? void 0 : s.title) || "", this.styleData = ((n = o.data) == null ? void 0 : n.style) || {};
1879
- } catch (o) {
1880
- const i = { message: "Дані не знайдено", title: "Помилка!", type: "error", status: 400, id: this.widgetName };
1881
- (o == null ? void 0 : o.status) == "404" && (i.status = 404, i.message = "Дані не знайдено"), (o == null ? void 0 : o.status) == "400" && (i.message = "Перевірте налаштування або зверніться до адміністратора"), (o == null ? void 0 : o.status) == "500" && (i.message = "Сталася помилка сервера"), this.$emit("update:widgetData", i);
1877
+ const i = await v.get(e);
1878
+ this.sourceData = ((t = i.data) == null ? void 0 : t.source) || [], this.$emit("update:widgetData", i.data), this.dimensions = Object.keys(((r = this.sourceData) == null ? void 0 : r[0]) || {}), this.titleCharts = this.style ? this.style : ((s = i.data) == null ? void 0 : s.title) || "", this.styleData = ((n = i.data) == null ? void 0 : n.style) || {};
1879
+ } catch (i) {
1880
+ const o = { message: "Дані не знайдено", title: "Помилка!", type: "error", status: 400, id: this.widgetName };
1881
+ (i == null ? void 0 : i.status) == "404" && (o.status = 404, o.message = "Дані не знайдено"), (i == null ? void 0 : i.status) == "400" && (o.message = "Перевірте налаштування або зверніться до адміністратора"), (i == null ? void 0 : i.status) == "500" && (o.message = "Сталася помилка сервера"), this.$emit("update:widgetData", o);
1882
1882
  }
1883
1883
  },
1884
1884
  getValues() {
@@ -1903,8 +1903,8 @@ const Qe = [
1903
1903
  "жовтня",
1904
1904
  "листопада",
1905
1905
  "грудня"
1906
- ][t.getMonth()], o = t.getFullYear();
1907
- return `${r} ${n} ${o}`;
1906
+ ][t.getMonth()], i = t.getFullYear();
1907
+ return `${r} ${n} ${i}`;
1908
1908
  },
1909
1909
  async getData() {
1910
1910
  var e;
@@ -1921,7 +1921,7 @@ const Qe = [
1921
1921
  }
1922
1922
  },
1923
1923
  async initChart(e, t, r) {
1924
- var s, n, o, i, a, f, u;
1924
+ var s, n, i, o, a, f, u;
1925
1925
  this.widgetInstance && this.widgetInstance.clear();
1926
1926
  try {
1927
1927
  const c = this.$refs.chart, h = echarts == null ? void 0 : echarts.init(c), w = {
@@ -1959,7 +1959,7 @@ const Qe = [
1959
1959
  type: t ? "category" : "value",
1960
1960
  name: ((n = (s = this.styleData) == null ? void 0 : s.x_axis) == null ? void 0 : n.name) || "",
1961
1961
  axisLabel: {
1962
- ...Ge((o = this.styleData) == null ? void 0 : o.x_axis),
1962
+ ...Ge((i = this.styleData) == null ? void 0 : i.x_axis),
1963
1963
  formatter: (g) => {
1964
1964
  var p, b;
1965
1965
  const d = this.formatDate(g);
@@ -1970,7 +1970,7 @@ const Qe = [
1970
1970
  yAxis: {
1971
1971
  data: r != null && r.length ? r : null,
1972
1972
  type: r ? "category" : "value",
1973
- name: ((a = (i = this.styleData) == null ? void 0 : i.y_axis) == null ? void 0 : a.name) || "",
1973
+ name: ((a = (o = this.styleData) == null ? void 0 : o.y_axis) == null ? void 0 : a.name) || "",
1974
1974
  axisLabel: Ge((f = this.styleData) == null ? void 0 : f.y_axis)
1975
1975
  },
1976
1976
  series: e != null && e.length ? e : null,
@@ -1990,8 +1990,8 @@ const Qe = [
1990
1990
  }
1991
1991
  },
1992
1992
  async setSeriesOption(e, t) {
1993
- const r = e.getOption(), { series: s = [] } = r, n = s.map((o) => ({
1994
- ...o,
1993
+ const r = e.getOption(), { series: s = [] } = r, n = s.map((i) => ({
1994
+ ...i,
1995
1995
  ...t
1996
1996
  }));
1997
1997
  e.setOption({
@@ -2076,39 +2076,39 @@ const Qe = [
2076
2076
  }
2077
2077
  },
2078
2078
  prepareData() {
2079
- var e, t, r, s, n, o;
2079
+ var e, t, r, s, n, i;
2080
2080
  try {
2081
2081
  if (!((e = this.sourceData) != null && e.length))
2082
2082
  return { series: [], xs: [], ys: void 0 };
2083
- const i = Array.from(
2083
+ const o = Array.from(
2084
2084
  new Set(
2085
2085
  this.sourceData.filter((w) => w[this.dimensions[0]]).map((w) => w[this.dimensions[0]])
2086
2086
  )
2087
2087
  );
2088
2088
  let a;
2089
- this.dimensions[0].includes("date") ? a = i.map((w) => Te(w)) : a = [...i];
2089
+ this.dimensions[0].includes("date") ? a = o.map((w) => Te(w)) : a = [...o];
2090
2090
  let f, u;
2091
2091
  ((t = this.styleData) == null ? void 0 : t.horizontal) === !0 ? u = [...a] : f = [...a];
2092
2092
  const c = this.sourceData.filter(
2093
2093
  (w) => parseFloat(w[this.dimensions[1]]) && w[this.dimensions[0]]
2094
2094
  ).map((w) => parseFloat(w[this.dimensions[1]]));
2095
2095
  let h;
2096
- return ((r = this.styleData) == null ? void 0 : r.stack) !== !1 ? h = this.prepareStackData() : ((s = this.styleData) == null ? void 0 : s.negative_waterfall) === !0 ? h = this.prepareNegativeWaterfall() : ((n = this.styleData) == null ? void 0 : n.waterfall) === !0 ? h = this.prepareWaterfallData(c) : ((o = this.styleData) == null ? void 0 : o.accumulative) === !0 ? h = this.prepareAccumulative(c) : h = this.dimensions.slice(1).map((g, d) => ({
2096
+ return ((r = this.styleData) == null ? void 0 : r.stack) !== !1 ? h = this.prepareStackData() : ((s = this.styleData) == null ? void 0 : s.negative_waterfall) === !0 ? h = this.prepareNegativeWaterfall() : ((n = this.styleData) == null ? void 0 : n.waterfall) === !0 ? h = this.prepareWaterfallData(c) : ((i = this.styleData) == null ? void 0 : i.accumulative) === !0 ? h = this.prepareAccumulative(c) : h = this.dimensions.slice(1).map((g, d) => ({
2097
2097
  name: g,
2098
2098
  type: "bar",
2099
2099
  stack: `a${d}`,
2100
2100
  data: this.sourceData.filter((p) => parseFloat(p[g]) && g).map((p) => parseFloat(p[g]))
2101
2101
  })), { series: h, xs: f, ys: u };
2102
- } catch (i) {
2103
- return console.error(i), { series: [], xs: [], ys: [] };
2102
+ } catch (o) {
2103
+ return console.error(o), { series: [], xs: [], ys: [] };
2104
2104
  }
2105
2105
  },
2106
2106
  prepareWaterfallData(e) {
2107
- let t = e.reduce((o, i) => o + i, 0);
2108
- const r = [t, ...e], s = r.map((o, i) => {
2109
- if (i === 0) return 0;
2110
- const a = t - o;
2111
- return t -= o, a >= 0 ? a : 0;
2107
+ let t = e.reduce((i, o) => i + o, 0);
2108
+ const r = [t, ...e], s = r.map((i, o) => {
2109
+ if (o === 0) return 0;
2110
+ const a = t - i;
2111
+ return t -= i, a >= 0 ? a : 0;
2112
2112
  });
2113
2113
  return [
2114
2114
  {
@@ -2141,14 +2141,14 @@ const Qe = [
2141
2141
  },
2142
2142
  prepareNegativeWaterfall() {
2143
2143
  const e = this.sourceData.map(
2144
- (o) => Number.isNaN(o[this.dimensions[1]]) ? 0 : Number(o[this.dimensions[1]])
2144
+ (i) => Number.isNaN(i[this.dimensions[1]]) ? 0 : Number(i[this.dimensions[1]])
2145
2145
  ), t = this.sourceData.map(
2146
- (o) => Number.isNaN(o[this.dimensions[2]]) ? 0 : Number(o[this.dimensions[2]])
2146
+ (i) => Number.isNaN(i[this.dimensions[2]]) ? 0 : Number(i[this.dimensions[2]])
2147
2147
  );
2148
2148
  let r = 0;
2149
- const s = e.map((o, i) => {
2149
+ const s = e.map((i, o) => {
2150
2150
  const a = r;
2151
- return r += Number.isNaN(o) ? 0 : o, i === 0 && (r -= Number.isNaN(t[i]) ? 0 : t[i]), r -= Number.isNaN(t[i + 1]) ? 0 : t[i + 1], a >= 0 ? a : 0;
2151
+ return r += Number.isNaN(i) ? 0 : i, o === 0 && (r -= Number.isNaN(t[o]) ? 0 : t[o]), r -= Number.isNaN(t[o + 1]) ? 0 : t[o + 1], a >= 0 ? a : 0;
2152
2152
  });
2153
2153
  return [
2154
2154
  {
@@ -2196,9 +2196,9 @@ const Qe = [
2196
2196
  r[s] = n;
2197
2197
  return r;
2198
2198
  }, fs = ["id"];
2199
- function hs(e, t, r, s, n, o) {
2199
+ function hs(e, t, r, s, n, i) {
2200
2200
  return x(), _("div", {
2201
- id: o.uniqueID,
2201
+ id: i.uniqueID,
2202
2202
  ref: "chart",
2203
2203
  class: "h-full w-full min-h-[200px]"
2204
2204
  }, null, 8, fs);
@@ -2257,11 +2257,11 @@ const ps = /* @__PURE__ */ R(ds, [["render", hs]]), ms = /* @__PURE__ */ Object.
2257
2257
  </div>`;
2258
2258
  },
2259
2259
  prepareData() {
2260
- var e, t, r, s, n, o;
2260
+ var e, t, r, s, n, i;
2261
2261
  try {
2262
2262
  if (this.styleData = this.styleData || {}, !((e = this.sourceData) != null && e.length))
2263
2263
  return console.warn("No source data available"), null;
2264
- const i = Array.from(
2264
+ const o = Array.from(
2265
2265
  new Set(
2266
2266
  (this.sourceData || []).map((d) => d[this.dimensions[0]])
2267
2267
  )
@@ -2275,7 +2275,7 @@ const ps = /* @__PURE__ */ R(ds, [["render", hs]]), ms = /* @__PURE__ */ Object.
2275
2275
  0
2276
2276
  ),
2277
2277
  10
2278
- ), u = i.map((d, p) => {
2278
+ ), u = o.map((d, p) => {
2279
2279
  const b = (a[p] / f * 100).toFixed(2);
2280
2280
  return {
2281
2281
  name: `${d} (${b}%)`,
@@ -2297,7 +2297,7 @@ const ps = /* @__PURE__ */ R(ds, [["render", hs]]), ms = /* @__PURE__ */ Object.
2297
2297
  ...((s = this.styleData) == null ? void 0 : s.legend) || {}
2298
2298
  }), this.styleData.label = ue.getLabelOptions(
2299
2299
  (n = this.styleData) == null ? void 0 : n.label
2300
- ), this.styleData.show_legend = ((o = this.styleData) == null ? void 0 : o.show_legend) ?? !0, { series: [
2300
+ ), this.styleData.show_legend = ((i = this.styleData) == null ? void 0 : i.show_legend) ?? !0, { series: [
2301
2301
  {
2302
2302
  name: this.titleCharts ? this.titleCharts : this.dimensions[0],
2303
2303
  type: "pie",
@@ -2308,8 +2308,8 @@ const ps = /* @__PURE__ */ R(ds, [["render", hs]]), ms = /* @__PURE__ */ Object.
2308
2308
  data: u
2309
2309
  }
2310
2310
  ] };
2311
- } catch (i) {
2312
- return console.error("Error in prepareData:", i), null;
2311
+ } catch (o) {
2312
+ return console.error("Error in prepareData:", o), null;
2313
2313
  }
2314
2314
  },
2315
2315
  async initChart(e) {
@@ -2326,7 +2326,7 @@ const ps = /* @__PURE__ */ R(ds, [["render", hs]]), ms = /* @__PURE__ */ Object.
2326
2326
  this.chartInstance = echarts.init(t);
2327
2327
  const r = parseInt(
2328
2328
  (this.sourceData || []).reduce(
2329
- (n, o) => n + parseFloat((o == null ? void 0 : o.metric) || 0),
2329
+ (n, i) => n + parseFloat((i == null ? void 0 : i.metric) || 0),
2330
2330
  0
2331
2331
  ),
2332
2332
  10
@@ -2365,9 +2365,9 @@ const ps = /* @__PURE__ */ R(ds, [["render", hs]]), ms = /* @__PURE__ */ Object.
2365
2365
  }
2366
2366
  }
2367
2367
  }, bs = ["id"];
2368
- function ws(e, t, r, s, n, o) {
2368
+ function ws(e, t, r, s, n, i) {
2369
2369
  return x(), _("div", {
2370
- id: o.uniqueID,
2370
+ id: i.uniqueID,
2371
2371
  ref: "chart",
2372
2372
  class: "h-full min-h-[200px] flex items-center"
2373
2373
  }, null, 8, bs);
@@ -2429,11 +2429,11 @@ const ys = /* @__PURE__ */ R(gs, [["render", ws]]), xs = /* @__PURE__ */ Object.
2429
2429
  var e, t, r, s, n;
2430
2430
  try {
2431
2431
  this.styleData = this.styleData || {};
2432
- const o = Array.from(
2432
+ const i = Array.from(
2433
2433
  new Set(
2434
2434
  (this.sourceData || []).map((g) => g[this.dimensions[0]])
2435
2435
  )
2436
- ), i = Array.from(
2436
+ ), o = Array.from(
2437
2437
  new Set(
2438
2438
  (this.sourceData || []).map((g) => g[this.dimensions[1]])
2439
2439
  )
@@ -2443,11 +2443,11 @@ const ys = /* @__PURE__ */ R(gs, [["render", ws]]), xs = /* @__PURE__ */ Object.
2443
2443
  0
2444
2444
  ),
2445
2445
  10
2446
- ), f = o.map((g, d) => {
2447
- const p = (i[d] / a * 100).toFixed(2);
2446
+ ), f = i.map((g, d) => {
2447
+ const p = (o[d] / a * 100).toFixed(2);
2448
2448
  return {
2449
2449
  name: `${g} (${p}%)`,
2450
- value: i[d]
2450
+ value: o[d]
2451
2451
  };
2452
2452
  }), u = ((e = this.styleData) == null ? void 0 : e.innerRadius) || "0%", c = ((t = this.styleData) == null ? void 0 : t.outerRadius) || "100%", h = [u, c];
2453
2453
  return this.styleData.legend = ue.getLegendOpions({
@@ -2473,8 +2473,8 @@ const ys = /* @__PURE__ */ R(gs, [["render", ws]]), xs = /* @__PURE__ */ Object.
2473
2473
  data: f
2474
2474
  }
2475
2475
  ] };
2476
- } catch (o) {
2477
- return console.error("Error in prepareData:", o), null;
2476
+ } catch (i) {
2477
+ return console.error("Error in prepareData:", i), null;
2478
2478
  }
2479
2479
  },
2480
2480
  async initChart(e) {
@@ -2514,9 +2514,9 @@ const ys = /* @__PURE__ */ R(gs, [["render", ws]]), xs = /* @__PURE__ */ Object.
2514
2514
  }
2515
2515
  }
2516
2516
  }, Ds = ["id"];
2517
- function ks(e, t, r, s, n, o) {
2517
+ function ks(e, t, r, s, n, i) {
2518
2518
  return x(), _("div", {
2519
- id: o.uniqueID,
2519
+ id: i.uniqueID,
2520
2520
  ref: "chart",
2521
2521
  class: "h-full min-h-[200px] flex items-center"
2522
2522
  }, null, 8, Ds);
@@ -2553,21 +2553,21 @@ const Ss = /* @__PURE__ */ R(_s, [["render", ks]]), vs = /* @__PURE__ */ Object.
2553
2553
  var e, t;
2554
2554
  try {
2555
2555
  const r = Array.from(
2556
- new Set(this.sourceData.map((i) => i[this.dimensions[0]]))
2556
+ new Set(this.sourceData.map((o) => o[this.dimensions[0]]))
2557
2557
  );
2558
2558
  let s;
2559
- this.dimensions[0].includes("date") ? s = r.map((i) => Te(i)) : s = [...r];
2559
+ this.dimensions[0].includes("date") ? s = r.map((o) => Te(o)) : s = [...r];
2560
2560
  const n = this.sourceData.map(
2561
- (i) => parseFloat(i[this.dimensions[1]])
2561
+ (o) => parseFloat(o[this.dimensions[1]])
2562
2562
  );
2563
- let o;
2564
- return (e = this.styleData) != null && e.stack ? o = this.dimensions.slice(1).map((a) => ({
2563
+ let i;
2564
+ return (e = this.styleData) != null && e.stack ? i = this.dimensions.slice(1).map((a) => ({
2565
2565
  name: a,
2566
2566
  type: "line",
2567
2567
  stack: "a",
2568
2568
  areaStyle: this.styleData.area ? {} : null,
2569
2569
  data: this.sourceData.filter((f) => parseFloat(f[a])).map((f) => parseFloat(f[a]))
2570
- })) : o = [
2570
+ })) : i = [
2571
2571
  {
2572
2572
  name: this.title,
2573
2573
  type: "line",
@@ -2575,14 +2575,14 @@ const Ss = /* @__PURE__ */ R(_s, [["render", ks]]), vs = /* @__PURE__ */ Object.
2575
2575
  data: n,
2576
2576
  stack: "a"
2577
2577
  }
2578
- ], { series: o, xs: s };
2578
+ ], { series: i, xs: s };
2579
2579
  } catch (r) {
2580
2580
  return console.error(r), null;
2581
2581
  }
2582
2582
  }
2583
2583
  }
2584
2584
  }, Cs = ["id"];
2585
- function Rs(e, t, r, s, n, o) {
2585
+ function Rs(e, t, r, s, n, i) {
2586
2586
  return x(), _("div", {
2587
2587
  id: n.uniqueID,
2588
2588
  ref: "chart",
@@ -2629,17 +2629,17 @@ const Os = /* @__PURE__ */ R(Es, [["render", Rs]]), Ts = /* @__PURE__ */ Object.
2629
2629
  key: 0,
2630
2630
  class: "absolute top-[-1] left-1/2 transform -translate-x-1/2 -translate-y-full bg-black text-white rounded px-2 py-1"
2631
2631
  }, Us = { class: "h-[calc(100%-20px)] w-full custom-scrollbar" }, js = { class: "grid items-center justify-between grid-cols-2 py-2 gap-x-4" }, Vs = { class: "flex items-center" }, Is = { class: "text-sm text-gray-800" }, zs = { class: "text-end" }, Ms = { class: "text-sm text-gray-500" };
2632
- function qs(e, t, r, s, n, o) {
2632
+ function qs(e, t, r, s, n, i) {
2633
2633
  return x(), _("div", Ns, [
2634
2634
  m("div", As, [
2635
2635
  m("div", Fs, [
2636
2636
  m("div", Ls, [
2637
- (x(!0), _(F, null, P(e.sourceData, (i, a) => {
2637
+ (x(!0), _(F, null, P(e.sourceData, (o, a) => {
2638
2638
  var f, u, c, h;
2639
2639
  return x(), _("div", {
2640
- class: J(["flex flex-col min-w-[5px] justify-center min-h-2.5 h-2.5 text-xs text-white text-center whitespace-nowrap", `bg-[${i.color}]`]),
2640
+ class: J(["flex flex-col min-w-[5px] justify-center min-h-2.5 h-2.5 text-xs text-white text-center whitespace-nowrap", `bg-[${o.color}]`]),
2641
2641
  style: Re({
2642
- width: `${parseFloat(i == null ? void 0 : i[(f = n.columns) == null ? void 0 : f[1]]) / n.sumValue * 100}%`
2642
+ width: `${parseFloat(o == null ? void 0 : o[(f = n.columns) == null ? void 0 : f[1]]) / n.sumValue * 100}%`
2643
2643
  }),
2644
2644
  role: "progressbar",
2645
2645
  "aria-valuenow": "42",
@@ -2653,17 +2653,17 @@ function qs(e, t, r, s, n, o) {
2653
2653
  }), 256))
2654
2654
  ]),
2655
2655
  m("ul", Us, [
2656
- (x(!0), _(F, null, P(e.sourceData, (i) => {
2656
+ (x(!0), _(F, null, P(e.sourceData, (o) => {
2657
2657
  var a, f;
2658
2658
  return x(), _("li", js, [
2659
2659
  m("div", Vs, [
2660
2660
  m("span", {
2661
- class: J(["shrink-0 size-2.5 inline-block rounded-sm me-2.5 min-w-[10px] w-[10px] h-[10px] min-h-[10px]", `bg-[${i.color}]`])
2661
+ class: J(["shrink-0 size-2.5 inline-block rounded-sm me-2.5 min-w-[10px] w-[10px] h-[10px] min-h-[10px]", `bg-[${o.color}]`])
2662
2662
  }, null, 2),
2663
- m("span", Is, E((i == null ? void 0 : i[(a = n.columns) == null ? void 0 : a[0]]) || "Не визначено"), 1)
2663
+ m("span", Is, E((o == null ? void 0 : o[(a = n.columns) == null ? void 0 : a[0]]) || "Не визначено"), 1)
2664
2664
  ]),
2665
2665
  m("div", zs, [
2666
- m("span", Ms, E(o.formattedValue(i == null ? void 0 : i[(f = n.columns) == null ? void 0 : f[1]]) || "-"), 1)
2666
+ m("span", Ms, E(i.formattedValue(o == null ? void 0 : o[(f = n.columns) == null ? void 0 : f[1]]) || "-"), 1)
2667
2667
  ])
2668
2668
  ]);
2669
2669
  }), 256))
@@ -2715,24 +2715,24 @@ const Hs = /* @__PURE__ */ R($s, [["render", qs]]), Ws = /* @__PURE__ */ Object.
2715
2715
  "aria-valuemin": "0",
2716
2716
  "aria-valuemax": "100"
2717
2717
  }, tn = { class: "min-w-[60px] text-end" }, rn = { class: "text-sm text-gray-500" };
2718
- function sn(e, t, r, s, n, o) {
2718
+ function sn(e, t, r, s, n, i) {
2719
2719
  return n.columns ? (x(), _("div", Ks, [
2720
2720
  m("div", Xs, [
2721
2721
  m("ul", Gs, [
2722
- (x(!0), _(F, null, P(e.sourceData, (i, a) => (x(), _("li", Qs, [
2722
+ (x(!0), _(F, null, P(e.sourceData, (o, a) => (x(), _("li", Qs, [
2723
2723
  m("div", Zs, [
2724
- m("span", Ys, E(i[n.columns[0]]), 1),
2724
+ m("span", Ys, E(o[n.columns[0]]), 1),
2725
2725
  m("div", en, [
2726
2726
  m("div", {
2727
2727
  class: "h-1.5 flex flex-col justify-center overflow-hidden bg-indigo-500 rounded-full text-xs text-white text-center whitespace-nowrap",
2728
2728
  style: Re({
2729
- width: `${parseFloat(i[n.columns[1]]) / n.maxValue * 100}%`
2729
+ width: `${parseFloat(o[n.columns[1]]) / n.maxValue * 100}%`
2730
2730
  })
2731
2731
  }, null, 4)
2732
2732
  ])
2733
2733
  ]),
2734
2734
  m("div", tn, [
2735
- m("span", rn, E(o.formattedValue(i[n.columns[1]])), 1)
2735
+ m("span", rn, E(i.formattedValue(o[n.columns[1]])), 1)
2736
2736
  ])
2737
2737
  ]))), 256))
2738
2738
  ])
@@ -2768,10 +2768,10 @@ const nn = /* @__PURE__ */ R(Js, [["render", sn]]), on = /* @__PURE__ */ Object.
2768
2768
  var t, r, s;
2769
2769
  this.columns = Object.keys(((t = this.sourceData) == null ? void 0 : t[0]) || {});
2770
2770
  const e = (r = this.sourceData) == null ? void 0 : r.map((n) => {
2771
- var o;
2772
- return n == null ? void 0 : n[(o = this.columns) == null ? void 0 : o[1]];
2771
+ var i;
2772
+ return n == null ? void 0 : n[(i = this.columns) == null ? void 0 : i[1]];
2773
2773
  });
2774
- this.maxValue = Math.max(...e || []), this.restDimensions = (s = this.columns) == null ? void 0 : s.filter((n, o) => o !== 0);
2774
+ this.maxValue = Math.max(...e || []), this.restDimensions = (s = this.columns) == null ? void 0 : s.filter((n, i) => i !== 0);
2775
2775
  },
2776
2776
  formattedValue(e) {
2777
2777
  return V(e);
@@ -2781,27 +2781,27 @@ const nn = /* @__PURE__ */ R(Js, [["render", sn]]), on = /* @__PURE__ */ Object.
2781
2781
  }
2782
2782
  }
2783
2783
  }, ln = { class: "h-full pt-[20px] list-bar" }, cn = { class: "space-y-2 custom-scrollbar h-full h-[calc(100%-20px)]" }, un = { class: "relative w-full truncate" }, dn = { class: "relative z-[1] text-sm block py-1 px-2 w-full text-sm truncate text-gray-800" }, fn = { class: "text-[14px] text-gray-500" };
2784
- function hn(e, t, r, s, n, o) {
2784
+ function hn(e, t, r, s, n, i) {
2785
2785
  return x(), _("div", ln, [
2786
2786
  m("ul", cn, [
2787
- (x(!0), _(F, null, P(e.sourceData, (i, a) => {
2787
+ (x(!0), _(F, null, P(e.sourceData, (o, a) => {
2788
2788
  var f, u, c;
2789
2789
  return x(), _("li", {
2790
2790
  key: a,
2791
2791
  class: "flex items-center justify-between w-full gap-x-2"
2792
2792
  }, [
2793
2793
  m("div", un, [
2794
- m("span", dn, E((i == null ? void 0 : i[(f = n.columns) == null ? void 0 : f[0]]) || "Без категорії"), 1),
2794
+ m("span", dn, E((o == null ? void 0 : o[(f = n.columns) == null ? void 0 : f[0]]) || "Без категорії"), 1),
2795
2795
  m("div", {
2796
- class: J(["absolute inset-y-0 h-full rounded start-0", i != null && i[(u = n.columns) == null ? void 0 : u[0]] ? "bg-indigo-100" : "bg-gray-100"]),
2797
- style: Re({ width: o.getWidth(i == null ? void 0 : i[(c = n.columns) == null ? void 0 : c[1]]) })
2796
+ class: J(["absolute inset-y-0 h-full rounded start-0", o != null && o[(u = n.columns) == null ? void 0 : u[0]] ? "bg-indigo-100" : "bg-gray-100"]),
2797
+ style: Re({ width: i.getWidth(o == null ? void 0 : o[(c = n.columns) == null ? void 0 : c[1]]) })
2798
2798
  }, null, 6)
2799
2799
  ]),
2800
2800
  (x(!0), _(F, null, P(n.restDimensions, (h, w) => (x(), _("div", {
2801
2801
  key: w,
2802
2802
  class: "w-20 mr-2 text-end"
2803
2803
  }, [
2804
- m("span", fn, E(o.formattedValue(i == null ? void 0 : i[h])), 1)
2804
+ m("span", fn, E(i.formattedValue(o == null ? void 0 : o[h])), 1)
2805
2805
  ]))), 128))
2806
2806
  ]);
2807
2807
  }), 128))
@@ -2825,15 +2825,15 @@ const pn = /* @__PURE__ */ R(an, [["render", hn]]), mn = /* @__PURE__ */ Object.
2825
2825
  },
2826
2826
  emits: ["selected"],
2827
2827
  setup(e, { emit: t }) {
2828
- const r = e, s = t, n = be(!1), o = be(r.value || null), i = be(null), a = Le(() => typeof r.options == "string" ? r.options.split(",").map((g, d) => ({ id: d, text: g.trim() })) : r.options), f = Le(() => {
2828
+ const r = e, s = t, n = be(!1), i = be(r.value || null), o = be(null), a = Le(() => typeof r.options == "string" ? r.options.split(",").map((g, d) => ({ id: d, text: g.trim() })) : r.options), f = Le(() => {
2829
2829
  const g = a.value.find(
2830
- (d) => (d.id || d) === o.value
2830
+ (d) => (d.id || d) === i.value
2831
2831
  );
2832
2832
  return g ? g.text || g : r.title;
2833
2833
  }), u = (g) => {
2834
- o.value = g.id || g, n.value = !1, s("selected", (g == null ? void 0 : g.id) || g), document.removeEventListener("click", c);
2834
+ i.value = g.id || g, n.value = !1, s("selected", (g == null ? void 0 : g.id) || g), document.removeEventListener("click", c);
2835
2835
  }, c = (g) => {
2836
- i.value && !i.value.contains(g.target) && (n.value = !1, document.removeEventListener("click", c));
2836
+ o.value && !o.value.contains(g.target) && (n.value = !1, document.removeEventListener("click", c));
2837
2837
  }, h = () => {
2838
2838
  n.value = !n.value, n.value ? setTimeout(() => {
2839
2839
  document.addEventListener("click", c);
@@ -2867,7 +2867,7 @@ const pn = /* @__PURE__ */ R(an, [["render", hn]]), mn = /* @__PURE__ */ Object.
2867
2867
  n.value ? (x(), _("div", {
2868
2868
  key: 0,
2869
2869
  ref_key: "biDropdown",
2870
- ref: i,
2870
+ ref: o,
2871
2871
  "data-hs-select-dropdown": "",
2872
2872
  class: "absolute mt-2 z-50 w-48 p-1 space-y-0.5 bg-white rounded-xl shadow-[0_10px_40px_10px_rgba(0,0,0,0.08)] dark:bg-neutral-950 opened",
2873
2873
  role: "listbox",
@@ -2882,7 +2882,7 @@ const pn = /* @__PURE__ */ R(an, [["render", hn]]), mn = /* @__PURE__ */ Object.
2882
2882
  }, [
2883
2883
  m("div", bn, [
2884
2884
  m("span", null, E(w(p.text || p)), 1),
2885
- o.value === (p.id || p) ? (x(), _("span", wn, [...d[1] || (d[1] = [
2885
+ i.value === (p.id || p) ? (x(), _("span", wn, [...d[1] || (d[1] = [
2886
2886
  m("svg", {
2887
2887
  class: "shrink-0 h-3.5 w-3.5 text-gray-800 dark:text-neutral-200",
2888
2888
  xmlns: "http:.w3.org/2000/svg",
@@ -2905,19 +2905,19 @@ const pn = /* @__PURE__ */ R(an, [["render", hn]]), mn = /* @__PURE__ */ Object.
2905
2905
  }
2906
2906
  }, xn = {
2907
2907
  "bi-bar": T(() => Promise.resolve().then(() => ms)),
2908
- "bi-number": T(() => import("./vs-number-Dke5ThxE.js")),
2909
- "bi-text": T(() => import("./vs-text-DAq6rCjJ.js")),
2908
+ "bi-number": T(() => import("./vs-number-sHlpEuZn.js")),
2909
+ "bi-text": T(() => import("./vs-text-CK4PX9CJ.js")),
2910
2910
  "bi-listbar": T(() => Promise.resolve().then(() => mn)),
2911
2911
  "bi-pie": T(() => Promise.resolve().then(() => vs)),
2912
2912
  "bi-donut": T(() => Promise.resolve().then(() => xs)),
2913
2913
  "bi-line": T(() => Promise.resolve().then(() => Ts)),
2914
2914
  "bi-stat": T(() => Promise.resolve().then(() => Ws)),
2915
- "bi-pivot": T(() => Promise.resolve().then(() => Po)),
2915
+ "bi-pivot": T(() => Promise.resolve().then(() => Li)),
2916
2916
  "bi-progress": T(() => Promise.resolve().then(() => on)),
2917
- "bi-funnel": T(() => import("./vs-funnel-bar-BdVcgrYG.js")),
2918
- "bi-map": T(() => import("./vs-map-BQwf_Vmm.js")),
2919
- "bi-cluster": T(() => import("./vs-map-cluster-Bu0fgucv.js")),
2920
- "bi-table": T(() => import("./vs-table-C95epuWz.js"))
2917
+ "bi-funnel": T(() => import("./vs-funnel-bar-CyPcyYTP.js")),
2918
+ "bi-map": T(() => import("./vs-map-DesSaN8x.js")),
2919
+ "bi-cluster": T(() => import("./vs-map-cluster-Br3XHcWM.js")),
2920
+ "bi-table": T(() => import("./vs-table-C8ibl5_z.js"))
2921
2921
  }, _n = { class: "flex items-center space-x-2" }, Dn = /* @__PURE__ */ Et({
2922
2922
  __name: "vs-bi-switch",
2923
2923
  props: /* @__PURE__ */ Pe({
@@ -2936,23 +2936,23 @@ const pn = /* @__PURE__ */ R(an, [["render", hn]]), mn = /* @__PURE__ */ Object.
2936
2936
  const r = t, s = Ct(e, "modelValue"), n = () => {
2937
2937
  r("update:is-enabled", s);
2938
2938
  };
2939
- return (o, i) => (x(), _("div", _n, [
2940
- o.leftLabel ? (x(), _("div", {
2939
+ return (i, o) => (x(), _("div", _n, [
2940
+ i.leftLabel ? (x(), _("div", {
2941
2941
  key: 0,
2942
2942
  class: J(["transition-colors", { "text-blue-500": !s.value }])
2943
- }, E(o.leftLabel), 3)) : $("", !0),
2943
+ }, E(i.leftLabel), 3)) : $("", !0),
2944
2944
  Rt(m("input", {
2945
- "onUpdate:modelValue": i[0] || (i[0] = (a) => s.value = a),
2945
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
2946
2946
  type: "checkbox",
2947
2947
  class: "relative w-11 h-6 p-px bg-gray-100 border-transparent text-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:ring-blue-600 disabled:opacity-50 disabled:pointer-events-none checked:bg-none checked:text-blue-600 checked:border-blue-600 focus:checked:border-blue-600 dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-600 before:inline-block before:size-5 before:bg-white checked:before:bg-blue-200 before:translate-x-0 checked:before:translate-x-full before:rounded-full before:shadow before:h-5 before:w-5 before:transform before:ring-0 before:transition before:ease-in-out before:duration-200 dark:before:bg-neutral-400 dark:checked:before:bg-blue-200",
2948
2948
  onChange: n
2949
2949
  }, null, 544), [
2950
2950
  [Ot, s.value]
2951
2951
  ]),
2952
- o.rightLabel ? (x(), _("div", {
2952
+ i.rightLabel ? (x(), _("div", {
2953
2953
  key: 1,
2954
2954
  class: J(["transition-colors", { "text-blue-500": s.value }])
2955
- }, E(o.rightLabel), 3)) : $("", !0)
2955
+ }, E(i.rightLabel), 3)) : $("", !0)
2956
2956
  ]));
2957
2957
  }
2958
2958
  }), kn = {}, Sn = { class: "flex items-center justify-center h-full" };
@@ -2973,7 +2973,7 @@ const En = /* @__PURE__ */ R(kn, [["render", vn]]), Cn = {}, Rn = {
2973
2973
  "stroke-linejoin": "round",
2974
2974
  class: "icon icon-tabler icons-tabler-outline icon-tabler-download"
2975
2975
  };
2976
- function On(e, t, r, s, n, o) {
2976
+ function On(e, t, r, s, n, i) {
2977
2977
  return x(), _("svg", Rn, [...t[0] || (t[0] = [
2978
2978
  m("path", {
2979
2979
  stroke: "none",
@@ -3028,10 +3028,10 @@ const Tn = /* @__PURE__ */ R(Cn, [["render", On]]), $n = {
3028
3028
  var t;
3029
3029
  return Object.keys(((t = this.widgetData) == null ? void 0 : t.controls) || {}).map(
3030
3030
  (r) => {
3031
- var s, n, o;
3031
+ var s, n, i;
3032
3032
  return {
3033
3033
  name: r,
3034
- options: typeof ((s = this.widgetData) == null ? void 0 : s.controls) == "boolean" ? !1 : (o = (n = this.widgetData) == null ? void 0 : n.controls) == null ? void 0 : o[r]
3034
+ options: typeof ((s = this.widgetData) == null ? void 0 : s.controls) == "boolean" ? !1 : (i = (n = this.widgetData) == null ? void 0 : n.controls) == null ? void 0 : i[r]
3035
3035
  };
3036
3036
  }
3037
3037
  );
@@ -3087,48 +3087,48 @@ const Tn = /* @__PURE__ */ R(Cn, [["render", On]]), $n = {
3087
3087
  }, Nn = {
3088
3088
  key: 0,
3089
3089
  class: "text-[16px] flex max-w-full items-center min-h-0 flex justify-between max-h-[50px] h-fit shrink-0"
3090
- }, An = { class: "flex items-center justify-between w-full" }, Fn = { class: "grid" }, Ln = { class: "text-gray-800 max-h-[30px] inline-block text-nowrap font-semibold" }, Pn = { class: "flex flex-col justify-end" }, Bn = {
3090
+ }, An = { class: "flex items-center justify-between w-full" }, Fn = { class: "grid" }, Ln = { class: "text-gray-800 max-h-[30px] inline-block line-clamp-1 font-semibold" }, Pn = { class: "flex flex-col justify-end" }, Bn = {
3091
3091
  key: 0,
3092
3092
  class: "flex items-center justify-end w-full gap-2"
3093
3093
  }, Un = { class: "w-full h-full" };
3094
- function jn(e, t, r, s, n, o) {
3094
+ function jn(e, t, r, s, n, i) {
3095
3095
  var c, h, w, g, d, p, b, S, k;
3096
- const i = j("VsBiDropdown"), a = j("VsBiSwitch"), f = j("IconDownload"), u = j("VsNoDataChart");
3096
+ const o = j("VsBiDropdown"), a = j("VsBiSwitch"), f = j("IconDownload"), u = j("VsNoDataChart");
3097
3097
  return x(), _("div", {
3098
3098
  ref: "widget",
3099
3099
  class: J(["box-border relative h-full p-4 bg-white border border-gray-200 select-auto rounded-xl", [
3100
3100
  (h = (c = n.widgetData) == null ? void 0 : c.style) != null && h.height ? `max-h-[${(g = (w = n.widgetData) == null ? void 0 : w.style) == null ? void 0 : g.height}px] h-[${(p = (d = n.widgetData) == null ? void 0 : d.style) == null ? void 0 : p.height}px]` : "max-h-[460px]"
3101
3101
  ]])
3102
3102
  }, [
3103
- ["text", "cluster", "map"].includes(o.computedType) ? $("", !0) : (x(), _("div", Nn, [
3103
+ ["text", "cluster", "map"].includes(i.computedType) ? $("", !0) : (x(), _("div", Nn, [
3104
3104
  m("div", An, [
3105
3105
  m("div", Fn, [
3106
- m("span", Ln, E(o.computedTitle), 1)
3106
+ m("span", Ln, E(i.computedTitle), 1)
3107
3107
  ]),
3108
3108
  m("div", Pn, [
3109
- (b = o.controls) != null && b.length ? (x(), _("span", Bn, [
3110
- (x(!0), _(F, null, P((S = o.controls) == null ? void 0 : S.filter(
3109
+ (b = i.controls) != null && b.length ? (x(), _("span", Bn, [
3110
+ (x(!0), _(F, null, P((S = i.controls) == null ? void 0 : S.filter(
3111
3111
  (y) => (y == null ? void 0 : y.options) && (y == null ? void 0 : y.name) !== "export"
3112
3112
  ), (y) => {
3113
3113
  var L;
3114
3114
  return x(), _("div", null, [
3115
- Array.isArray(y == null ? void 0 : y.options) ? (x(), I(i, {
3115
+ Array.isArray(y == null ? void 0 : y.options) ? (x(), I(o, {
3116
3116
  key: 0,
3117
3117
  title: y == null ? void 0 : y.name,
3118
3118
  options: y == null ? void 0 : y.options,
3119
3119
  value: (L = n.widgetData) == null ? void 0 : L.data[y == null ? void 0 : y.name],
3120
- onSelected: (C) => o.selectedOptionHandler(C, y == null ? void 0 : y.name)
3120
+ onSelected: (C) => i.selectedOptionHandler(C, y == null ? void 0 : y.name)
3121
3121
  }, null, 8, ["title", "options", "value", "onSelected"])) : typeof y.options == "boolean" ? (x(), I(a, {
3122
3122
  key: 1,
3123
3123
  "left-label": y == null ? void 0 : y.name,
3124
3124
  "is-enabled": y == null ? void 0 : y.options,
3125
- "onUpdate:isEnabled": (C) => o.changeStyleHandler(y == null ? void 0 : y.name, C)
3125
+ "onUpdate:isEnabled": (C) => i.changeStyleHandler(y == null ? void 0 : y.name, C)
3126
3126
  }, null, 8, ["left-label", "is-enabled", "onUpdate:isEnabled"])) : $("", !0)
3127
3127
  ]);
3128
3128
  }), 256)),
3129
- (k = o.controls) != null && k.some((y) => (y == null ? void 0 : y.name) === "export") ? (x(), _("button", {
3129
+ (k = i.controls) != null && k.some((y) => (y == null ? void 0 : y.name) === "export") ? (x(), _("button", {
3130
3130
  key: 0,
3131
- onClick: t[0] || (t[0] = (...y) => o.exportChart && o.exportChart(...y)),
3131
+ onClick: t[0] || (t[0] = (...y) => i.exportChart && i.exportChart(...y)),
3132
3132
  class: "h-[32px] w-[32px] rounded-lg hover:bg-gray-100 duration-100 flex items-center justify-center"
3133
3133
  }, [
3134
3134
  Oe(f, {
@@ -3142,7 +3142,7 @@ function jn(e, t, r, s, n, o) {
3142
3142
  ])
3143
3143
  ])),
3144
3144
  m("div", Un, [
3145
- n.widgetData ? (x(), I(Tt("bi-" + o.computedType), {
3145
+ n.widgetData ? (x(), I(Tt("bi-" + i.computedType), {
3146
3146
  key: 0,
3147
3147
  currentWidget: n.currentWidget,
3148
3148
  "onUpdate:currentWidget": t[1] || (t[1] = (y) => n.currentWidget = y),
@@ -3150,7 +3150,7 @@ function jn(e, t, r, s, n, o) {
3150
3150
  "onUpdate:widgetData": t[2] || (t[2] = (y) => n.widgetData = y),
3151
3151
  ref: "chart",
3152
3152
  dashboard: r.dashboard,
3153
- title: o.computedTitle,
3153
+ title: i.computedTitle,
3154
3154
  widget: r.widget
3155
3155
  }, null, 40, ["currentWidget", "widgetData", "dashboard", "title", "widget"])) : (x(), I(u, {
3156
3156
  key: 1,
@@ -3168,7 +3168,7 @@ const Vn = /* @__PURE__ */ R($n, [["render", jn]]), In = {
3168
3168
  }
3169
3169
  }
3170
3170
  }, zn = { class: "w-full overflow-hidden rounded vs-table-interface__table-wrp h-fit" }, Mn = { class: "p-5 min-h-[500px] flex flex-col justify-center items-center text-center" }, qn = { class: "max-w-sm mx-auto mt-6" }, Hn = { class: "font-medium text-gray-800 dark:text-neutral-200" }, Wn = { class: "mt-2 text-sm text-gray-500 dark:text-neutral-500" };
3171
- function Jn(e, t, r, s, n, o) {
3171
+ function Jn(e, t, r, s, n, i) {
3172
3172
  return x(), _("div", zn, [
3173
3173
  m("div", null, [
3174
3174
  m("div", Mn, [
@@ -3198,7 +3198,7 @@ function Qn(e, t) {
3198
3198
  Ye('<line x1="21" x2="14" y1="4" y2="4"></line><line x1="10" x2="3" y1="4" y2="4"></line><line x1="21" x2="12" y1="12" y2="12"></line><line x1="8" x2="3" y1="12" y2="12"></line><line x1="21" x2="16" y1="20" y2="20"></line><line x1="12" x2="3" y1="20" y2="20"></line><line x1="14" x2="14" y1="2" y2="6"></line><line x1="8" x2="8" y1="10" y2="14"></line><line x1="16" x2="16" y1="18" y2="22"></line>', 9)
3199
3199
  ])]);
3200
3200
  }
3201
- const Zn = /* @__PURE__ */ R(Xn, [["render", Qn]]), Yn = {}, eo = {
3201
+ const Zn = /* @__PURE__ */ R(Xn, [["render", Qn]]), Yn = {}, ei = {
3202
3202
  xmlns: "http://www.w3.org/2000/svg",
3203
3203
  viewBox: "0 0 24 24",
3204
3204
  fill: "none",
@@ -3208,8 +3208,8 @@ const Zn = /* @__PURE__ */ R(Xn, [["render", Qn]]), Yn = {}, eo = {
3208
3208
  "stroke-linejoin": "round",
3209
3209
  class: "icon icon-tabler icons-tabler-outline icon-tabler-refresh"
3210
3210
  };
3211
- function to(e, t) {
3212
- return x(), _("svg", eo, [...t[0] || (t[0] = [
3211
+ function ti(e, t) {
3212
+ return x(), _("svg", ei, [...t[0] || (t[0] = [
3213
3213
  m("path", {
3214
3214
  stroke: "none",
3215
3215
  d: "M0 0h24v24H0z",
@@ -3219,8 +3219,8 @@ function to(e, t) {
3219
3219
  m("path", { d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" }, null, -1)
3220
3220
  ])]);
3221
3221
  }
3222
- const ro = /* @__PURE__ */ R(Yn, [["render", to]]), so = {
3223
- components: { filterIcon: Zn, refreshIcon: ro },
3222
+ const ri = /* @__PURE__ */ R(Yn, [["render", ti]]), si = {
3223
+ components: { filterIcon: Zn, refreshIcon: ri },
3224
3224
  props: ["filterScheme"],
3225
3225
  emits: ["filters:changed"],
3226
3226
  data() {
@@ -3257,13 +3257,13 @@ const ro = /* @__PURE__ */ R(Yn, [["render", to]]), so = {
3257
3257
  this.isFilterVisible && e.classList.contains("filter-container") && (this.isFilterVisible = !1);
3258
3258
  }
3259
3259
  }
3260
- }, no = { class: "flex items-center" }, oo = {
3260
+ }, ni = { class: "flex items-center" }, ii = {
3261
3261
  key: 0,
3262
3262
  class: "font-medium text-[10px] min-w-[16px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full"
3263
3263
  };
3264
- function io(e, t, r, s, n, o) {
3265
- const i = j("filterIcon"), a = j("VsFilterList");
3266
- return x(), _("div", no, [
3264
+ function oi(e, t, r, s, n, i) {
3265
+ const o = j("filterIcon"), a = j("VsFilterList");
3266
+ return x(), _("div", ni, [
3267
3267
  r.filterScheme ? (x(), I(a, {
3268
3268
  key: 0,
3269
3269
  ref: "filter",
@@ -3278,49 +3278,49 @@ function io(e, t, r, s, n, o) {
3278
3278
  name: "filter",
3279
3279
  footer: !0,
3280
3280
  background: !0,
3281
- onFilterChange: o.handleFilterChange
3281
+ onFilterChange: i.handleFilterChange
3282
3282
  }, {
3283
3283
  button: $t(() => [
3284
3284
  m("button", {
3285
3285
  type: "button",
3286
3286
  class: "py-2 px-2.5 ml-3 h-[38px] inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50",
3287
- onClick: t[0] || (t[0] = (...f) => o.toggleFilterShown && o.toggleFilterShown(...f))
3287
+ onClick: t[0] || (t[0] = (...f) => i.toggleFilterShown && i.toggleFilterShown(...f))
3288
3288
  }, [
3289
- Oe(i),
3289
+ Oe(o),
3290
3290
  t[2] || (t[2] = Ze(" Фільтри ", -1)),
3291
- o.activeFiltersCount >= 1 ? (x(), _("span", oo, E(o.activeFiltersCount), 1)) : $("", !0)
3291
+ i.activeFiltersCount >= 1 ? (x(), _("span", ii, E(i.activeFiltersCount), 1)) : $("", !0)
3292
3292
  ])
3293
3293
  ]),
3294
3294
  _: 1
3295
3295
  }, 8, ["scheme", "token", "onFilterChange"])) : $("", !0)
3296
3296
  ]);
3297
3297
  }
3298
- const ao = /* @__PURE__ */ R(so, [["render", io]]), lo = {
3298
+ const ai = /* @__PURE__ */ R(si, [["render", oi]]), li = {
3299
3299
  props: ["dashboardData", "filters"],
3300
- components: { VsFilterHeader: ao }
3301
- }, co = { class: "bg-white px-5 flex gap-4 h-[90px] border border-gray-200 mt-2 rounded-xl mb-2 pt-[3px] justify-between items-center" }, uo = { class: "grow" }, fo = { class: "text-lg font-semibold text-stone-800 dark:text-neutral-200" }, ho = {
3300
+ components: { VsFilterHeader: ai }
3301
+ }, ci = { class: "bg-white px-5 flex gap-4 h-[90px] border border-gray-200 mt-2 rounded-xl mb-2 pt-[3px] justify-between items-center" }, ui = { class: "grow" }, di = { class: "text-lg font-semibold text-stone-800 dark:text-neutral-200" }, fi = {
3302
3302
  type: "button",
3303
3303
  class: "inline-flex items-center text-sm gap-x-2 text-stone-800 hover:text-stone-500 focus:outline-none focus:text-stone-500 dark:text-neutral-200 dark:hover:text-neutral-400 dark:focus:text-neutral-400",
3304
3304
  "data-clipboard-target": "#hs-erc",
3305
3305
  "data-clipboard-action": "copy",
3306
3306
  "data-clipboard-success-text": "Copied"
3307
3307
  };
3308
- function po(e, t, r, s, n, o) {
3308
+ function hi(e, t, r, s, n, i) {
3309
3309
  var a, f;
3310
- const i = j("VsFilterHeader");
3311
- return x(), _("div", co, [
3312
- m("div", uo, [
3313
- m("h1", fo, E((a = r.dashboardData) == null ? void 0 : a.title), 1),
3314
- m("button", ho, E((f = r.dashboardData) == null ? void 0 : f.description), 1)
3310
+ const o = j("VsFilterHeader");
3311
+ return x(), _("div", ci, [
3312
+ m("div", ui, [
3313
+ m("h1", di, E((a = r.dashboardData) == null ? void 0 : a.title), 1),
3314
+ m("button", fi, E((f = r.dashboardData) == null ? void 0 : f.description), 1)
3315
3315
  ]),
3316
- Oe(i, {
3316
+ Oe(o, {
3317
3317
  filterScheme: r.filters,
3318
3318
  "onFilters:changed": t[0] || (t[0] = (u) => e.$emit("filters:changed", u))
3319
3319
  }, null, 8, ["filterScheme"])
3320
3320
  ]);
3321
3321
  }
3322
- const mo = /* @__PURE__ */ R(lo, [["render", po]]), go = {
3323
- components: { VsWidget: Vn, VsNewNodata: Kn, VsHeader: mo },
3322
+ const pi = /* @__PURE__ */ R(li, [["render", hi]]), mi = {
3323
+ components: { VsWidget: Vn, VsNewNodata: Kn, VsHeader: pi },
3324
3324
  props: ["id", "prefix"],
3325
3325
  data() {
3326
3326
  return {
@@ -3363,25 +3363,25 @@ const mo = /* @__PURE__ */ R(lo, [["render", po]]), go = {
3363
3363
  this.filterURl = "";
3364
3364
  let t = "&filter=";
3365
3365
  (r = e == null ? void 0 : e.url) != null && r.length && (e.url.split("|").forEach((n) => {
3366
- const o = n.split("=");
3367
- t += `${o[0]}=${o[1]}`;
3366
+ const i = n.split("=");
3367
+ t += `${i[0]}=${i[1]}`;
3368
3368
  }), this.filterURl += t);
3369
3369
  }
3370
3370
  }
3371
- }, bo = { class: "w-full pb-8 overflow-y-auto" }, wo = { class: "grid flex-grow w-full grid-cols-12 gap-4 h-fit" };
3372
- function yo(e, t, r, s, n, o) {
3371
+ }, gi = { class: "w-full pb-8 overflow-y-auto" }, bi = { class: "grid flex-grow w-full grid-cols-12 gap-4 h-fit" };
3372
+ function wi(e, t, r, s, n, i) {
3373
3373
  var u, c, h;
3374
- const i = j("VsHeader"), a = j("VsNewNodata"), f = j("VsWidget");
3375
- return x(), _("div", bo, [
3374
+ const o = j("VsHeader"), a = j("VsNewNodata"), f = j("VsWidget");
3375
+ return x(), _("div", gi, [
3376
3376
  m("div", null, [
3377
- (u = n.dashboardData) != null && u.filters ? (x(), I(i, {
3377
+ (u = n.dashboardData) != null && u.filters ? (x(), I(o, {
3378
3378
  key: 0,
3379
3379
  filters: (c = n.dashboardData) == null ? void 0 : c.filters,
3380
3380
  dashboardData: n.dashboardData,
3381
- "onFilters:changed": t[0] || (t[0] = (w) => o.filterHandler(w))
3381
+ "onFilters:changed": t[0] || (t[0] = (w) => i.filterHandler(w))
3382
3382
  }, null, 8, ["filters", "dashboardData"])) : $("", !0)
3383
3383
  ]),
3384
- m("div", wo, [
3384
+ m("div", bi, [
3385
3385
  n.error || !n.dashboardData ? (x(), I(a, {
3386
3386
  key: 0,
3387
3387
  class: "col-span-12"
@@ -3411,7 +3411,7 @@ function yo(e, t, r, s, n, o) {
3411
3411
  ])
3412
3412
  ]);
3413
3413
  }
3414
- const si = /* @__PURE__ */ R(go, [["render", yo]]), xo = {
3414
+ const ro = /* @__PURE__ */ R(mi, [["render", wi]]), yi = {
3415
3415
  name: "VsPivotTable",
3416
3416
  mixins: [M],
3417
3417
  data() {
@@ -3445,37 +3445,37 @@ const si = /* @__PURE__ */ R(go, [["render", yo]]), xo = {
3445
3445
  }
3446
3446
  }
3447
3447
  }
3448
- }, _o = { class: "flex flex-col h-full p-5 space-y-4 rounded-xl custom-scrollbar" }, Do = { class: "overflow-x-auto [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 custom-scrollbar" }, ko = { class: "inline-block min-w-full align-middle" }, So = { class: "min-w-full divide-y divide-gray-200" }, vo = { class: "space-x-2" }, Eo = {
3448
+ }, xi = { class: "flex flex-col h-full p-5 space-y-4 rounded-xl custom-scrollbar" }, _i = { class: "overflow-x-auto [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 custom-scrollbar" }, Di = { class: "inline-block min-w-full align-middle" }, ki = { class: "min-w-full divide-y divide-gray-200" }, Si = { class: "space-x-2" }, vi = {
3449
3449
  scope: "col",
3450
3450
  class: "xl:min-w-[120px] min-w-48"
3451
- }, Co = { class: "py-2.5 text-text-start flex items-center gap-x-1 text-sm font-normal text-gray-500" }, Ro = { class: "divide-y divide-gray-200 text-[12px]" }, Oo = { class: "py-3 size-px whitespace-nowrap" }, To = { class: "flex items-center gap-x-3" }, $o = { class: "font-medium text-gray-800" }, No = { class: "py-3 size-px whitespace-nowrap" }, Ao = { class: "text-gray-600" };
3452
- function Fo(e, t, r, s, n, o) {
3453
- return x(), _("div", _o, [
3454
- m("div", Do, [
3455
- m("div", ko, [
3456
- m("table", So, [
3451
+ }, Ei = { class: "py-2.5 text-text-start flex items-center gap-x-1 text-sm font-normal text-gray-500" }, Ci = { class: "divide-y divide-gray-200 text-[12px]" }, Ri = { class: "py-3 size-px whitespace-nowrap" }, Oi = { class: "flex items-center gap-x-3" }, Ti = { class: "font-medium text-gray-800" }, $i = { class: "py-3 size-px whitespace-nowrap" }, Ni = { class: "text-gray-600" };
3452
+ function Ai(e, t, r, s, n, i) {
3453
+ return x(), _("div", xi, [
3454
+ m("div", _i, [
3455
+ m("div", Di, [
3456
+ m("table", ki, [
3457
3457
  m("thead", null, [
3458
- m("tr", vo, [
3458
+ m("tr", Si, [
3459
3459
  t[0] || (t[0] = m("th", {
3460
3460
  scope: "col",
3461
3461
  class: "min-w-[200px]"
3462
3462
  }, [
3463
3463
  m("div", { class: "py-2.5 text-text-start flex items-center gap-x-1 text-sm font-normal text-gray-500" })
3464
3464
  ], -1)),
3465
- (x(!0), _(F, null, P(n.xs, (i) => (x(), _("th", Eo, [
3466
- m("div", Co, E(i), 1)
3465
+ (x(!0), _(F, null, P(n.xs, (o) => (x(), _("th", vi, [
3466
+ m("div", Ei, E(o), 1)
3467
3467
  ]))), 256))
3468
3468
  ])
3469
3469
  ]),
3470
- (x(!0), _(F, null, P(n.values, (i) => (x(), _("tbody", Ro, [
3470
+ (x(!0), _(F, null, P(n.values, (o) => (x(), _("tbody", Ci, [
3471
3471
  m("tr", null, [
3472
- m("td", Oo, [
3473
- m("div", To, [
3474
- m("span", $o, E(i.name), 1)
3472
+ m("td", Ri, [
3473
+ m("div", Oi, [
3474
+ m("span", Ti, E(o.name), 1)
3475
3475
  ])
3476
3476
  ]),
3477
- (x(!0), _(F, null, P(n.xs, (a, f) => (x(), _("td", No, [
3478
- m("span", Ao, E(i.data[f]), 1)
3477
+ (x(!0), _(F, null, P(n.xs, (a, f) => (x(), _("td", $i, [
3478
+ m("span", Ni, E(o.data[f]), 1)
3479
3479
  ]))), 256))
3480
3480
  ])
3481
3481
  ]))), 256))
@@ -3484,9 +3484,9 @@ function Fo(e, t, r, s, n, o) {
3484
3484
  ])
3485
3485
  ]);
3486
3486
  }
3487
- const Lo = /* @__PURE__ */ R(xo, [["render", Fo]]), Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3487
+ const Fi = /* @__PURE__ */ R(yi, [["render", Ai]]), Li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3488
3488
  __proto__: null,
3489
- default: Lo
3489
+ default: Fi
3490
3490
  }, Symbol.toStringTag, { value: "Module" }));
3491
3491
  export {
3492
3492
  ps as V,
@@ -3496,14 +3496,14 @@ export {
3496
3496
  M as c,
3497
3497
  V as d,
3498
3498
  v as e,
3499
- Uo as f,
3499
+ Bi as f,
3500
3500
  Ss as g,
3501
3501
  Os as h,
3502
3502
  Hs as i,
3503
3503
  nn as j,
3504
3504
  pn as k,
3505
- Lo as l,
3506
- si as m,
3505
+ Fi as l,
3506
+ ro as m,
3507
3507
  Vn as n,
3508
3508
  ys as v
3509
3509
  };