mosquitodb-charts 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mosquitodb-charts.mjs +532 -530
- package/package.json +1 -1
- package/style.css +1 -1
package/mosquitodb-charts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as Ut, defineComponent as $t, ref as te, onBeforeUnmount as zt, onMounted as jt, openBlock as k, createElementBlock as M, Fragment as Ae, createCommentVNode as oe, withDirectives as st, vShow as ft, createElementVNode as S, toDisplayString as Y, renderList as
|
|
1
|
+
import { computed as Ut, defineComponent as $t, ref as te, onBeforeUnmount as zt, onMounted as jt, openBlock as k, createElementBlock as M, Fragment as Ae, createCommentVNode as oe, withDirectives as st, vShow as ft, createElementVNode as S, toDisplayString as Y, renderList as Ue, pushScopeId as Gt, popScopeId as Jt, normalizeStyle as ot, onActivated as xo, watch as lr, createVNode as ei, Transition as pi, withCtx as hi, normalizeClass as bt, withModifiers as fn, shallowRef as _r, createBlock as Nt, Teleport as wo, createTextVNode as gi, vModelText as So, resolveComponent as Ot } from "vue";
|
|
2
2
|
import { usePreferenceStore as To, QueryExecutorService as _t, getDataSource as Ao, GeoJSONService as ko } from "mosquitodb-wrapper";
|
|
3
3
|
import Z from "highcharts";
|
|
4
4
|
import xn from "highcharts/modules/exporting";
|
|
@@ -1707,7 +1707,7 @@ function Pt() {
|
|
|
1707
1707
|
const Ho = { color: "#F0F0F3", style: { textOutline: "none" } };
|
|
1708
1708
|
function cn({ chart: e, text: r, mutedText: s, titleText: l, grid: p, xGridWidth: g = 0, yGridWidth: u, axisLine: f, tooltip: y, tooltipText: x, legendHidden: w, legendBackground: D, dark: F }) {
|
|
1709
1709
|
const ee = (U) => {
|
|
1710
|
-
const
|
|
1710
|
+
const ve = {
|
|
1711
1711
|
gridLineColor: p,
|
|
1712
1712
|
lineColor: f,
|
|
1713
1713
|
tickColor: f,
|
|
@@ -1715,7 +1715,7 @@ function cn({ chart: e, text: r, mutedText: s, titleText: l, grid: p, xGridWidth
|
|
|
1715
1715
|
labels: { style: { color: r } },
|
|
1716
1716
|
title: { style: { color: s } }
|
|
1717
1717
|
};
|
|
1718
|
-
return U !== void 0 && (
|
|
1718
|
+
return U !== void 0 && (ve.gridLineWidth = U), ve;
|
|
1719
1719
|
}, K = {
|
|
1720
1720
|
chart: e,
|
|
1721
1721
|
title: { style: { color: l } },
|
|
@@ -1978,7 +1978,7 @@ function cr(e, r) {
|
|
|
1978
1978
|
return e.xAxis !== void 0 && (u.xAxis = Jr(l, e.xAxis)), e.yAxis !== void 0 && (u.yAxis = Jr(p, e.yAxis)), u;
|
|
1979
1979
|
}
|
|
1980
1980
|
const pa = { size: "0.813em", fontStyle: "", fontWeight: "", color: "" }, ha = { size: "", fontStyle: "", fontWeight: "bold", color: "" };
|
|
1981
|
-
function
|
|
1981
|
+
function Ye(e) {
|
|
1982
1982
|
return e == null || e === "";
|
|
1983
1983
|
}
|
|
1984
1984
|
function fr(e = {}) {
|
|
@@ -1990,7 +1990,7 @@ function fr(e = {}) {
|
|
|
1990
1990
|
fontStyle: e.fontStyle || "normal"
|
|
1991
1991
|
};
|
|
1992
1992
|
return Object.keys(r).forEach((s) => {
|
|
1993
|
-
|
|
1993
|
+
Ye(r[s]) && delete r[s];
|
|
1994
1994
|
}), r;
|
|
1995
1995
|
}
|
|
1996
1996
|
function ti(e) {
|
|
@@ -2034,10 +2034,10 @@ function ma(e) {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
function Go(e) {
|
|
2036
2036
|
var r;
|
|
2037
|
-
return e && (e.style || (e.style = {}), ma(e.style), (r = e.xAxis) != null && r.labels &&
|
|
2037
|
+
return e && (e.style || (e.style = {}), ma(e.style), (r = e.xAxis) != null && r.labels && Ye(e.xAxis.labels.rotation) && (e.xAxis.labels.rotation = "auto"), (e.yAxes || []).forEach(Uo), (e.series || []).forEach(pr), e);
|
|
2038
2038
|
}
|
|
2039
2039
|
function Jo(e, r) {
|
|
2040
|
-
return Z.numberFormat(e,
|
|
2040
|
+
return Z.numberFormat(e, Ye(r) ? -1 : Number(r));
|
|
2041
2041
|
}
|
|
2042
2042
|
function Ni(e, r = "") {
|
|
2043
2043
|
return {
|
|
@@ -2073,7 +2073,7 @@ function Xr(e) {
|
|
|
2073
2073
|
}
|
|
2074
2074
|
function Qo(e) {
|
|
2075
2075
|
const r = { style: ti(e.labels.style) }, s = e.prefix || "", l = e.suffix || "";
|
|
2076
|
-
return !
|
|
2076
|
+
return !Ye(e.decimals) ? r.format = `${s}{value:,.${Number(e.decimals)}f}${l}` : (s || l) && (r.formatter = function() {
|
|
2077
2077
|
return s + this.axis.defaultLabelFormatter.call(this) + l;
|
|
2078
2078
|
}), r;
|
|
2079
2079
|
}
|
|
@@ -2109,19 +2109,19 @@ function yi(e, r, s) {
|
|
|
2109
2109
|
style: fr(e.style)
|
|
2110
2110
|
}, { decimals: p, prefix: g, suffix: u } = r;
|
|
2111
2111
|
return s && e.showPercentage ? l.formatter = function() {
|
|
2112
|
-
return Z.numberFormat(this.percentage,
|
|
2113
|
-
} : (!
|
|
2112
|
+
return Z.numberFormat(this.percentage, Ye(p) ? 1 : Number(p)) + "%";
|
|
2113
|
+
} : (!Ye(p) || g || u) && (l.formatter = function() {
|
|
2114
2114
|
return (g || "") + Jo(this.y, p) + (u || "");
|
|
2115
2115
|
}), l;
|
|
2116
2116
|
}
|
|
2117
2117
|
function ya(e, r) {
|
|
2118
2118
|
const s = { shared: !!e.shared };
|
|
2119
|
-
return
|
|
2119
|
+
return Ye(r.decimals) || (s.valueDecimals = Number(r.decimals)), r.prefix && (s.valuePrefix = r.prefix), r.suffix && (s.valueSuffix = r.suffix), s;
|
|
2120
2120
|
}
|
|
2121
2121
|
function Xo(e, r, s) {
|
|
2122
2122
|
r.color && (e.color = r.color);
|
|
2123
2123
|
const l = r.type || s;
|
|
2124
|
-
(l === "line" || l === "area") && (l === "line" && r.step && r.step !== "none" ? e.step = r.step : r.smooth && (e.type = l === "line" ? "spline" : "areaspline"),
|
|
2124
|
+
(l === "line" || l === "area") && (l === "line" && r.step && r.step !== "none" ? e.step = r.step : r.smooth && (e.type = l === "line" ? "spline" : "areaspline"), Ye(r.lineWidth) || (e.lineWidth = Number(r.lineWidth)), r.dashStyle && (e.dashStyle = r.dashStyle), r.marker !== void 0 && r.marker !== null && (e.marker = { enabled: !!r.marker })), l === "area" && !Ye(r.fillOpacity) && (e.fillOpacity = Number(r.fillOpacity) / 100);
|
|
2125
2125
|
}
|
|
2126
2126
|
function _n(e, r, s) {
|
|
2127
2127
|
Go(e);
|
|
@@ -2181,7 +2181,7 @@ function rn(e, r) {
|
|
|
2181
2181
|
return s.colorSet && s.colorSet.length > 0 && (l.colors = s.colorSet), l;
|
|
2182
2182
|
}
|
|
2183
2183
|
function mt(e) {
|
|
2184
|
-
if (
|
|
2184
|
+
if (Ye(e))
|
|
2185
2185
|
return null;
|
|
2186
2186
|
const r = Number(e);
|
|
2187
2187
|
return Number.isNaN(r) ? null : r;
|
|
@@ -2207,13 +2207,13 @@ function el(e) {
|
|
|
2207
2207
|
return e && (e.legend || (e.legend = ga(e.dataLabels, { showValue: !1, showPercentage: !1 })), e.pieLabels || (e.pieLabels = Yo()), e.donut || (e.donut = Zo()), e);
|
|
2208
2208
|
}
|
|
2209
2209
|
function sr(e, r) {
|
|
2210
|
-
return Z.numberFormat(e,
|
|
2210
|
+
return Z.numberFormat(e, Ye(r) ? -1 : Number(r));
|
|
2211
2211
|
}
|
|
2212
2212
|
function ba(e, r) {
|
|
2213
|
-
return Z.numberFormat(e,
|
|
2213
|
+
return Z.numberFormat(e, Ye(r) ? 1 : Number(r)) + "%";
|
|
2214
2214
|
}
|
|
2215
2215
|
function tl(e, r) {
|
|
2216
|
-
const s = (
|
|
2216
|
+
const s = (Ye(r) ? 1 : Number(r)) + 2;
|
|
2217
2217
|
return Z.numberFormat(e / 100, s);
|
|
2218
2218
|
}
|
|
2219
2219
|
function nl(e) {
|
|
@@ -2661,14 +2661,14 @@ function ml(e, r, s, l, p, g) {
|
|
|
2661
2661
|
S("thead", fl, [
|
|
2662
2662
|
S("tr", null, [
|
|
2663
2663
|
S("th", pl, Y(e.barChartOptions.xAxis.title.text && e.barChartOptions.xAxis.title.text !== "" ? e.barChartOptions.xAxis.title.text : e.t("charts.barChart.categories")), 1),
|
|
2664
|
-
(k(!0), M(Ae, null,
|
|
2664
|
+
(k(!0), M(Ae, null, Ue(e.barChartOptions.series, (u, f) => (k(), M("th", {
|
|
2665
2665
|
key: u,
|
|
2666
2666
|
style: { "text-align": "right" }
|
|
2667
2667
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.barChart.series")} ${f + 1}`), 1))), 128))
|
|
2668
2668
|
]),
|
|
2669
|
-
(k(!0), M(Ae, null,
|
|
2669
|
+
(k(!0), M(Ae, null, Ue(e.barChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
2670
2670
|
S("td", hl, Y(u), 1),
|
|
2671
|
-
(k(!0), M(Ae, null,
|
|
2671
|
+
(k(!0), M(Ae, null, Ue(e.barChartOptions.series, (y) => (k(), M("td", {
|
|
2672
2672
|
style: { "text-align": "right" },
|
|
2673
2673
|
key: y
|
|
2674
2674
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -2808,14 +2808,14 @@ function Nl(e, r, s, l, p, g) {
|
|
|
2808
2808
|
S("thead", kl, [
|
|
2809
2809
|
S("tr", null, [
|
|
2810
2810
|
S("th", Ll, Y(e.columnChartOptions.xAxis.title.text && e.columnChartOptions.xAxis.title.text !== "" ? e.columnChartOptions.xAxis.title.text : e.t("charts.columnChart.categories")), 1),
|
|
2811
|
-
(k(!0), M(Ae, null,
|
|
2811
|
+
(k(!0), M(Ae, null, Ue(e.columnChartOptions.series, (u, f) => (k(), M("th", {
|
|
2812
2812
|
key: u,
|
|
2813
2813
|
style: { "text-align": "right" }
|
|
2814
2814
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.columnChart.series")} ${f + 1}`), 1))), 128))
|
|
2815
2815
|
]),
|
|
2816
|
-
(k(!0), M(Ae, null,
|
|
2816
|
+
(k(!0), M(Ae, null, Ue(e.columnChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
2817
2817
|
S("td", Ml, Y(u), 1),
|
|
2818
|
-
(k(!0), M(Ae, null,
|
|
2818
|
+
(k(!0), M(Ae, null, Ue(e.columnChartOptions.series, (y) => (k(), M("td", {
|
|
2819
2819
|
style: { "text-align": "right" },
|
|
2820
2820
|
key: y
|
|
2821
2821
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -2963,14 +2963,14 @@ function Hl(e, r, s, l, p, g) {
|
|
|
2963
2963
|
S("thead", Bl, [
|
|
2964
2964
|
S("tr", null, [
|
|
2965
2965
|
S("th", Vl, Y(e.stackedColumnChartOptions.xAxis.title.text && e.stackedColumnChartOptions.xAxis.title.text !== "" ? e.stackedColumnChartOptions.xAxis.title.text : e.t("charts.stackedColumnChart.categories")), 1),
|
|
2966
|
-
(k(!0), M(Ae, null,
|
|
2966
|
+
(k(!0), M(Ae, null, Ue(e.stackedColumnChartOptions.series, (u, f) => (k(), M("th", {
|
|
2967
2967
|
key: u,
|
|
2968
2968
|
style: { "text-align": "right" }
|
|
2969
2969
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.stackedColumnChart.series")} ${f + 1}`), 1))), 128))
|
|
2970
2970
|
]),
|
|
2971
|
-
(k(!0), M(Ae, null,
|
|
2971
|
+
(k(!0), M(Ae, null, Ue(e.stackedColumnChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
2972
2972
|
S("td", jl, Y(u), 1),
|
|
2973
|
-
(k(!0), M(Ae, null,
|
|
2973
|
+
(k(!0), M(Ae, null, Ue(e.stackedColumnChartOptions.series, (y) => (k(), M("td", {
|
|
2974
2974
|
style: { "text-align": "right" },
|
|
2975
2975
|
key: y
|
|
2976
2976
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -3118,14 +3118,14 @@ function rs(e, r, s, l, p, g) {
|
|
|
3118
3118
|
S("thead", es, [
|
|
3119
3119
|
S("tr", null, [
|
|
3120
3120
|
S("th", ts, Y(e.stackedBarChartOptions.xAxis.title.text && e.stackedBarChartOptions.xAxis.title.text !== "" ? e.stackedBarChartOptions.xAxis.title.text : e.t("charts.stackedBarChart.categories")), 1),
|
|
3121
|
-
(k(!0), M(Ae, null,
|
|
3121
|
+
(k(!0), M(Ae, null, Ue(e.stackedBarChartOptions.series, (u, f) => (k(), M("th", {
|
|
3122
3122
|
key: u,
|
|
3123
3123
|
style: { "text-align": "right" }
|
|
3124
3124
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.stackedBarChart.series")} ${f + 1}`), 1))), 128))
|
|
3125
3125
|
]),
|
|
3126
|
-
(k(!0), M(Ae, null,
|
|
3126
|
+
(k(!0), M(Ae, null, Ue(e.stackedBarChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
3127
3127
|
S("td", ns, Y(u), 1),
|
|
3128
|
-
(k(!0), M(Ae, null,
|
|
3128
|
+
(k(!0), M(Ae, null, Ue(e.stackedBarChartOptions.series, (y) => (k(), M("td", {
|
|
3129
3129
|
style: { "text-align": "right" },
|
|
3130
3130
|
key: y
|
|
3131
3131
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -3265,14 +3265,14 @@ function vs(e, r, s, l, p, g) {
|
|
|
3265
3265
|
S("thead", hs, [
|
|
3266
3266
|
S("tr", null, [
|
|
3267
3267
|
S("th", gs, Y(e.lineChartOptions.xAxis.title.text && e.lineChartOptions.xAxis.title.text !== "" ? e.lineChartOptions.xAxis.title.text : e.t("charts.lineChart.categories")), 1),
|
|
3268
|
-
(k(!0), M(Ae, null,
|
|
3268
|
+
(k(!0), M(Ae, null, Ue(e.lineChartOptions.series, (u, f) => (k(), M("th", {
|
|
3269
3269
|
key: u,
|
|
3270
3270
|
style: { "text-align": "right" }
|
|
3271
3271
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.lineChart.series")} ${f + 1}`), 1))), 128))
|
|
3272
3272
|
]),
|
|
3273
|
-
(k(!0), M(Ae, null,
|
|
3273
|
+
(k(!0), M(Ae, null, Ue(e.lineChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
3274
3274
|
S("td", ms, Y(u), 1),
|
|
3275
|
-
(k(!0), M(Ae, null,
|
|
3275
|
+
(k(!0), M(Ae, null, Ue(e.lineChartOptions.series, (y) => (k(), M("td", {
|
|
3276
3276
|
style: { "text-align": "right" },
|
|
3277
3277
|
key: y
|
|
3278
3278
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -3423,7 +3423,7 @@ function $s(e, r, s, l, p, g) {
|
|
|
3423
3423
|
S("th", Os, Y(e.t("charts.pieChart.category")), 1),
|
|
3424
3424
|
S("th", Ns, Y(e.t("charts.pieChart.series")), 1)
|
|
3425
3425
|
]),
|
|
3426
|
-
e.pieChartOptions.series && e.pieChartOptions.series.length > 0 ? (k(!0), M(Ae, { key: 0 },
|
|
3426
|
+
e.pieChartOptions.series && e.pieChartOptions.series.length > 0 ? (k(!0), M(Ae, { key: 0 }, Ue(e.pieChartOptions.series[0].data, (u, f) => (k(), M("tr", { key: u }, [
|
|
3427
3427
|
S("td", Ds, Y(u.name), 1),
|
|
3428
3428
|
S("td", zs, Y(u.y), 1)
|
|
3429
3429
|
]))), 128)) : oe("", !0)
|
|
@@ -3454,7 +3454,7 @@ function Is(e, r) {
|
|
|
3454
3454
|
return "";
|
|
3455
3455
|
const { decimals: s, prefix: l = "", suffix: p = "" } = r || {}, g = Number(e);
|
|
3456
3456
|
let u;
|
|
3457
|
-
return typeof e == "boolean" || Number.isNaN(g) ? u = String(e) :
|
|
3457
|
+
return typeof e == "boolean" || Number.isNaN(g) ? u = String(e) : Ye(s) ? u = Yr(e.toString()) : u = Yr(g.toFixed(Number(s))), `${l || ""}${u}${p || ""}`;
|
|
3458
3458
|
}
|
|
3459
3459
|
const Es = $t({
|
|
3460
3460
|
name: "MSingleValue",
|
|
@@ -3716,14 +3716,14 @@ function uu(e, r, s, l, p, g) {
|
|
|
3716
3716
|
S("thead", au, [
|
|
3717
3717
|
S("tr", null, [
|
|
3718
3718
|
S("th", ou, Y(e.areaChartOptions.xAxis.title.text && e.areaChartOptions.xAxis.title.text !== "" ? e.areaChartOptions.xAxis.title.text : e.t("charts.areaChart.categories")), 1),
|
|
3719
|
-
(k(!0), M(Ae, null,
|
|
3719
|
+
(k(!0), M(Ae, null, Ue(e.areaChartOptions.series, (u, f) => (k(), M("th", {
|
|
3720
3720
|
key: u,
|
|
3721
3721
|
style: { "text-align": "right" }
|
|
3722
3722
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.areaChart.series")} ${f + 1}`), 1))), 128))
|
|
3723
3723
|
]),
|
|
3724
|
-
(k(!0), M(Ae, null,
|
|
3724
|
+
(k(!0), M(Ae, null, Ue(e.areaChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
3725
3725
|
S("td", lu, Y(u), 1),
|
|
3726
|
-
(k(!0), M(Ae, null,
|
|
3726
|
+
(k(!0), M(Ae, null, Ue(e.areaChartOptions.series, (y) => (k(), M("td", {
|
|
3727
3727
|
style: { "text-align": "right" },
|
|
3728
3728
|
key: y
|
|
3729
3729
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -3864,14 +3864,14 @@ function Su(e, r, s, l, p, g) {
|
|
|
3864
3864
|
S("thead", bu, [
|
|
3865
3865
|
S("tr", null, [
|
|
3866
3866
|
S("th", Cu, Y(e.errorBarChartOptions.xAxis.title.text && e.errorBarChartOptions.xAxis.title.text !== "" ? e.errorBarChartOptions.xAxis.title.text : e.t("charts.errorBarChart.categories")), 1),
|
|
3867
|
-
(k(!0), M(Ae, null,
|
|
3867
|
+
(k(!0), M(Ae, null, Ue(e.errorBarChartOptions.series, (u, f) => (k(), M("th", {
|
|
3868
3868
|
key: u,
|
|
3869
3869
|
style: { "text-align": "right" }
|
|
3870
3870
|
}, Y(u.name && u.name !== "" ? u.name : `${e.t("charts.errorBarChart.series")} ${f + 1}`), 1))), 128))
|
|
3871
3871
|
]),
|
|
3872
|
-
(k(!0), M(Ae, null,
|
|
3872
|
+
(k(!0), M(Ae, null, Ue(e.errorBarChartOptions.xAxis.categories, (u, f) => (k(), M("tr", { key: u }, [
|
|
3873
3873
|
S("td", xu, Y(u), 1),
|
|
3874
|
-
(k(!0), M(Ae, null,
|
|
3874
|
+
(k(!0), M(Ae, null, Ue(e.errorBarChartOptions.series, (y) => (k(), M("td", {
|
|
3875
3875
|
style: { "text-align": "right" },
|
|
3876
3876
|
key: y
|
|
3877
3877
|
}, Y(y.data[f]), 1))), 128))
|
|
@@ -3918,7 +3918,7 @@ function xa() {
|
|
|
3918
3918
|
return l.concat.apply([], t);
|
|
3919
3919
|
}, f = l.push, y = l.indexOf, x = {}, w = x.toString, D = x.hasOwnProperty, F = D.toString, ee = F.call(Object), K = {}, U = function(n) {
|
|
3920
3920
|
return typeof n == "function" && typeof n.nodeType != "number" && typeof n.item != "function";
|
|
3921
|
-
},
|
|
3921
|
+
}, ve = function(n) {
|
|
3922
3922
|
return n != null && n === n.window;
|
|
3923
3923
|
}, X = r.document, ke = {
|
|
3924
3924
|
type: !0,
|
|
@@ -3926,7 +3926,7 @@ function xa() {
|
|
|
3926
3926
|
nonce: !0,
|
|
3927
3927
|
noModule: !0
|
|
3928
3928
|
};
|
|
3929
|
-
function
|
|
3929
|
+
function ye(t, n, i) {
|
|
3930
3930
|
i = i || X;
|
|
3931
3931
|
var a, d, c = i.createElement("script");
|
|
3932
3932
|
if (c.text = t, n)
|
|
@@ -4030,7 +4030,7 @@ function xa() {
|
|
|
4030
4030
|
// Evaluates a script in a provided context; falls back to the global one
|
|
4031
4031
|
// if not specified.
|
|
4032
4032
|
globalEval: function(t, n, i) {
|
|
4033
|
-
|
|
4033
|
+
ye(t, { nonce: n && n.nonce }, i);
|
|
4034
4034
|
},
|
|
4035
4035
|
each: function(t, n) {
|
|
4036
4036
|
var i, a = 0;
|
|
@@ -4102,7 +4102,7 @@ function xa() {
|
|
|
4102
4102
|
);
|
|
4103
4103
|
function se(t) {
|
|
4104
4104
|
var n = !!t && "length" in t && t.length, i = ie(t);
|
|
4105
|
-
return U(t) ||
|
|
4105
|
+
return U(t) || ve(t) ? !1 : i === "array" || n === 0 || typeof n == "number" && n > 0 && n - 1 in t;
|
|
4106
4106
|
}
|
|
4107
4107
|
function G(t, n) {
|
|
4108
4108
|
return t.nodeName && t.nodeName.toLowerCase() === n.toLowerCase();
|
|
@@ -4126,15 +4126,15 @@ function xa() {
|
|
|
4126
4126
|
};
|
|
4127
4127
|
var N = X, E = f;
|
|
4128
4128
|
(function() {
|
|
4129
|
-
var t, n, i, a, d, c = E, h, C, v, L, q, j = o.expando, R = 0, J = 0, Re = Ti(),
|
|
4129
|
+
var t, n, i, a, d, c = E, h, C, v, L, q, j = o.expando, R = 0, J = 0, Re = Ti(), Xe = Ti(), Ve = Ti(), wt = Ti(), vt = function(m, A) {
|
|
4130
4130
|
return m === A && (d = !0), 0;
|
|
4131
|
-
}, mn = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", yn = "(?:\\\\[\\da-fA-F]{1,6}" + b + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
|
|
4131
|
+
}, mn = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", yn = "(?:\\\\[\\da-fA-F]{1,6}" + b + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", Je = "\\[" + b + "*(" + yn + ")(?:" + b + // Operator (capture 2)
|
|
4132
4132
|
"*([*^$|!~]?=)" + b + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
4133
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + yn + "))|)" + b + "*\\]", Vn = ":(" + yn + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` +
|
|
4133
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + yn + "))|)" + b + "*\\]", Vn = ":(" + yn + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + Je + ")*)|.*)\\)|)", et = new RegExp(b + "+", "g"), gt = new RegExp("^" + b + "*," + b + "*"), di = new RegExp("^" + b + "*([>+~]|" + b + ")" + b + "*"), Gi = new RegExp(b + "|>"), vn = new RegExp(Vn), ci = new RegExp("^" + yn + "$"), bn = {
|
|
4134
4134
|
ID: new RegExp("^#(" + yn + ")"),
|
|
4135
4135
|
CLASS: new RegExp("^\\.(" + yn + ")"),
|
|
4136
4136
|
TAG: new RegExp("^(" + yn + "|[*])"),
|
|
4137
|
-
ATTR: new RegExp("^" +
|
|
4137
|
+
ATTR: new RegExp("^" + Je),
|
|
4138
4138
|
PSEUDO: new RegExp("^" + Vn),
|
|
4139
4139
|
CHILD: new RegExp(
|
|
4140
4140
|
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + b + "*(even|odd|(([+-]|)(\\d*)n|)" + b + "*(?:([+-]|)" + b + "*(\\d+)|))" + b + "*\\)|)",
|
|
@@ -4177,19 +4177,19 @@ function xa() {
|
|
|
4177
4177
|
};
|
|
4178
4178
|
}
|
|
4179
4179
|
function it(m, A, $, I) {
|
|
4180
|
-
var V, ne, ue, he, de,
|
|
4181
|
-
if ($ = $ || [], typeof m != "string" || !m ||
|
|
4180
|
+
var V, ne, ue, he, de, Ke, Ne, Ee = A && A.ownerDocument, We = A ? A.nodeType : 9;
|
|
4181
|
+
if ($ = $ || [], typeof m != "string" || !m || We !== 1 && We !== 9 && We !== 11)
|
|
4182
4182
|
return $;
|
|
4183
4183
|
if (!I && (Fn(A), A = A || h, v)) {
|
|
4184
|
-
if (
|
|
4184
|
+
if (We !== 11 && (de = tn.exec(m)))
|
|
4185
4185
|
if (V = de[1]) {
|
|
4186
|
-
if (
|
|
4186
|
+
if (We === 9)
|
|
4187
4187
|
if (ue = A.getElementById(V)) {
|
|
4188
4188
|
if (ue.id === V)
|
|
4189
4189
|
return c.call($, ue), $;
|
|
4190
4190
|
} else
|
|
4191
4191
|
return $;
|
|
4192
|
-
else if (
|
|
4192
|
+
else if (Ee && (ue = Ee.getElementById(V)) && it.contains(A, ue) && ue.id === V)
|
|
4193
4193
|
return c.call($, ue), $;
|
|
4194
4194
|
} else {
|
|
4195
4195
|
if (de[2])
|
|
@@ -4198,15 +4198,15 @@ function xa() {
|
|
|
4198
4198
|
return c.apply($, A.getElementsByClassName(V)), $;
|
|
4199
4199
|
}
|
|
4200
4200
|
if (!wt[m + " "] && (!L || !L.test(m))) {
|
|
4201
|
-
if (Ne = m,
|
|
4202
|
-
for (
|
|
4203
|
-
|
|
4204
|
-
Ne =
|
|
4201
|
+
if (Ne = m, Ee = A, We === 1 && (Gi.test(m) || di.test(m))) {
|
|
4202
|
+
for (Ee = Ji.test(m) && Qi(A.parentNode) || A, (Ee != A || !K.scope) && ((he = A.getAttribute("id")) ? he = o.escapeSelector(he) : A.setAttribute("id", he = j)), Ke = fi(m), ne = Ke.length; ne--; )
|
|
4203
|
+
Ke[ne] = (he ? "#" + he : ":scope") + " " + Ai(Ke[ne]);
|
|
4204
|
+
Ne = Ke.join(",");
|
|
4205
4205
|
}
|
|
4206
4206
|
try {
|
|
4207
4207
|
return c.apply(
|
|
4208
4208
|
$,
|
|
4209
|
-
|
|
4209
|
+
Ee.querySelectorAll(Ne)
|
|
4210
4210
|
), $;
|
|
4211
4211
|
} catch {
|
|
4212
4212
|
wt(m, !0);
|
|
@@ -4418,8 +4418,8 @@ function xa() {
|
|
|
4418
4418
|
function(de) {
|
|
4419
4419
|
return !!de.parentNode;
|
|
4420
4420
|
}
|
|
4421
|
-
) : function(de,
|
|
4422
|
-
var
|
|
4421
|
+
) : function(de, Ke, Ne) {
|
|
4422
|
+
var Ee, We, Te, lt, Bt, Tt = ne !== ue ? "nextSibling" : "previousSibling", nn = de.parentNode, Cn = he && de.nodeName.toLowerCase(), Zn = !Ne && !he, Mt = !1;
|
|
4423
4423
|
if (nn) {
|
|
4424
4424
|
if (ne) {
|
|
4425
4425
|
for (; Tt; ) {
|
|
@@ -4431,14 +4431,14 @@ function xa() {
|
|
|
4431
4431
|
return !0;
|
|
4432
4432
|
}
|
|
4433
4433
|
if (Bt = [ue ? nn.firstChild : nn.lastChild], ue && Zn) {
|
|
4434
|
-
for (
|
|
4434
|
+
for (We = nn[j] || (nn[j] = {}), Ee = We[m] || [], lt = Ee[0] === R && Ee[1], Mt = lt && Ee[2], Te = lt && nn.childNodes[lt]; Te = ++lt && Te && Te[Tt] || // Fallback to seeking `elem` from the start
|
|
4435
4435
|
(Mt = lt = 0) || Bt.pop(); )
|
|
4436
4436
|
if (Te.nodeType === 1 && ++Mt && Te === de) {
|
|
4437
|
-
|
|
4437
|
+
We[m] = [R, lt, Mt];
|
|
4438
4438
|
break;
|
|
4439
4439
|
}
|
|
4440
|
-
} else if (Zn && (
|
|
4441
|
-
for (; (Te = ++lt && Te && Te[Tt] || (Mt = lt = 0) || Bt.pop()) && !((he ? G(Te, Cn) : Te.nodeType === 1) && ++Mt && (Zn && (
|
|
4440
|
+
} else if (Zn && (We = de[j] || (de[j] = {}), Ee = We[m] || [], lt = Ee[0] === R && Ee[1], Mt = lt), Mt === !1)
|
|
4441
|
+
for (; (Te = ++lt && Te && Te[Tt] || (Mt = lt = 0) || Bt.pop()) && !((he ? G(Te, Cn) : Te.nodeType === 1) && ++Mt && (Zn && (We = Te[j] || (Te[j] = {}), We[m] = [R, Mt]), Te === de)); )
|
|
4442
4442
|
;
|
|
4443
4443
|
return Mt -= V, Mt === I || Mt % I === 0 && Mt / I >= 0;
|
|
4444
4444
|
}
|
|
@@ -4459,8 +4459,8 @@ function xa() {
|
|
|
4459
4459
|
not: dn(function(m) {
|
|
4460
4460
|
var A = [], $ = [], I = er(m.replace(T, "$1"));
|
|
4461
4461
|
return I[j] ? dn(function(V, ne, ue, he) {
|
|
4462
|
-
for (var de,
|
|
4463
|
-
(de =
|
|
4462
|
+
for (var de, Ke = I(V, null, he, []), Ne = V.length; Ne--; )
|
|
4463
|
+
(de = Ke[Ne]) && (V[Ne] = !(ne[Ne] = de));
|
|
4464
4464
|
}) : function(V, ne, ue) {
|
|
4465
4465
|
return A[0] = V, I(A, null, ue, $), A[0] = null, !$.pop();
|
|
4466
4466
|
};
|
|
@@ -4580,9 +4580,9 @@ function xa() {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
Vr.prototype = n.filters = n.pseudos, n.setFilters = new Vr();
|
|
4582
4582
|
function fi(m, A) {
|
|
4583
|
-
var $, I, V, ne, ue, he, de,
|
|
4584
|
-
if (
|
|
4585
|
-
return A ? 0 :
|
|
4583
|
+
var $, I, V, ne, ue, he, de, Ke = Xe[m + " "];
|
|
4584
|
+
if (Ke)
|
|
4585
|
+
return A ? 0 : Ke.slice(0);
|
|
4586
4586
|
for (ue = m, he = [], de = n.preFilter; ue; ) {
|
|
4587
4587
|
(!$ || (I = gt.exec(ue))) && (I && (ue = ue.slice(I[0].length) || ue), he.push(V = [])), $ = !1, (I = di.exec(ue)) && ($ = I.shift(), V.push({
|
|
4588
4588
|
value: $,
|
|
@@ -4600,7 +4600,7 @@ function xa() {
|
|
|
4600
4600
|
}
|
|
4601
4601
|
return A ? ue.length : ue ? it.error(m) : (
|
|
4602
4602
|
// Cache the tokens
|
|
4603
|
-
|
|
4603
|
+
Xe(m, he).slice(0)
|
|
4604
4604
|
);
|
|
4605
4605
|
}
|
|
4606
4606
|
function Ai(m) {
|
|
@@ -4612,29 +4612,29 @@ function xa() {
|
|
|
4612
4612
|
var I = A.dir, V = A.next, ne = V || I, ue = $ && ne === "parentNode", he = J++;
|
|
4613
4613
|
return A.first ? (
|
|
4614
4614
|
// Check against closest ancestor/preceding element
|
|
4615
|
-
function(de,
|
|
4615
|
+
function(de, Ke, Ne) {
|
|
4616
4616
|
for (; de = de[I]; )
|
|
4617
4617
|
if (de.nodeType === 1 || ue)
|
|
4618
|
-
return m(de,
|
|
4618
|
+
return m(de, Ke, Ne);
|
|
4619
4619
|
return !1;
|
|
4620
4620
|
}
|
|
4621
4621
|
) : (
|
|
4622
4622
|
// Check against all ancestor/preceding elements
|
|
4623
|
-
function(de,
|
|
4624
|
-
var
|
|
4623
|
+
function(de, Ke, Ne) {
|
|
4624
|
+
var Ee, We, Te = [R, he];
|
|
4625
4625
|
if (Ne) {
|
|
4626
4626
|
for (; de = de[I]; )
|
|
4627
|
-
if ((de.nodeType === 1 || ue) && m(de,
|
|
4627
|
+
if ((de.nodeType === 1 || ue) && m(de, Ke, Ne))
|
|
4628
4628
|
return !0;
|
|
4629
4629
|
} else
|
|
4630
4630
|
for (; de = de[I]; )
|
|
4631
4631
|
if (de.nodeType === 1 || ue)
|
|
4632
|
-
if (
|
|
4632
|
+
if (We = de[j] || (de[j] = {}), V && G(de, V))
|
|
4633
4633
|
de = de[I] || de;
|
|
4634
4634
|
else {
|
|
4635
|
-
if ((
|
|
4636
|
-
return Te[2] =
|
|
4637
|
-
if (
|
|
4635
|
+
if ((Ee = We[ne]) && Ee[0] === R && Ee[1] === he)
|
|
4636
|
+
return Te[2] = Ee[2];
|
|
4637
|
+
if (We[ne] = Te, Te[2] = m(de, Ke, Ne))
|
|
4638
4638
|
return !0;
|
|
4639
4639
|
}
|
|
4640
4640
|
return !1;
|
|
@@ -4655,49 +4655,49 @@ function xa() {
|
|
|
4655
4655
|
return $;
|
|
4656
4656
|
}
|
|
4657
4657
|
function Li(m, A, $, I, V) {
|
|
4658
|
-
for (var ne, ue = [], he = 0, de = m.length,
|
|
4659
|
-
(ne = m[he]) && (!$ || $(ne, I, V)) && (ue.push(ne),
|
|
4658
|
+
for (var ne, ue = [], he = 0, de = m.length, Ke = A != null; he < de; he++)
|
|
4659
|
+
(ne = m[he]) && (!$ || $(ne, I, V)) && (ue.push(ne), Ke && A.push(he));
|
|
4660
4660
|
return ue;
|
|
4661
4661
|
}
|
|
4662
4662
|
function Yi(m, A, $, I, V, ne) {
|
|
4663
|
-
return I && !I[j] && (I = Yi(I)), V && !V[j] && (V = Yi(V, ne)), dn(function(ue, he, de,
|
|
4664
|
-
var Ne,
|
|
4663
|
+
return I && !I[j] && (I = Yi(I)), V && !V[j] && (V = Yi(V, ne)), dn(function(ue, he, de, Ke) {
|
|
4664
|
+
var Ne, Ee, We, Te, lt = [], Bt = [], Tt = he.length, nn = ue || bo(
|
|
4665
4665
|
A || "*",
|
|
4666
4666
|
de.nodeType ? [de] : de,
|
|
4667
4667
|
[]
|
|
4668
|
-
), Cn = m && (ue || !A) ? Li(nn, lt, m, de,
|
|
4668
|
+
), Cn = m && (ue || !A) ? Li(nn, lt, m, de, Ke) : nn;
|
|
4669
4669
|
if ($ ? (Te = V || (ue ? m : Tt || I) ? (
|
|
4670
4670
|
// ...intermediate processing is necessary
|
|
4671
4671
|
[]
|
|
4672
4672
|
) : (
|
|
4673
4673
|
// ...otherwise use results directly
|
|
4674
4674
|
he
|
|
4675
|
-
), $(Cn, Te, de,
|
|
4676
|
-
for (Ne = Li(Te, Bt), I(Ne, [], de,
|
|
4677
|
-
(
|
|
4675
|
+
), $(Cn, Te, de, Ke)) : Te = Cn, I)
|
|
4676
|
+
for (Ne = Li(Te, Bt), I(Ne, [], de, Ke), Ee = Ne.length; Ee--; )
|
|
4677
|
+
(We = Ne[Ee]) && (Te[Bt[Ee]] = !(Cn[Bt[Ee]] = We));
|
|
4678
4678
|
if (ue) {
|
|
4679
4679
|
if (V || m) {
|
|
4680
4680
|
if (V) {
|
|
4681
|
-
for (Ne = [],
|
|
4682
|
-
(
|
|
4683
|
-
V(null, Te = [], Ne,
|
|
4681
|
+
for (Ne = [], Ee = Te.length; Ee--; )
|
|
4682
|
+
(We = Te[Ee]) && Ne.push(Cn[Ee] = We);
|
|
4683
|
+
V(null, Te = [], Ne, Ke);
|
|
4684
4684
|
}
|
|
4685
|
-
for (
|
|
4686
|
-
(
|
|
4685
|
+
for (Ee = Te.length; Ee--; )
|
|
4686
|
+
(We = Te[Ee]) && (Ne = V ? y.call(ue, We) : lt[Ee]) > -1 && (ue[Ne] = !(he[Ne] = We));
|
|
4687
4687
|
}
|
|
4688
4688
|
} else
|
|
4689
4689
|
Te = Li(
|
|
4690
4690
|
Te === he ? Te.splice(Tt, Te.length) : Te
|
|
4691
|
-
), V ? V(null, he, Te,
|
|
4691
|
+
), V ? V(null, he, Te, Ke) : c.apply(he, Te);
|
|
4692
4692
|
});
|
|
4693
4693
|
}
|
|
4694
4694
|
function Zi(m) {
|
|
4695
|
-
for (var A, $, I, V = m.length, ne = n.relative[m[0].type], ue = ne || n.relative[" "], he = ne ? 1 : 0, de = ki(function(
|
|
4696
|
-
return
|
|
4697
|
-
}, ue, !0),
|
|
4698
|
-
return y.call(A,
|
|
4699
|
-
}, ue, !0), Ne = [function(
|
|
4700
|
-
var lt = !ne && (Te ||
|
|
4695
|
+
for (var A, $, I, V = m.length, ne = n.relative[m[0].type], ue = ne || n.relative[" "], he = ne ? 1 : 0, de = ki(function(Ee) {
|
|
4696
|
+
return Ee === A;
|
|
4697
|
+
}, ue, !0), Ke = ki(function(Ee) {
|
|
4698
|
+
return y.call(A, Ee) > -1;
|
|
4699
|
+
}, ue, !0), Ne = [function(Ee, We, Te) {
|
|
4700
|
+
var lt = !ne && (Te || We != i) || ((A = We).nodeType ? de(Ee, We, Te) : Ke(Ee, We, Te));
|
|
4701
4701
|
return A = null, lt;
|
|
4702
4702
|
}]; he < V; he++)
|
|
4703
4703
|
if ($ = n.relative[m[he].type])
|
|
@@ -4723,40 +4723,40 @@ function xa() {
|
|
|
4723
4723
|
return Xi(Ne);
|
|
4724
4724
|
}
|
|
4725
4725
|
function Co(m, A) {
|
|
4726
|
-
var $ = A.length > 0, I = m.length > 0, V = function(ne, ue, he, de,
|
|
4727
|
-
var Ne,
|
|
4728
|
-
for (
|
|
4726
|
+
var $ = A.length > 0, I = m.length > 0, V = function(ne, ue, he, de, Ke) {
|
|
4727
|
+
var Ne, Ee, We, Te = 0, lt = "0", Bt = ne && [], Tt = [], nn = i, Cn = ne || I && n.find.TAG("*", Ke), Zn = R += nn == null ? 1 : Math.random() || 0.1, Mt = Cn.length;
|
|
4728
|
+
for (Ke && (i = ue == h || ue || Ke); lt !== Mt && (Ne = Cn[lt]) != null; lt++) {
|
|
4729
4729
|
if (I && Ne) {
|
|
4730
|
-
for (
|
|
4731
|
-
if (
|
|
4730
|
+
for (Ee = 0, !ue && Ne.ownerDocument != h && (Fn(Ne), he = !v); We = m[Ee++]; )
|
|
4731
|
+
if (We(Ne, ue || h, he)) {
|
|
4732
4732
|
c.call(de, Ne);
|
|
4733
4733
|
break;
|
|
4734
4734
|
}
|
|
4735
|
-
|
|
4735
|
+
Ke && (R = Zn);
|
|
4736
4736
|
}
|
|
4737
|
-
$ && ((Ne = !
|
|
4737
|
+
$ && ((Ne = !We && Ne) && Te--, ne && Bt.push(Ne));
|
|
4738
4738
|
}
|
|
4739
4739
|
if (Te += lt, $ && lt !== Te) {
|
|
4740
|
-
for (
|
|
4741
|
-
|
|
4740
|
+
for (Ee = 0; We = A[Ee++]; )
|
|
4741
|
+
We(Bt, Tt, ue, he);
|
|
4742
4742
|
if (ne) {
|
|
4743
4743
|
if (Te > 0)
|
|
4744
4744
|
for (; lt--; )
|
|
4745
4745
|
Bt[lt] || Tt[lt] || (Tt[lt] = ge.call(de));
|
|
4746
4746
|
Tt = Li(Tt);
|
|
4747
4747
|
}
|
|
4748
|
-
c.apply(de, Tt),
|
|
4748
|
+
c.apply(de, Tt), Ke && !ne && Tt.length > 0 && Te + A.length > 1 && o.uniqueSort(de);
|
|
4749
4749
|
}
|
|
4750
|
-
return
|
|
4750
|
+
return Ke && (R = Zn, i = nn), Bt;
|
|
4751
4751
|
};
|
|
4752
4752
|
return $ ? dn(V) : V;
|
|
4753
4753
|
}
|
|
4754
4754
|
function er(m, A) {
|
|
4755
|
-
var $, I = [], V = [], ne =
|
|
4755
|
+
var $, I = [], V = [], ne = Ve[m + " "];
|
|
4756
4756
|
if (!ne) {
|
|
4757
4757
|
for (A || (A = fi(m)), $ = A.length; $--; )
|
|
4758
4758
|
ne = Zi(A[$]), ne[j] ? I.push(ne) : V.push(ne);
|
|
4759
|
-
ne =
|
|
4759
|
+
ne = Ve(
|
|
4760
4760
|
m,
|
|
4761
4761
|
Co(V, I)
|
|
4762
4762
|
), ne.selector = m;
|
|
@@ -4764,14 +4764,14 @@ function xa() {
|
|
|
4764
4764
|
return ne;
|
|
4765
4765
|
}
|
|
4766
4766
|
function jr(m, A, $, I) {
|
|
4767
|
-
var V, ne, ue, he, de,
|
|
4767
|
+
var V, ne, ue, he, de, Ke = typeof m == "function" && m, Ne = !I && fi(m = Ke.selector || m);
|
|
4768
4768
|
if ($ = $ || [], Ne.length === 1) {
|
|
4769
4769
|
if (ne = Ne[0] = Ne[0].slice(0), ne.length > 2 && (ue = ne[0]).type === "ID" && A.nodeType === 9 && v && n.relative[ne[1].type]) {
|
|
4770
4770
|
if (A = (n.find.ID(
|
|
4771
4771
|
ue.matches[0].replace(Ln, Mn),
|
|
4772
4772
|
A
|
|
4773
4773
|
) || [])[0], A)
|
|
4774
|
-
|
|
4774
|
+
Ke && (A = A.parentNode);
|
|
4775
4775
|
else
|
|
4776
4776
|
return $;
|
|
4777
4777
|
m = m.slice(ne.shift().value.length);
|
|
@@ -4786,7 +4786,7 @@ function xa() {
|
|
|
4786
4786
|
break;
|
|
4787
4787
|
}
|
|
4788
4788
|
}
|
|
4789
|
-
return (
|
|
4789
|
+
return (Ke || er(m, Ne))(
|
|
4790
4790
|
I,
|
|
4791
4791
|
A,
|
|
4792
4792
|
!v,
|
|
@@ -4854,11 +4854,11 @@ function xa() {
|
|
|
4854
4854
|
).length;
|
|
4855
4855
|
}
|
|
4856
4856
|
});
|
|
4857
|
-
var
|
|
4857
|
+
var be, Fe = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Le = o.fn.init = function(t, n, i) {
|
|
4858
4858
|
var a, d;
|
|
4859
4859
|
if (!t)
|
|
4860
4860
|
return this;
|
|
4861
|
-
if (i = i ||
|
|
4861
|
+
if (i = i || be, typeof t == "string")
|
|
4862
4862
|
if (t[0] === "<" && t[t.length - 1] === ">" && t.length >= 3 ? a = [null, t, null] : a = Fe.exec(t), a && (a[1] || !n))
|
|
4863
4863
|
if (a[1]) {
|
|
4864
4864
|
if (n = n instanceof o ? n[0] : n, o.merge(this, o.parseHTML(
|
|
@@ -4884,7 +4884,7 @@ function xa() {
|
|
|
4884
4884
|
}
|
|
4885
4885
|
return o.makeArray(t, this);
|
|
4886
4886
|
};
|
|
4887
|
-
Le.prototype = o.fn,
|
|
4887
|
+
Le.prototype = o.fn, be = o(X);
|
|
4888
4888
|
var $e = /^(?:parents|prev(?:Until|All))/, je = {
|
|
4889
4889
|
children: !0,
|
|
4890
4890
|
contents: !0,
|
|
@@ -5132,10 +5132,10 @@ function xa() {
|
|
|
5132
5132
|
var v = 0;
|
|
5133
5133
|
function L(q, j, R, J) {
|
|
5134
5134
|
return function() {
|
|
5135
|
-
var Re = this,
|
|
5135
|
+
var Re = this, Xe = arguments, Ve = function() {
|
|
5136
5136
|
var vt, mn;
|
|
5137
5137
|
if (!(q < v)) {
|
|
5138
|
-
if (vt = R.apply(Re,
|
|
5138
|
+
if (vt = R.apply(Re, Xe), vt === j.promise())
|
|
5139
5139
|
throw new TypeError("Thenable self-resolution");
|
|
5140
5140
|
mn = vt && // Support: Promises/A+ section 2.3.4
|
|
5141
5141
|
// https://promisesaplus.com/#point-64
|
|
@@ -5154,16 +5154,16 @@ function xa() {
|
|
|
5154
5154
|
B,
|
|
5155
5155
|
j.notifyWith
|
|
5156
5156
|
)
|
|
5157
|
-
)) : (R !== B && (Re = void 0,
|
|
5157
|
+
)) : (R !== B && (Re = void 0, Xe = [vt]), (J || j.resolveWith)(Re, Xe));
|
|
5158
5158
|
}
|
|
5159
|
-
}, wt = J ?
|
|
5159
|
+
}, wt = J ? Ve : function() {
|
|
5160
5160
|
try {
|
|
5161
|
-
|
|
5161
|
+
Ve();
|
|
5162
5162
|
} catch (vt) {
|
|
5163
5163
|
o.Deferred.exceptionHook && o.Deferred.exceptionHook(
|
|
5164
5164
|
vt,
|
|
5165
5165
|
wt.error
|
|
5166
|
-
), q + 1 >= v && (R !== Me && (Re = void 0,
|
|
5166
|
+
), q + 1 >= v && (R !== Me && (Re = void 0, Xe = [vt]), j.rejectWith(Re, Xe));
|
|
5167
5167
|
}
|
|
5168
5168
|
};
|
|
5169
5169
|
q ? wt() : (o.Deferred.getErrorHook ? wt.error = o.Deferred.getErrorHook() : o.Deferred.getStackHook && (wt.error = o.Deferred.getStackHook()), r.setTimeout(wt));
|
|
@@ -5250,9 +5250,9 @@ function xa() {
|
|
|
5250
5250
|
throw t;
|
|
5251
5251
|
});
|
|
5252
5252
|
};
|
|
5253
|
-
var
|
|
5253
|
+
var Ze = o.Deferred();
|
|
5254
5254
|
o.fn.ready = function(t) {
|
|
5255
|
-
return
|
|
5255
|
+
return Ze.then(t).catch(function(n) {
|
|
5256
5256
|
o.readyException(n);
|
|
5257
5257
|
}), this;
|
|
5258
5258
|
}, o.extend({
|
|
@@ -5263,19 +5263,19 @@ function xa() {
|
|
|
5263
5263
|
readyWait: 1,
|
|
5264
5264
|
// Handle when the DOM is ready
|
|
5265
5265
|
ready: function(t) {
|
|
5266
|
-
(t === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, !(t !== !0 && --o.readyWait > 0) &&
|
|
5266
|
+
(t === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, !(t !== !0 && --o.readyWait > 0) && Ze.resolveWith(X, [o]));
|
|
5267
5267
|
}
|
|
5268
|
-
}), o.ready.then =
|
|
5268
|
+
}), o.ready.then = Ze.then;
|
|
5269
5269
|
function Pe() {
|
|
5270
5270
|
X.removeEventListener("DOMContentLoaded", Pe), r.removeEventListener("load", Pe), o.ready();
|
|
5271
5271
|
}
|
|
5272
5272
|
X.readyState === "complete" || X.readyState !== "loading" && !X.documentElement.doScroll ? r.setTimeout(o.ready) : (X.addEventListener("DOMContentLoaded", Pe), r.addEventListener("load", Pe));
|
|
5273
|
-
var
|
|
5273
|
+
var Ie = function(t, n, i, a, d, c, h) {
|
|
5274
5274
|
var C = 0, v = t.length, L = i == null;
|
|
5275
5275
|
if (ie(i) === "object") {
|
|
5276
5276
|
d = !0;
|
|
5277
5277
|
for (C in i)
|
|
5278
|
-
|
|
5278
|
+
Ie(t, n, C, i[C], !0, c, h);
|
|
5279
5279
|
} else if (a !== void 0 && (d = !0, U(a) || (h = !0), L && (h ? (n.call(t, a), n = null) : (L = n, n = function(q, j, R) {
|
|
5280
5280
|
return L.call(o(q), R);
|
|
5281
5281
|
})), n))
|
|
@@ -5286,23 +5286,23 @@ function xa() {
|
|
|
5286
5286
|
h ? a : a.call(t[C], C, n(t[C], i))
|
|
5287
5287
|
);
|
|
5288
5288
|
return d ? t : L ? n.call(t) : v ? n(t[0], i) : c;
|
|
5289
|
-
},
|
|
5289
|
+
}, le = /^-ms-/, _e = /-([a-z])/g;
|
|
5290
5290
|
function rt(t, n) {
|
|
5291
5291
|
return n.toUpperCase();
|
|
5292
5292
|
}
|
|
5293
5293
|
function pe(t) {
|
|
5294
|
-
return t.replace(
|
|
5294
|
+
return t.replace(le, "ms-").replace(_e, rt);
|
|
5295
5295
|
}
|
|
5296
|
-
var
|
|
5296
|
+
var He = function(t) {
|
|
5297
5297
|
return t.nodeType === 1 || t.nodeType === 9 || !+t.nodeType;
|
|
5298
5298
|
};
|
|
5299
|
-
function
|
|
5300
|
-
this.expando = o.expando +
|
|
5299
|
+
function me() {
|
|
5300
|
+
this.expando = o.expando + me.uid++;
|
|
5301
5301
|
}
|
|
5302
|
-
|
|
5302
|
+
me.uid = 1, me.prototype = {
|
|
5303
5303
|
cache: function(t) {
|
|
5304
5304
|
var n = t[this.expando];
|
|
5305
|
-
return n || (n = {},
|
|
5305
|
+
return n || (n = {}, He(t) && (t.nodeType ? t[this.expando] = n : Object.defineProperty(t, this.expando, {
|
|
5306
5306
|
value: n,
|
|
5307
5307
|
configurable: !0
|
|
5308
5308
|
}))), n;
|
|
@@ -5339,9 +5339,9 @@ function xa() {
|
|
|
5339
5339
|
return n !== void 0 && !o.isEmptyObject(n);
|
|
5340
5340
|
}
|
|
5341
5341
|
};
|
|
5342
|
-
var
|
|
5342
|
+
var ae = new me(), Ge = new me(), Be = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, ut = /[A-Z]/g;
|
|
5343
5343
|
function qe(t) {
|
|
5344
|
-
return t === "true" ? !0 : t === "false" ? !1 : t === "null" ? null : t === +t + "" ? +t :
|
|
5344
|
+
return t === "true" ? !0 : t === "false" ? !1 : t === "null" ? null : t === +t + "" ? +t : Be.test(t) ? JSON.parse(t) : t;
|
|
5345
5345
|
}
|
|
5346
5346
|
function Ct(t, n, i) {
|
|
5347
5347
|
var a;
|
|
@@ -5351,61 +5351,61 @@ function xa() {
|
|
|
5351
5351
|
i = qe(i);
|
|
5352
5352
|
} catch {
|
|
5353
5353
|
}
|
|
5354
|
-
|
|
5354
|
+
Ge.set(t, n, i);
|
|
5355
5355
|
} else
|
|
5356
5356
|
i = void 0;
|
|
5357
5357
|
return i;
|
|
5358
5358
|
}
|
|
5359
5359
|
o.extend({
|
|
5360
5360
|
hasData: function(t) {
|
|
5361
|
-
return
|
|
5361
|
+
return Ge.hasData(t) || ae.hasData(t);
|
|
5362
5362
|
},
|
|
5363
5363
|
data: function(t, n, i) {
|
|
5364
|
-
return
|
|
5364
|
+
return Ge.access(t, n, i);
|
|
5365
5365
|
},
|
|
5366
5366
|
removeData: function(t, n) {
|
|
5367
|
-
|
|
5367
|
+
Ge.remove(t, n);
|
|
5368
5368
|
},
|
|
5369
5369
|
// TODO: Now that all calls to _data and _removeData have been replaced
|
|
5370
5370
|
// with direct calls to dataPriv methods, these can be deprecated.
|
|
5371
5371
|
_data: function(t, n, i) {
|
|
5372
|
-
return
|
|
5372
|
+
return ae.access(t, n, i);
|
|
5373
5373
|
},
|
|
5374
5374
|
_removeData: function(t, n) {
|
|
5375
|
-
|
|
5375
|
+
ae.remove(t, n);
|
|
5376
5376
|
}
|
|
5377
5377
|
}), o.fn.extend({
|
|
5378
5378
|
data: function(t, n) {
|
|
5379
5379
|
var i, a, d, c = this[0], h = c && c.attributes;
|
|
5380
5380
|
if (t === void 0) {
|
|
5381
|
-
if (this.length && (d =
|
|
5381
|
+
if (this.length && (d = Ge.get(c), c.nodeType === 1 && !ae.get(c, "hasDataAttrs"))) {
|
|
5382
5382
|
for (i = h.length; i--; )
|
|
5383
5383
|
h[i] && (a = h[i].name, a.indexOf("data-") === 0 && (a = pe(a.slice(5)), Ct(c, a, d[a])));
|
|
5384
|
-
|
|
5384
|
+
ae.set(c, "hasDataAttrs", !0);
|
|
5385
5385
|
}
|
|
5386
5386
|
return d;
|
|
5387
5387
|
}
|
|
5388
5388
|
return typeof t == "object" ? this.each(function() {
|
|
5389
|
-
|
|
5390
|
-
}) :
|
|
5389
|
+
Ge.set(this, t);
|
|
5390
|
+
}) : Ie(this, function(C) {
|
|
5391
5391
|
var v;
|
|
5392
5392
|
if (c && C === void 0)
|
|
5393
|
-
return v =
|
|
5393
|
+
return v = Ge.get(c, t), v !== void 0 || (v = Ct(c, t), v !== void 0) ? v : void 0;
|
|
5394
5394
|
this.each(function() {
|
|
5395
|
-
|
|
5395
|
+
Ge.set(this, t, C);
|
|
5396
5396
|
});
|
|
5397
5397
|
}, null, n, arguments.length > 1, null, !0);
|
|
5398
5398
|
},
|
|
5399
5399
|
removeData: function(t) {
|
|
5400
5400
|
return this.each(function() {
|
|
5401
|
-
|
|
5401
|
+
Ge.remove(this, t);
|
|
5402
5402
|
});
|
|
5403
5403
|
}
|
|
5404
5404
|
}), o.extend({
|
|
5405
5405
|
queue: function(t, n, i) {
|
|
5406
5406
|
var a;
|
|
5407
5407
|
if (t)
|
|
5408
|
-
return n = (n || "fx") + "queue", a =
|
|
5408
|
+
return n = (n || "fx") + "queue", a = ae.get(t, n), i && (!a || Array.isArray(i) ? a = ae.access(t, n, o.makeArray(i)) : a.push(i)), a || [];
|
|
5409
5409
|
},
|
|
5410
5410
|
dequeue: function(t, n) {
|
|
5411
5411
|
n = n || "fx";
|
|
@@ -5417,9 +5417,9 @@ function xa() {
|
|
|
5417
5417
|
// Not public - generate a queueHooks object, or return the current one
|
|
5418
5418
|
_queueHooks: function(t, n) {
|
|
5419
5419
|
var i = n + "queueHooks";
|
|
5420
|
-
return
|
|
5420
|
+
return ae.get(t, i) || ae.access(t, i, {
|
|
5421
5421
|
empty: o.Callbacks("once memory").add(function() {
|
|
5422
|
-
|
|
5422
|
+
ae.remove(t, [n + "queue", i]);
|
|
5423
5423
|
})
|
|
5424
5424
|
});
|
|
5425
5425
|
}
|
|
@@ -5446,7 +5446,7 @@ function xa() {
|
|
|
5446
5446
|
--a || d.resolveWith(c, [c]);
|
|
5447
5447
|
};
|
|
5448
5448
|
for (typeof t != "string" && (n = t, t = void 0), t = t || "fx"; h--; )
|
|
5449
|
-
i =
|
|
5449
|
+
i = ae.get(c[h], t + "queueHooks"), i && i.empty && (a++, i.empty.add(C));
|
|
5450
5450
|
return C(), d.promise(n);
|
|
5451
5451
|
}
|
|
5452
5452
|
});
|
|
@@ -5483,7 +5483,7 @@ function xa() {
|
|
|
5483
5483
|
}
|
|
5484
5484
|
function yt(t, n) {
|
|
5485
5485
|
for (var i, a, d = [], c = 0, h = t.length; c < h; c++)
|
|
5486
|
-
a = t[c], a.style && (i = a.style.display, n ? (i === "none" && (d[c] =
|
|
5486
|
+
a = t[c], a.style && (i = a.style.display, n ? (i === "none" && (d[c] = ae.get(a, "display") || null, d[c] || (a.style.display = "")), a.style.display === "" && Qt(a) && (d[c] = Gn(a))) : i !== "none" && (d[c] = "none", ae.set(a, "display", i)));
|
|
5487
5487
|
for (c = 0; c < h; c++)
|
|
5488
5488
|
d[c] != null && (t[c].style.display = d[c]);
|
|
5489
5489
|
return t;
|
|
@@ -5501,7 +5501,7 @@ function xa() {
|
|
|
5501
5501
|
});
|
|
5502
5502
|
}
|
|
5503
5503
|
});
|
|
5504
|
-
var Se = /^(?:checkbox|radio)$/i,
|
|
5504
|
+
var Se = /^(?:checkbox|radio)$/i, Qe = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, pt = /^$|^module$|\/(?:java|ecma)script/i;
|
|
5505
5505
|
(function() {
|
|
5506
5506
|
var t = X.createDocumentFragment(), n = t.appendChild(X.createElement("div")), i = X.createElement("input");
|
|
5507
5507
|
i.setAttribute("type", "radio"), i.setAttribute("checked", "checked"), i.setAttribute("name", "t"), n.appendChild(i), K.checkClone = n.cloneNode(!0).cloneNode(!0).lastChild.checked, n.innerHTML = "<textarea>x</textarea>", K.noCloneChecked = !!n.cloneNode(!0).lastChild.defaultValue, n.innerHTML = "<option></option>", K.option = !!n.lastChild;
|
|
@@ -5523,10 +5523,10 @@ function xa() {
|
|
|
5523
5523
|
}
|
|
5524
5524
|
function At(t, n) {
|
|
5525
5525
|
for (var i = 0, a = t.length; i < a; i++)
|
|
5526
|
-
|
|
5526
|
+
ae.set(
|
|
5527
5527
|
t[i],
|
|
5528
5528
|
"globalEval",
|
|
5529
|
-
!n ||
|
|
5529
|
+
!n || ae.get(n[i], "globalEval")
|
|
5530
5530
|
);
|
|
5531
5531
|
}
|
|
5532
5532
|
var sn = /<|&#?\w+;/;
|
|
@@ -5538,7 +5538,7 @@ function xa() {
|
|
|
5538
5538
|
else if (!sn.test(c))
|
|
5539
5539
|
R.push(n.createTextNode(c));
|
|
5540
5540
|
else {
|
|
5541
|
-
for (h = h || j.appendChild(n.createElement("div")), C = (
|
|
5541
|
+
for (h = h || j.appendChild(n.createElement("div")), C = (Qe.exec(c) || ["", ""])[1].toLowerCase(), v = ht[C] || ht._default, h.innerHTML = v[1] + o.htmlPrefilter(c) + v[2], q = v[0]; q--; )
|
|
5542
5542
|
h = h.lastChild;
|
|
5543
5543
|
o.merge(R, h.childNodes), h = j.firstChild, h.textContent = "";
|
|
5544
5544
|
}
|
|
@@ -5581,14 +5581,14 @@ function xa() {
|
|
|
5581
5581
|
o.event = {
|
|
5582
5582
|
global: {},
|
|
5583
5583
|
add: function(t, n, i, a, d) {
|
|
5584
|
-
var c, h, C, v, L, q, j, R, J, Re,
|
|
5585
|
-
if (
|
|
5586
|
-
for (i.handler && (c = i, i = c.handler, d = c.selector), d && o.find.matchesSelector(St, d), i.guid || (i.guid = o.guid++), (v =
|
|
5584
|
+
var c, h, C, v, L, q, j, R, J, Re, Xe, Ve = ae.get(t);
|
|
5585
|
+
if (He(t))
|
|
5586
|
+
for (i.handler && (c = i, i = c.handler, d = c.selector), d && o.find.matchesSelector(St, d), i.guid || (i.guid = o.guid++), (v = Ve.events) || (v = Ve.events = /* @__PURE__ */ Object.create(null)), (h = Ve.handle) || (h = Ve.handle = function(wt) {
|
|
5587
5587
|
return typeof o < "u" && o.event.triggered !== wt.type ? o.event.dispatch.apply(t, arguments) : void 0;
|
|
5588
5588
|
}), n = (n || "").match(z) || [""], L = n.length; L--; )
|
|
5589
|
-
C = hn.exec(n[L]) || [], J =
|
|
5589
|
+
C = hn.exec(n[L]) || [], J = Xe = C[1], Re = (C[2] || "").split(".").sort(), J && (j = o.event.special[J] || {}, J = (d ? j.delegateType : j.bindType) || J, j = o.event.special[J] || {}, q = o.extend({
|
|
5590
5590
|
type: J,
|
|
5591
|
-
origType:
|
|
5591
|
+
origType: Xe,
|
|
5592
5592
|
data: a,
|
|
5593
5593
|
handler: i,
|
|
5594
5594
|
guid: i.guid,
|
|
@@ -5599,23 +5599,23 @@ function xa() {
|
|
|
5599
5599
|
},
|
|
5600
5600
|
// Detach an event or set of events from an element
|
|
5601
5601
|
remove: function(t, n, i, a, d) {
|
|
5602
|
-
var c, h, C, v, L, q, j, R, J, Re,
|
|
5603
|
-
if (!(!
|
|
5602
|
+
var c, h, C, v, L, q, j, R, J, Re, Xe, Ve = ae.hasData(t) && ae.get(t);
|
|
5603
|
+
if (!(!Ve || !(v = Ve.events))) {
|
|
5604
5604
|
for (n = (n || "").match(z) || [""], L = n.length; L--; ) {
|
|
5605
|
-
if (C = hn.exec(n[L]) || [], J =
|
|
5605
|
+
if (C = hn.exec(n[L]) || [], J = Xe = C[1], Re = (C[2] || "").split(".").sort(), !J) {
|
|
5606
5606
|
for (J in v)
|
|
5607
5607
|
o.event.remove(t, J + n[L], i, a, !0);
|
|
5608
5608
|
continue;
|
|
5609
5609
|
}
|
|
5610
5610
|
for (j = o.event.special[J] || {}, J = (a ? j.delegateType : j.bindType) || J, R = v[J] || [], C = C[2] && new RegExp("(^|\\.)" + Re.join("\\.(?:.*\\.|)") + "(\\.|$)"), h = c = R.length; c--; )
|
|
5611
|
-
q = R[c], (d ||
|
|
5612
|
-
h && !R.length && ((!j.teardown || j.teardown.call(t, Re,
|
|
5611
|
+
q = R[c], (d || Xe === q.origType) && (!i || i.guid === q.guid) && (!C || C.test(q.namespace)) && (!a || a === q.selector || a === "**" && q.selector) && (R.splice(c, 1), q.selector && R.delegateCount--, j.remove && j.remove.call(t, q));
|
|
5612
|
+
h && !R.length && ((!j.teardown || j.teardown.call(t, Re, Ve.handle) === !1) && o.removeEvent(t, J, Ve.handle), delete v[J]);
|
|
5613
5613
|
}
|
|
5614
|
-
o.isEmptyObject(v) &&
|
|
5614
|
+
o.isEmptyObject(v) && ae.remove(t, "handle events");
|
|
5615
5615
|
}
|
|
5616
5616
|
},
|
|
5617
5617
|
dispatch: function(t) {
|
|
5618
|
-
var n, i, a, d, c, h, C = new Array(arguments.length), v = o.event.fix(t), L = (
|
|
5618
|
+
var n, i, a, d, c, h, C = new Array(arguments.length), v = o.event.fix(t), L = (ae.get(this, "events") || /* @__PURE__ */ Object.create(null))[v.type] || [], q = o.event.special[v.type] || {};
|
|
5619
5619
|
for (C[0] = v, n = 1; n < arguments.length; n++)
|
|
5620
5620
|
C[n] = arguments[n];
|
|
5621
5621
|
if (v.delegateTarget = this, !(q.preDispatch && q.preDispatch.call(this, v) === !1)) {
|
|
@@ -5687,7 +5687,7 @@ function xa() {
|
|
|
5687
5687
|
// Also prevent it if we're currently inside a leveraged native-event stack
|
|
5688
5688
|
_default: function(t) {
|
|
5689
5689
|
var n = t.target;
|
|
5690
|
-
return Se.test(n.type) && n.click && G(n, "input") &&
|
|
5690
|
+
return Se.test(n.type) && n.click && G(n, "input") && ae.get(n, "click") || G(n, "a");
|
|
5691
5691
|
}
|
|
5692
5692
|
},
|
|
5693
5693
|
beforeunload: {
|
|
@@ -5699,20 +5699,20 @@ function xa() {
|
|
|
5699
5699
|
};
|
|
5700
5700
|
function Kt(t, n, i) {
|
|
5701
5701
|
if (!i) {
|
|
5702
|
-
|
|
5702
|
+
ae.get(t, n) === void 0 && o.event.add(t, n, kt);
|
|
5703
5703
|
return;
|
|
5704
5704
|
}
|
|
5705
|
-
|
|
5705
|
+
ae.set(t, n, !1), o.event.add(t, n, {
|
|
5706
5706
|
namespace: !1,
|
|
5707
5707
|
handler: function(a) {
|
|
5708
|
-
var d, c =
|
|
5708
|
+
var d, c = ae.get(this, n);
|
|
5709
5709
|
if (a.isTrigger & 1 && this[n]) {
|
|
5710
5710
|
if (c)
|
|
5711
5711
|
(o.event.special[n] || {}).delegateType && a.stopPropagation();
|
|
5712
|
-
else if (c = g.call(arguments),
|
|
5712
|
+
else if (c = g.call(arguments), ae.set(this, n, c), this[n](), d = ae.get(this, n), ae.set(this, n, !1), c !== d)
|
|
5713
5713
|
return a.stopImmediatePropagation(), a.preventDefault(), d;
|
|
5714
5714
|
} else
|
|
5715
|
-
c && (
|
|
5715
|
+
c && (ae.set(this, n, o.event.trigger(
|
|
5716
5716
|
c[0],
|
|
5717
5717
|
c.slice(1),
|
|
5718
5718
|
this
|
|
@@ -5780,7 +5780,7 @@ function xa() {
|
|
|
5780
5780
|
}, o.event.addProp), o.each({ focus: "focusin", blur: "focusout" }, function(t, n) {
|
|
5781
5781
|
function i(a) {
|
|
5782
5782
|
if (X.documentMode) {
|
|
5783
|
-
var d =
|
|
5783
|
+
var d = ae.get(this, "handle"), c = o.event.fix(a);
|
|
5784
5784
|
c.type = a.type === "focusin" ? "focus" : "blur", c.isSimulated = !0, d(a), c.target === c.currentTarget && d(c);
|
|
5785
5785
|
} else
|
|
5786
5786
|
o.event.simulate(
|
|
@@ -5794,7 +5794,7 @@ function xa() {
|
|
|
5794
5794
|
setup: function() {
|
|
5795
5795
|
var a;
|
|
5796
5796
|
if (Kt(this, t, !0), X.documentMode)
|
|
5797
|
-
a =
|
|
5797
|
+
a = ae.get(this, n), a || this.addEventListener(n, i), ae.set(this, n, (a || 0) + 1);
|
|
5798
5798
|
else
|
|
5799
5799
|
return !1;
|
|
5800
5800
|
},
|
|
@@ -5804,24 +5804,24 @@ function xa() {
|
|
|
5804
5804
|
teardown: function() {
|
|
5805
5805
|
var a;
|
|
5806
5806
|
if (X.documentMode)
|
|
5807
|
-
a =
|
|
5807
|
+
a = ae.get(this, n) - 1, a ? ae.set(this, n, a) : (this.removeEventListener(n, i), ae.remove(this, n));
|
|
5808
5808
|
else
|
|
5809
5809
|
return !1;
|
|
5810
5810
|
},
|
|
5811
5811
|
// Suppress native focus or blur if we're currently inside
|
|
5812
5812
|
// a leveraged native-event stack
|
|
5813
5813
|
_default: function(a) {
|
|
5814
|
-
return
|
|
5814
|
+
return ae.get(a.target, t);
|
|
5815
5815
|
},
|
|
5816
5816
|
delegateType: n
|
|
5817
5817
|
}, o.event.special[n] = {
|
|
5818
5818
|
setup: function() {
|
|
5819
|
-
var a = this.ownerDocument || this.document || this, d = X.documentMode ? this : a, c =
|
|
5820
|
-
c || (X.documentMode ? this.addEventListener(n, i) : a.addEventListener(t, i, !0)),
|
|
5819
|
+
var a = this.ownerDocument || this.document || this, d = X.documentMode ? this : a, c = ae.get(d, n);
|
|
5820
|
+
c || (X.documentMode ? this.addEventListener(n, i) : a.addEventListener(t, i, !0)), ae.set(d, n, (c || 0) + 1);
|
|
5821
5821
|
},
|
|
5822
5822
|
teardown: function() {
|
|
5823
|
-
var a = this.ownerDocument || this.document || this, d = X.documentMode ? this : a, c =
|
|
5824
|
-
c ?
|
|
5823
|
+
var a = this.ownerDocument || this.document || this, d = X.documentMode ? this : a, c = ae.get(d, n) - 1;
|
|
5824
|
+
c ? ae.set(d, n, c) : (X.documentMode ? this.removeEventListener(n, i) : a.removeEventListener(t, i, !0), ae.remove(d, n));
|
|
5825
5825
|
}
|
|
5826
5826
|
};
|
|
5827
5827
|
}), o.each({
|
|
@@ -5876,13 +5876,13 @@ function xa() {
|
|
|
5876
5876
|
function Zt(t, n) {
|
|
5877
5877
|
var i, a, d, c, h, C, v;
|
|
5878
5878
|
if (n.nodeType === 1) {
|
|
5879
|
-
if (
|
|
5880
|
-
|
|
5879
|
+
if (ae.hasData(t) && (c = ae.get(t), v = c.events, v)) {
|
|
5880
|
+
ae.remove(n, "handle events");
|
|
5881
5881
|
for (d in v)
|
|
5882
5882
|
for (i = 0, a = v[d].length; i < a; i++)
|
|
5883
5883
|
o.event.add(n, d, v[d][i]);
|
|
5884
5884
|
}
|
|
5885
|
-
|
|
5885
|
+
Ge.hasData(t) && (h = Ge.access(t), C = o.extend({}, h), Ge.set(n, C));
|
|
5886
5886
|
}
|
|
5887
5887
|
}
|
|
5888
5888
|
function gn(t, n) {
|
|
@@ -5893,18 +5893,18 @@ function xa() {
|
|
|
5893
5893
|
n = u(n);
|
|
5894
5894
|
var d, c, h, C, v, L, q = 0, j = t.length, R = j - 1, J = n[0], Re = U(J);
|
|
5895
5895
|
if (Re || j > 1 && typeof J == "string" && !K.checkClone && Yt.test(J))
|
|
5896
|
-
return t.each(function(
|
|
5897
|
-
var
|
|
5898
|
-
Re && (n[0] = J.call(this,
|
|
5896
|
+
return t.each(function(Xe) {
|
|
5897
|
+
var Ve = t.eq(Xe);
|
|
5898
|
+
Re && (n[0] = J.call(this, Xe, Ve.html())), Lt(Ve, n, i, a);
|
|
5899
5899
|
});
|
|
5900
5900
|
if (j && (d = kn(n, t[0].ownerDocument, !1, t, a), c = d.firstChild, d.childNodes.length === 1 && (d = c), c || a)) {
|
|
5901
5901
|
for (h = o.map(nt(d, "script"), Nn), C = h.length; q < j; q++)
|
|
5902
5902
|
v = d, q !== R && (v = o.clone(v, !0, !0), C && o.merge(h, nt(v, "script"))), i.call(t[q], v, q);
|
|
5903
5903
|
if (C)
|
|
5904
5904
|
for (L = h[h.length - 1].ownerDocument, o.map(h, ct), q = 0; q < C; q++)
|
|
5905
|
-
v = h[q], pt.test(v.type || "") && !
|
|
5905
|
+
v = h[q], pt.test(v.type || "") && !ae.access(v, "globalEval") && o.contains(L, v) && (v.src && (v.type || "").toLowerCase() !== "module" ? o._evalUrl && !v.noModule && o._evalUrl(v.src, {
|
|
5906
5906
|
nonce: v.nonce || v.getAttribute("nonce")
|
|
5907
|
-
}, L) :
|
|
5907
|
+
}, L) : ye(v.textContent.replace(dt, ""), v, L));
|
|
5908
5908
|
}
|
|
5909
5909
|
return t;
|
|
5910
5910
|
}
|
|
@@ -5932,14 +5932,14 @@ function xa() {
|
|
|
5932
5932
|
},
|
|
5933
5933
|
cleanData: function(t) {
|
|
5934
5934
|
for (var n, i, a, d = o.event.special, c = 0; (i = t[c]) !== void 0; c++)
|
|
5935
|
-
if (
|
|
5936
|
-
if (n = i[
|
|
5935
|
+
if (He(i)) {
|
|
5936
|
+
if (n = i[ae.expando]) {
|
|
5937
5937
|
if (n.events)
|
|
5938
5938
|
for (a in n.events)
|
|
5939
5939
|
d[a] ? o.event.remove(i, a) : o.removeEvent(i, a, n.handle);
|
|
5940
|
-
i[
|
|
5940
|
+
i[ae.expando] = void 0;
|
|
5941
5941
|
}
|
|
5942
|
-
i[
|
|
5942
|
+
i[Ge.expando] && (i[Ge.expando] = void 0);
|
|
5943
5943
|
}
|
|
5944
5944
|
}
|
|
5945
5945
|
}), o.fn.extend({
|
|
@@ -5950,7 +5950,7 @@ function xa() {
|
|
|
5950
5950
|
return xt(this, t);
|
|
5951
5951
|
},
|
|
5952
5952
|
text: function(t) {
|
|
5953
|
-
return
|
|
5953
|
+
return Ie(this, function(n) {
|
|
5954
5954
|
return n === void 0 ? o.text(this) : this.empty().each(function() {
|
|
5955
5955
|
(this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = n);
|
|
5956
5956
|
});
|
|
@@ -5993,11 +5993,11 @@ function xa() {
|
|
|
5993
5993
|
});
|
|
5994
5994
|
},
|
|
5995
5995
|
html: function(t) {
|
|
5996
|
-
return
|
|
5996
|
+
return Ie(this, function(n) {
|
|
5997
5997
|
var i = this[0] || {}, a = 0, d = this.length;
|
|
5998
5998
|
if (n === void 0 && i.nodeType === 1)
|
|
5999
5999
|
return i.innerHTML;
|
|
6000
|
-
if (typeof n == "string" && !On.test(n) && !ht[(
|
|
6000
|
+
if (typeof n == "string" && !On.test(n) && !ht[(Qe.exec(n) || ["", ""])[1].toLowerCase()]) {
|
|
6001
6001
|
n = o.htmlPrefilter(n);
|
|
6002
6002
|
try {
|
|
6003
6003
|
for (; a < d; a++)
|
|
@@ -6274,7 +6274,7 @@ function xa() {
|
|
|
6274
6274
|
}, t !== "margin" && (o.cssHooks[t + n].set = kr);
|
|
6275
6275
|
}), o.fn.extend({
|
|
6276
6276
|
css: function(t, n) {
|
|
6277
|
-
return
|
|
6277
|
+
return Ie(this, function(i, a, d) {
|
|
6278
6278
|
var c, h, C = {}, v = 0;
|
|
6279
6279
|
if (Array.isArray(a)) {
|
|
6280
6280
|
for (c = Jn(i), h = a.length; v < h; v++)
|
|
@@ -6351,7 +6351,7 @@ function xa() {
|
|
|
6351
6351
|
return a;
|
|
6352
6352
|
}
|
|
6353
6353
|
function Wa(t, n, i) {
|
|
6354
|
-
var a, d, c, h, C, v, L, q, j = "width" in n || "height" in n, R = this, J = {}, Re = t.style,
|
|
6354
|
+
var a, d, c, h, C, v, L, q, j = "width" in n || "height" in n, R = this, J = {}, Re = t.style, Xe = t.nodeType && Qt(t), Ve = ae.get(t, "fxshow");
|
|
6355
6355
|
i.queue || (h = o._queueHooks(t, "fx"), h.unqueued == null && (h.unqueued = 0, C = h.empty.fire, h.empty.fire = function() {
|
|
6356
6356
|
h.unqueued || C();
|
|
6357
6357
|
}), h.unqueued++, R.always(function() {
|
|
@@ -6361,25 +6361,25 @@ function xa() {
|
|
|
6361
6361
|
}));
|
|
6362
6362
|
for (a in n)
|
|
6363
6363
|
if (d = n[a], Ha.test(d)) {
|
|
6364
|
-
if (delete n[a], c = c || d === "toggle", d === (
|
|
6365
|
-
if (d === "show" &&
|
|
6366
|
-
|
|
6364
|
+
if (delete n[a], c = c || d === "toggle", d === (Xe ? "hide" : "show"))
|
|
6365
|
+
if (d === "show" && Ve && Ve[a] !== void 0)
|
|
6366
|
+
Xe = !0;
|
|
6367
6367
|
else
|
|
6368
6368
|
continue;
|
|
6369
|
-
J[a] =
|
|
6369
|
+
J[a] = Ve && Ve[a] || o.style(t, a);
|
|
6370
6370
|
}
|
|
6371
6371
|
if (v = !o.isEmptyObject(n), !(!v && o.isEmptyObject(J))) {
|
|
6372
|
-
j && t.nodeType === 1 && (i.overflow = [Re.overflow, Re.overflowX, Re.overflowY], L =
|
|
6372
|
+
j && t.nodeType === 1 && (i.overflow = [Re.overflow, Re.overflowX, Re.overflowY], L = Ve && Ve.display, L == null && (L = ae.get(t, "display")), q = o.css(t, "display"), q === "none" && (L ? q = L : (yt([t], !0), L = t.style.display || L, q = o.css(t, "display"), yt([t]))), (q === "inline" || q === "inline-block" && L != null) && o.css(t, "float") === "none" && (v || (R.done(function() {
|
|
6373
6373
|
Re.display = L;
|
|
6374
6374
|
}), L == null && (q = Re.display, L = q === "none" ? "" : q)), Re.display = "inline-block")), i.overflow && (Re.overflow = "hidden", R.always(function() {
|
|
6375
6375
|
Re.overflow = i.overflow[0], Re.overflowX = i.overflow[1], Re.overflowY = i.overflow[2];
|
|
6376
6376
|
})), v = !1;
|
|
6377
6377
|
for (a in J)
|
|
6378
|
-
v || (
|
|
6379
|
-
|
|
6378
|
+
v || (Ve ? "hidden" in Ve && (Xe = Ve.hidden) : Ve = ae.access(t, "fxshow", { display: L }), c && (Ve.hidden = !Xe), Xe && yt([t], !0), R.done(function() {
|
|
6379
|
+
Xe || yt([t]), ae.remove(t, "fxshow");
|
|
6380
6380
|
for (a in J)
|
|
6381
6381
|
o.style(t, a, J[a]);
|
|
6382
|
-
})), v = Or(
|
|
6382
|
+
})), v = Or(Xe ? Ve[a] : 0, a, R), a in Ve || (Ve[a] = v.start, Xe && (v.end = v.start, v.start = 0));
|
|
6383
6383
|
}
|
|
6384
6384
|
}
|
|
6385
6385
|
function Ua(t, n) {
|
|
@@ -6398,9 +6398,9 @@ function xa() {
|
|
|
6398
6398
|
}), v = function() {
|
|
6399
6399
|
if (d)
|
|
6400
6400
|
return !1;
|
|
6401
|
-
for (var j = Xn || Mr(), R = Math.max(0, L.startTime + L.duration - j), J = R / L.duration || 0, Re = 1 - J,
|
|
6402
|
-
L.tweens[
|
|
6403
|
-
return C.notifyWith(t, [L, Re, R]), Re < 1 &&
|
|
6401
|
+
for (var j = Xn || Mr(), R = Math.max(0, L.startTime + L.duration - j), J = R / L.duration || 0, Re = 1 - J, Xe = 0, Ve = L.tweens.length; Xe < Ve; Xe++)
|
|
6402
|
+
L.tweens[Xe].run(Re);
|
|
6403
|
+
return C.notifyWith(t, [L, Re, R]), Re < 1 && Ve ? R : (Ve || C.notifyWith(t, [L, 1, 0]), C.resolveWith(t, [L]), !1);
|
|
6404
6404
|
}, L = C.promise({
|
|
6405
6405
|
elem: t,
|
|
6406
6406
|
props: o.extend({}, n),
|
|
@@ -6475,7 +6475,7 @@ function xa() {
|
|
|
6475
6475
|
animate: function(t, n, i, a) {
|
|
6476
6476
|
var d = o.isEmptyObject(t), c = o.speed(n, i, a), h = function() {
|
|
6477
6477
|
var C = un(this, o.extend({}, t), c);
|
|
6478
|
-
(d ||
|
|
6478
|
+
(d || ae.get(this, "finish")) && C.stop(!0);
|
|
6479
6479
|
};
|
|
6480
6480
|
return h.finish = h, d || c.queue === !1 ? this.each(h) : this.queue(c.queue, h);
|
|
6481
6481
|
},
|
|
@@ -6485,7 +6485,7 @@ function xa() {
|
|
|
6485
6485
|
delete d.stop, c(i);
|
|
6486
6486
|
};
|
|
6487
6487
|
return typeof t != "string" && (i = n, n = t, t = void 0), n && this.queue(t || "fx", []), this.each(function() {
|
|
6488
|
-
var d = !0, c = t != null && t + "queueHooks", h = o.timers, C =
|
|
6488
|
+
var d = !0, c = t != null && t + "queueHooks", h = o.timers, C = ae.get(this);
|
|
6489
6489
|
if (c)
|
|
6490
6490
|
C[c] && C[c].stop && a(C[c]);
|
|
6491
6491
|
else
|
|
@@ -6498,7 +6498,7 @@ function xa() {
|
|
|
6498
6498
|
},
|
|
6499
6499
|
finish: function(t) {
|
|
6500
6500
|
return t !== !1 && (t = t || "fx"), this.each(function() {
|
|
6501
|
-
var n, i =
|
|
6501
|
+
var n, i = ae.get(this), a = i[t + "queue"], d = i[t + "queueHooks"], c = o.timers, h = a ? a.length : 0;
|
|
6502
6502
|
for (i.finish = !0, o.queue(this, t, []), d && d.stop && d.stop.call(this, !0), n = c.length; n--; )
|
|
6503
6503
|
c[n].elem === this && c[n].queue === t && (c[n].anim.stop(!0), c.splice(n, 1));
|
|
6504
6504
|
for (n = 0; n < h; n++)
|
|
@@ -6552,7 +6552,7 @@ function xa() {
|
|
|
6552
6552
|
var Nr, li = o.expr.attrHandle;
|
|
6553
6553
|
o.fn.extend({
|
|
6554
6554
|
attr: function(t, n) {
|
|
6555
|
-
return
|
|
6555
|
+
return Ie(this, o.attr, t, n, arguments.length > 1);
|
|
6556
6556
|
},
|
|
6557
6557
|
removeAttr: function(t) {
|
|
6558
6558
|
return this.each(function() {
|
|
@@ -6605,7 +6605,7 @@ function xa() {
|
|
|
6605
6605
|
var Ga = /^(?:input|select|textarea|button)$/i, Ja = /^(?:a|area)$/i;
|
|
6606
6606
|
o.fn.extend({
|
|
6607
6607
|
prop: function(t, n) {
|
|
6608
|
-
return
|
|
6608
|
+
return Ie(this, o.prop, t, n, arguments.length > 1);
|
|
6609
6609
|
},
|
|
6610
6610
|
removeProp: function(t) {
|
|
6611
6611
|
return this.each(function() {
|
|
@@ -6701,9 +6701,9 @@ function xa() {
|
|
|
6701
6701
|
for (c = o(this), d = 0; d < i.length; d++)
|
|
6702
6702
|
a = i[d], c.hasClass(a) ? c.removeClass(a) : c.addClass(a);
|
|
6703
6703
|
else
|
|
6704
|
-
(t === void 0 || h === "boolean") && (a = Bn(this), a &&
|
|
6704
|
+
(t === void 0 || h === "boolean") && (a = Bn(this), a && ae.set(this, "__className__", a), this.setAttribute && this.setAttribute(
|
|
6705
6705
|
"class",
|
|
6706
|
-
a || t === !1 ? "" :
|
|
6706
|
+
a || t === !1 ? "" : ae.get(this, "__className__") || ""
|
|
6707
6707
|
));
|
|
6708
6708
|
}));
|
|
6709
6709
|
},
|
|
@@ -6788,14 +6788,14 @@ function xa() {
|
|
|
6788
6788
|
trigger: function(t, n, i, a) {
|
|
6789
6789
|
var d, c, h, C, v, L, q, j, R = [i || X], J = D.call(t, "type") ? t.type : t, Re = D.call(t, "namespace") ? t.namespace.split(".") : [];
|
|
6790
6790
|
if (c = j = h = i = i || X, !(i.nodeType === 3 || i.nodeType === 8) && !zr.test(J + o.event.triggered) && (J.indexOf(".") > -1 && (Re = J.split("."), J = Re.shift(), Re.sort()), v = J.indexOf(":") < 0 && "on" + J, t = t[o.expando] ? t : new o.Event(J, typeof t == "object" && t), t.isTrigger = a ? 2 : 3, t.namespace = Re.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + Re.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = i), n = n == null ? [t] : o.makeArray(n, [t]), q = o.event.special[J] || {}, !(!a && q.trigger && q.trigger.apply(i, n) === !1))) {
|
|
6791
|
-
if (!a && !q.noBubble && !
|
|
6791
|
+
if (!a && !q.noBubble && !ve(i)) {
|
|
6792
6792
|
for (C = q.delegateType || J, zr.test(C + J) || (c = c.parentNode); c; c = c.parentNode)
|
|
6793
6793
|
R.push(c), h = c;
|
|
6794
6794
|
h === (i.ownerDocument || X) && R.push(h.defaultView || h.parentWindow || r);
|
|
6795
6795
|
}
|
|
6796
6796
|
for (d = 0; (c = R[d++]) && !t.isPropagationStopped(); )
|
|
6797
|
-
j = c, t.type = d > 1 ? C : q.bindType || J, L = (
|
|
6798
|
-
return t.type = J, !a && !t.isDefaultPrevented() && (!q._default || q._default.apply(R.pop(), n) === !1) &&
|
|
6797
|
+
j = c, t.type = d > 1 ? C : q.bindType || J, L = (ae.get(c, "events") || /* @__PURE__ */ Object.create(null))[t.type] && ae.get(c, "handle"), L && L.apply(c, n), L = v && c[v], L && L.apply && He(c) && (t.result = L.apply(c, n), t.result === !1 && t.preventDefault());
|
|
6798
|
+
return t.type = J, !a && !t.isDefaultPrevented() && (!q._default || q._default.apply(R.pop(), n) === !1) && He(i) && v && U(i[J]) && !ve(i) && (h = i[v], h && (i[v] = null), o.event.triggered = J, t.isPropagationStopped() && j.addEventListener(J, Fr), i[J](), t.isPropagationStopped() && j.removeEventListener(J, Fr), o.event.triggered = void 0, h && (i[v] = h)), t.result;
|
|
6799
6799
|
}
|
|
6800
6800
|
},
|
|
6801
6801
|
// Piggyback on a donor event to simulate a different one
|
|
@@ -7046,7 +7046,7 @@ function xa() {
|
|
|
7046
7046
|
// Main method
|
|
7047
7047
|
ajax: function(t, n) {
|
|
7048
7048
|
typeof t == "object" && (n = t, t = void 0), n = n || {};
|
|
7049
|
-
var i, a, d, c, h, C, v, L, q, j, R = o.ajaxSetup({}, n), J = R.context || R, Re = R.context && (J.nodeType || J.jquery) ? o(J) : o.event,
|
|
7049
|
+
var i, a, d, c, h, C, v, L, q, j, R = o.ajaxSetup({}, n), J = R.context || R, Re = R.context && (J.nodeType || J.jquery) ? o(J) : o.event, Xe = o.Deferred(), Ve = o.Callbacks("once memory"), wt = R.statusCode || {}, vt = {}, mn = {}, yn = "canceled", Je = {
|
|
7050
7050
|
readyState: 0,
|
|
7051
7051
|
// Builds headers hashtable if needed
|
|
7052
7052
|
getResponseHeader: function(et) {
|
|
@@ -7076,7 +7076,7 @@ function xa() {
|
|
|
7076
7076
|
var gt;
|
|
7077
7077
|
if (et)
|
|
7078
7078
|
if (v)
|
|
7079
|
-
|
|
7079
|
+
Je.always(et[Je.status]);
|
|
7080
7080
|
else
|
|
7081
7081
|
for (gt in et)
|
|
7082
7082
|
wt[gt] = [wt[gt], et[gt]];
|
|
@@ -7088,7 +7088,7 @@ function xa() {
|
|
|
7088
7088
|
return i && i.abort(gt), Vn(0, gt), this;
|
|
7089
7089
|
}
|
|
7090
7090
|
};
|
|
7091
|
-
if (
|
|
7091
|
+
if (Xe.promise(Je), R.url = ((t || R.url || si.href) + "").replace(oo, si.protocol + "//"), R.type = n.method || n.type || R.method || R.type, R.dataTypes = (R.dataType || "*").toLowerCase().match(z) || [""], R.crossDomain == null) {
|
|
7092
7092
|
C = X.createElement("a");
|
|
7093
7093
|
try {
|
|
7094
7094
|
C.href = R.url, C.href = C.href, R.crossDomain = Ki.protocol + "//" + Ki.host != C.protocol + "//" + C.host;
|
|
@@ -7096,23 +7096,23 @@ function xa() {
|
|
|
7096
7096
|
R.crossDomain = !0;
|
|
7097
7097
|
}
|
|
7098
7098
|
}
|
|
7099
|
-
if (R.data && R.processData && typeof R.data != "string" && (R.data = o.param(R.data, R.traditional)), Er(Pr, R, n,
|
|
7100
|
-
return
|
|
7101
|
-
L = o.event && R.global, L && o.active++ === 0 && o.event.trigger("ajaxStart"), R.type = R.type.toUpperCase(), R.hasContent = !ao.test(R.type), a = R.url.replace(to, ""), R.hasContent ? R.data && R.processData && (R.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (R.data = R.data.replace(eo, "+")) : (j = R.url.slice(a.length), R.data && (R.processData || typeof R.data == "string") && (a += (ji.test(a) ? "&" : "?") + R.data, delete R.data), R.cache === !1 && (a = a.replace(no, "$1"), j = (ji.test(a) ? "&" : "?") + "_=" + Dr.guid++ + j), R.url = a + j), R.ifModified && (o.lastModified[a] &&
|
|
7099
|
+
if (R.data && R.processData && typeof R.data != "string" && (R.data = o.param(R.data, R.traditional)), Er(Pr, R, n, Je), v)
|
|
7100
|
+
return Je;
|
|
7101
|
+
L = o.event && R.global, L && o.active++ === 0 && o.event.trigger("ajaxStart"), R.type = R.type.toUpperCase(), R.hasContent = !ao.test(R.type), a = R.url.replace(to, ""), R.hasContent ? R.data && R.processData && (R.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (R.data = R.data.replace(eo, "+")) : (j = R.url.slice(a.length), R.data && (R.processData || typeof R.data == "string") && (a += (ji.test(a) ? "&" : "?") + R.data, delete R.data), R.cache === !1 && (a = a.replace(no, "$1"), j = (ji.test(a) ? "&" : "?") + "_=" + Dr.guid++ + j), R.url = a + j), R.ifModified && (o.lastModified[a] && Je.setRequestHeader("If-Modified-Since", o.lastModified[a]), o.etag[a] && Je.setRequestHeader("If-None-Match", o.etag[a])), (R.data && R.hasContent && R.contentType !== !1 || n.contentType) && Je.setRequestHeader("Content-Type", R.contentType), Je.setRequestHeader(
|
|
7102
7102
|
"Accept",
|
|
7103
7103
|
R.dataTypes[0] && R.accepts[R.dataTypes[0]] ? R.accepts[R.dataTypes[0]] + (R.dataTypes[0] !== "*" ? ", " + Rr + "; q=0.01" : "") : R.accepts["*"]
|
|
7104
7104
|
);
|
|
7105
7105
|
for (q in R.headers)
|
|
7106
|
-
|
|
7107
|
-
if (R.beforeSend && (R.beforeSend.call(J,
|
|
7108
|
-
return
|
|
7109
|
-
if (yn = "abort",
|
|
7106
|
+
Je.setRequestHeader(q, R.headers[q]);
|
|
7107
|
+
if (R.beforeSend && (R.beforeSend.call(J, Je, R) === !1 || v))
|
|
7108
|
+
return Je.abort();
|
|
7109
|
+
if (yn = "abort", Ve.add(R.complete), Je.done(R.success), Je.fail(R.error), i = Er(Hi, R, n, Je), !i)
|
|
7110
7110
|
Vn(-1, "No Transport");
|
|
7111
7111
|
else {
|
|
7112
|
-
if (
|
|
7113
|
-
return
|
|
7112
|
+
if (Je.readyState = 1, L && Re.trigger("ajaxSend", [Je, R]), v)
|
|
7113
|
+
return Je;
|
|
7114
7114
|
R.async && R.timeout > 0 && (h = r.setTimeout(function() {
|
|
7115
|
-
|
|
7115
|
+
Je.abort("timeout");
|
|
7116
7116
|
}, R.timeout));
|
|
7117
7117
|
try {
|
|
7118
7118
|
v = !1, i.send(vt, Vn);
|
|
@@ -7124,13 +7124,13 @@ function xa() {
|
|
|
7124
7124
|
}
|
|
7125
7125
|
function Vn(et, gt, di, Gi) {
|
|
7126
7126
|
var vn, ci, bn, Dn, zn, tn = gt;
|
|
7127
|
-
v || (v = !0, h && r.clearTimeout(h), i = void 0, d = Gi || "",
|
|
7128
|
-
}), Dn = so(R, Dn,
|
|
7127
|
+
v || (v = !0, h && r.clearTimeout(h), i = void 0, d = Gi || "", Je.readyState = et > 0 ? 4 : 0, vn = et >= 200 && et < 300 || et === 304, di && (Dn = lo(R, Je, di)), !vn && o.inArray("script", R.dataTypes) > -1 && o.inArray("json", R.dataTypes) < 0 && (R.converters["text script"] = function() {
|
|
7128
|
+
}), Dn = so(R, Dn, Je, vn), vn ? (R.ifModified && (zn = Je.getResponseHeader("Last-Modified"), zn && (o.lastModified[a] = zn), zn = Je.getResponseHeader("etag"), zn && (o.etag[a] = zn)), et === 204 || R.type === "HEAD" ? tn = "nocontent" : et === 304 ? tn = "notmodified" : (tn = Dn.state, ci = Dn.data, bn = Dn.error, vn = !bn)) : (bn = tn, (et || !tn) && (tn = "error", et < 0 && (et = 0))), Je.status = et, Je.statusText = (gt || tn) + "", vn ? Xe.resolveWith(J, [ci, tn, Je]) : Xe.rejectWith(J, [Je, tn, bn]), Je.statusCode(wt), wt = void 0, L && Re.trigger(
|
|
7129
7129
|
vn ? "ajaxSuccess" : "ajaxError",
|
|
7130
|
-
[
|
|
7131
|
-
),
|
|
7130
|
+
[Je, R, vn ? ci : bn]
|
|
7131
|
+
), Ve.fireWith(J, [Je, tn]), L && (Re.trigger("ajaxComplete", [Je, R]), --o.active || o.event.trigger("ajaxStop")));
|
|
7132
7132
|
}
|
|
7133
|
-
return
|
|
7133
|
+
return Je;
|
|
7134
7134
|
},
|
|
7135
7135
|
getJSON: function(t, n, i) {
|
|
7136
7136
|
return o.get(t, n, i, "json");
|
|
@@ -7409,9 +7409,9 @@ function xa() {
|
|
|
7409
7409
|
}), o.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(t, n) {
|
|
7410
7410
|
var i = n === "pageYOffset";
|
|
7411
7411
|
o.fn[t] = function(a) {
|
|
7412
|
-
return
|
|
7412
|
+
return Ie(this, function(d, c, h) {
|
|
7413
7413
|
var C;
|
|
7414
|
-
if (
|
|
7414
|
+
if (ve(d) ? C = d : d.nodeType === 9 && (C = d.defaultView), h === void 0)
|
|
7415
7415
|
return C ? C[n] : d[c];
|
|
7416
7416
|
C ? C.scrollTo(
|
|
7417
7417
|
i ? C.pageXOffset : h,
|
|
@@ -7435,9 +7435,9 @@ function xa() {
|
|
|
7435
7435
|
}, function(i, a) {
|
|
7436
7436
|
o.fn[a] = function(d, c) {
|
|
7437
7437
|
var h = arguments.length && (i || typeof d != "boolean"), C = i || (d === !0 || c === !0 ? "margin" : "border");
|
|
7438
|
-
return
|
|
7438
|
+
return Ie(this, function(v, L, q) {
|
|
7439
7439
|
var j;
|
|
7440
|
-
return
|
|
7440
|
+
return ve(v) ? a.indexOf("outer") === 0 ? v["inner" + t] : v.document.documentElement["client" + t] : v.nodeType === 9 ? (j = v.documentElement, Math.max(
|
|
7441
7441
|
v.body["scroll" + t],
|
|
7442
7442
|
j["scroll" + t],
|
|
7443
7443
|
v.body["offset" + t],
|
|
@@ -7497,7 +7497,7 @@ function xa() {
|
|
|
7497
7497
|
}, d.guid = t.guid = t.guid || o.guid++, d;
|
|
7498
7498
|
}, o.holdReady = function(t) {
|
|
7499
7499
|
t ? o.readyWait++ : o.ready(!0);
|
|
7500
|
-
}, o.isArray = Array.isArray, o.parseJSON = JSON.parse, o.nodeName = G, o.isFunction = U, o.isWindow =
|
|
7500
|
+
}, o.isArray = Array.isArray, o.parseJSON = JSON.parse, o.nodeName = G, o.isFunction = U, o.isWindow = ve, o.camelCase = pe, o.type = ie, o.now = Date.now, o.isNumeric = function(t) {
|
|
7501
7501
|
var n = o.type(t);
|
|
7502
7502
|
return (n === "number" || n === "string") && // parseFloat NaNs numeric-cast false positives ("")
|
|
7503
7503
|
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
|
|
@@ -7528,7 +7528,7 @@ function xa() {
|
|
|
7528
7528
|
s = function(f) {
|
|
7529
7529
|
return f(xa());
|
|
7530
7530
|
}, s(function(f) {
|
|
7531
|
-
var y, x, w, D, F, ee, K, U,
|
|
7531
|
+
var y, x, w, D, F, ee, K, U, ve, X, ke, ye, ie, ze, De, o, se, G, ge, xe, we;
|
|
7532
7532
|
return x = function(b, T, P) {
|
|
7533
7533
|
var O, N, E, _;
|
|
7534
7534
|
for (b += "", N = b.split("."), E = N[0], _ = N.length > 1 ? P + N[1] : "", O = /(\d+)(\d{3})/; O.test(E); )
|
|
@@ -7617,9 +7617,9 @@ function xa() {
|
|
|
7617
7617
|
val: null,
|
|
7618
7618
|
sorter: K(N != null ? N.sorters : void 0, O),
|
|
7619
7619
|
push: function(H) {
|
|
7620
|
-
var W, re, ce,
|
|
7621
|
-
if (
|
|
7622
|
-
return this.val =
|
|
7620
|
+
var W, re, ce, be;
|
|
7621
|
+
if (be = H[O], (b === "min" || b === "max") && (be = parseFloat(be), isNaN(be) || (this.val = Math[b](be, (W = this.val) != null ? W : be))), b === "first" && this.sorter(be, (re = this.val) != null ? re : be) <= 0 && (this.val = be), b === "last" && this.sorter(be, (ce = this.val) != null ? ce : be) >= 0)
|
|
7622
|
+
return this.val = be;
|
|
7623
7623
|
},
|
|
7624
7624
|
value: function() {
|
|
7625
7625
|
return this.val;
|
|
@@ -7803,19 +7803,19 @@ function xa() {
|
|
|
7803
7803
|
};
|
|
7804
7804
|
}(w), ze = {
|
|
7805
7805
|
Table: function(b, T) {
|
|
7806
|
-
return
|
|
7806
|
+
return ye(b, T);
|
|
7807
7807
|
},
|
|
7808
7808
|
"Table Barchart": function(b, T) {
|
|
7809
|
-
return f(
|
|
7809
|
+
return f(ye(b, T)).barchart();
|
|
7810
7810
|
},
|
|
7811
7811
|
Heatmap: function(b, T) {
|
|
7812
|
-
return f(
|
|
7812
|
+
return f(ye(b, T)).heatmap("heatmap", T);
|
|
7813
7813
|
},
|
|
7814
7814
|
"Row Heatmap": function(b, T) {
|
|
7815
|
-
return f(
|
|
7815
|
+
return f(ye(b, T)).heatmap("rowheatmap", T);
|
|
7816
7816
|
},
|
|
7817
7817
|
"Col Heatmap": function(b, T) {
|
|
7818
|
-
return f(
|
|
7818
|
+
return f(ye(b, T)).heatmap("colheatmap", T);
|
|
7819
7819
|
}
|
|
7820
7820
|
}, U = {
|
|
7821
7821
|
en: {
|
|
@@ -7836,7 +7836,7 @@ function xa() {
|
|
|
7836
7836
|
by: "by"
|
|
7837
7837
|
}
|
|
7838
7838
|
}
|
|
7839
|
-
},
|
|
7839
|
+
}, ve = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], F = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], we = function(b) {
|
|
7840
7840
|
return ("0" + b).substr(-2, 2);
|
|
7841
7841
|
}, ee = {
|
|
7842
7842
|
bin: function(b, T) {
|
|
@@ -7846,7 +7846,7 @@ function xa() {
|
|
|
7846
7846
|
},
|
|
7847
7847
|
dateFormat: function(b, T, P, O, N) {
|
|
7848
7848
|
var E;
|
|
7849
|
-
return P == null && (P = !1), O == null && (O =
|
|
7849
|
+
return P == null && (P = !1), O == null && (O = ve), N == null && (N = F), E = P ? "UTC" : "", function(_) {
|
|
7850
7850
|
var H;
|
|
7851
7851
|
return H = new Date(Date.parse(_[b])), isNaN(H) ? "" : T.replace(/%(.)/g, function(W, re) {
|
|
7852
7852
|
switch (re) {
|
|
@@ -7928,8 +7928,8 @@ function xa() {
|
|
|
7928
7928
|
return X;
|
|
7929
7929
|
}, y = function() {
|
|
7930
7930
|
function b(T, P) {
|
|
7931
|
-
var O, N, E, _, H, W, re, ce,
|
|
7932
|
-
P == null && (P = {}), 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 = P.aggregator) != null ? O : w.count()(), this.aggregatorName = (N = P.aggregatorName) != null ? N : "Count", this.colAttrs = (E = P.cols) != null ? E : [], this.rowAttrs = (_ = P.rows) != null ? _ : [], this.valAttrs = (H = P.vals) != null ? H : [], this.sorters = (W = P.sorters) != null ? W : {}, this.rowOrder = (re = P.rowOrder) != null ? re : "key_a_to_z", this.colOrder = (ce = P.colOrder) != null ? ce : "key_a_to_z", this.derivedAttributes = (
|
|
7931
|
+
var O, N, E, _, H, W, re, ce, be, Fe;
|
|
7932
|
+
P == null && (P = {}), 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 = P.aggregator) != null ? O : w.count()(), this.aggregatorName = (N = P.aggregatorName) != null ? N : "Count", this.colAttrs = (E = P.cols) != null ? E : [], this.rowAttrs = (_ = P.rows) != null ? _ : [], this.valAttrs = (H = P.vals) != null ? H : [], this.sorters = (W = P.sorters) != null ? W : {}, this.rowOrder = (re = P.rowOrder) != null ? re : "key_a_to_z", this.colOrder = (ce = P.colOrder) != null ? ce : "key_a_to_z", this.derivedAttributes = (be = P.derivedAttributes) != null ? be : {}, this.filter = (Fe = P.filter) != null ? Fe : function() {
|
|
7933
7933
|
return !0;
|
|
7934
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(Le) {
|
|
7935
7935
|
return function($e) {
|
|
@@ -7939,7 +7939,7 @@ function xa() {
|
|
|
7939
7939
|
}(this));
|
|
7940
7940
|
}
|
|
7941
7941
|
return b.forEachRecord = function(T, P, O) {
|
|
7942
|
-
var N, E, _, H, W, re, ce,
|
|
7942
|
+
var N, E, _, H, W, re, ce, be, Fe, Le, $e, je;
|
|
7943
7943
|
if (f.isEmptyObject(P) ? N = O : N = function(tt) {
|
|
7944
7944
|
var z, Q, B;
|
|
7945
7945
|
for (z in P)
|
|
@@ -7952,15 +7952,15 @@ function xa() {
|
|
|
7952
7952
|
Le = [];
|
|
7953
7953
|
for (_ in T)
|
|
7954
7954
|
if (u.call(T, _) && (E = T[_], _ > 0)) {
|
|
7955
|
-
|
|
7955
|
+
be = {}, Fe = T[0];
|
|
7956
7956
|
for (H in Fe)
|
|
7957
|
-
u.call(Fe, H) && (W = Fe[H],
|
|
7958
|
-
Le.push(N(
|
|
7957
|
+
u.call(Fe, H) && (W = Fe[H], be[W] = E[H]);
|
|
7958
|
+
Le.push(N(be));
|
|
7959
7959
|
}
|
|
7960
7960
|
return Le;
|
|
7961
7961
|
} else {
|
|
7962
7962
|
for ($e = [], re = 0, ce = T.length; re < ce; re++)
|
|
7963
|
-
|
|
7963
|
+
be = T[re], $e.push(N(be));
|
|
7964
7964
|
return $e;
|
|
7965
7965
|
}
|
|
7966
7966
|
else {
|
|
@@ -7968,9 +7968,9 @@ function xa() {
|
|
|
7968
7968
|
return je = [], f("thead > tr > th", T).each(function(tt) {
|
|
7969
7969
|
return je.push(f(this).text());
|
|
7970
7970
|
}), f("tbody > tr", T).each(function(tt) {
|
|
7971
|
-
return
|
|
7972
|
-
return
|
|
7973
|
-
}), N(
|
|
7971
|
+
return be = {}, f("td", this).each(function(z) {
|
|
7972
|
+
return be[je[z]] = f(this).text();
|
|
7973
|
+
}), N(be);
|
|
7974
7974
|
});
|
|
7975
7975
|
throw new Error("unknown input format");
|
|
7976
7976
|
}
|
|
@@ -8047,11 +8047,11 @@ function xa() {
|
|
|
8047
8047
|
}, b.prototype.getRowKeys = function() {
|
|
8048
8048
|
return this.sortKeys(), this.rowKeys;
|
|
8049
8049
|
}, b.prototype.processRecord = function(T) {
|
|
8050
|
-
var P, O, N, E, _, H, W, re, ce,
|
|
8050
|
+
var P, O, N, E, _, H, W, re, ce, be, Fe, Le, $e;
|
|
8051
8051
|
for (P = [], Le = [], re = this.colAttrs, E = 0, _ = re.length; E < _; E++)
|
|
8052
8052
|
$e = re[E], P.push((ce = T[$e]) != null ? ce : "null");
|
|
8053
|
-
for (
|
|
8054
|
-
$e =
|
|
8053
|
+
for (be = this.rowAttrs, W = 0, H = be.length; W < H; W++)
|
|
8054
|
+
$e = be[W], Le.push((Fe = T[$e]) != null ? Fe : "null");
|
|
8055
8055
|
if (N = Le.join("\0"), O = P.join("\0"), this.allTotal.push(T), Le.length !== 0 && (this.rowTotals[N] || (this.rowKeys.push(Le), this.rowTotals[N] = this.aggregator(this, Le, [])), this.rowTotals[N].push(T)), P.length !== 0 && (this.colTotals[O] || (this.colKeys.push(P), this.colTotals[O] = this.aggregator(this, [], P)), this.colTotals[O].push(T)), P.length !== 0 && Le.length !== 0)
|
|
8056
8056
|
return this.tree[N] || (this.tree[N] = {}), this.tree[N][O] || (this.tree[N][O] = this.aggregator(this, Le, P)), this.tree[N][O].push(T);
|
|
8057
8057
|
}, b.prototype.getAggregator = function(T, P) {
|
|
@@ -8075,8 +8075,8 @@ function xa() {
|
|
|
8075
8075
|
numberFormat: ke,
|
|
8076
8076
|
sortAs: se,
|
|
8077
8077
|
PivotData: y
|
|
8078
|
-
},
|
|
8079
|
-
var P, O, N, E, _, H, W, re, ce,
|
|
8078
|
+
}, ye = function(b, T) {
|
|
8079
|
+
var P, O, N, E, _, H, W, re, ce, be, Fe, Le, $e, je, tt, z, Q, B, Me, Oe, fe, Ze, Pe, Ie;
|
|
8080
8080
|
H = {
|
|
8081
8081
|
table: {
|
|
8082
8082
|
clickCallback: null,
|
|
@@ -8086,44 +8086,44 @@ function xa() {
|
|
|
8086
8086
|
localeStrings: {
|
|
8087
8087
|
totals: "Totals"
|
|
8088
8088
|
}
|
|
8089
|
-
}, T = f.extend(!0, {}, H, T), N = b.colAttrs, Le = b.rowAttrs, je = b.getRowKeys(), _ = b.getColKeys(), T.table.clickCallback && (W = function(
|
|
8090
|
-
var pe,
|
|
8091
|
-
|
|
8092
|
-
for (
|
|
8093
|
-
u.call(N,
|
|
8094
|
-
for (
|
|
8095
|
-
u.call(Le,
|
|
8096
|
-
return function(
|
|
8097
|
-
return T.table.clickCallback(
|
|
8089
|
+
}, T = f.extend(!0, {}, H, T), N = b.colAttrs, Le = b.rowAttrs, je = b.getRowKeys(), _ = b.getColKeys(), T.table.clickCallback && (W = function(le, _e, rt) {
|
|
8090
|
+
var pe, He, me;
|
|
8091
|
+
He = {};
|
|
8092
|
+
for (me in N)
|
|
8093
|
+
u.call(N, me) && (pe = N[me], rt[me] != null && (He[pe] = rt[me]));
|
|
8094
|
+
for (me in Le)
|
|
8095
|
+
u.call(Le, me) && (pe = Le[me], _e[me] != null && (He[pe] = _e[me]));
|
|
8096
|
+
return function(ae) {
|
|
8097
|
+
return T.table.clickCallback(ae, le, He, b);
|
|
8098
8098
|
};
|
|
8099
|
-
}), Fe = document.createElement("table"), Fe.className = "pvtTable", tt = function(
|
|
8100
|
-
var pe,
|
|
8099
|
+
}), Fe = document.createElement("table"), Fe.className = "pvtTable", tt = function(le, _e, rt) {
|
|
8100
|
+
var pe, He, me, ae, Ge, Be, ut, qe;
|
|
8101
8101
|
if (_e !== 0) {
|
|
8102
|
-
for (
|
|
8103
|
-
|
|
8104
|
-
if (
|
|
8102
|
+
for (ae = !0, qe = pe = 0, Ge = rt; 0 <= Ge ? pe <= Ge : pe >= Ge; qe = 0 <= Ge ? ++pe : --pe)
|
|
8103
|
+
le[_e - 1][qe] !== le[_e][qe] && (ae = !1);
|
|
8104
|
+
if (ae)
|
|
8105
8105
|
return -1;
|
|
8106
8106
|
}
|
|
8107
|
-
for (
|
|
8108
|
-
for (ut = !1, qe =
|
|
8109
|
-
|
|
8107
|
+
for (He = 0; _e + He < le.length; ) {
|
|
8108
|
+
for (ut = !1, qe = me = 0, Be = rt; 0 <= Be ? me <= Be : me >= Be; qe = 0 <= Be ? ++me : --me)
|
|
8109
|
+
le[_e][qe] !== le[_e + He][qe] && (ut = !0);
|
|
8110
8110
|
if (ut)
|
|
8111
8111
|
break;
|
|
8112
|
-
|
|
8112
|
+
He++;
|
|
8113
8113
|
}
|
|
8114
|
-
return
|
|
8114
|
+
return He;
|
|
8115
8115
|
}, Me = document.createElement("thead");
|
|
8116
8116
|
for (ce in N)
|
|
8117
8117
|
if (u.call(N, ce)) {
|
|
8118
8118
|
O = N[ce], fe = document.createElement("tr"), parseInt(ce) === 0 && Le.length !== 0 && (B = document.createElement("th"), B.setAttribute("colspan", Le.length), B.setAttribute("rowspan", N.length), fe.appendChild(B)), B = document.createElement("th"), B.className = "pvtAxisLabel", B.textContent = O, fe.appendChild(B);
|
|
8119
8119
|
for (re in _)
|
|
8120
|
-
u.call(_, re) && (E = _[re],
|
|
8120
|
+
u.call(_, re) && (E = _[re], Ie = tt(_, parseInt(re), parseInt(ce)), Ie !== -1 && (B = document.createElement("th"), B.className = "pvtColLabel", B.textContent = E[ce], B.setAttribute("colspan", Ie), parseInt(ce) === N.length - 1 && Le.length !== 0 && B.setAttribute("rowspan", 2), fe.appendChild(B)));
|
|
8121
8121
|
parseInt(ce) === 0 && T.table.rowTotals && (B = document.createElement("th"), B.className = "pvtTotalLabel pvtRowTotalLabel", B.innerHTML = T.localeStrings.totals, B.setAttribute("rowspan", N.length + (Le.length === 0 ? 0 : 1)), fe.appendChild(B)), Me.appendChild(fe);
|
|
8122
8122
|
}
|
|
8123
8123
|
if (Le.length !== 0) {
|
|
8124
8124
|
fe = document.createElement("tr");
|
|
8125
8125
|
for (re in Le)
|
|
8126
|
-
u.call(Le, re) && (
|
|
8126
|
+
u.call(Le, re) && (be = Le[re], B = document.createElement("th"), B.className = "pvtAxisLabel", B.textContent = be, fe.appendChild(B));
|
|
8127
8127
|
B = document.createElement("th"), N.length === 0 && (B.className = "pvtTotalLabel pvtRowTotalLabel", B.innerHTML = T.localeStrings.totals), fe.appendChild(B), Me.appendChild(fe);
|
|
8128
8128
|
}
|
|
8129
8129
|
Fe.appendChild(Me), z = document.createElement("tbody");
|
|
@@ -8131,7 +8131,7 @@ function xa() {
|
|
|
8131
8131
|
if (u.call(je, re)) {
|
|
8132
8132
|
$e = je[re], fe = document.createElement("tr");
|
|
8133
8133
|
for (ce in $e)
|
|
8134
|
-
u.call($e, ce) && (
|
|
8134
|
+
u.call($e, ce) && (Ze = $e[ce], Ie = tt(je, parseInt(re), parseInt(ce)), Ie !== -1 && (B = document.createElement("th"), B.className = "pvtRowLabel", B.textContent = Ze, B.setAttribute("rowspan", Ie), parseInt(ce) === Le.length - 1 && N.length !== 0 && B.setAttribute("colspan", 2), fe.appendChild(B)));
|
|
8135
8135
|
for (ce in _)
|
|
8136
8136
|
u.call(_, ce) && (E = _[ce], P = b.getAggregator($e, E), Pe = P.value(), Q = document.createElement("td"), Q.className = "pvtVal row" + re + " col" + ce, Q.textContent = P.format(Pe), Q.setAttribute("data-value", Pe), W != null && (Q.onclick = W(Pe, $e, E)), fe.appendChild(Q));
|
|
8137
8137
|
(T.table.rowTotals || N.length === 0) && (Oe = b.getAggregator($e, []), Pe = Oe.value(), Q = document.createElement("td"), Q.className = "pvtTotal rowTotal", Q.textContent = Oe.format(Pe), Q.setAttribute("data-value", Pe), W != null && (Q.onclick = W(Pe, $e, [])), Q.setAttribute("data-for", "row" + re), fe.appendChild(Q)), z.appendChild(fe);
|
|
@@ -8159,7 +8159,7 @@ function xa() {
|
|
|
8159
8159
|
aggregatorName: "Count",
|
|
8160
8160
|
sorters: {},
|
|
8161
8161
|
derivedAttributes: {},
|
|
8162
|
-
renderer:
|
|
8162
|
+
renderer: ye
|
|
8163
8163
|
}, _ = f.extend(!0, {}, U.en.localeStrings, U[P].localeStrings), E = {
|
|
8164
8164
|
rendererOptions: {
|
|
8165
8165
|
localeStrings: _
|
|
@@ -8170,18 +8170,18 @@ function xa() {
|
|
|
8170
8170
|
W = new H.dataClass(b, H);
|
|
8171
8171
|
try {
|
|
8172
8172
|
re = H.renderer(W, H.rendererOptions);
|
|
8173
|
-
} catch (
|
|
8174
|
-
N =
|
|
8173
|
+
} catch (be) {
|
|
8174
|
+
N = be, typeof console < "u" && console !== null && console.error(N.stack), re = f("<span>").html(H.localeStrings.renderError);
|
|
8175
8175
|
}
|
|
8176
|
-
} catch (
|
|
8177
|
-
N =
|
|
8176
|
+
} catch (be) {
|
|
8177
|
+
N = be, typeof console < "u" && console !== null && console.error(N.stack), re = f("<span>").html(H.localeStrings.computeError);
|
|
8178
8178
|
}
|
|
8179
8179
|
for (ce = this[0]; ce.hasChildNodes(); )
|
|
8180
8180
|
ce.removeChild(ce.lastChild);
|
|
8181
8181
|
return this.append(re);
|
|
8182
8182
|
}, f.fn.pivotUI = function(b, T, P, O) {
|
|
8183
|
-
var N, E, _, H, W, re, ce,
|
|
8184
|
-
P == null && (P = !1), O == null && (O = "en"), U[O] == null && (O = "en"),
|
|
8183
|
+
var N, E, _, H, W, re, ce, be, Fe, Le, $e, je, tt, z, Q, B, Me, Oe, fe, Ze, Pe, Ie, le, _e, rt, pe, He, me, ae, Ge, Be, ut, qe, Ct, on, ln, Ht, St, pn, ri, Qt, An, En, Gn, yt;
|
|
8184
|
+
P == null && (P = !1), O == null && (O = "en"), U[O] == null && (O = "en"), be = {
|
|
8185
8185
|
derivedAttributes: {},
|
|
8186
8186
|
aggregators: U[O].aggregators,
|
|
8187
8187
|
renderers: U[O].renderers,
|
|
@@ -8210,58 +8210,58 @@ function xa() {
|
|
|
8210
8210
|
localeStrings: fe
|
|
8211
8211
|
},
|
|
8212
8212
|
localeStrings: fe
|
|
8213
|
-
}, Le = this.data("pivotUIOptions"), Le == null || P ?
|
|
8213
|
+
}, Le = this.data("pivotUIOptions"), Le == null || P ? le = f.extend(!0, {}, Oe, f.extend({}, be, T)) : le = Le;
|
|
8214
8214
|
try {
|
|
8215
|
-
W = {},
|
|
8216
|
-
var
|
|
8217
|
-
if (
|
|
8218
|
-
|
|
8219
|
-
for (
|
|
8220
|
-
u.call(Se,
|
|
8221
|
-
for (
|
|
8222
|
-
nt = (ht = Se[
|
|
8215
|
+
W = {}, Ze = [], pe = 0, y.forEachRecord(b, le.derivedAttributes, function(Se) {
|
|
8216
|
+
var Qe, pt, ht, nt;
|
|
8217
|
+
if (le.filter(Se)) {
|
|
8218
|
+
Ze.push(Se);
|
|
8219
|
+
for (Qe in Se)
|
|
8220
|
+
u.call(Se, Qe) && W[Qe] == null && (W[Qe] = {}, pe > 0 && (W[Qe].null = pe));
|
|
8221
|
+
for (Qe in W)
|
|
8222
|
+
nt = (ht = Se[Qe]) != null ? ht : "null", (pt = W[Qe])[nt] == null && (pt[nt] = 0), W[Qe][nt]++;
|
|
8223
8223
|
return pe++;
|
|
8224
8224
|
}
|
|
8225
8225
|
}), Qt = f("<table>", {
|
|
8226
8226
|
class: "pvtUi"
|
|
8227
8227
|
}).attr("cellpadding", 5), Ct = f("<td>").addClass("pvtUiCell"), qe = f("<select>").addClass("pvtRenderer").appendTo(Ct).bind("change", function() {
|
|
8228
|
-
return
|
|
8229
|
-
}),
|
|
8230
|
-
for (yt in
|
|
8231
|
-
u.call(
|
|
8228
|
+
return Be();
|
|
8229
|
+
}), He = le.renderers;
|
|
8230
|
+
for (yt in He)
|
|
8231
|
+
u.call(He, yt) && f("<option>").val(yt).html(yt).appendTo(qe);
|
|
8232
8232
|
if (An = f("<td>").addClass("pvtAxisContainer pvtUnused pvtUiCell"), ln = function() {
|
|
8233
8233
|
var Se;
|
|
8234
8234
|
Se = [];
|
|
8235
8235
|
for (N in W)
|
|
8236
|
-
l.call(
|
|
8236
|
+
l.call(le.hiddenAttributes, N) < 0 && Se.push(N);
|
|
8237
8237
|
return Se;
|
|
8238
8238
|
}(), Ht = function() {
|
|
8239
|
-
var Se,
|
|
8240
|
-
for (pt = [], Se = 0,
|
|
8241
|
-
re = ln[Se], l.call(
|
|
8239
|
+
var Se, Qe, pt;
|
|
8240
|
+
for (pt = [], Se = 0, Qe = ln.length; Se < Qe; Se++)
|
|
8241
|
+
re = ln[Se], l.call(le.hiddenFromAggregators, re) < 0 && pt.push(re);
|
|
8242
8242
|
return pt;
|
|
8243
8243
|
}(), St = function() {
|
|
8244
|
-
var Se,
|
|
8245
|
-
for (pt = [], Se = 0,
|
|
8246
|
-
re = ln[Se], l.call(
|
|
8244
|
+
var Se, Qe, pt;
|
|
8245
|
+
for (pt = [], Se = 0, Qe = ln.length; Se < Qe; Se++)
|
|
8246
|
+
re = ln[Se], l.call(le.hiddenFromDragDrop, re) < 0 && pt.push(re);
|
|
8247
8247
|
return pt;
|
|
8248
|
-
}(), Gn = !1,
|
|
8248
|
+
}(), Gn = !1, le.unusedAttrsVertical === "auto" ? En = 120 : En = parseInt(le.unusedAttrsVertical), !isNaN(En)) {
|
|
8249
8249
|
for (H = 0, z = 0, Q = St.length; z < Q; z++)
|
|
8250
8250
|
N = St[z], H += N.length;
|
|
8251
8251
|
Gn = H > En;
|
|
8252
8252
|
}
|
|
8253
|
-
|
|
8254
|
-
var
|
|
8253
|
+
le.unusedAttrsVertical === !0 || Gn ? An.addClass("pvtVertList") : An.addClass("pvtHorizList"), $e = function(Se) {
|
|
8254
|
+
var Qe, pt, ht, nt, At, sn, kn, hn, kt, at, Xt, Kt, On, Yt, dt, Et, Nn, ct, Zt;
|
|
8255
8255
|
if (Zt = function() {
|
|
8256
8256
|
var gn;
|
|
8257
8257
|
gn = [];
|
|
8258
8258
|
for (dt in W[Se])
|
|
8259
8259
|
gn.push(dt);
|
|
8260
8260
|
return gn;
|
|
8261
|
-
}(), hn = !1, ct = f("<div>").addClass("pvtFilterBox").hide(), ct.append(f("<h4>").append(f("<span>").text(Se), f("<span>").addClass("count").text("(" + Zt.length + ")"))), Zt.length >
|
|
8262
|
-
ct.append(f("<p>").html(
|
|
8261
|
+
}(), hn = !1, ct = f("<div>").addClass("pvtFilterBox").hide(), ct.append(f("<h4>").append(f("<span>").text(Se), f("<span>").addClass("count").text("(" + Zt.length + ")"))), Zt.length > le.menuLimit)
|
|
8262
|
+
ct.append(f("<p>").html(le.localeStrings.tooMany));
|
|
8263
8263
|
else
|
|
8264
|
-
for (Zt.length > 5 && (nt = f("<p>").appendTo(ct), On = K(
|
|
8264
|
+
for (Zt.length > 5 && (nt = f("<p>").appendTo(ct), On = K(le.sorters, Se), Xt = le.localeStrings.filterResults, f("<input>", {
|
|
8265
8265
|
type: "text"
|
|
8266
8266
|
}).appendTo(nt).attr({
|
|
8267
8267
|
placeholder: Xt,
|
|
@@ -8282,25 +8282,25 @@ function xa() {
|
|
|
8282
8282
|
});
|
|
8283
8283
|
}), nt.append(f("<br>")), f("<button>", {
|
|
8284
8284
|
type: "button"
|
|
8285
|
-
}).appendTo(nt).html(
|
|
8285
|
+
}).appendTo(nt).html(le.localeStrings.selectAll).bind("click", function() {
|
|
8286
8286
|
return ct.find("input:visible:not(:checked)").prop("checked", !0).toggleClass("changed"), !1;
|
|
8287
8287
|
}), f("<button>", {
|
|
8288
8288
|
type: "button"
|
|
8289
|
-
}).appendTo(nt).html(
|
|
8289
|
+
}).appendTo(nt).html(le.localeStrings.selectNone).bind("click", function() {
|
|
8290
8290
|
return ct.find("input:visible:checked").prop("checked", !1).toggleClass("changed"), !1;
|
|
8291
|
-
})), pt = f("<div>").addClass("pvtCheckContainer").appendTo(ct), Kt = Zt.sort(K(
|
|
8292
|
-
Et = Kt[at], Nn = W[Se][Et], At = f("<label>"), sn = !1,
|
|
8291
|
+
})), pt = f("<div>").addClass("pvtCheckContainer").appendTo(ct), Kt = Zt.sort(K(le.sorters, Se)), at = 0, kt = Kt.length; at < kt; at++)
|
|
8292
|
+
Et = Kt[at], Nn = W[Se][Et], At = f("<label>"), sn = !1, le.inclusions[Se] ? sn = l.call(le.inclusions[Se], Et) < 0 : le.exclusions[Se] && (sn = l.call(le.exclusions[Se], Et) >= 0), hn || (hn = sn), f("<input>").attr("type", "checkbox").addClass("pvtFilter").attr("checked", !sn).data("filter", [Se, Et]).appendTo(At).bind("change", function() {
|
|
8293
8293
|
return f(this).toggleClass("changed");
|
|
8294
8294
|
}), At.append(f("<span>").addClass("value").text(Et)), At.append(f("<span>").addClass("count").text("(" + Nn + ")")), pt.append(f("<p>").append(At));
|
|
8295
8295
|
return ht = function() {
|
|
8296
|
-
return ct.find("[type='checkbox']").length > ct.find("[type='checkbox']:checked").length ?
|
|
8297
|
-
}, kn = f("<p>").appendTo(ct), Zt.length <=
|
|
8296
|
+
return ct.find("[type='checkbox']").length > ct.find("[type='checkbox']:checked").length ? Qe.addClass("pvtFilteredAttribute") : Qe.removeClass("pvtFilteredAttribute"), ct.find(".pvtSearch").val(""), ct.find(".pvtCheckContainer p").show(), ct.hide();
|
|
8297
|
+
}, kn = f("<p>").appendTo(ct), Zt.length <= le.menuLimit && f("<button>", {
|
|
8298
8298
|
type: "button"
|
|
8299
|
-
}).text(
|
|
8300
|
-
return ct.find(".changed").removeClass("changed").length &&
|
|
8299
|
+
}).text(le.localeStrings.apply).appendTo(kn).bind("click", function() {
|
|
8300
|
+
return ct.find(".changed").removeClass("changed").length && Be(), ht();
|
|
8301
8301
|
}), f("<button>", {
|
|
8302
8302
|
type: "button"
|
|
8303
|
-
}).text(
|
|
8303
|
+
}).text(le.localeStrings.cancel).appendTo(kn).bind("click", function() {
|
|
8304
8304
|
return ct.find(".changed:checked").removeClass("changed").prop("checked", !1), ct.find(".changed:not(:checked)").removeClass("changed").prop("checked", !0), ht();
|
|
8305
8305
|
}), Yt = f("<span>").addClass("pvtTriangle").html(" ▾").bind("click", function(gn) {
|
|
8306
8306
|
var Lt, xt, en;
|
|
@@ -8308,15 +8308,15 @@ function xa() {
|
|
|
8308
8308
|
left: Lt + 10,
|
|
8309
8309
|
top: en + 10
|
|
8310
8310
|
}).show();
|
|
8311
|
-
}),
|
|
8311
|
+
}), Qe = f("<li>").addClass("axis_" + je).append(f("<span>").addClass("pvtAttr").text(Se).data("attrName", Se).append(Yt)), hn && Qe.addClass("pvtFilteredAttribute"), An.append(Qe).append(ct);
|
|
8312
8312
|
};
|
|
8313
8313
|
for (je in St)
|
|
8314
8314
|
u.call(St, je) && (_ = St[je], $e(_));
|
|
8315
8315
|
pn = f("<tr>").appendTo(Qt), E = f("<select>").addClass("pvtAggregator").bind("change", function() {
|
|
8316
|
-
return
|
|
8317
|
-
}),
|
|
8318
|
-
for (yt in
|
|
8319
|
-
u.call(
|
|
8316
|
+
return Be();
|
|
8317
|
+
}), me = le.aggregators;
|
|
8318
|
+
for (yt in me)
|
|
8319
|
+
u.call(me, yt) && E.append(f("<option>").val(yt).html(yt));
|
|
8320
8320
|
for (_e = {
|
|
8321
8321
|
key_a_to_z: {
|
|
8322
8322
|
rowSymbol: "↕",
|
|
@@ -8335,28 +8335,28 @@ function xa() {
|
|
|
8335
8335
|
}
|
|
8336
8336
|
}, on = f("<a>", {
|
|
8337
8337
|
role: "button"
|
|
8338
|
-
}).addClass("pvtRowOrder").data("order",
|
|
8339
|
-
return f(this).data("order", _e[f(this).data("order")].next), f(this).html(_e[f(this).data("order")].rowSymbol),
|
|
8338
|
+
}).addClass("pvtRowOrder").data("order", le.rowOrder).html(_e[le.rowOrder].rowSymbol).bind("click", function() {
|
|
8339
|
+
return f(this).data("order", _e[f(this).data("order")].next), f(this).html(_e[f(this).data("order")].rowSymbol), Be();
|
|
8340
8340
|
}), ce = f("<a>", {
|
|
8341
8341
|
role: "button"
|
|
8342
|
-
}).addClass("pvtColOrder").data("order",
|
|
8343
|
-
return f(this).data("order", _e[f(this).data("order")].next), f(this).html(_e[f(this).data("order")].colSymbol),
|
|
8344
|
-
}), f("<td>").addClass("pvtVals pvtUiCell").appendTo(pn).append(E).append(on).append(ce).append(f("<br>")), f("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols pvtUiCell").appendTo(pn), ri = f("<tr>").appendTo(Qt), ri.append(f("<td>").addClass("pvtAxisContainer pvtRows pvtUiCell").attr("valign", "top")), rt = f("<td>").attr("valign", "top").addClass("pvtRendererArea").appendTo(ri),
|
|
8345
|
-
yt =
|
|
8346
|
-
for (
|
|
8347
|
-
yt =
|
|
8348
|
-
|
|
8342
|
+
}).addClass("pvtColOrder").data("order", le.colOrder).html(_e[le.colOrder].colSymbol).bind("click", function() {
|
|
8343
|
+
return f(this).data("order", _e[f(this).data("order")].next), f(this).html(_e[f(this).data("order")].colSymbol), Be();
|
|
8344
|
+
}), f("<td>").addClass("pvtVals pvtUiCell").appendTo(pn).append(E).append(on).append(ce).append(f("<br>")), f("<td>").addClass("pvtAxisContainer pvtHorizList pvtCols pvtUiCell").appendTo(pn), ri = f("<tr>").appendTo(Qt), ri.append(f("<td>").addClass("pvtAxisContainer pvtRows pvtUiCell").attr("valign", "top")), rt = f("<td>").attr("valign", "top").addClass("pvtRendererArea").appendTo(ri), le.unusedAttrsVertical === !0 || Gn ? (Qt.find("tr:nth-child(1)").prepend(Ct), Qt.find("tr:nth-child(2)").prepend(An)) : Qt.prepend(f("<tr>").append(Ct).append(An)), this.html(Qt), ae = le.cols, Pe = 0, B = ae.length; Pe < B; Pe++)
|
|
8345
|
+
yt = ae[Pe], this.find(".pvtCols").append(this.find(".axis_" + f.inArray(yt, St)));
|
|
8346
|
+
for (Ge = le.rows, Ie = 0, Me = Ge.length; Ie < Me; Ie++)
|
|
8347
|
+
yt = Ge[Ie], this.find(".pvtRows").append(this.find(".axis_" + f.inArray(yt, St)));
|
|
8348
|
+
le.aggregatorName != null && this.find(".pvtAggregator").val(le.aggregatorName), le.rendererName != null && this.find(".pvtRenderer").val(le.rendererName), le.showUI || this.find(".pvtUiCell").hide(), tt = !0, ut = /* @__PURE__ */ function(Se) {
|
|
8349
8349
|
return function() {
|
|
8350
|
-
var
|
|
8350
|
+
var Qe, pt, ht, nt, At, sn, kn, hn, kt, at, Xt, Kt, On, Yt;
|
|
8351
8351
|
if (at = {
|
|
8352
|
-
derivedAttributes:
|
|
8353
|
-
localeStrings:
|
|
8354
|
-
rendererOptions:
|
|
8355
|
-
sorters:
|
|
8352
|
+
derivedAttributes: le.derivedAttributes,
|
|
8353
|
+
localeStrings: le.localeStrings,
|
|
8354
|
+
rendererOptions: le.rendererOptions,
|
|
8355
|
+
sorters: le.sorters,
|
|
8356
8356
|
cols: [],
|
|
8357
8357
|
rows: [],
|
|
8358
|
-
dataClass:
|
|
8359
|
-
}, At = (hn =
|
|
8358
|
+
dataClass: le.dataClass
|
|
8359
|
+
}, At = (hn = le.aggregators[E.val()]([])().numInputs) != null ? hn : 0, Yt = [], Se.find(".pvtRows li span.pvtAttr").each(function() {
|
|
8360
8360
|
return at.rows.push(f(this).data("attrName"));
|
|
8361
8361
|
}), Se.find(".pvtCols li span.pvtAttr").each(function() {
|
|
8362
8362
|
return at.cols.push(f(this).data("attrName"));
|
|
@@ -8368,63 +8368,63 @@ function xa() {
|
|
|
8368
8368
|
}), At !== 0)
|
|
8369
8369
|
for (kn = Se.find(".pvtVals"), yt = Xt = 0, kt = At; 0 <= kt ? Xt < kt : Xt > kt; yt = 0 <= kt ? ++Xt : --Xt) {
|
|
8370
8370
|
for (nt = f("<select>").addClass("pvtAttrDropdown").append(f("<option>")).bind("change", function() {
|
|
8371
|
-
return
|
|
8371
|
+
return Be();
|
|
8372
8372
|
}), Kt = 0, ht = Ht.length; Kt < ht; Kt++)
|
|
8373
8373
|
_ = Ht[Kt], nt.append(f("<option>").val(_).text(_));
|
|
8374
8374
|
kn.append(nt);
|
|
8375
8375
|
}
|
|
8376
|
-
if (tt && (Yt =
|
|
8376
|
+
if (tt && (Yt = le.vals, je = 0, Se.find(".pvtVals select.pvtAttrDropdown").each(function() {
|
|
8377
8377
|
return f(this).val(Yt[je]), je++;
|
|
8378
|
-
}), tt = !1), at.aggregatorName = E.val(), at.vals = Yt, at.aggregator =
|
|
8378
|
+
}), tt = !1), at.aggregatorName = E.val(), at.vals = Yt, at.aggregator = le.aggregators[E.val()](Yt), at.renderer = le.renderers[qe.val()], at.rowOrder = on.data("order"), at.colOrder = ce.data("order"), Qe = {}, Se.find("input.pvtFilter").not(":checked").each(function() {
|
|
8379
8379
|
var dt;
|
|
8380
|
-
return dt = f(this).data("filter"),
|
|
8380
|
+
return dt = f(this).data("filter"), Qe[dt[0]] != null ? Qe[dt[0]].push(dt[1]) : Qe[dt[0]] = [dt[1]];
|
|
8381
8381
|
}), pt = {}, Se.find("input.pvtFilter:checked").each(function() {
|
|
8382
8382
|
var dt;
|
|
8383
|
-
if (dt = f(this).data("filter"),
|
|
8383
|
+
if (dt = f(this).data("filter"), Qe[dt[0]] != null)
|
|
8384
8384
|
return pt[dt[0]] != null ? pt[dt[0]].push(dt[1]) : pt[dt[0]] = [dt[1]];
|
|
8385
8385
|
}), at.filter = function(dt) {
|
|
8386
8386
|
var Et, Nn, ct, Zt;
|
|
8387
|
-
if (!
|
|
8387
|
+
if (!le.filter(dt))
|
|
8388
8388
|
return !1;
|
|
8389
|
-
for (Nn in
|
|
8390
|
-
if (Et =
|
|
8389
|
+
for (Nn in Qe)
|
|
8390
|
+
if (Et = Qe[Nn], ct = "" + ((Zt = dt[Nn]) != null ? Zt : "null"), l.call(Et, ct) >= 0)
|
|
8391
8391
|
return !1;
|
|
8392
8392
|
return !0;
|
|
8393
|
-
}, rt.pivot(
|
|
8393
|
+
}, rt.pivot(Ze, at), sn = f.extend({}, le, {
|
|
8394
8394
|
cols: at.cols,
|
|
8395
8395
|
rows: at.rows,
|
|
8396
8396
|
colOrder: at.colOrder,
|
|
8397
8397
|
rowOrder: at.rowOrder,
|
|
8398
8398
|
vals: Yt,
|
|
8399
|
-
exclusions:
|
|
8399
|
+
exclusions: Qe,
|
|
8400
8400
|
inclusions: pt,
|
|
8401
8401
|
inclusionsInfo: pt,
|
|
8402
8402
|
aggregatorName: E.val(),
|
|
8403
8403
|
rendererName: qe.val()
|
|
8404
|
-
}), Se.data("pivotUIOptions", sn),
|
|
8404
|
+
}), Se.data("pivotUIOptions", sn), le.autoSortUnusedAttrs && (On = Se.find("td.pvtUnused.pvtAxisContainer"), f(On).children("li").sort(function(dt, Et) {
|
|
8405
8405
|
return X(f(dt).text(), f(Et).text());
|
|
8406
|
-
}).appendTo(On)), rt.css("opacity", 1),
|
|
8407
|
-
return
|
|
8406
|
+
}).appendTo(On)), rt.css("opacity", 1), le.onRefresh != null)
|
|
8407
|
+
return le.onRefresh(sn);
|
|
8408
8408
|
};
|
|
8409
|
-
}(this),
|
|
8409
|
+
}(this), Be = /* @__PURE__ */ function(Se) {
|
|
8410
8410
|
return function() {
|
|
8411
8411
|
return rt.css("opacity", 0.5), setTimeout(ut, 10);
|
|
8412
8412
|
};
|
|
8413
|
-
}(this),
|
|
8414
|
-
update: function(Se,
|
|
8415
|
-
if (
|
|
8416
|
-
return
|
|
8413
|
+
}(this), Be(), this.find(".pvtAxisContainer").sortable({
|
|
8414
|
+
update: function(Se, Qe) {
|
|
8415
|
+
if (Qe.sender == null)
|
|
8416
|
+
return Be();
|
|
8417
8417
|
},
|
|
8418
8418
|
connectWith: this.find(".pvtAxisContainer"),
|
|
8419
8419
|
items: "li",
|
|
8420
8420
|
placeholder: "pvtPlaceholder"
|
|
8421
8421
|
});
|
|
8422
8422
|
} catch (Se) {
|
|
8423
|
-
Fe = Se, typeof console < "u" && console !== null && console.error(Fe.stack), this.html(
|
|
8423
|
+
Fe = Se, typeof console < "u" && console !== null && console.error(Fe.stack), this.html(le.localeStrings.uiRenderError);
|
|
8424
8424
|
}
|
|
8425
8425
|
return this;
|
|
8426
8426
|
}, f.fn.heatmap = function(b, T) {
|
|
8427
|
-
var P, O, N, E, _, H, W, re, ce,
|
|
8427
|
+
var P, O, N, E, _, H, W, re, ce, be, Fe;
|
|
8428
8428
|
switch (b == null && (b = "heatmap"), re = this.data("numrows"), W = this.data("numcols"), P = T != null && (ce = T.heatmap) != null ? ce.colorScaleGenerator : void 0, P == null && (P = function(Le) {
|
|
8429
8429
|
var $e, je;
|
|
8430
8430
|
return je = Math.min.apply(Math, Le), $e = Math.max.apply(Math, Le), function(tt) {
|
|
@@ -8451,7 +8451,7 @@ function xa() {
|
|
|
8451
8451
|
O(".pvtVal");
|
|
8452
8452
|
break;
|
|
8453
8453
|
case "rowheatmap":
|
|
8454
|
-
for (N = _ = 0,
|
|
8454
|
+
for (N = _ = 0, be = re; 0 <= be ? _ < be : _ > be; N = 0 <= be ? ++_ : --_)
|
|
8455
8455
|
O(".pvtVal.row" + N);
|
|
8456
8456
|
break;
|
|
8457
8457
|
case "colheatmap":
|
|
@@ -8463,7 +8463,7 @@ function xa() {
|
|
|
8463
8463
|
var T, P, O, N, E;
|
|
8464
8464
|
for (N = this.data("numrows"), this.data("numcols"), T = /* @__PURE__ */ function(_) {
|
|
8465
8465
|
return function(H) {
|
|
8466
|
-
var W, re, ce,
|
|
8466
|
+
var W, re, ce, be, Fe, Le;
|
|
8467
8467
|
return W = function($e) {
|
|
8468
8468
|
return _.find(H).each(function() {
|
|
8469
8469
|
var je;
|
|
@@ -8472,8 +8472,8 @@ function xa() {
|
|
|
8472
8472
|
});
|
|
8473
8473
|
}, Le = [], W(function($e) {
|
|
8474
8474
|
return Le.push($e);
|
|
8475
|
-
}), re = Math.max.apply(Math, Le), re < 0 && (re = 0),
|
|
8476
|
-
return 100 * $e / (1.4 *
|
|
8475
|
+
}), re = Math.max.apply(Math, Le), re < 0 && (re = 0), be = re, ce = Math.min.apply(Math, Le), ce < 0 && (be = re - ce), Fe = function($e) {
|
|
8476
|
+
return 100 * $e / (1.4 * be);
|
|
8477
8477
|
}, W(function($e, je) {
|
|
8478
8478
|
var tt, z, Q, B;
|
|
8479
8479
|
return Q = je.text(), B = f("<div>").css({
|
|
@@ -8618,9 +8618,9 @@ const Lu = $t({
|
|
|
8618
8618
|
lr(w, () => {
|
|
8619
8619
|
K();
|
|
8620
8620
|
}, { deep: !0 });
|
|
8621
|
-
let
|
|
8622
|
-
zt(() => clearInterval(
|
|
8623
|
-
u(e.visualization.options, !1), e.dataRefreshPeriod && (
|
|
8621
|
+
let ve = null;
|
|
8622
|
+
zt(() => clearInterval(ve)), jt(() => {
|
|
8623
|
+
u(e.visualization.options, !1), e.dataRefreshPeriod && (ve = setInterval(l, e.dataRefreshPeriod));
|
|
8624
8624
|
});
|
|
8625
8625
|
function X(ie) {
|
|
8626
8626
|
const ze = Array.from(ie.querySelectorAll("tr")), De = ze.length, o = Array.from({ length: De }, () => []), se = {};
|
|
@@ -8650,7 +8650,7 @@ const Lu = $t({
|
|
|
8650
8650
|
function ke(ie) {
|
|
8651
8651
|
return String(ie ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
8652
8652
|
}
|
|
8653
|
-
function
|
|
8653
|
+
function ye(ie, ze) {
|
|
8654
8654
|
var xe;
|
|
8655
8655
|
const De = (xe = x.value) == null ? void 0 : xe.querySelector("table.pvtTable");
|
|
8656
8656
|
if (!De)
|
|
@@ -8742,7 +8742,7 @@ ${T}
|
|
|
8742
8742
|
disabledColorClasses: F,
|
|
8743
8743
|
toggleColorClass: U,
|
|
8744
8744
|
exportAs(ie) {
|
|
8745
|
-
|
|
8745
|
+
ye(e.visualization.name || "pivot-table", ie);
|
|
8746
8746
|
},
|
|
8747
8747
|
getStyle(ie) {
|
|
8748
8748
|
return {
|
|
@@ -8881,7 +8881,7 @@ function Ku(e, r, s, l, p, g) {
|
|
|
8881
8881
|
}, qu, 2))
|
|
8882
8882
|
]),
|
|
8883
8883
|
st(S("div", Bu, [
|
|
8884
|
-
(k(!0), M(Ae, null,
|
|
8884
|
+
(k(!0), M(Ae, null, Ue(e.colorClasses, (u) => (k(), M("div", {
|
|
8885
8885
|
key: u.name,
|
|
8886
8886
|
class: bt(["pvt-legend-item", { "pvt-legend-item--off": e.disabledColorClasses.has(u.name) }]),
|
|
8887
8887
|
onClick: fn((f) => e.toggleColorClass(u), ["stop"])
|
|
@@ -8977,12 +8977,12 @@ function ta(e, { x: r = 0, y: s = 0, fontSize: l = 11, color: p = "#374151", fon
|
|
|
8977
8977
|
let K = "";
|
|
8978
8978
|
for (const ke of e.items)
|
|
8979
8979
|
K += `<circle cx="${D}" cy="${F - ke.radius}" r="${ke.radius}" fill="rgba(156,163,175,0.12)" stroke="#6b7280" stroke-width="1"/>`;
|
|
8980
|
-
let U = -1 / 0,
|
|
8980
|
+
let U = -1 / 0, ve = F;
|
|
8981
8981
|
for (const ke of e.items) {
|
|
8982
|
-
const
|
|
8983
|
-
U = ie,
|
|
8982
|
+
const ye = F - ke.radius * 2, ie = Math.max(ye, U + l + 1);
|
|
8983
|
+
U = ie, ve = Math.max(ve, ie + l / 2), K += `<polyline points="${D},${ye} ${ee - 4},${ye} ${ee},${ie}" fill="none" stroke="#9ca3af" stroke-width="1" stroke-dasharray="2,2"/>`, K += `<text x="${ee + 3}" y="${ie + l * 0.35}" font-size="${l}" font-family="${g}" fill="${ea(p)}">${ea(ke.label)}</text>`;
|
|
8984
8984
|
}
|
|
8985
|
-
const X =
|
|
8985
|
+
const X = ve - s + y;
|
|
8986
8986
|
return { markup: K, width: w, height: X };
|
|
8987
8987
|
}
|
|
8988
8988
|
const Yu = {
|
|
@@ -9766,7 +9766,7 @@ const Cd = {
|
|
|
9766
9766
|
needsGeoJSON: !1,
|
|
9767
9767
|
build(e, r) {
|
|
9768
9768
|
var ee, K, U;
|
|
9769
|
-
const s = vd(e, r.rawData), l = s.map((
|
|
9769
|
+
const s = vd(e, r.rawData), l = s.map((ve) => ve.value), p = $a(e, r.rawData), g = bd(e, r.t), u = r.t("components.mMap.rows"), f = ((ee = e.tooltip) == null ? void 0 : ee.valueDecimals) ?? 2, y = Un(r.t), x = ((K = e.colorScale) == null ? void 0 : K.mode) === "category" ? { ...e, colorScale: { ...e.colorScale, mode: "gradient" } } : e, w = Pi(x, l), D = {
|
|
9770
9770
|
type: "geoheatmap",
|
|
9771
9771
|
name: (U = e.legend) == null ? void 0 : U.name,
|
|
9772
9772
|
colorAxis: r.colorAxisIndex,
|
|
@@ -9784,13 +9784,13 @@ const Cd = {
|
|
|
9784
9784
|
tooltip: {
|
|
9785
9785
|
headerFormat: "",
|
|
9786
9786
|
pointFormatter() {
|
|
9787
|
-
var X, ke,
|
|
9788
|
-
const
|
|
9789
|
-
return e.valueKey &&
|
|
9787
|
+
var X, ke, ye;
|
|
9788
|
+
const ve = [[g, ur(this.value, f)]];
|
|
9789
|
+
return e.valueKey && ve.push([u, ur(this.options.count)]), Rn({
|
|
9790
9790
|
labels: y,
|
|
9791
9791
|
heading: (X = e.legend) == null ? void 0 : X.name,
|
|
9792
|
-
title: `${(ke = this.lat) == null ? void 0 : ke.toFixed(2)}, ${(
|
|
9793
|
-
rows:
|
|
9792
|
+
title: `${(ke = this.lat) == null ? void 0 : ke.toFixed(2)}, ${(ye = this.lon) == null ? void 0 : ye.toFixed(2)}`,
|
|
9793
|
+
rows: ve
|
|
9794
9794
|
});
|
|
9795
9795
|
}
|
|
9796
9796
|
},
|
|
@@ -9822,23 +9822,23 @@ const xd = {
|
|
|
9822
9822
|
var w, D, F, ee;
|
|
9823
9823
|
const s = ((w = e.legend) == null ? void 0 : w.dataClasses) || [], l = Un(r.t), p = [], g = /* @__PURE__ */ new Map();
|
|
9824
9824
|
for (const K of r.rawData) {
|
|
9825
|
-
const U = sa(K, e.fromLatVariable, e.fromLongVariable),
|
|
9826
|
-
if (!U || !
|
|
9825
|
+
const U = sa(K, e.fromLatVariable, e.fromLongVariable), ve = sa(K, e.toLatVariable, e.toLongVariable);
|
|
9826
|
+
if (!U || !ve)
|
|
9827
9827
|
continue;
|
|
9828
9828
|
const X = e.weightKey ? Ce(K[e.weightKey]) : 1;
|
|
9829
9829
|
if (X === null)
|
|
9830
9830
|
continue;
|
|
9831
|
-
const ke = gr(X, s),
|
|
9831
|
+
const ke = gr(X, s), ye = ua(K, e.fromNameVariable, U), ie = ua(K, e.toNameVariable, ve);
|
|
9832
9832
|
p.push({
|
|
9833
9833
|
from: U,
|
|
9834
|
-
to:
|
|
9834
|
+
to: ve,
|
|
9835
9835
|
weight: X,
|
|
9836
9836
|
color: ke >= 0 ? s[ke].color : e.color,
|
|
9837
9837
|
_ci: ke,
|
|
9838
9838
|
meta: { ...K },
|
|
9839
|
-
fromName:
|
|
9839
|
+
fromName: ye,
|
|
9840
9840
|
toName: ie
|
|
9841
|
-
}), g.set(`${U.lat}:${U.lon}`, { ...U, name:
|
|
9841
|
+
}), g.set(`${U.lat}:${U.lon}`, { ...U, name: ye }), g.set(`${ve.lat}:${ve.lon}`, { ...ve, name: ie });
|
|
9842
9842
|
}
|
|
9843
9843
|
const u = `flowmap-${r.lid}`, f = [{
|
|
9844
9844
|
id: u,
|
|
@@ -10061,31 +10061,31 @@ const Ad = $t({
|
|
|
10061
10061
|
const pe = _.value[H.value];
|
|
10062
10062
|
fe.push(ra(pe)), E.value = ((_e = pe == null ? void 0 : pe.provider) == null ? void 0 : _e.attribution) ?? "";
|
|
10063
10063
|
}
|
|
10064
|
-
const
|
|
10065
|
-
let
|
|
10064
|
+
const Ze = [], Pe = [];
|
|
10065
|
+
let Ie = z.layers.length, le = 0;
|
|
10066
10066
|
for (const pe of z.layers) {
|
|
10067
|
-
const
|
|
10067
|
+
const He = le++;
|
|
10068
10068
|
if (Ma(pe), !pe.visible)
|
|
10069
10069
|
continue;
|
|
10070
|
-
const
|
|
10071
|
-
let
|
|
10072
|
-
if (
|
|
10073
|
-
|
|
10070
|
+
const me = Mi(pe.type);
|
|
10071
|
+
let ae = null;
|
|
10072
|
+
if (me != null && me.needsGeoJSON && ((rt = pe.geoJSON) != null && rt.id) && (ae = await l(pe.geoJSON.id)), !me || me.needsGeoJSON && !ae) {
|
|
10073
|
+
Ie--;
|
|
10074
10074
|
continue;
|
|
10075
10075
|
}
|
|
10076
|
-
const
|
|
10076
|
+
const Ge = me.build(pe, {
|
|
10077
10077
|
t: r,
|
|
10078
10078
|
rawData: Q,
|
|
10079
|
-
geoJSON:
|
|
10080
|
-
colorAxisIndex:
|
|
10081
|
-
lid:
|
|
10082
|
-
index:
|
|
10079
|
+
geoJSON: ae,
|
|
10080
|
+
colorAxisIndex: Ze.length,
|
|
10081
|
+
lid: He,
|
|
10082
|
+
index: Ie,
|
|
10083
10083
|
projectId: e.projectId,
|
|
10084
10084
|
expId: e.expId,
|
|
10085
|
-
fileUrl:
|
|
10085
|
+
fileUrl: ve,
|
|
10086
10086
|
registerViewer: X
|
|
10087
10087
|
});
|
|
10088
|
-
fe.push(...
|
|
10088
|
+
fe.push(...Ge.series), Ze.push(...Ge.colorAxis || []), Ge.legend && Pe.push(Ge.legend), Ie--;
|
|
10089
10089
|
}
|
|
10090
10090
|
return N.value = Pe, {
|
|
10091
10091
|
chart: B,
|
|
@@ -10128,7 +10128,7 @@ const Ad = $t({
|
|
|
10128
10128
|
symbolHeight: 14,
|
|
10129
10129
|
maxHeight: 0
|
|
10130
10130
|
},
|
|
10131
|
-
colorAxis:
|
|
10131
|
+
colorAxis: Ze,
|
|
10132
10132
|
series: fe,
|
|
10133
10133
|
credits: {
|
|
10134
10134
|
enabled: !1
|
|
@@ -10177,7 +10177,7 @@ const Ad = $t({
|
|
|
10177
10177
|
}
|
|
10178
10178
|
let x = null, w = null;
|
|
10179
10179
|
const D = /* @__PURE__ */ new Map(), F = te(null), ee = te(!1), K = te(!1), U = te(!1);
|
|
10180
|
-
function
|
|
10180
|
+
function ve(z) {
|
|
10181
10181
|
var B, Me;
|
|
10182
10182
|
const Q = Ao();
|
|
10183
10183
|
return Q != null && Q.fileUrl ? Q.fileUrl(e.projectId, e.expId, z, (Me = (B = e.visualization) == null ? void 0 : B.dataQuery) == null ? void 0 : Me.id) : `/api/projects/${e.projectId}/experiments/${e.expId}/forms/files/${z}`;
|
|
@@ -10188,11 +10188,11 @@ const Ad = $t({
|
|
|
10188
10188
|
function ke() {
|
|
10189
10189
|
ee.value = !1;
|
|
10190
10190
|
}
|
|
10191
|
-
function
|
|
10191
|
+
function ye(z) {
|
|
10192
10192
|
z.key === "Escape" && ke();
|
|
10193
10193
|
}
|
|
10194
10194
|
lr(ee, (z) => {
|
|
10195
|
-
z ? window.addEventListener("keydown",
|
|
10195
|
+
z ? window.addEventListener("keydown", ye) : window.removeEventListener("keydown", ye);
|
|
10196
10196
|
});
|
|
10197
10197
|
function ie(z) {
|
|
10198
10198
|
const Q = D.get(z);
|
|
@@ -10209,7 +10209,7 @@ const Ad = $t({
|
|
|
10209
10209
|
) ?? null;
|
|
10210
10210
|
}
|
|
10211
10211
|
function G(z, Q) {
|
|
10212
|
-
var Pe,
|
|
10212
|
+
var Pe, Ie, le;
|
|
10213
10213
|
const B = N.value[z];
|
|
10214
10214
|
if (!B || B.toggleable === !1)
|
|
10215
10215
|
return;
|
|
@@ -10218,11 +10218,11 @@ const Ad = $t({
|
|
|
10218
10218
|
const fe = se(B);
|
|
10219
10219
|
if (!fe || !((Pe = B.dataClasses) != null && Pe[Q]))
|
|
10220
10220
|
return;
|
|
10221
|
-
const
|
|
10222
|
-
(
|
|
10221
|
+
const Ze = Mi((Ie = fe.userOptions.mosDBOptions) == null ? void 0 : Ie.type);
|
|
10222
|
+
(le = Ze == null ? void 0 : Ze.toggle) == null || le.call(Ze, x, fe, B, Q, Oe), x.redraw(!1);
|
|
10223
10223
|
}
|
|
10224
10224
|
function ge() {
|
|
10225
|
-
var
|
|
10225
|
+
var He, me;
|
|
10226
10226
|
if (!x)
|
|
10227
10227
|
return;
|
|
10228
10228
|
const z = e.visualization.options.view;
|
|
@@ -10231,17 +10231,19 @@ const Ad = $t({
|
|
|
10231
10231
|
return;
|
|
10232
10232
|
}
|
|
10233
10233
|
let Q = null;
|
|
10234
|
-
for (const
|
|
10235
|
-
const
|
|
10236
|
-
Q = dd(Q,
|
|
10234
|
+
for (const ae of u()) {
|
|
10235
|
+
const Ge = ae.userOptions.mosDBOptions, Be = (me = (He = Mi(Ge.type)) == null ? void 0 : He.bounds) == null ? void 0 : me.call(He, ae, Ge, T.value);
|
|
10236
|
+
Q = dd(Q, Be);
|
|
10237
10237
|
}
|
|
10238
10238
|
if (!Q)
|
|
10239
10239
|
return;
|
|
10240
|
-
const [B, Me, Oe, fe] = Q,
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10240
|
+
const [B, Me, Oe, fe] = Q, Ze = Oe - B < 0.01 ? 0.05 : 0, Pe = fe - Me < 0.01 ? 0.05 : 0, Ie = x.mapView.projection, [le, _e] = Ie.forward([B - Ze, Me - Pe]), [rt, pe] = Ie.forward([Oe + Ze, fe + Pe]);
|
|
10241
|
+
x.mapView.fitToBounds({
|
|
10242
|
+
x1: Math.min(le, rt),
|
|
10243
|
+
y1: Math.min(_e, pe),
|
|
10244
|
+
x2: Math.max(le, rt),
|
|
10245
|
+
y2: Math.max(_e, pe)
|
|
10246
|
+
}, g, !0), ze = x.mapView.center ? [...x.mapView.center] : null, De = x.mapView.zoom ?? null;
|
|
10245
10247
|
}
|
|
10246
10248
|
const xe = te(!1), we = te(!!e.visualization.options.minimizeLegend || window.innerWidth < 600);
|
|
10247
10249
|
lr(() => e.visualization.options.minimizeLegend, (z) => {
|
|
@@ -10256,12 +10258,12 @@ const Ad = $t({
|
|
|
10256
10258
|
if (!x || !Q)
|
|
10257
10259
|
return;
|
|
10258
10260
|
const B = x.series.find((Oe) => {
|
|
10259
|
-
var fe,
|
|
10260
|
-
return (
|
|
10261
|
+
var fe, Ze;
|
|
10262
|
+
return (Ze = (fe = Oe.userOptions) == null ? void 0 : fe.mosDBOptions) == null ? void 0 : Ze._isBasemap;
|
|
10261
10263
|
});
|
|
10262
10264
|
B && B.remove(!1), x.addSeries(ra(Q), !1), x.redraw(!1), E.value = ((Me = Q.provider) == null ? void 0 : Me.attribution) ?? "";
|
|
10263
10265
|
}
|
|
10264
|
-
function
|
|
10266
|
+
function be(z) {
|
|
10265
10267
|
if (z === H.value) {
|
|
10266
10268
|
W.value = !1;
|
|
10267
10269
|
return;
|
|
@@ -10273,7 +10275,7 @@ const Ad = $t({
|
|
|
10273
10275
|
(z = O.value) == null || z.addEventListener("error", oa, !0), f(e.visualization.options, !1), e.dataRefreshPeriod && (w = setInterval(() => f(e.visualization.options, !0), e.dataRefreshPeriod));
|
|
10274
10276
|
}), zt(() => {
|
|
10275
10277
|
var z;
|
|
10276
|
-
(z = O.value) == null || z.removeEventListener("error", oa, !0), window.removeEventListener("keydown",
|
|
10278
|
+
(z = O.value) == null || z.removeEventListener("error", oa, !0), window.removeEventListener("keydown", ye), w && clearInterval(w), x && (x.destroy(), x = null);
|
|
10277
10279
|
});
|
|
10278
10280
|
function Fe(z) {
|
|
10279
10281
|
return String(z ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
@@ -10281,40 +10283,40 @@ const Ad = $t({
|
|
|
10281
10283
|
function Le(z, Q) {
|
|
10282
10284
|
if (!N.value.length)
|
|
10283
10285
|
return "";
|
|
10284
|
-
const B = 12, Me = 11, Oe = 18, fe = 17,
|
|
10286
|
+
const B = 12, Me = 11, Oe = 18, fe = 17, Ze = 34, Pe = 32, Ie = Math.max(175, ...N.value.map((ut) => ut.bubbles ? ut.bubbles.svg.width + 2 * B : 0)), le = "-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif";
|
|
10285
10287
|
let _e = B;
|
|
10286
10288
|
for (let ut = 0; ut < N.value.length; ut++) {
|
|
10287
10289
|
const qe = N.value[ut];
|
|
10288
|
-
ut > 0 && (_e += 6), (qe.name || N.value.length > 1) && (_e += fe), _e += qe.dataClasses.length * Oe + B, qe.gradient && (_e +=
|
|
10290
|
+
ut > 0 && (_e += 6), (qe.name || N.value.length > 1) && (_e += fe), _e += qe.dataClasses.length * Oe + B, qe.gradient && (_e += Ze), qe.noData && (_e += Oe), qe.bubbles && (_e += (qe.bubbles.title ? fe : 0) + qe.bubbles.svg.height + 6);
|
|
10289
10291
|
}
|
|
10290
|
-
const rt = Pe + _e, pe = je.value === "bottom-right" ? z -
|
|
10291
|
-
let
|
|
10292
|
-
|
|
10293
|
-
const
|
|
10292
|
+
const rt = Pe + _e, pe = je.value === "bottom-right" ? z - Ie - B - 8 : B + 8, He = Q - rt - B - 24;
|
|
10293
|
+
let me = `<g id="export-legend" font-family="${le}">`;
|
|
10294
|
+
me += `<rect x="${pe + 2}" y="${He + 2}" width="${Ie}" height="${rt}" rx="10" fill="rgba(0,0,0,0.08)"/>`, me += `<rect x="${pe}" y="${He}" width="${Ie}" height="${rt}" rx="10" fill="rgba(255,255,255,0.97)" stroke="rgba(0,0,0,0.09)" stroke-width="1"/>`, me += `<rect x="${pe}" y="${He}" width="${Ie}" height="${Pe}" rx="10" fill="#f3f4f6"/>`, me += `<rect x="${pe}" y="${He + Pe - 8}" width="${Ie}" height="8" fill="#f3f4f6"/>`, me += `<line x1="${pe}" y1="${He + Pe}" x2="${pe + Ie}" y2="${He + Pe}" stroke="#e5e7eb" stroke-width="1"/>`;
|
|
10295
|
+
const ae = pe + B, Ge = He + 9;
|
|
10294
10296
|
["#009551", "#009551", "#009551"].forEach((ut, qe) => {
|
|
10295
|
-
|
|
10296
|
-
}),
|
|
10297
|
-
let
|
|
10297
|
+
me += `<rect x="${ae}" y="${Ge + qe * 6}" width="4" height="4" rx="1" fill="${ut}"/>`, me += `<line x1="${ae + 7}" y1="${Ge + qe * 6 + 2}" x2="${ae + 18}" y2="${Ge + qe * 6 + 2}" stroke="#6b7280" stroke-width="1.5" stroke-linecap="round"/>`;
|
|
10298
|
+
}), me += `<text x="${pe + B + 26}" y="${He + 21}" font-size="11" font-weight="700" fill="#111827">${Fe(r("components.mMap.legend"))}</text>`;
|
|
10299
|
+
let Be = He + Pe + B;
|
|
10298
10300
|
for (let ut = 0; ut < N.value.length; ut++) {
|
|
10299
10301
|
const qe = N.value[ut];
|
|
10300
|
-
if (ut > 0 && (
|
|
10302
|
+
if (ut > 0 && (me += `<line x1="${pe + 8}" y1="${Be - 3}" x2="${pe + Ie - 8}" y2="${Be - 3}" stroke="#f3f4f6" stroke-width="1"/>`, Be += 5), qe.name || N.value.length > 1) {
|
|
10301
10303
|
const Ct = Fe((qe.name || r("components.mMap.untitled")).toUpperCase()), on = qe.name ? "#6b7280" : "#9ca3af";
|
|
10302
|
-
|
|
10304
|
+
me += `<text x="${pe + B}" y="${Be + 11}" font-size="9" font-weight="700" fill="${on}" letter-spacing="0.8">${Ct}</text>`, Be += fe;
|
|
10303
10305
|
}
|
|
10304
10306
|
for (const Ct of qe.dataClasses)
|
|
10305
|
-
|
|
10307
|
+
me += `<rect x="${pe + B}" y="${Be + 1}" width="${Me}" height="${Me}" rx="2" fill="${Fe(Ct.color || "#ccc")}" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, me += `<text x="${pe + B + Me + 7}" y="${Be + 11}" font-size="11" fill="#374151">${Fe(Ct.name || "")}</text>`, Be += Oe;
|
|
10306
10308
|
if (qe.gradient) {
|
|
10307
|
-
const Ct = `export-legend-gradient-${ut}`, on =
|
|
10308
|
-
|
|
10309
|
+
const Ct = `export-legend-gradient-${ut}`, on = Ie - 2 * B;
|
|
10310
|
+
me += `<defs><linearGradient id="${Ct}" x1="0" y1="0" x2="1" y2="0"><stop offset="0" stop-color="${Fe(qe.gradient.minColor)}"/><stop offset="1" stop-color="${Fe(qe.gradient.maxColor)}"/></linearGradient></defs>`, me += `<rect x="${pe + B}" y="${Be + 2}" width="${on}" height="10" rx="2" fill="url(#${Ct})" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, me += `<text x="${pe + B}" y="${Be + 26}" font-size="10" fill="#374151">${Fe($e(qe.gradient.min))}</text>`, me += `<text x="${pe + B + on}" y="${Be + 26}" font-size="10" fill="#374151" text-anchor="end">${Fe($e(qe.gradient.max))}</text>`, Be += Ze;
|
|
10309
10311
|
}
|
|
10310
|
-
if (qe.noData && (
|
|
10311
|
-
|
|
10312
|
-
const Ct = ta(qe.bubbles, { x: pe + B, y:
|
|
10313
|
-
|
|
10312
|
+
if (qe.noData && (me += `<rect x="${pe + B}" y="${Be + 1}" width="${Me}" height="${Me}" rx="2" fill="${Fe(qe.noData.color)}" stroke="rgba(0,0,0,0.12)" stroke-width="0.5"/>`, me += `<text x="${pe + B + Me + 7}" y="${Be + 11}" font-size="11" fill="#374151">${Fe(qe.noData.label)}</text>`, Be += Oe), qe.bubbles) {
|
|
10313
|
+
Be += 4, qe.bubbles.title && (me += `<text x="${pe + B}" y="${Be + 11}" font-size="11" fill="#374151">${Fe(qe.bubbles.title)}</text>`, Be += fe);
|
|
10314
|
+
const Ct = ta(qe.bubbles, { x: pe + B, y: Be, fontFamily: le, color: "#374151" });
|
|
10315
|
+
me += Ct.markup, Be += Ct.height + 2;
|
|
10314
10316
|
}
|
|
10315
|
-
|
|
10317
|
+
Be += B / 2;
|
|
10316
10318
|
}
|
|
10317
|
-
return
|
|
10319
|
+
return me += "</g>", me;
|
|
10318
10320
|
}
|
|
10319
10321
|
function $e(z) {
|
|
10320
10322
|
return z == null ? "" : Z.numberFormat(z, Number.isInteger(z) ? 0 : -1, ".", ",");
|
|
@@ -10329,16 +10331,16 @@ const Ad = $t({
|
|
|
10329
10331
|
const fe = Oe[2];
|
|
10330
10332
|
if (!Me.has(fe))
|
|
10331
10333
|
try {
|
|
10332
|
-
const Pe = await (await fetch(fe, { mode: "cors" })).blob(),
|
|
10334
|
+
const Pe = await (await fetch(fe, { mode: "cors" })).blob(), Ie = await new Promise((le, _e) => {
|
|
10333
10335
|
const rt = new FileReader();
|
|
10334
|
-
rt.onload = () =>
|
|
10336
|
+
rt.onload = () => le(rt.result), rt.onerror = _e, rt.readAsDataURL(Pe);
|
|
10335
10337
|
});
|
|
10336
|
-
Me.set(fe,
|
|
10338
|
+
Me.set(fe, Ie);
|
|
10337
10339
|
} catch {
|
|
10338
10340
|
}
|
|
10339
|
-
})), z.replace(Q, (Oe, fe,
|
|
10340
|
-
const
|
|
10341
|
-
return
|
|
10341
|
+
})), z.replace(Q, (Oe, fe, Ze, Pe) => {
|
|
10342
|
+
const Ie = Me.get(Ze);
|
|
10343
|
+
return Ie ? fe + Ie + Pe : Oe;
|
|
10342
10344
|
});
|
|
10343
10345
|
}
|
|
10344
10346
|
return {
|
|
@@ -10351,7 +10353,7 @@ const Ad = $t({
|
|
|
10351
10353
|
activeBasemapIndex: H,
|
|
10352
10354
|
basemapPanelOpen: W,
|
|
10353
10355
|
activeBasemapName: re,
|
|
10354
|
-
onSelectBasemap:
|
|
10356
|
+
onSelectBasemap: be,
|
|
10355
10357
|
formatLegendNumber: $e,
|
|
10356
10358
|
basemapName: (z, Q) => ia(z, Q, r("components.mMap.basemap")),
|
|
10357
10359
|
basemapThumb: td,
|
|
@@ -10417,7 +10419,7 @@ const Ad = $t({
|
|
|
10417
10419
|
}
|
|
10418
10420
|
};
|
|
10419
10421
|
}
|
|
10420
|
-
}), an = (e) => (Gt("data-v-
|
|
10422
|
+
}), an = (e) => (Gt("data-v-631100a6"), e = e(), Jt(), e), kd = {
|
|
10421
10423
|
key: 0,
|
|
10422
10424
|
id: "loading-spinner",
|
|
10423
10425
|
class: "spinner-overlay"
|
|
@@ -10640,7 +10642,7 @@ function $c(e, r, s, l, p, g) {
|
|
|
10640
10642
|
}, Fd, 2))
|
|
10641
10643
|
]),
|
|
10642
10644
|
st(S("div", $d, [
|
|
10643
|
-
(k(!0), M(Ae, null,
|
|
10645
|
+
(k(!0), M(Ae, null, Ue(e.legends, (u, f) => (k(), M("div", {
|
|
10644
10646
|
key: f,
|
|
10645
10647
|
class: bt(["legend-group", { "legend-group--divider": f > 0 }])
|
|
10646
10648
|
}, [
|
|
@@ -10650,7 +10652,7 @@ function $c(e, r, s, l, p, g) {
|
|
|
10650
10652
|
style: ot(e.getStyle(u.style))
|
|
10651
10653
|
}, Y(u.name || e.t("components.mMap.untitled")), 7)) : oe("", !0),
|
|
10652
10654
|
S("div", Pd, [
|
|
10653
|
-
(k(!0), M(Ae, null,
|
|
10655
|
+
(k(!0), M(Ae, null, Ue(u.dataClasses, (y, x) => (k(), M("div", {
|
|
10654
10656
|
key: x,
|
|
10655
10657
|
class: bt(["dc-item", { "dc-item--off": e.isDisabled(f, x), "dc-item--static": u.toggleable === !1 }]),
|
|
10656
10658
|
onClick: fn((w) => e.toggleDataClass(f, x), ["stop"])
|
|
@@ -10742,7 +10744,7 @@ function $c(e, r, s, l, p, g) {
|
|
|
10742
10744
|
default: hi(() => [
|
|
10743
10745
|
e.basemapPanelOpen ? (k(), M("div", nc, [
|
|
10744
10746
|
S("div", ic, Y(e.t("components.mMap.basemap")), 1),
|
|
10745
|
-
(k(!0), M(Ae, null,
|
|
10747
|
+
(k(!0), M(Ae, null, Ue(e.basemaps, (u, f) => (k(), M("button", {
|
|
10746
10748
|
key: f,
|
|
10747
10749
|
type: "button",
|
|
10748
10750
|
class: bt(["bm-item", { "bm-item--active": f === e.activeBasemapIndex }]),
|
|
@@ -10817,7 +10819,7 @@ function $c(e, r, s, l, p, g) {
|
|
|
10817
10819
|
]),
|
|
10818
10820
|
S("div", kc, [
|
|
10819
10821
|
S("div", Lc, Y(e.t("components.mMap.details")), 1),
|
|
10820
|
-
(k(!0), M(Ae, null,
|
|
10822
|
+
(k(!0), M(Ae, null, Ue(e.viewer.rows, (u, f) => (k(), M("div", {
|
|
10821
10823
|
key: f,
|
|
10822
10824
|
class: "img-viewer-row"
|
|
10823
10825
|
}, [
|
|
@@ -10851,7 +10853,7 @@ function $c(e, r, s, l, p, g) {
|
|
|
10851
10853
|
e.errorMessage && !e.loading ? (k(), M("div", Fc, Y(e.errorMessage), 1)) : oe("", !0)
|
|
10852
10854
|
], 64);
|
|
10853
10855
|
}
|
|
10854
|
-
const Pc = /* @__PURE__ */ Rt(Ad, [["render", $c], ["__scopeId", "data-v-
|
|
10856
|
+
const Pc = /* @__PURE__ */ Rt(Ad, [["render", $c], ["__scopeId", "data-v-631100a6"]]);
|
|
10855
10857
|
function da() {
|
|
10856
10858
|
return {
|
|
10857
10859
|
nameKey: null,
|
|
@@ -10901,26 +10903,26 @@ function Ec(e) {
|
|
|
10901
10903
|
}
|
|
10902
10904
|
function qc(e, r, s) {
|
|
10903
10905
|
var ke;
|
|
10904
|
-
const l = Rc(e), p = Pn(l), g = l.legend.dataClasses || [], u = !!(l.xKey && l.yKey), f = (ke = l.layout) != null && ke.length ? l.layout : Ic(r.map((
|
|
10905
|
-
for (const
|
|
10906
|
-
const ie =
|
|
10906
|
+
const l = Rc(e), p = Pn(l), g = l.legend.dataClasses || [], u = !!(l.xKey && l.yKey), f = (ke = l.layout) != null && ke.length ? l.layout : Ic(r.map((ye) => ye[l.nameKey])), y = new Map(f.map((ye) => [String(ye.name), ye])), x = l.tileShape === "hexagon", w = (ye, ie) => x ? { x: ie, y: ye } : { x: ye, y: ie }, D = [], F = /* @__PURE__ */ new Set();
|
|
10907
|
+
for (const ye of r) {
|
|
10908
|
+
const ie = ye[l.nameKey], ze = u ? { x: Ce(ye[l.xKey]), y: Ce(ye[l.yKey]) } : y.get(String(ie));
|
|
10907
10909
|
if (!ze || Ce(ze.x) === null || Ce(ze.y) === null)
|
|
10908
10910
|
continue;
|
|
10909
10911
|
F.add(String(ie));
|
|
10910
|
-
const De = { ...w(Ce(ze.x), Ce(ze.y)), name: ie ?? "", meta: { ...
|
|
10912
|
+
const De = { ...w(Ce(ze.x), Ce(ze.y)), name: ie ?? "", meta: { ...ye } };
|
|
10911
10913
|
if (p === "category") {
|
|
10912
|
-
const o = mr(
|
|
10913
|
-
De.value = o >= 0 ? o : null, De.categoryLabel =
|
|
10914
|
+
const o = mr(ye[l.valueKey], g);
|
|
10915
|
+
De.value = o >= 0 ? o : null, De.categoryLabel = ye[l.valueKey];
|
|
10914
10916
|
} else
|
|
10915
|
-
De.value = Ce(
|
|
10917
|
+
De.value = Ce(ye[l.valueKey]);
|
|
10916
10918
|
D.push(De);
|
|
10917
10919
|
}
|
|
10918
10920
|
if (!u)
|
|
10919
|
-
for (const
|
|
10920
|
-
F.has(String(
|
|
10921
|
-
const ee = D.map((
|
|
10922
|
-
dataClasses: g.map((
|
|
10923
|
-
} : Pi(l, ee), U = p === "gradient" || g.length > 0,
|
|
10921
|
+
for (const ye of f)
|
|
10922
|
+
F.has(String(ye.name)) || Ce(ye.x) === null || Ce(ye.y) === null || D.push({ ...w(Ce(ye.x), Ce(ye.y)), name: ye.name, value: null, meta: null });
|
|
10923
|
+
const ee = D.map((ye) => ye.value), K = p === "category" ? {
|
|
10924
|
+
dataClasses: g.map((ye, ie) => ({ from: ie, to: ie, color: ye.color, name: ye.name }))
|
|
10925
|
+
} : Pi(l, ee), U = p === "gradient" || g.length > 0, ve = l.legend.style || {}, X = Un(s);
|
|
10924
10926
|
return {
|
|
10925
10927
|
chart: { type: "tilemap", inverted: x, spacing: [10, 10, 10, 10] },
|
|
10926
10928
|
title: {
|
|
@@ -10950,10 +10952,10 @@ function qc(e, r, s) {
|
|
|
10950
10952
|
enabled: U,
|
|
10951
10953
|
title: { text: l.legend.name || null, style: { fontWeight: "600" } },
|
|
10952
10954
|
itemStyle: {
|
|
10953
|
-
fontSize:
|
|
10954
|
-
color:
|
|
10955
|
-
fontWeight:
|
|
10956
|
-
fontStyle:
|
|
10955
|
+
fontSize: ve.size || "12px",
|
|
10956
|
+
color: ve.color || "#374151",
|
|
10957
|
+
fontWeight: ve.fontWeight || "normal",
|
|
10958
|
+
fontStyle: ve.fontStyle || "normal"
|
|
10957
10959
|
},
|
|
10958
10960
|
align: "left",
|
|
10959
10961
|
verticalAlign: "bottom",
|
|
@@ -11113,8 +11115,8 @@ const Gc = $t({
|
|
|
11113
11115
|
}), ee = Ut(() => Math.max(1, Math.ceil(F.value.length / x))), K = Ut(() => {
|
|
11114
11116
|
const se = (y.value - 1) * x;
|
|
11115
11117
|
return F.value.slice(se, se + x);
|
|
11116
|
-
}), U = Ut(() => e.visualization.options.style.dataClasses || []),
|
|
11117
|
-
function
|
|
11118
|
+
}), U = Ut(() => e.visualization.options.style.dataClasses || []), ve = Ut(() => e.visualization.options.style.colorVariables || []), X = te(!1), ke = te(/* @__PURE__ */ new Set());
|
|
11119
|
+
function ye(se) {
|
|
11118
11120
|
const G = new Set(ke.value);
|
|
11119
11121
|
G.has(se.name) ? G.delete(se.name) : G.add(se.name), ke.value = G;
|
|
11120
11122
|
}
|
|
@@ -11126,9 +11128,9 @@ const Gc = $t({
|
|
|
11126
11128
|
return `rgba(${xe},${we},${b},${G})`;
|
|
11127
11129
|
}
|
|
11128
11130
|
function ze(se, G) {
|
|
11129
|
-
if (!U.value.length || !
|
|
11131
|
+
if (!U.value.length || !ve.value.length)
|
|
11130
11132
|
return {};
|
|
11131
|
-
if (!
|
|
11133
|
+
if (!ve.value.includes(se.valueKey))
|
|
11132
11134
|
return {};
|
|
11133
11135
|
if (G == null)
|
|
11134
11136
|
return {};
|
|
@@ -11176,13 +11178,13 @@ const Gc = $t({
|
|
|
11176
11178
|
const H = typeof N == "number" ? N : parseFloat(String(N).replace(/,/g, ""));
|
|
11177
11179
|
if (isNaN(H))
|
|
11178
11180
|
return _;
|
|
11179
|
-
const W = b.find((
|
|
11181
|
+
const W = b.find((be) => H >= Number(be.startValue) && H <= Number(be.endValue));
|
|
11180
11182
|
if (!W)
|
|
11181
11183
|
return _;
|
|
11182
11184
|
const re = ie(W.color, 0.13), ce = ie(W.color, 0.45);
|
|
11183
11185
|
return `<span style="display:inline-block;padding:1px 9px;border-radius:4px;font-weight:600;background:${re};border:1.5px solid ${ce};color:${W.color}">${_}</span>`;
|
|
11184
11186
|
};
|
|
11185
|
-
const we = ge.map((O) => O.label || O.valueKey || ""), b = U.value, T =
|
|
11187
|
+
const we = ge.map((O) => O.label || O.valueKey || ""), b = U.value, T = ve.value;
|
|
11186
11188
|
if (se === "PDF") {
|
|
11187
11189
|
let O = `<h2>${G}</h2><table><thead><tr>`;
|
|
11188
11190
|
O += we.map((E) => `<th>${E}</th>`).join(""), O += "</tr></thead><tbody>";
|
|
@@ -11249,10 +11251,10 @@ tr:nth-child(even) td{background:var(--m-surface-2)}
|
|
|
11249
11251
|
totalPages: ee,
|
|
11250
11252
|
pagedRows: K,
|
|
11251
11253
|
colorClasses: U,
|
|
11252
|
-
colorVariables:
|
|
11254
|
+
colorVariables: ve,
|
|
11253
11255
|
legendCollapsed: X,
|
|
11254
11256
|
disabledColorClasses: ke,
|
|
11255
|
-
toggleColorClass:
|
|
11257
|
+
toggleColorClass: ye,
|
|
11256
11258
|
onSortClick: D,
|
|
11257
11259
|
getCellStyle: ze,
|
|
11258
11260
|
exportAs: o,
|
|
@@ -11502,11 +11504,11 @@ function Yf(e, r, s, l, p, g) {
|
|
|
11502
11504
|
return e.loading ? (k(), M("div", Jc, [
|
|
11503
11505
|
Qc,
|
|
11504
11506
|
S("div", Xc, [
|
|
11505
|
-
(k(), M(Ae, null,
|
|
11507
|
+
(k(), M(Ae, null, Ue(8, (u) => S("div", {
|
|
11506
11508
|
class: "nt-sk-row",
|
|
11507
11509
|
key: u
|
|
11508
11510
|
}, [
|
|
11509
|
-
(k(!0), M(Ae, null,
|
|
11511
|
+
(k(!0), M(Ae, null, Ue(Math.max(1, e.visualization.options.series.length), (f) => (k(), M("div", {
|
|
11510
11512
|
class: "nt-sk-cell",
|
|
11511
11513
|
key: f,
|
|
11512
11514
|
style: ot({ width: 60 + f * 13 % 30 + "%" })
|
|
@@ -11569,7 +11571,7 @@ function Yf(e, r, s, l, p, g) {
|
|
|
11569
11571
|
S("thead", null, [
|
|
11570
11572
|
S("tr", null, [
|
|
11571
11573
|
mf,
|
|
11572
|
-
(k(!0), M(Ae, null,
|
|
11574
|
+
(k(!0), M(Ae, null, Ue(e.visualization.options.series, (u, f) => (k(), M("th", {
|
|
11573
11575
|
key: f,
|
|
11574
11576
|
class: bt(["nt-th", { "nt-th--num": u.isNumber }]),
|
|
11575
11577
|
onClick: (y) => e.onSortClick(u.valueKey)
|
|
@@ -11595,12 +11597,12 @@ function Yf(e, r, s, l, p, g) {
|
|
|
11595
11597
|
])
|
|
11596
11598
|
], 8, Nf)
|
|
11597
11599
|
])),
|
|
11598
|
-
(k(!0), M(Ae, null,
|
|
11600
|
+
(k(!0), M(Ae, null, Ue(e.pagedRows, (u, f) => (k(), M("tr", {
|
|
11599
11601
|
key: f,
|
|
11600
11602
|
class: bt(["nt-tr", { "nt-tr--even": f % 2 === 1 }])
|
|
11601
11603
|
}, [
|
|
11602
11604
|
S("td", Ff, Y((e.currentPage - 1) * e.pageSize + f + 1), 1),
|
|
11603
|
-
(k(!0), M(Ae, null,
|
|
11605
|
+
(k(!0), M(Ae, null, Ue(e.visualization.options.series, (y, x) => (k(), M("td", {
|
|
11604
11606
|
key: x,
|
|
11605
11607
|
class: bt(["nt-td", { "nt-td--num": y.isNumber }])
|
|
11606
11608
|
}, [
|
|
@@ -11611,7 +11613,7 @@ function Yf(e, r, s, l, p, g) {
|
|
|
11611
11613
|
], 2))), 128)),
|
|
11612
11614
|
e.visualization.options.style.showTotalRow && e.filteredRows.length ? (k(), M("tr", $f, [
|
|
11613
11615
|
Pf,
|
|
11614
|
-
(k(!0), M(Ae, null,
|
|
11616
|
+
(k(!0), M(Ae, null, Ue(e.visualization.options.series, (u, f) => (k(), M("td", {
|
|
11615
11617
|
key: f,
|
|
11616
11618
|
class: bt(["nt-td nt-td--total", { "nt-td--num": u.isNumber }])
|
|
11617
11619
|
}, Y(u.isNumber && e.isNumber(e.sum(u, e.filteredRows)) ? e.formatNumber(e.sum(u, e.filteredRows)) : ""), 3))), 128))
|
|
@@ -11657,7 +11659,7 @@ function Yf(e, r, s, l, p, g) {
|
|
|
11657
11659
|
}, Uf, 2))
|
|
11658
11660
|
]),
|
|
11659
11661
|
st(S("div", Gf, [
|
|
11660
|
-
(k(!0), M(Ae, null,
|
|
11662
|
+
(k(!0), M(Ae, null, Ue(e.colorClasses, (u) => (k(), M("div", {
|
|
11661
11663
|
key: u.name,
|
|
11662
11664
|
class: bt(["nt-legend-item", { "nt-legend-item--off": e.disabledColorClasses.has(u.name) }]),
|
|
11663
11665
|
onClick: fn((f) => e.toggleColorClass(u), ["stop"])
|
|
@@ -11734,7 +11736,7 @@ function ip(e, r, s) {
|
|
|
11734
11736
|
return [{ name: s, rows: e }];
|
|
11735
11737
|
const l = /* @__PURE__ */ new Map();
|
|
11736
11738
|
for (const p of e) {
|
|
11737
|
-
const g =
|
|
11739
|
+
const g = Ye(p[r]) ? "—" : String(p[r]);
|
|
11738
11740
|
l.has(g) || l.set(g, []), l.get(g).push(p);
|
|
11739
11741
|
}
|
|
11740
11742
|
return [...l.entries()].map(([p, g]) => ({ name: p, rows: g }));
|
|
@@ -11742,7 +11744,7 @@ function ip(e, r, s) {
|
|
|
11742
11744
|
function dr(e, r) {
|
|
11743
11745
|
const s = /* @__PURE__ */ new Set();
|
|
11744
11746
|
for (const l of e) {
|
|
11745
|
-
const p =
|
|
11747
|
+
const p = Ye(l[r]) ? "—" : String(l[r]);
|
|
11746
11748
|
s.add(p);
|
|
11747
11749
|
}
|
|
11748
11750
|
return [...s];
|
|
@@ -11799,8 +11801,8 @@ function op(e, r) {
|
|
|
11799
11801
|
const F = mt(D[l.valueKey]);
|
|
11800
11802
|
if (F === null)
|
|
11801
11803
|
continue;
|
|
11802
|
-
const ee = g.indexOf(
|
|
11803
|
-
|
|
11804
|
+
const ee = g.indexOf(Ye(D[l.xValueKey]) ? "—" : String(D[l.xValueKey])), K = u.indexOf(Ye(D[l.yValueKey]) ? "—" : String(D[l.yValueKey])), U = `${ee}:${K}`, ve = f.get(U) || { x: ee, y: K, sum: 0, count: 0, min: 1 / 0, max: -1 / 0 };
|
|
11805
|
+
ve.sum += F, ve.count += 1, ve.min = Math.min(ve.min, F), ve.max = Math.max(ve.max, F), f.set(U, ve);
|
|
11804
11806
|
}
|
|
11805
11807
|
const y = (D) => {
|
|
11806
11808
|
switch (s.heatmap.aggregation) {
|
|
@@ -11821,14 +11823,14 @@ function op(e, r) {
|
|
|
11821
11823
|
p.yAxis = { ...x, categories: u, reversed: !0, plotLines: [], min: void 0, max: void 0, tickInterval: void 0 }, p.colorAxis = { min: 0, minColor: s.heatmap.minColor, maxColor: s.heatmap.maxColor }, p.tooltip = {
|
|
11822
11824
|
...p.tooltip,
|
|
11823
11825
|
pointFormatter() {
|
|
11824
|
-
const D = s.numberFormat.prefix || "", F = s.numberFormat.suffix || "", ee =
|
|
11826
|
+
const D = s.numberFormat.prefix || "", F = s.numberFormat.suffix || "", ee = Ye(s.numberFormat.decimals) ? -1 : Number(s.numberFormat.decimals);
|
|
11825
11827
|
return `${g[this.x]} · ${u[this.y]}: <b>${D}${Z.numberFormat(this.value, ee)}${F}</b>`;
|
|
11826
11828
|
}
|
|
11827
11829
|
};
|
|
11828
11830
|
const w = yi(s.valueLabels, s.numberFormat, !1);
|
|
11829
11831
|
return w.formatter = function() {
|
|
11830
11832
|
const { decimals: D, prefix: F, suffix: ee } = s.numberFormat;
|
|
11831
|
-
return (F || "") + Z.numberFormat(this.point.value,
|
|
11833
|
+
return (F || "") + Z.numberFormat(this.point.value, Ye(D) ? -1 : Number(D)) + (ee || "");
|
|
11832
11834
|
}, p.series = [{
|
|
11833
11835
|
name: l.label || "",
|
|
11834
11836
|
borderWidth: 1,
|
|
@@ -11844,10 +11846,10 @@ function lp(e, r) {
|
|
|
11844
11846
|
return s.xAxis = { ...ni(e.xAxis, {}), categories: l }, s.series = e.series.map((p, g) => {
|
|
11845
11847
|
const u = { name: p.label || `${g + 1}`, yAxis: p.yAxisIndex || 0, data: [], ...In(p) };
|
|
11846
11848
|
return p.mode === "summary" ? u.data = l.map((f) => {
|
|
11847
|
-
const y = r.find((x) => (
|
|
11849
|
+
const y = r.find((x) => (Ye(x[e.xAxis.valueKey]) ? "—" : String(x[e.xAxis.valueKey])) === f) || {};
|
|
11848
11850
|
return [y[p.minKey], y[p.q1Key], y[p.medianKey], y[p.q3Key], y[p.maxKey]].map(mt);
|
|
11849
11851
|
}) : p.valueKey && (u.data = l.map((f) => {
|
|
11850
|
-
const y = r.filter((x) => (
|
|
11852
|
+
const y = r.filter((x) => (Ye(x[e.xAxis.valueKey]) ? "—" : String(x[e.xAxis.valueKey])) === f).map((x) => mt(x[p.valueKey])).filter((x) => x !== null).sort((x, w) => x - w);
|
|
11851
11853
|
return y.length === 0 ? [null, null, null, null, null] : [y[0], or(y, 0.25), or(y, 0.5), or(y, 0.75), y[y.length - 1]];
|
|
11852
11854
|
})), u;
|
|
11853
11855
|
}), s;
|
|
@@ -11857,7 +11859,7 @@ function sp(e, r) {
|
|
|
11857
11859
|
s.xAxis = [va(e.xAxis), { visible: !1 }];
|
|
11858
11860
|
const l = e.yAxes.map(Wn);
|
|
11859
11861
|
s.yAxis = [...l, { visible: !1, title: { text: null } }];
|
|
11860
|
-
const { style: p } = e, { decimals: g, prefix: u, suffix: f } = p.numberFormat, y = (x) => (u || "") + Z.numberFormat(x,
|
|
11862
|
+
const { style: p } = e, { decimals: g, prefix: u, suffix: f } = p.numberFormat, y = (x) => (u || "") + Z.numberFormat(x, Ye(g) ? -1 : Number(g)) + (f || "");
|
|
11861
11863
|
return s.plotOptions = {
|
|
11862
11864
|
series: { dataLabels: { ...yi(p.valueLabels, { decimals: 0, prefix: "", suffix: "" }, !1) } }
|
|
11863
11865
|
}, s.tooltip = {
|
|
@@ -11880,7 +11882,7 @@ function sp(e, r) {
|
|
|
11880
11882
|
yAxis: x.yAxisIndex || 0,
|
|
11881
11883
|
...In(x)
|
|
11882
11884
|
};
|
|
11883
|
-
|
|
11885
|
+
Ye(x.bins) || (ee.binsNumber = Number(x.bins)), s.series.push(ee), x.bellCurve && s.series.push({
|
|
11884
11886
|
type: "bellcurve",
|
|
11885
11887
|
name: `${ee.name} (normal)`,
|
|
11886
11888
|
baseSeries: F,
|
|
@@ -11895,7 +11897,7 @@ function up(e, r) {
|
|
|
11895
11897
|
Tn(e);
|
|
11896
11898
|
const { style: s } = e, l = s.gauge, p = e.series[0] || {}, g = l.kind === "solid", u = rn(e, g ? "solidgauge" : "gauge");
|
|
11897
11899
|
u.legend = { enabled: !1 };
|
|
11898
|
-
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((U) => !
|
|
11900
|
+
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((U) => !Ye(U.from) && !Ye(U.to)).map((U) => ({ from: Number(U.from), to: Number(U.to), color: U.color || "#9ca3af" }));
|
|
11899
11901
|
u.pane = g ? {
|
|
11900
11902
|
startAngle: -90,
|
|
11901
11903
|
endAngle: 90,
|
|
@@ -11923,7 +11925,7 @@ function up(e, r) {
|
|
|
11923
11925
|
dataLabels: {
|
|
11924
11926
|
enabled: !0,
|
|
11925
11927
|
formatter() {
|
|
11926
|
-
const U = Z.numberFormat(this.y,
|
|
11928
|
+
const U = Z.numberFormat(this.y, Ye(F) ? -1 : Number(F));
|
|
11927
11929
|
return `<span style="font-size: 1.6em; font-weight: bold">${ee || ""}${U}${K || ""}</span>`;
|
|
11928
11930
|
}
|
|
11929
11931
|
}
|
|
@@ -11932,7 +11934,7 @@ function up(e, r) {
|
|
|
11932
11934
|
function Ra(e, r) {
|
|
11933
11935
|
var l;
|
|
11934
11936
|
const s = (l = e.xAxis) == null ? void 0 : l.valueKey;
|
|
11935
|
-
return r.map((p) => s && !
|
|
11937
|
+
return r.map((p) => s && !Ye(p[s]) ? String(p[s]) : "—");
|
|
11936
11938
|
}
|
|
11937
11939
|
function bi(e, r, s) {
|
|
11938
11940
|
const l = rn(e, s);
|
|
@@ -11946,7 +11948,7 @@ function dp(e, r) {
|
|
|
11946
11948
|
yAxis: l.yAxisIndex || 0,
|
|
11947
11949
|
data: r.map((g) => [mt(g[l.lowKey]), mt(g[l.highKey])]),
|
|
11948
11950
|
...In(l),
|
|
11949
|
-
...l.rangeType !== "columnrange" && !
|
|
11951
|
+
...l.rangeType !== "columnrange" && !Ye(l.fillOpacity) ? { fillOpacity: Number(l.fillOpacity) / 100 } : {}
|
|
11950
11952
|
})), s;
|
|
11951
11953
|
}
|
|
11952
11954
|
function cp(e, r) {
|
|
@@ -12038,7 +12040,7 @@ function gp(e, r) {
|
|
|
12038
12040
|
function Ia(e, r, s) {
|
|
12039
12041
|
const l = /* @__PURE__ */ new Map();
|
|
12040
12042
|
for (const p of e) {
|
|
12041
|
-
const g =
|
|
12043
|
+
const g = Ye(p[r]) ? "—" : String(p[r]), u = mt(p[s]);
|
|
12042
12044
|
u !== null && l.set(g, (l.get(g) || 0) + u);
|
|
12043
12045
|
}
|
|
12044
12046
|
return [...l.entries()].map(([p, g]) => ({ name: p, value: g }));
|
|
@@ -12049,7 +12051,7 @@ function Ci(e, r) {
|
|
|
12049
12051
|
const u = r(this.point);
|
|
12050
12052
|
if (u == null)
|
|
12051
12053
|
return this.point.name;
|
|
12052
|
-
const f = (l || "") + Z.numberFormat(u,
|
|
12054
|
+
const f = (l || "") + Z.numberFormat(u, Ye(s) ? -1 : Number(s)) + (p || "");
|
|
12053
12055
|
return `${this.point.name}<br/><span style="font-weight: normal">${f}</span>`;
|
|
12054
12056
|
}, g;
|
|
12055
12057
|
}
|
|
@@ -12059,10 +12061,10 @@ function Ea(e, r, s) {
|
|
|
12059
12061
|
const f = mt(u[r.valueKey]);
|
|
12060
12062
|
if (f === null)
|
|
12061
12063
|
continue;
|
|
12062
|
-
const y =
|
|
12064
|
+
const y = Ye(u[r.labelKey]) ? "—" : String(u[r.labelKey]);
|
|
12063
12065
|
let x;
|
|
12064
12066
|
if (r.parentKey) {
|
|
12065
|
-
const F =
|
|
12067
|
+
const F = Ye(u[r.parentKey]) ? "—" : String(u[r.parentKey]);
|
|
12066
12068
|
x = `p:${F}`, p.has(x) || p.set(x, { id: x, name: F, color: s[p.size % s.length] });
|
|
12067
12069
|
}
|
|
12068
12070
|
const w = `${x || ""}|${y}`, D = g.get(w) || { id: w, name: y, parent: x, value: 0 };
|
|
@@ -12143,7 +12145,7 @@ function bp(e, r) {
|
|
|
12143
12145
|
if (l.labelKey && l.valueKey && l.sizeKey)
|
|
12144
12146
|
for (const u of r) {
|
|
12145
12147
|
const f = mt(u[l.valueKey]), y = mt(u[l.sizeKey]);
|
|
12146
|
-
f === null || y === null || g.push({ name:
|
|
12148
|
+
f === null || y === null || g.push({ name: Ye(u[l.labelKey]) ? "—" : String(u[l.labelKey]), y: f, z: y });
|
|
12147
12149
|
}
|
|
12148
12150
|
return p.plotOptions = { series: { dataLabels: Ci(s, (u) => u.y), showInLegend: !0 } }, p.series = g.length ? [{
|
|
12149
12151
|
name: l.label || "",
|
|
@@ -12252,15 +12254,15 @@ function Dp(e, r, s, l, p, g) {
|
|
|
12252
12254
|
S("table", Mp, [
|
|
12253
12255
|
S("thead", Op, [
|
|
12254
12256
|
S("tr", null, [
|
|
12255
|
-
(k(!0), M(Ae, null,
|
|
12257
|
+
(k(!0), M(Ae, null, Ue(e.tableRows[0], (u, f) => (k(), M("th", {
|
|
12256
12258
|
key: f,
|
|
12257
12259
|
style: ot({ textAlign: f === 0 ? "left" : "right" })
|
|
12258
12260
|
}, Y(u), 5))), 128))
|
|
12259
12261
|
])
|
|
12260
12262
|
]),
|
|
12261
12263
|
S("tbody", null, [
|
|
12262
|
-
(k(!0), M(Ae, null,
|
|
12263
|
-
(k(!0), M(Ae, null,
|
|
12264
|
+
(k(!0), M(Ae, null, Ue(e.tableRows.slice(1), (u, f) => (k(), M("tr", { key: f }, [
|
|
12265
|
+
(k(!0), M(Ae, null, Ue(u, (y, x) => (k(), M("td", {
|
|
12264
12266
|
key: x,
|
|
12265
12267
|
style: ot({ textAlign: x === 0 ? "left" : "right" })
|
|
12266
12268
|
}, Y(y), 5))), 128))
|
|
@@ -12318,7 +12320,7 @@ const zp = /* @__PURE__ */ Rt(xp, [["render", Dp], ["__scopeId", "data-v-dd06cb2
|
|
|
12318
12320
|
}
|
|
12319
12321
|
},
|
|
12320
12322
|
setup(e) {
|
|
12321
|
-
const { t: r } = Pt(), s = te(null), l = te(null), p = te(null), g = te(null), u = te(null), f = te(null), y = te(null), x = te(null), w = te(null), D = te(null), F = te(null), ee = te(null), K = te(null), U = te(null),
|
|
12323
|
+
const { t: r } = Pt(), s = te(null), l = te(null), p = te(null), g = te(null), u = te(null), f = te(null), y = te(null), x = te(null), w = te(null), D = te(null), F = te(null), ee = te(null), K = te(null), U = te(null), ve = Ut(() => !!Ba[e.visualization.type]);
|
|
12322
12324
|
return {
|
|
12323
12325
|
t: r,
|
|
12324
12326
|
barChart: s,
|
|
@@ -12335,14 +12337,14 @@ const zp = /* @__PURE__ */ Rt(xp, [["render", Dp], ["__scopeId", "data-v-dd06cb2
|
|
|
12335
12337
|
thematicMap: ee,
|
|
12336
12338
|
tileMap: K,
|
|
12337
12339
|
highchart: U,
|
|
12338
|
-
isGenericChart:
|
|
12340
|
+
isGenericChart: ve,
|
|
12339
12341
|
// Current view of a map visualization ({ center, zoom }), null for other types
|
|
12340
12342
|
getMapView() {
|
|
12341
12343
|
var X, ke;
|
|
12342
12344
|
return e.visualization.type === "MAP" ? ((ke = (X = ee.value) == null ? void 0 : X.getMapView) == null ? void 0 : ke.call(X)) ?? null : null;
|
|
12343
12345
|
},
|
|
12344
12346
|
exportAs(X) {
|
|
12345
|
-
e.visualization.dataQuery && (e.visualization.type === "BAR" ? s.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" ? u.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" ? ee.value.exportAs(X) : e.visualization.type === "TILE_MAP" ? K.value.exportAs(X) : e.visualization.type === "PIVOT_TABLE" ? D.value.exportAs(X) : e.visualization.type === "NORMAL_TABLE" ? F.value.exportAs(X) :
|
|
12347
|
+
e.visualization.dataQuery && (e.visualization.type === "BAR" ? s.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" ? u.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" ? ee.value.exportAs(X) : e.visualization.type === "TILE_MAP" ? K.value.exportAs(X) : e.visualization.type === "PIVOT_TABLE" ? D.value.exportAs(X) : e.visualization.type === "NORMAL_TABLE" ? F.value.exportAs(X) : ve.value && U.value.exportAs(X));
|
|
12346
12348
|
}
|
|
12347
12349
|
};
|
|
12348
12350
|
}
|
|
@@ -12352,7 +12354,7 @@ const zp = /* @__PURE__ */ Rt(xp, [["render", Dp], ["__scopeId", "data-v-dd06cb2
|
|
|
12352
12354
|
style: { "min-height": "120px" }
|
|
12353
12355
|
};
|
|
12354
12356
|
function Pp(e, r, s, l, p, g) {
|
|
12355
|
-
const u = Ot("q-icon"), f = Ot("MBarChart"), y = Ot("MColumnChart"), x = Ot("MLineChart"), w = Ot("MPieChart"), D = Ot("MStackedColumnChart"), F = Ot("MStackedBarChart"), ee = Ot("MSingleValue"), K = Ot("MAreaChart"), U = Ot("MErrorBarChart"),
|
|
12357
|
+
const u = Ot("q-icon"), f = Ot("MBarChart"), y = Ot("MColumnChart"), x = Ot("MLineChart"), w = Ot("MPieChart"), D = Ot("MStackedColumnChart"), F = Ot("MStackedBarChart"), ee = Ot("MSingleValue"), K = Ot("MAreaChart"), U = Ot("MErrorBarChart"), ve = Ot("MPivotTable"), X = Ot("MNormalTable"), ke = Ot("MHighchart"), ye = Ot("MThematicMap"), ie = Ot("MTileMap");
|
|
12356
12358
|
return e.visualization.dataQuery ? (k(), M(Ae, { key: 1 }, [
|
|
12357
12359
|
e.visualization.type === "BAR" ? (k(), Nt(f, {
|
|
12358
12360
|
key: 0,
|
|
@@ -12443,7 +12445,7 @@ function Pp(e, r, s, l, p, g) {
|
|
|
12443
12445
|
visualization: e.visualization,
|
|
12444
12446
|
filters: e.filters
|
|
12445
12447
|
}, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : oe("", !0),
|
|
12446
|
-
e.visualization.type === "PIVOT_TABLE" ? (k(), Nt(
|
|
12448
|
+
e.visualization.type === "PIVOT_TABLE" ? (k(), Nt(ve, {
|
|
12447
12449
|
key: 9,
|
|
12448
12450
|
ref: "pivotTable",
|
|
12449
12451
|
"data-refresh-period": e.dataRefreshPeriod,
|
|
@@ -12471,7 +12473,7 @@ function Pp(e, r, s, l, p, g) {
|
|
|
12471
12473
|
visualization: e.visualization,
|
|
12472
12474
|
filters: e.filters
|
|
12473
12475
|
}, null, 8, ["show-table", "data-refresh-period", "project-id", "exp-id", "visualization", "filters"])) : oe("", !0),
|
|
12474
|
-
e.visualization.type === "MAP" ? (k(), Nt(
|
|
12476
|
+
e.visualization.type === "MAP" ? (k(), Nt(ye, {
|
|
12475
12477
|
key: 12,
|
|
12476
12478
|
ref: "thematicMap",
|
|
12477
12479
|
"show-table": e.showTable,
|