@tmf_ciclica/ciclicastorybook 1.1.48 → 1.1.51

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,80 +1,80 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._UserMenuTrigger_uglss_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}._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_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { jsxs as u, jsx as i, Fragment as X2 } from "react/jsx-runtime";
3
- import * as e2 from "react";
4
- import W, { useState as D, useEffect as F, useMemo as s2, useLayoutEffect as J2, useRef as v2 } from "react";
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._UserMenuTrigger_uglss_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_1qv06_2 ._labelContainer_1qv06_2{margin-bottom:25px}._textInputContainer_1qv06_2 ._inputContainer_1qv06_5{padding:7px;background-color:#605b5620;border-radius:4px}._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_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { jsxs as h, jsx as o, Fragment as ht } from "react/jsx-runtime";
3
+ import * as J from "react";
4
+ import k, { useState as D, useEffect as B, useMemo as ae, useLayoutEffect as gt, useRef as Se } from "react";
5
5
  import e from "prop-types";
6
- import { useTranslation as k, Trans as _2 } from "react-i18next";
7
- import { motion as w2 } from "framer-motion";
8
- import { create as Q2 } from "zustand";
9
- import * as S2 from "d3";
10
- import ee from "mapbox-gl";
11
- import { useSelector as g2, useDispatch as O2 } from "react-redux";
12
- import te, { Source as ne, Layer as ie, NavigationControl as oe, Popup as se } from "react-map-gl/mapbox";
13
- import l2 from "maplibre-gl";
14
- import { Protocol as re } from "pmtiles";
15
- import ae, { Source as le, Layer as ce, NavigationControl as de, Popup as pe } from "react-map-gl/maplibre";
16
- import { createSlice as I2 } from "@reduxjs/toolkit";
17
- import me from "@mui/material/Slider";
18
- import { createTheme as ue, Box as he } from "@mui/material";
19
- import { ThemeProvider as ge } from "@emotion/react";
20
- import { NavLink as Ce } from "react-router-dom";
21
- const fe = "_ambitSelector_mcunf_2", be = "_header_mcunf_13", ye = "_nameDateContainer_mcunf_23", ve = "_ambitName_mcunf_39", _e = "_ambitDate_mcunf_53", we = "_buttonsContainer_mcunf_67", xe = "_ambitListContainer_mcunf_76", ke = "_newAmbitButtonContainer_mcunf_80", E = {
22
- ambitSelector: fe,
23
- header: be,
24
- nameDateContainer: ye,
25
- ambitName: ve,
26
- ambitDate: _e,
27
- buttonsContainer: we,
28
- ambitListContainer: xe,
29
- newAmbitButtonContainer: ke
30
- }, Ne = "_ambitItem_1qa6u_2", Se = "_ambitNameDate_1qa6u_16", Me = "_ambitName_1qa6u_16", De = "_ambitDate_1qa6u_35", Be = "_ambitButtons_1qa6u_38", J = {
31
- ambitItem: Ne,
32
- ambitNameDate: Se,
33
- ambitName: Me,
34
- ambitDate: De,
35
- ambitButtons: Be
36
- }, Le = "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", Te = "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", Fe = "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", $e = "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", Ve = "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", Ae = "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", R2 = ({
37
- ambit: o,
6
+ import { useTranslation as N, Trans as Me } from "react-i18next";
7
+ import { motion as Fe } from "framer-motion";
8
+ import { create as Ct } from "zustand";
9
+ import * as Ve from "d3";
10
+ import ft from "mapbox-gl";
11
+ import { useSelector as ve, useDispatch as Ke } from "react-redux";
12
+ import bt, { Source as yt, Layer as vt, NavigationControl as _t, Popup as xt } from "react-map-gl/mapbox";
13
+ import de from "maplibre-gl";
14
+ import { Protocol as wt } from "pmtiles";
15
+ import kt, { Source as Nt, Layer as St, NavigationControl as Mt, Popup as Ft } from "react-map-gl/maplibre";
16
+ import { createSlice as Ue } from "@reduxjs/toolkit";
17
+ import Dt from "@mui/material/Slider";
18
+ import { createTheme as Lt, Box as Bt } from "@mui/material";
19
+ import { ThemeProvider as Tt } from "@emotion/react";
20
+ import { NavLink as Vt } from "react-router-dom";
21
+ const $t = "_ambitSelector_mcunf_2", At = "_header_mcunf_13", It = "_nameDateContainer_mcunf_23", Ot = "_ambitName_mcunf_39", Rt = "_ambitDate_mcunf_53", Et = "_buttonsContainer_mcunf_67", Pt = "_ambitListContainer_mcunf_76", qt = "_newAmbitButtonContainer_mcunf_80", q = {
22
+ ambitSelector: $t,
23
+ header: At,
24
+ nameDateContainer: It,
25
+ ambitName: Ot,
26
+ ambitDate: Rt,
27
+ buttonsContainer: Et,
28
+ ambitListContainer: Pt,
29
+ newAmbitButtonContainer: qt
30
+ }, zt = "_ambitItem_1qa6u_2", jt = "_ambitNameDate_1qa6u_16", Zt = "_ambitName_1qa6u_16", Ht = "_ambitDate_1qa6u_35", Kt = "_ambitButtons_1qa6u_38", ee = {
31
+ ambitItem: zt,
32
+ ambitNameDate: jt,
33
+ ambitName: Zt,
34
+ ambitDate: Ht,
35
+ ambitButtons: Kt
36
+ }, Ut = "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", Gt = "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", Yt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", Wt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", Xt = "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", Jt = "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", Ge = ({
37
+ ambit: n,
38
38
  onClickCopy: d,
39
39
  onClickDelete: s,
40
- onClickFilters: n,
40
+ onClickFilters: i,
41
41
  onClickAmbit: t,
42
- isActive: a,
43
- activeColor: l,
44
- fontColor: r,
45
- moreInfo: c
42
+ isActive: r,
43
+ activeColor: c,
44
+ fontColor: a,
45
+ moreInfo: l
46
46
  }) => {
47
- const { nom: p, created_at: m, id: h, isBeingProcessed: b } = o;
48
- return /* @__PURE__ */ u(
47
+ const { nom: u, created_at: p, id: m, isBeingProcessed: y } = n;
48
+ return /* @__PURE__ */ h(
49
49
  "div",
50
50
  {
51
- className: J.ambitItem,
52
- style: { borderBottom: `1px solid ${r}` },
51
+ className: ee.ambitItem,
52
+ style: { borderBottom: `1px solid ${a}` },
53
53
  children: [
54
- /* @__PURE__ */ u("div", { className: J.ambitNameDate, onClick: () => t(h), children: [
55
- /* @__PURE__ */ u("div", { className: J.ambitName, children: [
56
- /* @__PURE__ */ i(
54
+ /* @__PURE__ */ h("div", { className: ee.ambitNameDate, onClick: () => t(m), children: [
55
+ /* @__PURE__ */ h("div", { className: ee.ambitName, children: [
56
+ /* @__PURE__ */ o(
57
57
  "img",
58
58
  {
59
59
  style: { marginRight: 9 },
60
- src: a ? Ve : Ae
60
+ src: r ? Xt : Jt
61
61
  }
62
62
  ),
63
- /* @__PURE__ */ i("span", { style: { color: a ? l : r }, children: p })
63
+ /* @__PURE__ */ o("span", { style: { color: r ? c : a }, children: u })
64
64
  ] }),
65
- /* @__PURE__ */ i("div", { className: J.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
65
+ /* @__PURE__ */ o("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ u("div", { className: J.ambitButtons, children: [
68
- b && /* @__PURE__ */ i("img", { src: $e }),
69
- /* @__PURE__ */ i("button", { onClick: () => n(h), disabled: o.is_default, children: /* @__PURE__ */ i("img", { src: Fe }) }),
70
- /* @__PURE__ */ i("button", { onClick: () => d(h), children: /* @__PURE__ */ i("img", { src: Te }) }),
71
- /* @__PURE__ */ i("button", { onClick: () => s(h), disabled: o.is_default, children: /* @__PURE__ */ i("img", { src: Le }) })
67
+ /* @__PURE__ */ h("div", { className: ee.ambitButtons, children: [
68
+ y && /* @__PURE__ */ o("img", { src: Wt }),
69
+ /* @__PURE__ */ o("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ o("img", { src: Yt }) }),
70
+ /* @__PURE__ */ o("button", { onClick: () => d(m), children: /* @__PURE__ */ o("img", { src: Gt }) }),
71
+ /* @__PURE__ */ o("button", { onClick: () => s(m), disabled: n.is_default, children: /* @__PURE__ */ o("img", { src: Ut }) })
72
72
  ] })
73
73
  ]
74
74
  }
75
75
  );
76
76
  };
77
- R2.propTypes = {
77
+ Ge.propTypes = {
78
78
  ambit: e.shape({
79
79
  nom: e.string.isRequired,
80
80
  created_at: e.string,
@@ -92,101 +92,101 @@ R2.propTypes = {
92
92
  moreInfo: e.object
93
93
  // Optional, can be used for additional info
94
94
  };
95
- const M2 = "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", Oe = "_generalButton_8d6ru_2", Ie = {
96
- generalButton: Oe
97
- }, x2 = ({
98
- children: o,
95
+ const $e = "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", Qt = "_generalButton_8d6ru_2", e2 = {
96
+ generalButton: Qt
97
+ }, De = ({
98
+ children: n,
99
99
  onClick: d,
100
100
  fontColor: s,
101
- borderColor: n
102
- }) => /* @__PURE__ */ i(
101
+ borderColor: i
102
+ }) => /* @__PURE__ */ o(
103
103
  "button",
104
104
  {
105
- className: Ie.generalButton,
106
- style: { color: s, border: `1.5px solid ${n}` },
105
+ className: e2.generalButton,
106
+ style: { color: s, border: `1.5px solid ${i}` },
107
107
  onClick: d,
108
- children: o
108
+ children: n
109
109
  }
110
- ), Re = ({
111
- ambitList: o,
110
+ ), t2 = ({
111
+ ambitList: n,
112
112
  activeAmbitId: d,
113
113
  fontColor: s = "#605B56",
114
- activeColor: n,
114
+ activeColor: i,
115
115
  nameLabel: t,
116
- dateLabel: a,
117
- newAmbitLabel: l = "New field",
118
- buttonContainerStyles: r = {},
119
- containerStyles: c = {},
120
- onCLickNewAmbit: p = () => console.log("New ambit clicked"),
121
- onClickCopy: m = (C) => console.log(`Copy ambit: ${C}`),
122
- onCLickDelete: h = (C) => console.log(`Delete ambit: ${C}`),
123
- onClickFilters: b = (C) => console.log(`Filters clicked: ${C}`),
116
+ dateLabel: r,
117
+ newAmbitLabel: c = "New field",
118
+ buttonContainerStyles: a = {},
119
+ containerStyles: l = {},
120
+ onCLickNewAmbit: u = () => console.log("New ambit clicked"),
121
+ onClickCopy: p = (C) => console.log(`Copy ambit: ${C}`),
122
+ onCLickDelete: m = (C) => console.log(`Delete ambit: ${C}`),
123
+ onClickFilters: y = (C) => console.log(`Filters clicked: ${C}`),
124
124
  onClickAmbit: g = (C) => console.log(`OnCLickAmbit: ${C}`)
125
125
  }) => {
126
- const { t: C } = k(), [f, v] = D(o);
127
- F(() => {
128
- o && v(o);
129
- }, [o]);
130
- const y = (w) => {
131
- if (f && f.length > 0) {
132
- let x = [...f];
133
- x.sort((_, N) => _[w].localeCompare(N[w])), v(x);
126
+ const { t: C } = N(), [b, f] = D(n);
127
+ B(() => {
128
+ n && f(n);
129
+ }, [n]);
130
+ const v = (x) => {
131
+ if (b && b.length > 0) {
132
+ let w = [...b];
133
+ w.sort((_, S) => _[x].localeCompare(S[x])), f(w);
134
134
  }
135
135
  };
136
- return /* @__PURE__ */ u(
136
+ return /* @__PURE__ */ h(
137
137
  "div",
138
138
  {
139
- className: E.ambitSelector,
140
- style: { color: s, ...c },
139
+ className: q.ambitSelector,
140
+ style: { color: s, ...l },
141
141
  children: [
142
- /* @__PURE__ */ u(
142
+ /* @__PURE__ */ h(
143
143
  "div",
144
144
  {
145
- className: E.header,
145
+ className: q.header,
146
146
  style: { borderBottom: `1px solid ${s}` },
147
147
  children: [
148
- /* @__PURE__ */ u("div", { className: E.nameDateContainer, children: [
149
- /* @__PURE__ */ i("div", { className: E.ambitName, children: /* @__PURE__ */ u("button", { onClick: () => y("name"), children: [
150
- /* @__PURE__ */ i("span", { children: C(t) }),
151
- /* @__PURE__ */ i("img", { src: M2 })
148
+ /* @__PURE__ */ h("div", { className: q.nameDateContainer, children: [
149
+ /* @__PURE__ */ o("div", { className: q.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => v("name"), children: [
150
+ /* @__PURE__ */ o("span", { children: C(t) }),
151
+ /* @__PURE__ */ o("img", { src: $e })
152
152
  ] }) }),
153
- /* @__PURE__ */ i("div", { className: E.ambitDate, children: /* @__PURE__ */ u("button", { onClick: () => y("date"), children: [
154
- /* @__PURE__ */ i("span", { children: C(a) }),
155
- /* @__PURE__ */ i("img", { src: M2 })
153
+ /* @__PURE__ */ o("div", { className: q.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => v("date"), children: [
154
+ /* @__PURE__ */ o("span", { children: C(r) }),
155
+ /* @__PURE__ */ o("img", { src: $e })
156
156
  ] }) })
157
157
  ] }),
158
- /* @__PURE__ */ i("div", { className: E.buttonsContainer })
158
+ /* @__PURE__ */ o("div", { className: q.buttonsContainer })
159
159
  ]
160
160
  }
161
161
  ),
162
- /* @__PURE__ */ i("div", { className: E.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ i(
163
- R2,
162
+ /* @__PURE__ */ o("div", { className: q.ambitListContainer, children: b && b.length > 0 && b.map((x) => /* @__PURE__ */ o(
163
+ Ge,
164
164
  {
165
- isActive: d == w.id,
166
- ambit: w,
165
+ isActive: d == x.id,
166
+ ambit: x,
167
167
  fontColor: s,
168
- activeColor: n,
169
- onClickCopy: m,
170
- onClickDelete: h,
171
- onClickFilters: b,
168
+ activeColor: i,
169
+ onClickCopy: p,
170
+ onClickDelete: m,
171
+ onClickFilters: y,
172
172
  onClickAmbit: g
173
173
  },
174
- `ambitKey${w.id}`
174
+ `ambitKey${x.id}`
175
175
  )) }),
176
- /* @__PURE__ */ i("div", { className: E.newAmbitButtonContainer, children: /* @__PURE__ */ i(
177
- x2,
176
+ /* @__PURE__ */ o("div", { className: q.newAmbitButtonContainer, children: /* @__PURE__ */ o(
177
+ De,
178
178
  {
179
- style: { ...r },
180
- onClick: p,
179
+ style: { ...a },
180
+ onClick: u,
181
181
  borderColor: "grey",
182
- children: C(l)
182
+ children: C(c)
183
183
  }
184
184
  ) })
185
185
  ]
186
186
  }
187
187
  );
188
188
  };
189
- Re.propTypes = {
189
+ t2.propTypes = {
190
190
  ambitList: e.arrayOf(
191
191
  e.shape({
192
192
  name: e.string.isRequired,
@@ -208,70 +208,70 @@ Re.propTypes = {
208
208
  containerStyles: e.object,
209
209
  onCLickNewAmbit: e.func
210
210
  };
211
- const Ee = "_buttonsContainer_1audx_2", Pe = "_vertical_1audx_6", qe = "_horizontal_1audx_9", ze = "_button_1audx_2", je = "_active_1audx_25", Ze = "_buttonName_1audx_28", q = {
212
- buttonsContainer: Ee,
213
- vertical: Pe,
214
- horizontal: qe,
215
- button: ze,
216
- active: je,
217
- buttonName: Ze
218
- }, He = "_left_1l4m4_2", Ke = "_top_1l4m4_40", Ue = "_bottom_1l4m4_79", Ge = "_right_1l4m4_118", Ye = {
219
- left: He,
220
- top: Ke,
221
- bottom: Ue,
222
- right: Ge
223
- }, H = ({ text: o, position: d, styleCustom: s = null }) => {
224
- const { t: n } = k();
225
- return /* @__PURE__ */ i("div", { className: `tooltip ${Ye[d]}`, style: s, children: n(o) });
226
- };
227
- H.propTypes = {
211
+ const n2 = "_buttonsContainer_1audx_2", i2 = "_vertical_1audx_6", s2 = "_horizontal_1audx_9", o2 = "_button_1audx_2", r2 = "_active_1audx_25", a2 = "_buttonName_1audx_28", j = {
212
+ buttonsContainer: n2,
213
+ vertical: i2,
214
+ horizontal: s2,
215
+ button: o2,
216
+ active: r2,
217
+ buttonName: a2
218
+ }, l2 = "_left_1l4m4_2", c2 = "_top_1l4m4_40", d2 = "_bottom_1l4m4_79", u2 = "_right_1l4m4_118", p2 = {
219
+ left: l2,
220
+ top: c2,
221
+ bottom: d2,
222
+ right: u2
223
+ }, U = ({ text: n, position: d, styleCustom: s = null }) => {
224
+ const { t: i } = N();
225
+ return /* @__PURE__ */ o("div", { className: `tooltip ${p2[d]}`, style: s, children: i(n) });
226
+ };
227
+ U.propTypes = {
228
228
  text: e.string.isRequired,
229
229
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
230
230
  styleCustom: e.object
231
231
  };
232
- const We = ({
233
- buttons: o = [],
232
+ const m2 = ({
233
+ buttons: n = [],
234
234
  orientation: d = "horizontal",
235
235
  showName: s = !0,
236
- namePosition: n = "right",
236
+ namePosition: i = "right",
237
237
  useTooltip: t = !1,
238
- tooltipPosition: a = "top"
238
+ tooltipPosition: r = "top"
239
239
  }) => {
240
- const { t: l } = k();
241
- return /* @__PURE__ */ i(
240
+ const { t: c } = N();
241
+ return /* @__PURE__ */ o(
242
242
  "div",
243
243
  {
244
- className: `${q.buttonsContainer} ${d === "vertical" && q.vertical}
245
- ${d === "horizontal" && q.horizontal}`,
246
- children: o.map((r, c) => {
244
+ className: `${j.buttonsContainer} ${d === "vertical" && j.vertical}
245
+ ${d === "horizontal" && j.horizontal}`,
246
+ children: n.map((a, l) => {
247
247
  const {
248
- icon: p,
249
- activeIcon: m,
250
- isActive: h,
251
- name: b,
248
+ icon: u,
249
+ activeIcon: p,
250
+ isActive: m,
251
+ name: y,
252
252
  onClick: g
253
- } = r, C = /* @__PURE__ */ u(X2, { children: [
254
- s && n === "left" && /* @__PURE__ */ i("span", { className: q.buttonName, children: l(b) }),
255
- /* @__PURE__ */ i("img", { src: h ? m : p, alt: l(b) }),
256
- s && n === "right" && /* @__PURE__ */ i("span", { className: q.buttonName, children: l(b) })
253
+ } = a, C = /* @__PURE__ */ h(ht, { children: [
254
+ s && i === "left" && /* @__PURE__ */ o("span", { className: j.buttonName, children: c(y) }),
255
+ /* @__PURE__ */ o("img", { src: m ? p : u, alt: c(y) }),
256
+ s && i === "right" && /* @__PURE__ */ o("span", { className: j.buttonName, children: c(y) })
257
257
  ] });
258
- return /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
259
- /* @__PURE__ */ i(
258
+ return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
259
+ /* @__PURE__ */ o(
260
260
  "button",
261
261
  {
262
262
  onClick: g,
263
- className: `${q.button}
264
- ${h && q.active}`,
263
+ className: `${j.button}
264
+ ${m && j.active}`,
265
265
  children: C
266
266
  }
267
267
  ),
268
- t && /* @__PURE__ */ i(H, { text: b, position: a })
269
- ] }, c);
268
+ t && /* @__PURE__ */ o(U, { text: y, position: r })
269
+ ] }, l);
270
270
  })
271
271
  }
272
272
  );
273
273
  };
274
- We.propTypes = {
274
+ m2.propTypes = {
275
275
  buttons: e.arrayOf(
276
276
  e.shape({
277
277
  icon: e.node.isRequired,
@@ -288,58 +288,58 @@ We.propTypes = {
288
288
  useTooltip: e.bool,
289
289
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
290
290
  };
291
- const Xe = "_indicatorsCategory_1cu33_2", Je = "_title_1cu33_5", c2 = {
292
- indicatorsCategory: Xe,
293
- title: Je
294
- }, K = ({
295
- isOpen: o,
291
+ const h2 = "_indicatorsCategory_1cu33_2", g2 = "_title_1cu33_5", ue = {
292
+ indicatorsCategory: h2,
293
+ title: g2
294
+ }, G = ({
295
+ isOpen: n,
296
296
  onClick: d,
297
297
  children: s,
298
- color: n,
298
+ color: i,
299
299
  activeColor: t = "#F8A925",
300
- title: a = "Title",
300
+ title: r = "Title",
301
301
  //Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
302
- height: l = 53,
302
+ height: c = 53,
303
303
  //Adjust height if you change fontSize
304
- titleFontStyles: r,
305
- showBottomBar: c = !0,
306
- titleMarginChildren: p = 25
304
+ titleFontStyles: a,
305
+ showBottomBar: l = !0,
306
+ titleMarginChildren: u = 25
307
307
  }) => {
308
- const { t: m } = k();
309
- return /* @__PURE__ */ u(
310
- w2.div,
308
+ const { t: p } = N();
309
+ return /* @__PURE__ */ h(
310
+ Fe.div,
311
311
  {
312
- className: c2.indicatorsCategory,
313
- initial: { height: `${l}px` },
314
- animate: { height: o ? "auto" : `${l}px` },
312
+ className: ue.indicatorsCategory,
313
+ initial: { height: `${c}px` },
314
+ animate: { height: n ? "auto" : `${c}px` },
315
315
  transition: { duration: 0.4 },
316
316
  style: {
317
317
  backgroundColor: "white",
318
- borderBottom: o && c ? `1px solid ${t}` : "0px",
319
- marginBottom: o ? "20px" : "0px"
318
+ borderBottom: n && l ? `1px solid ${t}` : "0px",
319
+ marginBottom: n ? "20px" : "0px"
320
320
  },
321
321
  children: [
322
- /* @__PURE__ */ u(
322
+ /* @__PURE__ */ h(
323
323
  "h2",
324
324
  {
325
325
  style: {
326
- ...r,
327
- marginBottom: p || "auto"
326
+ ...a,
327
+ marginBottom: u || "auto"
328
328
  },
329
- className: `${c2.title}`,
329
+ className: `${ue.title}`,
330
330
  onClick: d,
331
331
  children: [
332
- /* @__PURE__ */ i("span", { style: { color: o ? t : n }, children: o ? "-" : "+" }),
333
- /* @__PURE__ */ i("span", { style: { marginLeft: 12, color: o ? t : n }, children: m(a) })
332
+ /* @__PURE__ */ o("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
333
+ /* @__PURE__ */ o("span", { style: { marginLeft: 12, color: n ? t : i }, children: p(r) })
334
334
  ]
335
335
  }
336
336
  ),
337
- /* @__PURE__ */ i("div", { className: c2.content, children: s })
337
+ /* @__PURE__ */ o("div", { className: ue.content, children: s })
338
338
  ]
339
339
  }
340
340
  );
341
341
  };
342
- K.propTypes = {
342
+ G.propTypes = {
343
343
  isOpen: e.bool,
344
344
  onClick: e.func,
345
345
  children: e.node,
@@ -350,39 +350,39 @@ K.propTypes = {
350
350
  showBottomBar: e.bool,
351
351
  titleFontStyles: e.object
352
352
  };
353
- const H1 = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Qe = "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", et = "_AppliedFiltersContainer_s8ooe_2", tt = "_AppliedFilterContent_s8ooe_10", D2 = {
354
- AppliedFiltersContainer: et,
355
- AppliedFilterContent: tt
356
- }, B = Q2((o) => ({
353
+ const Ln = () => /* @__PURE__ */ o("div", { children: "EditAmbit" }), C2 = "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", f2 = "_AppliedFiltersContainer_s8ooe_2", b2 = "_AppliedFilterContent_s8ooe_10", Ae = {
354
+ AppliedFiltersContainer: f2,
355
+ AppliedFilterContent: b2
356
+ }, L = Ct((n) => ({
357
357
  activeCategory: "",
358
358
  activeSubCategory: "",
359
359
  selectedIndicator: "",
360
360
  tematicalFiltersSelected: [],
361
361
  fontColor: "#605B56",
362
362
  inputsColor: "#605B56"
363
- })), E2 = ({ title: o, onClick: d, isOpen: s = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: a }) => {
364
- const { t: l } = k(), { tematicalFiltersSelected: r } = B((p) => p), c = (p) => {
365
- B.setState((m) => ({
366
- tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
367
- (h) => h.code !== p
363
+ })), Ye = ({ title: n, onClick: d, isOpen: s = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
364
+ const { t: c } = N(), { tematicalFiltersSelected: a } = L((u) => u), l = (u) => {
365
+ L.setState((p) => ({
366
+ tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
367
+ (m) => m.code !== u
368
368
  )
369
369
  }));
370
370
  };
371
- return /* @__PURE__ */ i(
372
- K,
371
+ return /* @__PURE__ */ o(
372
+ G,
373
373
  {
374
374
  isOpen: s,
375
375
  onClick: d,
376
- title: o ? l(o) : "Applied Filters",
377
- activeColor: a,
378
- children: /* @__PURE__ */ i("div", { className: D2.AppliedFiltersContainer, children: r == null ? void 0 : r.map((p, m) => /* @__PURE__ */ u("div", { className: D2.AppliedFilterContent, style: { color: n, background: t }, children: [
379
- l(p.name),
380
- /* @__PURE__ */ i("img", { src: Qe, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
381
- ] }, m)) })
376
+ title: n ? c(n) : "Applied Filters",
377
+ activeColor: r,
378
+ children: /* @__PURE__ */ o("div", { className: Ae.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ h("div", { className: Ae.AppliedFilterContent, style: { color: i, background: t }, children: [
379
+ c(u.name),
380
+ /* @__PURE__ */ o("img", { src: C2, alt: "CloseIcon", onClick: () => l(u.code), style: { cursor: "pointer" } })
381
+ ] }, p)) })
382
382
  }
383
383
  );
384
384
  };
385
- E2.propTypes = {
385
+ Ye.propTypes = {
386
386
  isOpen: e.bool,
387
387
  onClick: e.func,
388
388
  title: e.string,
@@ -396,20 +396,20 @@ E2.propTypes = {
396
396
  ),
397
397
  activeColor: e.string
398
398
  };
399
- const P2 = ({ title: o, onClick: d, isOpen: s = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: a }) => {
400
- const { t: l } = k(), { tematicalFiltersSelected: r } = B((c) => c);
401
- return /* @__PURE__ */ i(
402
- K,
399
+ const We = ({ title: n, onClick: d, isOpen: s = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
400
+ const { t: c } = N(), { tematicalFiltersSelected: a } = L((l) => l);
401
+ return /* @__PURE__ */ o(
402
+ G,
403
403
  {
404
404
  isOpen: s,
405
405
  onClick: d,
406
- title: o ? l(o) : "Geographical Filters",
407
- activeColor: a,
406
+ title: n ? c(n) : "Geographical Filters",
407
+ activeColor: r,
408
408
  children: "A"
409
409
  }
410
410
  );
411
411
  };
412
- P2.propTypes = {
412
+ We.propTypes = {
413
413
  isOpen: e.bool,
414
414
  onClick: e.func,
415
415
  title: e.string,
@@ -417,25 +417,25 @@ P2.propTypes = {
417
417
  backgroundColor: e.string,
418
418
  activeColor: e.string
419
419
  };
420
- const nt = "_checkboxContainer_zld97_2", it = {
421
- checkboxContainer: nt
422
- }, q2 = ({
423
- onClick: o,
420
+ const y2 = "_checkboxContainer_zld97_2", v2 = {
421
+ checkboxContainer: y2
422
+ }, Xe = ({
423
+ onClick: n,
424
424
  containerStyles: d,
425
425
  color: s = "#605B56",
426
- indicator: n,
426
+ indicator: i,
427
427
  value: t
428
428
  }) => {
429
- const { t: a } = k(), { title: l } = n || {}, { fontColor: r, inputsColor: c } = B((p) => p);
430
- return /* @__PURE__ */ u(
429
+ const { t: r } = N(), { title: c } = i || {}, { fontColor: a, inputsColor: l } = L((u) => u);
430
+ return /* @__PURE__ */ h(
431
431
  "div",
432
432
  {
433
433
  style: { ...d, color: s },
434
434
  role: "checkbox",
435
- className: it.checkboxContainer,
436
- onClick: o,
435
+ className: v2.checkboxContainer,
436
+ onClick: n,
437
437
  children: [
438
- /* @__PURE__ */ i(
438
+ /* @__PURE__ */ o(
439
439
  "input",
440
440
  {
441
441
  type: "checkbox",
@@ -443,17 +443,17 @@ const nt = "_checkboxContainer_zld97_2", it = {
443
443
  value: t,
444
444
  readOnly: !0,
445
445
  style: {
446
- border: `1.5px solid ${t ? c : r}`,
447
- backgroundColor: t ? c : "white"
446
+ border: `1.5px solid ${t ? l : a}`,
447
+ backgroundColor: t ? l : "white"
448
448
  }
449
449
  }
450
450
  ),
451
- /* @__PURE__ */ i("span", { className: "checkmark", children: a(l) })
451
+ /* @__PURE__ */ o("span", { className: "checkmark", children: r(c) })
452
452
  ]
453
453
  }
454
454
  );
455
455
  };
456
- q2.propTypes = {
456
+ Xe.propTypes = {
457
457
  onClick: e.func,
458
458
  value: e.bool,
459
459
  containerStyles: e.object,
@@ -464,171 +464,171 @@ q2.propTypes = {
464
464
  }),
465
465
  checkedColor: e.string
466
466
  };
467
- function C2(o, d) {
468
- return C2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, n) {
469
- return s.__proto__ = n, s;
470
- }, C2(o, d);
467
+ function _e(n, d) {
468
+ return _e = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, i) {
469
+ return s.__proto__ = i, s;
470
+ }, _e(n, d);
471
471
  }
472
- function ot(o, d) {
473
- o.prototype = Object.create(d.prototype), o.prototype.constructor = o, C2(o, d);
472
+ function _2(n, d) {
473
+ n.prototype = Object.create(d.prototype), n.prototype.constructor = n, _e(n, d);
474
474
  }
475
- function d2(o) {
476
- return o && o.stopPropagation && o.stopPropagation(), o && o.preventDefault && o.preventDefault(), !1;
475
+ function pe(n) {
476
+ return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
477
477
  }
478
- function p2(o) {
479
- return o == null ? [] : Array.isArray(o) ? o.slice() : [o];
478
+ function me(n) {
479
+ return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
480
480
  }
481
- function t2(o) {
482
- return o !== null && o.length === 1 ? o[0] : o.slice();
481
+ function ie(n) {
482
+ return n !== null && n.length === 1 ? n[0] : n.slice();
483
483
  }
484
- function n2(o) {
485
- Object.keys(o).forEach((d) => {
486
- typeof document < "u" && document.addEventListener(d, o[d], !1);
484
+ function se(n) {
485
+ Object.keys(n).forEach((d) => {
486
+ typeof document < "u" && document.addEventListener(d, n[d], !1);
487
487
  });
488
488
  }
489
- function z(o, d) {
490
- return f2(function(s, n) {
489
+ function Z(n, d) {
490
+ return xe(function(s, i) {
491
491
  let t = s;
492
- return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
493
- }(o, d), d);
492
+ return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
493
+ }(n, d), d);
494
494
  }
495
- function f2(o, d) {
496
- const s = (o - d.min) % d.step;
497
- let n = o - s;
498
- return 2 * Math.abs(s) >= d.step && (n += s > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
495
+ function xe(n, d) {
496
+ const s = (n - d.min) % d.step;
497
+ let i = n - s;
498
+ return 2 * Math.abs(s) >= d.step && (i += s > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
499
499
  }
500
- let b2 = function(o) {
501
- function d(n) {
500
+ let we = function(n) {
501
+ function d(i) {
502
502
  var t;
503
- (t = o.call(this, n) || this).onKeyUp = () => {
503
+ (t = n.call(this, i) || this).onKeyUp = () => {
504
504
  t.onEnd();
505
505
  }, t.onMouseUp = () => {
506
506
  t.onEnd(t.getMouseEventMap());
507
- }, t.onTouchEnd = (r) => {
508
- r.preventDefault(), t.onEnd(t.getTouchEventMap());
507
+ }, t.onTouchEnd = (a) => {
508
+ a.preventDefault(), t.onEnd(t.getTouchEventMap());
509
509
  }, t.onBlur = () => {
510
510
  t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
511
- }, t.onMouseMove = (r) => {
511
+ }, t.onMouseMove = (a) => {
512
512
  t.setState({ pending: !0 });
513
- const c = t.getMousePosition(r), p = t.getDiffPosition(c[0]), m = t.getValueFromPosition(p);
514
- t.move(m);
515
- }, t.onTouchMove = (r) => {
516
- if (r.touches.length > 1) return;
513
+ const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), p = t.getValueFromPosition(u);
514
+ t.move(p);
515
+ }, t.onTouchMove = (a) => {
516
+ if (a.touches.length > 1) return;
517
517
  t.setState({ pending: !0 });
518
- const c = t.getTouchPosition(r);
518
+ const l = t.getTouchPosition(a);
519
519
  if (t.isScrolling === void 0) {
520
- const h = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
521
- t.isScrolling = Math.abs(b) > Math.abs(h);
520
+ const m = l[0] - t.startPosition[0], y = l[1] - t.startPosition[1];
521
+ t.isScrolling = Math.abs(y) > Math.abs(m);
522
522
  }
523
523
  if (t.isScrolling) return void t.setState({ index: -1 });
524
- const p = t.getDiffPosition(c[0]), m = t.getValueFromPosition(p);
525
- t.move(m);
526
- }, t.onKeyDown = (r) => {
527
- if (!(r.ctrlKey || r.shiftKey || r.altKey || r.metaKey)) switch (t.setState({ pending: !0 }), r.key) {
524
+ const u = t.getDiffPosition(l[0]), p = t.getValueFromPosition(u);
525
+ t.move(p);
526
+ }, t.onKeyDown = (a) => {
527
+ if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
528
528
  case "ArrowLeft":
529
529
  case "ArrowDown":
530
530
  case "Left":
531
531
  case "Down":
532
- r.preventDefault(), t.moveDownByStep();
532
+ a.preventDefault(), t.moveDownByStep();
533
533
  break;
534
534
  case "ArrowRight":
535
535
  case "ArrowUp":
536
536
  case "Right":
537
537
  case "Up":
538
- r.preventDefault(), t.moveUpByStep();
538
+ a.preventDefault(), t.moveUpByStep();
539
539
  break;
540
540
  case "Home":
541
- r.preventDefault(), t.move(t.props.min);
541
+ a.preventDefault(), t.move(t.props.min);
542
542
  break;
543
543
  case "End":
544
- r.preventDefault(), t.move(t.props.max);
544
+ a.preventDefault(), t.move(t.props.max);
545
545
  break;
546
546
  case "PageDown":
547
- r.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
547
+ a.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
548
548
  break;
549
549
  case "PageUp":
550
- r.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
550
+ a.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
551
551
  }
552
- }, t.onSliderMouseDown = (r) => {
553
- if (!t.props.disabled && r.button !== 2) {
552
+ }, t.onSliderMouseDown = (a) => {
553
+ if (!t.props.disabled && a.button !== 2) {
554
554
  if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
555
- const c = t.getMousePosition(r);
556
- t.forceValueFromPosition(c[0], (p) => {
557
- t.start(p, c[0]), n2(t.getMouseEventMap());
555
+ const l = t.getMousePosition(a);
556
+ t.forceValueFromPosition(l[0], (u) => {
557
+ t.start(u, l[0]), se(t.getMouseEventMap());
558
558
  });
559
559
  }
560
- d2(r);
560
+ pe(a);
561
561
  }
562
- }, t.onSliderClick = (r) => {
562
+ }, t.onSliderClick = (a) => {
563
563
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
564
- const c = t.getMousePosition(r), p = z(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
565
- t.props.onSliderClick(p);
564
+ const l = t.getMousePosition(a), u = Z(t.calcValue(t.calcOffsetFromPosition(l[0])), t.props);
565
+ t.props.onSliderClick(u);
566
566
  }
567
- }, t.createOnKeyDown = (r) => (c) => {
568
- t.props.disabled || (t.start(r), n2(t.getKeyDownEventMap()), d2(c));
569
- }, t.createOnMouseDown = (r) => (c) => {
570
- if (t.props.disabled || c.button === 2) return;
567
+ }, t.createOnKeyDown = (a) => (l) => {
568
+ t.props.disabled || (t.start(a), se(t.getKeyDownEventMap()), pe(l));
569
+ }, t.createOnMouseDown = (a) => (l) => {
570
+ if (t.props.disabled || l.button === 2) return;
571
571
  t.setState({ pending: !0 });
572
- const p = t.getMousePosition(c);
573
- t.start(r, p[0]), n2(t.getMouseEventMap()), d2(c);
574
- }, t.createOnTouchStart = (r) => (c) => {
575
- if (t.props.disabled || c.touches.length > 1) return;
572
+ const u = t.getMousePosition(l);
573
+ t.start(a, u[0]), se(t.getMouseEventMap()), pe(l);
574
+ }, t.createOnTouchStart = (a) => (l) => {
575
+ if (t.props.disabled || l.touches.length > 1) return;
576
576
  t.setState({ pending: !0 });
577
- const p = t.getTouchPosition(c);
578
- t.startPosition = p, t.isScrolling = void 0, t.start(r, p[0]), n2(t.getTouchEventMap()), function(m) {
579
- m.stopPropagation && m.stopPropagation();
580
- }(c);
577
+ const u = t.getTouchPosition(l);
578
+ t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), se(t.getTouchEventMap()), function(p) {
579
+ p.stopPropagation && p.stopPropagation();
580
+ }(l);
581
581
  }, t.handleResize = () => {
582
- const r = window.setTimeout(() => {
582
+ const a = window.setTimeout(() => {
583
583
  t.pendingResizeTimeouts.shift(), t.resize();
584
584
  }, 0);
585
- t.pendingResizeTimeouts.push(r);
586
- }, t.renderThumb = (r, c) => {
587
- const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (b) => {
588
- t["thumb" + c] = b;
589
- }, key: t.props.thumbClassName + "-" + c, className: p, style: r, 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: t2(t.state.value), valueNow: t.state.value[c] };
590
- return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(m, h);
591
- }, t.renderTrack = (r, c, p) => {
592
- const m = { key: t.props.trackClassName + "-" + r, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + r, style: t.buildTrackStyle(c, t.state.upperBound - p) }, h = { index: r, value: t2(t.state.value) };
593
- return t.props.renderTrack(m, h);
585
+ t.pendingResizeTimeouts.push(a);
586
+ }, t.renderThumb = (a, l) => {
587
+ const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
588
+ t["thumb" + l] = y;
589
+ }, 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 }, m = { index: l, value: ie(t.state.value), valueNow: t.state.value[l] };
590
+ return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(p, m);
591
+ }, t.renderTrack = (a, l, u) => {
592
+ const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, m = { index: a, value: ie(t.state.value) };
593
+ return t.props.renderTrack(p, m);
594
594
  };
595
- let a = p2(n.value);
596
- a.length || (a = p2(n.defaultValue)), t.pendingResizeTimeouts = [];
597
- const l = [];
598
- for (let r = 0; r < a.length; r += 1) a[r] = z(a[r], n), l.push(r);
599
- return t.resizeObserver = null, t.resizeElementRef = W.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: a, zIndices: l }, t;
595
+ let r = me(i.value);
596
+ r.length || (r = me(i.defaultValue)), t.pendingResizeTimeouts = [];
597
+ const c = [];
598
+ for (let a = 0; a < r.length; a += 1) r[a] = Z(r[a], i), c.push(a);
599
+ return t.resizeObserver = null, t.resizeElementRef = k.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: c }, t;
600
600
  }
601
- ot(d, o);
601
+ _2(d, n);
602
602
  var s = d.prototype;
603
603
  return s.componentDidMount = function() {
604
604
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
605
- }, d.getDerivedStateFromProps = function(n, t) {
606
- const a = p2(n.value);
607
- return a.length ? t.pending ? null : { value: a.map((l) => z(l, n)) } : null;
605
+ }, d.getDerivedStateFromProps = function(i, t) {
606
+ const r = me(i.value);
607
+ return r.length ? t.pending ? null : { value: r.map((c) => Z(c, i)) } : null;
608
608
  }, s.componentDidUpdate = function() {
609
609
  this.state.upperBound === 0 && this.resize();
610
610
  }, s.componentWillUnmount = function() {
611
611
  this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
612
- }, s.onEnd = function(n) {
613
- n && function(t) {
614
- Object.keys(t).forEach((a) => {
615
- typeof document < "u" && document.removeEventListener(a, t[a], !1);
612
+ }, s.onEnd = function(i) {
613
+ i && function(t) {
614
+ Object.keys(t).forEach((r) => {
615
+ typeof document < "u" && document.removeEventListener(r, t[r], !1);
616
616
  });
617
- }(n), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
617
+ }(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
618
618
  }, s.getValue = function() {
619
- return t2(this.state.value);
620
- }, s.getClosestIndex = function(n) {
621
- let t = Number.MAX_VALUE, a = -1;
622
- const { value: l } = this.state, r = l.length;
623
- for (let c = 0; c < r; c += 1) {
624
- const p = this.calcOffset(l[c]), m = Math.abs(n - p);
625
- m < t && (t = m, a = c);
619
+ return ie(this.state.value);
620
+ }, s.getClosestIndex = function(i) {
621
+ let t = Number.MAX_VALUE, r = -1;
622
+ const { value: c } = this.state, a = c.length;
623
+ for (let l = 0; l < a; l += 1) {
624
+ const u = this.calcOffset(c[l]), p = Math.abs(i - u);
625
+ p < t && (t = p, r = l);
626
626
  }
627
- return a;
628
- }, s.getMousePosition = function(n) {
629
- return [n["page" + this.axisKey()], n["page" + this.orthogonalAxisKey()]];
630
- }, s.getTouchPosition = function(n) {
631
- const t = n.touches[0];
627
+ return r;
628
+ }, s.getMousePosition = function(i) {
629
+ return [i["page" + this.axisKey()], i["page" + this.orthogonalAxisKey()]];
630
+ }, s.getTouchPosition = function(i) {
631
+ const t = i.touches[0];
632
632
  return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
633
633
  }, s.getKeyDownEventMap = function() {
634
634
  return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
@@ -636,82 +636,82 @@ let b2 = function(o) {
636
636
  return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
637
637
  }, s.getTouchEventMap = function() {
638
638
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
639
- }, s.getValueFromPosition = function(n) {
640
- const t = n / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
641
- return z(this.state.startValue + t, this.props);
642
- }, s.getDiffPosition = function(n) {
643
- let t = n - this.state.startPosition;
639
+ }, s.getValueFromPosition = function(i) {
640
+ const t = i / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
641
+ return Z(this.state.startValue + t, this.props);
642
+ }, s.getDiffPosition = function(i) {
643
+ let t = i - this.state.startPosition;
644
644
  return this.props.invert && (t *= -1), t;
645
645
  }, s.resize = function() {
646
- const { slider: n, thumb0: t } = this;
647
- if (!n || !t) return;
648
- const a = this.sizeKey(), l = n.getBoundingClientRect(), r = n[a], c = l[this.posMaxKey()], p = l[this.posMinKey()], m = t.getBoundingClientRect()[a.replace("client", "").toLowerCase()], h = r - m, b = Math.abs(c - p);
649
- this.state.upperBound === h && this.state.sliderLength === b && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: b, thumbSize: m });
650
- }, s.calcOffset = function(n) {
646
+ const { slider: i, thumb0: t } = this;
647
+ if (!i || !t) return;
648
+ const r = this.sizeKey(), c = i.getBoundingClientRect(), a = i[r], l = c[this.posMaxKey()], u = c[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - p, y = Math.abs(l - u);
649
+ this.state.upperBound === m && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: m, sliderLength: y, thumbSize: p });
650
+ }, s.calcOffset = function(i) {
651
651
  const t = this.props.max - this.props.min;
652
- return t === 0 ? 0 : (n - this.props.min) / t * this.state.upperBound;
653
- }, s.calcValue = function(n) {
654
- return n / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
655
- }, s.calcOffsetFromPosition = function(n) {
656
- const { slider: t } = this, a = t.getBoundingClientRect(), l = a[this.posMaxKey()], r = a[this.posMinKey()];
657
- let c = n - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : r));
658
- return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
659
- }, s.forceValueFromPosition = function(n, t) {
660
- const a = this.calcOffsetFromPosition(n), l = this.getClosestIndex(a), r = z(this.calcValue(a), this.props), c = this.state.value.slice();
661
- c[l] = r;
662
- for (let p = 0; p < c.length - 1; p += 1) if (c[p + 1] - c[p] < this.props.minDistance) return;
663
- this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
664
- t(l), this.fireChangeEvent("onChange");
652
+ return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
653
+ }, s.calcValue = function(i) {
654
+ return i / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
655
+ }, s.calcOffsetFromPosition = function(i) {
656
+ const { slider: t } = this, r = t.getBoundingClientRect(), c = r[this.posMaxKey()], a = r[this.posMinKey()];
657
+ let l = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? c : a));
658
+ return this.props.invert && (l = this.state.sliderLength - l), l -= this.state.thumbSize / 2, l;
659
+ }, s.forceValueFromPosition = function(i, t) {
660
+ const r = this.calcOffsetFromPosition(i), c = this.getClosestIndex(r), a = Z(this.calcValue(r), this.props), l = this.state.value.slice();
661
+ l[c] = a;
662
+ for (let u = 0; u < l.length - 1; u += 1) if (l[u + 1] - l[u] < this.props.minDistance) return;
663
+ this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: l }, () => {
664
+ t(c), this.fireChangeEvent("onChange");
665
665
  });
666
666
  }, s.clearPendingResizeTimeouts = function() {
667
667
  do {
668
- const n = this.pendingResizeTimeouts.shift();
669
- clearTimeout(n);
668
+ const i = this.pendingResizeTimeouts.shift();
669
+ clearTimeout(i);
670
670
  } while (this.pendingResizeTimeouts.length);
671
- }, s.start = function(n, t) {
672
- const a = this["thumb" + n];
673
- a && a.focus();
674
- const { zIndices: l } = this.state;
675
- l.splice(l.indexOf(n), 1), l.push(n), this.setState((r) => ({ startValue: r.value[n], startPosition: t !== void 0 ? t : r.startPosition, index: n, zIndices: l }));
676
- }, s.moveUpByStep = function(n) {
677
- n === void 0 && (n = this.props.step);
678
- const t = this.state.value[this.state.index], a = z(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
679
- this.move(Math.min(a, this.props.max));
680
- }, s.moveDownByStep = function(n) {
681
- n === void 0 && (n = this.props.step);
682
- const t = this.state.value[this.state.index], a = z(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
683
- this.move(Math.max(a, this.props.min));
684
- }, s.move = function(n) {
685
- const t = this.state.value.slice(), { index: a } = this.state, { length: l } = t, r = t[a];
686
- if (n === r) return;
671
+ }, s.start = function(i, t) {
672
+ const r = this["thumb" + i];
673
+ r && r.focus();
674
+ const { zIndices: c } = this.state;
675
+ 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 }));
676
+ }, s.moveUpByStep = function(i) {
677
+ i === void 0 && (i = this.props.step);
678
+ const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
679
+ this.move(Math.min(r, this.props.max));
680
+ }, s.moveDownByStep = function(i) {
681
+ i === void 0 && (i = this.props.step);
682
+ const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
683
+ this.move(Math.max(r, this.props.min));
684
+ }, s.move = function(i) {
685
+ const t = this.state.value.slice(), { index: r } = this.state, { length: c } = t, a = t[r];
686
+ if (i === a) return;
687
687
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
688
- const { pearling: c, max: p, min: m, minDistance: h } = this.props;
689
- if (!c) {
690
- if (a > 0) {
691
- const b = t[a - 1];
692
- n < b + h && (n = b + h);
688
+ const { pearling: l, max: u, min: p, minDistance: m } = this.props;
689
+ if (!l) {
690
+ if (r > 0) {
691
+ const y = t[r - 1];
692
+ i < y + m && (i = y + m);
693
693
  }
694
- if (a < l - 1) {
695
- const b = t[a + 1];
696
- n > b - h && (n = b - h);
694
+ if (r < c - 1) {
695
+ const y = t[r + 1];
696
+ i > y - m && (i = y - m);
697
697
  }
698
698
  }
699
- t[a] = n, c && l > 1 && (n > r ? (this.pushSucceeding(t, h, a), function(b, g, C, f) {
700
- for (let v = 0; v < b; v += 1) {
701
- const y = f - v * C;
702
- g[b - 1 - v] > y && (g[b - 1 - v] = y);
699
+ t[r] = i, l && c > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(y, g, C, b) {
700
+ for (let f = 0; f < y; f += 1) {
701
+ const v = b - f * C;
702
+ g[y - 1 - f] > v && (g[y - 1 - f] = v);
703
703
  }
704
- }(l, t, h, p)) : n < r && (this.pushPreceding(t, h, a), function(b, g, C, f) {
705
- for (let v = 0; v < b; v += 1) {
706
- const y = f + v * C;
707
- g[v] < y && (g[v] = y);
704
+ }(c, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(y, g, C, b) {
705
+ for (let f = 0; f < y; f += 1) {
706
+ const v = b + f * C;
707
+ g[f] < v && (g[f] = v);
708
708
  }
709
- }(l, t, h, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
710
- }, s.pushSucceeding = function(n, t, a) {
711
- let l, r;
712
- for (l = a, r = n[l] + t; n[l + 1] !== null && r > n[l + 1]; l += 1, r = n[l] + t) n[l + 1] = f2(r, this.props);
713
- }, s.pushPreceding = function(n, t, a) {
714
- for (let l = a, r = n[l] - t; n[l - 1] !== null && r < n[l - 1]; l -= 1, r = n[l] - t) n[l - 1] = f2(r, this.props);
709
+ }(c, t, m, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
710
+ }, s.pushSucceeding = function(i, t, r) {
711
+ let c, a;
712
+ for (c = r, a = i[c] + t; i[c + 1] !== null && a > i[c + 1]; c += 1, a = i[c] + t) i[c + 1] = xe(a, this.props);
713
+ }, s.pushPreceding = function(i, t, r) {
714
+ 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] = xe(a, this.props);
715
715
  }, s.axisKey = function() {
716
716
  return this.props.orientation === "vertical" ? "Y" : "X";
717
717
  }, s.orthogonalAxisKey = function() {
@@ -722,100 +722,100 @@ let b2 = function(o) {
722
722
  return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
723
723
  }, s.sizeKey = function() {
724
724
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
725
- }, s.fireChangeEvent = function(n) {
726
- this.props[n] && this.props[n](t2(this.state.value), this.state.index);
727
- }, s.buildThumbStyle = function(n, t) {
728
- const a = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
729
- return a[this.posMinKey()] = n + "px", a;
730
- }, s.buildTrackStyle = function(n, t) {
731
- const a = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
732
- return a[this.posMinKey()] = n, a[this.posMaxKey()] = t, a;
733
- }, s.buildMarkStyle = function(n) {
725
+ }, s.fireChangeEvent = function(i) {
726
+ this.props[i] && this.props[i](ie(this.state.value), this.state.index);
727
+ }, s.buildThumbStyle = function(i, t) {
728
+ const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
729
+ return r[this.posMinKey()] = i + "px", r;
730
+ }, s.buildTrackStyle = function(i, t) {
731
+ const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
732
+ return r[this.posMinKey()] = i, r[this.posMaxKey()] = t, r;
733
+ }, s.buildMarkStyle = function(i) {
734
734
  var t;
735
- return (t = { position: "absolute" })[this.posMinKey()] = n, t;
736
- }, s.renderThumbs = function(n) {
737
- const { length: t } = n, a = [];
738
- for (let r = 0; r < t; r += 1) a[r] = this.buildThumbStyle(n[r], r);
739
- const l = [];
740
- for (let r = 0; r < t; r += 1) l[r] = this.renderThumb(a[r], r);
741
- return l;
742
- }, s.renderTracks = function(n) {
743
- const t = [], a = n.length - 1;
744
- t.push(this.renderTrack(0, 0, n[0]));
745
- for (let l = 0; l < a; l += 1) t.push(this.renderTrack(l + 1, n[l], n[l + 1]));
746
- return t.push(this.renderTrack(a + 1, n[a], this.state.upperBound)), t;
735
+ return (t = { position: "absolute" })[this.posMinKey()] = i, t;
736
+ }, s.renderThumbs = function(i) {
737
+ const { length: t } = i, r = [];
738
+ for (let a = 0; a < t; a += 1) r[a] = this.buildThumbStyle(i[a], a);
739
+ const c = [];
740
+ for (let a = 0; a < t; a += 1) c[a] = this.renderThumb(r[a], a);
741
+ return c;
742
+ }, s.renderTracks = function(i) {
743
+ const t = [], r = i.length - 1;
744
+ t.push(this.renderTrack(0, 0, i[0]));
745
+ for (let c = 0; c < r; c += 1) t.push(this.renderTrack(c + 1, i[c], i[c + 1]));
746
+ return t.push(this.renderTrack(r + 1, i[r], this.state.upperBound)), t;
747
747
  }, s.renderMarks = function() {
748
- let { marks: n } = this.props;
748
+ let { marks: i } = this.props;
749
749
  const t = this.props.max - this.props.min + 1;
750
- return typeof n == "boolean" ? n = Array.from({ length: t }).map((a, l) => l) : typeof n == "number" && (n = Array.from({ length: t }).map((a, l) => l).filter((a) => a % n == 0)), n.map(parseFloat).sort((a, l) => a - l).map((a) => {
751
- const l = this.calcOffset(a), r = { key: a, className: this.props.markClassName, style: this.buildMarkStyle(l) };
752
- return this.props.renderMark(r);
750
+ 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) => {
751
+ const c = this.calcOffset(r), a = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(c) };
752
+ return this.props.renderMark(a);
753
753
  });
754
754
  }, s.render = function() {
755
- const n = [], { value: t } = this.state, a = t.length;
756
- for (let p = 0; p < a; p += 1) n[p] = this.calcOffset(t[p], p);
757
- const l = this.props.withTracks ? this.renderTracks(n) : null, r = this.renderThumbs(n), c = this.props.marks ? this.renderMarks() : null;
758
- return W.createElement("div", { ref: (p) => {
759
- this.slider = p, this.resizeElementRef.current = p;
760
- }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, r, c);
755
+ const i = [], { value: t } = this.state, r = t.length;
756
+ for (let u = 0; u < r; u += 1) i[u] = this.calcOffset(t[u], u);
757
+ const c = this.props.withTracks ? this.renderTracks(i) : null, a = this.renderThumbs(i), l = this.props.marks ? this.renderMarks() : null;
758
+ return k.createElement("div", { ref: (u) => {
759
+ this.slider = u, this.resizeElementRef.current = u;
760
+ }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, c, a, l);
761
761
  }, d;
762
- }(W.Component);
763
- b2.displayName = "ReactSlider", b2.defaultProps = { min: 0, max: 100, step: 1, pageFn: (o) => 10 * o, 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: (o) => W.createElement("div", o), renderTrack: (o) => W.createElement("div", o), renderMark: (o) => W.createElement("span", o) };
764
- var st = b2;
765
- const rt = "_container_15vgv_2", at = "_unitLabel_15vgv_9", lt = "_slider_15vgv_12", ct = "_thumb_15vgv_18", dt = "_track_15vgv_27", pt = "_labels_15vgv_33", U = {
766
- container: rt,
767
- unitLabel: at,
768
- slider: lt,
769
- thumb: ct,
770
- track: dt,
771
- labels: pt
772
- }, z2 = ({
773
- min: o = 0,
762
+ }(k.Component);
763
+ we.displayName = "ReactSlider", we.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) => k.createElement("div", n), renderTrack: (n) => k.createElement("div", n), renderMark: (n) => k.createElement("span", n) };
764
+ var x2 = we;
765
+ const w2 = "_container_15vgv_2", k2 = "_unitLabel_15vgv_9", N2 = "_slider_15vgv_12", S2 = "_thumb_15vgv_18", M2 = "_track_15vgv_27", F2 = "_labels_15vgv_33", Y = {
766
+ container: w2,
767
+ unitLabel: k2,
768
+ slider: N2,
769
+ thumb: S2,
770
+ track: M2,
771
+ labels: F2
772
+ }, Je = ({
773
+ min: n = 0,
774
774
  max: d = 100,
775
775
  step: s = 1,
776
- onChange: n,
776
+ onChange: i,
777
777
  width: t = 300,
778
- unit: a,
779
- fontColor: l = "#605B56",
780
- defaultValue: r
778
+ unit: r,
779
+ fontColor: c = "#605B56",
780
+ defaultValue: a
781
781
  }) => {
782
- const { t: c } = k(), [p, m] = D([o, d]), h = (b) => {
783
- m(b), n == null || n({ min: b[0], max: b[1] });
782
+ const { t: l } = N(), [u, p] = D([n, d]), m = (y) => {
783
+ p(y), i == null || i({ min: y[0], max: y[1] });
784
784
  };
785
- return F(() => {
786
- r && m([r]);
787
- }, [r]), /* @__PURE__ */ u(
785
+ return B(() => {
786
+ a && p([a]);
787
+ }, [a]), /* @__PURE__ */ h(
788
788
  "div",
789
789
  {
790
- className: U.container,
791
- style: { width: `${t}px`, color: `${l}` },
790
+ className: Y.container,
791
+ style: { width: `${t}px`, color: `${c}` },
792
792
  children: [
793
- /* @__PURE__ */ i("div", { className: U.unitLabel, children: /* @__PURE__ */ i("span", { children: c(a) }) }),
794
- /* @__PURE__ */ i(
795
- st,
793
+ /* @__PURE__ */ o("div", { className: Y.unitLabel, children: /* @__PURE__ */ o("span", { children: l(r) }) }),
794
+ /* @__PURE__ */ o(
795
+ x2,
796
796
  {
797
- className: U.slider,
798
- thumbClassName: U.thumb,
799
- trackClassName: U.track,
800
- min: o,
797
+ className: Y.slider,
798
+ thumbClassName: Y.thumb,
799
+ trackClassName: Y.track,
800
+ min: n,
801
801
  max: d,
802
802
  step: s,
803
- value: p,
804
- onAfterChange: h,
803
+ value: u,
804
+ onAfterChange: m,
805
805
  withTracks: !0,
806
806
  pearling: !0,
807
- minDistance: 1
807
+ minDistance: 0.1
808
808
  }
809
809
  ),
810
- /* @__PURE__ */ u("div", { className: U.labels, children: [
811
- /* @__PURE__ */ i("span", { children: p[0] }),
812
- /* @__PURE__ */ i("span", { children: p[1] })
810
+ /* @__PURE__ */ h("div", { className: Y.labels, children: [
811
+ /* @__PURE__ */ o("span", { children: u[0] }),
812
+ /* @__PURE__ */ o("span", { children: u[1] })
813
813
  ] })
814
814
  ]
815
815
  }
816
816
  );
817
817
  };
818
- z2.propTypes = {
818
+ Je.propTypes = {
819
819
  min: e.number,
820
820
  max: e.number,
821
821
  step: e.number,
@@ -827,158 +827,158 @@ z2.propTypes = {
827
827
  fontColor: e.string,
828
828
  value: e.arrayOf(e.number)
829
829
  };
830
- const mt = "_tematicalFiltersInputContainer_1vm1r_2", ut = "_inputTypeContainer_1vm1r_2", ht = "_checkboxContainer_1vm1r_28", gt = "_absoluteSliderContainer_1vm1r_37", i2 = {
831
- tematicalFiltersInputContainer: mt,
832
- inputTypeContainer: ut,
833
- checkboxContainer: ht,
834
- absoluteSliderContainer: gt
835
- }, k2 = ({
836
- indicator: o,
830
+ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_1vm1r_2", B2 = "_checkboxContainer_1vm1r_28", T2 = "_absoluteSliderContainer_1vm1r_37", oe = {
831
+ tematicalFiltersInputContainer: D2,
832
+ inputTypeContainer: L2,
833
+ checkboxContainer: B2,
834
+ absoluteSliderContainer: T2
835
+ }, Le = ({
836
+ indicator: n,
837
837
  //onChangeBothType
838
838
  activeColor: d
839
839
  }) => {
840
- const [s, n] = D(), {
840
+ const [s, i] = D(), {
841
841
  type: t,
842
- name: a,
843
- values: l,
844
- minValue: r,
845
- maxValue: c,
846
- unit: p,
847
- step: m
848
- } = o || {}, h = s2(
842
+ name: r,
843
+ values: c,
844
+ minValue: a,
845
+ maxValue: l,
846
+ unit: u,
847
+ step: p
848
+ } = n || {}, m = ae(
849
849
  () => t == "cat" || s == "cat",
850
850
  [s, t]
851
- ), b = s2(
851
+ ), y = ae(
852
852
  () => t == "abs" || s == "abs",
853
853
  [s, t]
854
854
  ), {
855
855
  tematicalFiltersSelected: g,
856
856
  selectedIndicator: C,
857
- fontColor: f,
858
- inputsColor: v
859
- } = B((x) => x), y = (x) => {
860
- if (x) {
861
- const { min: _, max: N, valueClicked: S, allValues: I } = x || {}, { code: X, type: r2 } = o || {}, a2 = b ? "abs" : h ? "cat" : "both";
862
- let O = X[0];
863
- r2 == "both" && (O = a2 == "cat" ? X[1] : X[0]), a2 == "cat" ? B.setState((P) => {
864
- let R = P.tematicalFiltersSelected.find(
865
- (L) => L.code === O
857
+ fontColor: b,
858
+ inputsColor: f
859
+ } = L((w) => w), v = (w) => {
860
+ if (w) {
861
+ const { min: _, max: S, valueClicked: M, allValues: E } = w || {}, { code: Q, type: le } = n || {}, ce = y ? "abs" : m ? "cat" : "both";
862
+ let R = Q[0];
863
+ le == "both" && (R = ce == "cat" ? Q[1] : Q[0]), ce == "cat" ? L.setState((z) => {
864
+ let P = z.tematicalFiltersSelected.find(
865
+ (T) => T.code === R
866
866
  );
867
- if (R) {
868
- let L = [R.values];
869
- return R.values.includes(S) ? L = R.values.filter(
870
- ($) => $ !== S
871
- ) : L = [...R.values, S], L.length == I.length ? {
872
- tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
873
- ($) => $.code !== O
867
+ if (P) {
868
+ let T = [P.values];
869
+ return P.values.includes(M) ? T = P.values.filter(
870
+ (A) => A !== M
871
+ ) : T = [...P.values, M], T.length == E.length ? {
872
+ tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
873
+ (A) => A.code !== R
874
874
  )
875
875
  } : {
876
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
877
- ($) => $.code === O ? { ...$, values: L } : $
876
+ tematicalFiltersSelected: z.tematicalFiltersSelected.map(
877
+ (A) => A.code === R ? { ...A, values: T } : A
878
878
  )
879
879
  };
880
880
  } else {
881
- let L = I.map(($, W2) => W2);
881
+ let T = E.map((A, mt) => mt);
882
882
  return {
883
883
  tematicalFiltersSelected: [
884
884
  ...g,
885
885
  {
886
886
  type: "cat",
887
- code: O,
888
- values: L.filter(($) => $ !== S),
889
- name: o.name
887
+ code: R,
888
+ values: T.filter((A) => A !== M),
889
+ name: n.name
890
890
  }
891
891
  ]
892
892
  };
893
893
  }
894
- }) : a2 == "abs" && B.setState((P) => {
895
- let R = P.tematicalFiltersSelected.find(
896
- (L) => L.code === O
894
+ }) : ce == "abs" && L.setState((z) => {
895
+ let P = z.tematicalFiltersSelected.find(
896
+ (T) => T.code === R
897
897
  );
898
- if (_ == o.minValue && N == o.maxValue)
898
+ if (_ == n.minValue && S == n.maxValue)
899
899
  return {
900
- tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
901
- (L) => L.code !== O
900
+ tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
901
+ (T) => T.code !== R
902
902
  )
903
903
  };
904
- if (R) {
905
- let L = { ...R };
906
- return L.min = _, L.max = N, {
907
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
908
- ($) => $.code === O ? L : $
904
+ if (P) {
905
+ let T = { ...P };
906
+ return T.min = _, T.max = S, {
907
+ tematicalFiltersSelected: z.tematicalFiltersSelected.map(
908
+ (A) => A.code === R ? T : A
909
909
  )
910
910
  };
911
911
  } else
912
912
  return {
913
913
  tematicalFiltersSelected: [
914
914
  ...g,
915
- { type: "abs", code: O, min: _, max: N }
915
+ { type: "abs", code: R, min: _, max: S }
916
916
  ]
917
917
  };
918
918
  });
919
919
  }
920
- }, w = s2(() => {
921
- const x = {};
920
+ }, x = ae(() => {
921
+ const w = {};
922
922
  if ((g == null ? void 0 : g.length) > 0)
923
923
  for (const _ of g)
924
- _.type === "cat" ? x[_.code] = new Set(_.values) : x[_.code] = [_.min, _.max];
925
- return x;
924
+ _.type === "cat" ? w[_.code] = new Set(_.values) : w[_.code] = [_.min, _.max];
925
+ return w;
926
926
  }, [g]);
927
- return /* @__PURE__ */ i("div", { className: i2.tematicalFiltersInputContainer, children: /* @__PURE__ */ u(
928
- K,
927
+ return /* @__PURE__ */ o("div", { className: oe.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
928
+ G,
929
929
  {
930
930
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
931
- title: a,
932
- isOpen: C == `id${a}`,
933
- onClick: () => B.setState(() => ({
934
- selectedIndicator: C == `id${a}` ? "" : `id${a}`
931
+ title: r,
932
+ isOpen: C == `id${r}`,
933
+ onClick: () => L.setState(() => ({
934
+ selectedIndicator: C == `id${r}` ? "" : `id${r}`
935
935
  })),
936
936
  showBottomBar: !1,
937
937
  height: 38,
938
938
  titleMarginChildren: 14,
939
939
  className: "tematicalFiltersInputContainer",
940
- color: f,
940
+ color: b,
941
941
  activeColor: d,
942
942
  children: [
943
- t == "both" && /* @__PURE__ */ u(
943
+ t == "both" && /* @__PURE__ */ h(
944
944
  "div",
945
945
  {
946
- className: i2.inputTypeContainer,
947
- style: { color: f },
946
+ className: oe.inputTypeContainer,
947
+ style: { color: b },
948
948
  children: [
949
- /* @__PURE__ */ u("label", { children: [
950
- /* @__PURE__ */ i(
949
+ /* @__PURE__ */ h("label", { children: [
950
+ /* @__PURE__ */ o(
951
951
  "input",
952
952
  {
953
953
  type: "radio",
954
954
  name: "tipo",
955
955
  value: "abs",
956
956
  onChange: () => {
957
- n("abs");
957
+ i("abs");
958
958
  },
959
959
  style: {
960
960
  marginRight: 4,
961
- backgroundColor: s == "abs" ? v : "white",
962
- border: `1.5px solid ${s == "abs" ? v : f}`
961
+ backgroundColor: s == "abs" ? f : "white",
962
+ border: `1.5px solid ${s == "abs" ? f : b}`
963
963
  }
964
964
  }
965
965
  ),
966
966
  "Absoluto"
967
967
  ] }),
968
- /* @__PURE__ */ u("label", { children: [
969
- /* @__PURE__ */ i(
968
+ /* @__PURE__ */ h("label", { children: [
969
+ /* @__PURE__ */ o(
970
970
  "input",
971
971
  {
972
972
  type: "radio",
973
973
  name: "tipo",
974
974
  value: "cat",
975
975
  onChange: () => {
976
- n("cat");
976
+ i("cat");
977
977
  },
978
978
  style: {
979
979
  marginRight: 4,
980
- backgroundColor: s == "cat" ? v : "white",
981
- border: `1.5px solid ${s == "cat" ? v : f}`
980
+ backgroundColor: s == "cat" ? f : "white",
981
+ border: `1.5px solid ${s == "cat" ? f : b}`
982
982
  }
983
983
  }
984
984
  ),
@@ -987,34 +987,34 @@ const mt = "_tematicalFiltersInputContainer_1vm1r_2", ut = "_inputTypeContainer_
987
987
  ]
988
988
  }
989
989
  ),
990
- h && /* @__PURE__ */ i("div", { className: i2.checkboxContainer, children: l.map((x, _) => {
991
- var N;
992
- return /* @__PURE__ */ i(
993
- q2,
990
+ m && /* @__PURE__ */ o("div", { className: oe.checkboxContainer, children: c.map((w, _) => {
991
+ var S;
992
+ return /* @__PURE__ */ o(
993
+ Xe,
994
994
  {
995
- onClick: () => y({ valueClicked: _, allValues: l }),
996
- indicator: x,
997
- value: ((N = w[o.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(_)) || !w[o.code[t == "both" ? 1 : 0]]
995
+ onClick: () => v({ valueClicked: _, allValues: c }),
996
+ indicator: w,
997
+ value: ((S = x[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(_)) || !x[n.code[t == "both" ? 1 : 0]]
998
998
  },
999
999
  `checkbox-${_}`
1000
1000
  );
1001
1001
  }) }),
1002
- b && /* @__PURE__ */ i("div", { className: i2.absoluteSliderContainer, children: /* @__PURE__ */ i(
1003
- z2,
1002
+ y && /* @__PURE__ */ o("div", { className: oe.absoluteSliderContainer, children: /* @__PURE__ */ o(
1003
+ Je,
1004
1004
  {
1005
- onChange: y,
1006
- min: r,
1007
- max: c,
1008
- unit: p,
1009
- value: w[o.code[0]],
1010
- step: m
1005
+ onChange: v,
1006
+ min: a,
1007
+ max: l,
1008
+ unit: u,
1009
+ value: x[n.code[0]],
1010
+ step: p
1011
1011
  }
1012
1012
  ) })
1013
1013
  ]
1014
1014
  }
1015
1015
  ) });
1016
1016
  };
1017
- k2.propTypes = {
1017
+ Le.propTypes = {
1018
1018
  indicator: e.shape({
1019
1019
  name: e.string,
1020
1020
  type: e.string,
@@ -1029,21 +1029,21 @@ k2.propTypes = {
1029
1029
  activeColor: e.string
1030
1030
  //onChangeBothType: PropTypes.func,
1031
1031
  };
1032
- const j2 = ({
1033
- subcategory: o,
1032
+ const Qe = ({
1033
+ subcategory: n,
1034
1034
  fontColor: d,
1035
1035
  activeColor: s
1036
1036
  //onChangeBothType,
1037
1037
  }) => {
1038
- const { activeSubcategory: n } = B((l) => l), { name: t, indicators: a } = o || {};
1039
- return /* @__PURE__ */ i(
1040
- K,
1038
+ const { activeSubcategory: i } = L((c) => c), { name: t, indicators: r } = n || {};
1039
+ return /* @__PURE__ */ o(
1040
+ G,
1041
1041
  {
1042
1042
  title: t,
1043
- isOpen: n == `id${t}`,
1043
+ isOpen: i == `id${t}`,
1044
1044
  onClick: () => {
1045
- B.setState((l) => ({
1046
- activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
1045
+ L.setState((c) => ({
1046
+ activeSubcategory: c.activeSubcategory === `id${t}` ? "" : `id${t}`
1047
1047
  }));
1048
1048
  },
1049
1049
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
@@ -1052,19 +1052,19 @@ const j2 = ({
1052
1052
  height: 48,
1053
1053
  color: d,
1054
1054
  activeColor: s,
1055
- children: a == null ? void 0 : a.map((l, r) => /* @__PURE__ */ i(
1056
- k2,
1055
+ children: r == null ? void 0 : r.map((c, a) => /* @__PURE__ */ o(
1056
+ Le,
1057
1057
  {
1058
- indicator: l,
1058
+ indicator: c,
1059
1059
  fontColor: d,
1060
1060
  activeColor: s
1061
1061
  },
1062
- `indicatorSub-${r}`
1062
+ `indicatorSub-${a}`
1063
1063
  ))
1064
1064
  }
1065
1065
  );
1066
1066
  };
1067
- j2.propTypes = {
1067
+ Qe.propTypes = {
1068
1068
  subcategory: e.shape({
1069
1069
  name: e.string,
1070
1070
  indicators: e.arrayOf(
@@ -1077,47 +1077,47 @@ j2.propTypes = {
1077
1077
  activeColor: e.string
1078
1078
  //onChangeBothType: PropTypes.func,
1079
1079
  };
1080
- const Z2 = ({
1081
- category: o,
1080
+ const et = ({
1081
+ category: n,
1082
1082
  // onChangeBothType,
1083
1083
  activeColor: d
1084
1084
  }) => {
1085
- const { name: s, subcategories: n, indicators: t } = o || {}, { activeCategory: a, fontColor: l } = B((r) => r);
1086
- return o && /* @__PURE__ */ i(
1087
- K,
1085
+ const { name: s, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: c } = L((a) => a);
1086
+ return n && /* @__PURE__ */ o(
1087
+ G,
1088
1088
  {
1089
1089
  onClick: () => {
1090
- B.setState((r) => ({
1091
- activeCategory: a === `id${s}` ? "" : `id${s}`
1090
+ L.setState((a) => ({
1091
+ activeCategory: r === `id${s}` ? "" : `id${s}`
1092
1092
  }));
1093
1093
  },
1094
1094
  title: s,
1095
- isOpen: a === `id${s}`,
1095
+ isOpen: r === `id${s}`,
1096
1096
  titleFontStyles: { fontSize: 18, fontWeight: "bold" },
1097
1097
  showBottomBar: !1,
1098
- color: l,
1098
+ color: c,
1099
1099
  activeColor: d,
1100
- children: n ? n.map((r, c) => /* @__PURE__ */ i(
1101
- j2,
1100
+ children: i ? i.map((a, l) => /* @__PURE__ */ o(
1101
+ Qe,
1102
1102
  {
1103
- subcategory: r,
1104
- fontColor: l,
1103
+ subcategory: a,
1104
+ fontColor: c,
1105
1105
  activeColor: d
1106
1106
  },
1107
- `subcategory-${c}`
1108
- )) : t && t.map((r, c) => /* @__PURE__ */ i(
1109
- k2,
1107
+ `subcategory-${l}`
1108
+ )) : t && t.map((a, l) => /* @__PURE__ */ o(
1109
+ Le,
1110
1110
  {
1111
- indicator: r,
1112
- fontColor: l,
1111
+ indicator: a,
1112
+ fontColor: c,
1113
1113
  activeColor: d
1114
1114
  },
1115
- `indicator-${c}`
1115
+ `indicator-${l}`
1116
1116
  ))
1117
1117
  }
1118
1118
  );
1119
1119
  };
1120
- Z2.propTypes = {
1120
+ et.propTypes = {
1121
1121
  category: e.shape({
1122
1122
  name: e.string.isRequired,
1123
1123
  subcategories: e.array,
@@ -1126,40 +1126,40 @@ Z2.propTypes = {
1126
1126
  activeColor: e.string
1127
1127
  //onChangeBothType: PropTypes.func,
1128
1128
  };
1129
- const H2 = ({
1130
- indicators: o,
1129
+ const tt = ({
1130
+ indicators: n,
1131
1131
  isOpen: d = !0,
1132
1132
  title: s,
1133
- fontColor: n = "#605B56",
1133
+ fontColor: i = "#605B56",
1134
1134
  //The color of the slider and the checkbox when is checked
1135
1135
  inputsColor: t = "#605B56",
1136
- activeColor: a
1136
+ activeColor: r
1137
1137
  }) => {
1138
- const { tematicalFiltersSelected: l } = B((c) => c), { t: r } = k();
1139
- return F(() => {
1140
- n && B.setState(() => ({ fontColor: n }));
1141
- }, [n]), F(() => {
1142
- t && B.setState(() => ({ inputsColor: t }));
1143
- }, [t]), /* @__PURE__ */ i(
1144
- K,
1138
+ const { tematicalFiltersSelected: c } = L((l) => l), { t: a } = N();
1139
+ return B(() => {
1140
+ i && L.setState(() => ({ fontColor: i }));
1141
+ }, [i]), B(() => {
1142
+ t && L.setState(() => ({ inputsColor: t }));
1143
+ }, [t]), /* @__PURE__ */ o(
1144
+ G,
1145
1145
  {
1146
1146
  isOpen: d,
1147
- title: s ? r(s) : "Tematical filters",
1148
- color: n,
1149
- activeColor: a,
1150
- children: o == null ? void 0 : o.map((c, p) => /* @__PURE__ */ i(
1151
- Z2,
1147
+ title: s ? a(s) : "Tematical filters",
1148
+ color: i,
1149
+ activeColor: r,
1150
+ children: n == null ? void 0 : n.map((l, u) => /* @__PURE__ */ o(
1151
+ et,
1152
1152
  {
1153
- category: c,
1154
- fontColor: n,
1155
- activeColor: a
1153
+ category: l,
1154
+ fontColor: i,
1155
+ activeColor: r
1156
1156
  },
1157
- `category-${p}`
1157
+ `category-${u}`
1158
1158
  ))
1159
1159
  }
1160
1160
  );
1161
1161
  };
1162
- H2.propTypes = {
1162
+ tt.propTypes = {
1163
1163
  isOpen: e.bool,
1164
1164
  title: e.string,
1165
1165
  indicators: e.arrayOf(e.object),
@@ -1168,87 +1168,87 @@ H2.propTypes = {
1168
1168
  inputsColor: e.string,
1169
1169
  activeColor: e.string
1170
1170
  };
1171
- const Ct = "_FiltersAmbitContainer_1g9xx_2", ft = "_FiltersAmbitHeader_1g9xx_7", bt = "_FiltersAmbitTitle_1g9xx_15", yt = "_FiltersAmbitDescription_1g9xx_22", vt = "_FiltersAmbitDescriptionTitle_1g9xx_33", _t = "_warning_1g9xx_37", G = {
1172
- FiltersAmbitContainer: Ct,
1173
- FiltersAmbitHeader: ft,
1174
- FiltersAmbitTitle: bt,
1175
- FiltersAmbitDescription: yt,
1176
- FiltersAmbitDescriptionTitle: vt,
1177
- warning: _t
1178
- }, wt = ({
1179
- ambitName: o,
1171
+ const V2 = "_FiltersAmbitContainer_1g9xx_2", $2 = "_FiltersAmbitHeader_1g9xx_7", A2 = "_FiltersAmbitTitle_1g9xx_15", I2 = "_FiltersAmbitDescription_1g9xx_22", O2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", R2 = "_warning_1g9xx_37", W = {
1172
+ FiltersAmbitContainer: V2,
1173
+ FiltersAmbitHeader: $2,
1174
+ FiltersAmbitTitle: A2,
1175
+ FiltersAmbitDescription: I2,
1176
+ FiltersAmbitDescriptionTitle: O2,
1177
+ warning: R2
1178
+ }, E2 = ({
1179
+ ambitName: n,
1180
1180
  ambitDescription: d,
1181
1181
  defaultFilters: s,
1182
- indicators: n,
1182
+ indicators: i,
1183
1183
  activeColor: t,
1184
- textColor: a,
1185
- backgroundColor: l,
1186
- onChangeAppliedFilters: r,
1187
- saveAmbit: c,
1188
- namePlaceholder: p,
1189
- descPlaceholder: m,
1190
- filtersTypes: h = ["geographical", "tematical"],
1191
- nameRequiredText: b
1184
+ textColor: r,
1185
+ backgroundColor: c,
1186
+ onChangeAppliedFilters: a,
1187
+ saveAmbit: l,
1188
+ namePlaceholder: u,
1189
+ descPlaceholder: p,
1190
+ filtersTypes: m = ["geographical", "tematical"],
1191
+ nameRequiredText: y
1192
1192
  }) => {
1193
- const { t: g } = k(), { tematicalFiltersSelected: C } = B((S) => S), [f, v] = D(o || null), [y, w] = D(d || null), [x, _] = D(!1);
1194
- F(() => {
1195
- s && s.length > 0 && B.setState((S) => ({
1193
+ const { t: g } = N(), { tematicalFiltersSelected: C } = L((M) => M), [b, f] = D(n || null), [v, x] = D(d || null), [w, _] = D(!1);
1194
+ B(() => {
1195
+ s && s.length > 0 && L.setState((M) => ({
1196
1196
  tematicalFiltersSelected: s
1197
1197
  }));
1198
- }, [s]), F(() => {
1199
- console.log("filtersSelected changed: ", C), r(C);
1198
+ }, [s]), B(() => {
1199
+ console.log("filtersSelected changed: ", C), a(C);
1200
1200
  }, [C]);
1201
- const N = () => {
1202
- f ? c({ name: f, description: y }) : _(!0);
1201
+ const S = () => {
1202
+ b ? l({ name: b, description: v }) : _(!0);
1203
1203
  };
1204
- return /* @__PURE__ */ u("div", { className: G.FiltersAmbitContainer, children: [
1205
- /* @__PURE__ */ u("div", { className: G.FiltersAmbitHeader, children: [
1206
- /* @__PURE__ */ i("div", { className: G.FiltersAmbitTitle, children: /* @__PURE__ */ i(
1204
+ return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
1205
+ /* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
1206
+ /* @__PURE__ */ o("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ o(
1207
1207
  "input",
1208
1208
  {
1209
1209
  type: "text",
1210
- onChange: (S) => {
1211
- _(!1), v(S.target.value);
1210
+ onChange: (M) => {
1211
+ _(!1), f(M.target.value);
1212
1212
  },
1213
- value: f,
1214
- placeholder: g(p)
1213
+ value: b,
1214
+ placeholder: g(u)
1215
1215
  }
1216
1216
  ) }),
1217
- /* @__PURE__ */ i("div", { className: G.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: G.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
1217
+ /* @__PURE__ */ o("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ o("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ o(
1218
1218
  "textarea",
1219
1219
  {
1220
- value: y,
1221
- onChange: (S) => w(S.target.value),
1222
- placeholder: g(m)
1220
+ value: v,
1221
+ onChange: (M) => x(M.target.value),
1222
+ placeholder: g(p)
1223
1223
  }
1224
1224
  ) }) })
1225
1225
  ] }),
1226
- /* @__PURE__ */ i(
1227
- E2,
1226
+ /* @__PURE__ */ o(
1227
+ Ye,
1228
1228
  {
1229
1229
  title: g("applied_filters"),
1230
1230
  isOpen: !0,
1231
- textColor: a || "#fff",
1232
- backgroundColor: l || "#605B5680",
1231
+ textColor: r || "#fff",
1232
+ backgroundColor: c || "#605B5680",
1233
1233
  activeColor: t
1234
1234
  }
1235
1235
  ),
1236
- h.includes("geographical") && /* @__PURE__ */ i(P2, { activeColor: t }),
1237
- h.includes("tematical") && /* @__PURE__ */ i(
1238
- H2,
1236
+ m.includes("geographical") && /* @__PURE__ */ o(We, { activeColor: t }),
1237
+ m.includes("tematical") && /* @__PURE__ */ o(
1238
+ tt,
1239
1239
  {
1240
- indicators: n,
1240
+ indicators: i,
1241
1241
  inputsColor: t,
1242
- textColor: a,
1242
+ textColor: r,
1243
1243
  title: "tematical_filters",
1244
1244
  activeColor: t
1245
1245
  }
1246
1246
  ),
1247
- x && /* @__PURE__ */ i("div", { className: G.warning, children: g(b) }),
1248
- /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(x2, { onClick: () => N(), children: g("save_ambit") }) })
1247
+ w && /* @__PURE__ */ o("div", { className: W.warning, children: g(y) }),
1248
+ /* @__PURE__ */ o("div", { className: "buttonContainer", children: /* @__PURE__ */ o(De, { onClick: () => S(), children: g("save_ambit") }) })
1249
1249
  ] });
1250
1250
  };
1251
- wt.propTypes = {
1251
+ E2.propTypes = {
1252
1252
  indicators: e.arrayOf(e.object).isRequired,
1253
1253
  ambitName: e.string,
1254
1254
  ambitDescription: e.string,
@@ -1263,88 +1263,88 @@ wt.propTypes = {
1263
1263
  filtersTypes: e.arrayOf(e.string).isRequired,
1264
1264
  nameRequiredText: e.string
1265
1265
  };
1266
- const xt = "_barChartContainer_d2f1z_2", kt = {
1267
- barChartContainer: xt
1268
- }, K2 = ({
1269
- data: o,
1266
+ const P2 = "_barChartContainer_d2f1z_2", q2 = {
1267
+ barChartContainer: P2
1268
+ }, nt = ({
1269
+ data: n,
1270
1270
  width: d = 700,
1271
1271
  barHeight: s = 25,
1272
- gap: n = 23,
1272
+ gap: i = 23,
1273
1273
  fontColor: t = "#605B56",
1274
- verticalPaddign: a = 10,
1275
- horizontalPaddign: l = 20,
1276
- leftPadding: r = 200,
1277
- numberOfDivisions: c = 7,
1278
- maxValue: p = null
1274
+ verticalPaddign: r = 10,
1275
+ horizontalPaddign: c = 20,
1276
+ leftPadding: a = 200,
1277
+ numberOfDivisions: l = 7,
1278
+ maxValue: u = null
1279
1279
  }) => {
1280
- const { t: m } = k(), { xScale: h, ticks: b, height: g } = s2(() => {
1281
- if (o && o.length > 0) {
1282
- const C = (o == null ? void 0 : o.length) * (s + n) + a * 2, f = S2.max(o, (w) => w.value) || 1, v = S2.scaleLinear().domain([0, p || f]).range([0, d - r]), y = Array.from({ length: c + 1 }, (w, x) => p ? p / c * x : f / c * x);
1280
+ const { t: p } = N(), { xScale: m, ticks: y, height: g } = ae(() => {
1281
+ if (n && n.length > 0) {
1282
+ const C = (n == null ? void 0 : n.length) * (s + i) + r * 2, b = Ve.max(n, (x) => x.value) || 1, f = Ve.scaleLinear().domain([0, u || b]).range([0, d - a]), v = Array.from({ length: l + 1 }, (x, w) => u ? u / l * w : b / l * w);
1283
1283
  return {
1284
- xScale: v,
1285
- ticks: y,
1284
+ xScale: f,
1285
+ ticks: v,
1286
1286
  height: C,
1287
1287
  width: d,
1288
- verticalPaddign: a,
1289
- horizontalPaddign: l
1288
+ verticalPaddign: r,
1289
+ horizontalPaddign: c
1290
1290
  };
1291
1291
  } else
1292
1292
  return { xScale: null, ticks: [], height: 0 };
1293
1293
  }, [
1294
- o,
1295
- d,
1296
- c,
1297
- s,
1298
1294
  n,
1295
+ d,
1299
1296
  l,
1300
- a,
1301
- p
1297
+ s,
1298
+ i,
1299
+ c,
1300
+ r,
1301
+ u
1302
1302
  ]);
1303
- return /* @__PURE__ */ i("div", { className: kt.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + l * 2, height: g, children: /* @__PURE__ */ u("g", { transform: `translate(0,${n})`, children: [
1304
- /* @__PURE__ */ i("g", { transform: `translate(${r + l}, 0)`, children: b.map((C, f) => {
1305
- const v = h(C);
1306
- return /* @__PURE__ */ u("g", { transform: `translate(${v}, 0)`, children: [
1307
- /* @__PURE__ */ i(
1303
+ return /* @__PURE__ */ o("div", { className: q2.barChartContainer, children: /* @__PURE__ */ o("svg", { width: d + c * 2, height: g, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
1304
+ /* @__PURE__ */ o("g", { transform: `translate(${a + c}, 0)`, children: y.map((C, b) => {
1305
+ const f = m(C);
1306
+ return /* @__PURE__ */ h("g", { transform: `translate(${f}, 0)`, children: [
1307
+ /* @__PURE__ */ o(
1308
1308
  "line",
1309
1309
  {
1310
1310
  y1: 0,
1311
- y2: g - n * 2,
1311
+ y2: g - i * 2,
1312
1312
  stroke: "#ccc"
1313
1313
  }
1314
1314
  ),
1315
- /* @__PURE__ */ i(
1315
+ /* @__PURE__ */ o(
1316
1316
  "text",
1317
1317
  {
1318
- y: g - n,
1318
+ y: g - i,
1319
1319
  textAnchor: "middle",
1320
1320
  fontSize: 10,
1321
1321
  fill: t,
1322
1322
  children: parseInt(C)
1323
1323
  }
1324
1324
  )
1325
- ] }, f);
1325
+ ] }, b);
1326
1326
  }) }),
1327
- o && o.length > 0 && (o == null ? void 0 : o.map((C, f) => {
1328
- const v = h(C.value), y = f * (s + n);
1329
- return /* @__PURE__ */ u(
1327
+ n && n.length > 0 && (n == null ? void 0 : n.map((C, b) => {
1328
+ const f = m(C.value), v = b * (s + i);
1329
+ return /* @__PURE__ */ h(
1330
1330
  "g",
1331
1331
  {
1332
- transform: `translate(${r + l}, ${y})`,
1332
+ transform: `translate(${a + c}, ${v})`,
1333
1333
  children: [
1334
- /* @__PURE__ */ i(
1334
+ /* @__PURE__ */ o(
1335
1335
  "text",
1336
1336
  {
1337
1337
  x: -24,
1338
1338
  y: s / 2 + 5,
1339
1339
  textAnchor: "end",
1340
1340
  fill: t,
1341
- children: m(C.title)
1341
+ children: p(C.title)
1342
1342
  }
1343
1343
  ),
1344
- /* @__PURE__ */ i(
1344
+ /* @__PURE__ */ o(
1345
1345
  "rect",
1346
1346
  {
1347
- width: v,
1347
+ width: f,
1348
1348
  height: s,
1349
1349
  fill: C.color,
1350
1350
  rx: 0
@@ -1352,12 +1352,12 @@ const xt = "_barChartContainer_d2f1z_2", kt = {
1352
1352
  )
1353
1353
  ]
1354
1354
  },
1355
- f
1355
+ b
1356
1356
  );
1357
1357
  }))
1358
1358
  ] }) }) });
1359
1359
  };
1360
- K2.propTypes = {
1360
+ nt.propTypes = {
1361
1361
  data: e.arrayOf(
1362
1362
  e.shape({
1363
1363
  title: e.string,
@@ -1373,47 +1373,47 @@ K2.propTypes = {
1373
1373
  numberOfDivisions: e.number,
1374
1374
  fontColor: e.string
1375
1375
  };
1376
- const Nt = "_graphicContainer_c9zrg_2", St = "_titleContainer_c9zrg_14", B2 = {
1377
- graphicContainer: Nt,
1378
- titleContainer: St
1379
- }, Mt = ({
1380
- data: o,
1376
+ const z2 = "_graphicContainer_c9zrg_2", j2 = "_titleContainer_c9zrg_14", Ie = {
1377
+ graphicContainer: z2,
1378
+ titleContainer: j2
1379
+ }, Z2 = ({
1380
+ data: n,
1381
1381
  graphWidth: d = 700,
1382
1382
  containerStyle: s,
1383
- borderColor: n = "#605B56",
1383
+ borderColor: i = "#605B56",
1384
1384
  title: t = "Graphic Title",
1385
- fontColor: a = "#605B56",
1386
- maxValue: l = null,
1387
- numberOfDivisions: r = 7,
1388
- leftPadding: c = 200
1385
+ fontColor: r = "#605B56",
1386
+ maxValue: c = null,
1387
+ numberOfDivisions: a = 7,
1388
+ leftPadding: l = 200
1389
1389
  }) => {
1390
- const { t: p } = k();
1391
- return /* @__PURE__ */ u(
1390
+ const { t: u } = N();
1391
+ return /* @__PURE__ */ h(
1392
1392
  "div",
1393
1393
  {
1394
- className: B2.graphicContainer,
1394
+ className: Ie.graphicContainer,
1395
1395
  style: {
1396
1396
  ...s || {},
1397
- border: `1.5px solid ${n}`
1397
+ border: `1.5px solid ${i}`
1398
1398
  },
1399
1399
  children: [
1400
- /* @__PURE__ */ i("div", { className: B2.titleContainer, children: /* @__PURE__ */ i("h2", { children: p(t) }) }),
1401
- /* @__PURE__ */ i(
1402
- K2,
1400
+ /* @__PURE__ */ o("div", { className: Ie.titleContainer, children: /* @__PURE__ */ o("h2", { children: u(t) }) }),
1401
+ /* @__PURE__ */ o(
1402
+ nt,
1403
1403
  {
1404
- data: o,
1404
+ data: n,
1405
1405
  width: d,
1406
- fontColor: a,
1407
- maxValue: l,
1408
- numberOfDivisions: r,
1409
- leftPadding: c
1406
+ fontColor: r,
1407
+ maxValue: c,
1408
+ numberOfDivisions: a,
1409
+ leftPadding: l
1410
1410
  }
1411
1411
  )
1412
1412
  ]
1413
1413
  }
1414
1414
  );
1415
1415
  };
1416
- Mt.propTypes = {
1416
+ Z2.propTypes = {
1417
1417
  data: e.arrayOf(
1418
1418
  e.shape({
1419
1419
  color: e.string.isRequired,
@@ -1430,147 +1430,147 @@ Mt.propTypes = {
1430
1430
  numberOfDivisions: e.number,
1431
1431
  leftPadding: e.number
1432
1432
  };
1433
- const Dt = "_indicatorsCategory_1cu33_2", Bt = "_title_1cu33_5", Lt = "_list_1cu33_11", m2 = {
1434
- indicatorsCategory: Dt,
1435
- title: Bt,
1436
- list: Lt
1437
- }, Tt = "_indicatorContainer_lw8gx_2", Ft = "_indicatorNameContainer_lw8gx_11", $t = "_dot_lw8gx_20", Vt = "_indicatorName_lw8gx_11", At = "_switchExternalContainer_lw8gx_31", Ot = "_switchType_lw8gx_40", It = "_switchTypeOptions_lw8gx_44", Rt = "_optionContainer_lw8gx_55", Et = "_customRadious_lw8gx_65", Pt = "_optionText_lw8gx_72", M = {
1438
- indicatorContainer: Tt,
1439
- indicatorNameContainer: Ft,
1440
- dot: $t,
1441
- indicatorName: Vt,
1442
- switchExternalContainer: At,
1443
- switchType: Ot,
1444
- switchTypeOptions: It,
1445
- optionContainer: Rt,
1446
- customRadious: Et,
1447
- optionText: Pt
1448
- }, N2 = ({
1449
- indicator: o,
1433
+ const H2 = "_indicatorsCategory_1cu33_2", K2 = "_title_1cu33_5", U2 = "_list_1cu33_11", he = {
1434
+ indicatorsCategory: H2,
1435
+ title: K2,
1436
+ list: U2
1437
+ }, G2 = "_indicatorContainer_lw8gx_2", Y2 = "_indicatorNameContainer_lw8gx_11", W2 = "_dot_lw8gx_20", X2 = "_indicatorName_lw8gx_11", J2 = "_switchExternalContainer_lw8gx_31", Q2 = "_switchType_lw8gx_40", e0 = "_switchTypeOptions_lw8gx_44", t0 = "_optionContainer_lw8gx_55", n0 = "_customRadious_lw8gx_65", i0 = "_optionText_lw8gx_72", F = {
1438
+ indicatorContainer: G2,
1439
+ indicatorNameContainer: Y2,
1440
+ dot: W2,
1441
+ indicatorName: X2,
1442
+ switchExternalContainer: J2,
1443
+ switchType: Q2,
1444
+ switchTypeOptions: e0,
1445
+ optionContainer: t0,
1446
+ customRadious: n0,
1447
+ optionText: i0
1448
+ }, Be = ({
1449
+ indicator: n,
1450
1450
  values: d = [],
1451
1451
  activeColor: s,
1452
- defaultColor: n = "#92898A",
1452
+ defaultColor: i = "#92898A",
1453
1453
  activeIndicator: t,
1454
- activeIndicatorType: a,
1455
- onClickIndicator: l,
1456
- multiple: r = !1,
1457
- onChangeType: c
1454
+ activeIndicatorType: r,
1455
+ onClickIndicator: c,
1456
+ multiple: a = !1,
1457
+ onChangeType: l
1458
1458
  }) => {
1459
- const { t: p } = k(), { name: m, type: h } = o, [b, g] = D(!1);
1460
- F(() => {
1459
+ const { t: u } = N(), { name: p, type: m } = n, [y, g] = D(!1);
1460
+ B(() => {
1461
1461
  t && g(
1462
- r ? t.some(
1463
- (v) => v.name == String(m)
1464
- ) : t.name == m
1462
+ a ? t.some(
1463
+ (f) => f.name == String(p)
1464
+ ) : t.name == p
1465
1465
  );
1466
1466
  }, [t]);
1467
- const C = () => /* @__PURE__ */ i("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: M.switchType, children: /* @__PURE__ */ u("div", { className: M.switchTypeOptions, children: [
1468
- /* @__PURE__ */ u(
1467
+ const C = () => /* @__PURE__ */ o("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ o("div", { className: F.switchType, children: /* @__PURE__ */ h("div", { className: F.switchTypeOptions, children: [
1468
+ /* @__PURE__ */ h(
1469
1469
  "div",
1470
1470
  {
1471
- className: M.optionContainer,
1472
- onClick: () => c("cat"),
1471
+ className: F.optionContainer,
1472
+ onClick: () => l("cat"),
1473
1473
  children: [
1474
- /* @__PURE__ */ i(
1474
+ /* @__PURE__ */ o(
1475
1475
  "span",
1476
1476
  {
1477
- className: `${M.customRadious}`,
1477
+ className: `${F.customRadious}`,
1478
1478
  style: {
1479
- backgroundColor: a === "cat" ? s : "transparent",
1480
- borderColor: a === "cat" ? s : n
1479
+ backgroundColor: r === "cat" ? s : "transparent",
1480
+ borderColor: r === "cat" ? s : i
1481
1481
  }
1482
1482
  }
1483
1483
  ),
1484
- /* @__PURE__ */ i(
1484
+ /* @__PURE__ */ o(
1485
1485
  "h4",
1486
1486
  {
1487
- className: M.optionText,
1487
+ className: F.optionText,
1488
1488
  style: {
1489
- color: a === "cat" ? s : n
1489
+ color: r === "cat" ? s : i
1490
1490
  },
1491
- children: p("indicators.cat")
1491
+ children: u("indicators.cat")
1492
1492
  }
1493
1493
  )
1494
1494
  ]
1495
1495
  }
1496
1496
  ),
1497
- /* @__PURE__ */ u(
1497
+ /* @__PURE__ */ h(
1498
1498
  "div",
1499
1499
  {
1500
- className: M.optionContainer,
1501
- onClick: () => c("abs"),
1500
+ className: F.optionContainer,
1501
+ onClick: () => l("abs"),
1502
1502
  children: [
1503
- /* @__PURE__ */ i(
1503
+ /* @__PURE__ */ o(
1504
1504
  "span",
1505
1505
  {
1506
- className: `${M.customRadious}`,
1506
+ className: `${F.customRadious}`,
1507
1507
  style: {
1508
- backgroundColor: a === "abs" ? s : "transparent",
1509
- borderColor: a === "abs" ? s : n
1508
+ backgroundColor: r === "abs" ? s : "transparent",
1509
+ borderColor: r === "abs" ? s : i
1510
1510
  }
1511
1511
  }
1512
1512
  ),
1513
- /* @__PURE__ */ i(
1513
+ /* @__PURE__ */ o(
1514
1514
  "h4",
1515
1515
  {
1516
- className: M.optionText,
1516
+ className: F.optionText,
1517
1517
  style: {
1518
- color: a === "abs" ? s : n
1518
+ color: r === "abs" ? s : i
1519
1519
  },
1520
- children: p("indicators.abs")
1520
+ children: u("indicators.abs")
1521
1521
  }
1522
1522
  )
1523
1523
  ]
1524
1524
  }
1525
1525
  )
1526
- ] }) }) }), f = () => /* @__PURE__ */ i("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: M.switchType, children: /* @__PURE__ */ i("div", { className: M.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ u(
1526
+ ] }) }) }), b = () => /* @__PURE__ */ o("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ o("div", { className: F.switchType, children: /* @__PURE__ */ o("div", { className: F.switchTypeOptions, children: d.map((f, v) => /* @__PURE__ */ h(
1527
1527
  "div",
1528
1528
  {
1529
- className: M.optionContainer,
1529
+ className: F.optionContainer,
1530
1530
  children: [
1531
- /* @__PURE__ */ i(
1531
+ /* @__PURE__ */ o(
1532
1532
  "span",
1533
1533
  {
1534
- className: M.customRadious
1534
+ className: F.customRadious
1535
1535
  }
1536
1536
  ),
1537
- /* @__PURE__ */ i("h4", { children: p(v.unit) })
1537
+ /* @__PURE__ */ o("h4", { children: u(f.unit) })
1538
1538
  ]
1539
1539
  },
1540
- y
1540
+ v
1541
1541
  )) }) }) });
1542
- return /* @__PURE__ */ u("div", { className: M.indicatorContainer, children: [
1543
- /* @__PURE__ */ u(
1542
+ return /* @__PURE__ */ h("div", { className: F.indicatorContainer, children: [
1543
+ /* @__PURE__ */ h(
1544
1544
  "div",
1545
1545
  {
1546
- className: M.indicatorNameContainer,
1547
- onClick: () => l({ indicator: o }),
1546
+ className: F.indicatorNameContainer,
1547
+ onClick: () => c({ indicator: n }),
1548
1548
  children: [
1549
- /* @__PURE__ */ i(
1549
+ /* @__PURE__ */ o(
1550
1550
  "div",
1551
1551
  {
1552
1552
  style: {
1553
- border: b ? `1px solid ${s}` : `1px solid ${n}`
1553
+ border: y ? `1px solid ${s}` : `1px solid ${i}`
1554
1554
  },
1555
- className: M.dot
1555
+ className: F.dot
1556
1556
  }
1557
1557
  ),
1558
- /* @__PURE__ */ i(
1558
+ /* @__PURE__ */ o(
1559
1559
  "h4",
1560
1560
  {
1561
- className: M.indicatorName,
1562
- style: { color: b ? s : n },
1563
- children: /* @__PURE__ */ i(_2, { i18nKey: m, components: { sup: /* @__PURE__ */ i("sup", {}) } })
1561
+ className: F.indicatorName,
1562
+ style: { color: y ? s : i },
1563
+ children: /* @__PURE__ */ o(Me, { i18nKey: p, components: { sup: /* @__PURE__ */ o("sup", {}) } })
1564
1564
  }
1565
1565
  )
1566
1566
  ]
1567
1567
  }
1568
1568
  ),
1569
- (t == null ? void 0 : t.name) === m && h === "both" && /* @__PURE__ */ i("div", { children: C() }),
1570
- (t == null ? void 0 : t.name) === m && h === "twoUnits" && /* @__PURE__ */ i("div", { children: f() })
1569
+ (t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ o("div", { children: C() }),
1570
+ (t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */ o("div", { children: b() })
1571
1571
  ] });
1572
1572
  };
1573
- N2.propTypes = {
1573
+ Be.propTypes = {
1574
1574
  indicator: e.shape({
1575
1575
  name: e.string,
1576
1576
  type: e.string
@@ -1582,63 +1582,63 @@ N2.propTypes = {
1582
1582
  multiple: e.bool,
1583
1583
  onClickIndicator: e.func
1584
1584
  };
1585
- const qt = "_indicatorsSubCategory_1dzsi_2", zt = "_list_1dzsi_8", L2 = {
1586
- indicatorsSubCategory: qt,
1587
- list: zt
1588
- }, U2 = ({
1589
- subcName: o,
1585
+ const s0 = "_indicatorsSubCategory_1dzsi_2", o0 = "_list_1dzsi_8", Oe = {
1586
+ indicatorsSubCategory: s0,
1587
+ list: o0
1588
+ }, it = ({
1589
+ subcName: n,
1590
1590
  indicators: d,
1591
1591
  defaultColor: s,
1592
- activeColor: n,
1592
+ activeColor: i,
1593
1593
  activeSubCategory: t,
1594
- onClickSubCategory: a,
1595
- id: l,
1596
- activeIndicator: r,
1597
- onClickIndicator: c,
1598
- multiple: p,
1599
- activeIndicatorType: m,
1600
- onChangeType: h
1594
+ onClickSubCategory: r,
1595
+ id: c,
1596
+ activeIndicator: a,
1597
+ onClickIndicator: l,
1598
+ multiple: u,
1599
+ activeIndicatorType: p,
1600
+ onChangeType: m
1601
1601
  }) => {
1602
- const { t: b } = k(), [g, C] = D(!1);
1603
- return F(() => {
1604
- C(t == l);
1605
- }, [t, l]), /* @__PURE__ */ u(
1606
- w2.div,
1602
+ const { t: y } = N(), [g, C] = D(!1);
1603
+ return B(() => {
1604
+ C(t == c);
1605
+ }, [t, c]), /* @__PURE__ */ h(
1606
+ Fe.div,
1607
1607
  {
1608
- className: L2.indicatorsSubCategory,
1608
+ className: Oe.indicatorsSubCategory,
1609
1609
  initial: { height: "43px" },
1610
1610
  animate: { height: g ? "auto" : "43px" },
1611
1611
  transition: { duration: 0.4 },
1612
1612
  children: [
1613
- /* @__PURE__ */ i("button", { onClick: () => a(l), children: /* @__PURE__ */ u("h3", { style: { color: g ? n : s }, children: [
1614
- /* @__PURE__ */ i("span", { style: { color: g ? n : s }, children: g ? "-" : "+" }),
1615
- /* @__PURE__ */ i(
1613
+ /* @__PURE__ */ o("button", { onClick: () => r(c), children: /* @__PURE__ */ h("h3", { style: { color: g ? i : s }, children: [
1614
+ /* @__PURE__ */ o("span", { style: { color: g ? i : s }, children: g ? "-" : "+" }),
1615
+ /* @__PURE__ */ o(
1616
1616
  "span",
1617
1617
  {
1618
- style: { marginLeft: 12, color: g ? n : s },
1619
- children: b(o)
1618
+ style: { marginLeft: 12, color: g ? i : s },
1619
+ children: y(n)
1620
1620
  }
1621
1621
  )
1622
1622
  ] }) }),
1623
- d && /* @__PURE__ */ i("div", { className: L2.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ i(
1624
- N2,
1623
+ d && /* @__PURE__ */ o("div", { className: Oe.list, children: d == null ? void 0 : d.map((b, f) => /* @__PURE__ */ o(
1624
+ Be,
1625
1625
  {
1626
- indicator: f,
1626
+ indicator: b,
1627
1627
  defaultColor: s,
1628
- activeColor: n,
1629
- activeIndicator: r,
1630
- onClickIndicator: c,
1631
- multiple: p,
1632
- activeIndicatorType: m,
1633
- onChangeType: h
1628
+ activeColor: i,
1629
+ activeIndicator: a,
1630
+ onClickIndicator: l,
1631
+ multiple: u,
1632
+ activeIndicatorType: p,
1633
+ onChangeType: m
1634
1634
  },
1635
- "indicator" + v
1635
+ "indicator" + f
1636
1636
  )) })
1637
1637
  ]
1638
1638
  }
1639
1639
  );
1640
1640
  };
1641
- U2.propTypes = {
1641
+ it.propTypes = {
1642
1642
  subcName: e.string,
1643
1643
  indicators: e.array,
1644
1644
  activeColor: e.string,
@@ -1650,29 +1650,29 @@ U2.propTypes = {
1650
1650
  onClickSubCategory: e.func,
1651
1651
  onClickIndicator: e.func
1652
1652
  };
1653
- const G2 = ({
1654
- cat: o,
1653
+ const st = ({
1654
+ cat: n,
1655
1655
  id: d,
1656
1656
  activeColor: s,
1657
- defaultColor: n,
1657
+ defaultColor: i,
1658
1658
  onClickCategory: t,
1659
- activeCategory: a,
1660
- activeSubCategory: l,
1661
- onClickSubCategory: r,
1662
- activeIndicator: c,
1663
- onClickIndicator: p,
1664
- multiple: m,
1665
- activeIndicatorType: h,
1666
- onChangeType: b
1659
+ activeCategory: r,
1660
+ activeSubCategory: c,
1661
+ onClickSubCategory: a,
1662
+ activeIndicator: l,
1663
+ onClickIndicator: u,
1664
+ multiple: p,
1665
+ activeIndicatorType: m,
1666
+ onChangeType: y
1667
1667
  }) => {
1668
- var v;
1669
- const { t: g } = k(), [C, f] = D(!1);
1670
- return F(() => {
1671
- f(a === d);
1672
- }, [a, d]), /* @__PURE__ */ u(
1673
- w2.div,
1668
+ var f;
1669
+ const { t: g } = N(), [C, b] = D(!1);
1670
+ return B(() => {
1671
+ b(r === d);
1672
+ }, [r, d]), /* @__PURE__ */ h(
1673
+ Fe.div,
1674
1674
  {
1675
- className: m2.indicatorsCategory,
1675
+ className: he.indicatorsCategory,
1676
1676
  initial: { height: "53px" },
1677
1677
  animate: { height: C ? "auto" : "53px" },
1678
1678
  transition: { duration: 0.4 },
@@ -1682,55 +1682,55 @@ const G2 = ({
1682
1682
  marginBottom: C ? "20px" : "0px"
1683
1683
  },
1684
1684
  children: [
1685
- /* @__PURE__ */ u("h2", { className: `${m2.title}`, onClick: () => t(d), children: [
1686
- /* @__PURE__ */ i("span", { style: { color: C ? s : n }, children: C ? "-" : "+" }),
1687
- /* @__PURE__ */ i(
1685
+ /* @__PURE__ */ h("h2", { className: `${he.title}`, onClick: () => t(d), children: [
1686
+ /* @__PURE__ */ o("span", { style: { color: C ? s : i }, children: C ? "-" : "+" }),
1687
+ /* @__PURE__ */ o(
1688
1688
  "span",
1689
1689
  {
1690
- style: { marginLeft: 12, color: C ? s : n },
1691
- children: g(o.name)
1690
+ style: { marginLeft: 12, color: C ? s : i },
1691
+ children: g(n.name)
1692
1692
  }
1693
1693
  )
1694
1694
  ] }),
1695
- o.subcategories ? o.subcategories.map(
1696
- ({ name: y, subcategory: w, indicators: x }, _) => /* @__PURE__ */ i(
1697
- U2,
1695
+ n.subcategories ? n.subcategories.map(
1696
+ ({ name: v, subcategory: x, indicators: w }, _) => /* @__PURE__ */ o(
1697
+ it,
1698
1698
  {
1699
- id: w,
1700
- activeSubCategory: l,
1701
- subcName: y,
1702
- onClickSubCategory: r,
1703
- activeIndicator: c,
1704
- onClickIndicator: p,
1705
- multiple: m,
1699
+ id: x,
1700
+ activeSubCategory: c,
1701
+ subcName: v,
1702
+ onClickSubCategory: a,
1703
+ activeIndicator: l,
1704
+ onClickIndicator: u,
1705
+ multiple: p,
1706
1706
  activeColor: s,
1707
- defaultColor: n,
1708
- indicators: x,
1709
- activeIndicatorType: h,
1710
- onChangeType: b
1707
+ defaultColor: i,
1708
+ indicators: w,
1709
+ activeIndicatorType: m,
1710
+ onChangeType: y
1711
1711
  },
1712
1712
  `subcKey ${_}`
1713
1713
  )
1714
- ) : /* @__PURE__ */ i("div", { className: m2.list, children: (v = o.indicators) == null ? void 0 : v.map((y, w) => /* @__PURE__ */ i(
1715
- N2,
1714
+ ) : /* @__PURE__ */ o("div", { className: he.list, children: (f = n.indicators) == null ? void 0 : f.map((v, x) => /* @__PURE__ */ o(
1715
+ Be,
1716
1716
  {
1717
- indicator: y,
1718
- values: y.type == "twoUnits" && y.values,
1717
+ indicator: v,
1718
+ values: v.type == "twoUnits" && v.values,
1719
1719
  activeColor: s,
1720
- defaultColor: n,
1721
- activeIndicator: c,
1722
- onClickIndicator: p,
1723
- multiple: m,
1724
- activeIndicatorType: h,
1725
- onChangeType: b
1720
+ defaultColor: i,
1721
+ activeIndicator: l,
1722
+ onClickIndicator: u,
1723
+ multiple: p,
1724
+ activeIndicatorType: m,
1725
+ onChangeType: y
1726
1726
  },
1727
- `indicator${w}`
1727
+ `indicator${x}`
1728
1728
  )) })
1729
1729
  ]
1730
1730
  }
1731
1731
  );
1732
1732
  };
1733
- G2.propTypes = {
1733
+ st.propTypes = {
1734
1734
  cat: e.object,
1735
1735
  id: e.string,
1736
1736
  onChange: e.func,
@@ -1744,93 +1744,93 @@ G2.propTypes = {
1744
1744
  activeColor: e.string,
1745
1745
  defaultColor: e.string
1746
1746
  };
1747
- const jt = "_indicatorsList_fklyu_2", Zt = "_title_fklyu_6", T2 = {
1748
- indicatorsList: jt,
1749
- title: Zt
1750
- }, Ht = ({
1751
- indicators: o,
1747
+ const r0 = "_indicatorsList_fklyu_2", a0 = "_title_fklyu_6", Re = {
1748
+ indicatorsList: r0,
1749
+ title: a0
1750
+ }, l0 = ({
1751
+ indicators: n,
1752
1752
  activeColor: d,
1753
1753
  defaultColor: s = "#92898A",
1754
1754
  // Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
1755
- onChange: n,
1755
+ onChange: i,
1756
1756
  // Selección multiple
1757
1757
  multiple: t = !1,
1758
1758
  // Si multiple es true, debe ser un array de strings, sino un string
1759
- defaultValue: a = null,
1759
+ defaultValue: r = null,
1760
1760
  //si el indicador es tipo "both" cuando se cambia el tipo
1761
- changeIndType: l,
1762
- activeIndicatorType: r
1761
+ changeIndType: c,
1762
+ activeIndicatorType: a
1763
1763
  }) => {
1764
- const { t: c } = k(), [p, m] = D(), [h, b] = D(), [g, C] = D(), f = (_) => {
1765
- m(p == _ ? null : _);
1766
- }, v = (_) => {
1767
- b(h == _ ? null : _);
1768
- }, y = ({ indicator: _ }) => {
1769
- console.log("onClickIndicator: ", _), w(_);
1770
- }, w = (_) => {
1764
+ const { t: l } = N(), [u, p] = D(), [m, y] = D(), [g, C] = D(), b = (_) => {
1765
+ p(u == _ ? null : _);
1766
+ }, f = (_) => {
1767
+ y(m == _ ? null : _);
1768
+ }, v = ({ indicator: _ }) => {
1769
+ console.log("onClickIndicator: ", _), x(_);
1770
+ }, x = (_) => {
1771
1771
  if (!t)
1772
1772
  C(
1773
1773
  (g == null ? void 0 : g.name) == _.name ? null : _
1774
1774
  );
1775
1775
  else {
1776
- let N = g && g.length > 0 ? [...g] : [];
1776
+ let S = g && g.length > 0 ? [...g] : [];
1777
1777
  C(
1778
- N != null && N.some(
1779
- (S) => S.name == _.name
1780
- ) ? N.filter(
1781
- (S) => S.name != String(_.name)
1782
- ) : [...N, _]
1783
- ), _.type == "both" && l("cat");
1778
+ S != null && S.some(
1779
+ (M) => M.name == _.name
1780
+ ) ? S.filter(
1781
+ (M) => M.name != String(_.name)
1782
+ ) : [...S, _]
1783
+ ), _.type == "both" && c("cat");
1784
1784
  }
1785
1785
  };
1786
- F(() => {
1787
- console.log("activeindicator changed to: ", g), n && typeof n == "function" && g && n({ activeIndicator: g });
1788
- }, [g]), J2(() => {
1789
- if (a && !g)
1790
- if (t && a && Array.isArray(a)) {
1786
+ B(() => {
1787
+ console.log("activeindicator changed to: ", g), i && typeof i == "function" && g && i({ activeIndicator: g });
1788
+ }, [g]), gt(() => {
1789
+ if (r && !g)
1790
+ if (t && r && Array.isArray(r)) {
1791
1791
  let _ = g && g.length > 0 ? [...g] : [];
1792
- C([..._, ...a]), x(a[0].name);
1792
+ C([..._, ...r]), w(r[0].name);
1793
1793
  } else
1794
- w(a), x(a.name);
1794
+ x(r), w(r.name);
1795
1795
  }, []);
1796
- const x = (_) => {
1797
- const N = o.find((S) => {
1798
- if (S.subcategories) {
1799
- let I = S.subcategories.find(
1800
- (X) => X.indicators.find((r2) => r2.name == _)
1796
+ const w = (_) => {
1797
+ const S = n.find((M) => {
1798
+ if (M.subcategories) {
1799
+ let E = M.subcategories.find(
1800
+ (Q) => Q.indicators.find((le) => le.name == _)
1801
1801
  );
1802
- if (I)
1803
- return b(I.subcategory), I;
1802
+ if (E)
1803
+ return y(E.subcategory), E;
1804
1804
  } else
1805
- return S.indicators.some((I) => I.name == _);
1805
+ return M.indicators.some((E) => E.name == _);
1806
1806
  });
1807
- N && m(N.category);
1807
+ S && p(S.category);
1808
1808
  };
1809
- return /* @__PURE__ */ u("div", { className: T2.indicatorsList, children: [
1810
- /* @__PURE__ */ i("h2", { className: T2.title, style: { color: s }, children: c("indicators.indicators") }),
1811
- o.map((_, N) => /* @__PURE__ */ i(
1812
- G2,
1809
+ return /* @__PURE__ */ h("div", { className: Re.indicatorsList, children: [
1810
+ /* @__PURE__ */ o("h2", { className: Re.title, style: { color: s }, children: l("indicators.indicators") }),
1811
+ n.map((_, S) => /* @__PURE__ */ o(
1812
+ st,
1813
1813
  {
1814
1814
  id: _.category,
1815
1815
  cat: _,
1816
- onClickCategory: f,
1817
- activeCategory: p,
1818
- onClickSubCategory: v,
1819
- activeSubCategory: h,
1820
- onClickIndicator: y,
1816
+ onClickCategory: b,
1817
+ activeCategory: u,
1818
+ onClickSubCategory: f,
1819
+ activeSubCategory: m,
1820
+ onClickIndicator: v,
1821
1821
  activeIndicator: g,
1822
1822
  activeColor: d,
1823
1823
  defaultColor: s,
1824
1824
  multiple: t,
1825
- onChange: n,
1826
- onChangeType: l,
1827
- activeIndicatorType: r
1825
+ onChange: i,
1826
+ onChangeType: c,
1827
+ activeIndicatorType: a
1828
1828
  },
1829
- `categoryKey${N}`
1829
+ `categoryKey${S}`
1830
1830
  ))
1831
1831
  ] });
1832
1832
  };
1833
- Ht.propTypes = {
1833
+ l0.propTypes = {
1834
1834
  indicators: e.arrayOf(e.object),
1835
1835
  activeColor: e.string,
1836
1836
  defaultColor: e.string,
@@ -1841,43 +1841,43 @@ Ht.propTypes = {
1841
1841
  defaultValue: e.oneOfType([e.object, e.array]),
1842
1842
  activeIndicatorType: e.string
1843
1843
  };
1844
- const Kt = "_langSelector_o9enq_2", Ut = "_currentLang_o9enq_14", Gt = "_arrow_o9enq_26", Yt = "_prevImg_o9enq_29", Wt = "_langMenu_o9enq_33", Y = {
1845
- langSelector: Kt,
1846
- currentLang: Ut,
1847
- arrow: Gt,
1848
- prevImg: Yt,
1849
- langMenu: Wt
1850
- }, Xt = ({ langs: o, arrow: d, imgPrev: s }) => {
1851
- const [n, t] = D(!1), { i18n: a } = k(), l = o.find((c) => c.code == a.language), r = (c) => {
1852
- a.changeLanguage(c), t(!1);
1844
+ const c0 = "_langSelector_o9enq_2", d0 = "_currentLang_o9enq_14", u0 = "_arrow_o9enq_26", p0 = "_prevImg_o9enq_29", m0 = "_langMenu_o9enq_33", X = {
1845
+ langSelector: c0,
1846
+ currentLang: d0,
1847
+ arrow: u0,
1848
+ prevImg: p0,
1849
+ langMenu: m0
1850
+ }, h0 = ({ langs: n, arrow: d, imgPrev: s }) => {
1851
+ const [i, t] = D(!1), { i18n: r } = N(), c = n.find((l) => l.code == r.language), a = (l) => {
1852
+ r.changeLanguage(l), t(!1);
1853
1853
  };
1854
- return /* @__PURE__ */ u("div", { className: Y.langSelector, children: [
1855
- /* @__PURE__ */ u(
1854
+ return /* @__PURE__ */ h("div", { className: X.langSelector, children: [
1855
+ /* @__PURE__ */ h(
1856
1856
  "div",
1857
1857
  {
1858
- className: Y.currentLang,
1858
+ className: X.currentLang,
1859
1859
  onClick: () => {
1860
- t(!n);
1860
+ t(!i);
1861
1861
  },
1862
1862
  children: [
1863
- s && /* @__PURE__ */ i("img", { className: Y.prevImg, src: s }),
1864
- (l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
1865
- /* @__PURE__ */ i("img", { src: d, className: Y.arrow })
1863
+ s && /* @__PURE__ */ o("img", { className: X.prevImg, src: s }),
1864
+ (c == null ? void 0 : c.titleSelected) || (c == null ? void 0 : c.title),
1865
+ /* @__PURE__ */ o("img", { src: d, className: X.arrow })
1866
1866
  ]
1867
1867
  }
1868
1868
  ),
1869
- n && /* @__PURE__ */ i("div", { className: Y.langMenu, children: o.map((c) => /* @__PURE__ */ i(
1869
+ i && /* @__PURE__ */ o("div", { className: X.langMenu, children: n.map((l) => /* @__PURE__ */ o(
1870
1870
  "button",
1871
1871
  {
1872
- className: (l == null ? void 0 : l.code) == c.code ? Y.active : "",
1873
- onClick: () => r(c.code),
1874
- children: c.title
1872
+ className: (c == null ? void 0 : c.code) == l.code ? X.active : "",
1873
+ onClick: () => a(l.code),
1874
+ children: l.title
1875
1875
  },
1876
- c.code
1876
+ l.code
1877
1877
  )) })
1878
1878
  ] });
1879
1879
  };
1880
- Xt.propTypes = {
1880
+ h0.propTypes = {
1881
1881
  langs: e.arrayOf(
1882
1882
  e.shape({
1883
1883
  code: e.string,
@@ -1891,103 +1891,103 @@ Xt.propTypes = {
1891
1891
  arrow: e.object,
1892
1892
  imgPrev: e.object
1893
1893
  };
1894
- const Jt = "_legendContainer_atg3j_3", Qt = "_closeButton_atg3j_18", e0 = "_titleContainer_atg3j_46", t0 = "_infoContainer_atg3j_52", n0 = "_titleLegendList_atg3j_63", i0 = "_legendListContainer_atg3j_70", o0 = "_gridContainer_atg3j_70", s0 = "_elementLegendContainer_atg3j_76", r0 = "_colorDot_atg3j_82", a0 = "_absoluteValueContainer_atg3j_88", l0 = "_absoluteValueColor_atg3j_91", c0 = "_absoluteValueText_atg3j_96", d0 = "_moreInfoContainer_atg3j_108", T = {
1895
- legendContainer: Jt,
1896
- closeButton: Qt,
1897
- titleContainer: e0,
1898
- infoContainer: t0,
1899
- titleLegendList: n0,
1900
- legendListContainer: i0,
1901
- gridContainer: o0,
1902
- elementLegendContainer: s0,
1903
- colorDot: r0,
1904
- absoluteValueContainer: a0,
1905
- absoluteValueColor: l0,
1906
- absoluteValueText: c0,
1907
- moreInfoContainer: d0
1908
- }, p0 = ({
1894
+ const g0 = "_legendContainer_atg3j_3", C0 = "_closeButton_atg3j_18", f0 = "_titleContainer_atg3j_46", b0 = "_infoContainer_atg3j_52", y0 = "_titleLegendList_atg3j_63", v0 = "_legendListContainer_atg3j_70", _0 = "_gridContainer_atg3j_70", x0 = "_elementLegendContainer_atg3j_76", w0 = "_colorDot_atg3j_82", k0 = "_absoluteValueContainer_atg3j_88", N0 = "_absoluteValueColor_atg3j_91", S0 = "_absoluteValueText_atg3j_96", M0 = "_moreInfoContainer_atg3j_108", V = {
1895
+ legendContainer: g0,
1896
+ closeButton: C0,
1897
+ titleContainer: f0,
1898
+ infoContainer: b0,
1899
+ titleLegendList: y0,
1900
+ legendListContainer: v0,
1901
+ gridContainer: _0,
1902
+ elementLegendContainer: x0,
1903
+ colorDot: w0,
1904
+ absoluteValueContainer: k0,
1905
+ absoluteValueColor: N0,
1906
+ absoluteValueText: S0,
1907
+ moreInfoContainer: M0
1908
+ }, F0 = ({
1909
1909
  //JSON with the styles of the container (optional)
1910
- containerStyles: o,
1910
+ containerStyles: n,
1911
1911
  //Title on top of the legend
1912
1912
  title: d,
1913
1913
  //Array to display the info behind the title should have: [{title, value}, ...]
1914
1914
  infoList: s,
1915
1915
  //Array to display the items of the legend: [{title, color}, ...]
1916
1916
  //color should be a string with hexadecimal value
1917
- legendList: n,
1917
+ legendList: i,
1918
1918
  //If not passed it will read t("mainUser")
1919
1919
  legendListTitle: t,
1920
1920
  //Should be an object with {maxColor, minColor, maxValue, minValue}
1921
1921
  //If this has is not null or undefined, the legendList values wont be displayed.
1922
1922
  //It will display only the absolute value indicator.
1923
- absoluteValue: a,
1923
+ absoluteValue: r,
1924
1924
  //Function to be called when the button is clicked (optional).
1925
1925
  //If this is null or undefined the button wont be displayed.
1926
- onClickMoreInfo: l,
1926
+ onClickMoreInfo: c,
1927
1927
  //If not passed it will read t("moreInformation")
1928
- buttonTitle: r,
1929
- onClickClose: c
1928
+ buttonTitle: a,
1929
+ onClickClose: l
1930
1930
  }) => {
1931
- const { t: p } = k();
1932
- return /* @__PURE__ */ u(
1931
+ const { t: u } = N();
1932
+ return /* @__PURE__ */ h(
1933
1933
  "div",
1934
1934
  {
1935
- style: o ? { ...o } : {},
1936
- className: `${T.legendContainer}`,
1935
+ style: n ? { ...n } : {},
1936
+ className: `${V.legendContainer}`,
1937
1937
  children: [
1938
- /* @__PURE__ */ i("button", { className: T.closeButton, onClick: c }),
1939
- d && /* @__PURE__ */ i("div", { className: T.titleContainer, children: /* @__PURE__ */ i("h2", { children: d }) }),
1940
- s && s.length > 0 && /* @__PURE__ */ i("div", { className: T.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: m, value: h }) => /* @__PURE__ */ u("li", { children: [
1941
- /* @__PURE__ */ i("h3", { className: T.title, children: `${m}:` }),
1942
- /* @__PURE__ */ u("span", { className: T.value, children: [
1938
+ /* @__PURE__ */ o("button", { className: V.closeButton, onClick: l }),
1939
+ d && /* @__PURE__ */ o("div", { className: V.titleContainer, children: /* @__PURE__ */ o("h2", { children: d }) }),
1940
+ s && s.length > 0 && /* @__PURE__ */ o("div", { className: V.infoContainer, children: /* @__PURE__ */ o("ul", { children: s.map(({ title: p, value: m }) => /* @__PURE__ */ h("li", { children: [
1941
+ /* @__PURE__ */ o("h3", { className: V.title, children: `${p}:` }),
1942
+ /* @__PURE__ */ h("span", { className: V.value, children: [
1943
1943
  "  ",
1944
- h
1944
+ m
1945
1945
  ] })
1946
1946
  ] }, d)) }) }),
1947
- /* @__PURE__ */ i("h3", { className: T.titleLegendList, children: t ? /* @__PURE__ */ i(_2, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) } }) : p("mainUse") }),
1948
- /* @__PURE__ */ i("div", { className: T.legendListContainer, children: a ? /* @__PURE__ */ u("div", { className: T.absoluteValueContainer, children: [
1949
- /* @__PURE__ */ i(
1947
+ /* @__PURE__ */ o("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ o(Me, { i18nKey: t, components: { sup: /* @__PURE__ */ o("sup", {}) } }) : u("mainUse") }),
1948
+ /* @__PURE__ */ o("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
1949
+ /* @__PURE__ */ o(
1950
1950
  "div",
1951
1951
  {
1952
- className: T.absoluteValueColor,
1952
+ className: V.absoluteValueColor,
1953
1953
  style: {
1954
- background: `linear-gradient(to bottom, ${a.maxColor} 0%, ${a.minColor} 100%)`
1954
+ background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`
1955
1955
  }
1956
1956
  }
1957
1957
  ),
1958
- /* @__PURE__ */ u("div", { className: T.absoluteValueText, children: [
1959
- /* @__PURE__ */ u("span", { children: [
1960
- a.maxValue,
1958
+ /* @__PURE__ */ h("div", { className: V.absoluteValueText, children: [
1959
+ /* @__PURE__ */ h("span", { children: [
1960
+ r.maxValue,
1961
1961
  " ",
1962
- p(a.unit)
1962
+ u(r.unit)
1963
1963
  ] }),
1964
- /* @__PURE__ */ u("span", { children: [
1965
- a.minValue,
1964
+ /* @__PURE__ */ h("span", { children: [
1965
+ r.minValue,
1966
1966
  " ",
1967
- p(a.unit)
1967
+ u(r.unit)
1968
1968
  ] })
1969
1969
  ] })
1970
- ] }) : n && n.length > 0 && /* @__PURE__ */ i("div", { className: T.gridContainer, children: n.map(
1971
- ({ title: m, color: h }) => /* @__PURE__ */ u("div", { className: T.elementLegendContainer, children: [
1972
- /* @__PURE__ */ i(
1970
+ ] }) : i && i.length > 0 && /* @__PURE__ */ o("div", { className: V.gridContainer, children: i.map(
1971
+ ({ title: p, color: m }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
1972
+ /* @__PURE__ */ o(
1973
1973
  "div",
1974
1974
  {
1975
- className: T.colorDot,
1976
- style: { backgroundColor: h }
1975
+ className: V.colorDot,
1976
+ style: { backgroundColor: m }
1977
1977
  }
1978
1978
  ),
1979
- /* @__PURE__ */ u("div", { className: T.titleLegendElement, children: [
1980
- p(m),
1979
+ /* @__PURE__ */ h("div", { className: V.titleLegendElement, children: [
1980
+ u(p),
1981
1981
  " "
1982
1982
  ] })
1983
1983
  ] }, d)
1984
1984
  ) }) }),
1985
- l && /* @__PURE__ */ i("button", { className: T.moreInfoContainer, onClick: l, children: r || p("moreInformation") })
1985
+ c && /* @__PURE__ */ o("button", { className: V.moreInfoContainer, onClick: c, children: a || u("moreInformation") })
1986
1986
  ]
1987
1987
  }
1988
1988
  );
1989
1989
  };
1990
- p0.propTypes = {
1990
+ F0.propTypes = {
1991
1991
  title: e.string,
1992
1992
  containerStyles: e.object,
1993
1993
  infoList: e.arrayOf(
@@ -2013,88 +2013,88 @@ p0.propTypes = {
2013
2013
  buttonTitle: e.string,
2014
2014
  onClickClose: e.func
2015
2015
  };
2016
- const m0 = "_logo_1ewa6_2", F2 = {
2017
- logo: m0
2018
- }, u0 = ({ src: o, alt: d, href: s }) => {
2019
- const { t: n } = k(), t = /* @__PURE__ */ i("img", { src: o, alt: n(d) });
2020
- return s ? /* @__PURE__ */ i("div", { className: F2.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: F2.logo, children: t });
2016
+ const D0 = "_logo_1ewa6_2", Ee = {
2017
+ logo: D0
2018
+ }, L0 = ({ src: n, alt: d, href: s }) => {
2019
+ const { t: i } = N(), t = /* @__PURE__ */ o("img", { src: n, alt: i(d) });
2020
+ return s ? /* @__PURE__ */ o("div", { className: Ee.logo, children: /* @__PURE__ */ o("a", { href: s, children: t }) }) : /* @__PURE__ */ o("div", { className: Ee.logo, children: t });
2021
2021
  };
2022
- u0.propTypes = {
2022
+ L0.propTypes = {
2023
2023
  src: e.string.isRequired,
2024
2024
  alt: e.string.isRequired,
2025
2025
  href: e.string,
2026
2026
  className: e.string
2027
2027
  };
2028
- const h0 = "_mapContainer_84pkf_2", g0 = {
2029
- mapContainer: h0
2028
+ const B0 = "_mapContainer_84pkf_2", T0 = {
2029
+ mapContainer: B0
2030
2030
  };
2031
- ee.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2032
- const C0 = ({
2033
- initialView: o = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2031
+ ft.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2032
+ const V0 = ({
2033
+ initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2034
2034
  maxZoom: d = 17,
2035
2035
  minZoom: s = 8,
2036
- mapStyle: n,
2036
+ mapStyle: i,
2037
2037
  firstSymbolLayer: t,
2038
- cssProps: a = "",
2039
- onClick: l = "",
2040
- interactiveLayers: r = [],
2041
- popUp: c = !1,
2042
- sources: p = [],
2043
- layers: m = []
2038
+ cssProps: r = "",
2039
+ onClick: c = "",
2040
+ interactiveLayers: a = [],
2041
+ popUp: l = !1,
2042
+ sources: u = [],
2043
+ layers: p = []
2044
2044
  }) => {
2045
- const h = v2(), [b, g] = D(null), C = g2((f) => f.mapState.showTexts);
2046
- return F(() => {
2047
- if (h.current) {
2048
- const f = h.current.getMap();
2049
- f.getStyle().layers.map((y) => {
2050
- y.type == "symbol" && y.id != "professionals" && (C ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2045
+ const m = Se(), [y, g] = D(null), C = ve((b) => b.mapState.showTexts);
2046
+ return B(() => {
2047
+ if (m.current) {
2048
+ const b = m.current.getMap();
2049
+ b.getStyle().layers.map((v) => {
2050
+ v.type == "symbol" && v.id != "professionals" && (C ? b.setLayoutProperty(v.id, "visibility", "visible") : b.setLayoutProperty(v.id, "visibility", "none"));
2051
2051
  });
2052
2052
  }
2053
- }, [C]), /* @__PURE__ */ i("div", { className: `${g0.mapContainer}`, style: a, children: /* @__PURE__ */ u(
2054
- te,
2053
+ }, [C]), /* @__PURE__ */ o("div", { className: `${T0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
2054
+ bt,
2055
2055
  {
2056
- initialViewState: o,
2057
- ref: h,
2056
+ initialViewState: n,
2057
+ ref: m,
2058
2058
  hash: !1,
2059
2059
  maxZoom: d,
2060
2060
  minZoom: s,
2061
- mapStyle: n,
2062
- onClick: l,
2063
- interactiveLayerIds: r,
2061
+ mapStyle: i,
2062
+ onClick: c,
2063
+ interactiveLayerIds: a,
2064
2064
  children: [
2065
- p.length && p.map((f, v) => /* @__PURE__ */ i(
2066
- ne,
2065
+ u.length && u.map((b, f) => /* @__PURE__ */ o(
2066
+ yt,
2067
2067
  {
2068
- ...f,
2069
- children: m.length && m.map((y, w) => {
2070
- if (y.sourceId == f.id) return /* @__PURE__ */ i(
2071
- ie,
2068
+ ...b,
2069
+ children: p.length && p.map((v, x) => {
2070
+ if (v.sourceId == b.id) return /* @__PURE__ */ o(
2071
+ vt,
2072
2072
  {
2073
- ...y.layer,
2073
+ ...v.layer,
2074
2074
  beforeId: t
2075
2075
  },
2076
- w
2076
+ x
2077
2077
  );
2078
2078
  })
2079
2079
  },
2080
- v
2080
+ f
2081
2081
  )),
2082
- /* @__PURE__ */ i(oe, { position: "bottom-right", visualizePitch: !0 }),
2083
- c && b && /* @__PURE__ */ i(
2084
- se,
2082
+ /* @__PURE__ */ o(_t, { position: "bottom-right", visualizePitch: !0 }),
2083
+ l && y && /* @__PURE__ */ o(
2084
+ xt,
2085
2085
  {
2086
- longitude: c.longitude,
2087
- latitude: c.latitude,
2088
- anchor: c.anchor,
2086
+ longitude: l.longitude,
2087
+ latitude: l.latitude,
2088
+ anchor: l.anchor,
2089
2089
  onClose: () => g(null),
2090
- children: c.content
2090
+ children: l.content
2091
2091
  }
2092
2092
  )
2093
2093
  ]
2094
2094
  }
2095
2095
  ) });
2096
2096
  };
2097
- C0.propTypes = {
2097
+ V0.propTypes = {
2098
2098
  initialView: e.shape({
2099
2099
  latitude: e.number.isRequired,
2100
2100
  longitude: e.number.isRequired,
@@ -2139,98 +2139,98 @@ C0.propTypes = {
2139
2139
  })
2140
2140
  )
2141
2141
  };
2142
- const f0 = "_mapContainer_b0pyr_3", b0 = {
2143
- mapContainer: f0
2144
- }, y0 = "_FeaturePopUp_1gd6w_2", v0 = "_title_1gd6w_2", $2 = {
2145
- FeaturePopUp: y0,
2146
- title: v0
2147
- }, _0 = ({ props: o }) => {
2148
- const { t: d } = k();
2149
- return /* @__PURE__ */ i("div", { className: $2.FeaturePopUp, children: o.map((s) => /* @__PURE__ */ u("p", { children: [
2150
- /* @__PURE__ */ u("span", { className: $2.title, children: [
2151
- /* @__PURE__ */ i(_2, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) } }),
2142
+ const $0 = "_mapContainer_b0pyr_3", A0 = {
2143
+ mapContainer: $0
2144
+ }, I0 = "_FeaturePopUp_1gd6w_2", O0 = "_title_1gd6w_2", Pe = {
2145
+ FeaturePopUp: I0,
2146
+ title: O0
2147
+ }, R0 = ({ props: n }) => {
2148
+ const { t: d } = N();
2149
+ return /* @__PURE__ */ o("div", { className: Pe.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ h("p", { children: [
2150
+ /* @__PURE__ */ h("span", { className: Pe.title, children: [
2151
+ /* @__PURE__ */ o(Me, { i18nKey: s.name, components: { sup: /* @__PURE__ */ o("sup", {}) } }),
2152
2152
  ": "
2153
2153
  ] }),
2154
2154
  s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2155
2155
  " ",
2156
2156
  d(s.unit)
2157
2157
  ] })) });
2158
- }, w0 = ({
2159
- initialView: o = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2158
+ }, E0 = ({
2159
+ initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2160
2160
  maxZoom: d = 17,
2161
2161
  minZoom: s = 8,
2162
- mapStyle: n,
2162
+ mapStyle: i,
2163
2163
  firstSymbolLayer: t,
2164
- cssProps: a = {},
2165
- onClick: l = "",
2166
- interactiveLayers: r = [],
2167
- sources: c = [],
2168
- layers: p = [],
2169
- filters: m,
2170
- popUpParams: h,
2171
- onClosePopUp: b,
2164
+ cssProps: r = {},
2165
+ onClick: c = "",
2166
+ interactiveLayers: a = [],
2167
+ sources: l = [],
2168
+ layers: u = [],
2169
+ filters: p,
2170
+ popUpParams: m,
2171
+ onClosePopUp: y,
2172
2172
  showTexts: g
2173
2173
  }) => {
2174
- console.log(m);
2175
- const C = v2();
2176
- return F(() => {
2174
+ console.log(p);
2175
+ const C = Se();
2176
+ return B(() => {
2177
2177
  if (C.current) {
2178
- const f = C.current.getMap();
2179
- f.getStyle().layers.map((y) => {
2180
- y.type == "symbol" && y.id != "professionals" && (g ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2178
+ const b = C.current.getMap();
2179
+ b.getStyle().layers.map((v) => {
2180
+ v.type == "symbol" && v.id != "professionals" && (g ? b.setLayoutProperty(v.id, "visibility", "visible") : b.setLayoutProperty(v.id, "visibility", "none"));
2181
2181
  });
2182
2182
  }
2183
- }, [g]), F(() => {
2184
- let f = new re();
2185
- return l2.addProtocol("pmtiles", f.tile), () => {
2186
- l2.removeProtocol("pmtiles");
2183
+ }, [g]), B(() => {
2184
+ let b = new wt();
2185
+ return de.addProtocol("pmtiles", b.tile), () => {
2186
+ de.removeProtocol("pmtiles");
2187
2187
  };
2188
- }, []), /* @__PURE__ */ i("div", { className: `${b0.mapContainer}`, style: a && a, children: /* @__PURE__ */ u(
2189
- ae,
2188
+ }, []), /* @__PURE__ */ o("div", { className: `${A0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
2189
+ kt,
2190
2190
  {
2191
- mapLib: l2,
2192
- initialViewState: o,
2191
+ mapLib: de,
2192
+ initialViewState: n,
2193
2193
  ref: C,
2194
2194
  hash: !1,
2195
2195
  maxZoom: d,
2196
2196
  minZoom: s,
2197
- mapStyle: n,
2198
- onClick: l,
2199
- interactiveLayerIds: r,
2197
+ mapStyle: i,
2198
+ onClick: c,
2199
+ interactiveLayerIds: a,
2200
2200
  children: [
2201
- c.length && c.map((f, v) => /* @__PURE__ */ i(
2202
- le,
2201
+ l.length && l.map((b, f) => /* @__PURE__ */ o(
2202
+ Nt,
2203
2203
  {
2204
- ...f,
2205
- children: p.length && p.map((y, w) => {
2206
- if (y.sourceId == f.id) return /* @__PURE__ */ i(
2207
- ce,
2204
+ ...b,
2205
+ children: u.length && u.map((v, x) => {
2206
+ if (v.sourceId == b.id) return /* @__PURE__ */ o(
2207
+ St,
2208
2208
  {
2209
- ...y.layer,
2209
+ ...v.layer,
2210
2210
  beforeId: t,
2211
- filter: m && m
2211
+ filter: p && p
2212
2212
  },
2213
- w
2213
+ x
2214
2214
  );
2215
2215
  })
2216
2216
  },
2217
- v
2217
+ f
2218
2218
  )),
2219
- /* @__PURE__ */ i(de, { position: "bottom-right", visualizePitch: !0 }),
2220
- h && /* @__PURE__ */ i(
2221
- pe,
2219
+ /* @__PURE__ */ o(Mt, { position: "bottom-right", visualizePitch: !0 }),
2220
+ m && /* @__PURE__ */ o(
2221
+ Ft,
2222
2222
  {
2223
- longitude: h.lng,
2224
- latitude: h.lat,
2225
- onClose: b,
2226
- children: /* @__PURE__ */ i(_0, { props: h.props })
2223
+ longitude: m.lng,
2224
+ latitude: m.lat,
2225
+ onClose: y,
2226
+ children: /* @__PURE__ */ o(R0, { props: m.props })
2227
2227
  }
2228
2228
  )
2229
2229
  ]
2230
2230
  }
2231
2231
  ) });
2232
2232
  };
2233
- w0.propTypes = {
2233
+ E0.propTypes = {
2234
2234
  initialView: e.shape({
2235
2235
  latitude: e.number.isRequired,
2236
2236
  longitude: e.number.isRequired,
@@ -2273,33 +2273,33 @@ w0.propTypes = {
2273
2273
  popUpParams: e.object,
2274
2274
  onClosePopUp: e.func
2275
2275
  };
2276
- const x0 = "_sectionBar_1egwc_2", k0 = "_leftContent_1egwc_14", N0 = "_textContainer_1egwc_20", S0 = "_title_1egwc_27", M0 = "_subtitle_1egwc_33", D0 = "_rightContent_1egwc_38", j = {
2277
- sectionBar: x0,
2278
- leftContent: k0,
2279
- textContainer: N0,
2280
- title: S0,
2281
- subtitle: M0,
2282
- rightContent: D0
2283
- }, K1 = ({
2284
- leftIcon: o,
2276
+ const P0 = "_sectionBar_1egwc_2", q0 = "_leftContent_1egwc_14", z0 = "_textContainer_1egwc_20", j0 = "_title_1egwc_27", Z0 = "_subtitle_1egwc_33", H0 = "_rightContent_1egwc_38", H = {
2277
+ sectionBar: P0,
2278
+ leftContent: q0,
2279
+ textContainer: z0,
2280
+ title: j0,
2281
+ subtitle: Z0,
2282
+ rightContent: H0
2283
+ }, Bn = ({
2284
+ leftIcon: n,
2285
2285
  title: d,
2286
2286
  subtitle: s,
2287
- rightContent: n,
2287
+ rightContent: i,
2288
2288
  mainColor: t,
2289
- width: a
2289
+ width: r
2290
2290
  }) => {
2291
- const { t: l } = k();
2292
- return /* @__PURE__ */ u("div", { className: j.sectionBar, style: { width: a && a }, children: [
2293
- /* @__PURE__ */ u("div", { className: j.leftContent, children: [
2294
- o && /* @__PURE__ */ i("img", { src: o, alt: "Icono", className: j.icon }),
2295
- /* @__PURE__ */ u("div", { className: j.textContainer, children: [
2296
- /* @__PURE__ */ i("div", { className: j.title, children: l(d) }),
2297
- s && /* @__PURE__ */ i("div", { className: j.subtitle, children: s })
2291
+ const { t: c } = N();
2292
+ return /* @__PURE__ */ h("div", { className: H.sectionBar, style: { width: r && r }, children: [
2293
+ /* @__PURE__ */ h("div", { className: H.leftContent, children: [
2294
+ n && /* @__PURE__ */ o("img", { src: n, alt: "Icono", className: H.icon }),
2295
+ /* @__PURE__ */ h("div", { className: H.textContainer, children: [
2296
+ /* @__PURE__ */ o("div", { className: H.title, children: c(d) }),
2297
+ s && /* @__PURE__ */ o("div", { className: H.subtitle, children: s })
2298
2298
  ] })
2299
2299
  ] }),
2300
- /* @__PURE__ */ i("div", { className: j.rightContent, children: n })
2300
+ /* @__PURE__ */ o("div", { className: H.rightContent, children: i })
2301
2301
  ] });
2302
- }, B0 = I2({
2302
+ }, K0 = Ue({
2303
2303
  name: "mapSlice",
2304
2304
  initialState: {
2305
2305
  showTexts: !0,
@@ -2309,52 +2309,52 @@ const x0 = "_sectionBar_1egwc_2", k0 = "_leftContent_1egwc_14", N0 = "_textConta
2309
2309
  activeIndicatorUnit: null
2310
2310
  },
2311
2311
  reducers: {
2312
- setShowTexts: (o, d) => {
2313
- o.showTexts = d.payload;
2312
+ setShowTexts: (n, d) => {
2313
+ n.showTexts = d.payload;
2314
2314
  },
2315
- setYear: (o, d) => {
2316
- o.sliderSelectedYear = d.payload;
2315
+ setYear: (n, d) => {
2316
+ n.sliderSelectedYear = d.payload;
2317
2317
  },
2318
- setActiveIndicatorKey: (o, d) => {
2319
- o.activeIndicatorKey = d.payload;
2318
+ setActiveIndicatorKey: (n, d) => {
2319
+ n.activeIndicatorKey = d.payload;
2320
2320
  },
2321
- setActiveIndicatorType: (o, d) => {
2322
- o.activeIndicatorType = d.payload;
2321
+ setActiveIndicatorType: (n, d) => {
2322
+ n.activeIndicatorType = d.payload;
2323
2323
  },
2324
- setActiveIndicatorUnit: (o, d) => {
2325
- o.activeIndicatorUnit = d.payload;
2324
+ setActiveIndicatorUnit: (n, d) => {
2325
+ n.activeIndicatorUnit = d.payload;
2326
2326
  }
2327
2327
  }
2328
- }), { setShowTexts: U1, setYear: u2, setActiveIndicatorKey: G1, setActiveIndicatorType: Y1, setActiveIndicatorUnit: W1 } = B0.actions, L0 = "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", T0 = "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", F0 = "_slider_a19yo_2", $0 = "_playButton_a19yo_17", V0 = "_sliderOpen_a19yo_28", A0 = "_sliderResults_a19yo_32", Q = {
2329
- slider: F0,
2330
- playButton: $0,
2331
- sliderOpen: V0,
2332
- sliderResults: A0
2333
- }, O0 = ({ onResults: o = !1, defaultYear: d = 2025, firstYear: s = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: a = !1 }) => {
2334
- const [l, r] = D(d), c = O2(), p = (y, w) => {
2335
- r(w), c(u2(w - 2e3));
2336
- }, [m, h] = D(!1), b = () => {
2337
- h(!0);
2328
+ }), { setShowTexts: Tn, setYear: ge, setActiveIndicatorKey: Vn, setActiveIndicatorType: $n, setActiveIndicatorUnit: An } = K0.actions, U0 = "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", G0 = "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", Y0 = "_slider_a19yo_2", W0 = "_playButton_a19yo_17", X0 = "_sliderOpen_a19yo_28", J0 = "_sliderResults_a19yo_32", te = {
2329
+ slider: Y0,
2330
+ playButton: W0,
2331
+ sliderOpen: X0,
2332
+ sliderResults: J0
2333
+ }, Q0 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: s = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2334
+ const [c, a] = D(d), l = Ke(), u = (v, x) => {
2335
+ a(x), l(ge(x - 2e3));
2336
+ }, [p, m] = D(!1), y = () => {
2337
+ m(!0);
2338
2338
  }, g = () => {
2339
- h(!1);
2339
+ m(!1);
2340
2340
  };
2341
- ((y, w) => {
2342
- const x = v2();
2343
- F(() => {
2344
- x.current = y;
2345
- }, [y]), F(() => {
2341
+ ((v, x) => {
2342
+ const w = Se();
2343
+ B(() => {
2344
+ w.current = v;
2345
+ }, [v]), B(() => {
2346
2346
  function _() {
2347
- x.current();
2347
+ w.current();
2348
2348
  }
2349
2349
  {
2350
- let N = setInterval(_, w);
2351
- return () => clearInterval(N);
2350
+ let S = setInterval(_, x);
2351
+ return () => clearInterval(S);
2352
2352
  }
2353
- }, [w]);
2353
+ }, [x]);
2354
2354
  })(() => {
2355
- m && (l != 2050 ? (r(l + 1), c(u2(l - 2e3 + 1))) : (r(2025), c(u2(25))));
2355
+ p && (c != 2050 ? (a(c + 1), l(ge(c - 2e3 + 1))) : (a(2025), l(ge(25))));
2356
2356
  }, 1e3);
2357
- const f = ue({
2357
+ const b = Lt({
2358
2358
  palette: {
2359
2359
  primary: {
2360
2360
  main: "#605b56"
@@ -2376,43 +2376,43 @@ const x0 = "_sectionBar_1egwc_2", k0 = "_leftContent_1egwc_14", N0 = "_textConta
2376
2376
  }
2377
2377
  }
2378
2378
  }
2379
- }), v = [
2379
+ }), f = [
2380
2380
  { label: "", value: 2025 },
2381
2381
  { label: "", value: 2032 },
2382
2382
  { label: "", value: 2041 },
2383
2383
  { label: "", value: 2050 }
2384
2384
  ];
2385
- return /* @__PURE__ */ i(ge, { theme: f, children: /* @__PURE__ */ u(
2386
- he,
2385
+ return /* @__PURE__ */ o(Tt, { theme: b, children: /* @__PURE__ */ h(
2386
+ Bt,
2387
2387
  {
2388
2388
  sx: { width: 400 },
2389
- className: `${o ? Q.sliderResults : Q.slider} ${a ? Q.sliderOpen : ""}`,
2389
+ className: `${n ? te.sliderResults : te.slider} ${r ? te.sliderOpen : ""}`,
2390
2390
  style: { zIndex: t },
2391
2391
  children: [
2392
2392
  s,
2393
- /* @__PURE__ */ i(
2394
- me,
2393
+ /* @__PURE__ */ o(
2394
+ Dt,
2395
2395
  {
2396
2396
  "aria-label": "TimeSlider",
2397
- value: l,
2397
+ value: c,
2398
2398
  valueLabelDisplay: "on",
2399
2399
  step: 1,
2400
- marks: v,
2400
+ marks: f,
2401
2401
  min: s,
2402
- max: n,
2403
- onChange: p,
2402
+ max: i,
2403
+ onChange: u,
2404
2404
  color: "primary",
2405
2405
  size: "small"
2406
2406
  }
2407
2407
  ),
2408
- n,
2409
- !m && /* @__PURE__ */ i("button", { className: Q.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src: L0, alt: "Play" }) }),
2410
- m && /* @__PURE__ */ i("button", { className: Q.playButton, onClick: g, children: /* @__PURE__ */ i("img", { src: T0, alt: "Pause" }) })
2408
+ i,
2409
+ !p && /* @__PURE__ */ o("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ o("img", { src: U0, alt: "Play" }) }),
2410
+ p && /* @__PURE__ */ o("button", { className: te.playButton, onClick: g, children: /* @__PURE__ */ o("img", { src: G0, alt: "Pause" }) })
2411
2411
  ]
2412
2412
  }
2413
2413
  ) });
2414
2414
  };
2415
- O0.propTypes = {
2415
+ Q0.propTypes = {
2416
2416
  defaultYear: e.number,
2417
2417
  onResults: e.bool,
2418
2418
  firstYear: e.number,
@@ -2420,32 +2420,32 @@ O0.propTypes = {
2420
2420
  zIndex: e.number,
2421
2421
  rightBarOpen: e.bool
2422
2422
  };
2423
- const I0 = "_TopNavMenuContainer_12mp4_2", R0 = "_topNavOptions_12mp4_13", E0 = "_active_12mp4_27", h2 = {
2424
- TopNavMenuContainer: I0,
2425
- topNavOptions: R0,
2426
- active: E0
2427
- }, P0 = ({
2428
- options: o = [],
2423
+ const e1 = "_TopNavMenuContainer_12mp4_2", t1 = "_topNavOptions_12mp4_13", n1 = "_active_12mp4_27", Ce = {
2424
+ TopNavMenuContainer: e1,
2425
+ topNavOptions: t1,
2426
+ active: n1
2427
+ }, i1 = ({
2428
+ options: n = [],
2429
2429
  containerStyles: d,
2430
2430
  borderColor: s = "red",
2431
- textColor: n = "white"
2431
+ textColor: i = "white"
2432
2432
  }) => {
2433
- const { t } = k();
2434
- return /* @__PURE__ */ i("div", { className: h2.TopNavMenuContainer, style: { ...d }, children: o.map((a, l) => /* @__PURE__ */ i(
2435
- Ce,
2433
+ const { t } = N();
2434
+ return /* @__PURE__ */ o("div", { className: Ce.TopNavMenuContainer, style: { ...d }, children: n.map((r, c) => /* @__PURE__ */ o(
2435
+ Vt,
2436
2436
  {
2437
- to: a.url,
2438
- className: ({ isActive: r }) => `${h2.topNavOptions} ${r ? h2.active : ""} `,
2439
- style: ({ isActive: r }) => ({
2440
- color: n,
2441
- borderBottom: r ? `5px solid ${s}` : "5px solid transparent"
2437
+ to: r.url,
2438
+ className: ({ isActive: a }) => `${Ce.topNavOptions} ${a ? Ce.active : ""} `,
2439
+ style: ({ isActive: a }) => ({
2440
+ color: i,
2441
+ borderBottom: a ? `5px solid ${s}` : "5px solid transparent"
2442
2442
  }),
2443
- children: t(a.name)
2443
+ children: t(r.name)
2444
2444
  },
2445
- l
2445
+ c
2446
2446
  )) });
2447
2447
  };
2448
- P0.propTypes = {
2448
+ i1.propTypes = {
2449
2449
  options: e.arrayOf(e.object),
2450
2450
  cssProps: e.shape({
2451
2451
  borderColor: e.string.isRequired,
@@ -2455,7 +2455,7 @@ P0.propTypes = {
2455
2455
  // activeColor: PropTypes.string,
2456
2456
  // defaultColor: PropTypes.string
2457
2457
  };
2458
- const q0 = I2({
2458
+ const s1 = Ue({
2459
2459
  name: "userSlice",
2460
2460
  initialState: {
2461
2461
  user: {
@@ -2466,34 +2466,34 @@ const q0 = I2({
2466
2466
  showUserMenu: !1
2467
2467
  },
2468
2468
  reducers: {
2469
- setShowLogIn: (o, d) => {
2470
- o.showLogIn = d.payload;
2469
+ setShowLogIn: (n, d) => {
2470
+ n.showLogIn = d.payload;
2471
2471
  },
2472
- setShowUserMenu: (o, d) => {
2473
- o.showUserMenu = d.payload;
2472
+ setShowUserMenu: (n, d) => {
2473
+ n.showUserMenu = d.payload;
2474
2474
  }
2475
2475
  }
2476
- }), { setShowLogIn: z0, setShowUserMenu: j0 } = q0.actions, Z0 = "_UserMenuTrigger_uglss_2", H0 = {
2477
- UserMenuTrigger: Z0
2478
- }, K0 = ({
2479
- cssClass: o,
2476
+ }), { setShowLogIn: o1, setShowUserMenu: r1 } = s1.actions, a1 = "_UserMenuTrigger_uglss_2", l1 = {
2477
+ UserMenuTrigger: a1
2478
+ }, c1 = ({
2479
+ cssClass: n,
2480
2480
  loginLocale: d = "login",
2481
2481
  containerStyles: s
2482
2482
  }) => {
2483
- const n = O2(), t = g2((c) => c.userState.user.isLoggedIn), a = g2((c) => c.userState.user.username), { t: l } = k(), r = () => {
2484
- n(t ? z0(!0) : j0(!0));
2483
+ const i = Ke(), t = ve((l) => l.userState.user.isLoggedIn), r = ve((l) => l.userState.user.username), { t: c } = N(), a = () => {
2484
+ i(t ? o1(!0) : r1(!0));
2485
2485
  };
2486
- return /* @__PURE__ */ i(
2486
+ return /* @__PURE__ */ o(
2487
2487
  "div",
2488
2488
  {
2489
2489
  style: { ...s },
2490
- className: `${H0.UserMenuTrigger} link ${o}`,
2491
- onClick: r,
2492
- children: t ? a : l(d)
2490
+ className: `${l1.UserMenuTrigger} link ${n}`,
2491
+ onClick: a,
2492
+ children: t ? r : c(d)
2493
2493
  }
2494
2494
  );
2495
2495
  };
2496
- K0.propTypes = {
2496
+ c1.propTypes = {
2497
2497
  onClickLoggedIn: e.func.isRequired,
2498
2498
  onClickLoggedOut: e.func.isRequired,
2499
2499
  log: e.bool,
@@ -2501,119 +2501,119 @@ K0.propTypes = {
2501
2501
  cssClass: e.string,
2502
2502
  loginLocale: e.string
2503
2503
  };
2504
- const U0 = "_elementSelector_fd7az_2", G0 = "_header_fd7az_13", Y0 = "_nameDateContainer_fd7az_23", W0 = "_elementName_fd7az_39", X0 = "_elementDate_fd7az_53", J0 = "_buttonsContainer_fd7az_67", Q0 = "_elementListContainer_fd7az_76", e1 = "_newElementButtonContainer_fd7az_80", A = {
2505
- elementSelector: U0,
2506
- header: G0,
2507
- nameDateContainer: Y0,
2508
- elementName: W0,
2509
- elementDate: X0,
2510
- buttonsContainer: J0,
2511
- elementListContainer: Q0,
2512
- newElementButtonContainer: e1
2513
- }, t1 = "_listElement_1s506_2", n1 = "_elementNameDate_1s506_17", i1 = "_elementNameContainer_1s506_27", o1 = "_elementName_1s506_17", s1 = "_elementDate_1s506_42", r1 = "_elementButtons_1s506_45", a1 = "_moreInfoContainer_1s506_68", l1 = "_moreInfo_1s506_68", V = {
2514
- listElement: t1,
2515
- elementNameDate: n1,
2516
- elementNameContainer: i1,
2517
- elementName: o1,
2518
- elementDate: s1,
2519
- elementButtons: r1,
2504
+ const d1 = "_elementSelector_fd7az_2", u1 = "_header_fd7az_13", p1 = "_nameDateContainer_fd7az_23", m1 = "_elementName_fd7az_39", h1 = "_elementDate_fd7az_53", g1 = "_buttonsContainer_fd7az_67", C1 = "_elementListContainer_fd7az_76", f1 = "_newElementButtonContainer_fd7az_80", O = {
2505
+ elementSelector: d1,
2506
+ header: u1,
2507
+ nameDateContainer: p1,
2508
+ elementName: m1,
2509
+ elementDate: h1,
2510
+ buttonsContainer: g1,
2511
+ elementListContainer: C1,
2512
+ newElementButtonContainer: f1
2513
+ }, b1 = "_listElement_1s506_2", y1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27", _1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", w1 = "_elementButtons_1s506_45", k1 = "_moreInfoContainer_1s506_68", N1 = "_moreInfo_1s506_68", I = {
2514
+ listElement: b1,
2515
+ elementNameDate: y1,
2516
+ elementNameContainer: v1,
2517
+ elementName: _1,
2518
+ elementDate: x1,
2519
+ elementButtons: w1,
2520
2520
  break: "_break_1s506_63",
2521
- moreInfoContainer: a1,
2522
- moreInfo: l1
2523
- }, c1 = "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", d1 = "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", p1 = "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", m1 = "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", u1 = "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";
2524
- var V2;
2525
- function y2() {
2526
- return y2 = Object.assign ? Object.assign.bind() : function(o) {
2521
+ moreInfoContainer: k1,
2522
+ moreInfo: N1
2523
+ }, S1 = "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", M1 = "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", F1 = "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", D1 = "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", L1 = "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";
2524
+ var qe;
2525
+ function ke() {
2526
+ return ke = Object.assign ? Object.assign.bind() : function(n) {
2527
2527
  for (var d = 1; d < arguments.length; d++) {
2528
2528
  var s = arguments[d];
2529
- for (var n in s) ({}).hasOwnProperty.call(s, n) && (o[n] = s[n]);
2529
+ for (var i in s) ({}).hasOwnProperty.call(s, i) && (n[i] = s[i]);
2530
2530
  }
2531
- return o;
2532
- }, y2.apply(null, arguments);
2531
+ return n;
2532
+ }, ke.apply(null, arguments);
2533
2533
  }
2534
- var h1 = function(d) {
2535
- return /* @__PURE__ */ e2.createElement("svg", y2({
2534
+ var B1 = function(d) {
2535
+ return /* @__PURE__ */ J.createElement("svg", ke({
2536
2536
  xmlns: "http://www.w3.org/2000/svg",
2537
2537
  width: 26,
2538
2538
  height: 14,
2539
2539
  fill: "none"
2540
- }, d), V2 || (V2 = /* @__PURE__ */ e2.createElement("g", {
2540
+ }, d), qe || (qe = /* @__PURE__ */ J.createElement("g", {
2541
2541
  fill: "currentColor"
2542
- }, /* @__PURE__ */ e2.createElement("path", {
2542
+ }, /* @__PURE__ */ J.createElement("path", {
2543
2543
  d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
2544
- }), /* @__PURE__ */ e2.createElement("path", {
2544
+ }), /* @__PURE__ */ J.createElement("path", {
2545
2545
  d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
2546
2546
  }))));
2547
2547
  };
2548
- const g1 = "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", Y2 = ({
2549
- element: o,
2548
+ const T1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ot = ({
2549
+ element: n,
2550
2550
  onClickElement: d,
2551
2551
  isActive: s,
2552
- activeColor: n,
2552
+ activeColor: i,
2553
2553
  fontColor: t,
2554
- moreInfo: a,
2555
- columns: l,
2556
- elementButtons: r,
2557
- processTooltip: c,
2558
- defaultTooltip: p
2554
+ moreInfo: r,
2555
+ columns: c,
2556
+ elementButtons: a,
2557
+ processTooltip: l,
2558
+ defaultTooltip: u
2559
2559
  }) => {
2560
- const { nom: m, created_at: h, id: b, isBeingProcessed: g } = o, [C, f] = D(!1), { t: v } = k();
2561
- return /* @__PURE__ */ u(
2560
+ const { nom: p, created_at: m, id: y, isBeingProcessed: g } = n, [C, b] = D(!1), { t: f } = N();
2561
+ return /* @__PURE__ */ h(
2562
2562
  "div",
2563
2563
  {
2564
- className: V.listElement,
2564
+ className: I.listElement,
2565
2565
  style: { borderBottom: `1px solid ${t}` },
2566
2566
  children: [
2567
- /* @__PURE__ */ u("div", { className: V.elementNameDate, onClick: () => d(b), children: [
2568
- l.nom && /* @__PURE__ */ i("div", { className: V.elementNameContainer, children: /* @__PURE__ */ u("div", { className: V.elementName, children: [
2569
- s ? /* @__PURE__ */ i(h1, { style: { color: n, marginRight: 9 } }) : /* @__PURE__ */ i(
2567
+ /* @__PURE__ */ h("div", { className: I.elementNameDate, onClick: () => d(y), children: [
2568
+ c.nom && /* @__PURE__ */ o("div", { className: I.elementNameContainer, children: /* @__PURE__ */ h("div", { className: I.elementName, children: [
2569
+ s ? /* @__PURE__ */ o(B1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ o(
2570
2570
  "img",
2571
2571
  {
2572
2572
  style: { marginRight: 9 },
2573
- src: g1
2573
+ src: T1
2574
2574
  }
2575
2575
  ),
2576
- /* @__PURE__ */ i("span", { style: { color: s ? n : t }, children: m })
2576
+ /* @__PURE__ */ o("span", { style: { color: s ? i : t }, children: p })
2577
2577
  ] }) }),
2578
- l.data && /* @__PURE__ */ i("div", { className: V.elementDate, children: h ? new Date(h).toLocaleDateString() : "" }),
2579
- l.ambit && /* @__PURE__ */ i("div", { className: V.elementDate, children: o.ambit }),
2580
- l.escenari && /* @__PURE__ */ i("div", { className: V.elementDate, children: o.escenari })
2578
+ c.data && /* @__PURE__ */ o("div", { className: I.elementDate, children: m ? new Date(m).toLocaleDateString() : "" }),
2579
+ c.ambit && /* @__PURE__ */ o("div", { className: I.elementDate, children: n.ambit }),
2580
+ c.escenari && /* @__PURE__ */ o("div", { className: I.elementDate, children: n.escenari })
2581
2581
  ] }),
2582
- /* @__PURE__ */ u("div", { className: V.elementButtons, children: [
2583
- o.processing && /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
2584
- /* @__PURE__ */ i("img", { src: m1 }),
2585
- /* @__PURE__ */ i(H, { text: c, position: "left" })
2582
+ /* @__PURE__ */ h("div", { className: I.elementButtons, children: [
2583
+ n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2584
+ /* @__PURE__ */ o("img", { src: D1 }),
2585
+ /* @__PURE__ */ o(U, { text: l, position: "left" })
2586
2586
  ] }),
2587
- r.filter && !o.is_default && /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
2588
- /* @__PURE__ */ i("button", { onClick: () => r.filter.onclick, children: /* @__PURE__ */ i("img", { src: p1 }) }),
2589
- /* @__PURE__ */ i(H, { text: r.filter.tooltiptext, position: "left" })
2587
+ a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2588
+ /* @__PURE__ */ o("button", { onClick: () => a.filter.onclick, children: /* @__PURE__ */ o("img", { src: F1 }) }),
2589
+ /* @__PURE__ */ o(U, { text: a.filter.tooltiptext, position: "left" })
2590
2590
  ] }),
2591
- r.copy && /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
2592
- /* @__PURE__ */ i("button", { onClick: () => r.copy.onclick, children: /* @__PURE__ */ i("img", { src: d1 }) }),
2593
- /* @__PURE__ */ i(H, { text: r.copy.tooltiptext, position: "left" })
2591
+ a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2592
+ /* @__PURE__ */ o("button", { onClick: () => a.copy.onclick, children: /* @__PURE__ */ o("img", { src: M1 }) }),
2593
+ /* @__PURE__ */ o(U, { text: a.copy.tooltiptext, position: "left" })
2594
2594
  ] }),
2595
- r.trash && !o.is_default && /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
2596
- /* @__PURE__ */ i("button", { onClick: () => r.trash.onclick, children: /* @__PURE__ */ i("img", { src: c1 }) }),
2597
- /* @__PURE__ */ i(H, { text: r.trash.tooltiptext, position: "left" })
2595
+ a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2596
+ /* @__PURE__ */ o("button", { onClick: () => a.trash.onclick, children: /* @__PURE__ */ o("img", { src: S1 }) }),
2597
+ /* @__PURE__ */ o(U, { text: a.trash.tooltiptext, position: "left" })
2598
2598
  ] }),
2599
- o.is_default && /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
2600
- /* @__PURE__ */ i("img", { src: u1 }),
2601
- /* @__PURE__ */ i(H, { text: p, position: "left" })
2599
+ n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
2600
+ /* @__PURE__ */ o("img", { src: L1 }),
2601
+ /* @__PURE__ */ o(U, { text: u, position: "left" })
2602
2602
  ] })
2603
2603
  ] }),
2604
- a && /* @__PURE__ */ i("div", { className: V.break }),
2605
- a && /* @__PURE__ */ u("div", { className: V.moreInfoContainer, children: [
2606
- /* @__PURE__ */ u("div", { className: V.moreInfo, onClick: () => f(!C), children: [
2607
- /* @__PURE__ */ i("span", { children: C ? "-" : "+" }),
2608
- v(a.label)
2604
+ r && /* @__PURE__ */ o("div", { className: I.break }),
2605
+ r && /* @__PURE__ */ h("div", { className: I.moreInfoContainer, children: [
2606
+ /* @__PURE__ */ h("div", { className: I.moreInfo, onClick: () => b(!C), children: [
2607
+ /* @__PURE__ */ o("span", { children: C ? "-" : "+" }),
2608
+ f(r.label)
2609
2609
  ] }),
2610
- a && C && /* @__PURE__ */ i("div", { className: V.moreInfoInfo, children: o[a.info] })
2610
+ r && C && /* @__PURE__ */ o("div", { className: I.moreInfoInfo, children: n[r.info] })
2611
2611
  ] })
2612
2612
  ]
2613
2613
  }
2614
2614
  );
2615
2615
  };
2616
- Y2.propTypes = {
2616
+ ot.propTypes = {
2617
2617
  element: e.shape({
2618
2618
  nom: e.string.isRequired,
2619
2619
  created_at: e.string,
@@ -2631,95 +2631,95 @@ Y2.propTypes = {
2631
2631
  moreInfo: e.object
2632
2632
  // Optional, can be used for additional info
2633
2633
  };
2634
- const A2 = "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", C1 = ({
2635
- elementsList: o,
2634
+ const ze = "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", V1 = ({
2635
+ elementsList: n,
2636
2636
  activeElementId: d,
2637
2637
  fontColor: s = "#605B56",
2638
- activeColor: n,
2638
+ activeColor: i,
2639
2639
  buttonContainerStyles: t = {},
2640
- containerStyles: a = {},
2641
- newElementButton: l,
2640
+ containerStyles: r = {},
2641
+ newElementButton: c,
2642
2642
  //{label: 'text', onClick: function()}/null
2643
- onClickElement: r = (g) => console.log(`OnCLickElement: ${g}`),
2644
- columns: c,
2643
+ onClickElement: a = (g) => console.log(`OnCLickElement: ${g}`),
2644
+ columns: l,
2645
2645
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2646
- elementButtons: p,
2646
+ elementButtons: u,
2647
2647
  //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
2648
- moreInfo: m = !1,
2648
+ moreInfo: p = !1,
2649
2649
  //{label: 'x'}
2650
- processTooltip: h,
2650
+ processTooltip: m,
2651
2651
  //texto para el tooltip del simbolo "En proceso"
2652
- defaultTooltip: b
2652
+ defaultTooltip: y
2653
2653
  //texto para el tooltip del símbolo de candado para los elementos default
2654
2654
  }) => {
2655
- const { t: g } = k(), [C, f] = D(o);
2656
- F(() => {
2657
- o && f(o);
2658
- }, [o]);
2659
- const v = (y) => {
2655
+ const { t: g } = N(), [C, b] = D(n);
2656
+ B(() => {
2657
+ n && b(n);
2658
+ }, [n]);
2659
+ const f = (v) => {
2660
2660
  if (C && C.length > 0) {
2661
- let w = [...C];
2662
- w.sort((x, _) => x[y].localeCompare(_[y])), f(w);
2661
+ let x = [...C];
2662
+ x.sort((w, _) => w[v].localeCompare(_[v])), b(x);
2663
2663
  }
2664
2664
  };
2665
- return /* @__PURE__ */ u(
2665
+ return /* @__PURE__ */ h(
2666
2666
  "div",
2667
2667
  {
2668
- className: A.elementSelector,
2669
- style: { color: s, ...a },
2668
+ className: O.elementSelector,
2669
+ style: { color: s, ...r },
2670
2670
  children: [
2671
- /* @__PURE__ */ u(
2671
+ /* @__PURE__ */ h(
2672
2672
  "div",
2673
2673
  {
2674
- className: A.header,
2674
+ className: O.header,
2675
2675
  style: { borderBottom: `1px solid ${s}` },
2676
2676
  children: [
2677
- /* @__PURE__ */ u("div", { className: A.nameDateContainer, children: [
2678
- c.nom && /* @__PURE__ */ i("div", { className: A.elementName, children: /* @__PURE__ */ u("button", { onClick: () => v("name"), children: [
2679
- /* @__PURE__ */ i("span", { children: g(c.nom) }),
2680
- /* @__PURE__ */ i("img", { src: A2 })
2677
+ /* @__PURE__ */ h("div", { className: O.nameDateContainer, children: [
2678
+ l.nom && /* @__PURE__ */ o("div", { className: O.elementName, children: /* @__PURE__ */ h("button", { onClick: () => f("name"), children: [
2679
+ /* @__PURE__ */ o("span", { children: g(l.nom) }),
2680
+ /* @__PURE__ */ o("img", { src: ze })
2681
2681
  ] }) }),
2682
- c.data && /* @__PURE__ */ i("div", { className: A.elementDate, children: /* @__PURE__ */ u("button", { onClick: () => v("date"), children: [
2683
- /* @__PURE__ */ i("span", { children: g(c.data) }),
2684
- /* @__PURE__ */ i("img", { src: A2 })
2682
+ l.data && /* @__PURE__ */ o("div", { className: O.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => f("date"), children: [
2683
+ /* @__PURE__ */ o("span", { children: g(l.data) }),
2684
+ /* @__PURE__ */ o("img", { src: ze })
2685
2685
  ] }) }),
2686
- c.ambit && /* @__PURE__ */ i("div", { className: A.elementDate, children: /* @__PURE__ */ i("span", { children: g(c.ambit) }) }),
2687
- c.escenari && /* @__PURE__ */ i("div", { className: A.elementDate, children: /* @__PURE__ */ i("span", { children: g(c.escenari) }) })
2686
+ l.ambit && /* @__PURE__ */ o("div", { className: O.elementDate, children: /* @__PURE__ */ o("span", { children: g(l.ambit) }) }),
2687
+ l.escenari && /* @__PURE__ */ o("div", { className: O.elementDate, children: /* @__PURE__ */ o("span", { children: g(l.escenari) }) })
2688
2688
  ] }),
2689
- /* @__PURE__ */ i("div", { className: A.buttonsContainer })
2689
+ /* @__PURE__ */ o("div", { className: O.buttonsContainer })
2690
2690
  ]
2691
2691
  }
2692
2692
  ),
2693
- /* @__PURE__ */ i("div", { className: A.elementListContainer, children: C && C.length > 0 && C.map((y) => /* @__PURE__ */ i(
2694
- Y2,
2693
+ /* @__PURE__ */ o("div", { className: O.elementListContainer, children: C && C.length > 0 && C.map((v) => /* @__PURE__ */ o(
2694
+ ot,
2695
2695
  {
2696
- isActive: d == y.id,
2697
- element: y,
2696
+ isActive: d == v.id,
2697
+ element: v,
2698
2698
  fontColor: s,
2699
- activeColor: n,
2700
- onClickElement: r,
2701
- columns: c,
2702
- elementButtons: p,
2703
- moreInfo: m,
2704
- processTooltip: h,
2705
- defaultTooltip: b
2699
+ activeColor: i,
2700
+ onClickElement: a,
2701
+ columns: l,
2702
+ elementButtons: u,
2703
+ moreInfo: p,
2704
+ processTooltip: m,
2705
+ defaultTooltip: y
2706
2706
  },
2707
- `elementKey${y.id}`
2707
+ `elementKey${v.id}`
2708
2708
  )) }),
2709
- l && /* @__PURE__ */ i("div", { className: A.newElementButtonContainer, children: /* @__PURE__ */ i(
2710
- x2,
2709
+ c && /* @__PURE__ */ o("div", { className: O.newElementButtonContainer, children: /* @__PURE__ */ o(
2710
+ De,
2711
2711
  {
2712
2712
  style: { ...t },
2713
- onClick: l.onClick,
2713
+ onClick: c.onClick,
2714
2714
  borderColor: "grey",
2715
- children: g(l.label)
2715
+ children: g(c.label)
2716
2716
  }
2717
2717
  ) })
2718
2718
  ]
2719
2719
  }
2720
2720
  );
2721
2721
  };
2722
- C1.propTypes = {
2722
+ V1.propTypes = {
2723
2723
  elementList: e.arrayOf(
2724
2724
  e.shape({
2725
2725
  nom: e.string.isRequired,
@@ -2765,42 +2765,325 @@ C1.propTypes = {
2765
2765
  processTooltip: e.string,
2766
2766
  defaultTooltip: e.string
2767
2767
  };
2768
- const f1 = "_header_13kbt_2", b1 = "_leftComponents_13kbt_13", y1 = "_centerComponents_13kbt_14", v1 = "_rightComponents_13kbt_15", _1 = "_componentsContainer_13kbt_32", Z = {
2769
- header: f1,
2770
- leftComponents: b1,
2771
- centerComponents: y1,
2772
- rightComponents: v1,
2773
- componentsContainer: _1
2774
- }, w1 = ({
2775
- cssProps: o,
2768
+ const $1 = {
2769
+ text: "text"
2770
+ }, A1 = "_textInputContainer_1qv06_2", I1 = "_labelContainer_1qv06_2", O1 = "_inputContainer_1qv06_5", fe = {
2771
+ textInputContainer: A1,
2772
+ labelContainer: I1,
2773
+ inputContainer: O1
2774
+ };
2775
+ var R1 = (n) => n.type === "checkbox", E1 = (n) => n instanceof Date, rt = (n) => n == null;
2776
+ const P1 = (n) => typeof n == "object";
2777
+ var ne = (n) => !rt(n) && !Array.isArray(n) && P1(n) && !E1(n), q1 = (n) => ne(n) && n.target ? R1(n.target) ? n.target.checked : n.target.value : n, z1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, j1 = (n, d) => n.has(z1(d)), Z1 = (n) => {
2778
+ const d = n.constructor && n.constructor.prototype;
2779
+ return ne(d) && d.hasOwnProperty("isPrototypeOf");
2780
+ }, H1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2781
+ function at(n) {
2782
+ let d;
2783
+ const s = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
2784
+ if (n instanceof Date)
2785
+ d = new Date(n);
2786
+ else if (!(H1 && (n instanceof Blob || i)) && (s || ne(n)))
2787
+ if (d = s ? [] : {}, !s && !Z1(n))
2788
+ d = n;
2789
+ else
2790
+ for (const t in n)
2791
+ n.hasOwnProperty(t) && (d[t] = at(n[t]));
2792
+ else
2793
+ return n;
2794
+ return d;
2795
+ }
2796
+ var lt = (n) => /^\w*$/.test(n), Ne = (n) => n === void 0, K1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], ct = (n) => K1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, s) => {
2797
+ if (!d || !ne(n))
2798
+ return s;
2799
+ const i = (lt(d) ? [d] : ct(d)).reduce((t, r) => rt(t) ? t : t[r], n);
2800
+ return Ne(i) || i === n ? Ne(n[d]) ? s : n[d] : i;
2801
+ }, be = (n) => typeof n == "boolean", je = (n, d, s) => {
2802
+ let i = -1;
2803
+ const t = lt(d) ? [d] : ct(d), r = t.length, c = r - 1;
2804
+ for (; ++i < r; ) {
2805
+ const a = t[i];
2806
+ let l = s;
2807
+ if (i !== c) {
2808
+ const u = n[a];
2809
+ l = ne(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
2810
+ }
2811
+ if (a === "__proto__" || a === "constructor" || a === "prototype")
2812
+ return;
2813
+ n[a] = l, n = n[a];
2814
+ }
2815
+ };
2816
+ const Ze = {
2817
+ BLUR: "blur",
2818
+ CHANGE: "change"
2819
+ }, He = {
2820
+ all: "all"
2821
+ }, dt = k.createContext(null);
2822
+ dt.displayName = "HookFormContext";
2823
+ const Te = () => k.useContext(dt);
2824
+ var U1 = (n, d, s, i = !0) => {
2825
+ const t = {
2826
+ defaultValues: d._defaultValues
2827
+ };
2828
+ for (const r in n)
2829
+ Object.defineProperty(t, r, {
2830
+ get: () => {
2831
+ const c = r;
2832
+ return d._proxyFormState[c] !== He.all && (d._proxyFormState[c] = !i || He.all), s && (s[c] = !0), n[c];
2833
+ }
2834
+ });
2835
+ return t;
2836
+ };
2837
+ const ut = typeof window < "u" ? J.useLayoutEffect : J.useEffect;
2838
+ function G1(n) {
2839
+ const d = Te(), { control: s = d.control, disabled: i, name: t, exact: r } = n || {}, [c, a] = k.useState(s._formState), l = k.useRef({
2840
+ isDirty: !1,
2841
+ isLoading: !1,
2842
+ dirtyFields: !1,
2843
+ touchedFields: !1,
2844
+ validatingFields: !1,
2845
+ isValidating: !1,
2846
+ isValid: !1,
2847
+ errors: !1
2848
+ });
2849
+ return ut(() => s._subscribe({
2850
+ name: t,
2851
+ formState: l.current,
2852
+ exact: r,
2853
+ callback: (u) => {
2854
+ !i && a({
2855
+ ...s._formState,
2856
+ ...u
2857
+ });
2858
+ }
2859
+ }), [t, i, r]), k.useEffect(() => {
2860
+ l.current.isValid && s._setValid(!0);
2861
+ }, [s]), k.useMemo(() => U1(c, s, l.current, !1), [c, s]);
2862
+ }
2863
+ var Y1 = (n) => typeof n == "string", W1 = (n, d, s, i, t) => Y1(n) ? $(s, n, t) : Array.isArray(n) ? n.map((r) => $(s, r)) : s;
2864
+ function X1(n) {
2865
+ const d = Te(), { control: s = d.control, name: i, defaultValue: t, disabled: r, exact: c } = n || {}, a = k.useRef(t), [l, u] = k.useState(s._getWatch(i, a.current));
2866
+ return ut(() => s._subscribe({
2867
+ name: i,
2868
+ formState: {
2869
+ values: !0
2870
+ },
2871
+ exact: c,
2872
+ callback: (p) => !r && u(W1(i, s._names, p.values || s._formValues, !1, a.current))
2873
+ }), [i, s, r, c]), k.useEffect(() => s._removeUnmounted()), l;
2874
+ }
2875
+ function J1(n) {
2876
+ const d = Te(), { name: s, disabled: i, control: t = d.control, shouldUnregister: r } = n, c = j1(t._names.array, s), a = X1({
2877
+ control: t,
2878
+ name: s,
2879
+ defaultValue: $(t._formValues, s, $(t._defaultValues, s, n.defaultValue)),
2880
+ exact: !0
2881
+ }), l = G1({
2882
+ control: t,
2883
+ name: s,
2884
+ exact: !0
2885
+ }), u = k.useRef(n), p = k.useRef(t.register(s, {
2886
+ ...n.rules,
2887
+ value: a,
2888
+ ...be(n.disabled) ? { disabled: n.disabled } : {}
2889
+ })), m = k.useMemo(() => Object.defineProperties({}, {
2890
+ invalid: {
2891
+ enumerable: !0,
2892
+ get: () => !!$(l.errors, s)
2893
+ },
2894
+ isDirty: {
2895
+ enumerable: !0,
2896
+ get: () => !!$(l.dirtyFields, s)
2897
+ },
2898
+ isTouched: {
2899
+ enumerable: !0,
2900
+ get: () => !!$(l.touchedFields, s)
2901
+ },
2902
+ isValidating: {
2903
+ enumerable: !0,
2904
+ get: () => !!$(l.validatingFields, s)
2905
+ },
2906
+ error: {
2907
+ enumerable: !0,
2908
+ get: () => $(l.errors, s)
2909
+ }
2910
+ }), [l, s]), y = k.useCallback((f) => p.current.onChange({
2911
+ target: {
2912
+ value: q1(f),
2913
+ name: s
2914
+ },
2915
+ type: Ze.CHANGE
2916
+ }), [s]), g = k.useCallback(() => p.current.onBlur({
2917
+ target: {
2918
+ value: $(t._formValues, s),
2919
+ name: s
2920
+ },
2921
+ type: Ze.BLUR
2922
+ }), [s, t._formValues]), C = k.useCallback((f) => {
2923
+ const v = $(t._fields, s);
2924
+ v && f && (v._f.ref = {
2925
+ focus: () => f.focus && f.focus(),
2926
+ select: () => f.select && f.select(),
2927
+ setCustomValidity: (x) => f.setCustomValidity(x),
2928
+ reportValidity: () => f.reportValidity()
2929
+ });
2930
+ }, [t._fields, s]), b = k.useMemo(() => ({
2931
+ name: s,
2932
+ value: a,
2933
+ ...be(i) || l.disabled ? { disabled: l.disabled || i } : {},
2934
+ onChange: y,
2935
+ onBlur: g,
2936
+ ref: C
2937
+ }), [s, i, l.disabled, y, g, C, a]);
2938
+ return k.useEffect(() => {
2939
+ const f = t._options.shouldUnregister || r;
2940
+ t.register(s, {
2941
+ ...u.current.rules,
2942
+ ...be(u.current.disabled) ? { disabled: u.current.disabled } : {}
2943
+ });
2944
+ const v = (x, w) => {
2945
+ const _ = $(t._fields, x);
2946
+ _ && _._f && (_._f.mount = w);
2947
+ };
2948
+ if (v(s, !0), f) {
2949
+ const x = at($(t._options.defaultValues, s));
2950
+ je(t._defaultValues, s, x), Ne($(t._formValues, s)) && je(t._formValues, s, x);
2951
+ }
2952
+ return !c && t.register(s), () => {
2953
+ (c ? f && !t._state.action : f) ? t.unregister(s) : v(s, !1);
2954
+ };
2955
+ }, [s, t, c, r]), k.useEffect(() => {
2956
+ t._setDisabledField({
2957
+ disabled: i,
2958
+ name: s
2959
+ });
2960
+ }, [i, s, t]), k.useMemo(() => ({
2961
+ field: b,
2962
+ formState: l,
2963
+ fieldState: m
2964
+ }), [b, l, m]);
2965
+ }
2966
+ const pt = (n) => n.render(J1(n)), Q1 = ({ input: n, control: d }) => {
2967
+ const { code: s, type: i, label: t, maxLength: r, required: c, validateFunction: a } = n;
2968
+ return /* @__PURE__ */ o(
2969
+ pt,
2970
+ {
2971
+ name: s,
2972
+ control: d,
2973
+ rules: {
2974
+ required: c ? `${t} is required` : !1,
2975
+ maxLength: r || void 0,
2976
+ validate: a || void 0
2977
+ },
2978
+ render: ({ field: l }) => /* @__PURE__ */ h("div", { className: fe.textInputContainer, children: [
2979
+ /* @__PURE__ */ o("h3", { className: fe.labelContainer, children: t }),
2980
+ /* @__PURE__ */ o(
2981
+ "input",
2982
+ {
2983
+ type: i || "text",
2984
+ ...l,
2985
+ className: fe.inputContainer
2986
+ }
2987
+ )
2988
+ ] })
2989
+ }
2990
+ );
2991
+ }, en = {}, ye = ({ inputs: n, control: d }) => (console.log("inputs: ", n), n == null ? void 0 : n.map((s, i) => {
2992
+ console.log("input", s);
2993
+ const { inputType: t } = s;
2994
+ switch (t) {
2995
+ case $1.text:
2996
+ const { code: r, type: c, label: a, maxLength: l, required: u, validateFunction: p } = s;
2997
+ return /* @__PURE__ */ o(
2998
+ pt,
2999
+ {
3000
+ name: r,
3001
+ control: d,
3002
+ rules: {
3003
+ required: u ? `${a} is required` : !1,
3004
+ maxLength: l || null,
3005
+ validate: p || null
3006
+ },
3007
+ render: ({ field: m }) => /* @__PURE__ */ o(Q1, { input: s, control: d })
3008
+ },
3009
+ `${r}${i}`
3010
+ );
3011
+ default:
3012
+ return /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o("h4", { children: "Default" }) });
3013
+ }
3014
+ })), In = ({
3015
+ reactHookFormInstance: n,
3016
+ formObject: d,
3017
+ //Component with {title, children} as props.
3018
+ // Used to render a category section in the form.
3019
+ //If not provided, a default component will be used.
3020
+ CategoryComponent: s,
3021
+ onSubmit: i = (t) => console.log("Form submitted with data: ", t)
3022
+ }) => {
3023
+ const {
3024
+ register: t,
3025
+ handleSubmit: r,
3026
+ watch: c,
3027
+ control: a,
3028
+ formState: { errors: l }
3029
+ } = n;
3030
+ return B(() => {
3031
+ console.log("Errors ", l);
3032
+ }, [l]), /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3033
+ /* @__PURE__ */ h("form", { className: en.formContainer, onSubmit: r(i), children: [
3034
+ d && d.map((u, p) => {
3035
+ const { inputs: m } = u;
3036
+ return u.category ? s ? /* @__PURE__ */ o(
3037
+ s,
3038
+ {
3039
+ title: u.category,
3040
+ children: /* @__PURE__ */ o(ye, { inputs: m, control: a })
3041
+ },
3042
+ `${u.category}${p}`
3043
+ ) : /* @__PURE__ */ h("div", { children: [
3044
+ /* @__PURE__ */ o("h2", { children: u.category }),
3045
+ /* @__PURE__ */ o("p", { children: "This is a category component example." }),
3046
+ /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(ye, { inputs: m, control: a }) })
3047
+ ] }, `${u.category}${p}`) : /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(ye, { inputs: m, control: a }) }, `inputKey${p}`);
3048
+ }),
3049
+ /* @__PURE__ */ o("button", { type: "submit", children: "Send" })
3050
+ ] });
3051
+ }, tn = "_header_13kbt_2", nn = "_leftComponents_13kbt_13", sn = "_centerComponents_13kbt_14", on = "_rightComponents_13kbt_15", rn = "_componentsContainer_13kbt_32", K = {
3052
+ header: tn,
3053
+ leftComponents: nn,
3054
+ centerComponents: sn,
3055
+ rightComponents: on,
3056
+ componentsContainer: rn
3057
+ }, an = ({
3058
+ cssProps: n,
2776
3059
  leftComponents: d = [],
2777
3060
  centerComponents: s = [],
2778
- rightComponents: n = [],
3061
+ rightComponents: i = [],
2779
3062
  zIndex: t = 10,
2780
- height: a = 60,
2781
- backgroundColor: l = "#605B56",
2782
- isFooter: r = !1
3063
+ height: r = 60,
3064
+ backgroundColor: c = "#605B56",
3065
+ isFooter: a = !1
2783
3066
  // If true, it will apply footer styles
2784
- }) => /* @__PURE__ */ u(
3067
+ }) => /* @__PURE__ */ h(
2785
3068
  "div",
2786
3069
  {
2787
- className: Z.header,
3070
+ className: K.header,
2788
3071
  style: {
2789
- ...o,
3072
+ ...n,
2790
3073
  zIndex: t,
2791
- height: a,
2792
- backgroundColor: l,
2793
- top: r ? "auto" : 0,
2794
- bottom: r ? 0 : "auto"
3074
+ height: r,
3075
+ backgroundColor: c,
3076
+ top: a ? "auto" : 0,
3077
+ bottom: a ? 0 : "auto"
2795
3078
  },
2796
3079
  children: [
2797
- /* @__PURE__ */ i("div", { className: Z.leftComponents, children: d.map((c, p) => /* @__PURE__ */ i("div", { className: Z.componentsContainer, children: c }, p)) }),
2798
- /* @__PURE__ */ i("div", { className: Z.centerComponents, children: s.map((c, p) => /* @__PURE__ */ i("div", { className: Z.componentsContainer, children: c }, p)) }),
2799
- /* @__PURE__ */ i("div", { className: Z.rightComponents, children: n.map((c, p) => /* @__PURE__ */ i("div", { className: Z.componentsContainer, children: c }, p)) })
3080
+ /* @__PURE__ */ o("div", { className: K.leftComponents, children: d.map((l, u) => /* @__PURE__ */ o("div", { className: K.componentsContainer, children: l }, u)) }),
3081
+ /* @__PURE__ */ o("div", { className: K.centerComponents, children: s.map((l, u) => /* @__PURE__ */ o("div", { className: K.componentsContainer, children: l }, u)) }),
3082
+ /* @__PURE__ */ o("div", { className: K.rightComponents, children: i.map((l, u) => /* @__PURE__ */ o("div", { className: K.componentsContainer, children: l }, u)) })
2800
3083
  ]
2801
3084
  }
2802
3085
  );
2803
- w1.propTypes = {
3086
+ an.propTypes = {
2804
3087
  leftComponents: e.arrayOf(e.node),
2805
3088
  centerComponents: e.arrayOf(e.node),
2806
3089
  rightComponents: e.arrayOf(e.node),
@@ -2810,52 +3093,53 @@ w1.propTypes = {
2810
3093
  backgroundColor: e.string,
2811
3094
  isFooter: e.bool
2812
3095
  };
2813
- const x1 = "_sidebar_1jqo2_2", k1 = "_open_1jqo2_16", N1 = "_content_1jqo2_20", S1 = "_closeButton_1jqo2_26", o2 = {
2814
- sidebar: x1,
2815
- open: k1,
2816
- content: N1,
2817
- closeButton: S1
2818
- }, M1 = ({ width: o = "300px", children: d, showRightBar: s, onCloseBar: n }) => {
3096
+ const ln = "_sidebar_1jqo2_2", cn = "_open_1jqo2_16", dn = "_content_1jqo2_20", un = "_closeButton_1jqo2_26", re = {
3097
+ sidebar: ln,
3098
+ open: cn,
3099
+ content: dn,
3100
+ closeButton: un
3101
+ }, pn = ({ width: n = "300px", children: d, showRightBar: s, onCloseBar: i }) => {
2819
3102
  const t = () => {
2820
- n();
3103
+ i();
2821
3104
  };
2822
- return /* @__PURE__ */ i(
3105
+ return /* @__PURE__ */ o(
2823
3106
  "div",
2824
3107
  {
2825
- className: `${o2.sidebar} ${s ? o2.open : ""}`,
2826
- style: { width: s ? o : 0 },
2827
- children: s && /* @__PURE__ */ u("div", { className: o2.content, children: [
2828
- /* @__PURE__ */ i("button", { className: o2.closeButton, onClick: t, children: "×" }),
3108
+ className: `${re.sidebar} ${s ? re.open : ""}`,
3109
+ style: { width: s ? n : 0 },
3110
+ children: s && /* @__PURE__ */ h("div", { className: re.content, children: [
3111
+ /* @__PURE__ */ o("button", { className: re.closeButton, onClick: t, children: "×" }),
2829
3112
  d
2830
3113
  ] })
2831
3114
  }
2832
3115
  );
2833
3116
  };
2834
- M1.propTypes = {
3117
+ pn.propTypes = {
2835
3118
  width: e.string,
2836
3119
  children: e.node,
2837
3120
  showRightBar: e.bool,
2838
3121
  onCloseBar: e.func
2839
3122
  };
2840
3123
  export {
2841
- Re as AmbitSelector,
2842
- We as ButtonsList,
2843
- K as DropdownList,
2844
- H1 as EditAmbit,
2845
- wt as FiltersAmbit,
2846
- Mt as Graphic,
2847
- w1 as HeaderSection,
2848
- Ht as IndicatorsList,
2849
- Xt as LangSelector,
2850
- p0 as Legend,
2851
- C1 as ListSelector,
2852
- u0 as LogoApp,
2853
- C0 as MapboxMap,
2854
- w0 as MaplibreMap,
2855
- M1 as RightSidebar,
2856
- K1 as SectionBar,
2857
- O0 as TimeSlider,
2858
- H as Tooltip,
2859
- P0 as TopNavMenu,
2860
- K0 as UserMenuTrigger
3124
+ t2 as AmbitSelector,
3125
+ m2 as ButtonsList,
3126
+ G as DropdownList,
3127
+ Ln as EditAmbit,
3128
+ E2 as FiltersAmbit,
3129
+ In as Form,
3130
+ Z2 as Graphic,
3131
+ an as HeaderSection,
3132
+ l0 as IndicatorsList,
3133
+ h0 as LangSelector,
3134
+ F0 as Legend,
3135
+ V1 as ListSelector,
3136
+ L0 as LogoApp,
3137
+ V0 as MapboxMap,
3138
+ E0 as MaplibreMap,
3139
+ pn as RightSidebar,
3140
+ Bn as SectionBar,
3141
+ Q0 as TimeSlider,
3142
+ U as Tooltip,
3143
+ i1 as TopNavMenu,
3144
+ c1 as UserMenuTrigger
2861
3145
  };