@tmf_ciclica/ciclicastorybook 1.1.59 → 1.1.60

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,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_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}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_15gun_2{width:100%}._textInputContainer_15gun_2 ._labelContainer_15gun_5{margin-bottom:25px}._textInputContainer_15gun_2 ._inputContainer_15gun_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_15gun_2 ._inputContainer_15gun_8 ._showPasswordButton_15gun_14{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_15gun_2 ._inputContainer_15gun_8 input{width:100%}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26{margin-top:10px;cursor:pointer}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_pt7g1_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_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { jsxs as h, jsx as s, Fragment as xe } from "react/jsx-runtime";
2
+ import { jsxs as m, jsx as s, Fragment as xe } from "react/jsx-runtime";
3
3
  import * as X from "react";
4
- import N, { useState as M, useEffect as D, useMemo as le, useLayoutEffect as Ct, useRef as Fe } from "react";
4
+ import N, { useState as B, useEffect as L, useMemo as le, useLayoutEffect as Ct, useRef as Fe } from "react";
5
5
  import e from "prop-types";
6
6
  import { useTranslation as k, Trans as Le } from "react-i18next";
7
7
  import { motion as De } from "framer-motion";
@@ -44,15 +44,15 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
44
44
  fontColor: a,
45
45
  moreInfo: c
46
46
  }) => {
47
- const { nom: u, created_at: p, id: g, isBeingProcessed: y } = n;
48
- return /* @__PURE__ */ h(
47
+ const { nom: u, created_at: p, id: h, isBeingProcessed: y } = n;
48
+ return /* @__PURE__ */ m(
49
49
  "div",
50
50
  {
51
51
  className: ee.ambitItem,
52
52
  style: { borderBottom: `1px solid ${a}` },
53
53
  children: [
54
- /* @__PURE__ */ h("div", { className: ee.ambitNameDate, onClick: () => t(g), children: [
55
- /* @__PURE__ */ h("div", { className: ee.ambitName, children: [
54
+ /* @__PURE__ */ m("div", { className: ee.ambitNameDate, onClick: () => t(h), children: [
55
+ /* @__PURE__ */ m("div", { className: ee.ambitName, children: [
56
56
  /* @__PURE__ */ s(
57
57
  "img",
58
58
  {
@@ -64,11 +64,11 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
64
64
  ] }),
65
65
  /* @__PURE__ */ s("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ h("div", { className: ee.ambitButtons, children: [
67
+ /* @__PURE__ */ m("div", { className: ee.ambitButtons, children: [
68
68
  y && /* @__PURE__ */ s("img", { src: e2 }),
69
- /* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
70
- /* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: Xt }) }),
71
- /* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Jt }) })
69
+ /* @__PURE__ */ s("button", { onClick: () => i(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
70
+ /* @__PURE__ */ s("button", { onClick: () => d(h), children: /* @__PURE__ */ s("img", { src: Xt }) }),
71
+ /* @__PURE__ */ s("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Jt }) })
72
72
  ] })
73
73
  ]
74
74
  }
@@ -126,38 +126,38 @@ const Oe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
126
126
  containerStyles: c = {},
127
127
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
128
128
  onClickCopy: p = (C) => console.log(`Copy ambit: ${C}`),
129
- onCLickDelete: g = (C) => console.log(`Delete ambit: ${C}`),
129
+ onCLickDelete: h = (C) => console.log(`Delete ambit: ${C}`),
130
130
  onClickFilters: y = (C) => console.log(`Filters clicked: ${C}`),
131
- onClickAmbit: m = (C) => console.log(`OnCLickAmbit: ${C}`)
131
+ onClickAmbit: g = (C) => console.log(`OnCLickAmbit: ${C}`)
132
132
  }) => {
133
- const { t: C } = k(), [f, b] = M(n);
134
- D(() => {
135
- n && b(n);
133
+ const { t: C } = k(), [b, f] = B(n);
134
+ L(() => {
135
+ n && f(n);
136
136
  }, [n]);
137
137
  const v = (w) => {
138
- if (f && f.length > 0) {
139
- let x = [...f];
140
- x.sort((_, S) => _[w].localeCompare(S[w])), b(x);
138
+ if (b && b.length > 0) {
139
+ let x = [...b];
140
+ x.sort((_, S) => _[w].localeCompare(S[w])), f(x);
141
141
  }
142
142
  };
143
- return /* @__PURE__ */ h(
143
+ return /* @__PURE__ */ m(
144
144
  "div",
145
145
  {
146
146
  className: j.ambitSelector,
147
147
  style: { color: o, ...c },
148
148
  children: [
149
- /* @__PURE__ */ h(
149
+ /* @__PURE__ */ m(
150
150
  "div",
151
151
  {
152
152
  className: j.header,
153
153
  style: { borderBottom: `1px solid ${o}` },
154
154
  children: [
155
- /* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
156
- /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => v("name"), children: [
155
+ /* @__PURE__ */ m("div", { className: j.nameDateContainer, children: [
156
+ /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => v("name"), children: [
157
157
  /* @__PURE__ */ s("span", { children: C(t) }),
158
158
  /* @__PURE__ */ s("img", { src: Oe })
159
159
  ] }) }),
160
- /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => v("date"), children: [
160
+ /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => v("date"), children: [
161
161
  /* @__PURE__ */ s("span", { children: C(r) }),
162
162
  /* @__PURE__ */ s("img", { src: Oe })
163
163
  ] }) })
@@ -166,7 +166,7 @@ const Oe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
166
166
  ]
167
167
  }
168
168
  ),
169
- /* @__PURE__ */ s("div", { className: j.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ s(
169
+ /* @__PURE__ */ s("div", { className: j.ambitListContainer, children: b && b.length > 0 && b.map((w) => /* @__PURE__ */ s(
170
170
  We,
171
171
  {
172
172
  isActive: d == w.id,
@@ -174,9 +174,9 @@ const Oe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
174
174
  fontColor: o,
175
175
  activeColor: i,
176
176
  onClickCopy: p,
177
- onClickDelete: g,
177
+ onClickDelete: h,
178
178
  onClickFilters: y,
179
- onClickAmbit: m
179
+ onClickAmbit: g
180
180
  },
181
181
  `ambitKey${w.id}`
182
182
  )) }),
@@ -254,21 +254,21 @@ const f2 = ({
254
254
  const {
255
255
  icon: u,
256
256
  activeIcon: p,
257
- isActive: g,
257
+ isActive: h,
258
258
  name: y,
259
- onClick: m
260
- } = a, C = /* @__PURE__ */ h(xe, { children: [
259
+ onClick: g
260
+ } = a, C = /* @__PURE__ */ m(xe, { children: [
261
261
  o && i === "left" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) }),
262
- /* @__PURE__ */ s("img", { src: g ? p : u, alt: l(y) }),
262
+ /* @__PURE__ */ s("img", { src: h ? p : u, alt: l(y) }),
263
263
  o && i === "right" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) })
264
264
  ] });
265
- return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
265
+ return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
266
266
  /* @__PURE__ */ s(
267
267
  "button",
268
268
  {
269
- onClick: m,
269
+ onClick: g,
270
270
  className: `${q.button}
271
- ${g && q.active}`,
271
+ ${h && q.active}`,
272
272
  children: C
273
273
  }
274
274
  ),
@@ -313,7 +313,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
313
313
  titleMarginChildren: u = 25
314
314
  }) => {
315
315
  const { t: p } = k();
316
- return /* @__PURE__ */ h(
316
+ return /* @__PURE__ */ m(
317
317
  De.div,
318
318
  {
319
319
  className: me.indicatorsCategory,
@@ -326,7 +326,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
326
326
  marginBottom: n ? "20px" : "0px"
327
327
  },
328
328
  children: [
329
- /* @__PURE__ */ h(
329
+ /* @__PURE__ */ m(
330
330
  "h2",
331
331
  {
332
332
  style: {
@@ -360,7 +360,7 @@ G.propTypes = {
360
360
  const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), v2 = "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", _2 = "_AppliedFiltersContainer_s8ooe_2", w2 = "_AppliedFilterContent_s8ooe_10", Ie = {
361
361
  AppliedFiltersContainer: _2,
362
362
  AppliedFilterContent: w2
363
- }, L = ft((n) => ({
363
+ }, F = ft((n) => ({
364
364
  activeCategory: "",
365
365
  activeSubCategory: "",
366
366
  selectedIndicator: "",
@@ -368,10 +368,10 @@ const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), v2 = "data
368
368
  fontColor: "#605B56",
369
369
  inputsColor: "#605B56"
370
370
  })), Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
371
- const { t: l } = k(), { tematicalFiltersSelected: a } = L((u) => u), c = (u) => {
372
- L.setState((p) => ({
371
+ const { t: l } = k(), { tematicalFiltersSelected: a } = F((u) => u), c = (u) => {
372
+ F.setState((p) => ({
373
373
  tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
374
- (g) => g.code !== u
374
+ (h) => h.code !== u
375
375
  )
376
376
  }));
377
377
  };
@@ -382,7 +382,7 @@ const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), v2 = "data
382
382
  onClick: d,
383
383
  title: n ? l(n) : "Applied Filters",
384
384
  activeColor: r,
385
- children: /* @__PURE__ */ s("div", { className: Ie.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ h("div", { className: Ie.AppliedFilterContent, style: { color: i, background: t }, children: [
385
+ children: /* @__PURE__ */ s("div", { className: Ie.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ m("div", { className: Ie.AppliedFilterContent, style: { color: i, background: t }, children: [
386
386
  l(u.name),
387
387
  /* @__PURE__ */ s("img", { src: v2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
388
388
  ] }, p)) })
@@ -404,7 +404,7 @@ Je.propTypes = {
404
404
  activeColor: e.string
405
405
  };
406
406
  const Xe = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
407
- const { t: l } = k(), { tematicalFiltersSelected: a } = L((c) => c);
407
+ const { t: l } = k(), { tematicalFiltersSelected: a } = F((c) => c);
408
408
  return /* @__PURE__ */ s(
409
409
  G,
410
410
  {
@@ -433,8 +433,8 @@ const x2 = "_checkboxContainer_zld97_2", k2 = {
433
433
  indicator: i,
434
434
  value: t
435
435
  }) => {
436
- const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = L((u) => u);
437
- return /* @__PURE__ */ h(
436
+ const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = F((u) => u);
437
+ return /* @__PURE__ */ m(
438
438
  "div",
439
439
  {
440
440
  style: { ...d, color: o },
@@ -524,8 +524,8 @@ let Se = function(n) {
524
524
  t.setState({ pending: !0 });
525
525
  const c = t.getTouchPosition(a);
526
526
  if (t.isScrolling === void 0) {
527
- const g = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
528
- t.isScrolling = Math.abs(y) > Math.abs(g);
527
+ const h = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
528
+ t.isScrolling = Math.abs(y) > Math.abs(h);
529
529
  }
530
530
  if (t.isScrolling) return void t.setState({ index: -1 });
531
531
  const u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
@@ -593,11 +593,11 @@ let Se = function(n) {
593
593
  }, t.renderThumb = (a, c) => {
594
594
  const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
595
595
  t["thumb" + c] = y;
596
- }, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value: oe(t.state.value), valueNow: t.state.value[c] };
597
- return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(p, g);
596
+ }, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, h = { index: c, value: oe(t.state.value), valueNow: t.state.value[c] };
597
+ return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(p, h);
598
598
  }, t.renderTrack = (a, c, u) => {
599
- const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: a, value: oe(t.state.value) };
600
- return t.props.renderTrack(p, g);
599
+ const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: a, value: oe(t.state.value) };
600
+ return t.props.renderTrack(p, h);
601
601
  };
602
602
  let r = ge(i.value);
603
603
  r.length || (r = ge(i.defaultValue)), t.pendingResizeTimeouts = [];
@@ -652,8 +652,8 @@ let Se = function(n) {
652
652
  }, o.resize = function() {
653
653
  const { slider: i, thumb0: t } = this;
654
654
  if (!i || !t) return;
655
- const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - p, y = Math.abs(c - u);
656
- this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: g, sliderLength: y, thumbSize: p });
655
+ const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = a - p, y = Math.abs(c - u);
656
+ this.state.upperBound === h && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: h, sliderLength: y, thumbSize: p });
657
657
  }, o.calcOffset = function(i) {
658
658
  const t = this.props.max - this.props.min;
659
659
  return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
@@ -692,28 +692,28 @@ let Se = function(n) {
692
692
  const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
693
693
  if (i === a) return;
694
694
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
695
- const { pearling: c, max: u, min: p, minDistance: g } = this.props;
695
+ const { pearling: c, max: u, min: p, minDistance: h } = this.props;
696
696
  if (!c) {
697
697
  if (r > 0) {
698
698
  const y = t[r - 1];
699
- i < y + g && (i = y + g);
699
+ i < y + h && (i = y + h);
700
700
  }
701
701
  if (r < l - 1) {
702
702
  const y = t[r + 1];
703
- i > y - g && (i = y - g);
703
+ i > y - h && (i = y - h);
704
704
  }
705
705
  }
706
- t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, m, C, f) {
707
- for (let b = 0; b < y; b += 1) {
708
- const v = f - b * C;
709
- m[y - 1 - b] > v && (m[y - 1 - b] = v);
706
+ t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, h, r), function(y, g, C, b) {
707
+ for (let f = 0; f < y; f += 1) {
708
+ const v = b - f * C;
709
+ g[y - 1 - f] > v && (g[y - 1 - f] = v);
710
710
  }
711
- }(l, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, m, C, f) {
712
- for (let b = 0; b < y; b += 1) {
713
- const v = f + b * C;
714
- m[b] < v && (m[b] = v);
711
+ }(l, t, h, u)) : i < a && (this.pushPreceding(t, h, r), function(y, g, C, b) {
712
+ for (let f = 0; f < y; f += 1) {
713
+ const v = b + f * C;
714
+ g[f] < v && (g[f] = v);
715
715
  }
716
- }(l, t, g, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
716
+ }(l, t, h, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
717
717
  }, o.pushSucceeding = function(i, t, r) {
718
718
  let l, a;
719
719
  for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] = Ne(a, this.props);
@@ -786,12 +786,12 @@ const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
786
786
  fontColor: l = "#605B56",
787
787
  defaultValue: a
788
788
  }) => {
789
- const { t: c } = k(), [u, p] = M([n, d]), g = (y) => {
789
+ const { t: c } = k(), [u, p] = B([n, d]), h = (y) => {
790
790
  p(y), i == null || i({ min: y[0], max: y[1] });
791
791
  };
792
- return D(() => {
792
+ return L(() => {
793
793
  a && p([a]);
794
- }, [a]), /* @__PURE__ */ h(
794
+ }, [a]), /* @__PURE__ */ m(
795
795
  "div",
796
796
  {
797
797
  className: Y.container,
@@ -808,13 +808,13 @@ const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
808
808
  max: d,
809
809
  step: o,
810
810
  value: u,
811
- onAfterChange: g,
811
+ onAfterChange: h,
812
812
  withTracks: !0,
813
813
  pearling: !0,
814
814
  minDistance: 0.1
815
815
  }
816
816
  ),
817
- /* @__PURE__ */ h("div", { className: Y.labels, children: [
817
+ /* @__PURE__ */ m("div", { className: Y.labels, children: [
818
818
  /* @__PURE__ */ s("span", { children: u[0] }),
819
819
  /* @__PURE__ */ s("span", { children: u[1] })
820
820
  ] })
@@ -844,7 +844,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
844
844
  //onChangeBothType
845
845
  activeColor: d
846
846
  }) => {
847
- const [o, i] = M(), {
847
+ const [o, i] = B(), {
848
848
  type: t,
849
849
  name: r,
850
850
  values: l,
@@ -852,108 +852,108 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
852
852
  maxValue: c,
853
853
  unit: u,
854
854
  step: p
855
- } = n || {}, g = le(
855
+ } = n || {}, h = le(
856
856
  () => t == "cat" || o == "cat",
857
857
  [o, t]
858
858
  ), y = le(
859
859
  () => t == "abs" || o == "abs",
860
860
  [o, t]
861
861
  ), {
862
- tematicalFiltersSelected: m,
862
+ tematicalFiltersSelected: g,
863
863
  selectedIndicator: C,
864
- fontColor: f,
865
- inputsColor: b
866
- } = L((x) => x), v = (x) => {
864
+ fontColor: b,
865
+ inputsColor: f
866
+ } = F((x) => x), v = (x) => {
867
867
  if (x) {
868
- const { min: _, max: S, valueClicked: B, allValues: E } = x || {}, { code: Q, type: de } = n || {}, ue = y ? "abs" : g ? "cat" : "both";
869
- let R = Q[0];
870
- de == "both" && (R = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ? L.setState((z) => {
868
+ const { min: _, max: S, valueClicked: $, allValues: V } = x || {}, { code: Q, type: de } = n || {}, ue = y ? "abs" : h ? "cat" : "both";
869
+ let E = Q[0];
870
+ de == "both" && (E = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ? F.setState((z) => {
871
871
  let P = z.tematicalFiltersSelected.find(
872
- (T) => T.code === R
872
+ (D) => D.code === E
873
873
  );
874
874
  if (P) {
875
- let T = [P.values];
876
- return P.values.includes(B) ? T = P.values.filter(
877
- (A) => A !== B
878
- ) : T = [...P.values, B], T.length == E.length ? {
875
+ let D = [P.values];
876
+ return P.values.includes($) ? D = P.values.filter(
877
+ (O) => O !== $
878
+ ) : D = [...P.values, $], D.length == V.length ? {
879
879
  tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
880
- (A) => A.code !== R
880
+ (O) => O.code !== E
881
881
  )
882
882
  } : {
883
883
  tematicalFiltersSelected: z.tematicalFiltersSelected.map(
884
- (A) => A.code === R ? { ...A, values: T } : A
884
+ (O) => O.code === E ? { ...O, values: D } : O
885
885
  )
886
886
  };
887
887
  } else {
888
- let T = E.map((A, gt) => gt);
888
+ let D = V.map((O, gt) => gt);
889
889
  return {
890
890
  tematicalFiltersSelected: [
891
- ...m,
891
+ ...g,
892
892
  {
893
893
  type: "cat",
894
- code: R,
895
- values: T.filter((A) => A !== B),
894
+ code: E,
895
+ values: D.filter((O) => O !== $),
896
896
  name: n.name
897
897
  }
898
898
  ]
899
899
  };
900
900
  }
901
- }) : ue == "abs" && L.setState((z) => {
901
+ }) : ue == "abs" && F.setState((z) => {
902
902
  let P = z.tematicalFiltersSelected.find(
903
- (T) => T.code === R
903
+ (D) => D.code === E
904
904
  );
905
905
  if (_ == n.minValue && S == n.maxValue)
906
906
  return {
907
907
  tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
908
- (T) => T.code !== R
908
+ (D) => D.code !== E
909
909
  )
910
910
  };
911
911
  if (P) {
912
- let T = { ...P };
913
- return T.min = _, T.max = S, {
912
+ let D = { ...P };
913
+ return D.min = _, D.max = S, {
914
914
  tematicalFiltersSelected: z.tematicalFiltersSelected.map(
915
- (A) => A.code === R ? T : A
915
+ (O) => O.code === E ? D : O
916
916
  )
917
917
  };
918
918
  } else
919
919
  return {
920
920
  tematicalFiltersSelected: [
921
- ...m,
922
- { type: "abs", code: R, min: _, max: S }
921
+ ...g,
922
+ { type: "abs", code: E, min: _, max: S }
923
923
  ]
924
924
  };
925
925
  });
926
926
  }
927
927
  }, w = le(() => {
928
928
  const x = {};
929
- if ((m == null ? void 0 : m.length) > 0)
930
- for (const _ of m)
929
+ if ((g == null ? void 0 : g.length) > 0)
930
+ for (const _ of g)
931
931
  _.type === "cat" ? x[_.code] = new Set(_.values) : x[_.code] = [_.min, _.max];
932
932
  return x;
933
- }, [m]);
934
- return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
933
+ }, [g]);
934
+ return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
935
935
  G,
936
936
  {
937
937
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
938
938
  title: r,
939
939
  isOpen: C == `id${r}`,
940
- onClick: () => L.setState(() => ({
940
+ onClick: () => F.setState(() => ({
941
941
  selectedIndicator: C == `id${r}` ? "" : `id${r}`
942
942
  })),
943
943
  showBottomBar: !1,
944
944
  height: 38,
945
945
  titleMarginChildren: 14,
946
946
  className: "tematicalFiltersInputContainer",
947
- color: f,
947
+ color: b,
948
948
  activeColor: d,
949
949
  children: [
950
- t == "both" && /* @__PURE__ */ h(
950
+ t == "both" && /* @__PURE__ */ m(
951
951
  "div",
952
952
  {
953
953
  className: re.inputTypeContainer,
954
- style: { color: f },
954
+ style: { color: b },
955
955
  children: [
956
- /* @__PURE__ */ h("label", { children: [
956
+ /* @__PURE__ */ m("label", { children: [
957
957
  /* @__PURE__ */ s(
958
958
  "input",
959
959
  {
@@ -965,14 +965,14 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
965
965
  },
966
966
  style: {
967
967
  marginRight: 4,
968
- backgroundColor: o == "abs" ? b : "white",
969
- border: `1.5px solid ${o == "abs" ? b : f}`
968
+ backgroundColor: o == "abs" ? f : "white",
969
+ border: `1.5px solid ${o == "abs" ? f : b}`
970
970
  }
971
971
  }
972
972
  ),
973
973
  "Absoluto"
974
974
  ] }),
975
- /* @__PURE__ */ h("label", { children: [
975
+ /* @__PURE__ */ m("label", { children: [
976
976
  /* @__PURE__ */ s(
977
977
  "input",
978
978
  {
@@ -984,8 +984,8 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
984
984
  },
985
985
  style: {
986
986
  marginRight: 4,
987
- backgroundColor: o == "cat" ? b : "white",
988
- border: `1.5px solid ${o == "cat" ? b : f}`
987
+ backgroundColor: o == "cat" ? f : "white",
988
+ border: `1.5px solid ${o == "cat" ? f : b}`
989
989
  }
990
990
  }
991
991
  ),
@@ -994,7 +994,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
994
994
  ]
995
995
  }
996
996
  ),
997
- g && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((x, _) => {
997
+ h && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((x, _) => {
998
998
  var S;
999
999
  return /* @__PURE__ */ s(
1000
1000
  Qe,
@@ -1042,14 +1042,14 @@ const tt = ({
1042
1042
  activeColor: o
1043
1043
  //onChangeBothType,
1044
1044
  }) => {
1045
- const { activeSubcategory: i } = L((l) => l), { name: t, indicators: r } = n || {};
1045
+ const { activeSubcategory: i } = F((l) => l), { name: t, indicators: r } = n || {};
1046
1046
  return /* @__PURE__ */ s(
1047
1047
  G,
1048
1048
  {
1049
1049
  title: t,
1050
1050
  isOpen: i == `id${t}`,
1051
1051
  onClick: () => {
1052
- L.setState((l) => ({
1052
+ F.setState((l) => ({
1053
1053
  activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
1054
1054
  }));
1055
1055
  },
@@ -1089,12 +1089,12 @@ const nt = ({
1089
1089
  // onChangeBothType,
1090
1090
  activeColor: d
1091
1091
  }) => {
1092
- const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = L((a) => a);
1092
+ const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = F((a) => a);
1093
1093
  return n && /* @__PURE__ */ s(
1094
1094
  G,
1095
1095
  {
1096
1096
  onClick: () => {
1097
- L.setState((a) => ({
1097
+ F.setState((a) => ({
1098
1098
  activeCategory: r === `id${o}` ? "" : `id${o}`
1099
1099
  }));
1100
1100
  },
@@ -1142,11 +1142,11 @@ const it = ({
1142
1142
  inputsColor: t = "#605B56",
1143
1143
  activeColor: r
1144
1144
  }) => {
1145
- const { tematicalFiltersSelected: l } = L((c) => c), { t: a } = k();
1146
- return D(() => {
1147
- i && L.setState(() => ({ fontColor: i }));
1148
- }, [i]), D(() => {
1149
- t && L.setState(() => ({ inputsColor: t }));
1145
+ const { tematicalFiltersSelected: l } = F((c) => c), { t: a } = k();
1146
+ return L(() => {
1147
+ i && F.setState(() => ({ fontColor: i }));
1148
+ }, [i]), L(() => {
1149
+ t && F.setState(() => ({ inputsColor: t }));
1150
1150
  }, [t]), /* @__PURE__ */ s(
1151
1151
  G,
1152
1152
  {
@@ -1194,54 +1194,56 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
1194
1194
  saveAmbit: c,
1195
1195
  namePlaceholder: u,
1196
1196
  descPlaceholder: p,
1197
- filtersTypes: g = ["geographical", "tematical"],
1198
- nameRequiredText: y
1197
+ filtersTypes: h = ["geographical", "tematical"],
1198
+ nameRequiredText: y,
1199
+ onlyFilters: g = !1
1200
+ //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
1199
1201
  }) => {
1200
- const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] = M(n || null), [v, w] = M(d || null), [x, _] = M(!1);
1201
- D(() => {
1202
- o && o.length > 0 && L.setState((B) => ({
1202
+ const { t: C } = k(), { tematicalFiltersSelected: b } = F((V) => V), [f, v] = B(n || null), [w, x] = B(d || null), [_, S] = B(!1);
1203
+ L(() => {
1204
+ o && o.length > 0 && F.setState((V) => ({
1203
1205
  tematicalFiltersSelected: o
1204
1206
  }));
1205
- }, [o]), D(() => {
1206
- console.log("filtersSelected changed: ", C), a(C);
1207
- }, [C]);
1208
- const S = () => {
1209
- f ? c({ name: f, description: v }) : _(!0);
1207
+ }, [o]), L(() => {
1208
+ console.log("filtersSelected changed: ", b), a(b);
1209
+ }, [b]);
1210
+ const $ = () => {
1211
+ f ? c({ name: f, description: w }) : S(!0);
1210
1212
  };
1211
- return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
1212
- /* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
1213
+ return /* @__PURE__ */ m("div", { className: W.FiltersAmbitContainer, children: [
1214
+ !g && /* @__PURE__ */ m("div", { className: W.FiltersAmbitHeader, children: [
1213
1215
  /* @__PURE__ */ s("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1214
1216
  "input",
1215
1217
  {
1216
1218
  type: "text",
1217
- onChange: (B) => {
1218
- _(!1), b(B.target.value);
1219
+ onChange: (V) => {
1220
+ S(!1), v(V.target.value);
1219
1221
  },
1220
1222
  value: f,
1221
- placeholder: m(u)
1223
+ placeholder: C(u)
1222
1224
  }
1223
1225
  ) }),
1224
1226
  /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1225
1227
  "textarea",
1226
1228
  {
1227
- value: v,
1228
- onChange: (B) => w(B.target.value),
1229
- placeholder: m(p)
1229
+ value: w,
1230
+ onChange: (V) => x(V.target.value),
1231
+ placeholder: C(p)
1230
1232
  }
1231
1233
  ) }) })
1232
1234
  ] }),
1233
1235
  /* @__PURE__ */ s(
1234
1236
  Je,
1235
1237
  {
1236
- title: m("applied_filters"),
1238
+ title: C("applied_filters"),
1237
1239
  isOpen: !0,
1238
1240
  textColor: r || "#fff",
1239
1241
  backgroundColor: l || "#605B5680",
1240
1242
  activeColor: t
1241
1243
  }
1242
1244
  ),
1243
- g.includes("geographical") && /* @__PURE__ */ s(Xe, { activeColor: t }),
1244
- g.includes("tematical") && /* @__PURE__ */ s(
1245
+ h.includes("geographical") && /* @__PURE__ */ s(Xe, { activeColor: t }),
1246
+ h.includes("tematical") && /* @__PURE__ */ s(
1245
1247
  it,
1246
1248
  {
1247
1249
  indicators: i,
@@ -1251,8 +1253,8 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
1251
1253
  activeColor: t
1252
1254
  }
1253
1255
  ),
1254
- x && /* @__PURE__ */ s("div", { className: W.warning, children: m(y) }),
1255
- /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children: m("save_ambit") }) })
1256
+ _ && /* @__PURE__ */ s("div", { className: W.warning, children: C(y) }),
1257
+ !g && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => $(), children: C("save_ambit") }) })
1256
1258
  ] });
1257
1259
  };
1258
1260
  q2.propTypes = {
@@ -1284,11 +1286,11 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1284
1286
  numberOfDivisions: c = 7,
1285
1287
  maxValue: u = null
1286
1288
  }) => {
1287
- const { t: p } = k(), { xScale: g, ticks: y, height: m } = le(() => {
1289
+ const { t: p } = k(), { xScale: h, ticks: y, height: g } = le(() => {
1288
1290
  if (n && n.length > 0) {
1289
- const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, f = Ae.max(n, (w) => w.value) || 1, b = Ae.scaleLinear().domain([0, u || f]).range([0, d - a]), v = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : f / c * x);
1291
+ const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, b = Ae.max(n, (w) => w.value) || 1, f = Ae.scaleLinear().domain([0, u || b]).range([0, d - a]), v = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : b / c * x);
1290
1292
  return {
1291
- xScale: b,
1293
+ xScale: f,
1292
1294
  ticks: v,
1293
1295
  height: C,
1294
1296
  width: d,
@@ -1307,33 +1309,33 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1307
1309
  r,
1308
1310
  u
1309
1311
  ]);
1310
- return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: m, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
1311
- /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((C, f) => {
1312
- const b = g(C);
1313
- return /* @__PURE__ */ h("g", { transform: `translate(${b}, 0)`, children: [
1312
+ return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: g, children: /* @__PURE__ */ m("g", { transform: `translate(0,${i})`, children: [
1313
+ /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((C, b) => {
1314
+ const f = h(C);
1315
+ return /* @__PURE__ */ m("g", { transform: `translate(${f}, 0)`, children: [
1314
1316
  /* @__PURE__ */ s(
1315
1317
  "line",
1316
1318
  {
1317
1319
  y1: 0,
1318
- y2: m - i * 2,
1320
+ y2: g - i * 2,
1319
1321
  stroke: "#ccc"
1320
1322
  }
1321
1323
  ),
1322
1324
  /* @__PURE__ */ s(
1323
1325
  "text",
1324
1326
  {
1325
- y: m - i,
1327
+ y: g - i,
1326
1328
  textAnchor: "middle",
1327
1329
  fontSize: 10,
1328
1330
  fill: t,
1329
1331
  children: parseInt(C)
1330
1332
  }
1331
1333
  )
1332
- ] }, f);
1334
+ ] }, b);
1333
1335
  }) }),
1334
- n && n.length > 0 && (n == null ? void 0 : n.map((C, f) => {
1335
- const b = g(C.value), v = f * (o + i);
1336
- return /* @__PURE__ */ h(
1336
+ n && n.length > 0 && (n == null ? void 0 : n.map((C, b) => {
1337
+ const f = h(C.value), v = b * (o + i);
1338
+ return /* @__PURE__ */ m(
1337
1339
  "g",
1338
1340
  {
1339
1341
  transform: `translate(${a + l}, ${v})`,
@@ -1351,7 +1353,7 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1351
1353
  /* @__PURE__ */ s(
1352
1354
  "rect",
1353
1355
  {
1354
- width: b,
1356
+ width: f,
1355
1357
  height: o,
1356
1358
  fill: C.color,
1357
1359
  rx: 0
@@ -1359,7 +1361,7 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1359
1361
  )
1360
1362
  ]
1361
1363
  },
1362
- f
1364
+ b
1363
1365
  );
1364
1366
  }))
1365
1367
  ] }) }) });
@@ -1395,7 +1397,7 @@ const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Re = {
1395
1397
  leftPadding: c = 200
1396
1398
  }) => {
1397
1399
  const { t: u } = k();
1398
- return /* @__PURE__ */ h(
1400
+ return /* @__PURE__ */ m(
1399
1401
  "div",
1400
1402
  {
1401
1403
  className: Re.graphicContainer,
@@ -1441,7 +1443,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1441
1443
  indicatorsCategory: Y2,
1442
1444
  title: W2,
1443
1445
  list: J2
1444
- }, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72", F = {
1446
+ }, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72", M = {
1445
1447
  indicatorContainer: X2,
1446
1448
  indicatorNameContainer: Q2,
1447
1449
  dot: e0,
@@ -1463,25 +1465,25 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1463
1465
  multiple: a = !1,
1464
1466
  onChangeType: c
1465
1467
  }) => {
1466
- const { t: u } = k(), { name: p, type: g } = n, [y, m] = M(!1);
1467
- D(() => {
1468
- t && m(
1468
+ const { t: u } = k(), { name: p, type: h } = n, [y, g] = B(!1);
1469
+ L(() => {
1470
+ t && g(
1469
1471
  a ? t.some(
1470
- (b) => b.name == String(p)
1472
+ (f) => f.name == String(p)
1471
1473
  ) : t.name == p
1472
1474
  );
1473
1475
  }, [t]);
1474
- const C = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ h("div", { className: F.switchTypeOptions, children: [
1475
- /* @__PURE__ */ h(
1476
+ const C = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ m("div", { className: M.switchTypeOptions, children: [
1477
+ /* @__PURE__ */ m(
1476
1478
  "div",
1477
1479
  {
1478
- className: F.optionContainer,
1480
+ className: M.optionContainer,
1479
1481
  onClick: () => c("cat"),
1480
1482
  children: [
1481
1483
  /* @__PURE__ */ s(
1482
1484
  "span",
1483
1485
  {
1484
- className: `${F.customRadious}`,
1486
+ className: `${M.customRadious}`,
1485
1487
  style: {
1486
1488
  backgroundColor: r === "cat" ? o : "transparent",
1487
1489
  borderColor: r === "cat" ? o : i
@@ -1491,7 +1493,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1491
1493
  /* @__PURE__ */ s(
1492
1494
  "h4",
1493
1495
  {
1494
- className: F.optionText,
1496
+ className: M.optionText,
1495
1497
  style: {
1496
1498
  color: r === "cat" ? o : i
1497
1499
  },
@@ -1501,16 +1503,16 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1501
1503
  ]
1502
1504
  }
1503
1505
  ),
1504
- /* @__PURE__ */ h(
1506
+ /* @__PURE__ */ m(
1505
1507
  "div",
1506
1508
  {
1507
- className: F.optionContainer,
1509
+ className: M.optionContainer,
1508
1510
  onClick: () => c("abs"),
1509
1511
  children: [
1510
1512
  /* @__PURE__ */ s(
1511
1513
  "span",
1512
1514
  {
1513
- className: `${F.customRadious}`,
1515
+ className: `${M.customRadious}`,
1514
1516
  style: {
1515
1517
  backgroundColor: r === "abs" ? o : "transparent",
1516
1518
  borderColor: r === "abs" ? o : i
@@ -1520,7 +1522,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1520
1522
  /* @__PURE__ */ s(
1521
1523
  "h4",
1522
1524
  {
1523
- className: F.optionText,
1525
+ className: M.optionText,
1524
1526
  style: {
1525
1527
  color: r === "abs" ? o : i
1526
1528
  },
@@ -1530,27 +1532,27 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1530
1532
  ]
1531
1533
  }
1532
1534
  )
1533
- ] }) }) }), f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b, v) => /* @__PURE__ */ h(
1535
+ ] }) }) }), b = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((f, v) => /* @__PURE__ */ m(
1534
1536
  "div",
1535
1537
  {
1536
- className: F.optionContainer,
1538
+ className: M.optionContainer,
1537
1539
  children: [
1538
1540
  /* @__PURE__ */ s(
1539
1541
  "span",
1540
1542
  {
1541
- className: F.customRadious
1543
+ className: M.customRadious
1542
1544
  }
1543
1545
  ),
1544
- /* @__PURE__ */ s("h4", { children: u(b.unit) })
1546
+ /* @__PURE__ */ s("h4", { children: u(f.unit) })
1545
1547
  ]
1546
1548
  },
1547
1549
  v
1548
1550
  )) }) }) });
1549
- return /* @__PURE__ */ h("div", { className: F.indicatorContainer, children: [
1550
- /* @__PURE__ */ h(
1551
+ return /* @__PURE__ */ m("div", { className: M.indicatorContainer, children: [
1552
+ /* @__PURE__ */ m(
1551
1553
  "div",
1552
1554
  {
1553
- className: F.indicatorNameContainer,
1555
+ className: M.indicatorNameContainer,
1554
1556
  onClick: () => l({ indicator: n }),
1555
1557
  children: [
1556
1558
  /* @__PURE__ */ s(
@@ -1559,13 +1561,13 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1559
1561
  style: {
1560
1562
  border: y ? `1px solid ${o}` : `1px solid ${i}`
1561
1563
  },
1562
- className: F.dot
1564
+ className: M.dot
1563
1565
  }
1564
1566
  ),
1565
1567
  /* @__PURE__ */ s(
1566
1568
  "h4",
1567
1569
  {
1568
- className: F.indicatorName,
1570
+ className: M.indicatorName,
1569
1571
  style: { color: y ? o : i },
1570
1572
  children: /* @__PURE__ */ s(Le, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
1571
1573
  }
@@ -1573,8 +1575,8 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1573
1575
  ]
1574
1576
  }
1575
1577
  ),
1576
- (t == null ? void 0 : t.name) === p && g === "both" && /* @__PURE__ */ s("div", { children: C() }),
1577
- (t == null ? void 0 : t.name) === p && g === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
1578
+ (t == null ? void 0 : t.name) === p && h === "both" && /* @__PURE__ */ s("div", { children: C() }),
1579
+ (t == null ? void 0 : t.name) === p && h === "twoUnits" && /* @__PURE__ */ s("div", { children: b() })
1578
1580
  ] });
1579
1581
  };
1580
1582
  Ve.propTypes = {
@@ -1604,42 +1606,42 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Ee = {
1604
1606
  onClickIndicator: c,
1605
1607
  multiple: u,
1606
1608
  activeIndicatorType: p,
1607
- onChangeType: g
1609
+ onChangeType: h
1608
1610
  }) => {
1609
- const { t: y } = k(), [m, C] = M(!1);
1610
- return D(() => {
1611
+ const { t: y } = k(), [g, C] = B(!1);
1612
+ return L(() => {
1611
1613
  C(t == l);
1612
- }, [t, l]), /* @__PURE__ */ h(
1614
+ }, [t, l]), /* @__PURE__ */ m(
1613
1615
  De.div,
1614
1616
  {
1615
1617
  className: Ee.indicatorsSubCategory,
1616
1618
  initial: { height: "43px" },
1617
- animate: { height: m ? "auto" : "43px" },
1619
+ animate: { height: g ? "auto" : "43px" },
1618
1620
  transition: { duration: 0.4 },
1619
1621
  children: [
1620
- /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: m ? i : o }, children: [
1621
- /* @__PURE__ */ s("span", { style: { color: m ? i : o }, children: m ? "-" : "+" }),
1622
+ /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ m("h3", { style: { color: g ? i : o }, children: [
1623
+ /* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
1622
1624
  /* @__PURE__ */ s(
1623
1625
  "span",
1624
1626
  {
1625
- style: { marginLeft: 12, color: m ? i : o },
1627
+ style: { marginLeft: 12, color: g ? i : o },
1626
1628
  children: y(n)
1627
1629
  }
1628
1630
  )
1629
1631
  ] }) }),
1630
- d && /* @__PURE__ */ s("div", { className: Ee.list, children: d == null ? void 0 : d.map((f, b) => /* @__PURE__ */ s(
1632
+ d && /* @__PURE__ */ s("div", { className: Ee.list, children: d == null ? void 0 : d.map((b, f) => /* @__PURE__ */ s(
1631
1633
  Ve,
1632
1634
  {
1633
- indicator: f,
1635
+ indicator: b,
1634
1636
  defaultColor: o,
1635
1637
  activeColor: i,
1636
1638
  activeIndicator: a,
1637
1639
  onClickIndicator: c,
1638
1640
  multiple: u,
1639
1641
  activeIndicatorType: p,
1640
- onChangeType: g
1642
+ onChangeType: h
1641
1643
  },
1642
- "indicator" + b
1644
+ "indicator" + f
1643
1645
  )) })
1644
1646
  ]
1645
1647
  }
@@ -1669,14 +1671,14 @@ const rt = ({
1669
1671
  activeIndicator: c,
1670
1672
  onClickIndicator: u,
1671
1673
  multiple: p,
1672
- activeIndicatorType: g,
1674
+ activeIndicatorType: h,
1673
1675
  onChangeType: y
1674
1676
  }) => {
1675
- var b;
1676
- const { t: m } = k(), [C, f] = M(!1);
1677
- return D(() => {
1678
- f(r === d);
1679
- }, [r, d]), /* @__PURE__ */ h(
1677
+ var f;
1678
+ const { t: g } = k(), [C, b] = B(!1);
1679
+ return L(() => {
1680
+ b(r === d);
1681
+ }, [r, d]), /* @__PURE__ */ m(
1680
1682
  De.div,
1681
1683
  {
1682
1684
  className: Ce.indicatorsCategory,
@@ -1689,13 +1691,13 @@ const rt = ({
1689
1691
  marginBottom: C ? "20px" : "0px"
1690
1692
  },
1691
1693
  children: [
1692
- /* @__PURE__ */ h("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
1694
+ /* @__PURE__ */ m("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
1693
1695
  /* @__PURE__ */ s("span", { style: { color: C ? o : i }, children: C ? "-" : "+" }),
1694
1696
  /* @__PURE__ */ s(
1695
1697
  "span",
1696
1698
  {
1697
1699
  style: { marginLeft: 12, color: C ? o : i },
1698
- children: m(n.name)
1700
+ children: g(n.name)
1699
1701
  }
1700
1702
  )
1701
1703
  ] }),
@@ -1713,12 +1715,12 @@ const rt = ({
1713
1715
  activeColor: o,
1714
1716
  defaultColor: i,
1715
1717
  indicators: x,
1716
- activeIndicatorType: g,
1718
+ activeIndicatorType: h,
1717
1719
  onChangeType: y
1718
1720
  },
1719
1721
  `subcKey ${_}`
1720
1722
  )
1721
- ) : /* @__PURE__ */ s("div", { className: Ce.list, children: (b = n.indicators) == null ? void 0 : b.map((v, w) => /* @__PURE__ */ s(
1723
+ ) : /* @__PURE__ */ s("div", { className: Ce.list, children: (f = n.indicators) == null ? void 0 : f.map((v, w) => /* @__PURE__ */ s(
1722
1724
  Ve,
1723
1725
  {
1724
1726
  indicator: v,
@@ -1728,7 +1730,7 @@ const rt = ({
1728
1730
  activeIndicator: c,
1729
1731
  onClickIndicator: u,
1730
1732
  multiple: p,
1731
- activeIndicatorType: g,
1733
+ activeIndicatorType: h,
1732
1734
  onChangeType: y
1733
1735
  },
1734
1736
  `indicator${w}`
@@ -1768,64 +1770,64 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Pe = {
1768
1770
  changeIndType: l,
1769
1771
  activeIndicatorType: a
1770
1772
  }) => {
1771
- const { t: c } = k(), [u, p] = M(), [g, y] = M(), [m, C] = M(), f = (_) => {
1773
+ const { t: c } = k(), [u, p] = B(), [h, y] = B(), [g, C] = B(), b = (_) => {
1772
1774
  p(u == _ ? null : _);
1773
- }, b = (_) => {
1774
- y(g == _ ? null : _);
1775
+ }, f = (_) => {
1776
+ y(h == _ ? null : _);
1775
1777
  }, v = ({ indicator: _ }) => {
1776
1778
  console.log("onClickIndicator: ", _), w(_);
1777
1779
  }, w = (_) => {
1778
1780
  if (!t)
1779
1781
  C(
1780
- (m == null ? void 0 : m.name) == _.name ? null : _
1782
+ (g == null ? void 0 : g.name) == _.name ? null : _
1781
1783
  );
1782
1784
  else {
1783
- let S = m && m.length > 0 ? [...m] : [];
1785
+ let S = g && g.length > 0 ? [...g] : [];
1784
1786
  C(
1785
1787
  S != null && S.some(
1786
- (B) => B.name == _.name
1788
+ ($) => $.name == _.name
1787
1789
  ) ? S.filter(
1788
- (B) => B.name != String(_.name)
1790
+ ($) => $.name != String(_.name)
1789
1791
  ) : [...S, _]
1790
1792
  ), _.type == "both" && l("cat");
1791
1793
  }
1792
1794
  };
1793
- D(() => {
1794
- console.log("activeindicator changed to: ", m), i && typeof i == "function" && m && i({ activeIndicator: m });
1795
- }, [m]), Ct(() => {
1796
- if (r && !m)
1795
+ L(() => {
1796
+ console.log("activeindicator changed to: ", g), i && typeof i == "function" && g && i({ activeIndicator: g });
1797
+ }, [g]), Ct(() => {
1798
+ if (r && !g)
1797
1799
  if (t && r && Array.isArray(r)) {
1798
- let _ = m && m.length > 0 ? [...m] : [];
1800
+ let _ = g && g.length > 0 ? [...g] : [];
1799
1801
  C([..._, ...r]), x(r[0].name);
1800
1802
  } else
1801
1803
  w(r), x(r.name);
1802
1804
  }, []);
1803
1805
  const x = (_) => {
1804
- const S = n.find((B) => {
1805
- if (B.subcategories) {
1806
- let E = B.subcategories.find(
1806
+ const S = n.find(($) => {
1807
+ if ($.subcategories) {
1808
+ let V = $.subcategories.find(
1807
1809
  (Q) => Q.indicators.find((de) => de.name == _)
1808
1810
  );
1809
- if (E)
1810
- return y(E.subcategory), E;
1811
+ if (V)
1812
+ return y(V.subcategory), V;
1811
1813
  } else
1812
- return B.indicators.some((E) => E.name == _);
1814
+ return $.indicators.some((V) => V.name == _);
1813
1815
  });
1814
1816
  S && p(S.category);
1815
1817
  };
1816
- return /* @__PURE__ */ h("div", { className: Pe.indicatorsList, children: [
1818
+ return /* @__PURE__ */ m("div", { className: Pe.indicatorsList, children: [
1817
1819
  /* @__PURE__ */ s("h2", { className: Pe.title, style: { color: o }, children: c("indicators.indicators") }),
1818
1820
  n.map((_, S) => /* @__PURE__ */ s(
1819
1821
  rt,
1820
1822
  {
1821
1823
  id: _.category,
1822
1824
  cat: _,
1823
- onClickCategory: f,
1825
+ onClickCategory: b,
1824
1826
  activeCategory: u,
1825
- onClickSubCategory: b,
1826
- activeSubCategory: g,
1827
+ onClickSubCategory: f,
1828
+ activeSubCategory: h,
1827
1829
  onClickIndicator: v,
1828
- activeIndicator: m,
1830
+ activeIndicator: g,
1829
1831
  activeColor: d,
1830
1832
  defaultColor: o,
1831
1833
  multiple: t,
@@ -1855,11 +1857,11 @@ const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o
1855
1857
  prevImg: C0,
1856
1858
  langMenu: f0
1857
1859
  }, b0 = ({ langs: n, arrow: d, imgPrev: o }) => {
1858
- const [i, t] = M(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
1860
+ const [i, t] = B(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
1859
1861
  r.changeLanguage(c), t(!1);
1860
1862
  };
1861
- return /* @__PURE__ */ h("div", { className: J.langSelector, children: [
1862
- /* @__PURE__ */ h(
1863
+ return /* @__PURE__ */ m("div", { className: J.langSelector, children: [
1864
+ /* @__PURE__ */ m(
1863
1865
  "div",
1864
1866
  {
1865
1867
  className: J.currentLang,
@@ -1898,7 +1900,7 @@ b0.propTypes = {
1898
1900
  arrow: e.object,
1899
1901
  imgPrev: e.object
1900
1902
  };
1901
- const y0 = "_legendContainer_atg3j_3", v0 = "_closeButton_atg3j_18", _0 = "_titleContainer_atg3j_46", w0 = "_infoContainer_atg3j_52", x0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82", M0 = "_absoluteValueContainer_atg3j_88", F0 = "_absoluteValueColor_atg3j_91", L0 = "_absoluteValueText_atg3j_96", D0 = "_moreInfoContainer_atg3j_108", V = {
1903
+ const y0 = "_legendContainer_atg3j_3", v0 = "_closeButton_atg3j_18", _0 = "_titleContainer_atg3j_46", w0 = "_infoContainer_atg3j_52", x0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82", M0 = "_absoluteValueContainer_atg3j_88", F0 = "_absoluteValueColor_atg3j_91", L0 = "_absoluteValueText_atg3j_96", D0 = "_moreInfoContainer_atg3j_108", T = {
1902
1904
  legendContainer: y0,
1903
1905
  closeButton: v0,
1904
1906
  titleContainer: _0,
@@ -1936,60 +1938,60 @@ const y0 = "_legendContainer_atg3j_3", v0 = "_closeButton_atg3j_18", _0 = "_titl
1936
1938
  onClickClose: c
1937
1939
  }) => {
1938
1940
  const { t: u } = k();
1939
- return /* @__PURE__ */ h(
1941
+ return /* @__PURE__ */ m(
1940
1942
  "div",
1941
1943
  {
1942
1944
  style: n ? { ...n } : {},
1943
- className: `${V.legendContainer}`,
1945
+ className: `${T.legendContainer}`,
1944
1946
  children: [
1945
- /* @__PURE__ */ s("button", { className: V.closeButton, onClick: c }),
1946
- d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
1947
- o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: g }) => /* @__PURE__ */ h("li", { children: [
1948
- /* @__PURE__ */ s("h3", { className: V.title, children: `${p}:` }),
1949
- /* @__PURE__ */ h("span", { className: V.value, children: [
1947
+ /* @__PURE__ */ s("button", { className: T.closeButton, onClick: c }),
1948
+ d && /* @__PURE__ */ s("div", { className: T.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
1949
+ o && o.length > 0 && /* @__PURE__ */ s("div", { className: T.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: h }) => /* @__PURE__ */ m("li", { children: [
1950
+ /* @__PURE__ */ s("h3", { className: T.title, children: `${p}:` }),
1951
+ /* @__PURE__ */ m("span", { className: T.value, children: [
1950
1952
  "  ",
1951
- g
1953
+ h
1952
1954
  ] })
1953
1955
  ] }, d)) }) }),
1954
- /* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Le, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
1955
- /* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
1956
+ /* @__PURE__ */ s("h3", { className: T.titleLegendList, children: t ? /* @__PURE__ */ s(Le, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
1957
+ /* @__PURE__ */ s("div", { className: T.legendListContainer, children: r ? /* @__PURE__ */ m("div", { className: T.absoluteValueContainer, children: [
1956
1958
  /* @__PURE__ */ s(
1957
1959
  "div",
1958
1960
  {
1959
- className: V.absoluteValueColor,
1961
+ className: T.absoluteValueColor,
1960
1962
  style: {
1961
1963
  background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`
1962
1964
  }
1963
1965
  }
1964
1966
  ),
1965
- /* @__PURE__ */ h("div", { className: V.absoluteValueText, children: [
1966
- /* @__PURE__ */ h("span", { children: [
1967
+ /* @__PURE__ */ m("div", { className: T.absoluteValueText, children: [
1968
+ /* @__PURE__ */ m("span", { children: [
1967
1969
  r.maxValue,
1968
1970
  " ",
1969
1971
  u(r.unit)
1970
1972
  ] }),
1971
- /* @__PURE__ */ h("span", { children: [
1973
+ /* @__PURE__ */ m("span", { children: [
1972
1974
  r.minValue,
1973
1975
  " ",
1974
1976
  u(r.unit)
1975
1977
  ] })
1976
1978
  ] })
1977
- ] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
1978
- ({ title: p, color: g }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
1979
+ ] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: T.gridContainer, children: i.map(
1980
+ ({ title: p, color: h }) => /* @__PURE__ */ m("div", { className: T.elementLegendContainer, children: [
1979
1981
  /* @__PURE__ */ s(
1980
1982
  "div",
1981
1983
  {
1982
- className: V.colorDot,
1983
- style: { backgroundColor: g }
1984
+ className: T.colorDot,
1985
+ style: { backgroundColor: h }
1984
1986
  }
1985
1987
  ),
1986
- /* @__PURE__ */ h("div", { className: V.titleLegendElement, children: [
1988
+ /* @__PURE__ */ m("div", { className: T.titleLegendElement, children: [
1987
1989
  u(p),
1988
1990
  " "
1989
1991
  ] })
1990
1992
  ] }, d)
1991
1993
  ) }) }),
1992
- l && /* @__PURE__ */ s("button", { className: V.moreInfoContainer, onClick: l, children: a || u("moreInformation") })
1994
+ l && /* @__PURE__ */ s("button", { className: T.moreInfoContainer, onClick: l, children: a || u("moreInformation") })
1993
1995
  ]
1994
1996
  }
1995
1997
  );
@@ -2049,19 +2051,19 @@ const I0 = ({
2049
2051
  sources: u = [],
2050
2052
  layers: p = []
2051
2053
  }) => {
2052
- const g = Fe(), [y, m] = M(null), C = yt((f) => f.mapState.showTexts);
2053
- return D(() => {
2054
- if (g.current) {
2055
- const f = g.current.getMap();
2056
- f.getStyle().layers.map((v) => {
2057
- v.type == "symbol" && v.id != "professionals" && (C ? f.setLayoutProperty(v.id, "visibility", "visible") : f.setLayoutProperty(v.id, "visibility", "none"));
2054
+ const h = Fe(), [y, g] = B(null), C = yt((b) => b.mapState.showTexts);
2055
+ return L(() => {
2056
+ if (h.current) {
2057
+ const b = h.current.getMap();
2058
+ b.getStyle().layers.map((v) => {
2059
+ v.type == "symbol" && v.id != "professionals" && (C ? b.setLayoutProperty(v.id, "visibility", "visible") : b.setLayoutProperty(v.id, "visibility", "none"));
2058
2060
  });
2059
2061
  }
2060
- }, [C]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
2062
+ }, [C]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ m(
2061
2063
  _t,
2062
2064
  {
2063
2065
  initialViewState: n,
2064
- ref: g,
2066
+ ref: h,
2065
2067
  hash: !1,
2066
2068
  maxZoom: d,
2067
2069
  minZoom: o,
@@ -2069,12 +2071,12 @@ const I0 = ({
2069
2071
  onClick: l,
2070
2072
  interactiveLayerIds: a,
2071
2073
  children: [
2072
- u.length && u.map((f, b) => /* @__PURE__ */ s(
2074
+ u.length && u.map((b, f) => /* @__PURE__ */ s(
2073
2075
  wt,
2074
2076
  {
2075
- ...f,
2077
+ ...b,
2076
2078
  children: p.length && p.map((v, w) => {
2077
- if (v.sourceId == f.id) return /* @__PURE__ */ s(
2079
+ if (v.sourceId == b.id) return /* @__PURE__ */ s(
2078
2080
  xt,
2079
2081
  {
2080
2082
  ...v.layer,
@@ -2084,7 +2086,7 @@ const I0 = ({
2084
2086
  );
2085
2087
  })
2086
2088
  },
2087
- b
2089
+ f
2088
2090
  )),
2089
2091
  /* @__PURE__ */ s(kt, { position: "bottom-right", visualizePitch: !0 }),
2090
2092
  c && y && /* @__PURE__ */ s(
@@ -2093,7 +2095,7 @@ const I0 = ({
2093
2095
  longitude: c.longitude,
2094
2096
  latitude: c.latitude,
2095
2097
  anchor: c.anchor,
2096
- onClose: () => m(null),
2098
+ onClose: () => g(null),
2097
2099
  children: c.content
2098
2100
  }
2099
2101
  )
@@ -2153,12 +2155,12 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
2153
2155
  title: j0
2154
2156
  }, z0 = ({ props: n }) => {
2155
2157
  const { t: d } = k();
2156
- return /* @__PURE__ */ s("div", { className: ze.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
2157
- /* @__PURE__ */ h("span", { className: ze.title, children: [
2158
+ return /* @__PURE__ */ s("div", { className: ze.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ m("p", { children: [
2159
+ /* @__PURE__ */ m("span", { className: ze.title, children: [
2158
2160
  /* @__PURE__ */ s(Le, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
2159
2161
  ":"
2160
2162
  ] }),
2161
- isNaN(o.value) ? /* @__PURE__ */ s(xe, { children: d(o.value) }) : /* @__PURE__ */ h(xe, { children: [
2163
+ isNaN(o.value) ? /* @__PURE__ */ s(xe, { children: d(o.value) }) : /* @__PURE__ */ m(xe, { children: [
2162
2164
  o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2163
2165
  " ",
2164
2166
  d(o.unit)
@@ -2176,25 +2178,25 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
2176
2178
  sources: c = [],
2177
2179
  layers: u = [],
2178
2180
  filters: p,
2179
- popUpParams: g,
2181
+ popUpParams: h,
2180
2182
  onClosePopUp: y,
2181
- showTexts: m
2183
+ showTexts: g
2182
2184
  }) => {
2183
2185
  console.log(p);
2184
2186
  const C = Fe();
2185
- return D(() => {
2187
+ return L(() => {
2186
2188
  if (C.current) {
2187
- const f = C.current.getMap();
2188
- f.getStyle().layers.map((v) => {
2189
- v.type == "symbol" && v.id != "professionals" && (m ? f.setLayoutProperty(v.id, "visibility", "visible") : f.setLayoutProperty(v.id, "visibility", "none"));
2189
+ const b = C.current.getMap();
2190
+ b.getStyle().layers.map((v) => {
2191
+ v.type == "symbol" && v.id != "professionals" && (g ? b.setLayoutProperty(v.id, "visibility", "visible") : b.setLayoutProperty(v.id, "visibility", "none"));
2190
2192
  });
2191
2193
  }
2192
- }, [m]), D(() => {
2193
- let f = new St();
2194
- return pe.addProtocol("pmtiles", f.tile), () => {
2194
+ }, [g]), L(() => {
2195
+ let b = new St();
2196
+ return pe.addProtocol("pmtiles", b.tile), () => {
2195
2197
  pe.removeProtocol("pmtiles");
2196
2198
  };
2197
- }, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
2199
+ }, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ m(
2198
2200
  Bt,
2199
2201
  {
2200
2202
  mapLib: pe,
@@ -2207,12 +2209,12 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
2207
2209
  onClick: l,
2208
2210
  interactiveLayerIds: a,
2209
2211
  children: [
2210
- c.length && c.map((f, b) => /* @__PURE__ */ s(
2212
+ c.length && c.map((b, f) => /* @__PURE__ */ s(
2211
2213
  Mt,
2212
2214
  {
2213
- ...f,
2215
+ ...b,
2214
2216
  children: u.length && u.map((v, w) => {
2215
- if (v.sourceId == f.id) return /* @__PURE__ */ s(
2217
+ if (v.sourceId == b.id) return /* @__PURE__ */ s(
2216
2218
  Ft,
2217
2219
  {
2218
2220
  ...v.layer,
@@ -2223,16 +2225,16 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
2223
2225
  );
2224
2226
  })
2225
2227
  },
2226
- b
2228
+ f
2227
2229
  )),
2228
2230
  /* @__PURE__ */ s(Lt, { position: "bottom-right", visualizePitch: !0 }),
2229
- g && /* @__PURE__ */ s(
2231
+ h && /* @__PURE__ */ s(
2230
2232
  Dt,
2231
2233
  {
2232
- longitude: g.lng,
2233
- latitude: g.lat,
2234
+ longitude: h.lng,
2235
+ latitude: h.lat,
2234
2236
  onClose: y,
2235
- children: /* @__PURE__ */ s(z0, { props: g.props })
2237
+ children: /* @__PURE__ */ s(z0, { props: h.props })
2236
2238
  }
2237
2239
  )
2238
2240
  ]
@@ -2298,10 +2300,10 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2298
2300
  width: r
2299
2301
  }) => {
2300
2302
  const { t: l } = k();
2301
- return /* @__PURE__ */ h("div", { className: H.sectionBar, style: { width: r && r }, children: [
2302
- /* @__PURE__ */ h("div", { className: H.leftContent, children: [
2303
+ return /* @__PURE__ */ m("div", { className: H.sectionBar, style: { width: r && r }, children: [
2304
+ /* @__PURE__ */ m("div", { className: H.leftContent, children: [
2303
2305
  n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
2304
- /* @__PURE__ */ h("div", { className: H.textContainer, children: [
2306
+ /* @__PURE__ */ m("div", { className: H.textContainer, children: [
2305
2307
  /* @__PURE__ */ s("div", { className: H.title, children: l(d) }),
2306
2308
  o && /* @__PURE__ */ s("div", { className: H.subtitle, children: o })
2307
2309
  ] })
@@ -2340,18 +2342,18 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2340
2342
  sliderOpen: t1,
2341
2343
  sliderResults: n1
2342
2344
  }, i1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2343
- const [l, a] = M(d), c = vt(), u = (v, w) => {
2345
+ const [l, a] = B(d), c = vt(), u = (v, w) => {
2344
2346
  a(w), c(fe(w - 2e3));
2345
- }, [p, g] = M(!1), y = () => {
2346
- g(!0);
2347
- }, m = () => {
2348
- g(!1);
2347
+ }, [p, h] = B(!1), y = () => {
2348
+ h(!0);
2349
+ }, g = () => {
2350
+ h(!1);
2349
2351
  };
2350
2352
  ((v, w) => {
2351
2353
  const x = Fe();
2352
- D(() => {
2354
+ L(() => {
2353
2355
  x.current = v;
2354
- }, [v]), D(() => {
2356
+ }, [v]), L(() => {
2355
2357
  function _() {
2356
2358
  x.current();
2357
2359
  }
@@ -2363,7 +2365,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2363
2365
  })(() => {
2364
2366
  p && (l != 2050 ? (a(l + 1), c(fe(l - 2e3 + 1))) : (a(2025), c(fe(25))));
2365
2367
  }, 1e3);
2366
- const f = $t({
2368
+ const b = $t({
2367
2369
  palette: {
2368
2370
  primary: {
2369
2371
  main: "#605b56"
@@ -2385,13 +2387,13 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2385
2387
  }
2386
2388
  }
2387
2389
  }
2388
- }), b = [
2390
+ }), f = [
2389
2391
  { label: "", value: 2025 },
2390
2392
  { label: "", value: 2032 },
2391
2393
  { label: "", value: 2041 },
2392
2394
  { label: "", value: 2050 }
2393
2395
  ];
2394
- return /* @__PURE__ */ s(Ot, { theme: f, children: /* @__PURE__ */ h(
2396
+ return /* @__PURE__ */ s(Ot, { theme: b, children: /* @__PURE__ */ m(
2395
2397
  At,
2396
2398
  {
2397
2399
  sx: { width: 400 },
@@ -2406,7 +2408,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2406
2408
  value: l,
2407
2409
  valueLabelDisplay: "on",
2408
2410
  step: 1,
2409
- marks: b,
2411
+ marks: f,
2410
2412
  min: o,
2411
2413
  max: i,
2412
2414
  onChange: u,
@@ -2416,7 +2418,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2416
2418
  ),
2417
2419
  i,
2418
2420
  !p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: J0, alt: "Play" }) }),
2419
- p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: m, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
2421
+ p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: g, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
2420
2422
  ]
2421
2423
  }
2422
2424
  ) });
@@ -2499,7 +2501,7 @@ d1.propTypes = {
2499
2501
  userName: e.string,
2500
2502
  isLoggedIn: e.bool
2501
2503
  };
2502
- const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80", I = {
2504
+ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80", R = {
2503
2505
  elementSelector: u1,
2504
2506
  header: p1,
2505
2507
  nameDateContainer: m1,
@@ -2508,7 +2510,7 @@ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateC
2508
2510
  buttonsContainer: C1,
2509
2511
  elementListContainer: f1,
2510
2512
  newElementButtonContainer: b1
2511
- }, y1 = "_listElement_1s506_2", v1 = "_elementNameDate_1s506_17", _1 = "_elementNameContainer_1s506_27", w1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", k1 = "_elementButtons_1s506_45", N1 = "_moreInfoContainer_1s506_68", S1 = "_moreInfo_1s506_68", O = {
2513
+ }, y1 = "_listElement_1s506_2", v1 = "_elementNameDate_1s506_17", _1 = "_elementNameContainer_1s506_27", w1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", k1 = "_elementButtons_1s506_45", N1 = "_moreInfoContainer_1s506_68", S1 = "_moreInfo_1s506_68", I = {
2512
2514
  listElement: y1,
2513
2515
  elementNameDate: v1,
2514
2516
  elementNameContainer: _1,
@@ -2555,15 +2557,15 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2555
2557
  processTooltip: c,
2556
2558
  defaultTooltip: u
2557
2559
  }) => {
2558
- const { nom: p, created_at: g, id: y, isBeingProcessed: m } = n, [C, f] = M(!1), { t: b } = k();
2559
- return /* @__PURE__ */ h(
2560
+ const { nom: p, created_at: h, id: y, isBeingProcessed: g } = n, [C, b] = B(!1), { t: f } = k();
2561
+ return /* @__PURE__ */ m(
2560
2562
  "div",
2561
2563
  {
2562
- className: O.listElement,
2564
+ className: I.listElement,
2563
2565
  style: { borderBottom: `1px solid ${t}` },
2564
2566
  children: [
2565
- /* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(y), children: [
2566
- l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
2567
+ /* @__PURE__ */ m("div", { className: I.elementNameDate, onClick: () => d(y), children: [
2568
+ l.nom && /* @__PURE__ */ s("div", { className: I.elementNameContainer, children: /* @__PURE__ */ m("div", { className: I.elementName, children: [
2567
2569
  o ? /* @__PURE__ */ s(T1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
2568
2570
  "img",
2569
2571
  {
@@ -2573,39 +2575,39 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2573
2575
  ),
2574
2576
  /* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: p })
2575
2577
  ] }) }),
2576
- l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
2577
- l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
2578
- l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
2578
+ l.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: h ? new Date(h).toLocaleDateString() : "" }),
2579
+ l.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: n.ambit }),
2580
+ l.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: n.escenari })
2579
2581
  ] }),
2580
- /* @__PURE__ */ h("div", { className: O.elementButtons, children: [
2581
- n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2582
+ /* @__PURE__ */ m("div", { className: I.elementButtons, children: [
2583
+ n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2582
2584
  /* @__PURE__ */ s("img", { src: L1 }),
2583
2585
  /* @__PURE__ */ s(U, { text: c, position: "left" })
2584
2586
  ] }),
2585
- a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2587
+ a.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2586
2588
  /* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
2587
2589
  /* @__PURE__ */ s(U, { text: a.filter.tooltiptext, position: "left" })
2588
2590
  ] }),
2589
- a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2591
+ a.copy && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2590
2592
  /* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: M1 }) }),
2591
2593
  /* @__PURE__ */ s(U, { text: a.copy.tooltiptext, position: "left" })
2592
2594
  ] }),
2593
- a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2595
+ a.trash && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2594
2596
  /* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: B1 }) }),
2595
2597
  /* @__PURE__ */ s(U, { text: a.trash.tooltiptext, position: "left" })
2596
2598
  ] }),
2597
- n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2599
+ n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2598
2600
  /* @__PURE__ */ s("img", { src: D1 }),
2599
2601
  /* @__PURE__ */ s(U, { text: u, position: "left" })
2600
2602
  ] })
2601
2603
  ] }),
2602
- r && /* @__PURE__ */ s("div", { className: O.break }),
2603
- r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
2604
- /* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => f(!C), children: [
2604
+ r && /* @__PURE__ */ s("div", { className: I.break }),
2605
+ r && /* @__PURE__ */ m("div", { className: I.moreInfoContainer, children: [
2606
+ /* @__PURE__ */ m("div", { className: I.moreInfo, onClick: () => b(!C), children: [
2605
2607
  /* @__PURE__ */ s("span", { children: C ? "-" : "+" }),
2606
- b(r.label)
2608
+ f(r.label)
2607
2609
  ] }),
2608
- r && C && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2610
+ r && C && /* @__PURE__ */ s("div", { className: I.moreInfoInfo, children: n[r.info] })
2609
2611
  ] })
2610
2612
  ]
2611
2613
  }
@@ -2655,57 +2657,57 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2655
2657
  containerStyles: r = {},
2656
2658
  newElementButton: l,
2657
2659
  //{label: 'text', onClick: function()}/null
2658
- onClickElement: a = (m) => console.log(`OnCLickElement: ${m}`),
2660
+ onClickElement: a = (g) => console.log(`OnCLickElement: ${g}`),
2659
2661
  columns: c,
2660
2662
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2661
2663
  elementButtons: u,
2662
2664
  //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
2663
2665
  moreInfo: p = !1,
2664
2666
  //{label: 'x'}
2665
- processTooltip: g,
2667
+ processTooltip: h,
2666
2668
  //texto para el tooltip del simbolo "En proceso"
2667
2669
  defaultTooltip: y
2668
2670
  //texto para el tooltip del símbolo de candado para los elementos default
2669
2671
  }) => {
2670
- const { t: m } = k(), [C, f] = M(n);
2671
- D(() => {
2672
- n && f(n);
2672
+ const { t: g } = k(), [C, b] = B(n);
2673
+ L(() => {
2674
+ n && b(n);
2673
2675
  }, [n]);
2674
- const b = (v) => {
2676
+ const f = (v) => {
2675
2677
  if (C && C.length > 0) {
2676
2678
  let w = [...C];
2677
- w.sort((x, _) => x[v].localeCompare(_[v])), f(w);
2679
+ w.sort((x, _) => x[v].localeCompare(_[v])), b(w);
2678
2680
  }
2679
2681
  };
2680
- return /* @__PURE__ */ h(
2682
+ return /* @__PURE__ */ m(
2681
2683
  "div",
2682
2684
  {
2683
- className: I.elementSelector,
2685
+ className: R.elementSelector,
2684
2686
  style: { color: o, ...r },
2685
2687
  children: [
2686
- /* @__PURE__ */ h(
2688
+ /* @__PURE__ */ m(
2687
2689
  "div",
2688
2690
  {
2689
- className: I.header,
2691
+ className: R.header,
2690
2692
  style: { borderBottom: `1px solid ${o}` },
2691
2693
  children: [
2692
- /* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
2693
- c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ h("button", { onClick: () => b("name"), children: [
2694
- /* @__PURE__ */ s("span", { children: m(c.nom) }),
2694
+ /* @__PURE__ */ m("div", { className: R.nameDateContainer, children: [
2695
+ c.nom && /* @__PURE__ */ s("div", { className: R.elementName, children: /* @__PURE__ */ m("button", { onClick: () => f("name"), children: [
2696
+ /* @__PURE__ */ s("span", { children: g(c.nom) }),
2695
2697
  /* @__PURE__ */ s("img", { src: Ze })
2696
2698
  ] }) }),
2697
- c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => b("date"), children: [
2698
- /* @__PURE__ */ s("span", { children: m(c.data) }),
2699
+ c.data && /* @__PURE__ */ s("div", { className: R.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => f("date"), children: [
2700
+ /* @__PURE__ */ s("span", { children: g(c.data) }),
2699
2701
  /* @__PURE__ */ s("img", { src: Ze })
2700
2702
  ] }) }),
2701
- c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.ambit) }) }),
2702
- c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.escenari) }) })
2703
+ c.ambit && /* @__PURE__ */ s("div", { className: R.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.ambit) }) }),
2704
+ c.escenari && /* @__PURE__ */ s("div", { className: R.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.escenari) }) })
2703
2705
  ] }),
2704
- /* @__PURE__ */ s("div", { className: I.buttonsContainer })
2706
+ /* @__PURE__ */ s("div", { className: R.buttonsContainer })
2705
2707
  ]
2706
2708
  }
2707
2709
  ),
2708
- /* @__PURE__ */ s("div", { className: I.elementListContainer, children: C && C.length > 0 && C.map((v) => /* @__PURE__ */ s(
2710
+ /* @__PURE__ */ s("div", { className: R.elementListContainer, children: C && C.length > 0 && C.map((v) => /* @__PURE__ */ s(
2709
2711
  at,
2710
2712
  {
2711
2713
  isActive: d == v.id,
@@ -2716,18 +2718,18 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2716
2718
  columns: c,
2717
2719
  elementButtons: u,
2718
2720
  moreInfo: p,
2719
- processTooltip: g,
2721
+ processTooltip: h,
2720
2722
  defaultTooltip: y
2721
2723
  },
2722
2724
  `elementKey${v.id}`
2723
2725
  )) }),
2724
- l && /* @__PURE__ */ s("div", { className: I.newElementButtonContainer, children: /* @__PURE__ */ s(
2726
+ l && /* @__PURE__ */ s("div", { className: R.newElementButtonContainer, children: /* @__PURE__ */ s(
2725
2727
  ce,
2726
2728
  {
2727
2729
  style: { ...t },
2728
2730
  onClick: l.onClick,
2729
2731
  borderColor: "grey",
2730
- children: m(l.label)
2732
+ children: g(l.label)
2731
2733
  }
2732
2734
  ) })
2733
2735
  ]
@@ -2811,7 +2813,7 @@ function ct(n) {
2811
2813
  return n;
2812
2814
  return d;
2813
2815
  }
2814
- var dt = (n) => /^\w*$/.test(n), Me = (n) => n === void 0, G1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], ut = (n) => G1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, o) => {
2816
+ var dt = (n) => /^\w*$/.test(n), Me = (n) => n === void 0, G1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], ut = (n) => G1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), A = (n, d, o) => {
2815
2817
  if (!d || !ie(n))
2816
2818
  return o;
2817
2819
  const i = (dt(d) ? [d] : ut(d)).reduce((t, r) => lt(t) ? t : t[r], n);
@@ -2878,7 +2880,7 @@ function W1(n) {
2878
2880
  c.current.isValid && o._setValid(!0);
2879
2881
  }, [o]), N.useMemo(() => Y1(l, o, c.current, !1), [l, o]);
2880
2882
  }
2881
- var J1 = (n) => typeof n == "string", X1 = (n, d, o, i, t) => J1(n) ? $(o, n, t) : Array.isArray(n) ? n.map((r) => $(o, r)) : o;
2883
+ var J1 = (n) => typeof n == "string", X1 = (n, d, o, i, t) => J1(n) ? A(o, n, t) : Array.isArray(n) ? n.map((r) => A(o, r)) : o;
2882
2884
  function Q1(n) {
2883
2885
  const d = $e(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: l } = n || {}, a = N.useRef(t), [c, u] = N.useState(o._getWatch(i, a.current));
2884
2886
  return mt(() => o._subscribe({
@@ -2894,7 +2896,7 @@ function en(n) {
2894
2896
  const d = $e(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = H1(t._names.array, o), a = Q1({
2895
2897
  control: t,
2896
2898
  name: o,
2897
- defaultValue: $(t._formValues, o, $(t._defaultValues, o, n.defaultValue)),
2899
+ defaultValue: A(t._formValues, o, A(t._defaultValues, o, n.defaultValue)),
2898
2900
  exact: !0
2899
2901
  }), c = W1({
2900
2902
  control: t,
@@ -2904,71 +2906,71 @@ function en(n) {
2904
2906
  ...n.rules,
2905
2907
  value: a,
2906
2908
  ...ye(n.disabled) ? { disabled: n.disabled } : {}
2907
- })), g = N.useMemo(() => Object.defineProperties({}, {
2909
+ })), h = N.useMemo(() => Object.defineProperties({}, {
2908
2910
  invalid: {
2909
2911
  enumerable: !0,
2910
- get: () => !!$(c.errors, o)
2912
+ get: () => !!A(c.errors, o)
2911
2913
  },
2912
2914
  isDirty: {
2913
2915
  enumerable: !0,
2914
- get: () => !!$(c.dirtyFields, o)
2916
+ get: () => !!A(c.dirtyFields, o)
2915
2917
  },
2916
2918
  isTouched: {
2917
2919
  enumerable: !0,
2918
- get: () => !!$(c.touchedFields, o)
2920
+ get: () => !!A(c.touchedFields, o)
2919
2921
  },
2920
2922
  isValidating: {
2921
2923
  enumerable: !0,
2922
- get: () => !!$(c.validatingFields, o)
2924
+ get: () => !!A(c.validatingFields, o)
2923
2925
  },
2924
2926
  error: {
2925
2927
  enumerable: !0,
2926
- get: () => $(c.errors, o)
2928
+ get: () => A(c.errors, o)
2927
2929
  }
2928
- }), [c, o]), y = N.useCallback((b) => p.current.onChange({
2930
+ }), [c, o]), y = N.useCallback((f) => p.current.onChange({
2929
2931
  target: {
2930
- value: q1(b),
2932
+ value: q1(f),
2931
2933
  name: o
2932
2934
  },
2933
2935
  type: Ue.CHANGE
2934
- }), [o]), m = N.useCallback(() => p.current.onBlur({
2936
+ }), [o]), g = N.useCallback(() => p.current.onBlur({
2935
2937
  target: {
2936
- value: $(t._formValues, o),
2938
+ value: A(t._formValues, o),
2937
2939
  name: o
2938
2940
  },
2939
2941
  type: Ue.BLUR
2940
- }), [o, t._formValues]), C = N.useCallback((b) => {
2941
- const v = $(t._fields, o);
2942
- v && b && (v._f.ref = {
2943
- focus: () => b.focus && b.focus(),
2944
- select: () => b.select && b.select(),
2945
- setCustomValidity: (w) => b.setCustomValidity(w),
2946
- reportValidity: () => b.reportValidity()
2942
+ }), [o, t._formValues]), C = N.useCallback((f) => {
2943
+ const v = A(t._fields, o);
2944
+ v && f && (v._f.ref = {
2945
+ focus: () => f.focus && f.focus(),
2946
+ select: () => f.select && f.select(),
2947
+ setCustomValidity: (w) => f.setCustomValidity(w),
2948
+ reportValidity: () => f.reportValidity()
2947
2949
  });
2948
- }, [t._fields, o]), f = N.useMemo(() => ({
2950
+ }, [t._fields, o]), b = N.useMemo(() => ({
2949
2951
  name: o,
2950
2952
  value: a,
2951
2953
  ...ye(i) || c.disabled ? { disabled: c.disabled || i } : {},
2952
2954
  onChange: y,
2953
- onBlur: m,
2955
+ onBlur: g,
2954
2956
  ref: C
2955
- }), [o, i, c.disabled, y, m, C, a]);
2957
+ }), [o, i, c.disabled, y, g, C, a]);
2956
2958
  return N.useEffect(() => {
2957
- const b = t._options.shouldUnregister || r;
2959
+ const f = t._options.shouldUnregister || r;
2958
2960
  t.register(o, {
2959
2961
  ...u.current.rules,
2960
2962
  ...ye(u.current.disabled) ? { disabled: u.current.disabled } : {}
2961
2963
  });
2962
2964
  const v = (w, x) => {
2963
- const _ = $(t._fields, w);
2965
+ const _ = A(t._fields, w);
2964
2966
  _ && _._f && (_._f.mount = x);
2965
2967
  };
2966
- if (v(o, !0), b) {
2967
- const w = ct($(t._options.defaultValues, o));
2968
- Ke(t._defaultValues, o, w), Me($(t._formValues, o)) && Ke(t._formValues, o, w);
2968
+ if (v(o, !0), f) {
2969
+ const w = ct(A(t._options.defaultValues, o));
2970
+ Ke(t._defaultValues, o, w), Me(A(t._formValues, o)) && Ke(t._formValues, o, w);
2969
2971
  }
2970
2972
  return !l && t.register(o), () => {
2971
- (l ? b && !t._state.action : b) ? t.unregister(o) : v(o, !1);
2973
+ (l ? f && !t._state.action : f) ? t.unregister(o) : v(o, !1);
2972
2974
  };
2973
2975
  }, [o, t, l, r]), N.useEffect(() => {
2974
2976
  t._setDisabledField({
@@ -2976,10 +2978,10 @@ function en(n) {
2976
2978
  name: o
2977
2979
  });
2978
2980
  }, [i, o, t]), N.useMemo(() => ({
2979
- field: f,
2981
+ field: b,
2980
2982
  formState: c,
2981
- fieldState: g
2982
- }), [f, c, g]);
2983
+ fieldState: h
2984
+ }), [b, c, h]);
2983
2985
  }
2984
2986
  const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
2985
2987
  errorMessage: nn
@@ -3008,30 +3010,30 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3008
3010
  placeholder: c,
3009
3011
  errorColor: u = "red",
3010
3012
  width: p = 325,
3011
- onClickForgotPass: g = () => {
3013
+ onClickForgotPass: h = () => {
3012
3014
  console.log("Click on forgot password");
3013
3015
  },
3014
3016
  forgotPassLabel: y = "forgot-password"
3015
- } = n, { t: m } = k(), [C, f] = M(!1), b = () => i ? i === "password" && C ? "text" : i : "text";
3017
+ } = n, { t: g } = k(), [C, b] = B(!1), f = () => i ? i === "password" && C ? "text" : i : "text";
3016
3018
  return /* @__PURE__ */ s(
3017
3019
  tn,
3018
3020
  {
3019
3021
  name: o,
3020
3022
  control: d,
3021
3023
  rules: {
3022
- required: l ? `${m(t)} ${m("errorMessages.required")}` : !1,
3024
+ required: l ? `${g(t)} ${g("errorMessages.required")}` : !1,
3023
3025
  maxLength: r || void 0,
3024
3026
  validate: a || void 0
3025
3027
  },
3026
3028
  render: ({ field: v, fieldState: w }) => {
3027
3029
  var x;
3028
- return /* @__PURE__ */ h("div", { className: ne.textInputContainer, children: [
3029
- /* @__PURE__ */ h("h3", { className: ne.labelContainer, children: [
3030
- m(t),
3030
+ return /* @__PURE__ */ m("div", { className: ne.textInputContainer, children: [
3031
+ /* @__PURE__ */ m("h3", { className: ne.labelContainer, children: [
3032
+ g(t),
3031
3033
  " ",
3032
3034
  l && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
3033
3035
  ] }),
3034
- /* @__PURE__ */ h(
3036
+ /* @__PURE__ */ m(
3035
3037
  "div",
3036
3038
  {
3037
3039
  style: { position: "relative", width: p },
@@ -3040,16 +3042,16 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3040
3042
  /* @__PURE__ */ s(
3041
3043
  "input",
3042
3044
  {
3043
- type: b(),
3045
+ type: f(),
3044
3046
  ...v,
3045
- placeholder: c ? m(c) : "",
3047
+ placeholder: c ? g(c) : "",
3046
3048
  maxLength: r || void 0
3047
3049
  }
3048
3050
  ),
3049
3051
  i == "password" && /* @__PURE__ */ s(
3050
3052
  "button",
3051
3053
  {
3052
- onClick: () => f(!C),
3054
+ onClick: () => b(!C),
3053
3055
  type: "button",
3054
3056
  className: ne.showPasswordButton,
3055
3057
  children: C ? "🙈" : "👁️"
@@ -3058,7 +3060,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3058
3060
  ]
3059
3061
  }
3060
3062
  ),
3061
- i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: m(y) }) }),
3063
+ i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: h, children: g(y) }) }),
3062
3064
  /* @__PURE__ */ s(
3063
3065
  ht,
3064
3066
  {
@@ -3080,7 +3082,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3080
3082
  const { inputType: r } = i;
3081
3083
  switch (r) {
3082
3084
  case He.text:
3083
- const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: g } = i;
3085
+ const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: h } = i;
3084
3086
  return /* @__PURE__ */ s(
3085
3087
  "div",
3086
3088
  {
@@ -3118,23 +3120,23 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3118
3120
  const {
3119
3121
  register: u,
3120
3122
  handleSubmit: p,
3121
- watch: g,
3123
+ watch: h,
3122
3124
  control: y,
3123
- formState: { errors: m }
3125
+ formState: { errors: g }
3124
3126
  } = n;
3125
- D(() => {
3126
- console.log("Errors ", m);
3127
- }, [JSON.stringify(m)]);
3127
+ L(() => {
3128
+ console.log("Errors ", g);
3129
+ }, [JSON.stringify(g)]);
3128
3130
  const { t: C } = k();
3129
3131
  return (
3130
3132
  /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3131
- /* @__PURE__ */ h("form", { className: ve.formContainer, onSubmit: p(c), children: [
3132
- /* @__PURE__ */ s("div", { className: ve.formObjectContainer, children: d && d.map((f, b) => {
3133
- const { inputs: v } = f;
3134
- return f.category ? o ? /* @__PURE__ */ s(
3133
+ /* @__PURE__ */ m("form", { className: ve.formContainer, onSubmit: p(c), children: [
3134
+ /* @__PURE__ */ s("div", { className: ve.formObjectContainer, children: d && d.map((b, f) => {
3135
+ const { inputs: v } = b;
3136
+ return b.category ? o ? /* @__PURE__ */ s(
3135
3137
  o,
3136
3138
  {
3137
- title: f.category,
3139
+ title: b.category,
3138
3140
  children: /* @__PURE__ */ s(
3139
3141
  we,
3140
3142
  {
@@ -3145,9 +3147,9 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3145
3147
  }
3146
3148
  )
3147
3149
  },
3148
- `${f.category}${b}`
3149
- ) : /* @__PURE__ */ h("div", { style: { width: "100%" }, children: [
3150
- /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f.category }),
3150
+ `${b.category}${f}`
3151
+ ) : /* @__PURE__ */ m("div", { style: { width: "100%" }, children: [
3152
+ /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: b.category }),
3151
3153
  /* @__PURE__ */ s("p", { children: "This is a category component example." }),
3152
3154
  /* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
3153
3155
  we,
@@ -3158,7 +3160,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3158
3160
  errorColor: r
3159
3161
  }
3160
3162
  ) })
3161
- ] }, `${f.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3163
+ ] }, `${b.category}${f}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3162
3164
  we,
3163
3165
  {
3164
3166
  inputContainerStyles: i,
@@ -3166,9 +3168,9 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3166
3168
  control: y,
3167
3169
  errorColor: r
3168
3170
  }
3169
- ) }, `inputKey${b}`);
3171
+ ) }, `inputKey${f}`);
3170
3172
  }) }),
3171
- /* @__PURE__ */ h("div", { className: ve.buttonContainer, children: [
3173
+ /* @__PURE__ */ m("div", { className: ve.buttonContainer, children: [
3172
3174
  /* @__PURE__ */ s(ce, { containerStyles: a, type: "submit", children: C(l) }),
3173
3175
  /* @__PURE__ */ s(ht, { errorMessage: t, errorColor: r })
3174
3176
  ] })
@@ -3190,7 +3192,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3190
3192
  backgroundColor: l = "#605B56",
3191
3193
  isFooter: a = !1
3192
3194
  // If true, it will apply footer styles
3193
- }) => /* @__PURE__ */ h(
3195
+ }) => /* @__PURE__ */ m(
3194
3196
  "div",
3195
3197
  {
3196
3198
  className: K.header,
@@ -3238,7 +3240,7 @@ const gn = "_sidebar_pt7g1_2", Cn = "_open_pt7g1_16", fn = "_content_pt7g1_20",
3238
3240
  {
3239
3241
  className: `${ae.sidebar} ${o ? ae.open : ""}`,
3240
3242
  style: { width: o ? n : 0 },
3241
- children: o && /* @__PURE__ */ h("div", { className: ae.content, children: [
3243
+ children: o && /* @__PURE__ */ m("div", { className: ae.content, children: [
3242
3244
  /* @__PURE__ */ s("button", { className: ae.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: yn, alt: "Close Sidebar" }) }),
3243
3245
  d
3244
3246
  ] })