@tmf_ciclica/ciclicastorybook 1.1.55 → 1.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_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}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1xbl6_2 ._labelContainer_1xbl6_2{margin-bottom:25px}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 ._showPasswordButton_1xbl6_11{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 input{width:100%}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23{margin-top:10px;cursor:pointer}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._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 gt } from "react/jsx-runtime";
2
+ import { jsxs as C, jsx as s, Fragment as gt } from "react/jsx-runtime";
3
3
  import * as X from "react";
4
4
  import N, { useState as F, useEffect as L, useMemo as le, useLayoutEffect as Ct, useRef as Fe } from "react";
5
5
  import e from "prop-types";
@@ -45,14 +45,14 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
45
45
  moreInfo: c
46
46
  }) => {
47
47
  const { nom: u, created_at: p, id: m, isBeingProcessed: y } = n;
48
- return /* @__PURE__ */ g(
48
+ return /* @__PURE__ */ C(
49
49
  "div",
50
50
  {
51
51
  className: ee.ambitItem,
52
52
  style: { borderBottom: `1px solid ${a}` },
53
53
  children: [
54
- /* @__PURE__ */ g("div", { className: ee.ambitNameDate, onClick: () => t(m), children: [
55
- /* @__PURE__ */ g("div", { className: ee.ambitName, children: [
54
+ /* @__PURE__ */ C("div", { className: ee.ambitNameDate, onClick: () => t(m), children: [
55
+ /* @__PURE__ */ C("div", { className: ee.ambitName, children: [
56
56
  /* @__PURE__ */ s(
57
57
  "img",
58
58
  {
@@ -64,7 +64,7 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
64
64
  ] }),
65
65
  /* @__PURE__ */ s("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ g("div", { className: ee.ambitButtons, children: [
67
+ /* @__PURE__ */ C("div", { className: ee.ambitButtons, children: [
68
68
  y && /* @__PURE__ */ s("img", { src: e2 }),
69
69
  /* @__PURE__ */ s("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
70
70
  /* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src: Xt }) }),
@@ -120,12 +120,12 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
120
120
  buttonContainerStyles: a = {},
121
121
  containerStyles: c = {},
122
122
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
123
- onClickCopy: p = (h) => console.log(`Copy ambit: ${h}`),
124
- onCLickDelete: m = (h) => console.log(`Delete ambit: ${h}`),
125
- onClickFilters: y = (h) => console.log(`Filters clicked: ${h}`),
126
- onClickAmbit: C = (h) => console.log(`OnCLickAmbit: ${h}`)
123
+ onClickCopy: p = (g) => console.log(`Copy ambit: ${g}`),
124
+ onCLickDelete: m = (g) => console.log(`Delete ambit: ${g}`),
125
+ onClickFilters: y = (g) => console.log(`Filters clicked: ${g}`),
126
+ onClickAmbit: h = (g) => console.log(`OnCLickAmbit: ${g}`)
127
127
  }) => {
128
- const { t: h } = k(), [b, f] = F(n);
128
+ const { t: g } = k(), [b, f] = F(n);
129
129
  L(() => {
130
130
  n && f(n);
131
131
  }, [n]);
@@ -135,25 +135,25 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
135
135
  w.sort((v, S) => v[x].localeCompare(S[x])), f(w);
136
136
  }
137
137
  };
138
- return /* @__PURE__ */ g(
138
+ return /* @__PURE__ */ C(
139
139
  "div",
140
140
  {
141
141
  className: j.ambitSelector,
142
142
  style: { color: o, ...c },
143
143
  children: [
144
- /* @__PURE__ */ g(
144
+ /* @__PURE__ */ C(
145
145
  "div",
146
146
  {
147
147
  className: j.header,
148
148
  style: { borderBottom: `1px solid ${o}` },
149
149
  children: [
150
- /* @__PURE__ */ g("div", { className: j.nameDateContainer, children: [
151
- /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ g("button", { onClick: () => _("name"), children: [
152
- /* @__PURE__ */ s("span", { children: h(t) }),
150
+ /* @__PURE__ */ C("div", { className: j.nameDateContainer, children: [
151
+ /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ C("button", { onClick: () => _("name"), children: [
152
+ /* @__PURE__ */ s("span", { children: g(t) }),
153
153
  /* @__PURE__ */ s("img", { src: Ae })
154
154
  ] }) }),
155
- /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ g("button", { onClick: () => _("date"), children: [
156
- /* @__PURE__ */ s("span", { children: h(r) }),
155
+ /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ C("button", { onClick: () => _("date"), children: [
156
+ /* @__PURE__ */ s("span", { children: g(r) }),
157
157
  /* @__PURE__ */ s("img", { src: Ae })
158
158
  ] }) })
159
159
  ] }),
@@ -171,7 +171,7 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
171
171
  onClickCopy: p,
172
172
  onClickDelete: m,
173
173
  onClickFilters: y,
174
- onClickAmbit: C
174
+ onClickAmbit: h
175
175
  },
176
176
  `ambitKey${x.id}`
177
177
  )) }),
@@ -181,7 +181,7 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
181
181
  style: { ...a },
182
182
  onClick: u,
183
183
  borderColor: "grey",
184
- children: h(l)
184
+ children: g(l)
185
185
  }
186
186
  ) })
187
187
  ]
@@ -251,20 +251,20 @@ const f2 = ({
251
251
  activeIcon: p,
252
252
  isActive: m,
253
253
  name: y,
254
- onClick: C
255
- } = a, h = /* @__PURE__ */ g(gt, { children: [
254
+ onClick: h
255
+ } = a, g = /* @__PURE__ */ C(gt, { children: [
256
256
  o && i === "left" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) }),
257
257
  /* @__PURE__ */ s("img", { src: m ? p : u, alt: l(y) }),
258
258
  o && i === "right" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) })
259
259
  ] });
260
- return /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
260
+ return /* @__PURE__ */ C("div", { className: "tooltip-parent", children: [
261
261
  /* @__PURE__ */ s(
262
262
  "button",
263
263
  {
264
- onClick: C,
264
+ onClick: h,
265
265
  className: `${q.button}
266
266
  ${m && q.active}`,
267
- children: h
267
+ children: g
268
268
  }
269
269
  ),
270
270
  t && /* @__PURE__ */ s(U, { text: y, position: r })
@@ -308,7 +308,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
308
308
  titleMarginChildren: u = 25
309
309
  }) => {
310
310
  const { t: p } = k();
311
- return /* @__PURE__ */ g(
311
+ return /* @__PURE__ */ C(
312
312
  De.div,
313
313
  {
314
314
  className: me.indicatorsCategory,
@@ -321,7 +321,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
321
321
  marginBottom: n ? "20px" : "0px"
322
322
  },
323
323
  children: [
324
- /* @__PURE__ */ g(
324
+ /* @__PURE__ */ C(
325
325
  "h2",
326
326
  {
327
327
  style: {
@@ -377,7 +377,7 @@ const In = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
377
377
  onClick: d,
378
378
  title: n ? l(n) : "Applied Filters",
379
379
  activeColor: r,
380
- children: /* @__PURE__ */ s("div", { className: Oe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ g("div", { className: Oe.AppliedFilterContent, style: { color: i, background: t }, children: [
380
+ children: /* @__PURE__ */ s("div", { className: Oe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ C("div", { className: Oe.AppliedFilterContent, style: { color: i, background: t }, children: [
381
381
  l(u.name),
382
382
  /* @__PURE__ */ s("img", { src: _2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
383
383
  ] }, p)) })
@@ -429,7 +429,7 @@ const w2 = "_checkboxContainer_zld97_2", k2 = {
429
429
  value: t
430
430
  }) => {
431
431
  const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = D((u) => u);
432
- return /* @__PURE__ */ g(
432
+ return /* @__PURE__ */ C(
433
433
  "div",
434
434
  {
435
435
  style: { ...d, color: o },
@@ -698,15 +698,15 @@ let Ne = function(n) {
698
698
  i > y - m && (i = y - m);
699
699
  }
700
700
  }
701
- t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(y, C, h, b) {
701
+ t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(y, h, g, b) {
702
702
  for (let f = 0; f < y; f += 1) {
703
- const _ = b - f * h;
704
- C[y - 1 - f] > _ && (C[y - 1 - f] = _);
703
+ const _ = b - f * g;
704
+ h[y - 1 - f] > _ && (h[y - 1 - f] = _);
705
705
  }
706
- }(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(y, C, h, b) {
706
+ }(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(y, h, g, b) {
707
707
  for (let f = 0; f < y; f += 1) {
708
- const _ = b + f * h;
709
- C[f] < _ && (C[f] = _);
708
+ const _ = b + f * g;
709
+ h[f] < _ && (h[f] = _);
710
710
  }
711
711
  }(l, t, m, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
712
712
  }, o.pushSucceeding = function(i, t, r) {
@@ -786,7 +786,7 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
786
786
  };
787
787
  return L(() => {
788
788
  a && p([a]);
789
- }, [a]), /* @__PURE__ */ g(
789
+ }, [a]), /* @__PURE__ */ C(
790
790
  "div",
791
791
  {
792
792
  className: Y.container,
@@ -809,7 +809,7 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
809
809
  minDistance: 0.1
810
810
  }
811
811
  ),
812
- /* @__PURE__ */ g("div", { className: Y.labels, children: [
812
+ /* @__PURE__ */ C("div", { className: Y.labels, children: [
813
813
  /* @__PURE__ */ s("span", { children: u[0] }),
814
814
  /* @__PURE__ */ s("span", { children: u[1] })
815
815
  ] })
@@ -854,8 +854,8 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
854
854
  () => t == "abs" || o == "abs",
855
855
  [o, t]
856
856
  ), {
857
- tematicalFiltersSelected: C,
858
- selectedIndicator: h,
857
+ tematicalFiltersSelected: h,
858
+ selectedIndicator: g,
859
859
  fontColor: b,
860
860
  inputsColor: f
861
861
  } = D((w) => w), _ = (w) => {
@@ -883,7 +883,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
883
883
  let T = E.map((A, ht) => ht);
884
884
  return {
885
885
  tematicalFiltersSelected: [
886
- ...C,
886
+ ...h,
887
887
  {
888
888
  type: "cat",
889
889
  code: R,
@@ -913,7 +913,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
913
913
  } else
914
914
  return {
915
915
  tematicalFiltersSelected: [
916
- ...C,
916
+ ...h,
917
917
  { type: "abs", code: R, min: v, max: S }
918
918
  ]
919
919
  };
@@ -921,19 +921,19 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
921
921
  }
922
922
  }, x = le(() => {
923
923
  const w = {};
924
- if ((C == null ? void 0 : C.length) > 0)
925
- for (const v of C)
924
+ if ((h == null ? void 0 : h.length) > 0)
925
+ for (const v of h)
926
926
  v.type === "cat" ? w[v.code] = new Set(v.values) : w[v.code] = [v.min, v.max];
927
927
  return w;
928
- }, [C]);
929
- return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ g(
928
+ }, [h]);
929
+ return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ C(
930
930
  G,
931
931
  {
932
932
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
933
933
  title: r,
934
- isOpen: h == `id${r}`,
934
+ isOpen: g == `id${r}`,
935
935
  onClick: () => D.setState(() => ({
936
- selectedIndicator: h == `id${r}` ? "" : `id${r}`
936
+ selectedIndicator: g == `id${r}` ? "" : `id${r}`
937
937
  })),
938
938
  showBottomBar: !1,
939
939
  height: 38,
@@ -942,13 +942,13 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
942
942
  color: b,
943
943
  activeColor: d,
944
944
  children: [
945
- t == "both" && /* @__PURE__ */ g(
945
+ t == "both" && /* @__PURE__ */ C(
946
946
  "div",
947
947
  {
948
948
  className: re.inputTypeContainer,
949
949
  style: { color: b },
950
950
  children: [
951
- /* @__PURE__ */ g("label", { children: [
951
+ /* @__PURE__ */ C("label", { children: [
952
952
  /* @__PURE__ */ s(
953
953
  "input",
954
954
  {
@@ -967,7 +967,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
967
967
  ),
968
968
  "Absoluto"
969
969
  ] }),
970
- /* @__PURE__ */ g("label", { children: [
970
+ /* @__PURE__ */ C("label", { children: [
971
971
  /* @__PURE__ */ s(
972
972
  "input",
973
973
  {
@@ -1192,19 +1192,19 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
1192
1192
  filtersTypes: m = ["geographical", "tematical"],
1193
1193
  nameRequiredText: y
1194
1194
  }) => {
1195
- const { t: C } = k(), { tematicalFiltersSelected: h } = D((B) => B), [b, f] = F(n || null), [_, x] = F(d || null), [w, v] = F(!1);
1195
+ const { t: h } = k(), { tematicalFiltersSelected: g } = D((B) => B), [b, f] = F(n || null), [_, x] = F(d || null), [w, v] = F(!1);
1196
1196
  L(() => {
1197
1197
  o && o.length > 0 && D.setState((B) => ({
1198
1198
  tematicalFiltersSelected: o
1199
1199
  }));
1200
1200
  }, [o]), L(() => {
1201
- console.log("filtersSelected changed: ", h), a(h);
1202
- }, [h]);
1201
+ console.log("filtersSelected changed: ", g), a(g);
1202
+ }, [g]);
1203
1203
  const S = () => {
1204
1204
  b ? c({ name: b, description: _ }) : v(!0);
1205
1205
  };
1206
- return /* @__PURE__ */ g("div", { className: W.FiltersAmbitContainer, children: [
1207
- /* @__PURE__ */ g("div", { className: W.FiltersAmbitHeader, children: [
1206
+ return /* @__PURE__ */ C("div", { className: W.FiltersAmbitContainer, children: [
1207
+ /* @__PURE__ */ C("div", { className: W.FiltersAmbitHeader, children: [
1208
1208
  /* @__PURE__ */ s("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1209
1209
  "input",
1210
1210
  {
@@ -1213,7 +1213,7 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
1213
1213
  v(!1), f(B.target.value);
1214
1214
  },
1215
1215
  value: b,
1216
- placeholder: C(u)
1216
+ placeholder: h(u)
1217
1217
  }
1218
1218
  ) }),
1219
1219
  /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
@@ -1221,14 +1221,14 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
1221
1221
  {
1222
1222
  value: _,
1223
1223
  onChange: (B) => x(B.target.value),
1224
- placeholder: C(p)
1224
+ placeholder: h(p)
1225
1225
  }
1226
1226
  ) }) })
1227
1227
  ] }),
1228
1228
  /* @__PURE__ */ s(
1229
1229
  We,
1230
1230
  {
1231
- title: C("applied_filters"),
1231
+ title: h("applied_filters"),
1232
1232
  isOpen: !0,
1233
1233
  textColor: r || "#fff",
1234
1234
  backgroundColor: l || "#605B5680",
@@ -1246,8 +1246,8 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
1246
1246
  activeColor: t
1247
1247
  }
1248
1248
  ),
1249
- w && /* @__PURE__ */ s("div", { className: W.warning, children: C(y) }),
1250
- /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children: C("save_ambit") }) })
1249
+ w && /* @__PURE__ */ s("div", { className: W.warning, children: h(y) }),
1250
+ /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children: h("save_ambit") }) })
1251
1251
  ] });
1252
1252
  };
1253
1253
  q2.propTypes = {
@@ -1279,13 +1279,13 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1279
1279
  numberOfDivisions: c = 7,
1280
1280
  maxValue: u = null
1281
1281
  }) => {
1282
- const { t: p } = k(), { xScale: m, ticks: y, height: C } = le(() => {
1282
+ const { t: p } = k(), { xScale: m, ticks: y, height: h } = le(() => {
1283
1283
  if (n && n.length > 0) {
1284
- const h = (n == null ? void 0 : n.length) * (o + i) + r * 2, b = $e.max(n, (x) => x.value) || 1, f = $e.scaleLinear().domain([0, u || b]).range([0, d - a]), _ = Array.from({ length: c + 1 }, (x, w) => u ? u / c * w : b / c * w);
1284
+ const g = (n == null ? void 0 : n.length) * (o + i) + r * 2, b = $e.max(n, (x) => x.value) || 1, f = $e.scaleLinear().domain([0, u || b]).range([0, d - a]), _ = Array.from({ length: c + 1 }, (x, w) => u ? u / c * w : b / c * w);
1285
1285
  return {
1286
1286
  xScale: f,
1287
1287
  ticks: _,
1288
- height: h,
1288
+ height: g,
1289
1289
  width: d,
1290
1290
  verticalPaddign: r,
1291
1291
  horizontalPaddign: l
@@ -1302,33 +1302,33 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1302
1302
  r,
1303
1303
  u
1304
1304
  ]);
1305
- return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: C, children: /* @__PURE__ */ g("g", { transform: `translate(0,${i})`, children: [
1306
- /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((h, b) => {
1307
- const f = m(h);
1308
- return /* @__PURE__ */ g("g", { transform: `translate(${f}, 0)`, children: [
1305
+ return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: h, children: /* @__PURE__ */ C("g", { transform: `translate(0,${i})`, children: [
1306
+ /* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((g, b) => {
1307
+ const f = m(g);
1308
+ return /* @__PURE__ */ C("g", { transform: `translate(${f}, 0)`, children: [
1309
1309
  /* @__PURE__ */ s(
1310
1310
  "line",
1311
1311
  {
1312
1312
  y1: 0,
1313
- y2: C - i * 2,
1313
+ y2: h - i * 2,
1314
1314
  stroke: "#ccc"
1315
1315
  }
1316
1316
  ),
1317
1317
  /* @__PURE__ */ s(
1318
1318
  "text",
1319
1319
  {
1320
- y: C - i,
1320
+ y: h - i,
1321
1321
  textAnchor: "middle",
1322
1322
  fontSize: 10,
1323
1323
  fill: t,
1324
- children: parseInt(h)
1324
+ children: parseInt(g)
1325
1325
  }
1326
1326
  )
1327
1327
  ] }, b);
1328
1328
  }) }),
1329
- n && n.length > 0 && (n == null ? void 0 : n.map((h, b) => {
1330
- const f = m(h.value), _ = b * (o + i);
1331
- return /* @__PURE__ */ g(
1329
+ n && n.length > 0 && (n == null ? void 0 : n.map((g, b) => {
1330
+ const f = m(g.value), _ = b * (o + i);
1331
+ return /* @__PURE__ */ C(
1332
1332
  "g",
1333
1333
  {
1334
1334
  transform: `translate(${a + l}, ${_})`,
@@ -1340,7 +1340,7 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1340
1340
  y: o / 2 + 5,
1341
1341
  textAnchor: "end",
1342
1342
  fill: t,
1343
- children: p(h.title)
1343
+ children: p(g.title)
1344
1344
  }
1345
1345
  ),
1346
1346
  /* @__PURE__ */ s(
@@ -1348,7 +1348,7 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
1348
1348
  {
1349
1349
  width: f,
1350
1350
  height: o,
1351
- fill: h.color,
1351
+ fill: g.color,
1352
1352
  rx: 0
1353
1353
  }
1354
1354
  )
@@ -1390,7 +1390,7 @@ const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Ie = {
1390
1390
  leftPadding: c = 200
1391
1391
  }) => {
1392
1392
  const { t: u } = k();
1393
- return /* @__PURE__ */ g(
1393
+ return /* @__PURE__ */ C(
1394
1394
  "div",
1395
1395
  {
1396
1396
  className: Ie.graphicContainer,
@@ -1458,16 +1458,16 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1458
1458
  multiple: a = !1,
1459
1459
  onChangeType: c
1460
1460
  }) => {
1461
- const { t: u } = k(), { name: p, type: m } = n, [y, C] = F(!1);
1461
+ const { t: u } = k(), { name: p, type: m } = n, [y, h] = F(!1);
1462
1462
  L(() => {
1463
- t && C(
1463
+ t && h(
1464
1464
  a ? t.some(
1465
1465
  (f) => f.name == String(p)
1466
1466
  ) : t.name == p
1467
1467
  );
1468
1468
  }, [t]);
1469
- const h = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ g("div", { className: M.switchTypeOptions, children: [
1470
- /* @__PURE__ */ g(
1469
+ const g = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ C("div", { className: M.switchTypeOptions, children: [
1470
+ /* @__PURE__ */ C(
1471
1471
  "div",
1472
1472
  {
1473
1473
  className: M.optionContainer,
@@ -1496,7 +1496,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1496
1496
  ]
1497
1497
  }
1498
1498
  ),
1499
- /* @__PURE__ */ g(
1499
+ /* @__PURE__ */ C(
1500
1500
  "div",
1501
1501
  {
1502
1502
  className: M.optionContainer,
@@ -1525,7 +1525,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1525
1525
  ]
1526
1526
  }
1527
1527
  )
1528
- ] }) }) }), b = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((f, _) => /* @__PURE__ */ g(
1528
+ ] }) }) }), b = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((f, _) => /* @__PURE__ */ C(
1529
1529
  "div",
1530
1530
  {
1531
1531
  className: M.optionContainer,
@@ -1541,8 +1541,8 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1541
1541
  },
1542
1542
  _
1543
1543
  )) }) }) });
1544
- return /* @__PURE__ */ g("div", { className: M.indicatorContainer, children: [
1545
- /* @__PURE__ */ g(
1544
+ return /* @__PURE__ */ C("div", { className: M.indicatorContainer, children: [
1545
+ /* @__PURE__ */ C(
1546
1546
  "div",
1547
1547
  {
1548
1548
  className: M.indicatorNameContainer,
@@ -1568,7 +1568,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
1568
1568
  ]
1569
1569
  }
1570
1570
  ),
1571
- (t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ s("div", { children: h() }),
1571
+ (t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ s("div", { children: g() }),
1572
1572
  (t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */ s("div", { children: b() })
1573
1573
  ] });
1574
1574
  };
@@ -1601,23 +1601,23 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
1601
1601
  activeIndicatorType: p,
1602
1602
  onChangeType: m
1603
1603
  }) => {
1604
- const { t: y } = k(), [C, h] = F(!1);
1604
+ const { t: y } = k(), [h, g] = F(!1);
1605
1605
  return L(() => {
1606
- h(t == l);
1607
- }, [t, l]), /* @__PURE__ */ g(
1606
+ g(t == l);
1607
+ }, [t, l]), /* @__PURE__ */ C(
1608
1608
  De.div,
1609
1609
  {
1610
1610
  className: Re.indicatorsSubCategory,
1611
1611
  initial: { height: "43px" },
1612
- animate: { height: C ? "auto" : "43px" },
1612
+ animate: { height: h ? "auto" : "43px" },
1613
1613
  transition: { duration: 0.4 },
1614
1614
  children: [
1615
- /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ g("h3", { style: { color: C ? i : o }, children: [
1616
- /* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
1615
+ /* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ C("h3", { style: { color: h ? i : o }, children: [
1616
+ /* @__PURE__ */ s("span", { style: { color: h ? i : o }, children: h ? "-" : "+" }),
1617
1617
  /* @__PURE__ */ s(
1618
1618
  "span",
1619
1619
  {
1620
- style: { marginLeft: 12, color: C ? i : o },
1620
+ style: { marginLeft: 12, color: h ? i : o },
1621
1621
  children: y(n)
1622
1622
  }
1623
1623
  )
@@ -1668,29 +1668,29 @@ const st = ({
1668
1668
  onChangeType: y
1669
1669
  }) => {
1670
1670
  var f;
1671
- const { t: C } = k(), [h, b] = F(!1);
1671
+ const { t: h } = k(), [g, b] = F(!1);
1672
1672
  return L(() => {
1673
1673
  b(r === d);
1674
- }, [r, d]), /* @__PURE__ */ g(
1674
+ }, [r, d]), /* @__PURE__ */ C(
1675
1675
  De.div,
1676
1676
  {
1677
1677
  className: Ce.indicatorsCategory,
1678
1678
  initial: { height: "53px" },
1679
- animate: { height: h ? "auto" : "53px" },
1679
+ animate: { height: g ? "auto" : "53px" },
1680
1680
  transition: { duration: 0.4 },
1681
1681
  style: {
1682
1682
  backgroundColor: "white",
1683
- borderBottom: h ? `1px solid ${o}` : "0px",
1684
- marginBottom: h ? "20px" : "0px"
1683
+ borderBottom: g ? `1px solid ${o}` : "0px",
1684
+ marginBottom: g ? "20px" : "0px"
1685
1685
  },
1686
1686
  children: [
1687
- /* @__PURE__ */ g("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
1688
- /* @__PURE__ */ s("span", { style: { color: h ? o : i }, children: h ? "-" : "+" }),
1687
+ /* @__PURE__ */ C("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
1688
+ /* @__PURE__ */ s("span", { style: { color: g ? o : i }, children: g ? "-" : "+" }),
1689
1689
  /* @__PURE__ */ s(
1690
1690
  "span",
1691
1691
  {
1692
- style: { marginLeft: 12, color: h ? o : i },
1693
- children: C(n.name)
1692
+ style: { marginLeft: 12, color: g ? o : i },
1693
+ children: h(n.name)
1694
1694
  }
1695
1695
  )
1696
1696
  ] }),
@@ -1763,7 +1763,7 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
1763
1763
  changeIndType: l,
1764
1764
  activeIndicatorType: a
1765
1765
  }) => {
1766
- const { t: c } = k(), [u, p] = F(), [m, y] = F(), [C, h] = F(), b = (v) => {
1766
+ const { t: c } = k(), [u, p] = F(), [m, y] = F(), [h, g] = F(), b = (v) => {
1767
1767
  p(u == v ? null : v);
1768
1768
  }, f = (v) => {
1769
1769
  y(m == v ? null : v);
@@ -1771,12 +1771,12 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
1771
1771
  console.log("onClickIndicator: ", v), x(v);
1772
1772
  }, x = (v) => {
1773
1773
  if (!t)
1774
- h(
1775
- (C == null ? void 0 : C.name) == v.name ? null : v
1774
+ g(
1775
+ (h == null ? void 0 : h.name) == v.name ? null : v
1776
1776
  );
1777
1777
  else {
1778
- let S = C && C.length > 0 ? [...C] : [];
1779
- h(
1778
+ let S = h && h.length > 0 ? [...h] : [];
1779
+ g(
1780
1780
  S != null && S.some(
1781
1781
  (B) => B.name == v.name
1782
1782
  ) ? S.filter(
@@ -1786,12 +1786,12 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
1786
1786
  }
1787
1787
  };
1788
1788
  L(() => {
1789
- console.log("activeindicator changed to: ", C), i && typeof i == "function" && C && i({ activeIndicator: C });
1790
- }, [C]), Ct(() => {
1791
- if (r && !C)
1789
+ console.log("activeindicator changed to: ", h), i && typeof i == "function" && h && i({ activeIndicator: h });
1790
+ }, [h]), Ct(() => {
1791
+ if (r && !h)
1792
1792
  if (t && r && Array.isArray(r)) {
1793
- let v = C && C.length > 0 ? [...C] : [];
1794
- h([...v, ...r]), w(r[0].name);
1793
+ let v = h && h.length > 0 ? [...h] : [];
1794
+ g([...v, ...r]), w(r[0].name);
1795
1795
  } else
1796
1796
  x(r), w(r.name);
1797
1797
  }, []);
@@ -1808,7 +1808,7 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
1808
1808
  });
1809
1809
  S && p(S.category);
1810
1810
  };
1811
- return /* @__PURE__ */ g("div", { className: Ee.indicatorsList, children: [
1811
+ return /* @__PURE__ */ C("div", { className: Ee.indicatorsList, children: [
1812
1812
  /* @__PURE__ */ s("h2", { className: Ee.title, style: { color: o }, children: c("indicators.indicators") }),
1813
1813
  n.map((v, S) => /* @__PURE__ */ s(
1814
1814
  st,
@@ -1820,7 +1820,7 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
1820
1820
  onClickSubCategory: f,
1821
1821
  activeSubCategory: m,
1822
1822
  onClickIndicator: _,
1823
- activeIndicator: C,
1823
+ activeIndicator: h,
1824
1824
  activeColor: d,
1825
1825
  defaultColor: o,
1826
1826
  multiple: t,
@@ -1853,8 +1853,8 @@ const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o
1853
1853
  const [i, t] = F(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
1854
1854
  r.changeLanguage(c), t(!1);
1855
1855
  };
1856
- return /* @__PURE__ */ g("div", { className: J.langSelector, children: [
1857
- /* @__PURE__ */ g(
1856
+ return /* @__PURE__ */ C("div", { className: J.langSelector, children: [
1857
+ /* @__PURE__ */ C(
1858
1858
  "div",
1859
1859
  {
1860
1860
  className: J.currentLang,
@@ -1931,7 +1931,7 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
1931
1931
  onClickClose: c
1932
1932
  }) => {
1933
1933
  const { t: u } = k();
1934
- return /* @__PURE__ */ g(
1934
+ return /* @__PURE__ */ C(
1935
1935
  "div",
1936
1936
  {
1937
1937
  style: n ? { ...n } : {},
@@ -1939,15 +1939,15 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
1939
1939
  children: [
1940
1940
  /* @__PURE__ */ s("button", { className: V.closeButton, onClick: c }),
1941
1941
  d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
1942
- o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: m }) => /* @__PURE__ */ g("li", { children: [
1942
+ o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: m }) => /* @__PURE__ */ C("li", { children: [
1943
1943
  /* @__PURE__ */ s("h3", { className: V.title, children: `${p}:` }),
1944
- /* @__PURE__ */ g("span", { className: V.value, children: [
1944
+ /* @__PURE__ */ C("span", { className: V.value, children: [
1945
1945
  "  ",
1946
1946
  m
1947
1947
  ] })
1948
1948
  ] }, d)) }) }),
1949
1949
  /* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Me, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
1950
- /* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ g("div", { className: V.absoluteValueContainer, children: [
1950
+ /* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ C("div", { className: V.absoluteValueContainer, children: [
1951
1951
  /* @__PURE__ */ s(
1952
1952
  "div",
1953
1953
  {
@@ -1957,20 +1957,20 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
1957
1957
  }
1958
1958
  }
1959
1959
  ),
1960
- /* @__PURE__ */ g("div", { className: V.absoluteValueText, children: [
1961
- /* @__PURE__ */ g("span", { children: [
1960
+ /* @__PURE__ */ C("div", { className: V.absoluteValueText, children: [
1961
+ /* @__PURE__ */ C("span", { children: [
1962
1962
  r.maxValue,
1963
1963
  " ",
1964
1964
  u(r.unit)
1965
1965
  ] }),
1966
- /* @__PURE__ */ g("span", { children: [
1966
+ /* @__PURE__ */ C("span", { children: [
1967
1967
  r.minValue,
1968
1968
  " ",
1969
1969
  u(r.unit)
1970
1970
  ] })
1971
1971
  ] })
1972
1972
  ] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
1973
- ({ title: p, color: m }) => /* @__PURE__ */ g("div", { className: V.elementLegendContainer, children: [
1973
+ ({ title: p, color: m }) => /* @__PURE__ */ C("div", { className: V.elementLegendContainer, children: [
1974
1974
  /* @__PURE__ */ s(
1975
1975
  "div",
1976
1976
  {
@@ -1978,7 +1978,7 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
1978
1978
  style: { backgroundColor: m }
1979
1979
  }
1980
1980
  ),
1981
- /* @__PURE__ */ g("div", { className: V.titleLegendElement, children: [
1981
+ /* @__PURE__ */ C("div", { className: V.titleLegendElement, children: [
1982
1982
  u(p),
1983
1983
  " "
1984
1984
  ] })
@@ -2044,15 +2044,15 @@ const I0 = ({
2044
2044
  sources: u = [],
2045
2045
  layers: p = []
2046
2046
  }) => {
2047
- const m = Fe(), [y, C] = F(null), h = yt((b) => b.mapState.showTexts);
2047
+ const m = Fe(), [y, h] = F(null), g = yt((b) => b.mapState.showTexts);
2048
2048
  return L(() => {
2049
2049
  if (m.current) {
2050
2050
  const b = m.current.getMap();
2051
2051
  b.getStyle().layers.map((_) => {
2052
- _.type == "symbol" && _.id != "professionals" && (h ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
2052
+ _.type == "symbol" && _.id != "professionals" && (g ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
2053
2053
  });
2054
2054
  }
2055
- }, [h]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ g(
2055
+ }, [g]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ C(
2056
2056
  vt,
2057
2057
  {
2058
2058
  initialViewState: n,
@@ -2088,7 +2088,7 @@ const I0 = ({
2088
2088
  longitude: c.longitude,
2089
2089
  latitude: c.latitude,
2090
2090
  anchor: c.anchor,
2091
- onClose: () => C(null),
2091
+ onClose: () => h(null),
2092
2092
  children: c.content
2093
2093
  }
2094
2094
  )
@@ -2148,8 +2148,8 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
2148
2148
  title: j0
2149
2149
  }, z0 = ({ props: n }) => {
2150
2150
  const { t: d } = k();
2151
- return /* @__PURE__ */ s("div", { className: je.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ g("p", { children: [
2152
- /* @__PURE__ */ g("span", { className: je.title, children: [
2151
+ return /* @__PURE__ */ s("div", { className: je.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ C("p", { children: [
2152
+ /* @__PURE__ */ C("span", { className: je.title, children: [
2153
2153
  /* @__PURE__ */ s(Me, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
2154
2154
  ": "
2155
2155
  ] }),
@@ -2171,28 +2171,28 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
2171
2171
  filters: p,
2172
2172
  popUpParams: m,
2173
2173
  onClosePopUp: y,
2174
- showTexts: C
2174
+ showTexts: h
2175
2175
  }) => {
2176
2176
  console.log(p);
2177
- const h = Fe();
2177
+ const g = Fe();
2178
2178
  return L(() => {
2179
- if (h.current) {
2180
- const b = h.current.getMap();
2179
+ if (g.current) {
2180
+ const b = g.current.getMap();
2181
2181
  b.getStyle().layers.map((_) => {
2182
- _.type == "symbol" && _.id != "professionals" && (C ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
2182
+ _.type == "symbol" && _.id != "professionals" && (h ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
2183
2183
  });
2184
2184
  }
2185
- }, [C]), L(() => {
2185
+ }, [h]), L(() => {
2186
2186
  let b = new St();
2187
2187
  return pe.addProtocol("pmtiles", b.tile), () => {
2188
2188
  pe.removeProtocol("pmtiles");
2189
2189
  };
2190
- }, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ g(
2190
+ }, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ C(
2191
2191
  Bt,
2192
2192
  {
2193
2193
  mapLib: pe,
2194
2194
  initialViewState: n,
2195
- ref: h,
2195
+ ref: g,
2196
2196
  hash: !1,
2197
2197
  maxZoom: d,
2198
2198
  minZoom: o,
@@ -2291,10 +2291,10 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2291
2291
  width: r
2292
2292
  }) => {
2293
2293
  const { t: l } = k();
2294
- return /* @__PURE__ */ g("div", { className: H.sectionBar, style: { width: r && r }, children: [
2295
- /* @__PURE__ */ g("div", { className: H.leftContent, children: [
2294
+ return /* @__PURE__ */ C("div", { className: H.sectionBar, style: { width: r && r }, children: [
2295
+ /* @__PURE__ */ C("div", { className: H.leftContent, children: [
2296
2296
  n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
2297
- /* @__PURE__ */ g("div", { className: H.textContainer, children: [
2297
+ /* @__PURE__ */ C("div", { className: H.textContainer, children: [
2298
2298
  /* @__PURE__ */ s("div", { className: H.title, children: l(d) }),
2299
2299
  o && /* @__PURE__ */ s("div", { className: H.subtitle, children: o })
2300
2300
  ] })
@@ -2337,7 +2337,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2337
2337
  a(x), c(fe(x - 2e3));
2338
2338
  }, [p, m] = F(!1), y = () => {
2339
2339
  m(!0);
2340
- }, C = () => {
2340
+ }, h = () => {
2341
2341
  m(!1);
2342
2342
  };
2343
2343
  ((_, x) => {
@@ -2384,7 +2384,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2384
2384
  { label: "", value: 2041 },
2385
2385
  { label: "", value: 2050 }
2386
2386
  ];
2387
- return /* @__PURE__ */ s(Ot, { theme: b, children: /* @__PURE__ */ g(
2387
+ return /* @__PURE__ */ s(Ot, { theme: b, children: /* @__PURE__ */ C(
2388
2388
  At,
2389
2389
  {
2390
2390
  sx: { width: 400 },
@@ -2409,7 +2409,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
2409
2409
  ),
2410
2410
  i,
2411
2411
  !p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: J0, alt: "Play" }) }),
2412
- p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: C, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
2412
+ p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: h, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
2413
2413
  ]
2414
2414
  }
2415
2415
  ) });
@@ -2548,15 +2548,15 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2548
2548
  processTooltip: c,
2549
2549
  defaultTooltip: u
2550
2550
  }) => {
2551
- const { nom: p, created_at: m, id: y, isBeingProcessed: C } = n, [h, b] = F(!1), { t: f } = k();
2552
- return /* @__PURE__ */ g(
2551
+ const { nom: p, created_at: m, id: y, isBeingProcessed: h } = n, [g, b] = F(!1), { t: f } = k();
2552
+ return /* @__PURE__ */ C(
2553
2553
  "div",
2554
2554
  {
2555
2555
  className: O.listElement,
2556
2556
  style: { borderBottom: `1px solid ${t}` },
2557
2557
  children: [
2558
- /* @__PURE__ */ g("div", { className: O.elementNameDate, onClick: () => d(y), children: [
2559
- l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ g("div", { className: O.elementName, children: [
2558
+ /* @__PURE__ */ C("div", { className: O.elementNameDate, onClick: () => d(y), children: [
2559
+ l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ C("div", { className: O.elementName, children: [
2560
2560
  o ? /* @__PURE__ */ s(T1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
2561
2561
  "img",
2562
2562
  {
@@ -2570,35 +2570,35 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2570
2570
  l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
2571
2571
  l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
2572
2572
  ] }),
2573
- /* @__PURE__ */ g("div", { className: O.elementButtons, children: [
2574
- n.processing && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
2573
+ /* @__PURE__ */ C("div", { className: O.elementButtons, children: [
2574
+ n.processing && /* @__PURE__ */ C("div", { className: "tooltip-parent", children: [
2575
2575
  /* @__PURE__ */ s("img", { src: D1 }),
2576
2576
  /* @__PURE__ */ s(U, { text: c, position: "left" })
2577
2577
  ] }),
2578
- a.filter && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
2578
+ a.filter && !n.is_default && /* @__PURE__ */ C("div", { className: "tooltip-parent", children: [
2579
2579
  /* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: M1 }) }),
2580
2580
  /* @__PURE__ */ s(U, { text: a.filter.tooltiptext, position: "left" })
2581
2581
  ] }),
2582
- a.copy && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
2582
+ a.copy && /* @__PURE__ */ C("div", { className: "tooltip-parent", children: [
2583
2583
  /* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
2584
2584
  /* @__PURE__ */ s(U, { text: a.copy.tooltiptext, position: "left" })
2585
2585
  ] }),
2586
- a.trash && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
2586
+ a.trash && !n.is_default && /* @__PURE__ */ C("div", { className: "tooltip-parent", children: [
2587
2587
  /* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: B1 }) }),
2588
2588
  /* @__PURE__ */ s(U, { text: a.trash.tooltiptext, position: "left" })
2589
2589
  ] }),
2590
- n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
2590
+ n.is_default && /* @__PURE__ */ C("div", { className: "tooltip-parent", children: [
2591
2591
  /* @__PURE__ */ s("img", { src: L1 }),
2592
2592
  /* @__PURE__ */ s(U, { text: u, position: "left" })
2593
2593
  ] })
2594
2594
  ] }),
2595
2595
  r && /* @__PURE__ */ s("div", { className: O.break }),
2596
- r && /* @__PURE__ */ g("div", { className: O.moreInfoContainer, children: [
2597
- /* @__PURE__ */ g("div", { className: O.moreInfo, onClick: () => b(!h), children: [
2598
- /* @__PURE__ */ s("span", { children: h ? "-" : "+" }),
2596
+ r && /* @__PURE__ */ C("div", { className: O.moreInfoContainer, children: [
2597
+ /* @__PURE__ */ C("div", { className: O.moreInfo, onClick: () => b(!g), children: [
2598
+ /* @__PURE__ */ s("span", { children: g ? "-" : "+" }),
2599
2599
  f(r.label)
2600
2600
  ] }),
2601
- r && h && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2601
+ r && g && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2602
2602
  ] })
2603
2603
  ]
2604
2604
  }
@@ -2648,7 +2648,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2648
2648
  containerStyles: r = {},
2649
2649
  newElementButton: l,
2650
2650
  //{label: 'text', onClick: function()}/null
2651
- onClickElement: a = (C) => console.log(`OnCLickElement: ${C}`),
2651
+ onClickElement: a = (h) => console.log(`OnCLickElement: ${h}`),
2652
2652
  columns: c,
2653
2653
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2654
2654
  elementButtons: u,
@@ -2660,45 +2660,45 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2660
2660
  defaultTooltip: y
2661
2661
  //texto para el tooltip del símbolo de candado para los elementos default
2662
2662
  }) => {
2663
- const { t: C } = k(), [h, b] = F(n);
2663
+ const { t: h } = k(), [g, b] = F(n);
2664
2664
  L(() => {
2665
2665
  n && b(n);
2666
2666
  }, [n]);
2667
2667
  const f = (_) => {
2668
- if (h && h.length > 0) {
2669
- let x = [...h];
2668
+ if (g && g.length > 0) {
2669
+ let x = [...g];
2670
2670
  x.sort((w, v) => w[_].localeCompare(v[_])), b(x);
2671
2671
  }
2672
2672
  };
2673
- return /* @__PURE__ */ g(
2673
+ return /* @__PURE__ */ C(
2674
2674
  "div",
2675
2675
  {
2676
2676
  className: I.elementSelector,
2677
2677
  style: { color: o, ...r },
2678
2678
  children: [
2679
- /* @__PURE__ */ g(
2679
+ /* @__PURE__ */ C(
2680
2680
  "div",
2681
2681
  {
2682
2682
  className: I.header,
2683
2683
  style: { borderBottom: `1px solid ${o}` },
2684
2684
  children: [
2685
- /* @__PURE__ */ g("div", { className: I.nameDateContainer, children: [
2686
- c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ g("button", { onClick: () => f("name"), children: [
2687
- /* @__PURE__ */ s("span", { children: C(c.nom) }),
2685
+ /* @__PURE__ */ C("div", { className: I.nameDateContainer, children: [
2686
+ c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ C("button", { onClick: () => f("name"), children: [
2687
+ /* @__PURE__ */ s("span", { children: h(c.nom) }),
2688
2688
  /* @__PURE__ */ s("img", { src: qe })
2689
2689
  ] }) }),
2690
- c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ g("button", { onClick: () => f("date"), children: [
2691
- /* @__PURE__ */ s("span", { children: C(c.data) }),
2690
+ c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ C("button", { onClick: () => f("date"), children: [
2691
+ /* @__PURE__ */ s("span", { children: h(c.data) }),
2692
2692
  /* @__PURE__ */ s("img", { src: qe })
2693
2693
  ] }) }),
2694
- c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: C(c.ambit) }) }),
2695
- c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: C(c.escenari) }) })
2694
+ c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: h(c.ambit) }) }),
2695
+ c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: h(c.escenari) }) })
2696
2696
  ] }),
2697
2697
  /* @__PURE__ */ s("div", { className: I.buttonsContainer })
2698
2698
  ]
2699
2699
  }
2700
2700
  ),
2701
- /* @__PURE__ */ s("div", { className: I.elementListContainer, children: h && h.length > 0 && h.map((_) => /* @__PURE__ */ s(
2701
+ /* @__PURE__ */ s("div", { className: I.elementListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ s(
2702
2702
  rt,
2703
2703
  {
2704
2704
  isActive: d == _.id,
@@ -2720,7 +2720,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2720
2720
  style: { ...t },
2721
2721
  onClick: l.onClick,
2722
2722
  borderColor: "grey",
2723
- children: C(l.label)
2723
+ children: h(l.label)
2724
2724
  }
2725
2725
  ) })
2726
2726
  ]
@@ -2924,13 +2924,13 @@ function en(n) {
2924
2924
  name: o
2925
2925
  },
2926
2926
  type: Ke.CHANGE
2927
- }), [o]), C = N.useCallback(() => p.current.onBlur({
2927
+ }), [o]), h = N.useCallback(() => p.current.onBlur({
2928
2928
  target: {
2929
2929
  value: $(t._formValues, o),
2930
2930
  name: o
2931
2931
  },
2932
2932
  type: Ke.BLUR
2933
- }), [o, t._formValues]), h = N.useCallback((f) => {
2933
+ }), [o, t._formValues]), g = N.useCallback((f) => {
2934
2934
  const _ = $(t._fields, o);
2935
2935
  _ && f && (_._f.ref = {
2936
2936
  focus: () => f.focus && f.focus(),
@@ -2943,9 +2943,9 @@ function en(n) {
2943
2943
  value: a,
2944
2944
  ...ye(i) || c.disabled ? { disabled: c.disabled || i } : {},
2945
2945
  onChange: y,
2946
- onBlur: C,
2947
- ref: h
2948
- }), [o, i, c.disabled, y, C, h, a]);
2946
+ onBlur: h,
2947
+ ref: g
2948
+ }), [o, i, c.disabled, y, h, g, a]);
2949
2949
  return N.useEffect(() => {
2950
2950
  const f = t._options.shouldUnregister || r;
2951
2951
  t.register(o, {
@@ -3005,26 +3005,26 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3005
3005
  console.log("Click on forgot password");
3006
3006
  },
3007
3007
  forgotPassLabel: y = "forgot-password"
3008
- } = n, { t: C } = k(), [h, b] = F(!1), f = () => i ? i === "password" && h ? "text" : i : "text";
3008
+ } = n, { t: h } = k(), [g, b] = F(!1), f = () => i ? i === "password" && g ? "text" : i : "text";
3009
3009
  return /* @__PURE__ */ s(
3010
3010
  tn,
3011
3011
  {
3012
3012
  name: o,
3013
3013
  control: d,
3014
3014
  rules: {
3015
- required: l ? `${C(t)} ${C("errorMessages.required")}` : !1,
3015
+ required: l ? `${h(t)} ${h("errorMessages.required")}` : !1,
3016
3016
  maxLength: r || void 0,
3017
3017
  validate: a || void 0
3018
3018
  },
3019
3019
  render: ({ field: _, fieldState: x }) => {
3020
3020
  var w;
3021
- return /* @__PURE__ */ g("div", { className: ne.textInputContainer, children: [
3022
- /* @__PURE__ */ g("h3", { className: ne.labelContainer, children: [
3023
- t,
3021
+ return /* @__PURE__ */ C("div", { className: ne.textInputContainer, children: [
3022
+ /* @__PURE__ */ C("h3", { className: ne.labelContainer, children: [
3023
+ h(t),
3024
3024
  " ",
3025
3025
  l && /* @__PURE__ */ s("label", { style: { color: x.error ? u : "" }, children: "*" })
3026
3026
  ] }),
3027
- /* @__PURE__ */ g(
3027
+ /* @__PURE__ */ C(
3028
3028
  "div",
3029
3029
  {
3030
3030
  style: { position: "relative", width: p },
@@ -3035,23 +3035,23 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3035
3035
  {
3036
3036
  type: f(),
3037
3037
  ..._,
3038
- placeholder: c ? C(c) : "",
3038
+ placeholder: c ? h(c) : "",
3039
3039
  maxLength: r || void 0
3040
3040
  }
3041
3041
  ),
3042
3042
  i == "password" && /* @__PURE__ */ s(
3043
3043
  "button",
3044
3044
  {
3045
- onClick: () => b(!h),
3045
+ onClick: () => b(!g),
3046
3046
  type: "button",
3047
3047
  className: ne.showPasswordButton,
3048
- children: h ? "🙈" : "👁️"
3048
+ children: g ? "🙈" : "👁️"
3049
3049
  }
3050
3050
  )
3051
3051
  ]
3052
3052
  }
3053
3053
  ),
3054
- i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: m, children: C(y) }) }),
3054
+ i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: m, children: h(y) }) }),
3055
3055
  /* @__PURE__ */ s(
3056
3056
  mt,
3057
3057
  {
@@ -3117,16 +3117,16 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3117
3117
  L(() => {
3118
3118
  console.log("Errors ", y);
3119
3119
  }, [JSON.stringify(y)]);
3120
- const { t: C } = k();
3120
+ const { t: h } = k();
3121
3121
  return (
3122
3122
  /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3123
- /* @__PURE__ */ g("form", { className: _e.formContainer, onSubmit: u(a), children: [
3124
- /* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((h, b) => {
3125
- const { inputs: f } = h;
3126
- return h.category ? o ? /* @__PURE__ */ s(
3123
+ /* @__PURE__ */ C("form", { className: _e.formContainer, onSubmit: u(a), children: [
3124
+ /* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((g, b) => {
3125
+ const { inputs: f } = g;
3126
+ return g.category ? o ? /* @__PURE__ */ s(
3127
3127
  o,
3128
3128
  {
3129
- title: h.category,
3129
+ title: g.category,
3130
3130
  children: /* @__PURE__ */ s(
3131
3131
  xe,
3132
3132
  {
@@ -3137,9 +3137,9 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3137
3137
  }
3138
3138
  )
3139
3139
  },
3140
- `${h.category}${b}`
3141
- ) : /* @__PURE__ */ g("div", { style: { width: "100%" }, children: [
3142
- /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: h.category }),
3140
+ `${g.category}${b}`
3141
+ ) : /* @__PURE__ */ C("div", { style: { width: "100%" }, children: [
3142
+ /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: g.category }),
3143
3143
  /* @__PURE__ */ s("p", { children: "This is a category component example." }),
3144
3144
  /* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
3145
3145
  xe,
@@ -3150,7 +3150,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3150
3150
  errorColor: r
3151
3151
  }
3152
3152
  ) })
3153
- ] }, `${h.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3153
+ ] }, `${g.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3154
3154
  xe,
3155
3155
  {
3156
3156
  inputContainerStyles: i,
@@ -3160,8 +3160,8 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3160
3160
  }
3161
3161
  ) }, `inputKey${b}`);
3162
3162
  }) }),
3163
- /* @__PURE__ */ g("div", { className: _e.buttonContainer, children: [
3164
- /* @__PURE__ */ s(ce, { type: "submit", children: C(l) }),
3163
+ /* @__PURE__ */ C("div", { className: _e.buttonContainer, children: [
3164
+ /* @__PURE__ */ s(ce, { type: "submit", children: h(l) }),
3165
3165
  /* @__PURE__ */ s(mt, { errorMessage: t, errorColor: r })
3166
3166
  ] })
3167
3167
  ] })
@@ -3182,7 +3182,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
3182
3182
  backgroundColor: l = "#605B56",
3183
3183
  isFooter: a = !1
3184
3184
  // If true, it will apply footer styles
3185
- }) => /* @__PURE__ */ g(
3185
+ }) => /* @__PURE__ */ C(
3186
3186
  "div",
3187
3187
  {
3188
3188
  className: K.header,
@@ -3225,7 +3225,7 @@ const gn = "_sidebar_1jqo2_2", Cn = "_open_1jqo2_16", fn = "_content_1jqo2_20",
3225
3225
  {
3226
3226
  className: `${ae.sidebar} ${o ? ae.open : ""}`,
3227
3227
  style: { width: o ? n : 0 },
3228
- children: o && /* @__PURE__ */ g("div", { className: ae.content, children: [
3228
+ children: o && /* @__PURE__ */ C("div", { className: ae.content, children: [
3229
3229
  /* @__PURE__ */ s("button", { className: ae.closeButton, onClick: t, children: "×" }),
3230
3230
  d
3231
3231
  ] })