@tmf_ciclica/ciclicastorybook 1.2.67 → 1.2.69
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/dist/index.cjs.js +7 -7
- package/dist/index.es.js +320 -314
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs as m, jsx as i, Fragment as Xe } from "react/jsx-runtime";
|
|
|
3
3
|
import * as Me from "react";
|
|
4
4
|
import I, { useState as O, useEffect as A, useMemo as Be, useRef as te, useLayoutEffect as b2 } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
6
|
+
import { useTranslation as F, Trans as yt } from "react-i18next";
|
|
7
7
|
import { motion as bt } from "framer-motion";
|
|
8
8
|
import { create as jt } from "zustand";
|
|
9
9
|
import * as tt from "d3";
|
|
@@ -13,13 +13,13 @@ import { useSelector as v2 } from "react-redux";
|
|
|
13
13
|
import x2, { Source as w2, Layer as N2, NavigationControl as k2, Popup as $2 } from "react-map-gl/mapbox";
|
|
14
14
|
import nt from "maplibre-gl";
|
|
15
15
|
import { Protocol as S2 } from "pmtiles";
|
|
16
|
-
import L2, { Source as M2, Layer as B2, NavigationControl as T2, Popup as
|
|
17
|
-
import { createSlice as
|
|
18
|
-
import
|
|
16
|
+
import L2, { Source as M2, Layer as B2, NavigationControl as T2, Popup as D2 } from "react-map-gl/maplibre";
|
|
17
|
+
import { createSlice as V2 } from "@reduxjs/toolkit";
|
|
18
|
+
import F2 from "@mui/material/Slider";
|
|
19
19
|
import { createTheme as A2, Box as O2 } from "@mui/material";
|
|
20
20
|
import { ThemeProvider as R2 } from "@emotion/react";
|
|
21
21
|
import { NavLink as Ut } from "react-router-dom";
|
|
22
|
-
const I2 = "_ambitSelector_mcunf_2", E2 = "_header_mcunf_13", q2 = "_nameDateContainer_mcunf_23", P2 = "_ambitName_mcunf_39", z2 = "_ambitDate_mcunf_53", Z2 = "_buttonsContainer_mcunf_67", j2 = "_ambitListContainer_mcunf_76", H2 = "_newAmbitButtonContainer_mcunf_80",
|
|
22
|
+
const I2 = "_ambitSelector_mcunf_2", E2 = "_header_mcunf_13", q2 = "_nameDateContainer_mcunf_23", P2 = "_ambitName_mcunf_39", z2 = "_ambitDate_mcunf_53", Z2 = "_buttonsContainer_mcunf_67", j2 = "_ambitListContainer_mcunf_76", H2 = "_newAmbitButtonContainer_mcunf_80", he = {
|
|
23
23
|
ambitSelector: I2,
|
|
24
24
|
header: E2,
|
|
25
25
|
nameDateContainer: q2,
|
|
@@ -135,7 +135,7 @@ const kt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
135
135
|
onClickFilters: y = (g) => console.log(`Filters clicked: ${g}`),
|
|
136
136
|
onClickAmbit: p = (g) => console.log(`OnCLickAmbit: ${g}`)
|
|
137
137
|
}) => {
|
|
138
|
-
const { t: g } =
|
|
138
|
+
const { t: g } = F(), [_, v] = O(n);
|
|
139
139
|
A(() => {
|
|
140
140
|
n && v(n);
|
|
141
141
|
}, [n]);
|
|
@@ -148,30 +148,30 @@ const kt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
148
148
|
return /* @__PURE__ */ m(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
151
|
-
className:
|
|
151
|
+
className: he.ambitSelector,
|
|
152
152
|
style: { color: s, ...l },
|
|
153
153
|
children: [
|
|
154
154
|
/* @__PURE__ */ m(
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
|
-
className:
|
|
157
|
+
className: he.header,
|
|
158
158
|
style: { borderBottom: `1px solid ${s}` },
|
|
159
159
|
children: [
|
|
160
|
-
/* @__PURE__ */ m("div", { className:
|
|
161
|
-
/* @__PURE__ */ i("div", { className:
|
|
160
|
+
/* @__PURE__ */ m("div", { className: he.nameDateContainer, children: [
|
|
161
|
+
/* @__PURE__ */ i("div", { className: he.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => b("name"), children: [
|
|
162
162
|
/* @__PURE__ */ i("span", { children: g(t) }),
|
|
163
163
|
/* @__PURE__ */ i("img", { src: kt })
|
|
164
164
|
] }) }),
|
|
165
|
-
/* @__PURE__ */ i("div", { className:
|
|
165
|
+
/* @__PURE__ */ i("div", { className: he.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => b("date"), children: [
|
|
166
166
|
/* @__PURE__ */ i("span", { children: g(o) }),
|
|
167
167
|
/* @__PURE__ */ i("img", { src: kt })
|
|
168
168
|
] }) })
|
|
169
169
|
] }),
|
|
170
|
-
/* @__PURE__ */ i("div", { className:
|
|
170
|
+
/* @__PURE__ */ i("div", { className: he.buttonsContainer })
|
|
171
171
|
]
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
|
-
/* @__PURE__ */ i("div", { className:
|
|
174
|
+
/* @__PURE__ */ i("div", { className: he.ambitListContainer, children: _ && _.length > 0 && _.map((w) => /* @__PURE__ */ i(
|
|
175
175
|
Gt,
|
|
176
176
|
{
|
|
177
177
|
isActive: c == w.id,
|
|
@@ -185,7 +185,7 @@ const kt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
185
185
|
},
|
|
186
186
|
`ambitKey${w.id}`
|
|
187
187
|
)) }),
|
|
188
|
-
/* @__PURE__ */ i("div", { className:
|
|
188
|
+
/* @__PURE__ */ i("div", { className: he.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
189
189
|
Qe,
|
|
190
190
|
{
|
|
191
191
|
style: { ...a },
|
|
@@ -232,11 +232,11 @@ const o0 = "_buttonsContainer_1ks7x_2", a0 = "_vertical_1ks7x_6", l0 = "_horizon
|
|
|
232
232
|
top: h0,
|
|
233
233
|
bottom: m0,
|
|
234
234
|
right: g0
|
|
235
|
-
},
|
|
236
|
-
const { t: r } =
|
|
235
|
+
}, pe = ({ text: n, position: c, styleCustom: s = null }) => {
|
|
236
|
+
const { t: r } = F();
|
|
237
237
|
return /* @__PURE__ */ i("div", { className: `tooltip ${C0[c]}`, style: s, children: r(n) });
|
|
238
238
|
};
|
|
239
|
-
|
|
239
|
+
pe.propTypes = {
|
|
240
240
|
text: e.string.isRequired,
|
|
241
241
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
242
242
|
styleCustom: e.object
|
|
@@ -249,7 +249,7 @@ const f0 = ({
|
|
|
249
249
|
useTooltip: t = !1,
|
|
250
250
|
tooltipPosition: o = "top"
|
|
251
251
|
}) => {
|
|
252
|
-
const { t: d } =
|
|
252
|
+
const { t: d } = F();
|
|
253
253
|
return /* @__PURE__ */ i(
|
|
254
254
|
"div",
|
|
255
255
|
{
|
|
@@ -279,7 +279,7 @@ const f0 = ({
|
|
|
279
279
|
children: _
|
|
280
280
|
}
|
|
281
281
|
),
|
|
282
|
-
t && /* @__PURE__ */ i(
|
|
282
|
+
t && /* @__PURE__ */ i(pe, { text: y, position: o })
|
|
283
283
|
] }, l);
|
|
284
284
|
})
|
|
285
285
|
}
|
|
@@ -322,7 +322,7 @@ const y0 = "_indicatorsCategory_11gdl_2", b0 = "_title_11gdl_6", _0 = "_mainTitl
|
|
|
322
322
|
titleMarginChildren: u = 15,
|
|
323
323
|
mainTitle: C = !1
|
|
324
324
|
}) => {
|
|
325
|
-
const { t: h } =
|
|
325
|
+
const { t: h } = F();
|
|
326
326
|
return /* @__PURE__ */ m(
|
|
327
327
|
bt.div,
|
|
328
328
|
{
|
|
@@ -379,7 +379,7 @@ const Or = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), v0 = "data
|
|
|
379
379
|
inputsColor: "#605B56",
|
|
380
380
|
activeFiltersType: null
|
|
381
381
|
})), Xt = ({ title: n, onClick: c, isOpen: s = !0, textColor: r = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o, fontColor: d = "#605B56" }) => {
|
|
382
|
-
const { t: a } =
|
|
382
|
+
const { t: a } = F(), { tematicalFiltersSelected: l, activeFiltersType: u } = q((y) => y), C = (y) => {
|
|
383
383
|
q.setState((p) => ({
|
|
384
384
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
385
385
|
(g) => g.code !== y
|
|
@@ -430,7 +430,7 @@ const N0 = "_layersList_cn837_25", k0 = "_layerName_cn837_34", St = {
|
|
|
430
430
|
geoLayers: o = [],
|
|
431
431
|
onGeoLayersChange: d
|
|
432
432
|
}) => {
|
|
433
|
-
const { t: a } =
|
|
433
|
+
const { t: a } = F(), { activeFiltersType: l } = q((h) => h), u = () => {
|
|
434
434
|
l === "geographical" ? q.setState({ activeFiltersType: null }) : q.setState({ activeFiltersType: "geographical" });
|
|
435
435
|
}, C = (h) => {
|
|
436
436
|
const y = o.map((p) => ({
|
|
@@ -481,7 +481,7 @@ const $0 = "_checkboxContainer_1nxra_2", S0 = {
|
|
|
481
481
|
indicator: r,
|
|
482
482
|
value: t
|
|
483
483
|
}) => {
|
|
484
|
-
const { t: o } =
|
|
484
|
+
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } = q((u) => u);
|
|
485
485
|
return /* @__PURE__ */ m(
|
|
486
486
|
"div",
|
|
487
487
|
{
|
|
@@ -817,13 +817,13 @@ let mt = function(n) {
|
|
|
817
817
|
}(I.Component);
|
|
818
818
|
mt.displayName = "ReactSlider", mt.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => I.createElement("div", n), renderTrack: (n) => I.createElement("div", n), renderMark: (n) => I.createElement("span", n) };
|
|
819
819
|
var gt = mt;
|
|
820
|
-
const M0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", T0 = "_slider_4u41i_11",
|
|
820
|
+
const M0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", T0 = "_slider_4u41i_11", D0 = "_thumb_4u41i_17", V0 = "_track_4u41i_26", F0 = "_labels_4u41i_32", ke = {
|
|
821
821
|
container: M0,
|
|
822
822
|
unitLabel: B0,
|
|
823
823
|
slider: T0,
|
|
824
|
-
thumb:
|
|
825
|
-
track:
|
|
826
|
-
labels:
|
|
824
|
+
thumb: D0,
|
|
825
|
+
track: V0,
|
|
826
|
+
labels: F0
|
|
827
827
|
}, Yt = ({
|
|
828
828
|
min: n = 0,
|
|
829
829
|
max: c = 100,
|
|
@@ -835,7 +835,7 @@ const M0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", T0 = "_slider_4u41i_
|
|
|
835
835
|
defaultValue: a,
|
|
836
836
|
isDate: l
|
|
837
837
|
}) => {
|
|
838
|
-
const { t: u } =
|
|
838
|
+
const { t: u } = F(), C = l ? new Date(n).getTime() : null, h = l ? new Date(c).getTime() : null, [y, p] = O(l ? [C, h] : [n, c]), g = (_) => {
|
|
839
839
|
p(_), r == null || r({ min: _[0], max: _[1] });
|
|
840
840
|
};
|
|
841
841
|
return A(() => {
|
|
@@ -924,17 +924,17 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
924
924
|
inputsColor: w
|
|
925
925
|
} = q((x) => x), $ = (x) => {
|
|
926
926
|
if (x) {
|
|
927
|
-
const { min: N, max: S, valueClicked: k, allValues: L } = x || {}, { code:
|
|
928
|
-
let R =
|
|
929
|
-
T == "both" && (R = P == "cat" ?
|
|
930
|
-
let
|
|
927
|
+
const { min: N, max: S, valueClicked: k, allValues: L } = x || {}, { code: D, type: T, source: B } = n || {}, P = g ? "abs" : p ? "cat" : "both";
|
|
928
|
+
let R = D[0];
|
|
929
|
+
T == "both" && (R = P == "cat" ? D[1] : D[0]), P == "cat" ? q.setState((X) => {
|
|
930
|
+
let K = X.tematicalFiltersSelected.find(
|
|
931
931
|
(z) => z.code === R
|
|
932
932
|
);
|
|
933
|
-
if (
|
|
934
|
-
let z = [
|
|
935
|
-
return
|
|
933
|
+
if (K) {
|
|
934
|
+
let z = [K.values];
|
|
935
|
+
return K.values.includes(k) ? z = K.values.filter(
|
|
936
936
|
(E) => E !== k
|
|
937
|
-
) : z = [...
|
|
937
|
+
) : z = [...K.values, k], z.length == L.length ? {
|
|
938
938
|
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
939
939
|
(E) => E.code !== R
|
|
940
940
|
)
|
|
@@ -960,7 +960,7 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
962
|
}) : P == "abs" && q.setState((X) => {
|
|
963
|
-
let
|
|
963
|
+
let K = X.tematicalFiltersSelected.find(
|
|
964
964
|
(z) => z.code === R
|
|
965
965
|
);
|
|
966
966
|
if (N == n.minValue && S == n.maxValue)
|
|
@@ -969,8 +969,8 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
969
969
|
(z) => z.code !== R
|
|
970
970
|
)
|
|
971
971
|
};
|
|
972
|
-
if (
|
|
973
|
-
let z = { ...
|
|
972
|
+
if (K) {
|
|
973
|
+
let z = { ...K, min: N, max: S, type: P, isDate: y };
|
|
974
974
|
return {
|
|
975
975
|
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
976
976
|
(E) => E.code === R ? z : E
|
|
@@ -1217,7 +1217,7 @@ const n2 = ({
|
|
|
1217
1217
|
inputsColor: t = "#605B56",
|
|
1218
1218
|
activeColor: o
|
|
1219
1219
|
}) => {
|
|
1220
|
-
const { tematicalFiltersSelected: d, activeFiltersType: a } = q((C) => C), { t: l } =
|
|
1220
|
+
const { tematicalFiltersSelected: d, activeFiltersType: a } = q((C) => C), { t: l } = F();
|
|
1221
1221
|
A(() => {
|
|
1222
1222
|
}, [d]), A(() => {
|
|
1223
1223
|
r && q.setState(() => ({ fontColor: r }));
|
|
@@ -1257,7 +1257,7 @@ n2.propTypes = {
|
|
|
1257
1257
|
inputsColor: e.string,
|
|
1258
1258
|
activeColor: e.string
|
|
1259
1259
|
};
|
|
1260
|
-
const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15", P0 = "_FiltersAmbitHeader_1hv16_18", z0 = "_FiltersAmbitTitle_1hv16_26", Z0 = "_FiltersAmbitDescription_1hv16_35", j0 = "_FiltersAmbitDescriptionTitle_1hv16_46", H0 = "_warning_1hv16_50", K0 = "_buttonContainer_1hv16_53",
|
|
1260
|
+
const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15", P0 = "_FiltersAmbitHeader_1hv16_18", z0 = "_FiltersAmbitTitle_1hv16_26", Z0 = "_FiltersAmbitDescription_1hv16_35", j0 = "_FiltersAmbitDescriptionTitle_1hv16_46", H0 = "_warning_1hv16_50", K0 = "_buttonContainer_1hv16_53", me = {
|
|
1261
1261
|
FiltersAmbitContainer: E0,
|
|
1262
1262
|
FiltersContainer: q0,
|
|
1263
1263
|
FiltersAmbitHeader: P0,
|
|
@@ -1287,7 +1287,7 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1287
1287
|
descriptionRequired: v = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t: b } =
|
|
1290
|
+
const { t: b } = F(), { tematicalFiltersSelected: w, activeFiltersType: $ } = q(
|
|
1291
1291
|
(T) => T
|
|
1292
1292
|
), [f, x] = O(n || null), [N, S] = O(c || null), [k, L] = O(!1);
|
|
1293
1293
|
A(() => {
|
|
@@ -1297,7 +1297,7 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1297
1297
|
}, [s]), te(!1), A(() => {
|
|
1298
1298
|
a(w);
|
|
1299
1299
|
}, [w]);
|
|
1300
|
-
const
|
|
1300
|
+
const D = () => {
|
|
1301
1301
|
v ? f && N ? l({ name: f, description: N }) : L(!0) : f ? l({ name: f, description: N }) : L(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return A(() => {
|
|
@@ -1308,10 +1308,10 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1308
1308
|
}));
|
|
1309
1309
|
g == null || g(T);
|
|
1310
1310
|
}
|
|
1311
|
-
}, [$]), /* @__PURE__ */ m("div", { className:
|
|
1312
|
-
/* @__PURE__ */ m("div", { className:
|
|
1313
|
-
!_ && /* @__PURE__ */ m("div", { className:
|
|
1314
|
-
/* @__PURE__ */ i("div", { className:
|
|
1311
|
+
}, [$]), /* @__PURE__ */ m("div", { className: me.FiltersAmbitContainer, children: [
|
|
1312
|
+
/* @__PURE__ */ m("div", { className: me.FiltersContainer, children: [
|
|
1313
|
+
!_ && /* @__PURE__ */ m("div", { className: me.FiltersAmbitHeader, children: [
|
|
1314
|
+
/* @__PURE__ */ i("div", { className: me.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1315
1315
|
"input",
|
|
1316
1316
|
{
|
|
1317
1317
|
type: "text",
|
|
@@ -1322,7 +1322,7 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1322
1322
|
placeholder: b(u)
|
|
1323
1323
|
}
|
|
1324
1324
|
) }),
|
|
1325
|
-
/* @__PURE__ */ i("div", { className:
|
|
1325
|
+
/* @__PURE__ */ i("div", { className: me.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: me.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1326
1326
|
"textarea",
|
|
1327
1327
|
{
|
|
1328
1328
|
value: N,
|
|
@@ -1363,9 +1363,9 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1363
1363
|
}
|
|
1364
1364
|
)
|
|
1365
1365
|
] }),
|
|
1366
|
-
!_ && /* @__PURE__ */ m("div", { className:
|
|
1367
|
-
k && /* @__PURE__ */ i("div", { className:
|
|
1368
|
-
/* @__PURE__ */ i(Qe, { onClick: () =>
|
|
1366
|
+
!_ && /* @__PURE__ */ m("div", { className: me.buttonContainer, children: [
|
|
1367
|
+
k && /* @__PURE__ */ i("div", { className: me.warning, children: b(y) }),
|
|
1368
|
+
/* @__PURE__ */ i(Qe, { onClick: () => D(), children: b("save_ambit") })
|
|
1369
1369
|
] })
|
|
1370
1370
|
] });
|
|
1371
1371
|
};
|
|
@@ -1436,12 +1436,12 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1436
1436
|
} else {
|
|
1437
1437
|
const S = n.length * (c + s);
|
|
1438
1438
|
console.log("barsHeight: ", S);
|
|
1439
|
-
const k = S + u * 2 + C + 30, L = h + t + l * 2,
|
|
1439
|
+
const k = S + u * 2 + C + 30, L = h + t + l * 2, D = tt.scaleLinear().domain([0, N]).range([0, h - l * 2]), T = Array.from(
|
|
1440
1440
|
{ length: o + 1 },
|
|
1441
1441
|
(B, P) => N / o * P
|
|
1442
1442
|
);
|
|
1443
1443
|
return {
|
|
1444
|
-
xScale:
|
|
1444
|
+
xScale: D,
|
|
1445
1445
|
ticks: T,
|
|
1446
1446
|
height: k,
|
|
1447
1447
|
chartWidth: h,
|
|
@@ -1669,7 +1669,7 @@ const G0 = "_graphicContainer_c9zrg_2", X0 = "_titleContainer_c9zrg_14", Mt = {
|
|
|
1669
1669
|
orientation: u = "horizontal",
|
|
1670
1670
|
xLabelPadding: C = 0
|
|
1671
1671
|
}) => {
|
|
1672
|
-
const { t: h } =
|
|
1672
|
+
const { t: h } = F();
|
|
1673
1673
|
return /* @__PURE__ */ m(
|
|
1674
1674
|
"div",
|
|
1675
1675
|
{
|
|
@@ -1720,7 +1720,7 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1720
1720
|
indicatorsCategory: J0,
|
|
1721
1721
|
title: Y0,
|
|
1722
1722
|
list: en
|
|
1723
|
-
}, tn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", nn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", sn = "_indicatorContainer_17b40_2", rn = "_indicatorNameContainer_17b40_11", on = "_dot_17b40_17", an = "_indicatorName_17b40_11", ln = "_switchExternalContainer_17b40_31", cn = "_switchType_17b40_39", dn = "_switchTypeOptions_17b40_43", un = "_optionContainer_17b40_54", pn = "_customRadious_17b40_64", hn = "_optionText_17b40_71",
|
|
1723
|
+
}, tn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", nn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", sn = "_indicatorContainer_17b40_2", rn = "_indicatorNameContainer_17b40_11", on = "_dot_17b40_17", an = "_indicatorName_17b40_11", ln = "_switchExternalContainer_17b40_31", cn = "_switchType_17b40_39", dn = "_switchTypeOptions_17b40_43", un = "_optionContainer_17b40_54", pn = "_customRadious_17b40_64", hn = "_optionText_17b40_71", U = {
|
|
1724
1724
|
indicatorContainer: sn,
|
|
1725
1725
|
indicatorNameContainer: rn,
|
|
1726
1726
|
dot: on,
|
|
@@ -1742,7 +1742,7 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1742
1742
|
multiple: a = !1,
|
|
1743
1743
|
onChangeType: l
|
|
1744
1744
|
}) => {
|
|
1745
|
-
const { t: u } =
|
|
1745
|
+
const { t: u } = F(), { name: C, type: h, disabled: y } = n, [p, g] = O(!1);
|
|
1746
1746
|
A(() => {
|
|
1747
1747
|
t && g(
|
|
1748
1748
|
a ? t.some(
|
|
@@ -1750,17 +1750,17 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1750
1750
|
) : t.name == C
|
|
1751
1751
|
);
|
|
1752
1752
|
}, [t]);
|
|
1753
|
-
const _ = () => /* @__PURE__ */ i("div", { className:
|
|
1753
|
+
const _ = () => /* @__PURE__ */ i("div", { className: U.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: U.switchType, children: /* @__PURE__ */ m("div", { className: U.switchTypeOptions, children: [
|
|
1754
1754
|
/* @__PURE__ */ m(
|
|
1755
1755
|
"div",
|
|
1756
1756
|
{
|
|
1757
|
-
className:
|
|
1757
|
+
className: U.optionContainer,
|
|
1758
1758
|
onClick: () => l("cat"),
|
|
1759
1759
|
children: [
|
|
1760
1760
|
/* @__PURE__ */ i(
|
|
1761
1761
|
"span",
|
|
1762
1762
|
{
|
|
1763
|
-
className: `${
|
|
1763
|
+
className: `${U.customRadious}`,
|
|
1764
1764
|
style: {
|
|
1765
1765
|
backgroundColor: o === "cat" ? s : "transparent",
|
|
1766
1766
|
borderColor: o === "cat" ? s : r
|
|
@@ -1770,7 +1770,7 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1770
1770
|
/* @__PURE__ */ i(
|
|
1771
1771
|
"h4",
|
|
1772
1772
|
{
|
|
1773
|
-
className:
|
|
1773
|
+
className: U.optionText,
|
|
1774
1774
|
style: {
|
|
1775
1775
|
color: o === "cat" ? s : r
|
|
1776
1776
|
},
|
|
@@ -1783,13 +1783,13 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1783
1783
|
/* @__PURE__ */ m(
|
|
1784
1784
|
"div",
|
|
1785
1785
|
{
|
|
1786
|
-
className:
|
|
1786
|
+
className: U.optionContainer,
|
|
1787
1787
|
onClick: () => l("abs"),
|
|
1788
1788
|
children: [
|
|
1789
1789
|
/* @__PURE__ */ i(
|
|
1790
1790
|
"span",
|
|
1791
1791
|
{
|
|
1792
|
-
className: `${
|
|
1792
|
+
className: `${U.customRadious}`,
|
|
1793
1793
|
style: {
|
|
1794
1794
|
backgroundColor: o === "abs" ? s : "transparent",
|
|
1795
1795
|
borderColor: o === "abs" ? s : r
|
|
@@ -1799,7 +1799,7 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1799
1799
|
/* @__PURE__ */ i(
|
|
1800
1800
|
"h4",
|
|
1801
1801
|
{
|
|
1802
|
-
className:
|
|
1802
|
+
className: U.optionText,
|
|
1803
1803
|
style: {
|
|
1804
1804
|
color: o === "abs" ? s : r
|
|
1805
1805
|
},
|
|
@@ -1809,15 +1809,15 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1809
1809
|
]
|
|
1810
1810
|
}
|
|
1811
1811
|
)
|
|
1812
|
-
] }) }) }), v = () => /* @__PURE__ */ i("div", { className:
|
|
1812
|
+
] }) }) }), v = () => /* @__PURE__ */ i("div", { className: U.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: U.switchType, children: /* @__PURE__ */ i("div", { className: U.switchTypeOptions, children: c.map((b, w) => /* @__PURE__ */ m(
|
|
1813
1813
|
"div",
|
|
1814
1814
|
{
|
|
1815
|
-
className:
|
|
1815
|
+
className: U.optionContainer,
|
|
1816
1816
|
children: [
|
|
1817
1817
|
/* @__PURE__ */ i(
|
|
1818
1818
|
"span",
|
|
1819
1819
|
{
|
|
1820
|
-
className:
|
|
1820
|
+
className: U.customRadious
|
|
1821
1821
|
}
|
|
1822
1822
|
),
|
|
1823
1823
|
/* @__PURE__ */ i("h4", { children: u(b.unit) })
|
|
@@ -1825,11 +1825,11 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1825
1825
|
},
|
|
1826
1826
|
w
|
|
1827
1827
|
)) }) }) });
|
|
1828
|
-
return /* @__PURE__ */ m("div", { className:
|
|
1828
|
+
return /* @__PURE__ */ m("div", { className: U.indicatorContainer, children: [
|
|
1829
1829
|
/* @__PURE__ */ m(
|
|
1830
1830
|
"div",
|
|
1831
1831
|
{
|
|
1832
|
-
className:
|
|
1832
|
+
className: U.indicatorNameContainer,
|
|
1833
1833
|
onClick: () => !y && d({ indicator: n }),
|
|
1834
1834
|
children: [
|
|
1835
1835
|
/* @__PURE__ */ i(
|
|
@@ -1840,14 +1840,14 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1840
1840
|
opacity: y ? 0.5 : 1,
|
|
1841
1841
|
backgroundColor: p ? s : "transparent"
|
|
1842
1842
|
},
|
|
1843
|
-
className:
|
|
1843
|
+
className: U.dot,
|
|
1844
1844
|
children: a && /* @__PURE__ */ i("img", { src: p ? nn : tn, alt: "" })
|
|
1845
1845
|
}
|
|
1846
1846
|
),
|
|
1847
1847
|
/* @__PURE__ */ i(
|
|
1848
1848
|
"h4",
|
|
1849
1849
|
{
|
|
1850
|
-
className:
|
|
1850
|
+
className: U.indicatorName,
|
|
1851
1851
|
style: {
|
|
1852
1852
|
color: p ? s : r,
|
|
1853
1853
|
opacity: y ? 0.5 : 1
|
|
@@ -1898,7 +1898,7 @@ const mn = "_indicatorsSubCategory_1nuug_2", gn = "_list_1nuug_11", Bt = {
|
|
|
1898
1898
|
activeIndicatorType: C,
|
|
1899
1899
|
onChangeType: h
|
|
1900
1900
|
}) => {
|
|
1901
|
-
const { t: y } =
|
|
1901
|
+
const { t: y } = F(), [p, g] = O(!1);
|
|
1902
1902
|
return A(() => {
|
|
1903
1903
|
g(t == d);
|
|
1904
1904
|
}, [t, d]), /* @__PURE__ */ m(
|
|
@@ -1965,7 +1965,7 @@ const r2 = ({
|
|
|
1965
1965
|
onChangeType: y
|
|
1966
1966
|
}) => {
|
|
1967
1967
|
var v;
|
|
1968
|
-
const { t: p } =
|
|
1968
|
+
const { t: p } = F(), [g, _] = O(!1);
|
|
1969
1969
|
return A(() => {
|
|
1970
1970
|
_(o === c);
|
|
1971
1971
|
}, [o, c]), /* @__PURE__ */ m(
|
|
@@ -2060,7 +2060,7 @@ const Cn = "_indicatorsList_13b3m_2", fn = "_title_13b3m_6", Tt = {
|
|
|
2060
2060
|
changeIndType: d,
|
|
2061
2061
|
activeIndicatorType: a
|
|
2062
2062
|
}) => {
|
|
2063
|
-
const { t: l } =
|
|
2063
|
+
const { t: l } = F(), [u, C] = O(), [h, y] = O(), [p, g] = O(), _ = (f) => {
|
|
2064
2064
|
C(u == f ? null : f);
|
|
2065
2065
|
}, v = (f) => {
|
|
2066
2066
|
y(h == f ? null : f);
|
|
@@ -2154,7 +2154,7 @@ const bn = "_langSelector_o9enq_2", _n = "_currentLang_o9enq_14", vn = "_arrow_o
|
|
|
2154
2154
|
prevImg: xn,
|
|
2155
2155
|
langMenu: wn
|
|
2156
2156
|
}, Nn = ({ langs: n, arrow: c, imgPrev: s }) => {
|
|
2157
|
-
const [r, t] = O(!1), { i18n: o } =
|
|
2157
|
+
const [r, t] = O(!1), { i18n: o } = F(), d = n.find((l) => l.code == o.language), a = (l) => {
|
|
2158
2158
|
o.changeLanguage(l), t(!1);
|
|
2159
2159
|
};
|
|
2160
2160
|
return /* @__PURE__ */ m("div", { className: $e.langSelector, children: [
|
|
@@ -2197,7 +2197,7 @@ Nn.propTypes = {
|
|
|
2197
2197
|
arrow: e.object,
|
|
2198
2198
|
imgPrev: e.object
|
|
2199
2199
|
};
|
|
2200
|
-
const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titleContainer_4ndr8_69", Ln = "_infoContainer_4ndr8_75", Mn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Tn = "_gridContainer_4ndr8_92",
|
|
2200
|
+
const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titleContainer_4ndr8_69", Ln = "_infoContainer_4ndr8_75", Mn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Tn = "_gridContainer_4ndr8_92", Dn = "_elementLegendContainer_4ndr8_98", Vn = "_colorDot_4ndr8_104", Fn = "_absoluteValueContainer_4ndr8_110", An = "_absoluteValueColor_4ndr8_113", On = "_absoluteValueText_4ndr8_118", Rn = "_noDataContainer_4ndr8_130", In = "_noData_4ndr8_130", En = "_moreInfoContainer_4ndr8_151", H = {
|
|
2201
2201
|
legendContainer: kn,
|
|
2202
2202
|
closeButton: $n,
|
|
2203
2203
|
titleContainer: Sn,
|
|
@@ -2205,9 +2205,9 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2205
2205
|
titleLegendList: Mn,
|
|
2206
2206
|
legendListContainer: Bn,
|
|
2207
2207
|
gridContainer: Tn,
|
|
2208
|
-
elementLegendContainer:
|
|
2209
|
-
colorDot:
|
|
2210
|
-
absoluteValueContainer:
|
|
2208
|
+
elementLegendContainer: Dn,
|
|
2209
|
+
colorDot: Vn,
|
|
2210
|
+
absoluteValueContainer: Fn,
|
|
2211
2211
|
absoluteValueColor: An,
|
|
2212
2212
|
absoluteValueText: On,
|
|
2213
2213
|
noDataContainer: Rn,
|
|
@@ -2229,27 +2229,27 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2229
2229
|
buttonTitle: o,
|
|
2230
2230
|
onClickClose: d
|
|
2231
2231
|
}) => {
|
|
2232
|
-
const { t: a } =
|
|
2232
|
+
const { t: a } = F();
|
|
2233
2233
|
return /* @__PURE__ */ m(
|
|
2234
2234
|
"div",
|
|
2235
2235
|
{
|
|
2236
2236
|
style: n ? { ...n } : {},
|
|
2237
|
-
className: `${
|
|
2237
|
+
className: `${H.legendContainer}`,
|
|
2238
2238
|
children: [
|
|
2239
|
-
/* @__PURE__ */ i("button", { className:
|
|
2239
|
+
/* @__PURE__ */ i("button", { className: H.closeButton, onClick: d }),
|
|
2240
2240
|
c && /* @__PURE__ */ i(
|
|
2241
2241
|
"div",
|
|
2242
2242
|
{
|
|
2243
|
-
className:
|
|
2243
|
+
className: H.titleContainer,
|
|
2244
2244
|
style: {
|
|
2245
2245
|
marginBottom: (!s || s.length == 0) && "15px"
|
|
2246
2246
|
},
|
|
2247
2247
|
children: /* @__PURE__ */ i("h2", { children: c })
|
|
2248
2248
|
}
|
|
2249
2249
|
),
|
|
2250
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2251
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2252
|
-
/* @__PURE__ */ m("span", { className:
|
|
2250
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: H.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: l, value: u }) => /* @__PURE__ */ m("li", { children: [
|
|
2251
|
+
/* @__PURE__ */ i("h3", { className: H.title, children: `${l}:` }),
|
|
2252
|
+
/* @__PURE__ */ m("span", { className: H.value, children: [
|
|
2253
2253
|
" ",
|
|
2254
2254
|
u
|
|
2255
2255
|
] })
|
|
@@ -2258,7 +2258,7 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2258
2258
|
/* @__PURE__ */ i(
|
|
2259
2259
|
"h3",
|
|
2260
2260
|
{
|
|
2261
|
-
className:
|
|
2261
|
+
className: H.titleLegendList,
|
|
2262
2262
|
style: {
|
|
2263
2263
|
marginTop: s && s.length > 0 && u === 0 ? "30px" : u > 0 ? "20px" : "0px"
|
|
2264
2264
|
},
|
|
@@ -2272,18 +2272,18 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2272
2272
|
)
|
|
2273
2273
|
}
|
|
2274
2274
|
),
|
|
2275
|
-
/* @__PURE__ */ m("div", { className:
|
|
2276
|
-
l.absolute ? /* @__PURE__ */ m("div", { className:
|
|
2275
|
+
/* @__PURE__ */ m("div", { className: H.legendListContainer, children: [
|
|
2276
|
+
l.absolute ? /* @__PURE__ */ m("div", { className: H.absoluteValueContainer, children: [
|
|
2277
2277
|
/* @__PURE__ */ i(
|
|
2278
2278
|
"div",
|
|
2279
2279
|
{
|
|
2280
|
-
className:
|
|
2280
|
+
className: H.absoluteValueColor,
|
|
2281
2281
|
style: {
|
|
2282
2282
|
background: `linear-gradient(to bottom, ${l.absolute.maxColor} 0%, ${l.absolute.midColor ? `${l.absolute.midColor} 50%,` : ""} ${l.absolute.minColor} 100%)`
|
|
2283
2283
|
}
|
|
2284
2284
|
}
|
|
2285
2285
|
),
|
|
2286
|
-
/* @__PURE__ */ m("div", { className:
|
|
2286
|
+
/* @__PURE__ */ m("div", { className: H.absoluteValueText, children: [
|
|
2287
2287
|
/* @__PURE__ */ m("span", { children: [
|
|
2288
2288
|
l.absolute.maxValue,
|
|
2289
2289
|
" ",
|
|
@@ -2300,20 +2300,20 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2300
2300
|
a(l.absolute.unit)
|
|
2301
2301
|
] })
|
|
2302
2302
|
] })
|
|
2303
|
-
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2303
|
+
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className: H.gridContainer, children: l.categories.map(
|
|
2304
2304
|
({ title: C, color: h }, y) => /* @__PURE__ */ m(
|
|
2305
2305
|
"div",
|
|
2306
2306
|
{
|
|
2307
|
-
className:
|
|
2307
|
+
className: H.elementLegendContainer,
|
|
2308
2308
|
children: [
|
|
2309
2309
|
/* @__PURE__ */ i(
|
|
2310
2310
|
"div",
|
|
2311
2311
|
{
|
|
2312
|
-
className:
|
|
2312
|
+
className: H.colorDot,
|
|
2313
2313
|
style: { backgroundColor: h }
|
|
2314
2314
|
}
|
|
2315
2315
|
),
|
|
2316
|
-
/* @__PURE__ */ m("div", { className:
|
|
2316
|
+
/* @__PURE__ */ m("div", { className: H.titleLegendElement, children: [
|
|
2317
2317
|
a(C),
|
|
2318
2318
|
" "
|
|
2319
2319
|
] })
|
|
@@ -2322,21 +2322,21 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2322
2322
|
y
|
|
2323
2323
|
)
|
|
2324
2324
|
) }),
|
|
2325
|
-
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ m("div", { className:
|
|
2325
|
+
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ m("div", { className: H.noDataContainer, children: [
|
|
2326
2326
|
/* @__PURE__ */ i(
|
|
2327
2327
|
"div",
|
|
2328
2328
|
{
|
|
2329
|
-
className:
|
|
2329
|
+
className: H.noData,
|
|
2330
2330
|
style: {
|
|
2331
2331
|
background: l.absolute.noDataColor
|
|
2332
2332
|
}
|
|
2333
2333
|
}
|
|
2334
2334
|
),
|
|
2335
|
-
/* @__PURE__ */ i("div", { className:
|
|
2335
|
+
/* @__PURE__ */ i("div", { className: H.absoluteValueText, children: /* @__PURE__ */ i("span", { children: a(l.absolute.noDataText) }) })
|
|
2336
2336
|
] })
|
|
2337
2337
|
] })
|
|
2338
2338
|
] }, u)),
|
|
2339
|
-
t && /* @__PURE__ */ i("button", { className:
|
|
2339
|
+
t && /* @__PURE__ */ i("button", { className: H.moreInfoContainer, onClick: t, children: o || a("moreInformation") })
|
|
2340
2340
|
]
|
|
2341
2341
|
}
|
|
2342
2342
|
);
|
|
@@ -2376,11 +2376,11 @@ qn.propTypes = {
|
|
|
2376
2376
|
buttonTitle: e.string,
|
|
2377
2377
|
onClickClose: e.func
|
|
2378
2378
|
};
|
|
2379
|
-
const Pn = "_logo_1ewa6_2",
|
|
2379
|
+
const Pn = "_logo_1ewa6_2", Dt = {
|
|
2380
2380
|
logo: Pn
|
|
2381
2381
|
}, zn = ({ src: n, alt: c, href: s }) => {
|
|
2382
|
-
const { t: r } =
|
|
2383
|
-
return s ? /* @__PURE__ */ i("div", { className:
|
|
2382
|
+
const { t: r } = F(), t = /* @__PURE__ */ i("img", { src: n, alt: r(c) });
|
|
2383
|
+
return s ? /* @__PURE__ */ i("div", { className: Dt.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: Dt.logo, children: t });
|
|
2384
2384
|
};
|
|
2385
2385
|
zn.propTypes = {
|
|
2386
2386
|
src: e.string.isRequired,
|
|
@@ -2504,13 +2504,13 @@ Hn.propTypes = {
|
|
|
2504
2504
|
};
|
|
2505
2505
|
const Kn = "_mapContainer_b0pyr_3", Wn = {
|
|
2506
2506
|
mapContainer: Kn
|
|
2507
|
-
}, Un = "_FeaturePopUp_mt8l5_2", Gn = "_title_mt8l5_9",
|
|
2507
|
+
}, Un = "_FeaturePopUp_mt8l5_2", Gn = "_title_mt8l5_9", Vt = {
|
|
2508
2508
|
FeaturePopUp: Un,
|
|
2509
2509
|
title: Gn
|
|
2510
2510
|
}, Xn = ({ props: n }) => {
|
|
2511
|
-
const { t: c } =
|
|
2512
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2513
|
-
/* @__PURE__ */ m("span", { className:
|
|
2511
|
+
const { t: c } = F();
|
|
2512
|
+
return /* @__PURE__ */ i("div", { className: Vt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ m("p", { children: [
|
|
2513
|
+
/* @__PURE__ */ m("span", { className: Vt.title, children: [
|
|
2514
2514
|
/* @__PURE__ */ i(yt, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2515
2515
|
":"
|
|
2516
2516
|
] }),
|
|
@@ -2585,7 +2585,7 @@ const Kn = "_mapContainer_b0pyr_3", Wn = {
|
|
|
2585
2585
|
)),
|
|
2586
2586
|
/* @__PURE__ */ i(T2, { position: "bottom-right", visualizePitch: !0 }),
|
|
2587
2587
|
C && /* @__PURE__ */ i(
|
|
2588
|
-
|
|
2588
|
+
D2,
|
|
2589
2589
|
{
|
|
2590
2590
|
longitude: C.lng,
|
|
2591
2591
|
latitude: C.lat,
|
|
@@ -2659,7 +2659,7 @@ const Jn = "_sectionBar_yf2vy_2", Yn = "_leftContent_yf2vy_14", ei = "_textConta
|
|
|
2659
2659
|
subTitleColor: a = "#605b56",
|
|
2660
2660
|
borderTop: l = !1
|
|
2661
2661
|
}) => {
|
|
2662
|
-
const { t: u } =
|
|
2662
|
+
const { t: u } = F();
|
|
2663
2663
|
return /* @__PURE__ */ m(
|
|
2664
2664
|
"div",
|
|
2665
2665
|
{
|
|
@@ -2696,7 +2696,7 @@ si.propTypes = {
|
|
|
2696
2696
|
// ancho de la barra
|
|
2697
2697
|
borderTop: e.bool
|
|
2698
2698
|
};
|
|
2699
|
-
const ri =
|
|
2699
|
+
const ri = V2({
|
|
2700
2700
|
name: "mapSlice",
|
|
2701
2701
|
initialState: {
|
|
2702
2702
|
showTexts: !0,
|
|
@@ -2722,7 +2722,7 @@ const ri = D2({
|
|
|
2722
2722
|
n.activeIndicatorUnit = c.payload;
|
|
2723
2723
|
}
|
|
2724
2724
|
}
|
|
2725
|
-
}), { setShowTexts: Rr, setYear: Ir, setActiveIndicatorKey: Er, setActiveIndicatorType: qr, setActiveIndicatorUnit: Pr } = ri.actions, oi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", ai = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", li = "_slider_1prh1_2", ci = "_playButton_1prh1_14", di = "_sliderOpen_1prh1_25", ui = "_sliderResults_1prh1_29",
|
|
2725
|
+
}), { setShowTexts: Rr, setYear: Ir, setActiveIndicatorKey: Er, setActiveIndicatorType: qr, setActiveIndicatorUnit: Pr } = ri.actions, oi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", ai = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", li = "_slider_1prh1_2", ci = "_playButton_1prh1_14", di = "_sliderOpen_1prh1_25", ui = "_sliderResults_1prh1_29", De = {
|
|
2726
2726
|
slider: li,
|
|
2727
2727
|
playButton: ci,
|
|
2728
2728
|
sliderOpen: di,
|
|
@@ -2811,12 +2811,12 @@ const ri = D2({
|
|
|
2811
2811
|
O2,
|
|
2812
2812
|
{
|
|
2813
2813
|
sx: { width: 400 },
|
|
2814
|
-
className: `${n ?
|
|
2814
|
+
className: `${n ? De.sliderResults : De.slider} ${d ? De.sliderOpen : ""}`,
|
|
2815
2815
|
style: { zIndex: o },
|
|
2816
2816
|
children: [
|
|
2817
2817
|
s,
|
|
2818
2818
|
/* @__PURE__ */ i(
|
|
2819
|
-
|
|
2819
|
+
F2,
|
|
2820
2820
|
{
|
|
2821
2821
|
"aria-label": "TimeSlider",
|
|
2822
2822
|
value: C,
|
|
@@ -2831,8 +2831,8 @@ const ri = D2({
|
|
|
2831
2831
|
}
|
|
2832
2832
|
),
|
|
2833
2833
|
r,
|
|
2834
|
-
!p && /* @__PURE__ */ i("button", { className:
|
|
2835
|
-
p && /* @__PURE__ */ i("button", { className:
|
|
2834
|
+
!p && /* @__PURE__ */ i("button", { className: De.playButton, onClick: _, children: /* @__PURE__ */ i("img", { src: oi, alt: "Play" }) }),
|
|
2835
|
+
p && /* @__PURE__ */ i("button", { className: De.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: ai, alt: "Pause" }) })
|
|
2836
2836
|
]
|
|
2837
2837
|
}
|
|
2838
2838
|
) });
|
|
@@ -2865,7 +2865,7 @@ const hi = "_TopNavMenuContainer_12mp4_2", mi = "_topNavOptions_12mp4_13", gi =
|
|
|
2865
2865
|
console.log("Changed NavLink", o);
|
|
2866
2866
|
}
|
|
2867
2867
|
}) => {
|
|
2868
|
-
const { t: o } =
|
|
2868
|
+
const { t: o } = F();
|
|
2869
2869
|
return /* @__PURE__ */ i("div", { className: rt.TopNavMenuContainer, style: { ...c }, children: n.map((d, a) => /* @__PURE__ */ i(
|
|
2870
2870
|
Ut,
|
|
2871
2871
|
{
|
|
@@ -2907,7 +2907,7 @@ const fi = "_LogInButton_1vxj5_2", yi = {
|
|
|
2907
2907
|
console.log("Logout clicked");
|
|
2908
2908
|
}
|
|
2909
2909
|
}) => {
|
|
2910
|
-
const { t: l } =
|
|
2910
|
+
const { t: l } = F();
|
|
2911
2911
|
return /* @__PURE__ */ i(
|
|
2912
2912
|
"div",
|
|
2913
2913
|
{
|
|
@@ -2926,7 +2926,7 @@ bi.propTypes = {
|
|
|
2926
2926
|
userName: e.string,
|
|
2927
2927
|
isLoggedIn: e.bool
|
|
2928
2928
|
};
|
|
2929
|
-
const _i = "_elementSelector_1ox68_2", vi = "_header_1ox68_14", xi = "_nameDateContainer_1ox68_24", wi = "_elementName_1ox68_40", Ni = "_elementDate_1ox68_54", ki = "_buttonsContainer_1ox68_68", $i = "_elementListContainer_1ox68_77", Si = "_newElementButtonContainer_1ox68_81",
|
|
2929
|
+
const _i = "_elementSelector_1ox68_2", vi = "_header_1ox68_14", xi = "_nameDateContainer_1ox68_24", wi = "_elementName_1ox68_40", Ni = "_elementDate_1ox68_54", ki = "_buttonsContainer_1ox68_68", $i = "_elementListContainer_1ox68_77", Si = "_newElementButtonContainer_1ox68_81", de = {
|
|
2930
2930
|
elementSelector: _i,
|
|
2931
2931
|
header: vi,
|
|
2932
2932
|
nameDateContainer: xi,
|
|
@@ -2935,19 +2935,19 @@ const _i = "_elementSelector_1ox68_2", vi = "_header_1ox68_14", xi = "_nameDateC
|
|
|
2935
2935
|
buttonsContainer: ki,
|
|
2936
2936
|
elementListContainer: $i,
|
|
2937
2937
|
newElementButtonContainer: Si
|
|
2938
|
-
}, Li = "_listElement_s4s4h_3", Mi = "_elementNameDate_s4s4h_19", Bi = "_elementNameContainer_s4s4h_30", Ti = "_elementName_s4s4h_19",
|
|
2938
|
+
}, Li = "_listElement_s4s4h_3", Mi = "_elementNameDate_s4s4h_19", Bi = "_elementNameContainer_s4s4h_30", Ti = "_elementName_s4s4h_19", Di = "_elementDate_s4s4h_47", Vi = "_nameAndEye_s4s4h_50", Fi = "_elementButtons_s4s4h_55", Ai = "_moreInfoContainer_s4s4h_78", Oi = "_moreInfo_s4s4h_78", ne = {
|
|
2939
2939
|
listElement: Li,
|
|
2940
2940
|
elementNameDate: Mi,
|
|
2941
2941
|
elementNameContainer: Bi,
|
|
2942
2942
|
elementName: Ti,
|
|
2943
|
-
elementDate:
|
|
2944
|
-
nameAndEye:
|
|
2945
|
-
elementButtons:
|
|
2943
|
+
elementDate: Di,
|
|
2944
|
+
nameAndEye: Vi,
|
|
2945
|
+
elementButtons: Fi,
|
|
2946
2946
|
break: "_break_s4s4h_73",
|
|
2947
2947
|
moreInfoContainer: Ai,
|
|
2948
2948
|
moreInfo: Oi
|
|
2949
2949
|
}, Ri = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Ii = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ei = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", qi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Pi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e", zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Editar'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203792'%3e%3cpath%20id='Vector%20530'%20d='M22.469%2010.8343L19.54%207.90531C19.3447%207.71005%2019.0281%207.71005%2018.8329%207.90531L8.39131%2018.3469C8.31762%2018.4206%208.2688%2018.5154%208.25167%2018.6182L7.66586%2022.1331C7.60946%2022.4715%207.90285%2022.7649%208.24126%2022.7085L11.7561%2022.1227C11.8589%2022.1055%2011.9538%2022.0567%2012.0275%2021.983L22.469%2011.5415C22.6643%2011.3462%2022.6643%2011.0296%2022.469%2010.8343Z'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20531'%20d='M9.00391%2017.7334L12.6401%2021.3695'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20614'%20d='M19.4292%207.55176L9.24805%2017.733L12.6418%2021.1267L22.823%2010.9455L19.4292%207.55176Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206729'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='i'%20d='M14%209.008C14%208.708%2014.102%208.468%2014.306%208.288C14.51%208.096%2014.78%208%2015.116%208C15.452%208%2015.722%208.096%2015.926%208.288C16.13%208.468%2016.232%208.708%2016.232%209.008C16.232%209.308%2016.13%209.554%2015.926%209.746C15.722%209.926%2015.452%2010.016%2015.116%2010.016C14.78%2010.016%2014.51%209.926%2014.306%209.746C14.102%209.554%2014%209.308%2014%209.008ZM15.926%2011.906V21.788H14.288V11.906H15.926Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e";
|
|
2950
|
-
var
|
|
2950
|
+
var Ft;
|
|
2951
2951
|
function Ct() {
|
|
2952
2952
|
return Ct = Object.assign ? Object.assign.bind() : function(n) {
|
|
2953
2953
|
for (var c = 1; c < arguments.length; c++) {
|
|
@@ -2963,7 +2963,7 @@ var ji = function(c) {
|
|
|
2963
2963
|
width: 26,
|
|
2964
2964
|
height: 14,
|
|
2965
2965
|
fill: "none"
|
|
2966
|
-
}, c),
|
|
2966
|
+
}, c), Ft || (Ft = /* @__PURE__ */ Me.createElement("g", {
|
|
2967
2967
|
fill: "currentColor"
|
|
2968
2968
|
}, /* @__PURE__ */ Me.createElement("path", {
|
|
2969
2969
|
d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
|
|
@@ -2984,7 +2984,7 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2984
2984
|
defaultTooltip: u,
|
|
2985
2985
|
showEye: C = !0
|
|
2986
2986
|
}) => {
|
|
2987
|
-
const { name: h, created_at: y, id: p, isBeingProcessed: g } = n, [_, v] = O(!1), { t: b } =
|
|
2987
|
+
const { name: h, created_at: y, id: p, isBeingProcessed: g } = n, [_, v] = O(!1), { t: b } = F();
|
|
2988
2988
|
return A(() => {
|
|
2989
2989
|
console.log("elementButtons: ", a);
|
|
2990
2990
|
}, [a]), /* @__PURE__ */ m(
|
|
@@ -3018,12 +3018,12 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3018
3018
|
/* @__PURE__ */ m("div", { className: ne.elementButtons, children: [
|
|
3019
3019
|
n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3020
3020
|
/* @__PURE__ */ i("img", { src: qi }),
|
|
3021
|
-
/* @__PURE__ */ i(
|
|
3021
|
+
/* @__PURE__ */ i(pe, { text: l, position: "left" })
|
|
3022
3022
|
] }),
|
|
3023
3023
|
a.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3024
3024
|
/* @__PURE__ */ i("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: Ei }) }),
|
|
3025
3025
|
/* @__PURE__ */ i(
|
|
3026
|
-
|
|
3026
|
+
pe,
|
|
3027
3027
|
{
|
|
3028
3028
|
text: a.filter.tooltiptext,
|
|
3029
3029
|
position: "left"
|
|
@@ -3032,20 +3032,20 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3032
3032
|
] }),
|
|
3033
3033
|
a.copy && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3034
3034
|
/* @__PURE__ */ i("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: Ii }) }),
|
|
3035
|
-
/* @__PURE__ */ i(
|
|
3035
|
+
/* @__PURE__ */ i(pe, { text: a.copy.tooltiptext, position: "left" })
|
|
3036
3036
|
] }),
|
|
3037
3037
|
a.edit && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3038
3038
|
/* @__PURE__ */ i("button", { onClick: () => a.edit.onclick(n), children: /* @__PURE__ */ i("img", { src: zi }) }),
|
|
3039
|
-
/* @__PURE__ */ i(
|
|
3039
|
+
/* @__PURE__ */ i(pe, { text: a.edit.tooltiptext, position: "left" })
|
|
3040
3040
|
] }),
|
|
3041
3041
|
a.info && n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3042
3042
|
/* @__PURE__ */ i("button", { onClick: () => a.info.onclick(n), children: /* @__PURE__ */ i("img", { src: Zi }) }),
|
|
3043
|
-
/* @__PURE__ */ i(
|
|
3043
|
+
/* @__PURE__ */ i(pe, { text: a.info.tooltiptext, position: "left" })
|
|
3044
3044
|
] }),
|
|
3045
3045
|
a.trash && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3046
3046
|
/* @__PURE__ */ i("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: Ri }) }),
|
|
3047
3047
|
/* @__PURE__ */ i(
|
|
3048
|
-
|
|
3048
|
+
pe,
|
|
3049
3049
|
{
|
|
3050
3050
|
text: a.trash.tooltiptext,
|
|
3051
3051
|
position: "left"
|
|
@@ -3054,7 +3054,7 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3054
3054
|
] }),
|
|
3055
3055
|
n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3056
3056
|
/* @__PURE__ */ i("img", { src: Pi }),
|
|
3057
|
-
/* @__PURE__ */ i(
|
|
3057
|
+
/* @__PURE__ */ i(pe, { text: u, position: "left" })
|
|
3058
3058
|
] })
|
|
3059
3059
|
] }),
|
|
3060
3060
|
o && /* @__PURE__ */ i("div", { className: ne.break }),
|
|
@@ -3134,7 +3134,7 @@ const At = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3134
3134
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
3135
3135
|
showEye: p = !0
|
|
3136
3136
|
}) => {
|
|
3137
|
-
const { t: g } =
|
|
3137
|
+
const { t: g } = F(), [_, v] = O(n);
|
|
3138
3138
|
A(() => {
|
|
3139
3139
|
n && v(n);
|
|
3140
3140
|
}, [n]);
|
|
@@ -3152,42 +3152,42 @@ const At = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3152
3152
|
let x = [..._];
|
|
3153
3153
|
const N = x.find((k) => k[f] !== null && k[f] !== void 0), S = N ? w(N[f]) : !1;
|
|
3154
3154
|
x.sort((k, L) => {
|
|
3155
|
-
const
|
|
3156
|
-
if (
|
|
3157
|
-
if (
|
|
3155
|
+
const D = k[f], T = L[f];
|
|
3156
|
+
if (D == null && T == null) return 0;
|
|
3157
|
+
if (D == null) return 1;
|
|
3158
3158
|
if (T == null) return -1;
|
|
3159
3159
|
if (S) {
|
|
3160
|
-
const R = b(
|
|
3160
|
+
const R = b(D), X = b(T);
|
|
3161
3161
|
return !R && !X ? 0 : R ? X ? R - X : -1 : 1;
|
|
3162
3162
|
}
|
|
3163
|
-
const B = String(
|
|
3163
|
+
const B = String(D || "").trim(), P = String(T || "").trim();
|
|
3164
3164
|
return B.localeCompare(P);
|
|
3165
3165
|
}), v(x);
|
|
3166
3166
|
};
|
|
3167
3167
|
return /* @__PURE__ */ m(
|
|
3168
3168
|
"div",
|
|
3169
3169
|
{
|
|
3170
|
-
className:
|
|
3170
|
+
className: de.elementSelector,
|
|
3171
3171
|
style: { color: s, ...o },
|
|
3172
3172
|
children: [
|
|
3173
3173
|
/* @__PURE__ */ m(
|
|
3174
3174
|
"div",
|
|
3175
3175
|
{
|
|
3176
|
-
className:
|
|
3176
|
+
className: de.header,
|
|
3177
3177
|
style: { borderBottom: `1px solid ${s}` },
|
|
3178
3178
|
children: [
|
|
3179
|
-
/* @__PURE__ */ i("div", { className:
|
|
3179
|
+
/* @__PURE__ */ i("div", { className: de.nameDateContainer, children: Object.keys(l).map((f) => f === "name" ? /* @__PURE__ */ i("div", { className: de.elementName, children: /* @__PURE__ */ m("button", { onClick: () => $("name"), children: [
|
|
3180
3180
|
/* @__PURE__ */ i("span", { children: g(l.name) }),
|
|
3181
3181
|
/* @__PURE__ */ i("img", { src: At, alt: "order arrow" })
|
|
3182
|
-
] }) }, f) : f === "data" ? /* @__PURE__ */ i("div", { className:
|
|
3182
|
+
] }) }, f) : f === "data" ? /* @__PURE__ */ i("div", { className: de.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => $("created_at"), children: [
|
|
3183
3183
|
/* @__PURE__ */ i("span", { children: g(l.data) }),
|
|
3184
3184
|
/* @__PURE__ */ i("img", { src: At, alt: "order arrow" })
|
|
3185
|
-
] }) }, f) : /* @__PURE__ */ i("div", { className:
|
|
3186
|
-
/* @__PURE__ */ i("div", { className:
|
|
3185
|
+
] }) }, f) : /* @__PURE__ */ i("div", { className: de.elementDate, children: /* @__PURE__ */ i("span", { children: g(l[f]) }) }, f)) }),
|
|
3186
|
+
/* @__PURE__ */ i("div", { className: de.buttonsContainer })
|
|
3187
3187
|
]
|
|
3188
3188
|
}
|
|
3189
3189
|
),
|
|
3190
|
-
/* @__PURE__ */ i("div", { className:
|
|
3190
|
+
/* @__PURE__ */ i("div", { className: de.elementListContainer, children: _ && _.length > 0 && _.map((f) => /* @__PURE__ */ i(
|
|
3191
3191
|
o2,
|
|
3192
3192
|
{
|
|
3193
3193
|
isActive: c == f.id,
|
|
@@ -3204,7 +3204,7 @@ const At = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3204
3204
|
},
|
|
3205
3205
|
`elementKey${f.id}`
|
|
3206
3206
|
)) }),
|
|
3207
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
3207
|
+
d && /* @__PURE__ */ i("div", { className: de.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
3208
3208
|
Qe,
|
|
3209
3209
|
{
|
|
3210
3210
|
style: { ...t },
|
|
@@ -3265,12 +3265,12 @@ Ki.propTypes = {
|
|
|
3265
3265
|
defaultTooltip: e.string,
|
|
3266
3266
|
showEye: e.bool
|
|
3267
3267
|
};
|
|
3268
|
-
const Wi = "_formContainer_asv64_2", Ui = "_categorySelectorContainer_asv64_11", Gi = "_formObjectContainer_asv64_15", Xi = "_buttonContainer_asv64_26",
|
|
3268
|
+
const Wi = "_formContainer_asv64_2", Ui = "_categorySelectorContainer_asv64_11", Gi = "_formObjectContainer_asv64_15", Xi = "_buttonContainer_asv64_26", Ve = {
|
|
3269
3269
|
formContainer: Wi,
|
|
3270
3270
|
categorySelectorContainer: Ui,
|
|
3271
3271
|
formObjectContainer: Gi,
|
|
3272
3272
|
buttonContainer: Xi
|
|
3273
|
-
},
|
|
3273
|
+
}, Fe = {
|
|
3274
3274
|
text: "text",
|
|
3275
3275
|
password: "password",
|
|
3276
3276
|
radioList: "radioList",
|
|
@@ -3480,7 +3480,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3480
3480
|
errorColor: c = "red",
|
|
3481
3481
|
containerStyles: s
|
|
3482
3482
|
}) => {
|
|
3483
|
-
const { t: r } =
|
|
3483
|
+
const { t: r } = F();
|
|
3484
3484
|
return /* @__PURE__ */ i(
|
|
3485
3485
|
"div",
|
|
3486
3486
|
{
|
|
@@ -3509,7 +3509,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3509
3509
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
3510
3510
|
onChangeExtraFunction: p = () => {
|
|
3511
3511
|
}
|
|
3512
|
-
} = n, { t: g } =
|
|
3512
|
+
} = n, { t: g } = F(), { control: _, trigger: v, clearErrors: b } = c, { errorColor: w } = qe((N) => N), [$, f] = O(!1);
|
|
3513
3513
|
te(d);
|
|
3514
3514
|
const x = () => r ? r === "password" && $ ? "text" : r : "text";
|
|
3515
3515
|
return /* @__PURE__ */ i(
|
|
@@ -3524,7 +3524,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3524
3524
|
},
|
|
3525
3525
|
render: ({ field: N, fieldState: S }) => {
|
|
3526
3526
|
var T;
|
|
3527
|
-
const { onChange: k, ...L } = N,
|
|
3527
|
+
const { onChange: k, ...L } = N, D = (B) => {
|
|
3528
3528
|
k(B), p && p(B);
|
|
3529
3529
|
};
|
|
3530
3530
|
return /* @__PURE__ */ m("div", { className: Ae.textInputContainer, children: [
|
|
@@ -3544,7 +3544,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3544
3544
|
{
|
|
3545
3545
|
...L,
|
|
3546
3546
|
type: x(),
|
|
3547
|
-
onChange:
|
|
3547
|
+
onChange: D,
|
|
3548
3548
|
placeholder: l ? g(l) : "",
|
|
3549
3549
|
maxLength: o || void 0
|
|
3550
3550
|
}
|
|
@@ -3601,7 +3601,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3601
3601
|
width: h = 325,
|
|
3602
3602
|
options: y = []
|
|
3603
3603
|
//Used if we dont use react hook form
|
|
3604
|
-
} = n, { t: p } =
|
|
3604
|
+
} = n, { t: p } = F(), { control: g, trigger: _, clearErrors: v } = c || {}, { errorColor: b } = qe((f) => f);
|
|
3605
3605
|
te(a);
|
|
3606
3606
|
const [w, $] = O(null);
|
|
3607
3607
|
return A(() => {
|
|
@@ -3632,7 +3632,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3632
3632
|
{
|
|
3633
3633
|
...f,
|
|
3634
3634
|
onChange: (S) => {
|
|
3635
|
-
const k = S.target.value, L = y.every((
|
|
3635
|
+
const k = S.target.value, L = y.every((D) => typeof D.value == "number") ? Number(k) : k;
|
|
3636
3636
|
f.onChange(L);
|
|
3637
3637
|
},
|
|
3638
3638
|
className: ie.selectInput,
|
|
@@ -3702,13 +3702,13 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3702
3702
|
/* @__PURE__ */ i("img", { src: qt, alt: "Open", className: ie.dropdownArrow })
|
|
3703
3703
|
] })
|
|
3704
3704
|
] });
|
|
3705
|
-
}, Ms = "_radioButtonContainer_1e994_2", Bs = "_wholeInputContainer_1e994_5", Ts = "_questionContainer_1e994_27",
|
|
3705
|
+
}, Ms = "_radioButtonContainer_1e994_2", Bs = "_wholeInputContainer_1e994_5", Ts = "_questionContainer_1e994_27", Ds = "_radioQuestion_1e994_59", Vs = "_inputContainer_1e994_63", Fs = "_radioInput_1e994_93", ve = {
|
|
3706
3706
|
radioButtonContainer: Ms,
|
|
3707
3707
|
wholeInputContainer: Bs,
|
|
3708
3708
|
questionContainer: Ts,
|
|
3709
|
-
radioQuestion:
|
|
3710
|
-
inputContainer:
|
|
3711
|
-
radioInput:
|
|
3709
|
+
radioQuestion: Ds,
|
|
3710
|
+
inputContainer: Vs,
|
|
3711
|
+
radioInput: Fs
|
|
3712
3712
|
}, As = ({ input: n, reactHookFormInstance: c }) => {
|
|
3713
3713
|
const {
|
|
3714
3714
|
code: s,
|
|
@@ -3718,7 +3718,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3718
3718
|
errorColor: d = "red",
|
|
3719
3719
|
options: a = [],
|
|
3720
3720
|
multi: l = !1
|
|
3721
|
-
} = n, { t: u } =
|
|
3721
|
+
} = n, { t: u } = F(), { control: C, trigger: h, clearErrors: y } = c, { errorColor: p } = qe((v) => v), g = ({ options: v, onChange: b, actualValue: w }) => {
|
|
3722
3722
|
if (l && w && w.length > 0) {
|
|
3723
3723
|
let $ = w.filter((f) => f !== v);
|
|
3724
3724
|
b($);
|
|
@@ -3765,7 +3765,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3765
3765
|
label: S,
|
|
3766
3766
|
value: k,
|
|
3767
3767
|
disabled: L = !1,
|
|
3768
|
-
italicLabel:
|
|
3768
|
+
italicLabel: D
|
|
3769
3769
|
}, T) => {
|
|
3770
3770
|
const B = $ && l ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((P) => P === k) : $ === k;
|
|
3771
3771
|
return /* @__PURE__ */ m("label", { children: [
|
|
@@ -3805,7 +3805,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
3807
|
);
|
|
3808
|
-
}, Os = "_rankingSliderContainer_1lekm_2", Rs = "_labelContainer_1lekm_6", Is = "_inputContainer_1lekm_10", Es = "_slider_1lekm_20", qs = "_thumb_1lekm_27", Ps = "_labels_1lekm_37", zs = "_minLabel_1lekm_67", Zs = "_maxLabel_1lekm_67",
|
|
3808
|
+
}, Os = "_rankingSliderContainer_1lekm_2", Rs = "_labelContainer_1lekm_6", Is = "_inputContainer_1lekm_10", Es = "_slider_1lekm_20", qs = "_thumb_1lekm_27", Ps = "_labels_1lekm_37", zs = "_minLabel_1lekm_67", Zs = "_maxLabel_1lekm_67", Z = {
|
|
3809
3809
|
rankingSliderContainer: Os,
|
|
3810
3810
|
labelContainer: Rs,
|
|
3811
3811
|
inputContainer: Is,
|
|
@@ -3832,10 +3832,10 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3832
3832
|
disabled: _ = !1,
|
|
3833
3833
|
marks: v = Array.from(
|
|
3834
3834
|
{ length: d - o + 1 },
|
|
3835
|
-
(L,
|
|
3835
|
+
(L, D) => o + D
|
|
3836
3836
|
),
|
|
3837
3837
|
showMarksNumber: b = !0
|
|
3838
|
-
} = n, { t: w } =
|
|
3838
|
+
} = n, { t: w } = F(), { control: $, trigger: f, clearErrors: x } = c || {};
|
|
3839
3839
|
te(u);
|
|
3840
3840
|
const { errorColorForm: N } = qe((L) => L), [S, k] = O(a);
|
|
3841
3841
|
return c ? /* @__PURE__ */ i(
|
|
@@ -3847,19 +3847,19 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3847
3847
|
rules: {
|
|
3848
3848
|
required: u ? `${w(t)} ${w("errorMessages.required")}` : !1
|
|
3849
3849
|
},
|
|
3850
|
-
render: ({ field: L, fieldState:
|
|
3850
|
+
render: ({ field: L, fieldState: D }) => {
|
|
3851
3851
|
var T;
|
|
3852
3852
|
return /* @__PURE__ */ m(
|
|
3853
3853
|
"div",
|
|
3854
3854
|
{
|
|
3855
|
-
className:
|
|
3855
|
+
className: Z.rankingSliderContainer,
|
|
3856
3856
|
style: {
|
|
3857
3857
|
gridTemplateColumns: `${t && h} ${y}`
|
|
3858
3858
|
},
|
|
3859
3859
|
children: [
|
|
3860
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3861
|
-
/* @__PURE__ */ m("div", { className:
|
|
3862
|
-
p && /* @__PURE__ */ i("div", { className:
|
|
3860
|
+
t && /* @__PURE__ */ i("p", { className: Z.labelContainer, children: w(t) }),
|
|
3861
|
+
/* @__PURE__ */ m("div", { className: Z.inputContainer, children: [
|
|
3862
|
+
p && /* @__PURE__ */ i("div", { className: Z.minLabel, children: w(p) }),
|
|
3863
3863
|
/* @__PURE__ */ m("div", { children: [
|
|
3864
3864
|
/* @__PURE__ */ i(
|
|
3865
3865
|
gt,
|
|
@@ -3870,8 +3870,8 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3870
3870
|
value: L.value ?? a,
|
|
3871
3871
|
onChange: (B) => L.onChange(B),
|
|
3872
3872
|
marks: !0,
|
|
3873
|
-
className:
|
|
3874
|
-
thumbClassName:
|
|
3873
|
+
className: Z.slider,
|
|
3874
|
+
thumbClassName: Z.thumb,
|
|
3875
3875
|
renderThumb: (B) => /* @__PURE__ */ i(
|
|
3876
3876
|
"div",
|
|
3877
3877
|
{
|
|
@@ -3879,19 +3879,19 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3879
3879
|
style: { ...B.style, backgroundColor: l }
|
|
3880
3880
|
}
|
|
3881
3881
|
),
|
|
3882
|
-
trackClassName:
|
|
3883
|
-
markClassName:
|
|
3882
|
+
trackClassName: Z.track,
|
|
3883
|
+
markClassName: Z.mark,
|
|
3884
3884
|
disabled: _
|
|
3885
3885
|
}
|
|
3886
3886
|
),
|
|
3887
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3887
|
+
v && /* @__PURE__ */ i("div", { className: Z.labels, children: v.map((B) => /* @__PURE__ */ i("span", { children: b && B }, B)) })
|
|
3888
3888
|
] }),
|
|
3889
|
-
g && /* @__PURE__ */ i("div", { className:
|
|
3889
|
+
g && /* @__PURE__ */ i("div", { className: Z.maxLabel, children: w(g) })
|
|
3890
3890
|
] }),
|
|
3891
3891
|
/* @__PURE__ */ i(
|
|
3892
3892
|
Ee,
|
|
3893
3893
|
{
|
|
3894
|
-
errorMessage: (T =
|
|
3894
|
+
errorMessage: (T = D.error) == null ? void 0 : T.message,
|
|
3895
3895
|
errorColor: N || C
|
|
3896
3896
|
}
|
|
3897
3897
|
)
|
|
@@ -3903,12 +3903,12 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3903
3903
|
) : /* @__PURE__ */ m(
|
|
3904
3904
|
"div",
|
|
3905
3905
|
{
|
|
3906
|
-
className:
|
|
3906
|
+
className: Z.rankingSliderContainer,
|
|
3907
3907
|
style: { gridTemplateColumns: `${t && h} ${y}` },
|
|
3908
3908
|
children: [
|
|
3909
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3910
|
-
/* @__PURE__ */ m("div", { className:
|
|
3911
|
-
p && /* @__PURE__ */ i("div", { className:
|
|
3909
|
+
t && /* @__PURE__ */ i("p", { className: Z.labelContainer, children: w(t) }),
|
|
3910
|
+
/* @__PURE__ */ m("div", { className: Z.inputContainer, children: [
|
|
3911
|
+
p && /* @__PURE__ */ i("div", { className: Z.minLabel, children: w(p) }),
|
|
3912
3912
|
/* @__PURE__ */ m("div", { children: [
|
|
3913
3913
|
/* @__PURE__ */ i(
|
|
3914
3914
|
gt,
|
|
@@ -3921,8 +3921,8 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3921
3921
|
k(L), s && s(L);
|
|
3922
3922
|
},
|
|
3923
3923
|
marks: !0,
|
|
3924
|
-
className:
|
|
3925
|
-
thumbClassName:
|
|
3924
|
+
className: Z.slider,
|
|
3925
|
+
thumbClassName: Z.thumb,
|
|
3926
3926
|
renderThumb: (L) => /* @__PURE__ */ i(
|
|
3927
3927
|
"div",
|
|
3928
3928
|
{
|
|
@@ -3930,14 +3930,14 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3930
3930
|
style: { ...L.style, backgroundColor: l }
|
|
3931
3931
|
}
|
|
3932
3932
|
),
|
|
3933
|
-
trackClassName:
|
|
3934
|
-
markClassName:
|
|
3933
|
+
trackClassName: Z.track,
|
|
3934
|
+
markClassName: Z.mark,
|
|
3935
3935
|
disabled: _
|
|
3936
3936
|
}
|
|
3937
3937
|
),
|
|
3938
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3938
|
+
v && /* @__PURE__ */ i("div", { className: Z.labels, children: v.map((L) => /* @__PURE__ */ i("span", { children: b && L }, L)) })
|
|
3939
3939
|
] }),
|
|
3940
|
-
g && /* @__PURE__ */ i("div", { className:
|
|
3940
|
+
g && /* @__PURE__ */ i("div", { className: Z.maxLabel, children: w(g) })
|
|
3941
3941
|
] })
|
|
3942
3942
|
]
|
|
3943
3943
|
}
|
|
@@ -3976,7 +3976,7 @@ const Oe = ({
|
|
|
3976
3976
|
return /* @__PURE__ */ i("div", { className: Se.inputsContainer, children: o == null ? void 0 : o.map((d, a) => {
|
|
3977
3977
|
const { inputType: l } = d;
|
|
3978
3978
|
switch (l) {
|
|
3979
|
-
case
|
|
3979
|
+
case Fe.text:
|
|
3980
3980
|
return /* @__PURE__ */ i(
|
|
3981
3981
|
"div",
|
|
3982
3982
|
{
|
|
@@ -3992,7 +3992,7 @@ const Oe = ({
|
|
|
3992
3992
|
},
|
|
3993
3993
|
`${d.code}${a}`
|
|
3994
3994
|
);
|
|
3995
|
-
case
|
|
3995
|
+
case Fe.password:
|
|
3996
3996
|
return /* @__PURE__ */ i(
|
|
3997
3997
|
"div",
|
|
3998
3998
|
{
|
|
@@ -4008,7 +4008,7 @@ const Oe = ({
|
|
|
4008
4008
|
},
|
|
4009
4009
|
`${d.code}${a}`
|
|
4010
4010
|
);
|
|
4011
|
-
case
|
|
4011
|
+
case Fe.select:
|
|
4012
4012
|
return /* @__PURE__ */ i(
|
|
4013
4013
|
"div",
|
|
4014
4014
|
{
|
|
@@ -4024,7 +4024,7 @@ const Oe = ({
|
|
|
4024
4024
|
},
|
|
4025
4025
|
`${d.code}${a}`
|
|
4026
4026
|
);
|
|
4027
|
-
case
|
|
4027
|
+
case Fe.radioList:
|
|
4028
4028
|
return /* @__PURE__ */ i(
|
|
4029
4029
|
"div",
|
|
4030
4030
|
{
|
|
@@ -4040,7 +4040,7 @@ const Oe = ({
|
|
|
4040
4040
|
},
|
|
4041
4041
|
`${d.code}${a}`
|
|
4042
4042
|
);
|
|
4043
|
-
case
|
|
4043
|
+
case Fe.rankingSlider:
|
|
4044
4044
|
return /* @__PURE__ */ i(
|
|
4045
4045
|
"div",
|
|
4046
4046
|
{
|
|
@@ -4071,7 +4071,7 @@ const Oe = ({
|
|
|
4071
4071
|
activeColor: r,
|
|
4072
4072
|
containerStyles: t = {}
|
|
4073
4073
|
}) => {
|
|
4074
|
-
const { t: o } =
|
|
4074
|
+
const { t: o } = F(), d = (a) => {
|
|
4075
4075
|
c(a);
|
|
4076
4076
|
};
|
|
4077
4077
|
return /* @__PURE__ */ i(
|
|
@@ -4118,7 +4118,7 @@ const Oe = ({
|
|
|
4118
4118
|
activeCategoryColor: y = "#b32f5d",
|
|
4119
4119
|
onSubmit: p = (g) => console.log("Form submitted with: ", g)
|
|
4120
4120
|
}) => {
|
|
4121
|
-
const { t: g } =
|
|
4121
|
+
const { t: g } = F(), { handleSubmit: _, control: v } = n;
|
|
4122
4122
|
A(() => {
|
|
4123
4123
|
o && qe.setState(() => ({ errorColor: o }));
|
|
4124
4124
|
}, [o]);
|
|
@@ -4130,7 +4130,7 @@ const Oe = ({
|
|
|
4130
4130
|
hasSubcategories: ((L = k.subcategories) == null ? void 0 : L.length) > 0
|
|
4131
4131
|
};
|
|
4132
4132
|
}) : [], [c]), w = (k) => {
|
|
4133
|
-
const L = c == null ? void 0 : c.find((
|
|
4133
|
+
const L = c == null ? void 0 : c.find((D) => D.categoryId === k);
|
|
4134
4134
|
return (L == null ? void 0 : L.subcategories) || [];
|
|
4135
4135
|
}, [$, f] = O(
|
|
4136
4136
|
h || u || null
|
|
@@ -4142,14 +4142,14 @@ const Oe = ({
|
|
|
4142
4142
|
!x && (k == null ? void 0 : k.length) > 0 && N(k[0].id);
|
|
4143
4143
|
}, [$, x, c]);
|
|
4144
4144
|
const S = (k, L) => {
|
|
4145
|
-
var
|
|
4146
|
-
if (((
|
|
4145
|
+
var D;
|
|
4146
|
+
if (((D = k.subcategories) == null ? void 0 : D.length) > 0) {
|
|
4147
4147
|
const T = k.subcategories;
|
|
4148
4148
|
return /* @__PURE__ */ m("div", { children: [
|
|
4149
4149
|
/* @__PURE__ */ i(
|
|
4150
4150
|
"div",
|
|
4151
4151
|
{
|
|
4152
|
-
className:
|
|
4152
|
+
className: Ve.categorySelectorContainer,
|
|
4153
4153
|
children: /* @__PURE__ */ i(
|
|
4154
4154
|
Pt,
|
|
4155
4155
|
{
|
|
@@ -4232,8 +4232,8 @@ const Oe = ({
|
|
|
4232
4232
|
)
|
|
4233
4233
|
] }, k.categoryId);
|
|
4234
4234
|
};
|
|
4235
|
-
return /* @__PURE__ */ m("form", { className:
|
|
4236
|
-
l && b.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
4235
|
+
return /* @__PURE__ */ m("form", { className: Ve.formContainer, onSubmit: _(p), children: [
|
|
4236
|
+
l && b.length > 0 && /* @__PURE__ */ i("div", { className: Ve.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
4237
4237
|
Pt,
|
|
4238
4238
|
{
|
|
4239
4239
|
activeCategory: $,
|
|
@@ -4244,9 +4244,9 @@ const Oe = ({
|
|
|
4244
4244
|
activeColor: y
|
|
4245
4245
|
}
|
|
4246
4246
|
) }),
|
|
4247
|
-
/* @__PURE__ */ i("div", { className:
|
|
4248
|
-
const
|
|
4249
|
-
return k.category && !
|
|
4247
|
+
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: c == null ? void 0 : c.map((k, L) => {
|
|
4248
|
+
const D = k.categoryId === $;
|
|
4249
|
+
return k.category && !D ? null : k.category && D ? /* @__PURE__ */ i(
|
|
4250
4250
|
"div",
|
|
4251
4251
|
{
|
|
4252
4252
|
style: {
|
|
@@ -4267,12 +4267,12 @@ const Oe = ({
|
|
|
4267
4267
|
}
|
|
4268
4268
|
);
|
|
4269
4269
|
}) }),
|
|
4270
|
-
/* @__PURE__ */ m("div", { className:
|
|
4270
|
+
/* @__PURE__ */ m("div", { className: Ve.buttonContainer, children: [
|
|
4271
4271
|
/* @__PURE__ */ i(Qe, { containerStyles: a, type: "submit", children: g(d) }),
|
|
4272
4272
|
/* @__PURE__ */ i(Ee, { errorMessage: t, errorColor: o })
|
|
4273
4273
|
] })
|
|
4274
4274
|
] });
|
|
4275
|
-
}, Ws = "_overlay_mnd4j_2", Us = "_modal_mnd4j_15", Gs = "_closeButton_mnd4j_29", Xs = "_icon_mnd4j_39", Qs = "_message_mnd4j_45", Js = "_submessage_mnd4j_51", Ys = "_buttonsContainer_mnd4j_57", e1 = "_buttonWrapper_mnd4j_64",
|
|
4275
|
+
}, Ws = "_overlay_mnd4j_2", Us = "_modal_mnd4j_15", Gs = "_closeButton_mnd4j_29", Xs = "_icon_mnd4j_39", Qs = "_message_mnd4j_45", Js = "_submessage_mnd4j_51", Ys = "_buttonsContainer_mnd4j_57", e1 = "_buttonWrapper_mnd4j_64", ge = {
|
|
4276
4276
|
overlay: Ws,
|
|
4277
4277
|
modal: Us,
|
|
4278
4278
|
closeButton: Gs,
|
|
@@ -4289,17 +4289,17 @@ const Oe = ({
|
|
|
4289
4289
|
buttons: t,
|
|
4290
4290
|
maxHeight: o = "450px",
|
|
4291
4291
|
maxWidth: d = "450px"
|
|
4292
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
4292
|
+
}) => /* @__PURE__ */ i("div", { className: ge.overlay, children: /* @__PURE__ */ m(
|
|
4293
4293
|
"div",
|
|
4294
4294
|
{
|
|
4295
|
-
className:
|
|
4295
|
+
className: ge.modal,
|
|
4296
4296
|
style: { maxHeight: o, maxWidth: d },
|
|
4297
4297
|
children: [
|
|
4298
|
-
/* @__PURE__ */ i("button", { className:
|
|
4299
|
-
c && /* @__PURE__ */ i("img", { src: c, alt: "icon", className:
|
|
4300
|
-
/* @__PURE__ */ i("p", { className:
|
|
4301
|
-
r && /* @__PURE__ */ i("p", { className:
|
|
4302
|
-
t.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
4298
|
+
/* @__PURE__ */ i("button", { className: ge.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
4299
|
+
c && /* @__PURE__ */ i("img", { src: c, alt: "icon", className: ge.icon }),
|
|
4300
|
+
/* @__PURE__ */ i("p", { className: ge.message, children: s }),
|
|
4301
|
+
r && /* @__PURE__ */ i("p", { className: ge.submessage, children: r }),
|
|
4302
|
+
t.length > 0 && /* @__PURE__ */ i("div", { className: ge.buttonsContainer, children: t.map((a, l) => /* @__PURE__ */ i("div", { className: ge.buttonWrapper, children: a }, l)) })
|
|
4303
4303
|
]
|
|
4304
4304
|
}
|
|
4305
4305
|
) });
|
|
@@ -4319,7 +4319,7 @@ t1.propTypes = {
|
|
|
4319
4319
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
4320
4320
|
maxWidth: e.string
|
|
4321
4321
|
};
|
|
4322
|
-
const n1 = "_stepsContainer_1cyua_3", i1 = "_stepWrapper_1cyua_9", s1 = "_circleContainer_1cyua_19", r1 = "_circle_1cyua_19", o1 = "_active_1cyua_39", a1 = "_completed_1cyua_44", l1 = "_label_1cyua_50", c1 = "_labelActive_1cyua_56", d1 = "_connector_1cyua_61",
|
|
4322
|
+
const n1 = "_stepsContainer_1cyua_3", i1 = "_stepWrapper_1cyua_9", s1 = "_circleContainer_1cyua_19", r1 = "_circle_1cyua_19", o1 = "_active_1cyua_39", a1 = "_completed_1cyua_44", l1 = "_label_1cyua_50", c1 = "_labelActive_1cyua_56", d1 = "_connector_1cyua_61", ue = {
|
|
4323
4323
|
stepsContainer: n1,
|
|
4324
4324
|
stepWrapper: i1,
|
|
4325
4325
|
circleContainer: s1,
|
|
@@ -4329,27 +4329,27 @@ const n1 = "_stepsContainer_1cyua_3", i1 = "_stepWrapper_1cyua_9", s1 = "_circle
|
|
|
4329
4329
|
label: l1,
|
|
4330
4330
|
labelActive: c1,
|
|
4331
4331
|
connector: d1
|
|
4332
|
-
}, m2 = ({ steps: n, activeColor: c }) => /* @__PURE__ */ i("div", { className:
|
|
4332
|
+
}, m2 = ({ steps: n, activeColor: c }) => /* @__PURE__ */ i("div", { className: ue.stepsContainer, children: n.map((s, r) => {
|
|
4333
4333
|
const t = s.status === "active", o = s.status === "completed";
|
|
4334
|
-
return /* @__PURE__ */ m("div", { className:
|
|
4335
|
-
/* @__PURE__ */ m("div", { className:
|
|
4334
|
+
return /* @__PURE__ */ m("div", { className: ue.stepWrapper, children: [
|
|
4335
|
+
/* @__PURE__ */ m("div", { className: ue.circleContainer, children: [
|
|
4336
4336
|
/* @__PURE__ */ i(
|
|
4337
4337
|
"div",
|
|
4338
4338
|
{
|
|
4339
|
-
className: `${
|
|
4340
|
-
${t ?
|
|
4341
|
-
${o ?
|
|
4339
|
+
className: `${ue.circle}
|
|
4340
|
+
${t ? ue.active : ""}
|
|
4341
|
+
${o ? ue.completed : ""}`,
|
|
4342
4342
|
style: t ? { backgroundColor: c } : {},
|
|
4343
4343
|
onClick: s.onClick,
|
|
4344
4344
|
children: r + 1
|
|
4345
4345
|
}
|
|
4346
4346
|
),
|
|
4347
|
-
r < n.length - 1 && /* @__PURE__ */ i("div", { className:
|
|
4347
|
+
r < n.length - 1 && /* @__PURE__ */ i("div", { className: ue.connector })
|
|
4348
4348
|
] }),
|
|
4349
4349
|
/* @__PURE__ */ i(
|
|
4350
4350
|
"div",
|
|
4351
4351
|
{
|
|
4352
|
-
className: `${
|
|
4352
|
+
className: `${ue.label} ${t ? ue.labelActive : ""}`,
|
|
4353
4353
|
children: s.name
|
|
4354
4354
|
}
|
|
4355
4355
|
)
|
|
@@ -4387,7 +4387,7 @@ const h1 = "_buttonsContainer_1c7dw_2", m1 = "_button_1c7dw_2", g1 = "_active_1c
|
|
|
4387
4387
|
}, C1 = ({
|
|
4388
4388
|
buttons: n = []
|
|
4389
4389
|
}) => {
|
|
4390
|
-
const { t: c } =
|
|
4390
|
+
const { t: c } = F();
|
|
4391
4391
|
return /* @__PURE__ */ i("div", { className: `${We.buttonsContainer}`, children: n.map((s, r) => {
|
|
4392
4392
|
const {
|
|
4393
4393
|
isActive: t,
|
|
@@ -4431,7 +4431,7 @@ const f1 = "_switchContainer_194wl_2", y1 = "_labelRight_194wl_9", b1 = "_labelL
|
|
|
4431
4431
|
colorOn: l = "#5A514D",
|
|
4432
4432
|
disabled: u = !1,
|
|
4433
4433
|
width: C = 240
|
|
4434
|
-
} = n, { t: h } =
|
|
4434
|
+
} = n, { t: h } = F(), { control: y } = c || {}, [p, g] = O(a), _ = (b) => {
|
|
4435
4435
|
g(b), s && s(b);
|
|
4436
4436
|
}, v = (b, w) => /* @__PURE__ */ m("div", { className: Le.switchContainer, style: { width: `${C}px` }, children: [
|
|
4437
4437
|
o && /* @__PURE__ */ i(
|
|
@@ -4506,14 +4506,14 @@ S1.propTypes = {
|
|
|
4506
4506
|
gifSrc: e.string,
|
|
4507
4507
|
message: e.string
|
|
4508
4508
|
};
|
|
4509
|
-
const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", B1 = "_menu_1pl8d_21", T1 = "_menuOpen_1pl8d_35",
|
|
4509
|
+
const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", B1 = "_menu_1pl8d_21", T1 = "_menuOpen_1pl8d_35", D1 = "_menuClose_1pl8d_40", V1 = "_list_1pl8d_46", F1 = "_item_1pl8d_56", A1 = "_button_1pl8d_91", re = {
|
|
4510
4510
|
container: L1,
|
|
4511
4511
|
burger: M1,
|
|
4512
4512
|
menu: B1,
|
|
4513
4513
|
menuOpen: T1,
|
|
4514
|
-
menuClose:
|
|
4515
|
-
list:
|
|
4516
|
-
item:
|
|
4514
|
+
menuClose: D1,
|
|
4515
|
+
list: V1,
|
|
4516
|
+
item: F1,
|
|
4517
4517
|
button: A1
|
|
4518
4518
|
}, C2 = ({
|
|
4519
4519
|
options: n,
|
|
@@ -4522,8 +4522,8 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", B1 = "_menu_1pl8d_21",
|
|
|
4522
4522
|
iconColor: r
|
|
4523
4523
|
}) => {
|
|
4524
4524
|
const [t, o] = O(!1), d = () => o((g) => !g), a = () => o(!1), l = 7, u = t ? 11 : 0, C = t ? 13 : 0, h = t ? -11.51666 : 0, y = t ? -13 : 0, p = "0.35s";
|
|
4525
|
-
return /* @__PURE__ */ m("div", { className:
|
|
4526
|
-
/* @__PURE__ */ i("button", { onClick: d, className:
|
|
4525
|
+
return /* @__PURE__ */ m("div", { className: re.container, children: [
|
|
4526
|
+
/* @__PURE__ */ i("button", { onClick: d, className: re.burger, children: /* @__PURE__ */ m(
|
|
4527
4527
|
"svg",
|
|
4528
4528
|
{
|
|
4529
4529
|
width: "40",
|
|
@@ -4594,14 +4594,14 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", B1 = "_menu_1pl8d_21",
|
|
|
4594
4594
|
/* @__PURE__ */ i(
|
|
4595
4595
|
"div",
|
|
4596
4596
|
{
|
|
4597
|
-
className: `${
|
|
4597
|
+
className: `${re.menu} ${t ? re.menuOpen : re.menuClose}`,
|
|
4598
4598
|
style: { backgroundColor: c, color: s },
|
|
4599
|
-
children: /* @__PURE__ */ i("ul", { className:
|
|
4599
|
+
children: /* @__PURE__ */ i("ul", { className: re.list, children: n.map((g, _) => /* @__PURE__ */ m("li", { className: re.item, children: [
|
|
4600
4600
|
g.url && /* @__PURE__ */ i(
|
|
4601
4601
|
Ut,
|
|
4602
4602
|
{
|
|
4603
4603
|
to: g.url,
|
|
4604
|
-
className: ({ isActive: v }) => `${
|
|
4604
|
+
className: ({ isActive: v }) => `${re.link} ${v ? re.active : ""}`,
|
|
4605
4605
|
onClick: a,
|
|
4606
4606
|
style: { color: s },
|
|
4607
4607
|
children: g.name
|
|
@@ -4610,7 +4610,7 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", B1 = "_menu_1pl8d_21",
|
|
|
4610
4610
|
g.onclick && /* @__PURE__ */ i(
|
|
4611
4611
|
"button",
|
|
4612
4612
|
{
|
|
4613
|
-
className:
|
|
4613
|
+
className: re.button,
|
|
4614
4614
|
onClick: () => {
|
|
4615
4615
|
g.onclick(), a();
|
|
4616
4616
|
},
|
|
@@ -4673,25 +4673,25 @@ const O1 = "_svgContainer_1rxoe_2", R1 = "_svg_1rxoe_2", zt = {
|
|
|
4673
4673
|
return k(), window.addEventListener("resize", k), () => window.removeEventListener("resize", k);
|
|
4674
4674
|
}, [r, t]), A(() => {
|
|
4675
4675
|
if (!n || n.length === 0 || N.width === 0) return;
|
|
4676
|
-
const k = we(f.current), L = N.width,
|
|
4676
|
+
const k = we(f.current), L = N.width, D = N.height, T = L - o.left - o.right, B = D - o.top - o.bottom;
|
|
4677
4677
|
if (T <= 0 || B <= 0) return;
|
|
4678
|
-
const P = n.map((
|
|
4678
|
+
const P = n.map((V) => V.anyo || V.year || V.x), R = c, X = lt(n, (V) => lt(R, (W) => V[W])) || 0, K = ct(n, (V) => ct(R, (W) => V[W])) || 0, z = dt().domain(P).rangeRound([0, T]).paddingInner(y), E = dt().domain(R).rangeRound([0, z.bandwidth()]).padding(p), se = Ht().domain([Math.min(0, X), K]).nice().rangeRound([B, 0]), Ce = Kt().domain(R).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4679
4679
|
k.selectAll("*").remove();
|
|
4680
|
-
const
|
|
4681
|
-
b && k.append("text").attr("x", L / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(b), u &&
|
|
4680
|
+
const oe = k.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4681
|
+
b && k.append("text").attr("x", L / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(b), u && oe.append("g").attr("class", "grid").selectAll("line").data(se.ticks()).enter().append("line").attr("x1", 0).attr("x2", T).attr("y1", (V) => se(V)).attr("y2", (V) => se(V)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (oe.append("g").attr("transform", `translate(0,${B})`).call(Wt(z).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${C})`).style("text-anchor", C < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), w && oe.append("text").attr(
|
|
4682
4682
|
"transform",
|
|
4683
4683
|
`translate(${T / 2}, ${B + o.bottom - 5})`
|
|
4684
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), l && (
|
|
4685
|
-
const Q =
|
|
4686
|
-
(
|
|
4687
|
-
key:
|
|
4688
|
-
value:
|
|
4689
|
-
data:
|
|
4684
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), l && (oe.append("g").call(ut(se).ticks(6).tickFormat(h)).attr("class", "y-axis").call((V) => V.select(".domain").remove()), $ && oe.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - B / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
4685
|
+
const Q = oe.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (V) => `translate(${z(V.anyo || V.year || V.x)},0)`).selectAll(".bar").data(
|
|
4686
|
+
(V) => R.map((W) => ({
|
|
4687
|
+
key: W,
|
|
4688
|
+
value: V[W],
|
|
4689
|
+
data: V
|
|
4690
4690
|
}))
|
|
4691
|
-
).enter().append("rect").attr("class", "bar").attr("x", (
|
|
4692
|
-
Q.transition().duration(g).attr("y", (
|
|
4693
|
-
we(this).style("opacity", 0.8), _(
|
|
4694
|
-
}).on("mouseout", function(
|
|
4691
|
+
).enter().append("rect").attr("class", "bar").attr("x", (V) => E(V.key)).attr("y", B).attr("width", E.bandwidth()).attr("height", 0).attr("fill", (V) => Ce(V.key)).style("cursor", _ || v ? "pointer" : "default");
|
|
4692
|
+
Q.transition().duration(g).attr("y", (V) => se(Math.max(0, V.value))).attr("height", (V) => Math.abs(se(V.value) - se(0))), _ && Q.on("mouseover", function(V, W) {
|
|
4693
|
+
we(this).style("opacity", 0.8), _(V, W);
|
|
4694
|
+
}).on("mouseout", function(V, W) {
|
|
4695
4695
|
we(this).style("opacity", 1);
|
|
4696
4696
|
}), v && Q.on("click", v);
|
|
4697
4697
|
}, [
|
|
@@ -4792,7 +4792,7 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4792
4792
|
}) => {
|
|
4793
4793
|
const S = te(), k = te();
|
|
4794
4794
|
te();
|
|
4795
|
-
const [L,
|
|
4795
|
+
const [L, D] = O({
|
|
4796
4796
|
containerWidth: 0,
|
|
4797
4797
|
height: 0
|
|
4798
4798
|
});
|
|
@@ -4800,7 +4800,7 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4800
4800
|
const T = () => {
|
|
4801
4801
|
if (k.current) {
|
|
4802
4802
|
const B = k.current.getBoundingClientRect().width;
|
|
4803
|
-
|
|
4803
|
+
D({
|
|
4804
4804
|
containerWidth: typeof r == "number" ? r : B,
|
|
4805
4805
|
height: t
|
|
4806
4806
|
});
|
|
@@ -4809,99 +4809,99 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4809
4809
|
return T(), window.addEventListener("resize", T), () => window.removeEventListener("resize", T);
|
|
4810
4810
|
}, [r, t]), A(() => {
|
|
4811
4811
|
if (!n || n.length === 0 || L.containerWidth === 0) return;
|
|
4812
|
-
const T = we(S.current), { containerWidth: B, height: P } = L, R = B - o.left - o.right, X = n.length * N,
|
|
4812
|
+
const T = we(S.current), { containerWidth: B, height: P } = L, R = B - o.left - o.right, X = n.length * N, K = Math.max(
|
|
4813
4813
|
R,
|
|
4814
4814
|
X
|
|
4815
|
-
), z =
|
|
4816
|
-
if (
|
|
4815
|
+
), z = K + o.left + o.right, E = P - o.top - o.bottom;
|
|
4816
|
+
if (K <= 0 || E <= 0) return;
|
|
4817
4817
|
T.attr("width", z).attr("height", P);
|
|
4818
|
-
const se = x ? [...c].reverse() : c,
|
|
4818
|
+
const se = x ? [...c].reverse() : c, Ce = [];
|
|
4819
4819
|
n.forEach((M) => {
|
|
4820
|
-
const ee = M.any || M.year || M.x,
|
|
4821
|
-
key:
|
|
4822
|
-
value: Number(M[
|
|
4820
|
+
const ee = M.any || M.year || M.x, j = se.map((G) => ({
|
|
4821
|
+
key: G,
|
|
4822
|
+
value: Number(M[G]) || 0,
|
|
4823
4823
|
data: M
|
|
4824
|
-
})), f2 =
|
|
4824
|
+
})), f2 = j.filter((G) => G.value < 0), y2 = j.filter((G) => G.value >= 0);
|
|
4825
4825
|
let wt = 0;
|
|
4826
|
-
f2.forEach((
|
|
4827
|
-
const
|
|
4828
|
-
|
|
4829
|
-
key:
|
|
4830
|
-
value:
|
|
4831
|
-
y0: Math.max(
|
|
4826
|
+
f2.forEach((G) => {
|
|
4827
|
+
const fe = wt, ce = G.value, et = Math.abs(ce - fe);
|
|
4828
|
+
Ce.push({
|
|
4829
|
+
key: G.key,
|
|
4830
|
+
value: G.value,
|
|
4831
|
+
y0: Math.max(fe, ce),
|
|
4832
4832
|
// El punto más alto
|
|
4833
|
-
y1: Math.min(
|
|
4833
|
+
y1: Math.min(fe, ce),
|
|
4834
4834
|
// El punto más bajo
|
|
4835
4835
|
height: et,
|
|
4836
|
-
data:
|
|
4836
|
+
data: G.data,
|
|
4837
4837
|
xKey: ee
|
|
4838
|
-
}), wt =
|
|
4838
|
+
}), wt = ce;
|
|
4839
4839
|
});
|
|
4840
4840
|
let Nt = 0;
|
|
4841
|
-
y2.forEach((
|
|
4842
|
-
const
|
|
4843
|
-
|
|
4844
|
-
key:
|
|
4845
|
-
value:
|
|
4846
|
-
y0: Math.min(
|
|
4847
|
-
y1: Math.max(
|
|
4841
|
+
y2.forEach((G) => {
|
|
4842
|
+
const fe = Nt, ce = G.value, et = ce - fe;
|
|
4843
|
+
Ce.push({
|
|
4844
|
+
key: G.key,
|
|
4845
|
+
value: G.value,
|
|
4846
|
+
y0: Math.min(fe, ce),
|
|
4847
|
+
y1: Math.max(fe, ce),
|
|
4848
4848
|
height: et,
|
|
4849
|
-
data:
|
|
4849
|
+
data: G.data,
|
|
4850
4850
|
xKey: ee
|
|
4851
|
-
}), Nt =
|
|
4851
|
+
}), Nt = ce;
|
|
4852
4852
|
});
|
|
4853
4853
|
});
|
|
4854
|
-
const
|
|
4855
|
-
lt(
|
|
4856
|
-
ct(
|
|
4857
|
-
],
|
|
4854
|
+
const oe = [
|
|
4855
|
+
lt(Ce, (M) => Math.min(M.y0, M.y1)) || 0,
|
|
4856
|
+
ct(Ce, (M) => Math.max(M.y0, M.y1)) || 0
|
|
4857
|
+
], ae = dt().domain(n.map((M) => M.any || M.year || M.x)).range([0, K]).padding(y), Q = Ht().domain([oe[0], oe[1]]).nice(6).range([E, 0]), V = Kt().domain(c).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4858
4858
|
T.selectAll("*").remove();
|
|
4859
|
-
const
|
|
4860
|
-
v && T.append("text").attr("x", svgWidth / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(v), u &&
|
|
4859
|
+
const W = T.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4860
|
+
v && T.append("text").attr("x", svgWidth / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(v), u && W.append("g").attr("class", "grid").selectAll("line").data(Q.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", K).attr("y1", (M) => Q(M)).attr("y2", (M) => Q(M)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (W.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${E})`).call(Wt(ae).tickSizeOuter(0)).selectAll("text").remove(), W.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${E})`).selectAll("text").data(n).enter().append("text").attr(
|
|
4861
4861
|
"x",
|
|
4862
|
-
(
|
|
4862
|
+
(j) => ae(j.any || j.year || j.x) + ae.bandwidth() / 2
|
|
4863
4863
|
).attr("y", 19).style(
|
|
4864
4864
|
"text-anchor",
|
|
4865
4865
|
C === 0 ? "middle" : C < 0 ? "end" : "start"
|
|
4866
4866
|
).style("font-size", "12px").style("fill", "#605B56").attr(
|
|
4867
4867
|
"transform",
|
|
4868
|
-
(
|
|
4869
|
-
).text((
|
|
4868
|
+
(j) => `rotate(${C} ${ae(j.any || j.year || j.x) + ae.bandwidth() / 2} 15)`
|
|
4869
|
+
).text((j) => j.any || j.year || j.x), b && W.append("text").attr(
|
|
4870
4870
|
"transform",
|
|
4871
|
-
`translate(${
|
|
4872
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(b)), l && (
|
|
4873
|
-
let
|
|
4874
|
-
f && (
|
|
4875
|
-
const Je =
|
|
4871
|
+
`translate(${K / 2}, ${E + o.bottom - 5})`
|
|
4872
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(b)), l && (W.append("g").attr("class", "y-axis").call(ut(Q).ticks(6).tickFormat(h)).call((M) => M.select(".domain").remove()), W.append("g").attr("class", "y-ticks").attr("transform", `translate(${K}, 0)`).call(ut(Q).ticks(6).tickSizeInner(K)).call((M) => M.select(".domain").remove()).call((M) => M.selectAll(".tick text").remove()), w && W.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - E / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w));
|
|
4873
|
+
let le;
|
|
4874
|
+
f && (le = we("body").append("div").attr("class", "chart-tooltip").style("position", "absolute").style("visibility", "hidden").style("background", "rgba(0, 0, 0, 0.8)").style("color", "white").style("padding", "8px").style("border-radius", "4px").style("font-size", "12px").style("pointer-events", "none").style("z-index", "1000"));
|
|
4875
|
+
const Je = W.selectAll(".segment").data(Ce, (M) => `${M.xKey}-${M.key}`);
|
|
4876
4876
|
Je.exit().remove();
|
|
4877
|
-
const Ye = Je.enter().append("rect").attr("class", "segment").attr("x", (M) =>
|
|
4877
|
+
const Ye = Je.enter().append("rect").attr("class", "segment").attr("x", (M) => ae(M.xKey)).attr("width", ae.bandwidth()).attr("y", (M) => Q(0)).attr("height", 0).attr("fill", (M) => V(M.key)).style(
|
|
4878
4878
|
"cursor",
|
|
4879
4879
|
g || _ || f ? "pointer" : "default"
|
|
4880
4880
|
).merge(Je);
|
|
4881
|
-
return Ye.transition().duration(p).attr("x", (M) =>
|
|
4882
|
-
const
|
|
4883
|
-
f &&
|
|
4881
|
+
return Ye.transition().duration(p).attr("x", (M) => ae(M.xKey)).attr("y", (M) => Math.min(Q(M.y0), Q(M.y1))).attr("height", (M) => Math.abs(Q(M.y1) - Q(M.y0))), (f || g) && Ye.on("mouseover", function(M, ee) {
|
|
4882
|
+
const j = ee.value;
|
|
4883
|
+
f && le && le.style("visibility", "visible").html(`
|
|
4884
4884
|
<strong>${ee.key}</strong><br/>
|
|
4885
4885
|
${ee.xKey}<br/>
|
|
4886
|
-
${h(
|
|
4886
|
+
${h(j)}
|
|
4887
4887
|
`), we(this).style("opacity", 0.8), g && g(M, {
|
|
4888
4888
|
key: ee.key,
|
|
4889
|
-
value:
|
|
4889
|
+
value: j,
|
|
4890
4890
|
data: ee.data
|
|
4891
4891
|
});
|
|
4892
4892
|
}).on("mousemove", function(M) {
|
|
4893
|
-
f &&
|
|
4893
|
+
f && le && le.style("top", M.pageY - 10 + "px").style("left", M.pageX + 10 + "px");
|
|
4894
4894
|
}).on("mouseout", function() {
|
|
4895
|
-
f &&
|
|
4895
|
+
f && le && le.style("visibility", "hidden"), we(this).style("opacity", 1);
|
|
4896
4896
|
}), _ && Ye.on("click", function(M, ee) {
|
|
4897
|
-
const
|
|
4897
|
+
const j = ee.value;
|
|
4898
4898
|
_(M, {
|
|
4899
4899
|
key: ee.key,
|
|
4900
|
-
value:
|
|
4900
|
+
value: j,
|
|
4901
4901
|
data: ee.data
|
|
4902
4902
|
});
|
|
4903
4903
|
}), () => {
|
|
4904
|
-
|
|
4904
|
+
le && le.remove();
|
|
4905
4905
|
};
|
|
4906
4906
|
}, [
|
|
4907
4907
|
n,
|
|
@@ -5114,10 +5114,13 @@ const sr = "_speedGraphic_d1k72_2", at = {
|
|
|
5114
5114
|
value: s = 50,
|
|
5115
5115
|
title: r = !1,
|
|
5116
5116
|
percent: t = !1,
|
|
5117
|
-
unit: o = !1
|
|
5117
|
+
unit: o = !1,
|
|
5118
|
+
greenColor: d = "#00CF1E",
|
|
5119
|
+
orangeColor: a = "#FFAC00",
|
|
5120
|
+
redColor: l = "#FF1E37"
|
|
5118
5121
|
}) => {
|
|
5119
5122
|
s < n && (s = n), s > c && (s = c);
|
|
5120
|
-
const
|
|
5123
|
+
const u = (s - n) / (c - n), C = 270 + u * 180, h = t ? Math.round(u * 100) : s;
|
|
5121
5124
|
return /* @__PURE__ */ m("div", { className: at.speedGraphic, children: [
|
|
5122
5125
|
/* @__PURE__ */ m(
|
|
5123
5126
|
"svg",
|
|
@@ -5132,87 +5135,87 @@ const sr = "_speedGraphic_d1k72_2", at = {
|
|
|
5132
5135
|
"path",
|
|
5133
5136
|
{
|
|
5134
5137
|
d: "M0 122C0 111.944 1.2433 101.927 3.70162 92.1756L26.2619 97.8633C24.2724 105.755 23.2662 113.862 23.2662 122H0Z",
|
|
5135
|
-
fill:
|
|
5138
|
+
fill: d
|
|
5136
5139
|
}
|
|
5137
5140
|
),
|
|
5138
5141
|
/* @__PURE__ */ i(
|
|
5139
5142
|
"path",
|
|
5140
5143
|
{
|
|
5141
5144
|
d: "M16.3442 61.0012C21.3714 52.2936 27.4557 44.2409 34.4588 37.0263L51.1534 53.2313C45.4859 59.0701 40.5619 65.5871 36.4934 72.6341L16.3442 61.0012Z",
|
|
5142
|
-
fill:
|
|
5145
|
+
fill: d
|
|
5143
5146
|
}
|
|
5144
5147
|
),
|
|
5145
5148
|
/* @__PURE__ */ i(
|
|
5146
5149
|
"path",
|
|
5147
5150
|
{
|
|
5148
5151
|
d: "M60.9088 16.3976C69.6119 11.3628 78.9041 7.42322 88.5739 4.66843L94.9485 27.0443C87.1228 29.2737 79.6027 32.462 72.5592 36.5367L60.9088 16.3976Z",
|
|
5149
|
-
fill:
|
|
5152
|
+
fill: a
|
|
5150
5153
|
}
|
|
5151
5154
|
),
|
|
5152
5155
|
/* @__PURE__ */ i(
|
|
5153
5156
|
"path",
|
|
5154
5157
|
{
|
|
5155
5158
|
d: "M121.797 0.000169508C131.851 -0.0165912 141.869 1.20965 151.623 3.65101L145.974 26.2209C138.08 24.2451 129.972 23.2527 121.835 23.2663L121.797 0.000169508Z",
|
|
5156
|
-
fill:
|
|
5159
|
+
fill: a
|
|
5157
5160
|
}
|
|
5158
5161
|
),
|
|
5159
5162
|
/* @__PURE__ */ i(
|
|
5160
5163
|
"path",
|
|
5161
5164
|
{
|
|
5162
5165
|
d: "M182.623 16.1279C191.348 21.124 199.422 27.1797 206.662 34.157L190.516 50.9092C184.657 45.2625 178.123 40.3617 171.061 36.3183L182.623 16.1279Z",
|
|
5163
|
-
fill:
|
|
5166
|
+
fill: l
|
|
5164
5167
|
}
|
|
5165
5168
|
),
|
|
5166
5169
|
/* @__PURE__ */ i(
|
|
5167
5170
|
"path",
|
|
5168
5171
|
{
|
|
5169
5172
|
d: "M227.238 60.2836C232.325 68.9568 236.319 78.2255 239.131 87.8788L216.794 94.3859C214.518 86.5735 211.285 79.0725 207.169 72.0533L227.238 60.2836Z",
|
|
5170
|
-
fill:
|
|
5173
|
+
fill: l
|
|
5171
5174
|
}
|
|
5172
5175
|
),
|
|
5173
5176
|
/* @__PURE__ */ i(
|
|
5174
5177
|
"path",
|
|
5175
5178
|
{
|
|
5176
5179
|
d: "M4.15505 90.4316C6.75674 80.7194 10.5491 71.3662 15.4458 62.5846L35.7663 73.9155C31.8035 81.0224 28.7343 88.5919 26.6288 96.4519L4.15505 90.4316Z",
|
|
5177
|
-
fill:
|
|
5180
|
+
fill: d
|
|
5178
5181
|
}
|
|
5179
5182
|
),
|
|
5180
5183
|
/* @__PURE__ */ i(
|
|
5181
5184
|
"path",
|
|
5182
5185
|
{
|
|
5183
5186
|
d: "M35.733 35.733C42.8426 28.6233 50.8039 22.4198 59.4357 17.2636L71.3671 37.2375C64.3814 41.4104 57.9384 46.4308 52.1846 52.1846L35.733 35.733Z",
|
|
5184
|
-
fill:
|
|
5187
|
+
fill: d
|
|
5185
5188
|
}
|
|
5186
5189
|
),
|
|
5187
5190
|
/* @__PURE__ */ i(
|
|
5188
5191
|
"path",
|
|
5189
5192
|
{
|
|
5190
5193
|
d: "M90.3004 4.19027C100.01 1.57776 110.005 0.175523 120.058 0.0154601L120.428 23.2787C112.292 23.4082 104.203 24.543 96.3457 26.6573L90.3004 4.19027Z",
|
|
5191
|
-
fill:
|
|
5194
|
+
fill: a
|
|
5192
5195
|
}
|
|
5193
5196
|
),
|
|
5194
5197
|
/* @__PURE__ */ i(
|
|
5195
5198
|
"path",
|
|
5196
5199
|
{
|
|
5197
5200
|
d: "M153.423 4.11614C163.138 6.70584 172.496 10.4866 181.284 15.3725L169.978 35.707C162.866 31.7529 155.293 28.6932 147.43 26.5973L153.423 4.11614Z",
|
|
5198
|
-
fill:
|
|
5201
|
+
fill: a
|
|
5199
5202
|
}
|
|
5200
5203
|
),
|
|
5201
5204
|
/* @__PURE__ */ i(
|
|
5202
5205
|
"path",
|
|
5203
5206
|
{
|
|
5204
5207
|
d: "M239.602 89.538C242.532 100.152 244.011 111.114 244 122.125L220.734 122.101C220.743 113.19 219.546 104.319 217.175 95.7287L239.602 89.538Z",
|
|
5205
|
-
fill:
|
|
5208
|
+
fill: l
|
|
5206
5209
|
}
|
|
5207
5210
|
),
|
|
5208
5211
|
/* @__PURE__ */ i(
|
|
5209
5212
|
"path",
|
|
5210
5213
|
{
|
|
5211
5214
|
d: "M207.769 35.2376C214.919 42.3062 221.168 50.2316 226.374 58.8336L206.469 70.8798C202.256 63.9183 197.199 57.5043 191.412 51.7837L207.769 35.2376Z",
|
|
5212
|
-
fill:
|
|
5215
|
+
fill: l
|
|
5213
5216
|
}
|
|
5214
5217
|
),
|
|
5215
|
-
/* @__PURE__ */ i("g", { transform: `rotate(${
|
|
5218
|
+
/* @__PURE__ */ i("g", { transform: `rotate(${C} 122 122)`, children: /* @__PURE__ */ i(
|
|
5216
5219
|
"path",
|
|
5217
5220
|
{
|
|
5218
5221
|
id: "aguja",
|
|
@@ -5225,7 +5228,7 @@ const sr = "_speedGraphic_d1k72_2", at = {
|
|
|
5225
5228
|
}
|
|
5226
5229
|
),
|
|
5227
5230
|
/* @__PURE__ */ m("div", { className: at.value, children: [
|
|
5228
|
-
|
|
5231
|
+
h,
|
|
5229
5232
|
t && "%",
|
|
5230
5233
|
o && o
|
|
5231
5234
|
] }),
|
|
@@ -5238,7 +5241,10 @@ rr.propTypes = {
|
|
|
5238
5241
|
value: e.number.isRequired,
|
|
5239
5242
|
percent: e.bool,
|
|
5240
5243
|
title: e.string,
|
|
5241
|
-
unit: e.string
|
|
5244
|
+
unit: e.string,
|
|
5245
|
+
greenColor: e.string,
|
|
5246
|
+
orangeColor: e.string,
|
|
5247
|
+
redColor: e.string
|
|
5242
5248
|
};
|
|
5243
5249
|
const or = "_header_13kbt_2", ar = "_leftComponents_13kbt_13", lr = "_centerComponents_13kbt_14", cr = "_rightComponents_13kbt_15", dr = "_componentsContainer_13kbt_32", xe = {
|
|
5244
5250
|
header: or,
|
|
@@ -5356,6 +5362,6 @@ export {
|
|
|
5356
5362
|
x1 as Switch,
|
|
5357
5363
|
Et as TextInput,
|
|
5358
5364
|
pi as TimeSlider,
|
|
5359
|
-
|
|
5365
|
+
pe as Tooltip,
|
|
5360
5366
|
Ci as TopNavMenu
|
|
5361
5367
|
};
|