@tmf_ciclica/ciclicastorybook 1.2.80 → 1.2.82
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 +9 -9
- package/dist/index.es.js +799 -791
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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_18uur_2{position:relative}._barChartContainer_18uur_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{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_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_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_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_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%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._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
|
-
import { jsxs as
|
|
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_1ly7h_2{position:relative;overflow-x:scroll;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--main-color) transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar{height:6px}._barChartContainer_1ly7h_2::-webkit-scrollbar-track{background:transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar-thumb{background-color:var(--main-color);border-radius:3px}._barChartContainer_1ly7h_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{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_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_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_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_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%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._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
|
+
import { jsxs as m, jsx as i, Fragment as Ge } from "react/jsx-runtime";
|
|
3
3
|
import * as Me from "react";
|
|
4
|
-
import
|
|
4
|
+
import q, { useState as I, useEffect as A, useMemo as De, useRef as ee, useLayoutEffect as v2 } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as F, Trans as vt } from "react-i18next";
|
|
7
7
|
import { motion as xt } from "framer-motion";
|
|
8
|
-
import { create as
|
|
8
|
+
import { create as Wt } from "zustand";
|
|
9
9
|
import * as st from "d3";
|
|
10
|
-
import { select as xe, min as ut, max as pt, scaleBand as ht, scaleLinear as
|
|
10
|
+
import { select as xe, min as ut, max as pt, scaleBand as ht, scaleLinear as Kt, scaleOrdinal as Ut, axisBottom as Gt, axisLeft as mt } from "d3";
|
|
11
11
|
import x2 from "mapbox-gl";
|
|
12
12
|
import { useSelector as w2 } from "react-redux";
|
|
13
13
|
import N2, { Source as k2, Layer as $2, NavigationControl as S2, Popup as L2 } from "react-map-gl/mapbox";
|
|
@@ -19,15 +19,15 @@ import O2 from "@mui/material/Slider";
|
|
|
19
19
|
import { createTheme as R2, Box as I2 } from "@mui/material";
|
|
20
20
|
import { ThemeProvider as E2 } from "@emotion/react";
|
|
21
21
|
import { NavLink as Xt } from "react-router-dom";
|
|
22
|
-
const
|
|
23
|
-
ambitSelector:
|
|
24
|
-
header:
|
|
22
|
+
const q2 = "_ambitSelector_mcunf_2", z2 = "_header_mcunf_13", P2 = "_nameDateContainer_mcunf_23", Z2 = "_ambitName_mcunf_39", j2 = "_ambitDate_mcunf_53", H2 = "_buttonsContainer_mcunf_67", W2 = "_ambitListContainer_mcunf_76", K2 = "_newAmbitButtonContainer_mcunf_80", he = {
|
|
23
|
+
ambitSelector: q2,
|
|
24
|
+
header: z2,
|
|
25
25
|
nameDateContainer: P2,
|
|
26
26
|
ambitName: Z2,
|
|
27
27
|
ambitDate: j2,
|
|
28
28
|
buttonsContainer: H2,
|
|
29
|
-
ambitListContainer:
|
|
30
|
-
newAmbitButtonContainer:
|
|
29
|
+
ambitListContainer: W2,
|
|
30
|
+
newAmbitButtonContainer: K2
|
|
31
31
|
}, U2 = "_ambitItem_1qa6u_2", G2 = "_ambitNameDate_1qa6u_16", X2 = "_ambitName_1qa6u_16", Q2 = "_ambitDate_1qa6u_35", J2 = "_ambitButtons_1qa6u_38", Te = {
|
|
32
32
|
ambitItem: U2,
|
|
33
33
|
ambitNameDate: G2,
|
|
@@ -45,15 +45,15 @@ const z2 = "_ambitSelector_mcunf_2", q2 = "_header_mcunf_13", P2 = "_nameDateCon
|
|
|
45
45
|
fontColor: a,
|
|
46
46
|
moreInfo: l
|
|
47
47
|
}) => {
|
|
48
|
-
const { name: u, created_at: g, id: C, isBeingProcessed:
|
|
49
|
-
return /* @__PURE__ */
|
|
48
|
+
const { name: u, created_at: g, id: C, isBeingProcessed: f } = n;
|
|
49
|
+
return /* @__PURE__ */ m(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
52
|
className: Te.ambitItem,
|
|
53
53
|
style: { borderBottom: `1px solid ${a}` },
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ m("div", { className: Te.ambitNameDate, onClick: () => t(C), children: [
|
|
56
|
+
/* @__PURE__ */ m("div", { className: Te.ambitName, children: [
|
|
57
57
|
/* @__PURE__ */ i(
|
|
58
58
|
"img",
|
|
59
59
|
{
|
|
@@ -65,8 +65,8 @@ const z2 = "_ambitSelector_mcunf_2", q2 = "_header_mcunf_13", P2 = "_nameDateCon
|
|
|
65
65
|
] }),
|
|
66
66
|
/* @__PURE__ */ i("div", { className: Te.ambitDate, children: g ? new Date(g).toLocaleDateString() : "" })
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
-
|
|
68
|
+
/* @__PURE__ */ m("div", { className: Te.ambitButtons, children: [
|
|
69
|
+
f && /* @__PURE__ */ i("img", { src: n0 }),
|
|
70
70
|
/* @__PURE__ */ i("button", { onClick: () => r(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: t0 }) }),
|
|
71
71
|
/* @__PURE__ */ i("button", { onClick: () => c(C), children: /* @__PURE__ */ i("img", { src: e0 }) }),
|
|
72
72
|
/* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: Y2 }) })
|
|
@@ -130,40 +130,40 @@ const $t = "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: g = (
|
|
134
|
-
onCLickDelete: C = (
|
|
135
|
-
onClickFilters:
|
|
136
|
-
onClickAmbit: p = (
|
|
133
|
+
onClickCopy: g = (y) => console.log(`Copy ambit: ${y}`),
|
|
134
|
+
onCLickDelete: C = (y) => console.log(`Delete ambit: ${y}`),
|
|
135
|
+
onClickFilters: f = (y) => console.log(`Filters clicked: ${y}`),
|
|
136
|
+
onClickAmbit: p = (y) => console.log(`OnCLickAmbit: ${y}`)
|
|
137
137
|
}) => {
|
|
138
|
-
const { t:
|
|
138
|
+
const { t: y } = F(), [b, v] = I(n);
|
|
139
139
|
A(() => {
|
|
140
140
|
n && v(n);
|
|
141
141
|
}, [n]);
|
|
142
142
|
const _ = (N) => {
|
|
143
143
|
if (b && b.length > 0) {
|
|
144
144
|
let L = [...b];
|
|
145
|
-
L.sort((
|
|
145
|
+
L.sort((h, k) => h[N].localeCompare(k[N])), v(L);
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
return /* @__PURE__ */
|
|
148
|
+
return /* @__PURE__ */ m(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
151
151
|
className: he.ambitSelector,
|
|
152
152
|
style: { color: s, ...l },
|
|
153
153
|
children: [
|
|
154
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ m(
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
157
|
className: he.header,
|
|
158
158
|
style: { borderBottom: `1px solid ${s}` },
|
|
159
159
|
children: [
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
/* @__PURE__ */ i("div", { className: he.ambitName, children: /* @__PURE__ */
|
|
162
|
-
/* @__PURE__ */ i("span", { children:
|
|
160
|
+
/* @__PURE__ */ m("div", { className: he.nameDateContainer, children: [
|
|
161
|
+
/* @__PURE__ */ i("div", { className: he.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => _("name"), children: [
|
|
162
|
+
/* @__PURE__ */ i("span", { children: y(t) }),
|
|
163
163
|
/* @__PURE__ */ i("img", { src: $t })
|
|
164
164
|
] }) }),
|
|
165
|
-
/* @__PURE__ */ i("div", { className: he.ambitDate, children: /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */ i("span", { children:
|
|
165
|
+
/* @__PURE__ */ i("div", { className: he.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => _("date"), children: [
|
|
166
|
+
/* @__PURE__ */ i("span", { children: y(o) }),
|
|
167
167
|
/* @__PURE__ */ i("img", { src: $t })
|
|
168
168
|
] }) })
|
|
169
169
|
] }),
|
|
@@ -180,7 +180,7 @@ const $t = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
180
180
|
activeColor: r,
|
|
181
181
|
onClickCopy: g,
|
|
182
182
|
onClickDelete: C,
|
|
183
|
-
onClickFilters:
|
|
183
|
+
onClickFilters: f,
|
|
184
184
|
onClickAmbit: p
|
|
185
185
|
},
|
|
186
186
|
`ambitKey${N.id}`
|
|
@@ -191,7 +191,7 @@ const $t = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
191
191
|
style: { ...a },
|
|
192
192
|
onClick: u,
|
|
193
193
|
borderColor: "grey",
|
|
194
|
-
children:
|
|
194
|
+
children: y(d)
|
|
195
195
|
}
|
|
196
196
|
) })
|
|
197
197
|
]
|
|
@@ -260,26 +260,26 @@ const b0 = ({
|
|
|
260
260
|
icon: u,
|
|
261
261
|
activeIcon: g,
|
|
262
262
|
isActive: C,
|
|
263
|
-
name:
|
|
263
|
+
name: f,
|
|
264
264
|
onClick: p,
|
|
265
|
-
disabled:
|
|
266
|
-
} = a, b = /* @__PURE__ */
|
|
267
|
-
s && r === "left" && /* @__PURE__ */ i("span", { className: fe.buttonName, children: d(
|
|
268
|
-
/* @__PURE__ */ i("img", { src: C ? g : u, alt: d(
|
|
269
|
-
s && r === "right" && /* @__PURE__ */ i("span", { className: fe.buttonName, children: d(
|
|
265
|
+
disabled: y
|
|
266
|
+
} = a, b = /* @__PURE__ */ m(Ge, { children: [
|
|
267
|
+
s && r === "left" && /* @__PURE__ */ i("span", { className: fe.buttonName, children: d(f) }),
|
|
268
|
+
/* @__PURE__ */ i("img", { src: C ? g : u, alt: d(f) }),
|
|
269
|
+
s && r === "right" && /* @__PURE__ */ i("span", { className: fe.buttonName, children: d(f) })
|
|
270
270
|
] });
|
|
271
|
-
return /* @__PURE__ */
|
|
271
|
+
return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
272
272
|
/* @__PURE__ */ i(
|
|
273
273
|
"button",
|
|
274
274
|
{
|
|
275
275
|
onClick: p,
|
|
276
276
|
className: `${fe.button}
|
|
277
277
|
${C && fe.active}`,
|
|
278
|
-
disabled:
|
|
278
|
+
disabled: y,
|
|
279
279
|
children: b
|
|
280
280
|
}
|
|
281
281
|
),
|
|
282
|
-
t && /* @__PURE__ */ i(ue, { text:
|
|
282
|
+
t && /* @__PURE__ */ i(ue, { text: f, position: o })
|
|
283
283
|
] }, l);
|
|
284
284
|
})
|
|
285
285
|
}
|
|
@@ -303,7 +303,7 @@ b0.propTypes = {
|
|
|
303
303
|
useTooltip: e.bool,
|
|
304
304
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
305
305
|
};
|
|
306
|
-
const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitle_11gdl_14",
|
|
306
|
+
const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitle_11gdl_14", ze = {
|
|
307
307
|
indicatorsCategory: _0,
|
|
308
308
|
title: v0,
|
|
309
309
|
mainTitle: x0
|
|
@@ -323,10 +323,10 @@ const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitl
|
|
|
323
323
|
mainTitle: g = !1
|
|
324
324
|
}) => {
|
|
325
325
|
const { t: C } = F();
|
|
326
|
-
return /* @__PURE__ */
|
|
326
|
+
return /* @__PURE__ */ m(
|
|
327
327
|
xt.div,
|
|
328
328
|
{
|
|
329
|
-
className:
|
|
329
|
+
className: ze.indicatorsCategory,
|
|
330
330
|
initial: { height: `${d}px` },
|
|
331
331
|
animate: { height: n ? "auto" : `${d}px` },
|
|
332
332
|
transition: { duration: 0.4 },
|
|
@@ -336,14 +336,14 @@ const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitl
|
|
|
336
336
|
minHeight: g ? "70px" : "50px"
|
|
337
337
|
},
|
|
338
338
|
children: [
|
|
339
|
-
/* @__PURE__ */
|
|
339
|
+
/* @__PURE__ */ m(
|
|
340
340
|
"h2",
|
|
341
341
|
{
|
|
342
342
|
style: {
|
|
343
343
|
...a
|
|
344
344
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
345
345
|
},
|
|
346
|
-
className: `${
|
|
346
|
+
className: `${ze.title} ${g && ze.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 _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitl
|
|
|
351
351
|
]
|
|
352
352
|
}
|
|
353
353
|
),
|
|
354
|
-
/* @__PURE__ */ i("div", { className:
|
|
354
|
+
/* @__PURE__ */ i("div", { className: ze.content, style: { padding: g ? "20px 0px" : "0px" }, children: s })
|
|
355
355
|
]
|
|
356
356
|
}
|
|
357
357
|
);
|
|
@@ -370,7 +370,7 @@ we.propTypes = {
|
|
|
370
370
|
const Zr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), w0 = "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", N0 = "_AppliedFiltersContainer_cokx9_2", k0 = "_AppliedFilterContent_cokx9_11", St = {
|
|
371
371
|
AppliedFiltersContainer: N0,
|
|
372
372
|
AppliedFilterContent: k0
|
|
373
|
-
},
|
|
373
|
+
}, z = Wt((n) => ({
|
|
374
374
|
activeCategory: "",
|
|
375
375
|
activeSubCategory: "",
|
|
376
376
|
selectedIndicator: "",
|
|
@@ -379,10 +379,10 @@ const Zr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), w0 = "data
|
|
|
379
379
|
inputsColor: "#605B56",
|
|
380
380
|
activeFiltersType: null
|
|
381
381
|
})), Jt = ({ title: n, onClick: c, isOpen: s = !0, textColor: r = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o, fontColor: d = "#605B56" }) => {
|
|
382
|
-
const { t: a } = F(), { tematicalFiltersSelected: l, activeFiltersType: u } =
|
|
383
|
-
|
|
382
|
+
const { t: a } = F(), { tematicalFiltersSelected: l, activeFiltersType: u } = z((f) => f), g = (f) => {
|
|
383
|
+
z.setState((p) => ({
|
|
384
384
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
385
|
-
(
|
|
385
|
+
(y) => y.code !== f
|
|
386
386
|
)
|
|
387
387
|
}));
|
|
388
388
|
};
|
|
@@ -391,15 +391,15 @@ const Zr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), w0 = "data
|
|
|
391
391
|
{
|
|
392
392
|
isOpen: s,
|
|
393
393
|
onClick: () => {
|
|
394
|
-
u == "applied" ?
|
|
394
|
+
u == "applied" ? z.setState(() => ({ activeFiltersType: null })) : z.setState(() => ({ activeFiltersType: "applied" }));
|
|
395
395
|
},
|
|
396
396
|
title: n ? a(n) : "Applied Filters",
|
|
397
397
|
activeColor: o,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: d,
|
|
400
|
-
children: /* @__PURE__ */ i("div", { className: St.AppliedFiltersContainer, children: l == null ? void 0 : l.map((
|
|
401
|
-
a(
|
|
402
|
-
/* @__PURE__ */ i("img", { src: w0, alt: "CloseIcon", onClick: () => g(
|
|
400
|
+
children: /* @__PURE__ */ i("div", { className: St.AppliedFiltersContainer, children: l == null ? void 0 : l.map((f, p) => /* @__PURE__ */ m("div", { className: St.AppliedFilterContent, style: { color: r, background: t }, children: [
|
|
401
|
+
a(f.name),
|
|
402
|
+
/* @__PURE__ */ i("img", { src: w0, alt: "CloseIcon", onClick: () => g(f.code), style: { cursor: "pointer" } })
|
|
403
403
|
] }, p)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
@@ -430,14 +430,14 @@ const $0 = "_layersList_cn837_25", S0 = "_layerName_cn837_34", Lt = {
|
|
|
430
430
|
geoLayers: o = [],
|
|
431
431
|
onGeoLayersChange: d
|
|
432
432
|
}) => {
|
|
433
|
-
const { t: a } = F(), { activeFiltersType: l } =
|
|
434
|
-
l === "geographical" ?
|
|
433
|
+
const { t: a } = F(), { activeFiltersType: l } = z((C) => C), u = () => {
|
|
434
|
+
l === "geographical" ? z.setState({ activeFiltersType: null }) : z.setState({ activeFiltersType: "geographical" });
|
|
435
435
|
}, g = (C) => {
|
|
436
|
-
const
|
|
436
|
+
const f = o.map((p) => ({
|
|
437
437
|
...p,
|
|
438
438
|
active: p.name === C.name
|
|
439
439
|
}));
|
|
440
|
-
d == null || d(
|
|
440
|
+
d == null || d(f);
|
|
441
441
|
};
|
|
442
442
|
return /* @__PURE__ */ i(
|
|
443
443
|
we,
|
|
@@ -481,8 +481,8 @@ const L0 = "_checkboxContainer_1nxra_2", M0 = {
|
|
|
481
481
|
indicator: r,
|
|
482
482
|
value: t
|
|
483
483
|
}) => {
|
|
484
|
-
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } =
|
|
485
|
-
return /* @__PURE__ */
|
|
484
|
+
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } = z((u) => u);
|
|
485
|
+
return /* @__PURE__ */ m(
|
|
486
486
|
"div",
|
|
487
487
|
{
|
|
488
488
|
style: { ...c, color: s },
|
|
@@ -572,8 +572,8 @@ let ft = function(n) {
|
|
|
572
572
|
t.setState({ pending: !0 });
|
|
573
573
|
const l = t.getTouchPosition(a);
|
|
574
574
|
if (t.isScrolling === void 0) {
|
|
575
|
-
const C = l[0] - t.startPosition[0],
|
|
576
|
-
t.isScrolling = Math.abs(
|
|
575
|
+
const C = l[0] - t.startPosition[0], f = l[1] - t.startPosition[1];
|
|
576
|
+
t.isScrolling = Math.abs(f) > Math.abs(C);
|
|
577
577
|
}
|
|
578
578
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
579
579
|
const u = t.getDiffPosition(l[0]), g = t.getValueFromPosition(u);
|
|
@@ -639,8 +639,8 @@ let ft = 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 : ""), g = { ref: (
|
|
643
|
-
t["thumb" + l] =
|
|
642
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), g = { ref: (f) => {
|
|
643
|
+
t["thumb" + l] = f;
|
|
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 }, C = { index: l, value: Pe(t.state.value), valueNow: t.state.value[l] };
|
|
645
645
|
return t.props.ariaValuetext && (g["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(C)), t.props.renderThumb(g, C);
|
|
646
646
|
}, t.renderTrack = (a, l, u) => {
|
|
@@ -651,7 +651,7 @@ let ft = function(n) {
|
|
|
651
651
|
o.length || (o = at(r.defaultValue)), t.pendingResizeTimeouts = [];
|
|
652
652
|
const d = [];
|
|
653
653
|
for (let a = 0; a < o.length; a += 1) o[a] = ye(o[a], r), d.push(a);
|
|
654
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
654
|
+
return t.resizeObserver = null, t.resizeElementRef = q.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: o, zIndices: d }, t;
|
|
655
655
|
}
|
|
656
656
|
D0(c, n);
|
|
657
657
|
var s = c.prototype;
|
|
@@ -700,8 +700,8 @@ let ft = 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()], g = t.getBoundingClientRect()[o.replace("client", "").toLowerCase()], C = a - g,
|
|
704
|
-
this.state.upperBound === C && this.state.sliderLength ===
|
|
703
|
+
const o = this.sizeKey(), d = r.getBoundingClientRect(), a = r[o], l = d[this.posMaxKey()], u = d[this.posMinKey()], g = t.getBoundingClientRect()[o.replace("client", "").toLowerCase()], C = a - g, f = Math.abs(l - u);
|
|
704
|
+
this.state.upperBound === C && this.state.sliderLength === f && this.state.thumbSize === g || this.setState({ upperBound: C, sliderLength: f, thumbSize: g });
|
|
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;
|
|
@@ -743,22 +743,22 @@ let ft = function(n) {
|
|
|
743
743
|
const { pearling: l, max: u, min: g, minDistance: C } = this.props;
|
|
744
744
|
if (!l) {
|
|
745
745
|
if (o > 0) {
|
|
746
|
-
const
|
|
747
|
-
r <
|
|
746
|
+
const f = t[o - 1];
|
|
747
|
+
r < f + C && (r = f + C);
|
|
748
748
|
}
|
|
749
749
|
if (o < d - 1) {
|
|
750
|
-
const
|
|
751
|
-
r >
|
|
750
|
+
const f = t[o + 1];
|
|
751
|
+
r > f - C && (r = f - C);
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
t[o] = r, l && d > 1 && (r > a ? (this.pushSucceeding(t, C, o), function(
|
|
755
|
-
for (let v = 0; v <
|
|
756
|
-
const _ = b - v *
|
|
757
|
-
p[
|
|
754
|
+
t[o] = r, l && d > 1 && (r > a ? (this.pushSucceeding(t, C, o), function(f, p, y, b) {
|
|
755
|
+
for (let v = 0; v < f; v += 1) {
|
|
756
|
+
const _ = b - v * y;
|
|
757
|
+
p[f - 1 - v] > _ && (p[f - 1 - v] = _);
|
|
758
758
|
}
|
|
759
|
-
}(d, t, C, u)) : r < a && (this.pushPreceding(t, C, o), function(
|
|
760
|
-
for (let v = 0; v <
|
|
761
|
-
const _ = b + v *
|
|
759
|
+
}(d, t, C, u)) : r < a && (this.pushPreceding(t, C, o), function(f, p, y, b) {
|
|
760
|
+
for (let v = 0; v < f; v += 1) {
|
|
761
|
+
const _ = b + v * y;
|
|
762
762
|
p[v] < _ && (p[v] = _);
|
|
763
763
|
}
|
|
764
764
|
}(d, t, C, g))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
@@ -810,12 +810,12 @@ let ft = function(n) {
|
|
|
810
810
|
const r = [], { value: t } = this.state, o = t.length;
|
|
811
811
|
for (let u = 0; u < o; u += 1) r[u] = this.calcOffset(t[u], u);
|
|
812
812
|
const d = this.props.withTracks ? this.renderTracks(r) : null, a = this.renderThumbs(r), l = this.props.marks ? this.renderMarks() : null;
|
|
813
|
-
return
|
|
813
|
+
return q.createElement("div", { ref: (u) => {
|
|
814
814
|
this.slider = u, this.resizeElementRef.current = u;
|
|
815
815
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, d, a, l);
|
|
816
816
|
}, c;
|
|
817
|
-
}(
|
|
818
|
-
ft.displayName = "ReactSlider", ft.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) =>
|
|
817
|
+
}(q.Component);
|
|
818
|
+
ft.displayName = "ReactSlider", ft.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) => q.createElement("div", n), renderTrack: (n) => q.createElement("div", n), renderMark: (n) => q.createElement("span", n) };
|
|
819
819
|
var yt = ft;
|
|
820
820
|
const T0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", V0 = "_slider_4u41i_11", F0 = "_thumb_4u41i_17", A0 = "_track_4u41i_26", O0 = "_labels_4u41i_32", Ne = {
|
|
821
821
|
container: T0,
|
|
@@ -835,12 +835,12 @@ const T0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", V0 = "_slider_4u41i_
|
|
|
835
835
|
defaultValue: a,
|
|
836
836
|
isDate: l
|
|
837
837
|
}) => {
|
|
838
|
-
const { t: u } = F(), g = l ? new Date(n).getTime() : null, C = l ? new Date(c).getTime() : null, [
|
|
838
|
+
const { t: u } = F(), g = l ? new Date(n).getTime() : null, C = l ? new Date(c).getTime() : null, [f, p] = I(l ? [g, C] : [n, c]), y = (b) => {
|
|
839
839
|
p(b), r == null || r({ min: b[0], max: b[1] });
|
|
840
840
|
};
|
|
841
841
|
return A(() => {
|
|
842
842
|
a || p(l ? [g, C] : [n, c]);
|
|
843
|
-
}, [a, l]), /* @__PURE__ */
|
|
843
|
+
}, [a, l]), /* @__PURE__ */ m(
|
|
844
844
|
"div",
|
|
845
845
|
{
|
|
846
846
|
className: Ne.container,
|
|
@@ -856,24 +856,24 @@ const T0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", V0 = "_slider_4u41i_
|
|
|
856
856
|
min: l ? g : n,
|
|
857
857
|
max: l ? C : c,
|
|
858
858
|
step: l ? (C - g) / 30 : s,
|
|
859
|
-
value:
|
|
860
|
-
onAfterChange:
|
|
859
|
+
value: f,
|
|
860
|
+
onAfterChange: y,
|
|
861
861
|
withTracks: !0,
|
|
862
862
|
pearling: !l,
|
|
863
863
|
minDistance: l ? 0 : 0.1
|
|
864
864
|
}
|
|
865
865
|
),
|
|
866
|
-
/* @__PURE__ */
|
|
867
|
-
/* @__PURE__ */ i("span", { children: l ? new Date(
|
|
866
|
+
/* @__PURE__ */ m("div", { className: Ne.labels, children: [
|
|
867
|
+
/* @__PURE__ */ i("span", { children: l ? new Date(f[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
|
+
}) : f[0] }),
|
|
872
|
+
/* @__PURE__ */ i("span", { children: l ? new Date(f[1]).toLocaleDateString("en-EN", {
|
|
873
873
|
day: "2-digit",
|
|
874
874
|
month: "short",
|
|
875
875
|
year: "numeric"
|
|
876
|
-
}) :
|
|
876
|
+
}) : f[1] })
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
@@ -891,11 +891,11 @@ t2.propTypes = {
|
|
|
891
891
|
fontColor: e.string,
|
|
892
892
|
value: e.arrayOf(e.number)
|
|
893
893
|
};
|
|
894
|
-
const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_1vm1r_2", E0 = "_checkboxContainer_1vm1r_28",
|
|
894
|
+
const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_1vm1r_2", E0 = "_checkboxContainer_1vm1r_28", q0 = "_absoluteSliderContainer_1vm1r_37", je = {
|
|
895
895
|
tematicalFiltersInputContainer: R0,
|
|
896
896
|
inputTypeContainer: I0,
|
|
897
897
|
checkboxContainer: E0,
|
|
898
|
-
absoluteSliderContainer:
|
|
898
|
+
absoluteSliderContainer: q0
|
|
899
899
|
}, wt = ({
|
|
900
900
|
indicator: n,
|
|
901
901
|
//onChangeBothType
|
|
@@ -910,11 +910,11 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
910
910
|
unit: u,
|
|
911
911
|
step: g,
|
|
912
912
|
disabled: C,
|
|
913
|
-
isDate:
|
|
913
|
+
isDate: f
|
|
914
914
|
} = n || {}, p = De(
|
|
915
915
|
() => t == "cat" || s == "cat",
|
|
916
916
|
[s, t]
|
|
917
|
-
),
|
|
917
|
+
), y = De(
|
|
918
918
|
() => t == "abs" || s == "abs",
|
|
919
919
|
[s, t]
|
|
920
920
|
), {
|
|
@@ -922,58 +922,58 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
922
922
|
selectedIndicator: v,
|
|
923
923
|
fontColor: _,
|
|
924
924
|
inputsColor: N
|
|
925
|
-
} =
|
|
926
|
-
if (
|
|
927
|
-
const { min: x, max:
|
|
928
|
-
let R =
|
|
929
|
-
|
|
930
|
-
let te =
|
|
925
|
+
} = z((k) => k), L = (k) => {
|
|
926
|
+
if (k) {
|
|
927
|
+
const { min: x, max: S, valueClicked: $, allValues: w } = k || {}, { code: T, type: V, source: B } = n || {}, O = y ? "abs" : p ? "cat" : "both";
|
|
928
|
+
let R = T[0];
|
|
929
|
+
V == "both" && (R = O == "cat" ? T[1] : T[0]), O == "cat" ? z.setState((P) => {
|
|
930
|
+
let te = P.tematicalFiltersSelected.find(
|
|
931
931
|
(E) => E.code === R
|
|
932
932
|
);
|
|
933
933
|
if (te) {
|
|
934
934
|
let E = [te.values];
|
|
935
|
-
return te.values.includes(
|
|
936
|
-
(
|
|
937
|
-
) : E = [...te.values,
|
|
938
|
-
tematicalFiltersSelected:
|
|
939
|
-
(
|
|
935
|
+
return te.values.includes($) ? E = te.values.filter(
|
|
936
|
+
(W) => W !== $
|
|
937
|
+
) : E = [...te.values, $], E.length == w.length ? {
|
|
938
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
939
|
+
(W) => W.code !== R
|
|
940
940
|
)
|
|
941
941
|
} : {
|
|
942
|
-
tematicalFiltersSelected:
|
|
943
|
-
(
|
|
942
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
943
|
+
(W) => W.code === R ? { ...W, values: E } : W
|
|
944
944
|
)
|
|
945
945
|
};
|
|
946
946
|
} else {
|
|
947
|
-
let E = (
|
|
947
|
+
let E = (w || []).map((W, U) => U);
|
|
948
948
|
return {
|
|
949
949
|
tematicalFiltersSelected: [
|
|
950
950
|
...b,
|
|
951
951
|
{
|
|
952
952
|
type: "cat",
|
|
953
953
|
code: R,
|
|
954
|
-
values: E.filter((
|
|
954
|
+
values: E.filter((W) => W !== $),
|
|
955
955
|
name: n.name,
|
|
956
956
|
source: B,
|
|
957
|
-
isDate:
|
|
957
|
+
isDate: f
|
|
958
958
|
}
|
|
959
959
|
]
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
|
-
}) : O == "abs" &&
|
|
963
|
-
let te =
|
|
962
|
+
}) : O == "abs" && z.setState((P) => {
|
|
963
|
+
let te = P.tematicalFiltersSelected.find(
|
|
964
964
|
(E) => E.code === R
|
|
965
965
|
);
|
|
966
|
-
if (x == n.minValue &&
|
|
966
|
+
if (x == n.minValue && S == n.maxValue)
|
|
967
967
|
return {
|
|
968
|
-
tematicalFiltersSelected:
|
|
968
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
969
969
|
(E) => E.code !== R
|
|
970
970
|
)
|
|
971
971
|
};
|
|
972
972
|
if (te) {
|
|
973
|
-
let E = { ...te, min: x, max:
|
|
973
|
+
let E = { ...te, min: x, max: S, type: O, isDate: f };
|
|
974
974
|
return {
|
|
975
|
-
tematicalFiltersSelected:
|
|
976
|
-
(
|
|
975
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
976
|
+
(W) => W.code === R ? E : W
|
|
977
977
|
)
|
|
978
978
|
};
|
|
979
979
|
} else
|
|
@@ -984,7 +984,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
984
984
|
type: O,
|
|
985
985
|
code: R,
|
|
986
986
|
min: x,
|
|
987
|
-
max:
|
|
987
|
+
max: S,
|
|
988
988
|
name: n.name,
|
|
989
989
|
source: n.source
|
|
990
990
|
}
|
|
@@ -992,14 +992,14 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
992
992
|
};
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
|
-
},
|
|
996
|
-
const
|
|
995
|
+
}, h = De(() => {
|
|
996
|
+
const k = {};
|
|
997
997
|
if ((b == null ? void 0 : b.length) > 0)
|
|
998
998
|
for (const x of b)
|
|
999
|
-
x.type === "cat" ?
|
|
1000
|
-
return
|
|
999
|
+
x.type === "cat" ? k[x.code] = new Set(x.values) : k[x.code] = [x.min, x.max];
|
|
1000
|
+
return k;
|
|
1001
1001
|
}, [b]);
|
|
1002
|
-
return /* @__PURE__ */ i("div", { className: je.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
1002
|
+
return /* @__PURE__ */ i("div", { className: je.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
|
|
1003
1003
|
we,
|
|
1004
1004
|
{
|
|
1005
1005
|
titleFontStyles: {
|
|
@@ -1010,7 +1010,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1010
1010
|
title: o,
|
|
1011
1011
|
isOpen: v == `id${o}`,
|
|
1012
1012
|
onClick: () => {
|
|
1013
|
-
C ||
|
|
1013
|
+
C || z.setState(() => ({
|
|
1014
1014
|
selectedIndicator: v == `id${o}` ? "" : `id${o}`
|
|
1015
1015
|
}));
|
|
1016
1016
|
},
|
|
@@ -1021,13 +1021,13 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1021
1021
|
color: _,
|
|
1022
1022
|
activeColor: c,
|
|
1023
1023
|
children: [
|
|
1024
|
-
t == "both" && /* @__PURE__ */
|
|
1024
|
+
t == "both" && /* @__PURE__ */ m(
|
|
1025
1025
|
"div",
|
|
1026
1026
|
{
|
|
1027
1027
|
className: je.inputTypeContainer,
|
|
1028
1028
|
style: { color: _ },
|
|
1029
1029
|
children: [
|
|
1030
|
-
/* @__PURE__ */
|
|
1030
|
+
/* @__PURE__ */ m("label", { children: [
|
|
1031
1031
|
/* @__PURE__ */ i(
|
|
1032
1032
|
"input",
|
|
1033
1033
|
{
|
|
@@ -1046,7 +1046,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1046
1046
|
),
|
|
1047
1047
|
"Absoluto"
|
|
1048
1048
|
] }),
|
|
1049
|
-
/* @__PURE__ */
|
|
1049
|
+
/* @__PURE__ */ m("label", { children: [
|
|
1050
1050
|
/* @__PURE__ */ i(
|
|
1051
1051
|
"input",
|
|
1052
1052
|
{
|
|
@@ -1068,27 +1068,27 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1068
1068
|
]
|
|
1069
1069
|
}
|
|
1070
1070
|
),
|
|
1071
|
-
p && /* @__PURE__ */ i("div", { className: je.checkboxContainer, children: (d || []).map((
|
|
1072
|
-
var
|
|
1071
|
+
p && /* @__PURE__ */ i("div", { className: je.checkboxContainer, children: (d || []).map((k, x) => {
|
|
1072
|
+
var S;
|
|
1073
1073
|
return /* @__PURE__ */ i(
|
|
1074
1074
|
e2,
|
|
1075
1075
|
{
|
|
1076
1076
|
onClick: () => L({ valueClicked: x, allValues: d }),
|
|
1077
|
-
indicator:
|
|
1078
|
-
value: ((
|
|
1077
|
+
indicator: k,
|
|
1078
|
+
value: ((S = h[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(x)) || !h[n.code[t == "both" ? 1 : 0]]
|
|
1079
1079
|
},
|
|
1080
1080
|
`checkbox-${x}`
|
|
1081
1081
|
);
|
|
1082
1082
|
}) }),
|
|
1083
|
-
(
|
|
1083
|
+
(y || t == "glb") && /* @__PURE__ */ i("div", { className: je.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1084
1084
|
t2,
|
|
1085
1085
|
{
|
|
1086
1086
|
onChange: L,
|
|
1087
1087
|
min: a,
|
|
1088
1088
|
max: l,
|
|
1089
1089
|
unit: u,
|
|
1090
|
-
defaultValue:
|
|
1091
|
-
isDate:
|
|
1090
|
+
defaultValue: h[n.code[0]] ? h[n.code[0]] : "",
|
|
1091
|
+
isDate: f,
|
|
1092
1092
|
step: g
|
|
1093
1093
|
}
|
|
1094
1094
|
) })
|
|
@@ -1117,14 +1117,14 @@ const n2 = ({
|
|
|
1117
1117
|
activeColor: s
|
|
1118
1118
|
//onChangeBothType,
|
|
1119
1119
|
}) => {
|
|
1120
|
-
const { activeSubcategory: r } =
|
|
1120
|
+
const { activeSubcategory: r } = z((d) => d), { name: t, indicators: o } = n || {};
|
|
1121
1121
|
return /* @__PURE__ */ i(
|
|
1122
1122
|
we,
|
|
1123
1123
|
{
|
|
1124
1124
|
title: t,
|
|
1125
1125
|
isOpen: r == `id${t}`,
|
|
1126
1126
|
onClick: () => {
|
|
1127
|
-
|
|
1127
|
+
z.setState((d) => ({
|
|
1128
1128
|
activeSubcategory: d.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1129
1129
|
}));
|
|
1130
1130
|
},
|
|
@@ -1164,12 +1164,12 @@ const i2 = ({
|
|
|
1164
1164
|
// onChangeBothType,
|
|
1165
1165
|
activeColor: c
|
|
1166
1166
|
}) => {
|
|
1167
|
-
const { name: s, subcategories: r, indicators: t } = n || {}, { activeCategory: o, fontColor: d } =
|
|
1167
|
+
const { name: s, subcategories: r, indicators: t } = n || {}, { activeCategory: o, fontColor: d } = z((a) => a);
|
|
1168
1168
|
return n && /* @__PURE__ */ i(
|
|
1169
1169
|
we,
|
|
1170
1170
|
{
|
|
1171
1171
|
onClick: () => {
|
|
1172
|
-
|
|
1172
|
+
z.setState((a) => ({
|
|
1173
1173
|
activeCategory: o === `id${s}` ? "" : `id${s}`
|
|
1174
1174
|
}));
|
|
1175
1175
|
},
|
|
@@ -1217,15 +1217,15 @@ const s2 = ({
|
|
|
1217
1217
|
inputsColor: t = "#605B56",
|
|
1218
1218
|
activeColor: o
|
|
1219
1219
|
}) => {
|
|
1220
|
-
const { tematicalFiltersSelected: d, activeFiltersType: a } =
|
|
1220
|
+
const { tematicalFiltersSelected: d, activeFiltersType: a } = z((g) => g), { t: l } = F();
|
|
1221
1221
|
A(() => {
|
|
1222
1222
|
}, [d]), A(() => {
|
|
1223
|
-
r &&
|
|
1223
|
+
r && z.setState(() => ({ fontColor: r }));
|
|
1224
1224
|
}, [r]), A(() => {
|
|
1225
|
-
t &&
|
|
1225
|
+
t && z.setState(() => ({ inputsColor: t }));
|
|
1226
1226
|
}, [t]);
|
|
1227
1227
|
const u = () => {
|
|
1228
|
-
a == "tematical" ?
|
|
1228
|
+
a == "tematical" ? z.setState(() => ({ activeFiltersType: null })) : z.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1229
1229
|
};
|
|
1230
1230
|
return /* @__PURE__ */ i(
|
|
1231
1231
|
we,
|
|
@@ -1257,14 +1257,14 @@ s2.propTypes = {
|
|
|
1257
1257
|
inputsColor: e.string,
|
|
1258
1258
|
activeColor: e.string
|
|
1259
1259
|
};
|
|
1260
|
-
const
|
|
1261
|
-
FiltersAmbitContainer:
|
|
1260
|
+
const z0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15", Z0 = "_FiltersAmbitHeader_1hv16_18", j0 = "_FiltersAmbitTitle_1hv16_26", H0 = "_FiltersAmbitDescription_1hv16_35", W0 = "_FiltersAmbitDescriptionTitle_1hv16_46", K0 = "_warning_1hv16_50", U0 = "_buttonContainer_1hv16_53", me = {
|
|
1261
|
+
FiltersAmbitContainer: z0,
|
|
1262
1262
|
FiltersContainer: P0,
|
|
1263
1263
|
FiltersAmbitHeader: Z0,
|
|
1264
1264
|
FiltersAmbitTitle: j0,
|
|
1265
1265
|
FiltersAmbitDescription: H0,
|
|
1266
|
-
FiltersAmbitDescriptionTitle:
|
|
1267
|
-
warning:
|
|
1266
|
+
FiltersAmbitDescriptionTitle: W0,
|
|
1267
|
+
warning: K0,
|
|
1268
1268
|
buttonContainer: U0
|
|
1269
1269
|
}, G0 = ({
|
|
1270
1270
|
ambitName: n,
|
|
@@ -1279,46 +1279,46 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
1280
|
descPlaceholder: g,
|
|
1281
1281
|
filtersTypes: C = ["geographical", "tematical"],
|
|
1282
|
-
nameRequiredText:
|
|
1282
|
+
nameRequiredText: f,
|
|
1283
1283
|
geoLayers: p = [],
|
|
1284
|
-
onGeoLayersChange:
|
|
1284
|
+
onGeoLayersChange: y,
|
|
1285
1285
|
onlyFilters: b = !1,
|
|
1286
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1287
1287
|
descriptionRequired: v = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t: _ } = F(), { tematicalFiltersSelected: N, activeFiltersType: L } =
|
|
1291
|
-
(
|
|
1292
|
-
), [
|
|
1290
|
+
const { t: _ } = F(), { tematicalFiltersSelected: N, activeFiltersType: L } = z(
|
|
1291
|
+
(V) => V
|
|
1292
|
+
), [h, k] = I(n || null), [x, S] = I(c || null), [$, w] = I(!1);
|
|
1293
1293
|
A(() => {
|
|
1294
|
-
|
|
1294
|
+
z.setState({
|
|
1295
1295
|
tematicalFiltersSelected: s || []
|
|
1296
1296
|
});
|
|
1297
1297
|
}, [s]), ee(!1), A(() => {
|
|
1298
1298
|
a(N);
|
|
1299
1299
|
}, [N]);
|
|
1300
|
-
const
|
|
1301
|
-
v ?
|
|
1300
|
+
const T = () => {
|
|
1301
|
+
v ? h && x ? l({ name: h, description: x }) : w(!0) : h ? l({ name: h, description: x }) : w(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return A(() => {
|
|
1304
1304
|
if (C.includes("geographical") && L != "geographical" && p.length > 0) {
|
|
1305
|
-
const
|
|
1305
|
+
const V = p.map((B) => ({
|
|
1306
1306
|
...B,
|
|
1307
1307
|
active: !1
|
|
1308
1308
|
}));
|
|
1309
|
-
|
|
1309
|
+
y == null || y(V);
|
|
1310
1310
|
}
|
|
1311
|
-
}, [L]), /* @__PURE__ */
|
|
1312
|
-
/* @__PURE__ */
|
|
1313
|
-
!b && /* @__PURE__ */
|
|
1311
|
+
}, [L]), /* @__PURE__ */ m("div", { className: me.FiltersAmbitContainer, children: [
|
|
1312
|
+
/* @__PURE__ */ m("div", { className: me.FiltersContainer, children: [
|
|
1313
|
+
!b && /* @__PURE__ */ m("div", { className: me.FiltersAmbitHeader, children: [
|
|
1314
1314
|
/* @__PURE__ */ i("div", { className: me.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1315
1315
|
"input",
|
|
1316
1316
|
{
|
|
1317
1317
|
type: "text",
|
|
1318
|
-
onChange: (
|
|
1319
|
-
|
|
1318
|
+
onChange: (V) => {
|
|
1319
|
+
w(!1), k(V.target.value);
|
|
1320
1320
|
},
|
|
1321
|
-
value:
|
|
1321
|
+
value: h,
|
|
1322
1322
|
placeholder: _(u)
|
|
1323
1323
|
}
|
|
1324
1324
|
) }),
|
|
@@ -1326,8 +1326,8 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1326
1326
|
"textarea",
|
|
1327
1327
|
{
|
|
1328
1328
|
value: x,
|
|
1329
|
-
onChange: (
|
|
1330
|
-
v &&
|
|
1329
|
+
onChange: (V) => {
|
|
1330
|
+
v && w(!1), S(V.target.value);
|
|
1331
1331
|
},
|
|
1332
1332
|
placeholder: _(g)
|
|
1333
1333
|
}
|
|
@@ -1349,7 +1349,7 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1349
1349
|
title: "geo_filters",
|
|
1350
1350
|
activeColor: t,
|
|
1351
1351
|
geoLayers: p,
|
|
1352
|
-
onGeoLayersChange:
|
|
1352
|
+
onGeoLayersChange: y
|
|
1353
1353
|
}
|
|
1354
1354
|
),
|
|
1355
1355
|
C.includes("tematical") && /* @__PURE__ */ i(
|
|
@@ -1363,9 +1363,9 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1363
1363
|
}
|
|
1364
1364
|
)
|
|
1365
1365
|
] }),
|
|
1366
|
-
!b && /* @__PURE__ */
|
|
1367
|
-
|
|
1368
|
-
/* @__PURE__ */ i(Xe, { onClick: () =>
|
|
1366
|
+
!b && /* @__PURE__ */ m("div", { className: me.buttonContainer, children: [
|
|
1367
|
+
$ && /* @__PURE__ */ i("div", { className: me.warning, children: _(f) }),
|
|
1368
|
+
/* @__PURE__ */ i(Xe, { onClick: () => T(), children: _("save_ambit") })
|
|
1369
1369
|
] })
|
|
1370
1370
|
] });
|
|
1371
1371
|
};
|
|
@@ -1384,7 +1384,7 @@ G0.propTypes = {
|
|
|
1384
1384
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1385
1385
|
nameRequiredText: e.string
|
|
1386
1386
|
};
|
|
1387
|
-
const X0 = "
|
|
1387
|
+
const X0 = "_barChartContainer_1ly7h_2", Mt = {
|
|
1388
1388
|
barChartContainer: X0
|
|
1389
1389
|
}, r2 = ({
|
|
1390
1390
|
data: n,
|
|
@@ -1405,49 +1405,50 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1405
1405
|
verticalPadding: u = 10,
|
|
1406
1406
|
xLabelPadding: g = a == "vertical" ? 50 : 40,
|
|
1407
1407
|
containerWidth: C = 700,
|
|
1408
|
-
containerHeight:
|
|
1408
|
+
containerHeight: f = 500,
|
|
1409
|
+
mainColor: p = "#000"
|
|
1409
1410
|
}) => {
|
|
1410
1411
|
const {
|
|
1411
|
-
xScale:
|
|
1412
|
-
yScale:
|
|
1413
|
-
ticks:
|
|
1414
|
-
height:
|
|
1415
|
-
chartWidth:
|
|
1416
|
-
svgWidth:
|
|
1417
|
-
svgHeight:
|
|
1418
|
-
contentWidth:
|
|
1412
|
+
xScale: y,
|
|
1413
|
+
yScale: b,
|
|
1414
|
+
ticks: v,
|
|
1415
|
+
height: _,
|
|
1416
|
+
chartWidth: N,
|
|
1417
|
+
svgWidth: L,
|
|
1418
|
+
svgHeight: h,
|
|
1419
|
+
contentWidth: k
|
|
1419
1420
|
} = De(() => {
|
|
1420
1421
|
if (n && n.length > 0) {
|
|
1421
|
-
const
|
|
1422
|
+
const x = st.max(n, ($) => $.value) || 1, S = d || x;
|
|
1422
1423
|
if (a === "vertical") {
|
|
1423
|
-
const $ = n.length * (c + s) + l * 2,
|
|
1424
|
+
const $ = n.length * (c + s) + l * 2, w = Math.max($, C || 0), T = f, B = st.scaleLinear().domain([0, S]).range([T - 100, u]), O = Array.from(
|
|
1424
1425
|
{ length: o + 1 },
|
|
1425
|
-
(
|
|
1426
|
+
(R, P) => S / o * P
|
|
1426
1427
|
);
|
|
1427
1428
|
return {
|
|
1428
|
-
yScale:
|
|
1429
|
-
ticks:
|
|
1430
|
-
height:
|
|
1431
|
-
chartWidth:
|
|
1432
|
-
svgWidth:
|
|
1433
|
-
svgHeight:
|
|
1429
|
+
yScale: B,
|
|
1430
|
+
ticks: O,
|
|
1431
|
+
height: T,
|
|
1432
|
+
chartWidth: w,
|
|
1433
|
+
svgWidth: w,
|
|
1434
|
+
svgHeight: T,
|
|
1434
1435
|
contentWidth: $
|
|
1435
1436
|
};
|
|
1436
1437
|
} else {
|
|
1437
1438
|
const $ = n.length * (c + s);
|
|
1438
1439
|
console.log("barsHeight: ", $);
|
|
1439
|
-
const
|
|
1440
|
+
const w = $ + u * 2 + g + 30, T = C + t + l * 2, V = st.scaleLinear().domain([0, S]).range([0, C - l * 2]), B = Array.from(
|
|
1440
1441
|
{ length: o + 1 },
|
|
1441
|
-
(
|
|
1442
|
+
(O, R) => S / o * R
|
|
1442
1443
|
);
|
|
1443
1444
|
return {
|
|
1444
1445
|
xScale: V,
|
|
1445
|
-
ticks:
|
|
1446
|
-
height:
|
|
1446
|
+
ticks: B,
|
|
1447
|
+
height: w,
|
|
1447
1448
|
chartWidth: C,
|
|
1448
|
-
svgWidth:
|
|
1449
|
-
svgHeight:
|
|
1450
|
-
contentWidth:
|
|
1449
|
+
svgWidth: T,
|
|
1450
|
+
svgHeight: w,
|
|
1451
|
+
contentWidth: T
|
|
1451
1452
|
};
|
|
1452
1453
|
}
|
|
1453
1454
|
} else
|
|
@@ -1469,36 +1470,39 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1469
1470
|
a,
|
|
1470
1471
|
t,
|
|
1471
1472
|
C,
|
|
1472
|
-
|
|
1473
|
+
f
|
|
1473
1474
|
]);
|
|
1474
1475
|
return a === "vertical" ? /* @__PURE__ */ i(
|
|
1475
1476
|
"div",
|
|
1476
1477
|
{
|
|
1477
1478
|
style: {
|
|
1478
|
-
width:
|
|
1479
|
-
|
|
1479
|
+
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
1480
|
+
width: "100%",
|
|
1481
|
+
height: f ? `${f}px` : "100%",
|
|
1482
|
+
"--main-color": p
|
|
1480
1483
|
},
|
|
1481
1484
|
className: Mt.barChartContainer,
|
|
1482
1485
|
children: /* @__PURE__ */ i(
|
|
1483
1486
|
"svg",
|
|
1484
1487
|
{
|
|
1485
|
-
width:
|
|
1486
|
-
height:
|
|
1488
|
+
width: L,
|
|
1489
|
+
height: h,
|
|
1487
1490
|
style: {
|
|
1488
1491
|
display: "block",
|
|
1489
|
-
width:
|
|
1490
|
-
height:
|
|
1491
|
-
maxWidth: "none"
|
|
1492
|
+
width: L,
|
|
1493
|
+
height: h,
|
|
1494
|
+
maxWidth: "none",
|
|
1495
|
+
"--main-color": p
|
|
1492
1496
|
},
|
|
1493
|
-
children: /* @__PURE__ */
|
|
1494
|
-
/* @__PURE__ */ i("g", { children:
|
|
1495
|
-
const $ =
|
|
1496
|
-
return /* @__PURE__ */
|
|
1497
|
+
children: /* @__PURE__ */ m("g", { transform: `translate(${l}, 0)`, children: [
|
|
1498
|
+
/* @__PURE__ */ i("g", { children: v.map((x, S) => {
|
|
1499
|
+
const $ = b(x);
|
|
1500
|
+
return /* @__PURE__ */ m("g", { children: [
|
|
1497
1501
|
/* @__PURE__ */ i(
|
|
1498
1502
|
"line",
|
|
1499
1503
|
{
|
|
1500
1504
|
x1: 0,
|
|
1501
|
-
x2:
|
|
1505
|
+
x2: N - l * 2,
|
|
1502
1506
|
y1: $,
|
|
1503
1507
|
y2: $,
|
|
1504
1508
|
stroke: "#ccc"
|
|
@@ -1512,66 +1516,68 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1512
1516
|
textAnchor: "end",
|
|
1513
1517
|
fontSize: 10,
|
|
1514
1518
|
fill: r,
|
|
1515
|
-
children: parseInt(
|
|
1519
|
+
children: parseInt(x)
|
|
1516
1520
|
}
|
|
1517
1521
|
)
|
|
1518
|
-
] },
|
|
1522
|
+
] }, S);
|
|
1519
1523
|
}) }),
|
|
1520
|
-
n && n.length > 0 && n.map((
|
|
1521
|
-
const $ =
|
|
1522
|
-
return /* @__PURE__ */
|
|
1524
|
+
n && n.length > 0 && n.map((x, S) => {
|
|
1525
|
+
const $ = b(0) - b(x.value), w = S * (c + s), T = b(x.value);
|
|
1526
|
+
return /* @__PURE__ */ m("g", { children: [
|
|
1523
1527
|
/* @__PURE__ */ i(
|
|
1524
1528
|
"rect",
|
|
1525
1529
|
{
|
|
1526
|
-
x:
|
|
1527
|
-
y:
|
|
1530
|
+
x: w,
|
|
1531
|
+
y: T,
|
|
1528
1532
|
width: c,
|
|
1529
1533
|
height: $,
|
|
1530
|
-
fill:
|
|
1534
|
+
fill: x.color,
|
|
1531
1535
|
rx: 0
|
|
1532
1536
|
}
|
|
1533
1537
|
),
|
|
1534
1538
|
/* @__PURE__ */ i(
|
|
1535
1539
|
"text",
|
|
1536
1540
|
{
|
|
1537
|
-
x:
|
|
1538
|
-
y:
|
|
1541
|
+
x: w + c / 2,
|
|
1542
|
+
y: _ - g,
|
|
1539
1543
|
textAnchor: "start",
|
|
1540
1544
|
fill: r,
|
|
1541
1545
|
fontSize: 12,
|
|
1542
|
-
transform: `rotate(-90, ${
|
|
1543
|
-
children:
|
|
1546
|
+
transform: `rotate(-90, ${w + c / 2}, ${_ - g})`,
|
|
1547
|
+
children: x.title
|
|
1544
1548
|
}
|
|
1545
1549
|
)
|
|
1546
|
-
] },
|
|
1550
|
+
] }, S);
|
|
1547
1551
|
})
|
|
1548
1552
|
] })
|
|
1549
1553
|
}
|
|
1550
1554
|
)
|
|
1551
1555
|
}
|
|
1552
|
-
) : (console.log("svgHeight: ",
|
|
1556
|
+
) : (console.log("svgHeight: ", h), /* @__PURE__ */ i(
|
|
1553
1557
|
"div",
|
|
1554
1558
|
{
|
|
1555
1559
|
style: {
|
|
1556
|
-
width:
|
|
1557
|
-
|
|
1560
|
+
width: "100%",
|
|
1561
|
+
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
1562
|
+
height: f ? `${f}px` : "100%",
|
|
1563
|
+
"--main-color": p
|
|
1558
1564
|
},
|
|
1559
1565
|
className: Mt.barChartContainer,
|
|
1560
1566
|
children: /* @__PURE__ */ i(
|
|
1561
1567
|
"svg",
|
|
1562
1568
|
{
|
|
1563
|
-
width:
|
|
1564
|
-
height:
|
|
1569
|
+
width: L,
|
|
1570
|
+
height: h,
|
|
1565
1571
|
style: {
|
|
1566
1572
|
minWidth: "100%",
|
|
1567
|
-
height:
|
|
1568
|
-
width:
|
|
1573
|
+
height: h,
|
|
1574
|
+
width: k,
|
|
1569
1575
|
maxWidth: "none"
|
|
1570
1576
|
},
|
|
1571
|
-
children: /* @__PURE__ */
|
|
1572
|
-
/* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children:
|
|
1573
|
-
const $ =
|
|
1574
|
-
return /* @__PURE__ */
|
|
1577
|
+
children: /* @__PURE__ */ m("g", { transform: `translate(0,${u})`, children: [
|
|
1578
|
+
/* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children: v.map((x, S) => {
|
|
1579
|
+
const $ = y(x);
|
|
1580
|
+
return /* @__PURE__ */ m("g", { transform: `translate(${$}, 0)`, children: [
|
|
1575
1581
|
/* @__PURE__ */ i(
|
|
1576
1582
|
"line",
|
|
1577
1583
|
{
|
|
@@ -1587,17 +1593,17 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1587
1593
|
textAnchor: "middle",
|
|
1588
1594
|
fontSize: 10,
|
|
1589
1595
|
fill: r,
|
|
1590
|
-
children: parseInt(
|
|
1596
|
+
children: parseInt(x)
|
|
1591
1597
|
}
|
|
1592
1598
|
)
|
|
1593
|
-
] },
|
|
1599
|
+
] }, S);
|
|
1594
1600
|
}) }),
|
|
1595
|
-
n && n.length > 0 && n.map((
|
|
1596
|
-
const $ =
|
|
1597
|
-
return console.log("y: ",
|
|
1601
|
+
n && n.length > 0 && n.map((x, S) => {
|
|
1602
|
+
const $ = y(x.value), w = S * (c + s);
|
|
1603
|
+
return console.log("y: ", w), /* @__PURE__ */ m(
|
|
1598
1604
|
"g",
|
|
1599
1605
|
{
|
|
1600
|
-
transform: `translate(${t + l}, ${
|
|
1606
|
+
transform: `translate(${t + l}, ${w})`,
|
|
1601
1607
|
children: [
|
|
1602
1608
|
/* @__PURE__ */ i(
|
|
1603
1609
|
"text",
|
|
@@ -1607,7 +1613,7 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1607
1613
|
textAnchor: "end",
|
|
1608
1614
|
fill: r,
|
|
1609
1615
|
fontSize: 12,
|
|
1610
|
-
children:
|
|
1616
|
+
children: x.title
|
|
1611
1617
|
}
|
|
1612
1618
|
),
|
|
1613
1619
|
/* @__PURE__ */ i(
|
|
@@ -1615,13 +1621,13 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1615
1621
|
{
|
|
1616
1622
|
width: $,
|
|
1617
1623
|
height: c,
|
|
1618
|
-
fill:
|
|
1624
|
+
fill: x.color,
|
|
1619
1625
|
rx: 0
|
|
1620
1626
|
}
|
|
1621
1627
|
)
|
|
1622
1628
|
]
|
|
1623
1629
|
},
|
|
1624
|
-
|
|
1630
|
+
S
|
|
1625
1631
|
);
|
|
1626
1632
|
})
|
|
1627
1633
|
] })
|
|
@@ -1667,20 +1673,20 @@ const Q0 = "_graphicContainer_1ozwp_2", J0 = "_titleContainer_1ozwp_13", Dt = {
|
|
|
1667
1673
|
numberOfDivisions: a = 7,
|
|
1668
1674
|
leftPadding: l = -200,
|
|
1669
1675
|
orientation: u = "horizontal",
|
|
1670
|
-
xLabelPadding: g = 0
|
|
1676
|
+
xLabelPadding: g = 0,
|
|
1677
|
+
mainColor: C
|
|
1671
1678
|
}) => {
|
|
1672
|
-
const { t:
|
|
1673
|
-
return /* @__PURE__ */
|
|
1679
|
+
const { t: f } = F();
|
|
1680
|
+
return /* @__PURE__ */ m(
|
|
1674
1681
|
"div",
|
|
1675
1682
|
{
|
|
1676
1683
|
className: Dt.graphicContainer,
|
|
1677
1684
|
style: {
|
|
1678
1685
|
...s || {},
|
|
1679
|
-
border: `1.5px solid ${r}`,
|
|
1680
1686
|
paddingBottom: 40
|
|
1681
1687
|
},
|
|
1682
1688
|
children: [
|
|
1683
|
-
/* @__PURE__ */ i("div", { className: Dt.titleContainer, children: /* @__PURE__ */ i("h2", { children:
|
|
1689
|
+
/* @__PURE__ */ i("div", { className: Dt.titleContainer, children: /* @__PURE__ */ i("h2", { children: f(t) }) }),
|
|
1684
1690
|
/* @__PURE__ */ i(
|
|
1685
1691
|
r2,
|
|
1686
1692
|
{
|
|
@@ -1691,7 +1697,8 @@ const Q0 = "_graphicContainer_1ozwp_2", J0 = "_titleContainer_1ozwp_13", Dt = {
|
|
|
1691
1697
|
numberOfDivisions: a,
|
|
1692
1698
|
leftPadding: l,
|
|
1693
1699
|
orientation: u,
|
|
1694
|
-
xLabelPadding: g
|
|
1700
|
+
xLabelPadding: g,
|
|
1701
|
+
mainColor: C
|
|
1695
1702
|
}
|
|
1696
1703
|
)
|
|
1697
1704
|
]
|
|
@@ -1711,6 +1718,7 @@ Y0.propTypes = {
|
|
|
1711
1718
|
graphLength: e.number,
|
|
1712
1719
|
containerStyle: e.object,
|
|
1713
1720
|
fontColor: e.string,
|
|
1721
|
+
mainColor: e.string,
|
|
1714
1722
|
maxValue: e.number,
|
|
1715
1723
|
numberOfDivisions: e.number,
|
|
1716
1724
|
leftPadding: e.number,
|
|
@@ -1720,7 +1728,7 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1720
1728
|
indicatorsCategory: en,
|
|
1721
1729
|
title: tn,
|
|
1722
1730
|
list: nn
|
|
1723
|
-
}, sn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", rn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", on = "_indicatorContainer_17b40_2", an = "_indicatorNameContainer_17b40_11", ln = "_dot_17b40_17", cn = "_indicatorName_17b40_11", dn = "_switchExternalContainer_17b40_31", un = "_switchType_17b40_39", pn = "_switchTypeOptions_17b40_43", hn = "_optionContainer_17b40_54", mn = "_customRadious_17b40_64", gn = "_optionText_17b40_71",
|
|
1731
|
+
}, sn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", rn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", on = "_indicatorContainer_17b40_2", an = "_indicatorNameContainer_17b40_11", ln = "_dot_17b40_17", cn = "_indicatorName_17b40_11", dn = "_switchExternalContainer_17b40_31", un = "_switchType_17b40_39", pn = "_switchTypeOptions_17b40_43", hn = "_optionContainer_17b40_54", mn = "_customRadious_17b40_64", gn = "_optionText_17b40_71", K = {
|
|
1724
1732
|
indicatorContainer: on,
|
|
1725
1733
|
indicatorNameContainer: an,
|
|
1726
1734
|
dot: ln,
|
|
@@ -1742,25 +1750,25 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1742
1750
|
multiple: a = !1,
|
|
1743
1751
|
onChangeType: l
|
|
1744
1752
|
}) => {
|
|
1745
|
-
const { t: u } = F(), { name: g, type: C, disabled:
|
|
1753
|
+
const { t: u } = F(), { name: g, type: C, disabled: f } = n, [p, y] = I(!1);
|
|
1746
1754
|
A(() => {
|
|
1747
|
-
t &&
|
|
1755
|
+
t && y(
|
|
1748
1756
|
a ? t.some(
|
|
1749
1757
|
(_) => _.name == String(g)
|
|
1750
1758
|
) : t.name == g
|
|
1751
1759
|
);
|
|
1752
1760
|
}, [t]);
|
|
1753
|
-
const b = () => /* @__PURE__ */ i("div", { className:
|
|
1754
|
-
/* @__PURE__ */
|
|
1761
|
+
const b = () => /* @__PURE__ */ i("div", { className: K.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: K.switchType, children: /* @__PURE__ */ m("div", { className: K.switchTypeOptions, children: [
|
|
1762
|
+
/* @__PURE__ */ m(
|
|
1755
1763
|
"div",
|
|
1756
1764
|
{
|
|
1757
|
-
className:
|
|
1765
|
+
className: K.optionContainer,
|
|
1758
1766
|
onClick: () => l("cat"),
|
|
1759
1767
|
children: [
|
|
1760
1768
|
/* @__PURE__ */ i(
|
|
1761
1769
|
"span",
|
|
1762
1770
|
{
|
|
1763
|
-
className: `${
|
|
1771
|
+
className: `${K.customRadious}`,
|
|
1764
1772
|
style: {
|
|
1765
1773
|
backgroundColor: o === "cat" ? s : "transparent",
|
|
1766
1774
|
borderColor: o === "cat" ? s : r
|
|
@@ -1770,7 +1778,7 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1770
1778
|
/* @__PURE__ */ i(
|
|
1771
1779
|
"h4",
|
|
1772
1780
|
{
|
|
1773
|
-
className:
|
|
1781
|
+
className: K.optionText,
|
|
1774
1782
|
style: {
|
|
1775
1783
|
color: o === "cat" ? s : r
|
|
1776
1784
|
},
|
|
@@ -1780,16 +1788,16 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1780
1788
|
]
|
|
1781
1789
|
}
|
|
1782
1790
|
),
|
|
1783
|
-
/* @__PURE__ */
|
|
1791
|
+
/* @__PURE__ */ m(
|
|
1784
1792
|
"div",
|
|
1785
1793
|
{
|
|
1786
|
-
className:
|
|
1794
|
+
className: K.optionContainer,
|
|
1787
1795
|
onClick: () => l("abs"),
|
|
1788
1796
|
children: [
|
|
1789
1797
|
/* @__PURE__ */ i(
|
|
1790
1798
|
"span",
|
|
1791
1799
|
{
|
|
1792
|
-
className: `${
|
|
1800
|
+
className: `${K.customRadious}`,
|
|
1793
1801
|
style: {
|
|
1794
1802
|
backgroundColor: o === "abs" ? s : "transparent",
|
|
1795
1803
|
borderColor: o === "abs" ? s : r
|
|
@@ -1799,7 +1807,7 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1799
1807
|
/* @__PURE__ */ i(
|
|
1800
1808
|
"h4",
|
|
1801
1809
|
{
|
|
1802
|
-
className:
|
|
1810
|
+
className: K.optionText,
|
|
1803
1811
|
style: {
|
|
1804
1812
|
color: o === "abs" ? s : r
|
|
1805
1813
|
},
|
|
@@ -1809,15 +1817,15 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1809
1817
|
]
|
|
1810
1818
|
}
|
|
1811
1819
|
)
|
|
1812
|
-
] }) }) }), v = () => /* @__PURE__ */ i("div", { className:
|
|
1820
|
+
] }) }) }), v = () => /* @__PURE__ */ i("div", { className: K.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: K.switchType, children: /* @__PURE__ */ i("div", { className: K.switchTypeOptions, children: c.map((_, N) => /* @__PURE__ */ m(
|
|
1813
1821
|
"div",
|
|
1814
1822
|
{
|
|
1815
|
-
className:
|
|
1823
|
+
className: K.optionContainer,
|
|
1816
1824
|
children: [
|
|
1817
1825
|
/* @__PURE__ */ i(
|
|
1818
1826
|
"span",
|
|
1819
1827
|
{
|
|
1820
|
-
className:
|
|
1828
|
+
className: K.customRadious
|
|
1821
1829
|
}
|
|
1822
1830
|
),
|
|
1823
1831
|
/* @__PURE__ */ i("h4", { children: u(_.unit) })
|
|
@@ -1825,32 +1833,32 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1825
1833
|
},
|
|
1826
1834
|
N
|
|
1827
1835
|
)) }) }) });
|
|
1828
|
-
return /* @__PURE__ */
|
|
1829
|
-
/* @__PURE__ */
|
|
1836
|
+
return /* @__PURE__ */ m("div", { className: K.indicatorContainer, children: [
|
|
1837
|
+
/* @__PURE__ */ m(
|
|
1830
1838
|
"div",
|
|
1831
1839
|
{
|
|
1832
|
-
className:
|
|
1833
|
-
onClick: () => !
|
|
1840
|
+
className: K.indicatorNameContainer,
|
|
1841
|
+
onClick: () => !f && d({ indicator: n }),
|
|
1834
1842
|
children: [
|
|
1835
1843
|
/* @__PURE__ */ i(
|
|
1836
1844
|
"div",
|
|
1837
1845
|
{
|
|
1838
1846
|
style: {
|
|
1839
1847
|
border: p ? `1px solid ${s}` : `1px solid ${r}`,
|
|
1840
|
-
opacity:
|
|
1848
|
+
opacity: f ? 0.5 : 1,
|
|
1841
1849
|
backgroundColor: p ? s : "transparent"
|
|
1842
1850
|
},
|
|
1843
|
-
className:
|
|
1851
|
+
className: K.dot,
|
|
1844
1852
|
children: a && /* @__PURE__ */ i("img", { src: p ? rn : sn, alt: "" })
|
|
1845
1853
|
}
|
|
1846
1854
|
),
|
|
1847
1855
|
/* @__PURE__ */ i(
|
|
1848
1856
|
"h4",
|
|
1849
1857
|
{
|
|
1850
|
-
className:
|
|
1858
|
+
className: K.indicatorName,
|
|
1851
1859
|
style: {
|
|
1852
1860
|
color: p ? s : r,
|
|
1853
|
-
opacity:
|
|
1861
|
+
opacity: f ? 0.5 : 1
|
|
1854
1862
|
},
|
|
1855
1863
|
children: /* @__PURE__ */ i(
|
|
1856
1864
|
vt,
|
|
@@ -1898,10 +1906,10 @@ const Cn = "_indicatorsSubCategory_1nuug_2", fn = "_list_1nuug_11", Tt = {
|
|
|
1898
1906
|
activeIndicatorType: g,
|
|
1899
1907
|
onChangeType: C
|
|
1900
1908
|
}) => {
|
|
1901
|
-
const { t:
|
|
1909
|
+
const { t: f } = F(), [p, y] = I(!1);
|
|
1902
1910
|
return A(() => {
|
|
1903
|
-
|
|
1904
|
-
}, [t, d]), /* @__PURE__ */
|
|
1911
|
+
y(t == d);
|
|
1912
|
+
}, [t, d]), /* @__PURE__ */ m(
|
|
1905
1913
|
xt.div,
|
|
1906
1914
|
{
|
|
1907
1915
|
className: Tt.indicatorsSubCategory,
|
|
@@ -1909,13 +1917,13 @@ const Cn = "_indicatorsSubCategory_1nuug_2", fn = "_list_1nuug_11", Tt = {
|
|
|
1909
1917
|
animate: { height: p ? "auto" : "43px" },
|
|
1910
1918
|
transition: { duration: 0.4 },
|
|
1911
1919
|
children: [
|
|
1912
|
-
/* @__PURE__ */ i("button", { onClick: () => o(d), children: /* @__PURE__ */
|
|
1920
|
+
/* @__PURE__ */ i("button", { onClick: () => o(d), children: /* @__PURE__ */ m("h3", { style: { color: p ? r : s }, children: [
|
|
1913
1921
|
/* @__PURE__ */ i("span", { style: { color: p ? r : s }, children: p ? "-" : "+" }),
|
|
1914
1922
|
/* @__PURE__ */ i(
|
|
1915
1923
|
"span",
|
|
1916
1924
|
{
|
|
1917
1925
|
style: { color: p ? r : s },
|
|
1918
|
-
children:
|
|
1926
|
+
children: f(n)
|
|
1919
1927
|
}
|
|
1920
1928
|
)
|
|
1921
1929
|
] }) }),
|
|
@@ -1962,37 +1970,37 @@ const a2 = ({
|
|
|
1962
1970
|
onClickIndicator: u,
|
|
1963
1971
|
multiple: g,
|
|
1964
1972
|
activeIndicatorType: C,
|
|
1965
|
-
onChangeType:
|
|
1973
|
+
onChangeType: f
|
|
1966
1974
|
}) => {
|
|
1967
1975
|
var v;
|
|
1968
|
-
const { t: p } = F(), [
|
|
1976
|
+
const { t: p } = F(), [y, b] = I(!1);
|
|
1969
1977
|
return A(() => {
|
|
1970
1978
|
b(o === c);
|
|
1971
|
-
}, [o, c]), /* @__PURE__ */
|
|
1979
|
+
}, [o, c]), /* @__PURE__ */ m(
|
|
1972
1980
|
xt.div,
|
|
1973
1981
|
{
|
|
1974
1982
|
className: He.indicatorsCategory,
|
|
1975
1983
|
initial: { height: "53px" },
|
|
1976
|
-
animate: { height:
|
|
1984
|
+
animate: { height: y ? "auto" : "53px" },
|
|
1977
1985
|
transition: { duration: 0.4 },
|
|
1978
1986
|
style: {
|
|
1979
1987
|
backgroundColor: "white",
|
|
1980
|
-
borderBottom:
|
|
1981
|
-
marginBottom:
|
|
1988
|
+
borderBottom: y ? `1px solid ${s}` : "0px",
|
|
1989
|
+
marginBottom: y ? "20px" : "0px"
|
|
1982
1990
|
},
|
|
1983
1991
|
children: [
|
|
1984
|
-
/* @__PURE__ */
|
|
1985
|
-
/* @__PURE__ */ i("span", { className: He.plus, style: { color:
|
|
1992
|
+
/* @__PURE__ */ m("h2", { className: `${He.title}`, onClick: () => t(c), children: [
|
|
1993
|
+
/* @__PURE__ */ i("span", { className: He.plus, style: { color: y ? s : r }, children: y ? "-" : "+" }),
|
|
1986
1994
|
/* @__PURE__ */ i(
|
|
1987
1995
|
"span",
|
|
1988
1996
|
{
|
|
1989
|
-
style: { color:
|
|
1997
|
+
style: { color: y ? s : r },
|
|
1990
1998
|
children: p(n.name)
|
|
1991
1999
|
}
|
|
1992
2000
|
)
|
|
1993
2001
|
] }),
|
|
1994
2002
|
n.subcategories ? n.subcategories.map(
|
|
1995
|
-
({ name: _, subcategory: N, indicators: L },
|
|
2003
|
+
({ name: _, subcategory: N, indicators: L }, h) => /* @__PURE__ */ i(
|
|
1996
2004
|
o2,
|
|
1997
2005
|
{
|
|
1998
2006
|
id: N,
|
|
@@ -2006,9 +2014,9 @@ const a2 = ({
|
|
|
2006
2014
|
defaultColor: r,
|
|
2007
2015
|
indicators: L,
|
|
2008
2016
|
activeIndicatorType: C,
|
|
2009
|
-
onChangeType:
|
|
2017
|
+
onChangeType: f
|
|
2010
2018
|
},
|
|
2011
|
-
`subcKey ${
|
|
2019
|
+
`subcKey ${h}`
|
|
2012
2020
|
)
|
|
2013
2021
|
) : /* @__PURE__ */ i("div", { className: He.list, children: (v = n.indicators) == null ? void 0 : v.map((_, N) => /* @__PURE__ */ i(
|
|
2014
2022
|
Nt,
|
|
@@ -2021,7 +2029,7 @@ const a2 = ({
|
|
|
2021
2029
|
onClickIndicator: u,
|
|
2022
2030
|
multiple: g,
|
|
2023
2031
|
activeIndicatorType: C,
|
|
2024
|
-
onChangeType:
|
|
2032
|
+
onChangeType: f
|
|
2025
2033
|
},
|
|
2026
2034
|
`indicator${N}`
|
|
2027
2035
|
)) })
|
|
@@ -2060,26 +2068,26 @@ const yn = "_indicatorsList_13b3m_2", bn = "_title_13b3m_6", Bt = {
|
|
|
2060
2068
|
changeIndType: d,
|
|
2061
2069
|
activeIndicatorType: a
|
|
2062
2070
|
}) => {
|
|
2063
|
-
const { t: l } = F(), [u, g] = I(), [C,
|
|
2064
|
-
g(u ==
|
|
2065
|
-
}, v = (
|
|
2066
|
-
|
|
2067
|
-
}, _ = ({ indicator:
|
|
2068
|
-
N(
|
|
2069
|
-
}, N = (
|
|
2071
|
+
const { t: l } = F(), [u, g] = I(), [C, f] = I(), [p, y] = I(), b = (h) => {
|
|
2072
|
+
g(u == h ? null : h);
|
|
2073
|
+
}, v = (h) => {
|
|
2074
|
+
f(C == h ? null : h);
|
|
2075
|
+
}, _ = ({ indicator: h }) => {
|
|
2076
|
+
N(h);
|
|
2077
|
+
}, N = (h) => {
|
|
2070
2078
|
if (!t)
|
|
2071
|
-
|
|
2072
|
-
(p == null ? void 0 : p.name) ==
|
|
2079
|
+
y(
|
|
2080
|
+
(p == null ? void 0 : p.name) == h.name ? null : h
|
|
2073
2081
|
);
|
|
2074
2082
|
else {
|
|
2075
|
-
let
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
(x) => x.name ==
|
|
2079
|
-
) ?
|
|
2080
|
-
(x) => x.name != String(
|
|
2081
|
-
) : [...
|
|
2082
|
-
),
|
|
2083
|
+
let k = p && p.length > 0 ? [...p] : [];
|
|
2084
|
+
y(
|
|
2085
|
+
k != null && k.some(
|
|
2086
|
+
(x) => x.name == h.name
|
|
2087
|
+
) ? k.filter(
|
|
2088
|
+
(x) => x.name != String(h.name)
|
|
2089
|
+
) : [...k, h]
|
|
2090
|
+
), h.type == "both" && d("cat");
|
|
2083
2091
|
}
|
|
2084
2092
|
};
|
|
2085
2093
|
A(() => {
|
|
@@ -2087,38 +2095,38 @@ const yn = "_indicatorsList_13b3m_2", bn = "_title_13b3m_6", Bt = {
|
|
|
2087
2095
|
}, [p]), v2(() => {
|
|
2088
2096
|
if (o && !p)
|
|
2089
2097
|
if (t && o && Array.isArray(o)) {
|
|
2090
|
-
let
|
|
2091
|
-
|
|
2098
|
+
let h = p && p.length > 0 ? [...p] : [];
|
|
2099
|
+
y([...h, ...o]), L(o[0].name);
|
|
2092
2100
|
} else
|
|
2093
2101
|
N(o), L(o.name);
|
|
2094
2102
|
}, []), A(() => {
|
|
2095
2103
|
if (o != p)
|
|
2096
2104
|
if (t && o && Array.isArray(o)) {
|
|
2097
|
-
let
|
|
2098
|
-
|
|
2105
|
+
let h = p && p.length > 0 ? [...p] : [];
|
|
2106
|
+
y([...h, ...o]), L(o[0].name);
|
|
2099
2107
|
} else
|
|
2100
2108
|
N(o), L(o.name);
|
|
2101
2109
|
}, [o]);
|
|
2102
|
-
const L = (
|
|
2103
|
-
const
|
|
2110
|
+
const L = (h) => {
|
|
2111
|
+
const k = n.find((x) => {
|
|
2104
2112
|
if (x.subcategories) {
|
|
2105
|
-
let
|
|
2106
|
-
(
|
|
2113
|
+
let S = x.subcategories.find(
|
|
2114
|
+
($) => $.indicators.find((w) => w.name == h)
|
|
2107
2115
|
);
|
|
2108
|
-
if (
|
|
2109
|
-
return
|
|
2116
|
+
if (S)
|
|
2117
|
+
return f(S.subcategory), S;
|
|
2110
2118
|
} else
|
|
2111
|
-
return x.indicators.some((
|
|
2119
|
+
return x.indicators.some((S) => S.name == h);
|
|
2112
2120
|
});
|
|
2113
|
-
|
|
2121
|
+
k && g(k.category);
|
|
2114
2122
|
};
|
|
2115
|
-
return /* @__PURE__ */
|
|
2123
|
+
return /* @__PURE__ */ m("div", { className: Bt.indicatorsList, children: [
|
|
2116
2124
|
/* @__PURE__ */ i("h2", { className: Bt.title, style: { color: s }, children: l("indicators.indicators") }),
|
|
2117
|
-
n.map((
|
|
2125
|
+
n.map((h, k) => /* @__PURE__ */ i(
|
|
2118
2126
|
a2,
|
|
2119
2127
|
{
|
|
2120
|
-
id:
|
|
2121
|
-
cat:
|
|
2128
|
+
id: h.category,
|
|
2129
|
+
cat: h,
|
|
2122
2130
|
onClickCategory: b,
|
|
2123
2131
|
activeCategory: u,
|
|
2124
2132
|
onClickSubCategory: v,
|
|
@@ -2132,7 +2140,7 @@ const yn = "_indicatorsList_13b3m_2", bn = "_title_13b3m_6", Bt = {
|
|
|
2132
2140
|
onChangeType: d,
|
|
2133
2141
|
activeIndicatorType: a
|
|
2134
2142
|
},
|
|
2135
|
-
`categoryKey${
|
|
2143
|
+
`categoryKey${k}`
|
|
2136
2144
|
))
|
|
2137
2145
|
] });
|
|
2138
2146
|
};
|
|
@@ -2157,8 +2165,8 @@ const vn = "_langSelector_o9enq_2", xn = "_currentLang_o9enq_14", wn = "_arrow_o
|
|
|
2157
2165
|
const [r, t] = I(!1), { i18n: o } = F(), d = n.find((l) => l.code == o.language), a = (l) => {
|
|
2158
2166
|
o.changeLanguage(l), t(!1);
|
|
2159
2167
|
};
|
|
2160
|
-
return /* @__PURE__ */
|
|
2161
|
-
/* @__PURE__ */
|
|
2168
|
+
return /* @__PURE__ */ m("div", { className: ke.langSelector, children: [
|
|
2169
|
+
/* @__PURE__ */ m(
|
|
2162
2170
|
"div",
|
|
2163
2171
|
{
|
|
2164
2172
|
className: ke.currentLang,
|
|
@@ -2197,7 +2205,7 @@ $n.propTypes = {
|
|
|
2197
2205
|
arrow: e.object,
|
|
2198
2206
|
imgPrev: e.object
|
|
2199
2207
|
};
|
|
2200
|
-
const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titleContainer_4ndr8_69", Dn = "_infoContainer_4ndr8_75", Tn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Vn = "_gridContainer_4ndr8_92", Fn = "_elementLegendContainer_4ndr8_98", An = "_colorDot_4ndr8_104", On = "_absoluteValueContainer_4ndr8_110", Rn = "_absoluteValueColor_4ndr8_113", In = "_absoluteValueText_4ndr8_118", En = "_noDataContainer_4ndr8_130",
|
|
2208
|
+
const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titleContainer_4ndr8_69", Dn = "_infoContainer_4ndr8_75", Tn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Vn = "_gridContainer_4ndr8_92", Fn = "_elementLegendContainer_4ndr8_98", An = "_colorDot_4ndr8_104", On = "_absoluteValueContainer_4ndr8_110", Rn = "_absoluteValueColor_4ndr8_113", In = "_absoluteValueText_4ndr8_118", En = "_noDataContainer_4ndr8_130", qn = "_noData_4ndr8_130", zn = "_moreInfoContainer_4ndr8_151", H = {
|
|
2201
2209
|
legendContainer: Sn,
|
|
2202
2210
|
closeButton: Ln,
|
|
2203
2211
|
titleContainer: Mn,
|
|
@@ -2211,8 +2219,8 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2211
2219
|
absoluteValueColor: Rn,
|
|
2212
2220
|
absoluteValueText: In,
|
|
2213
2221
|
noDataContainer: En,
|
|
2214
|
-
noData:
|
|
2215
|
-
moreInfoContainer:
|
|
2222
|
+
noData: qn,
|
|
2223
|
+
moreInfoContainer: zn
|
|
2216
2224
|
}, Pn = ({
|
|
2217
2225
|
//JSON with the styles of the container (optional)
|
|
2218
2226
|
containerStyles: n,
|
|
@@ -2230,35 +2238,35 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2230
2238
|
onClickClose: d
|
|
2231
2239
|
}) => {
|
|
2232
2240
|
const { t: a } = F();
|
|
2233
|
-
return /* @__PURE__ */
|
|
2241
|
+
return /* @__PURE__ */ m(
|
|
2234
2242
|
"div",
|
|
2235
2243
|
{
|
|
2236
2244
|
style: n ? { ...n } : {},
|
|
2237
|
-
className: `${
|
|
2245
|
+
className: `${H.legendContainer}`,
|
|
2238
2246
|
children: [
|
|
2239
|
-
/* @__PURE__ */ i("button", { className:
|
|
2247
|
+
/* @__PURE__ */ i("button", { className: H.closeButton, onClick: d }),
|
|
2240
2248
|
c && /* @__PURE__ */ i(
|
|
2241
2249
|
"div",
|
|
2242
2250
|
{
|
|
2243
|
-
className:
|
|
2251
|
+
className: H.titleContainer,
|
|
2244
2252
|
style: {
|
|
2245
2253
|
marginBottom: (!s || s.length == 0) && "15px"
|
|
2246
2254
|
},
|
|
2247
2255
|
children: /* @__PURE__ */ i("h2", { children: c })
|
|
2248
2256
|
}
|
|
2249
2257
|
),
|
|
2250
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2251
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2252
|
-
/* @__PURE__ */
|
|
2258
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: H.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: l, value: u }) => /* @__PURE__ */ m("li", { children: [
|
|
2259
|
+
/* @__PURE__ */ i("h3", { className: H.title, children: `${l}:` }),
|
|
2260
|
+
/* @__PURE__ */ m("span", { className: H.value, children: [
|
|
2253
2261
|
" ",
|
|
2254
2262
|
u
|
|
2255
2263
|
] })
|
|
2256
2264
|
] }, c)) }) }),
|
|
2257
|
-
r && r.length > 0 && r.map((l, u) => /* @__PURE__ */
|
|
2265
|
+
r && r.length > 0 && r.map((l, u) => /* @__PURE__ */ m("div", { children: [
|
|
2258
2266
|
/* @__PURE__ */ i(
|
|
2259
2267
|
"h3",
|
|
2260
2268
|
{
|
|
2261
|
-
className:
|
|
2269
|
+
className: H.titleLegendList,
|
|
2262
2270
|
style: {
|
|
2263
2271
|
marginTop: s && s.length > 0 && u === 0 ? "30px" : u > 0 ? "20px" : "0px"
|
|
2264
2272
|
},
|
|
@@ -2272,71 +2280,71 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2272
2280
|
)
|
|
2273
2281
|
}
|
|
2274
2282
|
),
|
|
2275
|
-
/* @__PURE__ */
|
|
2276
|
-
l.absolute ? /* @__PURE__ */
|
|
2283
|
+
/* @__PURE__ */ m("div", { className: H.legendListContainer, children: [
|
|
2284
|
+
l.absolute ? /* @__PURE__ */ m("div", { className: H.absoluteValueContainer, children: [
|
|
2277
2285
|
/* @__PURE__ */ i(
|
|
2278
2286
|
"div",
|
|
2279
2287
|
{
|
|
2280
|
-
className:
|
|
2288
|
+
className: H.absoluteValueColor,
|
|
2281
2289
|
style: {
|
|
2282
2290
|
background: `linear-gradient(to bottom, ${l.absolute.maxColor} 0%, ${l.absolute.midColor ? `${l.absolute.midColor} 50%,` : ""} ${l.absolute.minColor} 100%)`
|
|
2283
2291
|
}
|
|
2284
2292
|
}
|
|
2285
2293
|
),
|
|
2286
|
-
/* @__PURE__ */
|
|
2287
|
-
/* @__PURE__ */
|
|
2294
|
+
/* @__PURE__ */ m("div", { className: H.absoluteValueText, children: [
|
|
2295
|
+
/* @__PURE__ */ m("span", { children: [
|
|
2288
2296
|
l.absolute.maxValue,
|
|
2289
2297
|
" ",
|
|
2290
2298
|
a(l.absolute.unit)
|
|
2291
2299
|
] }),
|
|
2292
|
-
l.absolute.midValue && /* @__PURE__ */
|
|
2300
|
+
l.absolute.midValue && /* @__PURE__ */ m("span", { children: [
|
|
2293
2301
|
l.absolute.midValue,
|
|
2294
2302
|
" ",
|
|
2295
2303
|
a(l.absolute.unit)
|
|
2296
2304
|
] }),
|
|
2297
|
-
/* @__PURE__ */
|
|
2305
|
+
/* @__PURE__ */ m("span", { children: [
|
|
2298
2306
|
l.absolute.minValue,
|
|
2299
2307
|
" ",
|
|
2300
2308
|
a(l.absolute.unit)
|
|
2301
2309
|
] })
|
|
2302
2310
|
] })
|
|
2303
|
-
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2304
|
-
({ title: g, color: C },
|
|
2311
|
+
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className: H.gridContainer, children: l.categories.map(
|
|
2312
|
+
({ title: g, color: C }, f) => /* @__PURE__ */ m(
|
|
2305
2313
|
"div",
|
|
2306
2314
|
{
|
|
2307
|
-
className:
|
|
2315
|
+
className: H.elementLegendContainer,
|
|
2308
2316
|
children: [
|
|
2309
2317
|
/* @__PURE__ */ i(
|
|
2310
2318
|
"div",
|
|
2311
2319
|
{
|
|
2312
|
-
className:
|
|
2320
|
+
className: H.colorDot,
|
|
2313
2321
|
style: { backgroundColor: C }
|
|
2314
2322
|
}
|
|
2315
2323
|
),
|
|
2316
|
-
/* @__PURE__ */
|
|
2324
|
+
/* @__PURE__ */ m("div", { className: H.titleLegendElement, children: [
|
|
2317
2325
|
a(g),
|
|
2318
2326
|
" "
|
|
2319
2327
|
] })
|
|
2320
2328
|
]
|
|
2321
2329
|
},
|
|
2322
|
-
|
|
2330
|
+
f
|
|
2323
2331
|
)
|
|
2324
2332
|
) }),
|
|
2325
|
-
l.absolute && l.absolute.noDataColor && /* @__PURE__ */
|
|
2333
|
+
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ m("div", { className: H.noDataContainer, children: [
|
|
2326
2334
|
/* @__PURE__ */ i(
|
|
2327
2335
|
"div",
|
|
2328
2336
|
{
|
|
2329
|
-
className:
|
|
2337
|
+
className: H.noData,
|
|
2330
2338
|
style: {
|
|
2331
2339
|
background: l.absolute.noDataColor
|
|
2332
2340
|
}
|
|
2333
2341
|
}
|
|
2334
2342
|
),
|
|
2335
|
-
/* @__PURE__ */ i("div", { className:
|
|
2343
|
+
/* @__PURE__ */ i("div", { className: H.absoluteValueText, children: /* @__PURE__ */ i("span", { children: a(l.absolute.noDataText) }) })
|
|
2336
2344
|
] })
|
|
2337
2345
|
] })
|
|
2338
2346
|
] }, u)),
|
|
2339
|
-
t && /* @__PURE__ */ i("button", { className:
|
|
2347
|
+
t && /* @__PURE__ */ i("button", { className: H.moreInfoContainer, onClick: t, children: o || a("moreInformation") })
|
|
2340
2348
|
]
|
|
2341
2349
|
}
|
|
2342
2350
|
);
|
|
@@ -2388,11 +2396,11 @@ jn.propTypes = {
|
|
|
2388
2396
|
href: e.string,
|
|
2389
2397
|
className: e.string
|
|
2390
2398
|
};
|
|
2391
|
-
const Hn = "_mapContainer_84pkf_2",
|
|
2399
|
+
const Hn = "_mapContainer_84pkf_2", Wn = {
|
|
2392
2400
|
mapContainer: Hn
|
|
2393
2401
|
};
|
|
2394
2402
|
x2.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2395
|
-
const
|
|
2403
|
+
const Kn = ({
|
|
2396
2404
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2397
2405
|
maxZoom: c = 17,
|
|
2398
2406
|
minZoom: s = 8,
|
|
@@ -2405,15 +2413,15 @@ const Wn = ({
|
|
|
2405
2413
|
sources: u = [],
|
|
2406
2414
|
layers: g = []
|
|
2407
2415
|
}) => {
|
|
2408
|
-
const C = ee(), [
|
|
2416
|
+
const C = ee(), [f, p] = I(null), y = w2((b) => b.mapState.showTexts);
|
|
2409
2417
|
return A(() => {
|
|
2410
2418
|
if (C.current) {
|
|
2411
2419
|
const b = C.current.getMap();
|
|
2412
2420
|
b.getStyle().layers.map((_) => {
|
|
2413
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2421
|
+
_.type == "symbol" && _.id != "professionals" && (y ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
|
|
2414
2422
|
});
|
|
2415
2423
|
}
|
|
2416
|
-
}, [
|
|
2424
|
+
}, [y]), /* @__PURE__ */ i("div", { className: `${Wn.mapContainer}`, style: o, children: /* @__PURE__ */ m(
|
|
2417
2425
|
N2,
|
|
2418
2426
|
{
|
|
2419
2427
|
initialViewState: n,
|
|
@@ -2443,7 +2451,7 @@ const Wn = ({
|
|
|
2443
2451
|
v
|
|
2444
2452
|
)),
|
|
2445
2453
|
/* @__PURE__ */ i(S2, { position: "bottom-right", visualizePitch: !0 }),
|
|
2446
|
-
l &&
|
|
2454
|
+
l && f && /* @__PURE__ */ i(
|
|
2447
2455
|
L2,
|
|
2448
2456
|
{
|
|
2449
2457
|
longitude: l.longitude,
|
|
@@ -2457,7 +2465,7 @@ const Wn = ({
|
|
|
2457
2465
|
}
|
|
2458
2466
|
) });
|
|
2459
2467
|
};
|
|
2460
|
-
|
|
2468
|
+
Kn.propTypes = {
|
|
2461
2469
|
initialView: e.shape({
|
|
2462
2470
|
latitude: e.number.isRequired,
|
|
2463
2471
|
longitude: e.number.isRequired,
|
|
@@ -2509,12 +2517,12 @@ const Un = "_mapContainer_b0pyr_3", Gn = {
|
|
|
2509
2517
|
title: Qn
|
|
2510
2518
|
}, Jn = ({ props: n }) => {
|
|
2511
2519
|
const { t: c } = F();
|
|
2512
|
-
return /* @__PURE__ */ i("div", { className: Ft.FeaturePopUp, children: n.map((s) => /* @__PURE__ */
|
|
2513
|
-
/* @__PURE__ */
|
|
2520
|
+
return /* @__PURE__ */ i("div", { className: Ft.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ m("p", { children: [
|
|
2521
|
+
/* @__PURE__ */ m("span", { className: Ft.title, children: [
|
|
2514
2522
|
/* @__PURE__ */ i(vt, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2515
2523
|
":"
|
|
2516
2524
|
] }),
|
|
2517
|
-
isNaN(s.value) ? /* @__PURE__ */ i(Ge, { children: c(s.value) }) : /* @__PURE__ */
|
|
2525
|
+
isNaN(s.value) ? /* @__PURE__ */ i(Ge, { children: c(s.value) }) : /* @__PURE__ */ m(Ge, { children: [
|
|
2518
2526
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2519
2527
|
" ",
|
|
2520
2528
|
c(s.unit)
|
|
@@ -2533,28 +2541,28 @@ const Un = "_mapContainer_b0pyr_3", Gn = {
|
|
|
2533
2541
|
layers: u = [],
|
|
2534
2542
|
popUpParams: g,
|
|
2535
2543
|
onClosePopUp: C,
|
|
2536
|
-
showTexts:
|
|
2544
|
+
showTexts: f,
|
|
2537
2545
|
hash: p = !1
|
|
2538
2546
|
}) => {
|
|
2539
|
-
const
|
|
2547
|
+
const y = ee();
|
|
2540
2548
|
return A(() => {
|
|
2541
|
-
if (
|
|
2542
|
-
const b =
|
|
2549
|
+
if (y.current) {
|
|
2550
|
+
const b = y.current.getMap();
|
|
2543
2551
|
b.getStyle().layers.map((_) => {
|
|
2544
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2552
|
+
_.type == "symbol" && _.id != "professionals" && (f ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
|
|
2545
2553
|
});
|
|
2546
2554
|
}
|
|
2547
|
-
}, [
|
|
2555
|
+
}, [f]), A(() => {
|
|
2548
2556
|
let b = new M2();
|
|
2549
2557
|
return rt.addProtocol("pmtiles", b.tile), () => {
|
|
2550
2558
|
rt.removeProtocol("pmtiles");
|
|
2551
2559
|
};
|
|
2552
|
-
}, []), /* @__PURE__ */ i("div", { className: `${Gn.mapContainer}`, style: o && o, children: /* @__PURE__ */
|
|
2560
|
+
}, []), /* @__PURE__ */ i("div", { className: `${Gn.mapContainer}`, style: o && o, children: /* @__PURE__ */ m(
|
|
2553
2561
|
D2,
|
|
2554
2562
|
{
|
|
2555
2563
|
mapLib: rt,
|
|
2556
2564
|
initialViewState: n,
|
|
2557
|
-
ref:
|
|
2565
|
+
ref: y,
|
|
2558
2566
|
hash: p,
|
|
2559
2567
|
maxZoom: c,
|
|
2560
2568
|
minZoom: s,
|
|
@@ -2660,7 +2668,7 @@ const ei = "_sectionBar_yf2vy_2", ti = "_leftContent_yf2vy_14", ni = "_textConta
|
|
|
2660
2668
|
borderTop: l = !1
|
|
2661
2669
|
}) => {
|
|
2662
2670
|
const { t: u } = F();
|
|
2663
|
-
return /* @__PURE__ */
|
|
2671
|
+
return /* @__PURE__ */ m(
|
|
2664
2672
|
"div",
|
|
2665
2673
|
{
|
|
2666
2674
|
className: be.sectionBar,
|
|
@@ -2669,9 +2677,9 @@ const ei = "_sectionBar_yf2vy_2", ti = "_leftContent_yf2vy_14", ni = "_textConta
|
|
|
2669
2677
|
borderTop: l ? "1px solid #000" : "0px"
|
|
2670
2678
|
},
|
|
2671
2679
|
children: [
|
|
2672
|
-
/* @__PURE__ */
|
|
2680
|
+
/* @__PURE__ */ m("div", { className: be.leftContent, children: [
|
|
2673
2681
|
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: be.icon }),
|
|
2674
|
-
/* @__PURE__ */
|
|
2682
|
+
/* @__PURE__ */ m("div", { className: be.textContainer, children: [
|
|
2675
2683
|
/* @__PURE__ */ i("div", { className: be.title, style: { color: d }, children: u(c) }),
|
|
2676
2684
|
s && /* @__PURE__ */ i("div", { className: be.subtitle, style: { color: a }, children: s })
|
|
2677
2685
|
] })
|
|
@@ -2722,7 +2730,7 @@ const ai = A2({
|
|
|
2722
2730
|
n.activeIndicatorUnit = c.payload;
|
|
2723
2731
|
}
|
|
2724
2732
|
}
|
|
2725
|
-
}), { setShowTexts: jr, setYear: Hr, setActiveIndicatorKey:
|
|
2733
|
+
}), { setShowTexts: jr, setYear: Hr, setActiveIndicatorKey: Wr, setActiveIndicatorType: Kr, setActiveIndicatorUnit: Ur } = ai.actions, li = "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", ci = "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", di = "_slider_1prh1_2", ui = "_playButton_1prh1_14", pi = "_sliderOpen_1prh1_25", hi = "_sliderResults_1prh1_29", Be = {
|
|
2726
2734
|
slider: di,
|
|
2727
2735
|
playButton: ui,
|
|
2728
2736
|
sliderOpen: pi,
|
|
@@ -2741,22 +2749,22 @@ const ai = A2({
|
|
|
2741
2749
|
console.log("year changed to ", u);
|
|
2742
2750
|
}
|
|
2743
2751
|
}) => {
|
|
2744
|
-
const g = t || ((
|
|
2752
|
+
const g = t || ((h, k) => {
|
|
2745
2753
|
const x = [];
|
|
2746
|
-
x.push({ label: "", value:
|
|
2747
|
-
const
|
|
2748
|
-
for (let
|
|
2749
|
-
x.push({ label: "", value:
|
|
2750
|
-
return x[x.length - 1].value !==
|
|
2751
|
-
})(s, r), [C,
|
|
2754
|
+
x.push({ label: "", value: h });
|
|
2755
|
+
const S = Math.ceil(h / 10) * 10;
|
|
2756
|
+
for (let $ = S; $ < k; $ += 10)
|
|
2757
|
+
x.push({ label: "", value: $ });
|
|
2758
|
+
return x[x.length - 1].value !== k && x.push({ label: "", value: k }), x;
|
|
2759
|
+
})(s, r), [C, f] = I(c);
|
|
2752
2760
|
A(() => {
|
|
2753
|
-
|
|
2761
|
+
f(c);
|
|
2754
2762
|
}, [c]);
|
|
2755
|
-
const p = (
|
|
2756
|
-
|
|
2757
|
-
}, [
|
|
2763
|
+
const p = (h, k) => {
|
|
2764
|
+
f(k), l(k);
|
|
2765
|
+
}, [y, b] = I(!1);
|
|
2758
2766
|
A(() => {
|
|
2759
|
-
c && console.log("defaultYear changed:", c), c &&
|
|
2767
|
+
c && console.log("defaultYear changed:", c), c && f(c);
|
|
2760
2768
|
}, [c]), A(() => {
|
|
2761
2769
|
a === !1 && b(!1);
|
|
2762
2770
|
}, [a]);
|
|
@@ -2765,28 +2773,28 @@ const ai = A2({
|
|
|
2765
2773
|
}, _ = () => {
|
|
2766
2774
|
b(!1);
|
|
2767
2775
|
};
|
|
2768
|
-
((
|
|
2769
|
-
const
|
|
2776
|
+
((h, k, x = []) => {
|
|
2777
|
+
const S = ee();
|
|
2770
2778
|
A(() => {
|
|
2771
|
-
|
|
2772
|
-
}, [
|
|
2773
|
-
function
|
|
2774
|
-
|
|
2779
|
+
S.current = h;
|
|
2780
|
+
}, [h]), A(() => {
|
|
2781
|
+
function $() {
|
|
2782
|
+
S.current();
|
|
2775
2783
|
}
|
|
2776
2784
|
{
|
|
2777
|
-
let
|
|
2778
|
-
return () => clearInterval(
|
|
2785
|
+
let w = setInterval($, k);
|
|
2786
|
+
return () => clearInterval(w);
|
|
2779
2787
|
}
|
|
2780
|
-
}, [
|
|
2788
|
+
}, [k, ...x]);
|
|
2781
2789
|
})(
|
|
2782
2790
|
() => {
|
|
2783
|
-
|
|
2784
|
-
const
|
|
2785
|
-
return
|
|
2791
|
+
y && f((h) => {
|
|
2792
|
+
const k = h + 1;
|
|
2793
|
+
return k > r ? (l(s), s) : (l(k), k);
|
|
2786
2794
|
});
|
|
2787
2795
|
},
|
|
2788
2796
|
1e3,
|
|
2789
|
-
[s, r,
|
|
2797
|
+
[s, r, y]
|
|
2790
2798
|
);
|
|
2791
2799
|
const L = R2({
|
|
2792
2800
|
palette: {
|
|
@@ -2811,7 +2819,7 @@ const ai = A2({
|
|
|
2811
2819
|
}
|
|
2812
2820
|
}
|
|
2813
2821
|
});
|
|
2814
|
-
return /* @__PURE__ */ i(E2, { theme: L, children: /* @__PURE__ */
|
|
2822
|
+
return /* @__PURE__ */ i(E2, { theme: L, children: /* @__PURE__ */ m(
|
|
2815
2823
|
I2,
|
|
2816
2824
|
{
|
|
2817
2825
|
sx: { width: 400 },
|
|
@@ -2835,8 +2843,8 @@ const ai = A2({
|
|
|
2835
2843
|
}
|
|
2836
2844
|
),
|
|
2837
2845
|
r,
|
|
2838
|
-
!
|
|
2839
|
-
|
|
2846
|
+
!y && /* @__PURE__ */ i("button", { className: Be.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: li, alt: "Play" }) }),
|
|
2847
|
+
y && /* @__PURE__ */ i("button", { className: Be.playButton, onClick: _, children: /* @__PURE__ */ i("img", { src: ci, alt: "Pause" }) })
|
|
2840
2848
|
]
|
|
2841
2849
|
}
|
|
2842
2850
|
) });
|
|
@@ -2950,7 +2958,7 @@ const xi = "_elementSelector_1ox68_2", wi = "_header_1ox68_14", Ni = "_nameDateC
|
|
|
2950
2958
|
break: "_break_s4s4h_73",
|
|
2951
2959
|
moreInfoContainer: Ri,
|
|
2952
2960
|
moreInfo: Ii
|
|
2953
|
-
}, Ei = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", qi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Pi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Editar'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203792'%3e%3cpath%20id='Vector%20530'%20d='M22.469%2010.8343L19.54%207.90531C19.3447%207.71005%2019.0281%207.71005%2018.8329%207.90531L8.39131%2018.3469C8.31762%2018.4206%208.2688%2018.5154%208.25167%2018.6182L7.66586%2022.1331C7.60946%2022.4715%207.90285%2022.7649%208.24126%2022.7085L11.7561%2022.1227C11.8589%2022.1055%2011.9538%2022.0567%2012.0275%2021.983L22.469%2011.5415C22.6643%2011.3462%2022.6643%2011.0296%2022.469%2010.8343Z'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20531'%20d='M9.00391%2017.7334L12.6401%2021.3695'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20614'%20d='M19.4292%207.55176L9.24805%2017.733L12.6418%2021.1267L22.823%2010.9455L19.4292%207.55176Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Hi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206729'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='i'%20d='M14%209.008C14%208.708%2014.102%208.468%2014.306%208.288C14.51%208.096%2014.78%208%2015.116%208C15.452%208%2015.722%208.096%2015.926%208.288C16.13%208.468%2016.232%208.708%2016.232%209.008C16.232%209.308%2016.13%209.554%2015.926%209.746C15.722%209.926%2015.452%2010.016%2015.116%2010.016C14.78%2010.016%2014.51%209.926%2014.306%209.746C14.102%209.554%2014%209.308%2014%209.008ZM15.926%2011.906V21.788H14.288V11.906H15.926Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e";
|
|
2961
|
+
}, Ei = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", qi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Pi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Editar'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203792'%3e%3cpath%20id='Vector%20530'%20d='M22.469%2010.8343L19.54%207.90531C19.3447%207.71005%2019.0281%207.71005%2018.8329%207.90531L8.39131%2018.3469C8.31762%2018.4206%208.2688%2018.5154%208.25167%2018.6182L7.66586%2022.1331C7.60946%2022.4715%207.90285%2022.7649%208.24126%2022.7085L11.7561%2022.1227C11.8589%2022.1055%2011.9538%2022.0567%2012.0275%2021.983L22.469%2011.5415C22.6643%2011.3462%2022.6643%2011.0296%2022.469%2010.8343Z'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20531'%20d='M9.00391%2017.7334L12.6401%2021.3695'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20614'%20d='M19.4292%207.55176L9.24805%2017.733L12.6418%2021.1267L22.823%2010.9455L19.4292%207.55176Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Hi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206729'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='i'%20d='M14%209.008C14%208.708%2014.102%208.468%2014.306%208.288C14.51%208.096%2014.78%208%2015.116%208C15.452%208%2015.722%208.096%2015.926%208.288C16.13%208.468%2016.232%208.708%2016.232%209.008C16.232%209.308%2016.13%209.554%2015.926%209.746C15.722%209.926%2015.452%2010.016%2015.116%2010.016C14.78%2010.016%2014.51%209.926%2014.306%209.746C14.102%209.554%2014%209.308%2014%209.008ZM15.926%2011.906V21.788H14.288V11.906H15.926Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e";
|
|
2954
2962
|
var At;
|
|
2955
2963
|
function bt() {
|
|
2956
2964
|
return bt = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -2961,7 +2969,7 @@ function bt() {
|
|
|
2961
2969
|
return n;
|
|
2962
2970
|
}, bt.apply(null, arguments);
|
|
2963
2971
|
}
|
|
2964
|
-
var
|
|
2972
|
+
var Wi = function(c) {
|
|
2965
2973
|
return /* @__PURE__ */ Me.createElement("svg", bt({
|
|
2966
2974
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2967
2975
|
width: 26,
|
|
@@ -2975,7 +2983,7 @@ var Ki = function(c) {
|
|
|
2975
2983
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2976
2984
|
}))));
|
|
2977
2985
|
};
|
|
2978
|
-
const
|
|
2986
|
+
const Ki = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", l2 = ({
|
|
2979
2987
|
listelement: n,
|
|
2980
2988
|
onClickElement: c,
|
|
2981
2989
|
isActive: s,
|
|
@@ -2988,24 +2996,24 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2988
2996
|
defaultTooltip: u,
|
|
2989
2997
|
showEye: g = !0
|
|
2990
2998
|
}) => {
|
|
2991
|
-
const { name: C, created_at:
|
|
2999
|
+
const { name: C, created_at: f, id: p, isBeingProcessed: y } = n, [b, v] = I(!1), { t: _ } = F();
|
|
2992
3000
|
A(() => {
|
|
2993
3001
|
console.log("elementButtons: ", a);
|
|
2994
3002
|
}, [a]);
|
|
2995
3003
|
const N = a && a.edit && !n.is_default && !n.is_baseline, L = a && a.trash && !n.is_default && !n.is_baseline;
|
|
2996
|
-
return /* @__PURE__ */
|
|
3004
|
+
return /* @__PURE__ */ m(
|
|
2997
3005
|
"div",
|
|
2998
3006
|
{
|
|
2999
3007
|
className: se.listElement,
|
|
3000
3008
|
style: { borderBottom: `1px solid ${t}` },
|
|
3001
3009
|
children: [
|
|
3002
|
-
/* @__PURE__ */ i("div", { className: se.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((
|
|
3010
|
+
/* @__PURE__ */ i("div", { className: se.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((h) => h === "name" ? /* @__PURE__ */ i("div", { className: se.elementNameContainer, children: /* @__PURE__ */ m(
|
|
3003
3011
|
"div",
|
|
3004
3012
|
{
|
|
3005
3013
|
className: `${se.elementName} ${g && se.nameAndEye}`,
|
|
3006
3014
|
children: [
|
|
3007
3015
|
g && (s ? /* @__PURE__ */ i(
|
|
3008
|
-
|
|
3016
|
+
Wi,
|
|
3009
3017
|
{
|
|
3010
3018
|
style: { color: r, marginRight: 9 }
|
|
3011
3019
|
}
|
|
@@ -3013,26 +3021,26 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3013
3021
|
"img",
|
|
3014
3022
|
{
|
|
3015
3023
|
style: { marginRight: 9 },
|
|
3016
|
-
src:
|
|
3024
|
+
src: Ki,
|
|
3017
3025
|
alt: "eye"
|
|
3018
3026
|
}
|
|
3019
3027
|
)),
|
|
3020
3028
|
/* @__PURE__ */ i("span", { style: { color: s ? r : t }, children: C })
|
|
3021
3029
|
]
|
|
3022
3030
|
}
|
|
3023
|
-
) }) :
|
|
3024
|
-
/* @__PURE__ */
|
|
3025
|
-
n.processing && /* @__PURE__ */
|
|
3031
|
+
) }) : h == "data" ? /* @__PURE__ */ i("div", { className: se.elementDate, children: f ? new Date(f).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: se.elementDate, children: n[h] })) }),
|
|
3032
|
+
/* @__PURE__ */ m("div", { className: se.elementButtons, children: [
|
|
3033
|
+
n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3026
3034
|
/* @__PURE__ */ i("img", { src: Pi }),
|
|
3027
3035
|
/* @__PURE__ */ i(ue, { text: l, position: "left" })
|
|
3028
3036
|
] }),
|
|
3029
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
3037
|
+
a.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3030
3038
|
/* @__PURE__ */ i(
|
|
3031
3039
|
"button",
|
|
3032
3040
|
{
|
|
3033
3041
|
onClick: () => a.filter.onclick(n),
|
|
3034
3042
|
disabled: a.filter.disabled || !1,
|
|
3035
|
-
children: /* @__PURE__ */ i("img", { src:
|
|
3043
|
+
children: /* @__PURE__ */ i("img", { src: zi })
|
|
3036
3044
|
}
|
|
3037
3045
|
),
|
|
3038
3046
|
/* @__PURE__ */ i(
|
|
@@ -3043,18 +3051,18 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3043
3051
|
}
|
|
3044
3052
|
)
|
|
3045
3053
|
] }),
|
|
3046
|
-
a.copy && !n.is_default && /* @__PURE__ */
|
|
3054
|
+
a.copy && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3047
3055
|
/* @__PURE__ */ i(
|
|
3048
3056
|
"button",
|
|
3049
3057
|
{
|
|
3050
3058
|
onClick: () => a.copy.onclick(n),
|
|
3051
3059
|
disabled: a.copy.disabled || !1,
|
|
3052
|
-
children: /* @__PURE__ */ i("img", { src:
|
|
3060
|
+
children: /* @__PURE__ */ i("img", { src: qi })
|
|
3053
3061
|
}
|
|
3054
3062
|
),
|
|
3055
3063
|
/* @__PURE__ */ i(ue, { text: a.copy.tooltiptext, position: "left" })
|
|
3056
3064
|
] }),
|
|
3057
|
-
N && /* @__PURE__ */
|
|
3065
|
+
N && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3058
3066
|
/* @__PURE__ */ i(
|
|
3059
3067
|
"button",
|
|
3060
3068
|
{
|
|
@@ -3065,7 +3073,7 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3065
3073
|
),
|
|
3066
3074
|
/* @__PURE__ */ i(ue, { text: a.edit.tooltiptext, position: "left" })
|
|
3067
3075
|
] }),
|
|
3068
|
-
a.info && n.is_default && /* @__PURE__ */
|
|
3076
|
+
a.info && n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3069
3077
|
/* @__PURE__ */ i(
|
|
3070
3078
|
"button",
|
|
3071
3079
|
{
|
|
@@ -3076,7 +3084,7 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3076
3084
|
),
|
|
3077
3085
|
/* @__PURE__ */ i(ue, { text: a.info.tooltiptext, position: "left" })
|
|
3078
3086
|
] }),
|
|
3079
|
-
L && /* @__PURE__ */
|
|
3087
|
+
L && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3080
3088
|
/* @__PURE__ */ i(
|
|
3081
3089
|
"button",
|
|
3082
3090
|
{
|
|
@@ -3093,14 +3101,14 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3093
3101
|
}
|
|
3094
3102
|
)
|
|
3095
3103
|
] }),
|
|
3096
|
-
n.is_default && /* @__PURE__ */
|
|
3104
|
+
n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3097
3105
|
/* @__PURE__ */ i("img", { src: Zi }),
|
|
3098
3106
|
/* @__PURE__ */ i(ue, { text: u, position: "left" })
|
|
3099
3107
|
] })
|
|
3100
3108
|
] }),
|
|
3101
3109
|
o && /* @__PURE__ */ i("div", { className: se.break }),
|
|
3102
|
-
o && /* @__PURE__ */
|
|
3103
|
-
/* @__PURE__ */
|
|
3110
|
+
o && /* @__PURE__ */ m("div", { className: se.moreInfoContainer, children: [
|
|
3111
|
+
/* @__PURE__ */ m(
|
|
3104
3112
|
"div",
|
|
3105
3113
|
{
|
|
3106
3114
|
className: se.moreInfo,
|
|
@@ -3162,7 +3170,7 @@ const Ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3162
3170
|
containerStyles: o = {},
|
|
3163
3171
|
newElementButton: d,
|
|
3164
3172
|
//{label: 'text', onClick: function(), disabled}/null
|
|
3165
|
-
onClickElement: a = (
|
|
3173
|
+
onClickElement: a = (y) => console.log(`OnCLickElement: ${y}`),
|
|
3166
3174
|
columns: l,
|
|
3167
3175
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
3168
3176
|
elementButtons: u,
|
|
@@ -3171,68 +3179,68 @@ const Ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3171
3179
|
//{label: 'x'}
|
|
3172
3180
|
processTooltip: C,
|
|
3173
3181
|
//texto para el tooltip del simbolo "En proceso"
|
|
3174
|
-
defaultTooltip:
|
|
3182
|
+
defaultTooltip: f,
|
|
3175
3183
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
3176
3184
|
showEye: p = !0
|
|
3177
3185
|
}) => {
|
|
3178
|
-
const { t:
|
|
3186
|
+
const { t: y } = F(), [b, v] = I(n);
|
|
3179
3187
|
A(() => {
|
|
3180
3188
|
n && v(n);
|
|
3181
3189
|
}, [n]);
|
|
3182
|
-
const _ = (
|
|
3183
|
-
if (typeof
|
|
3184
|
-
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(
|
|
3185
|
-
return new Date(
|
|
3186
|
-
const
|
|
3187
|
-
if (
|
|
3188
|
-
return /* @__PURE__ */ new Date(`${
|
|
3189
|
-
const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(
|
|
3190
|
+
const _ = (h) => {
|
|
3191
|
+
if (typeof h != "string") return null;
|
|
3192
|
+
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(h))
|
|
3193
|
+
return new Date(h);
|
|
3194
|
+
const k = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(h);
|
|
3195
|
+
if (k)
|
|
3196
|
+
return /* @__PURE__ */ new Date(`${k[3]}-${k[2]}-${k[1]}`);
|
|
3197
|
+
const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(h);
|
|
3190
3198
|
return x ? parseInt(x[1]) > 12 ? /* @__PURE__ */ new Date(`${x[3]}-${x[2]}-${x[1]}`) : /* @__PURE__ */ new Date(`${x[3]}-${x[1]}-${x[2]}`) : null;
|
|
3191
|
-
}, N = (
|
|
3199
|
+
}, N = (h) => _(h) !== null, L = (h) => {
|
|
3192
3200
|
if (!b || b.length === 0) return;
|
|
3193
|
-
let
|
|
3194
|
-
const x =
|
|
3195
|
-
|
|
3196
|
-
const
|
|
3197
|
-
if (
|
|
3198
|
-
if (
|
|
3199
|
-
if (
|
|
3200
|
-
if (
|
|
3201
|
-
const R = _(
|
|
3202
|
-
return !R && !
|
|
3201
|
+
let k = [...b];
|
|
3202
|
+
const x = k.find(($) => $[h] !== null && $[h] !== void 0), S = x ? N(x[h]) : !1;
|
|
3203
|
+
k.sort(($, w) => {
|
|
3204
|
+
const T = $[h], V = w[h];
|
|
3205
|
+
if (T == null && V == null) return 0;
|
|
3206
|
+
if (T == null) return 1;
|
|
3207
|
+
if (V == null) return -1;
|
|
3208
|
+
if (S) {
|
|
3209
|
+
const R = _(T), P = _(V);
|
|
3210
|
+
return !R && !P ? 0 : R ? P ? R - P : -1 : 1;
|
|
3203
3211
|
}
|
|
3204
|
-
const B = String(
|
|
3212
|
+
const B = String(T || "").trim(), O = String(V || "").trim();
|
|
3205
3213
|
return B.localeCompare(O);
|
|
3206
|
-
}), v(
|
|
3214
|
+
}), v(k);
|
|
3207
3215
|
};
|
|
3208
|
-
return /* @__PURE__ */
|
|
3216
|
+
return /* @__PURE__ */ m(
|
|
3209
3217
|
"div",
|
|
3210
3218
|
{
|
|
3211
3219
|
className: ce.elementSelector,
|
|
3212
3220
|
style: { color: s, ...o },
|
|
3213
3221
|
children: [
|
|
3214
|
-
/* @__PURE__ */
|
|
3222
|
+
/* @__PURE__ */ m(
|
|
3215
3223
|
"div",
|
|
3216
3224
|
{
|
|
3217
3225
|
className: ce.header,
|
|
3218
3226
|
style: { borderBottom: `1px solid ${s}` },
|
|
3219
3227
|
children: [
|
|
3220
|
-
/* @__PURE__ */ i("div", { className: ce.nameDateContainer, children: Object.keys(l).map((
|
|
3221
|
-
/* @__PURE__ */ i("span", { children:
|
|
3228
|
+
/* @__PURE__ */ i("div", { className: ce.nameDateContainer, children: Object.keys(l).map((h) => h === "name" ? /* @__PURE__ */ i("div", { className: ce.elementName, children: /* @__PURE__ */ m("button", { onClick: () => L("name"), children: [
|
|
3229
|
+
/* @__PURE__ */ i("span", { children: y(l.name) }),
|
|
3222
3230
|
/* @__PURE__ */ i("img", { src: Ot, alt: "order arrow" })
|
|
3223
|
-
] }) },
|
|
3224
|
-
/* @__PURE__ */ i("span", { children:
|
|
3231
|
+
] }) }, h) : h === "data" ? /* @__PURE__ */ i("div", { className: ce.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => L("created_at"), children: [
|
|
3232
|
+
/* @__PURE__ */ i("span", { children: y(l.data) }),
|
|
3225
3233
|
/* @__PURE__ */ i("img", { src: Ot, alt: "order arrow" })
|
|
3226
|
-
] }) },
|
|
3234
|
+
] }) }, h) : /* @__PURE__ */ i("div", { className: ce.elementDate, children: /* @__PURE__ */ i("span", { children: y(l[h]) }) }, h)) }),
|
|
3227
3235
|
/* @__PURE__ */ i("div", { className: ce.buttonsContainer })
|
|
3228
3236
|
]
|
|
3229
3237
|
}
|
|
3230
3238
|
),
|
|
3231
|
-
/* @__PURE__ */ i("div", { className: ce.elementListContainer, children: b && b.length > 0 && b.map((
|
|
3239
|
+
/* @__PURE__ */ i("div", { className: ce.elementListContainer, children: b && b.length > 0 && b.map((h) => /* @__PURE__ */ i(
|
|
3232
3240
|
l2,
|
|
3233
3241
|
{
|
|
3234
|
-
isActive: c ==
|
|
3235
|
-
listelement:
|
|
3242
|
+
isActive: c == h.id,
|
|
3243
|
+
listelement: h,
|
|
3236
3244
|
fontColor: s,
|
|
3237
3245
|
activeColor: r,
|
|
3238
3246
|
onClickElement: a,
|
|
@@ -3240,10 +3248,10 @@ const Ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3240
3248
|
elementButtons: u,
|
|
3241
3249
|
moreInfo: g,
|
|
3242
3250
|
processTooltip: C,
|
|
3243
|
-
defaultTooltip:
|
|
3251
|
+
defaultTooltip: f,
|
|
3244
3252
|
showEye: p
|
|
3245
3253
|
},
|
|
3246
|
-
`elementKey${
|
|
3254
|
+
`elementKey${h.id}`
|
|
3247
3255
|
)) }),
|
|
3248
3256
|
d && /* @__PURE__ */ i("div", { className: ce.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
3249
3257
|
Xe,
|
|
@@ -3252,7 +3260,7 @@ const Ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3252
3260
|
onClick: d.onClick,
|
|
3253
3261
|
borderColor: "grey",
|
|
3254
3262
|
disabled: d.disabled || !1,
|
|
3255
|
-
children:
|
|
3263
|
+
children: y(d.label)
|
|
3256
3264
|
}
|
|
3257
3265
|
) })
|
|
3258
3266
|
]
|
|
@@ -3364,9 +3372,9 @@ const It = {
|
|
|
3364
3372
|
CHANGE: "change"
|
|
3365
3373
|
}, Et = {
|
|
3366
3374
|
all: "all"
|
|
3367
|
-
}, h2 =
|
|
3375
|
+
}, h2 = q.createContext(null);
|
|
3368
3376
|
h2.displayName = "HookFormContext";
|
|
3369
|
-
const kt = () =>
|
|
3377
|
+
const kt = () => q.useContext(h2);
|
|
3370
3378
|
var ls = (n, c, s, r = !0) => {
|
|
3371
3379
|
const t = {
|
|
3372
3380
|
defaultValues: c._defaultValues
|
|
@@ -3382,7 +3390,7 @@ var ls = (n, c, s, r = !0) => {
|
|
|
3382
3390
|
};
|
|
3383
3391
|
const m2 = typeof window < "u" ? Me.useLayoutEffect : Me.useEffect;
|
|
3384
3392
|
function cs(n) {
|
|
3385
|
-
const c = kt(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] =
|
|
3393
|
+
const c = kt(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] = q.useState(s._formState), l = q.useRef({
|
|
3386
3394
|
isDirty: !1,
|
|
3387
3395
|
isLoading: !1,
|
|
3388
3396
|
dirtyFields: !1,
|
|
@@ -3402,13 +3410,13 @@ function cs(n) {
|
|
|
3402
3410
|
...u
|
|
3403
3411
|
});
|
|
3404
3412
|
}
|
|
3405
|
-
}), [t, r, o]),
|
|
3413
|
+
}), [t, r, o]), q.useEffect(() => {
|
|
3406
3414
|
l.current.isValid && s._setValid(!0);
|
|
3407
|
-
}, [s]),
|
|
3415
|
+
}, [s]), q.useMemo(() => ls(d, s, l.current, !1), [d, s]);
|
|
3408
3416
|
}
|
|
3409
3417
|
var ds = (n) => typeof n == "string", us = (n, c, s, r, t) => ds(n) ? J(s, n, t) : Array.isArray(n) ? n.map((o) => J(s, o)) : s;
|
|
3410
3418
|
function ps(n) {
|
|
3411
|
-
const c = kt(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a =
|
|
3419
|
+
const c = kt(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a = q.useRef(t), [l, u] = q.useState(s._getWatch(r, a.current));
|
|
3412
3420
|
return m2(() => s._subscribe({
|
|
3413
3421
|
name: r,
|
|
3414
3422
|
formState: {
|
|
@@ -3416,7 +3424,7 @@ function ps(n) {
|
|
|
3416
3424
|
},
|
|
3417
3425
|
exact: d,
|
|
3418
3426
|
callback: (g) => !o && u(us(r, s._names, g.values || s._formValues, !1, a.current))
|
|
3419
|
-
}), [r, s, o, d]),
|
|
3427
|
+
}), [r, s, o, d]), q.useEffect(() => s._removeUnmounted()), l;
|
|
3420
3428
|
}
|
|
3421
3429
|
function hs(n) {
|
|
3422
3430
|
const c = kt(), { name: s, disabled: r, control: t = c.control, shouldUnregister: o } = n, d = ss(t._names.array, s), a = ps({
|
|
@@ -3428,11 +3436,11 @@ function hs(n) {
|
|
|
3428
3436
|
control: t,
|
|
3429
3437
|
name: s,
|
|
3430
3438
|
exact: !0
|
|
3431
|
-
}), u =
|
|
3439
|
+
}), u = q.useRef(n), g = q.useRef(t.register(s, {
|
|
3432
3440
|
...n.rules,
|
|
3433
3441
|
value: a,
|
|
3434
3442
|
...ct(n.disabled) ? { disabled: n.disabled } : {}
|
|
3435
|
-
})), C =
|
|
3443
|
+
})), C = q.useMemo(() => Object.defineProperties({}, {
|
|
3436
3444
|
invalid: {
|
|
3437
3445
|
enumerable: !0,
|
|
3438
3446
|
get: () => !!J(l.errors, s)
|
|
@@ -3453,19 +3461,19 @@ function hs(n) {
|
|
|
3453
3461
|
enumerable: !0,
|
|
3454
3462
|
get: () => J(l.errors, s)
|
|
3455
3463
|
}
|
|
3456
|
-
}), [l, s]),
|
|
3464
|
+
}), [l, s]), f = q.useCallback((v) => g.current.onChange({
|
|
3457
3465
|
target: {
|
|
3458
3466
|
value: ns(v),
|
|
3459
3467
|
name: s
|
|
3460
3468
|
},
|
|
3461
3469
|
type: It.CHANGE
|
|
3462
|
-
}), [s]), p =
|
|
3470
|
+
}), [s]), p = q.useCallback(() => g.current.onBlur({
|
|
3463
3471
|
target: {
|
|
3464
3472
|
value: J(t._formValues, s),
|
|
3465
3473
|
name: s
|
|
3466
3474
|
},
|
|
3467
3475
|
type: It.BLUR
|
|
3468
|
-
}), [s, t._formValues]),
|
|
3476
|
+
}), [s, t._formValues]), y = q.useCallback((v) => {
|
|
3469
3477
|
const _ = J(t._fields, s);
|
|
3470
3478
|
_ && v && (_._f.ref = {
|
|
3471
3479
|
focus: () => v.focus && v.focus(),
|
|
@@ -3473,23 +3481,23 @@ function hs(n) {
|
|
|
3473
3481
|
setCustomValidity: (N) => v.setCustomValidity(N),
|
|
3474
3482
|
reportValidity: () => v.reportValidity()
|
|
3475
3483
|
});
|
|
3476
|
-
}, [t._fields, s]), b =
|
|
3484
|
+
}, [t._fields, s]), b = q.useMemo(() => ({
|
|
3477
3485
|
name: s,
|
|
3478
3486
|
value: a,
|
|
3479
3487
|
...ct(r) || l.disabled ? { disabled: l.disabled || r } : {},
|
|
3480
|
-
onChange:
|
|
3488
|
+
onChange: f,
|
|
3481
3489
|
onBlur: p,
|
|
3482
|
-
ref:
|
|
3483
|
-
}), [s, r, l.disabled,
|
|
3484
|
-
return
|
|
3490
|
+
ref: y
|
|
3491
|
+
}), [s, r, l.disabled, f, p, y, a]);
|
|
3492
|
+
return q.useEffect(() => {
|
|
3485
3493
|
const v = t._options.shouldUnregister || o;
|
|
3486
3494
|
t.register(s, {
|
|
3487
3495
|
...u.current.rules,
|
|
3488
3496
|
...ct(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3489
3497
|
});
|
|
3490
3498
|
const _ = (N, L) => {
|
|
3491
|
-
const
|
|
3492
|
-
|
|
3499
|
+
const h = J(t._fields, N);
|
|
3500
|
+
h && h._f && (h._f.mount = L);
|
|
3493
3501
|
};
|
|
3494
3502
|
if (_(s, !0), v) {
|
|
3495
3503
|
const N = d2(J(t._options.defaultValues, s));
|
|
@@ -3498,12 +3506,12 @@ function hs(n) {
|
|
|
3498
3506
|
return !d && t.register(s), () => {
|
|
3499
3507
|
(d ? v && !t._state.action : v) ? t.unregister(s) : _(s, !1);
|
|
3500
3508
|
};
|
|
3501
|
-
}, [s, t, d, o]),
|
|
3509
|
+
}, [s, t, d, o]), q.useEffect(() => {
|
|
3502
3510
|
t._setDisabledField({
|
|
3503
3511
|
disabled: r,
|
|
3504
3512
|
name: s
|
|
3505
3513
|
});
|
|
3506
|
-
}, [r, s, t]),
|
|
3514
|
+
}, [r, s, t]), q.useMemo(() => ({
|
|
3507
3515
|
field: b,
|
|
3508
3516
|
formState: l,
|
|
3509
3517
|
fieldState: C
|
|
@@ -3531,9 +3539,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3531
3539
|
children: n ? r(n) : ""
|
|
3532
3540
|
}
|
|
3533
3541
|
);
|
|
3534
|
-
}, vs = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205763'%3e%3cpath%20id='Vector'%20d='M12.95%200C7.659%200%202.84899%202.3634%200.0832465%206.31776C-0.0277488%206.47963%20-0.0277488%206.68776%200.0832465%206.84962C2.84439%2010.804%207.65437%2013.1628%2012.95%2013.1628C18.2456%2013.1628%2023.0556%2010.804%2025.8168%206.84962C25.9278%206.68775%2025.9278%206.47963%2025.8168%206.31776C23.051%202.36339%2018.241%200%2012.95%200ZM12.95%2010.8132C10.619%2010.8132%208.71812%208.91238%208.71812%206.58139C8.71812%204.25041%2010.619%202.34951%2012.95%202.34951C15.281%202.34951%2017.1819%204.25038%2017.1819%206.58139C17.1819%208.91241%2015.281%2010.8132%2012.95%2010.8132Z'%20fill='white'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%209.88816C14.7777%209.88816%2016.2583%208.40763%2016.2583%206.58129C16.2583%204.75495%2014.7777%203.27441%2012.9514%203.27441C11.1251%203.27441%209.64453%204.75495%209.64453%206.58129C9.64453%208.40763%2011.1251%209.88816%2012.9514%209.88816Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", xs = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205995'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e",
|
|
3542
|
+
}, vs = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205763'%3e%3cpath%20id='Vector'%20d='M12.95%200C7.659%200%202.84899%202.3634%200.0832465%206.31776C-0.0277488%206.47963%20-0.0277488%206.68776%200.0832465%206.84962C2.84439%2010.804%207.65437%2013.1628%2012.95%2013.1628C18.2456%2013.1628%2023.0556%2010.804%2025.8168%206.84962C25.9278%206.68775%2025.9278%206.47963%2025.8168%206.31776C23.051%202.36339%2018.241%200%2012.95%200ZM12.95%2010.8132C10.619%2010.8132%208.71812%208.91238%208.71812%206.58139C8.71812%204.25041%2010.619%202.34951%2012.95%202.34951C15.281%202.34951%2017.1819%204.25038%2017.1819%206.58139C17.1819%208.91241%2015.281%2010.8132%2012.95%2010.8132Z'%20fill='white'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%209.88816C14.7777%209.88816%2016.2583%208.40763%2016.2583%206.58129C16.2583%204.75495%2014.7777%203.27441%2012.9514%203.27441C11.1251%203.27441%209.64453%204.75495%209.64453%206.58129C9.64453%208.40763%2011.1251%209.88816%2012.9514%209.88816Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", xs = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205995'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", qe = Wt((n) => ({
|
|
3535
3543
|
errorColor: "red"
|
|
3536
|
-
})),
|
|
3544
|
+
})), qt = ({ input: n, reactHookFormInstance: c }) => {
|
|
3537
3545
|
const {
|
|
3538
3546
|
code: s,
|
|
3539
3547
|
type: r,
|
|
@@ -3547,35 +3555,35 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3547
3555
|
onClickForgotPass: C = () => {
|
|
3548
3556
|
console.log("Click on forgot password");
|
|
3549
3557
|
},
|
|
3550
|
-
forgotPassLabel:
|
|
3558
|
+
forgotPassLabel: f = "forgot-password",
|
|
3551
3559
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
3552
3560
|
onChangeExtraFunction: p = () => {
|
|
3553
3561
|
}
|
|
3554
|
-
} = n, { t:
|
|
3562
|
+
} = n, { t: y } = F(), { control: b, trigger: v, clearErrors: _ } = c, { errorColor: N } = qe((x) => x), [L, h] = I(!1);
|
|
3555
3563
|
ee(d);
|
|
3556
|
-
const
|
|
3564
|
+
const k = () => r ? r === "password" && L ? "text" : r : "text";
|
|
3557
3565
|
return /* @__PURE__ */ i(
|
|
3558
3566
|
Ie,
|
|
3559
3567
|
{
|
|
3560
3568
|
name: s,
|
|
3561
3569
|
control: b,
|
|
3562
3570
|
rules: {
|
|
3563
|
-
required: d ? `${
|
|
3571
|
+
required: d ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3564
3572
|
maxLength: o || void 0,
|
|
3565
3573
|
validate: a || void 0
|
|
3566
3574
|
},
|
|
3567
|
-
render: ({ field: x, fieldState:
|
|
3568
|
-
var
|
|
3569
|
-
const { onChange:
|
|
3570
|
-
|
|
3575
|
+
render: ({ field: x, fieldState: S }) => {
|
|
3576
|
+
var V;
|
|
3577
|
+
const { onChange: $, ...w } = x, T = (B) => {
|
|
3578
|
+
$(B), p && p(B);
|
|
3571
3579
|
};
|
|
3572
|
-
return /* @__PURE__ */
|
|
3573
|
-
/* @__PURE__ */
|
|
3574
|
-
|
|
3580
|
+
return /* @__PURE__ */ m("div", { className: Fe.textInputContainer, children: [
|
|
3581
|
+
/* @__PURE__ */ m("h3", { className: Fe.labelContainer, children: [
|
|
3582
|
+
y(t),
|
|
3575
3583
|
" ",
|
|
3576
|
-
d && /* @__PURE__ */ i("label", { style: { color:
|
|
3584
|
+
d && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3577
3585
|
] }),
|
|
3578
|
-
/* @__PURE__ */
|
|
3586
|
+
/* @__PURE__ */ m(
|
|
3579
3587
|
"div",
|
|
3580
3588
|
{
|
|
3581
3589
|
style: { position: "relative", width: g },
|
|
@@ -3584,24 +3592,24 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3584
3592
|
/* @__PURE__ */ i(
|
|
3585
3593
|
"input",
|
|
3586
3594
|
{
|
|
3587
|
-
...
|
|
3588
|
-
type:
|
|
3589
|
-
onChange:
|
|
3590
|
-
placeholder: l ?
|
|
3595
|
+
...w,
|
|
3596
|
+
type: k(),
|
|
3597
|
+
onChange: T,
|
|
3598
|
+
placeholder: l ? y(l) : "",
|
|
3591
3599
|
maxLength: o || void 0
|
|
3592
3600
|
}
|
|
3593
3601
|
),
|
|
3594
3602
|
r == "password" && /* @__PURE__ */ i(
|
|
3595
3603
|
"button",
|
|
3596
3604
|
{
|
|
3597
|
-
onClick: () =>
|
|
3605
|
+
onClick: () => h(!L),
|
|
3598
3606
|
type: "button",
|
|
3599
3607
|
className: Fe.showPasswordButton,
|
|
3600
3608
|
children: /* @__PURE__ */ i(
|
|
3601
3609
|
"img",
|
|
3602
3610
|
{
|
|
3603
3611
|
src: L ? xs : vs,
|
|
3604
|
-
alt:
|
|
3612
|
+
alt: y("show-password")
|
|
3605
3613
|
}
|
|
3606
3614
|
)
|
|
3607
3615
|
}
|
|
@@ -3609,11 +3617,11 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3609
3617
|
]
|
|
3610
3618
|
}
|
|
3611
3619
|
),
|
|
3612
|
-
r == "password" && /* @__PURE__ */ i("div", { className: Fe.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: f
|
|
3620
|
+
r == "password" && /* @__PURE__ */ i("div", { className: Fe.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: y(f) }) }),
|
|
3613
3621
|
/* @__PURE__ */ i(
|
|
3614
3622
|
Ee,
|
|
3615
3623
|
{
|
|
3616
|
-
errorMessage: (
|
|
3624
|
+
errorMessage: (V = S.error) == null ? void 0 : V.message,
|
|
3617
3625
|
errorColor: N || u
|
|
3618
3626
|
}
|
|
3619
3627
|
)
|
|
@@ -3631,7 +3639,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3631
3639
|
selectInput: Ls,
|
|
3632
3640
|
option: Ms,
|
|
3633
3641
|
dropdownArrow: Ds
|
|
3634
|
-
},
|
|
3642
|
+
}, zt = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", Ts = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
|
|
3635
3643
|
const {
|
|
3636
3644
|
code: r,
|
|
3637
3645
|
type: t,
|
|
@@ -3642,9 +3650,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3642
3650
|
placeholder: u,
|
|
3643
3651
|
errorColor: g = "red",
|
|
3644
3652
|
width: C = 325,
|
|
3645
|
-
options:
|
|
3653
|
+
options: f = []
|
|
3646
3654
|
//Used if we dont use react hook form
|
|
3647
|
-
} = n, { t: p } = F(), { control:
|
|
3655
|
+
} = n, { t: p } = F(), { control: y, trigger: b, clearErrors: v } = c || {}, { errorColor: _ } = qe((h) => h);
|
|
3648
3656
|
ee(a);
|
|
3649
3657
|
const [N, L] = I(null);
|
|
3650
3658
|
return A(() => {
|
|
@@ -3653,47 +3661,47 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3653
3661
|
Ie,
|
|
3654
3662
|
{
|
|
3655
3663
|
name: r,
|
|
3656
|
-
control:
|
|
3664
|
+
control: y,
|
|
3657
3665
|
rules: {
|
|
3658
3666
|
required: a ? `${p(o)} ${p("errorMessages.required")}` : !1,
|
|
3659
|
-
validate: l ? (
|
|
3660
|
-
let
|
|
3661
|
-
return l(
|
|
3667
|
+
validate: l ? (h) => {
|
|
3668
|
+
let k = c.getValues();
|
|
3669
|
+
return l(h, k);
|
|
3662
3670
|
} : void 0
|
|
3663
3671
|
},
|
|
3664
|
-
render: ({ field:
|
|
3665
|
-
var
|
|
3666
|
-
const x =
|
|
3667
|
-
(
|
|
3672
|
+
render: ({ field: h, fieldState: k }) => {
|
|
3673
|
+
var S;
|
|
3674
|
+
const x = f.find(
|
|
3675
|
+
($) => $.value === h.value
|
|
3668
3676
|
);
|
|
3669
|
-
return /* @__PURE__ */
|
|
3670
|
-
o && /* @__PURE__ */
|
|
3677
|
+
return /* @__PURE__ */ m("div", { className: X.selectInputContainer, children: [
|
|
3678
|
+
o && /* @__PURE__ */ m("h3", { className: X.labelContainer, children: [
|
|
3671
3679
|
p(o),
|
|
3672
3680
|
" ",
|
|
3673
|
-
a && /* @__PURE__ */ i("label", { style: { color:
|
|
3681
|
+
a && /* @__PURE__ */ i("label", { style: { color: k.error ? g : "" }, children: "*" })
|
|
3674
3682
|
] }),
|
|
3675
|
-
/* @__PURE__ */
|
|
3676
|
-
/* @__PURE__ */
|
|
3677
|
-
/* @__PURE__ */
|
|
3683
|
+
/* @__PURE__ */ m("div", { className: X.selectWrapper, children: [
|
|
3684
|
+
/* @__PURE__ */ m("div", { className: X.inputContainer, style: { width: C }, children: [
|
|
3685
|
+
/* @__PURE__ */ m(
|
|
3678
3686
|
"select",
|
|
3679
3687
|
{
|
|
3680
|
-
...
|
|
3681
|
-
value:
|
|
3682
|
-
onChange: (
|
|
3683
|
-
const
|
|
3684
|
-
|
|
3688
|
+
...h,
|
|
3689
|
+
value: h.value ?? "",
|
|
3690
|
+
onChange: ($) => {
|
|
3691
|
+
const w = $.target.value, T = f.every((V) => typeof V.value == "number") ? Number(w) : w;
|
|
3692
|
+
h.onChange(T);
|
|
3685
3693
|
},
|
|
3686
3694
|
className: X.selectInput,
|
|
3687
3695
|
children: [
|
|
3688
3696
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
|
|
3689
|
-
|
|
3697
|
+
f.map(($, w) => /* @__PURE__ */ i(
|
|
3690
3698
|
"option",
|
|
3691
3699
|
{
|
|
3692
|
-
value:
|
|
3700
|
+
value: $.value,
|
|
3693
3701
|
className: X.option,
|
|
3694
|
-
children: p(
|
|
3702
|
+
children: p($.label)
|
|
3695
3703
|
},
|
|
3696
|
-
|
|
3704
|
+
w
|
|
3697
3705
|
))
|
|
3698
3706
|
]
|
|
3699
3707
|
}
|
|
@@ -3701,7 +3709,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3701
3709
|
/* @__PURE__ */ i(
|
|
3702
3710
|
"img",
|
|
3703
3711
|
{
|
|
3704
|
-
src:
|
|
3712
|
+
src: zt,
|
|
3705
3713
|
alt: "Open",
|
|
3706
3714
|
className: X.dropdownArrow
|
|
3707
3715
|
}
|
|
@@ -3712,50 +3720,50 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3712
3720
|
/* @__PURE__ */ i(
|
|
3713
3721
|
Ee,
|
|
3714
3722
|
{
|
|
3715
|
-
errorMessage: (
|
|
3723
|
+
errorMessage: (S = k.error) == null ? void 0 : S.message,
|
|
3716
3724
|
errorColor: _ || g
|
|
3717
3725
|
}
|
|
3718
3726
|
)
|
|
3719
3727
|
] });
|
|
3720
3728
|
}
|
|
3721
3729
|
}
|
|
3722
|
-
) : /* @__PURE__ */
|
|
3723
|
-
o && /* @__PURE__ */
|
|
3730
|
+
) : /* @__PURE__ */ m("div", { className: X.selectInputContainer, children: [
|
|
3731
|
+
o && /* @__PURE__ */ m("h3", { className: X.labelContainer, children: [
|
|
3724
3732
|
p(o),
|
|
3725
3733
|
" ",
|
|
3726
3734
|
a && /* @__PURE__ */ i("label", { children: "*" })
|
|
3727
3735
|
] }),
|
|
3728
|
-
/* @__PURE__ */
|
|
3729
|
-
/* @__PURE__ */
|
|
3736
|
+
/* @__PURE__ */ m("div", { className: X.inputContainer, style: { width: C }, children: [
|
|
3737
|
+
/* @__PURE__ */ m(
|
|
3730
3738
|
"select",
|
|
3731
3739
|
{
|
|
3732
3740
|
value: N ?? "",
|
|
3733
|
-
onChange: (
|
|
3734
|
-
const
|
|
3741
|
+
onChange: (h) => {
|
|
3742
|
+
const k = h.target.value, x = f.every((S) => typeof S.value == "number") ? Number(k) : k;
|
|
3735
3743
|
L(x);
|
|
3736
3744
|
},
|
|
3737
3745
|
className: X.selectInput,
|
|
3738
3746
|
children: [
|
|
3739
3747
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
|
|
3740
|
-
|
|
3748
|
+
f.map((h, k) => /* @__PURE__ */ i(
|
|
3741
3749
|
"option",
|
|
3742
3750
|
{
|
|
3743
|
-
value:
|
|
3751
|
+
value: h.value,
|
|
3744
3752
|
className: X.option,
|
|
3745
|
-
children: p(
|
|
3753
|
+
children: p(h.label)
|
|
3746
3754
|
},
|
|
3747
|
-
|
|
3755
|
+
k
|
|
3748
3756
|
))
|
|
3749
3757
|
]
|
|
3750
3758
|
}
|
|
3751
3759
|
),
|
|
3752
|
-
/* @__PURE__ */ i("img", { src:
|
|
3760
|
+
/* @__PURE__ */ i("img", { src: zt, alt: "Open", className: X.dropdownArrow })
|
|
3753
3761
|
] }),
|
|
3754
3762
|
(() => {
|
|
3755
|
-
const
|
|
3756
|
-
(
|
|
3763
|
+
const h = f.find(
|
|
3764
|
+
(k) => k.value === N
|
|
3757
3765
|
);
|
|
3758
|
-
return
|
|
3766
|
+
return h && h.description ? /* @__PURE__ */ i("div", { className: X.optionDescription, children: p(h.description) }) : null;
|
|
3759
3767
|
})()
|
|
3760
3768
|
] });
|
|
3761
3769
|
}, Bs = "_radioButtonContainer_1e994_2", Vs = "_wholeInputContainer_1e994_5", Fs = "_questionContainer_1e994_27", As = "_radioQuestion_1e994_59", Os = "_inputContainer_1e994_63", Rs = "_radioInput_1e994_93", _e = {
|
|
@@ -3774,9 +3782,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3774
3782
|
errorColor: d = "red",
|
|
3775
3783
|
options: a = [],
|
|
3776
3784
|
multi: l = !1
|
|
3777
|
-
} = n, { t: u } = F(), { control: g, trigger: C, clearErrors:
|
|
3785
|
+
} = n, { t: u } = F(), { control: g, trigger: C, clearErrors: f } = c, { errorColor: p } = qe((v) => v), y = ({ options: v, onChange: _, actualValue: N }) => {
|
|
3778
3786
|
if (l && N && N.length > 0) {
|
|
3779
|
-
let L = N.filter((
|
|
3787
|
+
let L = N.filter((h) => h !== v);
|
|
3780
3788
|
_(L);
|
|
3781
3789
|
}
|
|
3782
3790
|
}, b = ({ options: v, onChange: _, actualValue: N }) => {
|
|
@@ -3792,12 +3800,12 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3792
3800
|
},
|
|
3793
3801
|
render: ({
|
|
3794
3802
|
formState: { errors: v },
|
|
3795
|
-
field: { onChange: _, onBlur: N, value: L, ref:
|
|
3796
|
-
fieldState:
|
|
3803
|
+
field: { onChange: _, onBlur: N, value: L, ref: h },
|
|
3804
|
+
fieldState: k
|
|
3797
3805
|
}) => {
|
|
3798
3806
|
var x;
|
|
3799
|
-
return /* @__PURE__ */ i("div", { id: s + "id", className: _e.radioButtonContainer, children: /* @__PURE__ */
|
|
3800
|
-
r && /* @__PURE__ */ i("div", { className: _e.questionContainer, children: /* @__PURE__ */
|
|
3807
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: _e.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: _e.wholeInputContainer, children: [
|
|
3808
|
+
r && /* @__PURE__ */ i("div", { className: _e.questionContainer, children: /* @__PURE__ */ m(
|
|
3801
3809
|
"h3",
|
|
3802
3810
|
{
|
|
3803
3811
|
htmlFor: s + "id",
|
|
@@ -3808,30 +3816,30 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3808
3816
|
t && /* @__PURE__ */ i(
|
|
3809
3817
|
"label",
|
|
3810
3818
|
{
|
|
3811
|
-
style: { color:
|
|
3819
|
+
style: { color: k.error ? d : "" },
|
|
3812
3820
|
children: "*"
|
|
3813
3821
|
}
|
|
3814
3822
|
)
|
|
3815
3823
|
]
|
|
3816
3824
|
}
|
|
3817
3825
|
) }),
|
|
3818
|
-
/* @__PURE__ */
|
|
3826
|
+
/* @__PURE__ */ m("div", { className: _e.inputContainer, children: [
|
|
3819
3827
|
a.map(
|
|
3820
3828
|
({
|
|
3821
|
-
label:
|
|
3822
|
-
value:
|
|
3823
|
-
disabled:
|
|
3824
|
-
italicLabel:
|
|
3825
|
-
},
|
|
3826
|
-
const B = L && l ? L.isArray && (L == null ? void 0 : L.length) > 0 && L.some((O) => O ===
|
|
3827
|
-
return /* @__PURE__ */
|
|
3829
|
+
label: S,
|
|
3830
|
+
value: $,
|
|
3831
|
+
disabled: w = !1,
|
|
3832
|
+
italicLabel: T
|
|
3833
|
+
}, V) => {
|
|
3834
|
+
const B = L && l ? L.isArray && (L == null ? void 0 : L.length) > 0 && L.some((O) => O === $) : L === $;
|
|
3835
|
+
return /* @__PURE__ */ m("label", { children: [
|
|
3828
3836
|
/* @__PURE__ */ i(
|
|
3829
3837
|
"input",
|
|
3830
3838
|
{
|
|
3831
3839
|
type: "radio",
|
|
3832
3840
|
checked: B,
|
|
3833
3841
|
onChange: () => {
|
|
3834
|
-
l ? B ?
|
|
3842
|
+
l ? B ? y({
|
|
3835
3843
|
actualValue: L,
|
|
3836
3844
|
options: a,
|
|
3837
3845
|
onChange: _
|
|
@@ -3839,20 +3847,20 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3839
3847
|
actualValue: L,
|
|
3840
3848
|
options: a,
|
|
3841
3849
|
onChange: _
|
|
3842
|
-
}) : _(
|
|
3850
|
+
}) : _($);
|
|
3843
3851
|
},
|
|
3844
3852
|
className: _e.radioInput
|
|
3845
3853
|
}
|
|
3846
3854
|
),
|
|
3847
3855
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3848
|
-
u(
|
|
3849
|
-
] }, `inputRadio ${
|
|
3856
|
+
u(S)
|
|
3857
|
+
] }, `inputRadio ${V}`);
|
|
3850
3858
|
}
|
|
3851
3859
|
),
|
|
3852
3860
|
/* @__PURE__ */ i(
|
|
3853
3861
|
Ee,
|
|
3854
3862
|
{
|
|
3855
|
-
errorMessage: (x =
|
|
3863
|
+
errorMessage: (x = k.error) == null ? void 0 : x.message,
|
|
3856
3864
|
errorColor: p || d
|
|
3857
3865
|
}
|
|
3858
3866
|
)
|
|
@@ -3861,15 +3869,15 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3861
3869
|
}
|
|
3862
3870
|
}
|
|
3863
3871
|
);
|
|
3864
|
-
}, Es = "_rankingSliderContainer_1lekm_2",
|
|
3872
|
+
}, Es = "_rankingSliderContainer_1lekm_2", qs = "_labelContainer_1lekm_6", zs = "_inputContainer_1lekm_10", Ps = "_slider_1lekm_20", Zs = "_thumb_1lekm_27", js = "_labels_1lekm_37", Hs = "_minLabel_1lekm_67", Ws = "_maxLabel_1lekm_67", Z = {
|
|
3865
3873
|
rankingSliderContainer: Es,
|
|
3866
|
-
labelContainer:
|
|
3867
|
-
inputContainer:
|
|
3874
|
+
labelContainer: qs,
|
|
3875
|
+
inputContainer: zs,
|
|
3868
3876
|
slider: Ps,
|
|
3869
3877
|
thumb: Zs,
|
|
3870
3878
|
labels: js,
|
|
3871
3879
|
minLabel: Hs,
|
|
3872
|
-
maxLabel:
|
|
3880
|
+
maxLabel: Ws
|
|
3873
3881
|
}, g2 = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
|
|
3874
3882
|
const {
|
|
3875
3883
|
code: r,
|
|
@@ -3882,18 +3890,18 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3882
3890
|
required: u,
|
|
3883
3891
|
errorColor: g = "red",
|
|
3884
3892
|
labelWidth: C = "300px",
|
|
3885
|
-
sliderWidth:
|
|
3893
|
+
sliderWidth: f = "300px",
|
|
3886
3894
|
minText: p,
|
|
3887
|
-
maxText:
|
|
3895
|
+
maxText: y,
|
|
3888
3896
|
disabled: b = !1,
|
|
3889
3897
|
marks: v = Array.from(
|
|
3890
3898
|
{ length: d - o + 1 },
|
|
3891
|
-
(
|
|
3899
|
+
(w, T) => o + T
|
|
3892
3900
|
),
|
|
3893
3901
|
showMarksNumber: _ = !0
|
|
3894
|
-
} = n, { t: N } = F(), { control: L, trigger:
|
|
3902
|
+
} = n, { t: N } = F(), { control: L, trigger: h, clearErrors: k } = c || {};
|
|
3895
3903
|
ee(u);
|
|
3896
|
-
const { errorColorForm: x } =
|
|
3904
|
+
const { errorColorForm: x } = qe((w) => w), [S, $] = I(a);
|
|
3897
3905
|
return c ? /* @__PURE__ */ i(
|
|
3898
3906
|
Ie,
|
|
3899
3907
|
{
|
|
@@ -3903,31 +3911,31 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3903
3911
|
rules: {
|
|
3904
3912
|
required: u ? `${N(t)} ${N("errorMessages.required")}` : !1
|
|
3905
3913
|
},
|
|
3906
|
-
render: ({ field:
|
|
3907
|
-
var
|
|
3908
|
-
return /* @__PURE__ */
|
|
3914
|
+
render: ({ field: w, fieldState: T }) => {
|
|
3915
|
+
var V;
|
|
3916
|
+
return /* @__PURE__ */ m(
|
|
3909
3917
|
"div",
|
|
3910
3918
|
{
|
|
3911
|
-
className:
|
|
3919
|
+
className: Z.rankingSliderContainer,
|
|
3912
3920
|
style: {
|
|
3913
|
-
gridTemplateColumns: `${t && C} ${
|
|
3921
|
+
gridTemplateColumns: `${t && C} ${f}`
|
|
3914
3922
|
},
|
|
3915
3923
|
children: [
|
|
3916
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3917
|
-
/* @__PURE__ */
|
|
3918
|
-
p && /* @__PURE__ */ i("div", { className:
|
|
3919
|
-
/* @__PURE__ */
|
|
3924
|
+
t && /* @__PURE__ */ i("p", { className: Z.labelContainer, children: N(t) }),
|
|
3925
|
+
/* @__PURE__ */ m("div", { className: Z.inputContainer, children: [
|
|
3926
|
+
p && /* @__PURE__ */ i("div", { className: Z.minLabel, children: N(p) }),
|
|
3927
|
+
/* @__PURE__ */ m("div", { children: [
|
|
3920
3928
|
/* @__PURE__ */ i(
|
|
3921
3929
|
yt,
|
|
3922
3930
|
{
|
|
3923
3931
|
min: o,
|
|
3924
3932
|
max: d,
|
|
3925
3933
|
step: 1,
|
|
3926
|
-
value:
|
|
3927
|
-
onChange: (B) =>
|
|
3934
|
+
value: w.value ?? a,
|
|
3935
|
+
onChange: (B) => w.onChange(B),
|
|
3928
3936
|
marks: !0,
|
|
3929
|
-
className:
|
|
3930
|
-
thumbClassName:
|
|
3937
|
+
className: Z.slider,
|
|
3938
|
+
thumbClassName: Z.thumb,
|
|
3931
3939
|
renderThumb: (B) => /* @__PURE__ */ i(
|
|
3932
3940
|
"div",
|
|
3933
3941
|
{
|
|
@@ -3935,19 +3943,19 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3935
3943
|
style: { ...B.style, backgroundColor: l }
|
|
3936
3944
|
}
|
|
3937
3945
|
),
|
|
3938
|
-
trackClassName:
|
|
3939
|
-
markClassName:
|
|
3946
|
+
trackClassName: Z.track,
|
|
3947
|
+
markClassName: Z.mark,
|
|
3940
3948
|
disabled: b
|
|
3941
3949
|
}
|
|
3942
3950
|
),
|
|
3943
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3951
|
+
v && /* @__PURE__ */ i("div", { className: Z.labels, children: v.map((B) => /* @__PURE__ */ i("span", { children: _ && B }, B)) })
|
|
3944
3952
|
] }),
|
|
3945
|
-
|
|
3953
|
+
y && /* @__PURE__ */ i("div", { className: Z.maxLabel, children: N(y) })
|
|
3946
3954
|
] }),
|
|
3947
3955
|
/* @__PURE__ */ i(
|
|
3948
3956
|
Ee,
|
|
3949
3957
|
{
|
|
3950
|
-
errorMessage: (
|
|
3958
|
+
errorMessage: (V = T.error) == null ? void 0 : V.message,
|
|
3951
3959
|
errorColor: x || g
|
|
3952
3960
|
}
|
|
3953
3961
|
)
|
|
@@ -3956,44 +3964,44 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3956
3964
|
);
|
|
3957
3965
|
}
|
|
3958
3966
|
}
|
|
3959
|
-
) : /* @__PURE__ */
|
|
3967
|
+
) : /* @__PURE__ */ m(
|
|
3960
3968
|
"div",
|
|
3961
3969
|
{
|
|
3962
|
-
className:
|
|
3963
|
-
style: { gridTemplateColumns: `${t && C} ${
|
|
3970
|
+
className: Z.rankingSliderContainer,
|
|
3971
|
+
style: { gridTemplateColumns: `${t && C} ${f}` },
|
|
3964
3972
|
children: [
|
|
3965
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3966
|
-
/* @__PURE__ */
|
|
3967
|
-
p && /* @__PURE__ */ i("div", { className:
|
|
3968
|
-
/* @__PURE__ */
|
|
3973
|
+
t && /* @__PURE__ */ i("p", { className: Z.labelContainer, children: N(t) }),
|
|
3974
|
+
/* @__PURE__ */ m("div", { className: Z.inputContainer, children: [
|
|
3975
|
+
p && /* @__PURE__ */ i("div", { className: Z.minLabel, children: N(p) }),
|
|
3976
|
+
/* @__PURE__ */ m("div", { children: [
|
|
3969
3977
|
/* @__PURE__ */ i(
|
|
3970
3978
|
yt,
|
|
3971
3979
|
{
|
|
3972
3980
|
min: o,
|
|
3973
3981
|
max: d,
|
|
3974
3982
|
step: 1,
|
|
3975
|
-
value:
|
|
3976
|
-
onChange: (
|
|
3977
|
-
|
|
3983
|
+
value: S,
|
|
3984
|
+
onChange: (w) => {
|
|
3985
|
+
$(w), s && s(w);
|
|
3978
3986
|
},
|
|
3979
3987
|
marks: !0,
|
|
3980
|
-
className:
|
|
3981
|
-
thumbClassName:
|
|
3982
|
-
renderThumb: (
|
|
3988
|
+
className: Z.slider,
|
|
3989
|
+
thumbClassName: Z.thumb,
|
|
3990
|
+
renderThumb: (w) => /* @__PURE__ */ i(
|
|
3983
3991
|
"div",
|
|
3984
3992
|
{
|
|
3985
|
-
...
|
|
3986
|
-
style: { ...
|
|
3993
|
+
...w,
|
|
3994
|
+
style: { ...w.style, backgroundColor: l }
|
|
3987
3995
|
}
|
|
3988
3996
|
),
|
|
3989
|
-
trackClassName:
|
|
3990
|
-
markClassName:
|
|
3997
|
+
trackClassName: Z.track,
|
|
3998
|
+
markClassName: Z.mark,
|
|
3991
3999
|
disabled: b
|
|
3992
4000
|
}
|
|
3993
4001
|
),
|
|
3994
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
4002
|
+
v && /* @__PURE__ */ i("div", { className: Z.labels, children: v.map((w) => /* @__PURE__ */ i("span", { children: _ && w }, w)) })
|
|
3995
4003
|
] }),
|
|
3996
|
-
|
|
4004
|
+
y && /* @__PURE__ */ i("div", { className: Z.maxLabel, children: N(y) })
|
|
3997
4005
|
] })
|
|
3998
4006
|
]
|
|
3999
4007
|
}
|
|
@@ -4017,8 +4025,8 @@ g2.propTypes = {
|
|
|
4017
4025
|
}),
|
|
4018
4026
|
reactHookFormInstance: e.object
|
|
4019
4027
|
};
|
|
4020
|
-
const
|
|
4021
|
-
textDescriptionContainer:
|
|
4028
|
+
const Ks = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc_6", Pt = {
|
|
4029
|
+
textDescriptionContainer: Ks,
|
|
4022
4030
|
textDescriptionText: Us
|
|
4023
4031
|
}, Gs = ({ input: n, inputContainerStyles: c }) => /* @__PURE__ */ i(
|
|
4024
4032
|
"div",
|
|
@@ -4049,7 +4057,7 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4049
4057
|
className: Se.inputContainer,
|
|
4050
4058
|
style: { ...c },
|
|
4051
4059
|
children: /* @__PURE__ */ i(
|
|
4052
|
-
|
|
4060
|
+
qt,
|
|
4053
4061
|
{
|
|
4054
4062
|
input: d,
|
|
4055
4063
|
reactHookFormInstance: s
|
|
@@ -4065,7 +4073,7 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4065
4073
|
className: Se.inputContainer,
|
|
4066
4074
|
style: { ...c },
|
|
4067
4075
|
children: /* @__PURE__ */ i(
|
|
4068
|
-
|
|
4076
|
+
qt,
|
|
4069
4077
|
{
|
|
4070
4078
|
input: d,
|
|
4071
4079
|
reactHookFormInstance: s
|
|
@@ -4157,18 +4165,18 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4157
4165
|
className: Oe.categorySelector,
|
|
4158
4166
|
style: t ? { ...t } : {},
|
|
4159
4167
|
children: n.map((l, u) => {
|
|
4160
|
-
const { id: g, label: C } = l,
|
|
4168
|
+
const { id: g, label: C } = l, f = s == g, p = o.includes(g);
|
|
4161
4169
|
return /* @__PURE__ */ i(
|
|
4162
4170
|
"button",
|
|
4163
4171
|
{
|
|
4164
|
-
className: `${Oe.sectionItem} ${
|
|
4172
|
+
className: `${Oe.sectionItem} ${f ? Oe.sectionItemActive : ""} ${p ? Oe.sectionItemError : ""}`,
|
|
4165
4173
|
type: "button",
|
|
4166
|
-
style: { backgroundColor:
|
|
4174
|
+
style: { backgroundColor: f ? r : "inherit" },
|
|
4167
4175
|
onClick: () => a(g),
|
|
4168
4176
|
children: /* @__PURE__ */ i(
|
|
4169
4177
|
"span",
|
|
4170
4178
|
{
|
|
4171
|
-
style: { color:
|
|
4179
|
+
style: { color: f ? "white" : "inherit" },
|
|
4172
4180
|
className: Oe.sectionLabel,
|
|
4173
4181
|
children: d(C)
|
|
4174
4182
|
}
|
|
@@ -4192,38 +4200,38 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4192
4200
|
defaultCategory: u = null,
|
|
4193
4201
|
categoryLabel: g = "Select Category",
|
|
4194
4202
|
activeCategory: C = null,
|
|
4195
|
-
activeCategoryColor:
|
|
4203
|
+
activeCategoryColor: f = "#b32f5d",
|
|
4196
4204
|
categoriesWithErrors: p = [],
|
|
4197
|
-
onSubmit:
|
|
4205
|
+
onSubmit: y = (b) => console.log("Form submitted with: ", b)
|
|
4198
4206
|
}) => {
|
|
4199
4207
|
const { t: b } = F(), { handleSubmit: v, control: _ } = n;
|
|
4200
4208
|
A(() => {
|
|
4201
|
-
o &&
|
|
4209
|
+
o && qe.setState(() => ({ errorColor: o }));
|
|
4202
4210
|
}, [o]);
|
|
4203
|
-
const N = De(() => c ? c.filter((
|
|
4204
|
-
var
|
|
4211
|
+
const N = De(() => c ? c.filter((w) => w.category).map((w) => {
|
|
4212
|
+
var T;
|
|
4205
4213
|
return {
|
|
4206
|
-
id:
|
|
4207
|
-
label:
|
|
4208
|
-
hasSubcategories: ((
|
|
4214
|
+
id: w.categoryId,
|
|
4215
|
+
label: w.category,
|
|
4216
|
+
hasSubcategories: ((T = w.subcategories) == null ? void 0 : T.length) > 0
|
|
4209
4217
|
};
|
|
4210
|
-
}) : [], [c]), L = (
|
|
4211
|
-
const
|
|
4212
|
-
return (
|
|
4213
|
-
}, [
|
|
4218
|
+
}) : [], [c]), L = (w) => {
|
|
4219
|
+
const T = c == null ? void 0 : c.find((V) => V.categoryId === w);
|
|
4220
|
+
return (T == null ? void 0 : T.subcategories) || [];
|
|
4221
|
+
}, [h, k] = I(
|
|
4214
4222
|
C || u || null
|
|
4215
|
-
), [x,
|
|
4223
|
+
), [x, S] = I(null);
|
|
4216
4224
|
A(() => {
|
|
4217
|
-
!
|
|
4218
|
-
}, [N,
|
|
4219
|
-
const
|
|
4220
|
-
!x && (
|
|
4221
|
-
}, [
|
|
4222
|
-
const
|
|
4223
|
-
var
|
|
4224
|
-
if (((
|
|
4225
|
-
const B =
|
|
4226
|
-
return /* @__PURE__ */
|
|
4225
|
+
!h && N.length > 0 && k(N[0].id);
|
|
4226
|
+
}, [N, h]), A(() => {
|
|
4227
|
+
const w = L(h);
|
|
4228
|
+
!x && (w == null ? void 0 : w.length) > 0 && S(w[0].id);
|
|
4229
|
+
}, [h, x, c]);
|
|
4230
|
+
const $ = (w, T) => {
|
|
4231
|
+
var V;
|
|
4232
|
+
if (((V = w.subcategories) == null ? void 0 : V.length) > 0) {
|
|
4233
|
+
const B = w.subcategories;
|
|
4234
|
+
return /* @__PURE__ */ m("div", { children: [
|
|
4227
4235
|
/* @__PURE__ */ i(
|
|
4228
4236
|
"div",
|
|
4229
4237
|
{
|
|
@@ -4234,20 +4242,20 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4234
4242
|
activeCategory: x,
|
|
4235
4243
|
categories: B,
|
|
4236
4244
|
categoriesWithErrors: p,
|
|
4237
|
-
onChange: (O) =>
|
|
4238
|
-
activeColor:
|
|
4245
|
+
onChange: (O) => S(O),
|
|
4246
|
+
activeColor: f
|
|
4239
4247
|
}
|
|
4240
4248
|
)
|
|
4241
4249
|
},
|
|
4242
|
-
|
|
4250
|
+
w.categoryId
|
|
4243
4251
|
),
|
|
4244
4252
|
B.map((O, R) => {
|
|
4245
|
-
const
|
|
4253
|
+
const P = !x || O.id === x;
|
|
4246
4254
|
return s ? /* @__PURE__ */ i(
|
|
4247
4255
|
"div",
|
|
4248
4256
|
{
|
|
4249
4257
|
style: {
|
|
4250
|
-
display:
|
|
4258
|
+
display: P ? "block" : "none",
|
|
4251
4259
|
width: "100%"
|
|
4252
4260
|
},
|
|
4253
4261
|
children: /* @__PURE__ */ i(s, { title: O.label, children: /* @__PURE__ */ i(
|
|
@@ -4262,12 +4270,12 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4262
4270
|
) }, O.id)
|
|
4263
4271
|
},
|
|
4264
4272
|
`${O.id}${R}`
|
|
4265
|
-
) : /* @__PURE__ */
|
|
4273
|
+
) : /* @__PURE__ */ m(
|
|
4266
4274
|
"div",
|
|
4267
4275
|
{
|
|
4268
4276
|
style: {
|
|
4269
4277
|
width: "100%",
|
|
4270
|
-
display:
|
|
4278
|
+
display: P ? "block" : "none"
|
|
4271
4279
|
},
|
|
4272
4280
|
children: [
|
|
4273
4281
|
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: b(O.label) }),
|
|
@@ -4288,67 +4296,67 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4288
4296
|
})
|
|
4289
4297
|
] });
|
|
4290
4298
|
}
|
|
4291
|
-
return s ? /* @__PURE__ */ i(s, { title:
|
|
4299
|
+
return s ? /* @__PURE__ */ i(s, { title: w.category, children: /* @__PURE__ */ i(
|
|
4292
4300
|
Ae,
|
|
4293
4301
|
{
|
|
4294
|
-
inputs:
|
|
4302
|
+
inputs: w.inputs,
|
|
4295
4303
|
control: _,
|
|
4296
4304
|
inputContainerStyles: r,
|
|
4297
4305
|
errorColor: o,
|
|
4298
4306
|
reactHookFormInstance: n
|
|
4299
4307
|
}
|
|
4300
|
-
) },
|
|
4301
|
-
/* @__PURE__ */ i("h2", { children: b(
|
|
4308
|
+
) }, w.categoryId) : /* @__PURE__ */ m("div", { style: { width: "100%" }, children: [
|
|
4309
|
+
/* @__PURE__ */ i("h2", { children: b(w.category) }),
|
|
4302
4310
|
/* @__PURE__ */ i(
|
|
4303
4311
|
Ae,
|
|
4304
4312
|
{
|
|
4305
|
-
inputs:
|
|
4313
|
+
inputs: w.inputs,
|
|
4306
4314
|
control: _,
|
|
4307
4315
|
inputContainerStyles: r,
|
|
4308
4316
|
errorColor: o,
|
|
4309
4317
|
reactHookFormInstance: n
|
|
4310
4318
|
}
|
|
4311
4319
|
)
|
|
4312
|
-
] },
|
|
4320
|
+
] }, w.categoryId);
|
|
4313
4321
|
};
|
|
4314
|
-
return /* @__PURE__ */
|
|
4322
|
+
return /* @__PURE__ */ m("form", { className: Ve.formContainer, onSubmit: v(y), children: [
|
|
4315
4323
|
l && N.length > 0 && /* @__PURE__ */ i("div", { className: Ve.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
4316
4324
|
Zt,
|
|
4317
4325
|
{
|
|
4318
|
-
activeCategory:
|
|
4326
|
+
activeCategory: h,
|
|
4319
4327
|
categories: N,
|
|
4320
4328
|
categoriesWithErrors: p,
|
|
4321
|
-
onChange: (
|
|
4322
|
-
w
|
|
4329
|
+
onChange: (w) => {
|
|
4330
|
+
k(w), S(null);
|
|
4323
4331
|
},
|
|
4324
|
-
activeColor:
|
|
4332
|
+
activeColor: f
|
|
4325
4333
|
}
|
|
4326
4334
|
) }),
|
|
4327
|
-
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: c == null ? void 0 : c.map((
|
|
4328
|
-
const
|
|
4329
|
-
return
|
|
4335
|
+
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: c == null ? void 0 : c.map((w, T) => {
|
|
4336
|
+
const V = w.categoryId === h;
|
|
4337
|
+
return w.category ? /* @__PURE__ */ i(
|
|
4330
4338
|
"div",
|
|
4331
4339
|
{
|
|
4332
4340
|
style: {
|
|
4333
4341
|
width: "100%",
|
|
4334
|
-
display:
|
|
4342
|
+
display: V ? "block" : "none"
|
|
4335
4343
|
},
|
|
4336
|
-
children:
|
|
4344
|
+
children: $(w)
|
|
4337
4345
|
},
|
|
4338
|
-
|
|
4346
|
+
w.categoryId
|
|
4339
4347
|
) : /* @__PURE__ */ i(
|
|
4340
4348
|
Ae,
|
|
4341
4349
|
{
|
|
4342
|
-
inputs:
|
|
4350
|
+
inputs: w.inputs,
|
|
4343
4351
|
control: _,
|
|
4344
4352
|
inputContainerStyles: r,
|
|
4345
4353
|
errorColor: o,
|
|
4346
4354
|
reactHookFormInstance: n
|
|
4347
4355
|
},
|
|
4348
|
-
`no-category-${
|
|
4356
|
+
`no-category-${T}`
|
|
4349
4357
|
);
|
|
4350
4358
|
}) }),
|
|
4351
|
-
/* @__PURE__ */
|
|
4359
|
+
/* @__PURE__ */ m("div", { className: Ve.buttonContainer, children: [
|
|
4352
4360
|
/* @__PURE__ */ i(Xe, { containerStyles: a, type: "submit", children: b(d) }),
|
|
4353
4361
|
/* @__PURE__ */ i(Ee, { errorMessage: t, errorColor: o })
|
|
4354
4362
|
] })
|
|
@@ -4370,7 +4378,7 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4370
4378
|
buttons: t,
|
|
4371
4379
|
maxHeight: o = "450px",
|
|
4372
4380
|
maxWidth: d = "450px"
|
|
4373
|
-
}) => /* @__PURE__ */ i("div", { className: ge.overlay, children: /* @__PURE__ */
|
|
4381
|
+
}) => /* @__PURE__ */ i("div", { className: ge.overlay, children: /* @__PURE__ */ m(
|
|
4374
4382
|
"div",
|
|
4375
4383
|
{
|
|
4376
4384
|
className: ge.modal,
|
|
@@ -4412,8 +4420,8 @@ const c1 = "_stepsContainer_1cyua_3", d1 = "_stepWrapper_1cyua_9", u1 = "_circle
|
|
|
4412
4420
|
connector: f1
|
|
4413
4421
|
}, C2 = ({ steps: n, activeColor: c }) => /* @__PURE__ */ i("div", { className: de.stepsContainer, children: n.map((s, r) => {
|
|
4414
4422
|
const t = s.status === "active", o = s.status === "completed";
|
|
4415
|
-
return /* @__PURE__ */
|
|
4416
|
-
/* @__PURE__ */
|
|
4423
|
+
return /* @__PURE__ */ m("div", { className: de.stepWrapper, children: [
|
|
4424
|
+
/* @__PURE__ */ m("div", { className: de.circleContainer, children: [
|
|
4417
4425
|
/* @__PURE__ */ i(
|
|
4418
4426
|
"div",
|
|
4419
4427
|
{
|
|
@@ -4461,7 +4469,7 @@ f2.defaultProps = {
|
|
|
4461
4469
|
color: "#C2185B"
|
|
4462
4470
|
// color por defecto
|
|
4463
4471
|
};
|
|
4464
|
-
const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c7dw_20",
|
|
4472
|
+
const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c7dw_20", We = {
|
|
4465
4473
|
buttonsContainer: _1,
|
|
4466
4474
|
button: v1,
|
|
4467
4475
|
active: x1
|
|
@@ -4469,7 +4477,7 @@ const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c
|
|
|
4469
4477
|
buttons: n = []
|
|
4470
4478
|
}) => {
|
|
4471
4479
|
const { t: c } = F();
|
|
4472
|
-
return /* @__PURE__ */ i("div", { className: `${
|
|
4480
|
+
return /* @__PURE__ */ i("div", { className: `${We.buttonsContainer}`, children: n.map((s, r) => {
|
|
4473
4481
|
const {
|
|
4474
4482
|
isActive: t,
|
|
4475
4483
|
name: o,
|
|
@@ -4479,9 +4487,9 @@ const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c
|
|
|
4479
4487
|
"button",
|
|
4480
4488
|
{
|
|
4481
4489
|
onClick: d,
|
|
4482
|
-
className: `${
|
|
4483
|
-
${t &&
|
|
4484
|
-
children: /* @__PURE__ */ i("span", { className:
|
|
4490
|
+
className: `${We.button}
|
|
4491
|
+
${t && We.active}`,
|
|
4492
|
+
children: /* @__PURE__ */ i("span", { className: We.buttonName, children: c(o) })
|
|
4485
4493
|
}
|
|
4486
4494
|
) }, r);
|
|
4487
4495
|
}) });
|
|
@@ -4512,9 +4520,9 @@ const N1 = "_switchContainer_194wl_2", k1 = "_labelRight_194wl_9", $1 = "_labelL
|
|
|
4512
4520
|
colorOn: l = "#5A514D",
|
|
4513
4521
|
disabled: u = !1,
|
|
4514
4522
|
width: g = 240
|
|
4515
|
-
} = n, { t: C } = F(), { control:
|
|
4516
|
-
|
|
4517
|
-
}, v = (_, N) => /* @__PURE__ */
|
|
4523
|
+
} = n, { t: C } = F(), { control: f } = c || {}, [p, y] = I(a), b = (_) => {
|
|
4524
|
+
y(_), s && s(_);
|
|
4525
|
+
}, v = (_, N) => /* @__PURE__ */ m("div", { className: Le.switchContainer, style: { width: `${g}px` }, children: [
|
|
4518
4526
|
o && /* @__PURE__ */ i(
|
|
4519
4527
|
"span",
|
|
4520
4528
|
{
|
|
@@ -4523,7 +4531,7 @@ const N1 = "_switchContainer_194wl_2", k1 = "_labelRight_194wl_9", $1 = "_labelL
|
|
|
4523
4531
|
children: C(o)
|
|
4524
4532
|
}
|
|
4525
4533
|
),
|
|
4526
|
-
/* @__PURE__ */
|
|
4534
|
+
/* @__PURE__ */ m("label", { className: `${Le.switch} ${u ? Le.disabled : ""}`, children: [
|
|
4527
4535
|
/* @__PURE__ */ i(
|
|
4528
4536
|
"input",
|
|
4529
4537
|
{
|
|
@@ -4549,7 +4557,7 @@ const N1 = "_switchContainer_194wl_2", k1 = "_labelRight_194wl_9", $1 = "_labelL
|
|
|
4549
4557
|
Ie,
|
|
4550
4558
|
{
|
|
4551
4559
|
name: t,
|
|
4552
|
-
control:
|
|
4560
|
+
control: f,
|
|
4553
4561
|
defaultValue: a,
|
|
4554
4562
|
render: ({ field: _ }) => v(_.value, _.onChange)
|
|
4555
4563
|
}
|
|
@@ -4567,34 +4575,34 @@ M1.propTypes = {
|
|
|
4567
4575
|
reactHookFormInstance: e.object,
|
|
4568
4576
|
onChange: e.func
|
|
4569
4577
|
};
|
|
4570
|
-
const D1 = "_overlay_1xyw2_2", T1 = "_popup_1xyw2_15", B1 = "_gif_1xyw2_25", V1 = "_message_1xyw2_31",
|
|
4578
|
+
const D1 = "_overlay_1xyw2_2", T1 = "_popup_1xyw2_15", B1 = "_gif_1xyw2_25", V1 = "_message_1xyw2_31", Ke = {
|
|
4571
4579
|
overlay: D1,
|
|
4572
4580
|
popup: T1,
|
|
4573
4581
|
gif: B1,
|
|
4574
4582
|
message: V1
|
|
4575
|
-
}, F1 = ({ gifSrc: n, message: c }) => /* @__PURE__ */ i("div", { className:
|
|
4583
|
+
}, F1 = ({ gifSrc: n, message: c }) => /* @__PURE__ */ i("div", { className: Ke.overlay, children: /* @__PURE__ */ m("div", { className: Ke.popup, children: [
|
|
4576
4584
|
n && /* @__PURE__ */ i(
|
|
4577
4585
|
"img",
|
|
4578
4586
|
{
|
|
4579
4587
|
src: n,
|
|
4580
4588
|
alt: "loading animation",
|
|
4581
|
-
className:
|
|
4589
|
+
className: Ke.gif
|
|
4582
4590
|
}
|
|
4583
4591
|
),
|
|
4584
|
-
c && /* @__PURE__ */ i("p", { className:
|
|
4592
|
+
c && /* @__PURE__ */ i("p", { className: Ke.message, children: c })
|
|
4585
4593
|
] }) });
|
|
4586
4594
|
F1.propTypes = {
|
|
4587
4595
|
gifSrc: e.string,
|
|
4588
4596
|
message: e.string
|
|
4589
4597
|
};
|
|
4590
|
-
const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21", I1 = "_menuOpen_1pl8d_35", E1 = "_menuClose_1pl8d_40",
|
|
4598
|
+
const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21", I1 = "_menuOpen_1pl8d_35", E1 = "_menuClose_1pl8d_40", q1 = "_list_1pl8d_46", z1 = "_item_1pl8d_56", P1 = "_button_1pl8d_91", oe = {
|
|
4591
4599
|
container: A1,
|
|
4592
4600
|
burger: O1,
|
|
4593
4601
|
menu: R1,
|
|
4594
4602
|
menuOpen: I1,
|
|
4595
4603
|
menuClose: E1,
|
|
4596
|
-
list:
|
|
4597
|
-
item:
|
|
4604
|
+
list: q1,
|
|
4605
|
+
item: z1,
|
|
4598
4606
|
button: P1
|
|
4599
4607
|
}, y2 = ({
|
|
4600
4608
|
options: n,
|
|
@@ -4602,9 +4610,9 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4602
4610
|
textColor: s,
|
|
4603
4611
|
iconColor: r
|
|
4604
4612
|
}) => {
|
|
4605
|
-
const [t, o] = I(!1), d = () => o((
|
|
4606
|
-
return /* @__PURE__ */
|
|
4607
|
-
/* @__PURE__ */ i("button", { onClick: d, className: oe.burger, children: /* @__PURE__ */
|
|
4613
|
+
const [t, o] = I(!1), d = () => o((y) => !y), a = () => o(!1), l = 7, u = t ? 11 : 0, g = t ? 13 : 0, C = t ? -11.51666 : 0, f = t ? -13 : 0, p = "0.35s";
|
|
4614
|
+
return /* @__PURE__ */ m("div", { className: oe.container, children: [
|
|
4615
|
+
/* @__PURE__ */ i("button", { onClick: d, className: oe.burger, children: /* @__PURE__ */ m(
|
|
4608
4616
|
"svg",
|
|
4609
4617
|
{
|
|
4610
4618
|
width: "40",
|
|
@@ -4637,7 +4645,7 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4637
4645
|
"g",
|
|
4638
4646
|
{
|
|
4639
4647
|
style: {
|
|
4640
|
-
transform: `translate(${
|
|
4648
|
+
transform: `translate(${f}px, ${C}px)`,
|
|
4641
4649
|
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4642
4650
|
},
|
|
4643
4651
|
children: /* @__PURE__ */ i("circle", { cx: "33", cy: "31.51666", r: l, fill: r })
|
|
@@ -4653,7 +4661,7 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4653
4661
|
children: /* @__PURE__ */ i("circle", { cx: "20", cy: "20", r: "10", fill: r })
|
|
4654
4662
|
}
|
|
4655
4663
|
),
|
|
4656
|
-
/* @__PURE__ */
|
|
4664
|
+
/* @__PURE__ */ m(
|
|
4657
4665
|
"g",
|
|
4658
4666
|
{
|
|
4659
4667
|
stroke: c,
|
|
@@ -4677,28 +4685,28 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4677
4685
|
{
|
|
4678
4686
|
className: `${oe.menu} ${t ? oe.menuOpen : oe.menuClose}`,
|
|
4679
4687
|
style: { backgroundColor: c, color: s },
|
|
4680
|
-
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((
|
|
4681
|
-
|
|
4688
|
+
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((y, b) => /* @__PURE__ */ m("li", { className: oe.item, children: [
|
|
4689
|
+
y.url && /* @__PURE__ */ i(
|
|
4682
4690
|
Xt,
|
|
4683
4691
|
{
|
|
4684
|
-
to:
|
|
4692
|
+
to: y.url,
|
|
4685
4693
|
className: ({ isActive: v }) => `${oe.link} ${v ? oe.active : ""}`,
|
|
4686
4694
|
onClick: a,
|
|
4687
4695
|
style: { color: s },
|
|
4688
|
-
children:
|
|
4696
|
+
children: y.name
|
|
4689
4697
|
}
|
|
4690
4698
|
),
|
|
4691
|
-
|
|
4699
|
+
y.onclick && /* @__PURE__ */ i(
|
|
4692
4700
|
"button",
|
|
4693
4701
|
{
|
|
4694
4702
|
className: oe.button,
|
|
4695
4703
|
onClick: () => {
|
|
4696
|
-
|
|
4704
|
+
y.onclick(), a();
|
|
4697
4705
|
},
|
|
4698
|
-
children:
|
|
4706
|
+
children: y.name
|
|
4699
4707
|
}
|
|
4700
4708
|
),
|
|
4701
|
-
|
|
4709
|
+
y.component && y.component
|
|
4702
4710
|
] }, b)) })
|
|
4703
4711
|
}
|
|
4704
4712
|
)
|
|
@@ -4730,38 +4738,38 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4730
4738
|
showYAxisLabels: l = !0,
|
|
4731
4739
|
showGrid: u = !0,
|
|
4732
4740
|
xAxisTickRotation: g = -90,
|
|
4733
|
-
yAxisTickFormat: C = (
|
|
4734
|
-
barPadding:
|
|
4741
|
+
yAxisTickFormat: C = (h) => h.toLocaleString("es-ES"),
|
|
4742
|
+
barPadding: f = 0.1,
|
|
4735
4743
|
groupPadding: p = 0.05,
|
|
4736
|
-
animationDuration:
|
|
4744
|
+
animationDuration: y = 750,
|
|
4737
4745
|
onBarHover: b,
|
|
4738
4746
|
onBarClick: v,
|
|
4739
4747
|
title: _,
|
|
4740
4748
|
xAxisLabel: N,
|
|
4741
4749
|
yAxisLabel: L
|
|
4742
4750
|
}) => {
|
|
4743
|
-
const
|
|
4751
|
+
const h = ee(), k = ee(), [x, S] = I({ width: 0, height: 0 });
|
|
4744
4752
|
return A(() => {
|
|
4745
|
-
const
|
|
4746
|
-
if (
|
|
4747
|
-
const
|
|
4748
|
-
|
|
4749
|
-
width: typeof r == "number" ? r :
|
|
4753
|
+
const $ = () => {
|
|
4754
|
+
if (k.current) {
|
|
4755
|
+
const w = k.current.getBoundingClientRect().width;
|
|
4756
|
+
S({
|
|
4757
|
+
width: typeof r == "number" ? r : w,
|
|
4750
4758
|
height: t
|
|
4751
4759
|
});
|
|
4752
4760
|
}
|
|
4753
4761
|
};
|
|
4754
|
-
return
|
|
4762
|
+
return $(), window.addEventListener("resize", $), () => window.removeEventListener("resize", $);
|
|
4755
4763
|
}, [r, t]), A(() => {
|
|
4756
4764
|
if (!n || n.length === 0 || x.width === 0) return;
|
|
4757
|
-
const
|
|
4758
|
-
if (
|
|
4759
|
-
const O = n.map((D) => D.anyo || D.year || D.x), R = c,
|
|
4760
|
-
|
|
4761
|
-
const ne =
|
|
4762
|
-
_ &&
|
|
4765
|
+
const $ = xe(h.current), w = x.width, T = x.height, V = w - o.left - o.right, B = T - o.top - o.bottom;
|
|
4766
|
+
if (V <= 0 || B <= 0) return;
|
|
4767
|
+
const O = n.map((D) => D.anyo || D.year || D.x), R = c, P = ut(n, (D) => ut(R, (re) => D[re])) || 0, te = pt(n, (D) => pt(R, (re) => D[re])) || 0, E = ht().domain(O).rangeRound([0, V]).paddingInner(f), W = ht().domain(R).rangeRound([0, E.bandwidth()]).padding(p), U = Kt().domain([Math.min(0, P), te]).nice().rangeRound([B, 0]), Qe = Ut().domain(R).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4768
|
+
$.selectAll("*").remove();
|
|
4769
|
+
const ne = $.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4770
|
+
_ && $.append("text").attr("x", w / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), u && ne.append("g").attr("class", "grid").selectAll("line").data(U.ticks()).enter().append("line").attr("x1", 0).attr("x2", V).attr("y1", (D) => U(D)).attr("y2", (D) => U(D)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (ne.append("g").attr("transform", `translate(0,${B})`).call(Gt(E).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${g})`).style("text-anchor", g < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), N && ne.append("text").attr(
|
|
4763
4771
|
"transform",
|
|
4764
|
-
`translate(${
|
|
4772
|
+
`translate(${V / 2}, ${B + o.bottom - 5})`
|
|
4765
4773
|
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N)), l && (ne.append("g").call(mt(U).ticks(6).tickFormat(C)).attr("class", "y-axis").call((D) => D.select(".domain").remove()), L && ne.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(L));
|
|
4766
4774
|
const ie = ne.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (D) => `translate(${E(D.anyo || D.year || D.x)},0)`).selectAll(".bar").data(
|
|
4767
4775
|
(D) => R.map((re) => ({
|
|
@@ -4769,8 +4777,8 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4769
4777
|
value: D[re],
|
|
4770
4778
|
data: D
|
|
4771
4779
|
}))
|
|
4772
|
-
).enter().append("rect").attr("class", "bar").attr("x", (D) =>
|
|
4773
|
-
ie.transition().duration(
|
|
4780
|
+
).enter().append("rect").attr("class", "bar").attr("x", (D) => W(D.key)).attr("y", B).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (D) => Qe(D.key)).style("cursor", b || v ? "pointer" : "default");
|
|
4781
|
+
ie.transition().duration(y).attr("y", (D) => U(Math.max(0, D.value))).attr("height", (D) => Math.abs(U(D.value) - U(0))), b && ie.on("mouseover", function(D, re) {
|
|
4774
4782
|
xe(this).style("opacity", 0.8), b(D, re);
|
|
4775
4783
|
}).on("mouseout", function(D, re) {
|
|
4776
4784
|
xe(this).style("opacity", 1);
|
|
@@ -4781,14 +4789,14 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4781
4789
|
s,
|
|
4782
4790
|
x,
|
|
4783
4791
|
o,
|
|
4784
|
-
|
|
4792
|
+
f,
|
|
4785
4793
|
p,
|
|
4786
4794
|
a,
|
|
4787
4795
|
l,
|
|
4788
4796
|
u,
|
|
4789
4797
|
g,
|
|
4790
4798
|
C,
|
|
4791
|
-
|
|
4799
|
+
y,
|
|
4792
4800
|
b,
|
|
4793
4801
|
v,
|
|
4794
4802
|
_,
|
|
@@ -4797,13 +4805,13 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4797
4805
|
]), /* @__PURE__ */ i(
|
|
4798
4806
|
"div",
|
|
4799
4807
|
{
|
|
4800
|
-
ref:
|
|
4808
|
+
ref: k,
|
|
4801
4809
|
className: `${jt.svgContainer} ${d}`,
|
|
4802
4810
|
style: { width: r, height: t + o.top + o.bottom },
|
|
4803
4811
|
children: /* @__PURE__ */ i(
|
|
4804
4812
|
"svg",
|
|
4805
4813
|
{
|
|
4806
|
-
ref:
|
|
4814
|
+
ref: h,
|
|
4807
4815
|
className: jt.svg,
|
|
4808
4816
|
width: x.width,
|
|
4809
4817
|
height: x.height
|
|
@@ -4842,9 +4850,9 @@ H1.propTypes = {
|
|
|
4842
4850
|
xAxisLabel: e.string,
|
|
4843
4851
|
yAxisLabel: e.string
|
|
4844
4852
|
};
|
|
4845
|
-
const
|
|
4846
|
-
svgContainer:
|
|
4847
|
-
svg:
|
|
4853
|
+
const W1 = "_svgContainer_7fkic_2", K1 = "_svg_7fkic_2", Ht = {
|
|
4854
|
+
svgContainer: W1,
|
|
4855
|
+
svg: K1
|
|
4848
4856
|
}, U1 = ({
|
|
4849
4857
|
data: n,
|
|
4850
4858
|
keys: c,
|
|
@@ -4857,31 +4865,31 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4857
4865
|
showYAxisLabels: l = !0,
|
|
4858
4866
|
showGrid: u = !0,
|
|
4859
4867
|
xAxisTickRotation: g = -90,
|
|
4860
|
-
yAxisTickFormat: C = (
|
|
4861
|
-
barPadding:
|
|
4868
|
+
yAxisTickFormat: C = (S) => S.toLocaleString("es-ES"),
|
|
4869
|
+
barPadding: f = 0.4,
|
|
4862
4870
|
animationDuration: p = 750,
|
|
4863
|
-
onBarHover:
|
|
4871
|
+
onBarHover: y,
|
|
4864
4872
|
onBarClick: b,
|
|
4865
4873
|
title: v,
|
|
4866
4874
|
xAxisLabel: _,
|
|
4867
4875
|
yAxisLabel: N,
|
|
4868
4876
|
stackOrder: L = "reverse",
|
|
4869
4877
|
// "reverse", "ascending", "descending", "insideOut", "none"
|
|
4870
|
-
showTooltip:
|
|
4871
|
-
reverseKeys:
|
|
4878
|
+
showTooltip: h = !0,
|
|
4879
|
+
reverseKeys: k = !0,
|
|
4872
4880
|
minBarSlotWidth: x = 60
|
|
4873
4881
|
}) => {
|
|
4874
|
-
const
|
|
4882
|
+
const S = ee(), $ = ee();
|
|
4875
4883
|
ee();
|
|
4876
|
-
const [
|
|
4884
|
+
const [w, T] = I({
|
|
4877
4885
|
containerWidth: 0,
|
|
4878
4886
|
height: 0
|
|
4879
|
-
}), { t:
|
|
4887
|
+
}), { t: V } = F();
|
|
4880
4888
|
return A(() => {
|
|
4881
4889
|
const B = () => {
|
|
4882
|
-
if (
|
|
4883
|
-
const O =
|
|
4884
|
-
|
|
4890
|
+
if ($.current) {
|
|
4891
|
+
const O = $.current.getBoundingClientRect().width;
|
|
4892
|
+
T({
|
|
4885
4893
|
containerWidth: typeof r == "number" ? r : O,
|
|
4886
4894
|
height: t
|
|
4887
4895
|
});
|
|
@@ -4889,20 +4897,20 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4889
4897
|
};
|
|
4890
4898
|
return B(), window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
|
|
4891
4899
|
}, [r, t]), A(() => {
|
|
4892
|
-
if (!n || n.length === 0 ||
|
|
4893
|
-
const B = xe(
|
|
4894
|
-
|
|
4900
|
+
if (!n || n.length === 0 || w.containerWidth === 0) return;
|
|
4901
|
+
const B = xe(S.current), { containerWidth: O, height: R } = w, P = O - o.left - o.right, te = n.length * x, E = Math.max(
|
|
4902
|
+
P,
|
|
4895
4903
|
te
|
|
4896
|
-
),
|
|
4904
|
+
), W = E + o.left + o.right, U = R - o.top - o.bottom;
|
|
4897
4905
|
if (E <= 0 || U <= 0) return;
|
|
4898
|
-
B.attr("width",
|
|
4899
|
-
const Qe =
|
|
4906
|
+
B.attr("width", W).attr("height", R);
|
|
4907
|
+
const Qe = k ? [...c].reverse() : c, ne = [];
|
|
4900
4908
|
n.forEach((M) => {
|
|
4901
|
-
const Y = M.any || M.year || M.x,
|
|
4909
|
+
const Y = M.any || M.year || M.x, j = Qe.map((G) => ({
|
|
4902
4910
|
key: G,
|
|
4903
4911
|
value: Number(M[G]) || 0,
|
|
4904
4912
|
data: M
|
|
4905
|
-
})), b2 =
|
|
4913
|
+
})), b2 = j.filter((G) => G.value < 0), _2 = j.filter((G) => G.value >= 0);
|
|
4906
4914
|
let tt = 0;
|
|
4907
4915
|
b2.forEach((G) => {
|
|
4908
4916
|
const Ce = tt, le = tt + G.value, it = Math.abs(le - Ce);
|
|
@@ -4935,50 +4943,50 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4935
4943
|
const Je = [
|
|
4936
4944
|
ut(ne, (M) => Math.min(M.y0, M.y1)) || 0,
|
|
4937
4945
|
pt(ne, (M) => Math.max(M.y0, M.y1)) || 0
|
|
4938
|
-
], ie = ht().domain(n.map((M) => M.any || M.year || M.x)).range([0, E]).padding(
|
|
4946
|
+
], ie = ht().domain(n.map((M) => M.any || M.year || M.x)).range([0, E]).padding(f), D = Kt().domain([Je[0], Je[1]]).nice(6).range([U, 0]), re = Ut().domain(c).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4939
4947
|
B.selectAll("*").remove();
|
|
4940
4948
|
const pe = B.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4941
4949
|
v && B.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 && pe.append("g").attr("class", "grid").selectAll("line").data(D.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", E).attr("y1", (M) => D(M)).attr("y2", (M) => D(M)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (pe.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${U})`).call(Gt(ie).tickSizeOuter(0)).selectAll("text").remove(), pe.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${U})`).selectAll("text").data(n).enter().append("text").attr(
|
|
4942
4950
|
"x",
|
|
4943
|
-
(
|
|
4951
|
+
(j) => ie(j.any || j.year || j.x) + ie.bandwidth() / 2
|
|
4944
4952
|
).attr("y", 19).style(
|
|
4945
4953
|
"text-anchor",
|
|
4946
4954
|
g === 0 ? "middle" : g < 0 ? "end" : "start"
|
|
4947
4955
|
).style("font-size", "12px").style("fill", "#605B56").attr(
|
|
4948
4956
|
"transform",
|
|
4949
|
-
(
|
|
4950
|
-
).text((
|
|
4957
|
+
(j) => `rotate(${g} ${ie(j.any || j.year || j.x) + ie.bandwidth() / 2} 15)`
|
|
4958
|
+
).text((j) => j.any || j.year || j.x), _ && pe.append("text").attr(
|
|
4951
4959
|
"transform",
|
|
4952
4960
|
`translate(${E / 2}, ${U + o.bottom - 5})`
|
|
4953
4961
|
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(_)), l && (pe.append("g").attr("class", "y-axis").call(mt(D).ticks(6).tickFormat(C)).call((M) => M.select(".domain").remove()), pe.append("g").attr("class", "y-ticks").attr("transform", `translate(${E}, 0)`).call(mt(D).ticks(6).tickSizeInner(E)).call((M) => M.select(".domain").remove()).call((M) => M.selectAll(".tick text").remove()), N && pe.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - U / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N));
|
|
4954
4962
|
let ae;
|
|
4955
|
-
|
|
4963
|
+
h && (ae = xe("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"));
|
|
4956
4964
|
const Ye = pe.selectAll(".segment").data(ne, (M) => `${M.xKey}-${M.key}`);
|
|
4957
4965
|
Ye.exit().remove();
|
|
4958
4966
|
const et = Ye.enter().append("rect").attr("class", "segment").attr("x", (M) => ie(M.xKey)).attr("width", ie.bandwidth()).attr("y", (M) => D(0)).attr("height", 0).attr("fill", (M) => re(M.key)).style(
|
|
4959
4967
|
"cursor",
|
|
4960
|
-
|
|
4968
|
+
y || b || h ? "pointer" : "default"
|
|
4961
4969
|
).merge(Ye);
|
|
4962
|
-
return et.transition().duration(p).attr("x", (M) => ie(M.xKey)).attr("y", (M) => Math.min(D(M.y0), D(M.y1))).attr("height", (M) => Math.abs(D(M.y1) - D(M.y0))), (
|
|
4963
|
-
const
|
|
4964
|
-
|
|
4965
|
-
<strong>${
|
|
4970
|
+
return et.transition().duration(p).attr("x", (M) => ie(M.xKey)).attr("y", (M) => Math.min(D(M.y0), D(M.y1))).attr("height", (M) => Math.abs(D(M.y1) - D(M.y0))), (h || y) && et.on("mouseover", function(M, Y) {
|
|
4971
|
+
const j = Y.value;
|
|
4972
|
+
h && ae && ae.style("visibility", "visible").html(`
|
|
4973
|
+
<strong>${V(Y.key)}</strong><br/>
|
|
4966
4974
|
${Y.xKey}<br/>
|
|
4967
|
-
${C(
|
|
4968
|
-
`), xe(this).style("opacity", 0.8),
|
|
4975
|
+
${C(j)}
|
|
4976
|
+
`), xe(this).style("opacity", 0.8), y && y(M, {
|
|
4969
4977
|
key: Y.key,
|
|
4970
|
-
value:
|
|
4978
|
+
value: j,
|
|
4971
4979
|
data: Y.data
|
|
4972
4980
|
});
|
|
4973
4981
|
}).on("mousemove", function(M) {
|
|
4974
|
-
|
|
4982
|
+
h && ae && ae.style("top", M.pageY - 10 + "px").style("left", M.pageX + 10 + "px");
|
|
4975
4983
|
}).on("mouseout", function() {
|
|
4976
|
-
|
|
4984
|
+
h && ae && ae.style("visibility", "hidden"), xe(this).style("opacity", 1);
|
|
4977
4985
|
}), b && et.on("click", function(M, Y) {
|
|
4978
|
-
const
|
|
4986
|
+
const j = Y.value;
|
|
4979
4987
|
b(M, {
|
|
4980
4988
|
key: Y.key,
|
|
4981
|
-
value:
|
|
4989
|
+
value: j,
|
|
4982
4990
|
data: Y.data
|
|
4983
4991
|
});
|
|
4984
4992
|
}), () => {
|
|
@@ -4988,27 +4996,27 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4988
4996
|
n,
|
|
4989
4997
|
c,
|
|
4990
4998
|
s,
|
|
4991
|
-
|
|
4999
|
+
w,
|
|
4992
5000
|
o,
|
|
4993
|
-
|
|
5001
|
+
f,
|
|
4994
5002
|
a,
|
|
4995
5003
|
l,
|
|
4996
5004
|
u,
|
|
4997
5005
|
g,
|
|
4998
5006
|
C,
|
|
4999
5007
|
p,
|
|
5000
|
-
|
|
5008
|
+
y,
|
|
5001
5009
|
b,
|
|
5002
5010
|
v,
|
|
5003
5011
|
_,
|
|
5004
5012
|
N,
|
|
5005
5013
|
L,
|
|
5006
|
-
|
|
5007
|
-
|
|
5014
|
+
h,
|
|
5015
|
+
k
|
|
5008
5016
|
]), /* @__PURE__ */ i(
|
|
5009
5017
|
"div",
|
|
5010
5018
|
{
|
|
5011
|
-
ref:
|
|
5019
|
+
ref: $,
|
|
5012
5020
|
className: `${Ht.svgContainer} ${d}`,
|
|
5013
5021
|
style: {
|
|
5014
5022
|
width: r,
|
|
@@ -5018,7 +5026,7 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
5018
5026
|
children: /* @__PURE__ */ i(
|
|
5019
5027
|
"svg",
|
|
5020
5028
|
{
|
|
5021
|
-
ref:
|
|
5029
|
+
ref: S,
|
|
5022
5030
|
className: Ht.svg
|
|
5023
5031
|
}
|
|
5024
5032
|
)
|
|
@@ -5107,17 +5115,17 @@ const G1 = "_externalContainer_1er0i_2", X1 = "_externalSintetic_1er0i_9", Q1 =
|
|
|
5107
5115
|
getTotal: u = cr,
|
|
5108
5116
|
columnWidth: g = 50
|
|
5109
5117
|
}) => {
|
|
5110
|
-
const C = l || ((p) => p),
|
|
5111
|
-
return /* @__PURE__ */
|
|
5118
|
+
const C = l || ((p) => p), f = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (a.demanda || "").replace("(", "").replace(")", "") : a[p] || "";
|
|
5119
|
+
return /* @__PURE__ */ m(
|
|
5112
5120
|
"div",
|
|
5113
5121
|
{
|
|
5114
5122
|
className: `${Q.externalContainer} ${d === "sin" ? Q.externalSintetic : ""}`,
|
|
5115
5123
|
children: [
|
|
5116
|
-
o === !0 && /* @__PURE__ */
|
|
5124
|
+
o === !0 && /* @__PURE__ */ m(Ge, { children: [
|
|
5117
5125
|
/* @__PURE__ */ i("div", {}),
|
|
5118
|
-
/* @__PURE__ */ i("div", { className: Q.yearTitles, children: n.map((p,
|
|
5126
|
+
/* @__PURE__ */ i("div", { className: Q.yearTitles, children: n.map((p, y) => /* @__PURE__ */ i("div", { className: Q.yearTitle, style: { width: g }, children: p.anyo }, y)) })
|
|
5119
5127
|
] }),
|
|
5120
|
-
/* @__PURE__ */ i("div", { className: Q.titles, children: c.map((p,
|
|
5128
|
+
/* @__PURE__ */ i("div", { className: Q.titles, children: c.map((p, y) => /* @__PURE__ */ m("div", { className: Q.titleContainer, children: [
|
|
5121
5129
|
C(r[p]),
|
|
5122
5130
|
d !== "sin" && /* @__PURE__ */ i(
|
|
5123
5131
|
"span",
|
|
@@ -5126,23 +5134,23 @@ const G1 = "_externalContainer_1er0i_2", X1 = "_externalSintetic_1er0i_9", Q1 =
|
|
|
5126
5134
|
style: { background: s[p] }
|
|
5127
5135
|
}
|
|
5128
5136
|
)
|
|
5129
|
-
] },
|
|
5130
|
-
t === !0 && /* @__PURE__ */ i("div", { className: Q.totalContainer, children: c.map((p,
|
|
5137
|
+
] }, y)) }),
|
|
5138
|
+
t === !0 && /* @__PURE__ */ i("div", { className: Q.totalContainer, children: c.map((p, y) => {
|
|
5131
5139
|
var b;
|
|
5132
|
-
return /* @__PURE__ */
|
|
5140
|
+
return /* @__PURE__ */ m(
|
|
5133
5141
|
"div",
|
|
5134
5142
|
{
|
|
5135
5143
|
className: `${Q.total} ${u(p, n) > 9999 || u(p, n) < -9999 ? Q.bigNumber : ""}`,
|
|
5136
5144
|
children: [
|
|
5137
5145
|
(b = u(p, n)) == null ? void 0 : b.toLocaleString("es-ES"),
|
|
5138
5146
|
" ",
|
|
5139
|
-
|
|
5147
|
+
f(p)
|
|
5140
5148
|
]
|
|
5141
5149
|
},
|
|
5142
|
-
|
|
5150
|
+
y
|
|
5143
5151
|
);
|
|
5144
5152
|
}) }),
|
|
5145
|
-
/* @__PURE__ */ i("div", { className: Q.yearDatas, children: n.map((p,
|
|
5153
|
+
/* @__PURE__ */ i("div", { className: Q.yearDatas, children: n.map((p, y) => /* @__PURE__ */ i("div", { className: Q.yearDataContainer, style: { width: g }, children: c.map(
|
|
5146
5154
|
(b, v) => {
|
|
5147
5155
|
var _, N;
|
|
5148
5156
|
return isNaN(p[b]) ? null : /* @__PURE__ */ i(
|
|
@@ -5154,7 +5162,7 @@ const G1 = "_externalContainer_1er0i_2", X1 = "_externalSintetic_1er0i_9", Q1 =
|
|
|
5154
5162
|
v
|
|
5155
5163
|
);
|
|
5156
5164
|
}
|
|
5157
|
-
) },
|
|
5165
|
+
) }, y)) })
|
|
5158
5166
|
]
|
|
5159
5167
|
}
|
|
5160
5168
|
);
|
|
@@ -5202,8 +5210,8 @@ const ur = "_speedGraphic_d1k72_2", dt = {
|
|
|
5202
5210
|
}) => {
|
|
5203
5211
|
s < n && (s = n), s > c && (s = c);
|
|
5204
5212
|
const u = (s - n) / (c - n), g = 270 + u * 180, C = t ? Math.round(u * 100) : s;
|
|
5205
|
-
return /* @__PURE__ */
|
|
5206
|
-
/* @__PURE__ */
|
|
5213
|
+
return /* @__PURE__ */ m("div", { className: dt.speedGraphic, children: [
|
|
5214
|
+
/* @__PURE__ */ m(
|
|
5207
5215
|
"svg",
|
|
5208
5216
|
{
|
|
5209
5217
|
width: "244",
|
|
@@ -5308,7 +5316,7 @@ const ur = "_speedGraphic_d1k72_2", dt = {
|
|
|
5308
5316
|
]
|
|
5309
5317
|
}
|
|
5310
5318
|
),
|
|
5311
|
-
/* @__PURE__ */
|
|
5319
|
+
/* @__PURE__ */ m("div", { className: dt.value, children: [
|
|
5312
5320
|
C,
|
|
5313
5321
|
t && "%",
|
|
5314
5322
|
o && o
|
|
@@ -5343,7 +5351,7 @@ const hr = "_header_13kbt_2", mr = "_leftComponents_13kbt_13", gr = "_centerComp
|
|
|
5343
5351
|
backgroundColor: d = "#605B56",
|
|
5344
5352
|
isFooter: a = !1
|
|
5345
5353
|
// If true, it will apply footer styles
|
|
5346
|
-
}) => /* @__PURE__ */
|
|
5354
|
+
}) => /* @__PURE__ */ m(
|
|
5347
5355
|
"div",
|
|
5348
5356
|
{
|
|
5349
5357
|
className: ve.header,
|
|
@@ -5391,7 +5399,7 @@ const br = "_sidebar_1kaqu_2", _r = "_open_1kaqu_16", vr = "_content_1kaqu_20",
|
|
|
5391
5399
|
{
|
|
5392
5400
|
className: `${Ue.sidebar} ${s ? Ue.open : ""}`,
|
|
5393
5401
|
style: { width: s ? n : 0 },
|
|
5394
|
-
children: s && /* @__PURE__ */
|
|
5402
|
+
children: s && /* @__PURE__ */ m("div", { className: Ue.content, children: [
|
|
5395
5403
|
/* @__PURE__ */ i("button", { className: Ue.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: wr, alt: "Close Sidebar" }) }),
|
|
5396
5404
|
c
|
|
5397
5405
|
] })
|
|
@@ -5428,7 +5436,7 @@ export {
|
|
|
5428
5436
|
F1 as Loader,
|
|
5429
5437
|
vi as LogInButton,
|
|
5430
5438
|
jn as LogoApp,
|
|
5431
|
-
|
|
5439
|
+
Kn as MapboxMap,
|
|
5432
5440
|
Yn as MaplibreMap,
|
|
5433
5441
|
l1 as ModalAlert,
|
|
5434
5442
|
Is as RadioButtonInput,
|
|
@@ -5441,7 +5449,7 @@ export {
|
|
|
5441
5449
|
f2 as StatusText,
|
|
5442
5450
|
C2 as Steps,
|
|
5443
5451
|
M1 as Switch,
|
|
5444
|
-
|
|
5452
|
+
qt as TextInput,
|
|
5445
5453
|
mi as TimeSlider,
|
|
5446
5454
|
ue as Tooltip,
|
|
5447
5455
|
yi as TopNavMenu
|