mosquitodb-charts 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/mosquitodb-charts.mjs +769 -758
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { computed as Kt, defineComponent as Ft, ref as ie, onBeforeUnmount as zt, onMounted as Vt, openBlock as k, createElementBlock as M, Fragment as Ae, createCommentVNode as le, withDirectives as ut, vShow as ft, createElementVNode as S, toDisplayString as Y, renderList as Ke, pushScopeId as Wt, popScopeId as Ut, normalizeStyle as ot, onActivated as bo, watch as sa, createVNode as Yn, Transition as ci, withCtx as fi, normalizeClass as bt, withModifiers as dn, shallowRef as Br, createBlock as Mt, Teleport as Co, createTextVNode as pi, vModelText as xo, resolveComponent as Ot } from "vue";
1
+ import { computed as Kt, defineComponent as Ft, ref as ie, onBeforeUnmount as Dt, onMounted as Vt, openBlock as k, createElementBlock as O, Fragment as Ae, createCommentVNode as le, withDirectives as ut, vShow as ft, createElementVNode as S, toDisplayString as Y, renderList as Ke, pushScopeId as Wt, popScopeId as Ut, normalizeStyle as ot, onActivated as bo, watch as sa, createVNode as Yn, Transition as ci, withCtx as fi, normalizeClass as bt, withModifiers as dn, shallowRef as Br, createBlock as Ot, Teleport as Co, createTextVNode as pi, vModelText as xo, resolveComponent as Mt } from "vue";
2
2
  import { usePreferenceStore as wo, QueryExecutorService as jt, getDataSource as So, GeoJSONService as To } from "mosquitodb-wrapper";
3
3
  import Z from "highcharts";
4
4
  import bn from "highcharts/modules/exporting";
@@ -9,12 +9,12 @@ import ua from "highcharts/highcharts-more";
9
9
  import Ao from "highcharts/modules/map";
10
10
  import ko from "highcharts/modules/tiledwebmap";
11
11
  import Lo from "highcharts/modules/marker-clusters";
12
- import Oo from "highcharts/modules/series-on-point";
13
- import Mo from "highcharts/modules/geoheatmap";
12
+ import Mo from "highcharts/modules/series-on-point";
13
+ import Oo from "highcharts/modules/geoheatmap";
14
14
  import No from "highcharts/modules/flowmap";
15
15
  import da from "highcharts/modules/heatmap";
16
- import zo from "highcharts/modules/tilemap";
17
- import Do from "highcharts/modules/histogram-bellcurve";
16
+ import Do from "highcharts/modules/tilemap";
17
+ import zo from "highcharts/modules/histogram-bellcurve";
18
18
  import Fo from "highcharts/modules/solid-gauge";
19
19
  import $o from "highcharts/modules/treemap";
20
20
  import Po from "highcharts/modules/sunburst";
