@tmf_ciclica/ciclicastorybook 1.1.110 → 1.1.111

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,39 +1,39 @@
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_qs4x9_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_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_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_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_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_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{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_1fmjn_2{position:absolute;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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { jsxs as p, jsx as s, Fragment as De } from "react/jsx-runtime";
3
- import * as te from "react";
4
- import B, { useState as L, useEffect as $, useMemo as ae, useLayoutEffect as yt, useRef as ne } from "react";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.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_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._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_qs4x9_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_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_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_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_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_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1yj0p_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;width:100%}._rankingSliderContainer_1yj0p_2 ._labelContainer_1yj0p_11{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15{width:100%;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._slider_1yj0p_19{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._thumb_1yj0p_25{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackLeft_1yj0p_35,._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackRight_1yj0p_40{height:6px;border-radius:9999px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 ._labelsText_1yj0p_60{color:#605b56}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._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_1fmjn_2{position:absolute;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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { jsxs as p, jsx as s, Fragment as Fe } from "react/jsx-runtime";
3
+ import * as ce from "react";
4
+ import $, { useState as D, useEffect as M, useMemo as he, useLayoutEffect as kt, useRef as te } from "react";
5
5
  import e from "prop-types";
6
- import { useTranslation as k, Trans as Ve } from "react-i18next";
7
- import { motion as Ae } from "framer-motion";
8
- import { create as _t } from "zustand";
9
- import * as Ee from "d3";
10
- import vt from "mapbox-gl";
11
- import { useSelector as wt, useDispatch as xt } from "react-redux";
12
- import Nt, { Source as kt, Layer as Bt, NavigationControl as St, Popup as Dt } from "react-map-gl/mapbox";
13
- import be from "maplibre-gl";
14
- import { Protocol as Mt } from "pmtiles";
15
- import Lt, { Source as $t, Layer as Ft, NavigationControl as Tt, Popup as Vt } from "react-map-gl/maplibre";
16
- import { createSlice as At } from "@reduxjs/toolkit";
17
- import It from "@mui/material/Slider";
18
- import { createTheme as Ot, Box as Rt } from "@mui/material";
19
- import { ThemeProvider as qt } from "@emotion/react";
20
- import { NavLink as Et } from "react-router-dom";
21
- const Pt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateContainer_mcunf_23", Zt = "_ambitName_mcunf_39", Kt = "_ambitDate_mcunf_53", Ht = "_buttonsContainer_mcunf_67", Ut = "_ambitListContainer_mcunf_76", Gt = "_newAmbitButtonContainer_mcunf_80", j = {
22
- ambitSelector: Pt,
23
- header: zt,
24
- nameDateContainer: jt,
25
- ambitName: Zt,
26
- ambitDate: Kt,
27
- buttonsContainer: Ht,
28
- ambitListContainer: Ut,
29
- newAmbitButtonContainer: Gt
30
- }, Yt = "_ambitItem_1qa6u_2", Wt = "_ambitNameDate_1qa6u_16", Qt = "_ambitName_1qa6u_16", Xt = "_ambitDate_1qa6u_35", Jt = "_ambitButtons_1qa6u_38", ie = {
31
- ambitItem: Yt,
32
- ambitNameDate: Wt,
33
- ambitName: Qt,
34
- ambitDate: Xt,
35
- ambitButtons: Jt
36
- }, e2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", t2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", n2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", i2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", o2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", et = ({
6
+ import { useTranslation as k, Trans as qe } from "react-i18next";
7
+ import { motion as Ee } from "framer-motion";
8
+ import { create as Bt } from "zustand";
9
+ import * as Ze from "d3";
10
+ import St from "mapbox-gl";
11
+ import { useSelector as $t, useDispatch as Dt } from "react-redux";
12
+ import Mt, { Source as Lt, Layer as Tt, NavigationControl as Ft, Popup as Vt } from "react-map-gl/mapbox";
13
+ import we from "maplibre-gl";
14
+ import { Protocol as At } from "pmtiles";
15
+ import It, { Source as Ot, Layer as Rt, NavigationControl as qt, Popup as Et } from "react-map-gl/maplibre";
16
+ import { createSlice as Pt } from "@reduxjs/toolkit";
17
+ import jt from "@mui/material/Slider";
18
+ import { createTheme as zt, Box as Zt } from "@mui/material";
19
+ import { ThemeProvider as Kt } from "@emotion/react";
20
+ import { NavLink as Ht } from "react-router-dom";
21
+ const Ut = "_ambitSelector_mcunf_2", Gt = "_header_mcunf_13", Wt = "_nameDateContainer_mcunf_23", Yt = "_ambitName_mcunf_39", Qt = "_ambitDate_mcunf_53", Xt = "_buttonsContainer_mcunf_67", Jt = "_ambitListContainer_mcunf_76", e2 = "_newAmbitButtonContainer_mcunf_80", H = {
22
+ ambitSelector: Ut,
23
+ header: Gt,
24
+ nameDateContainer: Wt,
25
+ ambitName: Yt,
26
+ ambitDate: Qt,
27
+ buttonsContainer: Xt,
28
+ ambitListContainer: Jt,
29
+ newAmbitButtonContainer: e2
30
+ }, t2 = "_ambitItem_1qa6u_2", n2 = "_ambitNameDate_1qa6u_16", i2 = "_ambitName_1qa6u_16", o2 = "_ambitDate_1qa6u_35", s2 = "_ambitButtons_1qa6u_38", de = {
31
+ ambitItem: t2,
32
+ ambitNameDate: n2,
33
+ ambitName: i2,
34
+ ambitDate: o2,
35
+ ambitButtons: s2
36
+ }, r2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", a2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", l2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", c2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", d2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", u2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ot = ({
37
37
  ambit: n,
38
38
  onClickCopy: d,
39
39
  onClickDelete: i,
@@ -44,37 +44,37 @@ const Pt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
44
44
  fontColor: l,
45
45
  moreInfo: c
46
46
  }) => {
47
- const { nom: u, created_at: m, id: h, isBeingProcessed: _ } = n;
47
+ const { nom: u, created_at: m, id: g, isBeingProcessed: _ } = n;
48
48
  return /* @__PURE__ */ p(
49
49
  "div",
50
50
  {
51
- className: ie.ambitItem,
51
+ className: de.ambitItem,
52
52
  style: { borderBottom: `1px solid ${l}` },
53
53
  children: [
54
- /* @__PURE__ */ p("div", { className: ie.ambitNameDate, onClick: () => t(h), children: [
55
- /* @__PURE__ */ p("div", { className: ie.ambitName, children: [
54
+ /* @__PURE__ */ p("div", { className: de.ambitNameDate, onClick: () => t(g), children: [
55
+ /* @__PURE__ */ p("div", { className: de.ambitName, children: [
56
56
  /* @__PURE__ */ s(
57
57
  "img",
58
58
  {
59
59
  style: { marginRight: 9 },
60
- src: r ? o2 : s2
60
+ src: r ? d2 : u2
61
61
  }
62
62
  ),
63
63
  /* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
64
64
  ] }),
65
- /* @__PURE__ */ s("div", { className: ie.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
65
+ /* @__PURE__ */ s("div", { className: de.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ p("div", { className: ie.ambitButtons, children: [
68
- _ && /* @__PURE__ */ s("img", { src: i2 }),
69
- /* @__PURE__ */ s("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
70
- /* @__PURE__ */ s("button", { onClick: () => d(h), children: /* @__PURE__ */ s("img", { src: t2 }) }),
71
- /* @__PURE__ */ s("button", { onClick: () => i(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
67
+ /* @__PURE__ */ p("div", { className: de.ambitButtons, children: [
68
+ _ && /* @__PURE__ */ s("img", { src: c2 }),
69
+ /* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: l2 }) }),
70
+ /* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: a2 }) }),
71
+ /* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: r2 }) })
72
72
  ] })
73
73
  ]
74
74
  }
75
75
  );
76
76
  };
77
- et.propTypes = {
77
+ ot.propTypes = {
78
78
  ambit: e.shape({
79
79
  nom: e.string.isRequired,
80
80
  created_at: e.string,
@@ -92,19 +92,20 @@ et.propTypes = {
92
92
  moreInfo: e.object
93
93
  // Optional, can be used for additional info
94
94
  };
95
- const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", r2 = "_generalButton_8d6ru_2", a2 = {
96
- generalButton: r2
97
- }, Ce = ({
95
+ const Ke = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", p2 = "_generalButton_phq4n_2", m2 = {
96
+ generalButton: p2
97
+ }, ye = ({
98
98
  children: n,
99
99
  onClick: d,
100
100
  fontColor: i = "#605B56",
101
101
  borderColor: o = "#605B56",
102
102
  type: t = "button",
103
- containerStyles: r = {}
103
+ containerStyles: r = {},
104
+ disabled: a = !1
104
105
  }) => /* @__PURE__ */ s(
105
106
  "button",
106
107
  {
107
- className: a2.generalButton,
108
+ className: m2.generalButton,
108
109
  style: {
109
110
  color: i,
110
111
  border: `1.5px solid ${o}`,
@@ -112,9 +113,10 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
112
113
  },
113
114
  onClick: d,
114
115
  type: t,
116
+ disabled: a,
115
117
  children: n
116
118
  }
117
- ), l2 = ({
119
+ ), h2 = ({
118
120
  ambitList: n,
119
121
  activeAmbitId: d,
120
122
  fontColor: i = "#605B56",
@@ -125,75 +127,75 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
125
127
  buttonContainerStyles: l = {},
126
128
  containerStyles: c = {},
127
129
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
128
- onClickCopy: m = (g) => console.log(`Copy ambit: ${g}`),
129
- onCLickDelete: h = (g) => console.log(`Delete ambit: ${g}`),
130
- onClickFilters: _ = (g) => console.log(`Filters clicked: ${g}`),
131
- onClickAmbit: f = (g) => console.log(`OnCLickAmbit: ${g}`)
130
+ onClickCopy: m = (h) => console.log(`Copy ambit: ${h}`),
131
+ onCLickDelete: g = (h) => console.log(`Delete ambit: ${h}`),
132
+ onClickFilters: _ = (h) => console.log(`Filters clicked: ${h}`),
133
+ onClickAmbit: v = (h) => console.log(`OnCLickAmbit: ${h}`)
132
134
  }) => {
133
- const { t: g } = k(), [y, C] = L(n);
134
- $(() => {
135
+ const { t: h } = k(), [f, C] = D(n);
136
+ M(() => {
135
137
  n && C(n);
136
138
  }, [n]);
137
- const b = (w) => {
138
- if (y && y.length > 0) {
139
- let x = [...y];
140
- x.sort((v, N) => v[w].localeCompare(N[w])), C(x);
139
+ const b = (y) => {
140
+ if (f && f.length > 0) {
141
+ let w = [...f];
142
+ w.sort((x, N) => x[y].localeCompare(N[y])), C(w);
141
143
  }
142
144
  };
143
145
  return /* @__PURE__ */ p(
144
146
  "div",
145
147
  {
146
- className: j.ambitSelector,
148
+ className: H.ambitSelector,
147
149
  style: { color: i, ...c },
148
150
  children: [
149
151
  /* @__PURE__ */ p(
150
152
  "div",
151
153
  {
152
- className: j.header,
154
+ className: H.header,
153
155
  style: { borderBottom: `1px solid ${i}` },
154
156
  children: [
155
- /* @__PURE__ */ p("div", { className: j.nameDateContainer, children: [
156
- /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
157
- /* @__PURE__ */ s("span", { children: g(t) }),
158
- /* @__PURE__ */ s("img", { src: Pe })
157
+ /* @__PURE__ */ p("div", { className: H.nameDateContainer, children: [
158
+ /* @__PURE__ */ s("div", { className: H.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
159
+ /* @__PURE__ */ s("span", { children: h(t) }),
160
+ /* @__PURE__ */ s("img", { src: Ke })
159
161
  ] }) }),
160
- /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
161
- /* @__PURE__ */ s("span", { children: g(r) }),
162
- /* @__PURE__ */ s("img", { src: Pe })
162
+ /* @__PURE__ */ s("div", { className: H.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
163
+ /* @__PURE__ */ s("span", { children: h(r) }),
164
+ /* @__PURE__ */ s("img", { src: Ke })
163
165
  ] }) })
164
166
  ] }),
165
- /* @__PURE__ */ s("div", { className: j.buttonsContainer })
167
+ /* @__PURE__ */ s("div", { className: H.buttonsContainer })
166
168
  ]
167
169
  }
168
170
  ),
169
- /* @__PURE__ */ s("div", { className: j.ambitListContainer, children: y && y.length > 0 && y.map((w) => /* @__PURE__ */ s(
170
- et,
171
+ /* @__PURE__ */ s("div", { className: H.ambitListContainer, children: f && f.length > 0 && f.map((y) => /* @__PURE__ */ s(
172
+ ot,
171
173
  {
172
- isActive: d == w.id,
173
- ambit: w,
174
+ isActive: d == y.id,
175
+ ambit: y,
174
176
  fontColor: i,
175
177
  activeColor: o,
176
178
  onClickCopy: m,
177
- onClickDelete: h,
179
+ onClickDelete: g,
178
180
  onClickFilters: _,
179
- onClickAmbit: f
181
+ onClickAmbit: v
180
182
  },
181
- `ambitKey${w.id}`
183
+ `ambitKey${y.id}`
182
184
  )) }),
183
- /* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
184
- Ce,
185
+ /* @__PURE__ */ s("div", { className: H.newAmbitButtonContainer, children: /* @__PURE__ */ s(
186
+ ye,
185
187
  {
186
188
  style: { ...l },
187
189
  onClick: u,
188
190
  borderColor: "grey",
189
- children: g(a)
191
+ children: h(a)
190
192
  }
191
193
  ) })
192
194
  ]
193
195
  }
194
196
  );
195
197
  };
196
- l2.propTypes = {
198
+ h2.propTypes = {
197
199
  ambitList: e.arrayOf(
198
200
  e.shape({
199
201
  name: e.string.isRequired,
@@ -215,28 +217,28 @@ l2.propTypes = {
215
217
  containerStyles: e.object,
216
218
  onCLickNewAmbit: e.func
217
219
  };
218
- const c2 = "_buttonsContainer_1audx_2", d2 = "_vertical_1audx_6", u2 = "_horizontal_1audx_9", p2 = "_button_1audx_2", m2 = "_active_1audx_25", h2 = "_buttonName_1audx_28", Z = {
219
- buttonsContainer: c2,
220
- vertical: d2,
221
- horizontal: u2,
222
- button: p2,
223
- active: m2,
224
- buttonName: h2
225
- }, g2 = "_left_1l4m4_2", C2 = "_top_1l4m4_40", f2 = "_bottom_1l4m4_79", b2 = "_right_1l4m4_118", y2 = {
226
- left: g2,
227
- top: C2,
228
- bottom: f2,
229
- right: b2
230
- }, Y = ({ text: n, position: d, styleCustom: i = null }) => {
220
+ const g2 = "_buttonsContainer_1audx_2", C2 = "_vertical_1audx_6", f2 = "_horizontal_1audx_9", b2 = "_button_1audx_2", _2 = "_active_1audx_25", y2 = "_buttonName_1audx_28", W = {
221
+ buttonsContainer: g2,
222
+ vertical: C2,
223
+ horizontal: f2,
224
+ button: b2,
225
+ active: _2,
226
+ buttonName: y2
227
+ }, v2 = "_left_1l4m4_2", x2 = "_top_1l4m4_40", w2 = "_bottom_1l4m4_79", N2 = "_right_1l4m4_118", k2 = {
228
+ left: v2,
229
+ top: x2,
230
+ bottom: w2,
231
+ right: N2
232
+ }, ee = ({ text: n, position: d, styleCustom: i = null }) => {
231
233
  const { t: o } = k();
232
- return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: i, children: o(n) });
234
+ return /* @__PURE__ */ s("div", { className: `tooltip ${k2[d]}`, style: i, children: o(n) });
233
235
  };
234
- Y.propTypes = {
236
+ ee.propTypes = {
235
237
  text: e.string.isRequired,
236
238
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
237
239
  styleCustom: e.object
238
240
  };
239
- const _2 = ({
241
+ const B2 = ({
240
242
  buttons: n = [],
241
243
  orientation: d = "horizontal",
242
244
  showName: i = !0,
@@ -248,37 +250,37 @@ const _2 = ({
248
250
  return /* @__PURE__ */ s(
249
251
  "div",
250
252
  {
251
- className: `${Z.buttonsContainer} ${d === "vertical" && Z.vertical}
252
- ${d === "horizontal" && Z.horizontal}`,
253
+ className: `${W.buttonsContainer} ${d === "vertical" && W.vertical}
254
+ ${d === "horizontal" && W.horizontal}`,
253
255
  children: n.map((l, c) => {
254
256
  const {
255
257
  icon: u,
256
258
  activeIcon: m,
257
- isActive: h,
259
+ isActive: g,
258
260
  name: _,
259
- onClick: f
260
- } = l, g = /* @__PURE__ */ p(De, { children: [
261
- i && o === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: a(_) }),
262
- /* @__PURE__ */ s("img", { src: h ? m : u, alt: a(_) }),
263
- i && o === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: a(_) })
261
+ onClick: v
262
+ } = l, h = /* @__PURE__ */ p(Fe, { children: [
263
+ i && o === "left" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(_) }),
264
+ /* @__PURE__ */ s("img", { src: g ? m : u, alt: a(_) }),
265
+ i && o === "right" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(_) })
264
266
  ] });
265
267
  return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
266
268
  /* @__PURE__ */ s(
267
269
  "button",
268
270
  {
269
- onClick: f,
270
- className: `${Z.button}
271
- ${h && Z.active}`,
272
- children: g
271
+ onClick: v,
272
+ className: `${W.button}
273
+ ${g && W.active}`,
274
+ children: h
273
275
  }
274
276
  ),
275
- t && /* @__PURE__ */ s(Y, { text: _, position: r })
277
+ t && /* @__PURE__ */ s(ee, { text: _, position: r })
276
278
  ] }, c);
277
279
  })
278
280
  }
279
281
  );
280
282
  };
281
- _2.propTypes = {
283
+ B2.propTypes = {
282
284
  buttons: e.arrayOf(
283
285
  e.shape({
284
286
  icon: e.node.isRequired,
@@ -295,10 +297,10 @@ _2.propTypes = {
295
297
  useTooltip: e.bool,
296
298
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
297
299
  };
298
- const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
299
- indicatorsCategory: v2,
300
- title: w2
301
- }, W = ({
300
+ const S2 = "_indicatorsCategory_1cu33_2", $2 = "_title_1cu33_5", Ne = {
301
+ indicatorsCategory: S2,
302
+ title: $2
303
+ }, ne = ({
302
304
  isOpen: n,
303
305
  onClick: d,
304
306
  children: i,
@@ -314,9 +316,9 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
314
316
  }) => {
315
317
  const { t: m } = k();
316
318
  return /* @__PURE__ */ p(
317
- Ae.div,
319
+ Ee.div,
318
320
  {
319
- className: ye.indicatorsCategory,
321
+ className: Ne.indicatorsCategory,
320
322
  initial: { height: `${a}px` },
321
323
  animate: { height: n ? "auto" : `${a}px` },
322
324
  transition: { duration: 0.4 },
@@ -333,7 +335,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
333
335
  ...l,
334
336
  marginBottom: u || "auto"
335
337
  },
336
- className: `${ye.title}`,
338
+ className: `${Ne.title}`,
337
339
  onClick: d,
338
340
  children: [
339
341
  /* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
@@ -341,12 +343,12 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
341
343
  ]
342
344
  }
343
345
  ),
344
- /* @__PURE__ */ s("div", { className: ye.content, children: i })
346
+ /* @__PURE__ */ s("div", { className: Ne.content, children: i })
345
347
  ]
346
348
  }
347
349
  );
348
350
  };
349
- W.propTypes = {
351
+ ne.propTypes = {
350
352
  isOpen: e.bool,
351
353
  onClick: e.func,
352
354
  children: e.node,
@@ -357,39 +359,39 @@ W.propTypes = {
357
359
  showBottomBar: e.bool,
358
360
  titleFontStyles: e.object
359
361
  };
360
- const ii = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", N2 = "_AppliedFiltersContainer_cokx9_2", k2 = "_AppliedFilterContent_cokx9_11", ze = {
361
- AppliedFiltersContainer: N2,
362
- AppliedFilterContent: k2
363
- }, T = _t((n) => ({
362
+ const Ii = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), D2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", M2 = "_AppliedFiltersContainer_cokx9_2", L2 = "_AppliedFilterContent_cokx9_11", He = {
363
+ AppliedFiltersContainer: M2,
364
+ AppliedFilterContent: L2
365
+ }, F = Bt((n) => ({
364
366
  activeCategory: "",
365
367
  activeSubCategory: "",
366
368
  selectedIndicator: "",
367
369
  tematicalFiltersSelected: [],
368
370
  fontColor: "#605B56",
369
371
  inputsColor: "#605B56"
370
- })), tt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
371
- const { t: a } = k(), { tematicalFiltersSelected: l } = T((u) => u), c = (u) => {
372
- T.setState((m) => ({
372
+ })), st = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
373
+ const { t: a } = k(), { tematicalFiltersSelected: l } = F((u) => u), c = (u) => {
374
+ F.setState((m) => ({
373
375
  tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
374
- (h) => h.code !== u
376
+ (g) => g.code !== u
375
377
  )
376
378
  }));
377
379
  };
378
380
  return /* @__PURE__ */ s(
379
- W,
381
+ ne,
380
382
  {
381
383
  isOpen: i,
382
384
  onClick: d,
383
385
  title: n ? a(n) : "Applied Filters",
384
386
  activeColor: r,
385
- children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: ze.AppliedFilterContent, style: { color: o, background: t }, children: [
387
+ children: /* @__PURE__ */ s("div", { className: He.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: He.AppliedFilterContent, style: { color: o, background: t }, children: [
386
388
  a(u.name),
387
- /* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
389
+ /* @__PURE__ */ s("img", { src: D2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
388
390
  ] }, m)) })
389
391
  }
390
392
  );
391
393
  };
392
- tt.propTypes = {
394
+ st.propTypes = {
393
395
  isOpen: e.bool,
394
396
  onClick: e.func,
395
397
  title: e.string,
@@ -403,10 +405,10 @@ tt.propTypes = {
403
405
  ),
404
406
  activeColor: e.string
405
407
  };
406
- const nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
407
- const { t: a } = k(), { tematicalFiltersSelected: l } = T((c) => c);
408
+ const rt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
409
+ const { t: a } = k(), { tematicalFiltersSelected: l } = F((c) => c);
408
410
  return /* @__PURE__ */ s(
409
- W,
411
+ ne,
410
412
  {
411
413
  isOpen: i,
412
414
  onClick: d,
@@ -416,7 +418,7 @@ const nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", ba
416
418
  }
417
419
  );
418
420
  };
419
- nt.propTypes = {
421
+ rt.propTypes = {
420
422
  isOpen: e.bool,
421
423
  onClick: e.func,
422
424
  title: e.string,
@@ -424,22 +426,22 @@ nt.propTypes = {
424
426
  backgroundColor: e.string,
425
427
  activeColor: e.string
426
428
  };
427
- const B2 = "_checkboxContainer_zld97_2", S2 = {
428
- checkboxContainer: B2
429
- }, it = ({
429
+ const T2 = "_checkboxContainer_zld97_2", F2 = {
430
+ checkboxContainer: T2
431
+ }, at = ({
430
432
  onClick: n,
431
433
  containerStyles: d,
432
434
  color: i = "#605B56",
433
435
  indicator: o,
434
436
  value: t
435
437
  }) => {
436
- const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = T((u) => u);
438
+ const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = F((u) => u);
437
439
  return /* @__PURE__ */ p(
438
440
  "div",
439
441
  {
440
442
  style: { ...d, color: i },
441
443
  role: "checkbox",
442
- className: S2.checkboxContainer,
444
+ className: F2.checkboxContainer,
443
445
  onClick: n,
444
446
  children: [
445
447
  /* @__PURE__ */ s(
@@ -460,7 +462,7 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
460
462
  }
461
463
  );
462
464
  };
463
- it.propTypes = {
465
+ at.propTypes = {
464
466
  onClick: e.func,
465
467
  value: e.bool,
466
468
  containerStyles: e.object,
@@ -471,40 +473,40 @@ it.propTypes = {
471
473
  }),
472
474
  checkedColor: e.string
473
475
  };
474
- function Me(n, d) {
475
- return Me = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
476
+ function Ve(n, d) {
477
+ return Ve = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
476
478
  return i.__proto__ = o, i;
477
- }, Me(n, d);
479
+ }, Ve(n, d);
478
480
  }
479
- function D2(n, d) {
480
- n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Me(n, d);
481
+ function V2(n, d) {
482
+ n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Ve(n, d);
481
483
  }
482
- function _e(n) {
484
+ function ke(n) {
483
485
  return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
484
486
  }
485
- function ve(n) {
487
+ function Be(n) {
486
488
  return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
487
489
  }
488
- function ue(n) {
490
+ function Ce(n) {
489
491
  return n !== null && n.length === 1 ? n[0] : n.slice();
490
492
  }
491
- function pe(n) {
493
+ function fe(n) {
492
494
  Object.keys(n).forEach((d) => {
493
495
  typeof document < "u" && document.addEventListener(d, n[d], !1);
494
496
  });
495
497
  }
496
- function K(n, d) {
497
- return Le(function(i, o) {
498
+ function Y(n, d) {
499
+ return Ae(function(i, o) {
498
500
  let t = i;
499
501
  return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
500
502
  }(n, d), d);
501
503
  }
502
- function Le(n, d) {
504
+ function Ae(n, d) {
503
505
  const i = (n - d.min) % d.step;
504
506
  let o = n - i;
505
507
  return 2 * Math.abs(i) >= d.step && (o += i > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
506
508
  }
507
- let $e = function(n) {
509
+ let Ie = function(n) {
508
510
  function d(o) {
509
511
  var t;
510
512
  (t = n.call(this, o) || this).onKeyUp = () => {
@@ -524,8 +526,8 @@ let $e = function(n) {
524
526
  t.setState({ pending: !0 });
525
527
  const c = t.getTouchPosition(l);
526
528
  if (t.isScrolling === void 0) {
527
- const h = c[0] - t.startPosition[0], _ = c[1] - t.startPosition[1];
528
- t.isScrolling = Math.abs(_) > Math.abs(h);
529
+ const g = c[0] - t.startPosition[0], _ = c[1] - t.startPosition[1];
530
+ t.isScrolling = Math.abs(_) > Math.abs(g);
529
531
  }
530
532
  if (t.isScrolling) return void t.setState({ index: -1 });
531
533
  const u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
@@ -561,28 +563,28 @@ let $e = function(n) {
561
563
  if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
562
564
  const c = t.getMousePosition(l);
563
565
  t.forceValueFromPosition(c[0], (u) => {
564
- t.start(u, c[0]), pe(t.getMouseEventMap());
566
+ t.start(u, c[0]), fe(t.getMouseEventMap());
565
567
  });
566
568
  }
567
- _e(l);
569
+ ke(l);
568
570
  }
569
571
  }, t.onSliderClick = (l) => {
570
572
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
571
- const c = t.getMousePosition(l), u = K(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
573
+ const c = t.getMousePosition(l), u = Y(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
572
574
  t.props.onSliderClick(u);
573
575
  }
574
576
  }, t.createOnKeyDown = (l) => (c) => {
575
- t.props.disabled || (t.start(l), pe(t.getKeyDownEventMap()), _e(c));
577
+ t.props.disabled || (t.start(l), fe(t.getKeyDownEventMap()), ke(c));
576
578
  }, t.createOnMouseDown = (l) => (c) => {
577
579
  if (t.props.disabled || c.button === 2) return;
578
580
  t.setState({ pending: !0 });
579
581
  const u = t.getMousePosition(c);
580
- t.start(l, u[0]), pe(t.getMouseEventMap()), _e(c);
582
+ t.start(l, u[0]), fe(t.getMouseEventMap()), ke(c);
581
583
  }, t.createOnTouchStart = (l) => (c) => {
582
584
  if (t.props.disabled || c.touches.length > 1) return;
583
585
  t.setState({ pending: !0 });
584
586
  const u = t.getTouchPosition(c);
585
- t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), pe(t.getTouchEventMap()), function(m) {
587
+ t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), fe(t.getTouchEventMap()), function(m) {
586
588
  m.stopPropagation && m.stopPropagation();
587
589
  }(c);
588
590
  }, t.handleResize = () => {
@@ -593,25 +595,25 @@ let $e = function(n) {
593
595
  }, t.renderThumb = (l, c) => {
594
596
  const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (_) => {
595
597
  t["thumb" + c] = _;
596
- }, key: t.props.thumbClassName + "-" + c, className: u, style: l, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, h = { index: c, value: ue(t.state.value), valueNow: t.state.value[c] };
597
- return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(m, h);
598
+ }, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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] };
599
+ return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(m, g);
598
600
  }, t.renderTrack = (l, c, u) => {
599
- const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: l, value: ue(t.state.value) };
600
- return t.props.renderTrack(m, h);
601
+ const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: l, value: Ce(t.state.value) };
602
+ return t.props.renderTrack(m, g);
601
603
  };
602
- let r = ve(o.value);
603
- r.length || (r = ve(o.defaultValue)), t.pendingResizeTimeouts = [];
604
+ let r = Be(o.value);
605
+ r.length || (r = Be(o.defaultValue)), t.pendingResizeTimeouts = [];
604
606
  const a = [];
605
- for (let l = 0; l < r.length; l += 1) r[l] = K(r[l], o), a.push(l);
606
- return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
607
+ for (let l = 0; l < r.length; l += 1) r[l] = Y(r[l], o), a.push(l);
608
+ return t.resizeObserver = null, t.resizeElementRef = $.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
607
609
  }
608
- D2(d, n);
610
+ V2(d, n);
609
611
  var i = d.prototype;
610
612
  return i.componentDidMount = function() {
611
613
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
612
614
  }, d.getDerivedStateFromProps = function(o, t) {
613
- const r = ve(o.value);
614
- return r.length ? t.pending ? null : { value: r.map((a) => K(a, o)) } : null;
615
+ const r = Be(o.value);
616
+ return r.length ? t.pending ? null : { value: r.map((a) => Y(a, o)) } : null;
615
617
  }, i.componentDidUpdate = function() {
616
618
  this.state.upperBound === 0 && this.resize();
617
619
  }, i.componentWillUnmount = function() {
@@ -623,7 +625,7 @@ let $e = function(n) {
623
625
  });
624
626
  }(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
625
627
  }, i.getValue = function() {
626
- return ue(this.state.value);
628
+ return Ce(this.state.value);
627
629
  }, i.getClosestIndex = function(o) {
628
630
  let t = Number.MAX_VALUE, r = -1;
629
631
  const { value: a } = this.state, l = a.length;
@@ -645,15 +647,15 @@ let $e = function(n) {
645
647
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
646
648
  }, i.getValueFromPosition = function(o) {
647
649
  const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
648
- return K(this.state.startValue + t, this.props);
650
+ return Y(this.state.startValue + t, this.props);
649
651
  }, i.getDiffPosition = function(o) {
650
652
  let t = o - this.state.startPosition;
651
653
  return this.props.invert && (t *= -1), t;
652
654
  }, i.resize = function() {
653
655
  const { slider: o, thumb0: t } = this;
654
656
  if (!o || !t) return;
655
- const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = l - m, _ = Math.abs(c - u);
656
- this.state.upperBound === h && this.state.sliderLength === _ && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: _, thumbSize: m });
657
+ const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = l - m, _ = Math.abs(c - u);
658
+ this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize === m || this.setState({ upperBound: g, sliderLength: _, thumbSize: m });
657
659
  }, i.calcOffset = function(o) {
658
660
  const t = this.props.max - this.props.min;
659
661
  return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
@@ -664,7 +666,7 @@ let $e = function(n) {
664
666
  let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
665
667
  return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
666
668
  }, i.forceValueFromPosition = function(o, t) {
667
- const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = K(this.calcValue(r), this.props), c = this.state.value.slice();
669
+ const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = Y(this.calcValue(r), this.props), c = this.state.value.slice();
668
670
  c[a] = l;
669
671
  for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
670
672
  this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
@@ -682,43 +684,43 @@ let $e = function(n) {
682
684
  a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
683
685
  }, i.moveUpByStep = function(o) {
684
686
  o === void 0 && (o = this.props.step);
685
- const t = this.state.value[this.state.index], r = K(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
687
+ const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
686
688
  this.move(Math.min(r, this.props.max));
687
689
  }, i.moveDownByStep = function(o) {
688
690
  o === void 0 && (o = this.props.step);
689
- const t = this.state.value[this.state.index], r = K(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
691
+ const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
690
692
  this.move(Math.max(r, this.props.min));
691
693
  }, i.move = function(o) {
692
694
  const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
693
695
  if (o === l) return;
694
696
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
695
- const { pearling: c, max: u, min: m, minDistance: h } = this.props;
697
+ const { pearling: c, max: u, min: m, minDistance: g } = this.props;
696
698
  if (!c) {
697
699
  if (r > 0) {
698
700
  const _ = t[r - 1];
699
- o < _ + h && (o = _ + h);
701
+ o < _ + g && (o = _ + g);
700
702
  }
701
703
  if (r < a - 1) {
702
704
  const _ = t[r + 1];
703
- o > _ - h && (o = _ - h);
705
+ o > _ - g && (o = _ - g);
704
706
  }
705
707
  }
706
- t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, h, r), function(_, f, g, y) {
708
+ t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, g, r), function(_, v, h, f) {
707
709
  for (let C = 0; C < _; C += 1) {
708
- const b = y - C * g;
709
- f[_ - 1 - C] > b && (f[_ - 1 - C] = b);
710
+ const b = f - C * h;
711
+ v[_ - 1 - C] > b && (v[_ - 1 - C] = b);
710
712
  }
711
- }(a, t, h, u)) : o < l && (this.pushPreceding(t, h, r), function(_, f, g, y) {
713
+ }(a, t, g, u)) : o < l && (this.pushPreceding(t, g, r), function(_, v, h, f) {
712
714
  for (let C = 0; C < _; C += 1) {
713
- const b = y + C * g;
714
- f[C] < b && (f[C] = b);
715
+ const b = f + C * h;
716
+ v[C] < b && (v[C] = b);
715
717
  }
716
- }(a, t, h, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
718
+ }(a, t, g, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
717
719
  }, i.pushSucceeding = function(o, t, r) {
718
720
  let a, l;
719
- for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Le(l, this.props);
721
+ for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Ae(l, this.props);
720
722
  }, i.pushPreceding = function(o, t, r) {
721
- for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Le(l, this.props);
723
+ for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Ae(l, this.props);
722
724
  }, i.axisKey = function() {
723
725
  return this.props.orientation === "vertical" ? "Y" : "X";
724
726
  }, i.orthogonalAxisKey = function() {
@@ -730,7 +732,7 @@ let $e = function(n) {
730
732
  }, i.sizeKey = function() {
731
733
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
732
734
  }, i.fireChangeEvent = function(o) {
733
- this.props[o] && this.props[o](ue(this.state.value), this.state.index);
735
+ this.props[o] && this.props[o](Ce(this.state.value), this.state.index);
734
736
  }, i.buildThumbStyle = function(o, t) {
735
737
  const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
736
738
  return r[this.posMinKey()] = o + "px", r;
@@ -762,21 +764,21 @@ let $e = function(n) {
762
764
  const o = [], { value: t } = this.state, r = t.length;
763
765
  for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
764
766
  const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
765
- return B.createElement("div", { ref: (u) => {
767
+ return $.createElement("div", { ref: (u) => {
766
768
  this.slider = u, this.resizeElementRef.current = u;
767
769
  }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
768
770
  }, d;
769
- }(B.Component);
770
- $e.displayName = "ReactSlider", $e.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
771
- var M2 = $e;
772
- const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", T2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33", Q = {
773
- container: L2,
774
- unitLabel: $2,
775
- slider: F2,
776
- thumb: T2,
777
- track: V2,
778
- labels: A2
779
- }, ot = ({
771
+ }($.Component);
772
+ Ie.displayName = "ReactSlider", Ie.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => $.createElement("div", n), renderTrack: (n) => $.createElement("div", n), renderMark: (n) => $.createElement("span", n) };
773
+ var lt = Ie;
774
+ const A2 = "_container_15vgv_2", I2 = "_unitLabel_15vgv_9", O2 = "_slider_15vgv_12", R2 = "_thumb_15vgv_18", q2 = "_track_15vgv_27", E2 = "_labels_15vgv_33", oe = {
775
+ container: A2,
776
+ unitLabel: I2,
777
+ slider: O2,
778
+ thumb: R2,
779
+ track: q2,
780
+ labels: E2
781
+ }, ct = ({
780
782
  min: n = 0,
781
783
  max: d = 100,
782
784
  step: i = 1,
@@ -786,35 +788,35 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
786
788
  fontColor: a = "#605B56",
787
789
  defaultValue: l
788
790
  }) => {
789
- const { t: c } = k(), [u, m] = L([n, d]), h = (_) => {
791
+ const { t: c } = k(), [u, m] = D([n, d]), g = (_) => {
790
792
  m(_), o == null || o({ min: _[0], max: _[1] });
791
793
  };
792
- return $(() => {
794
+ return M(() => {
793
795
  l || m([n, d]);
794
796
  }, [l]), /* @__PURE__ */ p(
795
797
  "div",
796
798
  {
797
- className: Q.container,
799
+ className: oe.container,
798
800
  style: { width: `${t}px`, color: `${a}` },
799
801
  children: [
800
- /* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
802
+ /* @__PURE__ */ s("div", { className: oe.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
801
803
  /* @__PURE__ */ s(
802
- M2,
804
+ lt,
803
805
  {
804
- className: Q.slider,
805
- thumbClassName: Q.thumb,
806
- trackClassName: Q.track,
806
+ className: oe.slider,
807
+ thumbClassName: oe.thumb,
808
+ trackClassName: oe.track,
807
809
  min: n,
808
810
  max: d,
809
811
  step: i,
810
812
  value: u,
811
- onAfterChange: h,
813
+ onAfterChange: g,
812
814
  withTracks: !0,
813
815
  pearling: !0,
814
816
  minDistance: 0.1
815
817
  }
816
818
  ),
817
- /* @__PURE__ */ p("div", { className: Q.labels, children: [
819
+ /* @__PURE__ */ p("div", { className: oe.labels, children: [
818
820
  /* @__PURE__ */ s("span", { children: u[0] }),
819
821
  /* @__PURE__ */ s("span", { children: u[1] })
820
822
  ] })
@@ -822,7 +824,7 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
822
824
  }
823
825
  );
824
826
  };
825
- ot.propTypes = {
827
+ ct.propTypes = {
826
828
  min: e.number,
827
829
  max: e.number,
828
830
  step: e.number,
@@ -834,124 +836,131 @@ ot.propTypes = {
834
836
  fontColor: e.string,
835
837
  value: e.arrayOf(e.number)
836
838
  };
837
- const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_1vm1r_2", R2 = "_checkboxContainer_1vm1r_28", q2 = "_absoluteSliderContainer_1vm1r_37", me = {
838
- tematicalFiltersInputContainer: I2,
839
- inputTypeContainer: O2,
840
- checkboxContainer: R2,
841
- absoluteSliderContainer: q2
842
- }, Ie = ({
839
+ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_1vm1r_2", z2 = "_checkboxContainer_1vm1r_28", Z2 = "_absoluteSliderContainer_1vm1r_37", be = {
840
+ tematicalFiltersInputContainer: P2,
841
+ inputTypeContainer: j2,
842
+ checkboxContainer: z2,
843
+ absoluteSliderContainer: Z2
844
+ }, Pe = ({
843
845
  indicator: n,
844
846
  //onChangeBothType
845
847
  activeColor: d
846
848
  }) => {
847
- const [i, o] = L(), {
849
+ const [i, o] = D(), {
848
850
  type: t,
849
851
  name: r,
850
852
  values: a,
851
853
  minValue: l,
852
854
  maxValue: c,
853
855
  unit: u,
854
- step: m
855
- } = n || {}, h = ae(
856
+ step: m,
857
+ disabled: g
858
+ } = n || {}, _ = he(
856
859
  () => t == "cat" || i == "cat",
857
860
  [i, t]
858
- ), _ = ae(
859
- () => t == "abs" || i == "abs",
861
+ ), v = he(
862
+ () => t == "abs" || i == "abs" || t == "glb" || i == "glb",
860
863
  [i, t]
861
864
  ), {
862
- tematicalFiltersSelected: f,
863
- selectedIndicator: g,
864
- fontColor: y,
865
- inputsColor: C
866
- } = T((x) => x), b = (x) => {
865
+ tematicalFiltersSelected: h,
866
+ selectedIndicator: f,
867
+ fontColor: C,
868
+ inputsColor: b
869
+ } = F((x) => x), y = (x) => {
867
870
  if (x) {
868
- const { min: v, max: N, valueClicked: S, allValues: D } = x || {}, { code: z, type: ce } = n || {}, de = _ ? "abs" : h ? "cat" : "both";
869
- let R = z[0];
870
- ce == "both" && (R = de == "cat" ? z[1] : z[0]), de == "cat" ? T.setState((q) => {
871
- let E = q.tematicalFiltersSelected.find(
872
- (V) => V.code === R
871
+ const { min: N, max: B, valueClicked: S, allValues: E } = x || {}, { code: V, type: ie } = n || {}, G = v ? "abs" : _ ? "cat" : "both";
872
+ let q = V[0];
873
+ ie == "both" && (q = G == "cat" ? V[1] : V[0]), G == "cat" ? F.setState((j) => {
874
+ let K = j.tematicalFiltersSelected.find(
875
+ (A) => A.code === q
873
876
  );
874
- if (E) {
875
- let V = [E.values];
876
- return E.values.includes(S) ? V = E.values.filter(
877
- (I) => I !== S
878
- ) : V = [...E.values, S], V.length == D.length ? {
879
- tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
880
- (I) => I.code !== R
877
+ if (K) {
878
+ let A = [K.values];
879
+ return K.values.includes(S) ? A = K.values.filter(
880
+ (O) => O !== S
881
+ ) : A = [...K.values, S], A.length == E.length ? {
882
+ tematicalFiltersSelected: j.tematicalFiltersSelected.filter(
883
+ (O) => O.code !== q
881
884
  )
882
885
  } : {
883
- tematicalFiltersSelected: q.tematicalFiltersSelected.map(
884
- (I) => I.code === R ? { ...I, values: V } : I
886
+ tematicalFiltersSelected: j.tematicalFiltersSelected.map(
887
+ (O) => O.code === q ? { ...O, values: A } : O
885
888
  )
886
889
  };
887
890
  } else {
888
- let V = D.map((I, bt) => bt);
891
+ let A = E.map((O, Nt) => Nt);
889
892
  return {
890
893
  tematicalFiltersSelected: [
891
- ...f,
894
+ ...h,
892
895
  {
893
896
  type: "cat",
894
- code: R,
895
- values: V.filter((I) => I !== S),
897
+ code: q,
898
+ values: A.filter((O) => O !== S),
896
899
  name: n.name
897
900
  }
898
901
  ]
899
902
  };
900
903
  }
901
- }) : de == "abs" && T.setState((q) => {
902
- let E = q.tematicalFiltersSelected.find(
903
- (V) => V.code === R
904
+ }) : G == "abs" && F.setState((j) => {
905
+ let K = j.tematicalFiltersSelected.find(
906
+ (A) => A.code === q
904
907
  );
905
- if (v == n.minValue && N == n.maxValue)
908
+ if (N == n.minValue && B == n.maxValue)
906
909
  return {
907
- tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
908
- (V) => V.code !== R
910
+ tematicalFiltersSelected: j.tematicalFiltersSelected.filter(
911
+ (A) => A.code !== q
909
912
  )
910
913
  };
911
- if (E) {
912
- let V = { ...E };
913
- return V.min = v, V.max = N, {
914
- tematicalFiltersSelected: q.tematicalFiltersSelected.map(
915
- (I) => I.code === R ? V : I
914
+ if (K) {
915
+ let A = { ...K };
916
+ return A.min = N, A.max = B, {
917
+ tematicalFiltersSelected: j.tematicalFiltersSelected.map(
918
+ (O) => O.code === q ? A : O
916
919
  )
917
920
  };
918
921
  } else
919
922
  return {
920
923
  tematicalFiltersSelected: [
921
- ...f,
922
- { type: "abs", code: R, min: v, max: N, name: n.name }
924
+ ...h,
925
+ { type: "abs", code: q, min: N, max: B, name: n.name }
923
926
  ]
924
927
  };
925
928
  });
926
929
  }
927
- }, w = ae(() => {
930
+ }, w = he(() => {
928
931
  const x = {};
929
- if ((f == null ? void 0 : f.length) > 0)
930
- for (const v of f)
931
- v.type === "cat" ? x[v.code] = new Set(v.values) : x[v.code] = [v.min, v.max];
932
+ if ((h == null ? void 0 : h.length) > 0)
933
+ for (const N of h)
934
+ N.type === "cat" ? x[N.code] = new Set(N.values) : x[N.code] = [N.min, N.max];
932
935
  return console.log("mapfilterSelected", x), x;
933
- }, [f]);
934
- return /* @__PURE__ */ s("div", { className: me.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
935
- W,
936
+ }, [h]);
937
+ return /* @__PURE__ */ s("div", { className: be.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
938
+ ne,
936
939
  {
937
- titleFontStyles: { fontSize: 16, fontWeight: 400 },
940
+ titleFontStyles: {
941
+ fontSize: 16,
942
+ fontWeight: 400,
943
+ opacity: g ? 0.5 : 1
944
+ },
938
945
  title: r,
939
- isOpen: g == `id${r}`,
940
- onClick: () => T.setState(() => ({
941
- selectedIndicator: g == `id${r}` ? "" : `id${r}`
942
- })),
946
+ isOpen: f == `id${r}`,
947
+ onClick: () => {
948
+ g || F.setState(() => ({
949
+ selectedIndicator: f == `id${r}` ? "" : `id${r}`
950
+ }));
951
+ },
943
952
  showBottomBar: !1,
944
953
  height: 42,
945
954
  titleMarginChildren: 14,
946
955
  className: "tematicalFiltersInputContainer",
947
- color: y,
956
+ color: C,
948
957
  activeColor: d,
949
958
  children: [
950
959
  t == "both" && /* @__PURE__ */ p(
951
960
  "div",
952
961
  {
953
- className: me.inputTypeContainer,
954
- style: { color: y },
962
+ className: be.inputTypeContainer,
963
+ style: { color: C },
955
964
  children: [
956
965
  /* @__PURE__ */ p("label", { children: [
957
966
  /* @__PURE__ */ s(
@@ -965,8 +974,8 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
965
974
  },
966
975
  style: {
967
976
  marginRight: 4,
968
- backgroundColor: i == "abs" ? C : "white",
969
- border: `1.5px solid ${i == "abs" ? C : y}`
977
+ backgroundColor: i == "abs" ? b : "white",
978
+ border: `1.5px solid ${i == "abs" ? b : C}`
970
979
  }
971
980
  }
972
981
  ),
@@ -984,8 +993,8 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
984
993
  },
985
994
  style: {
986
995
  marginRight: 4,
987
- backgroundColor: i == "cat" ? C : "white",
988
- border: `1.5px solid ${i == "cat" ? C : y}`
996
+ backgroundColor: i == "cat" ? b : "white",
997
+ border: `1.5px solid ${i == "cat" ? b : C}`
989
998
  }
990
999
  }
991
1000
  ),
@@ -994,22 +1003,22 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
994
1003
  ]
995
1004
  }
996
1005
  ),
997
- h && /* @__PURE__ */ s("div", { className: me.checkboxContainer, children: a.map((x, v) => {
998
- var N;
1006
+ _ && /* @__PURE__ */ s("div", { className: be.checkboxContainer, children: a.map((x, N) => {
1007
+ var B;
999
1008
  return /* @__PURE__ */ s(
1000
- it,
1009
+ at,
1001
1010
  {
1002
- onClick: () => b({ valueClicked: v, allValues: a }),
1011
+ onClick: () => y({ valueClicked: N, allValues: a }),
1003
1012
  indicator: x,
1004
- value: ((N = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(v)) || !w[n.code[t == "both" ? 1 : 0]]
1013
+ value: ((B = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : B.has(N)) || !w[n.code[t == "both" ? 1 : 0]]
1005
1014
  },
1006
- `checkbox-${v}`
1015
+ `checkbox-${N}`
1007
1016
  );
1008
1017
  }) }),
1009
- _ && /* @__PURE__ */ s("div", { className: me.absoluteSliderContainer, children: /* @__PURE__ */ s(
1010
- ot,
1018
+ v && /* @__PURE__ */ s("div", { className: be.absoluteSliderContainer, children: /* @__PURE__ */ s(
1019
+ ct,
1011
1020
  {
1012
- onChange: b,
1021
+ onChange: y,
1013
1022
  min: l,
1014
1023
  max: c,
1015
1024
  unit: u,
@@ -1021,7 +1030,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
1021
1030
  }
1022
1031
  ) });
1023
1032
  };
1024
- Ie.propTypes = {
1033
+ Pe.propTypes = {
1025
1034
  indicator: e.shape({
1026
1035
  name: e.string,
1027
1036
  type: e.string,
@@ -1036,20 +1045,20 @@ Ie.propTypes = {
1036
1045
  activeColor: e.string
1037
1046
  //onChangeBothType: PropTypes.func,
1038
1047
  };
1039
- const st = ({
1048
+ const dt = ({
1040
1049
  subcategory: n,
1041
1050
  fontColor: d,
1042
1051
  activeColor: i
1043
1052
  //onChangeBothType,
1044
1053
  }) => {
1045
- const { activeSubcategory: o } = T((a) => a), { name: t, indicators: r } = n || {};
1054
+ const { activeSubcategory: o } = F((a) => a), { name: t, indicators: r } = n || {};
1046
1055
  return /* @__PURE__ */ s(
1047
- W,
1056
+ ne,
1048
1057
  {
1049
1058
  title: t,
1050
1059
  isOpen: o == `id${t}`,
1051
1060
  onClick: () => {
1052
- T.setState((a) => ({
1061
+ F.setState((a) => ({
1053
1062
  activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
1054
1063
  }));
1055
1064
  },
@@ -1060,7 +1069,7 @@ const st = ({
1060
1069
  color: d,
1061
1070
  activeColor: i,
1062
1071
  children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ s(
1063
- Ie,
1072
+ Pe,
1064
1073
  {
1065
1074
  indicator: a,
1066
1075
  fontColor: d,
@@ -1071,7 +1080,7 @@ const st = ({
1071
1080
  }
1072
1081
  );
1073
1082
  };
1074
- st.propTypes = {
1083
+ dt.propTypes = {
1075
1084
  subcategory: e.shape({
1076
1085
  name: e.string,
1077
1086
  indicators: e.arrayOf(
@@ -1084,17 +1093,17 @@ st.propTypes = {
1084
1093
  activeColor: e.string
1085
1094
  //onChangeBothType: PropTypes.func,
1086
1095
  };
1087
- const rt = ({
1096
+ const ut = ({
1088
1097
  category: n,
1089
1098
  // onChangeBothType,
1090
1099
  activeColor: d
1091
1100
  }) => {
1092
- const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = T((l) => l);
1101
+ const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = F((l) => l);
1093
1102
  return n && /* @__PURE__ */ s(
1094
- W,
1103
+ ne,
1095
1104
  {
1096
1105
  onClick: () => {
1097
- T.setState((l) => ({
1106
+ F.setState((l) => ({
1098
1107
  activeCategory: r === `id${i}` ? "" : `id${i}`
1099
1108
  }));
1100
1109
  },
@@ -1105,7 +1114,7 @@ const rt = ({
1105
1114
  color: a,
1106
1115
  activeColor: d,
1107
1116
  children: o ? o.map((l, c) => /* @__PURE__ */ s(
1108
- st,
1117
+ dt,
1109
1118
  {
1110
1119
  subcategory: l,
1111
1120
  fontColor: a,
@@ -1113,7 +1122,7 @@ const rt = ({
1113
1122
  },
1114
1123
  `subcategory-${c}`
1115
1124
  )) : t && t.map((l, c) => /* @__PURE__ */ s(
1116
- Ie,
1125
+ Pe,
1117
1126
  {
1118
1127
  indicator: l,
1119
1128
  fontColor: a,
@@ -1124,7 +1133,7 @@ const rt = ({
1124
1133
  }
1125
1134
  );
1126
1135
  };
1127
- rt.propTypes = {
1136
+ ut.propTypes = {
1128
1137
  category: e.shape({
1129
1138
  name: e.string.isRequired,
1130
1139
  subcategories: e.array,
@@ -1133,7 +1142,7 @@ rt.propTypes = {
1133
1142
  activeColor: e.string
1134
1143
  //onChangeBothType: PropTypes.func,
1135
1144
  };
1136
- const at = ({
1145
+ const pt = ({
1137
1146
  indicators: n,
1138
1147
  isOpen: d = !0,
1139
1148
  title: i,
@@ -1142,20 +1151,20 @@ const at = ({
1142
1151
  inputsColor: t = "#605B56",
1143
1152
  activeColor: r
1144
1153
  }) => {
1145
- const { tematicalFiltersSelected: a } = T((c) => c), { t: l } = k();
1146
- return $(() => {
1147
- o && T.setState(() => ({ fontColor: o }));
1148
- }, [o]), $(() => {
1149
- t && T.setState(() => ({ inputsColor: t }));
1154
+ const { tematicalFiltersSelected: a } = F((c) => c), { t: l } = k();
1155
+ return M(() => {
1156
+ o && F.setState(() => ({ fontColor: o }));
1157
+ }, [o]), M(() => {
1158
+ t && F.setState(() => ({ inputsColor: t }));
1150
1159
  }, [t]), /* @__PURE__ */ s(
1151
- W,
1160
+ ne,
1152
1161
  {
1153
1162
  isOpen: d,
1154
1163
  title: i ? l(i) : "Tematical filters",
1155
1164
  color: o,
1156
1165
  activeColor: r,
1157
1166
  children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
1158
- rt,
1167
+ ut,
1159
1168
  {
1160
1169
  category: c,
1161
1170
  fontColor: o,
@@ -1166,7 +1175,7 @@ const at = ({
1166
1175
  }
1167
1176
  );
1168
1177
  };
1169
- at.propTypes = {
1178
+ pt.propTypes = {
1170
1179
  isOpen: e.bool,
1171
1180
  title: e.string,
1172
1181
  indicators: e.arrayOf(e.object),
@@ -1175,14 +1184,14 @@ at.propTypes = {
1175
1184
  inputsColor: e.string,
1176
1185
  activeColor: e.string
1177
1186
  };
1178
- const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", j2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", K2 = "_warning_1g9xx_37", X = {
1179
- FiltersAmbitContainer: E2,
1180
- FiltersAmbitHeader: P2,
1181
- FiltersAmbitTitle: z2,
1182
- FiltersAmbitDescription: j2,
1183
- FiltersAmbitDescriptionTitle: Z2,
1184
- warning: K2
1185
- }, H2 = ({
1187
+ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7", U2 = "_FiltersAmbitTitle_1g9xx_15", G2 = "_FiltersAmbitDescription_1g9xx_22", W2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", Y2 = "_warning_1g9xx_37", se = {
1188
+ FiltersAmbitContainer: K2,
1189
+ FiltersAmbitHeader: H2,
1190
+ FiltersAmbitTitle: U2,
1191
+ FiltersAmbitDescription: G2,
1192
+ FiltersAmbitDescriptionTitle: W2,
1193
+ warning: Y2
1194
+ }, Q2 = ({
1186
1195
  ambitName: n,
1187
1196
  ambitDescription: d,
1188
1197
  defaultFilters: i,
@@ -1194,57 +1203,57 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
1194
1203
  saveAmbit: c,
1195
1204
  namePlaceholder: u,
1196
1205
  descPlaceholder: m,
1197
- filtersTypes: h = ["geographical", "tematical"],
1206
+ filtersTypes: g = ["geographical", "tematical"],
1198
1207
  nameRequiredText: _,
1199
- onlyFilters: f = !1
1208
+ onlyFilters: v = !1
1200
1209
  //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
1201
1210
  }) => {
1202
- const { t: g } = k(), { tematicalFiltersSelected: y } = T((D) => D), [C, b] = L(n || null), [w, x] = L(d || null), [v, N] = L(!1);
1203
- $(() => {
1204
- i && i.length > 0 && T.setState((D) => ({
1211
+ const { t: h } = k(), { tematicalFiltersSelected: f } = F((S) => S), [C, b] = D(n || null), [y, w] = D(d || null), [x, N] = D(!1);
1212
+ M(() => {
1213
+ i && i.length > 0 && F.setState((S) => ({
1205
1214
  tematicalFiltersSelected: i
1206
1215
  }));
1207
- }, [i]), $(() => {
1208
- console.log("filtersSelected changed: ", y), l(y);
1209
- }, [y]);
1210
- const S = () => {
1211
- C ? c({ name: C, description: w }) : N(!0);
1216
+ }, [i]), M(() => {
1217
+ console.log("filtersSelected changed: ", f), l(f);
1218
+ }, [f]);
1219
+ const B = () => {
1220
+ C ? c({ name: C, description: y }) : N(!0);
1212
1221
  };
1213
- return /* @__PURE__ */ p("div", { className: X.FiltersAmbitContainer, children: [
1214
- !f && /* @__PURE__ */ p("div", { className: X.FiltersAmbitHeader, children: [
1215
- /* @__PURE__ */ s("div", { className: X.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1222
+ return /* @__PURE__ */ p("div", { className: se.FiltersAmbitContainer, children: [
1223
+ !v && /* @__PURE__ */ p("div", { className: se.FiltersAmbitHeader, children: [
1224
+ /* @__PURE__ */ s("div", { className: se.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1216
1225
  "input",
1217
1226
  {
1218
1227
  type: "text",
1219
- onChange: (D) => {
1220
- N(!1), b(D.target.value);
1228
+ onChange: (S) => {
1229
+ N(!1), b(S.target.value);
1221
1230
  },
1222
1231
  value: C,
1223
- placeholder: g(u)
1232
+ placeholder: h(u)
1224
1233
  }
1225
1234
  ) }),
1226
- /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1235
+ /* @__PURE__ */ s("div", { className: se.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: se.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1227
1236
  "textarea",
1228
1237
  {
1229
- value: w,
1230
- onChange: (D) => x(D.target.value),
1231
- placeholder: g(m)
1238
+ value: y,
1239
+ onChange: (S) => w(S.target.value),
1240
+ placeholder: h(m)
1232
1241
  }
1233
1242
  ) }) })
1234
1243
  ] }),
1235
1244
  /* @__PURE__ */ s(
1236
- tt,
1245
+ st,
1237
1246
  {
1238
- title: g("applied_filters"),
1247
+ title: h("applied_filters"),
1239
1248
  isOpen: !0,
1240
1249
  textColor: r || "#fff",
1241
1250
  backgroundColor: a || "#605B5680",
1242
1251
  activeColor: t
1243
1252
  }
1244
1253
  ),
1245
- h.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
1246
- h.includes("tematical") && /* @__PURE__ */ s(
1247
- at,
1254
+ g.includes("geographical") && /* @__PURE__ */ s(rt, { activeColor: t }),
1255
+ g.includes("tematical") && /* @__PURE__ */ s(
1256
+ pt,
1248
1257
  {
1249
1258
  indicators: o,
1250
1259
  inputsColor: t,
@@ -1253,11 +1262,11 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
1253
1262
  activeColor: t
1254
1263
  }
1255
1264
  ),
1256
- v && /* @__PURE__ */ s("div", { className: X.warning, children: g(_) }),
1257
- !f && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(Ce, { onClick: () => S(), children: g("save_ambit") }) })
1265
+ x && /* @__PURE__ */ s("div", { className: se.warning, children: h(_) }),
1266
+ !v && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ye, { onClick: () => B(), children: h("save_ambit") }) })
1258
1267
  ] });
1259
1268
  };
1260
- H2.propTypes = {
1269
+ Q2.propTypes = {
1261
1270
  indicators: e.arrayOf(e.object).isRequired,
1262
1271
  ambitName: e.string,
1263
1272
  ambitDescription: e.string,
@@ -1272,9 +1281,9 @@ H2.propTypes = {
1272
1281
  filtersTypes: e.arrayOf(e.string).isRequired,
1273
1282
  nameRequiredText: e.string
1274
1283
  };
1275
- const U2 = "_barChartContainer_d2f1z_2", G2 = {
1276
- barChartContainer: U2
1277
- }, lt = ({
1284
+ const X2 = "_barChartContainer_d2f1z_2", J2 = {
1285
+ barChartContainer: X2
1286
+ }, mt = ({
1278
1287
  data: n,
1279
1288
  width: d = 700,
1280
1289
  barHeight: i = 25,
@@ -1286,13 +1295,13 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1286
1295
  numberOfDivisions: c = 7,
1287
1296
  maxValue: u = null
1288
1297
  }) => {
1289
- const { t: m } = k(), { xScale: h, ticks: _, height: f } = ae(() => {
1298
+ const { t: m } = k(), { xScale: g, ticks: _, height: v } = he(() => {
1290
1299
  if (n && n.length > 0) {
1291
- const g = (n == null ? void 0 : n.length) * (i + o) + r * 2, y = Ee.max(n, (w) => w.value) || 1, C = Ee.scaleLinear().domain([0, u || y]).range([0, d - l]), b = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : y / c * x);
1300
+ const h = (n == null ? void 0 : n.length) * (i + o) + r * 2, f = Ze.max(n, (y) => y.value) || 1, C = Ze.scaleLinear().domain([0, u || f]).range([0, d - l]), b = Array.from({ length: c + 1 }, (y, w) => u ? u / c * w : f / c * w);
1292
1301
  return {
1293
1302
  xScale: C,
1294
1303
  ticks: b,
1295
- height: g,
1304
+ height: h,
1296
1305
  width: d,
1297
1306
  verticalPaddign: r,
1298
1307
  horizontalPaddign: a
@@ -1309,32 +1318,32 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1309
1318
  r,
1310
1319
  u
1311
1320
  ]);
1312
- return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: f, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
1313
- /* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((g, y) => {
1314
- const C = h(g);
1321
+ return /* @__PURE__ */ s("div", { className: J2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: v, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
1322
+ /* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((h, f) => {
1323
+ const C = g(h);
1315
1324
  return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
1316
1325
  /* @__PURE__ */ s(
1317
1326
  "line",
1318
1327
  {
1319
1328
  y1: 0,
1320
- y2: f - o * 2,
1329
+ y2: v - o * 2,
1321
1330
  stroke: "#ccc"
1322
1331
  }
1323
1332
  ),
1324
1333
  /* @__PURE__ */ s(
1325
1334
  "text",
1326
1335
  {
1327
- y: f - o,
1336
+ y: v - o,
1328
1337
  textAnchor: "middle",
1329
1338
  fontSize: 10,
1330
1339
  fill: t,
1331
- children: parseInt(g)
1340
+ children: parseInt(h)
1332
1341
  }
1333
1342
  )
1334
- ] }, y);
1343
+ ] }, f);
1335
1344
  }) }),
1336
- n && n.length > 0 && (n == null ? void 0 : n.map((g, y) => {
1337
- const C = h(g.value), b = y * (i + o);
1345
+ n && n.length > 0 && (n == null ? void 0 : n.map((h, f) => {
1346
+ const C = g(h.value), b = f * (i + o);
1338
1347
  return /* @__PURE__ */ p(
1339
1348
  "g",
1340
1349
  {
@@ -1347,7 +1356,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1347
1356
  y: i / 2 + 5,
1348
1357
  textAnchor: "end",
1349
1358
  fill: t,
1350
- children: m(g.title)
1359
+ children: m(h.title)
1351
1360
  }
1352
1361
  ),
1353
1362
  /* @__PURE__ */ s(
@@ -1355,18 +1364,18 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1355
1364
  {
1356
1365
  width: C,
1357
1366
  height: i,
1358
- fill: g.color,
1367
+ fill: h.color,
1359
1368
  rx: 0
1360
1369
  }
1361
1370
  )
1362
1371
  ]
1363
1372
  },
1364
- y
1373
+ f
1365
1374
  );
1366
1375
  }))
1367
1376
  ] }) }) });
1368
1377
  };
1369
- lt.propTypes = {
1378
+ mt.propTypes = {
1370
1379
  data: e.arrayOf(
1371
1380
  e.shape({
1372
1381
  title: e.string,
@@ -1382,10 +1391,10 @@ lt.propTypes = {
1382
1391
  numberOfDivisions: e.number,
1383
1392
  fontColor: e.string
1384
1393
  };
1385
- const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1386
- graphicContainer: Y2,
1387
- titleContainer: W2
1388
- }, Q2 = ({
1394
+ const e0 = "_graphicContainer_c9zrg_2", t0 = "_titleContainer_c9zrg_14", Ue = {
1395
+ graphicContainer: e0,
1396
+ titleContainer: t0
1397
+ }, n0 = ({
1389
1398
  data: n,
1390
1399
  graphWidth: d = 700,
1391
1400
  containerStyle: i,
@@ -1400,15 +1409,15 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1400
1409
  return /* @__PURE__ */ p(
1401
1410
  "div",
1402
1411
  {
1403
- className: je.graphicContainer,
1412
+ className: Ue.graphicContainer,
1404
1413
  style: {
1405
1414
  ...i || {},
1406
1415
  border: `1.5px solid ${o}`
1407
1416
  },
1408
1417
  children: [
1409
- /* @__PURE__ */ s("div", { className: je.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
1418
+ /* @__PURE__ */ s("div", { className: Ue.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
1410
1419
  /* @__PURE__ */ s(
1411
- lt,
1420
+ mt,
1412
1421
  {
1413
1422
  data: n,
1414
1423
  width: d,
@@ -1422,7 +1431,7 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1422
1431
  }
1423
1432
  );
1424
1433
  };
1425
- Q2.propTypes = {
1434
+ n0.propTypes = {
1426
1435
  data: e.arrayOf(
1427
1436
  e.shape({
1428
1437
  color: e.string.isRequired,
@@ -1439,22 +1448,22 @@ Q2.propTypes = {
1439
1448
  numberOfDivisions: e.number,
1440
1449
  leftPadding: e.number
1441
1450
  };
1442
- const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu33_11", we = {
1443
- indicatorsCategory: X2,
1444
- title: J2,
1445
- list: e0
1446
- }, t0 = "_indicatorContainer_1go6h_2", n0 = "_indicatorNameContainer_1go6h_11", i0 = "_dot_1go6h_17", o0 = "_indicatorName_1go6h_11", s0 = "_switchExternalContainer_1go6h_28", r0 = "_switchType_1go6h_37", a0 = "_switchTypeOptions_1go6h_41", l0 = "_optionContainer_1go6h_52", c0 = "_customRadious_1go6h_62", d0 = "_optionText_1go6h_69", F = {
1447
- indicatorContainer: t0,
1448
- indicatorNameContainer: n0,
1449
- dot: i0,
1450
- indicatorName: o0,
1451
- switchExternalContainer: s0,
1452
- switchType: r0,
1453
- switchTypeOptions: a0,
1454
- optionContainer: l0,
1455
- customRadious: c0,
1456
- optionText: d0
1457
- }, Oe = ({
1451
+ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu33_11", Se = {
1452
+ indicatorsCategory: i0,
1453
+ title: o0,
1454
+ list: s0
1455
+ }, r0 = "_indicatorContainer_1go6h_2", a0 = "_indicatorNameContainer_1go6h_11", l0 = "_dot_1go6h_17", c0 = "_indicatorName_1go6h_11", d0 = "_switchExternalContainer_1go6h_28", u0 = "_switchType_1go6h_37", p0 = "_switchTypeOptions_1go6h_41", m0 = "_optionContainer_1go6h_52", h0 = "_customRadious_1go6h_62", g0 = "_optionText_1go6h_69", T = {
1456
+ indicatorContainer: r0,
1457
+ indicatorNameContainer: a0,
1458
+ dot: l0,
1459
+ indicatorName: c0,
1460
+ switchExternalContainer: d0,
1461
+ switchType: u0,
1462
+ switchTypeOptions: p0,
1463
+ optionContainer: m0,
1464
+ customRadious: h0,
1465
+ optionText: g0
1466
+ }, je = ({
1458
1467
  indicator: n,
1459
1468
  values: d = [],
1460
1469
  activeColor: i,
@@ -1465,25 +1474,25 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1465
1474
  multiple: l = !1,
1466
1475
  onChangeType: c
1467
1476
  }) => {
1468
- const { t: u } = k(), { name: m, type: h } = n, [_, f] = L(!1);
1469
- $(() => {
1470
- t && f(
1477
+ const { t: u } = k(), { name: m, type: g, disabled: _ } = n, [v, h] = D(!1);
1478
+ M(() => {
1479
+ t && h(
1471
1480
  l ? t.some(
1472
- (C) => C.name == String(m)
1481
+ (b) => b.name == String(m)
1473
1482
  ) : t.name == m
1474
1483
  );
1475
1484
  }, [t]);
1476
- const g = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ p("div", { className: F.switchTypeOptions, children: [
1485
+ const f = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ p("div", { className: T.switchTypeOptions, children: [
1477
1486
  /* @__PURE__ */ p(
1478
1487
  "div",
1479
1488
  {
1480
- className: F.optionContainer,
1489
+ className: T.optionContainer,
1481
1490
  onClick: () => c("cat"),
1482
1491
  children: [
1483
1492
  /* @__PURE__ */ s(
1484
1493
  "span",
1485
1494
  {
1486
- className: `${F.customRadious}`,
1495
+ className: `${T.customRadious}`,
1487
1496
  style: {
1488
1497
  backgroundColor: r === "cat" ? i : "transparent",
1489
1498
  borderColor: r === "cat" ? i : o
@@ -1493,7 +1502,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1493
1502
  /* @__PURE__ */ s(
1494
1503
  "h4",
1495
1504
  {
1496
- className: F.optionText,
1505
+ className: T.optionText,
1497
1506
  style: {
1498
1507
  color: r === "cat" ? i : o
1499
1508
  },
@@ -1506,13 +1515,13 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1506
1515
  /* @__PURE__ */ p(
1507
1516
  "div",
1508
1517
  {
1509
- className: F.optionContainer,
1518
+ className: T.optionContainer,
1510
1519
  onClick: () => c("abs"),
1511
1520
  children: [
1512
1521
  /* @__PURE__ */ s(
1513
1522
  "span",
1514
1523
  {
1515
- className: `${F.customRadious}`,
1524
+ className: `${T.customRadious}`,
1516
1525
  style: {
1517
1526
  backgroundColor: r === "abs" ? i : "transparent",
1518
1527
  borderColor: r === "abs" ? i : o
@@ -1522,7 +1531,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1522
1531
  /* @__PURE__ */ s(
1523
1532
  "h4",
1524
1533
  {
1525
- className: F.optionText,
1534
+ className: T.optionText,
1526
1535
  style: {
1527
1536
  color: r === "abs" ? i : o
1528
1537
  },
@@ -1532,54 +1541,65 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1532
1541
  ]
1533
1542
  }
1534
1543
  )
1535
- ] }) }) }), y = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((C, b) => /* @__PURE__ */ p(
1544
+ ] }) }) }), C = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ s("div", { className: T.switchTypeOptions, children: d.map((b, y) => /* @__PURE__ */ p(
1536
1545
  "div",
1537
1546
  {
1538
- className: F.optionContainer,
1547
+ className: T.optionContainer,
1539
1548
  children: [
1540
1549
  /* @__PURE__ */ s(
1541
1550
  "span",
1542
1551
  {
1543
- className: F.customRadious
1552
+ className: T.customRadious
1544
1553
  }
1545
1554
  ),
1546
- /* @__PURE__ */ s("h4", { children: u(C.unit) })
1555
+ /* @__PURE__ */ s("h4", { children: u(b.unit) })
1547
1556
  ]
1548
1557
  },
1549
- b
1558
+ y
1550
1559
  )) }) }) });
1551
- return /* @__PURE__ */ p("div", { className: F.indicatorContainer, children: [
1560
+ return /* @__PURE__ */ p("div", { className: T.indicatorContainer, children: [
1552
1561
  /* @__PURE__ */ p(
1553
1562
  "div",
1554
1563
  {
1555
- className: F.indicatorNameContainer,
1556
- onClick: () => a({ indicator: n }),
1564
+ className: T.indicatorNameContainer,
1565
+ onClick: () => !_ && a({ indicator: n }),
1557
1566
  children: [
1558
1567
  /* @__PURE__ */ s(
1559
1568
  "div",
1560
1569
  {
1561
1570
  style: {
1562
- border: _ ? `1px solid ${i}` : `1px solid ${o}`
1571
+ border: v ? `1px solid ${i}` : `1px solid ${o}`,
1572
+ opacity: _ ? 0.5 : 1
1563
1573
  },
1564
- className: F.dot
1574
+ className: T.dot
1565
1575
  }
1566
1576
  ),
1567
1577
  /* @__PURE__ */ s(
1568
1578
  "h4",
1569
1579
  {
1570
- className: F.indicatorName,
1571
- style: { color: _ ? i : o },
1572
- children: /* @__PURE__ */ s(Ve, { i18nKey: m, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 })
1580
+ className: T.indicatorName,
1581
+ style: {
1582
+ color: v ? i : o,
1583
+ opacity: _ ? 0.5 : 1
1584
+ },
1585
+ children: /* @__PURE__ */ s(
1586
+ qe,
1587
+ {
1588
+ i18nKey: m,
1589
+ components: { sup: /* @__PURE__ */ s("sup", {}) },
1590
+ shouldUnescape: !0
1591
+ }
1592
+ )
1573
1593
  }
1574
1594
  )
1575
1595
  ]
1576
1596
  }
1577
1597
  ),
1578
- (t == null ? void 0 : t.name) === m && h === "both" && /* @__PURE__ */ s("div", { children: g() }),
1579
- (t == null ? void 0 : t.name) === m && h === "twoUnits" && /* @__PURE__ */ s("div", { children: y() })
1598
+ (t == null ? void 0 : t.name) === m && g === "both" && /* @__PURE__ */ s("div", { children: f() }),
1599
+ (t == null ? void 0 : t.name) === m && g === "twoUnits" && /* @__PURE__ */ s("div", { children: C() })
1580
1600
  ] });
1581
1601
  };
1582
- Oe.propTypes = {
1602
+ je.propTypes = {
1583
1603
  indicator: e.shape({
1584
1604
  name: e.string,
1585
1605
  type: e.string
@@ -1591,10 +1611,10 @@ Oe.propTypes = {
1591
1611
  multiple: e.bool,
1592
1612
  onClickIndicator: e.func
1593
1613
  };
1594
- const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1595
- indicatorsSubCategory: u0,
1596
- list: p0
1597
- }, ct = ({
1614
+ const C0 = "_indicatorsSubCategory_1dzsi_2", f0 = "_list_1dzsi_8", Ge = {
1615
+ indicatorsSubCategory: C0,
1616
+ list: f0
1617
+ }, ht = ({
1598
1618
  subcName: n,
1599
1619
  indicators: d,
1600
1620
  defaultColor: i,
@@ -1606,40 +1626,40 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1606
1626
  onClickIndicator: c,
1607
1627
  multiple: u,
1608
1628
  activeIndicatorType: m,
1609
- onChangeType: h
1629
+ onChangeType: g
1610
1630
  }) => {
1611
- const { t: _ } = k(), [f, g] = L(!1);
1612
- return $(() => {
1613
- g(t == a);
1631
+ const { t: _ } = k(), [v, h] = D(!1);
1632
+ return M(() => {
1633
+ h(t == a);
1614
1634
  }, [t, a]), /* @__PURE__ */ p(
1615
- Ae.div,
1635
+ Ee.div,
1616
1636
  {
1617
- className: Ze.indicatorsSubCategory,
1637
+ className: Ge.indicatorsSubCategory,
1618
1638
  initial: { height: "43px" },
1619
- animate: { height: f ? "auto" : "43px" },
1639
+ animate: { height: v ? "auto" : "43px" },
1620
1640
  transition: { duration: 0.4 },
1621
1641
  children: [
1622
- /* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: f ? o : i }, children: [
1623
- /* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
1642
+ /* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: v ? o : i }, children: [
1643
+ /* @__PURE__ */ s("span", { style: { color: v ? o : i }, children: v ? "-" : "+" }),
1624
1644
  /* @__PURE__ */ s(
1625
1645
  "span",
1626
1646
  {
1627
- style: { marginLeft: 12, color: f ? o : i },
1647
+ style: { marginLeft: 12, color: v ? o : i },
1628
1648
  children: _(n)
1629
1649
  }
1630
1650
  )
1631
1651
  ] }) }),
1632
- d && /* @__PURE__ */ s("div", { className: Ze.list, children: d == null ? void 0 : d.map((y, C) => /* @__PURE__ */ s(
1633
- Oe,
1652
+ d && /* @__PURE__ */ s("div", { className: Ge.list, children: d == null ? void 0 : d.map((f, C) => /* @__PURE__ */ s(
1653
+ je,
1634
1654
  {
1635
- indicator: y,
1655
+ indicator: f,
1636
1656
  defaultColor: i,
1637
1657
  activeColor: o,
1638
1658
  activeIndicator: l,
1639
1659
  onClickIndicator: c,
1640
1660
  multiple: u,
1641
1661
  activeIndicatorType: m,
1642
- onChangeType: h
1662
+ onChangeType: g
1643
1663
  },
1644
1664
  "indicator" + C
1645
1665
  )) })
@@ -1647,7 +1667,7 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1647
1667
  }
1648
1668
  );
1649
1669
  };
1650
- ct.propTypes = {
1670
+ ht.propTypes = {
1651
1671
  subcName: e.string,
1652
1672
  indicators: e.array,
1653
1673
  activeColor: e.string,
@@ -1659,7 +1679,7 @@ ct.propTypes = {
1659
1679
  onClickSubCategory: e.func,
1660
1680
  onClickIndicator: e.func
1661
1681
  };
1662
- const dt = ({
1682
+ const gt = ({
1663
1683
  cat: n,
1664
1684
  id: d,
1665
1685
  activeColor: i,
@@ -1671,41 +1691,41 @@ const dt = ({
1671
1691
  activeIndicator: c,
1672
1692
  onClickIndicator: u,
1673
1693
  multiple: m,
1674
- activeIndicatorType: h,
1694
+ activeIndicatorType: g,
1675
1695
  onChangeType: _
1676
1696
  }) => {
1677
1697
  var C;
1678
- const { t: f } = k(), [g, y] = L(!1);
1679
- return $(() => {
1680
- y(r === d);
1698
+ const { t: v } = k(), [h, f] = D(!1);
1699
+ return M(() => {
1700
+ f(r === d);
1681
1701
  }, [r, d]), /* @__PURE__ */ p(
1682
- Ae.div,
1702
+ Ee.div,
1683
1703
  {
1684
- className: we.indicatorsCategory,
1704
+ className: Se.indicatorsCategory,
1685
1705
  initial: { height: "53px" },
1686
- animate: { height: g ? "auto" : "53px" },
1706
+ animate: { height: h ? "auto" : "53px" },
1687
1707
  transition: { duration: 0.4 },
1688
1708
  style: {
1689
1709
  backgroundColor: "white",
1690
- borderBottom: g ? `1px solid ${i}` : "0px",
1691
- marginBottom: g ? "20px" : "0px"
1710
+ borderBottom: h ? `1px solid ${i}` : "0px",
1711
+ marginBottom: h ? "20px" : "0px"
1692
1712
  },
1693
1713
  children: [
1694
- /* @__PURE__ */ p("h2", { className: `${we.title}`, onClick: () => t(d), children: [
1695
- /* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
1714
+ /* @__PURE__ */ p("h2", { className: `${Se.title}`, onClick: () => t(d), children: [
1715
+ /* @__PURE__ */ s("span", { style: { color: h ? i : o }, children: h ? "-" : "+" }),
1696
1716
  /* @__PURE__ */ s(
1697
1717
  "span",
1698
1718
  {
1699
- style: { marginLeft: 12, color: g ? i : o },
1700
- children: f(n.name)
1719
+ style: { marginLeft: 12, color: h ? i : o },
1720
+ children: v(n.name)
1701
1721
  }
1702
1722
  )
1703
1723
  ] }),
1704
1724
  n.subcategories ? n.subcategories.map(
1705
- ({ name: b, subcategory: w, indicators: x }, v) => /* @__PURE__ */ s(
1706
- ct,
1725
+ ({ name: b, subcategory: y, indicators: w }, x) => /* @__PURE__ */ s(
1726
+ ht,
1707
1727
  {
1708
- id: w,
1728
+ id: y,
1709
1729
  activeSubCategory: a,
1710
1730
  subcName: b,
1711
1731
  onClickSubCategory: l,
@@ -1714,14 +1734,14 @@ const dt = ({
1714
1734
  multiple: m,
1715
1735
  activeColor: i,
1716
1736
  defaultColor: o,
1717
- indicators: x,
1718
- activeIndicatorType: h,
1737
+ indicators: w,
1738
+ activeIndicatorType: g,
1719
1739
  onChangeType: _
1720
1740
  },
1721
- `subcKey ${v}`
1741
+ `subcKey ${x}`
1722
1742
  )
1723
- ) : /* @__PURE__ */ s("div", { className: we.list, children: (C = n.indicators) == null ? void 0 : C.map((b, w) => /* @__PURE__ */ s(
1724
- Oe,
1743
+ ) : /* @__PURE__ */ s("div", { className: Se.list, children: (C = n.indicators) == null ? void 0 : C.map((b, y) => /* @__PURE__ */ s(
1744
+ je,
1725
1745
  {
1726
1746
  indicator: b,
1727
1747
  values: b.type == "twoUnits" && b.values,
@@ -1730,16 +1750,16 @@ const dt = ({
1730
1750
  activeIndicator: c,
1731
1751
  onClickIndicator: u,
1732
1752
  multiple: m,
1733
- activeIndicatorType: h,
1753
+ activeIndicatorType: g,
1734
1754
  onChangeType: _
1735
1755
  },
1736
- `indicator${w}`
1756
+ `indicator${y}`
1737
1757
  )) })
1738
1758
  ]
1739
1759
  }
1740
1760
  );
1741
1761
  };
1742
- dt.propTypes = {
1762
+ gt.propTypes = {
1743
1763
  cat: e.object,
1744
1764
  id: e.string,
1745
1765
  onChange: e.func,
@@ -1753,10 +1773,10 @@ dt.propTypes = {
1753
1773
  activeColor: e.string,
1754
1774
  defaultColor: e.string
1755
1775
  };
1756
- const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1757
- indicatorsList: m0,
1758
- title: h0
1759
- }, g0 = ({
1776
+ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
1777
+ indicatorsList: b0,
1778
+ title: _0
1779
+ }, y0 = ({
1760
1780
  indicators: n,
1761
1781
  activeColor: d,
1762
1782
  defaultColor: i = "#92898A",
@@ -1770,64 +1790,64 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1770
1790
  changeIndType: a,
1771
1791
  activeIndicatorType: l
1772
1792
  }) => {
1773
- const { t: c } = k(), [u, m] = L(), [h, _] = L(), [f, g] = L(), y = (v) => {
1774
- m(u == v ? null : v);
1775
- }, C = (v) => {
1776
- _(h == v ? null : v);
1777
- }, b = ({ indicator: v }) => {
1778
- console.log("onClickIndicator: ", v), w(v);
1779
- }, w = (v) => {
1793
+ const { t: c } = k(), [u, m] = D(), [g, _] = D(), [v, h] = D(), f = (x) => {
1794
+ m(u == x ? null : x);
1795
+ }, C = (x) => {
1796
+ _(g == x ? null : x);
1797
+ }, b = ({ indicator: x }) => {
1798
+ console.log("onClickIndicator: ", x), y(x);
1799
+ }, y = (x) => {
1780
1800
  if (!t)
1781
- g(
1782
- (f == null ? void 0 : f.name) == v.name ? null : v
1801
+ h(
1802
+ (v == null ? void 0 : v.name) == x.name ? null : x
1783
1803
  );
1784
1804
  else {
1785
- let N = f && f.length > 0 ? [...f] : [];
1786
- g(
1805
+ let N = v && v.length > 0 ? [...v] : [];
1806
+ h(
1787
1807
  N != null && N.some(
1788
- (S) => S.name == v.name
1808
+ (B) => B.name == x.name
1789
1809
  ) ? N.filter(
1790
- (S) => S.name != String(v.name)
1791
- ) : [...N, v]
1792
- ), v.type == "both" && a("cat");
1810
+ (B) => B.name != String(x.name)
1811
+ ) : [...N, x]
1812
+ ), x.type == "both" && a("cat");
1793
1813
  }
1794
1814
  };
1795
- $(() => {
1796
- console.log("activeindicator changed to: ", f), o && typeof o == "function" && f && o({ activeIndicator: f });
1797
- }, [f]), yt(() => {
1798
- if (r && !f)
1815
+ M(() => {
1816
+ console.log("activeindicator changed to: ", v), o && typeof o == "function" && v && o({ activeIndicator: v });
1817
+ }, [v]), kt(() => {
1818
+ if (r && !v)
1799
1819
  if (t && r && Array.isArray(r)) {
1800
- let v = f && f.length > 0 ? [...f] : [];
1801
- g([...v, ...r]), x(r[0].name);
1820
+ let x = v && v.length > 0 ? [...v] : [];
1821
+ h([...x, ...r]), w(r[0].name);
1802
1822
  } else
1803
- w(r), x(r.name);
1823
+ y(r), w(r.name);
1804
1824
  }, []);
1805
- const x = (v) => {
1806
- const N = n.find((S) => {
1807
- if (S.subcategories) {
1808
- let D = S.subcategories.find(
1809
- (z) => z.indicators.find((ce) => ce.name == v)
1825
+ const w = (x) => {
1826
+ const N = n.find((B) => {
1827
+ if (B.subcategories) {
1828
+ let S = B.subcategories.find(
1829
+ (E) => E.indicators.find((V) => V.name == x)
1810
1830
  );
1811
- if (D)
1812
- return _(D.subcategory), D;
1831
+ if (S)
1832
+ return _(S.subcategory), S;
1813
1833
  } else
1814
- return S.indicators.some((D) => D.name == v);
1834
+ return B.indicators.some((S) => S.name == x);
1815
1835
  });
1816
1836
  N && m(N.category);
1817
1837
  };
1818
- return /* @__PURE__ */ p("div", { className: Ke.indicatorsList, children: [
1819
- /* @__PURE__ */ s("h2", { className: Ke.title, style: { color: i }, children: c("indicators.indicators") }),
1820
- n.map((v, N) => /* @__PURE__ */ s(
1821
- dt,
1838
+ return /* @__PURE__ */ p("div", { className: We.indicatorsList, children: [
1839
+ /* @__PURE__ */ s("h2", { className: We.title, style: { color: i }, children: c("indicators.indicators") }),
1840
+ n.map((x, N) => /* @__PURE__ */ s(
1841
+ gt,
1822
1842
  {
1823
- id: v.category,
1824
- cat: v,
1825
- onClickCategory: y,
1843
+ id: x.category,
1844
+ cat: x,
1845
+ onClickCategory: f,
1826
1846
  activeCategory: u,
1827
1847
  onClickSubCategory: C,
1828
- activeSubCategory: h,
1848
+ activeSubCategory: g,
1829
1849
  onClickIndicator: b,
1830
- activeIndicator: f,
1850
+ activeIndicator: v,
1831
1851
  activeColor: d,
1832
1852
  defaultColor: i,
1833
1853
  multiple: t,
@@ -1839,7 +1859,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1839
1859
  ))
1840
1860
  ] });
1841
1861
  };
1842
- g0.propTypes = {
1862
+ y0.propTypes = {
1843
1863
  indicators: e.arrayOf(e.object),
1844
1864
  activeColor: e.string,
1845
1865
  defaultColor: e.string,
@@ -1850,35 +1870,35 @@ g0.propTypes = {
1850
1870
  defaultValue: e.oneOfType([e.object, e.array]),
1851
1871
  activeIndicatorType: e.string
1852
1872
  };
1853
- const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o9enq_26", y0 = "_prevImg_o9enq_29", _0 = "_langMenu_o9enq_33", J = {
1854
- langSelector: C0,
1855
- currentLang: f0,
1856
- arrow: b0,
1857
- prevImg: y0,
1858
- langMenu: _0
1859
- }, v0 = ({ langs: n, arrow: d, imgPrev: i }) => {
1860
- const [o, t] = L(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
1873
+ const v0 = "_langSelector_o9enq_2", x0 = "_currentLang_o9enq_14", w0 = "_arrow_o9enq_26", N0 = "_prevImg_o9enq_29", k0 = "_langMenu_o9enq_33", re = {
1874
+ langSelector: v0,
1875
+ currentLang: x0,
1876
+ arrow: w0,
1877
+ prevImg: N0,
1878
+ langMenu: k0
1879
+ }, B0 = ({ langs: n, arrow: d, imgPrev: i }) => {
1880
+ const [o, t] = D(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
1861
1881
  r.changeLanguage(c), t(!1);
1862
1882
  };
1863
- return /* @__PURE__ */ p("div", { className: J.langSelector, children: [
1883
+ return /* @__PURE__ */ p("div", { className: re.langSelector, children: [
1864
1884
  /* @__PURE__ */ p(
1865
1885
  "div",
1866
1886
  {
1867
- className: J.currentLang,
1887
+ className: re.currentLang,
1868
1888
  onClick: () => {
1869
1889
  t(!o);
1870
1890
  },
1871
1891
  children: [
1872
- i && /* @__PURE__ */ s("img", { className: J.prevImg, src: i }),
1892
+ i && /* @__PURE__ */ s("img", { className: re.prevImg, src: i }),
1873
1893
  (a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
1874
- /* @__PURE__ */ s("img", { src: d, className: J.arrow })
1894
+ /* @__PURE__ */ s("img", { src: d, className: re.arrow })
1875
1895
  ]
1876
1896
  }
1877
1897
  ),
1878
- o && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((c) => /* @__PURE__ */ s(
1898
+ o && /* @__PURE__ */ s("div", { className: re.langMenu, children: n.map((c) => /* @__PURE__ */ s(
1879
1899
  "button",
1880
1900
  {
1881
- className: (a == null ? void 0 : a.code) == c.code ? J.active : "",
1901
+ className: (a == null ? void 0 : a.code) == c.code ? re.active : "",
1882
1902
  onClick: () => l(c.code),
1883
1903
  children: c.title
1884
1904
  },
@@ -1886,7 +1906,7 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
1886
1906
  )) })
1887
1907
  ] });
1888
1908
  };
1889
- v0.propTypes = {
1909
+ B0.propTypes = {
1890
1910
  langs: e.arrayOf(
1891
1911
  e.shape({
1892
1912
  code: e.string,
@@ -1900,23 +1920,23 @@ v0.propTypes = {
1900
1920
  arrow: e.object,
1901
1921
  imgPrev: e.object
1902
1922
  };
1903
- const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titleContainer_qs4x9_59", k0 = "_infoContainer_qs4x9_65", B0 = "_titleLegendList_qs4x9_76", S0 = "_legendListContainer_qs4x9_82", D0 = "_gridContainer_qs4x9_82", M0 = "_elementLegendContainer_qs4x9_88", L0 = "_colorDot_qs4x9_94", $0 = "_absoluteValueContainer_qs4x9_100", F0 = "_absoluteValueColor_qs4x9_103", T0 = "_absoluteValueText_qs4x9_108", V0 = "_noDataContainer_qs4x9_120", A0 = "_noData_qs4x9_120", I0 = "_moreInfoContainer_qs4x9_141", M = {
1904
- legendContainer: w0,
1905
- closeButton: x0,
1906
- titleContainer: N0,
1907
- infoContainer: k0,
1908
- titleLegendList: B0,
1909
- legendListContainer: S0,
1910
- gridContainer: D0,
1911
- elementLegendContainer: M0,
1912
- colorDot: L0,
1913
- absoluteValueContainer: $0,
1914
- absoluteValueColor: F0,
1915
- absoluteValueText: T0,
1916
- noDataContainer: V0,
1917
- noData: A0,
1918
- moreInfoContainer: I0
1919
- }, O0 = ({
1923
+ const S0 = "_legendContainer_qs4x9_3", $0 = "_closeButton_qs4x9_31", D0 = "_titleContainer_qs4x9_59", M0 = "_infoContainer_qs4x9_65", L0 = "_titleLegendList_qs4x9_76", T0 = "_legendListContainer_qs4x9_82", F0 = "_gridContainer_qs4x9_82", V0 = "_elementLegendContainer_qs4x9_88", A0 = "_colorDot_qs4x9_94", I0 = "_absoluteValueContainer_qs4x9_100", O0 = "_absoluteValueColor_qs4x9_103", R0 = "_absoluteValueText_qs4x9_108", q0 = "_noDataContainer_qs4x9_120", E0 = "_noData_qs4x9_120", P0 = "_moreInfoContainer_qs4x9_141", L = {
1924
+ legendContainer: S0,
1925
+ closeButton: $0,
1926
+ titleContainer: D0,
1927
+ infoContainer: M0,
1928
+ titleLegendList: L0,
1929
+ legendListContainer: T0,
1930
+ gridContainer: F0,
1931
+ elementLegendContainer: V0,
1932
+ colorDot: A0,
1933
+ absoluteValueContainer: I0,
1934
+ absoluteValueColor: O0,
1935
+ absoluteValueText: R0,
1936
+ noDataContainer: q0,
1937
+ noData: E0,
1938
+ moreInfoContainer: P0
1939
+ }, j0 = ({
1920
1940
  //JSON with the styles of the container (optional)
1921
1941
  containerStyles: n,
1922
1942
  //Title on top of the legend
@@ -1944,30 +1964,30 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titl
1944
1964
  "div",
1945
1965
  {
1946
1966
  style: n ? { ...n } : {},
1947
- className: `${M.legendContainer}`,
1967
+ className: `${L.legendContainer}`,
1948
1968
  children: [
1949
- /* @__PURE__ */ s("button", { className: M.closeButton, onClick: c }),
1950
- d && /* @__PURE__ */ s("div", { className: M.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
1951
- i && i.length > 0 && /* @__PURE__ */ s("div", { className: M.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: m, value: h }) => /* @__PURE__ */ p("li", { children: [
1952
- /* @__PURE__ */ s("h3", { className: M.title, children: `${m}:` }),
1953
- /* @__PURE__ */ p("span", { className: M.value, children: [
1969
+ /* @__PURE__ */ s("button", { className: L.closeButton, onClick: c }),
1970
+ d && /* @__PURE__ */ s("div", { className: L.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
1971
+ i && i.length > 0 && /* @__PURE__ */ s("div", { className: L.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: m, value: g }) => /* @__PURE__ */ p("li", { children: [
1972
+ /* @__PURE__ */ s("h3", { className: L.title, children: `${m}:` }),
1973
+ /* @__PURE__ */ p("span", { className: L.value, children: [
1954
1974
  "  ",
1955
- h
1975
+ g
1956
1976
  ] })
1957
1977
  ] }, d)) }) }),
1958
- /* @__PURE__ */ s("h3", { className: M.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
1959
- /* @__PURE__ */ p("div", { className: M.legendListContainer, children: [
1960
- r ? /* @__PURE__ */ p("div", { className: M.absoluteValueContainer, children: [
1978
+ /* @__PURE__ */ s("h3", { className: L.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(qe, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
1979
+ /* @__PURE__ */ p("div", { className: L.legendListContainer, children: [
1980
+ r ? /* @__PURE__ */ p("div", { className: L.absoluteValueContainer, children: [
1961
1981
  /* @__PURE__ */ s(
1962
1982
  "div",
1963
1983
  {
1964
- className: M.absoluteValueColor,
1984
+ className: L.absoluteValueColor,
1965
1985
  style: {
1966
1986
  background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
1967
1987
  }
1968
1988
  }
1969
1989
  ),
1970
- /* @__PURE__ */ p("div", { className: M.absoluteValueText, children: [
1990
+ /* @__PURE__ */ p("div", { className: L.absoluteValueText, children: [
1971
1991
  /* @__PURE__ */ p("span", { children: [
1972
1992
  r.maxValue,
1973
1993
  " ",
@@ -1984,40 +2004,40 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titl
1984
2004
  u(r.unit)
1985
2005
  ] })
1986
2006
  ] })
1987
- ] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: M.gridContainer, children: o.map(
1988
- ({ title: m, color: h }) => /* @__PURE__ */ p("div", { className: M.elementLegendContainer, children: [
2007
+ ] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: L.gridContainer, children: o.map(
2008
+ ({ title: m, color: g }) => /* @__PURE__ */ p("div", { className: L.elementLegendContainer, children: [
1989
2009
  /* @__PURE__ */ s(
1990
2010
  "div",
1991
2011
  {
1992
- className: M.colorDot,
1993
- style: { backgroundColor: h }
2012
+ className: L.colorDot,
2013
+ style: { backgroundColor: g }
1994
2014
  }
1995
2015
  ),
1996
- /* @__PURE__ */ p("div", { className: M.titleLegendElement, children: [
2016
+ /* @__PURE__ */ p("div", { className: L.titleLegendElement, children: [
1997
2017
  u(m),
1998
2018
  " "
1999
2019
  ] })
2000
2020
  ] }, d)
2001
2021
  ) }),
2002
- r.noDataColor && /* @__PURE__ */ p("div", { className: M.noDataContainer, children: [
2022
+ r.noDataColor && /* @__PURE__ */ p("div", { className: L.noDataContainer, children: [
2003
2023
  /* @__PURE__ */ s(
2004
2024
  "div",
2005
2025
  {
2006
- className: M.noData,
2026
+ className: L.noData,
2007
2027
  style: {
2008
2028
  background: r.noDataColor
2009
2029
  }
2010
2030
  }
2011
2031
  ),
2012
- /* @__PURE__ */ s("div", { className: M.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2032
+ /* @__PURE__ */ s("div", { className: L.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2013
2033
  ] })
2014
2034
  ] }),
2015
- a && /* @__PURE__ */ s("button", { className: M.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
2035
+ a && /* @__PURE__ */ s("button", { className: L.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
2016
2036
  ]
2017
2037
  }
2018
2038
  );
2019
2039
  };
2020
- O0.propTypes = {
2040
+ j0.propTypes = {
2021
2041
  title: e.string,
2022
2042
  containerStyles: e.object,
2023
2043
  infoList: e.arrayOf(
@@ -2044,23 +2064,23 @@ O0.propTypes = {
2044
2064
  onClickClose: e.func,
2045
2065
  noDataColor: e.string
2046
2066
  };
2047
- const R0 = "_logo_1ewa6_2", He = {
2048
- logo: R0
2049
- }, q0 = ({ src: n, alt: d, href: i }) => {
2067
+ const z0 = "_logo_1ewa6_2", Ye = {
2068
+ logo: z0
2069
+ }, Z0 = ({ src: n, alt: d, href: i }) => {
2050
2070
  const { t: o } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: o(d) });
2051
- return i ? /* @__PURE__ */ s("div", { className: He.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: He.logo, children: t });
2071
+ return i ? /* @__PURE__ */ s("div", { className: Ye.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: Ye.logo, children: t });
2052
2072
  };
2053
- q0.propTypes = {
2073
+ Z0.propTypes = {
2054
2074
  src: e.string.isRequired,
2055
2075
  alt: e.string.isRequired,
2056
2076
  href: e.string,
2057
2077
  className: e.string
2058
2078
  };
2059
- const E0 = "_mapContainer_84pkf_2", P0 = {
2060
- mapContainer: E0
2079
+ const K0 = "_mapContainer_84pkf_2", H0 = {
2080
+ mapContainer: K0
2061
2081
  };
2062
- vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2063
- const z0 = ({
2082
+ St.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2083
+ const U0 = ({
2064
2084
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2065
2085
  maxZoom: d = 17,
2066
2086
  minZoom: i = 8,
@@ -2073,19 +2093,19 @@ const z0 = ({
2073
2093
  sources: u = [],
2074
2094
  layers: m = []
2075
2095
  }) => {
2076
- const h = ne(), [_, f] = L(null), g = wt((y) => y.mapState.showTexts);
2077
- return $(() => {
2078
- if (h.current) {
2079
- const y = h.current.getMap();
2080
- y.getStyle().layers.map((b) => {
2081
- b.type == "symbol" && b.id != "professionals" && (g ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
2096
+ const g = te(), [_, v] = D(null), h = $t((f) => f.mapState.showTexts);
2097
+ return M(() => {
2098
+ if (g.current) {
2099
+ const f = g.current.getMap();
2100
+ f.getStyle().layers.map((b) => {
2101
+ b.type == "symbol" && b.id != "professionals" && (h ? f.setLayoutProperty(b.id, "visibility", "visible") : f.setLayoutProperty(b.id, "visibility", "none"));
2082
2102
  });
2083
2103
  }
2084
- }, [g]), /* @__PURE__ */ s("div", { className: `${P0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2085
- Nt,
2104
+ }, [h]), /* @__PURE__ */ s("div", { className: `${H0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2105
+ Mt,
2086
2106
  {
2087
2107
  initialViewState: n,
2088
- ref: h,
2108
+ ref: g,
2089
2109
  hash: !1,
2090
2110
  maxZoom: d,
2091
2111
  minZoom: i,
@@ -2093,31 +2113,31 @@ const z0 = ({
2093
2113
  onClick: a,
2094
2114
  interactiveLayerIds: l,
2095
2115
  children: [
2096
- u.length && u.map((y, C) => /* @__PURE__ */ s(
2097
- kt,
2116
+ u.length && u.map((f, C) => /* @__PURE__ */ s(
2117
+ Lt,
2098
2118
  {
2099
- ...y,
2100
- children: m.length && m.map((b, w) => {
2101
- if (b.sourceId == y.id) return /* @__PURE__ */ s(
2102
- Bt,
2119
+ ...f,
2120
+ children: m.length && m.map((b, y) => {
2121
+ if (b.sourceId == f.id) return /* @__PURE__ */ s(
2122
+ Tt,
2103
2123
  {
2104
2124
  ...b.layer,
2105
2125
  beforeId: t
2106
2126
  },
2107
- w
2127
+ y
2108
2128
  );
2109
2129
  })
2110
2130
  },
2111
2131
  C
2112
2132
  )),
2113
- /* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
2133
+ /* @__PURE__ */ s(Ft, { position: "bottom-right", visualizePitch: !0 }),
2114
2134
  c && _ && /* @__PURE__ */ s(
2115
- Dt,
2135
+ Vt,
2116
2136
  {
2117
2137
  longitude: c.longitude,
2118
2138
  latitude: c.latitude,
2119
2139
  anchor: c.anchor,
2120
- onClose: () => f(null),
2140
+ onClose: () => v(null),
2121
2141
  children: c.content
2122
2142
  }
2123
2143
  )
@@ -2125,7 +2145,7 @@ const z0 = ({
2125
2145
  }
2126
2146
  ) });
2127
2147
  };
2128
- z0.propTypes = {
2148
+ U0.propTypes = {
2129
2149
  initialView: e.shape({
2130
2150
  latitude: e.number.isRequired,
2131
2151
  longitude: e.number.isRequired,
@@ -2170,25 +2190,25 @@ z0.propTypes = {
2170
2190
  })
2171
2191
  )
2172
2192
  };
2173
- const j0 = "_mapContainer_b0pyr_3", Z0 = {
2174
- mapContainer: j0
2175
- }, K0 = "_FeaturePopUp_mt8l5_2", H0 = "_title_mt8l5_9", Ue = {
2176
- FeaturePopUp: K0,
2177
- title: H0
2178
- }, U0 = ({ props: n }) => {
2193
+ const G0 = "_mapContainer_b0pyr_3", W0 = {
2194
+ mapContainer: G0
2195
+ }, Y0 = "_FeaturePopUp_mt8l5_2", Q0 = "_title_mt8l5_9", Qe = {
2196
+ FeaturePopUp: Y0,
2197
+ title: Q0
2198
+ }, X0 = ({ props: n }) => {
2179
2199
  const { t: d } = k();
2180
- return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
2181
- /* @__PURE__ */ p("span", { className: Ue.title, children: [
2182
- /* @__PURE__ */ s(Ve, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
2200
+ return /* @__PURE__ */ s("div", { className: Qe.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
2201
+ /* @__PURE__ */ p("span", { className: Qe.title, children: [
2202
+ /* @__PURE__ */ s(qe, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
2183
2203
  ":"
2184
2204
  ] }),
2185
- isNaN(i.value) ? /* @__PURE__ */ s(De, { children: d(i.value) }) : /* @__PURE__ */ p(De, { children: [
2205
+ isNaN(i.value) ? /* @__PURE__ */ s(Fe, { children: d(i.value) }) : /* @__PURE__ */ p(Fe, { children: [
2186
2206
  i.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2187
2207
  " ",
2188
2208
  d(i.unit)
2189
2209
  ] })
2190
2210
  ] })) });
2191
- }, G0 = ({
2211
+ }, J0 = ({
2192
2212
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2193
2213
  maxZoom: d = 17,
2194
2214
  minZoom: i = 8,
@@ -2200,30 +2220,30 @@ const j0 = "_mapContainer_b0pyr_3", Z0 = {
2200
2220
  sources: c = [],
2201
2221
  layers: u = [],
2202
2222
  filters: m,
2203
- popUpParams: h,
2223
+ popUpParams: g,
2204
2224
  onClosePopUp: _,
2205
- showTexts: f
2225
+ showTexts: v
2206
2226
  }) => {
2207
2227
  console.log(m);
2208
- const g = ne();
2209
- return $(() => {
2210
- if (g.current) {
2211
- const y = g.current.getMap();
2212
- y.getStyle().layers.map((b) => {
2213
- b.type == "symbol" && b.id != "professionals" && (f ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
2228
+ const h = te();
2229
+ return M(() => {
2230
+ if (h.current) {
2231
+ const f = h.current.getMap();
2232
+ f.getStyle().layers.map((b) => {
2233
+ b.type == "symbol" && b.id != "professionals" && (v ? f.setLayoutProperty(b.id, "visibility", "visible") : f.setLayoutProperty(b.id, "visibility", "none"));
2214
2234
  });
2215
2235
  }
2216
- }, [f]), $(() => {
2217
- let y = new Mt();
2218
- return be.addProtocol("pmtiles", y.tile), () => {
2219
- be.removeProtocol("pmtiles");
2236
+ }, [v]), M(() => {
2237
+ let f = new At();
2238
+ return we.addProtocol("pmtiles", f.tile), () => {
2239
+ we.removeProtocol("pmtiles");
2220
2240
  };
2221
- }, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2222
- Lt,
2241
+ }, []), /* @__PURE__ */ s("div", { className: `${W0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2242
+ It,
2223
2243
  {
2224
- mapLib: be,
2244
+ mapLib: we,
2225
2245
  initialViewState: n,
2226
- ref: g,
2246
+ ref: h,
2227
2247
  hash: !1,
2228
2248
  maxZoom: d,
2229
2249
  minZoom: i,
@@ -2231,39 +2251,39 @@ const j0 = "_mapContainer_b0pyr_3", Z0 = {
2231
2251
  onClick: a,
2232
2252
  interactiveLayerIds: l,
2233
2253
  children: [
2234
- c.length && c.map((y, C) => /* @__PURE__ */ s(
2235
- $t,
2254
+ c.length && c.map((f, C) => /* @__PURE__ */ s(
2255
+ Ot,
2236
2256
  {
2237
- ...y,
2238
- children: u.length && u.map((b, w) => {
2239
- if (b.sourceId == y.id) return /* @__PURE__ */ s(
2240
- Ft,
2257
+ ...f,
2258
+ children: u.length && u.map((b, y) => {
2259
+ if (b.sourceId == f.id) return /* @__PURE__ */ s(
2260
+ Rt,
2241
2261
  {
2242
2262
  ...b.layer,
2243
2263
  beforeId: t,
2244
2264
  filter: m && m
2245
2265
  },
2246
- w
2266
+ y
2247
2267
  );
2248
2268
  })
2249
2269
  },
2250
2270
  C
2251
2271
  )),
2252
- /* @__PURE__ */ s(Tt, { position: "bottom-right", visualizePitch: !0 }),
2253
- h && /* @__PURE__ */ s(
2254
- Vt,
2272
+ /* @__PURE__ */ s(qt, { position: "bottom-right", visualizePitch: !0 }),
2273
+ g && /* @__PURE__ */ s(
2274
+ Et,
2255
2275
  {
2256
- longitude: h.lng,
2257
- latitude: h.lat,
2276
+ longitude: g.lng,
2277
+ latitude: g.lat,
2258
2278
  onClose: _,
2259
- children: /* @__PURE__ */ s(U0, { props: h.props })
2279
+ children: /* @__PURE__ */ s(X0, { props: g.props })
2260
2280
  }
2261
2281
  )
2262
2282
  ]
2263
2283
  }
2264
2284
  ) });
2265
2285
  };
2266
- G0.propTypes = {
2286
+ J0.propTypes = {
2267
2287
  initialView: e.shape({
2268
2288
  latitude: e.number.isRequired,
2269
2289
  longitude: e.number.isRequired,
@@ -2306,14 +2326,14 @@ G0.propTypes = {
2306
2326
  popUpParams: e.object,
2307
2327
  onClosePopUp: e.func
2308
2328
  };
2309
- const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textContainer_1egwc_20", X0 = "_title_1egwc_27", J0 = "_subtitle_1egwc_33", en = "_rightContent_1egwc_38", H = {
2310
- sectionBar: Y0,
2311
- leftContent: W0,
2312
- textContainer: Q0,
2313
- title: X0,
2314
- subtitle: J0,
2315
- rightContent: en
2316
- }, oi = ({
2329
+ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textContainer_1egwc_20", on = "_title_1egwc_27", sn = "_subtitle_1egwc_33", rn = "_rightContent_1egwc_38", Q = {
2330
+ sectionBar: en,
2331
+ leftContent: tn,
2332
+ textContainer: nn,
2333
+ title: on,
2334
+ subtitle: sn,
2335
+ rightContent: rn
2336
+ }, Oi = ({
2317
2337
  leftIcon: n,
2318
2338
  title: d,
2319
2339
  subtitle: i,
@@ -2322,17 +2342,17 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2322
2342
  width: r
2323
2343
  }) => {
2324
2344
  const { t: a } = k();
2325
- return /* @__PURE__ */ p("div", { className: H.sectionBar, style: { width: r && r }, children: [
2326
- /* @__PURE__ */ p("div", { className: H.leftContent, children: [
2327
- n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
2328
- /* @__PURE__ */ p("div", { className: H.textContainer, children: [
2329
- /* @__PURE__ */ s("div", { className: H.title, children: a(d) }),
2330
- i && /* @__PURE__ */ s("div", { className: H.subtitle, children: i })
2345
+ return /* @__PURE__ */ p("div", { className: Q.sectionBar, style: { width: r && r }, children: [
2346
+ /* @__PURE__ */ p("div", { className: Q.leftContent, children: [
2347
+ n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: Q.icon }),
2348
+ /* @__PURE__ */ p("div", { className: Q.textContainer, children: [
2349
+ /* @__PURE__ */ s("div", { className: Q.title, children: a(d) }),
2350
+ i && /* @__PURE__ */ s("div", { className: Q.subtitle, children: i })
2331
2351
  ] })
2332
2352
  ] }),
2333
- /* @__PURE__ */ s("div", { className: H.rightContent, children: o })
2353
+ /* @__PURE__ */ s("div", { className: Q.rightContent, children: o })
2334
2354
  ] });
2335
- }, tn = At({
2355
+ }, an = Pt({
2336
2356
  name: "mapSlice",
2337
2357
  initialState: {
2338
2358
  showTexts: !0,
@@ -2358,36 +2378,36 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2358
2378
  n.activeIndicatorUnit = d.payload;
2359
2379
  }
2360
2380
  }
2361
- }), { setShowTexts: si, setYear: xe, setActiveIndicatorKey: ri, setActiveIndicatorType: ai, setActiveIndicatorUnit: li } = tn.actions, nn = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", on = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", sn = "_slider_a19yo_2", rn = "_playButton_a19yo_17", an = "_sliderOpen_a19yo_28", ln = "_sliderResults_a19yo_32", oe = {
2362
- slider: sn,
2363
- playButton: rn,
2364
- sliderOpen: an,
2365
- sliderResults: ln
2366
- }, cn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2367
- const [a, l] = L(d), c = xt(), u = (b, w) => {
2368
- l(w), c(xe(w - 2e3));
2369
- }, [m, h] = L(!1), _ = () => {
2370
- h(!0);
2371
- }, f = () => {
2372
- h(!1);
2381
+ }), { setShowTexts: Ri, setYear: $e, setActiveIndicatorKey: qi, setActiveIndicatorType: Ei, setActiveIndicatorUnit: Pi } = an.actions, ln = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", cn = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", dn = "_slider_a19yo_2", un = "_playButton_a19yo_17", pn = "_sliderOpen_a19yo_28", mn = "_sliderResults_a19yo_32", ue = {
2382
+ slider: dn,
2383
+ playButton: un,
2384
+ sliderOpen: pn,
2385
+ sliderResults: mn
2386
+ }, hn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2387
+ const [a, l] = D(d), c = Dt(), u = (b, y) => {
2388
+ l(y), c($e(y - 2e3));
2389
+ }, [m, g] = D(!1), _ = () => {
2390
+ g(!0);
2391
+ }, v = () => {
2392
+ g(!1);
2373
2393
  };
2374
- ((b, w) => {
2375
- const x = ne();
2376
- $(() => {
2377
- x.current = b;
2378
- }, [b]), $(() => {
2379
- function v() {
2380
- x.current();
2394
+ ((b, y) => {
2395
+ const w = te();
2396
+ M(() => {
2397
+ w.current = b;
2398
+ }, [b]), M(() => {
2399
+ function x() {
2400
+ w.current();
2381
2401
  }
2382
2402
  {
2383
- let N = setInterval(v, w);
2403
+ let N = setInterval(x, y);
2384
2404
  return () => clearInterval(N);
2385
2405
  }
2386
- }, [w]);
2406
+ }, [y]);
2387
2407
  })(() => {
2388
- m && (a != 2050 ? (l(a + 1), c(xe(a - 2e3 + 1))) : (l(2025), c(xe(25))));
2408
+ m && (a != 2050 ? (l(a + 1), c($e(a - 2e3 + 1))) : (l(2025), c($e(25))));
2389
2409
  }, 1e3);
2390
- const y = Ot({
2410
+ const f = zt({
2391
2411
  palette: {
2392
2412
  primary: {
2393
2413
  main: "#605b56"
@@ -2415,16 +2435,16 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2415
2435
  { label: "", value: 2041 },
2416
2436
  { label: "", value: 2050 }
2417
2437
  ];
2418
- return /* @__PURE__ */ s(qt, { theme: y, children: /* @__PURE__ */ p(
2419
- Rt,
2438
+ return /* @__PURE__ */ s(Kt, { theme: f, children: /* @__PURE__ */ p(
2439
+ Zt,
2420
2440
  {
2421
2441
  sx: { width: 400 },
2422
- className: `${n ? oe.sliderResults : oe.slider} ${r ? oe.sliderOpen : ""}`,
2442
+ className: `${n ? ue.sliderResults : ue.slider} ${r ? ue.sliderOpen : ""}`,
2423
2443
  style: { zIndex: t },
2424
2444
  children: [
2425
2445
  i,
2426
2446
  /* @__PURE__ */ s(
2427
- It,
2447
+ jt,
2428
2448
  {
2429
2449
  "aria-label": "TimeSlider",
2430
2450
  value: a,
@@ -2439,13 +2459,13 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2439
2459
  }
2440
2460
  ),
2441
2461
  o,
2442
- !m && /* @__PURE__ */ s("button", { className: oe.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
2443
- m && /* @__PURE__ */ s("button", { className: oe.playButton, onClick: f, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
2462
+ !m && /* @__PURE__ */ s("button", { className: ue.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: ln, alt: "Play" }) }),
2463
+ m && /* @__PURE__ */ s("button", { className: ue.playButton, onClick: v, children: /* @__PURE__ */ s("img", { src: cn, alt: "Pause" }) })
2444
2464
  ]
2445
2465
  }
2446
2466
  ) });
2447
2467
  };
2448
- cn.propTypes = {
2468
+ hn.propTypes = {
2449
2469
  defaultYear: e.number,
2450
2470
  onResults: e.bool,
2451
2471
  firstYear: e.number,
@@ -2453,11 +2473,11 @@ cn.propTypes = {
2453
2473
  zIndex: e.number,
2454
2474
  rightBarOpen: e.bool
2455
2475
  };
2456
- const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn = "_active_12mp4_27", Ne = {
2457
- TopNavMenuContainer: dn,
2458
- topNavOptions: un,
2459
- active: pn
2460
- }, mn = ({
2476
+ const gn = "_TopNavMenuContainer_12mp4_2", Cn = "_topNavOptions_12mp4_13", fn = "_active_12mp4_27", De = {
2477
+ TopNavMenuContainer: gn,
2478
+ topNavOptions: Cn,
2479
+ active: fn
2480
+ }, bn = ({
2461
2481
  options: n = [],
2462
2482
  containerStyles: d,
2463
2483
  borderColor: i = "red",
@@ -2467,11 +2487,11 @@ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn =
2467
2487
  }
2468
2488
  }) => {
2469
2489
  const { t: r } = k();
2470
- return /* @__PURE__ */ s("div", { className: Ne.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
2471
- Et,
2490
+ return /* @__PURE__ */ s("div", { className: De.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
2491
+ Ht,
2472
2492
  {
2473
2493
  to: a.url,
2474
- className: ({ isActive: c }) => `${Ne.topNavOptions} ${c ? Ne.active : ""} `,
2494
+ className: ({ isActive: c }) => `${De.topNavOptions} ${c ? De.active : ""} `,
2475
2495
  onClick: () => t(a.url),
2476
2496
  style: ({ isActive: c }) => ({
2477
2497
  color: o,
@@ -2482,7 +2502,7 @@ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn =
2482
2502
  l
2483
2503
  )) });
2484
2504
  };
2485
- mn.propTypes = {
2505
+ bn.propTypes = {
2486
2506
  options: e.arrayOf(e.object),
2487
2507
  cssProps: e.shape({
2488
2508
  borderColor: e.string.isRequired,
@@ -2492,9 +2512,9 @@ mn.propTypes = {
2492
2512
  // activeColor: PropTypes.string,
2493
2513
  // defaultColor: PropTypes.string
2494
2514
  };
2495
- const hn = "_LogInButton_1vxj5_2", gn = {
2496
- LogInButton: hn
2497
- }, Cn = ({
2515
+ const _n = "_LogInButton_1vxj5_2", yn = {
2516
+ LogInButton: _n
2517
+ }, vn = ({
2498
2518
  cssClass: n,
2499
2519
  notLoggedInLabel: d = "Log in",
2500
2520
  loggedInLabel: i = "Log out",
@@ -2513,13 +2533,13 @@ const hn = "_LogInButton_1vxj5_2", gn = {
2513
2533
  "div",
2514
2534
  {
2515
2535
  style: { ...o },
2516
- className: `${gn.LogInButton} link ${n}`,
2536
+ className: `${yn.LogInButton} link ${n}`,
2517
2537
  onClick: r ? l : a,
2518
2538
  children: r ? t || c(i) : c(d)
2519
2539
  }
2520
2540
  );
2521
2541
  };
2522
- Cn.propTypes = {
2542
+ vn.propTypes = {
2523
2543
  cssClass: e.string,
2524
2544
  notLoggedInLabel: e.string,
2525
2545
  loggedInLabel: e.string,
@@ -2527,51 +2547,51 @@ Cn.propTypes = {
2527
2547
  userName: e.string,
2528
2548
  isLoggedIn: e.bool
2529
2549
  };
2530
- const fn = "_elementSelector_fd7az_2", bn = "_header_fd7az_13", yn = "_nameDateContainer_fd7az_23", _n = "_elementName_fd7az_39", vn = "_elementDate_fd7az_53", wn = "_buttonsContainer_fd7az_67", xn = "_elementListContainer_fd7az_76", Nn = "_newElementButtonContainer_fd7az_80", P = {
2531
- elementSelector: fn,
2532
- header: bn,
2533
- nameDateContainer: yn,
2534
- elementName: _n,
2535
- elementDate: vn,
2536
- buttonsContainer: wn,
2537
- elementListContainer: xn,
2538
- newElementButtonContainer: Nn
2539
- }, kn = "_listElement_1s506_2", Bn = "_elementNameDate_1s506_17", Sn = "_elementNameContainer_1s506_27", Dn = "_elementName_1s506_17", Mn = "_elementDate_1s506_42", Ln = "_elementButtons_1s506_45", $n = "_moreInfoContainer_1s506_68", Fn = "_moreInfo_1s506_68", O = {
2540
- listElement: kn,
2541
- elementNameDate: Bn,
2542
- elementNameContainer: Sn,
2543
- elementName: Dn,
2544
- elementDate: Mn,
2545
- elementButtons: Ln,
2550
+ const xn = "_elementSelector_fd7az_2", wn = "_header_fd7az_13", Nn = "_nameDateContainer_fd7az_23", kn = "_elementName_fd7az_39", Bn = "_elementDate_fd7az_53", Sn = "_buttonsContainer_fd7az_67", $n = "_elementListContainer_fd7az_76", Dn = "_newElementButtonContainer_fd7az_80", z = {
2551
+ elementSelector: xn,
2552
+ header: wn,
2553
+ nameDateContainer: Nn,
2554
+ elementName: kn,
2555
+ elementDate: Bn,
2556
+ buttonsContainer: Sn,
2557
+ elementListContainer: $n,
2558
+ newElementButtonContainer: Dn
2559
+ }, Mn = "_listElement_1s506_2", Ln = "_elementNameDate_1s506_17", Tn = "_elementNameContainer_1s506_27", Fn = "_elementName_1s506_17", Vn = "_elementDate_1s506_42", An = "_elementButtons_1s506_45", In = "_moreInfoContainer_1s506_68", On = "_moreInfo_1s506_68", P = {
2560
+ listElement: Mn,
2561
+ elementNameDate: Ln,
2562
+ elementNameContainer: Tn,
2563
+ elementName: Fn,
2564
+ elementDate: Vn,
2565
+ elementButtons: An,
2546
2566
  break: "_break_1s506_63",
2547
- moreInfoContainer: $n,
2548
- moreInfo: Fn
2549
- }, Tn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Vn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", An = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", In = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", On = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
2550
- var Ge;
2551
- function Fe() {
2552
- return Fe = Object.assign ? Object.assign.bind() : function(n) {
2567
+ moreInfoContainer: In,
2568
+ moreInfo: On
2569
+ }, Rn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", qn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", En = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Pn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", jn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
2570
+ var Xe;
2571
+ function Oe() {
2572
+ return Oe = Object.assign ? Object.assign.bind() : function(n) {
2553
2573
  for (var d = 1; d < arguments.length; d++) {
2554
2574
  var i = arguments[d];
2555
2575
  for (var o in i) ({}).hasOwnProperty.call(i, o) && (n[o] = i[o]);
2556
2576
  }
2557
2577
  return n;
2558
- }, Fe.apply(null, arguments);
2578
+ }, Oe.apply(null, arguments);
2559
2579
  }
2560
- var Rn = function(d) {
2561
- return /* @__PURE__ */ te.createElement("svg", Fe({
2580
+ var zn = function(d) {
2581
+ return /* @__PURE__ */ ce.createElement("svg", Oe({
2562
2582
  xmlns: "http://www.w3.org/2000/svg",
2563
2583
  width: 26,
2564
2584
  height: 14,
2565
2585
  fill: "none"
2566
- }, d), Ge || (Ge = /* @__PURE__ */ te.createElement("g", {
2586
+ }, d), Xe || (Xe = /* @__PURE__ */ ce.createElement("g", {
2567
2587
  fill: "currentColor"
2568
- }, /* @__PURE__ */ te.createElement("path", {
2588
+ }, /* @__PURE__ */ ce.createElement("path", {
2569
2589
  d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
2570
- }), /* @__PURE__ */ te.createElement("path", {
2590
+ }), /* @__PURE__ */ ce.createElement("path", {
2571
2591
  d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
2572
2592
  }))));
2573
2593
  };
2574
- const qn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ut = ({
2594
+ const Zn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", Ct = ({
2575
2595
  listelement: n,
2576
2596
  onClickElement: d,
2577
2597
  isActive: i,
@@ -2581,65 +2601,62 @@ const qn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2581
2601
  columns: a,
2582
2602
  elementButtons: l,
2583
2603
  processTooltip: c,
2584
- defaultTooltip: u
2604
+ defaultTooltip: u,
2605
+ showEye: m = !0
2585
2606
  }) => {
2586
- const { nom: m, created_at: h, id: _, isBeingProcessed: f } = n, [g, y] = L(!1), { t: C } = k();
2607
+ const { nom: g, created_at: _, id: v, isBeingProcessed: h } = n, [f, C] = D(!1), { t: b } = k();
2587
2608
  return /* @__PURE__ */ p(
2588
2609
  "div",
2589
2610
  {
2590
- className: O.listElement,
2611
+ className: P.listElement,
2591
2612
  style: { borderBottom: `1px solid ${t}` },
2592
2613
  children: [
2593
- /* @__PURE__ */ p("div", { className: O.elementNameDate, onClick: () => d(_), children: [
2594
- a.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ p("div", { className: O.elementName, children: [
2595
- i ? /* @__PURE__ */ s(Rn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
2596
- "img",
2597
- {
2598
- style: { marginRight: 9 },
2599
- src: qn
2600
- }
2601
- ),
2602
- /* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: m })
2603
- ] }) }),
2604
- a.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: h ? new Date(h).toLocaleDateString() : "" }),
2605
- a.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
2606
- a.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
2607
- ] }),
2608
- /* @__PURE__ */ p("div", { className: O.elementButtons, children: [
2614
+ /* @__PURE__ */ s("div", { className: P.elementNameDate, onClick: () => d(v), children: Object.keys(a).map((y) => y === "nom" ? /* @__PURE__ */ s("div", { className: P.elementNameContainer, children: /* @__PURE__ */ p("div", { className: P.elementName, children: [
2615
+ m && (i ? /* @__PURE__ */ s(zn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
2616
+ "img",
2617
+ {
2618
+ style: { marginRight: 9 },
2619
+ src: Zn,
2620
+ alt: "eye"
2621
+ }
2622
+ )),
2623
+ /* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: g })
2624
+ ] }) }) : y == "data" ? /* @__PURE__ */ s("div", { className: P.elementDate, children: _ ? new Date(_).toLocaleDateString() : "" }) : /* @__PURE__ */ s("div", { className: P.elementDate, children: n[y] })) }),
2625
+ /* @__PURE__ */ p("div", { className: P.elementButtons, children: [
2609
2626
  n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2610
- /* @__PURE__ */ s("img", { src: In }),
2611
- /* @__PURE__ */ s(Y, { text: c, position: "left" })
2627
+ /* @__PURE__ */ s("img", { src: Pn }),
2628
+ /* @__PURE__ */ s(ee, { text: c, position: "left" })
2612
2629
  ] }),
2613
2630
  l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2614
- /* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: An }) }),
2615
- /* @__PURE__ */ s(Y, { text: l.filter.tooltiptext, position: "left" })
2631
+ /* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: En }) }),
2632
+ /* @__PURE__ */ s(ee, { text: l.filter.tooltiptext, position: "left" })
2616
2633
  ] }),
2617
2634
  l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2618
- /* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Vn }) }),
2619
- /* @__PURE__ */ s(Y, { text: l.copy.tooltiptext, position: "left" })
2635
+ /* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: qn }) }),
2636
+ /* @__PURE__ */ s(ee, { text: l.copy.tooltiptext, position: "left" })
2620
2637
  ] }),
2621
2638
  l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2622
- /* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Tn }) }),
2623
- /* @__PURE__ */ s(Y, { text: l.trash.tooltiptext, position: "left" })
2639
+ /* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Rn }) }),
2640
+ /* @__PURE__ */ s(ee, { text: l.trash.tooltiptext, position: "left" })
2624
2641
  ] }),
2625
2642
  n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2626
- /* @__PURE__ */ s("img", { src: On }),
2627
- /* @__PURE__ */ s(Y, { text: u, position: "left" })
2643
+ /* @__PURE__ */ s("img", { src: jn }),
2644
+ /* @__PURE__ */ s(ee, { text: u, position: "left" })
2628
2645
  ] })
2629
2646
  ] }),
2630
- r && /* @__PURE__ */ s("div", { className: O.break }),
2631
- r && /* @__PURE__ */ p("div", { className: O.moreInfoContainer, children: [
2632
- /* @__PURE__ */ p("div", { className: O.moreInfo, onClick: () => y(!g), children: [
2633
- /* @__PURE__ */ s("span", { children: g ? "-" : "+" }),
2634
- C(r.label)
2647
+ r && /* @__PURE__ */ s("div", { className: P.break }),
2648
+ r && /* @__PURE__ */ p("div", { className: P.moreInfoContainer, children: [
2649
+ /* @__PURE__ */ p("div", { className: P.moreInfo, onClick: () => C(!f), children: [
2650
+ /* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
2651
+ b(r.label)
2635
2652
  ] }),
2636
- r && g && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2653
+ r && f && /* @__PURE__ */ s("div", { className: P.moreInfoInfo, children: n[r.info] })
2637
2654
  ] })
2638
2655
  ]
2639
2656
  }
2640
2657
  );
2641
2658
  };
2642
- ut.propTypes = {
2659
+ Ct.propTypes = {
2643
2660
  listelement: e.shape({
2644
2661
  nom: e.string.isRequired,
2645
2662
  created_at: e.string,
@@ -2672,9 +2689,10 @@ ut.propTypes = {
2672
2689
  })
2673
2690
  }),
2674
2691
  processTooltip: e.string,
2675
- defaultTooltip: e.string
2692
+ defaultTooltip: e.string,
2693
+ showEye: e.bool
2676
2694
  };
2677
- const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", En = ({
2695
+ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Kn = ({
2678
2696
  elementsList: n,
2679
2697
  activeElementId: d,
2680
2698
  fontColor: i = "#605B56",
@@ -2682,87 +2700,85 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2682
2700
  buttonContainerStyles: t = {},
2683
2701
  containerStyles: r = {},
2684
2702
  newElementButton: a,
2685
- //{label: 'text', onClick: function()}/null
2686
- onClickElement: l = (f) => console.log(`OnCLickElement: ${f}`),
2703
+ //{label: 'text', onClick: function(), disabled}/null
2704
+ onClickElement: l = (h) => console.log(`OnCLickElement: ${h}`),
2687
2705
  columns: c,
2688
2706
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2689
2707
  elementButtons: u,
2690
2708
  //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
2691
2709
  moreInfo: m = !1,
2692
2710
  //{label: 'x'}
2693
- processTooltip: h,
2711
+ processTooltip: g,
2694
2712
  //texto para el tooltip del simbolo "En proceso"
2695
- defaultTooltip: _
2713
+ defaultTooltip: _,
2696
2714
  //texto para el tooltip del símbolo de candado para los elementos default
2715
+ showEye: v = !0
2697
2716
  }) => {
2698
- const { t: f } = k(), [g, y] = L(n);
2699
- $(() => {
2700
- n && y(n);
2717
+ const { t: h } = k(), [f, C] = D(n);
2718
+ M(() => {
2719
+ n && C(n);
2701
2720
  }, [n]);
2702
- const C = (b) => {
2703
- if (g && g.length > 0) {
2704
- let w = [...g];
2705
- w.sort((x, v) => x[b].localeCompare(v[b])), y(w);
2721
+ const b = (y) => {
2722
+ if (f && f.length > 0) {
2723
+ let w = [...f];
2724
+ w.sort((x, N) => x[y].localeCompare(N[y])), C(w);
2706
2725
  }
2707
2726
  };
2708
2727
  return /* @__PURE__ */ p(
2709
2728
  "div",
2710
2729
  {
2711
- className: P.elementSelector,
2730
+ className: z.elementSelector,
2712
2731
  style: { color: i, ...r },
2713
2732
  children: [
2714
2733
  /* @__PURE__ */ p(
2715
2734
  "div",
2716
2735
  {
2717
- className: P.header,
2736
+ className: z.header,
2718
2737
  style: { borderBottom: `1px solid ${i}` },
2719
2738
  children: [
2720
- /* @__PURE__ */ p("div", { className: P.nameDateContainer, children: [
2721
- c.nom && /* @__PURE__ */ s("div", { className: P.elementName, children: /* @__PURE__ */ p("button", { onClick: () => C("name"), children: [
2722
- /* @__PURE__ */ s("span", { children: f(c.nom) }),
2723
- /* @__PURE__ */ s("img", { src: Ye })
2724
- ] }) }),
2725
- c.data && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => C("date"), children: [
2726
- /* @__PURE__ */ s("span", { children: f(c.data) }),
2727
- /* @__PURE__ */ s("img", { src: Ye })
2728
- ] }) }),
2729
- c.ambit && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.ambit) }) }),
2730
- c.escenari && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.escenari) }) })
2731
- ] }),
2732
- /* @__PURE__ */ s("div", { className: P.buttonsContainer })
2739
+ /* @__PURE__ */ s("div", { className: z.nameDateContainer, children: Object.keys(c).map((y) => y === "nom" ? /* @__PURE__ */ s("div", { className: z.elementName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
2740
+ /* @__PURE__ */ s("span", { children: h(c.nom) }),
2741
+ /* @__PURE__ */ s("img", { src: Je, alt: "order arrow" })
2742
+ ] }) }, y) : y === "data" ? /* @__PURE__ */ s("div", { className: z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
2743
+ /* @__PURE__ */ s("span", { children: h(c.data) }),
2744
+ /* @__PURE__ */ s("img", { src: Je, alt: "order arrow" })
2745
+ ] }) }, y) : /* @__PURE__ */ s("div", { className: z.elementDate, children: /* @__PURE__ */ s("span", { children: h(c[y]) }) }, y)) }),
2746
+ /* @__PURE__ */ s("div", { className: z.buttonsContainer })
2733
2747
  ]
2734
2748
  }
2735
2749
  ),
2736
- /* @__PURE__ */ s("div", { className: P.elementListContainer, children: g && g.length > 0 && g.map((b) => /* @__PURE__ */ s(
2737
- ut,
2750
+ /* @__PURE__ */ s("div", { className: z.elementListContainer, children: f && f.length > 0 && f.map((y) => /* @__PURE__ */ s(
2751
+ Ct,
2738
2752
  {
2739
- isActive: d == b.id,
2740
- listelement: b,
2753
+ isActive: d == y.id,
2754
+ listelement: y,
2741
2755
  fontColor: i,
2742
2756
  activeColor: o,
2743
2757
  onClickElement: l,
2744
2758
  columns: c,
2745
2759
  elementButtons: u,
2746
2760
  moreInfo: m,
2747
- processTooltip: h,
2748
- defaultTooltip: _
2761
+ processTooltip: g,
2762
+ defaultTooltip: _,
2763
+ showEye: v
2749
2764
  },
2750
- `elementKey${b.id}`
2765
+ `elementKey${y.id}`
2751
2766
  )) }),
2752
- a && /* @__PURE__ */ s("div", { className: P.newElementButtonContainer, children: /* @__PURE__ */ s(
2753
- Ce,
2767
+ a && /* @__PURE__ */ s("div", { className: z.newElementButtonContainer, children: /* @__PURE__ */ s(
2768
+ ye,
2754
2769
  {
2755
2770
  style: { ...t },
2756
2771
  onClick: a.onClick,
2757
2772
  borderColor: "grey",
2758
- children: f(a.label)
2773
+ disabled: a.disabled || !1,
2774
+ children: h(a.label)
2759
2775
  }
2760
2776
  ) })
2761
2777
  ]
2762
2778
  }
2763
2779
  );
2764
2780
  };
2765
- En.propTypes = {
2781
+ Kn.propTypes = {
2766
2782
  elementList: e.arrayOf(
2767
2783
  e.shape({
2768
2784
  nom: e.string.isRequired,
@@ -2806,70 +2822,71 @@ En.propTypes = {
2806
2822
  info: e.any
2807
2823
  }),
2808
2824
  processTooltip: e.string,
2809
- defaultTooltip: e.string
2825
+ defaultTooltip: e.string,
2826
+ showEye: e.bool
2810
2827
  };
2811
- const he = {
2828
+ const pe = {
2812
2829
  text: "text",
2813
2830
  password: "password",
2814
2831
  radioList: "radioList",
2815
2832
  select: "select"
2816
- }, Pn = "_textInputContainer_1o3iy_2", zn = "_labelContainer_1o3iy_5", jn = "_inputContainer_1o3iy_8", Zn = "_showPasswordButton_1o3iy_14", Kn = "_forgotPassButton_1o3iy_26", se = {
2817
- textInputContainer: Pn,
2818
- labelContainer: zn,
2819
- inputContainer: jn,
2820
- showPasswordButton: Zn,
2821
- forgotPassButton: Kn
2822
- };
2823
- var Hn = (n) => n.type === "checkbox", Un = (n) => n instanceof Date, pt = (n) => n == null;
2824
- const Gn = (n) => typeof n == "object";
2825
- var le = (n) => !pt(n) && !Array.isArray(n) && Gn(n) && !Un(n), Yn = (n) => le(n) && n.target ? Hn(n.target) ? n.target.checked : n.target.value : n, Wn = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, Qn = (n, d) => n.has(Wn(d)), Xn = (n) => {
2833
+ }, Hn = "_textInputContainer_1o3iy_2", Un = "_labelContainer_1o3iy_5", Gn = "_inputContainer_1o3iy_8", Wn = "_showPasswordButton_1o3iy_14", Yn = "_forgotPassButton_1o3iy_26", me = {
2834
+ textInputContainer: Hn,
2835
+ labelContainer: Un,
2836
+ inputContainer: Gn,
2837
+ showPasswordButton: Wn,
2838
+ forgotPassButton: Yn
2839
+ };
2840
+ var Qn = (n) => n.type === "checkbox", Xn = (n) => n instanceof Date, ft = (n) => n == null;
2841
+ const Jn = (n) => typeof n == "object";
2842
+ var ge = (n) => !ft(n) && !Array.isArray(n) && Jn(n) && !Xn(n), e1 = (n) => ge(n) && n.target ? Qn(n.target) ? n.target.checked : n.target.value : n, t1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, n1 = (n, d) => n.has(t1(d)), i1 = (n) => {
2826
2843
  const d = n.constructor && n.constructor.prototype;
2827
- return le(d) && d.hasOwnProperty("isPrototypeOf");
2828
- }, Jn = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2829
- function mt(n) {
2844
+ return ge(d) && d.hasOwnProperty("isPrototypeOf");
2845
+ }, o1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2846
+ function bt(n) {
2830
2847
  let d;
2831
2848
  const i = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
2832
2849
  if (n instanceof Date)
2833
2850
  d = new Date(n);
2834
- else if (!(Jn && (n instanceof Blob || o)) && (i || le(n)))
2835
- if (d = i ? [] : {}, !i && !Xn(n))
2851
+ else if (!(o1 && (n instanceof Blob || o)) && (i || ge(n)))
2852
+ if (d = i ? [] : {}, !i && !i1(n))
2836
2853
  d = n;
2837
2854
  else
2838
2855
  for (const t in n)
2839
- n.hasOwnProperty(t) && (d[t] = mt(n[t]));
2856
+ n.hasOwnProperty(t) && (d[t] = bt(n[t]));
2840
2857
  else
2841
2858
  return n;
2842
2859
  return d;
2843
2860
  }
2844
- var ht = (n) => /^\w*$/.test(n), Te = (n) => n === void 0, e1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], gt = (n) => e1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), A = (n, d, i) => {
2845
- if (!d || !le(n))
2861
+ var _t = (n) => /^\w*$/.test(n), Re = (n) => n === void 0, s1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], yt = (n) => s1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (n, d, i) => {
2862
+ if (!d || !ge(n))
2846
2863
  return i;
2847
- const o = (ht(d) ? [d] : gt(d)).reduce((t, r) => pt(t) ? t : t[r], n);
2848
- return Te(o) || o === n ? Te(n[d]) ? i : n[d] : o;
2849
- }, ke = (n) => typeof n == "boolean", We = (n, d, i) => {
2864
+ const o = (_t(d) ? [d] : yt(d)).reduce((t, r) => ft(t) ? t : t[r], n);
2865
+ return Re(o) || o === n ? Re(n[d]) ? i : n[d] : o;
2866
+ }, Me = (n) => typeof n == "boolean", et = (n, d, i) => {
2850
2867
  let o = -1;
2851
- const t = ht(d) ? [d] : gt(d), r = t.length, a = r - 1;
2868
+ const t = _t(d) ? [d] : yt(d), r = t.length, a = r - 1;
2852
2869
  for (; ++o < r; ) {
2853
2870
  const l = t[o];
2854
2871
  let c = i;
2855
2872
  if (o !== a) {
2856
2873
  const u = n[l];
2857
- c = le(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
2874
+ c = ge(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
2858
2875
  }
2859
2876
  if (l === "__proto__" || l === "constructor" || l === "prototype")
2860
2877
  return;
2861
2878
  n[l] = c, n = n[l];
2862
2879
  }
2863
2880
  };
2864
- const Qe = {
2881
+ const tt = {
2865
2882
  BLUR: "blur",
2866
2883
  CHANGE: "change"
2867
- }, Xe = {
2884
+ }, nt = {
2868
2885
  all: "all"
2869
- }, Ct = B.createContext(null);
2870
- Ct.displayName = "HookFormContext";
2871
- const Re = () => B.useContext(Ct);
2872
- var t1 = (n, d, i, o = !0) => {
2886
+ }, vt = $.createContext(null);
2887
+ vt.displayName = "HookFormContext";
2888
+ const ze = () => $.useContext(vt);
2889
+ var r1 = (n, d, i, o = !0) => {
2873
2890
  const t = {
2874
2891
  defaultValues: d._defaultValues
2875
2892
  };
@@ -2877,14 +2894,14 @@ var t1 = (n, d, i, o = !0) => {
2877
2894
  Object.defineProperty(t, r, {
2878
2895
  get: () => {
2879
2896
  const a = r;
2880
- return d._proxyFormState[a] !== Xe.all && (d._proxyFormState[a] = !o || Xe.all), i && (i[a] = !0), n[a];
2897
+ return d._proxyFormState[a] !== nt.all && (d._proxyFormState[a] = !o || nt.all), i && (i[a] = !0), n[a];
2881
2898
  }
2882
2899
  });
2883
2900
  return t;
2884
2901
  };
2885
- const ft = typeof window < "u" ? te.useLayoutEffect : te.useEffect;
2886
- function n1(n) {
2887
- const d = Re(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(i._formState), c = B.useRef({
2902
+ const xt = typeof window < "u" ? ce.useLayoutEffect : ce.useEffect;
2903
+ function a1(n) {
2904
+ const d = ze(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = $.useState(i._formState), c = $.useRef({
2888
2905
  isDirty: !1,
2889
2906
  isLoading: !1,
2890
2907
  dirtyFields: !1,
@@ -2894,7 +2911,7 @@ function n1(n) {
2894
2911
  isValid: !1,
2895
2912
  errors: !1
2896
2913
  });
2897
- return ft(() => i._subscribe({
2914
+ return xt(() => i._subscribe({
2898
2915
  name: t,
2899
2916
  formState: c.current,
2900
2917
  exact: r,
@@ -2904,116 +2921,116 @@ function n1(n) {
2904
2921
  ...u
2905
2922
  });
2906
2923
  }
2907
- }), [t, o, r]), B.useEffect(() => {
2924
+ }), [t, o, r]), $.useEffect(() => {
2908
2925
  c.current.isValid && i._setValid(!0);
2909
- }, [i]), B.useMemo(() => t1(a, i, c.current, !1), [a, i]);
2926
+ }, [i]), $.useMemo(() => r1(a, i, c.current, !1), [a, i]);
2910
2927
  }
2911
- var i1 = (n) => typeof n == "string", o1 = (n, d, i, o, t) => i1(n) ? A(i, n, t) : Array.isArray(n) ? n.map((r) => A(i, r)) : i;
2912
- function s1(n) {
2913
- const d = Re(), { control: i = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = B.useRef(t), [c, u] = B.useState(i._getWatch(o, l.current));
2914
- return ft(() => i._subscribe({
2928
+ var l1 = (n) => typeof n == "string", c1 = (n, d, i, o, t) => l1(n) ? I(i, n, t) : Array.isArray(n) ? n.map((r) => I(i, r)) : i;
2929
+ function d1(n) {
2930
+ const d = ze(), { control: i = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = $.useRef(t), [c, u] = $.useState(i._getWatch(o, l.current));
2931
+ return xt(() => i._subscribe({
2915
2932
  name: o,
2916
2933
  formState: {
2917
2934
  values: !0
2918
2935
  },
2919
2936
  exact: a,
2920
- callback: (m) => !r && u(o1(o, i._names, m.values || i._formValues, !1, l.current))
2921
- }), [o, i, r, a]), B.useEffect(() => i._removeUnmounted()), c;
2937
+ callback: (m) => !r && u(c1(o, i._names, m.values || i._formValues, !1, l.current))
2938
+ }), [o, i, r, a]), $.useEffect(() => i._removeUnmounted()), c;
2922
2939
  }
2923
- function r1(n) {
2924
- const d = Re(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = Qn(t._names.array, i), l = s1({
2940
+ function u1(n) {
2941
+ const d = ze(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = n1(t._names.array, i), l = d1({
2925
2942
  control: t,
2926
2943
  name: i,
2927
- defaultValue: A(t._formValues, i, A(t._defaultValues, i, n.defaultValue)),
2944
+ defaultValue: I(t._formValues, i, I(t._defaultValues, i, n.defaultValue)),
2928
2945
  exact: !0
2929
- }), c = n1({
2946
+ }), c = a1({
2930
2947
  control: t,
2931
2948
  name: i,
2932
2949
  exact: !0
2933
- }), u = B.useRef(n), m = B.useRef(t.register(i, {
2950
+ }), u = $.useRef(n), m = $.useRef(t.register(i, {
2934
2951
  ...n.rules,
2935
2952
  value: l,
2936
- ...ke(n.disabled) ? { disabled: n.disabled } : {}
2937
- })), h = B.useMemo(() => Object.defineProperties({}, {
2953
+ ...Me(n.disabled) ? { disabled: n.disabled } : {}
2954
+ })), g = $.useMemo(() => Object.defineProperties({}, {
2938
2955
  invalid: {
2939
2956
  enumerable: !0,
2940
- get: () => !!A(c.errors, i)
2957
+ get: () => !!I(c.errors, i)
2941
2958
  },
2942
2959
  isDirty: {
2943
2960
  enumerable: !0,
2944
- get: () => !!A(c.dirtyFields, i)
2961
+ get: () => !!I(c.dirtyFields, i)
2945
2962
  },
2946
2963
  isTouched: {
2947
2964
  enumerable: !0,
2948
- get: () => !!A(c.touchedFields, i)
2965
+ get: () => !!I(c.touchedFields, i)
2949
2966
  },
2950
2967
  isValidating: {
2951
2968
  enumerable: !0,
2952
- get: () => !!A(c.validatingFields, i)
2969
+ get: () => !!I(c.validatingFields, i)
2953
2970
  },
2954
2971
  error: {
2955
2972
  enumerable: !0,
2956
- get: () => A(c.errors, i)
2973
+ get: () => I(c.errors, i)
2957
2974
  }
2958
- }), [c, i]), _ = B.useCallback((C) => m.current.onChange({
2975
+ }), [c, i]), _ = $.useCallback((C) => m.current.onChange({
2959
2976
  target: {
2960
- value: Yn(C),
2977
+ value: e1(C),
2961
2978
  name: i
2962
2979
  },
2963
- type: Qe.CHANGE
2964
- }), [i]), f = B.useCallback(() => m.current.onBlur({
2980
+ type: tt.CHANGE
2981
+ }), [i]), v = $.useCallback(() => m.current.onBlur({
2965
2982
  target: {
2966
- value: A(t._formValues, i),
2983
+ value: I(t._formValues, i),
2967
2984
  name: i
2968
2985
  },
2969
- type: Qe.BLUR
2970
- }), [i, t._formValues]), g = B.useCallback((C) => {
2971
- const b = A(t._fields, i);
2986
+ type: tt.BLUR
2987
+ }), [i, t._formValues]), h = $.useCallback((C) => {
2988
+ const b = I(t._fields, i);
2972
2989
  b && C && (b._f.ref = {
2973
2990
  focus: () => C.focus && C.focus(),
2974
2991
  select: () => C.select && C.select(),
2975
- setCustomValidity: (w) => C.setCustomValidity(w),
2992
+ setCustomValidity: (y) => C.setCustomValidity(y),
2976
2993
  reportValidity: () => C.reportValidity()
2977
2994
  });
2978
- }, [t._fields, i]), y = B.useMemo(() => ({
2995
+ }, [t._fields, i]), f = $.useMemo(() => ({
2979
2996
  name: i,
2980
2997
  value: l,
2981
- ...ke(o) || c.disabled ? { disabled: c.disabled || o } : {},
2998
+ ...Me(o) || c.disabled ? { disabled: c.disabled || o } : {},
2982
2999
  onChange: _,
2983
- onBlur: f,
2984
- ref: g
2985
- }), [i, o, c.disabled, _, f, g, l]);
2986
- return B.useEffect(() => {
3000
+ onBlur: v,
3001
+ ref: h
3002
+ }), [i, o, c.disabled, _, v, h, l]);
3003
+ return $.useEffect(() => {
2987
3004
  const C = t._options.shouldUnregister || r;
2988
3005
  t.register(i, {
2989
3006
  ...u.current.rules,
2990
- ...ke(u.current.disabled) ? { disabled: u.current.disabled } : {}
3007
+ ...Me(u.current.disabled) ? { disabled: u.current.disabled } : {}
2991
3008
  });
2992
- const b = (w, x) => {
2993
- const v = A(t._fields, w);
2994
- v && v._f && (v._f.mount = x);
3009
+ const b = (y, w) => {
3010
+ const x = I(t._fields, y);
3011
+ x && x._f && (x._f.mount = w);
2995
3012
  };
2996
3013
  if (b(i, !0), C) {
2997
- const w = mt(A(t._options.defaultValues, i));
2998
- We(t._defaultValues, i, w), Te(A(t._formValues, i)) && We(t._formValues, i, w);
3014
+ const y = bt(I(t._options.defaultValues, i));
3015
+ et(t._defaultValues, i, y), Re(I(t._formValues, i)) && et(t._formValues, i, y);
2999
3016
  }
3000
3017
  return !a && t.register(i), () => {
3001
3018
  (a ? C && !t._state.action : C) ? t.unregister(i) : b(i, !1);
3002
3019
  };
3003
- }, [i, t, a, r]), B.useEffect(() => {
3020
+ }, [i, t, a, r]), $.useEffect(() => {
3004
3021
  t._setDisabledField({
3005
3022
  disabled: o,
3006
3023
  name: i
3007
3024
  });
3008
- }, [o, i, t]), B.useMemo(() => ({
3009
- field: y,
3025
+ }, [o, i, t]), $.useMemo(() => ({
3026
+ field: f,
3010
3027
  formState: c,
3011
- fieldState: h
3012
- }), [y, c, h]);
3028
+ fieldState: g
3029
+ }), [f, c, g]);
3013
3030
  }
3014
- const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3015
- errorMessage: a1
3016
- }, fe = ({
3031
+ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
3032
+ errorMessage: p1
3033
+ }, xe = ({
3017
3034
  errorMessage: n,
3018
3035
  errorColor: d = "red",
3019
3036
  containerStyles: i
@@ -3022,12 +3039,12 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3022
3039
  return /* @__PURE__ */ s(
3023
3040
  "div",
3024
3041
  {
3025
- className: l1.errorMessage,
3042
+ className: m1.errorMessage,
3026
3043
  style: { color: d, ...i },
3027
3044
  children: n ? o(n) : ""
3028
3045
  }
3029
3046
  );
3030
- }, Je = ({ input: n, reactHookFormInstance: d }) => {
3047
+ }, it = ({ input: n, reactHookFormInstance: d }) => {
3031
3048
  const {
3032
3049
  code: i,
3033
3050
  type: o,
@@ -3038,65 +3055,65 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3038
3055
  placeholder: c,
3039
3056
  errorColor: u = "red",
3040
3057
  width: m = 325,
3041
- onClickForgotPass: h = () => {
3058
+ onClickForgotPass: g = () => {
3042
3059
  console.log("Click on forgot password");
3043
3060
  },
3044
3061
  forgotPassLabel: _ = "forgot-password"
3045
- } = n, { t: f } = k(), { control: g, trigger: y, clearErrors: C } = d, [b, w] = L(!1), x = ne(a);
3046
- $(() => {
3047
- x.current !== a && (a ? y(i) : C(i), x.current = a);
3048
- }, [a, i, y, C]);
3049
- const v = () => o ? o === "password" && b ? "text" : o : "text";
3062
+ } = n, { t: v } = k(), { control: h, trigger: f, clearErrors: C } = d, [b, y] = D(!1), w = te(a);
3063
+ M(() => {
3064
+ w.current !== a && (a ? f(i) : C(i), w.current = a);
3065
+ }, [a, i, f, C]);
3066
+ const x = () => o ? o === "password" && b ? "text" : o : "text";
3050
3067
  return /* @__PURE__ */ s(
3051
- qe,
3068
+ ve,
3052
3069
  {
3053
3070
  name: i,
3054
- control: g,
3071
+ control: h,
3055
3072
  rules: {
3056
- required: a ? `${f(t)} ${f("errorMessages.required")}` : !1,
3073
+ required: a ? `${v(t)} ${v("errorMessages.required")}` : !1,
3057
3074
  maxLength: r || void 0,
3058
3075
  validate: l || void 0
3059
3076
  },
3060
- render: ({ field: N, fieldState: S }) => {
3061
- var D;
3062
- return /* @__PURE__ */ p("div", { className: se.textInputContainer, children: [
3063
- /* @__PURE__ */ p("h3", { className: se.labelContainer, children: [
3064
- f(t),
3077
+ render: ({ field: N, fieldState: B }) => {
3078
+ var S;
3079
+ return /* @__PURE__ */ p("div", { className: me.textInputContainer, children: [
3080
+ /* @__PURE__ */ p("h3", { className: me.labelContainer, children: [
3081
+ v(t),
3065
3082
  " ",
3066
- a && /* @__PURE__ */ s("label", { style: { color: S.error ? u : "" }, children: "*" })
3083
+ a && /* @__PURE__ */ s("label", { style: { color: B.error ? u : "" }, children: "*" })
3067
3084
  ] }),
3068
3085
  /* @__PURE__ */ p(
3069
3086
  "div",
3070
3087
  {
3071
3088
  style: { position: "relative", width: m },
3072
- className: se.inputContainer,
3089
+ className: me.inputContainer,
3073
3090
  children: [
3074
3091
  /* @__PURE__ */ s(
3075
3092
  "input",
3076
3093
  {
3077
- type: v(),
3094
+ type: x(),
3078
3095
  ...N,
3079
- placeholder: c ? f(c) : "",
3096
+ placeholder: c ? v(c) : "",
3080
3097
  maxLength: r || void 0
3081
3098
  }
3082
3099
  ),
3083
3100
  o == "password" && /* @__PURE__ */ s(
3084
3101
  "button",
3085
3102
  {
3086
- onClick: () => w(!b),
3103
+ onClick: () => y(!b),
3087
3104
  type: "button",
3088
- className: se.showPasswordButton,
3105
+ className: me.showPasswordButton,
3089
3106
  children: b ? "🙈" : "👁️"
3090
3107
  }
3091
3108
  )
3092
3109
  ]
3093
3110
  }
3094
3111
  ),
3095
- o == "password" && /* @__PURE__ */ s("div", { className: se.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: h, children: f(_) }) }),
3112
+ o == "password" && /* @__PURE__ */ s("div", { className: me.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: v(_) }) }),
3096
3113
  /* @__PURE__ */ s(
3097
- fe,
3114
+ xe,
3098
3115
  {
3099
- errorMessage: (D = S.error) == null ? void 0 : D.message,
3116
+ errorMessage: (S = B.error) == null ? void 0 : S.message,
3100
3117
  errorColor: u
3101
3118
  }
3102
3119
  )
@@ -3104,20 +3121,20 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3104
3121
  }
3105
3122
  }
3106
3123
  );
3107
- }, c1 = "_formContainer_b071f_2", d1 = "_formObjectContainer_b071f_11", u1 = "_buttonContainer_b071f_22", Be = {
3108
- formContainer: c1,
3109
- formObjectContainer: d1,
3110
- buttonContainer: u1
3111
- }, p1 = "_inputsContainer_10t9s_2", re = {
3112
- inputsContainer: p1
3113
- }, m1 = "_selectInputContainer_1rj0h_2", h1 = "_labelContainer_1rj0h_6", g1 = "_inputContainer_1rj0h_9", C1 = "_selectInput_1rj0h_2", f1 = "_option_1rj0h_23", b1 = "_dropdownArrow_1rj0h_26", ee = {
3114
- selectInputContainer: m1,
3115
- labelContainer: h1,
3116
- inputContainer: g1,
3117
- selectInput: C1,
3118
- option: f1,
3119
- dropdownArrow: b1
3120
- }, y1 = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", _1 = ({ input: n, reactHookFormInstance: d }) => {
3124
+ }, h1 = "_formContainer_b071f_2", g1 = "_formObjectContainer_b071f_11", C1 = "_buttonContainer_b071f_22", Le = {
3125
+ formContainer: h1,
3126
+ formObjectContainer: g1,
3127
+ buttonContainer: C1
3128
+ }, f1 = "_inputsContainer_10t9s_2", ae = {
3129
+ inputsContainer: f1
3130
+ }, b1 = "_selectInputContainer_1rj0h_2", _1 = "_labelContainer_1rj0h_6", y1 = "_inputContainer_1rj0h_9", v1 = "_selectInput_1rj0h_2", x1 = "_option_1rj0h_23", w1 = "_dropdownArrow_1rj0h_26", le = {
3131
+ selectInputContainer: b1,
3132
+ labelContainer: _1,
3133
+ inputContainer: y1,
3134
+ selectInput: v1,
3135
+ option: x1,
3136
+ dropdownArrow: w1
3137
+ }, N1 = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", k1 = ({ input: n, reactHookFormInstance: d }) => {
3121
3138
  const {
3122
3139
  code: i,
3123
3140
  type: o,
@@ -3128,45 +3145,45 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3128
3145
  placeholder: c,
3129
3146
  errorColor: u = "red",
3130
3147
  width: m = 325,
3131
- options: h = []
3132
- } = n, { t: _ } = k(), { control: f, trigger: g, clearErrors: y } = d, C = ne(a);
3133
- return $(() => {
3134
- C.current !== a && (a ? g(i) : y(i), C.current = a);
3135
- }, [a, i, g, y]), /* @__PURE__ */ s(
3136
- qe,
3148
+ options: g = []
3149
+ } = n, { t: _ } = k(), { control: v, trigger: h, clearErrors: f } = d, C = te(a);
3150
+ return M(() => {
3151
+ C.current !== a && (a ? h(i) : f(i), C.current = a);
3152
+ }, [a, i, h, f]), /* @__PURE__ */ s(
3153
+ ve,
3137
3154
  {
3138
3155
  name: i,
3139
- control: f,
3156
+ control: v,
3140
3157
  rules: {
3141
3158
  required: a ? `${_(t)} ${_("errorMessages.required")}` : !1,
3142
3159
  validate: l || void 0
3143
3160
  },
3144
- render: ({ field: b, fieldState: w }) => {
3145
- var x;
3146
- return /* @__PURE__ */ p("div", { className: ee.selectInputContainer, children: [
3147
- /* @__PURE__ */ p("h3", { className: ee.labelContainer, children: [
3161
+ render: ({ field: b, fieldState: y }) => {
3162
+ var w;
3163
+ return /* @__PURE__ */ p("div", { className: le.selectInputContainer, children: [
3164
+ /* @__PURE__ */ p("h3", { className: le.labelContainer, children: [
3148
3165
  _(t),
3149
3166
  " ",
3150
- a && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
3167
+ a && /* @__PURE__ */ s("label", { style: { color: y.error ? u : "" }, children: "*" })
3151
3168
  ] }),
3152
- /* @__PURE__ */ p("div", { className: ee.inputContainer, style: { width: m }, children: [
3169
+ /* @__PURE__ */ p("div", { className: le.inputContainer, style: { width: m }, children: [
3153
3170
  /* @__PURE__ */ p(
3154
3171
  "select",
3155
3172
  {
3156
3173
  ...b,
3157
- onChange: (v) => {
3158
- const N = v.target.value, S = h.every((D) => typeof D.value == "number") ? Number(N) : N;
3159
- b.onChange(S);
3174
+ onChange: (x) => {
3175
+ const N = x.target.value, B = g.every((S) => typeof S.value == "number") ? Number(N) : N;
3176
+ b.onChange(B);
3160
3177
  },
3161
- className: ee.selectInput,
3178
+ className: le.selectInput,
3162
3179
  children: [
3163
3180
  /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
3164
- h.map((v, N) => /* @__PURE__ */ s(
3181
+ g.map((x, N) => /* @__PURE__ */ s(
3165
3182
  "option",
3166
3183
  {
3167
- value: v.value,
3168
- className: ee.option,
3169
- children: _(v.label)
3184
+ value: x.value,
3185
+ className: le.option,
3186
+ children: _(x.label)
3170
3187
  },
3171
3188
  N
3172
3189
  ))
@@ -3176,16 +3193,16 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3176
3193
  /* @__PURE__ */ s(
3177
3194
  "img",
3178
3195
  {
3179
- src: y1,
3196
+ src: N1,
3180
3197
  alt: "Open",
3181
- className: ee.dropdownArrow
3198
+ className: le.dropdownArrow
3182
3199
  }
3183
3200
  )
3184
3201
  ] }),
3185
3202
  /* @__PURE__ */ s(
3186
- fe,
3203
+ xe,
3187
3204
  {
3188
- errorMessage: (x = w.error) == null ? void 0 : x.message,
3205
+ errorMessage: (w = y.error) == null ? void 0 : w.message,
3189
3206
  errorColor: u
3190
3207
  }
3191
3208
  )
@@ -3193,14 +3210,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3193
3210
  }
3194
3211
  }
3195
3212
  );
3196
- }, v1 = "_radioButtonContainer_1e994_2", w1 = "_wholeInputContainer_1e994_5", x1 = "_questionContainer_1e994_27", N1 = "_radioQuestion_1e994_59", k1 = "_inputContainer_1e994_63", B1 = "_radioInput_1e994_93", U = {
3197
- radioButtonContainer: v1,
3198
- wholeInputContainer: w1,
3199
- questionContainer: x1,
3200
- radioQuestion: N1,
3201
- inputContainer: k1,
3202
- radioInput: B1
3203
- }, S1 = ({ input: n, reactHookFormInstance: d }) => {
3213
+ }, B1 = "_radioButtonContainer_1e994_2", S1 = "_wholeInputContainer_1e994_5", $1 = "_questionContainer_1e994_27", D1 = "_radioQuestion_1e994_59", M1 = "_inputContainer_1e994_63", L1 = "_radioInput_1e994_93", X = {
3214
+ radioButtonContainer: B1,
3215
+ wholeInputContainer: S1,
3216
+ questionContainer: $1,
3217
+ radioQuestion: D1,
3218
+ inputContainer: M1,
3219
+ radioInput: L1
3220
+ }, T1 = ({ input: n, reactHookFormInstance: d }) => {
3204
3221
  const {
3205
3222
  code: i,
3206
3223
  label: o,
@@ -3209,18 +3226,18 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3209
3226
  errorColor: a = "red",
3210
3227
  options: l = [],
3211
3228
  multi: c = !1
3212
- } = n, { t: u } = k(), { control: m, trigger: h, clearErrors: _ } = d, f = ({ options: C, onChange: b, actualValue: w }) => {
3213
- if (c && w && w.length > 0) {
3214
- let x = w.filter((v) => v !== C);
3215
- b(x);
3229
+ } = n, { t: u } = k(), { control: m, trigger: g, clearErrors: _ } = d, v = ({ options: C, onChange: b, actualValue: y }) => {
3230
+ if (c && y && y.length > 0) {
3231
+ let w = y.filter((x) => x !== C);
3232
+ b(w);
3216
3233
  }
3217
- }, g = ({ options: C, onChange: b, actualValue: w }) => {
3218
- c ? w && w.length > 0 ? b([...w, C]) : b([C]) : b(C);
3219
- }, y = ne(t);
3220
- return $(() => {
3221
- y.current !== t && (t ? h(i) : _(i), y.current = t);
3222
- }, [t, i, h, _]), /* @__PURE__ */ s(
3223
- qe,
3234
+ }, h = ({ options: C, onChange: b, actualValue: y }) => {
3235
+ c ? y && y.length > 0 ? b([...y, C]) : b([C]) : b(C);
3236
+ }, f = te(t);
3237
+ return M(() => {
3238
+ f.current !== t && (t ? g(i) : _(i), f.current = t);
3239
+ }, [t, i, g, _]), /* @__PURE__ */ s(
3240
+ ve,
3224
3241
  {
3225
3242
  control: m,
3226
3243
  name: i,
@@ -3229,16 +3246,16 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3229
3246
  },
3230
3247
  render: ({
3231
3248
  formState: { errors: C },
3232
- field: { onChange: b, onBlur: w, value: x, ref: v },
3249
+ field: { onChange: b, onBlur: y, value: w, ref: x },
3233
3250
  fieldState: N
3234
3251
  }) => {
3235
- var S;
3236
- return /* @__PURE__ */ s("div", { id: i + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: U.wholeInputContainer, children: [
3237
- o && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ p(
3252
+ var B;
3253
+ return /* @__PURE__ */ s("div", { id: i + "id", className: X.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: X.wholeInputContainer, children: [
3254
+ o && /* @__PURE__ */ s("div", { className: X.questionContainer, children: /* @__PURE__ */ p(
3238
3255
  "h3",
3239
3256
  {
3240
3257
  htmlFor: i + "id",
3241
- className: `${U.radioQuestion} ${t && U.required}`,
3258
+ className: `${X.radioQuestion} ${t && X.required}`,
3242
3259
  children: [
3243
3260
  u(o),
3244
3261
  " ",
@@ -3252,15 +3269,15 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3252
3269
  ]
3253
3270
  }
3254
3271
  ) }),
3255
- /* @__PURE__ */ p("div", { className: U.inputContainer, children: [
3272
+ /* @__PURE__ */ p("div", { className: X.inputContainer, children: [
3256
3273
  l.map(
3257
3274
  ({
3258
- label: D,
3259
- value: z,
3260
- disabled: ce = !1,
3261
- italicLabel: de
3262
- }, R) => {
3263
- const q = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === z) : x === z;
3275
+ label: S,
3276
+ value: E,
3277
+ disabled: V = !1,
3278
+ italicLabel: ie
3279
+ }, G) => {
3280
+ const q = w && c ? w.isArray && (w == null ? void 0 : w.length) > 0 && w.some((j) => j === E) : w === E;
3264
3281
  return /* @__PURE__ */ p("label", { children: [
3265
3282
  /* @__PURE__ */ s(
3266
3283
  "input",
@@ -3268,28 +3285,28 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3268
3285
  type: "radio",
3269
3286
  checked: q,
3270
3287
  onChange: () => {
3271
- c ? q ? f({
3272
- actualValue: x,
3288
+ c ? q ? v({
3289
+ actualValue: w,
3273
3290
  options: l,
3274
3291
  onChange: b
3275
- }) : g({
3276
- actualValue: x,
3292
+ }) : h({
3293
+ actualValue: w,
3277
3294
  options: l,
3278
3295
  onChange: b
3279
- }) : b(z);
3296
+ }) : b(E);
3280
3297
  },
3281
- className: U.radioInput
3298
+ className: X.radioInput
3282
3299
  }
3283
3300
  ),
3284
3301
  /* @__PURE__ */ s("span", { className: "radio-custom" }),
3285
- u(D)
3286
- ] }, `inputRadio ${R}`);
3302
+ u(S)
3303
+ ] }, `inputRadio ${G}`);
3287
3304
  }
3288
3305
  ),
3289
3306
  /* @__PURE__ */ s(
3290
- fe,
3307
+ xe,
3291
3308
  {
3292
- errorMessage: (S = N.error) == null ? void 0 : S.message,
3309
+ errorMessage: (B = N.error) == null ? void 0 : B.message,
3293
3310
  errorColor: a
3294
3311
  }
3295
3312
  )
@@ -3298,29 +3315,144 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3298
3315
  }
3299
3316
  }
3300
3317
  );
3301
- }, Se = ({
3318
+ }, F1 = "_rankingSliderContainer_1yj0p_2", V1 = "_labelContainer_1yj0p_11", A1 = "_inputContainer_1yj0p_15", I1 = "_slider_1yj0p_19", O1 = "_thumb_1yj0p_25", R1 = "_trackLeft_1yj0p_35", q1 = "_trackRight_1yj0p_40", E1 = "_labels_1yj0p_44", P1 = "_labelsText_1yj0p_60", R = {
3319
+ rankingSliderContainer: F1,
3320
+ labelContainer: V1,
3321
+ inputContainer: A1,
3322
+ slider: I1,
3323
+ thumb: O1,
3324
+ trackLeft: R1,
3325
+ trackRight: q1,
3326
+ labels: E1,
3327
+ labelsText: P1
3328
+ }, j1 = ({ input: n, reactHookFormInstance: d }) => {
3329
+ const {
3330
+ code: i,
3331
+ type: o,
3332
+ label: t,
3333
+ minValue: r = 1,
3334
+ maxValue: a = 5,
3335
+ defValue: l = 3,
3336
+ thumbColor: c = "#B32F5D",
3337
+ trackColors: u = ["#B32F5D", "#EFEFEF"],
3338
+ // [ LEFT, RIGHT ],
3339
+ required: m,
3340
+ errorColor: g = "red",
3341
+ width: _ = 265,
3342
+ minText: v,
3343
+ maxText: h
3344
+ } = n, { t: f } = k(), { control: C, trigger: b, clearErrors: y } = d, w = te(m);
3345
+ M(() => {
3346
+ w.current !== m && (m ? b(i) : y(i), w.current = m);
3347
+ }, [m, i, b, y]);
3348
+ const [x, N] = D(3), B = Array.from({ length: a - r + 1 }, (S, E) => r + E);
3349
+ return /* @__PURE__ */ s(
3350
+ ve,
3351
+ {
3352
+ name: i,
3353
+ control: C,
3354
+ rules: {
3355
+ // required: required
3356
+ // ? `${t(label)} ${t("errorMessages.required")}`
3357
+ // : false,
3358
+ // maxLength: maxLength || undefined,
3359
+ // validate: validateFunction || undefined,
3360
+ },
3361
+ render: ({ field: S, fieldState: E }) => /* @__PURE__ */ p("div", { className: R.rankingSliderContainer, children: [
3362
+ /* @__PURE__ */ p("p", { className: R.labelContainer, children: [
3363
+ f(t),
3364
+ " "
3365
+ ] }),
3366
+ /* @__PURE__ */ p("div", { className: R.inputContainer, style: { width: _ }, children: [
3367
+ /* @__PURE__ */ s(
3368
+ lt,
3369
+ {
3370
+ min: r,
3371
+ max: a,
3372
+ step: 1,
3373
+ value: x,
3374
+ defaultValue: l,
3375
+ onChange: N,
3376
+ marks: !0,
3377
+ className: R.slider,
3378
+ thumbClassName: R.thumb,
3379
+ renderThumb: (V, ie) => /* @__PURE__ */ s(
3380
+ "div",
3381
+ {
3382
+ ...V,
3383
+ style: {
3384
+ ...V.style,
3385
+ backgroundColor: c
3386
+ }
3387
+ }
3388
+ ),
3389
+ renderTrack: (V, ie) => {
3390
+ const G = `${V.className || ""} ${ie.index === 0 ? R.trackLeft : R.trackRight}`;
3391
+ return /* @__PURE__ */ s(
3392
+ "div",
3393
+ {
3394
+ ...V,
3395
+ className: G,
3396
+ style: {
3397
+ ...V.style,
3398
+ backgroundColor: u[ie.index] || "#000"
3399
+ // color según índice
3400
+ }
3401
+ }
3402
+ );
3403
+ },
3404
+ trackClassName: R.track,
3405
+ markClassName: R.mark
3406
+ }
3407
+ ),
3408
+ /* @__PURE__ */ s("div", { className: R.labels, children: B.map((V) => /* @__PURE__ */ s("span", { children: V }, V)) }),
3409
+ /* @__PURE__ */ p("div", { className: R.labels, children: [
3410
+ /* @__PURE__ */ s("span", { className: R.labelsText, children: f(v) }),
3411
+ /* @__PURE__ */ s("span", { className: R.labelsText, children: f(h) })
3412
+ ] })
3413
+ ] })
3414
+ ] })
3415
+ }
3416
+ );
3417
+ }, Te = ({
3302
3418
  inputs: n,
3303
3419
  inputContainerStyles: d,
3304
3420
  reactHookFormInstance: i
3305
3421
  }) => {
3306
- const { watch: o } = i, t = o(), r = ae(() => n.map((a) => {
3422
+ const { watch: o } = i, t = o(), r = he(() => n.map((a) => {
3307
3423
  const l = typeof a.required == "function" ? a.required(t) : a.required;
3308
3424
  return {
3309
3425
  ...a,
3310
3426
  required: l
3311
3427
  };
3312
3428
  }), [n, t]);
3313
- return /* @__PURE__ */ s("div", { className: re.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
3429
+ return /* @__PURE__ */ s("div", { className: ae.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
3314
3430
  const { inputType: c } = a;
3315
3431
  switch (c) {
3316
- case he.text:
3432
+ case pe.text:
3433
+ return /* @__PURE__ */ s(
3434
+ "div",
3435
+ {
3436
+ className: ae.inputContainer,
3437
+ style: { ...d },
3438
+ children: /* @__PURE__ */ s(
3439
+ it,
3440
+ {
3441
+ input: a,
3442
+ reactHookFormInstance: i
3443
+ }
3444
+ )
3445
+ },
3446
+ `${a.code}${l}`
3447
+ );
3448
+ case pe.password:
3317
3449
  return /* @__PURE__ */ s(
3318
3450
  "div",
3319
3451
  {
3320
- className: re.inputContainer,
3452
+ className: ae.inputContainer,
3321
3453
  style: { ...d },
3322
3454
  children: /* @__PURE__ */ s(
3323
- Je,
3455
+ it,
3324
3456
  {
3325
3457
  input: a,
3326
3458
  reactHookFormInstance: i
@@ -3329,14 +3461,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3329
3461
  },
3330
3462
  `${a.code}${l}`
3331
3463
  );
3332
- case he.password:
3464
+ case pe.select:
3333
3465
  return /* @__PURE__ */ s(
3334
3466
  "div",
3335
3467
  {
3336
- className: re.inputContainer,
3468
+ className: ae.inputContainer,
3337
3469
  style: { ...d },
3338
3470
  children: /* @__PURE__ */ s(
3339
- Je,
3471
+ k1,
3340
3472
  {
3341
3473
  input: a,
3342
3474
  reactHookFormInstance: i
@@ -3345,14 +3477,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3345
3477
  },
3346
3478
  `${a.code}${l}`
3347
3479
  );
3348
- case he.select:
3480
+ case pe.radioList:
3349
3481
  return /* @__PURE__ */ s(
3350
3482
  "div",
3351
3483
  {
3352
- className: re.inputContainer,
3484
+ className: ae.inputContainer,
3353
3485
  style: { ...d },
3354
3486
  children: /* @__PURE__ */ s(
3355
- _1,
3487
+ T1,
3356
3488
  {
3357
3489
  input: a,
3358
3490
  reactHookFormInstance: i
@@ -3361,14 +3493,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3361
3493
  },
3362
3494
  `${a.code}${l}`
3363
3495
  );
3364
- case he.radioList:
3496
+ case pe.rankingSlider:
3365
3497
  return /* @__PURE__ */ s(
3366
3498
  "div",
3367
3499
  {
3368
- className: re.inputContainer,
3500
+ className: ae.inputContainer,
3369
3501
  style: { ...d },
3370
3502
  children: /* @__PURE__ */ s(
3371
- S1,
3503
+ j1,
3372
3504
  {
3373
3505
  input: a,
3374
3506
  reactHookFormInstance: i
@@ -3381,7 +3513,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3381
3513
  return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${a.code}${l}`);
3382
3514
  }
3383
3515
  }) });
3384
- }, ci = ({
3516
+ }, ji = ({
3385
3517
  reactHookFormInstance: n,
3386
3518
  formObject: d,
3387
3519
  //Component with {title, children} as props.
@@ -3399,87 +3531,180 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3399
3531
  }) => {
3400
3532
  const {
3401
3533
  handleSubmit: m,
3402
- control: h,
3534
+ control: g,
3403
3535
  formState: { errors: _ }
3404
- } = n, { t: f } = k();
3405
- return (
3406
- /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3407
- /* @__PURE__ */ p("form", { className: Be.formContainer, onSubmit: m(u), children: [
3408
- /* @__PURE__ */ s("div", { className: Be.formObjectContainer, children: d && d.map((g, y) => {
3409
- const { inputs: C } = g;
3410
- return g.category ? i ? /* @__PURE__ */ s(
3411
- "div",
3412
- {
3413
- style: {
3414
- display: c && g.categoryId !== c ? "none" : "inherit",
3415
- width: "100%"
3416
- },
3417
- children: /* @__PURE__ */ s(
3418
- i,
3419
- {
3420
- title: g.category,
3421
- children: /* @__PURE__ */ s(
3422
- Se,
3423
- {
3424
- inputs: C,
3425
- control: h,
3426
- inputContainerStyles: o,
3427
- errorColor: r,
3428
- formInstance: n
3429
- }
3430
- )
3431
- },
3432
- `${g.category}${y}`
3433
- )
3434
- }
3435
- ) : /* @__PURE__ */ p(
3436
- "div",
3437
- {
3438
- style: {
3439
- width: "100%",
3440
- display: c && g.categoryId !== c ? "none" : "flex",
3441
- flexDirection: "column"
3442
- },
3443
- children: [
3444
- /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f(g.category) }),
3445
- /* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
3446
- Se,
3536
+ } = n, { t: v } = k();
3537
+ return /* @__PURE__ */ p("form", { className: Le.formContainer, onSubmit: m(u), children: [
3538
+ /* @__PURE__ */ s("div", { className: Le.formObjectContainer, children: d && d.map((h, f) => {
3539
+ const { inputs: C } = h;
3540
+ return h.category ? i ? /* @__PURE__ */ s(
3541
+ "div",
3542
+ {
3543
+ style: {
3544
+ display: c && h.categoryId !== c ? "none" : "inherit",
3545
+ width: "100%"
3546
+ },
3547
+ children: /* @__PURE__ */ s(
3548
+ i,
3549
+ {
3550
+ title: h.category,
3551
+ children: /* @__PURE__ */ s(
3552
+ Te,
3447
3553
  {
3448
3554
  inputs: C,
3449
- control: h,
3555
+ control: g,
3450
3556
  inputContainerStyles: o,
3451
3557
  errorColor: r,
3452
- reactHookFormInstance: n
3558
+ formInstance: n
3453
3559
  }
3454
- ) })
3455
- ]
3560
+ )
3561
+ },
3562
+ `${h.category}${f}`
3563
+ )
3564
+ }
3565
+ ) : /* @__PURE__ */ p(
3566
+ "div",
3567
+ {
3568
+ style: {
3569
+ width: "100%",
3570
+ display: c && h.categoryId !== c ? "none" : "flex",
3571
+ flexDirection: "column"
3456
3572
  },
3457
- `${g.category}${y}`
3458
- ) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3459
- Se,
3460
- {
3461
- inputContainerStyles: o,
3462
- inputs: C,
3463
- control: h,
3464
- errorColor: r,
3465
- watchedValues,
3466
- reactHookFormInstance: n
3467
- }
3468
- ) }, `inputKey${y}`);
3469
- }) }),
3470
- /* @__PURE__ */ p("div", { className: Be.buttonContainer, children: [
3471
- /* @__PURE__ */ s(Ce, { containerStyles: l, type: "submit", children: f(a) }),
3472
- /* @__PURE__ */ s(fe, { errorMessage: t, errorColor: r })
3473
- ] })
3573
+ children: [
3574
+ /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: v(h.category) }),
3575
+ /* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
3576
+ Te,
3577
+ {
3578
+ inputs: C,
3579
+ control: g,
3580
+ inputContainerStyles: o,
3581
+ errorColor: r,
3582
+ reactHookFormInstance: n
3583
+ }
3584
+ ) })
3585
+ ]
3586
+ },
3587
+ `${h.category}${f}`
3588
+ ) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3589
+ Te,
3590
+ {
3591
+ inputContainerStyles: o,
3592
+ inputs: C,
3593
+ control: g,
3594
+ errorColor: r,
3595
+ reactHookFormInstance: n
3596
+ }
3597
+ ) }, `inputKey${f}`);
3598
+ }) }),
3599
+ /* @__PURE__ */ p("div", { className: Le.buttonContainer, children: [
3600
+ /* @__PURE__ */ s(ye, { containerStyles: l, type: "submit", children: v(a) }),
3601
+ /* @__PURE__ */ s(xe, { errorMessage: t, errorColor: r })
3474
3602
  ] })
3475
- );
3476
- }, D1 = "_header_13kbt_2", M1 = "_leftComponents_13kbt_13", L1 = "_centerComponents_13kbt_14", $1 = "_rightComponents_13kbt_15", F1 = "_componentsContainer_13kbt_32", G = {
3477
- header: D1,
3478
- leftComponents: M1,
3479
- centerComponents: L1,
3480
- rightComponents: $1,
3481
- componentsContainer: F1
3482
- }, T1 = ({
3603
+ ] });
3604
+ }, z1 = "_overlay_mnd4j_2", Z1 = "_modal_mnd4j_15", K1 = "_closeButton_mnd4j_29", H1 = "_icon_mnd4j_39", U1 = "_message_mnd4j_45", G1 = "_submessage_mnd4j_51", W1 = "_buttonsContainer_mnd4j_57", Y1 = "_buttonWrapper_mnd4j_64", U = {
3605
+ overlay: z1,
3606
+ modal: Z1,
3607
+ closeButton: K1,
3608
+ icon: H1,
3609
+ message: U1,
3610
+ submessage: G1,
3611
+ buttonsContainer: W1,
3612
+ buttonWrapper: Y1
3613
+ }, Q1 = ({
3614
+ onClose: n,
3615
+ icon: d,
3616
+ message: i,
3617
+ submessage: o,
3618
+ buttons: t,
3619
+ maxHeight: r = "450px",
3620
+ maxWidth: a = "450px"
3621
+ }) => /* @__PURE__ */ s("div", { className: U.overlay, children: /* @__PURE__ */ p(
3622
+ "div",
3623
+ {
3624
+ className: U.modal,
3625
+ style: { maxHeight: r, maxWidth: a },
3626
+ children: [
3627
+ /* @__PURE__ */ s("button", { className: U.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
3628
+ d && /* @__PURE__ */ s("img", { src: d, alt: "icon", className: U.icon }),
3629
+ /* @__PURE__ */ s("p", { className: U.message, children: i }),
3630
+ o && /* @__PURE__ */ s("p", { className: U.submessage, children: o }),
3631
+ t.length > 0 && /* @__PURE__ */ s("div", { className: U.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ s("div", { className: U.buttonWrapper, children: l }, c)) })
3632
+ ]
3633
+ }
3634
+ ) });
3635
+ Q1.propTypes = {
3636
+ /** Función que se ejecuta al clicar la "X" de cierre */
3637
+ onClose: e.func.isRequired,
3638
+ /** URL de la imagen opcional que aparece sobre el mensaje */
3639
+ icon: e.string,
3640
+ /** Texto principal del modal */
3641
+ message: e.string.isRequired,
3642
+ /** Texto opcional debajo del mensaje principal */
3643
+ submessage: e.string,
3644
+ /** Array de componentes de botones a renderizar en el modal */
3645
+ buttons: e.arrayOf(e.node),
3646
+ /** Altura máxima del modal (por defecto 400px) */
3647
+ maxHeight: e.string,
3648
+ /** Anchura máxima del modal (por defecto 400px) */
3649
+ maxWidth: e.string
3650
+ };
3651
+ const X1 = "_stepsContainer_1cyua_3", J1 = "_stepWrapper_1cyua_9", ei = "_circleContainer_1cyua_19", ti = "_circle_1cyua_19", ni = "_active_1cyua_39", ii = "_completed_1cyua_44", oi = "_label_1cyua_50", si = "_labelActive_1cyua_56", ri = "_connector_1cyua_61", Z = {
3652
+ stepsContainer: X1,
3653
+ stepWrapper: J1,
3654
+ circleContainer: ei,
3655
+ circle: ti,
3656
+ active: ni,
3657
+ completed: ii,
3658
+ label: oi,
3659
+ labelActive: si,
3660
+ connector: ri
3661
+ }, wt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ s("div", { className: Z.stepsContainer, children: n.map((i, o) => {
3662
+ const t = i.status === "active", r = i.status === "completed";
3663
+ return /* @__PURE__ */ p("div", { className: Z.stepWrapper, children: [
3664
+ /* @__PURE__ */ p("div", { className: Z.circleContainer, children: [
3665
+ /* @__PURE__ */ s(
3666
+ "div",
3667
+ {
3668
+ className: `${Z.circle}
3669
+ ${t ? Z.active : ""}
3670
+ ${r ? Z.completed : ""}`,
3671
+ style: t ? { backgroundColor: d } : {},
3672
+ onClick: i.onClick,
3673
+ children: o + 1
3674
+ }
3675
+ ),
3676
+ o < n.length - 1 && /* @__PURE__ */ s("div", { className: Z.connector })
3677
+ ] }),
3678
+ /* @__PURE__ */ s(
3679
+ "div",
3680
+ {
3681
+ className: `${Z.label} ${t ? Z.labelActive : ""}`,
3682
+ children: i.name
3683
+ }
3684
+ )
3685
+ ] }, o);
3686
+ }) });
3687
+ wt.propTypes = {
3688
+ steps: e.arrayOf(
3689
+ e.shape({
3690
+ name: e.string.isRequired,
3691
+ onClick: e.func,
3692
+ status: e.oneOf(["inactive", "active", "completed"]).isRequired
3693
+ })
3694
+ ).isRequired,
3695
+ activeColor: e.string
3696
+ };
3697
+ wt.defaultProps = {
3698
+ activeColor: "#C2185B"
3699
+ // color por defecto
3700
+ };
3701
+ const ai = "_header_13kbt_2", li = "_leftComponents_13kbt_13", ci = "_centerComponents_13kbt_14", di = "_rightComponents_13kbt_15", ui = "_componentsContainer_13kbt_32", J = {
3702
+ header: ai,
3703
+ leftComponents: li,
3704
+ centerComponents: ci,
3705
+ rightComponents: di,
3706
+ componentsContainer: ui
3707
+ }, pi = ({
3483
3708
  cssProps: n,
3484
3709
  leftComponents: d = [],
3485
3710
  centerComponents: i = [],
@@ -3492,7 +3717,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3492
3717
  }) => /* @__PURE__ */ p(
3493
3718
  "div",
3494
3719
  {
3495
- className: G.header,
3720
+ className: J.header,
3496
3721
  style: {
3497
3722
  ...n,
3498
3723
  zIndex: t,
@@ -3502,13 +3727,13 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3502
3727
  bottom: l ? 0 : "auto"
3503
3728
  },
3504
3729
  children: [
3505
- /* @__PURE__ */ s("div", { className: G.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
3506
- /* @__PURE__ */ s("div", { className: G.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
3507
- /* @__PURE__ */ s("div", { className: G.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) })
3730
+ /* @__PURE__ */ s("div", { className: J.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
3731
+ /* @__PURE__ */ s("div", { className: J.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
3732
+ /* @__PURE__ */ s("div", { className: J.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) })
3508
3733
  ]
3509
3734
  }
3510
3735
  );
3511
- T1.propTypes = {
3736
+ pi.propTypes = {
3512
3737
  leftComponents: e.arrayOf(e.node),
3513
3738
  centerComponents: e.arrayOf(e.node),
3514
3739
  rightComponents: e.arrayOf(e.node),
@@ -3518,12 +3743,12 @@ T1.propTypes = {
3518
3743
  backgroundColor: e.string,
3519
3744
  isFooter: e.bool
3520
3745
  };
3521
- const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20", O1 = "_closeButton_1fmjn_26", ge = {
3522
- sidebar: V1,
3523
- open: A1,
3524
- content: I1,
3525
- closeButton: O1
3526
- }, R1 = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", q1 = ({
3746
+ const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20", Ci = "_closeButton_1fmjn_26", _e = {
3747
+ sidebar: mi,
3748
+ open: hi,
3749
+ content: gi,
3750
+ closeButton: Ci
3751
+ }, fi = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", bi = ({
3527
3752
  width: n = "300px",
3528
3753
  children: d,
3529
3754
  showRightBar: i,
@@ -3535,45 +3760,49 @@ const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20",
3535
3760
  return /* @__PURE__ */ s(
3536
3761
  "div",
3537
3762
  {
3538
- className: `${ge.sidebar} ${i ? ge.open : ""}`,
3763
+ className: `${_e.sidebar} ${i ? _e.open : ""}`,
3539
3764
  style: { width: i ? n : 0 },
3540
- children: i && /* @__PURE__ */ p("div", { className: ge.content, children: [
3541
- /* @__PURE__ */ s("button", { className: ge.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: R1, alt: "Close Sidebar" }) }),
3765
+ children: i && /* @__PURE__ */ p("div", { className: _e.content, children: [
3766
+ /* @__PURE__ */ s("button", { className: _e.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: fi, alt: "Close Sidebar" }) }),
3542
3767
  d
3543
3768
  ] })
3544
3769
  }
3545
3770
  );
3546
3771
  };
3547
- q1.propTypes = {
3772
+ bi.propTypes = {
3548
3773
  width: e.string,
3549
3774
  children: e.node,
3550
3775
  showRightBar: e.bool,
3551
3776
  onCloseBar: e.func
3552
3777
  };
3553
3778
  export {
3554
- l2 as AmbitSelector,
3555
- _2 as ButtonsList,
3556
- W as DropdownList,
3557
- ii as EditAmbit,
3558
- fe as ErrorMessage,
3559
- H2 as FiltersAmbit,
3560
- ci as Form,
3561
- Q2 as Graphic,
3562
- T1 as HeaderSection,
3563
- g0 as IndicatorsList,
3564
- v0 as LangSelector,
3565
- O0 as Legend,
3566
- En as ListSelector,
3567
- Cn as LogInButton,
3568
- q0 as LogoApp,
3569
- z0 as MapboxMap,
3570
- G0 as MaplibreMap,
3571
- S1 as RadioButtonInput,
3572
- q1 as RightSidebar,
3573
- oi as SectionBar,
3574
- _1 as SelectInput,
3575
- Je as TextInput,
3576
- cn as TimeSlider,
3577
- Y as Tooltip,
3578
- mn as TopNavMenu
3779
+ h2 as AmbitSelector,
3780
+ B2 as ButtonsList,
3781
+ ne as DropdownList,
3782
+ Ii as EditAmbit,
3783
+ xe as ErrorMessage,
3784
+ Q2 as FiltersAmbit,
3785
+ ji as Form,
3786
+ ye as GeneralButton,
3787
+ n0 as Graphic,
3788
+ pi as HeaderSection,
3789
+ y0 as IndicatorsList,
3790
+ B0 as LangSelector,
3791
+ j0 as Legend,
3792
+ Kn as ListSelector,
3793
+ vn as LogInButton,
3794
+ Z0 as LogoApp,
3795
+ U0 as MapboxMap,
3796
+ J0 as MaplibreMap,
3797
+ Q1 as ModalAlert,
3798
+ T1 as RadioButtonInput,
3799
+ j1 as RankingSlider,
3800
+ bi as RightSidebar,
3801
+ Oi as SectionBar,
3802
+ k1 as SelectInput,
3803
+ wt as Steps,
3804
+ it as TextInput,
3805
+ hn as TimeSlider,
3806
+ ee as Tooltip,
3807
+ bn as TopNavMenu
3579
3808
  };