@tmf_ciclica/ciclicastorybook 1.1.16 → 1.1.17
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/ciclicastorybook.css +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +192 -189
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r, Fragment as Ee } from "react/jsx-runtime";
|
|
2
|
-
import U, { useState as B, useMemo as te, useEffect as L, useLayoutEffect as qe, useRef as
|
|
2
|
+
import U, { useState as B, useMemo as te, useEffect as L, useLayoutEffect as qe, useRef as ue } from "react";
|
|
3
3
|
import e from "prop-types";
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { motion as
|
|
4
|
+
import { useTranslation as w, Trans as he } from "react-i18next";
|
|
5
|
+
import { motion as me } from "framer-motion";
|
|
6
6
|
import { create as Ke } from "zustand";
|
|
7
|
-
import * as
|
|
7
|
+
import * as fe from "d3";
|
|
8
8
|
import Ue from "mapbox-gl";
|
|
9
|
-
import { useSelector as
|
|
9
|
+
import { useSelector as le, useDispatch as Te } from "react-redux";
|
|
10
10
|
import Ze, { Source as He, Layer as Ge, NavigationControl as Ye, Popup as We } from "react-map-gl/mapbox";
|
|
11
|
-
import
|
|
11
|
+
import ye from "maplibre-gl";
|
|
12
12
|
import { Protocol as Xe } from "pmtiles";
|
|
13
13
|
import Je, { Source as Qe, Layer as et, NavigationControl as tt, Popup as nt } from "react-map-gl/maplibre";
|
|
14
14
|
import { createSlice as Me } from "@reduxjs/toolkit";
|
|
@@ -29,7 +29,7 @@ const lt = "_ambitSelector_f07c1_2", ct = "_header_f07c1_13", dt = "_nameDateCon
|
|
|
29
29
|
ambitName: bt,
|
|
30
30
|
ambitDate: ft,
|
|
31
31
|
ambitButtons: yt
|
|
32
|
-
}, Ct = "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", vt = "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",
|
|
32
|
+
}, Ct = "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", vt = "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", Ce = "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", _t = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", xt = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", $e = ({
|
|
33
33
|
ambit: i,
|
|
34
34
|
onClickCopy: d,
|
|
35
35
|
onClickDelete: o,
|
|
@@ -61,8 +61,8 @@ const lt = "_ambitSelector_f07c1_2", ct = "_header_f07c1_13", dt = "_nameDateCon
|
|
|
61
61
|
/* @__PURE__ */ r("div", { className: H.ambitDate, children: new Date(h).toLocaleDateString() })
|
|
62
62
|
] }),
|
|
63
63
|
/* @__PURE__ */ m("div", { className: H.ambitButtons, children: [
|
|
64
|
-
s && /* @__PURE__ */ r("img", { src:
|
|
65
|
-
/* @__PURE__ */ r("button", { onClick: () => n(g), children: /* @__PURE__ */ r("img", { src:
|
|
64
|
+
s && /* @__PURE__ */ r("img", { src: Ce }),
|
|
65
|
+
/* @__PURE__ */ r("button", { onClick: () => n(g), children: /* @__PURE__ */ r("img", { src: Ce }) }),
|
|
66
66
|
/* @__PURE__ */ r("button", { onClick: () => d(g), children: /* @__PURE__ */ r("img", { src: vt }) }),
|
|
67
67
|
/* @__PURE__ */ r("button", { onClick: () => o(g), children: /* @__PURE__ */ r("img", { src: Ct }) })
|
|
68
68
|
] })
|
|
@@ -87,7 +87,7 @@ $e.propTypes = {
|
|
|
87
87
|
moreInfo: e.object
|
|
88
88
|
// Optional, can be used for additional info
|
|
89
89
|
};
|
|
90
|
-
const
|
|
90
|
+
const kt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", wt = ({
|
|
91
91
|
ambitList: i,
|
|
92
92
|
activeAmbitId: d,
|
|
93
93
|
fontColor: o = "#605B56",
|
|
@@ -99,7 +99,7 @@ const wt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%20
|
|
|
99
99
|
onClickFilters: c = (u) => console.log(`Filters clicked: ${u}`),
|
|
100
100
|
onClickAmbit: p = (u) => console.log(`OnCLickAmbit: ${u}`)
|
|
101
101
|
}) => {
|
|
102
|
-
const { t: u } =
|
|
102
|
+
const { t: u } = w();
|
|
103
103
|
return /* @__PURE__ */ m("div", { className: E.ambitSelector, style: { color: o }, children: [
|
|
104
104
|
/* @__PURE__ */ m(
|
|
105
105
|
"div",
|
|
@@ -131,7 +131,7 @@ const wt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%20
|
|
|
131
131
|
))
|
|
132
132
|
] });
|
|
133
133
|
};
|
|
134
|
-
|
|
134
|
+
wt.propTypes = {
|
|
135
135
|
ambitList: e.arrayOf(
|
|
136
136
|
e.shape({
|
|
137
137
|
name: e.string.isRequired,
|
|
@@ -154,14 +154,14 @@ const Nt = "_buttonsContainer_1audx_2", St = "_vertical_1audx_6", Tt = "_horizon
|
|
|
154
154
|
button: Mt,
|
|
155
155
|
active: $t,
|
|
156
156
|
buttonName: Lt
|
|
157
|
-
}, Ft = "_left_19lnt_3", Bt = "_top_19lnt_33", Dt = "_bottom_19lnt_66",
|
|
157
|
+
}, Ft = "_left_19lnt_3", Bt = "_top_19lnt_33", Dt = "_bottom_19lnt_66", At = "_right_19lnt_97", Ot = {
|
|
158
158
|
left: Ft,
|
|
159
159
|
top: Bt,
|
|
160
160
|
bottom: Dt,
|
|
161
|
-
right:
|
|
161
|
+
right: At
|
|
162
162
|
}, Le = ({ text: i, position: d, styleCustom: o = null }) => {
|
|
163
|
-
const { t: n } =
|
|
164
|
-
return /* @__PURE__ */ r("div", { className: `tooltip ${
|
|
163
|
+
const { t: n } = w();
|
|
164
|
+
return /* @__PURE__ */ r("div", { className: `tooltip ${Ot[d]}`, style: o, children: n(i) });
|
|
165
165
|
};
|
|
166
166
|
Le.propTypes = {
|
|
167
167
|
text: e.string.isRequired,
|
|
@@ -176,7 +176,7 @@ const Rt = ({
|
|
|
176
176
|
useTooltip: t = !1,
|
|
177
177
|
tooltipPosition: s = "top"
|
|
178
178
|
}) => {
|
|
179
|
-
const { t: l } =
|
|
179
|
+
const { t: l } = w();
|
|
180
180
|
return /* @__PURE__ */ r(
|
|
181
181
|
"div",
|
|
182
182
|
{
|
|
@@ -230,7 +230,7 @@ Rt.propTypes = {
|
|
|
230
230
|
const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
|
|
231
231
|
indicatorsCategory: It,
|
|
232
232
|
title: zt
|
|
233
|
-
},
|
|
233
|
+
}, j = ({
|
|
234
234
|
isOpen: i,
|
|
235
235
|
onClick: d,
|
|
236
236
|
children: o,
|
|
@@ -244,9 +244,9 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
|
|
|
244
244
|
showBottomBar: c = !0,
|
|
245
245
|
titleMarginChildren: p = 25
|
|
246
246
|
}) => {
|
|
247
|
-
const { t: u } =
|
|
247
|
+
const { t: u } = w();
|
|
248
248
|
return /* @__PURE__ */ m(
|
|
249
|
-
|
|
249
|
+
me.div,
|
|
250
250
|
{
|
|
251
251
|
className: ie.indicatorsCategory,
|
|
252
252
|
initial: { height: `${l}px` },
|
|
@@ -278,7 +278,7 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
|
|
|
278
278
|
}
|
|
279
279
|
);
|
|
280
280
|
};
|
|
281
|
-
|
|
281
|
+
j.propTypes = {
|
|
282
282
|
isOpen: e.bool,
|
|
283
283
|
onClick: e.func,
|
|
284
284
|
children: e.node,
|
|
@@ -289,9 +289,9 @@ V.propTypes = {
|
|
|
289
289
|
showBottomBar: e.bool,
|
|
290
290
|
titleFontStyles: e.object
|
|
291
291
|
};
|
|
292
|
-
const
|
|
293
|
-
AppliedFiltersContainer:
|
|
294
|
-
AppliedFilterContent:
|
|
292
|
+
const os = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Vt = "_AppliedFiltersContainer_s8ooe_2", jt = "_AppliedFilterContent_s8ooe_10", ve = {
|
|
293
|
+
AppliedFiltersContainer: Vt,
|
|
294
|
+
AppliedFilterContent: jt
|
|
295
295
|
}, T = Ke((i) => ({
|
|
296
296
|
activeCategory: "",
|
|
297
297
|
activeSubCategory: "",
|
|
@@ -300,7 +300,7 @@ const rs = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), jt = "_App
|
|
|
300
300
|
fontColor: "#605B56",
|
|
301
301
|
inputsColor: "#605B56"
|
|
302
302
|
})), Fe = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
|
|
303
|
-
const { t: l } =
|
|
303
|
+
const { t: l } = w(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
|
|
304
304
|
T.setState((u) => ({
|
|
305
305
|
tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
|
|
306
306
|
(h) => h.code !== p
|
|
@@ -308,15 +308,15 @@ const rs = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), jt = "_App
|
|
|
308
308
|
}));
|
|
309
309
|
};
|
|
310
310
|
return /* @__PURE__ */ r(
|
|
311
|
-
|
|
311
|
+
j,
|
|
312
312
|
{
|
|
313
313
|
isOpen: o,
|
|
314
314
|
onClick: d,
|
|
315
315
|
title: i ? l(i) : "Applied Filters",
|
|
316
316
|
activeColor: s,
|
|
317
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
317
|
+
children: /* @__PURE__ */ r("div", { className: ve.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ m("div", { className: ve.AppliedFilterContent, style: { color: n, background: t }, children: [
|
|
318
318
|
l(p.name),
|
|
319
|
-
/* @__PURE__ */ r("img", { src:
|
|
319
|
+
/* @__PURE__ */ r("img", { src: kt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
|
|
320
320
|
] }, u)) })
|
|
321
321
|
}
|
|
322
322
|
);
|
|
@@ -336,9 +336,9 @@ Fe.propTypes = {
|
|
|
336
336
|
activeColor: e.string
|
|
337
337
|
};
|
|
338
338
|
const Be = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
|
|
339
|
-
const { t: l } =
|
|
339
|
+
const { t: l } = w(), { tematicalFiltersSelected: a } = T((c) => c);
|
|
340
340
|
return /* @__PURE__ */ r(
|
|
341
|
-
|
|
341
|
+
j,
|
|
342
342
|
{
|
|
343
343
|
isOpen: o,
|
|
344
344
|
onClick: d,
|
|
@@ -365,7 +365,7 @@ const Pt = "_checkboxContainer_zld97_2", Et = {
|
|
|
365
365
|
indicator: n,
|
|
366
366
|
value: t
|
|
367
367
|
}) => {
|
|
368
|
-
const { t: s } =
|
|
368
|
+
const { t: s } = w(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
|
|
369
369
|
return /* @__PURE__ */ m(
|
|
370
370
|
"div",
|
|
371
371
|
{
|
|
@@ -403,13 +403,13 @@ De.propTypes = {
|
|
|
403
403
|
}),
|
|
404
404
|
checkedColor: e.string
|
|
405
405
|
};
|
|
406
|
-
function
|
|
407
|
-
return
|
|
406
|
+
function ce(i, d) {
|
|
407
|
+
return ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
|
|
408
408
|
return o.__proto__ = n, o;
|
|
409
|
-
},
|
|
409
|
+
}, ce(i, d);
|
|
410
410
|
}
|
|
411
411
|
function qt(i, d) {
|
|
412
|
-
i.prototype = Object.create(d.prototype), i.prototype.constructor = i,
|
|
412
|
+
i.prototype = Object.create(d.prototype), i.prototype.constructor = i, ce(i, d);
|
|
413
413
|
}
|
|
414
414
|
function se(i) {
|
|
415
415
|
return i && i.stopPropagation && i.stopPropagation(), i && i.preventDefault && i.preventDefault(), !1;
|
|
@@ -426,17 +426,17 @@ function X(i) {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
function z(i, d) {
|
|
429
|
-
return
|
|
429
|
+
return de(function(o, n) {
|
|
430
430
|
let t = o;
|
|
431
431
|
return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
|
|
432
432
|
}(i, d), d);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function de(i, d) {
|
|
435
435
|
const o = (i - d.min) % d.step;
|
|
436
436
|
let n = i - o;
|
|
437
437
|
return 2 * Math.abs(o) >= d.step && (n += o > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
|
|
438
438
|
}
|
|
439
|
-
let
|
|
439
|
+
let pe = function(i) {
|
|
440
440
|
function d(n) {
|
|
441
441
|
var t;
|
|
442
442
|
(t = i.call(this, n) || this).onKeyUp = () => {
|
|
@@ -648,9 +648,9 @@ let ue = function(i) {
|
|
|
648
648
|
}(l, t, h, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
649
649
|
}, o.pushSucceeding = function(n, t, s) {
|
|
650
650
|
let l, a;
|
|
651
|
-
for (l = s, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] =
|
|
651
|
+
for (l = s, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = de(a, this.props);
|
|
652
652
|
}, o.pushPreceding = function(n, t, s) {
|
|
653
|
-
for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] =
|
|
653
|
+
for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = de(a, this.props);
|
|
654
654
|
}, o.axisKey = function() {
|
|
655
655
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
656
656
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -699,8 +699,8 @@ let ue = function(i) {
|
|
|
699
699
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
700
700
|
}, d;
|
|
701
701
|
}(U.Component);
|
|
702
|
-
|
|
703
|
-
var Kt =
|
|
702
|
+
pe.displayName = "ReactSlider", pe.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, 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: (i) => U.createElement("div", i), renderTrack: (i) => U.createElement("div", i), renderMark: (i) => U.createElement("span", i) };
|
|
703
|
+
var Kt = pe;
|
|
704
704
|
const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_12", Gt = "_thumb_15vgv_18", Yt = "_track_15vgv_27", Wt = "_labels_15vgv_33", q = {
|
|
705
705
|
container: Ut,
|
|
706
706
|
unitLabel: Zt,
|
|
@@ -708,7 +708,7 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
|
|
|
708
708
|
thumb: Gt,
|
|
709
709
|
track: Yt,
|
|
710
710
|
labels: Wt
|
|
711
|
-
},
|
|
711
|
+
}, Ae = ({
|
|
712
712
|
min: i = 0,
|
|
713
713
|
max: d = 100,
|
|
714
714
|
step: o = 1,
|
|
@@ -718,7 +718,7 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
|
|
|
718
718
|
fontColor: l = "#605B56",
|
|
719
719
|
value: a = [i, d]
|
|
720
720
|
}) => {
|
|
721
|
-
const { t: c } =
|
|
721
|
+
const { t: c } = w(), p = (u) => {
|
|
722
722
|
n == null || n({ min: u[0], max: u[1] });
|
|
723
723
|
};
|
|
724
724
|
return /* @__PURE__ */ m(
|
|
@@ -752,7 +752,7 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
|
|
|
752
752
|
}
|
|
753
753
|
);
|
|
754
754
|
};
|
|
755
|
-
|
|
755
|
+
Ae.propTypes = {
|
|
756
756
|
min: e.number,
|
|
757
757
|
max: e.number,
|
|
758
758
|
step: e.number,
|
|
@@ -769,7 +769,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
769
769
|
inputTypeContainer: Jt,
|
|
770
770
|
checkboxContainer: Qt,
|
|
771
771
|
absoluteSliderContainer: en
|
|
772
|
-
},
|
|
772
|
+
}, ge = ({
|
|
773
773
|
indicator: i,
|
|
774
774
|
//onChangeBothType
|
|
775
775
|
activeColor: d
|
|
@@ -794,11 +794,11 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
794
794
|
inputsColor: f
|
|
795
795
|
} = T((x) => x), v = (x) => {
|
|
796
796
|
if (x) {
|
|
797
|
-
const { min:
|
|
798
|
-
let
|
|
799
|
-
ne == "both" && (
|
|
797
|
+
const { min: k, max: _, valueClicked: N, allValues: D } = x || {}, { code: A, type: ne } = i || {}, Z = h ? "abs" : u ? "cat" : "both";
|
|
798
|
+
let O = A[0];
|
|
799
|
+
ne == "both" && (O = Z == "cat" ? A[1] : A[0]), Z == "cat" ? T.setState((P) => {
|
|
800
800
|
let R = P.tematicalFiltersSelected.find(
|
|
801
|
-
($) => $.code ===
|
|
801
|
+
($) => $.code === O
|
|
802
802
|
);
|
|
803
803
|
if (R) {
|
|
804
804
|
let $ = [R.values];
|
|
@@ -808,14 +808,14 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
808
808
|
), $.length < 1)
|
|
809
809
|
return {
|
|
810
810
|
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
811
|
-
(F) => F.code !==
|
|
811
|
+
(F) => F.code !== O
|
|
812
812
|
)
|
|
813
813
|
};
|
|
814
814
|
} else
|
|
815
815
|
$ = [...R.values, N];
|
|
816
816
|
return {
|
|
817
817
|
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
818
|
-
(F) => F.code ===
|
|
818
|
+
(F) => F.code === O ? { ...F, values: $ } : F
|
|
819
819
|
)
|
|
820
820
|
};
|
|
821
821
|
} else {
|
|
@@ -826,7 +826,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
826
826
|
...g,
|
|
827
827
|
{
|
|
828
828
|
type: "cat",
|
|
829
|
-
code:
|
|
829
|
+
code: O,
|
|
830
830
|
values: $.filter((F) => F !== N),
|
|
831
831
|
name: i.name
|
|
832
832
|
}
|
|
@@ -835,20 +835,20 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
835
835
|
}
|
|
836
836
|
}) : Z == "abs" && T.setState((P) => {
|
|
837
837
|
let R = P.tematicalFiltersSelected.find(
|
|
838
|
-
($) => $.code ===
|
|
838
|
+
($) => $.code === O
|
|
839
839
|
);
|
|
840
840
|
if (R) {
|
|
841
841
|
let $ = { ...R };
|
|
842
|
-
return $.min =
|
|
842
|
+
return $.min = k, $.max = _, {
|
|
843
843
|
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
844
|
-
(F) => F.code ===
|
|
844
|
+
(F) => F.code === O ? $ : F
|
|
845
845
|
)
|
|
846
846
|
};
|
|
847
847
|
} else
|
|
848
848
|
return {
|
|
849
849
|
tematicalFiltersSelected: [
|
|
850
850
|
...g,
|
|
851
|
-
{ type: "abs", code:
|
|
851
|
+
{ type: "abs", code: O, min: k, max: _ }
|
|
852
852
|
]
|
|
853
853
|
};
|
|
854
854
|
});
|
|
@@ -856,12 +856,12 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
856
856
|
}, y = te(() => {
|
|
857
857
|
const x = {};
|
|
858
858
|
if ((g == null ? void 0 : g.length) > 0)
|
|
859
|
-
for (const
|
|
860
|
-
|
|
859
|
+
for (const k of g)
|
|
860
|
+
k.type === "cat" ? x[k.code] = new Set(k.values) : x[k.code] = [k.min, k.max];
|
|
861
861
|
return x;
|
|
862
862
|
}, [g]);
|
|
863
863
|
return /* @__PURE__ */ r("div", { className: J.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
|
|
864
|
-
|
|
864
|
+
j,
|
|
865
865
|
{
|
|
866
866
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
867
867
|
title: s,
|
|
@@ -923,20 +923,20 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
923
923
|
]
|
|
924
924
|
}
|
|
925
925
|
),
|
|
926
|
-
u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((x,
|
|
926
|
+
u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((x, k) => {
|
|
927
927
|
var _;
|
|
928
928
|
return /* @__PURE__ */ r(
|
|
929
929
|
De,
|
|
930
930
|
{
|
|
931
|
-
onClick: () => v({ valueClicked:
|
|
931
|
+
onClick: () => v({ valueClicked: k, allValues: l }),
|
|
932
932
|
indicator: x,
|
|
933
|
-
value: ((_ = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : _.has(
|
|
933
|
+
value: ((_ = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : _.has(k)) || !y[i.code[t == "both" ? 1 : 0]]
|
|
934
934
|
},
|
|
935
|
-
`checkbox-${
|
|
935
|
+
`checkbox-${k}`
|
|
936
936
|
);
|
|
937
937
|
}) }),
|
|
938
938
|
h && /* @__PURE__ */ r("div", { className: J.absoluteSliderContainer, children: /* @__PURE__ */ r(
|
|
939
|
-
|
|
939
|
+
Ae,
|
|
940
940
|
{
|
|
941
941
|
onChange: v,
|
|
942
942
|
min: a,
|
|
@@ -949,7 +949,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
|
|
|
949
949
|
}
|
|
950
950
|
) });
|
|
951
951
|
};
|
|
952
|
-
|
|
952
|
+
ge.propTypes = {
|
|
953
953
|
indicator: e.shape({
|
|
954
954
|
name: e.string,
|
|
955
955
|
type: e.string,
|
|
@@ -964,7 +964,7 @@ be.propTypes = {
|
|
|
964
964
|
activeColor: e.string
|
|
965
965
|
//onChangeBothType: PropTypes.func,
|
|
966
966
|
};
|
|
967
|
-
const
|
|
967
|
+
const Oe = ({
|
|
968
968
|
subcategory: i,
|
|
969
969
|
fontColor: d,
|
|
970
970
|
activeColor: o
|
|
@@ -972,7 +972,7 @@ const Ae = ({
|
|
|
972
972
|
}) => {
|
|
973
973
|
const { activeSubcategory: n } = T((l) => l), { name: t, indicators: s } = i || {};
|
|
974
974
|
return /* @__PURE__ */ r(
|
|
975
|
-
|
|
975
|
+
j,
|
|
976
976
|
{
|
|
977
977
|
title: t,
|
|
978
978
|
isOpen: n == `id${t}`,
|
|
@@ -988,7 +988,7 @@ const Ae = ({
|
|
|
988
988
|
color: d,
|
|
989
989
|
activeColor: o,
|
|
990
990
|
children: s == null ? void 0 : s.map((l, a) => /* @__PURE__ */ r(
|
|
991
|
-
|
|
991
|
+
ge,
|
|
992
992
|
{
|
|
993
993
|
indicator: l,
|
|
994
994
|
fontColor: d
|
|
@@ -998,7 +998,7 @@ const Ae = ({
|
|
|
998
998
|
}
|
|
999
999
|
);
|
|
1000
1000
|
};
|
|
1001
|
-
|
|
1001
|
+
Oe.propTypes = {
|
|
1002
1002
|
subcategory: e.shape({
|
|
1003
1003
|
name: e.string,
|
|
1004
1004
|
indicators: e.arrayOf(
|
|
@@ -1018,7 +1018,7 @@ const Re = ({
|
|
|
1018
1018
|
}) => {
|
|
1019
1019
|
const { name: o, subcategories: n, indicators: t } = i || {}, { activeCategory: s, fontColor: l } = T((a) => a);
|
|
1020
1020
|
return i && /* @__PURE__ */ r(
|
|
1021
|
-
|
|
1021
|
+
j,
|
|
1022
1022
|
{
|
|
1023
1023
|
onClick: () => {
|
|
1024
1024
|
T.setState((a) => ({
|
|
@@ -1032,7 +1032,7 @@ const Re = ({
|
|
|
1032
1032
|
color: l,
|
|
1033
1033
|
activeColor: d,
|
|
1034
1034
|
children: n ? n.map((a, c) => /* @__PURE__ */ r(
|
|
1035
|
-
|
|
1035
|
+
Oe,
|
|
1036
1036
|
{
|
|
1037
1037
|
subcategory: a,
|
|
1038
1038
|
fontColor: l,
|
|
@@ -1040,7 +1040,7 @@ const Re = ({
|
|
|
1040
1040
|
},
|
|
1041
1041
|
`subcategory-${c}`
|
|
1042
1042
|
)) : t && t.map((a, c) => /* @__PURE__ */ r(
|
|
1043
|
-
|
|
1043
|
+
ge,
|
|
1044
1044
|
{
|
|
1045
1045
|
indicator: a,
|
|
1046
1046
|
fontColor: l,
|
|
@@ -1069,7 +1069,7 @@ const Ie = ({
|
|
|
1069
1069
|
inputsColor: t = "#605B56",
|
|
1070
1070
|
activeColor: s
|
|
1071
1071
|
}) => {
|
|
1072
|
-
const { tematicalFiltersSelected: l } = T((c) => c), { t: a } =
|
|
1072
|
+
const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = w();
|
|
1073
1073
|
return L(() => {
|
|
1074
1074
|
console.log("filtersSelected changed: ", l);
|
|
1075
1075
|
}, [l]), L(() => {
|
|
@@ -1077,7 +1077,7 @@ const Ie = ({
|
|
|
1077
1077
|
}, [n]), L(() => {
|
|
1078
1078
|
t && T.setState(() => ({ inputsColor: t }));
|
|
1079
1079
|
}, [t]), /* @__PURE__ */ r(
|
|
1080
|
-
|
|
1080
|
+
j,
|
|
1081
1081
|
{
|
|
1082
1082
|
isOpen: d,
|
|
1083
1083
|
title: o ? a(o) : "Tematical filters",
|
|
@@ -1120,7 +1120,7 @@ const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7",
|
|
|
1120
1120
|
backgroundColor: l,
|
|
1121
1121
|
onChangeAppliedFilters: a
|
|
1122
1122
|
}) => {
|
|
1123
|
-
const { t: c } =
|
|
1123
|
+
const { t: c } = w(), { tematicalFiltersSelected: p } = T((u) => u);
|
|
1124
1124
|
return L(() => {
|
|
1125
1125
|
o && o.length > 0 && T.setState((u) => ({
|
|
1126
1126
|
tematicalFiltersSelected: o
|
|
@@ -1182,9 +1182,9 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
|
|
|
1182
1182
|
numberOfDivisions: c = 7,
|
|
1183
1183
|
maxValue: p = null
|
|
1184
1184
|
}) => {
|
|
1185
|
-
const { t: u } =
|
|
1185
|
+
const { t: u } = w(), { xScale: h, ticks: g, height: b } = te(() => {
|
|
1186
1186
|
if (i && i.length > 0) {
|
|
1187
|
-
const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, f =
|
|
1187
|
+
const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, f = fe.max(i, (x) => x.value) || 1, v = fe.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, k) => p ? p / c * k : f / c * k);
|
|
1188
1188
|
return {
|
|
1189
1189
|
xScale: v,
|
|
1190
1190
|
ticks: y,
|
|
@@ -1278,7 +1278,7 @@ ze.propTypes = {
|
|
|
1278
1278
|
numberOfDivisions: e.number,
|
|
1279
1279
|
fontColor: e.string
|
|
1280
1280
|
};
|
|
1281
|
-
const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14",
|
|
1281
|
+
const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14", _e = {
|
|
1282
1282
|
graphicContainer: dn,
|
|
1283
1283
|
titleContainer: pn
|
|
1284
1284
|
}, un = ({
|
|
@@ -1292,17 +1292,17 @@ const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14", xe = {
|
|
|
1292
1292
|
numberOfDivisions: a = 7,
|
|
1293
1293
|
leftPadding: c = 200
|
|
1294
1294
|
}) => {
|
|
1295
|
-
const { t: p } =
|
|
1295
|
+
const { t: p } = w();
|
|
1296
1296
|
return /* @__PURE__ */ m(
|
|
1297
1297
|
"div",
|
|
1298
1298
|
{
|
|
1299
|
-
className:
|
|
1299
|
+
className: _e.graphicContainer,
|
|
1300
1300
|
style: {
|
|
1301
1301
|
...o || {},
|
|
1302
1302
|
border: `1.5px solid ${n}`
|
|
1303
1303
|
},
|
|
1304
1304
|
children: [
|
|
1305
|
-
/* @__PURE__ */ r("div", { className:
|
|
1305
|
+
/* @__PURE__ */ r("div", { className: _e.titleContainer, children: /* @__PURE__ */ r("h2", { children: p(t) }) }),
|
|
1306
1306
|
/* @__PURE__ */ r(
|
|
1307
1307
|
ze,
|
|
1308
1308
|
{
|
|
@@ -1339,7 +1339,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1339
1339
|
indicatorsCategory: hn,
|
|
1340
1340
|
title: mn,
|
|
1341
1341
|
list: gn
|
|
1342
|
-
}, bn = "_indicatorContainer_lw8gx_2", fn = "_indicatorNameContainer_lw8gx_11", yn = "_dot_lw8gx_20", Cn = "_indicatorName_lw8gx_11", vn = "_switchExternalContainer_lw8gx_31", _n = "_switchType_lw8gx_40", xn = "_switchTypeOptions_lw8gx_44",
|
|
1342
|
+
}, bn = "_indicatorContainer_lw8gx_2", fn = "_indicatorNameContainer_lw8gx_11", yn = "_dot_lw8gx_20", Cn = "_indicatorName_lw8gx_11", vn = "_switchExternalContainer_lw8gx_31", _n = "_switchType_lw8gx_40", xn = "_switchTypeOptions_lw8gx_44", kn = "_optionContainer_lw8gx_55", wn = "_customRadious_lw8gx_65", Nn = "_optionText_lw8gx_72", S = {
|
|
1343
1343
|
indicatorContainer: bn,
|
|
1344
1344
|
indicatorNameContainer: fn,
|
|
1345
1345
|
dot: yn,
|
|
@@ -1347,10 +1347,10 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1347
1347
|
switchExternalContainer: vn,
|
|
1348
1348
|
switchType: _n,
|
|
1349
1349
|
switchTypeOptions: xn,
|
|
1350
|
-
optionContainer:
|
|
1351
|
-
customRadious:
|
|
1350
|
+
optionContainer: kn,
|
|
1351
|
+
customRadious: wn,
|
|
1352
1352
|
optionText: Nn
|
|
1353
|
-
},
|
|
1353
|
+
}, be = ({
|
|
1354
1354
|
indicator: i,
|
|
1355
1355
|
values: d = [],
|
|
1356
1356
|
activeColor: o,
|
|
@@ -1361,7 +1361,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1361
1361
|
multiple: a = !1,
|
|
1362
1362
|
onChangeType: c
|
|
1363
1363
|
}) => {
|
|
1364
|
-
const { t: p } =
|
|
1364
|
+
const { t: p } = w(), { name: u, type: h } = i, [g, b] = B(!1);
|
|
1365
1365
|
L(() => {
|
|
1366
1366
|
t && b(
|
|
1367
1367
|
a ? t.some(
|
|
@@ -1469,7 +1469,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1469
1469
|
{
|
|
1470
1470
|
className: S.indicatorName,
|
|
1471
1471
|
style: { color: g ? o : n },
|
|
1472
|
-
children: /* @__PURE__ */ r(
|
|
1472
|
+
children: /* @__PURE__ */ r(he, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
|
|
1473
1473
|
}
|
|
1474
1474
|
)
|
|
1475
1475
|
]
|
|
@@ -1481,7 +1481,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1481
1481
|
}
|
|
1482
1482
|
);
|
|
1483
1483
|
};
|
|
1484
|
-
|
|
1484
|
+
be.propTypes = {
|
|
1485
1485
|
indicator: e.shape({
|
|
1486
1486
|
name: e.string,
|
|
1487
1487
|
type: e.string
|
|
@@ -1493,10 +1493,10 @@ fe.propTypes = {
|
|
|
1493
1493
|
multiple: e.bool,
|
|
1494
1494
|
onClickIndicator: e.func
|
|
1495
1495
|
};
|
|
1496
|
-
const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8",
|
|
1496
|
+
const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", xe = {
|
|
1497
1497
|
indicatorsSubCategory: Sn,
|
|
1498
1498
|
list: Tn
|
|
1499
|
-
},
|
|
1499
|
+
}, Ve = ({
|
|
1500
1500
|
subcName: i,
|
|
1501
1501
|
indicators: d,
|
|
1502
1502
|
defaultColor: o,
|
|
@@ -1510,13 +1510,13 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", we = {
|
|
|
1510
1510
|
activeIndicatorType: u,
|
|
1511
1511
|
onChangeType: h
|
|
1512
1512
|
}) => {
|
|
1513
|
-
const { t: g } =
|
|
1513
|
+
const { t: g } = w(), [b, C] = B(!1);
|
|
1514
1514
|
return L(() => {
|
|
1515
1515
|
C(t == l);
|
|
1516
1516
|
}, [t, l]), /* @__PURE__ */ m(
|
|
1517
|
-
|
|
1517
|
+
me.div,
|
|
1518
1518
|
{
|
|
1519
|
-
className:
|
|
1519
|
+
className: xe.indicatorsSubCategory,
|
|
1520
1520
|
initial: { height: "43px" },
|
|
1521
1521
|
animate: { height: b ? "auto" : "43px" },
|
|
1522
1522
|
transition: { duration: 0.4 },
|
|
@@ -1531,8 +1531,8 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", we = {
|
|
|
1531
1531
|
}
|
|
1532
1532
|
)
|
|
1533
1533
|
] }) }),
|
|
1534
|
-
d && /* @__PURE__ */ r("div", { className:
|
|
1535
|
-
|
|
1534
|
+
d && /* @__PURE__ */ r("div", { className: xe.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ r(
|
|
1535
|
+
be,
|
|
1536
1536
|
{
|
|
1537
1537
|
indicator: f,
|
|
1538
1538
|
defaultColor: o,
|
|
@@ -1549,7 +1549,7 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", we = {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
);
|
|
1551
1551
|
};
|
|
1552
|
-
|
|
1552
|
+
Ve.propTypes = {
|
|
1553
1553
|
subcName: e.string,
|
|
1554
1554
|
indicators: e.array,
|
|
1555
1555
|
activeColor: e.string,
|
|
@@ -1561,7 +1561,7 @@ je.propTypes = {
|
|
|
1561
1561
|
onClickSubCategory: e.func,
|
|
1562
1562
|
onClickIndicator: e.func
|
|
1563
1563
|
};
|
|
1564
|
-
const
|
|
1564
|
+
const je = ({
|
|
1565
1565
|
cat: i,
|
|
1566
1566
|
id: d,
|
|
1567
1567
|
activeColor: o,
|
|
@@ -1577,11 +1577,11 @@ const Ve = ({
|
|
|
1577
1577
|
onChangeType: g
|
|
1578
1578
|
}) => {
|
|
1579
1579
|
var v;
|
|
1580
|
-
const { t: b } =
|
|
1580
|
+
const { t: b } = w(), [C, f] = B(!1);
|
|
1581
1581
|
return L(() => {
|
|
1582
1582
|
f(s === d);
|
|
1583
1583
|
}, [s, d]), /* @__PURE__ */ m(
|
|
1584
|
-
|
|
1584
|
+
me.div,
|
|
1585
1585
|
{
|
|
1586
1586
|
className: re.indicatorsCategory,
|
|
1587
1587
|
initial: { height: "53px" },
|
|
@@ -1604,8 +1604,8 @@ const Ve = ({
|
|
|
1604
1604
|
)
|
|
1605
1605
|
] }),
|
|
1606
1606
|
i.subcategories ? i.subcategories.map(
|
|
1607
|
-
({ name: y, subcategory: x, indicators:
|
|
1608
|
-
|
|
1607
|
+
({ name: y, subcategory: x, indicators: k }, _) => /* @__PURE__ */ r(
|
|
1608
|
+
Ve,
|
|
1609
1609
|
{
|
|
1610
1610
|
id: x,
|
|
1611
1611
|
activeSubCategory: l,
|
|
@@ -1616,14 +1616,14 @@ const Ve = ({
|
|
|
1616
1616
|
multiple: u,
|
|
1617
1617
|
activeColor: o,
|
|
1618
1618
|
defaultColor: n,
|
|
1619
|
-
indicators:
|
|
1619
|
+
indicators: k,
|
|
1620
1620
|
activeIndicatorType: h,
|
|
1621
1621
|
onChangeType: g
|
|
1622
1622
|
},
|
|
1623
1623
|
`subcKey ${_}`
|
|
1624
1624
|
)
|
|
1625
1625
|
) : /* @__PURE__ */ r("div", { className: re.list, children: (v = i.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ r(
|
|
1626
|
-
|
|
1626
|
+
be,
|
|
1627
1627
|
{
|
|
1628
1628
|
indicator: y,
|
|
1629
1629
|
values: y.type == "twoUnits" && y.values,
|
|
@@ -1641,7 +1641,7 @@ const Ve = ({
|
|
|
1641
1641
|
}
|
|
1642
1642
|
);
|
|
1643
1643
|
};
|
|
1644
|
-
|
|
1644
|
+
je.propTypes = {
|
|
1645
1645
|
cat: e.object,
|
|
1646
1646
|
id: e.string,
|
|
1647
1647
|
onChange: e.func,
|
|
@@ -1672,7 +1672,7 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", ke = {
|
|
|
1672
1672
|
changeIndType: l,
|
|
1673
1673
|
activeIndicatorType: a
|
|
1674
1674
|
}) => {
|
|
1675
|
-
const { t: c } =
|
|
1675
|
+
const { t: c } = w(), [p, u] = B(), [h, g] = B(), [b, C] = B(), f = (_) => {
|
|
1676
1676
|
u(p == _ ? null : _);
|
|
1677
1677
|
}, v = (_) => {
|
|
1678
1678
|
g(h == _ ? null : _);
|
|
@@ -1700,27 +1700,27 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", ke = {
|
|
|
1700
1700
|
if (s && !b)
|
|
1701
1701
|
if (t && s && Array.isArray(s)) {
|
|
1702
1702
|
let _ = b && b.length > 0 ? [...b] : [];
|
|
1703
|
-
C([..._, ...s]),
|
|
1703
|
+
C([..._, ...s]), k(s[0].name);
|
|
1704
1704
|
} else
|
|
1705
|
-
x(s),
|
|
1705
|
+
x(s), k(s.name);
|
|
1706
1706
|
}, []);
|
|
1707
|
-
const
|
|
1707
|
+
const k = (_) => {
|
|
1708
1708
|
const N = i.find((D) => {
|
|
1709
1709
|
if (D.subcategories) {
|
|
1710
|
-
let
|
|
1710
|
+
let A = D.subcategories.find(
|
|
1711
1711
|
(ne) => ne.indicators.find((Z) => Z.name == _)
|
|
1712
1712
|
);
|
|
1713
|
-
if (
|
|
1714
|
-
return g(
|
|
1713
|
+
if (A)
|
|
1714
|
+
return g(A.subcategory), A;
|
|
1715
1715
|
} else
|
|
1716
|
-
return D.indicators.some((
|
|
1716
|
+
return D.indicators.some((A) => A.name == _);
|
|
1717
1717
|
});
|
|
1718
1718
|
N && u(N.category);
|
|
1719
1719
|
};
|
|
1720
1720
|
return /* @__PURE__ */ m("div", { className: ke.indicatorsList, children: [
|
|
1721
1721
|
/* @__PURE__ */ r("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1722
1722
|
i.map((_, N) => /* @__PURE__ */ r(
|
|
1723
|
-
|
|
1723
|
+
je,
|
|
1724
1724
|
{
|
|
1725
1725
|
id: _.category,
|
|
1726
1726
|
cat: _,
|
|
@@ -1752,14 +1752,14 @@ Ln.propTypes = {
|
|
|
1752
1752
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1753
1753
|
activeIndicatorType: e.string
|
|
1754
1754
|
};
|
|
1755
|
-
const Fn = "_langSelector_1of0g_2", Bn = "_currentLang_1of0g_7", Dn = "_arrow_1of0g_19",
|
|
1755
|
+
const Fn = "_langSelector_1of0g_2", Bn = "_currentLang_1of0g_7", Dn = "_arrow_1of0g_19", An = "_prevImg_1of0g_22", On = "_langMenu_1of0g_26", K = {
|
|
1756
1756
|
langSelector: Fn,
|
|
1757
1757
|
currentLang: Bn,
|
|
1758
1758
|
arrow: Dn,
|
|
1759
|
-
prevImg:
|
|
1760
|
-
langMenu:
|
|
1759
|
+
prevImg: An,
|
|
1760
|
+
langMenu: On
|
|
1761
1761
|
}, Rn = ({ langs: i, arrow: d, imgPrev: o }) => {
|
|
1762
|
-
const [n, t] = B(!1), { i18n: s } =
|
|
1762
|
+
const [n, t] = B(!1), { i18n: s } = w(), l = i.find((c) => c.code == s.language), a = (c) => {
|
|
1763
1763
|
s.changeLanguage(c), t(!1);
|
|
1764
1764
|
};
|
|
1765
1765
|
return /* @__PURE__ */ m("div", { className: K.langSelector, children: [
|
|
@@ -1802,11 +1802,11 @@ Rn.propTypes = {
|
|
|
1802
1802
|
arrow: e.object,
|
|
1803
1803
|
imgPrev: e.object
|
|
1804
1804
|
};
|
|
1805
|
-
const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18",
|
|
1805
|
+
const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titleContainer_atg3j_46", jn = "_infoContainer_atg3j_52", Pn = "_titleLegendList_atg3j_63", En = "_legendListContainer_atg3j_70", qn = "_gridContainer_atg3j_70", Kn = "_elementLegendContainer_atg3j_76", Un = "_colorDot_atg3j_82", Zn = "_absoluteValueContainer_atg3j_88", Hn = "_absoluteValueColor_atg3j_91", Gn = "_absoluteValueText_atg3j_96", Yn = "_moreInfoContainer_atg3j_108", M = {
|
|
1806
1806
|
legendContainer: In,
|
|
1807
1807
|
closeButton: zn,
|
|
1808
|
-
titleContainer:
|
|
1809
|
-
infoContainer:
|
|
1808
|
+
titleContainer: Vn,
|
|
1809
|
+
infoContainer: jn,
|
|
1810
1810
|
titleLegendList: Pn,
|
|
1811
1811
|
legendListContainer: En,
|
|
1812
1812
|
gridContainer: qn,
|
|
@@ -1839,7 +1839,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", jn = "_titl
|
|
|
1839
1839
|
buttonTitle: a,
|
|
1840
1840
|
onClickClose: c
|
|
1841
1841
|
}) => {
|
|
1842
|
-
const { t: p } =
|
|
1842
|
+
const { t: p } = w();
|
|
1843
1843
|
return /* @__PURE__ */ m(
|
|
1844
1844
|
"div",
|
|
1845
1845
|
{
|
|
@@ -1855,7 +1855,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", jn = "_titl
|
|
|
1855
1855
|
h
|
|
1856
1856
|
] })
|
|
1857
1857
|
] }, d)) }) }),
|
|
1858
|
-
/* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(
|
|
1858
|
+
/* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(he, { i18nKey: t, components: { sup: /* @__PURE__ */ r("sup", {}) } }) : p("mainUse") }),
|
|
1859
1859
|
/* @__PURE__ */ r("div", { className: M.legendListContainer, children: s ? /* @__PURE__ */ m("div", { className: M.absoluteValueContainer, children: [
|
|
1860
1860
|
/* @__PURE__ */ r(
|
|
1861
1861
|
"div",
|
|
@@ -1924,11 +1924,11 @@ Wn.propTypes = {
|
|
|
1924
1924
|
buttonTitle: e.string,
|
|
1925
1925
|
onClickClose: e.func
|
|
1926
1926
|
};
|
|
1927
|
-
const Xn = "_logo_1ewa6_2",
|
|
1927
|
+
const Xn = "_logo_1ewa6_2", we = {
|
|
1928
1928
|
logo: Xn
|
|
1929
1929
|
}, Jn = ({ src: i, alt: d, href: o }) => {
|
|
1930
|
-
const { t: n } =
|
|
1931
|
-
return o ? /* @__PURE__ */ r("div", { className:
|
|
1930
|
+
const { t: n } = w(), t = /* @__PURE__ */ r("img", { src: i, alt: n(d) });
|
|
1931
|
+
return o ? /* @__PURE__ */ r("div", { className: we.logo, children: /* @__PURE__ */ r("a", { href: o, children: t }) }) : /* @__PURE__ */ r("div", { className: we.logo, children: t });
|
|
1932
1932
|
};
|
|
1933
1933
|
Jn.propTypes = {
|
|
1934
1934
|
src: e.string.isRequired,
|
|
@@ -1953,7 +1953,7 @@ const ti = ({
|
|
|
1953
1953
|
sources: p = [],
|
|
1954
1954
|
layers: u = []
|
|
1955
1955
|
}) => {
|
|
1956
|
-
const h =
|
|
1956
|
+
const h = ue(), [g, b] = B(null), C = le((f) => f.mapState.showTexts);
|
|
1957
1957
|
return L(() => {
|
|
1958
1958
|
if (h.current) {
|
|
1959
1959
|
const f = h.current.getMap();
|
|
@@ -2050,16 +2050,16 @@ ti.propTypes = {
|
|
|
2050
2050
|
})
|
|
2051
2051
|
)
|
|
2052
2052
|
};
|
|
2053
|
-
const ni = "
|
|
2053
|
+
const ni = "_mapContainer_y1yby_3", ii = {
|
|
2054
2054
|
mapContainer: ni
|
|
2055
|
-
}, si = "_FeaturePopUp_1gd6w_2", oi = "_title_1gd6w_2",
|
|
2055
|
+
}, si = "_FeaturePopUp_1gd6w_2", oi = "_title_1gd6w_2", Ne = {
|
|
2056
2056
|
FeaturePopUp: si,
|
|
2057
2057
|
title: oi
|
|
2058
2058
|
}, ri = ({ props: i }) => {
|
|
2059
|
-
const { t: d } =
|
|
2060
|
-
return /* @__PURE__ */ r("div", { className:
|
|
2061
|
-
/* @__PURE__ */ m("span", { className:
|
|
2062
|
-
/* @__PURE__ */ r(
|
|
2059
|
+
const { t: d } = w();
|
|
2060
|
+
return /* @__PURE__ */ r("div", { className: Ne.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ m("p", { children: [
|
|
2061
|
+
/* @__PURE__ */ m("span", { className: Ne.title, children: [
|
|
2062
|
+
/* @__PURE__ */ r(he, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
|
|
2063
2063
|
": "
|
|
2064
2064
|
] }),
|
|
2065
2065
|
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
@@ -2083,7 +2083,7 @@ const ni = "_mapContainer_ivruh_3", ii = {
|
|
|
2083
2083
|
showTexts: b
|
|
2084
2084
|
}) => {
|
|
2085
2085
|
console.log(u);
|
|
2086
|
-
const C =
|
|
2086
|
+
const C = ue();
|
|
2087
2087
|
return L(() => {
|
|
2088
2088
|
if (C.current) {
|
|
2089
2089
|
const f = C.current.getMap();
|
|
@@ -2093,8 +2093,8 @@ const ni = "_mapContainer_ivruh_3", ii = {
|
|
|
2093
2093
|
}
|
|
2094
2094
|
}, [b]), L(() => {
|
|
2095
2095
|
let f = new Xe();
|
|
2096
|
-
return
|
|
2097
|
-
|
|
2096
|
+
return ye.addProtocol("pmtiles", f.tile), () => {
|
|
2097
|
+
ye.removeProtocol("pmtiles");
|
|
2098
2098
|
};
|
|
2099
2099
|
}, []), /* @__PURE__ */ r("div", { className: `${ii.mapContainer}`, style: s && s, children: /* @__PURE__ */ m(
|
|
2100
2100
|
Je,
|
|
@@ -2183,7 +2183,7 @@ ai.propTypes = {
|
|
|
2183
2183
|
popUpParams: e.object,
|
|
2184
2184
|
onClosePopUp: e.func
|
|
2185
2185
|
};
|
|
2186
|
-
const li = "_sectionBar_2vnc3_2", ci = "_leftContent_2vnc3_13", di = "_textContainer_2vnc3_19", pi = "_title_2vnc3_26", ui = "_subtitle_2vnc3_32", hi = "_rightContent_2vnc3_37",
|
|
2186
|
+
const li = "_sectionBar_2vnc3_2", ci = "_leftContent_2vnc3_13", di = "_textContainer_2vnc3_19", pi = "_title_2vnc3_26", ui = "_subtitle_2vnc3_32", hi = "_rightContent_2vnc3_37", V = {
|
|
2187
2187
|
sectionBar: li,
|
|
2188
2188
|
leftContent: ci,
|
|
2189
2189
|
textContainer: di,
|
|
@@ -2191,16 +2191,16 @@ const li = "_sectionBar_2vnc3_2", ci = "_leftContent_2vnc3_13", di = "_textConta
|
|
|
2191
2191
|
subtitle: ui,
|
|
2192
2192
|
rightContent: hi
|
|
2193
2193
|
}, mi = ({ leftIcon: i, title: d, subtitle: o, rightContent: n, mainColor: t }) => {
|
|
2194
|
-
const { t: s } =
|
|
2195
|
-
return /* @__PURE__ */ m("div", { className:
|
|
2196
|
-
/* @__PURE__ */ m("div", { className:
|
|
2197
|
-
i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className:
|
|
2198
|
-
/* @__PURE__ */ m("div", { className:
|
|
2199
|
-
/* @__PURE__ */ r("div", { className:
|
|
2200
|
-
o && /* @__PURE__ */ r("div", { className:
|
|
2194
|
+
const { t: s } = w();
|
|
2195
|
+
return /* @__PURE__ */ m("div", { className: V.sectionBar, children: [
|
|
2196
|
+
/* @__PURE__ */ m("div", { className: V.leftContent, children: [
|
|
2197
|
+
i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: V.icon }),
|
|
2198
|
+
/* @__PURE__ */ m("div", { className: V.textContainer, children: [
|
|
2199
|
+
/* @__PURE__ */ r("div", { className: V.title, style: t ? { color: t } : {}, children: s(d) }),
|
|
2200
|
+
o && /* @__PURE__ */ r("div", { className: V.subtitle, children: o })
|
|
2201
2201
|
] })
|
|
2202
2202
|
] }),
|
|
2203
|
-
/* @__PURE__ */ r("div", { className:
|
|
2203
|
+
/* @__PURE__ */ r("div", { className: V.rightContent, children: n })
|
|
2204
2204
|
] });
|
|
2205
2205
|
};
|
|
2206
2206
|
mi.propTypes = {
|
|
@@ -2236,7 +2236,7 @@ const gi = Me({
|
|
|
2236
2236
|
i.activeIndicatorUnit = d.payload;
|
|
2237
2237
|
}
|
|
2238
2238
|
}
|
|
2239
|
-
}), { setShowTexts:
|
|
2239
|
+
}), { setShowTexts: rs, setYear: ae, setActiveIndicatorKey: as, setActiveIndicatorType: ls, setActiveIndicatorUnit: cs } = gi.actions, bi = "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", fi = "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", yi = "_slider_a19yo_2", Ci = "_playButton_a19yo_17", vi = "_sliderOpen_a19yo_28", _i = "_sliderResults_a19yo_32", Y = {
|
|
2240
2240
|
slider: yi,
|
|
2241
2241
|
playButton: Ci,
|
|
2242
2242
|
sliderOpen: vi,
|
|
@@ -2250,12 +2250,12 @@ const gi = Me({
|
|
|
2250
2250
|
h(!1);
|
|
2251
2251
|
};
|
|
2252
2252
|
((y, x) => {
|
|
2253
|
-
const
|
|
2253
|
+
const k = ue();
|
|
2254
2254
|
L(() => {
|
|
2255
|
-
|
|
2255
|
+
k.current = y;
|
|
2256
2256
|
}, [y]), L(() => {
|
|
2257
2257
|
function _() {
|
|
2258
|
-
|
|
2258
|
+
k.current();
|
|
2259
2259
|
}
|
|
2260
2260
|
{
|
|
2261
2261
|
let N = setInterval(_, x);
|
|
@@ -2331,26 +2331,29 @@ xi.propTypes = {
|
|
|
2331
2331
|
zIndex: e.number,
|
|
2332
2332
|
rightBarOpen: e.bool
|
|
2333
2333
|
};
|
|
2334
|
-
const
|
|
2335
|
-
TopNavMenuContainer:
|
|
2336
|
-
topNavOptions:
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2334
|
+
const ki = "_TopNavMenuContainer_ku22g_2", wi = "_topNavOptions_ku22g_11", Se = {
|
|
2335
|
+
TopNavMenuContainer: ki,
|
|
2336
|
+
topNavOptions: wi
|
|
2337
|
+
}, Ni = ({ options: i = [], cssProps: d = {}, activeColor: o }) => {
|
|
2338
|
+
const { t: n } = w(), t = d.textColor || "inherit";
|
|
2339
|
+
d.borderColor;
|
|
2340
|
+
const s = d.height || "calc(70px - 10px);";
|
|
2341
|
+
return /* @__PURE__ */ r("div", { className: Se.TopNavMenuContainer, children: i.map((l, a) => /* @__PURE__ */ r(
|
|
2341
2342
|
at,
|
|
2342
2343
|
{
|
|
2343
|
-
to:
|
|
2344
|
-
className: ({ isActive:
|
|
2344
|
+
to: l.url,
|
|
2345
|
+
className: ({ isActive: c }) => `${Se.topNavOptions}`,
|
|
2345
2346
|
style: {
|
|
2346
|
-
color:
|
|
2347
|
+
color: t,
|
|
2348
|
+
height: s,
|
|
2349
|
+
boxShadow: isActive ? `0 5px 0 0 ${o}` : "inherit"
|
|
2347
2350
|
},
|
|
2348
|
-
children:
|
|
2351
|
+
children: n(l.name)
|
|
2349
2352
|
},
|
|
2350
|
-
|
|
2353
|
+
a
|
|
2351
2354
|
)) });
|
|
2352
2355
|
};
|
|
2353
|
-
|
|
2356
|
+
Ni.propTypes = {
|
|
2354
2357
|
options: e.arrayOf(
|
|
2355
2358
|
e.object
|
|
2356
2359
|
),
|
|
@@ -2362,7 +2365,7 @@ Si.propTypes = {
|
|
|
2362
2365
|
// activeColor: PropTypes.string,
|
|
2363
2366
|
// defaultColor: PropTypes.string
|
|
2364
2367
|
};
|
|
2365
|
-
const
|
|
2368
|
+
const Si = Me({
|
|
2366
2369
|
name: "userSlice",
|
|
2367
2370
|
initialState: {
|
|
2368
2371
|
user: {
|
|
@@ -2380,15 +2383,15 @@ const Ti = Me({
|
|
|
2380
2383
|
i.showUserMenu = d.payload;
|
|
2381
2384
|
}
|
|
2382
2385
|
}
|
|
2383
|
-
}), { setShowLogIn:
|
|
2384
|
-
UserMenuTrigger:
|
|
2385
|
-
},
|
|
2386
|
-
const o = Te(), n =
|
|
2387
|
-
o(n ?
|
|
2386
|
+
}), { setShowLogIn: Ti, setShowUserMenu: Mi } = Si.actions, $i = "_UserMenuTrigger_uglss_2", Li = {
|
|
2387
|
+
UserMenuTrigger: $i
|
|
2388
|
+
}, Fi = ({ cssClass: i, loginLocale: d = "login" }) => {
|
|
2389
|
+
const o = Te(), n = le((a) => a.userState.user.isLoggedIn), t = le((a) => a.userState.user.username), { t: s } = w(), l = () => {
|
|
2390
|
+
o(n ? Ti(!0) : Mi(!0));
|
|
2388
2391
|
};
|
|
2389
|
-
return /* @__PURE__ */ r("div", { className: `${
|
|
2392
|
+
return /* @__PURE__ */ r("div", { className: `${Li.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : s(d) });
|
|
2390
2393
|
};
|
|
2391
|
-
|
|
2394
|
+
Fi.propTypes = {
|
|
2392
2395
|
onClickLoggedIn: e.func.isRequired,
|
|
2393
2396
|
onClickLoggedOut: e.func.isRequired,
|
|
2394
2397
|
log: e.bool,
|
|
@@ -2396,17 +2399,17 @@ Bi.propTypes = {
|
|
|
2396
2399
|
cssClass: e.string,
|
|
2397
2400
|
loginLocale: e.string
|
|
2398
2401
|
};
|
|
2399
|
-
const
|
|
2400
|
-
header:
|
|
2401
|
-
leftComponents:
|
|
2402
|
+
const Bi = "_header_yr2yi_2", Di = "_leftComponents_yr2yi_11", Ai = "_centerComponents_yr2yi_12", Oi = "_rightComponents_yr2yi_13", Q = {
|
|
2403
|
+
header: Bi,
|
|
2404
|
+
leftComponents: Di,
|
|
2402
2405
|
centerComponents: Ai,
|
|
2403
|
-
rightComponents:
|
|
2404
|
-
},
|
|
2406
|
+
rightComponents: Oi
|
|
2407
|
+
}, Ri = ({ cssProps: i, leftComponents: d = [], centerComponents: o = [], rightComponents: n = [] }) => /* @__PURE__ */ m("div", { className: Q.header, style: i, children: [
|
|
2405
2408
|
/* @__PURE__ */ r("div", { className: Q.leftComponents, style: { height: i.height }, children: d.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s)) }),
|
|
2406
2409
|
/* @__PURE__ */ r("div", { className: Q.centerComponents, style: { height: i.height }, children: o.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s)) }),
|
|
2407
2410
|
/* @__PURE__ */ r("div", { className: Q.rightComponents, style: { height: i.height }, children: n.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s)) })
|
|
2408
2411
|
] });
|
|
2409
|
-
|
|
2412
|
+
Ri.propTypes = {
|
|
2410
2413
|
cssProps: e.shape({
|
|
2411
2414
|
backgroundColor: e.string.isRequired,
|
|
2412
2415
|
height: e.string.isRequired,
|
|
@@ -2417,12 +2420,12 @@ Ii.propTypes = {
|
|
|
2417
2420
|
centerComponents: e.arrayOf(e.node),
|
|
2418
2421
|
rightComponents: e.arrayOf(e.node)
|
|
2419
2422
|
};
|
|
2420
|
-
const
|
|
2421
|
-
sidebar:
|
|
2422
|
-
open:
|
|
2423
|
+
const Ii = "_sidebar_1jqo2_2", zi = "_open_1jqo2_16", Vi = "_content_1jqo2_20", ji = "_closeButton_1jqo2_26", ee = {
|
|
2424
|
+
sidebar: Ii,
|
|
2425
|
+
open: zi,
|
|
2423
2426
|
content: Vi,
|
|
2424
|
-
closeButton:
|
|
2425
|
-
},
|
|
2427
|
+
closeButton: ji
|
|
2428
|
+
}, Pi = ({ width: i = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
|
|
2426
2429
|
const t = () => {
|
|
2427
2430
|
n();
|
|
2428
2431
|
};
|
|
@@ -2438,30 +2441,30 @@ const zi = "_sidebar_1jqo2_2", ji = "_open_1jqo2_16", Vi = "_content_1jqo2_20",
|
|
|
2438
2441
|
}
|
|
2439
2442
|
);
|
|
2440
2443
|
};
|
|
2441
|
-
|
|
2444
|
+
Pi.propTypes = {
|
|
2442
2445
|
width: e.string,
|
|
2443
2446
|
children: e.node,
|
|
2444
2447
|
showRightBar: e.bool,
|
|
2445
2448
|
onCloseBar: e.func
|
|
2446
2449
|
};
|
|
2447
2450
|
export {
|
|
2448
|
-
|
|
2451
|
+
wt as AmbitSelector,
|
|
2449
2452
|
Rt as ButtonsList,
|
|
2450
|
-
|
|
2451
|
-
|
|
2453
|
+
j as DropdownList,
|
|
2454
|
+
os as EditAmbit,
|
|
2452
2455
|
an as FiltersAmbit,
|
|
2453
2456
|
un as Graphic,
|
|
2454
|
-
|
|
2457
|
+
Ri as HeaderSection,
|
|
2455
2458
|
Ln as IndicatorsList,
|
|
2456
2459
|
Rn as LangSelector,
|
|
2457
2460
|
Wn as Legend,
|
|
2458
2461
|
Jn as LogoApp,
|
|
2459
2462
|
ti as MapboxMap,
|
|
2460
2463
|
ai as MaplibreMap,
|
|
2461
|
-
|
|
2464
|
+
Pi as RightSidebar,
|
|
2462
2465
|
mi as SectionBar,
|
|
2463
2466
|
xi as TimeSlider,
|
|
2464
2467
|
Le as Tooltip,
|
|
2465
|
-
|
|
2466
|
-
|
|
2468
|
+
Ni as TopNavMenu,
|
|
2469
|
+
Fi as UserMenuTrigger
|
|
2467
2470
|
};
|