@tmf_ciclica/ciclicastorybook 1.1.39 → 1.1.40
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 +404 -394
- 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_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_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
|
|
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_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_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_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._UserMenuTrigger_uglss_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as h, jsx as i, Fragment as Ee } from "react/jsx-runtime";
|
|
3
|
+
import H, { useState as B, useEffect as D, 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,7 +17,7 @@ import st from "@mui/material/Slider";
|
|
|
17
17
|
import { createTheme as ot, 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", mt = "_ambitDate_mcunf_53", ht = "_buttonsContainer_mcunf_67", gt = "_ambitListContainer_mcunf_76", Ct = "_newAmbitButtonContainer_mcunf_80",
|
|
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", I = {
|
|
21
21
|
ambitSelector: ct,
|
|
22
22
|
header: dt,
|
|
23
23
|
nameDateContainer: pt,
|
|
@@ -26,7 +26,7 @@ const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateCon
|
|
|
26
26
|
buttonsContainer: ht,
|
|
27
27
|
ambitListContainer: gt,
|
|
28
28
|
newAmbitButtonContainer: Ct
|
|
29
|
-
}, bt = "_ambitItem_1qa6u_2", ft = "_ambitNameDate_1qa6u_16", yt = "_ambitName_1qa6u_16", vt = "_ambitDate_1qa6u_35", _t = "_ambitButtons_1qa6u_38",
|
|
29
|
+
}, bt = "_ambitItem_1qa6u_2", ft = "_ambitNameDate_1qa6u_16", yt = "_ambitName_1qa6u_16", vt = "_ambitDate_1qa6u_35", _t = "_ambitButtons_1qa6u_38", Y = {
|
|
30
30
|
ambitItem: bt,
|
|
31
31
|
ambitNameDate: ft,
|
|
32
32
|
ambitName: yt,
|
|
@@ -43,15 +43,15 @@ 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: m, isBeingProcessed:
|
|
47
|
-
return /* @__PURE__ */
|
|
46
|
+
const { nom: p, created_at: u, id: m, isBeingProcessed: C } = s;
|
|
47
|
+
return /* @__PURE__ */ h(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
|
-
className:
|
|
50
|
+
className: Y.ambitItem,
|
|
51
51
|
style: { borderBottom: `1px solid ${a}` },
|
|
52
52
|
children: [
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ h("div", { className: Y.ambitNameDate, onClick: () => t(m), children: [
|
|
54
|
+
/* @__PURE__ */ h("div", { className: Y.ambitName, children: [
|
|
55
55
|
/* @__PURE__ */ i(
|
|
56
56
|
"img",
|
|
57
57
|
{
|
|
@@ -61,10 +61,10 @@ const ct = "_ambitSelector_mcunf_2", dt = "_header_mcunf_13", pt = "_nameDateCon
|
|
|
61
61
|
),
|
|
62
62
|
/* @__PURE__ */ i("span", { style: { color: r ? l : a }, children: p })
|
|
63
63
|
] }),
|
|
64
|
-
/* @__PURE__ */ i("div", { className:
|
|
64
|
+
/* @__PURE__ */ i("div", { className: Y.ambitDate, children: u ? new Date(u).toLocaleDateString() : "" })
|
|
65
65
|
] }),
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
|
|
66
|
+
/* @__PURE__ */ h("div", { className: Y.ambitButtons, children: [
|
|
67
|
+
C && /* @__PURE__ */ i("img", { src: Nt }),
|
|
68
68
|
/* @__PURE__ */ i("button", { onClick: () => n(m), disabled: s.is_default, children: /* @__PURE__ */ i("img", { src: kt }) }),
|
|
69
69
|
/* @__PURE__ */ i("button", { onClick: () => d(m), children: /* @__PURE__ */ i("img", { src: wt }) }),
|
|
70
70
|
/* @__PURE__ */ i("button", { onClick: () => o(m), disabled: s.is_default, children: /* @__PURE__ */ i("img", { src: xt }) })
|
|
@@ -117,13 +117,13 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
117
117
|
buttonContainerStyles: a = {},
|
|
118
118
|
containerStyles: c = {},
|
|
119
119
|
onCLickNewAmbit: p = () => console.log("New ambit clicked"),
|
|
120
|
-
onClickCopy: u = (
|
|
121
|
-
onCLickDelete: m = (
|
|
122
|
-
onClickFilters:
|
|
123
|
-
onClickAmbit: b = (
|
|
120
|
+
onClickCopy: u = (g) => console.log(`Copy ambit: ${g}`),
|
|
121
|
+
onCLickDelete: m = (g) => console.log(`Delete ambit: ${g}`),
|
|
122
|
+
onClickFilters: C = (g) => console.log(`Filters clicked: ${g}`),
|
|
123
|
+
onClickAmbit: b = (g) => console.log(`OnCLickAmbit: ${g}`)
|
|
124
124
|
}) => {
|
|
125
|
-
const { t:
|
|
126
|
-
|
|
125
|
+
const { t: g } = k(), [f, v] = B(s);
|
|
126
|
+
D(() => {
|
|
127
127
|
s && v(s);
|
|
128
128
|
}, [s]);
|
|
129
129
|
const y = (_) => {
|
|
@@ -132,33 +132,33 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
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
|
-
className:
|
|
138
|
+
className: I.ambitSelector,
|
|
139
139
|
style: { color: o, ...c },
|
|
140
140
|
children: [
|
|
141
|
-
/* @__PURE__ */
|
|
141
|
+
/* @__PURE__ */ h(
|
|
142
142
|
"div",
|
|
143
143
|
{
|
|
144
|
-
className:
|
|
144
|
+
className: I.header,
|
|
145
145
|
style: { borderBottom: `1px solid ${o}` },
|
|
146
146
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */ i("div", { className:
|
|
149
|
-
/* @__PURE__ */ i("span", { children:
|
|
147
|
+
/* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
|
|
148
|
+
/* @__PURE__ */ i("div", { className: I.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => y("name"), children: [
|
|
149
|
+
/* @__PURE__ */ i("span", { children: g(t) }),
|
|
150
150
|
/* @__PURE__ */ i("img", { src: ve })
|
|
151
151
|
] }) }),
|
|
152
|
-
/* @__PURE__ */ i("div", { className:
|
|
153
|
-
/* @__PURE__ */ i("span", { children:
|
|
152
|
+
/* @__PURE__ */ i("div", { className: I.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => y("date"), children: [
|
|
153
|
+
/* @__PURE__ */ i("span", { children: g(r) }),
|
|
154
154
|
/* @__PURE__ */ i("img", { src: ve })
|
|
155
155
|
] }) })
|
|
156
156
|
] }),
|
|
157
|
-
/* @__PURE__ */ i("div", { className:
|
|
157
|
+
/* @__PURE__ */ i("div", { className: I.buttonsContainer })
|
|
158
158
|
]
|
|
159
159
|
}
|
|
160
160
|
),
|
|
161
|
-
/* @__PURE__ */ i("div", { className:
|
|
161
|
+
/* @__PURE__ */ i("div", { className: I.ambitListContainer, children: f && f.length > 0 && f.map((_) => /* @__PURE__ */ i(
|
|
162
162
|
Fe,
|
|
163
163
|
{
|
|
164
164
|
isActive: d == _.id,
|
|
@@ -167,18 +167,18 @@ const ve = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
167
167
|
activeColor: n,
|
|
168
168
|
onClickCopy: u,
|
|
169
169
|
onClickDelete: m,
|
|
170
|
-
onClickFilters:
|
|
170
|
+
onClickFilters: C,
|
|
171
171
|
onClickAmbit: b
|
|
172
172
|
},
|
|
173
173
|
`ambitKey${_.id}`
|
|
174
174
|
)) }),
|
|
175
|
-
/* @__PURE__ */ i("div", { className:
|
|
175
|
+
/* @__PURE__ */ i("div", { className: I.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
176
176
|
Be,
|
|
177
177
|
{
|
|
178
178
|
style: { ...a },
|
|
179
179
|
onClick: p,
|
|
180
180
|
borderColor: "grey",
|
|
181
|
-
children:
|
|
181
|
+
children: g(l)
|
|
182
182
|
}
|
|
183
183
|
) })
|
|
184
184
|
]
|
|
@@ -207,15 +207,15 @@ Bt.propTypes = {
|
|
|
207
207
|
containerStyles: e.object,
|
|
208
208
|
onCLickNewAmbit: e.func
|
|
209
209
|
};
|
|
210
|
-
const Lt = "_buttonsContainer_1audx_2", Dt = "_vertical_1audx_6", $t = "_horizontal_1audx_9", At = "_button_1audx_2", Ot = "_active_1audx_25",
|
|
210
|
+
const Lt = "_buttonsContainer_1audx_2", Dt = "_vertical_1audx_6", $t = "_horizontal_1audx_9", At = "_button_1audx_2", Ot = "_active_1audx_25", Rt = "_buttonName_1audx_28", V = {
|
|
211
211
|
buttonsContainer: Lt,
|
|
212
212
|
vertical: Dt,
|
|
213
213
|
horizontal: $t,
|
|
214
214
|
button: At,
|
|
215
215
|
active: Ot,
|
|
216
|
-
buttonName:
|
|
217
|
-
},
|
|
218
|
-
left:
|
|
216
|
+
buttonName: Rt
|
|
217
|
+
}, It = "_left_19lnt_3", Vt = "_top_19lnt_33", Pt = "_bottom_19lnt_66", zt = "_right_19lnt_97", jt = {
|
|
218
|
+
left: It,
|
|
219
219
|
top: Vt,
|
|
220
220
|
bottom: Pt,
|
|
221
221
|
right: zt
|
|
@@ -247,24 +247,24 @@ const qt = ({
|
|
|
247
247
|
icon: p,
|
|
248
248
|
activeIcon: u,
|
|
249
249
|
isActive: m,
|
|
250
|
-
name:
|
|
250
|
+
name: C,
|
|
251
251
|
onClick: b
|
|
252
|
-
} = a,
|
|
253
|
-
o && n === "left" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(
|
|
254
|
-
/* @__PURE__ */ i("img", { src: m ? u : p, alt: l(
|
|
255
|
-
o && n === "right" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(
|
|
252
|
+
} = a, g = /* @__PURE__ */ h(Ee, { children: [
|
|
253
|
+
o && n === "left" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(C) }),
|
|
254
|
+
/* @__PURE__ */ i("img", { src: m ? u : p, alt: l(C) }),
|
|
255
|
+
o && n === "right" && /* @__PURE__ */ i("span", { className: V.buttonName, children: l(C) })
|
|
256
256
|
] });
|
|
257
|
-
return /* @__PURE__ */
|
|
257
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
258
258
|
/* @__PURE__ */ i(
|
|
259
259
|
"button",
|
|
260
260
|
{
|
|
261
261
|
onClick: b,
|
|
262
262
|
className: `${V.button}
|
|
263
263
|
${m && V.active}`,
|
|
264
|
-
children:
|
|
264
|
+
children: g
|
|
265
265
|
}
|
|
266
266
|
),
|
|
267
|
-
t && /* @__PURE__ */ i(Le, { text:
|
|
267
|
+
t && /* @__PURE__ */ i(Le, { text: C, position: r })
|
|
268
268
|
] }, c);
|
|
269
269
|
})
|
|
270
270
|
}
|
|
@@ -305,7 +305,7 @@ const Et = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", se = {
|
|
|
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: se.indicatorsCategory,
|
|
@@ -318,7 +318,7 @@ const Et = "_indicatorsCategory_1cu33_2", Kt = "_title_1cu33_5", se = {
|
|
|
318
318
|
marginBottom: s ? "20px" : "0px"
|
|
319
319
|
},
|
|
320
320
|
children: [
|
|
321
|
-
/* @__PURE__ */
|
|
321
|
+
/* @__PURE__ */ h(
|
|
322
322
|
"h2",
|
|
323
323
|
{
|
|
324
324
|
style: {
|
|
@@ -349,10 +349,10 @@ q.propTypes = {
|
|
|
349
349
|
showBottomBar: e.bool,
|
|
350
350
|
titleFontStyles: e.object
|
|
351
351
|
};
|
|
352
|
-
const
|
|
352
|
+
const hs = () => /* @__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
|
-
},
|
|
355
|
+
}, M = Ze((s) => ({
|
|
356
356
|
activeCategory: "",
|
|
357
357
|
activeSubCategory: "",
|
|
358
358
|
selectedIndicator: "",
|
|
@@ -360,8 +360,8 @@ const ms = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Zt = "data
|
|
|
360
360
|
fontColor: "#605B56",
|
|
361
361
|
inputsColor: "#605B56"
|
|
362
362
|
})), De = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
363
|
-
const { t: l } = k(), { tematicalFiltersSelected: a } =
|
|
364
|
-
|
|
363
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = M((p) => p), c = (p) => {
|
|
364
|
+
M.setState((u) => ({
|
|
365
365
|
tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
|
|
366
366
|
(m) => m.code !== p
|
|
367
367
|
)
|
|
@@ -374,7 +374,7 @@ const ms = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), Zt = "data
|
|
|
374
374
|
onClick: d,
|
|
375
375
|
title: s ? l(s) : "Applied Filters",
|
|
376
376
|
activeColor: r,
|
|
377
|
-
children: /* @__PURE__ */ i("div", { className: _e.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__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
379
|
/* @__PURE__ */ i("img", { src: Zt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
|
|
380
380
|
] }, u)) })
|
|
@@ -396,7 +396,7 @@ De.propTypes = {
|
|
|
396
396
|
activeColor: e.string
|
|
397
397
|
};
|
|
398
398
|
const $e = ({ title: s, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
399
|
-
const { t: l } = k(), { tematicalFiltersSelected: a } =
|
|
399
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = M((c) => c);
|
|
400
400
|
return /* @__PURE__ */ i(
|
|
401
401
|
q,
|
|
402
402
|
{
|
|
@@ -425,8 +425,8 @@ const Gt = "_checkboxContainer_zld97_2", Yt = {
|
|
|
425
425
|
indicator: n,
|
|
426
426
|
value: t
|
|
427
427
|
}) => {
|
|
428
|
-
const { t: r } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } =
|
|
429
|
-
return /* @__PURE__ */
|
|
428
|
+
const { t: r } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = M((p) => p);
|
|
429
|
+
return /* @__PURE__ */ h(
|
|
430
430
|
"div",
|
|
431
431
|
{
|
|
432
432
|
style: { ...d, color: o },
|
|
@@ -516,8 +516,8 @@ let me = function(s) {
|
|
|
516
516
|
t.setState({ pending: !0 });
|
|
517
517
|
const c = t.getTouchPosition(a);
|
|
518
518
|
if (t.isScrolling === void 0) {
|
|
519
|
-
const m = c[0] - t.startPosition[0],
|
|
520
|
-
t.isScrolling = Math.abs(
|
|
519
|
+
const m = c[0] - t.startPosition[0], C = c[1] - t.startPosition[1];
|
|
520
|
+
t.isScrolling = Math.abs(C) > 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);
|
|
@@ -583,8 +583,8 @@ let me = function(s) {
|
|
|
583
583
|
}, 0);
|
|
584
584
|
t.pendingResizeTimeouts.push(a);
|
|
585
585
|
}, t.renderThumb = (a, c) => {
|
|
586
|
-
const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), u = { ref: (
|
|
587
|
-
t["thumb" + c] =
|
|
586
|
+
const p = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), u = { ref: (C) => {
|
|
587
|
+
t["thumb" + c] = C;
|
|
588
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
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) => {
|
|
@@ -595,7 +595,7 @@ let me = function(s) {
|
|
|
595
595
|
r.length || (r = re(n.defaultValue)), t.pendingResizeTimeouts = [];
|
|
596
596
|
const l = [];
|
|
597
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 =
|
|
598
|
+
return t.resizeObserver = null, t.resizeElementRef = H.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
599
599
|
}
|
|
600
600
|
Wt(d, s);
|
|
601
601
|
var o = d.prototype;
|
|
@@ -644,8 +644,8 @@ let me = function(s) {
|
|
|
644
644
|
}, o.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()], m = a - u,
|
|
648
|
-
this.state.upperBound === m && this.state.sliderLength ===
|
|
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, C = Math.abs(c - p);
|
|
648
|
+
this.state.upperBound === m && this.state.sliderLength === C && this.state.thumbSize === u || this.setState({ upperBound: m, sliderLength: C, thumbSize: u });
|
|
649
649
|
}, o.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;
|
|
@@ -687,22 +687,22 @@ let me = function(s) {
|
|
|
687
687
|
const { pearling: c, max: p, min: u, minDistance: m } = this.props;
|
|
688
688
|
if (!c) {
|
|
689
689
|
if (r > 0) {
|
|
690
|
-
const
|
|
691
|
-
n <
|
|
690
|
+
const C = t[r - 1];
|
|
691
|
+
n < C + m && (n = C + m);
|
|
692
692
|
}
|
|
693
693
|
if (r < l - 1) {
|
|
694
|
-
const
|
|
695
|
-
n >
|
|
694
|
+
const C = t[r + 1];
|
|
695
|
+
n > C - m && (n = C - m);
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
-
t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, m, r), function(
|
|
699
|
-
for (let v = 0; v <
|
|
700
|
-
const y = f - v *
|
|
701
|
-
b[
|
|
698
|
+
t[r] = n, c && l > 1 && (n > a ? (this.pushSucceeding(t, m, r), function(C, b, g, f) {
|
|
699
|
+
for (let v = 0; v < C; v += 1) {
|
|
700
|
+
const y = f - v * g;
|
|
701
|
+
b[C - 1 - v] > y && (b[C - 1 - v] = y);
|
|
702
702
|
}
|
|
703
|
-
}(l, t, m, p)) : n < a && (this.pushPreceding(t, m, r), function(
|
|
704
|
-
for (let v = 0; v <
|
|
705
|
-
const y = f + v *
|
|
703
|
+
}(l, t, m, p)) : n < a && (this.pushPreceding(t, m, r), function(C, b, g, f) {
|
|
704
|
+
for (let v = 0; v < C; v += 1) {
|
|
705
|
+
const y = f + v * g;
|
|
706
706
|
b[v] < y && (b[v] = y);
|
|
707
707
|
}
|
|
708
708
|
}(l, t, m, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
@@ -754,12 +754,12 @@ let me = function(s) {
|
|
|
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 H.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
|
-
me.displayName = "ReactSlider", me.defaultProps = { min: 0, max: 100, step: 1, pageFn: (s) => 10 * s, 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: (s) =>
|
|
761
|
+
}(H.Component);
|
|
762
|
+
me.displayName = "ReactSlider", me.defaultProps = { min: 0, max: 100, step: 1, pageFn: (s) => 10 * s, 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: (s) => H.createElement("div", s), renderTrack: (s) => H.createElement("div", s), renderMark: (s) => H.createElement("span", s) };
|
|
763
763
|
var Xt = me;
|
|
764
764
|
const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_12", tn = "_thumb_15vgv_18", nn = "_track_15vgv_27", sn = "_labels_15vgv_33", K = {
|
|
765
765
|
container: Jt,
|
|
@@ -781,7 +781,7 @@ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_
|
|
|
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
787
|
className: K.container,
|
|
@@ -804,7 +804,7 @@ const Jt = "_container_15vgv_2", Qt = "_unitLabel_15vgv_9", en = "_slider_15vgv_
|
|
|
804
804
|
minDistance: 1
|
|
805
805
|
}
|
|
806
806
|
),
|
|
807
|
-
/* @__PURE__ */
|
|
807
|
+
/* @__PURE__ */ h("div", { className: K.labels, children: [
|
|
808
808
|
/* @__PURE__ */ i("span", { children: a[0] }),
|
|
809
809
|
/* @__PURE__ */ i("span", { children: a[1] })
|
|
810
810
|
] })
|
|
@@ -848,66 +848,66 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
848
848
|
() => t == "abs" || o == "abs",
|
|
849
849
|
[o, t]
|
|
850
850
|
), {
|
|
851
|
-
tematicalFiltersSelected:
|
|
851
|
+
tematicalFiltersSelected: C,
|
|
852
852
|
selectedIndicator: b,
|
|
853
|
-
fontColor:
|
|
853
|
+
fontColor: g,
|
|
854
854
|
inputsColor: f
|
|
855
|
-
} =
|
|
855
|
+
} = M((_) => _), v = (_) => {
|
|
856
856
|
if (_) {
|
|
857
|
-
const { min: w, max: x, valueClicked: N, allValues:
|
|
857
|
+
const { min: w, max: x, valueClicked: N, allValues: T } = _ || {}, { code: A, type: ne } = s || {}, G = m ? "abs" : u ? "cat" : "both";
|
|
858
858
|
let O = A[0];
|
|
859
|
-
ne == "both" && (O =
|
|
860
|
-
let
|
|
861
|
-
(
|
|
859
|
+
ne == "both" && (O = G == "cat" ? A[1] : A[0]), G == "cat" ? M.setState((E) => {
|
|
860
|
+
let R = E.tematicalFiltersSelected.find(
|
|
861
|
+
(L) => L.code === O
|
|
862
862
|
);
|
|
863
|
-
if (
|
|
864
|
-
let
|
|
865
|
-
if (
|
|
866
|
-
if (
|
|
867
|
-
(
|
|
868
|
-
),
|
|
863
|
+
if (R) {
|
|
864
|
+
let L = [R.values];
|
|
865
|
+
if (R.values.includes(N)) {
|
|
866
|
+
if (L = R.values.filter(
|
|
867
|
+
($) => $ !== N
|
|
868
|
+
), L.length < 1)
|
|
869
869
|
return {
|
|
870
870
|
tematicalFiltersSelected: E.tematicalFiltersSelected.filter(
|
|
871
|
-
(
|
|
871
|
+
($) => $.code !== O
|
|
872
872
|
)
|
|
873
873
|
};
|
|
874
874
|
} else
|
|
875
|
-
|
|
875
|
+
L = [...R.values, N];
|
|
876
876
|
return {
|
|
877
877
|
tematicalFiltersSelected: E.tematicalFiltersSelected.map(
|
|
878
|
-
(
|
|
878
|
+
($) => $.code === O ? { ...$, values: L } : $
|
|
879
879
|
)
|
|
880
880
|
};
|
|
881
881
|
} else {
|
|
882
|
-
console.log("entra aqui: ",
|
|
883
|
-
let
|
|
882
|
+
console.log("entra aqui: ", T, " ", N);
|
|
883
|
+
let L = T.map(($, qe) => qe);
|
|
884
884
|
return {
|
|
885
885
|
tematicalFiltersSelected: [
|
|
886
|
-
...
|
|
886
|
+
...C,
|
|
887
887
|
{
|
|
888
888
|
type: "cat",
|
|
889
889
|
code: O,
|
|
890
|
-
values:
|
|
890
|
+
values: L.filter(($) => $ !== N),
|
|
891
891
|
name: s.name
|
|
892
892
|
}
|
|
893
893
|
]
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
|
-
}) :
|
|
897
|
-
let
|
|
898
|
-
(
|
|
896
|
+
}) : G == "abs" && M.setState((E) => {
|
|
897
|
+
let R = E.tematicalFiltersSelected.find(
|
|
898
|
+
(L) => L.code === O
|
|
899
899
|
);
|
|
900
|
-
if (
|
|
901
|
-
let
|
|
902
|
-
return
|
|
900
|
+
if (R) {
|
|
901
|
+
let L = { ...R };
|
|
902
|
+
return L.min = w, L.max = x, {
|
|
903
903
|
tematicalFiltersSelected: E.tematicalFiltersSelected.map(
|
|
904
|
-
(
|
|
904
|
+
($) => $.code === O ? L : $
|
|
905
905
|
)
|
|
906
906
|
};
|
|
907
907
|
} else
|
|
908
908
|
return {
|
|
909
909
|
tematicalFiltersSelected: [
|
|
910
|
-
...
|
|
910
|
+
...C,
|
|
911
911
|
{ type: "abs", code: O, min: w, max: x }
|
|
912
912
|
]
|
|
913
913
|
};
|
|
@@ -915,34 +915,34 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
915
915
|
}
|
|
916
916
|
}, y = te(() => {
|
|
917
917
|
const _ = {};
|
|
918
|
-
if ((
|
|
919
|
-
for (const w of
|
|
918
|
+
if ((C == null ? void 0 : C.length) > 0)
|
|
919
|
+
for (const w of C)
|
|
920
920
|
w.type === "cat" ? _[w.code] = new Set(w.values) : _[w.code] = [w.min, w.max];
|
|
921
921
|
return _;
|
|
922
|
-
}, [
|
|
923
|
-
return /* @__PURE__ */ i("div", { className: Q.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
922
|
+
}, [C]);
|
|
923
|
+
return /* @__PURE__ */ i("div", { className: Q.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
924
924
|
q,
|
|
925
925
|
{
|
|
926
926
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
927
927
|
title: r,
|
|
928
928
|
isOpen: b == `id${r}`,
|
|
929
|
-
onClick: () =>
|
|
929
|
+
onClick: () => M.setState(() => ({
|
|
930
930
|
selectedIndicator: b == `id${r}` ? "" : `id${r}`
|
|
931
931
|
})),
|
|
932
932
|
showBottomBar: !1,
|
|
933
933
|
height: 38,
|
|
934
934
|
titleMarginChildren: 14,
|
|
935
935
|
className: "tematicalFiltersInputContainer",
|
|
936
|
-
color:
|
|
936
|
+
color: g,
|
|
937
937
|
activeColor: d,
|
|
938
938
|
children: [
|
|
939
|
-
t == "both" && /* @__PURE__ */
|
|
939
|
+
t == "both" && /* @__PURE__ */ h(
|
|
940
940
|
"div",
|
|
941
941
|
{
|
|
942
942
|
className: Q.inputTypeContainer,
|
|
943
|
-
style: { color:
|
|
943
|
+
style: { color: g },
|
|
944
944
|
children: [
|
|
945
|
-
/* @__PURE__ */
|
|
945
|
+
/* @__PURE__ */ h("label", { children: [
|
|
946
946
|
/* @__PURE__ */ i(
|
|
947
947
|
"input",
|
|
948
948
|
{
|
|
@@ -955,13 +955,13 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
955
955
|
style: {
|
|
956
956
|
marginRight: 4,
|
|
957
957
|
backgroundColor: o == "abs" ? f : "white",
|
|
958
|
-
border: `1.5px solid ${o == "abs" ? f :
|
|
958
|
+
border: `1.5px solid ${o == "abs" ? f : g}`
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
961
|
),
|
|
962
962
|
"Absoluto"
|
|
963
963
|
] }),
|
|
964
|
-
/* @__PURE__ */
|
|
964
|
+
/* @__PURE__ */ h("label", { children: [
|
|
965
965
|
/* @__PURE__ */ i(
|
|
966
966
|
"input",
|
|
967
967
|
{
|
|
@@ -974,7 +974,7 @@ const on = "_tematicalFiltersInputContainer_1vm1r_2", rn = "_inputTypeContainer_
|
|
|
974
974
|
style: {
|
|
975
975
|
marginRight: 4,
|
|
976
976
|
backgroundColor: o == "cat" ? f : "white",
|
|
977
|
-
border: `1.5px solid ${o == "cat" ? f :
|
|
977
|
+
border: `1.5px solid ${o == "cat" ? f : g}`
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
),
|
|
@@ -1024,20 +1024,20 @@ be.propTypes = {
|
|
|
1024
1024
|
activeColor: e.string
|
|
1025
1025
|
//onChangeBothType: PropTypes.func,
|
|
1026
1026
|
};
|
|
1027
|
-
const
|
|
1027
|
+
const Re = ({
|
|
1028
1028
|
subcategory: s,
|
|
1029
1029
|
fontColor: d,
|
|
1030
1030
|
activeColor: o
|
|
1031
1031
|
//onChangeBothType,
|
|
1032
1032
|
}) => {
|
|
1033
|
-
const { activeSubcategory: n } =
|
|
1033
|
+
const { activeSubcategory: n } = M((l) => l), { name: t, indicators: r } = s || {};
|
|
1034
1034
|
return /* @__PURE__ */ i(
|
|
1035
1035
|
q,
|
|
1036
1036
|
{
|
|
1037
1037
|
title: t,
|
|
1038
1038
|
isOpen: n == `id${t}`,
|
|
1039
1039
|
onClick: () => {
|
|
1040
|
-
|
|
1040
|
+
M.setState((l) => ({
|
|
1041
1041
|
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1042
1042
|
}));
|
|
1043
1043
|
},
|
|
@@ -1059,7 +1059,7 @@ const Ie = ({
|
|
|
1059
1059
|
}
|
|
1060
1060
|
);
|
|
1061
1061
|
};
|
|
1062
|
-
|
|
1062
|
+
Re.propTypes = {
|
|
1063
1063
|
subcategory: e.shape({
|
|
1064
1064
|
name: e.string,
|
|
1065
1065
|
indicators: e.arrayOf(
|
|
@@ -1072,17 +1072,17 @@ Ie.propTypes = {
|
|
|
1072
1072
|
activeColor: e.string
|
|
1073
1073
|
//onChangeBothType: PropTypes.func,
|
|
1074
1074
|
};
|
|
1075
|
-
const
|
|
1075
|
+
const Ie = ({
|
|
1076
1076
|
category: s,
|
|
1077
1077
|
// onChangeBothType,
|
|
1078
1078
|
activeColor: d
|
|
1079
1079
|
}) => {
|
|
1080
|
-
const { name: o, subcategories: n, indicators: t } = s || {}, { activeCategory: r, fontColor: l } =
|
|
1080
|
+
const { name: o, subcategories: n, indicators: t } = s || {}, { activeCategory: r, fontColor: l } = M((a) => a);
|
|
1081
1081
|
return s && /* @__PURE__ */ i(
|
|
1082
1082
|
q,
|
|
1083
1083
|
{
|
|
1084
1084
|
onClick: () => {
|
|
1085
|
-
|
|
1085
|
+
M.setState((a) => ({
|
|
1086
1086
|
activeCategory: r === `id${o}` ? "" : `id${o}`
|
|
1087
1087
|
}));
|
|
1088
1088
|
},
|
|
@@ -1093,7 +1093,7 @@ const Re = ({
|
|
|
1093
1093
|
color: l,
|
|
1094
1094
|
activeColor: d,
|
|
1095
1095
|
children: n ? n.map((a, c) => /* @__PURE__ */ i(
|
|
1096
|
-
|
|
1096
|
+
Re,
|
|
1097
1097
|
{
|
|
1098
1098
|
subcategory: a,
|
|
1099
1099
|
fontColor: l,
|
|
@@ -1112,7 +1112,7 @@ const Re = ({
|
|
|
1112
1112
|
}
|
|
1113
1113
|
);
|
|
1114
1114
|
};
|
|
1115
|
-
|
|
1115
|
+
Ie.propTypes = {
|
|
1116
1116
|
category: e.shape({
|
|
1117
1117
|
name: e.string.isRequired,
|
|
1118
1118
|
subcategories: e.array,
|
|
@@ -1130,11 +1130,11 @@ const Ve = ({
|
|
|
1130
1130
|
inputsColor: t = "#605B56",
|
|
1131
1131
|
activeColor: r
|
|
1132
1132
|
}) => {
|
|
1133
|
-
const { tematicalFiltersSelected: l } =
|
|
1134
|
-
return
|
|
1135
|
-
n &&
|
|
1136
|
-
}, [n]),
|
|
1137
|
-
t &&
|
|
1133
|
+
const { tematicalFiltersSelected: l } = M((c) => c), { t: a } = k();
|
|
1134
|
+
return D(() => {
|
|
1135
|
+
n && M.setState(() => ({ fontColor: n }));
|
|
1136
|
+
}, [n]), D(() => {
|
|
1137
|
+
t && M.setState(() => ({ inputsColor: t }));
|
|
1138
1138
|
}, [t]), /* @__PURE__ */ i(
|
|
1139
1139
|
q,
|
|
1140
1140
|
{
|
|
@@ -1143,7 +1143,7 @@ const Ve = ({
|
|
|
1143
1143
|
color: n,
|
|
1144
1144
|
activeColor: r,
|
|
1145
1145
|
children: s == null ? void 0 : s.map((c, p) => /* @__PURE__ */ i(
|
|
1146
|
-
|
|
1146
|
+
Ie,
|
|
1147
1147
|
{
|
|
1148
1148
|
category: c,
|
|
1149
1149
|
fontColor: n,
|
|
@@ -1163,13 +1163,14 @@ Ve.propTypes = {
|
|
|
1163
1163
|
inputsColor: e.string,
|
|
1164
1164
|
activeColor: e.string
|
|
1165
1165
|
};
|
|
1166
|
-
const cn = "
|
|
1166
|
+
const cn = "_FiltersAmbitContainer_1g9xx_2", dn = "_FiltersAmbitHeader_1g9xx_7", pn = "_FiltersAmbitTitle_1g9xx_15", un = "_FiltersAmbitDescription_1g9xx_22", mn = "_FiltersAmbitDescriptionTitle_1g9xx_33", hn = "_warning_1g9xx_37", Z = {
|
|
1167
1167
|
FiltersAmbitContainer: cn,
|
|
1168
1168
|
FiltersAmbitHeader: dn,
|
|
1169
1169
|
FiltersAmbitTitle: pn,
|
|
1170
1170
|
FiltersAmbitDescription: un,
|
|
1171
|
-
FiltersAmbitDescriptionTitle: mn
|
|
1172
|
-
|
|
1171
|
+
FiltersAmbitDescriptionTitle: mn,
|
|
1172
|
+
warning: hn
|
|
1173
|
+
}, gn = ({
|
|
1173
1174
|
ambitName: s,
|
|
1174
1175
|
ambitDescription: d,
|
|
1175
1176
|
defaultFilters: o,
|
|
@@ -1181,39 +1182,46 @@ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7",
|
|
|
1181
1182
|
saveAmbit: c,
|
|
1182
1183
|
namePlaceholder: p,
|
|
1183
1184
|
descPlaceholder: u,
|
|
1184
|
-
filtersTypes: m
|
|
1185
|
+
filtersTypes: m,
|
|
1186
|
+
nameRequiredText: C
|
|
1185
1187
|
}) => {
|
|
1186
|
-
const { t:
|
|
1187
|
-
|
|
1188
|
-
o && o.length > 0 &&
|
|
1188
|
+
const { t: b } = k(), { tematicalFiltersSelected: g } = M((T) => T), [f, v] = B(s || null), [y, _] = B(d || null), [w, x] = B(!1);
|
|
1189
|
+
D(() => {
|
|
1190
|
+
o && o.length > 0 && M.setState((T) => ({
|
|
1189
1191
|
tematicalFiltersSelected: o
|
|
1190
1192
|
}));
|
|
1191
|
-
}, [o]),
|
|
1192
|
-
console.log("filtersSelected changed: ",
|
|
1193
|
-
}, [
|
|
1194
|
-
|
|
1195
|
-
|
|
1193
|
+
}, [o]), D(() => {
|
|
1194
|
+
console.log("filtersSelected changed: ", g), a(g);
|
|
1195
|
+
}, [g]);
|
|
1196
|
+
const N = () => {
|
|
1197
|
+
console.log("entra"), f ? c({ name: f, description: y }) : (console.log("ei"), x(!0));
|
|
1198
|
+
};
|
|
1199
|
+
return /* @__PURE__ */ h("div", { className: Z.FiltersAmbitContainer, children: [
|
|
1200
|
+
/* @__PURE__ */ h("div", { className: Z.FiltersAmbitHeader, children: [
|
|
1201
|
+
/* @__PURE__ */ i("div", { className: Z.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1196
1202
|
"input",
|
|
1197
1203
|
{
|
|
1198
1204
|
type: "text",
|
|
1199
|
-
onChange: (
|
|
1200
|
-
|
|
1201
|
-
|
|
1205
|
+
onChange: (T) => {
|
|
1206
|
+
x(!1), v(T.target.value);
|
|
1207
|
+
},
|
|
1208
|
+
value: f,
|
|
1209
|
+
placeholder: b(p)
|
|
1202
1210
|
}
|
|
1203
1211
|
) }),
|
|
1204
|
-
/* @__PURE__ */ i("div", { className:
|
|
1212
|
+
/* @__PURE__ */ i("div", { className: Z.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: Z.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1205
1213
|
"textarea",
|
|
1206
1214
|
{
|
|
1207
|
-
value:
|
|
1208
|
-
onChange: (
|
|
1209
|
-
placeholder:
|
|
1215
|
+
value: y,
|
|
1216
|
+
onChange: (T) => _(T.target.value),
|
|
1217
|
+
placeholder: b(u)
|
|
1210
1218
|
}
|
|
1211
1219
|
) }) })
|
|
1212
1220
|
] }),
|
|
1213
1221
|
/* @__PURE__ */ i(
|
|
1214
1222
|
De,
|
|
1215
1223
|
{
|
|
1216
|
-
title:
|
|
1224
|
+
title: b("applied_filters"),
|
|
1217
1225
|
isOpen: !0,
|
|
1218
1226
|
textColor: r || "#fff",
|
|
1219
1227
|
backgroundColor: l || "#605B5680",
|
|
@@ -1231,10 +1239,11 @@ const cn = "_FiltersAmbitContainer_6o4gt_2", dn = "_FiltersAmbitHeader_6o4gt_7",
|
|
|
1231
1239
|
activeColor: t
|
|
1232
1240
|
}
|
|
1233
1241
|
),
|
|
1234
|
-
/* @__PURE__ */ i("div", { className:
|
|
1242
|
+
w && /* @__PURE__ */ i("div", { className: Z.warning, children: b(C) }),
|
|
1243
|
+
/* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Be, { onClick: () => N(), children: b("save_ambit") }) })
|
|
1235
1244
|
] });
|
|
1236
1245
|
};
|
|
1237
|
-
|
|
1246
|
+
gn.propTypes = {
|
|
1238
1247
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1239
1248
|
ambitName: e.string,
|
|
1240
1249
|
ambitDescription: e.string,
|
|
@@ -1246,10 +1255,11 @@ hn.propTypes = {
|
|
|
1246
1255
|
saveAmbit: e.func,
|
|
1247
1256
|
namePlaceholder: e.string,
|
|
1248
1257
|
descPlaceholder: e.string,
|
|
1249
|
-
filtersTypes: e.arrayOf(e.string).isRequired
|
|
1258
|
+
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1259
|
+
nameRequiredText: e.string
|
|
1250
1260
|
};
|
|
1251
|
-
const
|
|
1252
|
-
barChartContainer:
|
|
1261
|
+
const Cn = "_barChartContainer_d2f1z_2", bn = {
|
|
1262
|
+
barChartContainer: Cn
|
|
1253
1263
|
}, Pe = ({
|
|
1254
1264
|
data: s,
|
|
1255
1265
|
width: d = 700,
|
|
@@ -1262,13 +1272,13 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1262
1272
|
numberOfDivisions: c = 7,
|
|
1263
1273
|
maxValue: p = null
|
|
1264
1274
|
}) => {
|
|
1265
|
-
const { t: u } = k(), { xScale: m, ticks:
|
|
1275
|
+
const { t: u } = k(), { xScale: m, ticks: C, height: b } = te(() => {
|
|
1266
1276
|
if (s && s.length > 0) {
|
|
1267
|
-
const
|
|
1277
|
+
const g = (s == null ? void 0 : s.length) * (o + n) + r * 2, f = ye.max(s, (_) => _.value) || 1, v = ye.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (_, w) => p ? p / c * w : f / c * w);
|
|
1268
1278
|
return {
|
|
1269
1279
|
xScale: v,
|
|
1270
1280
|
ticks: y,
|
|
1271
|
-
height:
|
|
1281
|
+
height: g,
|
|
1272
1282
|
width: d,
|
|
1273
1283
|
verticalPaddign: r,
|
|
1274
1284
|
horizontalPaddign: l
|
|
@@ -1285,10 +1295,10 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1285
1295
|
r,
|
|
1286
1296
|
p
|
|
1287
1297
|
]);
|
|
1288
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1289
|
-
/* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children:
|
|
1290
|
-
const v = m(
|
|
1291
|
-
return /* @__PURE__ */
|
|
1298
|
+
return /* @__PURE__ */ i("div", { className: bn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + l * 2, height: b, children: /* @__PURE__ */ h("g", { transform: `translate(0,${n})`, children: [
|
|
1299
|
+
/* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children: C.map((g, f) => {
|
|
1300
|
+
const v = m(g);
|
|
1301
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${v}, 0)`, children: [
|
|
1292
1302
|
/* @__PURE__ */ i(
|
|
1293
1303
|
"line",
|
|
1294
1304
|
{
|
|
@@ -1304,14 +1314,14 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1304
1314
|
textAnchor: "middle",
|
|
1305
1315
|
fontSize: 10,
|
|
1306
1316
|
fill: t,
|
|
1307
|
-
children: parseInt(
|
|
1317
|
+
children: parseInt(g)
|
|
1308
1318
|
}
|
|
1309
1319
|
)
|
|
1310
1320
|
] }, f);
|
|
1311
1321
|
}) }),
|
|
1312
|
-
s && s.length > 0 && (s == null ? void 0 : s.map((
|
|
1313
|
-
const v = m(
|
|
1314
|
-
return /* @__PURE__ */
|
|
1322
|
+
s && s.length > 0 && (s == null ? void 0 : s.map((g, f) => {
|
|
1323
|
+
const v = m(g.value), y = f * (o + n);
|
|
1324
|
+
return /* @__PURE__ */ h(
|
|
1315
1325
|
"g",
|
|
1316
1326
|
{
|
|
1317
1327
|
transform: `translate(${a + l}, ${y})`,
|
|
@@ -1323,7 +1333,7 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1323
1333
|
y: o / 2 + 5,
|
|
1324
1334
|
textAnchor: "end",
|
|
1325
1335
|
fill: t,
|
|
1326
|
-
children: u(
|
|
1336
|
+
children: u(g.title)
|
|
1327
1337
|
}
|
|
1328
1338
|
),
|
|
1329
1339
|
/* @__PURE__ */ i(
|
|
@@ -1331,7 +1341,7 @@ const gn = "_barChartContainer_d2f1z_2", Cn = {
|
|
|
1331
1341
|
{
|
|
1332
1342
|
width: v,
|
|
1333
1343
|
height: o,
|
|
1334
|
-
fill:
|
|
1344
|
+
fill: g.color,
|
|
1335
1345
|
rx: 0
|
|
1336
1346
|
}
|
|
1337
1347
|
)
|
|
@@ -1358,10 +1368,10 @@ Pe.propTypes = {
|
|
|
1358
1368
|
numberOfDivisions: e.number,
|
|
1359
1369
|
fontColor: e.string
|
|
1360
1370
|
};
|
|
1361
|
-
const
|
|
1362
|
-
graphicContainer:
|
|
1363
|
-
titleContainer:
|
|
1364
|
-
},
|
|
1371
|
+
const fn = "_graphicContainer_c9zrg_2", yn = "_titleContainer_c9zrg_14", xe = {
|
|
1372
|
+
graphicContainer: fn,
|
|
1373
|
+
titleContainer: yn
|
|
1374
|
+
}, vn = ({
|
|
1365
1375
|
data: s,
|
|
1366
1376
|
graphWidth: d = 700,
|
|
1367
1377
|
containerStyle: o,
|
|
@@ -1373,7 +1383,7 @@ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
|
|
|
1373
1383
|
leftPadding: c = 200
|
|
1374
1384
|
}) => {
|
|
1375
1385
|
const { t: p } = k();
|
|
1376
|
-
return /* @__PURE__ */
|
|
1386
|
+
return /* @__PURE__ */ h(
|
|
1377
1387
|
"div",
|
|
1378
1388
|
{
|
|
1379
1389
|
className: xe.graphicContainer,
|
|
@@ -1398,7 +1408,7 @@ const bn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", xe = {
|
|
|
1398
1408
|
}
|
|
1399
1409
|
);
|
|
1400
1410
|
};
|
|
1401
|
-
|
|
1411
|
+
vn.propTypes = {
|
|
1402
1412
|
data: e.arrayOf(
|
|
1403
1413
|
e.shape({
|
|
1404
1414
|
color: e.string.isRequired,
|
|
@@ -1415,21 +1425,21 @@ yn.propTypes = {
|
|
|
1415
1425
|
numberOfDivisions: e.number,
|
|
1416
1426
|
leftPadding: e.number
|
|
1417
1427
|
};
|
|
1418
|
-
const
|
|
1419
|
-
indicatorsCategory:
|
|
1420
|
-
title:
|
|
1421
|
-
list:
|
|
1422
|
-
},
|
|
1423
|
-
indicatorContainer:
|
|
1424
|
-
indicatorNameContainer:
|
|
1425
|
-
dot:
|
|
1426
|
-
indicatorName:
|
|
1427
|
-
switchExternalContainer:
|
|
1428
|
-
switchType:
|
|
1429
|
-
switchTypeOptions:
|
|
1430
|
-
optionContainer:
|
|
1431
|
-
customRadious:
|
|
1432
|
-
optionText:
|
|
1428
|
+
const _n = "_indicatorsCategory_1cu33_2", xn = "_title_1cu33_5", wn = "_list_1cu33_11", ae = {
|
|
1429
|
+
indicatorsCategory: _n,
|
|
1430
|
+
title: xn,
|
|
1431
|
+
list: wn
|
|
1432
|
+
}, kn = "_indicatorContainer_lw8gx_2", Nn = "_indicatorNameContainer_lw8gx_11", Sn = "_dot_lw8gx_20", Tn = "_indicatorName_lw8gx_11", Mn = "_switchExternalContainer_lw8gx_31", Fn = "_switchType_lw8gx_40", Bn = "_switchTypeOptions_lw8gx_44", Ln = "_optionContainer_lw8gx_55", Dn = "_customRadious_lw8gx_65", $n = "_optionText_lw8gx_72", S = {
|
|
1433
|
+
indicatorContainer: kn,
|
|
1434
|
+
indicatorNameContainer: Nn,
|
|
1435
|
+
dot: Sn,
|
|
1436
|
+
indicatorName: Tn,
|
|
1437
|
+
switchExternalContainer: Mn,
|
|
1438
|
+
switchType: Fn,
|
|
1439
|
+
switchTypeOptions: Bn,
|
|
1440
|
+
optionContainer: Ln,
|
|
1441
|
+
customRadious: Dn,
|
|
1442
|
+
optionText: $n
|
|
1433
1443
|
}, fe = ({
|
|
1434
1444
|
indicator: s,
|
|
1435
1445
|
values: d = [],
|
|
@@ -1441,16 +1451,16 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1441
1451
|
multiple: a = !1,
|
|
1442
1452
|
onChangeType: c
|
|
1443
1453
|
}) => {
|
|
1444
|
-
const { t: p } = k(), { name: u, type: m } = s, [
|
|
1445
|
-
|
|
1454
|
+
const { t: p } = k(), { name: u, type: m } = s, [C, b] = B(!1);
|
|
1455
|
+
D(() => {
|
|
1446
1456
|
t && b(
|
|
1447
1457
|
a ? t.some(
|
|
1448
1458
|
(v) => v.name == String(u)
|
|
1449
1459
|
) : t.name == u
|
|
1450
1460
|
);
|
|
1451
1461
|
}, [t]);
|
|
1452
|
-
const
|
|
1453
|
-
/* @__PURE__ */
|
|
1462
|
+
const g = () => /* @__PURE__ */ i("div", { className: S.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: S.switchType, children: /* @__PURE__ */ h("div", { className: S.switchTypeOptions, children: [
|
|
1463
|
+
/* @__PURE__ */ h(
|
|
1454
1464
|
"div",
|
|
1455
1465
|
{
|
|
1456
1466
|
className: S.optionContainer,
|
|
@@ -1479,7 +1489,7 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1479
1489
|
]
|
|
1480
1490
|
}
|
|
1481
1491
|
),
|
|
1482
|
-
/* @__PURE__ */
|
|
1492
|
+
/* @__PURE__ */ h(
|
|
1483
1493
|
"div",
|
|
1484
1494
|
{
|
|
1485
1495
|
className: S.optionContainer,
|
|
@@ -1508,7 +1518,7 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1508
1518
|
]
|
|
1509
1519
|
}
|
|
1510
1520
|
)
|
|
1511
|
-
] }) }) }), f = () => /* @__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__ */
|
|
1521
|
+
] }) }) }), f = () => /* @__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(
|
|
1512
1522
|
"div",
|
|
1513
1523
|
{
|
|
1514
1524
|
className: S.optionContainer,
|
|
@@ -1524,8 +1534,8 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1524
1534
|
},
|
|
1525
1535
|
y
|
|
1526
1536
|
)) }) }) });
|
|
1527
|
-
return /* @__PURE__ */
|
|
1528
|
-
/* @__PURE__ */
|
|
1537
|
+
return /* @__PURE__ */ h("div", { className: S.indicatorContainer, children: [
|
|
1538
|
+
/* @__PURE__ */ h(
|
|
1529
1539
|
"div",
|
|
1530
1540
|
{
|
|
1531
1541
|
className: S.indicatorNameContainer,
|
|
@@ -1535,7 +1545,7 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1535
1545
|
"div",
|
|
1536
1546
|
{
|
|
1537
1547
|
style: {
|
|
1538
|
-
border:
|
|
1548
|
+
border: C ? `1px solid ${o}` : `1px solid ${n}`
|
|
1539
1549
|
},
|
|
1540
1550
|
className: S.dot
|
|
1541
1551
|
}
|
|
@@ -1544,14 +1554,14 @@ const vn = "_indicatorsCategory_1cu33_2", _n = "_title_1cu33_5", xn = "_list_1cu
|
|
|
1544
1554
|
"h4",
|
|
1545
1555
|
{
|
|
1546
1556
|
className: S.indicatorName,
|
|
1547
|
-
style: { color:
|
|
1557
|
+
style: { color: C ? o : n },
|
|
1548
1558
|
children: /* @__PURE__ */ i(ge, { i18nKey: u, components: { sup: /* @__PURE__ */ i("sup", {}) } })
|
|
1549
1559
|
}
|
|
1550
1560
|
)
|
|
1551
1561
|
]
|
|
1552
1562
|
}
|
|
1553
1563
|
),
|
|
1554
|
-
(t == null ? void 0 : t.name) === u && m === "both" && /* @__PURE__ */ i("div", { children:
|
|
1564
|
+
(t == null ? void 0 : t.name) === u && m === "both" && /* @__PURE__ */ i("div", { children: g() }),
|
|
1555
1565
|
(t == null ? void 0 : t.name) === u && m === "twoUnits" && /* @__PURE__ */ i("div", { children: f() })
|
|
1556
1566
|
] });
|
|
1557
1567
|
};
|
|
@@ -1567,9 +1577,9 @@ fe.propTypes = {
|
|
|
1567
1577
|
multiple: e.bool,
|
|
1568
1578
|
onClickIndicator: e.func
|
|
1569
1579
|
};
|
|
1570
|
-
const
|
|
1571
|
-
indicatorsSubCategory:
|
|
1572
|
-
list:
|
|
1580
|
+
const An = "_indicatorsSubCategory_1dzsi_2", On = "_list_1dzsi_8", we = {
|
|
1581
|
+
indicatorsSubCategory: An,
|
|
1582
|
+
list: On
|
|
1573
1583
|
}, ze = ({
|
|
1574
1584
|
subcName: s,
|
|
1575
1585
|
indicators: d,
|
|
@@ -1584,10 +1594,10 @@ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
|
|
|
1584
1594
|
activeIndicatorType: u,
|
|
1585
1595
|
onChangeType: m
|
|
1586
1596
|
}) => {
|
|
1587
|
-
const { t:
|
|
1588
|
-
return
|
|
1589
|
-
|
|
1590
|
-
}, [t, l]), /* @__PURE__ */
|
|
1597
|
+
const { t: C } = k(), [b, g] = B(!1);
|
|
1598
|
+
return D(() => {
|
|
1599
|
+
g(t == l);
|
|
1600
|
+
}, [t, l]), /* @__PURE__ */ h(
|
|
1591
1601
|
Ce.div,
|
|
1592
1602
|
{
|
|
1593
1603
|
className: we.indicatorsSubCategory,
|
|
@@ -1595,13 +1605,13 @@ const $n = "_indicatorsSubCategory_1dzsi_2", An = "_list_1dzsi_8", we = {
|
|
|
1595
1605
|
animate: { height: b ? "auto" : "43px" },
|
|
1596
1606
|
transition: { duration: 0.4 },
|
|
1597
1607
|
children: [
|
|
1598
|
-
/* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */
|
|
1608
|
+
/* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: b ? n : o }, children: [
|
|
1599
1609
|
/* @__PURE__ */ i("span", { style: { color: b ? n : o }, children: b ? "-" : "+" }),
|
|
1600
1610
|
/* @__PURE__ */ i(
|
|
1601
1611
|
"span",
|
|
1602
1612
|
{
|
|
1603
1613
|
style: { marginLeft: 12, color: b ? n : o },
|
|
1604
|
-
children:
|
|
1614
|
+
children: C(s)
|
|
1605
1615
|
}
|
|
1606
1616
|
)
|
|
1607
1617
|
] }) }),
|
|
@@ -1648,31 +1658,31 @@ const je = ({
|
|
|
1648
1658
|
onClickIndicator: p,
|
|
1649
1659
|
multiple: u,
|
|
1650
1660
|
activeIndicatorType: m,
|
|
1651
|
-
onChangeType:
|
|
1661
|
+
onChangeType: C
|
|
1652
1662
|
}) => {
|
|
1653
1663
|
var v;
|
|
1654
|
-
const { t: b } = k(), [
|
|
1655
|
-
return
|
|
1664
|
+
const { t: b } = k(), [g, f] = B(!1);
|
|
1665
|
+
return D(() => {
|
|
1656
1666
|
f(r === d);
|
|
1657
|
-
}, [r, d]), /* @__PURE__ */
|
|
1667
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1658
1668
|
Ce.div,
|
|
1659
1669
|
{
|
|
1660
1670
|
className: ae.indicatorsCategory,
|
|
1661
1671
|
initial: { height: "53px" },
|
|
1662
|
-
animate: { height:
|
|
1672
|
+
animate: { height: g ? "auto" : "53px" },
|
|
1663
1673
|
transition: { duration: 0.4 },
|
|
1664
1674
|
style: {
|
|
1665
1675
|
backgroundColor: "white",
|
|
1666
|
-
borderBottom:
|
|
1667
|
-
marginBottom:
|
|
1676
|
+
borderBottom: g ? `1px solid ${o}` : "0px",
|
|
1677
|
+
marginBottom: g ? "20px" : "0px"
|
|
1668
1678
|
},
|
|
1669
1679
|
children: [
|
|
1670
|
-
/* @__PURE__ */
|
|
1671
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1680
|
+
/* @__PURE__ */ h("h2", { className: `${ae.title}`, onClick: () => t(d), children: [
|
|
1681
|
+
/* @__PURE__ */ i("span", { style: { color: g ? o : n }, children: g ? "-" : "+" }),
|
|
1672
1682
|
/* @__PURE__ */ i(
|
|
1673
1683
|
"span",
|
|
1674
1684
|
{
|
|
1675
|
-
style: { marginLeft: 12, color:
|
|
1685
|
+
style: { marginLeft: 12, color: g ? o : n },
|
|
1676
1686
|
children: b(s.name)
|
|
1677
1687
|
}
|
|
1678
1688
|
)
|
|
@@ -1692,7 +1702,7 @@ const je = ({
|
|
|
1692
1702
|
defaultColor: n,
|
|
1693
1703
|
indicators: w,
|
|
1694
1704
|
activeIndicatorType: m,
|
|
1695
|
-
onChangeType:
|
|
1705
|
+
onChangeType: C
|
|
1696
1706
|
},
|
|
1697
1707
|
`subcKey ${x}`
|
|
1698
1708
|
)
|
|
@@ -1707,7 +1717,7 @@ const je = ({
|
|
|
1707
1717
|
onClickIndicator: p,
|
|
1708
1718
|
multiple: u,
|
|
1709
1719
|
activeIndicatorType: m,
|
|
1710
|
-
onChangeType:
|
|
1720
|
+
onChangeType: C
|
|
1711
1721
|
},
|
|
1712
1722
|
`indicator${_}`
|
|
1713
1723
|
)) })
|
|
@@ -1729,10 +1739,10 @@ je.propTypes = {
|
|
|
1729
1739
|
activeColor: e.string,
|
|
1730
1740
|
defaultColor: e.string
|
|
1731
1741
|
};
|
|
1732
|
-
const
|
|
1733
|
-
indicatorsList:
|
|
1742
|
+
const Rn = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
1743
|
+
indicatorsList: Rn,
|
|
1734
1744
|
title: In
|
|
1735
|
-
},
|
|
1745
|
+
}, Vn = ({
|
|
1736
1746
|
indicators: s,
|
|
1737
1747
|
activeColor: d,
|
|
1738
1748
|
defaultColor: o = "#92898A",
|
|
@@ -1746,52 +1756,52 @@ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
|
1746
1756
|
changeIndType: l,
|
|
1747
1757
|
activeIndicatorType: a
|
|
1748
1758
|
}) => {
|
|
1749
|
-
const { t: c } = k(), [p, u] = B(), [m,
|
|
1759
|
+
const { t: c } = k(), [p, u] = B(), [m, C] = B(), [b, g] = B(), f = (x) => {
|
|
1750
1760
|
u(p == x ? null : x);
|
|
1751
1761
|
}, v = (x) => {
|
|
1752
|
-
|
|
1762
|
+
C(m == x ? null : x);
|
|
1753
1763
|
}, y = ({ indicator: x }) => {
|
|
1754
1764
|
console.log("onClickIndicator: ", x), _(x);
|
|
1755
1765
|
}, _ = (x) => {
|
|
1756
1766
|
if (!t)
|
|
1757
|
-
|
|
1767
|
+
g(
|
|
1758
1768
|
(b == null ? void 0 : b.name) == x.name ? null : x
|
|
1759
1769
|
);
|
|
1760
1770
|
else {
|
|
1761
1771
|
let N = b && b.length > 0 ? [...b] : [];
|
|
1762
|
-
|
|
1772
|
+
g(
|
|
1763
1773
|
N != null && N.some(
|
|
1764
|
-
(
|
|
1774
|
+
(T) => T.name == x.name
|
|
1765
1775
|
) ? N.filter(
|
|
1766
|
-
(
|
|
1776
|
+
(T) => T.name != String(x.name)
|
|
1767
1777
|
) : [...N, x]
|
|
1768
1778
|
), x.type == "both" && l("cat");
|
|
1769
1779
|
}
|
|
1770
1780
|
};
|
|
1771
|
-
|
|
1781
|
+
D(() => {
|
|
1772
1782
|
console.log("activeindicator changed to: ", b), n && typeof n == "function" && b && n({ activeIndicator: b });
|
|
1773
1783
|
}, [b]), Ke(() => {
|
|
1774
1784
|
if (r && !b)
|
|
1775
1785
|
if (t && r && Array.isArray(r)) {
|
|
1776
1786
|
let x = b && b.length > 0 ? [...b] : [];
|
|
1777
|
-
|
|
1787
|
+
g([...x, ...r]), w(r[0].name);
|
|
1778
1788
|
} else
|
|
1779
1789
|
_(r), w(r.name);
|
|
1780
1790
|
}, []);
|
|
1781
1791
|
const w = (x) => {
|
|
1782
|
-
const N = s.find((
|
|
1783
|
-
if (
|
|
1784
|
-
let A =
|
|
1785
|
-
(ne) => ne.indicators.find((
|
|
1792
|
+
const N = s.find((T) => {
|
|
1793
|
+
if (T.subcategories) {
|
|
1794
|
+
let A = T.subcategories.find(
|
|
1795
|
+
(ne) => ne.indicators.find((G) => G.name == x)
|
|
1786
1796
|
);
|
|
1787
1797
|
if (A)
|
|
1788
|
-
return
|
|
1798
|
+
return C(A.subcategory), A;
|
|
1789
1799
|
} else
|
|
1790
|
-
return
|
|
1800
|
+
return T.indicators.some((A) => A.name == x);
|
|
1791
1801
|
});
|
|
1792
1802
|
N && u(N.category);
|
|
1793
1803
|
};
|
|
1794
|
-
return /* @__PURE__ */
|
|
1804
|
+
return /* @__PURE__ */ h("div", { className: ke.indicatorsList, children: [
|
|
1795
1805
|
/* @__PURE__ */ i("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1796
1806
|
s.map((x, N) => /* @__PURE__ */ i(
|
|
1797
1807
|
je,
|
|
@@ -1815,7 +1825,7 @@ const On = "_indicatorsList_fklyu_2", In = "_title_fklyu_6", ke = {
|
|
|
1815
1825
|
))
|
|
1816
1826
|
] });
|
|
1817
1827
|
};
|
|
1818
|
-
|
|
1828
|
+
Vn.propTypes = {
|
|
1819
1829
|
indicators: e.arrayOf(e.object),
|
|
1820
1830
|
activeColor: e.string,
|
|
1821
1831
|
defaultColor: e.string,
|
|
@@ -1826,35 +1836,35 @@ Rn.propTypes = {
|
|
|
1826
1836
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1827
1837
|
activeIndicatorType: e.string
|
|
1828
1838
|
};
|
|
1829
|
-
const
|
|
1830
|
-
langSelector:
|
|
1831
|
-
currentLang:
|
|
1832
|
-
arrow:
|
|
1833
|
-
prevImg:
|
|
1834
|
-
langMenu:
|
|
1835
|
-
},
|
|
1839
|
+
const Pn = "_langSelector_o9enq_2", zn = "_currentLang_o9enq_14", jn = "_arrow_o9enq_26", qn = "_prevImg_o9enq_29", En = "_langMenu_o9enq_33", U = {
|
|
1840
|
+
langSelector: Pn,
|
|
1841
|
+
currentLang: zn,
|
|
1842
|
+
arrow: jn,
|
|
1843
|
+
prevImg: qn,
|
|
1844
|
+
langMenu: En
|
|
1845
|
+
}, Kn = ({ langs: s, arrow: d, imgPrev: o }) => {
|
|
1836
1846
|
const [n, t] = B(!1), { i18n: r } = k(), l = s.find((c) => c.code == r.language), a = (c) => {
|
|
1837
1847
|
r.changeLanguage(c), t(!1);
|
|
1838
1848
|
};
|
|
1839
|
-
return /* @__PURE__ */
|
|
1840
|
-
/* @__PURE__ */
|
|
1849
|
+
return /* @__PURE__ */ h("div", { className: U.langSelector, children: [
|
|
1850
|
+
/* @__PURE__ */ h(
|
|
1841
1851
|
"div",
|
|
1842
1852
|
{
|
|
1843
|
-
className:
|
|
1853
|
+
className: U.currentLang,
|
|
1844
1854
|
onClick: () => {
|
|
1845
1855
|
t(!n);
|
|
1846
1856
|
},
|
|
1847
1857
|
children: [
|
|
1848
|
-
o && /* @__PURE__ */ i("img", { className:
|
|
1858
|
+
o && /* @__PURE__ */ i("img", { className: U.prevImg, src: o }),
|
|
1849
1859
|
(l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
|
|
1850
|
-
/* @__PURE__ */ i("img", { src: d, className:
|
|
1860
|
+
/* @__PURE__ */ i("img", { src: d, className: U.arrow })
|
|
1851
1861
|
]
|
|
1852
1862
|
}
|
|
1853
1863
|
),
|
|
1854
|
-
n && /* @__PURE__ */ i("div", { className:
|
|
1864
|
+
n && /* @__PURE__ */ i("div", { className: U.langMenu, children: s.map((c) => /* @__PURE__ */ i(
|
|
1855
1865
|
"button",
|
|
1856
1866
|
{
|
|
1857
|
-
className: (l == null ? void 0 : l.code) == c.code ?
|
|
1867
|
+
className: (l == null ? void 0 : l.code) == c.code ? U.active : "",
|
|
1858
1868
|
onClick: () => a(c.code),
|
|
1859
1869
|
children: c.title
|
|
1860
1870
|
},
|
|
@@ -1862,7 +1872,7 @@ const Vn = "_langSelector_o9enq_2", Pn = "_currentLang_o9enq_14", zn = "_arrow_o
|
|
|
1862
1872
|
)) })
|
|
1863
1873
|
] });
|
|
1864
1874
|
};
|
|
1865
|
-
|
|
1875
|
+
Kn.propTypes = {
|
|
1866
1876
|
langs: e.arrayOf(
|
|
1867
1877
|
e.shape({
|
|
1868
1878
|
code: e.string,
|
|
@@ -1876,21 +1886,21 @@ En.propTypes = {
|
|
|
1876
1886
|
arrow: e.object,
|
|
1877
1887
|
imgPrev: e.object
|
|
1878
1888
|
};
|
|
1879
|
-
const
|
|
1880
|
-
legendContainer:
|
|
1881
|
-
closeButton:
|
|
1882
|
-
titleContainer:
|
|
1883
|
-
infoContainer:
|
|
1884
|
-
titleLegendList:
|
|
1885
|
-
legendListContainer:
|
|
1886
|
-
gridContainer:
|
|
1887
|
-
elementLegendContainer:
|
|
1888
|
-
colorDot:
|
|
1889
|
-
absoluteValueContainer:
|
|
1890
|
-
absoluteValueColor:
|
|
1891
|
-
absoluteValueText:
|
|
1892
|
-
moreInfoContainer:
|
|
1893
|
-
},
|
|
1889
|
+
const Zn = "_legendContainer_atg3j_3", Un = "_closeButton_atg3j_18", Hn = "_titleContainer_atg3j_46", Gn = "_infoContainer_atg3j_52", Yn = "_titleLegendList_atg3j_63", Wn = "_legendListContainer_atg3j_70", Xn = "_gridContainer_atg3j_70", Jn = "_elementLegendContainer_atg3j_76", Qn = "_colorDot_atg3j_82", ei = "_absoluteValueContainer_atg3j_88", ti = "_absoluteValueColor_atg3j_91", ni = "_absoluteValueText_atg3j_96", ii = "_moreInfoContainer_atg3j_108", F = {
|
|
1890
|
+
legendContainer: Zn,
|
|
1891
|
+
closeButton: Un,
|
|
1892
|
+
titleContainer: Hn,
|
|
1893
|
+
infoContainer: Gn,
|
|
1894
|
+
titleLegendList: Yn,
|
|
1895
|
+
legendListContainer: Wn,
|
|
1896
|
+
gridContainer: Xn,
|
|
1897
|
+
elementLegendContainer: Jn,
|
|
1898
|
+
colorDot: Qn,
|
|
1899
|
+
absoluteValueContainer: ei,
|
|
1900
|
+
absoluteValueColor: ti,
|
|
1901
|
+
absoluteValueText: ni,
|
|
1902
|
+
moreInfoContainer: ii
|
|
1903
|
+
}, si = ({
|
|
1894
1904
|
//JSON with the styles of the container (optional)
|
|
1895
1905
|
containerStyles: s,
|
|
1896
1906
|
//Title on top of the legend
|
|
@@ -1914,65 +1924,65 @@ const Kn = "_legendContainer_atg3j_3", Zn = "_closeButton_atg3j_18", Un = "_titl
|
|
|
1914
1924
|
onClickClose: c
|
|
1915
1925
|
}) => {
|
|
1916
1926
|
const { t: p } = k();
|
|
1917
|
-
return /* @__PURE__ */
|
|
1927
|
+
return /* @__PURE__ */ h(
|
|
1918
1928
|
"div",
|
|
1919
1929
|
{
|
|
1920
1930
|
style: s ? { ...s } : {},
|
|
1921
|
-
className: `${
|
|
1931
|
+
className: `${F.legendContainer}`,
|
|
1922
1932
|
children: [
|
|
1923
|
-
/* @__PURE__ */ i("button", { className:
|
|
1924
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
1925
|
-
o && o.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
1926
|
-
/* @__PURE__ */ i("h3", { className:
|
|
1927
|
-
/* @__PURE__ */
|
|
1933
|
+
/* @__PURE__ */ i("button", { className: F.closeButton, onClick: c }),
|
|
1934
|
+
d && /* @__PURE__ */ i("div", { className: F.titleContainer, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
1935
|
+
o && o.length > 0 && /* @__PURE__ */ i("div", { className: F.infoContainer, children: /* @__PURE__ */ i("ul", { children: o.map(({ title: u, value: m }) => /* @__PURE__ */ h("li", { children: [
|
|
1936
|
+
/* @__PURE__ */ i("h3", { className: F.title, children: `${u}:` }),
|
|
1937
|
+
/* @__PURE__ */ h("span", { className: F.value, children: [
|
|
1928
1938
|
" ",
|
|
1929
1939
|
m
|
|
1930
1940
|
] })
|
|
1931
1941
|
] }, d)) }) }),
|
|
1932
|
-
/* @__PURE__ */ i("h3", { className:
|
|
1933
|
-
/* @__PURE__ */ i("div", { className:
|
|
1942
|
+
/* @__PURE__ */ i("h3", { className: F.titleLegendList, children: t ? /* @__PURE__ */ i(ge, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) } }) : p("mainUse") }),
|
|
1943
|
+
/* @__PURE__ */ i("div", { className: F.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: F.absoluteValueContainer, children: [
|
|
1934
1944
|
/* @__PURE__ */ i(
|
|
1935
1945
|
"div",
|
|
1936
1946
|
{
|
|
1937
|
-
className:
|
|
1947
|
+
className: F.absoluteValueColor,
|
|
1938
1948
|
style: {
|
|
1939
1949
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`
|
|
1940
1950
|
}
|
|
1941
1951
|
}
|
|
1942
1952
|
),
|
|
1943
|
-
/* @__PURE__ */
|
|
1944
|
-
/* @__PURE__ */
|
|
1953
|
+
/* @__PURE__ */ h("div", { className: F.absoluteValueText, children: [
|
|
1954
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1945
1955
|
r.maxValue,
|
|
1946
1956
|
" ",
|
|
1947
1957
|
p(r.unit)
|
|
1948
1958
|
] }),
|
|
1949
|
-
/* @__PURE__ */
|
|
1959
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1950
1960
|
r.minValue,
|
|
1951
1961
|
" ",
|
|
1952
1962
|
p(r.unit)
|
|
1953
1963
|
] })
|
|
1954
1964
|
] })
|
|
1955
|
-
] }) : n && n.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
1956
|
-
({ title: u, color: m }) => /* @__PURE__ */
|
|
1965
|
+
] }) : n && n.length > 0 && /* @__PURE__ */ i("div", { className: F.gridContainer, children: n.map(
|
|
1966
|
+
({ title: u, color: m }) => /* @__PURE__ */ h("div", { className: F.elementLegendContainer, children: [
|
|
1957
1967
|
/* @__PURE__ */ i(
|
|
1958
1968
|
"div",
|
|
1959
1969
|
{
|
|
1960
|
-
className:
|
|
1970
|
+
className: F.colorDot,
|
|
1961
1971
|
style: { backgroundColor: m }
|
|
1962
1972
|
}
|
|
1963
1973
|
),
|
|
1964
|
-
/* @__PURE__ */
|
|
1974
|
+
/* @__PURE__ */ h("div", { className: F.titleLegendElement, children: [
|
|
1965
1975
|
p(u),
|
|
1966
1976
|
" "
|
|
1967
1977
|
] })
|
|
1968
1978
|
] }, d)
|
|
1969
1979
|
) }) }),
|
|
1970
|
-
l && /* @__PURE__ */ i("button", { className:
|
|
1980
|
+
l && /* @__PURE__ */ i("button", { className: F.moreInfoContainer, onClick: l, children: a || p("moreInformation") })
|
|
1971
1981
|
]
|
|
1972
1982
|
}
|
|
1973
1983
|
);
|
|
1974
1984
|
};
|
|
1975
|
-
|
|
1985
|
+
si.propTypes = {
|
|
1976
1986
|
title: e.string,
|
|
1977
1987
|
containerStyles: e.object,
|
|
1978
1988
|
infoList: e.arrayOf(
|
|
@@ -1998,23 +2008,23 @@ ii.propTypes = {
|
|
|
1998
2008
|
buttonTitle: e.string,
|
|
1999
2009
|
onClickClose: e.func
|
|
2000
2010
|
};
|
|
2001
|
-
const
|
|
2002
|
-
logo:
|
|
2003
|
-
},
|
|
2011
|
+
const oi = "_logo_1ewa6_2", Ne = {
|
|
2012
|
+
logo: oi
|
|
2013
|
+
}, ri = ({ src: s, alt: d, href: o }) => {
|
|
2004
2014
|
const { t: n } = k(), t = /* @__PURE__ */ i("img", { src: s, alt: n(d) });
|
|
2005
2015
|
return o ? /* @__PURE__ */ i("div", { className: Ne.logo, children: /* @__PURE__ */ i("a", { href: o, children: t }) }) : /* @__PURE__ */ i("div", { className: Ne.logo, children: t });
|
|
2006
2016
|
};
|
|
2007
|
-
|
|
2017
|
+
ri.propTypes = {
|
|
2008
2018
|
src: e.string.isRequired,
|
|
2009
2019
|
alt: e.string.isRequired,
|
|
2010
2020
|
href: e.string,
|
|
2011
2021
|
className: e.string
|
|
2012
2022
|
};
|
|
2013
|
-
const
|
|
2014
|
-
mapContainer:
|
|
2023
|
+
const ai = "_mapContainer_84pkf_2", li = {
|
|
2024
|
+
mapContainer: ai
|
|
2015
2025
|
};
|
|
2016
2026
|
Ue.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2017
|
-
const
|
|
2027
|
+
const ci = ({
|
|
2018
2028
|
initialView: s = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2019
2029
|
maxZoom: d = 17,
|
|
2020
2030
|
minZoom: o = 8,
|
|
@@ -2027,15 +2037,15 @@ const li = ({
|
|
|
2027
2037
|
sources: p = [],
|
|
2028
2038
|
layers: u = []
|
|
2029
2039
|
}) => {
|
|
2030
|
-
const m = he(), [
|
|
2031
|
-
return
|
|
2040
|
+
const m = he(), [C, b] = B(null), g = de((f) => f.mapState.showTexts);
|
|
2041
|
+
return D(() => {
|
|
2032
2042
|
if (m.current) {
|
|
2033
2043
|
const f = m.current.getMap();
|
|
2034
2044
|
f.getStyle().layers.map((y) => {
|
|
2035
|
-
y.type == "symbol" && y.id != "professionals" && (
|
|
2045
|
+
y.type == "symbol" && y.id != "professionals" && (g ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
|
|
2036
2046
|
});
|
|
2037
2047
|
}
|
|
2038
|
-
}, [
|
|
2048
|
+
}, [g]), /* @__PURE__ */ i("div", { className: `${li.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2039
2049
|
He,
|
|
2040
2050
|
{
|
|
2041
2051
|
initialViewState: s,
|
|
@@ -2065,7 +2075,7 @@ const li = ({
|
|
|
2065
2075
|
v
|
|
2066
2076
|
)),
|
|
2067
2077
|
/* @__PURE__ */ i(We, { position: "bottom-right", visualizePitch: !0 }),
|
|
2068
|
-
c &&
|
|
2078
|
+
c && C && /* @__PURE__ */ i(
|
|
2069
2079
|
Xe,
|
|
2070
2080
|
{
|
|
2071
2081
|
longitude: c.longitude,
|
|
@@ -2079,7 +2089,7 @@ const li = ({
|
|
|
2079
2089
|
}
|
|
2080
2090
|
) });
|
|
2081
2091
|
};
|
|
2082
|
-
|
|
2092
|
+
ci.propTypes = {
|
|
2083
2093
|
initialView: e.shape({
|
|
2084
2094
|
latitude: e.number.isRequired,
|
|
2085
2095
|
longitude: e.number.isRequired,
|
|
@@ -2124,15 +2134,15 @@ li.propTypes = {
|
|
|
2124
2134
|
})
|
|
2125
2135
|
)
|
|
2126
2136
|
};
|
|
2127
|
-
const
|
|
2128
|
-
mapContainer:
|
|
2129
|
-
},
|
|
2130
|
-
FeaturePopUp:
|
|
2131
|
-
title:
|
|
2132
|
-
},
|
|
2137
|
+
const di = "_mapContainer_b0pyr_3", pi = {
|
|
2138
|
+
mapContainer: di
|
|
2139
|
+
}, ui = "_FeaturePopUp_1gd6w_2", mi = "_title_1gd6w_2", Se = {
|
|
2140
|
+
FeaturePopUp: ui,
|
|
2141
|
+
title: mi
|
|
2142
|
+
}, hi = ({ props: s }) => {
|
|
2133
2143
|
const { t: d } = k();
|
|
2134
|
-
return /* @__PURE__ */ i("div", { className: Se.FeaturePopUp, children: s.map((o) => /* @__PURE__ */
|
|
2135
|
-
/* @__PURE__ */
|
|
2144
|
+
return /* @__PURE__ */ i("div", { className: Se.FeaturePopUp, children: s.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2145
|
+
/* @__PURE__ */ h("span", { className: Se.title, children: [
|
|
2136
2146
|
/* @__PURE__ */ i(ge, { i18nKey: o.name, components: { sup: /* @__PURE__ */ i("sup", {}) } }),
|
|
2137
2147
|
": "
|
|
2138
2148
|
] }),
|
|
@@ -2140,7 +2150,7 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2140
2150
|
" ",
|
|
2141
2151
|
d(o.unit)
|
|
2142
2152
|
] })) });
|
|
2143
|
-
},
|
|
2153
|
+
}, gi = ({
|
|
2144
2154
|
initialView: s = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2145
2155
|
maxZoom: d = 17,
|
|
2146
2156
|
minZoom: o = 8,
|
|
@@ -2153,29 +2163,29 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2153
2163
|
layers: p = [],
|
|
2154
2164
|
filters: u,
|
|
2155
2165
|
popUpParams: m,
|
|
2156
|
-
onClosePopUp:
|
|
2166
|
+
onClosePopUp: C,
|
|
2157
2167
|
showTexts: b
|
|
2158
2168
|
}) => {
|
|
2159
2169
|
console.log(u);
|
|
2160
|
-
const
|
|
2161
|
-
return
|
|
2162
|
-
if (
|
|
2163
|
-
const f =
|
|
2170
|
+
const g = he();
|
|
2171
|
+
return D(() => {
|
|
2172
|
+
if (g.current) {
|
|
2173
|
+
const f = g.current.getMap();
|
|
2164
2174
|
f.getStyle().layers.map((y) => {
|
|
2165
2175
|
y.type == "symbol" && y.id != "professionals" && (b ? f.setLayoutProperty(y.id, "visibility", "visible") : f.setLayoutProperty(y.id, "visibility", "none"));
|
|
2166
2176
|
});
|
|
2167
2177
|
}
|
|
2168
|
-
}, [b]),
|
|
2178
|
+
}, [b]), D(() => {
|
|
2169
2179
|
let f = new Je();
|
|
2170
2180
|
return ie.addProtocol("pmtiles", f.tile), () => {
|
|
2171
2181
|
ie.removeProtocol("pmtiles");
|
|
2172
2182
|
};
|
|
2173
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2183
|
+
}, []), /* @__PURE__ */ i("div", { className: `${pi.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2174
2184
|
Qe,
|
|
2175
2185
|
{
|
|
2176
2186
|
mapLib: ie,
|
|
2177
2187
|
initialViewState: s,
|
|
2178
|
-
ref:
|
|
2188
|
+
ref: g,
|
|
2179
2189
|
hash: !1,
|
|
2180
2190
|
maxZoom: d,
|
|
2181
2191
|
minZoom: o,
|
|
@@ -2207,15 +2217,15 @@ const ci = "_mapContainer_b0pyr_3", di = {
|
|
|
2207
2217
|
{
|
|
2208
2218
|
longitude: m.lng,
|
|
2209
2219
|
latitude: m.lat,
|
|
2210
|
-
onClose:
|
|
2211
|
-
children: /* @__PURE__ */ i(
|
|
2220
|
+
onClose: C,
|
|
2221
|
+
children: /* @__PURE__ */ i(hi, { props: m.props })
|
|
2212
2222
|
}
|
|
2213
2223
|
)
|
|
2214
2224
|
]
|
|
2215
2225
|
}
|
|
2216
2226
|
) });
|
|
2217
2227
|
};
|
|
2218
|
-
|
|
2228
|
+
gi.propTypes = {
|
|
2219
2229
|
initialView: e.shape({
|
|
2220
2230
|
latitude: e.number.isRequired,
|
|
2221
2231
|
longitude: e.number.isRequired,
|
|
@@ -2258,14 +2268,14 @@ hi.propTypes = {
|
|
|
2258
2268
|
popUpParams: e.object,
|
|
2259
2269
|
onClosePopUp: e.func
|
|
2260
2270
|
};
|
|
2261
|
-
const
|
|
2262
|
-
sectionBar:
|
|
2263
|
-
leftContent:
|
|
2264
|
-
textContainer:
|
|
2265
|
-
title:
|
|
2266
|
-
subtitle:
|
|
2267
|
-
rightContent:
|
|
2268
|
-
},
|
|
2271
|
+
const Ci = "_sectionBar_1egwc_2", bi = "_leftContent_1egwc_14", fi = "_textContainer_1egwc_20", yi = "_title_1egwc_27", vi = "_subtitle_1egwc_33", _i = "_rightContent_1egwc_38", z = {
|
|
2272
|
+
sectionBar: Ci,
|
|
2273
|
+
leftContent: bi,
|
|
2274
|
+
textContainer: fi,
|
|
2275
|
+
title: yi,
|
|
2276
|
+
subtitle: vi,
|
|
2277
|
+
rightContent: _i
|
|
2278
|
+
}, gs = ({
|
|
2269
2279
|
leftIcon: s,
|
|
2270
2280
|
title: d,
|
|
2271
2281
|
subtitle: o,
|
|
@@ -2274,17 +2284,17 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2274
2284
|
width: r
|
|
2275
2285
|
}) => {
|
|
2276
2286
|
const { t: l } = k();
|
|
2277
|
-
return /* @__PURE__ */
|
|
2278
|
-
/* @__PURE__ */
|
|
2287
|
+
return /* @__PURE__ */ h("div", { className: z.sectionBar, style: { width: r && r }, children: [
|
|
2288
|
+
/* @__PURE__ */ h("div", { className: z.leftContent, children: [
|
|
2279
2289
|
s && /* @__PURE__ */ i("img", { src: s, alt: "Icono", className: z.icon }),
|
|
2280
|
-
/* @__PURE__ */
|
|
2290
|
+
/* @__PURE__ */ h("div", { className: z.textContainer, children: [
|
|
2281
2291
|
/* @__PURE__ */ i("div", { className: z.title, children: l(d) }),
|
|
2282
2292
|
o && /* @__PURE__ */ i("div", { className: z.subtitle, children: o })
|
|
2283
2293
|
] })
|
|
2284
2294
|
] }),
|
|
2285
2295
|
/* @__PURE__ */ i("div", { className: z.rightContent, children: n })
|
|
2286
2296
|
] });
|
|
2287
|
-
},
|
|
2297
|
+
}, xi = Me({
|
|
2288
2298
|
name: "mapSlice",
|
|
2289
2299
|
initialState: {
|
|
2290
2300
|
showTexts: !0,
|
|
@@ -2310,24 +2320,24 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2310
2320
|
s.activeIndicatorUnit = d.payload;
|
|
2311
2321
|
}
|
|
2312
2322
|
}
|
|
2313
|
-
}), { setShowTexts:
|
|
2314
|
-
slider:
|
|
2315
|
-
playButton:
|
|
2316
|
-
sliderOpen:
|
|
2317
|
-
sliderResults:
|
|
2318
|
-
},
|
|
2323
|
+
}), { setShowTexts: Cs, setYear: le, setActiveIndicatorKey: bs, setActiveIndicatorType: fs, setActiveIndicatorUnit: ys } = xi.actions, 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%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", ki = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%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", Ni = "_slider_a19yo_2", Si = "_playButton_a19yo_17", Ti = "_sliderOpen_a19yo_28", Mi = "_sliderResults_a19yo_32", W = {
|
|
2324
|
+
slider: Ni,
|
|
2325
|
+
playButton: Si,
|
|
2326
|
+
sliderOpen: Ti,
|
|
2327
|
+
sliderResults: Mi
|
|
2328
|
+
}, Fi = ({ onResults: s = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2319
2329
|
const [l, a] = B(d), c = Te(), p = (y, _) => {
|
|
2320
2330
|
a(_), c(le(_ - 2e3));
|
|
2321
|
-
}, [u, m] = B(!1),
|
|
2331
|
+
}, [u, m] = B(!1), C = () => {
|
|
2322
2332
|
m(!0);
|
|
2323
2333
|
}, b = () => {
|
|
2324
2334
|
m(!1);
|
|
2325
2335
|
};
|
|
2326
2336
|
((y, _) => {
|
|
2327
2337
|
const w = he();
|
|
2328
|
-
|
|
2338
|
+
D(() => {
|
|
2329
2339
|
w.current = y;
|
|
2330
|
-
}, [y]),
|
|
2340
|
+
}, [y]), D(() => {
|
|
2331
2341
|
function x() {
|
|
2332
2342
|
w.current();
|
|
2333
2343
|
}
|
|
@@ -2367,7 +2377,7 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2367
2377
|
{ label: "", value: 2041 },
|
|
2368
2378
|
{ label: "", value: 2050 }
|
|
2369
2379
|
];
|
|
2370
|
-
return /* @__PURE__ */ i(at, { theme: f, children: /* @__PURE__ */
|
|
2380
|
+
return /* @__PURE__ */ i(at, { theme: f, children: /* @__PURE__ */ h(
|
|
2371
2381
|
rt,
|
|
2372
2382
|
{
|
|
2373
2383
|
sx: { width: 400 },
|
|
@@ -2391,13 +2401,13 @@ const gi = "_sectionBar_1egwc_2", Ci = "_leftContent_1egwc_14", bi = "_textConta
|
|
|
2391
2401
|
}
|
|
2392
2402
|
),
|
|
2393
2403
|
n,
|
|
2394
|
-
!u && /* @__PURE__ */ i("button", { className: W.playButton, onClick:
|
|
2395
|
-
u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src:
|
|
2404
|
+
!u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: C, children: /* @__PURE__ */ i("img", { src: wi, alt: "Play" }) }),
|
|
2405
|
+
u && /* @__PURE__ */ i("button", { className: W.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src: ki, alt: "Pause" }) })
|
|
2396
2406
|
]
|
|
2397
2407
|
}
|
|
2398
2408
|
) });
|
|
2399
2409
|
};
|
|
2400
|
-
|
|
2410
|
+
Fi.propTypes = {
|
|
2401
2411
|
defaultYear: e.number,
|
|
2402
2412
|
onResults: e.bool,
|
|
2403
2413
|
firstYear: e.number,
|
|
@@ -2405,11 +2415,11 @@ Mi.propTypes = {
|
|
|
2405
2415
|
zIndex: e.number,
|
|
2406
2416
|
rightBarOpen: e.bool
|
|
2407
2417
|
};
|
|
2408
|
-
const
|
|
2409
|
-
TopNavMenuContainer:
|
|
2410
|
-
topNavOptions:
|
|
2411
|
-
active:
|
|
2412
|
-
},
|
|
2418
|
+
const Bi = "_TopNavMenuContainer_12mp4_2", Li = "_topNavOptions_12mp4_13", Di = "_active_12mp4_27", ce = {
|
|
2419
|
+
TopNavMenuContainer: Bi,
|
|
2420
|
+
topNavOptions: Li,
|
|
2421
|
+
active: Di
|
|
2422
|
+
}, $i = ({
|
|
2413
2423
|
options: s = [],
|
|
2414
2424
|
containerStyles: d,
|
|
2415
2425
|
borderColor: o = "red",
|
|
@@ -2430,7 +2440,7 @@ const Fi = "_TopNavMenuContainer_12mp4_2", Bi = "_topNavOptions_12mp4_13", Li =
|
|
|
2430
2440
|
l
|
|
2431
2441
|
)) });
|
|
2432
2442
|
};
|
|
2433
|
-
|
|
2443
|
+
$i.propTypes = {
|
|
2434
2444
|
options: e.arrayOf(e.object),
|
|
2435
2445
|
cssProps: e.shape({
|
|
2436
2446
|
borderColor: e.string.isRequired,
|
|
@@ -2440,7 +2450,7 @@ Di.propTypes = {
|
|
|
2440
2450
|
// activeColor: PropTypes.string,
|
|
2441
2451
|
// defaultColor: PropTypes.string
|
|
2442
2452
|
};
|
|
2443
|
-
const
|
|
2453
|
+
const Ai = Me({
|
|
2444
2454
|
name: "userSlice",
|
|
2445
2455
|
initialState: {
|
|
2446
2456
|
user: {
|
|
@@ -2458,27 +2468,27 @@ const $i = Me({
|
|
|
2458
2468
|
s.showUserMenu = d.payload;
|
|
2459
2469
|
}
|
|
2460
2470
|
}
|
|
2461
|
-
}), { setShowLogIn:
|
|
2471
|
+
}), { setShowLogIn: Oi, setShowUserMenu: Ri } = Ai.actions, Ii = "_UserMenuTrigger_uglss_2", Vi = {
|
|
2462
2472
|
UserMenuTrigger: Ii
|
|
2463
|
-
},
|
|
2473
|
+
}, Pi = ({
|
|
2464
2474
|
cssClass: s,
|
|
2465
2475
|
loginLocale: d = "login",
|
|
2466
2476
|
containerStyles: o
|
|
2467
2477
|
}) => {
|
|
2468
2478
|
const n = Te(), t = de((c) => c.userState.user.isLoggedIn), r = de((c) => c.userState.user.username), { t: l } = k(), a = () => {
|
|
2469
|
-
n(t ?
|
|
2479
|
+
n(t ? Oi(!0) : Ri(!0));
|
|
2470
2480
|
};
|
|
2471
2481
|
return /* @__PURE__ */ i(
|
|
2472
2482
|
"div",
|
|
2473
2483
|
{
|
|
2474
2484
|
style: { ...o },
|
|
2475
|
-
className: `${
|
|
2485
|
+
className: `${Vi.UserMenuTrigger} link ${s}`,
|
|
2476
2486
|
onClick: a,
|
|
2477
2487
|
children: t ? r : l(d)
|
|
2478
2488
|
}
|
|
2479
2489
|
);
|
|
2480
2490
|
};
|
|
2481
|
-
|
|
2491
|
+
Pi.propTypes = {
|
|
2482
2492
|
onClickLoggedIn: e.func.isRequired,
|
|
2483
2493
|
onClickLoggedOut: e.func.isRequired,
|
|
2484
2494
|
log: e.bool,
|
|
@@ -2486,13 +2496,13 @@ Vi.propTypes = {
|
|
|
2486
2496
|
cssClass: e.string,
|
|
2487
2497
|
loginLocale: e.string
|
|
2488
2498
|
};
|
|
2489
|
-
const
|
|
2490
|
-
header:
|
|
2491
|
-
leftComponents:
|
|
2492
|
-
centerComponents:
|
|
2493
|
-
rightComponents:
|
|
2494
|
-
componentsContainer:
|
|
2495
|
-
},
|
|
2499
|
+
const zi = "_header_13kbt_2", ji = "_leftComponents_13kbt_13", qi = "_centerComponents_13kbt_14", Ei = "_rightComponents_13kbt_15", Ki = "_componentsContainer_13kbt_32", j = {
|
|
2500
|
+
header: zi,
|
|
2501
|
+
leftComponents: ji,
|
|
2502
|
+
centerComponents: qi,
|
|
2503
|
+
rightComponents: Ei,
|
|
2504
|
+
componentsContainer: Ki
|
|
2505
|
+
}, Zi = ({
|
|
2496
2506
|
cssProps: s,
|
|
2497
2507
|
leftComponents: d = [],
|
|
2498
2508
|
centerComponents: o = [],
|
|
@@ -2500,7 +2510,7 @@ const Pi = "_header_13kbt_2", zi = "_leftComponents_13kbt_13", ji = "_centerComp
|
|
|
2500
2510
|
zIndex: t = 10,
|
|
2501
2511
|
height: r = 60,
|
|
2502
2512
|
backgroundColor: l = "#605B56"
|
|
2503
|
-
}) => /* @__PURE__ */
|
|
2513
|
+
}) => /* @__PURE__ */ h(
|
|
2504
2514
|
"div",
|
|
2505
2515
|
{
|
|
2506
2516
|
className: j.header,
|
|
@@ -2517,17 +2527,17 @@ const Pi = "_header_13kbt_2", zi = "_leftComponents_13kbt_13", ji = "_centerComp
|
|
|
2517
2527
|
]
|
|
2518
2528
|
}
|
|
2519
2529
|
);
|
|
2520
|
-
|
|
2530
|
+
Zi.propTypes = {
|
|
2521
2531
|
leftComponents: e.arrayOf(e.node),
|
|
2522
2532
|
centerComponents: e.arrayOf(e.node),
|
|
2523
2533
|
rightComponents: e.arrayOf(e.node)
|
|
2524
2534
|
};
|
|
2525
|
-
const
|
|
2526
|
-
sidebar:
|
|
2527
|
-
open:
|
|
2528
|
-
content:
|
|
2529
|
-
closeButton:
|
|
2530
|
-
},
|
|
2535
|
+
const Ui = "_sidebar_1jqo2_2", Hi = "_open_1jqo2_16", Gi = "_content_1jqo2_20", Yi = "_closeButton_1jqo2_26", ee = {
|
|
2536
|
+
sidebar: Ui,
|
|
2537
|
+
open: Hi,
|
|
2538
|
+
content: Gi,
|
|
2539
|
+
closeButton: Yi
|
|
2540
|
+
}, Wi = ({ width: s = "300px", children: d, showRightBar: o, onCloseBar: n }) => {
|
|
2531
2541
|
const t = () => {
|
|
2532
2542
|
n();
|
|
2533
2543
|
};
|
|
@@ -2536,14 +2546,14 @@ const Zi = "_sidebar_1jqo2_2", Ui = "_open_1jqo2_16", Hi = "_content_1jqo2_20",
|
|
|
2536
2546
|
{
|
|
2537
2547
|
className: `${ee.sidebar} ${o ? ee.open : ""}`,
|
|
2538
2548
|
style: { width: o ? s : 0 },
|
|
2539
|
-
children: o && /* @__PURE__ */
|
|
2549
|
+
children: o && /* @__PURE__ */ h("div", { className: ee.content, children: [
|
|
2540
2550
|
/* @__PURE__ */ i("button", { className: ee.closeButton, onClick: t, children: "×" }),
|
|
2541
2551
|
d
|
|
2542
2552
|
] })
|
|
2543
2553
|
}
|
|
2544
2554
|
);
|
|
2545
2555
|
};
|
|
2546
|
-
|
|
2556
|
+
Wi.propTypes = {
|
|
2547
2557
|
width: e.string,
|
|
2548
2558
|
children: e.node,
|
|
2549
2559
|
showRightBar: e.bool,
|
|
@@ -2553,20 +2563,20 @@ export {
|
|
|
2553
2563
|
Bt as AmbitSelector,
|
|
2554
2564
|
qt as ButtonsList,
|
|
2555
2565
|
q as DropdownList,
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2566
|
+
hs as EditAmbit,
|
|
2567
|
+
gn as FiltersAmbit,
|
|
2568
|
+
vn as Graphic,
|
|
2569
|
+
Zi as HeaderSection,
|
|
2570
|
+
Vn as IndicatorsList,
|
|
2571
|
+
Kn as LangSelector,
|
|
2572
|
+
si as Legend,
|
|
2573
|
+
ri as LogoApp,
|
|
2574
|
+
ci as MapboxMap,
|
|
2575
|
+
gi as MaplibreMap,
|
|
2576
|
+
Wi as RightSidebar,
|
|
2577
|
+
gs as SectionBar,
|
|
2578
|
+
Fi as TimeSlider,
|
|
2569
2579
|
Le as Tooltip,
|
|
2570
|
-
|
|
2571
|
-
|
|
2580
|
+
$i as TopNavMenu,
|
|
2581
|
+
Pi as UserMenuTrigger
|
|
2572
2582
|
};
|