@tmf_ciclica/ciclicastorybook 1.1.43 → 1.1.45

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,79 +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}._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 g, jsx as s, Fragment as Ke } from "react/jsx-runtime";
3
- import H, { useState as L, useEffect as D, useMemo as te, useLayoutEffect as Ze, useRef as ge } 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}._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";
4
5
  import e from "prop-types";
5
- import { useTranslation as N, Trans as Ce } from "react-i18next";
6
- import { motion as be } from "framer-motion";
7
- import { create as Ue } from "zustand";
8
- import * as ve from "d3";
9
- import He from "mapbox-gl";
10
- import { useSelector as pe, useDispatch as Me } from "react-redux";
11
- import Ge, { Source as Ye, Layer as We, NavigationControl as Xe, Popup as Je } from "react-map-gl/mapbox";
12
- import se from "maplibre-gl";
13
- import { Protocol as Qe } from "pmtiles";
14
- import et, { Source as tt, Layer as nt, NavigationControl as it, Popup as st } from "react-map-gl/maplibre";
15
- import { createSlice as Fe } from "@reduxjs/toolkit";
16
- import ot from "@mui/material/Slider";
17
- import { createTheme as rt, Box as at } from "@mui/material";
18
- import { ThemeProvider as lt } from "@emotion/react";
19
- import { NavLink as ct } from "react-router-dom";
20
- const dt = "_ambitSelector_mcunf_2", pt = "_header_mcunf_13", ut = "_nameDateContainer_mcunf_23", mt = "_ambitName_mcunf_39", ht = "_ambitDate_mcunf_53", gt = "_buttonsContainer_mcunf_67", Ct = "_ambitListContainer_mcunf_76", bt = "_newAmbitButtonContainer_mcunf_80", I = {
21
- ambitSelector: dt,
22
- header: pt,
23
- nameDateContainer: ut,
24
- ambitName: mt,
25
- ambitDate: ht,
26
- buttonsContainer: gt,
27
- ambitListContainer: Ct,
28
- newAmbitButtonContainer: bt
29
- }, ft = "_ambitItem_1qa6u_2", yt = "_ambitNameDate_1qa6u_16", vt = "_ambitName_1qa6u_16", _t = "_ambitDate_1qa6u_35", xt = "_ambitButtons_1qa6u_38", Y = {
30
- ambitItem: ft,
31
- ambitNameDate: yt,
32
- ambitName: vt,
33
- ambitDate: _t,
34
- ambitButtons: xt
35
- }, 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='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", kt = "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", Nt = "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", St = "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", Tt = "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", Mt = "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", Be = ({
36
- ambit: i,
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,
37
38
  onClickCopy: d,
38
- onClickDelete: o,
39
+ onClickDelete: s,
39
40
  onClickFilters: n,
40
41
  onClickAmbit: t,
41
- isActive: r,
42
+ isActive: a,
42
43
  activeColor: l,
43
- fontColor: a,
44
+ fontColor: r,
44
45
  moreInfo: c