@@ -574,7 +574,11 @@ const jr = {
574
574
  allowOverlap: "Allow overlapping labels",
575
575
  tooltip: "Tooltip",
576
576
  fields: "Fields to show",
577
- fieldsHint: "Leave empty to show every field",
577
+ fieldsHint: "Leave empty to show every field. Picked fields show in this order",
578
+ fieldLabels: "Popup labels",
579
+ labelPlaceholder: "Label (default: field name)",
580
+ moveUp: "Move up",
581
+ moveDown: "Move down",
578
582
  titleField: "Title field",
579
583
  titleFieldDefault: "Default",
580
584
  decimals: "Number decimals"
@@ -1401,7 +1405,11 @@ const jr = {
1401
1405
  allowOverlap: "Autoriser le chevauchement des étiquettes",
1402
1406
  tooltip: "Infobulle",
1403
1407
  fields: "Champs à afficher",
1404
- fieldsHint: "Laisser vide pour afficher tous les champs",
1408
+ fieldsHint: "Laisser vide pour afficher tous les champs. Les champs choisis s'affichent dans cet ordre",
1409
+ fieldLabels: "Libellés de l'infobulle",
1410
+ labelPlaceholder: "Libellé (par défaut : nom du champ)",
1411
+ moveUp: "Monter",
1412
+ moveDown: "Descendre",
1405
1413
  titleField: "Champ de titre",
1406
1414
  titleFieldDefault: "Par défaut",
1407
1415
  decimals: "Décimales des nombres"
@@ -1697,7 +1705,7 @@ function $t() {
1697
1705
  return { t: r, language: Kt(() => e.language) };
1698
1706
  }
1699
1707
  const jo = { color: "#F0F0F3", style: { textOutline: "none" } };
1700
- function un({ chart: e, text: r, mutedText: u, titleText: l, grid: p, xGridWidth: g = 0, yGridWidth: s, axisLine: f, tooltip: y, tooltipText: x, legendHidden: w, legendBackground: z, dark: D }) {
1708
+ function un({ chart: e, text: r, mutedText: u, titleText: l, grid: p, xGridWidth: g = 0, yGridWidth: s, axisLine: f, tooltip: y, tooltipText: x, legendHidden: w, legendBackground: D, dark: z }) {
1701
1709
  const te = (K) => {
1702
1710
  const ye = {
1703
1711
  gridLineColor: p,
@@ -1723,7 +1731,7 @@ function un({ chart: e, text: r, mutedText: u, titleText: l, grid: p, xGridWidth
1723
1731
  },
1724
1732
  tooltip: { backgroundColor: y, style: { color: x } }
1725
1733
  };
1726
- return z && (H.legend.backgroundColor = z), D && (H.plotOptions = {
1734
+ return D && (H.legend.backgroundColor = D), z && (H.plotOptions = {
1727
1735
  series: { dataLabels: jo, marker: { lineColor: "#333" } },
1728
1736
  pie: { borderColor: "transparent" },
1729
1737
  boxplot: { fillColor: "#505053" },
@@ -2031,7 +2039,7 @@ function Wo(e) {
2031
2039
  function Uo(e, r) {
2032
2040
  return Z.numberFormat(e, Ze(r) ? -1 : Number(r));
2033
2041
  }
2034
- function Oi(e, r = "") {
2042
+ function Mi(e, r = "") {
2035
2043
  return {
2036
2044
  text: e.display ? e.text : r,
2037
2045
  style: Zn(e.style),
@@ -2119,14 +2127,14 @@ function Bn(e, r, u) {
2119
2127
  Wo(e);
2120
2128
  const { style: l } = e, p = u.singleYAxis ? e.yAxes.slice(0, 1) : e.yAxes, g = [];
2121
2129
  for (const w of e.series) {
2122
- const z = { name: w.label, data: [] };
2123
- if (u.withSeriesType && (z.type = w.type), u.withYAxisIndex && (z.yAxis = w.yAxisIndex), w.type === "errorbar") {
2124
- const D = w.minValueKey ? w.minValueKey : w.maxValueKey;
2125
- for (let te = 0; te < r[D].length; te++)
2126
- z.data.push([r[w.minValueKey][te], r[w.maxValueKey][te]]);
2130
+ const D = { name: w.label, data: [] };
2131
+ if (u.withSeriesType && (D.type = w.type), u.withYAxisIndex && (D.yAxis = w.yAxisIndex), w.type === "errorbar") {
2132
+ const z = w.minValueKey ? w.minValueKey : w.maxValueKey;
2133
+ for (let te = 0; te < r[z].length; te++)
2134
+ D.data.push([r[w.minValueKey][te], r[w.maxValueKey][te]]);
2127
2135
  } else
2128
- z.data = r[w.valueKey];
2129
- Jo(z, w, u.chartType), g.push(z);
2136
+ D.data = r[w.valueKey];
2137
+ Jo(D, w, u.chartType), g.push(D);
2130
2138
  }
2131
2139
  let s = null;
2132
2140
  u.stacking ? s = l.percent ? "percent" : "normal" : u.optionalStacking && (l.stacking === "normal" || l.stacking === "percent") && (s = l.stacking);
@@ -2136,8 +2144,8 @@ function Bn(e, r, u) {
2136
2144
  u.stacking === "column" ? y.column = { stacking: s } : s && (f.stacking = s);
2137
2145
  const x = {
2138
2146
  chart: { type: u.chartType },
2139
- title: Oi(l.title, ""),
2140
- subtitle: Oi(l.subtitle, null),
2147
+ title: Mi(l.title, ""),
2148
+ subtitle: Mi(l.subtitle, null),
2141
2149
  xAxis: ei(e.xAxis, r),
2142
2150
  yAxis: p.map(_n),
2143
2151
  legend: cr(l.legend),
@@ -2160,8 +2168,8 @@ function nn(e, r) {
2160
2168
  ha(e.style);
2161
2169
  const { style: u } = e, l = {
2162
2170
  chart: { type: r },
2163
- title: Oi(u.title, ""),
2164
- subtitle: Oi(u.subtitle, null),
2171
+ title: Mi(u.title, ""),
2172
+ subtitle: Mi(u.subtitle, null),
2165
2173
  legend: cr(u.legend),
2166
2174
  tooltip: ga(u.tooltip, u.numberFormat),
2167
2175
  credits: { enabled: !1 },
@@ -2224,7 +2232,7 @@ function tl(e, r) {
2224
2232
  return e.showValue && u.push(ar(this.y, r.valueDecimals)), e.showPercentage && u.push(ya(this.percentage, r.percentageDecimals)), u.length > 0 ? `${this.name}: ${u.join(" · ")}` : this.name;
2225
2233
  };
2226
2234
  }
2227
- const Dt = {
2235
+ const zt = {
2228
2236
  createDataFrame: (e) => {
2229
2237
  let r = {};
2230
2238
  for (const u of e)
@@ -2262,18 +2270,18 @@ const Dt = {
2262
2270
  },
2263
2271
  align: r.style.subtitle.style.position
2264
2272
  }, s = [];
2265
- for (const z of r.series) {
2266
- let D = {
2273
+ for (const D of r.series) {
2274
+ let z = {
2267
2275
  data: []
2268
2276
  };
2269
2277
  for (const te of u) {
2270
2278
  let H = {
2271
- name: te[z.labelKey],
2272
- y: te[z.valueKey]
2279
+ name: te[D.labelKey],
2280
+ y: te[D.valueKey]
2273
2281
  };
2274
- D.data.push(H);
2282
+ z.data.push(H);
2275
2283
  }
2276
- s.push(D);
2284
+ s.push(z);
2277
2285
  break;
2278
2286
  }
2279
2287
  const { legend: f, pieLabels: y, donut: x } = Yo(r.style), w = {
@@ -2574,21 +2582,21 @@ const nl = Ft({
2574
2582
  function u() {
2575
2583
  l(e.visualization.options, !0);
2576
2584
  }
2577
- function l(w, z) {
2578
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
2579
- const te = Dt.createDataFrame(D);
2580
- g.value = Dt.createHighChartBarObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
2581
- }).catch((D) => {
2582
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.barChart.failedConnect") : y.value = r("charts.barChart.failedQuery");
2585
+ function l(w, D) {
2586
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
2587
+ const te = zt.createDataFrame(z);
2588
+ g.value = zt.createHighChartBarObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
2589
+ }).catch((z) => {
2590
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.barChart.failedConnect") : y.value = r("charts.barChart.failedQuery");
2583
2591
  }).finally(() => {
2584
- z || (p.value = !1);
2592
+ D || (p.value = !1);
2585
2593
  });
2586
2594
  }
2587
2595
  const p = ie(!1), g = ie(null), s = ie(null);
2588
2596
  let f = null;
2589
2597
  const y = ie(null);
2590
2598
  let x = null;
2591
- return zt(() => clearInterval(x)), Vt(() => {
2599
+ return Dt(() => clearInterval(x)), Vt(() => {
2592
2600
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
2593
2601
  }), {
2594
2602
  t: r,
@@ -2646,21 +2654,21 @@ const nl = Ft({
2646
2654
  class: "absolute absolute-center text-center q-pa-sm"
2647
2655
  };
2648
2656
  function hl(e, r, u, l, p, g) {
2649
- return k(), M(Ae, null, [
2650
- e.loading ? (k(), M("div", rl, ol)) : le("", !0),
2651
- e.showTable ? ut((k(), M("div", sl, [
2652
- e.barChartOptions ? (k(), M("table", ul, [
2657
+ return k(), O(Ae, null, [
2658
+ e.loading ? (k(), O("div", rl, ol)) : le("", !0),
2659
+ e.showTable ? ut((k(), O("div", sl, [
2660
+ e.barChartOptions ? (k(), O("table", ul, [
2653
2661
  S("thead", dl, [
2654
2662
  S("tr", null, [
2655
2663
  S("th", cl, Y(e.barChartOptions.xAxis.title.text && e.barChartOptions.xAxis.title.text !== "" ? e.barChartOptions.xAxis.title.text : e.t("charts.barChart.categories")), 1),
2656
- (k(!0), M(Ae, null, Ke(e.barChartOptions.series, (s, f) => (k(), M("th", {
2664
+ (k(!0), O(Ae, null, Ke(e.barChartOptions.series, (s, f) => (k(), O("th", {
2657
2665
  key: s,
2658
2666
  style: { "text-align": "right" }
2659
2667
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.barChart.series")} ${f + 1}`), 1))), 128))
2660
2668
  ]),
2661
- (k(!0), M(Ae, null, Ke(e.barChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
2669
+ (k(!0), O(Ae, null, Ke(e.barChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
2662
2670
  S("td", fl, Y(s), 1),
2663
- (k(!0), M(Ae, null, Ke(e.barChartOptions.series, (y) => (k(), M("td", {
2671
+ (k(!0), O(Ae, null, Ke(e.barChartOptions.series, (y) => (k(), O("td", {
2664
2672
  style: { "text-align": "right" },
2665
2673
  key: y
2666
2674
  }, Y(y.data[f]), 1))), 128))
@@ -2669,10 +2677,10 @@ function hl(e, r, u, l, p, g) {
2669
2677
  ])) : le("", !0)
2670
2678
  ], 512)), [
2671
2679
  [ft, !e.loading && !e.errorMessage]
2672
- ]) : ut((k(), M("div", ll, null, 512)), [
2680
+ ]) : ut((k(), O("div", ll, null, 512)), [
2673
2681
  [ft, !e.loading && !e.errorMessage]
2674
2682
  ]),
2675
- e.errorMessage && !e.loading ? (k(), M("div", pl, Y(e.errorMessage), 1)) : le("", !0)
2683
+ e.errorMessage && !e.loading ? (k(), O("div", pl, Y(e.errorMessage), 1)) : le("", !0)
2676
2684
  ], 64);
2677
2685
  }
2678
2686
  const gl = /* @__PURE__ */ Pt(nl, [["render", hl], ["__scopeId", "data-v-c639500d"]]);
@@ -2721,21 +2729,21 @@ const ml = Ft({
2721
2729
  function u() {
2722
2730
  l(e.visualization.options, !0);
2723
2731
  }
2724
- function l(w, z) {
2725
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
2726
- const te = Dt.createDataFrame(D);
2727
- g.value = Dt.createHighChartColumnObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
2728
- }).catch((D) => {
2729
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.columnChart.failedConnect") : y.value = r("charts.columnChart.failedQuery");
2732
+ function l(w, D) {
2733
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
2734
+ const te = zt.createDataFrame(z);
2735
+ g.value = zt.createHighChartColumnObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
2736
+ }).catch((z) => {
2737
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.columnChart.failedConnect") : y.value = r("charts.columnChart.failedQuery");
2730
2738
  }).finally(() => {
2731
- z || (p.value = !1);
2739
+ D || (p.value = !1);
2732
2740
  });
2733
2741
  }
2734
2742
  const p = ie(!1), g = ie(null), s = ie(null);
2735
2743
  let f = null;
2736
2744
  const y = ie(null);
2737
2745
  let x = null;
2738
- return zt(() => clearInterval(x)), Vt(() => {
2746
+ return Dt(() => clearInterval(x)), Vt(() => {
2739
2747
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
2740
2748
  }), {
2741
2749
  t: r,
@@ -2792,22 +2800,22 @@ const ml = Ft({
2792
2800
  key: 3,
2793
2801
  class: "absolute absolute-center text-center q-pa-sm"
2794
2802
  };
2795
- function Ol(e, r, u, l, p, g) {
2796
- return k(), M(Ae, null, [
2797
- e.loading ? (k(), M("div", vl, Cl)) : le("", !0),
2798
- e.showTable ? ut((k(), M("div", wl, [
2799
- e.columnChartOptions ? (k(), M("table", Sl, [
2803
+ function Ml(e, r, u, l, p, g) {
2804
+ return k(), O(Ae, null, [
2805
+ e.loading ? (k(), O("div", vl, Cl)) : le("", !0),
2806
+ e.showTable ? ut((k(), O("div", wl, [
2807
+ e.columnChartOptions ? (k(), O("table", Sl, [
2800
2808
  S("thead", Tl, [
2801
2809
  S("tr", null, [
2802
2810
  S("th", Al, Y(e.columnChartOptions.xAxis.title.text && e.columnChartOptions.xAxis.title.text !== "" ? e.columnChartOptions.xAxis.title.text : e.t("charts.columnChart.categories")), 1),
2803
- (k(!0), M(Ae, null, Ke(e.columnChartOptions.series, (s, f) => (k(), M("th", {
2811
+ (k(!0), O(Ae, null, Ke(e.columnChartOptions.series, (s, f) => (k(), O("th", {
2804
2812
  key: s,
2805
2813
  style: { "text-align": "right" }
2806
2814
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.columnChart.series")} ${f + 1}`), 1))), 128))
2807
2815
  ]),
2808
- (k(!0), M(Ae, null, Ke(e.columnChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
2816
+ (k(!0), O(Ae, null, Ke(e.columnChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
2809
2817
  S("td", kl, Y(s), 1),
2810
- (k(!0), M(Ae, null, Ke(e.columnChartOptions.series, (y) => (k(), M("td", {
2818
+ (k(!0), O(Ae, null, Ke(e.columnChartOptions.series, (y) => (k(), O("td", {
2811
2819
  style: { "text-align": "right" },
2812
2820
  key: y
2813
2821
  }, Y(y.data[f]), 1))), 128))
@@ -2816,13 +2824,13 @@ function Ol(e, r, u, l, p, g) {
2816
2824
  ])) : le("", !0)
2817
2825
  ], 512)), [
2818
2826
  [ft, !e.loading && !e.errorMessage]
2819
- ]) : ut((k(), M("div", xl, null, 512)), [
2827
+ ]) : ut((k(), O("div", xl, null, 512)), [
2820
2828
  [ft, !e.loading && !e.errorMessage]
2821
2829
  ]),
2822
- e.errorMessage && !e.loading ? (k(), M("div", Ll, Y(e.errorMessage), 1)) : le("", !0)
2830
+ e.errorMessage && !e.loading ? (k(), O("div", Ll, Y(e.errorMessage), 1)) : le("", !0)
2823
2831
  ], 64);
2824
2832
  }
2825
- const Ml = /* @__PURE__ */ Pt(ml, [["render", Ol], ["__scopeId", "data-v-acf8ec08"]]);
2833
+ const Ol = /* @__PURE__ */ Pt(ml, [["render", Ml], ["__scopeId", "data-v-acf8ec08"]]);
2826
2834
  bn(Z);
2827
2835
  Cn(Z);
2828
2836
  xn(Z);
@@ -2876,21 +2884,21 @@ const Nl = Ft({
2876
2884
  function u() {
2877
2885
  l(e.visualization.options, !0);
2878
2886
  }
2879
- function l(w, z) {
2880
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
2881
- const te = Dt.createDataFrame(D);
2882
- g.value = Dt.createHighChartStackedColumnObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
2883
- }).catch((D) => {
2884
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.stackedColumnChart.failedConnect") : y.value = r("charts.stackedColumnChart.failedQuery");
2887
+ function l(w, D) {
2888
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
2889
+ const te = zt.createDataFrame(z);
2890
+ g.value = zt.createHighChartStackedColumnObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
2891
+ }).catch((z) => {
2892
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.stackedColumnChart.failedConnect") : y.value = r("charts.stackedColumnChart.failedQuery");
2885
2893
  }).finally(() => {
2886
- z || (p.value = !1);
2894
+ D || (p.value = !1);
2887
2895
  });
2888
2896
  }
2889
2897
  const p = ie(!1), g = ie(null), s = ie(null);
2890
2898
  let f = null;
2891
2899
  const y = ie(null);
2892
2900
  let x = null;
2893
- return zt(() => clearInterval(x)), Vt(() => {
2901
+ return Dt(() => clearInterval(x)), Vt(() => {
2894
2902
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
2895
2903
  }), {
2896
2904
  t: r,
@@ -2930,11 +2938,11 @@ const Nl = Ft({
2930
2938
  }
2931
2939
  };
2932
2940
  }
2933
- }), zl = (e) => (Wt("data-v-877e6b84"), e = e(), Ut(), e), Dl = {
2941
+ }), Dl = (e) => (Wt("data-v-877e6b84"), e = e(), Ut(), e), zl = {
2934
2942
  key: 0,
2935
2943
  id: "loading-spinner",
2936
2944
  class: "spinner-overlay"
2937
- }, Fl = /* @__PURE__ */ zl(() => /* @__PURE__ */ S("div", { class: "spinner" }, null, -1)), $l = [
2945
+ }, Fl = /* @__PURE__ */ Dl(() => /* @__PURE__ */ S("div", { class: "spinner" }, null, -1)), $l = [
2938
2946
  Fl
2939
2947
  ], Pl = {
2940
2948
  key: 1,
@@ -2948,21 +2956,21 @@ const Nl = Ft({
2948
2956
  class: "absolute absolute-center text-center q-pa-sm"
2949
2957
  };
2950
2958
  function jl(e, r, u, l, p, g) {
2951
- return k(), M(Ae, null, [
2952
- e.loading ? (k(), M("div", Dl, $l)) : le("", !0),
2953
- e.showTable ? ut((k(), M("div", Rl, [
2954
- e.stackedColumnChartOptions ? (k(), M("table", Il, [
2959
+ return k(), O(Ae, null, [
2960
+ e.loading ? (k(), O("div", zl, $l)) : le("", !0),
2961
+ e.showTable ? ut((k(), O("div", Rl, [
2962
+ e.stackedColumnChartOptions ? (k(), O("table", Il, [
2955
2963
  S("thead", El, [
2956
2964
  S("tr", null, [
2957
2965
  S("th", ql, Y(e.stackedColumnChartOptions.xAxis.title.text && e.stackedColumnChartOptions.xAxis.title.text !== "" ? e.stackedColumnChartOptions.xAxis.title.text : e.t("charts.stackedColumnChart.categories")), 1),
2958
- (k(!0), M(Ae, null, Ke(e.stackedColumnChartOptions.series, (s, f) => (k(), M("th", {
2966
+ (k(!0), O(Ae, null, Ke(e.stackedColumnChartOptions.series, (s, f) => (k(), O("th", {
2959
2967
  key: s,
2960
2968
  style: { "text-align": "right" }
2961
2969
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.stackedColumnChart.series")} ${f + 1}`), 1))), 128))
2962
2970
  ]),
2963
- (k(!0), M(Ae, null, Ke(e.stackedColumnChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
2971
+ (k(!0), O(Ae, null, Ke(e.stackedColumnChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
2964
2972
  S("td", Bl, Y(s), 1),
2965
- (k(!0), M(Ae, null, Ke(e.stackedColumnChartOptions.series, (y) => (k(), M("td", {
2973
+ (k(!0), O(Ae, null, Ke(e.stackedColumnChartOptions.series, (y) => (k(), O("td", {
2966
2974
  style: { "text-align": "right" },
2967
2975
  key: y
2968
2976
  }, Y(y.data[f]), 1))), 128))
@@ -2971,10 +2979,10 @@ function jl(e, r, u, l, p, g) {
2971
2979
  ])) : le("", !0)
2972
2980
  ], 512)), [
2973
2981
  [ft, !e.loading && !e.errorMessage]
2974
- ]) : ut((k(), M("div", Pl, null, 512)), [
2982
+ ]) : ut((k(), O("div", Pl, null, 512)), [
2975
2983
  [ft, !e.loading && !e.errorMessage]
2976
2984
  ]),
2977
- e.errorMessage && !e.loading ? (k(), M("div", Vl, Y(e.errorMessage), 1)) : le("", !0)
2985
+ e.errorMessage && !e.loading ? (k(), O("div", Vl, Y(e.errorMessage), 1)) : le("", !0)
2978
2986
  ], 64);
2979
2987
  }
2980
2988
  const _l = /* @__PURE__ */ Pt(Nl, [["render", jl], ["__scopeId", "data-v-877e6b84"]]);
@@ -3031,21 +3039,21 @@ const Hl = Ft({
3031
3039
  function u() {
3032
3040
  l(e.visualization.options, !0);
3033
3041
  }
3034
- function l(w, z) {
3035
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
3036
- const te = Dt.createDataFrame(D);
3037
- g.value = Dt.createHighChartStackedBarObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3038
- }).catch((D) => {
3039
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.stackedBarChart.failedConnect") : y.value = r("charts.stackedBarChart.failedQuery");
3042
+ function l(w, D) {
3043
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
3044
+ const te = zt.createDataFrame(z);
3045
+ g.value = zt.createHighChartStackedBarObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3046
+ }).catch((z) => {
3047
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.stackedBarChart.failedConnect") : y.value = r("charts.stackedBarChart.failedQuery");
3040
3048
  }).finally(() => {
3041
- z || (p.value = !1);
3049
+ D || (p.value = !1);
3042
3050
  });
3043
3051
  }
3044
3052
  const p = ie(!1), g = ie(null), s = ie(null);
3045
3053
  let f = null;
3046
3054
  const y = ie(null);
3047
3055
  let x = null;
3048
- return zt(() => clearInterval(x)), Vt(() => {
3056
+ return Dt(() => clearInterval(x)), Vt(() => {
3049
3057
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
3050
3058
  }), {
3051
3059
  t: r,
@@ -3103,21 +3111,21 @@ const Hl = Ft({
3103
3111
  class: "absolute absolute-center text-center q-pa-sm"
3104
3112
  };
3105
3113
  function ns(e, r, u, l, p, g) {
3106
- return k(), M(Ae, null, [
3107
- e.loading ? (k(), M("div", Wl, Gl)) : le("", !0),
3108
- e.showTable ? ut((k(), M("div", Ql, [
3109
- e.stackedBarChartOptions ? (k(), M("table", Xl, [
3114
+ return k(), O(Ae, null, [
3115
+ e.loading ? (k(), O("div", Wl, Gl)) : le("", !0),
3116
+ e.showTable ? ut((k(), O("div", Ql, [
3117
+ e.stackedBarChartOptions ? (k(), O("table", Xl, [
3110
3118
  S("thead", Yl, [
3111
3119
  S("tr", null, [
3112
3120
  S("th", Zl, Y(e.stackedBarChartOptions.xAxis.title.text && e.stackedBarChartOptions.xAxis.title.text !== "" ? e.stackedBarChartOptions.xAxis.title.text : e.t("charts.stackedBarChart.categories")), 1),
3113
- (k(!0), M(Ae, null, Ke(e.stackedBarChartOptions.series, (s, f) => (k(), M("th", {
3121
+ (k(!0), O(Ae, null, Ke(e.stackedBarChartOptions.series, (s, f) => (k(), O("th", {
3114
3122
  key: s,
3115
3123
  style: { "text-align": "right" }
3116
3124
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.stackedBarChart.series")} ${f + 1}`), 1))), 128))
3117
3125
  ]),
3118
- (k(!0), M(Ae, null, Ke(e.stackedBarChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
3126
+ (k(!0), O(Ae, null, Ke(e.stackedBarChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
3119
3127
  S("td", es, Y(s), 1),
3120
- (k(!0), M(Ae, null, Ke(e.stackedBarChartOptions.series, (y) => (k(), M("td", {
3128
+ (k(!0), O(Ae, null, Ke(e.stackedBarChartOptions.series, (y) => (k(), O("td", {
3121
3129
  style: { "text-align": "right" },
3122
3130
  key: y
3123
3131
  }, Y(y.data[f]), 1))), 128))
@@ -3126,10 +3134,10 @@ function ns(e, r, u, l, p, g) {
3126
3134
  ])) : le("", !0)
3127
3135
  ], 512)), [
3128
3136
  [ft, !e.loading && !e.errorMessage]
3129
- ]) : ut((k(), M("div", Jl, null, 512)), [
3137
+ ]) : ut((k(), O("div", Jl, null, 512)), [
3130
3138
  [ft, !e.loading && !e.errorMessage]
3131
3139
  ]),
3132
- e.errorMessage && !e.loading ? (k(), M("div", ts, Y(e.errorMessage), 1)) : le("", !0)
3140
+ e.errorMessage && !e.loading ? (k(), O("div", ts, Y(e.errorMessage), 1)) : le("", !0)
3133
3141
  ], 64);
3134
3142
  }
3135
3143
  const is = /* @__PURE__ */ Pt(Hl, [["render", ns], ["__scopeId", "data-v-4b1189eb"]]);
@@ -3178,21 +3186,21 @@ const rs = Ft({
3178
3186
  function u() {
3179
3187
  l(e.visualization.options, !0);
3180
3188
  }
3181
- function l(w, z) {
3182
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
3183
- const te = Dt.createDataFrame(D);
3184
- g.value = Dt.createHighChartLineObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3185
- }).catch((D) => {
3186
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.lineChart.failedConnect") : y.value = r("charts.lineChart.failedQuery");
3189
+ function l(w, D) {
3190
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
3191
+ const te = zt.createDataFrame(z);
3192
+ g.value = zt.createHighChartLineObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3193
+ }).catch((z) => {
3194
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.lineChart.failedConnect") : y.value = r("charts.lineChart.failedQuery");
3187
3195
  }).finally(() => {
3188
- z || (p.value = !1);
3196
+ D || (p.value = !1);
3189
3197
  });
3190
3198
  }
3191
3199
  const p = ie(!1), g = ie(null), s = ie(null);
3192
3200
  let f = null;
3193
3201
  const y = ie(null);
3194
3202
  let x = null;
3195
- return zt(() => clearInterval(x)), Vt(() => {
3203
+ return Dt(() => clearInterval(x)), Vt(() => {
3196
3204
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
3197
3205
  }), {
3198
3206
  t: r,
@@ -3250,21 +3258,21 @@ const rs = Ft({
3250
3258
  class: "absolute absolute-center text-center q-pa-sm"
3251
3259
  };
3252
3260
  function ms(e, r, u, l, p, g) {
3253
- return k(), M(Ae, null, [
3254
- e.loading ? (k(), M("div", os, ss)) : le("", !0),
3255
- e.showTable ? ut((k(), M("div", ds, [
3256
- e.lineChartOptions ? (k(), M("table", cs, [
3261
+ return k(), O(Ae, null, [
3262
+ e.loading ? (k(), O("div", os, ss)) : le("", !0),
3263
+ e.showTable ? ut((k(), O("div", ds, [
3264
+ e.lineChartOptions ? (k(), O("table", cs, [
3257
3265
  S("thead", fs, [
3258
3266
  S("tr", null, [
3259
3267
  S("th", ps, Y(e.lineChartOptions.xAxis.title.text && e.lineChartOptions.xAxis.title.text !== "" ? e.lineChartOptions.xAxis.title.text : e.t("charts.lineChart.categories")), 1),
3260
- (k(!0), M(Ae, null, Ke(e.lineChartOptions.series, (s, f) => (k(), M("th", {
3268
+ (k(!0), O(Ae, null, Ke(e.lineChartOptions.series, (s, f) => (k(), O("th", {
3261
3269
  key: s,
3262
3270
  style: { "text-align": "right" }
3263
3271
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.lineChart.series")} ${f + 1}`), 1))), 128))
3264
3272
  ]),
3265
- (k(!0), M(Ae, null, Ke(e.lineChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
3273
+ (k(!0), O(Ae, null, Ke(e.lineChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
3266
3274
  S("td", hs, Y(s), 1),
3267
- (k(!0), M(Ae, null, Ke(e.lineChartOptions.series, (y) => (k(), M("td", {
3275
+ (k(!0), O(Ae, null, Ke(e.lineChartOptions.series, (y) => (k(), O("td", {
3268
3276
  style: { "text-align": "right" },
3269
3277
  key: y
3270
3278
  }, Y(y.data[f]), 1))), 128))
@@ -3273,10 +3281,10 @@ function ms(e, r, u, l, p, g) {
3273
3281
  ])) : le("", !0)
3274
3282
  ], 512)), [
3275
3283
  [ft, !e.loading && !e.errorMessage]
3276
- ]) : ut((k(), M("div", us, null, 512)), [
3284
+ ]) : ut((k(), O("div", us, null, 512)), [
3277
3285
  [ft, !e.loading && !e.errorMessage]
3278
3286
  ]),
3279
- e.errorMessage && !e.loading ? (k(), M("div", gs, Y(e.errorMessage), 1)) : le("", !0)
3287
+ e.errorMessage && !e.loading ? (k(), O("div", gs, Y(e.errorMessage), 1)) : le("", !0)
3280
3288
  ], 64);
3281
3289
  }
3282
3290
  const ys = /* @__PURE__ */ Pt(rs, [["render", ms], ["__scopeId", "data-v-25285499"]]);
@@ -3333,22 +3341,22 @@ const vs = Ft({
3333
3341
  function u() {
3334
3342
  l(e.visualization.options, !0);
3335
3343
  }
3336
- function l(w, z) {
3337
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
3338
- g.value = Dt.createHighChartPieObject(e.visualization.type, w, D), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3339
- }).catch((D) => {
3340
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.pieChart.failedConnect") : y.value = r("charts.pieChart.failedQuery");
3344
+ function l(w, D) {
3345
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
3346
+ g.value = zt.createHighChartPieObject(e.visualization.type, w, z), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3347
+ }).catch((z) => {
3348
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.pieChart.failedConnect") : y.value = r("charts.pieChart.failedQuery");
3341
3349
  }).finally(() => {
3342
- z || (p.value = !1);
3350
+ D || (p.value = !1);
3343
3351
  });
3344
3352
  }
3345
3353
  const p = ie(!1), g = ie(null), s = ie(null);
3346
3354
  let f = null;
3347
3355
  const y = ie(null);
3348
3356
  let x = null;
3349
- return zt(() => clearInterval(x)), Vt(() => {
3357
+ return Dt(() => clearInterval(x)), Vt(() => {
3350
3358
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
3351
- }), zt(() => {
3359
+ }), Dt(() => {
3352
3360
  f && f.destroy();
3353
3361
  }), {
3354
3362
  t: r,
@@ -3401,35 +3409,35 @@ const vs = Ft({
3401
3409
  }, Ts = { key: 2 }, As = {
3402
3410
  key: 0,
3403
3411
  class: "table-data"
3404
- }, ks = { style: { "background-color": "#e8e8e8" } }, Ls = { style: { "text-align": "left" } }, Os = { style: { "text-align": "right" } }, Ms = { style: { "text-align": "left" } }, Ns = { style: { "text-align": "right" } }, zs = {
3412
+ }, ks = { style: { "background-color": "#e8e8e8" } }, Ls = { style: { "text-align": "left" } }, Ms = { style: { "text-align": "right" } }, Os = { style: { "text-align": "left" } }, Ns = { style: { "text-align": "right" } }, Ds = {
3405
3413
  key: 3,
3406
3414
  class: "absolute absolute-center text-center q-pa-sm"
3407
3415
  };
3408
- function Ds(e, r, u, l, p, g) {
3409
- return k(), M(Ae, null, [
3410
- e.loading ? (k(), M("div", Cs, ws)) : le("", !0),
3411
- e.showTable ? ut((k(), M("div", Ts, [
3412
- e.pieChartOptions ? (k(), M("table", As, [
3416
+ function zs(e, r, u, l, p, g) {
3417
+ return k(), O(Ae, null, [
3418
+ e.loading ? (k(), O("div", Cs, ws)) : le("", !0),
3419
+ e.showTable ? ut((k(), O("div", Ts, [
3420
+ e.pieChartOptions ? (k(), O("table", As, [
3413
3421
  S("thead", ks, [
3414
3422
  S("tr", null, [
3415
3423
  S("th", Ls, Y(e.t("charts.pieChart.category")), 1),
3416
- S("th", Os, Y(e.t("charts.pieChart.series")), 1)
3424
+ S("th", Ms, Y(e.t("charts.pieChart.series")), 1)
3417
3425
  ]),
3418
- e.pieChartOptions.series && e.pieChartOptions.series.length > 0 ? (k(!0), M(Ae, { key: 0 }, Ke(e.pieChartOptions.series[0].data, (s, f) => (k(), M("tr", { key: s }, [
3419
- S("td", Ms, Y(s.name), 1),
3426
+ e.pieChartOptions.series && e.pieChartOptions.series.length > 0 ? (k(!0), O(Ae, { key: 0 }, Ke(e.pieChartOptions.series[0].data, (s, f) => (k(), O("tr", { key: s }, [
3427
+ S("td", Os, Y(s.name), 1),
3420
3428
  S("td", Ns, Y(s.y), 1)
3421
3429
  ]))), 128)) : le("", !0)
3422
3430
  ])
3423
3431
  ])) : le("", !0)
3424
3432
  ], 512)), [
3425
3433
  [ft, !e.loading && !e.errorMessage]
3426
- ]) : ut((k(), M("div", Ss, null, 512)), [
3434
+ ]) : ut((k(), O("div", Ss, null, 512)), [
3427
3435
  [ft, !e.loading && !e.errorMessage]
3428
3436
  ]),
3429
- e.errorMessage && !e.loading ? (k(), M("div", zs, Y(e.errorMessage), 1)) : le("", !0)
3437
+ e.errorMessage && !e.loading ? (k(), O("div", Ds, Y(e.errorMessage), 1)) : le("", !0)
3430
3438
  ], 64);
3431
3439
  }
3432
- const Fs = /* @__PURE__ */ Pt(vs, [["render", Ds], ["__scopeId", "data-v-3624216a"]]);
3440
+ const Fs = /* @__PURE__ */ Pt(vs, [["render", zs], ["__scopeId", "data-v-3624216a"]]);
3433
3441
  function $s() {
3434
3442
  return {
3435
3443
  decimals: null,
@@ -3476,8 +3484,8 @@ const Rs = Ft({
3476
3484
  },
3477
3485
  setup(e) {
3478
3486
  const { t: r } = $t();
3479
- function u(D, te) {
3480
- for (const H of D.series) {
3487
+ function u(z, te) {
3488
+ for (const H of z.series) {
3481
3489
  for (const K of te)
3482
3490
  return K[H.valueKey];
3483
3491
  break;
@@ -3487,9 +3495,9 @@ const Rs = Ft({
3487
3495
  function l() {
3488
3496
  p(e.visualization.options, !0);
3489
3497
  }
3490
- function p(D, te) {
3498
+ function p(z, te) {
3491
3499
  te || (g.value = !0, w.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((H) => {
3492
- s.value = u(D, H), w.value = null;
3500
+ s.value = u(z, H), w.value = null;
3493
3501
  }).catch((H) => {
3494
3502
  H.response ? w.value = `${H.response.data.message}` : H.request ? w.value = r("tablesValue.mSingleValue.failedToConnect") : w.value = r("tablesValue.mSingleValue.failedToProcess");
3495
3503
  }).finally(() => {
@@ -3497,17 +3505,17 @@ const Rs = Ft({
3497
3505
  });
3498
3506
  }
3499
3507
  const g = ie(!1), s = ie(null), f = Kt(() => e.visualization.options.style.value || $s()), y = Kt(() => Ps(s.value, f.value)), x = Kt(() => {
3500
- const D = f.value.style || {};
3508
+ const z = f.value.style || {};
3501
3509
  return {
3502
- fontSize: D.size || "10vw",
3503
- color: D.color || null,
3504
- fontWeight: D.fontWeight || null,
3505
- fontStyle: D.fontStyle || null
3510
+ fontSize: z.size || "10vw",
3511
+ color: z.color || null,
3512
+ fontWeight: z.fontWeight || null,
3513
+ fontStyle: z.fontStyle || null
3506
3514
  };
3507
3515
  }), w = ie(null);
3508
- let z = null;
3509
- return zt(() => clearInterval(z)), Vt(() => {
3510
- p(e.visualization.options, !1), e.dataRefreshPeriod && (z = setInterval(l, e.dataRefreshPeriod));
3516
+ let D = null;
3517
+ return Dt(() => clearInterval(D)), Vt(() => {
3518
+ p(e.visualization.options, !1), e.dataRefreshPeriod && (D = setInterval(l, e.dataRefreshPeriod));
3511
3519
  }), {
3512
3520
  t: r,
3513
3521
  value: s,
@@ -3515,12 +3523,12 @@ const Rs = Ft({
3515
3523
  errorMessage: w,
3516
3524
  formattedValue: y,
3517
3525
  valueStyle: x,
3518
- getStyle(D) {
3526
+ getStyle(z) {
3519
3527
  return {
3520
- fontSize: D && D.size ? D.size : "1.2em",
3521
- color: D && D.color ? D.color : null,
3522
- fontWeight: D && D.fontWeight ? D.fontWeight : null,
3523
- fontStyle: D && D.fontStyle ? D.fontStyle : null
3528
+ fontSize: z && z.size ? z.size : "1.2em",
3529
+ color: z && z.color ? z.color : null,
3530
+ fontWeight: z && z.fontWeight ? z.fontWeight : null,
3531
+ fontStyle: z && z.fontStyle ? z.fontStyle : null
3524
3532
  };
3525
3533
  }
3526
3534
  };
@@ -3545,12 +3553,12 @@ const Rs = Ft({
3545
3553
  class: "absolute absolute-center text-center q-pa-sm"
3546
3554
  };
3547
3555
  function Us(e, r, u, l, p, g) {
3548
- return k(), M(Ae, null, [
3549
- e.loading ? (k(), M("div", Es, Bs)) : le("", !0),
3556
+ return k(), O(Ae, null, [
3557
+ e.loading ? (k(), O("div", Es, Bs)) : le("", !0),
3550
3558
  ut(S("div", Vs, [
3551
3559
  S("div", js, [
3552
- e.visualization.options.style.title.display || e.visualization.options.style.subtitle.display ? (k(), M("div", _s, [
3553
- e.visualization.options.style.title.display ? (k(), M("div", {
3560
+ e.visualization.options.style.title.display || e.visualization.options.style.subtitle.display ? (k(), O("div", _s, [
3561
+ e.visualization.options.style.title.display ? (k(), O("div", {
3554
3562
  key: 0,
3555
3563
  style: ot({ textAlign: e.visualization.options.style.title.style.position }),
3556
3564
  class: ""
@@ -3559,7 +3567,7 @@ function Us(e, r, u, l, p, g) {
3559
3567
  style: ot(e.getStyle(e.visualization.options.style.title.style))
3560
3568
  }, Y(e.visualization.options.style.title.text), 5)
3561
3569
  ], 4)) : le("", !0),
3562
- e.visualization.options.style.subtitle.display ? (k(), M("div", {
3570
+ e.visualization.options.style.subtitle.display ? (k(), O("div", {
3563
3571
  key: 1,
3564
3572
  style: ot({ textAlign: e.visualization.options.style.subtitle.style.position }),
3565
3573
  class: ""
@@ -3580,7 +3588,7 @@ function Us(e, r, u, l, p, g) {
3580
3588
  ], 512), [
3581
3589
  [ft, !e.loading && !e.errorMessage]
3582
3590
  ]),
3583
- e.errorMessage && !e.loading ? (k(), M("div", Ws, Y(e.errorMessage), 1)) : le("", !0)
3591
+ e.errorMessage && !e.loading ? (k(), O("div", Ws, Y(e.errorMessage), 1)) : le("", !0)
3584
3592
  ], 64);
3585
3593
  }
3586
3594
  const Gs = /* @__PURE__ */ Pt(Rs, [["render", Us], ["__scopeId", "data-v-b7c5f21c"]]);
@@ -3629,21 +3637,21 @@ const Js = Ft({
3629
3637
  function u() {
3630
3638
  l(e.visualization.options, !0);
3631
3639
  }
3632
- function l(w, z) {
3633
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
3634
- const te = Dt.createDataFrame(D);
3635
- g.value = Dt.createHighChartAreaObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3636
- }).catch((D) => {
3637
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.areaChart.failedConnect") : y.value = r("charts.areaChart.failedQuery");
3640
+ function l(w, D) {
3641
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
3642
+ const te = zt.createDataFrame(z);
3643
+ g.value = zt.createHighChartAreaObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3644
+ }).catch((z) => {
3645
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.areaChart.failedConnect") : y.value = r("charts.areaChart.failedQuery");
3638
3646
  }).finally(() => {
3639
- z || (p.value = !1);
3647
+ D || (p.value = !1);
3640
3648
  });
3641
3649
  }
3642
3650
  const p = ie(!1), g = ie(null), s = ie(null);
3643
3651
  let f = null;
3644
3652
  const y = ie(null);
3645
3653
  let x = null;
3646
- return zt(() => clearInterval(x)), Vt(() => {
3654
+ return Dt(() => clearInterval(x)), Vt(() => {
3647
3655
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
3648
3656
  }), {
3649
3657
  t: r,
@@ -3701,21 +3709,21 @@ const Js = Ft({
3701
3709
  class: "absolute absolute-center text-center q-pa-sm"
3702
3710
  };
3703
3711
  function lu(e, r, u, l, p, g) {
3704
- return k(), M(Ae, null, [
3705
- e.loading ? (k(), M("div", Xs, Zs)) : le("", !0),
3706
- e.showTable ? ut((k(), M("div", tu, [
3707
- e.areaChartOptions ? (k(), M("table", nu, [
3712
+ return k(), O(Ae, null, [
3713
+ e.loading ? (k(), O("div", Xs, Zs)) : le("", !0),
3714
+ e.showTable ? ut((k(), O("div", tu, [
3715
+ e.areaChartOptions ? (k(), O("table", nu, [
3708
3716
  S("thead", iu, [
3709
3717
  S("tr", null, [
3710
3718
  S("th", ru, Y(e.areaChartOptions.xAxis.title.text && e.areaChartOptions.xAxis.title.text !== "" ? e.areaChartOptions.xAxis.title.text : e.t("charts.areaChart.categories")), 1),
3711
- (k(!0), M(Ae, null, Ke(e.areaChartOptions.series, (s, f) => (k(), M("th", {
3719
+ (k(!0), O(Ae, null, Ke(e.areaChartOptions.series, (s, f) => (k(), O("th", {
3712
3720
  key: s,
3713
3721
  style: { "text-align": "right" }
3714
3722
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.areaChart.series")} ${f + 1}`), 1))), 128))
3715
3723
  ]),
3716
- (k(!0), M(Ae, null, Ke(e.areaChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
3724
+ (k(!0), O(Ae, null, Ke(e.areaChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
3717
3725
  S("td", au, Y(s), 1),
3718
- (k(!0), M(Ae, null, Ke(e.areaChartOptions.series, (y) => (k(), M("td", {
3726
+ (k(!0), O(Ae, null, Ke(e.areaChartOptions.series, (y) => (k(), O("td", {
3719
3727
  style: { "text-align": "right" },
3720
3728
  key: y
3721
3729
  }, Y(y.data[f]), 1))), 128))
@@ -3724,10 +3732,10 @@ function lu(e, r, u, l, p, g) {
3724
3732
  ])) : le("", !0)
3725
3733
  ], 512)), [
3726
3734
  [ft, !e.loading && !e.errorMessage]
3727
- ]) : ut((k(), M("div", eu, null, 512)), [
3735
+ ]) : ut((k(), O("div", eu, null, 512)), [
3728
3736
  [ft, !e.loading && !e.errorMessage]
3729
3737
  ]),
3730
- e.errorMessage && !e.loading ? (k(), M("div", ou, Y(e.errorMessage), 1)) : le("", !0)
3738
+ e.errorMessage && !e.loading ? (k(), O("div", ou, Y(e.errorMessage), 1)) : le("", !0)
3731
3739
  ], 64);
3732
3740
  }
3733
3741
  const su = /* @__PURE__ */ Pt(Js, [["render", lu], ["__scopeId", "data-v-e575a72c"]]);
@@ -3777,21 +3785,21 @@ const uu = Ft({
3777
3785
  function u() {
3778
3786
  l(e.visualization.options, !0);
3779
3787
  }
3780
- function l(w, z) {
3781
- z || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
3782
- const te = Dt.createDataFrame(D);
3783
- g.value = Dt.createHighChartErrorBarObject(e.visualization.type, w, te), s.value && (z ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3784
- }).catch((D) => {
3785
- D.response ? y.value = `${D.response.data.message}` : D.request ? y.value = r("charts.errorBarChart.failedConnect") : y.value = r("charts.errorBarChart.failedQuery") + D;
3788
+ function l(w, D) {
3789
+ D || (p.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
3790
+ const te = zt.createDataFrame(z);
3791
+ g.value = zt.createHighChartErrorBarObject(e.visualization.type, w, te), s.value && (D ? f.update(g.value, !0, !0) : f = Z.chart(s.value, g.value)), y.value = null;
3792
+ }).catch((z) => {
3793
+ z.response ? y.value = `${z.response.data.message}` : z.request ? y.value = r("charts.errorBarChart.failedConnect") : y.value = r("charts.errorBarChart.failedQuery") + z;
3786
3794
  }).finally(() => {
3787
- z || (p.value = !1);
3795
+ D || (p.value = !1);
3788
3796
  });
3789
3797
  }
3790
3798
  const p = ie(!1), g = ie(null), s = ie(null);
3791
3799
  let f = null;
3792
3800
  const y = ie(null);
3793
3801
  let x = null;
3794
- return zt(() => clearInterval(x)), Vt(() => {
3802
+ return Dt(() => clearInterval(x)), Vt(() => {
3795
3803
  l(e.visualization.options, !1), e.dataRefreshPeriod && (x = setInterval(u, e.dataRefreshPeriod));
3796
3804
  }), {
3797
3805
  t: r,
@@ -3849,21 +3857,21 @@ const uu = Ft({
3849
3857
  class: "absolute absolute-center text-center q-pa-sm"
3850
3858
  };
3851
3859
  function xu(e, r, u, l, p, g) {
3852
- return k(), M(Ae, null, [
3853
- e.loading ? (k(), M("div", cu, pu)) : le("", !0),
3854
- e.showTable ? ut((k(), M("div", gu, [
3855
- e.errorBarChartOptions ? (k(), M("table", mu, [
3860
+ return k(), O(Ae, null, [
3861
+ e.loading ? (k(), O("div", cu, pu)) : le("", !0),
3862
+ e.showTable ? ut((k(), O("div", gu, [
3863
+ e.errorBarChartOptions ? (k(), O("table", mu, [
3856
3864
  S("thead", yu, [
3857
3865
  S("tr", null, [
3858
3866
  S("th", vu, Y(e.errorBarChartOptions.xAxis.title.text && e.errorBarChartOptions.xAxis.title.text !== "" ? e.errorBarChartOptions.xAxis.title.text : e.t("charts.errorBarChart.categories")), 1),
3859
- (k(!0), M(Ae, null, Ke(e.errorBarChartOptions.series, (s, f) => (k(), M("th", {
3867
+ (k(!0), O(Ae, null, Ke(e.errorBarChartOptions.series, (s, f) => (k(), O("th", {
3860
3868
  key: s,
3861
3869
  style: { "text-align": "right" }
3862
3870
  }, Y(s.name && s.name !== "" ? s.name : `${e.t("charts.errorBarChart.series")} ${f + 1}`), 1))), 128))
3863
3871
  ]),
3864
- (k(!0), M(Ae, null, Ke(e.errorBarChartOptions.xAxis.categories, (s, f) => (k(), M("tr", { key: s }, [
3872
+ (k(!0), O(Ae, null, Ke(e.errorBarChartOptions.xAxis.categories, (s, f) => (k(), O("tr", { key: s }, [
3865
3873
  S("td", bu, Y(s), 1),
3866
- (k(!0), M(Ae, null, Ke(e.errorBarChartOptions.series, (y) => (k(), M("td", {
3874
+ (k(!0), O(Ae, null, Ke(e.errorBarChartOptions.series, (y) => (k(), O("td", {
3867
3875
  style: { "text-align": "right" },
3868
3876
  key: y
3869
3877
  }, Y(y.data[f]), 1))), 128))
@@ -3872,10 +3880,10 @@ function xu(e, r, u, l, p, g) {
3872
3880
  ])) : le("", !0)
3873
3881
  ], 512)), [
3874
3882
  [ft, !e.loading && !e.errorMessage]
3875
- ]) : ut((k(), M("div", hu, null, 512)), [
3883
+ ]) : ut((k(), O("div", hu, null, 512)), [
3876
3884
  [ft, !e.loading && !e.errorMessage]
3877
3885
  ]),
3878
- e.errorMessage && !e.loading ? (k(), M("div", Cu, Y(e.errorMessage), 1)) : le("", !0)
3886
+ e.errorMessage && !e.loading ? (k(), O("div", Cu, Y(e.errorMessage), 1)) : le("", !0)
3879
3887
  ], 64);
3880
3888
  }
3881
3889
  const wu = /* @__PURE__ */ Pt(uu, [["render", xu], ["__scopeId", "data-v-4548fde2"]]);
@@ -3908,7 +3916,7 @@ function ba() {
3908
3916
  return l.flat.call(t);
3909
3917
  } : function(t) {
3910
3918
  return l.concat.apply([], t);
3911
- }, f = l.push, y = l.indexOf, x = {}, w = x.toString, z = x.hasOwnProperty, D = z.toString, te = D.call(Object), H = {}, K = function(n) {
3919
+ }, f = l.push, y = l.indexOf, x = {}, w = x.toString, D = x.hasOwnProperty, z = D.toString, te = z.call(Object), H = {}, K = function(n) {
3912
3920
  return typeof n == "function" && typeof n.nodeType != "number" && typeof n.item != "function";
3913
3921
  }, ye = function(n) {
3914
3922
  return n != null && n === n.window;
@@ -3929,7 +3937,7 @@ function ba() {
3929
3937
  function re(t) {
3930
3938
  return t == null ? t + "" : typeof t == "object" || typeof t == "function" ? x[w.call(t)] || "object" : typeof t;
3931
3939
  }
3932
- var Fe = "3.7.1", De = /HTML$/i, o = function(t, n) {
3940
+ var Fe = "3.7.1", ze = /HTML$/i, o = function(t, n) {
3933
3941
  return new o.fn.init(t, n);
3934
3942
  };
3935
3943
  o.fn = o.prototype = {
@@ -4011,7 +4019,7 @@ function ba() {
4011
4019
  },
4012
4020
  isPlainObject: function(t) {
4013
4021
  var n, i;
4014
- return !t || w.call(t) !== "[object Object]" ? !1 : (n = p(t), n ? (i = z.call(n, "constructor") && n.constructor, typeof i == "function" && D.call(i) === te) : !0);
4022
+ return !t || w.call(t) !== "[object Object]" ? !1 : (n = p(t), n ? (i = D.call(n, "constructor") && n.constructor, typeof i == "function" && z.call(i) === te) : !0);
4015
4023
  },
4016
4024
  isEmptyObject: function(t) {
4017
4025
  var n;
@@ -4056,7 +4064,7 @@ function ba() {
4056
4064
  },
4057
4065
  isXMLDoc: function(t) {
4058
4066
  var n = t && t.namespaceURI, i = t && (t.ownerDocument || t).documentElement;
4059
- return !De.test(n || i && i.nodeName || "HTML");
4067
+ return !ze.test(n || i && i.nodeName || "HTML");
4060
4068
  },
4061
4069
  // Support: Android <=4.0 only, PhantomJS 1 only
4062
4070
  // push.apply(_, arraylike) throws on ancient WebKit
@@ -4110,11 +4118,11 @@ function ba() {
4110
4118
  (t.contains ? t.contains(i) : t.compareDocumentPosition && t.compareDocumentPosition(i) & 16));
4111
4119
  };
4112
4120
  var $ = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
4113
- function O(t, n) {
4121
+ function M(t, n) {
4114
4122
  return n ? t === "\0" ? "�" : t.slice(0, -1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " " : "\\" + t;
4115
4123
  }
4116
4124
  o.escapeSelector = function(t) {
4117
- return (t + "").replace($, O);
4125
+ return (t + "").replace($, M);
4118
4126
  };
4119
4127
  var N = X, E = f;
4120
4128
  (function() {
@@ -4136,11 +4144,11 @@ function ba() {
4136
4144
  // For use in libraries implementing .is()
4137
4145
  // We use this for POS matching in `select`
4138
4146
  needsContext: new RegExp("^" + b + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + b + "*((?:-\\d)?\\d*)" + b + "*\\)|)(?=[^-]|$)", "i")
4139
- }, Mn = /^(?:input|select|textarea|button)$/i, Nn = /^h\d$/i, en = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Ui = /[+~]/, An = new RegExp("\\\\[\\da-fA-F]{1,6}" + b + "?|\\\\([^\\r\\n\\f])", "g"), kn = function(m, A) {
4147
+ }, On = /^(?:input|select|textarea|button)$/i, Nn = /^h\d$/i, en = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Ui = /[+~]/, An = new RegExp("\\\\[\\da-fA-F]{1,6}" + b + "?|\\\\([^\\r\\n\\f])", "g"), kn = function(m, A) {
4140
4148
  var F = "0x" + m.slice(1) - 65536;
4141
4149
  return A || (F < 0 ? String.fromCharCode(F + 65536) : String.fromCharCode(F >> 10 | 55296, F & 1023 | 56320));
4142
4150
  }, fo = function() {
4143
- zn();
4151
+ Dn();
4144
4152
  }, po = Ti(
4145
4153
  function(m) {
4146
4154
  return m.disabled === !0 && G(m, "fieldset");
@@ -4169,10 +4177,10 @@ function ba() {
4169
4177
  };
4170
4178
  }
4171
4179
  function rt(m, A, F, I) {
4172
- var V, ne, de, he, ce, _e, ze, Ee = A && A.ownerDocument, He = A ? A.nodeType : 9;
4180
+ var V, ne, de, he, ce, _e, De, Ee = A && A.ownerDocument, He = A ? A.nodeType : 9;
4173
4181
  if (F = F || [], typeof m != "string" || !m || He !== 1 && He !== 9 && He !== 11)
4174
4182
  return F;
4175
- if (!I && (zn(A), A = A || h, v)) {
4183
+ if (!I && (Dn(A), A = A || h, v)) {
4176
4184
  if (He !== 11 && (ce = en.exec(m)))
4177
4185
  if (V = ce[1]) {
4178
4186
  if (He === 9)
@@ -4190,15 +4198,15 @@ function ba() {
4190
4198
  return c.apply(F, A.getElementsByClassName(V)), F;
4191
4199
  }
4192
4200
  if (!xt[m + " "] && (!L || !L.test(m))) {
4193
- if (ze = m, Ee = A, He === 1 && (Wi.test(m) || si.test(m))) {
4201
+ if (De = m, Ee = A, He === 1 && (Wi.test(m) || si.test(m))) {
4194
4202
  for (Ee = Ui.test(m) && Gi(A.parentNode) || A, (Ee != A || !H.scope) && ((he = A.getAttribute("id")) ? he = o.escapeSelector(he) : A.setAttribute("id", he = j)), _e = di(m), ne = _e.length; ne--; )
4195
4203
  _e[ne] = (he ? "#" + he : ":scope") + " " + Si(_e[ne]);
4196
- ze = _e.join(",");
4204
+ De = _e.join(",");
4197
4205
  }
4198
4206
  try {
4199
4207
  return c.apply(
4200
4208
  F,
4201
- Ee.querySelectorAll(ze)
4209
+ Ee.querySelectorAll(De)
4202
4210
  ), F;
4203
4211
  } catch {
4204
4212
  xt(m, !0);
@@ -4256,7 +4264,7 @@ function ba() {
4256
4264
  function Gi(m) {
4257
4265
  return m && typeof m.getElementsByTagName < "u" && m;
4258
4266
  }
4259
- function zn(m) {
4267
+ function Dn(m) {
4260
4268
  var A, F = m ? m.ownerDocument || m : N;
4261
4269
  return F == h || F.nodeType !== 9 || !F.documentElement || (h = F, C = h.documentElement, v = !o.isXMLDoc(h), q = C.matches || C.webkitMatchesSelector || C.msMatchesSelector, C.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
4262
4270
  // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
@@ -4323,7 +4331,7 @@ function ba() {
4323
4331
  rt.matches = function(m, A) {
4324
4332
  return rt(m, null, null, A);
4325
4333
  }, rt.matchesSelector = function(m, A) {
4326
- if (zn(m), v && !xt[A + " "] && (!L || !L.test(A)))
4334
+ if (Dn(m), v && !xt[A + " "] && (!L || !L.test(A)))
4327
4335
  try {
4328
4336
  var F = q.call(m, A);
4329
4337
  if (F || H.disconnectedMatch || // As well, disconnected nodes are said to be in a document
@@ -4335,10 +4343,10 @@ function ba() {
4335
4343
  }
4336
4344
  return rt(A, h, null, [m]).length > 0;
4337
4345
  }, rt.contains = function(m, A) {
4338
- return (m.ownerDocument || m) != h && zn(m), o.contains(m, A);
4346
+ return (m.ownerDocument || m) != h && Dn(m), o.contains(m, A);
4339
4347
  }, rt.attr = function(m, A) {
4340
- (m.ownerDocument || m) != h && zn(m);
4341
- var F = n.attrHandle[A.toLowerCase()], I = F && z.call(n.attrHandle, A.toLowerCase()) ? F(m, A, !v) : void 0;
4348
+ (m.ownerDocument || m) != h && Dn(m);
4349
+ var F = n.attrHandle[A.toLowerCase()], I = F && D.call(n.attrHandle, A.toLowerCase()) ? F(m, A, !v) : void 0;
4342
4350
  return I !== void 0 ? I : m.getAttribute(A);
4343
4351
  }, rt.error = function(m) {
4344
4352
  throw new Error("Syntax error, unrecognized expression: " + m);
@@ -4410,8 +4418,8 @@ function ba() {
4410
4418
  function(ce) {
4411
4419
  return !!ce.parentNode;
4412
4420
  }
4413
- ) : function(ce, _e, ze) {
4414
- var Ee, He, Se, st, qt, St = ne !== de ? "nextSibling" : "previousSibling", tn = ce.parentNode, vn = he && ce.nodeName.toLowerCase(), Xn = !ze && !he, Lt = !1;
4421
+ ) : function(ce, _e, De) {
4422
+ var Ee, He, Se, st, qt, St = ne !== de ? "nextSibling" : "previousSibling", tn = ce.parentNode, vn = he && ce.nodeName.toLowerCase(), Xn = !De && !he, Lt = !1;
4415
4423
  if (tn) {
4416
4424
  if (ne) {
4417
4425
  for (; St; ) {
@@ -4451,8 +4459,8 @@ function ba() {
4451
4459
  not: sn(function(m) {
4452
4460
  var A = [], F = [], I = Yi(m.replace(T, "$1"));
4453
4461
  return I[j] ? sn(function(V, ne, de, he) {
4454
- for (var ce, _e = I(V, null, he, []), ze = V.length; ze--; )
4455
- (ce = _e[ze]) && (V[ze] = !(ne[ze] = ce));
4462
+ for (var ce, _e = I(V, null, he, []), De = V.length; De--; )
4463
+ (ce = _e[De]) && (V[De] = !(ne[De] = ce));
4456
4464
  }) : function(V, ne, de) {
4457
4465
  return A[0] = V, I(A, null, de, F), A[0] = null, !F.pop();
4458
4466
  };
@@ -4519,7 +4527,7 @@ function ba() {
4519
4527
  return Nn.test(m.nodeName);
4520
4528
  },
4521
4529
  input: function(m) {
4522
- return Mn.test(m.nodeName);
4530
+ return On.test(m.nodeName);
4523
4531
  },
4524
4532
  button: function(m) {
4525
4533
  return G(m, "input") && m.type === "button" || G(m, "button");
@@ -4604,19 +4612,19 @@ function ba() {
4604
4612
  var I = A.dir, V = A.next, ne = V || I, de = F && ne === "parentNode", he = Q++;
4605
4613
  return A.first ? (
4606
4614
  // Check against closest ancestor/preceding element
4607
- function(ce, _e, ze) {
4615
+ function(ce, _e, De) {
4608
4616
  for (; ce = ce[I]; )
4609
4617
  if (ce.nodeType === 1 || de)
4610
- return m(ce, _e, ze);
4618
+ return m(ce, _e, De);
4611
4619
  return !1;
4612
4620
  }
4613
4621
  ) : (
4614
4622
  // Check against all ancestor/preceding elements
4615
- function(ce, _e, ze) {
4623
+ function(ce, _e, De) {
4616
4624
  var Ee, He, Se = [P, he];
4617
- if (ze) {
4625
+ if (De) {
4618
4626
  for (; ce = ce[I]; )
4619
- if ((ce.nodeType === 1 || de) && m(ce, _e, ze))
4627
+ if ((ce.nodeType === 1 || de) && m(ce, _e, De))
4620
4628
  return !0;
4621
4629
  } else
4622
4630
  for (; ce = ce[I]; )
@@ -4626,7 +4634,7 @@ function ba() {
4626
4634
  else {
4627
4635
  if ((Ee = He[ne]) && Ee[0] === P && Ee[1] === he)
4628
4636
  return Se[2] = Ee[2];
4629
- if (He[ne] = Se, Se[2] = m(ce, _e, ze))
4637
+ if (He[ne] = Se, Se[2] = m(ce, _e, De))
4630
4638
  return !0;
4631
4639
  }
4632
4640
  return !1;
@@ -4653,7 +4661,7 @@ function ba() {
4653
4661
  }
4654
4662
  function Qi(m, A, F, I, V, ne) {
4655
4663
  return I && !I[j] && (I = Qi(I)), V && !V[j] && (V = Qi(V, ne)), sn(function(de, he, ce, _e) {
4656
- var ze, Ee, He, Se, st = [], qt = [], St = he.length, tn = de || yo(
4664
+ var De, Ee, He, Se, st = [], qt = [], St = he.length, tn = de || yo(
4657
4665
  A || "*",
4658
4666
  ce.nodeType ? [ce] : ce,
4659
4667
  []
@@ -4665,17 +4673,17 @@ function ba() {
4665
4673
  // ...otherwise use results directly
4666
4674
  he
4667
4675
  ), F(vn, Se, ce, _e)) : Se = vn, I)
4668
- for (ze = Ai(Se, qt), I(ze, [], ce, _e), Ee = ze.length; Ee--; )
4669
- (He = ze[Ee]) && (Se[qt[Ee]] = !(vn[qt[Ee]] = He));
4676
+ for (De = Ai(Se, qt), I(De, [], ce, _e), Ee = De.length; Ee--; )
4677
+ (He = De[Ee]) && (Se[qt[Ee]] = !(vn[qt[Ee]] = He));
4670
4678
  if (de) {
4671
4679
  if (V || m) {
4672
4680
  if (V) {
4673
- for (ze = [], Ee = Se.length; Ee--; )
4674
- (He = Se[Ee]) && ze.push(vn[Ee] = He);
4675
- V(null, Se = [], ze, _e);
4681
+ for (De = [], Ee = Se.length; Ee--; )
4682
+ (He = Se[Ee]) && De.push(vn[Ee] = He);
4683
+ V(null, Se = [], De, _e);
4676
4684
  }
4677
4685
  for (Ee = Se.length; Ee--; )
4678
- (He = Se[Ee]) && (ze = V ? y.call(de, He) : st[Ee]) > -1 && (de[ze] = !(he[ze] = He));
4686
+ (He = Se[Ee]) && (De = V ? y.call(de, He) : st[Ee]) > -1 && (de[De] = !(he[De] = He));
4679
4687
  }
4680
4688
  } else
4681
4689
  Se = Ai(
@@ -4688,18 +4696,18 @@ function ba() {
4688
4696
  return Ee === A;
4689
4697
  }, de, !0), _e = Ti(function(Ee) {
4690
4698
  return y.call(A, Ee) > -1;
4691
- }, de, !0), ze = [function(Ee, He, Se) {
4699
+ }, de, !0), De = [function(Ee, He, Se) {
4692
4700
  var st = !ne && (Se || He != i) || ((A = He).nodeType ? ce(Ee, He, Se) : _e(Ee, He, Se));
4693
4701
  return A = null, st;
4694
4702
  }]; he < V; he++)
4695
4703
  if (F = n.relative[m[he].type])
4696
- ze = [Ti(Ji(ze), F)];
4704
+ De = [Ti(Ji(De), F)];
4697
4705
  else {
4698
4706
  if (F = n.filter[m[he].type].apply(null, m[he].matches), F[j]) {
4699
4707
  for (I = ++he; I < V && !n.relative[m[I].type]; I++)
4700
4708
  ;
4701
4709
  return Qi(
4702
- he > 1 && Ji(ze),
4710
+ he > 1 && Ji(De),
4703
4711
  he > 1 && Si(
4704
4712
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
4705
4713
  m.slice(0, he - 1).concat({ value: m[he - 2].type === " " ? "*" : "" })
@@ -4710,23 +4718,23 @@ function ba() {
4710
4718
  I < V && Si(m)
4711
4719
  );
4712
4720
  }
4713
- ze.push(F);
4721
+ De.push(F);
4714
4722
  }
4715
- return Ji(ze);
4723
+ return Ji(De);
4716
4724
  }
4717
4725
  function vo(m, A) {
4718
4726
  var F = A.length > 0, I = m.length > 0, V = function(ne, de, he, ce, _e) {
4719
- var ze, Ee, He, Se = 0, st = "0", qt = ne && [], St = [], tn = i, vn = ne || I && n.find.TAG("*", _e), Xn = P += tn == null ? 1 : Math.random() || 0.1, Lt = vn.length;
4720
- for (_e && (i = de == h || de || _e); st !== Lt && (ze = vn[st]) != null; st++) {
4721
- if (I && ze) {
4722
- for (Ee = 0, !de && ze.ownerDocument != h && (zn(ze), he = !v); He = m[Ee++]; )
4723
- if (He(ze, de || h, he)) {
4724
- c.call(ce, ze);
4727
+ var De, Ee, He, Se = 0, st = "0", qt = ne && [], St = [], tn = i, vn = ne || I && n.find.TAG("*", _e), Xn = P += tn == null ? 1 : Math.random() || 0.1, Lt = vn.length;
4728
+ for (_e && (i = de == h || de || _e); st !== Lt && (De = vn[st]) != null; st++) {
4729
+ if (I && De) {
4730
+ for (Ee = 0, !de && De.ownerDocument != h && (Dn(De), he = !v); He = m[Ee++]; )
4731
+ if (He(De, de || h, he)) {
4732
+ c.call(ce, De);
4725
4733
  break;
4726
4734
  }
4727
4735
  _e && (P = Xn);
4728
4736
  }
4729
- F && ((ze = !He && ze) && Se--, ne && qt.push(ze));
4737
+ F && ((De = !He && De) && Se--, ne && qt.push(De));
4730
4738
  }
4731
4739
  if (Se += st, F && st !== Se) {
4732
4740
  for (Ee = 0; He = A[Ee++]; )
@@ -4756,9 +4764,9 @@ function ba() {
4756
4764
  return ne;
4757
4765
  }
4758
4766
  function qr(m, A, F, I) {
4759
- var V, ne, de, he, ce, _e = typeof m == "function" && m, ze = !I && di(m = _e.selector || m);
4760
- if (F = F || [], ze.length === 1) {
4761
- if (ne = ze[0] = ze[0].slice(0), ne.length > 2 && (de = ne[0]).type === "ID" && A.nodeType === 9 && v && n.relative[ne[1].type]) {
4767
+ var V, ne, de, he, ce, _e = typeof m == "function" && m, De = !I && di(m = _e.selector || m);
4768
+ if (F = F || [], De.length === 1) {
4769
+ if (ne = De[0] = De[0].slice(0), ne.length > 2 && (de = ne[0]).type === "ID" && A.nodeType === 9 && v && n.relative[ne[1].type]) {
4762
4770
  if (A = (n.find.ID(
4763
4771
  de.matches[0].replace(An, kn),
4764
4772
  A
@@ -4778,7 +4786,7 @@ function ba() {
4778
4786
  break;
4779
4787
  }
4780
4788
  }
4781
- return (_e || Yi(m, ze))(
4789
+ return (_e || Yi(m, De))(
4782
4790
  I,
4783
4791
  A,
4784
4792
  !v,
@@ -4786,9 +4794,9 @@ function ba() {
4786
4794
  !A || Ui.test(m) && Gi(A.parentNode) || A
4787
4795
  ), F;
4788
4796
  }
4789
- H.sortStable = j.split("").sort(vt).join("") === j, zn(), H.sortDetached = Qn(function(m) {
4797
+ H.sortStable = j.split("").sort(vt).join("") === j, Dn(), H.sortDetached = Qn(function(m) {
4790
4798
  return m.compareDocumentPosition(h.createElement("fieldset")) & 1;
4791
- }), o.find = rt, o.expr[":"] = o.expr.pseudos, o.unique = o.uniqueSort, rt.compile = Yi, rt.select = qr, rt.setDocument = zn, rt.tokenize = di, rt.escape = o.escapeSelector, rt.getText = o.text, rt.isXML = o.isXMLDoc, rt.selectors = o.expr, rt.support = o.support, rt.uniqueSort = o.uniqueSort;
4799
+ }), o.find = rt, o.expr[":"] = o.expr.pseudos, o.unique = o.uniqueSort, rt.compile = Yi, rt.select = qr, rt.setDocument = Dn, rt.tokenize = di, rt.escape = o.escapeSelector, rt.getText = o.text, rt.isXML = o.isXMLDoc, rt.selectors = o.expr, rt.support = o.support, rt.uniqueSort = o.uniqueSort;
4792
4800
  })();
4793
4801
  var B = function(t, n, i) {
4794
4802
  for (var a = [], d = i !== void 0; (t = t[n]) && t.nodeType !== 9; )
@@ -5230,9 +5238,9 @@ function ba() {
5230
5238
  return c.promise();
5231
5239
  }
5232
5240
  });
5233
- var Oe = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
5241
+ var Me = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
5234
5242
  o.Deferred.exceptionHook = function(t, n) {
5235
- r.console && r.console.warn && t && Oe.test(t.name) && r.console.warn(
5243
+ r.console && r.console.warn && t && Me.test(t.name) && r.console.warn(
5236
5244
  "jQuery.Deferred exception: " + t.message,
5237
5245
  t.stack,
5238
5246
  n
@@ -5258,10 +5266,10 @@ function ba() {
5258
5266
  (t === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, !(t !== !0 && --o.readyWait > 0) && nt.resolveWith(X, [o]));
5259
5267
  }
5260
5268
  }), o.ready.then = nt.then;
5261
- function Me() {
5262
- X.removeEventListener("DOMContentLoaded", Me), r.removeEventListener("load", Me), o.ready();
5269
+ function Oe() {
5270
+ X.removeEventListener("DOMContentLoaded", Oe), r.removeEventListener("load", Oe), o.ready();
5263
5271
  }
5264
- X.readyState === "complete" || X.readyState !== "loading" && !X.documentElement.doScroll ? r.setTimeout(o.ready) : (X.addEventListener("DOMContentLoaded", Me), r.addEventListener("load", Me));
5272
+ X.readyState === "complete" || X.readyState !== "loading" && !X.documentElement.doScroll ? r.setTimeout(o.ready) : (X.addEventListener("DOMContentLoaded", Oe), r.addEventListener("load", Oe));
5265
5273
  var Ue = function(t, n, i, a, d, c, h) {
5266
5274
  var C = 0, v = t.length, L = i == null;
5267
5275
  if (re(i) === "object") {
@@ -5859,7 +5867,7 @@ function ba() {
5859
5867
  function It(t, n) {
5860
5868
  return G(t, "table") && G(n.nodeType !== 11 ? n : n.firstChild, "tr") && o(t).children("tbody")[0] || t;
5861
5869
  }
5862
- function On(t) {
5870
+ function Mn(t) {
5863
5871
  return t.type = (t.getAttribute("type") !== null) + "/" + t.type, t;
5864
5872
  }
5865
5873
  function ct(t) {
@@ -5890,7 +5898,7 @@ function ba() {
5890
5898
  Pe && (n[0] = Q.call(this, Ye, Be.html())), kt(Be, n, i, a);
5891
5899
  });
5892
5900
  if (j && (d = Tn(n, t[0].ownerDocument, !1, t, a), c = d.firstChild, d.childNodes.length === 1 && (d = c), c || a)) {
5893
- for (h = o.map(it(d, "script"), On), C = h.length; q < j; q++)
5901
+ for (h = o.map(it(d, "script"), Mn), C = h.length; q < j; q++)
5894
5902
  v = d, q !== P && (v = o.clone(v, !0, !0), C && o.merge(h, it(v, "script"))), i.call(t[q], v, q);
5895
5903
  if (C)
5896
5904
  for (L = h[h.length - 1].ownerDocument, o.map(h, ct), q = 0; q < C; q++)
@@ -6759,7 +6767,7 @@ function ba() {
6759
6767
  return t.getAttribute("value") === null ? "on" : t.value;
6760
6768
  });
6761
6769
  });
6762
- var oi = r.location, Or = { guid: Date.now() }, Bi = /\?/;
6770
+ var oi = r.location, Mr = { guid: Date.now() }, Bi = /\?/;
6763
6771
  o.parseXML = function(t) {
6764
6772
  var n, i;
6765
6773
  if (!t || typeof t != "string")
@@ -6773,15 +6781,15 @@ function ba() {
6773
6781
  }).join(`
6774
6782
  `) : t)), n;
6775
6783
  };
6776
- var Mr = /^(?:focusinfocus|focusoutblur)$/, Nr = function(t) {
6784
+ var Or = /^(?:focusinfocus|focusoutblur)$/, Nr = function(t) {
6777
6785
  t.stopPropagation();
6778
6786
  };
6779
6787
  o.extend(o.event, {
6780
6788
  trigger: function(t, n, i, a) {
6781
- var d, c, h, C, v, L, q, j, P = [i || X], Q = z.call(t, "type") ? t.type : t, Pe = z.call(t, "namespace") ? t.namespace.split(".") : [];
6782
- if (c = j = h = i = i || X, !(i.nodeType === 3 || i.nodeType === 8) && !Mr.test(Q + o.event.triggered) && (Q.indexOf(".") > -1 && (Pe = Q.split("."), Q = Pe.shift(), Pe.sort()), v = Q.indexOf(":") < 0 && "on" + Q, t = t[o.expando] ? t : new o.Event(Q, typeof t == "object" && t), t.isTrigger = a ? 2 : 3, t.namespace = Pe.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + Pe.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = i), n = n == null ? [t] : o.makeArray(n, [t]), q = o.event.special[Q] || {}, !(!a && q.trigger && q.trigger.apply(i, n) === !1))) {
6789
+ var d, c, h, C, v, L, q, j, P = [i || X], Q = D.call(t, "type") ? t.type : t, Pe = D.call(t, "namespace") ? t.namespace.split(".") : [];
6790
+ if (c = j = h = i = i || X, !(i.nodeType === 3 || i.nodeType === 8) && !Or.test(Q + o.event.triggered) && (Q.indexOf(".") > -1 && (Pe = Q.split("."), Q = Pe.shift(), Pe.sort()), v = Q.indexOf(":") < 0 && "on" + Q, t = t[o.expando] ? t : new o.Event(Q, typeof t == "object" && t), t.isTrigger = a ? 2 : 3, t.namespace = Pe.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + Pe.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = i), n = n == null ? [t] : o.makeArray(n, [t]), q = o.event.special[Q] || {}, !(!a && q.trigger && q.trigger.apply(i, n) === !1))) {
6783
6791
  if (!a && !q.noBubble && !ye(i)) {
6784
- for (C = q.delegateType || Q, Mr.test(C + Q) || (c = c.parentNode); c; c = c.parentNode)
6792
+ for (C = q.delegateType || Q, Or.test(C + Q) || (c = c.parentNode); c; c = c.parentNode)
6785
6793
  P.push(c), h = c;
6786
6794
  h === (i.ownerDocument || X) && P.push(h.defaultView || h.parentWindow || r);
6787
6795
  }
@@ -6815,7 +6823,7 @@ function ba() {
6815
6823
  return o.event.trigger(t, n, i, !0);
6816
6824
  }
6817
6825
  });
6818
- var Ja = /\[\]$/, zr = /\r?\n/g, Qa = /^(?:submit|button|image|reset|file)$/i, Xa = /^(?:input|select|textarea|keygen)/i;
6826
+ var Ja = /\[\]$/, Dr = /\r?\n/g, Qa = /^(?:submit|button|image|reset|file)$/i, Xa = /^(?:input|select|textarea|keygen)/i;
6819
6827
  function Vi(t, n, i, a) {
6820
6828
  var d;
6821
6829
  if (Array.isArray(n))
@@ -6862,14 +6870,14 @@ function ba() {
6862
6870
  }).map(function(t, n) {
6863
6871
  var i = o(this).val();
6864
6872
  return i == null ? null : Array.isArray(i) ? o.map(i, function(a) {
6865
- return { name: n.name, value: a.replace(zr, `\r
6873
+ return { name: n.name, value: a.replace(Dr, `\r
6866
6874
  `) };
6867
- }) : { name: n.name, value: i.replace(zr, `\r
6875
+ }) : { name: n.name, value: i.replace(Dr, `\r
6868
6876
  `) };
6869
6877
  }).get();
6870
6878
  }
6871
6879
  });
6872
- var Ya = /%20/g, Za = /#.*$/, eo = /([?&])_=[^&]*/, to = /^(.*?):[ \t]*([^\r\n]*)$/mg, no = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, io = /^(?:GET|HEAD)$/, ro = /^\/\//, Dr = {}, ji = {}, Fr = "*/".concat("*"), _i = X.createElement("a");
6880
+ var Ya = /%20/g, Za = /#.*$/, eo = /([?&])_=[^&]*/, to = /^(.*?):[ \t]*([^\r\n]*)$/mg, no = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, io = /^(?:GET|HEAD)$/, ro = /^\/\//, zr = {}, ji = {}, Fr = "*/".concat("*"), _i = X.createElement("a");
6873
6881
  _i.href = oi.href;
6874
6882
  function $r(t) {
6875
6883
  return function(n, i) {
@@ -7033,7 +7041,7 @@ function ba() {
7033
7041
  Hi(o.ajaxSettings, t)
7034
7042
  );
7035
7043
  },
7036
- ajaxPrefilter: $r(Dr),
7044
+ ajaxPrefilter: $r(zr),
7037
7045
  ajaxTransport: $r(ji),
7038
7046
  // Main method
7039
7047
  ajax: function(t, n) {
@@ -7088,9 +7096,9 @@ function ba() {
7088
7096
  P.crossDomain = !0;
7089
7097
  }
7090
7098
  }
7091
- if (P.data && P.processData && typeof P.data != "string" && (P.data = o.param(P.data, P.traditional)), Pr(Dr, P, n, Ge), v)
7099
+ if (P.data && P.processData && typeof P.data != "string" && (P.data = o.param(P.data, P.traditional)), Pr(zr, P, n, Ge), v)
7092
7100
  return Ge;
7093
- L = o.event && P.global, L && o.active++ === 0 && o.event.trigger("ajaxStart"), P.type = P.type.toUpperCase(), P.hasContent = !io.test(P.type), a = P.url.replace(Za, ""), P.hasContent ? P.data && P.processData && (P.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (P.data = P.data.replace(Ya, "+")) : (j = P.url.slice(a.length), P.data && (P.processData || typeof P.data == "string") && (a += (Bi.test(a) ? "&" : "?") + P.data, delete P.data), P.cache === !1 && (a = a.replace(eo, "$1"), j = (Bi.test(a) ? "&" : "?") + "_=" + Or.guid++ + j), P.url = a + j), P.ifModified && (o.lastModified[a] && Ge.setRequestHeader("If-Modified-Since", o.lastModified[a]), o.etag[a] && Ge.setRequestHeader("If-None-Match", o.etag[a])), (P.data && P.hasContent && P.contentType !== !1 || n.contentType) && Ge.setRequestHeader("Content-Type", P.contentType), Ge.setRequestHeader(
7101
+ L = o.event && P.global, L && o.active++ === 0 && o.event.trigger("ajaxStart"), P.type = P.type.toUpperCase(), P.hasContent = !io.test(P.type), a = P.url.replace(Za, ""), P.hasContent ? P.data && P.processData && (P.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (P.data = P.data.replace(Ya, "+")) : (j = P.url.slice(a.length), P.data && (P.processData || typeof P.data == "string") && (a += (Bi.test(a) ? "&" : "?") + P.data, delete P.data), P.cache === !1 && (a = a.replace(eo, "$1"), j = (Bi.test(a) ? "&" : "?") + "_=" + Mr.guid++ + j), P.url = a + j), P.ifModified && (o.lastModified[a] && Ge.setRequestHeader("If-Modified-Since", o.lastModified[a]), o.etag[a] && Ge.setRequestHeader("If-None-Match", o.etag[a])), (P.data && P.hasContent && P.contentType !== !1 || n.contentType) && Ge.setRequestHeader("Content-Type", P.contentType), Ge.setRequestHeader(
7094
7102
  "Accept",
7095
7103
  P.dataTypes[0] && P.accepts[P.dataTypes[0]] ? P.accepts[P.dataTypes[0]] + (P.dataTypes[0] !== "*" ? ", " + Fr + "; q=0.01" : "") : P.accepts["*"]
7096
7104
  );
@@ -7115,9 +7123,9 @@ function ba() {
7115
7123
  }
7116
7124
  }
7117
7125
  function En(tt, gt, si, Wi) {
7118
- var mn, ui, yn, Mn, Nn, en = gt;
7119
- v || (v = !0, h && r.clearTimeout(h), i = void 0, d = Wi || "", Ge.readyState = tt > 0 ? 4 : 0, mn = tt >= 200 && tt < 300 || tt === 304, si && (Mn = ao(P, Ge, si)), !mn && o.inArray("script", P.dataTypes) > -1 && o.inArray("json", P.dataTypes) < 0 && (P.converters["text script"] = function() {
7120
- }), Mn = oo(P, Mn, Ge, mn), mn ? (P.ifModified && (Nn = Ge.getResponseHeader("Last-Modified"), Nn && (o.lastModified[a] = Nn), Nn = Ge.getResponseHeader("etag"), Nn && (o.etag[a] = Nn)), tt === 204 || P.type === "HEAD" ? en = "nocontent" : tt === 304 ? en = "notmodified" : (en = Mn.state, ui = Mn.data, yn = Mn.error, mn = !yn)) : (yn = en, (tt || !en) && (en = "error", tt < 0 && (tt = 0))), Ge.status = tt, Ge.statusText = (gt || en) + "", mn ? Ye.resolveWith(Q, [ui, en, Ge]) : Ye.rejectWith(Q, [Ge, en, yn]), Ge.statusCode(xt), xt = void 0, L && Pe.trigger(
7126
+ var mn, ui, yn, On, Nn, en = gt;
7127
+ v || (v = !0, h && r.clearTimeout(h), i = void 0, d = Wi || "", Ge.readyState = tt > 0 ? 4 : 0, mn = tt >= 200 && tt < 300 || tt === 304, si && (On = ao(P, Ge, si)), !mn && o.inArray("script", P.dataTypes) > -1 && o.inArray("json", P.dataTypes) < 0 && (P.converters["text script"] = function() {
7128
+ }), On = oo(P, On, Ge, mn), mn ? (P.ifModified && (Nn = Ge.getResponseHeader("Last-Modified"), Nn && (o.lastModified[a] = Nn), Nn = Ge.getResponseHeader("etag"), Nn && (o.etag[a] = Nn)), tt === 204 || P.type === "HEAD" ? en = "nocontent" : tt === 304 ? en = "notmodified" : (en = On.state, ui = On.data, yn = On.error, mn = !yn)) : (yn = en, (tt || !en) && (en = "error", tt < 0 && (tt = 0))), Ge.status = tt, Ge.statusText = (gt || en) + "", mn ? Ye.resolveWith(Q, [ui, en, Ge]) : Ye.rejectWith(Q, [Ge, en, yn]), Ge.statusCode(xt), xt = void 0, L && Pe.trigger(
7121
7129
  mn ? "ajaxSuccess" : "ajaxError",
7122
7130
  [Ge, P, mn ? ui : yn]
7123
7131
  ), Be.fireWith(Q, [Ge, en]), L && (Pe.trigger("ajaxComplete", [Ge, P]), --o.active || o.event.trigger("ajaxStop")));
@@ -7294,7 +7302,7 @@ function ba() {
7294
7302
  o.ajaxSetup({
7295
7303
  jsonp: "callback",
7296
7304
  jsonpCallback: function() {
7297
- var t = Rr.pop() || o.expando + "_" + Or.guid++;
7305
+ var t = Rr.pop() || o.expando + "_" + Mr.guid++;
7298
7306
  return this[t] = !0, t;
7299
7307
  }
7300
7308
  }), o.ajaxPrefilter("json jsonp", function(t, n, i) {
@@ -7520,11 +7528,11 @@ function ba() {
7520
7528
  u = function(f) {
7521
7529
  return f(ba());
7522
7530
  }, u(function(f) {
7523
- var y, x, w, z, D, te, H, K, ye, X, ke, me, re, Fe, De, o, ue, G, ge, be, Ce;
7531
+ var y, x, w, D, z, te, H, K, ye, X, ke, me, re, Fe, ze, o, ue, G, ge, be, Ce;
7524
7532
  return x = function(b, T, $) {
7525
- var O, N, E, B;
7526
- for (b += "", N = b.split("."), E = N[0], B = N.length > 1 ? $ + N[1] : "", O = /(\d+)(\d{3})/; O.test(E); )
7527
- E = E.replace(O, "$1" + T + "$2");
7533
+ var M, N, E, B;
7534
+ for (b += "", N = b.split("."), E = N[0], B = N.length > 1 ? $ + N[1] : "", M = /(\d+)(\d{3})/; M.test(E); )
7535
+ E = E.replace(M, "$1" + T + "$2");
7528
7536
  return E + B;
7529
7537
  }, ke = function(b) {
7530
7538
  var T;
@@ -7536,8 +7544,8 @@ function ba() {
7536
7544
  prefix: "",
7537
7545
  suffix: ""
7538
7546
  }, b = f.extend({}, T, b), function($) {
7539
- var O;
7540
- return isNaN($) || !isFinite($) ? "" : (O = x((b.scaler * $).toFixed(b.digitsAfterDecimal), b.thousandsSep, b.decimalSep), "" + b.prefix + O + b.suffix);
7547
+ var M;
7548
+ return isNaN($) || !isFinite($) ? "" : (M = x((b.scaler * $).toFixed(b.digitsAfterDecimal), b.thousandsSep, b.decimalSep), "" + b.prefix + M + b.suffix);
7541
7549
  };
7542
7550
  }, G = ke(), ge = ke({
7543
7551
  digitsAfterDecimal: 0
@@ -7548,7 +7556,7 @@ function ba() {
7548
7556
  }), w = {
7549
7557
  count: function(b) {
7550
7558
  return b == null && (b = ge), function() {
7551
- return function(T, $, O) {
7559
+ return function(T, $, M) {
7552
7560
  return {
7553
7561
  count: 0,
7554
7562
  push: function() {
@@ -7564,20 +7572,20 @@ function ba() {
7564
7572
  },
7565
7573
  uniques: function(b, T) {
7566
7574
  return T == null && (T = ge), function($) {
7567
- var O;
7568
- return O = $[0], function(N, E, B) {
7575
+ var M;
7576
+ return M = $[0], function(N, E, B) {
7569
7577
  return {
7570
7578
  uniq: [],
7571
7579
  push: function(_) {
7572
7580
  var W;
7573
- if (W = _[O], l.call(this.uniq, W) < 0)
7574
- return this.uniq.push(_[O]);
7581
+ if (W = _[M], l.call(this.uniq, W) < 0)
7582
+ return this.uniq.push(_[M]);
7575
7583
  },
7576
7584
  value: function() {
7577
7585
  return b(this.uniq);
7578
7586
  },
7579
7587
  format: T,
7580
- numInputs: O != null ? 0 : 1
7588
+ numInputs: M != null ? 0 : 1
7581
7589
  };
7582
7590
  };
7583
7591
  };
@@ -7585,7 +7593,7 @@ function ba() {
7585
7593
  sum: function(b) {
7586
7594
  return b == null && (b = G), function(T) {
7587
7595
  var $;
7588
- return $ = T[0], function(O, N, E) {
7596
+ return $ = T[0], function(M, N, E) {
7589
7597
  return {
7590
7598
  sum: 0,
7591
7599
  push: function(B) {
@@ -7603,14 +7611,14 @@ function ba() {
7603
7611
  },
7604
7612
  extremes: function(b, T) {
7605
7613
  return T == null && (T = G), function($) {
7606
- var O;
7607
- return O = $[0], function(N, E, B) {
7614
+ var M;
7615
+ return M = $[0], function(N, E, B) {
7608
7616
  return {
7609
7617
  val: null,
7610
- sorter: H(N != null ? N.sorters : void 0, O),
7618
+ sorter: H(N != null ? N.sorters : void 0, M),
7611
7619
  push: function(_) {
7612
7620
  var W, oe, fe, pe;
7613
- if (pe = _[O], (b === "min" || b === "max") && (pe = parseFloat(pe), isNaN(pe) || (this.val = Math[b](pe, (W = this.val) != null ? W : pe))), b === "first" && this.sorter(pe, (oe = this.val) != null ? oe : pe) <= 0 && (this.val = pe), b === "last" && this.sorter(pe, (fe = this.val) != null ? fe : pe) >= 0)
7621
+ if (pe = _[M], (b === "min" || b === "max") && (pe = parseFloat(pe), isNaN(pe) || (this.val = Math[b](pe, (W = this.val) != null ? W : pe))), b === "first" && this.sorter(pe, (oe = this.val) != null ? oe : pe) <= 0 && (this.val = pe), b === "last" && this.sorter(pe, (fe = this.val) != null ? fe : pe) >= 0)
7614
7622
  return this.val = pe;
7615
7623
  },
7616
7624
  value: function() {
@@ -7619,20 +7627,20 @@ function ba() {
7619
7627
  format: function(_) {
7620
7628
  return isNaN(_) ? _ : T(_);
7621
7629
  },
7622
- numInputs: O != null ? 0 : 1
7630
+ numInputs: M != null ? 0 : 1
7623
7631
  };
7624
7632
  };
7625
7633
  };
7626
7634
  },
7627
7635
  quantile: function(b, T) {
7628
7636
  return T == null && (T = G), function($) {
7629
- var O;
7630
- return O = $[0], function(N, E, B) {
7637
+ var M;
7638
+ return M = $[0], function(N, E, B) {
7631
7639
  return {
7632
7640
  vals: [],
7633
7641
  push: function(_) {
7634
7642
  var W;
7635
- if (W = parseFloat(_[O]), !isNaN(W))
7643
+ if (W = parseFloat(_[M]), !isNaN(W))
7636
7644
  return this.vals.push(W);
7637
7645
  },
7638
7646
  value: function() {
@@ -7642,15 +7650,15 @@ function ba() {
7642
7650
  }), _ = (this.vals.length - 1) * b, (this.vals[Math.floor(_)] + this.vals[Math.ceil(_)]) / 2);
7643
7651
  },
7644
7652
  format: T,
7645
- numInputs: O != null ? 0 : 1
7653
+ numInputs: M != null ? 0 : 1
7646
7654
  };
7647
7655
  };
7648
7656
  };
7649
7657
  },
7650
7658
  runningStat: function(b, T, $) {
7651
- return b == null && (b = "mean"), T == null && (T = 1), $ == null && ($ = G), function(O) {
7659
+ return b == null && (b = "mean"), T == null && (T = 1), $ == null && ($ = G), function(M) {
7652
7660
  var N;
7653
- return N = O[0], function(E, B, _) {
7661
+ return N = M[0], function(E, B, _) {
7654
7662
  return {
7655
7663
  n: 0,
7656
7664
  m: 0,
@@ -7680,56 +7688,56 @@ function ba() {
7680
7688
  },
7681
7689
  sumOverSum: function(b) {
7682
7690
  return b == null && (b = G), function(T) {
7683
- var $, O;
7684
- return O = T[0], $ = T[1], function(N, E, B) {
7691
+ var $, M;
7692
+ return M = T[0], $ = T[1], function(N, E, B) {
7685
7693
  return {
7686
7694
  sumNum: 0,
7687
7695
  sumDenom: 0,
7688
7696
  push: function(_) {
7689
- if (isNaN(parseFloat(_[O])) || (this.sumNum += parseFloat(_[O])), !isNaN(parseFloat(_[$])))
7697
+ if (isNaN(parseFloat(_[M])) || (this.sumNum += parseFloat(_[M])), !isNaN(parseFloat(_[$])))
7690
7698
  return this.sumDenom += parseFloat(_[$]);
7691
7699
  },
7692
7700
  value: function() {
7693
7701
  return this.sumNum / this.sumDenom;
7694
7702
  },
7695
7703
  format: b,
7696
- numInputs: O != null && $ != null ? 0 : 2
7704
+ numInputs: M != null && $ != null ? 0 : 2
7697
7705
  };
7698
7706
  };
7699
7707
  };
7700
7708
  },
7701
7709
  sumOverSumBound80: function(b, T) {
7702
7710
  return b == null && (b = !0), T == null && (T = G), function($) {
7703
- var O, N;
7704
- return N = $[0], O = $[1], function(E, B, _) {
7711
+ var M, N;
7712
+ return N = $[0], M = $[1], function(E, B, _) {
7705
7713
  return {
7706
7714
  sumNum: 0,
7707
7715
  sumDenom: 0,
7708
7716
  push: function(W) {
7709
- if (isNaN(parseFloat(W[N])) || (this.sumNum += parseFloat(W[N])), !isNaN(parseFloat(W[O])))
7710
- return this.sumDenom += parseFloat(W[O]);
7717
+ if (isNaN(parseFloat(W[N])) || (this.sumNum += parseFloat(W[N])), !isNaN(parseFloat(W[M])))
7718
+ return this.sumDenom += parseFloat(W[M]);
7711
7719
  },
7712
7720
  value: function() {
7713
7721
  var W;
7714
7722
  return W = b ? 1 : -1, (0.821187207574908 / this.sumDenom + this.sumNum / this.sumDenom + 1.2815515655446004 * W * Math.sqrt(0.410593603787454 / (this.sumDenom * this.sumDenom) + this.sumNum * (1 - this.sumNum / this.sumDenom) / (this.sumDenom * this.sumDenom))) / (1 + 1.642374415149816 / this.sumDenom);
7715
7723
  },
7716
7724
  format: T,
7717
- numInputs: N != null && O != null ? 0 : 2
7725
+ numInputs: N != null && M != null ? 0 : 2
7718
7726
  };
7719
7727
  };
7720
7728
  };
7721
7729
  },
7722
7730
  fractionOf: function(b, T, $) {
7723
7731
  return T == null && (T = "total"), $ == null && ($ = be), function() {
7724
- var O;
7725
- return O = 1 <= arguments.length ? p.call(arguments, 0) : [], function(N, E, B) {
7732
+ var M;
7733
+ return M = 1 <= arguments.length ? p.call(arguments, 0) : [], function(N, E, B) {
7726
7734
  return {
7727
7735
  selector: {
7728
7736
  total: [[], []],
7729
7737
  row: [E, []],
7730
7738
  col: [[], B]
7731
7739
  }[T],
7732
- inner: b.apply(null, O)(N, E, B),
7740
+ inner: b.apply(null, M)(N, E, B),
7733
7741
  push: function(_) {
7734
7742
  return this.inner.push(_);
7735
7743
  },
@@ -7737,7 +7745,7 @@ function ba() {
7737
7745
  value: function() {
7738
7746
  return this.inner.value() / N.getAggregator.apply(N, this.selector).inner.value();
7739
7747
  },
7740
- numInputs: b.apply(null, O)().numInputs
7748
+ numInputs: b.apply(null, M)().numInputs
7741
7749
  };
7742
7750
  };
7743
7751
  };
@@ -7768,7 +7776,7 @@ function ba() {
7768
7776
  return w.runningStat("var", b, T);
7769
7777
  }, w.stdev = function(b, T) {
7770
7778
  return w.runningStat("stdev", b, T);
7771
- }, z = function(b) {
7779
+ }, D = function(b) {
7772
7780
  return {
7773
7781
  Count: b.count(ge),
7774
7782
  "Count Unique Values": b.countUnique(ge),
@@ -7811,7 +7819,7 @@ function ba() {
7811
7819
  }
7812
7820
  }, K = {
7813
7821
  en: {
7814
- aggregators: z,
7822
+ aggregators: D,
7815
7823
  renderers: Fe,
7816
7824
  localeStrings: {
7817
7825
  renderError: "An error occurred rendering the PivotTable results.",
@@ -7828,7 +7836,7 @@ function ba() {
7828
7836
  by: "by"
7829
7837
  }
7830
7838
  }
7831
- }, ye = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], D = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], Ce = function(b) {
7839
+ }, ye = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], z = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], Ce = function(b) {
7832
7840
  return ("0" + b).substr(-2, 2);
7833
7841
  }, te = {
7834
7842
  bin: function(b, T) {
@@ -7836,9 +7844,9 @@ function ba() {
7836
7844
  return $[b] - $[b] % T;
7837
7845
  };
7838
7846
  },
7839
- dateFormat: function(b, T, $, O, N) {
7847
+ dateFormat: function(b, T, $, M, N) {
7840
7848
  var E;
7841
- return $ == null && ($ = !1), O == null && (O = ye), N == null && (N = D), E = $ ? "UTC" : "", function(B) {
7849
+ return $ == null && ($ = !1), M == null && (M = ye), N == null && (N = z), E = $ ? "UTC" : "", function(B) {
7842
7850
  var _;
7843
7851
  return _ = new Date(Date.parse(B[b])), isNaN(_) ? "" : T.replace(/%(.)/g, function(W, oe) {
7844
7852
  switch (oe) {
@@ -7847,7 +7855,7 @@ function ba() {
7847
7855
  case "m":
7848
7856
  return Ce(_["get" + E + "Month"]() + 1);
7849
7857
  case "n":
7850
- return O[_["get" + E + "Month"]()];
7858
+ return M[_["get" + E + "Month"]()];
7851
7859
  case "d":
7852
7860
  return Ce(_["get" + E + "Date"]());
7853
7861
  case "w":
@@ -7866,9 +7874,9 @@ function ba() {
7866
7874
  });
7867
7875
  };
7868
7876
  }
7869
- }, De = /(\d+)|(\D+)/g, re = /\d/, o = /^0/, X = /* @__PURE__ */ function(b) {
7877
+ }, ze = /(\d+)|(\D+)/g, re = /\d/, o = /^0/, X = /* @__PURE__ */ function(b) {
7870
7878
  return function(T, $) {
7871
- var O, N, E, B, _, W;
7879
+ var M, N, E, B, _, W;
7872
7880
  if ($ != null && T == null)
7873
7881
  return -1;
7874
7882
  if (T != null && $ == null)
@@ -7891,22 +7899,22 @@ function ba() {
7891
7899
  return -1;
7892
7900
  if (isNaN(_) && !isNaN(W))
7893
7901
  return 1;
7894
- if (O = String(T), E = String($), O === E)
7902
+ if (M = String(T), E = String($), M === E)
7895
7903
  return 0;
7896
- if (!(re.test(O) && re.test(E)))
7897
- return O > E ? 1 : -1;
7898
- for (O = O.match(De), E = E.match(De); O.length && E.length; )
7899
- if (N = O.shift(), B = E.shift(), N !== B)
7904
+ if (!(re.test(M) && re.test(E)))
7905
+ return M > E ? 1 : -1;
7906
+ for (M = M.match(ze), E = E.match(ze); M.length && E.length; )
7907
+ if (N = M.shift(), B = E.shift(), N !== B)
7900
7908
  return re.test(N) && re.test(B) ? N.replace(o, ".0") - B.replace(o, ".0") : N > B ? 1 : -1;
7901
- return O.length - E.length;
7909
+ return M.length - E.length;
7902
7910
  };
7903
7911
  }(), ue = function(b) {
7904
- var T, $, O, N;
7905
- O = {}, $ = {};
7912
+ var T, $, M, N;
7913
+ M = {}, $ = {};
7906
7914
  for (T in b)
7907
- N = b[T], O[N] = T, typeof N == "string" && ($[N.toLowerCase()] = T);
7915
+ N = b[T], M[N] = T, typeof N == "string" && ($[N.toLowerCase()] = T);
7908
7916
  return function(E, B) {
7909
- return O[E] != null && O[B] != null ? O[E] - O[B] : O[E] != null ? -1 : O[B] != null ? 1 : $[E] != null && $[B] != null ? $[E] - $[B] : $[E] != null ? -1 : $[B] != null ? 1 : X(E, B);
7917
+ return M[E] != null && M[B] != null ? M[E] - M[B] : M[E] != null ? -1 : M[B] != null ? 1 : $[E] != null && $[B] != null ? $[E] - $[B] : $[E] != null ? -1 : $[B] != null ? 1 : X(E, B);
7910
7918
  };
7911
7919
  }, H = function(b, T) {
7912
7920
  var $;
@@ -7920,8 +7928,8 @@ function ba() {
7920
7928
  return X;
7921
7929
  }, y = function() {
7922
7930
  function b(T, $) {
7923
- var O, N, E, B, _, W, oe, fe, pe, We;
7924
- $ == null && ($ = {}), this.getAggregator = g(this.getAggregator, this), this.getRowKeys = g(this.getRowKeys, this), this.getColKeys = g(this.getColKeys, this), this.sortKeys = g(this.sortKeys, this), this.arrSort = g(this.arrSort, this), this.input = T, this.aggregator = (O = $.aggregator) != null ? O : w.count()(), this.aggregatorName = (N = $.aggregatorName) != null ? N : "Count", this.colAttrs = (E = $.cols) != null ? E : [], this.rowAttrs = (B = $.rows) != null ? B : [], this.valAttrs = (_ = $.vals) != null ? _ : [], this.sorters = (W = $.sorters) != null ? W : {}, this.rowOrder = (oe = $.rowOrder) != null ? oe : "key_a_to_z", this.colOrder = (fe = $.colOrder) != null ? fe : "key_a_to_z", this.derivedAttributes = (pe = $.derivedAttributes) != null ? pe : {}, this.filter = (We = $.filter) != null ? We : function() {
7931
+ var M, N, E, B, _, W, oe, fe, pe, We;
7932
+ $ == null && ($ = {}), this.getAggregator = g(this.getAggregator, this), this.getRowKeys = g(this.getRowKeys, this), this.getColKeys = g(this.getColKeys, this), this.sortKeys = g(this.sortKeys, this), this.arrSort = g(this.arrSort, this), this.input = T, this.aggregator = (M = $.aggregator) != null ? M : w.count()(), this.aggregatorName = (N = $.aggregatorName) != null ? N : "Count", this.colAttrs = (E = $.cols) != null ? E : [], this.rowAttrs = (B = $.rows) != null ? B : [], this.valAttrs = (_ = $.vals) != null ? _ : [], this.sorters = (W = $.sorters) != null ? W : {}, this.rowOrder = (oe = $.rowOrder) != null ? oe : "key_a_to_z", this.colOrder = (fe = $.colOrder) != null ? fe : "key_a_to_z", this.derivedAttributes = (pe = $.derivedAttributes) != null ? pe : {}, this.filter = (We = $.filter) != null ? We : function() {
7925
7933
  return !0;
7926
7934
  }, this.tree = {}, this.rowKeys = [], this.colKeys = [], this.rowTotals = {}, this.colTotals = {}, this.allTotal = this.aggregator(this, [], []), this.sorted = !1, b.forEachRecord(this.input, this.derivedAttributes, /* @__PURE__ */ function(xe) {
7927
7935
  return function(Re) {
@@ -7930,13 +7938,13 @@ function ba() {
7930
7938
  };
7931
7939
  }(this));
7932
7940
  }
7933
- return b.forEachRecord = function(T, $, O) {
7941
+ return b.forEachRecord = function(T, $, M) {
7934
7942
  var N, E, B, _, W, oe, fe, pe, We, xe, Re, Ve;
7935
- if (f.isEmptyObject($) ? N = O : N = function(R) {
7943
+ if (f.isEmptyObject($) ? N = M : N = function(R) {
7936
7944
  var ee, U, J;
7937
7945
  for (ee in $)
7938
7946
  J = $[ee], R[ee] = (U = J(R)) != null ? U : R[ee];
7939
- return O(R);
7947
+ return M(R);
7940
7948
  }, f.isFunction(T))
7941
7949
  return T(N);
7942
7950
  if (f.isArray(T))
@@ -7967,10 +7975,10 @@ function ba() {
7967
7975
  throw new Error("unknown input format");
7968
7976
  }
7969
7977
  }, b.prototype.forEachMatchingRecord = function(T, $) {
7970
- return b.forEachRecord(this.input, this.derivedAttributes, /* @__PURE__ */ function(O) {
7978
+ return b.forEachRecord(this.input, this.derivedAttributes, /* @__PURE__ */ function(M) {
7971
7979
  return function(N) {
7972
7980
  var E, B, _;
7973
- if (O.filter(N)) {
7981
+ if (M.filter(N)) {
7974
7982
  for (E in T)
7975
7983
  if (_ = T[E], _ !== ((B = N[E]) != null ? B : "null"))
7976
7984
  return;
@@ -7979,16 +7987,16 @@ function ba() {
7979
7987
  };
7980
7988
  }(this));
7981
7989
  }, b.prototype.arrSort = function(T) {
7982
- var $, O;
7983
- return O = (function() {
7990
+ var $, M;
7991
+ return M = (function() {
7984
7992
  var N, E, B;
7985
7993
  for (B = [], N = 0, E = T.length; N < E; N++)
7986
7994
  $ = T[N], B.push(H(this.sorters, $));
7987
7995
  return B;
7988
7996
  }).call(this), function(N, E) {
7989
7997
  var B, _, W;
7990
- for (_ in O)
7991
- if (s.call(O, _) && (W = O[_], B = W(N[_], E[_]), B !== 0))
7998
+ for (_ in M)
7999
+ if (s.call(M, _) && (W = M[_], B = W(N[_], E[_]), B !== 0))
7992
8000
  return B;
7993
8001
  return 0;
7994
8002
  };
@@ -7996,21 +8004,21 @@ function ba() {
7996
8004
  var T;
7997
8005
  if (!this.sorted) {
7998
8006
  switch (this.sorted = !0, T = /* @__PURE__ */ function($) {
7999
- return function(O, N) {
8000
- return $.getAggregator(O, N).value();
8007
+ return function(M, N) {
8008
+ return $.getAggregator(M, N).value();
8001
8009
  };
8002
8010
  }(this), this.rowOrder) {
8003
8011
  case "value_a_to_z":
8004
8012
  this.rowKeys.sort(/* @__PURE__ */ function($) {
8005
- return function(O, N) {
8006
- return X(T(O, []), T(N, []));
8013
+ return function(M, N) {
8014
+ return X(T(M, []), T(N, []));
8007
8015
  };
8008
8016
  }());
8009
8017
  break;
8010
8018
  case "value_z_to_a":
8011
8019
  this.rowKeys.sort(/* @__PURE__ */ function($) {
8012
- return function(O, N) {
8013
- return -X(T(O, []), T(N, []));
8020
+ return function(M, N) {
8021
+ return -X(T(M, []), T(N, []));
8014
8022
  };
8015
8023
  }());
8016
8024
  break;
@@ -8020,14 +8028,14 @@ function ba() {
8020
8028
  switch (this.colOrder) {
8021
8029
  case "value_a_to_z":
8022
8030
  return this.colKeys.sort(/* @__PURE__ */ function($) {
8023
- return function(O, N) {
8024
- return X(T([], O), T([], N));
8031
+ return function(M, N) {
8032
+ return X(T([], M), T([], N));
8025
8033
  };
8026
8034
  }());
8027
8035
  case "value_z_to_a":
8028
8036
  return this.colKeys.sort(/* @__PURE__ */ function($) {
8029
- return function(O, N) {
8030
- return -X(T([], O), T([], N));
8037
+ return function(M, N) {
8038
+ return -X(T([], M), T([], N));
8031
8039
  };
8032
8040
  }());
8033
8041
  default:
@@ -8039,16 +8047,16 @@ function ba() {
8039
8047
  }, b.prototype.getRowKeys = function() {
8040
8048
  return this.sortKeys(), this.rowKeys;
8041
8049
  }, b.prototype.processRecord = function(T) {
8042
- var $, O, N, E, B, _, W, oe, fe, pe, We, xe, Re;
8050
+ var $, M, N, E, B, _, W, oe, fe, pe, We, xe, Re;
8043
8051
  for ($ = [], xe = [], oe = this.colAttrs, E = 0, B = oe.length; E < B; E++)
8044
8052
  Re = oe[E], $.push((fe = T[Re]) != null ? fe : "null");
8045
8053
  for (pe = this.rowAttrs, W = 0, _ = pe.length; W < _; W++)
8046
8054
  Re = pe[W], xe.push((We = T[Re]) != null ? We : "null");
8047
- if (N = xe.join("\0"), O = $.join("\0"), this.allTotal.push(T), xe.length !== 0 && (this.rowTotals[N] || (this.rowKeys.push(xe), this.rowTotals[N] = this.aggregator(this, xe, [])), this.rowTotals[N].push(T)), $.length !== 0 && (this.colTotals[O] || (this.colKeys.push($), this.colTotals[O] = this.aggregator(this, [], $)), this.colTotals[O].push(T)), $.length !== 0 && xe.length !== 0)
8048
- return this.tree[N] || (this.tree[N] = {}), this.tree[N][O] || (this.tree[N][O] = this.aggregator(this, xe, $)), this.tree[N][O].push(T);
8055
+ if (N = xe.join("\0"), M = $.join("\0"), this.allTotal.push(T), xe.length !== 0 && (this.rowTotals[N] || (this.rowKeys.push(xe), this.rowTotals[N] = this.aggregator(this, xe, [])), this.rowTotals[N].push(T)), $.length !== 0 && (this.colTotals[M] || (this.colKeys.push($), this.colTotals[M] = this.aggregator(this, [], $)), this.colTotals[M].push(T)), $.length !== 0 && xe.length !== 0)
8056
+ return this.tree[N] || (this.tree[N] = {}), this.tree[N][M] || (this.tree[N][M] = this.aggregator(this, xe, $)), this.tree[N][M].push(T);
8049
8057
  }, b.prototype.getAggregator = function(T, $) {
8050
- var O, N, E;
8051
- return E = T.join("\0"), N = $.join("\0"), T.length === 0 && $.length === 0 ? O = this.allTotal : T.length === 0 ? O = this.colTotals[N] : $.length === 0 ? O = this.rowTotals[E] : O = this.tree[E][N], O ?? {
8058
+ var M, N, E;
8059
+ return E = T.join("\0"), N = $.join("\0"), T.length === 0 && $.length === 0 ? M = this.allTotal : T.length === 0 ? M = this.colTotals[N] : $.length === 0 ? M = this.rowTotals[E] : M = this.tree[E][N], M ?? {
8052
8060
  value: function() {
8053
8061
  return null;
8054
8062
  },
@@ -8059,7 +8067,7 @@ function ba() {
8059
8067
  }, b;
8060
8068
  }(), f.pivotUtilities = {
8061
8069
  aggregatorTemplates: w,
8062
- aggregators: z,
8070
+ aggregators: D,
8063
8071
  renderers: Fe,
8064
8072
  derivers: te,
8065
8073
  locales: K,
@@ -8068,7 +8076,7 @@ function ba() {
8068
8076
  sortAs: ue,
8069
8077
  PivotData: y
8070
8078
  }, me = function(b, T) {
8071
- var $, O, N, E, B, _, W, oe, fe, pe, We, xe, Re, Ve, R, ee, U, J, Ie, Te, Oe, nt, Me, Ue;
8079
+ var $, M, N, E, B, _, W, oe, fe, pe, We, xe, Re, Ve, R, ee, U, J, Ie, Te, Me, nt, Oe, Ue;
8072
8080
  _ = {
8073
8081
  table: {
8074
8082
  clickCallback: null,
@@ -8107,37 +8115,37 @@ function ba() {
8107
8115
  }, Ie = document.createElement("thead");
8108
8116
  for (fe in N)
8109
8117
  if (s.call(N, fe)) {
8110
- O = N[fe], Oe = document.createElement("tr"), parseInt(fe) === 0 && xe.length !== 0 && (J = document.createElement("th"), J.setAttribute("colspan", xe.length), J.setAttribute("rowspan", N.length), Oe.appendChild(J)), J = document.createElement("th"), J.className = "pvtAxisLabel", J.textContent = O, Oe.appendChild(J);
8118
+ M = N[fe], Me = document.createElement("tr"), parseInt(fe) === 0 && xe.length !== 0 && (J = document.createElement("th"), J.setAttribute("colspan", xe.length), J.setAttribute("rowspan", N.length), Me.appendChild(J)), J = document.createElement("th"), J.className = "pvtAxisLabel", J.textContent = M, Me.appendChild(J);
8111
8119
  for (oe in B)
8112
- s.call(B, oe) && (E = B[oe], Ue = R(B, parseInt(oe), parseInt(fe)), Ue !== -1 && (J = document.createElement("th"), J.className = "pvtColLabel", J.textContent = E[fe], J.setAttribute("colspan", Ue), parseInt(fe) === N.length - 1 && xe.length !== 0 && J.setAttribute("rowspan", 2), Oe.appendChild(J)));
8113
- parseInt(fe) === 0 && T.table.rowTotals && (J = document.createElement("th"), J.className = "pvtTotalLabel pvtRowTotalLabel", J.innerHTML = T.localeStrings.totals, J.setAttribute("rowspan", N.length + (xe.length === 0 ? 0 : 1)), Oe.appendChild(J)), Ie.appendChild(Oe);
8120
+ s.call(B, oe) && (E = B[oe], Ue = R(B, parseInt(oe), parseInt(fe)), Ue !== -1 && (J = document.createElement("th"), J.className = "pvtColLabel", J.textContent = E[fe], J.setAttribute("colspan", Ue), parseInt(fe) === N.length - 1 && xe.length !== 0 && J.setAttribute("rowspan", 2), Me.appendChild(J)));
8121
+ parseInt(fe) === 0 && T.table.rowTotals && (J = document.createElement("th"), J.className = "pvtTotalLabel pvtRowTotalLabel", J.innerHTML = T.localeStrings.totals, J.setAttribute("rowspan", N.length + (xe.length === 0 ? 0 : 1)), Me.appendChild(J)), Ie.appendChild(Me);
8114
8122
  }
8115
8123
  if (xe.length !== 0) {
8116
- Oe = document.createElement("tr");
8124
+ Me = document.createElement("tr");
8117
8125
  for (oe in xe)
8118
- s.call(xe, oe) && (pe = xe[oe], J = document.createElement("th"), J.className = "pvtAxisLabel", J.textContent = pe, Oe.appendChild(J));
8119
- J = document.createElement("th"), N.length === 0 && (J.className = "pvtTotalLabel pvtRowTotalLabel", J.innerHTML = T.localeStrings.totals), Oe.appendChild(J), Ie.appendChild(Oe);
8126
+ s.call(xe, oe) && (pe = xe[oe], J = document.createElement("th"), J.className = "pvtAxisLabel", J.textContent = pe, Me.appendChild(J));
8127
+ J = document.createElement("th"), N.length === 0 && (J.className = "pvtTotalLabel pvtRowTotalLabel", J.innerHTML = T.localeStrings.totals), Me.appendChild(J), Ie.appendChild(Me);
8120
8128
  }
8121
8129
  We.appendChild(Ie), ee = document.createElement("tbody");
8122
8130
  for (oe in Ve)
8123
8131
  if (s.call(Ve, oe)) {
8124
- Re = Ve[oe], Oe = document.createElement("tr");
8132
+ Re = Ve[oe], Me = document.createElement("tr");
8125
8133
  for (fe in Re)
8126
- s.call(Re, fe) && (nt = Re[fe], Ue = R(Ve, parseInt(oe), parseInt(fe)), Ue !== -1 && (J = document.createElement("th"), J.className = "pvtRowLabel", J.textContent = nt, J.setAttribute("rowspan", Ue), parseInt(fe) === xe.length - 1 && N.length !== 0 && J.setAttribute("colspan", 2), Oe.appendChild(J)));
8134
+ s.call(Re, fe) && (nt = Re[fe], Ue = R(Ve, parseInt(oe), parseInt(fe)), Ue !== -1 && (J = document.createElement("th"), J.className = "pvtRowLabel", J.textContent = nt, J.setAttribute("rowspan", Ue), parseInt(fe) === xe.length - 1 && N.length !== 0 && J.setAttribute("colspan", 2), Me.appendChild(J)));
8127
8135
  for (fe in B)
8128
- s.call(B, fe) && (E = B[fe], $ = b.getAggregator(Re, E), Me = $.value(), U = document.createElement("td"), U.className = "pvtVal row" + oe + " col" + fe, U.textContent = $.format(Me), U.setAttribute("data-value", Me), W != null && (U.onclick = W(Me, Re, E)), Oe.appendChild(U));
8129
- (T.table.rowTotals || N.length === 0) && (Te = b.getAggregator(Re, []), Me = Te.value(), U = document.createElement("td"), U.className = "pvtTotal rowTotal", U.textContent = Te.format(Me), U.setAttribute("data-value", Me), W != null && (U.onclick = W(Me, Re, [])), U.setAttribute("data-for", "row" + oe), Oe.appendChild(U)), ee.appendChild(Oe);
8136
+ s.call(B, fe) && (E = B[fe], $ = b.getAggregator(Re, E), Oe = $.value(), U = document.createElement("td"), U.className = "pvtVal row" + oe + " col" + fe, U.textContent = $.format(Oe), U.setAttribute("data-value", Oe), W != null && (U.onclick = W(Oe, Re, E)), Me.appendChild(U));
8137
+ (T.table.rowTotals || N.length === 0) && (Te = b.getAggregator(Re, []), Oe = Te.value(), U = document.createElement("td"), U.className = "pvtTotal rowTotal", U.textContent = Te.format(Oe), U.setAttribute("data-value", Oe), W != null && (U.onclick = W(Oe, Re, [])), U.setAttribute("data-for", "row" + oe), Me.appendChild(U)), ee.appendChild(Me);
8130
8138
  }
8131
8139
  if (T.table.colTotals || xe.length === 0) {
8132
- Oe = document.createElement("tr"), (T.table.colTotals || xe.length === 0) && (J = document.createElement("th"), J.className = "pvtTotalLabel pvtColTotalLabel", J.innerHTML = T.localeStrings.totals, J.setAttribute("colspan", xe.length + (N.length === 0 ? 0 : 1)), Oe.appendChild(J));
8140
+ Me = document.createElement("tr"), (T.table.colTotals || xe.length === 0) && (J = document.createElement("th"), J.className = "pvtTotalLabel pvtColTotalLabel", J.innerHTML = T.localeStrings.totals, J.setAttribute("colspan", xe.length + (N.length === 0 ? 0 : 1)), Me.appendChild(J));
8133
8141
  for (fe in B)
8134
- s.call(B, fe) && (E = B[fe], Te = b.getAggregator([], E), Me = Te.value(), U = document.createElement("td"), U.className = "pvtTotal colTotal", U.textContent = Te.format(Me), U.setAttribute("data-value", Me), W != null && (U.onclick = W(Me, [], E)), U.setAttribute("data-for", "col" + fe), Oe.appendChild(U));
8135
- (T.table.rowTotals || N.length === 0) && (Te = b.getAggregator([], []), Me = Te.value(), U = document.createElement("td"), U.className = "pvtGrandTotal", U.textContent = Te.format(Me), U.setAttribute("data-value", Me), W != null && (U.onclick = W(Me, [], [])), Oe.appendChild(U)), ee.appendChild(Oe);
8142
+ s.call(B, fe) && (E = B[fe], Te = b.getAggregator([], E), Oe = Te.value(), U = document.createElement("td"), U.className = "pvtTotal colTotal", U.textContent = Te.format(Oe), U.setAttribute("data-value", Oe), W != null && (U.onclick = W(Oe, [], E)), U.setAttribute("data-for", "col" + fe), Me.appendChild(U));
8143
+ (T.table.rowTotals || N.length === 0) && (Te = b.getAggregator([], []), Oe = Te.value(), U = document.createElement("td"), U.className = "pvtGrandTotal", U.textContent = Te.format(Oe), U.setAttribute("data-value", Oe), W != null && (U.onclick = W(Oe, [], [])), Me.appendChild(U)), ee.appendChild(Me);
8136
8144
  }
8137
8145
  return We.appendChild(ee), We.setAttribute("data-numrows", Ve.length), We.setAttribute("data-numcols", B.length), We;
8138
8146
  }, f.fn.pivot = function(b, T, $) {
8139
- var O, N, E, B, _, W, oe, fe;
8140
- $ == null && ($ = "en"), K[$] == null && ($ = "en"), O = {
8147
+ var M, N, E, B, _, W, oe, fe;
8148
+ $ == null && ($ = "en"), K[$] == null && ($ = "en"), M = {
8141
8149
  cols: [],
8142
8150
  rows: [],
8143
8151
  vals: [],
@@ -8157,7 +8165,7 @@ function ba() {
8157
8165
  localeStrings: B
8158
8166
  },
8159
8167
  localeStrings: B
8160
- }, _ = f.extend(!0, {}, E, f.extend({}, O, T)), oe = null;
8168
+ }, _ = f.extend(!0, {}, E, f.extend({}, M, T)), oe = null;
8161
8169
  try {
8162
8170
  W = new _.dataClass(b, _);
8163
8171
  try {
@@ -8171,12 +8179,12 @@ function ba() {
8171
8179
  for (fe = this[0]; fe.hasChildNodes(); )
8172
8180
  fe.removeChild(fe.lastChild);
8173
8181
  return this.append(oe);
8174
- }, f.fn.pivotUI = function(b, T, $, O) {
8175
- var N, E, B, _, W, oe, fe, pe, We, xe, Re, Ve, R, ee, U, J, Ie, Te, Oe, nt, Me, Ue, ae, Qe, Ne, qe, Le, Xe, se, $e, et, je, lt, Gt, Kn, an, _t, wt, cn, ni, Jt, Sn, Pn, Wn, yt;
8176
- $ == null && ($ = !1), O == null && (O = "en"), K[O] == null && (O = "en"), pe = {
8182
+ }, f.fn.pivotUI = function(b, T, $, M) {
8183
+ var N, E, B, _, W, oe, fe, pe, We, xe, Re, Ve, R, ee, U, J, Ie, Te, Me, nt, Oe, Ue, ae, Qe, Ne, qe, Le, Xe, se, $e, et, je, lt, Gt, Kn, an, _t, wt, cn, ni, Jt, Sn, Pn, Wn, yt;
8184
+ $ == null && ($ = !1), M == null && (M = "en"), K[M] == null && (M = "en"), pe = {
8177
8185
  derivedAttributes: {},
8178
- aggregators: K[O].aggregators,
8179
- renderers: K[O].renderers,
8186
+ aggregators: K[M].aggregators,
8187
+ renderers: K[M].renderers,
8180
8188
  hiddenAttributes: [],
8181
8189
  hiddenFromAggregators: [],
8182
8190
  hiddenFromDragDrop: [],
@@ -8197,11 +8205,11 @@ function ba() {
8197
8205
  return !0;
8198
8206
  },
8199
8207
  sorters: {}
8200
- }, Oe = f.extend(!0, {}, K.en.localeStrings, K[O].localeStrings), Te = {
8208
+ }, Me = f.extend(!0, {}, K.en.localeStrings, K[M].localeStrings), Te = {
8201
8209
  rendererOptions: {
8202
- localeStrings: Oe
8210
+ localeStrings: Me
8203
8211
  },
8204
- localeStrings: Oe
8212
+ localeStrings: Me
8205
8213
  }, xe = this.data("pivotUIOptions"), xe == null || $ ? ae = f.extend(!0, {}, Te, f.extend({}, pe, T)) : ae = xe;
8206
8214
  try {
8207
8215
  W = {}, nt = [], qe = 0, y.forEachRecord(b, ae.derivedAttributes, function(we) {
@@ -8243,7 +8251,7 @@ function ba() {
8243
8251
  Wn = _ > Pn;
8244
8252
  }
8245
8253
  ae.unusedAttrsVertical === !0 || Wn ? Sn.addClass("pvtVertList") : Sn.addClass("pvtHorizList"), Re = function(we) {
8246
- var Je, pt, ht, it, Tt, on, Tn, fn, At, at, Qt, Ht, Ln, Xt, dt, It, On, ct, Yt;
8254
+ var Je, pt, ht, it, Tt, on, Tn, fn, At, at, Qt, Ht, Ln, Xt, dt, It, Mn, ct, Yt;
8247
8255
  if (Yt = function() {
8248
8256
  var pn;
8249
8257
  pn = [];
@@ -8281,9 +8289,9 @@ function ba() {
8281
8289
  }).appendTo(it).html(ae.localeStrings.selectNone).bind("click", function() {
8282
8290
  return ct.find("input:visible:checked").prop("checked", !1).toggleClass("changed"), !1;
8283
8291
  })), pt = f("<div>").addClass("pvtCheckContainer").appendTo(ct), Ht = Yt.sort(H(ae.sorters, we)), at = 0, At = Ht.length; at < At; at++)
8284
- It = Ht[at], On = W[we][It], Tt = f("<label>"), on = !1, ae.inclusions[we] ? on = l.call(ae.inclusions[we], It) < 0 : ae.exclusions[we] && (on = l.call(ae.exclusions[we], It) >= 0), fn || (fn = on), f("<input>").attr("type", "checkbox").addClass("pvtFilter").attr("checked", !on).data("filter", [we, It]).appendTo(Tt).bind("change", function() {
8292
+ It = Ht[at], Mn = W[we][It], Tt = f("<label>"), on = !1, ae.inclusions[we] ? on = l.call(ae.inclusions[we], It) < 0 : ae.exclusions[we] && (on = l.call(ae.exclusions[we], It) >= 0), fn || (fn = on), f("<input>").attr("type", "checkbox").addClass("pvtFilter").attr("checked", !on).data("filter", [we, It]).appendTo(Tt).bind("change", function() {
8285
8293
  return f(this).toggleClass("changed");
8286
- }), Tt.append(f("<span>").addClass("value").text(It)), Tt.append(f("<span>").addClass("count").text("(" + On + ")")), pt.append(f("<p>").append(Tt));
8294
+ }), Tt.append(f("<span>").addClass("value").text(It)), Tt.append(f("<span>").addClass("count").text("(" + Mn + ")")), pt.append(f("<p>").append(Tt));
8287
8295
  return ht = function() {
8288
8296
  return ct.find("[type='checkbox']").length > ct.find("[type='checkbox']:checked").length ? Je.addClass("pvtFilteredAttribute") : Je.removeClass("pvtFilteredAttribute"), ct.find(".pvtSearch").val(""), ct.find(".pvtCheckContainer p").show(), ct.hide();
8289
8297
  }, Tn = f("<p>").appendTo(ct), Yt.length <= ae.menuLimit && f("<button>", {
@@ -8333,8 +8341,8 @@ function ba() {
8333
8341
  role: "button"
8334
8342
  }).addClass("pvtColOrder").data("order", ae.colOrder).html(Qe[ae.colOrder].colSymbol).bind("click", function() {
8335
8343
  return f(this).data("order", Qe[f(this).data("order")].next), f(this).html(Qe[f(this).data("order")].colSymbol), et();
8336
- }), f("<td>").addClass("pvtVals pvtUiCell").appendTo(cn).append(E).append(Kn).append(fe).append(f("<br>")), f("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols pvtUiCell").appendTo(cn), ni = f("<tr>").appendTo(Jt), ni.append(f("<td>").addClass("pvtAxisContainer pvtRows pvtUiCell").attr("valign", "top")), Ne = f("<td>").attr("valign", "top").addClass("pvtRendererArea").appendTo(ni), ae.unusedAttrsVertical === !0 || Wn ? (Jt.find("tr:nth-child(1)").prepend(Gt), Jt.find("tr:nth-child(2)").prepend(Sn)) : Jt.prepend(f("<tr>").append(Gt).append(Sn)), this.html(Jt), se = ae.cols, Me = 0, J = se.length; Me < J; Me++)
8337
- yt = se[Me], this.find(".pvtCols").append(this.find(".axis_" + f.inArray(yt, wt)));
8344
+ }), f("<td>").addClass("pvtVals pvtUiCell").appendTo(cn).append(E).append(Kn).append(fe).append(f("<br>")), f("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols pvtUiCell").appendTo(cn), ni = f("<tr>").appendTo(Jt), ni.append(f("<td>").addClass("pvtAxisContainer pvtRows pvtUiCell").attr("valign", "top")), Ne = f("<td>").attr("valign", "top").addClass("pvtRendererArea").appendTo(ni), ae.unusedAttrsVertical === !0 || Wn ? (Jt.find("tr:nth-child(1)").prepend(Gt), Jt.find("tr:nth-child(2)").prepend(Sn)) : Jt.prepend(f("<tr>").append(Gt).append(Sn)), this.html(Jt), se = ae.cols, Oe = 0, J = se.length; Oe < J; Oe++)
8345
+ yt = se[Oe], this.find(".pvtCols").append(this.find(".axis_" + f.inArray(yt, wt)));
8338
8346
  for ($e = ae.rows, Ue = 0, Ie = $e.length; Ue < Ie; Ue++)
8339
8347
  yt = $e[Ue], this.find(".pvtRows").append(this.find(".axis_" + f.inArray(yt, wt)));
8340
8348
  ae.aggregatorName != null && this.find(".pvtAggregator").val(ae.aggregatorName), ae.rendererName != null && this.find(".pvtRenderer").val(ae.rendererName), ae.showUI || this.find(".pvtUiCell").hide(), R = !0, je = /* @__PURE__ */ function(we) {
@@ -8375,11 +8383,11 @@ function ba() {
8375
8383
  if (dt = f(this).data("filter"), Je[dt[0]] != null)
8376
8384
  return pt[dt[0]] != null ? pt[dt[0]].push(dt[1]) : pt[dt[0]] = [dt[1]];
8377
8385
  }), at.filter = function(dt) {
8378
- var It, On, ct, Yt;
8386
+ var It, Mn, ct, Yt;
8379
8387
  if (!ae.filter(dt))
8380
8388
  return !1;
8381
- for (On in Je)
8382
- if (It = Je[On], ct = "" + ((Yt = dt[On]) != null ? Yt : "null"), l.call(It, ct) >= 0)
8389
+ for (Mn in Je)
8390
+ if (It = Je[Mn], ct = "" + ((Yt = dt[Mn]) != null ? Yt : "null"), l.call(It, ct) >= 0)
8383
8391
  return !1;
8384
8392
  return !0;
8385
8393
  }, Ne.pivot(nt, at), on = f.extend({}, ae, {
@@ -8416,14 +8424,14 @@ function ba() {
8416
8424
  }
8417
8425
  return this;
8418
8426
  }, f.fn.heatmap = function(b, T) {
8419
- var $, O, N, E, B, _, W, oe, fe, pe, We;
8427
+ var $, M, N, E, B, _, W, oe, fe, pe, We;
8420
8428
  switch (b == null && (b = "heatmap"), oe = this.data("numrows"), W = this.data("numcols"), $ = T != null && (fe = T.heatmap) != null ? fe.colorScaleGenerator : void 0, $ == null && ($ = function(xe) {
8421
8429
  var Re, Ve;
8422
8430
  return Ve = Math.min.apply(Math, xe), Re = Math.max.apply(Math, xe), function(R) {
8423
8431
  var ee;
8424
8432
  return ee = 255 - Math.round(255 * (R - Ve) / (Re - Ve)), "rgb(255," + ee + "," + ee + ")";
8425
8433
  };
8426
- }), O = /* @__PURE__ */ function(xe) {
8434
+ }), M = /* @__PURE__ */ function(xe) {
8427
8435
  return function(Re) {
8428
8436
  var Ve, R, ee;
8429
8437
  return R = function(U) {
@@ -8440,19 +8448,19 @@ function ba() {
8440
8448
  };
8441
8449
  }(this), b) {
8442
8450
  case "heatmap":
8443
- O(".pvtVal");
8451
+ M(".pvtVal");
8444
8452
  break;
8445
8453
  case "rowheatmap":
8446
8454
  for (N = B = 0, pe = oe; 0 <= pe ? B < pe : B > pe; N = 0 <= pe ? ++B : --B)
8447
- O(".pvtVal.row" + N);
8455
+ M(".pvtVal.row" + N);
8448
8456
  break;
8449
8457
  case "colheatmap":
8450
8458
  for (E = _ = 0, We = W; 0 <= We ? _ < We : _ > We; E = 0 <= We ? ++_ : --_)
8451
- O(".pvtVal.col" + E);
8459
+ M(".pvtVal.col" + E);
8452
8460
  }
8453
- return O(".pvtTotal.rowTotal"), O(".pvtTotal.colTotal"), this;
8461
+ return M(".pvtTotal.rowTotal"), M(".pvtTotal.colTotal"), this;
8454
8462
  }, f.fn.barchart = function(b) {
8455
- var T, $, O, N, E;
8463
+ var T, $, M, N, E;
8456
8464
  for (N = this.data("numrows"), this.data("numcols"), T = /* @__PURE__ */ function(B) {
8457
8465
  return function(_) {
8458
8466
  var W, oe, fe, pe, We, xe;
@@ -8489,7 +8497,7 @@ function ba() {
8489
8497
  }).html(J);
8490
8498
  });
8491
8499
  };
8492
- }(this), $ = O = 0, E = N; 0 <= E ? O < E : O > E; $ = 0 <= E ? ++O : --O)
8500
+ }(this), $ = M = 0, E = N; 0 <= E ? M < E : M > E; $ = 0 <= E ? ++M : --M)
8493
8501
  T(".pvtVal.row" + $);
8494
8502
  return T(".pvtTotal.colTotal"), this;
8495
8503
  };
@@ -8531,7 +8539,7 @@ const Au = Ft({
8531
8539
  setup(e) {
8532
8540
  const { t: r } = $t();
8533
8541
  function u(re) {
8534
- const Fe = er.pivotUtilities.aggregatorTemplates.sum, De = er.pivotUtilities.numberFormat, o = De({ digitsAfterDecimal: 0 });
8542
+ const Fe = er.pivotUtilities.aggregatorTemplates.sum, ze = er.pivotUtilities.numberFormat, o = ze({ digitsAfterDecimal: 0 });
8535
8543
  let ue = {
8536
8544
  options: {
8537
8545
  aggregator: null,
@@ -8555,13 +8563,13 @@ const Au = Ft({
8555
8563
  return;
8556
8564
  }
8557
8565
  p = null;
8558
- const De = u(re);
8566
+ const ze = u(re);
8559
8567
  er(x.value).pivot(
8560
8568
  Fe,
8561
8569
  {
8562
- rows: De.options.rows,
8563
- cols: De.options.columns,
8564
- aggregator: De.options.aggregator
8570
+ rows: ze.options.rows,
8571
+ cols: ze.options.columns,
8572
+ aggregator: ze.options.aggregator
8565
8573
  }
8566
8574
  ), H();
8567
8575
  }
@@ -8569,24 +8577,24 @@ const Au = Ft({
8569
8577
  p && g(p.options, p.data);
8570
8578
  });
8571
8579
  function s(re, Fe) {
8572
- Fe || (f.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((De) => {
8573
- y.value = null, g(re, De);
8574
- }).catch((De) => {
8575
- De.response ? y.value = `${De.response.data.message}` : De.request ? y.value = r("tablesValue.mPivotTable.failedToConnect") : y.value = r("tablesValue.mPivotTable.failedToProcess") + De;
8580
+ Fe || (f.value = !0, y.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((ze) => {
8581
+ y.value = null, g(re, ze);
8582
+ }).catch((ze) => {
8583
+ ze.response ? y.value = `${ze.response.data.message}` : ze.request ? y.value = r("tablesValue.mPivotTable.failedToConnect") : y.value = r("tablesValue.mPivotTable.failedToProcess") + ze;
8576
8584
  }).finally(() => {
8577
8585
  Fe || (f.value = !1);
8578
8586
  });
8579
8587
  }
8580
- const f = ie(!1), y = ie(null), x = ie(null), w = Kt(() => e.visualization.options.style.dataClasses || []), z = ie(!1), D = ie(/* @__PURE__ */ new Set());
8588
+ const f = ie(!1), y = ie(null), x = ie(null), w = Kt(() => e.visualization.options.style.dataClasses || []), D = ie(!1), z = ie(/* @__PURE__ */ new Set());
8581
8589
  function te(re, Fe) {
8582
- const De = (re || "").replace("#", "");
8583
- if (De.length < 6)
8590
+ const ze = (re || "").replace("#", "");
8591
+ if (ze.length < 6)
8584
8592
  return "transparent";
8585
- const o = parseInt(De.substr(0, 2), 16), ue = parseInt(De.substr(2, 2), 16), G = parseInt(De.substr(4, 2), 16);
8593
+ const o = parseInt(ze.substr(0, 2), 16), ue = parseInt(ze.substr(2, 2), 16), G = parseInt(ze.substr(4, 2), 16);
8586
8594
  return `rgba(${o},${ue},${G},${Fe})`;
8587
8595
  }
8588
8596
  function H() {
8589
- const re = w.value, Fe = D.value;
8597
+ const re = w.value, Fe = z.value;
8590
8598
  if (!x.value)
8591
8599
  return;
8592
8600
  x.value.querySelectorAll("table.pvtTable tbody td").forEach((o) => {
@@ -8604,29 +8612,29 @@ const Au = Ft({
8604
8612
  });
8605
8613
  }
8606
8614
  function K(re) {
8607
- const Fe = new Set(D.value);
8608
- Fe.has(re.name) ? Fe.delete(re.name) : Fe.add(re.name), D.value = Fe, H();
8615
+ const Fe = new Set(z.value);
8616
+ Fe.has(re.name) ? Fe.delete(re.name) : Fe.add(re.name), z.value = Fe, H();
8609
8617
  }
8610
8618
  sa(w, () => {
8611
8619
  H();
8612
8620
  }, { deep: !0 });
8613
8621
  let ye = null;
8614
- zt(() => clearInterval(ye)), Vt(() => {
8622
+ Dt(() => clearInterval(ye)), Vt(() => {
8615
8623
  s(e.visualization.options, !1), e.dataRefreshPeriod && (ye = setInterval(l, e.dataRefreshPeriod));
8616
8624
  });
8617
8625
  function X(re) {
8618
- const Fe = Array.from(re.querySelectorAll("tr")), De = Fe.length, o = Array.from({ length: De }, () => []), ue = {};
8619
- for (let ge = 0; ge < De; ge++) {
8626
+ const Fe = Array.from(re.querySelectorAll("tr")), ze = Fe.length, o = Array.from({ length: ze }, () => []), ue = {};
8627
+ for (let ge = 0; ge < ze; ge++) {
8620
8628
  const be = Array.from(Fe[ge].querySelectorAll("th, td"));
8621
8629
  let Ce = 0;
8622
8630
  for (let b = 0; b < be.length; b++) {
8623
8631
  for (; ue[`${ge},${Ce}`]; )
8624
8632
  Ce++;
8625
- const T = be[b], $ = T.colSpan || 1, O = T.rowSpan || 1, N = T.textContent.trim();
8626
- for (let E = 0; E < O; E++)
8633
+ const T = be[b], $ = T.colSpan || 1, M = T.rowSpan || 1, N = T.textContent.trim();
8634
+ for (let E = 0; E < M; E++)
8627
8635
  for (let B = 0; B < $; B++) {
8628
8636
  const _ = ge + E, W = Ce + B;
8629
- _ < De && (o[_][W] = N, ue[`${_},${W}`] = !0);
8637
+ _ < ze && (o[_][W] = N, ue[`${_},${W}`] = !0);
8630
8638
  }
8631
8639
  Ce += $;
8632
8640
  }
@@ -8644,8 +8652,8 @@ const Au = Ft({
8644
8652
  }
8645
8653
  function me(re, Fe) {
8646
8654
  var be;
8647
- const De = (be = x.value) == null ? void 0 : be.querySelector("table.pvtTable");
8648
- if (!De)
8655
+ const ze = (be = x.value) == null ? void 0 : be.querySelector("table.pvtTable");
8656
+ if (!ze)
8649
8657
  return;
8650
8658
  if (Fe === "PDF" || Fe === "PNG" || Fe === "SVG") {
8651
8659
  const Ce = w.value;
@@ -8675,17 +8683,17 @@ tbody tr:last-child td,tbody tr:last-child th,.pvtTotal,.pvtTotalLabel{backgroun
8675
8683
  body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;padding:20px}
8676
8684
  h2{font-size:14px;color:#111827;margin-bottom:12px;font-weight:700}
8677
8685
  ${T}
8678
- </style></head><body><h2>${ke(re)}</h2>${De.outerHTML}${b}</body></html>`), N.document.close(), N.focus(), setTimeout(() => {
8686
+ </style></head><body><h2>${ke(re)}</h2>${ze.outerHTML}${b}</body></html>`), N.document.close(), N.focus(), setTimeout(() => {
8679
8687
  N.print();
8680
8688
  }, 300);
8681
8689
  return;
8682
8690
  }
8683
8691
  const $ = document.createElement("style");
8684
8692
  $.textContent = `body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}${T}`, document.head.appendChild($);
8685
- const O = document.createElement("div");
8686
- O.id = "__pvt-export-container", O.style.cssText = "position:fixed;left:-9999px;top:0;background:#fff;padding:20px;box-sizing:border-box;", O.innerHTML = `<h2 style="font-size:14px;color:#111827;margin:0 0 12px;font-weight:700">${ke(re)}</h2>${De.outerHTML}${b}`, document.body.appendChild(O), import("./html2canvas.esm-CKxSAI8P.mjs").then(({ default: N }) => {
8687
- N(O, { scale: 2, backgroundColor: "#ffffff", useCORS: !0, logging: !1 }).then((E) => {
8688
- if (document.body.removeChild(O), document.head.removeChild($), Fe === "SVG") {
8693
+ const M = document.createElement("div");
8694
+ M.id = "__pvt-export-container", M.style.cssText = "position:fixed;left:-9999px;top:0;background:#fff;padding:20px;box-sizing:border-box;", M.innerHTML = `<h2 style="font-size:14px;color:#111827;margin:0 0 12px;font-weight:700">${ke(re)}</h2>${ze.outerHTML}${b}`, document.body.appendChild(M), import("./html2canvas.esm-CKxSAI8P.mjs").then(({ default: N }) => {
8695
+ N(M, { scale: 2, backgroundColor: "#ffffff", useCORS: !0, logging: !1 }).then((E) => {
8696
+ if (document.body.removeChild(M), document.head.removeChild($), Fe === "SVG") {
8689
8697
  const B = E.toDataURL("image/png"), _ = E.width / 2, W = E.height / 2, oe = `<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="${_}" height="${W}"><image href="${B}" width="${_}" height="${W}"/></svg>`;
8690
8698
  tr(oe, re + ".svg", "image/svg+xml");
8691
8699
  } else
@@ -8697,7 +8705,7 @@ ${T}
8697
8705
  });
8698
8706
  return;
8699
8707
  }
8700
- const o = X(De), ue = De.querySelectorAll("thead tr").length, G = o.slice(0, ue), ge = o.slice(ue);
8708
+ const o = X(ze), ue = ze.querySelectorAll("thead tr").length, G = o.slice(0, ue), ge = o.slice(ue);
8701
8709
  if (Fe === "CSV") {
8702
8710
  const Ce = (T) => T.includes(",") || T.includes('"') || T.includes(`
8703
8711
  `) ? `"${T.replace(/"/g, '""')}"` : T, b = [];
@@ -8730,8 +8738,8 @@ ${T}
8730
8738
  loading: f,
8731
8739
  errorMessage: y,
8732
8740
  colorClasses: w,
8733
- legendCollapsed: z,
8734
- disabledColorClasses: D,
8741
+ legendCollapsed: D,
8742
+ disabledColorClasses: z,
8735
8743
  toggleColorClass: K,
8736
8744
  exportAs(re) {
8737
8745
  me(e.visualization.name || "pivot-table", re);
@@ -8749,12 +8757,12 @@ ${T}
8749
8757
  }), ku = {
8750
8758
  key: 0,
8751
8759
  class: "spinner-overlay"
8752
- }, Lu = /* @__PURE__ */ S("div", { class: "spinner" }, null, -1), Ou = [
8760
+ }, Lu = /* @__PURE__ */ S("div", { class: "spinner" }, null, -1), Mu = [
8753
8761
  Lu
8754
- ], Mu = { style: { height: "100%", width: "100%" } }, Nu = { class: "m-box" }, zu = {
8762
+ ], Ou = { style: { height: "100%", width: "100%" } }, Nu = { class: "m-box" }, Du = {
8755
8763
  key: 0,
8756
8764
  class: "m-row header"
8757
- }, Du = { class: "m-row content" }, Fu = {
8765
+ }, zu = { class: "m-row content" }, Fu = {
8758
8766
  ref: "container",
8759
8767
  class: "pvt-container"
8760
8768
  }, $u = /* @__PURE__ */ S("svg", {
@@ -8828,12 +8836,12 @@ ${T}
8828
8836
  style: { color: "#ef4444", "font-size": "13px" }
8829
8837
  };
8830
8838
  function _u(e, r, u, l, p, g) {
8831
- return k(), M(Ae, null, [
8832
- e.loading ? (k(), M("div", ku, Ou)) : le("", !0),
8833
- ut(S("div", Mu, [
8839
+ return k(), O(Ae, null, [
8840
+ e.loading ? (k(), O("div", ku, Mu)) : le("", !0),
8841
+ ut(S("div", Ou, [
8834
8842
  S("div", Nu, [
8835
- e.visualization.options.style.title.display || e.visualization.options.style.subtitle.display ? (k(), M("div", zu, [
8836
- e.visualization.options.style.title.display ? (k(), M("div", {
8843
+ e.visualization.options.style.title.display || e.visualization.options.style.subtitle.display ? (k(), O("div", Du, [
8844
+ e.visualization.options.style.title.display ? (k(), O("div", {
8837
8845
  key: 0,
8838
8846
  style: ot({ textAlign: e.visualization.options.style.title.style.position })
8839
8847
  }, [
@@ -8841,7 +8849,7 @@ function _u(e, r, u, l, p, g) {
8841
8849
  style: ot(e.getStyle(e.visualization.options.style.title.style))
8842
8850
  }, Y(e.visualization.options.style.title.text), 5)
8843
8851
  ], 4)) : le("", !0),
8844
- e.visualization.options.style.subtitle.display ? (k(), M("div", {
8852
+ e.visualization.options.style.subtitle.display ? (k(), O("div", {
8845
8853
  key: 1,
8846
8854
  style: ot({ textAlign: e.visualization.options.style.subtitle.style.position })
8847
8855
  }, [
@@ -8850,12 +8858,12 @@ function _u(e, r, u, l, p, g) {
8850
8858
  }, Y(e.visualization.options.style.subtitle.text), 5)
8851
8859
  ], 4)) : le("", !0)
8852
8860
  ])) : le("", !0),
8853
- S("div", Du, [
8861
+ S("div", zu, [
8854
8862
  S("div", Fu, null, 512)
8855
8863
  ]),
8856
8864
  Yn(ci, { name: "pvt-legend-slide" }, {
8857
8865
  default: fi(() => [
8858
- e.colorClasses.length ? (k(), M("div", {
8866
+ e.colorClasses.length ? (k(), O("div", {
8859
8867
  key: 0,
8860
8868
  class: bt(["pvt-legend", { "pvt-legend--collapsed": e.legendCollapsed }])
8861
8869
  }, [
@@ -8865,7 +8873,7 @@ function _u(e, r, u, l, p, g) {
8865
8873
  }, [
8866
8874
  $u,
8867
8875
  S("span", Pu, Y(e.t("tablesValue.mPivotTable.legend")), 1),
8868
- (k(), M("svg", {
8876
+ (k(), O("svg", {
8869
8877
  class: bt(["pvt-legend-chevron", { "pvt-legend-chevron--up": !e.legendCollapsed }]),
8870
8878
  viewBox: "0 0 24 24",
8871
8879
  fill: "none",
@@ -8873,7 +8881,7 @@ function _u(e, r, u, l, p, g) {
8873
8881
  }, Iu, 2))
8874
8882
  ]),
8875
8883
  ut(S("div", Eu, [
8876
- (k(!0), M(Ae, null, Ke(e.colorClasses, (s) => (k(), M("div", {
8884
+ (k(!0), O(Ae, null, Ke(e.colorClasses, (s) => (k(), O("div", {
8877
8885
  key: s.name,
8878
8886
  class: bt(["pvt-legend-item", { "pvt-legend-item--off": e.disabledColorClasses.has(s.name) }]),
8879
8887
  onClick: dn((f) => e.toggleColorClass(s), ["stop"])
@@ -8896,18 +8904,18 @@ function _u(e, r, u, l, p, g) {
8896
8904
  ], 512), [
8897
8905
  [ft, !e.loading && !e.errorMessage]
8898
8906
  ]),
8899
- e.errorMessage && !e.loading ? (k(), M("div", ju, Y(e.errorMessage), 1)) : le("", !0)
8907
+ e.errorMessage && !e.loading ? (k(), O("div", ju, Y(e.errorMessage), 1)) : le("", !0)
8900
8908
  ], 64);
8901
8909
  }
8902
8910
  const Hu = /* @__PURE__ */ Pt(Au, [["render", _u]]);
8903
8911
  Ao(Z);
8904
8912
  ko(Z);
8905
8913
  Lo(Z);
8906
- Oo(Z);
8907
8914
  Mo(Z);
8915
+ Oo(Z);
8908
8916
  No(Z);
8909
8917
  da(Z);
8910
- zo(Z);
8918
+ Do(Z);
8911
8919
  bn(Z);
8912
8920
  Cn(Z);
8913
8921
  xn(Z);
@@ -8965,14 +8973,14 @@ function Xr(e) {
8965
8973
  return String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
8966
8974
  }
8967
8975
  function Yr(e, { x: r = 0, y: u = 0, fontSize: l = 11, color: p = "#374151", fontFamily: g = "inherit" } = {}) {
8968
- const s = Math.max(...e.items.map((ke) => ke.radius)), f = 10, y = 2, x = Math.max(...e.items.map((ke) => ke.label.length)) * l * 0.62, w = y + s * 2 + f + x + y, z = r + y + s, D = u + y + l / 2 + s * 2, te = r + y + s * 2 + f - 3;
8976
+ const s = Math.max(...e.items.map((ke) => ke.radius)), f = 10, y = 2, x = Math.max(...e.items.map((ke) => ke.label.length)) * l * 0.62, w = y + s * 2 + f + x + y, D = r + y + s, z = u + y + l / 2 + s * 2, te = r + y + s * 2 + f - 3;
8969
8977
  let H = "";
8970
8978
  for (const ke of e.items)
8971
- H += `<circle cx="${z}" cy="${D - ke.radius}" r="${ke.radius}" fill="rgba(156,163,175,0.12)" stroke="#6b7280" stroke-width="1"/>`;
8972
- let K = -1 / 0, ye = D;
8979
+ H += `<circle cx="${D}" cy="${z - ke.radius}" r="${ke.radius}" fill="rgba(156,163,175,0.12)" stroke="#6b7280" stroke-width="1"/>`;
8980
+ let K = -1 / 0, ye = z;
8973
8981
  for (const ke of e.items) {
8974
- const me = D - ke.radius * 2, re = Math.max(me, K + l + 1);
8975
- K = re, ye = Math.max(ye, re + l / 2), H += `<polyline points="${z},${me} ${te - 4},${me} ${te},${re}" fill="none" stroke="#9ca3af" stroke-width="1" stroke-dasharray="2,2"/>`, H += `<text x="${te + 3}" y="${re + l * 0.35}" font-size="${l}" font-family="${g}" fill="${Xr(p)}">${Xr(ke.label)}</text>`;
8982
+ const me = z - ke.radius * 2, re = Math.max(me, K + l + 1);
8983
+ K = re, ye = Math.max(ye, re + l / 2), H += `<polyline points="${D},${me} ${te - 4},${me} ${te},${re}" fill="none" stroke="#9ca3af" stroke-width="1" stroke-dasharray="2,2"/>`, H += `<text x="${te + 3}" y="${re + l * 0.35}" font-size="${l}" font-family="${g}" fill="${Xr(p)}">${Xr(ke.label)}</text>`;
8976
8984
  }
8977
8985
  const X = ye - u + y;
8978
8986
  return { markup: H, width: w, height: X };
@@ -9047,14 +9055,14 @@ const Sa = "#A0A0A0", ti = "rgba(200, 200, 200, 0.3)";
9047
9055
  function ed() {
9048
9056
  return { title: "", style: { size: "1.125em", fontStyle: "", fontWeight: "", color: "" }, dataClasses: [] };
9049
9057
  }
9050
- function Mi(e = {}) {
9058
+ function Oi(e = {}) {
9051
9059
  return { mode: "classes", minColor: "#e5f5e0", maxColor: "#006d2c", min: null, max: null, scaleType: "linear", ...e };
9052
9060
  }
9053
9061
  function Ta(e = {}) {
9054
9062
  return { field: null, format: "", fontSize: "", allowOverlap: !1, ...e };
9055
9063
  }
9056
9064
  function Aa(e = {}) {
9057
- return { fields: [], titleField: null, valueDecimals: null, ...e };
9065
+ return { fields: [], labels: {}, titleField: null, valueDecimals: null, ...e };
9058
9066
  }
9059
9067
  const Vn = () => ({
9060
9068
  defaultOpened: !0,
@@ -9069,7 +9077,7 @@ const Vn = () => ({
9069
9077
  featureIdKey: null,
9070
9078
  dataIDKey: null,
9071
9079
  valueKey: null,
9072
- colorScale: Mi(),
9080
+ colorScale: Oi(),
9073
9081
  border: { color: Sa, width: 1 },
9074
9082
  nullColor: ti,
9075
9083
  showNoData: !1
@@ -9109,7 +9117,7 @@ const Vn = () => ({
9109
9117
  longVariable: null,
9110
9118
  imgVariable: null,
9111
9119
  valueKey: null,
9112
- colorScale: Mi(),
9120
+ colorScale: Oi(),
9113
9121
  cluster: !1,
9114
9122
  clusterOptions: { algorithm: "optimalizedKmeans", distance: 40, minimumClusterSize: 2, color: null }
9115
9123
  }),
@@ -9126,7 +9134,7 @@ const Vn = () => ({
9126
9134
  cellSize: null,
9127
9135
  interpolation: !0,
9128
9136
  blur: 1,
9129
- colorScale: Mi({ mode: "gradient", minColor: "#ffffb2", maxColor: "#b10026" })
9137
+ colorScale: Oi({ mode: "gradient", minColor: "#ffffb2", maxColor: "#b10026" })
9130
9138
  }),
9131
9139
  flowmap: () => ({
9132
9140
  ...Vn(),
@@ -9164,9 +9172,9 @@ const Vn = () => ({
9164
9172
  function na(e) {
9165
9173
  return e !== null && typeof e == "object" && !Array.isArray(e);
9166
9174
  }
9167
- function Di(e, r) {
9175
+ function zi(e, r) {
9168
9176
  for (const [u, l] of Object.entries(r))
9169
- e[u] === void 0 ? e[u] = l : na(l) && na(e[u]) && Di(e[u], l);
9177
+ e[u] === void 0 ? e[u] = l : na(l) && na(e[u]) && zi(e[u], l);
9170
9178
  return e;
9171
9179
  }
9172
9180
  function ka(e) {
@@ -9177,13 +9185,13 @@ function ka(e) {
9177
9185
  if (!r)
9178
9186
  return e;
9179
9187
  const u = r();
9180
- return delete u.defaultOpened, Di(e, u);
9188
+ return delete u.defaultOpened, zi(e, u);
9181
9189
  }
9182
9190
  function nd(e) {
9183
9191
  return ((e == null ? void 0 : e.layers) || []).forEach(ka), e == null ? void 0 : e.layers;
9184
9192
  }
9185
9193
  function id(e) {
9186
- return e && (Di(e, {
9194
+ return e && (zi(e, {
9187
9195
  view: { mode: "fit", center: null, zoom: null },
9188
9196
  mouseWheelZoom: !1,
9189
9197
  legendPosition: "bottom-left"
@@ -9211,7 +9219,7 @@ function pr(e, r) {
9211
9219
  const u = String(e).trim();
9212
9220
  return r.findIndex((l) => l.category != null && String(l.category).trim() === u);
9213
9221
  }
9214
- function Dn(e) {
9222
+ function zn(e) {
9215
9223
  var r;
9216
9224
  return ((r = e.colorScale) == null ? void 0 : r.mode) || "classes";
9217
9225
  }
@@ -9237,7 +9245,7 @@ function rd(e, r, u) {
9237
9245
  }
9238
9246
  function Fi(e, r, { withPieKeys: u = !1 } = {}) {
9239
9247
  var p;
9240
- const l = Dn(e);
9248
+ const l = zn(e);
9241
9249
  if (l === "category")
9242
9250
  return null;
9243
9251
  if (l === "gradient") {
@@ -9264,19 +9272,19 @@ function Fi(e, r, { withPieKeys: u = !1 } = {}) {
9264
9272
  }
9265
9273
  function jn(e, r, u, { values: l = [], toggleable: p = !0, forceShow: g = !1, items: s = null } = {}) {
9266
9274
  var w;
9267
- const f = Dn(e), y = {
9275
+ const f = zn(e), y = {
9268
9276
  ...e.legend,
9269
9277
  dataClasses: s || (f === "gradient" ? [] : ((w = e.legend) == null ? void 0 : w.dataClasses) || []),
9270
9278
  toggleable: p,
9271
9279
  _lid: r
9272
9280
  };
9273
9281
  if (f === "gradient" && !s) {
9274
- const z = hr(e, l);
9282
+ const D = hr(e, l);
9275
9283
  y.gradient = {
9276
9284
  minColor: e.colorScale.minColor,
9277
9285
  maxColor: e.colorScale.maxColor,
9278
- min: z.min,
9279
- max: z.max
9286
+ min: D.min,
9287
+ max: D.max
9280
9288
  };
9281
9289
  }
9282
9290
  return e.showNoData && (y.noData = { color: e.nullColor || ti, label: u("components.mMap.noData") }), y.dataClasses.length || y.gradient || y.noData || g ? y : null;
@@ -9310,15 +9318,15 @@ function Fn({ heading: e, title: r, imageUrl: u, imageUnavailable: l, rows: p =
9310
9318
  ${e ? `<div style="color:#9ca3af;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;margin-bottom:2px">${Nt(e)}</div>` : ""}
9311
9319
  <div style="color:#111827;font-size:14px;font-weight:700;line-height:1.3">${Nt(r)}</div>
9312
9320
  </div>` : "", x = s !== null ? `${Ni}="view-image" data-viewer-key="${Nt(s)}"` : "", w = s !== null ? `<button type="button" ${x} title="${Nt(g.viewFullScreen || "")}" aria-label="${Nt(g.viewFullScreen || "")}"
9313
- style="position:absolute;right:8px;bottom:8px;width:30px;height:30px;padding:0;border:none;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(17,24,39,0.72);color:#fff">${ld}</button>` : "", z = u ? `<div style="position:relative;overflow:hidden;height:200px;background:#f3f4f6;">
9321
+ style="position:absolute;right:8px;bottom:8px;width:30px;height:30px;padding:0;border:none;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(17,24,39,0.72);color:#fff">${ld}</button>` : "", D = u ? `<div style="position:relative;overflow:hidden;height:200px;background:#f3f4f6;">
9314
9322
  <img src="${Nt(u)}" alt="${Nt(l || "")}" class="${La}" ${x} style="width:100%;height:200px;object-fit:cover;display:block;${s !== null ? "cursor:zoom-in;" : ""}"/>
9315
9323
  ${w}
9316
- </div>` : "", D = p.map(([te, H]) => `<div style="display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:5px 0;border-bottom:1px solid #f3f4f6;">
9324
+ </div>` : "", z = p.map(([te, H]) => `<div style="display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:5px 0;border-bottom:1px solid #f3f4f6;">
9317
9325
  <span style="color:#6b7280;font-size:11px;white-space:nowrap;flex-shrink:0">${te}</span>
9318
9326
  <span style="color:#111827;font-weight:600;font-size:12px;text-align:right">${H}</span>
9319
9327
  </div>`).join("");
9320
9328
  return `<div style="position:relative;width:280px;border-radius:12px;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,0.18),0 2px 8px rgba(0,0,0,0.1);font-family:${ad};background:#fff;">
9321
- ${f}${y}${z}${D ? `<div style="padding:4px 16px 12px">${D}</div>` : ""}
9329
+ ${f}${y}${D}${z ? `<div style="padding:4px 16px 12px">${z}</div>` : ""}
9322
9330
  </div>`;
9323
9331
  }
9324
9332
  function ia(e) {
@@ -9332,7 +9340,7 @@ function ia(e) {
9332
9340
  const l = document.createElement("div");
9333
9341
  l.style.cssText = "display:flex;align-items:center;justify-content:center;height:200px;color:#9ca3af;font-size:12px;font-family:sans-serif", l.textContent = r.getAttribute("alt") || "", u.replaceChildren(l);
9334
9342
  }
9335
- function Oa(e, r, { onViewImage: u } = {}) {
9343
+ function Ma(e, r, { onViewImage: u } = {}) {
9336
9344
  var g, s, f, y;
9337
9345
  const l = (s = (g = e.target) == null ? void 0 : g.closest) == null ? void 0 : s.call(g, `[${Ni}]`);
9338
9346
  return !l || !r ? !1 : (e.stopPropagation(), l.getAttribute(Ni) === "view-image" && u && u(l.getAttribute("data-viewer-key")), (f = r.pointer) == null || f.reset(!1, 0), (y = r.tooltip) == null || y.hide(0), !0);
@@ -9346,15 +9354,18 @@ function or(e, r) {
9346
9354
  return Nt(e);
9347
9355
  }
9348
9356
  function mi(e, r, { skip: u = [] } = {}) {
9349
- var s;
9357
+ var s, f, y;
9350
9358
  if (!e)
9351
9359
  return [];
9352
9360
  const l = r.tooltip || {}, p = (s = l.fields) != null && s.length ? l.fields : Object.keys(e), g = [];
9353
- for (const f of p) {
9354
- if (u.includes(f))
9361
+ for (const x of p) {
9362
+ if (u.includes(x))
9363
+ continue;
9364
+ const w = e[x];
9365
+ if (w == null || w === "")
9355
9366
  continue;
9356
- const y = e[f];
9357
- y == null || y === "" || g.push([Nt(f), or(y, l.valueDecimals)]);
9367
+ const D = (y = (f = l.labels) == null ? void 0 : f[x]) == null ? void 0 : y.trim();
9368
+ g.push([Nt(D || x), or(w, l.valueDecimals)]);
9358
9369
  }
9359
9370
  return g;
9360
9371
  }
@@ -9363,7 +9374,7 @@ function $i(e, r, u) {
9363
9374
  const l = (g = r.tooltip) == null ? void 0 : g.titleField, p = l && e ? e[l] : null;
9364
9375
  return p != null && p !== "" ? p : u;
9365
9376
  }
9366
- const Ma = {
9377
+ const Oa = {
9367
9378
  headerFormat: "",
9368
9379
  useHTML: !0,
9369
9380
  backgroundColor: "transparent",
@@ -9387,12 +9398,12 @@ function Na(e, r) {
9387
9398
  r = Na(u, r);
9388
9399
  return r;
9389
9400
  }
9390
- function zi(e, r = null) {
9401
+ function Di(e, r = null) {
9391
9402
  if (!e)
9392
9403
  return r;
9393
9404
  if (e.type === "GeometryCollection") {
9394
9405
  for (const u of e.geometries || [])
9395
- r = zi(u, r);
9406
+ r = Di(u, r);
9396
9407
  return r;
9397
9408
  }
9398
9409
  return Na(e.coordinates, r);
@@ -9403,11 +9414,11 @@ function mr(e, r, u) {
9403
9414
  let s = null;
9404
9415
  for (const y of l) {
9405
9416
  const x = ((f = y.properties) == null ? void 0 : f[p]) ?? y[p];
9406
- x !== void 0 && g.has(String(x)) && (s = zi(y.geometry, s));
9417
+ x !== void 0 && g.has(String(x)) && (s = Di(y.geometry, s));
9407
9418
  }
9408
9419
  if (!s)
9409
9420
  for (const y of l)
9410
- s = zi(y.geometry, s);
9421
+ s = Di(y.geometry, s);
9411
9422
  return s;
9412
9423
  }
9413
9424
  function yr(e, r, u) {
@@ -9415,7 +9426,7 @@ function yr(e, r, u) {
9415
9426
  (l.options._ci ?? l.dataClass) === r && l.setVisible(u, !1);
9416
9427
  });
9417
9428
  }
9418
- function za(e, r) {
9429
+ function Da(e, r) {
9419
9430
  var l, p, g;
9420
9431
  const u = e.nullColor || ti;
9421
9432
  return {
@@ -9460,7 +9471,7 @@ function ud(e, r) {
9460
9471
  }
9461
9472
  function dd(e, r) {
9462
9473
  var g;
9463
- const u = e.type === "map" && Dn(e) === "category", l = ((g = e.legend) == null ? void 0 : g.dataClasses) || [], p = e.nullColor || ti;
9474
+ const u = e.type === "map" && zn(e) === "category", l = ((g = e.legend) == null ? void 0 : g.dataClasses) || [], p = e.nullColor || ti;
9464
9475
  return r.map((s) => {
9465
9476
  const f = {
9466
9477
  ...s,
@@ -9479,8 +9490,8 @@ const ra = {
9479
9490
  needsGeoJSON: !0,
9480
9491
  build(e, r) {
9481
9492
  var x;
9482
- const u = e.type === "map" && Dn(e) === "category", l = !u && Dn(e) === "category" ? { ...e, colorScale: { ...e.colorScale, mode: "classes" } } : e, p = r.rawData.map((w) => ve(w[e.valueKey])), g = Fi(l, p), s = {
9483
- ...za(e, r),
9493
+ const u = e.type === "map" && zn(e) === "category", l = !u && zn(e) === "category" ? { ...e, colorScale: { ...e.colorScale, mode: "classes" } } : e, p = r.rawData.map((w) => ve(w[e.valueKey])), g = Fi(l, p), s = {
9494
+ ...Da(e, r),
9484
9495
  type: e.type,
9485
9496
  colorAxis: g ? r.colorAxisIndex : !1,
9486
9497
  data: dd(e, r.rawData),
@@ -9506,8 +9517,8 @@ function cd(e, r) {
9506
9517
  var y;
9507
9518
  return [f.name, (y = this.meta) == null ? void 0 : y[f.pieValueKey], f.color];
9508
9519
  }).sort((f, y) => (ve(y[1]) ?? 0) - (ve(f[1]) ?? 0)).map(([f, y, x]) => {
9509
- const w = `<span style="color:${Nt(x)}">●</span> ${Nt(f)}`, z = Nt(Z.numberFormat(ve(y) ?? 0, -1, ".", ","));
9510
- return f === l ? [`<b>${w}</b>`, `<b>${z}</b>`] : [w, z];
9520
+ const w = `<span style="color:${Nt(x)}">●</span> ${Nt(f)}`, D = Nt(Z.numberFormat(ve(y) ?? 0, -1, ".", ","));
9521
+ return f === l ? [`<b>${w}</b>`, `<b>${D}</b>`] : [w, D];
9511
9522
  });
9512
9523
  return Fn({ heading: (s = e.legend) == null ? void 0 : s.name, title: this.id, rows: p, labels: u });
9513
9524
  }
@@ -9517,7 +9528,7 @@ const fd = {
9517
9528
  needsGeoJSON: !0,
9518
9529
  build(e, r) {
9519
9530
  const u = r.rawData.map((s) => ve(s[e.valueKey])), l = Fi({ ...e, colorScale: { mode: "classes" } }, u, { withPieKeys: !0 }), p = {
9520
- ...za(e, r),
9531
+ ...Da(e, r),
9521
9532
  type: "map",
9522
9533
  colorAxis: r.colorAxisIndex,
9523
9534
  data: r.rawData.map((s) => ({
@@ -9625,7 +9636,7 @@ function pd(e, r) {
9625
9636
  }
9626
9637
  function hd(e, r, u) {
9627
9638
  var y;
9628
- const l = Dn(e), p = ((y = e.legend) == null ? void 0 : y.dataClasses) || [], g = r[e.valueKey];
9639
+ const l = zn(e), p = ((y = e.legend) == null ? void 0 : y.dataClasses) || [], g = r[e.valueKey];
9629
9640
  if (l === "category") {
9630
9641
  const x = pr(g, p);
9631
9642
  return { ci: x, color: x >= 0 ? p[x].color : null };
@@ -9639,7 +9650,7 @@ function hd(e, r, u) {
9639
9650
  const gd = {
9640
9651
  needsGeoJSON: !1,
9641
9652
  build(e, r) {
9642
- const u = r.rawData.map((f) => ve(f[e.valueKey])), l = Dn(e) === "gradient" ? hr(e, u) : null, p = e.clusterOptions || {}, g = {
9653
+ const u = r.rawData.map((f) => ve(f[e.valueKey])), l = zn(e) === "gradient" ? hr(e, u) : null, p = e.clusterOptions || {}, g = {
9643
9654
  type: "mappoint",
9644
9655
  color: e.color,
9645
9656
  opacity: e.opacity / 100,
@@ -9702,23 +9713,23 @@ const gd = {
9702
9713
  yr(r, l, p);
9703
9714
  }
9704
9715
  };
9705
- function Da(e, r) {
9716
+ function za(e, r) {
9706
9717
  const u = ve(e.cellSize);
9707
9718
  if (u > 0)
9708
9719
  return u;
9709
9720
  let l = 1 / 0, p = -1 / 0, g = 1 / 0, s = -1 / 0;
9710
- for (const z of r) {
9711
- const D = ve(z[e.latVariable]), te = ve(z[e.longVariable]);
9712
- D === null || te === null || (l = Math.min(l, D), p = Math.max(p, D), g = Math.min(g, te), s = Math.max(s, te));
9721
+ for (const D of r) {
9722
+ const z = ve(D[e.latVariable]), te = ve(D[e.longVariable]);
9723
+ z === null || te === null || (l = Math.min(l, z), p = Math.max(p, z), g = Math.min(g, te), s = Math.max(s, te));
9713
9724
  }
9714
9725
  const f = Math.max(p - l, s - g);
9715
9726
  if (!Number.isFinite(f) || f <= 0)
9716
9727
  return 0.5;
9717
- const y = f / 30, x = Math.pow(10, Math.floor(Math.log10(y))), w = [1, 2, 5, 10].find((z) => y <= z * x) * x;
9728
+ const y = f / 30, x = Math.pow(10, Math.floor(Math.log10(y))), w = [1, 2, 5, 10].find((D) => y <= D * x) * x;
9718
9729
  return Math.max(w, 1e-3);
9719
9730
  }
9720
9731
  function md(e, r) {
9721
- const u = Da(e, r), l = /* @__PURE__ */ new Map();
9732
+ const u = za(e, r), l = /* @__PURE__ */ new Map();
9722
9733
  for (const g of r) {
9723
9734
  const s = ve(g[e.latVariable]), f = ve(g[e.longVariable]);
9724
9735
  if (s === null || f === null)
@@ -9726,9 +9737,9 @@ function md(e, r) {
9726
9737
  const y = e.valueKey ? ve(g[e.valueKey]) : 1;
9727
9738
  if (e.valueKey && y === null)
9728
9739
  continue;
9729
- const x = Math.floor(f / u), w = Math.floor(s / u), z = `${x}:${w}`;
9730
- let D = l.get(z);
9731
- D || (D = { lon: (x + 0.5) * u, lat: (w + 0.5) * u, sum: 0, count: 0 }, l.set(z, D)), D.sum += y ?? 1, D.count += 1;
9740
+ const x = Math.floor(f / u), w = Math.floor(s / u), D = `${x}:${w}`;
9741
+ let z = l.get(D);
9742
+ z || (z = { lon: (x + 0.5) * u, lat: (w + 0.5) * u, sum: 0, count: 0 }, l.set(D, z)), z.sum += y ?? 1, z.count += 1;
9732
9743
  }
9733
9744
  const p = e.valueKey ? e.aggregation || "sum" : "count";
9734
9745
  return [...l.values()].map((g) => ({
@@ -9746,7 +9757,7 @@ const vd = {
9746
9757
  needsGeoJSON: !1,
9747
9758
  build(e, r) {
9748
9759
  var te, H, K;
9749
- const u = md(e, r.rawData), l = u.map((ye) => ye.value), p = Da(e, r.rawData), g = yd(e, r.t), s = r.t("components.mMap.rows"), f = ((te = e.tooltip) == null ? void 0 : te.valueDecimals) ?? 2, y = Hn(r.t), x = ((H = e.colorScale) == null ? void 0 : H.mode) === "category" ? { ...e, colorScale: { ...e.colorScale, mode: "gradient" } } : e, w = Fi(x, l), z = {
9760
+ const u = md(e, r.rawData), l = u.map((ye) => ye.value), p = za(e, r.rawData), g = yd(e, r.t), s = r.t("components.mMap.rows"), f = ((te = e.tooltip) == null ? void 0 : te.valueDecimals) ?? 2, y = Hn(r.t), x = ((H = e.colorScale) == null ? void 0 : H.mode) === "category" ? { ...e, colorScale: { ...e.colorScale, mode: "gradient" } } : e, w = Fi(x, l), D = {
9750
9761
  type: "geoheatmap",
9751
9762
  name: (K = e.legend) == null ? void 0 : K.name,
9752
9763
  colorAxis: r.colorAxisIndex,
@@ -9778,8 +9789,8 @@ const vd = {
9778
9789
  showInLegend: !1,
9779
9790
  index: r.index,
9780
9791
  mosDBOptions: { ...e, _lid: r.lid }
9781
- }, D = jn(x, r.lid, r.t, { values: l, toggleable: !1 });
9782
- return { series: [z], colorAxis: [w], legend: D };
9792
+ }, z = jn(x, r.lid, r.t, { values: l, toggleable: !1 });
9793
+ return { series: [D], colorAxis: [w], legend: z };
9783
9794
  },
9784
9795
  bounds(e, r, u) {
9785
9796
  let l = null;
@@ -9799,7 +9810,7 @@ function oa(e, r, u) {
9799
9810
  const bd = {
9800
9811
  needsGeoJSON: !1,
9801
9812
  build(e, r) {
9802
- var w, z, D, te;
9813
+ var w, D, z, te;
9803
9814
  const u = ((w = e.legend) == null ? void 0 : w.dataClasses) || [], l = Hn(r.t), p = [], g = /* @__PURE__ */ new Map();
9804
9815
  for (const H of r.rawData) {
9805
9816
  const K = aa(H, e.fromLatVariable, e.fromLongVariable), ye = aa(H, e.toLatVariable, e.toLongVariable);
@@ -9823,7 +9834,7 @@ const bd = {
9823
9834
  const s = `flowmap-${r.lid}`, f = [{
9824
9835
  id: s,
9825
9836
  type: "flowmap",
9826
- name: (z = e.legend) == null ? void 0 : z.name,
9837
+ name: (D = e.legend) == null ? void 0 : D.name,
9827
9838
  colorAxis: !1,
9828
9839
  color: e.color,
9829
9840
  fillOpacity: (e.fillOpacity ?? 50) / 100,
@@ -9857,7 +9868,7 @@ const bd = {
9857
9868
  }];
9858
9869
  e.showEndpoints && f.push({
9859
9870
  type: "mappoint",
9860
- name: (D = e.legend) == null ? void 0 : D.name,
9871
+ name: (z = e.legend) == null ? void 0 : z.name,
9861
9872
  // Shown and hidden together with the flows
9862
9873
  linkedTo: s,
9863
9874
  colorAxis: !1,
@@ -9900,20 +9911,20 @@ const bd = {
9900
9911
  function Cd(e) {
9901
9912
  let r = null;
9902
9913
  for (const u of e.mapData || [])
9903
- r = zi(u.geometry, r);
9914
+ r = Di(u.geometry, r);
9904
9915
  return r;
9905
9916
  }
9906
9917
  const xd = {
9907
9918
  needsGeoJSON: !0,
9908
9919
  build(e, r) {
9909
9920
  var y, x, w;
9910
- const u = ((y = e.legend) == null ? void 0 : y.dataClasses) || [], l = !!e.dataIDKey, p = Hn(r.t), g = l ? r.rawData.map((z) => {
9911
- const D = fr(ve(z[e.valueKey]), u);
9921
+ const u = ((y = e.legend) == null ? void 0 : y.dataClasses) || [], l = !!e.dataIDKey, p = Hn(r.t), g = l ? r.rawData.map((D) => {
9922
+ const z = fr(ve(D[e.valueKey]), u);
9912
9923
  return {
9913
- id: z[e.dataIDKey],
9914
- value: ve(z[e.valueKey]),
9915
- color: D >= 0 ? u[D].color : e.color,
9916
- meta: { ...z }
9924
+ id: D[e.dataIDKey],
9925
+ value: ve(D[e.valueKey]),
9926
+ color: z >= 0 ? u[z].color : e.color,
9927
+ meta: { ...D }
9917
9928
  };
9918
9929
  }) : [], s = {
9919
9930
  type: "mapline",
@@ -9934,13 +9945,13 @@ const xd = {
9934
9945
  tooltip: {
9935
9946
  headerFormat: "",
9936
9947
  pointFormatter() {
9937
- var D;
9938
- const z = this.options.meta;
9948
+ var z;
9949
+ const D = this.options.meta;
9939
9950
  return Fn({
9940
9951
  labels: p,
9941
- heading: (D = e.legend) == null ? void 0 : D.name,
9942
- title: $i(z, e, this.name ?? this.id ?? ""),
9943
- rows: mi(z, e)
9952
+ heading: (z = e.legend) == null ? void 0 : z.name,
9953
+ title: $i(D, e, this.name ?? this.id ?? ""),
9954
+ rows: mi(D, e)
9944
9955
  });
9945
9956
  }
9946
9957
  },
@@ -10014,7 +10025,7 @@ const Sd = Ft({
10014
10025
  }
10015
10026
  async function p(R, ee) {
10016
10027
  var ae, Qe;
10017
- O.value = [], o.value = {}, z.clear(), id(R);
10028
+ M.value = [], o.value = {}, D.clear(), id(R);
10018
10029
  const U = {
10019
10030
  margin: 0
10020
10031
  }, J = {
@@ -10041,8 +10052,8 @@ const Sd = Ft({
10041
10052
  const Ne = E.value[B.value];
10042
10053
  Te.push(ta(Ne)), N.value = ((ae = Ne == null ? void 0 : Ne.provider) == null ? void 0 : ae.attribution) ?? "";
10043
10054
  }
10044
- const Oe = [], nt = [];
10045
- let Me = R.layers.length, Ue = 0;
10055
+ const Me = [], nt = [];
10056
+ let Oe = R.layers.length, Ue = 0;
10046
10057
  for (const Ne of R.layers) {
10047
10058
  const qe = Ue++;
10048
10059
  if (ka(Ne), !Ne.visible)
@@ -10050,28 +10061,28 @@ const Sd = Ft({
10050
10061
  const Le = ki(Ne.type);
10051
10062
  let Xe = null;
10052
10063
  if (Le != null && Le.needsGeoJSON && ((Qe = Ne.geoJSON) != null && Qe.id) && (Xe = await l(Ne.geoJSON.id)), !Le || Le.needsGeoJSON && !Xe) {
10053
- Me--;
10064
+ Oe--;
10054
10065
  continue;
10055
10066
  }
10056
10067
  const se = Le.build(Ne, {
10057
10068
  t: r,
10058
10069
  rawData: ee,
10059
10070
  geoJSON: Xe,
10060
- colorAxisIndex: Oe.length,
10071
+ colorAxisIndex: Me.length,
10061
10072
  lid: qe,
10062
- index: Me,
10073
+ index: Oe,
10063
10074
  projectId: e.projectId,
10064
10075
  expId: e.expId,
10065
10076
  fileUrl: ye,
10066
10077
  registerViewer: X
10067
10078
  });
10068
- Te.push(...se.series), Oe.push(...se.colorAxis || []), se.legend && nt.push(se.legend), Me--;
10079
+ Te.push(...se.series), Me.push(...se.colorAxis || []), se.legend && nt.push(se.legend), Oe--;
10069
10080
  }
10070
- return O.value = nt, {
10081
+ return M.value = nt, {
10071
10082
  chart: U,
10072
10083
  title: J,
10073
10084
  subtitle: Ie,
10074
- tooltip: { ...Ma },
10085
+ tooltip: { ...Oa },
10075
10086
  mapNavigation: {
10076
10087
  enabled: !1,
10077
10088
  enableMouseWheelZoom: !!R.mouseWheelZoom,
@@ -10108,7 +10119,7 @@ const Sd = Ft({
10108
10119
  symbolHeight: 14,
10109
10120
  maxHeight: 0
10110
10121
  },
10111
- colorAxis: Oe,
10122
+ colorAxis: Me,
10112
10123
  series: Te,
10113
10124
  credits: {
10114
10125
  enabled: !1
@@ -10148,7 +10159,7 @@ const Sd = Ft({
10148
10159
  const U = ee.userOptions.mosDBOptions;
10149
10160
  if ((U == null ? void 0 : U.type) !== "mapbubble")
10150
10161
  continue;
10151
- const J = O.value.find((Te) => Te._lid === U._lid);
10162
+ const J = M.value.find((Te) => Te._lid === U._lid);
10152
10163
  if (!J)
10153
10164
  continue;
10154
10165
  const Ie = Ju(ee, U.bubbleLegend || Ca());
@@ -10156,14 +10167,14 @@ const Sd = Ft({
10156
10167
  }
10157
10168
  }
10158
10169
  let x = null, w = null;
10159
- const z = /* @__PURE__ */ new Map(), D = ie(null), te = ie(!1), H = ie(!1), K = ie(!1);
10170
+ const D = /* @__PURE__ */ new Map(), z = ie(null), te = ie(!1), H = ie(!1), K = ie(!1);
10160
10171
  function ye(R) {
10161
10172
  var U, J;
10162
10173
  const ee = So();
10163
10174
  return ee != null && ee.fileUrl ? ee.fileUrl(e.projectId, e.expId, R, (J = (U = e.visualization) == null ? void 0 : U.dataQuery) == null ? void 0 : J.id) : `/api/projects/${e.projectId}/experiments/${e.expId}/forms/files/${R}`;
10164
10175
  }
10165
10176
  function X(R, ee) {
10166
- return z.set(R, ee), R;
10177
+ return D.set(R, ee), R;
10167
10178
  }
10168
10179
  function ke() {
10169
10180
  te.value = !1;
@@ -10175,10 +10186,10 @@ const Sd = Ft({
10175
10186
  R ? window.addEventListener("keydown", me) : window.removeEventListener("keydown", me);
10176
10187
  });
10177
10188
  function re(R) {
10178
- const ee = z.get(R);
10179
- ee && (D.value = ee, H.value = !1, K.value = !1, te.value = !0);
10189
+ const ee = D.get(R);
10190
+ ee && (z.value = ee, H.value = !1, K.value = !1, te.value = !0);
10180
10191
  }
10181
- let Fe = null, De = null;
10192
+ let Fe = null, ze = null;
10182
10193
  const o = ie({});
10183
10194
  function ue(R) {
10184
10195
  return !x || !R ? null : x.series.find(
@@ -10189,8 +10200,8 @@ const Sd = Ft({
10189
10200
  ) ?? null;
10190
10201
  }
10191
10202
  function G(R, ee) {
10192
- var nt, Me, Ue;
10193
- const U = O.value[R];
10203
+ var nt, Oe, Ue;
10204
+ const U = M.value[R];
10194
10205
  if (!U || U.toggleable === !1)
10195
10206
  return;
10196
10207
  const J = `${R}-${ee}`, Ie = !!o.value[J];
@@ -10198,8 +10209,8 @@ const Sd = Ft({
10198
10209
  const Te = ue(U);
10199
10210
  if (!Te || !((nt = U.dataClasses) != null && nt[ee]))
10200
10211
  return;
10201
- const Oe = ki((Me = Te.userOptions.mosDBOptions) == null ? void 0 : Me.type);
10202
- (Ue = Oe == null ? void 0 : Oe.toggle) == null || Ue.call(Oe, x, Te, U, ee, Ie), x.redraw(!1);
10212
+ const Me = ki((Oe = Te.userOptions.mosDBOptions) == null ? void 0 : Oe.type);
10213
+ (Ue = Me == null ? void 0 : Me.toggle) == null || Ue.call(Me, x, Te, U, ee, Ie), x.redraw(!1);
10203
10214
  }
10204
10215
  function ge() {
10205
10216
  var Ue, ae;
@@ -10207,7 +10218,7 @@ const Sd = Ft({
10207
10218
  return;
10208
10219
  const R = e.visualization.options.view;
10209
10220
  if ((R == null ? void 0 : R.mode) === "fixed" && Array.isArray(R.center) && Number.isFinite(R.zoom)) {
10210
- x.mapView.setView(R.center, R.zoom), Fe = [...R.center], De = R.zoom;
10221
+ x.mapView.setView(R.center, R.zoom), Fe = [...R.center], ze = R.zoom;
10211
10222
  return;
10212
10223
  }
10213
10224
  let ee = null;
@@ -10217,13 +10228,13 @@ const Sd = Ft({
10217
10228
  }
10218
10229
  if (!ee)
10219
10230
  return;
10220
- const [U, J, Ie, Te] = ee, Oe = Ie - U < 0.01 ? 0.05 : 0, nt = Te - J < 0.01 ? 0.05 : 0, Me = {
10231
+ const [U, J, Ie, Te] = ee, Me = Ie - U < 0.01 ? 0.05 : 0, nt = Te - J < 0.01 ? 0.05 : 0, Oe = {
10221
10232
  type: "MultiPoint",
10222
- coordinates: [[U - Oe, J - nt], [Ie + Oe, Te + nt]]
10233
+ coordinates: [[U - Me, J - nt], [Ie + Me, Te + nt]]
10223
10234
  };
10224
- x.mapView.update({ fitToGeometry: Me, padding: g }, !0), Fe = x.mapView.center ? [...x.mapView.center] : null, De = x.mapView.zoom ?? null;
10235
+ x.mapView.update({ fitToGeometry: Oe, padding: g }, !0), Fe = x.mapView.center ? [...x.mapView.center] : null, ze = x.mapView.zoom ?? null;
10225
10236
  }
10226
- const be = ie(!1), Ce = Br(null), b = Br(null), T = ie(null), $ = ie(null), O = ie([]), N = ie(null), E = ie([]), B = ie(0), _ = ie(!1), W = Kt(
10237
+ const be = ie(!1), Ce = Br(null), b = Br(null), T = ie(null), $ = ie(null), M = ie([]), N = ie(null), E = ie([]), B = ie(0), _ = ie(!1), W = Kt(
10227
10238
  () => ea(E.value[B.value], B.value, r("components.mMap.basemap"))
10228
10239
  );
10229
10240
  function oe(R) {
@@ -10232,8 +10243,8 @@ const Sd = Ft({
10232
10243
  if (!x || !ee)
10233
10244
  return;
10234
10245
  const U = x.series.find((Ie) => {
10235
- var Te, Oe;
10236
- return (Oe = (Te = Ie.userOptions) == null ? void 0 : Te.mosDBOptions) == null ? void 0 : Oe._isBasemap;
10246
+ var Te, Me;
10247
+ return (Me = (Te = Ie.userOptions) == null ? void 0 : Te.mosDBOptions) == null ? void 0 : Me._isBasemap;
10237
10248
  });
10238
10249
  U && U.remove(!1), x.addSeries(ta(ee), !1), x.redraw(!1), N.value = ((J = ee.provider) == null ? void 0 : J.attribution) ?? "";
10239
10250
  }
@@ -10247,7 +10258,7 @@ const Sd = Ft({
10247
10258
  Vt(() => {
10248
10259
  var R;
10249
10260
  (R = $.value) == null || R.addEventListener("error", ia, !0), f(e.visualization.options, !1), e.dataRefreshPeriod && (w = setInterval(() => f(e.visualization.options, !0), e.dataRefreshPeriod));
10250
- }), zt(() => {
10261
+ }), Dt(() => {
10251
10262
  var R;
10252
10263
  (R = $.value) == null || R.removeEventListener("error", ia, !0), window.removeEventListener("keydown", me), w && clearInterval(w), x && (x.destroy(), x = null);
10253
10264
  });
@@ -10255,33 +10266,33 @@ const Sd = Ft({
10255
10266
  return String(R ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
10256
10267
  }
10257
10268
  function We(R, ee) {
10258
- if (!O.value.length)
10269
+ if (!M.value.length)
10259
10270
  return "";
10260
- const U = 12, J = 11, Ie = 18, Te = 17, Oe = 34, nt = 32, Me = Math.max(175, ...O.value.map((et) => et.bubbles ? et.bubbles.svg.width + 2 * U : 0)), Ue = "-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif";
10271
+ const U = 12, J = 11, Ie = 18, Te = 17, Me = 34, nt = 32, Oe = Math.max(175, ...M.value.map((et) => et.bubbles ? et.bubbles.svg.width + 2 * U : 0)), Ue = "-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif";
10261
10272
  let ae = U;
10262
- for (let et = 0; et < O.value.length; et++) {
10263
- const je = O.value[et];
10264
- et > 0 && (ae += 6), (je.name || O.value.length > 1) && (ae += Te), ae += je.dataClasses.length * Ie + U, je.gradient && (ae += Oe), je.noData && (ae += Ie), je.bubbles && (ae += (je.bubbles.title ? Te : 0) + je.bubbles.svg.height + 6);
10273
+ for (let et = 0; et < M.value.length; et++) {
10274
+ const je = M.value[et];
10275
+ et > 0 && (ae += 6), (je.name || M.value.length > 1) && (ae += Te), ae += je.dataClasses.length * Ie + U, je.gradient && (ae += Me), je.noData && (ae += Ie), je.bubbles && (ae += (je.bubbles.title ? Te : 0) + je.bubbles.svg.height + 6);
10265
10276
  }
10266
- const Qe = nt + ae, Ne = Re.value === "bottom-right" ? R - Me - U - 8 : U + 8, qe = ee - Qe - U - 24;
10277
+ const Qe = nt + ae, Ne = Re.value === "bottom-right" ? R - Oe - U - 8 : U + 8, qe = ee - Qe - U - 24;
10267
10278
  let Le = `<g id="export-legend" font-family="${Ue}">`;
10268
- Le += `<rect x="${Ne + 2}" y="${qe + 2}" width="${Me}" height="${Qe}" rx="10" fill="rgba(0,0,0,0.08)"/>`, Le += `<rect x="${Ne}" y="${qe}" width="${Me}" height="${Qe}" rx="10" fill="rgba(255,255,255,0.97)" stroke="rgba(0,0,0,0.09)" stroke-width="1"/>`, Le += `<rect x="${Ne}" y="${qe}" width="${Me}" height="${nt}" rx="10" fill="#f3f4f6"/>`, Le += `<rect x="${Ne}" y="${qe + nt - 8}" width="${Me}" height="8" fill="#f3f4f6"/>`, Le += `<line x1="${Ne}" y1="${qe + nt}" x2="${Ne + Me}" y2="${qe + nt}" stroke="#e5e7eb" stroke-width="1"/>`;
10279
+ Le += `<rect x="${Ne + 2}" y="${qe + 2}" width="${Oe}" height="${Qe}" rx="10" fill="rgba(0,0,0,0.08)"/>`, Le += `<rect x="${Ne}" y="${qe}" width="${Oe}" height="${Qe}" rx="10" fill="rgba(255,255,255,0.97)" stroke="rgba(0,0,0,0.09)" stroke-width="1"/>`, Le += `<rect x="${Ne}" y="${qe}" width="${Oe}" height="${nt}" rx="10" fill="#f3f4f6"/>`, Le += `<rect x="${Ne}" y="${qe + nt - 8}" width="${Oe}" height="8" fill="#f3f4f6"/>`, Le += `<line x1="${Ne}" y1="${qe + nt}" x2="${Ne + Oe}" y2="${qe + nt}" stroke="#e5e7eb" stroke-width="1"/>`;
10269
10280
  const Xe = Ne + U, se = qe + 9;
10270
10281
  ["#009551", "#009551", "#009551"].forEach((et, je) => {
10271
10282
  Le += `<rect x="${Xe}" y="${se + je * 6}" width="4" height="4" rx="1" fill="${et}"/>`, Le += `<line x1="${Xe + 7}" y1="${se + je * 6 + 2}" x2="${Xe + 18}" y2="${se + je * 6 + 2}" stroke="#6b7280" stroke-width="1.5" stroke-linecap="round"/>`;
10272
10283
  }), Le += `<text x="${Ne + U + 26}" y="${qe + 21}" font-size="11" font-weight="700" fill="#111827">${pe(r("components.mMap.legend"))}</text>`;
10273
10284
  let $e = qe + nt + U;
10274
- for (let et = 0; et < O.value.length; et++) {
10275
- const je = O.value[et];
10276
- if (et > 0 && (Le += `<line x1="${Ne + 8}" y1="${$e - 3}" x2="${Ne + Me - 8}" y2="${$e - 3}" stroke="#f3f4f6" stroke-width="1"/>`, $e += 5), je.name || O.value.length > 1) {
10285
+ for (let et = 0; et < M.value.length; et++) {
10286
+ const je = M.value[et];
10287
+ if (et > 0 && (Le += `<line x1="${Ne + 8}" y1="${$e - 3}" x2="${Ne + Oe - 8}" y2="${$e - 3}" stroke="#f3f4f6" stroke-width="1"/>`, $e += 5), je.name || M.value.length > 1) {
10277
10288
  const lt = pe((je.name || r("components.mMap.untitled")).toUpperCase()), Gt = je.name ? "#6b7280" : "#9ca3af";
10278
10289
  Le += `<text x="${Ne + U}" y="${$e + 11}" font-size="9" font-weight="700" fill="${Gt}" letter-spacing="0.8">${lt}</text>`, $e += Te;
10279
10290
  }
10280
10291
  for (const lt of je.dataClasses)
10281
10292
  Le += `<rect x="${Ne + U}" y="${$e + 1}" width="${J}" height="${J}" rx="2" fill="${pe(lt.color || "#ccc")}" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, Le += `<text x="${Ne + U + J + 7}" y="${$e + 11}" font-size="11" fill="#374151">${pe(lt.name || "")}</text>`, $e += Ie;
10282
10293
  if (je.gradient) {
10283
- const lt = `export-legend-gradient-${et}`, Gt = Me - 2 * U;
10284
- Le += `<defs><linearGradient id="${lt}" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="${pe(je.gradient.minColor)}"/><stop offset="1" stop-color="${pe(je.gradient.maxColor)}"/></linearGradient></defs>`, Le += `<rect x="${Ne + U}" y="${$e + 2}" width="${Gt}" height="10" rx="2" fill="url(#${lt})" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, Le += `<text x="${Ne + U}" y="${$e + 26}" font-size="10" fill="#374151">${pe(xe(je.gradient.min))}</text>`, Le += `<text x="${Ne + U + Gt}" y="${$e + 26}" font-size="10" fill="#374151" text-anchor="end">${pe(xe(je.gradient.max))}</text>`, $e += Oe;
10294
+ const lt = `export-legend-gradient-${et}`, Gt = Oe - 2 * U;
10295
+ Le += `<defs><linearGradient id="${lt}" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="${pe(je.gradient.minColor)}"/><stop offset="1" stop-color="${pe(je.gradient.maxColor)}"/></linearGradient></defs>`, Le += `<rect x="${Ne + U}" y="${$e + 2}" width="${Gt}" height="10" rx="2" fill="url(#${lt})" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, Le += `<text x="${Ne + U}" y="${$e + 26}" font-size="10" fill="#374151">${pe(xe(je.gradient.min))}</text>`, Le += `<text x="${Ne + U + Gt}" y="${$e + 26}" font-size="10" fill="#374151" text-anchor="end">${pe(xe(je.gradient.max))}</text>`, $e += Me;
10285
10296
  }
10286
10297
  if (je.noData && (Le += `<rect x="${Ne + U}" y="${$e + 1}" width="${J}" height="${J}" rx="2" fill="${pe(je.noData.color)}" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, Le += `<text x="${Ne + U + J + 7}" y="${$e + 11}" font-size="11" fill="#374151">${pe(je.noData.label)}</text>`, $e += Ie), je.bubbles) {
10287
10298
  $e += 4, je.bubbles.title && (Le += `<text x="${Ne + U}" y="${$e + 11}" font-size="11" fill="#374151">${pe(je.bubbles.title)}</text>`, $e += Te);
@@ -10305,21 +10316,21 @@ const Sd = Ft({
10305
10316
  const Te = Ie[2];
10306
10317
  if (!J.has(Te))
10307
10318
  try {
10308
- const nt = await (await fetch(Te, { mode: "cors" })).blob(), Me = await new Promise((Ue, ae) => {
10319
+ const nt = await (await fetch(Te, { mode: "cors" })).blob(), Oe = await new Promise((Ue, ae) => {
10309
10320
  const Qe = new FileReader();
10310
10321
  Qe.onload = () => Ue(Qe.result), Qe.onerror = ae, Qe.readAsDataURL(nt);
10311
10322
  });
10312
- J.set(Te, Me);
10323
+ J.set(Te, Oe);
10313
10324
  } catch {
10314
10325
  }
10315
- })), R.replace(ee, (Ie, Te, Oe, nt) => {
10316
- const Me = J.get(Oe);
10317
- return Me ? Te + Me + nt : Ie;
10326
+ })), R.replace(ee, (Ie, Te, Me, nt) => {
10327
+ const Oe = J.get(Me);
10328
+ return Oe ? Te + Oe + nt : Ie;
10318
10329
  });
10319
10330
  }
10320
10331
  return {
10321
10332
  t: r,
10322
- legends: O,
10333
+ legends: M,
10323
10334
  legendPosition: Re,
10324
10335
  disabledClasses: o,
10325
10336
  attribution: N,
@@ -10331,13 +10342,13 @@ const Sd = Ft({
10331
10342
  formatLegendNumber: xe,
10332
10343
  basemapName: (R, ee) => ea(R, ee, r("components.mMap.basemap")),
10333
10344
  basemapThumb: Zu,
10334
- viewer: D,
10345
+ viewer: z,
10335
10346
  viewerOpen: te,
10336
10347
  viewerZoomed: H,
10337
10348
  viewerImageFailed: K,
10338
10349
  closeViewer: ke,
10339
10350
  onChartClick(R) {
10340
- Oa(R, x, { onViewImage: re }) || (e.visualization.options.minimizeLegend = !0, _.value = !1);
10351
+ Ma(R, x, { onViewImage: re }) || (e.visualization.options.minimizeLegend = !0, _.value = !1);
10341
10352
  },
10342
10353
  loading: be,
10343
10354
  errorMessage: T,
@@ -10346,7 +10357,7 @@ const Sd = Ft({
10346
10357
  toggleDataClass: G,
10347
10358
  isDisabled: (R, ee) => !!o.value[`${R}-${ee}`],
10348
10359
  onZoomReset() {
10349
- x && Fe && De !== null && x.mapView.setView(Fe, De);
10360
+ x && Fe && ze !== null && x.mapView.setView(Fe, ze);
10350
10361
  },
10351
10362
  onZoomIn() {
10352
10363
  x && (x.mapView.fitToGeometry = null, x.mapView.zoomBy(1));
@@ -10398,7 +10409,7 @@ const Sd = Ft({
10398
10409
  class: "spinner-overlay"
10399
10410
  }, Ad = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("div", { class: "spinner" }, null, -1)), kd = [
10400
10411
  Ad
10401
- ], Ld = { style: { height: "100%", width: "100%" } }, Od = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("svg", {
10412
+ ], Ld = { style: { height: "100%", width: "100%" } }, Md = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("svg", {
10402
10413
  class: "legend-icon-svg",
10403
10414
  viewBox: "0 0 24 24",
10404
10415
  fill: "none",
@@ -10455,15 +10466,15 @@ const Sd = Ft({
10455
10466
  "stroke-width": "1.8",
10456
10467
  "stroke-linecap": "round"
10457
10468
  })
10458
- ], -1)), Md = { class: "legend-header-title" }, Nd = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("path", {
10469
+ ], -1)), Od = { class: "legend-header-title" }, Nd = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("path", {
10459
10470
  d: "M6 9l6 6 6-6",
10460
10471
  stroke: "#9ca3af",
10461
10472
  "stroke-width": "2",
10462
10473
  "stroke-linecap": "round",
10463
10474
  "stroke-linejoin": "round"
10464
- }, null, -1)), zd = [
10475
+ }, null, -1)), Dd = [
10465
10476
  Nd
10466
- ], Dd = { class: "map-legend-body" }, Fd = { class: "dc-list" }, $d = ["onClick"], Pd = {
10477
+ ], zd = { class: "map-legend-body" }, Fd = { class: "dc-list" }, $d = ["onClick"], Pd = {
10467
10478
  key: 1,
10468
10479
  class: "gradient-legend"
10469
10480
  }, Rd = {
@@ -10573,10 +10584,10 @@ const Sd = Ft({
10573
10584
  })
10574
10585
  ], -1)), Sc = [
10575
10586
  wc
10576
- ], Tc = { class: "img-viewer-rows" }, Ac = { class: "img-viewer-rows-title" }, kc = ["innerHTML"], Lc = ["innerHTML"], Oc = {
10587
+ ], Tc = { class: "img-viewer-rows" }, Ac = { class: "img-viewer-rows-title" }, kc = ["innerHTML"], Lc = ["innerHTML"], Mc = {
10577
10588
  key: 0,
10578
10589
  class: "img-viewer-empty"
10579
- }, Mc = ["href"], Nc = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("svg", {
10590
+ }, Oc = ["href"], Nc = /* @__PURE__ */ rn(() => /* @__PURE__ */ S("svg", {
10580
10591
  viewBox: "0 0 24 24",
10581
10592
  fill: "none"
10582
10593
  }, [
@@ -10587,17 +10598,17 @@ const Sd = Ft({
10587
10598
  "stroke-linecap": "round",
10588
10599
  "stroke-linejoin": "round"
10589
10600
  })
10590
- ], -1)), zc = {
10601
+ ], -1)), Dc = {
10591
10602
  key: 1,
10592
10603
  class: "absolute absolute-center text-center q-pa-sm"
10593
10604
  };
10594
- function Dc(e, r, u, l, p, g) {
10595
- return k(), M(Ae, null, [
10596
- e.loading ? (k(), M("div", Td, kd)) : le("", !0),
10605
+ function zc(e, r, u, l, p, g) {
10606
+ return k(), O(Ae, null, [
10607
+ e.loading ? (k(), O("div", Td, kd)) : le("", !0),
10597
10608
  ut(S("div", Ld, [
10598
10609
  Yn(ci, { name: "legend-slide" }, {
10599
10610
  default: fi(() => [
10600
- e.legends.length > 0 ? (k(), M("div", {
10611
+ e.legends.length > 0 ? (k(), O("div", {
10601
10612
  key: 0,
10602
10613
  class: bt(["map-legend", { "map-legend--collapsed": e.visualization.options.minimizeLegend, "map-legend--right": e.legendPosition === "bottom-right" }])
10603
10614
  }, [
@@ -10605,27 +10616,27 @@ function Dc(e, r, u, l, p, g) {
10605
10616
  class: "map-legend-header",
10606
10617
  onClick: r[0] || (r[0] = dn((s) => e.visualization.options.minimizeLegend = !e.visualization.options.minimizeLegend, ["stop"]))
10607
10618
  }, [
10608
- Od,
10609
- S("span", Md, Y(e.t("components.mMap.legend")), 1),
10610
- (k(), M("svg", {
10619
+ Md,
10620
+ S("span", Od, Y(e.t("components.mMap.legend")), 1),
10621
+ (k(), O("svg", {
10611
10622
  class: bt(["legend-chevron", { "legend-chevron--up": !e.visualization.options.minimizeLegend }]),
10612
10623
  viewBox: "0 0 24 24",
10613
10624
  fill: "none",
10614
10625
  xmlns: "http://www.w3.org/2000/svg"
10615
- }, zd, 2))
10626
+ }, Dd, 2))
10616
10627
  ]),
10617
- ut(S("div", Dd, [
10618
- (k(!0), M(Ae, null, Ke(e.legends, (s, f) => (k(), M("div", {
10628
+ ut(S("div", zd, [
10629
+ (k(!0), O(Ae, null, Ke(e.legends, (s, f) => (k(), O("div", {
10619
10630
  key: f,
10620
10631
  class: bt(["legend-group", { "legend-group--divider": f > 0 }])
10621
10632
  }, [
10622
- s.name || e.legends.length > 1 ? (k(), M("div", {
10633
+ s.name || e.legends.length > 1 ? (k(), O("div", {
10623
10634
  key: 0,
10624
10635
  class: bt(["legend-group-name", { "legend-group-name--untitled": !s.name }]),
10625
10636
  style: ot(e.getStyle(s.style))
10626
10637
  }, Y(s.name || e.t("components.mMap.untitled")), 7)) : le("", !0),
10627
10638
  S("div", Fd, [
10628
- (k(!0), M(Ae, null, Ke(s.dataClasses, (y, x) => (k(), M("div", {
10639
+ (k(!0), O(Ae, null, Ke(s.dataClasses, (y, x) => (k(), O("div", {
10629
10640
  key: x,
10630
10641
  class: bt(["dc-item", { "dc-item--off": e.isDisabled(f, x), "dc-item--static": s.toggleable === !1 }]),
10631
10642
  onClick: dn((w) => e.toggleDataClass(f, x), ["stop"])
@@ -10640,7 +10651,7 @@ function Dc(e, r, u, l, p, g) {
10640
10651
  }, Y(y.name), 5)
10641
10652
  ], 10, $d))), 128))
10642
10653
  ]),
10643
- s.gradient ? (k(), M("div", Pd, [
10654
+ s.gradient ? (k(), O("div", Pd, [
10644
10655
  S("div", {
10645
10656
  class: "gradient-bar",
10646
10657
  style: ot({ background: `linear-gradient(to right, ${s.gradient.minColor}, ${s.gradient.maxColor})` })
@@ -10653,7 +10664,7 @@ function Dc(e, r, u, l, p, g) {
10653
10664
  S("span", null, Y(e.formatLegendNumber(s.gradient.max)), 1)
10654
10665
  ], 4)
10655
10666
  ])) : le("", !0),
10656
- s.noData ? (k(), M("div", Rd, [
10667
+ s.noData ? (k(), O("div", Rd, [
10657
10668
  S("span", {
10658
10669
  class: "dc-swatch",
10659
10670
  style: ot({ background: s.noData.color })
@@ -10663,13 +10674,13 @@ function Dc(e, r, u, l, p, g) {
10663
10674
  style: ot(e.getStyle(s.style))
10664
10675
  }, Y(s.noData.label), 5)
10665
10676
  ])) : le("", !0),
10666
- s.bubbles ? (k(), M("div", Id, [
10667
- s.bubbles.title ? (k(), M("div", {
10677
+ s.bubbles ? (k(), O("div", Id, [
10678
+ s.bubbles.title ? (k(), O("div", {
10668
10679
  key: 0,
10669
10680
  class: "bubble-legend-title",
10670
10681
  style: ot(e.getStyle(s.style))
10671
10682
  }, Y(s.bubbles.title), 5)) : le("", !0),
10672
- (k(), M("svg", {
10683
+ (k(), O("svg", {
10673
10684
  width: s.bubbles.svg.width,
10674
10685
  height: s.bubbles.svg.height,
10675
10686
  viewBox: `0 0 ${s.bubbles.svg.width} ${s.bubbles.svg.height}`,
@@ -10712,12 +10723,12 @@ function Dc(e, r, u, l, p, g) {
10712
10723
  onClick: r[3] || (r[3] = dn((...s) => e.onZoomReset && e.onZoomReset(...s), ["stop"]))
10713
10724
  }, Yd, 8, Qd)
10714
10725
  ]),
10715
- e.basemaps.length > 1 ? (k(), M("div", Zd, [
10726
+ e.basemaps.length > 1 ? (k(), O("div", Zd, [
10716
10727
  Yn(ci, { name: "bm-slide" }, {
10717
10728
  default: fi(() => [
10718
- e.basemapPanelOpen ? (k(), M("div", ec, [
10729
+ e.basemapPanelOpen ? (k(), O("div", ec, [
10719
10730
  S("div", tc, Y(e.t("components.mMap.basemap")), 1),
10720
- (k(!0), M(Ae, null, Ke(e.basemaps, (s, f) => (k(), M("button", {
10731
+ (k(!0), O(Ae, null, Ke(e.basemaps, (s, f) => (k(), O("button", {
10721
10732
  key: f,
10722
10733
  type: "button",
10723
10734
  class: bt(["bm-item", { "bm-item--active": f === e.activeBasemapIndex }]),
@@ -10725,7 +10736,7 @@ function Dc(e, r, u, l, p, g) {
10725
10736
  onClick: dn((y) => e.onSelectBasemap(f), ["stop"])
10726
10737
  }, [
10727
10738
  S("span", ic, [
10728
- e.basemapThumb(s) ? (k(), M("img", {
10739
+ e.basemapThumb(s) ? (k(), O("img", {
10729
10740
  key: 0,
10730
10741
  src: e.basemapThumb(s),
10731
10742
  alt: "",
@@ -10733,7 +10744,7 @@ function Dc(e, r, u, l, p, g) {
10733
10744
  }, null, 40, rc)) : le("", !0)
10734
10745
  ]),
10735
10746
  S("span", ac, Y(e.basemapName(s, f)), 1),
10736
- f === e.activeBasemapIndex ? (k(), M("svg", oc, sc)) : le("", !0)
10747
+ f === e.activeBasemapIndex ? (k(), O("svg", oc, sc)) : le("", !0)
10737
10748
  ], 10, nc))), 128))
10738
10749
  ])) : le("", !0)
10739
10750
  ]),
@@ -10758,15 +10769,15 @@ function Dc(e, r, u, l, p, g) {
10758
10769
  ], 512), [
10759
10770
  [ft, !e.loading && !e.errorMessage]
10760
10771
  ]),
10761
- (k(), Mt(Co, { to: "body" }, [
10772
+ (k(), Ot(Co, { to: "body" }, [
10762
10773
  Yn(ci, { name: "img-viewer-fade" }, {
10763
10774
  default: fi(() => [
10764
- e.viewerOpen && e.viewer ? (k(), M("div", fc, [
10775
+ e.viewerOpen && e.viewer ? (k(), O("div", fc, [
10765
10776
  S("div", pc, [
10766
10777
  S("div", {
10767
10778
  class: bt(["img-viewer-stage", { "img-viewer-stage--zoomed": e.viewerZoomed }])
10768
10779
  }, [
10769
- e.viewerImageFailed ? (k(), M("div", gc, Y(e.t("components.mMap.imageUnavailable")), 1)) : (k(), M("img", {
10780
+ e.viewerImageFailed ? (k(), O("div", gc, Y(e.t("components.mMap.imageUnavailable")), 1)) : (k(), O("img", {
10770
10781
  key: 0,
10771
10782
  src: e.viewer.imageUrl,
10772
10783
  alt: "",
@@ -10779,7 +10790,7 @@ function Dc(e, r, u, l, p, g) {
10779
10790
  S("aside", mc, [
10780
10791
  S("div", yc, [
10781
10792
  S("div", vc, [
10782
- e.viewer.heading ? (k(), M("div", bc, Y(e.viewer.heading), 1)) : le("", !0),
10793
+ e.viewer.heading ? (k(), O("div", bc, Y(e.viewer.heading), 1)) : le("", !0),
10783
10794
  S("div", Cc, Y(e.viewer.title), 1)
10784
10795
  ]),
10785
10796
  S("button", {
@@ -10792,7 +10803,7 @@ function Dc(e, r, u, l, p, g) {
10792
10803
  ]),
10793
10804
  S("div", Tc, [
10794
10805
  S("div", Ac, Y(e.t("components.mMap.details")), 1),
10795
- (k(!0), M(Ae, null, Ke(e.viewer.rows, (s, f) => (k(), M("div", {
10806
+ (k(!0), O(Ae, null, Ke(e.viewer.rows, (s, f) => (k(), O("div", {
10796
10807
  key: f,
10797
10808
  class: "img-viewer-row"
10798
10809
  }, [
@@ -10805,7 +10816,7 @@ function Dc(e, r, u, l, p, g) {
10805
10816
  innerHTML: s[1]
10806
10817
  }, null, 8, Lc)
10807
10818
  ]))), 128)),
10808
- e.viewer.rows.length ? le("", !0) : (k(), M("div", Oc, Y(e.t("components.mMap.noDetails")), 1))
10819
+ e.viewer.rows.length ? le("", !0) : (k(), O("div", Mc, Y(e.t("components.mMap.noDetails")), 1))
10809
10820
  ]),
10810
10821
  S("a", {
10811
10822
  href: e.viewer.imageUrl,
@@ -10815,7 +10826,7 @@ function Dc(e, r, u, l, p, g) {
10815
10826
  }, [
10816
10827
  Nc,
10817
10828
  pi(" " + Y(e.t("components.mMap.openOriginal")), 1)
10818
- ], 8, Mc)
10829
+ ], 8, Oc)
10819
10830
  ])
10820
10831
  ])
10821
10832
  ])) : le("", !0)
@@ -10823,10 +10834,10 @@ function Dc(e, r, u, l, p, g) {
10823
10834
  _: 1
10824
10835
  })
10825
10836
  ])),
10826
- e.errorMessage && !e.loading ? (k(), M("div", zc, Y(e.errorMessage), 1)) : le("", !0)
10837
+ e.errorMessage && !e.loading ? (k(), O("div", Dc, Y(e.errorMessage), 1)) : le("", !0)
10827
10838
  ], 64);
10828
10839
  }
10829
- const Fc = /* @__PURE__ */ Pt(Sd, [["render", Dc], ["__scopeId", "data-v-719cb0ee"]]);
10840
+ const Fc = /* @__PURE__ */ Pt(Sd, [["render", zc], ["__scopeId", "data-v-719cb0ee"]]);
10830
10841
  function la() {
10831
10842
  return {
10832
10843
  nameKey: null,
@@ -10836,7 +10847,7 @@ function la() {
10836
10847
  yKey: null,
10837
10848
  layout: [],
10838
10849
  tileShape: "hexagon",
10839
- colorScale: Mi(),
10850
+ colorScale: Oi(),
10840
10851
  nullColor: ti,
10841
10852
  borderColor: "#ffffff",
10842
10853
  showLabels: !0,
@@ -10846,7 +10857,7 @@ function la() {
10846
10857
  };
10847
10858
  }
10848
10859
  function $c(e) {
10849
- return e && (e.tileMap ? Di(e.tileMap, la()) : e.tileMap = la(), e.tileMap);
10860
+ return e && (e.tileMap ? zi(e.tileMap, la()) : e.tileMap = la(), e.tileMap);
10850
10861
  }
10851
10862
  function Pc(e) {
10852
10863
  const r = [...new Set(e.filter((l) => l != null && l !== "").map(String))].sort((l, p) => l.localeCompare(p)), u = Math.max(1, Math.ceil(Math.sqrt(r.length)));
@@ -10876,24 +10887,24 @@ function Rc(e) {
10876
10887
  }
10877
10888
  function Ic(e, r, u) {
10878
10889
  var ke;
10879
- const l = $c(e), p = Dn(l), g = l.legend.dataClasses || [], s = !!(l.xKey && l.yKey), f = (ke = l.layout) != null && ke.length ? l.layout : Pc(r.map((me) => me[l.nameKey])), y = new Map(f.map((me) => [String(me.name), me])), x = l.tileShape === "hexagon", w = (me, re) => x ? { x: re, y: me } : { x: me, y: re }, z = [], D = /* @__PURE__ */ new Set();
10890
+ const l = $c(e), p = zn(l), g = l.legend.dataClasses || [], s = !!(l.xKey && l.yKey), f = (ke = l.layout) != null && ke.length ? l.layout : Pc(r.map((me) => me[l.nameKey])), y = new Map(f.map((me) => [String(me.name), me])), x = l.tileShape === "hexagon", w = (me, re) => x ? { x: re, y: me } : { x: me, y: re }, D = [], z = /* @__PURE__ */ new Set();
10880
10891
  for (const me of r) {
10881
10892
  const re = me[l.nameKey], Fe = s ? { x: ve(me[l.xKey]), y: ve(me[l.yKey]) } : y.get(String(re));
10882
10893
  if (!Fe || ve(Fe.x) === null || ve(Fe.y) === null)
10883
10894
  continue;
10884
- D.add(String(re));
10885
- const De = { ...w(ve(Fe.x), ve(Fe.y)), name: re ?? "", meta: { ...me } };
10895
+ z.add(String(re));
10896
+ const ze = { ...w(ve(Fe.x), ve(Fe.y)), name: re ?? "", meta: { ...me } };
10886
10897
  if (p === "category") {
10887
10898
  const o = pr(me[l.valueKey], g);
10888
- De.value = o >= 0 ? o : null, De.categoryLabel = me[l.valueKey];
10899
+ ze.value = o >= 0 ? o : null, ze.categoryLabel = me[l.valueKey];
10889
10900
  } else
10890
- De.value = ve(me[l.valueKey]);
10891
- z.push(De);
10901
+ ze.value = ve(me[l.valueKey]);
10902
+ D.push(ze);
10892
10903
  }
10893
10904
  if (!s)
10894
10905
  for (const me of f)
10895
- D.has(String(me.name)) || ve(me.x) === null || ve(me.y) === null || z.push({ ...w(ve(me.x), ve(me.y)), name: me.name, value: null, meta: null });
10896
- const te = z.map((me) => me.value), H = p === "category" ? {
10906
+ z.has(String(me.name)) || ve(me.x) === null || ve(me.y) === null || D.push({ ...w(ve(me.x), ve(me.y)), name: me.name, value: null, meta: null });
10907
+ const te = D.map((me) => me.value), H = p === "category" ? {
10897
10908
  dataClasses: g.map((me, re) => ({ from: re, to: re, color: me.color, name: me.name }))
10898
10909
  } : Fi(l, te), K = p === "gradient" || g.length > 0, ye = l.legend.style || {}, X = Hn(u);
10899
10910
  return {
@@ -10934,7 +10945,7 @@ function Ic(e, r, u) {
10934
10945
  verticalAlign: "bottom",
10935
10946
  layout: p === "gradient" ? "horizontal" : "vertical"
10936
10947
  },
10937
- tooltip: { ...Ma },
10948
+ tooltip: { ...Oa },
10938
10949
  credits: { enabled: !1 },
10939
10950
  exporting: { enabled: !1 },
10940
10951
  accessibility: { enabled: !1 },
@@ -10947,7 +10958,7 @@ function Ic(e, r, u) {
10947
10958
  borderColor: l.borderColor || "#ffffff",
10948
10959
  borderWidth: 2,
10949
10960
  pointPadding: 2,
10950
- data: z,
10961
+ data: D,
10951
10962
  dataLabels: Rc(l),
10952
10963
  tooltip: {
10953
10964
  headerFormat: "",
@@ -10979,8 +10990,8 @@ const Ec = Ft({
10979
10990
  function f(x, w) {
10980
10991
  if (!p.value)
10981
10992
  return;
10982
- const z = Ic(e.visualization.options, x, r);
10983
- w && g ? g.update(z, !0, !0) : (g && g.destroy(), g = Z.chart(p.value, z));
10993
+ const D = Ic(e.visualization.options, x, r);
10994
+ w && g ? g.update(D, !0, !0) : (g && g.destroy(), g = Z.chart(p.value, D));
10984
10995
  }
10985
10996
  function y(x) {
10986
10997
  x || (u.value = !0, l.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((w) => {
@@ -10993,7 +11004,7 @@ const Ec = Ft({
10993
11004
  }
10994
11005
  return Vt(() => {
10995
11006
  y(!1), e.dataRefreshPeriod && (s = setInterval(() => y(!0), e.dataRefreshPeriod));
10996
- }), zt(() => {
11007
+ }), Dt(() => {
10997
11008
  s && clearInterval(s), g && g.destroy();
10998
11009
  }), {
10999
11010
  chartContainer: p,
@@ -11001,7 +11012,7 @@ const Ec = Ft({
11001
11012
  errorMessage: l,
11002
11013
  // Close button inside a tooltip card
11003
11014
  onChartClick(x) {
11004
- Oa(x, g);
11015
+ Ma(x, g);
11005
11016
  },
11006
11017
  exportAs(x) {
11007
11018
  if (!g)
@@ -11021,8 +11032,8 @@ const Ec = Ft({
11021
11032
  class: "absolute absolute-center text-center q-pa-sm"
11022
11033
  };
11023
11034
  function Hc(e, r, u, l, p, g) {
11024
- return k(), M(Ae, null, [
11025
- e.loading ? (k(), M("div", Bc, jc)) : le("", !0),
11035
+ return k(), O(Ae, null, [
11036
+ e.loading ? (k(), O("div", Bc, jc)) : le("", !0),
11026
11037
  ut(S("div", {
11027
11038
  ref: "chartContainer",
11028
11039
  class: "chart-container",
@@ -11030,7 +11041,7 @@ function Hc(e, r, u, l, p, g) {
11030
11041
  }, null, 512), [
11031
11042
  [ft, !e.loading && !e.errorMessage]
11032
11043
  ]),
11033
- e.errorMessage && !e.loading ? (k(), M("div", _c, Y(e.errorMessage), 1)) : le("", !0)
11044
+ e.errorMessage && !e.loading ? (k(), O("div", _c, Y(e.errorMessage), 1)) : le("", !0)
11034
11045
  ], 64);
11035
11046
  }
11036
11047
  const Kc = /* @__PURE__ */ Pt(Ec, [["render", Hc], ["__scopeId", "data-v-7e801484"]]);
@@ -11066,10 +11077,10 @@ const Wc = Ft({
11066
11077
  ue || (u.value = !1);
11067
11078
  });
11068
11079
  }
11069
- function z(ue) {
11080
+ function D(ue) {
11070
11081
  s.value === ue ? f.value = f.value === "asc" ? "desc" : "asc" : (s.value = ue, f.value = "asc"), y.value = 1;
11071
11082
  }
11072
- const D = Kt(() => {
11083
+ const z = Kt(() => {
11073
11084
  let ue = l.value;
11074
11085
  if (g.value.trim()) {
11075
11086
  const G = g.value.trim().toLowerCase();
@@ -11085,9 +11096,9 @@ const Wc = Ft({
11085
11096
  });
11086
11097
  }
11087
11098
  return ue;
11088
- }), te = Kt(() => Math.max(1, Math.ceil(D.value.length / x))), H = Kt(() => {
11099
+ }), te = Kt(() => Math.max(1, Math.ceil(z.value.length / x))), H = Kt(() => {
11089
11100
  const ue = (y.value - 1) * x;
11090
- return D.value.slice(ue, ue + x);
11101
+ return z.value.slice(ue, ue + x);
11091
11102
  }), K = Kt(() => e.visualization.options.style.dataClasses || []), ye = Kt(() => e.visualization.options.style.colorVariables || []), X = ie(!1), ke = ie(/* @__PURE__ */ new Set());
11092
11103
  function me(ue) {
11093
11104
  const G = new Set(ke.value);
@@ -11121,18 +11132,18 @@ const Wc = Ft({
11121
11132
  color: be.color
11122
11133
  } : {};
11123
11134
  }
11124
- let De = null;
11125
- zt(() => clearInterval(De)), Vt(() => {
11126
- w(!1), e.dataRefreshPeriod && (De = setInterval(() => w(!0), e.dataRefreshPeriod));
11135
+ let ze = null;
11136
+ Dt(() => clearInterval(ze)), Vt(() => {
11137
+ w(!1), e.dataRefreshPeriod && (ze = setInterval(() => w(!0), e.dataRefreshPeriod));
11127
11138
  });
11128
11139
  function o(ue) {
11129
- const G = e.visualization.name || "table", ge = e.visualization.options.series, be = D.value;
11140
+ const G = e.visualization.name || "table", ge = e.visualization.options.series, be = z.value;
11130
11141
  if (ue === "CSV") {
11131
11142
  const b = [ge.map((T) => JSON.stringify(T.label || T.valueKey || "")).join(",")];
11132
11143
  for (const T of be)
11133
11144
  b.push(ge.map(($) => {
11134
- const O = T[$.valueKey] ?? "";
11135
- return typeof O == "string" ? JSON.stringify(O) : O;
11145
+ const M = T[$.valueKey] ?? "";
11146
+ return typeof M == "string" ? JSON.stringify(M) : M;
11136
11147
  }).join(","));
11137
11148
  ir(b.join(`
11138
11149
  `), G + ".csv", "text/csv;charset=utf-8;");
@@ -11144,9 +11155,9 @@ const Wc = Ft({
11144
11155
  b += "<tr>" + ge.map(($) => `<td>${T[$.valueKey] ?? ""}</td>`).join("") + "</tr>";
11145
11156
  b += "</tbody></table></body></html>", ir(b, G + ".xls", "application/vnd.ms-excel");
11146
11157
  } else {
11147
- let $ = function(O, N) {
11148
- const E = N ?? "", B = O.isNumber && Vr.number(N) ? new Intl.NumberFormat("en-US").format(N) : String(E);
11149
- if (!O.isNumber || !b.length || !T.includes(O.valueKey))
11158
+ let $ = function(M, N) {
11159
+ const E = N ?? "", B = M.isNumber && Vr.number(N) ? new Intl.NumberFormat("en-US").format(N) : String(E);
11160
+ if (!M.isNumber || !b.length || !T.includes(M.valueKey))
11150
11161
  return B;
11151
11162
  const _ = typeof N == "number" ? N : parseFloat(String(N).replace(/,/g, ""));
11152
11163
  if (isNaN(_))
@@ -11157,15 +11168,15 @@ const Wc = Ft({
11157
11168
  const oe = re(W.color, 0.13), fe = re(W.color, 0.45);
11158
11169
  return `<span style="display:inline-block;padding:1px 9px;border-radius:4px;font-weight:600;background:${oe};border:1.5px solid ${fe};color:${W.color}">${B}</span>`;
11159
11170
  };
11160
- const Ce = ge.map((O) => O.label || O.valueKey || ""), b = K.value, T = ye.value;
11171
+ const Ce = ge.map((M) => M.label || M.valueKey || ""), b = K.value, T = ye.value;
11161
11172
  if (ue === "PDF") {
11162
- let O = `<h2>${G}</h2><table><thead><tr>`;
11163
- O += Ce.map((E) => `<th>${E}</th>`).join(""), O += "</tr></thead><tbody>";
11173
+ let M = `<h2>${G}</h2><table><thead><tr>`;
11174
+ M += Ce.map((E) => `<th>${E}</th>`).join(""), M += "</tr></thead><tbody>";
11164
11175
  for (const E of be)
11165
- O += "<tr>" + ge.map((B) => `<td>${$(B, E[B.valueKey])}</td>`).join("") + "</tr>";
11166
- O += "</tbody></table>", b.length && (O += `<div class="legend"><div class="legend-title">${r("tablesValue.mNormalTable.legend")}</div>`, b.forEach((E) => {
11167
- O += `<div class="legend-item"><span class="legend-swatch" style="background:${E.color}"></span><span class="legend-label">${E.name}</span><span class="legend-range">${E.startValue} – ${E.endValue}</span></div>`;
11168
- }), O += "</div>");
11176
+ M += "<tr>" + ge.map((B) => `<td>${$(B, E[B.valueKey])}</td>`).join("") + "</tr>";
11177
+ M += "</tbody></table>", b.length && (M += `<div class="legend"><div class="legend-title">${r("tablesValue.mNormalTable.legend")}</div>`, b.forEach((E) => {
11178
+ M += `<div class="legend-item"><span class="legend-swatch" style="background:${E.color}"></span><span class="legend-label">${E.name}</span><span class="legend-range">${E.startValue} – ${E.endValue}</span></div>`;
11179
+ }), M += "</div>");
11169
11180
  const N = window.open("", "_blank");
11170
11181
  N.document.write(`<!DOCTYPE html><html><head><title>${G}</title><style>
11171
11182
  body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;padding:20px}
@@ -11180,22 +11191,22 @@ tr:nth-child(even) td{background:#fafafa}
11180
11191
  .legend-swatch{width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.12);display:inline-block;flex-shrink:0}
11181
11192
  .legend-label{font-size:12px;color:#374151;font-weight:600}
11182
11193
  .legend-range{font-size:11px;color:#9ca3af}
11183
- </style></head><body>${O}</body></html>`), N.document.close(), N.focus(), setTimeout(() => {
11194
+ </style></head><body>${M}</body></html>`), N.document.close(), N.focus(), setTimeout(() => {
11184
11195
  N.print();
11185
11196
  }, 300);
11186
11197
  } else {
11187
- let O = `<h2 style="font-size:14px;color:#111827;margin:0 0 12px;font-weight:700">${G}</h2>`;
11188
- O += '<table style="border-collapse:collapse;width:100%;font-size:12px"><thead><tr>', O += Ce.map((E) => `<th style="background:#f3f4f6;color:#374151;padding:8px 12px;border:1px solid #d1d5db;border-bottom:2px solid #9ca3af;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.05em">${E}</th>`).join(""), O += "</tr></thead><tbody>", be.forEach((E, B) => {
11198
+ let M = `<h2 style="font-size:14px;color:#111827;margin:0 0 12px;font-weight:700">${G}</h2>`;
11199
+ M += '<table style="border-collapse:collapse;width:100%;font-size:12px"><thead><tr>', M += Ce.map((E) => `<th style="background:#f3f4f6;color:#374151;padding:8px 12px;border:1px solid #d1d5db;border-bottom:2px solid #9ca3af;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.05em">${E}</th>`).join(""), M += "</tr></thead><tbody>", be.forEach((E, B) => {
11189
11200
  const _ = B % 2 === 1 ? "#fafafa" : "#ffffff";
11190
- O += "<tr>", ge.forEach((W) => {
11201
+ M += "<tr>", ge.forEach((W) => {
11191
11202
  const oe = W.isNumber ? "right" : "left";
11192
- O += `<td style="padding:7px 12px;border:1px solid #e5e7eb;color:#1f2937;background:${_};text-align:${oe}">${$(W, E[W.valueKey])}</td>`;
11193
- }), O += "</tr>";
11194
- }), O += "</tbody></table>", b.length && (O += '<div style="margin-top:20px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;display:inline-block;min-width:200px">', O += `<div style="padding:8px 12px;background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:11px;font-weight:700;color:#111827">${r("tablesValue.mNormalTable.legend")}</div>`, b.forEach((E) => {
11195
- O += `<div style="display:flex;align-items:center;gap:10px;padding:5px 12px"><span style="width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.12);display:inline-block;flex-shrink:0;background:${E.color}"></span><span style="font-size:12px;color:#374151;font-weight:600">${E.name}</span><span style="font-size:11px;color:#9ca3af">${E.startValue} – ${E.endValue}</span></div>`;
11196
- }), O += "</div>");
11203
+ M += `<td style="padding:7px 12px;border:1px solid #e5e7eb;color:#1f2937;background:${_};text-align:${oe}">${$(W, E[W.valueKey])}</td>`;
11204
+ }), M += "</tr>";
11205
+ }), M += "</tbody></table>", b.length && (M += '<div style="margin-top:20px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;display:inline-block;min-width:200px">', M += `<div style="padding:8px 12px;background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:11px;font-weight:700;color:#111827">${r("tablesValue.mNormalTable.legend")}</div>`, b.forEach((E) => {
11206
+ M += `<div style="display:flex;align-items:center;gap:10px;padding:5px 12px"><span style="width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.12);display:inline-block;flex-shrink:0;background:${E.color}"></span><span style="font-size:12px;color:#374151;font-weight:600">${E.name}</span><span style="font-size:11px;color:#9ca3af">${E.startValue} – ${E.endValue}</span></div>`;
11207
+ }), M += "</div>");
11197
11208
  const N = document.createElement("div");
11198
- N.style.cssText = 'position:fixed;left:-9999px;top:0;background:#fff;padding:20px;box-sizing:border-box;min-width:900px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;', N.innerHTML = O, document.body.appendChild(N), import("./html2canvas.esm-CKxSAI8P.mjs").then(({ default: E }) => {
11209
+ N.style.cssText = 'position:fixed;left:-9999px;top:0;background:#fff;padding:20px;box-sizing:border-box;min-width:900px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;', N.innerHTML = M, document.body.appendChild(N), import("./html2canvas.esm-CKxSAI8P.mjs").then(({ default: E }) => {
11199
11210
  E(N, { scale: 2, backgroundColor: "#ffffff", useCORS: !0, logging: !1 }).then((B) => {
11200
11211
  if (document.body.removeChild(N), ue === "SVG") {
11201
11212
  const _ = B.toDataURL("image/png"), W = B.width / 2, oe = B.height / 2, fe = `<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="${W}" height="${oe}"><image href="${_}" width="${W}" height="${oe}"/></svg>`;
@@ -11220,7 +11231,7 @@ tr:nth-child(even) td{background:#fafafa}
11220
11231
  sortDir: f,
11221
11232
  currentPage: y,
11222
11233
  pageSize: x,
11223
- filteredRows: D,
11234
+ filteredRows: z,
11224
11235
  totalPages: te,
11225
11236
  pagedRows: H,
11226
11237
  colorClasses: K,
@@ -11228,7 +11239,7 @@ tr:nth-child(even) td{background:#fafafa}
11228
11239
  legendCollapsed: X,
11229
11240
  disabledColorClasses: ke,
11230
11241
  toggleColorClass: me,
11231
- onSortClick: z,
11242
+ onSortClick: D,
11232
11243
  getCellStyle: Fe,
11233
11244
  exportAs: o,
11234
11245
  formatNumber: (ue) => new Intl.NumberFormat("en-US").format(ue),
@@ -11356,7 +11367,7 @@ tr:nth-child(even) td{background:#fafafa}
11356
11367
  fill: "currentColor"
11357
11368
  }, null, -1)), kf = [
11358
11369
  Af
11359
- ], Lf = { key: 0 }, Of = ["colspan"], Mf = { class: "nt-empty" }, Nf = /* @__PURE__ */ Rt(() => /* @__PURE__ */ S("svg", {
11370
+ ], Lf = { key: 0 }, Mf = ["colspan"], Of = { class: "nt-empty" }, Nf = /* @__PURE__ */ Rt(() => /* @__PURE__ */ S("svg", {
11360
11371
  viewBox: "0 0 48 48",
11361
11372
  fill: "none",
11362
11373
  xmlns: "http://www.w3.org/2000/svg"
@@ -11375,7 +11386,7 @@ tr:nth-child(even) td{background:#fafafa}
11375
11386
  stroke: "#e5e7eb",
11376
11387
  "stroke-width": "2"
11377
11388
  })
11378
- ], -1)), zf = { class: "nt-td nt-td--idx" }, Df = {
11389
+ ], -1)), Df = { class: "nt-td nt-td--idx" }, zf = {
11379
11390
  key: 1,
11380
11391
  class: "nt-tr--total"
11381
11392
  }, Ff = /* @__PURE__ */ Rt(() => /* @__PURE__ */ S("td", { class: "nt-td nt-td--idx nt-td--total-label" }, "Σ", -1)), $f = {
@@ -11474,26 +11485,26 @@ tr:nth-child(even) td{background:#fafafa}
11474
11485
  Hf
11475
11486
  ], Wf = { class: "nt-legend-body" }, Uf = ["onClick"], Gf = { class: "nt-legend-label" }, Jf = { class: "nt-legend-range" };
11476
11487
  function Qf(e, r, u, l, p, g) {
11477
- return e.loading ? (k(), M("div", Uc, [
11488
+ return e.loading ? (k(), O("div", Uc, [
11478
11489
  Gc,
11479
11490
  S("div", Jc, [
11480
- (k(), M(Ae, null, Ke(8, (s) => S("div", {
11491
+ (k(), O(Ae, null, Ke(8, (s) => S("div", {
11481
11492
  class: "nt-sk-row",
11482
11493
  key: s
11483
11494
  }, [
11484
- (k(!0), M(Ae, null, Ke(Math.max(1, e.visualization.options.series.length), (f) => (k(), M("div", {
11495
+ (k(!0), O(Ae, null, Ke(Math.max(1, e.visualization.options.series.length), (f) => (k(), O("div", {
11485
11496
  class: "nt-sk-cell",
11486
11497
  key: f,
11487
11498
  style: ot({ width: 60 + f * 13 % 30 + "%" })
11488
11499
  }, null, 4))), 128))
11489
11500
  ])), 64))
11490
11501
  ])
11491
- ])) : e.errorMessage ? (k(), M("div", Qc, [
11502
+ ])) : e.errorMessage ? (k(), O("div", Qc, [
11492
11503
  Xc,
11493
11504
  S("div", Yc, Y(e.errorMessage), 1)
11494
- ])) : (k(), M("div", Zc, [
11495
- e.visualization.options.style.title.display || e.visualization.options.style.subtitle.display ? (k(), M("div", ef, [
11496
- e.visualization.options.style.title.display ? (k(), M("div", {
11505
+ ])) : (k(), O("div", Zc, [
11506
+ e.visualization.options.style.title.display || e.visualization.options.style.subtitle.display ? (k(), O("div", ef, [
11507
+ e.visualization.options.style.title.display ? (k(), O("div", {
11497
11508
  key: 0,
11498
11509
  class: "nt-title",
11499
11510
  style: ot({ textAlign: e.visualization.options.style.title.style.position })
@@ -11502,7 +11513,7 @@ function Qf(e, r, u, l, p, g) {
11502
11513
  style: ot(e.getStyle(e.visualization.options.style.title.style))
11503
11514
  }, Y(e.visualization.options.style.title.text), 5)
11504
11515
  ], 4)) : le("", !0),
11505
- e.visualization.options.style.subtitle.display ? (k(), M("div", {
11516
+ e.visualization.options.style.subtitle.display ? (k(), O("div", {
11506
11517
  key: 1,
11507
11518
  class: "nt-subtitle",
11508
11519
  style: ot({ textAlign: e.visualization.options.style.subtitle.style.position })
@@ -11524,7 +11535,7 @@ function Qf(e, r, u, l, p, g) {
11524
11535
  }, null, 8, of), [
11525
11536
  [xo, e.searchText]
11526
11537
  ]),
11527
- e.searchText ? (k(), M("button", {
11538
+ e.searchText ? (k(), O("button", {
11528
11539
  key: 0,
11529
11540
  class: "nt-search-clear",
11530
11541
  type: "button",
@@ -11544,7 +11555,7 @@ function Qf(e, r, u, l, p, g) {
11544
11555
  S("thead", null, [
11545
11556
  S("tr", null, [
11546
11557
  hf,
11547
- (k(!0), M(Ae, null, Ke(e.visualization.options.series, (s, f) => (k(), M("th", {
11558
+ (k(!0), O(Ae, null, Ke(e.visualization.options.series, (s, f) => (k(), O("th", {
11548
11559
  key: f,
11549
11560
  class: bt(["nt-th", { "nt-th--num": s.isNumber }]),
11550
11561
  onClick: (y) => e.onSortClick(s.valueKey)
@@ -11552,30 +11563,30 @@ function Qf(e, r, u, l, p, g) {
11552
11563
  S("div", mf, [
11553
11564
  S("span", null, Y(s.label || s.valueKey), 1),
11554
11565
  S("span", yf, [
11555
- e.sortKey === s.valueKey && e.sortDir === "asc" ? (k(), M("svg", vf, Cf)) : e.sortKey === s.valueKey && e.sortDir === "desc" ? (k(), M("svg", xf, Sf)) : (k(), M("svg", Tf, kf))
11566
+ e.sortKey === s.valueKey && e.sortDir === "asc" ? (k(), O("svg", vf, Cf)) : e.sortKey === s.valueKey && e.sortDir === "desc" ? (k(), O("svg", xf, Sf)) : (k(), O("svg", Tf, kf))
11556
11567
  ])
11557
11568
  ])
11558
11569
  ], 10, gf))), 128))
11559
11570
  ])
11560
11571
  ]),
11561
11572
  S("tbody", null, [
11562
- e.pagedRows.length ? le("", !0) : (k(), M("tr", Lf, [
11573
+ e.pagedRows.length ? le("", !0) : (k(), O("tr", Lf, [
11563
11574
  S("td", {
11564
11575
  colspan: e.visualization.options.series.length + 1,
11565
11576
  class: "nt-empty-cell"
11566
11577
  }, [
11567
- S("div", Mf, [
11578
+ S("div", Of, [
11568
11579
  Nf,
11569
11580
  S("span", null, Y(e.searchText ? e.t("tablesValue.mNormalTable.noRowsMatchSearch") : e.t("tablesValue.mNormalTable.noData")), 1)
11570
11581
  ])
11571
- ], 8, Of)
11582
+ ], 8, Mf)
11572
11583
  ])),
11573
- (k(!0), M(Ae, null, Ke(e.pagedRows, (s, f) => (k(), M("tr", {
11584
+ (k(!0), O(Ae, null, Ke(e.pagedRows, (s, f) => (k(), O("tr", {
11574
11585
  key: f,
11575
11586
  class: bt(["nt-tr", { "nt-tr--even": f % 2 === 1 }])
11576
11587
  }, [
11577
- S("td", zf, Y((e.currentPage - 1) * e.pageSize + f + 1), 1),
11578
- (k(!0), M(Ae, null, Ke(e.visualization.options.series, (y, x) => (k(), M("td", {
11588
+ S("td", Df, Y((e.currentPage - 1) * e.pageSize + f + 1), 1),
11589
+ (k(!0), O(Ae, null, Ke(e.visualization.options.series, (y, x) => (k(), O("td", {
11579
11590
  key: x,
11580
11591
  class: bt(["nt-td", { "nt-td--num": y.isNumber }])
11581
11592
  }, [
@@ -11584,9 +11595,9 @@ function Qf(e, r, u, l, p, g) {
11584
11595
  }, Y(y.isNumber && e.isNumber(s[y.valueKey]) ? e.formatNumber(s[y.valueKey]) : s[y.valueKey]), 5)
11585
11596
  ], 2))), 128))
11586
11597
  ], 2))), 128)),
11587
- e.visualization.options.style.showTotalRow && e.filteredRows.length ? (k(), M("tr", Df, [
11598
+ e.visualization.options.style.showTotalRow && e.filteredRows.length ? (k(), O("tr", zf, [
11588
11599
  Ff,
11589
- (k(!0), M(Ae, null, Ke(e.visualization.options.series, (s, f) => (k(), M("td", {
11600
+ (k(!0), O(Ae, null, Ke(e.visualization.options.series, (s, f) => (k(), O("td", {
11590
11601
  key: f,
11591
11602
  class: bt(["nt-td nt-td--total", { "nt-td--num": s.isNumber }])
11592
11603
  }, Y(s.isNumber && e.isNumber(e.sum(s, e.filteredRows)) ? e.formatNumber(e.sum(s, e.filteredRows)) : ""), 3))), 128))
@@ -11594,7 +11605,7 @@ function Qf(e, r, u, l, p, g) {
11594
11605
  ])
11595
11606
  ])
11596
11607
  ]),
11597
- e.totalPages > 1 ? (k(), M("div", $f, [
11608
+ e.totalPages > 1 ? (k(), O("div", $f, [
11598
11609
  S("button", {
11599
11610
  class: "nt-pg-btn",
11600
11611
  disabled: e.currentPage <= 1,
@@ -11614,7 +11625,7 @@ function Qf(e, r, u, l, p, g) {
11614
11625
  ])) : le("", !0),
11615
11626
  Yn(ci, { name: "nt-legend-slide" }, {
11616
11627
  default: fi(() => [
11617
- e.colorClasses.length ? (k(), M("div", {
11628
+ e.colorClasses.length ? (k(), O("div", {
11618
11629
  key: 0,
11619
11630
  class: bt(["nt-legend", { "nt-legend--collapsed": e.legendCollapsed }])
11620
11631
  }, [
@@ -11624,7 +11635,7 @@ function Qf(e, r, u, l, p, g) {
11624
11635
  }, [
11625
11636
  jf,
11626
11637
  S("span", _f, Y(e.t("tablesValue.mNormalTable.legend")), 1),
11627
- (k(), M("svg", {
11638
+ (k(), O("svg", {
11628
11639
  class: bt(["nt-legend-chevron", { "nt-legend-chevron--up": !e.legendCollapsed }]),
11629
11640
  viewBox: "0 0 24 24",
11630
11641
  fill: "none",
@@ -11632,7 +11643,7 @@ function Qf(e, r, u, l, p, g) {
11632
11643
  }, Kf, 2))
11633
11644
  ]),
11634
11645
  ut(S("div", Wf, [
11635
- (k(!0), M(Ae, null, Ke(e.colorClasses, (s) => (k(), M("div", {
11646
+ (k(!0), O(Ae, null, Ke(e.colorClasses, (s) => (k(), O("div", {
11636
11647
  key: s.name,
11637
11648
  class: bt(["nt-legend-item", { "nt-legend-item--off": e.disabledColorClasses.has(s.name) }]),
11638
11649
  onClick: dn((f) => e.toggleColorClass(s), ["stop"])
@@ -11656,7 +11667,7 @@ function Qf(e, r, u, l, p, g) {
11656
11667
  const Xf = /* @__PURE__ */ Pt(Wc, [["render", Qf], ["__scopeId", "data-v-b3a78192"]]);
11657
11668
  ua(Z);
11658
11669
  da(Z);
11659
- Do(Z);
11670
+ zo(Z);
11660
11671
  Fo(Z);
11661
11672
  $o(Z);
11662
11673
  Po(Z);
@@ -11740,15 +11751,15 @@ function Fa(e, r, u) {
11740
11751
  for (const f of tp(r, p.groupKey, s)) {
11741
11752
  const y = [];
11742
11753
  for (const x of f.rows) {
11743
- const w = mt(x[p.xValueKey]), z = mt(x[p.valueKey]);
11744
- if (!(w === null || z === null))
11754
+ const w = mt(x[p.xValueKey]), D = mt(x[p.valueKey]);
11755
+ if (!(w === null || D === null))
11745
11756
  if (u === "bubble") {
11746
- const D = mt(x[p.sizeKey]);
11747
- if (D === null)
11757
+ const z = mt(x[p.sizeKey]);
11758
+ if (z === null)
11748
11759
  continue;
11749
- y.push([w, z, D]);
11760
+ y.push([w, D, z]);
11750
11761
  } else
11751
- y.push([w, z]);
11762
+ y.push([w, D]);
11752
11763
  }
11753
11764
  p.groupKey && y.length === 0 || l.series.push({
11754
11765
  name: p.groupKey && p.label ? `${p.label} – ${f.name}` : f.name,
@@ -11770,25 +11781,25 @@ function rp(e, r) {
11770
11781
  wn(e);
11771
11782
  const { style: u } = e, l = e.series[0] || {}, p = nn(e, "heatmap"), g = l.xValueKey ? lr(r, l.xValueKey) : [], s = l.yValueKey ? lr(r, l.yValueKey) : [], f = /* @__PURE__ */ new Map();
11772
11783
  if (l.xValueKey && l.yValueKey && l.valueKey)
11773
- for (const z of r) {
11774
- const D = mt(z[l.valueKey]);
11775
- if (D === null)
11784
+ for (const D of r) {
11785
+ const z = mt(D[l.valueKey]);
11786
+ if (z === null)
11776
11787
  continue;
11777
- const te = g.indexOf(Ze(z[l.xValueKey]) ? "—" : String(z[l.xValueKey])), H = s.indexOf(Ze(z[l.yValueKey]) ? "—" : String(z[l.yValueKey])), K = `${te}:${H}`, ye = f.get(K) || { x: te, y: H, sum: 0, count: 0, min: 1 / 0, max: -1 / 0 };
11778
- ye.sum += D, ye.count += 1, ye.min = Math.min(ye.min, D), ye.max = Math.max(ye.max, D), f.set(K, ye);
11788
+ const te = g.indexOf(Ze(D[l.xValueKey]) ? "—" : String(D[l.xValueKey])), H = s.indexOf(Ze(D[l.yValueKey]) ? "—" : String(D[l.yValueKey])), K = `${te}:${H}`, ye = f.get(K) || { x: te, y: H, sum: 0, count: 0, min: 1 / 0, max: -1 / 0 };
11789
+ ye.sum += z, ye.count += 1, ye.min = Math.min(ye.min, z), ye.max = Math.max(ye.max, z), f.set(K, ye);
11779
11790
  }
11780
- const y = (z) => {
11791
+ const y = (D) => {
11781
11792
  switch (u.heatmap.aggregation) {
11782
11793
  case "average":
11783
- return z.sum / z.count;
11794
+ return D.sum / D.count;
11784
11795
  case "count":
11785
- return z.count;
11796
+ return D.count;
11786
11797
  case "min":
11787
- return z.min;
11798
+ return D.min;
11788
11799
  case "max":
11789
- return z.max;
11800
+ return D.max;
11790
11801
  default:
11791
- return z.sum;
11802
+ return D.sum;
11792
11803
  }
11793
11804
  };
11794
11805
  p.xAxis = { ...ei(e.xAxis, {}), categories: g };
@@ -11796,19 +11807,19 @@ function rp(e, r) {
11796
11807
  p.yAxis = { ...x, categories: s, reversed: !0, plotLines: [], min: void 0, max: void 0, tickInterval: void 0 }, p.colorAxis = { min: 0, minColor: u.heatmap.minColor, maxColor: u.heatmap.maxColor }, p.tooltip = {
11797
11808
  ...p.tooltip,
11798
11809
  pointFormatter() {
11799
- const z = u.numberFormat.prefix || "", D = u.numberFormat.suffix || "", te = Ze(u.numberFormat.decimals) ? -1 : Number(u.numberFormat.decimals);
11800
- return `${g[this.x]} · ${s[this.y]}: <b>${z}${Z.numberFormat(this.value, te)}${D}</b>`;
11810
+ const D = u.numberFormat.prefix || "", z = u.numberFormat.suffix || "", te = Ze(u.numberFormat.decimals) ? -1 : Number(u.numberFormat.decimals);
11811
+ return `${g[this.x]} · ${s[this.y]}: <b>${D}${Z.numberFormat(this.value, te)}${z}</b>`;
11801
11812
  }
11802
11813
  };
11803
11814
  const w = gi(u.valueLabels, u.numberFormat, !1);
11804
11815
  return w.formatter = function() {
11805
- const { decimals: z, prefix: D, suffix: te } = u.numberFormat;
11806
- return (D || "") + Z.numberFormat(this.point.value, Ze(z) ? -1 : Number(z)) + (te || "");
11816
+ const { decimals: D, prefix: z, suffix: te } = u.numberFormat;
11817
+ return (z || "") + Z.numberFormat(this.point.value, Ze(D) ? -1 : Number(D)) + (te || "");
11807
11818
  }, p.series = [{
11808
11819
  name: l.label || "",
11809
11820
  borderWidth: 1,
11810
11821
  borderColor: "#ffffff",
11811
- data: [...f.values()].map((z) => [z.x, z.y, y(z)]),
11822
+ data: [...f.values()].map((D) => [D.x, D.y, y(D)]),
11812
11823
  dataLabels: w
11813
11824
  }], p;
11814
11825
  }
@@ -11846,19 +11857,19 @@ function op(e, r) {
11846
11857
  }, u.series = [], e.series.forEach((x, w) => {
11847
11858
  if (!x.valueKey)
11848
11859
  return;
11849
- const z = r.map((H) => mt(H[x.valueKey])).filter((H) => H !== null), D = `base-${w}`;
11850
- u.series.push({ id: D, type: "scatter", data: z, visible: !1, showInLegend: !1, xAxis: 1, yAxis: l.length });
11860
+ const D = r.map((H) => mt(H[x.valueKey])).filter((H) => H !== null), z = `base-${w}`;
11861
+ u.series.push({ id: z, type: "scatter", data: D, visible: !1, showInLegend: !1, xAxis: 1, yAxis: l.length });
11851
11862
  const te = {
11852
11863
  type: "histogram",
11853
11864
  name: x.label || `${w + 1}`,
11854
- baseSeries: D,
11865
+ baseSeries: z,
11855
11866
  yAxis: x.yAxisIndex || 0,
11856
11867
  ...$n(x)
11857
11868
  };
11858
11869
  Ze(x.bins) || (te.binsNumber = Number(x.bins)), u.series.push(te), x.bellCurve && u.series.push({
11859
11870
  type: "bellcurve",
11860
11871
  name: `${te.name} (normal)`,
11861
- baseSeries: D,
11872
+ baseSeries: z,
11862
11873
  xAxis: 0,
11863
11874
  yAxis: l.length,
11864
11875
  zIndex: -1,
@@ -11870,7 +11881,7 @@ function lp(e, r) {
11870
11881
  wn(e);
11871
11882
  const { style: u } = e, l = u.gauge, p = e.series[0] || {}, g = l.kind === "solid", s = nn(e, g ? "solidgauge" : "gauge");
11872
11883
  s.legend = { enabled: !1 };
11873
- const f = r[0] || {}, y = p.valueKey ? mt(f[p.valueKey]) : null, x = mt(p.minKey ? f[p.minKey] : l.min) ?? 0, w = mt(p.maxKey ? f[p.maxKey] : l.max) ?? 100, z = (l.bands || []).filter((K) => !Ze(K.from) && !Ze(K.to)).map((K) => ({ from: Number(K.from), to: Number(K.to), color: K.color || "#9ca3af" }));
11884
+ const f = r[0] || {}, y = p.valueKey ? mt(f[p.valueKey]) : null, x = mt(p.minKey ? f[p.minKey] : l.min) ?? 0, w = mt(p.maxKey ? f[p.maxKey] : l.max) ?? 100, D = (l.bands || []).filter((K) => !Ze(K.from) && !Ze(K.to)).map((K) => ({ from: Number(K.from), to: Number(K.to), color: K.color || "#9ca3af" }));
11874
11885
  s.pane = g ? {
11875
11886
  startAngle: -90,
11876
11887
  endAngle: 90,
@@ -11884,11 +11895,11 @@ function lp(e, r) {
11884
11895
  tickPositions: g ? [x, w] : void 0,
11885
11896
  lineWidth: 0,
11886
11897
  // Solid gauge colours the arc by the band the value falls in
11887
- stops: g && z.length > 0 ? z.map((K) => [Math.min(Math.max((K.to - x) / (w - x || 1), 0), 1), K.color]) : void 0,
11888
- plotBands: g ? void 0 : z.map((K) => ({ ...K, thickness: "15%" })),
11898
+ stops: g && D.length > 0 ? D.map((K) => [Math.min(Math.max((K.to - x) / (w - x || 1), 0), 1), K.color]) : void 0,
11899
+ plotBands: g ? void 0 : D.map((K) => ({ ...K, thickness: "15%" })),
11889
11900
  labels: { distance: g ? 16 : -20 }
11890
- }, g && z.length === 0 && (dr(p), s.yAxis.minColor = s.yAxis.maxColor = p.color || "#009551");
11891
- const { decimals: D, prefix: te, suffix: H } = u.numberFormat;
11901
+ }, g && D.length === 0 && (dr(p), s.yAxis.minColor = s.yAxis.maxColor = p.color || "#009551");
11902
+ const { decimals: z, prefix: te, suffix: H } = u.numberFormat;
11892
11903
  return s.tooltip = { enabled: !1 }, s.plotOptions = {
11893
11904
  solidgauge: { dataLabels: { y: -30, borderWidth: 0, useHTML: !0 } },
11894
11905
  gauge: { dataLabels: { borderWidth: 0 } }
@@ -11898,7 +11909,7 @@ function lp(e, r) {
11898
11909
  dataLabels: {
11899
11910
  enabled: !0,
11900
11911
  formatter() {
11901
- const K = Z.numberFormat(this.y, Ze(D) ? -1 : Number(D));
11912
+ const K = Z.numberFormat(this.y, Ze(z) ? -1 : Number(z));
11902
11913
  return `<span style="font-size: 1.6em; font-weight: bold">${te || ""}${K}${H || ""}</span>`;
11903
11914
  }
11904
11915
  }
@@ -12037,11 +12048,11 @@ function Ra(e, r, u) {
12037
12048
  const y = Ze(s[r.labelKey]) ? "—" : String(s[r.labelKey]);
12038
12049
  let x;
12039
12050
  if (r.parentKey) {
12040
- const D = Ze(s[r.parentKey]) ? "—" : String(s[r.parentKey]);
12041
- x = `p:${D}`, p.has(x) || p.set(x, { id: x, name: D, color: u[p.size % u.length] });
12051
+ const z = Ze(s[r.parentKey]) ? "—" : String(s[r.parentKey]);
12052
+ x = `p:${z}`, p.has(x) || p.set(x, { id: x, name: z, color: u[p.size % u.length] });
12042
12053
  }
12043
- const w = `${x || ""}|${y}`, z = g.get(w) || { id: w, name: y, parent: x, value: 0 };
12044
- z.value += f, g.set(w, z);
12054
+ const w = `${x || ""}|${y}`, D = g.get(w) || { id: w, name: y, parent: x, value: 0 };
12055
+ D.value += f, g.set(w, D);
12045
12056
  }
12046
12057
  return l.push(...p.values(), ...g.values()), l;
12047
12058
  }
@@ -12170,27 +12181,27 @@ const Ea = {
12170
12181
  setup(e) {
12171
12182
  const { t: r } = $t(), u = ie(!1), l = ie(null), p = ie(null), g = ie([]);
12172
12183
  let s = null, f = null;
12173
- function y(w, z) {
12174
- const D = Ea[e.visualization.type];
12175
- if (!D) {
12184
+ function y(w, D) {
12185
+ const z = Ea[e.visualization.type];
12186
+ if (!z) {
12176
12187
  l.value = r("charts.common.unsupportedType");
12177
12188
  return;
12178
12189
  }
12179
- const te = sr(D(e.visualization.options, w), e.visualization.options.style.theme);
12180
- p.value && (z && s ? s.update(te, !0, !0) : (s && s.destroy(), s = Z.chart(p.value, te)), g.value = s.getDataRows());
12190
+ const te = sr(z(e.visualization.options, w), e.visualization.options.style.theme);
12191
+ p.value && (D && s ? s.update(te, !0, !0) : (s && s.destroy(), s = Z.chart(p.value, te)), g.value = s.getDataRows());
12181
12192
  }
12182
12193
  function x(w) {
12183
- w || (u.value = !0, l.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((z) => {
12184
- y(z || [], w), l.value = null;
12185
- }).catch((z) => {
12186
- z.response ? l.value = `${z.response.data.message}` : z.request ? l.value = r("charts.common.failedConnect") : (console.error(z), l.value = r("charts.common.failedQuery"));
12194
+ w || (u.value = !0, l.value = null), jt.executeById(e.projectId, e.expId, e.visualization.dataQuery.id, null, e.filters).then((D) => {
12195
+ y(D || [], w), l.value = null;
12196
+ }).catch((D) => {
12197
+ D.response ? l.value = `${D.response.data.message}` : D.request ? l.value = r("charts.common.failedConnect") : (console.error(D), l.value = r("charts.common.failedQuery"));
12187
12198
  }).finally(() => {
12188
12199
  w || (u.value = !1);
12189
12200
  });
12190
12201
  }
12191
12202
  return Vt(() => {
12192
12203
  x(!1), e.dataRefreshPeriod && (f = setInterval(() => x(!0), e.dataRefreshPeriod));
12193
- }), zt(() => {
12204
+ }), Dt(() => {
12194
12205
  f && clearInterval(f), s && s.destroy();
12195
12206
  }), {
12196
12207
  chartContainer: p,
@@ -12200,8 +12211,8 @@ const Ea = {
12200
12211
  exportAs(w) {
12201
12212
  if (!s)
12202
12213
  return;
12203
- const z = { sourceHeight: 768, sourceWidth: 1024 };
12204
- w === "PNG" ? s.exportChartLocal({ type: "image/png", scale: 10, ...z }, null) : w === "PDF" ? s.exportChartLocal({ type: "application/pdf", scale: 1, ...z }, null) : w === "SVG" ? s.exportChartLocal({ type: "image/svg+xml", scale: 1, ...z }, null) : w === "CSV" ? s.downloadCSV(null) : w === "XLS" && s.downloadXLS(null);
12214
+ const D = { sourceHeight: 768, sourceWidth: 1024 };
12215
+ w === "PNG" ? s.exportChartLocal({ type: "image/png", scale: 10, ...D }, null) : w === "PDF" ? s.exportChartLocal({ type: "application/pdf", scale: 1, ...D }, null) : w === "SVG" ? s.exportChartLocal({ type: "image/svg+xml", scale: 1, ...D }, null) : w === "CSV" ? s.downloadCSV(null) : w === "XLS" && s.downloadXLS(null);
12205
12216
  }
12206
12217
  };
12207
12218
  }
@@ -12213,29 +12224,29 @@ const Ea = {
12213
12224
  ], Tp = {
12214
12225
  ref: "chartContainer",
12215
12226
  class: "chart-container"
12216
- }, Ap = { key: 1 }, kp = { class: "table-data" }, Lp = { style: { "background-color": "#e8e8e8" } }, Op = {
12227
+ }, Ap = { key: 1 }, kp = { class: "table-data" }, Lp = { style: { "background-color": "#e8e8e8" } }, Mp = {
12217
12228
  key: 2,
12218
12229
  class: "absolute absolute-center text-center q-pa-sm"
12219
12230
  };
12220
- function Mp(e, r, u, l, p, g) {
12221
- return k(), M(Ae, null, [
12222
- e.loading ? (k(), M("div", xp, Sp)) : le("", !0),
12231
+ function Op(e, r, u, l, p, g) {
12232
+ return k(), O(Ae, null, [
12233
+ e.loading ? (k(), O("div", xp, Sp)) : le("", !0),
12223
12234
  ut(S("div", Tp, null, 512), [
12224
12235
  [ft, !e.loading && !e.errorMessage && !e.showTable]
12225
12236
  ]),
12226
- e.showTable && !e.loading && !e.errorMessage && e.tableRows.length > 0 ? (k(), M("div", Ap, [
12237
+ e.showTable && !e.loading && !e.errorMessage && e.tableRows.length > 0 ? (k(), O("div", Ap, [
12227
12238
  S("table", kp, [
12228
12239
  S("thead", Lp, [
12229
12240
  S("tr", null, [
12230
- (k(!0), M(Ae, null, Ke(e.tableRows[0], (s, f) => (k(), M("th", {
12241
+ (k(!0), O(Ae, null, Ke(e.tableRows[0], (s, f) => (k(), O("th", {
12231
12242
  key: f,
12232
12243
  style: ot({ textAlign: f === 0 ? "left" : "right" })
12233
12244
  }, Y(s), 5))), 128))
12234
12245
  ])
12235
12246
  ]),
12236
12247
  S("tbody", null, [
12237
- (k(!0), M(Ae, null, Ke(e.tableRows.slice(1), (s, f) => (k(), M("tr", { key: f }, [
12238
- (k(!0), M(Ae, null, Ke(s, (y, x) => (k(), M("td", {
12248
+ (k(!0), O(Ae, null, Ke(e.tableRows.slice(1), (s, f) => (k(), O("tr", { key: f }, [
12249
+ (k(!0), O(Ae, null, Ke(s, (y, x) => (k(), O("td", {
12239
12250
  key: x,
12240
12251
  style: ot({ textAlign: x === 0 ? "left" : "right" })
12241
12252
  }, Y(y), 5))), 128))
@@ -12243,10 +12254,10 @@ function Mp(e, r, u, l, p, g) {
12243
12254
  ])
12244
12255
  ])
12245
12256
  ])) : le("", !0),
12246
- e.errorMessage && !e.loading ? (k(), M("div", Op, Y(e.errorMessage), 1)) : le("", !0)
12257
+ e.errorMessage && !e.loading ? (k(), O("div", Mp, Y(e.errorMessage), 1)) : le("", !0)
12247
12258
  ], 64);
12248
12259
  }
12249
- const Np = /* @__PURE__ */ Pt(bp, [["render", Mp], ["__scopeId", "data-v-17d6c074"]]), zp = Ft({
12260
+ const Np = /* @__PURE__ */ Pt(bp, [["render", Op], ["__scopeId", "data-v-17d6c074"]]), Dp = Ft({
12250
12261
  name: "MRenderer",
12251
12262
  components: {
12252
12263
  MHighchart: Np,
@@ -12260,7 +12271,7 @@ const Np = /* @__PURE__ */ Pt(bp, [["render", Mp], ["__scopeId", "data-v-17d6c07
12260
12271
  MLineChart: ys,
12261
12272
  MPieChart: Fs,
12262
12273
  MBarChart: gl,
12263
- MColumnChart: Ml,
12274
+ MColumnChart: Ol,
12264
12275
  MStackedColumnChart: _l,
12265
12276
  MStackedBarChart: is
12266
12277
  },
@@ -12293,7 +12304,7 @@ const Np = /* @__PURE__ */ Pt(bp, [["render", Mp], ["__scopeId", "data-v-17d6c07
12293
12304
  }
12294
12305
  },
12295
12306
  setup(e) {
12296
- const { t: r } = $t(), u = ie(null), l = ie(null), p = ie(null), g = ie(null), s = ie(null), f = ie(null), y = ie(null), x = ie(null), w = ie(null), z = ie(null), D = ie(null), te = ie(null), H = ie(null), K = ie(null), ye = Kt(() => !!Ea[e.visualization.type]);
12307
+ const { t: r } = $t(), u = ie(null), l = ie(null), p = ie(null), g = ie(null), s = ie(null), f = ie(null), y = ie(null), x = ie(null), w = ie(null), D = ie(null), z = ie(null), te = ie(null), H = ie(null), K = ie(null), ye = Kt(() => !!Ea[e.visualization.type]);
12297
12308
  return {
12298
12309
  t: r,
12299
12310
  barChart: u,
@@ -12305,8 +12316,8 @@ const Np = /* @__PURE__ */ Pt(bp, [["render", Mp], ["__scopeId", "data-v-17d6c07
12305
12316
  singleValue: y,
12306
12317
  areaChart: x,
12307
12318
  errorBarChart: w,
12308
- pivotTable: z,
12309
- normalTable: D,
12319
+ pivotTable: D,
12320
+ normalTable: z,
12310
12321
  thematicMap: te,
12311
12322
  tileMap: H,
12312
12323
  highchart: K,
@@ -12317,19 +12328,19 @@ const Np = /* @__PURE__ */ Pt(bp, [["render", Mp], ["__scopeId", "data-v-17d6c07
12317
12328
  return e.visualization.type === "MAP" ? ((ke = (X = te.value) == null ? void 0 : X.getMapView) == null ? void 0 : ke.call(X)) ?? null : null;
12318
12329
  },
12319
12330
  exportAs(X) {
12320
- e.visualization.dataQuery && (e.visualization.type === "BAR" ? u.value.exportAs(X) : e.visualization.type === "LINE" ? p.value.exportAs(X) : e.visualization.type === "PIE" ? g.value.exportAs(X) : e.visualization.type === "COLUMN" ? l.value.exportAs(X) : e.visualization.type === "STACKED_COLUMN" ? s.value.exportAs(X) : e.visualization.type === "STACKED_BAR" ? f.value.exportAs(X) : e.visualization.type === "AREA" ? x.value.exportAs(X) : e.visualization.type === "ERROR_BAR" ? w.value.exportAs(X) : e.visualization.type === "MAP" ? te.value.exportAs(X) : e.visualization.type === "TILE_MAP" ? H.value.exportAs(X) : e.visualization.type === "PIVOT_TABLE" ? z.value.exportAs(X) : e.visualization.type === "NORMAL_TABLE" ? D.value.exportAs(X) : ye.value && K.value.exportAs(X));
12331
+ e.visualization.dataQuery && (e.visualization.type === "BAR" ? u.value.exportAs(X) : e.visualization.type === "LINE" ? p.value.exportAs(X) : e.visualization.type === "PIE" ? g.value.exportAs(X) : e.visualization.type === "COLUMN" ? l.value.exportAs(X) : e.visualization.type === "STACKED_COLUMN" ? s.value.exportAs(X) : e.visualization.type === "STACKED_BAR" ? f.value.exportAs(X) : e.visualization.type === "AREA" ? x.value.exportAs(X) : e.visualization.type === "ERROR_BAR" ? w.value.exportAs(X) : e.visualization.type === "MAP" ? te.value.exportAs(X) : e.visualization.type === "TILE_MAP" ? H.value.exportAs(X) : e.visualization.type === "PIVOT_TABLE" ? D.value.exportAs(X) : e.visualization.type === "NORMAL_TABLE" ? z.value.exportAs(X) : ye.value && K.value.exportAs(X));
12321
12332
  }
12322
12333
  };
12323
12334
  }
12324
- }), Dp = {
12335
+ }), zp = {
12325
12336
  key: 0,
12326
12337
  class: "flex flex-center text-grey-7 q-pa-lg",
12327
12338
  style: { "min-height": "120px" }
12328
12339
  };
12329
12340
  function Fp(e, r, u, l, p, g) {
12330
- const s = Ot("q-icon"), f = Ot("MBarChart"), y = Ot("MColumnChart"), x = Ot("MLineChart"), w = Ot("MPieChart"), z = Ot("MStackedColumnChart"), D = Ot("MStackedBarChart"), te = Ot("MSingleValue"), H = Ot("MAreaChart"), K = Ot("MErrorBarChart"), ye = Ot("MPivotTable"), X = Ot("MNormalTable"), ke = Ot("MHighchart"), me = Ot("MThematicMap"), re = Ot("MTileMap");
12331
- return e.visualization.dataQuery ? (k(), M(Ae, { key: 1 }, [
12332
- e.visualization.type === "BAR" ? (k(), Mt(f, {
12341
+ const s = Mt("q-icon"), f = Mt("MBarChart"), y = Mt("MColumnChart"), x = Mt("MLineChart"), w = Mt("MPieChart"), D = Mt("MStackedColumnChart"), z = Mt("MStackedBarChart"), te = Mt("MSingleValue"), H = Mt("MAreaChart"), K = Mt("MErrorBarChart"), ye = Mt("MPivotTable"), X = Mt("MNormalTable"), ke = Mt("MHighchart"), me = Mt("MThematicMap"), re = Mt("MTileMap");
12342
+ return e.visualization.dataQuery ? (k(), O(Ae, { key: 1 }, [
12343
+ e.visualization.type === "BAR" ? (k(), Ot(f, {
12333
12344
  key: 0,
12334
12345
  ref: "barChart",
12335
12346
  "show-table": e.showTable,
@@ -12339,7 +12350,7 @@ function Fp(e, r, u, l, p, g) {
12339
12350
  visualization: e.visualization,
12340
12351
  filters: e.filters
12341
12352
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12342
- e.visualization.type === "COLUMN" ? (k(), Mt(y, {
12353
+ e.visualization.type === "COLUMN" ? (k(), Ot(y, {
12343
12354
  key: 1,
12344
12355
  ref: "columnChart",
12345
12356
  "show-table": e.showTable,
@@ -12349,7 +12360,7 @@ function Fp(e, r, u, l, p, g) {
12349
12360
  visualization: e.visualization,
12350
12361
  filters: e.filters
12351
12362
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12352
- e.visualization.type === "LINE" ? (k(), Mt(x, {
12363
+ e.visualization.type === "LINE" ? (k(), Ot(x, {
12353
12364
  key: 2,
12354
12365
  ref: "lineChart",
12355
12366
  "show-table": e.showTable,
@@ -12359,7 +12370,7 @@ function Fp(e, r, u, l, p, g) {
12359
12370
  visualization: e.visualization,
12360
12371
  filters: e.filters
12361
12372
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12362
- e.visualization.type === "PIE" ? (k(), Mt(w, {
12373
+ e.visualization.type === "PIE" ? (k(), Ot(w, {
12363
12374
  key: 3,
12364
12375
  ref: "pieChart",
12365
12376
  "show-table": e.showTable,
@@ -12369,7 +12380,7 @@ function Fp(e, r, u, l, p, g) {
12369
12380
  visualization: e.visualization,
12370
12381
  filters: e.filters
12371
12382
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12372
- e.visualization.type === "STACKED_COLUMN" ? (k(), Mt(z, {
12383
+ e.visualization.type === "STACKED_COLUMN" ? (k(), Ot(D, {
12373
12384
  key: 4,
12374
12385
  ref: "stackedColumnChart",
12375
12386
  "show-table": e.showTable,
@@ -12379,7 +12390,7 @@ function Fp(e, r, u, l, p, g) {
12379
12390
  visualization: e.visualization,
12380
12391
  filters: e.filters
12381
12392
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12382
- e.visualization.type === "STACKED_BAR" ? (k(), Mt(D, {
12393
+ e.visualization.type === "STACKED_BAR" ? (k(), Ot(z, {
12383
12394
  key: 5,
12384
12395
  ref: "stackedBarChart",
12385
12396
  "show-table": e.showTable,
@@ -12389,7 +12400,7 @@ function Fp(e, r, u, l, p, g) {
12389
12400
  visualization: e.visualization,
12390
12401
  filters: e.filters
12391
12402
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12392
- e.visualization.type === "SINGLE_VALUE" ? (k(), Mt(te, {
12403
+ e.visualization.type === "SINGLE_VALUE" ? (k(), Ot(te, {
12393
12404
  key: 6,
12394
12405
  ref: "singleValue",
12395
12406
  "data-refresh-period": e.dataRefreshPeriod,
@@ -12398,7 +12409,7 @@ function Fp(e, r, u, l, p, g) {
12398
12409
  visualization: e.visualization,
12399
12410
  filters: e.filters
12400
12411
  }, null, 8, ["data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12401
- e.visualization.type === "AREA" ? (k(), Mt(H, {
12412
+ e.visualization.type === "AREA" ? (k(), Ot(H, {
12402
12413
  key: 7,
12403
12414
  ref: "areaChart",
12404
12415
  "show-table": e.showTable,
@@ -12408,7 +12419,7 @@ function Fp(e, r, u, l, p, g) {
12408
12419
  visualization: e.visualization,
12409
12420
  filters: e.filters
12410
12421
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12411
- e.visualization.type === "ERROR_BAR" ? (k(), Mt(K, {
12422
+ e.visualization.type === "ERROR_BAR" ? (k(), Ot(K, {
12412
12423
  key: 8,
12413
12424
  ref: "errorBarChart",
12414
12425
  "show-table": e.showTable,
@@ -12418,7 +12429,7 @@ function Fp(e, r, u, l, p, g) {
12418
12429
  visualization: e.visualization,
12419
12430
  filters: e.filters
12420
12431
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12421
- e.visualization.type === "PIVOT_TABLE" ? (k(), Mt(ye, {
12432
+ e.visualization.type === "PIVOT_TABLE" ? (k(), Ot(ye, {
12422
12433
  key: 9,
12423
12434
  ref: "pivotTable",
12424
12435
  "data-refresh-period": e.dataRefreshPeriod,
@@ -12427,7 +12438,7 @@ function Fp(e, r, u, l, p, g) {
12427
12438
  visualization: e.visualization,
12428
12439
  filters: e.filters
12429
12440
  }, null, 8, ["data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12430
- e.visualization.type === "NORMAL_TABLE" ? (k(), Mt(X, {
12441
+ e.visualization.type === "NORMAL_TABLE" ? (k(), Ot(X, {
12431
12442
  key: 10,
12432
12443
  ref: "normalTable",
12433
12444
  "data-refresh-period": e.dataRefreshPeriod,
@@ -12436,7 +12447,7 @@ function Fp(e, r, u, l, p, g) {
12436
12447
  visualization: e.visualization,
12437
12448
  filters: e.filters
12438
12449
  }, null, 8, ["data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12439
- e.isGenericChart ? (k(), Mt(ke, {
12450
+ e.isGenericChart ? (k(), Ot(ke, {
12440
12451
  key: 11,
12441
12452
  ref: "highchart",
12442
12453
  "show-table": e.showTable,
@@ -12446,7 +12457,7 @@ function Fp(e, r, u, l, p, g) {
12446
12457
  visualization: e.visualization,
12447
12458
  filters: e.filters
12448
12459
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12449
- e.visualization.type === "MAP" ? (k(), Mt(me, {
12460
+ e.visualization.type === "MAP" ? (k(), Ot(me, {
12450
12461
  key: 12,
12451
12462
  ref: "thematicMap",
12452
12463
  "show-table": e.showTable,
@@ -12456,7 +12467,7 @@ function Fp(e, r, u, l, p, g) {
12456
12467
  visualization: e.visualization,
12457
12468
  filters: e.filters
12458
12469
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0),
12459
- e.visualization.type === "TILE_MAP" ? (k(), Mt(re, {
12470
+ e.visualization.type === "TILE_MAP" ? (k(), Ot(re, {
12460
12471
  key: 13,
12461
12472
  ref: "tileMap",
12462
12473
  "show-table": e.showTable,
@@ -12466,7 +12477,7 @@ function Fp(e, r, u, l, p, g) {
12466
12477
  visualization: e.visualization,
12467
12478
  filters: e.filters
12468
12479
  }, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : le("", !0)
12469
- ], 64)) : (k(), M("div", Dp, [
12480
+ ], 64)) : (k(), O("div", zp, [
12470
12481
  Yn(s, {
12471
12482
  name: "link_off",
12472
12483
  size: "20px",
@@ -12475,7 +12486,7 @@ function Fp(e, r, u, l, p, g) {
12475
12486
  pi(Y(e.t("renderer.noDataQuery")), 1)
12476
12487
  ]));
12477
12488
  }
12478
- const oh = /* @__PURE__ */ Pt(zp, [["render", Fp], ["__scopeId", "data-v-47164d24"]]);
12489
+ const oh = /* @__PURE__ */ Pt(Dp, [["render", Fp], ["__scopeId", "data-v-47164d24"]]);
12479
12490
  export {
12480
12491
  oh as MRenderer
12481
12492
  };