@tmf_ciclica/ciclicastorybook 1.1.28 → 1.1.30

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,6 +1,6 @@
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_tqnnf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%}._ambitSelector_tqnnf_2 ._header_tqnnf_11{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_tqnnf_2 ._header_tqnnf_11 ._nameDateContainer_tqnnf_21{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_tqnnf_2 ._header_tqnnf_11 ._nameDateContainer_tqnnf_21 ._ambitName_tqnnf_37{font-size:18px;font-weight:600;flex:1}._ambitSelector_tqnnf_2 ._header_tqnnf_11 ._nameDateContainer_tqnnf_21 ._ambitName_tqnnf_37 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_tqnnf_2 ._header_tqnnf_11 ._nameDateContainer_tqnnf_21 ._ambitDate_tqnnf_51{font-size:18px;font-weight:600;flex:.5}._ambitSelector_tqnnf_2 ._header_tqnnf_11 ._nameDateContainer_tqnnf_21 ._ambitDate_tqnnf_51 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_tqnnf_2 ._header_tqnnf_11 ._buttonsContainer_tqnnf_65{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitItem_1ueih_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_1ueih_2 ._ambitNameDate_1ueih_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitName_1ueih_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitDate_1ueih_35{flex:.5}._ambitItem_1ueih_2 ._ambitButtons_1ueih_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._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_6o4gt_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitTitle_6o4gt_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_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_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22 ._FiltersAmbitDescriptionTitle_6o4gt_33{font-size:18px;font-weight:600}._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_1of0g_2{position:relative;width:fit-content}._currentLang_1of0g_7{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_1of0g_7 ._arrow_1of0g_19{width:10px}._currentLang_1of0g_7 ._prevImg_1of0g_22{width:20px}._langMenu_1of0g_26{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_1of0g_26 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_1of0g_26 button:first-child{border-radius:8px 8px 0 0}._langMenu_1of0g_26 button:last-child{border-radius:0 0 8px 8px}._langMenu_1of0g_26 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_15agj_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:start;width:fit-content;gap:80px}._TopNavMenuContainer_15agj_2 ._topNavOptions_15agj_12{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center}._TopNavMenuContainer_15agj_2 ._active_15agj_23{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_t7qdl_2{width:100%;display:flex;align-items:center;position:relative;padding:0 16px;background-color:#fff;border-bottom:1px solid black;z-index:10}._header_t7qdl_2 ._leftComponents_t7qdl_12,._header_t7qdl_2 ._centerComponents_t7qdl_13,._header_t7qdl_2 ._rightComponents_t7qdl_14{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_t7qdl_2 ._leftComponents_t7qdl_12{left:16px}._header_t7qdl_2 ._centerComponents_t7qdl_13{left:50%;transform:translate(-50%)}._header_t7qdl_2 ._rightComponents_t7qdl_14{right:16px}._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 m, jsx as r, Fragment as qe } from "react/jsx-runtime";
3
- import Z, { useState as B, useEffect as F, useMemo as te, useLayoutEffect as Ee, useRef as me } from "react";
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_1ueih_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_1ueih_2 ._ambitNameDate_1ueih_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitName_1ueih_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitDate_1ueih_35{flex:.5}._ambitItem_1ueih_2 ._ambitButtons_1ueih_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._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_6o4gt_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitTitle_6o4gt_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_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_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22 ._FiltersAmbitDescriptionTitle_6o4gt_33{font-size:18px;font-weight:600}._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_1of0g_2{position:relative;width:fit-content}._currentLang_1of0g_7{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_1of0g_7 ._arrow_1of0g_19{width:10px}._currentLang_1of0g_7 ._prevImg_1of0g_22{width:20px}._langMenu_1of0g_26{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_1of0g_26 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_1of0g_26 button:first-child{border-radius:8px 8px 0 0}._langMenu_1of0g_26 button:last-child{border-radius:0 0 8px 8px}._langMenu_1of0g_26 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_15agj_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:start;width:fit-content;gap:80px}._TopNavMenuContainer_15agj_2 ._topNavOptions_15agj_12{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center}._TopNavMenuContainer_15agj_2 ._active_15agj_23{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_t7qdl_2{width:100%;display:flex;align-items:center;position:relative;padding:0 16px;background-color:#fff;border-bottom:1px solid black;z-index:10}._header_t7qdl_2 ._leftComponents_t7qdl_12,._header_t7qdl_2 ._centerComponents_t7qdl_13,._header_t7qdl_2 ._rightComponents_t7qdl_14{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_t7qdl_2 ._leftComponents_t7qdl_12{left:16px}._header_t7qdl_2 ._centerComponents_t7qdl_13{left:50%;transform:translate(-50%)}._header_t7qdl_2 ._rightComponents_t7qdl_14{right:16px}._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 m, jsx as r, Fragment as Ee } from "react/jsx-runtime";
3
+ import Z, { useState as D, useEffect as F, useMemo as te, useLayoutEffect as qe, useRef as me } from "react";
4
4
  import e from "prop-types";
5
5
  import { useTranslation as k, Trans as ge } from "react-i18next";
6
6
  import { motion as Ce } from "framer-motion";
@@ -17,26 +17,28 @@ import it from "@mui/material/Slider";
17
17
  import { createTheme as ot, Box as st } from "@mui/material";
18
18
  import { ThemeProvider as rt } from "@emotion/react";
19
19
  import { NavLink as at } from "react-router-dom";
20
- const lt = "_ambitSelector_tqnnf_2", ct = "_header_tqnnf_11", dt = "_nameDateContainer_tqnnf_21", pt = "_ambitName_tqnnf_37", ut = "_ambitDate_tqnnf_51", ht = "_buttonsContainer_tqnnf_65", q = {
20
+ const lt = "_ambitSelector_mcunf_2", ct = "_header_mcunf_13", dt = "_nameDateContainer_mcunf_23", pt = "_ambitName_mcunf_39", ut = "_ambitDate_mcunf_53", ht = "_buttonsContainer_mcunf_67", mt = "_ambitListContainer_mcunf_76", gt = "_newAmbitButtonContainer_mcunf_80", R = {
21
21
  ambitSelector: lt,
22
22
  header: ct,
23
23
  nameDateContainer: dt,
24
24
  ambitName: pt,
25
25
  ambitDate: ut,
26
- buttonsContainer: ht
27
- }, mt = "_ambitItem_1ueih_2", gt = "_ambitNameDate_1ueih_16", Ct = "_ambitName_1ueih_16", bt = "_ambitDate_1ueih_35", ft = "_ambitButtons_1ueih_38", H = {
28
- ambitItem: mt,
29
- ambitNameDate: gt,
30
- ambitName: Ct,
31
- ambitDate: bt,
32
- ambitButtons: ft
33
- }, yt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", _t = "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", 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='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", wt = "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", kt = "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 = ({
26
+ buttonsContainer: ht,
27
+ ambitListContainer: mt,
28
+ newAmbitButtonContainer: gt
29
+ }, Ct = "_ambitItem_1ueih_2", bt = "_ambitNameDate_1ueih_16", ft = "_ambitName_1ueih_16", yt = "_ambitDate_1ueih_35", vt = "_ambitButtons_1ueih_38", H = {
30
+ ambitItem: Ct,
31
+ ambitNameDate: bt,
32
+ ambitName: ft,
33
+ ambitDate: yt,
34
+ ambitButtons: vt
35
+ }, _t = "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", 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='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", 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%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", 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%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", Nt = "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", St = "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", Le = ({
34
36
  ambit: i,
35
37
  onClickCopy: d,
36
- onClickDelete: s,
38
+ onClickDelete: o,
37
39
  onClickFilters: n,
38
40
  onClickAmbit: t,
39
- isActive: o,
41
+ isActive: s,
40
42
  activeColor: l,
41
43
  fontColor: a,
42
44
  moreInfo: c
@@ -54,24 +56,24 @@ const lt = "_ambitSelector_tqnnf_2", ct = "_header_tqnnf_11", dt = "_nameDateCon
54
56
  "img",
55
57
  {
56
58
  style: { marginRight: 9 },
57
- src: o ? wt : kt
59
+ src: s ? Nt : St
58
60
  }
59
61
  ),
60
- /* @__PURE__ */ r("span", { style: { color: o ? l : a }, children: p })
62
+ /* @__PURE__ */ r("span", { style: { color: s ? l : a }, children: p })
61
63
  ] }),
62
64
  /* @__PURE__ */ r("div", { className: H.ambitDate, children: new Date(u).toLocaleDateString() })
63
65
  ] }),
64
66
  /* @__PURE__ */ m("div", { className: H.ambitButtons, children: [
65
- g && /* @__PURE__ */ r("img", { src: xt }),
66
- /* @__PURE__ */ r("button", { onClick: () => n(h), children: /* @__PURE__ */ r("img", { src: _t }) }),
67
- /* @__PURE__ */ r("button", { onClick: () => d(h), children: /* @__PURE__ */ r("img", { src: vt }) }),
68
- /* @__PURE__ */ r("button", { onClick: () => s(h), children: /* @__PURE__ */ r("img", { src: yt }) })
67
+ g && /* @__PURE__ */ r("img", { src: kt }),
68
+ /* @__PURE__ */ r("button", { onClick: () => n(h), children: /* @__PURE__ */ r("img", { src: wt }) }),
69
+ /* @__PURE__ */ r("button", { onClick: () => d(h), children: /* @__PURE__ */ r("img", { src: xt }) }),
70
+ /* @__PURE__ */ r("button", { onClick: () => o(h), children: /* @__PURE__ */ r("img", { src: _t }) })
69
71
  ] })
70
72
  ]
71
73
  }
72
74
  );
73
75
  };
74
- Fe.propTypes = {
76
+ Le.propTypes = {
75
77
  ambit: e.shape({
76
78
  nom: e.string.isRequired,
77
79
  created_at: e.string.isRequired,
@@ -89,66 +91,101 @@ Fe.propTypes = {
89
91
  moreInfo: e.object
90
92
  // Optional, can be used for additional info
91
93
  };
92
- 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", Nt = ({
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", Tt = "_generalButton_8d6ru_2", Mt = {
95
+ generalButton: Tt
96
+ }, Lt = ({
97
+ children: i,
98
+ onClick: d,
99
+ fontColor: o,
100
+ borderColor: n
101
+ }) => /* @__PURE__ */ r(
102
+ "button",
103
+ {
104
+ className: Mt.generalButton,
105
+ style: { color: o, border: `1.5px solid ${n}` },
106
+ onClick: d,
107
+ children: i
108
+ }
109
+ ), Ft = ({
93
110
  ambitList: i,
94
111
  activeAmbitId: d,
95
- fontColor: s = "#605B56",
112
+ fontColor: o = "#605B56",
96
113
  activeColor: n,
97
114
  nameLabel: t,
98
- dateLabel: o,
99
- onClickCopy: l = (u) => console.log(`Copy ambit: ${u}`),
100
- onCLickDelete: a = (u) => console.log(`Delete ambit: ${u}`),
101
- onClickFilters: c = (u) => console.log(`Filters clicked: ${u}`),
102
- onClickAmbit: p = (u) => console.log(`OnCLickAmbit: ${u}`)
115
+ dateLabel: s,
116
+ newAmbitLabel: l = "New field",
117
+ buttonContainerStyles: a = {},
118
+ containerStyles: c = {},
119
+ onCLickNewAmbit: p = () => console.log("New ambit clicked"),
120
+ onClickCopy: u = (C) => console.log(`Copy ambit: ${C}`),
121
+ onCLickDelete: h = (C) => console.log(`Delete ambit: ${C}`),
122
+ onClickFilters: g = (C) => console.log(`Filters clicked: ${C}`),
123
+ onClickAmbit: f = (C) => console.log(`OnCLickAmbit: ${C}`)
103
124
  }) => {
104
- const { t: u } = k(), [h, g] = B(i);
125
+ const { t: C } = k(), [b, v] = D(i);
105
126
  F(() => {
106
- i && g(i);
127
+ i && v(i);
107
128
  }, [i]);
108
- const C = (b) => {
109
- if (h && h.length > 0) {
110
- let f = [...h];
111
- f.sort((v, y) => v[b].localeCompare(y[b])), g(f);
129
+ const y = (_) => {
130
+ if (b && b.length > 0) {
131
+ let w = [...b];
132
+ w.sort((x, N) => x[_].localeCompare(N[_])), v(w);
112
133
  }
113
134
  };
114
- return /* @__PURE__ */ m("div", { className: q.ambitSelector, style: { color: s }, children: [
115
- /* @__PURE__ */ m(
116
- "div",
117
- {
118
- className: q.header,
119
- style: { borderBottom: `1px solid ${s}` },
120
- children: [
121
- /* @__PURE__ */ m("div", { className: q.nameDateContainer, children: [
122
- /* @__PURE__ */ r("div", { className: q.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => C("name"), children: [
123
- /* @__PURE__ */ r("span", { children: u(t) }),
124
- /* @__PURE__ */ r("img", { src: ve })
125
- ] }) }),
126
- /* @__PURE__ */ r("div", { className: q.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => C("date"), children: [
127
- /* @__PURE__ */ r("span", { children: u(o) }),
128
- /* @__PURE__ */ r("img", { src: ve })
129
- ] }) })
130
- ] }),
131
- /* @__PURE__ */ r("div", { className: q.buttonsContainer })
132
- ]
133
- }
134
- ),
135
- h && h.length > 0 && h.map((b) => /* @__PURE__ */ r(
136
- Fe,
137
- {
138
- isActive: d == b.id,
139
- ambit: b,
140
- fontColor: s,
141
- activeColor: n,
142
- onClickCopy: l,
143
- onClickDelete: a,
144
- onClickFilters: c,
145
- onClickAmbit: p
146
- },
147
- `ambitKey${b.id}`
148
- ))
149
- ] });
135
+ return /* @__PURE__ */ m(
136
+ "div",
137
+ {
138
+ className: R.ambitSelector,
139
+ style: { color: o, ...c },
140
+ children: [
141
+ /* @__PURE__ */ m(
142
+ "div",
143
+ {
144
+ className: R.header,
145
+ style: { borderBottom: `1px solid ${o}` },
146
+ children: [
147
+ /* @__PURE__ */ m("div", { className: R.nameDateContainer, children: [
148
+ /* @__PURE__ */ r("div", { className: R.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => y("name"), children: [
149
+ /* @__PURE__ */ r("span", { children: C(t) }),
150
+ /* @__PURE__ */ r("img", { src: ve })
151
+ ] }) }),
152
+ /* @__PURE__ */ r("div", { className: R.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => y("date"), children: [
153
+ /* @__PURE__ */ r("span", { children: C(s) }),
154
+ /* @__PURE__ */ r("img", { src: ve })
155
+ ] }) })
156
+ ] }),
157
+ /* @__PURE__ */ r("div", { className: R.buttonsContainer })
158
+ ]
159
+ }
160
+ ),
161
+ /* @__PURE__ */ r("div", { className: R.ambitListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ r(
162
+ Le,
163
+ {
164
+ isActive: d == _.id,
165
+ ambit: _,
166
+ fontColor: o,
167
+ activeColor: n,
168
+ onClickCopy: u,
169
+ onClickDelete: h,
170
+ onClickFilters: g,
171
+ onClickAmbit: f
172
+ },
173
+ `ambitKey${_.id}`
174
+ )) }),
175
+ /* @__PURE__ */ r("div", { className: R.newAmbitButtonContainer, children: /* @__PURE__ */ r(
176
+ Lt,
177
+ {
178
+ style: { ...a },
179
+ onClick: p,
180
+ borderColor: "grey",
181
+ children: C(l)
182
+ }
183
+ ) })
184
+ ]
185
+ }
186
+ );
150
187
  };