45
46
  }) => {
46
- const { nom: p, created_at: u, id: m, isBeingProcessed: b } = i;
47
- return /* @__PURE__ */ g(
47
+ const { nom: p, created_at: m, id: h, isBeingProcessed: b } = o;
48
+ return /* @__PURE__ */ u(
48
49
  "div",
49
50
  {
50
- className: Y.ambitItem,
51
- style: { borderBottom: `1px solid ${a}` },
51
+ className: J.ambitItem,
52
+ style: { borderBottom: `1px solid ${r}` },
52
53
  children: [
53
- /* @__PURE__ */ g("div", { className: Y.ambitNameDate, onClick: () => t(m), children: [
54
- /* @__PURE__ */ g("div", { className: Y.ambitName, children: [
55
- /* @__PURE__ */ s(
54
+ /* @__PURE__ */ u("div", { className: J.ambitNameDate, onClick: () => t(h), children: [
55
+ /* @__PURE__ */ u("div", { className: J.ambitName, children: [
56
+ /* @__PURE__ */ i(
56
57
  "img",
57
58
  {
58
59
  style: { marginRight: 9 },
59
- src: r ? Tt : Mt
60
+ src: a ? Ve : Ae
60
61
  }
61
62
  ),
62
- /* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: p })
63
+ /* @__PURE__ */ i("span", { style: { color: a ? l : r }, children: p })
63
64
  ] }),
64
- /* @__PURE__ */ s("div", { className: Y.ambitDate, children: u ? new Date(u).toLocaleDateString() : "" })
65
+ /* @__PURE__ */ i("div", { className: J.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
65
66
  ] }),
66
- /* @__PURE__ */ g("div", { className: Y.ambitButtons, children: [
67
- b && /* @__PURE__ */ s("img", { src: St }),
68
- /* @__PURE__ */ s("button", { onClick: () => n(m), disabled: i.is_default, children: /* @__PURE__ */ s("img", { src: Nt }) }),
69
- /* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src: kt }) }),
70
- /* @__PURE__ */ s("button", { onClick: () => o(m), disabled: i.is_default, children: /* @__PURE__ */ s("img", { src: wt }) })
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 }) })
71
72
  ] })
72
73
  ]
73
74
  }
74
75
  );
75
76
  };
76
- Be.propTypes = {
77
+ R2.propTypes = {
77
78
  ambit: e.shape({
78
79
  nom: e.string.isRequired,
79
80
  created_at: e.string,
@@ -91,91 +92,91 @@ Be.propTypes = {
91
92
  moreInfo: e.object
92
93
  // Optional, can be used for additional info
93
94
  };
94
- 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", Ft = "_generalButton_8d6ru_2", Bt = {
95
- generalButton: Ft
96
- }, Le = ({
97
- children: i,
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,
98
99
  onClick: d,
99
- fontColor: o,
100
+ fontColor: s,
100
101
  borderColor: n
101
- }) => /* @__PURE__ */ s(
102
+ }) => /* @__PURE__ */ i(
102
103
  "button",
103
104
  {
104
- className: Bt.generalButton,
105
- style: { color: o, border: `1.5px solid ${n}` },
105
+ className: Ie.generalButton,
106
+ style: { color: s, border: `1.5px solid ${n}` },
106
107
  onClick: d,
107
- children: i
108
+ children: o
108
109
  }
109
- ), Lt = ({
110
- ambitList: i,
110
+ ), Re = ({
111
+ ambitList: o,
111
112
  activeAmbitId: d,
112
- fontColor: o = "#605B56",
113
+ fontColor: s = "#605B56",
113
114
  activeColor: n,
114
115
  nameLabel: t,
115
- dateLabel: r,
116
+ dateLabel: a,
116
117
  newAmbitLabel: l = "New field",
117
- buttonContainerStyles: a = {},
118
+ buttonContainerStyles: r = {},
118
119
  containerStyles: c = {},
119
120
  onCLickNewAmbit: p = () => console.log("New ambit clicked"),
120
- onClickCopy: u = (C) => console.log(`Copy ambit: ${C}`),
121
- onCLickDelete: m = (C) => console.log(`Delete ambit: ${C}`),
121
+ onClickCopy: m = (C) => console.log(`Copy ambit: ${C}`),
122
+ onCLickDelete: h = (C) => console.log(`Delete ambit: ${C}`),
122
123
  onClickFilters: b = (C) => console.log(`Filters clicked: ${C}`),
123
- onClickAmbit: h = (C) => console.log(`OnCLickAmbit: ${C}`)
124
+ onClickAmbit: g = (C) => console.log(`OnCLickAmbit: ${C}`)
124
125
  }) => {
125
- const { t: C } = N(), [f, _] = L(i);
126
- D(() => {
127
- i && _(i);
128
- }, [i]);
129
- const y = (x) => {
126
+ const { t: C } = k(), [f, v] = D(o);
127
+ F(() => {
128
+ o && v(o);
129
+ }, [o]);
130
+ const y = (w) => {
130
131
  if (f && f.length > 0) {
131
- let w = [...f];
132
- w.sort((v, k) => v[x].localeCompare(k[x])), _(w);
132
+ let x = [...f];
133
+ x.sort((_, N) => _[w].localeCompare(N[w])), v(x);
133
134
  }
134
135
  };
135
- return /* @__PURE__ */ g(
136
+ return /* @__PURE__ */ u(
136
137
  "div",
137
138
  {
138
- className: I.ambitSelector,
139
- style: { color: o, ...c },
139
+ className: E.ambitSelector,
140
+ style: { color: s, ...c },
140
141
  children: [
141
- /* @__PURE__ */ g(
142
+ /* @__PURE__ */ u(
142
143
  "div",
143
144
  {
144
- className: I.header,
145
- style: { borderBottom: `1px solid ${o}` },
145
+ className: E.header,
146
+ style: { borderBottom: `1px solid ${s}` },
146
147
  children: [
147
- /* @__PURE__ */ g("div", { className: I.nameDateContainer, children: [
148
- /* @__PURE__ */ s("div", { className: I.ambitName, children: /* @__PURE__ */ g("button", { onClick: () => y("name"), children: [
149
- /* @__PURE__ */ s("span", { children: C(t) }),
150
- /* @__PURE__ */ s("img", { src: _e })
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 })
151
152
  ] }) }),
152
- /* @__PURE__ */ s("div", { className: I.ambitDate, children: /* @__PURE__ */ g("button", { onClick: () => y("date"), children: [
153
- /* @__PURE__ */ s("span", { children: C(r) }),
154
- /* @__PURE__ */ s("img", { src: _e })
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 })
155
156
  ] }) })
156
157
  ] }),
157
- /* @__PURE__ */ s("div", { className: I.buttonsContainer })
158
+ /* @__PURE__ */ i("div", { className: E.buttonsContainer })
158
159
  ]
159
160
  }
160
161
  ),
161
- /* @__PURE__ */ s("div", { className: I.ambitListContainer, children: f && f.length > 0 && f.map((x) => /* @__PURE__ */ s(
162
- Be,
162
+ /* @__PURE__ */ i("div", { className: E.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ i(
163
+ R2,
163
164
  {
164
- isActive: d == x.id,
165
- ambit: x,
166
- fontColor: o,
165
+ isActive: d == w.id,
166
+ ambit: w,
167
+ fontColor: s,
167
168
  activeColor: n,
168
- onClickCopy: u,
169
- onClickDelete: m,
169
+ onClickCopy: m,
170
+ onClickDelete: h,
170
171
  onClickFilters: b,
171
- onClickAmbit: h
172
+ onClickAmbit: g
172
173
  },
173
- `ambitKey${x.id}`
174
+ `ambitKey${w.id}`
174
175
  )) }),
175
- /* @__PURE__ */ s("div", { className: I.newAmbitButtonContainer, children: /* @__PURE__ */ s(
176
- Le,
176
+ /* @__PURE__ */ i("div", { className: E.newAmbitButtonContainer, children: /* @__PURE__ */ i(
177
+ x2,
177
178
  {
178
- style: { ...a },
179
+ style: { ...r },
179
180
  onClick: p,
180
181
  borderColor: "grey",
181
182
  children: C(l)
@@ -185,7 +186,7 @@ const _e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
185
186
  }
186
187
  );
187
188
  };
188
- Lt.propTypes = {
189
+ Re.propTypes = {
189
190
  ambitList: e.arrayOf(
190
191
  e.shape({
191
192
  name: e.string.isRequired,
@@ -207,70 +208,70 @@ Lt.propTypes = {
207
208
  containerStyles: e.object,
208
209
  onCLickNewAmbit: e.func
209
210
  };
210
- const Dt = "_buttonsContainer_1audx_2", $t = "_vertical_1audx_6", At = "_horizontal_1audx_9", Ot = "_button_1audx_2", Rt = "_active_1audx_25", It = "_buttonName_1audx_28", P = {
211
- buttonsContainer: Dt,
212
- vertical: $t,
213
- horizontal: At,
214
- button: Ot,
215
- active: Rt,
216
- buttonName: It
217
- }, Vt = "_left_1l4m4_2", Pt = "_top_1l4m4_40", zt = "_bottom_1l4m4_79", jt = "_right_1l4m4_118", qt = {
218
- left: Vt,
219
- top: Pt,
220
- bottom: zt,
221
- right: jt
222
- }, De = ({ text: i, position: d, styleCustom: o = null }) => {
223
- const { t: n } = N();
224
- return /* @__PURE__ */ s("div", { className: `tooltip ${qt[d]}`, style: o, children: n(i) });
225
- };
226
- De.propTypes = {
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 = {
227
228
  text: e.string.isRequired,
228
229
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
229
230
  styleCustom: e.object
230
231
  };
231
- const Et = ({
232
- buttons: i = [],
232
+ const We = ({
233
+ buttons: o = [],
233
234
  orientation: d = "horizontal",
234
- showName: o = !0,
235
+ showName: s = !0,
235
236
  namePosition: n = "right",
236
237
  useTooltip: t = !1,
237
- tooltipPosition: r = "top"
238
+ tooltipPosition: a = "top"
238
239
  }) => {
239
- const { t: l } = N();
240
- return /* @__PURE__ */ s(
240
+ const { t: l } = k();
241
+ return /* @__PURE__ */ i(
241
242
  "div",
242
243
  {
243
- className: `${P.buttonsContainer} ${d === "vertical" && P.vertical}
244
- ${d === "horizontal" && P.horizontal}`,
245
- children: i.map((a, c) => {
244
+ className: `${q.buttonsContainer} ${d === "vertical" && q.vertical}
245
+ ${d === "horizontal" && q.horizontal}`,
246
+ children: o.map((r, c) => {
246
247
  const {
247
248
  icon: p,
248
- activeIcon: u,
249
- isActive: m,
249
+ activeIcon: m,
250
+ isActive: h,
250
251
  name: b,
251
- onClick: h
252
- } = a, C = /* @__PURE__ */ g(Ke, { children: [
253
- o && n === "left" && /* @__PURE__ */ s("span", { className: P.buttonName, children: l(b) }),
254
- /* @__PURE__ */ s("img", { src: m ? u : p, alt: l(b) }),
255
- o && n === "right" && /* @__PURE__ */ s("span", { className: P.buttonName, children: l(b) })
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) })
256
257
  ] });
257
- return /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
258
- /* @__PURE__ */ s(
258
+ return /* @__PURE__ */ u("div", { className: "tooltip-parent", children: [
259
+ /* @__PURE__ */ i(
259
260
  "button",
260
261
  {
261
- onClick: h,
262
- className: `${P.button}
263
- ${m && P.active}`,
262
+ onClick: g,
263
+ className: `${q.button}
264
+ ${h && q.active}`,
264
265
  children: C
265
266
  }
266
267
  ),
267
- t && /* @__PURE__ */ s(De, { text: b, position: r })
268
+ t && /* @__PURE__ */ i(H, { text: b, position: a })
268
269
  ] }, c);
269
270
  })
270
271
  }
271
272
  );
272
273
  };
273
- Et.propTypes = {
274
+ We.propTypes = {
274
275
  buttons: e.arrayOf(
275
276
  e.shape({
276
277
  icon: e.node.isRequired,
@@ -287,58 +288,58 @@ Et.propTypes = {
287
288
  useTooltip: e.bool,
288
289
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
289
290
  };
290
- const Kt = "_indicatorsCategory_1cu33_2", Zt = "_title_1cu33_5", oe = {
291
- indicatorsCategory: Kt,
292
- title: Zt
293
- }, E = ({
294
- isOpen: i,
291
+ const Xe = "_indicatorsCategory_1cu33_2", Je = "_title_1cu33_5", c2 = {
292
+ indicatorsCategory: Xe,
293
+ title: Je
294
+ }, K = ({
295
+ isOpen: o,
295
296
  onClick: d,
296
- children: o,
297
+ children: s,
297
298
  color: n,
298
299
  activeColor: t = "#F8A925",
299
- title: r = "Title",
300
+ title: a = "Title",
300
301
  //Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
301
302
  height: l = 53,
302
303
  //Adjust height if you change fontSize
303
- titleFontStyles: a,
304
+ titleFontStyles: r,
304
305
  showBottomBar: c = !0,
305
306
  titleMarginChildren: p = 25
306
307
  }) => {
307
- const { t: u } = N();
308
- return /* @__PURE__ */ g(
309
- be.div,
308
+ const { t: m } = k();
309
+ return /* @__PURE__ */ u(
310
+ w2.div,
310
311
  {
311
- className: oe.indicatorsCategory,
312
+ className: c2.indicatorsCategory,
312
313
  initial: { height: `${l}px` },
313
- animate: { height: i ? "auto" : `${l}px` },
314
+ animate: { height: o ? "auto" : `${l}px` },
314
315
  transition: { duration: 0.4 },
315
316
  style: {
316
317
  backgroundColor: "white",
317
- borderBottom: i && c ? `1px solid ${t}` : "0px",
318
- marginBottom: i ? "20px" : "0px"
318
+ borderBottom: o && c ? `1px solid ${t}` : "0px",
319
+ marginBottom: o ? "20px" : "0px"
319
320
  },
320
321
  children: [
321
- /* @__PURE__ */ g(
322
+ /* @__PURE__ */ u(
322
323
  "h2",
323
324
  {
324
325
  style: {
325
- ...a,
326
+ ...r,
326
327
  marginBottom: p || "auto"
327
328
  },
328
- className: `${oe.title}`,
329
+ className: `${c2.title}`,
329
330
  onClick: d,
330
331
  children: [
331
- /* @__PURE__ */ s("span", { style: { color: i ? t : n }, children: i ? "-" : "+" }),
332
- /* @__PURE__ */ s("span", { style: { marginLeft: 12, color: i ? t : n }, children: u(r) })
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) })
333
334
  ]
334
335
  }
335
336
  ),
336
- /* @__PURE__ */ s("div", { className: oe.content, children: o })
337
+ /* @__PURE__ */ i("div", { className: c2.content, children: s })
337
338
  ]
338
339
  }
339
340
  );
340
341
  };
341
- E.propTypes = {
342
+ K.propTypes = {
342
343
  isOpen: e.bool,
343
344
  onClick: e.func,
344
345
  children: e.node,
@@ -349,39 +350,39 @@ E.propTypes = {
349
350
  showBottomBar: e.bool,
350
351
  titleFontStyles: e.object
351
352
  };
352
- const gs = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), Ut = "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", Ht = "_AppliedFiltersContainer_s8ooe_2", Gt = "_AppliedFilterContent_s8ooe_10", xe = {
353
- AppliedFiltersContainer: Ht,
354
- AppliedFilterContent: Gt
355
- }, M = Ue((i) => ({
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) => ({
356
357
  activeCategory: "",
357
358
  activeSubCategory: "",
358
359
  selectedIndicator: "",
359
360
  tematicalFiltersSelected: [],
360
361
  fontColor: "#605B56",
361
362
  inputsColor: "#605B56"
362
- })), $e = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
363
- const { t: l } = N(), { tematicalFiltersSelected: a } = M((p) => p), c = (p) => {
364
- M.setState((u) => ({
365
- tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
366
- (m) => m.code !== p
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
367
368
  )
368
369
  }));
369
370
  };
370
- return /* @__PURE__ */ s(
371
- E,
371
+ return /* @__PURE__ */ i(
372
+ K,
372
373
  {
373
- isOpen: o,
374
+ isOpen: s,
374
375
  onClick: d,
375
- title: i ? l(i) : "Applied Filters",
376
- activeColor: r,
377
- children: /* @__PURE__ */ s("div", { className: xe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ g("div", { className: xe.AppliedFilterContent, style: { color: n, background: t }, children: [
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: [
378
379
  l(p.name),
379
- /* @__PURE__ */ s("img", { src: Ut, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
380
- ] }, u)) })
380
+ /* @__PURE__ */ i("img", { src: Qe, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
381
+ ] }, m)) })
381
382
  }
382
383
  );
383
384
  };
384
- $e.propTypes = {
385
+ E2.propTypes = {
385
386
  isOpen: e.bool,
386
387
  onClick: e.func,
387
388
  title: e.string,
@@ -395,20 +396,20 @@ $e.propTypes = {
395
396
  ),
396
397
  activeColor: e.string
397
398
  };
398
- const Ae = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
399
- const { t: l } = N(), { tematicalFiltersSelected: a } = M((c) => c);
400
- return /* @__PURE__ */ s(
401
- E,
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,
402
403
  {
403
- isOpen: o,
404
+ isOpen: s,
404
405
  onClick: d,
405
- title: i ? l(i) : "Geographical Filters",
406
- activeColor: r,
406
+ title: o ? l(o) : "Geographical Filters",
407
+ activeColor: a,
407
408
  children: "A"
408
409
  }
409
410
  );
410
411
  };
411
- Ae.propTypes = {
412
+ P2.propTypes = {
412
413
  isOpen: e.bool,
413
414
  onClick: e.func,
414
415
  title: e.string,
@@ -416,25 +417,25 @@ Ae.propTypes = {
416
417
  backgroundColor: e.string,
417
418
  activeColor: e.string
418
419
  };
419
- const Yt = "_checkboxContainer_zld97_2", Wt = {
420
- checkboxContainer: Yt
421
- }, Oe = ({
422
- onClick: i,
420
+ const nt = "_checkboxContainer_zld97_2", it = {
421
+ checkboxContainer: nt
422
+ }, q2 = ({
423
+ onClick: o,
423
424
  containerStyles: d,
424
- color: o = "#605B56",
425
+ color: s = "#605B56",
425
426
  indicator: n,
426
427
  value: t
427
428
  }) => {
428
- const { t: r } = N(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = M((p) => p);
429
- return /* @__PURE__ */ g(
429
+ const { t: a } = k(), { title: l } = n || {}, { fontColor: r, inputsColor: c } = B((p) => p);
430
+ return /* @__PURE__ */ u(
430
431
  "div",
431
432
  {
432
- style: { ...d, color: o },
433
+ style: { ...d, color: s },
433
434
  role: "checkbox",
434
- className: Wt.checkboxContainer,
435
- onClick: i,
435
+ className: it.checkboxContainer,
436
+ onClick: o,
436
437
  children: [
437
- /* @__PURE__ */ s(
438
+ /* @__PURE__ */ i(
438
439
  "input",
439
440
  {
440
441
  type: "checkbox",
@@ -442,17 +443,17 @@ const Yt = "_checkboxContainer_zld97_2", Wt = {
442
443
  value: t,
443
444
  readOnly: !0,
444
445
  style: {
445
- border: `1.5px solid ${t ? c : a}`,
446
+ border: `1.5px solid ${t ? c : r}`,
446
447
  backgroundColor: t ? c : "white"
447
448
  }
448
449
  }
449
450
  ),
450
- /* @__PURE__ */ s("span", { className: "checkmark", children: r(l) })
451
+ /* @__PURE__ */ i("span", { className: "checkmark", children: a(l) })
451
452
  ]
452
453
  }
453
454
  );
454
455
  };
455
- Oe.propTypes = {
456
+ q2.propTypes = {
456
457
  onClick: e.func,
457
458
  value: e.bool,
458
459
  containerStyles: e.object,
@@ -463,358 +464,358 @@ Oe.propTypes = {
463
464
  }),
464
465
  checkedColor: e.string
465
466
  };
466
- function ue(i, d) {
467
- return ue = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
468
- return o.__proto__ = n, o;
469
- }, ue(i, d);
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);
470
471
  }
471
- function Xt(i, d) {
472
- i.prototype = Object.create(d.prototype), i.prototype.constructor = i, ue(i, d);
472
+ function ot(o, d) {
473
+ o.prototype = Object.create(d.prototype), o.prototype.constructor = o, C2(o, d);
473
474
  }
474
- function re(i) {
475
- return i && i.stopPropagation && i.stopPropagation(), i && i.preventDefault && i.preventDefault(), !1;
475
+ function d2(o) {
476
+ return o && o.stopPropagation && o.stopPropagation(), o && o.preventDefault && o.preventDefault(), !1;
476
477
  }
477
- function ae(i) {
478
- return i == null ? [] : Array.isArray(i) ? i.slice() : [i];
478
+ function p2(o) {
479
+ return o == null ? [] : Array.isArray(o) ? o.slice() : [o];
479
480
  }
480
- function X(i) {
481
- return i !== null && i.length === 1 ? i[0] : i.slice();
481
+ function t2(o) {
482
+ return o !== null && o.length === 1 ? o[0] : o.slice();
482
483
  }
483
- function J(i) {
484
- Object.keys(i).forEach((d) => {
485
- typeof document < "u" && document.addEventListener(d, i[d], !1);
484
+ function n2(o) {
485
+ Object.keys(o).forEach((d) => {
486
+ typeof document < "u" && document.addEventListener(d, o[d], !1);
486
487
  });
487
488
  }
488
- function z(i, d) {
489
- return me(function(o, n) {
490
- let t = o;
489
+ function z(o, d) {
490
+ return f2(function(s, n) {
491
+ let t = s;
491
492
  return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
492
- }(i, d), d);
493
+ }(o, d), d);
493
494
  }
494
- function me(i, d) {
495
- const o = (i - d.min) % d.step;
496
- let n = i - o;
497
- return 2 * Math.abs(o) >= d.step && (n += o > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
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));
498
499
  }
499
- let he = function(i) {
500
+ let b2 = function(o) {
500
501
  function d(n) {
501
502
  var t;
502
- (t = i.call(this, n) || this).onKeyUp = () => {
503
+ (t = o.call(this, n) || this).onKeyUp = () => {
503
504
  t.onEnd();
504
505
  }, t.onMouseUp = () => {
505
506
  t.onEnd(t.getMouseEventMap());
506
- }, t.onTouchEnd = (a) => {
507
- a.preventDefault(), t.onEnd(t.getTouchEventMap());
507
+ }, t.onTouchEnd = (r) => {
508
+ r.preventDefault(), t.onEnd(t.getTouchEventMap());
508
509
  }, t.onBlur = () => {
509
510
  t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
510
- }, t.onMouseMove = (a) => {
511
+ }, t.onMouseMove = (r) => {
511
512
  t.setState({ pending: !0 });
512
- const c = t.getMousePosition(a), p = t.getDiffPosition(c[0]), u = t.getValueFromPosition(p);
513
- t.move(u);
514
- }, t.onTouchMove = (a) => {
515
- if (a.touches.length > 1) return;
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;
516
517
  t.setState({ pending: !0 });
517
- const c = t.getTouchPosition(a);
518
+ const c = t.getTouchPosition(r);
518
519
  if (t.isScrolling === void 0) {
519
- const m = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
520
- t.isScrolling = Math.abs(b) > Math.abs(m);
520
+ const h = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
521
+ t.isScrolling = Math.abs(b) > Math.abs(h);
521
522
  }
522
523
  if (t.isScrolling) return void t.setState({ index: -1 });
523
- const p = t.getDiffPosition(c[0]), u = t.getValueFromPosition(p);
524
- t.move(u);
525
- }, t.onKeyDown = (a) => {
526
- if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
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) {
527
528
  case "ArrowLeft":
528
529
  case "ArrowDown":
529
530
  case "Left":
530
531
  case "Down":
531
- a.preventDefault(), t.moveDownByStep();
532
+ r.preventDefault(), t.moveDownByStep();
532
533
  break;
533
534
  case "ArrowRight":
534
535
  case "ArrowUp":
535
536
  case "Right":
536
537
  case "Up":
537
- a.preventDefault(), t.moveUpByStep();
538
+ r.preventDefault(), t.moveUpByStep();
538
539
  break;
539
540
  case "Home":
540
- a.preventDefault(), t.move(t.props.min);
541
+ r.preventDefault(), t.move(t.props.min);
541
542
  break;
542
543
  case "End":
543
- a.preventDefault(), t.move(t.props.max);
544
+ r.preventDefault(), t.move(t.props.max);
544
545
  break;
545
546
  case "PageDown":
546
- a.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
547
+ r.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
547
548
  break;
548
549
  case "PageUp":
549
- a.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
550
+ r.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
550
551
  }
551
- }, t.onSliderMouseDown = (a) => {
552
- if (!t.props.disabled && a.button !== 2) {
552
+ }, t.onSliderMouseDown = (r) => {
553
+ if (!t.props.disabled && r.button !== 2) {
553
554
  if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
554
- const c = t.getMousePosition(a);
555
+ const c = t.getMousePosition(r);
555
556
  t.forceValueFromPosition(c[0], (p) => {
556
- t.start(p, c[0]), J(t.getMouseEventMap());
557
+ t.start(p, c[0]), n2(t.getMouseEventMap());
557
558
  });
558
559
  }
559
- re(a);
560
+ d2(r);
560
561
  }
561
- }, t.onSliderClick = (a) => {
562
+ }, t.onSliderClick = (r) => {
562
563
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
563
- const c = t.getMousePosition(a), p = z(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
564
+ const c = t.getMousePosition(r), p = z(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
564
565
  t.props.onSliderClick(p);
565
566
  }
566
- }, t.createOnKeyDown = (a) => (c) => {
567
- t.props.disabled || (t.start(a), J(t.getKeyDownEventMap()), re(c));
568
- }, t.createOnMouseDown = (a) => (c) => {
567
+ }, t.createOnKeyDown = (r) => (c) => {
568
+ t.props.disabled || (t.start(r), n2(t.getKeyDownEventMap()), d2(c));
569
+ }, t.createOnMouseDown = (r) => (c) => {
569
570
  if (t.props.disabled || c.button === 2) return;
570
571
  t.setState({ pending: !0 });
571
572
  const p = t.getMousePosition(c);
572
- t.start(a, p[0]), J(t.getMouseEventMap()), re(c);
573
- }, t.createOnTouchStart = (a) => (c) => {
573
+ t.start(r, p[0]), n2(t.getMouseEventMap()), d2(c);
574
+ }, t.createOnTouchStart = (r) => (c) => {
574
575
  if (t.props.disabled || c.touches.length > 1) return;
575
576
  t.setState({ pending: !0 });
576
577
  const p = t.getTouchPosition(c);
577
- t.startPosition = p, t.isScrolling = void 0, t.start(a, p[0]), J(t.getTouchEventMap()), function(u) {
578
- u.stopPropagation && u.stopPropagation();
578
+ t.startPosition = p, t.isScrolling = void 0, t.start(r, p[0]), n2(t.getTouchEventMap()), function(m) {
579
+ m.stopPropagation && m.stopPropagation();
579
580
  }(c);
580
581
  }, t.handleResize = () => {
581
- const a = window.setTimeout(() => {
582
+ const r = window.setTimeout(() => {
582
583
  t.pendingResizeTimeouts.shift(), t.resize();
583
584
  }, 0);
584
- t.pendingResizeTimeouts.push(a);
585
- }, t.renderThumb = (a, c) => {
586
- const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), u = { ref: (b) => {
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) => {
587
588
  t["thumb" + c] = b;
588
- }, key: t.props.thumbClassName + "-" + c, className: p, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value: X(t.state.value), valueNow: t.state.value[c] };
589
- return t.props.ariaValuetext && (u["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(u, m);
590
- }, t.renderTrack = (a, c, p) => {
591
- const u = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - p) }, m = { index: a, value: X(t.state.value) };
592
- return t.props.renderTrack(u, m);
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);
593
594
  };
594
- let r = ae(n.value);
595
- r.length || (r = ae(n.defaultValue)), t.pendingResizeTimeouts = [];
595
+ let a = p2(n.value);
596
+ a.length || (a = p2(n.defaultValue)), t.pendingResizeTimeouts = [];
596
597
  const l = [];
597
- for (let a = 0; a < r.length; a += 1) r[a] = z(r[a], n), l.push(a);
598
- return t.resizeObserver = null, t.resizeElementRef = H.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
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;
599
600
  }
600
- Xt(d, i);
601
- var o = d.prototype;
602
- return o.componentDidMount = function() {
601
+ ot(d, o);
602
+ var s = d.prototype;
603
+ return s.componentDidMount = function() {
603
604
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
604
605
  }, d.getDerivedStateFromProps = function(n, t) {
605
- const r = ae(n.value);
606
- return r.length ? t.pending ? null : { value: r.map((l) => z(l, n)) } : null;
607
- }, o.componentDidUpdate = function() {
606
+ const a = p2(n.value);
607
+ return a.length ? t.pending ? null : { value: a.map((l) => z(l, n)) } : null;
608
+ }, s.componentDidUpdate = function() {
608
609
  this.state.upperBound === 0 && this.resize();
609
- }, o.componentWillUnmount = function() {
610
+ }, s.componentWillUnmount = function() {
610
611
  this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
611
- }, o.onEnd = function(n) {
612
+ }, s.onEnd = function(n) {
612
613
  n && function(t) {
613
- Object.keys(t).forEach((r) => {
614
- typeof document < "u" && document.removeEventListener(r, t[r], !1);
614
+ Object.keys(t).forEach((a) => {
615
+ typeof document < "u" && document.removeEventListener(a, t[a], !1);
615
616
  });
616
617
  }(n), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
617
- }, o.getValue = function() {
618
- return X(this.state.value);
619
- }, o.getClosestIndex = function(n) {
620
- let t = Number.MAX_VALUE, r = -1;
621
- const { value: l } = this.state, a = l.length;
622
- for (let c = 0; c < a; c += 1) {
623
- const p = this.calcOffset(l[c]), u = Math.abs(n - p);
624
- u < t && (t = u, r = c);
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);
625
626
  }
626
- return r;
627
- }, o.getMousePosition = function(n) {
627
+ return a;
628
+ }, s.getMousePosition = function(n) {
628
629
  return [n["page" + this.axisKey()], n["page" + this.orthogonalAxisKey()]];
629
- }, o.getTouchPosition = function(n) {
630
+ }, s.getTouchPosition = function(n) {
630
631
  const t = n.touches[0];
631
632
  return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
632
- }, o.getKeyDownEventMap = function() {
633
+ }, s.getKeyDownEventMap = function() {
633
634
  return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
634
- }, o.getMouseEventMap = function() {
635
+ }, s.getMouseEventMap = function() {
635
636
  return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
636
- }, o.getTouchEventMap = function() {
637
+ }, s.getTouchEventMap = function() {
637
638
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
638
- }, o.getValueFromPosition = function(n) {
639
+ }, s.getValueFromPosition = function(n) {
639
640
  const t = n / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
640
641
  return z(this.state.startValue + t, this.props);
641
- }, o.getDiffPosition = function(n) {
642
+ }, s.getDiffPosition = function(n) {
642
643
  let t = n - this.state.startPosition;
643
644
  return this.props.invert && (t *= -1), t;
644
- }, o.resize = function() {
645
+ }, s.resize = function() {
645
646
  const { slider: n, thumb0: t } = this;
646
647
  if (!n || !t) return;
647
- const r = this.sizeKey(), l = n.getBoundingClientRect(), a = n[r], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - u, b = Math.abs(c - p);
648
- this.state.upperBound === m && this.state.sliderLength === b && this.state.thumbSize === u || this.setState({ upperBound: m, sliderLength: b, thumbSize: u });
649
- }, o.calcOffset = function(n) {
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) {
650
651
  const t = this.props.max - this.props.min;
651
652
  return t === 0 ? 0 : (n - this.props.min) / t * this.state.upperBound;
652
- }, o.calcValue = function(n) {
653
+ }, s.calcValue = function(n) {
653
654
  return n / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
654
- }, o.calcOffsetFromPosition = function(n) {
655
- const { slider: t } = this, r = t.getBoundingClientRect(), l = r[this.posMaxKey()], a = r[this.posMinKey()];
656
- let c = n - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
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));
657
658
  return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
658
- }, o.forceValueFromPosition = function(n, t) {
659
- const r = this.calcOffsetFromPosition(n), l = this.getClosestIndex(r), a = z(this.calcValue(r), this.props), c = this.state.value.slice();
660
- c[l] = a;
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;
661
662
  for (let p = 0; p < c.length - 1; p += 1) if (c[p + 1] - c[p] < this.props.minDistance) return;
662
663
  this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
663
664
  t(l), this.fireChangeEvent("onChange");
664
665
  });
665
- }, o.clearPendingResizeTimeouts = function() {
666
+ }, s.clearPendingResizeTimeouts = function() {
666
667
  do {
667
668
  const n = this.pendingResizeTimeouts.shift();
668
669
  clearTimeout(n);
669
670
  } while (this.pendingResizeTimeouts.length);
670
- }, o.start = function(n, t) {
671
- const r = this["thumb" + n];
672
- r && r.focus();
671
+ }, s.start = function(n, t) {
672
+ const a = this["thumb" + n];
673
+ a && a.focus();
673
674
  const { zIndices: l } = this.state;
674
- l.splice(l.indexOf(n), 1), l.push(n), this.setState((a) => ({ startValue: a.value[n], startPosition: t !== void 0 ? t : a.startPosition, index: n, zIndices: l }));
675
- }, o.moveUpByStep = function(n) {
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) {
676
677
  n === void 0 && (n = this.props.step);
677
- const t = this.state.value[this.state.index], r = z(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
678
- this.move(Math.min(r, this.props.max));
679
- }, o.moveDownByStep = function(n) {
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) {
680
681
  n === void 0 && (n = this.props.step);
681
- const t = this.state.value[this.state.index], r = z(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
682
- this.move(Math.max(r, this.props.min));
683
- }, o.move = function(n) {
684
- const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
685
- if (n === a) return;
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;
686
687
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
687
- const { pearling: c, max: p, min: u, minDistance: m } = this.props;
688
+ const { pearling: c, max: p, min: m, minDistance: h } = this.props;
688
689
  if (!c) {
689
- if (r > 0) {
690
- const b = t[r - 1];
691
- n < b + m && (n = b + m);
690
+ if (a > 0) {
691
+ const b = t[a - 1];
692
+ n < b + h && (n = b + h);
692
693
  }
693
- if (r < l - 1) {
694
- const b = t[r + 1];
695
- n > b - m && (n = b - m);
694
+ if (a < l - 1) {
695
+ const b = t[a + 1];
696
+ n > b - h && (n = b - h);
696
697
  }
697
698
  }
698
- t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, m, r), function(b, h, C, f) {
699
- for (let _ = 0; _ < b; _ += 1) {
700
- const y = f - _ * C;
701
- h[b - 1 - _] > y && (h[b - 1 - _] = y);
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);
702
703
  }
703
- }(l, t, m, p)) : n < a && (this.pushPreceding(t, m, r), function(b, h, C, f) {
704
- for (let _ = 0; _ < b; _ += 1) {
705
- const y = f + _ * C;
706
- h[_] < y && (h[_] = y);
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);
707
708
  }
708
- }(l, t, m, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
709
- }, o.pushSucceeding = function(n, t, r) {
710
- let l, a;
711
- for (l = r, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = me(a, this.props);
712
- }, o.pushPreceding = function(n, t, r) {
713
- for (let l = r, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = me(a, this.props);
714
- }, o.axisKey = function() {
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);
715
+ }, s.axisKey = function() {
715
716
  return this.props.orientation === "vertical" ? "Y" : "X";
716
- }, o.orthogonalAxisKey = function() {
717
+ }, s.orthogonalAxisKey = function() {
717
718
  return this.props.orientation === "vertical" ? "X" : "Y";
718
- }, o.posMinKey = function() {
719
+ }, s.posMinKey = function() {
719
720
  return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
720
- }, o.posMaxKey = function() {
721
+ }, s.posMaxKey = function() {
721
722
  return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
722
- }, o.sizeKey = function() {
723
+ }, s.sizeKey = function() {
723
724
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
724
- }, o.fireChangeEvent = function(n) {
725
- this.props[n] && this.props[n](X(this.state.value), this.state.index);
726
- }, o.buildThumbStyle = function(n, t) {
727
- const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
728
- return r[this.posMinKey()] = n + "px", r;
729
- }, o.buildTrackStyle = function(n, t) {
730
- const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
731
- return r[this.posMinKey()] = n, r[this.posMaxKey()] = t, r;
732
- }, o.buildMarkStyle = function(n) {
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) {
733
734
  var t;
734
735
  return (t = { position: "absolute" })[this.posMinKey()] = n, t;
735
- }, o.renderThumbs = function(n) {
736
- const { length: t } = n, r = [];
737
- for (let a = 0; a < t; a += 1) r[a] = this.buildThumbStyle(n[a], a);
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);
738
739
  const l = [];
739
- for (let a = 0; a < t; a += 1) l[a] = this.renderThumb(r[a], a);
740
+ for (let r = 0; r < t; r += 1) l[r] = this.renderThumb(a[r], r);
740
741
  return l;
741
- }, o.renderTracks = function(n) {
742
- const t = [], r = n.length - 1;
742
+ }, s.renderTracks = function(n) {
743
+ const t = [], a = n.length - 1;
743
744
  t.push(this.renderTrack(0, 0, n[0]));
744
- for (let l = 0; l < r; l += 1) t.push(this.renderTrack(l + 1, n[l], n[l + 1]));
745
- return t.push(this.renderTrack(r + 1, n[r], this.state.upperBound)), t;
746
- }, o.renderMarks = function() {
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;
747
+ }, s.renderMarks = function() {
747
748
  let { marks: n } = this.props;
748
749
  const t = this.props.max - this.props.min + 1;
749
- return typeof n == "boolean" ? n = Array.from({ length: t }).map((r, l) => l) : typeof n == "number" && (n = Array.from({ length: t }).map((r, l) => l).filter((r) => r % n == 0)), n.map(parseFloat).sort((r, l) => r - l).map((r) => {
750
- const l = this.calcOffset(r), a = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(l) };
751
- return this.props.renderMark(a);
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);
752
753
  });
753
- }, o.render = function() {
754
- const n = [], { value: t } = this.state, r = t.length;
755
- for (let p = 0; p < r; p += 1) n[p] = this.calcOffset(t[p], p);
756
- const l = this.props.withTracks ? this.renderTracks(n) : null, a = this.renderThumbs(n), c = this.props.marks ? this.renderMarks() : null;
757
- return H.createElement("div", { ref: (p) => {
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) => {
758
759
  this.slider = p, this.resizeElementRef.current = p;
759
- }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
760
+ }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, r, c);
760
761
  }, d;
761
- }(H.Component);
762
- he.displayName = "ReactSlider", he.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, 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: (i) => H.createElement("div", i), renderTrack: (i) => H.createElement("div", i), renderMark: (i) => H.createElement("span", i) };
763
- var Jt = he;
764
- const Qt = "_container_15vgv_2", en = "_unitLabel_15vgv_9", tn = "_slider_15vgv_12", nn = "_thumb_15vgv_18", sn = "_track_15vgv_27", on = "_labels_15vgv_33", K = {
765
- container: Qt,
766
- unitLabel: en,
767
- slider: tn,
768
- thumb: nn,
769
- track: sn,
770
- labels: on
771
- }, Re = ({
772
- min: i = 0,
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,
773
774
  max: d = 100,
774
- step: o = 1,
775
+ step: s = 1,
775
776
  onChange: n,
776
777
  width: t = 300,
777
- unit: r,
778
+ unit: a,
778
779
  fontColor: l = "#605B56",
779
- defaultValue: a
780
+ defaultValue: r
780
781
  }) => {
781
- const { t: c } = N(), [p, u] = L([i, d]), m = (b) => {
782
- u(b), n == null || n({ min: b[0], max: b[1] });
782
+ const { t: c } = k(), [p, m] = D([o, d]), h = (b) => {
783
+ m(b), n == null || n({ min: b[0], max: b[1] });
783
784
  };
784
- return D(() => {
785
- a && u([a]);
786
- }, [a]), /* @__PURE__ */ g(
785
+ return F(() => {
786
+ r && m([r]);
787
+ }, [r]), /* @__PURE__ */ u(
787
788
  "div",
788
789
  {
789
- className: K.container,
790
+ className: U.container,
790
791
  style: { width: `${t}px`, color: `${l}` },
791
792
  children: [
792
- /* @__PURE__ */ s("div", { className: K.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
793
- /* @__PURE__ */ s(
794
- Jt,
793
+ /* @__PURE__ */ i("div", { className: U.unitLabel, children: /* @__PURE__ */ i("span", { children: c(a) }) }),
794
+ /* @__PURE__ */ i(
795
+ st,
795
796
  {
796
- className: K.slider,
797
- thumbClassName: K.thumb,
798
- trackClassName: K.track,
799
- min: i,
797
+ className: U.slider,
798
+ thumbClassName: U.thumb,
799
+ trackClassName: U.track,
800
+ min: o,
800
801
  max: d,
801
- step: o,
802
+ step: s,
802
803
  value: p,
803
- onAfterChange: m,
804
+ onAfterChange: h,
804
805
  withTracks: !0,
805
806
  pearling: !0,
806
807
  minDistance: 1
807
808
  }
808
809
  ),
809
- /* @__PURE__ */ g("div", { className: K.labels, children: [
810
- /* @__PURE__ */ s("span", { children: p[0] }),
811
- /* @__PURE__ */ s("span", { children: p[1] })
810
+ /* @__PURE__ */ u("div", { className: U.labels, children: [
811
+ /* @__PURE__ */ i("span", { children: p[0] }),
812
+ /* @__PURE__ */ i("span", { children: p[1] })
812
813
  ] })
813
814
  ]
814
815
  }
815
816
  );
816
817
  };
817
- Re.propTypes = {
818
+ z2.propTypes = {
818
819
  min: e.number,
819
820
  max: e.number,
820
821
  step: e.number,
@@ -826,111 +827,111 @@ Re.propTypes = {
826
827
  fontColor: e.string,
827
828
  value: e.arrayOf(e.number)
828
829
  };
829
- const rn = "_tematicalFiltersInputContainer_1vm1r_2", an = "_inputTypeContainer_1vm1r_2", ln = "_checkboxContainer_1vm1r_28", cn = "_absoluteSliderContainer_1vm1r_37", Q = {
830
- tematicalFiltersInputContainer: rn,
831
- inputTypeContainer: an,
832
- checkboxContainer: ln,
833
- absoluteSliderContainer: cn
834
- }, fe = ({
835
- indicator: i,
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,
836
837
  //onChangeBothType
837
838
  activeColor: d
838
839
  }) => {
839
- const [o, n] = L(), {
840
+ const [s, n] = D(), {
840
841
  type: t,
841
- name: r,
842
+ name: a,
842
843
  values: l,
843
- minValue: a,
844
+ minValue: r,
844
845
  maxValue: c,
845
846
  unit: p,
846
- step: u
847
- } = i || {}, m = te(
848
- () => t == "cat" || o == "cat",
849
- [o, t]
850
- ), b = te(
851
- () => t == "abs" || o == "abs",
852
- [o, t]
847
+ step: m
848
+ } = o || {}, h = s2(
849
+ () => t == "cat" || s == "cat",
850
+ [s, t]
851
+ ), b = s2(
852
+ () => t == "abs" || s == "abs",
853
+ [s, t]
853
854
  ), {
854
- tematicalFiltersSelected: h,
855
+ tematicalFiltersSelected: g,
855
856
  selectedIndicator: C,
856
857
  fontColor: f,
857
- inputsColor: _
858
- } = M((w) => w), y = (w) => {
859
- if (w) {
860
- const { min: v, max: k, valueClicked: S, allValues: O } = w || {}, { code: G, type: ne } = i || {}, ie = b ? "abs" : m ? "cat" : "both";
861
- let A = G[0];
862
- ne == "both" && (A = ie == "cat" ? G[1] : G[0]), ie == "cat" ? M.setState((V) => {
863
- let R = V.tematicalFiltersSelected.find(
864
- (F) => F.code === A
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
865
866
  );
866
867
  if (R) {
867
- let F = [R.values];
868
- return R.values.includes(S) ? F = R.values.filter(
868
+ let L = [R.values];
869
+ return R.values.includes(S) ? L = R.values.filter(
869
870
  ($) => $ !== S
870
- ) : F = [...R.values, S], F.length == O.length ? {
871
- tematicalFiltersSelected: V.tematicalFiltersSelected.filter(
872
- ($) => $.code !== A
871
+ ) : L = [...R.values, S], L.length == I.length ? {
872
+ tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
873
+ ($) => $.code !== O
873
874
  )
874
875
  } : {
875
- tematicalFiltersSelected: V.tematicalFiltersSelected.map(
876
- ($) => $.code === A ? { ...$, values: F } : $
876
+ tematicalFiltersSelected: P.tematicalFiltersSelected.map(
877
+ ($) => $.code === O ? { ...$, values: L } : $
877
878
  )
878
879
  };
879
880
  } else {
880
- let F = O.map(($, Ee) => Ee);
881
+ let L = I.map(($, W2) => W2);
881
882
  return {
882
883
  tematicalFiltersSelected: [
883
- ...h,
884
+ ...g,
884
885
  {
885
886
  type: "cat",
886
- code: A,
887
- values: F.filter(($) => $ !== S),
888
- name: i.name
887
+ code: O,
888
+ values: L.filter(($) => $ !== S),
889
+ name: o.name
889
890
  }
890
891
  ]
891
892
  };
892
893
  }
893
- }) : ie == "abs" && M.setState((V) => {
894
- let R = V.tematicalFiltersSelected.find(
895
- (F) => F.code === A
894
+ }) : a2 == "abs" && B.setState((P) => {
895
+ let R = P.tematicalFiltersSelected.find(
896
+ (L) => L.code === O
896
897
  );
897
- if (v == i.minValue && k == i.maxValue)
898
+ if (_ == o.minValue && N == o.maxValue)
898
899
  return {
899
- tematicalFiltersSelected: V.tematicalFiltersSelected.filter(
900
- (F) => F.code !== A
900
+ tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
901
+ (L) => L.code !== O
901
902
  )
902
903
  };
903
904
  if (R) {
904
- let F = { ...R };
905
- return F.min = v, F.max = k, {
906
- tematicalFiltersSelected: V.tematicalFiltersSelected.map(
907
- ($) => $.code === A ? F : $
905
+ let L = { ...R };
906
+ return L.min = _, L.max = N, {
907
+ tematicalFiltersSelected: P.tematicalFiltersSelected.map(
908
+ ($) => $.code === O ? L : $
908
909
  )
909
910
  };
910
911
  } else
911
912
  return {
912
913
  tematicalFiltersSelected: [
913
- ...h,
914
- { type: "abs", code: A, min: v, max: k }
914
+ ...g,
915
+ { type: "abs", code: O, min: _, max: N }
915
916
  ]
916
917
  };
917
918
  });
918
919
  }
919
- }, x = te(() => {
920
- const w = {};
921
- if ((h == null ? void 0 : h.length) > 0)
922
- for (const v of h)
923
- v.type === "cat" ? w[v.code] = new Set(v.values) : w[v.code] = [v.min, v.max];
924
- return w;
925
- }, [h]);
926
- return /* @__PURE__ */ s("div", { className: Q.tematicalFiltersInputContainer, children: /* @__PURE__ */ g(
927
- E,
920
+ }, w = s2(() => {
921
+ const x = {};
922
+ if ((g == null ? void 0 : g.length) > 0)
923
+ for (const _ of g)
924
+ _.type === "cat" ? x[_.code] = new Set(_.values) : x[_.code] = [_.min, _.max];
925
+ return x;
926
+ }, [g]);
927
+ return /* @__PURE__ */ i("div", { className: i2.tematicalFiltersInputContainer, children: /* @__PURE__ */ u(
928
+ K,
928
929
  {
929
930
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
930
- title: r,
931
- isOpen: C == `id${r}`,
932
- onClick: () => M.setState(() => ({
933
- selectedIndicator: C == `id${r}` ? "" : `id${r}`
931
+ title: a,
932
+ isOpen: C == `id${a}`,
933
+ onClick: () => B.setState(() => ({
934
+ selectedIndicator: C == `id${a}` ? "" : `id${a}`
934
935
  })),
935
936
  showBottomBar: !1,
936
937
  height: 38,
@@ -939,14 +940,14 @@ const rn = "_tematicalFiltersInputContainer_1vm1r_2", an = "_inputTypeContainer_
939
940
  color: f,
940
941
  activeColor: d,
941
942
  children: [
942
- t == "both" && /* @__PURE__ */ g(
943
+ t == "both" && /* @__PURE__ */ u(
943
944
  "div",
944
945
  {
945
- className: Q.inputTypeContainer,
946
+ className: i2.inputTypeContainer,
946
947
  style: { color: f },
947
948
  children: [
948
- /* @__PURE__ */ g("label", { children: [
949
- /* @__PURE__ */ s(
949
+ /* @__PURE__ */ u("label", { children: [
950
+ /* @__PURE__ */ i(
950
951
  "input",
951
952
  {
952
953
  type: "radio",
@@ -957,15 +958,15 @@ const rn = "_tematicalFiltersInputContainer_1vm1r_2", an = "_inputTypeContainer_
957
958
  },
958
959
  style: {
959
960
  marginRight: 4,
960
- backgroundColor: o == "abs" ? _ : "white",
961
- border: `1.5px solid ${o == "abs" ? _ : f}`
961
+ backgroundColor: s == "abs" ? v : "white",
962
+ border: `1.5px solid ${s == "abs" ? v : f}`
962
963
  }
963
964
  }
964
965
  ),
965
966
  "Absoluto"
966
967
  ] }),
967
- /* @__PURE__ */ g("label", { children: [
968
- /* @__PURE__ */ s(
968
+ /* @__PURE__ */ u("label", { children: [
969
+ /* @__PURE__ */ i(
969
970
  "input",
970
971
  {
971
972
  type: "radio",
@@ -976,8 +977,8 @@ const rn = "_tematicalFiltersInputContainer_1vm1r_2", an = "_inputTypeContainer_
976
977
  },
977
978
  style: {
978
979
  marginRight: 4,
979
- backgroundColor: o == "cat" ? _ : "white",
980
- border: `1.5px solid ${o == "cat" ? _ : f}`
980
+ backgroundColor: s == "cat" ? v : "white",
981
+ border: `1.5px solid ${s == "cat" ? v : f}`
981
982
  }
982
983
  }
983
984
  ),
@@ -986,34 +987,34 @@ const rn = "_tematicalFiltersInputContainer_1vm1r_2", an = "_inputTypeContainer_
986
987
  ]
987
988
  }
988
989
  ),
989
- m && /* @__PURE__ */ s("div", { className: Q.checkboxContainer, children: l.map((w, v) => {
990
- var k;
991
- return /* @__PURE__ */ s(
992
- Oe,
990
+ h && /* @__PURE__ */ i("div", { className: i2.checkboxContainer, children: l.map((x, _) => {
991
+ var N;
992
+ return /* @__PURE__ */ i(
993
+ q2,
993
994
  {
994
- onClick: () => y({ valueClicked: v, allValues: l }),
995
- indicator: w,
996
- value: ((k = x[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : k.has(v)) || !x[i.code[t == "both" ? 1 : 0]]
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]]
997
998
  },
998
- `checkbox-${v}`
999
+ `checkbox-${_}`
999
1000
  );
1000
1001
  }) }),
1001
- b && /* @__PURE__ */ s("div", { className: Q.absoluteSliderContainer, children: /* @__PURE__ */ s(
1002
- Re,
1002
+ b && /* @__PURE__ */ i("div", { className: i2.absoluteSliderContainer, children: /* @__PURE__ */ i(
1003
+ z2,
1003
1004
  {
1004
1005
  onChange: y,
1005
- min: a,
1006
+ min: r,
1006
1007
  max: c,
1007
1008
  unit: p,
1008
- value: x[i.code[0]],
1009
- step: u
1009
+ value: w[o.code[0]],
1010
+ step: m
1010
1011
  }
1011
1012
  ) })
1012
1013
  ]
1013
1014
  }
1014
1015
  ) });
1015
1016
  };
1016
- fe.propTypes = {
1017
+ k2.propTypes = {
1017
1018
  indicator: e.shape({
1018
1019
  name: e.string,
1019
1020
  type: e.string,
@@ -1028,20 +1029,20 @@ fe.propTypes = {
1028
1029
  activeColor: e.string
1029
1030
  //onChangeBothType: PropTypes.func,
1030
1031
  };
1031
- const Ie = ({
1032
- subcategory: i,
1032
+ const j2 = ({
1033
+ subcategory: o,
1033
1034
  fontColor: d,
1034
- activeColor: o
1035
+ activeColor: s
1035
1036
  //onChangeBothType,
1036
1037
  }) => {
1037
- const { activeSubcategory: n } = M((l) => l), { name: t, indicators: r } = i || {};
1038
- return /* @__PURE__ */ s(
1039
- E,
1038
+ const { activeSubcategory: n } = B((l) => l), { name: t, indicators: a } = o || {};
1039
+ return /* @__PURE__ */ i(
1040
+ K,
1040
1041
  {
1041
1042
  title: t,
1042
1043
  isOpen: n == `id${t}`,
1043
1044
  onClick: () => {
1044
- M.setState((l) => ({
1045
+ B.setState((l) => ({
1045
1046
  activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
1046
1047
  }));
1047
1048
  },
@@ -1050,20 +1051,20 @@ const Ie = ({
1050
1051
  titleMarginChildren: 20,
1051
1052
  height: 48,
1052
1053
  color: d,
1053
- activeColor: o,
1054
- children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
1055
- fe,
1054
+ activeColor: s,
1055
+ children: a == null ? void 0 : a.map((l, r) => /* @__PURE__ */ i(
1056
+ k2,
1056
1057
  {
1057
1058
  indicator: l,
1058
1059
  fontColor: d,
1059
- activeColor: o
1060
+ activeColor: s
1060
1061
  },
1061
- `indicatorSub-${a}`
1062
+ `indicatorSub-${r}`
1062
1063
  ))
1063
1064
  }
1064
1065
  );
1065
1066
  };
1066
- Ie.propTypes = {
1067
+ j2.propTypes = {
1067
1068
  subcategory: e.shape({
1068
1069
  name: e.string,
1069
1070
  indicators: e.arrayOf(
@@ -1076,38 +1077,38 @@ Ie.propTypes = {
1076
1077
  activeColor: e.string
1077
1078
  //onChangeBothType: PropTypes.func,
1078
1079
  };
1079
- const Ve = ({
1080
- category: i,
1080
+ const Z2 = ({
1081
+ category: o,
1081
1082
  // onChangeBothType,
1082
1083
  activeColor: d
1083
1084
  }) => {
1084
- const { name: o, subcategories: n, indicators: t } = i || {}, { activeCategory: r, fontColor: l } = M((a) => a);
1085
- return i && /* @__PURE__ */ s(
1086
- E,
1085
+ const { name: s, subcategories: n, indicators: t } = o || {}, { activeCategory: a, fontColor: l } = B((r) => r);
1086
+ return o && /* @__PURE__ */ i(
1087
+ K,
1087
1088
  {
1088
1089
  onClick: () => {
1089
- M.setState((a) => ({
1090
- activeCategory: r === `id${o}` ? "" : `id${o}`
1090
+ B.setState((r) => ({
1091
+ activeCategory: a === `id${s}` ? "" : `id${s}`
1091
1092
  }));
1092
1093
  },
1093
- title: o,
1094
- isOpen: r === `id${o}`,
1094
+ title: s,
1095
+ isOpen: a === `id${s}`,
1095
1096
  titleFontStyles: { fontSize: 18, fontWeight: "bold" },
1096
1097
  showBottomBar: !1,
1097
1098
  color: l,
1098
1099
  activeColor: d,
1099
- children: n ? n.map((a, c) => /* @__PURE__ */ s(
1100
- Ie,
1100
+ children: n ? n.map((r, c) => /* @__PURE__ */ i(
1101
+ j2,
1101
1102
  {
1102
- subcategory: a,
1103
+ subcategory: r,
1103
1104
  fontColor: l,
1104
1105
  activeColor: d
1105
1106
  },
1106
1107
  `subcategory-${c}`
1107
- )) : t && t.map((a, c) => /* @__PURE__ */ s(
1108
- fe,
1108
+ )) : t && t.map((r, c) => /* @__PURE__ */ i(
1109
+ k2,
1109
1110
  {
1110
- indicator: a,
1111
+ indicator: r,
1111
1112
  fontColor: l,
1112
1113
  activeColor: d
1113
1114
  },
@@ -1116,7 +1117,7 @@ const Ve = ({
1116
1117
  }
1117
1118
  );
1118
1119
  };
1119
- Ve.propTypes = {
1120
+ Z2.propTypes = {
1120
1121
  category: e.shape({
1121
1122
  name: e.string.isRequired,
1122
1123
  subcategories: e.array,
@@ -1125,40 +1126,40 @@ Ve.propTypes = {
1125
1126
  activeColor: e.string
1126
1127
  //onChangeBothType: PropTypes.func,
1127
1128
  };
1128
- const Pe = ({
1129
- indicators: i,
1129
+ const H2 = ({
1130
+ indicators: o,
1130
1131
  isOpen: d = !0,
1131
- title: o,
1132
+ title: s,
1132
1133
  fontColor: n = "#605B56",
1133
1134
  //The color of the slider and the checkbox when is checked
1134
1135
  inputsColor: t = "#605B56",
1135
- activeColor: r
1136
+ activeColor: a
1136
1137
  }) => {
1137
- const { tematicalFiltersSelected: l } = M((c) => c), { t: a } = N();
1138
- return D(() => {
1139
- n && M.setState(() => ({ fontColor: n }));
1140
- }, [n]), D(() => {
1141
- t && M.setState(() => ({ inputsColor: t }));
1142
- }, [t]), /* @__PURE__ */ s(
1143
- E,
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,
1144
1145
  {
1145
1146
  isOpen: d,
1146
- title: o ? a(o) : "Tematical filters",
1147
+ title: s ? r(s) : "Tematical filters",
1147
1148
  color: n,
1148
- activeColor: r,
1149
- children: i == null ? void 0 : i.map((c, p) => /* @__PURE__ */ s(
1150
- Ve,
1149
+ activeColor: a,
1150
+ children: o == null ? void 0 : o.map((c, p) => /* @__PURE__ */ i(
1151
+ Z2,
1151
1152
  {
1152
1153
  category: c,
1153
1154
  fontColor: n,
1154
- activeColor: r
1155
+ activeColor: a
1155
1156
  },
1156
1157
  `category-${p}`
1157
1158
  ))
1158
1159
  }
1159
1160
  );
1160
1161
  };
1161
- Pe.propTypes = {
1162
+ H2.propTypes = {
1162
1163
  isOpen: e.bool,
1163
1164
  title: e.string,
1164
1165
  indicators: e.arrayOf(e.object),
@@ -1167,87 +1168,87 @@ Pe.propTypes = {
1167
1168
  inputsColor: e.string,
1168
1169
  activeColor: e.string
1169
1170
  };
1170
- const dn = "_FiltersAmbitContainer_1g9xx_2", pn = "_FiltersAmbitHeader_1g9xx_7", un = "_FiltersAmbitTitle_1g9xx_15", mn = "_FiltersAmbitDescription_1g9xx_22", hn = "_FiltersAmbitDescriptionTitle_1g9xx_33", gn = "_warning_1g9xx_37", Z = {
1171
- FiltersAmbitContainer: dn,
1172
- FiltersAmbitHeader: pn,
1173
- FiltersAmbitTitle: un,
1174
- FiltersAmbitDescription: mn,
1175
- FiltersAmbitDescriptionTitle: hn,
1176
- warning: gn
1177
- }, Cn = ({
1178
- ambitName: i,
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,
1179
1180
  ambitDescription: d,
1180
- defaultFilters: o,
1181
+ defaultFilters: s,
1181
1182
  indicators: n,
1182
1183
  activeColor: t,
1183
- textColor: r,
1184
+ textColor: a,
1184
1185
  backgroundColor: l,
1185
- onChangeAppliedFilters: a,
1186
+ onChangeAppliedFilters: r,
1186
1187
  saveAmbit: c,
1187
1188
  namePlaceholder: p,
1188
- descPlaceholder: u,
1189
- filtersTypes: m = ["geographical", "tematical"],
1189
+ descPlaceholder: m,
1190
+ filtersTypes: h = ["geographical", "tematical"],
1190
1191
  nameRequiredText: b
1191
1192
  }) => {
1192
- const { t: h } = N(), { tematicalFiltersSelected: C } = M((S) => S), [f, _] = L(i || null), [y, x] = L(d || null), [w, v] = L(!1);
1193
- D(() => {
1194
- o && o.length > 0 && M.setState((S) => ({
1195
- tematicalFiltersSelected: o
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) => ({
1196
+ tematicalFiltersSelected: s
1196
1197
  }));
1197
- }, [o]), D(() => {
1198
- console.log("filtersSelected changed: ", C), a(C);
1198
+ }, [s]), F(() => {
1199
+ console.log("filtersSelected changed: ", C), r(C);
1199
1200
  }, [C]);
1200
- const k = () => {
1201
- f ? c({ name: f, description: y }) : v(!0);
1201
+ const N = () => {
1202
+ f ? c({ name: f, description: y }) : _(!0);
1202
1203
  };
1203
- return /* @__PURE__ */ g("div", { className: Z.FiltersAmbitContainer, children: [
1204
- /* @__PURE__ */ g("div", { className: Z.FiltersAmbitHeader, children: [
1205
- /* @__PURE__ */ s("div", { className: Z.FiltersAmbitTitle, children: /* @__PURE__ */ s(
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(
1206
1207
  "input",
1207
1208
  {
1208
1209
  type: "text",
1209
1210
  onChange: (S) => {
1210
- v(!1), _(S.target.value);
1211
+ _(!1), v(S.target.value);
1211
1212
  },
1212
1213
  value: f,
1213
- placeholder: h(p)
1214
+ placeholder: g(p)
1214
1215
  }
1215
1216
  ) }),
1216
- /* @__PURE__ */ s("div", { className: Z.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: Z.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1217
+ /* @__PURE__ */ i("div", { className: G.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: G.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
1217
1218
  "textarea",
1218
1219
  {
1219
1220
  value: y,
1220
- onChange: (S) => x(S.target.value),
1221
- placeholder: h(u)
1221
+ onChange: (S) => w(S.target.value),
1222
+ placeholder: g(m)
1222
1223
  }
1223
1224
  ) }) })
1224
1225
  ] }),
1225
- /* @__PURE__ */ s(
1226
- $e,
1226
+ /* @__PURE__ */ i(
1227
+ E2,
1227
1228
  {
1228
- title: h("applied_filters"),
1229
+ title: g("applied_filters"),
1229
1230
  isOpen: !0,
1230
- textColor: r || "#fff",
1231
+ textColor: a || "#fff",
1231
1232
  backgroundColor: l || "#605B5680",
1232
1233
  activeColor: t
1233
1234
  }
1234
1235
  ),
1235
- m.includes("geographical") && /* @__PURE__ */ s(Ae, { activeColor: t }),
1236
- m.includes("tematical") && /* @__PURE__ */ s(
1237
- Pe,
1236
+ h.includes("geographical") && /* @__PURE__ */ i(P2, { activeColor: t }),
1237
+ h.includes("tematical") && /* @__PURE__ */ i(
1238
+ H2,
1238
1239
  {
1239
1240
  indicators: n,
1240
1241
  inputsColor: t,
1241
- textColor: r,
1242
+ textColor: a,
1242
1243
  title: "tematical_filters",
1243
1244
  activeColor: t
1244
1245
  }
1245
1246
  ),
1246
- w && /* @__PURE__ */ s("div", { className: Z.warning, children: h(b) }),
1247
- /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(Le, { onClick: () => k(), children: h("save_ambit") }) })
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") }) })
1248
1249
  ] });
1249
1250
  };
1250
- Cn.propTypes = {
1251
+ wt.propTypes = {
1251
1252
  indicators: e.arrayOf(e.object).isRequired,
1252
1253
  ambitName: e.string,
1253
1254
  ambitDescription: e.string,
@@ -1262,59 +1263,59 @@ Cn.propTypes = {
1262
1263
  filtersTypes: e.arrayOf(e.string).isRequired,
1263
1264
  nameRequiredText: e.string
1264
1265
  };
1265
- const bn = "_barChartContainer_d2f1z_2", fn = {
1266
- barChartContainer: bn
1267
- }, ze = ({
1268
- data: i,
1266
+ const xt = "_barChartContainer_d2f1z_2", kt = {
1267
+ barChartContainer: xt
1268
+ }, K2 = ({
1269
+ data: o,
1269
1270
  width: d = 700,
1270
- barHeight: o = 25,
1271
+ barHeight: s = 25,
1271
1272
  gap: n = 23,
1272
1273
  fontColor: t = "#605B56",
1273
- verticalPaddign: r = 10,
1274
+ verticalPaddign: a = 10,
1274
1275
  horizontalPaddign: l = 20,
1275
- leftPadding: a = 200,
1276
+ leftPadding: r = 200,
1276
1277
  numberOfDivisions: c = 7,
1277
1278
  maxValue: p = null
1278
1279
  }) => {
1279
- const { t: u } = N(), { xScale: m, ticks: b, height: h } = te(() => {
1280
- if (i && i.length > 0) {
1281
- const C = (i == null ? void 0 : i.length) * (o + n) + r * 2, f = ve.max(i, (x) => x.value) || 1, _ = ve.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, w) => p ? p / c * w : f / c * w);
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);
1282
1283
  return {
1283
- xScale: _,
1284
+ xScale: v,
1284
1285
  ticks: y,
1285
1286
  height: C,
1286
1287
  width: d,
1287
- verticalPaddign: r,
1288
+ verticalPaddign: a,
1288
1289
  horizontalPaddign: l
1289
1290
  };
1290
1291
  } else
1291
1292
  return { xScale: null, ticks: [], height: 0 };
1292
1293
  }, [
1293
- i,
1294
+ o,
1294
1295
  d,
1295
1296
  c,
1296
- o,
1297
+ s,
1297
1298
  n,
1298
1299
  l,
1299
- r,
1300
+ a,
1300
1301
  p
1301
1302
  ]);
1302
- return /* @__PURE__ */ s("div", { className: fn.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: h, children: /* @__PURE__ */ g("g", { transform: `translate(0,${n})`, children: [
1303
- /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: b.map((C, f) => {
1304
- const _ = m(C);
1305
- return /* @__PURE__ */ g("g", { transform: `translate(${_}, 0)`, children: [
1306
- /* @__PURE__ */ s(
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(
1307
1308
  "line",
1308
1309
  {
1309
1310
  y1: 0,
1310
- y2: h - n * 2,
1311
+ y2: g - n * 2,
1311
1312
  stroke: "#ccc"
1312
1313
  }
1313
1314
  ),
1314
- /* @__PURE__ */ s(
1315
+ /* @__PURE__ */ i(
1315
1316
  "text",
1316
1317
  {
1317
- y: h - n,
1318
+ y: g - n,
1318
1319
  textAnchor: "middle",
1319
1320
  fontSize: 10,
1320
1321
  fill: t,
@@ -1323,28 +1324,28 @@ const bn = "_barChartContainer_d2f1z_2", fn = {
1323
1324
  )
1324
1325
  ] }, f);
1325
1326
  }) }),
1326
- i && i.length > 0 && (i == null ? void 0 : i.map((C, f) => {
1327
- const _ = m(C.value), y = f * (o + n);
1328
- return /* @__PURE__ */ g(
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(
1329
1330
  "g",
1330
1331
  {
1331
- transform: `translate(${a + l}, ${y})`,
1332
+ transform: `translate(${r + l}, ${y})`,
1332
1333
  children: [
1333
- /* @__PURE__ */ s(
1334
+ /* @__PURE__ */ i(
1334
1335
  "text",
1335
1336
  {
1336
1337
  x: -24,
1337
- y: o / 2 + 5,
1338
+ y: s / 2 + 5,
1338
1339
  textAnchor: "end",
1339
1340
  fill: t,
1340
- children: u(C.title)
1341
+ children: m(C.title)
1341
1342
  }
1342
1343
  ),
1343
- /* @__PURE__ */ s(
1344
+ /* @__PURE__ */ i(
1344
1345
  "rect",
1345
1346
  {
1346
- width: _,
1347
- height: o,
1347
+ width: v,
1348
+ height: s,
1348
1349
  fill: C.color,
1349
1350
  rx: 0
1350
1351
  }
@@ -1356,7 +1357,7 @@ const bn = "_barChartContainer_d2f1z_2", fn = {
1356
1357
  }))
1357
1358
  ] }) }) });
1358
1359
  };
1359
- ze.propTypes = {
1360
+ K2.propTypes = {
1360
1361
  data: e.arrayOf(
1361
1362
  e.shape({
1362
1363
  title: e.string,
@@ -1372,39 +1373,39 @@ ze.propTypes = {
1372
1373
  numberOfDivisions: e.number,
1373
1374
  fontColor: e.string
1374
1375
  };
1375
- const yn = "_graphicContainer_c9zrg_2", vn = "_titleContainer_c9zrg_14", we = {
1376
- graphicContainer: yn,
1377
- titleContainer: vn
1378
- }, _n = ({
1379
- data: i,
1376
+ const Nt = "_graphicContainer_c9zrg_2", St = "_titleContainer_c9zrg_14", B2 = {
1377
+ graphicContainer: Nt,
1378
+ titleContainer: St
1379
+ }, Mt = ({
1380
+ data: o,
1380
1381
  graphWidth: d = 700,
1381
- containerStyle: o,
1382
+ containerStyle: s,
1382
1383
  borderColor: n = "#605B56",
1383
1384
  title: t = "Graphic Title",
1384
- fontColor: r = "#605B56",
1385
+ fontColor: a = "#605B56",
1385
1386
  maxValue: l = null,
1386
- numberOfDivisions: a = 7,
1387
+ numberOfDivisions: r = 7,
1387
1388
  leftPadding: c = 200
1388
1389
  }) => {
1389
- const { t: p } = N();
1390
- return /* @__PURE__ */ g(
1390
+ const { t: p } = k();
1391
+ return /* @__PURE__ */ u(
1391
1392
  "div",
1392
1393
  {
1393
- className: we.graphicContainer,
1394
+ className: B2.graphicContainer,
1394
1395
  style: {
1395
- ...o || {},
1396
+ ...s || {},
1396
1397
  border: `1.5px solid ${n}`
1397
1398
  },
1398
1399
  children: [
1399
- /* @__PURE__ */ s("div", { className: we.titleContainer, children: /* @__PURE__ */ s("h2", { children: p(t) }) }),
1400
- /* @__PURE__ */ s(
1401
- ze,
1400
+ /* @__PURE__ */ i("div", { className: B2.titleContainer, children: /* @__PURE__ */ i("h2", { children: p(t) }) }),
1401
+ /* @__PURE__ */ i(
1402
+ K2,
1402
1403
  {
1403
- data: i,
1404
+ data: o,
1404
1405
  width: d,
1405
- fontColor: r,
1406
+ fontColor: a,
1406
1407
  maxValue: l,
1407
- numberOfDivisions: a,
1408
+ numberOfDivisions: r,
1408
1409
  leftPadding: c
1409
1410
  }
1410
1411
  )
@@ -1412,7 +1413,7 @@ const yn = "_graphicContainer_c9zrg_2", vn = "_titleContainer_c9zrg_14", we = {
1412
1413
  }
1413
1414
  );
1414
1415
  };
1415
- _n.propTypes = {
1416
+ Mt.propTypes = {
1416
1417
  data: e.arrayOf(
1417
1418
  e.shape({
1418
1419
  color: e.string.isRequired,
@@ -1429,63 +1430,63 @@ _n.propTypes = {
1429
1430
  numberOfDivisions: e.number,
1430
1431
  leftPadding: e.number
1431
1432
  };
1432
- const xn = "_indicatorsCategory_1cu33_2", wn = "_title_1cu33_5", kn = "_list_1cu33_11", le = {
1433
- indicatorsCategory: xn,
1434
- title: wn,
1435
- list: kn
1436
- }, Nn = "_indicatorContainer_lw8gx_2", Sn = "_indicatorNameContainer_lw8gx_11", Tn = "_dot_lw8gx_20", Mn = "_indicatorName_lw8gx_11", Fn = "_switchExternalContainer_lw8gx_31", Bn = "_switchType_lw8gx_40", Ln = "_switchTypeOptions_lw8gx_44", Dn = "_optionContainer_lw8gx_55", $n = "_customRadious_lw8gx_65", An = "_optionText_lw8gx_72", T = {
1437
- indicatorContainer: Nn,
1438
- indicatorNameContainer: Sn,
1439
- dot: Tn,
1440
- indicatorName: Mn,
1441
- switchExternalContainer: Fn,
1442
- switchType: Bn,
1443
- switchTypeOptions: Ln,
1444
- optionContainer: Dn,
1445
- customRadious: $n,
1446
- optionText: An
1447
- }, ye = ({
1448
- indicator: i,
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,
1449
1450
  values: d = [],
1450
- activeColor: o,
1451
+ activeColor: s,
1451
1452
  defaultColor: n = "#92898A",
1452
1453
  activeIndicator: t,
1453
- activeIndicatorType: r,
1454
+ activeIndicatorType: a,
1454
1455
  onClickIndicator: l,
1455
- multiple: a = !1,
1456
+ multiple: r = !1,
1456
1457
  onChangeType: c
1457
1458
  }) => {
1458
- const { t: p } = N(), { name: u, type: m } = i, [b, h] = L(!1);
1459
- D(() => {
1460
- t && h(
1461
- a ? t.some(
1462
- (_) => _.name == String(u)
1463
- ) : t.name == u
1459
+ const { t: p } = k(), { name: m, type: h } = o, [b, g] = D(!1);
1460
+ F(() => {
1461
+ t && g(
1462
+ r ? t.some(
1463
+ (v) => v.name == String(m)
1464
+ ) : t.name == m
1464
1465
  );
1465
1466
  }, [t]);
1466
- const C = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ g("div", { className: T.switchTypeOptions, children: [
1467
- /* @__PURE__ */ g(
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(
1468
1469
  "div",
1469
1470
  {
1470
- className: T.optionContainer,
1471
+ className: M.optionContainer,
1471
1472
  onClick: () => c("cat"),
1472
1473
  children: [
1473
- /* @__PURE__ */ s(
1474
+ /* @__PURE__ */ i(
1474
1475
  "span",
1475
1476
  {
1476
- className: `${T.customRadious}`,
1477
+ className: `${M.customRadious}`,
1477
1478
  style: {
1478
- backgroundColor: r === "cat" ? o : "transparent",
1479
- borderColor: r === "cat" ? o : n
1479
+ backgroundColor: a === "cat" ? s : "transparent",
1480
+ borderColor: a === "cat" ? s : n
1480
1481
  }
1481
1482
  }
1482
1483
  ),
1483
- /* @__PURE__ */ s(
1484
+ /* @__PURE__ */ i(
1484
1485
  "h4",
1485
1486
  {
1486
- className: T.optionText,
1487
+ className: M.optionText,
1487
1488
  style: {
1488
- color: r === "cat" ? o : n
1489
+ color: a === "cat" ? s : n
1489
1490
  },
1490
1491
  children: p("indicators.cat")
1491
1492
  }
@@ -1493,28 +1494,28 @@ const xn = "_indicatorsCategory_1cu33_2", wn = "_title_1cu33_5", kn = "_list_1cu
1493
1494
  ]
1494
1495
  }
1495
1496
  ),
1496
- /* @__PURE__ */ g(
1497
+ /* @__PURE__ */ u(
1497
1498
  "div",
1498
1499
  {
1499
- className: T.optionContainer,
1500
+ className: M.optionContainer,
1500
1501
  onClick: () => c("abs"),
1501
1502
  children: [
1502
- /* @__PURE__ */ s(
1503
+ /* @__PURE__ */ i(
1503
1504
  "span",
1504
1505
  {
1505
- className: `${T.customRadious}`,
1506
+ className: `${M.customRadious}`,
1506
1507
  style: {
1507
- backgroundColor: r === "abs" ? o : "transparent",
1508
- borderColor: r === "abs" ? o : n
1508
+ backgroundColor: a === "abs" ? s : "transparent",
1509
+ borderColor: a === "abs" ? s : n
1509
1510
  }
1510
1511
  }
1511
1512
  ),
1512
- /* @__PURE__ */ s(
1513
+ /* @__PURE__ */ i(
1513
1514
  "h4",
1514
1515
  {
1515
- className: T.optionText,
1516
+ className: M.optionText,
1516
1517
  style: {
1517
- color: r === "abs" ? o : n
1518
+ color: a === "abs" ? s : n
1518
1519
  },
1519
1520
  children: p("indicators.abs")
1520
1521
  }
@@ -1522,54 +1523,54 @@ const xn = "_indicatorsCategory_1cu33_2", wn = "_title_1cu33_5", kn = "_list_1cu
1522
1523
  ]
1523
1524
  }
1524
1525
  )
1525
- ] }) }) }), f = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ s("div", { className: T.switchTypeOptions, children: d.map((_, y) => /* @__PURE__ */ g(
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
1527
  "div",
1527
1528
  {
1528
- className: T.optionContainer,
1529
+ className: M.optionContainer,
1529
1530
  children: [
1530
- /* @__PURE__ */ s(
1531
+ /* @__PURE__ */ i(
1531
1532
  "span",
1532
1533
  {
1533
- className: T.customRadious
1534
+ className: M.customRadious
1534
1535
  }
1535
1536
  ),
1536
- /* @__PURE__ */ s("h4", { children: p(_.unit) })
1537
+ /* @__PURE__ */ i("h4", { children: p(v.unit) })
1537
1538
  ]
1538
1539
  },
1539
1540
  y
1540
1541
  )) }) }) });
1541
- return /* @__PURE__ */ g("div", { className: T.indicatorContainer, children: [
1542
- /* @__PURE__ */ g(
1542
+ return /* @__PURE__ */ u("div", { className: M.indicatorContainer, children: [
1543
+ /* @__PURE__ */ u(
1543
1544
  "div",
1544
1545
  {
1545
- className: T.indicatorNameContainer,
1546
- onClick: () => l({ indicator: i }),
1546
+ className: M.indicatorNameContainer,
1547
+ onClick: () => l({ indicator: o }),
1547
1548
  children: [
1548
- /* @__PURE__ */ s(
1549
+ /* @__PURE__ */ i(
1549
1550
  "div",
1550
1551
  {
1551
1552
  style: {
1552
- border: b ? `1px solid ${o}` : `1px solid ${n}`
1553
+ border: b ? `1px solid ${s}` : `1px solid ${n}`
1553
1554
  },
1554
- className: T.dot
1555
+ className: M.dot
1555
1556
  }
1556
1557
  ),
1557
- /* @__PURE__ */ s(
1558
+ /* @__PURE__ */ i(
1558
1559
  "h4",
1559
1560
  {
1560
- className: T.indicatorName,
1561
- style: { color: b ? o : n },
1562
- children: /* @__PURE__ */ s(Ce, { i18nKey: u, components: { sup: /* @__PURE__ */ s("sup", {}) } })
1561
+ className: M.indicatorName,
1562
+ style: { color: b ? s : n },
1563
+ children: /* @__PURE__ */ i(_2, { i18nKey: m, components: { sup: /* @__PURE__ */ i("sup", {}) } })
1563
1564
  }
1564
1565
  )
1565
1566
  ]
1566
1567
  }
1567
1568
  ),
1568
- (t == null ? void 0 : t.name) === u && m === "both" && /* @__PURE__ */ s("div", { children: C() }),
1569
- (t == null ? void 0 : t.name) === u && m === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
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() })
1570
1571
  ] });
1571
1572
  };
1572
- ye.propTypes = {
1573
+ N2.propTypes = {
1573
1574
  indicator: e.shape({
1574
1575
  name: e.string,
1575
1576
  type: e.string
@@ -1581,63 +1582,63 @@ ye.propTypes = {
1581
1582
  multiple: e.bool,
1582
1583
  onClickIndicator: e.func
1583
1584
  };
1584
- const On = "_indicatorsSubCategory_1dzsi_2", Rn = "_list_1dzsi_8", ke = {
1585
- indicatorsSubCategory: On,
1586
- list: Rn
1587
- }, je = ({
1588
- subcName: i,
1585
+ const qt = "_indicatorsSubCategory_1dzsi_2", zt = "_list_1dzsi_8", L2 = {
1586
+ indicatorsSubCategory: qt,
1587
+ list: zt
1588
+ }, U2 = ({
1589
+ subcName: o,
1589
1590
  indicators: d,
1590
- defaultColor: o,
1591
+ defaultColor: s,
1591
1592
  activeColor: n,
1592
1593
  activeSubCategory: t,
1593
- onClickSubCategory: r,
1594
+ onClickSubCategory: a,
1594
1595
  id: l,
1595
- activeIndicator: a,
1596
+ activeIndicator: r,
1596
1597
  onClickIndicator: c,
1597
1598
  multiple: p,
1598
- activeIndicatorType: u,
1599
- onChangeType: m
1599
+ activeIndicatorType: m,
1600
+ onChangeType: h
1600
1601
  }) => {
1601
- const { t: b } = N(), [h, C] = L(!1);
1602
- return D(() => {
1602
+ const { t: b } = k(), [g, C] = D(!1);
1603
+ return F(() => {
1603
1604
  C(t == l);
1604
- }, [t, l]), /* @__PURE__ */ g(
1605
- be.div,
1605
+ }, [t, l]), /* @__PURE__ */ u(
1606
+ w2.div,
1606
1607
  {
1607
- className: ke.indicatorsSubCategory,
1608
+ className: L2.indicatorsSubCategory,
1608
1609
  initial: { height: "43px" },
1609
- animate: { height: h ? "auto" : "43px" },
1610
+ animate: { height: g ? "auto" : "43px" },
1610
1611
  transition: { duration: 0.4 },
1611
1612
  children: [
1612
- /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ g("h3", { style: { color: h ? n : o }, children: [
1613
- /* @__PURE__ */ s("span", { style: { color: h ? n : o }, children: h ? "-" : "+" }),
1614
- /* @__PURE__ */ s(
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(
1615
1616
  "span",
1616
1617
  {
1617
- style: { marginLeft: 12, color: h ? n : o },
1618
- children: b(i)
1618
+ style: { marginLeft: 12, color: g ? n : s },
1619
+ children: b(o)
1619
1620
  }
1620
1621
  )
1621
1622
  ] }) }),
1622
- d && /* @__PURE__ */ s("div", { className: ke.list, children: d == null ? void 0 : d.map((f, _) => /* @__PURE__ */ s(
1623
- ye,
1623
+ d && /* @__PURE__ */ i("div", { className: L2.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ i(
1624
+ N2,
1624
1625
  {
1625
1626
  indicator: f,
1626
- defaultColor: o,
1627
+ defaultColor: s,
1627
1628
  activeColor: n,
1628
- activeIndicator: a,
1629
+ activeIndicator: r,
1629
1630
  onClickIndicator: c,
1630
1631
  multiple: p,
1631
- activeIndicatorType: u,
1632
- onChangeType: m
1632
+ activeIndicatorType: m,
1633
+ onChangeType: h
1633
1634
  },
1634
- "indicator" + _
1635
+ "indicator" + v
1635
1636
  )) })
1636
1637
  ]
1637
1638
  }
1638
1639
  );
1639
1640
  };
1640
- je.propTypes = {
1641
+ U2.propTypes = {
1641
1642
  subcName: e.string,
1642
1643
  indicators: e.array,
1643
1644
  activeColor: e.string,
@@ -1649,87 +1650,87 @@ je.propTypes = {
1649
1650
  onClickSubCategory: e.func,
1650
1651
  onClickIndicator: e.func
1651
1652
  };
1652
- const qe = ({
1653
- cat: i,
1653
+ const G2 = ({
1654
+ cat: o,
1654
1655
  id: d,
1655
- activeColor: o,
1656
+ activeColor: s,
1656
1657
  defaultColor: n,
1657
1658
  onClickCategory: t,
1658
- activeCategory: r,
1659
+ activeCategory: a,
1659
1660
  activeSubCategory: l,
1660
- onClickSubCategory: a,
1661
+ onClickSubCategory: r,
1661
1662
  activeIndicator: c,
1662
1663
  onClickIndicator: p,
1663
- multiple: u,
1664
- activeIndicatorType: m,
1664
+ multiple: m,
1665
+ activeIndicatorType: h,
1665
1666
  onChangeType: b
1666
1667
  }) => {
1667
- var _;
1668
- const { t: h } = N(), [C, f] = L(!1);
1669
- return D(() => {
1670
- f(r === d);
1671
- }, [r, d]), /* @__PURE__ */ g(
1672
- be.div,
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,
1673
1674
  {
1674
- className: le.indicatorsCategory,
1675
+ className: m2.indicatorsCategory,
1675
1676
  initial: { height: "53px" },
1676
1677
  animate: { height: C ? "auto" : "53px" },
1677
1678
  transition: { duration: 0.4 },
1678
1679
  style: {
1679
1680
  backgroundColor: "white",
1680
- borderBottom: C ? `1px solid ${o}` : "0px",
1681
+ borderBottom: C ? `1px solid ${s}` : "0px",
1681
1682
  marginBottom: C ? "20px" : "0px"
1682
1683
  },
1683
1684
  children: [
1684
- /* @__PURE__ */ g("h2", { className: `${le.title}`, onClick: () => t(d), children: [
1685
- /* @__PURE__ */ s("span", { style: { color: C ? o : n }, children: C ? "-" : "+" }),
1686
- /* @__PURE__ */ s(
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(
1687
1688
  "span",
1688
1689
  {
1689
- style: { marginLeft: 12, color: C ? o : n },
1690
- children: h(i.name)
1690
+ style: { marginLeft: 12, color: C ? s : n },
1691
+ children: g(o.name)
1691
1692
  }
1692
1693
  )
1693
1694
  ] }),
1694
- i.subcategories ? i.subcategories.map(
1695
- ({ name: y, subcategory: x, indicators: w }, v) => /* @__PURE__ */ s(
1696
- je,
1695
+ o.subcategories ? o.subcategories.map(
1696
+ ({ name: y, subcategory: w, indicators: x }, _) => /* @__PURE__ */ i(
1697
+ U2,
1697
1698
  {
1698
- id: x,
1699
+ id: w,
1699
1700
  activeSubCategory: l,
1700
1701
  subcName: y,
1701
- onClickSubCategory: a,
1702
+ onClickSubCategory: r,
1702
1703
  activeIndicator: c,
1703
1704
  onClickIndicator: p,
1704
- multiple: u,
1705
- activeColor: o,
1705
+ multiple: m,
1706
+ activeColor: s,
1706
1707
  defaultColor: n,
1707
- indicators: w,
1708
- activeIndicatorType: m,
1708
+ indicators: x,
1709
+ activeIndicatorType: h,
1709
1710
  onChangeType: b
1710
1711
  },
1711
- `subcKey ${v}`
1712
+ `subcKey ${_}`
1712
1713
  )
1713
- ) : /* @__PURE__ */ s("div", { className: le.list, children: (_ = i.indicators) == null ? void 0 : _.map((y, x) => /* @__PURE__ */ s(
1714
- ye,
1714
+ ) : /* @__PURE__ */ i("div", { className: m2.list, children: (v = o.indicators) == null ? void 0 : v.map((y, w) => /* @__PURE__ */ i(
1715
+ N2,
1715
1716
  {
1716
1717
  indicator: y,
1717
1718
  values: y.type == "twoUnits" && y.values,
1718
- activeColor: o,
1719
+ activeColor: s,
1719
1720
  defaultColor: n,
1720
1721
  activeIndicator: c,
1721
1722
  onClickIndicator: p,
1722
- multiple: u,
1723
- activeIndicatorType: m,
1723
+ multiple: m,
1724
+ activeIndicatorType: h,
1724
1725
  onChangeType: b
1725
1726
  },
1726
- `indicator${x}`
1727
+ `indicator${w}`
1727
1728
  )) })
1728
1729
  ]
1729
1730
  }
1730
1731
  );
1731
1732
  };
1732
- qe.propTypes = {
1733
+ G2.propTypes = {
1733
1734
  cat: e.object,
1734
1735
  id: e.string,
1735
1736
  onChange: e.func,
@@ -1743,93 +1744,93 @@ qe.propTypes = {
1743
1744
  activeColor: e.string,
1744
1745
  defaultColor: e.string
1745
1746
  };
1746
- const In = "_indicatorsList_fklyu_2", Vn = "_title_fklyu_6", Ne = {
1747
- indicatorsList: In,
1748
- title: Vn
1749
- }, Pn = ({
1750
- indicators: i,
1747
+ const jt = "_indicatorsList_fklyu_2", Zt = "_title_fklyu_6", T2 = {
1748
+ indicatorsList: jt,
1749
+ title: Zt
1750
+ }, Ht = ({
1751
+ indicators: o,
1751
1752
  activeColor: d,
1752
- defaultColor: o = "#92898A",
1753
+ defaultColor: s = "#92898A",
1753
1754
  // Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
1754
1755
  onChange: n,
1755
1756
  // Selección multiple
1756
1757
  multiple: t = !1,
1757
1758
  // Si multiple es true, debe ser un array de strings, sino un string
1758
- defaultValue: r = null,
1759
+ defaultValue: a = null,
1759
1760
  //si el indicador es tipo "both" cuando se cambia el tipo
1760
1761
  changeIndType: l,
1761
- activeIndicatorType: a
1762
+ activeIndicatorType: r
1762
1763
  }) => {
1763
- const { t: c } = N(), [p, u] = L(), [m, b] = L(), [h, C] = L(), f = (v) => {
1764
- u(p == v ? null : v);
1765
- }, _ = (v) => {
1766
- b(m == v ? null : v);
1767
- }, y = ({ indicator: v }) => {
1768
- console.log("onClickIndicator: ", v), x(v);
1769
- }, x = (v) => {
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 = (_) => {
1770
1771
  if (!t)
1771
1772
  C(
1772
- (h == null ? void 0 : h.name) == v.name ? null : v
1773
+ (g == null ? void 0 : g.name) == _.name ? null : _
1773
1774
  );
1774
1775
  else {
1775
- let k = h && h.length > 0 ? [...h] : [];
1776
+ let N = g && g.length > 0 ? [...g] : [];
1776
1777
  C(
1777
- k != null && k.some(
1778
- (S) => S.name == v.name
1779
- ) ? k.filter(
1780
- (S) => S.name != String(v.name)
1781
- ) : [...k, v]
1782
- ), v.type == "both" && l("cat");
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");
1783
1784
  }
1784
1785
  };
1785
- D(() => {
1786
- console.log("activeindicator changed to: ", h), n && typeof n == "function" && h && n({ activeIndicator: h });
1787
- }, [h]), Ze(() => {
1788
- if (r && !h)
1789
- if (t && r && Array.isArray(r)) {
1790
- let v = h && h.length > 0 ? [...h] : [];
1791
- C([...v, ...r]), w(r[0].name);
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)) {
1791
+ let _ = g && g.length > 0 ? [...g] : [];
1792
+ C([..._, ...a]), x(a[0].name);
1792
1793
  } else
1793
- x(r), w(r.name);
1794
+ w(a), x(a.name);
1794
1795
  }, []);
1795
- const w = (v) => {
1796
- const k = i.find((S) => {
1796
+ const x = (_) => {
1797
+ const N = o.find((S) => {
1797
1798
  if (S.subcategories) {
1798
- let O = S.subcategories.find(
1799
- (G) => G.indicators.find((ne) => ne.name == v)
1799
+ let I = S.subcategories.find(
1800
+ (X) => X.indicators.find((r2) => r2.name == _)
1800
1801
  );
1801
- if (O)
1802
- return b(O.subcategory), O;
1802
+ if (I)
1803
+ return b(I.subcategory), I;
1803
1804
  } else
1804
- return S.indicators.some((O) => O.name == v);
1805
+ return S.indicators.some((I) => I.name == _);
1805
1806
  });
1806
- k && u(k.category);
1807
+ N && m(N.category);
1807
1808
  };
1808
- return /* @__PURE__ */ g("div", { className: Ne.indicatorsList, children: [
1809
- /* @__PURE__ */ s("h2", { className: Ne.title, style: { color: o }, children: c("indicators.indicators") }),
1810
- i.map((v, k) => /* @__PURE__ */ s(
1811
- qe,
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,
1812
1813
  {
1813
- id: v.category,
1814
- cat: v,
1814
+ id: _.category,
1815
+ cat: _,
1815
1816
  onClickCategory: f,
1816
1817
  activeCategory: p,
1817
- onClickSubCategory: _,
1818
- activeSubCategory: m,
1818
+ onClickSubCategory: v,
1819
+ activeSubCategory: h,
1819
1820
  onClickIndicator: y,
1820
- activeIndicator: h,
1821
+ activeIndicator: g,
1821
1822
  activeColor: d,
1822
- defaultColor: o,
1823
+ defaultColor: s,
1823
1824
  multiple: t,
1824
1825
  onChange: n,
1825
1826
  onChangeType: l,
1826
- activeIndicatorType: a
1827
+ activeIndicatorType: r
1827
1828
  },
1828
- `categoryKey${k}`
1829
+ `categoryKey${N}`
1829
1830
  ))
1830
1831
  ] });
1831
1832
  };
1832
- Pn.propTypes = {
1833
+ Ht.propTypes = {
1833
1834
  indicators: e.arrayOf(e.object),
1834
1835
  activeColor: e.string,
1835
1836
  defaultColor: e.string,
@@ -1840,43 +1841,43 @@ Pn.propTypes = {
1840
1841
  defaultValue: e.oneOfType([e.object, e.array]),
1841
1842
  activeIndicatorType: e.string
1842
1843
  };
1843
- const zn = "_langSelector_o9enq_2", jn = "_currentLang_o9enq_14", qn = "_arrow_o9enq_26", En = "_prevImg_o9enq_29", Kn = "_langMenu_o9enq_33", U = {
1844
- langSelector: zn,
1845
- currentLang: jn,
1846
- arrow: qn,
1847
- prevImg: En,
1848
- langMenu: Kn
1849
- }, Zn = ({ langs: i, arrow: d, imgPrev: o }) => {
1850
- const [n, t] = L(!1), { i18n: r } = N(), l = i.find((c) => c.code == r.language), a = (c) => {
1851
- r.changeLanguage(c), t(!1);
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);
1852
1853
  };
1853
- return /* @__PURE__ */ g("div", { className: U.langSelector, children: [
1854
- /* @__PURE__ */ g(
1854
+ return /* @__PURE__ */ u("div", { className: Y.langSelector, children: [
1855
+ /* @__PURE__ */ u(
1855
1856
  "div",
1856
1857
  {
1857
- className: U.currentLang,
1858
+ className: Y.currentLang,
1858
1859
  onClick: () => {
1859
1860
  t(!n);
1860
1861
  },
1861
1862
  children: [
1862
- o && /* @__PURE__ */ s("img", { className: U.prevImg, src: o }),
1863
+ s && /* @__PURE__ */ i("img", { className: Y.prevImg, src: s }),
1863
1864
  (l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
1864
- /* @__PURE__ */ s("img", { src: d, className: U.arrow })
1865
+ /* @__PURE__ */ i("img", { src: d, className: Y.arrow })
1865
1866
  ]
1866
1867
  }
1867
1868
  ),
1868
- n && /* @__PURE__ */ s("div", { className: U.langMenu, children: i.map((c) => /* @__PURE__ */ s(
1869
+ n && /* @__PURE__ */ i("div", { className: Y.langMenu, children: o.map((c) => /* @__PURE__ */ i(
1869
1870
  "button",
1870
1871
  {
1871
- className: (l == null ? void 0 : l.code) == c.code ? U.active : "",
1872
- onClick: () => a(c.code),
1872
+ className: (l == null ? void 0 : l.code) == c.code ? Y.active : "",
1873
+ onClick: () => r(c.code),
1873
1874
  children: c.title
1874
1875
  },
1875
1876
  c.code
1876
1877
  )) })
1877
1878
  ] });
1878
1879
  };
1879
- Zn.propTypes = {
1880
+ Xt.propTypes = {
1880
1881
  langs: e.arrayOf(
1881
1882
  e.shape({
1882
1883
  code: e.string,
@@ -1890,27 +1891,27 @@ Zn.propTypes = {
1890
1891
  arrow: e.object,
1891
1892
  imgPrev: e.object
1892
1893
  };
1893
- const Un = "_legendContainer_atg3j_3", Hn = "_closeButton_atg3j_18", Gn = "_titleContainer_atg3j_46", Yn = "_infoContainer_atg3j_52", Wn = "_titleLegendList_atg3j_63", Xn = "_legendListContainer_atg3j_70", Jn = "_gridContainer_atg3j_70", Qn = "_elementLegendContainer_atg3j_76", ei = "_colorDot_atg3j_82", ti = "_absoluteValueContainer_atg3j_88", ni = "_absoluteValueColor_atg3j_91", ii = "_absoluteValueText_atg3j_96", si = "_moreInfoContainer_atg3j_108", B = {
1894
- legendContainer: Un,
1895
- closeButton: Hn,
1896
- titleContainer: Gn,
1897
- infoContainer: Yn,
1898
- titleLegendList: Wn,
1899
- legendListContainer: Xn,
1900
- gridContainer: Jn,
1901
- elementLegendContainer: Qn,
1902
- colorDot: ei,
1903
- absoluteValueContainer: ti,
1904
- absoluteValueColor: ni,
1905
- absoluteValueText: ii,
1906
- moreInfoContainer: si
1907
- }, oi = ({
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 = ({
1908
1909
  //JSON with the styles of the container (optional)
1909
- containerStyles: i,
1910
+ containerStyles: o,
1910
1911
  //Title on top of the legend
1911
1912
  title: d,
1912
1913
  //Array to display the info behind the title should have: [{title, value}, ...]
1913
- infoList: o,
1914
+ infoList: s,
1914
1915
  //Array to display the items of the legend: [{title, color}, ...]
1915
1916
  //color should be a string with hexadecimal value
1916
1917
  legendList: n,
@@ -1919,74 +1920,74 @@ const Un = "_legendContainer_atg3j_3", Hn = "_closeButton_atg3j_18", Gn = "_titl
1919
1920
  //Should be an object with {maxColor, minColor, maxValue, minValue}
1920
1921
  //If this has is not null or undefined, the legendList values wont be displayed.
1921
1922
  //It will display only the absolute value indicator.
1922
- absoluteValue: r,
1923
+ absoluteValue: a,
1923
1924
  //Function to be called when the button is clicked (optional).
1924
1925
  //If this is null or undefined the button wont be displayed.
1925
1926
  onClickMoreInfo: l,
1926
1927
  //If not passed it will read t("moreInformation")
1927
- buttonTitle: a,
1928
+ buttonTitle: r,
1928
1929
  onClickClose: c
1929
1930
  }) => {
1930
- const { t: p } = N();
1931
- return /* @__PURE__ */ g(
1931
+ const { t: p } = k();
1932
+ return /* @__PURE__ */ u(
1932
1933
  "div",
1933
1934
  {
1934
- style: i ? { ...i } : {},
1935
- className: `${B.legendContainer}`,
1935
+ style: o ? { ...o } : {},
1936
+ className: `${T.legendContainer}`,
1936
1937
  children: [
1937
- /* @__PURE__ */ s("button", { className: B.closeButton, onClick: c }),
1938
- d && /* @__PURE__ */ s("div", { className: B.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
1939
- o && o.length > 0 && /* @__PURE__ */ s("div", { className: B.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: u, value: m }) => /* @__PURE__ */ g("li", { children: [
1940
- /* @__PURE__ */ s("h3", { className: B.title, children: `${u}:` }),
1941
- /* @__PURE__ */ g("span", { className: B.value, 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: [
1942
1943
  "  ",
1943
- m
1944
+ h
1944
1945
  ] })
1945
1946
  ] }, d)) }) }),
1946
- /* @__PURE__ */ s("h3", { className: B.titleLegendList, children: t ? /* @__PURE__ */ s(Ce, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : p("mainUse") }),
1947
- /* @__PURE__ */ s("div", { className: B.legendListContainer, children: r ? /* @__PURE__ */ g("div", { className: B.absoluteValueContainer, children: [
1948
- /* @__PURE__ */ s(
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(
1949
1950
  "div",
1950
1951
  {
1951
- className: B.absoluteValueColor,
1952
+ className: T.absoluteValueColor,
1952
1953
  style: {
1953
- background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`
1954
+ background: `linear-gradient(to bottom, ${a.maxColor} 0%, ${a.minColor} 100%)`
1954
1955
  }
1955
1956
  }
1956
1957
  ),
1957
- /* @__PURE__ */ g("div", { className: B.absoluteValueText, children: [
1958
- /* @__PURE__ */ g("span", { children: [
1959
- r.maxValue,
1958
+ /* @__PURE__ */ u("div", { className: T.absoluteValueText, children: [
1959
+ /* @__PURE__ */ u("span", { children: [
1960
+ a.maxValue,
1960
1961
  " ",
1961
- p(r.unit)
1962
+ p(a.unit)
1962
1963
  ] }),
1963
- /* @__PURE__ */ g("span", { children: [
1964
- r.minValue,
1964
+ /* @__PURE__ */ u("span", { children: [
1965
+ a.minValue,
1965
1966
  " ",
1966
- p(r.unit)
1967
+ p(a.unit)
1967
1968
  ] })
1968
1969
  ] })
1969
- ] }) : n && n.length > 0 && /* @__PURE__ */ s("div", { className: B.gridContainer, children: n.map(
1970
- ({ title: u, color: m }) => /* @__PURE__ */ g("div", { className: B.elementLegendContainer, children: [
1971
- /* @__PURE__ */ s(
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(
1972
1973
  "div",
1973
1974
  {
1974
- className: B.colorDot,
1975
- style: { backgroundColor: m }
1975
+ className: T.colorDot,
1976
+ style: { backgroundColor: h }
1976
1977
  }
1977
1978
  ),
1978
- /* @__PURE__ */ g("div", { className: B.titleLegendElement, children: [
1979
- p(u),
1979
+ /* @__PURE__ */ u("div", { className: T.titleLegendElement, children: [
1980
+ p(m),
1980
1981
  " "
1981
1982
  ] })
1982
1983
  ] }, d)
1983
1984
  ) }) }),
1984
- l && /* @__PURE__ */ s("button", { className: B.moreInfoContainer, onClick: l, children: a || p("moreInformation") })
1985
+ l && /* @__PURE__ */ i("button", { className: T.moreInfoContainer, onClick: l, children: r || p("moreInformation") })
1985
1986
  ]
1986
1987
  }
1987
1988
  );
1988
1989
  };
1989
- oi.propTypes = {
1990
+ p0.propTypes = {
1990
1991
  title: e.string,
1991
1992
  containerStyles: e.object,
1992
1993
  infoList: e.arrayOf(
@@ -2012,80 +2013,80 @@ oi.propTypes = {
2012
2013
  buttonTitle: e.string,
2013
2014
  onClickClose: e.func
2014
2015
  };
2015
- const ri = "_logo_1ewa6_2", Se = {
2016
- logo: ri
2017
- }, ai = ({ src: i, alt: d, href: o }) => {
2018
- const { t: n } = N(), t = /* @__PURE__ */ s("img", { src: i, alt: n(d) });
2019
- return o ? /* @__PURE__ */ s("div", { className: Se.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: Se.logo, children: t });
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 });
2020
2021
  };
2021
- ai.propTypes = {
2022
+ u0.propTypes = {
2022
2023
  src: e.string.isRequired,
2023
2024
  alt: e.string.isRequired,
2024
2025
  href: e.string,
2025
2026
  className: e.string
2026
2027
  };
2027
- const li = "_mapContainer_84pkf_2", ci = {
2028
- mapContainer: li
2028
+ const h0 = "_mapContainer_84pkf_2", g0 = {
2029
+ mapContainer: h0
2029
2030
  };
2030
- He.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2031
- const di = ({
2032
- initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2031
+ ee.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2032
+ const C0 = ({
2033
+ initialView: o = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2033
2034
  maxZoom: d = 17,
2034
- minZoom: o = 8,
2035
+ minZoom: s = 8,
2035
2036
  mapStyle: n,
2036
2037
  firstSymbolLayer: t,
2037
- cssProps: r = "",
2038
+ cssProps: a = "",
2038
2039
  onClick: l = "",
2039
- interactiveLayers: a = [],
2040
+ interactiveLayers: r = [],
2040
2041
  popUp: c = !1,
2041
2042
  sources: p = [],
2042
- layers: u = []
2043
+ layers: m = []
2043
2044
  }) => {
2044
- const m = ge(), [b, h] = L(null), C = pe((f) => f.mapState.showTexts);
2045
- return D(() => {
2046
- if (m.current) {
2047
- const f = m.current.getMap();
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();
2048
2049
  f.getStyle().layers.map((y) => {
2049
2050
  y.type == "symbol" && y.id != "professionals" && (C ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2050
2051
  });
2051
2052
  }
2052
- }, [C]), /* @__PURE__ */ s("div", { className: `${ci.mapContainer}`, style: r, children: /* @__PURE__ */ g(
2053
- Ge,
2053
+ }, [C]), /* @__PURE__ */ i("div", { className: `${g0.mapContainer}`, style: a, children: /* @__PURE__ */ u(
2054
+ te,
2054
2055
  {
2055
- initialViewState: i,
2056
- ref: m,
2056
+ initialViewState: o,
2057
+ ref: h,
2057
2058
  hash: !1,
2058
2059
  maxZoom: d,
2059
- minZoom: o,
2060
+ minZoom: s,
2060
2061
  mapStyle: n,
2061
2062
  onClick: l,
2062
- interactiveLayerIds: a,
2063
+ interactiveLayerIds: r,
2063
2064
  children: [
2064
- p.length && p.map((f, _) => /* @__PURE__ */ s(
2065
- Ye,
2065
+ p.length && p.map((f, v) => /* @__PURE__ */ i(
2066
+ ne,
2066
2067
  {
2067
2068
  ...f,
2068
- children: u.length && u.map((y, x) => {
2069
- if (y.sourceId == f.id) return /* @__PURE__ */ s(
2070
- We,
2069
+ children: m.length && m.map((y, w) => {
2070
+ if (y.sourceId == f.id) return /* @__PURE__ */ i(
2071
+ ie,
2071
2072
  {
2072
2073
  ...y.layer,
2073
2074
  beforeId: t
2074
2075
  },
2075
- x
2076
+ w
2076
2077
  );
2077
2078
  })
2078
2079
  },
2079
- _
2080
+ v
2080
2081
  )),
2081
- /* @__PURE__ */ s(Xe, { position: "bottom-right", visualizePitch: !0 }),
2082
- c && b && /* @__PURE__ */ s(
2083
- Je,
2082
+ /* @__PURE__ */ i(oe, { position: "bottom-right", visualizePitch: !0 }),
2083
+ c && b && /* @__PURE__ */ i(
2084
+ se,
2084
2085
  {
2085
2086
  longitude: c.longitude,
2086
2087
  latitude: c.latitude,
2087
2088
  anchor: c.anchor,
2088
- onClose: () => h(null),
2089
+ onClose: () => g(null),
2089
2090
  children: c.content
2090
2091
  }
2091
2092
  )
@@ -2093,7 +2094,7 @@ const di = ({
2093
2094
  }
2094
2095
  ) });
2095
2096
  };
2096
- di.propTypes = {
2097
+ C0.propTypes = {
2097
2098
  initialView: e.shape({
2098
2099
  latitude: e.number.isRequired,
2099
2100
  longitude: e.number.isRequired,
@@ -2138,98 +2139,98 @@ di.propTypes = {
2138
2139
  })
2139
2140
  )
2140
2141
  };
2141
- const pi = "_mapContainer_b0pyr_3", ui = {
2142
- mapContainer: pi
2143
- }, mi = "_FeaturePopUp_1gd6w_2", hi = "_title_1gd6w_2", Te = {
2144
- FeaturePopUp: mi,
2145
- title: hi
2146
- }, gi = ({ props: i }) => {
2147
- const { t: d } = N();
2148
- return /* @__PURE__ */ s("div", { className: Te.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ g("p", { children: [
2149
- /* @__PURE__ */ g("span", { className: Te.title, children: [
2150
- /* @__PURE__ */ s(Ce, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
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", {}) } }),
2151
2152
  ": "
2152
2153
  ] }),
2153
- o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2154
+ s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2154
2155
  " ",
2155
- d(o.unit)
2156
+ d(s.unit)
2156
2157
  ] })) });
2157
- }, Ci = ({
2158
- initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2158
+ }, w0 = ({
2159
+ initialView: o = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2159
2160
  maxZoom: d = 17,
2160
- minZoom: o = 8,
2161
+ minZoom: s = 8,
2161
2162
  mapStyle: n,
2162
2163
  firstSymbolLayer: t,
2163
- cssProps: r = {},
2164
+ cssProps: a = {},
2164
2165
  onClick: l = "",
2165
- interactiveLayers: a = [],
2166
+ interactiveLayers: r = [],
2166
2167
  sources: c = [],
2167
2168
  layers: p = [],
2168
- filters: u,
2169
- popUpParams: m,
2169
+ filters: m,
2170
+ popUpParams: h,
2170
2171
  onClosePopUp: b,
2171
- showTexts: h
2172
+ showTexts: g
2172
2173
  }) => {
2173
- console.log(u);
2174
- const C = ge();
2175
- return D(() => {
2174
+ console.log(m);
2175
+ const C = v2();
2176
+ return F(() => {
2176
2177
  if (C.current) {
2177
2178
  const f = C.current.getMap();
2178
2179
  f.getStyle().layers.map((y) => {
2179
- y.type == "symbol" && y.id != "professionals" && (h ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2180
+ y.type == "symbol" && y.id != "professionals" && (g ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2180
2181
  });
2181
2182
  }
2182
- }, [h]), D(() => {
2183
- let f = new Qe();
2184
- return se.addProtocol("pmtiles", f.tile), () => {
2185
- se.removeProtocol("pmtiles");
2183
+ }, [g]), F(() => {
2184
+ let f = new re();
2185
+ return l2.addProtocol("pmtiles", f.tile), () => {
2186
+ l2.removeProtocol("pmtiles");
2186
2187
  };
2187
- }, []), /* @__PURE__ */ s("div", { className: `${ui.mapContainer}`, style: r && r, children: /* @__PURE__ */ g(
2188
- et,
2188
+ }, []), /* @__PURE__ */ i("div", { className: `${b0.mapContainer}`, style: a && a, children: /* @__PURE__ */ u(
2189
+ ae,
2189
2190
  {
2190
- mapLib: se,
2191
- initialViewState: i,
2191
+ mapLib: l2,
2192
+ initialViewState: o,
2192
2193
  ref: C,
2193
2194
  hash: !1,
2194
2195
  maxZoom: d,
2195
- minZoom: o,
2196
+ minZoom: s,
2196
2197
  mapStyle: n,
2197
2198
  onClick: l,
2198
- interactiveLayerIds: a,
2199
+ interactiveLayerIds: r,
2199
2200
  children: [
2200
- c.length && c.map((f, _) => /* @__PURE__ */ s(
2201
- tt,
2201
+ c.length && c.map((f, v) => /* @__PURE__ */ i(
2202
+ le,
2202
2203
  {
2203
2204
  ...f,
2204
- children: p.length && p.map((y, x) => {
2205
- if (y.sourceId == f.id) return /* @__PURE__ */ s(
2206
- nt,
2205
+ children: p.length && p.map((y, w) => {
2206
+ if (y.sourceId == f.id) return /* @__PURE__ */ i(
2207
+ ce,
2207
2208
  {
2208
2209
  ...y.layer,
2209
2210
  beforeId: t,
2210
- filter: u && u
2211
+ filter: m && m
2211
2212
  },
2212
- x
2213
+ w
2213
2214
  );
2214
2215
  })
2215
2216
  },
2216
- _
2217
+ v
2217
2218
  )),
2218
- /* @__PURE__ */ s(it, { position: "bottom-right", visualizePitch: !0 }),
2219
- m && /* @__PURE__ */ s(
2220
- st,
2219
+ /* @__PURE__ */ i(de, { position: "bottom-right", visualizePitch: !0 }),
2220
+ h && /* @__PURE__ */ i(
2221
+ pe,
2221
2222
  {
2222
- longitude: m.lng,
2223
- latitude: m.lat,
2223
+ longitude: h.lng,
2224
+ latitude: h.lat,
2224
2225
  onClose: b,
2225
- children: /* @__PURE__ */ s(gi, { props: m.props })
2226
+ children: /* @__PURE__ */ i(_0, { props: h.props })
2226
2227
  }
2227
2228
  )
2228
2229
  ]
2229
2230
  }
2230
2231
  ) });
2231
2232
  };
2232
- Ci.propTypes = {
2233
+ w0.propTypes = {
2233
2234
  initialView: e.shape({
2234
2235
  latitude: e.number.isRequired,
2235
2236
  longitude: e.number.isRequired,
@@ -2272,33 +2273,33 @@ Ci.propTypes = {
2272
2273
  popUpParams: e.object,
2273
2274
  onClosePopUp: e.func
2274
2275
  };
2275
- const bi = "_sectionBar_1egwc_2", fi = "_leftContent_1egwc_14", yi = "_textContainer_1egwc_20", vi = "_title_1egwc_27", _i = "_subtitle_1egwc_33", xi = "_rightContent_1egwc_38", j = {
2276
- sectionBar: bi,
2277
- leftContent: fi,
2278
- textContainer: yi,
2279
- title: vi,
2280
- subtitle: _i,
2281
- rightContent: xi
2282
- }, Cs = ({
2283
- leftIcon: i,
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,
2284
2285
  title: d,
2285
- subtitle: o,
2286
+ subtitle: s,
2286
2287
  rightContent: n,
2287
2288
  mainColor: t,
2288
- width: r
2289
+ width: a
2289
2290
  }) => {
2290
- const { t: l } = N();
2291
- return /* @__PURE__ */ g("div", { className: j.sectionBar, style: { width: r && r }, children: [
2292
- /* @__PURE__ */ g("div", { className: j.leftContent, children: [
2293
- i && /* @__PURE__ */ s("img", { src: i, alt: "Icono", className: j.icon }),
2294
- /* @__PURE__ */ g("div", { className: j.textContainer, children: [
2295
- /* @__PURE__ */ s("div", { className: j.title, children: l(d) }),
2296
- o && /* @__PURE__ */ s("div", { className: j.subtitle, children: o })
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 })
2297
2298
  ] })
2298
2299
  ] }),
2299
- /* @__PURE__ */ s("div", { className: j.rightContent, children: n })
2300
+ /* @__PURE__ */ i("div", { className: j.rightContent, children: n })
2300
2301
  ] });
2301
- }, wi = Fe({
2302
+ }, B0 = I2({
2302
2303
  name: "mapSlice",
2303
2304
  initialState: {
2304
2305
  showTexts: !0,
@@ -2308,52 +2309,52 @@ const bi = "_sectionBar_1egwc_2", fi = "_leftContent_1egwc_14", yi = "_textConta
2308
2309
  activeIndicatorUnit: null
2309
2310
  },
2310
2311
  reducers: {
2311
- setShowTexts: (i, d) => {
2312
- i.showTexts = d.payload;
2312
+ setShowTexts: (o, d) => {
2313
+ o.showTexts = d.payload;
2313
2314
  },
2314
- setYear: (i, d) => {
2315
- i.sliderSelectedYear = d.payload;
2315
+ setYear: (o, d) => {
2316
+ o.sliderSelectedYear = d.payload;
2316
2317
  },
2317
- setActiveIndicatorKey: (i, d) => {
2318
- i.activeIndicatorKey = d.payload;
2318
+ setActiveIndicatorKey: (o, d) => {
2319
+ o.activeIndicatorKey = d.payload;
2319
2320
  },
2320
- setActiveIndicatorType: (i, d) => {
2321
- i.activeIndicatorType = d.payload;
2321
+ setActiveIndicatorType: (o, d) => {
2322
+ o.activeIndicatorType = d.payload;
2322
2323
  },
2323
- setActiveIndicatorUnit: (i, d) => {
2324
- i.activeIndicatorUnit = d.payload;
2324
+ setActiveIndicatorUnit: (o, d) => {
2325
+ o.activeIndicatorUnit = d.payload;
2325
2326
  }
2326
2327
  }
2327
- }), { setShowTexts: bs, setYear: ce, setActiveIndicatorKey: fs, setActiveIndicatorType: ys, setActiveIndicatorUnit: vs } = wi.actions, ki = "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", Ni = "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", Si = "_slider_a19yo_2", Ti = "_playButton_a19yo_17", Mi = "_sliderOpen_a19yo_28", Fi = "_sliderResults_a19yo_32", W = {
2328
- slider: Si,
2329
- playButton: Ti,
2330
- sliderOpen: Mi,
2331
- sliderResults: Fi
2332
- }, Bi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2333
- const [l, a] = L(d), c = Me(), p = (y, x) => {
2334
- a(x), c(ce(x - 2e3));
2335
- }, [u, m] = L(!1), b = () => {
2336
- m(!0);
2337
- }, h = () => {
2338
- m(!1);
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);
2338
+ }, g = () => {
2339
+ h(!1);
2339
2340
  };
2340
- ((y, x) => {
2341
- const w = ge();
2342
- D(() => {
2343
- w.current = y;
2344
- }, [y]), D(() => {
2345
- function v() {
2346
- w.current();
2341
+ ((y, w) => {
2342
+ const x = v2();
2343
+ F(() => {
2344
+ x.current = y;
2345
+ }, [y]), F(() => {
2346
+ function _() {
2347
+ x.current();
2347
2348
  }
2348
2349
  {
2349
- let k = setInterval(v, x);
2350
- return () => clearInterval(k);
2350
+ let N = setInterval(_, w);
2351
+ return () => clearInterval(N);
2351
2352
  }
2352
- }, [x]);
2353
+ }, [w]);
2353
2354
  })(() => {
2354
- u && (l != 2050 ? (a(l + 1), c(ce(l - 2e3 + 1))) : (a(2025), c(ce(25))));
2355
+ m && (l != 2050 ? (r(l + 1), c(u2(l - 2e3 + 1))) : (r(2025), c(u2(25))));
2355
2356
  }, 1e3);
2356
- const f = rt({
2357
+ const f = ue({
2357
2358
  palette: {
2358
2359
  primary: {
2359
2360
  main: "#605b56"
@@ -2375,29 +2376,29 @@ const bi = "_sectionBar_1egwc_2", fi = "_leftContent_1egwc_14", yi = "_textConta
2375
2376
  }
2376
2377
  }
2377
2378
  }
2378
- }), _ = [
2379
+ }), v = [
2379
2380
  { label: "", value: 2025 },
2380
2381
  { label: "", value: 2032 },
2381
2382
  { label: "", value: 2041 },
2382
2383
  { label: "", value: 2050 }
2383
2384
  ];
2384
- return /* @__PURE__ */ s(lt, { theme: f, children: /* @__PURE__ */ g(
2385
- at,
2385
+ return /* @__PURE__ */ i(ge, { theme: f, children: /* @__PURE__ */ u(
2386
+ he,
2386
2387
  {
2387
2388
  sx: { width: 400 },
2388
- className: `${i ? W.sliderResults : W.slider} ${r ? W.sliderOpen : ""}`,
2389
+ className: `${o ? Q.sliderResults : Q.slider} ${a ? Q.sliderOpen : ""}`,
2389
2390
  style: { zIndex: t },
2390
2391
  children: [
2391
- o,
2392
- /* @__PURE__ */ s(
2393
- ot,
2392
+ s,
2393
+ /* @__PURE__ */ i(
2394
+ me,
2394
2395
  {
2395
2396
  "aria-label": "TimeSlider",
2396
2397
  value: l,
2397
2398
  valueLabelDisplay: "on",
2398
2399
  step: 1,
2399
- marks: _,
2400
- min: o,
2400
+ marks: v,
2401
+ min: s,
2401
2402
  max: n,
2402
2403
  onChange: p,
2403
2404
  color: "primary",
@@ -2405,13 +2406,13 @@ const bi = "_sectionBar_1egwc_2", fi = "_leftContent_1egwc_14", yi = "_textConta
2405
2406
  }
2406
2407
  ),
2407
2408
  n,
2408
- !u && /* @__PURE__ */ s("button", { className: W.playButton, onClick: b, children: /* @__PURE__ */ s("img", { src: ki, alt: "Play" }) }),
2409
- u && /* @__PURE__ */ s("button", { className: W.playButton, onClick: h, children: /* @__PURE__ */ s("img", { src: Ni, alt: "Pause" }) })
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" }) })
2410
2411
  ]
2411
2412
  }
2412
2413
  ) });
2413
2414
  };
2414
- Bi.propTypes = {
2415
+ O0.propTypes = {
2415
2416
  defaultYear: e.number,
2416
2417
  onResults: e.bool,
2417
2418
  firstYear: e.number,
@@ -2419,32 +2420,32 @@ Bi.propTypes = {
2419
2420
  zIndex: e.number,
2420
2421
  rightBarOpen: e.bool
2421
2422
  };
2422
- const Li = "_TopNavMenuContainer_12mp4_2", Di = "_topNavOptions_12mp4_13", $i = "_active_12mp4_27", de = {
2423
- TopNavMenuContainer: Li,
2424
- topNavOptions: Di,
2425
- active: $i
2426
- }, Ai = ({
2427
- options: i = [],
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 = [],
2428
2429
  containerStyles: d,
2429
- borderColor: o = "red",
2430
+ borderColor: s = "red",
2430
2431
  textColor: n = "white"
2431
2432
  }) => {
2432
- const { t } = N();
2433
- return /* @__PURE__ */ s("div", { className: de.TopNavMenuContainer, style: { ...d }, children: i.map((r, l) => /* @__PURE__ */ s(
2434
- ct,
2433
+ const { t } = k();
2434
+ return /* @__PURE__ */ i("div", { className: h2.TopNavMenuContainer, style: { ...d }, children: o.map((a, l) => /* @__PURE__ */ i(
2435
+ Ce,
2435
2436
  {
2436
- to: r.url,
2437
- className: ({ isActive: a }) => `${de.topNavOptions} ${a ? de.active : ""} `,
2438
- style: ({ isActive: a }) => ({
2437
+ to: a.url,
2438
+ className: ({ isActive: r }) => `${h2.topNavOptions} ${r ? h2.active : ""} `,
2439
+ style: ({ isActive: r }) => ({
2439
2440
  color: n,
2440
- borderBottom: a ? `5px solid ${o}` : "5px solid transparent"
2441
+ borderBottom: r ? `5px solid ${s}` : "5px solid transparent"
2441
2442
  }),
2442
- children: t(r.name)
2443
+ children: t(a.name)
2443
2444
  },
2444
2445
  l
2445
2446
  )) });
2446
2447
  };
2447
- Ai.propTypes = {
2448
+ P0.propTypes = {
2448
2449
  options: e.arrayOf(e.object),
2449
2450
  cssProps: e.shape({
2450
2451
  borderColor: e.string.isRequired,
@@ -2454,7 +2455,7 @@ Ai.propTypes = {
2454
2455
  // activeColor: PropTypes.string,
2455
2456
  // defaultColor: PropTypes.string
2456
2457
  };
2457
- const Oi = Fe({
2458
+ const q0 = I2({
2458
2459
  name: "userSlice",
2459
2460
  initialState: {
2460
2461
  user: {
@@ -2465,34 +2466,34 @@ const Oi = Fe({
2465
2466
  showUserMenu: !1
2466
2467
  },
2467
2468
  reducers: {
2468
- setShowLogIn: (i, d) => {
2469
- i.showLogIn = d.payload;
2469
+ setShowLogIn: (o, d) => {
2470
+ o.showLogIn = d.payload;
2470
2471
  },
2471
- setShowUserMenu: (i, d) => {
2472
- i.showUserMenu = d.payload;
2472
+ setShowUserMenu: (o, d) => {
2473
+ o.showUserMenu = d.payload;
2473
2474
  }
2474
2475
  }
2475
- }), { setShowLogIn: Ri, setShowUserMenu: Ii } = Oi.actions, Vi = "_UserMenuTrigger_uglss_2", Pi = {
2476
- UserMenuTrigger: Vi
2477
- }, zi = ({
2478
- cssClass: i,
2476
+ }), { setShowLogIn: z0, setShowUserMenu: j0 } = q0.actions, Z0 = "_UserMenuTrigger_uglss_2", H0 = {
2477
+ UserMenuTrigger: Z0
2478
+ }, K0 = ({
2479
+ cssClass: o,
2479
2480
  loginLocale: d = "login",
2480
- containerStyles: o
2481
+ containerStyles: s
2481
2482
  }) => {
2482
- const n = Me(), t = pe((c) => c.userState.user.isLoggedIn), r = pe((c) => c.userState.user.username), { t: l } = N(), a = () => {
2483
- n(t ? Ri(!0) : Ii(!0));
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));
2484
2485
  };
2485
- return /* @__PURE__ */ s(
2486
+ return /* @__PURE__ */ i(
2486
2487
  "div",
2487
2488
  {
2488
- style: { ...o },
2489
- className: `${Pi.UserMenuTrigger} link ${i}`,
2490
- onClick: a,
2491
- children: t ? r : l(d)
2489
+ style: { ...s },
2490
+ className: `${H0.UserMenuTrigger} link ${o}`,
2491
+ onClick: r,
2492
+ children: t ? a : l(d)
2492
2493
  }
2493
2494
  );
2494
2495
  };
2495
- zi.propTypes = {
2496
+ K0.propTypes = {
2496
2497
  onClickLoggedIn: e.func.isRequired,
2497
2498
  onClickLoggedOut: e.func.isRequired,
2498
2499
  log: e.bool,
@@ -2500,87 +2501,352 @@ zi.propTypes = {
2500
2501
  cssClass: e.string,
2501
2502
  loginLocale: e.string
2502
2503
  };
2503
- const ji = "_header_13kbt_2", qi = "_leftComponents_13kbt_13", Ei = "_centerComponents_13kbt_14", Ki = "_rightComponents_13kbt_15", Zi = "_componentsContainer_13kbt_32", q = {
2504
- header: ji,
2505
- leftComponents: qi,
2506
- centerComponents: Ei,
2507
- rightComponents: Ki,
2508
- componentsContainer: Zi
2509
- }, Ui = ({
2510
- cssProps: i,
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,
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) {
2527
+ for (var d = 1; d < arguments.length; d++) {
2528
+ var s = arguments[d];
2529
+ for (var n in s) ({}).hasOwnProperty.call(s, n) && (o[n] = s[n]);
2530
+ }
2531
+ return o;
2532
+ }, y2.apply(null, arguments);
2533
+ }
2534
+ var h1 = function(d) {
2535
+ return /* @__PURE__ */ e2.createElement("svg", y2({
2536
+ xmlns: "http://www.w3.org/2000/svg",
2537
+ width: 26,
2538
+ height: 14,
2539
+ fill: "none"
2540
+ }, d), V2 || (V2 = /* @__PURE__ */ e2.createElement("g", {
2541
+ fill: "currentColor"
2542
+ }, /* @__PURE__ */ e2.createElement("path", {
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", {
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
+ }))));
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,
2550
+ onClickElement: d,
2551
+ isActive: s,
2552
+ activeColor: n,
2553
+ fontColor: t,
2554
+ moreInfo: a,
2555
+ columns: l,
2556
+ elementButtons: r,
2557
+ processTooltip: c,
2558
+ defaultTooltip: p
2559
+ }) => {
2560
+ const { nom: m, created_at: h, id: b, isBeingProcessed: g } = o, [C, f] = D(!1), { t: v } = k();
2561
+ return /* @__PURE__ */ u(
2562
+ "div",
2563
+ {
2564
+ className: V.listElement,
2565
+ style: { borderBottom: `1px solid ${t}` },
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(
2570
+ "img",
2571
+ {
2572
+ style: { marginRight: 9 },
2573
+ src: g1
2574
+ }
2575
+ ),
2576
+ /* @__PURE__ */ i("span", { style: { color: s ? n : t }, children: m })
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 })
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" })
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" })
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" })
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" })
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" })
2602
+ ] })
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)
2609
+ ] }),
2610
+ a && C && /* @__PURE__ */ i("div", { className: V.moreInfoInfo, children: o[a.info] })
2611
+ ] })
2612
+ ]
2613
+ }
2614
+ );
2615
+ };
2616
+ Y2.propTypes = {
2617
+ element: e.shape({
2618
+ nom: e.string.isRequired,
2619
+ created_at: e.string,
2620
+ id: e.string.isRequired,
2621
+ isBeingProcessed: e.bool
2622
+ }).isRequired,
2623
+ onClickCopy: e.func.isRequired,
2624
+ onClickDelete: e.func.isRequired,
2625
+ onClickFilters: e.func.isRequired,
2626
+ onClickElement: e.func.isRequired,
2627
+ isBeingProcessed: e.bool,
2628
+ isActive: e.bool,
2629
+ activeColor: e.string,
2630
+ fontColor: e.string,
2631
+ moreInfo: e.object
2632
+ // Optional, can be used for additional info
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,
2636
+ activeElementId: d,
2637
+ fontColor: s = "#605B56",
2638
+ activeColor: n,
2639
+ buttonContainerStyles: t = {},
2640
+ containerStyles: a = {},
2641
+ newElementButton: l,
2642
+ //{label: 'text', onClick: function()}/null
2643
+ onClickElement: r = (g) => console.log(`OnCLickElement: ${g}`),
2644
+ columns: c,
2645
+ // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2646
+ elementButtons: p,
2647
+ //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
2648
+ moreInfo: m = !1,
2649
+ //{label: 'x'}
2650
+ processTooltip: h,
2651
+ //texto para el tooltip del simbolo "En proceso"
2652
+ defaultTooltip: b
2653
+ //texto para el tooltip del símbolo de candado para los elementos default
2654
+ }) => {
2655
+ const { t: g } = k(), [C, f] = D(o);
2656
+ F(() => {
2657
+ o && f(o);
2658
+ }, [o]);
2659
+ const v = (y) => {
2660
+ if (C && C.length > 0) {
2661
+ let w = [...C];
2662
+ w.sort((x, _) => x[y].localeCompare(_[y])), f(w);
2663
+ }
2664
+ };
2665
+ return /* @__PURE__ */ u(
2666
+ "div",
2667
+ {
2668
+ className: A.elementSelector,
2669
+ style: { color: s, ...a },
2670
+ children: [
2671
+ /* @__PURE__ */ u(
2672
+ "div",
2673
+ {
2674
+ className: A.header,
2675
+ style: { borderBottom: `1px solid ${s}` },
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 })
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 })
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) }) })
2688
+ ] }),
2689
+ /* @__PURE__ */ i("div", { className: A.buttonsContainer })
2690
+ ]
2691
+ }
2692
+ ),
2693
+ /* @__PURE__ */ i("div", { className: A.elementListContainer, children: C && C.length > 0 && C.map((y) => /* @__PURE__ */ i(
2694
+ Y2,
2695
+ {
2696
+ isActive: d == y.id,
2697
+ element: y,
2698
+ fontColor: s,
2699
+ activeColor: n,
2700
+ onClickElement: r,
2701
+ columns: c,
2702
+ elementButtons: p,
2703
+ moreInfo: m,
2704
+ processTooltip: h,
2705
+ defaultTooltip: b
2706
+ },
2707
+ `elementKey${y.id}`
2708
+ )) }),
2709
+ l && /* @__PURE__ */ i("div", { className: A.newElementButtonContainer, children: /* @__PURE__ */ i(
2710
+ x2,
2711
+ {
2712
+ style: { ...t },
2713
+ onClick: l.onClick,
2714
+ borderColor: "grey",
2715
+ children: g(newElementLabel)
2716
+ }
2717
+ ) })
2718
+ ]
2719
+ }
2720
+ );
2721
+ };
2722
+ C1.propTypes = {
2723
+ elementList: e.arrayOf(
2724
+ e.shape({
2725
+ nom: e.string.isRequired,
2726
+ created_at: e.string.isRequired,
2727
+ id: e.string.isRequired
2728
+ })
2729
+ ).isRequired,
2730
+ activeElementId: e.string,
2731
+ fontColor: e.string,
2732
+ activeColor: e.string,
2733
+ onClickElement: e.func.isRequired,
2734
+ newElementButton: e.shape({
2735
+ label: e.string,
2736
+ onClick: e.func
2737
+ }),
2738
+ columns: e.shape({
2739
+ nom: e.string,
2740
+ data: e.string,
2741
+ ambit: e.string,
2742
+ escenari: e.string
2743
+ }),
2744
+ elementButtons: e.shape({
2745
+ copy: e.shape({
2746
+ onclick: e.func,
2747
+ tooltiptext: e.string
2748
+ }),
2749
+ delete: e.shape({
2750
+ onclick: e.func,
2751
+ tooltiptext: e.string
2752
+ }),
2753
+ filter: e.shape({
2754
+ onclick: e.func,
2755
+ tooltiptext: e.string
2756
+ })
2757
+ }),
2758
+ buttonContainerStyles: e.object,
2759
+ containerStyles: e.object,
2760
+ onCLickNewElement: e.func,
2761
+ moreInfo: e.shape({
2762
+ label: e.string,
2763
+ info: e.any
2764
+ }),
2765
+ processTooltip: e.string,
2766
+ defaultTooltip: e.string
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,
2511
2776
  leftComponents: d = [],
2512
- centerComponents: o = [],
2777
+ centerComponents: s = [],
2513
2778
  rightComponents: n = [],
2514
2779
  zIndex: t = 10,
2515
- height: r = 60,
2780
+ height: a = 60,
2516
2781
  backgroundColor: l = "#605B56"
2517
- }) => /* @__PURE__ */ g(
2782
+ }) => /* @__PURE__ */ u(
2518
2783
  "div",
2519
2784
  {
2520
- className: q.header,
2785
+ className: Z.header,
2521
2786
  style: {
2522
- ...i,
2787
+ ...o,
2523
2788
  zIndex: t,
2524
- height: r,
2789
+ height: a,
2525
2790
  backgroundColor: l
2526
2791
  },
2527
2792
  children: [
2528
- /* @__PURE__ */ s("div", { className: q.leftComponents, children: d.map((a, c) => /* @__PURE__ */ s("div", { className: q.componentsContainer, children: a }, c)) }),
2529
- /* @__PURE__ */ s("div", { className: q.centerComponents, children: o.map((a, c) => /* @__PURE__ */ s("div", { className: q.componentsContainer, children: a }, c)) }),
2530
- /* @__PURE__ */ s("div", { className: q.rightComponents, children: n.map((a, c) => /* @__PURE__ */ s("div", { className: q.componentsContainer, children: a }, c)) })
2793
+ /* @__PURE__ */ i("div", { className: Z.leftComponents, children: d.map((r, c) => /* @__PURE__ */ i("div", { className: Z.componentsContainer, children: r }, c)) }),
2794
+ /* @__PURE__ */ i("div", { className: Z.centerComponents, children: s.map((r, c) => /* @__PURE__ */ i("div", { className: Z.componentsContainer, children: r }, c)) }),
2795
+ /* @__PURE__ */ i("div", { className: Z.rightComponents, children: n.map((r, c) => /* @__PURE__ */ i("div", { className: Z.componentsContainer, children: r }, c)) })
2531
2796
  ]
2532
2797
  }
2533
2798
  );
2534
- Ui.propTypes = {
2799
+ w1.propTypes = {
2535
2800
  leftComponents: e.arrayOf(e.node),
2536
2801
  centerComponents: e.arrayOf(e.node),
2537
2802
  rightComponents: e.arrayOf(e.node)
2538
2803
  };
2539
- const Hi = "_sidebar_1jqo2_2", Gi = "_open_1jqo2_16", Yi = "_content_1jqo2_20", Wi = "_closeButton_1jqo2_26", ee = {
2540
- sidebar: Hi,
2541
- open: Gi,
2542
- content: Yi,
2543
- closeButton: Wi
2544
- }, Xi = ({ width: i = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2804
+ const x1 = "_sidebar_1jqo2_2", k1 = "_open_1jqo2_16", N1 = "_content_1jqo2_20", S1 = "_closeButton_1jqo2_26", o2 = {
2805
+ sidebar: x1,
2806
+ open: k1,
2807
+ content: N1,
2808
+ closeButton: S1
2809
+ }, M1 = ({ width: o = "300px", children: d, showRightBar: s, onCloseBar: n }) => {
2545
2810
  const t = () => {
2546
2811
  n();
2547
2812
  };
2548
- return /* @__PURE__ */ s(
2813
+ return /* @__PURE__ */ i(
2549
2814
  "div",
2550
2815
  {
2551
- className: `${ee.sidebar} ${o ? ee.open : ""}`,
2552
- style: { width: o ? i : 0 },
2553
- children: o && /* @__PURE__ */ g("div", { className: ee.content, children: [
2554
- /* @__PURE__ */ s("button", { className: ee.closeButton, onClick: t, children: "×" }),
2816
+ className: `${o2.sidebar} ${s ? o2.open : ""}`,
2817
+ style: { width: s ? o : 0 },
2818
+ children: s && /* @__PURE__ */ u("div", { className: o2.content, children: [
2819
+ /* @__PURE__ */ i("button", { className: o2.closeButton, onClick: t, children: "×" }),
2555
2820
  d
2556
2821
  ] })
2557
2822
  }
2558
2823
  );
2559
2824
  };
2560
- Xi.propTypes = {
2825
+ M1.propTypes = {
2561
2826
  width: e.string,
2562
2827
  children: e.node,
2563
2828
  showRightBar: e.bool,
2564
2829
  onCloseBar: e.func
2565
2830
  };
2566
2831
  export {
2567
- Lt as AmbitSelector,
2568
- Et as ButtonsList,
2569
- E as DropdownList,
2570
- gs as EditAmbit,
2571
- Cn as FiltersAmbit,
2572
- _n as Graphic,
2573
- Ui as HeaderSection,
2574
- Pn as IndicatorsList,
2575
- Zn as LangSelector,
2576
- oi as Legend,
2577
- ai as LogoApp,
2578
- di as MapboxMap,
2579
- Ci as MaplibreMap,
2580
- Xi as RightSidebar,
2581
- Cs as SectionBar,
2582
- Bi as TimeSlider,
2583
- De as Tooltip,
2584
- Ai as TopNavMenu,
2585
- zi as UserMenuTrigger
2832
+ Re as AmbitSelector,
2833
+ We as ButtonsList,
2834
+ K as DropdownList,
2835
+ H1 as EditAmbit,
2836
+ wt as FiltersAmbit,
2837
+ Mt as Graphic,
2838
+ w1 as HeaderSection,
2839
+ Ht as IndicatorsList,
2840
+ Xt as LangSelector,
2841
+ p0 as Legend,
2842
+ C1 as ListSelector,
2843
+ u0 as LogoApp,
2844
+ C0 as MapboxMap,
2845
+ w0 as MaplibreMap,
2846
+ M1 as RightSidebar,
2847
+ K1 as SectionBar,
2848
+ O0 as TimeSlider,
2849
+ H as Tooltip,
2850
+ P0 as TopNavMenu,
2851
+ K0 as UserMenuTrigger
2586
2852
  };