@tmf_ciclica/ciclicastorybook 1.1.33 → 1.1.35
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.cjs.js +4 -4
- package/dist/index.es.js +570 -574
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
3
|
-
import
|
|
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_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._UserMenuTrigger_uglss_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as h, jsx as i, Fragment as qe } from "react/jsx-runtime";
|
|
3
|
+
import U, { useState as B, useEffect as L, useMemo as te, useLayoutEffect as Ke, useRef as he } from "react";
|
|
4
4
|
import e from "prop-types";
|
|
5
5
|
import { useTranslation as k, Trans as ge } from "react-i18next";
|
|
6
6
|
import { motion as Ce } from "framer-motion";
|
|
@@ -17,23 +17,23 @@ import ot from "@mui/material/Slider";
|
|
|
17
17
|
import { createTheme as st, Box as rt } from "@mui/material";
|
|
18
18
|
import { ThemeProvider as at } from "@emotion/react";
|
|
19
19
|
import { NavLink as lt } from "react-router-dom";
|
|
20
|
-
const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateContainer_mcunf_23", ut = "_ambitName_mcunf_39",
|
|
20
|
+
const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateContainer_mcunf_23", ut = "_ambitName_mcunf_39", mt = "_ambitDate_mcunf_53", ht = "_buttonsContainer_mcunf_67", gt = "_ambitListContainer_mcunf_76", Ct = "_newAmbitButtonContainer_mcunf_80", R = {
|
|
21
21
|
ambitSelector: ct,
|
|
22
22
|
header: dt,
|
|
23
23
|
nameDateContainer: pt,
|
|
24
24
|
ambitName: ut,
|
|
25
|
-
ambitDate:
|
|
26
|
-
buttonsContainer:
|
|
25
|
+
ambitDate: mt,
|
|
26
|
+
buttonsContainer: ht,
|
|
27
27
|
ambitListContainer: gt,
|
|
28
28
|
newAmbitButtonContainer: Ct
|
|
29
|
-
}, bt = "_ambitItem_1ueih_2", ft = "_ambitNameDate_1ueih_16", yt = "_ambitName_1ueih_16", vt = "_ambitDate_1ueih_35", _t = "_ambitButtons_1ueih_38",
|
|
29
|
+
}, bt = "_ambitItem_1ueih_2", ft = "_ambitNameDate_1ueih_16", yt = "_ambitName_1ueih_16", vt = "_ambitDate_1ueih_35", _t = "_ambitButtons_1ueih_38", G = {
|
|
30
30
|
ambitItem: bt,
|
|
31
31
|
ambitNameDate: ft,
|
|
32
32
|
ambitName: yt,
|
|
33
33
|
ambitDate: vt,
|
|
34
34
|
ambitButtons: _t
|
|
35
|
-
}, 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='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", 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%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", 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%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", Nt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", St = "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", Tt = "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 = ({
|
|
36
|
-
ambit:
|
|
35
|
+
}, 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='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", 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%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", 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%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", Nt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", St = "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", Tt = "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", Fe = ({
|
|
36
|
+
ambit: o,
|
|
37
37
|
onClickCopy: d,
|
|
38
38
|
onClickDelete: s,
|
|
39
39
|
onClickFilters: n,
|
|
@@ -43,37 +43,37 @@ const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateCon
|
|
|
43
43
|
fontColor: a,
|
|
44
44
|
moreInfo: c
|
|
45
45
|
}) => {
|
|
46
|
-
const { nom: p, created_at: u, id:
|
|
47
|
-
return /* @__PURE__ */
|
|
46
|
+
const { nom: p, created_at: u, id: m, isBeingProcessed: g } = o;
|
|
47
|
+
return /* @__PURE__ */ h(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
|
-
className:
|
|
50
|
+
className: G.ambitItem,
|
|
51
51
|
style: { borderBottom: `1px solid ${a}` },
|
|
52
52
|
children: [
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ h("div", { className: G.ambitNameDate, onClick: () => t(m), children: [
|
|
54
|
+
/* @__PURE__ */ h("div", { className: G.ambitName, children: [
|
|
55
|
+
/* @__PURE__ */ i(
|
|
56
56
|
"img",
|
|
57
57
|
{
|
|
58
58
|
style: { marginRight: 9 },
|
|
59
59
|
src: r ? St : Tt
|
|
60
60
|
}
|
|
61
61
|
),
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ i("span", { style: { color: r ? l : a }, children: p })
|
|
63
63
|
] }),
|
|
64
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ i("div", { className: G.ambitDate, children: new Date(u).toLocaleDateString() })
|
|
65
65
|
] }),
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
g && /* @__PURE__ */
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ h("div", { className: G.ambitButtons, children: [
|
|
67
|
+
g && /* @__PURE__ */ i("img", { src: Nt }),
|
|
68
|
+
/* @__PURE__ */ i("button", { onClick: () => n(m), children: /* @__PURE__ */ i("img", { src: kt }) }),
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => d(m), children: /* @__PURE__ */ i("img", { src: wt }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => s(m), children: /* @__PURE__ */ i("img", { src: xt }) })
|
|
71
71
|
] })
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
};
|
|
76
|
-
|
|
76
|
+
Fe.propTypes = {
|
|
77
77
|
ambit: e.shape({
|
|
78
78
|
nom: e.string.isRequired,
|
|
79
79
|
created_at: e.string.isRequired,
|
|
@@ -91,23 +91,23 @@ Le.propTypes = {
|
|
|
91
91
|
moreInfo: e.object
|
|
92
92
|
// Optional, can be used for additional info
|
|
93
93
|
};
|
|
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", Mt = "_generalButton_8d6ru_2",
|
|
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", Mt = "_generalButton_8d6ru_2", Ft = {
|
|
95
95
|
generalButton: Mt
|
|
96
|
-
},
|
|
97
|
-
children:
|
|
96
|
+
}, Be = ({
|
|
97
|
+
children: o,
|
|
98
98
|
onClick: d,
|
|
99
99
|
fontColor: s,
|
|
100
100
|
borderColor: n
|
|
101
|
-
}) => /* @__PURE__ */
|
|
101
|
+
}) => /* @__PURE__ */ i(
|
|
102
102
|
"button",
|
|
103
103
|
{
|
|
104
|
-
className:
|
|
104
|
+
className: Ft.generalButton,
|
|
105
105
|
style: { color: s, border: `1.5px solid ${n}` },
|
|
106
106
|
onClick: d,
|
|
107
|
-
children:
|
|
107
|
+
children: o
|
|
108
108
|
}
|
|
109
|
-
),
|
|
110
|
-
ambitList:
|
|
109
|
+
), Bt = ({
|
|
110
|
+
ambitList: o,
|
|
111
111
|
activeAmbitId: d,
|
|
112
112
|
fontColor: s = "#605B56",
|
|
113
113
|
activeColor: n,
|
|
@@ -118,62 +118,62 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
118
118
|
containerStyles: c = {},
|
|
119
119
|
onCLickNewAmbit: p = () => console.log("New ambit clicked"),
|
|
120
120
|
onClickCopy: u = (C) => console.log(`Copy ambit: ${C}`),
|
|
121
|
-
onCLickDelete:
|
|
121
|
+
onCLickDelete: m = (C) => console.log(`Delete ambit: ${C}`),
|
|
122
122
|
onClickFilters: g = (C) => console.log(`Filters clicked: ${C}`),
|
|
123
|
-
onClickAmbit:
|
|
123
|
+
onClickAmbit: f = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
124
124
|
}) => {
|
|
125
|
-
const { t: C } = k(), [b, v] =
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}, [
|
|
129
|
-
const
|
|
125
|
+
const { t: C } = k(), [b, v] = B(o);
|
|
126
|
+
L(() => {
|
|
127
|
+
o && v(o);
|
|
128
|
+
}, [o]);
|
|
129
|
+
const y = (_) => {
|
|
130
130
|
if (b && b.length > 0) {
|
|
131
131
|
let w = [...b];
|
|
132
132
|
w.sort((x, N) => x[_].localeCompare(N[_])), v(w);
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
|
-
return /* @__PURE__ */
|
|
135
|
+
return /* @__PURE__ */ h(
|
|
136
136
|
"div",
|
|
137
137
|
{
|
|
138
138
|
className: R.ambitSelector,
|
|
139
139
|
style: { color: s, ...c },
|
|
140
140
|
children: [
|
|
141
|
-
/* @__PURE__ */
|
|
141
|
+
/* @__PURE__ */ h(
|
|
142
142
|
"div",
|
|
143
143
|
{
|
|
144
144
|
className: R.header,
|
|
145
145
|
style: { borderBottom: `1px solid ${s}` },
|
|
146
146
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ h("div", { className: R.nameDateContainer, children: [
|
|
148
|
+
/* @__PURE__ */ i("div", { className: R.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => y("name"), children: [
|
|
149
|
+
/* @__PURE__ */ i("span", { children: C(t) }),
|
|
150
|
+
/* @__PURE__ */ i("img", { src: ve })
|
|
151
151
|
] }) }),
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */
|
|
152
|
+
/* @__PURE__ */ i("div", { className: R.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => y("date"), children: [
|
|
153
|
+
/* @__PURE__ */ i("span", { children: C(r) }),
|
|
154
|
+
/* @__PURE__ */ i("img", { src: ve })
|
|
155
155
|
] }) })
|
|
156
156
|
] }),
|
|
157
|
-
/* @__PURE__ */
|
|
157
|
+
/* @__PURE__ */ i("div", { className: R.buttonsContainer })
|
|
158
158
|
]
|
|
159
159
|
}
|
|
160
160
|
),
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
|
|
161
|
+
/* @__PURE__ */ i("div", { className: R.ambitListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ i(
|
|
162
|
+
Fe,
|
|
163
163
|
{
|
|
164
164
|
isActive: d == _.id,
|
|
165
165
|
ambit: _,
|
|
166
166
|
fontColor: s,
|
|
167
167
|
activeColor: n,
|
|
168
168
|
onClickCopy: u,
|
|
169
|
-
onClickDelete:
|
|
169
|
+
onClickDelete: m,
|
|
170
170
|
onClickFilters: g,
|
|
171
|
-
onClickAmbit:
|
|
171
|
+
onClickAmbit: f
|
|
172
172
|
},
|
|
173
173
|
`ambitKey${_.id}`
|
|
174
174
|
)) }),
|
|
175
|
-
/* @__PURE__ */
|
|
176
|
-
|
|
175
|
+
/* @__PURE__ */ i("div", { className: R.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
176
|
+
Be,
|
|
177
177
|
{
|
|
178
178
|
style: { ...a },
|
|
179
179
|
onClick: p,
|
|
@@ -185,7 +185,7 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
185
185
|
}
|
|
186
186
|
);
|
|
187
187
|
};
|
|
188
|
-
|
|
188
|
+
Bt.propTypes = {
|
|
189
189
|
ambitList: e.arrayOf(
|
|
190
190
|
e.shape({
|
|
191
191
|
name: e.string.isRequired,
|
|
@@ -207,29 +207,29 @@ Ft.propTypes = {
|
|
|
207
207
|
containerStyles: e.object,
|
|
208
208
|
onCLickNewAmbit: e.func
|
|
209
209
|
};
|
|
210
|
-
const
|
|
211
|
-
buttonsContainer:
|
|
210
|
+
const Lt = "_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: Lt,
|
|
212
212
|
vertical: Dt,
|
|
213
213
|
horizontal: $t,
|
|
214
214
|
button: At,
|
|
215
215
|
active: Ot,
|
|
216
216
|
buttonName: It
|
|
217
|
-
}, Rt = "_left_19lnt_3", Vt = "_top_19lnt_33",
|
|
217
|
+
}, Rt = "_left_19lnt_3", Vt = "_top_19lnt_33", Pt = "_bottom_19lnt_66", zt = "_right_19lnt_97", jt = {
|
|
218
218
|
left: Rt,
|
|
219
219
|
top: Vt,
|
|
220
|
-
bottom:
|
|
220
|
+
bottom: Pt,
|
|
221
221
|
right: zt
|
|
222
|
-
},
|
|
222
|
+
}, Le = ({ text: o, position: d, styleCustom: s = null }) => {
|
|
223
223
|
const { t: n } = k();
|
|
224
|
-
return /* @__PURE__ */
|
|
224
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${jt[d]}`, style: s, children: n(o) });
|
|
225
225
|
};
|
|
226
|
-
|
|
226
|
+
Le.propTypes = {
|
|
227
227
|
text: e.string.isRequired,
|
|
228
228
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
229
229
|
styleCustom: e.object
|
|
230
230
|
};
|
|
231
231
|
const Et = ({
|
|
232
|
-
buttons:
|
|
232
|
+
buttons: o = [],
|
|
233
233
|
orientation: d = "horizontal",
|
|
234
234
|
showName: s = !0,
|
|
235
235
|
namePosition: n = "right",
|
|
@@ -237,34 +237,34 @@ const Et = ({
|
|
|
237
237
|
tooltipPosition: r = "top"
|
|
238
238
|
}) => {
|
|
239
239
|
const { t: l } = k();
|
|
240
|
-
return /* @__PURE__ */
|
|
240
|
+
return /* @__PURE__ */ i(
|
|
241
241
|
"div",
|
|
242
242
|
{
|
|
243
243
|
className: `${V.buttonsContainer} ${d === "vertical" && V.vertical}
|
|
244
244
|
${d === "horizontal" && V.horizontal}`,
|
|
245
|
-
children:
|
|
245
|
+
children: o.map((a, c) => {
|
|
246
246
|
const {
|
|
247
247
|
icon: p,
|
|
248
248
|
activeIcon: u,
|
|
249
|
-
isActive:
|
|
249
|
+
isActive: m,
|
|
250
250
|
name: g,
|
|
251
|
-
onClick:
|
|
252
|
-
} = a, C = /* @__PURE__ */
|
|
253
|
-
s && n === "left" && /* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
s && n === "right" && /* @__PURE__ */
|
|
251
|
+
onClick: f
|
|
252
|
+
} = a, C = /* @__PURE__ */ h(qe, { children: [
|
|
253
|
+
s && n === "left" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(g) }),
|
|
254
|
+
/* @__PURE__ */ i("img", { src: m ? u : p, alt: l(g) }),
|
|
255
|
+
s && n === "right" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(g) })
|
|
256
256
|
] });
|
|
257
|
-
return /* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */
|
|
257
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
258
|
+
/* @__PURE__ */ i(
|
|
259
259
|
"button",
|
|
260
260
|
{
|
|
261
|
-
onClick:
|
|
261
|
+
onClick: f,
|
|
262
262
|
className: `${V.button}
|
|
263
|
-
${
|
|
263
|
+
${m && V.active}`,
|
|
264
264
|
children: C
|
|
265
265
|
}
|
|
266
266
|
),
|
|
267
|
-
t && /* @__PURE__ */
|
|
267
|
+
t && /* @__PURE__ */ i(Le, { text: g, position: r })
|
|
268
268
|
] }, c);
|
|
269
269
|
})
|
|
270
270
|
}
|
|
@@ -290,8 +290,8 @@ Et.propTypes = {
|
|
|
290
290
|
const qt = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", oe = {
|
|
291
291
|
indicatorsCategory: qt,
|
|
292
292
|
title: Kt
|
|
293
|
-
},
|
|
294
|
-
isOpen:
|
|
293
|
+
}, E = ({
|
|
294
|
+
isOpen: o,
|
|
295
295
|
onClick: d,
|
|
296
296
|
children: s,
|
|
297
297
|
color: n,
|
|
@@ -305,20 +305,20 @@ const qt = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", oe = {
|
|
|
305
305
|
titleMarginChildren: p = 25
|
|
306
306
|
}) => {
|
|
307
307
|
const { t: u } = k();
|
|
308
|
-
return /* @__PURE__ */
|
|
308
|
+
return /* @__PURE__ */ h(
|
|
309
309
|
Ce.div,
|
|
310
310
|
{
|
|
311
311
|
className: oe.indicatorsCategory,
|
|
312
312
|
initial: { height: `${l}px` },
|
|
313
|
-
animate: { height:
|
|
313
|
+
animate: { height: o ? "auto" : `${l}px` },
|
|
314
314
|
transition: { duration: 0.4 },
|
|
315
315
|
style: {
|
|
316
316
|
backgroundColor: "white",
|
|
317
|
-
borderBottom:
|
|
318
|
-
marginBottom:
|
|
317
|
+
borderBottom: o && c ? `1px solid ${t}` : "0px",
|
|
318
|
+
marginBottom: o ? "20px" : "0px"
|
|
319
319
|
},
|
|
320
320
|
children: [
|
|
321
|
-
/* @__PURE__ */
|
|
321
|
+
/* @__PURE__ */ h(
|
|
322
322
|
"h2",
|
|
323
323
|
{
|
|
324
324
|
style: {
|
|
@@ -328,17 +328,17 @@ const qt = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", oe = {
|
|
|
328
328
|
className: `${oe.title}`,
|
|
329
329
|
onClick: d,
|
|
330
330
|
children: [
|
|
331
|
-
/* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
331
|
+
/* @__PURE__ */ i("span", { style: { color: o ? t : n }, children: o ? "-" : "+" }),
|
|
332
|
+
/* @__PURE__ */ i("span", { style: { marginLeft: 12, color: o ? t : n }, children: u(r) })
|
|
333
333
|
]
|
|
334
334
|
}
|
|
335
335
|
),
|
|
336
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ i("div", { className: oe.content, children: s })
|
|
337
337
|
]
|
|
338
338
|
}
|
|
339
339
|
);
|
|
340
340
|
};
|
|
341
|
-
|
|
341
|
+
E.propTypes = {
|
|
342
342
|
isOpen: e.bool,
|
|
343
343
|
onClick: e.func,
|
|
344
344
|
children: e.node,
|
|
@@ -349,34 +349,34 @@ P.propTypes = {
|
|
|
349
349
|
showBottomBar: e.bool,
|
|
350
350
|
titleFontStyles: e.object
|
|
351
351
|
};
|
|
352
|
-
const ho = () => /* @__PURE__ */
|
|
352
|
+
const ho = () => /* @__PURE__ */ i("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
353
|
AppliedFiltersContainer: Ut,
|
|
354
354
|
AppliedFilterContent: Ht
|
|
355
|
-
}, T = Ze((
|
|
355
|
+
}, T = Ze((o) => ({
|
|
356
356
|
activeCategory: "",
|
|
357
357
|
activeSubCategory: "",
|
|
358
358
|
selectedIndicator: "",
|
|
359
359
|
tematicalFiltersSelected: [],
|
|
360
360
|
fontColor: "#605B56",
|
|
361
361
|
inputsColor: "#605B56"
|
|
362
|
-
})), De = ({ title:
|
|
362
|
+
})), De = ({ title: o, onClick: d, isOpen: s = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
363
363
|
const { t: l } = k(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
|
|
364
364
|
T.setState((u) => ({
|
|
365
365
|
tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
|
|
366
|
-
(
|
|
366
|
+
(m) => m.code !== p
|
|
367
367
|
)
|
|
368
368
|
}));
|
|
369
369
|
};
|
|
370
|
-
return /* @__PURE__ */
|
|
371
|
-
|
|
370
|
+
return /* @__PURE__ */ i(
|
|
371
|
+
E,
|
|
372
372
|
{
|
|
373
373
|
isOpen: s,
|
|
374
374
|
onClick: d,
|
|
375
|
-
title:
|
|
375
|
+
title: o ? l(o) : "Applied Filters",
|
|
376
376
|
activeColor: r,
|
|
377
|
-
children: /* @__PURE__ */
|
|
377
|
+
children: /* @__PURE__ */ i("div", { className: _e.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ h("div", { className: _e.AppliedFilterContent, style: { color: n, background: t }, children: [
|
|
378
378
|
l(p.name),
|
|
379
|
-
/* @__PURE__ */
|
|
379
|
+
/* @__PURE__ */ i("img", { src: Zt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
|
|
380
380
|
] }, u)) })
|
|
381
381
|
}
|
|
382
382
|
);
|
|
@@ -395,14 +395,14 @@ De.propTypes = {
|
|
|
395
395
|
),
|
|
396
396
|
activeColor: e.string
|
|
397
397
|
};
|
|
398
|
-
const $e = ({ title:
|
|
398
|
+
const $e = ({ title: o, onClick: d, isOpen: s = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
399
399
|
const { t: l } = k(), { tematicalFiltersSelected: a } = T((c) => c);
|
|
400
|
-
return /* @__PURE__ */
|
|
401
|
-
|
|
400
|
+
return /* @__PURE__ */ i(
|
|
401
|
+
E,
|
|
402
402
|
{
|
|
403
403
|
isOpen: s,
|
|
404
404
|
onClick: d,
|
|
405
|
-
title:
|
|
405
|
+
title: o ? l(o) : "Geographical Filters",
|
|
406
406
|
activeColor: r,
|
|
407
407
|
children: "A"
|
|
408
408
|
}
|
|
@@ -419,22 +419,22 @@ $e.propTypes = {
|
|
|
419
419
|
const Gt = "_checkboxContainer_zld97_2", Yt = {
|
|
420
420
|
checkboxContainer: Gt
|
|
421
421
|
}, Ae = ({
|
|
422
|
-
onClick:
|
|
422
|
+
onClick: o,
|
|
423
423
|
containerStyles: d,
|
|
424
424
|
color: s = "#605B56",
|
|
425
425
|
indicator: n,
|
|
426
426
|
value: t
|
|
427
427
|
}) => {
|
|
428
428
|
const { t: r } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
|
|
429
|
-
return /* @__PURE__ */
|
|
429
|
+
return /* @__PURE__ */ h(
|
|
430
430
|
"div",
|
|
431
431
|
{
|
|
432
432
|
style: { ...d, color: s },
|
|
433
433
|
role: "checkbox",
|
|
434
434
|
className: Yt.checkboxContainer,
|
|
435
|
-
onClick:
|
|
435
|
+
onClick: o,
|
|
436
436
|
children: [
|
|
437
|
-
/* @__PURE__ */
|
|
437
|
+
/* @__PURE__ */ i(
|
|
438
438
|
"input",
|
|
439
439
|
{
|
|
440
440
|
type: "checkbox",
|
|
@@ -447,7 +447,7 @@ const Gt = "_checkboxContainer_zld97_2", Yt = {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
),
|
|
450
|
-
/* @__PURE__ */
|
|
450
|
+
/* @__PURE__ */ i("span", { className: "checkmark", children: r(l) })
|
|
451
451
|
]
|
|
452
452
|
}
|
|
453
453
|
);
|
|
@@ -463,43 +463,43 @@ Ae.propTypes = {
|
|
|
463
463
|
}),
|
|
464
464
|
checkedColor: e.string
|
|
465
465
|
};
|
|
466
|
-
function pe(
|
|
466
|
+
function pe(o, d) {
|
|
467
467
|
return pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, n) {
|
|
468
468
|
return s.__proto__ = n, s;
|
|
469
|
-
}, pe(
|
|
469
|
+
}, pe(o, d);
|
|
470
470
|
}
|
|
471
|
-
function Wt(
|
|
472
|
-
|
|
471
|
+
function Wt(o, d) {
|
|
472
|
+
o.prototype = Object.create(d.prototype), o.prototype.constructor = o, pe(o, d);
|
|
473
473
|
}
|
|
474
|
-
function se(
|
|
475
|
-
return
|
|
474
|
+
function se(o) {
|
|
475
|
+
return o && o.stopPropagation && o.stopPropagation(), o && o.preventDefault && o.preventDefault(), !1;
|
|
476
476
|
}
|
|
477
|
-
function re(
|
|
478
|
-
return
|
|
477
|
+
function re(o) {
|
|
478
|
+
return o == null ? [] : Array.isArray(o) ? o.slice() : [o];
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
return
|
|
480
|
+
function X(o) {
|
|
481
|
+
return o !== null && o.length === 1 ? o[0] : o.slice();
|
|
482
482
|
}
|
|
483
|
-
function
|
|
484
|
-
Object.keys(
|
|
485
|
-
typeof document < "u" && document.addEventListener(d,
|
|
483
|
+
function J(o) {
|
|
484
|
+
Object.keys(o).forEach((d) => {
|
|
485
|
+
typeof document < "u" && document.addEventListener(d, o[d], !1);
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function P(o, d) {
|
|
489
489
|
return ue(function(s, n) {
|
|
490
490
|
let t = s;
|
|
491
491
|
return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
|
|
492
|
-
}(
|
|
492
|
+
}(o, d), d);
|
|
493
493
|
}
|
|
494
|
-
function ue(
|
|
495
|
-
const s = (
|
|
496
|
-
let n =
|
|
494
|
+
function ue(o, d) {
|
|
495
|
+
const s = (o - d.min) % d.step;
|
|
496
|
+
let n = o - s;
|
|
497
497
|
return 2 * Math.abs(s) >= d.step && (n += s > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
|
|
498
498
|
}
|
|
499
|
-
let
|
|
499
|
+
let me = function(o) {
|
|
500
500
|
function d(n) {
|
|
501
501
|
var t;
|
|
502
|
-
(t =
|
|
502
|
+
(t = o.call(this, n) || this).onKeyUp = () => {
|
|
503
503
|
t.onEnd();
|
|
504
504
|
}, t.onMouseUp = () => {
|
|
505
505
|
t.onEnd(t.getMouseEventMap());
|
|
@@ -516,8 +516,8 @@ let he = function(i) {
|
|
|
516
516
|
t.setState({ pending: !0 });
|
|
517
517
|
const c = t.getTouchPosition(a);
|
|
518
518
|
if (t.isScrolling === void 0) {
|
|
519
|
-
const
|
|
520
|
-
t.isScrolling = Math.abs(g) > Math.abs(
|
|
519
|
+
const m = c[0] - t.startPosition[0], g = c[1] - t.startPosition[1];
|
|
520
|
+
t.isScrolling = Math.abs(g) > Math.abs(m);
|
|
521
521
|
}
|
|
522
522
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
523
523
|
const p = t.getDiffPosition(c[0]), u = t.getValueFromPosition(p);
|
|
@@ -553,28 +553,28 @@ let he = function(i) {
|
|
|
553
553
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
554
554
|
const c = t.getMousePosition(a);
|
|
555
555
|
t.forceValueFromPosition(c[0], (p) => {
|
|
556
|
-
t.start(p, c[0]),
|
|
556
|
+
t.start(p, c[0]), J(t.getMouseEventMap());
|
|
557
557
|
});
|
|
558
558
|
}
|
|
559
559
|
se(a);
|
|
560
560
|
}
|
|
561
561
|
}, t.onSliderClick = (a) => {
|
|
562
562
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
563
|
-
const c = t.getMousePosition(a), p =
|
|
563
|
+
const c = t.getMousePosition(a), p = P(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
564
564
|
t.props.onSliderClick(p);
|
|
565
565
|
}
|
|
566
566
|
}, t.createOnKeyDown = (a) => (c) => {
|
|
567
|
-
t.props.disabled || (t.start(a),
|
|
567
|
+
t.props.disabled || (t.start(a), J(t.getKeyDownEventMap()), se(c));
|
|
568
568
|
}, t.createOnMouseDown = (a) => (c) => {
|
|
569
569
|
if (t.props.disabled || c.button === 2) return;
|
|
570
570
|
t.setState({ pending: !0 });
|
|
571
571
|
const p = t.getMousePosition(c);
|
|
572
|
-
t.start(a, p[0]),
|
|
572
|
+
t.start(a, p[0]), J(t.getMouseEventMap()), se(c);
|
|
573
573
|
}, t.createOnTouchStart = (a) => (c) => {
|
|
574
574
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
575
575
|
t.setState({ pending: !0 });
|
|
576
576
|
const p = t.getTouchPosition(c);
|
|
577
|
-
t.startPosition = p, t.isScrolling = void 0, t.start(a, p[0]),
|
|
577
|
+
t.startPosition = p, t.isScrolling = void 0, t.start(a, p[0]), J(t.getTouchEventMap()), function(u) {
|
|
578
578
|
u.stopPropagation && u.stopPropagation();
|
|
579
579
|
}(c);
|
|
580
580
|
}, t.handleResize = () => {
|
|
@@ -585,25 +585,25 @@ let he = function(i) {
|
|
|
585
585
|
}, t.renderThumb = (a, c) => {
|
|
586
586
|
const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), u = { ref: (g) => {
|
|
587
587
|
t["thumb" + c] = g;
|
|
588
|
-
}, key: t.props.thumbClassName + "-" + c, className: p, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
589
|
-
return t.props.ariaValuetext && (u["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(
|
|
588
|
+
}, key: t.props.thumbClassName + "-" + c, className: p, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value: X(t.state.value), valueNow: t.state.value[c] };
|
|
589
|
+
return t.props.ariaValuetext && (u["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(u, m);
|
|
590
590
|
}, t.renderTrack = (a, c, p) => {
|
|
591
|
-
const u = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - p) },
|
|
592
|
-
return t.props.renderTrack(u,
|
|
591
|
+
const u = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - p) }, m = { index: a, value: X(t.state.value) };
|
|
592
|
+
return t.props.renderTrack(u, m);
|
|
593
593
|
};
|
|
594
594
|
let r = re(n.value);
|
|
595
595
|
r.length || (r = re(n.defaultValue)), t.pendingResizeTimeouts = [];
|
|
596
596
|
const l = [];
|
|
597
|
-
for (let a = 0; a < r.length; a += 1) r[a] =
|
|
598
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
597
|
+
for (let a = 0; a < r.length; a += 1) r[a] = P(r[a], n), l.push(a);
|
|
598
|
+
return t.resizeObserver = null, t.resizeElementRef = U.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
599
599
|
}
|
|
600
|
-
Wt(d,
|
|
600
|
+
Wt(d, o);
|
|
601
601
|
var s = d.prototype;
|
|
602
602
|
return s.componentDidMount = function() {
|
|
603
603
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
604
604
|
}, d.getDerivedStateFromProps = function(n, t) {
|
|
605
605
|
const r = re(n.value);
|
|
606
|
-
return r.length ? t.pending ? null : { value: r.map((l) =>
|
|
606
|
+
return r.length ? t.pending ? null : { value: r.map((l) => P(l, n)) } : null;
|
|
607
607
|
}, s.componentDidUpdate = function() {
|
|
608
608
|
this.state.upperBound === 0 && this.resize();
|
|
609
609
|
}, s.componentWillUnmount = function() {
|
|
@@ -615,7 +615,7 @@ let he = function(i) {
|
|
|
615
615
|
});
|
|
616
616
|
}(n), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
617
617
|
}, s.getValue = function() {
|
|
618
|
-
return
|
|
618
|
+
return X(this.state.value);
|
|
619
619
|
}, s.getClosestIndex = function(n) {
|
|
620
620
|
let t = Number.MAX_VALUE, r = -1;
|
|
621
621
|
const { value: l } = this.state, a = l.length;
|
|
@@ -637,15 +637,15 @@ let he = function(i) {
|
|
|
637
637
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
638
638
|
}, s.getValueFromPosition = function(n) {
|
|
639
639
|
const t = n / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
640
|
-
return
|
|
640
|
+
return P(this.state.startValue + t, this.props);
|
|
641
641
|
}, s.getDiffPosition = function(n) {
|
|
642
642
|
let t = n - this.state.startPosition;
|
|
643
643
|
return this.props.invert && (t *= -1), t;
|
|
644
644
|
}, s.resize = function() {
|
|
645
645
|
const { slider: n, thumb0: t } = this;
|
|
646
646
|
if (!n || !t) return;
|
|
647
|
-
const r = this.sizeKey(), l = n.getBoundingClientRect(), a = n[r], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()],
|
|
648
|
-
this.state.upperBound ===
|
|
647
|
+
const r = this.sizeKey(), l = n.getBoundingClientRect(), a = n[r], c = l[this.posMaxKey()], p = l[this.posMinKey()], u = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - u, g = Math.abs(c - p);
|
|
648
|
+
this.state.upperBound === m && this.state.sliderLength === g && this.state.thumbSize === u || this.setState({ upperBound: m, sliderLength: g, thumbSize: u });
|
|
649
649
|
}, s.calcOffset = function(n) {
|
|
650
650
|
const t = this.props.max - this.props.min;
|
|
651
651
|
return t === 0 ? 0 : (n - this.props.min) / t * this.state.upperBound;
|
|
@@ -656,7 +656,7 @@ let he = function(i) {
|
|
|
656
656
|
let c = n - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
|
|
657
657
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
658
658
|
}, s.forceValueFromPosition = function(n, t) {
|
|
659
|
-
const r = this.calcOffsetFromPosition(n), l = this.getClosestIndex(r), a =
|
|
659
|
+
const r = this.calcOffsetFromPosition(n), l = this.getClosestIndex(r), a = P(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
660
660
|
c[l] = a;
|
|
661
661
|
for (let p = 0; p < c.length - 1; p += 1) if (c[p + 1] - c[p] < this.props.minDistance) return;
|
|
662
662
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -674,38 +674,38 @@ let he = function(i) {
|
|
|
674
674
|
l.splice(l.indexOf(n), 1), l.push(n), this.setState((a) => ({ startValue: a.value[n], startPosition: t !== void 0 ? t : a.startPosition, index: n, zIndices: l }));
|
|
675
675
|
}, s.moveUpByStep = function(n) {
|
|
676
676
|
n === void 0 && (n = this.props.step);
|
|
677
|
-
const t = this.state.value[this.state.index], r =
|
|
677
|
+
const t = this.state.value[this.state.index], r = P(this.props.invert && this.props.orientation === "horizontal" ? t - n : t + n, this.props);
|
|
678
678
|
this.move(Math.min(r, this.props.max));
|
|
679
679
|
}, s.moveDownByStep = function(n) {
|
|
680
680
|
n === void 0 && (n = this.props.step);
|
|
681
|
-
const t = this.state.value[this.state.index], r =
|
|
681
|
+
const t = this.state.value[this.state.index], r = P(this.props.invert && this.props.orientation === "horizontal" ? t + n : t - n, this.props);
|
|
682
682
|
this.move(Math.max(r, this.props.min));
|
|
683
683
|
}, s.move = function(n) {
|
|
684
684
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
685
685
|
if (n === a) return;
|
|
686
686
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
687
|
-
const { pearling: c, max: p, min: u, minDistance:
|
|
687
|
+
const { pearling: c, max: p, min: u, minDistance: m } = this.props;
|
|
688
688
|
if (!c) {
|
|
689
689
|
if (r > 0) {
|
|
690
690
|
const g = t[r - 1];
|
|
691
|
-
n < g +
|
|
691
|
+
n < g + m && (n = g + m);
|
|
692
692
|
}
|
|
693
693
|
if (r < l - 1) {
|
|
694
694
|
const g = t[r + 1];
|
|
695
|
-
n > g -
|
|
695
|
+
n > g - m && (n = g - m);
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
-
t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t,
|
|
698
|
+
t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, m, r), function(g, f, C, b) {
|
|
699
699
|
for (let v = 0; v < g; v += 1) {
|
|
700
|
-
const
|
|
701
|
-
|
|
700
|
+
const y = b - v * C;
|
|
701
|
+
f[g - 1 - v] > y && (f[g - 1 - v] = y);
|
|
702
702
|
}
|
|
703
|
-
}(l, t,
|
|
703
|
+
}(l, t, m, p)) : n < a && (this.pushPreceding(t, m, r), function(g, f, C, b) {
|
|
704
704
|
for (let v = 0; v < g; v += 1) {
|
|
705
|
-
const
|
|
706
|
-
|
|
705
|
+
const y = b + v * C;
|
|
706
|
+
f[v] < y && (f[v] = y);
|
|
707
707
|
}
|
|
708
|
-
}(l, t,
|
|
708
|
+
}(l, t, m, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
709
709
|
}, s.pushSucceeding = function(n, t, r) {
|
|
710
710
|
let l, a;
|
|
711
711
|
for (l = r, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = ue(a, this.props);
|
|
@@ -722,7 +722,7 @@ let he = function(i) {
|
|
|
722
722
|
}, s.sizeKey = function() {
|
|
723
723
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
724
724
|
}, s.fireChangeEvent = function(n) {
|
|
725
|
-
this.props[n] && this.props[n](
|
|
725
|
+
this.props[n] && this.props[n](X(this.state.value), this.state.index);
|
|
726
726
|
}, s.buildThumbStyle = function(n, t) {
|
|
727
727
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
728
728
|
return r[this.posMinKey()] = n + "px", r;
|
|
@@ -754,14 +754,14 @@ let he = function(i) {
|
|
|
754
754
|
const n = [], { value: t } = this.state, r = t.length;
|
|
755
755
|
for (let p = 0; p < r; p += 1) n[p] = this.calcOffset(t[p], p);
|
|
756
756
|
const l = this.props.withTracks ? this.renderTracks(n) : null, a = this.renderThumbs(n), c = this.props.marks ? this.renderMarks() : null;
|
|
757
|
-
return
|
|
757
|
+
return U.createElement("div", { ref: (p) => {
|
|
758
758
|
this.slider = p, this.resizeElementRef.current = p;
|
|
759
759
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
760
760
|
}, d;
|
|
761
|
-
}(
|
|
762
|
-
|
|
763
|
-
var Xt =
|
|
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",
|
|
761
|
+
}(U.Component);
|
|
762
|
+
me.displayName = "ReactSlider", me.defaultProps = { min: 0, max: 100, step: 1, pageFn: (o) => 10 * o, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (o) => U.createElement("div", o), renderTrack: (o) => U.createElement("div", o), renderMark: (o) => U.createElement("span", o) };
|
|
763
|
+
var Xt = me;
|
|
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", K = {
|
|
765
765
|
container: Jt,
|
|
766
766
|
unitLabel: Qt,
|
|
767
767
|
slider: en,
|
|
@@ -769,32 +769,32 @@ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_
|
|
|
769
769
|
track: nn,
|
|
770
770
|
labels: on
|
|
771
771
|
}, Oe = ({
|
|
772
|
-
min:
|
|
772
|
+
min: o = 0,
|
|
773
773
|
max: d = 100,
|
|
774
774
|
step: s = 1,
|
|
775
775
|
onChange: n,
|
|
776
776
|
width: t = 300,
|
|
777
777
|
unit: r,
|
|
778
778
|
fontColor: l = "#605B56",
|
|
779
|
-
value: a = [
|
|
779
|
+
value: a = [o, d]
|
|
780
780
|
}) => {
|
|
781
781
|
const { t: c } = k(), p = (u) => {
|
|
782
782
|
n == null || n({ min: u[0], max: u[1] });
|
|
783
783
|
};
|
|
784
|
-
return /* @__PURE__ */
|
|
784
|
+
return /* @__PURE__ */ h(
|
|
785
785
|
"div",
|
|
786
786
|
{
|
|
787
|
-
className:
|
|
787
|
+
className: K.container,
|
|
788
788
|
style: { width: `${t}px`, color: `${l}` },
|
|
789
789
|
children: [
|
|
790
|
-
/* @__PURE__ */
|
|
791
|
-
/* @__PURE__ */
|
|
790
|
+
/* @__PURE__ */ i("div", { className: K.unitLabel, children: /* @__PURE__ */ i("span", { children: c(r) }) }),
|
|
791
|
+
/* @__PURE__ */ i(
|
|
792
792
|
Xt,
|
|
793
793
|
{
|
|
794
|
-
className:
|
|
795
|
-
thumbClassName:
|
|
796
|
-
trackClassName:
|
|
797
|
-
min:
|
|
794
|
+
className: K.slider,
|
|
795
|
+
thumbClassName: K.thumb,
|
|
796
|
+
trackClassName: K.track,
|
|
797
|
+
min: o,
|
|
798
798
|
max: d,
|
|
799
799
|
step: s,
|
|
800
800
|
value: a,
|
|
@@ -804,9 +804,9 @@ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_
|
|
|
804
804
|
minDistance: 1
|
|
805
805
|
}
|
|
806
806
|
),
|
|
807
|
-
/* @__PURE__ */
|
|
808
|
-
/* @__PURE__ */
|
|
809
|
-
/* @__PURE__ */
|
|
807
|
+
/* @__PURE__ */ h("div", { className: K.labels, children: [
|
|
808
|
+
/* @__PURE__ */ i("span", { children: a[0] }),
|
|
809
|
+
/* @__PURE__ */ i("span", { children: a[1] })
|
|
810
810
|
] })
|
|
811
811
|
]
|
|
812
812
|
}
|
|
@@ -824,84 +824,84 @@ Oe.propTypes = {
|
|
|
824
824
|
fontColor: e.string,
|
|
825
825
|
value: e.arrayOf(e.number)
|
|
826
826
|
};
|
|
827
|
-
const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_1vm1r_2", an = "_checkboxContainer_1vm1r_28", ln = "_absoluteSliderContainer_1vm1r_37",
|
|
827
|
+
const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_1vm1r_2", an = "_checkboxContainer_1vm1r_28", ln = "_absoluteSliderContainer_1vm1r_37", Q = {
|
|
828
828
|
tematicalFiltersInputContainer: sn,
|
|
829
829
|
inputTypeContainer: rn,
|
|
830
830
|
checkboxContainer: an,
|
|
831
831
|
absoluteSliderContainer: ln
|
|
832
832
|
}, be = ({
|
|
833
|
-
indicator:
|
|
833
|
+
indicator: o,
|
|
834
834
|
//onChangeBothType
|
|
835
835
|
activeColor: d
|
|
836
836
|
}) => {
|
|
837
|
-
const [s, n] =
|
|
837
|
+
const [s, n] = B(), {
|
|
838
838
|
type: t,
|
|
839
839
|
name: r,
|
|
840
840
|
values: l,
|
|
841
841
|
minValue: a,
|
|
842
842
|
maxValue: c,
|
|
843
843
|
unit: p
|
|
844
|
-
} =
|
|
844
|
+
} = o || {}, u = te(
|
|
845
845
|
() => t == "cat" || s == "cat",
|
|
846
846
|
[s, t]
|
|
847
|
-
),
|
|
847
|
+
), m = te(
|
|
848
848
|
() => t == "abs" || s == "abs",
|
|
849
849
|
[s, t]
|
|
850
850
|
), {
|
|
851
851
|
tematicalFiltersSelected: g,
|
|
852
|
-
selectedIndicator:
|
|
852
|
+
selectedIndicator: f,
|
|
853
853
|
fontColor: C,
|
|
854
854
|
inputsColor: b
|
|
855
855
|
} = T((_) => _), v = (_) => {
|
|
856
856
|
if (_) {
|
|
857
|
-
const { min: w, max: x, valueClicked: N, allValues: $ } = _ || {}, { code: A, type: ne } =
|
|
857
|
+
const { min: w, max: x, valueClicked: N, allValues: $ } = _ || {}, { code: A, type: ne } = o || {}, H = m ? "abs" : u ? "cat" : "both";
|
|
858
858
|
let O = A[0];
|
|
859
|
-
ne == "both" && (O =
|
|
860
|
-
let I =
|
|
861
|
-
(
|
|
859
|
+
ne == "both" && (O = H == "cat" ? A[1] : A[0]), H == "cat" ? T.setState((q) => {
|
|
860
|
+
let I = q.tematicalFiltersSelected.find(
|
|
861
|
+
(F) => F.code === O
|
|
862
862
|
);
|
|
863
863
|
if (I) {
|
|
864
|
-
let
|
|
864
|
+
let F = [I.values];
|
|
865
865
|
if (I.values.includes(N)) {
|
|
866
|
-
if (
|
|
866
|
+
if (F = I.values.filter(
|
|
867
867
|
(D) => D !== N
|
|
868
|
-
),
|
|
868
|
+
), F.length < 1)
|
|
869
869
|
return {
|
|
870
|
-
tematicalFiltersSelected:
|
|
870
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
871
871
|
(D) => D.code !== O
|
|
872
872
|
)
|
|
873
873
|
};
|
|
874
874
|
} else
|
|
875
|
-
|
|
875
|
+
F = [...I.values, N];
|
|
876
876
|
return {
|
|
877
|
-
tematicalFiltersSelected:
|
|
878
|
-
(D) => D.code === O ? { ...D, values:
|
|
877
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
878
|
+
(D) => D.code === O ? { ...D, values: F } : D
|
|
879
879
|
)
|
|
880
880
|
};
|
|
881
881
|
} else {
|
|
882
882
|
console.log("entra aqui: ", $, " ", N);
|
|
883
|
-
let
|
|
883
|
+
let F = $.map((D, Ee) => Ee);
|
|
884
884
|
return {
|
|
885
885
|
tematicalFiltersSelected: [
|
|
886
886
|
...g,
|
|
887
887
|
{
|
|
888
888
|
type: "cat",
|
|
889
889
|
code: O,
|
|
890
|
-
values:
|
|
891
|
-
name:
|
|
890
|
+
values: F.filter((D) => D !== N),
|
|
891
|
+
name: o.name
|
|
892
892
|
}
|
|
893
893
|
]
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
|
-
}) :
|
|
897
|
-
let I =
|
|
898
|
-
(
|
|
896
|
+
}) : H == "abs" && T.setState((q) => {
|
|
897
|
+
let I = q.tematicalFiltersSelected.find(
|
|
898
|
+
(F) => F.code === O
|
|
899
899
|
);
|
|
900
900
|
if (I) {
|
|
901
|
-
let
|
|
902
|
-
return
|
|
903
|
-
tematicalFiltersSelected:
|
|
904
|
-
(D) => D.code === O ?
|
|
901
|
+
let F = { ...I };
|
|
902
|
+
return F.min = w, F.max = x, {
|
|
903
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
904
|
+
(D) => D.code === O ? F : D
|
|
905
905
|
)
|
|
906
906
|
};
|
|
907
907
|
} else
|
|
@@ -913,21 +913,21 @@ const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
913
913
|
};
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
|
-
},
|
|
916
|
+
}, y = te(() => {
|
|
917
917
|
const _ = {};
|
|
918
918
|
if ((g == null ? void 0 : g.length) > 0)
|
|
919
919
|
for (const w of g)
|
|
920
920
|
w.type === "cat" ? _[w.code] = new Set(w.values) : _[w.code] = [w.min, w.max];
|
|
921
921
|
return _;
|
|
922
922
|
}, [g]);
|
|
923
|
-
return /* @__PURE__ */
|
|
924
|
-
|
|
923
|
+
return /* @__PURE__ */ i("div", { className: Q.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
924
|
+
E,
|
|
925
925
|
{
|
|
926
926
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
927
927
|
title: r,
|
|
928
|
-
isOpen:
|
|
928
|
+
isOpen: f == `id${r}`,
|
|
929
929
|
onClick: () => T.setState(() => ({
|
|
930
|
-
selectedIndicator:
|
|
930
|
+
selectedIndicator: f == `id${r}` ? "" : `id${r}`
|
|
931
931
|
})),
|
|
932
932
|
showBottomBar: !1,
|
|
933
933
|
height: 38,
|
|
@@ -936,14 +936,14 @@ const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
936
936
|
color: C,
|
|
937
937
|
activeColor: d,
|
|
938
938
|
children: [
|
|
939
|
-
t == "both" && /* @__PURE__ */
|
|
939
|
+
t == "both" && /* @__PURE__ */ h(
|
|
940
940
|
"div",
|
|
941
941
|
{
|
|
942
|
-
className:
|
|
942
|
+
className: Q.inputTypeContainer,
|
|
943
943
|
style: { color: C },
|
|
944
944
|
children: [
|
|
945
|
-
/* @__PURE__ */
|
|
946
|
-
/* @__PURE__ */
|
|
945
|
+
/* @__PURE__ */ h("label", { children: [
|
|
946
|
+
/* @__PURE__ */ i(
|
|
947
947
|
"input",
|
|
948
948
|
{
|
|
949
949
|
type: "radio",
|
|
@@ -961,8 +961,8 @@ const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
961
961
|
),
|
|
962
962
|
"Absoluto"
|
|
963
963
|
] }),
|
|
964
|
-
/* @__PURE__ */
|
|
965
|
-
/* @__PURE__ */
|
|
964
|
+
/* @__PURE__ */ h("label", { children: [
|
|
965
|
+
/* @__PURE__ */ i(
|
|
966
966
|
"input",
|
|
967
967
|
{
|
|
968
968
|
type: "radio",
|
|
@@ -983,26 +983,26 @@ const sn = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
983
983
|
]
|
|
984
984
|
}
|
|
985
985
|
),
|
|
986
|
-
u && /* @__PURE__ */
|
|
986
|
+
u && /* @__PURE__ */ i("div", { className: Q.checkboxContainer, children: l.map((_, w) => {
|
|
987
987
|
var x;
|
|
988
|
-
return /* @__PURE__ */
|
|
988
|
+
return /* @__PURE__ */ i(
|
|
989
989
|
Ae,
|
|
990
990
|
{
|
|
991
991
|
onClick: () => v({ valueClicked: w, allValues: l }),
|
|
992
992
|
indicator: _,
|
|
993
|
-
value: ((x =
|
|
993
|
+
value: ((x = y[o.code[t == "both" ? 1 : 0]]) == null ? void 0 : x.has(w)) || !y[o.code[t == "both" ? 1 : 0]]
|
|
994
994
|
},
|
|
995
995
|
`checkbox-${w}`
|
|
996
996
|
);
|
|
997
997
|
}) }),
|
|
998
|
-
|
|
998
|
+
m && /* @__PURE__ */ i("div", { className: Q.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
999
999
|
Oe,
|
|
1000
1000
|
{
|
|
1001
1001
|
onChange: v,
|
|
1002
1002
|
min: a,
|
|
1003
1003
|
max: c,
|
|
1004
1004
|
unit: p,
|
|
1005
|
-
value:
|
|
1005
|
+
value: y[o.code[0]]
|
|
1006
1006
|
}
|
|
1007
1007
|
) })
|
|
1008
1008
|
]
|
|
@@ -1025,14 +1025,14 @@ be.propTypes = {
|
|
|
1025
1025
|
//onChangeBothType: PropTypes.func,
|
|
1026
1026
|
};
|
|
1027
1027
|
const Ie = ({
|
|
1028
|
-
subcategory:
|
|
1028
|
+
subcategory: o,
|
|
1029
1029
|
fontColor: d,
|
|
1030
1030
|
activeColor: s
|
|
1031
1031
|
//onChangeBothType,
|
|
1032
1032
|
}) => {
|
|
1033
|
-
const { activeSubcategory: n } = T((l) => l), { name: t, indicators: r } =
|
|
1034
|
-
return /* @__PURE__ */
|
|
1035
|
-
|
|
1033
|
+
const { activeSubcategory: n } = T((l) => l), { name: t, indicators: r } = o || {};
|
|
1034
|
+
return /* @__PURE__ */ i(
|
|
1035
|
+
E,
|
|
1036
1036
|
{
|
|
1037
1037
|
title: t,
|
|
1038
1038
|
isOpen: n == `id${t}`,
|
|
@@ -1047,7 +1047,7 @@ const Ie = ({
|
|
|
1047
1047
|
height: 48,
|
|
1048
1048
|
color: d,
|
|
1049
1049
|
activeColor: s,
|
|
1050
|
-
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */
|
|
1050
|
+
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ i(
|
|
1051
1051
|
be,
|
|
1052
1052
|
{
|
|
1053
1053
|
indicator: l,
|
|
@@ -1073,13 +1073,13 @@ Ie.propTypes = {
|
|
|
1073
1073
|
//onChangeBothType: PropTypes.func,
|
|
1074
1074
|
};
|
|
1075
1075
|
const Re = ({
|
|
1076
|
-
category:
|
|
1076
|
+
category: o,
|
|
1077
1077
|
// onChangeBothType,
|
|
1078
1078
|
activeColor: d
|
|
1079
1079
|
}) => {
|
|
1080
|
-
const { name: s, subcategories: n, indicators: t } =
|
|
1081
|
-
return
|
|
1082
|
-
|
|
1080
|
+
const { name: s, subcategories: n, indicators: t } = o || {}, { activeCategory: r, fontColor: l } = T((a) => a);
|
|
1081
|
+
return o && /* @__PURE__ */ i(
|
|
1082
|
+
E,
|
|
1083
1083
|
{
|
|
1084
1084
|
onClick: () => {
|
|
1085
1085
|
T.setState((a) => ({
|
|
@@ -1092,7 +1092,7 @@ const Re = ({
|
|
|
1092
1092
|
showBottomBar: !1,
|
|
1093
1093
|
color: l,
|
|
1094
1094
|
activeColor: d,
|
|
1095
|
-
children: n ? n.map((a, c) => /* @__PURE__ */
|
|
1095
|
+
children: n ? n.map((a, c) => /* @__PURE__ */ i(
|
|
1096
1096
|
Ie,
|
|
1097
1097
|
{
|
|
1098
1098
|
subcategory: a,
|
|
@@ -1100,7 +1100,7 @@ const Re = ({
|
|
|
1100
1100
|
activeColor: d
|
|
1101
1101
|
},
|
|
1102
1102
|
`subcategory-${c}`
|
|
1103
|
-
)) : t && t.map((a, c) => /* @__PURE__ */
|
|
1103
|
+
)) : t && t.map((a, c) => /* @__PURE__ */ i(
|
|
1104
1104
|
be,
|
|
1105
1105
|
{
|
|
1106
1106
|
indicator: a,
|
|
@@ -1122,7 +1122,7 @@ Re.propTypes = {
|
|
|
1122
1122
|
//onChangeBothType: PropTypes.func,
|
|
1123
1123
|
};
|
|
1124
1124
|
const Ve = ({
|
|
1125
|
-
indicators:
|
|
1125
|
+
indicators: o,
|
|
1126
1126
|
isOpen: d = !0,
|
|
1127
1127
|
title: s,
|
|
1128
1128
|
fontColor: n = "#605B56",
|
|
@@ -1131,18 +1131,18 @@ const Ve = ({
|
|
|
1131
1131
|
activeColor: r
|
|
1132
1132
|
}) => {
|
|
1133
1133
|
const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = k();
|
|
1134
|
-
return
|
|
1134
|
+
return L(() => {
|
|
1135
1135
|
n && T.setState(() => ({ fontColor: n }));
|
|
1136
|
-
}, [n]),
|
|
1136
|
+
}, [n]), L(() => {
|
|
1137
1137
|
t && T.setState(() => ({ inputsColor: t }));
|
|
1138
|
-
}, [t]), /* @__PURE__ */
|
|
1139
|
-
|
|
1138
|
+
}, [t]), /* @__PURE__ */ i(
|
|
1139
|
+
E,
|
|
1140
1140
|
{
|
|
1141
1141
|
isOpen: d,
|
|
1142
1142
|
title: s ? a(s) : "Tematical filters",
|
|
1143
1143
|
color: n,
|
|
1144
1144
|
activeColor: r,
|
|
1145
|
-
children:
|
|
1145
|
+
children: o == null ? void 0 : o.map((c, p) => /* @__PURE__ */ i(
|
|
1146
1146
|
Re,
|
|
1147
1147
|
{
|
|
1148
1148
|
category: c,
|
|
@@ -1163,14 +1163,14 @@ Ve.propTypes = {
|
|
|
1163
1163
|
inputsColor: e.string,
|
|
1164
1164
|
activeColor: e.string
|
|
1165
1165
|
};
|
|
1166
|
-
const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7", pn = "_FiltersAmbitTitle_6o4gt_15", un = "_FiltersAmbitDescription_6o4gt_22",
|
|
1166
|
+
const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7", pn = "_FiltersAmbitTitle_6o4gt_15", un = "_FiltersAmbitDescription_6o4gt_22", mn = "_FiltersAmbitDescriptionTitle_6o4gt_33", Y = {
|
|
1167
1167
|
FiltersAmbitContainer: cn,
|
|
1168
1168
|
FiltersAmbitHeader: dn,
|
|
1169
1169
|
FiltersAmbitTitle: pn,
|
|
1170
1170
|
FiltersAmbitDescription: un,
|
|
1171
|
-
FiltersAmbitDescriptionTitle:
|
|
1172
|
-
},
|
|
1173
|
-
ambitName:
|
|
1171
|
+
FiltersAmbitDescriptionTitle: mn
|
|
1172
|
+
}, hn = ({
|
|
1173
|
+
ambitName: o,
|
|
1174
1174
|
ambitDescription: d,
|
|
1175
1175
|
defaultFilters: s,
|
|
1176
1176
|
indicators: n,
|
|
@@ -1182,43 +1182,45 @@ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7",
|
|
|
1182
1182
|
namePlaceholder: p,
|
|
1183
1183
|
descPlaceholder: u
|
|
1184
1184
|
}) => {
|
|
1185
|
-
const { t:
|
|
1186
|
-
return
|
|
1187
|
-
s && s.length > 0 && T.setState((
|
|
1185
|
+
const { t: m } = k(), { tematicalFiltersSelected: g } = T((y) => y), [f, C] = B(o || null), [b, v] = B(d || null);
|
|
1186
|
+
return L(() => {
|
|
1187
|
+
s && s.length > 0 && T.setState((y) => ({
|
|
1188
1188
|
tematicalFiltersSelected: s
|
|
1189
1189
|
}));
|
|
1190
|
-
}, [s]),
|
|
1190
|
+
}, [s]), L(() => {
|
|
1191
1191
|
console.log("filtersSelected changed: ", g), a(g);
|
|
1192
|
-
}, [g]), /* @__PURE__ */
|
|
1193
|
-
/* @__PURE__ */
|
|
1194
|
-
/* @__PURE__ */
|
|
1192
|
+
}, [g]), /* @__PURE__ */ h("div", { className: Y.FiltersAmbitContainer, children: [
|
|
1193
|
+
/* @__PURE__ */ h("div", { className: Y.FiltersAmbitHeader, children: [
|
|
1194
|
+
/* @__PURE__ */ i("div", { className: Y.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1195
1195
|
"input",
|
|
1196
1196
|
{
|
|
1197
1197
|
type: "text",
|
|
1198
|
-
onChange: (
|
|
1199
|
-
value:
|
|
1198
|
+
onChange: (y) => C(y.target.value),
|
|
1199
|
+
value: f,
|
|
1200
|
+
placeholder: m(p)
|
|
1200
1201
|
}
|
|
1201
1202
|
) }),
|
|
1202
|
-
/* @__PURE__ */
|
|
1203
|
+
/* @__PURE__ */ i("div", { className: Y.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: Y.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1203
1204
|
"textarea",
|
|
1204
1205
|
{
|
|
1205
1206
|
value: b,
|
|
1206
|
-
onChange: (
|
|
1207
|
+
onChange: (y) => v(y.target.value),
|
|
1208
|
+
placeholder: m(u)
|
|
1207
1209
|
}
|
|
1208
1210
|
) }) })
|
|
1209
1211
|
] }),
|
|
1210
|
-
/* @__PURE__ */
|
|
1212
|
+
/* @__PURE__ */ i(
|
|
1211
1213
|
De,
|
|
1212
1214
|
{
|
|
1213
|
-
title:
|
|
1215
|
+
title: m("applied_filters"),
|
|
1214
1216
|
isOpen: !0,
|
|
1215
1217
|
textColor: r || "#fff",
|
|
1216
1218
|
backgroundColor: l || "#605B5680",
|
|
1217
1219
|
activeColor: t
|
|
1218
1220
|
}
|
|
1219
1221
|
),
|
|
1220
|
-
/* @__PURE__ */
|
|
1221
|
-
/* @__PURE__ */
|
|
1222
|
+
/* @__PURE__ */ i($e, { activeColor: t }),
|
|
1223
|
+
/* @__PURE__ */ i(
|
|
1222
1224
|
Ve,
|
|
1223
1225
|
{
|
|
1224
1226
|
indicators: n,
|
|
@@ -1228,10 +1230,10 @@ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7",
|
|
|
1228
1230
|
activeColor: t
|
|
1229
1231
|
}
|
|
1230
1232
|
),
|
|
1231
|
-
/* @__PURE__ */
|
|
1233
|
+
/* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Be, { onClick: () => c({ name: f, description: b }), children: m("save_ambit") }) })
|
|
1232
1234
|
] });
|
|
1233
1235
|
};
|
|
1234
|
-
|
|
1236
|
+
hn.propTypes = {
|
|
1235
1237
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1236
1238
|
ambitName: e.string,
|
|
1237
1239
|
ambitDescription: e.string,
|
|
@@ -1246,8 +1248,8 @@ mn.propTypes = {
|
|
|
1246
1248
|
};
|
|
1247
1249
|
const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
1248
1250
|
barChartContainer: gn
|
|
1249
|
-
},
|
|
1250
|
-
data:
|
|
1251
|
+
}, Pe = ({
|
|
1252
|
+
data: o,
|
|
1251
1253
|
width: d = 700,
|
|
1252
1254
|
barHeight: s = 25,
|
|
1253
1255
|
gap: n = 23,
|
|
@@ -1258,12 +1260,12 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1258
1260
|
numberOfDivisions: c = 7,
|
|
1259
1261
|
maxValue: p = null
|
|
1260
1262
|
}) => {
|
|
1261
|
-
const { t: u } = k(), { xScale:
|
|
1262
|
-
if (
|
|
1263
|
-
const C = (
|
|
1263
|
+
const { t: u } = k(), { xScale: m, ticks: g, height: f } = te(() => {
|
|
1264
|
+
if (o && o.length > 0) {
|
|
1265
|
+
const C = (o == null ? void 0 : o.length) * (s + n) + r * 2, b = ye.max(o, (_) => _.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);
|
|
1264
1266
|
return {
|
|
1265
1267
|
xScale: v,
|
|
1266
|
-
ticks:
|
|
1268
|
+
ticks: y,
|
|
1267
1269
|
height: C,
|
|
1268
1270
|
width: d,
|
|
1269
1271
|
verticalPaddign: r,
|
|
@@ -1272,7 +1274,7 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1272
1274
|
} else
|
|
1273
1275
|
return { xScale: null, ticks: [], height: 0 };
|
|
1274
1276
|
}, [
|
|
1275
|
-
|
|
1277
|
+
o,
|
|
1276
1278
|
d,
|
|
1277
1279
|
c,
|
|
1278
1280
|
s,
|
|
@@ -1281,22 +1283,22 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1281
1283
|
r,
|
|
1282
1284
|
p
|
|
1283
1285
|
]);
|
|
1284
|
-
return /* @__PURE__ */
|
|
1285
|
-
/* @__PURE__ */
|
|
1286
|
-
const v =
|
|
1287
|
-
return /* @__PURE__ */
|
|
1288
|
-
/* @__PURE__ */
|
|
1286
|
+
return /* @__PURE__ */ i("div", { className: Cn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + l * 2, height: f, children: /* @__PURE__ */ h("g", { transform: `translate(0,${n})`, children: [
|
|
1287
|
+
/* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children: g.map((C, b) => {
|
|
1288
|
+
const v = m(C);
|
|
1289
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${v}, 0)`, children: [
|
|
1290
|
+
/* @__PURE__ */ i(
|
|
1289
1291
|
"line",
|
|
1290
1292
|
{
|
|
1291
1293
|
y1: 0,
|
|
1292
|
-
y2:
|
|
1294
|
+
y2: f - n * 2,
|
|
1293
1295
|
stroke: "#ccc"
|
|
1294
1296
|
}
|
|
1295
1297
|
),
|
|
1296
|
-
/* @__PURE__ */
|
|
1298
|
+
/* @__PURE__ */ i(
|
|
1297
1299
|
"text",
|
|
1298
1300
|
{
|
|
1299
|
-
y:
|
|
1301
|
+
y: f - n,
|
|
1300
1302
|
textAnchor: "middle",
|
|
1301
1303
|
fontSize: 10,
|
|
1302
1304
|
fill: t,
|
|
@@ -1305,14 +1307,14 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1305
1307
|
)
|
|
1306
1308
|
] }, b);
|
|
1307
1309
|
}) }),
|
|
1308
|
-
|
|
1309
|
-
const v =
|
|
1310
|
-
return /* @__PURE__ */
|
|
1310
|
+
o && o.length > 0 && (o == null ? void 0 : o.map((C, b) => {
|
|
1311
|
+
const v = m(C.value), y = b * (s + n);
|
|
1312
|
+
return /* @__PURE__ */ h(
|
|
1311
1313
|
"g",
|
|
1312
1314
|
{
|
|
1313
|
-
transform: `translate(${a + l}, ${
|
|
1315
|
+
transform: `translate(${a + l}, ${y})`,
|
|
1314
1316
|
children: [
|
|
1315
|
-
/* @__PURE__ */
|
|
1317
|
+
/* @__PURE__ */ i(
|
|
1316
1318
|
"text",
|
|
1317
1319
|
{
|
|
1318
1320
|
x: -24,
|
|
@@ -1322,7 +1324,7 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1322
1324
|
children: u(C.title)
|
|
1323
1325
|
}
|
|
1324
1326
|
),
|
|
1325
|
-
/* @__PURE__ */
|
|
1327
|
+
/* @__PURE__ */ i(
|
|
1326
1328
|
"rect",
|
|
1327
1329
|
{
|
|
1328
1330
|
width: v,
|
|
@@ -1338,7 +1340,7 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1338
1340
|
}))
|
|
1339
1341
|
] }) }) });
|
|
1340
1342
|
};
|
|
1341
|
-
|
|
1343
|
+
Pe.propTypes = {
|
|
1342
1344
|
data: e.arrayOf(
|
|
1343
1345
|
e.shape({
|
|
1344
1346
|
title: e.string,
|
|
@@ -1358,7 +1360,7 @@ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
|
|
|
1358
1360
|
graphicContainer: bn,
|
|
1359
1361
|
titleContainer: fn
|
|
1360
1362
|
}, yn = ({
|
|
1361
|
-
data:
|
|
1363
|
+
data: o,
|
|
1362
1364
|
graphWidth: d = 700,
|
|
1363
1365
|
containerStyle: s,
|
|
1364
1366
|
borderColor: n = "#605B56",
|
|
@@ -1369,7 +1371,7 @@ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
|
|
|
1369
1371
|
leftPadding: c = 200
|
|
1370
1372
|
}) => {
|
|
1371
1373
|
const { t: p } = k();
|
|
1372
|
-
return /* @__PURE__ */
|
|
1374
|
+
return /* @__PURE__ */ h(
|
|
1373
1375
|
"div",
|
|
1374
1376
|
{
|
|
1375
1377
|
className: xe.graphicContainer,
|
|
@@ -1378,11 +1380,11 @@ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
|
|
|
1378
1380
|
border: `1.5px solid ${n}`
|
|
1379
1381
|
},
|
|
1380
1382
|
children: [
|
|
1381
|
-
/* @__PURE__ */
|
|
1382
|
-
/* @__PURE__ */
|
|
1383
|
-
|
|
1383
|
+
/* @__PURE__ */ i("div", { className: xe.titleContainer, children: /* @__PURE__ */ i("h2", { children: p(t) }) }),
|
|
1384
|
+
/* @__PURE__ */ i(
|
|
1385
|
+
Pe,
|
|
1384
1386
|
{
|
|
1385
|
-
data:
|
|
1387
|
+
data: o,
|
|
1386
1388
|
width: d,
|
|
1387
1389
|
fontColor: r,
|
|
1388
1390
|
maxValue: l,
|
|
@@ -1415,19 +1417,19 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1415
1417
|
indicatorsCategory: vn,
|
|
1416
1418
|
title: _n,
|
|
1417
1419
|
list: xn
|
|
1418
|
-
}, wn = "_indicatorContainer_lw8gx_2", kn = "_indicatorNameContainer_lw8gx_11", Nn = "_dot_lw8gx_20", Sn = "_indicatorName_lw8gx_11", Tn = "_switchExternalContainer_lw8gx_31", Mn = "_switchType_lw8gx_40",
|
|
1420
|
+
}, wn = "_indicatorContainer_lw8gx_2", kn = "_indicatorNameContainer_lw8gx_11", Nn = "_dot_lw8gx_20", Sn = "_indicatorName_lw8gx_11", Tn = "_switchExternalContainer_lw8gx_31", Mn = "_switchType_lw8gx_40", Fn = "_switchTypeOptions_lw8gx_44", Bn = "_optionContainer_lw8gx_55", Ln = "_customRadious_lw8gx_65", Dn = "_optionText_lw8gx_72", S = {
|
|
1419
1421
|
indicatorContainer: wn,
|
|
1420
1422
|
indicatorNameContainer: kn,
|
|
1421
1423
|
dot: Nn,
|
|
1422
1424
|
indicatorName: Sn,
|
|
1423
1425
|
switchExternalContainer: Tn,
|
|
1424
1426
|
switchType: Mn,
|
|
1425
|
-
switchTypeOptions:
|
|
1426
|
-
optionContainer:
|
|
1427
|
-
customRadious:
|
|
1427
|
+
switchTypeOptions: Fn,
|
|
1428
|
+
optionContainer: Bn,
|
|
1429
|
+
customRadious: Ln,
|
|
1428
1430
|
optionText: Dn
|
|
1429
1431
|
}, fe = ({
|
|
1430
|
-
indicator:
|
|
1432
|
+
indicator: o,
|
|
1431
1433
|
values: d = [],
|
|
1432
1434
|
activeColor: s,
|
|
1433
1435
|
defaultColor: n = "#92898A",
|
|
@@ -1437,22 +1439,22 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1437
1439
|
multiple: a = !1,
|
|
1438
1440
|
onChangeType: c
|
|
1439
1441
|
}) => {
|
|
1440
|
-
const { t: p } = k(), { name: u, type:
|
|
1441
|
-
|
|
1442
|
-
t &&
|
|
1442
|
+
const { t: p } = k(), { name: u, type: m } = o, [g, f] = B(!1);
|
|
1443
|
+
L(() => {
|
|
1444
|
+
t && f(
|
|
1443
1445
|
a ? t.some(
|
|
1444
1446
|
(v) => v.name == String(u)
|
|
1445
1447
|
) : t.name == u
|
|
1446
1448
|
);
|
|
1447
1449
|
}, [t]);
|
|
1448
|
-
const C = () => /* @__PURE__ */
|
|
1449
|
-
/* @__PURE__ */
|
|
1450
|
+
const C = () => /* @__PURE__ */ i("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: S.switchType, children: /* @__PURE__ */ h("div", { className: S.switchTypeOptions, children: [
|
|
1451
|
+
/* @__PURE__ */ h(
|
|
1450
1452
|
"div",
|
|
1451
1453
|
{
|
|
1452
1454
|
className: S.optionContainer,
|
|
1453
1455
|
onClick: () => c("cat"),
|
|
1454
1456
|
children: [
|
|
1455
|
-
/* @__PURE__ */
|
|
1457
|
+
/* @__PURE__ */ i(
|
|
1456
1458
|
"span",
|
|
1457
1459
|
{
|
|
1458
1460
|
className: `${S.customRadious}`,
|
|
@@ -1462,7 +1464,7 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1462
1464
|
}
|
|
1463
1465
|
}
|
|
1464
1466
|
),
|
|
1465
|
-
/* @__PURE__ */
|
|
1467
|
+
/* @__PURE__ */ i(
|
|
1466
1468
|
"h4",
|
|
1467
1469
|
{
|
|
1468
1470
|
className: S.optionText,
|
|
@@ -1475,13 +1477,13 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1475
1477
|
]
|
|
1476
1478
|
}
|
|
1477
1479
|
),
|
|
1478
|
-
/* @__PURE__ */
|
|
1480
|
+
/* @__PURE__ */ h(
|
|
1479
1481
|
"div",
|
|
1480
1482
|
{
|
|
1481
1483
|
className: S.optionContainer,
|
|
1482
1484
|
onClick: () => c("abs"),
|
|
1483
1485
|
children: [
|
|
1484
|
-
/* @__PURE__ */
|
|
1486
|
+
/* @__PURE__ */ i(
|
|
1485
1487
|
"span",
|
|
1486
1488
|
{
|
|
1487
1489
|
className: `${S.customRadious}`,
|
|
@@ -1491,7 +1493,7 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1491
1493
|
}
|
|
1492
1494
|
}
|
|
1493
1495
|
),
|
|
1494
|
-
/* @__PURE__ */
|
|
1496
|
+
/* @__PURE__ */ i(
|
|
1495
1497
|
"h4",
|
|
1496
1498
|
{
|
|
1497
1499
|
className: S.optionText,
|
|
@@ -1504,30 +1506,30 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1504
1506
|
]
|
|
1505
1507
|
}
|
|
1506
1508
|
)
|
|
1507
|
-
] }) }) }), b = () => /* @__PURE__ */
|
|
1509
|
+
] }) }) }), b = () => /* @__PURE__ */ i("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: S.switchType, children: /* @__PURE__ */ i("div", { className: S.switchTypeOptions, children: d.map((v, y) => /* @__PURE__ */ h(
|
|
1508
1510
|
"div",
|
|
1509
1511
|
{
|
|
1510
1512
|
className: S.optionContainer,
|
|
1511
1513
|
children: [
|
|
1512
|
-
/* @__PURE__ */
|
|
1514
|
+
/* @__PURE__ */ i(
|
|
1513
1515
|
"span",
|
|
1514
1516
|
{
|
|
1515
1517
|
className: S.customRadious
|
|
1516
1518
|
}
|
|
1517
1519
|
),
|
|
1518
|
-
/* @__PURE__ */
|
|
1520
|
+
/* @__PURE__ */ i("h4", { children: p(v.unit) })
|
|
1519
1521
|
]
|
|
1520
1522
|
},
|
|
1521
|
-
|
|
1523
|
+
y
|
|
1522
1524
|
)) }) }) });
|
|
1523
|
-
return /* @__PURE__ */
|
|
1524
|
-
/* @__PURE__ */
|
|
1525
|
+
return /* @__PURE__ */ h("div", { className: S.indicatorContainer, children: [
|
|
1526
|
+
/* @__PURE__ */ h(
|
|
1525
1527
|
"div",
|
|
1526
1528
|
{
|
|
1527
1529
|
className: S.indicatorNameContainer,
|
|
1528
|
-
onClick: () => l({ indicator:
|
|
1530
|
+
onClick: () => l({ indicator: o }),
|
|
1529
1531
|
children: [
|
|
1530
|
-
/* @__PURE__ */
|
|
1532
|
+
/* @__PURE__ */ i(
|
|
1531
1533
|
"div",
|
|
1532
1534
|
{
|
|
1533
1535
|
style: {
|
|
@@ -1536,19 +1538,19 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1536
1538
|
className: S.dot
|
|
1537
1539
|
}
|
|
1538
1540
|
),
|
|
1539
|
-
/* @__PURE__ */
|
|
1541
|
+
/* @__PURE__ */ i(
|
|
1540
1542
|
"h4",
|
|
1541
1543
|
{
|
|
1542
1544
|
className: S.indicatorName,
|
|
1543
1545
|
style: { color: g ? s : n },
|
|
1544
|
-
children: /* @__PURE__ */
|
|
1546
|
+
children: /* @__PURE__ */ i(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ i("sup", {}) } })
|
|
1545
1547
|
}
|
|
1546
1548
|
)
|
|
1547
1549
|
]
|
|
1548
1550
|
}
|
|
1549
1551
|
),
|
|
1550
|
-
(t == null ? void 0 : t.name) === u &&
|
|
1551
|
-
(t == null ? void 0 : t.name) === u &&
|
|
1552
|
+
(t == null ? void 0 : t.name) === u && m === "both" && /* @__PURE__ */ i("div", { children: C() }),
|
|
1553
|
+
(t == null ? void 0 : t.name) === u && m === "twoUnits" && /* @__PURE__ */ i("div", { children: b() })
|
|
1552
1554
|
] });
|
|
1553
1555
|
};
|
|
1554
1556
|
fe.propTypes = {
|
|
@@ -1567,7 +1569,7 @@ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
|
|
|
1567
1569
|
indicatorsSubCategory: $n,
|
|
1568
1570
|
list: An
|
|
1569
1571
|
}, ze = ({
|
|
1570
|
-
subcName:
|
|
1572
|
+
subcName: o,
|
|
1571
1573
|
indicators: d,
|
|
1572
1574
|
defaultColor: s,
|
|
1573
1575
|
activeColor: n,
|
|
@@ -1578,30 +1580,30 @@ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
|
|
|
1578
1580
|
onClickIndicator: c,
|
|
1579
1581
|
multiple: p,
|
|
1580
1582
|
activeIndicatorType: u,
|
|
1581
|
-
onChangeType:
|
|
1583
|
+
onChangeType: m
|
|
1582
1584
|
}) => {
|
|
1583
|
-
const { t: g } = k(), [
|
|
1584
|
-
return
|
|
1585
|
+
const { t: g } = k(), [f, C] = B(!1);
|
|
1586
|
+
return L(() => {
|
|
1585
1587
|
C(t == l);
|
|
1586
|
-
}, [t, l]), /* @__PURE__ */
|
|
1588
|
+
}, [t, l]), /* @__PURE__ */ h(
|
|
1587
1589
|
Ce.div,
|
|
1588
1590
|
{
|
|
1589
1591
|
className: we.indicatorsSubCategory,
|
|
1590
1592
|
initial: { height: "43px" },
|
|
1591
|
-
animate: { height:
|
|
1593
|
+
animate: { height: f ? "auto" : "43px" },
|
|
1592
1594
|
transition: { duration: 0.4 },
|
|
1593
1595
|
children: [
|
|
1594
|
-
/* @__PURE__ */
|
|
1595
|
-
/* @__PURE__ */
|
|
1596
|
-
/* @__PURE__ */
|
|
1596
|
+
/* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: f ? n : s }, children: [
|
|
1597
|
+
/* @__PURE__ */ i("span", { style: { color: f ? n : s }, children: f ? "-" : "+" }),
|
|
1598
|
+
/* @__PURE__ */ i(
|
|
1597
1599
|
"span",
|
|
1598
1600
|
{
|
|
1599
|
-
style: { marginLeft: 12, color:
|
|
1600
|
-
children: g(
|
|
1601
|
+
style: { marginLeft: 12, color: f ? n : s },
|
|
1602
|
+
children: g(o)
|
|
1601
1603
|
}
|
|
1602
1604
|
)
|
|
1603
1605
|
] }) }),
|
|
1604
|
-
d && /* @__PURE__ */
|
|
1606
|
+
d && /* @__PURE__ */ i("div", { className: we.list, children: d == null ? void 0 : d.map((b, v) => /* @__PURE__ */ i(
|
|
1605
1607
|
fe,
|
|
1606
1608
|
{
|
|
1607
1609
|
indicator: b,
|
|
@@ -1611,7 +1613,7 @@ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
|
|
|
1611
1613
|
onClickIndicator: c,
|
|
1612
1614
|
multiple: p,
|
|
1613
1615
|
activeIndicatorType: u,
|
|
1614
|
-
onChangeType:
|
|
1616
|
+
onChangeType: m
|
|
1615
1617
|
},
|
|
1616
1618
|
"indicator" + v
|
|
1617
1619
|
)) })
|
|
@@ -1631,8 +1633,8 @@ ze.propTypes = {
|
|
|
1631
1633
|
onClickSubCategory: e.func,
|
|
1632
1634
|
onClickIndicator: e.func
|
|
1633
1635
|
};
|
|
1634
|
-
const
|
|
1635
|
-
cat:
|
|
1636
|
+
const je = ({
|
|
1637
|
+
cat: o,
|
|
1636
1638
|
id: d,
|
|
1637
1639
|
activeColor: s,
|
|
1638
1640
|
defaultColor: n,
|
|
@@ -1643,14 +1645,14 @@ const Pe = ({
|
|
|
1643
1645
|
activeIndicator: c,
|
|
1644
1646
|
onClickIndicator: p,
|
|
1645
1647
|
multiple: u,
|
|
1646
|
-
activeIndicatorType:
|
|
1648
|
+
activeIndicatorType: m,
|
|
1647
1649
|
onChangeType: g
|
|
1648
1650
|
}) => {
|
|
1649
1651
|
var v;
|
|
1650
|
-
const { t:
|
|
1651
|
-
return
|
|
1652
|
+
const { t: f } = k(), [C, b] = B(!1);
|
|
1653
|
+
return L(() => {
|
|
1652
1654
|
b(r === d);
|
|
1653
|
-
}, [r, d]), /* @__PURE__ */
|
|
1655
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1654
1656
|
Ce.div,
|
|
1655
1657
|
{
|
|
1656
1658
|
className: ae.indicatorsCategory,
|
|
@@ -1663,23 +1665,23 @@ const Pe = ({
|
|
|
1663
1665
|
marginBottom: C ? "20px" : "0px"
|
|
1664
1666
|
},
|
|
1665
1667
|
children: [
|
|
1666
|
-
/* @__PURE__ */
|
|
1667
|
-
/* @__PURE__ */
|
|
1668
|
-
/* @__PURE__ */
|
|
1668
|
+
/* @__PURE__ */ h("h2", { className: `${ae.title}`, onClick: () => t(d), children: [
|
|
1669
|
+
/* @__PURE__ */ i("span", { style: { color: C ? s : n }, children: C ? "-" : "+" }),
|
|
1670
|
+
/* @__PURE__ */ i(
|
|
1669
1671
|
"span",
|
|
1670
1672
|
{
|
|
1671
1673
|
style: { marginLeft: 12, color: C ? s : n },
|
|
1672
|
-
children:
|
|
1674
|
+
children: f(o.name)
|
|
1673
1675
|
}
|
|
1674
1676
|
)
|
|
1675
1677
|
] }),
|
|
1676
|
-
|
|
1677
|
-
({ name:
|
|
1678
|
+
o.subcategories ? o.subcategories.map(
|
|
1679
|
+
({ name: y, subcategory: _, indicators: w }, x) => /* @__PURE__ */ i(
|
|
1678
1680
|
ze,
|
|
1679
1681
|
{
|
|
1680
1682
|
id: _,
|
|
1681
1683
|
activeSubCategory: l,
|
|
1682
|
-
subcName:
|
|
1684
|
+
subcName: y,
|
|
1683
1685
|
onClickSubCategory: a,
|
|
1684
1686
|
activeIndicator: c,
|
|
1685
1687
|
onClickIndicator: p,
|
|
@@ -1687,22 +1689,22 @@ const Pe = ({
|
|
|
1687
1689
|
activeColor: s,
|
|
1688
1690
|
defaultColor: n,
|
|
1689
1691
|
indicators: w,
|
|
1690
|
-
activeIndicatorType:
|
|
1692
|
+
activeIndicatorType: m,
|
|
1691
1693
|
onChangeType: g
|
|
1692
1694
|
},
|
|
1693
1695
|
`subcKey ${x}`
|
|
1694
1696
|
)
|
|
1695
|
-
) : /* @__PURE__ */
|
|
1697
|
+
) : /* @__PURE__ */ i("div", { className: ae.list, children: (v = o.indicators) == null ? void 0 : v.map((y, _) => /* @__PURE__ */ i(
|
|
1696
1698
|
fe,
|
|
1697
1699
|
{
|
|
1698
|
-
indicator:
|
|
1699
|
-
values:
|
|
1700
|
+
indicator: y,
|
|
1701
|
+
values: y.type == "twoUnits" && y.values,
|
|
1700
1702
|
activeColor: s,
|
|
1701
1703
|
defaultColor: n,
|
|
1702
1704
|
activeIndicator: c,
|
|
1703
1705
|
onClickIndicator: p,
|
|
1704
1706
|
multiple: u,
|
|
1705
|
-
activeIndicatorType:
|
|
1707
|
+
activeIndicatorType: m,
|
|
1706
1708
|
onChangeType: g
|
|
1707
1709
|
},
|
|
1708
1710
|
`indicator${_}`
|
|
@@ -1711,7 +1713,7 @@ const Pe = ({
|
|
|
1711
1713
|
}
|
|
1712
1714
|
);
|
|
1713
1715
|
};
|
|
1714
|
-
|
|
1716
|
+
je.propTypes = {
|
|
1715
1717
|
cat: e.object,
|
|
1716
1718
|
id: e.string,
|
|
1717
1719
|
onChange: e.func,
|
|
@@ -1729,7 +1731,7 @@ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
|
1729
1731
|
indicatorsList: On,
|
|
1730
1732
|
title: In
|
|
1731
1733
|
}, Rn = ({
|
|
1732
|
-
indicators:
|
|
1734
|
+
indicators: o,
|
|
1733
1735
|
activeColor: d,
|
|
1734
1736
|
defaultColor: s = "#92898A",
|
|
1735
1737
|
// Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
|
|
@@ -1742,19 +1744,19 @@ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
|
1742
1744
|
changeIndType: l,
|
|
1743
1745
|
activeIndicatorType: a
|
|
1744
1746
|
}) => {
|
|
1745
|
-
const { t: c } = k(), [p, u] =
|
|
1747
|
+
const { t: c } = k(), [p, u] = B(), [m, g] = B(), [f, C] = B(), b = (x) => {
|
|
1746
1748
|
u(p == x ? null : x);
|
|
1747
1749
|
}, v = (x) => {
|
|
1748
|
-
g(
|
|
1749
|
-
},
|
|
1750
|
+
g(m == x ? null : x);
|
|
1751
|
+
}, y = ({ indicator: x }) => {
|
|
1750
1752
|
console.log("onClickIndicator: ", x), _(x);
|
|
1751
1753
|
}, _ = (x) => {
|
|
1752
1754
|
if (!t)
|
|
1753
1755
|
C(
|
|
1754
|
-
(
|
|
1756
|
+
(f == null ? void 0 : f.name) == x.name ? null : x
|
|
1755
1757
|
);
|
|
1756
1758
|
else {
|
|
1757
|
-
let N =
|
|
1759
|
+
let N = f && f.length > 0 ? [...f] : [];
|
|
1758
1760
|
C(
|
|
1759
1761
|
N != null && N.some(
|
|
1760
1762
|
($) => $.name == x.name
|
|
@@ -1764,21 +1766,21 @@ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
|
1764
1766
|
), x.type == "both" && l("cat");
|
|
1765
1767
|
}
|
|
1766
1768
|
};
|
|
1767
|
-
|
|
1768
|
-
console.log("activeindicator changed to: ",
|
|
1769
|
-
}, [
|
|
1770
|
-
if (r && !
|
|
1769
|
+
L(() => {
|
|
1770
|
+
console.log("activeindicator changed to: ", f), n && typeof n == "function" && f && n({ activeIndicator: f });
|
|
1771
|
+
}, [f]), Ke(() => {
|
|
1772
|
+
if (r && !f)
|
|
1771
1773
|
if (t && r && Array.isArray(r)) {
|
|
1772
|
-
let x =
|
|
1774
|
+
let x = f && f.length > 0 ? [...f] : [];
|
|
1773
1775
|
C([...x, ...r]), w(r[0].name);
|
|
1774
1776
|
} else
|
|
1775
1777
|
_(r), w(r.name);
|
|
1776
1778
|
}, []);
|
|
1777
1779
|
const w = (x) => {
|
|
1778
|
-
const N =
|
|
1780
|
+
const N = o.find(($) => {
|
|
1779
1781
|
if ($.subcategories) {
|
|
1780
1782
|
let A = $.subcategories.find(
|
|
1781
|
-
(ne) => ne.indicators.find((
|
|
1783
|
+
(ne) => ne.indicators.find((H) => H.name == x)
|
|
1782
1784
|
);
|
|
1783
1785
|
if (A)
|
|
1784
1786
|
return g(A.subcategory), A;
|
|
@@ -1787,19 +1789,19 @@ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
|
1787
1789
|
});
|
|
1788
1790
|
N && u(N.category);
|
|
1789
1791
|
};
|
|
1790
|
-
return /* @__PURE__ */
|
|
1791
|
-
/* @__PURE__ */
|
|
1792
|
-
|
|
1793
|
-
|
|
1792
|
+
return /* @__PURE__ */ h("div", { className: ke.indicatorsList, children: [
|
|
1793
|
+
/* @__PURE__ */ i("h2", { className: ke.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
1794
|
+
o.map((x, N) => /* @__PURE__ */ i(
|
|
1795
|
+
je,
|
|
1794
1796
|
{
|
|
1795
1797
|
id: x.category,
|
|
1796
1798
|
cat: x,
|
|
1797
1799
|
onClickCategory: b,
|
|
1798
1800
|
activeCategory: p,
|
|
1799
1801
|
onClickSubCategory: v,
|
|
1800
|
-
activeSubCategory:
|
|
1801
|
-
onClickIndicator:
|
|
1802
|
-
activeIndicator:
|
|
1802
|
+
activeSubCategory: m,
|
|
1803
|
+
onClickIndicator: y,
|
|
1804
|
+
activeIndicator: f,
|
|
1803
1805
|
activeColor: d,
|
|
1804
1806
|
defaultColor: s,
|
|
1805
1807
|
multiple: t,
|
|
@@ -1822,35 +1824,35 @@ Rn.propTypes = {
|
|
|
1822
1824
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1823
1825
|
activeIndicatorType: e.string
|
|
1824
1826
|
};
|
|
1825
|
-
const Vn = "
|
|
1827
|
+
const Vn = "_langSelector_o9enq_2", Pn = "_currentLang_o9enq_14", zn = "_arrow_o9enq_26", jn = "_prevImg_o9enq_29", En = "_langMenu_o9enq_33", Z = {
|
|
1826
1828
|
langSelector: Vn,
|
|
1827
|
-
currentLang:
|
|
1829
|
+
currentLang: Pn,
|
|
1828
1830
|
arrow: zn,
|
|
1829
|
-
prevImg:
|
|
1831
|
+
prevImg: jn,
|
|
1830
1832
|
langMenu: En
|
|
1831
|
-
}, qn = ({ langs:
|
|
1832
|
-
const [n, t] =
|
|
1833
|
+
}, qn = ({ langs: o, arrow: d, imgPrev: s }) => {
|
|
1834
|
+
const [n, t] = B(!1), { i18n: r } = k(), l = o.find((c) => c.code == r.language), a = (c) => {
|
|
1833
1835
|
r.changeLanguage(c), t(!1);
|
|
1834
1836
|
};
|
|
1835
|
-
return /* @__PURE__ */
|
|
1836
|
-
/* @__PURE__ */
|
|
1837
|
+
return /* @__PURE__ */ h("div", { className: Z.langSelector, children: [
|
|
1838
|
+
/* @__PURE__ */ h(
|
|
1837
1839
|
"div",
|
|
1838
1840
|
{
|
|
1839
|
-
className:
|
|
1841
|
+
className: Z.currentLang,
|
|
1840
1842
|
onClick: () => {
|
|
1841
1843
|
t(!n);
|
|
1842
1844
|
},
|
|
1843
1845
|
children: [
|
|
1844
|
-
s && /* @__PURE__ */
|
|
1845
|
-
l.titleSelected || l.title,
|
|
1846
|
-
/* @__PURE__ */
|
|
1846
|
+
s && /* @__PURE__ */ i("img", { className: Z.prevImg, src: s }),
|
|
1847
|
+
(l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
|
|
1848
|
+
/* @__PURE__ */ i("img", { src: d, className: Z.arrow })
|
|
1847
1849
|
]
|
|
1848
1850
|
}
|
|
1849
1851
|
),
|
|
1850
|
-
n && /* @__PURE__ */
|
|
1852
|
+
n && /* @__PURE__ */ i("div", { className: Z.langMenu, children: o.map((c) => /* @__PURE__ */ i(
|
|
1851
1853
|
"button",
|
|
1852
1854
|
{
|
|
1853
|
-
className: l.code == c.code ?
|
|
1855
|
+
className: (l == null ? void 0 : l.code) == c.code ? Z.active : "",
|
|
1854
1856
|
onClick: () => a(c.code),
|
|
1855
1857
|
children: c.title
|
|
1856
1858
|
},
|
|
@@ -1888,7 +1890,7 @@ const Kn = "_legendContainer_atg3j_3", Zn = "_closeButton_atg3j_18", Un = "_titl
|
|
|
1888
1890
|
moreInfoContainer: ni
|
|
1889
1891
|
}, ii = ({
|
|
1890
1892
|
//JSON with the styles of the container (optional)
|
|
1891
|
-
containerStyles:
|
|
1893
|
+
containerStyles: o,
|
|
1892
1894
|
//Title on top of the legend
|
|
1893
1895
|
title: d,
|
|
1894
1896
|
//Array to display the info behind the title should have: [{title, value}, ...]
|
|
@@ -1910,24 +1912,24 @@ const Kn = "_legendContainer_atg3j_3", Zn = "_closeButton_atg3j_18", Un = "_titl
|
|
|
1910
1912
|
onClickClose: c
|
|
1911
1913
|
}) => {
|
|
1912
1914
|
const { t: p } = k();
|
|
1913
|
-
return /* @__PURE__ */
|
|
1915
|
+
return /* @__PURE__ */ h(
|
|
1914
1916
|
"div",
|
|
1915
1917
|
{
|
|
1916
|
-
style:
|
|
1918
|
+
style: o ? { ...o } : {},
|
|
1917
1919
|
className: `${M.legendContainer}`,
|
|
1918
1920
|
children: [
|
|
1919
|
-
/* @__PURE__ */
|
|
1920
|
-
d && /* @__PURE__ */
|
|
1921
|
-
s && s.length > 0 && /* @__PURE__ */
|
|
1922
|
-
/* @__PURE__ */
|
|
1923
|
-
/* @__PURE__ */
|
|
1921
|
+
/* @__PURE__ */ i("button", { className: M.closeButton, onClick: c }),
|
|
1922
|
+
d && /* @__PURE__ */ i("div", { className: M.titleContainer, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
1923
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: M.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: u, value: m }) => /* @__PURE__ */ h("li", { children: [
|
|
1924
|
+
/* @__PURE__ */ i("h3", { className: M.title, children: `${u}:` }),
|
|
1925
|
+
/* @__PURE__ */ h("span", { className: M.value, children: [
|
|
1924
1926
|
" ",
|
|
1925
|
-
|
|
1927
|
+
m
|
|
1926
1928
|
] })
|
|
1927
1929
|
] }, d)) }) }),
|
|
1928
|
-
/* @__PURE__ */
|
|
1929
|
-
/* @__PURE__ */
|
|
1930
|
-
/* @__PURE__ */
|
|
1930
|
+
/* @__PURE__ */ i("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ i(ge, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) } }) : p("mainUse") }),
|
|
1931
|
+
/* @__PURE__ */ i("div", { className: M.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: M.absoluteValueContainer, children: [
|
|
1932
|
+
/* @__PURE__ */ i(
|
|
1931
1933
|
"div",
|
|
1932
1934
|
{
|
|
1933
1935
|
className: M.absoluteValueColor,
|
|
@@ -1936,34 +1938,34 @@ const Kn = "_legendContainer_atg3j_3", Zn = "_closeButton_atg3j_18", Un = "_titl
|
|
|
1936
1938
|
}
|
|
1937
1939
|
}
|
|
1938
1940
|
),
|
|
1939
|
-
/* @__PURE__ */
|
|
1940
|
-
/* @__PURE__ */
|
|
1941
|
+
/* @__PURE__ */ h("div", { className: M.absoluteValueText, children: [
|
|
1942
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1941
1943
|
r.maxValue,
|
|
1942
1944
|
" ",
|
|
1943
1945
|
p(r.unit)
|
|
1944
1946
|
] }),
|
|
1945
|
-
/* @__PURE__ */
|
|
1947
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1946
1948
|
r.minValue,
|
|
1947
1949
|
" ",
|
|
1948
1950
|
p(r.unit)
|
|
1949
1951
|
] })
|
|
1950
1952
|
] })
|
|
1951
|
-
] }) : n && n.length > 0 && /* @__PURE__ */
|
|
1952
|
-
({ title: u, color:
|
|
1953
|
-
/* @__PURE__ */
|
|
1953
|
+
] }) : n && n.length > 0 && /* @__PURE__ */ i("div", { className: M.gridContainer, children: n.map(
|
|
1954
|
+
({ title: u, color: m }) => /* @__PURE__ */ h("div", { className: M.elementLegendContainer, children: [
|
|
1955
|
+
/* @__PURE__ */ i(
|
|
1954
1956
|
"div",
|
|
1955
1957
|
{
|
|
1956
1958
|
className: M.colorDot,
|
|
1957
|
-
style: { backgroundColor:
|
|
1959
|
+
style: { backgroundColor: m }
|
|
1958
1960
|
}
|
|
1959
1961
|
),
|
|
1960
|
-
/* @__PURE__ */
|
|
1962
|
+
/* @__PURE__ */ h("div", { className: M.titleLegendElement, children: [
|
|
1961
1963
|
p(u),
|
|
1962
1964
|
" "
|
|
1963
1965
|
] })
|
|
1964
1966
|
] }, d)
|
|
1965
1967
|
) }) }),
|
|
1966
|
-
l && /* @__PURE__ */
|
|
1968
|
+
l && /* @__PURE__ */ i("button", { className: M.moreInfoContainer, onClick: l, children: a || p("moreInformation") })
|
|
1967
1969
|
]
|
|
1968
1970
|
}
|
|
1969
1971
|
);
|
|
@@ -1996,9 +1998,9 @@ ii.propTypes = {
|
|
|
1996
1998
|
};
|
|
1997
1999
|
const oi = "_logo_1ewa6_2", Ne = {
|
|
1998
2000
|
logo: oi
|
|
1999
|
-
}, si = ({ src:
|
|
2000
|
-
const { t: n } = k(), t = /* @__PURE__ */
|
|
2001
|
-
return s ? /* @__PURE__ */
|
|
2001
|
+
}, si = ({ src: o, alt: d, href: s }) => {
|
|
2002
|
+
const { t: n } = k(), t = /* @__PURE__ */ i("img", { src: o, alt: n(d) });
|
|
2003
|
+
return s ? /* @__PURE__ */ i("div", { className: Ne.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: Ne.logo, children: t });
|
|
2002
2004
|
};
|
|
2003
2005
|
si.propTypes = {
|
|
2004
2006
|
src: e.string.isRequired,
|
|
@@ -2011,7 +2013,7 @@ const ri = "_mapContainer_84pkf_2", ai = {
|
|
|
2011
2013
|
};
|
|
2012
2014
|
Ue.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2013
2015
|
const li = ({
|
|
2014
|
-
initialView:
|
|
2016
|
+
initialView: o = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2015
2017
|
maxZoom: d = 17,
|
|
2016
2018
|
minZoom: s = 8,
|
|
2017
2019
|
mapStyle: n,
|
|
@@ -2023,19 +2025,19 @@ const li = ({
|
|
|
2023
2025
|
sources: p = [],
|
|
2024
2026
|
layers: u = []
|
|
2025
2027
|
}) => {
|
|
2026
|
-
const
|
|
2027
|
-
return
|
|
2028
|
-
if (
|
|
2029
|
-
const b =
|
|
2030
|
-
b.getStyle().layers.map((
|
|
2031
|
-
|
|
2028
|
+
const m = he(), [g, f] = B(null), C = de((b) => b.mapState.showTexts);
|
|
2029
|
+
return L(() => {
|
|
2030
|
+
if (m.current) {
|
|
2031
|
+
const b = m.current.getMap();
|
|
2032
|
+
b.getStyle().layers.map((y) => {
|
|
2033
|
+
y.type == "symbol" && y.id != "professionals" && (C ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
|
|
2032
2034
|
});
|
|
2033
2035
|
}
|
|
2034
|
-
}, [C]), /* @__PURE__ */
|
|
2036
|
+
}, [C]), /* @__PURE__ */ i("div", { className: `${ai.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2035
2037
|
He,
|
|
2036
2038
|
{
|
|
2037
|
-
initialViewState:
|
|
2038
|
-
ref:
|
|
2039
|
+
initialViewState: o,
|
|
2040
|
+
ref: m,
|
|
2039
2041
|
hash: !1,
|
|
2040
2042
|
maxZoom: d,
|
|
2041
2043
|
minZoom: s,
|
|
@@ -2043,15 +2045,15 @@ const li = ({
|
|
|
2043
2045
|
onClick: l,
|
|
2044
2046
|
interactiveLayerIds: a,
|
|
2045
2047
|
children: [
|
|
2046
|
-
p.length && p.map((b, v) => /* @__PURE__ */
|
|
2048
|
+
p.length && p.map((b, v) => /* @__PURE__ */ i(
|
|
2047
2049
|
Ge,
|
|
2048
2050
|
{
|
|
2049
2051
|
...b,
|
|
2050
|
-
children: u.length && u.map((
|
|
2051
|
-
if (
|
|
2052
|
+
children: u.length && u.map((y, _) => {
|
|
2053
|
+
if (y.sourceId == b.id) return /* @__PURE__ */ i(
|
|
2052
2054
|
Ye,
|
|
2053
2055
|
{
|
|
2054
|
-
...
|
|
2056
|
+
...y.layer,
|
|
2055
2057
|
beforeId: t
|
|
2056
2058
|
},
|
|
2057
2059
|
_
|
|
@@ -2060,14 +2062,14 @@ const li = ({
|
|
|
2060
2062
|
},
|
|
2061
2063
|
v
|
|
2062
2064
|
)),
|
|
2063
|
-
/* @__PURE__ */
|
|
2064
|
-
c && g && /* @__PURE__ */
|
|
2065
|
+
/* @__PURE__ */ i(We, { position: "bottom-right", visualizePitch: !0 }),
|
|
2066
|
+
c && g && /* @__PURE__ */ i(
|
|
2065
2067
|
Xe,
|
|
2066
2068
|
{
|
|
2067
2069
|
longitude: c.longitude,
|
|
2068
2070
|
latitude: c.latitude,
|
|
2069
2071
|
anchor: c.anchor,
|
|
2070
|
-
onClose: () =>
|
|
2072
|
+
onClose: () => f(null),
|
|
2071
2073
|
children: c.content
|
|
2072
2074
|
}
|
|
2073
2075
|
)
|
|
@@ -2125,19 +2127,19 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2125
2127
|
}, pi = "_FeaturePopUp_1gd6w_2", ui = "_title_1gd6w_2", Se = {
|
|
2126
2128
|
FeaturePopUp: pi,
|
|
2127
2129
|
title: ui
|
|
2128
|
-
},
|
|
2130
|
+
}, mi = ({ props: o }) => {
|
|
2129
2131
|
const { t: d } = k();
|
|
2130
|
-
return /* @__PURE__ */
|
|
2131
|
-
/* @__PURE__ */
|
|
2132
|
-
/* @__PURE__ */
|
|
2132
|
+
return /* @__PURE__ */ i("div", { className: Se.FeaturePopUp, children: o.map((s) => /* @__PURE__ */ h("p", { children: [
|
|
2133
|
+
/* @__PURE__ */ h("span", { className: Se.title, children: [
|
|
2134
|
+
/* @__PURE__ */ i(ge, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) } }),
|
|
2133
2135
|
": "
|
|
2134
2136
|
] }),
|
|
2135
2137
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2136
2138
|
" ",
|
|
2137
2139
|
d(s.unit)
|
|
2138
2140
|
] })) });
|
|
2139
|
-
},
|
|
2140
|
-
initialView:
|
|
2141
|
+
}, hi = ({
|
|
2142
|
+
initialView: o = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2141
2143
|
maxZoom: d = 17,
|
|
2142
2144
|
minZoom: s = 8,
|
|
2143
2145
|
mapStyle: n,
|
|
@@ -2148,29 +2150,29 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2148
2150
|
sources: c = [],
|
|
2149
2151
|
layers: p = [],
|
|
2150
2152
|
filters: u,
|
|
2151
|
-
popUpParams:
|
|
2153
|
+
popUpParams: m,
|
|
2152
2154
|
onClosePopUp: g,
|
|
2153
|
-
showTexts:
|
|
2155
|
+
showTexts: f
|
|
2154
2156
|
}) => {
|
|
2155
2157
|
console.log(u);
|
|
2156
|
-
const C =
|
|
2157
|
-
return
|
|
2158
|
+
const C = he();
|
|
2159
|
+
return L(() => {
|
|
2158
2160
|
if (C.current) {
|
|
2159
2161
|
const b = C.current.getMap();
|
|
2160
|
-
b.getStyle().layers.map((
|
|
2161
|
-
|
|
2162
|
+
b.getStyle().layers.map((y) => {
|
|
2163
|
+
y.type == "symbol" && y.id != "professionals" && (f ? b.setLayoutProperty(y.id, "visibility", "visible") : b.setLayoutProperty(y.id, "visibility", "none"));
|
|
2162
2164
|
});
|
|
2163
2165
|
}
|
|
2164
|
-
}, [
|
|
2166
|
+
}, [f]), L(() => {
|
|
2165
2167
|
let b = new Je();
|
|
2166
2168
|
return ie.addProtocol("pmtiles", b.tile), () => {
|
|
2167
2169
|
ie.removeProtocol("pmtiles");
|
|
2168
2170
|
};
|
|
2169
|
-
}, []), /* @__PURE__ */
|
|
2171
|
+
}, []), /* @__PURE__ */ i("div", { className: `${di.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2170
2172
|
Qe,
|
|
2171
2173
|
{
|
|
2172
2174
|
mapLib: ie,
|
|
2173
|
-
initialViewState:
|
|
2175
|
+
initialViewState: o,
|
|
2174
2176
|
ref: C,
|
|
2175
2177
|
hash: !1,
|
|
2176
2178
|
maxZoom: d,
|
|
@@ -2179,15 +2181,15 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2179
2181
|
onClick: l,
|
|
2180
2182
|
interactiveLayerIds: a,
|
|
2181
2183
|
children: [
|
|
2182
|
-
c.length && c.map((b, v) => /* @__PURE__ */
|
|
2184
|
+
c.length && c.map((b, v) => /* @__PURE__ */ i(
|
|
2183
2185
|
et,
|
|
2184
2186
|
{
|
|
2185
2187
|
...b,
|
|
2186
|
-
children: p.length && p.map((
|
|
2187
|
-
if (
|
|
2188
|
+
children: p.length && p.map((y, _) => {
|
|
2189
|
+
if (y.sourceId == b.id) return /* @__PURE__ */ i(
|
|
2188
2190
|
tt,
|
|
2189
2191
|
{
|
|
2190
|
-
...
|
|
2192
|
+
...y.layer,
|
|
2191
2193
|
beforeId: t,
|
|
2192
2194
|
filter: u && u
|
|
2193
2195
|
},
|
|
@@ -2197,21 +2199,21 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2197
2199
|
},
|
|
2198
2200
|
v
|
|
2199
2201
|
)),
|
|
2200
|
-
/* @__PURE__ */
|
|
2201
|
-
|
|
2202
|
+
/* @__PURE__ */ i(nt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2203
|
+
m && /* @__PURE__ */ i(
|
|
2202
2204
|
it,
|
|
2203
2205
|
{
|
|
2204
|
-
longitude:
|
|
2205
|
-
latitude:
|
|
2206
|
+
longitude: m.lng,
|
|
2207
|
+
latitude: m.lat,
|
|
2206
2208
|
onClose: g,
|
|
2207
|
-
children: /* @__PURE__ */
|
|
2209
|
+
children: /* @__PURE__ */ i(mi, { props: m.props })
|
|
2208
2210
|
}
|
|
2209
2211
|
)
|
|
2210
2212
|
]
|
|
2211
2213
|
}
|
|
2212
2214
|
) });
|
|
2213
2215
|
};
|
|
2214
|
-
|
|
2216
|
+
hi.propTypes = {
|
|
2215
2217
|
initialView: e.shape({
|
|
2216
2218
|
latitude: e.number.isRequired,
|
|
2217
2219
|
longitude: e.number.isRequired,
|
|
@@ -2261,8 +2263,8 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2261
2263
|
title: fi,
|
|
2262
2264
|
subtitle: yi,
|
|
2263
2265
|
rightContent: vi
|
|
2264
|
-
},
|
|
2265
|
-
leftIcon:
|
|
2266
|
+
}, go = ({
|
|
2267
|
+
leftIcon: o,
|
|
2266
2268
|
title: d,
|
|
2267
2269
|
subtitle: s,
|
|
2268
2270
|
rightContent: n,
|
|
@@ -2270,15 +2272,15 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2270
2272
|
width: r
|
|
2271
2273
|
}) => {
|
|
2272
2274
|
const { t: l } = k();
|
|
2273
|
-
return /* @__PURE__ */
|
|
2274
|
-
/* @__PURE__ */
|
|
2275
|
-
|
|
2276
|
-
/* @__PURE__ */
|
|
2277
|
-
/* @__PURE__ */
|
|
2278
|
-
s && /* @__PURE__ */
|
|
2275
|
+
return /* @__PURE__ */ h("div", { className: z.sectionBar, style: { width: r && r }, children: [
|
|
2276
|
+
/* @__PURE__ */ h("div", { className: z.leftContent, children: [
|
|
2277
|
+
o && /* @__PURE__ */ i("img", { src: o, alt: "Icono", className: z.icon }),
|
|
2278
|
+
/* @__PURE__ */ h("div", { className: z.textContainer, children: [
|
|
2279
|
+
/* @__PURE__ */ i("div", { className: z.title, children: l(d) }),
|
|
2280
|
+
s && /* @__PURE__ */ i("div", { className: z.subtitle, children: s })
|
|
2279
2281
|
] })
|
|
2280
2282
|
] }),
|
|
2281
|
-
/* @__PURE__ */
|
|
2283
|
+
/* @__PURE__ */ i("div", { className: z.rightContent, children: n })
|
|
2282
2284
|
] });
|
|
2283
2285
|
}, _i = Me({
|
|
2284
2286
|
name: "mapSlice",
|
|
@@ -2290,40 +2292,40 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2290
2292
|
activeIndicatorUnit: null
|
|
2291
2293
|
},
|
|
2292
2294
|
reducers: {
|
|
2293
|
-
setShowTexts: (
|
|
2294
|
-
|
|
2295
|
+
setShowTexts: (o, d) => {
|
|
2296
|
+
o.showTexts = d.payload;
|
|
2295
2297
|
},
|
|
2296
|
-
setYear: (
|
|
2297
|
-
|
|
2298
|
+
setYear: (o, d) => {
|
|
2299
|
+
o.sliderSelectedYear = d.payload;
|
|
2298
2300
|
},
|
|
2299
|
-
setActiveIndicatorKey: (
|
|
2300
|
-
|
|
2301
|
+
setActiveIndicatorKey: (o, d) => {
|
|
2302
|
+
o.activeIndicatorKey = d.payload;
|
|
2301
2303
|
},
|
|
2302
|
-
setActiveIndicatorType: (
|
|
2303
|
-
|
|
2304
|
+
setActiveIndicatorType: (o, d) => {
|
|
2305
|
+
o.activeIndicatorType = d.payload;
|
|
2304
2306
|
},
|
|
2305
|
-
setActiveIndicatorUnit: (
|
|
2306
|
-
|
|
2307
|
+
setActiveIndicatorUnit: (o, d) => {
|
|
2308
|
+
o.activeIndicatorUnit = d.payload;
|
|
2307
2309
|
}
|
|
2308
2310
|
}
|
|
2309
|
-
}), { setShowTexts:
|
|
2311
|
+
}), { setShowTexts: Co, setYear: le, setActiveIndicatorKey: bo, setActiveIndicatorType: fo, setActiveIndicatorUnit: yo } = _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", W = {
|
|
2310
2312
|
slider: ki,
|
|
2311
2313
|
playButton: Ni,
|
|
2312
2314
|
sliderOpen: Si,
|
|
2313
2315
|
sliderResults: Ti
|
|
2314
|
-
}, Mi = ({ onResults:
|
|
2315
|
-
const [l, a] =
|
|
2316
|
+
}, Mi = ({ onResults: o = !1, defaultYear: d = 2025, firstYear: s = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2317
|
+
const [l, a] = B(d), c = Te(), p = (y, _) => {
|
|
2316
2318
|
a(_), c(le(_ - 2e3));
|
|
2317
|
-
}, [u,
|
|
2318
|
-
|
|
2319
|
-
},
|
|
2320
|
-
|
|
2319
|
+
}, [u, m] = B(!1), g = () => {
|
|
2320
|
+
m(!0);
|
|
2321
|
+
}, f = () => {
|
|
2322
|
+
m(!1);
|
|
2321
2323
|
};
|
|
2322
|
-
((
|
|
2323
|
-
const w =
|
|
2324
|
-
|
|
2325
|
-
w.current =
|
|
2326
|
-
}, [
|
|
2324
|
+
((y, _) => {
|
|
2325
|
+
const w = he();
|
|
2326
|
+
L(() => {
|
|
2327
|
+
w.current = y;
|
|
2328
|
+
}, [y]), L(() => {
|
|
2327
2329
|
function x() {
|
|
2328
2330
|
w.current();
|
|
2329
2331
|
}
|
|
@@ -2363,15 +2365,15 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2363
2365
|
{ label: "", value: 2041 },
|
|
2364
2366
|
{ label: "", value: 2050 }
|
|
2365
2367
|
];
|
|
2366
|
-
return /* @__PURE__ */
|
|
2368
|
+
return /* @__PURE__ */ i(at, { theme: b, children: /* @__PURE__ */ h(
|
|
2367
2369
|
rt,
|
|
2368
2370
|
{
|
|
2369
2371
|
sx: { width: 400 },
|
|
2370
|
-
className: `${
|
|
2372
|
+
className: `${o ? W.sliderResults : W.slider} ${r ? W.sliderOpen : ""}`,
|
|
2371
2373
|
style: { zIndex: t },
|
|
2372
2374
|
children: [
|
|
2373
2375
|
s,
|
|
2374
|
-
/* @__PURE__ */
|
|
2376
|
+
/* @__PURE__ */ i(
|
|
2375
2377
|
ot,
|
|
2376
2378
|
{
|
|
2377
2379
|
"aria-label": "TimeSlider",
|
|
@@ -2387,8 +2389,8 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2387
2389
|
}
|
|
2388
2390
|
),
|
|
2389
2391
|
n,
|
|
2390
|
-
!u && /* @__PURE__ */
|
|
2391
|
-
u && /* @__PURE__ */
|
|
2392
|
+
!u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: g, children: /* @__PURE__ */ i("img", { src: xi, alt: "Play" }) }),
|
|
2393
|
+
u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: f, children: /* @__PURE__ */ i("img", { src: wi, alt: "Pause" }) })
|
|
2392
2394
|
]
|
|
2393
2395
|
}
|
|
2394
2396
|
) });
|
|
@@ -2401,37 +2403,30 @@ Mi.propTypes = {
|
|
|
2401
2403
|
zIndex: e.number,
|
|
2402
2404
|
rightBarOpen: e.bool
|
|
2403
2405
|
};
|
|
2404
|
-
const
|
|
2405
|
-
TopNavMenuContainer:
|
|
2406
|
-
topNavOptions:
|
|
2407
|
-
active:
|
|
2406
|
+
const Fi = "_TopNavMenuContainer_12mp4_2", Bi = "_topNavOptions_12mp4_13", Li = "_active_12mp4_27", ce = {
|
|
2407
|
+
TopNavMenuContainer: Fi,
|
|
2408
|
+
topNavOptions: Bi,
|
|
2409
|
+
active: Li
|
|
2408
2410
|
}, Di = ({
|
|
2409
|
-
options:
|
|
2410
|
-
|
|
2411
|
-
|
|
2411
|
+
options: o = [],
|
|
2412
|
+
containerStyles: d,
|
|
2413
|
+
borderColor: s = "red",
|
|
2414
|
+
textColor: n = "white"
|
|
2412
2415
|
}) => {
|
|
2413
|
-
const { t
|
|
2414
|
-
return /* @__PURE__ */ o(
|
|
2415
|
-
|
|
2416
|
+
const { t } = k();
|
|
2417
|
+
return /* @__PURE__ */ i("div", { className: ce.TopNavMenuContainer, style: { ...d }, children: o.map((r, l) => /* @__PURE__ */ i(
|
|
2418
|
+
lt,
|
|
2416
2419
|
{
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
{
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
height: `calc(${l} - 10px)`
|
|
2428
|
-
}),
|
|
2429
|
-
children: n(a.name)
|
|
2430
|
-
},
|
|
2431
|
-
c
|
|
2432
|
-
))
|
|
2433
|
-
}
|
|
2434
|
-
);
|
|
2420
|
+
to: r.url,
|
|
2421
|
+
className: ({ isActive: a }) => `${ce.topNavOptions} ${a ? ce.active : ""} `,
|
|
2422
|
+
style: ({ isActive: a }) => ({
|
|
2423
|
+
color: n,
|
|
2424
|
+
borderBottom: a ? `5px solid ${s}` : "5px solid transparent"
|
|
2425
|
+
}),
|
|
2426
|
+
children: t(r.name)
|
|
2427
|
+
},
|
|
2428
|
+
l
|
|
2429
|
+
)) });
|
|
2435
2430
|
};
|
|
2436
2431
|
Di.propTypes = {
|
|
2437
2432
|
options: e.arrayOf(e.object),
|
|
@@ -2454,20 +2449,32 @@ const $i = Me({
|
|
|
2454
2449
|
showUserMenu: !1
|
|
2455
2450
|
},
|
|
2456
2451
|
reducers: {
|
|
2457
|
-
setShowLogIn: (
|
|
2458
|
-
|
|
2452
|
+
setShowLogIn: (o, d) => {
|
|
2453
|
+
o.showLogIn = d.payload;
|
|
2459
2454
|
},
|
|
2460
|
-
setShowUserMenu: (
|
|
2461
|
-
|
|
2455
|
+
setShowUserMenu: (o, d) => {
|
|
2456
|
+
o.showUserMenu = d.payload;
|
|
2462
2457
|
}
|
|
2463
2458
|
}
|
|
2464
2459
|
}), { setShowLogIn: Ai, setShowUserMenu: Oi } = $i.actions, Ii = "_UserMenuTrigger_uglss_2", Ri = {
|
|
2465
2460
|
UserMenuTrigger: Ii
|
|
2466
|
-
}, Vi = ({
|
|
2467
|
-
|
|
2468
|
-
|
|
2461
|
+
}, Vi = ({
|
|
2462
|
+
cssClass: o,
|
|
2463
|
+
loginLocale: d = "login",
|
|
2464
|
+
containerStyles: s
|
|
2465
|
+
}) => {
|
|
2466
|
+
const n = Te(), t = de((c) => c.userState.user.isLoggedIn), r = de((c) => c.userState.user.username), { t: l } = k(), a = () => {
|
|
2467
|
+
n(t ? Ai(!0) : Oi(!0));
|
|
2469
2468
|
};
|
|
2470
|
-
return /* @__PURE__ */
|
|
2469
|
+
return /* @__PURE__ */ i(
|
|
2470
|
+
"div",
|
|
2471
|
+
{
|
|
2472
|
+
style: { ...s },
|
|
2473
|
+
className: `${Ri.UserMenuTrigger} link ${o}`,
|
|
2474
|
+
onClick: a,
|
|
2475
|
+
children: t ? r : l(d)
|
|
2476
|
+
}
|
|
2477
|
+
);
|
|
2471
2478
|
};
|
|
2472
2479
|
Vi.propTypes = {
|
|
2473
2480
|
onClickLoggedIn: e.func.isRequired,
|
|
@@ -2477,98 +2484,87 @@ Vi.propTypes = {
|
|
|
2477
2484
|
cssClass: e.string,
|
|
2478
2485
|
loginLocale: e.string
|
|
2479
2486
|
};
|
|
2480
|
-
const
|
|
2481
|
-
header:
|
|
2487
|
+
const Pi = "_header_13kbt_2", zi = "_leftComponents_13kbt_13", ji = "_centerComponents_13kbt_14", Ei = "_rightComponents_13kbt_15", qi = "_componentsContainer_13kbt_32", j = {
|
|
2488
|
+
header: Pi,
|
|
2482
2489
|
leftComponents: zi,
|
|
2483
|
-
centerComponents:
|
|
2484
|
-
rightComponents: Ei
|
|
2485
|
-
|
|
2486
|
-
|
|
2490
|
+
centerComponents: ji,
|
|
2491
|
+
rightComponents: Ei,
|
|
2492
|
+
componentsContainer: qi
|
|
2493
|
+
}, Ki = ({
|
|
2494
|
+
cssProps: o,
|
|
2487
2495
|
leftComponents: d = [],
|
|
2488
2496
|
centerComponents: s = [],
|
|
2489
|
-
rightComponents: n = []
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
children:
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
style: { height: i.height },
|
|
2512
|
-
children: n.map((t, r) => /* @__PURE__ */ o("div", { style: { height: i.height }, children: t }, r))
|
|
2513
|
-
}
|
|
2514
|
-
)
|
|
2515
|
-
] });
|
|
2516
|
-
qi.propTypes = {
|
|
2517
|
-
cssProps: e.shape({
|
|
2518
|
-
backgroundColor: e.string.isRequired,
|
|
2519
|
-
height: e.string.isRequired,
|
|
2520
|
-
borderColor: e.string,
|
|
2521
|
-
textColor: e.string
|
|
2522
|
-
}),
|
|
2497
|
+
rightComponents: n = [],
|
|
2498
|
+
zIndex: t = 10,
|
|
2499
|
+
height: r = 60,
|
|
2500
|
+
backgroundColor: l = "#605B56"
|
|
2501
|
+
}) => /* @__PURE__ */ h(
|
|
2502
|
+
"div",
|
|
2503
|
+
{
|
|
2504
|
+
className: j.header,
|
|
2505
|
+
style: {
|
|
2506
|
+
...o,
|
|
2507
|
+
zIndex: t,
|
|
2508
|
+
height: r,
|
|
2509
|
+
backgroundColor: l
|
|
2510
|
+
},
|
|
2511
|
+
children: [
|
|
2512
|
+
/* @__PURE__ */ i("div", { className: j.leftComponents, children: d.map((a, c) => /* @__PURE__ */ i("div", { className: j.componentsContainer, children: a }, c)) }),
|
|
2513
|
+
/* @__PURE__ */ i("div", { className: j.centerComponents, children: s.map((a, c) => /* @__PURE__ */ i("div", { className: j.componentsContainer, children: a }, c)) }),
|
|
2514
|
+
/* @__PURE__ */ i("div", { className: j.rightComponents, children: n.map((a, c) => /* @__PURE__ */ i("div", { className: j.componentsContainer, children: a }, c)) })
|
|
2515
|
+
]
|
|
2516
|
+
}
|
|
2517
|
+
);
|
|
2518
|
+
Ki.propTypes = {
|
|
2523
2519
|
leftComponents: e.arrayOf(e.node),
|
|
2524
2520
|
centerComponents: e.arrayOf(e.node),
|
|
2525
2521
|
rightComponents: e.arrayOf(e.node)
|
|
2526
2522
|
};
|
|
2527
|
-
const
|
|
2528
|
-
sidebar:
|
|
2529
|
-
open:
|
|
2530
|
-
content:
|
|
2531
|
-
closeButton:
|
|
2532
|
-
},
|
|
2523
|
+
const Zi = "_sidebar_1jqo2_2", Ui = "_open_1jqo2_16", Hi = "_content_1jqo2_20", Gi = "_closeButton_1jqo2_26", ee = {
|
|
2524
|
+
sidebar: Zi,
|
|
2525
|
+
open: Ui,
|
|
2526
|
+
content: Hi,
|
|
2527
|
+
closeButton: Gi
|
|
2528
|
+
}, Yi = ({ width: o = "300px", children: d, showRightBar: s, onCloseBar: n }) => {
|
|
2533
2529
|
const t = () => {
|
|
2534
2530
|
n();
|
|
2535
2531
|
};
|
|
2536
|
-
return /* @__PURE__ */
|
|
2532
|
+
return /* @__PURE__ */ i(
|
|
2537
2533
|
"div",
|
|
2538
2534
|
{
|
|
2539
2535
|
className: `${ee.sidebar} ${s ? ee.open : ""}`,
|
|
2540
|
-
style: { width: s ?
|
|
2541
|
-
children: s && /* @__PURE__ */
|
|
2542
|
-
/* @__PURE__ */
|
|
2536
|
+
style: { width: s ? o : 0 },
|
|
2537
|
+
children: s && /* @__PURE__ */ h("div", { className: ee.content, children: [
|
|
2538
|
+
/* @__PURE__ */ i("button", { className: ee.closeButton, onClick: t, children: "×" }),
|
|
2543
2539
|
d
|
|
2544
2540
|
] })
|
|
2545
2541
|
}
|
|
2546
2542
|
);
|
|
2547
2543
|
};
|
|
2548
|
-
|
|
2544
|
+
Yi.propTypes = {
|
|
2549
2545
|
width: e.string,
|
|
2550
2546
|
children: e.node,
|
|
2551
2547
|
showRightBar: e.bool,
|
|
2552
2548
|
onCloseBar: e.func
|
|
2553
2549
|
};
|
|
2554
2550
|
export {
|
|
2555
|
-
|
|
2551
|
+
Bt as AmbitSelector,
|
|
2556
2552
|
Et as ButtonsList,
|
|
2557
|
-
|
|
2553
|
+
E as DropdownList,
|
|
2558
2554
|
ho as EditAmbit,
|
|
2559
|
-
|
|
2555
|
+
hn as FiltersAmbit,
|
|
2560
2556
|
yn as Graphic,
|
|
2561
|
-
|
|
2557
|
+
Ki as HeaderSection,
|
|
2562
2558
|
Rn as IndicatorsList,
|
|
2563
2559
|
qn as LangSelector,
|
|
2564
2560
|
ii as Legend,
|
|
2565
2561
|
si as LogoApp,
|
|
2566
2562
|
li as MapboxMap,
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2563
|
+
hi as MaplibreMap,
|
|
2564
|
+
Yi as RightSidebar,
|
|
2565
|
+
go as SectionBar,
|
|
2570
2566
|
Mi as TimeSlider,
|
|
2571
|
-
|
|
2567
|
+
Le as Tooltip,
|
|
2572
2568
|
Di as TopNavMenu,
|
|
2573
2569
|
Vi as UserMenuTrigger
|
|
2574
2570
|
};
|