@tmf_ciclica/ciclicastorybook 1.2.11 → 1.2.13
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 +6 -6
- package/dist/index.es.js +854 -840
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
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_bp6cj_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_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitTitle_bp6cj_23{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32{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_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32 ._FiltersAmbitDescriptionTitle_bp6cj_43{font-size:18px;font-weight:600}._FiltersAmbitContainer_bp6cj_2 ._warning_bp6cj_47{color:red}._FiltersAmbitContainer_bp6cj_2 ._buttonContainer_bp6cj_50{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}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_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}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_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_1evjl_2{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_1evjl_2 ._elementNameDate_1evjl_18{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementNameContainer_1evjl_28{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementName_1evjl_18{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementDate_1evjl_43{flex:.5}._listElement_1evjl_2 ._elementButtons_1evjl_46{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1evjl_2 ._elementButtons_1evjl_46 button:disabled{opacity:.5;cursor:default}._listElement_1evjl_2 ._elementButtons_1evjl_46 img{display:inline}._break_1evjl_64{flex-basis:100%;height:0}._moreInfoContainer_1evjl_69 ._moreInfo_1evjl_69{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_gnwec_2{position:relative}._burger_gnwec_6{position:fixed;top:1rem;right:1rem;width:32px;height:32px;display:flex;flex-direction:column;justify-content:space-between;background:none;border:none;padding:0;cursor:pointer;z-index:1000}._burger_gnwec_6 span{display:block;height:4px;border-radius:2px;transition:.3s ease}._open_gnwec_29 span:nth-child(1){transform:translateY(18px) rotate(45deg)}._open_gnwec_29 span:nth-child(2){opacity:0}._open_gnwec_29 span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}._menu_gnwec_41{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;display:flex;flex-direction:column;box-shadow:-2px 0 8px #00000026;animation:_slideIn_gnwec_1 .3s ease forwards;z-index:999}@keyframes _slideIn_gnwec_1{0%{transform:translate(100%)}to{transform:translate(0)}}._close_gnwec_63{align-self:flex-end;background:none;border:none;font-size:24px;cursor:pointer}._list_gnwec_71{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._link_gnwec_80,._button_gnwec_81{text-decoration:none;color:inherit;font-size:18px;border:none;background:none;cursor:pointer}._active_gnwec_90{font-weight:700;border-bottom:3px solid}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1kaqu_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_bp6cj_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_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitTitle_bp6cj_23{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32{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_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32 ._FiltersAmbitDescriptionTitle_bp6cj_43{font-size:18px;font-weight:600}._FiltersAmbitContainer_bp6cj_2 ._warning_bp6cj_47{color:red}._FiltersAmbitContainer_bp6cj_2 ._buttonContainer_bp6cj_50{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}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_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}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_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_1evjl_2{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_1evjl_2 ._elementNameDate_1evjl_18{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementNameContainer_1evjl_28{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementName_1evjl_18{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementDate_1evjl_43{flex:.5}._listElement_1evjl_2 ._elementButtons_1evjl_46{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1evjl_2 ._elementButtons_1evjl_46 button:disabled{opacity:.5;cursor:default}._listElement_1evjl_2 ._elementButtons_1evjl_46 img{display:inline}._break_1evjl_64{flex-basis:100%;height:0}._moreInfoContainer_1evjl_69 ._moreInfo_1evjl_69{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1rwiy_3{position:relative}._burger_1rwiy_8{position:fixed;top:1rem;right:1rem;background:none;border:none;cursor:pointer;z-index:1000}._menu_1rwiy_19{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_1rwiy_33{transform:translate(0)}._menuClose_1rwiy_38{transform:translate(100%);pointer-events:none}._list_1rwiy_44{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1rwiy_54{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease}._menuOpen_1rwiy_33 ._item_1rwiy_54{opacity:1;transform:translate(0)}._menuOpen_1rwiy_33 ._item_1rwiy_54:nth-child(1){transition-delay:.05s}._menuOpen_1rwiy_33 ._item_1rwiy_54:nth-child(2){transition-delay:.1s}._menuOpen_1rwiy_33 ._item_1rwiy_54:nth-child(3){transition-delay:.15s}._menuOpen_1rwiy_33 ._item_1rwiy_54:nth-child(4){transition-delay:.2s}._menuOpen_1rwiy_33 ._item_1rwiy_54:nth-child(5){transition-delay:.25s}._button_1rwiy_88{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1kaqu_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as p, jsx as n, Fragment as Ee } from "react/jsx-runtime";
|
|
3
3
|
import * as me from "react";
|
|
4
|
-
import
|
|
4
|
+
import D, { useState as A, useEffect as F, useMemo as he, useLayoutEffect as Pt, useRef as ae } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as L, Trans as We } from "react-i18next";
|
|
7
7
|
import { motion as Ge } from "framer-motion";
|
|
8
8
|
import { create as Ct } from "zustand";
|
|
9
9
|
import * as Ae from "d3";
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
10
|
+
import Et from "mapbox-gl";
|
|
11
|
+
import { useSelector as jt } from "react-redux";
|
|
12
|
+
import Zt, { Source as zt, Layer as Ht, NavigationControl as Kt, Popup as Ut } from "react-map-gl/mapbox";
|
|
13
13
|
import Ie from "maplibre-gl";
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
14
|
+
import { Protocol as Wt } from "pmtiles";
|
|
15
|
+
import Gt, { Source as Yt, Layer as Xt, NavigationControl as Qt, Popup as Jt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as e2 } from "@reduxjs/toolkit";
|
|
17
|
+
import t2 from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as n2, Box as i2 } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as s2 } from "@emotion/react";
|
|
20
|
+
import { NavLink as o2 } from "react-router-dom";
|
|
21
21
|
const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateContainer_mcunf_23", c2 = "_ambitName_mcunf_39", d2 = "_ambitDate_mcunf_53", u2 = "_buttonsContainer_mcunf_67", p2 = "_ambitListContainer_mcunf_76", m2 = "_newAmbitButtonContainer_mcunf_80", Y = {
|
|
22
22
|
ambitSelector: r2,
|
|
23
23
|
header: a2,
|
|
@@ -33,7 +33,7 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
33
33
|
ambitName: C2,
|
|
34
34
|
ambitDate: f2,
|
|
35
35
|
ambitButtons: b2
|
|
36
|
-
}, y2 = "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", _2 = "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", v2 = "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", w2 = "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", x2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", N2 = "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", bt = ({
|
|
36
|
+
}, y2 = "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", _2 = "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", v2 = "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", w2 = "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", x2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", N2 = "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", ft = ({
|
|
37
37
|
ambit: i,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
@@ -44,14 +44,14 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: h, id: m, isBeingProcessed: y } = i;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: ge.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className: ge.ambitNameDate, onClick: () => t(
|
|
54
|
+
/* @__PURE__ */ p("div", { className: ge.ambitNameDate, onClick: () => t(m), children: [
|
|
55
55
|
/* @__PURE__ */ p("div", { className: ge.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ n(
|
|
57
57
|
"img",
|
|
@@ -62,19 +62,19 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ n("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ n("div", { className: ge.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ n("div", { className: ge.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: ge.ambitButtons, children: [
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ n("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ n("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ n("button", { onClick: () => s(
|
|
68
|
+
y && /* @__PURE__ */ n("img", { src: w2 }),
|
|
69
|
+
/* @__PURE__ */ n("button", { onClick: () => o(m), disabled: i.is_default, children: /* @__PURE__ */ n("img", { src: v2 }) }),
|
|
70
|
+
/* @__PURE__ */ n("button", { onClick: () => d(m), children: /* @__PURE__ */ n("img", { src: _2 }) }),
|
|
71
|
+
/* @__PURE__ */ n("button", { onClick: () => s(m), disabled: i.is_default, children: /* @__PURE__ */ n("img", { src: y2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
ft.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -129,19 +129,19 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
129
129
|
buttonContainerStyles: a = {},
|
|
130
130
|
containerStyles: c = {},
|
|
131
131
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
132
|
-
onClickCopy:
|
|
133
|
-
onCLickDelete:
|
|
134
|
-
onClickFilters:
|
|
135
|
-
onClickAmbit:
|
|
132
|
+
onClickCopy: h = (b) => console.log(`Copy ambit: ${b}`),
|
|
133
|
+
onCLickDelete: m = (b) => console.log(`Delete ambit: ${b}`),
|
|
134
|
+
onClickFilters: y = (b) => console.log(`Filters clicked: ${b}`),
|
|
135
|
+
onClickAmbit: g = (b) => console.log(`OnCLickAmbit: ${b}`)
|
|
136
136
|
}) => {
|
|
137
|
-
const { t:
|
|
138
|
-
|
|
137
|
+
const { t: b } = L(), [v, _] = A(i);
|
|
138
|
+
F(() => {
|
|
139
139
|
i && _(i);
|
|
140
140
|
}, [i]);
|
|
141
|
-
const
|
|
142
|
-
if (
|
|
143
|
-
let
|
|
144
|
-
|
|
141
|
+
const f = (C) => {
|
|
142
|
+
if (v && v.length > 0) {
|
|
143
|
+
let N = [...v];
|
|
144
|
+
N.sort((w, x) => w[C].localeCompare(x[C])), _(N);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
return /* @__PURE__ */ p(
|
|
@@ -157,12 +157,12 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
157
157
|
style: { borderBottom: `1px solid ${s}` },
|
|
158
158
|
children: [
|
|
159
159
|
/* @__PURE__ */ p("div", { className: Y.nameDateContainer, children: [
|
|
160
|
-
/* @__PURE__ */ n("div", { className: Y.ambitName, children: /* @__PURE__ */ p("button", { onClick: () =>
|
|
161
|
-
/* @__PURE__ */ n("span", { children:
|
|
160
|
+
/* @__PURE__ */ n("div", { className: Y.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
161
|
+
/* @__PURE__ */ n("span", { children: b(t) }),
|
|
162
162
|
/* @__PURE__ */ n("img", { src: Je })
|
|
163
163
|
] }) }),
|
|
164
|
-
/* @__PURE__ */ n("div", { className: Y.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () =>
|
|
165
|
-
/* @__PURE__ */ n("span", { children:
|
|
164
|
+
/* @__PURE__ */ n("div", { className: Y.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
165
|
+
/* @__PURE__ */ n("span", { children: b(r) }),
|
|
166
166
|
/* @__PURE__ */ n("img", { src: Je })
|
|
167
167
|
] }) })
|
|
168
168
|
] }),
|
|
@@ -170,19 +170,19 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
170
170
|
]
|
|
171
171
|
}
|
|
172
172
|
),
|
|
173
|
-
/* @__PURE__ */ n("div", { className: Y.ambitListContainer, children:
|
|
174
|
-
|
|
173
|
+
/* @__PURE__ */ n("div", { className: Y.ambitListContainer, children: v && v.length > 0 && v.map((C) => /* @__PURE__ */ n(
|
|
174
|
+
ft,
|
|
175
175
|
{
|
|
176
|
-
isActive: d ==
|
|
177
|
-
ambit:
|
|
176
|
+
isActive: d == C.id,
|
|
177
|
+
ambit: C,
|
|
178
178
|
fontColor: s,
|
|
179
179
|
activeColor: o,
|
|
180
|
-
onClickCopy:
|
|
181
|
-
onClickDelete:
|
|
182
|
-
onClickFilters:
|
|
183
|
-
onClickAmbit:
|
|
180
|
+
onClickCopy: h,
|
|
181
|
+
onClickDelete: m,
|
|
182
|
+
onClickFilters: y,
|
|
183
|
+
onClickAmbit: g
|
|
184
184
|
},
|
|
185
|
-
`ambitKey${
|
|
185
|
+
`ambitKey${C.id}`
|
|
186
186
|
)) }),
|
|
187
187
|
/* @__PURE__ */ n("div", { className: Y.newAmbitButtonContainer, children: /* @__PURE__ */ n(
|
|
188
188
|
Fe,
|
|
@@ -190,7 +190,7 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
190
190
|
style: { ...a },
|
|
191
191
|
onClick: u,
|
|
192
192
|
borderColor: "grey",
|
|
193
|
-
children:
|
|
193
|
+
children: b(l)
|
|
194
194
|
}
|
|
195
195
|
) })
|
|
196
196
|
]
|
|
@@ -257,28 +257,28 @@ const q2 = ({
|
|
|
257
257
|
children: i.map((a, c) => {
|
|
258
258
|
const {
|
|
259
259
|
icon: u,
|
|
260
|
-
activeIcon:
|
|
261
|
-
isActive:
|
|
262
|
-
name:
|
|
263
|
-
onClick:
|
|
264
|
-
disabled:
|
|
265
|
-
} = a,
|
|
266
|
-
s && o === "left" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(
|
|
267
|
-
/* @__PURE__ */ n("img", { src:
|
|
268
|
-
s && o === "right" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(
|
|
260
|
+
activeIcon: h,
|
|
261
|
+
isActive: m,
|
|
262
|
+
name: y,
|
|
263
|
+
onClick: g,
|
|
264
|
+
disabled: b
|
|
265
|
+
} = a, v = /* @__PURE__ */ p(Ee, { children: [
|
|
266
|
+
s && o === "left" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(y) }),
|
|
267
|
+
/* @__PURE__ */ n("img", { src: m ? h : u, alt: l(y) }),
|
|
268
|
+
s && o === "right" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(y) })
|
|
269
269
|
] });
|
|
270
270
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
271
271
|
/* @__PURE__ */ n(
|
|
272
272
|
"button",
|
|
273
273
|
{
|
|
274
|
-
onClick:
|
|
274
|
+
onClick: g,
|
|
275
275
|
className: `${ee.button}
|
|
276
|
-
${
|
|
277
|
-
disabled:
|
|
278
|
-
children:
|
|
276
|
+
${m && ee.active}`,
|
|
277
|
+
disabled: b,
|
|
278
|
+
children: v
|
|
279
279
|
}
|
|
280
280
|
),
|
|
281
|
-
t && /* @__PURE__ */ n(re, { text:
|
|
281
|
+
t && /* @__PURE__ */ n(re, { text: y, position: r })
|
|
282
282
|
] }, c);
|
|
283
283
|
})
|
|
284
284
|
}
|
|
@@ -319,9 +319,9 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
319
319
|
titleFontStyles: a,
|
|
320
320
|
showBottomBar: c = !0,
|
|
321
321
|
titleMarginChildren: u = 15,
|
|
322
|
-
mainTitle:
|
|
322
|
+
mainTitle: h = !1
|
|
323
323
|
}) => {
|
|
324
|
-
const { t:
|
|
324
|
+
const { t: m } = L();
|
|
325
325
|
return /* @__PURE__ */ p(
|
|
326
326
|
Ge.div,
|
|
327
327
|
{
|
|
@@ -332,7 +332,7 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
332
332
|
style: {
|
|
333
333
|
backgroundColor: "white",
|
|
334
334
|
borderBottom: i && c ? `1px solid ${t}` : "0px",
|
|
335
|
-
minHeight:
|
|
335
|
+
minHeight: h ? "70px" : "50px"
|
|
336
336
|
},
|
|
337
337
|
children: [
|
|
338
338
|
/* @__PURE__ */ p(
|
|
@@ -342,15 +342,15 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
342
342
|
...a
|
|
343
343
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
344
344
|
},
|
|
345
|
-
className: `${ke.title} ${
|
|
345
|
+
className: `${ke.title} ${h && ke.mainTitle}`,
|
|
346
346
|
onClick: d,
|
|
347
347
|
children: [
|
|
348
348
|
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children: i ? "-" : "+" }),
|
|
349
|
-
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children:
|
|
349
|
+
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children: m(r) })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
),
|
|
353
|
-
/* @__PURE__ */ n("div", { className: ke.content, style: { padding:
|
|
353
|
+
/* @__PURE__ */ n("div", { className: ke.content, style: { padding: h ? "20px 0px" : "0px" }, children: s })
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
356
|
);
|
|
@@ -366,7 +366,7 @@ le.propTypes = {
|
|
|
366
366
|
showBottomBar: e.bool,
|
|
367
367
|
titleFontStyles: e.object
|
|
368
368
|
};
|
|
369
|
-
const
|
|
369
|
+
const $s = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "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", z2 = "_AppliedFiltersContainer_cokx9_2", H2 = "_AppliedFilterContent_cokx9_11", et = {
|
|
370
370
|
AppliedFiltersContainer: z2,
|
|
371
371
|
AppliedFilterContent: H2
|
|
372
372
|
}, M = Ct((i) => ({
|
|
@@ -378,11 +378,11 @@ const Ss = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "data
|
|
|
378
378
|
inputsColor: "#605B56",
|
|
379
379
|
activeFiltersType: null,
|
|
380
380
|
geoLayers: []
|
|
381
|
-
})),
|
|
382
|
-
const { t: a } = L(), { tematicalFiltersSelected: c, activeFiltersType: u } = M((
|
|
383
|
-
M.setState((
|
|
384
|
-
tematicalFiltersSelected:
|
|
385
|
-
(
|
|
381
|
+
})), bt = ({ title: i, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r, fontColor: l = "#605B56" }) => {
|
|
382
|
+
const { t: a } = L(), { tematicalFiltersSelected: c, activeFiltersType: u } = M((y) => y), h = (y) => {
|
|
383
|
+
M.setState((g) => ({
|
|
384
|
+
tematicalFiltersSelected: g.tematicalFiltersSelected.filter(
|
|
385
|
+
(b) => b.code !== y
|
|
386
386
|
)
|
|
387
387
|
}));
|
|
388
388
|
};
|
|
@@ -397,14 +397,14 @@ const Ss = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "data
|
|
|
397
397
|
activeColor: r,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: l,
|
|
400
|
-
children: /* @__PURE__ */ n("div", { className: et.AppliedFiltersContainer, children: c == null ? void 0 : c.map((
|
|
401
|
-
a(
|
|
402
|
-
/* @__PURE__ */ n("img", { src: Z2, alt: "CloseIcon", onClick: () =>
|
|
403
|
-
] },
|
|
400
|
+
children: /* @__PURE__ */ n("div", { className: et.AppliedFiltersContainer, children: c == null ? void 0 : c.map((y, g) => /* @__PURE__ */ p("div", { className: et.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
401
|
+
a(y.name),
|
|
402
|
+
/* @__PURE__ */ n("img", { src: Z2, alt: "CloseIcon", onClick: () => h(y.code), style: { cursor: "pointer" } })
|
|
403
|
+
] }, g)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
};
|
|
407
|
-
|
|
407
|
+
bt.propTypes = {
|
|
408
408
|
isOpen: e.bool,
|
|
409
409
|
onClick: e.func,
|
|
410
410
|
title: e.string,
|
|
@@ -421,7 +421,7 @@ yt.propTypes = {
|
|
|
421
421
|
const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
422
422
|
layersList: K2,
|
|
423
423
|
layerName: U2
|
|
424
|
-
},
|
|
424
|
+
}, yt = ({
|
|
425
425
|
title: i,
|
|
426
426
|
isOpen: d = !0,
|
|
427
427
|
fontColor: s = "#605B56",
|
|
@@ -429,17 +429,17 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
429
429
|
activeColor: t,
|
|
430
430
|
onGeoLayersChange: r
|
|
431
431
|
}) => {
|
|
432
|
-
const { t: l } = L(), { activeFiltersType: a, geoLayers: c } = M((
|
|
432
|
+
const { t: l } = L(), { activeFiltersType: a, geoLayers: c } = M((m) => m), u = () => {
|
|
433
433
|
a == "geographical" ? M.setState(() => ({ activeFiltersType: null })) : M.setState(() => ({ activeFiltersType: "geographical" }));
|
|
434
|
-
},
|
|
435
|
-
M.setState((
|
|
436
|
-
geoLayers:
|
|
437
|
-
...
|
|
438
|
-
active:
|
|
434
|
+
}, h = (m) => {
|
|
435
|
+
M.setState((y) => ({
|
|
436
|
+
geoLayers: y.geoLayers.map((g) => ({
|
|
437
|
+
...g,
|
|
438
|
+
active: g.name === m.name
|
|
439
439
|
}))
|
|
440
440
|
})), r(c);
|
|
441
441
|
};
|
|
442
|
-
return
|
|
442
|
+
return F(() => {
|
|
443
443
|
r && r(c);
|
|
444
444
|
}, [c]), /* @__PURE__ */ n(
|
|
445
445
|
le,
|
|
@@ -450,22 +450,22 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
450
450
|
activeColor: t,
|
|
451
451
|
color: s,
|
|
452
452
|
mainTitle: !0,
|
|
453
|
-
children: /* @__PURE__ */ n("div", { className: `${tt.layersList}`, children: c.map((
|
|
453
|
+
children: /* @__PURE__ */ n("div", { className: `${tt.layersList}`, children: c.map((m) => /* @__PURE__ */ p(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
456
|
className: `${tt.layerName}`,
|
|
457
|
-
style: { color:
|
|
458
|
-
onClick: () =>
|
|
457
|
+
style: { color: m.active ? t : s, fontWeight: m.active ? "bold" : "normal" },
|
|
458
|
+
onClick: () => h(m),
|
|
459
459
|
children: [
|
|
460
|
-
l(
|
|
461
|
-
|
|
460
|
+
l(m.name),
|
|
461
|
+
m.active
|
|
462
462
|
]
|
|
463
463
|
}
|
|
464
464
|
)) })
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
yt.propTypes = {
|
|
469
469
|
isOpen: e.bool,
|
|
470
470
|
onClick: e.func,
|
|
471
471
|
title: e.string,
|
|
@@ -475,7 +475,7 @@ _t.propTypes = {
|
|
|
475
475
|
};
|
|
476
476
|
const W2 = "_checkboxContainer_1nxra_2", G2 = {
|
|
477
477
|
checkboxContainer: W2
|
|
478
|
-
},
|
|
478
|
+
}, _t = ({
|
|
479
479
|
onClick: i,
|
|
480
480
|
containerStyles: d,
|
|
481
481
|
color: s = "#605B56",
|
|
@@ -509,7 +509,7 @@ const W2 = "_checkboxContainer_1nxra_2", G2 = {
|
|
|
509
509
|
}
|
|
510
510
|
);
|
|
511
511
|
};
|
|
512
|
-
|
|
512
|
+
_t.propTypes = {
|
|
513
513
|
onClick: e.func,
|
|
514
514
|
value: e.bool,
|
|
515
515
|
containerStyles: e.object,
|
|
@@ -566,19 +566,19 @@ let ze = function(i) {
|
|
|
566
566
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
567
567
|
}, t.onMouseMove = (a) => {
|
|
568
568
|
t.setState({ pending: !0 });
|
|
569
|
-
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]),
|
|
570
|
-
t.move(
|
|
569
|
+
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
570
|
+
t.move(h);
|
|
571
571
|
}, t.onTouchMove = (a) => {
|
|
572
572
|
if (a.touches.length > 1) return;
|
|
573
573
|
t.setState({ pending: !0 });
|
|
574
574
|
const c = t.getTouchPosition(a);
|
|
575
575
|
if (t.isScrolling === void 0) {
|
|
576
|
-
const
|
|
577
|
-
t.isScrolling = Math.abs(
|
|
576
|
+
const m = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
|
|
577
|
+
t.isScrolling = Math.abs(y) > Math.abs(m);
|
|
578
578
|
}
|
|
579
579
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
580
|
-
const u = t.getDiffPosition(c[0]),
|
|
581
|
-
t.move(
|
|
580
|
+
const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
581
|
+
t.move(h);
|
|
582
582
|
}, t.onKeyDown = (a) => {
|
|
583
583
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
584
584
|
case "ArrowLeft":
|
|
@@ -631,8 +631,8 @@ let ze = function(i) {
|
|
|
631
631
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
632
632
|
t.setState({ pending: !0 });
|
|
633
633
|
const u = t.getTouchPosition(c);
|
|
634
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), $e(t.getTouchEventMap()), function(
|
|
635
|
-
|
|
634
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), $e(t.getTouchEventMap()), function(h) {
|
|
635
|
+
h.stopPropagation && h.stopPropagation();
|
|
636
636
|
}(c);
|
|
637
637
|
}, t.handleResize = () => {
|
|
638
638
|
const a = window.setTimeout(() => {
|
|
@@ -640,19 +640,19 @@ let ze = function(i) {
|
|
|
640
640
|
}, 0);
|
|
641
641
|
t.pendingResizeTimeouts.push(a);
|
|
642
642
|
}, t.renderThumb = (a, c) => {
|
|
643
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
644
|
-
t["thumb" + c] =
|
|
645
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
646
|
-
return t.props.ariaValuetext && (
|
|
643
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (y) => {
|
|
644
|
+
t["thumb" + c] = y;
|
|
645
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value: Se(t.state.value), valueNow: t.state.value[c] };
|
|
646
|
+
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(h, m);
|
|
647
647
|
}, t.renderTrack = (a, c, u) => {
|
|
648
|
-
const
|
|
649
|
-
return t.props.renderTrack(
|
|
648
|
+
const h = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value: Se(t.state.value) };
|
|
649
|
+
return t.props.renderTrack(h, m);
|
|
650
650
|
};
|
|
651
651
|
let r = Re(o.value);
|
|
652
652
|
r.length || (r = Re(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
653
653
|
const l = [];
|
|
654
654
|
for (let a = 0; a < r.length; a += 1) r[a] = te(r[a], o), l.push(a);
|
|
655
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
655
|
+
return t.resizeObserver = null, t.resizeElementRef = D.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
656
656
|
}
|
|
657
657
|
Y2(d, i);
|
|
658
658
|
var s = d.prototype;
|
|
@@ -677,8 +677,8 @@ let ze = function(i) {
|
|
|
677
677
|
let t = Number.MAX_VALUE, r = -1;
|
|
678
678
|
const { value: l } = this.state, a = l.length;
|
|
679
679
|
for (let c = 0; c < a; c += 1) {
|
|
680
|
-
const u = this.calcOffset(l[c]),
|
|
681
|
-
|
|
680
|
+
const u = this.calcOffset(l[c]), h = Math.abs(o - u);
|
|
681
|
+
h < t && (t = h, r = c);
|
|
682
682
|
}
|
|
683
683
|
return r;
|
|
684
684
|
}, s.getMousePosition = function(o) {
|
|
@@ -701,8 +701,8 @@ let ze = function(i) {
|
|
|
701
701
|
}, s.resize = function() {
|
|
702
702
|
const { slider: o, thumb0: t } = this;
|
|
703
703
|
if (!o || !t) return;
|
|
704
|
-
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()],
|
|
705
|
-
this.state.upperBound ===
|
|
704
|
+
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - h, y = Math.abs(c - u);
|
|
705
|
+
this.state.upperBound === m && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: m, sliderLength: y, thumbSize: h });
|
|
706
706
|
}, s.calcOffset = function(o) {
|
|
707
707
|
const t = this.props.max - this.props.min;
|
|
708
708
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -741,28 +741,28 @@ let ze = function(i) {
|
|
|
741
741
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
742
742
|
if (o === a) return;
|
|
743
743
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
744
|
-
const { pearling: c, max: u, min:
|
|
744
|
+
const { pearling: c, max: u, min: h, minDistance: m } = this.props;
|
|
745
745
|
if (!c) {
|
|
746
746
|
if (r > 0) {
|
|
747
|
-
const
|
|
748
|
-
o <
|
|
747
|
+
const y = t[r - 1];
|
|
748
|
+
o < y + m && (o = y + m);
|
|
749
749
|
}
|
|
750
750
|
if (r < l - 1) {
|
|
751
|
-
const
|
|
752
|
-
o >
|
|
751
|
+
const y = t[r + 1];
|
|
752
|
+
o > y - m && (o = y - m);
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t,
|
|
756
|
-
for (let _ = 0; _ <
|
|
757
|
-
const
|
|
758
|
-
|
|
755
|
+
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t, m, r), function(y, g, b, v) {
|
|
756
|
+
for (let _ = 0; _ < y; _ += 1) {
|
|
757
|
+
const f = v - _ * b;
|
|
758
|
+
g[y - 1 - _] > f && (g[y - 1 - _] = f);
|
|
759
759
|
}
|
|
760
|
-
}(l, t,
|
|
761
|
-
for (let _ = 0; _ <
|
|
762
|
-
const
|
|
763
|
-
|
|
760
|
+
}(l, t, m, u)) : o < a && (this.pushPreceding(t, m, r), function(y, g, b, v) {
|
|
761
|
+
for (let _ = 0; _ < y; _ += 1) {
|
|
762
|
+
const f = v + _ * b;
|
|
763
|
+
g[_] < f && (g[_] = f);
|
|
764
764
|
}
|
|
765
|
-
}(l, t,
|
|
765
|
+
}(l, t, m, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
766
766
|
}, s.pushSucceeding = function(o, t, r) {
|
|
767
767
|
let l, a;
|
|
768
768
|
for (l = r, a = o[l] + t; o[l + 1] !== null && a > o[l + 1]; l += 1, a = o[l] + t) o[l + 1] = Ze(a, this.props);
|
|
@@ -811,12 +811,12 @@ let ze = function(i) {
|
|
|
811
811
|
const o = [], { value: t } = this.state, r = t.length;
|
|
812
812
|
for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
|
|
813
813
|
const l = this.props.withTracks ? this.renderTracks(o) : null, a = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
|
|
814
|
-
return
|
|
814
|
+
return D.createElement("div", { ref: (u) => {
|
|
815
815
|
this.slider = u, this.resizeElementRef.current = u;
|
|
816
816
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
817
817
|
}, d;
|
|
818
|
-
}(
|
|
819
|
-
ze.displayName = "ReactSlider", ze.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (i) =>
|
|
818
|
+
}(D.Component);
|
|
819
|
+
ze.displayName = "ReactSlider", ze.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (i) => D.createElement("div", i), renderTrack: (i) => D.createElement("div", i), renderMark: (i) => D.createElement("span", i) };
|
|
820
820
|
var He = ze;
|
|
821
821
|
const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_11", e0 = "_thumb_4u41i_17", t0 = "_track_4u41i_26", n0 = "_labels_4u41i_32", ce = {
|
|
822
822
|
container: X2,
|
|
@@ -825,7 +825,7 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
825
825
|
thumb: e0,
|
|
826
826
|
track: t0,
|
|
827
827
|
labels: n0
|
|
828
|
-
},
|
|
828
|
+
}, vt = ({
|
|
829
829
|
min: i = 0,
|
|
830
830
|
max: d = 100,
|
|
831
831
|
step: s = 1,
|
|
@@ -836,11 +836,11 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
836
836
|
defaultValue: a,
|
|
837
837
|
isDate: c
|
|
838
838
|
}) => {
|
|
839
|
-
const { t: u } = L(),
|
|
840
|
-
|
|
839
|
+
const { t: u } = L(), h = c ? new Date(i).getTime() : null, m = c ? new Date(d).getTime() : null, [y, g] = A(c ? [h, m] : [i, d]), b = (v) => {
|
|
840
|
+
g(v), o == null || o({ min: v[0], max: v[1] });
|
|
841
841
|
};
|
|
842
|
-
return
|
|
843
|
-
a ||
|
|
842
|
+
return F(() => {
|
|
843
|
+
a || g(c ? [h, m] : [i, d]);
|
|
844
844
|
}, [a, c]), /* @__PURE__ */ p(
|
|
845
845
|
"div",
|
|
846
846
|
{
|
|
@@ -854,33 +854,33 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
854
854
|
className: ce.slider,
|
|
855
855
|
thumbClassName: ce.thumb,
|
|
856
856
|
trackClassName: ce.track,
|
|
857
|
-
min: c ?
|
|
858
|
-
max: c ?
|
|
859
|
-
step: c ? (
|
|
860
|
-
value:
|
|
861
|
-
onAfterChange:
|
|
857
|
+
min: c ? h : i,
|
|
858
|
+
max: c ? m : d,
|
|
859
|
+
step: c ? (m - h) / 30 : s,
|
|
860
|
+
value: y,
|
|
861
|
+
onAfterChange: b,
|
|
862
862
|
withTracks: !0,
|
|
863
863
|
pearling: !c,
|
|
864
864
|
minDistance: c ? 0 : 0.1
|
|
865
865
|
}
|
|
866
866
|
),
|
|
867
867
|
/* @__PURE__ */ p("div", { className: ce.labels, children: [
|
|
868
|
-
/* @__PURE__ */ n("span", { children: c ? new Date(
|
|
868
|
+
/* @__PURE__ */ n("span", { children: c ? new Date(y[0]).toLocaleDateString("en-EN", {
|
|
869
869
|
day: "2-digit",
|
|
870
870
|
month: "short",
|
|
871
871
|
year: "numeric"
|
|
872
|
-
}) :
|
|
873
|
-
/* @__PURE__ */ n("span", { children: c ? new Date(
|
|
872
|
+
}) : y[0] }),
|
|
873
|
+
/* @__PURE__ */ n("span", { children: c ? new Date(y[1]).toLocaleDateString("en-EN", {
|
|
874
874
|
day: "2-digit",
|
|
875
875
|
month: "short",
|
|
876
876
|
year: "numeric"
|
|
877
|
-
}) :
|
|
877
|
+
}) : y[1] })
|
|
878
878
|
] })
|
|
879
879
|
]
|
|
880
880
|
}
|
|
881
881
|
);
|
|
882
882
|
};
|
|
883
|
-
|
|
883
|
+
vt.propTypes = {
|
|
884
884
|
min: e.number,
|
|
885
885
|
max: e.number,
|
|
886
886
|
step: e.number,
|
|
@@ -902,32 +902,32 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
902
902
|
//onChangeBothType
|
|
903
903
|
activeColor: d
|
|
904
904
|
}) => {
|
|
905
|
-
const [s, o] =
|
|
905
|
+
const [s, o] = A(), {
|
|
906
906
|
type: t,
|
|
907
907
|
name: r,
|
|
908
908
|
values: l,
|
|
909
909
|
minValue: a,
|
|
910
910
|
maxValue: c,
|
|
911
911
|
unit: u,
|
|
912
|
-
step:
|
|
913
|
-
disabled:
|
|
914
|
-
isDate:
|
|
915
|
-
} = i || {},
|
|
912
|
+
step: h,
|
|
913
|
+
disabled: m,
|
|
914
|
+
isDate: y
|
|
915
|
+
} = i || {}, g = he(
|
|
916
916
|
() => t == "cat" || s == "cat",
|
|
917
917
|
[s, t]
|
|
918
|
-
),
|
|
918
|
+
), b = he(
|
|
919
919
|
() => t == "abs" || s == "abs",
|
|
920
920
|
[s, t]
|
|
921
921
|
), {
|
|
922
|
-
tematicalFiltersSelected:
|
|
922
|
+
tematicalFiltersSelected: v,
|
|
923
923
|
selectedIndicator: _,
|
|
924
|
-
fontColor:
|
|
925
|
-
inputsColor:
|
|
926
|
-
} = M((
|
|
927
|
-
if (
|
|
928
|
-
const { min: S, max: $, valueClicked: k, allValues: B } =
|
|
929
|
-
let Z =
|
|
930
|
-
H == "both" && (Z = j == "cat" ?
|
|
924
|
+
fontColor: f,
|
|
925
|
+
inputsColor: C
|
|
926
|
+
} = M((x) => x), N = (x) => {
|
|
927
|
+
if (x) {
|
|
928
|
+
const { min: S, max: $, valueClicked: k, allValues: B } = x || {}, { code: V, type: H, source: T } = i || {}, j = b ? "abs" : g ? "cat" : "both";
|
|
929
|
+
let Z = V[0];
|
|
930
|
+
H == "both" && (Z = j == "cat" ? V[1] : V[0]), j == "cat" ? M.setState((J) => {
|
|
931
931
|
let G = J.tematicalFiltersSelected.find(
|
|
932
932
|
(q) => q.code === Z
|
|
933
933
|
);
|
|
@@ -945,17 +945,17 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
945
945
|
)
|
|
946
946
|
};
|
|
947
947
|
} else {
|
|
948
|
-
let q = B.map((E,
|
|
948
|
+
let q = B.map((E, qt) => qt);
|
|
949
949
|
return {
|
|
950
950
|
tematicalFiltersSelected: [
|
|
951
|
-
...
|
|
951
|
+
...v,
|
|
952
952
|
{
|
|
953
953
|
type: "cat",
|
|
954
954
|
code: Z,
|
|
955
955
|
values: q.filter((E) => E !== k),
|
|
956
956
|
name: i.name,
|
|
957
957
|
source: T,
|
|
958
|
-
isDate:
|
|
958
|
+
isDate: y
|
|
959
959
|
}
|
|
960
960
|
]
|
|
961
961
|
};
|
|
@@ -971,7 +971,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
971
971
|
)
|
|
972
972
|
};
|
|
973
973
|
if (G) {
|
|
974
|
-
let q = { ...G, min: S, max: $, type: j, isDate:
|
|
974
|
+
let q = { ...G, min: S, max: $, type: j, isDate: y };
|
|
975
975
|
return {
|
|
976
976
|
tematicalFiltersSelected: J.tematicalFiltersSelected.map(
|
|
977
977
|
(E) => E.code === Z ? q : E
|
|
@@ -980,7 +980,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
980
980
|
} else
|
|
981
981
|
return {
|
|
982
982
|
tematicalFiltersSelected: [
|
|
983
|
-
...
|
|
983
|
+
...v,
|
|
984
984
|
{
|
|
985
985
|
type: j,
|
|
986
986
|
code: Z,
|
|
@@ -994,24 +994,24 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
994
994
|
});
|
|
995
995
|
}
|
|
996
996
|
}, w = he(() => {
|
|
997
|
-
const
|
|
998
|
-
if ((
|
|
999
|
-
for (const S of
|
|
1000
|
-
S.type === "cat" ?
|
|
1001
|
-
return
|
|
1002
|
-
}, [
|
|
997
|
+
const x = {};
|
|
998
|
+
if ((v == null ? void 0 : v.length) > 0)
|
|
999
|
+
for (const S of v)
|
|
1000
|
+
S.type === "cat" ? x[S.code] = new Set(S.values) : x[S.code] = [S.min, S.max];
|
|
1001
|
+
return x;
|
|
1002
|
+
}, [v]);
|
|
1003
1003
|
return /* @__PURE__ */ n("div", { className: Be.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
1004
1004
|
le,
|
|
1005
1005
|
{
|
|
1006
1006
|
titleFontStyles: {
|
|
1007
1007
|
fontSize: 16,
|
|
1008
1008
|
fontWeight: 400,
|
|
1009
|
-
opacity:
|
|
1009
|
+
opacity: m ? 0.5 : 1
|
|
1010
1010
|
},
|
|
1011
1011
|
title: r,
|
|
1012
1012
|
isOpen: _ == `id${r}`,
|
|
1013
1013
|
onClick: () => {
|
|
1014
|
-
|
|
1014
|
+
m || M.setState(() => ({
|
|
1015
1015
|
selectedIndicator: _ == `id${r}` ? "" : `id${r}`
|
|
1016
1016
|
}));
|
|
1017
1017
|
},
|
|
@@ -1019,14 +1019,14 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1019
1019
|
height: 42,
|
|
1020
1020
|
titleMarginChildren: 14,
|
|
1021
1021
|
className: "tematicalFiltersInputContainer",
|
|
1022
|
-
color:
|
|
1022
|
+
color: f,
|
|
1023
1023
|
activeColor: d,
|
|
1024
1024
|
children: [
|
|
1025
1025
|
t == "both" && /* @__PURE__ */ p(
|
|
1026
1026
|
"div",
|
|
1027
1027
|
{
|
|
1028
1028
|
className: Be.inputTypeContainer,
|
|
1029
|
-
style: { color:
|
|
1029
|
+
style: { color: f },
|
|
1030
1030
|
children: [
|
|
1031
1031
|
/* @__PURE__ */ p("label", { children: [
|
|
1032
1032
|
/* @__PURE__ */ n(
|
|
@@ -1040,8 +1040,8 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1040
1040
|
},
|
|
1041
1041
|
style: {
|
|
1042
1042
|
marginRight: 4,
|
|
1043
|
-
backgroundColor: s == "abs" ?
|
|
1044
|
-
border: `1.5px solid ${s == "abs" ?
|
|
1043
|
+
backgroundColor: s == "abs" ? C : "white",
|
|
1044
|
+
border: `1.5px solid ${s == "abs" ? C : f}`
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
),
|
|
@@ -1059,8 +1059,8 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1059
1059
|
},
|
|
1060
1060
|
style: {
|
|
1061
1061
|
marginRight: 4,
|
|
1062
|
-
backgroundColor: s == "cat" ?
|
|
1063
|
-
border: `1.5px solid ${s == "cat" ?
|
|
1062
|
+
backgroundColor: s == "cat" ? C : "white",
|
|
1063
|
+
border: `1.5px solid ${s == "cat" ? C : f}`
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
),
|
|
@@ -1069,28 +1069,28 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1069
1069
|
]
|
|
1070
1070
|
}
|
|
1071
1071
|
),
|
|
1072
|
-
|
|
1072
|
+
g && /* @__PURE__ */ n("div", { className: Be.checkboxContainer, children: l.map((x, S) => {
|
|
1073
1073
|
var $;
|
|
1074
1074
|
return /* @__PURE__ */ n(
|
|
1075
|
-
|
|
1075
|
+
_t,
|
|
1076
1076
|
{
|
|
1077
|
-
onClick: () =>
|
|
1078
|
-
indicator:
|
|
1077
|
+
onClick: () => N({ valueClicked: S, allValues: l }),
|
|
1078
|
+
indicator: x,
|
|
1079
1079
|
value: (($ = w[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : $.has(S)) || !w[i.code[t == "both" ? 1 : 0]]
|
|
1080
1080
|
},
|
|
1081
1081
|
`checkbox-${S}`
|
|
1082
1082
|
);
|
|
1083
1083
|
}) }),
|
|
1084
|
-
(
|
|
1085
|
-
|
|
1084
|
+
(b || t == "glb") && /* @__PURE__ */ n("div", { className: Be.absoluteSliderContainer, children: /* @__PURE__ */ n(
|
|
1085
|
+
vt,
|
|
1086
1086
|
{
|
|
1087
|
-
onChange:
|
|
1087
|
+
onChange: N,
|
|
1088
1088
|
min: a,
|
|
1089
1089
|
max: c,
|
|
1090
1090
|
unit: u,
|
|
1091
1091
|
defaultValue: w[i.code[0]] ? w[i.code[0]] : "",
|
|
1092
|
-
isDate:
|
|
1093
|
-
step:
|
|
1092
|
+
isDate: y,
|
|
1093
|
+
step: h
|
|
1094
1094
|
}
|
|
1095
1095
|
) })
|
|
1096
1096
|
]
|
|
@@ -1112,7 +1112,7 @@ Ye.propTypes = {
|
|
|
1112
1112
|
activeColor: e.string
|
|
1113
1113
|
//onChangeBothType: PropTypes.func,
|
|
1114
1114
|
};
|
|
1115
|
-
const
|
|
1115
|
+
const wt = ({
|
|
1116
1116
|
subcategory: i,
|
|
1117
1117
|
fontColor: d,
|
|
1118
1118
|
activeColor: s
|
|
@@ -1147,7 +1147,7 @@ const xt = ({
|
|
|
1147
1147
|
}
|
|
1148
1148
|
);
|
|
1149
1149
|
};
|
|
1150
|
-
|
|
1150
|
+
wt.propTypes = {
|
|
1151
1151
|
subcategory: e.shape({
|
|
1152
1152
|
name: e.string,
|
|
1153
1153
|
indicators: e.arrayOf(
|
|
@@ -1160,7 +1160,7 @@ xt.propTypes = {
|
|
|
1160
1160
|
activeColor: e.string
|
|
1161
1161
|
//onChangeBothType: PropTypes.func,
|
|
1162
1162
|
};
|
|
1163
|
-
const
|
|
1163
|
+
const xt = ({
|
|
1164
1164
|
category: i,
|
|
1165
1165
|
// onChangeBothType,
|
|
1166
1166
|
activeColor: d
|
|
@@ -1181,7 +1181,7 @@ const Nt = ({
|
|
|
1181
1181
|
color: l,
|
|
1182
1182
|
activeColor: d,
|
|
1183
1183
|
children: o ? o.map((a, c) => /* @__PURE__ */ n(
|
|
1184
|
-
|
|
1184
|
+
wt,
|
|
1185
1185
|
{
|
|
1186
1186
|
subcategory: a,
|
|
1187
1187
|
fontColor: l,
|
|
@@ -1200,7 +1200,7 @@ const Nt = ({
|
|
|
1200
1200
|
}
|
|
1201
1201
|
);
|
|
1202
1202
|
};
|
|
1203
|
-
|
|
1203
|
+
xt.propTypes = {
|
|
1204
1204
|
category: e.shape({
|
|
1205
1205
|
name: e.string.isRequired,
|
|
1206
1206
|
subcategories: e.array,
|
|
@@ -1209,7 +1209,7 @@ Nt.propTypes = {
|
|
|
1209
1209
|
activeColor: e.string
|
|
1210
1210
|
//onChangeBothType: PropTypes.func,
|
|
1211
1211
|
};
|
|
1212
|
-
const
|
|
1212
|
+
const Nt = ({
|
|
1213
1213
|
indicators: i,
|
|
1214
1214
|
isOpen: d = !0,
|
|
1215
1215
|
title: s,
|
|
@@ -1218,11 +1218,11 @@ const kt = ({
|
|
|
1218
1218
|
inputsColor: t = "#605B56",
|
|
1219
1219
|
activeColor: r
|
|
1220
1220
|
}) => {
|
|
1221
|
-
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((
|
|
1222
|
-
|
|
1223
|
-
}, [l]),
|
|
1221
|
+
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((h) => h), { t: c } = L();
|
|
1222
|
+
F(() => {
|
|
1223
|
+
}, [l]), F(() => {
|
|
1224
1224
|
o && M.setState(() => ({ fontColor: o }));
|
|
1225
|
-
}, [o]),
|
|
1225
|
+
}, [o]), F(() => {
|
|
1226
1226
|
t && M.setState(() => ({ inputsColor: t }));
|
|
1227
1227
|
}, [t]);
|
|
1228
1228
|
const u = () => {
|
|
@@ -1237,19 +1237,19 @@ const kt = ({
|
|
|
1237
1237
|
activeColor: r,
|
|
1238
1238
|
onClick: u,
|
|
1239
1239
|
mainTitle: !0,
|
|
1240
|
-
children: i == null ? void 0 : i.map((
|
|
1241
|
-
|
|
1240
|
+
children: i == null ? void 0 : i.map((h, m) => /* @__PURE__ */ n(
|
|
1241
|
+
xt,
|
|
1242
1242
|
{
|
|
1243
|
-
category:
|
|
1243
|
+
category: h,
|
|
1244
1244
|
fontColor: o,
|
|
1245
1245
|
activeColor: r
|
|
1246
1246
|
},
|
|
1247
|
-
`category-${
|
|
1247
|
+
`category-${m}`
|
|
1248
1248
|
))
|
|
1249
1249
|
}
|
|
1250
1250
|
);
|
|
1251
1251
|
};
|
|
1252
|
-
|
|
1252
|
+
Nt.propTypes = {
|
|
1253
1253
|
isOpen: e.bool,
|
|
1254
1254
|
title: e.string,
|
|
1255
1255
|
indicators: e.arrayOf(e.object),
|
|
@@ -1277,48 +1277,48 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1277
1277
|
onChangeAppliedFilters: a,
|
|
1278
1278
|
saveAmbit: c,
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
|
-
descPlaceholder:
|
|
1281
|
-
filtersTypes:
|
|
1282
|
-
nameRequiredText:
|
|
1283
|
-
geoFilterLayers:
|
|
1284
|
-
onGeoLayersChange:
|
|
1285
|
-
onlyFilters:
|
|
1280
|
+
descPlaceholder: h,
|
|
1281
|
+
filtersTypes: m = ["geographical", "tematical"],
|
|
1282
|
+
nameRequiredText: y,
|
|
1283
|
+
geoFilterLayers: g = [],
|
|
1284
|
+
onGeoLayersChange: b,
|
|
1285
|
+
onlyFilters: v = !1,
|
|
1286
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1287
1287
|
descriptionRequired: _ = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t:
|
|
1291
|
-
|
|
1290
|
+
const { t: f } = L(), { tematicalFiltersSelected: C, activeFiltersType: N, geoLayers: w } = M((T) => T), [x, S] = A(i || null), [$, k] = A(d || null), [B, V] = A(!1);
|
|
1291
|
+
F(() => {
|
|
1292
1292
|
s && s.length > 0 && M.setState((T) => ({
|
|
1293
1293
|
tematicalFiltersSelected: s
|
|
1294
1294
|
}));
|
|
1295
|
-
}, [s]),
|
|
1296
|
-
|
|
1297
|
-
}, [
|
|
1298
|
-
a(
|
|
1299
|
-
}, [
|
|
1295
|
+
}, [s]), F(() => {
|
|
1296
|
+
m.includes("geographical") && w != g && M.setState({ geoLayers: g });
|
|
1297
|
+
}, [g]), F(() => {
|
|
1298
|
+
a(C);
|
|
1299
|
+
}, [C]);
|
|
1300
1300
|
const H = () => {
|
|
1301
|
-
_ ?
|
|
1301
|
+
_ ? x && $ ? c({ name: x, description: $ }) : V(!0) : x ? c({ name: x, description: $ }) : V(!0);
|
|
1302
1302
|
};
|
|
1303
|
-
return
|
|
1304
|
-
|
|
1303
|
+
return F(() => {
|
|
1304
|
+
m.includes("geographical") && N != "geographical" && w.length > 0 && M.setState((T) => ({
|
|
1305
1305
|
geoLayers: T.geoLayers.map((j) => ({
|
|
1306
1306
|
...j,
|
|
1307
1307
|
active: !1
|
|
1308
1308
|
}))
|
|
1309
1309
|
}));
|
|
1310
|
-
}, [
|
|
1310
|
+
}, [N]), /* @__PURE__ */ p("div", { className: ne.FiltersAmbitContainer, children: [
|
|
1311
1311
|
/* @__PURE__ */ p("div", { children: [
|
|
1312
|
-
!
|
|
1312
|
+
!v && /* @__PURE__ */ p("div", { className: ne.FiltersAmbitHeader, children: [
|
|
1313
1313
|
/* @__PURE__ */ n("div", { className: ne.FiltersAmbitTitle, children: /* @__PURE__ */ n(
|
|
1314
1314
|
"input",
|
|
1315
1315
|
{
|
|
1316
1316
|
type: "text",
|
|
1317
1317
|
onChange: (T) => {
|
|
1318
|
-
|
|
1318
|
+
V(!1), S(T.target.value);
|
|
1319
1319
|
},
|
|
1320
|
-
value:
|
|
1321
|
-
placeholder:
|
|
1320
|
+
value: x,
|
|
1321
|
+
placeholder: f(u)
|
|
1322
1322
|
}
|
|
1323
1323
|
) }),
|
|
1324
1324
|
/* @__PURE__ */ n("div", { className: ne.FiltersAmbitDescription, children: /* @__PURE__ */ n("div", { className: ne.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ n(
|
|
@@ -1326,32 +1326,32 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1326
1326
|
{
|
|
1327
1327
|
value: $,
|
|
1328
1328
|
onChange: (T) => {
|
|
1329
|
-
_ &&
|
|
1329
|
+
_ && V(!1), k(T.target.value);
|
|
1330
1330
|
},
|
|
1331
|
-
placeholder:
|
|
1331
|
+
placeholder: f(h)
|
|
1332
1332
|
}
|
|
1333
1333
|
) }) })
|
|
1334
1334
|
] }),
|
|
1335
1335
|
/* @__PURE__ */ n(
|
|
1336
|
-
|
|
1336
|
+
bt,
|
|
1337
1337
|
{
|
|
1338
|
-
title:
|
|
1339
|
-
isOpen:
|
|
1338
|
+
title: f("applied_filters"),
|
|
1339
|
+
isOpen: N == "applied",
|
|
1340
1340
|
textColor: r || "#fff",
|
|
1341
1341
|
backgroundColor: l || "#605B5680",
|
|
1342
1342
|
activeColor: t
|
|
1343
1343
|
}
|
|
1344
1344
|
),
|
|
1345
|
-
|
|
1346
|
-
|
|
1345
|
+
m.includes("geographical") && /* @__PURE__ */ n(
|
|
1346
|
+
yt,
|
|
1347
1347
|
{
|
|
1348
1348
|
title: "geo_filters",
|
|
1349
1349
|
activeColor: t,
|
|
1350
|
-
onGeoLayersChange:
|
|
1350
|
+
onGeoLayersChange: b
|
|
1351
1351
|
}
|
|
1352
1352
|
),
|
|
1353
|
-
|
|
1354
|
-
|
|
1353
|
+
m.includes("tematical") && /* @__PURE__ */ n(
|
|
1354
|
+
Nt,
|
|
1355
1355
|
{
|
|
1356
1356
|
indicators: o,
|
|
1357
1357
|
inputsColor: t,
|
|
@@ -1361,9 +1361,9 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1361
1361
|
}
|
|
1362
1362
|
)
|
|
1363
1363
|
] }),
|
|
1364
|
-
!
|
|
1365
|
-
B && /* @__PURE__ */ n("div", { className: ne.warning, children:
|
|
1366
|
-
/* @__PURE__ */ n(Fe, { onClick: () => H(), children:
|
|
1364
|
+
!v && /* @__PURE__ */ p("div", { className: ne.buttonContainer, children: [
|
|
1365
|
+
B && /* @__PURE__ */ n("div", { className: ne.warning, children: f(y) }),
|
|
1366
|
+
/* @__PURE__ */ n(Fe, { onClick: () => H(), children: f("save_ambit") })
|
|
1367
1367
|
] })
|
|
1368
1368
|
] });
|
|
1369
1369
|
};
|
|
@@ -1382,7 +1382,7 @@ h0.propTypes = {
|
|
|
1382
1382
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1383
1383
|
nameRequiredText: e.string
|
|
1384
1384
|
};
|
|
1385
|
-
const
|
|
1385
|
+
const kt = ({
|
|
1386
1386
|
data: i,
|
|
1387
1387
|
//If horientation is vertical, length is height
|
|
1388
1388
|
//If horientation is horizontal, length is width
|
|
@@ -1396,31 +1396,33 @@ const St = ({
|
|
|
1396
1396
|
orientation: c = "horizontal",
|
|
1397
1397
|
// "horizontal" or "vertical"
|
|
1398
1398
|
horizontalPadding: u = c == "vertical" ? 50 : 20,
|
|
1399
|
-
verticalPadding:
|
|
1399
|
+
verticalPadding: h = 10,
|
|
1400
|
+
xLabelPadding: m = c == "vertical" ? 50 : 40
|
|
1400
1401
|
}) => {
|
|
1401
|
-
const { xScale:
|
|
1402
|
+
const { xScale: g, yScale: b, ticks: v, height: _, chartWidth: f } = he(() => {
|
|
1402
1403
|
if (i && i.length > 0) {
|
|
1403
|
-
|
|
1404
|
+
console.log("data");
|
|
1405
|
+
const C = Ae.max(i, (w) => w.value) || 1, N = a || C;
|
|
1404
1406
|
if (c === "vertical") {
|
|
1405
|
-
const
|
|
1407
|
+
const w = i.length * (s + o) + u * 2, x = d, $ = Ae.scaleLinear().domain([0, N]).range([x - 100, h]), k = Array.from(
|
|
1406
1408
|
{ length: l + 1 },
|
|
1407
|
-
(
|
|
1409
|
+
(B, V) => N / l * V
|
|
1408
1410
|
);
|
|
1409
1411
|
return {
|
|
1410
|
-
yScale:
|
|
1411
|
-
ticks:
|
|
1412
|
-
height:
|
|
1413
|
-
chartWidth:
|
|
1412
|
+
yScale: $,
|
|
1413
|
+
ticks: k,
|
|
1414
|
+
height: x,
|
|
1415
|
+
chartWidth: w
|
|
1414
1416
|
};
|
|
1415
1417
|
} else {
|
|
1416
|
-
const
|
|
1418
|
+
const w = i.length * (s + o) + h * 2 + 50, x = Ae.scaleLinear().domain([0, N]).range([0, d - r]), S = Array.from(
|
|
1417
1419
|
{ length: l + 1 },
|
|
1418
|
-
(
|
|
1420
|
+
($, k) => N / l * k
|
|
1419
1421
|
);
|
|
1420
1422
|
return {
|
|
1421
|
-
xScale:
|
|
1422
|
-
ticks:
|
|
1423
|
-
height:
|
|
1423
|
+
xScale: x,
|
|
1424
|
+
ticks: S,
|
|
1425
|
+
height: w,
|
|
1424
1426
|
chartWidth: d
|
|
1425
1427
|
};
|
|
1426
1428
|
}
|
|
@@ -1439,21 +1441,21 @@ const St = ({
|
|
|
1439
1441
|
s,
|
|
1440
1442
|
o,
|
|
1441
1443
|
u,
|
|
1442
|
-
|
|
1444
|
+
h,
|
|
1443
1445
|
a,
|
|
1444
1446
|
c
|
|
1445
1447
|
]);
|
|
1446
|
-
return c === "vertical" ? /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width:
|
|
1447
|
-
/* @__PURE__ */ n("g", { children: v.map((
|
|
1448
|
-
const
|
|
1448
|
+
return c === "vertical" ? /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: f, height: _, children: /* @__PURE__ */ p("g", { transform: `translate(${u}, 0)`, children: [
|
|
1449
|
+
/* @__PURE__ */ n("g", { children: v.map((C, N) => {
|
|
1450
|
+
const w = b(C);
|
|
1449
1451
|
return /* @__PURE__ */ p("g", { children: [
|
|
1450
1452
|
/* @__PURE__ */ n(
|
|
1451
1453
|
"line",
|
|
1452
1454
|
{
|
|
1453
1455
|
x1: 0,
|
|
1454
|
-
x2:
|
|
1455
|
-
y1:
|
|
1456
|
-
y2:
|
|
1456
|
+
x2: f - u * 2,
|
|
1457
|
+
y1: w,
|
|
1458
|
+
y2: w,
|
|
1457
1459
|
stroke: "#ccc"
|
|
1458
1460
|
}
|
|
1459
1461
|
),
|
|
@@ -1461,73 +1463,73 @@ const St = ({
|
|
|
1461
1463
|
"text",
|
|
1462
1464
|
{
|
|
1463
1465
|
x: -10,
|
|
1464
|
-
y:
|
|
1466
|
+
y: w + 4,
|
|
1465
1467
|
textAnchor: "end",
|
|
1466
1468
|
fontSize: 10,
|
|
1467
1469
|
fill: t,
|
|
1468
|
-
children: parseInt(
|
|
1470
|
+
children: parseInt(C)
|
|
1469
1471
|
}
|
|
1470
1472
|
)
|
|
1471
|
-
] },
|
|
1473
|
+
] }, N);
|
|
1472
1474
|
}) }),
|
|
1473
|
-
i && i.length > 0 && i.map((
|
|
1474
|
-
const
|
|
1475
|
+
i && i.length > 0 && i.map((C, N) => {
|
|
1476
|
+
const w = b(0) - b(C.value), x = N * (s + o), S = b(C.value);
|
|
1475
1477
|
return /* @__PURE__ */ p("g", { children: [
|
|
1476
1478
|
/* @__PURE__ */ n(
|
|
1477
1479
|
"rect",
|
|
1478
1480
|
{
|
|
1479
|
-
x
|
|
1480
|
-
y:
|
|
1481
|
+
x,
|
|
1482
|
+
y: S,
|
|
1481
1483
|
width: s,
|
|
1482
|
-
height:
|
|
1483
|
-
fill:
|
|
1484
|
+
height: w,
|
|
1485
|
+
fill: C.color,
|
|
1484
1486
|
rx: 0
|
|
1485
1487
|
}
|
|
1486
1488
|
),
|
|
1487
1489
|
/* @__PURE__ */ n(
|
|
1488
1490
|
"text",
|
|
1489
1491
|
{
|
|
1490
|
-
x:
|
|
1491
|
-
y:
|
|
1492
|
+
x: x + s / 2,
|
|
1493
|
+
y: _ - m,
|
|
1492
1494
|
textAnchor: "start",
|
|
1493
1495
|
fill: t,
|
|
1494
1496
|
fontSize: 12,
|
|
1495
|
-
transform: `rotate(-90, ${
|
|
1496
|
-
children:
|
|
1497
|
+
transform: `rotate(-90, ${x + s / 2}, ${_ - m})`,
|
|
1498
|
+
children: C.title
|
|
1497
1499
|
}
|
|
1498
1500
|
)
|
|
1499
|
-
] },
|
|
1501
|
+
] }, N);
|
|
1500
1502
|
})
|
|
1501
|
-
] }) }) }) : /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width:
|
|
1502
|
-
/* @__PURE__ */ n("g", { transform: `translate(${r + u}, 0)`, children: v.map((
|
|
1503
|
-
const
|
|
1504
|
-
return /* @__PURE__ */ p("g", { transform: `translate(${
|
|
1503
|
+
] }) }) }) : /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: f + u * 2, height: _, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1504
|
+
/* @__PURE__ */ n("g", { transform: `translate(${r + u}, 0)`, children: v.map((C, N) => {
|
|
1505
|
+
const w = g(C);
|
|
1506
|
+
return /* @__PURE__ */ p("g", { transform: `translate(${w}, 0)`, children: [
|
|
1505
1507
|
/* @__PURE__ */ n(
|
|
1506
1508
|
"line",
|
|
1507
1509
|
{
|
|
1508
1510
|
y1: 0,
|
|
1509
|
-
y2:
|
|
1511
|
+
y2: _ - 50 - o * 2,
|
|
1510
1512
|
stroke: "#ccc"
|
|
1511
1513
|
}
|
|
1512
1514
|
),
|
|
1513
1515
|
/* @__PURE__ */ n(
|
|
1514
1516
|
"text",
|
|
1515
1517
|
{
|
|
1516
|
-
y:
|
|
1518
|
+
y: _ - m - o,
|
|
1517
1519
|
textAnchor: "middle",
|
|
1518
1520
|
fontSize: 10,
|
|
1519
1521
|
fill: t,
|
|
1520
|
-
children: parseInt(
|
|
1522
|
+
children: parseInt(C)
|
|
1521
1523
|
}
|
|
1522
1524
|
)
|
|
1523
|
-
] },
|
|
1525
|
+
] }, N);
|
|
1524
1526
|
}) }),
|
|
1525
|
-
i && i.length > 0 && i.map((
|
|
1526
|
-
const
|
|
1527
|
+
i && i.length > 0 && i.map((C, N) => {
|
|
1528
|
+
const w = g(C.value), x = N * (s + o);
|
|
1527
1529
|
return /* @__PURE__ */ p(
|
|
1528
1530
|
"g",
|
|
1529
1531
|
{
|
|
1530
|
-
transform: `translate(${r + u}, ${
|
|
1532
|
+
transform: `translate(${r + u}, ${x})`,
|
|
1531
1533
|
children: [
|
|
1532
1534
|
/* @__PURE__ */ n(
|
|
1533
1535
|
"text",
|
|
@@ -1536,26 +1538,26 @@ const St = ({
|
|
|
1536
1538
|
y: s / 2 + 5,
|
|
1537
1539
|
textAnchor: "end",
|
|
1538
1540
|
fill: t,
|
|
1539
|
-
children:
|
|
1541
|
+
children: C.title
|
|
1540
1542
|
}
|
|
1541
1543
|
),
|
|
1542
1544
|
/* @__PURE__ */ n(
|
|
1543
1545
|
"rect",
|
|
1544
1546
|
{
|
|
1545
|
-
width:
|
|
1547
|
+
width: w,
|
|
1546
1548
|
height: s,
|
|
1547
|
-
fill:
|
|
1549
|
+
fill: C.color,
|
|
1548
1550
|
rx: 0
|
|
1549
1551
|
}
|
|
1550
1552
|
)
|
|
1551
1553
|
]
|
|
1552
1554
|
},
|
|
1553
|
-
|
|
1555
|
+
N
|
|
1554
1556
|
);
|
|
1555
1557
|
})
|
|
1556
1558
|
] }) }) });
|
|
1557
1559
|
};
|
|
1558
|
-
|
|
1560
|
+
kt.propTypes = {
|
|
1559
1561
|
data: e.arrayOf(
|
|
1560
1562
|
e.shape({
|
|
1561
1563
|
title: e.string,
|
|
@@ -1572,7 +1574,8 @@ St.propTypes = {
|
|
|
1572
1574
|
fontColor: e.string,
|
|
1573
1575
|
leftPadding: e.number,
|
|
1574
1576
|
maxValue: e.number,
|
|
1575
|
-
orientation: e.oneOf(["horizontal", "vertical"])
|
|
1577
|
+
orientation: e.oneOf(["horizontal", "vertical"]),
|
|
1578
|
+
xLabelPadding: e.number
|
|
1576
1579
|
};
|
|
1577
1580
|
const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
1578
1581
|
graphicContainer: g0,
|
|
@@ -1587,9 +1590,10 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1587
1590
|
maxValue: l = null,
|
|
1588
1591
|
numberOfDivisions: a = 7,
|
|
1589
1592
|
leftPadding: c = -200,
|
|
1590
|
-
orientation: u = "horizontal"
|
|
1593
|
+
orientation: u = "horizontal",
|
|
1594
|
+
xLabelPadding: h = 0
|
|
1591
1595
|
}) => {
|
|
1592
|
-
const { t:
|
|
1596
|
+
const { t: m } = L();
|
|
1593
1597
|
return /* @__PURE__ */ p(
|
|
1594
1598
|
"div",
|
|
1595
1599
|
{
|
|
@@ -1600,9 +1604,9 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1600
1604
|
paddingBottom: 40
|
|
1601
1605
|
},
|
|
1602
1606
|
children: [
|
|
1603
|
-
/* @__PURE__ */ n("div", { className: nt.titleContainer, children: /* @__PURE__ */ n("h2", { children:
|
|
1607
|
+
/* @__PURE__ */ n("div", { className: nt.titleContainer, children: /* @__PURE__ */ n("h2", { children: m(t) }) }),
|
|
1604
1608
|
/* @__PURE__ */ n(
|
|
1605
|
-
|
|
1609
|
+
kt,
|
|
1606
1610
|
{
|
|
1607
1611
|
data: i,
|
|
1608
1612
|
length: d,
|
|
@@ -1610,7 +1614,8 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1610
1614
|
maxValue: l,
|
|
1611
1615
|
numberOfDivisions: a,
|
|
1612
1616
|
leftPadding: c,
|
|
1613
|
-
orientation: u
|
|
1617
|
+
orientation: u,
|
|
1618
|
+
xLabelPadding: h
|
|
1614
1619
|
}
|
|
1615
1620
|
)
|
|
1616
1621
|
]
|
|
@@ -1632,7 +1637,8 @@ f0.propTypes = {
|
|
|
1632
1637
|
fontColor: e.string,
|
|
1633
1638
|
maxValue: e.number,
|
|
1634
1639
|
numberOfDivisions: e.number,
|
|
1635
|
-
leftPadding: e.number
|
|
1640
|
+
leftPadding: e.number,
|
|
1641
|
+
xLabelPadding: e.number
|
|
1636
1642
|
};
|
|
1637
1643
|
const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arwy3_13", Le = {
|
|
1638
1644
|
indicatorsCategory: b0,
|
|
@@ -1660,17 +1666,17 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1660
1666
|
multiple: a = !1,
|
|
1661
1667
|
onChangeType: c
|
|
1662
1668
|
}) => {
|
|
1663
|
-
const { t: u } = L(), { name:
|
|
1669
|
+
const { t: u } = L(), { name: h, type: m, disabled: y } = i;
|
|
1664
1670
|
console.log(it);
|
|
1665
|
-
const [
|
|
1666
|
-
|
|
1667
|
-
t &&
|
|
1671
|
+
const [g, b] = A(!1);
|
|
1672
|
+
F(() => {
|
|
1673
|
+
t && b(
|
|
1668
1674
|
a ? t.some(
|
|
1669
|
-
(
|
|
1670
|
-
) : t.name ==
|
|
1675
|
+
(f) => f.name == String(h)
|
|
1676
|
+
) : t.name == h
|
|
1671
1677
|
);
|
|
1672
1678
|
}, [t]);
|
|
1673
|
-
const
|
|
1679
|
+
const v = () => /* @__PURE__ */ n("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ n("div", { className: R.switchType, children: /* @__PURE__ */ p("div", { className: R.switchTypeOptions, children: [
|
|
1674
1680
|
/* @__PURE__ */ p(
|
|
1675
1681
|
"div",
|
|
1676
1682
|
{
|
|
@@ -1729,7 +1735,7 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1729
1735
|
]
|
|
1730
1736
|
}
|
|
1731
1737
|
)
|
|
1732
|
-
] }) }) }), _ = () => /* @__PURE__ */ n("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ n("div", { className: R.switchType, children: /* @__PURE__ */ n("div", { className: R.switchTypeOptions, children: d.map((
|
|
1738
|
+
] }) }) }), _ = () => /* @__PURE__ */ n("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ n("div", { className: R.switchType, children: /* @__PURE__ */ n("div", { className: R.switchTypeOptions, children: d.map((f, C) => /* @__PURE__ */ p(
|
|
1733
1739
|
"div",
|
|
1734
1740
|
{
|
|
1735
1741
|
className: R.optionContainer,
|
|
@@ -1740,28 +1746,28 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1740
1746
|
className: R.customRadious
|
|
1741
1747
|
}
|
|
1742
1748
|
),
|
|
1743
|
-
/* @__PURE__ */ n("h4", { children: u(
|
|
1749
|
+
/* @__PURE__ */ n("h4", { children: u(f.unit) })
|
|
1744
1750
|
]
|
|
1745
1751
|
},
|
|
1746
|
-
|
|
1752
|
+
C
|
|
1747
1753
|
)) }) }) });
|
|
1748
1754
|
return /* @__PURE__ */ p("div", { className: R.indicatorContainer, children: [
|
|
1749
1755
|
/* @__PURE__ */ p(
|
|
1750
1756
|
"div",
|
|
1751
1757
|
{
|
|
1752
1758
|
className: R.indicatorNameContainer,
|
|
1753
|
-
onClick: () => !
|
|
1759
|
+
onClick: () => !y && l({ indicator: i }),
|
|
1754
1760
|
children: [
|
|
1755
1761
|
/* @__PURE__ */ n(
|
|
1756
1762
|
"div",
|
|
1757
1763
|
{
|
|
1758
1764
|
style: {
|
|
1759
|
-
border:
|
|
1760
|
-
opacity:
|
|
1761
|
-
backgroundColor:
|
|
1765
|
+
border: g ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1766
|
+
opacity: y ? 0.5 : 1,
|
|
1767
|
+
backgroundColor: g ? s : "transparent"
|
|
1762
1768
|
},
|
|
1763
1769
|
className: R.dot,
|
|
1764
|
-
children: a && /* @__PURE__ */ n("img", { src:
|
|
1770
|
+
children: a && /* @__PURE__ */ n("img", { src: g ? v0 : it, alt: "" })
|
|
1765
1771
|
}
|
|
1766
1772
|
),
|
|
1767
1773
|
/* @__PURE__ */ n(
|
|
@@ -1769,13 +1775,13 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1769
1775
|
{
|
|
1770
1776
|
className: R.indicatorName,
|
|
1771
1777
|
style: {
|
|
1772
|
-
color:
|
|
1773
|
-
opacity:
|
|
1778
|
+
color: g ? s : o,
|
|
1779
|
+
opacity: y ? 0.5 : 1
|
|
1774
1780
|
},
|
|
1775
1781
|
children: /* @__PURE__ */ n(
|
|
1776
1782
|
We,
|
|
1777
1783
|
{
|
|
1778
|
-
i18nKey:
|
|
1784
|
+
i18nKey: h,
|
|
1779
1785
|
components: { sup: /* @__PURE__ */ n("sup", {}) },
|
|
1780
1786
|
shouldUnescape: !0
|
|
1781
1787
|
}
|
|
@@ -1785,8 +1791,8 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1785
1791
|
]
|
|
1786
1792
|
}
|
|
1787
1793
|
),
|
|
1788
|
-
(t == null ? void 0 : t.name) ===
|
|
1789
|
-
(t == null ? void 0 : t.name) ===
|
|
1794
|
+
(t == null ? void 0 : t.name) === h && m === "both" && /* @__PURE__ */ n("div", { children: v() }),
|
|
1795
|
+
(t == null ? void 0 : t.name) === h && m === "twoUnits" && /* @__PURE__ */ n("div", { children: _() })
|
|
1790
1796
|
] });
|
|
1791
1797
|
};
|
|
1792
1798
|
Xe.propTypes = {
|
|
@@ -1804,7 +1810,7 @@ Xe.propTypes = {
|
|
|
1804
1810
|
const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
1805
1811
|
indicatorsSubCategory: V0,
|
|
1806
1812
|
list: D0
|
|
1807
|
-
},
|
|
1813
|
+
}, St = ({
|
|
1808
1814
|
subcName: i,
|
|
1809
1815
|
indicators: d,
|
|
1810
1816
|
defaultColor: s,
|
|
@@ -1815,41 +1821,41 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1815
1821
|
activeIndicator: a,
|
|
1816
1822
|
onClickIndicator: c,
|
|
1817
1823
|
multiple: u,
|
|
1818
|
-
activeIndicatorType:
|
|
1819
|
-
onChangeType:
|
|
1824
|
+
activeIndicatorType: h,
|
|
1825
|
+
onChangeType: m
|
|
1820
1826
|
}) => {
|
|
1821
|
-
const { t:
|
|
1822
|
-
return
|
|
1823
|
-
|
|
1827
|
+
const { t: y } = L(), [g, b] = A(!1);
|
|
1828
|
+
return F(() => {
|
|
1829
|
+
b(t == l);
|
|
1824
1830
|
}, [t, l]), /* @__PURE__ */ p(
|
|
1825
1831
|
Ge.div,
|
|
1826
1832
|
{
|
|
1827
1833
|
className: st.indicatorsSubCategory,
|
|
1828
1834
|
initial: { height: "43px" },
|
|
1829
|
-
animate: { height:
|
|
1835
|
+
animate: { height: g ? "auto" : "43px" },
|
|
1830
1836
|
transition: { duration: 0.4 },
|
|
1831
1837
|
children: [
|
|
1832
|
-
/* @__PURE__ */ n("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color:
|
|
1833
|
-
/* @__PURE__ */ n("span", { style: { color:
|
|
1838
|
+
/* @__PURE__ */ n("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color: g ? o : s }, children: [
|
|
1839
|
+
/* @__PURE__ */ n("span", { style: { color: g ? o : s }, children: g ? "-" : "+" }),
|
|
1834
1840
|
/* @__PURE__ */ n(
|
|
1835
1841
|
"span",
|
|
1836
1842
|
{
|
|
1837
|
-
style: { color:
|
|
1838
|
-
children:
|
|
1843
|
+
style: { color: g ? o : s },
|
|
1844
|
+
children: y(i)
|
|
1839
1845
|
}
|
|
1840
1846
|
)
|
|
1841
1847
|
] }) }),
|
|
1842
|
-
d && /* @__PURE__ */ n("div", { className: st.list, children: d == null ? void 0 : d.map((
|
|
1848
|
+
d && /* @__PURE__ */ n("div", { className: st.list, children: d == null ? void 0 : d.map((v, _) => /* @__PURE__ */ n(
|
|
1843
1849
|
Xe,
|
|
1844
1850
|
{
|
|
1845
|
-
indicator:
|
|
1851
|
+
indicator: v,
|
|
1846
1852
|
defaultColor: s,
|
|
1847
1853
|
activeColor: o,
|
|
1848
1854
|
activeIndicator: a,
|
|
1849
1855
|
onClickIndicator: c,
|
|
1850
1856
|
multiple: u,
|
|
1851
|
-
activeIndicatorType:
|
|
1852
|
-
onChangeType:
|
|
1857
|
+
activeIndicatorType: h,
|
|
1858
|
+
onChangeType: m
|
|
1853
1859
|
},
|
|
1854
1860
|
"indicator" + _
|
|
1855
1861
|
)) })
|
|
@@ -1857,7 +1863,7 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1857
1863
|
}
|
|
1858
1864
|
);
|
|
1859
1865
|
};
|
|
1860
|
-
|
|
1866
|
+
St.propTypes = {
|
|
1861
1867
|
subcName: e.string,
|
|
1862
1868
|
indicators: e.array,
|
|
1863
1869
|
activeColor: e.string,
|
|
@@ -1869,7 +1875,7 @@ $t.propTypes = {
|
|
|
1869
1875
|
onClickSubCategory: e.func,
|
|
1870
1876
|
onClickIndicator: e.func
|
|
1871
1877
|
};
|
|
1872
|
-
const
|
|
1878
|
+
const $t = ({
|
|
1873
1879
|
cat: i,
|
|
1874
1880
|
id: d,
|
|
1875
1881
|
activeColor: s,
|
|
@@ -1880,76 +1886,76 @@ const Bt = ({
|
|
|
1880
1886
|
onClickSubCategory: a,
|
|
1881
1887
|
activeIndicator: c,
|
|
1882
1888
|
onClickIndicator: u,
|
|
1883
|
-
multiple:
|
|
1884
|
-
activeIndicatorType:
|
|
1885
|
-
onChangeType:
|
|
1889
|
+
multiple: h,
|
|
1890
|
+
activeIndicatorType: m,
|
|
1891
|
+
onChangeType: y
|
|
1886
1892
|
}) => {
|
|
1887
1893
|
var _;
|
|
1888
|
-
const { t:
|
|
1889
|
-
return
|
|
1890
|
-
|
|
1894
|
+
const { t: g } = L(), [b, v] = A(!1);
|
|
1895
|
+
return F(() => {
|
|
1896
|
+
v(r === d);
|
|
1891
1897
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1892
1898
|
Ge.div,
|
|
1893
1899
|
{
|
|
1894
1900
|
className: Le.indicatorsCategory,
|
|
1895
1901
|
initial: { height: "53px" },
|
|
1896
|
-
animate: { height:
|
|
1902
|
+
animate: { height: b ? "auto" : "53px" },
|
|
1897
1903
|
transition: { duration: 0.4 },
|
|
1898
1904
|
style: {
|
|
1899
1905
|
backgroundColor: "white",
|
|
1900
|
-
borderBottom:
|
|
1901
|
-
marginBottom:
|
|
1906
|
+
borderBottom: b ? `1px solid ${s}` : "0px",
|
|
1907
|
+
marginBottom: b ? "20px" : "0px"
|
|
1902
1908
|
},
|
|
1903
1909
|
children: [
|
|
1904
1910
|
/* @__PURE__ */ p("h2", { className: `${Le.title}`, onClick: () => t(d), children: [
|
|
1905
|
-
/* @__PURE__ */ n("span", { className: Le.plus, style: { color:
|
|
1911
|
+
/* @__PURE__ */ n("span", { className: Le.plus, style: { color: b ? s : o }, children: b ? "-" : "+" }),
|
|
1906
1912
|
/* @__PURE__ */ n(
|
|
1907
1913
|
"span",
|
|
1908
1914
|
{
|
|
1909
|
-
style: { color:
|
|
1910
|
-
children:
|
|
1915
|
+
style: { color: b ? s : o },
|
|
1916
|
+
children: g(i.name)
|
|
1911
1917
|
}
|
|
1912
1918
|
)
|
|
1913
1919
|
] }),
|
|
1914
1920
|
i.subcategories ? i.subcategories.map(
|
|
1915
|
-
({ name:
|
|
1916
|
-
|
|
1921
|
+
({ name: f, subcategory: C, indicators: N }, w) => /* @__PURE__ */ n(
|
|
1922
|
+
St,
|
|
1917
1923
|
{
|
|
1918
|
-
id:
|
|
1924
|
+
id: C,
|
|
1919
1925
|
activeSubCategory: l,
|
|
1920
|
-
subcName:
|
|
1926
|
+
subcName: f,
|
|
1921
1927
|
onClickSubCategory: a,
|
|
1922
1928
|
activeIndicator: c,
|
|
1923
1929
|
onClickIndicator: u,
|
|
1924
|
-
multiple:
|
|
1930
|
+
multiple: h,
|
|
1925
1931
|
activeColor: s,
|
|
1926
1932
|
defaultColor: o,
|
|
1927
|
-
indicators:
|
|
1928
|
-
activeIndicatorType:
|
|
1929
|
-
onChangeType:
|
|
1933
|
+
indicators: N,
|
|
1934
|
+
activeIndicatorType: m,
|
|
1935
|
+
onChangeType: y
|
|
1930
1936
|
},
|
|
1931
1937
|
`subcKey ${w}`
|
|
1932
1938
|
)
|
|
1933
|
-
) : /* @__PURE__ */ n("div", { className: Le.list, children: (_ = i.indicators) == null ? void 0 : _.map((
|
|
1939
|
+
) : /* @__PURE__ */ n("div", { className: Le.list, children: (_ = i.indicators) == null ? void 0 : _.map((f, C) => /* @__PURE__ */ n(
|
|
1934
1940
|
Xe,
|
|
1935
1941
|
{
|
|
1936
|
-
indicator:
|
|
1937
|
-
values:
|
|
1942
|
+
indicator: f,
|
|
1943
|
+
values: f.type == "twoUnits" && f.values,
|
|
1938
1944
|
activeColor: s,
|
|
1939
1945
|
defaultColor: o,
|
|
1940
1946
|
activeIndicator: c,
|
|
1941
1947
|
onClickIndicator: u,
|
|
1942
|
-
multiple:
|
|
1943
|
-
activeIndicatorType:
|
|
1944
|
-
onChangeType:
|
|
1948
|
+
multiple: h,
|
|
1949
|
+
activeIndicatorType: m,
|
|
1950
|
+
onChangeType: y
|
|
1945
1951
|
},
|
|
1946
|
-
`indicator${
|
|
1952
|
+
`indicator${C}`
|
|
1947
1953
|
)) })
|
|
1948
1954
|
]
|
|
1949
1955
|
}
|
|
1950
1956
|
);
|
|
1951
1957
|
};
|
|
1952
|
-
|
|
1958
|
+
$t.propTypes = {
|
|
1953
1959
|
cat: e.object,
|
|
1954
1960
|
id: e.string,
|
|
1955
1961
|
onChange: e.func,
|
|
@@ -1980,71 +1986,71 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
1980
1986
|
changeIndType: l,
|
|
1981
1987
|
activeIndicatorType: a
|
|
1982
1988
|
}) => {
|
|
1983
|
-
const { t: c } = L(), [u,
|
|
1984
|
-
|
|
1989
|
+
const { t: c } = L(), [u, h] = A(), [m, y] = A(), [g, b] = A(), v = (w) => {
|
|
1990
|
+
h(u == w ? null : w);
|
|
1985
1991
|
}, _ = (w) => {
|
|
1986
|
-
|
|
1987
|
-
},
|
|
1988
|
-
|
|
1989
|
-
},
|
|
1992
|
+
y(m == w ? null : w);
|
|
1993
|
+
}, f = ({ indicator: w }) => {
|
|
1994
|
+
C(w);
|
|
1995
|
+
}, C = (w) => {
|
|
1990
1996
|
if (!t)
|
|
1991
|
-
|
|
1992
|
-
(
|
|
1997
|
+
b(
|
|
1998
|
+
(g == null ? void 0 : g.name) == w.name ? null : w
|
|
1993
1999
|
);
|
|
1994
2000
|
else {
|
|
1995
|
-
let
|
|
1996
|
-
|
|
1997
|
-
|
|
2001
|
+
let x = g && g.length > 0 ? [...g] : [];
|
|
2002
|
+
b(
|
|
2003
|
+
x != null && x.some(
|
|
1998
2004
|
(S) => S.name == w.name
|
|
1999
|
-
) ?
|
|
2005
|
+
) ? x.filter(
|
|
2000
2006
|
(S) => S.name != String(w.name)
|
|
2001
|
-
) : [...
|
|
2007
|
+
) : [...x, w]
|
|
2002
2008
|
), w.type == "both" && l("cat");
|
|
2003
2009
|
}
|
|
2004
2010
|
};
|
|
2005
|
-
|
|
2006
|
-
o && typeof o == "function" &&
|
|
2007
|
-
}, [
|
|
2008
|
-
if (r && !
|
|
2011
|
+
F(() => {
|
|
2012
|
+
o && typeof o == "function" && g && o({ activeIndicator: g });
|
|
2013
|
+
}, [g]), Pt(() => {
|
|
2014
|
+
if (r && !g)
|
|
2009
2015
|
if (t && r && Array.isArray(r)) {
|
|
2010
|
-
let w =
|
|
2011
|
-
|
|
2016
|
+
let w = g && g.length > 0 ? [...g] : [];
|
|
2017
|
+
b([...w, ...r]), N(r[0].name);
|
|
2012
2018
|
} else
|
|
2013
|
-
|
|
2014
|
-
}, []),
|
|
2015
|
-
if (r !=
|
|
2019
|
+
C(r), N(r.name);
|
|
2020
|
+
}, []), F(() => {
|
|
2021
|
+
if (r != g)
|
|
2016
2022
|
if (t && r && Array.isArray(r)) {
|
|
2017
|
-
let w =
|
|
2018
|
-
|
|
2023
|
+
let w = g && g.length > 0 ? [...g] : [];
|
|
2024
|
+
b([...w, ...r]), N(r[0].name);
|
|
2019
2025
|
} else
|
|
2020
|
-
|
|
2026
|
+
C(r), N(r.name);
|
|
2021
2027
|
}, [r]);
|
|
2022
|
-
const
|
|
2023
|
-
const
|
|
2028
|
+
const N = (w) => {
|
|
2029
|
+
const x = i.find((S) => {
|
|
2024
2030
|
if (S.subcategories) {
|
|
2025
2031
|
let $ = S.subcategories.find(
|
|
2026
2032
|
(k) => k.indicators.find((B) => B.name == w)
|
|
2027
2033
|
);
|
|
2028
2034
|
if ($)
|
|
2029
|
-
return
|
|
2035
|
+
return y($.subcategory), $;
|
|
2030
2036
|
} else
|
|
2031
2037
|
return S.indicators.some(($) => $.name == w);
|
|
2032
2038
|
});
|
|
2033
|
-
|
|
2039
|
+
x && h(x.category);
|
|
2034
2040
|
};
|
|
2035
2041
|
return /* @__PURE__ */ p("div", { className: ot.indicatorsList, children: [
|
|
2036
2042
|
/* @__PURE__ */ n("h2", { className: ot.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
2037
|
-
i.map((w,
|
|
2038
|
-
|
|
2043
|
+
i.map((w, x) => /* @__PURE__ */ n(
|
|
2044
|
+
$t,
|
|
2039
2045
|
{
|
|
2040
2046
|
id: w.category,
|
|
2041
2047
|
cat: w,
|
|
2042
|
-
onClickCategory:
|
|
2048
|
+
onClickCategory: v,
|
|
2043
2049
|
activeCategory: u,
|
|
2044
2050
|
onClickSubCategory: _,
|
|
2045
|
-
activeSubCategory:
|
|
2046
|
-
onClickIndicator:
|
|
2047
|
-
activeIndicator:
|
|
2051
|
+
activeSubCategory: m,
|
|
2052
|
+
onClickIndicator: f,
|
|
2053
|
+
activeIndicator: g,
|
|
2048
2054
|
activeColor: d,
|
|
2049
2055
|
defaultColor: s,
|
|
2050
2056
|
multiple: t,
|
|
@@ -2052,7 +2058,7 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
2052
2058
|
onChangeType: l,
|
|
2053
2059
|
activeIndicatorType: a
|
|
2054
2060
|
},
|
|
2055
|
-
`categoryKey${
|
|
2061
|
+
`categoryKey${x}`
|
|
2056
2062
|
))
|
|
2057
2063
|
] });
|
|
2058
2064
|
};
|
|
@@ -2074,7 +2080,7 @@ const O0 = "_langSelector_o9enq_2", R0 = "_currentLang_o9enq_14", q0 = "_arrow_o
|
|
|
2074
2080
|
prevImg: P0,
|
|
2075
2081
|
langMenu: E0
|
|
2076
2082
|
}, j0 = ({ langs: i, arrow: d, imgPrev: s }) => {
|
|
2077
|
-
const [o, t] =
|
|
2083
|
+
const [o, t] = A(!1), { i18n: r } = L(), l = i.find((c) => c.code == r.language), a = (c) => {
|
|
2078
2084
|
r.changeLanguage(c), t(!1);
|
|
2079
2085
|
};
|
|
2080
2086
|
return /* @__PURE__ */ p("div", { className: de.langSelector, children: [
|
|
@@ -2165,11 +2171,11 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2165
2171
|
children: [
|
|
2166
2172
|
/* @__PURE__ */ n("button", { className: O.closeButton, onClick: c }),
|
|
2167
2173
|
d && /* @__PURE__ */ n("div", { className: O.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ n("h2", { children: d }) }),
|
|
2168
|
-
s && s.length > 0 && /* @__PURE__ */ n("div", { className: O.infoContainer, children: /* @__PURE__ */ n("ul", { children: s.map(({ title:
|
|
2169
|
-
/* @__PURE__ */ n("h3", { className: O.title, children: `${
|
|
2174
|
+
s && s.length > 0 && /* @__PURE__ */ n("div", { className: O.infoContainer, children: /* @__PURE__ */ n("ul", { children: s.map(({ title: h, value: m }) => /* @__PURE__ */ p("li", { children: [
|
|
2175
|
+
/* @__PURE__ */ n("h3", { className: O.title, children: `${h}:` }),
|
|
2170
2176
|
/* @__PURE__ */ p("span", { className: O.value, children: [
|
|
2171
2177
|
" ",
|
|
2172
|
-
|
|
2178
|
+
m
|
|
2173
2179
|
] })
|
|
2174
2180
|
] }, d)) }) }),
|
|
2175
2181
|
/* @__PURE__ */ n("h3", { className: O.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ n(We, { i18nKey: t, components: { sup: /* @__PURE__ */ n("sup", {}) }, shouldUnescape: !0 }) }),
|
|
@@ -2202,16 +2208,16 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2202
2208
|
] })
|
|
2203
2209
|
] })
|
|
2204
2210
|
] }) : o && o.length > 0 && /* @__PURE__ */ n("div", { className: O.gridContainer, children: o.map(
|
|
2205
|
-
({ title:
|
|
2211
|
+
({ title: h, color: m }) => /* @__PURE__ */ p("div", { className: O.elementLegendContainer, children: [
|
|
2206
2212
|
/* @__PURE__ */ n(
|
|
2207
2213
|
"div",
|
|
2208
2214
|
{
|
|
2209
2215
|
className: O.colorDot,
|
|
2210
|
-
style: { backgroundColor:
|
|
2216
|
+
style: { backgroundColor: m }
|
|
2211
2217
|
}
|
|
2212
2218
|
),
|
|
2213
2219
|
/* @__PURE__ */ p("div", { className: O.titleLegendElement, children: [
|
|
2214
|
-
u(
|
|
2220
|
+
u(h),
|
|
2215
2221
|
" "
|
|
2216
2222
|
] })
|
|
2217
2223
|
] }, d)
|
|
@@ -2276,7 +2282,7 @@ an.propTypes = {
|
|
|
2276
2282
|
const ln = "_mapContainer_84pkf_2", cn = {
|
|
2277
2283
|
mapContainer: ln
|
|
2278
2284
|
};
|
|
2279
|
-
|
|
2285
|
+
Et.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2280
2286
|
const dn = ({
|
|
2281
2287
|
initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2282
2288
|
maxZoom: d = 17,
|
|
@@ -2288,21 +2294,21 @@ const dn = ({
|
|
|
2288
2294
|
interactiveLayers: a = [],
|
|
2289
2295
|
popUp: c = !1,
|
|
2290
2296
|
sources: u = [],
|
|
2291
|
-
layers:
|
|
2297
|
+
layers: h = []
|
|
2292
2298
|
}) => {
|
|
2293
|
-
const
|
|
2294
|
-
return
|
|
2295
|
-
if (
|
|
2296
|
-
const
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
+
const m = ae(), [y, g] = A(null), b = jt((v) => v.mapState.showTexts);
|
|
2300
|
+
return F(() => {
|
|
2301
|
+
if (m.current) {
|
|
2302
|
+
const v = m.current.getMap();
|
|
2303
|
+
v.getStyle().layers.map((f) => {
|
|
2304
|
+
f.type == "symbol" && f.id != "professionals" && (b ? v.setLayoutProperty(f.id, "visibility", "visible") : v.setLayoutProperty(f.id, "visibility", "none"));
|
|
2299
2305
|
});
|
|
2300
2306
|
}
|
|
2301
|
-
}, [
|
|
2302
|
-
|
|
2307
|
+
}, [b]), /* @__PURE__ */ n("div", { className: `${cn.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2308
|
+
Zt,
|
|
2303
2309
|
{
|
|
2304
2310
|
initialViewState: i,
|
|
2305
|
-
ref:
|
|
2311
|
+
ref: m,
|
|
2306
2312
|
hash: !1,
|
|
2307
2313
|
maxZoom: d,
|
|
2308
2314
|
minZoom: s,
|
|
@@ -2310,31 +2316,31 @@ const dn = ({
|
|
|
2310
2316
|
onClick: l,
|
|
2311
2317
|
interactiveLayerIds: a,
|
|
2312
2318
|
children: [
|
|
2313
|
-
u.length && u.map((
|
|
2314
|
-
|
|
2319
|
+
u.length && u.map((v, _) => /* @__PURE__ */ n(
|
|
2320
|
+
zt,
|
|
2315
2321
|
{
|
|
2316
|
-
...
|
|
2317
|
-
children:
|
|
2318
|
-
if (
|
|
2319
|
-
|
|
2322
|
+
...v,
|
|
2323
|
+
children: h.length && h.map((f, C) => {
|
|
2324
|
+
if (f.sourceId == v.id) return /* @__PURE__ */ n(
|
|
2325
|
+
Ht,
|
|
2320
2326
|
{
|
|
2321
|
-
...
|
|
2327
|
+
...f.layer,
|
|
2322
2328
|
beforeId: t
|
|
2323
2329
|
},
|
|
2324
|
-
|
|
2330
|
+
C
|
|
2325
2331
|
);
|
|
2326
2332
|
})
|
|
2327
2333
|
},
|
|
2328
2334
|
_
|
|
2329
2335
|
)),
|
|
2330
|
-
/* @__PURE__ */ n(
|
|
2331
|
-
c &&
|
|
2332
|
-
|
|
2336
|
+
/* @__PURE__ */ n(Kt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2337
|
+
c && y && /* @__PURE__ */ n(
|
|
2338
|
+
Ut,
|
|
2333
2339
|
{
|
|
2334
2340
|
longitude: c.longitude,
|
|
2335
2341
|
latitude: c.latitude,
|
|
2336
2342
|
anchor: c.anchor,
|
|
2337
|
-
onClose: () =>
|
|
2343
|
+
onClose: () => g(null),
|
|
2338
2344
|
children: c.content
|
|
2339
2345
|
}
|
|
2340
2346
|
)
|
|
@@ -2416,66 +2422,66 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2416
2422
|
interactiveLayers: a = [],
|
|
2417
2423
|
sources: c = [],
|
|
2418
2424
|
layers: u = [],
|
|
2419
|
-
popUpParams:
|
|
2420
|
-
onClosePopUp:
|
|
2421
|
-
showTexts:
|
|
2422
|
-
hash:
|
|
2425
|
+
popUpParams: h,
|
|
2426
|
+
onClosePopUp: m,
|
|
2427
|
+
showTexts: y,
|
|
2428
|
+
hash: g = !1
|
|
2423
2429
|
}) => {
|
|
2424
|
-
const
|
|
2425
|
-
return
|
|
2426
|
-
if (
|
|
2427
|
-
const
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
+
const b = ae();
|
|
2431
|
+
return F(() => {
|
|
2432
|
+
if (b.current) {
|
|
2433
|
+
const v = b.current.getMap();
|
|
2434
|
+
v.getStyle().layers.map((f) => {
|
|
2435
|
+
f.type == "symbol" && f.id != "professionals" && (y ? v.setLayoutProperty(f.id, "visibility", "visible") : v.setLayoutProperty(f.id, "visibility", "none"));
|
|
2430
2436
|
});
|
|
2431
2437
|
}
|
|
2432
|
-
}, [
|
|
2433
|
-
let
|
|
2434
|
-
return Ie.addProtocol("pmtiles",
|
|
2438
|
+
}, [y]), F(() => {
|
|
2439
|
+
let v = new Wt();
|
|
2440
|
+
return Ie.addProtocol("pmtiles", v.tile), () => {
|
|
2435
2441
|
Ie.removeProtocol("pmtiles");
|
|
2436
2442
|
};
|
|
2437
2443
|
}, []), /* @__PURE__ */ n("div", { className: `${pn.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2438
|
-
|
|
2444
|
+
Gt,
|
|
2439
2445
|
{
|
|
2440
2446
|
mapLib: Ie,
|
|
2441
2447
|
initialViewState: i,
|
|
2442
|
-
ref:
|
|
2443
|
-
hash:
|
|
2448
|
+
ref: b,
|
|
2449
|
+
hash: g,
|
|
2444
2450
|
maxZoom: d,
|
|
2445
2451
|
minZoom: s,
|
|
2446
2452
|
mapStyle: o,
|
|
2447
2453
|
onClick: l,
|
|
2448
2454
|
interactiveLayerIds: a,
|
|
2449
2455
|
children: [
|
|
2450
|
-
c.length && c.map((
|
|
2451
|
-
|
|
2456
|
+
c.length && c.map((v, _) => /* @__PURE__ */ n(
|
|
2457
|
+
Yt,
|
|
2452
2458
|
{
|
|
2453
|
-
...
|
|
2454
|
-
children: u.length && u.map((
|
|
2455
|
-
if (
|
|
2456
|
-
|
|
2459
|
+
...v,
|
|
2460
|
+
children: u.length && u.map((f, C) => {
|
|
2461
|
+
if (f.sourceId == v.id) return /* @__PURE__ */ n(
|
|
2462
|
+
Xt,
|
|
2457
2463
|
{
|
|
2458
|
-
...
|
|
2464
|
+
...f.layer,
|
|
2459
2465
|
beforeId: t,
|
|
2460
|
-
filter:
|
|
2466
|
+
filter: f.filters ? f.filters : ["all"],
|
|
2461
2467
|
layout: {
|
|
2462
|
-
visibility:
|
|
2468
|
+
visibility: f.layer.visibility || "visible"
|
|
2463
2469
|
}
|
|
2464
2470
|
},
|
|
2465
|
-
|
|
2471
|
+
C
|
|
2466
2472
|
);
|
|
2467
2473
|
})
|
|
2468
2474
|
},
|
|
2469
2475
|
_
|
|
2470
2476
|
)),
|
|
2471
|
-
/* @__PURE__ */ n(
|
|
2472
|
-
|
|
2473
|
-
|
|
2477
|
+
/* @__PURE__ */ n(Qt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2478
|
+
h && /* @__PURE__ */ n(
|
|
2479
|
+
Jt,
|
|
2474
2480
|
{
|
|
2475
|
-
longitude:
|
|
2476
|
-
latitude:
|
|
2477
|
-
onClose:
|
|
2478
|
-
children: /* @__PURE__ */ n(gn, { props:
|
|
2481
|
+
longitude: h.lng,
|
|
2482
|
+
latitude: h.lat,
|
|
2483
|
+
onClose: m,
|
|
2484
|
+
children: /* @__PURE__ */ n(gn, { props: h.props })
|
|
2479
2485
|
}
|
|
2480
2486
|
)
|
|
2481
2487
|
]
|
|
@@ -2569,7 +2575,7 @@ xn.propTypes = {
|
|
|
2569
2575
|
// ancho de la barra
|
|
2570
2576
|
borderTop: e.bool
|
|
2571
2577
|
};
|
|
2572
|
-
const Nn =
|
|
2578
|
+
const Nn = e2({
|
|
2573
2579
|
name: "mapSlice",
|
|
2574
2580
|
initialState: {
|
|
2575
2581
|
showTexts: !0,
|
|
@@ -2595,7 +2601,7 @@ const Nn = t2({
|
|
|
2595
2601
|
i.activeIndicatorUnit = d.payload;
|
|
2596
2602
|
}
|
|
2597
2603
|
}
|
|
2598
|
-
}), { setShowTexts:
|
|
2604
|
+
}), { setShowTexts: Bs, setYear: Ls, setActiveIndicatorKey: Ts, setActiveIndicatorType: Ms, setActiveIndicatorUnit: Vs } = Nn.actions, kn = "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", Sn = "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", $n = "_slider_1prh1_2", Bn = "_playButton_1prh1_14", Ln = "_sliderOpen_1prh1_25", Tn = "_sliderResults_1prh1_29", Ce = {
|
|
2599
2605
|
slider: $n,
|
|
2600
2606
|
playButton: Bn,
|
|
2601
2607
|
sliderOpen: Ln,
|
|
@@ -2611,30 +2617,30 @@ const Nn = t2({
|
|
|
2611
2617
|
console.log("year changed to ", a);
|
|
2612
2618
|
}
|
|
2613
2619
|
}) => {
|
|
2614
|
-
const [a, c] =
|
|
2615
|
-
c(
|
|
2616
|
-
}, [
|
|
2617
|
-
|
|
2618
|
-
},
|
|
2619
|
-
|
|
2620
|
+
const [a, c] = A(d), u = (f, C) => {
|
|
2621
|
+
c(C), l(C);
|
|
2622
|
+
}, [h, m] = A(!1), y = () => {
|
|
2623
|
+
m(!0);
|
|
2624
|
+
}, g = () => {
|
|
2625
|
+
m(!1);
|
|
2620
2626
|
};
|
|
2621
|
-
((
|
|
2622
|
-
const
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
}, [
|
|
2627
|
+
((f, C) => {
|
|
2628
|
+
const N = ae();
|
|
2629
|
+
F(() => {
|
|
2630
|
+
N.current = f;
|
|
2631
|
+
}, [f]), F(() => {
|
|
2626
2632
|
function w() {
|
|
2627
|
-
|
|
2633
|
+
N.current();
|
|
2628
2634
|
}
|
|
2629
2635
|
{
|
|
2630
|
-
let
|
|
2631
|
-
return () => clearInterval(
|
|
2636
|
+
let x = setInterval(w, C);
|
|
2637
|
+
return () => clearInterval(x);
|
|
2632
2638
|
}
|
|
2633
|
-
}, [
|
|
2639
|
+
}, [C]);
|
|
2634
2640
|
})(() => {
|
|
2635
|
-
|
|
2641
|
+
h && (a != 2050 ? (c(a + 1), l(a + 1)) : (c(2025), l(2025)));
|
|
2636
2642
|
}, 1e3);
|
|
2637
|
-
const
|
|
2643
|
+
const v = n2({
|
|
2638
2644
|
palette: {
|
|
2639
2645
|
primary: {
|
|
2640
2646
|
main: "#605b56"
|
|
@@ -2662,8 +2668,8 @@ const Nn = t2({
|
|
|
2662
2668
|
{ label: "", value: 2041 },
|
|
2663
2669
|
{ label: "", value: 2050 }
|
|
2664
2670
|
];
|
|
2665
|
-
return /* @__PURE__ */ n(
|
|
2666
|
-
|
|
2671
|
+
return /* @__PURE__ */ n(s2, { theme: v, children: /* @__PURE__ */ p(
|
|
2672
|
+
i2,
|
|
2667
2673
|
{
|
|
2668
2674
|
sx: { width: 400 },
|
|
2669
2675
|
className: `${i ? Ce.sliderResults : Ce.slider} ${r ? Ce.sliderOpen : ""}`,
|
|
@@ -2671,7 +2677,7 @@ const Nn = t2({
|
|
|
2671
2677
|
children: [
|
|
2672
2678
|
s,
|
|
2673
2679
|
/* @__PURE__ */ n(
|
|
2674
|
-
|
|
2680
|
+
t2,
|
|
2675
2681
|
{
|
|
2676
2682
|
"aria-label": "TimeSlider",
|
|
2677
2683
|
value: a,
|
|
@@ -2686,8 +2692,8 @@ const Nn = t2({
|
|
|
2686
2692
|
}
|
|
2687
2693
|
),
|
|
2688
2694
|
o,
|
|
2689
|
-
!
|
|
2690
|
-
|
|
2695
|
+
!h && /* @__PURE__ */ n("button", { className: Ce.playButton, onClick: y, children: /* @__PURE__ */ n("img", { src: kn, alt: "Play" }) }),
|
|
2696
|
+
h && /* @__PURE__ */ n("button", { className: Ce.playButton, onClick: g, children: /* @__PURE__ */ n("img", { src: Sn, alt: "Pause" }) })
|
|
2691
2697
|
]
|
|
2692
2698
|
}
|
|
2693
2699
|
) });
|
|
@@ -2716,7 +2722,7 @@ const Vn = "_TopNavMenuContainer_12mp4_2", Dn = "_topNavOptions_12mp4_13", Fn =
|
|
|
2716
2722
|
}) => {
|
|
2717
2723
|
const { t: r } = L();
|
|
2718
2724
|
return /* @__PURE__ */ n("div", { className: qe.TopNavMenuContainer, style: { ...d }, children: i.map((l, a) => /* @__PURE__ */ n(
|
|
2719
|
-
|
|
2725
|
+
o2,
|
|
2720
2726
|
{
|
|
2721
2727
|
to: l.url,
|
|
2722
2728
|
className: ({ isActive: c }) => `${qe.topNavOptions} ${c ? qe.active : ""} `,
|
|
@@ -2819,7 +2825,7 @@ var ri = function(d) {
|
|
|
2819
2825
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2820
2826
|
}))));
|
|
2821
2827
|
};
|
|
2822
|
-
const ai = "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",
|
|
2828
|
+
const ai = "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", Bt = ({
|
|
2823
2829
|
listelement: i,
|
|
2824
2830
|
onClickElement: d,
|
|
2825
2831
|
isActive: s,
|
|
@@ -2830,17 +2836,17 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2830
2836
|
elementButtons: a,
|
|
2831
2837
|
processTooltip: c,
|
|
2832
2838
|
defaultTooltip: u,
|
|
2833
|
-
showEye:
|
|
2839
|
+
showEye: h = !0
|
|
2834
2840
|
}) => {
|
|
2835
|
-
const { name:
|
|
2841
|
+
const { name: m, created_at: y, id: g, isBeingProcessed: b } = i, [v, _] = A(!1), { t: f } = L();
|
|
2836
2842
|
return /* @__PURE__ */ p(
|
|
2837
2843
|
"div",
|
|
2838
2844
|
{
|
|
2839
2845
|
className: K.listElement,
|
|
2840
2846
|
style: { borderBottom: `1px solid ${t}` },
|
|
2841
2847
|
children: [
|
|
2842
|
-
/* @__PURE__ */ n("div", { className: K.elementNameDate, onClick: () => d(
|
|
2843
|
-
|
|
2848
|
+
/* @__PURE__ */ n("div", { className: K.elementNameDate, onClick: () => d(g), children: Object.keys(l).map((C) => C === "name" ? /* @__PURE__ */ n("div", { className: K.elementNameContainer, children: /* @__PURE__ */ p("div", { className: K.elementName, children: [
|
|
2849
|
+
h && (s ? /* @__PURE__ */ n(ri, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ n(
|
|
2844
2850
|
"img",
|
|
2845
2851
|
{
|
|
2846
2852
|
style: { marginRight: 9 },
|
|
@@ -2848,8 +2854,8 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2848
2854
|
alt: "eye"
|
|
2849
2855
|
}
|
|
2850
2856
|
)),
|
|
2851
|
-
/* @__PURE__ */ n("span", { style: { color: s ? o : t }, children:
|
|
2852
|
-
] }) }) :
|
|
2857
|
+
/* @__PURE__ */ n("span", { style: { color: s ? o : t }, children: m })
|
|
2858
|
+
] }) }) : C == "data" ? /* @__PURE__ */ n("div", { className: K.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ n("div", { className: K.elementDate, children: i[C] })) }),
|
|
2853
2859
|
/* @__PURE__ */ p("div", { className: K.elementButtons, children: [
|
|
2854
2860
|
i.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2855
2861
|
/* @__PURE__ */ n("img", { src: si }),
|
|
@@ -2874,17 +2880,17 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2874
2880
|
] }),
|
|
2875
2881
|
r && /* @__PURE__ */ n("div", { className: K.break }),
|
|
2876
2882
|
r && /* @__PURE__ */ p("div", { className: K.moreInfoContainer, children: [
|
|
2877
|
-
/* @__PURE__ */ p("div", { className: K.moreInfo, onClick: () => _(!
|
|
2878
|
-
/* @__PURE__ */ n("span", { children:
|
|
2879
|
-
|
|
2883
|
+
/* @__PURE__ */ p("div", { className: K.moreInfo, onClick: () => _(!v), children: [
|
|
2884
|
+
/* @__PURE__ */ n("span", { children: v ? "-" : "+" }),
|
|
2885
|
+
f(r.label)
|
|
2880
2886
|
] }),
|
|
2881
|
-
r &&
|
|
2887
|
+
r && v && /* @__PURE__ */ n("div", { className: K.moreInfoInfo, children: i[r.info] })
|
|
2882
2888
|
] })
|
|
2883
2889
|
]
|
|
2884
2890
|
}
|
|
2885
2891
|
);
|
|
2886
2892
|
};
|
|
2887
|
-
|
|
2893
|
+
Bt.propTypes = {
|
|
2888
2894
|
listelement: e.shape({
|
|
2889
2895
|
name: e.string.isRequired,
|
|
2890
2896
|
created_at: e.string,
|
|
@@ -2929,27 +2935,27 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2929
2935
|
containerStyles: r = {},
|
|
2930
2936
|
newElementButton: l,
|
|
2931
2937
|
//{label: 'text', onClick: function(), disabled}/null
|
|
2932
|
-
onClickElement: a = (
|
|
2938
|
+
onClickElement: a = (b) => console.log(`OnCLickElement: ${b}`),
|
|
2933
2939
|
columns: c,
|
|
2934
2940
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2935
2941
|
elementButtons: u,
|
|
2936
2942
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2937
|
-
moreInfo:
|
|
2943
|
+
moreInfo: h = !1,
|
|
2938
2944
|
//{label: 'x'}
|
|
2939
|
-
processTooltip:
|
|
2945
|
+
processTooltip: m,
|
|
2940
2946
|
//texto para el tooltip del simbolo "En proceso"
|
|
2941
|
-
defaultTooltip:
|
|
2947
|
+
defaultTooltip: y,
|
|
2942
2948
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2943
|
-
showEye:
|
|
2949
|
+
showEye: g = !0
|
|
2944
2950
|
}) => {
|
|
2945
|
-
const { t:
|
|
2946
|
-
|
|
2951
|
+
const { t: b } = L(), [v, _] = A(i);
|
|
2952
|
+
F(() => {
|
|
2947
2953
|
i && _(i);
|
|
2948
2954
|
}, [i]);
|
|
2949
|
-
const
|
|
2950
|
-
if (
|
|
2951
|
-
let
|
|
2952
|
-
|
|
2955
|
+
const f = (C) => {
|
|
2956
|
+
if (v && v.length > 0) {
|
|
2957
|
+
let N = [...v];
|
|
2958
|
+
N.sort((w, x) => w[C].localeCompare(x[C])), _(N);
|
|
2953
2959
|
}
|
|
2954
2960
|
};
|
|
2955
2961
|
return /* @__PURE__ */ p(
|
|
@@ -2964,33 +2970,33 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2964
2970
|
className: U.header,
|
|
2965
2971
|
style: { borderBottom: `1px solid ${s}` },
|
|
2966
2972
|
children: [
|
|
2967
|
-
/* @__PURE__ */ n("div", { className: U.nameDateContainer, children: Object.keys(c).map((
|
|
2968
|
-
/* @__PURE__ */ n("span", { children:
|
|
2973
|
+
/* @__PURE__ */ n("div", { className: U.nameDateContainer, children: Object.keys(c).map((C) => C === "name" ? /* @__PURE__ */ n("div", { className: U.elementName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
2974
|
+
/* @__PURE__ */ n("span", { children: b(c.name) }),
|
|
2969
2975
|
/* @__PURE__ */ n("img", { src: ct, alt: "order arrow" })
|
|
2970
|
-
] }) },
|
|
2971
|
-
/* @__PURE__ */ n("span", { children:
|
|
2976
|
+
] }) }, C) : C === "data" ? /* @__PURE__ */ n("div", { className: U.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
2977
|
+
/* @__PURE__ */ n("span", { children: b(c.data) }),
|
|
2972
2978
|
/* @__PURE__ */ n("img", { src: ct, alt: "order arrow" })
|
|
2973
|
-
] }) },
|
|
2979
|
+
] }) }, C) : /* @__PURE__ */ n("div", { className: U.elementDate, children: /* @__PURE__ */ n("span", { children: b(c[C]) }) }, C)) }),
|
|
2974
2980
|
/* @__PURE__ */ n("div", { className: U.buttonsContainer })
|
|
2975
2981
|
]
|
|
2976
2982
|
}
|
|
2977
2983
|
),
|
|
2978
|
-
/* @__PURE__ */ n("div", { className: U.elementListContainer, children:
|
|
2979
|
-
|
|
2984
|
+
/* @__PURE__ */ n("div", { className: U.elementListContainer, children: v && v.length > 0 && v.map((C) => /* @__PURE__ */ n(
|
|
2985
|
+
Bt,
|
|
2980
2986
|
{
|
|
2981
|
-
isActive: d ==
|
|
2982
|
-
listelement:
|
|
2987
|
+
isActive: d == C.id,
|
|
2988
|
+
listelement: C,
|
|
2983
2989
|
fontColor: s,
|
|
2984
2990
|
activeColor: o,
|
|
2985
2991
|
onClickElement: a,
|
|
2986
2992
|
columns: c,
|
|
2987
2993
|
elementButtons: u,
|
|
2988
|
-
moreInfo:
|
|
2989
|
-
processTooltip:
|
|
2990
|
-
defaultTooltip:
|
|
2991
|
-
showEye:
|
|
2994
|
+
moreInfo: h,
|
|
2995
|
+
processTooltip: m,
|
|
2996
|
+
defaultTooltip: y,
|
|
2997
|
+
showEye: g
|
|
2992
2998
|
},
|
|
2993
|
-
`elementKey${
|
|
2999
|
+
`elementKey${C.id}`
|
|
2994
3000
|
)) }),
|
|
2995
3001
|
l && /* @__PURE__ */ n("div", { className: U.newElementButtonContainer, children: /* @__PURE__ */ n(
|
|
2996
3002
|
Fe,
|
|
@@ -2999,7 +3005,7 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2999
3005
|
onClick: l.onClick,
|
|
3000
3006
|
borderColor: "grey",
|
|
3001
3007
|
disabled: l.disabled || !1,
|
|
3002
|
-
children:
|
|
3008
|
+
children: b(l.label)
|
|
3003
3009
|
}
|
|
3004
3010
|
) })
|
|
3005
3011
|
]
|
|
@@ -3064,13 +3070,13 @@ const ci = "_formContainer_asv64_2", di = "_categorySelectorContainer_asv64_11",
|
|
|
3064
3070
|
radioList: "radioList",
|
|
3065
3071
|
select: "select"
|
|
3066
3072
|
};
|
|
3067
|
-
var mi = (i) => i.type === "checkbox", hi = (i) => i instanceof Date,
|
|
3073
|
+
var mi = (i) => i.type === "checkbox", hi = (i) => i instanceof Date, Lt = (i) => i == null;
|
|
3068
3074
|
const gi = (i) => typeof i == "object";
|
|
3069
|
-
var ve = (i) => !
|
|
3075
|
+
var ve = (i) => !Lt(i) && !Array.isArray(i) && gi(i) && !hi(i), Ci = (i) => ve(i) && i.target ? mi(i.target) ? i.target.checked : i.target.value : i, fi = (i) => i.substring(0, i.search(/\.\d+(\.|$)/)) || i, bi = (i, d) => i.has(fi(d)), yi = (i) => {
|
|
3070
3076
|
const d = i.constructor && i.constructor.prototype;
|
|
3071
3077
|
return ve(d) && d.hasOwnProperty("isPrototypeOf");
|
|
3072
3078
|
}, _i = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
3073
|
-
function
|
|
3079
|
+
function Tt(i) {
|
|
3074
3080
|
let d;
|
|
3075
3081
|
const s = Array.isArray(i), o = typeof FileList < "u" ? i instanceof FileList : !1;
|
|
3076
3082
|
if (i instanceof Date)
|
|
@@ -3080,19 +3086,19 @@ function Mt(i) {
|
|
|
3080
3086
|
d = i;
|
|
3081
3087
|
else
|
|
3082
3088
|
for (const t in i)
|
|
3083
|
-
i.hasOwnProperty(t) && (d[t] =
|
|
3089
|
+
i.hasOwnProperty(t) && (d[t] = Tt(i[t]));
|
|
3084
3090
|
else
|
|
3085
3091
|
return i;
|
|
3086
3092
|
return d;
|
|
3087
3093
|
}
|
|
3088
|
-
var
|
|
3094
|
+
var Mt = (i) => /^\w*$/.test(i), Ue = (i) => i === void 0, vi = (i) => Array.isArray(i) ? i.filter(Boolean) : [], Vt = (i) => vi(i.replace(/["|']|\]/g, "").split(/\.|\[/)), P = (i, d, s) => {
|
|
3089
3095
|
if (!d || !ve(i))
|
|
3090
3096
|
return s;
|
|
3091
|
-
const o = (
|
|
3097
|
+
const o = (Mt(d) ? [d] : Vt(d)).reduce((t, r) => Lt(t) ? t : t[r], i);
|
|
3092
3098
|
return Ue(o) || o === i ? Ue(i[d]) ? s : i[d] : o;
|
|
3093
3099
|
}, Pe = (i) => typeof i == "boolean", dt = (i, d, s) => {
|
|
3094
3100
|
let o = -1;
|
|
3095
|
-
const t =
|
|
3101
|
+
const t = Mt(d) ? [d] : Vt(d), r = t.length, l = r - 1;
|
|
3096
3102
|
for (; ++o < r; ) {
|
|
3097
3103
|
const a = t[o];
|
|
3098
3104
|
let c = s;
|
|
@@ -3110,9 +3116,9 @@ const ut = {
|
|
|
3110
3116
|
CHANGE: "change"
|
|
3111
3117
|
}, pt = {
|
|
3112
3118
|
all: "all"
|
|
3113
|
-
},
|
|
3114
|
-
|
|
3115
|
-
const Qe = () =>
|
|
3119
|
+
}, Dt = D.createContext(null);
|
|
3120
|
+
Dt.displayName = "HookFormContext";
|
|
3121
|
+
const Qe = () => D.useContext(Dt);
|
|
3116
3122
|
var wi = (i, d, s, o = !0) => {
|
|
3117
3123
|
const t = {
|
|
3118
3124
|
defaultValues: d._defaultValues
|
|
@@ -3126,9 +3132,9 @@ var wi = (i, d, s, o = !0) => {
|
|
|
3126
3132
|
});
|
|
3127
3133
|
return t;
|
|
3128
3134
|
};
|
|
3129
|
-
const
|
|
3135
|
+
const Ft = typeof window < "u" ? me.useLayoutEffect : me.useEffect;
|
|
3130
3136
|
function xi(i) {
|
|
3131
|
-
const d = Qe(), { control: s = d.control, disabled: o, name: t, exact: r } = i || {}, [l, a] =
|
|
3137
|
+
const d = Qe(), { control: s = d.control, disabled: o, name: t, exact: r } = i || {}, [l, a] = D.useState(s._formState), c = D.useRef({
|
|
3132
3138
|
isDirty: !1,
|
|
3133
3139
|
isLoading: !1,
|
|
3134
3140
|
dirtyFields: !1,
|
|
@@ -3138,7 +3144,7 @@ function xi(i) {
|
|
|
3138
3144
|
isValid: !1,
|
|
3139
3145
|
errors: !1
|
|
3140
3146
|
});
|
|
3141
|
-
return
|
|
3147
|
+
return Ft(() => s._subscribe({
|
|
3142
3148
|
name: t,
|
|
3143
3149
|
formState: c.current,
|
|
3144
3150
|
exact: r,
|
|
@@ -3148,21 +3154,21 @@ function xi(i) {
|
|
|
3148
3154
|
...u
|
|
3149
3155
|
});
|
|
3150
3156
|
}
|
|
3151
|
-
}), [t, o, r]),
|
|
3157
|
+
}), [t, o, r]), D.useEffect(() => {
|
|
3152
3158
|
c.current.isValid && s._setValid(!0);
|
|
3153
|
-
}, [s]),
|
|
3159
|
+
}, [s]), D.useMemo(() => wi(l, s, c.current, !1), [l, s]);
|
|
3154
3160
|
}
|
|
3155
3161
|
var Ni = (i) => typeof i == "string", ki = (i, d, s, o, t) => Ni(i) ? P(s, i, t) : Array.isArray(i) ? i.map((r) => P(s, r)) : s;
|
|
3156
3162
|
function Si(i) {
|
|
3157
|
-
const d = Qe(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: l } = i || {}, a =
|
|
3158
|
-
return
|
|
3163
|
+
const d = Qe(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: l } = i || {}, a = D.useRef(t), [c, u] = D.useState(s._getWatch(o, a.current));
|
|
3164
|
+
return Ft(() => s._subscribe({
|
|
3159
3165
|
name: o,
|
|
3160
3166
|
formState: {
|
|
3161
3167
|
values: !0
|
|
3162
3168
|
},
|
|
3163
3169
|
exact: l,
|
|
3164
|
-
callback: (
|
|
3165
|
-
}), [o, s, r, l]),
|
|
3170
|
+
callback: (h) => !r && u(ki(o, s._names, h.values || s._formValues, !1, a.current))
|
|
3171
|
+
}), [o, s, r, l]), D.useEffect(() => s._removeUnmounted()), c;
|
|
3166
3172
|
}
|
|
3167
3173
|
function $i(i) {
|
|
3168
3174
|
const d = Qe(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = i, l = bi(t._names.array, s), a = Si({
|
|
@@ -3174,11 +3180,11 @@ function $i(i) {
|
|
|
3174
3180
|
control: t,
|
|
3175
3181
|
name: s,
|
|
3176
3182
|
exact: !0
|
|
3177
|
-
}), u =
|
|
3183
|
+
}), u = D.useRef(i), h = D.useRef(t.register(s, {
|
|
3178
3184
|
...i.rules,
|
|
3179
3185
|
value: a,
|
|
3180
3186
|
...Pe(i.disabled) ? { disabled: i.disabled } : {}
|
|
3181
|
-
})),
|
|
3187
|
+
})), m = D.useMemo(() => Object.defineProperties({}, {
|
|
3182
3188
|
invalid: {
|
|
3183
3189
|
enumerable: !0,
|
|
3184
3190
|
get: () => !!P(c.errors, s)
|
|
@@ -3199,61 +3205,61 @@ function $i(i) {
|
|
|
3199
3205
|
enumerable: !0,
|
|
3200
3206
|
get: () => P(c.errors, s)
|
|
3201
3207
|
}
|
|
3202
|
-
}), [c, s]),
|
|
3208
|
+
}), [c, s]), y = D.useCallback((_) => h.current.onChange({
|
|
3203
3209
|
target: {
|
|
3204
3210
|
value: Ci(_),
|
|
3205
3211
|
name: s
|
|
3206
3212
|
},
|
|
3207
3213
|
type: ut.CHANGE
|
|
3208
|
-
}), [s]),
|
|
3214
|
+
}), [s]), g = D.useCallback(() => h.current.onBlur({
|
|
3209
3215
|
target: {
|
|
3210
3216
|
value: P(t._formValues, s),
|
|
3211
3217
|
name: s
|
|
3212
3218
|
},
|
|
3213
3219
|
type: ut.BLUR
|
|
3214
|
-
}), [s, t._formValues]),
|
|
3215
|
-
const
|
|
3216
|
-
|
|
3220
|
+
}), [s, t._formValues]), b = D.useCallback((_) => {
|
|
3221
|
+
const f = P(t._fields, s);
|
|
3222
|
+
f && _ && (f._f.ref = {
|
|
3217
3223
|
focus: () => _.focus && _.focus(),
|
|
3218
3224
|
select: () => _.select && _.select(),
|
|
3219
|
-
setCustomValidity: (
|
|
3225
|
+
setCustomValidity: (C) => _.setCustomValidity(C),
|
|
3220
3226
|
reportValidity: () => _.reportValidity()
|
|
3221
3227
|
});
|
|
3222
|
-
}, [t._fields, s]),
|
|
3228
|
+
}, [t._fields, s]), v = D.useMemo(() => ({
|
|
3223
3229
|
name: s,
|
|
3224
3230
|
value: a,
|
|
3225
3231
|
...Pe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3226
|
-
onChange:
|
|
3227
|
-
onBlur:
|
|
3228
|
-
ref:
|
|
3229
|
-
}), [s, o, c.disabled,
|
|
3230
|
-
return
|
|
3232
|
+
onChange: y,
|
|
3233
|
+
onBlur: g,
|
|
3234
|
+
ref: b
|
|
3235
|
+
}), [s, o, c.disabled, y, g, b, a]);
|
|
3236
|
+
return D.useEffect(() => {
|
|
3231
3237
|
const _ = t._options.shouldUnregister || r;
|
|
3232
3238
|
t.register(s, {
|
|
3233
3239
|
...u.current.rules,
|
|
3234
3240
|
...Pe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3235
3241
|
});
|
|
3236
|
-
const
|
|
3237
|
-
const w = P(t._fields,
|
|
3238
|
-
w && w._f && (w._f.mount =
|
|
3242
|
+
const f = (C, N) => {
|
|
3243
|
+
const w = P(t._fields, C);
|
|
3244
|
+
w && w._f && (w._f.mount = N);
|
|
3239
3245
|
};
|
|
3240
|
-
if (
|
|
3241
|
-
const
|
|
3242
|
-
dt(t._defaultValues, s,
|
|
3246
|
+
if (f(s, !0), _) {
|
|
3247
|
+
const C = Tt(P(t._options.defaultValues, s));
|
|
3248
|
+
dt(t._defaultValues, s, C), Ue(P(t._formValues, s)) && dt(t._formValues, s, C);
|
|
3243
3249
|
}
|
|
3244
3250
|
return !l && t.register(s), () => {
|
|
3245
|
-
(l ? _ && !t._state.action : _) ? t.unregister(s) :
|
|
3251
|
+
(l ? _ && !t._state.action : _) ? t.unregister(s) : f(s, !1);
|
|
3246
3252
|
};
|
|
3247
|
-
}, [s, t, l, r]),
|
|
3253
|
+
}, [s, t, l, r]), D.useEffect(() => {
|
|
3248
3254
|
t._setDisabledField({
|
|
3249
3255
|
disabled: o,
|
|
3250
3256
|
name: s
|
|
3251
3257
|
});
|
|
3252
|
-
}, [o, s, t]),
|
|
3253
|
-
field:
|
|
3258
|
+
}, [o, s, t]), D.useMemo(() => ({
|
|
3259
|
+
field: v,
|
|
3254
3260
|
formState: c,
|
|
3255
|
-
fieldState:
|
|
3256
|
-
}), [
|
|
3261
|
+
fieldState: m
|
|
3262
|
+
}), [v, c, m]);
|
|
3257
3263
|
}
|
|
3258
3264
|
const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_labelContainer_1o3iy_5", Ti = "_inputContainer_1o3iy_8", Mi = "_showPasswordButton_1o3iy_14", Vi = "_forgotPassButton_1o3iy_26", ye = {
|
|
3259
3265
|
textInputContainer: Bi,
|
|
@@ -3289,58 +3295,58 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3289
3295
|
validateFunction: a,
|
|
3290
3296
|
placeholder: c,
|
|
3291
3297
|
errorColor: u = "red",
|
|
3292
|
-
width:
|
|
3293
|
-
onClickForgotPass:
|
|
3298
|
+
width: h = 325,
|
|
3299
|
+
onClickForgotPass: m = () => {
|
|
3294
3300
|
console.log("Click on forgot password");
|
|
3295
3301
|
},
|
|
3296
|
-
forgotPassLabel:
|
|
3297
|
-
} = i, { t:
|
|
3302
|
+
forgotPassLabel: y = "forgot-password"
|
|
3303
|
+
} = i, { t: g } = L(), { control: b, trigger: v, clearErrors: _ } = d, { errorColor: f } = Ne((x) => x), [C, N] = A(!1);
|
|
3298
3304
|
ae(l);
|
|
3299
|
-
const w = () => o ? o === "password" &&
|
|
3305
|
+
const w = () => o ? o === "password" && C ? "text" : o : "text";
|
|
3300
3306
|
return /* @__PURE__ */ n(
|
|
3301
3307
|
we,
|
|
3302
3308
|
{
|
|
3303
3309
|
name: s,
|
|
3304
|
-
control:
|
|
3310
|
+
control: b,
|
|
3305
3311
|
rules: {
|
|
3306
|
-
required: l ? `${
|
|
3312
|
+
required: l ? `${g(t)} ${g("errorMessages.required")}` : !1,
|
|
3307
3313
|
maxLength: r || void 0,
|
|
3308
3314
|
validate: a || void 0
|
|
3309
3315
|
},
|
|
3310
|
-
render: ({ field:
|
|
3316
|
+
render: ({ field: x, fieldState: S }) => {
|
|
3311
3317
|
var $;
|
|
3312
3318
|
return /* @__PURE__ */ p("div", { className: ye.textInputContainer, children: [
|
|
3313
3319
|
/* @__PURE__ */ p("h3", { className: ye.labelContainer, children: [
|
|
3314
|
-
|
|
3320
|
+
g(t),
|
|
3315
3321
|
" ",
|
|
3316
3322
|
l && /* @__PURE__ */ n("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3317
3323
|
] }),
|
|
3318
3324
|
/* @__PURE__ */ p(
|
|
3319
3325
|
"div",
|
|
3320
3326
|
{
|
|
3321
|
-
style: { position: "relative", width:
|
|
3327
|
+
style: { position: "relative", width: h },
|
|
3322
3328
|
className: ye.inputContainer,
|
|
3323
3329
|
children: [
|
|
3324
3330
|
/* @__PURE__ */ n(
|
|
3325
3331
|
"input",
|
|
3326
3332
|
{
|
|
3327
3333
|
type: w(),
|
|
3328
|
-
...
|
|
3329
|
-
placeholder: c ?
|
|
3334
|
+
...x,
|
|
3335
|
+
placeholder: c ? g(c) : "",
|
|
3330
3336
|
maxLength: r || void 0
|
|
3331
3337
|
}
|
|
3332
3338
|
),
|
|
3333
3339
|
o == "password" && /* @__PURE__ */ n(
|
|
3334
3340
|
"button",
|
|
3335
3341
|
{
|
|
3336
|
-
onClick: () =>
|
|
3342
|
+
onClick: () => N(!C),
|
|
3337
3343
|
type: "button",
|
|
3338
3344
|
className: ye.showPasswordButton,
|
|
3339
3345
|
children: /* @__PURE__ */ n(
|
|
3340
3346
|
"img",
|
|
3341
3347
|
{
|
|
3342
|
-
src:
|
|
3343
|
-
alt:
|
|
3348
|
+
src: C ? Ii : Ai,
|
|
3349
|
+
alt: g("show-password")
|
|
3344
3350
|
}
|
|
3345
3351
|
)
|
|
3346
3352
|
}
|
|
@@ -3348,12 +3354,12 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3348
3354
|
]
|
|
3349
3355
|
}
|
|
3350
3356
|
),
|
|
3351
|
-
o == "password" && /* @__PURE__ */ n("div", { className: ye.forgotPassButton, children: /* @__PURE__ */ n("button", { onClick:
|
|
3357
|
+
o == "password" && /* @__PURE__ */ n("div", { className: ye.forgotPassButton, children: /* @__PURE__ */ n("button", { onClick: m, children: g(y) }) }),
|
|
3352
3358
|
/* @__PURE__ */ n(
|
|
3353
3359
|
xe,
|
|
3354
3360
|
{
|
|
3355
3361
|
errorMessage: ($ = S.error) == null ? void 0 : $.message,
|
|
3356
|
-
errorColor:
|
|
3362
|
+
errorColor: f || u
|
|
3357
3363
|
}
|
|
3358
3364
|
)
|
|
3359
3365
|
] });
|
|
@@ -3378,53 +3384,53 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3378
3384
|
required: a,
|
|
3379
3385
|
validateFunction: c,
|
|
3380
3386
|
placeholder: u,
|
|
3381
|
-
errorColor:
|
|
3382
|
-
width:
|
|
3383
|
-
options:
|
|
3387
|
+
errorColor: h = "red",
|
|
3388
|
+
width: m = 325,
|
|
3389
|
+
options: y = []
|
|
3384
3390
|
//Used if we dont use react hook form
|
|
3385
|
-
} = i, { t:
|
|
3391
|
+
} = i, { t: g } = L(), { control: b, trigger: v, clearErrors: _ } = d || {}, { errorColor: f } = Ne((w) => w);
|
|
3386
3392
|
ae(a);
|
|
3387
|
-
const [
|
|
3388
|
-
return
|
|
3389
|
-
|
|
3390
|
-
}, [
|
|
3393
|
+
const [C, N] = A(null);
|
|
3394
|
+
return F(() => {
|
|
3395
|
+
C && s && s(C);
|
|
3396
|
+
}, [C, s]), d ? /* @__PURE__ */ n(
|
|
3391
3397
|
we,
|
|
3392
3398
|
{
|
|
3393
3399
|
name: o,
|
|
3394
|
-
control:
|
|
3400
|
+
control: b,
|
|
3395
3401
|
rules: {
|
|
3396
|
-
required: a ? `${
|
|
3402
|
+
required: a ? `${g(r)} ${g("errorMessages.required")}` : !1,
|
|
3397
3403
|
validate: c ? (w) => {
|
|
3398
|
-
let
|
|
3399
|
-
return c(w,
|
|
3404
|
+
let x = d.getValues();
|
|
3405
|
+
return c(w, x);
|
|
3400
3406
|
} : void 0
|
|
3401
3407
|
},
|
|
3402
|
-
render: ({ field: w, fieldState:
|
|
3408
|
+
render: ({ field: w, fieldState: x }) => {
|
|
3403
3409
|
var S;
|
|
3404
3410
|
return /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3405
3411
|
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3406
|
-
|
|
3412
|
+
g(r),
|
|
3407
3413
|
" ",
|
|
3408
|
-
a && /* @__PURE__ */ n("label", { style: { color:
|
|
3414
|
+
a && /* @__PURE__ */ n("label", { style: { color: x.error ? h : "" }, children: "*" })
|
|
3409
3415
|
] }),
|
|
3410
|
-
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width:
|
|
3416
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: m }, children: [
|
|
3411
3417
|
/* @__PURE__ */ p(
|
|
3412
3418
|
"select",
|
|
3413
3419
|
{
|
|
3414
3420
|
...w,
|
|
3415
3421
|
onChange: ($) => {
|
|
3416
|
-
const k = $.target.value, B =
|
|
3422
|
+
const k = $.target.value, B = y.every((V) => typeof V.value == "number") ? Number(k) : k;
|
|
3417
3423
|
w.onChange(B);
|
|
3418
3424
|
},
|
|
3419
3425
|
className: z.selectInput,
|
|
3420
3426
|
children: [
|
|
3421
|
-
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3422
|
-
|
|
3427
|
+
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children: g(u || "selectOption") }),
|
|
3428
|
+
y.map(($, k) => /* @__PURE__ */ n(
|
|
3423
3429
|
"option",
|
|
3424
3430
|
{
|
|
3425
3431
|
value: $.value,
|
|
3426
3432
|
className: z.option,
|
|
3427
|
-
children:
|
|
3433
|
+
children: g($.label)
|
|
3428
3434
|
},
|
|
3429
3435
|
k
|
|
3430
3436
|
))
|
|
@@ -3443,8 +3449,8 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3443
3449
|
/* @__PURE__ */ n(
|
|
3444
3450
|
xe,
|
|
3445
3451
|
{
|
|
3446
|
-
errorMessage: (S =
|
|
3447
|
-
errorColor:
|
|
3452
|
+
errorMessage: (S = x.error) == null ? void 0 : S.message,
|
|
3453
|
+
errorColor: f || h
|
|
3448
3454
|
}
|
|
3449
3455
|
)
|
|
3450
3456
|
] });
|
|
@@ -3452,30 +3458,30 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3452
3458
|
}
|
|
3453
3459
|
) : /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3454
3460
|
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3455
|
-
|
|
3461
|
+
g(r),
|
|
3456
3462
|
" ",
|
|
3457
3463
|
a && /* @__PURE__ */ n("label", { children: "*" })
|
|
3458
3464
|
] }),
|
|
3459
|
-
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width:
|
|
3465
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: m }, children: [
|
|
3460
3466
|
/* @__PURE__ */ p(
|
|
3461
3467
|
"select",
|
|
3462
3468
|
{
|
|
3463
|
-
value:
|
|
3469
|
+
value: C || "",
|
|
3464
3470
|
onChange: (w) => {
|
|
3465
|
-
const
|
|
3466
|
-
|
|
3471
|
+
const x = w.target.value, S = y.every(($) => typeof $.value == "number") ? Number(x) : x;
|
|
3472
|
+
N(S);
|
|
3467
3473
|
},
|
|
3468
3474
|
className: z.selectInput,
|
|
3469
3475
|
children: [
|
|
3470
|
-
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3471
|
-
|
|
3476
|
+
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children: g(u || "selectOption") }),
|
|
3477
|
+
y.map((w, x) => /* @__PURE__ */ n(
|
|
3472
3478
|
"option",
|
|
3473
3479
|
{
|
|
3474
3480
|
value: w.value,
|
|
3475
3481
|
className: z.option,
|
|
3476
|
-
children:
|
|
3482
|
+
children: g(w.label)
|
|
3477
3483
|
},
|
|
3478
|
-
|
|
3484
|
+
x
|
|
3479
3485
|
))
|
|
3480
3486
|
]
|
|
3481
3487
|
}
|
|
@@ -3499,26 +3505,26 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3499
3505
|
errorColor: l = "red",
|
|
3500
3506
|
options: a = [],
|
|
3501
3507
|
multi: c = !1
|
|
3502
|
-
} = i, { t: u } = L(), { control:
|
|
3503
|
-
if (c &&
|
|
3504
|
-
let
|
|
3505
|
-
|
|
3508
|
+
} = i, { t: u } = L(), { control: h, trigger: m, clearErrors: y } = d, { errorColor: g } = Ne((_) => _), b = ({ options: _, onChange: f, actualValue: C }) => {
|
|
3509
|
+
if (c && C && C.length > 0) {
|
|
3510
|
+
let N = C.filter((w) => w !== _);
|
|
3511
|
+
f(N);
|
|
3506
3512
|
}
|
|
3507
|
-
},
|
|
3508
|
-
c ?
|
|
3513
|
+
}, v = ({ options: _, onChange: f, actualValue: C }) => {
|
|
3514
|
+
c ? C && C.length > 0 ? f([...C, _]) : f([_]) : f(_);
|
|
3509
3515
|
};
|
|
3510
3516
|
return ae(t), /* @__PURE__ */ n(
|
|
3511
3517
|
we,
|
|
3512
3518
|
{
|
|
3513
|
-
control:
|
|
3519
|
+
control: h,
|
|
3514
3520
|
name: s,
|
|
3515
3521
|
rules: {
|
|
3516
3522
|
validate: (_) => t && (_ == null || _ === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3517
3523
|
},
|
|
3518
3524
|
render: ({
|
|
3519
3525
|
formState: { errors: _ },
|
|
3520
|
-
field: { onChange:
|
|
3521
|
-
fieldState:
|
|
3526
|
+
field: { onChange: f, onBlur: C, value: N, ref: w },
|
|
3527
|
+
fieldState: x
|
|
3522
3528
|
}) => {
|
|
3523
3529
|
var S;
|
|
3524
3530
|
return /* @__PURE__ */ n("div", { id: s + "id", className: se.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: se.wholeInputContainer, children: [
|
|
@@ -3533,7 +3539,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3533
3539
|
t && /* @__PURE__ */ n(
|
|
3534
3540
|
"label",
|
|
3535
3541
|
{
|
|
3536
|
-
style: { color:
|
|
3542
|
+
style: { color: x.error ? l : "" },
|
|
3537
3543
|
children: "*"
|
|
3538
3544
|
}
|
|
3539
3545
|
)
|
|
@@ -3546,9 +3552,9 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3546
3552
|
label: $,
|
|
3547
3553
|
value: k,
|
|
3548
3554
|
disabled: B = !1,
|
|
3549
|
-
italicLabel:
|
|
3555
|
+
italicLabel: V
|
|
3550
3556
|
}, H) => {
|
|
3551
|
-
const T =
|
|
3557
|
+
const T = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((j) => j === k) : N === k;
|
|
3552
3558
|
return /* @__PURE__ */ p("label", { children: [
|
|
3553
3559
|
/* @__PURE__ */ n(
|
|
3554
3560
|
"input",
|
|
@@ -3556,15 +3562,15 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3556
3562
|
type: "radio",
|
|
3557
3563
|
checked: T,
|
|
3558
3564
|
onChange: () => {
|
|
3559
|
-
c ? T ?
|
|
3560
|
-
actualValue:
|
|
3565
|
+
c ? T ? b({
|
|
3566
|
+
actualValue: N,
|
|
3561
3567
|
options: a,
|
|
3562
|
-
onChange:
|
|
3563
|
-
}) :
|
|
3564
|
-
actualValue:
|
|
3568
|
+
onChange: f
|
|
3569
|
+
}) : v({
|
|
3570
|
+
actualValue: N,
|
|
3565
3571
|
options: a,
|
|
3566
|
-
onChange:
|
|
3567
|
-
}) :
|
|
3572
|
+
onChange: f
|
|
3573
|
+
}) : f(k);
|
|
3568
3574
|
},
|
|
3569
3575
|
className: se.radioInput
|
|
3570
3576
|
}
|
|
@@ -3577,8 +3583,8 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3577
3583
|
/* @__PURE__ */ n(
|
|
3578
3584
|
xe,
|
|
3579
3585
|
{
|
|
3580
|
-
errorMessage: (S =
|
|
3581
|
-
errorColor:
|
|
3586
|
+
errorMessage: (S = x.error) == null ? void 0 : S.message,
|
|
3587
|
+
errorColor: g || l
|
|
3582
3588
|
}
|
|
3583
3589
|
)
|
|
3584
3590
|
] })
|
|
@@ -3595,7 +3601,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3595
3601
|
labels: i1,
|
|
3596
3602
|
minLabel: s1,
|
|
3597
3603
|
maxLabel: o1
|
|
3598
|
-
},
|
|
3604
|
+
}, At = ({ input: i, reactHookFormInstance: d, onChange: s }) => {
|
|
3599
3605
|
const {
|
|
3600
3606
|
code: o,
|
|
3601
3607
|
label: t,
|
|
@@ -3605,42 +3611,42 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3605
3611
|
thumbColor: c = "#B32F5D",
|
|
3606
3612
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3607
3613
|
required: u,
|
|
3608
|
-
errorColor:
|
|
3609
|
-
labelWidth:
|
|
3610
|
-
sliderWidth:
|
|
3611
|
-
minText:
|
|
3612
|
-
maxText:
|
|
3613
|
-
disabled:
|
|
3614
|
+
errorColor: h = "red",
|
|
3615
|
+
labelWidth: m = "300px",
|
|
3616
|
+
sliderWidth: y = "300px",
|
|
3617
|
+
minText: g,
|
|
3618
|
+
maxText: b,
|
|
3619
|
+
disabled: v = !1,
|
|
3614
3620
|
marks: _ = Array.from(
|
|
3615
3621
|
{ length: l - r + 1 },
|
|
3616
|
-
(B,
|
|
3622
|
+
(B, V) => r + V
|
|
3617
3623
|
),
|
|
3618
|
-
showMarksNumber:
|
|
3619
|
-
} = i, { t:
|
|
3624
|
+
showMarksNumber: f = !0
|
|
3625
|
+
} = i, { t: C } = L(), { control: N, trigger: w, clearErrors: x } = d || {};
|
|
3620
3626
|
ae(u);
|
|
3621
|
-
const { errorColorForm: S } = Ne((B) => B), [$, k] =
|
|
3627
|
+
const { errorColorForm: S } = Ne((B) => B), [$, k] = A(a);
|
|
3622
3628
|
return d ? /* @__PURE__ */ n(
|
|
3623
3629
|
we,
|
|
3624
3630
|
{
|
|
3625
3631
|
name: o,
|
|
3626
|
-
control:
|
|
3632
|
+
control: N,
|
|
3627
3633
|
defaultValue: a,
|
|
3628
3634
|
rules: {
|
|
3629
|
-
required: u ? `${
|
|
3635
|
+
required: u ? `${C(t)} ${C("errorMessages.required")}` : !1
|
|
3630
3636
|
},
|
|
3631
|
-
render: ({ field: B, fieldState:
|
|
3637
|
+
render: ({ field: B, fieldState: V }) => {
|
|
3632
3638
|
var H;
|
|
3633
3639
|
return /* @__PURE__ */ p(
|
|
3634
3640
|
"div",
|
|
3635
3641
|
{
|
|
3636
3642
|
className: I.rankingSliderContainer,
|
|
3637
3643
|
style: {
|
|
3638
|
-
gridTemplateColumns: `${t &&
|
|
3644
|
+
gridTemplateColumns: `${t && m} ${y}`
|
|
3639
3645
|
},
|
|
3640
3646
|
children: [
|
|
3641
|
-
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children:
|
|
3647
|
+
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children: C(t) }),
|
|
3642
3648
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3643
|
-
|
|
3649
|
+
g && /* @__PURE__ */ n("div", { className: I.minLabel, children: C(g) }),
|
|
3644
3650
|
/* @__PURE__ */ p("div", { children: [
|
|
3645
3651
|
/* @__PURE__ */ n(
|
|
3646
3652
|
He,
|
|
@@ -3662,18 +3668,18 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3662
3668
|
),
|
|
3663
3669
|
trackClassName: I.track,
|
|
3664
3670
|
markClassName: I.mark,
|
|
3665
|
-
disabled:
|
|
3671
|
+
disabled: v
|
|
3666
3672
|
}
|
|
3667
3673
|
),
|
|
3668
|
-
_ && /* @__PURE__ */ n("div", { className: I.labels, children: _.map((T) => /* @__PURE__ */ n("span", { children:
|
|
3674
|
+
_ && /* @__PURE__ */ n("div", { className: I.labels, children: _.map((T) => /* @__PURE__ */ n("span", { children: f && T }, T)) })
|
|
3669
3675
|
] }),
|
|
3670
|
-
|
|
3676
|
+
b && /* @__PURE__ */ n("div", { className: I.maxLabel, children: C(b) })
|
|
3671
3677
|
] }),
|
|
3672
3678
|
/* @__PURE__ */ n(
|
|
3673
3679
|
xe,
|
|
3674
3680
|
{
|
|
3675
|
-
errorMessage: (H =
|
|
3676
|
-
errorColor: S ||
|
|
3681
|
+
errorMessage: (H = V.error) == null ? void 0 : H.message,
|
|
3682
|
+
errorColor: S || h
|
|
3677
3683
|
}
|
|
3678
3684
|
)
|
|
3679
3685
|
]
|
|
@@ -3685,11 +3691,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3685
3691
|
"div",
|
|
3686
3692
|
{
|
|
3687
3693
|
className: I.rankingSliderContainer,
|
|
3688
|
-
style: { gridTemplateColumns: `${t &&
|
|
3694
|
+
style: { gridTemplateColumns: `${t && m} ${y}` },
|
|
3689
3695
|
children: [
|
|
3690
|
-
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children:
|
|
3696
|
+
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children: C(t) }),
|
|
3691
3697
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3692
|
-
|
|
3698
|
+
g && /* @__PURE__ */ n("div", { className: I.minLabel, children: C(g) }),
|
|
3693
3699
|
/* @__PURE__ */ p("div", { children: [
|
|
3694
3700
|
/* @__PURE__ */ n(
|
|
3695
3701
|
He,
|
|
@@ -3713,18 +3719,18 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3713
3719
|
),
|
|
3714
3720
|
trackClassName: I.track,
|
|
3715
3721
|
markClassName: I.mark,
|
|
3716
|
-
disabled:
|
|
3722
|
+
disabled: v
|
|
3717
3723
|
}
|
|
3718
3724
|
),
|
|
3719
|
-
_ && /* @__PURE__ */ n("div", { className: I.labels, children: _.map((B) => /* @__PURE__ */ n("span", { children:
|
|
3725
|
+
_ && /* @__PURE__ */ n("div", { className: I.labels, children: _.map((B) => /* @__PURE__ */ n("span", { children: f && B }, B)) })
|
|
3720
3726
|
] }),
|
|
3721
|
-
|
|
3727
|
+
b && /* @__PURE__ */ n("div", { className: I.maxLabel, children: C(b) })
|
|
3722
3728
|
] })
|
|
3723
3729
|
]
|
|
3724
3730
|
}
|
|
3725
3731
|
);
|
|
3726
3732
|
};
|
|
3727
|
-
|
|
3733
|
+
At.propTypes = {
|
|
3728
3734
|
input: e.shape({
|
|
3729
3735
|
code: e.string,
|
|
3730
3736
|
label: e.string,
|
|
@@ -3829,7 +3835,7 @@ const _e = ({
|
|
|
3829
3835
|
className: ue.inputContainer,
|
|
3830
3836
|
style: { ...d },
|
|
3831
3837
|
children: /* @__PURE__ */ n(
|
|
3832
|
-
|
|
3838
|
+
At,
|
|
3833
3839
|
{
|
|
3834
3840
|
input: l,
|
|
3835
3841
|
reactHookFormInstance: s
|
|
@@ -3862,20 +3868,20 @@ const _e = ({
|
|
|
3862
3868
|
className: Te.categorySelector,
|
|
3863
3869
|
style: t ? { ...t } : {},
|
|
3864
3870
|
children: i.map((a, c) => {
|
|
3865
|
-
const { id: u, label:
|
|
3871
|
+
const { id: u, label: h } = a, m = s == u;
|
|
3866
3872
|
return /* @__PURE__ */ n(
|
|
3867
3873
|
"button",
|
|
3868
3874
|
{
|
|
3869
|
-
className: `${Te.sectionItem} ${
|
|
3875
|
+
className: `${Te.sectionItem} ${m ? Te.sectionItemActive : ""}`,
|
|
3870
3876
|
type: "button",
|
|
3871
|
-
style: { backgroundColor:
|
|
3877
|
+
style: { backgroundColor: m ? o : "inherit" },
|
|
3872
3878
|
onClick: () => l(u),
|
|
3873
3879
|
children: /* @__PURE__ */ n(
|
|
3874
3880
|
"span",
|
|
3875
3881
|
{
|
|
3876
|
-
style: { color:
|
|
3882
|
+
style: { color: m ? "white" : "inherit" },
|
|
3877
3883
|
className: Te.sectionLabel,
|
|
3878
|
-
children: r(
|
|
3884
|
+
children: r(h)
|
|
3879
3885
|
}
|
|
3880
3886
|
)
|
|
3881
3887
|
},
|
|
@@ -3884,7 +3890,7 @@ const _e = ({
|
|
|
3884
3890
|
})
|
|
3885
3891
|
}
|
|
3886
3892
|
);
|
|
3887
|
-
},
|
|
3893
|
+
}, Ds = ({
|
|
3888
3894
|
reactHookFormInstance: i,
|
|
3889
3895
|
formObject: d,
|
|
3890
3896
|
CategoryComponent: s,
|
|
@@ -3895,37 +3901,37 @@ const _e = ({
|
|
|
3895
3901
|
submitButtonStyles: a = { width: 325 },
|
|
3896
3902
|
showCategorySelector: c = !0,
|
|
3897
3903
|
defaultCategory: u = null,
|
|
3898
|
-
categoryLabel:
|
|
3899
|
-
activeCategory:
|
|
3900
|
-
activeCategoryColor:
|
|
3901
|
-
onSubmit:
|
|
3904
|
+
categoryLabel: h = "Select Category",
|
|
3905
|
+
activeCategory: m = null,
|
|
3906
|
+
activeCategoryColor: y = "#b32f5d",
|
|
3907
|
+
onSubmit: g = (b) => console.log("Form submitted with: ", b)
|
|
3902
3908
|
}) => {
|
|
3903
|
-
const { t:
|
|
3904
|
-
|
|
3909
|
+
const { t: b } = L(), { handleSubmit: v, control: _ } = i;
|
|
3910
|
+
F(() => {
|
|
3905
3911
|
r && Ne.setState(() => ({ errorColor: r }));
|
|
3906
3912
|
}, [r]);
|
|
3907
|
-
const
|
|
3913
|
+
const f = he(() => d ? d.filter((k) => k.category).map((k) => {
|
|
3908
3914
|
var B;
|
|
3909
3915
|
return {
|
|
3910
3916
|
id: k.categoryId,
|
|
3911
3917
|
label: k.category,
|
|
3912
3918
|
hasSubcategories: ((B = k.subcategories) == null ? void 0 : B.length) > 0
|
|
3913
3919
|
};
|
|
3914
|
-
}) : [], [d]),
|
|
3915
|
-
const B = d == null ? void 0 : d.find((
|
|
3920
|
+
}) : [], [d]), C = (k) => {
|
|
3921
|
+
const B = d == null ? void 0 : d.find((V) => V.categoryId === k);
|
|
3916
3922
|
return (B == null ? void 0 : B.subcategories) || [];
|
|
3917
|
-
}, [
|
|
3918
|
-
|
|
3919
|
-
), [
|
|
3920
|
-
|
|
3921
|
-
!
|
|
3922
|
-
}, [
|
|
3923
|
-
const k =
|
|
3924
|
-
!
|
|
3925
|
-
}, [
|
|
3923
|
+
}, [N, w] = A(
|
|
3924
|
+
m || u || null
|
|
3925
|
+
), [x, S] = A(null);
|
|
3926
|
+
F(() => {
|
|
3927
|
+
!N && f.length > 0 && w(f[0].id);
|
|
3928
|
+
}, [f, N]), F(() => {
|
|
3929
|
+
const k = C(N);
|
|
3930
|
+
!x && (k == null ? void 0 : k.length) > 0 && S(k[0].id);
|
|
3931
|
+
}, [N, x, d]);
|
|
3926
3932
|
const $ = (k, B) => {
|
|
3927
|
-
var
|
|
3928
|
-
if (((
|
|
3933
|
+
var V;
|
|
3934
|
+
if (((V = k.subcategories) == null ? void 0 : V.length) > 0) {
|
|
3929
3935
|
const H = k.subcategories;
|
|
3930
3936
|
return /* @__PURE__ */ p("div", { children: [
|
|
3931
3937
|
/* @__PURE__ */ n(
|
|
@@ -3935,17 +3941,17 @@ const _e = ({
|
|
|
3935
3941
|
children: /* @__PURE__ */ n(
|
|
3936
3942
|
gt,
|
|
3937
3943
|
{
|
|
3938
|
-
activeCategory:
|
|
3944
|
+
activeCategory: x,
|
|
3939
3945
|
categories: H,
|
|
3940
3946
|
onChange: (T) => S(T),
|
|
3941
|
-
activeColor:
|
|
3947
|
+
activeColor: y
|
|
3942
3948
|
}
|
|
3943
3949
|
)
|
|
3944
3950
|
},
|
|
3945
3951
|
k.categoryId
|
|
3946
3952
|
),
|
|
3947
3953
|
H.map((T, j) => {
|
|
3948
|
-
const Z = !
|
|
3954
|
+
const Z = !x || T.id === x;
|
|
3949
3955
|
return s ? /* @__PURE__ */ n(
|
|
3950
3956
|
"div",
|
|
3951
3957
|
{
|
|
@@ -3973,7 +3979,7 @@ const _e = ({
|
|
|
3973
3979
|
display: Z ? "block" : "none"
|
|
3974
3980
|
},
|
|
3975
3981
|
children: [
|
|
3976
|
-
/* @__PURE__ */ n("h3", { style: { marginBottom: 15 }, children:
|
|
3982
|
+
/* @__PURE__ */ n("h3", { style: { marginBottom: 15 }, children: b(T.label) }),
|
|
3977
3983
|
/* @__PURE__ */ n(
|
|
3978
3984
|
_e,
|
|
3979
3985
|
{
|
|
@@ -4001,7 +4007,7 @@ const _e = ({
|
|
|
4001
4007
|
reactHookFormInstance: i
|
|
4002
4008
|
}
|
|
4003
4009
|
) }, k.categoryId) : /* @__PURE__ */ p("div", { style: { width: "100%" }, children: [
|
|
4004
|
-
/* @__PURE__ */ n("h2", { children:
|
|
4010
|
+
/* @__PURE__ */ n("h2", { children: b(k.category) }),
|
|
4005
4011
|
/* @__PURE__ */ n(
|
|
4006
4012
|
_e,
|
|
4007
4013
|
{
|
|
@@ -4014,21 +4020,21 @@ const _e = ({
|
|
|
4014
4020
|
)
|
|
4015
4021
|
] }, k.categoryId);
|
|
4016
4022
|
};
|
|
4017
|
-
return /* @__PURE__ */ p("form", { className: fe.formContainer, onSubmit:
|
|
4018
|
-
c &&
|
|
4023
|
+
return /* @__PURE__ */ p("form", { className: fe.formContainer, onSubmit: v(g), children: [
|
|
4024
|
+
c && f.length > 0 && /* @__PURE__ */ n("div", { className: fe.categorySelectorContainer, children: /* @__PURE__ */ n(
|
|
4019
4025
|
gt,
|
|
4020
4026
|
{
|
|
4021
|
-
activeCategory:
|
|
4022
|
-
categories:
|
|
4027
|
+
activeCategory: N,
|
|
4028
|
+
categories: f,
|
|
4023
4029
|
onChange: (k) => {
|
|
4024
4030
|
w(k), S(null);
|
|
4025
4031
|
},
|
|
4026
|
-
activeColor:
|
|
4032
|
+
activeColor: y
|
|
4027
4033
|
}
|
|
4028
4034
|
) }),
|
|
4029
4035
|
/* @__PURE__ */ n("div", { className: fe.formObjectContainer, children: d == null ? void 0 : d.map((k, B) => {
|
|
4030
|
-
const
|
|
4031
|
-
return k.category && !
|
|
4036
|
+
const V = k.categoryId === N;
|
|
4037
|
+
return k.category && !V ? null : k.category && V ? /* @__PURE__ */ n(
|
|
4032
4038
|
"div",
|
|
4033
4039
|
{
|
|
4034
4040
|
style: {
|
|
@@ -4050,7 +4056,7 @@ const _e = ({
|
|
|
4050
4056
|
);
|
|
4051
4057
|
}) }),
|
|
4052
4058
|
/* @__PURE__ */ p("div", { className: fe.buttonContainer, children: [
|
|
4053
|
-
/* @__PURE__ */ n(Fe, { containerStyles: a, type: "submit", children:
|
|
4059
|
+
/* @__PURE__ */ n(Fe, { containerStyles: a, type: "submit", children: b(l) }),
|
|
4054
4060
|
/* @__PURE__ */ n(xe, { errorMessage: t, errorColor: r })
|
|
4055
4061
|
] })
|
|
4056
4062
|
] });
|
|
@@ -4111,7 +4117,7 @@ const b1 = "_stepsContainer_1cyua_3", y1 = "_stepWrapper_1cyua_9", _1 = "_circle
|
|
|
4111
4117
|
label: N1,
|
|
4112
4118
|
labelActive: k1,
|
|
4113
4119
|
connector: S1
|
|
4114
|
-
},
|
|
4120
|
+
}, It = ({ steps: i, activeColor: d }) => /* @__PURE__ */ n("div", { className: W.stepsContainer, children: i.map((s, o) => {
|
|
4115
4121
|
const t = s.status === "active", r = s.status === "completed";
|
|
4116
4122
|
return /* @__PURE__ */ p("div", { className: W.stepWrapper, children: [
|
|
4117
4123
|
/* @__PURE__ */ p("div", { className: W.circleContainer, children: [
|
|
@@ -4137,7 +4143,7 @@ const b1 = "_stepsContainer_1cyua_3", y1 = "_stepWrapper_1cyua_9", _1 = "_circle
|
|
|
4137
4143
|
)
|
|
4138
4144
|
] }, o);
|
|
4139
4145
|
}) });
|
|
4140
|
-
|
|
4146
|
+
It.propTypes = {
|
|
4141
4147
|
steps: e.arrayOf(
|
|
4142
4148
|
e.shape({
|
|
4143
4149
|
name: e.string.isRequired,
|
|
@@ -4147,18 +4153,18 @@ Ot.propTypes = {
|
|
|
4147
4153
|
).isRequired,
|
|
4148
4154
|
activeColor: e.string
|
|
4149
4155
|
};
|
|
4150
|
-
|
|
4156
|
+
It.defaultProps = {
|
|
4151
4157
|
activeColor: "#C2185B"
|
|
4152
4158
|
// color por defecto
|
|
4153
4159
|
};
|
|
4154
4160
|
const $1 = "_statusTextContainer_ch14r_2", B1 = {
|
|
4155
4161
|
statusTextContainer: $1
|
|
4156
|
-
},
|
|
4157
|
-
|
|
4162
|
+
}, Ot = ({ text: i, color: d }) => /* @__PURE__ */ n("div", { className: B1.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ n("span", { children: i }) });
|
|
4163
|
+
Ot.propTypes = {
|
|
4158
4164
|
text: e.string,
|
|
4159
4165
|
color: e.string
|
|
4160
4166
|
};
|
|
4161
|
-
|
|
4167
|
+
Ot.defaultProps = {
|
|
4162
4168
|
color: "#C2185B"
|
|
4163
4169
|
// color por defecto
|
|
4164
4170
|
};
|
|
@@ -4212,16 +4218,16 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4212
4218
|
defValue: a = !1,
|
|
4213
4219
|
colorOn: c = "#5A514D",
|
|
4214
4220
|
disabled: u = !1,
|
|
4215
|
-
width:
|
|
4216
|
-
} = i, { t:
|
|
4217
|
-
|
|
4218
|
-
}, _ = (
|
|
4221
|
+
width: h = 240
|
|
4222
|
+
} = i, { t: m } = L(), { control: y } = d || {}, [g, b] = A(a), v = (f) => {
|
|
4223
|
+
b(f), s && s(f);
|
|
4224
|
+
}, _ = (f, C) => /* @__PURE__ */ p("div", { className: pe.switchContainer, style: { width: `${h}px` }, children: [
|
|
4219
4225
|
r && /* @__PURE__ */ n(
|
|
4220
4226
|
"span",
|
|
4221
4227
|
{
|
|
4222
4228
|
className: pe.labelLeft,
|
|
4223
|
-
style: { width: `${(
|
|
4224
|
-
children:
|
|
4229
|
+
style: { width: `${(h - 74) / 2}px` },
|
|
4230
|
+
children: m(r)
|
|
4225
4231
|
}
|
|
4226
4232
|
),
|
|
4227
4233
|
/* @__PURE__ */ p("label", { className: `${pe.switch} ${u ? pe.disabled : ""}`, children: [
|
|
@@ -4229,8 +4235,8 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4229
4235
|
"input",
|
|
4230
4236
|
{
|
|
4231
4237
|
type: "checkbox",
|
|
4232
|
-
checked: !!
|
|
4233
|
-
onChange: () =>
|
|
4238
|
+
checked: !!f,
|
|
4239
|
+
onChange: () => C(!f),
|
|
4234
4240
|
disabled: u
|
|
4235
4241
|
}
|
|
4236
4242
|
),
|
|
@@ -4239,22 +4245,22 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4239
4245
|
{
|
|
4240
4246
|
className: pe.slider,
|
|
4241
4247
|
style: {
|
|
4242
|
-
"--switch-thumb-color": o ?
|
|
4248
|
+
"--switch-thumb-color": o ? f ? c : "#ccc" : c
|
|
4243
4249
|
}
|
|
4244
4250
|
}
|
|
4245
4251
|
)
|
|
4246
4252
|
] }),
|
|
4247
|
-
l && /* @__PURE__ */ n("span", { className: pe.labelRight, style: { width: `${(
|
|
4253
|
+
l && /* @__PURE__ */ n("span", { className: pe.labelRight, style: { width: `${(h - 74) / 2}px` }, children: m(l) })
|
|
4248
4254
|
] });
|
|
4249
4255
|
return d ? /* @__PURE__ */ n(
|
|
4250
4256
|
we,
|
|
4251
4257
|
{
|
|
4252
4258
|
name: t,
|
|
4253
|
-
control:
|
|
4259
|
+
control: y,
|
|
4254
4260
|
defaultValue: a,
|
|
4255
|
-
render: ({ field:
|
|
4261
|
+
render: ({ field: f }) => _(f.value, f.onChange)
|
|
4256
4262
|
}
|
|
4257
|
-
) : _(
|
|
4263
|
+
) : _(g, v);
|
|
4258
4264
|
};
|
|
4259
4265
|
R1.propTypes = {
|
|
4260
4266
|
input: e.shape({
|
|
@@ -4288,134 +4294,142 @@ Z1.propTypes = {
|
|
|
4288
4294
|
gifSrc: e.string,
|
|
4289
4295
|
message: e.string
|
|
4290
4296
|
};
|
|
4291
|
-
const z1 = "
|
|
4297
|
+
const z1 = "_container_1rwiy_3", H1 = "_burger_1rwiy_8", K1 = "_menu_1rwiy_19", U1 = "_menuOpen_1rwiy_33", W1 = "_menuClose_1rwiy_38", G1 = "_list_1rwiy_44", Y1 = "_item_1rwiy_54", X1 = "_button_1rwiy_88", Q = {
|
|
4292
4298
|
container: z1,
|
|
4293
4299
|
burger: H1,
|
|
4294
4300
|
menu: K1,
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
+
menuOpen: U1,
|
|
4302
|
+
menuClose: W1,
|
|
4303
|
+
list: G1,
|
|
4304
|
+
item: Y1,
|
|
4305
|
+
button: X1
|
|
4306
|
+
}, Rt = ({
|
|
4307
|
+
options: i,
|
|
4308
|
+
backgroundColor: d,
|
|
4309
|
+
textColor: s,
|
|
4310
|
+
iconColor: o
|
|
4311
|
+
}) => {
|
|
4312
|
+
const [t, r] = A(!1), l = () => r((b) => !b), a = () => r(!1), c = 7, u = t ? 11 : 0, h = t ? 13 : 0, m = t ? -11.51666 : 0, y = t ? -13 : 0, g = "0.35s";
|
|
4301
4313
|
return /* @__PURE__ */ p("div", { className: Q.container, children: [
|
|
4302
|
-
/* @__PURE__ */ n("button", { onClick: l, className: Q.burger, children: /* @__PURE__ */ p(
|
|
4303
|
-
|
|
4304
|
-
"g",
|
|
4305
|
-
{
|
|
4306
|
-
style: {
|
|
4307
|
-
transform: `translateY(${u}px)`,
|
|
4308
|
-
transition: "transform 0.8s cubic-bezier(0.42, 0, 0.58, 1)",
|
|
4309
|
-
transformBox: "fill-box",
|
|
4310
|
-
transformOrigin: "0 0"
|
|
4311
|
-
},
|
|
4312
|
-
children: /* @__PURE__ */ n("circle", { cx: "20", cy: "9", r: c, fill: o })
|
|
4313
|
-
}
|
|
4314
|
-
),
|
|
4315
|
-
/* @__PURE__ */ n(
|
|
4316
|
-
"g",
|
|
4317
|
-
{
|
|
4318
|
-
style: {
|
|
4319
|
-
transform: `translate(${g}px,${C}px)`,
|
|
4320
|
-
transition: "transform 0.8s cubic-bezier(0.42, 0, 0.58, 1)",
|
|
4321
|
-
transformBox: "fill-box",
|
|
4322
|
-
transformOrigin: "0 0"
|
|
4323
|
-
},
|
|
4324
|
-
children: /* @__PURE__ */ n("circle", { cx: "7", cy: "31.51666", r: c, fill: o })
|
|
4325
|
-
}
|
|
4326
|
-
),
|
|
4327
|
-
/* @__PURE__ */ n(
|
|
4328
|
-
"g",
|
|
4329
|
-
{
|
|
4330
|
-
style: {
|
|
4331
|
-
transform: `translate(${b}px,${C}px)`,
|
|
4332
|
-
transition: "transform 0.8s cubic-bezier(0.42, 0, 0.58, 1)",
|
|
4333
|
-
transformBox: "fill-box",
|
|
4334
|
-
transformOrigin: "0 0"
|
|
4335
|
-
},
|
|
4336
|
-
children: /* @__PURE__ */ n("circle", { cx: "33", cy: "31.51666", r: c, fill: o })
|
|
4337
|
-
}
|
|
4338
|
-
),
|
|
4339
|
-
/* @__PURE__ */ n("g", { style: {
|
|
4340
|
-
opacity: t ? 1 : 0,
|
|
4341
|
-
// visible si open = true, invisible si open = false
|
|
4342
|
-
transition: "opacity 0.8s cubic-bezier(0.42, 0, 0.58, 1)"
|
|
4343
|
-
}, children: /* @__PURE__ */ n(
|
|
4344
|
-
"circle",
|
|
4345
|
-
{
|
|
4346
|
-
cx: "20",
|
|
4347
|
-
cy: "20",
|
|
4348
|
-
r: "10",
|
|
4349
|
-
fill: o,
|
|
4350
|
-
opacity: "1"
|
|
4351
|
-
}
|
|
4352
|
-
) }),
|
|
4353
|
-
/* @__PURE__ */ p("g", { stroke: d, "stroke-width": "2", "stroke-linecap": "round", style: {
|
|
4354
|
-
opacity: t ? 1 : 0,
|
|
4355
|
-
// visible si open = true, invisible si open = false
|
|
4356
|
-
transition: "opacity 0.8s cubic-bezier(0.42, 0, 0.58, 1)"
|
|
4357
|
-
}, children: [
|
|
4358
|
-
/* @__PURE__ */ n("line", { x1: "17", y1: "17", x2: "23", y2: "23" }),
|
|
4359
|
-
/* @__PURE__ */ n("line", { x1: "23", y1: "17", x2: "17", y2: "23" })
|
|
4360
|
-
] })
|
|
4361
|
-
] }) }),
|
|
4362
|
-
t && /* @__PURE__ */ n(
|
|
4363
|
-
"div",
|
|
4314
|
+
/* @__PURE__ */ n("button", { onClick: l, className: Q.burger, children: /* @__PURE__ */ p(
|
|
4315
|
+
"svg",
|
|
4364
4316
|
{
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4317
|
+
width: "40",
|
|
4318
|
+
height: "40",
|
|
4319
|
+
viewBox: "0 0 40 40",
|
|
4320
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4321
|
+
"aria-hidden": "true",
|
|
4322
|
+
children: [
|
|
4323
|
+
/* @__PURE__ */ n(
|
|
4324
|
+
"g",
|
|
4325
|
+
{
|
|
4326
|
+
style: {
|
|
4327
|
+
transform: `translateY(${u}px)`,
|
|
4328
|
+
transition: `transform ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4329
|
+
},
|
|
4330
|
+
children: /* @__PURE__ */ n("circle", { cx: "20", cy: "9", r: c, fill: o })
|
|
4331
|
+
}
|
|
4332
|
+
),
|
|
4333
|
+
/* @__PURE__ */ n(
|
|
4334
|
+
"g",
|
|
4370
4335
|
{
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
children:
|
|
4336
|
+
style: {
|
|
4337
|
+
transform: `translate(${h}px, ${m}px)`,
|
|
4338
|
+
transition: `transform ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4339
|
+
},
|
|
4340
|
+
children: /* @__PURE__ */ n("circle", { cx: "7", cy: "31.51666", r: c, fill: o })
|
|
4376
4341
|
}
|
|
4377
4342
|
),
|
|
4378
|
-
|
|
4343
|
+
/* @__PURE__ */ n(
|
|
4344
|
+
"g",
|
|
4345
|
+
{
|
|
4346
|
+
style: {
|
|
4347
|
+
transform: `translate(${y}px, ${m}px)`,
|
|
4348
|
+
transition: `transform ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4349
|
+
},
|
|
4350
|
+
children: /* @__PURE__ */ n("circle", { cx: "33", cy: "31.51666", r: c, fill: o })
|
|
4351
|
+
}
|
|
4352
|
+
),
|
|
4353
|
+
/* @__PURE__ */ n(
|
|
4354
|
+
"g",
|
|
4355
|
+
{
|
|
4356
|
+
style: {
|
|
4357
|
+
opacity: t ? 1 : 0,
|
|
4358
|
+
transition: `opacity ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4359
|
+
},
|
|
4360
|
+
children: /* @__PURE__ */ n("circle", { cx: "20", cy: "20", r: "10", fill: o })
|
|
4361
|
+
}
|
|
4362
|
+
),
|
|
4363
|
+
/* @__PURE__ */ p(
|
|
4364
|
+
"g",
|
|
4365
|
+
{
|
|
4366
|
+
stroke: d,
|
|
4367
|
+
strokeWidth: "2",
|
|
4368
|
+
strokeLinecap: "round",
|
|
4369
|
+
style: {
|
|
4370
|
+
opacity: t ? 1 : 0,
|
|
4371
|
+
transition: `opacity ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4372
|
+
},
|
|
4373
|
+
children: [
|
|
4374
|
+
/* @__PURE__ */ n("line", { x1: "17", y1: "17", x2: "23", y2: "23" }),
|
|
4375
|
+
/* @__PURE__ */ n("line", { x1: "23", y1: "17", x2: "17", y2: "23" })
|
|
4376
|
+
]
|
|
4377
|
+
}
|
|
4378
|
+
)
|
|
4379
|
+
]
|
|
4380
|
+
}
|
|
4381
|
+
) }),
|
|
4382
|
+
/* @__PURE__ */ n(
|
|
4383
|
+
"div",
|
|
4384
|
+
{
|
|
4385
|
+
className: `${Q.menu} ${t ? Q.menuOpen : Q.menuClose}`,
|
|
4386
|
+
style: { backgroundColor: d, color: s },
|
|
4387
|
+
children: /* @__PURE__ */ n("ul", { className: Q.list, children: i.map((b, v) => /* @__PURE__ */ p("li", { className: Q.item, children: [
|
|
4388
|
+
b.url && // <NavLink
|
|
4389
|
+
// to={opt.url}
|
|
4390
|
+
// className={({ isActive }) =>
|
|
4391
|
+
// `${styles.link} ${isActive ? styles.active : ''}`
|
|
4392
|
+
// }
|
|
4393
|
+
// onClick={closeMenu}
|
|
4394
|
+
// style={{color: textColor}}
|
|
4395
|
+
// >
|
|
4396
|
+
// {opt.name}
|
|
4397
|
+
// </NavLink>
|
|
4398
|
+
/* @__PURE__ */ n("p", { children: b.name }),
|
|
4399
|
+
b.onclick && /* @__PURE__ */ n(
|
|
4379
4400
|
"button",
|
|
4380
4401
|
{
|
|
4381
4402
|
className: Q.button,
|
|
4382
4403
|
onClick: () => {
|
|
4383
|
-
|
|
4404
|
+
b.onclick(), a();
|
|
4384
4405
|
},
|
|
4385
|
-
children:
|
|
4406
|
+
children: b.name
|
|
4386
4407
|
}
|
|
4387
4408
|
),
|
|
4388
|
-
|
|
4409
|
+
b.component && b.component
|
|
4389
4410
|
] }, v)) })
|
|
4390
4411
|
}
|
|
4391
4412
|
)
|
|
4392
4413
|
] });
|
|
4393
4414
|
};
|
|
4394
|
-
|
|
4395
|
-
options: e.
|
|
4396
|
-
e.shape({
|
|
4397
|
-
name: e.string,
|
|
4398
|
-
url: e.string,
|
|
4399
|
-
onclick: e.func,
|
|
4400
|
-
component: e.any
|
|
4401
|
-
})
|
|
4402
|
-
).isRequired,
|
|
4415
|
+
Rt.propTypes = {
|
|
4416
|
+
options: e.array.isRequired,
|
|
4403
4417
|
backgroundColor: e.string,
|
|
4404
4418
|
textColor: e.string,
|
|
4405
4419
|
iconColor: e.string
|
|
4406
4420
|
};
|
|
4407
|
-
|
|
4421
|
+
Rt.defaultProps = {
|
|
4408
4422
|
backgroundColor: "#ffffff",
|
|
4409
4423
|
textColor: "#000000",
|
|
4410
4424
|
iconColor: "#000000"
|
|
4411
4425
|
};
|
|
4412
|
-
const
|
|
4413
|
-
header:
|
|
4414
|
-
leftComponents:
|
|
4415
|
-
centerComponents:
|
|
4416
|
-
rightComponents:
|
|
4417
|
-
componentsContainer:
|
|
4418
|
-
},
|
|
4426
|
+
const Q1 = "_header_13kbt_2", J1 = "_leftComponents_13kbt_13", es = "_centerComponents_13kbt_14", ts = "_rightComponents_13kbt_15", ns = "_componentsContainer_13kbt_32", oe = {
|
|
4427
|
+
header: Q1,
|
|
4428
|
+
leftComponents: J1,
|
|
4429
|
+
centerComponents: es,
|
|
4430
|
+
rightComponents: ts,
|
|
4431
|
+
componentsContainer: ns
|
|
4432
|
+
}, is = ({
|
|
4419
4433
|
cssProps: i,
|
|
4420
4434
|
leftComponents: d = [],
|
|
4421
4435
|
centerComponents: s = [],
|
|
@@ -4444,7 +4458,7 @@ const X1 = "_header_13kbt_2", Q1 = "_leftComponents_13kbt_13", J1 = "_centerComp
|
|
|
4444
4458
|
]
|
|
4445
4459
|
}
|
|
4446
4460
|
);
|
|
4447
|
-
|
|
4461
|
+
is.propTypes = {
|
|
4448
4462
|
leftComponents: e.arrayOf(e.node),
|
|
4449
4463
|
centerComponents: e.arrayOf(e.node),
|
|
4450
4464
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -4454,12 +4468,12 @@ ns.propTypes = {
|
|
|
4454
4468
|
backgroundColor: e.string,
|
|
4455
4469
|
isFooter: e.bool
|
|
4456
4470
|
};
|
|
4457
|
-
const
|
|
4458
|
-
sidebar:
|
|
4459
|
-
open:
|
|
4460
|
-
content:
|
|
4461
|
-
closeButton:
|
|
4462
|
-
},
|
|
4471
|
+
const ss = "_sidebar_1kaqu_2", os = "_open_1kaqu_16", rs = "_content_1kaqu_20", as = "_closeButton_1kaqu_25", De = {
|
|
4472
|
+
sidebar: ss,
|
|
4473
|
+
open: os,
|
|
4474
|
+
content: rs,
|
|
4475
|
+
closeButton: as
|
|
4476
|
+
}, ls = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", cs = ({
|
|
4463
4477
|
width: i = "300px",
|
|
4464
4478
|
children: d,
|
|
4465
4479
|
showRightBar: s,
|
|
@@ -4474,13 +4488,13 @@ const is = "_sidebar_1kaqu_2", ss = "_open_1kaqu_16", os = "_content_1kaqu_20",
|
|
|
4474
4488
|
className: `${De.sidebar} ${s ? De.open : ""}`,
|
|
4475
4489
|
style: { width: s ? i : 0 },
|
|
4476
4490
|
children: s && /* @__PURE__ */ p("div", { className: De.content, children: [
|
|
4477
|
-
/* @__PURE__ */ n("button", { className: De.closeButton, onClick: t, children: /* @__PURE__ */ n("img", { src:
|
|
4491
|
+
/* @__PURE__ */ n("button", { className: De.closeButton, onClick: t, children: /* @__PURE__ */ n("img", { src: ls, alt: "Close Sidebar" }) }),
|
|
4478
4492
|
d
|
|
4479
4493
|
] })
|
|
4480
4494
|
}
|
|
4481
4495
|
);
|
|
4482
4496
|
};
|
|
4483
|
-
|
|
4497
|
+
cs.propTypes = {
|
|
4484
4498
|
width: e.string,
|
|
4485
4499
|
children: e.node,
|
|
4486
4500
|
showRightBar: e.bool,
|
|
@@ -4488,19 +4502,19 @@ ls.propTypes = {
|
|
|
4488
4502
|
};
|
|
4489
4503
|
export {
|
|
4490
4504
|
$2 as AmbitSelector,
|
|
4491
|
-
|
|
4492
|
-
|
|
4505
|
+
kt as BarChart,
|
|
4506
|
+
Rt as BurgerMenu,
|
|
4493
4507
|
V1 as ButtonsBar,
|
|
4494
4508
|
q2 as ButtonsList,
|
|
4495
4509
|
gt as CategorySelector,
|
|
4496
4510
|
le as DropdownList,
|
|
4497
|
-
|
|
4511
|
+
$s as EditAmbit,
|
|
4498
4512
|
xe as ErrorMessage,
|
|
4499
4513
|
h0 as FiltersAmbit,
|
|
4500
|
-
|
|
4514
|
+
Ds as Form,
|
|
4501
4515
|
Fe as GeneralButton,
|
|
4502
4516
|
f0 as Graphic,
|
|
4503
|
-
|
|
4517
|
+
is as HeaderSection,
|
|
4504
4518
|
I0 as IndicatorsList,
|
|
4505
4519
|
j0 as LangSelector,
|
|
4506
4520
|
on as Legend,
|
|
@@ -4512,12 +4526,12 @@ export {
|
|
|
4512
4526
|
Cn as MaplibreMap,
|
|
4513
4527
|
f1 as ModalAlert,
|
|
4514
4528
|
Xi as RadioButtonInput,
|
|
4515
|
-
|
|
4516
|
-
|
|
4529
|
+
At as RankingSlider,
|
|
4530
|
+
cs as RightSidebar,
|
|
4517
4531
|
xn as SectionBar,
|
|
4518
4532
|
zi as SelectInput,
|
|
4519
|
-
|
|
4520
|
-
|
|
4533
|
+
Ot as StatusText,
|
|
4534
|
+
It as Steps,
|
|
4521
4535
|
R1 as Switch,
|
|
4522
4536
|
mt as TextInput,
|
|
4523
4537
|
Mn as TimeSlider,
|