@tmf_ciclica/ciclicastorybook 1.1.28 → 1.1.29

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 L, 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);
105
- F(() => {
106
- i && g(i);
125
+ const { t: C } = k(), [b, v] = D(i);
126
+ L(() => {
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
+ (F) => F.code === O
821
862
  );
822
863
  if (I) {
823
- let L = [I.values];
864
+ let F = [I.values];
824
865
  if (I.values.includes(N)) {
825
- if (L = I.values.filter(
826
- (D) => D !== N
827
- ), L.length < 1)
866
+ if (F = I.values.filter(
867
+ (B) => B !== N
868
+ ), F.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
- L = [...I.values, N];
875
+ F = [...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: F } : B
838
879
  )
839
880
  };
840
881
  } else {
841
882
  console.log("entra aqui: ", $, " ", N);
842
- let L = $.map((D, Pe) => Pe);
883
+ let F = $.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: F.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
+ (F) => F.code === O
858
899
  );
859
900
  if (I) {
860
- let L = { ...I };
861
- return L.min = w, L.max = _, {
862
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
863
- (D) => D.code === A ? L : D
901
+ let F = { ...I };
902
+ return F.min = w, F.max = x, {
903
+ tematicalFiltersSelected: E.tematicalFiltersSelected.map(
904
+ (B) => B.code === O ? F : 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}`,
@@ -1005,8 +1046,8 @@ const Ae = ({
1005
1046
  titleMarginChildren: 20,
1006
1047
  height: 49,
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,
@@ -1017,7 +1058,7 @@ const Ae = ({
1017
1058
  }
1018
1059
  );
1019
1060
  };
1020
- Ae.propTypes = {
1061
+ Oe.propTypes = {
1021
1062
  subcategory: e.shape({
1022
1063
  name: e.string,
1023
1064
  indicators: e.arrayOf(
@@ -1035,23 +1076,23 @@ const Ie = ({
1035
1076
  // onChangeBothType,
1036
1077
  activeColor: d
1037
1078
  }) => {
1038
- const { name: s, subcategories: n, indicators: t } = i || {}, { activeCategory: o, fontColor: l } = T((a) => a);
1079
+ const { name: o, subcategories: n, indicators: t } = i || {}, { activeCategory: s, fontColor: l } = T((a) => a);
1039
1080
  return i && /* @__PURE__ */ r(
1040
- z,
1081
+ P,
1041
1082
  {
1042
1083
  onClick: () => {
1043
1084
  T.setState((a) => ({
1044
- activeCategory: o === `id${s}` ? "" : `id${s}`
1085
+ activeCategory: s === `id${o}` ? "" : `id${o}`
1045
1086
  }));
1046
1087
  },
1047
- title: s,
1048
- isOpen: o === `id${s}`,
1088
+ title: o,
1089
+ isOpen: s === `id${o}`,
1049
1090
  titleFontStyles: { fontSize: 18, fontWeight: "bold" },
1050
1091
  showBottomBar: !1,
1051
1092
  color: l,
1052
1093
  activeColor: d,
1053
1094
  children: n ? n.map((a, c) => /* @__PURE__ */ r(
1054
- Ae,
1095
+ Oe,
1055
1096
  {
1056
1097
  subcategory: a,
1057
1098
  fontColor: l,
@@ -1082,32 +1123,32 @@ Ie.propTypes = {
1082
1123
  const Re = ({
1083
1124
  indicators: i,
1084
1125
  isOpen: d = !0,
1085
- title: s,
1126
+ title: o,
1086
1127
  fontColor: n = "#605B56",
1087
1128
  //The color of the slider and the checkbox when is checked
1088
1129
  inputsColor: t = "#605B56",
1089
- activeColor: o
1130
+ activeColor: s
1090
1131
  }) => {
1091
1132
  const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = k();
1092
- return F(() => {
1133
+ return L(() => {
1093
1134
  console.log("filtersSelected changed: ", l);
1094
- }, [l]), F(() => {
1135
+ }, [l]), L(() => {
1095
1136
  n && T.setState(() => ({ fontColor: n }));
1096
- }, [n]), F(() => {
1137
+ }, [n]), L(() => {
1097
1138
  t && T.setState(() => ({ inputsColor: t }));
1098
1139
  }, [t]), /* @__PURE__ */ r(
1099
- z,
1140
+ P,
1100
1141
  {
1101
1142
  isOpen: d,
1102
- title: s ? a(s) : "Tematical filters",
1143
+ title: o ? a(o) : "Tematical filters",
1103
1144
  color: n,
1104
- activeColor: o,
1145
+ activeColor: s,
1105
1146
  children: i == null ? void 0 : i.map((c, p) => /* @__PURE__ */ r(
1106
1147
  Ie,
1107
1148
  {
1108
1149
  category: c,
1109
1150
  fontColor: n,
1110
- activeColor: o
1151
+ activeColor: s
1111
1152
  },
1112
1153
  `category-${p}`
1113
1154
  ))
@@ -1123,29 +1164,29 @@ Re.propTypes = {
1123
1164
  inputsColor: e.string,
1124
1165
  activeColor: e.string
1125
1166
  };
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 = ({
1167
+ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7", pn = "_FiltersAmbitTitle_6o4gt_15", un = "_FiltersAmbitDescription_6o4gt_22", hn = "_FiltersAmbitDescriptionTitle_6o4gt_33", G = {
1168
+ FiltersAmbitContainer: cn,
1169
+ FiltersAmbitHeader: dn,
1170
+ FiltersAmbitTitle: pn,
1171
+ FiltersAmbitDescription: un,
1172
+ FiltersAmbitDescriptionTitle: hn
1173
+ }, mn = ({
1133
1174
  ambitName: i,
1134
1175
  ambitDescription: d,
1135
- defaultFilters: s,
1176
+ defaultFilters: o,
1136
1177
  indicators: n,
1137
1178
  activeColor: t,
1138
- textColor: o,
1179
+ textColor: s,
1139
1180
  backgroundColor: l,
1140
1181
  onChangeAppliedFilters: a,
1141
1182
  saveAmbit: c
1142
1183
  }) => {
1143
1184
  const { t: p } = k(), { tematicalFiltersSelected: u } = T((h) => h);
1144
- return F(() => {
1145
- s && s.length > 0 && T.setState((h) => ({
1146
- tematicalFiltersSelected: s
1185
+ return L(() => {
1186
+ o && o.length > 0 && T.setState((h) => ({
1187
+ tematicalFiltersSelected: o
1147
1188
  }));
1148
- }, [s]), F(() => {
1189
+ }, [o]), L(() => {
1149
1190
  console.log("filtersSelected changed: ", u), a(u);
1150
1191
  }, [u]), /* @__PURE__ */ m("div", { className: G.FiltersAmbitContainer, children: [
1151
1192
  /* @__PURE__ */ m("div", { className: G.FiltersAmbitHeader, children: [
@@ -1156,22 +1197,22 @@ const on = "_FiltersAmbitContainer_6o4gt_2", sn = "_FiltersAmbitHeader_6o4gt_7",
1156
1197
  ] })
1157
1198
  ] }),
1158
1199
  /* @__PURE__ */ r(
1159
- De,
1200
+ Be,
1160
1201
  {
1161
1202
  title: p("applied_filters"),
1162
1203
  isOpen: !0,
1163
- textColor: o || "#fff",
1204
+ textColor: s || "#fff",
1164
1205
  backgroundColor: l || "#605B5680",
1165
1206
  activeColor: t
1166
1207
  }
1167
1208
  ),
1168
- /* @__PURE__ */ r(Be, { activeColor: t }),
1209
+ /* @__PURE__ */ r(De, { activeColor: t }),
1169
1210
  /* @__PURE__ */ r(
1170
1211
  Re,
1171
1212
  {
1172
1213
  indicators: n,
1173
1214
  inputsColor: t,
1174
- textColor: o,
1215
+ textColor: s,
1175
1216
  title: "tematical_filters",
1176
1217
  activeColor: t
1177
1218
  }
@@ -1179,7 +1220,7 @@ const on = "_FiltersAmbitContainer_6o4gt_2", sn = "_FiltersAmbitHeader_6o4gt_7",
1179
1220
  /* @__PURE__ */ r("div", { className: "buttonContainer", children: /* @__PURE__ */ r("button", { className: "mainButton", onClick: c, children: p("guardar_ambit") }) })
1180
1221
  ] });
1181
1222
  };
1182
- cn.propTypes = {
1223
+ mn.propTypes = {
1183
1224
  indicators: e.arrayOf(e.object).isRequired,
1184
1225
  ambitName: e.string,
1185
1226
  ambitDescription: e.string,
@@ -1190,29 +1231,29 @@ cn.propTypes = {
1190
1231
  onChangeAppliedFilters: e.func,
1191
1232
  saveAmbit: e.func
1192
1233
  };
1193
- const dn = "_barChartContainer_d2f1z_2", pn = {
1194
- barChartContainer: dn
1234
+ const gn = "_barChartContainer_d2f1z_2", Cn = {
1235
+ barChartContainer: gn
1195
1236
  }, Ve = ({
1196
1237
  data: i,
1197
1238
  width: d = 700,
1198
- barHeight: s = 25,
1239
+ barHeight: o = 25,
1199
1240
  gap: n = 23,
1200
1241
  fontColor: t = "#605B56",
1201
- verticalPaddign: o = 10,
1242
+ verticalPaddign: s = 10,
1202
1243
  horizontalPaddign: l = 20,
1203
1244
  leftPadding: a = 200,
1204
1245
  numberOfDivisions: c = 7,
1205
1246
  maxValue: p = null
1206
1247
  }) => {
1207
- const { t: u } = k(), { xScale: h, ticks: g, height: C } = te(() => {
1248
+ const { t: u } = k(), { xScale: h, ticks: g, height: f } = te(() => {
1208
1249
  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);
1250
+ 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
1251
  return {
1211
1252
  xScale: v,
1212
1253
  ticks: y,
1213
- height: b,
1254
+ height: C,
1214
1255
  width: d,
1215
- verticalPaddign: o,
1256
+ verticalPaddign: s,
1216
1257
  horizontalPaddign: l
1217
1258
  };
1218
1259
  } else
@@ -1221,38 +1262,38 @@ const dn = "_barChartContainer_d2f1z_2", pn = {
1221
1262
  i,
1222
1263
  d,
1223
1264
  c,
1224
- s,
1265
+ o,
1225
1266
  n,
1226
1267
  l,
1227
- o,
1268
+ s,
1228
1269
  p
1229
1270
  ]);
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);
1271
+ 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: [
1272
+ /* @__PURE__ */ r("g", { transform: `translate(${a + l}, 0)`, children: g.map((C, b) => {
1273
+ const v = h(C);
1233
1274
  return /* @__PURE__ */ m("g", { transform: `translate(${v}, 0)`, children: [
1234
1275
  /* @__PURE__ */ r(
1235
1276
  "line",
1236
1277
  {
1237
1278
  y1: 0,
1238
- y2: C - n * 2,
1279
+ y2: f - n * 2,
1239
1280
  stroke: "#ccc"
1240
1281
  }
1241
1282
  ),
1242
1283
  /* @__PURE__ */ r(
1243
1284
  "text",
1244
1285
  {
1245
- y: C - n,
1286
+ y: f - n,
1246
1287
  textAnchor: "middle",
1247
1288
  fontSize: 10,
1248
1289
  fill: t,
1249
- children: parseInt(b)
1290
+ children: parseInt(C)
1250
1291
  }
1251
1292
  )
1252
- ] }, f);
1293
+ ] }, b);
1253
1294
  }) }),
1254
- i && i.length > 0 && (i == null ? void 0 : i.map((b, f) => {
1255
- const v = h(b.value), y = f * (s + n);
1295
+ i && i.length > 0 && (i == null ? void 0 : i.map((C, b) => {
1296
+ const v = h(C.value), y = b * (o + n);
1256
1297
  return /* @__PURE__ */ m(
1257
1298
  "g",
1258
1299
  {
@@ -1262,24 +1303,24 @@ const dn = "_barChartContainer_d2f1z_2", pn = {
1262
1303
  "text",
1263
1304
  {
1264
1305
  x: -24,
1265
- y: s / 2 + 5,
1306
+ y: o / 2 + 5,
1266
1307
  textAnchor: "end",
1267
1308
  fill: t,
1268
- children: u(b.title)
1309
+ children: u(C.title)
1269
1310
  }
1270
1311
  ),
1271
1312
  /* @__PURE__ */ r(
1272
1313
  "rect",
1273
1314
  {
1274
1315
  width: v,
1275
- height: s,
1276
- fill: b.color,
1316
+ height: o,
1317
+ fill: C.color,
1277
1318
  rx: 0
1278
1319
  }
1279
1320
  )
1280
1321
  ]
1281
1322
  },
1282
- f
1323
+ b
1283
1324
  );
1284
1325
  }))
1285
1326
  ] }) }) });
@@ -1300,16 +1341,16 @@ Ve.propTypes = {
1300
1341
  numberOfDivisions: e.number,
1301
1342
  fontColor: e.string
1302
1343
  };
1303
- const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1304
- graphicContainer: un,
1305
- titleContainer: hn
1306
- }, mn = ({
1344
+ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
1345
+ graphicContainer: bn,
1346
+ titleContainer: fn
1347
+ }, yn = ({
1307
1348
  data: i,
1308
1349
  graphWidth: d = 700,
1309
- containerStyle: s,
1350
+ containerStyle: o,
1310
1351
  borderColor: n = "#605B56",
1311
1352
  title: t = "Graphic Title",
1312
- fontColor: o = "#605B56",
1353
+ fontColor: s = "#605B56",
1313
1354
  maxValue: l = null,
1314
1355
  numberOfDivisions: a = 7,
1315
1356
  leftPadding: c = 200
@@ -1320,7 +1361,7 @@ const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1320
1361
  {
1321
1362
  className: xe.graphicContainer,
1322
1363
  style: {
1323
- ...s || {},
1364
+ ...o || {},
1324
1365
  border: `1.5px solid ${n}`
1325
1366
  },
1326
1367
  children: [
@@ -1330,7 +1371,7 @@ const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1330
1371
  {
1331
1372
  data: i,
1332
1373
  width: d,
1333
- fontColor: o,
1374
+ fontColor: s,
1334
1375
  maxValue: l,
1335
1376
  numberOfDivisions: a,
1336
1377
  leftPadding: c
@@ -1340,7 +1381,7 @@ const un = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", xe = {
1340
1381
  }
1341
1382
  );
1342
1383
  };
1343
- mn.propTypes = {
1384
+ yn.propTypes = {
1344
1385
  data: e.arrayOf(
1345
1386
  e.shape({
1346
1387
  color: e.string.isRequired,
@@ -1357,41 +1398,41 @@ mn.propTypes = {
1357
1398
  numberOfDivisions: e.number,
1358
1399
  leftPadding: e.number
1359
1400
  };
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
1401
+ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu33_11", ae = {
1402
+ indicatorsCategory: vn,
1403
+ title: _n,
1404
+ list: xn
1405
+ }, 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 = {
1406
+ indicatorContainer: wn,
1407
+ indicatorNameContainer: kn,
1408
+ dot: Nn,
1409
+ indicatorName: Sn,
1410
+ switchExternalContainer: Tn,
1411
+ switchType: Mn,
1412
+ switchTypeOptions: Ln,
1413
+ optionContainer: Fn,
1414
+ customRadious: Bn,
1415
+ optionText: Dn
1375
1416
  }, fe = ({
1376
1417
  indicator: i,
1377
1418
  values: d = [],
1378
- activeColor: s,
1419
+ activeColor: o,
1379
1420
  defaultColor: n = "#92898A",
1380
1421
  activeIndicator: t,
1381
- activeIndicatorType: o,
1422
+ activeIndicatorType: s,
1382
1423
  onClickIndicator: l,
1383
1424
  multiple: a = !1,
1384
1425
  onChangeType: c
1385
1426
  }) => {
1386
- const { t: p } = k(), { name: u, type: h } = i, [g, C] = B(!1);
1387
- F(() => {
1388
- t && C(
1427
+ const { t: p } = k(), { name: u, type: h } = i, [g, f] = D(!1);
1428
+ L(() => {
1429
+ t && f(
1389
1430
  a ? t.some(
1390
1431
  (v) => v.name == String(u)
1391
1432
  ) : t.name == u
1392
1433
  );
1393
1434
  }, [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: [
1435
+ const C = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ m("div", { className: S.switchTypeOptions, children: [
1395
1436
  /* @__PURE__ */ m(
1396
1437
  "div",
1397
1438
  {
@@ -1403,8 +1444,8 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1403
1444
  {
1404
1445
  className: `${S.customRadious}`,
1405
1446
  style: {
1406
- backgroundColor: o === "cat" ? s : "transparent",
1407
- borderColor: o === "cat" ? s : n
1447
+ backgroundColor: s === "cat" ? o : "transparent",
1448
+ borderColor: s === "cat" ? o : n
1408
1449
  }
1409
1450
  }
1410
1451
  ),
@@ -1413,7 +1454,7 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1413
1454
  {
1414
1455
  className: S.optionText,
1415
1456
  style: {
1416
- color: o === "cat" ? s : n
1457
+ color: s === "cat" ? o : n
1417
1458
  },
1418
1459
  children: p("indicators.cat")
1419
1460
  }
@@ -1432,8 +1473,8 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1432
1473
  {
1433
1474
  className: `${S.customRadious}`,
1434
1475
  style: {
1435
- backgroundColor: o === "abs" ? s : "transparent",
1436
- borderColor: o === "abs" ? s : n
1476
+ backgroundColor: s === "abs" ? o : "transparent",
1477
+ borderColor: s === "abs" ? o : n
1437
1478
  }
1438
1479
  }
1439
1480
  ),
@@ -1442,7 +1483,7 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1442
1483
  {
1443
1484
  className: S.optionText,
1444
1485
  style: {
1445
- color: o === "abs" ? s : n
1486
+ color: s === "abs" ? o : n
1446
1487
  },
1447
1488
  children: p("indicators.abs")
1448
1489
  }
@@ -1450,7 +1491,7 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1450
1491
  ]
1451
1492
  }
1452
1493
  )
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(
1494
+ ] }) }) }), 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
1495
  "div",
1455
1496
  {
1456
1497
  className: S.optionContainer,
@@ -1466,42 +1507,36 @@ const gn = "_indicatorsCategory_1cu33_2", Cn = "_title_1cu33_5", bn = "_list_1cu
1466
1507
  },
1467
1508
  y
1468
1509
  )) }) }) });
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
- );
1510
+ return /* @__PURE__ */ m("div", { className: S.indicatorContainer, children: [
1511
+ /* @__PURE__ */ m(
1512
+ "div",
1513
+ {
1514
+ className: S.indicatorNameContainer,
1515
+ onClick: () => l({ indicator: i }),
1516
+ children: [
1517
+ /* @__PURE__ */ r(
1518
+ "div",
1519
+ {
1520
+ style: {
1521
+ border: g ? `1px solid ${o}` : `1px solid ${n}`
1522
+ },
1523
+ className: S.dot
1524
+ }
1525
+ ),
1526
+ /* @__PURE__ */ r(
1527
+ "h4",
1528
+ {
1529
+ className: S.indicatorName,
1530
+ style: { color: g ? o : n },
1531
+ children: /* @__PURE__ */ r(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1532
+ }
1533
+ )
1534
+ ]
1535
+ }
1536
+ ),
1537
+ (t == null ? void 0 : t.name) === u && h === "both" && /* @__PURE__ */ r("div", { children: C() }),
1538
+ (t == null ? void 0 : t.name) === u && h === "twoUnits" && /* @__PURE__ */ r("div", { children: b() })
1539
+ ] });
1505
1540
  };
1506
1541
  fe.propTypes = {
1507
1542
  indicator: e.shape({
@@ -1515,16 +1550,16 @@ fe.propTypes = {
1515
1550
  multiple: e.bool,
1516
1551
  onClickIndicator: e.func
1517
1552
  };
1518
- const Mn = "_indicatorsSubCategory_1dzsi_2", Fn = "_list_1dzsi_8", we = {
1519
- indicatorsSubCategory: Mn,
1520
- list: Fn
1553
+ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
1554
+ indicatorsSubCategory: $n,
1555
+ list: An
1521
1556
  }, je = ({
1522
1557
  subcName: i,
1523
1558
  indicators: d,
1524
- defaultColor: s,
1559
+ defaultColor: o,
1525
1560
  activeColor: n,
1526
1561
  activeSubCategory: t,
1527
- onClickSubCategory: o,
1562
+ onClickSubCategory: s,
1528
1563
  id: l,
1529
1564
  activeIndicator: a,
1530
1565
  onClickIndicator: c,
@@ -1532,32 +1567,32 @@ const Mn = "_indicatorsSubCategory_1dzsi_2", Fn = "_list_1dzsi_8", we = {
1532
1567
  activeIndicatorType: u,
1533
1568
  onChangeType: h
1534
1569
  }) => {
1535
- const { t: g } = k(), [C, b] = B(!1);
1536
- return F(() => {
1537
- b(t == l);
1570
+ const { t: g } = k(), [f, C] = D(!1);
1571
+ return L(() => {
1572
+ C(t == l);
1538
1573
  }, [t, l]), /* @__PURE__ */ m(
1539
1574
  Ce.div,
1540
1575
  {
1541
1576
  className: we.indicatorsSubCategory,
1542
1577
  initial: { height: "43px" },
1543
- animate: { height: C ? "auto" : "43px" },
1578
+ animate: { height: f ? "auto" : "43px" },
1544
1579
  transition: { duration: 0.4 },
1545
1580
  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 ? "-" : "+" }),
1581
+ /* @__PURE__ */ r("button", { onClick: () => s(l), children: /* @__PURE__ */ m("h3", { style: { color: f ? n : o }, children: [
1582
+ /* @__PURE__ */ r("span", { style: { color: f ? n : o }, children: f ? "-" : "+" }),
1548
1583
  /* @__PURE__ */ r(
1549
1584
  "span",
1550
1585
  {
1551
- style: { marginLeft: 12, color: C ? n : s },
1586
+ style: { marginLeft: 12, color: f ? n : o },
1552
1587
  children: g(i)
1553
1588
  }
1554
1589
  )
1555
1590
  ] }) }),
1556
- d && /* @__PURE__ */ r("div", { className: we.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ r(
1591
+ d && /* @__PURE__ */ r("div", { className: we.list, children: d == null ? void 0 : d.map((b, v) => /* @__PURE__ */ r(
1557
1592
  fe,
1558
1593
  {
1559
- indicator: f,
1560
- defaultColor: s,
1594
+ indicator: b,
1595
+ defaultColor: o,
1561
1596
  activeColor: n,
1562
1597
  activeIndicator: a,
1563
1598
  onClickIndicator: c,
@@ -1586,10 +1621,10 @@ je.propTypes = {
1586
1621
  const ze = ({
1587
1622
  cat: i,
1588
1623
  id: d,
1589
- activeColor: s,
1624
+ activeColor: o,
1590
1625
  defaultColor: n,
1591
1626
  onClickCategory: t,
1592
- activeCategory: o,
1627
+ activeCategory: s,
1593
1628
  activeSubCategory: l,
1594
1629
  onClickSubCategory: a,
1595
1630
  activeIndicator: c,
@@ -1599,57 +1634,57 @@ const ze = ({
1599
1634
  onChangeType: g
1600
1635
  }) => {
1601
1636
  var v;
1602
- const { t: C } = k(), [b, f] = B(!1);
1603
- return F(() => {
1604
- f(o === d);
1605
- }, [o, d]), /* @__PURE__ */ m(
1637
+ const { t: f } = k(), [C, b] = D(!1);
1638
+ return L(() => {
1639
+ b(s === d);
1640
+ }, [s, d]), /* @__PURE__ */ m(
1606
1641
  Ce.div,
1607
1642
  {
1608
1643
  className: ae.indicatorsCategory,
1609
1644
  initial: { height: "53px" },
1610
- animate: { height: b ? "auto" : "53px" },
1645
+ animate: { height: C ? "auto" : "53px" },
1611
1646
  transition: { duration: 0.4 },
1612
1647
  style: {
1613
1648
  backgroundColor: "white",
1614
- borderBottom: b ? `1px solid ${s}` : "0px",
1615
- marginBottom: b ? "20px" : "0px"
1649
+ borderBottom: C ? `1px solid ${o}` : "0px",
1650
+ marginBottom: C ? "20px" : "0px"
1616
1651
  },
1617
1652
  children: [
1618
1653
  /* @__PURE__ */ m("h2", { className: `${ae.title}`, onClick: () => t(d), children: [
1619
- /* @__PURE__ */ r("span", { style: { color: b ? s : n }, children: b ? "-" : "+" }),
1654
+ /* @__PURE__ */ r("span", { style: { color: C ? o : n }, children: C ? "-" : "+" }),
1620
1655
  /* @__PURE__ */ r(
1621
1656
  "span",
1622
1657
  {
1623
- style: { marginLeft: 12, color: b ? s : n },
1624
- children: C(i.name)
1658
+ style: { marginLeft: 12, color: C ? o : n },
1659
+ children: f(i.name)
1625
1660
  }
1626
1661
  )
1627
1662
  ] }),
1628
1663
  i.subcategories ? i.subcategories.map(
1629
- ({ name: y, subcategory: x, indicators: w }, _) => /* @__PURE__ */ r(
1664
+ ({ name: y, subcategory: _, indicators: w }, x) => /* @__PURE__ */ r(
1630
1665
  je,
1631
1666
  {
1632
- id: x,
1667
+ id: _,
1633
1668
  activeSubCategory: l,
1634
1669
  subcName: y,
1635
1670
  onClickSubCategory: a,
1636
1671
  activeIndicator: c,
1637
1672
  onClickIndicator: p,
1638
1673
  multiple: u,
1639
- activeColor: s,
1674
+ activeColor: o,
1640
1675
  defaultColor: n,
1641
1676
  indicators: w,
1642
1677
  activeIndicatorType: h,
1643
1678
  onChangeType: g
1644
1679
  },
1645
- `subcKey ${_}`
1680
+ `subcKey ${x}`
1646
1681
  )
1647
- ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ r(
1682
+ ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, _) => /* @__PURE__ */ r(
1648
1683
  fe,
1649
1684
  {
1650
1685
  indicator: y,
1651
1686
  values: y.type == "twoUnits" && y.values,
1652
- activeColor: s,
1687
+ activeColor: o,
1653
1688
  defaultColor: n,
1654
1689
  activeIndicator: c,
1655
1690
  onClickIndicator: p,
@@ -1657,7 +1692,7 @@ const ze = ({
1657
1692
  activeIndicatorType: h,
1658
1693
  onChangeType: g
1659
1694
  },
1660
- `indicator${x}`
1695
+ `indicator${_}`
1661
1696
  )) })
1662
1697
  ]
1663
1698
  }
@@ -1677,83 +1712,83 @@ ze.propTypes = {
1677
1712
  activeColor: e.string,
1678
1713
  defaultColor: e.string
1679
1714
  };
1680
- const Ln = "_indicatorsList_fklyu_2", Dn = "_title_fklyu_6", ke = {
1681
- indicatorsList: Ln,
1682
- title: Dn
1683
- }, Bn = ({
1715
+ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
1716
+ indicatorsList: On,
1717
+ title: In
1718
+ }, Rn = ({
1684
1719
  indicators: i,
1685
1720
  activeColor: d,
1686
- defaultColor: s = "#92898A",
1721
+ defaultColor: o = "#92898A",
1687
1722
  // Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
1688
1723
  onChange: n,
1689
1724
  // Selección multiple
1690
1725
  multiple: t = !1,
1691
1726
  // Si multiple es true, debe ser un array de strings, sino un string
1692
- defaultValue: o = null,
1727
+ defaultValue: s = null,
1693
1728
  //si el indicador es tipo "both" cuando se cambia el tipo
1694
1729
  changeIndType: l,
1695
1730
  activeIndicatorType: a
1696
1731
  }) => {
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 = (_) => {
1732
+ const { t: c } = k(), [p, u] = D(), [h, g] = D(), [f, C] = D(), b = (x) => {
1733
+ u(p == x ? null : x);
1734
+ }, v = (x) => {
1735
+ g(h == x ? null : x);
1736
+ }, y = ({ indicator: x }) => {
1737
+ console.log("onClickIndicator: ", x), _(x);
1738
+ }, _ = (x) => {
1704
1739
  if (!t)
1705
- b(
1706
- (C == null ? void 0 : C.name) == _.name ? null : _
1740
+ C(
1741
+ (f == null ? void 0 : f.name) == x.name ? null : x
1707
1742
  );
1708
1743
  else {
1709
- let N = C && C.length > 0 ? [...C] : [];
1710
- b(
1744
+ let N = f && f.length > 0 ? [...f] : [];
1745
+ C(
1711
1746
  N != null && N.some(
1712
- ($) => $.name == _.name
1747
+ ($) => $.name == x.name
1713
1748
  ) ? N.filter(
1714
- ($) => $.name != String(_.name)
1715
- ) : [...N, _]
1716
- ), _.type == "both" && l("cat");
1749
+ ($) => $.name != String(x.name)
1750
+ ) : [...N, x]
1751
+ ), x.type == "both" && l("cat");
1717
1752
  }
1718
1753
  };
1719
- 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
+ L(() => {
1755
+ console.log("activeindicator changed to: ", f), n && typeof n == "function" && f && n({ activeIndicator: f });
1756
+ }, [f]), qe(() => {
1757
+ if (s && !f)
1758
+ if (t && s && Array.isArray(s)) {
1759
+ let x = f && f.length > 0 ? [...f] : [];
1760
+ C([...x, ...s]), w(s[0].name);
1726
1761
  } else
1727
- x(o), w(o.name);
1762
+ _(s), w(s.name);
1728
1763
  }, []);
1729
- const w = (_) => {
1764
+ const w = (x) => {
1730
1765
  const N = i.find(($) => {
1731
1766
  if ($.subcategories) {
1732
- let O = $.subcategories.find(
1733
- (ne) => ne.indicators.find((U) => U.name == _)
1767
+ let A = $.subcategories.find(
1768
+ (ne) => ne.indicators.find((U) => U.name == x)
1734
1769
  );
1735
- if (O)
1736
- return g(O.subcategory), O;
1770
+ if (A)
1771
+ return g(A.subcategory), A;
1737
1772
  } else
1738
- return $.indicators.some((O) => O.name == _);
1773
+ return $.indicators.some((A) => A.name == x);
1739
1774
  });
1740
1775
  N && u(N.category);
1741
1776
  };
1742
1777
  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(
1778
+ /* @__PURE__ */ r("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
1779
+ i.map((x, N) => /* @__PURE__ */ r(
1745
1780
  ze,
1746
1781
  {
1747
- id: _.category,
1748
- cat: _,
1749
- onClickCategory: f,
1782
+ id: x.category,
1783
+ cat: x,
1784
+ onClickCategory: b,
1750
1785
  activeCategory: p,
1751
1786
  onClickSubCategory: v,
1752
1787
  activeSubCategory: h,
1753
1788
  onClickIndicator: y,
1754
- activeIndicator: C,
1789
+ activeIndicator: f,
1755
1790
  activeColor: d,
1756
- defaultColor: s,
1791
+ defaultColor: o,
1757
1792
  multiple: t,
1758
1793
  onChange: n,
1759
1794
  onChangeType: l,
@@ -1763,7 +1798,7 @@ const Ln = "_indicatorsList_fklyu_2", Dn = "_title_fklyu_6", ke = {
1763
1798
  ))
1764
1799
  ] });
1765
1800
  };
1766
- Bn.propTypes = {
1801
+ Rn.propTypes = {
1767
1802
  indicators: e.arrayOf(e.object),
1768
1803
  activeColor: e.string,
1769
1804
  defaultColor: e.string,
@@ -1774,15 +1809,15 @@ Bn.propTypes = {
1774
1809
  defaultValue: e.oneOfType([e.object, e.array]),
1775
1810
  activeIndicatorType: e.string
1776
1811
  };
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);
1812
+ const Vn = "_langSelector_1of0g_2", jn = "_currentLang_1of0g_7", zn = "_arrow_1of0g_19", Pn = "_prevImg_1of0g_22", En = "_langMenu_1of0g_26", K = {
1813
+ langSelector: Vn,
1814
+ currentLang: jn,
1815
+ arrow: zn,
1816
+ prevImg: Pn,
1817
+ langMenu: En
1818
+ }, qn = ({ langs: i, arrow: d, imgPrev: o }) => {
1819
+ const [n, t] = D(!1), { i18n: s } = k(), l = i.find((c) => c.code == s.language), a = (c) => {
1820
+ s.changeLanguage(c), t(!1);
1786
1821
  };
1787
1822
  return /* @__PURE__ */ m("div", { className: K.langSelector, children: [
1788
1823
  /* @__PURE__ */ m(
@@ -1793,7 +1828,7 @@ const $n = "_langSelector_1of0g_2", On = "_currentLang_1of0g_7", An = "_arrow_1o
1793
1828
  t(!n);
1794
1829
  },
1795
1830
  children: [
1796
- s && /* @__PURE__ */ r("img", { className: K.prevImg, src: s }),
1831
+ o && /* @__PURE__ */ r("img", { className: K.prevImg, src: o }),
1797
1832
  l.titleSelected || l.title,
1798
1833
  /* @__PURE__ */ r("img", { src: d, className: K.arrow })
1799
1834
  ]
@@ -1810,7 +1845,7 @@ const $n = "_langSelector_1of0g_2", On = "_currentLang_1of0g_7", An = "_arrow_1o
1810
1845
  )) })
1811
1846
  ] });
1812
1847
  };
1813
- Vn.propTypes = {
1848
+ qn.propTypes = {
1814
1849
  langs: e.arrayOf(
1815
1850
  e.shape({
1816
1851
  code: e.string,
@@ -1824,27 +1859,27 @@ Vn.propTypes = {
1824
1859
  arrow: e.object,
1825
1860
  imgPrev: e.object
1826
1861
  };
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 = ({
1862
+ 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 = {
1863
+ legendContainer: Kn,
1864
+ closeButton: Zn,
1865
+ titleContainer: Un,
1866
+ infoContainer: Hn,
1867
+ titleLegendList: Gn,
1868
+ legendListContainer: Yn,
1869
+ gridContainer: Wn,
1870
+ elementLegendContainer: Xn,
1871
+ colorDot: Jn,
1872
+ absoluteValueContainer: Qn,
1873
+ absoluteValueColor: ei,
1874
+ absoluteValueText: ti,
1875
+ moreInfoContainer: ni
1876
+ }, ii = ({
1842
1877
  //JSON with the styles of the container (optional)
1843
1878
  containerStyles: i,
1844
1879
  //Title on top of the legend
1845
1880
  title: d,
1846
1881
  //Array to display the info behind the title should have: [{title, value}, ...]
1847
- infoList: s,
1882
+ infoList: o,
1848
1883
  //Array to display the items of the legend: [{title, color}, ...]
1849
1884
  //color should be a string with hexadecimal value
1850
1885
  legendList: n,
@@ -1853,7 +1888,7 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1853
1888
  //Should be an object with {maxColor, minColor, maxValue, minValue}
1854
1889
  //If this has is not null or undefined, the legendList values wont be displayed.
1855
1890
  //It will display only the absolute value indicator.
1856
- absoluteValue: o,
1891
+ absoluteValue: s,
1857
1892
  //Function to be called when the button is clicked (optional).
1858
1893
  //If this is null or undefined the button wont be displayed.
1859
1894
  onClickMoreInfo: l,
@@ -1870,7 +1905,7 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1870
1905
  children: [
1871
1906
  /* @__PURE__ */ r("button", { className: M.closeButton, onClick: c }),
1872
1907
  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: [
1908
+ 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
1909
  /* @__PURE__ */ r("h3", { className: M.title, children: `${u}:` }),
1875
1910
  /* @__PURE__ */ m("span", { className: M.value, children: [
1876
1911
  "  ",
@@ -1878,26 +1913,26 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1878
1913
  ] })
1879
1914
  ] }, d)) }) }),
1880
1915
  /* @__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: [
1916
+ /* @__PURE__ */ r("div", { className: M.legendListContainer, children: s ? /* @__PURE__ */ m("div", { className: M.absoluteValueContainer, children: [
1882
1917
  /* @__PURE__ */ r(
1883
1918
  "div",
1884
1919
  {
1885
1920
  className: M.absoluteValueColor,
1886
1921
  style: {
1887
- background: `linear-gradient(to bottom, ${o.maxColor} 0%, ${o.minColor} 100%)`
1922
+ background: `linear-gradient(to bottom, ${s.maxColor} 0%, ${s.minColor} 100%)`
1888
1923
  }
1889
1924
  }
1890
1925
  ),
1891
1926
  /* @__PURE__ */ m("div", { className: M.absoluteValueText, children: [
1892
1927
  /* @__PURE__ */ m("span", { children: [
1893
- o.maxValue,
1928
+ s.maxValue,
1894
1929
  " ",
1895
- p(o.unit)
1930
+ p(s.unit)
1896
1931
  ] }),
1897
1932
  /* @__PURE__ */ m("span", { children: [
1898
- o.minValue,
1933
+ s.minValue,
1899
1934
  " ",
1900
- p(o.unit)
1935
+ p(s.unit)
1901
1936
  ] })
1902
1937
  ] })
1903
1938
  ] }) : n && n.length > 0 && /* @__PURE__ */ r("div", { className: M.gridContainer, children: n.map(
@@ -1920,7 +1955,7 @@ const jn = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Pn = "_titl
1920
1955
  }
1921
1956
  );
1922
1957
  };
1923
- Jn.propTypes = {
1958
+ ii.propTypes = {
1924
1959
  title: e.string,
1925
1960
  containerStyles: e.object,
1926
1961
  infoList: e.arrayOf(
@@ -1946,67 +1981,67 @@ Jn.propTypes = {
1946
1981
  buttonTitle: e.string,
1947
1982
  onClickClose: e.func
1948
1983
  };
1949
- const Qn = "_logo_1ewa6_2", Ne = {
1950
- logo: Qn
1951
- }, ei = ({ src: i, alt: d, href: s }) => {
1984
+ const oi = "_logo_1ewa6_2", Ne = {
1985
+ logo: oi
1986
+ }, si = ({ src: i, alt: d, href: o }) => {
1952
1987
  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 });
1988
+ 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
1989
  };
1955
- ei.propTypes = {
1990
+ si.propTypes = {
1956
1991
  src: e.string.isRequired,
1957
1992
  alt: e.string.isRequired,
1958
1993
  href: e.string,
1959
1994
  className: e.string
1960
1995
  };
1961
- const ti = "_mapContainer_84pkf_2", ni = {
1962
- mapContainer: ti
1996
+ const ri = "_mapContainer_84pkf_2", ai = {
1997
+ mapContainer: ri
1963
1998
  };
1964
1999
  Ze.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
1965
- const ii = ({
2000
+ const li = ({
1966
2001
  initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
1967
2002
  maxZoom: d = 17,
1968
- minZoom: s = 8,
2003
+ minZoom: o = 8,
1969
2004
  mapStyle: n,
1970
2005
  firstSymbolLayer: t,
1971
- cssProps: o = "",
2006
+ cssProps: s = "",
1972
2007
  onClick: l = "",
1973
2008
  interactiveLayers: a = [],
1974
2009
  popUp: c = !1,
1975
2010
  sources: p = [],
1976
2011
  layers: u = []
1977
2012
  }) => {
1978
- const h = me(), [g, C] = B(null), b = de((f) => f.mapState.showTexts);
1979
- return F(() => {
2013
+ const h = me(), [g, f] = D(null), C = de((b) => b.mapState.showTexts);
2014
+ return L(() => {
1980
2015
  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"));
2016
+ const b = h.current.getMap();
2017
+ b.getStyle().layers.map((y) => {
2018
+ y.type == "symbol" && y.id != "professionals" && (C ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
1984
2019
  });
1985
2020
  }
1986
- }, [b]), /* @__PURE__ */ r("div", { className: `${ni.mapContainer}`, style: o, children: /* @__PURE__ */ m(
2021
+ }, [C]), /* @__PURE__ */ r("div", { className: `${ai.mapContainer}`, style: s, children: /* @__PURE__ */ m(
1987
2022
  Ue,
1988
2023
  {
1989
2024
  initialViewState: i,
1990
2025
  ref: h,
1991
2026
  hash: !1,
1992
2027
  maxZoom: d,
1993
- minZoom: s,
2028
+ minZoom: o,
1994
2029
  mapStyle: n,
1995
2030
  onClick: l,
1996
2031
  interactiveLayerIds: a,
1997
2032
  children: [
1998
- p.length && p.map((f, v) => /* @__PURE__ */ r(
2033
+ p.length && p.map((b, v) => /* @__PURE__ */ r(
1999
2034
  He,
2000
2035
  {
2001
- ...f,
2002
- children: u.length && u.map((y, x) => {
2003
- if (y.sourceId == f.id) return /* @__PURE__ */ r(
2036
+ ...b,
2037
+ children: u.length && u.map((y, _) => {
2038
+ if (y.sourceId == b.id) return /* @__PURE__ */ r(
2004
2039
  Ge,
2005
2040
  {
2006
2041
  ...y.layer,
2007
2042
  beforeId: t
2008
2043
  },
2009
- x
2044
+ _
2010
2045
  );
2011
2046
  })
2012
2047
  },
@@ -2019,7 +2054,7 @@ const ii = ({
2019
2054
  longitude: c.longitude,
2020
2055
  latitude: c.latitude,
2021
2056
  anchor: c.anchor,
2022
- onClose: () => C(null),
2057
+ onClose: () => f(null),
2023
2058
  children: c.content
2024
2059
  }
2025
2060
  )
@@ -2027,7 +2062,7 @@ const ii = ({
2027
2062
  }
2028
2063
  ) });
2029
2064
  };
2030
- ii.propTypes = {
2065
+ li.propTypes = {
2031
2066
  initialView: e.shape({
2032
2067
  latitude: e.number.isRequired,
2033
2068
  longitude: e.number.isRequired,
@@ -2072,29 +2107,29 @@ ii.propTypes = {
2072
2107
  })
2073
2108
  )
2074
2109
  };
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 }) => {
2110
+ const ci = "_mapContainer_b0pyr_3", di = {
2111
+ mapContainer: ci
2112
+ }, pi = "_FeaturePopUp_1gd6w_2", ui = "_title_1gd6w_2", Se = {
2113
+ FeaturePopUp: pi,
2114
+ title: ui
2115
+ }, hi = ({ props: i }) => {
2081
2116
  const { t: d } = k();
2082
- return /* @__PURE__ */ r("div", { className: Se.FeaturePopUp, children: i.map((s) => /* @__PURE__ */ m("p", { children: [
2117
+ return /* @__PURE__ */ r("div", { className: Se.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ m("p", { children: [
2083
2118
  /* @__PURE__ */ m("span", { className: Se.title, children: [
2084
- /* @__PURE__ */ r(ge, { i18nKey: s.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2119
+ /* @__PURE__ */ r(ge, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2085
2120
  ": "
2086
2121
  ] }),
2087
- s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2122
+ o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2088
2123
  " ",
2089
- d(s.unit)
2124
+ d(o.unit)
2090
2125
  ] })) });
2091
- }, ci = ({
2126
+ }, mi = ({
2092
2127
  initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2093
2128
  maxZoom: d = 17,
2094
- minZoom: s = 8,
2129
+ minZoom: o = 8,
2095
2130
  mapStyle: n,
2096
2131
  firstSymbolLayer: t,
2097
- cssProps: o = {},
2132
+ cssProps: s = {},
2098
2133
  onClick: l = "",
2099
2134
  interactiveLayers: a = [],
2100
2135
  sources: c = [],
@@ -2102,48 +2137,48 @@ const oi = "_mapContainer_b0pyr_3", si = {
2102
2137
  filters: u,
2103
2138
  popUpParams: h,
2104
2139
  onClosePopUp: g,
2105
- showTexts: C
2140
+ showTexts: f
2106
2141
  }) => {
2107
2142
  console.log(u);
2108
- const b = me();
2109
- 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"));
2143
+ const C = me();
2144
+ return L(() => {
2145
+ if (C.current) {
2146
+ const b = C.current.getMap();
2147
+ b.getStyle().layers.map((y) => {
2148
+ y.type == "symbol" && y.id != "professionals" && (f ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
2114
2149
  });
2115
2150
  }
2116
- }, [C]), F(() => {
2117
- let f = new Xe();
2118
- return ie.addProtocol("pmtiles", f.tile), () => {
2151
+ }, [f]), L(() => {
2152
+ let b = new Xe();
2153
+ return ie.addProtocol("pmtiles", b.tile), () => {
2119
2154
  ie.removeProtocol("pmtiles");
2120
2155
  };
2121
- }, []), /* @__PURE__ */ r("div", { className: `${si.mapContainer}`, style: o && o, children: /* @__PURE__ */ m(
2156
+ }, []), /* @__PURE__ */ r("div", { className: `${di.mapContainer}`, style: s && s, children: /* @__PURE__ */ m(
2122
2157
  Je,
2123
2158
  {
2124
2159
  mapLib: ie,
2125
2160
  initialViewState: i,
2126
- ref: b,
2161
+ ref: C,
2127
2162
  hash: !1,
2128
2163
  maxZoom: d,
2129
- minZoom: s,
2164
+ minZoom: o,
2130
2165
  mapStyle: n,
2131
2166
  onClick: l,
2132
2167
  interactiveLayerIds: a,
2133
2168
  children: [
2134
- c.length && c.map((f, v) => /* @__PURE__ */ r(
2169
+ c.length && c.map((b, v) => /* @__PURE__ */ r(
2135
2170
  Qe,
2136
2171
  {
2137
- ...f,
2138
- children: p.length && p.map((y, x) => {
2139
- if (y.sourceId == f.id) return /* @__PURE__ */ r(
2172
+ ...b,
2173
+ children: p.length && p.map((y, _) => {
2174
+ if (y.sourceId == b.id) return /* @__PURE__ */ r(
2140
2175
  et,
2141
2176
  {
2142
2177
  ...y.layer,
2143
2178
  beforeId: t,
2144
2179
  filter: u && u
2145
2180
  },
2146
- x
2181
+ _
2147
2182
  );
2148
2183
  })
2149
2184
  },
@@ -2156,14 +2191,14 @@ const oi = "_mapContainer_b0pyr_3", si = {
2156
2191
  longitude: h.lng,
2157
2192
  latitude: h.lat,
2158
2193
  onClose: g,
2159
- children: /* @__PURE__ */ r(li, { props: h.props })
2194
+ children: /* @__PURE__ */ r(hi, { props: h.props })
2160
2195
  }
2161
2196
  )
2162
2197
  ]
2163
2198
  }
2164
2199
  ) });
2165
2200
  };
2166
- ci.propTypes = {
2201
+ mi.propTypes = {
2167
2202
  initialView: e.shape({
2168
2203
  latitude: e.number.isRequired,
2169
2204
  longitude: e.number.isRequired,
@@ -2206,33 +2241,33 @@ ci.propTypes = {
2206
2241
  popUpParams: e.object,
2207
2242
  onClosePopUp: e.func
2208
2243
  };
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 = ({
2244
+ 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 = {
2245
+ sectionBar: gi,
2246
+ leftContent: Ci,
2247
+ textContainer: bi,
2248
+ title: fi,
2249
+ subtitle: yi,
2250
+ rightContent: vi
2251
+ }, mo = ({
2217
2252
  leftIcon: i,
2218
2253
  title: d,
2219
- subtitle: s,
2254
+ subtitle: o,
2220
2255
  rightContent: n,
2221
2256
  mainColor: t,
2222
- width: o
2257
+ width: s
2223
2258
  }) => {
2224
2259
  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 })
2260
+ return /* @__PURE__ */ m("div", { className: z.sectionBar, style: { width: s && s }, children: [
2261
+ /* @__PURE__ */ m("div", { className: z.leftContent, children: [
2262
+ i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: z.icon }),
2263
+ /* @__PURE__ */ m("div", { className: z.textContainer, children: [
2264
+ /* @__PURE__ */ r("div", { className: z.title, children: l(d) }),
2265
+ o && /* @__PURE__ */ r("div", { className: z.subtitle, children: o })
2231
2266
  ] })
2232
2267
  ] }),
2233
- /* @__PURE__ */ r("div", { className: j.rightContent, children: n })
2268
+ /* @__PURE__ */ r("div", { className: z.rightContent, children: n })
2234
2269
  ] });
2235
- }, Ci = Me({
2270
+ }, _i = Me({
2236
2271
  name: "mapSlice",
2237
2272
  initialState: {
2238
2273
  showTexts: !0,
@@ -2258,36 +2293,36 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2258
2293
  i.activeIndicatorUnit = d.payload;
2259
2294
  }
2260
2295
  }
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 = () => {
2296
+ }), { 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 = {
2297
+ slider: ki,
2298
+ playButton: Ni,
2299
+ sliderOpen: Si,
2300
+ sliderResults: Ti
2301
+ }, Mi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: s = !1 }) => {
2302
+ const [l, a] = D(d), c = Te(), p = (y, _) => {
2303
+ a(_), c(le(_ - 2e3));
2304
+ }, [u, h] = D(!1), g = () => {
2270
2305
  h(!0);
2271
- }, C = () => {
2306
+ }, f = () => {
2272
2307
  h(!1);
2273
2308
  };
2274
- ((y, x) => {
2309
+ ((y, _) => {
2275
2310
  const w = me();
2276
- F(() => {
2311
+ L(() => {
2277
2312
  w.current = y;
2278
- }, [y]), F(() => {
2279
- function _() {
2313
+ }, [y]), L(() => {
2314
+ function x() {
2280
2315
  w.current();
2281
2316
  }
2282
2317
  {
2283
- let N = setInterval(_, x);
2318
+ let N = setInterval(x, _);
2284
2319
  return () => clearInterval(N);
2285
2320
  }
2286
- }, [x]);
2321
+ }, [_]);
2287
2322
  })(() => {
2288
2323
  u && (l != 2050 ? (a(l + 1), c(le(l - 2e3 + 1))) : (a(2025), c(le(25))));
2289
2324
  }, 1e3);
2290
- const f = ot({
2325
+ const b = ot({
2291
2326
  palette: {
2292
2327
  primary: {
2293
2328
  main: "#605b56"
@@ -2315,14 +2350,14 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2315
2350
  { label: "", value: 2041 },
2316
2351
  { label: "", value: 2050 }
2317
2352
  ];
2318
- return /* @__PURE__ */ r(rt, { theme: f, children: /* @__PURE__ */ m(
2353
+ return /* @__PURE__ */ r(rt, { theme: b, children: /* @__PURE__ */ m(
2319
2354
  st,
2320
2355
  {
2321
2356
  sx: { width: 400 },
2322
- className: `${i ? Y.sliderResults : Y.slider} ${o ? Y.sliderOpen : ""}`,
2357
+ className: `${i ? Y.sliderResults : Y.slider} ${s ? Y.sliderOpen : ""}`,
2323
2358
  style: { zIndex: t },
2324
2359
  children: [
2325
- s,
2360
+ o,
2326
2361
  /* @__PURE__ */ r(
2327
2362
  it,
2328
2363
  {
@@ -2331,7 +2366,7 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2331
2366
  valueLabelDisplay: "on",
2332
2367
  step: 1,
2333
2368
  marks: v,
2334
- min: s,
2369
+ min: o,
2335
2370
  max: n,
2336
2371
  onChange: p,
2337
2372
  color: "primary",
@@ -2339,13 +2374,13 @@ const di = "_sectionBar_1egwc_2", pi = "_leftContent_1egwc_14", ui = "_textConta
2339
2374
  }
2340
2375
  ),
2341
2376
  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" }) })
2377
+ !u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: g, children: /* @__PURE__ */ r("img", { src: xi, alt: "Play" }) }),
2378
+ u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: f, children: /* @__PURE__ */ r("img", { src: wi, alt: "Pause" }) })
2344
2379
  ]
2345
2380
  }
2346
2381
  ) });
2347
2382
  };
2348
- wi.propTypes = {
2383
+ Mi.propTypes = {
2349
2384
  defaultYear: e.number,
2350
2385
  onResults: e.bool,
2351
2386
  firstYear: e.number,
@@ -2353,21 +2388,21 @@ wi.propTypes = {
2353
2388
  zIndex: e.number,
2354
2389
  rightBarOpen: e.bool
2355
2390
  };
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 = ({
2391
+ const Li = "_TopNavMenuContainer_15agj_2", Fi = "_topNavOptions_15agj_12", Bi = "_active_15agj_23", ce = {
2392
+ TopNavMenuContainer: Li,
2393
+ topNavOptions: Fi,
2394
+ active: Bi
2395
+ }, Di = ({
2361
2396
  options: i = [],
2362
2397
  cssProps: d = {},
2363
- containerStyles: s
2398
+ containerStyles: o
2364
2399
  }) => {
2365
- const { t: n } = k(), t = d.textColor || "inherit", o = d.borderColor || "transparent", l = d.height || "100%";
2400
+ const { t: n } = k(), t = d.textColor || "inherit", s = d.borderColor || "transparent", l = d.height || "100%";
2366
2401
  return /* @__PURE__ */ r(
2367
2402
  "div",
2368
2403
  {
2369
2404
  className: ce.TopNavMenuContainer,
2370
- style: s || {},
2405
+ style: o || {},
2371
2406
  children: i.map((a, c) => /* @__PURE__ */ r(
2372
2407
  at,
2373
2408
  {
@@ -2375,7 +2410,7 @@ const ki = "_TopNavMenuContainer_15agj_2", Ni = "_topNavOptions_15agj_12", Si =
2375
2410
  className: ({ isActive: p }) => `${ce.topNavOptions} ${p ? ce.active : ""}`,
2376
2411
  style: ({ isActive: p }) => ({
2377
2412
  color: t,
2378
- borderColor: p ? o : "transparent",
2413
+ borderColor: p ? s : "transparent",
2379
2414
  height: `calc(${l} - 10px)`
2380
2415
  }),
2381
2416
  children: n(a.name)
@@ -2385,7 +2420,7 @@ const ki = "_TopNavMenuContainer_15agj_2", Ni = "_topNavOptions_15agj_12", Si =
2385
2420
  }
2386
2421
  );
2387
2422
  };
2388
- Ti.propTypes = {
2423
+ Di.propTypes = {
2389
2424
  options: e.arrayOf(e.object),
2390
2425
  cssProps: e.shape({
2391
2426
  borderColor: e.string.isRequired,
@@ -2395,7 +2430,7 @@ Ti.propTypes = {
2395
2430
  // activeColor: PropTypes.string,
2396
2431
  // defaultColor: PropTypes.string
2397
2432
  };
2398
- const Mi = Me({
2433
+ const $i = Me({
2399
2434
  name: "userSlice",
2400
2435
  initialState: {
2401
2436
  user: {
@@ -2413,15 +2448,15 @@ const Mi = Me({
2413
2448
  i.showUserMenu = d.payload;
2414
2449
  }
2415
2450
  }
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));
2451
+ }), { setShowLogIn: Ai, setShowUserMenu: Oi } = $i.actions, Ii = "_UserMenuTrigger_uglss_2", Ri = {
2452
+ UserMenuTrigger: Ii
2453
+ }, Vi = ({ cssClass: i, loginLocale: d = "login" }) => {
2454
+ const o = Te(), n = de((a) => a.userState.user.isLoggedIn), t = de((a) => a.userState.user.username), { t: s } = k(), l = () => {
2455
+ o(n ? Ai(!0) : Oi(!0));
2421
2456
  };
2422
- return /* @__PURE__ */ r("div", { className: `${Bi.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : o(d) });
2457
+ return /* @__PURE__ */ r("div", { className: `${Ri.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : s(d) });
2423
2458
  };
2424
- $i.propTypes = {
2459
+ Vi.propTypes = {
2425
2460
  onClickLoggedIn: e.func.isRequired,
2426
2461
  onClickLoggedOut: e.func.isRequired,
2427
2462
  log: e.bool,
@@ -2429,15 +2464,15 @@ $i.propTypes = {
2429
2464
  cssClass: e.string,
2430
2465
  loginLocale: e.string
2431
2466
  };
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 = ({
2467
+ const ji = "_header_t7qdl_2", zi = "_leftComponents_t7qdl_12", Pi = "_centerComponents_t7qdl_13", Ei = "_rightComponents_t7qdl_14", Q = {
2468
+ header: ji,
2469
+ leftComponents: zi,
2470
+ centerComponents: Pi,
2471
+ rightComponents: Ei
2472
+ }, qi = ({
2438
2473
  cssProps: i,
2439
2474
  leftComponents: d = [],
2440
- centerComponents: s = [],
2475
+ centerComponents: o = [],
2441
2476
  rightComponents: n = []
2442
2477
  }) => /* @__PURE__ */ m("div", { className: Q.header, style: i, children: [
2443
2478
  /* @__PURE__ */ r(
@@ -2445,7 +2480,7 @@ const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComp
2445
2480
  {
2446
2481
  className: Q.leftComponents,
2447
2482
  style: { height: i.height },
2448
- children: d.map((t, o) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, o))
2483
+ children: d.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2449
2484
  }
2450
2485
  ),
2451
2486
  /* @__PURE__ */ r(
@@ -2453,7 +2488,7 @@ const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComp
2453
2488
  {
2454
2489
  className: Q.centerComponents,
2455
2490
  style: { height: i.height },
2456
- children: s.map((t, o) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, o))
2491
+ children: o.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2457
2492
  }
2458
2493
  ),
2459
2494
  /* @__PURE__ */ r(
@@ -2461,11 +2496,11 @@ const Oi = "_header_t7qdl_2", Ai = "_leftComponents_t7qdl_12", Ii = "_centerComp
2461
2496
  {
2462
2497
  className: Q.rightComponents,
2463
2498
  style: { height: i.height },
2464
- children: n.map((t, o) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, o))
2499
+ children: n.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2465
2500
  }
2466
2501
  )
2467
2502
  ] });
2468
- Vi.propTypes = {
2503
+ qi.propTypes = {
2469
2504
  cssProps: e.shape({
2470
2505
  backgroundColor: e.string.isRequired,
2471
2506
  height: e.string.isRequired,
@@ -2476,51 +2511,51 @@ Vi.propTypes = {
2476
2511
  centerComponents: e.arrayOf(e.node),
2477
2512
  rightComponents: e.arrayOf(e.node)
2478
2513
  };
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 }) => {
2514
+ const Ki = "_sidebar_1jqo2_2", Zi = "_open_1jqo2_16", Ui = "_content_1jqo2_20", Hi = "_closeButton_1jqo2_26", ee = {
2515
+ sidebar: Ki,
2516
+ open: Zi,
2517
+ content: Ui,
2518
+ closeButton: Hi
2519
+ }, Gi = ({ width: i = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2485
2520
  const t = () => {
2486
2521
  n();
2487
2522
  };
2488
2523
  return /* @__PURE__ */ r(
2489
2524
  "div",
2490
2525
  {
2491
- className: `${ee.sidebar} ${s ? ee.open : ""}`,
2492
- style: { width: s ? i : 0 },
2493
- children: s && /* @__PURE__ */ m("div", { className: ee.content, children: [
2526
+ className: `${ee.sidebar} ${o ? ee.open : ""}`,
2527
+ style: { width: o ? i : 0 },
2528
+ children: o && /* @__PURE__ */ m("div", { className: ee.content, children: [
2494
2529
  /* @__PURE__ */ r("button", { className: ee.closeButton, onClick: t, children: "×" }),
2495
2530
  d
2496
2531
  ] })
2497
2532
  }
2498
2533
  );
2499
2534
  };
2500
- Ei.propTypes = {
2535
+ Gi.propTypes = {
2501
2536
  width: e.string,
2502
2537
  children: e.node,
2503
2538
  showRightBar: e.bool,
2504
2539
  onCloseBar: e.func
2505
2540
  };
2506
2541
  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
2542
+ Ft as AmbitSelector,
2543
+ Et as ButtonsList,
2544
+ P as DropdownList,
2545
+ ho as EditAmbit,
2546
+ mn as FiltersAmbit,
2547
+ yn as Graphic,
2548
+ qi as HeaderSection,
2549
+ Rn as IndicatorsList,
2550
+ qn as LangSelector,
2551
+ ii as Legend,
2552
+ si as LogoApp,
2553
+ li as MapboxMap,
2554
+ mi as MaplibreMap,
2555
+ Gi as RightSidebar,
2556
+ mo as SectionBar,
2557
+ Mi as TimeSlider,
2558
+ Fe as Tooltip,
2559
+ Di as TopNavMenu,
2560
+ Vi as UserMenuTrigger
2526
2561
  };