151
- Nt.propTypes = {
188
+ Ft.propTypes = {
152
189
  ambitList: e.arrayOf(
153
190
  e.shape({
154
191
  name: e.string.isRequired,
@@ -164,72 +201,76 @@ Nt.propTypes = {
164
201
  onClickFilters: e.func.isRequired,
165
202
  onClickAmbit: e.func.isRequired,
166
203
  nameLabel: e.string,
167
- dateLabel: e.string
204
+ dateLabel: e.string,
205
+ newAmbitLabel: e.string,
206
+ buttonContainerStyles: e.object,
207
+ containerStyles: e.object,
208
+ onCLickNewAmbit: e.func
168
209
  };
169
- const St = "_buttonsContainer_1audx_2", Tt = "_vertical_1audx_6", Mt = "_horizontal_1audx_9", Ft = "_button_1audx_2", Lt = "_active_1audx_25", Dt = "_buttonName_1audx_28", R = {
170
- buttonsContainer: St,
171
- vertical: Tt,
172
- horizontal: Mt,
173
- button: Ft,
174
- active: Lt,
175
- buttonName: Dt
176
- }, Bt = "_left_19lnt_3", $t = "_top_19lnt_33", Ot = "_bottom_19lnt_66", At = "_right_19lnt_97", It = {
177
- left: Bt,
178
- top: $t,
179
- bottom: Ot,
180
- right: At
181
- }, Le = ({ text: i, position: d, styleCustom: s = null }) => {
210
+ const Bt = "_buttonsContainer_1audx_2", Dt = "_vertical_1audx_6", $t = "_horizontal_1audx_9", At = "_button_1audx_2", Ot = "_active_1audx_25", It = "_buttonName_1audx_28", V = {
211
+ buttonsContainer: Bt,
212
+ vertical: Dt,
213
+ horizontal: $t,
214
+ button: At,
215
+ active: Ot,
216
+ buttonName: It
217
+ }, Rt = "_left_19lnt_3", Vt = "_top_19lnt_33", jt = "_bottom_19lnt_66", zt = "_right_19lnt_97", Pt = {
218
+ left: Rt,
219
+ top: Vt,
220
+ bottom: jt,
221
+ right: zt
222
+ }, Fe = ({ text: i, position: d, styleCustom: o = null }) => {
182
223
  const { t: n } = k();
183
- return /* @__PURE__ */ r("div", { className: `tooltip ${It[d]}`, style: s, children: n(i) });
224
+ return /* @__PURE__ */ r("div", { className: `tooltip ${Pt[d]}`, style: o, children: n(i) });
184
225
  };
185
- Le.propTypes = {
226
+ Fe.propTypes = {
186
227
  text: e.string.isRequired,
187
228
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
188
229
  styleCustom: e.object
189
230
  };
190
- const Rt = ({
231
+ const Et = ({
191
232
  buttons: i = [],
192
233
  orientation: d = "horizontal",
193
- showName: s = !0,
234
+ showName: o = !0,
194
235
  namePosition: n = "right",
195
236
  useTooltip: t = !1,
196
- tooltipPosition: o = "top"
237
+ tooltipPosition: s = "top"
197
238
  }) => {
198
239
  const { t: l } = k();
199
240
  return /* @__PURE__ */ r(
200
241
  "div",
201
242
  {
202
- className: `${R.buttonsContainer} ${d === "vertical" && R.vertical}
203
- ${d === "horizontal" && R.horizontal}`,
243
+ className: `${V.buttonsContainer} ${d === "vertical" && V.vertical}
244
+ ${d === "horizontal" && V.horizontal}`,
204
245
  children: i.map((a, c) => {
205
246
  const {
206
247
  icon: p,
207
248
  activeIcon: u,
208
249
  isActive: h,
209
250
  name: g,
210
- onClick: C
211
- } = a, b = /* @__PURE__ */ m(qe, { children: [
212
- s && n === "left" && /* @__PURE__ */ r("span", { className: R.buttonName, children: l(g) }),
251
+ onClick: f
252
+ } = a, C = /* @__PURE__ */ m(Ee, { children: [
253
+ o && n === "left" && /* @__PURE__ */ r("span", { className: V.buttonName, children: l(g) }),
213
254
  /* @__PURE__ */ r("img", { src: h ? u : p, alt: l(g) }),
214
- s && n === "right" && /* @__PURE__ */ r("span", { className: R.buttonName, children: l(g) })
255
+ o && n === "right" && /* @__PURE__ */ r("span", { className: V.buttonName, children: l(g) })
215
256
  ] });
216
257
  return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
217
258
  /* @__PURE__ */ r(
218
259
  "button",
219
260
  {
220
- onClick: C,
221
- className: `${R.button}
222
- ${h && R.active}`,
223
- children: b
261
+ onClick: f,
262
+ className: `${V.button}
263
+ ${h && V.active}`,
264
+ children: C
224
265
  }
225
266
  ),
226
- t && /* @__PURE__ */ r(Le, { text: g, position: o })
267
+ t && /* @__PURE__ */ r(Fe, { text: g, position: s })
227
268
  ] }, c);
228
269
  })
229
270
  }
230
271
  );
231
272
  };
232
- Rt.propTypes = {
273
+ Et.propTypes = {
233
274
  buttons: e.arrayOf(
234
275
  e.shape({
235
276
  icon: e.node.isRequired,
@@ -246,16 +287,16 @@ Rt.propTypes = {
246
287
  useTooltip: e.bool,
247
288
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
248
289
  };
249
- const Vt = "_indicatorsCategory_1cu33_2", jt = "_title_1cu33_5", oe = {
250
- indicatorsCategory: Vt,
251
- title: jt
252
- }, z = ({
290
+ const qt = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", oe = {
291
+ indicatorsCategory: qt,
292
+ title: Kt
293
+ }, P = ({
253
294
  isOpen: i,
254
295
  onClick: d,
255
- children: s,
296
+ children: o,
256
297
  color: n,
257
298
  activeColor: t = "#F8A925",
258
- title: o = "Title",
299
+ title: s = "Title",
259
300
  //Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
260
301
  height: l = 53,
261
302
  //Adjust height if you change fontSize
@@ -288,16 +329,16 @@ const Vt = "_indicatorsCategory_1cu33_2", jt = "_title_1cu33_5", oe = {
288
329
  onClick: d,
289
330
  children: [
290
331
  /* @__PURE__ */ r("span", { style: { color: i ? t : n }, children: i ? "-" : "+" }),
291
- /* @__PURE__ */ r("span", { style: { marginLeft: 12, color: i ? t : n }, children: u(o) })
332
+ /* @__PURE__ */ r("span", { style: { marginLeft: 12, color: i ? t : n }, children: u(s) })
292
333
  ]
293
334
  }
294
335
  ),
295
- /* @__PURE__ */ r("div", { className: oe.content, children: s })
336
+ /* @__PURE__ */ r("div", { className: oe.content, children: o })
296
337
  ]
297
338
  }
298
339
  );
299
340
  };
300
- z.propTypes = {
341
+ P.propTypes = {
301
342
  isOpen: e.bool,
302
343
  onClick: e.func,
303
344
  children: e.node,
@@ -308,9 +349,9 @@ z.propTypes = {
308
349
  showBottomBar: e.bool,
309
350
  titleFontStyles: e.object
310
351
  };
311
- const ao = () => /* @__PURE__ */ r("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", Pt = "_AppliedFiltersContainer_s8ooe_2", qt = "_AppliedFilterContent_s8ooe_10", _e = {
312
- AppliedFiltersContainer: Pt,
313
- AppliedFilterContent: qt
352
+ const ho = () => /* @__PURE__ */ r("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
314
355
  }, T = Ke((i) => ({
315
356
  activeCategory: "",
316
357
  activeSubCategory: "",
@@ -318,7 +359,7 @@ const ao = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), zt = "data
318
359
  tematicalFiltersSelected: [],
319
360
  fontColor: "#605B56",
320
361
  inputsColor: "#605B56"
321
- })), De = ({ title: i, onClick: d, isOpen: s = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o }) => {
362
+ })), Be = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
322
363
  const { t: l } = k(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
323
364
  T.setState((u) => ({
324
365
  tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
@@ -327,20 +368,20 @@ const ao = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), zt = "data
327
368
  }));
328
369
  };
329
370
  return /* @__PURE__ */ r(
330
- z,
371
+ P,
331
372
  {
332
- isOpen: s,
373
+ isOpen: o,
333
374
  onClick: d,
334
375
  title: i ? l(i) : "Applied Filters",
335
- activeColor: o,
376
+ activeColor: s,
336
377
  children: /* @__PURE__ */ r("div", { className: _e.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ m("div", { className: _e.AppliedFilterContent, style: { color: n, background: t }, children: [
337
378
  l(p.name),
338
- /* @__PURE__ */ r("img", { src: zt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
379
+ /* @__PURE__ */ r("img", { src: Zt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
339
380
  ] }, u)) })
340
381
  }
341
382
  );
342
383
  };
343
- De.propTypes = {
384
+ Be.propTypes = {
344
385
  isOpen: e.bool,
345
386
  onClick: e.func,
346
387
  title: e.string,
@@ -354,20 +395,20 @@ De.propTypes = {
354
395
  ),
355
396
  activeColor: e.string
356
397
  };
357
- const Be = ({ title: i, onClick: d, isOpen: s = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o }) => {
398
+ const De = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
358
399
  const { t: l } = k(), { tematicalFiltersSelected: a } = T((c) => c);
359
400
  return /* @__PURE__ */ r(
360
- z,
401
+ P,
361
402
  {
362
- isOpen: s,
403
+ isOpen: o,
363
404
  onClick: d,
364
405
  title: i ? l(i) : "Geographical Filters",
365
- activeColor: o,
406
+ activeColor: s,
366
407
  children: "A"
367
408
  }
368
409
  );
369
410
  };
370
- Be.propTypes = {
411
+ De.propTypes = {
371
412
  isOpen: e.bool,
372
413
  onClick: e.func,
373
414
  title: e.string,
@@ -375,22 +416,22 @@ Be.propTypes = {
375
416
  backgroundColor: e.string,
376
417
  activeColor: e.string
377
418
  };
378
- const Et = "_checkboxContainer_zld97_2", Kt = {
379
- checkboxContainer: Et
419
+ const Gt = "_checkboxContainer_zld97_2", Yt = {
420
+ checkboxContainer: Gt
380
421
  }, $e = ({
381
422
  onClick: i,
382
423
  containerStyles: d,
383
- color: s = "#605B56",
424
+ color: o = "#605B56",
384
425
  indicator: n,
385
426
  value: t
386
427
  }) => {
387
- const { t: o } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
428
+ const { t: s } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
388
429
  return /* @__PURE__ */ m(
389
430
  "div",
390
431
  {
391
- style: { ...d, color: s },
432
+ style: { ...d, color: o },
392
433
  role: "checkbox",
393
- className: Kt.checkboxContainer,
434
+ className: Yt.checkboxContainer,
394
435
  onClick: i,
395
436
  children: [
396
437
  /* @__PURE__ */ r(
@@ -406,7 +447,7 @@ const Et = "_checkboxContainer_zld97_2", Kt = {
406
447
  }
407
448
  }
408
449
  ),
409
- /* @__PURE__ */ r("span", { className: "checkmark", children: o(l) })
450
+ /* @__PURE__ */ r("span", { className: "checkmark", children: s(l) })
410
451
  ]
411
452
  }
412
453
  );
@@ -423,11 +464,11 @@ $e.propTypes = {
423
464
  checkedColor: e.string
424
465
  };
425
466
  function pe(i, d) {
426
- return pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, n) {
427
- return s.__proto__ = n, s;
467
+ return pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
468
+ return o.__proto__ = n, o;
428
469
  }, pe(i, d);
429
470
  }
430
- function Zt(i, d) {
471
+ function Wt(i, d) {
431
472
  i.prototype = Object.create(d.prototype), i.prototype.constructor = i, pe(i, d);
432
473
  }
433
474
  function se(i) {
@@ -444,16 +485,16 @@ function X(i) {
444
485
  typeof document < "u" && document.addEventListener(d, i[d], !1);
445
486
  });
446
487
  }
447
- function V(i, d) {
448
- return ue(function(s, n) {
449
- let t = s;
488
+ function j(i, d) {
489
+ return ue(function(o, n) {
490
+ let t = o;
450
491
  return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
451
492
  }(i, d), d);
452
493
  }
453
494
  function ue(i, d) {
454
- const s = (i - d.min) % d.step;
455
- let n = i - s;
456
- return 2 * Math.abs(s) >= d.step && (n += s > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
495
+ const o = (i - d.min) % d.step;
496
+ let n = i - o;
497
+ return 2 * Math.abs(o) >= d.step && (n += o > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
457
498
  }
458
499
  let he = function(i) {
459
500
  function d(n) {
@@ -519,7 +560,7 @@ let he = function(i) {
519
560
  }
520
561
  }, t.onSliderClick = (a) => {
521
562
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
522
- const c = t.getMousePosition(a), p = V(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
563
+ const c = t.getMousePosition(a), p = j(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
523
564
  t.props.onSliderClick(p);
524
565
  }
525
566
  }, t.createOnKeyDown = (a) => (c) => {
@@ -550,168 +591,168 @@ let he = function(i) {
550
591
  const u = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - p) }, h = { index: a, value: W(t.state.value) };
551
592
  return t.props.renderTrack(u, h);
552
593
  };
553
- let o = re(n.value);
554
- o.length || (o = re(n.defaultValue)), t.pendingResizeTimeouts = [];
594
+ let s = re(n.value);
595
+ s.length || (s = re(n.defaultValue)), t.pendingResizeTimeouts = [];
555
596
  const l = [];
556
- for (let a = 0; a < o.length; a += 1) o[a] = V(o[a], n), l.push(a);
557
- return t.resizeObserver = null, t.resizeElementRef = Z.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: o, zIndices: l }, t;
597
+ for (let a = 0; a < s.length; a += 1) s[a] = j(s[a], n), l.push(a);
598
+ return t.resizeObserver = null, t.resizeElementRef = Z.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: s, zIndices: l }, t;
558
599
  }
559
- Zt(d, i);
560
- var s = d.prototype;
561
- return s.componentDidMount = function() {
600
+ Wt(d, i);
601
+ var o = d.prototype;
602
+ return o.componentDidMount = function() {
562
603
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
563
604
  }, d.getDerivedStateFromProps = function(n, t) {
564
- const o = re(n.value);
565
- return o.length ? t.pending ? null : { value: o.map((l) => V(l, n)) } : null;
566
- }, s.componentDidUpdate = function() {
605
+ const s = re(n.value);
606
+ return s.length ? t.pending ? null : { value: s.map((l) => j(l, n)) } : null;
607
+ }, o.componentDidUpdate = function() {
567
608
  this.state.upperBound === 0 && this.resize();
568
- }, s.componentWillUnmount = function() {
609
+ }, o.componentWillUnmount = function() {
569
610
  this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
570
- }, s.onEnd = function(n) {
611
+ }, o.onEnd = function(n) {
571
612
  n && function(t) {
572
- Object.keys(t).forEach((o) => {
573
- typeof document < "u" && document.removeEventListener(o, t[o], !1);
613
+ Object.keys(t).forEach((s) => {
614
+ typeof document < "u" && document.removeEventListener(s, t[s], !1);
574
615
  });
575
616
  }(n), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
576
- }, s.getValue = function() {
617
+ }, o.getValue = function() {
577
618
  return W(this.state.value);
578
- }, s.getClosestIndex = function(n) {
579
- let t = Number.MAX_VALUE, o = -1;
619
+ }, o.getClosestIndex = function(n) {
620
+ let t = Number.MAX_VALUE, s = -1;
580
621
  const { value: l } = this.state, a = l.length;
581
622
  for (let c = 0; c < a; c += 1) {
582
623
  const p = this.calcOffset(l[c]), u = Math.abs(n - p);
583
- u < t && (t = u, o = c);
624
+ u < t && (t = u, s = c);
584
625
  }
585
- return o;
586
- }, s.getMousePosition = function(n) {
626
+ return s;
627
+ }, o.getMousePosition = function(n) {
587
628
  return [n["page" + this.axisKey()], n["page" + this.orthogonalAxisKey()]];
588
- }, s.getTouchPosition = function(n) {
629
+ }, o.getTouchPosition = function(n) {
589
630
  const t = n.touches[0];
590
631
  return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
591
- }, s.getKeyDownEventMap = function() {
632
+ }, o.getKeyDownEventMap = function() {
592
633
  return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
593
- }, s.getMouseEventMap = function() {
634
+ }, o.getMouseEventMap = function() {
594
635
  return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
595
- }, s.getTouchEventMap = function() {
636
+ }, o.getTouchEventMap = function() {
596
637
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
597
- }, s.getValueFromPosition = function(n) {
638
+ }, o.getValueFromPosition = function(n) {
598
639
  const t = n / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
599
- return V(this.state.startValue + t, this.props);
600
- }, s.getDiffPosition = function(n) {
640
+ return j(this.state.startValue + t, this.props);
641
+ }, o.getDiffPosition = function(n) {
601
642
  let t = n - this.state.startPosition;
602
643
  return this.props.invert && (t *= -1), t;
603
- }, s.resize = function() {
644
+ }, o.resize = function() {
604
645
  const { slider: n, thumb0: t } = this;
605
646
  if (!n || !t) return;
606
- const o = this.sizeKey(), l = n.getBoundingClientRect(), a = n[o], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[o.replace("client", "").toLowerCase()], h = a - u, g = Math.abs(c - p);
647
+ const s = this.sizeKey(), l = n.getBoundingClientRect(), a = n[s], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[s.replace("client", "").toLowerCase()], h = a - u, g = Math.abs(c - p);
607
648
  this.state.upperBound === h && this.state.sliderLength === g && this.state.thumbSize === u || this.setState({ upperBound: h, sliderLength: g, thumbSize: u });
608
- }, s.calcOffset = function(n) {
649
+ }, o.calcOffset = function(n) {
609
650
  const t = this.props.max - this.props.min;
610
651
  return t === 0 ? 0 : (n - this.props.min) / t * this.state.upperBound;
611
- }, s.calcValue = function(n) {
652
+ }, o.calcValue = function(n) {
612
653
  return n / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
613
- }, s.calcOffsetFromPosition = function(n) {
614
- const { slider: t } = this, o = t.getBoundingClientRect(), l = o[this.posMaxKey()], a = o[this.posMinKey()];
654
+ }, o.calcOffsetFromPosition = function(n) {
655
+ const { slider: t } = this, s = t.getBoundingClientRect(), l = s[this.posMaxKey()], a = s[this.posMinKey()];
615
656
  let c = n - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
616
657
  return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
617
- }, s.forceValueFromPosition = function(n, t) {
618
- const o = this.calcOffsetFromPosition(n), l = this.getClosestIndex(o), a = V(this.calcValue(o), this.props), c = this.state.value.slice();
658
+ }, o.forceValueFromPosition = function(n, t) {
659
+ const s = this.calcOffsetFromPosition(n), l = this.getClosestIndex(s), a = j(this.calcValue(s), this.props), c = this.state.value.slice();
619
660
  c[l] = a;
620
661
  for (let p = 0; p < c.length - 1; p += 1) if (c[p + 1] - c[p] < this.props.minDistance) return;
621
662
  this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
622
663
  t(l), this.fireChangeEvent("onChange");
623
664
  });
624
- }, s.clearPendingResizeTimeouts = function() {
665
+ }, o.clearPendingResizeTimeouts = function() {
625
666
  do {
626
667
  const n = this.pendingResizeTimeouts.shift();
627
668
  clearTimeout(n);
628
669
  } while (this.pendingResizeTimeouts.length);
629
- }, s.start = function(n, t) {
630
- const o = this["thumb" + n];
631
- o && o.focus();
670
+ }, o.start = function(n, t) {
671
+ const s = this["thumb" + n];
672
+ s && s.focus();
632
673
  const { zIndices: l } = this.state;
633
674
  l.splice(l.indexOf(n), 1), l.push(n), this.setState((a) => ({ startValue: a.value[n], startPosition: t !== void 0 ? t : a.startPosition, index: n, zIndices: l }));
634
- }, s.moveUpByStep = function(n) {
675
+ }, o.moveUpByStep = function(n) {
635
676
  n === void 0 && (n = this.props.step);
636
- const t = this.state.value[this.state.index], o = V(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
637
- this.move(Math.min(o, this.props.max));
638
- }, s.moveDownByStep = function(n) {
677
+ const t = this.state.value[this.state.index], s = j(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
678
+ this.move(Math.min(s, this.props.max));
679
+ }, o.moveDownByStep = function(n) {
639
680
  n === void 0 && (n = this.props.step);
640
- const t = this.state.value[this.state.index], o = V(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
641
- this.move(Math.max(o, this.props.min));
642
- }, s.move = function(n) {
643
- const t = this.state.value.slice(), { index: o } = this.state, { length: l } = t, a = t[o];
681
+ const t = this.state.value[this.state.index], s = j(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
682
+ this.move(Math.max(s, this.props.min));
683
+ }, o.move = function(n) {
684
+ const t = this.state.value.slice(), { index: s } = this.state, { length: l } = t, a = t[s];
644
685
  if (n === a) return;
645
686
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
646
687
  const { pearling: c, max: p, min: u, minDistance: h } = this.props;
647
688
  if (!c) {
648
- if (o > 0) {
649
- const g = t[o - 1];
689
+ if (s > 0) {
690
+ const g = t[s - 1];
650
691
  n < g + h && (n = g + h);
651
692
  }
652
- if (o < l - 1) {
653
- const g = t[o + 1];
693
+ if (s < l - 1) {
694
+ const g = t[s + 1];
654
695
  n > g - h && (n = g - h);
655
696
  }
656
697
  }
657
- t[o] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, h, o), function(g, C, b, f) {
698
+ t[s] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, h, s), function(g, f, C, b) {
658
699
  for (let v = 0; v < g; v += 1) {
659
- const y = f - v * b;
660
- C[g - 1 - v] > y && (C[g - 1 - v] = y);
700
+ const y = b - v * C;
701
+ f[g - 1 - v] > y && (f[g - 1 - v] = y);
661
702
  }
662
- }(l, t, h, p)) : n < a && (this.pushPreceding(t, h, o), function(g, C, b, f) {
703
+ }(l, t, h, p)) : n < a && (this.pushPreceding(t, h, s), function(g, f, C, b) {
663
704
  for (let v = 0; v < g; v += 1) {
664
- const y = f + v * b;
665
- C[v] < y && (C[v] = y);
705
+ const y = b + v * C;
706
+ f[v] < y && (f[v] = y);
666
707
  }
667
708
  }(l, t, h, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
668
- }, s.pushSucceeding = function(n, t, o) {
709
+ }, o.pushSucceeding = function(n, t, s) {
669
710
  let l, a;
670
- for (l = o, 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);
671
- }, s.pushPreceding = function(n, t, o) {
672
- for (let l = o, 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);
673
- }, s.axisKey = function() {
711
+ for (l = s, 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);
712
+ }, o.pushPreceding = function(n, t, s) {
713
+ for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = ue(a, this.props);
714
+ }, o.axisKey = function() {
674
715
  return this.props.orientation === "vertical" ? "Y" : "X";
675
- }, s.orthogonalAxisKey = function() {
716
+ }, o.orthogonalAxisKey = function() {
676
717
  return this.props.orientation === "vertical" ? "X" : "Y";
677
- }, s.posMinKey = function() {
718
+ }, o.posMinKey = function() {
678
719
  return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
679
- }, s.posMaxKey = function() {
720
+ }, o.posMaxKey = function() {
680
721
  return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
681
- }, s.sizeKey = function() {
722
+ }, o.sizeKey = function() {
682
723
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
683
- }, s.fireChangeEvent = function(n) {
724
+ }, o.fireChangeEvent = function(n) {
684
725
  this.props[n] && this.props[n](W(this.state.value), this.state.index);
685
- }, s.buildThumbStyle = function(n, t) {
686
- const o = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
687
- return o[this.posMinKey()] = n + "px", o;
688
- }, s.buildTrackStyle = function(n, t) {
689
- const o = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
690
- return o[this.posMinKey()] = n, o[this.posMaxKey()] = t, o;
691
- }, s.buildMarkStyle = function(n) {
726
+ }, o.buildThumbStyle = function(n, t) {
727
+ const s = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
728
+ return s[this.posMinKey()] = n + "px", s;
729
+ }, o.buildTrackStyle = function(n, t) {
730
+ const s = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
731
+ return s[this.posMinKey()] = n, s[this.posMaxKey()] = t, s;
732
+ }, o.buildMarkStyle = function(n) {
692
733
  var t;
693
734
  return (t = { position: "absolute" })[this.posMinKey()] = n, t;
694
- }, s.renderThumbs = function(n) {
695
- const { length: t } = n, o = [];
696
- for (let a = 0; a < t; a += 1) o[a] = this.buildThumbStyle(n[a], a);
735
+ }, o.renderThumbs = function(n) {
736
+ const { length: t } = n, s = [];
737
+ for (let a = 0; a < t; a += 1) s[a] = this.buildThumbStyle(n[a], a);
697
738
  const l = [];
698
- for (let a = 0; a < t; a += 1) l[a] = this.renderThumb(o[a], a);
739
+ for (let a = 0; a < t; a += 1) l[a] = this.renderThumb(s[a], a);
699
740
  return l;
700
- }, s.renderTracks = function(n) {
701
- const t = [], o = n.length - 1;
741
+ }, o.renderTracks = function(n) {
742
+ const t = [], s = n.length - 1;
702
743
  t.push(this.renderTrack(0, 0, n[0]));
703
- for (let l = 0; l < o; l += 1) t.push(this.renderTrack(l + 1, n[l], n[l + 1]));
704
- return t.push(this.renderTrack(o + 1, n[o], this.state.upperBound)), t;
705
- }, s.renderMarks = function() {
744
+ for (let l = 0; l < s; l += 1) t.push(this.renderTrack(l + 1, n[l], n[l + 1]));
745
+ return t.push(this.renderTrack(s + 1, n[s], this.state.upperBound)), t;
746
+ }, o.renderMarks = function() {
706
747
  let { marks: n } = this.props;
707
748
  const t = this.props.max - this.props.min + 1;
708
- return typeof n == "boolean" ? n = Array.from({ length: t }).map((o, l) => l) : typeof n == "number" && (n = Array.from({ length: t }).map((o, l) => l).filter((o) => o % n == 0)), n.map(parseFloat).sort((o, l) => o - l).map((o) => {
709
- const l = this.calcOffset(o), a = { key: o, className: this.props.markClassName, style: this.buildMarkStyle(l) };
749
+ return typeof n == "boolean" ? n = Array.from({ length: t }).map((s, l) => l) : typeof n == "number" && (n = Array.from({ length: t }).map((s, l) => l).filter((s) => s % n == 0)), n.map(parseFloat).sort((s, l) => s - l).map((s) => {
750
+ const l = this.calcOffset(s), a = { key: s, className: this.props.markClassName, style: this.buildMarkStyle(l) };
710
751
  return this.props.renderMark(a);
711
752
  });
712
- }, s.render = function() {
713
- const n = [], { value: t } = this.state, o = t.length;
714
- for (let p = 0; p < o; p += 1) n[p] = this.calcOffset(t[p], p);
753
+ }, o.render = function() {
754
+ const n = [], { value: t } = this.state, s = t.length;
755
+ for (let p = 0; p < s; p += 1) n[p] = this.calcOffset(t[p], p);
715
756
  const l = this.props.withTracks ? this.renderTracks(n) : null, a = this.renderThumbs(n), c = this.props.marks ? this.renderMarks() : null;
716
757
  return Z.createElement("div", { ref: (p) => {
717
758
  this.slider = p, this.resizeElementRef.current = p;
@@ -719,21 +760,21 @@ let he = function(i) {
719
760
  }, d;
720
761
  }(Z.Component);
721
762
  he.displayName = "ReactSlider", he.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (i) => Z.createElement("div", i), renderTrack: (i) => Z.createElement("div", i), renderMark: (i) => Z.createElement("span", i) };
722
- var Ut = he;
723
- const Ht = "_container_15vgv_2", Gt = "_unitLabel_15vgv_9", Yt = "_slider_15vgv_12", Wt = "_thumb_15vgv_18", Xt = "_track_15vgv_27", Jt = "_labels_15vgv_33", E = {
724
- container: Ht,
725
- unitLabel: Gt,
726
- slider: Yt,
727
- thumb: Wt,
728
- track: Xt,
729
- labels: Jt
730
- }, Oe = ({
763
+ var Xt = he;
764
+ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_12", tn = "_thumb_15vgv_18", nn = "_track_15vgv_27", on = "_labels_15vgv_33", q = {
765
+ container: Jt,
766
+ unitLabel: Qt,
767
+ slider: en,
768
+ thumb: tn,
769
+ track: nn,
770
+ labels: on
771
+ }, Ae = ({
731
772
  min: i = 0,
732
773
  max: d = 100,
733
- step: s = 1,
774
+ step: o = 1,
734
775
  onChange: n,
735
776
  width: t = 300,
736
- unit: o,
777
+ unit: s,
737
778
  fontColor: l = "#605B56",
738
779
  value: a = [i, d]
739
780
  }) => {
@@ -743,19 +784,19 @@ const Ht = "_container_15vgv_2", Gt = "_unitLabel_15vgv_9", Yt = "_slider_15vgv_
743
784
  return /* @__PURE__ */ m(
744
785
  "div",
745
786
  {
746
- className: E.container,
787
+ className: q.container,
747
788
  style: { width: `${t}px`, color: `${l}` },
748
789
  children: [
749
- /* @__PURE__ */ r("div", { className: E.unitLabel, children: /* @__PURE__ */ r("span", { children: c(o) }) }),
790
+ /* @__PURE__ */ r("div", { className: q.unitLabel, children: /* @__PURE__ */ r("span", { children: c(s) }) }),
750
791
  /* @__PURE__ */ r(
751
- Ut,
792
+ Xt,
752
793
  {
753
- className: E.slider,
754
- thumbClassName: E.thumb,
755
- trackClassName: E.track,
794
+ className: q.slider,
795
+ thumbClassName: q.thumb,
796
+ trackClassName: q.track,
756
797
  min: i,
757
798
  max: d,
758
- step: s,
799
+ step: o,
759
800
  value: a,
760
801
  onChange: p,
761
802
  withTracks: !0,
@@ -763,7 +804,7 @@ const Ht = "_container_15vgv_2", Gt = "_unitLabel_15vgv_9", Yt = "_slider_15vgv_
763
804
  minDistance: 1
764
805
  }
765
806
  ),
766
- /* @__PURE__ */ m("div", { className: E.labels, children: [
807
+ /* @__PURE__ */ m("div", { className: q.labels, children: [
767
808
  /* @__PURE__ */ r("span", { children: a[0] }),
768
809
  /* @__PURE__ */ r("span", { children: a[1] })
769
810
  ] })
@@ -771,7 +812,7 @@ const Ht = "_container_15vgv_2", Gt = "_unitLabel_15vgv_9", Yt = "_slider_15vgv_
771
812
  }
772
813
  );
773
814
  };
774
- Oe.propTypes = {
815
+ Ae.propTypes = {
775
816
  min: e.number,
776
817
  max: e.number,
777
818
  step: e.number,
@@ -783,123 +824,123 @@ Oe.propTypes = {
783
824
  fontColor: e.string,
784
825
  value: e.arrayOf(e.number)
785
826
  };
786
- const Qt = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_1vm1r_2", tn = "_checkboxContainer_1vm1r_28", nn = "_absoluteSliderContainer_1vm1r_37", J = {
787
- tematicalFiltersInputContainer: Qt,
788
- inputTypeContainer: en,
789
- checkboxContainer: tn,
790
- absoluteSliderContainer: nn
827
+ const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_1vm1r_2", an = "_checkboxContainer_1vm1r_28", ln = "_absoluteSliderContainer_1vm1r_37", J = {
828
+ tematicalFiltersInputContainer: sn,
829
+ inputTypeContainer: rn,
830
+ checkboxContainer: an,
831
+ absoluteSliderContainer: ln
791
832
  }, be = ({
792
833
  indicator: i,
793
834
  //onChangeBothType
794
835
  activeColor: d
795
836
  }) => {
796
- const [s, n] = B(), {
837
+ const [o, n] = D(), {
797
838
  type: t,
798
- name: o,
839
+ name: s,
799
840
  values: l,
800
841
  minValue: a,
801
842
  maxValue: c,
802
843
  unit: p
803
844
  } = i || {}, u = te(
804
- () => t == "cat" || s == "cat",
805
- [s, t]
845
+ () => t == "cat" || o == "cat",
846
+ [o, t]
806
847
  ), h = te(
807
- () => t == "abs" || s == "abs",
808
- [s, t]
848
+ () => t == "abs" || o == "abs",
849
+ [o, t]
809
850
  ), {
810
851
  tematicalFiltersSelected: g,
811
- selectedIndicator: C,
812
- fontColor: b,
813
- inputsColor: f
814
- } = T((x) => x), v = (x) => {
815
- if (x) {
816
- const { min: w, max: _, valueClicked: N, allValues: $ } = x || {}, { code: O, type: ne } = i || {}, U = h ? "abs" : u ? "cat" : "both";
817
- let A = O[0];
818
- ne == "both" && (A = U == "cat" ? O[1] : O[0]), U == "cat" ? T.setState((P) => {
819
- let I = P.tematicalFiltersSelected.find(
820
- (L) => L.code === A
852
+ selectedIndicator: f,
853
+ fontColor: C,
854
+ inputsColor: b
855
+ } = T((_) => _), v = (_) => {
856
+ if (_) {
857
+ const { min: w, max: x, valueClicked: N, allValues: $ } = _ || {}, { code: A, type: ne } = i || {}, U = h ? "abs" : u ? "cat" : "both";
858
+ let O = A[0];
859
+ ne == "both" && (O = U == "cat" ? A[1] : A[0]), U == "cat" ? T.setState((E) => {
860
+ let I = E.tematicalFiltersSelected.find(
861
+ (L) => L.code === O
821
862
  );
822
863
  if (I) {
823
864
  let L = [I.values];
824
865
  if (I.values.includes(N)) {
825
866
  if (L = I.values.filter(
826
- (D) => D !== N
867
+ (B) => B !== N
827
868
  ), L.length < 1)
828
869
  return {
829
- tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
830
- (D) => D.code !== A
870
+ tematicalFiltersSelected: E.tematicalFiltersSelected.filter(
871
+ (B) => B.code !== O
831
872
  )
832
873
  };
833
874
  } else
834
875
  L = [...I.values, N];
835
876
  return {
836
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
837
- (D) => D.code === A ? { ...D, values: L } : D
877
+ tematicalFiltersSelected: E.tematicalFiltersSelected.map(
878
+ (B) => B.code === O ? { ...B, values: L } : B
838
879
  )
839
880
  };
840
881
  } else {
841
882
  console.log("entra aqui: ", $, " ", N);
842
- let L = $.map((D, Pe) => Pe);
883
+ let L = $.map((B, Pe) => Pe);
843
884
  return {
844
885
  tematicalFiltersSelected: [
845
886
  ...g,
846
887
  {
847
888
  type: "cat",
848
- code: A,
849
- values: L.filter((D) => D !== N),
889
+ code: O,
890
+ values: L.filter((B) => B !== N),
850
891
  name: i.name
851
892
  }
852
893
  ]
853
894
  };
854
895
  }
855
- }) : U == "abs" && T.setState((P) => {
856
- let I = P.tematicalFiltersSelected.find(
857
- (L) => L.code === A
896
+ }) : U == "abs" && T.setState((E) => {
897
+ let I = E.tematicalFiltersSelected.find(
898
+ (L) => L.code === O
858
899
  );
859
900
  if (I) {
860
901
  let L = { ...I };
861
- return L.min = w, L.max = _, {
862
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
863
- (D) => D.code === A ? L : D
902
+ return L.min = w, L.max = x, {
903
+ tematicalFiltersSelected: E.tematicalFiltersSelected.map(
904
+ (B) => B.code === O ? L : B
864
905
  )
865
906
  };
866
907
  } else
867
908
  return {
868
909
  tematicalFiltersSelected: [
869
910
  ...g,
870
- { type: "abs", code: A, min: w, max: _ }
911
+ { type: "abs", code: O, min: w, max: x }
871
912
  ]
872
913
  };
873
914
  });
874
915
  }
875
916
  }, y = te(() => {
876
- const x = {};
917
+ const _ = {};
877
918
  if ((g == null ? void 0 : g.length) > 0)
878
919
  for (const w of g)
879
- w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
880
- return x;
920
+ w.type === "cat" ? _[w.code] = new Set(w.values) : _[w.code] = [w.min, w.max];
921
+ return _;
881
922
  }, [g]);
882
923
  return /* @__PURE__ */ r("div", { className: J.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
883
- z,
924
+ P,
884
925
  {
885
926
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
886
- title: o,
887
- isOpen: C == `id${o}`,
927
+ title: s,
928
+ isOpen: f == `id${s}`,
888
929
  onClick: () => T.setState(() => ({
889
- selectedIndicator: C == `id${o}` ? "" : `id${o}`
930
+ selectedIndicator: f == `id${s}` ? "" : `id${s}`
890
931
  })),
891
932
  showBottomBar: !1,
892
933
  height: 38,
893
934
  titleMarginChildren: 14,
894
935
  className: "tematicalFiltersInputContainer",
895
- color: b,
936
+ color: C,
896
937
  activeColor: d,
897
938
  children: [
898
939
  t == "both" && /* @__PURE__ */ m(
899
940
  "div",
900
941
  {
901
942
  className: J.inputTypeContainer,
902
- style: { color: b },
943
+ style: { color: C },
903
944
  children: [
904
945
  /* @__PURE__ */ m("label", { children: [
905
946
  /* @__PURE__ */ r(
@@ -913,8 +954,8 @@ const Qt = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
913
954
  },
914
955
  style: {
915
956
  marginRight: 4,
916
- backgroundColor: s == "abs" ? f : "white",
917
- border: `1.5px solid ${s == "abs" ? f : b}`
957
+ backgroundColor: o == "abs" ? b : "white",
958
+ border: `1.5px solid ${o == "abs" ? b : C}`
918
959
  }
919
960
  }
920
961
  ),
@@ -932,8 +973,8 @@ const Qt = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
932
973
  },
933
974
  style: {
934
975
  marginRight: 4,
935
- backgroundColor: s == "cat" ? f : "white",
936
- border: `1.5px solid ${s == "cat" ? f : b}`
976
+ backgroundColor: o == "cat" ? b : "white",
977
+ border: `1.5px solid ${o == "cat" ? b : C}`
937
978
  }
938
979
  }
939
980
  ),
@@ -942,20 +983,20 @@ const Qt = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
942
983
  ]
943
984
  }
944
985
  ),
945
- u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((x, w) => {
946
- var _;
986
+ u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((_, w) => {
987
+ var x;
947
988
  return /* @__PURE__ */ r(
948
989
  $e,
949
990
  {
950
991
  onClick: () => v({ valueClicked: w, allValues: l }),
951
- indicator: x,
952
- value: ((_ = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : _.has(w)) || !y[i.code[t == "both" ? 1 : 0]]
992
+ indicator: _,
993
+ value: ((x = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : x.has(w)) || !y[i.code[t == "both" ? 1 : 0]]
953
994
  },
954
995
  `checkbox-${w}`
955
996
  );
956
997
  }) }),
957
998
  h && /* @__PURE__ */ r("div", { className: J.absoluteSliderContainer, children: /* @__PURE__ */ r(
958
- Oe,
999
+ Ae,
959
1000
  {
960
1001
  onChange: v,
961
1002
  min: a,
@@ -983,15 +1024,15 @@ be.propTypes = {
983
1024
  activeColor: e.string
984
1025
  //onChangeBothType: PropTypes.func,
985
1026
  };
986
- const Ae = ({
1027
+ const Oe = ({
987
1028
  subcategory: i,
988
1029
  fontColor: d,
989
- activeColor: s
1030
+ activeColor: o
990
1031
  //onChangeBothType,
991
1032
  }) => {
992
- const { activeSubcategory: n } = T((l) => l), { name: t, indicators: o } = i || {};
1033
+ const { activeSubcategory: n } = T((l) => l), { name: t, indicators: s } = i || {};
993
1034
  return /* @__PURE__ */ r(
994
- z,
1035
+ P,
995
1036
  {
996
1037
  title: t,
997
1038
  isOpen: n == `id${t}`,
@@ -1003,21 +1044,22 @@ const Ae = ({
1003
1044
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
1004
1045
  showBottomBar: !1,
1005
1046
  titleMarginChildren: 20,
1006
- height: 49,
1047
+ height: 48,
1007
1048
  color: d,
1008
- activeColor: s,
1009
- children: o == null ? void 0 : o.map((l, a) => /* @__PURE__ */ r(
1049
+ activeColor: o,
1050
+ children: s == null ? void 0 : s.map((l, a) => /* @__PURE__ */ r(
1010
1051
  be,
1011
1052
  {
1012
1053
  indicator: l,
1013
- fontColor: d
1054
+ fontColor: d,
1055
+ activeColor: o
1014
1056
  },
1015
1057
  `indicatorSub-${a}`
1016
1058
  ))
1017
1059
  }
1018
1060
  );
1019
1061
  };
1020
- Ae.propTypes = {
1062
+ Oe.propTypes = {
1021
1063
  subcategory: e.shape({
1022
1064
  name: e.string,
1023
1065
  indicators: e.arrayOf(
@@ -1035,23 +1077,23 @@ const Ie = ({
1035
1077
  // onChangeBothType,
1036
1078
  activeColor: d
1037
1079
  }) => {
1038
- const { name: s, subcategories: n, indicators: t } = i || {}, { activeCategory: o, fontColor: l } = T((a) => a);
1080
+ const { name: o, subcategories: n, indicators: t } = i || {}, { activeCategory: s, fontColor: l } = T((a) => a);
1039
1081
  return i && /* @__PURE__ */ r(
1040
- z,
1082
+ P,
1041
1083
  {
1042
1084
  onClick: () => {
1043
1085
  T.setState((a) => ({
1044
- activeCategory: o === `id${s}` ? "" : `id${s}`
1086
+ activeCategory: s === `id${o}` ? "" : `id${o}`
1045
1087
  }));
1046
1088
  },
1047
- title: s,
1048
- isOpen: o === `id${s}`,
1089
+ title: o,
1090
+ isOpen: s === `id${o}`,
1049
1091
  titleFontStyles: { fontSize: 18, fontWeight: "bold" },
1050
1092
  showBottomBar: !1,
1051
1093
  color: l,
1052
1094
  activeColor: d,
1053
1095
  children: n ? n.map((a, c) => /* @__PURE__ */ r(
1054
- Ae,
1096
+ Oe,
1055
1097
  {
1056
1098
  subcategory: a,
1057
1099
  fontColor: l,
@@ -1082,32 +1124,30 @@ Ie.propTypes = {
1082
1124
  const Re = ({
1083
1125
  indicators: i,
1084
1126
  isOpen: d = !0,
1085
- title: s,
1127
+ title: o,
1086
1128
  fontColor: n = "#605B56",
1087
1129
  //The color of the slider and the checkbox when is checked
1088
1130
  inputsColor: t = "#605B56",
1089
- activeColor: o
1131
+ activeColor: s
1090
1132
  }) => {
1091
1133
  const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = k();
1092
1134
  return F(() => {
1093
- console.log("filtersSelected changed: ", l);
1094
- }, [l]), F(() => {
1095
1135
  n && T.setState(() => ({ fontColor: n }));
1096
1136
  }, [n]), F(() => {
1097
1137
  t && T.setState(() => ({ inputsColor: t }));
1098
1138
  }, [t]), /* @__PURE__ */ r(
1099
- z,
1139
+ P,
1100
1140
  {
1101
1141
  isOpen: d,
1102
- title: s ? a(s) : "Tematical filters",
1142
+ title: o ? a(o) : "Tematical filters",
1103
1143
  color: n,
1104
- activeColor: o,
1144
+ activeColor: s,
1105
1145
  children: i == null ? void 0 : i.map((c, p) => /* @__PURE__ */ r(
1106
1146
  Ie,
1107
1147
  {
1108
1148
  category: c,
1109
1149
  fontColor: n,
1110
- activeColor: o
1150
+ activeColor: s
1111
1151
  },
1112
1152
  `category-${p}`
1113
1153
  ))
@@ -1123,29 +1163,29 @@ Re.propTypes = {
1123
1163
  inputsColor: e.string,
1124
1164
  activeColor: e.string
1125
1165
  };
1126
- const on = "_FiltersAmbitContainer_6o4gt_2", sn = "_FiltersAmbitHeader_6o4gt_7", rn = "_FiltersAmbitTitle_6o4gt_15", an = "_FiltersAmbitDescription_6o4gt_22", ln = "_FiltersAmbitDescriptionTitle_6o4gt_33", G = {
1127
- FiltersAmbitContainer: on,
1128
- FiltersAmbitHeader: sn,
1129
- FiltersAmbitTitle: rn,
1130
- FiltersAmbitDescription: an,
1131
- FiltersAmbitDescriptionTitle: ln
1132
- }, cn = ({
1166
+ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7", pn = "_FiltersAmbitTitle_6o4gt_15", un = "_FiltersAmbitDescription_6o4gt_22", hn = "_FiltersAmbitDescriptionTitle_6o4gt_33", G = {
1167
+ FiltersAmbitContainer: cn,
1168
+ FiltersAmbitHeader: dn,
1169
+ FiltersAmbitTitle: pn,
1170
+ FiltersAmbitDescription: un,
1171
+ FiltersAmbitDescriptionTitle: hn
1172
+ }, mn = ({
1133
1173
  ambitName: i,
1134
1174
  ambitDescription: d,
1135
- defaultFilters: s,
1175
+ defaultFilters: o,
1136
1176
  indicators: n,
1137
1177
  activeColor: t,
1138
- textColor: o,
1178
+ textColor: s,
1139
1179
  backgroundColor: l,
1140
1180
  onChangeAppliedFilters: a,
1141
1181
  saveAmbit: c
1142
1182
  }) => {
1143
1183
  const { t: p } = k(), { tematicalFiltersSelected: u } = T((h) => h);
1144
1184
  return F(() => {
1145
- s && s.length > 0 && T.setState((h) => ({
1146
- tematicalFiltersSelected: s
1185
+ o && o.length > 0 && T.setState((h) => ({
1186
+ tematicalFiltersSelected: o
1147
1187
  }));
1148
- }, [s]), F(() => {
1188
+ }, [o]), F(() => {
1149
1189
  console.log("filtersSelected changed: ", u), a(u);
1150
1190
  }, [u]), /* @__PURE__ */ m("div", { className: G.FiltersAmbitContainer, children: [
1151
1191
  /* @__PURE__ */ m("div", { className: G.FiltersAmbitHeader, children: [
@@ -1156,22 +1196,22 @@ const on = "_FiltersAmbitContainer_6o4gt_2", sn = "_FiltersAmbitHeader_6o4gt_7",
1156
1196
  ] })
1157
1197
  ] }),
1158
1198
  /* @__PURE__ */ r(
1159
- De,
1199
+ Be,
1160
1200
  {
1161
1201
  title: p("applied_filters"),
1162
1202
  isOpen: !0,
1163
- textColor: o || "#fff",
1203
+ textColor: s || "#fff",
1164
1204
  backgroundColor: l || "#605B5680",
1165
1205
  activeColor: t
1166
1206
  }
1167
1207
  ),
1168
- /* @__PURE__ */ r(Be, { activeColor: t }),
1208
+ /* @__PURE__ */ r(De, { activeColor: t }),
1169
1209
  /* @__PURE__ */ r(
1170
1210
  Re,
1171
1211
  {
1172
1212
  indicators: n,
1173
1213
  inputsColor: t,
1174
- textColor: o,
1214
+ textColor: s,
1175
1215
  title: "tematical_filters",
1176
1216
  activeColor: t
1177
1217
  }
@@ -1179,7 +1219,7 @@ const on = "_FiltersAmbitContainer_6o4gt_2", sn = "_FiltersAmbitHeader_6o4gt_7",
1179
1219
  /* @__PURE__ */ r("div", { className: "buttonContainer", children: /* @__PURE__ */ r("button", { className: "mainButton", onClick: c, children: p("guardar_ambit") }) })
1180
1220
  ] });
1181
1221
  };
1182
- cn.propTypes = {
1222
+ mn.propTypes = {
1183
1223
  indicators: e.arrayOf(e.object).isRequired,
1184
1224
  ambitName: e.string,
1185
1225
  ambitDescription: e.string,
@@ -1190,29 +1230,29 @@ cn.propTypes = {
1190
1230
  onChangeAppliedFilters: e.func,
1191
1231
  saveAmbit: e.func
1192
1232
  };
1193
- const dn = "_barChartContainer_d2f1z_2", pn = {
1194
- barChartContainer: dn
1233
+ const gn = "_barChartContainer_d2f1z_2", Cn = {
1234
+ barChartContainer: gn
1195
1235
  }, Ve = ({
1196
1236
  data: i,
1197
1237
  width: d = 700,
1198
- barHeight: s = 25,
1238
+ barHeight: o = 25,
1199
1239
  gap: n = 23,
1200
1240
  fontColor: t = "#605B56",
1201
- verticalPaddign: o = 10,
1241
+ verticalPaddign: s = 10,
1202
1242
  horizontalPaddign: l = 20,
1203
1243
  leftPadding: a = 200,
1204
1244
  numberOfDivisions: c = 7,
1205
1245
  maxValue: p = null
1206
1246
  }) => {
1207
- const { t: u } = k(), { xScale: h, ticks: g, height: C } = te(() => {
1247
+ const { t: u } = k(), { xScale: h, ticks: g, height: f } = te(() => {
1208
1248
  if (i && i.length > 0) {
1209
- const b = (i == null ? void 0 : i.length) * (s + n) + o * 2, f = ye.max(i, (x) => x.value) || 1, v = ye.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, w) => p ? p / c * w : f / c * w);
1249
+ const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, b = ye.max(i, (_) => _.value) || 1, v = ye.scaleLinear().domain([0, p || b]).range([0, d - a]), y = Array.from({ length: c + 1 }, (_, w) => p ? p / c * w : b / c * w);
1210
1250
  return {
1211
1251
  xScale: v,
1212
1252
  ticks: y,
1213
- height: b,
1253
+ height: C,
1214
1254
  width: d,
1215
- verticalPaddign: o,
1255
+ verticalPaddign: s,
1216
1256
  horizontalPaddign: l
1217
1257
  };
1218
1258
  } else
@@ -1221,38 +1261,38 @@ const dn = "_barChartContainer_d2f1z_2", pn = {
1221
1261
  i,
1222
1262
  d,
1223
1263
  c,
1224
- s,
1264
+ o,
1225
1265
  n,
1226
1266
  l,
1227
- o,
1267
+ s,
1228
1268
  p
1229
1269
  ]);
1230
- return /* @__PURE__ */ r("div", { className: pn.barChartContainer, children: /* @__PURE__ */ r("svg", { width: d + l * 2, height: C, children: /* @__PURE__ */ m("g", { transform: `translate(0,${n})`, children: [
1231
- /* @__PURE__ */ r("g", { transform: `translate(${a + l}, 0)`, children: g.map((b, f) => {
1232
- const v = h(b);
1270
+ return /* @__PURE__ */ r("div", { className: Cn.barChartContainer, children: /* @__PURE__ */ r("svg", { width: d + l * 2, height: f, children: /* @__PURE__ */ m("g", { transform: `translate(0,${n})`, children: [
1271
+ /* @__PURE__ */ r("g", { transform: `translate(${a + l}, 0)`, children: g.map((C, b) => {
1272
+ const v = h(C);
1233
1273
  return /* @__PURE__ */ m("g", { transform: `translate(${v}, 0)`, children: [
1234
1274
  /* @__PURE__ */ r(
1235
1275
  "line",
1236
1276
  {
1237
1277
  y1: 0,
1238
- y2: C - n * 2,
1278
+ y2: f - n * 2,
1239
1279
  stroke: "#ccc"
1240
1280
  }
1241
1281
  ),
1242
1282
  /* @__PURE__ */ r(
1243
1283
  "text",
1244
1284
  {
1245
- y: C - n,
1285
+ y: f - n,
1246
1286
  textAnchor: "middle",
1247
1287
  fontSize: 10,
1248
1288
  fill: t,
1249
- children: parseInt(b)
1289
+ children: parseInt(C)
1250
1290
  }
1251
1291
  )
1252
- ] }, f);
1292
+ ] }, b);
1253
1293
  }) }),
1254
- i && i.length > 0 && (i == null ? void 0 : i.map((b, f) => {
1255
- const v = h(b.value), y = f * (s + n);
1294
+ i && i.length > 0 && (i == null ? void 0 : i.map((C, b) => {
1295
+ const v = h(C.value), y = b * (o + n);
1256
1296
  return /* @__PURE__ */ m(
1257
1297
  "g",
1258
1298
  {
@@ -1262,24 +1302,24 @@ const dn = "_barChartContainer_d2f1z_2", pn = {
1262
1302
  "text",
1263
1303
  {
1264
1304
  x: -24,
1265
- y: s / 2 + 5,
1305
+ y: o / 2 + 5,
1266
1306
  textAnchor: "end",
1267
1307
  fill: t,
1268
- children: u(b.title)
1308
+ children: u(C.title)
1269
1309
  }
1270
1310
  ),
1271
1311
  /* @__PURE__ */ r(
1272
1312
  "rect",
1273
1313
  {
1274
1314
  width: v,
1275
- height: s,
1276
- fill: b.color,
1315
+ height: o,
1316
+ fill: C.color,
1277
1317
  rx: 0
1278
1318
  }
1279
1319
  )
1280
1320
  ]
1281
1321
  },
1282
- f
1322
+ b
1283
1323
  );
1284
1324
  }))
1285
1325
  ] }) }) });
@@ -1300,16 +1340,16 @@ Ve.propTypes = {
1300
1340
  numberOfDivisions: e.number,
1301
1341
  fontColor: e.string
1302
1342
  };
1303
- const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1304
- graphicContainer: un,
1305
- titleContainer: hn
1306
- }, mn = ({
1343
+ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
1344
+ graphicContainer: bn,
1345
+ titleContainer: fn
1346
+ }, yn = ({
1307
1347
  data: i,
1308
1348
  graphWidth: d = 700,
1309
- containerStyle: s,
1349
+ containerStyle: o,
1310
1350
  borderColor: n = "#605B56",
1311
1351
  title: t = "Graphic Title",
1312
- fontColor: o = "#605B56",
1352
+ fontColor: s = "#605B56",
1313
1353
  maxValue: l = null,
1314
1354
  numberOfDivisions: a = 7,
1315
1355
  leftPadding: c = 200
@@ -1320,7 +1360,7 @@ const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1320
1360
  {
1321
1361
  className: xe.graphicContainer,
1322
1362
  style: {
1323
- ...s || {},
1363
+ ...o || {},
1324
1364
  border: `1.5px solid ${n}`
1325
1365
  },
1326
1366
  children: [
@@ -1330,7 +1370,7 @@ const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1330
1370
  {
1331
1371
  data: i,
1332
1372
  width: d,
1333
- fontColor: o,
1373
+ fontColor: s,
1334
1374
  maxValue: l,
1335
1375
  numberOfDivisions: a,
1336
1376
  leftPadding: c
@@ -1340,7 +1380,7 @@ const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1340
1380
  }
1341
1381
  );
1342
1382
  };
1343
- mn.propTypes = {
1383
+ yn.propTypes = {
1344
1384
  data: e.arrayOf(
1345
1385
  e.shape({
1346
1386
  color: e.string.isRequired,
@@ -1357,41 +1397,41 @@ mn.propTypes = {
1357
1397
  numberOfDivisions: e.number,
1358
1398
  leftPadding: e.number
1359
1399
  };
1360
- const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu33_11", ae = {
1361
- indicatorsCategory: gn,
1362
- title: Cn,
1363
- list: bn
1364
- }, fn = "_indicatorContainer_lw8gx_2", yn = "_indicatorNameContainer_lw8gx_11", vn = "_dot_lw8gx_20", _n = "_indicatorName_lw8gx_11", xn = "_switchExternalContainer_lw8gx_31", wn = "_switchType_lw8gx_40", kn = "_switchTypeOptions_lw8gx_44", Nn = "_optionContainer_lw8gx_55", Sn = "_customRadious_lw8gx_65", Tn = "_optionText_lw8gx_72", S = {
1365
- indicatorContainer: fn,
1366
- indicatorNameContainer: yn,
1367
- dot: vn,
1368
- indicatorName: _n,
1369
- switchExternalContainer: xn,
1370
- switchType: wn,
1371
- switchTypeOptions: kn,
1372
- optionContainer: Nn,
1373
- customRadious: Sn,
1374
- optionText: Tn
1400
+ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu33_11", ae = {
1401
+ indicatorsCategory: vn,
1402
+ title: _n,
1403
+ list: xn
1404
+ }, wn = "_indicatorContainer_lw8gx_2", kn = "_indicatorNameContainer_lw8gx_11", Nn = "_dot_lw8gx_20", Sn = "_indicatorName_lw8gx_11", Tn = "_switchExternalContainer_lw8gx_31", Mn = "_switchType_lw8gx_40", Ln = "_switchTypeOptions_lw8gx_44", Fn = "_optionContainer_lw8gx_55", Bn = "_customRadious_lw8gx_65", Dn = "_optionText_lw8gx_72", S = {
1405
+ indicatorContainer: wn,
1406
+ indicatorNameContainer: kn,
1407
+ dot: Nn,
1408
+ indicatorName: Sn,
1409
+ switchExternalContainer: Tn,
1410
+ switchType: Mn,
1411
+ switchTypeOptions: Ln,
1412
+ optionContainer: Fn,
1413
+ customRadious: Bn,
1414
+ optionText: Dn
1375
1415
  }, fe = ({
1376
1416
  indicator: i,
1377
1417
  values: d = [],
1378
- activeColor: s,
1418
+ activeColor: o,
1379
1419
  defaultColor: n = "#92898A",
1380
1420
  activeIndicator: t,
1381
- activeIndicatorType: o,
1421
+ activeIndicatorType: s,
1382
1422
  onClickIndicator: l,
1383
1423
  multiple: a = !1,
1384
1424
  onChangeType: c
1385
1425
  }) => {
1386
- const { t: p } = k(), { name: u, type: h } = i, [g, C] = B(!1);
1426
+ const { t: p } = k(), { name: u, type: h } = i, [g, f] = D(!1);
1387
1427
  F(() => {
1388
- t && C(
1428
+ t && f(
1389
1429
  a ? t.some(
1390
1430
  (v) => v.name == String(u)
1391
1431
  ) : t.name == u
1392
1432
  );
1393
1433
  }, [t]);
1394
- const b = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ m("div", { className: S.switchTypeOptions, children: [
1434
+ const C = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ m("div", { className: S.switchTypeOptions, children: [
1395
1435
  /* @__PURE__ */ m(
1396
1436
  "div",
1397
1437
  {
@@ -1403,8 +1443,8 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1403
1443
  {
1404
1444
  className: `${S.customRadious}`,
1405
1445
  style: {
1406
- backgroundColor: o === "cat" ? s : "transparent",
1407
- borderColor: o === "cat" ? s : n
1446
+ backgroundColor: s === "cat" ? o : "transparent",
1447
+ borderColor: s === "cat" ? o : n
1408
1448
  }
1409
1449
  }
1410
1450
  ),
@@ -1413,7 +1453,7 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1413
1453
  {
1414
1454
  className: S.optionText,
1415
1455
  style: {
1416
- color: o === "cat" ? s : n
1456
+ color: s === "cat" ? o : n
1417
1457
  },
1418
1458
  children: p("indicators.cat")
1419
1459
  }
@@ -1432,8 +1472,8 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1432
1472
  {
1433
1473
  className: `${S.customRadious}`,
1434
1474
  style: {
1435
- backgroundColor: o === "abs" ? s : "transparent",
1436
- borderColor: o === "abs" ? s : n
1475
+ backgroundColor: s === "abs" ? o : "transparent",
1476
+ borderColor: s === "abs" ? o : n
1437
1477
  }
1438
1478
  }
1439
1479
  ),
@@ -1442,7 +1482,7 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1442
1482
  {
1443
1483
  className: S.optionText,
1444
1484
  style: {
1445
- color: o === "abs" ? s : n
1485
+ color: s === "abs" ? o : n
1446
1486
  },
1447
1487
  children: p("indicators.abs")
1448
1488
  }
@@ -1450,7 +1490,7 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1450
1490
  ]
1451
1491
  }
1452
1492
  )
1453
- ] }) }) }), f = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ r("div", { className: S.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ m(
1493
+ ] }) }) }), b = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ r("div", { className: S.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ m(
1454
1494
  "div",
1455
1495
  {
1456
1496
  className: S.optionContainer,
@@ -1466,42 +1506,36 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1466
1506
  },
1467
1507
  y
1468
1508
  )) }) }) });
1469
- return /* @__PURE__ */ m(
1470
- "div",
1471
- {
1472
- className: S.indicatorContainer,
1473
- children: [
1474
- /* @__PURE__ */ m(
1475
- "div",
1476
- {
1477
- className: S.indicatorNameContainer,
1478
- onClick: () => l({ indicator: i }),
1479
- children: [
1480
- /* @__PURE__ */ r(
1481
- "div",
1482
- {
1483
- style: {
1484
- border: g ? `1px solid ${s}` : `1px solid ${n}`
1485
- },
1486
- className: S.dot
1487
- }
1488
- ),
1489
- /* @__PURE__ */ r(
1490
- "h4",
1491
- {
1492
- className: S.indicatorName,
1493
- style: { color: g ? s : n },
1494
- children: /* @__PURE__ */ r(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1495
- }
1496
- )
1497
- ]
1498
- }
1499
- ),
1500
- (t == null ? void 0 : t.name) === u && h === "both" && /* @__PURE__ */ r("div", { children: b() }),
1501
- (t == null ? void 0 : t.name) === u && h === "twoUnits" && /* @__PURE__ */ r("div", { children: f() })
1502
- ]
1503
- }
1504
- );
1509
+ return /* @__PURE__ */ m("div", { className: S.indicatorContainer, children: [
1510
+ /* @__PURE__ */ m(
1511
+ "div",
1512
+ {
1513
+ className: S.indicatorNameContainer,
1514
+ onClick: () => l({ indicator: i }),
1515
+ children: [
1516
+ /* @__PURE__ */ r(
1517
+ "div",
1518
+ {
1519
+ style: {
1520
+ border: g ? `1px solid ${o}` : `1px solid ${n}`
1521
+ },
1522
+ className: S.dot
1523
+ }
1524
+ ),
1525
+ /* @__PURE__ */ r(
1526
+ "h4",
1527
+ {
1528
+ className: S.indicatorName,
1529
+ style: { color: g ? o : n },
1530
+ children: /* @__PURE__ */ r(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1531
+ }
1532
+ )
1533
+ ]
1534
+ }
1535
+ ),
1536
+ (t == null ? void 0 : t.name) === u && h === "both" && /* @__PURE__ */ r("div", { children: C() }),
1537
+ (t == null ? void 0 : t.name) === u && h === "twoUnits" && /* @__PURE__ */ r("div", { children: b() })
1538
+ ] });
1505
1539
  };
1506
1540
  fe.propTypes = {
1507
1541
  indicator: e.shape({
@@ -1515,16 +1549,16 @@ fe.propTypes = {
1515
1549
  multiple: e.bool,
1516
1550
  onClickIndicator: e.func
1517
1551
  };
1518
- const Mn = "_indicatorsSubCategory_1dzsi_2", Fn = "_list_1dzsi_8", we = {
1519
- indicatorsSubCategory: Mn,
1520
- list: Fn
1552
+ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
1553
+ indicatorsSubCategory: $n,
1554
+ list: An
1521
1555
  }, je = ({
1522
1556
  subcName: i,
1523
1557
  indicators: d,
1524
- defaultColor: s,
1558
+ defaultColor: o,
1525
1559
  activeColor: n,
1526
1560
  activeSubCategory: t,
1527
- onClickSubCategory: o,
1561
+ onClickSubCategory: s,
1528
1562
  id: l,
1529
1563
  activeIndicator: a,
1530
1564
  onClickIndicator: c,
@@ -1532,32 +1566,32 @@ const Mn = "_indicatorsSubCategory_1dzsi_2", Fn = "_list_1dzsi_8", we = {
1532
1566
  activeIndicatorType: u,
1533
1567
  onChangeType: h
1534
1568
  }) => {
1535
- const { t: g } = k(), [C, b] = B(!1);
1569
+ const { t: g } = k(), [f, C] = D(!1);
1536
1570
  return F(() => {
1537
- b(t == l);
1571
+ C(t == l);
1538
1572
  }, [t, l]), /* @__PURE__ */ m(
1539
1573
  Ce.div,
1540
1574
  {
1541
1575
  className: we.indicatorsSubCategory,
1542
1576
  initial: { height: "43px" },
1543
- animate: { height: C ? "auto" : "43px" },
1577
+ animate: { height: f ? "auto" : "43px" },
1544
1578
  transition: { duration: 0.4 },
1545
1579
  children: [
1546
- /* @__PURE__ */ r("button", { onClick: () => o(l), children: /* @__PURE__ */ m("h3", { style: { color: C ? n : s }, children: [
1547
- /* @__PURE__ */ r("span", { style: { color: C ? n : s }, children: C ? "-" : "+" }),
1580
+ /* @__PURE__ */ r("button", { onClick: () => s(l), children: /* @__PURE__ */ m("h3", { style: { color: f ? n : o }, children: [
1581
+ /* @__PURE__ */ r("span", { style: { color: f ? n : o }, children: f ? "-" : "+" }),
1548
1582
  /* @__PURE__ */ r(
1549
1583
  "span",
1550
1584
  {
1551
- style: { marginLeft: 12, color: C ? n : s },
1585
+ style: { marginLeft: 12, color: f ? n : o },
1552
1586
  children: g(i)
1553
1587
  }
1554
1588
  )
1555
1589
  ] }) }),
1556
- d && /* @__PURE__ */ r("div", { className: we.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ r(
1590
+ d && /* @__PURE__ */ r("div", { className: we.list, children: d == null ? void 0 : d.map((b, v) => /* @__PURE__ */ r(
1557
1591
  fe,
1558
1592
  {
1559
- indicator: f,
1560
- defaultColor: s,
1593
+ indicator: b,
1594
+ defaultColor: o,
1561
1595
  activeColor: n,
1562
1596
  activeIndicator: a,
1563
1597
  onClickIndicator: c,
@@ -1586,10 +1620,10 @@ je.propTypes = {
1586
1620
  const ze = ({
1587
1621
  cat: i,
1588
1622
  id: d,
1589
- activeColor: s,
1623
+ activeColor: o,
1590
1624
  defaultColor: n,
1591
1625
  onClickCategory: t,
1592
- activeCategory: o,
1626
+ activeCategory: s,
1593
1627
  activeSubCategory: l,
1594
1628
  onClickSubCategory: a,
1595
1629
  activeIndicator: c,
@@ -1599,57 +1633,57 @@ const ze = ({
1599
1633
  onChangeType: g
1600
1634
  }) => {
1601
1635
  var v;
1602
- const { t: C } = k(), [b, f] = B(!1);
1636
+ const { t: f } = k(), [C, b] = D(!1);
1603
1637
  return F(() => {
1604
- f(o === d);
1605
- }, [o, d]), /* @__PURE__ */ m(
1638
+ b(s === d);
1639
+ }, [s, d]), /* @__PURE__ */ m(
1606
1640
  Ce.div,
1607
1641
  {
1608
1642
  className: ae.indicatorsCategory,
1609
1643
  initial: { height: "53px" },
1610
- animate: { height: b ? "auto" : "53px" },
1644
+ animate: { height: C ? "auto" : "53px" },
1611
1645
  transition: { duration: 0.4 },
1612
1646
  style: {
1613
1647
  backgroundColor: "white",
1614
- borderBottom: b ? `1px solid ${s}` : "0px",
1615
- marginBottom: b ? "20px" : "0px"
1648
+ borderBottom: C ? `1px solid ${o}` : "0px",
1649
+ marginBottom: C ? "20px" : "0px"
1616
1650
  },
1617
1651
  children: [
1618
1652
  /* @__PURE__ */ m("h2", { className: `${ae.title}`, onClick: () => t(d), children: [
1619
- /* @__PURE__ */ r("span", { style: { color: b ? s : n }, children: b ? "-" : "+" }),
1653
+ /* @__PURE__ */ r("span", { style: { color: C ? o : n }, children: C ? "-" : "+" }),
1620
1654
  /* @__PURE__ */ r(
1621
1655
  "span",
1622
1656
  {
1623
- style: { marginLeft: 12, color: b ? s : n },
1624
- children: C(i.name)
1657
+ style: { marginLeft: 12, color: C ? o : n },
1658
+ children: f(i.name)
1625
1659
  }
1626
1660
  )
1627
1661
  ] }),
1628
1662
  i.subcategories ? i.subcategories.map(
1629
- ({ name: y, subcategory: x, indicators: w }, _) => /* @__PURE__ */ r(
1663
+ ({ name: y, subcategory: _, indicators: w }, x) => /* @__PURE__ */ r(
1630
1664
  je,
1631
1665
  {
1632
- id: x,
1666
+ id: _,
1633
1667
  activeSubCategory: l,
1634
1668
  subcName: y,
1635
1669
  onClickSubCategory: a,
1636
1670
  activeIndicator: c,
1637
1671
  onClickIndicator: p,
1638
1672
  multiple: u,
1639
- activeColor: s,
1673
+ activeColor: o,
1640
1674
  defaultColor: n,
1641
1675
  indicators: w,
1642
1676
  activeIndicatorType: h,
1643
1677
  onChangeType: g
1644
1678
  },
1645
- `subcKey ${_}`
1679
+ `subcKey ${x}`
1646
1680
  )
1647
- ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ r(
1681
+ ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, _) => /* @__PURE__ */ r(
1648
1682
  fe,
1649
1683
  {
1650
1684
  indicator: y,
1651
1685
  values: y.type == "twoUnits" && y.values,
1652
- activeColor: s,
1686
+ activeColor: o,
1653
1687
  defaultColor: n,
1654
1688
  activeIndicator: c,
1655
1689
  onClickIndicator: p,
@@ -1657,7 +1691,7 @@ const ze = ({
1657
1691
  activeIndicatorType: h,
1658
1692
  onChangeType: g
1659
1693
  },
1660
- `indicator${x}`
1694
+ `indicator${_}`
1661
1695
  )) })
1662
1696
  ]
1663
1697
  }
@@ -1677,83 +1711,83 @@ ze.propTypes = {
1677
1711
  activeColor: e.string,
1678
1712
  defaultColor: e.string
1679
1713
  };
1680
- const Ln = "_indicatorsList_fklyu_2", Dn = "_title_fklyu_6", ke = {
1681
- indicatorsList: Ln,
1682
- title: Dn
1683
- }, Bn = ({
1714
+ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
1715
+ indicatorsList: On,
1716
+ title: In
1717
+ }, Rn = ({
1684
1718
  indicators: i,
1685
1719
  activeColor: d,
1686
- defaultColor: s = "#92898A",
1720
+ defaultColor: o = "#92898A",
1687
1721
  // Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
1688
1722
  onChange: n,
1689
1723
  // Selección multiple
1690
1724
  multiple: t = !1,
1691
1725
  // Si multiple es true, debe ser un array de strings, sino un string
1692
- defaultValue: o = null,
1726
+ defaultValue: s = null,
1693
1727
  //si el indicador es tipo "both" cuando se cambia el tipo
1694
1728
  changeIndType: l,
1695
1729
  activeIndicatorType: a
1696
1730
  }) => {
1697
- const { t: c } = k(), [p, u] = B(), [h, g] = B(), [C, b] = B(), f = (_) => {
1698
- u(p == _ ? null : _);
1699
- }, v = (_) => {
1700
- g(h == _ ? null : _);
1701
- }, y = ({ indicator: _ }) => {
1702
- console.log("onClickIndicator: ", _), x(_);
1703
- }, x = (_) => {
1731
+ const { t: c } = k(), [p, u] = D(), [h, g] = D(), [f, C] = D(), b = (x) => {
1732
+ u(p == x ? null : x);
1733
+ }, v = (x) => {
1734
+ g(h == x ? null : x);
1735
+ }, y = ({ indicator: x }) => {
1736
+ console.log("onClickIndicator: ", x), _(x);
1737
+ }, _ = (x) => {
1704
1738
  if (!t)
1705
- b(
1706
- (C == null ? void 0 : C.name) == _.name ? null : _
1739
+ C(
1740
+ (f == null ? void 0 : f.name) == x.name ? null : x
1707
1741
  );
1708
1742
  else {
1709
- let N = C && C.length > 0 ? [...C] : [];
1710
- b(
1743
+ let N = f && f.length > 0 ? [...f] : [];
1744
+ C(
1711
1745
  N != null && N.some(
1712
- ($) => $.name == _.name
1746
+ ($) => $.name == x.name
1713
1747
  ) ? N.filter(
1714
- ($) => $.name != String(_.name)
1715
- ) : [...N, _]
1716
- ), _.type == "both" && l("cat");
1748
+ ($) => $.name != String(x.name)
1749
+ ) : [...N, x]
1750
+ ), x.type == "both" && l("cat");
1717
1751
  }
1718
1752
  };
1719
1753
  F(() => {
1720
- console.log("activeindicator changed to: ", C), n && typeof n == "function" && C && n({ activeIndicator: C });
1721
- }, [C]), Ee(() => {
1722
- if (o && !C)
1723
- if (t && o && Array.isArray(o)) {
1724
- let _ = C && C.length > 0 ? [...C] : [];
1725
- b([..._, ...o]), w(o[0].name);
1754
+ console.log("activeindicator changed to: ", f), n && typeof n == "function" && f && n({ activeIndicator: f });
1755
+ }, [f]), qe(() => {
1756
+ if (s && !f)
1757
+ if (t && s && Array.isArray(s)) {
1758
+ let x = f && f.length > 0 ? [...f] : [];
1759
+ C([...x, ...s]), w(s[0].name);
1726
1760
  } else
1727
- x(o), w(o.name);
1761
+ _(s), w(s.name);
1728
1762
  }, []);
1729
- const w = (_) => {
1763
+ const w = (x) => {
1730
1764
  const N = i.find(($) => {
1731
1765
  if ($.subcategories) {
1732
- let O = $.subcategories.find(
1733
- (ne) => ne.indicators.find((U) => U.name == _)
1766
+ let A = $.subcategories.find(
1767
+ (ne) => ne.indicators.find((U) => U.name == x)
1734
1768
  );
1735
- if (O)
1736
- return g(O.subcategory), O;
1769
+ if (A)
1770
+ return g(A.subcategory), A;
1737
1771
  } else
1738
- return $.indicators.some((O) => O.name == _);
1772
+ return $.indicators.some((A) => A.name == x);
1739
1773
  });
1740
1774
  N && u(N.category);
1741
1775
  };
1742
1776
  return /* @__PURE__ */ m("div", { className: ke.indicatorsList, children: [
1743
- /* @__PURE__ */ r("h2", { className: ke.title, style: { color: s }, children: c("indicators.indicators") }),
1744
- i.map((_, N) => /* @__PURE__ */ r(
1777
+ /* @__PURE__ */ r("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
1778
+ i.map((x, N) => /* @__PURE__ */ r(
1745
1779
  ze,
1746
1780
  {
1747
- id: _.category,
1748
- cat: _,
1749
- onClickCategory: f,
1781
+ id: x.category,
1782
+ cat: x,
1783
+ onClickCategory: b,
1750
1784
  activeCategory: p,
1751
1785
  onClickSubCategory: v,
1752
1786
  activeSubCategory: h,
1753
1787
  onClickIndicator: y,
1754
- activeIndicator: C,
1788
+ activeIndicator: f,
1755
1789
  activeColor: d,
1756
- defaultColor: s,
1790
+ defaultColor: o,
1757
1791
  multiple: t,
1758
1792
  onChange: n,
1759
1793
  onChangeType: l,
@@ -1763,7 +1797,7 @@ const Ln = "_indicatorsList_fklyu_2", Dn = "_title_fklyu_6", ke = {
1763
1797
  ))
1764
1798
  ] });
1765
1799
  };
1766
- Bn.propTypes = {
1800
+ Rn.propTypes = {
1767
1801
  indicators: e.arrayOf(e.object),
1768
1802
  activeColor: e.string,
1769
1803
  defaultColor: e.string,
@@ -1774,15 +1808,15 @@ Bn.propTypes = {
1774
1808
  defaultValue: e.oneOfType([e.object, e.array]),
1775
1809
  activeIndicatorType: e.string
1776
1810
  };
1777
- const $n = "_langSelector_1of0g_2", On = "_currentLang_1of0g_7", An = "_arrow_1of0g_19", In = "_prevImg_1of0g_22", Rn = "_langMenu_1of0g_26", K = {
1778
- langSelector: $n,
1779
- currentLang: On,
1780
- arrow: An,
1781
- prevImg: In,
1782
- langMenu: Rn
1783
- }, Vn = ({ langs: i, arrow: d, imgPrev: s }) => {
1784
- const [n, t] = B(!1), { i18n: o } = k(), l = i.find((c) => c.code == o.language), a = (c) => {
1785
- o.changeLanguage(c), t(!1);
1811
+ const Vn = "_langSelector_1of0g_2", jn = "_currentLang_1of0g_7", zn = "_arrow_1of0g_19", Pn = "_prevImg_1of0g_22", En = "_langMenu_1of0g_26", K = {
1812
+ langSelector: Vn,
1813
+ currentLang: jn,
1814
+ arrow: zn,
1815
+ prevImg: Pn,
1816
+ langMenu: En
1817
+ }, qn = ({ langs: i, arrow: d, imgPrev: o }) => {
1818
+ const [n, t] = D(!1), { i18n: s } = k(), l = i.find((c) => c.code == s.language), a = (c) => {
1819
+ s.changeLanguage(c), t(!1);
1786
1820
  };
1787
1821
  return /* @__PURE__ */ m("div", { className: K.langSelector, children: [
1788
1822
  /* @__PURE__ */ m(
@@ -1793,7 +1827,7 @@ const $n = "_langSelector_1of0g_2", On = "_currentLang_1of0g_7", An = "_arrow_1o
1793
1827
  t(!n);
1794
1828
  },
1795
1829
  children: [
1796
- s && /* @__PURE__ */ r("img", { className: K.prevImg, src: s }),
1830
+ o && /* @__PURE__ */ r("img", { className: K.prevImg, src: o }),
1797
1831
  l.titleSelected || l.title,
1798
1832
  /* @__PURE__ */ r("img", { src: d, className: K.arrow })
1799
1833
  ]
@@ -1810,7 +1844,7 @@ const $n = "_langSelector_1of0g_2", On = "_currentLang_1of0g_7", An = "_arrow_1o
1810
1844
  )) })
1811
1845
  ] });
1812
1846
  };
1813
- Vn.propTypes = {
1847
+ qn.propTypes = {
1814
1848
  langs: e.arrayOf(
1815
1849
  e.shape({
1816
1850
  code: e.string,
@@ -1824,27 +1858,27 @@ Vn.propTypes = {
1824
1858
  arrow: e.object,
1825
1859
  imgPrev: e.object
1826
1860
  };
1827
- const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titleContainer_atg3j_46", qn = "_infoContainer_atg3j_52", En = "_titleLegendList_atg3j_63", Kn = "_legendListContainer_atg3j_70", Zn = "_gridContainer_atg3j_70", Un = "_elementLegendContainer_atg3j_76", Hn = "_colorDot_atg3j_82", Gn = "_absoluteValueContainer_atg3j_88", Yn = "_absoluteValueColor_atg3j_91", Wn = "_absoluteValueText_atg3j_96", Xn = "_moreInfoContainer_atg3j_108", M = {
1828
- legendContainer: jn,
1829
- closeButton: zn,
1830
- titleContainer: Pn,
1831
- infoContainer: qn,
1832
- titleLegendList: En,
1833
- legendListContainer: Kn,
1834
- gridContainer: Zn,
1835
- elementLegendContainer: Un,
1836
- colorDot: Hn,
1837
- absoluteValueContainer: Gn,
1838
- absoluteValueColor: Yn,
1839
- absoluteValueText: Wn,
1840
- moreInfoContainer: Xn
1841
- }, Jn = ({
1861
+ const Kn = "_legendContainer_atg3j_3", Zn = "_closeButton_atg3j_18", Un = "_titleContainer_atg3j_46", Hn = "_infoContainer_atg3j_52", Gn = "_titleLegendList_atg3j_63", Yn = "_legendListContainer_atg3j_70", Wn = "_gridContainer_atg3j_70", Xn = "_elementLegendContainer_atg3j_76", Jn = "_colorDot_atg3j_82", Qn = "_absoluteValueContainer_atg3j_88", ei = "_absoluteValueColor_atg3j_91", ti = "_absoluteValueText_atg3j_96", ni = "_moreInfoContainer_atg3j_108", M = {
1862
+ legendContainer: Kn,
1863
+ closeButton: Zn,
1864
+ titleContainer: Un,
1865
+ infoContainer: Hn,
1866
+ titleLegendList: Gn,
1867
+ legendListContainer: Yn,
1868
+ gridContainer: Wn,
1869
+ elementLegendContainer: Xn,
1870
+ colorDot: Jn,
1871
+ absoluteValueContainer: Qn,
1872
+ absoluteValueColor: ei,
1873
+ absoluteValueText: ti,
1874
+ moreInfoContainer: ni
1875
+ }, ii = ({
1842
1876
  //JSON with the styles of the container (optional)
1843
1877
  containerStyles: i,
1844
1878
  //Title on top of the legend
1845
1879
  title: d,
1846
1880
  //Array to display the info behind the title should have: [{title, value}, ...]
1847
- infoList: s,
1881
+ infoList: o,
1848
1882
  //Array to display the items of the legend: [{title, color}, ...]
1849
1883
  //color should be a string with hexadecimal value
1850
1884
  legendList: n,
@@ -1853,7 +1887,7 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1853
1887
  //Should be an object with {maxColor, minColor, maxValue, minValue}
1854
1888
  //If this has is not null or undefined, the legendList values wont be displayed.
1855
1889
  //It will display only the absolute value indicator.
1856
- absoluteValue: o,
1890
+ absoluteValue: s,
1857
1891
  //Function to be called when the button is clicked (optional).
1858
1892
  //If this is null or undefined the button wont be displayed.
1859
1893
  onClickMoreInfo: l,
@@ -1870,7 +1904,7 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1870
1904
  children: [
1871
1905
  /* @__PURE__ */ r("button", { className: M.closeButton, onClick: c }),
1872
1906
  d && /* @__PURE__ */ r("div", { className: M.titleContainer, children: /* @__PURE__ */ r("h2", { children: d }) }),
1873
- s && s.length > 0 && /* @__PURE__ */ r("div", { className: M.infoContainer, children: /* @__PURE__ */ r("ul", { children: s.map(({ title: u, value: h }) => /* @__PURE__ */ m("li", { children: [
1907
+ o && o.length > 0 && /* @__PURE__ */ r("div", { className: M.infoContainer, children: /* @__PURE__ */ r("ul", { children: o.map(({ title: u, value: h }) => /* @__PURE__ */ m("li", { children: [
1874
1908
  /* @__PURE__ */ r("h3", { className: M.title, children: `${u}:` }),
1875
1909
  /* @__PURE__ */ m("span", { className: M.value, children: [
1876
1910
  "  ",
@@ -1878,26 +1912,26 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1878
1912
  ] })
1879
1913
  ] }, d)) }) }),
1880
1914
  /* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(ge, { i18nKey: t, components: { sup: /* @__PURE__ */ r("sup", {}) } }) : p("mainUse") }),
1881
- /* @__PURE__ */ r("div", { className: M.legendListContainer, children: o ? /* @__PURE__ */ m("div", { className: M.absoluteValueContainer, children: [
1915
+ /* @__PURE__ */ r("div", { className: M.legendListContainer, children: s ? /* @__PURE__ */ m("div", { className: M.absoluteValueContainer, children: [
1882
1916
  /* @__PURE__ */ r(
1883
1917
  "div",
1884
1918
  {
1885
1919
  className: M.absoluteValueColor,
1886
1920
  style: {
1887
- background: `linear-gradient(to bottom, ${o.maxColor} 0%, ${o.minColor} 100%)`
1921
+ background: `linear-gradient(to bottom, ${s.maxColor} 0%, ${s.minColor} 100%)`
1888
1922
  }
1889
1923
  }
1890
1924
  ),
1891
1925
  /* @__PURE__ */ m("div", { className: M.absoluteValueText, children: [
1892
1926
  /* @__PURE__ */ m("span", { children: [
1893
- o.maxValue,
1927
+ s.maxValue,
1894
1928
  " ",
1895
- p(o.unit)
1929
+ p(s.unit)
1896
1930
  ] }),
1897
1931
  /* @__PURE__ */ m("span", { children: [
1898
- o.minValue,
1932
+ s.minValue,
1899
1933
  " ",
1900
- p(o.unit)
1934
+ p(s.unit)
1901
1935
  ] })
1902
1936
  ] })
1903
1937
  ] }) : n && n.length > 0 && /* @__PURE__ */ r("div", { className: M.gridContainer, children: n.map(
@@ -1920,7 +1954,7 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1920
1954
  }
1921
1955
  );
1922
1956
  };
1923
- Jn.propTypes = {
1957
+ ii.propTypes = {
1924
1958
  title: e.string,
1925
1959
  containerStyles: e.object,
1926
1960
  infoList: e.arrayOf(
@@ -1946,67 +1980,67 @@ Jn.propTypes = {
1946
1980
  buttonTitle: e.string,
1947
1981
  onClickClose: e.func
1948
1982
  };
1949
- const Qn = "_logo_1ewa6_2", Ne = {
1950
- logo: Qn
1951
- }, ei = ({ src: i, alt: d, href: s }) => {
1983
+ const oi = "_logo_1ewa6_2", Ne = {
1984
+ logo: oi
1985
+ }, si = ({ src: i, alt: d, href: o }) => {
1952
1986
  const { t: n } = k(), t = /* @__PURE__ */ r("img", { src: i, alt: n(d) });
1953
- return s ? /* @__PURE__ */ r("div", { className: Ne.logo, children: /* @__PURE__ */ r("a", { href: s, children: t }) }) : /* @__PURE__ */ r("div", { className: Ne.logo, children: t });
1987
+ return o ? /* @__PURE__ */ r("div", { className: Ne.logo, children: /* @__PURE__ */ r("a", { href: o, children: t }) }) : /* @__PURE__ */ r("div", { className: Ne.logo, children: t });
1954
1988
  };
1955
- ei.propTypes = {
1989
+ si.propTypes = {
1956
1990
  src: e.string.isRequired,
1957
1991
  alt: e.string.isRequired,
1958
1992
  href: e.string,
1959
1993
  className: e.string
1960
1994
  };
1961
- const ti = "_mapContainer_84pkf_2", ni = {
1962
- mapContainer: ti
1995
+ const ri = "_mapContainer_84pkf_2", ai = {
1996
+ mapContainer: ri
1963
1997
  };
1964
1998
  Ze.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
1965
- const ii = ({
1999
+ const li = ({
1966
2000
  initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
1967
2001
  maxZoom: d = 17,
1968
- minZoom: s = 8,
2002
+ minZoom: o = 8,
1969
2003
  mapStyle: n,
1970
2004
  firstSymbolLayer: t,
1971
- cssProps: o = "",
2005
+ cssProps: s = "",
1972
2006
  onClick: l = "",
1973
2007
  interactiveLayers: a = [],
1974
2008
  popUp: c = !1,
1975
2009
  sources: p = [],
1976
2010
  layers: u = []
1977
2011
  }) => {
1978
- const h = me(), [g, C] = B(null), b = de((f) => f.mapState.showTexts);
2012
+ const h = me(), [g, f] = D(null), C = de((b) => b.mapState.showTexts);
1979
2013
  return F(() => {
1980
2014
  if (h.current) {
1981
- const f = h.current.getMap();
1982
- f.getStyle().layers.map((y) => {
1983
- y.type == "symbol" && y.id != "professionals" && (b ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2015
+ const b = h.current.getMap();
2016
+ b.getStyle().layers.map((y) => {
2017
+ y.type == "symbol" && y.id != "professionals" && (C ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
1984
2018
  });
1985
2019
  }
1986
- }, [b]), /* @__PURE__ */ r("div", { className: `${ni.mapContainer}`, style: o, children: /* @__PURE__ */ m(
2020
+ }, [C]), /* @__PURE__ */ r("div", { className: `${ai.mapContainer}`, style: s, children: /* @__PURE__ */ m(
1987
2021
  Ue,
1988
2022
  {
1989
2023
  initialViewState: i,
1990
2024
  ref: h,
1991
2025
  hash: !1,
1992
2026
  maxZoom: d,
1993
- minZoom: s,
2027
+ minZoom: o,
1994
2028
  mapStyle: n,
1995
2029
  onClick: l,
1996
2030
  interactiveLayerIds: a,
1997
2031
  children: [
1998
- p.length && p.map((f, v) => /* @__PURE__ */ r(
2032
+ p.length && p.map((b, v) => /* @__PURE__ */ r(
1999
2033
  He,
2000
2034
  {
2001
- ...f,
2002
- children: u.length && u.map((y, x) => {
2003
- if (y.sourceId == f.id) return /* @__PURE__ */ r(
2035
+ ...b,
2036
+ children: u.length && u.map((y, _) => {
2037
+ if (y.sourceId == b.id) return /* @__PURE__ */ r(
2004
2038
  Ge,
2005
2039
  {
2006
2040
  ...y.layer,
2007
2041
  beforeId: t
2008
2042
  },
2009
- x
2043
+ _
2010
2044
  );
2011
2045
  })
2012
2046
  },
@@ -2019,7 +2053,7 @@ const ii = ({
2019
2053
  longitude: c.longitude,
2020
2054
  latitude: c.latitude,
2021
2055
  anchor: c.anchor,
2022
- onClose: () => C(null),
2056
+ onClose: () => f(null),
2023
2057
  children: c.content
2024
2058
  }
2025
2059
  )
@@ -2027,7 +2061,7 @@ const ii = ({
2027
2061
  }
2028
2062
  ) });
2029
2063
  };
2030
- ii.propTypes = {
2064
+ li.propTypes = {
2031
2065
  initialView: e.shape({
2032
2066
  latitude: e.number.isRequired,
2033
2067
  longitude: e.number.isRequired,
@@ -2072,29 +2106,29 @@ ii.propTypes = {
2072
2106
  })
2073
2107
  )
2074
2108
  };
2075
- const oi = "_mapContainer_b0pyr_3", si = {
2076
- mapContainer: oi
2077
- }, ri = "_FeaturePopUp_1gd6w_2", ai = "_title_1gd6w_2", Se = {
2078
- FeaturePopUp: ri,
2079
- title: ai
2080
- }, li = ({ props: i }) => {
2109
+ const ci = "_mapContainer_b0pyr_3", di = {
2110
+ mapContainer: ci
2111
+ }, pi = "_FeaturePopUp_1gd6w_2", ui = "_title_1gd6w_2", Se = {
2112
+ FeaturePopUp: pi,
2113
+ title: ui
2114
+ }, hi = ({ props: i }) => {
2081
2115
  const { t: d } = k();
2082
- return /* @__PURE__ */ r("div", { className: Se.FeaturePopUp, children: i.map((s) => /* @__PURE__ */ m("p", { children: [
2116
+ return /* @__PURE__ */ r("div", { className: Se.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ m("p", { children: [
2083
2117
  /* @__PURE__ */ m("span", { className: Se.title, children: [
2084
- /* @__PURE__ */ r(ge, { i18nKey: s.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2118
+ /* @__PURE__ */ r(ge, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2085
2119
  ": "
2086
2120
  ] }),
2087
- s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2121
+ o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2088
2122
  " ",
2089
- d(s.unit)
2123
+ d(o.unit)
2090
2124
  ] })) });
2091
- }, ci = ({
2125
+ }, mi = ({
2092
2126
  initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2093
2127
  maxZoom: d = 17,
2094
- minZoom: s = 8,
2128
+ minZoom: o = 8,
2095
2129
  mapStyle: n,
2096
2130
  firstSymbolLayer: t,
2097
- cssProps: o = {},
2131
+ cssProps: s = {},
2098
2132
  onClick: l = "",
2099
2133
  interactiveLayers: a = [],
2100
2134
  sources: c = [],
@@ -2102,48 +2136,48 @@ const oi = "_mapContainer_b0pyr_3", si = {
2102
2136
  filters: u,
2103
2137
  popUpParams: h,
2104
2138
  onClosePopUp: g,
2105
- showTexts: C
2139
+ showTexts: f
2106
2140
  }) => {
2107
2141
  console.log(u);
2108
- const b = me();
2142
+ const C = me();
2109
2143
  return F(() => {
2110
- if (b.current) {
2111
- const f = b.current.getMap();
2112
- f.getStyle().layers.map((y) => {
2113
- y.type == "symbol" && y.id != "professionals" && (C ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2144
+ if (C.current) {
2145
+ const b = C.current.getMap();
2146
+ b.getStyle().layers.map((y) => {
2147
+ y.type == "symbol" && y.id != "professionals" && (f ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
2114
2148
  });
2115
2149
  }
2116
- }, [C]), F(() => {
2117
- let f = new Xe();
2118
- return ie.addProtocol("pmtiles", f.tile), () => {
2150
+ }, [f]), F(() => {
2151
+ let b = new Xe();
2152
+ return ie.addProtocol("pmtiles", b.tile), () => {
2119
2153
  ie.removeProtocol("pmtiles");
2120
2154
  };
2121
- }, []), /* @__PURE__ */ r("div", { className: `${si.mapContainer}`, style: o && o, children: /* @__PURE__ */ m(
2155
+ }, []), /* @__PURE__ */ r("div", { className: `${di.mapContainer}`, style: s && s, children: /* @__PURE__ */ m(
2122
2156
  Je,
2123
2157
  {
2124
2158
  mapLib: ie,
2125
2159
  initialViewState: i,
2126
- ref: b,
2160
+ ref: C,
2127
2161
  hash: !1,
2128
2162
  maxZoom: d,
2129
- minZoom: s,
2163
+ minZoom: o,
2130
2164
  mapStyle: n,
2131
2165
  onClick: l,
2132
2166
  interactiveLayerIds: a,
2133
2167
  children: [
2134
- c.length && c.map((f, v) => /* @__PURE__ */ r(
2168
+ c.length && c.map((b, v) => /* @__PURE__ */ r(
2135
2169
  Qe,
2136
2170
  {
2137
- ...f,
2138
- children: p.length && p.map((y, x) => {
2139
- if (y.sourceId == f.id) return /* @__PURE__ */ r(
2171
+ ...b,
2172
+ children: p.length && p.map((y, _) => {
2173
+ if (y.sourceId == b.id) return /* @__PURE__ */ r(
2140
2174
  et,
2141
2175
  {
2142
2176
  ...y.layer,
2143
2177
  beforeId: t,
2144
2178
  filter: u && u
2145
2179
  },
2146
- x
2180
+ _
2147
2181
  );
2148
2182
  })
2149
2183
  },
@@ -2156,14 +2190,14 @@ const oi = "_mapContainer_b0pyr_3", si = {
2156
2190
  longitude: h.lng,
2157
2191
  latitude: h.lat,
2158
2192
  onClose: g,
2159
- children: /* @__PURE__ */ r(li, { props: h.props })
2193
+ children: /* @__PURE__ */ r(hi, { props: h.props })
2160
2194
  }
2161
2195
  )
2162
2196
  ]
2163
2197
  }
2164
2198
  ) });
2165
2199
  };
2166
- ci.propTypes = {
2200
+ mi.propTypes = {
2167
2201
  initialView: e.shape({
2168
2202
  latitude: e.number.isRequired,
2169
2203
  longitude: e.number.isRequired,
@@ -2206,33 +2240,33 @@ ci.propTypes = {
2206
2240
  popUpParams: e.object,
2207
2241
  onClosePopUp: e.func
2208
2242
  };
2209
- const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textContainer_1egwc_20", hi = "_title_1egwc_27", mi = "_subtitle_1egwc_33", gi = "_rightContent_1egwc_38", j = {
2210
- sectionBar: di,
2211
- leftContent: pi,
2212
- textContainer: ui,
2213
- title: hi,
2214
- subtitle: mi,
2215
- rightContent: gi
2216
- }, lo = ({
2243
+ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textContainer_1egwc_20", fi = "_title_1egwc_27", yi = "_subtitle_1egwc_33", vi = "_rightContent_1egwc_38", z = {
2244
+ sectionBar: gi,
2245
+ leftContent: Ci,
2246
+ textContainer: bi,
2247
+ title: fi,
2248
+ subtitle: yi,
2249
+ rightContent: vi
2250
+ }, mo = ({
2217
2251
  leftIcon: i,
2218
2252
  title: d,
2219
- subtitle: s,
2253
+ subtitle: o,
2220
2254
  rightContent: n,
2221
2255
  mainColor: t,
2222
- width: o
2256
+ width: s
2223
2257
  }) => {
2224
2258
  const { t: l } = k();
2225
- return /* @__PURE__ */ m("div", { className: j.sectionBar, style: { width: o && o }, children: [
2226
- /* @__PURE__ */ m("div", { className: j.leftContent, children: [
2227
- i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: j.icon }),
2228
- /* @__PURE__ */ m("div", { className: j.textContainer, children: [
2229
- /* @__PURE__ */ r("div", { className: j.title, children: l(d) }),
2230
- s && /* @__PURE__ */ r("div", { className: j.subtitle, children: s })
2259
+ return /* @__PURE__ */ m("div", { className: z.sectionBar, style: { width: s && s }, children: [
2260
+ /* @__PURE__ */ m("div", { className: z.leftContent, children: [
2261
+ i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: z.icon }),
2262
+ /* @__PURE__ */ m("div", { className: z.textContainer, children: [
2263
+ /* @__PURE__ */ r("div", { className: z.title, children: l(d) }),
2264
+ o && /* @__PURE__ */ r("div", { className: z.subtitle, children: o })
2231
2265
  ] })
2232
2266
  ] }),
2233
- /* @__PURE__ */ r("div", { className: j.rightContent, children: n })
2267
+ /* @__PURE__ */ r("div", { className: z.rightContent, children: n })
2234
2268
  ] });
2235
- }, Ci = Me({
2269
+ }, _i = Me({
2236
2270
  name: "mapSlice",
2237
2271
  initialState: {
2238
2272
  showTexts: !0,
@@ -2258,36 +2292,36 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2258
2292
  i.activeIndicatorUnit = d.payload;
2259
2293
  }
2260
2294
  }
2261
- }), { setShowTexts: co, setYear: le, setActiveIndicatorKey: po, setActiveIndicatorType: uo, setActiveIndicatorUnit: ho } = Ci.actions, bi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", fi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", yi = "_slider_a19yo_2", vi = "_playButton_a19yo_17", _i = "_sliderOpen_a19yo_28", xi = "_sliderResults_a19yo_32", Y = {
2262
- slider: yi,
2263
- playButton: vi,
2264
- sliderOpen: _i,
2265
- sliderResults: xi
2266
- }, wi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: s = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: o = !1 }) => {
2267
- const [l, a] = B(d), c = Te(), p = (y, x) => {
2268
- a(x), c(le(x - 2e3));
2269
- }, [u, h] = B(!1), g = () => {
2295
+ }), { setShowTexts: go, setYear: le, setActiveIndicatorKey: Co, setActiveIndicatorType: bo, setActiveIndicatorUnit: fo } = _i.actions, xi = "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", 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%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", ki = "_slider_a19yo_2", Ni = "_playButton_a19yo_17", Si = "_sliderOpen_a19yo_28", Ti = "_sliderResults_a19yo_32", Y = {
2296
+ slider: ki,
2297
+ playButton: Ni,
2298
+ sliderOpen: Si,
2299
+ sliderResults: Ti
2300
+ }, Mi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: s = !1 }) => {
2301
+ const [l, a] = D(d), c = Te(), p = (y, _) => {
2302
+ a(_), c(le(_ - 2e3));
2303
+ }, [u, h] = D(!1), g = () => {
2270
2304
  h(!0);
2271
- }, C = () => {
2305
+ }, f = () => {
2272
2306
  h(!1);
2273
2307
  };
2274
- ((y, x) => {
2308
+ ((y, _) => {
2275
2309
  const w = me();
2276
2310
  F(() => {
2277
2311
  w.current = y;
2278
2312
  }, [y]), F(() => {
2279
- function _() {
2313
+ function x() {
2280
2314
  w.current();
2281
2315
  }
2282
2316
  {
2283
- let N = setInterval(_, x);
2317
+ let N = setInterval(x, _);
2284
2318
  return () => clearInterval(N);
2285
2319
  }
2286
- }, [x]);
2320
+ }, [_]);
2287
2321
  })(() => {
2288
2322
  u && (l != 2050 ? (a(l + 1), c(le(l - 2e3 + 1))) : (a(2025), c(le(25))));
2289
2323
  }, 1e3);
2290
- const f = ot({
2324
+ const b = ot({
2291
2325
  palette: {
2292
2326
  primary: {
2293
2327
  main: "#605b56"
@@ -2315,14 +2349,14 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2315
2349
  { label: "", value: 2041 },
2316
2350
  { label: "", value: 2050 }
2317
2351
  ];
2318
- return /* @__PURE__ */ r(rt, { theme: f, children: /* @__PURE__ */ m(
2352
+ return /* @__PURE__ */ r(rt, { theme: b, children: /* @__PURE__ */ m(
2319
2353
  st,
2320
2354
  {
2321
2355
  sx: { width: 400 },
2322
- className: `${i ? Y.sliderResults : Y.slider} ${o ? Y.sliderOpen : ""}`,
2356
+ className: `${i ? Y.sliderResults : Y.slider} ${s ? Y.sliderOpen : ""}`,
2323
2357
  style: { zIndex: t },
2324
2358
  children: [
2325
- s,
2359
+ o,
2326
2360
  /* @__PURE__ */ r(
2327
2361
  it,
2328
2362
  {
@@ -2331,7 +2365,7 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2331
2365
  valueLabelDisplay: "on",
2332
2366
  step: 1,
2333
2367
  marks: v,
2334
- min: s,
2368
+ min: o,
2335
2369
  max: n,
2336
2370
  onChange: p,
2337
2371
  color: "primary",
@@ -2339,13 +2373,13 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2339
2373
  }
2340
2374
  ),
2341
2375
  n,
2342
- !u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: g, children: /* @__PURE__ */ r("img", { src: bi, alt: "Play" }) }),
2343
- u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: C, children: /* @__PURE__ */ r("img", { src: fi, alt: "Pause" }) })
2376
+ !u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: g, children: /* @__PURE__ */ r("img", { src: xi, alt: "Play" }) }),
2377
+ u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: f, children: /* @__PURE__ */ r("img", { src: wi, alt: "Pause" }) })
2344
2378
  ]
2345
2379
  }
2346
2380
  ) });
2347
2381
  };
2348
- wi.propTypes = {
2382
+ Mi.propTypes = {
2349
2383
  defaultYear: e.number,
2350
2384
  onResults: e.bool,
2351
2385
  firstYear: e.number,
@@ -2353,21 +2387,21 @@ wi.propTypes = {
2353
2387
  zIndex: e.number,
2354
2388
  rightBarOpen: e.bool
2355
2389
  };
2356
- const ki = "_TopNavMenuContainer_15agj_2", Ni = "_topNavOptions_15agj_12", Si = "_active_15agj_23", ce = {
2357
- TopNavMenuContainer: ki,
2358
- topNavOptions: Ni,
2359
- active: Si
2360
- }, Ti = ({
2390
+ const Li = "_TopNavMenuContainer_15agj_2", Fi = "_topNavOptions_15agj_12", Bi = "_active_15agj_23", ce = {
2391
+ TopNavMenuContainer: Li,
2392
+ topNavOptions: Fi,
2393
+ active: Bi
2394
+ }, Di = ({
2361
2395
  options: i = [],
2362
2396
  cssProps: d = {},
2363
- containerStyles: s
2397
+ containerStyles: o
2364
2398
  }) => {
2365
- const { t: n } = k(), t = d.textColor || "inherit", o = d.borderColor || "transparent", l = d.height || "100%";
2399
+ const { t: n } = k(), t = d.textColor || "inherit", s = d.borderColor || "transparent", l = d.height || "100%";
2366
2400
  return /* @__PURE__ */ r(
2367
2401
  "div",
2368
2402
  {
2369
2403
  className: ce.TopNavMenuContainer,
2370
- style: s || {},
2404
+ style: o || {},
2371
2405
  children: i.map((a, c) => /* @__PURE__ */ r(
2372
2406
  at,
2373
2407
  {
@@ -2375,7 +2409,7 @@ const ki = "_TopNavMenuContainer_15agj_2", Ni = "_topNavOptions_15agj_12", Si =
2375
2409
  className: ({ isActive: p }) => `${ce.topNavOptions} ${p ? ce.active : ""}`,
2376
2410
  style: ({ isActive: p }) => ({
2377
2411
  color: t,
2378
- borderColor: p ? o : "transparent",
2412
+ borderColor: p ? s : "transparent",
2379
2413
  height: `calc(${l} - 10px)`
2380
2414
  }),
2381
2415
  children: n(a.name)
@@ -2385,7 +2419,7 @@ const ki = "_TopNavMenuContainer_15agj_2", Ni = "_topNavOptions_15agj_12", Si =
2385
2419
  }
2386
2420
  );
2387
2421
  };
2388
- Ti.propTypes = {
2422
+ Di.propTypes = {
2389
2423
  options: e.arrayOf(e.object),
2390
2424
  cssProps: e.shape({
2391
2425
  borderColor: e.string.isRequired,
@@ -2395,7 +2429,7 @@ Ti.propTypes = {
2395
2429
  // activeColor: PropTypes.string,
2396
2430
  // defaultColor: PropTypes.string
2397
2431
  };
2398
- const Mi = Me({
2432
+ const $i = Me({
2399
2433
  name: "userSlice",
2400
2434
  initialState: {
2401
2435
  user: {
@@ -2413,15 +2447,15 @@ const Mi = Me({
2413
2447
  i.showUserMenu = d.payload;
2414
2448
  }
2415
2449
  }
2416
- }), { setShowLogIn: Fi, setShowUserMenu: Li } = Mi.actions, Di = "_UserMenuTrigger_uglss_2", Bi = {
2417
- UserMenuTrigger: Di
2418
- }, $i = ({ cssClass: i, loginLocale: d = "login" }) => {
2419
- const s = Te(), n = de((a) => a.userState.user.isLoggedIn), t = de((a) => a.userState.user.username), { t: o } = k(), l = () => {
2420
- s(n ? Fi(!0) : Li(!0));
2450
+ }), { setShowLogIn: Ai, setShowUserMenu: Oi } = $i.actions, Ii = "_UserMenuTrigger_uglss_2", Ri = {
2451
+ UserMenuTrigger: Ii
2452
+ }, Vi = ({ cssClass: i, loginLocale: d = "login" }) => {
2453
+ const o = Te(), n = de((a) => a.userState.user.isLoggedIn), t = de((a) => a.userState.user.username), { t: s } = k(), l = () => {
2454
+ o(n ? Ai(!0) : Oi(!0));
2421
2455
  };
2422
- return /* @__PURE__ */ r("div", { className: `${Bi.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : o(d) });
2456
+ return /* @__PURE__ */ r("div", { className: `${Ri.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : s(d) });
2423
2457
  };
2424
- $i.propTypes = {
2458
+ Vi.propTypes = {
2425
2459
  onClickLoggedIn: e.func.isRequired,
2426
2460
  onClickLoggedOut: e.func.isRequired,
2427
2461
  log: e.bool,
@@ -2429,15 +2463,15 @@ $i.propTypes = {
2429
2463
  cssClass: e.string,
2430
2464
  loginLocale: e.string
2431
2465
  };
2432
- const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComponents_t7qdl_13", Ri = "_rightComponents_t7qdl_14", Q = {
2433
- header: Oi,
2434
- leftComponents: Ai,
2435
- centerComponents: Ii,
2436
- rightComponents: Ri
2437
- }, Vi = ({
2466
+ const ji = "_header_t7qdl_2", zi = "_leftComponents_t7qdl_12", Pi = "_centerComponents_t7qdl_13", Ei = "_rightComponents_t7qdl_14", Q = {
2467
+ header: ji,
2468
+ leftComponents: zi,
2469
+ centerComponents: Pi,
2470
+ rightComponents: Ei
2471
+ }, qi = ({
2438
2472
  cssProps: i,
2439
2473
  leftComponents: d = [],
2440
- centerComponents: s = [],
2474
+ centerComponents: o = [],
2441
2475
  rightComponents: n = []
2442
2476
  }) => /* @__PURE__ */ m("div", { className: Q.header, style: i, children: [
2443
2477
  /* @__PURE__ */ r(
@@ -2445,7 +2479,7 @@ const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComp
2445
2479
  {
2446
2480
  className: Q.leftComponents,
2447
2481
  style: { height: i.height },
2448
- children: d.map((t, o) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, o))
2482
+ children: d.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2449
2483
  }
2450
2484
  ),
2451
2485
  /* @__PURE__ */ r(
@@ -2453,7 +2487,7 @@ const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComp
2453
2487
  {
2454
2488
  className: Q.centerComponents,
2455
2489
  style: { height: i.height },
2456
- children: s.map((t, o) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, o))
2490
+ children: o.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2457
2491
  }
2458
2492
  ),
2459
2493
  /* @__PURE__ */ r(
@@ -2461,11 +2495,11 @@ const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComp
2461
2495
  {
2462
2496
  className: Q.rightComponents,
2463
2497
  style: { height: i.height },
2464
- children: n.map((t, o) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, o))
2498
+ children: n.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2465
2499
  }
2466
2500
  )
2467
2501
  ] });
2468
- Vi.propTypes = {
2502
+ qi.propTypes = {
2469
2503
  cssProps: e.shape({
2470
2504
  backgroundColor: e.string.isRequired,
2471
2505
  height: e.string.isRequired,
@@ -2476,51 +2510,51 @@ Vi.propTypes = {
2476
2510
  centerComponents: e.arrayOf(e.node),
2477
2511
  rightComponents: e.arrayOf(e.node)
2478
2512
  };
2479
- const ji = "_sidebar_1jqo2_2", zi = "_open_1jqo2_16", Pi = "_content_1jqo2_20", qi = "_closeButton_1jqo2_26", ee = {
2480
- sidebar: ji,
2481
- open: zi,
2482
- content: Pi,
2483
- closeButton: qi
2484
- }, Ei = ({ width: i = "300px", children: d, showRightBar: s, onCloseBar: n }) => {
2513
+ const Ki = "_sidebar_1jqo2_2", Zi = "_open_1jqo2_16", Ui = "_content_1jqo2_20", Hi = "_closeButton_1jqo2_26", ee = {
2514
+ sidebar: Ki,
2515
+ open: Zi,
2516
+ content: Ui,
2517
+ closeButton: Hi
2518
+ }, Gi = ({ width: i = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2485
2519
  const t = () => {
2486
2520
  n();
2487
2521
  };
2488
2522
  return /* @__PURE__ */ r(
2489
2523
  "div",
2490
2524
  {
2491
- className: `${ee.sidebar} ${s ? ee.open : ""}`,
2492
- style: { width: s ? i : 0 },
2493
- children: s && /* @__PURE__ */ m("div", { className: ee.content, children: [
2525
+ className: `${ee.sidebar} ${o ? ee.open : ""}`,
2526
+ style: { width: o ? i : 0 },
2527
+ children: o && /* @__PURE__ */ m("div", { className: ee.content, children: [
2494
2528
  /* @__PURE__ */ r("button", { className: ee.closeButton, onClick: t, children: "×" }),
2495
2529
  d
2496
2530
  ] })
2497
2531
  }
2498
2532
  );
2499
2533
  };
2500
- Ei.propTypes = {
2534
+ Gi.propTypes = {
2501
2535
  width: e.string,
2502
2536
  children: e.node,
2503
2537
  showRightBar: e.bool,
2504
2538
  onCloseBar: e.func
2505
2539
  };
2506
2540
  export {
2507
- Nt as AmbitSelector,
2508
- Rt as ButtonsList,
2509
- z as DropdownList,
2510
- ao as EditAmbit,
2511
- cn as FiltersAmbit,
2512
- mn as Graphic,
2513
- Vi as HeaderSection,
2514
- Bn as IndicatorsList,
2515
- Vn as LangSelector,
2516
- Jn as Legend,
2517
- ei as LogoApp,
2518
- ii as MapboxMap,
2519
- ci as MaplibreMap,
2520
- Ei as RightSidebar,
2521
- lo as SectionBar,
2522
- wi as TimeSlider,
2523
- Le as Tooltip,
2524
- Ti as TopNavMenu,
2525
- $i as UserMenuTrigger
2541
+ Ft as AmbitSelector,
2542
+ Et as ButtonsList,
2543
+ P as DropdownList,
2544
+ ho as EditAmbit,
2545
+ mn as FiltersAmbit,
2546
+ yn as Graphic,
2547
+ qi as HeaderSection,
2548
+ Rn as IndicatorsList,
2549
+ qn as LangSelector,
2550
+ ii as Legend,
2551
+ si as LogoApp,
2552
+ li as MapboxMap,
2553
+ mi as MaplibreMap,
2554
+ Gi as RightSidebar,
2555
+ mo as SectionBar,
2556
+ Mi as TimeSlider,
2557
+ Fe as Tooltip,
2558
+ Di as TopNavMenu,
2559
+ Vi as UserMenuTrigger
2526
2560
  };