@tmf_ciclica/ciclicastorybook 1.1.92 → 1.1.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
- (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_3bp8g_2{width:100%}._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{min-width:auto;max-width:215px}}._radioButtonContainer_3bp8g_2 ._errorContainer_3bp8g_44{position:absolute;top:-25px;left:0}._radioButtonContainer_3bp8g_2 ._iconPrivacy_3bp8g_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_3bp8g_2 ._radioQuestion_3bp8g_59{width:100%;flex:1}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label{text-align:left}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_3bp8g_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_3bp8g_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}label,._radioInput_3bp8g_109{cursor:pointer}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_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 m, jsx as s, Fragment as Se } from "react/jsx-runtime";
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
3
  import * as te from "react";
4
- import B, { useState as D, useEffect as V, useMemo as he, useLayoutEffect as yt, useRef as $e } from "react";
4
+ import B, { useState as L, useEffect as $, useMemo as ae, useLayoutEffect as yt, useRef as ne } from "react";
5
5
  import e from "prop-types";
6
6
  import { useTranslation as k, Trans as Ve } from "react-i18next";
7
7
  import { motion as Ae } from "framer-motion";
@@ -9,25 +9,25 @@ import { create as _t } from "zustand";
9
9
  import * as Ee from "d3";
10
10
  import vt from "mapbox-gl";
11
11
  import { useSelector as wt, useDispatch as xt } from "react-redux";
12
- import kt, { Source as Nt, Layer as Bt, NavigationControl as St, Popup as Dt } from "react-map-gl/mapbox";
13
- import fe from "maplibre-gl";
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
14
  import { Protocol as Mt } from "pmtiles";
15
- import Ft, { Source as Lt, Layer as Tt, NavigationControl as $t, Popup as Vt } from "react-map-gl/maplibre";
15
+ import Lt, { Source as $t, Layer as Ft, NavigationControl as Tt, Popup as Vt } from "react-map-gl/maplibre";
16
16
  import { createSlice as At } from "@reduxjs/toolkit";
17
17
  import It from "@mui/material/Slider";
18
18
  import { createTheme as Ot, Box as Rt } from "@mui/material";
19
- import { ThemeProvider as Pt } from "@emotion/react";
19
+ import { ThemeProvider as qt } from "@emotion/react";
20
20
  import { NavLink as Et } from "react-router-dom";
21
- const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateContainer_mcunf_23", Zt = "_ambitName_mcunf_39", Ht = "_ambitDate_mcunf_53", Kt = "_buttonsContainer_mcunf_67", Ut = "_ambitListContainer_mcunf_76", Gt = "_newAmbitButtonContainer_mcunf_80", j = {
22
- ambitSelector: qt,
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
23
  header: zt,
24
24
  nameDateContainer: jt,
25
25
  ambitName: Zt,
26
- ambitDate: Ht,
27
- buttonsContainer: Kt,
26
+ ambitDate: Kt,
27
+ buttonsContainer: Ht,
28
28
  ambitListContainer: Ut,
29
29
  newAmbitButtonContainer: Gt
