@tmf_ciclica/ciclicastorybook 1.1.83 → 1.1.84

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,5 +1,5 @@
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_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{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_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{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_jhxfb_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_jhxfb_3::-webkit-scrollbar{width:8px}._legendContainer_jhxfb_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_jhxfb_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31{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_jhxfb_3 ._closeButton_jhxfb_31:before,._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:before{transform:rotate(45deg)}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:after{transform:rotate(-45deg)}._legendContainer_jhxfb_3 ._titleContainer_jhxfb_59{border-bottom:solid 1.5px #605b56}._legendContainer_jhxfb_3 ._titleContainer_jhxfb_59 h2{padding-bottom:16px}._legendContainer_jhxfb_3 ._infoContainer_jhxfb_65{padding-top:20px}._legendContainer_jhxfb_3 ._infoContainer_jhxfb_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_jhxfb_3 ._titleLegendList_jhxfb_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._gridContainer_jhxfb_83{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._gridContainer_jhxfb_83 ._elementLegendContainer_jhxfb_89{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._gridContainer_jhxfb_83 ._elementLegendContainer_jhxfb_89 ._colorDot_jhxfb_95{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._absoluteValueContainer_jhxfb_101{position:relative}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._absoluteValueContainer_jhxfb_101 ._absoluteValueColor_jhxfb_104{height:130px;width:22px;border-radius:20px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._absoluteValueContainer_jhxfb_101 ._absoluteValueText_jhxfb_109{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_jhxfb_3 ._legendListContainer_jhxfb_83 ._noDataContainer_jhxfb_121{position:relative;margin-top:10px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._noDataContainer_jhxfb_121 ._noData_jhxfb_121{height:22px;width:22px;border-radius:20px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._noDataContainer_jhxfb_121 ._absoluteValueText_jhxfb_109{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_jhxfb_3 ._moreInfoContainer_jhxfb_142{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_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._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_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{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}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_3bp8g_2{width:100%}._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{min-width:auto;max-width:215px}}._radioButtonContainer_3bp8g_2 ._errorContainer_3bp8g_44{position:absolute;top:-25px;left:0}._radioButtonContainer_3bp8g_2 ._iconPrivacy_3bp8g_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_3bp8g_2 ._radioQuestion_3bp8g_59{width:100%;flex:1}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label{text-align:left}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_3bp8g_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_3bp8g_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}label,._radioInput_3bp8g_109{cursor:pointer}._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 Se } from "react/jsx-runtime";
2
+ import { jsxs as m, jsx as s, Fragment as Se } from "react/jsx-runtime";
3
3
  import * as te from "react";
4
4
  import B, { useState as D, useEffect as V, useMemo as he, useLayoutEffect as yt, useRef as $e } from "react";
5
5
  import e from "prop-types";
@@ -44,15 +44,15 @@ const jt = "_ambitSelector_mcunf_2", qt = "_header_mcunf_13", zt = "_nameDateCon
44
44
  fontColor: a,
45
45
  moreInfo: c
46
46
  }) => {
47
- const { nom: u, created_at: C, id: m, isBeingProcessed: b } = n;
48
- return /* @__PURE__ */ h(
47
+ const { nom: u, created_at: h, id: g, isBeingProcessed: y } = n;
48
+ return /* @__PURE__ */ m(
49
49
  "div",
50
50
  {
51
51
  className: ne.ambitItem,
52
52
  style: { borderBottom: `1px solid ${a}` },
53
53
  children: [
54
- /* @__PURE__ */ h("div", { className: ne.ambitNameDate, onClick: () => t(m), children: [
55
- /* @__PURE__ */ h("div", { className: ne.ambitName, children: [
54
+ /* @__PURE__ */ m("div", { className: ne.ambitNameDate, onClick: () => t(g), children: [
55
+ /* @__PURE__ */ m("div", { className: ne.ambitName, children: [
56
56
  /* @__PURE__ */ s(
57
57
  "img",
58
58
  {
@@ -62,13 +62,13 @@ const jt = "_ambitSelector_mcunf_2", qt = "_header_mcunf_13", zt = "_nameDateCon
62
62
  ),
63
63
  /* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: u })
64
64
  ] }),
65
- /* @__PURE__ */ s("div", { className: ne.ambitDate, children: C ? new Date(C).toLocaleDateString() : "" })
65
+ /* @__PURE__ */ s("div", { className: ne.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ h("div", { className: ne.ambitButtons, children: [
68
- b && /* @__PURE__ */ s("img", { src: i2 }),
69
- /* @__PURE__ */ s("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
70
- /* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src: t2 }) }),
71
- /* @__PURE__ */ s("button", { onClick: () => o(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
67
+ /* @__PURE__ */ m("div", { className: ne.ambitButtons, children: [
68
+ y && /* @__PURE__ */ s("img", { src: i2 }),
69
+ /* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
70
+ /* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: t2 }) }),
71
+ /* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
72
72
  ] })
73
73
  ]
74
74
  }
@@ -125,39 +125,39 @@ const je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
125
125
  buttonContainerStyles: a = {},
126
126
  containerStyles: c = {},
127
127
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
128
- onClickCopy: C = (f) => console.log(`Copy ambit: ${f}`),
129
- onCLickDelete: m = (f) => console.log(`Delete ambit: ${f}`),
130
- onClickFilters: b = (f) => console.log(`Filters clicked: ${f}`),
131
- onClickAmbit: g = (f) => console.log(`OnCLickAmbit: ${f}`)
128
+ onClickCopy: h = (f) => console.log(`Copy ambit: ${f}`),
129
+ onCLickDelete: g = (f) => console.log(`Delete ambit: ${f}`),
130
+ onClickFilters: y = (f) => console.log(`Filters clicked: ${f}`),
131
+ onClickAmbit: C = (f) => console.log(`OnCLickAmbit: ${f}`)
132
132
  }) => {
133
133
  const { t: f } = N(), [_, p] = D(n);
134
134
  V(() => {
135
135
  n && p(n);
136
136
  }, [n]);
137
- const y = (v) => {
137
+ const b = (v) => {
138
138
  if (_ && _.length > 0) {
139
139
  let x = [..._];
140
140
  x.sort((w, k) => w[v].localeCompare(k[v])), p(x);
141
141
  }
142
142
  };
143
- return /* @__PURE__ */ h(
143
+ return /* @__PURE__ */ m(
144
144
  "div",
145
145
  {
146
146
  className: z.ambitSelector,
147
147
  style: { color: o, ...c },
148
148
  children: [
149
- /* @__PURE__ */ h(
149
+ /* @__PURE__ */ m(
150
150
  "div",
151
151
  {
152
152
  className: z.header,
153
153
  style: { borderBottom: `1px solid ${o}` },
154
154
  children: [
155
- /* @__PURE__ */ h("div", { className: z.nameDateContainer, children: [
156
- /* @__PURE__ */ s("div", { className: z.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => y("name"), children: [
155
+ /* @__PURE__ */ m("div", { className: z.nameDateContainer, children: [
156
+ /* @__PURE__ */ s("div", { className: z.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => b("name"), children: [
157
157
  /* @__PURE__ */ s("span", { children: f(t) }),
158
158
  /* @__PURE__ */ s("img", { src: je })
159
159
  ] }) }),
160
- /* @__PURE__ */ s("div", { className: z.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => y("date"), children: [
160
+ /* @__PURE__ */ s("div", { className: z.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => b("date"), children: [
161
161
  /* @__PURE__ */ s("span", { children: f(r) }),
162
162
  /* @__PURE__ */ s("img", { src: je })
163
163
  ] }) })
@@ -173,10 +173,10 @@ const je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
173
173
  ambit: v,
174
174
  fontColor: o,
175
175
  activeColor: i,
176
- onClickCopy: C,
177
- onClickDelete: m,
178
- onClickFilters: b,
179
- onClickAmbit: g
176
+ onClickCopy: h,
177
+ onClickDelete: g,
178
+ onClickFilters: y,
179
+ onClickAmbit: C
180
180
  },
181
181
  `ambitKey${v.id}`
182
182
  )) }),
@@ -253,26 +253,26 @@ const _2 = ({
253
253
  children: n.map((a, c) => {
254
254
  const {
255
255
  icon: u,
256
- activeIcon: C,
257
- isActive: m,
258
- name: b,
259
- onClick: g
260
- } = a, f = /* @__PURE__ */ h(Se, { children: [
261
- o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(b) }),
262
- /* @__PURE__ */ s("img", { src: m ? C : u, alt: l(b) }),
263
- o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(b) })
256
+ activeIcon: h,
257
+ isActive: g,
258
+ name: y,
259
+ onClick: C
260
+ } = a, f = /* @__PURE__ */ m(Se, { children: [
261
+ o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(y) }),
262
+ /* @__PURE__ */ s("img", { src: g ? h : u, alt: l(y) }),
263
+ o && i === "right" && /* @__PURE__ */ s("span", { className: Z.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: g,
269
+ onClick: C,
270
270
  className: `${Z.button}
271
- ${m && Z.active}`,
271
+ ${g && Z.active}`,
272
272
  children: f
273
273
  }
274
274
  ),
275
- t && /* @__PURE__ */ s(Y, { text: b, position: r })
275
+ t && /* @__PURE__ */ s(Y, { text: y, position: r })
276
276
  ] }, c);
277
277
  })
278
278
  }
@@ -312,8 +312,8 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
312
312
  showBottomBar: c = !0,
313
313
  titleMarginChildren: u = 25
314
314
  }) => {
315
- const { t: C } = N();
316
- return /* @__PURE__ */ h(
315
+ const { t: h } = N();
316
+ return /* @__PURE__ */ m(
317
317
  Ae.div,
318
318
  {
319
319
  className: be.indicatorsCategory,
@@ -326,7 +326,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
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: {
@@ -337,7 +337,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
337
337
  onClick: d,
338
338
  children: [
339
339
  /* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
340
- /* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children: C(r) })
340
+ /* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children: h(r) })
341
341
  ]
342
342
  }
343
343
  ),
@@ -369,9 +369,9 @@ const oi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
369
369
  inputsColor: "#605B56"
370
370
  })), tt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
371
371
  const { t: l } = N(), { tematicalFiltersSelected: a } = T((u) => u), c = (u) => {
372
- T.setState((C) => ({
373
- tematicalFiltersSelected: C.tematicalFiltersSelected.filter(
374
- (m) => m.code !== u
372
+ T.setState((h) => ({
373
+ tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
374
+ (g) => g.code !== u
375
375
  )
376
376
  }));
377
377
  };
@@ -382,10 +382,10 @@ const oi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
382
382
  onClick: d,
383
383
  title: n ? l(n) : "Applied Filters",
384
384
  activeColor: r,
385
- children: /* @__PURE__ */ s("div", { className: qe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, C) => /* @__PURE__ */ h("div", { className: qe.AppliedFilterContent, style: { color: i, background: t }, children: [
385
+ children: /* @__PURE__ */ s("div", { className: qe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, h) => /* @__PURE__ */ m("div", { className: qe.AppliedFilterContent, style: { color: i, background: t }, children: [
386
386
  l(u.name),
387
387
  /* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
388
- ] }, C)) })
388
+ ] }, h)) })
389
389
  }
390
390
  );
391
391
  };
@@ -434,7 +434,7 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
434
434
  value: t
435
435
  }) => {
436
436
  const { t: r } = N(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = T((u) => u);
437
- return /* @__PURE__ */ h(
437
+ return /* @__PURE__ */ m(
438
438
  "div",
439
439
  {
440
440
  style: { ...d, color: o },
@@ -517,19 +517,19 @@ let Le = function(n) {
517
517
  t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
518
518
  }, t.onMouseMove = (a) => {
519
519
  t.setState({ pending: !0 });
520
- const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), C = t.getValueFromPosition(u);
521
- t.move(C);
520
+ const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
521
+ t.move(h);
522
522
  }, t.onTouchMove = (a) => {
523
523
  if (a.touches.length > 1) return;
524
524
  t.setState({ pending: !0 });
525
525
  const c = t.getTouchPosition(a);
526
526
  if (t.isScrolling === void 0) {
527
- const m = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
528
- t.isScrolling = Math.abs(b) > Math.abs(m);
527
+ const g = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
528
+ t.isScrolling = Math.abs(y) > Math.abs(g);
529
529
  }
530
530
  if (t.isScrolling) return void t.setState({ index: -1 });
531
- const u = t.getDiffPosition(c[0]), C = t.getValueFromPosition(u);
532
- t.move(C);
531
+ const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
532
+ t.move(h);
533
533
  }, t.onKeyDown = (a) => {
534
534
  if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
535
535
  case "ArrowLeft":
@@ -582,8 +582,8 @@ let Le = function(n) {
582
582
  if (t.props.disabled || c.touches.length > 1) return;
583
583
  t.setState({ pending: !0 });
584
584
  const u = t.getTouchPosition(c);
585
- t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(C) {
586
- C.stopPropagation && C.stopPropagation();
585
+ t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(h) {
586
+ h.stopPropagation && h.stopPropagation();
587
587
  }(c);
588
588
  }, t.handleResize = () => {
589
589
  const a = window.setTimeout(() => {
@@ -591,13 +591,13 @@ let Le = function(n) {
591
591
  }, 0);
592
592
  t.pendingResizeTimeouts.push(a);
593
593
  }, t.renderThumb = (a, c) => {
594
- const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), C = { ref: (b) => {
595
- t["thumb" + c] = b;
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 }, m = { index: c, value: ce(t.state.value), valueNow: t.state.value[c] };
597
- return t.props.ariaValuetext && (C["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(C, m);
594
+ const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (y) => {
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: ce(t.state.value), valueNow: t.state.value[c] };
597
+ return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(h, g);
598
598
  }, t.renderTrack = (a, c, u) => {
599
- const C = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value: ce(t.state.value) };
600
- return t.props.renderTrack(C, m);
599
+ const h = { 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: ce(t.state.value) };
600
+ return t.props.renderTrack(h, g);
601
601
  };
602
602
  let r = _e(i.value);
603
603
  r.length || (r = _e(i.defaultValue)), t.pendingResizeTimeouts = [];
@@ -628,8 +628,8 @@ let Le = function(n) {
628
628
  let t = Number.MAX_VALUE, r = -1;
629
629
  const { value: l } = this.state, a = l.length;
630
630
  for (let c = 0; c < a; c += 1) {
631
- const u = this.calcOffset(l[c]), C = Math.abs(i - u);
632
- C < t && (t = C, r = c);
631
+ const u = this.calcOffset(l[c]), h = Math.abs(i - u);
632
+ h < t && (t = h, r = c);
633
633
  }
634
634
  return r;
635
635
  }, o.getMousePosition = function(i) {
@@ -652,8 +652,8 @@ let Le = 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()], C = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - C, b = Math.abs(c - u);
656
- this.state.upperBound === m && this.state.sliderLength === b && this.state.thumbSize === C || this.setState({ upperBound: m, sliderLength: b, thumbSize: C });
655
+ const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - h, y = Math.abs(c - u);
656
+ this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: y, thumbSize: h });
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 Le = 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: C, minDistance: m } = this.props;
695
+ const { pearling: c, max: u, min: h, minDistance: g } = this.props;
696
696
  if (!c) {
697
697
  if (r > 0) {
698
- const b = t[r - 1];
699
- i < b + m && (i = b + m);
698
+ const y = t[r - 1];
699
+ i < y + g && (i = y + g);
700
700
  }
701
701
  if (r < l - 1) {
702
- const b = t[r + 1];
703
- i > b - m && (i = b - m);
702
+ const y = t[r + 1];
703
+ i > y - g && (i = y - g);
704
704
  }
705
705
  }
706
- t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(b, g, f, _) {
707
- for (let p = 0; p < b; p += 1) {
708
- const y = _ - p * f;
709
- g[b - 1 - p] > y && (g[b - 1 - p] = y);
706
+ t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, C, f, _) {
707
+ for (let p = 0; p < y; p += 1) {
708
+ const b = _ - p * f;
709
+ C[y - 1 - p] > b && (C[y - 1 - p] = b);
710
710
  }
711
- }(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(b, g, f, _) {
712
- for (let p = 0; p < b; p += 1) {
713
- const y = _ + p * f;
714
- g[p] < y && (g[p] = y);
711
+ }(l, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, C, f, _) {
712
+ for (let p = 0; p < y; p += 1) {
713
+ const b = _ + p * f;
714
+ C[p] < b && (C[p] = b);
715
715
  }
716
- }(l, t, m, C))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
716
+ }(l, t, g, h))), 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] = Me(a, this.props);
@@ -786,12 +786,12 @@ const L2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
786
786
  fontColor: l = "#605B56",
787
787
  defaultValue: a
788
788
  }) => {
789
- const { t: c } = N(), [u, C] = D([n, d]), m = (b) => {
790
- C(b), i == null || i({ min: b[0], max: b[1] });
789
+ const { t: c } = N(), [u, h] = D([n, d]), g = (y) => {
790
+ h(y), i == null || i({ min: y[0], max: y[1] });
791
791
  };
792
792
  return V(() => {
793
- a || C([n, d]);
794
- }, [a]), /* @__PURE__ */ h(
793
+ a || h([n, d]);
794
+ }, [a]), /* @__PURE__ */ m(
795
795
  "div",
796
796
  {
797
797
  className: Q.container,
@@ -808,13 +808,13 @@ const L2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
808
808
  max: d,
809
809
  step: o,
810
810
  value: u,
811
- onAfterChange: m,
811
+ onAfterChange: g,
812
812
  withTracks: !0,
813
813
  pearling: !0,
814
814
  minDistance: 0.1
815
815
  }
816
816
  ),
817
- /* @__PURE__ */ h("div", { className: Q.labels, children: [
817
+ /* @__PURE__ */ m("div", { className: Q.labels, children: [
818
818
  /* @__PURE__ */ s("span", { children: u[0] }),
819
819
  /* @__PURE__ */ s("span", { children: u[1] })
820
820
  ] })
@@ -851,21 +851,21 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
851
851
  minValue: a,
852
852
  maxValue: c,
853
853
  unit: u,
854
- step: C
855
- } = n || {}, m = he(
854
+ step: h
855
+ } = n || {}, g = he(
856
856
  () => t == "cat" || o == "cat",
857
857
  [o, t]
858
- ), b = he(
858
+ ), y = he(
859
859
  () => t == "abs" || o == "abs",
860
860
  [o, t]
861
861
  ), {
862
- tematicalFiltersSelected: g,
862
+ tematicalFiltersSelected: C,
863
863
  selectedIndicator: f,
864
864
  fontColor: _,
865
865
  inputsColor: p
866
- } = T((x) => x), y = (x) => {
866
+ } = T((x) => x), b = (x) => {
867
867
  if (x) {
868
- const { min: w, max: k, valueClicked: L, allValues: F } = x || {}, { code: q, type: ae } = n || {}, le = b ? "abs" : m ? "cat" : "both";
868
+ const { min: w, max: k, valueClicked: L, allValues: F } = x || {}, { code: q, type: ae } = n || {}, le = y ? "abs" : g ? "cat" : "both";
869
869
  let R = q[0];
870
870
  ae == "both" && (R = le == "cat" ? q[1] : q[0]), le == "cat" ? T.setState((P) => {
871
871
  let E = P.tematicalFiltersSelected.find(
@@ -888,7 +888,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
888
888
  let $ = F.map((I, bt) => bt);
889
889
  return {
890
890
  tematicalFiltersSelected: [
891
- ...g,
891
+ ...C,
892
892
  {
893
893
  type: "cat",
894
894
  code: R,
@@ -918,7 +918,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
918
918
  } else
919
919
  return {
920
920
  tematicalFiltersSelected: [
921
- ...g,
921
+ ...C,
922
922
  { type: "abs", code: R, min: w, max: k, name: n.name }
923
923
  ]
924
924
  };
@@ -926,12 +926,12 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
926
926
  }
927
927
  }, v = he(() => {
928
928
  const x = {};
929
- if ((g == null ? void 0 : g.length) > 0)
930
- for (const w of g)
929
+ if ((C == null ? void 0 : C.length) > 0)
930
+ for (const w of C)
931
931
  w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
932
932
  return console.log("mapfilterSelected", x), x;
933
- }, [g]);
934
- return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
933
+ }, [C]);
934
+ return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
935
935
  W,
936
936
  {
937
937
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
@@ -947,13 +947,13 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
947
947
  color: _,
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: ue.inputTypeContainer,
954
954
  style: { color: _ },
955
955
  children: [
956
- /* @__PURE__ */ h("label", { children: [
956
+ /* @__PURE__ */ m("label", { children: [
957
957
  /* @__PURE__ */ s(
958
958
  "input",
959
959
  {
@@ -972,7 +972,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
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
  {
@@ -994,27 +994,27 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
994
994
  ]
995
995
  }
996
996
  ),
997
- m && /* @__PURE__ */ s("div", { className: ue.checkboxContainer, children: l.map((x, w) => {
997
+ g && /* @__PURE__ */ s("div", { className: ue.checkboxContainer, children: l.map((x, w) => {
998
998
  var k;
999
999
  return /* @__PURE__ */ s(
1000
1000
  it,
1001
1001
  {
1002
- onClick: () => y({ valueClicked: w, allValues: l }),
1002
+ onClick: () => b({ valueClicked: w, allValues: l }),
1003
1003
  indicator: x,
1004
1004
  value: ((k = v[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : k.has(w)) || !v[n.code[t == "both" ? 1 : 0]]
1005
1005
  },
1006
1006
  `checkbox-${w}`
1007
1007
  );
1008
1008
  }) }),
1009
- b && /* @__PURE__ */ s("div", { className: ue.absoluteSliderContainer, children: /* @__PURE__ */ s(
1009
+ y && /* @__PURE__ */ s("div", { className: ue.absoluteSliderContainer, children: /* @__PURE__ */ s(
1010
1010
  ot,
1011
1011
  {
1012
- onChange: y,
1012
+ onChange: b,
1013
1013
  min: a,
1014
1014
  max: c,
1015
1015
  unit: u,
1016
1016
  defaultValue: v[n.code[0]] ? v[n.code[0]] : "",
1017
- step: C
1017
+ step: h
1018
1018
  }
1019
1019
  ) })
1020
1020
  ]
@@ -1193,13 +1193,13 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7",
1193
1193
  onChangeAppliedFilters: a,
1194
1194
  saveAmbit: c,
1195
1195
  namePlaceholder: u,
1196
- descPlaceholder: C,
1197
- filtersTypes: m = ["geographical", "tematical"],
1198
- nameRequiredText: b,
1199
- onlyFilters: g = !1
1196
+ descPlaceholder: h,
1197
+ filtersTypes: g = ["geographical", "tematical"],
1198
+ nameRequiredText: y,
1199
+ onlyFilters: C = !1
1200
1200
  //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
1201
1201
  }) => {
1202
- const { t: f } = N(), { tematicalFiltersSelected: _ } = T((F) => F), [p, y] = D(n || null), [v, x] = D(d || null), [w, k] = D(!1);
1202
+ const { t: f } = N(), { tematicalFiltersSelected: _ } = T((F) => F), [p, b] = D(n || null), [v, x] = D(d || null), [w, k] = D(!1);
1203
1203
  V(() => {
1204
1204
  o && o.length > 0 && T.setState((F) => ({
1205
1205
  tematicalFiltersSelected: o
@@ -1210,14 +1210,14 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7",
1210
1210
  const L = () => {
1211
1211
  p ? c({ name: p, description: v }) : k(!0);
1212
1212
  };
1213
- return /* @__PURE__ */ h("div", { className: X.FiltersAmbitContainer, children: [
1214
- !g && /* @__PURE__ */ h("div", { className: X.FiltersAmbitHeader, children: [
1213
+ return /* @__PURE__ */ m("div", { className: X.FiltersAmbitContainer, children: [
1214
+ !C && /* @__PURE__ */ m("div", { className: X.FiltersAmbitHeader, children: [
1215
1215
  /* @__PURE__ */ s("div", { className: X.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1216
1216
  "input",
1217
1217
  {
1218
1218
  type: "text",
1219
1219
  onChange: (F) => {
1220
- k(!1), y(F.target.value);
1220
+ k(!1), b(F.target.value);
1221
1221
  },
1222
1222
  value: p,
1223
1223
  placeholder: f(u)
@@ -1228,7 +1228,7 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7",
1228
1228
  {
1229
1229
  value: v,
1230
1230
  onChange: (F) => x(F.target.value),
1231
- placeholder: f(C)
1231
+ placeholder: f(h)
1232
1232
  }
1233
1233
  ) }) })
1234
1234
  ] }),
@@ -1242,8 +1242,8 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7",
1242
1242
  activeColor: t
1243
1243
  }
1244
1244
  ),
1245
- m.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
1246
- m.includes("tematical") && /* @__PURE__ */ s(
1245
+ g.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
1246
+ g.includes("tematical") && /* @__PURE__ */ s(
1247
1247
  at,
1248
1248
  {
1249
1249
  indicators: i,
@@ -1253,8 +1253,8 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7",
1253
1253
  activeColor: t
1254
1254
  }
1255
1255
  ),
1256
- w && /* @__PURE__ */ s("div", { className: X.warning, children: f(b) }),
1257
- !g && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ge, { onClick: () => L(), children: f("save_ambit") }) })
1256
+ w && /* @__PURE__ */ s("div", { className: X.warning, children: f(y) }),
1257
+ !C && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ge, { onClick: () => L(), children: f("save_ambit") }) })
1258
1258
  ] });
1259
1259
  };
1260
1260
  K2.propTypes = {
@@ -1286,12 +1286,12 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1286
1286
  numberOfDivisions: c = 7,
1287
1287
  maxValue: u = null
1288
1288
  }) => {
1289
- const { t: C } = N(), { xScale: m, ticks: b, height: g } = he(() => {
1289
+ const { t: h } = N(), { xScale: g, ticks: y, height: C } = he(() => {
1290
1290
  if (n && n.length > 0) {
1291
- const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Ee.max(n, (v) => v.value) || 1, p = Ee.scaleLinear().domain([0, u || _]).range([0, d - a]), y = Array.from({ length: c + 1 }, (v, x) => u ? u / c * x : _ / c * x);
1291
+ const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Ee.max(n, (v) => v.value) || 1, p = Ee.scaleLinear().domain([0, u || _]).range([0, d - a]), b = Array.from({ length: c + 1 }, (v, x) => u ? u / c * x : _ / c * x);
1292
1292
  return {
1293
1293
  xScale: p,
1294
- ticks: y,
1294
+ ticks: b,
1295
1295
  height: f,
1296
1296
  width: d,
1297
1297
  verticalPaddign: r,
@@ -1309,22 +1309,22 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1309
1309
  r,
1310
1310
  u
1311
1311
  ]);
1312
- return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: g, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
1313
- /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: b.map((f, _) => {
1314
- const p = m(f);
1315
- return /* @__PURE__ */ h("g", { transform: `translate(${p}, 0)`, children: [
1312
+ return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: C, children: /* @__PURE__ */ m("g", { transform: `translate(0,${i})`, children: [
1313
+ /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((f, _) => {
1314
+ const p = g(f);
1315
+ return /* @__PURE__ */ m("g", { transform: `translate(${p}, 0)`, children: [
1316
1316
  /* @__PURE__ */ s(
1317
1317
  "line",
1318
1318
  {
1319
1319
  y1: 0,
1320
- y2: g - i * 2,
1320
+ y2: C - i * 2,
1321
1321
  stroke: "#ccc"
1322
1322
  }
1323
1323
  ),
1324
1324
  /* @__PURE__ */ s(
1325
1325
  "text",
1326
1326
  {
1327
- y: g - i,
1327
+ y: C - i,
1328
1328
  textAnchor: "middle",
1329
1329
  fontSize: 10,
1330
1330
  fill: t,
@@ -1334,11 +1334,11 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1334
1334
  ] }, _);
1335
1335
  }) }),
1336
1336
  n && n.length > 0 && (n == null ? void 0 : n.map((f, _) => {
1337
- const p = m(f.value), y = _ * (o + i);
1338
- return /* @__PURE__ */ h(
1337
+ const p = g(f.value), b = _ * (o + i);
1338
+ return /* @__PURE__ */ m(
1339
1339
  "g",
1340
1340
  {
1341
- transform: `translate(${a + l}, ${y})`,
1341
+ transform: `translate(${a + l}, ${b})`,
1342
1342
  children: [
1343
1343
  /* @__PURE__ */ s(
1344
1344
  "text",
@@ -1347,7 +1347,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1347
1347
  y: o / 2 + 5,
1348
1348
  textAnchor: "end",
1349
1349
  fill: t,
1350
- children: C(f.title)
1350
+ children: h(f.title)
1351
1351
  }
1352
1352
  ),
1353
1353
  /* @__PURE__ */ s(
@@ -1397,7 +1397,7 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", ze = {
1397
1397
  leftPadding: c = 200
1398
1398
  }) => {
1399
1399
  const { t: u } = N();
1400
- return /* @__PURE__ */ h(
1400
+ return /* @__PURE__ */ m(
1401
1401
  "div",
1402
1402
  {
1403
1403
  className: ze.graphicContainer,
@@ -1465,16 +1465,16 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1465
1465
  multiple: a = !1,
1466
1466
  onChangeType: c
1467
1467
  }) => {
1468
- const { t: u } = N(), { name: C, type: m } = n, [b, g] = D(!1);
1468
+ const { t: u } = N(), { name: h, type: g } = n, [y, C] = D(!1);
1469
1469
  V(() => {
1470
- t && g(
1470
+ t && C(
1471
1471
  a ? t.some(
1472
- (p) => p.name == String(C)
1473
- ) : t.name == C
1472
+ (p) => p.name == String(h)
1473
+ ) : t.name == h
1474
1474
  );
1475
1475
  }, [t]);
1476
- const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ h("div", { className: M.switchTypeOptions, children: [
1477
- /* @__PURE__ */ h(
1476
+ const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ m("div", { className: M.switchTypeOptions, children: [
1477
+ /* @__PURE__ */ m(
1478
1478
  "div",
1479
1479
  {
1480
1480
  className: M.optionContainer,
@@ -1503,7 +1503,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1503
1503
  ]
1504
1504
  }
1505
1505
  ),
1506
- /* @__PURE__ */ h(
1506
+ /* @__PURE__ */ m(
1507
1507
  "div",
1508
1508
  {
1509
1509
  className: M.optionContainer,
@@ -1532,7 +1532,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1532
1532
  ]
1533
1533
  }
1534
1534
  )
1535
- ] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p, y) => /* @__PURE__ */ h(
1535
+ ] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p, b) => /* @__PURE__ */ m(
1536
1536
  "div",
1537
1537
  {
1538
1538
  className: M.optionContainer,
@@ -1546,10 +1546,10 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1546
1546
  /* @__PURE__ */ s("h4", { children: u(p.unit) })
1547
1547
  ]
1548
1548
  },
1549
- y
1549
+ b
1550
1550
  )) }) }) });
1551
- return /* @__PURE__ */ h("div", { className: M.indicatorContainer, children: [
1552
- /* @__PURE__ */ h(
1551
+ return /* @__PURE__ */ m("div", { className: M.indicatorContainer, children: [
1552
+ /* @__PURE__ */ m(
1553
1553
  "div",
1554
1554
  {
1555
1555
  className: M.indicatorNameContainer,
@@ -1559,7 +1559,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1559
1559
  "div",
1560
1560
  {
1561
1561
  style: {
1562
- border: b ? `1px solid ${o}` : `1px solid ${i}`
1562
+ border: y ? `1px solid ${o}` : `1px solid ${i}`
1563
1563
  },
1564
1564
  className: M.dot
1565
1565
  }
@@ -1568,15 +1568,15 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1568
1568
  "h4",
1569
1569
  {
1570
1570
  className: M.indicatorName,
1571
- style: { color: b ? o : i },
1572
- children: /* @__PURE__ */ s(Ve, { i18nKey: C, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "<" } })
1571
+ style: { color: y ? o : i },
1572
+ children: /* @__PURE__ */ s(Ve, { i18nKey: h, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "<" } })
1573
1573
  }
1574
1574
  )
1575
1575
  ]
1576
1576
  }
1577
1577
  ),
1578
- (t == null ? void 0 : t.name) === C && m === "both" && /* @__PURE__ */ s("div", { children: f() }),
1579
- (t == null ? void 0 : t.name) === C && m === "twoUnits" && /* @__PURE__ */ s("div", { children: _() })
1578
+ (t == null ? void 0 : t.name) === h && g === "both" && /* @__PURE__ */ s("div", { children: f() }),
1579
+ (t == null ? void 0 : t.name) === h && g === "twoUnits" && /* @__PURE__ */ s("div", { children: _() })
1580
1580
  ] });
1581
1581
  };
1582
1582
  Oe.propTypes = {
@@ -1605,27 +1605,27 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1605
1605
  activeIndicator: a,
1606
1606
  onClickIndicator: c,
1607
1607
  multiple: u,
1608
- activeIndicatorType: C,
1609
- onChangeType: m
1608
+ activeIndicatorType: h,
1609
+ onChangeType: g
1610
1610
  }) => {
1611
- const { t: b } = N(), [g, f] = D(!1);
1611
+ const { t: y } = N(), [C, f] = D(!1);
1612
1612
  return V(() => {
1613
1613
  f(t == l);
1614
- }, [t, l]), /* @__PURE__ */ h(
1614
+ }, [t, l]), /* @__PURE__ */ m(
1615
1615
  Ae.div,
1616
1616
  {
1617
1617
  className: Ze.indicatorsSubCategory,
1618
1618
  initial: { height: "43px" },
1619
- animate: { height: g ? "auto" : "43px" },
1619
+ animate: { height: C ? "auto" : "43px" },
1620
1620
  transition: { duration: 0.4 },
1621
1621
  children: [
1622
- /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: g ? i : o }, children: [
1623
- /* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
1622
+ /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ m("h3", { style: { color: C ? i : o }, children: [
1623
+ /* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
1624
1624
  /* @__PURE__ */ s(
1625
1625
  "span",
1626
1626
  {
1627
- style: { marginLeft: 12, color: g ? i : o },
1628
- children: b(n)
1627
+ style: { marginLeft: 12, color: C ? i : o },
1628
+ children: y(n)
1629
1629
  }
1630
1630
  )
1631
1631
  ] }) }),
@@ -1638,8 +1638,8 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1638
1638
  activeIndicator: a,
1639
1639
  onClickIndicator: c,
1640
1640
  multiple: u,
1641
- activeIndicatorType: C,
1642
- onChangeType: m
1641
+ activeIndicatorType: h,
1642
+ onChangeType: g
1643
1643
  },
1644
1644
  "indicator" + p
1645
1645
  )) })
@@ -1670,15 +1670,15 @@ const dt = ({
1670
1670
  onClickSubCategory: a,
1671
1671
  activeIndicator: c,
1672
1672
  onClickIndicator: u,
1673
- multiple: C,
1674
- activeIndicatorType: m,
1675
- onChangeType: b
1673
+ multiple: h,
1674
+ activeIndicatorType: g,
1675
+ onChangeType: y
1676
1676
  }) => {
1677
1677
  var p;
1678
- const { t: g } = N(), [f, _] = D(!1);
1678
+ const { t: C } = N(), [f, _] = D(!1);
1679
1679
  return V(() => {
1680
1680
  _(r === d);
1681
- }, [r, d]), /* @__PURE__ */ h(
1681
+ }, [r, d]), /* @__PURE__ */ m(
1682
1682
  Ae.div,
1683
1683
  {
1684
1684
  className: ve.indicatorsCategory,
@@ -1691,47 +1691,47 @@ const dt = ({
1691
1691
  marginBottom: f ? "20px" : "0px"
1692
1692
  },
1693
1693
  children: [
1694
- /* @__PURE__ */ h("h2", { className: `${ve.title}`, onClick: () => t(d), children: [
1694
+ /* @__PURE__ */ m("h2", { className: `${ve.title}`, onClick: () => t(d), children: [
1695
1695
  /* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
1696
1696
  /* @__PURE__ */ s(
1697
1697
  "span",
1698
1698
  {
1699
1699
  style: { marginLeft: 12, color: f ? o : i },
1700
- children: g(n.name)
1700
+ children: C(n.name)
1701
1701
  }
1702
1702
  )
1703
1703
  ] }),
1704
1704
  n.subcategories ? n.subcategories.map(
1705
- ({ name: y, subcategory: v, indicators: x }, w) => /* @__PURE__ */ s(
1705
+ ({ name: b, subcategory: v, indicators: x }, w) => /* @__PURE__ */ s(
1706
1706
  ct,
1707
1707
  {
1708
1708
  id: v,
1709
1709
  activeSubCategory: l,
1710
- subcName: y,
1710
+ subcName: b,
1711
1711
  onClickSubCategory: a,
1712
1712
  activeIndicator: c,
1713
1713
  onClickIndicator: u,
1714
- multiple: C,
1714
+ multiple: h,
1715
1715
  activeColor: o,
1716
1716
  defaultColor: i,
1717
1717
  indicators: x,
1718
- activeIndicatorType: m,
1719
- onChangeType: b
1718
+ activeIndicatorType: g,
1719
+ onChangeType: y
1720
1720
  },
1721
1721
  `subcKey ${w}`
1722
1722
  )
1723
- ) : /* @__PURE__ */ s("div", { className: ve.list, children: (p = n.indicators) == null ? void 0 : p.map((y, v) => /* @__PURE__ */ s(
1723
+ ) : /* @__PURE__ */ s("div", { className: ve.list, children: (p = n.indicators) == null ? void 0 : p.map((b, v) => /* @__PURE__ */ s(
1724
1724
  Oe,
1725
1725
  {
1726
- indicator: y,
1727
- values: y.type == "twoUnits" && y.values,
1726
+ indicator: b,
1727
+ values: b.type == "twoUnits" && b.values,
1728
1728
  activeColor: o,
1729
1729
  defaultColor: i,
1730
1730
  activeIndicator: c,
1731
1731
  onClickIndicator: u,
1732
- multiple: C,
1733
- activeIndicatorType: m,
1734
- onChangeType: b
1732
+ multiple: h,
1733
+ activeIndicatorType: g,
1734
+ onChangeType: y
1735
1735
  },
1736
1736
  `indicator${v}`
1737
1737
  )) })
@@ -1770,19 +1770,19 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
1770
1770
  changeIndType: l,
1771
1771
  activeIndicatorType: a
1772
1772
  }) => {
1773
- const { t: c } = N(), [u, C] = D(), [m, b] = D(), [g, f] = D(), _ = (w) => {
1774
- C(u == w ? null : w);
1773
+ const { t: c } = N(), [u, h] = D(), [g, y] = D(), [C, f] = D(), _ = (w) => {
1774
+ h(u == w ? null : w);
1775
1775
  }, p = (w) => {
1776
- b(m == w ? null : w);
1777
- }, y = ({ indicator: w }) => {
1776
+ y(g == w ? null : w);
1777
+ }, b = ({ indicator: w }) => {
1778
1778
  console.log("onClickIndicator: ", w), v(w);
1779
1779
  }, v = (w) => {
1780
1780
  if (!t)
1781
1781
  f(
1782
- (g == null ? void 0 : g.name) == w.name ? null : w
1782
+ (C == null ? void 0 : C.name) == w.name ? null : w
1783
1783
  );
1784
1784
  else {
1785
- let k = g && g.length > 0 ? [...g] : [];
1785
+ let k = C && C.length > 0 ? [...C] : [];
1786
1786
  f(
1787
1787
  k != null && k.some(
1788
1788
  (L) => L.name == w.name
@@ -1793,11 +1793,11 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
1793
1793
  }
1794
1794
  };
1795
1795
  V(() => {
1796
- console.log("activeindicator changed to: ", g), i && typeof i == "function" && g && i({ activeIndicator: g });
1797
- }, [g]), yt(() => {
1798
- if (r && !g)
1796
+ console.log("activeindicator changed to: ", C), i && typeof i == "function" && C && i({ activeIndicator: C });
1797
+ }, [C]), yt(() => {
1798
+ if (r && !C)
1799
1799
  if (t && r && Array.isArray(r)) {
1800
- let w = g && g.length > 0 ? [...g] : [];
1800
+ let w = C && C.length > 0 ? [...C] : [];
1801
1801
  f([...w, ...r]), x(r[0].name);
1802
1802
  } else
1803
1803
  v(r), x(r.name);
@@ -1809,13 +1809,13 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
1809
1809
  (q) => q.indicators.find((ae) => ae.name == w)
1810
1810
  );
1811
1811
  if (F)
1812
- return b(F.subcategory), F;
1812
+ return y(F.subcategory), F;
1813
1813
  } else
1814
1814
  return L.indicators.some((F) => F.name == w);
1815
1815
  });
1816
- k && C(k.category);
1816
+ k && h(k.category);
1817
1817
  };
1818
- return /* @__PURE__ */ h("div", { className: He.indicatorsList, children: [
1818
+ return /* @__PURE__ */ m("div", { className: He.indicatorsList, children: [
1819
1819
  /* @__PURE__ */ s("h2", { className: He.title, style: { color: o }, children: c("indicators.indicators") }),
1820
1820
  n.map((w, k) => /* @__PURE__ */ s(
1821
1821
  dt,
@@ -1825,9 +1825,9 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
1825
1825
  onClickCategory: _,
1826
1826
  activeCategory: u,
1827
1827
  onClickSubCategory: p,
1828
- activeSubCategory: m,
1829
- onClickIndicator: y,
1830
- activeIndicator: g,
1828
+ activeSubCategory: g,
1829
+ onClickIndicator: b,
1830
+ activeIndicator: C,
1831
1831
  activeColor: d,
1832
1832
  defaultColor: o,
1833
1833
  multiple: t,
@@ -1860,8 +1860,8 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
1860
1860
  const [i, t] = D(!1), { i18n: r } = N(), l = n.find((c) => c.code == r.language), a = (c) => {
1861
1861
  r.changeLanguage(c), t(!1);
1862
1862
  };
1863
- return /* @__PURE__ */ h("div", { className: J.langSelector, children: [
1864
- /* @__PURE__ */ h(
1863
+ return /* @__PURE__ */ m("div", { className: J.langSelector, children: [
1864
+ /* @__PURE__ */ m(
1865
1865
  "div",
1866
1866
  {
1867
1867
  className: J.currentLang,
@@ -1937,12 +1937,10 @@ const w0 = "_legendContainer_jhxfb_3", x0 = "_closeButton_jhxfb_31", N0 = "_titl
1937
1937
  onClickMoreInfo: l,
1938
1938
  //If not passed it will read t("moreInformation")
1939
1939
  buttonTitle: a,
1940
- onClickClose: c,
1941
- noDataColor: u = null,
1942
- noDataText: C
1940
+ onClickClose: c
1943
1941
  }) => {
1944
- const { t: m } = N();
1945
- return /* @__PURE__ */ h(
1942
+ const { t: u } = N();
1943
+ return /* @__PURE__ */ m(
1946
1944
  "div",
1947
1945
  {
1948
1946
  style: n ? { ...n } : {},
@@ -1950,16 +1948,16 @@ const w0 = "_legendContainer_jhxfb_3", x0 = "_closeButton_jhxfb_31", N0 = "_titl
1950
1948
  children: [
1951
1949
  /* @__PURE__ */ s("button", { className: S.closeButton, onClick: c }),
1952
1950
  d && /* @__PURE__ */ s("div", { className: S.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
1953
- o && o.length > 0 && /* @__PURE__ */ s("div", { className: S.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: b, value: g }) => /* @__PURE__ */ h("li", { children: [
1954
- /* @__PURE__ */ s("h3", { className: S.title, children: `${b}:` }),
1955
- /* @__PURE__ */ h("span", { className: S.value, children: [
1951
+ o && o.length > 0 && /* @__PURE__ */ s("div", { className: S.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: h, value: g }) => /* @__PURE__ */ m("li", { children: [
1952
+ /* @__PURE__ */ s("h3", { className: S.title, children: `${h}:` }),
1953
+ /* @__PURE__ */ m("span", { className: S.value, children: [
1956
1954
  "  ",
1957
1955
  g
1958
1956
  ] })
1959
1957
  ] }, d)) }) }),
1960
- /* @__PURE__ */ s("h3", { className: S.titleLegendList, children: t ? /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "&lt;" } }) : m("mainUse") }),
1961
- /* @__PURE__ */ h("div", { className: S.legendListContainer, children: [
1962
- r ? /* @__PURE__ */ h("div", { className: S.absoluteValueContainer, children: [
1958
+ /* @__PURE__ */ s("h3", { className: S.titleLegendList, children: t ? /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "&lt;" } }) : u("mainUse") }),
1959
+ /* @__PURE__ */ m("div", { className: S.legendListContainer, children: [
1960
+ r ? /* @__PURE__ */ m("div", { className: S.absoluteValueContainer, children: [
1963
1961
  /* @__PURE__ */ s(
1964
1962
  "div",
1965
1963
  {
@@ -1969,25 +1967,25 @@ const w0 = "_legendContainer_jhxfb_3", x0 = "_closeButton_jhxfb_31", N0 = "_titl
1969
1967
  }
1970
1968
  }
1971
1969
  ),
1972
- /* @__PURE__ */ h("div", { className: S.absoluteValueText, children: [
1973
- /* @__PURE__ */ h("span", { children: [
1970
+ /* @__PURE__ */ m("div", { className: S.absoluteValueText, children: [
1971
+ /* @__PURE__ */ m("span", { children: [
1974
1972
  r.maxValue,
1975
1973
  " ",
1976
- m(r.unit)
1974
+ u(r.unit)
1977
1975
  ] }),
1978
- r.midValue && /* @__PURE__ */ h("span", { children: [
1976
+ r.midValue && /* @__PURE__ */ m("span", { children: [
1979
1977
  r.midValue,
1980
1978
  " ",
1981
- m(r.unit)
1979
+ u(r.unit)
1982
1980
  ] }),
1983
- /* @__PURE__ */ h("span", { children: [
1981
+ /* @__PURE__ */ m("span", { children: [
1984
1982
  r.minValue,
1985
1983
  " ",
1986
- m(r.unit)
1984
+ u(r.unit)
1987
1985
  ] })
1988
1986
  ] })
1989
1987
  ] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: S.gridContainer, children: i.map(
1990
- ({ title: b, color: g }) => /* @__PURE__ */ h("div", { className: S.elementLegendContainer, children: [
1988
+ ({ title: h, color: g }) => /* @__PURE__ */ m("div", { className: S.elementLegendContainer, children: [
1991
1989
  /* @__PURE__ */ s(
1992
1990
  "div",
1993
1991
  {
@@ -1995,26 +1993,26 @@ const w0 = "_legendContainer_jhxfb_3", x0 = "_closeButton_jhxfb_31", N0 = "_titl
1995
1993
  style: { backgroundColor: g }
1996
1994
  }
1997
1995
  ),
1998
- /* @__PURE__ */ h("div", { className: S.titleLegendElement, children: [
1999
- m(b),
1996
+ /* @__PURE__ */ m("div", { className: S.titleLegendElement, children: [
1997
+ u(h),
2000
1998
  " "
2001
1999
  ] })
2002
2000
  ] }, d)
2003
2001
  ) }),
2004
- r && u && /* @__PURE__ */ h("div", { className: S.noDataContainer, children: [
2002
+ r.noDataColor && /* @__PURE__ */ m("div", { className: S.noDataContainer, children: [
2005
2003
  /* @__PURE__ */ s(
2006
2004
  "div",
2007
2005
  {
2008
2006
  className: S.noData,
2009
2007
  style: {
2010
- background: u
2008
+ background: r.noDataColor
2011
2009
  }
2012
2010
  }
2013
2011
  ),
2014
- /* @__PURE__ */ s("div", { className: S.absoluteValueText, children: /* @__PURE__ */ s("span", { children: m(C) }) })
2012
+ /* @__PURE__ */ s("div", { className: S.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2015
2013
  ] })
2016
2014
  ] }),
2017
- l && /* @__PURE__ */ s("button", { className: S.moreInfoContainer, onClick: l, children: a || m("moreInformation") })
2015
+ l && /* @__PURE__ */ s("button", { className: S.moreInfoContainer, onClick: l, children: a || u("moreInformation") })
2018
2016
  ]
2019
2017
  }
2020
2018
  );
@@ -2073,21 +2071,21 @@ const q0 = ({
2073
2071
  interactiveLayers: a = [],
2074
2072
  popUp: c = !1,
2075
2073
  sources: u = [],
2076
- layers: C = []
2074
+ layers: h = []
2077
2075
  }) => {
2078
- const m = $e(), [b, g] = D(null), f = wt((_) => _.mapState.showTexts);
2076
+ const g = $e(), [y, C] = D(null), f = wt((_) => _.mapState.showTexts);
2079
2077
  return V(() => {
2080
- if (m.current) {
2081
- const _ = m.current.getMap();
2082
- _.getStyle().layers.map((y) => {
2083
- y.type == "symbol" && y.id != "professionals" && (f ? _.setLayoutProperty(y.id, "visibility", "visible") : _.setLayoutProperty(y.id, "visibility", "none"));
2078
+ if (g.current) {
2079
+ const _ = g.current.getMap();
2080
+ _.getStyle().layers.map((b) => {
2081
+ b.type == "symbol" && b.id != "professionals" && (f ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
2084
2082
  });
2085
2083
  }
2086
- }, [f]), /* @__PURE__ */ s("div", { className: `${j0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
2084
+ }, [f]), /* @__PURE__ */ s("div", { className: `${j0.mapContainer}`, style: r, children: /* @__PURE__ */ m(
2087
2085
  Nt,
2088
2086
  {
2089
2087
  initialViewState: n,
2090
- ref: m,
2088
+ ref: g,
2091
2089
  hash: !1,
2092
2090
  maxZoom: d,
2093
2091
  minZoom: o,
@@ -2099,11 +2097,11 @@ const q0 = ({
2099
2097
  kt,
2100
2098
  {
2101
2099
  ..._,
2102
- children: C.length && C.map((y, v) => {
2103
- if (y.sourceId == _.id) return /* @__PURE__ */ s(
2100
+ children: h.length && h.map((b, v) => {
2101
+ if (b.sourceId == _.id) return /* @__PURE__ */ s(
2104
2102
  Bt,
2105
2103
  {
2106
- ...y.layer,
2104
+ ...b.layer,
2107
2105
  beforeId: t
2108
2106
  },
2109
2107
  v
@@ -2113,13 +2111,13 @@ const q0 = ({
2113
2111
  p
2114
2112
  )),
2115
2113
  /* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
2116
- c && b && /* @__PURE__ */ s(
2114
+ c && y && /* @__PURE__ */ s(
2117
2115
  Dt,
2118
2116
  {
2119
2117
  longitude: c.longitude,
2120
2118
  latitude: c.latitude,
2121
2119
  anchor: c.anchor,
2122
- onClose: () => g(null),
2120
+ onClose: () => C(null),
2123
2121
  children: c.content
2124
2122
  }
2125
2123
  )
@@ -2179,12 +2177,12 @@ const z0 = "_mapContainer_b0pyr_3", Z0 = {
2179
2177
  title: K0
2180
2178
  }, U0 = ({ props: n }) => {
2181
2179
  const { t: d } = N();
2182
- return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
2183
- /* @__PURE__ */ h("span", { className: Ue.title, children: [
2180
+ return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ m("p", { children: [
2181
+ /* @__PURE__ */ m("span", { className: Ue.title, children: [
2184
2182
  /* @__PURE__ */ s(Ve, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "<" } }),
2185
2183
  ":"
2186
2184
  ] }),
2187
- isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */ h(Se, { children: [
2185
+ isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */ m(Se, { children: [
2188
2186
  o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2189
2187
  " ",
2190
2188
  d(o.unit)
@@ -2201,26 +2199,26 @@ const z0 = "_mapContainer_b0pyr_3", Z0 = {
2201
2199
  interactiveLayers: a = [],
2202
2200
  sources: c = [],
2203
2201
  layers: u = [],
2204
- filters: C,
2205
- popUpParams: m,
2206
- onClosePopUp: b,
2207
- showTexts: g
2202
+ filters: h,
2203
+ popUpParams: g,
2204
+ onClosePopUp: y,
2205
+ showTexts: C
2208
2206
  }) => {
2209
- console.log(C);
2207
+ console.log(h);
2210
2208
  const f = $e();
2211
2209
  return V(() => {
2212
2210
  if (f.current) {
2213
2211
  const _ = f.current.getMap();
2214
- _.getStyle().layers.map((y) => {
2215
- y.type == "symbol" && y.id != "professionals" && (g ? _.setLayoutProperty(y.id, "visibility", "visible") : _.setLayoutProperty(y.id, "visibility", "none"));
2212
+ _.getStyle().layers.map((b) => {
2213
+ b.type == "symbol" && b.id != "professionals" && (C ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
2216
2214
  });
2217
2215
  }
2218
- }, [g]), V(() => {
2216
+ }, [C]), V(() => {
2219
2217
  let _ = new Mt();
2220
2218
  return fe.addProtocol("pmtiles", _.tile), () => {
2221
2219
  fe.removeProtocol("pmtiles");
2222
2220
  };
2223
- }, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
2221
+ }, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ m(
2224
2222
  Lt,
2225
2223
  {
2226
2224
  mapLib: fe,
@@ -2237,13 +2235,13 @@ const z0 = "_mapContainer_b0pyr_3", Z0 = {
2237
2235
  Ft,
2238
2236
  {
2239
2237
  ..._,
2240
- children: u.length && u.map((y, v) => {
2241
- if (y.sourceId == _.id) return /* @__PURE__ */ s(
2238
+ children: u.length && u.map((b, v) => {
2239
+ if (b.sourceId == _.id) return /* @__PURE__ */ s(
2242
2240
  Tt,
2243
2241
  {
2244
- ...y.layer,
2242
+ ...b.layer,
2245
2243
  beforeId: t,
2246
- filter: C && C
2244
+ filter: h && h
2247
2245
  },
2248
2246
  v
2249
2247
  );
@@ -2252,13 +2250,13 @@ const z0 = "_mapContainer_b0pyr_3", Z0 = {
2252
2250
  p
2253
2251
  )),
2254
2252
  /* @__PURE__ */ s($t, { position: "bottom-right", visualizePitch: !0 }),
2255
- m && /* @__PURE__ */ s(
2253
+ g && /* @__PURE__ */ s(
2256
2254
  Vt,
2257
2255
  {
2258
- longitude: m.lng,
2259
- latitude: m.lat,
2260
- onClose: b,
2261
- children: /* @__PURE__ */ s(U0, { props: m.props })
2256
+ longitude: g.lng,
2257
+ latitude: g.lat,
2258
+ onClose: y,
2259
+ children: /* @__PURE__ */ s(U0, { props: g.props })
2262
2260
  }
2263
2261
  )
2264
2262
  ]
@@ -2324,10 +2322,10 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2324
2322
  width: r
2325
2323
  }) => {
2326
2324
  const { t: l } = N();
2327
- return /* @__PURE__ */ h("div", { className: K.sectionBar, style: { width: r && r }, children: [
2328
- /* @__PURE__ */ h("div", { className: K.leftContent, children: [
2325
+ return /* @__PURE__ */ m("div", { className: K.sectionBar, style: { width: r && r }, children: [
2326
+ /* @__PURE__ */ m("div", { className: K.leftContent, children: [
2329
2327
  n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: K.icon }),
2330
- /* @__PURE__ */ h("div", { className: K.textContainer, children: [
2328
+ /* @__PURE__ */ m("div", { className: K.textContainer, children: [
2331
2329
  /* @__PURE__ */ s("div", { className: K.title, children: l(d) }),
2332
2330
  o && /* @__PURE__ */ s("div", { className: K.subtitle, children: o })
2333
2331
  ] })
@@ -2366,18 +2364,18 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2366
2364
  sliderOpen: an,
2367
2365
  sliderResults: ln
2368
2366
  }, cn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2369
- const [l, a] = D(d), c = xt(), u = (y, v) => {
2367
+ const [l, a] = D(d), c = xt(), u = (b, v) => {
2370
2368
  a(v), c(we(v - 2e3));
2371
- }, [C, m] = D(!1), b = () => {
2372
- m(!0);
2373
- }, g = () => {
2374
- m(!1);
2369
+ }, [h, g] = D(!1), y = () => {
2370
+ g(!0);
2371
+ }, C = () => {
2372
+ g(!1);
2375
2373
  };
2376
- ((y, v) => {
2374
+ ((b, v) => {
2377
2375
  const x = $e();
2378
2376
  V(() => {
2379
- x.current = y;
2380
- }, [y]), V(() => {
2377
+ x.current = b;
2378
+ }, [b]), V(() => {
2381
2379
  function w() {
2382
2380
  x.current();
2383
2381
  }
@@ -2387,7 +2385,7 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2387
2385
  }
2388
2386
  }, [v]);
2389
2387
  })(() => {
2390
- C && (l != 2050 ? (a(l + 1), c(we(l - 2e3 + 1))) : (a(2025), c(we(25))));
2388
+ h && (l != 2050 ? (a(l + 1), c(we(l - 2e3 + 1))) : (a(2025), c(we(25))));
2391
2389
  }, 1e3);
2392
2390
  const _ = Ot({
2393
2391
  palette: {
@@ -2417,7 +2415,7 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2417
2415
  { label: "", value: 2041 },
2418
2416
  { label: "", value: 2050 }
2419
2417
  ];
2420
- return /* @__PURE__ */ s(Pt, { theme: _, children: /* @__PURE__ */ h(
2418
+ return /* @__PURE__ */ s(Pt, { theme: _, children: /* @__PURE__ */ m(
2421
2419
  Rt,
2422
2420
  {
2423
2421
  sx: { width: 400 },
@@ -2441,8 +2439,8 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2441
2439
  }
2442
2440
  ),
2443
2441
  i,
2444
- !C && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: b, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
2445
- C && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: g, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
2442
+ !h && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
2443
+ h && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: C, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
2446
2444
  ]
2447
2445
  }
2448
2446
  ) });
@@ -2581,15 +2579,15 @@ const Pn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2581
2579
  processTooltip: c,
2582
2580
  defaultTooltip: u
2583
2581
  }) => {
2584
- const { nom: C, created_at: m, id: b, isBeingProcessed: g } = n, [f, _] = D(!1), { t: p } = N();
2585
- return /* @__PURE__ */ h(
2582
+ const { nom: h, created_at: g, id: y, isBeingProcessed: C } = n, [f, _] = D(!1), { t: p } = N();
2583
+ return /* @__PURE__ */ m(
2586
2584
  "div",
2587
2585
  {
2588
2586
  className: O.listElement,
2589
2587
  style: { borderBottom: `1px solid ${t}` },
2590
2588
  children: [
2591
- /* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(b), children: [
2592
- l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
2589
+ /* @__PURE__ */ m("div", { className: O.elementNameDate, onClick: () => d(y), children: [
2590
+ l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ m("div", { className: O.elementName, children: [
2593
2591
  o ? /* @__PURE__ */ s(Rn, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
2594
2592
  "img",
2595
2593
  {
@@ -2597,37 +2595,37 @@ const Pn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2597
2595
  src: Pn
2598
2596
  }
2599
2597
  ),
2600
- /* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: C })
2598
+ /* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: h })
2601
2599
  ] }) }),
2602
- l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: m ? new Date(m).toLocaleDateString() : "" }),
2600
+ l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
2603
2601
  l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
2604
2602
  l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
2605
2603
  ] }),
2606
- /* @__PURE__ */ h("div", { className: O.elementButtons, children: [
2607
- n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2604
+ /* @__PURE__ */ m("div", { className: O.elementButtons, children: [
2605
+ n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2608
2606
  /* @__PURE__ */ s("img", { src: In }),
2609
2607
  /* @__PURE__ */ s(Y, { text: c, position: "left" })
2610
2608
  ] }),
2611
- a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2609
+ a.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2612
2610
  /* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: An }) }),
2613
2611
  /* @__PURE__ */ s(Y, { text: a.filter.tooltiptext, position: "left" })
2614
2612
  ] }),
2615
- a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2613
+ a.copy && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2616
2614
  /* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Vn }) }),
2617
2615
  /* @__PURE__ */ s(Y, { text: a.copy.tooltiptext, position: "left" })
2618
2616
  ] }),
2619
- a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2617
+ a.trash && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2620
2618
  /* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: $n }) }),
2621
2619
  /* @__PURE__ */ s(Y, { text: a.trash.tooltiptext, position: "left" })
2622
2620
  ] }),
2623
- n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2621
+ n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2624
2622
  /* @__PURE__ */ s("img", { src: On }),
2625
2623
  /* @__PURE__ */ s(Y, { text: u, position: "left" })
2626
2624
  ] })
2627
2625
  ] }),
2628
2626
  r && /* @__PURE__ */ s("div", { className: O.break }),
2629
- r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
2630
- /* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => _(!f), children: [
2627
+ r && /* @__PURE__ */ m("div", { className: O.moreInfoContainer, children: [
2628
+ /* @__PURE__ */ m("div", { className: O.moreInfo, onClick: () => _(!f), children: [
2631
2629
  /* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
2632
2630
  p(r.label)
2633
2631
  ] }),
@@ -2681,71 +2679,71 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2681
2679
  containerStyles: r = {},
2682
2680
  newElementButton: l,
2683
2681
  //{label: 'text', onClick: function()}/null
2684
- onClickElement: a = (g) => console.log(`OnCLickElement: ${g}`),
2682
+ onClickElement: a = (C) => console.log(`OnCLickElement: ${C}`),
2685
2683
  columns: c,
2686
2684
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2687
2685
  elementButtons: u,
2688
2686
  //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
2689
- moreInfo: C = !1,
2687
+ moreInfo: h = !1,
2690
2688
  //{label: 'x'}
2691
- processTooltip: m,
2689
+ processTooltip: g,
2692
2690
  //texto para el tooltip del simbolo "En proceso"
2693
- defaultTooltip: b
2691
+ defaultTooltip: y
2694
2692
  //texto para el tooltip del símbolo de candado para los elementos default
2695
2693
  }) => {
2696
- const { t: g } = N(), [f, _] = D(n);
2694
+ const { t: C } = N(), [f, _] = D(n);
2697
2695
  V(() => {
2698
2696
  n && _(n);
2699
2697
  }, [n]);
2700
- const p = (y) => {
2698
+ const p = (b) => {
2701
2699
  if (f && f.length > 0) {
2702
2700
  let v = [...f];
2703
- v.sort((x, w) => x[y].localeCompare(w[y])), _(v);
2701
+ v.sort((x, w) => x[b].localeCompare(w[b])), _(v);
2704
2702
  }
2705
2703
  };
2706
- return /* @__PURE__ */ h(
2704
+ return /* @__PURE__ */ m(
2707
2705
  "div",
2708
2706
  {
2709
2707
  className: j.elementSelector,
2710
2708
  style: { color: o, ...r },
2711
2709
  children: [
2712
- /* @__PURE__ */ h(
2710
+ /* @__PURE__ */ m(
2713
2711
  "div",
2714
2712
  {
2715
2713
  className: j.header,
2716
2714
  style: { borderBottom: `1px solid ${o}` },
2717
2715
  children: [
2718
- /* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
2719
- c.nom && /* @__PURE__ */ s("div", { className: j.elementName, children: /* @__PURE__ */ h("button", { onClick: () => p("name"), children: [
2720
- /* @__PURE__ */ s("span", { children: g(c.nom) }),
2716
+ /* @__PURE__ */ m("div", { className: j.nameDateContainer, children: [
2717
+ c.nom && /* @__PURE__ */ s("div", { className: j.elementName, children: /* @__PURE__ */ m("button", { onClick: () => p("name"), children: [
2718
+ /* @__PURE__ */ s("span", { children: C(c.nom) }),
2721
2719
  /* @__PURE__ */ s("img", { src: Ye })
2722
2720
  ] }) }),
2723
- c.data && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => p("date"), children: [
2724
- /* @__PURE__ */ s("span", { children: g(c.data) }),
2721
+ c.data && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => p("date"), children: [
2722
+ /* @__PURE__ */ s("span", { children: C(c.data) }),
2725
2723
  /* @__PURE__ */ s("img", { src: Ye })
2726
2724
  ] }) }),
2727
- c.ambit && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.ambit) }) }),
2728
- c.escenari && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.escenari) }) })
2725
+ c.ambit && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: C(c.ambit) }) }),
2726
+ c.escenari && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: C(c.escenari) }) })
2729
2727
  ] }),
2730
2728
  /* @__PURE__ */ s("div", { className: j.buttonsContainer })
2731
2729
  ]
2732
2730
  }
2733
2731
  ),
2734
- /* @__PURE__ */ s("div", { className: j.elementListContainer, children: f && f.length > 0 && f.map((y) => /* @__PURE__ */ s(
2732
+ /* @__PURE__ */ s("div", { className: j.elementListContainer, children: f && f.length > 0 && f.map((b) => /* @__PURE__ */ s(
2735
2733
  ut,
2736
2734
  {
2737
- isActive: d == y.id,
2738
- listelement: y,
2735
+ isActive: d == b.id,
2736
+ listelement: b,
2739
2737
  fontColor: o,
2740
2738
  activeColor: i,
2741
2739
  onClickElement: a,
2742
2740
  columns: c,
2743
2741
  elementButtons: u,
2744
- moreInfo: C,
2745
- processTooltip: m,
2746
- defaultTooltip: b
2742
+ moreInfo: h,
2743
+ processTooltip: g,
2744
+ defaultTooltip: y
2747
2745
  },
2748
- `elementKey${y.id}`
2746
+ `elementKey${b.id}`
2749
2747
  )) }),
2750
2748
  l && /* @__PURE__ */ s("div", { className: j.newElementButtonContainer, children: /* @__PURE__ */ s(
2751
2749
  ge,
@@ -2753,7 +2751,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2753
2751
  style: { ...t },
2754
2752
  onClick: l.onClick,
2755
2753
  borderColor: "grey",
2756
- children: g(l.label)
2754
+ children: C(l.label)
2757
2755
  }
2758
2756
  ) })
2759
2757
  ]
@@ -2915,7 +2913,7 @@ function s1(n) {
2915
2913
  values: !0
2916
2914
  },
2917
2915
  exact: l,
2918
- callback: (C) => !r && u(o1(i, o._names, C.values || o._formValues, !1, a.current))
2916
+ callback: (h) => !r && u(o1(i, o._names, h.values || o._formValues, !1, a.current))
2919
2917
  }), [i, o, r, l]), B.useEffect(() => o._removeUnmounted()), c;
2920
2918
  }
2921
2919
  function r1(n) {
@@ -2928,11 +2926,11 @@ function r1(n) {
2928
2926
  control: t,
2929
2927
  name: o,
2930
2928
  exact: !0
2931
- }), u = B.useRef(n), C = B.useRef(t.register(o, {
2929
+ }), u = B.useRef(n), h = B.useRef(t.register(o, {
2932
2930
  ...n.rules,
2933
2931
  value: a,
2934
2932
  ...Ne(n.disabled) ? { disabled: n.disabled } : {}
2935
- })), m = B.useMemo(() => Object.defineProperties({}, {
2933
+ })), g = B.useMemo(() => Object.defineProperties({}, {
2936
2934
  invalid: {
2937
2935
  enumerable: !0,
2938
2936
  get: () => !!A(c.errors, o)
@@ -2953,21 +2951,21 @@ function r1(n) {
2953
2951
  enumerable: !0,
2954
2952
  get: () => A(c.errors, o)
2955
2953
  }
2956
- }), [c, o]), b = B.useCallback((p) => C.current.onChange({
2954
+ }), [c, o]), y = B.useCallback((p) => h.current.onChange({
2957
2955
  target: {
2958
2956
  value: Yn(p),
2959
2957
  name: o
2960
2958
  },
2961
2959
  type: Qe.CHANGE
2962
- }), [o]), g = B.useCallback(() => C.current.onBlur({
2960
+ }), [o]), C = B.useCallback(() => h.current.onBlur({
2963
2961
  target: {
2964
2962
  value: A(t._formValues, o),
2965
2963
  name: o
2966
2964
  },
2967
2965
  type: Qe.BLUR
2968
2966
  }), [o, t._formValues]), f = B.useCallback((p) => {
2969
- const y = A(t._fields, o);
2970
- y && p && (y._f.ref = {
2967
+ const b = A(t._fields, o);
2968
+ b && p && (b._f.ref = {
2971
2969
  focus: () => p.focus && p.focus(),
2972
2970
  select: () => p.select && p.select(),
2973
2971
  setCustomValidity: (v) => p.setCustomValidity(v),
@@ -2977,26 +2975,26 @@ function r1(n) {
2977
2975
  name: o,
2978
2976
  value: a,
2979
2977
  ...Ne(i) || c.disabled ? { disabled: c.disabled || i } : {},
2980
- onChange: b,
2981
- onBlur: g,
2978
+ onChange: y,
2979
+ onBlur: C,
2982
2980
  ref: f
2983
- }), [o, i, c.disabled, b, g, f, a]);
2981
+ }), [o, i, c.disabled, y, C, f, a]);
2984
2982
  return B.useEffect(() => {
2985
2983
  const p = t._options.shouldUnregister || r;
2986
2984
  t.register(o, {
2987
2985
  ...u.current.rules,
2988
2986
  ...Ne(u.current.disabled) ? { disabled: u.current.disabled } : {}
2989
2987
  });
2990
- const y = (v, x) => {
2988
+ const b = (v, x) => {
2991
2989
  const w = A(t._fields, v);
2992
2990
  w && w._f && (w._f.mount = x);
2993
2991
  };
2994
- if (y(o, !0), p) {
2992
+ if (b(o, !0), p) {
2995
2993
  const v = mt(A(t._options.defaultValues, o));
2996
2994
  We(t._defaultValues, o, v), Te(A(t._formValues, o)) && We(t._formValues, o, v);
2997
2995
  }
2998
2996
  return !l && t.register(o), () => {
2999
- (l ? p && !t._state.action : p) ? t.unregister(o) : y(o, !1);
2997
+ (l ? p && !t._state.action : p) ? t.unregister(o) : b(o, !1);
3000
2998
  };
3001
2999
  }, [o, t, l, r]), B.useEffect(() => {
3002
3000
  t._setDisabledField({
@@ -3006,8 +3004,8 @@ function r1(n) {
3006
3004
  }, [i, o, t]), B.useMemo(() => ({
3007
3005
  field: _,
3008
3006
  formState: c,
3009
- fieldState: m
3010
- }), [_, c, m]);
3007
+ fieldState: g
3008
+ }), [_, c, g]);
3011
3009
  }
3012
3010
  const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3013
3011
  errorMessage: a1
@@ -3035,42 +3033,42 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3035
3033
  validateFunction: a,
3036
3034
  placeholder: c,
3037
3035
  errorColor: u = "red",
3038
- width: C = 325,
3039
- onClickForgotPass: m = () => {
3036
+ width: h = 325,
3037
+ onClickForgotPass: g = () => {
3040
3038
  console.log("Click on forgot password");
3041
3039
  },
3042
- forgotPassLabel: b = "forgot-password"
3043
- } = n, { t: g } = N(), [f, _] = D(!1), p = () => i ? i === "password" && f ? "text" : i : "text";
3040
+ forgotPassLabel: y = "forgot-password"
3041
+ } = n, { t: C } = N(), [f, _] = D(!1), p = () => i ? i === "password" && f ? "text" : i : "text";
3044
3042
  return /* @__PURE__ */ s(
3045
3043
  Pe,
3046
3044
  {
3047
3045
  name: o,
3048
3046
  control: d,
3049
3047
  rules: {
3050
- required: l ? `${g(t)} ${g("errorMessages.required")}` : !1,
3048
+ required: l ? `${C(t)} ${C("errorMessages.required")}` : !1,
3051
3049
  maxLength: r || void 0,
3052
3050
  validate: a || void 0
3053
3051
  },
3054
- render: ({ field: y, fieldState: v }) => {
3052
+ render: ({ field: b, fieldState: v }) => {
3055
3053
  var x;
3056
- return /* @__PURE__ */ h("div", { className: oe.textInputContainer, children: [
3057
- /* @__PURE__ */ h("h3", { className: oe.labelContainer, children: [
3058
- g(t),
3054
+ return /* @__PURE__ */ m("div", { className: oe.textInputContainer, children: [
3055
+ /* @__PURE__ */ m("h3", { className: oe.labelContainer, children: [
3056
+ C(t),
3059
3057
  " ",
3060
3058
  l && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
3061
3059
  ] }),
3062
- /* @__PURE__ */ h(
3060
+ /* @__PURE__ */ m(
3063
3061
  "div",
3064
3062
  {
3065
- style: { position: "relative", width: C },
3063
+ style: { position: "relative", width: h },
3066
3064
  className: oe.inputContainer,
3067
3065
  children: [
3068
3066
  /* @__PURE__ */ s(
3069
3067
  "input",
3070
3068
  {
3071
3069
  type: p(),
3072
- ...y,
3073
- placeholder: c ? g(c) : "",
3070
+ ...b,
3071
+ placeholder: c ? C(c) : "",
3074
3072
  maxLength: r || void 0
3075
3073
  }
3076
3074
  ),
@@ -3086,7 +3084,7 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3086
3084
  ]
3087
3085
  }
3088
3086
  ),
3089
- i == "password" && /* @__PURE__ */ s("div", { className: oe.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: m, children: g(b) }) }),
3087
+ i == "password" && /* @__PURE__ */ s("div", { className: oe.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: C(y) }) }),
3090
3088
  /* @__PURE__ */ s(
3091
3089
  Ce,
3092
3090
  {
@@ -3121,46 +3119,46 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3121
3119
  validateFunction: a,
3122
3120
  placeholder: c,
3123
3121
  errorColor: u = "red",
3124
- width: C = 325,
3125
- options: m = []
3126
- } = n, { t: b } = N();
3122
+ width: h = 325,
3123
+ options: g = []
3124
+ } = n, { t: y } = N();
3127
3125
  return /* @__PURE__ */ s(
3128
3126
  Pe,
3129
3127
  {
3130
3128
  name: o,
3131
3129
  control: d,
3132
3130
  rules: {
3133
- required: l ? `${b(t)} ${b("errorMessages.required")}` : !1,
3131
+ required: l ? `${y(t)} ${y("errorMessages.required")}` : !1,
3134
3132
  validate: a || void 0
3135
3133
  },
3136
- render: ({ field: g, fieldState: f }) => {
3134
+ render: ({ field: C, fieldState: f }) => {
3137
3135
  var _;
3138
- return /* @__PURE__ */ h("div", { className: ee.selectInputContainer, children: [
3139
- /* @__PURE__ */ h("h3", { className: ee.labelContainer, children: [
3140
- b(t),
3136
+ return /* @__PURE__ */ m("div", { className: ee.selectInputContainer, children: [
3137
+ /* @__PURE__ */ m("h3", { className: ee.labelContainer, children: [
3138
+ y(t),
3141
3139
  " ",
3142
3140
  l && /* @__PURE__ */ s("label", { style: { color: f.error ? u : "" }, children: "*" })
3143
3141
  ] }),
3144
- /* @__PURE__ */ h("div", { className: ee.inputContainer, style: { width: C }, children: [
3145
- /* @__PURE__ */ h(
3142
+ /* @__PURE__ */ m("div", { className: ee.inputContainer, style: { width: h }, children: [
3143
+ /* @__PURE__ */ m(
3146
3144
  "select",
3147
3145
  {
3148
- ...g,
3146
+ ...C,
3149
3147
  onChange: (p) => {
3150
- const y = p.target.value, v = m.every((x) => typeof x.value == "number") ? Number(y) : y;
3151
- g.onChange(v);
3148
+ const b = p.target.value, v = g.every((x) => typeof x.value == "number") ? Number(b) : b;
3149
+ C.onChange(v);
3152
3150
  },
3153
3151
  className: ee.selectInput,
3154
3152
  children: [
3155
- /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: b(c || "selectOption") }),
3156
- m.map((p, y) => /* @__PURE__ */ s(
3153
+ /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: y(c || "selectOption") }),
3154
+ g.map((p, b) => /* @__PURE__ */ s(
3157
3155
  "option",
3158
3156
  {
3159
3157
  value: p.value,
3160
3158
  className: ee.option,
3161
- children: b(p.label)
3159
+ children: y(p.label)
3162
3160
  },
3163
- y
3161
+ b
3164
3162
  ))
3165
3163
  ]
3166
3164
  }
@@ -3203,16 +3201,16 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3203
3201
  validateFunction: a,
3204
3202
  placeholder: c,
3205
3203
  errorColor: u = "red",
3206
- width: C = 325,
3207
- options: m = [],
3208
- multi: b = !1
3209
- } = n, { t: g } = N(), f = ({ options: p, onChange: y, actualValue: v }) => {
3210
- if (b && v && v.length > 0) {
3204
+ width: h = 325,
3205
+ options: g = [],
3206
+ multi: y = !1
3207
+ } = n, { t: C } = N(), f = ({ options: p, onChange: b, actualValue: v }) => {
3208
+ if (y && v && v.length > 0) {
3211
3209
  let x = v.filter((w) => w !== p);
3212
- y(x);
3210
+ b(x);
3213
3211
  }
3214
- }, _ = ({ options: p, onChange: y, actualValue: v }) => {
3215
- b ? v && v.length > 0 ? y([...v, p]) : y([p]) : y(p);
3212
+ }, _ = ({ options: p, onChange: b, actualValue: v }) => {
3213
+ y ? v && v.length > 0 ? b([...v, p]) : b([p]) : b(p);
3216
3214
  };
3217
3215
  return /* @__PURE__ */ s(
3218
3216
  Pe,
@@ -3220,48 +3218,48 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3220
3218
  control: d,
3221
3219
  name: o,
3222
3220
  rules: {
3223
- validate: (p) => l && (p == null || p === "") ? `${g(t)} ${g("errorMessages.required")}` : null
3221
+ validate: (p) => l && (p == null || p === "") ? `${C(t)} ${C("errorMessages.required")}` : null
3224
3222
  },
3225
3223
  render: ({
3226
3224
  formState: { errors: p },
3227
- field: { onChange: y, onBlur: v, value: x, ref: w },
3225
+ field: { onChange: b, onBlur: v, value: x, ref: w },
3228
3226
  fieldState: k
3229
3227
  }) => {
3230
3228
  var L;
3231
- return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ h("div", { className: U.wholeInputContainer, children: [
3229
+ return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: U.wholeInputContainer, children: [
3232
3230
  t && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ s(
3233
3231
  "h3",
3234
3232
  {
3235
3233
  htmlFor: o + "id",
3236
3234
  className: `${U.radioQuestion} ${l && U.required}`,
3237
- children: g(t)
3235
+ children: C(t)
3238
3236
  }
3239
3237
  ) }),
3240
- /* @__PURE__ */ h("div", { className: U.inputContainer, children: [
3241
- m.map(
3238
+ /* @__PURE__ */ m("div", { className: U.inputContainer, children: [
3239
+ g.map(
3242
3240
  ({
3243
3241
  label: F,
3244
3242
  value: q,
3245
3243
  disabled: ae = !1,
3246
3244
  italicLabel: le
3247
3245
  }, R) => {
3248
- const P = x && b ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === q) : x === q;
3249
- return /* @__PURE__ */ h("label", { children: [
3246
+ const P = x && y ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === q) : x === q;
3247
+ return /* @__PURE__ */ m("label", { children: [
3250
3248
  /* @__PURE__ */ s(
3251
3249
  "input",
3252
3250
  {
3253
3251
  type: "radio",
3254
3252
  checked: P,
3255
3253
  onChange: () => {
3256
- b ? P ? f({
3254
+ y ? P ? f({
3257
3255
  actualValue: x,
3258
- options: m,
3259
- onChange: y
3256
+ options: g,
3257
+ onChange: b
3260
3258
  }) : _({
3261
3259
  actualValue: x,
3262
- options: m,
3263
- onChange: y
3264
- }) : y(q);
3260
+ options: g,
3261
+ onChange: b
3262
+ }) : b(q);
3265
3263
  },
3266
3264
  className: U.radioInput
3267
3265
  }
@@ -3287,7 +3285,7 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3287
3285
  const { inputType: r } = i;
3288
3286
  switch (r) {
3289
3287
  case pe.text:
3290
- const { code: l, type: a, label: c, maxLength: u, required: C, validateFunction: m } = i;
3288
+ const { code: l, type: a, label: c, maxLength: u, required: h, validateFunction: g } = i;
3291
3289
  return /* @__PURE__ */ s(
3292
3290
  "div",
3293
3291
  {
@@ -3340,19 +3338,19 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3340
3338
  submitButtonStyles: a = { width: 325 },
3341
3339
  activeCategory: c = null,
3342
3340
  // If provided, only the category with this categoryId will be displayed.
3343
- onSubmit: u = (C) => console.log("Form submitted with data: ", C)
3341
+ onSubmit: u = (h) => console.log("Form submitted with data: ", h)
3344
3342
  }) => {
3345
3343
  const {
3346
- register: C,
3347
- handleSubmit: m,
3348
- watch: b,
3349
- control: g,
3344
+ register: h,
3345
+ handleSubmit: g,
3346
+ watch: y,
3347
+ control: C,
3350
3348
  formState: { errors: f }
3351
3349
  } = n, { t: _ } = N();
3352
3350
  return (
3353
3351
  /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3354
- /* @__PURE__ */ h("form", { className: ke.formContainer, onSubmit: m(u), children: [
3355
- /* @__PURE__ */ s("div", { className: ke.formObjectContainer, children: d && d.map((p, y) => {
3352
+ /* @__PURE__ */ m("form", { className: ke.formContainer, onSubmit: g(u), children: [
3353
+ /* @__PURE__ */ s("div", { className: ke.formObjectContainer, children: d && d.map((p, b) => {
3356
3354
  const { inputs: v } = p;
3357
3355
  return p.category ? o ? /* @__PURE__ */ s(
3358
3356
  "div",
@@ -3369,16 +3367,16 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3369
3367
  Be,
3370
3368
  {
3371
3369
  inputs: v,
3372
- control: g,
3370
+ control: C,
3373
3371
  inputContainerStyles: i,
3374
3372
  errorColor: r
3375
3373
  }
3376
3374
  )
3377
3375
  },
3378
- `${p.category}${y}`
3376
+ `${p.category}${b}`
3379
3377
  )
3380
3378
  }
3381
- ) : /* @__PURE__ */ h(
3379
+ ) : /* @__PURE__ */ m(
3382
3380
  "div",
3383
3381
  {
3384
3382
  style: {
@@ -3392,25 +3390,25 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3392
3390
  Be,
3393
3391
  {
3394
3392
  inputs: v,
3395
- control: g,
3393
+ control: C,
3396
3394
  inputContainerStyles: i,
3397
3395
  errorColor: r
3398
3396
  }
3399
3397
  ) })
3400
3398
  ]
3401
3399
  },
3402
- `${p.category}${y}`
3400
+ `${p.category}${b}`
3403
3401
  ) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3404
3402
  Be,
3405
3403
  {
3406
3404
  inputContainerStyles: i,
3407
3405
  inputs: v,
3408
- control: g,
3406
+ control: C,
3409
3407
  errorColor: r
3410
3408
  }
3411
- ) }, `inputKey${y}`);
3409
+ ) }, `inputKey${b}`);
3412
3410
  }) }),
3413
- /* @__PURE__ */ h("div", { className: ke.buttonContainer, children: [
3411
+ /* @__PURE__ */ m("div", { className: ke.buttonContainer, children: [
3414
3412
  /* @__PURE__ */ s(ge, { containerStyles: a, type: "submit", children: _(l) }),
3415
3413
  /* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
3416
3414
  ] })
@@ -3432,7 +3430,7 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3432
3430
  backgroundColor: l = "#605B56",
3433
3431
  isFooter: a = !1
3434
3432
  // If true, it will apply footer styles
3435
- }) => /* @__PURE__ */ h(
3433
+ }) => /* @__PURE__ */ m(
3436
3434
  "div",
3437
3435
  {
3438
3436
  className: G.header,
@@ -3480,7 +3478,7 @@ const A1 = "_sidebar_pt7g1_2", I1 = "_open_pt7g1_16", O1 = "_content_pt7g1_20",
3480
3478
  {
3481
3479
  className: `${me.sidebar} ${o ? me.open : ""}`,
3482
3480
  style: { width: o ? n : 0 },
3483
- children: o && /* @__PURE__ */ h("div", { className: me.content, children: [
3481
+ children: o && /* @__PURE__ */ m("div", { className: me.content, children: [
3484
3482
  /* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: P1, alt: "Close Sidebar" }) }),
3485
3483
  d
3486
3484
  ] })