@tmf_ciclica/ciclicastorybook 1.1.27 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,80 +1,84 @@
1
- import { jsxs as m, jsx as r, Fragment as qe } from "react/jsx-runtime";
2
- import U, { useState as B, useMemo as te, useEffect as L, useLayoutEffect as Ee, useRef as he } 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_1ueih_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_1ueih_2 ._ambitNameDate_1ueih_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitName_1ueih_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitDate_1ueih_35{flex:.5}._ambitItem_1ueih_2 ._ambitButtons_1ueih_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._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_19lnt_3{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_19lnt_3:after{content:"";z-index:-1;left:100%;top:50%;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;transform-origin:center right}._top_19lnt_33{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;z-index:10;color:#000}._top_19lnt_33:after{content:"";z-index:-1;right:50%;top:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;color:#000;transform-origin:center right}._bottom_19lnt_66{position:absolute;width:auto;top:calc(100% + 10px);right:50%;height:fit-content;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;z-index:10;color:#000}._bottom_19lnt_66:after{content:"";z-index:-1;right:50%;bottom:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:transparent;border-bottom-color:#fff;position:absolute;transform-origin:center right}._right_19lnt_97{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:20px;margin:0;white-space:nowrap;height:fit-content;color:#000;z-index:10}._right_19lnt_97:after{content:"";z-index:-1;right:100%;top:50%;color:#000;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;transform-origin:center right}._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_6o4gt_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitTitle_6o4gt_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_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_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22 ._FiltersAmbitDescriptionTitle_6o4gt_33{font-size:18px;font-weight:600}._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_1of0g_2{position:relative;width:fit-content}._currentLang_1of0g_7{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_1of0g_7 ._arrow_1of0g_19{width:10px}._currentLang_1of0g_7 ._prevImg_1of0g_22{width:20px}._langMenu_1of0g_26{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_1of0g_26 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_1of0g_26 button:first-child{border-radius:8px 8px 0 0}._langMenu_1of0g_26 button:last-child{border-radius:0 0 8px 8px}._langMenu_1of0g_26 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_15agj_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:start;width:fit-content;gap:80px}._TopNavMenuContainer_15agj_2 ._topNavOptions_15agj_12{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center}._TopNavMenuContainer_15agj_2 ._active_15agj_23{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_t7qdl_2{width:100%;display:flex;align-items:center;position:relative;padding:0 16px;background-color:#fff;border-bottom:1px solid black;z-index:10}._header_t7qdl_2 ._leftComponents_t7qdl_12,._header_t7qdl_2 ._centerComponents_t7qdl_13,._header_t7qdl_2 ._rightComponents_t7qdl_14{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_t7qdl_2 ._leftComponents_t7qdl_12{left:16px}._header_t7qdl_2 ._centerComponents_t7qdl_13{left:50%;transform:translate(-50%)}._header_t7qdl_2 ._rightComponents_t7qdl_14{right:16px}._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 m, jsx as r, Fragment as Ee } from "react/jsx-runtime";
3
+ import Z, { useState as D, useEffect as L, useMemo as te, useLayoutEffect as qe, useRef as me } from "react";
3
4
  import e from "prop-types";
4
- import { useTranslation as w, Trans as me } from "react-i18next";
5
- import { motion as ge } from "framer-motion";
5
+ import { useTranslation as k, Trans as ge } from "react-i18next";
6
+ import { motion as Ce } from "framer-motion";
6
7
  import { create as Ke } from "zustand";
7
8
  import * as ye from "d3";
8
- import Ue from "mapbox-gl";
9
- import { useSelector as ce, useDispatch as Te } from "react-redux";
10
- import Ze, { Source as He, Layer as Ge, NavigationControl as Ye, Popup as We } from "react-map-gl/mapbox";
9
+ import Ze from "mapbox-gl";
10
+ import { useSelector as de, useDispatch as Te } from "react-redux";
11
+ import Ue, { Source as He, Layer as Ge, NavigationControl as Ye, Popup as We } from "react-map-gl/mapbox";
11
12
  import ie from "maplibre-gl";
12
13
  import { Protocol as Xe } from "pmtiles";
13
14
  import Je, { Source as Qe, Layer as et, NavigationControl as tt, Popup as nt } from "react-map-gl/maplibre";
14
15
  import { createSlice as Me } from "@reduxjs/toolkit";
15
16
  import it from "@mui/material/Slider";
16
- import { createTheme as st, Box as ot } from "@mui/material";
17
+ import { createTheme as ot, Box as st } from "@mui/material";
17
18
  import { ThemeProvider as rt } from "@emotion/react";
18
19
  import { NavLink as at } from "react-router-dom";
19
- const lt = "_ambitSelector_f07c1_2", ct = "_header_f07c1_13", dt = "_nameDateContainer_f07c1_23", pt = "_ambitName_f07c1_39", ut = "_ambitDate_f07c1_48", ht = "_buttonsContainer_f07c1_51", q = {
20
+ const lt = "_ambitSelector_mcunf_2", ct = "_header_mcunf_13", dt = "_nameDateContainer_mcunf_23", pt = "_ambitName_mcunf_39", ut = "_ambitDate_mcunf_53", ht = "_buttonsContainer_mcunf_67", mt = "_ambitListContainer_mcunf_76", gt = "_newAmbitButtonContainer_mcunf_80", R = {
20
21
  ambitSelector: lt,
21
22
  header: ct,
22
23
  nameDateContainer: dt,
23
24
  ambitName: pt,
24
25
  ambitDate: ut,
25
- buttonsContainer: ht
26
- }, mt = "_ambitItem_1ueih_2", gt = "_ambitNameDate_1ueih_16", bt = "_ambitName_1ueih_16", ft = "_ambitDate_1ueih_35", yt = "_ambitButtons_1ueih_38", H = {
27
- ambitItem: mt,
28
- ambitNameDate: gt,
29
- ambitName: bt,
30
- ambitDate: ft,
31
- ambitButtons: yt
32
- }, Ct = "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", vt = "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", Ce = "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", _t = "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", xt = "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", $e = ({
26
+ buttonsContainer: ht,
27
+ ambitListContainer: mt,
28
+ newAmbitButtonContainer: gt
29
+ }, Ct = "_ambitItem_1ueih_2", bt = "_ambitNameDate_1ueih_16", ft = "_ambitName_1ueih_16", yt = "_ambitDate_1ueih_35", vt = "_ambitButtons_1ueih_38", H = {
30
+ ambitItem: Ct,
31
+ ambitNameDate: bt,
32
+ ambitName: ft,
33
+ ambitDate: yt,
34
+ ambitButtons: vt
35
+ }, _t = "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", xt = "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", wt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", 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%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", Nt = "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", St = "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", Le = ({
33
36
  ambit: i,
34
37
  onClickCopy: d,
35
38
  onClickDelete: o,
36
39
  onClickFilters: n,
37
40
  onClickAmbit: t,
38
- isBeingProcessed: s,
39
- isActive: l,
40
- activeColor: a,
41
- fontColor: c,
42
- moreInfo: p
41
+ isActive: s,
42
+ activeColor: l,
43
+ fontColor: a,
44
+ moreInfo: c
43
45
  }) => {
44
- const { name: u, date: h, id: g } = i;
46
+ const { nom: p, created_at: u, id: h, isBeingProcessed: g } = i;
45
47
  return /* @__PURE__ */ m(
46
48
  "div",
47
49
  {
48
50
  className: H.ambitItem,
49
- style: { borderBottom: `1px solid ${c}` },
51
+ style: { borderBottom: `1px solid ${a}` },
50
52
  children: [
51
- /* @__PURE__ */ m("div", { className: H.ambitNameDate, onClick: () => t(g), children: [
53
+ /* @__PURE__ */ m("div", { className: H.ambitNameDate, onClick: () => t(h), children: [
52
54
  /* @__PURE__ */ m("div", { className: H.ambitName, children: [
53
55
  /* @__PURE__ */ r(
54
56
  "img",
55
57
  {
56
- src: l ? _t : xt
58
+ style: { marginRight: 9 },
59
+ src: s ? Nt : St
57
60
  }
58
61
  ),
59
- /* @__PURE__ */ r("span", { style: { color: l ? a : c }, children: u })
62
+ /* @__PURE__ */ r("span", { style: { color: s ? l : a }, children: p })
60
63
  ] }),
61
- /* @__PURE__ */ r("div", { className: H.ambitDate, children: new Date(h).toLocaleDateString() })
64
+ /* @__PURE__ */ r("div", { className: H.ambitDate, children: new Date(u).toLocaleDateString() })
62
65
  ] }),
63
66
  /* @__PURE__ */ m("div", { className: H.ambitButtons, children: [
64
- s && /* @__PURE__ */ r("img", { src: Ce }),
65
- /* @__PURE__ */ r("button", { onClick: () => n(g), children: /* @__PURE__ */ r("img", { src: Ce }) }),
66
- /* @__PURE__ */ r("button", { onClick: () => d(g), children: /* @__PURE__ */ r("img", { src: vt }) }),
67
- /* @__PURE__ */ r("button", { onClick: () => o(g), children: /* @__PURE__ */ r("img", { src: Ct }) })
67
+ g && /* @__PURE__ */ r("img", { src: kt }),
68
+ /* @__PURE__ */ r("button", { onClick: () => n(h), children: /* @__PURE__ */ r("img", { src: wt }) }),
69
+ /* @__PURE__ */ r("button", { onClick: () => d(h), children: /* @__PURE__ */ r("img", { src: xt }) }),
70
+ /* @__PURE__ */ r("button", { onClick: () => o(h), children: /* @__PURE__ */ r("img", { src: _t }) })
68
71
  ] })
69
72
  ]
70
73
  }
71
74
  );
72
75
  };
73
- $e.propTypes = {
76
+ Le.propTypes = {
74
77
  ambit: e.shape({
75
- name: e.string.isRequired,
76
- date: e.string.isRequired,
77
- id: e.string.isRequired
78
+ nom: e.string.isRequired,
79
+ created_at: e.string.isRequired,
80
+ id: e.string.isRequired,
81
+ isBeingProcessed: e.bool
78
82
  }).isRequired,
79
83
  onClickCopy: e.func.isRequired,
80
84
  onClickDelete: e.func.isRequired,
@@ -87,51 +91,101 @@ $e.propTypes = {
87
91
  moreInfo: e.object
88
92
  // Optional, can be used for additional info
89
93
  };
90
- const kt = "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", wt = ({
94
+ const ve = "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", Tt = "_generalButton_8d6ru_2", Mt = {
95
+ generalButton: Tt
96
+ }, Lt = ({
97
+ children: i,
98
+ onClick: d,
99
+ fontColor: o,
100
+ borderColor: n
101
+ }) => /* @__PURE__ */ r(
102
+ "button",
103
+ {
104
+ className: Mt.generalButton,
105
+ style: { color: o, border: `1.5px solid ${n}` },
106
+ onClick: d,
107
+ children: i
108
+ }
109
+ ), Ft = ({
91
110
  ambitList: i,
92
111
  activeAmbitId: d,
93
112
  fontColor: o = "#605B56",
94
113
  activeColor: n,
95
114
  nameLabel: t,
96
115
  dateLabel: s,
97
- onClickCopy: l = (u) => console.log(`Copy ambit: ${u}`),
98
- onCLickDelete: a = (u) => console.log(`Delete ambit: ${u}`),
99
- onClickFilters: c = (u) => console.log(`Filters clicked: ${u}`),
100
- onClickAmbit: p = (u) => console.log(`OnCLickAmbit: ${u}`)
116
+ newAmbitLabel: l = "New field",
117
+ buttonContainerStyles: a = {},
118
+ containerStyles: c = {},
119
+ onCLickNewAmbit: p = () => console.log("New ambit clicked"),
120
+ onClickCopy: u = (C) => console.log(`Copy ambit: ${C}`),
121
+ onCLickDelete: h = (C) => console.log(`Delete ambit: ${C}`),
122
+ onClickFilters: g = (C) => console.log(`Filters clicked: ${C}`),
123
+ onClickAmbit: f = (C) => console.log(`OnCLickAmbit: ${C}`)
101
124
  }) => {
102
- const { t: u } = w();
103
- return /* @__PURE__ */ m("div", { className: q.ambitSelector, style: { color: o }, children: [
104
- /* @__PURE__ */ m(
105
- "div",
106
- {
107
- className: q.header,
108
- style: { borderBottom: `1px solid ${o}` },
109
- children: [
110
- /* @__PURE__ */ m("div", { className: q.nameDateContainer, children: [
111
- /* @__PURE__ */ r("div", { className: q.ambitName, children: /* @__PURE__ */ r("span", { children: u(t) }) }),
112
- /* @__PURE__ */ r("div", { className: q.ambitDate, children: /* @__PURE__ */ r("span", { children: u(s) }) })
113
- ] }),
114
- /* @__PURE__ */ r("div", { className: q.buttonsContainer })
115
- ]
116
- }
117
- ),
118
- i && i.length > 0 && i.map((h) => /* @__PURE__ */ r(
119
- $e,
120
- {
121
- isActive: d == h.id,
122
- ambit: h,
123
- fontColor: o,
124
- activeColor: n,
125
- onClickCopy: l,
126
- onClickDelete: a,
127
- onClickFilters: c,
128
- onClickAmbit: p
129
- },
130
- `ambitKey${h.id}`
131
- ))
132
- ] });
125
+ const { t: C } = k(), [b, v] = D(i);
126
+ L(() => {
127
+ i && v(i);
128
+ }, [i]);
129
+ const y = (_) => {
130
+ if (b && b.length > 0) {
131
+ let w = [...b];
132
+ w.sort((x, N) => x[_].localeCompare(N[_])), v(w);
133
+ }
134
+ };
135
+ return /* @__PURE__ */ m(
136
+ "div",
137
+ {
138
+ className: R.ambitSelector,
139
+ style: { color: o, ...c },
140
+ children: [
141
+ /* @__PURE__ */ m(
142
+ "div",
143
+ {
144
+ className: R.header,
145
+ style: { borderBottom: `1px solid ${o}` },
146
+ children: [
147
+ /* @__PURE__ */ m("div", { className: R.nameDateContainer, children: [
148
+ /* @__PURE__ */ r("div", { className: R.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => y("name"), children: [
149
+ /* @__PURE__ */ r("span", { children: C(t) }),
150
+ /* @__PURE__ */ r("img", { src: ve })
151
+ ] }) }),
152
+ /* @__PURE__ */ r("div", { className: R.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => y("date"), children: [
153
+ /* @__PURE__ */ r("span", { children: C(s) }),
154
+ /* @__PURE__ */ r("img", { src: ve })
155
+ ] }) })
156
+ ] }),
157
+ /* @__PURE__ */ r("div", { className: R.buttonsContainer })
158
+ ]
159
+ }
160
+ ),
161
+ /* @__PURE__ */ r("div", { className: R.ambitListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ r(
162
+ Le,
163
+ {
164
+ isActive: d == _.id,
165
+ ambit: _,
166
+ fontColor: o,
167
+ activeColor: n,
168
+ onClickCopy: u,
169
+ onClickDelete: h,
170
+ onClickFilters: g,
171
+ onClickAmbit: f
172
+ },
173
+ `ambitKey${_.id}`
174
+ )) }),
175
+ /* @__PURE__ */ r("div", { className: R.newAmbitButtonContainer, children: /* @__PURE__ */ r(
176
+ Lt,
177
+ {
178
+ style: { ...a },
179
+ onClick: p,
180
+ borderColor: "grey",
181
+ children: C(l)
182
+ }
183
+ ) })
184
+ ]
185
+ }
186
+ );
133
187
  };
134
- wt.propTypes = {
188
+ Ft.propTypes = {
135
189
  ambitList: e.arrayOf(
136
190
  e.shape({
137
191
  name: e.string.isRequired,
@@ -145,30 +199,36 @@ wt.propTypes = {
145
199
  onClickCopy: e.func.isRequired,
146
200
  onCLickDelete: e.func.isRequired,
147
201
  onClickFilters: e.func.isRequired,
148
- onClickAmbit: e.func.isRequired
202
+ onClickAmbit: e.func.isRequired,
203
+ nameLabel: e.string,
204
+ dateLabel: e.string,
205
+ newAmbitLabel: e.string,
206
+ buttonContainerStyles: e.object,
207
+ containerStyles: e.object,
208
+ onCLickNewAmbit: e.func
149
209
  };
150
- const Nt = "_buttonsContainer_1audx_2", St = "_vertical_1audx_6", Tt = "_horizontal_1audx_9", Mt = "_button_1audx_2", $t = "_active_1audx_25", Lt = "_buttonName_1audx_28", I = {
151
- buttonsContainer: Nt,
152
- vertical: St,
153
- horizontal: Tt,
154
- button: Mt,
155
- active: $t,
156
- buttonName: Lt
157
- }, Ft = "_left_19lnt_3", Bt = "_top_19lnt_33", Dt = "_bottom_19lnt_66", At = "_right_19lnt_97", Ot = {
158
- left: Ft,
159
- top: Bt,
160
- bottom: Dt,
161
- right: At
162
- }, Le = ({ text: i, position: d, styleCustom: o = null }) => {
163
- const { t: n } = w();
164
- return /* @__PURE__ */ r("div", { className: `tooltip ${Ot[d]}`, style: o, children: n(i) });
210
+ const Bt = "_buttonsContainer_1audx_2", Dt = "_vertical_1audx_6", $t = "_horizontal_1audx_9", At = "_button_1audx_2", Ot = "_active_1audx_25", It = "_buttonName_1audx_28", V = {
211
+ buttonsContainer: Bt,
212
+ vertical: Dt,
213
+ horizontal: $t,
214
+ button: At,
215
+ active: Ot,
216
+ buttonName: It
217
+ }, Rt = "_left_19lnt_3", Vt = "_top_19lnt_33", jt = "_bottom_19lnt_66", zt = "_right_19lnt_97", Pt = {
218
+ left: Rt,
219
+ top: Vt,
220
+ bottom: jt,
221
+ right: zt
222
+ }, Fe = ({ text: i, position: d, styleCustom: o = null }) => {
223
+ const { t: n } = k();
224
+ return /* @__PURE__ */ r("div", { className: `tooltip ${Pt[d]}`, style: o, children: n(i) });
165
225
  };
166
- Le.propTypes = {
226
+ Fe.propTypes = {
167
227
  text: e.string.isRequired,
168
228
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
169
229
  styleCustom: e.object
170
230
  };
171
- const Rt = ({
231
+ const Et = ({
172
232
  buttons: i = [],
173
233
  orientation: d = "horizontal",
174
234
  showName: o = !0,
@@ -176,41 +236,41 @@ const Rt = ({
176
236
  useTooltip: t = !1,
177
237
  tooltipPosition: s = "top"
178
238
  }) => {
179
- const { t: l } = w();
239
+ const { t: l } = k();
180
240
  return /* @__PURE__ */ r(
181
241
  "div",
182
242
  {
183
- className: `${I.buttonsContainer} ${d === "vertical" && I.vertical}
184
- ${d === "horizontal" && I.horizontal}`,
243
+ className: `${V.buttonsContainer} ${d === "vertical" && V.vertical}
244
+ ${d === "horizontal" && V.horizontal}`,
185
245
  children: i.map((a, c) => {
186
246
  const {
187
247
  icon: p,
188
248
  activeIcon: u,
189
249
  isActive: h,
190
250
  name: g,
191
- onClick: b
192
- } = a, C = /* @__PURE__ */ m(qe, { children: [
193
- o && n === "left" && /* @__PURE__ */ r("span", { className: I.buttonName, children: l(g) }),
251
+ onClick: f
252
+ } = a, C = /* @__PURE__ */ m(Ee, { children: [
253
+ o && n === "left" && /* @__PURE__ */ r("span", { className: V.buttonName, children: l(g) }),
194
254
  /* @__PURE__ */ r("img", { src: h ? u : p, alt: l(g) }),
195
- o && n === "right" && /* @__PURE__ */ r("span", { className: I.buttonName, children: l(g) })
255
+ o && n === "right" && /* @__PURE__ */ r("span", { className: V.buttonName, children: l(g) })
196
256
  ] });
197
257
  return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
198
258
  /* @__PURE__ */ r(
199
259
  "button",
200
260
  {
201
- onClick: b,
202
- className: `${I.button}
203
- ${h && I.active}`,
261
+ onClick: f,
262
+ className: `${V.button}
263
+ ${h && V.active}`,
204
264
  children: C
205
265
  }
206
266
  ),
207
- t && /* @__PURE__ */ r(Le, { text: g, position: s })
267
+ t && /* @__PURE__ */ r(Fe, { text: g, position: s })
208
268
  ] }, c);
209
269
  })
210
270
  }
211
271
  );
212
272
  };
213
- Rt.propTypes = {
273
+ Et.propTypes = {
214
274
  buttons: e.arrayOf(
215
275
  e.shape({
216
276
  icon: e.node.isRequired,
@@ -227,10 +287,10 @@ Rt.propTypes = {
227
287
  useTooltip: e.bool,
228
288
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
229
289
  };
230
- const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", se = {
231
- indicatorsCategory: It,
232
- title: zt
233
- }, j = ({
290
+ const qt = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", oe = {
291
+ indicatorsCategory: qt,
292
+ title: Kt
293
+ }, P = ({
234
294
  isOpen: i,
235
295
  onClick: d,
236
296
  children: o,
@@ -244,11 +304,11 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", se = {
244
304
  showBottomBar: c = !0,
245
305
  titleMarginChildren: p = 25
246
306
  }) => {
247
- const { t: u } = w();
307
+ const { t: u } = k();
248
308
  return /* @__PURE__ */ m(
249
- ge.div,
309
+ Ce.div,
250
310
  {
251
- className: se.indicatorsCategory,
311
+ className: oe.indicatorsCategory,
252
312
  initial: { height: `${l}px` },
253
313
  animate: { height: i ? "auto" : `${l}px` },
254
314
  transition: { duration: 0.4 },
@@ -265,7 +325,7 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", se = {
265
325
  ...a,
266
326
  marginBottom: p || "auto"
267
327
  },
268
- className: `${se.title}`,
328
+ className: `${oe.title}`,
269
329
  onClick: d,
270
330
  children: [
271
331
  /* @__PURE__ */ r("span", { style: { color: i ? t : n }, children: i ? "-" : "+" }),
@@ -273,12 +333,12 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", se = {
273
333
  ]
274
334
  }
275
335
  ),
276
- /* @__PURE__ */ r("div", { className: se.content, children: o })
336
+ /* @__PURE__ */ r("div", { className: oe.content, children: o })
277
337
  ]
278
338
  }
279
339
  );
280
340
  };
281
- j.propTypes = {
341
+ P.propTypes = {
282
342
  isOpen: e.bool,
283
343
  onClick: e.func,
284
344
  children: e.node,
@@ -289,9 +349,9 @@ j.propTypes = {
289
349
  showBottomBar: e.bool,
290
350
  titleFontStyles: e.object
291
351
  };
292
- const os = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Vt = "_AppliedFiltersContainer_s8ooe_2", jt = "_AppliedFilterContent_s8ooe_10", ve = {
293
- AppliedFiltersContainer: Vt,
294
- AppliedFilterContent: jt
352
+ const ho = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Zt = "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", Ut = "_AppliedFiltersContainer_s8ooe_2", Ht = "_AppliedFilterContent_s8ooe_10", _e = {
353
+ AppliedFiltersContainer: Ut,
354
+ AppliedFilterContent: Ht
295
355
  }, T = Ke((i) => ({
296
356
  activeCategory: "",
297
357
  activeSubCategory: "",
@@ -299,8 +359,8 @@ const os = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Vt = "_App
299
359
  tematicalFiltersSelected: [],
300
360
  fontColor: "#605B56",
301
361
  inputsColor: "#605B56"
302
- })), Fe = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
303
- const { t: l } = w(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
362
+ })), Be = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
363
+ const { t: l } = k(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
304
364
  T.setState((u) => ({
305
365
  tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
306
366
  (h) => h.code !== p
@@ -308,20 +368,20 @@ const os = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Vt = "_App
308
368
  }));
309
369
  };
310
370
  return /* @__PURE__ */ r(
311
- j,
371
+ P,
312
372
  {
313
373
  isOpen: o,
314
374
  onClick: d,
315
375
  title: i ? l(i) : "Applied Filters",
316
376
  activeColor: s,
317
- children: /* @__PURE__ */ r("div", { className: ve.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ m("div", { className: ve.AppliedFilterContent, style: { color: n, background: t }, children: [
377
+ children: /* @__PURE__ */ r("div", { className: _e.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ m("div", { className: _e.AppliedFilterContent, style: { color: n, background: t }, children: [
318
378
  l(p.name),
319
- /* @__PURE__ */ r("img", { src: kt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
379
+ /* @__PURE__ */ r("img", { src: Zt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
320
380
  ] }, u)) })
321
381
  }
322
382
  );
323
383
  };
324
- Fe.propTypes = {
384
+ Be.propTypes = {
325
385
  isOpen: e.bool,
326
386
  onClick: e.func,
327
387
  title: e.string,
@@ -335,10 +395,10 @@ Fe.propTypes = {
335
395
  ),
336
396
  activeColor: e.string
337
397
  };
338
- const Be = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
339
- const { t: l } = w(), { tematicalFiltersSelected: a } = T((c) => c);
398
+ const De = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
399
+ const { t: l } = k(), { tematicalFiltersSelected: a } = T((c) => c);
340
400
  return /* @__PURE__ */ r(
341
- j,
401
+ P,
342
402
  {
343
403
  isOpen: o,
344
404
  onClick: d,
@@ -348,7 +408,7 @@ const Be = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", ba
348
408
  }
349
409
  );
350
410
  };
351
- Be.propTypes = {
411
+ De.propTypes = {
352
412
  isOpen: e.bool,
353
413
  onClick: e.func,
354
414
  title: e.string,
@@ -356,22 +416,22 @@ Be.propTypes = {
356
416
  backgroundColor: e.string,
357
417
  activeColor: e.string
358
418
  };
359
- const Pt = "_checkboxContainer_zld97_2", qt = {
360
- checkboxContainer: Pt
361
- }, De = ({
419
+ const Gt = "_checkboxContainer_zld97_2", Yt = {
420
+ checkboxContainer: Gt
421
+ }, $e = ({
362
422
  onClick: i,
363
423
  containerStyles: d,
364
424
  color: o = "#605B56",
365
425
  indicator: n,
366
426
  value: t
367
427
  }) => {
368
- const { t: s } = w(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
428
+ const { t: s } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
369
429
  return /* @__PURE__ */ m(
370
430
  "div",
371
431
  {
372
432
  style: { ...d, color: o },
373
433
  role: "checkbox",
374
- className: qt.checkboxContainer,
434
+ className: Yt.checkboxContainer,
375
435
  onClick: i,
376
436
  children: [
377
437
  /* @__PURE__ */ r(
@@ -392,7 +452,7 @@ const Pt = "_checkboxContainer_zld97_2", qt = {
392
452
  }
393
453
  );
394
454
  };
395
- De.propTypes = {
455
+ $e.propTypes = {
396
456
  onClick: e.func,
397
457
  value: e.bool,
398
458
  containerStyles: e.object,
@@ -403,15 +463,15 @@ De.propTypes = {
403
463
  }),
404
464
  checkedColor: e.string
405
465
  };
406
- function de(i, d) {
407
- return de = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
466
+ function pe(i, d) {
467
+ return pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
408
468
  return o.__proto__ = n, o;
409
- }, de(i, d);
469
+ }, pe(i, d);
410
470
  }
411
- function Et(i, d) {
412
- i.prototype = Object.create(d.prototype), i.prototype.constructor = i, de(i, d);
471
+ function Wt(i, d) {
472
+ i.prototype = Object.create(d.prototype), i.prototype.constructor = i, pe(i, d);
413
473
  }
414
- function oe(i) {
474
+ function se(i) {
415
475
  return i && i.stopPropagation && i.stopPropagation(), i && i.preventDefault && i.preventDefault(), !1;
416
476
  }
417
477
  function re(i) {
@@ -425,18 +485,18 @@ function X(i) {
425
485
  typeof document < "u" && document.addEventListener(d, i[d], !1);
426
486
  });
427
487
  }
428
- function z(i, d) {
429
- return pe(function(o, n) {
488
+ function j(i, d) {
489
+ return ue(function(o, n) {
430
490
  let t = o;
431
491
  return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
432
492
  }(i, d), d);
433
493
  }
434
- function pe(i, d) {
494
+ function ue(i, d) {
435
495
  const o = (i - d.min) % d.step;
436
496
  let n = i - o;
437
497
  return 2 * Math.abs(o) >= d.step && (n += o > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
438
498
  }
439
- let ue = function(i) {
499
+ let he = function(i) {
440
500
  function d(n) {
441
501
  var t;
442
502
  (t = i.call(this, n) || this).onKeyUp = () => {
@@ -496,20 +556,20 @@ let ue = function(i) {
496
556
  t.start(p, c[0]), X(t.getMouseEventMap());
497
557
  });
498
558
  }
499
- oe(a);
559
+ se(a);
500
560
  }
501
561
  }, t.onSliderClick = (a) => {
502
562
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
503
- const c = t.getMousePosition(a), p = z(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
563
+ const c = t.getMousePosition(a), p = j(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
504
564
  t.props.onSliderClick(p);
505
565
  }
506
566
  }, t.createOnKeyDown = (a) => (c) => {
507
- t.props.disabled || (t.start(a), X(t.getKeyDownEventMap()), oe(c));
567
+ t.props.disabled || (t.start(a), X(t.getKeyDownEventMap()), se(c));
508
568
  }, t.createOnMouseDown = (a) => (c) => {
509
569
  if (t.props.disabled || c.button === 2) return;
510
570
  t.setState({ pending: !0 });
511
571
  const p = t.getMousePosition(c);
512
- t.start(a, p[0]), X(t.getMouseEventMap()), oe(c);
572
+ t.start(a, p[0]), X(t.getMouseEventMap()), se(c);
513
573
  }, t.createOnTouchStart = (a) => (c) => {
514
574
  if (t.props.disabled || c.touches.length > 1) return;
515
575
  t.setState({ pending: !0 });
@@ -534,16 +594,16 @@ let ue = function(i) {
534
594
  let s = re(n.value);
535
595
  s.length || (s = re(n.defaultValue)), t.pendingResizeTimeouts = [];
536
596
  const l = [];
537
- for (let a = 0; a < s.length; a += 1) s[a] = z(s[a], n), l.push(a);
538
- return t.resizeObserver = null, t.resizeElementRef = U.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: s, zIndices: l }, t;
597
+ for (let a = 0; a < s.length; a += 1) s[a] = j(s[a], n), l.push(a);
598
+ return t.resizeObserver = null, t.resizeElementRef = Z.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: s, zIndices: l }, t;
539
599
  }
540
- Et(d, i);
600
+ Wt(d, i);
541
601
  var o = d.prototype;
542
602
  return o.componentDidMount = function() {
543
603
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
544
604
  }, d.getDerivedStateFromProps = function(n, t) {
545
605
  const s = re(n.value);
546
- return s.length ? t.pending ? null : { value: s.map((l) => z(l, n)) } : null;
606
+ return s.length ? t.pending ? null : { value: s.map((l) => j(l, n)) } : null;
547
607
  }, o.componentDidUpdate = function() {
548
608
  this.state.upperBound === 0 && this.resize();
549
609
  }, o.componentWillUnmount = function() {
@@ -577,7 +637,7 @@ let ue = function(i) {
577
637
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
578
638
  }, o.getValueFromPosition = function(n) {
579
639
  const t = n / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
580
- return z(this.state.startValue + t, this.props);
640
+ return j(this.state.startValue + t, this.props);
581
641
  }, o.getDiffPosition = function(n) {
582
642
  let t = n - this.state.startPosition;
583
643
  return this.props.invert && (t *= -1), t;
@@ -596,7 +656,7 @@ let ue = function(i) {
596
656
  let c = n - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
597
657
  return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
598
658
  }, o.forceValueFromPosition = function(n, t) {
599
- const s = this.calcOffsetFromPosition(n), l = this.getClosestIndex(s), a = z(this.calcValue(s), this.props), c = this.state.value.slice();
659
+ const s = this.calcOffsetFromPosition(n), l = this.getClosestIndex(s), a = j(this.calcValue(s), this.props), c = this.state.value.slice();
600
660
  c[l] = a;
601
661
  for (let p = 0; p < c.length - 1; p += 1) if (c[p + 1] - c[p] < this.props.minDistance) return;
602
662
  this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
@@ -614,11 +674,11 @@ let ue = function(i) {
614
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 }));
615
675
  }, o.moveUpByStep = function(n) {
616
676
  n === void 0 && (n = this.props.step);
617
- const t = this.state.value[this.state.index], s = z(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
677
+ const t = this.state.value[this.state.index], s = j(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
618
678
  this.move(Math.min(s, this.props.max));
619
679
  }, o.moveDownByStep = function(n) {
620
680
  n === void 0 && (n = this.props.step);
621
- const t = this.state.value[this.state.index], s = z(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
681
+ const t = this.state.value[this.state.index], s = j(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
622
682
  this.move(Math.max(s, this.props.min));
623
683
  }, o.move = function(n) {
624
684
  const t = this.state.value.slice(), { index: s } = this.state, { length: l } = t, a = t[s];
@@ -635,22 +695,22 @@ let ue = function(i) {
635
695
  n > g - h && (n = g - h);
636
696
  }
637
697
  }
638
- t[s] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, h, s), function(g, b, C, f) {
698
+ t[s] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, h, s), function(g, f, C, b) {
639
699
  for (let v = 0; v < g; v += 1) {
640
- const y = f - v * C;
641
- b[g - 1 - v] > y && (b[g - 1 - v] = y);
700
+ const y = b - v * C;
701
+ f[g - 1 - v] > y && (f[g - 1 - v] = y);
642
702
  }
643
- }(l, t, h, p)) : n < a && (this.pushPreceding(t, h, s), function(g, b, C, f) {
703
+ }(l, t, h, p)) : n < a && (this.pushPreceding(t, h, s), function(g, f, C, b) {
644
704
  for (let v = 0; v < g; v += 1) {
645
- const y = f + v * C;
646
- b[v] < y && (b[v] = y);
705
+ const y = b + v * C;
706
+ f[v] < y && (f[v] = y);
647
707
  }
648
708
  }(l, t, h, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
649
709
  }, o.pushSucceeding = function(n, t, s) {
650
710
  let l, a;
651
- for (l = s, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = pe(a, this.props);
711
+ for (l = s, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = ue(a, this.props);
652
712
  }, o.pushPreceding = function(n, t, s) {
653
- for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = pe(a, this.props);
713
+ for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = ue(a, this.props);
654
714
  }, o.axisKey = function() {
655
715
  return this.props.orientation === "vertical" ? "Y" : "X";
656
716
  }, o.orthogonalAxisKey = function() {
@@ -694,20 +754,20 @@ let ue = function(i) {
694
754
  const n = [], { value: t } = this.state, s = t.length;
695
755
  for (let p = 0; p < s; p += 1) n[p] = this.calcOffset(t[p], p);
696
756
  const l = this.props.withTracks ? this.renderTracks(n) : null, a = this.renderThumbs(n), c = this.props.marks ? this.renderMarks() : null;
697
- return U.createElement("div", { ref: (p) => {
757
+ return Z.createElement("div", { ref: (p) => {
698
758
  this.slider = p, this.resizeElementRef.current = p;
699
759
  }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
700
760
  }, d;
701
- }(U.Component);
702
- ue.displayName = "ReactSlider", ue.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) => U.createElement("div", i), renderTrack: (i) => U.createElement("div", i), renderMark: (i) => U.createElement("span", i) };
703
- var Kt = ue;
704
- const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_12", Gt = "_thumb_15vgv_18", Yt = "_track_15vgv_27", Wt = "_labels_15vgv_33", E = {
705
- container: Ut,
706
- unitLabel: Zt,
707
- slider: Ht,
708
- thumb: Gt,
709
- track: Yt,
710
- labels: Wt
761
+ }(Z.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) => Z.createElement("div", i), renderTrack: (i) => Z.createElement("div", i), renderMark: (i) => Z.createElement("span", i) };
763
+ var Xt = he;
764
+ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_12", tn = "_thumb_15vgv_18", nn = "_track_15vgv_27", on = "_labels_15vgv_33", q = {
765
+ container: Jt,
766
+ unitLabel: Qt,
767
+ slider: en,
768
+ thumb: tn,
769
+ track: nn,
770
+ labels: on
711
771
  }, Ae = ({
712
772
  min: i = 0,
713
773
  max: d = 100,
@@ -718,22 +778,22 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
718
778
  fontColor: l = "#605B56",
719
779
  value: a = [i, d]
720
780
  }) => {
721
- const { t: c } = w(), p = (u) => {
781
+ const { t: c } = k(), p = (u) => {
722
782
  n == null || n({ min: u[0], max: u[1] });
723
783
  };
724
784
  return /* @__PURE__ */ m(
725
785
  "div",
726
786
  {
727
- className: E.container,
787
+ className: q.container,
728
788
  style: { width: `${t}px`, color: `${l}` },
729
789
  children: [
730
- /* @__PURE__ */ r("div", { className: E.unitLabel, children: /* @__PURE__ */ r("span", { children: c(s) }) }),
790
+ /* @__PURE__ */ r("div", { className: q.unitLabel, children: /* @__PURE__ */ r("span", { children: c(s) }) }),
731
791
  /* @__PURE__ */ r(
732
- Kt,
792
+ Xt,
733
793
  {
734
- className: E.slider,
735
- thumbClassName: E.thumb,
736
- trackClassName: E.track,
794
+ className: q.slider,
795
+ thumbClassName: q.thumb,
796
+ trackClassName: q.track,
737
797
  min: i,
738
798
  max: d,
739
799
  step: o,
@@ -744,7 +804,7 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
744
804
  minDistance: 1
745
805
  }
746
806
  ),
747
- /* @__PURE__ */ m("div", { className: E.labels, children: [
807
+ /* @__PURE__ */ m("div", { className: q.labels, children: [
748
808
  /* @__PURE__ */ r("span", { children: a[0] }),
749
809
  /* @__PURE__ */ r("span", { children: a[1] })
750
810
  ] })
@@ -764,17 +824,17 @@ Ae.propTypes = {
764
824
  fontColor: e.string,
765
825
  value: e.arrayOf(e.number)
766
826
  };
767
- const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_1vm1r_2", Qt = "_checkboxContainer_1vm1r_28", en = "_absoluteSliderContainer_1vm1r_37", J = {
768
- tematicalFiltersInputContainer: Xt,
769
- inputTypeContainer: Jt,
770
- checkboxContainer: Qt,
771
- absoluteSliderContainer: en
827
+ const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_1vm1r_2", an = "_checkboxContainer_1vm1r_28", ln = "_absoluteSliderContainer_1vm1r_37", J = {
828
+ tematicalFiltersInputContainer: sn,
829
+ inputTypeContainer: rn,
830
+ checkboxContainer: an,
831
+ absoluteSliderContainer: ln
772
832
  }, be = ({
773
833
  indicator: i,
774
834
  //onChangeBothType
775
835
  activeColor: d
776
836
  }) => {
777
- const [o, n] = B(), {
837
+ const [o, n] = D(), {
778
838
  type: t,
779
839
  name: s,
780
840
  values: l,
@@ -789,85 +849,85 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
789
849
  [o, t]
790
850
  ), {
791
851
  tematicalFiltersSelected: g,
792
- selectedIndicator: b,
852
+ selectedIndicator: f,
793
853
  fontColor: C,
794
- inputsColor: f
795
- } = T((x) => x), v = (x) => {
796
- if (x) {
797
- const { min: k, max: _, valueClicked: N, allValues: D } = x || {}, { code: A, type: ne } = i || {}, Z = h ? "abs" : u ? "cat" : "both";
854
+ inputsColor: b
855
+ } = T((_) => _), v = (_) => {
856
+ if (_) {
857
+ const { min: w, max: x, valueClicked: N, allValues: $ } = _ || {}, { code: A, type: ne } = i || {}, U = h ? "abs" : u ? "cat" : "both";
798
858
  let O = A[0];
799
- ne == "both" && (O = Z == "cat" ? A[1] : A[0]), Z == "cat" ? T.setState((P) => {
800
- let R = P.tematicalFiltersSelected.find(
801
- ($) => $.code === O
859
+ ne == "both" && (O = U == "cat" ? A[1] : A[0]), U == "cat" ? T.setState((E) => {
860
+ let I = E.tematicalFiltersSelected.find(
861
+ (F) => F.code === O
802
862
  );
803
- if (R) {
804
- let $ = [R.values];
805
- if (R.values.includes(N)) {
806
- if ($ = R.values.filter(
807
- (F) => F !== N
808
- ), $.length < 1)
863
+ if (I) {
864
+ let F = [I.values];
865
+ if (I.values.includes(N)) {
866
+ if (F = I.values.filter(
867
+ (B) => B !== N
868
+ ), F.length < 1)
809
869
  return {
810
- tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
811
- (F) => F.code !== O
870
+ tematicalFiltersSelected: E.tematicalFiltersSelected.filter(
871
+ (B) => B.code !== O
812
872
  )
813
873
  };
814
874
  } else
815
- $ = [...R.values, N];
875
+ F = [...I.values, N];
816
876
  return {
817
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
818
- (F) => F.code === O ? { ...F, values: $ } : F
877
+ tematicalFiltersSelected: E.tematicalFiltersSelected.map(
878
+ (B) => B.code === O ? { ...B, values: F } : B
819
879
  )
820
880
  };
821
881
  } else {
822
- console.log("entra aqui: ", D, " ", N);
823
- let $ = D.map((F, Pe) => Pe);
882
+ console.log("entra aqui: ", $, " ", N);
883
+ let F = $.map((B, Pe) => Pe);
824
884
  return {
825
885
  tematicalFiltersSelected: [
826
886
  ...g,
827
887
  {
828
888
  type: "cat",
829
889
  code: O,
830
- values: $.filter((F) => F !== N),
890
+ values: F.filter((B) => B !== N),
831
891
  name: i.name
832
892
  }
833
893
  ]
834
894
  };
835
895
  }
836
- }) : Z == "abs" && T.setState((P) => {
837
- let R = P.tematicalFiltersSelected.find(
838
- ($) => $.code === O
896
+ }) : U == "abs" && T.setState((E) => {
897
+ let I = E.tematicalFiltersSelected.find(
898
+ (F) => F.code === O
839
899
  );
840
- if (R) {
841
- let $ = { ...R };
842
- return $.min = k, $.max = _, {
843
- tematicalFiltersSelected: P.tematicalFiltersSelected.map(
844
- (F) => F.code === O ? $ : F
900
+ if (I) {
901
+ let F = { ...I };
902
+ return F.min = w, F.max = x, {
903
+ tematicalFiltersSelected: E.tematicalFiltersSelected.map(
904
+ (B) => B.code === O ? F : B
845
905
  )
846
906
  };
847
907
  } else
848
908
  return {
849
909
  tematicalFiltersSelected: [
850
910
  ...g,
851
- { type: "abs", code: O, min: k, max: _ }
911
+ { type: "abs", code: O, min: w, max: x }
852
912
  ]
853
913
  };
854
914
  });
855
915
  }
856
916
  }, y = te(() => {
857
- const x = {};
917
+ const _ = {};
858
918
  if ((g == null ? void 0 : g.length) > 0)
859
- for (const k of g)
860
- k.type === "cat" ? x[k.code] = new Set(k.values) : x[k.code] = [k.min, k.max];
861
- return x;
919
+ for (const w of g)
920
+ w.type === "cat" ? _[w.code] = new Set(w.values) : _[w.code] = [w.min, w.max];
921
+ return _;
862
922
  }, [g]);
863
923
  return /* @__PURE__ */ r("div", { className: J.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
864
- j,
924
+ P,
865
925
  {
866
926
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
867
927
  title: s,
868
- isOpen: b == `id${s}`,
928
+ isOpen: f == `id${s}`,
869
929
  onClick: () => T.setState(() => ({
870
- selectedIndicator: b == `id${s}` ? "" : `id${s}`
930
+ selectedIndicator: f == `id${s}` ? "" : `id${s}`
871
931
  })),
872
932
  showBottomBar: !1,
873
933
  height: 38,
@@ -894,8 +954,8 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
894
954
  },
895
955
  style: {
896
956
  marginRight: 4,
897
- backgroundColor: o == "abs" ? f : "white",
898
- border: `1.5px solid ${o == "abs" ? f : C}`
957
+ backgroundColor: o == "abs" ? b : "white",
958
+ border: `1.5px solid ${o == "abs" ? b : C}`
899
959
  }
900
960
  }
901
961
  ),
@@ -913,8 +973,8 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
913
973
  },
914
974
  style: {
915
975
  marginRight: 4,
916
- backgroundColor: o == "cat" ? f : "white",
917
- border: `1.5px solid ${o == "cat" ? f : C}`
976
+ backgroundColor: o == "cat" ? b : "white",
977
+ border: `1.5px solid ${o == "cat" ? b : C}`
918
978
  }
919
979
  }
920
980
  ),
@@ -923,16 +983,16 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
923
983
  ]
924
984
  }
925
985
  ),
926
- u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((x, k) => {
927
- var _;
986
+ u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((_, w) => {
987
+ var x;
928
988
  return /* @__PURE__ */ r(
929
- De,
989
+ $e,
930
990
  {
931
- onClick: () => v({ valueClicked: k, allValues: l }),
932
- indicator: x,
933
- value: ((_ = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : _.has(k)) || !y[i.code[t == "both" ? 1 : 0]]
991
+ onClick: () => v({ valueClicked: w, allValues: l }),
992
+ indicator: _,
993
+ value: ((x = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : x.has(w)) || !y[i.code[t == "both" ? 1 : 0]]
934
994
  },
935
- `checkbox-${k}`
995
+ `checkbox-${w}`
936
996
  );
937
997
  }) }),
938
998
  h && /* @__PURE__ */ r("div", { className: J.absoluteSliderContainer, children: /* @__PURE__ */ r(
@@ -972,7 +1032,7 @@ const Oe = ({
972
1032
  }) => {
973
1033
  const { activeSubcategory: n } = T((l) => l), { name: t, indicators: s } = i || {};
974
1034
  return /* @__PURE__ */ r(
975
- j,
1035
+ P,
976
1036
  {
977
1037
  title: t,
978
1038
  isOpen: n == `id${t}`,
@@ -1011,14 +1071,14 @@ Oe.propTypes = {
1011
1071
  activeColor: e.string
1012
1072
  //onChangeBothType: PropTypes.func,
1013
1073
  };
1014
- const Re = ({
1074
+ const Ie = ({
1015
1075
  category: i,
1016
1076
  // onChangeBothType,
1017
1077
  activeColor: d
1018
1078
  }) => {
1019
1079
  const { name: o, subcategories: n, indicators: t } = i || {}, { activeCategory: s, fontColor: l } = T((a) => a);
1020
1080
  return i && /* @__PURE__ */ r(
1021
- j,
1081
+ P,
1022
1082
  {
1023
1083
  onClick: () => {
1024
1084
  T.setState((a) => ({
@@ -1051,7 +1111,7 @@ const Re = ({
1051
1111
  }
1052
1112
  );
1053
1113
  };
1054
- Re.propTypes = {
1114
+ Ie.propTypes = {
1055
1115
  category: e.shape({
1056
1116
  name: e.string.isRequired,
1057
1117
  subcategories: e.array,
@@ -1060,7 +1120,7 @@ Re.propTypes = {
1060
1120
  activeColor: e.string
1061
1121
  //onChangeBothType: PropTypes.func,
1062
1122
  };
1063
- const Ie = ({
1123
+ const Re = ({
1064
1124
  indicators: i,
1065
1125
  isOpen: d = !0,
1066
1126
  title: o,
@@ -1069,7 +1129,7 @@ const Ie = ({
1069
1129
  inputsColor: t = "#605B56",
1070
1130
  activeColor: s
1071
1131
  }) => {
1072
- const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = w();
1132
+ const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = k();
1073
1133
  return L(() => {
1074
1134
  console.log("filtersSelected changed: ", l);
1075
1135
  }, [l]), L(() => {
@@ -1077,14 +1137,14 @@ const Ie = ({
1077
1137
  }, [n]), L(() => {
1078
1138
  t && T.setState(() => ({ inputsColor: t }));
1079
1139
  }, [t]), /* @__PURE__ */ r(
1080
- j,
1140
+ P,
1081
1141
  {
1082
1142
  isOpen: d,
1083
1143
  title: o ? a(o) : "Tematical filters",
1084
1144
  color: n,
1085
1145
  activeColor: s,
1086
1146
  children: i == null ? void 0 : i.map((c, p) => /* @__PURE__ */ r(
1087
- Re,
1147
+ Ie,
1088
1148
  {
1089
1149
  category: c,
1090
1150
  fontColor: n,
@@ -1095,7 +1155,7 @@ const Ie = ({
1095
1155
  }
1096
1156
  );
1097
1157
  };
1098
- Ie.propTypes = {
1158
+ Re.propTypes = {
1099
1159
  isOpen: e.bool,
1100
1160
  title: e.string,
1101
1161
  indicators: e.arrayOf(e.object),
@@ -1104,13 +1164,13 @@ Ie.propTypes = {
1104
1164
  inputsColor: e.string,
1105
1165
  activeColor: e.string
1106
1166
  };
1107
- const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7", sn = "_FiltersAmbitTitle_6o4gt_15", on = "_FiltersAmbitDescription_6o4gt_22", rn = "_FiltersAmbitDescriptionTitle_6o4gt_33", G = {
1108
- FiltersAmbitContainer: tn,
1109
- FiltersAmbitHeader: nn,
1110
- FiltersAmbitTitle: sn,
1111
- FiltersAmbitDescription: on,
1112
- FiltersAmbitDescriptionTitle: rn
1113
- }, an = ({
1167
+ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7", pn = "_FiltersAmbitTitle_6o4gt_15", un = "_FiltersAmbitDescription_6o4gt_22", hn = "_FiltersAmbitDescriptionTitle_6o4gt_33", G = {
1168
+ FiltersAmbitContainer: cn,
1169
+ FiltersAmbitHeader: dn,
1170
+ FiltersAmbitTitle: pn,
1171
+ FiltersAmbitDescription: un,
1172
+ FiltersAmbitDescriptionTitle: hn
1173
+ }, mn = ({
1114
1174
  ambitName: i,
1115
1175
  ambitDescription: d,
1116
1176
  defaultFilters: o,
@@ -1121,7 +1181,7 @@ const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7",
1121
1181
  onChangeAppliedFilters: a,
1122
1182
  saveAmbit: c
1123
1183
  }) => {
1124
- const { t: p } = w(), { tematicalFiltersSelected: u } = T((h) => h);
1184
+ const { t: p } = k(), { tematicalFiltersSelected: u } = T((h) => h);
1125
1185
  return L(() => {
1126
1186
  o && o.length > 0 && T.setState((h) => ({
1127
1187
  tematicalFiltersSelected: o
@@ -1137,7 +1197,7 @@ const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7",
1137
1197
  ] })
1138
1198
  ] }),
1139
1199
  /* @__PURE__ */ r(
1140
- Fe,
1200
+ Be,
1141
1201
  {
1142
1202
  title: p("applied_filters"),
1143
1203
  isOpen: !0,
@@ -1146,9 +1206,9 @@ const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7",
1146
1206
  activeColor: t
1147
1207
  }
1148
1208
  ),
1149
- /* @__PURE__ */ r(Be, { activeColor: t }),
1209
+ /* @__PURE__ */ r(De, { activeColor: t }),
1150
1210
  /* @__PURE__ */ r(
1151
- Ie,
1211
+ Re,
1152
1212
  {
1153
1213
  indicators: n,
1154
1214
  inputsColor: t,
@@ -1160,7 +1220,7 @@ const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7",
1160
1220
  /* @__PURE__ */ r("div", { className: "buttonContainer", children: /* @__PURE__ */ r("button", { className: "mainButton", onClick: c, children: p("guardar_ambit") }) })
1161
1221
  ] });
1162
1222
  };
1163
- an.propTypes = {
1223
+ mn.propTypes = {
1164
1224
  indicators: e.arrayOf(e.object).isRequired,
1165
1225
  ambitName: e.string,
1166
1226
  ambitDescription: e.string,
@@ -1171,9 +1231,9 @@ an.propTypes = {
1171
1231
  onChangeAppliedFilters: e.func,
1172
1232
  saveAmbit: e.func
1173
1233
  };
1174
- const ln = "_barChartContainer_d2f1z_2", cn = {
1175
- barChartContainer: ln
1176
- }, ze = ({
1234
+ const gn = "_barChartContainer_d2f1z_2", Cn = {
1235
+ barChartContainer: gn
1236
+ }, Ve = ({
1177
1237
  data: i,
1178
1238
  width: d = 700,
1179
1239
  barHeight: o = 25,
@@ -1185,9 +1245,9 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
1185
1245
  numberOfDivisions: c = 7,
1186
1246
  maxValue: p = null
1187
1247
  }) => {
1188
- const { t: u } = w(), { xScale: h, ticks: g, height: b } = te(() => {
1248
+ const { t: u } = k(), { xScale: h, ticks: g, height: f } = te(() => {
1189
1249
  if (i && i.length > 0) {
1190
- const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, f = ye.max(i, (x) => x.value) || 1, v = ye.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, k) => p ? p / c * k : f / c * k);
1250
+ const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, b = ye.max(i, (_) => _.value) || 1, v = ye.scaleLinear().domain([0, p || b]).range([0, d - a]), y = Array.from({ length: c + 1 }, (_, w) => p ? p / c * w : b / c * w);
1191
1251
  return {
1192
1252
  xScale: v,
1193
1253
  ticks: y,
@@ -1208,32 +1268,32 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
1208
1268
  s,
1209
1269
  p
1210
1270
  ]);
1211
- return /* @__PURE__ */ r("div", { className: cn.barChartContainer, children: /* @__PURE__ */ r("svg", { width: d + l * 2, height: b, children: /* @__PURE__ */ m("g", { transform: `translate(0,${n})`, children: [
1212
- /* @__PURE__ */ r("g", { transform: `translate(${a + l}, 0)`, children: g.map((C, f) => {
1271
+ return /* @__PURE__ */ r("div", { className: Cn.barChartContainer, children: /* @__PURE__ */ r("svg", { width: d + l * 2, height: f, children: /* @__PURE__ */ m("g", { transform: `translate(0,${n})`, children: [
1272
+ /* @__PURE__ */ r("g", { transform: `translate(${a + l}, 0)`, children: g.map((C, b) => {
1213
1273
  const v = h(C);
1214
1274
  return /* @__PURE__ */ m("g", { transform: `translate(${v}, 0)`, children: [
1215
1275
  /* @__PURE__ */ r(
1216
1276
  "line",
1217
1277
  {
1218
1278
  y1: 0,
1219
- y2: b - n * 2,
1279
+ y2: f - n * 2,
1220
1280
  stroke: "#ccc"
1221
1281
  }
1222
1282
  ),
1223
1283
  /* @__PURE__ */ r(
1224
1284
  "text",
1225
1285
  {
1226
- y: b - n,
1286
+ y: f - n,
1227
1287
  textAnchor: "middle",
1228
1288
  fontSize: 10,
1229
1289
  fill: t,
1230
1290
  children: parseInt(C)
1231
1291
  }
1232
1292
  )
1233
- ] }, f);
1293
+ ] }, b);
1234
1294
  }) }),
1235
- i && i.length > 0 && (i == null ? void 0 : i.map((C, f) => {
1236
- const v = h(C.value), y = f * (o + n);
1295
+ i && i.length > 0 && (i == null ? void 0 : i.map((C, b) => {
1296
+ const v = h(C.value), y = b * (o + n);
1237
1297
  return /* @__PURE__ */ m(
1238
1298
  "g",
1239
1299
  {
@@ -1260,12 +1320,12 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
1260
1320
  )
1261
1321
  ]
1262
1322
  },
1263
- f
1323
+ b
1264
1324
  );
1265
1325
  }))
1266
1326
  ] }) }) });
1267
1327
  };
1268
- ze.propTypes = {
1328
+ Ve.propTypes = {
1269
1329
  data: e.arrayOf(
1270
1330
  e.shape({
1271
1331
  title: e.string,
@@ -1281,10 +1341,10 @@ ze.propTypes = {
1281
1341
  numberOfDivisions: e.number,
1282
1342
  fontColor: e.string
1283
1343
  };
1284
- const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14", _e = {
1285
- graphicContainer: dn,
1286
- titleContainer: pn
1287
- }, un = ({
1344
+ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
1345
+ graphicContainer: bn,
1346
+ titleContainer: fn
1347
+ }, yn = ({
1288
1348
  data: i,
1289
1349
  graphWidth: d = 700,
1290
1350
  containerStyle: o,
@@ -1295,19 +1355,19 @@ const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14", _e = {
1295
1355
  numberOfDivisions: a = 7,
1296
1356
  leftPadding: c = 200
1297
1357
  }) => {
1298
- const { t: p } = w();
1358
+ const { t: p } = k();
1299
1359
  return /* @__PURE__ */ m(
1300
1360
  "div",
1301
1361
  {
1302
- className: _e.graphicContainer,
1362
+ className: xe.graphicContainer,
1303
1363
  style: {
1304
1364
  ...o || {},
1305
1365
  border: `1.5px solid ${n}`
1306
1366
  },
1307
1367
  children: [
1308
- /* @__PURE__ */ r("div", { className: _e.titleContainer, children: /* @__PURE__ */ r("h2", { children: p(t) }) }),
1368
+ /* @__PURE__ */ r("div", { className: xe.titleContainer, children: /* @__PURE__ */ r("h2", { children: p(t) }) }),
1309
1369
  /* @__PURE__ */ r(
1310
- ze,
1370
+ Ve,
1311
1371
  {
1312
1372
  data: i,
1313
1373
  width: d,
@@ -1321,7 +1381,7 @@ const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14", _e = {
1321
1381
  }
1322
1382
  );
1323
1383
  };
1324
- un.propTypes = {
1384
+ yn.propTypes = {
1325
1385
  data: e.arrayOf(
1326
1386
  e.shape({
1327
1387
  color: e.string.isRequired,
@@ -1338,21 +1398,21 @@ un.propTypes = {
1338
1398
  numberOfDivisions: e.number,
1339
1399
  leftPadding: e.number
1340
1400
  };
1341
- const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu33_11", ae = {
1342
- indicatorsCategory: hn,
1343
- title: mn,
1344
- list: gn
1345
- }, bn = "_indicatorContainer_lw8gx_2", fn = "_indicatorNameContainer_lw8gx_11", yn = "_dot_lw8gx_20", Cn = "_indicatorName_lw8gx_11", vn = "_switchExternalContainer_lw8gx_31", _n = "_switchType_lw8gx_40", xn = "_switchTypeOptions_lw8gx_44", kn = "_optionContainer_lw8gx_55", wn = "_customRadious_lw8gx_65", Nn = "_optionText_lw8gx_72", S = {
1346
- indicatorContainer: bn,
1347
- indicatorNameContainer: fn,
1348
- dot: yn,
1349
- indicatorName: Cn,
1350
- switchExternalContainer: vn,
1351
- switchType: _n,
1352
- switchTypeOptions: xn,
1353
- optionContainer: kn,
1354
- customRadious: wn,
1355
- optionText: Nn
1401
+ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu33_11", ae = {
1402
+ indicatorsCategory: vn,
1403
+ title: _n,
1404
+ list: xn
1405
+ }, wn = "_indicatorContainer_lw8gx_2", kn = "_indicatorNameContainer_lw8gx_11", Nn = "_dot_lw8gx_20", Sn = "_indicatorName_lw8gx_11", Tn = "_switchExternalContainer_lw8gx_31", Mn = "_switchType_lw8gx_40", Ln = "_switchTypeOptions_lw8gx_44", Fn = "_optionContainer_lw8gx_55", Bn = "_customRadious_lw8gx_65", Dn = "_optionText_lw8gx_72", S = {
1406
+ indicatorContainer: wn,
1407
+ indicatorNameContainer: kn,
1408
+ dot: Nn,
1409
+ indicatorName: Sn,
1410
+ switchExternalContainer: Tn,
1411
+ switchType: Mn,
1412
+ switchTypeOptions: Ln,
1413
+ optionContainer: Fn,
1414
+ customRadious: Bn,
1415
+ optionText: Dn
1356
1416
  }, fe = ({
1357
1417
  indicator: i,
1358
1418
  values: d = [],
@@ -1364,9 +1424,9 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1364
1424
  multiple: a = !1,
1365
1425
  onChangeType: c
1366
1426
  }) => {
1367
- const { t: p } = w(), { name: u, type: h } = i, [g, b] = B(!1);
1427
+ const { t: p } = k(), { name: u, type: h } = i, [g, f] = D(!1);
1368
1428
  L(() => {
1369
- t && b(
1429
+ t && f(
1370
1430
  a ? t.some(
1371
1431
  (v) => v.name == String(u)
1372
1432
  ) : t.name == u
@@ -1431,7 +1491,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1431
1491
  ]
1432
1492
  }
1433
1493
  )
1434
- ] }) }) }), f = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ r("div", { className: S.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ m(
1494
+ ] }) }) }), b = () => /* @__PURE__ */ r("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ r("div", { className: S.switchType, children: /* @__PURE__ */ r("div", { className: S.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ m(
1435
1495
  "div",
1436
1496
  {
1437
1497
  className: S.optionContainer,
@@ -1447,42 +1507,36 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1447
1507
  },
1448
1508
  y
1449
1509
  )) }) }) });
1450
- return /* @__PURE__ */ m(
1451
- "div",
1452
- {
1453
- className: S.indicatorContainer,
1454
- children: [
1455
- /* @__PURE__ */ m(
1456
- "div",
1457
- {
1458
- className: S.indicatorNameContainer,
1459
- onClick: () => l({ indicator: i }),
1460
- children: [
1461
- /* @__PURE__ */ r(
1462
- "div",
1463
- {
1464
- style: {
1465
- border: g ? `1px solid ${o}` : `1px solid ${n}`
1466
- },
1467
- className: S.dot
1468
- }
1469
- ),
1470
- /* @__PURE__ */ r(
1471
- "h4",
1472
- {
1473
- className: S.indicatorName,
1474
- style: { color: g ? o : n },
1475
- children: /* @__PURE__ */ r(me, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1476
- }
1477
- )
1478
- ]
1479
- }
1480
- ),
1481
- (t == null ? void 0 : t.name) === u && h === "both" && /* @__PURE__ */ r("div", { children: C() }),
1482
- (t == null ? void 0 : t.name) === u && h === "twoUnits" && /* @__PURE__ */ r("div", { children: f() })
1483
- ]
1484
- }
1485
- );
1510
+ return /* @__PURE__ */ m("div", { className: S.indicatorContainer, children: [
1511
+ /* @__PURE__ */ m(
1512
+ "div",
1513
+ {
1514
+ className: S.indicatorNameContainer,
1515
+ onClick: () => l({ indicator: i }),
1516
+ children: [
1517
+ /* @__PURE__ */ r(
1518
+ "div",
1519
+ {
1520
+ style: {
1521
+ border: g ? `1px solid ${o}` : `1px solid ${n}`
1522
+ },
1523
+ className: S.dot
1524
+ }
1525
+ ),
1526
+ /* @__PURE__ */ r(
1527
+ "h4",
1528
+ {
1529
+ className: S.indicatorName,
1530
+ style: { color: g ? o : n },
1531
+ children: /* @__PURE__ */ r(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1532
+ }
1533
+ )
1534
+ ]
1535
+ }
1536
+ ),
1537
+ (t == null ? void 0 : t.name) === u && h === "both" && /* @__PURE__ */ r("div", { children: C() }),
1538
+ (t == null ? void 0 : t.name) === u && h === "twoUnits" && /* @__PURE__ */ r("div", { children: b() })
1539
+ ] });
1486
1540
  };
1487
1541
  fe.propTypes = {
1488
1542
  indicator: e.shape({
@@ -1496,10 +1550,10 @@ fe.propTypes = {
1496
1550
  multiple: e.bool,
1497
1551
  onClickIndicator: e.func
1498
1552
  };
1499
- const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", xe = {
1500
- indicatorsSubCategory: Sn,
1501
- list: Tn
1502
- }, Ve = ({
1553
+ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
1554
+ indicatorsSubCategory: $n,
1555
+ list: An
1556
+ }, je = ({
1503
1557
  subcName: i,
1504
1558
  indicators: d,
1505
1559
  defaultColor: o,
@@ -1513,31 +1567,31 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", xe = {
1513
1567
  activeIndicatorType: u,
1514
1568
  onChangeType: h
1515
1569
  }) => {
1516
- const { t: g } = w(), [b, C] = B(!1);
1570
+ const { t: g } = k(), [f, C] = D(!1);
1517
1571
  return L(() => {
1518
1572
  C(t == l);
1519
1573
  }, [t, l]), /* @__PURE__ */ m(
1520
- ge.div,
1574
+ Ce.div,
1521
1575
  {
1522
- className: xe.indicatorsSubCategory,
1576
+ className: we.indicatorsSubCategory,
1523
1577
  initial: { height: "43px" },
1524
- animate: { height: b ? "auto" : "43px" },
1578
+ animate: { height: f ? "auto" : "43px" },
1525
1579
  transition: { duration: 0.4 },
1526
1580
  children: [
1527
- /* @__PURE__ */ r("button", { onClick: () => s(l), children: /* @__PURE__ */ m("h3", { style: { color: b ? n : o }, children: [
1528
- /* @__PURE__ */ r("span", { style: { color: b ? n : o }, children: b ? "-" : "+" }),
1581
+ /* @__PURE__ */ r("button", { onClick: () => s(l), children: /* @__PURE__ */ m("h3", { style: { color: f ? n : o }, children: [
1582
+ /* @__PURE__ */ r("span", { style: { color: f ? n : o }, children: f ? "-" : "+" }),
1529
1583
  /* @__PURE__ */ r(
1530
1584
  "span",
1531
1585
  {
1532
- style: { marginLeft: 12, color: b ? n : o },
1586
+ style: { marginLeft: 12, color: f ? n : o },
1533
1587
  children: g(i)
1534
1588
  }
1535
1589
  )
1536
1590
  ] }) }),
1537
- d && /* @__PURE__ */ r("div", { className: xe.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ r(
1591
+ d && /* @__PURE__ */ r("div", { className: we.list, children: d == null ? void 0 : d.map((b, v) => /* @__PURE__ */ r(
1538
1592
  fe,
1539
1593
  {
1540
- indicator: f,
1594
+ indicator: b,
1541
1595
  defaultColor: o,
1542
1596
  activeColor: n,
1543
1597
  activeIndicator: a,
@@ -1552,7 +1606,7 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", xe = {
1552
1606
  }
1553
1607
  );
1554
1608
  };
1555
- Ve.propTypes = {
1609
+ je.propTypes = {
1556
1610
  subcName: e.string,
1557
1611
  indicators: e.array,
1558
1612
  activeColor: e.string,
@@ -1564,7 +1618,7 @@ Ve.propTypes = {
1564
1618
  onClickSubCategory: e.func,
1565
1619
  onClickIndicator: e.func
1566
1620
  };
1567
- const je = ({
1621
+ const ze = ({
1568
1622
  cat: i,
1569
1623
  id: d,
1570
1624
  activeColor: o,
@@ -1580,11 +1634,11 @@ const je = ({
1580
1634
  onChangeType: g
1581
1635
  }) => {
1582
1636
  var v;
1583
- const { t: b } = w(), [C, f] = B(!1);
1637
+ const { t: f } = k(), [C, b] = D(!1);
1584
1638
  return L(() => {
1585
- f(s === d);
1639
+ b(s === d);
1586
1640
  }, [s, d]), /* @__PURE__ */ m(
1587
- ge.div,
1641
+ Ce.div,
1588
1642
  {
1589
1643
  className: ae.indicatorsCategory,
1590
1644
  initial: { height: "53px" },
@@ -1602,15 +1656,15 @@ const je = ({
1602
1656
  "span",
1603
1657
  {
1604
1658
  style: { marginLeft: 12, color: C ? o : n },
1605
- children: b(i.name)
1659
+ children: f(i.name)
1606
1660
  }
1607
1661
  )
1608
1662
  ] }),
1609
1663
  i.subcategories ? i.subcategories.map(
1610
- ({ name: y, subcategory: x, indicators: k }, _) => /* @__PURE__ */ r(
1611
- Ve,
1664
+ ({ name: y, subcategory: _, indicators: w }, x) => /* @__PURE__ */ r(
1665
+ je,
1612
1666
  {
1613
- id: x,
1667
+ id: _,
1614
1668
  activeSubCategory: l,
1615
1669
  subcName: y,
1616
1670
  onClickSubCategory: a,
@@ -1619,13 +1673,13 @@ const je = ({
1619
1673
  multiple: u,
1620
1674
  activeColor: o,
1621
1675
  defaultColor: n,
1622
- indicators: k,
1676
+ indicators: w,
1623
1677
  activeIndicatorType: h,
1624
1678
  onChangeType: g
1625
1679
  },
1626
- `subcKey ${_}`
1680
+ `subcKey ${x}`
1627
1681
  )
1628
- ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ r(
1682
+ ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, _) => /* @__PURE__ */ r(
1629
1683
  fe,
1630
1684
  {
1631
1685
  indicator: y,
@@ -1638,13 +1692,13 @@ const je = ({
1638
1692
  activeIndicatorType: h,
1639
1693
  onChangeType: g
1640
1694
  },
1641
- `indicator${x}`
1695
+ `indicator${_}`
1642
1696
  )) })
1643
1697
  ]
1644
1698
  }
1645
1699
  );
1646
1700
  };
1647
- je.propTypes = {
1701
+ ze.propTypes = {
1648
1702
  cat: e.object,
1649
1703
  id: e.string,
1650
1704
  onChange: e.func,
@@ -1658,10 +1712,10 @@ je.propTypes = {
1658
1712
  activeColor: e.string,
1659
1713
  defaultColor: e.string
1660
1714
  };
1661
- const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", ke = {
1662
- indicatorsList: Mn,
1663
- title: $n
1664
- }, Ln = ({
1715
+ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
1716
+ indicatorsList: On,
1717
+ title: In
1718
+ }, Rn = ({
1665
1719
  indicators: i,
1666
1720
  activeColor: d,
1667
1721
  defaultColor: o = "#92898A",
@@ -1675,64 +1729,64 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", ke = {
1675
1729
  changeIndType: l,
1676
1730
  activeIndicatorType: a
1677
1731
  }) => {
1678
- const { t: c } = w(), [p, u] = B(), [h, g] = B(), [b, C] = B(), f = (_) => {
1679
- u(p == _ ? null : _);
1680
- }, v = (_) => {
1681
- g(h == _ ? null : _);
1682
- }, y = ({ indicator: _ }) => {
1683
- console.log("onClickIndicator: ", _), x(_);
1684
- }, x = (_) => {
1732
+ const { t: c } = k(), [p, u] = D(), [h, g] = D(), [f, C] = D(), b = (x) => {
1733
+ u(p == x ? null : x);
1734
+ }, v = (x) => {
1735
+ g(h == x ? null : x);
1736
+ }, y = ({ indicator: x }) => {
1737
+ console.log("onClickIndicator: ", x), _(x);
1738
+ }, _ = (x) => {
1685
1739
  if (!t)
1686
1740
  C(
1687
- (b == null ? void 0 : b.name) == _.name ? null : _
1741
+ (f == null ? void 0 : f.name) == x.name ? null : x
1688
1742
  );
1689
1743
  else {
1690
- let N = b && b.length > 0 ? [...b] : [];
1744
+ let N = f && f.length > 0 ? [...f] : [];
1691
1745
  C(
1692
1746
  N != null && N.some(
1693
- (D) => D.name == _.name
1747
+ ($) => $.name == x.name
1694
1748
  ) ? N.filter(
1695
- (D) => D.name != String(_.name)
1696
- ) : [...N, _]
1697
- ), _.type == "both" && l("cat");
1749
+ ($) => $.name != String(x.name)
1750
+ ) : [...N, x]
1751
+ ), x.type == "both" && l("cat");
1698
1752
  }
1699
1753
  };
1700
1754
  L(() => {
1701
- console.log("activeindicator changed to: ", b), n && typeof n == "function" && b && n({ activeIndicator: b });
1702
- }, [b]), Ee(() => {
1703
- if (s && !b)
1755
+ console.log("activeindicator changed to: ", f), n && typeof n == "function" && f && n({ activeIndicator: f });
1756
+ }, [f]), qe(() => {
1757
+ if (s && !f)
1704
1758
  if (t && s && Array.isArray(s)) {
1705
- let _ = b && b.length > 0 ? [...b] : [];
1706
- C([..._, ...s]), k(s[0].name);
1759
+ let x = f && f.length > 0 ? [...f] : [];
1760
+ C([...x, ...s]), w(s[0].name);
1707
1761
  } else
1708
- x(s), k(s.name);
1762
+ _(s), w(s.name);
1709
1763
  }, []);
1710
- const k = (_) => {
1711
- const N = i.find((D) => {
1712
- if (D.subcategories) {
1713
- let A = D.subcategories.find(
1714
- (ne) => ne.indicators.find((Z) => Z.name == _)
1764
+ const w = (x) => {
1765
+ const N = i.find(($) => {
1766
+ if ($.subcategories) {
1767
+ let A = $.subcategories.find(
1768
+ (ne) => ne.indicators.find((U) => U.name == x)
1715
1769
  );
1716
1770
  if (A)
1717
1771
  return g(A.subcategory), A;
1718
1772
  } else
1719
- return D.indicators.some((A) => A.name == _);
1773
+ return $.indicators.some((A) => A.name == x);
1720
1774
  });
1721
1775
  N && u(N.category);
1722
1776
  };
1723
1777
  return /* @__PURE__ */ m("div", { className: ke.indicatorsList, children: [
1724
1778
  /* @__PURE__ */ r("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
1725
- i.map((_, N) => /* @__PURE__ */ r(
1726
- je,
1779
+ i.map((x, N) => /* @__PURE__ */ r(
1780
+ ze,
1727
1781
  {
1728
- id: _.category,
1729
- cat: _,
1730
- onClickCategory: f,
1782
+ id: x.category,
1783
+ cat: x,
1784
+ onClickCategory: b,
1731
1785
  activeCategory: p,
1732
1786
  onClickSubCategory: v,
1733
1787
  activeSubCategory: h,
1734
1788
  onClickIndicator: y,
1735
- activeIndicator: b,
1789
+ activeIndicator: f,
1736
1790
  activeColor: d,
1737
1791
  defaultColor: o,
1738
1792
  multiple: t,
@@ -1744,7 +1798,7 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", ke = {
1744
1798
  ))
1745
1799
  ] });
1746
1800
  };
1747
- Ln.propTypes = {
1801
+ Rn.propTypes = {
1748
1802
  indicators: e.arrayOf(e.object),
1749
1803
  activeColor: e.string,
1750
1804
  defaultColor: e.string,
@@ -1755,14 +1809,14 @@ Ln.propTypes = {
1755
1809
  defaultValue: e.oneOfType([e.object, e.array]),
1756
1810
  activeIndicatorType: e.string
1757
1811
  };
1758
- const Fn = "_langSelector_1of0g_2", Bn = "_currentLang_1of0g_7", Dn = "_arrow_1of0g_19", An = "_prevImg_1of0g_22", On = "_langMenu_1of0g_26", K = {
1759
- langSelector: Fn,
1760
- currentLang: Bn,
1761
- arrow: Dn,
1762
- prevImg: An,
1763
- langMenu: On
1764
- }, Rn = ({ langs: i, arrow: d, imgPrev: o }) => {
1765
- const [n, t] = B(!1), { i18n: s } = w(), l = i.find((c) => c.code == s.language), a = (c) => {
1812
+ const Vn = "_langSelector_1of0g_2", jn = "_currentLang_1of0g_7", zn = "_arrow_1of0g_19", Pn = "_prevImg_1of0g_22", En = "_langMenu_1of0g_26", K = {
1813
+ langSelector: Vn,
1814
+ currentLang: jn,
1815
+ arrow: zn,
1816
+ prevImg: Pn,
1817
+ langMenu: En
1818
+ }, qn = ({ langs: i, arrow: d, imgPrev: o }) => {
1819
+ const [n, t] = D(!1), { i18n: s } = k(), l = i.find((c) => c.code == s.language), a = (c) => {
1766
1820
  s.changeLanguage(c), t(!1);
1767
1821
  };
1768
1822
  return /* @__PURE__ */ m("div", { className: K.langSelector, children: [
@@ -1791,7 +1845,7 @@ const Fn = "_langSelector_1of0g_2", Bn = "_currentLang_1of0g_7", Dn = "_arrow_1o
1791
1845
  )) })
1792
1846
  ] });
1793
1847
  };
1794
- Rn.propTypes = {
1848
+ qn.propTypes = {
1795
1849
  langs: e.arrayOf(
1796
1850
  e.shape({
1797
1851
  code: e.string,
@@ -1805,21 +1859,21 @@ Rn.propTypes = {
1805
1859
  arrow: e.object,
1806
1860
  imgPrev: e.object
1807
1861
  };
1808
- const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titleContainer_atg3j_46", jn = "_infoContainer_atg3j_52", Pn = "_titleLegendList_atg3j_63", qn = "_legendListContainer_atg3j_70", En = "_gridContainer_atg3j_70", Kn = "_elementLegendContainer_atg3j_76", Un = "_colorDot_atg3j_82", Zn = "_absoluteValueContainer_atg3j_88", Hn = "_absoluteValueColor_atg3j_91", Gn = "_absoluteValueText_atg3j_96", Yn = "_moreInfoContainer_atg3j_108", M = {
1809
- legendContainer: In,
1810
- closeButton: zn,
1811
- titleContainer: Vn,
1812
- infoContainer: jn,
1813
- titleLegendList: Pn,
1814
- legendListContainer: qn,
1815
- gridContainer: En,
1816
- elementLegendContainer: Kn,
1817
- colorDot: Un,
1818
- absoluteValueContainer: Zn,
1819
- absoluteValueColor: Hn,
1820
- absoluteValueText: Gn,
1821
- moreInfoContainer: Yn
1822
- }, Wn = ({
1862
+ const Kn = "_legendContainer_atg3j_3", Zn = "_closeButton_atg3j_18", Un = "_titleContainer_atg3j_46", Hn = "_infoContainer_atg3j_52", Gn = "_titleLegendList_atg3j_63", Yn = "_legendListContainer_atg3j_70", Wn = "_gridContainer_atg3j_70", Xn = "_elementLegendContainer_atg3j_76", Jn = "_colorDot_atg3j_82", Qn = "_absoluteValueContainer_atg3j_88", ei = "_absoluteValueColor_atg3j_91", ti = "_absoluteValueText_atg3j_96", ni = "_moreInfoContainer_atg3j_108", M = {
1863
+ legendContainer: Kn,
1864
+ closeButton: Zn,
1865
+ titleContainer: Un,
1866
+ infoContainer: Hn,
1867
+ titleLegendList: Gn,
1868
+ legendListContainer: Yn,
1869
+ gridContainer: Wn,
1870
+ elementLegendContainer: Xn,
1871
+ colorDot: Jn,
1872
+ absoluteValueContainer: Qn,
1873
+ absoluteValueColor: ei,
1874
+ absoluteValueText: ti,
1875
+ moreInfoContainer: ni
1876
+ }, ii = ({
1823
1877
  //JSON with the styles of the container (optional)
1824
1878
  containerStyles: i,
1825
1879
  //Title on top of the legend
@@ -1842,7 +1896,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titl
1842
1896
  buttonTitle: a,
1843
1897
  onClickClose: c
1844
1898
  }) => {
1845
- const { t: p } = w();
1899
+ const { t: p } = k();
1846
1900
  return /* @__PURE__ */ m(
1847
1901
  "div",
1848
1902
  {
@@ -1858,7 +1912,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titl
1858
1912
  h
1859
1913
  ] })
1860
1914
  ] }, d)) }) }),
1861
- /* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(me, { i18nKey: t, components: { sup: /* @__PURE__ */ r("sup", {}) } }) : p("mainUse") }),
1915
+ /* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(ge, { i18nKey: t, components: { sup: /* @__PURE__ */ r("sup", {}) } }) : p("mainUse") }),
1862
1916
  /* @__PURE__ */ r("div", { className: M.legendListContainer, children: s ? /* @__PURE__ */ m("div", { className: M.absoluteValueContainer, children: [
1863
1917
  /* @__PURE__ */ r(
1864
1918
  "div",
@@ -1901,7 +1955,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titl
1901
1955
  }
1902
1956
  );
1903
1957
  };
1904
- Wn.propTypes = {
1958
+ ii.propTypes = {
1905
1959
  title: e.string,
1906
1960
  containerStyles: e.object,
1907
1961
  infoList: e.arrayOf(
@@ -1927,23 +1981,23 @@ Wn.propTypes = {
1927
1981
  buttonTitle: e.string,
1928
1982
  onClickClose: e.func
1929
1983
  };
1930
- const Xn = "_logo_1ewa6_2", we = {
1931
- logo: Xn
1932
- }, Jn = ({ src: i, alt: d, href: o }) => {
1933
- const { t: n } = w(), t = /* @__PURE__ */ r("img", { src: i, alt: n(d) });
1934
- return o ? /* @__PURE__ */ r("div", { className: we.logo, children: /* @__PURE__ */ r("a", { href: o, children: t }) }) : /* @__PURE__ */ r("div", { className: we.logo, children: t });
1984
+ const oi = "_logo_1ewa6_2", Ne = {
1985
+ logo: oi
1986
+ }, si = ({ src: i, alt: d, href: o }) => {
1987
+ const { t: n } = k(), t = /* @__PURE__ */ r("img", { src: i, alt: n(d) });
1988
+ return o ? /* @__PURE__ */ r("div", { className: Ne.logo, children: /* @__PURE__ */ r("a", { href: o, children: t }) }) : /* @__PURE__ */ r("div", { className: Ne.logo, children: t });
1935
1989
  };
1936
- Jn.propTypes = {
1990
+ si.propTypes = {
1937
1991
  src: e.string.isRequired,
1938
1992
  alt: e.string.isRequired,
1939
1993
  href: e.string,
1940
1994
  className: e.string
1941
1995
  };
1942
- const Qn = "_mapContainer_84pkf_2", ei = {
1943
- mapContainer: Qn
1996
+ const ri = "_mapContainer_84pkf_2", ai = {
1997
+ mapContainer: ri
1944
1998
  };
1945
- Ue.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
1946
- const ti = ({
1999
+ Ze.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2000
+ const li = ({
1947
2001
  initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
1948
2002
  maxZoom: d = 17,
1949
2003
  minZoom: o = 8,
@@ -1956,16 +2010,16 @@ const ti = ({
1956
2010
  sources: p = [],
1957
2011
  layers: u = []
1958
2012
  }) => {
1959
- const h = he(), [g, b] = B(null), C = ce((f) => f.mapState.showTexts);
2013
+ const h = me(), [g, f] = D(null), C = de((b) => b.mapState.showTexts);
1960
2014
  return L(() => {
1961
2015
  if (h.current) {
1962
- const f = h.current.getMap();
1963
- f.getStyle().layers.map((y) => {
1964
- y.type == "symbol" && y.id != "professionals" && (C ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2016
+ const b = h.current.getMap();
2017
+ b.getStyle().layers.map((y) => {
2018
+ y.type == "symbol" && y.id != "professionals" && (C ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
1965
2019
  });
1966
2020
  }
1967
- }, [C]), /* @__PURE__ */ r("div", { className: `${ei.mapContainer}`, style: s, children: /* @__PURE__ */ m(
1968
- Ze,
2021
+ }, [C]), /* @__PURE__ */ r("div", { className: `${ai.mapContainer}`, style: s, children: /* @__PURE__ */ m(
2022
+ Ue,
1969
2023
  {
1970
2024
  initialViewState: i,
1971
2025
  ref: h,
@@ -1976,18 +2030,18 @@ const ti = ({
1976
2030
  onClick: l,
1977
2031
  interactiveLayerIds: a,
1978
2032
  children: [
1979
- p.length && p.map((f, v) => /* @__PURE__ */ r(
2033
+ p.length && p.map((b, v) => /* @__PURE__ */ r(
1980
2034
  He,
1981
2035
  {
1982
- ...f,
1983
- children: u.length && u.map((y, x) => {
1984
- if (y.sourceId == f.id) return /* @__PURE__ */ r(
2036
+ ...b,
2037
+ children: u.length && u.map((y, _) => {
2038
+ if (y.sourceId == b.id) return /* @__PURE__ */ r(
1985
2039
  Ge,
1986
2040
  {
1987
2041
  ...y.layer,
1988
2042
  beforeId: t
1989
2043
  },
1990
- x
2044
+ _
1991
2045
  );
1992
2046
  })
1993
2047
  },
@@ -2000,7 +2054,7 @@ const ti = ({
2000
2054
  longitude: c.longitude,
2001
2055
  latitude: c.latitude,
2002
2056
  anchor: c.anchor,
2003
- onClose: () => b(null),
2057
+ onClose: () => f(null),
2004
2058
  children: c.content
2005
2059
  }
2006
2060
  )
@@ -2008,7 +2062,7 @@ const ti = ({
2008
2062
  }
2009
2063
  ) });
2010
2064
  };
2011
- ti.propTypes = {
2065
+ li.propTypes = {
2012
2066
  initialView: e.shape({
2013
2067
  latitude: e.number.isRequired,
2014
2068
  longitude: e.number.isRequired,
@@ -2053,23 +2107,23 @@ ti.propTypes = {
2053
2107
  })
2054
2108
  )
2055
2109
  };
2056
- const ni = "_mapContainer_b0pyr_3", ii = {
2057
- mapContainer: ni
2058
- }, si = "_FeaturePopUp_1gd6w_2", oi = "_title_1gd6w_2", Ne = {
2059
- FeaturePopUp: si,
2060
- title: oi
2061
- }, ri = ({ props: i }) => {
2062
- const { t: d } = w();
2063
- return /* @__PURE__ */ r("div", { className: Ne.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ m("p", { children: [
2064
- /* @__PURE__ */ m("span", { className: Ne.title, children: [
2065
- /* @__PURE__ */ r(me, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2110
+ const ci = "_mapContainer_b0pyr_3", di = {
2111
+ mapContainer: ci
2112
+ }, pi = "_FeaturePopUp_1gd6w_2", ui = "_title_1gd6w_2", Se = {
2113
+ FeaturePopUp: pi,
2114
+ title: ui
2115
+ }, hi = ({ props: i }) => {
2116
+ const { t: d } = k();
2117
+ return /* @__PURE__ */ r("div", { className: Se.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ m("p", { children: [
2118
+ /* @__PURE__ */ m("span", { className: Se.title, children: [
2119
+ /* @__PURE__ */ r(ge, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2066
2120
  ": "
2067
2121
  ] }),
2068
2122
  o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2069
2123
  " ",
2070
2124
  d(o.unit)
2071
2125
  ] })) });
2072
- }, ai = ({
2126
+ }, mi = ({
2073
2127
  initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2074
2128
  maxZoom: d = 17,
2075
2129
  minZoom: o = 8,
@@ -2083,23 +2137,23 @@ const ni = "_mapContainer_b0pyr_3", ii = {
2083
2137
  filters: u,
2084
2138
  popUpParams: h,
2085
2139
  onClosePopUp: g,
2086
- showTexts: b
2140
+ showTexts: f
2087
2141
  }) => {
2088
2142
  console.log(u);
2089
- const C = he();
2143
+ const C = me();
2090
2144
  return L(() => {
2091
2145
  if (C.current) {
2092
- const f = C.current.getMap();
2093
- f.getStyle().layers.map((y) => {
2094
- y.type == "symbol" && y.id != "professionals" && (b ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
2146
+ const b = C.current.getMap();
2147
+ b.getStyle().layers.map((y) => {
2148
+ y.type == "symbol" && y.id != "professionals" && (f ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
2095
2149
  });
2096
2150
  }
2097
- }, [b]), L(() => {
2098
- let f = new Xe();
2099
- return ie.addProtocol("pmtiles", f.tile), () => {
2151
+ }, [f]), L(() => {
2152
+ let b = new Xe();
2153
+ return ie.addProtocol("pmtiles", b.tile), () => {
2100
2154
  ie.removeProtocol("pmtiles");
2101
2155
  };
2102
- }, []), /* @__PURE__ */ r("div", { className: `${ii.mapContainer}`, style: s && s, children: /* @__PURE__ */ m(
2156
+ }, []), /* @__PURE__ */ r("div", { className: `${di.mapContainer}`, style: s && s, children: /* @__PURE__ */ m(
2103
2157
  Je,
2104
2158
  {
2105
2159
  mapLib: ie,
@@ -2112,19 +2166,19 @@ const ni = "_mapContainer_b0pyr_3", ii = {
2112
2166
  onClick: l,
2113
2167
  interactiveLayerIds: a,
2114
2168
  children: [
2115
- c.length && c.map((f, v) => /* @__PURE__ */ r(
2169
+ c.length && c.map((b, v) => /* @__PURE__ */ r(
2116
2170
  Qe,
2117
2171
  {
2118
- ...f,
2119
- children: p.length && p.map((y, x) => {
2120
- if (y.sourceId == f.id) return /* @__PURE__ */ r(
2172
+ ...b,
2173
+ children: p.length && p.map((y, _) => {
2174
+ if (y.sourceId == b.id) return /* @__PURE__ */ r(
2121
2175
  et,
2122
2176
  {
2123
2177
  ...y.layer,
2124
2178
  beforeId: t,
2125
2179
  filter: u && u
2126
2180
  },
2127
- x
2181
+ _
2128
2182
  );
2129
2183
  })
2130
2184
  },
@@ -2137,14 +2191,14 @@ const ni = "_mapContainer_b0pyr_3", ii = {
2137
2191
  longitude: h.lng,
2138
2192
  latitude: h.lat,
2139
2193
  onClose: g,
2140
- children: /* @__PURE__ */ r(ri, { props: h.props })
2194
+ children: /* @__PURE__ */ r(hi, { props: h.props })
2141
2195
  }
2142
2196
  )
2143
2197
  ]
2144
2198
  }
2145
2199
  ) });
2146
2200
  };
2147
- ai.propTypes = {
2201
+ mi.propTypes = {
2148
2202
  initialView: e.shape({
2149
2203
  latitude: e.number.isRequired,
2150
2204
  longitude: e.number.isRequired,
@@ -2187,34 +2241,33 @@ ai.propTypes = {
2187
2241
  popUpParams: e.object,
2188
2242
  onClosePopUp: e.func
2189
2243
  };
2190
- const li = "_sectionBar_1nshk_2", ci = "_leftContent_1nshk_14", di = "_textContainer_1nshk_20", pi = "_title_1nshk_27", ui = "_subtitle_1nshk_33", hi = "_rightContent_1nshk_38", V = {
2191
- sectionBar: li,
2192
- leftContent: ci,
2193
- textContainer: di,
2194
- title: pi,
2195
- subtitle: ui,
2196
- rightContent: hi
2197
- }, mi = ({ leftIcon: i, title: d, subtitle: o, rightContent: n, mainColor: t }) => {
2198
- const { t: s } = w();
2199
- return /* @__PURE__ */ m("div", { className: V.sectionBar, children: [
2200
- /* @__PURE__ */ m("div", { className: V.leftContent, children: [
2201
- i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: V.icon }),
2202
- /* @__PURE__ */ m("div", { className: V.textContainer, children: [
2203
- /* @__PURE__ */ r("div", { className: V.title, style: t ? { color: t } : {}, children: s(d) }),
2204
- o && /* @__PURE__ */ r("div", { className: V.subtitle, children: o })
2244
+ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textContainer_1egwc_20", fi = "_title_1egwc_27", yi = "_subtitle_1egwc_33", vi = "_rightContent_1egwc_38", z = {
2245
+ sectionBar: gi,
2246
+ leftContent: Ci,
2247
+ textContainer: bi,
2248
+ title: fi,
2249
+ subtitle: yi,
2250
+ rightContent: vi
2251
+ }, mo = ({
2252
+ leftIcon: i,
2253
+ title: d,
2254
+ subtitle: o,
2255
+ rightContent: n,
2256
+ mainColor: t,
2257
+ width: s
2258
+ }) => {
2259
+ const { t: l } = k();
2260
+ return /* @__PURE__ */ m("div", { className: z.sectionBar, style: { width: s && s }, children: [
2261
+ /* @__PURE__ */ m("div", { className: z.leftContent, children: [
2262
+ i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: z.icon }),
2263
+ /* @__PURE__ */ m("div", { className: z.textContainer, children: [
2264
+ /* @__PURE__ */ r("div", { className: z.title, children: l(d) }),
2265
+ o && /* @__PURE__ */ r("div", { className: z.subtitle, children: o })
2205
2266
  ] })
2206
2267
  ] }),
2207
- /* @__PURE__ */ r("div", { className: V.rightContent, children: n })
2268
+ /* @__PURE__ */ r("div", { className: z.rightContent, children: n })
2208
2269
  ] });
2209
- };
2210
- mi.propTypes = {
2211
- leftIcon: e.node.isRequired,
2212
- title: e.string.isRequired,
2213
- subtitle: e.string,
2214
- rightContent: e.node.isRequired,
2215
- mainColor: e.string
2216
- };
2217
- const gi = Me({
2270
+ }, _i = Me({
2218
2271
  name: "mapSlice",
2219
2272
  initialState: {
2220
2273
  showTexts: !0,
@@ -2240,36 +2293,36 @@ const gi = Me({
2240
2293
  i.activeIndicatorUnit = d.payload;
2241
2294
  }
2242
2295
  }
2243
- }), { setShowTexts: rs, setYear: le, setActiveIndicatorKey: as, setActiveIndicatorType: ls, setActiveIndicatorUnit: cs } = gi.actions, bi = "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", fi = "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", yi = "_slider_a19yo_2", Ci = "_playButton_a19yo_17", vi = "_sliderOpen_a19yo_28", _i = "_sliderResults_a19yo_32", Y = {
2244
- slider: yi,
2245
- playButton: Ci,
2246
- sliderOpen: vi,
2247
- sliderResults: _i
2248
- }, xi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: s = !1 }) => {
2249
- const [l, a] = B(d), c = Te(), p = (y, x) => {
2250
- a(x), c(le(x - 2e3));
2251
- }, [u, h] = B(!1), g = () => {
2296
+ }), { setShowTexts: go, setYear: le, setActiveIndicatorKey: Co, setActiveIndicatorType: bo, setActiveIndicatorUnit: fo } = _i.actions, xi = "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", wi = "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", ki = "_slider_a19yo_2", Ni = "_playButton_a19yo_17", Si = "_sliderOpen_a19yo_28", Ti = "_sliderResults_a19yo_32", Y = {
2297
+ slider: ki,
2298
+ playButton: Ni,
2299
+ sliderOpen: Si,
2300
+ sliderResults: Ti
2301
+ }, Mi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: s = !1 }) => {
2302
+ const [l, a] = D(d), c = Te(), p = (y, _) => {
2303
+ a(_), c(le(_ - 2e3));
2304
+ }, [u, h] = D(!1), g = () => {
2252
2305
  h(!0);
2253
- }, b = () => {
2306
+ }, f = () => {
2254
2307
  h(!1);
2255
2308
  };
2256
- ((y, x) => {
2257
- const k = he();
2309
+ ((y, _) => {
2310
+ const w = me();
2258
2311
  L(() => {
2259
- k.current = y;
2312
+ w.current = y;
2260
2313
  }, [y]), L(() => {
2261
- function _() {
2262
- k.current();
2314
+ function x() {
2315
+ w.current();
2263
2316
  }
2264
2317
  {
2265
- let N = setInterval(_, x);
2318
+ let N = setInterval(x, _);
2266
2319
  return () => clearInterval(N);
2267
2320
  }
2268
- }, [x]);
2321
+ }, [_]);
2269
2322
  })(() => {
2270
2323
  u && (l != 2050 ? (a(l + 1), c(le(l - 2e3 + 1))) : (a(2025), c(le(25))));
2271
2324
  }, 1e3);
2272
- const f = st({
2325
+ const b = ot({
2273
2326
  palette: {
2274
2327
  primary: {
2275
2328
  main: "#605b56"
@@ -2297,8 +2350,8 @@ const gi = Me({
2297
2350
  { label: "", value: 2041 },
2298
2351
  { label: "", value: 2050 }
2299
2352
  ];
2300
- return /* @__PURE__ */ r(rt, { theme: f, children: /* @__PURE__ */ m(
2301
- ot,
2353
+ return /* @__PURE__ */ r(rt, { theme: b, children: /* @__PURE__ */ m(
2354
+ st,
2302
2355
  {
2303
2356
  sx: { width: 400 },
2304
2357
  className: `${i ? Y.sliderResults : Y.slider} ${s ? Y.sliderOpen : ""}`,
@@ -2321,13 +2374,13 @@ const gi = Me({
2321
2374
  }
2322
2375
  ),
2323
2376
  n,
2324
- !u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: g, children: /* @__PURE__ */ r("img", { src: bi, alt: "Play" }) }),
2325
- u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: b, children: /* @__PURE__ */ r("img", { src: fi, alt: "Pause" }) })
2377
+ !u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: g, children: /* @__PURE__ */ r("img", { src: xi, alt: "Play" }) }),
2378
+ u && /* @__PURE__ */ r("button", { className: Y.playButton, onClick: f, children: /* @__PURE__ */ r("img", { src: wi, alt: "Pause" }) })
2326
2379
  ]
2327
2380
  }
2328
2381
  ) });
2329
2382
  };
2330
- xi.propTypes = {
2383
+ Mi.propTypes = {
2331
2384
  defaultYear: e.number,
2332
2385
  onResults: e.bool,
2333
2386
  firstYear: e.number,
@@ -2335,32 +2388,40 @@ xi.propTypes = {
2335
2388
  zIndex: e.number,
2336
2389
  rightBarOpen: e.bool
2337
2390
  };
2338
- const ki = "_TopNavMenuContainer_ku22g_2", wi = "_topNavOptions_ku22g_11", Se = {
2339
- TopNavMenuContainer: ki,
2340
- topNavOptions: wi
2341
- }, Ni = ({ options: i = [], cssProps: d = {}, activeColor: o }) => {
2342
- const { t: n } = w(), t = d.textColor || "inherit";
2343
- d.borderColor;
2344
- const s = d.height || "calc(70px - 10px);";
2345
- return /* @__PURE__ */ r("div", { className: Se.TopNavMenuContainer, children: i.map((l, a) => /* @__PURE__ */ r(
2346
- at,
2391
+ const Li = "_TopNavMenuContainer_15agj_2", Fi = "_topNavOptions_15agj_12", Bi = "_active_15agj_23", ce = {
2392
+ TopNavMenuContainer: Li,
2393
+ topNavOptions: Fi,
2394
+ active: Bi
2395
+ }, Di = ({
2396
+ options: i = [],
2397
+ cssProps: d = {},
2398
+ containerStyles: o
2399
+ }) => {
2400
+ const { t: n } = k(), t = d.textColor || "inherit", s = d.borderColor || "transparent", l = d.height || "100%";
2401
+ return /* @__PURE__ */ r(
2402
+ "div",
2347
2403
  {
2348
- to: l.url,
2349
- className: ({ isActive: c }) => `${Se.topNavOptions}`,
2350
- style: {
2351
- color: t,
2352
- height: s,
2353
- boxShadow: isActive ? `0 5px 0 0 ${o}` : "inherit"
2354
- },
2355
- children: n(l.name)
2356
- },
2357
- a
2358
- )) });
2404
+ className: ce.TopNavMenuContainer,
2405
+ style: o || {},
2406
+ children: i.map((a, c) => /* @__PURE__ */ r(
2407
+ at,
2408
+ {
2409
+ to: a.url,
2410
+ className: ({ isActive: p }) => `${ce.topNavOptions} ${p ? ce.active : ""}`,
2411
+ style: ({ isActive: p }) => ({
2412
+ color: t,
2413
+ borderColor: p ? s : "transparent",
2414
+ height: `calc(${l} - 10px)`
2415
+ }),
2416
+ children: n(a.name)
2417
+ },
2418
+ c
2419
+ ))
2420
+ }
2421
+ );
2359
2422
  };
2360
- Ni.propTypes = {
2361
- options: e.arrayOf(
2362
- e.object
2363
- ),
2423
+ Di.propTypes = {
2424
+ options: e.arrayOf(e.object),
2364
2425
  cssProps: e.shape({
2365
2426
  borderColor: e.string.isRequired,
2366
2427
  textColor: e.string.isRequired
@@ -2369,7 +2430,7 @@ Ni.propTypes = {
2369
2430
  // activeColor: PropTypes.string,
2370
2431
  // defaultColor: PropTypes.string
2371
2432
  };
2372
- const Si = Me({
2433
+ const $i = Me({
2373
2434
  name: "userSlice",
2374
2435
  initialState: {
2375
2436
  user: {
@@ -2387,15 +2448,15 @@ const Si = Me({
2387
2448
  i.showUserMenu = d.payload;
2388
2449
  }
2389
2450
  }
2390
- }), { setShowLogIn: Ti, setShowUserMenu: Mi } = Si.actions, $i = "_UserMenuTrigger_uglss_2", Li = {
2391
- UserMenuTrigger: $i
2392
- }, Fi = ({ cssClass: i, loginLocale: d = "login" }) => {
2393
- const o = Te(), n = ce((a) => a.userState.user.isLoggedIn), t = ce((a) => a.userState.user.username), { t: s } = w(), l = () => {
2394
- o(n ? Ti(!0) : Mi(!0));
2451
+ }), { setShowLogIn: Ai, setShowUserMenu: Oi } = $i.actions, Ii = "_UserMenuTrigger_uglss_2", Ri = {
2452
+ UserMenuTrigger: Ii
2453
+ }, Vi = ({ cssClass: i, loginLocale: d = "login" }) => {
2454
+ const o = Te(), n = de((a) => a.userState.user.isLoggedIn), t = de((a) => a.userState.user.username), { t: s } = k(), l = () => {
2455
+ o(n ? Ai(!0) : Oi(!0));
2395
2456
  };
2396
- return /* @__PURE__ */ r("div", { className: `${Li.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : s(d) });
2457
+ return /* @__PURE__ */ r("div", { className: `${Ri.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : s(d) });
2397
2458
  };
2398
- Fi.propTypes = {
2459
+ Vi.propTypes = {
2399
2460
  onClickLoggedIn: e.func.isRequired,
2400
2461
  onClickLoggedOut: e.func.isRequired,
2401
2462
  log: e.bool,
@@ -2403,17 +2464,43 @@ Fi.propTypes = {
2403
2464
  cssClass: e.string,
2404
2465
  loginLocale: e.string
2405
2466
  };
2406
- const Bi = "_header_t7qdl_2", Di = "_leftComponents_t7qdl_12", Ai = "_centerComponents_t7qdl_13", Oi = "_rightComponents_t7qdl_14", Q = {
2407
- header: Bi,
2408
- leftComponents: Di,
2409
- centerComponents: Ai,
2410
- rightComponents: Oi
2411
- }, Ri = ({ cssProps: i, leftComponents: d = [], centerComponents: o = [], rightComponents: n = [] }) => /* @__PURE__ */ m("div", { className: Q.header, style: i, children: [
2412
- /* @__PURE__ */ r("div", { className: Q.leftComponents, style: { height: i.height }, children: d.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s)) }),
2413
- /* @__PURE__ */ r("div", { className: Q.centerComponents, style: { height: i.height }, children: o.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s)) }),
2414
- /* @__PURE__ */ r("div", { className: Q.rightComponents, style: { height: i.height }, children: n.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s)) })
2467
+ const ji = "_header_t7qdl_2", zi = "_leftComponents_t7qdl_12", Pi = "_centerComponents_t7qdl_13", Ei = "_rightComponents_t7qdl_14", Q = {
2468
+ header: ji,
2469
+ leftComponents: zi,
2470
+ centerComponents: Pi,
2471
+ rightComponents: Ei
2472
+ }, qi = ({
2473
+ cssProps: i,
2474
+ leftComponents: d = [],
2475
+ centerComponents: o = [],
2476
+ rightComponents: n = []
2477
+ }) => /* @__PURE__ */ m("div", { className: Q.header, style: i, children: [
2478
+ /* @__PURE__ */ r(
2479
+ "div",
2480
+ {
2481
+ className: Q.leftComponents,
2482
+ style: { height: i.height },
2483
+ children: d.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2484
+ }
2485
+ ),
2486
+ /* @__PURE__ */ r(
2487
+ "div",
2488
+ {
2489
+ className: Q.centerComponents,
2490
+ style: { height: i.height },
2491
+ children: o.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2492
+ }
2493
+ ),
2494
+ /* @__PURE__ */ r(
2495
+ "div",
2496
+ {
2497
+ className: Q.rightComponents,
2498
+ style: { height: i.height },
2499
+ children: n.map((t, s) => /* @__PURE__ */ r("div", { style: { height: i.height }, children: t }, s))
2500
+ }
2501
+ )
2415
2502
  ] });
2416
- Ri.propTypes = {
2503
+ qi.propTypes = {
2417
2504
  cssProps: e.shape({
2418
2505
  backgroundColor: e.string.isRequired,
2419
2506
  height: e.string.isRequired,
@@ -2424,12 +2511,12 @@ Ri.propTypes = {
2424
2511
  centerComponents: e.arrayOf(e.node),
2425
2512
  rightComponents: e.arrayOf(e.node)
2426
2513
  };
2427
- const Ii = "_sidebar_1jqo2_2", zi = "_open_1jqo2_16", Vi = "_content_1jqo2_20", ji = "_closeButton_1jqo2_26", ee = {
2428
- sidebar: Ii,
2429
- open: zi,
2430
- content: Vi,
2431
- closeButton: ji
2432
- }, Pi = ({ width: i = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2514
+ const Ki = "_sidebar_1jqo2_2", Zi = "_open_1jqo2_16", Ui = "_content_1jqo2_20", Hi = "_closeButton_1jqo2_26", ee = {
2515
+ sidebar: Ki,
2516
+ open: Zi,
2517
+ content: Ui,
2518
+ closeButton: Hi
2519
+ }, Gi = ({ width: i = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
2433
2520
  const t = () => {
2434
2521
  n();
2435
2522
  };
@@ -2445,30 +2532,30 @@ const Ii = "_sidebar_1jqo2_2", zi = "_open_1jqo2_16", Vi = "_content_1jqo2_20",
2445
2532
  }
2446
2533
  );
2447
2534
  };
2448
- Pi.propTypes = {
2535
+ Gi.propTypes = {
2449
2536
  width: e.string,
2450
2537
  children: e.node,
2451
2538
  showRightBar: e.bool,
2452
2539
  onCloseBar: e.func
2453
2540
  };
2454
2541
  export {
2455
- wt as AmbitSelector,
2456
- Rt as ButtonsList,
2457
- j as DropdownList,
2458
- os as EditAmbit,
2459
- an as FiltersAmbit,
2460
- un as Graphic,
2461
- Ri as HeaderSection,
2462
- Ln as IndicatorsList,
2463
- Rn as LangSelector,
2464
- Wn as Legend,
2465
- Jn as LogoApp,
2466
- ti as MapboxMap,
2467
- ai as MaplibreMap,
2468
- Pi as RightSidebar,
2469
- mi as SectionBar,
2470
- xi as TimeSlider,
2471
- Le as Tooltip,
2472
- Ni as TopNavMenu,
2473
- Fi as UserMenuTrigger
2542
+ Ft as AmbitSelector,
2543
+ Et as ButtonsList,
2544
+ P as DropdownList,
2545
+ ho as EditAmbit,
2546
+ mn as FiltersAmbit,
2547
+ yn as Graphic,
2548
+ qi as HeaderSection,
2549
+ Rn as IndicatorsList,
2550
+ qn as LangSelector,
2551
+ ii as Legend,
2552
+ si as LogoApp,
2553
+ li as MapboxMap,
2554
+ mi as MaplibreMap,
2555
+ Gi as RightSidebar,
2556
+ mo as SectionBar,
2557
+ Mi as TimeSlider,
2558
+ Fe as Tooltip,
2559
+ Di as TopNavMenu,
2560
+ Vi as UserMenuTrigger
2474
2561
  };