30
- }, Yt = "_ambitItem_1qa6u_2", Wt = "_ambitNameDate_1qa6u_16", Qt = "_ambitName_1qa6u_16", Xt = "_ambitDate_1qa6u_35", Jt = "_ambitButtons_1qa6u_38", ne = {
30
+ }, Yt = "_ambitItem_1qa6u_2", Wt = "_ambitNameDate_1qa6u_16", Qt = "_ambitName_1qa6u_16", Xt = "_ambitDate_1qa6u_35", Jt = "_ambitButtons_1qa6u_38", ie = {
31
31
  ambitItem: Yt,
32
32
  ambitNameDate: Wt,
33
33
  ambitName: Qt,
@@ -36,23 +36,23 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
36
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 = ({
37
37
  ambit: n,
38
38
  onClickCopy: d,
39
- onClickDelete: o,
40
- onClickFilters: i,
39
+ onClickDelete: i,
40
+ onClickFilters: o,
41
41
  onClickAmbit: t,
42
42
  isActive: r,
43
- activeColor: c,
44
- fontColor: a,
45
- moreInfo: l
43
+ activeColor: a,
44
+ fontColor: l,
45
+ moreInfo: c
46
46
  }) => {
47
- const { nom: u, created_at: h, id: g, isBeingProcessed: y } = n;
48
- return /* @__PURE__ */ m(
47
+ const { nom: u, created_at: m, id: h, isBeingProcessed: _ } = n;
48
+ return /* @__PURE__ */ p(
49
49
  "div",
50
50
  {
51
- className: ne.ambitItem,
52
- style: { borderBottom: `1px solid ${a}` },
51
+ className: ie.ambitItem,
52
+ style: { borderBottom: `1px solid ${l}` },
53
53
  children: [
54
- /* @__PURE__ */ m("div", { className: ne.ambitNameDate, onClick: () => t(g), children: [
55
- /* @__PURE__ */ m("div", { className: ne.ambitName, children: [
54
+ /* @__PURE__ */ p("div", { className: ie.ambitNameDate, onClick: () => t(h), children: [
55
+ /* @__PURE__ */ p("div", { className: ie.ambitName, children: [
56
56
  /* @__PURE__ */ s(
57
57
  "img",
58
58
  {
@@ -60,15 +60,15 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
60
60
  src: r ? o2 : s2
61
61
  }
62
62
  ),
63
- /* @__PURE__ */ s("span", { style: { color: r ? c : a }, children: u })
63
+ /* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
64
64
  ] }),
65
- /* @__PURE__ */ s("div", { className: ne.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
65
+ /* @__PURE__ */ s("div", { className: ie.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ m("div", { className: ne.ambitButtons, children: [
68
- y && /* @__PURE__ */ s("img", { src: i2 }),
69
- /* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
70
- /* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: t2 }) }),
71
- /* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
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 }) })
72
72
  ] })
73
73
  ]
74
74
  }
@@ -92,13 +92,13 @@ et.propTypes = {
92
92
  moreInfo: e.object
93
93
  // Optional, can be used for additional info
94
94
  };
95
- const qe = "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 = {
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
96
  generalButton: r2
97
- }, ge = ({
97
+ }, Ce = ({
98
98
  children: n,
99
99
  onClick: d,
100
- fontColor: o = "#605B56",
101
- borderColor: i = "#605B56",
100
+ fontColor: i = "#605B56",
101
+ borderColor: o = "#605B56",
102
102
  type: t = "button",
103
103
  containerStyles: r = {}
104
104
  }) => /* @__PURE__ */ s(
@@ -106,8 +106,8 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
106
106
  {
107
107
  className: a2.generalButton,
108
108
  style: {
109
- color: o,
110
- border: `1.5px solid ${i}`,
109
+ color: i,
110
+ border: `1.5px solid ${o}`,
111
111
  ...r
112
112
  },
113
113
  onClick: d,
@@ -117,76 +117,76 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
117
117
  ), l2 = ({
118
118
  ambitList: n,
119
119
  activeAmbitId: d,
120
- fontColor: o = "#605B56",
121
- activeColor: i,
120
+ fontColor: i = "#605B56",
121
+ activeColor: o,
122
122
  nameLabel: t,
123
123
  dateLabel: r,
124
- newAmbitLabel: c = "New field",
125
- buttonContainerStyles: a = {},
126
- containerStyles: l = {},
124
+ newAmbitLabel: a = "New field",
125
+ buttonContainerStyles: l = {},
126
+ containerStyles: c = {},
127
127
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
128
- onClickCopy: h = (f) => console.log(`Copy ambit: ${f}`),
129
- onCLickDelete: g = (f) => console.log(`Delete ambit: ${f}`),
130
- onClickFilters: y = (f) => console.log(`Filters clicked: ${f}`),
131
- onClickAmbit: C = (f) => console.log(`OnCLickAmbit: ${f}`)
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}`)
132
132
  }) => {
133
- const { t: f } = k(), [_, p] = D(n);
134
- V(() => {
135
- n && p(n);
133
+ const { t: g } = k(), [y, C] = L(n);
134
+ $(() => {
135
+ n && C(n);
136
136
  }, [n]);
137
- const b = (v) => {
138
- if (_ && _.length > 0) {
139
- let x = [..._];
140
- x.sort((w, N) => w[v].localeCompare(N[v])), p(x);
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);
141
141
  }
142
142
  };
143
- return /* @__PURE__ */ m(
143
+ return /* @__PURE__ */ p(
144
144
  "div",
145
145
  {
146
146
  className: j.ambitSelector,
147
- style: { color: o, ...l },
147
+ style: { color: i, ...c },
148
148
  children: [
149
- /* @__PURE__ */ m(
149
+ /* @__PURE__ */ p(
150
150
  "div",
151
151
  {
152
152
  className: j.header,
153
- style: { borderBottom: `1px solid ${o}` },
153
+ style: { borderBottom: `1px solid ${i}` },
154
154
  children: [
155
- /* @__PURE__ */ m("div", { className: j.nameDateContainer, children: [
156
- /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => b("name"), children: [
157
- /* @__PURE__ */ s("span", { children: f(t) }),
158
- /* @__PURE__ */ s("img", { src: qe })
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 })
159
159
  ] }) }),
160
- /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => b("date"), children: [
161
- /* @__PURE__ */ s("span", { children: f(r) }),
162
- /* @__PURE__ */ s("img", { src: qe })
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 })
163
163
  ] }) })
164
164
  ] }),
165
165
  /* @__PURE__ */ s("div", { className: j.buttonsContainer })
166
166
  ]
167
167
  }
168
168
  ),
169
- /* @__PURE__ */ s("div", { className: j.ambitListContainer, children: _ && _.length > 0 && _.map((v) => /* @__PURE__ */ s(
169
+ /* @__PURE__ */ s("div", { className: j.ambitListContainer, children: y && y.length > 0 && y.map((w) => /* @__PURE__ */ s(
170
170
  et,
171
171
  {
172
- isActive: d == v.id,
173
- ambit: v,
174
- fontColor: o,
175
- activeColor: i,
176
- onClickCopy: h,
177
- onClickDelete: g,
178
- onClickFilters: y,
179
- onClickAmbit: C
172
+ isActive: d == w.id,
173
+ ambit: w,
174
+ fontColor: i,
175
+ activeColor: o,
176
+ onClickCopy: m,
177
+ onClickDelete: h,
178
+ onClickFilters: _,
179
+ onClickAmbit: f
180
180
  },
181
- `ambitKey${v.id}`
181
+ `ambitKey${w.id}`
182
182
  )) }),
183
183
  /* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
184
- ge,
184
+ Ce,
185
185
  {
186
- style: { ...a },
186
+ style: { ...l },
187
187
  onClick: u,
188
188
  borderColor: "grey",
189
- children: f(c)
189
+ children: g(a)
190
190
  }
191
191
  ) })
192
192
  ]
@@ -227,9 +227,9 @@ const c2 = "_buttonsContainer_1audx_2", d2 = "_vertical_1audx_6", u2 = "_horizon
227
227
  top: C2,
228
228
  bottom: f2,
229
229
  right: b2
230
- }, Y = ({ text: n, position: d, styleCustom: o = null }) => {
231
- const { t: i } = k();
232
- return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: o, children: i(n) });
230
+ }, Y = ({ text: n, position: d, styleCustom: i = null }) => {
231
+ const { t: o } = k();
232
+ return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: i, children: o(n) });
233
233
  };
234
234
  Y.propTypes = {
235
235
  text: e.string.isRequired,
@@ -239,41 +239,41 @@ Y.propTypes = {
239
239
  const _2 = ({
240
240
  buttons: n = [],
241
241
  orientation: d = "horizontal",
242
- showName: o = !0,
243
- namePosition: i = "right",
242
+ showName: i = !0,
243
+ namePosition: o = "right",
244
244
  useTooltip: t = !1,
245
245
  tooltipPosition: r = "top"
246
246
  }) => {
247
- const { t: c } = k();
247
+ const { t: a } = k();
248
248
  return /* @__PURE__ */ s(
249
249
  "div",
250
250
  {
251
251
  className: `${Z.buttonsContainer} ${d === "vertical" && Z.vertical}
252
252
  ${d === "horizontal" && Z.horizontal}`,
253
- children: n.map((a, l) => {
253
+ children: n.map((l, c) => {
254
254
  const {
255
255
  icon: u,
256
- activeIcon: h,
257
- isActive: g,
258
- name: y,
259
- onClick: C
260
- } = a, f = /* @__PURE__ */ m(Se, { children: [
261
- o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: c(y) }),
262
- /* @__PURE__ */ s("img", { src: g ? h : u, alt: c(y) }),
263
- o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: c(y) })
256
+ activeIcon: m,
257
+ isActive: h,
258
+ 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(_) })
264
264
  ] });
265
- return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
265
+ return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
266
266
  /* @__PURE__ */ s(
267
267
  "button",
268
268
  {
269
- onClick: C,
269
+ onClick: f,
270
270
  className: `${Z.button}
271
- ${g && Z.active}`,
272
- children: f
271
+ ${h && Z.active}`,
272
+ children: g
273
273
  }
274
274
  ),
275
- t && /* @__PURE__ */ s(Y, { text: y, position: r })
276
- ] }, l);
275
+ t && /* @__PURE__ */ s(Y, { text: _, position: r })
276
+ ] }, c);
277
277
  })
278
278
  }
279
279
  );
@@ -295,53 +295,53 @@ _2.propTypes = {
295
295
  useTooltip: e.bool,
296
296
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
297
297
  };
298
- const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
298
+ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
299
299
  indicatorsCategory: v2,
300
300
  title: w2
301
301
  }, W = ({
302
302
  isOpen: n,
303
303
  onClick: d,
304
- children: o,
305
- color: i,
304
+ children: i,
305
+ color: o,
306
306
  activeColor: t = "#F8A925",
307
307
  title: r = "Title",
308
308
  //Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
309
- height: c = 53,
309
+ height: a = 53,
310
310
  //Adjust height if you change fontSize
311
- titleFontStyles: a,
312
- showBottomBar: l = !0,
311
+ titleFontStyles: l,
312
+ showBottomBar: c = !0,
313
313
  titleMarginChildren: u = 25
314
314
  }) => {
315
- const { t: h } = k();
316
- return /* @__PURE__ */ m(
315
+ const { t: m } = k();
316
+ return /* @__PURE__ */ p(
317
317
  Ae.div,
318
318
  {
319
- className: be.indicatorsCategory,
320
- initial: { height: `${c}px` },
321
- animate: { height: n ? "auto" : `${c}px` },
319
+ className: ye.indicatorsCategory,
320
+ initial: { height: `${a}px` },
321
+ animate: { height: n ? "auto" : `${a}px` },
322
322
  transition: { duration: 0.4 },
323
323
  style: {
324
324
  backgroundColor: "white",
325
- borderBottom: n && l ? `1px solid ${t}` : "0px",
325
+ borderBottom: n && c ? `1px solid ${t}` : "0px",
326
326
  marginBottom: n ? "20px" : "0px"
327
327
  },
328
328
  children: [
329
- /* @__PURE__ */ m(
329
+ /* @__PURE__ */ p(
330
330
  "h2",
331
331
  {
332
332
  style: {
333
- ...a,
333
+ ...l,
334
334
  marginBottom: u || "auto"
335
335
  },
336
- className: `${be.title}`,
336
+ className: `${ye.title}`,
337
337
  onClick: d,
338
338
  children: [
339
- /* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
340
- /* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children: h(r) })
339
+ /* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
340
+ /* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children: m(r) })
341
341
  ]
342
342
  }
343
343
  ),
344
- /* @__PURE__ */ s("div", { className: be.content, children: o })
344
+ /* @__PURE__ */ s("div", { className: ye.content, children: i })
345
345
  ]
346
346
  }
347
347
  );
@@ -357,9 +357,9 @@ W.propTypes = {
357
357
  showBottomBar: e.bool,
358
358
  titleFontStyles: e.object
359
359
  };
360
- const oi = () => /* @__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", k2 = "_AppliedFiltersContainer_cokx9_2", N2 = "_AppliedFilterContent_cokx9_11", ze = {
361
- AppliedFiltersContainer: k2,
362
- AppliedFilterContent: N2
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
363
  }, T = _t((n) => ({
364
364
  activeCategory: "",
365
365
  activeSubCategory: "",
@@ -367,25 +367,25 @@ const oi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
367
367
  tematicalFiltersSelected: [],
368
368
  fontColor: "#605B56",
369
369
  inputsColor: "#605B56"
370
- })), tt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
371
- const { t: c } = k(), { tematicalFiltersSelected: a } = T((u) => u), l = (u) => {
372
- T.setState((h) => ({
373
- tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
374
- (g) => g.code !== u
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) => ({
373
+ tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
374
+ (h) => h.code !== u
375
375
  )
376
376
  }));
377
377
  };
378
378
  return /* @__PURE__ */ s(
379
379
  W,
380
380
  {
381
- isOpen: o,
381
+ isOpen: i,
382
382
  onClick: d,
383
- title: n ? c(n) : "Applied Filters",
383
+ title: n ? a(n) : "Applied Filters",
384
384
  activeColor: r,
385
- children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, h) => /* @__PURE__ */ m("div", { className: ze.AppliedFilterContent, style: { color: i, background: t }, children: [
386
- c(u.name),
387
- /* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => l(u.code), style: { cursor: "pointer" } })
388
- ] }, h)) })
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: [
386
+ a(u.name),
387
+ /* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
388
+ ] }, m)) })
389
389
  }
390
390
  );
391
391
  };
@@ -403,14 +403,14 @@ tt.propTypes = {
403
403
  ),
404
404
  activeColor: e.string
405
405
  };
406
- const nt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
407
- const { t: c } = k(), { tematicalFiltersSelected: a } = T((l) => l);
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
408
  return /* @__PURE__ */ s(
409
409
  W,
410
410
  {
411
- isOpen: o,
411
+ isOpen: i,
412
412
  onClick: d,
413
- title: n ? c(n) : "Geographical Filters",
413
+ title: n ? a(n) : "Geographical Filters",
414
414
  activeColor: r,
415
415
  children: "A"
416
416
  }
@@ -429,15 +429,15 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
429
429
  }, it = ({
430
430
  onClick: n,
431
431
  containerStyles: d,
432
- color: o = "#605B56",
433
- indicator: i,
432
+ color: i = "#605B56",
433
+ indicator: o,
434
434
  value: t
435
435
  }) => {
436
- const { t: r } = k(), { title: c } = i || {}, { fontColor: a, inputsColor: l } = T((u) => u);
437
- return /* @__PURE__ */ m(
436
+ const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = T((u) => u);
437
+ return /* @__PURE__ */ p(
438
438
  "div",
439
439
  {
440
- style: { ...d, color: o },
440
+ style: { ...d, color: i },
441
441
  role: "checkbox",
442
442
  className: S2.checkboxContainer,
443
443
  onClick: n,
@@ -450,12 +450,12 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
450
450
  value: t,
451
451
  readOnly: !0,
452
452
  style: {
453
- border: `1.5px solid ${t ? l : a}`,
454
- backgroundColor: t ? l : "white"
453
+ border: `1.5px solid ${t ? c : l}`,
454
+ backgroundColor: t ? c : "white"
455
455
  }
456
456
  }
457
457
  ),
458
- /* @__PURE__ */ s("span", { className: "checkmark", children: r(c) })
458
+ /* @__PURE__ */ s("span", { className: "checkmark", children: r(a) })
459
459
  ]
460
460
  }
461
461
  );
@@ -471,333 +471,333 @@ it.propTypes = {
471
471
  }),
472
472
  checkedColor: e.string
473
473
  };
474
- function De(n, d) {
475
- return De = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
476
- return o.__proto__ = i, o;
477
- }, De(n, d);
474
+ function Me(n, d) {
475
+ return Me = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
476
+ return i.__proto__ = o, i;
477
+ }, Me(n, d);
478
478
  }
479
479
  function D2(n, d) {
480
- n.prototype = Object.create(d.prototype), n.prototype.constructor = n, De(n, d);
480
+ n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Me(n, d);
481
481
  }
482
- function ye(n) {
482
+ function _e(n) {
483
483
  return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
484
484
  }
485
- function _e(n) {
485
+ function ve(n) {
486
486
  return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
487
487
  }
488
- function ce(n) {
488
+ function ue(n) {
489
489
  return n !== null && n.length === 1 ? n[0] : n.slice();
490
490
  }
491
- function de(n) {
491
+ function pe(n) {
492
492
  Object.keys(n).forEach((d) => {
493
493
  typeof document < "u" && document.addEventListener(d, n[d], !1);
494
494
  });
495
495
  }
496
- function H(n, d) {
497
- return Me(function(o, i) {
498
- let t = o;
499
- return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
496
+ function K(n, d) {
497
+ return Le(function(i, o) {
498
+ let t = i;
499
+ return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
500
500
  }(n, d), d);
501
501
  }
502
- function Me(n, d) {
503
- const o = (n - d.min) % d.step;
504
- let i = n - o;
505
- return 2 * Math.abs(o) >= d.step && (i += o > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
502
+ function Le(n, d) {
503
+ const i = (n - d.min) % d.step;
504
+ let o = n - i;
505
+ return 2 * Math.abs(i) >= d.step && (o += i > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
506
506
  }
507
- let Fe = function(n) {
508
- function d(i) {
507
+ let $e = function(n) {
508
+ function d(o) {
509
509
  var t;
510
- (t = n.call(this, i) || this).onKeyUp = () => {
510
+ (t = n.call(this, o) || this).onKeyUp = () => {
511
511
  t.onEnd();
512
512
  }, t.onMouseUp = () => {
513
513
  t.onEnd(t.getMouseEventMap());
514
- }, t.onTouchEnd = (a) => {
515
- a.preventDefault(), t.onEnd(t.getTouchEventMap());
514
+ }, t.onTouchEnd = (l) => {
515
+ l.preventDefault(), t.onEnd(t.getTouchEventMap());
516
516
  }, t.onBlur = () => {
517
517
  t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
518
- }, t.onMouseMove = (a) => {
518
+ }, t.onMouseMove = (l) => {
519
519
  t.setState({ pending: !0 });
520
- const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), h = t.getValueFromPosition(u);
521
- t.move(h);
522
- }, t.onTouchMove = (a) => {
523
- if (a.touches.length > 1) return;
520
+ const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
521
+ t.move(m);
522
+ }, t.onTouchMove = (l) => {
523
+ if (l.touches.length > 1) return;
524
524
  t.setState({ pending: !0 });
525
- const l = t.getTouchPosition(a);
525
+ const c = t.getTouchPosition(l);
526
526
  if (t.isScrolling === void 0) {
527
- const g = l[0] - t.startPosition[0], y = l[1] - t.startPosition[1];
528
- t.isScrolling = Math.abs(y) > Math.abs(g);
527
+ const h = c[0] - t.startPosition[0], _ = c[1] - t.startPosition[1];
528
+ t.isScrolling = Math.abs(_) > Math.abs(h);
529
529
  }
530
530
  if (t.isScrolling) return void t.setState({ index: -1 });
531
- const u = t.getDiffPosition(l[0]), h = t.getValueFromPosition(u);
532
- t.move(h);
533
- }, t.onKeyDown = (a) => {
534
- if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
531
+ const u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
532
+ t.move(m);
533
+ }, t.onKeyDown = (l) => {
534
+ if (!(l.ctrlKey || l.shiftKey || l.altKey || l.metaKey)) switch (t.setState({ pending: !0 }), l.key) {
535
535
  case "ArrowLeft":
536
536
  case "ArrowDown":
537
537
  case "Left":
538
538
  case "Down":
539
- a.preventDefault(), t.moveDownByStep();
539
+ l.preventDefault(), t.moveDownByStep();
540
540
  break;
541
541
  case "ArrowRight":
542
542
  case "ArrowUp":
543
543
  case "Right":
544
544
  case "Up":
545
- a.preventDefault(), t.moveUpByStep();
545
+ l.preventDefault(), t.moveUpByStep();
546
546
  break;
547
547
  case "Home":
548
- a.preventDefault(), t.move(t.props.min);
548
+ l.preventDefault(), t.move(t.props.min);
549
549
  break;
550
550
  case "End":
551
- a.preventDefault(), t.move(t.props.max);
551
+ l.preventDefault(), t.move(t.props.max);
552
552
  break;
553
553
  case "PageDown":
554
- a.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
554
+ l.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
555
555
  break;
556
556
  case "PageUp":
557
- a.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
557
+ l.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
558
558
  }
559
- }, t.onSliderMouseDown = (a) => {
560
- if (!t.props.disabled && a.button !== 2) {
559
+ }, t.onSliderMouseDown = (l) => {
560
+ if (!t.props.disabled && l.button !== 2) {
561
561
  if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
562
- const l = t.getMousePosition(a);
563
- t.forceValueFromPosition(l[0], (u) => {
564
- t.start(u, l[0]), de(t.getMouseEventMap());
562
+ const c = t.getMousePosition(l);
563
+ t.forceValueFromPosition(c[0], (u) => {
564
+ t.start(u, c[0]), pe(t.getMouseEventMap());
565
565
  });
566
566
  }
567
- ye(a);
567
+ _e(l);
568
568
  }
569
- }, t.onSliderClick = (a) => {
569
+ }, t.onSliderClick = (l) => {
570
570
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
571
- const l = t.getMousePosition(a), u = H(t.calcValue(t.calcOffsetFromPosition(l[0])), t.props);
571
+ const c = t.getMousePosition(l), u = K(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
572
572
  t.props.onSliderClick(u);
573
573
  }
574
- }, t.createOnKeyDown = (a) => (l) => {
575
- t.props.disabled || (t.start(a), de(t.getKeyDownEventMap()), ye(l));
576
- }, t.createOnMouseDown = (a) => (l) => {
577
- if (t.props.disabled || l.button === 2) return;
574
+ }, t.createOnKeyDown = (l) => (c) => {
575
+ t.props.disabled || (t.start(l), pe(t.getKeyDownEventMap()), _e(c));
576
+ }, t.createOnMouseDown = (l) => (c) => {
577
+ if (t.props.disabled || c.button === 2) return;
578
578
  t.setState({ pending: !0 });
579
- const u = t.getMousePosition(l);
580
- t.start(a, u[0]), de(t.getMouseEventMap()), ye(l);
581
- }, t.createOnTouchStart = (a) => (l) => {
582
- if (t.props.disabled || l.touches.length > 1) return;
579
+ const u = t.getMousePosition(c);
580
+ t.start(l, u[0]), pe(t.getMouseEventMap()), _e(c);
581
+ }, t.createOnTouchStart = (l) => (c) => {
582
+ if (t.props.disabled || c.touches.length > 1) return;
583
583
  t.setState({ pending: !0 });
584
- const u = t.getTouchPosition(l);
585
- t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(h) {
586
- h.stopPropagation && h.stopPropagation();
587
- }(l);
584
+ const u = t.getTouchPosition(c);
585
+ t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), pe(t.getTouchEventMap()), function(m) {
586
+ m.stopPropagation && m.stopPropagation();
587
+ }(c);
588
588
  }, t.handleResize = () => {
589
- const a = window.setTimeout(() => {
589
+ const l = window.setTimeout(() => {
590
590
  t.pendingResizeTimeouts.shift(), t.resize();
591
591
  }, 0);
592
- t.pendingResizeTimeouts.push(a);
593
- }, t.renderThumb = (a, l) => {
594
- const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), h = { ref: (y) => {
595
- t["thumb" + l] = y;
596
- }, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: l, value: ce(t.state.value), valueNow: t.state.value[l] };
597
- return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(h, g);
598
- }, t.renderTrack = (a, l, u) => {
599
- const h = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, g = { index: a, value: ce(t.state.value) };
600
- return t.props.renderTrack(h, g);
592
+ t.pendingResizeTimeouts.push(l);
593
+ }, t.renderThumb = (l, c) => {
594
+ const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (_) => {
595
+ 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
+ }, 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
601
  };
602
- let r = _e(i.value);
603
- r.length || (r = _e(i.defaultValue)), t.pendingResizeTimeouts = [];
604
- const c = [];
605
- for (let a = 0; a < r.length; a += 1) r[a] = H(r[a], i), c.push(a);
606
- return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: c }, t;
602
+ let r = ve(o.value);
603
+ r.length || (r = ve(o.defaultValue)), t.pendingResizeTimeouts = [];
604
+ 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
607
  }
608
608
  D2(d, n);
609
- var o = d.prototype;
610
- return o.componentDidMount = function() {
609
+ var i = d.prototype;
610
+ return i.componentDidMount = function() {
611
611
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
612
- }, d.getDerivedStateFromProps = function(i, t) {
613
- const r = _e(i.value);
614
- return r.length ? t.pending ? null : { value: r.map((c) => H(c, i)) } : null;
615
- }, o.componentDidUpdate = function() {
612
+ }, 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
+ }, i.componentDidUpdate = function() {
616
616
  this.state.upperBound === 0 && this.resize();
617
- }, o.componentWillUnmount = function() {
617
+ }, i.componentWillUnmount = function() {
618
618
  this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
619
- }, o.onEnd = function(i) {
620
- i && function(t) {
619
+ }, i.onEnd = function(o) {
620
+ o && function(t) {
621
621
  Object.keys(t).forEach((r) => {
622
622
  typeof document < "u" && document.removeEventListener(r, t[r], !1);
623
623
  });
624
- }(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
625
- }, o.getValue = function() {
626
- return ce(this.state.value);
627
- }, o.getClosestIndex = function(i) {
624
+ }(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
625
+ }, i.getValue = function() {
626
+ return ue(this.state.value);
627
+ }, i.getClosestIndex = function(o) {
628
628
  let t = Number.MAX_VALUE, r = -1;
629
- const { value: c } = this.state, a = c.length;
630
- for (let l = 0; l < a; l += 1) {
631
- const u = this.calcOffset(c[l]), h = Math.abs(i - u);
632
- h < t && (t = h, r = l);
629
+ const { value: a } = this.state, l = a.length;
630
+ for (let c = 0; c < l; c += 1) {
631
+ const u = this.calcOffset(a[c]), m = Math.abs(o - u);
632
+ m < t && (t = m, r = c);
633
633
  }
634
634
  return r;
635
- }, o.getMousePosition = function(i) {
636
- return [i["page" + this.axisKey()], i["page" + this.orthogonalAxisKey()]];
637
- }, o.getTouchPosition = function(i) {
638
- const t = i.touches[0];
635
+ }, i.getMousePosition = function(o) {
636
+ return [o["page" + this.axisKey()], o["page" + this.orthogonalAxisKey()]];
637
+ }, i.getTouchPosition = function(o) {
638
+ const t = o.touches[0];
639
639
  return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
640
- }, o.getKeyDownEventMap = function() {
640
+ }, i.getKeyDownEventMap = function() {
641
641
  return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
642
- }, o.getMouseEventMap = function() {
642
+ }, i.getMouseEventMap = function() {
643
643
  return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
644
- }, o.getTouchEventMap = function() {
644
+ }, i.getTouchEventMap = function() {
645
645
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
646
- }, o.getValueFromPosition = function(i) {
647
- const t = i / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
648
- return H(this.state.startValue + t, this.props);
649
- }, o.getDiffPosition = function(i) {
650
- let t = i - this.state.startPosition;
646
+ }, i.getValueFromPosition = function(o) {
647
+ const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
648
+ return K(this.state.startValue + t, this.props);
649
+ }, i.getDiffPosition = function(o) {
650
+ let t = o - this.state.startPosition;
651
651
  return this.props.invert && (t *= -1), t;
652
- }, o.resize = function() {
653
- const { slider: i, thumb0: t } = this;
654
- if (!i || !t) return;
655
- const r = this.sizeKey(), c = i.getBoundingClientRect(), a = i[r], l = c[this.posMaxKey()], u = c[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - h, y = Math.abs(l - u);
656
- this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: y, thumbSize: h });
657
- }, o.calcOffset = function(i) {
652
+ }, i.resize = function() {
653
+ const { slider: o, thumb0: t } = this;
654
+ 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
+ }, i.calcOffset = function(o) {
658
658
  const t = this.props.max - this.props.min;
659
- return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
660
- }, o.calcValue = function(i) {
661
- return i / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
662
- }, o.calcOffsetFromPosition = function(i) {
663
- const { slider: t } = this, r = t.getBoundingClientRect(), c = r[this.posMaxKey()], a = r[this.posMinKey()];
664
- let l = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? c : a));
665
- return this.props.invert && (l = this.state.sliderLength - l), l -= this.state.thumbSize / 2, l;
666
- }, o.forceValueFromPosition = function(i, t) {
667
- const r = this.calcOffsetFromPosition(i), c = this.getClosestIndex(r), a = H(this.calcValue(r), this.props), l = this.state.value.slice();
668
- l[c] = a;
669
- for (let u = 0; u < l.length - 1; u += 1) if (l[u + 1] - l[u] < this.props.minDistance) return;
670
- this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: l }, () => {
671
- t(c), this.fireChangeEvent("onChange");
659
+ return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
660
+ }, i.calcValue = function(o) {
661
+ return o / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
662
+ }, i.calcOffsetFromPosition = function(o) {
663
+ const { slider: t } = this, r = t.getBoundingClientRect(), a = r[this.posMaxKey()], l = r[this.posMinKey()];
664
+ let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
665
+ return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
666
+ }, 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();
668
+ c[a] = l;
669
+ for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
670
+ this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
671
+ t(a), this.fireChangeEvent("onChange");
672
672
  });
673
- }, o.clearPendingResizeTimeouts = function() {
673
+ }, i.clearPendingResizeTimeouts = function() {
674
674
  do {
675
- const i = this.pendingResizeTimeouts.shift();
676
- clearTimeout(i);
675
+ const o = this.pendingResizeTimeouts.shift();
676
+ clearTimeout(o);
677
677
  } while (this.pendingResizeTimeouts.length);
678
- }, o.start = function(i, t) {
679
- const r = this["thumb" + i];
678
+ }, i.start = function(o, t) {
679
+ const r = this["thumb" + o];
680
680
  r && r.focus();
681
- const { zIndices: c } = this.state;
682
- c.splice(c.indexOf(i), 1), c.push(i), this.setState((a) => ({ startValue: a.value[i], startPosition: t !== void 0 ? t : a.startPosition, index: i, zIndices: c }));
683
- }, o.moveUpByStep = function(i) {
684
- i === void 0 && (i = this.props.step);
685
- const t = this.state.value[this.state.index], r = H(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
681
+ const { zIndices: a } = this.state;
682
+ 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
+ }, i.moveUpByStep = function(o) {
684
+ 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);
686
686
  this.move(Math.min(r, this.props.max));
687
- }, o.moveDownByStep = function(i) {
688
- i === void 0 && (i = this.props.step);
689
- const t = this.state.value[this.state.index], r = H(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
687
+ }, i.moveDownByStep = function(o) {
688
+ 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);
690
690
  this.move(Math.max(r, this.props.min));
691
- }, o.move = function(i) {
692
- const t = this.state.value.slice(), { index: r } = this.state, { length: c } = t, a = t[r];
693
- if (i === a) return;
691
+ }, i.move = function(o) {
692
+ const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
693
+ if (o === l) return;
694
694
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
695
- const { pearling: l, max: u, min: h, minDistance: g } = this.props;
696
- if (!l) {
695
+ const { pearling: c, max: u, min: m, minDistance: h } = this.props;
696
+ if (!c) {
697
697
  if (r > 0) {
698
- const y = t[r - 1];
699
- i < y + g && (i = y + g);
698
+ const _ = t[r - 1];
699
+ o < _ + h && (o = _ + h);
700
700
  }
701
- if (r < c - 1) {
702
- const y = t[r + 1];
703
- i > y - g && (i = y - g);
701
+ if (r < a - 1) {
702
+ const _ = t[r + 1];
703
+ o > _ - h && (o = _ - h);
704
704
  }
705
705
  }
706
- t[r] = i, l && c > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, C, f, _) {
707
- for (let p = 0; p < y; p += 1) {
708
- const b = _ - p * f;
709
- C[y - 1 - p] > b && (C[y - 1 - p] = b);
706
+ t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, h, r), function(_, f, g, y) {
707
+ for (let C = 0; C < _; C += 1) {
708
+ const b = y - C * g;
709
+ f[_ - 1 - C] > b && (f[_ - 1 - C] = b);
710
710
  }
711
- }(c, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, C, f, _) {
712
- for (let p = 0; p < y; p += 1) {
713
- const b = _ + p * f;
714
- C[p] < b && (C[p] = b);
711
+ }(a, t, h, u)) : o < l && (this.pushPreceding(t, h, r), function(_, f, g, y) {
712
+ for (let C = 0; C < _; C += 1) {
713
+ const b = y + C * g;
714
+ f[C] < b && (f[C] = b);
715
715
  }
716
- }(c, t, g, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
717
- }, o.pushSucceeding = function(i, t, r) {
718
- let c, a;
719
- for (c = r, a = i[c] + t; i[c + 1] !== null && a > i[c + 1]; c += 1, a = i[c] + t) i[c + 1] = Me(a, this.props);
720
- }, o.pushPreceding = function(i, t, r) {
721
- for (let c = r, a = i[c] - t; i[c - 1] !== null && a < i[c - 1]; c -= 1, a = i[c] - t) i[c - 1] = Me(a, this.props);
722
- }, o.axisKey = function() {
716
+ }(a, t, h, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
717
+ }, i.pushSucceeding = function(o, t, r) {
718
+ 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);
720
+ }, 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);
722
+ }, i.axisKey = function() {
723
723
  return this.props.orientation === "vertical" ? "Y" : "X";
724
- }, o.orthogonalAxisKey = function() {
724
+ }, i.orthogonalAxisKey = function() {
725
725
  return this.props.orientation === "vertical" ? "X" : "Y";
726
- }, o.posMinKey = function() {
726
+ }, i.posMinKey = function() {
727
727
  return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
728
- }, o.posMaxKey = function() {
728
+ }, i.posMaxKey = function() {
729
729
  return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
730
- }, o.sizeKey = function() {
730
+ }, i.sizeKey = function() {
731
731
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
732
- }, o.fireChangeEvent = function(i) {
733
- this.props[i] && this.props[i](ce(this.state.value), this.state.index);
734
- }, o.buildThumbStyle = function(i, t) {
732
+ }, i.fireChangeEvent = function(o) {
733
+ this.props[o] && this.props[o](ue(this.state.value), this.state.index);
734
+ }, i.buildThumbStyle = function(o, t) {
735
735
  const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
736
- return r[this.posMinKey()] = i + "px", r;
737
- }, o.buildTrackStyle = function(i, t) {
736
+ return r[this.posMinKey()] = o + "px", r;
737
+ }, i.buildTrackStyle = function(o, t) {
738
738
  const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
739
- return r[this.posMinKey()] = i, r[this.posMaxKey()] = t, r;
740
- }, o.buildMarkStyle = function(i) {
739
+ return r[this.posMinKey()] = o, r[this.posMaxKey()] = t, r;
740
+ }, i.buildMarkStyle = function(o) {
741
741
  var t;
742
- return (t = { position: "absolute" })[this.posMinKey()] = i, t;
743
- }, o.renderThumbs = function(i) {
744
- const { length: t } = i, r = [];
745
- for (let a = 0; a < t; a += 1) r[a] = this.buildThumbStyle(i[a], a);
746
- const c = [];
747
- for (let a = 0; a < t; a += 1) c[a] = this.renderThumb(r[a], a);
748
- return c;
749
- }, o.renderTracks = function(i) {
750
- const t = [], r = i.length - 1;
751
- t.push(this.renderTrack(0, 0, i[0]));
752
- for (let c = 0; c < r; c += 1) t.push(this.renderTrack(c + 1, i[c], i[c + 1]));
753
- return t.push(this.renderTrack(r + 1, i[r], this.state.upperBound)), t;
754
- }, o.renderMarks = function() {
755
- let { marks: i } = this.props;
742
+ return (t = { position: "absolute" })[this.posMinKey()] = o, t;
743
+ }, i.renderThumbs = function(o) {
744
+ const { length: t } = o, r = [];
745
+ for (let l = 0; l < t; l += 1) r[l] = this.buildThumbStyle(o[l], l);
746
+ const a = [];
747
+ for (let l = 0; l < t; l += 1) a[l] = this.renderThumb(r[l], l);
748
+ return a;
749
+ }, i.renderTracks = function(o) {
750
+ const t = [], r = o.length - 1;
751
+ t.push(this.renderTrack(0, 0, o[0]));
752
+ for (let a = 0; a < r; a += 1) t.push(this.renderTrack(a + 1, o[a], o[a + 1]));
753
+ return t.push(this.renderTrack(r + 1, o[r], this.state.upperBound)), t;
754
+ }, i.renderMarks = function() {
755
+ let { marks: o } = this.props;
756
756
  const t = this.props.max - this.props.min + 1;
757
- return typeof i == "boolean" ? i = Array.from({ length: t }).map((r, c) => c) : typeof i == "number" && (i = Array.from({ length: t }).map((r, c) => c).filter((r) => r % i == 0)), i.map(parseFloat).sort((r, c) => r - c).map((r) => {
758
- const c = this.calcOffset(r), a = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(c) };
759
- return this.props.renderMark(a);
757
+ return typeof o == "boolean" ? o = Array.from({ length: t }).map((r, a) => a) : typeof o == "number" && (o = Array.from({ length: t }).map((r, a) => a).filter((r) => r % o == 0)), o.map(parseFloat).sort((r, a) => r - a).map((r) => {
758
+ const a = this.calcOffset(r), l = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(a) };
759
+ return this.props.renderMark(l);
760
760
  });
761
- }, o.render = function() {
762
- const i = [], { value: t } = this.state, r = t.length;
763
- for (let u = 0; u < r; u += 1) i[u] = this.calcOffset(t[u], u);
764
- const c = this.props.withTracks ? this.renderTracks(i) : null, a = this.renderThumbs(i), l = this.props.marks ? this.renderMarks() : null;
761
+ }, i.render = function() {
762
+ const o = [], { value: t } = this.state, r = t.length;
763
+ for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
764
+ const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
765
765
  return B.createElement("div", { ref: (u) => {
766
766
  this.slider = u, this.resizeElementRef.current = u;
767
- }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, c, a, l);
767
+ }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
768
768
  }, d;
769
769
  }(B.Component);
770
- Fe.displayName = "ReactSlider", Fe.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 = Fe;
772
- const F2 = "_container_15vgv_2", L2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_12", $2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33", Q = {
773
- container: F2,
774
- unitLabel: L2,
775
- slider: T2,
776
- thumb: $2,
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
777
  track: V2,
778
778
  labels: A2
779
779
  }, ot = ({
780
780
  min: n = 0,
781
781
  max: d = 100,
782
- step: o = 1,
783
- onChange: i,
782
+ step: i = 1,
783
+ onChange: o,
784
784
  width: t = 300,
785
785
  unit: r,
786
- fontColor: c = "#605B56",
787
- defaultValue: a
786
+ fontColor: a = "#605B56",
787
+ defaultValue: l
788
788
  }) => {
789
- const { t: l } = k(), [u, h] = D([n, d]), g = (y) => {
790
- h(y), i == null || i({ min: y[0], max: y[1] });
789
+ const { t: c } = k(), [u, m] = L([n, d]), h = (_) => {
790
+ m(_), o == null || o({ min: _[0], max: _[1] });
791
791
  };
792
- return V(() => {
793
- a || h([n, d]);
794
- }, [a]), /* @__PURE__ */ m(
792
+ return $(() => {
793
+ l || m([n, d]);
794
+ }, [l]), /* @__PURE__ */ p(
795
795
  "div",
796
796
  {
797
797
  className: Q.container,
798
- style: { width: `${t}px`, color: `${c}` },
798
+ style: { width: `${t}px`, color: `${a}` },
799
799
  children: [
800
- /* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: l(r) }) }),
800
+ /* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
801
801
  /* @__PURE__ */ s(
802
802
  M2,
803
803
  {
@@ -806,15 +806,15 @@ const F2 = "_container_15vgv_2", L2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
806
806
  trackClassName: Q.track,
807
807
  min: n,
808
808
  max: d,
809
- step: o,
809
+ step: i,
810
810
  value: u,
811
- onAfterChange: g,
811
+ onAfterChange: h,
812
812
  withTracks: !0,
813
813
  pearling: !0,
814
814
  minDistance: 0.1
815
815
  }
816
816
  ),
817
- /* @__PURE__ */ m("div", { className: Q.labels, children: [
817
+ /* @__PURE__ */ p("div", { className: Q.labels, children: [
818
818
  /* @__PURE__ */ s("span", { children: u[0] }),
819
819
  /* @__PURE__ */ s("span", { children: u[1] })
820
820
  ] })
@@ -834,126 +834,126 @@ ot.propTypes = {
834
834
  fontColor: e.string,
835
835
  value: e.arrayOf(e.number)
836
836
  };
837
- const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_1vm1r_2", R2 = "_checkboxContainer_1vm1r_28", P2 = "_absoluteSliderContainer_1vm1r_37", ue = {
837
+ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_1vm1r_2", R2 = "_checkboxContainer_1vm1r_28", q2 = "_absoluteSliderContainer_1vm1r_37", me = {
838
838
  tematicalFiltersInputContainer: I2,
839
839
  inputTypeContainer: O2,
840
840
  checkboxContainer: R2,
841
- absoluteSliderContainer: P2
841
+ absoluteSliderContainer: q2
842
842
  }, Ie = ({
843
843
  indicator: n,
844
844
  //onChangeBothType
845
845
  activeColor: d
846
846
  }) => {
847
- const [o, i] = D(), {
847
+ const [i, o] = L(), {
848
848
  type: t,
849
849
  name: r,
850
- values: c,
851
- minValue: a,
852
- maxValue: l,
850
+ values: a,
851
+ minValue: l,
852
+ maxValue: c,
853
853
  unit: u,
854
- step: h
855
- } = n || {}, g = he(
856
- () => t == "cat" || o == "cat",
857
- [o, t]
858
- ), y = he(
859
- () => t == "abs" || o == "abs",
860
- [o, t]
854
+ step: m
855
+ } = n || {}, h = ae(
856
+ () => t == "cat" || i == "cat",
857
+ [i, t]
858
+ ), _ = ae(
859
+ () => t == "abs" || i == "abs",
860
+ [i, t]
861
861
  ), {
862
- tematicalFiltersSelected: C,
863
- selectedIndicator: f,
864
- fontColor: _,
865
- inputsColor: p
862
+ tematicalFiltersSelected: f,
863
+ selectedIndicator: g,
864
+ fontColor: y,
865
+ inputsColor: C
866
866
  } = T((x) => x), b = (x) => {
867
867
  if (x) {
868
- const { min: w, max: N, valueClicked: F, allValues: L } = x || {}, { code: z, type: ae } = n || {}, le = y ? "abs" : g ? "cat" : "both";
868
+ const { min: v, max: N, valueClicked: S, allValues: D } = x || {}, { code: z, type: ce } = n || {}, de = _ ? "abs" : h ? "cat" : "both";
869
869
  let R = z[0];
870
- ae == "both" && (R = le == "cat" ? z[1] : z[0]), le == "cat" ? T.setState((P) => {
871
- let E = P.tematicalFiltersSelected.find(
872
- ($) => $.code === R
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
873
873
  );
874
874
  if (E) {
875
- let $ = [E.values];
876
- return E.values.includes(F) ? $ = E.values.filter(
877
- (I) => I !== F
878
- ) : $ = [...E.values, F], $.length == L.length ? {
879
- tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
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
880
  (I) => I.code !== R
881
881
  )
882
882
  } : {
883
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
884
- (I) => I.code === R ? { ...I, values: $ } : I
883
+ tematicalFiltersSelected: q.tematicalFiltersSelected.map(
884
+ (I) => I.code === R ? { ...I, values: V } : I
885
885
  )
886
886
  };
887
887
  } else {
888
- let $ = L.map((I, bt) => bt);
888
+ let V = D.map((I, bt) => bt);
889
889
  return {
890
890
  tematicalFiltersSelected: [
891
- ...C,
891
+ ...f,
892
892
  {
893
893
  type: "cat",
894
894
  code: R,
895
- values: $.filter((I) => I !== F),
895
+ values: V.filter((I) => I !== S),
896
896
  name: n.name
897
897
  }
898
898
  ]
899
899
  };
900
900
  }
901
- }) : le == "abs" && T.setState((P) => {
902
- let E = P.tematicalFiltersSelected.find(
903
- ($) => $.code === R
901
+ }) : de == "abs" && T.setState((q) => {
902
+ let E = q.tematicalFiltersSelected.find(
903
+ (V) => V.code === R
904
904
  );
905
- if (w == n.minValue && N == n.maxValue)
905
+ if (v == n.minValue && N == n.maxValue)
906
906
  return {
907
- tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
908
- ($) => $.code !== R
907
+ tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
908
+ (V) => V.code !== R
909
909
  )
910
910
  };
911
911
  if (E) {
912
- let $ = { ...E };
913
- return $.min = w, $.max = N, {
914
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
915
- (I) => I.code === R ? $ : I
912
+ let V = { ...E };
913
+ return V.min = v, V.max = N, {
914
+ tematicalFiltersSelected: q.tematicalFiltersSelected.map(
915
+ (I) => I.code === R ? V : I
916
916
  )
917
917
  };
918
918
  } else
919
919
  return {
920
920
  tematicalFiltersSelected: [
921
- ...C,
922
- { type: "abs", code: R, min: w, max: N, name: n.name }
921
+ ...f,
922
+ { type: "abs", code: R, min: v, max: N, name: n.name }
923
923
  ]
924
924
  };
925
925
  });
926
926
  }
927
- }, v = he(() => {
927
+ }, w = ae(() => {
928
928
  const x = {};
929
- if ((C == null ? void 0 : C.length) > 0)
930
- for (const w of C)
931
- w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
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
932
  return console.log("mapfilterSelected", x), x;
933
- }, [C]);
934
- return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
933
+ }, [f]);
934
+ return /* @__PURE__ */ s("div", { className: me.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
935
935
  W,
936
936
  {
937
937
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
938
938
  title: r,
939
- isOpen: f == `id${r}`,
939
+ isOpen: g == `id${r}`,
940
940
  onClick: () => T.setState(() => ({
941
- selectedIndicator: f == `id${r}` ? "" : `id${r}`
941
+ selectedIndicator: g == `id${r}` ? "" : `id${r}`
942
942
  })),
943
943
  showBottomBar: !1,
944
944
  height: 42,
945
945
  titleMarginChildren: 14,
946
946
  className: "tematicalFiltersInputContainer",
947
- color: _,
947
+ color: y,
948
948
  activeColor: d,
949
949
  children: [
950
- t == "both" && /* @__PURE__ */ m(
950
+ t == "both" && /* @__PURE__ */ p(
951
951
  "div",
952
952
  {
953
- className: ue.inputTypeContainer,
954
- style: { color: _ },
953
+ className: me.inputTypeContainer,
954
+ style: { color: y },
955
955
  children: [
956
- /* @__PURE__ */ m("label", { children: [
956
+ /* @__PURE__ */ p("label", { children: [
957
957
  /* @__PURE__ */ s(
958
958
  "input",
959
959
  {
@@ -961,18 +961,18 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
961
961
  name: "tipo",
962
962
  value: "abs",
963
963
  onChange: () => {
964
- i("abs");
964
+ o("abs");
965
965
  },
966
966
  style: {
967
967
  marginRight: 4,
968
- backgroundColor: o == "abs" ? p : "white",
969
- border: `1.5px solid ${o == "abs" ? p : _}`
968
+ backgroundColor: i == "abs" ? C : "white",
969
+ border: `1.5px solid ${i == "abs" ? C : y}`
970
970
  }
971
971
  }
972
972
  ),
973
973
  "Absoluto"
974
974
  ] }),
975
- /* @__PURE__ */ m("label", { children: [
975
+ /* @__PURE__ */ p("label", { children: [
976
976
  /* @__PURE__ */ s(
977
977
  "input",
978
978
  {
@@ -980,12 +980,12 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
980
980
  name: "tipo",
981
981
  value: "cat",
982
982
  onChange: () => {
983
- i("cat");
983
+ o("cat");
984
984
  },
985
985
  style: {
986
986
  marginRight: 4,
987
- backgroundColor: o == "cat" ? p : "white",
988
- border: `1.5px solid ${o == "cat" ? p : _}`
987
+ backgroundColor: i == "cat" ? C : "white",
988
+ border: `1.5px solid ${i == "cat" ? C : y}`
989
989
  }
990
990
  }
991
991
  ),
@@ -994,27 +994,27 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
994
994
  ]
995
995
  }
996
996
  ),
997
- g && /* @__PURE__ */ s("div", { className: ue.checkboxContainer, children: c.map((x, w) => {
997
+ h && /* @__PURE__ */ s("div", { className: me.checkboxContainer, children: a.map((x, v) => {
998
998
  var N;
999
999
  return /* @__PURE__ */ s(
1000
1000
  it,
1001
1001
  {
1002
- onClick: () => b({ valueClicked: w, allValues: c }),
1002
+ onClick: () => b({ valueClicked: v, allValues: a }),
1003
1003
  indicator: x,
1004
- value: ((N = v[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(w)) || !v[n.code[t == "both" ? 1 : 0]]
1004
+ value: ((N = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(v)) || !w[n.code[t == "both" ? 1 : 0]]
1005
1005
  },
1006
- `checkbox-${w}`
1006
+ `checkbox-${v}`
1007
1007
  );
1008
1008
  }) }),
1009
- y && /* @__PURE__ */ s("div", { className: ue.absoluteSliderContainer, children: /* @__PURE__ */ s(
1009
+ _ && /* @__PURE__ */ s("div", { className: me.absoluteSliderContainer, children: /* @__PURE__ */ s(
1010
1010
  ot,
1011
1011
  {
1012
1012
  onChange: b,
1013
- min: a,
1014
- max: l,
1013
+ min: l,
1014
+ max: c,
1015
1015
  unit: u,
1016
- defaultValue: v[n.code[0]] ? v[n.code[0]] : "",
1017
- step: h
1016
+ defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
1017
+ step: m
1018
1018
  }
1019
1019
  ) })
1020
1020
  ]
@@ -1039,18 +1039,18 @@ Ie.propTypes = {
1039
1039
  const st = ({
1040
1040
  subcategory: n,
1041
1041
  fontColor: d,
1042
- activeColor: o
1042
+ activeColor: i
1043
1043
  //onChangeBothType,
1044
1044
  }) => {
1045
- const { activeSubcategory: i } = T((c) => c), { name: t, indicators: r } = n || {};
1045
+ const { activeSubcategory: o } = T((a) => a), { name: t, indicators: r } = n || {};
1046
1046
  return /* @__PURE__ */ s(
1047
1047
  W,
1048
1048
  {
1049
1049
  title: t,
1050
- isOpen: i == `id${t}`,
1050
+ isOpen: o == `id${t}`,
1051
1051
  onClick: () => {
1052
- T.setState((c) => ({
1053
- activeSubcategory: c.activeSubcategory === `id${t}` ? "" : `id${t}`
1052
+ T.setState((a) => ({
1053
+ activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
1054
1054
  }));
1055
1055
  },
1056
1056
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
@@ -1058,15 +1058,15 @@ const st = ({
1058
1058
  titleMarginChildren: 20,
1059
1059
  height: 48,
1060
1060
  color: d,
1061
- activeColor: o,
1062
- children: r == null ? void 0 : r.map((c, a) => /* @__PURE__ */ s(
1061
+ activeColor: i,
1062
+ children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ s(
1063
1063
  Ie,
1064
1064
  {
1065
- indicator: c,
1065
+ indicator: a,
1066
1066
  fontColor: d,
1067
- activeColor: o
1067
+ activeColor: i
1068
1068
  },
1069
- `indicatorSub-${a}`
1069
+ `indicatorSub-${l}`
1070
1070
  ))
1071
1071
  }
1072
1072
  );
@@ -1089,37 +1089,37 @@ const rt = ({
1089
1089
  // onChangeBothType,
1090
1090
  activeColor: d
1091
1091
  }) => {
1092
- const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: c } = T((a) => a);
1092
+ const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = T((l) => l);
1093
1093
  return n && /* @__PURE__ */ s(
1094
1094
  W,
1095
1095
  {
1096
1096
  onClick: () => {
1097
- T.setState((a) => ({
1098
- activeCategory: r === `id${o}` ? "" : `id${o}`
1097
+ T.setState((l) => ({
1098
+ activeCategory: r === `id${i}` ? "" : `id${i}`
1099
1099
  }));
1100
1100
  },
1101
- title: o,
1102
- isOpen: r === `id${o}`,
1101
+ title: i,
1102
+ isOpen: r === `id${i}`,
1103
1103
  titleFontStyles: { fontSize: 18, fontWeight: "bold" },
1104
1104
  showBottomBar: !1,
1105
- color: c,
1105
+ color: a,
1106
1106
  activeColor: d,
1107
- children: i ? i.map((a, l) => /* @__PURE__ */ s(
1107
+ children: o ? o.map((l, c) => /* @__PURE__ */ s(
1108
1108
  st,
1109
1109
  {
1110
- subcategory: a,
1111
- fontColor: c,
1110
+ subcategory: l,
1111
+ fontColor: a,
1112
1112
  activeColor: d
1113
1113
  },
1114
- `subcategory-${l}`
1115
- )) : t && t.map((a, l) => /* @__PURE__ */ s(
1114
+ `subcategory-${c}`
1115
+ )) : t && t.map((l, c) => /* @__PURE__ */ s(
1116
1116
  Ie,
1117
1117
  {
1118
- indicator: a,
1119
- fontColor: c,
1118
+ indicator: l,
1119
+ fontColor: a,
1120
1120
  activeColor: d
1121
1121
  },
1122
- `indicator-${l}`
1122
+ `indicator-${c}`
1123
1123
  ))
1124
1124
  }
1125
1125
  );
@@ -1136,29 +1136,29 @@ rt.propTypes = {
1136
1136
  const at = ({
1137
1137
  indicators: n,
1138
1138
  isOpen: d = !0,
1139
- title: o,
1140
- fontColor: i = "#605B56",
1139
+ title: i,
1140
+ fontColor: o = "#605B56",
1141
1141
  //The color of the slider and the checkbox when is checked
1142
1142
  inputsColor: t = "#605B56",
1143
1143
  activeColor: r
1144
1144
  }) => {
1145
- const { tematicalFiltersSelected: c } = T((l) => l), { t: a } = k();
1146
- return V(() => {
1147
- i && T.setState(() => ({ fontColor: i }));
1148
- }, [i]), V(() => {
1145
+ const { tematicalFiltersSelected: a } = T((c) => c), { t: l } = k();
1146
+ return $(() => {
1147
+ o && T.setState(() => ({ fontColor: o }));
1148
+ }, [o]), $(() => {
1149
1149
  t && T.setState(() => ({ inputsColor: t }));
1150
1150
  }, [t]), /* @__PURE__ */ s(
1151
1151
  W,
1152
1152
  {
1153
1153
  isOpen: d,
1154
- title: o ? a(o) : "Tematical filters",
1155
- color: i,
1154
+ title: i ? l(i) : "Tematical filters",
1155
+ color: o,
1156
1156
  activeColor: r,
1157
- children: n == null ? void 0 : n.map((l, u) => /* @__PURE__ */ s(
1157
+ children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
1158
1158
  rt,
1159
1159
  {
1160
- category: l,
1161
- fontColor: i,
1160
+ category: c,
1161
+ fontColor: o,
1162
1162
  activeColor: r
1163
1163
  },
1164
1164
  `category-${u}`
@@ -1175,89 +1175,89 @@ at.propTypes = {
1175
1175
  inputsColor: e.string,
1176
1176
  activeColor: e.string
1177
1177
  };
1178
- const E2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", j2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", H2 = "_warning_1g9xx_37", X = {
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
1179
  FiltersAmbitContainer: E2,
1180
- FiltersAmbitHeader: q2,
1180
+ FiltersAmbitHeader: P2,
1181
1181
  FiltersAmbitTitle: z2,
1182
1182
  FiltersAmbitDescription: j2,
1183
1183
  FiltersAmbitDescriptionTitle: Z2,
1184
- warning: H2
1185
- }, K2 = ({
1184
+ warning: K2
1185
+ }, H2 = ({
1186
1186
  ambitName: n,
1187
1187
  ambitDescription: d,
1188
- defaultFilters: o,
1189
- indicators: i,
1188
+ defaultFilters: i,
1189
+ indicators: o,
1190
1190
  activeColor: t,
1191
1191
  textColor: r,
1192
- backgroundColor: c,
1193
- onChangeAppliedFilters: a,
1194
- saveAmbit: l,
1192
+ backgroundColor: a,
1193
+ onChangeAppliedFilters: l,
1194
+ saveAmbit: c,
1195
1195
  namePlaceholder: u,
1196
- descPlaceholder: h,
1197
- filtersTypes: g = ["geographical", "tematical"],
1198
- nameRequiredText: y,
1199
- onlyFilters: C = !1
1196
+ descPlaceholder: m,
1197
+ filtersTypes: h = ["geographical", "tematical"],
1198
+ nameRequiredText: _,
1199
+ onlyFilters: f = !1
1200
1200
  //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
1201
1201
  }) => {
1202
- const { t: f } = k(), { tematicalFiltersSelected: _ } = T((L) => L), [p, b] = D(n || null), [v, x] = D(d || null), [w, N] = D(!1);
1203
- V(() => {
1204
- o && o.length > 0 && T.setState((L) => ({
1205
- tematicalFiltersSelected: o
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) => ({
1205
+ tematicalFiltersSelected: i
1206
1206
  }));
1207
- }, [o]), V(() => {
1208
- console.log("filtersSelected changed: ", _), a(_);
1209
- }, [_]);
1210
- const F = () => {
1211
- p ? l({ name: p, description: v }) : N(!0);
1207
+ }, [i]), $(() => {
1208
+ console.log("filtersSelected changed: ", y), l(y);
1209
+ }, [y]);
1210
+ const S = () => {
1211
+ C ? c({ name: C, description: w }) : N(!0);
1212
1212
  };
1213
- return /* @__PURE__ */ m("div", { className: X.FiltersAmbitContainer, children: [
1214
- !C && /* @__PURE__ */ m("div", { className: X.FiltersAmbitHeader, children: [
1213
+ return /* @__PURE__ */ p("div", { className: X.FiltersAmbitContainer, children: [
1214
+ !f && /* @__PURE__ */ p("div", { className: X.FiltersAmbitHeader, children: [
1215
1215
  /* @__PURE__ */ s("div", { className: X.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1216
1216
  "input",
1217
1217
  {
1218
1218
  type: "text",
1219
- onChange: (L) => {
1220
- N(!1), b(L.target.value);
1219
+ onChange: (D) => {
1220
+ N(!1), b(D.target.value);
1221
1221
  },
1222
- value: p,
1223
- placeholder: f(u)
1222
+ value: C,
1223
+ placeholder: g(u)
1224
1224
  }
1225
1225
  ) }),
1226
1226
  /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1227
1227
  "textarea",
1228
1228
  {
1229
- value: v,
1230
- onChange: (L) => x(L.target.value),
1231
- placeholder: f(h)
1229
+ value: w,
1230
+ onChange: (D) => x(D.target.value),
1231
+ placeholder: g(m)
1232
1232
  }
1233
1233
  ) }) })
1234
1234
  ] }),
1235
1235
  /* @__PURE__ */ s(
1236
1236
  tt,
1237
1237
  {
1238
- title: f("applied_filters"),
1238
+ title: g("applied_filters"),
1239
1239
  isOpen: !0,
1240
1240
  textColor: r || "#fff",
1241
- backgroundColor: c || "#605B5680",
1241
+ backgroundColor: a || "#605B5680",
1242
1242
  activeColor: t
1243
1243
  }
1244
1244
  ),
1245
- g.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
1246
- g.includes("tematical") && /* @__PURE__ */ s(
1245
+ h.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
1246
+ h.includes("tematical") && /* @__PURE__ */ s(
1247
1247
  at,
1248
1248
  {
1249
- indicators: i,
1249
+ indicators: o,
1250
1250
  inputsColor: t,
1251
1251
  textColor: r,
1252
1252
  title: "tematical_filters",
1253
1253
  activeColor: t
1254
1254
  }
1255
1255
  ),
1256
- w && /* @__PURE__ */ s("div", { className: X.warning, children: f(y) }),
1257
- !C && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ge, { onClick: () => F(), children: f("save_ambit") }) })
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") }) })
1258
1258
  ] });
1259
1259
  };
1260
- K2.propTypes = {
1260
+ H2.propTypes = {
1261
1261
  indicators: e.arrayOf(e.object).isRequired,
1262
1262
  ambitName: e.string,
1263
1263
  ambitDescription: e.string,
@@ -1277,91 +1277,91 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1277
1277
  }, lt = ({
1278
1278
  data: n,
1279
1279
  width: d = 700,
1280
- barHeight: o = 25,
1281
- gap: i = 23,
1280
+ barHeight: i = 25,
1281
+ gap: o = 23,
1282
1282
  fontColor: t = "#605B56",
1283
1283
  verticalPaddign: r = 10,
1284
- horizontalPaddign: c = 20,
1285
- leftPadding: a = 200,
1286
- numberOfDivisions: l = 7,
1284
+ horizontalPaddign: a = 20,
1285
+ leftPadding: l = 200,
1286
+ numberOfDivisions: c = 7,
1287
1287
  maxValue: u = null
1288
1288
  }) => {
1289
- const { t: h } = k(), { xScale: g, ticks: y, height: C } = he(() => {
1289
+ const { t: m } = k(), { xScale: h, ticks: _, height: f } = ae(() => {
1290
1290
  if (n && n.length > 0) {
1291
- const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Ee.max(n, (v) => v.value) || 1, p = Ee.scaleLinear().domain([0, u || _]).range([0, d - a]), b = Array.from({ length: l + 1 }, (v, x) => u ? u / l * x : _ / l * x);
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);
1292
1292
  return {
1293
- xScale: p,
1293
+ xScale: C,
1294
1294
  ticks: b,
1295
- height: f,
1295
+ height: g,
1296
1296
  width: d,
1297
1297
  verticalPaddign: r,
1298
- horizontalPaddign: c
1298
+ horizontalPaddign: a
1299
1299
  };
1300
1300
  } else
1301
1301
  return { xScale: null, ticks: [], height: 0 };
1302
1302
  }, [
1303
1303
  n,
1304
1304
  d,
1305
- l,
1306
- o,
1307
- i,
1308
1305
  c,
1306
+ i,
1307
+ o,
1308
+ a,
1309
1309
  r,
1310
1310
  u
1311
1311
  ]);
1312
- return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + c * 2, height: C, children: /* @__PURE__ */ m("g", { transform: `translate(0,${i})`, children: [
1313
- /* @__PURE__ */ s("g", { transform: `translate(${a + c}, 0)`, children: y.map((f, _) => {
1314
- const p = g(f);
1315
- return /* @__PURE__ */ m("g", { transform: `translate(${p}, 0)`, children: [
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);
1315
+ return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
1316
1316
  /* @__PURE__ */ s(
1317
1317
  "line",
1318
1318
  {
1319
1319
  y1: 0,
1320
- y2: C - i * 2,
1320
+ y2: f - o * 2,
1321
1321
  stroke: "#ccc"
1322
1322
  }
1323
1323
  ),
1324
1324
  /* @__PURE__ */ s(
1325
1325
  "text",
1326
1326
  {
1327
- y: C - i,
1327
+ y: f - o,
1328
1328
  textAnchor: "middle",
1329
1329
  fontSize: 10,
1330
1330
  fill: t,
1331
- children: parseInt(f)
1331
+ children: parseInt(g)
1332
1332
  }
1333
1333
  )
1334
- ] }, _);
1334
+ ] }, y);
1335
1335
  }) }),
1336
- n && n.length > 0 && (n == null ? void 0 : n.map((f, _) => {
1337
- const p = g(f.value), b = _ * (o + i);
1338
- return /* @__PURE__ */ m(
1336
+ n && n.length > 0 && (n == null ? void 0 : n.map((g, y) => {
1337
+ const C = h(g.value), b = y * (i + o);
1338
+ return /* @__PURE__ */ p(
1339
1339
  "g",
1340
1340
  {
1341
- transform: `translate(${a + c}, ${b})`,
1341
+ transform: `translate(${l + a}, ${b})`,
1342
1342
  children: [
1343
1343
  /* @__PURE__ */ s(
1344
1344
  "text",
1345
1345
  {
1346
1346
  x: -24,
1347
- y: o / 2 + 5,
1347
+ y: i / 2 + 5,
1348
1348
  textAnchor: "end",
1349
1349
  fill: t,
1350
- children: h(f.title)
1350
+ children: m(g.title)
1351
1351
  }
1352
1352
  ),
1353
1353
  /* @__PURE__ */ s(
1354
1354
  "rect",
1355
1355
  {
1356
- width: p,
1357
- height: o,
1358
- fill: f.color,
1356
+ width: C,
1357
+ height: i,
1358
+ fill: g.color,
1359
1359
  rx: 0
1360
1360
  }
1361
1361
  )
1362
1362
  ]
1363
1363
  },
1364
- _
1364
+ y
1365
1365
  );
1366
1366
  }))
1367
1367
  ] }) }) });
@@ -1388,22 +1388,22 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1388
1388
  }, Q2 = ({
1389
1389
  data: n,
1390
1390
  graphWidth: d = 700,
1391
- containerStyle: o,
1392
- borderColor: i = "#605B56",
1391
+ containerStyle: i,
1392
+ borderColor: o = "#605B56",
1393
1393
  title: t = "Graphic Title",
1394
1394
  fontColor: r = "#605B56",
1395
- maxValue: c = null,
1396
- numberOfDivisions: a = 7,
1397
- leftPadding: l = 200
1395
+ maxValue: a = null,
1396
+ numberOfDivisions: l = 7,
1397
+ leftPadding: c = 200
1398
1398
  }) => {
1399
1399
  const { t: u } = k();
1400
- return /* @__PURE__ */ m(
1400
+ return /* @__PURE__ */ p(
1401
1401
  "div",
1402
1402
  {
1403
1403
  className: je.graphicContainer,
1404
1404
  style: {
1405
- ...o || {},
1406
- border: `1.5px solid ${i}`
1405
+ ...i || {},
1406
+ border: `1.5px solid ${o}`
1407
1407
  },
1408
1408
  children: [
1409
1409
  /* @__PURE__ */ s("div", { className: je.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
@@ -1413,9 +1413,9 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1413
1413
  data: n,
1414
1414
  width: d,
1415
1415
  fontColor: r,
1416
- maxValue: c,
1417
- numberOfDivisions: a,
1418
- leftPadding: l
1416
+ maxValue: a,
1417
+ numberOfDivisions: l,
1418
+ leftPadding: c
1419
1419
  }
1420
1420
  )
1421
1421
  ]
@@ -1439,11 +1439,11 @@ Q2.propTypes = {
1439
1439
  numberOfDivisions: e.number,
1440
1440
  leftPadding: e.number
1441
1441
  };
1442
- const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu33_11", ve = {
1442
+ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu33_11", we = {
1443
1443
  indicatorsCategory: X2,
1444
1444
  title: J2,
1445
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", M = {
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
1447
  indicatorContainer: t0,
1448
1448
  indicatorNameContainer: n0,
1449
1449
  dot: i0,
@@ -1457,45 +1457,45 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1457
1457
  }, Oe = ({
1458
1458
  indicator: n,
1459
1459
  values: d = [],
1460
- activeColor: o,
1461
- defaultColor: i = "#92898A",
1460
+ activeColor: i,
1461
+ defaultColor: o = "#92898A",
1462
1462
  activeIndicator: t,
1463
1463
  activeIndicatorType: r,
1464
- onClickIndicator: c,
1465
- multiple: a = !1,
1466
- onChangeType: l
1464
+ onClickIndicator: a,
1465
+ multiple: l = !1,
1466
+ onChangeType: c
1467
1467
  }) => {
1468
- const { t: u } = k(), { name: h, type: g } = n, [y, C] = D(!1);
1469
- V(() => {
1470
- t && C(
1471
- a ? t.some(
1472
- (p) => p.name == String(h)
1473
- ) : t.name == h
1468
+ const { t: u } = k(), { name: m, type: h } = n, [_, f] = L(!1);
1469
+ $(() => {
1470
+ t && f(
1471
+ l ? t.some(
1472
+ (C) => C.name == String(m)
1473
+ ) : t.name == m
1474
1474
  );
1475
1475
  }, [t]);
1476
- const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ m("div", { className: M.switchTypeOptions, children: [
1477
- /* @__PURE__ */ m(
1476
+ const g = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ p("div", { className: F.switchTypeOptions, children: [
1477
+ /* @__PURE__ */ p(
1478
1478
  "div",
1479
1479
  {
1480
- className: M.optionContainer,
1481
- onClick: () => l("cat"),
1480
+ className: F.optionContainer,
1481
+ onClick: () => c("cat"),
1482
1482
  children: [
1483
1483
  /* @__PURE__ */ s(
1484
1484
  "span",
1485
1485
  {
1486
- className: `${M.customRadious}`,
1486
+ className: `${F.customRadious}`,
1487
1487
  style: {
1488
- backgroundColor: r === "cat" ? o : "transparent",
1489
- borderColor: r === "cat" ? o : i
1488
+ backgroundColor: r === "cat" ? i : "transparent",
1489
+ borderColor: r === "cat" ? i : o
1490
1490
  }
1491
1491
  }
1492
1492
  ),
1493
1493
  /* @__PURE__ */ s(
1494
1494
  "h4",
1495
1495
  {
1496
- className: M.optionText,
1496
+ className: F.optionText,
1497
1497
  style: {
1498
- color: r === "cat" ? o : i
1498
+ color: r === "cat" ? i : o
1499
1499
  },
1500
1500
  children: u("indicators.cat")
1501
1501
  }
@@ -1503,28 +1503,28 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1503
1503
  ]
1504
1504
  }
1505
1505
  ),
1506
- /* @__PURE__ */ m(
1506
+ /* @__PURE__ */ p(
1507
1507
  "div",
1508
1508
  {
1509
- className: M.optionContainer,
1510
- onClick: () => l("abs"),
1509
+ className: F.optionContainer,
1510
+ onClick: () => c("abs"),
1511
1511
  children: [
1512
1512
  /* @__PURE__ */ s(
1513
1513
  "span",
1514
1514
  {
1515
- className: `${M.customRadious}`,
1515
+ className: `${F.customRadious}`,
1516
1516
  style: {
1517
- backgroundColor: r === "abs" ? o : "transparent",
1518
- borderColor: r === "abs" ? o : i
1517
+ backgroundColor: r === "abs" ? i : "transparent",
1518
+ borderColor: r === "abs" ? i : o
1519
1519
  }
1520
1520
  }
1521
1521
  ),
1522
1522
  /* @__PURE__ */ s(
1523
1523
  "h4",
1524
1524
  {
1525
- className: M.optionText,
1525
+ className: F.optionText,
1526
1526
  style: {
1527
- color: r === "abs" ? o : i
1527
+ color: r === "abs" ? i : o
1528
1528
  },
1529
1529
  children: u("indicators.abs")
1530
1530
  }
@@ -1532,51 +1532,51 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1532
1532
  ]
1533
1533
  }
1534
1534
  )
1535
- ] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p, b) => /* @__PURE__ */ m(
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(
1536
1536
  "div",
1537
1537
  {
1538
- className: M.optionContainer,
1538
+ className: F.optionContainer,
1539
1539
  children: [
1540
1540
  /* @__PURE__ */ s(
1541
1541
  "span",
1542
1542
  {
1543
- className: M.customRadious
1543
+ className: F.customRadious
1544
1544
  }
1545
1545
  ),
1546
- /* @__PURE__ */ s("h4", { children: u(p.unit) })
1546
+ /* @__PURE__ */ s("h4", { children: u(C.unit) })
1547
1547
  ]
1548
1548
  },
1549
1549
  b
1550
1550
  )) }) }) });
1551
- return /* @__PURE__ */ m("div", { className: M.indicatorContainer, children: [
1552
- /* @__PURE__ */ m(
1551
+ return /* @__PURE__ */ p("div", { className: F.indicatorContainer, children: [
1552
+ /* @__PURE__ */ p(
1553
1553
  "div",
1554
1554
  {
1555
- className: M.indicatorNameContainer,
1556
- onClick: () => c({ indicator: n }),
1555
+ className: F.indicatorNameContainer,
1556
+ onClick: () => a({ indicator: n }),
1557
1557
  children: [
1558
1558
  /* @__PURE__ */ s(
1559
1559
  "div",
1560
1560
  {
1561
1561
  style: {
1562
- border: y ? `1px solid ${o}` : `1px solid ${i}`
1562
+ border: _ ? `1px solid ${i}` : `1px solid ${o}`
1563
1563
  },
1564
- className: M.dot
1564
+ className: F.dot
1565
1565
  }
1566
1566
  ),
1567
1567
  /* @__PURE__ */ s(
1568
1568
  "h4",
1569
1569
  {
1570
- className: M.indicatorName,
1571
- style: { color: y ? o : i },
1572
- children: /* @__PURE__ */ s(Ve, { i18nKey: h, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 })
1570
+ className: F.indicatorName,
1571
+ style: { color: _ ? i : o },
1572
+ children: /* @__PURE__ */ s(Ve, { i18nKey: m, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 })
1573
1573
  }
1574
1574
  )
1575
1575
  ]
1576
1576
  }
1577
1577
  ),
1578
- (t == null ? void 0 : t.name) === h && g === "both" && /* @__PURE__ */ s("div", { children: f() }),
1579
- (t == null ? void 0 : t.name) === h && g === "twoUnits" && /* @__PURE__ */ s("div", { children: _() })
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() })
1580
1580
  ] });
1581
1581
  };
1582
1582
  Oe.propTypes = {
@@ -1597,51 +1597,51 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1597
1597
  }, ct = ({
1598
1598
  subcName: n,
1599
1599
  indicators: d,
1600
- defaultColor: o,
1601
- activeColor: i,
1600
+ defaultColor: i,
1601
+ activeColor: o,
1602
1602
  activeSubCategory: t,
1603
1603
  onClickSubCategory: r,
1604
- id: c,
1605
- activeIndicator: a,
1606
- onClickIndicator: l,
1604
+ id: a,
1605
+ activeIndicator: l,
1606
+ onClickIndicator: c,
1607
1607
  multiple: u,
1608
- activeIndicatorType: h,
1609
- onChangeType: g
1608
+ activeIndicatorType: m,
1609
+ onChangeType: h
1610
1610
  }) => {
1611
- const { t: y } = k(), [C, f] = D(!1);
1612
- return V(() => {
1613
- f(t == c);
1614
- }, [t, c]), /* @__PURE__ */ m(
1611
+ const { t: _ } = k(), [f, g] = L(!1);
1612
+ return $(() => {
1613
+ g(t == a);
1614
+ }, [t, a]), /* @__PURE__ */ p(
1615
1615
  Ae.div,
1616
1616
  {
1617
1617
  className: Ze.indicatorsSubCategory,
1618
1618
  initial: { height: "43px" },
1619
- animate: { height: C ? "auto" : "43px" },
1619
+ animate: { height: f ? "auto" : "43px" },
1620
1620
  transition: { duration: 0.4 },
1621
1621
  children: [
1622
- /* @__PURE__ */ s("button", { onClick: () => r(c), children: /* @__PURE__ */ m("h3", { style: { color: C ? i : o }, children: [
1623
- /* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
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 ? "-" : "+" }),
1624
1624
  /* @__PURE__ */ s(
1625
1625
  "span",
1626
1626
  {
1627
- style: { marginLeft: 12, color: C ? i : o },
1628
- children: y(n)
1627
+ style: { marginLeft: 12, color: f ? o : i },
1628
+ children: _(n)
1629
1629
  }
1630
1630
  )
1631
1631
  ] }) }),
1632
- d && /* @__PURE__ */ s("div", { className: Ze.list, children: d == null ? void 0 : d.map((_, p) => /* @__PURE__ */ s(
1632
+ d && /* @__PURE__ */ s("div", { className: Ze.list, children: d == null ? void 0 : d.map((y, C) => /* @__PURE__ */ s(
1633
1633
  Oe,
1634
1634
  {
1635
- indicator: _,
1636
- defaultColor: o,
1637
- activeColor: i,
1638
- activeIndicator: a,
1639
- onClickIndicator: l,
1635
+ indicator: y,
1636
+ defaultColor: i,
1637
+ activeColor: o,
1638
+ activeIndicator: l,
1639
+ onClickIndicator: c,
1640
1640
  multiple: u,
1641
- activeIndicatorType: h,
1642
- onChangeType: g
1641
+ activeIndicatorType: m,
1642
+ onChangeType: h
1643
1643
  },
1644
- "indicator" + p
1644
+ "indicator" + C
1645
1645
  )) })
1646
1646
  ]
1647
1647
  }
@@ -1662,78 +1662,78 @@ ct.propTypes = {
1662
1662
  const dt = ({
1663
1663
  cat: n,
1664
1664
  id: d,
1665
- activeColor: o,
1666
- defaultColor: i,
1665
+ activeColor: i,
1666
+ defaultColor: o,
1667
1667
  onClickCategory: t,
1668
1668
  activeCategory: r,
1669
- activeSubCategory: c,
1670
- onClickSubCategory: a,
1671
- activeIndicator: l,
1669
+ activeSubCategory: a,
1670
+ onClickSubCategory: l,
1671
+ activeIndicator: c,
1672
1672
  onClickIndicator: u,
1673
- multiple: h,
1674
- activeIndicatorType: g,
1675
- onChangeType: y
1673
+ multiple: m,
1674
+ activeIndicatorType: h,
1675
+ onChangeType: _
1676
1676
  }) => {
1677
- var p;
1678
- const { t: C } = k(), [f, _] = D(!1);
1679
- return V(() => {
1680
- _(r === d);
1681
- }, [r, d]), /* @__PURE__ */ m(
1677
+ var C;
1678
+ const { t: f } = k(), [g, y] = L(!1);
1679
+ return $(() => {
1680
+ y(r === d);
1681
+ }, [r, d]), /* @__PURE__ */ p(
1682
1682
  Ae.div,
1683
1683
  {
1684
- className: ve.indicatorsCategory,
1684
+ className: we.indicatorsCategory,
1685
1685
  initial: { height: "53px" },
1686
- animate: { height: f ? "auto" : "53px" },
1686
+ animate: { height: g ? "auto" : "53px" },
1687
1687
  transition: { duration: 0.4 },
1688
1688
  style: {
1689
1689
  backgroundColor: "white",
1690
- borderBottom: f ? `1px solid ${o}` : "0px",
1691
- marginBottom: f ? "20px" : "0px"
1690
+ borderBottom: g ? `1px solid ${i}` : "0px",
1691
+ marginBottom: g ? "20px" : "0px"
1692
1692
  },
1693
1693
  children: [
1694
- /* @__PURE__ */ m("h2", { className: `${ve.title}`, onClick: () => t(d), children: [
1695
- /* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
1694
+ /* @__PURE__ */ p("h2", { className: `${we.title}`, onClick: () => t(d), children: [
1695
+ /* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
1696
1696
  /* @__PURE__ */ s(
1697
1697
  "span",
1698
1698
  {
1699
- style: { marginLeft: 12, color: f ? o : i },
1700
- children: C(n.name)
1699
+ style: { marginLeft: 12, color: g ? i : o },
1700
+ children: f(n.name)
1701
1701
  }
1702
1702
  )
1703
1703
  ] }),
1704
1704
  n.subcategories ? n.subcategories.map(
1705
- ({ name: b, subcategory: v, indicators: x }, w) => /* @__PURE__ */ s(
1705
+ ({ name: b, subcategory: w, indicators: x }, v) => /* @__PURE__ */ s(
1706
1706
  ct,
1707
1707
  {
1708
- id: v,
1709
- activeSubCategory: c,
1708
+ id: w,
1709
+ activeSubCategory: a,
1710
1710
  subcName: b,
1711
- onClickSubCategory: a,
1712
- activeIndicator: l,
1711
+ onClickSubCategory: l,
1712
+ activeIndicator: c,
1713
1713
  onClickIndicator: u,
1714
- multiple: h,
1715
- activeColor: o,
1716
- defaultColor: i,
1714
+ multiple: m,
1715
+ activeColor: i,
1716
+ defaultColor: o,
1717
1717
  indicators: x,
1718
- activeIndicatorType: g,
1719
- onChangeType: y
1718
+ activeIndicatorType: h,
1719
+ onChangeType: _
1720
1720
  },
1721
- `subcKey ${w}`
1721
+ `subcKey ${v}`
1722
1722
  )
1723
- ) : /* @__PURE__ */ s("div", { className: ve.list, children: (p = n.indicators) == null ? void 0 : p.map((b, v) => /* @__PURE__ */ s(
1723
+ ) : /* @__PURE__ */ s("div", { className: we.list, children: (C = n.indicators) == null ? void 0 : C.map((b, w) => /* @__PURE__ */ s(
1724
1724
  Oe,
1725
1725
  {
1726
1726
  indicator: b,
1727
1727
  values: b.type == "twoUnits" && b.values,
1728
- activeColor: o,
1729
- defaultColor: i,
1730
- activeIndicator: l,
1728
+ activeColor: i,
1729
+ defaultColor: o,
1730
+ activeIndicator: c,
1731
1731
  onClickIndicator: u,
1732
- multiple: h,
1733
- activeIndicatorType: g,
1734
- onChangeType: y
1732
+ multiple: m,
1733
+ activeIndicatorType: h,
1734
+ onChangeType: _
1735
1735
  },
1736
- `indicator${v}`
1736
+ `indicator${w}`
1737
1737
  )) })
1738
1738
  ]
1739
1739
  }
@@ -1753,87 +1753,87 @@ dt.propTypes = {
1753
1753
  activeColor: e.string,
1754
1754
  defaultColor: e.string
1755
1755
  };
1756
- const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
1756
+ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1757
1757
  indicatorsList: m0,
1758
1758
  title: h0
1759
1759
  }, g0 = ({
1760
1760
  indicators: n,
1761
1761
  activeColor: d,
1762
- defaultColor: o = "#92898A",
1762
+ defaultColor: i = "#92898A",
1763
1763
  // Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
1764
- onChange: i,
1764
+ onChange: o,
1765
1765
  // Selección multiple
1766
1766
  multiple: t = !1,
1767
1767
  // Si multiple es true, debe ser un array de strings, sino un string
1768
1768
  defaultValue: r = null,
1769
1769
  //si el indicador es tipo "both" cuando se cambia el tipo
1770
- changeIndType: c,
1771
- activeIndicatorType: a
1770
+ changeIndType: a,
1771
+ activeIndicatorType: l
1772
1772
  }) => {
1773
- const { t: l } = k(), [u, h] = D(), [g, y] = D(), [C, f] = D(), _ = (w) => {
1774
- h(u == w ? null : w);
1775
- }, p = (w) => {
1776
- y(g == w ? null : w);
1777
- }, b = ({ indicator: w }) => {
1778
- console.log("onClickIndicator: ", w), v(w);
1779
- }, v = (w) => {
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) => {
1780
1780
  if (!t)
1781
- f(
1782
- (C == null ? void 0 : C.name) == w.name ? null : w
1781
+ g(
1782
+ (f == null ? void 0 : f.name) == v.name ? null : v
1783
1783
  );
1784
1784
  else {
1785
- let N = C && C.length > 0 ? [...C] : [];
1786
- f(
1785
+ let N = f && f.length > 0 ? [...f] : [];
1786
+ g(
1787
1787
  N != null && N.some(
1788
- (F) => F.name == w.name
1788
+ (S) => S.name == v.name
1789
1789
  ) ? N.filter(
1790
- (F) => F.name != String(w.name)
1791
- ) : [...N, w]
1792
- ), w.type == "both" && c("cat");
1790
+ (S) => S.name != String(v.name)
1791
+ ) : [...N, v]
1792
+ ), v.type == "both" && a("cat");
1793
1793
  }
1794
1794
  };
1795
- V(() => {
1796
- console.log("activeindicator changed to: ", C), i && typeof i == "function" && C && i({ activeIndicator: C });
1797
- }, [C]), yt(() => {
1798
- if (r && !C)
1795
+ $(() => {
1796
+ console.log("activeindicator changed to: ", f), o && typeof o == "function" && f && o({ activeIndicator: f });
1797
+ }, [f]), yt(() => {
1798
+ if (r && !f)
1799
1799
  if (t && r && Array.isArray(r)) {
1800
- let w = C && C.length > 0 ? [...C] : [];
1801
- f([...w, ...r]), x(r[0].name);
1800
+ let v = f && f.length > 0 ? [...f] : [];
1801
+ g([...v, ...r]), x(r[0].name);
1802
1802
  } else
1803
- v(r), x(r.name);
1803
+ w(r), x(r.name);
1804
1804
  }, []);
1805
- const x = (w) => {
1806
- const N = n.find((F) => {
1807
- if (F.subcategories) {
1808
- let L = F.subcategories.find(
1809
- (z) => z.indicators.find((ae) => ae.name == w)
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)
1810
1810
  );
1811
- if (L)
1812
- return y(L.subcategory), L;
1811
+ if (D)
1812
+ return _(D.subcategory), D;
1813
1813
  } else
1814
- return F.indicators.some((L) => L.name == w);
1814
+ return S.indicators.some((D) => D.name == v);
1815
1815
  });
1816
- N && h(N.category);
1816
+ N && m(N.category);
1817
1817
  };
1818
- return /* @__PURE__ */ m("div", { className: He.indicatorsList, children: [
1819
- /* @__PURE__ */ s("h2", { className: He.title, style: { color: o }, children: l("indicators.indicators") }),
1820
- n.map((w, N) => /* @__PURE__ */ s(
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
1821
  dt,
1822
1822
  {
1823
- id: w.category,
1824
- cat: w,
1825
- onClickCategory: _,
1823
+ id: v.category,
1824
+ cat: v,
1825
+ onClickCategory: y,
1826
1826
  activeCategory: u,
1827
- onClickSubCategory: p,
1828
- activeSubCategory: g,
1827
+ onClickSubCategory: C,
1828
+ activeSubCategory: h,
1829
1829
  onClickIndicator: b,
1830
- activeIndicator: C,
1830
+ activeIndicator: f,
1831
1831
  activeColor: d,
1832
- defaultColor: o,
1832
+ defaultColor: i,
1833
1833
  multiple: t,
1834
- onChange: i,
1835
- onChangeType: c,
1836
- activeIndicatorType: a
1834
+ onChange: o,
1835
+ onChangeType: a,
1836
+ activeIndicatorType: l
1837
1837
  },
1838
1838
  `categoryKey${N}`
1839
1839
  ))
@@ -1856,33 +1856,33 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
1856
1856
  arrow: b0,
1857
1857
  prevImg: y0,
1858
1858
  langMenu: _0
1859
- }, v0 = ({ langs: n, arrow: d, imgPrev: o }) => {
1860
- const [i, t] = D(!1), { i18n: r } = k(), c = n.find((l) => l.code == r.language), a = (l) => {
1861
- r.changeLanguage(l), t(!1);
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) => {
1861
+ r.changeLanguage(c), t(!1);
1862
1862
  };
1863
- return /* @__PURE__ */ m("div", { className: J.langSelector, children: [
1864
- /* @__PURE__ */ m(
1863
+ return /* @__PURE__ */ p("div", { className: J.langSelector, children: [
1864
+ /* @__PURE__ */ p(
1865
1865
  "div",
1866
1866
  {
1867
1867
  className: J.currentLang,
1868
1868
  onClick: () => {
1869
- t(!i);
1869
+ t(!o);
1870
1870
  },
1871
1871
  children: [
1872
- o && /* @__PURE__ */ s("img", { className: J.prevImg, src: o }),
1873
- (c == null ? void 0 : c.titleSelected) || (c == null ? void 0 : c.title),
1872
+ i && /* @__PURE__ */ s("img", { className: J.prevImg, src: i }),
1873
+ (a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
1874
1874
  /* @__PURE__ */ s("img", { src: d, className: J.arrow })
1875
1875
  ]
1876
1876
  }
1877
1877
  ),
1878
- i && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((l) => /* @__PURE__ */ s(
1878
+ o && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((c) => /* @__PURE__ */ s(
1879
1879
  "button",
1880
1880
  {
1881
- className: (c == null ? void 0 : c.code) == l.code ? J.active : "",
1882
- onClick: () => a(l.code),
1883
- children: l.title
1881
+ className: (a == null ? void 0 : a.code) == c.code ? J.active : "",
1882
+ onClick: () => l(c.code),
1883
+ children: c.title
1884
1884
  },
1885
- l.code
1885
+ c.code
1886
1886
  )) })
1887
1887
  ] });
1888
1888
  };
@@ -1900,19 +1900,19 @@ v0.propTypes = {
1900
1900
  arrow: e.object,
1901
1901
  imgPrev: e.object
1902
1902
  };
1903
- const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", k0 = "_titleContainer_qs4x9_59", N0 = "_infoContainer_qs4x9_65", B0 = "_titleLegendList_qs4x9_76", S0 = "_legendListContainer_qs4x9_82", D0 = "_gridContainer_qs4x9_82", M0 = "_elementLegendContainer_qs4x9_88", F0 = "_colorDot_qs4x9_94", L0 = "_absoluteValueContainer_qs4x9_100", T0 = "_absoluteValueColor_qs4x9_103", $0 = "_absoluteValueText_qs4x9_108", V0 = "_noDataContainer_qs4x9_120", A0 = "_noData_qs4x9_120", I0 = "_moreInfoContainer_qs4x9_141", S = {
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
1904
  legendContainer: w0,
1905
1905
  closeButton: x0,
1906
- titleContainer: k0,
1907
- infoContainer: N0,
1906
+ titleContainer: N0,
1907
+ infoContainer: k0,
1908
1908
  titleLegendList: B0,
1909
1909
  legendListContainer: S0,
1910
1910
  gridContainer: D0,
1911
1911
  elementLegendContainer: M0,
1912
- colorDot: F0,
1913
- absoluteValueContainer: L0,
1914
- absoluteValueColor: T0,
1915
- absoluteValueText: $0,
1912
+ colorDot: L0,
1913
+ absoluteValueContainer: $0,
1914
+ absoluteValueColor: F0,
1915
+ absoluteValueText: T0,
1916
1916
  noDataContainer: V0,
1917
1917
  noData: A0,
1918
1918
  moreInfoContainer: I0
@@ -1922,10 +1922,10 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", k0 = "_titl
1922
1922
  //Title on top of the legend
1923
1923
  title: d,
1924
1924
  //Array to display the info behind the title should have: [{title, value}, ...]
1925
- infoList: o,
1925
+ infoList: i,
1926
1926
  //Array to display the items of the legend: [{title, color}, ...]
1927
1927
  //color should be a string with hexadecimal value
1928
- legendList: i,
1928
+ legendList: o,
1929
1929
  //If not passed it will read t("mainUser")
1930
1930
  legendListTitle: t,
1931
1931
  //Should be an object with {maxColor, minColor, maxValue, minValue}
@@ -1934,85 +1934,85 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", k0 = "_titl
1934
1934
  absoluteValue: r,
1935
1935
  //Function to be called when the button is clicked (optional).
1936
1936
  //If this is null or undefined the button wont be displayed.
1937
- onClickMoreInfo: c,
1937
+ onClickMoreInfo: a,
1938
1938
  //If not passed it will read t("moreInformation")
1939
- buttonTitle: a,
1940
- onClickClose: l
1939
+ buttonTitle: l,
1940
+ onClickClose: c
1941
1941
  }) => {
1942
1942
  const { t: u } = k();
1943
- return /* @__PURE__ */ m(
1943
+ return /* @__PURE__ */ p(
1944
1944
  "div",
1945
1945
  {
1946
1946
  style: n ? { ...n } : {},
1947
- className: `${S.legendContainer}`,
1947
+ className: `${M.legendContainer}`,
1948
1948
  children: [
1949
- /* @__PURE__ */ s("button", { className: S.closeButton, onClick: l }),
1950
- d && /* @__PURE__ */ s("div", { className: S.titleContainer, style: { marginBottom: (!o || o.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
1951
- o && o.length > 0 && /* @__PURE__ */ s("div", { className: S.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: h, value: g }) => /* @__PURE__ */ m("li", { children: [
1952
- /* @__PURE__ */ s("h3", { className: S.title, children: `${h}:` }),
1953
- /* @__PURE__ */ m("span", { className: S.value, children: [
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: [
1954
1954
  "  ",
1955
- g
1955
+ h
1956
1956
  ] })
1957
1957
  ] }, d)) }) }),
1958
- /* @__PURE__ */ s("h3", { className: S.titleLegendList, style: { marginTop: o && o.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
1959
- /* @__PURE__ */ m("div", { className: S.legendListContainer, children: [
1960
- r ? /* @__PURE__ */ m("div", { className: S.absoluteValueContainer, children: [
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: [
1961
1961
  /* @__PURE__ */ s(
1962
1962
  "div",
1963
1963
  {
1964
- className: S.absoluteValueColor,
1964
+ className: M.absoluteValueColor,
1965
1965
  style: {
1966
1966
  background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
1967
1967
  }
1968
1968
  }
1969
1969
  ),
1970
- /* @__PURE__ */ m("div", { className: S.absoluteValueText, children: [
1971
- /* @__PURE__ */ m("span", { children: [
1970
+ /* @__PURE__ */ p("div", { className: M.absoluteValueText, children: [
1971
+ /* @__PURE__ */ p("span", { children: [
1972
1972
  r.maxValue,
1973
1973
  " ",
1974
1974
  u(r.unit)
1975
1975
  ] }),
1976
- r.midValue && /* @__PURE__ */ m("span", { children: [
1976
+ r.midValue && /* @__PURE__ */ p("span", { children: [
1977
1977
  r.midValue,
1978
1978
  " ",
1979
1979
  u(r.unit)
1980
1980
  ] }),
1981
- /* @__PURE__ */ m("span", { children: [
1981
+ /* @__PURE__ */ p("span", { children: [
1982
1982
  r.minValue,
1983
1983
  " ",
1984
1984
  u(r.unit)
1985
1985
  ] })
1986
1986
  ] })
1987
- ] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: S.gridContainer, children: i.map(
1988
- ({ title: h, color: g }) => /* @__PURE__ */ m("div", { className: S.elementLegendContainer, children: [
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: [
1989
1989
  /* @__PURE__ */ s(
1990
1990
  "div",
1991
1991
  {
1992
- className: S.colorDot,
1993
- style: { backgroundColor: g }
1992
+ className: M.colorDot,
1993
+ style: { backgroundColor: h }
1994
1994
  }
1995
1995
  ),
1996
- /* @__PURE__ */ m("div", { className: S.titleLegendElement, children: [
1997
- u(h),
1996
+ /* @__PURE__ */ p("div", { className: M.titleLegendElement, children: [
1997
+ u(m),
1998
1998
  " "
1999
1999
  ] })
2000
2000
  ] }, d)
2001
2001
  ) }),
2002
- r.noDataColor && /* @__PURE__ */ m("div", { className: S.noDataContainer, children: [
2002
+ r.noDataColor && /* @__PURE__ */ p("div", { className: M.noDataContainer, children: [
2003
2003
  /* @__PURE__ */ s(
2004
2004
  "div",
2005
2005
  {
2006
- className: S.noData,
2006
+ className: M.noData,
2007
2007
  style: {
2008
2008
  background: r.noDataColor
2009
2009
  }
2010
2010
  }
2011
2011
  ),
2012
- /* @__PURE__ */ s("div", { className: S.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2012
+ /* @__PURE__ */ s("div", { className: M.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2013
2013
  ] })
2014
2014
  ] }),
2015
- c && /* @__PURE__ */ s("button", { className: S.moreInfoContainer, onClick: c, children: a || u("moreInformation") })
2015
+ a && /* @__PURE__ */ s("button", { className: M.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
2016
2016
  ]
2017
2017
  }
2018
2018
  );
@@ -2044,81 +2044,81 @@ O0.propTypes = {
2044
2044
  onClickClose: e.func,
2045
2045
  noDataColor: e.string
2046
2046
  };
2047
- const R0 = "_logo_1ewa6_2", Ke = {
2047
+ const R0 = "_logo_1ewa6_2", He = {
2048
2048
  logo: R0
2049
- }, P0 = ({ src: n, alt: d, href: o }) => {
2050
- const { t: i } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
2051
- return o ? /* @__PURE__ */ s("div", { className: Ke.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: Ke.logo, children: t });
2049
+ }, q0 = ({ src: n, alt: d, href: i }) => {
2050
+ 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 });
2052
2052
  };
2053
- P0.propTypes = {
2053
+ q0.propTypes = {
2054
2054
  src: e.string.isRequired,
2055
2055
  alt: e.string.isRequired,
2056
2056
  href: e.string,
2057
2057
  className: e.string
2058
2058
  };
2059
- const E0 = "_mapContainer_84pkf_2", q0 = {
2059
+ const E0 = "_mapContainer_84pkf_2", P0 = {
2060
2060
  mapContainer: E0
2061
2061
  };
2062
2062
  vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2063
2063
  const z0 = ({
2064
2064
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2065
2065
  maxZoom: d = 17,
2066
- minZoom: o = 8,
2067
- mapStyle: i,
2066
+ minZoom: i = 8,
2067
+ mapStyle: o,
2068
2068
  firstSymbolLayer: t,
2069
2069
  cssProps: r = "",
2070
- onClick: c = "",
2071
- interactiveLayers: a = [],
2072
- popUp: l = !1,
2070
+ onClick: a = "",
2071
+ interactiveLayers: l = [],
2072
+ popUp: c = !1,
2073
2073
  sources: u = [],
2074
- layers: h = []
2074
+ layers: m = []
2075
2075
  }) => {
2076
- const g = $e(), [y, C] = D(null), f = wt((_) => _.mapState.showTexts);
2077
- return V(() => {
2078
- if (g.current) {
2079
- const _ = g.current.getMap();
2080
- _.getStyle().layers.map((b) => {
2081
- b.type == "symbol" && b.id != "professionals" && (f ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
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"));
2082
2082
  });
2083
2083
  }
2084
- }, [f]), /* @__PURE__ */ s("div", { className: `${q0.mapContainer}`, style: r, children: /* @__PURE__ */ m(
2085
- kt,
2084
+ }, [g]), /* @__PURE__ */ s("div", { className: `${P0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2085
+ Nt,
2086
2086
  {
2087
2087
  initialViewState: n,
2088
- ref: g,
2088
+ ref: h,
2089
2089
  hash: !1,
2090
2090
  maxZoom: d,
2091
- minZoom: o,
2092
- mapStyle: i,
2093
- onClick: c,
2094
- interactiveLayerIds: a,
2091
+ minZoom: i,
2092
+ mapStyle: o,
2093
+ onClick: a,
2094
+ interactiveLayerIds: l,
2095
2095
  children: [
2096
- u.length && u.map((_, p) => /* @__PURE__ */ s(
2097
- Nt,
2096
+ u.length && u.map((y, C) => /* @__PURE__ */ s(
2097
+ kt,
2098
2098
  {
2099
- ..._,
2100
- children: h.length && h.map((b, v) => {
2101
- if (b.sourceId == _.id) return /* @__PURE__ */ s(
2099
+ ...y,
2100
+ children: m.length && m.map((b, w) => {
2101
+ if (b.sourceId == y.id) return /* @__PURE__ */ s(
2102
2102
  Bt,
2103
2103
  {
2104
2104
  ...b.layer,
2105
2105
  beforeId: t
2106
2106
  },
2107
- v
2107
+ w
2108
2108
  );
2109
2109
  })
2110
2110
  },
2111
- p
2111
+ C
2112
2112
  )),
2113
2113
  /* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
2114
- l && y && /* @__PURE__ */ s(
2114
+ c && _ && /* @__PURE__ */ s(
2115
2115
  Dt,
2116
2116
  {
2117
- longitude: l.longitude,
2118
- latitude: l.latitude,
2119
- anchor: l.anchor,
2120
- onClose: () => C(null),
2121
- children: l.content
2117
+ longitude: c.longitude,
2118
+ latitude: c.latitude,
2119
+ anchor: c.anchor,
2120
+ onClose: () => f(null),
2121
+ children: c.content
2122
2122
  }
2123
2123
  )
2124
2124
  ]
@@ -2172,91 +2172,91 @@ z0.propTypes = {
2172
2172
  };
2173
2173
  const j0 = "_mapContainer_b0pyr_3", Z0 = {
2174
2174
  mapContainer: j0
2175
- }, H0 = "_FeaturePopUp_mt8l5_2", K0 = "_title_mt8l5_9", Ue = {
2176
- FeaturePopUp: H0,
2177
- title: K0
2175
+ }, K0 = "_FeaturePopUp_mt8l5_2", H0 = "_title_mt8l5_9", Ue = {
2176
+ FeaturePopUp: K0,
2177
+ title: H0
2178
2178
  }, U0 = ({ props: n }) => {
2179
2179
  const { t: d } = k();
2180
- return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ m("p", { children: [
2181
- /* @__PURE__ */ m("span", { className: Ue.title, children: [
2182
- /* @__PURE__ */ s(Ve, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
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 }),
2183
2183
  ":"
2184
2184
  ] }),
2185
- isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */ m(Se, { children: [
2186
- o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2185
+ isNaN(i.value) ? /* @__PURE__ */ s(De, { children: d(i.value) }) : /* @__PURE__ */ p(De, { children: [
2186
+ i.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2187
2187
  " ",
2188
- d(o.unit)
2188
+ d(i.unit)
2189
2189
  ] })
2190
2190
  ] })) });
2191
2191
  }, G0 = ({
2192
2192
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2193
2193
  maxZoom: d = 17,
2194
- minZoom: o = 8,
2195
- mapStyle: i,
2194
+ minZoom: i = 8,
2195
+ mapStyle: o,
2196
2196
  firstSymbolLayer: t,
2197
2197
  cssProps: r = {},
2198
- onClick: c = "",
2199
- interactiveLayers: a = [],
2200
- sources: l = [],
2198
+ onClick: a = "",
2199
+ interactiveLayers: l = [],
2200
+ sources: c = [],
2201
2201
  layers: u = [],
2202
- filters: h,
2203
- popUpParams: g,
2204
- onClosePopUp: y,
2205
- showTexts: C
2202
+ filters: m,
2203
+ popUpParams: h,
2204
+ onClosePopUp: _,
2205
+ showTexts: f
2206
2206
  }) => {
2207
- console.log(h);
2208
- const f = $e();
2209
- return V(() => {
2210
- if (f.current) {
2211
- const _ = f.current.getMap();
2212
- _.getStyle().layers.map((b) => {
2213
- b.type == "symbol" && b.id != "professionals" && (C ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
2207
+ 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"));
2214
2214
  });
2215
2215
  }
2216
- }, [C]), V(() => {
2217
- let _ = new Mt();
2218
- return fe.addProtocol("pmtiles", _.tile), () => {
2219
- fe.removeProtocol("pmtiles");
2216
+ }, [f]), $(() => {
2217
+ let y = new Mt();
2218
+ return be.addProtocol("pmtiles", y.tile), () => {
2219
+ be.removeProtocol("pmtiles");
2220
2220
  };
2221
- }, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ m(
2222
- Ft,
2221
+ }, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2222
+ Lt,
2223
2223
  {
2224
- mapLib: fe,
2224
+ mapLib: be,
2225
2225
  initialViewState: n,
2226
- ref: f,
2226
+ ref: g,
2227
2227
  hash: !1,
2228
2228
  maxZoom: d,
2229
- minZoom: o,
2230
- mapStyle: i,
2231
- onClick: c,
2232
- interactiveLayerIds: a,
2229
+ minZoom: i,
2230
+ mapStyle: o,
2231
+ onClick: a,
2232
+ interactiveLayerIds: l,
2233
2233
  children: [
2234
- l.length && l.map((_, p) => /* @__PURE__ */ s(
2235
- Lt,
2234
+ c.length && c.map((y, C) => /* @__PURE__ */ s(
2235
+ $t,
2236
2236
  {
2237
- ..._,
2238
- children: u.length && u.map((b, v) => {
2239
- if (b.sourceId == _.id) return /* @__PURE__ */ s(
2240
- Tt,
2237
+ ...y,
2238
+ children: u.length && u.map((b, w) => {
2239
+ if (b.sourceId == y.id) return /* @__PURE__ */ s(
2240
+ Ft,
2241
2241
  {
2242
2242
  ...b.layer,
2243
2243
  beforeId: t,
2244
- filter: h && h
2244
+ filter: m && m
2245
2245
  },
2246
- v
2246
+ w
2247
2247
  );
2248
2248
  })
2249
2249
  },
2250
- p
2250
+ C
2251
2251
  )),
2252
- /* @__PURE__ */ s($t, { position: "bottom-right", visualizePitch: !0 }),
2253
- g && /* @__PURE__ */ s(
2252
+ /* @__PURE__ */ s(Tt, { position: "bottom-right", visualizePitch: !0 }),
2253
+ h && /* @__PURE__ */ s(
2254
2254
  Vt,
2255
2255
  {
2256
- longitude: g.lng,
2257
- latitude: g.lat,
2258
- onClose: y,
2259
- children: /* @__PURE__ */ s(U0, { props: g.props })
2256
+ longitude: h.lng,
2257
+ latitude: h.lat,
2258
+ onClose: _,
2259
+ children: /* @__PURE__ */ s(U0, { props: h.props })
2260
2260
  }
2261
2261
  )
2262
2262
  ]
@@ -2306,31 +2306,31 @@ G0.propTypes = {
2306
2306
  popUpParams: e.object,
2307
2307
  onClosePopUp: e.func
2308
2308
  };
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", K = {
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
2310
  sectionBar: Y0,
2311
2311
  leftContent: W0,
2312
2312
  textContainer: Q0,
2313
2313
  title: X0,
2314
2314
  subtitle: J0,
2315
2315
  rightContent: en
2316
- }, si = ({
2316
+ }, oi = ({
2317
2317
  leftIcon: n,
2318
2318
  title: d,
2319
- subtitle: o,
2320
- rightContent: i,
2319
+ subtitle: i,
2320
+ rightContent: o,
2321
2321
  mainColor: t,
2322
2322
  width: r
2323
2323
  }) => {
2324
- const { t: c } = k();
2325
- return /* @__PURE__ */ m("div", { className: K.sectionBar, style: { width: r && r }, children: [
2326
- /* @__PURE__ */ m("div", { className: K.leftContent, children: [
2327
- n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: K.icon }),
2328
- /* @__PURE__ */ m("div", { className: K.textContainer, children: [
2329
- /* @__PURE__ */ s("div", { className: K.title, children: c(d) }),
2330
- o && /* @__PURE__ */ s("div", { className: K.subtitle, children: o })
2324
+ 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 })
2331
2331
  ] })
2332
2332
  ] }),
2333
- /* @__PURE__ */ s("div", { className: K.rightContent, children: i })
2333
+ /* @__PURE__ */ s("div", { className: H.rightContent, children: o })
2334
2334
  ] });
2335
2335
  }, tn = At({
2336
2336
  name: "mapSlice",
@@ -2358,36 +2358,36 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2358
2358
  n.activeIndicatorUnit = d.payload;
2359
2359
  }
2360
2360
  }
2361
- }), { setShowTexts: ri, setYear: we, setActiveIndicatorKey: ai, setActiveIndicatorType: li, setActiveIndicatorUnit: ci } = 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", ie = {
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
2362
  slider: sn,
2363
2363
  playButton: rn,
2364
2364
  sliderOpen: an,
2365
2365
  sliderResults: ln
2366
- }, cn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2367
- const [c, a] = D(d), l = xt(), u = (b, v) => {
2368
- a(v), l(we(v - 2e3));
2369
- }, [h, g] = D(!1), y = () => {
2370
- g(!0);
2371
- }, C = () => {
2372
- g(!1);
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);
2373
2373
  };
2374
- ((b, v) => {
2375
- const x = $e();
2376
- V(() => {
2374
+ ((b, w) => {
2375
+ const x = ne();
2376
+ $(() => {
2377
2377
  x.current = b;
2378
- }, [b]), V(() => {
2379
- function w() {
2378
+ }, [b]), $(() => {
2379
+ function v() {
2380
2380
  x.current();
2381
2381
  }
2382
2382
  {
2383
- let N = setInterval(w, v);
2383
+ let N = setInterval(v, w);
2384
2384
  return () => clearInterval(N);
2385
2385
  }
2386
- }, [v]);
2386
+ }, [w]);
2387
2387
  })(() => {
2388
- h && (c != 2050 ? (a(c + 1), l(we(c - 2e3 + 1))) : (a(2025), l(we(25))));
2388
+ m && (a != 2050 ? (l(a + 1), c(xe(a - 2e3 + 1))) : (l(2025), c(xe(25))));
2389
2389
  }, 1e3);
2390
- const _ = Ot({
2390
+ const y = Ot({
2391
2391
  palette: {
2392
2392
  primary: {
2393
2393
  main: "#605b56"
@@ -2409,38 +2409,38 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2409
2409
  }
2410
2410
  }
2411
2411
  }
2412
- }), p = [
2412
+ }), C = [
2413
2413
  { label: "", value: 2025 },
2414
2414
  { label: "", value: 2032 },
2415
2415
  { label: "", value: 2041 },
2416
2416
  { label: "", value: 2050 }
2417
2417
  ];
2418
- return /* @__PURE__ */ s(Pt, { theme: _, children: /* @__PURE__ */ m(
2418
+ return /* @__PURE__ */ s(qt, { theme: y, children: /* @__PURE__ */ p(
2419
2419
  Rt,
2420
2420
  {
2421
2421
  sx: { width: 400 },
2422
- className: `${n ? ie.sliderResults : ie.slider} ${r ? ie.sliderOpen : ""}`,
2422
+ className: `${n ? oe.sliderResults : oe.slider} ${r ? oe.sliderOpen : ""}`,
2423
2423
  style: { zIndex: t },
2424
2424
  children: [
2425
- o,
2425
+ i,
2426
2426
  /* @__PURE__ */ s(
2427
2427
  It,
2428
2428
  {
2429
2429
  "aria-label": "TimeSlider",
2430
- value: c,
2430
+ value: a,
2431
2431
  valueLabelDisplay: "on",
2432
2432
  step: 1,
2433
- marks: p,
2434
- min: o,
2435
- max: i,
2433
+ marks: C,
2434
+ min: i,
2435
+ max: o,
2436
2436
  onChange: u,
2437
2437
  color: "primary",
2438
2438
  size: "small"
2439
2439
  }
2440
2440
  ),
2441
- i,
2442
- !h && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
2443
- h && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: C, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
2441
+ 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" }) })
2444
2444
  ]
2445
2445
  }
2446
2446
  ) });
@@ -2453,33 +2453,33 @@ cn.propTypes = {
2453
2453
  zIndex: e.number,
2454
2454
  rightBarOpen: e.bool
2455
2455
  };
2456
- const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn = "_active_12mp4_27", xe = {
2456
+ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn = "_active_12mp4_27", Ne = {
2457
2457
  TopNavMenuContainer: dn,
2458
2458
  topNavOptions: un,
2459
2459
  active: pn
2460
2460
  }, mn = ({
2461
2461
  options: n = [],
2462
2462
  containerStyles: d,
2463
- borderColor: o = "red",
2464
- textColor: i = "white",
2463
+ borderColor: i = "red",
2464
+ textColor: o = "white",
2465
2465
  onChangeNavLink: t = (r) => {
2466
2466
  console.log("Changed NavLink", r);
2467
2467
  }
2468
2468
  }) => {
2469
2469
  const { t: r } = k();
2470
- return /* @__PURE__ */ s("div", { className: xe.TopNavMenuContainer, style: { ...d }, children: n.map((c, a) => /* @__PURE__ */ s(
2470
+ return /* @__PURE__ */ s("div", { className: Ne.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
2471
2471
  Et,
2472
2472
  {
2473
- to: c.url,
2474
- className: ({ isActive: l }) => `${xe.topNavOptions} ${l ? xe.active : ""} `,
2475
- onClick: () => t(c.url),
2476
- style: ({ isActive: l }) => ({
2477
- color: i,
2478
- borderBottom: l ? `5px solid ${o}` : "5px solid transparent"
2473
+ to: a.url,
2474
+ className: ({ isActive: c }) => `${Ne.topNavOptions} ${c ? Ne.active : ""} `,
2475
+ onClick: () => t(a.url),
2476
+ style: ({ isActive: c }) => ({
2477
+ color: o,
2478
+ borderBottom: c ? `5px solid ${i}` : "5px solid transparent"
2479
2479
  }),
2480
- children: r(c.name)
2480
+ children: r(a.name)
2481
2481
  },
2482
- a
2482
+ l
2483
2483
  )) });
2484
2484
  };
2485
2485
  mn.propTypes = {
@@ -2497,25 +2497,25 @@ const hn = "_LogInButton_1vxj5_2", gn = {
2497
2497
  }, Cn = ({
2498
2498
  cssClass: n,
2499
2499
  notLoggedInLabel: d = "Log in",
2500
- loggedInLabel: o = "Log out",
2501
- containerStyles: i,
2500
+ loggedInLabel: i = "Log out",
2501
+ containerStyles: o,
2502
2502
  userName: t = "",
2503
2503
  isLoggedIn: r = !1,
2504
- onClickLogIn: c = () => {
2504
+ onClickLogIn: a = () => {
2505
2505
  console.log("Login clicked");
2506
2506
  },
2507
- onClickLogOut: a = () => {
2507
+ onClickLogOut: l = () => {
2508
2508
  console.log("Logout clicked");
2509
2509
  }
2510
2510
  }) => {
2511
- const { t: l } = k();
2511
+ const { t: c } = k();
2512
2512
  return /* @__PURE__ */ s(
2513
2513
  "div",
2514
2514
  {
2515
- style: { ...i },
2515
+ style: { ...o },
2516
2516
  className: `${gn.LogInButton} link ${n}`,
2517
- onClick: r ? a : c,
2518
- children: r ? t || l(o) : l(d)
2517
+ onClick: r ? l : a,
2518
+ children: r ? t || c(i) : c(d)
2519
2519
  }
2520
2520
  );
2521
2521
  };
@@ -2527,7 +2527,7 @@ Cn.propTypes = {
2527
2527
  userName: e.string,
2528
2528
  isLoggedIn: e.bool
2529
2529
  };
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", kn = "_newElementButtonContainer_fd7az_80", q = {
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
2531
  elementSelector: fn,
2532
2532
  header: bn,
2533
2533
  nameDateContainer: yn,
@@ -2535,30 +2535,30 @@ const fn = "_elementSelector_fd7az_2", bn = "_header_fd7az_13", yn = "_nameDateC
2535
2535
  elementDate: vn,
2536
2536
  buttonsContainer: wn,
2537
2537
  elementListContainer: xn,
2538
- newElementButtonContainer: kn
2539
- }, Nn = "_listElement_1s506_2", Bn = "_elementNameDate_1s506_17", Sn = "_elementNameContainer_1s506_27", Dn = "_elementName_1s506_17", Mn = "_elementDate_1s506_42", Fn = "_elementButtons_1s506_45", Ln = "_moreInfoContainer_1s506_68", Tn = "_moreInfo_1s506_68", O = {
2540
- listElement: Nn,
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
2541
  elementNameDate: Bn,
2542
2542
  elementNameContainer: Sn,
2543
2543
  elementName: Dn,
2544
2544
  elementDate: Mn,
2545
- elementButtons: Fn,
2545
+ elementButtons: Ln,
2546
2546
  break: "_break_1s506_63",
2547
- moreInfoContainer: Ln,
2548
- moreInfo: Tn
2549
- }, $n = "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";
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
2550
  var Ge;
2551
- function Le() {
2552
- return Le = Object.assign ? Object.assign.bind() : function(n) {
2551
+ function Fe() {
2552
+ return Fe = Object.assign ? Object.assign.bind() : function(n) {
2553
2553
  for (var d = 1; d < arguments.length; d++) {
2554
- var o = arguments[d];
2555
- for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
2554
+ var i = arguments[d];
2555
+ for (var o in i) ({}).hasOwnProperty.call(i, o) && (n[o] = i[o]);
2556
2556
  }
2557
2557
  return n;
2558
- }, Le.apply(null, arguments);
2558
+ }, Fe.apply(null, arguments);
2559
2559
  }
2560
2560
  var Rn = function(d) {
2561
- return /* @__PURE__ */ te.createElement("svg", Le({
2561
+ return /* @__PURE__ */ te.createElement("svg", Fe({
2562
2562
  xmlns: "http://www.w3.org/2000/svg",
2563
2563
  width: 26,
2564
2564
  height: 14,
@@ -2571,69 +2571,69 @@ var Rn = function(d) {
2571
2571
  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
2572
  }))));
2573
2573
  };
2574
- const Pn = "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 = ({
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 = ({
2575
2575
  listelement: n,
2576
2576
  onClickElement: d,
2577
- isActive: o,
2578
- activeColor: i,
2577
+ isActive: i,
2578
+ activeColor: o,
2579
2579
  fontColor: t,
2580
2580
  moreInfo: r,
2581
- columns: c,
2582
- elementButtons: a,
2583
- processTooltip: l,
2581
+ columns: a,
2582
+ elementButtons: l,
2583
+ processTooltip: c,
2584
2584
  defaultTooltip: u
2585
2585
  }) => {
2586
- const { nom: h, created_at: g, id: y, isBeingProcessed: C } = n, [f, _] = D(!1), { t: p } = k();
2587
- return /* @__PURE__ */ m(
2586
+ const { nom: m, created_at: h, id: _, isBeingProcessed: f } = n, [g, y] = L(!1), { t: C } = k();
2587
+ return /* @__PURE__ */ p(
2588
2588
  "div",
2589
2589
  {
2590
2590
  className: O.listElement,
2591
2591
  style: { borderBottom: `1px solid ${t}` },
2592
2592
  children: [
2593
- /* @__PURE__ */ m("div", { className: O.elementNameDate, onClick: () => d(y), children: [
2594
- c.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ m("div", { className: O.elementName, children: [
2595
- o ? /* @__PURE__ */ s(Rn, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
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
2596
  "img",
2597
2597
  {
2598
2598
  style: { marginRight: 9 },
2599
- src: Pn
2599
+ src: qn
2600
2600
  }
2601
2601
  ),
2602
- /* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: h })
2602
+ /* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: m })
2603
2603
  ] }) }),
2604
- c.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
2605
- c.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
2606
- c.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
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
2607
  ] }),
2608
- /* @__PURE__ */ m("div", { className: O.elementButtons, children: [
2609
- n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2608
+ /* @__PURE__ */ p("div", { className: O.elementButtons, children: [
2609
+ n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2610
2610
  /* @__PURE__ */ s("img", { src: In }),
2611
- /* @__PURE__ */ s(Y, { text: l, position: "left" })
2611
+ /* @__PURE__ */ s(Y, { text: c, position: "left" })
2612
2612
  ] }),
2613
- a.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2614
- /* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: An }) }),
2615
- /* @__PURE__ */ s(Y, { text: a.filter.tooltiptext, position: "left" })
2613
+ 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" })
2616
2616
  ] }),
2617
- a.copy && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2618
- /* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Vn }) }),
2619
- /* @__PURE__ */ s(Y, { text: a.copy.tooltiptext, position: "left" })
2617
+ 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" })
2620
2620
  ] }),
2621
- a.trash && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2622
- /* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: $n }) }),
2623
- /* @__PURE__ */ s(Y, { text: a.trash.tooltiptext, position: "left" })
2621
+ 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" })
2624
2624
  ] }),
2625
- n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
2625
+ n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2626
2626
  /* @__PURE__ */ s("img", { src: On }),
2627
2627
  /* @__PURE__ */ s(Y, { text: u, position: "left" })
2628
2628
  ] })
2629
2629
  ] }),
2630
2630
  r && /* @__PURE__ */ s("div", { className: O.break }),
2631
- r && /* @__PURE__ */ m("div", { className: O.moreInfoContainer, children: [
2632
- /* @__PURE__ */ m("div", { className: O.moreInfo, onClick: () => _(!f), children: [
2633
- /* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
2634
- p(r.label)
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)
2635
2635
  ] }),
2636
- r && f && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2636
+ r && g && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2637
2637
  ] })
2638
2638
  ]
2639
2639
  }
@@ -2677,85 +2677,85 @@ ut.propTypes = {
2677
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 = ({
2678
2678
  elementsList: n,
2679
2679
  activeElementId: d,
2680
- fontColor: o = "#605B56",
2681
- activeColor: i,
2680
+ fontColor: i = "#605B56",
2681
+ activeColor: o,
2682
2682
  buttonContainerStyles: t = {},
2683
2683
  containerStyles: r = {},
2684
- newElementButton: c,
2684
+ newElementButton: a,
2685
2685
  //{label: 'text', onClick: function()}/null
2686
- onClickElement: a = (C) => console.log(`OnCLickElement: ${C}`),
2687
- columns: l,
2686
+ onClickElement: l = (f) => console.log(`OnCLickElement: ${f}`),
2687
+ columns: c,
2688
2688
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2689
2689
  elementButtons: u,
2690
2690
  //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
2691
- moreInfo: h = !1,
2691
+ moreInfo: m = !1,
2692
2692
  //{label: 'x'}
2693
- processTooltip: g,
2693
+ processTooltip: h,
2694
2694
  //texto para el tooltip del simbolo "En proceso"
2695
- defaultTooltip: y
2695
+ defaultTooltip: _
2696
2696
  //texto para el tooltip del símbolo de candado para los elementos default
2697
2697
  }) => {
2698
- const { t: C } = k(), [f, _] = D(n);
2699
- V(() => {
2700
- n && _(n);
2698
+ const { t: f } = k(), [g, y] = L(n);
2699
+ $(() => {
2700
+ n && y(n);
2701
2701
  }, [n]);
2702
- const p = (b) => {
2703
- if (f && f.length > 0) {
2704
- let v = [...f];
2705
- v.sort((x, w) => x[b].localeCompare(w[b])), _(v);
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);
2706
2706
  }
2707
2707
  };
2708
- return /* @__PURE__ */ m(
2708
+ return /* @__PURE__ */ p(
2709
2709
  "div",
2710
2710
  {
2711
- className: q.elementSelector,
2712
- style: { color: o, ...r },
2711
+ className: P.elementSelector,
2712
+ style: { color: i, ...r },
2713
2713
  children: [
2714
- /* @__PURE__ */ m(
2714
+ /* @__PURE__ */ p(
2715
2715
  "div",
2716
2716
  {
2717
- className: q.header,
2718
- style: { borderBottom: `1px solid ${o}` },
2717
+ className: P.header,
2718
+ style: { borderBottom: `1px solid ${i}` },
2719
2719
  children: [
2720
- /* @__PURE__ */ m("div", { className: q.nameDateContainer, children: [
2721
- l.nom && /* @__PURE__ */ s("div", { className: q.elementName, children: /* @__PURE__ */ m("button", { onClick: () => p("name"), children: [
2722
- /* @__PURE__ */ s("span", { children: C(l.nom) }),
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
2723
  /* @__PURE__ */ s("img", { src: Ye })
2724
2724
  ] }) }),
2725
- l.data && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => p("date"), children: [
2726
- /* @__PURE__ */ s("span", { children: C(l.data) }),
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
2727
  /* @__PURE__ */ s("img", { src: Ye })
2728
2728
  ] }) }),
2729
- l.ambit && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ s("span", { children: C(l.ambit) }) }),
2730
- l.escenari && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ s("span", { children: C(l.escenari) }) })
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
2731
  ] }),
2732
- /* @__PURE__ */ s("div", { className: q.buttonsContainer })
2732
+ /* @__PURE__ */ s("div", { className: P.buttonsContainer })
2733
2733
  ]
2734
2734
  }
2735
2735
  ),
2736
- /* @__PURE__ */ s("div", { className: q.elementListContainer, children: f && f.length > 0 && f.map((b) => /* @__PURE__ */ s(
2736
+ /* @__PURE__ */ s("div", { className: P.elementListContainer, children: g && g.length > 0 && g.map((b) => /* @__PURE__ */ s(
2737
2737
  ut,
2738
2738
  {
2739
2739
  isActive: d == b.id,
2740
2740
  listelement: b,
2741
- fontColor: o,
2742
- activeColor: i,
2743
- onClickElement: a,
2744
- columns: l,
2741
+ fontColor: i,
2742
+ activeColor: o,
2743
+ onClickElement: l,
2744
+ columns: c,
2745
2745
  elementButtons: u,
2746
- moreInfo: h,
2747
- processTooltip: g,
2748
- defaultTooltip: y
2746
+ moreInfo: m,
2747
+ processTooltip: h,
2748
+ defaultTooltip: _
2749
2749
  },
2750
2750
  `elementKey${b.id}`
2751
2751
  )) }),
2752
- c && /* @__PURE__ */ s("div", { className: q.newElementButtonContainer, children: /* @__PURE__ */ s(
2753
- ge,
2752
+ a && /* @__PURE__ */ s("div", { className: P.newElementButtonContainer, children: /* @__PURE__ */ s(
2753
+ Ce,
2754
2754
  {
2755
2755
  style: { ...t },
2756
- onClick: c.onClick,
2756
+ onClick: a.onClick,
2757
2757
  borderColor: "grey",
2758
- children: C(c.label)
2758
+ children: f(a.label)
2759
2759
  }
2760
2760
  ) })
2761
2761
  ]
@@ -2808,31 +2808,31 @@ En.propTypes = {
2808
2808
  processTooltip: e.string,
2809
2809
  defaultTooltip: e.string
2810
2810
  };
2811
- const pe = {
2811
+ const he = {
2812
2812
  text: "text",
2813
2813
  password: "password",
2814
2814
  radioList: "radioList",
2815
2815
  select: "select"
2816
- }, qn = "_textInputContainer_1o3iy_2", zn = "_labelContainer_1o3iy_5", jn = "_inputContainer_1o3iy_8", Zn = "_showPasswordButton_1o3iy_14", Hn = "_forgotPassButton_1o3iy_26", oe = {
2817
- textInputContainer: qn,
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
2818
  labelContainer: zn,
2819
2819
  inputContainer: jn,
2820
2820
  showPasswordButton: Zn,
2821
- forgotPassButton: Hn
2821
+ forgotPassButton: Kn
2822
2822
  };
2823
- var Kn = (n) => n.type === "checkbox", Un = (n) => n instanceof Date, pt = (n) => n == null;
2823
+ var Hn = (n) => n.type === "checkbox", Un = (n) => n instanceof Date, pt = (n) => n == null;
2824
2824
  const Gn = (n) => typeof n == "object";
2825
- var re = (n) => !pt(n) && !Array.isArray(n) && Gn(n) && !Un(n), Yn = (n) => re(n) && n.target ? Kn(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) => {
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) => {
2826
2826
  const d = n.constructor && n.constructor.prototype;
2827
- return re(d) && d.hasOwnProperty("isPrototypeOf");
2827
+ return le(d) && d.hasOwnProperty("isPrototypeOf");
2828
2828
  }, Jn = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2829
2829
  function mt(n) {
2830
2830
  let d;
2831
- const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
2831
+ const i = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
2832
2832
  if (n instanceof Date)
2833
2833
  d = new Date(n);
2834
- else if (!(Jn && (n instanceof Blob || i)) && (o || re(n)))
2835
- if (d = o ? [] : {}, !o && !Xn(n))
2834
+ else if (!(Jn && (n instanceof Blob || o)) && (i || le(n)))
2835
+ if (d = i ? [] : {}, !i && !Xn(n))
2836
2836
  d = n;
2837
2837
  else
2838
2838
  for (const t in n)
@@ -2841,24 +2841,24 @@ function mt(n) {
2841
2841
  return n;
2842
2842
  return d;
2843
2843
  }
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, o) => {
2845
- if (!d || !re(n))
2846
- return o;
2847
- const i = (ht(d) ? [d] : gt(d)).reduce((t, r) => pt(t) ? t : t[r], n);
2848
- return Te(i) || i === n ? Te(n[d]) ? o : n[d] : i;
2849
- }, ke = (n) => typeof n == "boolean", We = (n, d, o) => {
2850
- let i = -1;
2851
- const t = ht(d) ? [d] : gt(d), r = t.length, c = r - 1;
2852
- for (; ++i < r; ) {
2853
- const a = t[i];
2854
- let l = o;
2855
- if (i !== c) {
2856
- const u = n[a];
2857
- l = re(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
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))
2846
+ 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) => {
2850
+ let o = -1;
2851
+ const t = ht(d) ? [d] : gt(d), r = t.length, a = r - 1;
2852
+ for (; ++o < r; ) {
2853
+ const l = t[o];
2854
+ let c = i;
2855
+ if (o !== a) {
2856
+ const u = n[l];
2857
+ c = le(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
2858
2858
  }
2859
- if (a === "__proto__" || a === "constructor" || a === "prototype")
2859
+ if (l === "__proto__" || l === "constructor" || l === "prototype")
2860
2860
  return;
2861
- n[a] = l, n = n[a];
2861
+ n[l] = c, n = n[l];
2862
2862
  }
2863
2863
  };
2864
2864
  const Qe = {
@@ -2869,22 +2869,22 @@ const Qe = {
2869
2869
  }, Ct = B.createContext(null);
2870
2870
  Ct.displayName = "HookFormContext";
2871
2871
  const Re = () => B.useContext(Ct);
2872
- var t1 = (n, d, o, i = !0) => {
2872
+ var t1 = (n, d, i, o = !0) => {
2873
2873
  const t = {
2874
2874
  defaultValues: d._defaultValues
2875
2875
  };
2876
2876
  for (const r in n)
2877
2877
  Object.defineProperty(t, r, {
2878
2878
  get: () => {
2879
- const c = r;
2880
- return d._proxyFormState[c] !== Xe.all && (d._proxyFormState[c] = !i || Xe.all), o && (o[c] = !0), n[c];
2879
+ const a = r;
2880
+ return d._proxyFormState[a] !== Xe.all && (d._proxyFormState[a] = !o || Xe.all), i && (i[a] = !0), n[a];
2881
2881
  }
2882
2882
  });
2883
2883
  return t;
2884
2884
  };
2885
2885
  const ft = typeof window < "u" ? te.useLayoutEffect : te.useEffect;
2886
2886
  function n1(n) {
2887
- const d = Re(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [c, a] = B.useState(o._formState), l = B.useRef({
2887
+ const d = Re(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(i._formState), c = B.useRef({
2888
2888
  isDirty: !1,
2889
2889
  isLoading: !1,
2890
2890
  dirtyFields: !1,
@@ -2894,205 +2894,209 @@ function n1(n) {
2894
2894
  isValid: !1,
2895
2895
  errors: !1
2896
2896
  });
2897
- return ft(() => o._subscribe({
2897
+ return ft(() => i._subscribe({
2898
2898
  name: t,
2899
- formState: l.current,
2899
+ formState: c.current,
2900
2900
  exact: r,
2901
2901
  callback: (u) => {
2902
- !i && a({
2903
- ...o._formState,
2902
+ !o && l({
2903
+ ...i._formState,
2904
2904
  ...u
2905
2905
  });
2906
2906
  }
2907
- }), [t, i, r]), B.useEffect(() => {
2908
- l.current.isValid && o._setValid(!0);
2909
- }, [o]), B.useMemo(() => t1(c, o, l.current, !1), [c, o]);
2907
+ }), [t, o, r]), B.useEffect(() => {
2908
+ c.current.isValid && i._setValid(!0);
2909
+ }, [i]), B.useMemo(() => t1(a, i, c.current, !1), [a, i]);
2910
2910
  }
2911
- var i1 = (n) => typeof n == "string", o1 = (n, d, o, i, t) => i1(n) ? A(o, n, t) : Array.isArray(n) ? n.map((r) => A(o, r)) : o;
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
2912
  function s1(n) {
2913
- const d = Re(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: c } = n || {}, a = B.useRef(t), [l, u] = B.useState(o._getWatch(i, a.current));
2914
- return ft(() => o._subscribe({
2915
- name: i,
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({
2915
+ name: o,
2916
2916
  formState: {
2917
2917
  values: !0
2918
2918
  },
2919
- exact: c,
2920
- callback: (h) => !r && u(o1(i, o._names, h.values || o._formValues, !1, a.current))
2921
- }), [i, o, r, c]), B.useEffect(() => o._removeUnmounted()), l;
2919
+ 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;
2922
2922
  }
2923
2923
  function r1(n) {
2924
- const d = Re(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, c = Qn(t._names.array, o), a = s1({
2924
+ const d = Re(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = Qn(t._names.array, i), l = s1({
2925
2925
  control: t,
2926
- name: o,
2927
- defaultValue: A(t._formValues, o, A(t._defaultValues, o, n.defaultValue)),
2926
+ name: i,
2927
+ defaultValue: A(t._formValues, i, A(t._defaultValues, i, n.defaultValue)),
2928
2928
  exact: !0
2929
- }), l = n1({
2929
+ }), c = n1({
2930
2930
  control: t,
2931
- name: o,
2931
+ name: i,
2932
2932
  exact: !0
2933
- }), u = B.useRef(n), h = B.useRef(t.register(o, {
2933
+ }), u = B.useRef(n), m = B.useRef(t.register(i, {
2934
2934
  ...n.rules,
2935
- value: a,
2935
+ value: l,
2936
2936
  ...ke(n.disabled) ? { disabled: n.disabled } : {}
2937
- })), g = B.useMemo(() => Object.defineProperties({}, {
2937
+ })), h = B.useMemo(() => Object.defineProperties({}, {
2938
2938
  invalid: {
2939
2939
  enumerable: !0,
2940
- get: () => !!A(l.errors, o)
2940
+ get: () => !!A(c.errors, i)
2941
2941
  },
2942
2942
  isDirty: {
2943
2943
  enumerable: !0,
2944
- get: () => !!A(l.dirtyFields, o)
2944
+ get: () => !!A(c.dirtyFields, i)
2945
2945
  },
2946
2946
  isTouched: {
2947
2947
  enumerable: !0,
2948
- get: () => !!A(l.touchedFields, o)
2948
+ get: () => !!A(c.touchedFields, i)
2949
2949
  },
2950
2950
  isValidating: {
2951
2951
  enumerable: !0,
2952
- get: () => !!A(l.validatingFields, o)
2952
+ get: () => !!A(c.validatingFields, i)
2953
2953
  },
2954
2954
  error: {
2955
2955
  enumerable: !0,
2956
- get: () => A(l.errors, o)
2956
+ get: () => A(c.errors, i)
2957
2957
  }
2958
- }), [l, o]), y = B.useCallback((p) => h.current.onChange({
2958
+ }), [c, i]), _ = B.useCallback((C) => m.current.onChange({
2959
2959
  target: {
2960
- value: Yn(p),
2961
- name: o
2960
+ value: Yn(C),
2961
+ name: i
2962
2962
  },
2963
2963
  type: Qe.CHANGE
2964
- }), [o]), C = B.useCallback(() => h.current.onBlur({
2964
+ }), [i]), f = B.useCallback(() => m.current.onBlur({
2965
2965
  target: {
2966
- value: A(t._formValues, o),
2967
- name: o
2966
+ value: A(t._formValues, i),
2967
+ name: i
2968
2968
  },
2969
2969
  type: Qe.BLUR
2970
- }), [o, t._formValues]), f = B.useCallback((p) => {
2971
- const b = A(t._fields, o);
2972
- b && p && (b._f.ref = {
2973
- focus: () => p.focus && p.focus(),
2974
- select: () => p.select && p.select(),
2975
- setCustomValidity: (v) => p.setCustomValidity(v),
2976
- reportValidity: () => p.reportValidity()
2970
+ }), [i, t._formValues]), g = B.useCallback((C) => {
2971
+ const b = A(t._fields, i);
2972
+ b && C && (b._f.ref = {
2973
+ focus: () => C.focus && C.focus(),
2974
+ select: () => C.select && C.select(),
2975
+ setCustomValidity: (w) => C.setCustomValidity(w),
2976
+ reportValidity: () => C.reportValidity()
2977
2977
  });
2978
- }, [t._fields, o]), _ = B.useMemo(() => ({
2979
- name: o,
2980
- value: a,
2981
- ...ke(i) || l.disabled ? { disabled: l.disabled || i } : {},
2982
- onChange: y,
2983
- onBlur: C,
2984
- ref: f
2985
- }), [o, i, l.disabled, y, C, f, a]);
2978
+ }, [t._fields, i]), y = B.useMemo(() => ({
2979
+ name: i,
2980
+ value: l,
2981
+ ...ke(o) || c.disabled ? { disabled: c.disabled || o } : {},
2982
+ onChange: _,
2983
+ onBlur: f,
2984
+ ref: g
2985
+ }), [i, o, c.disabled, _, f, g, l]);
2986
2986
  return B.useEffect(() => {
2987
- const p = t._options.shouldUnregister || r;
2988
- t.register(o, {
2987
+ const C = t._options.shouldUnregister || r;
2988
+ t.register(i, {
2989
2989
  ...u.current.rules,
2990
2990
  ...ke(u.current.disabled) ? { disabled: u.current.disabled } : {}
2991
2991
  });
2992
- const b = (v, x) => {
2993
- const w = A(t._fields, v);
2994
- w && w._f && (w._f.mount = x);
2992
+ const b = (w, x) => {
2993
+ const v = A(t._fields, w);
2994
+ v && v._f && (v._f.mount = x);
2995
2995
  };
2996
- if (b(o, !0), p) {
2997
- const v = mt(A(t._options.defaultValues, o));
2998
- We(t._defaultValues, o, v), Te(A(t._formValues, o)) && We(t._formValues, o, v);
2996
+ 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);
2999
2999
  }
3000
- return !c && t.register(o), () => {
3001
- (c ? p && !t._state.action : p) ? t.unregister(o) : b(o, !1);
3000
+ return !a && t.register(i), () => {
3001
+ (a ? C && !t._state.action : C) ? t.unregister(i) : b(i, !1);
3002
3002
  };
3003
- }, [o, t, c, r]), B.useEffect(() => {
3003
+ }, [i, t, a, r]), B.useEffect(() => {
3004
3004
  t._setDisabledField({
3005
- disabled: i,
3006
- name: o
3005
+ disabled: o,
3006
+ name: i
3007
3007
  });
3008
- }, [i, o, t]), B.useMemo(() => ({
3009
- field: _,
3010
- formState: l,
3011
- fieldState: g
3012
- }), [_, l, g]);
3008
+ }, [o, i, t]), B.useMemo(() => ({
3009
+ field: y,
3010
+ formState: c,
3011
+ fieldState: h
3012
+ }), [y, c, h]);
3013
3013
  }
3014
- const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3014
+ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3015
3015
  errorMessage: a1
3016
- }, Ce = ({
3016
+ }, fe = ({
3017
3017
  errorMessage: n,
3018
3018
  errorColor: d = "red",
3019
- containerStyles: o
3019
+ containerStyles: i
3020
3020
  }) => {
3021
- const { t: i } = k();
3021
+ const { t: o } = k();
3022
3022
  return /* @__PURE__ */ s(
3023
3023
  "div",
3024
3024
  {
3025
3025
  className: l1.errorMessage,
3026
- style: { color: d, ...o },
3027
- children: n ? i(n) : ""
3026
+ style: { color: d, ...i },
3027
+ children: n ? o(n) : ""
3028
3028
  }
3029
3029
  );
3030
- }, Je = ({ input: n, control: d }) => {
3030
+ }, Je = ({ input: n, reactHookFormInstance: d }) => {
3031
3031
  const {
3032
- code: o,
3033
- type: i,
3032
+ code: i,
3033
+ type: o,
3034
3034
  label: t,
3035
3035
  maxLength: r,
3036
- required: c,
3037
- validateFunction: a,
3038
- placeholder: l,
3036
+ required: a,
3037
+ validateFunction: l,
3038
+ placeholder: c,
3039
3039
  errorColor: u = "red",
3040
- width: h = 325,
3041
- onClickForgotPass: g = () => {
3040
+ width: m = 325,
3041
+ onClickForgotPass: h = () => {
3042
3042
  console.log("Click on forgot password");
3043
3043
  },
3044
- forgotPassLabel: y = "forgot-password"
3045
- } = n, { t: C } = k(), [f, _] = D(!1), p = () => i ? i === "password" && f ? "text" : i : "text";
3044
+ 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";
3046
3050
  return /* @__PURE__ */ s(
3047
- Pe,
3051
+ qe,
3048
3052
  {
3049
- name: o,
3050
- control: d,
3053
+ name: i,
3054
+ control: g,
3051
3055
  rules: {
3052
- required: c ? `${C(t)} ${C("errorMessages.required")}` : !1,
3056
+ required: a ? `${f(t)} ${f("errorMessages.required")}` : !1,
3053
3057
  maxLength: r || void 0,
3054
- validate: a || void 0
3058
+ validate: l || void 0
3055
3059
  },
3056
- render: ({ field: b, fieldState: v }) => {
3057
- var x;
3058
- return /* @__PURE__ */ m("div", { className: oe.textInputContainer, children: [
3059
- /* @__PURE__ */ m("h3", { className: oe.labelContainer, children: [
3060
- C(t),
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),
3061
3065
  " ",
3062
- c && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
3066
+ a && /* @__PURE__ */ s("label", { style: { color: S.error ? u : "" }, children: "*" })
3063
3067
  ] }),
3064
- /* @__PURE__ */ m(
3068
+ /* @__PURE__ */ p(
3065
3069
  "div",
3066
3070
  {
3067
- style: { position: "relative", width: h },
3068
- className: oe.inputContainer,
3071
+ style: { position: "relative", width: m },
3072
+ className: se.inputContainer,
3069
3073
  children: [
3070
3074
  /* @__PURE__ */ s(
3071
3075
  "input",
3072
3076
  {
3073
- type: p(),
3074
- ...b,
3075
- placeholder: l ? C(l) : "",
3077
+ type: v(),
3078
+ ...N,
3079
+ placeholder: c ? f(c) : "",
3076
3080
  maxLength: r || void 0
3077
3081
  }
3078
3082
  ),
3079
- i == "password" && /* @__PURE__ */ s(
3083
+ o == "password" && /* @__PURE__ */ s(
3080
3084
  "button",
3081
3085
  {
3082
- onClick: () => _(!f),
3086
+ onClick: () => w(!b),
3083
3087
  type: "button",
3084
- className: oe.showPasswordButton,
3085
- children: f ? "🙈" : "👁️"
3088
+ className: se.showPasswordButton,
3089
+ children: b ? "🙈" : "👁️"
3086
3090
  }
3087
3091
  )
3088
3092
  ]
3089
3093
  }
3090
3094
  ),
3091
- i == "password" && /* @__PURE__ */ s("div", { className: oe.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: C(y) }) }),
3095
+ o == "password" && /* @__PURE__ */ s("div", { className: se.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: h, children: f(_) }) }),
3092
3096
  /* @__PURE__ */ s(
3093
- Ce,
3097
+ fe,
3094
3098
  {
3095
- errorMessage: (x = v.error) == null ? void 0 : x.message,
3099
+ errorMessage: (D = S.error) == null ? void 0 : D.message,
3096
3100
  errorColor: u
3097
3101
  }
3098
3102
  )
@@ -3100,11 +3104,11 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3100
3104
  }
3101
3105
  }
3102
3106
  );
3103
- }, c1 = "_formContainer_b071f_2", d1 = "_formObjectContainer_b071f_11", u1 = "_buttonContainer_b071f_22", Ne = {
3107
+ }, c1 = "_formContainer_b071f_2", d1 = "_formObjectContainer_b071f_11", u1 = "_buttonContainer_b071f_22", Be = {
3104
3108
  formContainer: c1,
3105
3109
  formObjectContainer: d1,
3106
3110
  buttonContainer: u1
3107
- }, p1 = "_inputsContainer_10t9s_2", se = {
3111
+ }, p1 = "_inputsContainer_10t9s_2", re = {
3108
3112
  inputsContainer: p1
3109
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 = {
3110
3114
  selectInputContainer: m1,
@@ -3113,56 +3117,58 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3113
3117
  selectInput: C1,
3114
3118
  option: f1,
3115
3119
  dropdownArrow: b1
3116
- }, 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, control: d }) => {
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 }) => {
3117
3121
  const {
3118
- code: o,
3119
- type: i,
3122
+ code: i,
3123
+ type: o,
3120
3124
  label: t,
3121
3125
  maxLength: r,
3122
- required: c,
3123
- validateFunction: a,
3124
- placeholder: l,
3126
+ required: a,
3127
+ validateFunction: l,
3128
+ placeholder: c,
3125
3129
  errorColor: u = "red",
3126
- width: h = 325,
3127
- options: g = []
3128
- } = n, { t: y } = k();
3129
- return /* @__PURE__ */ s(
3130
- Pe,
3130
+ 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,
3131
3137
  {
3132
- name: o,
3133
- control: d,
3138
+ name: i,
3139
+ control: f,
3134
3140
  rules: {
3135
- required: c ? `${y(t)} ${y("errorMessages.required")}` : !1,
3136
- validate: a || void 0
3141
+ required: a ? `${_(t)} ${_("errorMessages.required")}` : !1,
3142
+ validate: l || void 0
3137
3143
  },
3138
- render: ({ field: C, fieldState: f }) => {
3139
- var _;
3140
- return /* @__PURE__ */ m("div", { className: ee.selectInputContainer, children: [
3141
- /* @__PURE__ */ m("h3", { className: ee.labelContainer, children: [
3142
- y(t),
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: [
3148
+ _(t),
3143
3149
  " ",
3144
- c && /* @__PURE__ */ s("label", { style: { color: f.error ? u : "" }, children: "*" })
3150
+ a && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
3145
3151
  ] }),
3146
- /* @__PURE__ */ m("div", { className: ee.inputContainer, style: { width: h }, children: [
3147
- /* @__PURE__ */ m(
3152
+ /* @__PURE__ */ p("div", { className: ee.inputContainer, style: { width: m }, children: [
3153
+ /* @__PURE__ */ p(
3148
3154
  "select",
3149
3155
  {
3150
- ...C,
3151
- onChange: (p) => {
3152
- const b = p.target.value, v = g.every((x) => typeof x.value == "number") ? Number(b) : b;
3153
- C.onChange(v);
3156
+ ...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);
3154
3160
  },
3155
3161
  className: ee.selectInput,
3156
3162
  children: [
3157
- /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: y(l || "selectOption") }),
3158
- g.map((p, b) => /* @__PURE__ */ s(
3163
+ /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
3164
+ h.map((v, N) => /* @__PURE__ */ s(
3159
3165
  "option",
3160
3166
  {
3161
- value: p.value,
3167
+ value: v.value,
3162
3168
  className: ee.option,
3163
- children: y(p.label)
3169
+ children: _(v.label)
3164
3170
  },
3165
- b
3171
+ N
3166
3172
  ))
3167
3173
  ]
3168
3174
  }
@@ -3177,9 +3183,9 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3177
3183
  )
3178
3184
  ] }),
3179
3185
  /* @__PURE__ */ s(
3180
- Ce,
3186
+ fe,
3181
3187
  {
3182
- errorMessage: (_ = f.error) == null ? void 0 : _.message,
3188
+ errorMessage: (x = w.error) == null ? void 0 : x.message,
3183
3189
  errorColor: u
3184
3190
  }
3185
3191
  )
@@ -3187,81 +3193,88 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3187
3193
  }
3188
3194
  }
3189
3195
  );
3190
- }, v1 = "_radioButtonContainer_3bp8g_2", w1 = "_wholeInputContainer_3bp8g_5", x1 = "_questionContainer_3bp8g_27", k1 = "_radioQuestion_3bp8g_59", N1 = "_inputContainer_3bp8g_63", B1 = "_required_3bp8g_92", S1 = "_radioInput_3bp8g_109", U = {
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 = {
3191
3197
  radioButtonContainer: v1,
3192
3198
  wholeInputContainer: w1,
3193
3199
  questionContainer: x1,
3194
- radioQuestion: k1,
3195
- inputContainer: N1,
3196
- required: B1,
3197
- radioInput: S1
3198
- }, D1 = ({ input: n, control: d }) => {
3200
+ radioQuestion: N1,
3201
+ inputContainer: k1,
3202
+ radioInput: B1
3203
+ }, S1 = ({ input: n, reactHookFormInstance: d }) => {
3199
3204
  const {
3200
- code: o,
3201
- type: i,
3202
- label: t,
3203
- maxLength: r,
3204
- required: c,
3205
- validateFunction: a,
3206
- placeholder: l,
3207
- errorColor: u = "red",
3208
- width: h = 325,
3209
- options: g = [],
3210
- multi: y = !1
3211
- } = n, { t: C } = k(), f = ({ options: p, onChange: b, actualValue: v }) => {
3212
- if (y && v && v.length > 0) {
3213
- let x = v.filter((w) => w !== p);
3205
+ code: i,
3206
+ label: o,
3207
+ required: t,
3208
+ validateFunction: r,
3209
+ errorColor: a = "red",
3210
+ options: l = [],
3211
+ 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);
3214
3215
  b(x);
3215
3216
  }
3216
- }, _ = ({ options: p, onChange: b, actualValue: v }) => {
3217
- y ? v && v.length > 0 ? b([...v, p]) : b([p]) : b(p);
3218
- };
3219
- return /* @__PURE__ */ s(
3220
- Pe,
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,
3221
3224
  {
3222
- control: d,
3223
- name: o,
3225
+ control: m,
3226
+ name: i,
3224
3227
  rules: {
3225
- validate: (p) => c && (p == null || p === "") ? `${C(t)} ${C("errorMessages.required")}` : null
3228
+ validate: (C) => t && (C == null || C === "") ? `${u(o)} ${u("errorMessages.required")}` : null
3226
3229
  },
3227
3230
  render: ({
3228
- formState: { errors: p },
3229
- field: { onChange: b, onBlur: v, value: x, ref: w },
3231
+ formState: { errors: C },
3232
+ field: { onChange: b, onBlur: w, value: x, ref: v },
3230
3233
  fieldState: N
3231
3234
  }) => {
3232
- var F;
3233
- return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: U.wholeInputContainer, children: [
3234
- t && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ s(
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(
3235
3238
  "h3",
3236
3239
  {
3237
- htmlFor: o + "id",
3238
- className: `${U.radioQuestion} ${c && U.required}`,
3239
- children: C(t)
3240
+ htmlFor: i + "id",
3241
+ className: `${U.radioQuestion} ${t && U.required}`,
3242
+ children: [
3243
+ u(o),
3244
+ " ",
3245
+ t && /* @__PURE__ */ s(
3246
+ "label",
3247
+ {
3248
+ style: { color: N.error ? a : "" },
3249
+ children: "*"
3250
+ }
3251
+ )
3252
+ ]
3240
3253
  }
3241
3254
  ) }),
3242
- /* @__PURE__ */ m("div", { className: U.inputContainer, children: [
3243
- g.map(
3255
+ /* @__PURE__ */ p("div", { className: U.inputContainer, children: [
3256
+ l.map(
3244
3257
  ({
3245
- label: L,
3258
+ label: D,
3246
3259
  value: z,
3247
- disabled: ae = !1,
3248
- italicLabel: le
3260
+ disabled: ce = !1,
3261
+ italicLabel: de
3249
3262
  }, R) => {
3250
- const P = x && y ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === z) : x === z;
3251
- return /* @__PURE__ */ m("label", { children: [
3263
+ const q = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === z) : x === z;
3264
+ return /* @__PURE__ */ p("label", { children: [
3252
3265
  /* @__PURE__ */ s(
3253
3266
  "input",
3254
3267
  {
3255
3268
  type: "radio",
3256
- checked: P,
3269
+ checked: q,
3257
3270
  onChange: () => {
3258
- y ? P ? f({
3271
+ c ? q ? f({
3259
3272
  actualValue: x,
3260
- options: g,
3273
+ options: l,
3261
3274
  onChange: b
3262
- }) : _({
3275
+ }) : g({
3263
3276
  actualValue: x,
3264
- options: g,
3277
+ options: l,
3265
3278
  onChange: b
3266
3279
  }) : b(z);
3267
3280
  },
@@ -3269,15 +3282,15 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3269
3282
  }
3270
3283
  ),
3271
3284
  /* @__PURE__ */ s("span", { className: "radio-custom" }),
3272
- L
3273
- ] });
3285
+ u(D)
3286
+ ] }, `inputRadio ${R}`);
3274
3287
  }
3275
3288
  ),
3276
3289
  /* @__PURE__ */ s(
3277
- Ce,
3290
+ fe,
3278
3291
  {
3279
- errorMessage: (F = N.error) == null ? void 0 : F.message,
3280
- errorColor: u
3292
+ errorMessage: (S = N.error) == null ? void 0 : S.message,
3293
+ errorColor: a
3281
3294
  }
3282
3295
  )
3283
3296
  ] })
@@ -3285,156 +3298,197 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3285
3298
  }
3286
3299
  }
3287
3300
  );
3288
- }, Be = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: se.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
3289
- const { inputType: r } = i;
3290
- switch (r) {
3291
- case pe.text:
3292
- const { code: c, type: a, label: l, maxLength: u, required: h, validateFunction: g } = i;
3293
- return /* @__PURE__ */ s(
3294
- "div",
3295
- {
3296
- className: se.inputContainer,
3297
- style: { ...o },
3298
- children: /* @__PURE__ */ s(Je, { input: i, control: d })
3299
- }
3300
- );
3301
- case pe.password:
3302
- return /* @__PURE__ */ s(
3303
- "div",
3304
- {
3305
- className: se.inputContainer,
3306
- style: { ...o },
3307
- children: /* @__PURE__ */ s(Je, { input: i, control: d })
3308
- }
3309
- );
3310
- case pe.select:
3311
- return /* @__PURE__ */ s(
3312
- "div",
3313
- {
3314
- className: se.inputContainer,
3315
- style: { ...o },
3316
- children: /* @__PURE__ */ s(_1, { input: i, control: d })
3317
- }
3318
- );
3319
- case pe.radioList:
3320
- return /* @__PURE__ */ s(
3321
- "div",
3322
- {
3323
- className: se.inputContainer,
3324
- style: { ...o },
3325
- children: /* @__PURE__ */ s(D1, { input: i, control: d })
3326
- }
3327
- );
3328
- default:
3329
- return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
3330
- }
3331
- }) }), di = ({
3301
+ }, Se = ({
3302
+ inputs: n,
3303
+ inputContainerStyles: d,
3304
+ reactHookFormInstance: i
3305
+ }) => {
3306
+ const { watch: o } = i, t = o(), r = ae(() => n.map((a) => {
3307
+ const l = typeof a.required == "function" ? a.required(t) : a.required;
3308
+ return {
3309
+ ...a,
3310
+ required: l
3311
+ };
3312
+ }), [n, t]);
3313
+ return /* @__PURE__ */ s("div", { className: re.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
3314
+ const { inputType: c } = a;
3315
+ switch (c) {
3316
+ case he.text:
3317
+ return /* @__PURE__ */ s(
3318
+ "div",
3319
+ {
3320
+ className: re.inputContainer,
3321
+ style: { ...d },
3322
+ children: /* @__PURE__ */ s(
3323
+ Je,
3324
+ {
3325
+ input: a,
3326
+ reactHookFormInstance: i
3327
+ }
3328
+ )
3329
+ },
3330
+ `${a.code}${l}`
3331
+ );
3332
+ case he.password:
3333
+ return /* @__PURE__ */ s(
3334
+ "div",
3335
+ {
3336
+ className: re.inputContainer,
3337
+ style: { ...d },
3338
+ children: /* @__PURE__ */ s(
3339
+ Je,
3340
+ {
3341
+ input: a,
3342
+ reactHookFormInstance: i
3343
+ }
3344
+ )
3345
+ },
3346
+ `${a.code}${l}`
3347
+ );
3348
+ case he.select:
3349
+ return /* @__PURE__ */ s(
3350
+ "div",
3351
+ {
3352
+ className: re.inputContainer,
3353
+ style: { ...d },
3354
+ children: /* @__PURE__ */ s(
3355
+ _1,
3356
+ {
3357
+ input: a,
3358
+ reactHookFormInstance: i
3359
+ }
3360
+ )
3361
+ },
3362
+ `${a.code}${l}`
3363
+ );
3364
+ case he.radioList:
3365
+ return /* @__PURE__ */ s(
3366
+ "div",
3367
+ {
3368
+ className: re.inputContainer,
3369
+ style: { ...d },
3370
+ children: /* @__PURE__ */ s(
3371
+ S1,
3372
+ {
3373
+ input: a,
3374
+ reactHookFormInstance: i
3375
+ }
3376
+ )
3377
+ },
3378
+ `${a.code}${l}`
3379
+ );
3380
+ default:
3381
+ return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${a.code}${l}`);
3382
+ }
3383
+ }) });
3384
+ }, ci = ({
3332
3385
  reactHookFormInstance: n,
3333
3386
  formObject: d,
3334
3387
  //Component with {title, children} as props.
3335
3388
  // Used to render a category section in the form.
3336
3389
  //If not provided, a default component will be used.
3337
- CategoryComponent: o,
3338
- inputContainerStyles: i,
3390
+ CategoryComponent: i,
3391
+ inputContainerStyles: o,
3339
3392
  generalError: t,
3340
3393
  errorColor: r = "red",
3341
- submitButtonLabel: c = "Submit",
3342
- submitButtonStyles: a = { width: 325 },
3343
- activeCategory: l = null,
3394
+ submitButtonLabel: a = "Submit",
3395
+ submitButtonStyles: l = { width: 325 },
3396
+ activeCategory: c = null,
3344
3397
  // If provided, only the category with this categoryId will be displayed.
3345
- onSubmit: u = (h) => console.log("Form submitted with data: ", h)
3398
+ onSubmit: u = (m) => console.log("Form submitted with data: ", m)
3346
3399
  }) => {
3347
3400
  const {
3348
- register: h,
3349
- handleSubmit: g,
3350
- watch: y,
3351
- control: C,
3352
- formState: { errors: f }
3353
- } = n, { t: _ } = k();
3401
+ handleSubmit: m,
3402
+ control: h,
3403
+ formState: { errors: _ }
3404
+ } = n, { t: f } = k();
3354
3405
  return (
3355
3406
  /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3356
- /* @__PURE__ */ m("form", { className: Ne.formContainer, onSubmit: g(u), children: [
3357
- /* @__PURE__ */ s("div", { className: Ne.formObjectContainer, children: d && d.map((p, b) => {
3358
- const { inputs: v } = p;
3359
- return p.category ? o ? /* @__PURE__ */ s(
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(
3360
3411
  "div",
3361
3412
  {
3362
3413
  style: {
3363
- display: l && p.categoryId !== l ? "none" : "inherit",
3414
+ display: c && g.categoryId !== c ? "none" : "inherit",
3364
3415
  width: "100%"
3365
3416
  },
3366
3417
  children: /* @__PURE__ */ s(
3367
- o,
3418
+ i,
3368
3419
  {
3369
- title: p.category,
3420
+ title: g.category,
3370
3421
  children: /* @__PURE__ */ s(
3371
- Be,
3422
+ Se,
3372
3423
  {
3373
- inputs: v,
3374
- control: C,
3375
- inputContainerStyles: i,
3376
- errorColor: r
3424
+ inputs: C,
3425
+ control: h,
3426
+ inputContainerStyles: o,
3427
+ errorColor: r,
3428
+ formInstance: n
3377
3429
  }
3378
3430
  )
3379
3431
  },
3380
- `${p.category}${b}`
3432
+ `${g.category}${y}`
3381
3433
  )
3382
3434
  }
3383
- ) : /* @__PURE__ */ m(
3435
+ ) : /* @__PURE__ */ p(
3384
3436
  "div",
3385
3437
  {
3386
3438
  style: {
3387
3439
  width: "100%",
3388
- display: l && p.categoryId !== l ? "none" : "flex",
3440
+ display: c && g.categoryId !== c ? "none" : "flex",
3389
3441
  flexDirection: "column"
3390
3442
  },
3391
3443
  children: [
3392
- /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: _(p.category) }),
3444
+ /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f(g.category) }),
3393
3445
  /* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
3394
- Be,
3446
+ Se,
3395
3447
  {
3396
- inputs: v,
3397
- control: C,
3398
- inputContainerStyles: i,
3399
- errorColor: r
3448
+ inputs: C,
3449
+ control: h,
3450
+ inputContainerStyles: o,
3451
+ errorColor: r,
3452
+ reactHookFormInstance: n
3400
3453
  }
3401
3454
  ) })
3402
3455
  ]
3403
3456
  },
3404
- `${p.category}${b}`
3457
+ `${g.category}${y}`
3405
3458
  ) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3406
- Be,
3459
+ Se,
3407
3460
  {
3408
- inputContainerStyles: i,
3409
- inputs: v,
3410
- control: C,
3411
- errorColor: r
3461
+ inputContainerStyles: o,
3462
+ inputs: C,
3463
+ control: h,
3464
+ errorColor: r,
3465
+ reactHookFormInstance: n
3412
3466
  }
3413
- ) }, `inputKey${b}`);
3467
+ ) }, `inputKey${y}`);
3414
3468
  }) }),
3415
- /* @__PURE__ */ m("div", { className: Ne.buttonContainer, children: [
3416
- /* @__PURE__ */ s(ge, { containerStyles: a, type: "submit", children: _(c) }),
3417
- /* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
3469
+ /* @__PURE__ */ p("div", { className: Be.buttonContainer, children: [
3470
+ /* @__PURE__ */ s(Ce, { containerStyles: l, type: "submit", children: f(a) }),
3471
+ /* @__PURE__ */ s(fe, { errorMessage: t, errorColor: r })
3418
3472
  ] })
3419
3473
  ] })
3420
3474
  );
3421
- }, M1 = "_header_13kbt_2", F1 = "_leftComponents_13kbt_13", L1 = "_centerComponents_13kbt_14", T1 = "_rightComponents_13kbt_15", $1 = "_componentsContainer_13kbt_32", G = {
3422
- header: M1,
3423
- leftComponents: F1,
3475
+ }, D1 = "_header_13kbt_2", M1 = "_leftComponents_13kbt_13", L1 = "_centerComponents_13kbt_14", $1 = "_rightComponents_13kbt_15", F1 = "_componentsContainer_13kbt_32", G = {
3476
+ header: D1,
3477
+ leftComponents: M1,
3424
3478
  centerComponents: L1,
3425
- rightComponents: T1,
3426
- componentsContainer: $1
3427
- }, V1 = ({
3479
+ rightComponents: $1,
3480
+ componentsContainer: F1
3481
+ }, T1 = ({
3428
3482
  cssProps: n,
3429
3483
  leftComponents: d = [],
3430
- centerComponents: o = [],
3431
- rightComponents: i = [],
3484
+ centerComponents: i = [],
3485
+ rightComponents: o = [],
3432
3486
  zIndex: t = 10,
3433
3487
  height: r = 60,
3434
- backgroundColor: c = "#605B56",
3435
- isFooter: a = !1
3488
+ backgroundColor: a = "#605B56",
3489
+ isFooter: l = !1
3436
3490
  // If true, it will apply footer styles
3437
- }) => /* @__PURE__ */ m(
3491
+ }) => /* @__PURE__ */ p(
3438
3492
  "div",
3439
3493
  {
3440
3494
  className: G.header,
@@ -3442,18 +3496,18 @@ const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3442
3496
  ...n,
3443
3497
  zIndex: t,
3444
3498
  height: r,
3445
- backgroundColor: c,
3446
- top: a ? "auto" : 0,
3447
- bottom: a ? 0 : "auto"
3499
+ backgroundColor: a,
3500
+ top: l ? "auto" : 0,
3501
+ bottom: l ? 0 : "auto"
3448
3502
  },
3449
3503
  children: [
3450
- /* @__PURE__ */ s("div", { className: G.leftComponents, children: d.map((l, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: l }, u)) }),
3451
- /* @__PURE__ */ s("div", { className: G.centerComponents, children: o.map((l, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: l }, u)) }),
3452
- /* @__PURE__ */ s("div", { className: G.rightComponents, children: i.map((l, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: l }, u)) })
3504
+ /* @__PURE__ */ s("div", { className: G.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
3505
+ /* @__PURE__ */ s("div", { className: G.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
3506
+ /* @__PURE__ */ s("div", { className: G.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) })
3453
3507
  ]
3454
3508
  }
3455
3509
  );
3456
- V1.propTypes = {
3510
+ T1.propTypes = {
3457
3511
  leftComponents: e.arrayOf(e.node),
3458
3512
  centerComponents: e.arrayOf(e.node),
3459
3513
  rightComponents: e.arrayOf(e.node),
@@ -3463,33 +3517,33 @@ V1.propTypes = {
3463
3517
  backgroundColor: e.string,
3464
3518
  isFooter: e.bool
3465
3519
  };
3466
- const A1 = "_sidebar_1fmjn_2", I1 = "_open_1fmjn_16", O1 = "_content_1fmjn_20", R1 = "_closeButton_1fmjn_26", me = {
3467
- sidebar: A1,
3468
- open: I1,
3469
- content: O1,
3470
- closeButton: R1
3471
- }, P1 = "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", E1 = ({
3520
+ const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20", O1 = "_closeButton_1fmjn_26", ge = {
3521
+ sidebar: V1,
3522
+ open: A1,
3523
+ content: I1,
3524
+ closeButton: O1
3525
+ }, 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 = ({
3472
3526
  width: n = "300px",
3473
3527
  children: d,
3474
- showRightBar: o,
3475
- onCloseBar: i
3528
+ showRightBar: i,
3529
+ onCloseBar: o
3476
3530
  }) => {
3477
3531
  const t = () => {
3478
- i();
3532
+ o();
3479
3533
  };
3480
3534
  return /* @__PURE__ */ s(
3481
3535
  "div",
3482
3536
  {
3483
- className: `${me.sidebar} ${o ? me.open : ""}`,
3484
- style: { width: o ? n : 0 },
3485
- children: o && /* @__PURE__ */ m("div", { className: me.content, children: [
3486
- /* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: P1, alt: "Close Sidebar" }) }),
3537
+ className: `${ge.sidebar} ${i ? ge.open : ""}`,
3538
+ style: { width: i ? n : 0 },
3539
+ children: i && /* @__PURE__ */ p("div", { className: ge.content, children: [
3540
+ /* @__PURE__ */ s("button", { className: ge.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: R1, alt: "Close Sidebar" }) }),
3487
3541
  d
3488
3542
  ] })
3489
3543
  }
3490
3544
  );
3491
3545
  };
3492
- E1.propTypes = {
3546
+ q1.propTypes = {
3493
3547
  width: e.string,
3494
3548
  children: e.node,
3495
3549
  showRightBar: e.bool,
@@ -3499,23 +3553,23 @@ export {
3499
3553
  l2 as AmbitSelector,
3500
3554
  _2 as ButtonsList,
3501
3555
  W as DropdownList,
3502
- oi as EditAmbit,
3503
- Ce as ErrorMessage,
3504
- K2 as FiltersAmbit,
3505
- di as Form,
3556
+ ii as EditAmbit,
3557
+ fe as ErrorMessage,
3558
+ H2 as FiltersAmbit,
3559
+ ci as Form,
3506
3560
  Q2 as Graphic,
3507
- V1 as HeaderSection,
3561
+ T1 as HeaderSection,
3508
3562
  g0 as IndicatorsList,
3509
3563
  v0 as LangSelector,
3510
3564
  O0 as Legend,
3511
3565
  En as ListSelector,
3512
3566
  Cn as LogInButton,
3513
- P0 as LogoApp,
3567
+ q0 as LogoApp,
3514
3568
  z0 as MapboxMap,
3515
3569
  G0 as MaplibreMap,
3516
- D1 as RadioButtonInput,
3517
- E1 as RightSidebar,
3518
- si as SectionBar,
3570
+ S1 as RadioButtonInput,
3571
+ q1 as RightSidebar,
3572
+ oi as SectionBar,
3519
3573
  _1 as SelectInput,
3520
3574
  Je as TextInput,
3521
3575
  cn as TimeSlider,