vue-data-ui 0.6.0 → 0.6.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/README.md
CHANGED
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
[Interactive documentation](https://vue-data-ui.graphieros.com/)
|
|
11
11
|
|
|
12
12
|
A user-empowering data visualization Vue components library.
|
|
13
|
-
|
|
14
|
-
Featuring a wide spectrum of classic graphs and exclusive visual treats like [Chestnut](https://vue-data-ui.graphieros.com/docs#vue-ui-chestnut), [Waffle](https://vue-data-ui.graphieros.com/docs#vue-ui-waffle), and [Quadrant](https://vue-data-ui.graphieros.com/docs#vue-ui-quadrant) charts, Vue Data UI transforms data into compelling narratives. Seamless integration and utilities ensure that your dashboard maintains coherence, providing both style and substance.
|
|
13
|
+
Feel free to give some feedback !
|
|
15
14
|
|
|
16
15
|
Available components:
|
|
17
16
|
|
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function t() {
|
|
12823
|
-
return (Et.canvg ? Promise.resolve(Et.canvg) : import("./index.es-
|
|
12823
|
+
return (Et.canvg ? Promise.resolve(Et.canvg) : import("./index.es-58478f2d.js")).catch(function(A) {
|
|
12824
12824
|
return Promise.reject(new Error("Could not load canvg: " + A));
|
|
12825
12825
|
}).then(function(A) {
|
|
12826
12826
|
return A.default ? A.default : A;
|
|
@@ -30121,6 +30121,15 @@ function Va(e, t) {
|
|
|
30121
30121
|
function kp(e) {
|
|
30122
30122
|
let t, A, r, n;
|
|
30123
30123
|
const a = e.length;
|
|
30124
|
+
if (!e || e.length === 0)
|
|
30125
|
+
return {
|
|
30126
|
+
x1: 0,
|
|
30127
|
+
y1: 0,
|
|
30128
|
+
x2: 0,
|
|
30129
|
+
y2: 0,
|
|
30130
|
+
slope: 0,
|
|
30131
|
+
trend: 0
|
|
30132
|
+
};
|
|
30124
30133
|
let i = 0, s = 0, o = 0, l = 0;
|
|
30125
30134
|
for (const { x: d, y: b } of e)
|
|
30126
30135
|
i += d, s += b, o += d * b, l += d * d;
|
|
@@ -31955,7 +31964,7 @@ const hn = (e, t) => {
|
|
|
31955
31964
|
this.makeXls(r, this.chartConfig.chart.title.text || "vue-ui-xy");
|
|
31956
31965
|
}
|
|
31957
31966
|
}
|
|
31958
|
-
}, XS = (e) => (Qc("data-v-
|
|
31967
|
+
}, XS = (e) => (Qc("data-v-bed55f69"), e = e(), Ic(), e), qS = ["id"], YS = { class: "vue-ui-xy-user-option-item" }, JS = ["id", "name"], ZS = ["for"], ek = { class: "vue-ui-xy-user-option-item" }, tk = ["id", "name"], Ak = ["for"], rk = { class: "vue-ui-xy-user-option-item" }, nk = ["id", "name"], ak = ["for"], ik = { class: "vue-ui-xy-user-option-item" }, sk = ["id", "name"], ok = ["for"], lk = ["disabled"], uk = ["stroke"], ck = /* @__PURE__ */ da('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-bed55f69></path><path d="M18 16v.01" data-v-bed55f69></path><path d="M6 16v.01" data-v-bed55f69></path><path d="M12 5v.01" data-v-bed55f69></path><path d="M12 12v.01" data-v-bed55f69></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-bed55f69></path>', 6), hk = [
|
|
31959
31968
|
ck
|
|
31960
31969
|
], fk = { key: 1 }, dk = ["viewBox"], gk = { class: "vue-ui-xy-grid" }, vk = ["stroke", "x1", "x2", "y1", "y2"], pk = ["stroke", "x1", "x2", "y1", "y2"], yk = { key: 0 }, wk = ["x1", "x2", "y1", "y2", "stroke"], mk = ["id"], xk = ["stop-color"], Bk = ["stop-color"], bk = ["stop-color"], Ck = ["id"], Fk = ["stop-color"], _k = ["stop-color"], Ek = ["stop-color"], Sk = ["id"], kk = ["stop-color"], Uk = ["stop-color"], Lk = ["id"], Tk = ["stop-color"], Qk = ["stop-color"], Ik = ["x", "y", "height", "width", "fill"], Nk = { key: 0 }, Dk = ["id"], Ok = ["fill"], Mk = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Pk = ["x", "y", "font-size", "fill"], Hk = ["cx", "cy", "r", "fill", "stroke"], Rk = { key: 0 }, Kk = ["id"], $k = ["fill"], Vk = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], zk = ["x", "y", "font-size", "fill"], Gk = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jk = ["cx", "cy", "r", "fill", "stroke"], Wk = { key: 0 }, Xk = ["id"], qk = ["fill"], Yk = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Jk = ["x", "y", "font-size", "fill"], Zk = { key: 0 }, e8 = ["x", "y", "font-size", "fill"], t8 = { key: 1 }, A8 = ["x", "y", "font-size", "fill"], r8 = ["x", "y"], n8 = ["x", "y"], a8 = { key: 2 }, i8 = ["x", "y", "font-size", "fill"], s8 = ["x", "y"], o8 = ["x", "y"], l8 = { key: 3 }, u8 = ["x1", "x2", "y1", "y2", "stroke"], c8 = ["x", "y", "font-size", "fill"], h8 = ["font-size", "fill"], f8 = ["x", "y", "font-size", "fill"], d8 = { key: 4 }, g8 = {
|
|
31961
31970
|
x: "0",
|
|
@@ -32270,7 +32279,7 @@ function P8(e, t, A, r, n, a) {
|
|
|
32270
32279
|
y: a.calcLinearProgression(i.plots).y2 - 6,
|
|
32271
32280
|
"font-size": a.chartConfig.chart.labels.fontSize,
|
|
32272
32281
|
fill: i.color
|
|
32273
|
-
}, z(`${(
|
|
32282
|
+
}, z(`${(a.calcLinearProgression(i.plots).trend * 100).toFixed(2)}%`), 9, Pk)
|
|
32274
32283
|
])) : he("", !0)
|
|
32275
32284
|
], 2))), 128)),
|
|
32276
32285
|
(_(!0), E(Te, null, Oe(a.plotSet, (i, s) => (_(), E("g", {
|
|
@@ -32322,7 +32331,7 @@ function P8(e, t, A, r, n, a) {
|
|
|
32322
32331
|
y: a.calcLinearProgression(i.plots).y2 - 6,
|
|
32323
32332
|
"font-size": a.chartConfig.chart.labels.fontSize,
|
|
32324
32333
|
fill: i.color
|
|
32325
|
-
}, z(`${(
|
|
32334
|
+
}, z(`${(a.calcLinearProgression(i.plots).trend * 100).toFixed(2)}%`), 9, zk)
|
|
32326
32335
|
])) : he("", !0)
|
|
32327
32336
|
], 2))), 128)),
|
|
32328
32337
|
(_(!0), E(Te, null, Oe(a.lineSet, (i, s) => (_(), E("g", {
|
|
@@ -32390,7 +32399,7 @@ function P8(e, t, A, r, n, a) {
|
|
|
32390
32399
|
y: a.calcLinearProgression(i.plots).y2 - 6,
|
|
32391
32400
|
"font-size": a.chartConfig.chart.labels.fontSize,
|
|
32392
32401
|
fill: i.color
|
|
32393
|
-
}, z(`${(
|
|
32402
|
+
}, z(`${(a.calcLinearProgression(i.plots).trend * 100).toFixed(2)}%`), 9, Jk)
|
|
32394
32403
|
])) : he("", !0)
|
|
32395
32404
|
], 2))), 128)),
|
|
32396
32405
|
a.chartConfig.bar.labels.show && n.mutableConfig.dataLabels.show ? (_(), E("g", Zk, [
|
|
@@ -32731,7 +32740,7 @@ function P8(e, t, A, r, n, a) {
|
|
|
32731
32740
|
], 2)) : he("", !0)
|
|
32732
32741
|
], 12, qS);
|
|
32733
32742
|
}
|
|
32734
|
-
const nP = /* @__PURE__ */ hn(WS, [["render", P8], ["__scopeId", "data-v-
|
|
32743
|
+
const nP = /* @__PURE__ */ hn(WS, [["render", P8], ["__scopeId", "data-v-bed55f69"]]);
|
|
32735
32744
|
const H8 = {
|
|
32736
32745
|
name: "vue-ui-table",
|
|
32737
32746
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as Ha } from "./index-
|
|
1
|
+
import { _ as Ha } from "./index-086757e0.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function Vo(a) {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.vue-ui-xy *[data-v-a5be86ab]{transition:unset}.vue-ui-xy[data-v-a5be86ab]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-a5be86ab]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;max-width:300px}.vue-ui-xy-user-options[open][data-v-a5be86ab]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-a5be86ab]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-a5be86ab]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-a5be86ab]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-a5be86ab]{align-items:center;column-gap:24px;display:flex;flex-wrap:wrap;justify-content:center;-webkit-user-select:none;user-select:none;width:100%}.vue-ui-xy-legend-item[data-v-a5be86ab]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;cursor:pointer}.vue-ui-xy-legend-item-segregated[data-v-a5be86ab]{opacity:.5}.vue-ui-xy-title[data-v-a5be86ab]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-a5be86ab]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-a5be86ab]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;z-index:1}.vue-ui-xy-table-wrapper[data-v-a5be86ab]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-a5be86ab]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-a5be86ab]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-a5be86ab]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-a5be86ab]{border:1px solid #e1e5e8;background:#fafafa;position:sticky;top:0;font-weight:400;outline:1px solid #e1e5e8;-webkit-user-select:none;user-select:none}.vue-ui-xy-table-tr-selected[data-v-a5be86ab]{background:#e1e5e8}.vue-ui-xy-button[data-v-a5be86ab]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-xy-button[data-v-a5be86ab]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-a5be86ab]{animation:smartspin-a5be86ab .5s infinite linear}@keyframes smartspin-a5be86ab{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-xy-range-slider[data-v-a5be86ab]{width:100%;margin-bottom:12px;display:flex;flex-direction:row}.vue-ui-xy-slider--left[data-v-a5be86ab],.vue-ui-xy-slider--right[data-v-a5be86ab]{width:100%;padding:0 12px;display:flex;flex-direction:column}.vue-ui-xy-slider--left input[data-v-a5be86ab],.vue-ui-xy-slider--right input[data-v-a5be86ab]{width:100%}.vue-ui-xy-slider--right[data-v-a5be86ab]{align-items:flex-end;margin-left:-10px}.vue-ui-xy-slider--left[data-v-a5be86ab]{align-items:flex-start;margin-right:-10px}.vue-ui-table-main[data-v-51d6490e]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-51d6490e]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-51d6490e]{position:sticky;top:0}.vue-ui-table[data-v-51d6490e]{width:100%;position:relative}.vue-ui-table-main table[data-v-51d6490e]{border-collapse:collapse}.vue-ui-table-main th[data-v-51d6490e],.vue-ui-table-main td[data-v-51d6490e]{padding:3px 8px}.vue-ui-table-main tr td[data-v-51d6490e]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-51d6490e]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-51d6490e]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-51d6490e]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-51d6490e],.vue-ui-table-main input[data-v-51d6490e]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-51d6490e]{border:1px solid grey}.vue-ui-table-main button[data-v-51d6490e]:hover,.vue-ui-table-main button[data-v-51d6490e]:focus,.vue-ui-table-main input[data-v-51d6490e]:hover,.vue-ui-table-main input[data-v-51d6490e]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-51d6490e]{animation:clicked-51d6490e .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-51d6490e]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-51d6490e]:focus,.vue-ui-table-main button[disabled][data-v-51d6490e]:hover{outline:none}button.th-reset[data-v-51d6490e]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-51d6490e]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-51d6490e]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-51d6490e]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-51d6490e]{animation:open-dropdown-51d6490e .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-51d6490e]{animation:close-dropdown-51d6490e .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-51d6490e]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;display:flex;flex-direction:column;justify-content:flex-start;left:0;max-width:300px;min-width:150px;padding:24px 12px 12px;position:absolute;top:calc(100% + 12px)}.vue-ui-table-main .th-option[data-v-51d6490e]{border-radius:6px;cursor:pointer;padding:2px 6px;text-align:left;-webkit-user-select:none;user-select:none;width:100%;font-weight:400}.vue-ui-table-main .th-option[data-v-51d6490e]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-51d6490e],.vue-ui-table-main button.close-chart-modal[data-v-51d6490e]{align-items:center;border-radius:50%;border:none;display:flex;height:20px;padding:2px;position:absolute;right:6px;top:6px;width:20px}.vue-ui-table-main button.close-dropdown[data-v-51d6490e]:hover,.vue-ui-table-main button.close-dropdown[data-v-51d6490e]:focus,.vue-ui-table-main button.close-chart-modal[data-v-51d6490e]:hover,.vue-ui-table-main button.close-char-modal[data-v-51d6490e]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-51d6490e]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-51d6490e]:hover,.vue-ui-table-main .th-button-active[data-v-51d6490e]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-51d6490e]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-51d6490e]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-51d6490e]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-51d6490e]{font-size:12px;font-weight:400}@keyframes clicked-51d6490e{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-51d6490e]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-51d6490e]{align-items:center;border-radius:0 0 6px 6px;bottom:76px;display:flex;font-size:14px;justify-content:flex-end;min-height:20px;padding:2px 4px 2px 2px;position:absolute;right:0;text-align:right;width:100%;z-index:1}.vue-ui-table-main button.td-selector-info-reset[data-v-51d6490e]{background:transparent;border:none;color:#f17171;height:14px;margin-left:24px;padding:0;width:14px}.vue-ui-table-main button.td-selector-info-reset[data-v-51d6490e]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-51d6490e]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-51d6490e]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-51d6490e]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-51d6490e]{align-items:center;bottom:24px;display:flex;flex-direction:row;gap:12px;height:40px;justify-content:center;position:absolute;width:100%;z-index:1}.vue-ui-table-main button.vue-ui-table-navigation[data-v-51d6490e]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-51d6490e]{border-radius:6px;bottom:70px;height:6px;position:absolute;transition:all .1s ease-in-out}.vue-ui-table-main .vue-ui-table-page-scroller-wrapper[data-v-51d6490e]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-51d6490e]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-51d6490e]{position:absolute;bottom:0;z-index:2;left:12px;display:flex;flex-direction:row;gap:6px;font-size:14px;justify-content:center;align-items:center;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-paginator select[data-v-51d6490e]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-51d6490e]{align-items:center;bottom:-24px;color:#f17171;display:flex;flex-direction:row;flex-wrap:wrap;font-size:12px;gap:6px;justify-content:center;position:absolute;text-align:center;width:100%}.vue-ui-table-main th.vue-ui-table-col-selector[data-v-51d6490e]{height:12px}.vue-ui-table-main .col-selector[data-v-51d6490e]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-51d6490e]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-51d6490e]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-51d6490e]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #0000004d;display:flex;flex-direction:column;justify-content:center;min-height:200px;min-width:300px;max-width:800px;overflow:hidden;padding:12px;position:fixed;resize:horizontal;-webkit-user-select:none;user-select:none;z-index:10000}.vue-ui-table-main .vue-ui-table-chart-svg[data-v-51d6490e]{border-radius:6px;margin-bottom:12px;overflow:visible;padding:12px;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-donut-chart[data-v-51d6490e]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-51d6490e]{font-size:12px;font-variant-numeric:tabular-nums;text-align:right;-webkit-user-select:none;user-select:none}.vue-ui-table-main .chart-trend[data-v-51d6490e]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-51d6490e]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-51d6490e]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-51d6490e]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-51d6490e]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-51d6490e]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-51d6490e]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-51d6490e]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-51d6490e]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-51d6490e]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-51d6490e]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-51d6490e]{align-items:center;display:flex;gap:3px;justify-content:center;margin:24px auto 12px;padding-left:12px;padding-right:12px;width:fit-content}.vue-ui-table-main button.vue-ui-table-generate-donut[disabled][data-v-51d6490e]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-51d6490e]{align-items:center;column-gap:12px;display:flex;flex-wrap:wrap;font-size:12px;justify-content:center;margin:0 auto;max-width:400px;padding-bottom:36px}.vue-ui-table-main .vue-ui-table-donut-legend-item[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-51d6490e]{align-items:center;display:flex;flex-direction:column;font-size:4px;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-table-main .vue-ui-table-donut-label-name[data-v-51d6490e]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-51d6490e]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-51d6490e]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-51d6490e]{position:absolute;top:40px;left:0;padding:24px;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;transform:scale(0);opacity:0}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=true][data-v-51d6490e]{animation:open-dropdown-51d6490e .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-51d6490e]{animation:close-dropdown-51d6490e .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-51d6490e]{margin-top:12px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}.vue-ui-table-main .vue-ui-table-export-hub-options button[data-v-51d6490e]{width:fit-content;display:flex;align-items:center;justify-content:center;gap:3px;min-width:130px}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-start}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper .label[data-v-51d6490e]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-51d6490e]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-51d6490e],.vue-ui-table-main .th-has-nan[data-v-51d6490e]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-51d6490e{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-51d6490e{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-795deb2e]{transition:unset}.vue-ui-donut[data-v-795deb2e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-795deb2e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-795deb2e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-donut-legend-item[data-v-795deb2e]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-795deb2e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-donut-user-options[data-v-795deb2e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-donut-user-options[open][data-v-795deb2e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-795deb2e]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-795deb2e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-795deb2e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-795deb2e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-donut-button[data-v-795deb2e]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-795deb2e]{animation:smartspin-795deb2e .5s infinite linear}@keyframes smartspin-795deb2e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-795deb2e]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-795deb2e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-795deb2e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-1d2a2a37]{transition:unset}.vue-ui-waffle[data-v-1d2a2a37]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-1d2a2a37]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-1d2a2a37]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-waffle-legend-item[data-v-1d2a2a37]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-1d2a2a37]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-waffle-user-options[data-v-1d2a2a37]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-waffle-user-options[open][data-v-1d2a2a37]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-1d2a2a37]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-1d2a2a37]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-waffle-button[data-v-1d2a2a37]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-1d2a2a37]{animation:smartspin-1d2a2a37 .5s infinite linear}@keyframes smartspin-1d2a2a37{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-1d2a2a37]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-1d2a2a37]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-1d2a2a37]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-dbff0f7d]{transition:unset}.vue-ui-radar[data-v-dbff0f7d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-dbff0f7d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-dbff0f7d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-radar-legend-item[data-v-dbff0f7d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-dbff0f7d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-radar-user-options[data-v-dbff0f7d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-radar-user-options[open][data-v-dbff0f7d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-dbff0f7d]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-dbff0f7d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-radar-button[data-v-dbff0f7d]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-dbff0f7d]{animation:smartspin-dbff0f7d .5s infinite linear}@keyframes smartspin-dbff0f7d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-dbff0f7d]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-dbff0f7d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-dbff0f7d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-c200bf52]{transition:unset}.vue-ui-quadrant[data-v-c200bf52]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-c200bf52]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-c200bf52]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-quadrant-legend-item[data-v-c200bf52]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-c200bf52]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-quadrant-user-options[data-v-c200bf52]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-quadrant-user-options[open][data-v-c200bf52]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-c200bf52]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-c200bf52]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-c200bf52]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-c200bf52]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-quadrant-button[data-v-c200bf52]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-c200bf52]{animation:smartspin-c200bf52 .5s infinite linear}@keyframes smartspin-c200bf52{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-c200bf52]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-c200bf52]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-c200bf52]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-77e98d1e]{transition:unset}.vue-ui-gauge[data-v-77e98d1e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-77e98d1e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-77e98d1e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-gauge-legend-item[data-v-77e98d1e]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-77e98d1e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-gauge-user-options[data-v-77e98d1e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-gauge-user-options[open][data-v-77e98d1e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-77e98d1e]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-77e98d1e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-77e98d1e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-77e98d1e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-gauge-button[data-v-77e98d1e]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-77e98d1e]{animation:smartspin-77e98d1e .5s infinite linear}@keyframes smartspin-77e98d1e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-6650dd2d]{transition:unset}.vue-ui-chestnut[data-v-6650dd2d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-6650dd2d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-6650dd2d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-chestnut-legend-item[data-v-6650dd2d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-6650dd2d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-chestnut-user-options[data-v-6650dd2d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-chestnut-user-options[open][data-v-6650dd2d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-6650dd2d]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-6650dd2d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-6650dd2d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-6650dd2d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-chestnut-button[data-v-6650dd2d]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-6650dd2d]{animation:smartspin-6650dd2d .5s infinite linear}@keyframes smartspin-6650dd2d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-6650dd2d]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-6650dd2d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-6650dd2d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-6650dd2d]{opacity:0;animation:chestnut-opacity-6650dd2d .2s ease-in-out forwards}@keyframes chestnut-opacity-6650dd2d{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}.vue-ui-onion *[data-v-82c99d17]{transition:unset}.vue-ui-onion[data-v-82c99d17]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-onion .vue-ui-onion-label[data-v-82c99d17]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-onion-legend[data-v-82c99d17]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-onion-legend-item[data-v-82c99d17]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-onion-tooltip[data-v-82c99d17]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-onion-user-options[data-v-82c99d17]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-onion-user-options[open][data-v-82c99d17]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-onion summary[data-v-82c99d17]{text-align:right;direction:rtl}.vue-ui-onion-user-options-items[data-v-82c99d17]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-onion-user-options-item[data-v-82c99d17]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-onion-button[data-v-82c99d17]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-onion-button[data-v-82c99d17]:hover{background:rgba(0,0,0,.05)}.vue-ui-onion-print-icon[data-v-82c99d17]{animation:smartspin-82c99d17 .5s infinite linear}@keyframes smartspin-82c99d17{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-onion table[data-v-82c99d17]{width:100%;border-collapse:collapse}.vue-ui-onion table td[data-v-82c99d17]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-onion table th[data-v-82c99d17]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-vertical-bar *[data-v-44939c84]{transition:unset}.vue-ui-vertical-bar[data-v-44939c84]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-vertical-bar .vue-ui-vertical-bar-label[data-v-44939c84]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-vertical-bar-legend[data-v-44939c84]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-vertical-bar-legend-item[data-v-44939c84]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-vertical-bar-tooltip[data-v-44939c84]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-vertical-bar-user-options[data-v-44939c84]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-vertical-bar-user-options[open][data-v-44939c84]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-vertical-bar summary[data-v-44939c84]{text-align:right;direction:rtl}.vue-ui-vertical-bar-user-options-items[data-v-44939c84]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-vertical-bar-user-options-item[data-v-44939c84]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-vertical-bar-button[data-v-44939c84]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-vertical-bar-button[data-v-44939c84]:hover{background:rgba(0,0,0,.05)}.vue-ui-vertical-bar-print-icon[data-v-44939c84]{animation:smartspin-44939c84 .5s infinite linear}@keyframes smartspin-44939c84{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-vertical-bar table[data-v-44939c84]{width:100%;border-collapse:collapse}.vue-ui-vertical-bar table td[data-v-44939c84]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-vertical-bar table th[data-v-44939c84]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-rating-wrapper[data-v-163406e4]{display:flex;align-items:center;gap:1px;width:100%}.vue-ui-mouse-trap[data-v-163406e4]{cursor:pointer}.vue-ui-mouse-trap[data-v-163406e4]:focus:not(:focus-visible){outline:none}.vue-ui-skeleton-animated[data-v-d7608918]{animation:skeleton-animate-d7608918 1.62s infinite linear}@keyframes skeleton-animate-d7608918{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}.vue-ui-sparkline *[data-v-c6d34c76]{transition:unset}
|
|
1
|
+
.vue-ui-xy *[data-v-bed55f69]{transition:unset}.vue-ui-xy[data-v-bed55f69]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-bed55f69]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;max-width:300px}.vue-ui-xy-user-options[open][data-v-bed55f69]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-bed55f69]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-bed55f69]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-bed55f69]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-bed55f69]{align-items:center;column-gap:24px;display:flex;flex-wrap:wrap;justify-content:center;-webkit-user-select:none;user-select:none;width:100%}.vue-ui-xy-legend-item[data-v-bed55f69]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;cursor:pointer}.vue-ui-xy-legend-item-segregated[data-v-bed55f69]{opacity:.5}.vue-ui-xy-title[data-v-bed55f69]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-bed55f69]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-bed55f69]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;z-index:1}.vue-ui-xy-table-wrapper[data-v-bed55f69]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-bed55f69]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-bed55f69]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-bed55f69]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-bed55f69]{border:1px solid #e1e5e8;background:#fafafa;position:sticky;top:0;font-weight:400;outline:1px solid #e1e5e8;-webkit-user-select:none;user-select:none}.vue-ui-xy-table-tr-selected[data-v-bed55f69]{background:#e1e5e8}.vue-ui-xy-button[data-v-bed55f69]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-xy-button[data-v-bed55f69]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-bed55f69]{animation:smartspin-bed55f69 .5s infinite linear}@keyframes smartspin-bed55f69{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-xy-range-slider[data-v-bed55f69]{width:100%;margin-bottom:12px;display:flex;flex-direction:row}.vue-ui-xy-slider--left[data-v-bed55f69],.vue-ui-xy-slider--right[data-v-bed55f69]{width:100%;padding:0 12px;display:flex;flex-direction:column}.vue-ui-xy-slider--left input[data-v-bed55f69],.vue-ui-xy-slider--right input[data-v-bed55f69]{width:100%}.vue-ui-xy-slider--right[data-v-bed55f69]{align-items:flex-end;margin-left:-10px}.vue-ui-xy-slider--left[data-v-bed55f69]{align-items:flex-start;margin-right:-10px}.vue-ui-table-main[data-v-51d6490e]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-51d6490e]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-51d6490e]{position:sticky;top:0}.vue-ui-table[data-v-51d6490e]{width:100%;position:relative}.vue-ui-table-main table[data-v-51d6490e]{border-collapse:collapse}.vue-ui-table-main th[data-v-51d6490e],.vue-ui-table-main td[data-v-51d6490e]{padding:3px 8px}.vue-ui-table-main tr td[data-v-51d6490e]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-51d6490e]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-51d6490e]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-51d6490e]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-51d6490e],.vue-ui-table-main input[data-v-51d6490e]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-51d6490e]{border:1px solid grey}.vue-ui-table-main button[data-v-51d6490e]:hover,.vue-ui-table-main button[data-v-51d6490e]:focus,.vue-ui-table-main input[data-v-51d6490e]:hover,.vue-ui-table-main input[data-v-51d6490e]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-51d6490e]{animation:clicked-51d6490e .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-51d6490e]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-51d6490e]:focus,.vue-ui-table-main button[disabled][data-v-51d6490e]:hover{outline:none}button.th-reset[data-v-51d6490e]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-51d6490e]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-51d6490e]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-51d6490e]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-51d6490e]{animation:open-dropdown-51d6490e .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-51d6490e]{animation:close-dropdown-51d6490e .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-51d6490e]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;display:flex;flex-direction:column;justify-content:flex-start;left:0;max-width:300px;min-width:150px;padding:24px 12px 12px;position:absolute;top:calc(100% + 12px)}.vue-ui-table-main .th-option[data-v-51d6490e]{border-radius:6px;cursor:pointer;padding:2px 6px;text-align:left;-webkit-user-select:none;user-select:none;width:100%;font-weight:400}.vue-ui-table-main .th-option[data-v-51d6490e]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-51d6490e],.vue-ui-table-main button.close-chart-modal[data-v-51d6490e]{align-items:center;border-radius:50%;border:none;display:flex;height:20px;padding:2px;position:absolute;right:6px;top:6px;width:20px}.vue-ui-table-main button.close-dropdown[data-v-51d6490e]:hover,.vue-ui-table-main button.close-dropdown[data-v-51d6490e]:focus,.vue-ui-table-main button.close-chart-modal[data-v-51d6490e]:hover,.vue-ui-table-main button.close-char-modal[data-v-51d6490e]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-51d6490e]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-51d6490e]:hover,.vue-ui-table-main .th-button-active[data-v-51d6490e]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-51d6490e]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-51d6490e]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-51d6490e]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-51d6490e]{font-size:12px;font-weight:400}@keyframes clicked-51d6490e{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-51d6490e]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-51d6490e]{align-items:center;border-radius:0 0 6px 6px;bottom:76px;display:flex;font-size:14px;justify-content:flex-end;min-height:20px;padding:2px 4px 2px 2px;position:absolute;right:0;text-align:right;width:100%;z-index:1}.vue-ui-table-main button.td-selector-info-reset[data-v-51d6490e]{background:transparent;border:none;color:#f17171;height:14px;margin-left:24px;padding:0;width:14px}.vue-ui-table-main button.td-selector-info-reset[data-v-51d6490e]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-51d6490e]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-51d6490e]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-51d6490e]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-51d6490e]{align-items:center;bottom:24px;display:flex;flex-direction:row;gap:12px;height:40px;justify-content:center;position:absolute;width:100%;z-index:1}.vue-ui-table-main button.vue-ui-table-navigation[data-v-51d6490e]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-51d6490e]{border-radius:6px;bottom:70px;height:6px;position:absolute;transition:all .1s ease-in-out}.vue-ui-table-main .vue-ui-table-page-scroller-wrapper[data-v-51d6490e]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-51d6490e]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-51d6490e]{position:absolute;bottom:0;z-index:2;left:12px;display:flex;flex-direction:row;gap:6px;font-size:14px;justify-content:center;align-items:center;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-paginator select[data-v-51d6490e]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-51d6490e]{align-items:center;bottom:-24px;color:#f17171;display:flex;flex-direction:row;flex-wrap:wrap;font-size:12px;gap:6px;justify-content:center;position:absolute;text-align:center;width:100%}.vue-ui-table-main th.vue-ui-table-col-selector[data-v-51d6490e]{height:12px}.vue-ui-table-main .col-selector[data-v-51d6490e]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-51d6490e]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-51d6490e]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-51d6490e]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #0000004d;display:flex;flex-direction:column;justify-content:center;min-height:200px;min-width:300px;max-width:800px;overflow:hidden;padding:12px;position:fixed;resize:horizontal;-webkit-user-select:none;user-select:none;z-index:10000}.vue-ui-table-main .vue-ui-table-chart-svg[data-v-51d6490e]{border-radius:6px;margin-bottom:12px;overflow:visible;padding:12px;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-donut-chart[data-v-51d6490e]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-51d6490e]{font-size:12px;font-variant-numeric:tabular-nums;text-align:right;-webkit-user-select:none;user-select:none}.vue-ui-table-main .chart-trend[data-v-51d6490e]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-51d6490e]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-51d6490e]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-51d6490e]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-51d6490e]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-51d6490e]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-51d6490e]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-51d6490e]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-51d6490e]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-51d6490e]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-51d6490e]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-51d6490e]{align-items:center;display:flex;gap:3px;justify-content:center;margin:24px auto 12px;padding-left:12px;padding-right:12px;width:fit-content}.vue-ui-table-main button.vue-ui-table-generate-donut[disabled][data-v-51d6490e]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-51d6490e]{align-items:center;column-gap:12px;display:flex;flex-wrap:wrap;font-size:12px;justify-content:center;margin:0 auto;max-width:400px;padding-bottom:36px}.vue-ui-table-main .vue-ui-table-donut-legend-item[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-51d6490e]{align-items:center;display:flex;flex-direction:column;font-size:4px;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-table-main .vue-ui-table-donut-label-name[data-v-51d6490e]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-51d6490e]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-51d6490e]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-51d6490e]{position:absolute;top:40px;left:0;padding:24px;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;transform:scale(0);opacity:0}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=true][data-v-51d6490e]{animation:open-dropdown-51d6490e .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-51d6490e]{animation:close-dropdown-51d6490e .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-51d6490e]{margin-top:12px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}.vue-ui-table-main .vue-ui-table-export-hub-options button[data-v-51d6490e]{width:fit-content;display:flex;align-items:center;justify-content:center;gap:3px;min-width:130px}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper[data-v-51d6490e]{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-start}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper .label[data-v-51d6490e]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-51d6490e]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-51d6490e],.vue-ui-table-main .th-has-nan[data-v-51d6490e]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-51d6490e{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-51d6490e{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-795deb2e]{transition:unset}.vue-ui-donut[data-v-795deb2e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-795deb2e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-795deb2e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-donut-legend-item[data-v-795deb2e]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-795deb2e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-donut-user-options[data-v-795deb2e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-donut-user-options[open][data-v-795deb2e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-795deb2e]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-795deb2e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-795deb2e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-795deb2e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-donut-button[data-v-795deb2e]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-795deb2e]{animation:smartspin-795deb2e .5s infinite linear}@keyframes smartspin-795deb2e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-795deb2e]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-795deb2e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-795deb2e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-1d2a2a37]{transition:unset}.vue-ui-waffle[data-v-1d2a2a37]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-1d2a2a37]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-1d2a2a37]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-waffle-legend-item[data-v-1d2a2a37]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-1d2a2a37]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-waffle-user-options[data-v-1d2a2a37]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-waffle-user-options[open][data-v-1d2a2a37]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-1d2a2a37]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-1d2a2a37]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-waffle-button[data-v-1d2a2a37]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-1d2a2a37]{animation:smartspin-1d2a2a37 .5s infinite linear}@keyframes smartspin-1d2a2a37{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-1d2a2a37]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-1d2a2a37]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-1d2a2a37]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-dbff0f7d]{transition:unset}.vue-ui-radar[data-v-dbff0f7d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-dbff0f7d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-dbff0f7d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-radar-legend-item[data-v-dbff0f7d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-dbff0f7d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-radar-user-options[data-v-dbff0f7d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-radar-user-options[open][data-v-dbff0f7d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-dbff0f7d]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-dbff0f7d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-radar-button[data-v-dbff0f7d]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-dbff0f7d]{animation:smartspin-dbff0f7d .5s infinite linear}@keyframes smartspin-dbff0f7d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-dbff0f7d]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-dbff0f7d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-dbff0f7d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-c200bf52]{transition:unset}.vue-ui-quadrant[data-v-c200bf52]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-c200bf52]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-c200bf52]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-quadrant-legend-item[data-v-c200bf52]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-c200bf52]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-quadrant-user-options[data-v-c200bf52]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-quadrant-user-options[open][data-v-c200bf52]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-c200bf52]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-c200bf52]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-c200bf52]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-c200bf52]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-quadrant-button[data-v-c200bf52]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-c200bf52]{animation:smartspin-c200bf52 .5s infinite linear}@keyframes smartspin-c200bf52{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-c200bf52]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-c200bf52]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-c200bf52]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-77e98d1e]{transition:unset}.vue-ui-gauge[data-v-77e98d1e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-77e98d1e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-77e98d1e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-gauge-legend-item[data-v-77e98d1e]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-77e98d1e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-gauge-user-options[data-v-77e98d1e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-gauge-user-options[open][data-v-77e98d1e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-77e98d1e]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-77e98d1e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-77e98d1e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-77e98d1e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-gauge-button[data-v-77e98d1e]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-77e98d1e]{animation:smartspin-77e98d1e .5s infinite linear}@keyframes smartspin-77e98d1e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-6650dd2d]{transition:unset}.vue-ui-chestnut[data-v-6650dd2d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-6650dd2d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-6650dd2d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-chestnut-legend-item[data-v-6650dd2d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-6650dd2d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-chestnut-user-options[data-v-6650dd2d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-chestnut-user-options[open][data-v-6650dd2d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-6650dd2d]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-6650dd2d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-6650dd2d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-6650dd2d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-chestnut-button[data-v-6650dd2d]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-6650dd2d]{animation:smartspin-6650dd2d .5s infinite linear}@keyframes smartspin-6650dd2d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-6650dd2d]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-6650dd2d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-6650dd2d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-6650dd2d]{opacity:0;animation:chestnut-opacity-6650dd2d .2s ease-in-out forwards}@keyframes chestnut-opacity-6650dd2d{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}.vue-ui-onion *[data-v-82c99d17]{transition:unset}.vue-ui-onion[data-v-82c99d17]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-onion .vue-ui-onion-label[data-v-82c99d17]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-onion-legend[data-v-82c99d17]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-onion-legend-item[data-v-82c99d17]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-onion-tooltip[data-v-82c99d17]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-onion-user-options[data-v-82c99d17]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-onion-user-options[open][data-v-82c99d17]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-onion summary[data-v-82c99d17]{text-align:right;direction:rtl}.vue-ui-onion-user-options-items[data-v-82c99d17]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-onion-user-options-item[data-v-82c99d17]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-onion-button[data-v-82c99d17]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-onion-button[data-v-82c99d17]:hover{background:rgba(0,0,0,.05)}.vue-ui-onion-print-icon[data-v-82c99d17]{animation:smartspin-82c99d17 .5s infinite linear}@keyframes smartspin-82c99d17{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-onion table[data-v-82c99d17]{width:100%;border-collapse:collapse}.vue-ui-onion table td[data-v-82c99d17]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-onion table th[data-v-82c99d17]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-vertical-bar *[data-v-44939c84]{transition:unset}.vue-ui-vertical-bar[data-v-44939c84]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-vertical-bar .vue-ui-vertical-bar-label[data-v-44939c84]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-vertical-bar-legend[data-v-44939c84]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-vertical-bar-legend-item[data-v-44939c84]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-vertical-bar-tooltip[data-v-44939c84]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-vertical-bar-user-options[data-v-44939c84]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-vertical-bar-user-options[open][data-v-44939c84]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-vertical-bar summary[data-v-44939c84]{text-align:right;direction:rtl}.vue-ui-vertical-bar-user-options-items[data-v-44939c84]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-vertical-bar-user-options-item[data-v-44939c84]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-vertical-bar-button[data-v-44939c84]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-vertical-bar-button[data-v-44939c84]:hover{background:rgba(0,0,0,.05)}.vue-ui-vertical-bar-print-icon[data-v-44939c84]{animation:smartspin-44939c84 .5s infinite linear}@keyframes smartspin-44939c84{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-vertical-bar table[data-v-44939c84]{width:100%;border-collapse:collapse}.vue-ui-vertical-bar table td[data-v-44939c84]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-vertical-bar table th[data-v-44939c84]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-rating-wrapper[data-v-163406e4]{display:flex;align-items:center;gap:1px;width:100%}.vue-ui-mouse-trap[data-v-163406e4]{cursor:pointer}.vue-ui-mouse-trap[data-v-163406e4]:focus:not(:focus-visible){outline:none}.vue-ui-skeleton-animated[data-v-d7608918]{animation:skeleton-animate-d7608918 1.62s infinite linear}@keyframes skeleton-animate-d7608918{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}.vue-ui-sparkline *[data-v-c6d34c76]{transition:unset}
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as u, b as s, f as V, h as U, e as t, d as n, k as r, j as o, l, m as f, a as c, i as d, c as g, v as h } from "./index-
|
|
1
|
+
import { g as u, b as s, f as V, h as U, e as t, d as n, k as r, j as o, l, m as f, a as c, i as d, c as g, v as h } from "./index-086757e0.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
u as VueUiChestnut,
|
package/dist/vue-data-ui.umd.cjs
CHANGED
|
@@ -355,9 +355,9 @@ end`};e.events.push(["putFont",function(A){(function(o){var s=o.font,l=o.out,c=o
|
|
|
355
355
|
`),l.push(` </office:body>
|
|
356
356
|
`),s.bookType=="fods"?l.push("</office:document>"):l.push("</office:document-content>"),l.join("")}}();function YB(t,e){if(e.bookType=="fods")return qB(t,e);var r=og(),n="",a=[],A=[];return n="mimetype",Ot(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Ot(r,n,qB(t,e)),a.push([n,"text/xml"]),A.push([n,"ContentFile"]),n="styles.xml",Ot(r,n,dQ(t,e)),a.push([n,"text/xml"]),A.push([n,"StylesFile"]),n="meta.xml",Ot(r,n,Wr+Yw()),a.push([n,"text/xml"]),A.push([n,"MetadataFile"]),n="manifest.rdf",Ot(r,n,_6(A)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Ot(r,n,C6(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function $h(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function gQ(t){return typeof TextEncoder<"u"?new TextEncoder().encode(t):Xa(YA(t))}function pQ(t,e){e:for(var r=0;r<=t.length-e.length;++r){for(var n=0;n<e.length;++n)if(t[r+n]!=e[n])continue e;return!0}return!1}function Pi(t){var e=t.reduce(function(a,A){return a+A.length},0),r=new Uint8Array(e),n=0;return t.forEach(function(a){r.set(a,n),n+=a.length}),r}function mQ(t,e,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);t[e+15]|=n>>7,t[e+14]|=(n&127)<<1;for(var A=0;a>=1;++A,a/=256)t[e+A]=a&255;t[e+15]|=r>=0?0:128}function oc(t,e){var r=e?e[0]:0,n=t[r]&127;e:if(t[r++]>=128&&(n|=(t[r]&127)<<7,t[r++]<128||(n|=(t[r]&127)<<14,t[r++]<128)||(n|=(t[r]&127)<<21,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,28),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,35),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,42),++r,t[r++]<128)))break e;return e&&(e[0]=r),n}function Ar(t){var e=new Uint8Array(7);e[0]=t&127;var r=1;e:if(t>127){if(e[r-1]|=128,e[r]=t>>7&127,++r,t<=16383||(e[r-1]|=128,e[r]=t>>14&127,++r,t<=2097151)||(e[r-1]|=128,e[r]=t>>21&127,++r,t<=268435455)||(e[r-1]|=128,e[r]=t/256>>>21&127,++r,t<=34359738367)||(e[r-1]|=128,e[r]=t/65536>>>21&127,++r,t<=4398046511103))break e;e[r-1]|=128,e[r]=t/16777216>>>21&127,++r}return e.slice(0,r)}function Ss(t){var e=0,r=t[e]&127;e:if(t[e++]>=128){if(r|=(t[e]&127)<<7,t[e++]<128||(r|=(t[e]&127)<<14,t[e++]<128)||(r|=(t[e]&127)<<21,t[e++]<128))break e;r|=(t[e]&127)<<28}return r}function an(t){for(var e=[],r=[0];r[0]<t.length;){var n=r[0],a=oc(t,r),A=a&7;a=Math.floor(a/8);var o=0,s;if(a==0)break;switch(A){case 0:{for(var l=r[0];t[r[0]++]>=128;);s=t.slice(l,r[0])}break;case 5:o=4,s=t.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,s=t.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=oc(t,r),s=t.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(A," for Field ").concat(a," at offset ").concat(n))}var c={data:s,type:A};e[a]==null?e[a]=[c]:e[a].push(c)}return e}function En(t){var e=[];return t.forEach(function(r,n){r.forEach(function(a){a.data&&(e.push(Ar(n*8+a.type)),a.type==2&&e.push(Ar(a.data.length)),e.push(a.data))})}),Pi(e)}function Ja(t){for(var e,r=[],n=[0];n[0]<t.length;){var a=oc(t,n),A=an(t.slice(n[0],n[0]+a));n[0]+=a;var o={id:Ss(A[1][0].data),messages:[]};A[2].forEach(function(s){var l=an(s.data),c=Ss(l[3][0].data);o.messages.push({meta:l,data:t.slice(n[0],n[0]+c)}),n[0]+=c}),(e=A[3])!=null&&e[0]&&(o.merge=Ss(A[3][0].data)>>>0>0),r.push(o)}return r}function ks(t){var e=[];return t.forEach(function(r){var n=[];n[1]=[{data:Ar(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:Ar(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(o){a.push(o.data),o.meta[3]=[{type:0,data:Ar(o.data.length)}],n[2].push({data:En(o.meta),type:2})});var A=En(n);e.push(Ar(A.length)),e.push(A),a.forEach(function(o){return e.push(o)})}),Pi(e)}function yQ(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=oc(e,r),a=[];r[0]<e.length;){var A=e[r[0]]&3;if(A==0){var o=e[r[0]++]>>2;if(o<60)++o;else{var s=o-59;o=e[r[0]],s>1&&(o|=e[r[0]+1]<<8),s>2&&(o|=e[r[0]+2]<<16),s>3&&(o|=e[r[0]+3]<<24),o>>>=0,o++,r[0]+=s}a.push(e.slice(r[0],r[0]+o)),r[0]+=o;continue}else{var l=0,c=0;if(A==1?(c=(e[r[0]]>>2&7)+4,l=(e[r[0]++]&224)<<3,l|=e[r[0]++]):(c=(e[r[0]++]>>2)+1,A==2?(l=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(l=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Pi(a)],l==0)throw new Error("Invalid offset 0");if(l>a[0].length)throw new Error("Invalid offset beyond length");if(c>=l)for(a.push(a[0].slice(-l)),c-=l;c>=a[a.length-1].length;)a.push(a[a.length-1]),c-=a[a.length-1].length;a.push(a[0].slice(-l,-l+c))}}var u=Pi(a);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function Za(t){for(var e=[],r=0;r<t.length;){var n=t[r++],a=t[r]|t[r+1]<<8|t[r+2]<<16;r+=3,e.push(yQ(n,t.slice(r,r+a))),r+=a}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Pi(e)}function Ts(t){for(var e=[],r=0;r<t.length;){var n=Math.min(t.length-r,268435455),a=new Uint8Array(4);e.push(a);var A=Ar(n),o=A.length;e.push(A),n<=60?(o++,e.push(new Uint8Array([n-1<<2]))):n<=256?(o+=2,e.push(new Uint8Array([240,n-1&255]))):n<=65536?(o+=3,e.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(o+=4,e.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(o+=5,e.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),e.push(t.slice(r,r+n)),o+=n,a[0]=0,a[1]=o&255,a[2]=o>>8&255,a[3]=o>>16&255,r+=n}return Pi(e)}function Ng(t,e){var r=new Uint8Array(32),n=$h(r),a=12,A=0;switch(r[0]=5,t.t){case"n":r[1]=2,mQ(r,a,t.v),A|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,t.v?1:0,!0),A|=2,a+=8;break;case"s":if(e.indexOf(t.v)==-1)throw new Error("Value ".concat(t.v," missing from SST!"));r[1]=3,n.setUint32(a,e.indexOf(t.v),!0),A|=8,a+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(8,A,!0),r.slice(0,a)}function Lg(t,e){var r=new Uint8Array(32),n=$h(r),a=12,A=0;switch(r[0]=3,t.t){case"n":r[2]=2,n.setFloat64(a,t.v,!0),A|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,t.v?1:0,!0),A|=32,a+=8;break;case"s":if(e.indexOf(t.v)==-1)throw new Error("Value ".concat(t.v," missing from SST!"));r[2]=3,n.setUint32(a,e.indexOf(t.v),!0),A|=16,a+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(4,A,!0),r.slice(0,a)}function Mi(t){var e=an(t);return oc(e[1][0].data)}function vQ(t,e,r){var n,a,A,o;if(!((n=t[6])!=null&&n[0])||!((a=t[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var s=((o=(A=t[8])==null?void 0:A[0])==null?void 0:o.data)&&Ss(t[8][0].data)>0||!1;if(s)throw"Math only works with normal offsets";for(var l=0,c=$h(t[7][0].data),u=0,p=[],h=$h(t[4][0].data),d=0,w=[],f=0;f<e.length;++f){if(e[f]==null){c.setUint16(f*2,65535,!0),h.setUint16(f*2,65535);continue}c.setUint16(f*2,u,!0),h.setUint16(f*2,d,!0);var m,y;switch(typeof e[f]){case"string":m=Ng({t:"s",v:e[f]},r),y=Lg({t:"s",v:e[f]},r);break;case"number":m=Ng({t:"n",v:e[f]},r),y=Lg({t:"n",v:e[f]},r);break;case"boolean":m=Ng({t:"b",v:e[f]},r),y=Lg({t:"b",v:e[f]},r);break;default:throw new Error("Unsupported value "+e[f])}p.push(m),u+=m.length,w.push(y),d+=y.length,++l}for(t[2][0].data=Ar(l);f<t[7][0].data.length/2;++f)c.setUint16(f*2,65535,!0),h.setUint16(f*2,65535,!0);return t[6][0].data=Pi(p),t[3][0].data=Pi(w),l}function wQ(t,e){if(!e||!e.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=t.Sheets[t.SheetNames[0]];t.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=va(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(Xr(n)));var A=Kh(r,{range:n,header:1}),o=["~Sh33tJ5~"];A.forEach(function(_){return _.forEach(function(B){typeof B=="string"&&o.push(B)})});var s={},l=[],c=cr.read(e.numbers,{type:"base64"});c.FileIndex.map(function(_,B){return[_,c.FullPaths[B]]}).forEach(function(_){var B=_[0],x=_[1];if(B.type==2&&B.name.match(/\.iwa/)){var S=B.content,Q=Za(S),W=Ja(Q);W.forEach(function(ue){l.push(ue.id),s[ue.id]={deps:[],location:x,type:Ss(ue.messages[0].meta[1][0].data)}})}}),l.sort(function(_,B){return _-B});var u=l.filter(function(_){return _>1}).map(function(_){return[_,Ar(_)]});c.FileIndex.map(function(_,B){return[_,c.FullPaths[B]]}).forEach(function(_){var B=_[0];if(_[1],!!B.name.match(/\.iwa/)){var x=Ja(Za(B.content));x.forEach(function(S){S.messages.forEach(function(Q){u.forEach(function(W){S.messages.some(function(ue){return Ss(ue.meta[1][0].data)!=11006&&pQ(ue.data,W[1])})&&s[W[0]].deps.push(S.id)})})})}});for(var p=cr.find(c,s[1].location),h=Ja(Za(p.content)),d,w=0;w<h.length;++w){var f=h[w];f.id==1&&(d=f)}var m=Mi(an(d.messages[0].data)[1][0].data);for(p=cr.find(c,s[m].location),h=Ja(Za(p.content)),w=0;w<h.length;++w)f=h[w],f.id==m&&(d=f);for(m=Mi(an(d.messages[0].data)[2][0].data),p=cr.find(c,s[m].location),h=Ja(Za(p.content)),w=0;w<h.length;++w)f=h[w],f.id==m&&(d=f);for(m=Mi(an(d.messages[0].data)[2][0].data),p=cr.find(c,s[m].location),h=Ja(Za(p.content)),w=0;w<h.length;++w)f=h[w],f.id==m&&(d=f);var y=an(d.messages[0].data);{y[6][0].data=Ar(n.e.r+1),y[7][0].data=Ar(n.e.c+1);var F=Mi(y[46][0].data),N=cr.find(c,s[F].location),D=Ja(Za(N.content));{for(var H=0;H<D.length&&D[H].id!=F;++H);if(D[H].id!=F)throw"Bad ColumnRowUIDMapArchive";var R=an(D[H].messages[0].data);R[1]=[],R[2]=[],R[3]=[];for(var U=0;U<=n.e.c;++U){var I=[];I[1]=I[2]=[{type:0,data:Ar(U+420690)}],R[1].push({type:2,data:En(I)}),R[2].push({type:0,data:Ar(U)}),R[3].push({type:0,data:Ar(U)})}R[4]=[],R[5]=[],R[6]=[];for(var O=0;O<=n.e.r;++O)I=[],I[1]=I[2]=[{type:0,data:Ar(O+726270)}],R[4].push({type:2,data:En(I)}),R[5].push({type:0,data:Ar(O)}),R[6].push({type:0,data:Ar(O)});D[H].messages[0].data=En(R)}N.content=Ts(ks(D)),N.size=N.content.length,delete y[46];var q=an(y[4][0].data);{q[7][0].data=Ar(n.e.r+1);var T=an(q[1][0].data),L=Mi(T[2][0].data);N=cr.find(c,s[L].location),D=Ja(Za(N.content));{if(D[0].id!=L)throw"Bad HeaderStorageBucket";var G=an(D[0].messages[0].data);for(O=0;O<A.length;++O){var Y=an(G[2][0].data);Y[1][0].data=Ar(O),Y[4][0].data=Ar(A[O].length),G[2][O]={type:G[2][0].type,data:En(Y)}}D[0].messages[0].data=En(G)}N.content=Ts(ks(D)),N.size=N.content.length;var se=Mi(q[2][0].data);N=cr.find(c,s[se].location),D=Ja(Za(N.content));{if(D[0].id!=se)throw"Bad HeaderStorageBucket";for(G=an(D[0].messages[0].data),U=0;U<=n.e.c;++U)Y=an(G[2][0].data),Y[1][0].data=Ar(U),Y[4][0].data=Ar(n.e.r+1),G[2][U]={type:G[2][0].type,data:En(Y)};D[0].messages[0].data=En(G)}N.content=Ts(ks(D)),N.size=N.content.length;var he=Mi(q[4][0].data);(function(){for(var _=cr.find(c,s[he].location),B=Ja(Za(_.content)),x,S=0;S<B.length;++S){var Q=B[S];Q.id==he&&(x=Q)}var W=an(x.messages[0].data);{W[3]=[];var ue=[];o.forEach(function(ke,ne){ue[1]=[{type:0,data:Ar(ne)}],ue[2]=[{type:0,data:Ar(1)}],ue[3]=[{type:2,data:gQ(ke)}],W[3].push({type:2,data:En(ue)})})}x.messages[0].data=En(W);var Ce=ks(B),de=Ts(Ce);_.content=de,_.size=_.content.length})();var ge=an(q[3][0].data);{var re=ge[1][0];delete ge[2];var le=an(re.data);{var fe=Mi(le[2][0].data);(function(){for(var _=cr.find(c,s[fe].location),B=Ja(Za(_.content)),x,S=0;S<B.length;++S){var Q=B[S];Q.id==fe&&(x=Q)}var W=an(x.messages[0].data);{delete W[6],delete ge[7];var ue=new Uint8Array(W[5][0].data);W[5]=[];for(var Ce=0,de=0;de<=n.e.r;++de){var ke=an(ue);Ce+=vQ(ke,A[de],o),ke[1][0].data=Ar(de),W[5].push({data:En(ke),type:2})}W[1]=[{type:0,data:Ar(n.e.c+1)}],W[2]=[{type:0,data:Ar(n.e.r+1)}],W[3]=[{type:0,data:Ar(Ce)}],W[4]=[{type:0,data:Ar(n.e.r+1)}]}x.messages[0].data=En(W);var ne=ks(B),Ee=Ts(ne);_.content=Ee,_.size=_.content.length})()}re.data=En(le)}q[3][0].data=En(ge)}y[4][0].data=En(q)}d.messages[0].data=En(y);var Ue=ks(h),b=Ts(Ue);return p.content=b,p.size=p.content.length,c}function BQ(t){return function(r){for(var n=0;n!=t.length;++n){var a=t[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function Ug(t){BQ([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function xQ(t,e){return e.bookType=="ods"?YB(t,e):e.bookType=="numbers"?wQ(t,e):e.bookType=="xlsb"?bQ(t,e):CQ(t,e)}function bQ(t,e){_s=1024,t&&!t.SSF&&(t.SSF=aa(kr)),t&&t.SSF&&(Eh(),Ch(t.SSF),e.revssf=_h(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,Ac?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r=e.bookType=="xlsb"?"bin":"xml",n=SB.indexOf(e.bookType)>-1,a=jw();Ug(e=e||{});var A=og(),o="",s=0;if(e.cellXfs=[],Oi(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),o="docProps/core.xml",Ot(A,o,Jw(t.Props,e)),a.coreprops.push(o),ar(e.rels,2,o,qt.CORE_PROPS),o="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}for(t.Props.Worksheets=t.Props.SheetNames.length,Ot(A,o,eB(t.Props)),a.extprops.push(o),ar(e.rels,3,o,qt.EXT_PROPS),t.Custprops!==t.Props&&Bn(t.Custprops||{}).length>0&&(o="docProps/custom.xml",Ot(A,o,tB(t.Custprops)),a.custprops.push(o),ar(e.rels,4,o,qt.CUST_PROPS)),s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},p=t.Sheets[t.SheetNames[s-1]],h=(p||{})["!type"]||"sheet";switch(h){case"chart":default:o="xl/worksheets/sheet"+s+"."+r,Ot(A,o,_D(s-1,o,e,t,u)),a.sheets.push(o),ar(e.wbrels,-1,"worksheets/sheet"+s+"."+r,qt.WS[0])}if(p){var d=p["!comments"],w=!1,f="";d&&d.length>0&&(f="xl/comments"+s+"."+r,Ot(A,f,kD(d,f)),a.comments.push(f),ar(u,-1,"../comments"+s+"."+r,qt.CMNT),w=!0),p["!legacy"]&&w&&Ot(A,"xl/drawings/vmlDrawing"+s+".vml",_B(s,p["!comments"])),delete p["!comments"],delete p["!legacy"]}u["!id"].rId1&&Ot(A,Xw(o),Cs(u))}return e.Strings!=null&&e.Strings.length>0&&(o="xl/sharedStrings."+r,Ot(A,o,SD(e.Strings,o,e)),a.strs.push(o),ar(e.wbrels,-1,"sharedStrings."+r,qt.SST)),o="xl/workbook."+r,Ot(A,o,ED(t,o)),a.workbooks.push(o),ar(e.rels,1,o,qt.WB),o="xl/theme/theme1.xml",Ot(A,o,CB(t.Themes,e)),a.themes.push(o),ar(e.wbrels,-1,"theme/theme1.xml",qt.THEME),o="xl/styles."+r,Ot(A,o,FD(t,o,e)),a.styles.push(o),ar(e.wbrels,-1,"styles."+r,qt.STY),t.vbaraw&&n&&(o="xl/vbaProject.bin",Ot(A,o,t.vbaraw),a.vba.push(o),ar(e.wbrels,-1,"vbaProject.bin",qt.VBA)),o="xl/metadata."+r,Ot(A,o,TD(o)),a.metadata.push(o),ar(e.wbrels,-1,"metadata."+r,qt.XLMETA),Ot(A,"[Content_Types].xml",Ww(a,e)),Ot(A,"_rels/.rels",Cs(e.rels)),Ot(A,"xl/_rels/workbook."+r+".rels",Cs(e.wbrels)),delete e.revssf,delete e.ssf,A}function CQ(t,e){_s=1024,t&&!t.SSF&&(t.SSF=aa(kr)),t&&t.SSF&&(Eh(),Ch(t.SSF),e.revssf=_h(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,Ac?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xml",n=SB.indexOf(e.bookType)>-1,a=jw();Ug(e=e||{});var A=og(),o="",s=0;if(e.cellXfs=[],Oi(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),o="docProps/core.xml",Ot(A,o,Jw(t.Props,e)),a.coreprops.push(o),ar(e.rels,2,o,qt.CORE_PROPS),o="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}t.Props.Worksheets=t.Props.SheetNames.length,Ot(A,o,eB(t.Props)),a.extprops.push(o),ar(e.rels,3,o,qt.EXT_PROPS),t.Custprops!==t.Props&&Bn(t.Custprops||{}).length>0&&(o="docProps/custom.xml",Ot(A,o,tB(t.Custprops)),a.custprops.push(o),ar(e.rels,4,o,qt.CUST_PROPS));var u=["SheetJ5"];for(e.tcid=0,s=1;s<=t.SheetNames.length;++s){var p={"!id":{}},h=t.Sheets[t.SheetNames[s-1]],d=(h||{})["!type"]||"sheet";switch(d){case"chart":default:o="xl/worksheets/sheet"+s+"."+r,Ot(A,o,RB(s-1,e,t,p)),a.sheets.push(o),ar(e.wbrels,-1,"worksheets/sheet"+s+"."+r,qt.WS[0])}if(h){var w=h["!comments"],f=!1,m="";if(w&&w.length>0){var y=!1;w.forEach(function(F){F[1].forEach(function(N){N.T==!0&&(y=!0)})}),y&&(m="xl/threadedComments/threadedComment"+s+"."+r,Ot(A,m,t8(w,u,e)),a.threadedcomments.push(m),ar(p,-1,"../threadedComments/threadedComment"+s+"."+r,qt.TCMNT)),m="xl/comments"+s+"."+r,Ot(A,m,FB(w)),a.comments.push(m),ar(p,-1,"../comments"+s+"."+r,qt.CMNT),f=!0}h["!legacy"]&&f&&Ot(A,"xl/drawings/vmlDrawing"+s+".vml",_B(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}p["!id"].rId1&&Ot(A,Xw(o),Cs(p))}return e.Strings!=null&&e.Strings.length>0&&(o="xl/sharedStrings."+r,Ot(A,o,pB(e.Strings,e)),a.strs.push(o),ar(e.wbrels,-1,"sharedStrings."+r,qt.SST)),o="xl/workbook."+r,Ot(A,o,$B(t)),a.workbooks.push(o),ar(e.rels,1,o,qt.WB),o="xl/theme/theme1.xml",Ot(A,o,CB(t.Themes,e)),a.themes.push(o),ar(e.wbrels,-1,"theme/theme1.xml",qt.THEME),o="xl/styles."+r,Ot(A,o,BB(t,e)),a.styles.push(o),ar(e.wbrels,-1,"styles."+r,qt.STY),t.vbaraw&&n&&(o="xl/vbaProject.bin",Ot(A,o,t.vbaraw),a.vba.push(o),ar(e.wbrels,-1,"vbaProject.bin",qt.VBA)),o="xl/metadata."+r,Ot(A,o,EB()),a.metadata.push(o),ar(e.wbrels,-1,"metadata."+r,qt.XLMETA),u.length>1&&(o="xl/persons/person.xml",Ot(A,o,r8(u)),a.people.push(o),ar(e.wbrels,-1,"persons/person.xml",qt.PEOPLE)),Ot(A,"[Content_Types].xml",Ww(a,e)),Ot(A,"_rels/.rels",Cs(e.rels)),Ot(A,"xl/_rels/workbook."+r+".rels",Cs(e.wbrels)),delete e.revssf,delete e.ssf,A}function EQ(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=jA(t.slice(0,12));break;case"binary":r=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function JB(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return jl(e.file,cr.write(t,{type:Jt?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");default:throw new Error("Unrecognized type "+e.type)}return cr.write(t,e)}function _Q(t,e){var r=aa(e||{}),n=xQ(t,r);return FQ(n,r)}function FQ(t,e){var r={},n=Jt?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(e.compression&&(r.compression="DEFLATE"),e.password)r.type=n;else switch(e.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+e.type)}var a=t.FullPaths?cr.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!e.compression}):t.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(e.type=="binary"||e.type=="base64")return a;a=new Uint8Array(yh(a))}return e.password&&typeof encrypt_agile<"u"?JB(encrypt_agile(a,e.password),e):e.type==="file"?jl(e.file,a):e.type=="string"?Xl(a):a}function SQ(t,e){var r=e||{},n=zD(t,r);return JB(n,r)}function kA(t,e,r){r||(r="");var n=r+t;switch(e.type){case"base64":return zl(YA(n));case"binary":return YA(n);case"string":return t;case"file":return jl(e.file,n,"utf8");case"buffer":return Jt?WA(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):kA(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function kQ(t,e){switch(e.type){case"base64":return zl(t);case"binary":return t;case"string":return t;case"file":return jl(e.file,t,"binary");case"buffer":return Jt?WA(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function zh(t,e){switch(e.type){case"string":case"base64":case"binary":for(var r="",n=0;n<t.length;++n)r+=String.fromCharCode(t[n]);return e.type=="base64"?zl(r):e.type=="string"?Xl(r):r;case"file":return jl(e.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+e.type)}}function ZB(t,e){rN(),dD(t);var r=aa(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=ZB(t,r);return r.type="array",yh(n)}var a=0;if(r.sheet&&(typeof r.sheet=="number"?a=r.sheet:a=t.SheetNames.indexOf(r.sheet),!t.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return kA(VD(t,r),r);case"slk":case"sylk":return kA(uL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"htm":case"html":return kA(GB(t.Sheets[t.SheetNames[a]],r),r);case"txt":return kQ(tx(t.Sheets[t.SheetNames[a]],r),r);case"csv":return kA(Ig(t.Sheets[t.SheetNames[a]],r),r,"\uFEFF");case"dif":return kA(hL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"dbf":return zh(cL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"prn":return kA(fL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"rtf":return kA(wL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"eth":return kA(dB.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"fods":return kA(YB(t,r),r);case"wk1":return zh(gB.sheet_to_wk1(t.Sheets[t.SheetNames[a]],r),r);case"wk3":return zh(gB.book_to_wk3(t,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),zh(KB(t,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),SQ(t,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return _Q(t,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function TQ(t,e,r,n,a,A,o,s){var l=bn(r),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),p=!0,h=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch{h.__rowNum__=r}else h.__rowNum__=r;if(!o||t[r])for(var d=e.s.c;d<=e.e.c;++d){var w=o?t[r][d]:t[n[d]+l];if(w===void 0||w.t===void 0){if(c===void 0)continue;A[d]!=null&&(h[A[d]]=c);continue}var f=w.v;switch(w.t){case"z":if(f==null)break;continue;case"e":f=f==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+w.t)}if(A[d]!=null){if(f==null)if(w.t=="e"&&f===null)h[A[d]]=null;else if(c!==void 0)h[A[d]]=c;else if(u&&f===null)h[A[d]]=null;else continue;else h[A[d]]=u&&(w.t!=="n"||w.t==="n"&&s.rawNumbers!==!1)?f:JA(w,f,s);f!=null&&(p=!1)}}return{row:h,isempty:p}}function Kh(t,e){if(t==null||t["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,A=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=e||{},u=c.range!=null?c.range:t["!ref"];switch(c.header===1?n=1:c.header==="A"?n=2:Array.isArray(c.header)?n=3:c.header==null&&(n=0),typeof u){case"string":l=Br(u);break;case"number":l=Br(t["!ref"]),l.s.r=u;break;default:l=u}n>0&&(a=0);var p=bn(l.s.r),h=[],d=[],w=0,f=0,m=Array.isArray(t),y=l.s.r,F=0,N={};m&&!t[y]&&(t[y]=[]);var D=c.skipHidden&&t["!cols"]||[],H=c.skipHidden&&t["!rows"]||[];for(F=l.s.c;F<=l.e.c;++F)if(!(D[F]||{}).hidden)switch(h[F]=Dn(F),r=m?t[y][F]:t[h[F]+p],n){case 1:A[F]=F-l.s.c;break;case 2:A[F]=h[F];break;case 3:A[F]=c.header[F-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),s=o=JA(r,null,c),f=N[o]||0,!f)N[o]=1;else{do s=o+"_"+f++;while(N[s]);N[o]=f,N[s]=1}A[F]=s}for(y=l.s.r+a;y<=l.e.r;++y)if(!(H[y]||{}).hidden){var R=TQ(t,l,y,h,n,A,m,c);(R.isempty===!1||(n===1?c.blankrows!==!1:c.blankrows))&&(d[w++]=R.row)}return d.length=w,d}var ex=/"/g;function NQ(t,e,r,n,a,A,o,s){for(var l=!0,c=[],u="",p=bn(r),h=e.s.c;h<=e.e.c;++h)if(n[h]){var d=s.dense?(t[r]||[])[h]:t[n[h]+p];if(d==null)u="";else if(d.v!=null){l=!1,u=""+(s.rawNumbers&&d.t=="n"?d.v:JA(d,null,s));for(var w=0,f=0;w!==u.length;++w)if((f=u.charCodeAt(w))===a||f===A||f===34||s.forceQuotes){u='"'+u.replace(ex,'""')+'"';break}u=="ID"&&(u='"ID"')}else d.f!=null&&!d.F?(l=!1,u="="+d.f,u.indexOf(",")>=0&&(u='"'+u.replace(ex,'""')+'"')):u="";c.push(u)}return s.blankrows===!1&&l?null:c.join(o)}function Ig(t,e){var r=[],n=e??{};if(t==null||t["!ref"]==null)return"";var a=Br(t["!ref"]),A=n.FS!==void 0?n.FS:",",o=A.charCodeAt(0),s=n.RS!==void 0?n.RS:`
|
|
357
357
|
`,l=s.charCodeAt(0),c=new RegExp((A=="|"?"\\|":A)+"+$"),u="",p=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],w=a.s.c;w<=a.e.c;++w)(h[w]||{}).hidden||(p[w]=Dn(w));for(var f=0,m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||(u=NQ(t,a,m,p,o,l,A,n),u!=null&&(n.strip&&(u=u.replace(c,"")),(u||n.blankrows!==!1)&&r.push((f++?s:"")+u)));return delete n.dense,r.join("")}function tx(t,e){e||(e={}),e.FS=" ",e.RS=`
|
|
358
|
-
`;var r=Ig(t,e);return r}function LQ(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var a=Br(t["!ref"]),A="",o=[],s,l=[],c=Array.isArray(t);for(s=a.s.c;s<=a.e.c;++s)o[s]=Dn(s);for(var u=a.s.r;u<=a.e.r;++u)for(A=bn(u),s=a.s.c;s<=a.e.c;++s)if(e=o[s]+A,r=c?(t[u]||[])[s]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function rx(t,e,r){var n=r||{},a=+!n.skipHeader,A=t||{},o=0,s=0;if(A&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?hn(n.origin):n.origin;o=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:o+e.length-1+a}};if(A["!ref"]){var p=Br(A["!ref"]);u.e.c=Math.max(u.e.c,p.e.c),u.e.r=Math.max(u.e.r,p.e.r),o==-1&&(o=p.e.r+1,u.e.r=o+e.length-1+a)}else o==-1&&(o=0,u.e.r=e.length-1+a);var h=n.header||[],d=0;e.forEach(function(f,m){Bn(f).forEach(function(y){(d=h.indexOf(y))==-1&&(h[d=h.length]=y);var F=f[y],N="z",D="",H=nr({c:s+d,r:o+m+a});c=sc(A,H),F&&typeof F=="object"&&!(F instanceof Date)?A[H]=F:(typeof F=="number"?N="n":typeof F=="boolean"?N="b":typeof F=="string"?N="s":F instanceof Date?(N="d",n.cellDates||(N="n",F=na(F)),D=n.dateNF||kr[14]):F===null&&n.nullError&&(N="e",F=0),c?(c.t=N,c.v=F,delete c.w,delete c.R,D&&(c.z=D)):A[H]=c={t:N,v:F},D&&(c.z=D))})}),u.e.c=Math.max(u.e.c,s+h.length-1);var w=bn(o);if(a)for(d=0;d<h.length;++d)A[Dn(d+s)+w]={t:"s",v:h[d]};return A["!ref"]=Xr(u),A}function UQ(t,e){return rx(null,t,e)}function sc(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=hn(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?sc(t,nr(e)):sc(t,nr({r:e,c:r||0}))}function IQ(t,e){if(typeof e=="number"){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}else if(typeof e=="string"){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}else throw new Error("Cannot find sheet |"+e+"|")}function DQ(){return{SheetNames:[],Sheets:{}}}function QQ(t,e,r,n){var a=1;if(!r)for(;a<=65535&&t.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var A=r.match(/(^.*?)(\d+)$/);a=A&&+A[2]||0;var o=A&&A[1]||r;for(++a;a<=65535&&t.SheetNames.indexOf(r=o+a)!=-1;++a);}if(VB(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function OQ(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=IQ(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r}function PQ(t,e){return t.z=e,t}function nx(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function MQ(t,e,r){return nx(t,"#"+e,r)}function RQ(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function HQ(t,e,r,n){for(var a=typeof e!="string"?e:Br(e),A=typeof e=="string"?e:Xr(e),o=a.s.r;o<=a.e.r;++o)for(var s=a.s.c;s<=a.e.c;++s){var l=sc(t,o,s);l.t="n",l.F=A,delete l.v,o==a.s.r&&s==a.s.c&&(l.f=r,n&&(l.D=!0))}return t}var Dg={encode_col:Dn,encode_row:bn,encode_cell:nr,encode_range:Xr,decode_col:pg,decode_row:gg,split_cell:n6,decode_cell:hn,decode_range:va,format_cell:JA,sheet_add_aoa:Mw,sheet_add_json:rx,sheet_add_dom:jB,aoa_to_sheet:Bs,json_to_sheet:UQ,table_to_sheet:WB,table_to_book:hQ,sheet_to_csv:Ig,sheet_to_txt:tx,sheet_to_json:Kh,sheet_to_html:GB,sheet_to_formulae:LQ,sheet_to_row_object_array:Kh,sheet_get_cell:sc,book_new:DQ,book_append_sheet:QQ,book_set_sheet_visibility:OQ,cell_set_number_format:PQ,cell_set_hyperlink:nx,cell_set_internal_link:MQ,cell_add_comment:RQ,sheet_set_array_formula:HQ,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Gh(t,e,r,n,a){let{series:A}=t;if(!A||t.base===0)return{...A,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const o=[...A].map(c=>c.value).reduce((c,u)=>c+u,0),s=[];let l=0;for(let c=0;c<A.length;c+=1){let u=A[c].value/o;const p=u*(Math.PI*1.9999),d=A[c].value/2/o*(Math.PI*2),{startX:w,startY:f,endX:m,endY:y,path:F}=Ax([e,r],[n,a],[l,p],110);s.push({cx:e,cy:r,...A[c],proportion:u,ratio:p,path:F,startX:w,startY:f,endX:m,endY:y,center:Ax([e,r],[n*1.45,a*1.45],[l,d],110)}),l+=p}return s}function jh([t,e],[r,n]){return[t+r,e+n]}function Wh([[t,e],[r,n]],[a,A]){return[t*a+e*A,r*a+n*A]}function ax(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function Ax([t,e],[r,n],[a,A],o){A=A%(2*Math.PI);const s=ax(o),[l,c]=jh(Wh(s,[r*Math.cos(a),n*Math.sin(a)]),[t,e]),[u,p]=jh(Wh(s,[r*Math.cos(a+A),n*Math.sin(a+A)]),[t,e]),h=A>Math.PI?1:0,d=A>0?1:0;return{startX:l,startY:c,endX:u,endY:p,path:`M${l} ${c} A ${[r,n,o/(2*Math.PI)*360,h,d,u,p].join(" ")}`}}function Wn({defaultConfig:t,userConfig:e}){const r={...t};return Object.keys(r).forEach(n=>{if(Object.hasOwn(e,n)){const a=e[n];typeof a=="boolean"?r[n]=a:["string","number"].includes(typeof a)?zQ(a)&&(r[n]=a):Array.isArray(r[n])?VQ({userConfig:e,key:n})&&(r[n]=a):$Q({userConfig:e,key:n})&&(r[n]=Wn({defaultConfig:r[n],userConfig:a}))}}),r}function VQ({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length>=0}function $Q({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function zQ(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function KQ(t){return![void 0,NaN,1/0,-1/0].includes(t)}function GQ(t,e=0){return isNaN(t)?e:t}const It=["#3366cc","#dc3912","#ff9900","#109618","#990099","#0099c6","#dd4477","#66aa00","#b82e2e","#316395","#994499","#22aa99","#aaaa11","#6633cc","#e67300","#8b0707","#651067","#329262","#5574a6","#3b3eac","#b77322","#16d620","#b91383","#f4359e","#9c5935","#a9c413","#2a778d","#668d1c","#bea413","#0c5922","#743411"],yt=["00","03","05","08","0A","0D","0F","12","14","17","1A","1C","1F","21","24","26","29","2B","2E","30","33","36","38","3B","3D","40","42","45","47","4A","4D","4F","52","54","57","59","5C","5E","61","63","66","69","6B","6E","70","73","75","78","7A","7D","80","82","85","87","8A","8C","8F","91","94","96","99","9C","9E","A1","A3","A6","A8","AB","AD","B0","B3","B5","B8","BA","BD","BF","C2","C4","C7","C9","CC","CF","D1","D4","D6","D9","DB","DE","E0","E3","E6","E8","EB","ED","F0","F2","F5","F7","FA","FC","FF"];function Nr(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,r=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t==="transparent")return"#FFFFFF00";let a;if(a=t.match(e)){const[,A,o,s]=a;return`#${A}${o}${s}`}else if(a=t.match(r)){const[,A,o,s]=a;return`#${Ns(A)}${Ns(o)}${Ns(s)}`}else if(a=t.match(n)){const[,A,o,s]=a,l=jQ(Number(A),Number(o),Number(s));return`#${Ns(l[0])}${Ns(l[1])}${Ns(l[2])}`}return null}function Ns(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function jQ(t,e,r){t/=360,e/=100,r/=100;let n,a,A;if(e===0)n=a=A=r;else{const o=(c,u,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?c+(u-c)*6*p:p<.5?u:p<.6666666666666666?c+(u-c)*(.6666666666666666-p)*6:c),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=o(l,s,t+1/3),a=o(l,s,t),A=o(l,s,t-1/3)}return[Math.round(n*255),Math.round(a*255),Math.round(A*255)]}function eA(t,e){const r=c=>({r:parseInt(c.substring(1,3),16),g:parseInt(c.substring(3,5),16),b:parseInt(c.substring(5,7),16)}),n=({r:c,g:u,b:p})=>{c/=255,u/=255,p/=255;const h=Math.max(c,u,p),d=Math.min(c,u,p);let w,f,m=(h+d)/2;if(h===d)w=f=0;else{const y=h-d;switch(f=m>.5?y/(2-h-d):y/(h+d),h){case c:w=(u-p)/y+(u<p?6:0);break;case u:w=(p-c)/y+2;break;case p:w=(c-u)/y+4;break}w/=6}return{h:w,s:f,l:m}},a=({h:c,s:u,l:p})=>{let h,d,w;if(u===0)h=d=w=p;else{const f=(F,N,D)=>(D<0&&(D+=1),D>1&&(D-=1),D<.16666666666666666?F+(N-F)*6*D:D<.5?N:D<.6666666666666666?F+(N-F)*(.6666666666666666-D)*6:F),m=p<.5?p*(1+u):p+u-p*u,y=2*p-m;h=f(y,m,c+.3333333333333333),d=f(y,m,c),w=f(y,m,c-.3333333333333333)}return{r:Math.round(h*255),g:Math.round(d*255),b:Math.round(w*255)}},A=r(t),o=n(A);o.h+=e,o.h=(o.h+1)%1;const s=a(o);return`#${(s.r<<16|s.g<<8|s.b).toString(16).padStart(6,"0")}`}function WQ({centerX:t,centerY:e,outerPoints:r,radius:n,rotation:a}){const A=Math.PI/r,o=a;let s="";const l=[];for(let c=0;c<r*2;c+=1){let u=t+Math.cos(c*A+o)*n,p=e+Math.sin(c*A+o)*n;s+=`${u},${p} `,l.push({x:u,y:p})}return{path:`M${s}Z`,coordinates:l}}function tA({plot:t,radius:e,sides:r,rotation:n=0}){const a=t.x,A=t.y,o=r/2;return WQ({centerX:a,centerY:A,outerPoints:o,radius:e+1,rotation:n})}function XQ({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:a}){const A=Math.PI/r,o=60,s=r*2;let l="";for(let c=0;c<s;c+=1){let p=c%2==0?a:n,h=t+Math.cos(c*A+o)*p,d=e+Math.sin(c*A+o)*p;l+=`${h},${d} `}return l}function Xh({plot:t,radius:e,apexes:r=5}){const n=t.x,a=t.y,A=r,o=e*3.5/A,l=o*2;return XQ({centerX:n,centerY:a,innerCirclePoints:A,innerRadius:o,outerRadius:l})}function qQ({series:t}){t=t.sort((c,u)=>c.x-u.x);function e(c,u,p){const h=(c.x-u.x)*(p.x-u.x)+(c.y-u.y)*(p.y-u.y),d=(c.x-u.x)*(p.y-u.y)-(p.x-u.x)*(c.y-u.y);return Math.atan2(d,h)}const r=[];let n;n=t[0];for(const c of t)c.x<n.x&&(n=c);r[0]=n;let a,A,o,s;a=r[0],A={x:a.x,y:a.y+1};do{o=Math.PI;for(const c of t)n=e(A,a,c),n<=o&&(s=c,o=n);s!==r[0]&&(r.push(s),A=a,a=s)}while(s!==r[0]);let l;return r.forEach(c=>{c&&c.x&&c.y&&(l+=`${Math.round(c.x)},${Math.round(c.y)} `)}),l=l.replaceAll("undefined",""),l}function Qg(t){if(t){let e=t;e.charAt(0)!=="#"&&(e=this.rgbToHex(t)),e=e.substring(1,7);let r=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16),o=[r/255,n/255,a/255].map(l=>l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4));return .2126*o[0]+.7152*o[1]+.0722*o[2]>.3?"#000000":"#FFFFFF"}return"#000000"}function Xn(t){for(const e in t)typeof t[e]=="object"&&!Array.isArray(t[e])&&t[e]!==null?Xn(t[e]):(e==="color"||e==="backgroundColor"||e==="stroke")&&(t[e]===""?t[e]="#000000":t[e]==="transparent"?t[e]="#FFFFFF00":t[e]=Nr(t[e]));return t}function ei(t,e){function r(l){let c=new ArrayBuffer(l.length),u=new Uint8Array(c);for(let p=0;p<l.length;p++)u[p]=l.charCodeAt(p)&255;return c}const n=Dg.book_new(),a=Dg.aoa_to_sheet(t);Dg.book_append_sheet(n,a,"Sheet1");const A=ZB(n,{bookType:"xlsx",type:"binary"}),o=new Blob([r(A)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=`${e.replaceAll(" ","_")}.xlsx`,s.click(),window.URL.revokeObjectURL(s.href)}function ix(t){let e,r,n,a;const A=t.length;let o=0,s=0,l=0,c=0;for(const{x:d,y:w}of t)o+=d,s+=w,l+=d*w,c+=d*d;const u=(A*l-o*s)/(A*c-o*o),p=(s-u*o)/A;e=t[0].x,n=t[A-1].x,r=u*e+p,a=u*n+p;const h=YQ(t.map(d=>d.value));return{x1:e,y1:r,x2:n,y2:a,slope:u,trend:h}}function YQ(t){const e=t[0],n=t[t.length-1]-e;let a=0;for(let o=1;o<t.length;o++){const s=Math.abs(t[o]-t[o-1]);a+=s}return n/a}const ia={vue_ui_table:{fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:"#E1E5E8",color:"#2D353C",outline:"1px solid #FFFFFF",selected:{backgroundColor:"#6376DD",color:"#FFFFFF"}},rows:{even:{backgroundColor:"#f3f5f7",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}},odd:{backgroundColor:"#FFFFFF",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}}},inputs:{backgroundColor:"#FFFFFF",color:"#2D353C",border:"1px solid #CCCCCC",accentColor:"#6376DD"},dropdowns:{backgroundColor:"#E1E5E8",color:"#2D353C",icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:"#E1E5E8",color:"#2D353C"},pagination:{buttons:{backgroundColor:"#E1E5E8",color:"#2D353C",opacityDisabled:.5},navigationIndicator:{backgroundColor:"#6376DD"}},exportMenu:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{backgroundColor:"#FAFAFA",color:"#2D353C"}},closeButtons:{backgroundColor:"transparent",color:"#2D353C",borderRadius:"50%"},chart:{modal:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{selected:{backgroundColor:"#6376DD",color:"#FFFFFF"},unselected:{backgroundColor:"#FFFFFF",color:"#2D353C"}}},layout:{backgroundColor:"#FFFFFF",axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:"#FFFFFF"},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:"#FFFFFF",strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:"#2D353C"},progression:{stroke:"#2D353C",strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"XLSX all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"XLSX page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0},vue_ui_xy:{chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,zoom:{show:!0,color:"#2D353C"},padding:{top:36,right:12,bottom:12,left:48},highlighter:{color:"#2D353C",opacity:5},grid:{stroke:"#e1e5e8",showVerticalLines:!1,labels:{color:"#2D353C",show:!0,fontSize:10,axis:{yLabel:"",xLabel:"",fontSize:12},xAxisLabels:{color:"#2D353C",show:!0,values:[],fontSize:6,showOnlyFirstAndLast:!1}}},labels:{fontSize:10},legend:{color:"#2D353C",show:!0,useDiv:!0,fontSize:16},title:{show:!0,useDiv:!0,color:"#2D353C",text:"",fontSize:20,bold:!0,offsetX:0,offsetY:0,subtitle:{fontSize:16,color:"grey",text:""}},tooltip:{color:"#2D353C",backgroundColor:"white",show:!0,showValue:!0,showPercentage:!1,roundingValue:0,roundingPercentage:0},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",titleInside:"Title inside",legendInside:"Legend inside",showTable:"Show table"}}},bar:{useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},line:{radius:3,useGradient:!0,strokeWidth:2,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},table:{rounding:0,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8"}},showTable:!1},vue_ui_donut:{style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!1,labels:{dataLabels:{show:!0,hideUnderValue:3},percentage:{color:"#2D353C",bold:!0,fontSize:18},name:{color:"#2D353C",bold:!1,fontSize:14},hollow:{total:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Total",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Average",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:64}},legend:{backgroundColor:"#FFFFFF",color:"#2D353C",show:!0,fontSize:16,bold:!1,roundingValue:0,roundingPercentage:0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,color:"#2D353C",backgroundColor:"#FFFFFF",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",useDiv:"Title & legend inside",showTable:"Show table"}},translations:{total:"Total",average:"Average"},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_waffle:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grid:{size:20,spaceBetween:2,vertical:!1},rect:{rounded:!0,rounding:2,stroke:"#2D353C",strokeWidth:1,useGradient:!0,gradientIntensity:40},useDiv:!0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_radar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,plots:{show:!0,radius:2},outerPolygon:{stroke:"#CCCCCC",strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:"#e1e5e8",strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:12,color:"#2D353C"}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingPercentage:0}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},translations:{target:"Target"}},vue_ui_quadrant:{style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,labels:{quadrantLabels:{show:!0,tl:{text:"",color:"#2D353C",fontSize:16,bold:!0},tr:{text:"",color:"#2D353C",fontSize:16,bold:!0},br:{text:"",color:"#2D353C",fontSize:16,bold:!0},bl:{text:"",color:"#2D353C",fontSize:16,bold:!0}},plotLabels:{show:!0,fontSize:10,color:"#2D353C",offsetY:8},axisLabels:{show:!0,fontSize:14,color:{positive:"#2D353C",negative:"#2D353C"}}},grid:{stroke:"#e1e5e8",strokeWidth:1.5,showArrows:!0,graduations:{stroke:"#e1e5e8",strokeWidth:.5,show:!0,steps:5,fill:!0,color:"#E1E5E8",roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:"#FFFFFF",outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table",showPlotLabels:"Show plot labels"}},translations:{category:"Category",item:"Item",side:"Side"}},vue_ui_gauge:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",animation:{use:!0,speed:1,acceleration:1},layout:{useDiv:!1,track:{size:1,useGradient:!0,gradientIntensity:40},markers:{size:1,color:"#2D353C",strokeWidth:1,stroke:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{size:1,stroke:"#2D353C",strokeWidth:12,useRatingColor:!0,color:"#CCCCCC",circle:{radius:10,stroke:"#2D353C",strokeWidth:2,color:"#FFFFFF"}}},legend:{fontSize:48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:"#2D353C"},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title inside",showTable:"Show table"}},translations:{base:"Base"}},vue_ui_chestnut:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grandTotal:{show:!0,fontSize:20,bold:!0,suffix:"",prefix:"",roundingValue:0,color:"#2D353C",text:"Grand total",offsetY:0},roots:{stroke:"#FFFFFF",strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",labels:{show:!0,fontSize:16,adaptColorToBackground:!0,color:"#FFFFFF",bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:"#2D353C",fontSize:16,bold:!0}}},verticalSeparator:{stroke:"#FFFFFF",strokeWidth:5},links:{opacity:10},branches:{stroke:"#FFFFFF",strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",widthRatio:1.5,labels:{show:!0,fontSize:14,color:"#2D353C",bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:"#2D353C",fontSize:12,bold:!0,prefix:"",suffix:""},core:{total:{color:"#2D353C",fontSize:24,bold:!1},value:{color:"#2D353C",fontSize:24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:16,color:"#2D353C",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{color:"#2D353C",fontSize:20,text:"",bold:!0,offsetY:0,subtitle:{text:"",color:"#CCCCCC",bold:!1,fontSize:16,offsetY:0}}}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8",translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{showTable:"Show table"}},translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},vue_ui_onion:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",useGradient:!1,gradientIntensity:20,layout:{useDiv:!0,gutter:{color:"#e1e5e8",width:.62},track:{width:.62},labels:{show:!0,fontSize:14,color:"#2D353C",roundingValue:0,roundingPercentage:0,bold:!0,offsetY:0,offsetX:0,value:{show:!0},percentage:{show:!0}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},vue_ui_vertical_bar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,bars:{sort:"desc",useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:"#FFFFFF",dataLabels:{color:"#2D353C",bold:!0,fontSize:12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0},parentLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0}},highlighter:{color:"#2D353C",opacity:5},separators:{show:!0,color:"#e1e5e8",strokeWidth:1}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,fontSize:14,color:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table",sort:"Sort desc"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}},vue_ui_screenshot:{mode:"download",quality:1,style:{info:{background:"#FFFFFF",bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:"#2D353C",fontFamily:"inherit",fontSize:14,minWidth:300,padding:12,top:-100},captureButton:{background:"#E1E5E8",bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:"#2D353C",fontFamily:"inherit",fontSize:14,minHeight:40,padding:"8px 12px"},cancelButton:{background:"#F17171",border:"none",borderRadius:10,color:"#FFFFFF",right:-14,size:28,top:-14},captureArea:{background:"radial-gradient(transparent, rgba(0,0,0,0.15))",border:"dashed 4px #2D353C",initialHeight:200,initialWidth:200},handles:{background:"#FFFFFF",border:"4px solid #2D353C",borderRadius:4,size:40}},translations:{captureButton:"capture",info:"Resize or move and click to capture"}},vue_ui_rating:{type:"star",readonly:!1,from:1,to:5,style:{fontFamily:"inherit",animated:!0,itemSize:32,backgroundColor:"#FFFFFF",star:{activeColor:"#FFD055",borderColor:"#FFD055",borderWidth:3,apexes:5,inactiveColor:"#e1e5e8",useGradient:!0},image:{src:"",inactiveOpacity:.3,alt:"rating image"},title:{textAlign:"center",fontSize:20,color:"#2D353C",bold:!0,text:"",offsetY:6,subtitle:{fontSize:14,color:"#CCCCCC",bold:!1,text:"",offsetY:12}},rating:{show:!0,fontSize:28,bold:!0,roundingValue:1,position:"bottom",offsetY:0,offsetX:0},tooltip:{show:!0,fontSize:14,offsetY:0,color:"#2D353C",bold:!0,backgroundColor:"#FFFFFF",borderColor:"#e1e5e8",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},vue_ui_skeleton:{type:"line",style:{backgroundColor:"#FFFFFF",color:"#2D353C",maxHeight:500,animated:!0,chestnut:{color:"#E1E5E8"},line:{axis:{show:!0,color:"#e1e5e8",strokeWidth:.5},path:{color:"#e1e5e8",strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:"#e1e5e8",strokeWidth:.5},borderRadius:.5,color:"#e1e5e8",barWidth:9},donut:{color:"#e1e5e8",strokeWidth:64},onion:{color:"#E1E5E8"},gauge:{color:"#E1E5E8"},quadrant:{grid:{color:"#e1e5e8",strokeWidth:.5},plots:{radius:1.5,color:"#E1E5E8"}},radar:{grid:{color:"#E1E5E8",strokeWidth:.5},shapes:{color:"#E1E5E8"}},waffle:{color:"#e1e5e8"},table:{th:{color:"#E1E5E8"},td:{color:"#e1e5e8",strokeWidth:.5}},rating:{color:"#E1E5E8",filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:"#e1e5e8",strokeWidth:.5},borderRadius:.5,color:"#e1e5e8"}}},vue_ui_sparkline:{style:{backgroundColor:"#FFFFFF",fontFamily:"inherit",line:{color:"#3366cc",strokeWidth:3},zeroLine:{color:"#2D353C",strokeWidth:1},plot:{show:!0,radius:4,stroke:"#FFFFFF",strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5},dataLabel:{position:"left",fontSize:20,bold:!0,color:"#2D353C",roundingValue:0,valueType:"latest"},title:{show:!0,textAlign:"left",color:"#2D353C",fontSize:16,bold:!0,text:""},area:{show:!0,useGradient:!0,opacity:30,color:"#3366cc"}}}},Coe="",Ba=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},JQ={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},data(){const t=`vue-data-ui-xy_${Math.random()}_${Math.random()}`,e=Math.max(...this.dataset.map(n=>n.series.length)),r={start:0,end:e};return{opacity:yt,useSafeValues:!0,palette:It,defaultConfig:ia.vue_ui_xy,clientPosition:{x:0,y:0},icons:{line:"▬",bar:"◼",plot:"●"},isPrinting:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},titleInside:!0,legendInside:!0,showTable:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:t,slicer:r,maxX:e}},computed:{chartConfig(){if(!Object.keys(this.config||{}).length)return this.defaultConfig;const t=this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config});return this.convertConfigColors(t)},relativeZero(){return this.min>=0?0:Math.abs(this.min)},absoluteMax(){return this.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((t,e)=>({...t,series:t.series.map(r=>this.isSafeValue(r)?r:null).slice(this.slicer.start,this.slicer.end),id:`uniqueId_${e}`})):this.dataset},relativeDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])})).filter(t=>!this.segregatedSeries.includes(t.id))},absoluteDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])}))},barSet(){return this.absoluteDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).map((t,e)=>({...t,plots:t.series.map((r,n)=>({x:this.drawingArea.left-this.slot.bar/2+this.slot.bar*e+this.slot.bar*n*this.absoluteDataset.filter(a=>a.type==="bar").filter(a=>!this.segregatedSeries.includes(a.id)).length,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(r),value:t.absoluteValues[n]}))}))},lineSet(){return this.absoluteDataset.filter(t=>t.type==="line").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.line/2+this.slot.line*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},plotSet(){return this.absoluteDataset.filter(t=>t.type==="plot").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},drawingArea(){return{top:this.chartConfig.chart.padding.top,right:this.chartConfig.chart.width-this.chartConfig.chart.padding.right,bottom:this.chartConfig.chart.height-this.chartConfig.chart.padding.bottom,left:this.chartConfig.chart.padding.left,height:this.chartConfig.chart.height-(this.chartConfig.chart.padding.top+this.chartConfig.chart.padding.bottom),width:this.chartConfig.chart.width-(this.chartConfig.chart.padding.right+this.chartConfig.chart.padding.left)}},max(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.max(...t.series)))},min(){const t=Math.min(...this.safeDataset.filter(e=>!this.segregatedSeries.includes(e.id)).map(e=>Math.min(...e.series)));return t>0?0:t},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.chartConfig.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},maxSlot(){return Math.max(...Object.values(this.slot).filter(t=>t!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[]};const t=this.relativeDataset.map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.timeLabels.forEach((r,n)=>{const a=[r];this.relativeDataset.forEach(A=>{a.push(this.canShowValue(A.absoluteValues[n])?Number(A.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),e.push(a)}),{head:t,body:e}},tooltipContent(){const t=this.relativeDataset.map(a=>({name:a.name,color:a.color,type:a.type,value:a.absoluteValues.find((A,o)=>o===this.selectedSerieIndex)}));let e="",r=t.map(a=>a.value).filter(a=>this.isSafeValue(a)&&a!==null).reduce((a,A)=>Math.abs(a)+Math.abs(A),0);const n=this.timeLabels[this.selectedSerieIndex];return n&&(e+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #e1e5e8; width:100%">${n}</div>`),t.forEach(a=>{this.isSafeValue(a.value)&&a.value!==null&&(e+=`<div><span style="color:${a.color}; margin-right: 3px">${this.icons[a.type]}</span>${a.name} : <b>${this.chartConfig.chart.tooltip.showValue?a.value.toFixed(this.chartConfig.chart.tooltip.roundingValue):""}</b> ${this.chartConfig.chart.tooltip.showPercentage?`(${this.checkNaN(Math.abs(a.value)/r*100).toFixed(this.chartConfig.chart.tooltip.roundingPercentage)}%)`:""}</div>`)}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums; background:${this.chartConfig.chart.tooltip.backgroundColor};color:${this.chartConfig.chart.tooltip.color}">${e}</div>`},tooltipPosition(){const t=this.$refs.tooltip,e=this.$refs.chart;let r=0,n=48;if(t&&e){const{width:a,height:A}=t.getBoundingClientRect(),o=e.getBoundingClientRect();this.clientPosition.x+a/2>o.right?r=-a:this.clientPosition.x-a/2<o.left?r=0:r=-a/2,this.clientPosition.y+A>o.bottom&&(n=-A-48)}return{top:this.clientPosition.y+n,left:this.clientPosition.x+r}},viewBox(){return`0 0 ${this.chartConfig.chart.width} ${this.chartConfig.chart.height}`},yLabels(){const t=this.closestDecimal(this.max/5),e=[];for(let a=5;a>0;a-=1){const A=t*a;e.push({y:this.zero-this.drawingArea.height*this.ratioToMax(t*a),value:A})}const r=this.closestDecimal(this.min/5),n=[];for(let a=5;a>=0;a-=1){const A=Math.abs(r)*a;n.push({y:this.zero+this.drawingArea.height*this.ratioToMax(Math.abs(r)*a),value:-A})}return[...e,...n]},zero(){return this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(this.relativeZero)}},mounted(){const t=document.getElementById("yAxisLabel");if(t){const r=t.getBBox().height/2+this.chartConfig.chart.padding.left/5,n=this.chartConfig.chart.height/2;t.setAttributeNS(null,"transform",`rotate(-90, ${r}, ${n})`),t.setAttributeNS(null,"x",r),t.setAttributeNS(null,"y",n),t.setAttributeNS(null,"font-size",this.chartConfig.chart.grid.labels.axis.fontSize)}this.chartConfig.showWarnings&&this.dataset.forEach(e=>{e.series.forEach((r,n)=>{this.isSafeValue(r)||console.warn(`SmartXY has detected an unsafe value in your dataset:
|
|
358
|
+
`;var r=Ig(t,e);return r}function LQ(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var a=Br(t["!ref"]),A="",o=[],s,l=[],c=Array.isArray(t);for(s=a.s.c;s<=a.e.c;++s)o[s]=Dn(s);for(var u=a.s.r;u<=a.e.r;++u)for(A=bn(u),s=a.s.c;s<=a.e.c;++s)if(e=o[s]+A,r=c?(t[u]||[])[s]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function rx(t,e,r){var n=r||{},a=+!n.skipHeader,A=t||{},o=0,s=0;if(A&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?hn(n.origin):n.origin;o=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:o+e.length-1+a}};if(A["!ref"]){var p=Br(A["!ref"]);u.e.c=Math.max(u.e.c,p.e.c),u.e.r=Math.max(u.e.r,p.e.r),o==-1&&(o=p.e.r+1,u.e.r=o+e.length-1+a)}else o==-1&&(o=0,u.e.r=e.length-1+a);var h=n.header||[],d=0;e.forEach(function(f,m){Bn(f).forEach(function(y){(d=h.indexOf(y))==-1&&(h[d=h.length]=y);var F=f[y],N="z",D="",H=nr({c:s+d,r:o+m+a});c=sc(A,H),F&&typeof F=="object"&&!(F instanceof Date)?A[H]=F:(typeof F=="number"?N="n":typeof F=="boolean"?N="b":typeof F=="string"?N="s":F instanceof Date?(N="d",n.cellDates||(N="n",F=na(F)),D=n.dateNF||kr[14]):F===null&&n.nullError&&(N="e",F=0),c?(c.t=N,c.v=F,delete c.w,delete c.R,D&&(c.z=D)):A[H]=c={t:N,v:F},D&&(c.z=D))})}),u.e.c=Math.max(u.e.c,s+h.length-1);var w=bn(o);if(a)for(d=0;d<h.length;++d)A[Dn(d+s)+w]={t:"s",v:h[d]};return A["!ref"]=Xr(u),A}function UQ(t,e){return rx(null,t,e)}function sc(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=hn(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?sc(t,nr(e)):sc(t,nr({r:e,c:r||0}))}function IQ(t,e){if(typeof e=="number"){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}else if(typeof e=="string"){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}else throw new Error("Cannot find sheet |"+e+"|")}function DQ(){return{SheetNames:[],Sheets:{}}}function QQ(t,e,r,n){var a=1;if(!r)for(;a<=65535&&t.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var A=r.match(/(^.*?)(\d+)$/);a=A&&+A[2]||0;var o=A&&A[1]||r;for(++a;a<=65535&&t.SheetNames.indexOf(r=o+a)!=-1;++a);}if(VB(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function OQ(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=IQ(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r}function PQ(t,e){return t.z=e,t}function nx(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function MQ(t,e,r){return nx(t,"#"+e,r)}function RQ(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function HQ(t,e,r,n){for(var a=typeof e!="string"?e:Br(e),A=typeof e=="string"?e:Xr(e),o=a.s.r;o<=a.e.r;++o)for(var s=a.s.c;s<=a.e.c;++s){var l=sc(t,o,s);l.t="n",l.F=A,delete l.v,o==a.s.r&&s==a.s.c&&(l.f=r,n&&(l.D=!0))}return t}var Dg={encode_col:Dn,encode_row:bn,encode_cell:nr,encode_range:Xr,decode_col:pg,decode_row:gg,split_cell:n6,decode_cell:hn,decode_range:va,format_cell:JA,sheet_add_aoa:Mw,sheet_add_json:rx,sheet_add_dom:jB,aoa_to_sheet:Bs,json_to_sheet:UQ,table_to_sheet:WB,table_to_book:hQ,sheet_to_csv:Ig,sheet_to_txt:tx,sheet_to_json:Kh,sheet_to_html:GB,sheet_to_formulae:LQ,sheet_to_row_object_array:Kh,sheet_get_cell:sc,book_new:DQ,book_append_sheet:QQ,book_set_sheet_visibility:OQ,cell_set_number_format:PQ,cell_set_hyperlink:nx,cell_set_internal_link:MQ,cell_add_comment:RQ,sheet_set_array_formula:HQ,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Gh(t,e,r,n,a){let{series:A}=t;if(!A||t.base===0)return{...A,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const o=[...A].map(c=>c.value).reduce((c,u)=>c+u,0),s=[];let l=0;for(let c=0;c<A.length;c+=1){let u=A[c].value/o;const p=u*(Math.PI*1.9999),d=A[c].value/2/o*(Math.PI*2),{startX:w,startY:f,endX:m,endY:y,path:F}=Ax([e,r],[n,a],[l,p],110);s.push({cx:e,cy:r,...A[c],proportion:u,ratio:p,path:F,startX:w,startY:f,endX:m,endY:y,center:Ax([e,r],[n*1.45,a*1.45],[l,d],110)}),l+=p}return s}function jh([t,e],[r,n]){return[t+r,e+n]}function Wh([[t,e],[r,n]],[a,A]){return[t*a+e*A,r*a+n*A]}function ax(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function Ax([t,e],[r,n],[a,A],o){A=A%(2*Math.PI);const s=ax(o),[l,c]=jh(Wh(s,[r*Math.cos(a),n*Math.sin(a)]),[t,e]),[u,p]=jh(Wh(s,[r*Math.cos(a+A),n*Math.sin(a+A)]),[t,e]),h=A>Math.PI?1:0,d=A>0?1:0;return{startX:l,startY:c,endX:u,endY:p,path:`M${l} ${c} A ${[r,n,o/(2*Math.PI)*360,h,d,u,p].join(" ")}`}}function Wn({defaultConfig:t,userConfig:e}){const r={...t};return Object.keys(r).forEach(n=>{if(Object.hasOwn(e,n)){const a=e[n];typeof a=="boolean"?r[n]=a:["string","number"].includes(typeof a)?zQ(a)&&(r[n]=a):Array.isArray(r[n])?VQ({userConfig:e,key:n})&&(r[n]=a):$Q({userConfig:e,key:n})&&(r[n]=Wn({defaultConfig:r[n],userConfig:a}))}}),r}function VQ({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length>=0}function $Q({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function zQ(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function KQ(t){return![void 0,NaN,1/0,-1/0].includes(t)}function GQ(t,e=0){return isNaN(t)?e:t}const It=["#3366cc","#dc3912","#ff9900","#109618","#990099","#0099c6","#dd4477","#66aa00","#b82e2e","#316395","#994499","#22aa99","#aaaa11","#6633cc","#e67300","#8b0707","#651067","#329262","#5574a6","#3b3eac","#b77322","#16d620","#b91383","#f4359e","#9c5935","#a9c413","#2a778d","#668d1c","#bea413","#0c5922","#743411"],yt=["00","03","05","08","0A","0D","0F","12","14","17","1A","1C","1F","21","24","26","29","2B","2E","30","33","36","38","3B","3D","40","42","45","47","4A","4D","4F","52","54","57","59","5C","5E","61","63","66","69","6B","6E","70","73","75","78","7A","7D","80","82","85","87","8A","8C","8F","91","94","96","99","9C","9E","A1","A3","A6","A8","AB","AD","B0","B3","B5","B8","BA","BD","BF","C2","C4","C7","C9","CC","CF","D1","D4","D6","D9","DB","DE","E0","E3","E6","E8","EB","ED","F0","F2","F5","F7","FA","FC","FF"];function Nr(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,r=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t==="transparent")return"#FFFFFF00";let a;if(a=t.match(e)){const[,A,o,s]=a;return`#${A}${o}${s}`}else if(a=t.match(r)){const[,A,o,s]=a;return`#${Ns(A)}${Ns(o)}${Ns(s)}`}else if(a=t.match(n)){const[,A,o,s]=a,l=jQ(Number(A),Number(o),Number(s));return`#${Ns(l[0])}${Ns(l[1])}${Ns(l[2])}`}return null}function Ns(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function jQ(t,e,r){t/=360,e/=100,r/=100;let n,a,A;if(e===0)n=a=A=r;else{const o=(c,u,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?c+(u-c)*6*p:p<.5?u:p<.6666666666666666?c+(u-c)*(.6666666666666666-p)*6:c),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=o(l,s,t+1/3),a=o(l,s,t),A=o(l,s,t-1/3)}return[Math.round(n*255),Math.round(a*255),Math.round(A*255)]}function eA(t,e){const r=c=>({r:parseInt(c.substring(1,3),16),g:parseInt(c.substring(3,5),16),b:parseInt(c.substring(5,7),16)}),n=({r:c,g:u,b:p})=>{c/=255,u/=255,p/=255;const h=Math.max(c,u,p),d=Math.min(c,u,p);let w,f,m=(h+d)/2;if(h===d)w=f=0;else{const y=h-d;switch(f=m>.5?y/(2-h-d):y/(h+d),h){case c:w=(u-p)/y+(u<p?6:0);break;case u:w=(p-c)/y+2;break;case p:w=(c-u)/y+4;break}w/=6}return{h:w,s:f,l:m}},a=({h:c,s:u,l:p})=>{let h,d,w;if(u===0)h=d=w=p;else{const f=(F,N,D)=>(D<0&&(D+=1),D>1&&(D-=1),D<.16666666666666666?F+(N-F)*6*D:D<.5?N:D<.6666666666666666?F+(N-F)*(.6666666666666666-D)*6:F),m=p<.5?p*(1+u):p+u-p*u,y=2*p-m;h=f(y,m,c+.3333333333333333),d=f(y,m,c),w=f(y,m,c-.3333333333333333)}return{r:Math.round(h*255),g:Math.round(d*255),b:Math.round(w*255)}},A=r(t),o=n(A);o.h+=e,o.h=(o.h+1)%1;const s=a(o);return`#${(s.r<<16|s.g<<8|s.b).toString(16).padStart(6,"0")}`}function WQ({centerX:t,centerY:e,outerPoints:r,radius:n,rotation:a}){const A=Math.PI/r,o=a;let s="";const l=[];for(let c=0;c<r*2;c+=1){let u=t+Math.cos(c*A+o)*n,p=e+Math.sin(c*A+o)*n;s+=`${u},${p} `,l.push({x:u,y:p})}return{path:`M${s}Z`,coordinates:l}}function tA({plot:t,radius:e,sides:r,rotation:n=0}){const a=t.x,A=t.y,o=r/2;return WQ({centerX:a,centerY:A,outerPoints:o,radius:e+1,rotation:n})}function XQ({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:a}){const A=Math.PI/r,o=60,s=r*2;let l="";for(let c=0;c<s;c+=1){let p=c%2==0?a:n,h=t+Math.cos(c*A+o)*p,d=e+Math.sin(c*A+o)*p;l+=`${h},${d} `}return l}function Xh({plot:t,radius:e,apexes:r=5}){const n=t.x,a=t.y,A=r,o=e*3.5/A,l=o*2;return XQ({centerX:n,centerY:a,innerCirclePoints:A,innerRadius:o,outerRadius:l})}function qQ({series:t}){t=t.sort((c,u)=>c.x-u.x);function e(c,u,p){const h=(c.x-u.x)*(p.x-u.x)+(c.y-u.y)*(p.y-u.y),d=(c.x-u.x)*(p.y-u.y)-(p.x-u.x)*(c.y-u.y);return Math.atan2(d,h)}const r=[];let n;n=t[0];for(const c of t)c.x<n.x&&(n=c);r[0]=n;let a,A,o,s;a=r[0],A={x:a.x,y:a.y+1};do{o=Math.PI;for(const c of t)n=e(A,a,c),n<=o&&(s=c,o=n);s!==r[0]&&(r.push(s),A=a,a=s)}while(s!==r[0]);let l;return r.forEach(c=>{c&&c.x&&c.y&&(l+=`${Math.round(c.x)},${Math.round(c.y)} `)}),l=l.replaceAll("undefined",""),l}function Qg(t){if(t){let e=t;e.charAt(0)!=="#"&&(e=this.rgbToHex(t)),e=e.substring(1,7);let r=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16),o=[r/255,n/255,a/255].map(l=>l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4));return .2126*o[0]+.7152*o[1]+.0722*o[2]>.3?"#000000":"#FFFFFF"}return"#000000"}function Xn(t){for(const e in t)typeof t[e]=="object"&&!Array.isArray(t[e])&&t[e]!==null?Xn(t[e]):(e==="color"||e==="backgroundColor"||e==="stroke")&&(t[e]===""?t[e]="#000000":t[e]==="transparent"?t[e]="#FFFFFF00":t[e]=Nr(t[e]));return t}function ei(t,e){function r(l){let c=new ArrayBuffer(l.length),u=new Uint8Array(c);for(let p=0;p<l.length;p++)u[p]=l.charCodeAt(p)&255;return c}const n=Dg.book_new(),a=Dg.aoa_to_sheet(t);Dg.book_append_sheet(n,a,"Sheet1");const A=ZB(n,{bookType:"xlsx",type:"binary"}),o=new Blob([r(A)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=`${e.replaceAll(" ","_")}.xlsx`,s.click(),window.URL.revokeObjectURL(s.href)}function ix(t){let e,r,n,a;const A=t.length;if(!t||t.length===0)return{x1:0,y1:0,x2:0,y2:0,slope:0,trend:0};let o=0,s=0,l=0,c=0;for(const{x:d,y:w}of t)o+=d,s+=w,l+=d*w,c+=d*d;const u=(A*l-o*s)/(A*c-o*o),p=(s-u*o)/A;e=t[0].x,n=t[A-1].x,r=u*e+p,a=u*n+p;const h=YQ(t.map(d=>d.value));return{x1:e,y1:r,x2:n,y2:a,slope:u,trend:h}}function YQ(t){const e=t[0],n=t[t.length-1]-e;let a=0;for(let o=1;o<t.length;o++){const s=Math.abs(t[o]-t[o-1]);a+=s}return n/a}const ia={vue_ui_table:{fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:"#E1E5E8",color:"#2D353C",outline:"1px solid #FFFFFF",selected:{backgroundColor:"#6376DD",color:"#FFFFFF"}},rows:{even:{backgroundColor:"#f3f5f7",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}},odd:{backgroundColor:"#FFFFFF",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}}},inputs:{backgroundColor:"#FFFFFF",color:"#2D353C",border:"1px solid #CCCCCC",accentColor:"#6376DD"},dropdowns:{backgroundColor:"#E1E5E8",color:"#2D353C",icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:"#E1E5E8",color:"#2D353C"},pagination:{buttons:{backgroundColor:"#E1E5E8",color:"#2D353C",opacityDisabled:.5},navigationIndicator:{backgroundColor:"#6376DD"}},exportMenu:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{backgroundColor:"#FAFAFA",color:"#2D353C"}},closeButtons:{backgroundColor:"transparent",color:"#2D353C",borderRadius:"50%"},chart:{modal:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{selected:{backgroundColor:"#6376DD",color:"#FFFFFF"},unselected:{backgroundColor:"#FFFFFF",color:"#2D353C"}}},layout:{backgroundColor:"#FFFFFF",axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:"#FFFFFF"},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:"#FFFFFF",strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:"#2D353C"},progression:{stroke:"#2D353C",strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"XLSX all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"XLSX page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0},vue_ui_xy:{chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,zoom:{show:!0,color:"#2D353C"},padding:{top:36,right:12,bottom:12,left:48},highlighter:{color:"#2D353C",opacity:5},grid:{stroke:"#e1e5e8",showVerticalLines:!1,labels:{color:"#2D353C",show:!0,fontSize:10,axis:{yLabel:"",xLabel:"",fontSize:12},xAxisLabels:{color:"#2D353C",show:!0,values:[],fontSize:6,showOnlyFirstAndLast:!1}}},labels:{fontSize:10},legend:{color:"#2D353C",show:!0,useDiv:!0,fontSize:16},title:{show:!0,useDiv:!0,color:"#2D353C",text:"",fontSize:20,bold:!0,offsetX:0,offsetY:0,subtitle:{fontSize:16,color:"grey",text:""}},tooltip:{color:"#2D353C",backgroundColor:"white",show:!0,showValue:!0,showPercentage:!1,roundingValue:0,roundingPercentage:0},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",titleInside:"Title inside",legendInside:"Legend inside",showTable:"Show table"}}},bar:{useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},line:{radius:3,useGradient:!0,strokeWidth:2,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},table:{rounding:0,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8"}},showTable:!1},vue_ui_donut:{style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!1,labels:{dataLabels:{show:!0,hideUnderValue:3},percentage:{color:"#2D353C",bold:!0,fontSize:18},name:{color:"#2D353C",bold:!1,fontSize:14},hollow:{total:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Total",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Average",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:64}},legend:{backgroundColor:"#FFFFFF",color:"#2D353C",show:!0,fontSize:16,bold:!1,roundingValue:0,roundingPercentage:0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,color:"#2D353C",backgroundColor:"#FFFFFF",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",useDiv:"Title & legend inside",showTable:"Show table"}},translations:{total:"Total",average:"Average"},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_waffle:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grid:{size:20,spaceBetween:2,vertical:!1},rect:{rounded:!0,rounding:2,stroke:"#2D353C",strokeWidth:1,useGradient:!0,gradientIntensity:40},useDiv:!0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_radar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,plots:{show:!0,radius:2},outerPolygon:{stroke:"#CCCCCC",strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:"#e1e5e8",strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:12,color:"#2D353C"}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingPercentage:0}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},translations:{target:"Target"}},vue_ui_quadrant:{style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,labels:{quadrantLabels:{show:!0,tl:{text:"",color:"#2D353C",fontSize:16,bold:!0},tr:{text:"",color:"#2D353C",fontSize:16,bold:!0},br:{text:"",color:"#2D353C",fontSize:16,bold:!0},bl:{text:"",color:"#2D353C",fontSize:16,bold:!0}},plotLabels:{show:!0,fontSize:10,color:"#2D353C",offsetY:8},axisLabels:{show:!0,fontSize:14,color:{positive:"#2D353C",negative:"#2D353C"}}},grid:{stroke:"#e1e5e8",strokeWidth:1.5,showArrows:!0,graduations:{stroke:"#e1e5e8",strokeWidth:.5,show:!0,steps:5,fill:!0,color:"#E1E5E8",roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:"#FFFFFF",outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table",showPlotLabels:"Show plot labels"}},translations:{category:"Category",item:"Item",side:"Side"}},vue_ui_gauge:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",animation:{use:!0,speed:1,acceleration:1},layout:{useDiv:!1,track:{size:1,useGradient:!0,gradientIntensity:40},markers:{size:1,color:"#2D353C",strokeWidth:1,stroke:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{size:1,stroke:"#2D353C",strokeWidth:12,useRatingColor:!0,color:"#CCCCCC",circle:{radius:10,stroke:"#2D353C",strokeWidth:2,color:"#FFFFFF"}}},legend:{fontSize:48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:"#2D353C"},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title inside",showTable:"Show table"}},translations:{base:"Base"}},vue_ui_chestnut:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grandTotal:{show:!0,fontSize:20,bold:!0,suffix:"",prefix:"",roundingValue:0,color:"#2D353C",text:"Grand total",offsetY:0},roots:{stroke:"#FFFFFF",strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",labels:{show:!0,fontSize:16,adaptColorToBackground:!0,color:"#FFFFFF",bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:"#2D353C",fontSize:16,bold:!0}}},verticalSeparator:{stroke:"#FFFFFF",strokeWidth:5},links:{opacity:10},branches:{stroke:"#FFFFFF",strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",widthRatio:1.5,labels:{show:!0,fontSize:14,color:"#2D353C",bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:"#2D353C",fontSize:12,bold:!0,prefix:"",suffix:""},core:{total:{color:"#2D353C",fontSize:24,bold:!1},value:{color:"#2D353C",fontSize:24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:16,color:"#2D353C",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{color:"#2D353C",fontSize:20,text:"",bold:!0,offsetY:0,subtitle:{text:"",color:"#CCCCCC",bold:!1,fontSize:16,offsetY:0}}}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8",translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{showTable:"Show table"}},translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},vue_ui_onion:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",useGradient:!1,gradientIntensity:20,layout:{useDiv:!0,gutter:{color:"#e1e5e8",width:.62},track:{width:.62},labels:{show:!0,fontSize:14,color:"#2D353C",roundingValue:0,roundingPercentage:0,bold:!0,offsetY:0,offsetX:0,value:{show:!0},percentage:{show:!0}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},vue_ui_vertical_bar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,bars:{sort:"desc",useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:"#FFFFFF",dataLabels:{color:"#2D353C",bold:!0,fontSize:12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0},parentLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0}},highlighter:{color:"#2D353C",opacity:5},separators:{show:!0,color:"#e1e5e8",strokeWidth:1}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,fontSize:14,color:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table",sort:"Sort desc"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}},vue_ui_screenshot:{mode:"download",quality:1,style:{info:{background:"#FFFFFF",bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:"#2D353C",fontFamily:"inherit",fontSize:14,minWidth:300,padding:12,top:-100},captureButton:{background:"#E1E5E8",bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:"#2D353C",fontFamily:"inherit",fontSize:14,minHeight:40,padding:"8px 12px"},cancelButton:{background:"#F17171",border:"none",borderRadius:10,color:"#FFFFFF",right:-14,size:28,top:-14},captureArea:{background:"radial-gradient(transparent, rgba(0,0,0,0.15))",border:"dashed 4px #2D353C",initialHeight:200,initialWidth:200},handles:{background:"#FFFFFF",border:"4px solid #2D353C",borderRadius:4,size:40}},translations:{captureButton:"capture",info:"Resize or move and click to capture"}},vue_ui_rating:{type:"star",readonly:!1,from:1,to:5,style:{fontFamily:"inherit",animated:!0,itemSize:32,backgroundColor:"#FFFFFF",star:{activeColor:"#FFD055",borderColor:"#FFD055",borderWidth:3,apexes:5,inactiveColor:"#e1e5e8",useGradient:!0},image:{src:"",inactiveOpacity:.3,alt:"rating image"},title:{textAlign:"center",fontSize:20,color:"#2D353C",bold:!0,text:"",offsetY:6,subtitle:{fontSize:14,color:"#CCCCCC",bold:!1,text:"",offsetY:12}},rating:{show:!0,fontSize:28,bold:!0,roundingValue:1,position:"bottom",offsetY:0,offsetX:0},tooltip:{show:!0,fontSize:14,offsetY:0,color:"#2D353C",bold:!0,backgroundColor:"#FFFFFF",borderColor:"#e1e5e8",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},vue_ui_skeleton:{type:"line",style:{backgroundColor:"#FFFFFF",color:"#2D353C",maxHeight:500,animated:!0,chestnut:{color:"#E1E5E8"},line:{axis:{show:!0,color:"#e1e5e8",strokeWidth:.5},path:{color:"#e1e5e8",strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:"#e1e5e8",strokeWidth:.5},borderRadius:.5,color:"#e1e5e8",barWidth:9},donut:{color:"#e1e5e8",strokeWidth:64},onion:{color:"#E1E5E8"},gauge:{color:"#E1E5E8"},quadrant:{grid:{color:"#e1e5e8",strokeWidth:.5},plots:{radius:1.5,color:"#E1E5E8"}},radar:{grid:{color:"#E1E5E8",strokeWidth:.5},shapes:{color:"#E1E5E8"}},waffle:{color:"#e1e5e8"},table:{th:{color:"#E1E5E8"},td:{color:"#e1e5e8",strokeWidth:.5}},rating:{color:"#E1E5E8",filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:"#e1e5e8",strokeWidth:.5},borderRadius:.5,color:"#e1e5e8"}}},vue_ui_sparkline:{style:{backgroundColor:"#FFFFFF",fontFamily:"inherit",line:{color:"#3366cc",strokeWidth:3},zeroLine:{color:"#2D353C",strokeWidth:1},plot:{show:!0,radius:4,stroke:"#FFFFFF",strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5},dataLabel:{position:"left",fontSize:20,bold:!0,color:"#2D353C",roundingValue:0,valueType:"latest"},title:{show:!0,textAlign:"left",color:"#2D353C",fontSize:16,bold:!0,text:""},area:{show:!0,useGradient:!0,opacity:30,color:"#3366cc"}}}},Coe="",Ba=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},JQ={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},data(){const t=`vue-data-ui-xy_${Math.random()}_${Math.random()}`,e=Math.max(...this.dataset.map(n=>n.series.length)),r={start:0,end:e};return{opacity:yt,useSafeValues:!0,palette:It,defaultConfig:ia.vue_ui_xy,clientPosition:{x:0,y:0},icons:{line:"▬",bar:"◼",plot:"●"},isPrinting:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},titleInside:!0,legendInside:!0,showTable:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:t,slicer:r,maxX:e}},computed:{chartConfig(){if(!Object.keys(this.config||{}).length)return this.defaultConfig;const t=this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config});return this.convertConfigColors(t)},relativeZero(){return this.min>=0?0:Math.abs(this.min)},absoluteMax(){return this.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((t,e)=>({...t,series:t.series.map(r=>this.isSafeValue(r)?r:null).slice(this.slicer.start,this.slicer.end),id:`uniqueId_${e}`})):this.dataset},relativeDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])})).filter(t=>!this.segregatedSeries.includes(t.id))},absoluteDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])}))},barSet(){return this.absoluteDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).map((t,e)=>({...t,plots:t.series.map((r,n)=>({x:this.drawingArea.left-this.slot.bar/2+this.slot.bar*e+this.slot.bar*n*this.absoluteDataset.filter(a=>a.type==="bar").filter(a=>!this.segregatedSeries.includes(a.id)).length,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(r),value:t.absoluteValues[n]}))}))},lineSet(){return this.absoluteDataset.filter(t=>t.type==="line").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.line/2+this.slot.line*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},plotSet(){return this.absoluteDataset.filter(t=>t.type==="plot").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},drawingArea(){return{top:this.chartConfig.chart.padding.top,right:this.chartConfig.chart.width-this.chartConfig.chart.padding.right,bottom:this.chartConfig.chart.height-this.chartConfig.chart.padding.bottom,left:this.chartConfig.chart.padding.left,height:this.chartConfig.chart.height-(this.chartConfig.chart.padding.top+this.chartConfig.chart.padding.bottom),width:this.chartConfig.chart.width-(this.chartConfig.chart.padding.right+this.chartConfig.chart.padding.left)}},max(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.max(...t.series)))},min(){const t=Math.min(...this.safeDataset.filter(e=>!this.segregatedSeries.includes(e.id)).map(e=>Math.min(...e.series)));return t>0?0:t},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.chartConfig.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},maxSlot(){return Math.max(...Object.values(this.slot).filter(t=>t!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[]};const t=this.relativeDataset.map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.timeLabels.forEach((r,n)=>{const a=[r];this.relativeDataset.forEach(A=>{a.push(this.canShowValue(A.absoluteValues[n])?Number(A.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),e.push(a)}),{head:t,body:e}},tooltipContent(){const t=this.relativeDataset.map(a=>({name:a.name,color:a.color,type:a.type,value:a.absoluteValues.find((A,o)=>o===this.selectedSerieIndex)}));let e="",r=t.map(a=>a.value).filter(a=>this.isSafeValue(a)&&a!==null).reduce((a,A)=>Math.abs(a)+Math.abs(A),0);const n=this.timeLabels[this.selectedSerieIndex];return n&&(e+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #e1e5e8; width:100%">${n}</div>`),t.forEach(a=>{this.isSafeValue(a.value)&&a.value!==null&&(e+=`<div><span style="color:${a.color}; margin-right: 3px">${this.icons[a.type]}</span>${a.name} : <b>${this.chartConfig.chart.tooltip.showValue?a.value.toFixed(this.chartConfig.chart.tooltip.roundingValue):""}</b> ${this.chartConfig.chart.tooltip.showPercentage?`(${this.checkNaN(Math.abs(a.value)/r*100).toFixed(this.chartConfig.chart.tooltip.roundingPercentage)}%)`:""}</div>`)}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums; background:${this.chartConfig.chart.tooltip.backgroundColor};color:${this.chartConfig.chart.tooltip.color}">${e}</div>`},tooltipPosition(){const t=this.$refs.tooltip,e=this.$refs.chart;let r=0,n=48;if(t&&e){const{width:a,height:A}=t.getBoundingClientRect(),o=e.getBoundingClientRect();this.clientPosition.x+a/2>o.right?r=-a:this.clientPosition.x-a/2<o.left?r=0:r=-a/2,this.clientPosition.y+A>o.bottom&&(n=-A-48)}return{top:this.clientPosition.y+n,left:this.clientPosition.x+r}},viewBox(){return`0 0 ${this.chartConfig.chart.width} ${this.chartConfig.chart.height}`},yLabels(){const t=this.closestDecimal(this.max/5),e=[];for(let a=5;a>0;a-=1){const A=t*a;e.push({y:this.zero-this.drawingArea.height*this.ratioToMax(t*a),value:A})}const r=this.closestDecimal(this.min/5),n=[];for(let a=5;a>=0;a-=1){const A=Math.abs(r)*a;n.push({y:this.zero+this.drawingArea.height*this.ratioToMax(Math.abs(r)*a),value:-A})}return[...e,...n]},zero(){return this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(this.relativeZero)}},mounted(){const t=document.getElementById("yAxisLabel");if(t){const r=t.getBBox().height/2+this.chartConfig.chart.padding.left/5,n=this.chartConfig.chart.height/2;t.setAttributeNS(null,"transform",`rotate(-90, ${r}, ${n})`),t.setAttributeNS(null,"x",r),t.setAttributeNS(null,"y",n),t.setAttributeNS(null,"font-size",this.chartConfig.chart.grid.labels.axis.fontSize)}this.chartConfig.showWarnings&&this.dataset.forEach(e=>{e.series.forEach((r,n)=>{this.isSafeValue(r)||console.warn(`SmartXY has detected an unsafe value in your dataset:
|
|
359
359
|
-----> The serie '${e.name}' contains the value '${r}' at index ${n}.
|
|
360
|
-
'${r}' was converted to null to allow the chart to display.`)})}),document.addEventListener("mousemove",e=>{this.clientPosition={x:e.clientX,y:e.clientY}}),this.mutableConfig={dataLabels:{show:!0},titleInside:!this.chartConfig.chart.title.useDiv,legendInside:!this.chartConfig.chart.legend.useDiv,showTable:this.chartConfig.showTable===!0}},methods:{checkNaN:GQ,isSafeValue:KQ,treeShake:Wn,shiftHue:eA,pdf:GA,convertColorToHex:Nr,convertConfigColors:Xn,makeXls:ei,adaptColorToBackground:Qg,calcLinearProgression:ix,calcRectHeight(t){return t.value>=0?this.zero-t.y:t.y-this.zero},calcRectWidth(){return this.slot.bar*.9},calcRectX(t){return t.x+this.slot.bar*.05+this.slot.bar/2},calcRectY(t){return t.value>=0?t.y:this.zero},canShowValue(t){return![null,void 0,NaN].includes(t)},closeDetails(){const t=this.$refs.details;t&&t.removeAttribute("open")},closestDecimal(t){if(t===0)return 0;const r=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/r)*r,n},ratioToMax(t){return t/this.absoluteMax},selectX(t){this.$emit("selectX",{dataset:this.relativeDataset.map(e=>({name:e.name,value:[null,void 0,NaN].includes(e.absoluteValues[t])?null:e.absoluteValues[t],color:e.color,type:e.type})),index:t,indexLabel:this.chartConfig.chart.grid.labels.xAxisLabels.values[t]})},getData(){return this.absoluteDataset.map(t=>({values:t.absoluteValues,color:t.color,name:t.name,type:t.type}))},segregate(t){if(this.segregatedSeries.includes(t.id))this.segregatedSeries=this.segregatedSeries.filter(e=>e!==t.id);else{if(this.segregatedSeries.length+1===this.safeDataset.length)return;this.segregatedSeries.push(t.id)}this.$emit("selectLegend",this.relativeDataset.map(e=>({name:e.name,values:e.absoluteValues,color:e.color,type:e.type})))},toggleTooltip(t,e=null){this.isTooltip=t,t?this.selectedSerieIndex=e:this.selectedSerieIndex=null},generatePdf(){this.isPrinting=!0,this.pdf({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.chartConfig.chart.title.text||"vue-ui-xy"}).finally(()=>{this.isPrinting=!1})},generateXls(){const t=[[this.chartConfig.chart.title.text],[this.chartConfig.chart.title.subtitle.text],[""]],e=["",...this.table.head.map(a=>a.label)],r=this.table.body,n=t.concat([e]).concat(r);this.makeXls(n,this.chartConfig.chart.title.text||"vue-ui-xy")}}},ZQ=t=>(i.pushScopeId("data-v-a5be86ab"),t=t(),i.popScopeId(),t),eO=["id"],tO={class:"vue-ui-xy-user-option-item"},rO=["id","name"],nO=["for"],aO={class:"vue-ui-xy-user-option-item"},AO=["id","name"],iO=["for"],oO={class:"vue-ui-xy-user-option-item"},sO=["id","name"],lO=["for"],cO={class:"vue-ui-xy-user-option-item"},uO=["id","name"],hO=["for"],fO=["disabled"],dO=["stroke"],gO=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-a5be86ab></path><path d="M18 16v.01" data-v-a5be86ab></path><path d="M6 16v.01" data-v-a5be86ab></path><path d="M12 5v.01" data-v-a5be86ab></path><path d="M12 12v.01" data-v-a5be86ab></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-a5be86ab></path>',6)],pO={key:1},mO=["viewBox"],yO={class:"vue-ui-xy-grid"},vO=["stroke","x1","x2","y1","y2"],wO=["stroke","x1","x2","y1","y2"],BO={key:0},xO=["x1","x2","y1","y2","stroke"],bO=["id"],CO=["stop-color"],EO=["stop-color"],_O=["stop-color"],FO=["id"],SO=["stop-color"],kO=["stop-color"],TO=["stop-color"],NO=["id"],LO=["stop-color"],UO=["stop-color"],IO=["id"],DO=["stop-color"],QO=["stop-color"],OO=["x","y","height","width","fill"],PO={key:0},MO=["id"],RO=["fill"],HO=["x1","x2","y1","y2","stroke","marker-end"],VO=["x","y","font-size","fill"],$O=["cx","cy","r","fill","stroke"],zO={key:0},KO=["id"],GO=["fill"],jO=["x1","x2","y1","y2","stroke","marker-end"],WO=["x","y","font-size","fill"],XO=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],qO=["cx","cy","r","fill","stroke"],YO={key:0},JO=["id"],ZO=["fill"],e7=["x1","x2","y1","y2","stroke","marker-end"],t7=["x","y","font-size","fill"],r7={key:0},n7=["x","y","font-size","fill"],a7={key:1},A7=["x","y","font-size","fill"],i7=["x","y"],o7=["x","y"],s7={key:2},l7=["x","y","font-size","fill"],c7=["x","y"],u7=["x","y"],h7={key:3},f7=["x1","x2","y1","y2","stroke"],d7=["x","y","font-size","fill"],g7=["font-size","fill"],p7=["x","y","font-size","fill"],m7={key:4},y7={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},v7={key:5},w7=["y"],B7={class:"vue-ui-xy-legend"},x7=["onClick"],b7={key:6},C7=["y","x","font-size","fill"],E7={key:7},_7=["x","y","height","width","fill","onMouseenter","onClick"],F7={key:2,class:"vue-ui-xy-range-slider","data-html2canvas-ignore":""},S7={class:"vue-ui-xy-slider--left"},k7=["for"],T7=["id","max"],N7={class:"vue-ui-xy-slider--right"},L7=["for"],U7=["id","min","max"],I7=["onClick"],D7=["innerHTML"],Q7=["innerHTML"],O7={class:"vue-ui-xy-table"},P7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},M7=[ZQ(()=>i.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[i.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),i.createElementVNode("path",{d:"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2"})],-1))],R7=["onMouseover"];function H7(t,e,r,n,a,A){return i.openBlock(),i.createElementBlock("div",{id:`vue-ui-xy_${a.uniqueId}`,class:"vue-ui-xy",ref:"chart",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor}; color:${A.chartConfig.chart.color};width:100%`)},[A.chartConfig.chart.title.show&&(!a.mutableConfig.titleInside||a.isPrinting)?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title",style:i.normalizeStyle(`font-family:${A.chartConfig.chart.fontFamily}`)},[i.createElementVNode("div",{class:"vue-ui-xy-title-main",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.fontSize}px; color:${A.chartConfig.chart.title.color}; font-weight:${A.chartConfig.chart.title.bold?"bold":"400"}`)},i.toDisplayString(A.chartConfig.chart.title.text),5),A.chartConfig.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.subtitle.fontSize}px; color:${A.chartConfig.chart.title.subtitle.color}`)},i.toDisplayString(A.chartConfig.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),A.chartConfig.chart.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-xy-user-options",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`),"data-html2canvas-ignore":"",ref:"details"},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},i.toDisplayString(A.chartConfig.chart.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-xy-user-options-items",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},[i.createElementVNode("div",tO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-datalabels_${a.uniqueId}`,name:`vue-ui-xy-option-datalabels_${a.uniqueId}`,"onUpdate:modelValue":e[0]||(e[0]=o=>a.mutableConfig.dataLabels.show=o)},null,8,rO),[[i.vModelCheckbox,a.mutableConfig.dataLabels.show]]),i.createElementVNode("label",{for:`vue-ui-xy-option-datalabels_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.dataLabels),9,nO)]),i.createElementVNode("div",aO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-title_${a.uniqueId}`,name:`vue-ui-xy-option-title_${a.uniqueId}`,"onUpdate:modelValue":e[1]||(e[1]=o=>a.mutableConfig.titleInside=o)},null,8,AO),[[i.vModelCheckbox,a.mutableConfig.titleInside]]),i.createElementVNode("label",{for:`vue-ui-xy-option-title_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.titleInside),9,iO)]),i.createElementVNode("div",oO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-legend_${a.uniqueId}`,name:`vue-ui-xy-option-legend_${a.uniqueId}`,"onUpdate:modelValue":e[2]||(e[2]=o=>a.mutableConfig.legendInside=o)},null,8,sO),[[i.vModelCheckbox,a.mutableConfig.legendInside]]),i.createElementVNode("label",{for:`vue-ui-xy-option-legend_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.legendInside),9,lO)]),i.createElementVNode("div",cO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-table_${a.uniqueId}`,name:`vue-ui-xy-option-table_${a.uniqueId}`,"onUpdate:modelValue":e[3]||(e[3]=o=>a.mutableConfig.showTable=o)},null,8,uO),[[i.vModelCheckbox,a.mutableConfig.showTable]]),i.createElementVNode("label",{for:`vue-ui-xy-option-table_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.showTable),9,hO)]),i.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[4]||(e[4]=(...o)=>A.generatePdf&&A.generatePdf(...o)),disabled:a.isPrinting,style:i.normalizeStyle(`margin-top: 12px; background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},[a.isPrinting?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-xy-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:A.chartConfig.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},gO,8,dO)):(i.openBlock(),i.createElementBlock("span",pO,"PDF"))],12,fO),i.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[5]||(e[5]=(...o)=>A.generateXls&&A.generateXls(...o)),style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{width:"100%",viewBox:A.viewBox,class:"vue-ui-xy-svg",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor}; color:${A.chartConfig.chart.color}; font-family:${A.chartConfig.chart.fontFamily}`),onClick:e[7]||(e[7]=(...o)=>A.closeDetails&&A.closeDetails(...o))},[i.createElementVNode("g",yO,[i.createElementVNode("line",{stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1",x1:A.drawingArea.left,x2:A.drawingArea.left,y1:A.drawingArea.top,y2:A.drawingArea.bottom,"stroke-linecap":"round"},null,8,vO),i.createElementVNode("line",{stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1",x1:A.drawingArea.left,x2:A.drawingArea.right,y1:A.zero,y2:A.zero,"stroke-linecap":"round"},null,8,wO),A.chartConfig.chart.grid.showVerticalLines?(i.openBlock(),i.createElementBlock("g",BO,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.maxSeries+1,(o,s)=>(i.openBlock(),i.createElementBlock("line",{key:`grid_vertical_line_${s}`,x1:A.drawingArea.width/A.maxSeries*s+A.drawingArea.left,x2:A.drawingArea.width/A.maxSeries*s+A.drawingArea.left,y1:A.drawingArea.top,y2:A.drawingArea.bottom,"stroke-width":"0.5",stroke:A.chartConfig.chart.grid.stroke},null,8,xO))),128))])):i.createCommentVNode("",!0)]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_rect_${s}`},[i.createElementVNode("linearGradient",{id:`rectGradient_pos_${s}_${a.uniqueId}`,x2:"0%",y2:"100%"},[i.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,CO),i.createElementVNode("stop",{offset:"62%","stop-color":`${A.shiftHue(o.color,.02)}DE`},null,8,EO),i.createElementVNode("stop",{offset:"100%","stop-color":`${A.shiftHue(o.color,.05)}66`},null,8,_O)],8,bO),i.createElementVNode("linearGradient",{id:`rectGradient_neg_${s}_${a.uniqueId}`,x2:"0%",y2:"100%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}66`},null,8,SO),i.createElementVNode("stop",{offset:"38%","stop-color":`${A.shiftHue(o.color,.02)}DE`},null,8,kO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,TO)],8,FO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_plot_${s}`},[i.createElementVNode("radialGradient",{id:`plotGradient_${s}_${a.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}`},null,8,LO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,UO)],8,NO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_line_${s}`},[i.createElementVNode("radialGradient",{id:`lineGradient_${s}_${a.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}`},null,8,DO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,QO)],8,IO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_bar_${s}`,class:i.normalizeClass(`serie_bar_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`bar_plot_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("rect",{key:0,x:A.calcRectX(l),y:A.calcRectY(l),height:A.calcRectHeight(l),width:A.calcRectWidth(),fill:A.chartConfig.bar.useGradient?l.value>=0?`url(#rectGradient_pos_${s}_${a.uniqueId})`:`url(#rectGradient_neg_${s}_${a.uniqueId})`:o.color},null,8,OO)):i.createCommentVNode("",!0)]))),128)),Object.hasOwn(o,"useProgression")&&o.useProgression===!0&&!isNaN(A.calcLinearProgression(o.plots).trend)?(i.openBlock(),i.createElementBlock("g",PO,[i.createElementVNode("defs",null,[i.createElementVNode("marker",{id:`bar_arrow_${s}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[i.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:o.color},null,8,RO)],8,MO)]),i.createElementVNode("line",{x1:A.calcLinearProgression(o.plots).x1,x2:A.calcLinearProgression(o.plots).x2,y1:A.calcLinearProgression(o.plots).y1,y2:A.calcLinearProgression(o.plots).y2,"stroke-width":1,stroke:o.color,"stroke-dasharray":2,"marker-end":`url(#bar_arrow_${s})`},null,8,HO),i.createElementVNode("text",{"text-anchor":"middle",x:A.calcLinearProgression(o.plots).x2,y:A.calcLinearProgression(o.plots).y2-6,"font-size":A.chartConfig.chart.labels.fontSize,fill:o.color},i.toDisplayString(`${(Math.abs(A.calcLinearProgression(o.plots).trend)*100).toFixed(2)}%`),9,VO)])):i.createCommentVNode("",!0)],2))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_plot_${s}`,class:i.normalizeClass(`serie_plot_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`circle_plot_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:A.chartConfig.plot.radius,fill:A.chartConfig.plot.useGradient?`url(#plotGradient_${s}_${a.uniqueId})`:o.color,stroke:A.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,$O)):i.createCommentVNode("",!0)]))),128)),Object.hasOwn(o,"useProgression")&&o.useProgression===!0&&!isNaN(A.calcLinearProgression(o.plots).trend)?(i.openBlock(),i.createElementBlock("g",zO,[i.createElementVNode("defs",null,[i.createElementVNode("marker",{id:`plot_arrow_${s}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[i.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:o.color},null,8,GO)],8,KO)]),i.createElementVNode("line",{x1:A.calcLinearProgression(o.plots).x1,x2:A.calcLinearProgression(o.plots).x2,y1:A.calcLinearProgression(o.plots).y1,y2:A.calcLinearProgression(o.plots).y2,"stroke-width":1,stroke:o.color,"stroke-dasharray":2,"marker-end":`url(#plot_arrow_${s})`},null,8,jO),i.createElementVNode("text",{"text-anchor":"middle",x:A.calcLinearProgression(o.plots).x2,y:A.calcLinearProgression(o.plots).y2-6,"font-size":A.chartConfig.chart.labels.fontSize,fill:o.color},i.toDisplayString(`${(Math.abs(A.calcLinearProgression(o.plots).trend)*100).toFixed(2)}%`),9,WO)])):i.createCommentVNode("",!0)],2))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_line_${s}`,class:i.normalizeClass(`serie_line_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`line_${s}_${c}`},[c<o.plots.length-1&&A.canShowValue(l.value)&&A.canShowValue(o.plots[c+1].value)?(i.openBlock(),i.createElementBlock("line",{key:0,x1:l.x,x2:o.plots[c+1].x,y1:l.y,y2:o.plots[c+1].y,stroke:o.color,"stroke-width":A.chartConfig.line.strokeWidth,"stroke-dasharray":o.dashed?A.chartConfig.line.strokeWidth*2:0,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,XO)):i.createCommentVNode("",!0)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`circle_line_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:A.chartConfig.line.radius,fill:A.chartConfig.line.useGradient?`url(#lineGradient_${s}_${a.uniqueId})`:o.color,stroke:A.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,qO)):i.createCommentVNode("",!0)]))),128)),Object.hasOwn(o,"useProgression")&&o.useProgression===!0&&!isNaN(A.calcLinearProgression(o.plots).trend)?(i.openBlock(),i.createElementBlock("g",YO,[i.createElementVNode("defs",null,[i.createElementVNode("marker",{id:`line_arrow_${s}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[i.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:o.color},null,8,ZO)],8,JO)]),i.createElementVNode("line",{x1:A.calcLinearProgression(o.plots).x1,x2:A.calcLinearProgression(o.plots).x2,y1:A.calcLinearProgression(o.plots).y1,y2:A.calcLinearProgression(o.plots).y2,"stroke-width":1,stroke:o.color,"stroke-dasharray":2,"marker-end":`url(#line_arrow_${s})`},null,8,e7),i.createElementVNode("text",{"text-anchor":"middle",x:A.calcLinearProgression(o.plots).x2,y:A.calcLinearProgression(o.plots).y2-6,"font-size":A.chartConfig.chart.labels.fontSize,fill:o.color},i.toDisplayString(`${(Math.abs(A.calcLinearProgression(o.plots).trend)*100).toFixed(2)}%`),9,t7)])):i.createCommentVNode("",!0)],2))),128)),A.chartConfig.bar.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",r7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_bar_${s}`,class:i.normalizeClass(`xLabel_bar_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_bar_${s}_${c}`},[!Object.hasOwn(o,"dataLabels")||o.dataLabels===!0?(i.openBlock(),i.createElementBlock("text",{key:0,x:l.x+A.calcRectWidth()*1.1,y:l.y+A.chartConfig.bar.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.bar.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.bar.labels.rounding):""),9,n7)):i.createCommentVNode("",!0)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.plot.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",a7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_plot_${s}`,class:i.normalizeClass(`xLabel_plot_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_plot_${s}_${c}`},[!Object.hasOwn(o,"dataLabels")||o.dataLabels===!0?(i.openBlock(),i.createElementBlock("text",{key:0,x:l.x,y:l.y+A.chartConfig.plot.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.plot.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.plot.labels.rounding):""),9,A7)):i.createCommentVNode("",!0),c===0&&o.useTag&&o.useTag==="start"?(i.openBlock(),i.createElementBlock("foreignObject",{key:1,x:l.x,y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,i7)):i.createCommentVNode("",!0),c===o.plots.length-1&&o.useTag&&o.useTag==="end"?(i.openBlock(),i.createElementBlock("foreignObject",{key:2,x:l.x-o.name.length*(A.chartConfig.chart.labels.fontSize/2),y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,o7)):i.createCommentVNode("",!0)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.line.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",s7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_line_${s}`,class:i.normalizeClass(`xLabel_line_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_line_${s}_${c}`},[!Object.hasOwn(o,"dataLabels")||o.dataLabels===!0?(i.openBlock(),i.createElementBlock("text",{key:0,x:l.x,y:l.y+A.chartConfig.line.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.line.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.line.labels.rounding):""),9,l7)):i.createCommentVNode("",!0),c===0&&o.useTag&&o.useTag==="start"?(i.openBlock(),i.createElementBlock("foreignObject",{key:1,x:l.x,y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,c7)):i.createCommentVNode("",!0),c===o.plots.length-1&&o.useTag&&o.useTag==="end"?(i.openBlock(),i.createElementBlock("foreignObject",{key:2,x:l.x-o.name.length*(A.chartConfig.chart.labels.fontSize/2),y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,u7)):i.createCommentVNode("",!0)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.show?(i.openBlock(),i.createElementBlock("g",h7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.yLabels,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`yLabel_${s}`},[o.value>=A.min&&o.value<=A.max?(i.openBlock(),i.createElementBlock("line",{key:0,x1:A.drawingArea.left,x2:A.drawingArea.left-5,y1:o.y,y2:o.y,stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1"},null,8,f7)):i.createCommentVNode("",!0),o.value>=A.min&&o.value<=A.max?(i.openBlock(),i.createElementBlock("text",{key:1,x:A.drawingArea.left-5,y:o.y+A.chartConfig.chart.labels.fontSize/3,"font-size":A.chartConfig.chart.grid.labels.fontSize,"text-anchor":"end",fill:A.chartConfig.chart.grid.labels.color},i.toDisplayString(A.canShowValue(o.value)?o.value.toFixed(0):""),9,d7)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),i.createElementVNode("g",null,[A.chartConfig.chart.grid.labels.axis.yLabel?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":A.chartConfig.chart.grid.labels.axis.fontSize,fill:A.chartConfig.chart.grid.labels.color,id:"yAxisLabel","text-anchor":"middle",style:{transition:"none"}},i.toDisplayString(A.chartConfig.chart.grid.labels.axis.yLabel),9,g7)):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.axis.xLabel?(i.openBlock(),i.createElementBlock("text",{key:1,"text-anchor":"middle",x:A.chartConfig.chart.width/2,y:A.drawingArea.bottom+A.chartConfig.chart.grid.labels.axis.fontSize+A.chartConfig.chart.grid.labels.xAxisLabels.fontSize*1.3,"font-size":A.chartConfig.chart.grid.labels.axis.fontSize,fill:A.chartConfig.chart.grid.labels.color},i.toDisplayString(A.chartConfig.chart.grid.labels.axis.xLabel),9,p7)):i.createCommentVNode("",!0)]),A.chartConfig.chart.title.show&&a.mutableConfig.titleInside&&!a.isPrinting?(i.openBlock(),i.createElementBlock("g",m7,[(i.openBlock(),i.createElementBlock("foreignObject",y7,[i.createElementVNode("div",{class:"vue-ui-xy-title",style:i.normalizeStyle(`font-family:${A.chartConfig.chart.fontFamily}`)},[i.createElementVNode("div",{class:"vue-ui-xy-title-main",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.fontSize*.6}px; color:${A.chartConfig.chart.title.color}; font-weight:${A.chartConfig.chart.title.bold?"bold":"400"}`)},i.toDisplayString(A.chartConfig.chart.title.text),5),A.chartConfig.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.subtitle.fontSize*.6}px; color:${A.chartConfig.chart.title.subtitle.color}`)},i.toDisplayString(A.chartConfig.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)]))])):i.createCommentVNode("",!0),A.chartConfig.chart.legend.show&&a.mutableConfig.legendInside&&!a.isPrinting?(i.openBlock(),i.createElementBlock("g",v7,[(i.openBlock(),i.createElementBlock("foreignObject",{x:"0",y:A.drawingArea.bottom+A.chartConfig.chart.padding.bottom/3+12,width:"100%",height:"20px",style:i.normalizeStyle(`overflow:visible; font-size:${A.chartConfig.chart.legend.fontSize*.6}px`)},[i.createElementVNode("div",B7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.absoluteDataset,(o,s)=>(i.openBlock(),i.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>A.segregate(o),class:i.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":a.segregatedSeries.includes(o.id)})},[["plot"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(`color:${o.color}`)},"●",4)):i.createCommentVNode("",!0),["line"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:1,style:i.normalizeStyle(`color:${o.color}`)},"▬",4)):i.createCommentVNode("",!0),["bar"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:2,style:i.normalizeStyle(`color:${o.color}`)},"◼",4)):i.createCommentVNode("",!0),i.createElementVNode("span",{style:i.normalizeStyle(`color:${A.chartConfig.chart.legend.color}`)},i.toDisplayString(o.name),5)],10,x7))),128))])],12,w7))])):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.xAxisLabels.show?(i.openBlock(),i.createElementBlock("g",b7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.timeLabels,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`time_label_${s}`},[o&&!A.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast||o&&A.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(s===0||s===A.timeLabels.length-1)?(i.openBlock(),i.createElementBlock("text",{key:0,"text-anchor":"middle",y:A.drawingArea.bottom+A.chartConfig.chart.grid.labels.xAxisLabels.fontSize*1.3,x:A.drawingArea.left+A.drawingArea.width/A.maxSeries*s+A.drawingArea.width/A.maxSeries/2,"font-size":A.chartConfig.chart.grid.labels.xAxisLabels.fontSize,fill:A.chartConfig.chart.grid.labels.xAxisLabels.color},i.toDisplayString(o||""),9,C7)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),A.chartConfig.chart.tooltip.show?(i.openBlock(),i.createElementBlock("g",E7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.maxSeries,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`tooltip_trap_${s}`},[i.createElementVNode("rect",{x:A.drawingArea.left+A.drawingArea.width/A.maxSeries*s,y:A.drawingArea.top,height:A.drawingArea.height,width:A.drawingArea.width/A.maxSeries,fill:a.selectedSerieIndex===s||a.selectedRowIndex===s?`${A.chartConfig.chart.highlighter.color}${a.opacity[A.chartConfig.chart.highlighter.opacity]}`:"transparent",onMouseenter:l=>A.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>A.toggleTooltip(!1)),onClick:l=>A.selectX(s)},null,40,_7)]))),128))])):i.createCommentVNode("",!0)],12,mO)),A.chartConfig.chart.zoom.show?(i.openBlock(),i.createElementBlock("div",F7,[i.createElementVNode("div",S7,[i.createElementVNode("label",{for:`start_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.grid.labels.xAxisLabels.values[a.slicer.start]),9,k7),i.withDirectives(i.createElementVNode("input",{id:`start_${a.uniqueId}`,type:"range",style:i.normalizeStyle(`accent-color:${A.chartConfig.chart.zoom.color}`),min:0,max:Math.floor(a.maxX/2),"onUpdate:modelValue":e[8]||(e[8]=o=>a.slicer.start=o)},null,12,T7),[[i.vModelText,a.slicer.start]])]),i.createElementVNode("div",N7,[i.createElementVNode("label",{for:`end_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.grid.labels.xAxisLabels.values[a.slicer.end-1]),9,L7),i.withDirectives(i.createElementVNode("input",{id:`end_${a.uniqueId}`,type:"range",style:i.normalizeStyle(`accent-color:${A.chartConfig.chart.zoom.color}`),min:Math.ceil(a.maxX/2),max:a.maxX,"onUpdate:modelValue":e[9]||(e[9]=o=>a.slicer.end=o)},null,12,U7),[[i.vModelText,a.slicer.end]])])])):i.createCommentVNode("",!0),A.chartConfig.chart.legend.show&&(!a.mutableConfig.legendInside||a.isPrinting)?(i.openBlock(),i.createElementBlock("div",{key:3,class:"vue-ui-xy-legend",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.legend.fontSize}px`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.absoluteDataset,(o,s)=>(i.openBlock(),i.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>A.segregate(o),class:i.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":a.segregatedSeries.includes(o.id)})},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${o.color}`),innerHTML:a.icons[o.type]},null,12,D7),i.createElementVNode("span",{style:i.normalizeStyle(`color:${A.chartConfig.chart.legend.color}`)},i.toDisplayString(o.name),5)],10,I7))),128))],4)):i.createCommentVNode("",!0),A.chartConfig.chart.tooltip.show&&a.isTooltip?(i.openBlock(),i.createElementBlock("div",{key:4,class:"vue-ui-xy-tooltip",ref:"tooltip",style:i.normalizeStyle(`top:${A.tooltipPosition.top}px;left:${A.tooltipPosition.left}px; background-color:${A.chartConfig.chart.tooltip.backgroundColor};color:${A.chartConfig.chart.tooltip.color}`),innerHTML:A.tooltipContent},null,12,Q7)):i.createCommentVNode("",!0),a.mutableConfig.showTable?(i.openBlock(),i.createElementBlock("div",{key:5,class:i.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":a.isPrinting}),onClick:e[11]||(e[11]=(...o)=>A.closeDetails&&A.closeDetails(...o))},[i.createElementVNode("table",O7,[i.createElementVNode("thead",null,[i.createElementVNode("tr",null,[i.createElementVNode("th",{style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},null,4),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.head,(o,s)=>(i.openBlock(),i.createElementBlock("th",{key:`th_${s}`,style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},[i.createElementVNode("div",P7,[i.createElementVNode("span",{style:i.normalizeStyle(`color:${o.color}; margin-right:3px`)},i.toDisplayString(a.icons[o.type]),5),i.createTextVNode(i.toDisplayString(o.label),1)])],4))),128))]),i.createElementVNode("tr",null,[i.createElementVNode("th",{align:"right",style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},M7,4),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.head,(o,s)=>(i.openBlock(),i.createElementBlock("th",{align:"right",key:`th_sum_${s}`,style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color};padding-right:6px`)},i.toDisplayString(r.dataset[s].series.slice(a.slicer.start,a.slicer.end).reduce((l,c)=>l+c,0).toFixed(A.chartConfig.table.rounding)),5))),128))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.body,(o,s)=>(i.openBlock(),i.createElementBlock("tr",{key:`tr_${s}`,class:i.normalizeClass({"vue-ui-xy-table-tr-selected":a.selectedSerieIndex===s||a.selectedRowIndex===s}),onMouseover:l=>a.selectedRowIndex=s,onMouseleave:e[10]||(e[10]=l=>a.selectedRowIndex=null)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o,(l,c)=>(i.openBlock(),i.createElementBlock("td",{key:`td_${s}_${c}`,style:i.normalizeStyle(`background:${A.chartConfig.table.td.backgroundColor};color:${A.chartConfig.table.td.color};padding-right:6px;`)},i.toDisplayString(l),5))),128))],42,R7))),128))])])],2)):i.createCommentVNode("",!0)],12,eO)}const V7=Ba(JQ,[["render",H7],["__scopeId","data-v-a5be86ab"]]),Foe="",$7={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,defaultConfig:ia.vue_ui_table,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((e,r)=>({...e,absoluteIndex:r})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((e,r)=>e-r),palette:It,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((e,r)=>({...e,absoluteIndex:r})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(e=>({average:Object.hasOwn(e,"average")?e.average:!1,decimals:Object.hasOwn(e,"decimals")?e.decimals:0,isMultiselect:Object.hasOwn(e,"isMultiselect")?e.isMultiselect:!1,isPercentage:Object.hasOwn(e,"isPercentage")?e.isPercentage:!1,isSearch:Object.hasOwn(e,"isSearch")?e.isSearch:!1,isSort:Object.hasOwn(e,"isSort")?e.isSort:!1,name:e.name,percentageTo:Object.hasOwn(e,"percentageTo")?e.percentageTo:void 0,prefix:Object.hasOwn(e,"prefix")?e.prefix:"",rangeFilter:Object.hasOwn(e,"rangeFilter")?e.rangeFilter:!1,suffix:Object.hasOwn(e,"suffix")?e.suffix:"",sum:Object.hasOwn(e,"sum")?e.sum:!1,type:e.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
|
|
360
|
+
'${r}' was converted to null to allow the chart to display.`)})}),document.addEventListener("mousemove",e=>{this.clientPosition={x:e.clientX,y:e.clientY}}),this.mutableConfig={dataLabels:{show:!0},titleInside:!this.chartConfig.chart.title.useDiv,legendInside:!this.chartConfig.chart.legend.useDiv,showTable:this.chartConfig.showTable===!0}},methods:{checkNaN:GQ,isSafeValue:KQ,treeShake:Wn,shiftHue:eA,pdf:GA,convertColorToHex:Nr,convertConfigColors:Xn,makeXls:ei,adaptColorToBackground:Qg,calcLinearProgression:ix,calcRectHeight(t){return t.value>=0?this.zero-t.y:t.y-this.zero},calcRectWidth(){return this.slot.bar*.9},calcRectX(t){return t.x+this.slot.bar*.05+this.slot.bar/2},calcRectY(t){return t.value>=0?t.y:this.zero},canShowValue(t){return![null,void 0,NaN].includes(t)},closeDetails(){const t=this.$refs.details;t&&t.removeAttribute("open")},closestDecimal(t){if(t===0)return 0;const r=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/r)*r,n},ratioToMax(t){return t/this.absoluteMax},selectX(t){this.$emit("selectX",{dataset:this.relativeDataset.map(e=>({name:e.name,value:[null,void 0,NaN].includes(e.absoluteValues[t])?null:e.absoluteValues[t],color:e.color,type:e.type})),index:t,indexLabel:this.chartConfig.chart.grid.labels.xAxisLabels.values[t]})},getData(){return this.absoluteDataset.map(t=>({values:t.absoluteValues,color:t.color,name:t.name,type:t.type}))},segregate(t){if(this.segregatedSeries.includes(t.id))this.segregatedSeries=this.segregatedSeries.filter(e=>e!==t.id);else{if(this.segregatedSeries.length+1===this.safeDataset.length)return;this.segregatedSeries.push(t.id)}this.$emit("selectLegend",this.relativeDataset.map(e=>({name:e.name,values:e.absoluteValues,color:e.color,type:e.type})))},toggleTooltip(t,e=null){this.isTooltip=t,t?this.selectedSerieIndex=e:this.selectedSerieIndex=null},generatePdf(){this.isPrinting=!0,this.pdf({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.chartConfig.chart.title.text||"vue-ui-xy"}).finally(()=>{this.isPrinting=!1})},generateXls(){const t=[[this.chartConfig.chart.title.text],[this.chartConfig.chart.title.subtitle.text],[""]],e=["",...this.table.head.map(a=>a.label)],r=this.table.body,n=t.concat([e]).concat(r);this.makeXls(n,this.chartConfig.chart.title.text||"vue-ui-xy")}}},ZQ=t=>(i.pushScopeId("data-v-bed55f69"),t=t(),i.popScopeId(),t),eO=["id"],tO={class:"vue-ui-xy-user-option-item"},rO=["id","name"],nO=["for"],aO={class:"vue-ui-xy-user-option-item"},AO=["id","name"],iO=["for"],oO={class:"vue-ui-xy-user-option-item"},sO=["id","name"],lO=["for"],cO={class:"vue-ui-xy-user-option-item"},uO=["id","name"],hO=["for"],fO=["disabled"],dO=["stroke"],gO=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-bed55f69></path><path d="M18 16v.01" data-v-bed55f69></path><path d="M6 16v.01" data-v-bed55f69></path><path d="M12 5v.01" data-v-bed55f69></path><path d="M12 12v.01" data-v-bed55f69></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-bed55f69></path>',6)],pO={key:1},mO=["viewBox"],yO={class:"vue-ui-xy-grid"},vO=["stroke","x1","x2","y1","y2"],wO=["stroke","x1","x2","y1","y2"],BO={key:0},xO=["x1","x2","y1","y2","stroke"],bO=["id"],CO=["stop-color"],EO=["stop-color"],_O=["stop-color"],FO=["id"],SO=["stop-color"],kO=["stop-color"],TO=["stop-color"],NO=["id"],LO=["stop-color"],UO=["stop-color"],IO=["id"],DO=["stop-color"],QO=["stop-color"],OO=["x","y","height","width","fill"],PO={key:0},MO=["id"],RO=["fill"],HO=["x1","x2","y1","y2","stroke","marker-end"],VO=["x","y","font-size","fill"],$O=["cx","cy","r","fill","stroke"],zO={key:0},KO=["id"],GO=["fill"],jO=["x1","x2","y1","y2","stroke","marker-end"],WO=["x","y","font-size","fill"],XO=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],qO=["cx","cy","r","fill","stroke"],YO={key:0},JO=["id"],ZO=["fill"],e7=["x1","x2","y1","y2","stroke","marker-end"],t7=["x","y","font-size","fill"],r7={key:0},n7=["x","y","font-size","fill"],a7={key:1},A7=["x","y","font-size","fill"],i7=["x","y"],o7=["x","y"],s7={key:2},l7=["x","y","font-size","fill"],c7=["x","y"],u7=["x","y"],h7={key:3},f7=["x1","x2","y1","y2","stroke"],d7=["x","y","font-size","fill"],g7=["font-size","fill"],p7=["x","y","font-size","fill"],m7={key:4},y7={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},v7={key:5},w7=["y"],B7={class:"vue-ui-xy-legend"},x7=["onClick"],b7={key:6},C7=["y","x","font-size","fill"],E7={key:7},_7=["x","y","height","width","fill","onMouseenter","onClick"],F7={key:2,class:"vue-ui-xy-range-slider","data-html2canvas-ignore":""},S7={class:"vue-ui-xy-slider--left"},k7=["for"],T7=["id","max"],N7={class:"vue-ui-xy-slider--right"},L7=["for"],U7=["id","min","max"],I7=["onClick"],D7=["innerHTML"],Q7=["innerHTML"],O7={class:"vue-ui-xy-table"},P7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},M7=[ZQ(()=>i.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[i.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),i.createElementVNode("path",{d:"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2"})],-1))],R7=["onMouseover"];function H7(t,e,r,n,a,A){return i.openBlock(),i.createElementBlock("div",{id:`vue-ui-xy_${a.uniqueId}`,class:"vue-ui-xy",ref:"chart",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor}; color:${A.chartConfig.chart.color};width:100%`)},[A.chartConfig.chart.title.show&&(!a.mutableConfig.titleInside||a.isPrinting)?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title",style:i.normalizeStyle(`font-family:${A.chartConfig.chart.fontFamily}`)},[i.createElementVNode("div",{class:"vue-ui-xy-title-main",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.fontSize}px; color:${A.chartConfig.chart.title.color}; font-weight:${A.chartConfig.chart.title.bold?"bold":"400"}`)},i.toDisplayString(A.chartConfig.chart.title.text),5),A.chartConfig.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.subtitle.fontSize}px; color:${A.chartConfig.chart.title.subtitle.color}`)},i.toDisplayString(A.chartConfig.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),A.chartConfig.chart.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-xy-user-options",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`),"data-html2canvas-ignore":"",ref:"details"},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},i.toDisplayString(A.chartConfig.chart.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-xy-user-options-items",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},[i.createElementVNode("div",tO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-datalabels_${a.uniqueId}`,name:`vue-ui-xy-option-datalabels_${a.uniqueId}`,"onUpdate:modelValue":e[0]||(e[0]=o=>a.mutableConfig.dataLabels.show=o)},null,8,rO),[[i.vModelCheckbox,a.mutableConfig.dataLabels.show]]),i.createElementVNode("label",{for:`vue-ui-xy-option-datalabels_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.dataLabels),9,nO)]),i.createElementVNode("div",aO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-title_${a.uniqueId}`,name:`vue-ui-xy-option-title_${a.uniqueId}`,"onUpdate:modelValue":e[1]||(e[1]=o=>a.mutableConfig.titleInside=o)},null,8,AO),[[i.vModelCheckbox,a.mutableConfig.titleInside]]),i.createElementVNode("label",{for:`vue-ui-xy-option-title_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.titleInside),9,iO)]),i.createElementVNode("div",oO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-legend_${a.uniqueId}`,name:`vue-ui-xy-option-legend_${a.uniqueId}`,"onUpdate:modelValue":e[2]||(e[2]=o=>a.mutableConfig.legendInside=o)},null,8,sO),[[i.vModelCheckbox,a.mutableConfig.legendInside]]),i.createElementVNode("label",{for:`vue-ui-xy-option-legend_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.legendInside),9,lO)]),i.createElementVNode("div",cO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-table_${a.uniqueId}`,name:`vue-ui-xy-option-table_${a.uniqueId}`,"onUpdate:modelValue":e[3]||(e[3]=o=>a.mutableConfig.showTable=o)},null,8,uO),[[i.vModelCheckbox,a.mutableConfig.showTable]]),i.createElementVNode("label",{for:`vue-ui-xy-option-table_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.showTable),9,hO)]),i.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[4]||(e[4]=(...o)=>A.generatePdf&&A.generatePdf(...o)),disabled:a.isPrinting,style:i.normalizeStyle(`margin-top: 12px; background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},[a.isPrinting?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-xy-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:A.chartConfig.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},gO,8,dO)):(i.openBlock(),i.createElementBlock("span",pO,"PDF"))],12,fO),i.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[5]||(e[5]=(...o)=>A.generateXls&&A.generateXls(...o)),style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{width:"100%",viewBox:A.viewBox,class:"vue-ui-xy-svg",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor}; color:${A.chartConfig.chart.color}; font-family:${A.chartConfig.chart.fontFamily}`),onClick:e[7]||(e[7]=(...o)=>A.closeDetails&&A.closeDetails(...o))},[i.createElementVNode("g",yO,[i.createElementVNode("line",{stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1",x1:A.drawingArea.left,x2:A.drawingArea.left,y1:A.drawingArea.top,y2:A.drawingArea.bottom,"stroke-linecap":"round"},null,8,vO),i.createElementVNode("line",{stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1",x1:A.drawingArea.left,x2:A.drawingArea.right,y1:A.zero,y2:A.zero,"stroke-linecap":"round"},null,8,wO),A.chartConfig.chart.grid.showVerticalLines?(i.openBlock(),i.createElementBlock("g",BO,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.maxSeries+1,(o,s)=>(i.openBlock(),i.createElementBlock("line",{key:`grid_vertical_line_${s}`,x1:A.drawingArea.width/A.maxSeries*s+A.drawingArea.left,x2:A.drawingArea.width/A.maxSeries*s+A.drawingArea.left,y1:A.drawingArea.top,y2:A.drawingArea.bottom,"stroke-width":"0.5",stroke:A.chartConfig.chart.grid.stroke},null,8,xO))),128))])):i.createCommentVNode("",!0)]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_rect_${s}`},[i.createElementVNode("linearGradient",{id:`rectGradient_pos_${s}_${a.uniqueId}`,x2:"0%",y2:"100%"},[i.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,CO),i.createElementVNode("stop",{offset:"62%","stop-color":`${A.shiftHue(o.color,.02)}DE`},null,8,EO),i.createElementVNode("stop",{offset:"100%","stop-color":`${A.shiftHue(o.color,.05)}66`},null,8,_O)],8,bO),i.createElementVNode("linearGradient",{id:`rectGradient_neg_${s}_${a.uniqueId}`,x2:"0%",y2:"100%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}66`},null,8,SO),i.createElementVNode("stop",{offset:"38%","stop-color":`${A.shiftHue(o.color,.02)}DE`},null,8,kO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,TO)],8,FO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_plot_${s}`},[i.createElementVNode("radialGradient",{id:`plotGradient_${s}_${a.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}`},null,8,LO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,UO)],8,NO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_line_${s}`},[i.createElementVNode("radialGradient",{id:`lineGradient_${s}_${a.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}`},null,8,DO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,QO)],8,IO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_bar_${s}`,class:i.normalizeClass(`serie_bar_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`bar_plot_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("rect",{key:0,x:A.calcRectX(l),y:A.calcRectY(l),height:A.calcRectHeight(l),width:A.calcRectWidth(),fill:A.chartConfig.bar.useGradient?l.value>=0?`url(#rectGradient_pos_${s}_${a.uniqueId})`:`url(#rectGradient_neg_${s}_${a.uniqueId})`:o.color},null,8,OO)):i.createCommentVNode("",!0)]))),128)),Object.hasOwn(o,"useProgression")&&o.useProgression===!0&&!isNaN(A.calcLinearProgression(o.plots).trend)?(i.openBlock(),i.createElementBlock("g",PO,[i.createElementVNode("defs",null,[i.createElementVNode("marker",{id:`bar_arrow_${s}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[i.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:o.color},null,8,RO)],8,MO)]),i.createElementVNode("line",{x1:A.calcLinearProgression(o.plots).x1,x2:A.calcLinearProgression(o.plots).x2,y1:A.calcLinearProgression(o.plots).y1,y2:A.calcLinearProgression(o.plots).y2,"stroke-width":1,stroke:o.color,"stroke-dasharray":2,"marker-end":`url(#bar_arrow_${s})`},null,8,HO),i.createElementVNode("text",{"text-anchor":"middle",x:A.calcLinearProgression(o.plots).x2,y:A.calcLinearProgression(o.plots).y2-6,"font-size":A.chartConfig.chart.labels.fontSize,fill:o.color},i.toDisplayString(`${(A.calcLinearProgression(o.plots).trend*100).toFixed(2)}%`),9,VO)])):i.createCommentVNode("",!0)],2))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_plot_${s}`,class:i.normalizeClass(`serie_plot_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`circle_plot_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:A.chartConfig.plot.radius,fill:A.chartConfig.plot.useGradient?`url(#plotGradient_${s}_${a.uniqueId})`:o.color,stroke:A.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,$O)):i.createCommentVNode("",!0)]))),128)),Object.hasOwn(o,"useProgression")&&o.useProgression===!0&&!isNaN(A.calcLinearProgression(o.plots).trend)?(i.openBlock(),i.createElementBlock("g",zO,[i.createElementVNode("defs",null,[i.createElementVNode("marker",{id:`plot_arrow_${s}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[i.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:o.color},null,8,GO)],8,KO)]),i.createElementVNode("line",{x1:A.calcLinearProgression(o.plots).x1,x2:A.calcLinearProgression(o.plots).x2,y1:A.calcLinearProgression(o.plots).y1,y2:A.calcLinearProgression(o.plots).y2,"stroke-width":1,stroke:o.color,"stroke-dasharray":2,"marker-end":`url(#plot_arrow_${s})`},null,8,jO),i.createElementVNode("text",{"text-anchor":"middle",x:A.calcLinearProgression(o.plots).x2,y:A.calcLinearProgression(o.plots).y2-6,"font-size":A.chartConfig.chart.labels.fontSize,fill:o.color},i.toDisplayString(`${(A.calcLinearProgression(o.plots).trend*100).toFixed(2)}%`),9,WO)])):i.createCommentVNode("",!0)],2))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_line_${s}`,class:i.normalizeClass(`serie_line_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`line_${s}_${c}`},[c<o.plots.length-1&&A.canShowValue(l.value)&&A.canShowValue(o.plots[c+1].value)?(i.openBlock(),i.createElementBlock("line",{key:0,x1:l.x,x2:o.plots[c+1].x,y1:l.y,y2:o.plots[c+1].y,stroke:o.color,"stroke-width":A.chartConfig.line.strokeWidth,"stroke-dasharray":o.dashed?A.chartConfig.line.strokeWidth*2:0,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,XO)):i.createCommentVNode("",!0)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`circle_line_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:A.chartConfig.line.radius,fill:A.chartConfig.line.useGradient?`url(#lineGradient_${s}_${a.uniqueId})`:o.color,stroke:A.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,qO)):i.createCommentVNode("",!0)]))),128)),Object.hasOwn(o,"useProgression")&&o.useProgression===!0&&!isNaN(A.calcLinearProgression(o.plots).trend)?(i.openBlock(),i.createElementBlock("g",YO,[i.createElementVNode("defs",null,[i.createElementVNode("marker",{id:`line_arrow_${s}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[i.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:o.color},null,8,ZO)],8,JO)]),i.createElementVNode("line",{x1:A.calcLinearProgression(o.plots).x1,x2:A.calcLinearProgression(o.plots).x2,y1:A.calcLinearProgression(o.plots).y1,y2:A.calcLinearProgression(o.plots).y2,"stroke-width":1,stroke:o.color,"stroke-dasharray":2,"marker-end":`url(#line_arrow_${s})`},null,8,e7),i.createElementVNode("text",{"text-anchor":"middle",x:A.calcLinearProgression(o.plots).x2,y:A.calcLinearProgression(o.plots).y2-6,"font-size":A.chartConfig.chart.labels.fontSize,fill:o.color},i.toDisplayString(`${(A.calcLinearProgression(o.plots).trend*100).toFixed(2)}%`),9,t7)])):i.createCommentVNode("",!0)],2))),128)),A.chartConfig.bar.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",r7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_bar_${s}`,class:i.normalizeClass(`xLabel_bar_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_bar_${s}_${c}`},[!Object.hasOwn(o,"dataLabels")||o.dataLabels===!0?(i.openBlock(),i.createElementBlock("text",{key:0,x:l.x+A.calcRectWidth()*1.1,y:l.y+A.chartConfig.bar.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.bar.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.bar.labels.rounding):""),9,n7)):i.createCommentVNode("",!0)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.plot.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",a7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_plot_${s}`,class:i.normalizeClass(`xLabel_plot_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_plot_${s}_${c}`},[!Object.hasOwn(o,"dataLabels")||o.dataLabels===!0?(i.openBlock(),i.createElementBlock("text",{key:0,x:l.x,y:l.y+A.chartConfig.plot.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.plot.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.plot.labels.rounding):""),9,A7)):i.createCommentVNode("",!0),c===0&&o.useTag&&o.useTag==="start"?(i.openBlock(),i.createElementBlock("foreignObject",{key:1,x:l.x,y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,i7)):i.createCommentVNode("",!0),c===o.plots.length-1&&o.useTag&&o.useTag==="end"?(i.openBlock(),i.createElementBlock("foreignObject",{key:2,x:l.x-o.name.length*(A.chartConfig.chart.labels.fontSize/2),y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,o7)):i.createCommentVNode("",!0)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.line.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",s7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_line_${s}`,class:i.normalizeClass(`xLabel_line_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_line_${s}_${c}`},[!Object.hasOwn(o,"dataLabels")||o.dataLabels===!0?(i.openBlock(),i.createElementBlock("text",{key:0,x:l.x,y:l.y+A.chartConfig.line.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.line.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.line.labels.rounding):""),9,l7)):i.createCommentVNode("",!0),c===0&&o.useTag&&o.useTag==="start"?(i.openBlock(),i.createElementBlock("foreignObject",{key:1,x:l.x,y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,c7)):i.createCommentVNode("",!0),c===o.plots.length-1&&o.useTag&&o.useTag==="end"?(i.openBlock(),i.createElementBlock("foreignObject",{key:2,x:l.x-o.name.length*(A.chartConfig.chart.labels.fontSize/2),y:l.y-20,height:24,width:"150",style:{overflow:"visible"}},[i.createElementVNode("div",{style:i.normalizeStyle(`padding: 3px; background:${o.color}${a.opacity[80]};color:${A.adaptColorToBackground(o.color)};width:fit-content;font-size:${A.chartConfig.chart.labels.fontSize}px;border-radius: 2px;`)},i.toDisplayString(o.name),5)],8,u7)):i.createCommentVNode("",!0)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.show?(i.openBlock(),i.createElementBlock("g",h7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.yLabels,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`yLabel_${s}`},[o.value>=A.min&&o.value<=A.max?(i.openBlock(),i.createElementBlock("line",{key:0,x1:A.drawingArea.left,x2:A.drawingArea.left-5,y1:o.y,y2:o.y,stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1"},null,8,f7)):i.createCommentVNode("",!0),o.value>=A.min&&o.value<=A.max?(i.openBlock(),i.createElementBlock("text",{key:1,x:A.drawingArea.left-5,y:o.y+A.chartConfig.chart.labels.fontSize/3,"font-size":A.chartConfig.chart.grid.labels.fontSize,"text-anchor":"end",fill:A.chartConfig.chart.grid.labels.color},i.toDisplayString(A.canShowValue(o.value)?o.value.toFixed(0):""),9,d7)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),i.createElementVNode("g",null,[A.chartConfig.chart.grid.labels.axis.yLabel?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":A.chartConfig.chart.grid.labels.axis.fontSize,fill:A.chartConfig.chart.grid.labels.color,id:"yAxisLabel","text-anchor":"middle",style:{transition:"none"}},i.toDisplayString(A.chartConfig.chart.grid.labels.axis.yLabel),9,g7)):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.axis.xLabel?(i.openBlock(),i.createElementBlock("text",{key:1,"text-anchor":"middle",x:A.chartConfig.chart.width/2,y:A.drawingArea.bottom+A.chartConfig.chart.grid.labels.axis.fontSize+A.chartConfig.chart.grid.labels.xAxisLabels.fontSize*1.3,"font-size":A.chartConfig.chart.grid.labels.axis.fontSize,fill:A.chartConfig.chart.grid.labels.color},i.toDisplayString(A.chartConfig.chart.grid.labels.axis.xLabel),9,p7)):i.createCommentVNode("",!0)]),A.chartConfig.chart.title.show&&a.mutableConfig.titleInside&&!a.isPrinting?(i.openBlock(),i.createElementBlock("g",m7,[(i.openBlock(),i.createElementBlock("foreignObject",y7,[i.createElementVNode("div",{class:"vue-ui-xy-title",style:i.normalizeStyle(`font-family:${A.chartConfig.chart.fontFamily}`)},[i.createElementVNode("div",{class:"vue-ui-xy-title-main",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.fontSize*.6}px; color:${A.chartConfig.chart.title.color}; font-weight:${A.chartConfig.chart.title.bold?"bold":"400"}`)},i.toDisplayString(A.chartConfig.chart.title.text),5),A.chartConfig.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.subtitle.fontSize*.6}px; color:${A.chartConfig.chart.title.subtitle.color}`)},i.toDisplayString(A.chartConfig.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)]))])):i.createCommentVNode("",!0),A.chartConfig.chart.legend.show&&a.mutableConfig.legendInside&&!a.isPrinting?(i.openBlock(),i.createElementBlock("g",v7,[(i.openBlock(),i.createElementBlock("foreignObject",{x:"0",y:A.drawingArea.bottom+A.chartConfig.chart.padding.bottom/3+12,width:"100%",height:"20px",style:i.normalizeStyle(`overflow:visible; font-size:${A.chartConfig.chart.legend.fontSize*.6}px`)},[i.createElementVNode("div",B7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.absoluteDataset,(o,s)=>(i.openBlock(),i.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>A.segregate(o),class:i.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":a.segregatedSeries.includes(o.id)})},[["plot"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(`color:${o.color}`)},"●",4)):i.createCommentVNode("",!0),["line"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:1,style:i.normalizeStyle(`color:${o.color}`)},"▬",4)):i.createCommentVNode("",!0),["bar"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:2,style:i.normalizeStyle(`color:${o.color}`)},"◼",4)):i.createCommentVNode("",!0),i.createElementVNode("span",{style:i.normalizeStyle(`color:${A.chartConfig.chart.legend.color}`)},i.toDisplayString(o.name),5)],10,x7))),128))])],12,w7))])):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.xAxisLabels.show?(i.openBlock(),i.createElementBlock("g",b7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.timeLabels,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`time_label_${s}`},[o&&!A.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast||o&&A.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(s===0||s===A.timeLabels.length-1)?(i.openBlock(),i.createElementBlock("text",{key:0,"text-anchor":"middle",y:A.drawingArea.bottom+A.chartConfig.chart.grid.labels.xAxisLabels.fontSize*1.3,x:A.drawingArea.left+A.drawingArea.width/A.maxSeries*s+A.drawingArea.width/A.maxSeries/2,"font-size":A.chartConfig.chart.grid.labels.xAxisLabels.fontSize,fill:A.chartConfig.chart.grid.labels.xAxisLabels.color},i.toDisplayString(o||""),9,C7)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),A.chartConfig.chart.tooltip.show?(i.openBlock(),i.createElementBlock("g",E7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.maxSeries,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`tooltip_trap_${s}`},[i.createElementVNode("rect",{x:A.drawingArea.left+A.drawingArea.width/A.maxSeries*s,y:A.drawingArea.top,height:A.drawingArea.height,width:A.drawingArea.width/A.maxSeries,fill:a.selectedSerieIndex===s||a.selectedRowIndex===s?`${A.chartConfig.chart.highlighter.color}${a.opacity[A.chartConfig.chart.highlighter.opacity]}`:"transparent",onMouseenter:l=>A.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>A.toggleTooltip(!1)),onClick:l=>A.selectX(s)},null,40,_7)]))),128))])):i.createCommentVNode("",!0)],12,mO)),A.chartConfig.chart.zoom.show?(i.openBlock(),i.createElementBlock("div",F7,[i.createElementVNode("div",S7,[i.createElementVNode("label",{for:`start_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.grid.labels.xAxisLabels.values[a.slicer.start]),9,k7),i.withDirectives(i.createElementVNode("input",{id:`start_${a.uniqueId}`,type:"range",style:i.normalizeStyle(`accent-color:${A.chartConfig.chart.zoom.color}`),min:0,max:Math.floor(a.maxX/2),"onUpdate:modelValue":e[8]||(e[8]=o=>a.slicer.start=o)},null,12,T7),[[i.vModelText,a.slicer.start]])]),i.createElementVNode("div",N7,[i.createElementVNode("label",{for:`end_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.grid.labels.xAxisLabels.values[a.slicer.end-1]),9,L7),i.withDirectives(i.createElementVNode("input",{id:`end_${a.uniqueId}`,type:"range",style:i.normalizeStyle(`accent-color:${A.chartConfig.chart.zoom.color}`),min:Math.ceil(a.maxX/2),max:a.maxX,"onUpdate:modelValue":e[9]||(e[9]=o=>a.slicer.end=o)},null,12,U7),[[i.vModelText,a.slicer.end]])])])):i.createCommentVNode("",!0),A.chartConfig.chart.legend.show&&(!a.mutableConfig.legendInside||a.isPrinting)?(i.openBlock(),i.createElementBlock("div",{key:3,class:"vue-ui-xy-legend",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.legend.fontSize}px`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.absoluteDataset,(o,s)=>(i.openBlock(),i.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>A.segregate(o),class:i.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":a.segregatedSeries.includes(o.id)})},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${o.color}`),innerHTML:a.icons[o.type]},null,12,D7),i.createElementVNode("span",{style:i.normalizeStyle(`color:${A.chartConfig.chart.legend.color}`)},i.toDisplayString(o.name),5)],10,I7))),128))],4)):i.createCommentVNode("",!0),A.chartConfig.chart.tooltip.show&&a.isTooltip?(i.openBlock(),i.createElementBlock("div",{key:4,class:"vue-ui-xy-tooltip",ref:"tooltip",style:i.normalizeStyle(`top:${A.tooltipPosition.top}px;left:${A.tooltipPosition.left}px; background-color:${A.chartConfig.chart.tooltip.backgroundColor};color:${A.chartConfig.chart.tooltip.color}`),innerHTML:A.tooltipContent},null,12,Q7)):i.createCommentVNode("",!0),a.mutableConfig.showTable?(i.openBlock(),i.createElementBlock("div",{key:5,class:i.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":a.isPrinting}),onClick:e[11]||(e[11]=(...o)=>A.closeDetails&&A.closeDetails(...o))},[i.createElementVNode("table",O7,[i.createElementVNode("thead",null,[i.createElementVNode("tr",null,[i.createElementVNode("th",{style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},null,4),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.head,(o,s)=>(i.openBlock(),i.createElementBlock("th",{key:`th_${s}`,style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},[i.createElementVNode("div",P7,[i.createElementVNode("span",{style:i.normalizeStyle(`color:${o.color}; margin-right:3px`)},i.toDisplayString(a.icons[o.type]),5),i.createTextVNode(i.toDisplayString(o.label),1)])],4))),128))]),i.createElementVNode("tr",null,[i.createElementVNode("th",{align:"right",style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},M7,4),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.head,(o,s)=>(i.openBlock(),i.createElementBlock("th",{align:"right",key:`th_sum_${s}`,style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color};padding-right:6px`)},i.toDisplayString(r.dataset[s].series.slice(a.slicer.start,a.slicer.end).reduce((l,c)=>l+c,0).toFixed(A.chartConfig.table.rounding)),5))),128))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.body,(o,s)=>(i.openBlock(),i.createElementBlock("tr",{key:`tr_${s}`,class:i.normalizeClass({"vue-ui-xy-table-tr-selected":a.selectedSerieIndex===s||a.selectedRowIndex===s}),onMouseover:l=>a.selectedRowIndex=s,onMouseleave:e[10]||(e[10]=l=>a.selectedRowIndex=null)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o,(l,c)=>(i.openBlock(),i.createElementBlock("td",{key:`td_${s}_${c}`,style:i.normalizeStyle(`background:${A.chartConfig.table.td.backgroundColor};color:${A.chartConfig.table.td.color};padding-right:6px;`)},i.toDisplayString(l),5))),128))],42,R7))),128))])])],2)):i.createCommentVNode("",!0)],12,eO)}const V7=Ba(JQ,[["render",H7],["__scopeId","data-v-bed55f69"]]),Foe="",$7={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,defaultConfig:ia.vue_ui_table,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((e,r)=>({...e,absoluteIndex:r})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((e,r)=>e-r),palette:It,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((e,r)=>({...e,absoluteIndex:r})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(e=>({average:Object.hasOwn(e,"average")?e.average:!1,decimals:Object.hasOwn(e,"decimals")?e.decimals:0,isMultiselect:Object.hasOwn(e,"isMultiselect")?e.isMultiselect:!1,isPercentage:Object.hasOwn(e,"isPercentage")?e.isPercentage:!1,isSearch:Object.hasOwn(e,"isSearch")?e.isSearch:!1,isSort:Object.hasOwn(e,"isSort")?e.isSort:!1,name:e.name,percentageTo:Object.hasOwn(e,"percentageTo")?e.percentageTo:void 0,prefix:Object.hasOwn(e,"prefix")?e.prefix:"",rangeFilter:Object.hasOwn(e,"rangeFilter")?e.rangeFilter:!1,suffix:Object.hasOwn(e,"suffix")?e.suffix:"",sum:Object.hasOwn(e,"sum")?e.sum:!1,type:e.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
|
|
361
361
|
Provide an array of objects of type:
|
|
362
362
|
{
|
|
363
363
|
name: string;
|