@tmf_ciclica/ciclicastorybook 1.1.40 → 1.1.41

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.es.js CHANGED
@@ -1,38 +1,38 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_19lnt_3{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_19lnt_3:after{content:"";z-index:-1;left:100%;top:50%;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;transform-origin:center right}._top_19lnt_33{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;z-index:10;color:#000}._top_19lnt_33:after{content:"";z-index:-1;right:50%;top:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;color:#000;transform-origin:center right}._bottom_19lnt_66{position:absolute;width:auto;top:calc(100% + 10px);right:50%;height:fit-content;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;z-index:10;color:#000}._bottom_19lnt_66:after{content:"";z-index:-1;right:50%;bottom:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:transparent;border-bottom-color:#fff;position:absolute;transform-origin:center right}._right_19lnt_97{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:20px;margin:0;white-space:nowrap;height:fit-content;color:#000;z-index:10}._right_19lnt_97:after{content:"";z-index:-1;right:100%;top:50%;color:#000;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;transform-origin:center right}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._UserMenuTrigger_uglss_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { jsxs as h, jsx as i, Fragment as Ee } from "react/jsx-runtime";
3
- import H, { useState as B, useEffect as D, useMemo as te, useLayoutEffect as Ke, useRef as he } from "react";
2
+ import { jsxs as g, jsx as i, Fragment as Ke } from "react/jsx-runtime";
3
+ import H, { useState as B, useEffect as L, useMemo as te, useLayoutEffect as Ue, useRef as ge } from "react";
4
4
  import e from "prop-types";
5
- import { useTranslation as k, Trans as ge } from "react-i18next";
6
- import { motion as Ce } from "framer-motion";
5
+ import { useTranslation as k, Trans as Ce } from "react-i18next";
6
+ import { motion as be } from "framer-motion";
7
7
  import { create as Ze } from "zustand";
8
- import * as ye from "d3";
9
- import Ue from "mapbox-gl";
10
- import { useSelector as de, useDispatch as Te } from "react-redux";
11
- import He, { Source as Ge, Layer as Ye, NavigationControl as We, Popup as Xe } from "react-map-gl/mapbox";
12
- import ie from "maplibre-gl";
13
- import { Protocol as Je } from "pmtiles";
14
- import Qe, { Source as et, Layer as tt, NavigationControl as nt, Popup as it } from "react-map-gl/maplibre";
15
- import { createSlice as Me } from "@reduxjs/toolkit";
16
- import st from "@mui/material/Slider";
17
- import { createTheme as ot, Box as rt } from "@mui/material";
18
- import { ThemeProvider as at } from "@emotion/react";
19
- import { NavLink as lt } from "react-router-dom";
20
- const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateContainer_mcunf_23", ut = "_ambitName_mcunf_39", mt = "_ambitDate_mcunf_53", ht = "_buttonsContainer_mcunf_67", gt = "_ambitListContainer_mcunf_76", Ct = "_newAmbitButtonContainer_mcunf_80", I = {
21
- ambitSelector: ct,
22
- header: dt,
23
- nameDateContainer: pt,
24
- ambitName: ut,
25
- ambitDate: mt,
26
- buttonsContainer: ht,
27
- ambitListContainer: gt,
28
- newAmbitButtonContainer: Ct
29
- }, bt = "_ambitItem_1qa6u_2", ft = "_ambitNameDate_1qa6u_16", yt = "_ambitName_1qa6u_16", vt = "_ambitDate_1qa6u_35", _t = "_ambitButtons_1qa6u_38", Y = {
30
- ambitItem: bt,
31
- ambitNameDate: ft,
32
- ambitName: yt,
33
- ambitDate: vt,
34
- ambitButtons: _t
35
- }, xt = "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", wt = "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", kt = "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", Nt = "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", St = "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", Tt = "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", Fe = ({
8
+ import * as ve from "d3";
9
+ import He from "mapbox-gl";
10
+ import { useSelector as pe, useDispatch as Me } from "react-redux";
11
+ import Ge, { Source as Ye, Layer as We, NavigationControl as Xe, Popup as Je } from "react-map-gl/mapbox";
12
+ import se from "maplibre-gl";
13
+ import { Protocol as Qe } from "pmtiles";
14
+ import et, { Source as tt, Layer as nt, NavigationControl as it, Popup as st } from "react-map-gl/maplibre";
15
+ import { createSlice as Fe } from "@reduxjs/toolkit";
16
+ import ot from "@mui/material/Slider";
17
+ import { createTheme as rt, Box as at } from "@mui/material";
18
+ import { ThemeProvider as lt } from "@emotion/react";
19
+ import { NavLink as ct } from "react-router-dom";
20
+ const dt = "_ambitSelector_mcunf_2", pt = "_header_mcunf_13", ut = "_nameDateContainer_mcunf_23", mt = "_ambitName_mcunf_39", ht = "_ambitDate_mcunf_53", gt = "_buttonsContainer_mcunf_67", Ct = "_ambitListContainer_mcunf_76", bt = "_newAmbitButtonContainer_mcunf_80", I = {
21
+ ambitSelector: dt,
22
+ header: pt,
23
+ nameDateContainer: ut,
24
+ ambitName: mt,
25
+ ambitDate: ht,
26
+ buttonsContainer: gt,
27
+ ambitListContainer: Ct,
28
+ newAmbitButtonContainer: bt
29
+ }, ft = "_ambitItem_1qa6u_2", yt = "_ambitNameDate_1qa6u_16", vt = "_ambitName_1qa6u_16", _t = "_ambitDate_1qa6u_35", xt = "_ambitButtons_1qa6u_38", Y = {
30
+ ambitItem: ft,
31
+ ambitNameDate: yt,
32
+ ambitName: vt,
33
+ ambitDate: _t,
34
+ ambitButtons: xt
35
+ }, wt = "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", kt = "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", Nt = "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", St = "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", Tt = "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", Mt = "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", Be = ({
36
36
  ambit: s,
37
37
  onClickCopy: d,
38
38
  onClickDelete: o,
@@ -43,37 +43,37 @@ const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateCon
43
43
  fontColor: a,
44
44
  moreInfo: c
45
45
  }) => {
46
- const { nom: p, created_at: u, id: m, isBeingProcessed: C } = s;
47
- return /* @__PURE__ */ h(
46
+ const { nom: p, created_at: u, id: m, isBeingProcessed: f } = s;
47
+ return /* @__PURE__ */ g(
48
48
  "div",
49
49
  {
50
50
  className: Y.ambitItem,
51
51
  style: { borderBottom: `1px solid ${a}` },
52
52
  children: [
53
- /* @__PURE__ */ h("div", { className: Y.ambitNameDate, onClick: () => t(m), children: [
54
- /* @__PURE__ */ h("div", { className: Y.ambitName, children: [
53
+ /* @__PURE__ */ g("div", { className: Y.ambitNameDate, onClick: () => t(m), children: [
54
+ /* @__PURE__ */ g("div", { className: Y.ambitName, children: [
55
55
  /* @__PURE__ */ i(
56
56
  "img",
57
57
  {
58
58
  style: { marginRight: 9 },
59
- src: r ? St : Tt
59
+ src: r ? Tt : Mt
60
60
  }
61
61
  ),
62
62
  /* @__PURE__ */ i("span", { style: { color: r ? l : a }, children: p })
63
63
  ] }),
64
64
  /* @__PURE__ */ i("div", { className: Y.ambitDate, children: u ? new Date(u).toLocaleDateString() : "" })
65
65
  ] }),
66
- /* @__PURE__ */ h("div", { className: Y.ambitButtons, children: [
67
- C && /* @__PURE__ */ i("img", { src: Nt }),
68
- /* @__PURE__ */ i("button", { onClick: () => n(m), disabled: s.is_default, children: /* @__PURE__ */ i("img", { src: kt }) }),
69
- /* @__PURE__ */ i("button", { onClick: () => d(m), children: /* @__PURE__ */ i("img", { src: wt }) }),
70
- /* @__PURE__ */ i("button", { onClick: () => o(m), disabled: s.is_default, children: /* @__PURE__ */ i("img", { src: xt }) })
66
+ /* @__PURE__ */ g("div", { className: Y.ambitButtons, children: [
67
+ f && /* @__PURE__ */ i("img", { src: St }),
68
+ /* @__PURE__ */ i("button", { onClick: () => n(m), disabled: s.is_default, children: /* @__PURE__ */ i("img", { src: Nt }) }),
69
+ /* @__PURE__ */ i("button", { onClick: () => d(m), children: /* @__PURE__ */ i("img", { src: kt }) }),
70
+ /* @__PURE__ */ i("button", { onClick: () => o(m), disabled: s.is_default, children: /* @__PURE__ */ i("img", { src: wt }) })
71
71
  ] })
72
72
  ]
73
73
  }
74
74
  );
75
75
  };
76
- Fe.propTypes = {
76
+ Be.propTypes = {
77
77
  ambit: e.shape({
78
78
  nom: e.string.isRequired,
79
79
  created_at: e.string,
@@ -91,9 +91,9 @@ Fe.propTypes = {
91
91
  moreInfo: e.object
92
92
  // Optional, can be used for additional info
93
93
  };
94
- const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Mt = "_generalButton_8d6ru_2", Ft = {
95
- generalButton: Mt
96
- }, Be = ({
94
+ const _e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ft = "_generalButton_8d6ru_2", Bt = {
95
+ generalButton: Ft
96
+ }, Le = ({
97
97
  children: s,
98
98
  onClick: d,
99
99
  fontColor: o,
@@ -101,12 +101,12 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
101
101
  }) => /* @__PURE__ */ i(
102
102
  "button",
103
103
  {
104
- className: Ft.generalButton,
104
+ className: Bt.generalButton,
105
105
  style: { color: o, border: `1.5px solid ${n}` },
106
106
  onClick: d,
107
107
  children: s
108
108
  }
109
- ), Bt = ({
109
+ ), Lt = ({
110
110
  ambitList: s,
111
111
  activeAmbitId: d,
112
112
  fontColor: o = "#605B56",
@@ -117,75 +117,75 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
117
117
  buttonContainerStyles: a = {},
118
118
  containerStyles: c = {},
119
119
  onCLickNewAmbit: p = () => console.log("New ambit clicked"),
120
- onClickCopy: u = (g) => console.log(`Copy ambit: ${g}`),
121
- onCLickDelete: m = (g) => console.log(`Delete ambit: ${g}`),
122
- onClickFilters: C = (g) => console.log(`Filters clicked: ${g}`),
123
- onClickAmbit: b = (g) => console.log(`OnCLickAmbit: ${g}`)
120
+ onClickCopy: u = (C) => console.log(`Copy ambit: ${C}`),
121
+ onCLickDelete: m = (C) => console.log(`Delete ambit: ${C}`),
122
+ onClickFilters: f = (C) => console.log(`Filters clicked: ${C}`),
123
+ onClickAmbit: h = (C) => console.log(`OnCLickAmbit: ${C}`)
124
124
  }) => {
125
- const { t: g } = k(), [f, v] = B(s);
126
- D(() => {
125
+ const { t: C } = k(), [b, v] = B(s);
126
+ L(() => {
127
127
  s && v(s);
128
128
  }, [s]);
129
- const y = (_) => {
130
- if (f && f.length > 0) {
131
- let w = [...f];
132
- w.sort((x, N) => x[_].localeCompare(N[_])), v(w);
129
+ const y = (x) => {
130
+ if (b && b.length > 0) {
131
+ let w = [...b];
132
+ w.sort((_, N) => _[x].localeCompare(N[x])), v(w);
133
133
  }
134
134
  };
135
- return /* @__PURE__ */ h(
135
+ return /* @__PURE__ */ g(
136
136
  "div",
137
137
  {
138
138
  className: I.ambitSelector,
139
139
  style: { color: o, ...c },
140
140
  children: [
141
- /* @__PURE__ */ h(
141
+ /* @__PURE__ */ g(
142
142
  "div",
143
143
  {
144
144
  className: I.header,
145
145
  style: { borderBottom: `1px solid ${o}` },
146
146
  children: [
147
- /* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
148
- /* @__PURE__ */ i("div", { className: I.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => y("name"), children: [
149
- /* @__PURE__ */ i("span", { children: g(t) }),
150
- /* @__PURE__ */ i("img", { src: ve })
147
+ /* @__PURE__ */ g("div", { className: I.nameDateContainer, children: [
148
+ /* @__PURE__ */ i("div", { className: I.ambitName, children: /* @__PURE__ */ g("button", { onClick: () => y("name"), children: [
149
+ /* @__PURE__ */ i("span", { children: C(t) }),
150
+ /* @__PURE__ */ i("img", { src: _e })
151
151
  ] }) }),
152
- /* @__PURE__ */ i("div", { className: I.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => y("date"), children: [
153
- /* @__PURE__ */ i("span", { children: g(r) }),
154
- /* @__PURE__ */ i("img", { src: ve })
152
+ /* @__PURE__ */ i("div", { className: I.ambitDate, children: /* @__PURE__ */ g("button", { onClick: () => y("date"), children: [
153
+ /* @__PURE__ */ i("span", { children: C(r) }),
154
+ /* @__PURE__ */ i("img", { src: _e })
155
155
  ] }) })
156
156
  ] }),
157
157
  /* @__PURE__ */ i("div", { className: I.buttonsContainer })
158
158
  ]
159
159
  }
160
160
  ),
161
- /* @__PURE__ */ i("div", { className: I.ambitListContainer, children: f && f.length > 0 && f.map((_) => /* @__PURE__ */ i(
162
- Fe,
161
+ /* @__PURE__ */ i("div", { className: I.ambitListContainer, children: b && b.length > 0 && b.map((x) => /* @__PURE__ */ i(
162
+ Be,
163
163
  {
164
- isActive: d == _.id,
165
- ambit: _,
164
+ isActive: d == x.id,
165
+ ambit: x,
166
166
  fontColor: o,
167
167
  activeColor: n,
168
168
  onClickCopy: u,
169
169
  onClickDelete: m,
170
- onClickFilters: C,
171
- onClickAmbit: b
170
+ onClickFilters: f,
171
+ onClickAmbit: h
172
172
  },
173
- `ambitKey${_.id}`
173
+ `ambitKey${x.id}`
174
174
  )) }),
175
175
  /* @__PURE__ */ i("div", { className: I.newAmbitButtonContainer, children: /* @__PURE__ */ i(
176
- Be,
176
+ Le,
177
177
  {
178
178
  style: { ...a },
179
179
  onClick: p,
180
180
  borderColor: "grey",
181
- children: g(l)
181
+ children: C(l)
182
182
  }
183
183
  ) })
184
184
  ]
185
185
  }
186
186
  );
187
187
  };
188
- Bt.propTypes = {
188
+ Lt.propTypes = {
189
189
  ambitList: e.arrayOf(
190
190
  e.shape({
191
191
  name: e.string.isRequired,
@@ -207,28 +207,28 @@ Bt.propTypes = {
207
207
  containerStyles: e.object,
208
208
  onCLickNewAmbit: e.func
209
209
  };
210
- const Lt = "_buttonsContainer_1audx_2", Dt = "_vertical_1audx_6", $t = "_horizontal_1audx_9", At = "_button_1audx_2", Ot = "_active_1audx_25", Rt = "_buttonName_1audx_28", V = {
211
- buttonsContainer: Lt,
212
- vertical: Dt,
213
- horizontal: $t,
214
- button: At,
215
- active: Ot,
216
- buttonName: Rt
217
- }, It = "_left_19lnt_3", Vt = "_top_19lnt_33", Pt = "_bottom_19lnt_66", zt = "_right_19lnt_97", jt = {
218
- left: It,
219
- top: Vt,
220
- bottom: Pt,
221
- right: zt
222
- }, Le = ({ text: s, position: d, styleCustom: o = null }) => {
210
+ const Dt = "_buttonsContainer_1audx_2", $t = "_vertical_1audx_6", At = "_horizontal_1audx_9", Ot = "_button_1audx_2", Rt = "_active_1audx_25", It = "_buttonName_1audx_28", V = {
211
+ buttonsContainer: Dt,
212
+ vertical: $t,
213
+ horizontal: At,
214
+ button: Ot,
215
+ active: Rt,
216
+ buttonName: It
217
+ }, Vt = "_left_19lnt_3", Pt = "_top_19lnt_33", zt = "_bottom_19lnt_66", jt = "_right_19lnt_97", qt = {
218
+ left: Vt,
219
+ top: Pt,
220
+ bottom: zt,
221
+ right: jt
222
+ }, De = ({ text: s, position: d, styleCustom: o = null }) => {
223
223
  const { t: n } = k();
224
- return /* @__PURE__ */ i("div", { className: `tooltip ${jt[d]}`, style: o, children: n(s) });
224
+ return /* @__PURE__ */ i("div", { className: `tooltip ${qt[d]}`, style: o, children: n(s) });
225
225
  };
226
- Le.propTypes = {
226
+ De.propTypes = {
227
227
  text: e.string.isRequired,
228
228
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
229
229
  styleCustom: e.object
230
230
  };
231
- const qt = ({
231
+ const Et = ({
232
232
  buttons: s = [],
233
233
  orientation: d = "horizontal",
234
234
  showName: o = !0,
@@ -247,30 +247,30 @@ const qt = ({
247
247
  icon: p,
248
248
  activeIcon: u,
249
249
  isActive: m,
250
- name: C,
251
- onClick: b
252
- } = a, g = /* @__PURE__ */ h(Ee, { children: [
253
- o && n === "left" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(C) }),
254
- /* @__PURE__ */ i("img", { src: m ? u : p, alt: l(C) }),
255
- o && n === "right" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(C) })
250
+ name: f,
251
+ onClick: h
252
+ } = a, C = /* @__PURE__ */ g(Ke, { children: [
253
+ o && n === "left" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(f) }),
254
+ /* @__PURE__ */ i("img", { src: m ? u : p, alt: l(f) }),
255
+ o && n === "right" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(f) })
256
256
  ] });
257
- return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
257
+ return /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
258
258
  /* @__PURE__ */ i(
259
259
  "button",
260
260
  {
261
- onClick: b,
261
+ onClick: h,
262
262
  className: `${V.button}
263
263
  ${m && V.active}`,
264
- children: g
264
+ children: C
265
265
  }
266
266
  ),
267
- t && /* @__PURE__ */ i(Le, { text: C, position: r })
267
+ t && /* @__PURE__ */ i(De, { text: f, position: r })
268
268
  ] }, c);
269
269
  })
270
270
  }
271
271
  );
272
272
  };
273
- qt.propTypes = {
273
+ Et.propTypes = {
274
274
  buttons: e.arrayOf(
275
275
  e.shape({
276
276
  icon: e.node.isRequired,
@@ -287,9 +287,9 @@ qt.propTypes = {
287
287
  useTooltip: e.bool,
288
288
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
289
289
  };
290
- const Et = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", se = {
291
- indicatorsCategory: Et,
292
- title: Kt
290
+ const Kt = "_indicatorsCategory_1cu33_2", Ut = "_title_1cu33_5", oe = {
291
+ indicatorsCategory: Kt,
292
+ title: Ut
293
293
  }, q = ({
294
294
  isOpen: s,
295
295
  onClick: d,
@@ -305,10 +305,10 @@ const Et = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", se = {
305
305
  titleMarginChildren: p = 25
306
306
  }) => {
307
307
  const { t: u } = k();
308
- return /* @__PURE__ */ h(
309
- Ce.div,
308
+ return /* @__PURE__ */ g(
309
+ be.div,
310
310
  {
311
- className: se.indicatorsCategory,
311
+ className: oe.indicatorsCategory,
312
312
  initial: { height: `${l}px` },
313
313
  animate: { height: s ? "auto" : `${l}px` },
314
314
  transition: { duration: 0.4 },
@@ -318,14 +318,14 @@ const Et = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", se = {
318
318
  marginBottom: s ? "20px" : "0px"
319
319
  },
320
320
  children: [
321
- /* @__PURE__ */ h(
321
+ /* @__PURE__ */ g(
322
322
  "h2",
323
323
  {
324
324
  style: {
325
325
  ...a,
326
326
  marginBottom: p || "auto"
327
327
  },
328
- className: `${se.title}`,
328
+ className: `${oe.title}`,
329
329
  onClick: d,
330
330
  children: [
331
331
  /* @__PURE__ */ i("span", { style: { color: s ? t : n }, children: s ? "-" : "+" }),
@@ -333,7 +333,7 @@ const Et = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", se = {
333
333
  ]
334
334
  }
335
335
  ),
336
- /* @__PURE__ */ i("div", { className: se.content, children: o })
336
+ /* @__PURE__ */ i("div", { className: oe.content, children: o })
337
337
  ]
338
338
  }
339
339
  );
@@ -349,9 +349,9 @@ q.propTypes = {
349
349
  showBottomBar: e.bool,
350
350
  titleFontStyles: e.object
351
351
  };
352
- const hs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Zt = "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", Ut = "_AppliedFiltersContainer_s8ooe_2", Ht = "_AppliedFilterContent_s8ooe_10", _e = {
353
- AppliedFiltersContainer: Ut,
354
- AppliedFilterContent: Ht
352
+ const gs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Zt = "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", Ht = "_AppliedFiltersContainer_s8ooe_2", Gt = "_AppliedFilterContent_s8ooe_10", xe = {
353
+ AppliedFiltersContainer: Ht,
354
+ AppliedFilterContent: Gt
355
355
  }, M = Ze((s) => ({
356
356
  activeCategory: "",
357
357
  activeSubCategory: "",
@@ -359,7 +359,7 @@ const hs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Zt = "data
359
359
  tematicalFiltersSelected: [],
360
360
  fontColor: "#605B56",
361
361
  inputsColor: "#605B56"
362
- })), De = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
362
+ })), $e = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
363
363
  const { t: l } = k(), { tematicalFiltersSelected: a } = M((p) => p), c = (p) => {
364
364
  M.setState((u) => ({
365
365
  tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
@@ -374,14 +374,14 @@ const hs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Zt = "data
374
374
  onClick: d,
375
375
  title: s ? l(s) : "Applied Filters",
376
376
  activeColor: r,
377
- children: /* @__PURE__ */ i("div", { className: _e.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ h("div", { className: _e.AppliedFilterContent, style: { color: n, background: t }, children: [
377
+ children: /* @__PURE__ */ i("div", { className: xe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ g("div", { className: xe.AppliedFilterContent, style: { color: n, background: t }, children: [
378
378
  l(p.name),
379
379
  /* @__PURE__ */ i("img", { src: Zt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
380
380
  ] }, u)) })
381
381
  }
382
382
  );
383
383
  };
384
- De.propTypes = {
384
+ $e.propTypes = {
385
385
  isOpen: e.bool,
386
386
  onClick: e.func,
387
387
  title: e.string,
@@ -395,7 +395,7 @@ De.propTypes = {
395
395
  ),
396
396
  activeColor: e.string
397
397
  };
398
- const $e = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
398
+ const Ae = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
399
399
  const { t: l } = k(), { tematicalFiltersSelected: a } = M((c) => c);
400
400
  return /* @__PURE__ */ i(
401
401
  q,
@@ -408,7 +408,7 @@ const $e = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", ba
408
408
  }
409
409
  );
410
410
  };
411
- $e.propTypes = {
411
+ Ae.propTypes = {
412
412
  isOpen: e.bool,
413
413
  onClick: e.func,
414
414
  title: e.string,
@@ -416,9 +416,9 @@ $e.propTypes = {
416
416
  backgroundColor: e.string,
417
417
  activeColor: e.string
418
418
  };
419
- const Gt = "_checkboxContainer_zld97_2", Yt = {
420
- checkboxContainer: Gt
421
- }, Ae = ({
419
+ const Yt = "_checkboxContainer_zld97_2", Wt = {
420
+ checkboxContainer: Yt
421
+ }, Oe = ({
422
422
  onClick: s,
423
423
  containerStyles: d,
424
424
  color: o = "#605B56",
@@ -426,12 +426,12 @@ const Gt = "_checkboxContainer_zld97_2", Yt = {
426
426
  value: t
427
427
  }) => {
428
428
  const { t: r } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = M((p) => p);
429
- return /* @__PURE__ */ h(
429
+ return /* @__PURE__ */ g(
430
430
  "div",
431
431
  {
432
432
  style: { ...d, color: o },
433
433
  role: "checkbox",
434
- className: Yt.checkboxContainer,
434
+ className: Wt.checkboxContainer,
435
435
  onClick: s,
436
436
  children: [
437
437
  /* @__PURE__ */ i(
@@ -452,7 +452,7 @@ const Gt = "_checkboxContainer_zld97_2", Yt = {
452
452
  }
453
453
  );
454
454
  };
455
- Ae.propTypes = {
455
+ Oe.propTypes = {
456
456
  onClick: e.func,
457
457
  value: e.bool,
458
458
  containerStyles: e.object,
@@ -463,18 +463,18 @@ Ae.propTypes = {
463
463
  }),
464
464
  checkedColor: e.string
465
465
  };
466
- function pe(s, d) {
467
- return pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
466
+ function ue(s, d) {
467
+ return ue = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
468
468
  return o.__proto__ = n, o;
469
- }, pe(s, d);
469
+ }, ue(s, d);
470
470
  }
471
- function Wt(s, d) {
472
- s.prototype = Object.create(d.prototype), s.prototype.constructor = s, pe(s, d);
471
+ function Xt(s, d) {
472
+ s.prototype = Object.create(d.prototype), s.prototype.constructor = s, ue(s, d);
473
473
  }
474
- function oe(s) {
474
+ function re(s) {
475
475
  return s && s.stopPropagation && s.stopPropagation(), s && s.preventDefault && s.preventDefault(), !1;
476
476
  }
477
- function re(s) {
477
+ function ae(s) {
478
478
  return s == null ? [] : Array.isArray(s) ? s.slice() : [s];
479
479
  }
480
480
  function X(s) {
@@ -486,17 +486,17 @@ function J(s) {
486
486
  });
487
487
  }
488
488
  function P(s, d) {
489
- return ue(function(o, n) {
489
+ return me(function(o, n) {
490
490
  let t = o;
491
491
  return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
492
492
  }(s, d), d);
493
493
  }
494
- function ue(s, d) {
494
+ function me(s, d) {
495
495
  const o = (s - d.min) % d.step;
496
496
  let n = s - o;
497
497
  return 2 * Math.abs(o) >= d.step && (n += o > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
498
498
  }
499
- let me = function(s) {
499
+ let he = function(s) {
500
500
  function d(n) {
501
501
  var t;
502
502
  (t = s.call(this, n) || this).onKeyUp = () => {
@@ -516,8 +516,8 @@ let me = function(s) {
516
516
  t.setState({ pending: !0 });
517
517
  const c = t.getTouchPosition(a);
518
518
  if (t.isScrolling === void 0) {
519
- const m = c[0] - t.startPosition[0], C = c[1] - t.startPosition[1];
520
- t.isScrolling = Math.abs(C) > Math.abs(m);
519
+ const m = c[0] - t.startPosition[0], f = c[1] - t.startPosition[1];
520
+ t.isScrolling = Math.abs(f) > Math.abs(m);
521
521
  }
522
522
  if (t.isScrolling) return void t.setState({ index: -1 });
523
523
  const p = t.getDiffPosition(c[0]), u = t.getValueFromPosition(p);
@@ -556,7 +556,7 @@ let me = function(s) {
556
556
  t.start(p, c[0]), J(t.getMouseEventMap());
557
557
  });
558
558
  }
559
- oe(a);
559
+ re(a);
560
560
  }
561
561
  }, t.onSliderClick = (a) => {
562
562
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
@@ -564,12 +564,12 @@ let me = function(s) {
564
564
  t.props.onSliderClick(p);
565
565
  }
566
566
  }, t.createOnKeyDown = (a) => (c) => {
567
- t.props.disabled || (t.start(a), J(t.getKeyDownEventMap()), oe(c));
567
+ t.props.disabled || (t.start(a), J(t.getKeyDownEventMap()), re(c));
568
568
  }, t.createOnMouseDown = (a) => (c) => {
569
569
  if (t.props.disabled || c.button === 2) return;
570
570
  t.setState({ pending: !0 });
571
571
  const p = t.getMousePosition(c);
572
- t.start(a, p[0]), J(t.getMouseEventMap()), oe(c);
572
+ t.start(a, p[0]), J(t.getMouseEventMap()), re(c);
573
573
  }, t.createOnTouchStart = (a) => (c) => {
574
574
  if (t.props.disabled || c.touches.length > 1) return;
575
575
  t.setState({ pending: !0 });
@@ -583,26 +583,26 @@ let me = function(s) {
583
583
  }, 0);
584
584
  t.pendingResizeTimeouts.push(a);
585
585
  }, t.renderThumb = (a, c) => {
586
- const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), u = { ref: (C) => {
587
- t["thumb" + c] = C;
586
+ const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), u = { ref: (f) => {
587
+ t["thumb" + c] = f;
588
588
  }, key: t.props.thumbClassName + "-" + c, className: p, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value: X(t.state.value), valueNow: t.state.value[c] };
589
589
  return t.props.ariaValuetext && (u["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(u, m);
590
590
  }, t.renderTrack = (a, c, p) => {
591
591
  const u = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - p) }, m = { index: a, value: X(t.state.value) };
592
592
  return t.props.renderTrack(u, m);
593
593
  };
594
- let r = re(n.value);
595
- r.length || (r = re(n.defaultValue)), t.pendingResizeTimeouts = [];
594
+ let r = ae(n.value);
595
+ r.length || (r = ae(n.defaultValue)), t.pendingResizeTimeouts = [];
596
596
  const l = [];
597
597
  for (let a = 0; a < r.length; a += 1) r[a] = P(r[a], n), l.push(a);
598
598
  return t.resizeObserver = null, t.resizeElementRef = H.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
599
599
  }
600
- Wt(d, s);
600
+ Xt(d, s);
601
601
  var o = d.prototype;
602
602
  return o.componentDidMount = function() {
603
603
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
604
604
  }, d.getDerivedStateFromProps = function(n, t) {
605
- const r = re(n.value);
605
+ const r = ae(n.value);
606
606
  return r.length ? t.pending ? null : { value: r.map((l) => P(l, n)) } : null;
607
607
  }, o.componentDidUpdate = function() {
608
608
  this.state.upperBound === 0 && this.resize();
@@ -644,8 +644,8 @@ let me = function(s) {
644
644
  }, o.resize = function() {
645
645
  const { slider: n, thumb0: t } = this;
646
646
  if (!n || !t) return;
647
- const r = this.sizeKey(), l = n.getBoundingClientRect(), a = n[r], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - u, C = Math.abs(c - p);
648
- this.state.upperBound === m && this.state.sliderLength === C && this.state.thumbSize === u || this.setState({ upperBound: m, sliderLength: C, thumbSize: u });
647
+ const r = this.sizeKey(), l = n.getBoundingClientRect(), a = n[r], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - u, f = Math.abs(c - p);
648
+ this.state.upperBound === m && this.state.sliderLength === f && this.state.thumbSize === u || this.setState({ upperBound: m, sliderLength: f, thumbSize: u });
649
649
  }, o.calcOffset = function(n) {
650
650
  const t = this.props.max - this.props.min;
651
651
  return t === 0 ? 0 : (n - this.props.min) / t * this.state.upperBound;
@@ -687,30 +687,30 @@ let me = function(s) {
687
687
  const { pearling: c, max: p, min: u, minDistance: m } = this.props;
688
688
  if (!c) {
689
689
  if (r > 0) {
690
- const C = t[r - 1];
691
- n < C + m && (n = C + m);
690
+ const f = t[r - 1];
691
+ n < f + m && (n = f + m);
692
692
  }
693
693
  if (r < l - 1) {
694
- const C = t[r + 1];
695
- n > C - m && (n = C - m);
694
+ const f = t[r + 1];
695
+ n > f - m && (n = f - m);
696
696
  }
697
697
  }
698
- t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, m, r), function(C, b, g, f) {
699
- for (let v = 0; v < C; v += 1) {
700
- const y = f - v * g;
701
- b[C - 1 - v] > y && (b[C - 1 - v] = y);
698
+ t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, m, r), function(f, h, C, b) {
699
+ for (let v = 0; v < f; v += 1) {
700
+ const y = b - v * C;
701
+ h[f - 1 - v] > y && (h[f - 1 - v] = y);
702
702
  }
703
- }(l, t, m, p)) : n < a && (this.pushPreceding(t, m, r), function(C, b, g, f) {
704
- for (let v = 0; v < C; v += 1) {
705
- const y = f + v * g;
706
- b[v] < y && (b[v] = y);
703
+ }(l, t, m, p)) : n < a && (this.pushPreceding(t, m, r), function(f, h, C, b) {
704
+ for (let v = 0; v < f; v += 1) {
705
+ const y = b + v * C;
706
+ h[v] < y && (h[v] = y);
707
707
  }
708
708
  }(l, t, m, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
709
709
  }, o.pushSucceeding = function(n, t, r) {
710
710
  let l, a;
711
- for (l = r, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = ue(a, this.props);
711
+ for (l = r, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = me(a, this.props);
712
712
  }, o.pushPreceding = function(n, t, r) {
713
- for (let l = r, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = ue(a, this.props);
713
+ for (let l = r, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = me(a, this.props);
714
714
  }, o.axisKey = function() {
715
715
  return this.props.orientation === "vertical" ? "Y" : "X";
716
716
  }, o.orthogonalAxisKey = function() {
@@ -759,16 +759,16 @@ let me = function(s) {
759
759
  }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
760
760
  }, d;
761
761
  }(H.Component);
762
- me.displayName = "ReactSlider", me.defaultProps = { min: 0, max: 100, step: 1, pageFn: (s) => 10 * s, 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: (s) => H.createElement("div", s), renderTrack: (s) => H.createElement("div", s), renderMark: (s) => H.createElement("span", s) };
763
- var Xt = me;
764
- const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_12", tn = "_thumb_15vgv_18", nn = "_track_15vgv_27", sn = "_labels_15vgv_33", K = {
765
- container: Jt,
766
- unitLabel: Qt,
767
- slider: en,
768
- thumb: tn,
769
- track: nn,
770
- labels: sn
771
- }, Oe = ({
762
+ he.displayName = "ReactSlider", he.defaultProps = { min: 0, max: 100, step: 1, pageFn: (s) => 10 * s, 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: (s) => H.createElement("div", s), renderTrack: (s) => H.createElement("div", s), renderMark: (s) => H.createElement("span", s) };
763
+ var Jt = he;
764
+ const Qt = "_container_15vgv_2", en = "_unitLabel_15vgv_9", tn = "_slider_15vgv_12", nn = "_thumb_15vgv_18", sn = "_track_15vgv_27", on = "_labels_15vgv_33", K = {
765
+ container: Qt,
766
+ unitLabel: en,
767
+ slider: tn,
768
+ thumb: nn,
769
+ track: sn,
770
+ labels: on
771
+ }, Re = ({
772
772
  min: s = 0,
773
773
  max: d = 100,
774
774
  step: o = 1,
@@ -776,20 +776,26 @@ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_
776
776
  width: t = 300,
777
777
  unit: r,
778
778
  fontColor: l = "#605B56",
779
- value: a = [s, d]
779
+ defaultValue: a
780
780
  }) => {
781
- const { t: c } = k(), p = (u) => {
782
- n == null || n({ min: u[0], max: u[1] });
781
+ const { t: c } = k(), [p, u] = B([s, d]), m = (h) => {
782
+ u(h);
783
+ }, f = () => {
784
+ console.log("Valor final:", p), n == null || n({ min: p[0], max: p[1] });
783
785
  };
784
- return /* @__PURE__ */ h(
786
+ return L(() => {
787
+ a && u([a]);
788
+ }, [a]), /* @__PURE__ */ g(
785
789
  "div",
786
790
  {
787
791
  className: K.container,
788
792
  style: { width: `${t}px`, color: `${l}` },
793
+ onMouseUp: f,
794
+ onTouchEnd: f,
789
795
  children: [
790
796
  /* @__PURE__ */ i("div", { className: K.unitLabel, children: /* @__PURE__ */ i("span", { children: c(r) }) }),
791
797
  /* @__PURE__ */ i(
792
- Xt,
798
+ Jt,
793
799
  {
794
800
  className: K.slider,
795
801
  thumbClassName: K.thumb,
@@ -797,22 +803,22 @@ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_
797
803
  min: s,
798
804
  max: d,
799
805
  step: o,
800
- value: a,
801
- onChange: p,
806
+ value: p,
807
+ onChange: m,
802
808
  withTracks: !0,
803
809
  pearling: !0,
804
810
  minDistance: 1
805
811
  }
806
812
  ),
807
- /* @__PURE__ */ h("div", { className: K.labels, children: [
808
- /* @__PURE__ */ i("span", { children: a[0] }),
809
- /* @__PURE__ */ i("span", { children: a[1] })
813
+ /* @__PURE__ */ g("div", { className: K.labels, children: [
814
+ /* @__PURE__ */ i("span", { children: p[0] }),
815
+ /* @__PURE__ */ i("span", { children: p[1] })
810
816
  ] })
811
817
  ]
812
818
  }
813
819
  );
814
820
  };
815
- Oe.propTypes = {
821
+ Re.propTypes = {
816
822
  min: e.number,
817
823
  max: e.number,
818
824
  step: e.number,
@@ -824,12 +830,12 @@ Oe.propTypes = {
824
830
  fontColor: e.string,
825
831
  value: e.arrayOf(e.number)
826
832
  };
827
- const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_1vm1r_2", an = "_checkboxContainer_1vm1r_28", ln = "_absoluteSliderContainer_1vm1r_37", Q = {
828
- tematicalFiltersInputContainer: on,
829
- inputTypeContainer: rn,
830
- checkboxContainer: an,
831
- absoluteSliderContainer: ln
832
- }, be = ({
833
+ const rn = "_tematicalFiltersInputContainer_1vm1r_2", an = "_inputTypeContainer_1vm1r_2", ln = "_checkboxContainer_1vm1r_28", cn = "_absoluteSliderContainer_1vm1r_37", Q = {
834
+ tematicalFiltersInputContainer: rn,
835
+ inputTypeContainer: an,
836
+ checkboxContainer: ln,
837
+ absoluteSliderContainer: cn
838
+ }, fe = ({
833
839
  indicator: s,
834
840
  //onChangeBothType
835
841
  activeColor: d
@@ -840,109 +846,110 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
840
846
  values: l,
841
847
  minValue: a,
842
848
  maxValue: c,
843
- unit: p
844
- } = s || {}, u = te(
849
+ unit: p,
850
+ step: u
851
+ } = s || {}, m = te(
845
852
  () => t == "cat" || o == "cat",
846
853
  [o, t]
847
- ), m = te(
854
+ ), f = te(
848
855
  () => t == "abs" || o == "abs",
849
856
  [o, t]
850
857
  ), {
851
- tematicalFiltersSelected: C,
852
- selectedIndicator: b,
853
- fontColor: g,
854
- inputsColor: f
855
- } = M((_) => _), v = (_) => {
856
- if (_) {
857
- const { min: w, max: x, valueClicked: N, allValues: T } = _ || {}, { code: A, type: ne } = s || {}, G = m ? "abs" : u ? "cat" : "both";
858
- let O = A[0];
859
- ne == "both" && (O = G == "cat" ? A[1] : A[0]), G == "cat" ? M.setState((E) => {
858
+ tematicalFiltersSelected: h,
859
+ selectedIndicator: C,
860
+ fontColor: b,
861
+ inputsColor: v
862
+ } = M((w) => w), y = (w) => {
863
+ if (w) {
864
+ const { min: _, max: N, valueClicked: S, allValues: A } = w || {}, { code: G, type: ne } = s || {}, ie = f ? "abs" : m ? "cat" : "both";
865
+ let O = G[0];
866
+ ne == "both" && (O = ie == "cat" ? G[1] : G[0]), ie == "cat" ? M.setState((E) => {
860
867
  let R = E.tematicalFiltersSelected.find(
861
- (L) => L.code === O
868
+ (D) => D.code === O
862
869
  );
863
870
  if (R) {
864
- let L = [R.values];
865
- if (R.values.includes(N)) {
866
- if (L = R.values.filter(
867
- ($) => $ !== N
868
- ), L.length < 1)
871
+ let D = [R.values];
872
+ if (R.values.includes(S)) {
873
+ if (D = R.values.filter(
874
+ ($) => $ !== S
875
+ ), D.length < 1)
869
876
  return {
870
877
  tematicalFiltersSelected: E.tematicalFiltersSelected.filter(
871
878
  ($) => $.code !== O
872
879
  )
873
880
  };
874
881
  } else
875
- L = [...R.values, N];
882
+ D = [...R.values, S];
876
883
  return {
877
884
  tematicalFiltersSelected: E.tematicalFiltersSelected.map(
878
- ($) => $.code === O ? { ...$, values: L } : $
885
+ ($) => $.code === O ? { ...$, values: D } : $
879
886
  )
880
887
  };
881
888
  } else {
882
- console.log("entra aqui: ", T, " ", N);
883
- let L = T.map(($, qe) => qe);
889
+ console.log("entra aqui: ", A, " ", S);
890
+ let D = A.map(($, Ee) => Ee);
884
891
  return {
885
892
  tematicalFiltersSelected: [
886
- ...C,
893
+ ...h,
887
894
  {
888
895
  type: "cat",
889
896
  code: O,
890
- values: L.filter(($) => $ !== N),
897
+ values: D.filter(($) => $ !== S),
891
898
  name: s.name
892
899
  }
893
900
  ]
894
901
  };
895
902
  }
896
- }) : G == "abs" && M.setState((E) => {
903
+ }) : ie == "abs" && M.setState((E) => {
897
904
  let R = E.tematicalFiltersSelected.find(
898
- (L) => L.code === O
905
+ (D) => D.code === O
899
906
  );
900
907
  if (R) {
901
- let L = { ...R };
902
- return L.min = w, L.max = x, {
908
+ let D = { ...R };
909
+ return D.min = _, D.max = N, {
903
910
  tematicalFiltersSelected: E.tematicalFiltersSelected.map(
904
- ($) => $.code === O ? L : $
911
+ ($) => $.code === O ? D : $
905
912
  )
906
913
  };
907
914
  } else
908
915
  return {
909
916
  tematicalFiltersSelected: [
910
- ...C,
911
- { type: "abs", code: O, min: w, max: x }
917
+ ...h,
918
+ { type: "abs", code: O, min: _, max: N }
912
919
  ]
913
920
  };
914
921
  });
915
922
  }
916
- }, y = te(() => {
917
- const _ = {};
918
- if ((C == null ? void 0 : C.length) > 0)
919
- for (const w of C)
920
- w.type === "cat" ? _[w.code] = new Set(w.values) : _[w.code] = [w.min, w.max];
921
- return _;
922
- }, [C]);
923
- return /* @__PURE__ */ i("div", { className: Q.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
923
+ }, x = te(() => {
924
+ const w = {};
925
+ if ((h == null ? void 0 : h.length) > 0)
926
+ for (const _ of h)
927
+ _.type === "cat" ? w[_.code] = new Set(_.values) : w[_.code] = [_.min, _.max];
928
+ return w;
929
+ }, [h]);
930
+ return /* @__PURE__ */ i("div", { className: Q.tematicalFiltersInputContainer, children: /* @__PURE__ */ g(
924
931
  q,
925
932
  {
926
933
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
927
934
  title: r,
928
- isOpen: b == `id${r}`,
935
+ isOpen: C == `id${r}`,
929
936
  onClick: () => M.setState(() => ({
930
- selectedIndicator: b == `id${r}` ? "" : `id${r}`
937
+ selectedIndicator: C == `id${r}` ? "" : `id${r}`
931
938
  })),
932
939
  showBottomBar: !1,
933
940
  height: 38,
934
941
  titleMarginChildren: 14,
935
942
  className: "tematicalFiltersInputContainer",
936
- color: g,
943
+ color: b,
937
944
  activeColor: d,
938
945
  children: [
939
- t == "both" && /* @__PURE__ */ h(
946
+ t == "both" && /* @__PURE__ */ g(
940
947
  "div",
941
948
  {
942
949
  className: Q.inputTypeContainer,
943
- style: { color: g },
950
+ style: { color: b },
944
951
  children: [
945
- /* @__PURE__ */ h("label", { children: [
952
+ /* @__PURE__ */ g("label", { children: [
946
953
  /* @__PURE__ */ i(
947
954
  "input",
948
955
  {
@@ -954,14 +961,14 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
954
961
  },
955
962
  style: {
956
963
  marginRight: 4,
957
- backgroundColor: o == "abs" ? f : "white",
958
- border: `1.5px solid ${o == "abs" ? f : g}`
964
+ backgroundColor: o == "abs" ? v : "white",
965
+ border: `1.5px solid ${o == "abs" ? v : b}`
959
966
  }
960
967
  }
961
968
  ),
962
969
  "Absoluto"
963
970
  ] }),
964
- /* @__PURE__ */ h("label", { children: [
971
+ /* @__PURE__ */ g("label", { children: [
965
972
  /* @__PURE__ */ i(
966
973
  "input",
967
974
  {
@@ -973,8 +980,8 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
973
980
  },
974
981
  style: {
975
982
  marginRight: 4,
976
- backgroundColor: o == "cat" ? f : "white",
977
- border: `1.5px solid ${o == "cat" ? f : g}`
983
+ backgroundColor: o == "cat" ? v : "white",
984
+ border: `1.5px solid ${o == "cat" ? v : b}`
978
985
  }
979
986
  }
980
987
  ),
@@ -983,33 +990,34 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
983
990
  ]
984
991
  }
985
992
  ),
986
- u && /* @__PURE__ */ i("div", { className: Q.checkboxContainer, children: l.map((_, w) => {
987
- var x;
993
+ m && /* @__PURE__ */ i("div", { className: Q.checkboxContainer, children: l.map((w, _) => {
994
+ var N;
988
995
  return /* @__PURE__ */ i(
989
- Ae,
996
+ Oe,
990
997
  {
991
- onClick: () => v({ valueClicked: w, allValues: l }),
992
- indicator: _,
993
- value: ((x = y[s.code[t == "both" ? 1 : 0]]) == null ? void 0 : x.has(w)) || !y[s.code[t == "both" ? 1 : 0]]
998
+ onClick: () => y({ valueClicked: _, allValues: l }),
999
+ indicator: w,
1000
+ value: ((N = x[s.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(_)) || !x[s.code[t == "both" ? 1 : 0]]
994
1001
  },
995
- `checkbox-${w}`
1002
+ `checkbox-${_}`
996
1003
  );
997
1004
  }) }),
998
- m && /* @__PURE__ */ i("div", { className: Q.absoluteSliderContainer, children: /* @__PURE__ */ i(
999
- Oe,
1005
+ f && /* @__PURE__ */ i("div", { className: Q.absoluteSliderContainer, children: /* @__PURE__ */ i(
1006
+ Re,
1000
1007
  {
1001
- onChange: v,
1008
+ onChange: y,
1002
1009
  min: a,
1003
1010
  max: c,
1004
1011
  unit: p,
1005
- value: y[s.code[0]]
1012
+ value: x[s.code[0]],
1013
+ step: u
1006
1014
  }
1007
1015
  ) })
1008
1016
  ]
1009
1017
  }
1010
1018
  ) });
1011
1019
  };
1012
- be.propTypes = {
1020
+ fe.propTypes = {
1013
1021
  indicator: e.shape({
1014
1022
  name: e.string,
1015
1023
  type: e.string,
@@ -1024,7 +1032,7 @@ be.propTypes = {
1024
1032
  activeColor: e.string
1025
1033
  //onChangeBothType: PropTypes.func,
1026
1034
  };
1027
- const Re = ({
1035
+ const Ie = ({
1028
1036
  subcategory: s,
1029
1037
  fontColor: d,
1030
1038
  activeColor: o
@@ -1048,7 +1056,7 @@ const Re = ({
1048
1056
  color: d,
1049
1057
  activeColor: o,
1050
1058
  children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ i(
1051
- be,
1059
+ fe,
1052
1060
  {
1053
1061
  indicator: l,
1054
1062
  fontColor: d,
@@ -1059,7 +1067,7 @@ const Re = ({
1059
1067
  }
1060
1068
  );
1061
1069
  };
1062
- Re.propTypes = {
1070
+ Ie.propTypes = {
1063
1071
  subcategory: e.shape({
1064
1072
  name: e.string,
1065
1073
  indicators: e.arrayOf(
@@ -1072,7 +1080,7 @@ Re.propTypes = {
1072
1080
  activeColor: e.string
1073
1081
  //onChangeBothType: PropTypes.func,
1074
1082
  };
1075
- const Ie = ({
1083
+ const Ve = ({
1076
1084
  category: s,
1077
1085
  // onChangeBothType,
1078
1086
  activeColor: d
@@ -1093,7 +1101,7 @@ const Ie = ({
1093
1101
  color: l,
1094
1102
  activeColor: d,
1095
1103
  children: n ? n.map((a, c) => /* @__PURE__ */ i(
1096
- Re,
1104
+ Ie,
1097
1105
  {
1098
1106
  subcategory: a,
1099
1107
  fontColor: l,
@@ -1101,7 +1109,7 @@ const Ie = ({
1101
1109
  },
1102
1110
  `subcategory-${c}`
1103
1111
  )) : t && t.map((a, c) => /* @__PURE__ */ i(
1104
- be,
1112
+ fe,
1105
1113
  {
1106
1114
  indicator: a,
1107
1115
  fontColor: l,
@@ -1112,7 +1120,7 @@ const Ie = ({
1112
1120
  }
1113
1121
  );
1114
1122
  };
1115
- Ie.propTypes = {
1123
+ Ve.propTypes = {
1116
1124
  category: e.shape({
1117
1125
  name: e.string.isRequired,
1118
1126
  subcategories: e.array,
@@ -1121,7 +1129,7 @@ Ie.propTypes = {
1121
1129
  activeColor: e.string
1122
1130
  //onChangeBothType: PropTypes.func,
1123
1131
  };
1124
- const Ve = ({
1132
+ const Pe = ({
1125
1133
  indicators: s,
1126
1134
  isOpen: d = !0,
1127
1135
  title: o,
@@ -1131,9 +1139,9 @@ const Ve = ({
1131
1139
  activeColor: r
1132
1140
  }) => {
1133
1141
  const { tematicalFiltersSelected: l } = M((c) => c), { t: a } = k();
1134
- return D(() => {
1142
+ return L(() => {
1135
1143
  n && M.setState(() => ({ fontColor: n }));
1136
- }, [n]), D(() => {
1144
+ }, [n]), L(() => {
1137
1145
  t && M.setState(() => ({ inputsColor: t }));
1138
1146
  }, [t]), /* @__PURE__ */ i(
1139
1147
  q,
@@ -1143,7 +1151,7 @@ const Ve = ({
1143
1151
  color: n,
1144
1152
  activeColor: r,
1145
1153
  children: s == null ? void 0 : s.map((c, p) => /* @__PURE__ */ i(
1146
- Ie,
1154
+ Ve,
1147
1155
  {
1148
1156
  category: c,
1149
1157
  fontColor: n,
@@ -1154,7 +1162,7 @@ const Ve = ({
1154
1162
  }
1155
1163
  );
1156
1164
  };
1157
- Ve.propTypes = {
1165
+ Pe.propTypes = {
1158
1166
  isOpen: e.bool,
1159
1167
  title: e.string,
1160
1168
  indicators: e.arrayOf(e.object),
@@ -1163,14 +1171,14 @@ Ve.propTypes = {
1163
1171
  inputsColor: e.string,
1164
1172
  activeColor: e.string
1165
1173
  };
1166
- const cn = "_FiltersAmbitContainer_1g9xx_2", dn = "_FiltersAmbitHeader_1g9xx_7", pn = "_FiltersAmbitTitle_1g9xx_15", un = "_FiltersAmbitDescription_1g9xx_22", mn = "_FiltersAmbitDescriptionTitle_1g9xx_33", hn = "_warning_1g9xx_37", Z = {
1167
- FiltersAmbitContainer: cn,
1168
- FiltersAmbitHeader: dn,
1169
- FiltersAmbitTitle: pn,
1170
- FiltersAmbitDescription: un,
1171
- FiltersAmbitDescriptionTitle: mn,
1172
- warning: hn
1173
- }, gn = ({
1174
+ const dn = "_FiltersAmbitContainer_1g9xx_2", pn = "_FiltersAmbitHeader_1g9xx_7", un = "_FiltersAmbitTitle_1g9xx_15", mn = "_FiltersAmbitDescription_1g9xx_22", hn = "_FiltersAmbitDescriptionTitle_1g9xx_33", gn = "_warning_1g9xx_37", U = {
1175
+ FiltersAmbitContainer: dn,
1176
+ FiltersAmbitHeader: pn,
1177
+ FiltersAmbitTitle: un,
1178
+ FiltersAmbitDescription: mn,
1179
+ FiltersAmbitDescriptionTitle: hn,
1180
+ warning: gn
1181
+ }, Cn = ({
1174
1182
  ambitName: s,
1175
1183
  ambitDescription: d,
1176
1184
  defaultFilters: o,
@@ -1183,54 +1191,54 @@ const cn = "_FiltersAmbitContainer_1g9xx_2", dn = "_FiltersAmbitHeader_1g9xx_7",
1183
1191
  namePlaceholder: p,
1184
1192
  descPlaceholder: u,
1185
1193
  filtersTypes: m,
1186
- nameRequiredText: C
1194
+ nameRequiredText: f
1187
1195
  }) => {
1188
- const { t: b } = k(), { tematicalFiltersSelected: g } = M((T) => T), [f, v] = B(s || null), [y, _] = B(d || null), [w, x] = B(!1);
1189
- D(() => {
1190
- o && o.length > 0 && M.setState((T) => ({
1196
+ const { t: h } = k(), { tematicalFiltersSelected: C } = M((S) => S), [b, v] = B(s || null), [y, x] = B(d || null), [w, _] = B(!1);
1197
+ L(() => {
1198
+ o && o.length > 0 && M.setState((S) => ({
1191
1199
  tematicalFiltersSelected: o
1192
1200
  }));
1193
- }, [o]), D(() => {
1194
- console.log("filtersSelected changed: ", g), a(g);
1195
- }, [g]);
1201
+ }, [o]), L(() => {
1202
+ console.log("filtersSelected changed: ", C), a(C);
1203
+ }, [C]);
1196
1204
  const N = () => {
1197
- console.log("entra"), f ? c({ name: f, description: y }) : (console.log("ei"), x(!0));
1205
+ console.log("entra"), b ? c({ name: b, description: y }) : (console.log("ei"), _(!0));
1198
1206
  };
1199
- return /* @__PURE__ */ h("div", { className: Z.FiltersAmbitContainer, children: [
1200
- /* @__PURE__ */ h("div", { className: Z.FiltersAmbitHeader, children: [
1201
- /* @__PURE__ */ i("div", { className: Z.FiltersAmbitTitle, children: /* @__PURE__ */ i(
1207
+ return /* @__PURE__ */ g("div", { className: U.FiltersAmbitContainer, children: [
1208
+ /* @__PURE__ */ g("div", { className: U.FiltersAmbitHeader, children: [
1209
+ /* @__PURE__ */ i("div", { className: U.FiltersAmbitTitle, children: /* @__PURE__ */ i(
1202
1210
  "input",
1203
1211
  {
1204
1212
  type: "text",
1205
- onChange: (T) => {
1206
- x(!1), v(T.target.value);
1213
+ onChange: (S) => {
1214
+ _(!1), v(S.target.value);
1207
1215
  },
1208
- value: f,
1209
- placeholder: b(p)
1216
+ value: b,
1217
+ placeholder: h(p)
1210
1218
  }
1211
1219
  ) }),
1212
- /* @__PURE__ */ i("div", { className: Z.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: Z.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
1220
+ /* @__PURE__ */ i("div", { className: U.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: U.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
1213
1221
  "textarea",
1214
1222
  {
1215
1223
  value: y,
1216
- onChange: (T) => _(T.target.value),
1217
- placeholder: b(u)
1224
+ onChange: (S) => x(S.target.value),
1225
+ placeholder: h(u)
1218
1226
  }
1219
1227
  ) }) })
1220
1228
  ] }),
1221
1229
  /* @__PURE__ */ i(
1222
- De,
1230
+ $e,
1223
1231
  {
1224
- title: b("applied_filters"),
1232
+ title: h("applied_filters"),
1225
1233
  isOpen: !0,
1226
1234
  textColor: r || "#fff",
1227
1235
  backgroundColor: l || "#605B5680",
1228
1236
  activeColor: t
1229
1237
  }
1230
1238
  ),
1231
- m.includes("geographical") && /* @__PURE__ */ i($e, { activeColor: t }),
1239
+ m.includes("geographical") && /* @__PURE__ */ i(Ae, { activeColor: t }),
1232
1240
  m.includes("tematical") && /* @__PURE__ */ i(
1233
- Ve,
1241
+ Pe,
1234
1242
  {
1235
1243
  indicators: n,
1236
1244
  inputsColor: t,
@@ -1239,11 +1247,11 @@ const cn = "_FiltersAmbitContainer_1g9xx_2", dn = "_FiltersAmbitHeader_1g9xx_7",
1239
1247
  activeColor: t
1240
1248
  }
1241
1249
  ),
1242
- w && /* @__PURE__ */ i("div", { className: Z.warning, children: b(C) }),
1243
- /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Be, { onClick: () => N(), children: b("save_ambit") }) })
1250
+ w && /* @__PURE__ */ i("div", { className: U.warning, children: h(f) }),
1251
+ /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Le, { onClick: () => N(), children: h("save_ambit") }) })
1244
1252
  ] });
1245
1253
  };
1246
- gn.propTypes = {
1254
+ Cn.propTypes = {
1247
1255
  indicators: e.arrayOf(e.object).isRequired,
1248
1256
  ambitName: e.string,
1249
1257
  ambitDescription: e.string,
@@ -1258,9 +1266,9 @@ gn.propTypes = {
1258
1266
  filtersTypes: e.arrayOf(e.string).isRequired,
1259
1267
  nameRequiredText: e.string
1260
1268
  };
1261
- const Cn = "_barChartContainer_d2f1z_2", bn = {
1262
- barChartContainer: Cn
1263
- }, Pe = ({
1269
+ const bn = "_barChartContainer_d2f1z_2", fn = {
1270
+ barChartContainer: bn
1271
+ }, ze = ({
1264
1272
  data: s,
1265
1273
  width: d = 700,
1266
1274
  barHeight: o = 25,
@@ -1272,13 +1280,13 @@ const Cn = "_barChartContainer_d2f1z_2", bn = {
1272
1280
  numberOfDivisions: c = 7,
1273
1281
  maxValue: p = null
1274
1282
  }) => {
1275
- const { t: u } = k(), { xScale: m, ticks: C, height: b } = te(() => {
1283
+ const { t: u } = k(), { xScale: m, ticks: f, height: h } = te(() => {
1276
1284
  if (s && s.length > 0) {
1277
- const g = (s == null ? void 0 : s.length) * (o + n) + r * 2, f = ye.max(s, (_) => _.value) || 1, v = ye.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (_, w) => p ? p / c * w : f / c * w);
1285
+ const C = (s == null ? void 0 : s.length) * (o + n) + r * 2, b = ve.max(s, (x) => x.value) || 1, v = ve.scaleLinear().domain([0, p || b]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, w) => p ? p / c * w : b / c * w);
1278
1286
  return {
1279
1287
  xScale: v,
1280
1288
  ticks: y,
1281
- height: g,
1289
+ height: C,
1282
1290
  width: d,
1283
1291
  verticalPaddign: r,
1284
1292
  horizontalPaddign: l
@@ -1295,33 +1303,33 @@ const Cn = "_barChartContainer_d2f1z_2", bn = {
1295
1303
  r,
1296
1304
  p
1297
1305
  ]);
1298
- return /* @__PURE__ */ i("div", { className: bn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + l * 2, height: b, children: /* @__PURE__ */ h("g", { transform: `translate(0,${n})`, children: [
1299
- /* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children: C.map((g, f) => {
1300
- const v = m(g);
1301
- return /* @__PURE__ */ h("g", { transform: `translate(${v}, 0)`, children: [
1306
+ return /* @__PURE__ */ i("div", { className: fn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + l * 2, height: h, children: /* @__PURE__ */ g("g", { transform: `translate(0,${n})`, children: [
1307
+ /* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children: f.map((C, b) => {
1308
+ const v = m(C);
1309
+ return /* @__PURE__ */ g("g", { transform: `translate(${v}, 0)`, children: [
1302
1310
  /* @__PURE__ */ i(
1303
1311
  "line",
1304
1312
  {
1305
1313
  y1: 0,
1306
- y2: b - n * 2,
1314
+ y2: h - n * 2,
1307
1315
  stroke: "#ccc"
1308
1316
  }
1309
1317
  ),
1310
1318
  /* @__PURE__ */ i(
1311
1319
  "text",
1312
1320
  {
1313
- y: b - n,
1321
+ y: h - n,
1314
1322
  textAnchor: "middle",
1315
1323
  fontSize: 10,
1316
1324
  fill: t,
1317
- children: parseInt(g)
1325
+ children: parseInt(C)
1318
1326
  }
1319
1327
  )
1320
- ] }, f);
1328
+ ] }, b);
1321
1329
  }) }),
1322
- s && s.length > 0 && (s == null ? void 0 : s.map((g, f) => {
1323
- const v = m(g.value), y = f * (o + n);
1324
- return /* @__PURE__ */ h(
1330
+ s && s.length > 0 && (s == null ? void 0 : s.map((C, b) => {
1331
+ const v = m(C.value), y = b * (o + n);
1332
+ return /* @__PURE__ */ g(
1325
1333
  "g",
1326
1334
  {
1327
1335
  transform: `translate(${a + l}, ${y})`,
@@ -1333,7 +1341,7 @@ const Cn = "_barChartContainer_d2f1z_2", bn = {
1333
1341
  y: o / 2 + 5,
1334
1342
  textAnchor: "end",
1335
1343
  fill: t,
1336
- children: u(g.title)
1344
+ children: u(C.title)
1337
1345
  }
1338
1346
  ),
1339
1347
  /* @__PURE__ */ i(
@@ -1341,18 +1349,18 @@ const Cn = "_barChartContainer_d2f1z_2", bn = {
1341
1349
  {
1342
1350
  width: v,
1343
1351
  height: o,
1344
- fill: g.color,
1352
+ fill: C.color,
1345
1353
  rx: 0
1346
1354
  }
1347
1355
  )
1348
1356
  ]
1349
1357
  },
1350
- f
1358
+ b
1351
1359
  );
1352
1360
  }))
1353
1361
  ] }) }) });
1354
1362
  };
1355
- Pe.propTypes = {
1363
+ ze.propTypes = {
1356
1364
  data: e.arrayOf(
1357
1365
  e.shape({
1358
1366
  title: e.string,
@@ -1368,10 +1376,10 @@ Pe.propTypes = {
1368
1376
  numberOfDivisions: e.number,
1369
1377
  fontColor: e.string
1370
1378
  };
1371
- const fn = "_graphicContainer_c9zrg_2", yn = "_titleContainer_c9zrg_14", xe = {
1372
- graphicContainer: fn,
1373
- titleContainer: yn
1374
- }, vn = ({
1379
+ const yn = "_graphicContainer_c9zrg_2", vn = "_titleContainer_c9zrg_14", we = {
1380
+ graphicContainer: yn,
1381
+ titleContainer: vn
1382
+ }, _n = ({
1375
1383
  data: s,
1376
1384
  graphWidth: d = 700,
1377
1385
  containerStyle: o,
@@ -1383,18 +1391,18 @@ const fn = "_graphicContainer_c9zrg_2", yn = "_titleContainer_c9zrg_14", xe = {
1383
1391
  leftPadding: c = 200
1384
1392
  }) => {
1385
1393
  const { t: p } = k();
1386
- return /* @__PURE__ */ h(
1394
+ return /* @__PURE__ */ g(
1387
1395
  "div",
1388
1396
  {
1389
- className: xe.graphicContainer,
1397
+ className: we.graphicContainer,
1390
1398
  style: {
1391
1399
  ...o || {},
1392
1400
  border: `1.5px solid ${n}`
1393
1401
  },
1394
1402
  children: [
1395
- /* @__PURE__ */ i("div", { className: xe.titleContainer, children: /* @__PURE__ */ i("h2", { children: p(t) }) }),
1403
+ /* @__PURE__ */ i("div", { className: we.titleContainer, children: /* @__PURE__ */ i("h2", { children: p(t) }) }),
1396
1404
  /* @__PURE__ */ i(
1397
- Pe,
1405
+ ze,
1398
1406
  {
1399
1407
  data: s,
1400
1408
  width: d,
@@ -1408,7 +1416,7 @@ const fn = "_graphicContainer_c9zrg_2", yn = "_titleContainer_c9zrg_14", xe = {
1408
1416
  }
1409
1417
  );
1410
1418
  };
1411
- vn.propTypes = {
1419
+ _n.propTypes = {
1412
1420
  data: e.arrayOf(
1413
1421
  e.shape({
1414
1422
  color: e.string.isRequired,
@@ -1425,22 +1433,22 @@ vn.propTypes = {
1425
1433
  numberOfDivisions: e.number,
1426
1434
  leftPadding: e.number
1427
1435
  };
1428
- const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu33_11", ae = {
1429
- indicatorsCategory: _n,
1430
- title: xn,
1431
- list: wn
1432
- }, kn = "_indicatorContainer_lw8gx_2", Nn = "_indicatorNameContainer_lw8gx_11", Sn = "_dot_lw8gx_20", Tn = "_indicatorName_lw8gx_11", Mn = "_switchExternalContainer_lw8gx_31", Fn = "_switchType_lw8gx_40", Bn = "_switchTypeOptions_lw8gx_44", Ln = "_optionContainer_lw8gx_55", Dn = "_customRadious_lw8gx_65", $n = "_optionText_lw8gx_72", S = {
1433
- indicatorContainer: kn,
1434
- indicatorNameContainer: Nn,
1435
- dot: Sn,
1436
- indicatorName: Tn,
1437
- switchExternalContainer: Mn,
1438
- switchType: Fn,
1439
- switchTypeOptions: Bn,
1440
- optionContainer: Ln,
1441
- customRadious: Dn,
1442
- optionText: $n
1443
- }, fe = ({
1436
+ const xn = "_indicatorsCategory_1cu33_2", wn = "_title_1cu33_5", kn = "_list_1cu33_11", le = {
1437
+ indicatorsCategory: xn,
1438
+ title: wn,
1439
+ list: kn
1440
+ }, Nn = "_indicatorContainer_lw8gx_2", Sn = "_indicatorNameContainer_lw8gx_11", Tn = "_dot_lw8gx_20", Mn = "_indicatorName_lw8gx_11", Fn = "_switchExternalContainer_lw8gx_31", Bn = "_switchType_lw8gx_40", Ln = "_switchTypeOptions_lw8gx_44", Dn = "_optionContainer_lw8gx_55", $n = "_customRadious_lw8gx_65", An = "_optionText_lw8gx_72", T = {
1441
+ indicatorContainer: Nn,
1442
+ indicatorNameContainer: Sn,
1443
+ dot: Tn,
1444
+ indicatorName: Mn,
1445
+ switchExternalContainer: Fn,
1446
+ switchType: Bn,
1447
+ switchTypeOptions: Ln,
1448
+ optionContainer: Dn,
1449
+ customRadious: $n,
1450
+ optionText: An
1451
+ }, ye = ({
1444
1452
  indicator: s,
1445
1453
  values: d = [],
1446
1454
  activeColor: o,
@@ -1451,25 +1459,25 @@ const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu
1451
1459
  multiple: a = !1,
1452
1460
  onChangeType: c
1453
1461
  }) => {
1454
- const { t: p } = k(), { name: u, type: m } = s, [C, b] = B(!1);
1455
- D(() => {
1456
- t && b(
1462
+ const { t: p } = k(), { name: u, type: m } = s, [f, h] = B(!1);
1463
+ L(() => {
1464
+ t && h(
1457
1465
  a ? t.some(
1458
1466
  (v) => v.name == String(u)
1459
1467
  ) : t.name == u
1460
1468
  );
1461
1469
  }, [t]);
1462
- const g = () => /* @__PURE__ */ i("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: S.switchType, children: /* @__PURE__ */ h("div", { className: S.switchTypeOptions, children: [
1463
- /* @__PURE__ */ h(
1470
+ const C = () => /* @__PURE__ */ i("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: T.switchType, children: /* @__PURE__ */ g("div", { className: T.switchTypeOptions, children: [
1471
+ /* @__PURE__ */ g(
1464
1472
  "div",
1465
1473
  {
1466
- className: S.optionContainer,
1474
+ className: T.optionContainer,
1467
1475
  onClick: () => c("cat"),
1468
1476
  children: [
1469
1477
  /* @__PURE__ */ i(
1470
1478
  "span",
1471
1479
  {
1472
- className: `${S.customRadious}`,
1480
+ className: `${T.customRadious}`,
1473
1481
  style: {
1474
1482
  backgroundColor: r === "cat" ? o : "transparent",
1475
1483
  borderColor: r === "cat" ? o : n
@@ -1479,7 +1487,7 @@ const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu
1479
1487
  /* @__PURE__ */ i(
1480
1488
  "h4",
1481
1489
  {
1482
- className: S.optionText,
1490
+ className: T.optionText,
1483
1491
  style: {
1484
1492
  color: r === "cat" ? o : n
1485
1493
  },
@@ -1489,16 +1497,16 @@ const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu
1489
1497
  ]
1490
1498
  }
1491
1499
  ),
1492
- /* @__PURE__ */ h(
1500
+ /* @__PURE__ */ g(
1493
1501
  "div",
1494
1502
  {
1495
- className: S.optionContainer,
1503
+ className: T.optionContainer,
1496
1504
  onClick: () => c("abs"),
1497
1505
  children: [
1498
1506
  /* @__PURE__ */ i(
1499
1507
  "span",
1500
1508
  {
1501
- className: `${S.customRadious}`,
1509
+ className: `${T.customRadious}`,
1502
1510
  style: {
1503
1511
  backgroundColor: r === "abs" ? o : "transparent",
1504
1512
  borderColor: r === "abs" ? o : n
@@ -1508,7 +1516,7 @@ const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu
1508
1516
  /* @__PURE__ */ i(
1509
1517
  "h4",
1510
1518
  {
1511
- className: S.optionText,
1519
+ className: T.optionText,
1512
1520
  style: {
1513
1521
  color: r === "abs" ? o : n
1514
1522
  },
@@ -1518,15 +1526,15 @@ const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu
1518
1526
  ]
1519
1527
  }
1520
1528
  )
1521
- ] }) }) }), f = () => /* @__PURE__ */ i("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: S.switchType, children: /* @__PURE__ */ i("div", { className: S.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ h(
1529
+ ] }) }) }), b = () => /* @__PURE__ */ i("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: T.switchType, children: /* @__PURE__ */ i("div", { className: T.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ g(
1522
1530
  "div",
1523
1531
  {
1524
- className: S.optionContainer,
1532
+ className: T.optionContainer,
1525
1533
  children: [
1526
1534
  /* @__PURE__ */ i(
1527
1535
  "span",
1528
1536
  {
1529
- className: S.customRadious
1537
+ className: T.customRadious
1530
1538
  }
1531
1539
  ),
1532
1540
  /* @__PURE__ */ i("h4", { children: p(v.unit) })
@@ -1534,38 +1542,38 @@ const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu
1534
1542
  },
1535
1543
  y
1536
1544
  )) }) }) });
1537
- return /* @__PURE__ */ h("div", { className: S.indicatorContainer, children: [
1538
- /* @__PURE__ */ h(
1545
+ return /* @__PURE__ */ g("div", { className: T.indicatorContainer, children: [
1546
+ /* @__PURE__ */ g(
1539
1547
  "div",
1540
1548
  {
1541
- className: S.indicatorNameContainer,
1549
+ className: T.indicatorNameContainer,
1542
1550
  onClick: () => l({ indicator: s }),
1543
1551
  children: [
1544
1552
  /* @__PURE__ */ i(
1545
1553
  "div",
1546
1554
  {
1547
1555
  style: {
1548
- border: C ? `1px solid ${o}` : `1px solid ${n}`
1556
+ border: f ? `1px solid ${o}` : `1px solid ${n}`
1549
1557
  },
1550
- className: S.dot
1558
+ className: T.dot
1551
1559
  }
1552
1560
  ),
1553
1561
  /* @__PURE__ */ i(
1554
1562
  "h4",
1555
1563
  {
1556
- className: S.indicatorName,
1557
- style: { color: C ? o : n },
1558
- children: /* @__PURE__ */ i(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ i("sup", {}) } })
1564
+ className: T.indicatorName,
1565
+ style: { color: f ? o : n },
1566
+ children: /* @__PURE__ */ i(Ce, { i18nKey: u, components: { sup: /* @__PURE__ */ i("sup", {}) } })
1559
1567
  }
1560
1568
  )
1561
1569
  ]
1562
1570
  }
1563
1571
  ),
1564
- (t == null ? void 0 : t.name) === u && m === "both" && /* @__PURE__ */ i("div", { children: g() }),
1565
- (t == null ? void 0 : t.name) === u && m === "twoUnits" && /* @__PURE__ */ i("div", { children: f() })
1572
+ (t == null ? void 0 : t.name) === u && m === "both" && /* @__PURE__ */ i("div", { children: C() }),
1573
+ (t == null ? void 0 : t.name) === u && m === "twoUnits" && /* @__PURE__ */ i("div", { children: b() })
1566
1574
  ] });
1567
1575
  };
1568
- fe.propTypes = {
1576
+ ye.propTypes = {
1569
1577
  indicator: e.shape({
1570
1578
  name: e.string,
1571
1579
  type: e.string
@@ -1577,10 +1585,10 @@ fe.propTypes = {
1577
1585
  multiple: e.bool,
1578
1586
  onClickIndicator: e.func
1579
1587
  };
1580
- const An = "_indicatorsSubCategory_1dzsi_2", On = "_list_1dzsi_8", we = {
1581
- indicatorsSubCategory: An,
1582
- list: On
1583
- }, ze = ({
1588
+ const On = "_indicatorsSubCategory_1dzsi_2", Rn = "_list_1dzsi_8", ke = {
1589
+ indicatorsSubCategory: On,
1590
+ list: Rn
1591
+ }, je = ({
1584
1592
  subcName: s,
1585
1593
  indicators: d,
1586
1594
  defaultColor: o,
@@ -1594,31 +1602,31 @@ const An = "_indicatorsSubCategory_1dzsi_2", On = "_list_1dzsi_8", we = {
1594
1602
  activeIndicatorType: u,
1595
1603
  onChangeType: m
1596
1604
  }) => {
1597
- const { t: C } = k(), [b, g] = B(!1);
1598
- return D(() => {
1599
- g(t == l);
1600
- }, [t, l]), /* @__PURE__ */ h(
1601
- Ce.div,
1605
+ const { t: f } = k(), [h, C] = B(!1);
1606
+ return L(() => {
1607
+ C(t == l);
1608
+ }, [t, l]), /* @__PURE__ */ g(
1609
+ be.div,
1602
1610
  {
1603
- className: we.indicatorsSubCategory,
1611
+ className: ke.indicatorsSubCategory,
1604
1612
  initial: { height: "43px" },
1605
- animate: { height: b ? "auto" : "43px" },
1613
+ animate: { height: h ? "auto" : "43px" },
1606
1614
  transition: { duration: 0.4 },
1607
1615
  children: [
1608
- /* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: b ? n : o }, children: [
1609
- /* @__PURE__ */ i("span", { style: { color: b ? n : o }, children: b ? "-" : "+" }),
1616
+ /* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */ g("h3", { style: { color: h ? n : o }, children: [
1617
+ /* @__PURE__ */ i("span", { style: { color: h ? n : o }, children: h ? "-" : "+" }),
1610
1618
  /* @__PURE__ */ i(
1611
1619
  "span",
1612
1620
  {
1613
- style: { marginLeft: 12, color: b ? n : o },
1614
- children: C(s)
1621
+ style: { marginLeft: 12, color: h ? n : o },
1622
+ children: f(s)
1615
1623
  }
1616
1624
  )
1617
1625
  ] }) }),
1618
- d && /* @__PURE__ */ i("div", { className: we.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ i(
1619
- fe,
1626
+ d && /* @__PURE__ */ i("div", { className: ke.list, children: d == null ? void 0 : d.map((b, v) => /* @__PURE__ */ i(
1627
+ ye,
1620
1628
  {
1621
- indicator: f,
1629
+ indicator: b,
1622
1630
  defaultColor: o,
1623
1631
  activeColor: n,
1624
1632
  activeIndicator: a,
@@ -1633,7 +1641,7 @@ const An = "_indicatorsSubCategory_1dzsi_2", On = "_list_1dzsi_8", we = {
1633
1641
  }
1634
1642
  );
1635
1643
  };
1636
- ze.propTypes = {
1644
+ je.propTypes = {
1637
1645
  subcName: e.string,
1638
1646
  indicators: e.array,
1639
1647
  activeColor: e.string,
@@ -1645,7 +1653,7 @@ ze.propTypes = {
1645
1653
  onClickSubCategory: e.func,
1646
1654
  onClickIndicator: e.func
1647
1655
  };
1648
- const je = ({
1656
+ const qe = ({
1649
1657
  cat: s,
1650
1658
  id: d,
1651
1659
  activeColor: o,
@@ -1658,40 +1666,40 @@ const je = ({
1658
1666
  onClickIndicator: p,
1659
1667
  multiple: u,
1660
1668
  activeIndicatorType: m,
1661
- onChangeType: C
1669
+ onChangeType: f
1662
1670
  }) => {
1663
1671
  var v;
1664
- const { t: b } = k(), [g, f] = B(!1);
1665
- return D(() => {
1666
- f(r === d);
1667
- }, [r, d]), /* @__PURE__ */ h(
1668
- Ce.div,
1672
+ const { t: h } = k(), [C, b] = B(!1);
1673
+ return L(() => {
1674
+ b(r === d);
1675
+ }, [r, d]), /* @__PURE__ */ g(
1676
+ be.div,
1669
1677
  {
1670
- className: ae.indicatorsCategory,
1678
+ className: le.indicatorsCategory,
1671
1679
  initial: { height: "53px" },
1672
- animate: { height: g ? "auto" : "53px" },
1680
+ animate: { height: C ? "auto" : "53px" },
1673
1681
  transition: { duration: 0.4 },
1674
1682
  style: {
1675
1683
  backgroundColor: "white",
1676
- borderBottom: g ? `1px solid ${o}` : "0px",
1677
- marginBottom: g ? "20px" : "0px"
1684
+ borderBottom: C ? `1px solid ${o}` : "0px",
1685
+ marginBottom: C ? "20px" : "0px"
1678
1686
  },
1679
1687
  children: [
1680
- /* @__PURE__ */ h("h2", { className: `${ae.title}`, onClick: () => t(d), children: [
1681
- /* @__PURE__ */ i("span", { style: { color: g ? o : n }, children: g ? "-" : "+" }),
1688
+ /* @__PURE__ */ g("h2", { className: `${le.title}`, onClick: () => t(d), children: [
1689
+ /* @__PURE__ */ i("span", { style: { color: C ? o : n }, children: C ? "-" : "+" }),
1682
1690
  /* @__PURE__ */ i(
1683
1691
  "span",
1684
1692
  {
1685
- style: { marginLeft: 12, color: g ? o : n },
1686
- children: b(s.name)
1693
+ style: { marginLeft: 12, color: C ? o : n },
1694
+ children: h(s.name)
1687
1695
  }
1688
1696
  )
1689
1697
  ] }),
1690
1698
  s.subcategories ? s.subcategories.map(
1691
- ({ name: y, subcategory: _, indicators: w }, x) => /* @__PURE__ */ i(
1692
- ze,
1699
+ ({ name: y, subcategory: x, indicators: w }, _) => /* @__PURE__ */ i(
1700
+ je,
1693
1701
  {
1694
- id: _,
1702
+ id: x,
1695
1703
  activeSubCategory: l,
1696
1704
  subcName: y,
1697
1705
  onClickSubCategory: a,
@@ -1702,12 +1710,12 @@ const je = ({
1702
1710
  defaultColor: n,
1703
1711
  indicators: w,
1704
1712
  activeIndicatorType: m,
1705
- onChangeType: C
1713
+ onChangeType: f
1706
1714
  },
1707
- `subcKey ${x}`
1715
+ `subcKey ${_}`
1708
1716
  )
1709
- ) : /* @__PURE__ */ i("div", { className: ae.list, children: (v = s.indicators) == null ? void 0 : v.map((y, _) => /* @__PURE__ */ i(
1710
- fe,
1717
+ ) : /* @__PURE__ */ i("div", { className: le.list, children: (v = s.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ i(
1718
+ ye,
1711
1719
  {
1712
1720
  indicator: y,
1713
1721
  values: y.type == "twoUnits" && y.values,
@@ -1717,15 +1725,15 @@ const je = ({
1717
1725
  onClickIndicator: p,
1718
1726
  multiple: u,
1719
1727
  activeIndicatorType: m,
1720
- onChangeType: C
1728
+ onChangeType: f
1721
1729
  },
1722
- `indicator${_}`
1730
+ `indicator${x}`
1723
1731
  )) })
1724
1732
  ]
1725
1733
  }
1726
1734
  );
1727
1735
  };
1728
- je.propTypes = {
1736
+ qe.propTypes = {
1729
1737
  cat: e.object,
1730
1738
  id: e.string,
1731
1739
  onChange: e.func,
@@ -1739,10 +1747,10 @@ je.propTypes = {
1739
1747
  activeColor: e.string,
1740
1748
  defaultColor: e.string
1741
1749
  };
1742
- const Rn = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
1743
- indicatorsList: Rn,
1744
- title: In
1745
- }, Vn = ({
1750
+ const In = "_indicatorsList_fklyu_2", Vn = "_title_fklyu_6", Ne = {
1751
+ indicatorsList: In,
1752
+ title: Vn
1753
+ }, Pn = ({
1746
1754
  indicators: s,
1747
1755
  activeColor: d,
1748
1756
  defaultColor: o = "#92898A",
@@ -1756,64 +1764,64 @@ const Rn = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
1756
1764
  changeIndType: l,
1757
1765
  activeIndicatorType: a
1758
1766
  }) => {
1759
- const { t: c } = k(), [p, u] = B(), [m, C] = B(), [b, g] = B(), f = (x) => {
1760
- u(p == x ? null : x);
1761
- }, v = (x) => {
1762
- C(m == x ? null : x);
1763
- }, y = ({ indicator: x }) => {
1764
- console.log("onClickIndicator: ", x), _(x);
1765
- }, _ = (x) => {
1767
+ const { t: c } = k(), [p, u] = B(), [m, f] = B(), [h, C] = B(), b = (_) => {
1768
+ u(p == _ ? null : _);
1769
+ }, v = (_) => {
1770
+ f(m == _ ? null : _);
1771
+ }, y = ({ indicator: _ }) => {
1772
+ console.log("onClickIndicator: ", _), x(_);
1773
+ }, x = (_) => {
1766
1774
  if (!t)
1767
- g(
1768
- (b == null ? void 0 : b.name) == x.name ? null : x
1775
+ C(
1776
+ (h == null ? void 0 : h.name) == _.name ? null : _
1769
1777
  );
1770
1778
  else {
1771
- let N = b && b.length > 0 ? [...b] : [];
1772
- g(
1779
+ let N = h && h.length > 0 ? [...h] : [];
1780
+ C(
1773
1781
  N != null && N.some(
1774
- (T) => T.name == x.name
1782
+ (S) => S.name == _.name
1775
1783
  ) ? N.filter(
1776
- (T) => T.name != String(x.name)
1777
- ) : [...N, x]
1778
- ), x.type == "both" && l("cat");
1784
+ (S) => S.name != String(_.name)
1785
+ ) : [...N, _]
1786
+ ), _.type == "both" && l("cat");
1779
1787
  }
1780
1788
  };
1781
- D(() => {
1782
- console.log("activeindicator changed to: ", b), n && typeof n == "function" && b && n({ activeIndicator: b });
1783
- }, [b]), Ke(() => {
1784
- if (r && !b)
1789
+ L(() => {
1790
+ console.log("activeindicator changed to: ", h), n && typeof n == "function" && h && n({ activeIndicator: h });
1791
+ }, [h]), Ue(() => {
1792
+ if (r && !h)
1785
1793
  if (t && r && Array.isArray(r)) {
1786
- let x = b && b.length > 0 ? [...b] : [];
1787
- g([...x, ...r]), w(r[0].name);
1794
+ let _ = h && h.length > 0 ? [...h] : [];
1795
+ C([..._, ...r]), w(r[0].name);
1788
1796
  } else
1789
- _(r), w(r.name);
1797
+ x(r), w(r.name);
1790
1798
  }, []);
1791
- const w = (x) => {
1792
- const N = s.find((T) => {
1793
- if (T.subcategories) {
1794
- let A = T.subcategories.find(
1795
- (ne) => ne.indicators.find((G) => G.name == x)
1799
+ const w = (_) => {
1800
+ const N = s.find((S) => {
1801
+ if (S.subcategories) {
1802
+ let A = S.subcategories.find(
1803
+ (G) => G.indicators.find((ne) => ne.name == _)
1796
1804
  );
1797
1805
  if (A)
1798
- return C(A.subcategory), A;
1806
+ return f(A.subcategory), A;
1799
1807
  } else
1800
- return T.indicators.some((A) => A.name == x);
1808
+ return S.indicators.some((A) => A.name == _);
1801
1809
  });
1802
1810
  N && u(N.category);
1803
1811
  };
1804
- return /* @__PURE__ */ h("div", { className: ke.indicatorsList, children: [
1805
- /* @__PURE__ */ i("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
1806
- s.map((x, N) => /* @__PURE__ */ i(
1807
- je,
1812
+ return /* @__PURE__ */ g("div", { className: Ne.indicatorsList, children: [
1813
+ /* @__PURE__ */ i("h2", { className: Ne.title, style: { color: o }, children: c("indicators.indicators") }),
1814
+ s.map((_, N) => /* @__PURE__ */ i(
1815
+ qe,
1808
1816
  {
1809
- id: x.category,
1810
- cat: x,
1811
- onClickCategory: f,
1817
+ id: _.category,
1818
+ cat: _,
1819
+ onClickCategory: b,
1812
1820
  activeCategory: p,
1813
1821
  onClickSubCategory: v,
1814
1822
  activeSubCategory: m,
1815
1823
  onClickIndicator: y,
1816
- activeIndicator: b,
1824
+ activeIndicator: h,
1817
1825
  activeColor: d,
1818
1826
  defaultColor: o,
1819
1827
  multiple: t,
@@ -1825,7 +1833,7 @@ const Rn = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
1825
1833
  ))
1826
1834
  ] });
1827
1835
  };
1828
- Vn.propTypes = {
1836
+ Pn.propTypes = {
1829
1837
  indicators: e.arrayOf(e.object),
1830
1838
  activeColor: e.string,
1831
1839
  defaultColor: e.string,
@@ -1836,35 +1844,35 @@ Vn.propTypes = {
1836
1844
  defaultValue: e.oneOfType([e.object, e.array]),
1837
1845
  activeIndicatorType: e.string
1838
1846
  };
1839
- const Pn = "_langSelector_o9enq_2", zn = "_currentLang_o9enq_14", jn = "_arrow_o9enq_26", qn = "_prevImg_o9enq_29", En = "_langMenu_o9enq_33", U = {
1840
- langSelector: Pn,
1841
- currentLang: zn,
1842
- arrow: jn,
1843
- prevImg: qn,
1844
- langMenu: En
1845
- }, Kn = ({ langs: s, arrow: d, imgPrev: o }) => {
1847
+ const zn = "_langSelector_o9enq_2", jn = "_currentLang_o9enq_14", qn = "_arrow_o9enq_26", En = "_prevImg_o9enq_29", Kn = "_langMenu_o9enq_33", Z = {
1848
+ langSelector: zn,
1849
+ currentLang: jn,
1850
+ arrow: qn,
1851
+ prevImg: En,
1852
+ langMenu: Kn
1853
+ }, Un = ({ langs: s, arrow: d, imgPrev: o }) => {
1846
1854
  const [n, t] = B(!1), { i18n: r } = k(), l = s.find((c) => c.code == r.language), a = (c) => {
1847
1855
  r.changeLanguage(c), t(!1);
1848
1856
  };
1849
- return /* @__PURE__ */ h("div", { className: U.langSelector, children: [
1850
- /* @__PURE__ */ h(
1857
+ return /* @__PURE__ */ g("div", { className: Z.langSelector, children: [
1858
+ /* @__PURE__ */ g(
1851
1859
  "div",
1852
1860
  {
1853
- className: U.currentLang,
1861
+ className: Z.currentLang,
1854
1862
  onClick: () => {
1855
1863
  t(!n);
1856
1864
  },
1857
1865
  children: [
1858
- o && /* @__PURE__ */ i("img", { className: U.prevImg, src: o }),
1866
+ o && /* @__PURE__ */ i("img", { className: Z.prevImg, src: o }),
1859
1867
  (l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
1860
- /* @__PURE__ */ i("img", { src: d, className: U.arrow })
1868
+ /* @__PURE__ */ i("img", { src: d, className: Z.arrow })
1861
1869
  ]
1862
1870
  }
1863
1871
  ),
1864
- n && /* @__PURE__ */ i("div", { className: U.langMenu, children: s.map((c) => /* @__PURE__ */ i(
1872
+ n && /* @__PURE__ */ i("div", { className: Z.langMenu, children: s.map((c) => /* @__PURE__ */ i(
1865
1873
  "button",
1866
1874
  {
1867
- className: (l == null ? void 0 : l.code) == c.code ? U.active : "",
1875
+ className: (l == null ? void 0 : l.code) == c.code ? Z.active : "",
1868
1876
  onClick: () => a(c.code),
1869
1877
  children: c.title
1870
1878
  },
@@ -1872,7 +1880,7 @@ const Pn = "_langSelector_o9enq_2", zn = "_currentLang_o9enq_14", jn = "_arrow_o
1872
1880
  )) })
1873
1881
  ] });
1874
1882
  };
1875
- Kn.propTypes = {
1883
+ Un.propTypes = {
1876
1884
  langs: e.arrayOf(
1877
1885
  e.shape({
1878
1886
  code: e.string,
@@ -1886,21 +1894,21 @@ Kn.propTypes = {
1886
1894
  arrow: e.object,
1887
1895
  imgPrev: e.object
1888
1896
  };
1889
- const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titleContainer_atg3j_46", Gn = "_infoContainer_atg3j_52", Yn = "_titleLegendList_atg3j_63", Wn = "_legendListContainer_atg3j_70", Xn = "_gridContainer_atg3j_70", Jn = "_elementLegendContainer_atg3j_76", Qn = "_colorDot_atg3j_82", ei = "_absoluteValueContainer_atg3j_88", ti = "_absoluteValueColor_atg3j_91", ni = "_absoluteValueText_atg3j_96", ii = "_moreInfoContainer_atg3j_108", F = {
1897
+ const Zn = "_legendContainer_atg3j_3", Hn = "_closeButton_atg3j_18", Gn = "_titleContainer_atg3j_46", Yn = "_infoContainer_atg3j_52", Wn = "_titleLegendList_atg3j_63", Xn = "_legendListContainer_atg3j_70", Jn = "_gridContainer_atg3j_70", Qn = "_elementLegendContainer_atg3j_76", ei = "_colorDot_atg3j_82", ti = "_absoluteValueContainer_atg3j_88", ni = "_absoluteValueColor_atg3j_91", ii = "_absoluteValueText_atg3j_96", si = "_moreInfoContainer_atg3j_108", F = {
1890
1898
  legendContainer: Zn,
1891
- closeButton: Un,
1892
- titleContainer: Hn,
1893
- infoContainer: Gn,
1894
- titleLegendList: Yn,
1895
- legendListContainer: Wn,
1896
- gridContainer: Xn,
1897
- elementLegendContainer: Jn,
1898
- colorDot: Qn,
1899
- absoluteValueContainer: ei,
1900
- absoluteValueColor: ti,
1901
- absoluteValueText: ni,
1902
- moreInfoContainer: ii
1903
- }, si = ({
1899
+ closeButton: Hn,
1900
+ titleContainer: Gn,
1901
+ infoContainer: Yn,
1902
+ titleLegendList: Wn,
1903
+ legendListContainer: Xn,
1904
+ gridContainer: Jn,
1905
+ elementLegendContainer: Qn,
1906
+ colorDot: ei,
1907
+ absoluteValueContainer: ti,
1908
+ absoluteValueColor: ni,
1909
+ absoluteValueText: ii,
1910
+ moreInfoContainer: si
1911
+ }, oi = ({
1904
1912
  //JSON with the styles of the container (optional)
1905
1913
  containerStyles: s,
1906
1914
  //Title on top of the legend
@@ -1924,7 +1932,7 @@ const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titl
1924
1932
  onClickClose: c
1925
1933
  }) => {
1926
1934
  const { t: p } = k();
1927
- return /* @__PURE__ */ h(
1935
+ return /* @__PURE__ */ g(
1928
1936
  "div",
1929
1937
  {
1930
1938
  style: s ? { ...s } : {},
@@ -1932,15 +1940,15 @@ const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titl
1932
1940
  children: [
1933
1941
  /* @__PURE__ */ i("button", { className: F.closeButton, onClick: c }),
1934
1942
  d && /* @__PURE__ */ i("div", { className: F.titleContainer, children: /* @__PURE__ */ i("h2", { children: d }) }),
1935
- o && o.length > 0 && /* @__PURE__ */ i("div", { className: F.infoContainer, children: /* @__PURE__ */ i("ul", { children: o.map(({ title: u, value: m }) => /* @__PURE__ */ h("li", { children: [
1943
+ o && o.length > 0 && /* @__PURE__ */ i("div", { className: F.infoContainer, children: /* @__PURE__ */ i("ul", { children: o.map(({ title: u, value: m }) => /* @__PURE__ */ g("li", { children: [
1936
1944
  /* @__PURE__ */ i("h3", { className: F.title, children: `${u}:` }),
1937
- /* @__PURE__ */ h("span", { className: F.value, children: [
1945
+ /* @__PURE__ */ g("span", { className: F.value, children: [
1938
1946
  "  ",
1939
1947
  m
1940
1948
  ] })
1941
1949
  ] }, d)) }) }),
1942
- /* @__PURE__ */ i("h3", { className: F.titleLegendList, children: t ? /* @__PURE__ */ i(ge, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) } }) : p("mainUse") }),
1943
- /* @__PURE__ */ i("div", { className: F.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: F.absoluteValueContainer, children: [
1950
+ /* @__PURE__ */ i("h3", { className: F.titleLegendList, children: t ? /* @__PURE__ */ i(Ce, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) } }) : p("mainUse") }),
1951
+ /* @__PURE__ */ i("div", { className: F.legendListContainer, children: r ? /* @__PURE__ */ g("div", { className: F.absoluteValueContainer, children: [
1944
1952
  /* @__PURE__ */ i(
1945
1953
  "div",
1946
1954
  {
@@ -1950,20 +1958,20 @@ const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titl
1950
1958
  }
1951
1959
  }
1952
1960
  ),
1953
- /* @__PURE__ */ h("div", { className: F.absoluteValueText, children: [
1954
- /* @__PURE__ */ h("span", { children: [
1961
+ /* @__PURE__ */ g("div", { className: F.absoluteValueText, children: [
1962
+ /* @__PURE__ */ g("span", { children: [
1955
1963
  r.maxValue,
1956
1964
  " ",
1957
1965
  p(r.unit)
1958
1966
  ] }),
1959
- /* @__PURE__ */ h("span", { children: [
1967
+ /* @__PURE__ */ g("span", { children: [
1960
1968
  r.minValue,
1961
1969
  " ",
1962
1970
  p(r.unit)
1963
1971
  ] })
1964
1972
  ] })
1965
1973
  ] }) : n && n.length > 0 && /* @__PURE__ */ i("div", { className: F.gridContainer, children: n.map(
1966
- ({ title: u, color: m }) => /* @__PURE__ */ h("div", { className: F.elementLegendContainer, children: [
1974
+ ({ title: u, color: m }) => /* @__PURE__ */ g("div", { className: F.elementLegendContainer, children: [
1967
1975
  /* @__PURE__ */ i(
1968
1976
  "div",
1969
1977
  {
@@ -1971,7 +1979,7 @@ const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titl
1971
1979
  style: { backgroundColor: m }
1972
1980
  }
1973
1981
  ),
1974
- /* @__PURE__ */ h("div", { className: F.titleLegendElement, children: [
1982
+ /* @__PURE__ */ g("div", { className: F.titleLegendElement, children: [
1975
1983
  p(u),
1976
1984
  " "
1977
1985
  ] })
@@ -1982,7 +1990,7 @@ const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titl
1982
1990
  }
1983
1991
  );
1984
1992
  };
1985
- si.propTypes = {
1993
+ oi.propTypes = {
1986
1994
  title: e.string,
1987
1995
  containerStyles: e.object,
1988
1996
  infoList: e.arrayOf(
@@ -2008,23 +2016,23 @@ si.propTypes = {
2008
2016
  buttonTitle: e.string,
2009
2017
  onClickClose: e.func
2010
2018
  };
2011
- const oi = "_logo_1ewa6_2", Ne = {
2012
- logo: oi
2013
- }, ri = ({ src: s, alt: d, href: o }) => {
2019
+ const ri = "_logo_1ewa6_2", Se = {
2020
+ logo: ri
2021
+ }, ai = ({ src: s, alt: d, href: o }) => {
2014
2022
  const { t: n } = k(), t = /* @__PURE__ */ i("img", { src: s, alt: n(d) });
2015
- return o ? /* @__PURE__ */ i("div", { className: Ne.logo, children: /* @__PURE__ */ i("a", { href: o, children: t }) }) : /* @__PURE__ */ i("div", { className: Ne.logo, children: t });
2023
+ return o ? /* @__PURE__ */ i("div", { className: Se.logo, children: /* @__PURE__ */ i("a", { href: o, children: t }) }) : /* @__PURE__ */ i("div", { className: Se.logo, children: t });
2016
2024
  };
2017
- ri.propTypes = {
2025
+ ai.propTypes = {
2018
2026
  src: e.string.isRequired,
2019
2027
  alt: e.string.isRequired,
2020
2028
  href: e.string,
2021
2029
  className: e.string
2022
2030
  };
2023
- const ai = "_mapContainer_84pkf_2", li = {
2024
- mapContainer: ai
2031
+ const li = "_mapContainer_84pkf_2", ci = {
2032
+ mapContainer: li
2025
2033
  };
2026
- Ue.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2027
- const ci = ({
2034
+ He.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2035
+ const di = ({
2028
2036
  initialView: s = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2029
2037
  maxZoom: d = 17,
2030
2038
  minZoom: o = 8,
@@ -2037,16 +2045,16 @@ const ci = ({
2037
2045
  sources: p = [],
2038
2046
  layers: u = []
2039
2047
  }) => {
2040
- const m = he(), [C, b] = B(null), g = de((f) => f.mapState.showTexts);
2041
- return D(() => {
2048
+ const m = ge(), [f, h] = B(null), C = pe((b) => b.mapState.showTexts);
2049
+ return L(() => {
2042
2050
  if (m.current) {
2043
- const f = m.current.getMap();
2044
- f.getStyle().layers.map((y) => {
2045
- y.type == "symbol" && y.id != "professionals" && (g ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2051
+ const b = m.current.getMap();
2052
+ b.getStyle().layers.map((y) => {
2053
+ y.type == "symbol" && y.id != "professionals" && (C ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
2046
2054
  });
2047
2055
  }
2048
- }, [g]), /* @__PURE__ */ i("div", { className: `${li.mapContainer}`, style: r, children: /* @__PURE__ */ h(
2049
- He,
2056
+ }, [C]), /* @__PURE__ */ i("div", { className: `${ci.mapContainer}`, style: r, children: /* @__PURE__ */ g(
2057
+ Ge,
2050
2058
  {
2051
2059
  initialViewState: s,
2052
2060
  ref: m,
@@ -2057,31 +2065,31 @@ const ci = ({
2057
2065
  onClick: l,
2058
2066
  interactiveLayerIds: a,
2059
2067
  children: [
2060
- p.length && p.map((f, v) => /* @__PURE__ */ i(
2061
- Ge,
2068
+ p.length && p.map((b, v) => /* @__PURE__ */ i(
2069
+ Ye,
2062
2070
  {
2063
- ...f,
2064
- children: u.length && u.map((y, _) => {
2065
- if (y.sourceId == f.id) return /* @__PURE__ */ i(
2066
- Ye,
2071
+ ...b,
2072
+ children: u.length && u.map((y, x) => {
2073
+ if (y.sourceId == b.id) return /* @__PURE__ */ i(
2074
+ We,
2067
2075
  {
2068
2076
  ...y.layer,
2069
2077
  beforeId: t
2070
2078
  },
2071
- _
2079
+ x
2072
2080
  );
2073
2081
  })
2074
2082
  },
2075
2083
  v
2076
2084
  )),
2077
- /* @__PURE__ */ i(We, { position: "bottom-right", visualizePitch: !0 }),
2078
- c && C && /* @__PURE__ */ i(
2079
- Xe,
2085
+ /* @__PURE__ */ i(Xe, { position: "bottom-right", visualizePitch: !0 }),
2086
+ c && f && /* @__PURE__ */ i(
2087
+ Je,
2080
2088
  {
2081
2089
  longitude: c.longitude,
2082
2090
  latitude: c.latitude,
2083
2091
  anchor: c.anchor,
2084
- onClose: () => b(null),
2092
+ onClose: () => h(null),
2085
2093
  children: c.content
2086
2094
  }
2087
2095
  )
@@ -2089,7 +2097,7 @@ const ci = ({
2089
2097
  }
2090
2098
  ) });
2091
2099
  };
2092
- ci.propTypes = {
2100
+ di.propTypes = {
2093
2101
  initialView: e.shape({
2094
2102
  latitude: e.number.isRequired,
2095
2103
  longitude: e.number.isRequired,
@@ -2134,23 +2142,23 @@ ci.propTypes = {
2134
2142
  })
2135
2143
  )
2136
2144
  };
2137
- const di = "_mapContainer_b0pyr_3", pi = {
2138
- mapContainer: di
2139
- }, ui = "_FeaturePopUp_1gd6w_2", mi = "_title_1gd6w_2", Se = {
2140
- FeaturePopUp: ui,
2141
- title: mi
2142
- }, hi = ({ props: s }) => {
2145
+ const pi = "_mapContainer_b0pyr_3", ui = {
2146
+ mapContainer: pi
2147
+ }, mi = "_FeaturePopUp_1gd6w_2", hi = "_title_1gd6w_2", Te = {
2148
+ FeaturePopUp: mi,
2149
+ title: hi
2150
+ }, gi = ({ props: s }) => {
2143
2151
  const { t: d } = k();
2144
- return /* @__PURE__ */ i("div", { className: Se.FeaturePopUp, children: s.map((o) => /* @__PURE__ */ h("p", { children: [
2145
- /* @__PURE__ */ h("span", { className: Se.title, children: [
2146
- /* @__PURE__ */ i(ge, { i18nKey: o.name, components: { sup: /* @__PURE__ */ i("sup", {}) } }),
2152
+ return /* @__PURE__ */ i("div", { className: Te.FeaturePopUp, children: s.map((o) => /* @__PURE__ */ g("p", { children: [
2153
+ /* @__PURE__ */ g("span", { className: Te.title, children: [
2154
+ /* @__PURE__ */ i(Ce, { i18nKey: o.name, components: { sup: /* @__PURE__ */ i("sup", {}) } }),
2147
2155
  ": "
2148
2156
  ] }),
2149
2157
  o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2150
2158
  " ",
2151
2159
  d(o.unit)
2152
2160
  ] })) });
2153
- }, gi = ({
2161
+ }, Ci = ({
2154
2162
  initialView: s = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2155
2163
  maxZoom: d = 17,
2156
2164
  minZoom: o = 8,
@@ -2163,29 +2171,29 @@ const di = "_mapContainer_b0pyr_3", pi = {
2163
2171
  layers: p = [],
2164
2172
  filters: u,
2165
2173
  popUpParams: m,
2166
- onClosePopUp: C,
2167
- showTexts: b
2174
+ onClosePopUp: f,
2175
+ showTexts: h
2168
2176
  }) => {
2169
2177
  console.log(u);
2170
- const g = he();
2171
- return D(() => {
2172
- if (g.current) {
2173
- const f = g.current.getMap();
2174
- f.getStyle().layers.map((y) => {
2175
- y.type == "symbol" && y.id != "professionals" && (b ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2178
+ const C = ge();
2179
+ return L(() => {
2180
+ if (C.current) {
2181
+ const b = C.current.getMap();
2182
+ b.getStyle().layers.map((y) => {
2183
+ y.type == "symbol" && y.id != "professionals" && (h ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
2176
2184
  });
2177
2185
  }
2178
- }, [b]), D(() => {
2179
- let f = new Je();
2180
- return ie.addProtocol("pmtiles", f.tile), () => {
2181
- ie.removeProtocol("pmtiles");
2186
+ }, [h]), L(() => {
2187
+ let b = new Qe();
2188
+ return se.addProtocol("pmtiles", b.tile), () => {
2189
+ se.removeProtocol("pmtiles");
2182
2190
  };
2183
- }, []), /* @__PURE__ */ i("div", { className: `${pi.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
2184
- Qe,
2191
+ }, []), /* @__PURE__ */ i("div", { className: `${ui.mapContainer}`, style: r && r, children: /* @__PURE__ */ g(
2192
+ et,
2185
2193
  {
2186
- mapLib: ie,
2194
+ mapLib: se,
2187
2195
  initialViewState: s,
2188
- ref: g,
2196
+ ref: C,
2189
2197
  hash: !1,
2190
2198
  maxZoom: d,
2191
2199
  minZoom: o,
@@ -2193,39 +2201,39 @@ const di = "_mapContainer_b0pyr_3", pi = {
2193
2201
  onClick: l,
2194
2202
  interactiveLayerIds: a,
2195
2203
  children: [
2196
- c.length && c.map((f, v) => /* @__PURE__ */ i(
2197
- et,
2204
+ c.length && c.map((b, v) => /* @__PURE__ */ i(
2205
+ tt,
2198
2206
  {
2199
- ...f,
2200
- children: p.length && p.map((y, _) => {
2201
- if (y.sourceId == f.id) return /* @__PURE__ */ i(
2202
- tt,
2207
+ ...b,
2208
+ children: p.length && p.map((y, x) => {
2209
+ if (y.sourceId == b.id) return /* @__PURE__ */ i(
2210
+ nt,
2203
2211
  {
2204
2212
  ...y.layer,
2205
2213
  beforeId: t,
2206
2214
  filter: u && u
2207
2215
  },
2208
- _
2216
+ x
2209
2217
  );
2210
2218
  })
2211
2219
  },
2212
2220
  v
2213
2221
  )),
2214
- /* @__PURE__ */ i(nt, { position: "bottom-right", visualizePitch: !0 }),
2222
+ /* @__PURE__ */ i(it, { position: "bottom-right", visualizePitch: !0 }),
2215
2223
  m && /* @__PURE__ */ i(
2216
- it,
2224
+ st,
2217
2225
  {
2218
2226
  longitude: m.lng,
2219
2227
  latitude: m.lat,
2220
- onClose: C,
2221
- children: /* @__PURE__ */ i(hi, { props: m.props })
2228
+ onClose: f,
2229
+ children: /* @__PURE__ */ i(gi, { props: m.props })
2222
2230
  }
2223
2231
  )
2224
2232
  ]
2225
2233
  }
2226
2234
  ) });
2227
2235
  };
2228
- gi.propTypes = {
2236
+ Ci.propTypes = {
2229
2237
  initialView: e.shape({
2230
2238
  latitude: e.number.isRequired,
2231
2239
  longitude: e.number.isRequired,
@@ -2268,14 +2276,14 @@ gi.propTypes = {
2268
2276
  popUpParams: e.object,
2269
2277
  onClosePopUp: e.func
2270
2278
  };
2271
- const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textContainer_1egwc_20", yi = "_title_1egwc_27", vi = "_subtitle_1egwc_33", _i = "_rightContent_1egwc_38", z = {
2272
- sectionBar: Ci,
2273
- leftContent: bi,
2274
- textContainer: fi,
2275
- title: yi,
2276
- subtitle: vi,
2277
- rightContent: _i
2278
- }, gs = ({
2279
+ const bi = "_sectionBar_1egwc_2", fi = "_leftContent_1egwc_14", yi = "_textContainer_1egwc_20", vi = "_title_1egwc_27", _i = "_subtitle_1egwc_33", xi = "_rightContent_1egwc_38", z = {
2280
+ sectionBar: bi,
2281
+ leftContent: fi,
2282
+ textContainer: yi,
2283
+ title: vi,
2284
+ subtitle: _i,
2285
+ rightContent: xi
2286
+ }, Cs = ({
2279
2287
  leftIcon: s,
2280
2288
  title: d,
2281
2289
  subtitle: o,
@@ -2284,17 +2292,17 @@ const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textConta
2284
2292
  width: r
2285
2293
  }) => {
2286
2294
  const { t: l } = k();
2287
- return /* @__PURE__ */ h("div", { className: z.sectionBar, style: { width: r && r }, children: [
2288
- /* @__PURE__ */ h("div", { className: z.leftContent, children: [
2295
+ return /* @__PURE__ */ g("div", { className: z.sectionBar, style: { width: r && r }, children: [
2296
+ /* @__PURE__ */ g("div", { className: z.leftContent, children: [
2289
2297
  s && /* @__PURE__ */ i("img", { src: s, alt: "Icono", className: z.icon }),
2290
- /* @__PURE__ */ h("div", { className: z.textContainer, children: [
2298
+ /* @__PURE__ */ g("div", { className: z.textContainer, children: [
2291
2299
  /* @__PURE__ */ i("div", { className: z.title, children: l(d) }),
2292
2300
  o && /* @__PURE__ */ i("div", { className: z.subtitle, children: o })
2293
2301
  ] })
2294
2302
  ] }),
2295
2303
  /* @__PURE__ */ i("div", { className: z.rightContent, children: n })
2296
2304
  ] });
2297
- }, xi = Me({
2305
+ }, wi = Fe({
2298
2306
  name: "mapSlice",
2299
2307
  initialState: {
2300
2308
  showTexts: !0,
@@ -2320,36 +2328,36 @@ const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textConta
2320
2328
  s.activeIndicatorUnit = d.payload;
2321
2329
  }
2322
2330
  }
2323
- }), { setShowTexts: Cs, setYear: le, setActiveIndicatorKey: bs, setActiveIndicatorType: fs, setActiveIndicatorUnit: ys } = xi.actions, wi = "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", ki = "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", Ni = "_slider_a19yo_2", Si = "_playButton_a19yo_17", Ti = "_sliderOpen_a19yo_28", Mi = "_sliderResults_a19yo_32", W = {
2324
- slider: Ni,
2325
- playButton: Si,
2326
- sliderOpen: Ti,
2327
- sliderResults: Mi
2328
- }, Fi = ({ onResults: s = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2329
- const [l, a] = B(d), c = Te(), p = (y, _) => {
2330
- a(_), c(le(_ - 2e3));
2331
- }, [u, m] = B(!1), C = () => {
2331
+ }), { setShowTexts: bs, setYear: ce, setActiveIndicatorKey: fs, setActiveIndicatorType: ys, setActiveIndicatorUnit: vs } = wi.actions, ki = "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", Ni = "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", Si = "_slider_a19yo_2", Ti = "_playButton_a19yo_17", Mi = "_sliderOpen_a19yo_28", Fi = "_sliderResults_a19yo_32", W = {
2332
+ slider: Si,
2333
+ playButton: Ti,
2334
+ sliderOpen: Mi,
2335
+ sliderResults: Fi
2336
+ }, Bi = ({ onResults: s = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2337
+ const [l, a] = B(d), c = Me(), p = (y, x) => {
2338
+ a(x), c(ce(x - 2e3));
2339
+ }, [u, m] = B(!1), f = () => {
2332
2340
  m(!0);
2333
- }, b = () => {
2341
+ }, h = () => {
2334
2342
  m(!1);
2335
2343
  };
2336
- ((y, _) => {
2337
- const w = he();
2338
- D(() => {
2344
+ ((y, x) => {
2345
+ const w = ge();
2346
+ L(() => {
2339
2347
  w.current = y;
2340
- }, [y]), D(() => {
2341
- function x() {
2348
+ }, [y]), L(() => {
2349
+ function _() {
2342
2350
  w.current();
2343
2351
  }
2344
2352
  {
2345
- let N = setInterval(x, _);
2353
+ let N = setInterval(_, x);
2346
2354
  return () => clearInterval(N);
2347
2355
  }
2348
- }, [_]);
2356
+ }, [x]);
2349
2357
  })(() => {
2350
- u && (l != 2050 ? (a(l + 1), c(le(l - 2e3 + 1))) : (a(2025), c(le(25))));
2358
+ u && (l != 2050 ? (a(l + 1), c(ce(l - 2e3 + 1))) : (a(2025), c(ce(25))));
2351
2359
  }, 1e3);
2352
- const f = ot({
2360
+ const b = rt({
2353
2361
  palette: {
2354
2362
  primary: {
2355
2363
  main: "#605b56"
@@ -2377,8 +2385,8 @@ const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textConta
2377
2385
  { label: "", value: 2041 },
2378
2386
  { label: "", value: 2050 }
2379
2387
  ];
2380
- return /* @__PURE__ */ i(at, { theme: f, children: /* @__PURE__ */ h(
2381
- rt,
2388
+ return /* @__PURE__ */ i(lt, { theme: b, children: /* @__PURE__ */ g(
2389
+ at,
2382
2390
  {
2383
2391
  sx: { width: 400 },
2384
2392
  className: `${s ? W.sliderResults : W.slider} ${r ? W.sliderOpen : ""}`,
@@ -2386,7 +2394,7 @@ const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textConta
2386
2394
  children: [
2387
2395
  o,
2388
2396
  /* @__PURE__ */ i(
2389
- st,
2397
+ ot,
2390
2398
  {
2391
2399
  "aria-label": "TimeSlider",
2392
2400
  value: l,
@@ -2401,13 +2409,13 @@ const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textConta
2401
2409
  }
2402
2410
  ),
2403
2411
  n,
2404
- !u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: C, children: /* @__PURE__ */ i("img", { src: wi, alt: "Play" }) }),
2405
- u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src: ki, alt: "Pause" }) })
2412
+ !u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: f, children: /* @__PURE__ */ i("img", { src: ki, alt: "Play" }) }),
2413
+ u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: h, children: /* @__PURE__ */ i("img", { src: Ni, alt: "Pause" }) })
2406
2414
  ]
2407
2415
  }
2408
2416
  ) });
2409
2417
  };
2410
- Fi.propTypes = {
2418
+ Bi.propTypes = {
2411
2419
  defaultYear: e.number,
2412
2420
  onResults: e.bool,
2413
2421
  firstYear: e.number,
@@ -2415,22 +2423,22 @@ Fi.propTypes = {
2415
2423
  zIndex: e.number,
2416
2424
  rightBarOpen: e.bool
2417
2425
  };
2418
- const Bi = "_TopNavMenuContainer_12mp4_2", Li = "_topNavOptions_12mp4_13", Di = "_active_12mp4_27", ce = {
2419
- TopNavMenuContainer: Bi,
2420
- topNavOptions: Li,
2421
- active: Di
2422
- }, $i = ({
2426
+ const Li = "_TopNavMenuContainer_12mp4_2", Di = "_topNavOptions_12mp4_13", $i = "_active_12mp4_27", de = {
2427
+ TopNavMenuContainer: Li,
2428
+ topNavOptions: Di,
2429
+ active: $i
2430
+ }, Ai = ({
2423
2431
  options: s = [],
2424
2432
  containerStyles: d,
2425
2433
  borderColor: o = "red",
2426
2434
  textColor: n = "white"
2427
2435
  }) => {
2428
2436
  const { t } = k();
2429
- return /* @__PURE__ */ i("div", { className: ce.TopNavMenuContainer, style: { ...d }, children: s.map((r, l) => /* @__PURE__ */ i(
2430
- lt,
2437
+ return /* @__PURE__ */ i("div", { className: de.TopNavMenuContainer, style: { ...d }, children: s.map((r, l) => /* @__PURE__ */ i(
2438
+ ct,
2431
2439
  {
2432
2440
  to: r.url,
2433
- className: ({ isActive: a }) => `${ce.topNavOptions} ${a ? ce.active : ""} `,
2441
+ className: ({ isActive: a }) => `${de.topNavOptions} ${a ? de.active : ""} `,
2434
2442
  style: ({ isActive: a }) => ({
2435
2443
  color: n,
2436
2444
  borderBottom: a ? `5px solid ${o}` : "5px solid transparent"
@@ -2440,7 +2448,7 @@ const Bi = "_TopNavMenuContainer_12mp4_2", Li = "_topNavOptions_12mp4_13", Di =
2440
2448
  l
2441
2449
  )) });
2442
2450
  };
2443
- $i.propTypes = {
2451
+ Ai.propTypes = {
2444
2452
  options: e.arrayOf(e.object),
2445
2453
  cssProps: e.shape({
2446
2454
  borderColor: e.string.isRequired,
@@ -2450,7 +2458,7 @@ $i.propTypes = {
2450
2458
  // activeColor: PropTypes.string,
2451
2459
  // defaultColor: PropTypes.string
2452
2460
  };
2453
- const Ai = Me({
2461
+ const Oi = Fe({
2454
2462
  name: "userSlice",
2455
2463
  initialState: {
2456
2464
  user: {
@@ -2468,27 +2476,27 @@ const Ai = Me({
2468
2476
  s.showUserMenu = d.payload;
2469
2477
  }
2470
2478
  }
2471
- }), { setShowLogIn: Oi, setShowUserMenu: Ri } = Ai.actions, Ii = "_UserMenuTrigger_uglss_2", Vi = {
2472
- UserMenuTrigger: Ii
2473
- }, Pi = ({
2479
+ }), { setShowLogIn: Ri, setShowUserMenu: Ii } = Oi.actions, Vi = "_UserMenuTrigger_uglss_2", Pi = {
2480
+ UserMenuTrigger: Vi
2481
+ }, zi = ({
2474
2482
  cssClass: s,
2475
2483
  loginLocale: d = "login",
2476
2484
  containerStyles: o
2477
2485
  }) => {
2478
- const n = Te(), t = de((c) => c.userState.user.isLoggedIn), r = de((c) => c.userState.user.username), { t: l } = k(), a = () => {
2479
- n(t ? Oi(!0) : Ri(!0));
2486
+ const n = Me(), t = pe((c) => c.userState.user.isLoggedIn), r = pe((c) => c.userState.user.username), { t: l } = k(), a = () => {
2487
+ n(t ? Ri(!0) : Ii(!0));
2480
2488
  };
2481
2489
  return /* @__PURE__ */ i(
2482
2490
  "div",
2483
2491
  {
2484
2492
  style: { ...o },
2485
- className: `${Vi.UserMenuTrigger} link ${s}`,
2493
+ className: `${Pi.UserMenuTrigger} link ${s}`,
2486
2494
  onClick: a,
2487
2495
  children: t ? r : l(d)
2488
2496
  }
2489
2497
  );
2490
2498
  };
2491
- Pi.propTypes = {
2499
+ zi.propTypes = {
2492
2500
  onClickLoggedIn: e.func.isRequired,
2493
2501
  onClickLoggedOut: e.func.isRequired,
2494
2502
  log: e.bool,
@@ -2496,12 +2504,12 @@ Pi.propTypes = {
2496
2504
  cssClass: e.string,
2497
2505
  loginLocale: e.string
2498
2506
  };
2499
- const zi = "_header_13kbt_2", ji = "_leftComponents_13kbt_13", qi = "_centerComponents_13kbt_14", Ei = "_rightComponents_13kbt_15", Ki = "_componentsContainer_13kbt_32", j = {
2500
- header: zi,
2501
- leftComponents: ji,
2502
- centerComponents: qi,
2503
- rightComponents: Ei,
2504
- componentsContainer: Ki
2507
+ const ji = "_header_13kbt_2", qi = "_leftComponents_13kbt_13", Ei = "_centerComponents_13kbt_14", Ki = "_rightComponents_13kbt_15", Ui = "_componentsContainer_13kbt_32", j = {
2508
+ header: ji,
2509
+ leftComponents: qi,
2510
+ centerComponents: Ei,
2511
+ rightComponents: Ki,
2512
+ componentsContainer: Ui
2505
2513
  }, Zi = ({
2506
2514
  cssProps: s,
2507
2515
  leftComponents: d = [],
@@ -2510,7 +2518,7 @@ const zi = "_header_13kbt_2", ji = "_leftComponents_13kbt_13", qi = "_centerComp
2510
2518
  zIndex: t = 10,
2511
2519
  height: r = 60,
2512
2520
  backgroundColor: l = "#605B56"
2513
- }) => /* @__PURE__ */ h(
2521
+ }) => /* @__PURE__ */ g(
2514
2522
  "div",
2515
2523
  {
2516
2524
  className: j.header,
@@ -2532,12 +2540,12 @@ Zi.propTypes = {
2532
2540
  centerComponents: e.arrayOf(e.node),
2533
2541
  rightComponents: e.arrayOf(e.node)
2534
2542
  };
2535
- const Ui = "_sidebar_1jqo2_2", Hi = "_open_1jqo2_16", Gi = "_content_1jqo2_20", Yi = "_closeButton_1jqo2_26", ee = {
2536
- sidebar: Ui,
2537
- open: Hi,
2538
- content: Gi,
2539
- closeButton: Yi
2540
- }, Wi = ({ width: s = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2543
+ const Hi = "_sidebar_1jqo2_2", Gi = "_open_1jqo2_16", Yi = "_content_1jqo2_20", Wi = "_closeButton_1jqo2_26", ee = {
2544
+ sidebar: Hi,
2545
+ open: Gi,
2546
+ content: Yi,
2547
+ closeButton: Wi
2548
+ }, Xi = ({ width: s = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2541
2549
  const t = () => {
2542
2550
  n();
2543
2551
  };
@@ -2546,37 +2554,37 @@ const Ui = "_sidebar_1jqo2_2", Hi = "_open_1jqo2_16", Gi = "_content_1jqo2_20",
2546
2554
  {
2547
2555
  className: `${ee.sidebar} ${o ? ee.open : ""}`,
2548
2556
  style: { width: o ? s : 0 },
2549
- children: o && /* @__PURE__ */ h("div", { className: ee.content, children: [
2557
+ children: o && /* @__PURE__ */ g("div", { className: ee.content, children: [
2550
2558
  /* @__PURE__ */ i("button", { className: ee.closeButton, onClick: t, children: "×" }),
2551
2559
  d
2552
2560
  ] })
2553
2561
  }
2554
2562
  );
2555
2563
  };
2556
- Wi.propTypes = {
2564
+ Xi.propTypes = {
2557
2565
  width: e.string,
2558
2566
  children: e.node,
2559
2567
  showRightBar: e.bool,
2560
2568
  onCloseBar: e.func
2561
2569
  };
2562
2570
  export {
2563
- Bt as AmbitSelector,
2564
- qt as ButtonsList,
2571
+ Lt as AmbitSelector,
2572
+ Et as ButtonsList,
2565
2573
  q as DropdownList,
2566
- hs as EditAmbit,
2567
- gn as FiltersAmbit,
2568
- vn as Graphic,
2574
+ gs as EditAmbit,
2575
+ Cn as FiltersAmbit,
2576
+ _n as Graphic,
2569
2577
  Zi as HeaderSection,
2570
- Vn as IndicatorsList,
2571
- Kn as LangSelector,
2572
- si as Legend,
2573
- ri as LogoApp,
2574
- ci as MapboxMap,
2575
- gi as MaplibreMap,
2576
- Wi as RightSidebar,
2577
- gs as SectionBar,
2578
- Fi as TimeSlider,
2579
- Le as Tooltip,
2580
- $i as TopNavMenu,
2581
- Pi as UserMenuTrigger
2578
+ Pn as IndicatorsList,
2579
+ Un as LangSelector,
2580
+ oi as Legend,
2581
+ ai as LogoApp,
2582
+ di as MapboxMap,
2583
+ Ci as MaplibreMap,
2584
+ Xi as RightSidebar,
2585
+ Cs as SectionBar,
2586
+ Bi as TimeSlider,
2587
+ De as Tooltip,
2588
+ Ai as TopNavMenu,
2589
+ zi as UserMenuTrigger
2582
2590
  };