@tmf_ciclica/ciclicastorybook 1.2.64 → 1.2.67
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 +7 -7
- package/dist/index.es.js +695 -694
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.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_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_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:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{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_1hv16_2{width:100%;height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{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_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._barChartContainer_1each_2{position:relative;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}._barChartContainer_1each_2::-webkit-scrollbar{display:none}._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_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_4ndr8_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}@media (max-width: 500px){._legendContainer_4ndr8_3{width:250px}}._legendContainer_4ndr8_3 ._sectionContainer_4ndr8_25:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_4ndr8_3::-webkit-scrollbar{width:8px}._legendContainer_4ndr8_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_4ndr8_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41{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_4ndr8_3 ._closeButton_4ndr8_41:before,._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:before{transform:rotate(45deg)}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{transform:rotate(-45deg)}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69{border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69 h2{padding-bottom:16px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75{padding-top:20px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_4ndr8_3 ._titleLegendList_4ndr8_86{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98 ._colorDot_4ndr8_104{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110{position:relative}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueColor_4ndr8_113{height:130px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130{position:relative;margin-top:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._noData_4ndr8_130{height:22px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._moreInfoContainer_4ndr8_151{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_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{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}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{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_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_s4s4h_3{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap;padding-right:15px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_ldxs2_2{display:grid;grid-template-columns:200px 890px;width:100%;padding:20px;grid-column-gap:5px;overflow-x:scroll;scrollbar-width:none;-ms-overflow-style:none;margin-left:-170px;width:calc(100% + 170px);max-width:970px}._externalContainer_ldxs2_2._externalSintetic_ldxs2_15{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_ldxs2_2 ._titles_ldxs2_19{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_ldxs2_2 ._titles_ldxs2_19 ._titleContainer_ldxs2_28{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_ldxs2_2 ._yearTitles_ldxs2_42{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._externalContainer_ldxs2_2 ._yearTitles_ldxs2_42 ._yearTitle_ldxs2_42{transform:rotate(-90deg);color:#605b56;font-size:13px;width:100%}._externalContainer_ldxs2_2 ._yearDatas_ldxs2_56{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._externalContainer_ldxs2_2 ._yearDataContainer_ldxs2_64{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;width:100%}._externalContainer_ldxs2_2 ._yearDataContainer_ldxs2_64 ._yearDataContent_ldxs2_73{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_ldxs2_2 ._yearDataContainer_ldxs2_64 ._bigNumber_ldxs2_86{font-size:8px}._externalContainer_ldxs2_2 ._circle_ldxs2_89{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_ldxs2_2::-webkit-scrollbar{display:none}._totalContainer_ldxs2_106{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_ldxs2_106 ._total_ldxs2_106{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_ldxs2_131{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._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_1kaqu_2{position:absolute;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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.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_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_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:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{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_1hv16_2{width:100%;height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{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_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._barChartContainer_1each_2{position:relative;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}._barChartContainer_1each_2::-webkit-scrollbar{display:none}._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_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_4ndr8_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}@media (max-width: 500px){._legendContainer_4ndr8_3{width:250px}}._legendContainer_4ndr8_3 ._sectionContainer_4ndr8_25:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_4ndr8_3::-webkit-scrollbar{width:8px}._legendContainer_4ndr8_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_4ndr8_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41{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_4ndr8_3 ._closeButton_4ndr8_41:before,._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:before{transform:rotate(45deg)}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{transform:rotate(-45deg)}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69{border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69 h2{padding-bottom:16px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75{padding-top:20px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_4ndr8_3 ._titleLegendList_4ndr8_86{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98 ._colorDot_4ndr8_104{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110{position:relative}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueColor_4ndr8_113{height:130px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130{position:relative;margin-top:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._noData_4ndr8_130{height:22px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._moreInfoContainer_4ndr8_151{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_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{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}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{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_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_s4s4h_3{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap;padding-right:15px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._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_1kaqu_2{position:absolute;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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as m, jsx as i, Fragment as Xe } from "react/jsx-runtime";
|
|
3
3
|
import * as Me from "react";
|
|
4
|
-
import I, { useState as O, useEffect as A, useMemo as
|
|
4
|
+
import I, { useState as O, useEffect as A, useMemo as Be, useRef as te, useLayoutEffect as b2 } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as V, Trans as yt } from "react-i18next";
|
|
7
7
|
import { motion as bt } from "framer-motion";
|
|
@@ -13,7 +13,7 @@ import { useSelector as v2 } from "react-redux";
|
|
|
13
13
|
import x2, { Source as w2, Layer as N2, NavigationControl as k2, Popup as $2 } from "react-map-gl/mapbox";
|
|
14
14
|
import nt from "maplibre-gl";
|
|
15
15
|
import { Protocol as S2 } from "pmtiles";
|
|
16
|
-
import L2, { Source as M2, Layer as
|
|
16
|
+
import L2, { Source as M2, Layer as B2, NavigationControl as T2, Popup as F2 } from "react-map-gl/maplibre";
|
|
17
17
|
import { createSlice as D2 } from "@reduxjs/toolkit";
|
|
18
18
|
import V2 from "@mui/material/Slider";
|
|
19
19
|
import { createTheme as A2, Box as O2 } from "@mui/material";
|
|
@@ -28,7 +28,7 @@ const I2 = "_ambitSelector_mcunf_2", E2 = "_header_mcunf_13", q2 = "_nameDateCon
|
|
|
28
28
|
buttonsContainer: Z2,
|
|
29
29
|
ambitListContainer: j2,
|
|
30
30
|
newAmbitButtonContainer: H2
|
|
31
|
-
}, K2 = "_ambitItem_1qa6u_2", W2 = "_ambitNameDate_1qa6u_16", U2 = "_ambitName_1qa6u_16", G2 = "_ambitDate_1qa6u_35", X2 = "_ambitButtons_1qa6u_38",
|
|
31
|
+
}, K2 = "_ambitItem_1qa6u_2", W2 = "_ambitNameDate_1qa6u_16", U2 = "_ambitName_1qa6u_16", G2 = "_ambitDate_1qa6u_35", X2 = "_ambitButtons_1qa6u_38", Te = {
|
|
32
32
|
ambitItem: K2,
|
|
33
33
|
ambitNameDate: W2,
|
|
34
34
|
ambitName: U2,
|
|
@@ -45,15 +45,15 @@ const I2 = "_ambitSelector_mcunf_2", E2 = "_header_mcunf_13", q2 = "_nameDateCon
|
|
|
45
45
|
fontColor: a,
|
|
46
46
|
moreInfo: l
|
|
47
47
|
}) => {
|
|
48
|
-
const { name: u, created_at:
|
|
48
|
+
const { name: u, created_at: C, id: h, isBeingProcessed: y } = n;
|
|
49
49
|
return /* @__PURE__ */ m(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
|
-
className:
|
|
52
|
+
className: Te.ambitItem,
|
|
53
53
|
style: { borderBottom: `1px solid ${a}` },
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */ m("div", { className:
|
|
56
|
-
/* @__PURE__ */ m("div", { className:
|
|
55
|
+
/* @__PURE__ */ m("div", { className: Te.ambitNameDate, onClick: () => t(h), children: [
|
|
56
|
+
/* @__PURE__ */ m("div", { className: Te.ambitName, children: [
|
|
57
57
|
/* @__PURE__ */ i(
|
|
58
58
|
"img",
|
|
59
59
|
{
|
|
@@ -63,10 +63,10 @@ const I2 = "_ambitSelector_mcunf_2", E2 = "_header_mcunf_13", q2 = "_nameDateCon
|
|
|
63
63
|
),
|
|
64
64
|
/* @__PURE__ */ i("span", { style: { color: o ? d : a }, children: u })
|
|
65
65
|
] }),
|
|
66
|
-
/* @__PURE__ */ i("div", { className:
|
|
66
|
+
/* @__PURE__ */ i("div", { className: Te.ambitDate, children: C ? new Date(C).toLocaleDateString() : "" })
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */ m("div", { className:
|
|
69
|
-
|
|
68
|
+
/* @__PURE__ */ m("div", { className: Te.ambitButtons, children: [
|
|
69
|
+
y && /* @__PURE__ */ i("img", { src: e0 }),
|
|
70
70
|
/* @__PURE__ */ i("button", { onClick: () => r(h), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: Y2 }) }),
|
|
71
71
|
/* @__PURE__ */ i("button", { onClick: () => c(h), children: /* @__PURE__ */ i("img", { src: J2 }) }),
|
|
72
72
|
/* @__PURE__ */ i("button", { onClick: () => s(h), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: Q2 }) })
|
|
@@ -130,19 +130,19 @@ const kt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
130
130
|
buttonContainerStyles: a = {},
|
|
131
131
|
containerStyles: l = {},
|
|
132
132
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
133
|
-
onClickCopy:
|
|
133
|
+
onClickCopy: C = (g) => console.log(`Copy ambit: ${g}`),
|
|
134
134
|
onCLickDelete: h = (g) => console.log(`Delete ambit: ${g}`),
|
|
135
|
-
onClickFilters:
|
|
136
|
-
onClickAmbit:
|
|
135
|
+
onClickFilters: y = (g) => console.log(`Filters clicked: ${g}`),
|
|
136
|
+
onClickAmbit: p = (g) => console.log(`OnCLickAmbit: ${g}`)
|
|
137
137
|
}) => {
|
|
138
|
-
const { t: g } = V(), [
|
|
138
|
+
const { t: g } = V(), [_, v] = O(n);
|
|
139
139
|
A(() => {
|
|
140
|
-
n &&
|
|
140
|
+
n && v(n);
|
|
141
141
|
}, [n]);
|
|
142
|
-
const b = (
|
|
143
|
-
if (
|
|
144
|
-
let $ = [...
|
|
145
|
-
$.sort((
|
|
142
|
+
const b = (w) => {
|
|
143
|
+
if (_ && _.length > 0) {
|
|
144
|
+
let $ = [..._];
|
|
145
|
+
$.sort((f, x) => f[w].localeCompare(x[w])), v($);
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
return /* @__PURE__ */ m(
|
|
@@ -171,19 +171,19 @@ const kt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
171
171
|
]
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
|
-
/* @__PURE__ */ i("div", { className: me.ambitListContainer, children:
|
|
174
|
+
/* @__PURE__ */ i("div", { className: me.ambitListContainer, children: _ && _.length > 0 && _.map((w) => /* @__PURE__ */ i(
|
|
175
175
|
Gt,
|
|
176
176
|
{
|
|
177
|
-
isActive: c ==
|
|
178
|
-
ambit:
|
|
177
|
+
isActive: c == w.id,
|
|
178
|
+
ambit: w,
|
|
179
179
|
fontColor: s,
|
|
180
180
|
activeColor: r,
|
|
181
|
-
onClickCopy:
|
|
181
|
+
onClickCopy: C,
|
|
182
182
|
onClickDelete: h,
|
|
183
|
-
onClickFilters:
|
|
184
|
-
onClickAmbit:
|
|
183
|
+
onClickFilters: y,
|
|
184
|
+
onClickAmbit: p
|
|
185
185
|
},
|
|
186
|
-
`ambitKey${
|
|
186
|
+
`ambitKey${w.id}`
|
|
187
187
|
)) }),
|
|
188
188
|
/* @__PURE__ */ i("div", { className: me.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
189
189
|
Qe,
|
|
@@ -258,28 +258,28 @@ const f0 = ({
|
|
|
258
258
|
children: n.map((a, l) => {
|
|
259
259
|
const {
|
|
260
260
|
icon: u,
|
|
261
|
-
activeIcon:
|
|
261
|
+
activeIcon: C,
|
|
262
262
|
isActive: h,
|
|
263
|
-
name:
|
|
264
|
-
onClick:
|
|
263
|
+
name: y,
|
|
264
|
+
onClick: p,
|
|
265
265
|
disabled: g
|
|
266
|
-
} = a,
|
|
267
|
-
s && r === "left" && /* @__PURE__ */ i("span", { className: ye.buttonName, children: d(
|
|
268
|
-
/* @__PURE__ */ i("img", { src: h ?
|
|
269
|
-
s && r === "right" && /* @__PURE__ */ i("span", { className: ye.buttonName, children: d(
|
|
266
|
+
} = a, _ = /* @__PURE__ */ m(Xe, { children: [
|
|
267
|
+
s && r === "left" && /* @__PURE__ */ i("span", { className: ye.buttonName, children: d(y) }),
|
|
268
|
+
/* @__PURE__ */ i("img", { src: h ? C : u, alt: d(y) }),
|
|
269
|
+
s && r === "right" && /* @__PURE__ */ i("span", { className: ye.buttonName, children: d(y) })
|
|
270
270
|
] });
|
|
271
271
|
return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
272
272
|
/* @__PURE__ */ i(
|
|
273
273
|
"button",
|
|
274
274
|
{
|
|
275
|
-
onClick:
|
|
275
|
+
onClick: p,
|
|
276
276
|
className: `${ye.button}
|
|
277
277
|
${h && ye.active}`,
|
|
278
278
|
disabled: g,
|
|
279
|
-
children:
|
|
279
|
+
children: _
|
|
280
280
|
}
|
|
281
281
|
),
|
|
282
|
-
t && /* @__PURE__ */ i(he, { text:
|
|
282
|
+
t && /* @__PURE__ */ i(he, { text: y, position: o })
|
|
283
283
|
] }, l);
|
|
284
284
|
})
|
|
285
285
|
}
|
|
@@ -320,7 +320,7 @@ const y0 = "_indicatorsCategory_11gdl_2", b0 = "_title_11gdl_6", _0 = "_mainTitl
|
|
|
320
320
|
titleFontStyles: a,
|
|
321
321
|
showBottomBar: l = !0,
|
|
322
322
|
titleMarginChildren: u = 15,
|
|
323
|
-
mainTitle:
|
|
323
|
+
mainTitle: C = !1
|
|
324
324
|
}) => {
|
|
325
325
|
const { t: h } = V();
|
|
326
326
|
return /* @__PURE__ */ m(
|
|
@@ -333,7 +333,7 @@ const y0 = "_indicatorsCategory_11gdl_2", b0 = "_title_11gdl_6", _0 = "_mainTitl
|
|
|
333
333
|
style: {
|
|
334
334
|
backgroundColor: "white",
|
|
335
335
|
borderBottom: n && l ? `1px solid ${t}` : "0px",
|
|
336
|
-
minHeight:
|
|
336
|
+
minHeight: C ? "70px" : "50px"
|
|
337
337
|
},
|
|
338
338
|
children: [
|
|
339
339
|
/* @__PURE__ */ m(
|
|
@@ -343,7 +343,7 @@ const y0 = "_indicatorsCategory_11gdl_2", b0 = "_title_11gdl_6", _0 = "_mainTitl
|
|
|
343
343
|
...a
|
|
344
344
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
345
345
|
},
|
|
346
|
-
className: `${Pe.title} ${
|
|
346
|
+
className: `${Pe.title} ${C && Pe.mainTitle}`,
|
|
347
347
|
onClick: c,
|
|
348
348
|
children: [
|
|
349
349
|
/* @__PURE__ */ i("span", { style: { color: n ? t : r }, children: n ? "-" : "+" }),
|
|
@@ -351,7 +351,7 @@ const y0 = "_indicatorsCategory_11gdl_2", b0 = "_title_11gdl_6", _0 = "_mainTitl
|
|
|
351
351
|
]
|
|
352
352
|
}
|
|
353
353
|
),
|
|
354
|
-
/* @__PURE__ */ i("div", { className: Pe.content, style: { padding:
|
|
354
|
+
/* @__PURE__ */ i("div", { className: Pe.content, style: { padding: C ? "20px 0px" : "0px" }, children: s })
|
|
355
355
|
]
|
|
356
356
|
}
|
|
357
357
|
);
|
|
@@ -367,7 +367,7 @@ Ne.propTypes = {
|
|
|
367
367
|
showBottomBar: e.bool,
|
|
368
368
|
titleFontStyles: e.object
|
|
369
369
|
};
|
|
370
|
-
const
|
|
370
|
+
const Or = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), v0 = "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", x0 = "_AppliedFiltersContainer_cokx9_2", w0 = "_AppliedFilterContent_cokx9_11", $t = {
|
|
371
371
|
AppliedFiltersContainer: x0,
|
|
372
372
|
AppliedFilterContent: w0
|
|
373
373
|
}, q = jt((n) => ({
|
|
@@ -379,10 +379,10 @@ const Rr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), v0 = "data
|
|
|
379
379
|
inputsColor: "#605B56",
|
|
380
380
|
activeFiltersType: null
|
|
381
381
|
})), Xt = ({ title: n, onClick: c, isOpen: s = !0, textColor: r = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o, fontColor: d = "#605B56" }) => {
|
|
382
|
-
const { t: a } = V(), { tematicalFiltersSelected: l, activeFiltersType: u } = q((
|
|
383
|
-
q.setState((
|
|
384
|
-
tematicalFiltersSelected:
|
|
385
|
-
(g) => g.code !==
|
|
382
|
+
const { t: a } = V(), { tematicalFiltersSelected: l, activeFiltersType: u } = q((y) => y), C = (y) => {
|
|
383
|
+
q.setState((p) => ({
|
|
384
|
+
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
385
|
+
(g) => g.code !== y
|
|
386
386
|
)
|
|
387
387
|
}));
|
|
388
388
|
};
|
|
@@ -397,10 +397,10 @@ const Rr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), v0 = "data
|
|
|
397
397
|
activeColor: o,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: d,
|
|
400
|
-
children: /* @__PURE__ */ i("div", { className: $t.AppliedFiltersContainer, children: l == null ? void 0 : l.map((
|
|
401
|
-
a(
|
|
402
|
-
/* @__PURE__ */ i("img", { src: v0, alt: "CloseIcon", onClick: () =>
|
|
403
|
-
] },
|
|
400
|
+
children: /* @__PURE__ */ i("div", { className: $t.AppliedFiltersContainer, children: l == null ? void 0 : l.map((y, p) => /* @__PURE__ */ m("div", { className: $t.AppliedFilterContent, style: { color: r, background: t }, children: [
|
|
401
|
+
a(y.name),
|
|
402
|
+
/* @__PURE__ */ i("img", { src: v0, alt: "CloseIcon", onClick: () => C(y.code), style: { cursor: "pointer" } })
|
|
403
|
+
] }, p)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
};
|
|
@@ -432,12 +432,12 @@ const N0 = "_layersList_cn837_25", k0 = "_layerName_cn837_34", St = {
|
|
|
432
432
|
}) => {
|
|
433
433
|
const { t: a } = V(), { activeFiltersType: l } = q((h) => h), u = () => {
|
|
434
434
|
l === "geographical" ? q.setState({ activeFiltersType: null }) : q.setState({ activeFiltersType: "geographical" });
|
|
435
|
-
},
|
|
436
|
-
const
|
|
437
|
-
...
|
|
438
|
-
active:
|
|
435
|
+
}, C = (h) => {
|
|
436
|
+
const y = o.map((p) => ({
|
|
437
|
+
...p,
|
|
438
|
+
active: p.name === h.name
|
|
439
439
|
}));
|
|
440
|
-
d == null || d(
|
|
440
|
+
d == null || d(y);
|
|
441
441
|
};
|
|
442
442
|
return /* @__PURE__ */ i(
|
|
443
443
|
Ne,
|
|
@@ -456,7 +456,7 @@ const N0 = "_layersList_cn837_25", k0 = "_layerName_cn837_34", St = {
|
|
|
456
456
|
color: h.active ? t : s,
|
|
457
457
|
fontWeight: h.active ? "bold" : "normal"
|
|
458
458
|
},
|
|
459
|
-
onClick: () =>
|
|
459
|
+
onClick: () => C(h),
|
|
460
460
|
children: a(h.name)
|
|
461
461
|
},
|
|
462
462
|
h.name
|
|
@@ -565,19 +565,19 @@ let mt = function(n) {
|
|
|
565
565
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
566
566
|
}, t.onMouseMove = (a) => {
|
|
567
567
|
t.setState({ pending: !0 });
|
|
568
|
-
const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]),
|
|
569
|
-
t.move(
|
|
568
|
+
const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), C = t.getValueFromPosition(u);
|
|
569
|
+
t.move(C);
|
|
570
570
|
}, t.onTouchMove = (a) => {
|
|
571
571
|
if (a.touches.length > 1) return;
|
|
572
572
|
t.setState({ pending: !0 });
|
|
573
573
|
const l = t.getTouchPosition(a);
|
|
574
574
|
if (t.isScrolling === void 0) {
|
|
575
|
-
const h = l[0] - t.startPosition[0],
|
|
576
|
-
t.isScrolling = Math.abs(
|
|
575
|
+
const h = l[0] - t.startPosition[0], y = l[1] - t.startPosition[1];
|
|
576
|
+
t.isScrolling = Math.abs(y) > Math.abs(h);
|
|
577
577
|
}
|
|
578
578
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
579
|
-
const u = t.getDiffPosition(l[0]),
|
|
580
|
-
t.move(
|
|
579
|
+
const u = t.getDiffPosition(l[0]), C = t.getValueFromPosition(u);
|
|
580
|
+
t.move(C);
|
|
581
581
|
}, t.onKeyDown = (a) => {
|
|
582
582
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
583
583
|
case "ArrowLeft":
|
|
@@ -630,8 +630,8 @@ let mt = function(n) {
|
|
|
630
630
|
if (t.props.disabled || l.touches.length > 1) return;
|
|
631
631
|
t.setState({ pending: !0 });
|
|
632
632
|
const u = t.getTouchPosition(l);
|
|
633
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), Ze(t.getTouchEventMap()), function(
|
|
634
|
-
|
|
633
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), Ze(t.getTouchEventMap()), function(C) {
|
|
634
|
+
C.stopPropagation && C.stopPropagation();
|
|
635
635
|
}(l);
|
|
636
636
|
}, t.handleResize = () => {
|
|
637
637
|
const a = window.setTimeout(() => {
|
|
@@ -639,13 +639,13 @@ let mt = function(n) {
|
|
|
639
639
|
}, 0);
|
|
640
640
|
t.pendingResizeTimeouts.push(a);
|
|
641
641
|
}, t.renderThumb = (a, l) => {
|
|
642
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""),
|
|
643
|
-
t["thumb" + l] =
|
|
642
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), C = { ref: (y) => {
|
|
643
|
+
t["thumb" + l] = y;
|
|
644
644
|
}, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, h = { index: l, value: ze(t.state.value), valueNow: t.state.value[l] };
|
|
645
|
-
return t.props.ariaValuetext && (
|
|
645
|
+
return t.props.ariaValuetext && (C["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(C, h);
|
|
646
646
|
}, t.renderTrack = (a, l, u) => {
|
|
647
|
-
const
|
|
648
|
-
return t.props.renderTrack(
|
|
647
|
+
const C = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, h = { index: a, value: ze(t.state.value) };
|
|
648
|
+
return t.props.renderTrack(C, h);
|
|
649
649
|
};
|
|
650
650
|
let o = st(r.value);
|
|
651
651
|
o.length || (o = st(r.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -676,8 +676,8 @@ let mt = function(n) {
|
|
|
676
676
|
let t = Number.MAX_VALUE, o = -1;
|
|
677
677
|
const { value: d } = this.state, a = d.length;
|
|
678
678
|
for (let l = 0; l < a; l += 1) {
|
|
679
|
-
const u = this.calcOffset(d[l]),
|
|
680
|
-
|
|
679
|
+
const u = this.calcOffset(d[l]), C = Math.abs(r - u);
|
|
680
|
+
C < t && (t = C, o = l);
|
|
681
681
|
}
|
|
682
682
|
return o;
|
|
683
683
|
}, s.getMousePosition = function(r) {
|
|
@@ -700,8 +700,8 @@ let mt = function(n) {
|
|
|
700
700
|
}, s.resize = function() {
|
|
701
701
|
const { slider: r, thumb0: t } = this;
|
|
702
702
|
if (!r || !t) return;
|
|
703
|
-
const o = this.sizeKey(), d = r.getBoundingClientRect(), a = r[o], l = d[this.posMaxKey()], u = d[this.posMinKey()],
|
|
704
|
-
this.state.upperBound === h && this.state.sliderLength ===
|
|
703
|
+
const o = this.sizeKey(), d = r.getBoundingClientRect(), a = r[o], l = d[this.posMaxKey()], u = d[this.posMinKey()], C = t.getBoundingClientRect()[o.replace("client", "").toLowerCase()], h = a - C, y = Math.abs(l - u);
|
|
704
|
+
this.state.upperBound === h && this.state.sliderLength === y && this.state.thumbSize === C || this.setState({ upperBound: h, sliderLength: y, thumbSize: C });
|
|
705
705
|
}, s.calcOffset = function(r) {
|
|
706
706
|
const t = this.props.max - this.props.min;
|
|
707
707
|
return t === 0 ? 0 : (r - this.props.min) / t * this.state.upperBound;
|
|
@@ -740,28 +740,28 @@ let mt = function(n) {
|
|
|
740
740
|
const t = this.state.value.slice(), { index: o } = this.state, { length: d } = t, a = t[o];
|
|
741
741
|
if (r === a) return;
|
|
742
742
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
743
|
-
const { pearling: l, max: u, min:
|
|
743
|
+
const { pearling: l, max: u, min: C, minDistance: h } = this.props;
|
|
744
744
|
if (!l) {
|
|
745
745
|
if (o > 0) {
|
|
746
|
-
const
|
|
747
|
-
r <
|
|
746
|
+
const y = t[o - 1];
|
|
747
|
+
r < y + h && (r = y + h);
|
|
748
748
|
}
|
|
749
749
|
if (o < d - 1) {
|
|
750
|
-
const
|
|
751
|
-
r >
|
|
750
|
+
const y = t[o + 1];
|
|
751
|
+
r > y - h && (r = y - h);
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
t[o] = r, l && d > 1 && (r > a ? (this.pushSucceeding(t, h, o), function(
|
|
755
|
-
for (let
|
|
756
|
-
const b =
|
|
757
|
-
|
|
754
|
+
t[o] = r, l && d > 1 && (r > a ? (this.pushSucceeding(t, h, o), function(y, p, g, _) {
|
|
755
|
+
for (let v = 0; v < y; v += 1) {
|
|
756
|
+
const b = _ - v * g;
|
|
757
|
+
p[y - 1 - v] > b && (p[y - 1 - v] = b);
|
|
758
758
|
}
|
|
759
|
-
}(d, t, h, u)) : r < a && (this.pushPreceding(t, h, o), function(
|
|
760
|
-
for (let
|
|
761
|
-
const b =
|
|
762
|
-
|
|
759
|
+
}(d, t, h, u)) : r < a && (this.pushPreceding(t, h, o), function(y, p, g, _) {
|
|
760
|
+
for (let v = 0; v < y; v += 1) {
|
|
761
|
+
const b = _ + v * g;
|
|
762
|
+
p[v] < b && (p[v] = b);
|
|
763
763
|
}
|
|
764
|
-
}(d, t, h,
|
|
764
|
+
}(d, t, h, C))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
765
765
|
}, s.pushSucceeding = function(r, t, o) {
|
|
766
766
|
let d, a;
|
|
767
767
|
for (d = o, a = r[d] + t; r[d + 1] !== null && a > r[d + 1]; d += 1, a = r[d] + t) r[d + 1] = ht(a, this.props);
|
|
@@ -817,10 +817,10 @@ let mt = function(n) {
|
|
|
817
817
|
}(I.Component);
|
|
818
818
|
mt.displayName = "ReactSlider", mt.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, 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: (n) => I.createElement("div", n), renderTrack: (n) => I.createElement("div", n), renderMark: (n) => I.createElement("span", n) };
|
|
819
819
|
var gt = mt;
|
|
820
|
-
const M0 = "_container_4u41i_2",
|
|
820
|
+
const M0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", T0 = "_slider_4u41i_11", F0 = "_thumb_4u41i_17", D0 = "_track_4u41i_26", V0 = "_labels_4u41i_32", ke = {
|
|
821
821
|
container: M0,
|
|
822
|
-
unitLabel:
|
|
823
|
-
slider:
|
|
822
|
+
unitLabel: B0,
|
|
823
|
+
slider: T0,
|
|
824
824
|
thumb: F0,
|
|
825
825
|
track: D0,
|
|
826
826
|
labels: V0
|
|
@@ -835,11 +835,11 @@ const M0 = "_container_4u41i_2", T0 = "_unitLabel_4u41i_8", B0 = "_slider_4u41i_
|
|
|
835
835
|
defaultValue: a,
|
|
836
836
|
isDate: l
|
|
837
837
|
}) => {
|
|
838
|
-
const { t: u } = V(),
|
|
839
|
-
|
|
838
|
+
const { t: u } = V(), C = l ? new Date(n).getTime() : null, h = l ? new Date(c).getTime() : null, [y, p] = O(l ? [C, h] : [n, c]), g = (_) => {
|
|
839
|
+
p(_), r == null || r({ min: _[0], max: _[1] });
|
|
840
840
|
};
|
|
841
841
|
return A(() => {
|
|
842
|
-
a ||
|
|
842
|
+
a || p(l ? [C, h] : [n, c]);
|
|
843
843
|
}, [a, l]), /* @__PURE__ */ m(
|
|
844
844
|
"div",
|
|
845
845
|
{
|
|
@@ -853,10 +853,10 @@ const M0 = "_container_4u41i_2", T0 = "_unitLabel_4u41i_8", B0 = "_slider_4u41i_
|
|
|
853
853
|
className: ke.slider,
|
|
854
854
|
thumbClassName: ke.thumb,
|
|
855
855
|
trackClassName: ke.track,
|
|
856
|
-
min: l ?
|
|
856
|
+
min: l ? C : n,
|
|
857
857
|
max: l ? h : c,
|
|
858
|
-
step: l ? (h -
|
|
859
|
-
value:
|
|
858
|
+
step: l ? (h - C) / 30 : s,
|
|
859
|
+
value: y,
|
|
860
860
|
onAfterChange: g,
|
|
861
861
|
withTracks: !0,
|
|
862
862
|
pearling: !l,
|
|
@@ -864,16 +864,16 @@ const M0 = "_container_4u41i_2", T0 = "_unitLabel_4u41i_8", B0 = "_slider_4u41i_
|
|
|
864
864
|
}
|
|
865
865
|
),
|
|
866
866
|
/* @__PURE__ */ m("div", { className: ke.labels, children: [
|
|
867
|
-
/* @__PURE__ */ i("span", { children: l ? new Date(
|
|
867
|
+
/* @__PURE__ */ i("span", { children: l ? new Date(y[0]).toLocaleDateString("en-EN", {
|
|
868
868
|
day: "2-digit",
|
|
869
869
|
month: "short",
|
|
870
870
|
year: "numeric"
|
|
871
|
-
}) :
|
|
872
|
-
/* @__PURE__ */ i("span", { children: l ? new Date(
|
|
871
|
+
}) : y[0] }),
|
|
872
|
+
/* @__PURE__ */ i("span", { children: l ? new Date(y[1]).toLocaleDateString("en-EN", {
|
|
873
873
|
day: "2-digit",
|
|
874
874
|
month: "short",
|
|
875
875
|
year: "numeric"
|
|
876
|
-
}) :
|
|
876
|
+
}) : y[1] })
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
@@ -908,25 +908,25 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
908
908
|
minValue: a,
|
|
909
909
|
maxValue: l,
|
|
910
910
|
unit: u,
|
|
911
|
-
step:
|
|
911
|
+
step: C,
|
|
912
912
|
disabled: h,
|
|
913
|
-
isDate:
|
|
914
|
-
} = n || {},
|
|
913
|
+
isDate: y
|
|
914
|
+
} = n || {}, p = Be(
|
|
915
915
|
() => t == "cat" || s == "cat",
|
|
916
916
|
[s, t]
|
|
917
|
-
), g =
|
|
917
|
+
), g = Be(
|
|
918
918
|
() => t == "abs" || s == "abs",
|
|
919
919
|
[s, t]
|
|
920
920
|
), {
|
|
921
|
-
tematicalFiltersSelected:
|
|
922
|
-
selectedIndicator:
|
|
921
|
+
tematicalFiltersSelected: _,
|
|
922
|
+
selectedIndicator: v,
|
|
923
923
|
fontColor: b,
|
|
924
|
-
inputsColor:
|
|
924
|
+
inputsColor: w
|
|
925
925
|
} = q((x) => x), $ = (x) => {
|
|
926
926
|
if (x) {
|
|
927
|
-
const { min:
|
|
927
|
+
const { min: N, max: S, valueClicked: k, allValues: L } = x || {}, { code: F, type: T, source: B } = n || {}, P = g ? "abs" : p ? "cat" : "both";
|
|
928
928
|
let R = F[0];
|
|
929
|
-
|
|
929
|
+
T == "both" && (R = P == "cat" ? F[1] : F[0]), P == "cat" ? q.setState((X) => {
|
|
930
930
|
let W = X.tematicalFiltersSelected.find(
|
|
931
931
|
(z) => z.code === R
|
|
932
932
|
);
|
|
@@ -947,14 +947,14 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
947
947
|
let z = (L || []).map((E, se) => se);
|
|
948
948
|
return {
|
|
949
949
|
tematicalFiltersSelected: [
|
|
950
|
-
...
|
|
950
|
+
..._,
|
|
951
951
|
{
|
|
952
952
|
type: "cat",
|
|
953
953
|
code: R,
|
|
954
954
|
values: z.filter((E) => E !== k),
|
|
955
955
|
name: n.name,
|
|
956
|
-
source:
|
|
957
|
-
isDate:
|
|
956
|
+
source: B,
|
|
957
|
+
isDate: y
|
|
958
958
|
}
|
|
959
959
|
]
|
|
960
960
|
};
|
|
@@ -963,14 +963,14 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
963
963
|
let W = X.tematicalFiltersSelected.find(
|
|
964
964
|
(z) => z.code === R
|
|
965
965
|
);
|
|
966
|
-
if (
|
|
966
|
+
if (N == n.minValue && S == n.maxValue)
|
|
967
967
|
return {
|
|
968
968
|
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
969
969
|
(z) => z.code !== R
|
|
970
970
|
)
|
|
971
971
|
};
|
|
972
972
|
if (W) {
|
|
973
|
-
let z = { ...W, min:
|
|
973
|
+
let z = { ...W, min: N, max: S, type: P, isDate: y };
|
|
974
974
|
return {
|
|
975
975
|
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
976
976
|
(E) => E.code === R ? z : E
|
|
@@ -979,11 +979,11 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
979
979
|
} else
|
|
980
980
|
return {
|
|
981
981
|
tematicalFiltersSelected: [
|
|
982
|
-
...
|
|
982
|
+
..._,
|
|
983
983
|
{
|
|
984
984
|
type: P,
|
|
985
985
|
code: R,
|
|
986
|
-
min:
|
|
986
|
+
min: N,
|
|
987
987
|
max: S,
|
|
988
988
|
name: n.name,
|
|
989
989
|
source: n.source
|
|
@@ -992,13 +992,13 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
992
992
|
};
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
|
-
},
|
|
995
|
+
}, f = Be(() => {
|
|
996
996
|
const x = {};
|
|
997
|
-
if ((
|
|
998
|
-
for (const
|
|
999
|
-
|
|
997
|
+
if ((_ == null ? void 0 : _.length) > 0)
|
|
998
|
+
for (const N of _)
|
|
999
|
+
N.type === "cat" ? x[N.code] = new Set(N.values) : x[N.code] = [N.min, N.max];
|
|
1000
1000
|
return x;
|
|
1001
|
-
}, [
|
|
1001
|
+
}, [_]);
|
|
1002
1002
|
return /* @__PURE__ */ i("div", { className: je.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
|
|
1003
1003
|
Ne,
|
|
1004
1004
|
{
|
|
@@ -1008,10 +1008,10 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
1008
1008
|
opacity: h ? 0.5 : 1
|
|
1009
1009
|
},
|
|
1010
1010
|
title: o,
|
|
1011
|
-
isOpen:
|
|
1011
|
+
isOpen: v == `id${o}`,
|
|
1012
1012
|
onClick: () => {
|
|
1013
1013
|
h || q.setState(() => ({
|
|
1014
|
-
selectedIndicator:
|
|
1014
|
+
selectedIndicator: v == `id${o}` ? "" : `id${o}`
|
|
1015
1015
|
}));
|
|
1016
1016
|
},
|
|
1017
1017
|
showBottomBar: !1,
|
|
@@ -1039,8 +1039,8 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
1039
1039
|
},
|
|
1040
1040
|
style: {
|
|
1041
1041
|
marginRight: 4,
|
|
1042
|
-
backgroundColor: s == "abs" ?
|
|
1043
|
-
border: `1.5px solid ${s == "abs" ?
|
|
1042
|
+
backgroundColor: s == "abs" ? w : "white",
|
|
1043
|
+
border: `1.5px solid ${s == "abs" ? w : b}`
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
),
|
|
@@ -1058,8 +1058,8 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
1058
1058
|
},
|
|
1059
1059
|
style: {
|
|
1060
1060
|
marginRight: 4,
|
|
1061
|
-
backgroundColor: s == "cat" ?
|
|
1062
|
-
border: `1.5px solid ${s == "cat" ?
|
|
1061
|
+
backgroundColor: s == "cat" ? w : "white",
|
|
1062
|
+
border: `1.5px solid ${s == "cat" ? w : b}`
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
),
|
|
@@ -1068,16 +1068,16 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
1068
1068
|
]
|
|
1069
1069
|
}
|
|
1070
1070
|
),
|
|
1071
|
-
|
|
1071
|
+
p && /* @__PURE__ */ i("div", { className: je.checkboxContainer, children: (d || []).map((x, N) => {
|
|
1072
1072
|
var S;
|
|
1073
1073
|
return /* @__PURE__ */ i(
|
|
1074
1074
|
Jt,
|
|
1075
1075
|
{
|
|
1076
|
-
onClick: () => $({ valueClicked:
|
|
1076
|
+
onClick: () => $({ valueClicked: N, allValues: d }),
|
|
1077
1077
|
indicator: x,
|
|
1078
|
-
value: ((S =
|
|
1078
|
+
value: ((S = f[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(N)) || !f[n.code[t == "both" ? 1 : 0]]
|
|
1079
1079
|
},
|
|
1080
|
-
`checkbox-${
|
|
1080
|
+
`checkbox-${N}`
|
|
1081
1081
|
);
|
|
1082
1082
|
}) }),
|
|
1083
1083
|
(g || t == "glb") && /* @__PURE__ */ i("div", { className: je.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
@@ -1087,9 +1087,9 @@ const A0 = "_tematicalFiltersInputContainer_1vm1r_2", O0 = "_inputTypeContainer_
|
|
|
1087
1087
|
min: a,
|
|
1088
1088
|
max: l,
|
|
1089
1089
|
unit: u,
|
|
1090
|
-
defaultValue:
|
|
1091
|
-
isDate:
|
|
1092
|
-
step:
|
|
1090
|
+
defaultValue: f[n.code[0]] ? f[n.code[0]] : "",
|
|
1091
|
+
isDate: y,
|
|
1092
|
+
step: C
|
|
1093
1093
|
}
|
|
1094
1094
|
) })
|
|
1095
1095
|
]
|
|
@@ -1217,7 +1217,7 @@ const n2 = ({
|
|
|
1217
1217
|
inputsColor: t = "#605B56",
|
|
1218
1218
|
activeColor: o
|
|
1219
1219
|
}) => {
|
|
1220
|
-
const { tematicalFiltersSelected: d, activeFiltersType: a } = q((
|
|
1220
|
+
const { tematicalFiltersSelected: d, activeFiltersType: a } = q((C) => C), { t: l } = V();
|
|
1221
1221
|
A(() => {
|
|
1222
1222
|
}, [d]), A(() => {
|
|
1223
1223
|
r && q.setState(() => ({ fontColor: r }));
|
|
@@ -1236,10 +1236,10 @@ const n2 = ({
|
|
|
1236
1236
|
activeColor: o,
|
|
1237
1237
|
onClick: u,
|
|
1238
1238
|
mainTitle: !0,
|
|
1239
|
-
children: n == null ? void 0 : n.map((
|
|
1239
|
+
children: n == null ? void 0 : n.map((C, h) => /* @__PURE__ */ i(
|
|
1240
1240
|
t2,
|
|
1241
1241
|
{
|
|
1242
|
-
category:
|
|
1242
|
+
category: C,
|
|
1243
1243
|
fontColor: r,
|
|
1244
1244
|
activeColor: o
|
|
1245
1245
|
},
|
|
@@ -1277,59 +1277,59 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1277
1277
|
onChangeAppliedFilters: a,
|
|
1278
1278
|
saveAmbit: l,
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
|
-
descPlaceholder:
|
|
1280
|
+
descPlaceholder: C,
|
|
1281
1281
|
filtersTypes: h = ["geographical", "tematical"],
|
|
1282
|
-
nameRequiredText:
|
|
1283
|
-
geoLayers:
|
|
1282
|
+
nameRequiredText: y,
|
|
1283
|
+
geoLayers: p = [],
|
|
1284
1284
|
onGeoLayersChange: g,
|
|
1285
|
-
onlyFilters:
|
|
1285
|
+
onlyFilters: _ = !1,
|
|
1286
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1287
|
-
descriptionRequired:
|
|
1287
|
+
descriptionRequired: v = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t: b } = V(), { tematicalFiltersSelected:
|
|
1291
|
-
(
|
|
1292
|
-
), [
|
|
1290
|
+
const { t: b } = V(), { tematicalFiltersSelected: w, activeFiltersType: $ } = q(
|
|
1291
|
+
(T) => T
|
|
1292
|
+
), [f, x] = O(n || null), [N, S] = O(c || null), [k, L] = O(!1);
|
|
1293
1293
|
A(() => {
|
|
1294
1294
|
q.setState({
|
|
1295
1295
|
tematicalFiltersSelected: s || []
|
|
1296
1296
|
});
|
|
1297
1297
|
}, [s]), te(!1), A(() => {
|
|
1298
|
-
a(
|
|
1299
|
-
}, [
|
|
1298
|
+
a(w);
|
|
1299
|
+
}, [w]);
|
|
1300
1300
|
const F = () => {
|
|
1301
|
-
|
|
1301
|
+
v ? f && N ? l({ name: f, description: N }) : L(!0) : f ? l({ name: f, description: N }) : L(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return A(() => {
|
|
1304
|
-
if (h.includes("geographical") && $ != "geographical" &&
|
|
1305
|
-
const
|
|
1306
|
-
...
|
|
1304
|
+
if (h.includes("geographical") && $ != "geographical" && p.length > 0) {
|
|
1305
|
+
const T = p.map((B) => ({
|
|
1306
|
+
...B,
|
|
1307
1307
|
active: !1
|
|
1308
1308
|
}));
|
|
1309
|
-
g == null || g(
|
|
1309
|
+
g == null || g(T);
|
|
1310
1310
|
}
|
|
1311
1311
|
}, [$]), /* @__PURE__ */ m("div", { className: ge.FiltersAmbitContainer, children: [
|
|
1312
1312
|
/* @__PURE__ */ m("div", { className: ge.FiltersContainer, children: [
|
|
1313
|
-
!
|
|
1313
|
+
!_ && /* @__PURE__ */ m("div", { className: ge.FiltersAmbitHeader, children: [
|
|
1314
1314
|
/* @__PURE__ */ i("div", { className: ge.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1315
1315
|
"input",
|
|
1316
1316
|
{
|
|
1317
1317
|
type: "text",
|
|
1318
|
-
onChange: (
|
|
1319
|
-
L(!1), x(
|
|
1318
|
+
onChange: (T) => {
|
|
1319
|
+
L(!1), x(T.target.value);
|
|
1320
1320
|
},
|
|
1321
|
-
value:
|
|
1321
|
+
value: f,
|
|
1322
1322
|
placeholder: b(u)
|
|
1323
1323
|
}
|
|
1324
1324
|
) }),
|
|
1325
1325
|
/* @__PURE__ */ i("div", { className: ge.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: ge.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1326
1326
|
"textarea",
|
|
1327
1327
|
{
|
|
1328
|
-
value:
|
|
1329
|
-
onChange: (
|
|
1330
|
-
|
|
1328
|
+
value: N,
|
|
1329
|
+
onChange: (T) => {
|
|
1330
|
+
v && L(!1), S(T.target.value);
|
|
1331
1331
|
},
|
|
1332
|
-
placeholder: b(
|
|
1332
|
+
placeholder: b(C)
|
|
1333
1333
|
}
|
|
1334
1334
|
) }) })
|
|
1335
1335
|
] }),
|
|
@@ -1348,7 +1348,7 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1348
1348
|
{
|
|
1349
1349
|
title: "geo_filters",
|
|
1350
1350
|
activeColor: t,
|
|
1351
|
-
geoLayers:
|
|
1351
|
+
geoLayers: p,
|
|
1352
1352
|
onGeoLayersChange: g
|
|
1353
1353
|
}
|
|
1354
1354
|
),
|
|
@@ -1363,8 +1363,8 @@ const E0 = "_FiltersAmbitContainer_1hv16_2", q0 = "_FiltersContainer_1hv16_15",
|
|
|
1363
1363
|
}
|
|
1364
1364
|
)
|
|
1365
1365
|
] }),
|
|
1366
|
-
!
|
|
1367
|
-
k && /* @__PURE__ */ i("div", { className: ge.warning, children: b(
|
|
1366
|
+
!_ && /* @__PURE__ */ m("div", { className: ge.buttonContainer, children: [
|
|
1367
|
+
k && /* @__PURE__ */ i("div", { className: ge.warning, children: b(y) }),
|
|
1368
1368
|
/* @__PURE__ */ i(Qe, { onClick: () => F(), children: b("save_ambit") })
|
|
1369
1369
|
] })
|
|
1370
1370
|
] });
|
|
@@ -1403,30 +1403,30 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1403
1403
|
orientation: a = "horizontal",
|
|
1404
1404
|
horizontalPadding: l = a == "vertical" ? 50 : 20,
|
|
1405
1405
|
verticalPadding: u = 10,
|
|
1406
|
-
xLabelPadding:
|
|
1406
|
+
xLabelPadding: C = a == "vertical" ? 50 : 40,
|
|
1407
1407
|
containerWidth: h = 700,
|
|
1408
|
-
containerHeight:
|
|
1408
|
+
containerHeight: y = 500
|
|
1409
1409
|
}) => {
|
|
1410
1410
|
const {
|
|
1411
|
-
xScale:
|
|
1411
|
+
xScale: p,
|
|
1412
1412
|
yScale: g,
|
|
1413
|
-
ticks:
|
|
1414
|
-
height:
|
|
1413
|
+
ticks: _,
|
|
1414
|
+
height: v,
|
|
1415
1415
|
chartWidth: b,
|
|
1416
|
-
svgWidth:
|
|
1416
|
+
svgWidth: w,
|
|
1417
1417
|
svgHeight: $,
|
|
1418
|
-
contentWidth:
|
|
1419
|
-
} =
|
|
1418
|
+
contentWidth: f
|
|
1419
|
+
} = Be(() => {
|
|
1420
1420
|
if (n && n.length > 0) {
|
|
1421
|
-
const x = tt.max(n, (S) => S.value) || 1,
|
|
1421
|
+
const x = tt.max(n, (S) => S.value) || 1, N = d || x;
|
|
1422
1422
|
if (a === "vertical") {
|
|
1423
|
-
const S = n.length * (c + s) + l * 2, k = Math.max(S, h || 0), L =
|
|
1423
|
+
const S = n.length * (c + s) + l * 2, k = Math.max(S, h || 0), L = y, T = tt.scaleLinear().domain([0, N]).range([L - 100, u]), B = Array.from(
|
|
1424
1424
|
{ length: o + 1 },
|
|
1425
|
-
(P, R) =>
|
|
1425
|
+
(P, R) => N / o * R
|
|
1426
1426
|
);
|
|
1427
1427
|
return {
|
|
1428
|
-
yScale:
|
|
1429
|
-
ticks:
|
|
1428
|
+
yScale: T,
|
|
1429
|
+
ticks: B,
|
|
1430
1430
|
height: L,
|
|
1431
1431
|
chartWidth: k,
|
|
1432
1432
|
svgWidth: k,
|
|
@@ -1436,13 +1436,13 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1436
1436
|
} else {
|
|
1437
1437
|
const S = n.length * (c + s);
|
|
1438
1438
|
console.log("barsHeight: ", S);
|
|
1439
|
-
const k = S + u * 2 +
|
|
1439
|
+
const k = S + u * 2 + C + 30, L = h + t + l * 2, F = tt.scaleLinear().domain([0, N]).range([0, h - l * 2]), T = Array.from(
|
|
1440
1440
|
{ length: o + 1 },
|
|
1441
|
-
(
|
|
1441
|
+
(B, P) => N / o * P
|
|
1442
1442
|
);
|
|
1443
1443
|
return {
|
|
1444
1444
|
xScale: F,
|
|
1445
|
-
ticks:
|
|
1445
|
+
ticks: T,
|
|
1446
1446
|
height: k,
|
|
1447
1447
|
chartWidth: h,
|
|
1448
1448
|
svgWidth: L,
|
|
@@ -1469,29 +1469,29 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1469
1469
|
a,
|
|
1470
1470
|
t,
|
|
1471
1471
|
h,
|
|
1472
|
-
|
|
1472
|
+
y
|
|
1473
1473
|
]);
|
|
1474
1474
|
return a === "vertical" ? /* @__PURE__ */ i(
|
|
1475
1475
|
"div",
|
|
1476
1476
|
{
|
|
1477
1477
|
style: {
|
|
1478
1478
|
width: h ? `${h}px` : "100%",
|
|
1479
|
-
height:
|
|
1479
|
+
height: y ? `${y}px` : "100%"
|
|
1480
1480
|
},
|
|
1481
1481
|
className: Lt.barChartContainer,
|
|
1482
1482
|
children: /* @__PURE__ */ i(
|
|
1483
1483
|
"svg",
|
|
1484
1484
|
{
|
|
1485
|
-
width:
|
|
1485
|
+
width: w,
|
|
1486
1486
|
height: $,
|
|
1487
1487
|
style: {
|
|
1488
1488
|
display: "block",
|
|
1489
|
-
width:
|
|
1489
|
+
width: w,
|
|
1490
1490
|
height: $,
|
|
1491
1491
|
maxWidth: "none"
|
|
1492
1492
|
},
|
|
1493
1493
|
children: /* @__PURE__ */ m("g", { transform: `translate(${l}, 0)`, children: [
|
|
1494
|
-
/* @__PURE__ */ i("g", { children:
|
|
1494
|
+
/* @__PURE__ */ i("g", { children: _.map((x, N) => {
|
|
1495
1495
|
const S = g(x);
|
|
1496
1496
|
return /* @__PURE__ */ m("g", { children: [
|
|
1497
1497
|
/* @__PURE__ */ i(
|
|
@@ -1515,10 +1515,10 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1515
1515
|
children: parseInt(x)
|
|
1516
1516
|
}
|
|
1517
1517
|
)
|
|
1518
|
-
] },
|
|
1518
|
+
] }, N);
|
|
1519
1519
|
}) }),
|
|
1520
|
-
n && n.length > 0 && n.map((x,
|
|
1521
|
-
const S = g(0) - g(x.value), k =
|
|
1520
|
+
n && n.length > 0 && n.map((x, N) => {
|
|
1521
|
+
const S = g(0) - g(x.value), k = N * (c + s), L = g(x.value);
|
|
1522
1522
|
return /* @__PURE__ */ m("g", { children: [
|
|
1523
1523
|
/* @__PURE__ */ i(
|
|
1524
1524
|
"rect",
|
|
@@ -1535,15 +1535,15 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1535
1535
|
"text",
|
|
1536
1536
|
{
|
|
1537
1537
|
x: k + c / 2,
|
|
1538
|
-
y:
|
|
1538
|
+
y: v - C,
|
|
1539
1539
|
textAnchor: "start",
|
|
1540
1540
|
fill: r,
|
|
1541
1541
|
fontSize: 12,
|
|
1542
|
-
transform: `rotate(-90, ${k + c / 2}, ${
|
|
1542
|
+
transform: `rotate(-90, ${k + c / 2}, ${v - C})`,
|
|
1543
1543
|
children: x.title
|
|
1544
1544
|
}
|
|
1545
1545
|
)
|
|
1546
|
-
] },
|
|
1546
|
+
] }, N);
|
|
1547
1547
|
})
|
|
1548
1548
|
] })
|
|
1549
1549
|
}
|
|
@@ -1554,23 +1554,23 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1554
1554
|
{
|
|
1555
1555
|
style: {
|
|
1556
1556
|
width: h ? `${h}px` : "100%",
|
|
1557
|
-
height:
|
|
1557
|
+
height: y ? `${y}px` : "100%"
|
|
1558
1558
|
},
|
|
1559
1559
|
className: Lt.barChartContainer,
|
|
1560
1560
|
children: /* @__PURE__ */ i(
|
|
1561
1561
|
"svg",
|
|
1562
1562
|
{
|
|
1563
|
-
width:
|
|
1563
|
+
width: w,
|
|
1564
1564
|
height: $,
|
|
1565
1565
|
style: {
|
|
1566
1566
|
minWidth: "100%",
|
|
1567
1567
|
height: $,
|
|
1568
|
-
width:
|
|
1568
|
+
width: f,
|
|
1569
1569
|
maxWidth: "none"
|
|
1570
1570
|
},
|
|
1571
1571
|
children: /* @__PURE__ */ m("g", { transform: `translate(0,${u})`, children: [
|
|
1572
|
-
/* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children:
|
|
1573
|
-
const S =
|
|
1572
|
+
/* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children: _.map((x, N) => {
|
|
1573
|
+
const S = p(x);
|
|
1574
1574
|
return /* @__PURE__ */ m("g", { transform: `translate(${S}, 0)`, children: [
|
|
1575
1575
|
/* @__PURE__ */ i(
|
|
1576
1576
|
"line",
|
|
@@ -1590,10 +1590,10 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1590
1590
|
children: parseInt(x)
|
|
1591
1591
|
}
|
|
1592
1592
|
)
|
|
1593
|
-
] },
|
|
1593
|
+
] }, N);
|
|
1594
1594
|
}) }),
|
|
1595
|
-
n && n.length > 0 && n.map((x,
|
|
1596
|
-
const S =
|
|
1595
|
+
n && n.length > 0 && n.map((x, N) => {
|
|
1596
|
+
const S = p(x.value), k = N * (c + s);
|
|
1597
1597
|
return console.log("y: ", k), /* @__PURE__ */ m(
|
|
1598
1598
|
"g",
|
|
1599
1599
|
{
|
|
@@ -1621,7 +1621,7 @@ const U0 = "_barChartContainer_1each_2", Lt = {
|
|
|
1621
1621
|
)
|
|
1622
1622
|
]
|
|
1623
1623
|
},
|
|
1624
|
-
|
|
1624
|
+
N
|
|
1625
1625
|
);
|
|
1626
1626
|
})
|
|
1627
1627
|
] })
|
|
@@ -1667,7 +1667,7 @@ const G0 = "_graphicContainer_c9zrg_2", X0 = "_titleContainer_c9zrg_14", Mt = {
|
|
|
1667
1667
|
numberOfDivisions: a = 7,
|
|
1668
1668
|
leftPadding: l = -200,
|
|
1669
1669
|
orientation: u = "horizontal",
|
|
1670
|
-
xLabelPadding:
|
|
1670
|
+
xLabelPadding: C = 0
|
|
1671
1671
|
}) => {
|
|
1672
1672
|
const { t: h } = V();
|
|
1673
1673
|
return /* @__PURE__ */ m(
|
|
@@ -1691,7 +1691,7 @@ const G0 = "_graphicContainer_c9zrg_2", X0 = "_titleContainer_c9zrg_14", Mt = {
|
|
|
1691
1691
|
numberOfDivisions: a,
|
|
1692
1692
|
leftPadding: l,
|
|
1693
1693
|
orientation: u,
|
|
1694
|
-
xLabelPadding:
|
|
1694
|
+
xLabelPadding: C
|
|
1695
1695
|
}
|
|
1696
1696
|
)
|
|
1697
1697
|
]
|
|
@@ -1742,15 +1742,15 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1742
1742
|
multiple: a = !1,
|
|
1743
1743
|
onChangeType: l
|
|
1744
1744
|
}) => {
|
|
1745
|
-
const { t: u } = V(), { name:
|
|
1745
|
+
const { t: u } = V(), { name: C, type: h, disabled: y } = n, [p, g] = O(!1);
|
|
1746
1746
|
A(() => {
|
|
1747
1747
|
t && g(
|
|
1748
1748
|
a ? t.some(
|
|
1749
|
-
(b) => b.name == String(
|
|
1750
|
-
) : t.name ==
|
|
1749
|
+
(b) => b.name == String(C)
|
|
1750
|
+
) : t.name == C
|
|
1751
1751
|
);
|
|
1752
1752
|
}, [t]);
|
|
1753
|
-
const
|
|
1753
|
+
const _ = () => /* @__PURE__ */ i("div", { className: G.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: G.switchType, children: /* @__PURE__ */ m("div", { className: G.switchTypeOptions, children: [
|
|
1754
1754
|
/* @__PURE__ */ m(
|
|
1755
1755
|
"div",
|
|
1756
1756
|
{
|
|
@@ -1809,7 +1809,7 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1809
1809
|
]
|
|
1810
1810
|
}
|
|
1811
1811
|
)
|
|
1812
|
-
] }) }) }),
|
|
1812
|
+
] }) }) }), v = () => /* @__PURE__ */ i("div", { className: G.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: G.switchType, children: /* @__PURE__ */ i("div", { className: G.switchTypeOptions, children: c.map((b, w) => /* @__PURE__ */ m(
|
|
1813
1813
|
"div",
|
|
1814
1814
|
{
|
|
1815
1815
|
className: G.optionContainer,
|
|
@@ -1823,25 +1823,25 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1823
1823
|
/* @__PURE__ */ i("h4", { children: u(b.unit) })
|
|
1824
1824
|
]
|
|
1825
1825
|
},
|
|
1826
|
-
|
|
1826
|
+
w
|
|
1827
1827
|
)) }) }) });
|
|
1828
1828
|
return /* @__PURE__ */ m("div", { className: G.indicatorContainer, children: [
|
|
1829
1829
|
/* @__PURE__ */ m(
|
|
1830
1830
|
"div",
|
|
1831
1831
|
{
|
|
1832
1832
|
className: G.indicatorNameContainer,
|
|
1833
|
-
onClick: () => !
|
|
1833
|
+
onClick: () => !y && d({ indicator: n }),
|
|
1834
1834
|
children: [
|
|
1835
1835
|
/* @__PURE__ */ i(
|
|
1836
1836
|
"div",
|
|
1837
1837
|
{
|
|
1838
1838
|
style: {
|
|
1839
|
-
border:
|
|
1840
|
-
opacity:
|
|
1841
|
-
backgroundColor:
|
|
1839
|
+
border: p ? `1px solid ${s}` : `1px solid ${r}`,
|
|
1840
|
+
opacity: y ? 0.5 : 1,
|
|
1841
|
+
backgroundColor: p ? s : "transparent"
|
|
1842
1842
|
},
|
|
1843
1843
|
className: G.dot,
|
|
1844
|
-
children: a && /* @__PURE__ */ i("img", { src:
|
|
1844
|
+
children: a && /* @__PURE__ */ i("img", { src: p ? nn : tn, alt: "" })
|
|
1845
1845
|
}
|
|
1846
1846
|
),
|
|
1847
1847
|
/* @__PURE__ */ i(
|
|
@@ -1849,13 +1849,13 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1849
1849
|
{
|
|
1850
1850
|
className: G.indicatorName,
|
|
1851
1851
|
style: {
|
|
1852
|
-
color:
|
|
1853
|
-
opacity:
|
|
1852
|
+
color: p ? s : r,
|
|
1853
|
+
opacity: y ? 0.5 : 1
|
|
1854
1854
|
},
|
|
1855
1855
|
children: /* @__PURE__ */ i(
|
|
1856
1856
|
yt,
|
|
1857
1857
|
{
|
|
1858
|
-
i18nKey:
|
|
1858
|
+
i18nKey: C,
|
|
1859
1859
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
1860
1860
|
shouldUnescape: !0
|
|
1861
1861
|
}
|
|
@@ -1865,8 +1865,8 @@ const J0 = "_indicatorsCategory_arwy3_2", Y0 = "_title_arwy3_5", en = "_list_arw
|
|
|
1865
1865
|
]
|
|
1866
1866
|
}
|
|
1867
1867
|
),
|
|
1868
|
-
(t == null ? void 0 : t.name) ===
|
|
1869
|
-
(t == null ? void 0 : t.name) ===
|
|
1868
|
+
(t == null ? void 0 : t.name) === C && h === "both" && /* @__PURE__ */ i("div", { children: _() }),
|
|
1869
|
+
(t == null ? void 0 : t.name) === C && h === "twoUnits" && /* @__PURE__ */ i("div", { children: v() })
|
|
1870
1870
|
] });
|
|
1871
1871
|
};
|
|
1872
1872
|
vt.propTypes = {
|
|
@@ -1881,7 +1881,7 @@ vt.propTypes = {
|
|
|
1881
1881
|
multiple: e.bool,
|
|
1882
1882
|
onClickIndicator: e.func
|
|
1883
1883
|
};
|
|
1884
|
-
const mn = "_indicatorsSubCategory_1nuug_2", gn = "_list_1nuug_11",
|
|
1884
|
+
const mn = "_indicatorsSubCategory_1nuug_2", gn = "_list_1nuug_11", Bt = {
|
|
1885
1885
|
indicatorsSubCategory: mn,
|
|
1886
1886
|
list: gn
|
|
1887
1887
|
}, s2 = ({
|
|
@@ -1895,43 +1895,43 @@ const mn = "_indicatorsSubCategory_1nuug_2", gn = "_list_1nuug_11", Tt = {
|
|
|
1895
1895
|
activeIndicator: a,
|
|
1896
1896
|
onClickIndicator: l,
|
|
1897
1897
|
multiple: u,
|
|
1898
|
-
activeIndicatorType:
|
|
1898
|
+
activeIndicatorType: C,
|
|
1899
1899
|
onChangeType: h
|
|
1900
1900
|
}) => {
|
|
1901
|
-
const { t:
|
|
1901
|
+
const { t: y } = V(), [p, g] = O(!1);
|
|
1902
1902
|
return A(() => {
|
|
1903
1903
|
g(t == d);
|
|
1904
1904
|
}, [t, d]), /* @__PURE__ */ m(
|
|
1905
1905
|
bt.div,
|
|
1906
1906
|
{
|
|
1907
|
-
className:
|
|
1907
|
+
className: Bt.indicatorsSubCategory,
|
|
1908
1908
|
initial: { height: "43px" },
|
|
1909
|
-
animate: { height:
|
|
1909
|
+
animate: { height: p ? "auto" : "43px" },
|
|
1910
1910
|
transition: { duration: 0.4 },
|
|
1911
1911
|
children: [
|
|
1912
|
-
/* @__PURE__ */ i("button", { onClick: () => o(d), children: /* @__PURE__ */ m("h3", { style: { color:
|
|
1913
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1912
|
+
/* @__PURE__ */ i("button", { onClick: () => o(d), children: /* @__PURE__ */ m("h3", { style: { color: p ? r : s }, children: [
|
|
1913
|
+
/* @__PURE__ */ i("span", { style: { color: p ? r : s }, children: p ? "-" : "+" }),
|
|
1914
1914
|
/* @__PURE__ */ i(
|
|
1915
1915
|
"span",
|
|
1916
1916
|
{
|
|
1917
|
-
style: { color:
|
|
1918
|
-
children:
|
|
1917
|
+
style: { color: p ? r : s },
|
|
1918
|
+
children: y(n)
|
|
1919
1919
|
}
|
|
1920
1920
|
)
|
|
1921
1921
|
] }) }),
|
|
1922
|
-
c && /* @__PURE__ */ i("div", { className:
|
|
1922
|
+
c && /* @__PURE__ */ i("div", { className: Bt.list, children: c == null ? void 0 : c.map((_, v) => /* @__PURE__ */ i(
|
|
1923
1923
|
vt,
|
|
1924
1924
|
{
|
|
1925
|
-
indicator:
|
|
1925
|
+
indicator: _,
|
|
1926
1926
|
defaultColor: s,
|
|
1927
1927
|
activeColor: r,
|
|
1928
1928
|
activeIndicator: a,
|
|
1929
1929
|
onClickIndicator: l,
|
|
1930
1930
|
multiple: u,
|
|
1931
|
-
activeIndicatorType:
|
|
1931
|
+
activeIndicatorType: C,
|
|
1932
1932
|
onChangeType: h
|
|
1933
1933
|
},
|
|
1934
|
-
"indicator" +
|
|
1934
|
+
"indicator" + v
|
|
1935
1935
|
)) })
|
|
1936
1936
|
]
|
|
1937
1937
|
}
|
|
@@ -1960,14 +1960,14 @@ const r2 = ({
|
|
|
1960
1960
|
onClickSubCategory: a,
|
|
1961
1961
|
activeIndicator: l,
|
|
1962
1962
|
onClickIndicator: u,
|
|
1963
|
-
multiple:
|
|
1963
|
+
multiple: C,
|
|
1964
1964
|
activeIndicatorType: h,
|
|
1965
|
-
onChangeType:
|
|
1965
|
+
onChangeType: y
|
|
1966
1966
|
}) => {
|
|
1967
|
-
var
|
|
1968
|
-
const { t:
|
|
1967
|
+
var v;
|
|
1968
|
+
const { t: p } = V(), [g, _] = O(!1);
|
|
1969
1969
|
return A(() => {
|
|
1970
|
-
|
|
1970
|
+
_(o === c);
|
|
1971
1971
|
}, [o, c]), /* @__PURE__ */ m(
|
|
1972
1972
|
bt.div,
|
|
1973
1973
|
{
|
|
@@ -1987,30 +1987,30 @@ const r2 = ({
|
|
|
1987
1987
|
"span",
|
|
1988
1988
|
{
|
|
1989
1989
|
style: { color: g ? s : r },
|
|
1990
|
-
children:
|
|
1990
|
+
children: p(n.name)
|
|
1991
1991
|
}
|
|
1992
1992
|
)
|
|
1993
1993
|
] }),
|
|
1994
1994
|
n.subcategories ? n.subcategories.map(
|
|
1995
|
-
({ name: b, subcategory:
|
|
1995
|
+
({ name: b, subcategory: w, indicators: $ }, f) => /* @__PURE__ */ i(
|
|
1996
1996
|
s2,
|
|
1997
1997
|
{
|
|
1998
|
-
id:
|
|
1998
|
+
id: w,
|
|
1999
1999
|
activeSubCategory: d,
|
|
2000
2000
|
subcName: b,
|
|
2001
2001
|
onClickSubCategory: a,
|
|
2002
2002
|
activeIndicator: l,
|
|
2003
2003
|
onClickIndicator: u,
|
|
2004
|
-
multiple:
|
|
2004
|
+
multiple: C,
|
|
2005
2005
|
activeColor: s,
|
|
2006
2006
|
defaultColor: r,
|
|
2007
2007
|
indicators: $,
|
|
2008
2008
|
activeIndicatorType: h,
|
|
2009
|
-
onChangeType:
|
|
2009
|
+
onChangeType: y
|
|
2010
2010
|
},
|
|
2011
|
-
`subcKey ${
|
|
2011
|
+
`subcKey ${f}`
|
|
2012
2012
|
)
|
|
2013
|
-
) : /* @__PURE__ */ i("div", { className: He.list, children: (
|
|
2013
|
+
) : /* @__PURE__ */ i("div", { className: He.list, children: (v = n.indicators) == null ? void 0 : v.map((b, w) => /* @__PURE__ */ i(
|
|
2014
2014
|
vt,
|
|
2015
2015
|
{
|
|
2016
2016
|
indicator: b,
|
|
@@ -2019,11 +2019,11 @@ const r2 = ({
|
|
|
2019
2019
|
defaultColor: r,
|
|
2020
2020
|
activeIndicator: l,
|
|
2021
2021
|
onClickIndicator: u,
|
|
2022
|
-
multiple:
|
|
2022
|
+
multiple: C,
|
|
2023
2023
|
activeIndicatorType: h,
|
|
2024
|
-
onChangeType:
|
|
2024
|
+
onChangeType: y
|
|
2025
2025
|
},
|
|
2026
|
-
`indicator${
|
|
2026
|
+
`indicator${w}`
|
|
2027
2027
|
)) })
|
|
2028
2028
|
]
|
|
2029
2029
|
}
|
|
@@ -2043,7 +2043,7 @@ r2.propTypes = {
|
|
|
2043
2043
|
activeColor: e.string,
|
|
2044
2044
|
defaultColor: e.string
|
|
2045
2045
|
};
|
|
2046
|
-
const Cn = "_indicatorsList_13b3m_2", fn = "_title_13b3m_6",
|
|
2046
|
+
const Cn = "_indicatorsList_13b3m_2", fn = "_title_13b3m_6", Tt = {
|
|
2047
2047
|
indicatorsList: Cn,
|
|
2048
2048
|
title: fn
|
|
2049
2049
|
}, yn = ({
|
|
@@ -2060,71 +2060,71 @@ const Cn = "_indicatorsList_13b3m_2", fn = "_title_13b3m_6", Bt = {
|
|
|
2060
2060
|
changeIndType: d,
|
|
2061
2061
|
activeIndicatorType: a
|
|
2062
2062
|
}) => {
|
|
2063
|
-
const { t: l } = V(), [u,
|
|
2064
|
-
|
|
2065
|
-
},
|
|
2066
|
-
|
|
2067
|
-
}, b = ({ indicator:
|
|
2068
|
-
|
|
2069
|
-
},
|
|
2063
|
+
const { t: l } = V(), [u, C] = O(), [h, y] = O(), [p, g] = O(), _ = (f) => {
|
|
2064
|
+
C(u == f ? null : f);
|
|
2065
|
+
}, v = (f) => {
|
|
2066
|
+
y(h == f ? null : f);
|
|
2067
|
+
}, b = ({ indicator: f }) => {
|
|
2068
|
+
w(f);
|
|
2069
|
+
}, w = (f) => {
|
|
2070
2070
|
if (!t)
|
|
2071
2071
|
g(
|
|
2072
|
-
(
|
|
2072
|
+
(p == null ? void 0 : p.name) == f.name ? null : f
|
|
2073
2073
|
);
|
|
2074
2074
|
else {
|
|
2075
|
-
let x =
|
|
2075
|
+
let x = p && p.length > 0 ? [...p] : [];
|
|
2076
2076
|
g(
|
|
2077
2077
|
x != null && x.some(
|
|
2078
|
-
(
|
|
2078
|
+
(N) => N.name == f.name
|
|
2079
2079
|
) ? x.filter(
|
|
2080
|
-
(
|
|
2081
|
-
) : [...x,
|
|
2082
|
-
),
|
|
2080
|
+
(N) => N.name != String(f.name)
|
|
2081
|
+
) : [...x, f]
|
|
2082
|
+
), f.type == "both" && d("cat");
|
|
2083
2083
|
}
|
|
2084
2084
|
};
|
|
2085
2085
|
A(() => {
|
|
2086
|
-
r && typeof r == "function" &&
|
|
2087
|
-
}, [
|
|
2088
|
-
if (o && !
|
|
2086
|
+
r && typeof r == "function" && p && r({ activeIndicator: p });
|
|
2087
|
+
}, [p]), b2(() => {
|
|
2088
|
+
if (o && !p)
|
|
2089
2089
|
if (t && o && Array.isArray(o)) {
|
|
2090
|
-
let
|
|
2091
|
-
g([...
|
|
2090
|
+
let f = p && p.length > 0 ? [...p] : [];
|
|
2091
|
+
g([...f, ...o]), $(o[0].name);
|
|
2092
2092
|
} else
|
|
2093
|
-
|
|
2093
|
+
w(o), $(o.name);
|
|
2094
2094
|
}, []), A(() => {
|
|
2095
|
-
if (o !=
|
|
2095
|
+
if (o != p)
|
|
2096
2096
|
if (t && o && Array.isArray(o)) {
|
|
2097
|
-
let
|
|
2098
|
-
g([...
|
|
2097
|
+
let f = p && p.length > 0 ? [...p] : [];
|
|
2098
|
+
g([...f, ...o]), $(o[0].name);
|
|
2099
2099
|
} else
|
|
2100
|
-
|
|
2100
|
+
w(o), $(o.name);
|
|
2101
2101
|
}, [o]);
|
|
2102
|
-
const $ = (
|
|
2103
|
-
const x = n.find((
|
|
2104
|
-
if (
|
|
2105
|
-
let S =
|
|
2106
|
-
(k) => k.indicators.find((L) => L.name ==
|
|
2102
|
+
const $ = (f) => {
|
|
2103
|
+
const x = n.find((N) => {
|
|
2104
|
+
if (N.subcategories) {
|
|
2105
|
+
let S = N.subcategories.find(
|
|
2106
|
+
(k) => k.indicators.find((L) => L.name == f)
|
|
2107
2107
|
);
|
|
2108
2108
|
if (S)
|
|
2109
|
-
return
|
|
2109
|
+
return y(S.subcategory), S;
|
|
2110
2110
|
} else
|
|
2111
|
-
return
|
|
2111
|
+
return N.indicators.some((S) => S.name == f);
|
|
2112
2112
|
});
|
|
2113
|
-
x &&
|
|
2113
|
+
x && C(x.category);
|
|
2114
2114
|
};
|
|
2115
|
-
return /* @__PURE__ */ m("div", { className:
|
|
2116
|
-
/* @__PURE__ */ i("h2", { className:
|
|
2117
|
-
n.map((
|
|
2115
|
+
return /* @__PURE__ */ m("div", { className: Tt.indicatorsList, children: [
|
|
2116
|
+
/* @__PURE__ */ i("h2", { className: Tt.title, style: { color: s }, children: l("indicators.indicators") }),
|
|
2117
|
+
n.map((f, x) => /* @__PURE__ */ i(
|
|
2118
2118
|
r2,
|
|
2119
2119
|
{
|
|
2120
|
-
id:
|
|
2121
|
-
cat:
|
|
2122
|
-
onClickCategory:
|
|
2120
|
+
id: f.category,
|
|
2121
|
+
cat: f,
|
|
2122
|
+
onClickCategory: _,
|
|
2123
2123
|
activeCategory: u,
|
|
2124
|
-
onClickSubCategory:
|
|
2124
|
+
onClickSubCategory: v,
|
|
2125
2125
|
activeSubCategory: h,
|
|
2126
2126
|
onClickIndicator: b,
|
|
2127
|
-
activeIndicator:
|
|
2127
|
+
activeIndicator: p,
|
|
2128
2128
|
activeColor: c,
|
|
2129
2129
|
defaultColor: s,
|
|
2130
2130
|
multiple: t,
|
|
@@ -2197,14 +2197,14 @@ Nn.propTypes = {
|
|
|
2197
2197
|
arrow: e.object,
|
|
2198
2198
|
imgPrev: e.object
|
|
2199
2199
|
};
|
|
2200
|
-
const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titleContainer_4ndr8_69", Ln = "_infoContainer_4ndr8_75", Mn = "_titleLegendList_4ndr8_86",
|
|
2200
|
+
const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titleContainer_4ndr8_69", Ln = "_infoContainer_4ndr8_75", Mn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Tn = "_gridContainer_4ndr8_92", Fn = "_elementLegendContainer_4ndr8_98", Dn = "_colorDot_4ndr8_104", Vn = "_absoluteValueContainer_4ndr8_110", An = "_absoluteValueColor_4ndr8_113", On = "_absoluteValueText_4ndr8_118", Rn = "_noDataContainer_4ndr8_130", In = "_noData_4ndr8_130", En = "_moreInfoContainer_4ndr8_151", K = {
|
|
2201
2201
|
legendContainer: kn,
|
|
2202
2202
|
closeButton: $n,
|
|
2203
2203
|
titleContainer: Sn,
|
|
2204
2204
|
infoContainer: Ln,
|
|
2205
2205
|
titleLegendList: Mn,
|
|
2206
|
-
legendListContainer:
|
|
2207
|
-
gridContainer:
|
|
2206
|
+
legendListContainer: Bn,
|
|
2207
|
+
gridContainer: Tn,
|
|
2208
2208
|
elementLegendContainer: Fn,
|
|
2209
2209
|
colorDot: Dn,
|
|
2210
2210
|
absoluteValueContainer: Vn,
|
|
@@ -2301,7 +2301,7 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2301
2301
|
] })
|
|
2302
2302
|
] })
|
|
2303
2303
|
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className: K.gridContainer, children: l.categories.map(
|
|
2304
|
-
({ title:
|
|
2304
|
+
({ title: C, color: h }, y) => /* @__PURE__ */ m(
|
|
2305
2305
|
"div",
|
|
2306
2306
|
{
|
|
2307
2307
|
className: K.elementLegendContainer,
|
|
@@ -2314,12 +2314,12 @@ const kn = "_legendContainer_4ndr8_3", $n = "_closeButton_4ndr8_41", Sn = "_titl
|
|
|
2314
2314
|
}
|
|
2315
2315
|
),
|
|
2316
2316
|
/* @__PURE__ */ m("div", { className: K.titleLegendElement, children: [
|
|
2317
|
-
a(
|
|
2317
|
+
a(C),
|
|
2318
2318
|
" "
|
|
2319
2319
|
] })
|
|
2320
2320
|
]
|
|
2321
2321
|
},
|
|
2322
|
-
|
|
2322
|
+
y
|
|
2323
2323
|
)
|
|
2324
2324
|
) }),
|
|
2325
2325
|
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ m("div", { className: K.noDataContainer, children: [
|
|
@@ -2403,14 +2403,14 @@ const Hn = ({
|
|
|
2403
2403
|
interactiveLayers: a = [],
|
|
2404
2404
|
popUp: l = !1,
|
|
2405
2405
|
sources: u = [],
|
|
2406
|
-
layers:
|
|
2406
|
+
layers: C = []
|
|
2407
2407
|
}) => {
|
|
2408
|
-
const h = te(), [
|
|
2408
|
+
const h = te(), [y, p] = O(null), g = v2((_) => _.mapState.showTexts);
|
|
2409
2409
|
return A(() => {
|
|
2410
2410
|
if (h.current) {
|
|
2411
|
-
const
|
|
2412
|
-
|
|
2413
|
-
b.type == "symbol" && b.id != "professionals" && (g ?
|
|
2411
|
+
const _ = h.current.getMap();
|
|
2412
|
+
_.getStyle().layers.map((b) => {
|
|
2413
|
+
b.type == "symbol" && b.id != "professionals" && (g ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
|
|
2414
2414
|
});
|
|
2415
2415
|
}
|
|
2416
2416
|
}, [g]), /* @__PURE__ */ i("div", { className: `${jn.mapContainer}`, style: o, children: /* @__PURE__ */ m(
|
|
@@ -2425,31 +2425,31 @@ const Hn = ({
|
|
|
2425
2425
|
onClick: d,
|
|
2426
2426
|
interactiveLayerIds: a,
|
|
2427
2427
|
children: [
|
|
2428
|
-
u.length && u.map((
|
|
2428
|
+
u.length && u.map((_, v) => /* @__PURE__ */ i(
|
|
2429
2429
|
w2,
|
|
2430
2430
|
{
|
|
2431
|
-
...
|
|
2432
|
-
children:
|
|
2433
|
-
if (b.sourceId ==
|
|
2431
|
+
..._,
|
|
2432
|
+
children: C.length && C.map((b, w) => {
|
|
2433
|
+
if (b.sourceId == _.id) return /* @__PURE__ */ i(
|
|
2434
2434
|
N2,
|
|
2435
2435
|
{
|
|
2436
2436
|
...b.layer,
|
|
2437
2437
|
beforeId: t
|
|
2438
2438
|
},
|
|
2439
|
-
|
|
2439
|
+
w
|
|
2440
2440
|
);
|
|
2441
2441
|
})
|
|
2442
2442
|
},
|
|
2443
|
-
|
|
2443
|
+
v
|
|
2444
2444
|
)),
|
|
2445
2445
|
/* @__PURE__ */ i(k2, { position: "bottom-right", visualizePitch: !0 }),
|
|
2446
|
-
l &&
|
|
2446
|
+
l && y && /* @__PURE__ */ i(
|
|
2447
2447
|
$2,
|
|
2448
2448
|
{
|
|
2449
2449
|
longitude: l.longitude,
|
|
2450
2450
|
latitude: l.latitude,
|
|
2451
2451
|
anchor: l.anchor,
|
|
2452
|
-
onClose: () =>
|
|
2452
|
+
onClose: () => p(null),
|
|
2453
2453
|
children: l.content
|
|
2454
2454
|
}
|
|
2455
2455
|
)
|
|
@@ -2531,22 +2531,22 @@ const Kn = "_mapContainer_b0pyr_3", Wn = {
|
|
|
2531
2531
|
interactiveLayers: a = [],
|
|
2532
2532
|
sources: l = [],
|
|
2533
2533
|
layers: u = [],
|
|
2534
|
-
popUpParams:
|
|
2534
|
+
popUpParams: C,
|
|
2535
2535
|
onClosePopUp: h,
|
|
2536
|
-
showTexts:
|
|
2537
|
-
hash:
|
|
2536
|
+
showTexts: y,
|
|
2537
|
+
hash: p = !1
|
|
2538
2538
|
}) => {
|
|
2539
2539
|
const g = te();
|
|
2540
2540
|
return A(() => {
|
|
2541
2541
|
if (g.current) {
|
|
2542
|
-
const
|
|
2543
|
-
|
|
2544
|
-
b.type == "symbol" && b.id != "professionals" && (
|
|
2542
|
+
const _ = g.current.getMap();
|
|
2543
|
+
_.getStyle().layers.map((b) => {
|
|
2544
|
+
b.type == "symbol" && b.id != "professionals" && (y ? _.setLayoutProperty(b.id, "visibility", "visible") : _.setLayoutProperty(b.id, "visibility", "none"));
|
|
2545
2545
|
});
|
|
2546
2546
|
}
|
|
2547
|
-
}, [
|
|
2548
|
-
let
|
|
2549
|
-
return nt.addProtocol("pmtiles",
|
|
2547
|
+
}, [y]), A(() => {
|
|
2548
|
+
let _ = new S2();
|
|
2549
|
+
return nt.addProtocol("pmtiles", _.tile), () => {
|
|
2550
2550
|
nt.removeProtocol("pmtiles");
|
|
2551
2551
|
};
|
|
2552
2552
|
}, []), /* @__PURE__ */ i("div", { className: `${Wn.mapContainer}`, style: o && o, children: /* @__PURE__ */ m(
|
|
@@ -2555,20 +2555,20 @@ const Kn = "_mapContainer_b0pyr_3", Wn = {
|
|
|
2555
2555
|
mapLib: nt,
|
|
2556
2556
|
initialViewState: n,
|
|
2557
2557
|
ref: g,
|
|
2558
|
-
hash:
|
|
2558
|
+
hash: p,
|
|
2559
2559
|
maxZoom: c,
|
|
2560
2560
|
minZoom: s,
|
|
2561
2561
|
mapStyle: r,
|
|
2562
2562
|
onClick: d,
|
|
2563
2563
|
interactiveLayerIds: a,
|
|
2564
2564
|
children: [
|
|
2565
|
-
l.length && l.map((
|
|
2565
|
+
l.length && l.map((_, v) => /* @__PURE__ */ i(
|
|
2566
2566
|
M2,
|
|
2567
2567
|
{
|
|
2568
|
-
...
|
|
2569
|
-
children: u.length && u.map((b,
|
|
2570
|
-
if (b.sourceId ==
|
|
2571
|
-
|
|
2568
|
+
..._,
|
|
2569
|
+
children: u.length && u.map((b, w) => {
|
|
2570
|
+
if (b.sourceId == _.id) return /* @__PURE__ */ i(
|
|
2571
|
+
B2,
|
|
2572
2572
|
{
|
|
2573
2573
|
...b.layer,
|
|
2574
2574
|
beforeId: t,
|
|
@@ -2577,20 +2577,20 @@ const Kn = "_mapContainer_b0pyr_3", Wn = {
|
|
|
2577
2577
|
visibility: b.layer.visibility || "visible"
|
|
2578
2578
|
}
|
|
2579
2579
|
},
|
|
2580
|
-
|
|
2580
|
+
w
|
|
2581
2581
|
);
|
|
2582
2582
|
})
|
|
2583
2583
|
},
|
|
2584
|
-
|
|
2584
|
+
v
|
|
2585
2585
|
)),
|
|
2586
|
-
/* @__PURE__ */ i(
|
|
2587
|
-
|
|
2586
|
+
/* @__PURE__ */ i(T2, { position: "bottom-right", visualizePitch: !0 }),
|
|
2587
|
+
C && /* @__PURE__ */ i(
|
|
2588
2588
|
F2,
|
|
2589
2589
|
{
|
|
2590
|
-
longitude:
|
|
2591
|
-
latitude:
|
|
2590
|
+
longitude: C.lng,
|
|
2591
|
+
latitude: C.lat,
|
|
2592
2592
|
onClose: h,
|
|
2593
|
-
children: /* @__PURE__ */ i(Xn, { props:
|
|
2593
|
+
children: /* @__PURE__ */ i(Xn, { props: C.props })
|
|
2594
2594
|
}
|
|
2595
2595
|
)
|
|
2596
2596
|
]
|
|
@@ -2722,7 +2722,7 @@ const ri = D2({
|
|
|
2722
2722
|
n.activeIndicatorUnit = c.payload;
|
|
2723
2723
|
}
|
|
2724
2724
|
}
|
|
2725
|
-
}), { setShowTexts:
|
|
2725
|
+
}), { setShowTexts: Rr, setYear: Ir, setActiveIndicatorKey: Er, setActiveIndicatorType: qr, setActiveIndicatorUnit: Pr } = ri.actions, oi = "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", ai = "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", li = "_slider_1prh1_2", ci = "_playButton_1prh1_14", di = "_sliderOpen_1prh1_25", ui = "_sliderResults_1prh1_29", Fe = {
|
|
2726
2726
|
slider: li,
|
|
2727
2727
|
playButton: ci,
|
|
2728
2728
|
sliderOpen: di,
|
|
@@ -2739,52 +2739,52 @@ const ri = D2({
|
|
|
2739
2739
|
console.log("year changed to ", l);
|
|
2740
2740
|
}
|
|
2741
2741
|
}) => {
|
|
2742
|
-
const u = t || (($,
|
|
2742
|
+
const u = t || (($, f) => {
|
|
2743
2743
|
const x = [];
|
|
2744
2744
|
x.push({ label: "", value: $ });
|
|
2745
|
-
const
|
|
2746
|
-
for (let S =
|
|
2745
|
+
const N = Math.ceil($ / 10) * 10;
|
|
2746
|
+
for (let S = N; S < f; S += 10)
|
|
2747
2747
|
x.push({ label: "", value: S });
|
|
2748
|
-
return x[x.length - 1].value !==
|
|
2749
|
-
})(s, r), [
|
|
2748
|
+
return x[x.length - 1].value !== f && x.push({ label: "", value: f }), x;
|
|
2749
|
+
})(s, r), [C, h] = O(c);
|
|
2750
2750
|
A(() => {
|
|
2751
2751
|
h(c);
|
|
2752
2752
|
}, [c]);
|
|
2753
|
-
const
|
|
2754
|
-
h(
|
|
2755
|
-
}, [
|
|
2753
|
+
const y = ($, f) => {
|
|
2754
|
+
h(f), a(f);
|
|
2755
|
+
}, [p, g] = O(!1);
|
|
2756
2756
|
A(() => {
|
|
2757
2757
|
c && console.log("defaultYear changed:", c), c && h(c);
|
|
2758
2758
|
}, [c]);
|
|
2759
|
-
const
|
|
2759
|
+
const _ = () => {
|
|
2760
2760
|
g(!0);
|
|
2761
|
-
},
|
|
2761
|
+
}, v = () => {
|
|
2762
2762
|
g(!1);
|
|
2763
2763
|
};
|
|
2764
|
-
(($,
|
|
2765
|
-
const
|
|
2764
|
+
(($, f, x = []) => {
|
|
2765
|
+
const N = te();
|
|
2766
2766
|
A(() => {
|
|
2767
|
-
|
|
2767
|
+
N.current = $;
|
|
2768
2768
|
}, [$]), A(() => {
|
|
2769
2769
|
function S() {
|
|
2770
|
-
|
|
2770
|
+
N.current();
|
|
2771
2771
|
}
|
|
2772
2772
|
{
|
|
2773
|
-
let k = setInterval(S,
|
|
2773
|
+
let k = setInterval(S, f);
|
|
2774
2774
|
return () => clearInterval(k);
|
|
2775
2775
|
}
|
|
2776
|
-
}, [
|
|
2776
|
+
}, [f, ...x]);
|
|
2777
2777
|
})(
|
|
2778
2778
|
() => {
|
|
2779
|
-
|
|
2780
|
-
const
|
|
2781
|
-
return
|
|
2779
|
+
p && h(($) => {
|
|
2780
|
+
const f = $ + 1;
|
|
2781
|
+
return f > r ? (a(s), s) : (a(f), f);
|
|
2782
2782
|
});
|
|
2783
2783
|
},
|
|
2784
2784
|
1e3,
|
|
2785
|
-
[s, r,
|
|
2785
|
+
[s, r, p]
|
|
2786
2786
|
);
|
|
2787
|
-
const
|
|
2787
|
+
const w = A2({
|
|
2788
2788
|
palette: {
|
|
2789
2789
|
primary: {
|
|
2790
2790
|
main: "#605b56"
|
|
@@ -2807,7 +2807,7 @@ const ri = D2({
|
|
|
2807
2807
|
}
|
|
2808
2808
|
}
|
|
2809
2809
|
});
|
|
2810
|
-
return /* @__PURE__ */ i(R2, { theme:
|
|
2810
|
+
return /* @__PURE__ */ i(R2, { theme: w, children: /* @__PURE__ */ m(
|
|
2811
2811
|
O2,
|
|
2812
2812
|
{
|
|
2813
2813
|
sx: { width: 400 },
|
|
@@ -2819,20 +2819,20 @@ const ri = D2({
|
|
|
2819
2819
|
V2,
|
|
2820
2820
|
{
|
|
2821
2821
|
"aria-label": "TimeSlider",
|
|
2822
|
-
value:
|
|
2822
|
+
value: C,
|
|
2823
2823
|
valueLabelDisplay: "on",
|
|
2824
2824
|
step: 1,
|
|
2825
2825
|
marks: u,
|
|
2826
2826
|
min: s,
|
|
2827
2827
|
max: r,
|
|
2828
|
-
onChange:
|
|
2828
|
+
onChange: y,
|
|
2829
2829
|
color: "primary",
|
|
2830
2830
|
size: "small"
|
|
2831
2831
|
}
|
|
2832
2832
|
),
|
|
2833
2833
|
r,
|
|
2834
|
-
!
|
|
2835
|
-
|
|
2834
|
+
!p && /* @__PURE__ */ i("button", { className: Fe.playButton, onClick: _, children: /* @__PURE__ */ i("img", { src: oi, alt: "Play" }) }),
|
|
2835
|
+
p && /* @__PURE__ */ i("button", { className: Fe.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: ai, alt: "Pause" }) })
|
|
2836
2836
|
]
|
|
2837
2837
|
}
|
|
2838
2838
|
) });
|
|
@@ -2935,11 +2935,11 @@ const _i = "_elementSelector_1ox68_2", vi = "_header_1ox68_14", xi = "_nameDateC
|
|
|
2935
2935
|
buttonsContainer: ki,
|
|
2936
2936
|
elementListContainer: $i,
|
|
2937
2937
|
newElementButtonContainer: Si
|
|
2938
|
-
}, Li = "_listElement_s4s4h_3", Mi = "_elementNameDate_s4s4h_19",
|
|
2938
|
+
}, Li = "_listElement_s4s4h_3", Mi = "_elementNameDate_s4s4h_19", Bi = "_elementNameContainer_s4s4h_30", Ti = "_elementName_s4s4h_19", Fi = "_elementDate_s4s4h_47", Di = "_nameAndEye_s4s4h_50", Vi = "_elementButtons_s4s4h_55", Ai = "_moreInfoContainer_s4s4h_78", Oi = "_moreInfo_s4s4h_78", ne = {
|
|
2939
2939
|
listElement: Li,
|
|
2940
2940
|
elementNameDate: Mi,
|
|
2941
|
-
elementNameContainer:
|
|
2942
|
-
elementName:
|
|
2941
|
+
elementNameContainer: Bi,
|
|
2942
|
+
elementName: Ti,
|
|
2943
2943
|
elementDate: Fi,
|
|
2944
2944
|
nameAndEye: Di,
|
|
2945
2945
|
elementButtons: Vi,
|
|
@@ -2982,9 +2982,9 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2982
2982
|
elementButtons: a,
|
|
2983
2983
|
processTooltip: l,
|
|
2984
2984
|
defaultTooltip: u,
|
|
2985
|
-
showEye:
|
|
2985
|
+
showEye: C = !0
|
|
2986
2986
|
}) => {
|
|
2987
|
-
const { name: h, created_at:
|
|
2987
|
+
const { name: h, created_at: y, id: p, isBeingProcessed: g } = n, [_, v] = O(!1), { t: b } = V();
|
|
2988
2988
|
return A(() => {
|
|
2989
2989
|
console.log("elementButtons: ", a);
|
|
2990
2990
|
}, [a]), /* @__PURE__ */ m(
|
|
@@ -2993,12 +2993,12 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2993
2993
|
className: ne.listElement,
|
|
2994
2994
|
style: { borderBottom: `1px solid ${t}` },
|
|
2995
2995
|
children: [
|
|
2996
|
-
/* @__PURE__ */ i("div", { className: ne.elementNameDate, onClick: () => c(
|
|
2996
|
+
/* @__PURE__ */ i("div", { className: ne.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((w) => w === "name" ? /* @__PURE__ */ i("div", { className: ne.elementNameContainer, children: /* @__PURE__ */ m(
|
|
2997
2997
|
"div",
|
|
2998
2998
|
{
|
|
2999
|
-
className: `${ne.elementName} ${
|
|
2999
|
+
className: `${ne.elementName} ${C && ne.nameAndEye}`,
|
|
3000
3000
|
children: [
|
|
3001
|
-
|
|
3001
|
+
C && (s ? /* @__PURE__ */ i(
|
|
3002
3002
|
ji,
|
|
3003
3003
|
{
|
|
3004
3004
|
style: { color: r, marginRight: 9 }
|
|
@@ -3014,7 +3014,7 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3014
3014
|
/* @__PURE__ */ i("span", { style: { color: s ? r : t }, children: h })
|
|
3015
3015
|
]
|
|
3016
3016
|
}
|
|
3017
|
-
) }) :
|
|
3017
|
+
) }) : w == "data" ? /* @__PURE__ */ i("div", { className: ne.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: ne.elementDate, children: n[w] })) }),
|
|
3018
3018
|
/* @__PURE__ */ m("div", { className: ne.elementButtons, children: [
|
|
3019
3019
|
n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3020
3020
|
/* @__PURE__ */ i("img", { src: qi }),
|
|
@@ -3063,14 +3063,14 @@ const Hi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3063
3063
|
"div",
|
|
3064
3064
|
{
|
|
3065
3065
|
className: ne.moreInfo,
|
|
3066
|
-
onClick: () =>
|
|
3066
|
+
onClick: () => v(!_),
|
|
3067
3067
|
children: [
|
|
3068
|
-
/* @__PURE__ */ i("span", { children:
|
|
3068
|
+
/* @__PURE__ */ i("span", { children: _ ? "-" : "+" }),
|
|
3069
3069
|
b(o.label)
|
|
3070
3070
|
]
|
|
3071
3071
|
}
|
|
3072
3072
|
),
|
|
3073
|
-
o &&
|
|
3073
|
+
o && _ && /* @__PURE__ */ i("div", { className: ne.moreInfoInfo, children: n[o.info] })
|
|
3074
3074
|
] })
|
|
3075
3075
|
]
|
|
3076
3076
|
}
|
|
@@ -3126,43 +3126,43 @@ const At = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3126
3126
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
3127
3127
|
elementButtons: u,
|
|
3128
3128
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
3129
|
-
moreInfo:
|
|
3129
|
+
moreInfo: C = !1,
|
|
3130
3130
|
//{label: 'x'}
|
|
3131
3131
|
processTooltip: h,
|
|
3132
3132
|
//texto para el tooltip del simbolo "En proceso"
|
|
3133
|
-
defaultTooltip:
|
|
3133
|
+
defaultTooltip: y,
|
|
3134
3134
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
3135
|
-
showEye:
|
|
3135
|
+
showEye: p = !0
|
|
3136
3136
|
}) => {
|
|
3137
|
-
const { t: g } = V(), [
|
|
3137
|
+
const { t: g } = V(), [_, v] = O(n);
|
|
3138
3138
|
A(() => {
|
|
3139
|
-
n &&
|
|
3139
|
+
n && v(n);
|
|
3140
3140
|
}, [n]);
|
|
3141
|
-
const b = (
|
|
3142
|
-
if (typeof
|
|
3143
|
-
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(
|
|
3144
|
-
return new Date(
|
|
3145
|
-
const x = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(
|
|
3141
|
+
const b = (f) => {
|
|
3142
|
+
if (typeof f != "string") return null;
|
|
3143
|
+
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(f))
|
|
3144
|
+
return new Date(f);
|
|
3145
|
+
const x = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(f);
|
|
3146
3146
|
if (x)
|
|
3147
3147
|
return /* @__PURE__ */ new Date(`${x[3]}-${x[2]}-${x[1]}`);
|
|
3148
|
-
const
|
|
3149
|
-
return
|
|
3150
|
-
},
|
|
3151
|
-
if (!
|
|
3152
|
-
let x = [...
|
|
3153
|
-
const
|
|
3148
|
+
const N = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(f);
|
|
3149
|
+
return N ? parseInt(N[1]) > 12 ? /* @__PURE__ */ new Date(`${N[3]}-${N[2]}-${N[1]}`) : /* @__PURE__ */ new Date(`${N[3]}-${N[1]}-${N[2]}`) : null;
|
|
3150
|
+
}, w = (f) => b(f) !== null, $ = (f) => {
|
|
3151
|
+
if (!_ || _.length === 0) return;
|
|
3152
|
+
let x = [..._];
|
|
3153
|
+
const N = x.find((k) => k[f] !== null && k[f] !== void 0), S = N ? w(N[f]) : !1;
|
|
3154
3154
|
x.sort((k, L) => {
|
|
3155
|
-
const F = k[
|
|
3156
|
-
if (F == null &&
|
|
3155
|
+
const F = k[f], T = L[f];
|
|
3156
|
+
if (F == null && T == null) return 0;
|
|
3157
3157
|
if (F == null) return 1;
|
|
3158
|
-
if (
|
|
3158
|
+
if (T == null) return -1;
|
|
3159
3159
|
if (S) {
|
|
3160
|
-
const R = b(F), X = b(
|
|
3160
|
+
const R = b(F), X = b(T);
|
|
3161
3161
|
return !R && !X ? 0 : R ? X ? R - X : -1 : 1;
|
|
3162
3162
|
}
|
|
3163
|
-
const
|
|
3164
|
-
return
|
|
3165
|
-
}),
|
|
3163
|
+
const B = String(F || "").trim(), P = String(T || "").trim();
|
|
3164
|
+
return B.localeCompare(P);
|
|
3165
|
+
}), v(x);
|
|
3166
3166
|
};
|
|
3167
3167
|
return /* @__PURE__ */ m(
|
|
3168
3168
|
"div",
|
|
@@ -3176,33 +3176,33 @@ const At = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3176
3176
|
className: ue.header,
|
|
3177
3177
|
style: { borderBottom: `1px solid ${s}` },
|
|
3178
3178
|
children: [
|
|
3179
|
-
/* @__PURE__ */ i("div", { className: ue.nameDateContainer, children: Object.keys(l).map((
|
|
3179
|
+
/* @__PURE__ */ i("div", { className: ue.nameDateContainer, children: Object.keys(l).map((f) => f === "name" ? /* @__PURE__ */ i("div", { className: ue.elementName, children: /* @__PURE__ */ m("button", { onClick: () => $("name"), children: [
|
|
3180
3180
|
/* @__PURE__ */ i("span", { children: g(l.name) }),
|
|
3181
3181
|
/* @__PURE__ */ i("img", { src: At, alt: "order arrow" })
|
|
3182
|
-
] }) },
|
|
3182
|
+
] }) }, f) : f === "data" ? /* @__PURE__ */ i("div", { className: ue.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => $("created_at"), children: [
|
|
3183
3183
|
/* @__PURE__ */ i("span", { children: g(l.data) }),
|
|
3184
3184
|
/* @__PURE__ */ i("img", { src: At, alt: "order arrow" })
|
|
3185
|
-
] }) },
|
|
3185
|
+
] }) }, f) : /* @__PURE__ */ i("div", { className: ue.elementDate, children: /* @__PURE__ */ i("span", { children: g(l[f]) }) }, f)) }),
|
|
3186
3186
|
/* @__PURE__ */ i("div", { className: ue.buttonsContainer })
|
|
3187
3187
|
]
|
|
3188
3188
|
}
|
|
3189
3189
|
),
|
|
3190
|
-
/* @__PURE__ */ i("div", { className: ue.elementListContainer, children:
|
|
3190
|
+
/* @__PURE__ */ i("div", { className: ue.elementListContainer, children: _ && _.length > 0 && _.map((f) => /* @__PURE__ */ i(
|
|
3191
3191
|
o2,
|
|
3192
3192
|
{
|
|
3193
|
-
isActive: c ==
|
|
3194
|
-
listelement:
|
|
3193
|
+
isActive: c == f.id,
|
|
3194
|
+
listelement: f,
|
|
3195
3195
|
fontColor: s,
|
|
3196
3196
|
activeColor: r,
|
|
3197
3197
|
onClickElement: a,
|
|
3198
3198
|
columns: l,
|
|
3199
3199
|
elementButtons: u,
|
|
3200
|
-
moreInfo:
|
|
3200
|
+
moreInfo: C,
|
|
3201
3201
|
processTooltip: h,
|
|
3202
|
-
defaultTooltip:
|
|
3203
|
-
showEye:
|
|
3202
|
+
defaultTooltip: y,
|
|
3203
|
+
showEye: p
|
|
3204
3204
|
},
|
|
3205
|
-
`elementKey${
|
|
3205
|
+
`elementKey${f.id}`
|
|
3206
3206
|
)) }),
|
|
3207
3207
|
d && /* @__PURE__ */ i("div", { className: ue.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
3208
3208
|
Qe,
|
|
@@ -3373,7 +3373,7 @@ function ds(n) {
|
|
|
3373
3373
|
values: !0
|
|
3374
3374
|
},
|
|
3375
3375
|
exact: d,
|
|
3376
|
-
callback: (
|
|
3376
|
+
callback: (C) => !o && u(cs(r, s._names, C.values || s._formValues, !1, a.current))
|
|
3377
3377
|
}), [r, s, o, d]), I.useEffect(() => s._removeUnmounted()), l;
|
|
3378
3378
|
}
|
|
3379
3379
|
function us(n) {
|
|
@@ -3386,7 +3386,7 @@ function us(n) {
|
|
|
3386
3386
|
control: t,
|
|
3387
3387
|
name: s,
|
|
3388
3388
|
exact: !0
|
|
3389
|
-
}), u = I.useRef(n),
|
|
3389
|
+
}), u = I.useRef(n), C = I.useRef(t.register(s, {
|
|
3390
3390
|
...n.rules,
|
|
3391
3391
|
value: a,
|
|
3392
3392
|
...ot(n.disabled) ? { disabled: n.disabled } : {}
|
|
@@ -3411,50 +3411,50 @@ function us(n) {
|
|
|
3411
3411
|
enumerable: !0,
|
|
3412
3412
|
get: () => Y(l.errors, s)
|
|
3413
3413
|
}
|
|
3414
|
-
}), [l, s]),
|
|
3414
|
+
}), [l, s]), y = I.useCallback((v) => C.current.onChange({
|
|
3415
3415
|
target: {
|
|
3416
|
-
value: es(
|
|
3416
|
+
value: es(v),
|
|
3417
3417
|
name: s
|
|
3418
3418
|
},
|
|
3419
3419
|
type: Rt.CHANGE
|
|
3420
|
-
}), [s]),
|
|
3420
|
+
}), [s]), p = I.useCallback(() => C.current.onBlur({
|
|
3421
3421
|
target: {
|
|
3422
3422
|
value: Y(t._formValues, s),
|
|
3423
3423
|
name: s
|
|
3424
3424
|
},
|
|
3425
3425
|
type: Rt.BLUR
|
|
3426
|
-
}), [s, t._formValues]), g = I.useCallback((
|
|
3426
|
+
}), [s, t._formValues]), g = I.useCallback((v) => {
|
|
3427
3427
|
const b = Y(t._fields, s);
|
|
3428
|
-
b &&
|
|
3429
|
-
focus: () =>
|
|
3430
|
-
select: () =>
|
|
3431
|
-
setCustomValidity: (
|
|
3432
|
-
reportValidity: () =>
|
|
3428
|
+
b && v && (b._f.ref = {
|
|
3429
|
+
focus: () => v.focus && v.focus(),
|
|
3430
|
+
select: () => v.select && v.select(),
|
|
3431
|
+
setCustomValidity: (w) => v.setCustomValidity(w),
|
|
3432
|
+
reportValidity: () => v.reportValidity()
|
|
3433
3433
|
});
|
|
3434
|
-
}, [t._fields, s]),
|
|
3434
|
+
}, [t._fields, s]), _ = I.useMemo(() => ({
|
|
3435
3435
|
name: s,
|
|
3436
3436
|
value: a,
|
|
3437
3437
|
...ot(r) || l.disabled ? { disabled: l.disabled || r } : {},
|
|
3438
|
-
onChange:
|
|
3439
|
-
onBlur:
|
|
3438
|
+
onChange: y,
|
|
3439
|
+
onBlur: p,
|
|
3440
3440
|
ref: g
|
|
3441
|
-
}), [s, r, l.disabled,
|
|
3441
|
+
}), [s, r, l.disabled, y, p, g, a]);
|
|
3442
3442
|
return I.useEffect(() => {
|
|
3443
|
-
const
|
|
3443
|
+
const v = t._options.shouldUnregister || o;
|
|
3444
3444
|
t.register(s, {
|
|
3445
3445
|
...u.current.rules,
|
|
3446
3446
|
...ot(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3447
3447
|
});
|
|
3448
|
-
const b = (
|
|
3449
|
-
const
|
|
3450
|
-
|
|
3448
|
+
const b = (w, $) => {
|
|
3449
|
+
const f = Y(t._fields, w);
|
|
3450
|
+
f && f._f && (f._f.mount = $);
|
|
3451
3451
|
};
|
|
3452
|
-
if (b(s, !0),
|
|
3453
|
-
const
|
|
3454
|
-
Ot(t._defaultValues, s,
|
|
3452
|
+
if (b(s, !0), v) {
|
|
3453
|
+
const w = l2(Y(t._options.defaultValues, s));
|
|
3454
|
+
Ot(t._defaultValues, s, w), ft(Y(t._formValues, s)) && Ot(t._formValues, s, w);
|
|
3455
3455
|
}
|
|
3456
3456
|
return !d && t.register(s), () => {
|
|
3457
|
-
(d ?
|
|
3457
|
+
(d ? v && !t._state.action : v) ? t.unregister(s) : b(s, !1);
|
|
3458
3458
|
};
|
|
3459
3459
|
}, [s, t, d, o]), I.useEffect(() => {
|
|
3460
3460
|
t._setDisabledField({
|
|
@@ -3462,10 +3462,10 @@ function us(n) {
|
|
|
3462
3462
|
name: s
|
|
3463
3463
|
});
|
|
3464
3464
|
}, [r, s, t]), I.useMemo(() => ({
|
|
3465
|
-
field:
|
|
3465
|
+
field: _,
|
|
3466
3466
|
formState: l,
|
|
3467
3467
|
fieldState: h
|
|
3468
|
-
}), [
|
|
3468
|
+
}), [_, l, h]);
|
|
3469
3469
|
}
|
|
3470
3470
|
const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_labelContainer_1o3iy_5", ms = "_inputContainer_1o3iy_8", gs = "_showPasswordButton_1o3iy_14", Cs = "_forgotPassButton_1o3iy_26", Ae = {
|
|
3471
3471
|
textInputContainer: ps,
|
|
@@ -3501,31 +3501,31 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3501
3501
|
validateFunction: a,
|
|
3502
3502
|
placeholder: l,
|
|
3503
3503
|
errorColor: u = "red",
|
|
3504
|
-
width:
|
|
3504
|
+
width: C = 325,
|
|
3505
3505
|
onClickForgotPass: h = () => {
|
|
3506
3506
|
console.log("Click on forgot password");
|
|
3507
3507
|
},
|
|
3508
|
-
forgotPassLabel:
|
|
3508
|
+
forgotPassLabel: y = "forgot-password",
|
|
3509
3509
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
3510
|
-
onChangeExtraFunction:
|
|
3510
|
+
onChangeExtraFunction: p = () => {
|
|
3511
3511
|
}
|
|
3512
|
-
} = n, { t: g } = V(), { control:
|
|
3512
|
+
} = n, { t: g } = V(), { control: _, trigger: v, clearErrors: b } = c, { errorColor: w } = qe((N) => N), [$, f] = O(!1);
|
|
3513
3513
|
te(d);
|
|
3514
3514
|
const x = () => r ? r === "password" && $ ? "text" : r : "text";
|
|
3515
3515
|
return /* @__PURE__ */ i(
|
|
3516
3516
|
Ie,
|
|
3517
3517
|
{
|
|
3518
3518
|
name: s,
|
|
3519
|
-
control:
|
|
3519
|
+
control: _,
|
|
3520
3520
|
rules: {
|
|
3521
3521
|
required: d ? `${g(t)} ${g("errorMessages.required")}` : !1,
|
|
3522
3522
|
maxLength: o || void 0,
|
|
3523
3523
|
validate: a || void 0
|
|
3524
3524
|
},
|
|
3525
|
-
render: ({ field:
|
|
3526
|
-
var
|
|
3527
|
-
const { onChange: k, ...L } =
|
|
3528
|
-
k(
|
|
3525
|
+
render: ({ field: N, fieldState: S }) => {
|
|
3526
|
+
var T;
|
|
3527
|
+
const { onChange: k, ...L } = N, F = (B) => {
|
|
3528
|
+
k(B), p && p(B);
|
|
3529
3529
|
};
|
|
3530
3530
|
return /* @__PURE__ */ m("div", { className: Ae.textInputContainer, children: [
|
|
3531
3531
|
/* @__PURE__ */ m("h3", { className: Ae.labelContainer, children: [
|
|
@@ -3536,7 +3536,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3536
3536
|
/* @__PURE__ */ m(
|
|
3537
3537
|
"div",
|
|
3538
3538
|
{
|
|
3539
|
-
style: { position: "relative", width:
|
|
3539
|
+
style: { position: "relative", width: C },
|
|
3540
3540
|
className: Ae.inputContainer,
|
|
3541
3541
|
children: [
|
|
3542
3542
|
/* @__PURE__ */ i(
|
|
@@ -3552,7 +3552,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3552
3552
|
r == "password" && /* @__PURE__ */ i(
|
|
3553
3553
|
"button",
|
|
3554
3554
|
{
|
|
3555
|
-
onClick: () =>
|
|
3555
|
+
onClick: () => f(!$),
|
|
3556
3556
|
type: "button",
|
|
3557
3557
|
className: Ae.showPasswordButton,
|
|
3558
3558
|
children: /* @__PURE__ */ i(
|
|
@@ -3567,12 +3567,12 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3567
3567
|
]
|
|
3568
3568
|
}
|
|
3569
3569
|
),
|
|
3570
|
-
r == "password" && /* @__PURE__ */ i("div", { className: Ae.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: h, children: g(
|
|
3570
|
+
r == "password" && /* @__PURE__ */ i("div", { className: Ae.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: h, children: g(y) }) }),
|
|
3571
3571
|
/* @__PURE__ */ i(
|
|
3572
3572
|
Ee,
|
|
3573
3573
|
{
|
|
3574
|
-
errorMessage: (
|
|
3575
|
-
errorColor:
|
|
3574
|
+
errorMessage: (T = S.error) == null ? void 0 : T.message,
|
|
3575
|
+
errorColor: w || u
|
|
3576
3576
|
}
|
|
3577
3577
|
)
|
|
3578
3578
|
] });
|
|
@@ -3597,53 +3597,53 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3597
3597
|
required: a,
|
|
3598
3598
|
validateFunction: l,
|
|
3599
3599
|
placeholder: u,
|
|
3600
|
-
errorColor:
|
|
3600
|
+
errorColor: C = "red",
|
|
3601
3601
|
width: h = 325,
|
|
3602
|
-
options:
|
|
3602
|
+
options: y = []
|
|
3603
3603
|
//Used if we dont use react hook form
|
|
3604
|
-
} = n, { t:
|
|
3604
|
+
} = n, { t: p } = V(), { control: g, trigger: _, clearErrors: v } = c || {}, { errorColor: b } = qe((f) => f);
|
|
3605
3605
|
te(a);
|
|
3606
|
-
const [
|
|
3606
|
+
const [w, $] = O(null);
|
|
3607
3607
|
return A(() => {
|
|
3608
|
-
|
|
3609
|
-
}, [
|
|
3608
|
+
w && s && s(w);
|
|
3609
|
+
}, [w, s]), c ? /* @__PURE__ */ i(
|
|
3610
3610
|
Ie,
|
|
3611
3611
|
{
|
|
3612
3612
|
name: r,
|
|
3613
3613
|
control: g,
|
|
3614
3614
|
rules: {
|
|
3615
|
-
required: a ? `${
|
|
3616
|
-
validate: l ? (
|
|
3615
|
+
required: a ? `${p(o)} ${p("errorMessages.required")}` : !1,
|
|
3616
|
+
validate: l ? (f) => {
|
|
3617
3617
|
let x = c.getValues();
|
|
3618
|
-
return l(
|
|
3618
|
+
return l(f, x);
|
|
3619
3619
|
} : void 0
|
|
3620
3620
|
},
|
|
3621
|
-
render: ({ field:
|
|
3622
|
-
var
|
|
3621
|
+
render: ({ field: f, fieldState: x }) => {
|
|
3622
|
+
var N;
|
|
3623
3623
|
return /* @__PURE__ */ m("div", { className: ie.selectInputContainer, children: [
|
|
3624
3624
|
o && /* @__PURE__ */ m("h3", { className: ie.labelContainer, children: [
|
|
3625
|
-
|
|
3625
|
+
p(o),
|
|
3626
3626
|
" ",
|
|
3627
|
-
a && /* @__PURE__ */ i("label", { style: { color: x.error ?
|
|
3627
|
+
a && /* @__PURE__ */ i("label", { style: { color: x.error ? C : "" }, children: "*" })
|
|
3628
3628
|
] }),
|
|
3629
3629
|
/* @__PURE__ */ m("div", { className: ie.inputContainer, style: { width: h }, children: [
|
|
3630
3630
|
/* @__PURE__ */ m(
|
|
3631
3631
|
"select",
|
|
3632
3632
|
{
|
|
3633
|
-
...
|
|
3633
|
+
...f,
|
|
3634
3634
|
onChange: (S) => {
|
|
3635
|
-
const k = S.target.value, L =
|
|
3636
|
-
|
|
3635
|
+
const k = S.target.value, L = y.every((F) => typeof F.value == "number") ? Number(k) : k;
|
|
3636
|
+
f.onChange(L);
|
|
3637
3637
|
},
|
|
3638
3638
|
className: ie.selectInput,
|
|
3639
3639
|
children: [
|
|
3640
|
-
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3641
|
-
|
|
3640
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
|
|
3641
|
+
y.map((S, k) => /* @__PURE__ */ i(
|
|
3642
3642
|
"option",
|
|
3643
3643
|
{
|
|
3644
3644
|
value: S.value,
|
|
3645
3645
|
className: ie.option,
|
|
3646
|
-
children:
|
|
3646
|
+
children: p(S.label)
|
|
3647
3647
|
},
|
|
3648
3648
|
k
|
|
3649
3649
|
))
|
|
@@ -3662,8 +3662,8 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3662
3662
|
/* @__PURE__ */ i(
|
|
3663
3663
|
Ee,
|
|
3664
3664
|
{
|
|
3665
|
-
errorMessage: (
|
|
3666
|
-
errorColor: b ||
|
|
3665
|
+
errorMessage: (N = x.error) == null ? void 0 : N.message,
|
|
3666
|
+
errorColor: b || C
|
|
3667
3667
|
}
|
|
3668
3668
|
)
|
|
3669
3669
|
] });
|
|
@@ -3671,7 +3671,7 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3671
3671
|
}
|
|
3672
3672
|
) : /* @__PURE__ */ m("div", { className: ie.selectInputContainer, children: [
|
|
3673
3673
|
o && /* @__PURE__ */ m("h3", { className: ie.labelContainer, children: [
|
|
3674
|
-
|
|
3674
|
+
p(o),
|
|
3675
3675
|
" ",
|
|
3676
3676
|
a && /* @__PURE__ */ i("label", { children: "*" })
|
|
3677
3677
|
] }),
|
|
@@ -3679,20 +3679,20 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3679
3679
|
/* @__PURE__ */ m(
|
|
3680
3680
|
"select",
|
|
3681
3681
|
{
|
|
3682
|
-
value:
|
|
3683
|
-
onChange: (
|
|
3684
|
-
const x =
|
|
3685
|
-
$(
|
|
3682
|
+
value: w || "",
|
|
3683
|
+
onChange: (f) => {
|
|
3684
|
+
const x = f.target.value, N = y.every((S) => typeof S.value == "number") ? Number(x) : x;
|
|
3685
|
+
$(N);
|
|
3686
3686
|
},
|
|
3687
3687
|
className: ie.selectInput,
|
|
3688
3688
|
children: [
|
|
3689
|
-
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3690
|
-
|
|
3689
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
|
|
3690
|
+
y.map((f, x) => /* @__PURE__ */ i(
|
|
3691
3691
|
"option",
|
|
3692
3692
|
{
|
|
3693
|
-
value:
|
|
3693
|
+
value: f.value,
|
|
3694
3694
|
className: ie.option,
|
|
3695
|
-
children:
|
|
3695
|
+
children: p(f.label)
|
|
3696
3696
|
},
|
|
3697
3697
|
x
|
|
3698
3698
|
))
|
|
@@ -3702,10 +3702,10 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3702
3702
|
/* @__PURE__ */ i("img", { src: qt, alt: "Open", className: ie.dropdownArrow })
|
|
3703
3703
|
] })
|
|
3704
3704
|
] });
|
|
3705
|
-
}, Ms = "_radioButtonContainer_1e994_2",
|
|
3705
|
+
}, Ms = "_radioButtonContainer_1e994_2", Bs = "_wholeInputContainer_1e994_5", Ts = "_questionContainer_1e994_27", Fs = "_radioQuestion_1e994_59", Ds = "_inputContainer_1e994_63", Vs = "_radioInput_1e994_93", ve = {
|
|
3706
3706
|
radioButtonContainer: Ms,
|
|
3707
|
-
wholeInputContainer:
|
|
3708
|
-
questionContainer:
|
|
3707
|
+
wholeInputContainer: Bs,
|
|
3708
|
+
questionContainer: Ts,
|
|
3709
3709
|
radioQuestion: Fs,
|
|
3710
3710
|
inputContainer: Ds,
|
|
3711
3711
|
radioInput: Vs
|
|
@@ -3718,28 +3718,28 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3718
3718
|
errorColor: d = "red",
|
|
3719
3719
|
options: a = [],
|
|
3720
3720
|
multi: l = !1
|
|
3721
|
-
} = n, { t: u } = V(), { control:
|
|
3722
|
-
if (l &&
|
|
3723
|
-
let $ =
|
|
3721
|
+
} = n, { t: u } = V(), { control: C, trigger: h, clearErrors: y } = c, { errorColor: p } = qe((v) => v), g = ({ options: v, onChange: b, actualValue: w }) => {
|
|
3722
|
+
if (l && w && w.length > 0) {
|
|
3723
|
+
let $ = w.filter((f) => f !== v);
|
|
3724
3724
|
b($);
|
|
3725
3725
|
}
|
|
3726
|
-
},
|
|
3727
|
-
l ?
|
|
3726
|
+
}, _ = ({ options: v, onChange: b, actualValue: w }) => {
|
|
3727
|
+
l ? w && w.length > 0 ? b([...w, v]) : b([v]) : b(v);
|
|
3728
3728
|
};
|
|
3729
3729
|
return te(t), /* @__PURE__ */ i(
|
|
3730
3730
|
Ie,
|
|
3731
3731
|
{
|
|
3732
|
-
control:
|
|
3732
|
+
control: C,
|
|
3733
3733
|
name: s,
|
|
3734
3734
|
rules: {
|
|
3735
|
-
validate: (
|
|
3735
|
+
validate: (v) => t && (v == null || v === "") ? `${u(r)} ${u("errorMessages.required")}` : null
|
|
3736
3736
|
},
|
|
3737
3737
|
render: ({
|
|
3738
|
-
formState: { errors:
|
|
3739
|
-
field: { onChange: b, onBlur:
|
|
3738
|
+
formState: { errors: v },
|
|
3739
|
+
field: { onChange: b, onBlur: w, value: $, ref: f },
|
|
3740
3740
|
fieldState: x
|
|
3741
3741
|
}) => {
|
|
3742
|
-
var
|
|
3742
|
+
var N;
|
|
3743
3743
|
return /* @__PURE__ */ i("div", { id: s + "id", className: ve.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: ve.wholeInputContainer, children: [
|
|
3744
3744
|
r && /* @__PURE__ */ i("div", { className: ve.questionContainer, children: /* @__PURE__ */ m(
|
|
3745
3745
|
"h3",
|
|
@@ -3766,20 +3766,20 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3766
3766
|
value: k,
|
|
3767
3767
|
disabled: L = !1,
|
|
3768
3768
|
italicLabel: F
|
|
3769
|
-
},
|
|
3770
|
-
const
|
|
3769
|
+
}, T) => {
|
|
3770
|
+
const B = $ && l ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((P) => P === k) : $ === k;
|
|
3771
3771
|
return /* @__PURE__ */ m("label", { children: [
|
|
3772
3772
|
/* @__PURE__ */ i(
|
|
3773
3773
|
"input",
|
|
3774
3774
|
{
|
|
3775
3775
|
type: "radio",
|
|
3776
|
-
checked:
|
|
3776
|
+
checked: B,
|
|
3777
3777
|
onChange: () => {
|
|
3778
|
-
l ?
|
|
3778
|
+
l ? B ? g({
|
|
3779
3779
|
actualValue: $,
|
|
3780
3780
|
options: a,
|
|
3781
3781
|
onChange: b
|
|
3782
|
-
}) :
|
|
3782
|
+
}) : _({
|
|
3783
3783
|
actualValue: $,
|
|
3784
3784
|
options: a,
|
|
3785
3785
|
onChange: b
|
|
@@ -3790,14 +3790,14 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3790
3790
|
),
|
|
3791
3791
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3792
3792
|
u(S)
|
|
3793
|
-
] }, `inputRadio ${
|
|
3793
|
+
] }, `inputRadio ${T}`);
|
|
3794
3794
|
}
|
|
3795
3795
|
),
|
|
3796
3796
|
/* @__PURE__ */ i(
|
|
3797
3797
|
Ee,
|
|
3798
3798
|
{
|
|
3799
|
-
errorMessage: (
|
|
3800
|
-
errorColor:
|
|
3799
|
+
errorMessage: (N = x.error) == null ? void 0 : N.message,
|
|
3800
|
+
errorColor: p || d
|
|
3801
3801
|
}
|
|
3802
3802
|
)
|
|
3803
3803
|
] })
|
|
@@ -3824,20 +3824,20 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3824
3824
|
thumbColor: l = "#B32F5D",
|
|
3825
3825
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3826
3826
|
required: u,
|
|
3827
|
-
errorColor:
|
|
3827
|
+
errorColor: C = "red",
|
|
3828
3828
|
labelWidth: h = "300px",
|
|
3829
|
-
sliderWidth:
|
|
3830
|
-
minText:
|
|
3829
|
+
sliderWidth: y = "300px",
|
|
3830
|
+
minText: p,
|
|
3831
3831
|
maxText: g,
|
|
3832
|
-
disabled:
|
|
3833
|
-
marks:
|
|
3832
|
+
disabled: _ = !1,
|
|
3833
|
+
marks: v = Array.from(
|
|
3834
3834
|
{ length: d - o + 1 },
|
|
3835
3835
|
(L, F) => o + F
|
|
3836
3836
|
),
|
|
3837
3837
|
showMarksNumber: b = !0
|
|
3838
|
-
} = n, { t:
|
|
3838
|
+
} = n, { t: w } = V(), { control: $, trigger: f, clearErrors: x } = c || {};
|
|
3839
3839
|
te(u);
|
|
3840
|
-
const { errorColorForm:
|
|
3840
|
+
const { errorColorForm: N } = qe((L) => L), [S, k] = O(a);
|
|
3841
3841
|
return c ? /* @__PURE__ */ i(
|
|
3842
3842
|
Ie,
|
|
3843
3843
|
{
|
|
@@ -3845,21 +3845,21 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3845
3845
|
control: $,
|
|
3846
3846
|
defaultValue: a,
|
|
3847
3847
|
rules: {
|
|
3848
|
-
required: u ? `${
|
|
3848
|
+
required: u ? `${w(t)} ${w("errorMessages.required")}` : !1
|
|
3849
3849
|
},
|
|
3850
3850
|
render: ({ field: L, fieldState: F }) => {
|
|
3851
|
-
var
|
|
3851
|
+
var T;
|
|
3852
3852
|
return /* @__PURE__ */ m(
|
|
3853
3853
|
"div",
|
|
3854
3854
|
{
|
|
3855
3855
|
className: j.rankingSliderContainer,
|
|
3856
3856
|
style: {
|
|
3857
|
-
gridTemplateColumns: `${t && h} ${
|
|
3857
|
+
gridTemplateColumns: `${t && h} ${y}`
|
|
3858
3858
|
},
|
|
3859
3859
|
children: [
|
|
3860
|
-
t && /* @__PURE__ */ i("p", { className: j.labelContainer, children:
|
|
3860
|
+
t && /* @__PURE__ */ i("p", { className: j.labelContainer, children: w(t) }),
|
|
3861
3861
|
/* @__PURE__ */ m("div", { className: j.inputContainer, children: [
|
|
3862
|
-
|
|
3862
|
+
p && /* @__PURE__ */ i("div", { className: j.minLabel, children: w(p) }),
|
|
3863
3863
|
/* @__PURE__ */ m("div", { children: [
|
|
3864
3864
|
/* @__PURE__ */ i(
|
|
3865
3865
|
gt,
|
|
@@ -3868,31 +3868,31 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3868
3868
|
max: d,
|
|
3869
3869
|
step: 1,
|
|
3870
3870
|
value: L.value ?? a,
|
|
3871
|
-
onChange: (
|
|
3871
|
+
onChange: (B) => L.onChange(B),
|
|
3872
3872
|
marks: !0,
|
|
3873
3873
|
className: j.slider,
|
|
3874
3874
|
thumbClassName: j.thumb,
|
|
3875
|
-
renderThumb: (
|
|
3875
|
+
renderThumb: (B) => /* @__PURE__ */ i(
|
|
3876
3876
|
"div",
|
|
3877
3877
|
{
|
|
3878
|
-
...
|
|
3879
|
-
style: { ...
|
|
3878
|
+
...B,
|
|
3879
|
+
style: { ...B.style, backgroundColor: l }
|
|
3880
3880
|
}
|
|
3881
3881
|
),
|
|
3882
3882
|
trackClassName: j.track,
|
|
3883
3883
|
markClassName: j.mark,
|
|
3884
|
-
disabled:
|
|
3884
|
+
disabled: _
|
|
3885
3885
|
}
|
|
3886
3886
|
),
|
|
3887
|
-
|
|
3887
|
+
v && /* @__PURE__ */ i("div", { className: j.labels, children: v.map((B) => /* @__PURE__ */ i("span", { children: b && B }, B)) })
|
|
3888
3888
|
] }),
|
|
3889
|
-
g && /* @__PURE__ */ i("div", { className: j.maxLabel, children:
|
|
3889
|
+
g && /* @__PURE__ */ i("div", { className: j.maxLabel, children: w(g) })
|
|
3890
3890
|
] }),
|
|
3891
3891
|
/* @__PURE__ */ i(
|
|
3892
3892
|
Ee,
|
|
3893
3893
|
{
|
|
3894
|
-
errorMessage: (
|
|
3895
|
-
errorColor:
|
|
3894
|
+
errorMessage: (T = F.error) == null ? void 0 : T.message,
|
|
3895
|
+
errorColor: N || C
|
|
3896
3896
|
}
|
|
3897
3897
|
)
|
|
3898
3898
|
]
|
|
@@ -3904,11 +3904,11 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3904
3904
|
"div",
|
|
3905
3905
|
{
|
|
3906
3906
|
className: j.rankingSliderContainer,
|
|
3907
|
-
style: { gridTemplateColumns: `${t && h} ${
|
|
3907
|
+
style: { gridTemplateColumns: `${t && h} ${y}` },
|
|
3908
3908
|
children: [
|
|
3909
|
-
t && /* @__PURE__ */ i("p", { className: j.labelContainer, children:
|
|
3909
|
+
t && /* @__PURE__ */ i("p", { className: j.labelContainer, children: w(t) }),
|
|
3910
3910
|
/* @__PURE__ */ m("div", { className: j.inputContainer, children: [
|
|
3911
|
-
|
|
3911
|
+
p && /* @__PURE__ */ i("div", { className: j.minLabel, children: w(p) }),
|
|
3912
3912
|
/* @__PURE__ */ m("div", { children: [
|
|
3913
3913
|
/* @__PURE__ */ i(
|
|
3914
3914
|
gt,
|
|
@@ -3932,12 +3932,12 @@ const Ie = (n) => n.render(us(n)), ps = "_textInputContainer_1o3iy_2", hs = "_la
|
|
|
3932
3932
|
),
|
|
3933
3933
|
trackClassName: j.track,
|
|
3934
3934
|
markClassName: j.mark,
|
|
3935
|
-
disabled:
|
|
3935
|
+
disabled: _
|
|
3936
3936
|
}
|
|
3937
3937
|
),
|
|
3938
|
-
|
|
3938
|
+
v && /* @__PURE__ */ i("div", { className: j.labels, children: v.map((L) => /* @__PURE__ */ i("span", { children: b && L }, L)) })
|
|
3939
3939
|
] }),
|
|
3940
|
-
g && /* @__PURE__ */ i("div", { className: j.maxLabel, children:
|
|
3940
|
+
g && /* @__PURE__ */ i("div", { className: j.maxLabel, children: w(g) })
|
|
3941
3941
|
] })
|
|
3942
3942
|
]
|
|
3943
3943
|
}
|
|
@@ -3966,7 +3966,7 @@ const Oe = ({
|
|
|
3966
3966
|
inputContainerStyles: c,
|
|
3967
3967
|
reactHookFormInstance: s
|
|
3968
3968
|
}) => {
|
|
3969
|
-
const { watch: r } = s, t = r(), o =
|
|
3969
|
+
const { watch: r } = s, t = r(), o = Be(() => n == null ? void 0 : n.map((d) => {
|
|
3970
3970
|
const a = typeof d.required == "function" ? d.required(t) : d.required;
|
|
3971
3971
|
return {
|
|
3972
3972
|
...d,
|
|
@@ -4080,7 +4080,7 @@ const Oe = ({
|
|
|
4080
4080
|
className: Ke.categorySelector,
|
|
4081
4081
|
style: t ? { ...t } : {},
|
|
4082
4082
|
children: n.map((a, l) => {
|
|
4083
|
-
const { id: u, label:
|
|
4083
|
+
const { id: u, label: C } = a, h = s == u;
|
|
4084
4084
|
return /* @__PURE__ */ i(
|
|
4085
4085
|
"button",
|
|
4086
4086
|
{
|
|
@@ -4093,7 +4093,7 @@ const Oe = ({
|
|
|
4093
4093
|
{
|
|
4094
4094
|
style: { color: h ? "white" : "inherit" },
|
|
4095
4095
|
className: Ke.sectionLabel,
|
|
4096
|
-
children: o(
|
|
4096
|
+
children: o(C)
|
|
4097
4097
|
}
|
|
4098
4098
|
)
|
|
4099
4099
|
},
|
|
@@ -4102,7 +4102,7 @@ const Oe = ({
|
|
|
4102
4102
|
})
|
|
4103
4103
|
}
|
|
4104
4104
|
);
|
|
4105
|
-
},
|
|
4105
|
+
}, zr = ({
|
|
4106
4106
|
reactHookFormInstance: n,
|
|
4107
4107
|
formObject: c,
|
|
4108
4108
|
CategoryComponent: s,
|
|
@@ -4113,38 +4113,38 @@ const Oe = ({
|
|
|
4113
4113
|
submitButtonStyles: a = { width: 325 },
|
|
4114
4114
|
showCategorySelector: l = !0,
|
|
4115
4115
|
defaultCategory: u = null,
|
|
4116
|
-
categoryLabel:
|
|
4116
|
+
categoryLabel: C = "Select Category",
|
|
4117
4117
|
activeCategory: h = null,
|
|
4118
|
-
activeCategoryColor:
|
|
4119
|
-
onSubmit:
|
|
4118
|
+
activeCategoryColor: y = "#b32f5d",
|
|
4119
|
+
onSubmit: p = (g) => console.log("Form submitted with: ", g)
|
|
4120
4120
|
}) => {
|
|
4121
|
-
const { t: g } = V(), { handleSubmit:
|
|
4121
|
+
const { t: g } = V(), { handleSubmit: _, control: v } = n;
|
|
4122
4122
|
A(() => {
|
|
4123
4123
|
o && qe.setState(() => ({ errorColor: o }));
|
|
4124
4124
|
}, [o]);
|
|
4125
|
-
const b =
|
|
4125
|
+
const b = Be(() => c ? c.filter((k) => k.category).map((k) => {
|
|
4126
4126
|
var L;
|
|
4127
4127
|
return {
|
|
4128
4128
|
id: k.categoryId,
|
|
4129
4129
|
label: k.category,
|
|
4130
4130
|
hasSubcategories: ((L = k.subcategories) == null ? void 0 : L.length) > 0
|
|
4131
4131
|
};
|
|
4132
|
-
}) : [], [c]),
|
|
4132
|
+
}) : [], [c]), w = (k) => {
|
|
4133
4133
|
const L = c == null ? void 0 : c.find((F) => F.categoryId === k);
|
|
4134
4134
|
return (L == null ? void 0 : L.subcategories) || [];
|
|
4135
|
-
}, [$,
|
|
4135
|
+
}, [$, f] = O(
|
|
4136
4136
|
h || u || null
|
|
4137
|
-
), [x,
|
|
4137
|
+
), [x, N] = O(null);
|
|
4138
4138
|
A(() => {
|
|
4139
|
-
!$ && b.length > 0 &&
|
|
4139
|
+
!$ && b.length > 0 && f(b[0].id);
|
|
4140
4140
|
}, [b, $]), A(() => {
|
|
4141
|
-
const k =
|
|
4142
|
-
!x && (k == null ? void 0 : k.length) > 0 &&
|
|
4141
|
+
const k = w($);
|
|
4142
|
+
!x && (k == null ? void 0 : k.length) > 0 && N(k[0].id);
|
|
4143
4143
|
}, [$, x, c]);
|
|
4144
4144
|
const S = (k, L) => {
|
|
4145
4145
|
var F;
|
|
4146
4146
|
if (((F = k.subcategories) == null ? void 0 : F.length) > 0) {
|
|
4147
|
-
const
|
|
4147
|
+
const T = k.subcategories;
|
|
4148
4148
|
return /* @__PURE__ */ m("div", { children: [
|
|
4149
4149
|
/* @__PURE__ */ i(
|
|
4150
4150
|
"div",
|
|
@@ -4154,16 +4154,16 @@ const Oe = ({
|
|
|
4154
4154
|
Pt,
|
|
4155
4155
|
{
|
|
4156
4156
|
activeCategory: x,
|
|
4157
|
-
categories:
|
|
4158
|
-
onChange: (
|
|
4159
|
-
activeColor:
|
|
4157
|
+
categories: T,
|
|
4158
|
+
onChange: (B) => N(B),
|
|
4159
|
+
activeColor: y
|
|
4160
4160
|
}
|
|
4161
4161
|
)
|
|
4162
4162
|
},
|
|
4163
4163
|
k.categoryId
|
|
4164
4164
|
),
|
|
4165
|
-
|
|
4166
|
-
const R = !x ||
|
|
4165
|
+
T.map((B, P) => {
|
|
4166
|
+
const R = !x || B.id === x;
|
|
4167
4167
|
return s ? /* @__PURE__ */ i(
|
|
4168
4168
|
"div",
|
|
4169
4169
|
{
|
|
@@ -4171,18 +4171,18 @@ const Oe = ({
|
|
|
4171
4171
|
display: R ? "block" : "none",
|
|
4172
4172
|
width: "100%"
|
|
4173
4173
|
},
|
|
4174
|
-
children: /* @__PURE__ */ i(s, { title:
|
|
4174
|
+
children: /* @__PURE__ */ i(s, { title: B.label, children: /* @__PURE__ */ i(
|
|
4175
4175
|
Oe,
|
|
4176
4176
|
{
|
|
4177
|
-
inputs:
|
|
4178
|
-
control:
|
|
4177
|
+
inputs: B.inputs,
|
|
4178
|
+
control: v,
|
|
4179
4179
|
inputContainerStyles: r,
|
|
4180
4180
|
errorColor: o,
|
|
4181
4181
|
reactHookFormInstance: n
|
|
4182
4182
|
}
|
|
4183
|
-
) },
|
|
4183
|
+
) }, B.id)
|
|
4184
4184
|
},
|
|
4185
|
-
`${
|
|
4185
|
+
`${B.id}${P}`
|
|
4186
4186
|
) : /* @__PURE__ */ m(
|
|
4187
4187
|
"div",
|
|
4188
4188
|
{
|
|
@@ -4191,12 +4191,12 @@ const Oe = ({
|
|
|
4191
4191
|
display: R ? "block" : "none"
|
|
4192
4192
|
},
|
|
4193
4193
|
children: [
|
|
4194
|
-
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: g(
|
|
4194
|
+
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: g(B.label) }),
|
|
4195
4195
|
/* @__PURE__ */ i(
|
|
4196
4196
|
Oe,
|
|
4197
4197
|
{
|
|
4198
|
-
inputs:
|
|
4199
|
-
control:
|
|
4198
|
+
inputs: B.inputs,
|
|
4199
|
+
control: v,
|
|
4200
4200
|
inputContainerStyles: r,
|
|
4201
4201
|
errorColor: o,
|
|
4202
4202
|
reactHookFormInstance: n
|
|
@@ -4204,7 +4204,7 @@ const Oe = ({
|
|
|
4204
4204
|
)
|
|
4205
4205
|
]
|
|
4206
4206
|
},
|
|
4207
|
-
`${
|
|
4207
|
+
`${B.id}${P}`
|
|
4208
4208
|
);
|
|
4209
4209
|
})
|
|
4210
4210
|
] });
|
|
@@ -4213,7 +4213,7 @@ const Oe = ({
|
|
|
4213
4213
|
Oe,
|
|
4214
4214
|
{
|
|
4215
4215
|
inputs: k.inputs,
|
|
4216
|
-
control:
|
|
4216
|
+
control: v,
|
|
4217
4217
|
inputContainerStyles: r,
|
|
4218
4218
|
errorColor: o,
|
|
4219
4219
|
reactHookFormInstance: n
|
|
@@ -4224,7 +4224,7 @@ const Oe = ({
|
|
|
4224
4224
|
Oe,
|
|
4225
4225
|
{
|
|
4226
4226
|
inputs: k.inputs,
|
|
4227
|
-
control:
|
|
4227
|
+
control: v,
|
|
4228
4228
|
inputContainerStyles: r,
|
|
4229
4229
|
errorColor: o,
|
|
4230
4230
|
reactHookFormInstance: n
|
|
@@ -4232,16 +4232,16 @@ const Oe = ({
|
|
|
4232
4232
|
)
|
|
4233
4233
|
] }, k.categoryId);
|
|
4234
4234
|
};
|
|
4235
|
-
return /* @__PURE__ */ m("form", { className: De.formContainer, onSubmit:
|
|
4235
|
+
return /* @__PURE__ */ m("form", { className: De.formContainer, onSubmit: _(p), children: [
|
|
4236
4236
|
l && b.length > 0 && /* @__PURE__ */ i("div", { className: De.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
4237
4237
|
Pt,
|
|
4238
4238
|
{
|
|
4239
4239
|
activeCategory: $,
|
|
4240
4240
|
categories: b,
|
|
4241
4241
|
onChange: (k) => {
|
|
4242
|
-
|
|
4242
|
+
f(k), N(null);
|
|
4243
4243
|
},
|
|
4244
|
-
activeColor:
|
|
4244
|
+
activeColor: y
|
|
4245
4245
|
}
|
|
4246
4246
|
) }),
|
|
4247
4247
|
/* @__PURE__ */ i("div", { className: De.formObjectContainer, children: c == null ? void 0 : c.map((k, L) => {
|
|
@@ -4260,7 +4260,7 @@ const Oe = ({
|
|
|
4260
4260
|
Oe,
|
|
4261
4261
|
{
|
|
4262
4262
|
inputs: k.inputs,
|
|
4263
|
-
control:
|
|
4263
|
+
control: v,
|
|
4264
4264
|
inputContainerStyles: r,
|
|
4265
4265
|
errorColor: o,
|
|
4266
4266
|
reactHookFormInstance: n
|
|
@@ -4430,15 +4430,15 @@ const f1 = "_switchContainer_194wl_2", y1 = "_labelRight_194wl_9", b1 = "_labelL
|
|
|
4430
4430
|
defValue: a = !1,
|
|
4431
4431
|
colorOn: l = "#5A514D",
|
|
4432
4432
|
disabled: u = !1,
|
|
4433
|
-
width:
|
|
4434
|
-
} = n, { t: h } = V(), { control:
|
|
4433
|
+
width: C = 240
|
|
4434
|
+
} = n, { t: h } = V(), { control: y } = c || {}, [p, g] = O(a), _ = (b) => {
|
|
4435
4435
|
g(b), s && s(b);
|
|
4436
|
-
},
|
|
4436
|
+
}, v = (b, w) => /* @__PURE__ */ m("div", { className: Le.switchContainer, style: { width: `${C}px` }, children: [
|
|
4437
4437
|
o && /* @__PURE__ */ i(
|
|
4438
4438
|
"span",
|
|
4439
4439
|
{
|
|
4440
4440
|
className: Le.labelLeft,
|
|
4441
|
-
style: { width: `${(
|
|
4441
|
+
style: { width: `${(C - 74) / 2}px` },
|
|
4442
4442
|
children: h(o)
|
|
4443
4443
|
}
|
|
4444
4444
|
),
|
|
@@ -4448,7 +4448,7 @@ const f1 = "_switchContainer_194wl_2", y1 = "_labelRight_194wl_9", b1 = "_labelL
|
|
|
4448
4448
|
{
|
|
4449
4449
|
type: "checkbox",
|
|
4450
4450
|
checked: !!b,
|
|
4451
|
-
onChange: () =>
|
|
4451
|
+
onChange: () => w(!b),
|
|
4452
4452
|
disabled: u
|
|
4453
4453
|
}
|
|
4454
4454
|
),
|
|
@@ -4462,17 +4462,17 @@ const f1 = "_switchContainer_194wl_2", y1 = "_labelRight_194wl_9", b1 = "_labelL
|
|
|
4462
4462
|
}
|
|
4463
4463
|
)
|
|
4464
4464
|
] }),
|
|
4465
|
-
d && /* @__PURE__ */ i("span", { className: Le.labelRight, style: { width: `${(
|
|
4465
|
+
d && /* @__PURE__ */ i("span", { className: Le.labelRight, style: { width: `${(C - 74) / 2}px` }, children: h(d) })
|
|
4466
4466
|
] });
|
|
4467
4467
|
return c ? /* @__PURE__ */ i(
|
|
4468
4468
|
Ie,
|
|
4469
4469
|
{
|
|
4470
4470
|
name: t,
|
|
4471
|
-
control:
|
|
4471
|
+
control: y,
|
|
4472
4472
|
defaultValue: a,
|
|
4473
|
-
render: ({ field: b }) =>
|
|
4473
|
+
render: ({ field: b }) => v(b.value, b.onChange)
|
|
4474
4474
|
}
|
|
4475
|
-
) :
|
|
4475
|
+
) : v(p, _);
|
|
4476
4476
|
};
|
|
4477
4477
|
x1.propTypes = {
|
|
4478
4478
|
input: e.shape({
|
|
@@ -4506,11 +4506,11 @@ S1.propTypes = {
|
|
|
4506
4506
|
gifSrc: e.string,
|
|
4507
4507
|
message: e.string
|
|
4508
4508
|
};
|
|
4509
|
-
const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10",
|
|
4509
|
+
const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", B1 = "_menu_1pl8d_21", T1 = "_menuOpen_1pl8d_35", F1 = "_menuClose_1pl8d_40", D1 = "_list_1pl8d_46", V1 = "_item_1pl8d_56", A1 = "_button_1pl8d_91", oe = {
|
|
4510
4510
|
container: L1,
|
|
4511
4511
|
burger: M1,
|
|
4512
|
-
menu:
|
|
4513
|
-
menuOpen:
|
|
4512
|
+
menu: B1,
|
|
4513
|
+
menuOpen: T1,
|
|
4514
4514
|
menuClose: F1,
|
|
4515
4515
|
list: D1,
|
|
4516
4516
|
item: V1,
|
|
@@ -4521,7 +4521,7 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4521
4521
|
textColor: s,
|
|
4522
4522
|
iconColor: r
|
|
4523
4523
|
}) => {
|
|
4524
|
-
const [t, o] = O(!1), d = () => o((g) => !g), a = () => o(!1), l = 7, u = t ? 11 : 0,
|
|
4524
|
+
const [t, o] = O(!1), d = () => o((g) => !g), a = () => o(!1), l = 7, u = t ? 11 : 0, C = t ? 13 : 0, h = t ? -11.51666 : 0, y = t ? -13 : 0, p = "0.35s";
|
|
4525
4525
|
return /* @__PURE__ */ m("div", { className: oe.container, children: [
|
|
4526
4526
|
/* @__PURE__ */ i("button", { onClick: d, className: oe.burger, children: /* @__PURE__ */ m(
|
|
4527
4527
|
"svg",
|
|
@@ -4537,7 +4537,7 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4537
4537
|
{
|
|
4538
4538
|
style: {
|
|
4539
4539
|
transform: `translateY(${u}px)`,
|
|
4540
|
-
transition: `transform ${
|
|
4540
|
+
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4541
4541
|
},
|
|
4542
4542
|
children: /* @__PURE__ */ i("circle", { cx: "20", cy: "9", r: l, fill: r })
|
|
4543
4543
|
}
|
|
@@ -4546,8 +4546,8 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4546
4546
|
"g",
|
|
4547
4547
|
{
|
|
4548
4548
|
style: {
|
|
4549
|
-
transform: `translate(${
|
|
4550
|
-
transition: `transform ${
|
|
4549
|
+
transform: `translate(${C}px, ${h}px)`,
|
|
4550
|
+
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4551
4551
|
},
|
|
4552
4552
|
children: /* @__PURE__ */ i("circle", { cx: "7", cy: "31.51666", r: l, fill: r })
|
|
4553
4553
|
}
|
|
@@ -4556,8 +4556,8 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4556
4556
|
"g",
|
|
4557
4557
|
{
|
|
4558
4558
|
style: {
|
|
4559
|
-
transform: `translate(${
|
|
4560
|
-
transition: `transform ${
|
|
4559
|
+
transform: `translate(${y}px, ${h}px)`,
|
|
4560
|
+
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4561
4561
|
},
|
|
4562
4562
|
children: /* @__PURE__ */ i("circle", { cx: "33", cy: "31.51666", r: l, fill: r })
|
|
4563
4563
|
}
|
|
@@ -4567,7 +4567,7 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4567
4567
|
{
|
|
4568
4568
|
style: {
|
|
4569
4569
|
opacity: t ? 1 : 0,
|
|
4570
|
-
transition: `opacity ${
|
|
4570
|
+
transition: `opacity ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4571
4571
|
},
|
|
4572
4572
|
children: /* @__PURE__ */ i("circle", { cx: "20", cy: "20", r: "10", fill: r })
|
|
4573
4573
|
}
|
|
@@ -4580,7 +4580,7 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4580
4580
|
strokeLinecap: "round",
|
|
4581
4581
|
style: {
|
|
4582
4582
|
opacity: t ? 1 : 0,
|
|
4583
|
-
transition: `opacity ${
|
|
4583
|
+
transition: `opacity ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4584
4584
|
},
|
|
4585
4585
|
children: [
|
|
4586
4586
|
/* @__PURE__ */ i("line", { x1: "17", y1: "17", x2: "23", y2: "23" }),
|
|
@@ -4596,12 +4596,12 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4596
4596
|
{
|
|
4597
4597
|
className: `${oe.menu} ${t ? oe.menuOpen : oe.menuClose}`,
|
|
4598
4598
|
style: { backgroundColor: c, color: s },
|
|
4599
|
-
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((g,
|
|
4599
|
+
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((g, _) => /* @__PURE__ */ m("li", { className: oe.item, children: [
|
|
4600
4600
|
g.url && /* @__PURE__ */ i(
|
|
4601
4601
|
Ut,
|
|
4602
4602
|
{
|
|
4603
4603
|
to: g.url,
|
|
4604
|
-
className: ({ isActive:
|
|
4604
|
+
className: ({ isActive: v }) => `${oe.link} ${v ? oe.active : ""}`,
|
|
4605
4605
|
onClick: a,
|
|
4606
4606
|
style: { color: s },
|
|
4607
4607
|
children: g.name
|
|
@@ -4618,7 +4618,7 @@ const L1 = "_container_1pl8d_3", M1 = "_burger_1pl8d_10", T1 = "_menu_1pl8d_21",
|
|
|
4618
4618
|
}
|
|
4619
4619
|
),
|
|
4620
4620
|
g.component && g.component
|
|
4621
|
-
] },
|
|
4621
|
+
] }, _)) })
|
|
4622
4622
|
}
|
|
4623
4623
|
)
|
|
4624
4624
|
] });
|
|
@@ -4648,18 +4648,18 @@ const O1 = "_svgContainer_1rxoe_2", R1 = "_svg_1rxoe_2", zt = {
|
|
|
4648
4648
|
showXAxisLabels: a = !0,
|
|
4649
4649
|
showYAxisLabels: l = !0,
|
|
4650
4650
|
showGrid: u = !0,
|
|
4651
|
-
xAxisTickRotation:
|
|
4652
|
-
yAxisTickFormat: h = (
|
|
4653
|
-
barPadding:
|
|
4654
|
-
groupPadding:
|
|
4651
|
+
xAxisTickRotation: C = -90,
|
|
4652
|
+
yAxisTickFormat: h = (f) => f.toLocaleString("es-ES"),
|
|
4653
|
+
barPadding: y = 0.1,
|
|
4654
|
+
groupPadding: p = 0.05,
|
|
4655
4655
|
animationDuration: g = 750,
|
|
4656
|
-
onBarHover:
|
|
4657
|
-
onBarClick:
|
|
4656
|
+
onBarHover: _,
|
|
4657
|
+
onBarClick: v,
|
|
4658
4658
|
title: b,
|
|
4659
|
-
xAxisLabel:
|
|
4659
|
+
xAxisLabel: w,
|
|
4660
4660
|
yAxisLabel: $
|
|
4661
4661
|
}) => {
|
|
4662
|
-
const
|
|
4662
|
+
const f = te(), x = te(), [N, S] = O({ width: 0, height: 0 });
|
|
4663
4663
|
return A(() => {
|
|
4664
4664
|
const k = () => {
|
|
4665
4665
|
if (x.current) {
|
|
@@ -4672,46 +4672,46 @@ const O1 = "_svgContainer_1rxoe_2", R1 = "_svg_1rxoe_2", zt = {
|
|
|
4672
4672
|
};
|
|
4673
4673
|
return k(), window.addEventListener("resize", k), () => window.removeEventListener("resize", k);
|
|
4674
4674
|
}, [r, t]), A(() => {
|
|
4675
|
-
if (!n || n.length === 0 ||
|
|
4676
|
-
const k = we(
|
|
4677
|
-
if (
|
|
4678
|
-
const P = n.map((D) => D.anyo || D.year || D.x), R = c, X = lt(n, (D) => lt(R, (U) => D[U])) || 0, W = ct(n, (D) => ct(R, (U) => D[U])) || 0, z = dt().domain(P).rangeRound([0,
|
|
4675
|
+
if (!n || n.length === 0 || N.width === 0) return;
|
|
4676
|
+
const k = we(f.current), L = N.width, F = N.height, T = L - o.left - o.right, B = F - o.top - o.bottom;
|
|
4677
|
+
if (T <= 0 || B <= 0) return;
|
|
4678
|
+
const P = n.map((D) => D.anyo || D.year || D.x), R = c, X = lt(n, (D) => lt(R, (U) => D[U])) || 0, W = ct(n, (D) => ct(R, (U) => D[U])) || 0, z = dt().domain(P).rangeRound([0, T]).paddingInner(y), E = dt().domain(R).rangeRound([0, z.bandwidth()]).padding(p), se = Ht().domain([Math.min(0, X), W]).nice().rangeRound([B, 0]), fe = Kt().domain(R).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4679
4679
|
k.selectAll("*").remove();
|
|
4680
4680
|
const ae = k.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4681
|
-
b && k.append("text").attr("x", L / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(b), u && ae.append("g").attr("class", "grid").selectAll("line").data(se.ticks()).enter().append("line").attr("x1", 0).attr("x2",
|
|
4681
|
+
b && k.append("text").attr("x", L / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(b), u && ae.append("g").attr("class", "grid").selectAll("line").data(se.ticks()).enter().append("line").attr("x1", 0).attr("x2", T).attr("y1", (D) => se(D)).attr("y2", (D) => se(D)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (ae.append("g").attr("transform", `translate(0,${B})`).call(Wt(z).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${C})`).style("text-anchor", C < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), w && ae.append("text").attr(
|
|
4682
4682
|
"transform",
|
|
4683
|
-
`translate(${
|
|
4684
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(
|
|
4685
|
-
const
|
|
4683
|
+
`translate(${T / 2}, ${B + o.bottom - 5})`
|
|
4684
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), l && (ae.append("g").call(ut(se).ticks(6).tickFormat(h)).attr("class", "y-axis").call((D) => D.select(".domain").remove()), $ && ae.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - B / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
4685
|
+
const Q = ae.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (D) => `translate(${z(D.anyo || D.year || D.x)},0)`).selectAll(".bar").data(
|
|
4686
4686
|
(D) => R.map((U) => ({
|
|
4687
4687
|
key: U,
|
|
4688
4688
|
value: D[U],
|
|
4689
4689
|
data: D
|
|
4690
4690
|
}))
|
|
4691
|
-
).enter().append("rect").attr("class", "bar").attr("x", (D) => E(D.key)).attr("y",
|
|
4692
|
-
|
|
4693
|
-
we(this).style("opacity", 0.8),
|
|
4691
|
+
).enter().append("rect").attr("class", "bar").attr("x", (D) => E(D.key)).attr("y", B).attr("width", E.bandwidth()).attr("height", 0).attr("fill", (D) => fe(D.key)).style("cursor", _ || v ? "pointer" : "default");
|
|
4692
|
+
Q.transition().duration(g).attr("y", (D) => se(Math.max(0, D.value))).attr("height", (D) => Math.abs(se(D.value) - se(0))), _ && Q.on("mouseover", function(D, U) {
|
|
4693
|
+
we(this).style("opacity", 0.8), _(D, U);
|
|
4694
4694
|
}).on("mouseout", function(D, U) {
|
|
4695
4695
|
we(this).style("opacity", 1);
|
|
4696
|
-
}),
|
|
4696
|
+
}), v && Q.on("click", v);
|
|
4697
4697
|
}, [
|
|
4698
4698
|
n,
|
|
4699
4699
|
c,
|
|
4700
4700
|
s,
|
|
4701
|
-
|
|
4701
|
+
N,
|
|
4702
4702
|
o,
|
|
4703
|
+
y,
|
|
4703
4704
|
p,
|
|
4704
|
-
C,
|
|
4705
4705
|
a,
|
|
4706
4706
|
l,
|
|
4707
4707
|
u,
|
|
4708
|
-
|
|
4708
|
+
C,
|
|
4709
4709
|
h,
|
|
4710
4710
|
g,
|
|
4711
|
-
v,
|
|
4712
4711
|
_,
|
|
4712
|
+
v,
|
|
4713
4713
|
b,
|
|
4714
|
-
|
|
4714
|
+
w,
|
|
4715
4715
|
$
|
|
4716
4716
|
]), /* @__PURE__ */ i(
|
|
4717
4717
|
"div",
|
|
@@ -4722,10 +4722,10 @@ const O1 = "_svgContainer_1rxoe_2", R1 = "_svg_1rxoe_2", zt = {
|
|
|
4722
4722
|
children: /* @__PURE__ */ i(
|
|
4723
4723
|
"svg",
|
|
4724
4724
|
{
|
|
4725
|
-
ref:
|
|
4725
|
+
ref: f,
|
|
4726
4726
|
className: zt.svg,
|
|
4727
|
-
width:
|
|
4728
|
-
height:
|
|
4727
|
+
width: N.width,
|
|
4728
|
+
height: N.height
|
|
4729
4729
|
}
|
|
4730
4730
|
)
|
|
4731
4731
|
}
|
|
@@ -4775,20 +4775,20 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4775
4775
|
showXAxisLabels: a = !0,
|
|
4776
4776
|
showYAxisLabels: l = !0,
|
|
4777
4777
|
showGrid: u = !0,
|
|
4778
|
-
xAxisTickRotation:
|
|
4778
|
+
xAxisTickRotation: C = -90,
|
|
4779
4779
|
yAxisTickFormat: h = (S) => S.toLocaleString("es-ES"),
|
|
4780
|
-
barPadding:
|
|
4781
|
-
animationDuration:
|
|
4780
|
+
barPadding: y = 0.4,
|
|
4781
|
+
animationDuration: p = 750,
|
|
4782
4782
|
onBarHover: g,
|
|
4783
|
-
onBarClick:
|
|
4784
|
-
title:
|
|
4783
|
+
onBarClick: _,
|
|
4784
|
+
title: v,
|
|
4785
4785
|
xAxisLabel: b,
|
|
4786
|
-
yAxisLabel:
|
|
4786
|
+
yAxisLabel: w,
|
|
4787
4787
|
stackOrder: $ = "reverse",
|
|
4788
4788
|
// "reverse", "ascending", "descending", "insideOut", "none"
|
|
4789
|
-
showTooltip:
|
|
4789
|
+
showTooltip: f = !0,
|
|
4790
4790
|
reverseKeys: x = !0,
|
|
4791
|
-
minBarSlotWidth:
|
|
4791
|
+
minBarSlotWidth: N = 60
|
|
4792
4792
|
}) => {
|
|
4793
4793
|
const S = te(), k = te();
|
|
4794
4794
|
te();
|
|
@@ -4797,24 +4797,24 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4797
4797
|
height: 0
|
|
4798
4798
|
});
|
|
4799
4799
|
return A(() => {
|
|
4800
|
-
const
|
|
4800
|
+
const T = () => {
|
|
4801
4801
|
if (k.current) {
|
|
4802
|
-
const
|
|
4802
|
+
const B = k.current.getBoundingClientRect().width;
|
|
4803
4803
|
F({
|
|
4804
|
-
containerWidth: typeof r == "number" ? r :
|
|
4804
|
+
containerWidth: typeof r == "number" ? r : B,
|
|
4805
4805
|
height: t
|
|
4806
4806
|
});
|
|
4807
4807
|
}
|
|
4808
4808
|
};
|
|
4809
|
-
return
|
|
4809
|
+
return T(), window.addEventListener("resize", T), () => window.removeEventListener("resize", T);
|
|
4810
4810
|
}, [r, t]), A(() => {
|
|
4811
4811
|
if (!n || n.length === 0 || L.containerWidth === 0) return;
|
|
4812
|
-
const
|
|
4812
|
+
const T = we(S.current), { containerWidth: B, height: P } = L, R = B - o.left - o.right, X = n.length * N, W = Math.max(
|
|
4813
4813
|
R,
|
|
4814
4814
|
X
|
|
4815
4815
|
), z = W + o.left + o.right, E = P - o.top - o.bottom;
|
|
4816
4816
|
if (W <= 0 || E <= 0) return;
|
|
4817
|
-
|
|
4817
|
+
T.attr("width", z).attr("height", P);
|
|
4818
4818
|
const se = x ? [...c].reverse() : c, fe = [];
|
|
4819
4819
|
n.forEach((M) => {
|
|
4820
4820
|
const ee = M.any || M.year || M.x, H = se.map((Z) => ({
|
|
@@ -4854,33 +4854,33 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4854
4854
|
const ae = [
|
|
4855
4855
|
lt(fe, (M) => Math.min(M.y0, M.y1)) || 0,
|
|
4856
4856
|
ct(fe, (M) => Math.max(M.y0, M.y1)) || 0
|
|
4857
|
-
], le = dt().domain(n.map((M) => M.any || M.year || M.x)).range([0, W]).padding(
|
|
4858
|
-
|
|
4859
|
-
const U =
|
|
4860
|
-
|
|
4857
|
+
], le = dt().domain(n.map((M) => M.any || M.year || M.x)).range([0, W]).padding(y), Q = Ht().domain([ae[0], ae[1]]).nice(6).range([E, 0]), D = Kt().domain(c).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4858
|
+
T.selectAll("*").remove();
|
|
4859
|
+
const U = T.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4860
|
+
v && T.append("text").attr("x", svgWidth / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(v), u && U.append("g").attr("class", "grid").selectAll("line").data(Q.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", W).attr("y1", (M) => Q(M)).attr("y2", (M) => Q(M)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (U.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${E})`).call(Wt(le).tickSizeOuter(0)).selectAll("text").remove(), U.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${E})`).selectAll("text").data(n).enter().append("text").attr(
|
|
4861
4861
|
"x",
|
|
4862
4862
|
(H) => le(H.any || H.year || H.x) + le.bandwidth() / 2
|
|
4863
4863
|
).attr("y", 19).style(
|
|
4864
4864
|
"text-anchor",
|
|
4865
|
-
|
|
4865
|
+
C === 0 ? "middle" : C < 0 ? "end" : "start"
|
|
4866
4866
|
).style("font-size", "12px").style("fill", "#605B56").attr(
|
|
4867
4867
|
"transform",
|
|
4868
|
-
(H) => `rotate(${
|
|
4868
|
+
(H) => `rotate(${C} ${le(H.any || H.year || H.x) + le.bandwidth() / 2} 15)`
|
|
4869
4869
|
).text((H) => H.any || H.year || H.x), b && U.append("text").attr(
|
|
4870
4870
|
"transform",
|
|
4871
4871
|
`translate(${W / 2}, ${E + o.bottom - 5})`
|
|
4872
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(b)), l && (U.append("g").attr("class", "y-axis").call(ut(
|
|
4872
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(b)), l && (U.append("g").attr("class", "y-axis").call(ut(Q).ticks(6).tickFormat(h)).call((M) => M.select(".domain").remove()), U.append("g").attr("class", "y-ticks").attr("transform", `translate(${W}, 0)`).call(ut(Q).ticks(6).tickSizeInner(W)).call((M) => M.select(".domain").remove()).call((M) => M.selectAll(".tick text").remove()), w && U.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - E / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w));
|
|
4873
4873
|
let ce;
|
|
4874
|
-
|
|
4874
|
+
f && (ce = we("body").append("div").attr("class", "chart-tooltip").style("position", "absolute").style("visibility", "hidden").style("background", "rgba(0, 0, 0, 0.8)").style("color", "white").style("padding", "8px").style("border-radius", "4px").style("font-size", "12px").style("pointer-events", "none").style("z-index", "1000"));
|
|
4875
4875
|
const Je = U.selectAll(".segment").data(fe, (M) => `${M.xKey}-${M.key}`);
|
|
4876
4876
|
Je.exit().remove();
|
|
4877
|
-
const Ye = Je.enter().append("rect").attr("class", "segment").attr("x", (M) => le(M.xKey)).attr("width", le.bandwidth()).attr("y", (M) =>
|
|
4877
|
+
const Ye = Je.enter().append("rect").attr("class", "segment").attr("x", (M) => le(M.xKey)).attr("width", le.bandwidth()).attr("y", (M) => Q(0)).attr("height", 0).attr("fill", (M) => D(M.key)).style(
|
|
4878
4878
|
"cursor",
|
|
4879
|
-
g ||
|
|
4879
|
+
g || _ || f ? "pointer" : "default"
|
|
4880
4880
|
).merge(Je);
|
|
4881
|
-
return Ye.transition().duration(
|
|
4881
|
+
return Ye.transition().duration(p).attr("x", (M) => le(M.xKey)).attr("y", (M) => Math.min(Q(M.y0), Q(M.y1))).attr("height", (M) => Math.abs(Q(M.y1) - Q(M.y0))), (f || g) && Ye.on("mouseover", function(M, ee) {
|
|
4882
4882
|
const H = ee.value;
|
|
4883
|
-
|
|
4883
|
+
f && ce && ce.style("visibility", "visible").html(`
|
|
4884
4884
|
<strong>${ee.key}</strong><br/>
|
|
4885
4885
|
${ee.xKey}<br/>
|
|
4886
4886
|
${h(H)}
|
|
@@ -4890,12 +4890,12 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4890
4890
|
data: ee.data
|
|
4891
4891
|
});
|
|
4892
4892
|
}).on("mousemove", function(M) {
|
|
4893
|
-
|
|
4893
|
+
f && ce && ce.style("top", M.pageY - 10 + "px").style("left", M.pageX + 10 + "px");
|
|
4894
4894
|
}).on("mouseout", function() {
|
|
4895
|
-
|
|
4896
|
-
}),
|
|
4895
|
+
f && ce && ce.style("visibility", "hidden"), we(this).style("opacity", 1);
|
|
4896
|
+
}), _ && Ye.on("click", function(M, ee) {
|
|
4897
4897
|
const H = ee.value;
|
|
4898
|
-
|
|
4898
|
+
_(M, {
|
|
4899
4899
|
key: ee.key,
|
|
4900
4900
|
value: H,
|
|
4901
4901
|
data: ee.data
|
|
@@ -4909,20 +4909,20 @@ const E1 = "_svgContainer_7fkic_2", q1 = "_svg_7fkic_2", Zt = {
|
|
|
4909
4909
|
s,
|
|
4910
4910
|
L,
|
|
4911
4911
|
o,
|
|
4912
|
-
|
|
4912
|
+
y,
|
|
4913
4913
|
a,
|
|
4914
4914
|
l,
|
|
4915
4915
|
u,
|
|
4916
|
-
f,
|
|
4917
|
-
h,
|
|
4918
4916
|
C,
|
|
4917
|
+
h,
|
|
4918
|
+
p,
|
|
4919
4919
|
g,
|
|
4920
|
-
v,
|
|
4921
4920
|
_,
|
|
4921
|
+
v,
|
|
4922
4922
|
b,
|
|
4923
|
-
|
|
4923
|
+
w,
|
|
4924
4924
|
$,
|
|
4925
|
-
|
|
4925
|
+
f,
|
|
4926
4926
|
x
|
|
4927
4927
|
]), /* @__PURE__ */ i(
|
|
4928
4928
|
"div",
|
|
@@ -4983,7 +4983,7 @@ P1.propTypes = {
|
|
|
4983
4983
|
reverseKeys: e.bool,
|
|
4984
4984
|
minBarSlotWidth: e.number
|
|
4985
4985
|
};
|
|
4986
|
-
const z1 = "
|
|
4986
|
+
const z1 = "_externalContainer_1er0i_2", Z1 = "_externalSintetic_1er0i_9", j1 = "_titles_1er0i_13", H1 = "_titleContainer_1er0i_22", K1 = "_yearTitles_1er0i_36", W1 = "_yearTitle_1er0i_36", U1 = "_yearDatas_1er0i_50", G1 = "_yearDataContainer_1er0i_58", X1 = "_yearDataContent_1er0i_66", Q1 = "_bigNumber_1er0i_79", J1 = "_circle_1er0i_82", Y1 = "_totalContainer_1er0i_99", er = "_total_1er0i_99", J = {
|
|
4987
4987
|
externalContainer: z1,
|
|
4988
4988
|
externalSintetic: Z1,
|
|
4989
4989
|
titles: j1,
|
|
@@ -4996,9 +4996,8 @@ const z1 = "_externalContainer_ldxs2_2", Z1 = "_externalSintetic_ldxs2_15", j1 =
|
|
|
4996
4996
|
bigNumber: Q1,
|
|
4997
4997
|
circle: J1,
|
|
4998
4998
|
totalContainer: Y1,
|
|
4999
|
-
total: er
|
|
5000
|
-
|
|
5001
|
-
}, nr = (n) => {
|
|
4999
|
+
total: er
|
|
5000
|
+
}, tr = (n) => {
|
|
5002
5001
|
if (n >= 1e3 || n <= -1e3)
|
|
5003
5002
|
return parseInt(n.toFixed());
|
|
5004
5003
|
if (n >= 100 || n <= -100)
|
|
@@ -5009,12 +5008,12 @@ const z1 = "_externalContainer_ldxs2_2", Z1 = "_externalSintetic_ldxs2_15", j1 =
|
|
|
5009
5008
|
return parseFloat(n.toFixed(3));
|
|
5010
5009
|
if (n === 0)
|
|
5011
5010
|
return n;
|
|
5012
|
-
},
|
|
5011
|
+
}, nr = (n, c) => {
|
|
5013
5012
|
let s = 0;
|
|
5014
5013
|
return c.forEach((r) => {
|
|
5015
5014
|
r[n] && (s += r[n]);
|
|
5016
5015
|
}), s;
|
|
5017
|
-
},
|
|
5016
|
+
}, ir = ({
|
|
5018
5017
|
data: n,
|
|
5019
5018
|
keys: c,
|
|
5020
5019
|
colors: s,
|
|
@@ -5024,62 +5023,62 @@ const z1 = "_externalContainer_ldxs2_2", Z1 = "_externalSintetic_ldxs2_15", j1 =
|
|
|
5024
5023
|
activeGraphics: d = "ind",
|
|
5025
5024
|
units: a = {},
|
|
5026
5025
|
translate: l,
|
|
5027
|
-
getTotal: u =
|
|
5026
|
+
getTotal: u = nr,
|
|
5027
|
+
columnWidth: C = 50
|
|
5028
5028
|
}) => {
|
|
5029
|
-
const
|
|
5029
|
+
const h = l || ((p) => p), y = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (a.demanda || "").replace("(", "").replace(")", "") : a[p] || "";
|
|
5030
5030
|
return /* @__PURE__ */ m(
|
|
5031
5031
|
"div",
|
|
5032
5032
|
{
|
|
5033
|
-
className: `${
|
|
5033
|
+
className: `${J.externalContainer} ${d === "sin" ? J.externalSintetic : ""}`,
|
|
5034
5034
|
children: [
|
|
5035
5035
|
o === !0 && /* @__PURE__ */ m(Xe, { children: [
|
|
5036
5036
|
/* @__PURE__ */ i("div", {}),
|
|
5037
|
-
/* @__PURE__ */ i("div", { className:
|
|
5038
|
-
/* @__PURE__ */ i("div", { className: Q.yearTitles, children: n.map((p, C) => /* @__PURE__ */ i("div", { className: Q.yearTitle, children: p.anyo }, C)) })
|
|
5037
|
+
/* @__PURE__ */ i("div", { className: J.yearTitles, children: n.map((p, g) => /* @__PURE__ */ i("div", { className: J.yearTitle, style: { width: C }, children: p.anyo }, g)) })
|
|
5039
5038
|
] }),
|
|
5040
|
-
/* @__PURE__ */ i("div", { className:
|
|
5041
|
-
|
|
5039
|
+
/* @__PURE__ */ i("div", { className: J.titles, children: c.map((p, g) => /* @__PURE__ */ m("div", { className: J.titleContainer, children: [
|
|
5040
|
+
h(r[p]),
|
|
5042
5041
|
d !== "sin" && /* @__PURE__ */ i(
|
|
5043
5042
|
"span",
|
|
5044
5043
|
{
|
|
5045
|
-
className:
|
|
5044
|
+
className: J.circle,
|
|
5046
5045
|
style: { background: s[p] }
|
|
5047
5046
|
}
|
|
5048
5047
|
)
|
|
5049
|
-
] },
|
|
5050
|
-
t === !0 && /* @__PURE__ */ i("div", { className:
|
|
5051
|
-
var
|
|
5048
|
+
] }, g)) }),
|
|
5049
|
+
t === !0 && /* @__PURE__ */ i("div", { className: J.totalContainer, children: c.map((p, g) => {
|
|
5050
|
+
var _;
|
|
5052
5051
|
return /* @__PURE__ */ m(
|
|
5053
5052
|
"div",
|
|
5054
5053
|
{
|
|
5055
|
-
className: `${
|
|
5054
|
+
className: `${J.total} ${u(p, n) > 9999 || u(p, n) < -9999 ? J.bigNumber : ""}`,
|
|
5056
5055
|
children: [
|
|
5057
|
-
(
|
|
5056
|
+
(_ = u(p, n)) == null ? void 0 : _.toLocaleString("es-ES"),
|
|
5058
5057
|
" ",
|
|
5059
|
-
|
|
5058
|
+
y(p)
|
|
5060
5059
|
]
|
|
5061
5060
|
},
|
|
5062
|
-
|
|
5061
|
+
g
|
|
5063
5062
|
);
|
|
5064
5063
|
}) }),
|
|
5065
|
-
/* @__PURE__ */ i("div", { className:
|
|
5066
|
-
(
|
|
5067
|
-
var
|
|
5068
|
-
return isNaN(p[
|
|
5064
|
+
/* @__PURE__ */ i("div", { className: J.yearDatas, children: n.map((p, g) => /* @__PURE__ */ i("div", { className: J.yearDataContainer, style: { width: C }, children: c.map(
|
|
5065
|
+
(_, v) => {
|
|
5066
|
+
var b, w;
|
|
5067
|
+
return isNaN(p[_]) ? null : /* @__PURE__ */ i(
|
|
5069
5068
|
"div",
|
|
5070
5069
|
{
|
|
5071
|
-
className: `${
|
|
5072
|
-
children: p[
|
|
5070
|
+
className: `${J.yearDataContent} ${p[_] > 9999 || p[_] < -9999 ? J.bigNumber : ""}`,
|
|
5071
|
+
children: p[_] < 1e4 || p[_] > -1e4 ? (b = tr(p[_])) == null ? void 0 : b.toLocaleString("es-ES") : (w = p[_]) == null ? void 0 : w.toLocaleString("es-ES")
|
|
5073
5072
|
},
|
|
5074
5073
|
v
|
|
5075
5074
|
);
|
|
5076
5075
|
}
|
|
5077
|
-
) },
|
|
5076
|
+
) }, g)) })
|
|
5078
5077
|
]
|
|
5079
5078
|
}
|
|
5080
5079
|
);
|
|
5081
5080
|
};
|
|
5082
|
-
|
|
5081
|
+
ir.propTypes = {
|
|
5083
5082
|
/** Array de objetos con datos por año. Cada objeto debe tener al menos `anyo` y los valores numéricos correspondientes a `keys`. */
|
|
5084
5083
|
data: e.arrayOf(
|
|
5085
5084
|
e.shape({
|
|
@@ -5103,11 +5102,13 @@ sr.propTypes = {
|
|
|
5103
5102
|
/** Función de traducción `(localeKey) => string`. Si no se proporciona, se usa la clave directamente. */
|
|
5104
5103
|
translate: e.func,
|
|
5105
5104
|
/** Función para calcular el total de una key: `(key, data) => number`. Si no se proporciona, suma todos los años. */
|
|
5106
|
-
getTotal: e.func
|
|
5105
|
+
getTotal: e.func,
|
|
5106
|
+
/** Ancho fijo para las columnas de años. */
|
|
5107
|
+
columnWidth: e.number
|
|
5107
5108
|
};
|
|
5108
|
-
const
|
|
5109
|
-
speedGraphic:
|
|
5110
|
-
},
|
|
5109
|
+
const sr = "_speedGraphic_d1k72_2", at = {
|
|
5110
|
+
speedGraphic: sr
|
|
5111
|
+
}, rr = ({
|
|
5111
5112
|
minValue: n = 0,
|
|
5112
5113
|
maxValue: c = 100,
|
|
5113
5114
|
value: s = 50,
|
|
@@ -5231,7 +5232,7 @@ const rr = "_speedGraphic_d1k72_2", at = {
|
|
|
5231
5232
|
r && /* @__PURE__ */ i("div", { className: at.title, children: r })
|
|
5232
5233
|
] });
|
|
5233
5234
|
};
|
|
5234
|
-
|
|
5235
|
+
rr.propTypes = {
|
|
5235
5236
|
minValue: e.number.isRequired,
|
|
5236
5237
|
maxValue: e.number.isRequired,
|
|
5237
5238
|
value: e.number.isRequired,
|
|
@@ -5239,13 +5240,13 @@ or.propTypes = {
|
|
|
5239
5240
|
title: e.string,
|
|
5240
5241
|
unit: e.string
|
|
5241
5242
|
};
|
|
5242
|
-
const
|
|
5243
|
-
header:
|
|
5244
|
-
leftComponents:
|
|
5245
|
-
centerComponents:
|
|
5246
|
-
rightComponents:
|
|
5247
|
-
componentsContainer:
|
|
5248
|
-
},
|
|
5243
|
+
const or = "_header_13kbt_2", ar = "_leftComponents_13kbt_13", lr = "_centerComponents_13kbt_14", cr = "_rightComponents_13kbt_15", dr = "_componentsContainer_13kbt_32", xe = {
|
|
5244
|
+
header: or,
|
|
5245
|
+
leftComponents: ar,
|
|
5246
|
+
centerComponents: lr,
|
|
5247
|
+
rightComponents: cr,
|
|
5248
|
+
componentsContainer: dr
|
|
5249
|
+
}, ur = ({
|
|
5249
5250
|
cssProps: n,
|
|
5250
5251
|
leftComponents: c = [],
|
|
5251
5252
|
centerComponents: s = [],
|
|
@@ -5274,7 +5275,7 @@ const ar = "_header_13kbt_2", lr = "_leftComponents_13kbt_13", cr = "_centerComp
|
|
|
5274
5275
|
]
|
|
5275
5276
|
}
|
|
5276
5277
|
);
|
|
5277
|
-
|
|
5278
|
+
ur.propTypes = {
|
|
5278
5279
|
leftComponents: e.arrayOf(e.node),
|
|
5279
5280
|
centerComponents: e.arrayOf(e.node),
|
|
5280
5281
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -5284,12 +5285,12 @@ pr.propTypes = {
|
|
|
5284
5285
|
backgroundColor: e.string,
|
|
5285
5286
|
isFooter: e.bool
|
|
5286
5287
|
};
|
|
5287
|
-
const
|
|
5288
|
-
sidebar:
|
|
5289
|
-
open:
|
|
5290
|
-
content:
|
|
5291
|
-
closeButton:
|
|
5292
|
-
},
|
|
5288
|
+
const pr = "_sidebar_1kaqu_2", hr = "_open_1kaqu_16", mr = "_content_1kaqu_20", gr = "_closeButton_1kaqu_25", Ge = {
|
|
5289
|
+
sidebar: pr,
|
|
5290
|
+
open: hr,
|
|
5291
|
+
content: mr,
|
|
5292
|
+
closeButton: gr
|
|
5293
|
+
}, Cr = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", fr = ({
|
|
5293
5294
|
width: n = "300px",
|
|
5294
5295
|
children: c,
|
|
5295
5296
|
showRightBar: s,
|
|
@@ -5304,13 +5305,13 @@ const hr = "_sidebar_1kaqu_2", mr = "_open_1kaqu_16", gr = "_content_1kaqu_20",
|
|
|
5304
5305
|
className: `${Ge.sidebar} ${s ? Ge.open : ""}`,
|
|
5305
5306
|
style: { width: s ? n : 0 },
|
|
5306
5307
|
children: s && /* @__PURE__ */ m("div", { className: Ge.content, children: [
|
|
5307
|
-
/* @__PURE__ */ i("button", { className: Ge.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src:
|
|
5308
|
+
/* @__PURE__ */ i("button", { className: Ge.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Cr, alt: "Close Sidebar" }) }),
|
|
5308
5309
|
c
|
|
5309
5310
|
] })
|
|
5310
5311
|
}
|
|
5311
5312
|
);
|
|
5312
5313
|
};
|
|
5313
|
-
|
|
5314
|
+
fr.propTypes = {
|
|
5314
5315
|
width: e.string,
|
|
5315
5316
|
children: e.node,
|
|
5316
5317
|
showRightBar: e.bool,
|
|
@@ -5324,15 +5325,15 @@ export {
|
|
|
5324
5325
|
f0 as ButtonsList,
|
|
5325
5326
|
Pt as CategorySelector,
|
|
5326
5327
|
Ne as DropdownList,
|
|
5327
|
-
|
|
5328
|
+
Or as EditAmbit,
|
|
5328
5329
|
Ee as ErrorMessage,
|
|
5329
5330
|
W0 as FiltersAmbit,
|
|
5330
|
-
|
|
5331
|
+
zr as Form,
|
|
5331
5332
|
Qe as GeneralButton,
|
|
5332
5333
|
Q0 as Graphic,
|
|
5333
|
-
|
|
5334
|
+
ir as GraphicLegend,
|
|
5334
5335
|
I1 as Groupedbarchart,
|
|
5335
|
-
|
|
5336
|
+
ur as HeaderSection,
|
|
5336
5337
|
yn as IndicatorsList,
|
|
5337
5338
|
Nn as LangSelector,
|
|
5338
5339
|
qn as Legend,
|
|
@@ -5345,10 +5346,10 @@ export {
|
|
|
5345
5346
|
t1 as ModalAlert,
|
|
5346
5347
|
As as RadioButtonInput,
|
|
5347
5348
|
h2 as RankingSlider,
|
|
5348
|
-
|
|
5349
|
+
fr as RightSidebar,
|
|
5349
5350
|
si as SectionBar,
|
|
5350
5351
|
Ls as SelectInput,
|
|
5351
|
-
|
|
5352
|
+
rr as SpeedGraphic,
|
|
5352
5353
|
P1 as Stackedbarchart,
|
|
5353
5354
|
g2 as StatusText,
|
|
5354
5355
|
m2 as Steps,
|