@tmf_ciclica/ciclicastorybook 1.1.194 → 1.1.197
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 +5 -5
- package/dist/index.es.js +519 -505
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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_fj99t_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_fj99t_2 ._FiltersAmbitHeader_fj99t_15{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_fj99t_2 ._FiltersAmbitHeader_fj99t_15 ._FiltersAmbitTitle_fj99t_23{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_fj99t_2 ._FiltersAmbitHeader_fj99t_15 ._FiltersAmbitDescription_fj99t_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_fj99t_2 ._FiltersAmbitHeader_fj99t_15 ._FiltersAmbitDescription_fj99t_32 ._FiltersAmbitDescriptionTitle_fj99t_43{font-size:18px;font-weight:600}._FiltersAmbitContainer_fj99t_2 ._warning_fj99t_47{color:red}._FiltersAmbitContainer_fj99t_2 ._buttonContainer_fj99t_50{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;margin-bottom:20px}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_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_9bdf4_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_9bdf4_2 ._sectionItemActive_9bdf4_16{color:#fff}._categorySelector_9bdf4_2 ._sectionItem_9bdf4_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;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}._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}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_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}._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 i, Fragment as qe } from "react/jsx-runtime";
|
|
3
3
|
import * as pe from "react";
|
|
4
4
|
import D, { useState as F, useEffect as V, useMemo as me, useLayoutEffect as Rt, useRef as re } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
6
|
+
import { useTranslation as $, Trans as Ke } from "react-i18next";
|
|
7
7
|
import { motion as Ue } from "framer-motion";
|
|
8
8
|
import { create as gt } from "zustand";
|
|
9
9
|
import * as Qe from "d3";
|
|
@@ -33,7 +33,7 @@ const s2 = "_ambitSelector_mcunf_2", o2 = "_header_mcunf_13", r2 = "_nameDateCon
|
|
|
33
33
|
ambitName: h2,
|
|
34
34
|
ambitDate: g2,
|
|
35
35
|
ambitButtons: C2
|
|
36
|
-
}, f2 = "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", b2 = "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", 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='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", _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%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", v2 = "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", w2 = "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", Ct = ({
|
|
36
|
+
}, b2 = "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", f2 = "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", 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='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", _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%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", v2 = "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", w2 = "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", Ct = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
@@ -44,14 +44,14 @@ const s2 = "_ambitSelector_mcunf_2", o2 = "_header_mcunf_13", r2 = "_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: b } = n;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: he.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className: he.ambitNameDate, onClick: () => t(
|
|
54
|
+
/* @__PURE__ */ p("div", { className: he.ambitNameDate, onClick: () => t(m), children: [
|
|
55
55
|
/* @__PURE__ */ p("div", { className: he.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ i(
|
|
57
57
|
"img",
|
|
@@ -62,13 +62,13 @@ const s2 = "_ambitSelector_mcunf_2", o2 = "_header_mcunf_13", r2 = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ i("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ i("div", { className: he.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ i("div", { className: he.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: he.ambitButtons, children: [
|
|
68
68
|
b && /* @__PURE__ */ i("img", { src: _2 }),
|
|
69
|
-
/* @__PURE__ */ i("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () => s(
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => o(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: y2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(m), children: /* @__PURE__ */ i("img", { src: f2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => s(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: b2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -129,19 +129,19 @@ const Xe = "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:
|
|
132
|
+
onClickCopy: h = (_) => console.log(`Copy ambit: ${_}`),
|
|
133
|
+
onCLickDelete: m = (_) => console.log(`Delete ambit: ${_}`),
|
|
134
134
|
onClickFilters: b = (_) => console.log(`Filters clicked: ${_}`),
|
|
135
135
|
onClickAmbit: C = (_) => console.log(`OnCLickAmbit: ${_}`)
|
|
136
136
|
}) => {
|
|
137
|
-
const { t: _ } =
|
|
137
|
+
const { t: _ } = $(), [v, y] = F(n);
|
|
138
138
|
V(() => {
|
|
139
|
-
n &&
|
|
139
|
+
n && y(n);
|
|
140
140
|
}, [n]);
|
|
141
|
-
const g = (
|
|
141
|
+
const g = (f) => {
|
|
142
142
|
if (v && v.length > 0) {
|
|
143
143
|
let k = [...v];
|
|
144
|
-
k.sort((w, x) => w[
|
|
144
|
+
k.sort((w, x) => w[f].localeCompare(x[f])), y(k);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
return /* @__PURE__ */ p(
|
|
@@ -170,19 +170,19 @@ const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
170
170
|
]
|
|
171
171
|
}
|
|
172
172
|
),
|
|
173
|
-
/* @__PURE__ */ i("div", { className: Y.ambitListContainer, children: v && v.length > 0 && v.map((
|
|
173
|
+
/* @__PURE__ */ i("div", { className: Y.ambitListContainer, children: v && v.length > 0 && v.map((f) => /* @__PURE__ */ i(
|
|
174
174
|
Ct,
|
|
175
175
|
{
|
|
176
|
-
isActive: d ==
|
|
177
|
-
ambit:
|
|
176
|
+
isActive: d == f.id,
|
|
177
|
+
ambit: f,
|
|
178
178
|
fontColor: s,
|
|
179
179
|
activeColor: o,
|
|
180
|
-
onClickCopy:
|
|
181
|
-
onClickDelete:
|
|
180
|
+
onClickCopy: h,
|
|
181
|
+
onClickDelete: m,
|
|
182
182
|
onClickFilters: b,
|
|
183
183
|
onClickAmbit: C
|
|
184
184
|
},
|
|
185
|
-
`ambitKey${
|
|
185
|
+
`ambitKey${f.id}`
|
|
186
186
|
)) }),
|
|
187
187
|
/* @__PURE__ */ i("div", { className: Y.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
188
188
|
Ve,
|
|
@@ -232,7 +232,7 @@ const S2 = "_buttonsContainer_1ks7x_2", $2 = "_vertical_1ks7x_6", B2 = "_horizon
|
|
|
232
232
|
bottom: F2,
|
|
233
233
|
right: A2
|
|
234
234
|
}, oe = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
235
|
-
const { t: o } =
|
|
235
|
+
const { t: o } = $();
|
|
236
236
|
return /* @__PURE__ */ i("div", { className: `tooltip ${I2[d]}`, style: s, children: o(n) });
|
|
237
237
|
};
|
|
238
238
|
oe.propTypes = {
|
|
@@ -248,7 +248,7 @@ const O2 = ({
|
|
|
248
248
|
useTooltip: t = !1,
|
|
249
249
|
tooltipPosition: r = "top"
|
|
250
250
|
}) => {
|
|
251
|
-
const { t: l } =
|
|
251
|
+
const { t: l } = $();
|
|
252
252
|
return /* @__PURE__ */ i(
|
|
253
253
|
"div",
|
|
254
254
|
{
|
|
@@ -257,14 +257,14 @@ const O2 = ({
|
|
|
257
257
|
children: n.map((a, c) => {
|
|
258
258
|
const {
|
|
259
259
|
icon: u,
|
|
260
|
-
activeIcon:
|
|
261
|
-
isActive:
|
|
260
|
+
activeIcon: h,
|
|
261
|
+
isActive: m,
|
|
262
262
|
name: b,
|
|
263
263
|
onClick: C,
|
|
264
264
|
disabled: _
|
|
265
265
|
} = a, v = /* @__PURE__ */ p(qe, { children: [
|
|
266
266
|
s && o === "left" && /* @__PURE__ */ i("span", { className: J.buttonName, children: l(b) }),
|
|
267
|
-
/* @__PURE__ */ i("img", { src:
|
|
267
|
+
/* @__PURE__ */ i("img", { src: m ? h : u, alt: l(b) }),
|
|
268
268
|
s && o === "right" && /* @__PURE__ */ i("span", { className: J.buttonName, children: l(b) })
|
|
269
269
|
] });
|
|
270
270
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
@@ -273,7 +273,7 @@ const O2 = ({
|
|
|
273
273
|
{
|
|
274
274
|
onClick: C,
|
|
275
275
|
className: `${J.button}
|
|
276
|
-
${
|
|
276
|
+
${m && J.active}`,
|
|
277
277
|
disabled: _,
|
|
278
278
|
children: v
|
|
279
279
|
}
|
|
@@ -319,9 +319,9 @@ const R2 = "_indicatorsCategory_11gdl_2", q2 = "_title_11gdl_6", E2 = "_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 } = $();
|
|
325
325
|
return /* @__PURE__ */ p(
|
|
326
326
|
Ue.div,
|
|
327
327
|
{
|
|
@@ -332,7 +332,7 @@ const R2 = "_indicatorsCategory_11gdl_2", q2 = "_title_11gdl_6", E2 = "_mainTitl
|
|
|
332
332
|
style: {
|
|
333
333
|
backgroundColor: "white",
|
|
334
334
|
borderBottom: n && 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 R2 = "_indicatorsCategory_11gdl_2", q2 = "_title_11gdl_6", E2 = "_mainTitl
|
|
|
342
342
|
...a
|
|
343
343
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
344
344
|
},
|
|
345
|
-
className: `${Ne.title} ${
|
|
345
|
+
className: `${Ne.title} ${h && Ne.mainTitle}`,
|
|
346
346
|
onClick: d,
|
|
347
347
|
children: [
|
|
348
348
|
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
349
|
-
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children:
|
|
349
|
+
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: m(r) })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
),
|
|
353
|
-
/* @__PURE__ */ i("div", { className: Ne.content, style: { padding:
|
|
353
|
+
/* @__PURE__ */ i("div", { className: Ne.content, style: { padding: h ? "20px 0px" : "0px" }, children: s })
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
356
|
);
|
|
@@ -366,10 +366,10 @@ ae.propTypes = {
|
|
|
366
366
|
showBottomBar: e.bool,
|
|
367
367
|
titleFontStyles: e.object
|
|
368
368
|
};
|
|
369
|
-
const
|
|
369
|
+
const fo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), P2 = "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", j2 = "_AppliedFiltersContainer_cokx9_2", Z2 = "_AppliedFilterContent_cokx9_11", Je = {
|
|
370
370
|
AppliedFiltersContainer: j2,
|
|
371
371
|
AppliedFilterContent: Z2
|
|
372
|
-
},
|
|
372
|
+
}, M = gt((n) => ({
|
|
373
373
|
activeCategory: "",
|
|
374
374
|
activeSubCategory: "",
|
|
375
375
|
selectedIndicator: "",
|
|
@@ -378,9 +378,9 @@ const bo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), P2 = "data
|
|
|
378
378
|
inputsColor: "#605B56",
|
|
379
379
|
activeFiltersType: null,
|
|
380
380
|
geoLayers: []
|
|
381
|
-
})),
|
|
382
|
-
const { t: a } =
|
|
383
|
-
|
|
381
|
+
})), bt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r, fontColor: l = "#605B56" }) => {
|
|
382
|
+
const { t: a } = $(), { tematicalFiltersSelected: c, activeFiltersType: u } = M((b) => b), h = (b) => {
|
|
383
|
+
M.setState((C) => ({
|
|
384
384
|
tematicalFiltersSelected: C.tematicalFiltersSelected.filter(
|
|
385
385
|
(_) => _.code !== b
|
|
386
386
|
)
|
|
@@ -391,7 +391,7 @@ const bo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), P2 = "data
|
|
|
391
391
|
{
|
|
392
392
|
isOpen: s,
|
|
393
393
|
onClick: () => {
|
|
394
|
-
u == "applied" ?
|
|
394
|
+
u == "applied" ? M.setState(() => ({ activeFiltersType: null })) : M.setState(() => ({ activeFiltersType: "applied" }));
|
|
395
395
|
},
|
|
396
396
|
title: n ? a(n) : "Applied Filters",
|
|
397
397
|
activeColor: r,
|
|
@@ -399,12 +399,12 @@ const bo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), P2 = "data
|
|
|
399
399
|
color: l,
|
|
400
400
|
children: /* @__PURE__ */ i("div", { className: Je.AppliedFiltersContainer, children: c == null ? void 0 : c.map((b, C) => /* @__PURE__ */ p("div", { className: Je.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
401
401
|
a(b.name),
|
|
402
|
-
/* @__PURE__ */ i("img", { src: P2, alt: "CloseIcon", onClick: () =>
|
|
402
|
+
/* @__PURE__ */ i("img", { src: P2, alt: "CloseIcon", onClick: () => h(b.code), style: { cursor: "pointer" } })
|
|
403
403
|
] }, C)) })
|
|
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 @@ ft.propTypes = {
|
|
|
421
421
|
const z2 = "_layersList_cn837_25", H2 = "_layerName_cn837_34", et = {
|
|
422
422
|
layersList: z2,
|
|
423
423
|
layerName: H2
|
|
424
|
-
},
|
|
424
|
+
}, ft = ({
|
|
425
425
|
title: n,
|
|
426
426
|
isOpen: d = !0,
|
|
427
427
|
fontColor: s = "#605B56",
|
|
@@ -429,13 +429,13 @@ const z2 = "_layersList_cn837_25", H2 = "_layerName_cn837_34", et = {
|
|
|
429
429
|
activeColor: t,
|
|
430
430
|
onGeoLayersChange: r
|
|
431
431
|
}) => {
|
|
432
|
-
const { t: l } =
|
|
433
|
-
a == "geographical" ?
|
|
434
|
-
},
|
|
435
|
-
|
|
432
|
+
const { t: l } = $(), { activeFiltersType: a, geoLayers: c } = M((m) => m), u = () => {
|
|
433
|
+
a == "geographical" ? M.setState(() => ({ activeFiltersType: null })) : M.setState(() => ({ activeFiltersType: "geographical" }));
|
|
434
|
+
}, h = (m) => {
|
|
435
|
+
M.setState((b) => ({
|
|
436
436
|
geoLayers: b.geoLayers.map((C) => ({
|
|
437
437
|
...C,
|
|
438
|
-
active: C.name ===
|
|
438
|
+
active: C.name === m.name
|
|
439
439
|
}))
|
|
440
440
|
})), r(c);
|
|
441
441
|
};
|
|
@@ -450,22 +450,22 @@ const z2 = "_layersList_cn837_25", H2 = "_layerName_cn837_34", et = {
|
|
|
450
450
|
activeColor: t,
|
|
451
451
|
color: s,
|
|
452
452
|
mainTitle: !0,
|
|
453
|
-
children: /* @__PURE__ */ i("div", { className: `${et.layersList}`, children: c.map((
|
|
453
|
+
children: /* @__PURE__ */ i("div", { className: `${et.layersList}`, children: c.map((m) => /* @__PURE__ */ p(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
456
|
className: `${et.layerName}`,
|
|
457
|
-
style: { color:
|
|
458
|
-
onClick: () => m
|
|
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
|
+
ft.propTypes = {
|
|
469
469
|
isOpen: e.bool,
|
|
470
470
|
onClick: e.func,
|
|
471
471
|
title: e.string,
|
|
@@ -482,7 +482,7 @@ const K2 = "_checkboxContainer_1nxra_2", U2 = {
|
|
|
482
482
|
indicator: o,
|
|
483
483
|
value: t
|
|
484
484
|
}) => {
|
|
485
|
-
const { t: r } =
|
|
485
|
+
const { t: r } = $(), { title: l } = o || {}, { fontColor: a, inputsColor: c } = M((u) => u);
|
|
486
486
|
return /* @__PURE__ */ p(
|
|
487
487
|
"div",
|
|
488
488
|
{
|
|
@@ -566,19 +566,19 @@ let je = function(n) {
|
|
|
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(b) > Math.abs(
|
|
576
|
+
const m = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
|
|
577
|
+
t.isScrolling = Math.abs(b) > 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 je = function(n) {
|
|
|
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]), Se(t.getTouchEventMap()), function(
|
|
635
|
-
|
|
634
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), Se(t.getTouchEventMap()), function(h) {
|
|
635
|
+
h.stopPropagation && h.stopPropagation();
|
|
636
636
|
}(c);
|
|
637
637
|
}, t.handleResize = () => {
|
|
638
638
|
const a = window.setTimeout(() => {
|
|
@@ -640,13 +640,13 @@ let je = function(n) {
|
|
|
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 : ""),
|
|
643
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (b) => {
|
|
644
644
|
t["thumb" + c] = b;
|
|
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 && (
|
|
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: ke(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: ke(t.state.value) };
|
|
649
|
+
return t.props.renderTrack(h, m);
|
|
650
650
|
};
|
|
651
651
|
let r = Ie(o.value);
|
|
652
652
|
r.length || (r = Ie(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -677,8 +677,8 @@ let je = function(n) {
|
|
|
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 je = function(n) {
|
|
|
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, b = Math.abs(c - u);
|
|
705
|
+
this.state.upperBound === m && this.state.sliderLength === b && this.state.thumbSize === h || this.setState({ upperBound: m, sliderLength: b, 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 je = function(n) {
|
|
|
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
747
|
const b = t[r - 1];
|
|
748
|
-
o < b +
|
|
748
|
+
o < b + m && (o = b + m);
|
|
749
749
|
}
|
|
750
750
|
if (r < l - 1) {
|
|
751
751
|
const b = t[r + 1];
|
|
752
|
-
o > b -
|
|
752
|
+
o > b - m && (o = b - m);
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t,
|
|
756
|
-
for (let
|
|
757
|
-
const g = v -
|
|
758
|
-
C[b - 1 -
|
|
755
|
+
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t, m, r), function(b, C, _, v) {
|
|
756
|
+
for (let y = 0; y < b; y += 1) {
|
|
757
|
+
const g = v - y * _;
|
|
758
|
+
C[b - 1 - y] > g && (C[b - 1 - y] = g);
|
|
759
759
|
}
|
|
760
|
-
}(l, t,
|
|
761
|
-
for (let
|
|
762
|
-
const g = v +
|
|
763
|
-
C[
|
|
760
|
+
}(l, t, m, u)) : o < a && (this.pushPreceding(t, m, r), function(b, C, _, v) {
|
|
761
|
+
for (let y = 0; y < b; y += 1) {
|
|
762
|
+
const g = v + y * _;
|
|
763
|
+
C[y] < g && (C[y] = g);
|
|
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] = Pe(a, this.props);
|
|
@@ -836,11 +836,11 @@ const G2 = "_container_4u41i_2", Y2 = "_unitLabel_4u41i_8", Q2 = "_slider_4u41i_
|
|
|
836
836
|
defaultValue: a,
|
|
837
837
|
isDate: c
|
|
838
838
|
}) => {
|
|
839
|
-
const { t: u } =
|
|
839
|
+
const { t: u } = $(), h = c ? new Date(n).getTime() : null, m = c ? new Date(d).getTime() : null, [b, C] = F(c ? [h, m] : [n, d]), _ = (v) => {
|
|
840
840
|
C(v), o == null || o({ min: v[0], max: v[1] });
|
|
841
841
|
};
|
|
842
842
|
return V(() => {
|
|
843
|
-
a || C(c ? [
|
|
843
|
+
a || C(c ? [h, m] : [n, d]);
|
|
844
844
|
}, [a, c]), /* @__PURE__ */ p(
|
|
845
845
|
"div",
|
|
846
846
|
{
|
|
@@ -854,9 +854,9 @@ const G2 = "_container_4u41i_2", Y2 = "_unitLabel_4u41i_8", Q2 = "_slider_4u41i_
|
|
|
854
854
|
className: le.slider,
|
|
855
855
|
thumbClassName: le.thumb,
|
|
856
856
|
trackClassName: le.track,
|
|
857
|
-
min: c ?
|
|
858
|
-
max: c ?
|
|
859
|
-
step: c ? (
|
|
857
|
+
min: c ? h : n,
|
|
858
|
+
max: c ? m : d,
|
|
859
|
+
step: c ? (m - h) / 30 : s,
|
|
860
860
|
value: b,
|
|
861
861
|
onAfterChange: _,
|
|
862
862
|
withTracks: !0,
|
|
@@ -909,8 +909,8 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_
|
|
|
909
909
|
minValue: a,
|
|
910
910
|
maxValue: c,
|
|
911
911
|
unit: u,
|
|
912
|
-
step:
|
|
913
|
-
disabled:
|
|
912
|
+
step: h,
|
|
913
|
+
disabled: m,
|
|
914
914
|
isDate: b
|
|
915
915
|
} = n || {}, C = me(
|
|
916
916
|
() => t == "cat" || s == "cat",
|
|
@@ -920,61 +920,61 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_
|
|
|
920
920
|
[s, t]
|
|
921
921
|
), {
|
|
922
922
|
tematicalFiltersSelected: v,
|
|
923
|
-
selectedIndicator:
|
|
923
|
+
selectedIndicator: y,
|
|
924
924
|
fontColor: g,
|
|
925
|
-
inputsColor:
|
|
926
|
-
} =
|
|
925
|
+
inputsColor: f
|
|
926
|
+
} = M((x) => x), k = (x) => {
|
|
927
927
|
if (x) {
|
|
928
|
-
const { min: S, max:
|
|
928
|
+
const { min: S, max: B, valueClicked: N, allValues: T } = x || {}, { code: A, type: H, source: L } = n || {}, j = _ ? "abs" : C ? "cat" : "both";
|
|
929
929
|
let Z = A[0];
|
|
930
|
-
|
|
930
|
+
H == "both" && (Z = j == "cat" ? A[1] : A[0]), j == "cat" ? M.setState((X) => {
|
|
931
931
|
let G = X.tematicalFiltersSelected.find(
|
|
932
|
-
(
|
|
932
|
+
(q) => q.code === Z
|
|
933
933
|
);
|
|
934
934
|
if (G) {
|
|
935
|
-
let
|
|
936
|
-
return G.values.includes(N) ?
|
|
937
|
-
(
|
|
938
|
-
) :
|
|
935
|
+
let q = [G.values];
|
|
936
|
+
return G.values.includes(N) ? q = G.values.filter(
|
|
937
|
+
(P) => P !== N
|
|
938
|
+
) : q = [...G.values, N], q.length == T.length ? {
|
|
939
939
|
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
940
|
-
(
|
|
940
|
+
(P) => P.code !== Z
|
|
941
941
|
)
|
|
942
942
|
} : {
|
|
943
943
|
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
944
|
-
(
|
|
944
|
+
(P) => P.code === Z ? { ...P, values: q } : P
|
|
945
945
|
)
|
|
946
946
|
};
|
|
947
947
|
} else {
|
|
948
|
-
let
|
|
948
|
+
let q = T.map((P, Ot) => Ot);
|
|
949
949
|
return {
|
|
950
950
|
tematicalFiltersSelected: [
|
|
951
951
|
...v,
|
|
952
952
|
{
|
|
953
953
|
type: "cat",
|
|
954
954
|
code: Z,
|
|
955
|
-
values:
|
|
955
|
+
values: q.filter((P) => P !== N),
|
|
956
956
|
name: n.name,
|
|
957
|
-
source:
|
|
957
|
+
source: L,
|
|
958
958
|
isDate: b
|
|
959
959
|
}
|
|
960
960
|
]
|
|
961
961
|
};
|
|
962
962
|
}
|
|
963
|
-
}) :
|
|
963
|
+
}) : j == "abs" && M.setState((X) => {
|
|
964
964
|
let G = X.tematicalFiltersSelected.find(
|
|
965
|
-
(
|
|
965
|
+
(q) => q.code === Z
|
|
966
966
|
);
|
|
967
|
-
if (S == n.minValue &&
|
|
967
|
+
if (S == n.minValue && B == n.maxValue)
|
|
968
968
|
return {
|
|
969
969
|
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
970
|
-
(
|
|
970
|
+
(q) => q.code !== Z
|
|
971
971
|
)
|
|
972
972
|
};
|
|
973
973
|
if (G) {
|
|
974
|
-
let
|
|
974
|
+
let q = { ...G, min: S, max: B, type: j, isDate: b };
|
|
975
975
|
return {
|
|
976
976
|
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
977
|
-
(
|
|
977
|
+
(P) => P.code === Z ? q : P
|
|
978
978
|
)
|
|
979
979
|
};
|
|
980
980
|
} else
|
|
@@ -982,10 +982,10 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_
|
|
|
982
982
|
tematicalFiltersSelected: [
|
|
983
983
|
...v,
|
|
984
984
|
{
|
|
985
|
-
type:
|
|
985
|
+
type: j,
|
|
986
986
|
code: Z,
|
|
987
987
|
min: S,
|
|
988
|
-
max:
|
|
988
|
+
max: B,
|
|
989
989
|
name: n.name,
|
|
990
990
|
source: n.source
|
|
991
991
|
}
|
|
@@ -1006,13 +1006,13 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_
|
|
|
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
|
-
isOpen:
|
|
1012
|
+
isOpen: y == `id${r}`,
|
|
1013
1013
|
onClick: () => {
|
|
1014
|
-
|
|
1015
|
-
selectedIndicator:
|
|
1014
|
+
m || M.setState(() => ({
|
|
1015
|
+
selectedIndicator: y == `id${r}` ? "" : `id${r}`
|
|
1016
1016
|
}));
|
|
1017
1017
|
},
|
|
1018
1018
|
showBottomBar: !1,
|
|
@@ -1040,8 +1040,8 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_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" ? f : "white",
|
|
1044
|
+
border: `1.5px solid ${s == "abs" ? f : g}`
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
),
|
|
@@ -1059,8 +1059,8 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_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" ? f : "white",
|
|
1063
|
+
border: `1.5px solid ${s == "cat" ? f : g}`
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
),
|
|
@@ -1070,13 +1070,13 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_
|
|
|
1070
1070
|
}
|
|
1071
1071
|
),
|
|
1072
1072
|
C && /* @__PURE__ */ i("div", { className: $e.checkboxContainer, children: l.map((x, S) => {
|
|
1073
|
-
var
|
|
1073
|
+
var B;
|
|
1074
1074
|
return /* @__PURE__ */ i(
|
|
1075
1075
|
yt,
|
|
1076
1076
|
{
|
|
1077
1077
|
onClick: () => k({ valueClicked: S, allValues: l }),
|
|
1078
1078
|
indicator: x,
|
|
1079
|
-
value: ((
|
|
1079
|
+
value: ((B = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : B.has(S)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1080
1080
|
},
|
|
1081
1081
|
`checkbox-${S}`
|
|
1082
1082
|
);
|
|
@@ -1090,7 +1090,7 @@ const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_
|
|
|
1090
1090
|
unit: u,
|
|
1091
1091
|
defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
|
|
1092
1092
|
isDate: b,
|
|
1093
|
-
step:
|
|
1093
|
+
step: h
|
|
1094
1094
|
}
|
|
1095
1095
|
) })
|
|
1096
1096
|
]
|
|
@@ -1118,14 +1118,14 @@ const vt = ({
|
|
|
1118
1118
|
activeColor: s
|
|
1119
1119
|
//onChangeBothType,
|
|
1120
1120
|
}) => {
|
|
1121
|
-
const { activeSubcategory: o } =
|
|
1121
|
+
const { activeSubcategory: o } = M((l) => l), { name: t, indicators: r } = n || {};
|
|
1122
1122
|
return /* @__PURE__ */ i(
|
|
1123
1123
|
ae,
|
|
1124
1124
|
{
|
|
1125
1125
|
title: t,
|
|
1126
1126
|
isOpen: o == `id${t}`,
|
|
1127
1127
|
onClick: () => {
|
|
1128
|
-
|
|
1128
|
+
M.setState((l) => ({
|
|
1129
1129
|
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1130
1130
|
}));
|
|
1131
1131
|
},
|
|
@@ -1165,12 +1165,12 @@ const wt = ({
|
|
|
1165
1165
|
// onChangeBothType,
|
|
1166
1166
|
activeColor: d
|
|
1167
1167
|
}) => {
|
|
1168
|
-
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: l } =
|
|
1168
|
+
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = M((a) => a);
|
|
1169
1169
|
return n && /* @__PURE__ */ i(
|
|
1170
1170
|
ae,
|
|
1171
1171
|
{
|
|
1172
1172
|
onClick: () => {
|
|
1173
|
-
|
|
1173
|
+
M.setState((a) => ({
|
|
1174
1174
|
activeCategory: r === `id${s}` ? "" : `id${s}`
|
|
1175
1175
|
}));
|
|
1176
1176
|
},
|
|
@@ -1218,15 +1218,15 @@ const xt = ({
|
|
|
1218
1218
|
inputsColor: t = "#605B56",
|
|
1219
1219
|
activeColor: r
|
|
1220
1220
|
}) => {
|
|
1221
|
-
const { tematicalFiltersSelected: l, activeFiltersType: a } =
|
|
1221
|
+
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((h) => h), { t: c } = $();
|
|
1222
1222
|
V(() => {
|
|
1223
1223
|
}, [l]), V(() => {
|
|
1224
|
-
o &&
|
|
1224
|
+
o && M.setState(() => ({ fontColor: o }));
|
|
1225
1225
|
}, [o]), V(() => {
|
|
1226
|
-
t &&
|
|
1226
|
+
t && M.setState(() => ({ inputsColor: t }));
|
|
1227
1227
|
}, [t]);
|
|
1228
1228
|
const u = () => {
|
|
1229
|
-
a == "tematical" ?
|
|
1229
|
+
a == "tematical" ? M.setState(() => ({ activeFiltersType: null })) : M.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1230
1230
|
};
|
|
1231
1231
|
return /* @__PURE__ */ i(
|
|
1232
1232
|
ae,
|
|
@@ -1237,14 +1237,14 @@ const xt = ({
|
|
|
1237
1237
|
activeColor: r,
|
|
1238
1238
|
onClick: u,
|
|
1239
1239
|
mainTitle: !0,
|
|
1240
|
-
children: n == null ? void 0 : n.map((
|
|
1240
|
+
children: n == null ? void 0 : n.map((h, m) => /* @__PURE__ */ i(
|
|
1241
1241
|
wt,
|
|
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
|
);
|
|
@@ -1258,7 +1258,7 @@ xt.propTypes = {
|
|
|
1258
1258
|
inputsColor: e.string,
|
|
1259
1259
|
activeColor: e.string
|
|
1260
1260
|
};
|
|
1261
|
-
const rn = "
|
|
1261
|
+
const rn = "_FiltersAmbitContainer_bp6cj_2", an = "_FiltersAmbitHeader_bp6cj_15", ln = "_FiltersAmbitTitle_bp6cj_23", cn = "_FiltersAmbitDescription_bp6cj_32", dn = "_FiltersAmbitDescriptionTitle_bp6cj_43", un = "_warning_bp6cj_47", pn = "_buttonContainer_bp6cj_50", te = {
|
|
1262
1262
|
FiltersAmbitContainer: rn,
|
|
1263
1263
|
FiltersAmbitHeader: an,
|
|
1264
1264
|
FiltersAmbitTitle: ln,
|
|
@@ -1277,76 +1277,80 @@ const rn = "_FiltersAmbitContainer_fj99t_2", an = "_FiltersAmbitHeader_fj99t_15"
|
|
|
1277
1277
|
onChangeAppliedFilters: a,
|
|
1278
1278
|
saveAmbit: c,
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
|
-
descPlaceholder:
|
|
1281
|
-
filtersTypes:
|
|
1280
|
+
descPlaceholder: h,
|
|
1281
|
+
filtersTypes: m = ["geographical", "tematical"],
|
|
1282
1282
|
nameRequiredText: b,
|
|
1283
1283
|
geoFilterLayers: C = [],
|
|
1284
1284
|
onGeoLayersChange: _,
|
|
1285
|
-
onlyFilters: v = !1
|
|
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
|
+
descriptionRequired: y = !1
|
|
1288
|
+
//campo descripción required
|
|
1287
1289
|
}) => {
|
|
1288
|
-
const { t:
|
|
1290
|
+
const { t: g } = $(), { tematicalFiltersSelected: f, activeFiltersType: k, geoLayers: w } = M((L) => L), [x, S] = F(n || null), [B, N] = F(d || null), [T, A] = F(!1);
|
|
1289
1291
|
V(() => {
|
|
1290
|
-
s && s.length > 0 &&
|
|
1292
|
+
s && s.length > 0 && M.setState((L) => ({
|
|
1291
1293
|
tematicalFiltersSelected: s
|
|
1292
1294
|
}));
|
|
1293
1295
|
}, [s]), V(() => {
|
|
1294
|
-
|
|
1296
|
+
m.includes("geographical") && w != C && M.setState({ geoLayers: C });
|
|
1295
1297
|
}, [C]), V(() => {
|
|
1296
|
-
a(
|
|
1297
|
-
}, [
|
|
1298
|
-
const
|
|
1299
|
-
|
|
1298
|
+
a(f);
|
|
1299
|
+
}, [f]);
|
|
1300
|
+
const H = () => {
|
|
1301
|
+
y ? x && B ? c({ name: x, description: B }) : A(!0) : x ? c({ name: x, description: B }) : A(!0);
|
|
1300
1302
|
};
|
|
1301
1303
|
return V(() => {
|
|
1302
|
-
|
|
1303
|
-
geoLayers:
|
|
1304
|
-
...
|
|
1304
|
+
m.includes("geographical") && k != "geographical" && w.length > 0 && M.setState((L) => ({
|
|
1305
|
+
geoLayers: L.geoLayers.map((j) => ({
|
|
1306
|
+
...j,
|
|
1305
1307
|
active: !1
|
|
1306
1308
|
}))
|
|
1307
1309
|
}));
|
|
1308
|
-
}, [
|
|
1310
|
+
}, [k]), /* @__PURE__ */ p("div", { className: te.FiltersAmbitContainer, children: [
|
|
1309
1311
|
/* @__PURE__ */ p("div", { children: [
|
|
1310
1312
|
!v && /* @__PURE__ */ p("div", { className: te.FiltersAmbitHeader, children: [
|
|
1311
1313
|
/* @__PURE__ */ i("div", { className: te.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1312
1314
|
"input",
|
|
1313
1315
|
{
|
|
1314
1316
|
type: "text",
|
|
1315
|
-
onChange: (
|
|
1316
|
-
|
|
1317
|
+
onChange: (L) => {
|
|
1318
|
+
A(!1), S(L.target.value);
|
|
1317
1319
|
},
|
|
1318
|
-
value:
|
|
1319
|
-
placeholder:
|
|
1320
|
+
value: x,
|
|
1321
|
+
placeholder: g(u)
|
|
1320
1322
|
}
|
|
1321
1323
|
) }),
|
|
1322
1324
|
/* @__PURE__ */ i("div", { className: te.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: te.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1323
1325
|
"textarea",
|
|
1324
1326
|
{
|
|
1325
|
-
value:
|
|
1326
|
-
onChange: (
|
|
1327
|
-
|
|
1327
|
+
value: B,
|
|
1328
|
+
onChange: (L) => {
|
|
1329
|
+
y && A(!1), N(L.target.value);
|
|
1330
|
+
},
|
|
1331
|
+
placeholder: g(h)
|
|
1328
1332
|
}
|
|
1329
1333
|
) }) })
|
|
1330
1334
|
] }),
|
|
1331
1335
|
/* @__PURE__ */ i(
|
|
1332
|
-
|
|
1336
|
+
bt,
|
|
1333
1337
|
{
|
|
1334
|
-
title:
|
|
1335
|
-
isOpen:
|
|
1338
|
+
title: g("applied_filters"),
|
|
1339
|
+
isOpen: k == "applied",
|
|
1336
1340
|
textColor: r || "#fff",
|
|
1337
1341
|
backgroundColor: l || "#605B5680",
|
|
1338
1342
|
activeColor: t
|
|
1339
1343
|
}
|
|
1340
1344
|
),
|
|
1341
|
-
|
|
1342
|
-
|
|
1345
|
+
m.includes("geographical") && /* @__PURE__ */ i(
|
|
1346
|
+
ft,
|
|
1343
1347
|
{
|
|
1344
1348
|
title: "geo_filters",
|
|
1345
1349
|
activeColor: t,
|
|
1346
1350
|
onGeoLayersChange: _
|
|
1347
1351
|
}
|
|
1348
1352
|
),
|
|
1349
|
-
|
|
1353
|
+
m.includes("tematical") && /* @__PURE__ */ i(
|
|
1350
1354
|
xt,
|
|
1351
1355
|
{
|
|
1352
1356
|
indicators: o,
|
|
@@ -1355,10 +1359,12 @@ const rn = "_FiltersAmbitContainer_fj99t_2", an = "_FiltersAmbitHeader_fj99t_15"
|
|
|
1355
1359
|
title: "tematical_filters",
|
|
1356
1360
|
activeColor: t
|
|
1357
1361
|
}
|
|
1358
|
-
)
|
|
1359
|
-
N && /* @__PURE__ */ i("div", { className: te.warning, children: f(b) })
|
|
1362
|
+
)
|
|
1360
1363
|
] }),
|
|
1361
|
-
!v && /* @__PURE__ */
|
|
1364
|
+
!v && /* @__PURE__ */ p("div", { className: te.buttonContainer, children: [
|
|
1365
|
+
T && /* @__PURE__ */ i("div", { className: te.warning, children: g(b) }),
|
|
1366
|
+
/* @__PURE__ */ i(Ve, { onClick: () => H(), children: g("save_ambit") })
|
|
1367
|
+
] })
|
|
1362
1368
|
] });
|
|
1363
1369
|
};
|
|
1364
1370
|
mn.propTypes = {
|
|
@@ -1390,11 +1396,11 @@ const hn = "_barChartContainer_d2f1z_2", gn = {
|
|
|
1390
1396
|
numberOfDivisions: c = 7,
|
|
1391
1397
|
maxValue: u = null
|
|
1392
1398
|
}) => {
|
|
1393
|
-
const { t:
|
|
1399
|
+
const { t: h } = $(), { xScale: m, ticks: b, height: C } = me(() => {
|
|
1394
1400
|
if (n && n.length > 0) {
|
|
1395
|
-
const _ = (n == null ? void 0 : n.length) * (s + o) + r * 2, v = Qe.max(n, (
|
|
1401
|
+
const _ = (n == null ? void 0 : n.length) * (s + o) + r * 2, v = Qe.max(n, (f) => f.value) || 1, y = Qe.scaleLinear().domain([0, u || v]).range([0, d - a]), g = Array.from({ length: c + 1 }, (f, k) => u ? u / c * k : v / c * k);
|
|
1396
1402
|
return {
|
|
1397
|
-
xScale:
|
|
1403
|
+
xScale: y,
|
|
1398
1404
|
ticks: g,
|
|
1399
1405
|
height: _,
|
|
1400
1406
|
width: d,
|
|
@@ -1415,8 +1421,8 @@ const hn = "_barChartContainer_d2f1z_2", gn = {
|
|
|
1415
1421
|
]);
|
|
1416
1422
|
return /* @__PURE__ */ i("div", { className: gn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + l * 2, height: C, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1417
1423
|
/* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children: b.map((_, v) => {
|
|
1418
|
-
const
|
|
1419
|
-
return /* @__PURE__ */ p("g", { transform: `translate(${
|
|
1424
|
+
const y = m(_);
|
|
1425
|
+
return /* @__PURE__ */ p("g", { transform: `translate(${y}, 0)`, children: [
|
|
1420
1426
|
/* @__PURE__ */ i(
|
|
1421
1427
|
"line",
|
|
1422
1428
|
{
|
|
@@ -1438,7 +1444,7 @@ const hn = "_barChartContainer_d2f1z_2", gn = {
|
|
|
1438
1444
|
] }, v);
|
|
1439
1445
|
}) }),
|
|
1440
1446
|
n && n.length > 0 && (n == null ? void 0 : n.map((_, v) => {
|
|
1441
|
-
const
|
|
1447
|
+
const y = m(_.value), g = v * (s + o);
|
|
1442
1448
|
return /* @__PURE__ */ p(
|
|
1443
1449
|
"g",
|
|
1444
1450
|
{
|
|
@@ -1451,13 +1457,13 @@ const hn = "_barChartContainer_d2f1z_2", gn = {
|
|
|
1451
1457
|
y: s / 2 + 5,
|
|
1452
1458
|
textAnchor: "end",
|
|
1453
1459
|
fill: t,
|
|
1454
|
-
children:
|
|
1460
|
+
children: h(_.title)
|
|
1455
1461
|
}
|
|
1456
1462
|
),
|
|
1457
1463
|
/* @__PURE__ */ i(
|
|
1458
1464
|
"rect",
|
|
1459
1465
|
{
|
|
1460
|
-
width:
|
|
1466
|
+
width: y,
|
|
1461
1467
|
height: s,
|
|
1462
1468
|
fill: _.color,
|
|
1463
1469
|
rx: 0
|
|
@@ -1486,10 +1492,10 @@ Nt.propTypes = {
|
|
|
1486
1492
|
numberOfDivisions: e.number,
|
|
1487
1493
|
fontColor: e.string
|
|
1488
1494
|
};
|
|
1489
|
-
const Cn = "_graphicContainer_c9zrg_2",
|
|
1495
|
+
const Cn = "_graphicContainer_c9zrg_2", bn = "_titleContainer_c9zrg_14", tt = {
|
|
1490
1496
|
graphicContainer: Cn,
|
|
1491
|
-
titleContainer:
|
|
1492
|
-
},
|
|
1497
|
+
titleContainer: bn
|
|
1498
|
+
}, fn = ({
|
|
1493
1499
|
data: n,
|
|
1494
1500
|
graphWidth: d = 700,
|
|
1495
1501
|
containerStyle: s,
|
|
@@ -1500,7 +1506,7 @@ const Cn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", tt = {
|
|
|
1500
1506
|
numberOfDivisions: a = 7,
|
|
1501
1507
|
leftPadding: c = 200
|
|
1502
1508
|
}) => {
|
|
1503
|
-
const { t: u } =
|
|
1509
|
+
const { t: u } = $();
|
|
1504
1510
|
return /* @__PURE__ */ p(
|
|
1505
1511
|
"div",
|
|
1506
1512
|
{
|
|
@@ -1526,7 +1532,7 @@ const Cn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", tt = {
|
|
|
1526
1532
|
}
|
|
1527
1533
|
);
|
|
1528
1534
|
};
|
|
1529
|
-
|
|
1535
|
+
fn.propTypes = {
|
|
1530
1536
|
data: e.arrayOf(
|
|
1531
1537
|
e.shape({
|
|
1532
1538
|
color: e.string.isRequired,
|
|
@@ -1547,7 +1553,7 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1547
1553
|
indicatorsCategory: yn,
|
|
1548
1554
|
title: _n,
|
|
1549
1555
|
list: vn
|
|
1550
|
-
}, nt = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", wn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", xn = "_indicatorContainer_17b40_2", Nn = "_indicatorNameContainer_17b40_11", kn = "_dot_17b40_17", Sn = "_indicatorName_17b40_11", $n = "_switchExternalContainer_17b40_31", Bn = "_switchType_17b40_39", Tn = "_switchTypeOptions_17b40_43", Ln = "_optionContainer_17b40_54", Mn = "_customRadious_17b40_64", Dn = "_optionText_17b40_71",
|
|
1556
|
+
}, nt = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", wn = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", xn = "_indicatorContainer_17b40_2", Nn = "_indicatorNameContainer_17b40_11", kn = "_dot_17b40_17", Sn = "_indicatorName_17b40_11", $n = "_switchExternalContainer_17b40_31", Bn = "_switchType_17b40_39", Tn = "_switchTypeOptions_17b40_43", Ln = "_optionContainer_17b40_54", Mn = "_customRadious_17b40_64", Dn = "_optionText_17b40_71", R = {
|
|
1551
1557
|
indicatorContainer: xn,
|
|
1552
1558
|
indicatorNameContainer: Nn,
|
|
1553
1559
|
dot: kn,
|
|
@@ -1569,27 +1575,27 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1569
1575
|
multiple: a = !1,
|
|
1570
1576
|
onChangeType: c
|
|
1571
1577
|
}) => {
|
|
1572
|
-
const { t: u } =
|
|
1578
|
+
const { t: u } = $(), { name: h, type: m, disabled: b } = n;
|
|
1573
1579
|
console.log(nt);
|
|
1574
1580
|
const [C, _] = F(!1);
|
|
1575
1581
|
V(() => {
|
|
1576
1582
|
t && _(
|
|
1577
1583
|
a ? t.some(
|
|
1578
|
-
(g) => g.name == String(
|
|
1579
|
-
) : t.name ==
|
|
1584
|
+
(g) => g.name == String(h)
|
|
1585
|
+
) : t.name == h
|
|
1580
1586
|
);
|
|
1581
1587
|
}, [t]);
|
|
1582
|
-
const v = () => /* @__PURE__ */ i("div", { className:
|
|
1588
|
+
const v = () => /* @__PURE__ */ i("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: R.switchType, children: /* @__PURE__ */ p("div", { className: R.switchTypeOptions, children: [
|
|
1583
1589
|
/* @__PURE__ */ p(
|
|
1584
1590
|
"div",
|
|
1585
1591
|
{
|
|
1586
|
-
className:
|
|
1592
|
+
className: R.optionContainer,
|
|
1587
1593
|
onClick: () => c("cat"),
|
|
1588
1594
|
children: [
|
|
1589
1595
|
/* @__PURE__ */ i(
|
|
1590
1596
|
"span",
|
|
1591
1597
|
{
|
|
1592
|
-
className: `${
|
|
1598
|
+
className: `${R.customRadious}`,
|
|
1593
1599
|
style: {
|
|
1594
1600
|
backgroundColor: r === "cat" ? s : "transparent",
|
|
1595
1601
|
borderColor: r === "cat" ? s : o
|
|
@@ -1599,7 +1605,7 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1599
1605
|
/* @__PURE__ */ i(
|
|
1600
1606
|
"h4",
|
|
1601
1607
|
{
|
|
1602
|
-
className:
|
|
1608
|
+
className: R.optionText,
|
|
1603
1609
|
style: {
|
|
1604
1610
|
color: r === "cat" ? s : o
|
|
1605
1611
|
},
|
|
@@ -1612,13 +1618,13 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1612
1618
|
/* @__PURE__ */ p(
|
|
1613
1619
|
"div",
|
|
1614
1620
|
{
|
|
1615
|
-
className:
|
|
1621
|
+
className: R.optionContainer,
|
|
1616
1622
|
onClick: () => c("abs"),
|
|
1617
1623
|
children: [
|
|
1618
1624
|
/* @__PURE__ */ i(
|
|
1619
1625
|
"span",
|
|
1620
1626
|
{
|
|
1621
|
-
className: `${
|
|
1627
|
+
className: `${R.customRadious}`,
|
|
1622
1628
|
style: {
|
|
1623
1629
|
backgroundColor: r === "abs" ? s : "transparent",
|
|
1624
1630
|
borderColor: r === "abs" ? s : o
|
|
@@ -1628,7 +1634,7 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1628
1634
|
/* @__PURE__ */ i(
|
|
1629
1635
|
"h4",
|
|
1630
1636
|
{
|
|
1631
|
-
className:
|
|
1637
|
+
className: R.optionText,
|
|
1632
1638
|
style: {
|
|
1633
1639
|
color: r === "abs" ? s : o
|
|
1634
1640
|
},
|
|
@@ -1638,27 +1644,27 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1638
1644
|
]
|
|
1639
1645
|
}
|
|
1640
1646
|
)
|
|
1641
|
-
] }) }) }),
|
|
1647
|
+
] }) }) }), y = () => /* @__PURE__ */ i("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: R.switchType, children: /* @__PURE__ */ i("div", { className: R.switchTypeOptions, children: d.map((g, f) => /* @__PURE__ */ p(
|
|
1642
1648
|
"div",
|
|
1643
1649
|
{
|
|
1644
|
-
className:
|
|
1650
|
+
className: R.optionContainer,
|
|
1645
1651
|
children: [
|
|
1646
1652
|
/* @__PURE__ */ i(
|
|
1647
1653
|
"span",
|
|
1648
1654
|
{
|
|
1649
|
-
className:
|
|
1655
|
+
className: R.customRadious
|
|
1650
1656
|
}
|
|
1651
1657
|
),
|
|
1652
1658
|
/* @__PURE__ */ i("h4", { children: u(g.unit) })
|
|
1653
1659
|
]
|
|
1654
1660
|
},
|
|
1655
|
-
|
|
1661
|
+
f
|
|
1656
1662
|
)) }) }) });
|
|
1657
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1663
|
+
return /* @__PURE__ */ p("div", { className: R.indicatorContainer, children: [
|
|
1658
1664
|
/* @__PURE__ */ p(
|
|
1659
1665
|
"div",
|
|
1660
1666
|
{
|
|
1661
|
-
className:
|
|
1667
|
+
className: R.indicatorNameContainer,
|
|
1662
1668
|
onClick: () => !b && l({ indicator: n }),
|
|
1663
1669
|
children: [
|
|
1664
1670
|
/* @__PURE__ */ i(
|
|
@@ -1669,14 +1675,14 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1669
1675
|
opacity: b ? 0.5 : 1,
|
|
1670
1676
|
backgroundColor: C ? s : "transparent"
|
|
1671
1677
|
},
|
|
1672
|
-
className:
|
|
1678
|
+
className: R.dot,
|
|
1673
1679
|
children: a && /* @__PURE__ */ i("img", { src: C ? wn : nt, alt: "" })
|
|
1674
1680
|
}
|
|
1675
1681
|
),
|
|
1676
1682
|
/* @__PURE__ */ i(
|
|
1677
1683
|
"h4",
|
|
1678
1684
|
{
|
|
1679
|
-
className:
|
|
1685
|
+
className: R.indicatorName,
|
|
1680
1686
|
style: {
|
|
1681
1687
|
color: C ? s : o,
|
|
1682
1688
|
opacity: b ? 0.5 : 1
|
|
@@ -1684,7 +1690,7 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1684
1690
|
children: /* @__PURE__ */ i(
|
|
1685
1691
|
Ke,
|
|
1686
1692
|
{
|
|
1687
|
-
i18nKey:
|
|
1693
|
+
i18nKey: h,
|
|
1688
1694
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
1689
1695
|
shouldUnescape: !0
|
|
1690
1696
|
}
|
|
@@ -1694,8 +1700,8 @@ const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arw
|
|
|
1694
1700
|
]
|
|
1695
1701
|
}
|
|
1696
1702
|
),
|
|
1697
|
-
(t == null ? void 0 : t.name) ===
|
|
1698
|
-
(t == null ? void 0 : t.name) ===
|
|
1703
|
+
(t == null ? void 0 : t.name) === h && m === "both" && /* @__PURE__ */ i("div", { children: v() }),
|
|
1704
|
+
(t == null ? void 0 : t.name) === h && m === "twoUnits" && /* @__PURE__ */ i("div", { children: y() })
|
|
1699
1705
|
] });
|
|
1700
1706
|
};
|
|
1701
1707
|
Ge.propTypes = {
|
|
@@ -1724,10 +1730,10 @@ const Vn = "_indicatorsSubCategory_1nuug_2", Fn = "_list_1nuug_11", it = {
|
|
|
1724
1730
|
activeIndicator: a,
|
|
1725
1731
|
onClickIndicator: c,
|
|
1726
1732
|
multiple: u,
|
|
1727
|
-
activeIndicatorType:
|
|
1728
|
-
onChangeType:
|
|
1733
|
+
activeIndicatorType: h,
|
|
1734
|
+
onChangeType: m
|
|
1729
1735
|
}) => {
|
|
1730
|
-
const { t: b } =
|
|
1736
|
+
const { t: b } = $(), [C, _] = F(!1);
|
|
1731
1737
|
return V(() => {
|
|
1732
1738
|
_(t == l);
|
|
1733
1739
|
}, [t, l]), /* @__PURE__ */ p(
|
|
@@ -1748,7 +1754,7 @@ const Vn = "_indicatorsSubCategory_1nuug_2", Fn = "_list_1nuug_11", it = {
|
|
|
1748
1754
|
}
|
|
1749
1755
|
)
|
|
1750
1756
|
] }) }),
|
|
1751
|
-
d && /* @__PURE__ */ i("div", { className: it.list, children: d == null ? void 0 : d.map((v,
|
|
1757
|
+
d && /* @__PURE__ */ i("div", { className: it.list, children: d == null ? void 0 : d.map((v, y) => /* @__PURE__ */ i(
|
|
1752
1758
|
Ge,
|
|
1753
1759
|
{
|
|
1754
1760
|
indicator: v,
|
|
@@ -1757,10 +1763,10 @@ const Vn = "_indicatorsSubCategory_1nuug_2", Fn = "_list_1nuug_11", it = {
|
|
|
1757
1763
|
activeIndicator: a,
|
|
1758
1764
|
onClickIndicator: c,
|
|
1759
1765
|
multiple: u,
|
|
1760
|
-
activeIndicatorType:
|
|
1761
|
-
onChangeType:
|
|
1766
|
+
activeIndicatorType: h,
|
|
1767
|
+
onChangeType: m
|
|
1762
1768
|
},
|
|
1763
|
-
"indicator" +
|
|
1769
|
+
"indicator" + y
|
|
1764
1770
|
)) })
|
|
1765
1771
|
]
|
|
1766
1772
|
}
|
|
@@ -1789,12 +1795,12 @@ const St = ({
|
|
|
1789
1795
|
onClickSubCategory: a,
|
|
1790
1796
|
activeIndicator: c,
|
|
1791
1797
|
onClickIndicator: u,
|
|
1792
|
-
multiple:
|
|
1793
|
-
activeIndicatorType:
|
|
1798
|
+
multiple: h,
|
|
1799
|
+
activeIndicatorType: m,
|
|
1794
1800
|
onChangeType: b
|
|
1795
1801
|
}) => {
|
|
1796
|
-
var
|
|
1797
|
-
const { t: C } =
|
|
1802
|
+
var y;
|
|
1803
|
+
const { t: C } = $(), [_, v] = F(!1);
|
|
1798
1804
|
return V(() => {
|
|
1799
1805
|
v(r === d);
|
|
1800
1806
|
}, [r, d]), /* @__PURE__ */ p(
|
|
@@ -1821,25 +1827,25 @@ const St = ({
|
|
|
1821
1827
|
)
|
|
1822
1828
|
] }),
|
|
1823
1829
|
n.subcategories ? n.subcategories.map(
|
|
1824
|
-
({ name: g, subcategory:
|
|
1830
|
+
({ name: g, subcategory: f, indicators: k }, w) => /* @__PURE__ */ i(
|
|
1825
1831
|
kt,
|
|
1826
1832
|
{
|
|
1827
|
-
id:
|
|
1833
|
+
id: f,
|
|
1828
1834
|
activeSubCategory: l,
|
|
1829
1835
|
subcName: g,
|
|
1830
1836
|
onClickSubCategory: a,
|
|
1831
1837
|
activeIndicator: c,
|
|
1832
1838
|
onClickIndicator: u,
|
|
1833
|
-
multiple:
|
|
1839
|
+
multiple: h,
|
|
1834
1840
|
activeColor: s,
|
|
1835
1841
|
defaultColor: o,
|
|
1836
1842
|
indicators: k,
|
|
1837
|
-
activeIndicatorType:
|
|
1843
|
+
activeIndicatorType: m,
|
|
1838
1844
|
onChangeType: b
|
|
1839
1845
|
},
|
|
1840
1846
|
`subcKey ${w}`
|
|
1841
1847
|
)
|
|
1842
|
-
) : /* @__PURE__ */ i("div", { className: Be.list, children: (
|
|
1848
|
+
) : /* @__PURE__ */ i("div", { className: Be.list, children: (y = n.indicators) == null ? void 0 : y.map((g, f) => /* @__PURE__ */ i(
|
|
1843
1849
|
Ge,
|
|
1844
1850
|
{
|
|
1845
1851
|
indicator: g,
|
|
@@ -1848,11 +1854,11 @@ const St = ({
|
|
|
1848
1854
|
defaultColor: o,
|
|
1849
1855
|
activeIndicator: c,
|
|
1850
1856
|
onClickIndicator: u,
|
|
1851
|
-
multiple:
|
|
1852
|
-
activeIndicatorType:
|
|
1857
|
+
multiple: h,
|
|
1858
|
+
activeIndicatorType: m,
|
|
1853
1859
|
onChangeType: b
|
|
1854
1860
|
},
|
|
1855
|
-
`indicator${
|
|
1861
|
+
`indicator${f}`
|
|
1856
1862
|
)) })
|
|
1857
1863
|
]
|
|
1858
1864
|
}
|
|
@@ -1889,13 +1895,13 @@ const An = "_indicatorsList_13b3m_2", In = "_title_13b3m_6", st = {
|
|
|
1889
1895
|
changeIndType: l,
|
|
1890
1896
|
activeIndicatorType: a
|
|
1891
1897
|
}) => {
|
|
1892
|
-
const { t: c } =
|
|
1893
|
-
|
|
1894
|
-
}, f = (w) => {
|
|
1895
|
-
b(h == w ? null : w);
|
|
1896
|
-
}, g = ({ indicator: w }) => {
|
|
1897
|
-
y(w);
|
|
1898
|
+
const { t: c } = $(), [u, h] = F(), [m, b] = F(), [C, _] = F(), v = (w) => {
|
|
1899
|
+
h(u == w ? null : w);
|
|
1898
1900
|
}, y = (w) => {
|
|
1901
|
+
b(m == w ? null : w);
|
|
1902
|
+
}, g = ({ indicator: w }) => {
|
|
1903
|
+
f(w);
|
|
1904
|
+
}, f = (w) => {
|
|
1899
1905
|
if (!t)
|
|
1900
1906
|
_(
|
|
1901
1907
|
(C == null ? void 0 : C.name) == w.name ? null : w
|
|
@@ -1919,20 +1925,20 @@ const An = "_indicatorsList_13b3m_2", In = "_title_13b3m_6", st = {
|
|
|
1919
1925
|
let w = C && C.length > 0 ? [...C] : [];
|
|
1920
1926
|
_([...w, ...r]), k(r[0].name);
|
|
1921
1927
|
} else
|
|
1922
|
-
|
|
1928
|
+
f(r), k(r.name);
|
|
1923
1929
|
}, []);
|
|
1924
1930
|
const k = (w) => {
|
|
1925
1931
|
const x = n.find((S) => {
|
|
1926
1932
|
if (S.subcategories) {
|
|
1927
|
-
let
|
|
1928
|
-
(N) => N.indicators.find((
|
|
1933
|
+
let B = S.subcategories.find(
|
|
1934
|
+
(N) => N.indicators.find((T) => T.name == w)
|
|
1929
1935
|
);
|
|
1930
|
-
if (
|
|
1931
|
-
return b(
|
|
1936
|
+
if (B)
|
|
1937
|
+
return b(B.subcategory), B;
|
|
1932
1938
|
} else
|
|
1933
|
-
return S.indicators.some((
|
|
1939
|
+
return S.indicators.some((B) => B.name == w);
|
|
1934
1940
|
});
|
|
1935
|
-
x &&
|
|
1941
|
+
x && h(x.category);
|
|
1936
1942
|
};
|
|
1937
1943
|
return /* @__PURE__ */ p("div", { className: st.indicatorsList, children: [
|
|
1938
1944
|
/* @__PURE__ */ i("h2", { className: st.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
@@ -1943,8 +1949,8 @@ const An = "_indicatorsList_13b3m_2", In = "_title_13b3m_6", st = {
|
|
|
1943
1949
|
cat: w,
|
|
1944
1950
|
onClickCategory: v,
|
|
1945
1951
|
activeCategory: u,
|
|
1946
|
-
onClickSubCategory:
|
|
1947
|
-
activeSubCategory:
|
|
1952
|
+
onClickSubCategory: y,
|
|
1953
|
+
activeSubCategory: m,
|
|
1948
1954
|
onClickIndicator: g,
|
|
1949
1955
|
activeIndicator: C,
|
|
1950
1956
|
activeColor: d,
|
|
@@ -1976,7 +1982,7 @@ const Rn = "_langSelector_o9enq_2", qn = "_currentLang_o9enq_14", En = "_arrow_o
|
|
|
1976
1982
|
prevImg: Pn,
|
|
1977
1983
|
langMenu: jn
|
|
1978
1984
|
}, Zn = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1979
|
-
const [o, t] = F(!1), { i18n: r } =
|
|
1985
|
+
const [o, t] = F(!1), { i18n: r } = $(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1980
1986
|
r.changeLanguage(c), t(!1);
|
|
1981
1987
|
};
|
|
1982
1988
|
return /* @__PURE__ */ p("div", { className: ce.langSelector, children: [
|
|
@@ -2058,7 +2064,7 @@ const zn = "_legendContainer_qs4x9_3", Hn = "_closeButton_qs4x9_31", Kn = "_titl
|
|
|
2058
2064
|
buttonTitle: a,
|
|
2059
2065
|
onClickClose: c
|
|
2060
2066
|
}) => {
|
|
2061
|
-
const { t: u } =
|
|
2067
|
+
const { t: u } = $();
|
|
2062
2068
|
return /* @__PURE__ */ p(
|
|
2063
2069
|
"div",
|
|
2064
2070
|
{
|
|
@@ -2067,11 +2073,11 @@ const zn = "_legendContainer_qs4x9_3", Hn = "_closeButton_qs4x9_31", Kn = "_titl
|
|
|
2067
2073
|
children: [
|
|
2068
2074
|
/* @__PURE__ */ i("button", { className: O.closeButton, onClick: c }),
|
|
2069
2075
|
d && /* @__PURE__ */ i("div", { className: O.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
2070
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className: O.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title:
|
|
2071
|
-
/* @__PURE__ */ i("h3", { className: O.title, children: `${
|
|
2076
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: O.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: h, value: m }) => /* @__PURE__ */ p("li", { children: [
|
|
2077
|
+
/* @__PURE__ */ i("h3", { className: O.title, children: `${h}:` }),
|
|
2072
2078
|
/* @__PURE__ */ p("span", { className: O.value, children: [
|
|
2073
2079
|
" ",
|
|
2074
|
-
|
|
2080
|
+
m
|
|
2075
2081
|
] })
|
|
2076
2082
|
] }, d)) }) }),
|
|
2077
2083
|
/* @__PURE__ */ i("h3", { className: O.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(Ke, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
|
|
@@ -2104,16 +2110,16 @@ const zn = "_legendContainer_qs4x9_3", Hn = "_closeButton_qs4x9_31", Kn = "_titl
|
|
|
2104
2110
|
] })
|
|
2105
2111
|
] })
|
|
2106
2112
|
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: O.gridContainer, children: o.map(
|
|
2107
|
-
({ title:
|
|
2113
|
+
({ title: h, color: m }) => /* @__PURE__ */ p("div", { className: O.elementLegendContainer, children: [
|
|
2108
2114
|
/* @__PURE__ */ i(
|
|
2109
2115
|
"div",
|
|
2110
2116
|
{
|
|
2111
2117
|
className: O.colorDot,
|
|
2112
|
-
style: { backgroundColor:
|
|
2118
|
+
style: { backgroundColor: m }
|
|
2113
2119
|
}
|
|
2114
2120
|
),
|
|
2115
2121
|
/* @__PURE__ */ p("div", { className: O.titleLegendElement, children: [
|
|
2116
|
-
u(
|
|
2122
|
+
u(h),
|
|
2117
2123
|
" "
|
|
2118
2124
|
] })
|
|
2119
2125
|
] }, d)
|
|
@@ -2166,7 +2172,7 @@ o0.propTypes = {
|
|
|
2166
2172
|
const r0 = "_logo_1ewa6_2", ot = {
|
|
2167
2173
|
logo: r0
|
|
2168
2174
|
}, a0 = ({ src: n, alt: d, href: s }) => {
|
|
2169
|
-
const { t: o } =
|
|
2175
|
+
const { t: o } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2170
2176
|
return s ? /* @__PURE__ */ i("div", { className: ot.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: ot.logo, children: t });
|
|
2171
2177
|
};
|
|
2172
2178
|
a0.propTypes = {
|
|
@@ -2190,12 +2196,12 @@ const d0 = ({
|
|
|
2190
2196
|
interactiveLayers: a = [],
|
|
2191
2197
|
popUp: c = !1,
|
|
2192
2198
|
sources: u = [],
|
|
2193
|
-
layers:
|
|
2199
|
+
layers: h = []
|
|
2194
2200
|
}) => {
|
|
2195
|
-
const
|
|
2201
|
+
const m = re(), [b, C] = F(null), _ = Et((v) => v.mapState.showTexts);
|
|
2196
2202
|
return V(() => {
|
|
2197
|
-
if (
|
|
2198
|
-
const v =
|
|
2203
|
+
if (m.current) {
|
|
2204
|
+
const v = m.current.getMap();
|
|
2199
2205
|
v.getStyle().layers.map((g) => {
|
|
2200
2206
|
g.type == "symbol" && g.id != "professionals" && (_ ? v.setLayoutProperty(g.id, "visibility", "visible") : v.setLayoutProperty(g.id, "visibility", "none"));
|
|
2201
2207
|
});
|
|
@@ -2204,7 +2210,7 @@ const d0 = ({
|
|
|
2204
2210
|
Pt,
|
|
2205
2211
|
{
|
|
2206
2212
|
initialViewState: n,
|
|
2207
|
-
ref:
|
|
2213
|
+
ref: m,
|
|
2208
2214
|
hash: !1,
|
|
2209
2215
|
maxZoom: d,
|
|
2210
2216
|
minZoom: s,
|
|
@@ -2212,22 +2218,22 @@ const d0 = ({
|
|
|
2212
2218
|
onClick: l,
|
|
2213
2219
|
interactiveLayerIds: a,
|
|
2214
2220
|
children: [
|
|
2215
|
-
u.length && u.map((v,
|
|
2221
|
+
u.length && u.map((v, y) => /* @__PURE__ */ i(
|
|
2216
2222
|
jt,
|
|
2217
2223
|
{
|
|
2218
2224
|
...v,
|
|
2219
|
-
children:
|
|
2225
|
+
children: h.length && h.map((g, f) => {
|
|
2220
2226
|
if (g.sourceId == v.id) return /* @__PURE__ */ i(
|
|
2221
2227
|
Zt,
|
|
2222
2228
|
{
|
|
2223
2229
|
...g.layer,
|
|
2224
2230
|
beforeId: t
|
|
2225
2231
|
},
|
|
2226
|
-
|
|
2232
|
+
f
|
|
2227
2233
|
);
|
|
2228
2234
|
})
|
|
2229
2235
|
},
|
|
2230
|
-
|
|
2236
|
+
y
|
|
2231
2237
|
)),
|
|
2232
2238
|
/* @__PURE__ */ i(zt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2233
2239
|
c && b && /* @__PURE__ */ i(
|
|
@@ -2295,7 +2301,7 @@ const u0 = "_mapContainer_b0pyr_3", p0 = {
|
|
|
2295
2301
|
FeaturePopUp: m0,
|
|
2296
2302
|
title: h0
|
|
2297
2303
|
}, g0 = ({ props: n }) => {
|
|
2298
|
-
const { t: d } =
|
|
2304
|
+
const { t: d } = $();
|
|
2299
2305
|
return /* @__PURE__ */ i("div", { className: rt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ p("p", { children: [
|
|
2300
2306
|
/* @__PURE__ */ p("span", { className: rt.title, children: [
|
|
2301
2307
|
/* @__PURE__ */ i(Ke, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
@@ -2318,8 +2324,8 @@ const u0 = "_mapContainer_b0pyr_3", p0 = {
|
|
|
2318
2324
|
interactiveLayers: a = [],
|
|
2319
2325
|
sources: c = [],
|
|
2320
2326
|
layers: u = [],
|
|
2321
|
-
popUpParams:
|
|
2322
|
-
onClosePopUp:
|
|
2327
|
+
popUpParams: h,
|
|
2328
|
+
onClosePopUp: m,
|
|
2323
2329
|
showTexts: b,
|
|
2324
2330
|
hash: C = !1
|
|
2325
2331
|
}) => {
|
|
@@ -2349,11 +2355,11 @@ const u0 = "_mapContainer_b0pyr_3", p0 = {
|
|
|
2349
2355
|
onClick: l,
|
|
2350
2356
|
interactiveLayerIds: a,
|
|
2351
2357
|
children: [
|
|
2352
|
-
c.length && c.map((v,
|
|
2358
|
+
c.length && c.map((v, y) => /* @__PURE__ */ i(
|
|
2353
2359
|
Wt,
|
|
2354
2360
|
{
|
|
2355
2361
|
...v,
|
|
2356
|
-
children: u.length && u.map((g,
|
|
2362
|
+
children: u.length && u.map((g, f) => {
|
|
2357
2363
|
if (g.sourceId == v.id) return /* @__PURE__ */ i(
|
|
2358
2364
|
Gt,
|
|
2359
2365
|
{
|
|
@@ -2364,20 +2370,20 @@ const u0 = "_mapContainer_b0pyr_3", p0 = {
|
|
|
2364
2370
|
visibility: g.layer.visibility || "visible"
|
|
2365
2371
|
}
|
|
2366
2372
|
},
|
|
2367
|
-
|
|
2373
|
+
f
|
|
2368
2374
|
);
|
|
2369
2375
|
})
|
|
2370
2376
|
},
|
|
2371
|
-
|
|
2377
|
+
y
|
|
2372
2378
|
)),
|
|
2373
2379
|
/* @__PURE__ */ i(Yt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2374
|
-
|
|
2380
|
+
h && /* @__PURE__ */ i(
|
|
2375
2381
|
Qt,
|
|
2376
2382
|
{
|
|
2377
|
-
longitude:
|
|
2378
|
-
latitude:
|
|
2379
|
-
onClose:
|
|
2380
|
-
children: /* @__PURE__ */ i(g0, { props:
|
|
2383
|
+
longitude: h.lng,
|
|
2384
|
+
latitude: h.lat,
|
|
2385
|
+
onClose: m,
|
|
2386
|
+
children: /* @__PURE__ */ i(g0, { props: h.props })
|
|
2381
2387
|
}
|
|
2382
2388
|
)
|
|
2383
2389
|
]
|
|
@@ -2428,9 +2434,9 @@ C0.propTypes = {
|
|
|
2428
2434
|
popUpParams: e.object,
|
|
2429
2435
|
onClosePopUp: e.func
|
|
2430
2436
|
};
|
|
2431
|
-
const
|
|
2432
|
-
sectionBar:
|
|
2433
|
-
leftContent:
|
|
2437
|
+
const b0 = "_sectionBar_1egwc_2", f0 = "_leftContent_1egwc_14", y0 = "_textContainer_1egwc_20", _0 = "_title_1egwc_27", v0 = "_subtitle_1egwc_33", w0 = "_rightContent_1egwc_38", ne = {
|
|
2438
|
+
sectionBar: b0,
|
|
2439
|
+
leftContent: f0,
|
|
2434
2440
|
textContainer: y0,
|
|
2435
2441
|
title: _0,
|
|
2436
2442
|
subtitle: v0,
|
|
@@ -2444,7 +2450,7 @@ const f0 = "_sectionBar_1egwc_2", b0 = "_leftContent_1egwc_14", y0 = "_textConta
|
|
|
2444
2450
|
width: r,
|
|
2445
2451
|
borderTop: l = !1
|
|
2446
2452
|
}) => {
|
|
2447
|
-
const { t: a } =
|
|
2453
|
+
const { t: a } = $();
|
|
2448
2454
|
return /* @__PURE__ */ p("div", { className: ne.sectionBar, style: { width: r && r, borderTop: l ? "1px solid #000" : "0px" }, children: [
|
|
2449
2455
|
/* @__PURE__ */ p("div", { className: ne.leftContent, children: [
|
|
2450
2456
|
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: ne.icon }),
|
|
@@ -2513,14 +2519,14 @@ const N0 = Xt({
|
|
|
2513
2519
|
console.log("year changed to ", a);
|
|
2514
2520
|
}
|
|
2515
2521
|
}) => {
|
|
2516
|
-
const [a, c] = F(d), u = (g,
|
|
2517
|
-
c(
|
|
2518
|
-
}, [
|
|
2519
|
-
|
|
2522
|
+
const [a, c] = F(d), u = (g, f) => {
|
|
2523
|
+
c(f), l(f);
|
|
2524
|
+
}, [h, m] = F(!1), b = () => {
|
|
2525
|
+
m(!0);
|
|
2520
2526
|
}, C = () => {
|
|
2521
|
-
|
|
2527
|
+
m(!1);
|
|
2522
2528
|
};
|
|
2523
|
-
((g,
|
|
2529
|
+
((g, f) => {
|
|
2524
2530
|
const k = re();
|
|
2525
2531
|
V(() => {
|
|
2526
2532
|
k.current = g;
|
|
@@ -2529,12 +2535,12 @@ const N0 = Xt({
|
|
|
2529
2535
|
k.current();
|
|
2530
2536
|
}
|
|
2531
2537
|
{
|
|
2532
|
-
let x = setInterval(w,
|
|
2538
|
+
let x = setInterval(w, f);
|
|
2533
2539
|
return () => clearInterval(x);
|
|
2534
2540
|
}
|
|
2535
|
-
}, [
|
|
2541
|
+
}, [f]);
|
|
2536
2542
|
})(() => {
|
|
2537
|
-
|
|
2543
|
+
h && (a != 2050 ? (c(a + 1), l(a + 1)) : (c(2025), l(2025)));
|
|
2538
2544
|
}, 1e3);
|
|
2539
2545
|
const v = e2({
|
|
2540
2546
|
palette: {
|
|
@@ -2558,7 +2564,7 @@ const N0 = Xt({
|
|
|
2558
2564
|
}
|
|
2559
2565
|
}
|
|
2560
2566
|
}
|
|
2561
|
-
}),
|
|
2567
|
+
}), y = [
|
|
2562
2568
|
{ label: "", value: 2025 },
|
|
2563
2569
|
{ label: "", value: 2032 },
|
|
2564
2570
|
{ label: "", value: 2041 },
|
|
@@ -2579,7 +2585,7 @@ const N0 = Xt({
|
|
|
2579
2585
|
value: a,
|
|
2580
2586
|
valueLabelDisplay: "on",
|
|
2581
2587
|
step: 1,
|
|
2582
|
-
marks:
|
|
2588
|
+
marks: y,
|
|
2583
2589
|
min: s,
|
|
2584
2590
|
max: o,
|
|
2585
2591
|
onChange: u,
|
|
@@ -2588,8 +2594,8 @@ const N0 = Xt({
|
|
|
2588
2594
|
}
|
|
2589
2595
|
),
|
|
2590
2596
|
o,
|
|
2591
|
-
!
|
|
2592
|
-
|
|
2597
|
+
!h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src: k0, alt: "Play" }) }),
|
|
2598
|
+
h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: C, children: /* @__PURE__ */ i("img", { src: S0, alt: "Pause" }) })
|
|
2593
2599
|
]
|
|
2594
2600
|
}
|
|
2595
2601
|
) });
|
|
@@ -2616,7 +2622,7 @@ const D0 = "_TopNavMenuContainer_12mp4_2", V0 = "_topNavOptions_12mp4_13", F0 =
|
|
|
2616
2622
|
console.log("Changed NavLink", r);
|
|
2617
2623
|
}
|
|
2618
2624
|
}) => {
|
|
2619
|
-
const { t: r } =
|
|
2625
|
+
const { t: r } = $();
|
|
2620
2626
|
return /* @__PURE__ */ i("div", { className: Oe.TopNavMenuContainer, style: { ...d }, children: n.map((l, a) => /* @__PURE__ */ i(
|
|
2621
2627
|
i2,
|
|
2622
2628
|
{
|
|
@@ -2658,7 +2664,7 @@ const I0 = "_LogInButton_1vxj5_2", O0 = {
|
|
|
2658
2664
|
console.log("Logout clicked");
|
|
2659
2665
|
}
|
|
2660
2666
|
}) => {
|
|
2661
|
-
const { t: c } =
|
|
2667
|
+
const { t: c } = $();
|
|
2662
2668
|
return /* @__PURE__ */ i(
|
|
2663
2669
|
"div",
|
|
2664
2670
|
{
|
|
@@ -2686,7 +2692,7 @@ const q0 = "_elementSelector_1ox68_2", E0 = "_header_1ox68_14", P0 = "_nameDateC
|
|
|
2686
2692
|
buttonsContainer: z0,
|
|
2687
2693
|
elementListContainer: H0,
|
|
2688
2694
|
newElementButtonContainer: K0
|
|
2689
|
-
}, U0 = "_listElement_1evjl_2", W0 = "_elementNameDate_1evjl_18", G0 = "_elementNameContainer_1evjl_28", Y0 = "_elementName_1evjl_18", Q0 = "_elementDate_1evjl_43", X0 = "_elementButtons_1evjl_46", J0 = "_moreInfoContainer_1evjl_69", ei = "_moreInfo_1evjl_69",
|
|
2695
|
+
}, U0 = "_listElement_1evjl_2", W0 = "_elementNameDate_1evjl_18", G0 = "_elementNameContainer_1evjl_28", Y0 = "_elementName_1evjl_18", Q0 = "_elementDate_1evjl_43", X0 = "_elementButtons_1evjl_46", J0 = "_moreInfoContainer_1evjl_69", ei = "_moreInfo_1evjl_69", K = {
|
|
2690
2696
|
listElement: U0,
|
|
2691
2697
|
elementNameDate: W0,
|
|
2692
2698
|
elementNameContainer: G0,
|
|
@@ -2732,17 +2738,17 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2732
2738
|
elementButtons: a,
|
|
2733
2739
|
processTooltip: c,
|
|
2734
2740
|
defaultTooltip: u,
|
|
2735
|
-
showEye:
|
|
2741
|
+
showEye: h = !0
|
|
2736
2742
|
}) => {
|
|
2737
|
-
const { name:
|
|
2743
|
+
const { name: m, created_at: b, id: C, isBeingProcessed: _ } = n, [v, y] = F(!1), { t: g } = $();
|
|
2738
2744
|
return /* @__PURE__ */ p(
|
|
2739
2745
|
"div",
|
|
2740
2746
|
{
|
|
2741
|
-
className:
|
|
2747
|
+
className: K.listElement,
|
|
2742
2748
|
style: { borderBottom: `1px solid ${t}` },
|
|
2743
2749
|
children: [
|
|
2744
|
-
/* @__PURE__ */ i("div", { className:
|
|
2745
|
-
|
|
2750
|
+
/* @__PURE__ */ i("div", { className: K.elementNameDate, onClick: () => d(C), children: Object.keys(l).map((f) => f === "name" ? /* @__PURE__ */ i("div", { className: K.elementNameContainer, children: /* @__PURE__ */ p("div", { className: K.elementName, children: [
|
|
2751
|
+
h && (s ? /* @__PURE__ */ i(ri, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2746
2752
|
"img",
|
|
2747
2753
|
{
|
|
2748
2754
|
style: { marginRight: 9 },
|
|
@@ -2750,9 +2756,9 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2750
2756
|
alt: "eye"
|
|
2751
2757
|
}
|
|
2752
2758
|
)),
|
|
2753
|
-
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children:
|
|
2754
|
-
] }) }) :
|
|
2755
|
-
/* @__PURE__ */ p("div", { className:
|
|
2759
|
+
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: m })
|
|
2760
|
+
] }) }) : f == "data" ? /* @__PURE__ */ i("div", { className: K.elementDate, children: b ? new Date(b).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: K.elementDate, children: n[f] })) }),
|
|
2761
|
+
/* @__PURE__ */ p("div", { className: K.elementButtons, children: [
|
|
2756
2762
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2757
2763
|
/* @__PURE__ */ i("img", { src: si }),
|
|
2758
2764
|
/* @__PURE__ */ i(oe, { text: c, position: "left" })
|
|
@@ -2774,13 +2780,13 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2774
2780
|
/* @__PURE__ */ i(oe, { text: u, position: "left" })
|
|
2775
2781
|
] })
|
|
2776
2782
|
] }),
|
|
2777
|
-
r && /* @__PURE__ */ i("div", { className:
|
|
2778
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2779
|
-
/* @__PURE__ */ p("div", { className:
|
|
2783
|
+
r && /* @__PURE__ */ i("div", { className: K.break }),
|
|
2784
|
+
r && /* @__PURE__ */ p("div", { className: K.moreInfoContainer, children: [
|
|
2785
|
+
/* @__PURE__ */ p("div", { className: K.moreInfo, onClick: () => y(!v), children: [
|
|
2780
2786
|
/* @__PURE__ */ i("span", { children: v ? "-" : "+" }),
|
|
2781
2787
|
g(r.label)
|
|
2782
2788
|
] }),
|
|
2783
|
-
r && v && /* @__PURE__ */ i("div", { className:
|
|
2789
|
+
r && v && /* @__PURE__ */ i("div", { className: K.moreInfoInfo, children: n[r.info] })
|
|
2784
2790
|
] })
|
|
2785
2791
|
]
|
|
2786
2792
|
}
|
|
@@ -2836,22 +2842,22 @@ const lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2836
2842
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2837
2843
|
elementButtons: u,
|
|
2838
2844
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2839
|
-
moreInfo:
|
|
2845
|
+
moreInfo: h = !1,
|
|
2840
2846
|
//{label: 'x'}
|
|
2841
|
-
processTooltip:
|
|
2847
|
+
processTooltip: m,
|
|
2842
2848
|
//texto para el tooltip del simbolo "En proceso"
|
|
2843
2849
|
defaultTooltip: b,
|
|
2844
2850
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2845
2851
|
showEye: C = !0
|
|
2846
2852
|
}) => {
|
|
2847
|
-
const { t: _ } =
|
|
2853
|
+
const { t: _ } = $(), [v, y] = F(n);
|
|
2848
2854
|
V(() => {
|
|
2849
|
-
n &&
|
|
2855
|
+
n && y(n);
|
|
2850
2856
|
}, [n]);
|
|
2851
|
-
const g = (
|
|
2857
|
+
const g = (f) => {
|
|
2852
2858
|
if (v && v.length > 0) {
|
|
2853
2859
|
let k = [...v];
|
|
2854
|
-
k.sort((w, x) => w[
|
|
2860
|
+
k.sort((w, x) => w[f].localeCompare(x[f])), y(k);
|
|
2855
2861
|
}
|
|
2856
2862
|
};
|
|
2857
2863
|
return /* @__PURE__ */ p(
|
|
@@ -2866,33 +2872,33 @@ const lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2866
2872
|
className: U.header,
|
|
2867
2873
|
style: { borderBottom: `1px solid ${s}` },
|
|
2868
2874
|
children: [
|
|
2869
|
-
/* @__PURE__ */ i("div", { className: U.nameDateContainer, children: Object.keys(c).map((
|
|
2875
|
+
/* @__PURE__ */ i("div", { className: U.nameDateContainer, children: Object.keys(c).map((f) => f === "name" ? /* @__PURE__ */ i("div", { className: U.elementName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
|
|
2870
2876
|
/* @__PURE__ */ i("span", { children: _(c.name) }),
|
|
2871
2877
|
/* @__PURE__ */ i("img", { src: lt, alt: "order arrow" })
|
|
2872
|
-
] }) },
|
|
2878
|
+
] }) }, f) : f === "data" ? /* @__PURE__ */ i("div", { className: U.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
|
|
2873
2879
|
/* @__PURE__ */ i("span", { children: _(c.data) }),
|
|
2874
2880
|
/* @__PURE__ */ i("img", { src: lt, alt: "order arrow" })
|
|
2875
|
-
] }) },
|
|
2881
|
+
] }) }, f) : /* @__PURE__ */ i("div", { className: U.elementDate, children: /* @__PURE__ */ i("span", { children: _(c[f]) }) }, f)) }),
|
|
2876
2882
|
/* @__PURE__ */ i("div", { className: U.buttonsContainer })
|
|
2877
2883
|
]
|
|
2878
2884
|
}
|
|
2879
2885
|
),
|
|
2880
|
-
/* @__PURE__ */ i("div", { className: U.elementListContainer, children: v && v.length > 0 && v.map((
|
|
2886
|
+
/* @__PURE__ */ i("div", { className: U.elementListContainer, children: v && v.length > 0 && v.map((f) => /* @__PURE__ */ i(
|
|
2881
2887
|
$t,
|
|
2882
2888
|
{
|
|
2883
|
-
isActive: d ==
|
|
2884
|
-
listelement:
|
|
2889
|
+
isActive: d == f.id,
|
|
2890
|
+
listelement: f,
|
|
2885
2891
|
fontColor: s,
|
|
2886
2892
|
activeColor: o,
|
|
2887
2893
|
onClickElement: a,
|
|
2888
2894
|
columns: c,
|
|
2889
2895
|
elementButtons: u,
|
|
2890
|
-
moreInfo:
|
|
2891
|
-
processTooltip:
|
|
2896
|
+
moreInfo: h,
|
|
2897
|
+
processTooltip: m,
|
|
2892
2898
|
defaultTooltip: b,
|
|
2893
2899
|
showEye: C
|
|
2894
2900
|
},
|
|
2895
|
-
`elementKey${
|
|
2901
|
+
`elementKey${f.id}`
|
|
2896
2902
|
)) }),
|
|
2897
2903
|
l && /* @__PURE__ */ i("div", { className: U.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2898
2904
|
Ve,
|
|
@@ -2960,7 +2966,7 @@ const ci = "_formContainer_asv64_2", di = "_categorySelectorContainer_asv64_11",
|
|
|
2960
2966
|
categorySelectorContainer: di,
|
|
2961
2967
|
formObjectContainer: ui,
|
|
2962
2968
|
buttonContainer: pi
|
|
2963
|
-
},
|
|
2969
|
+
}, be = {
|
|
2964
2970
|
text: "text",
|
|
2965
2971
|
password: "password",
|
|
2966
2972
|
radioList: "radioList",
|
|
@@ -2968,7 +2974,7 @@ const ci = "_formContainer_asv64_2", di = "_categorySelectorContainer_asv64_11",
|
|
|
2968
2974
|
};
|
|
2969
2975
|
var mi = (n) => n.type === "checkbox", hi = (n) => n instanceof Date, Bt = (n) => n == null;
|
|
2970
2976
|
const gi = (n) => typeof n == "object";
|
|
2971
|
-
var _e = (n) => !Bt(n) && !Array.isArray(n) && gi(n) && !hi(n), Ci = (n) => _e(n) && n.target ? mi(n.target) ? n.target.checked : n.target.value : n,
|
|
2977
|
+
var _e = (n) => !Bt(n) && !Array.isArray(n) && gi(n) && !hi(n), Ci = (n) => _e(n) && n.target ? mi(n.target) ? n.target.checked : n.target.value : n, bi = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, fi = (n, d) => n.has(bi(d)), yi = (n) => {
|
|
2972
2978
|
const d = n.constructor && n.constructor.prototype;
|
|
2973
2979
|
return _e(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2974
2980
|
}, _i = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
@@ -2987,7 +2993,7 @@ function Tt(n) {
|
|
|
2987
2993
|
return n;
|
|
2988
2994
|
return d;
|
|
2989
2995
|
}
|
|
2990
|
-
var Lt = (n) => /^\w*$/.test(n), He = (n) => n === void 0, vi = (n) => Array.isArray(n) ? n.filter(Boolean) : [], Mt = (n) => vi(n.replace(/["|']|\]/g, "").split(/\.|\[/)),
|
|
2996
|
+
var Lt = (n) => /^\w*$/.test(n), He = (n) => n === void 0, vi = (n) => Array.isArray(n) ? n.filter(Boolean) : [], Mt = (n) => vi(n.replace(/["|']|\]/g, "").split(/\.|\[/)), E = (n, d, s) => {
|
|
2991
2997
|
if (!d || !_e(n))
|
|
2992
2998
|
return s;
|
|
2993
2999
|
const o = (Lt(d) ? [d] : Mt(d)).reduce((t, r) => Bt(t) ? t : t[r], n);
|
|
@@ -3054,7 +3060,7 @@ function xi(n) {
|
|
|
3054
3060
|
c.current.isValid && s._setValid(!0);
|
|
3055
3061
|
}, [s]), D.useMemo(() => wi(l, s, c.current, !1), [l, s]);
|
|
3056
3062
|
}
|
|
3057
|
-
var Ni = (n) => typeof n == "string", ki = (n, d, s, o, t) => Ni(n) ?
|
|
3063
|
+
var Ni = (n) => typeof n == "string", ki = (n, d, s, o, t) => Ni(n) ? E(s, n, t) : Array.isArray(n) ? n.map((r) => E(s, r)) : s;
|
|
3058
3064
|
function Si(n) {
|
|
3059
3065
|
const d = Ye(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: l } = n || {}, a = D.useRef(t), [c, u] = D.useState(s._getWatch(o, a.current));
|
|
3060
3066
|
return Vt(() => s._subscribe({
|
|
@@ -3063,63 +3069,63 @@ function Si(n) {
|
|
|
3063
3069
|
values: !0
|
|
3064
3070
|
},
|
|
3065
3071
|
exact: l,
|
|
3066
|
-
callback: (
|
|
3072
|
+
callback: (h) => !r && u(ki(o, s._names, h.values || s._formValues, !1, a.current))
|
|
3067
3073
|
}), [o, s, r, l]), D.useEffect(() => s._removeUnmounted()), c;
|
|
3068
3074
|
}
|
|
3069
3075
|
function $i(n) {
|
|
3070
|
-
const d = Ye(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, l =
|
|
3076
|
+
const d = Ye(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, l = fi(t._names.array, s), a = Si({
|
|
3071
3077
|
control: t,
|
|
3072
3078
|
name: s,
|
|
3073
|
-
defaultValue:
|
|
3079
|
+
defaultValue: E(t._formValues, s, E(t._defaultValues, s, n.defaultValue)),
|
|
3074
3080
|
exact: !0
|
|
3075
3081
|
}), c = xi({
|
|
3076
3082
|
control: t,
|
|
3077
3083
|
name: s,
|
|
3078
3084
|
exact: !0
|
|
3079
|
-
}), u = D.useRef(n),
|
|
3085
|
+
}), u = D.useRef(n), h = D.useRef(t.register(s, {
|
|
3080
3086
|
...n.rules,
|
|
3081
3087
|
value: a,
|
|
3082
3088
|
...Re(n.disabled) ? { disabled: n.disabled } : {}
|
|
3083
|
-
})),
|
|
3089
|
+
})), m = D.useMemo(() => Object.defineProperties({}, {
|
|
3084
3090
|
invalid: {
|
|
3085
3091
|
enumerable: !0,
|
|
3086
|
-
get: () => !!
|
|
3092
|
+
get: () => !!E(c.errors, s)
|
|
3087
3093
|
},
|
|
3088
3094
|
isDirty: {
|
|
3089
3095
|
enumerable: !0,
|
|
3090
|
-
get: () => !!
|
|
3096
|
+
get: () => !!E(c.dirtyFields, s)
|
|
3091
3097
|
},
|
|
3092
3098
|
isTouched: {
|
|
3093
3099
|
enumerable: !0,
|
|
3094
|
-
get: () => !!
|
|
3100
|
+
get: () => !!E(c.touchedFields, s)
|
|
3095
3101
|
},
|
|
3096
3102
|
isValidating: {
|
|
3097
3103
|
enumerable: !0,
|
|
3098
|
-
get: () => !!
|
|
3104
|
+
get: () => !!E(c.validatingFields, s)
|
|
3099
3105
|
},
|
|
3100
3106
|
error: {
|
|
3101
3107
|
enumerable: !0,
|
|
3102
|
-
get: () =>
|
|
3108
|
+
get: () => E(c.errors, s)
|
|
3103
3109
|
}
|
|
3104
|
-
}), [c, s]), b = D.useCallback((
|
|
3110
|
+
}), [c, s]), b = D.useCallback((y) => h.current.onChange({
|
|
3105
3111
|
target: {
|
|
3106
|
-
value: Ci(
|
|
3112
|
+
value: Ci(y),
|
|
3107
3113
|
name: s
|
|
3108
3114
|
},
|
|
3109
3115
|
type: dt.CHANGE
|
|
3110
|
-
}), [s]), C = D.useCallback(() =>
|
|
3116
|
+
}), [s]), C = D.useCallback(() => h.current.onBlur({
|
|
3111
3117
|
target: {
|
|
3112
|
-
value:
|
|
3118
|
+
value: E(t._formValues, s),
|
|
3113
3119
|
name: s
|
|
3114
3120
|
},
|
|
3115
3121
|
type: dt.BLUR
|
|
3116
|
-
}), [s, t._formValues]), _ = D.useCallback((
|
|
3117
|
-
const g =
|
|
3118
|
-
g &&
|
|
3119
|
-
focus: () =>
|
|
3120
|
-
select: () =>
|
|
3121
|
-
setCustomValidity: (
|
|
3122
|
-
reportValidity: () =>
|
|
3122
|
+
}), [s, t._formValues]), _ = D.useCallback((y) => {
|
|
3123
|
+
const g = E(t._fields, s);
|
|
3124
|
+
g && y && (g._f.ref = {
|
|
3125
|
+
focus: () => y.focus && y.focus(),
|
|
3126
|
+
select: () => y.select && y.select(),
|
|
3127
|
+
setCustomValidity: (f) => y.setCustomValidity(f),
|
|
3128
|
+
reportValidity: () => y.reportValidity()
|
|
3123
3129
|
});
|
|
3124
3130
|
}, [t._fields, s]), v = D.useMemo(() => ({
|
|
3125
3131
|
name: s,
|
|
@@ -3130,21 +3136,21 @@ function $i(n) {
|
|
|
3130
3136
|
ref: _
|
|
3131
3137
|
}), [s, o, c.disabled, b, C, _, a]);
|
|
3132
3138
|
return D.useEffect(() => {
|
|
3133
|
-
const
|
|
3139
|
+
const y = t._options.shouldUnregister || r;
|
|
3134
3140
|
t.register(s, {
|
|
3135
3141
|
...u.current.rules,
|
|
3136
3142
|
...Re(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3137
3143
|
});
|
|
3138
|
-
const g = (
|
|
3139
|
-
const w =
|
|
3144
|
+
const g = (f, k) => {
|
|
3145
|
+
const w = E(t._fields, f);
|
|
3140
3146
|
w && w._f && (w._f.mount = k);
|
|
3141
3147
|
};
|
|
3142
|
-
if (g(s, !0),
|
|
3143
|
-
const
|
|
3144
|
-
ct(t._defaultValues, s,
|
|
3148
|
+
if (g(s, !0), y) {
|
|
3149
|
+
const f = Tt(E(t._options.defaultValues, s));
|
|
3150
|
+
ct(t._defaultValues, s, f), He(E(t._formValues, s)) && ct(t._formValues, s, f);
|
|
3145
3151
|
}
|
|
3146
3152
|
return !l && t.register(s), () => {
|
|
3147
|
-
(l ?
|
|
3153
|
+
(l ? y && !t._state.action : y) ? t.unregister(s) : g(s, !1);
|
|
3148
3154
|
};
|
|
3149
3155
|
}, [s, t, l, r]), D.useEffect(() => {
|
|
3150
3156
|
t._setDisabledField({
|
|
@@ -3154,10 +3160,10 @@ function $i(n) {
|
|
|
3154
3160
|
}, [o, s, t]), D.useMemo(() => ({
|
|
3155
3161
|
field: v,
|
|
3156
3162
|
formState: c,
|
|
3157
|
-
fieldState:
|
|
3158
|
-
}), [v, c,
|
|
3163
|
+
fieldState: m
|
|
3164
|
+
}), [v, c, m]);
|
|
3159
3165
|
}
|
|
3160
|
-
const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_labelContainer_1o3iy_5", Li = "_inputContainer_1o3iy_8", Mi = "_showPasswordButton_1o3iy_14", Di = "_forgotPassButton_1o3iy_26",
|
|
3166
|
+
const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_labelContainer_1o3iy_5", Li = "_inputContainer_1o3iy_8", Mi = "_showPasswordButton_1o3iy_14", Di = "_forgotPassButton_1o3iy_26", fe = {
|
|
3161
3167
|
textInputContainer: Bi,
|
|
3162
3168
|
labelContainer: Ti,
|
|
3163
3169
|
inputContainer: Li,
|
|
@@ -3170,7 +3176,7 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3170
3176
|
errorColor: d = "red",
|
|
3171
3177
|
containerStyles: s
|
|
3172
3178
|
}) => {
|
|
3173
|
-
const { t: o } =
|
|
3179
|
+
const { t: o } = $();
|
|
3174
3180
|
return /* @__PURE__ */ i(
|
|
3175
3181
|
"div",
|
|
3176
3182
|
{
|
|
@@ -3191,14 +3197,14 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3191
3197
|
validateFunction: a,
|
|
3192
3198
|
placeholder: c,
|
|
3193
3199
|
errorColor: u = "red",
|
|
3194
|
-
width:
|
|
3195
|
-
onClickForgotPass:
|
|
3200
|
+
width: h = 325,
|
|
3201
|
+
onClickForgotPass: m = () => {
|
|
3196
3202
|
console.log("Click on forgot password");
|
|
3197
3203
|
},
|
|
3198
3204
|
forgotPassLabel: b = "forgot-password"
|
|
3199
|
-
} = n, { t: C } =
|
|
3205
|
+
} = n, { t: C } = $(), { control: _, trigger: v, clearErrors: y } = d, { errorColor: g } = xe((x) => x), [f, k] = F(!1);
|
|
3200
3206
|
re(l);
|
|
3201
|
-
const w = () => o ? o === "password" &&
|
|
3207
|
+
const w = () => o ? o === "password" && f ? "text" : o : "text";
|
|
3202
3208
|
return /* @__PURE__ */ i(
|
|
3203
3209
|
ve,
|
|
3204
3210
|
{
|
|
@@ -3210,9 +3216,9 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3210
3216
|
validate: a || void 0
|
|
3211
3217
|
},
|
|
3212
3218
|
render: ({ field: x, fieldState: S }) => {
|
|
3213
|
-
var
|
|
3214
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3215
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3219
|
+
var B;
|
|
3220
|
+
return /* @__PURE__ */ p("div", { className: fe.textInputContainer, children: [
|
|
3221
|
+
/* @__PURE__ */ p("h3", { className: fe.labelContainer, children: [
|
|
3216
3222
|
C(t),
|
|
3217
3223
|
" ",
|
|
3218
3224
|
l && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
@@ -3220,8 +3226,8 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3220
3226
|
/* @__PURE__ */ p(
|
|
3221
3227
|
"div",
|
|
3222
3228
|
{
|
|
3223
|
-
style: { position: "relative", width:
|
|
3224
|
-
className:
|
|
3229
|
+
style: { position: "relative", width: h },
|
|
3230
|
+
className: fe.inputContainer,
|
|
3225
3231
|
children: [
|
|
3226
3232
|
/* @__PURE__ */ i(
|
|
3227
3233
|
"input",
|
|
@@ -3235,20 +3241,20 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3235
3241
|
o == "password" && /* @__PURE__ */ i(
|
|
3236
3242
|
"button",
|
|
3237
3243
|
{
|
|
3238
|
-
onClick: () => k(!
|
|
3244
|
+
onClick: () => k(!f),
|
|
3239
3245
|
type: "button",
|
|
3240
|
-
className:
|
|
3241
|
-
children:
|
|
3246
|
+
className: fe.showPasswordButton,
|
|
3247
|
+
children: f ? "🙈" : "👁️"
|
|
3242
3248
|
}
|
|
3243
3249
|
)
|
|
3244
3250
|
]
|
|
3245
3251
|
}
|
|
3246
3252
|
),
|
|
3247
|
-
o == "password" && /* @__PURE__ */ i("div", { className:
|
|
3253
|
+
o == "password" && /* @__PURE__ */ i("div", { className: fe.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: m, children: C(b) }) }),
|
|
3248
3254
|
/* @__PURE__ */ i(
|
|
3249
3255
|
we,
|
|
3250
3256
|
{
|
|
3251
|
-
errorMessage: (
|
|
3257
|
+
errorMessage: (B = S.error) == null ? void 0 : B.message,
|
|
3252
3258
|
errorColor: g || u
|
|
3253
3259
|
}
|
|
3254
3260
|
)
|
|
@@ -3274,16 +3280,16 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3274
3280
|
required: a,
|
|
3275
3281
|
validateFunction: c,
|
|
3276
3282
|
placeholder: u,
|
|
3277
|
-
errorColor:
|
|
3278
|
-
width:
|
|
3283
|
+
errorColor: h = "red",
|
|
3284
|
+
width: m = 325,
|
|
3279
3285
|
options: b = []
|
|
3280
3286
|
//Used if we dont use react hook form
|
|
3281
|
-
} = n, { t: C } =
|
|
3287
|
+
} = n, { t: C } = $(), { control: _, trigger: v, clearErrors: y } = d || {}, { errorColor: g } = xe((w) => w);
|
|
3282
3288
|
re(a);
|
|
3283
|
-
const [
|
|
3289
|
+
const [f, k] = F(null);
|
|
3284
3290
|
return V(() => {
|
|
3285
|
-
|
|
3286
|
-
}, [
|
|
3291
|
+
f && s && s(f);
|
|
3292
|
+
}, [f, s]), d ? /* @__PURE__ */ i(
|
|
3287
3293
|
ve,
|
|
3288
3294
|
{
|
|
3289
3295
|
name: o,
|
|
@@ -3298,29 +3304,29 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3298
3304
|
render: ({ field: w, fieldState: x }) => {
|
|
3299
3305
|
var S;
|
|
3300
3306
|
return /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3301
|
-
/* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3307
|
+
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3302
3308
|
C(r),
|
|
3303
3309
|
" ",
|
|
3304
|
-
a && /* @__PURE__ */ i("label", { style: { color: x.error ?
|
|
3310
|
+
a && /* @__PURE__ */ i("label", { style: { color: x.error ? h : "" }, children: "*" })
|
|
3305
3311
|
] }),
|
|
3306
|
-
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width:
|
|
3312
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: m }, children: [
|
|
3307
3313
|
/* @__PURE__ */ p(
|
|
3308
3314
|
"select",
|
|
3309
3315
|
{
|
|
3310
3316
|
...w,
|
|
3311
|
-
onChange: (
|
|
3312
|
-
const N =
|
|
3313
|
-
w.onChange(
|
|
3317
|
+
onChange: (B) => {
|
|
3318
|
+
const N = B.target.value, T = b.every((A) => typeof A.value == "number") ? Number(N) : N;
|
|
3319
|
+
w.onChange(T);
|
|
3314
3320
|
},
|
|
3315
3321
|
className: z.selectInput,
|
|
3316
3322
|
children: [
|
|
3317
3323
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: C(u || "selectOption") }),
|
|
3318
|
-
b.map((
|
|
3324
|
+
b.map((B, N) => /* @__PURE__ */ i(
|
|
3319
3325
|
"option",
|
|
3320
3326
|
{
|
|
3321
|
-
value:
|
|
3327
|
+
value: B.value,
|
|
3322
3328
|
className: z.option,
|
|
3323
|
-
children: C(
|
|
3329
|
+
children: C(B.label)
|
|
3324
3330
|
},
|
|
3325
3331
|
N
|
|
3326
3332
|
))
|
|
@@ -3340,25 +3346,25 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3340
3346
|
we,
|
|
3341
3347
|
{
|
|
3342
3348
|
errorMessage: (S = x.error) == null ? void 0 : S.message,
|
|
3343
|
-
errorColor: g ||
|
|
3349
|
+
errorColor: g || h
|
|
3344
3350
|
}
|
|
3345
3351
|
)
|
|
3346
3352
|
] });
|
|
3347
3353
|
}
|
|
3348
3354
|
}
|
|
3349
3355
|
) : /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3350
|
-
/* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3356
|
+
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3351
3357
|
C(r),
|
|
3352
3358
|
" ",
|
|
3353
3359
|
a && /* @__PURE__ */ i("label", { children: "*" })
|
|
3354
3360
|
] }),
|
|
3355
|
-
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width:
|
|
3361
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: m }, children: [
|
|
3356
3362
|
/* @__PURE__ */ p(
|
|
3357
3363
|
"select",
|
|
3358
3364
|
{
|
|
3359
|
-
value:
|
|
3365
|
+
value: f || "",
|
|
3360
3366
|
onChange: (w) => {
|
|
3361
|
-
const x = w.target.value, S = b.every((
|
|
3367
|
+
const x = w.target.value, S = b.every((B) => typeof B.value == "number") ? Number(x) : x;
|
|
3362
3368
|
k(S);
|
|
3363
3369
|
},
|
|
3364
3370
|
className: z.selectInput,
|
|
@@ -3395,25 +3401,25 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3395
3401
|
errorColor: l = "red",
|
|
3396
3402
|
options: a = [],
|
|
3397
3403
|
multi: c = !1
|
|
3398
|
-
} = n, { t: u } =
|
|
3399
|
-
if (c &&
|
|
3400
|
-
let k =
|
|
3404
|
+
} = n, { t: u } = $(), { control: h, trigger: m, clearErrors: b } = d, { errorColor: C } = xe((y) => y), _ = ({ options: y, onChange: g, actualValue: f }) => {
|
|
3405
|
+
if (c && f && f.length > 0) {
|
|
3406
|
+
let k = f.filter((w) => w !== y);
|
|
3401
3407
|
g(k);
|
|
3402
3408
|
}
|
|
3403
|
-
}, v = ({ options:
|
|
3404
|
-
c ?
|
|
3409
|
+
}, v = ({ options: y, onChange: g, actualValue: f }) => {
|
|
3410
|
+
c ? f && f.length > 0 ? g([...f, y]) : g([y]) : g(y);
|
|
3405
3411
|
};
|
|
3406
3412
|
return re(t), /* @__PURE__ */ i(
|
|
3407
3413
|
ve,
|
|
3408
3414
|
{
|
|
3409
|
-
control:
|
|
3415
|
+
control: h,
|
|
3410
3416
|
name: s,
|
|
3411
3417
|
rules: {
|
|
3412
|
-
validate: (
|
|
3418
|
+
validate: (y) => t && (y == null || y === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3413
3419
|
},
|
|
3414
3420
|
render: ({
|
|
3415
|
-
formState: { errors:
|
|
3416
|
-
field: { onChange: g, onBlur:
|
|
3421
|
+
formState: { errors: y },
|
|
3422
|
+
field: { onChange: g, onBlur: f, value: k, ref: w },
|
|
3417
3423
|
fieldState: x
|
|
3418
3424
|
}) => {
|
|
3419
3425
|
var S;
|
|
@@ -3439,20 +3445,20 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3439
3445
|
/* @__PURE__ */ p("div", { className: ie.inputContainer, children: [
|
|
3440
3446
|
a.map(
|
|
3441
3447
|
({
|
|
3442
|
-
label:
|
|
3448
|
+
label: B,
|
|
3443
3449
|
value: N,
|
|
3444
|
-
disabled:
|
|
3450
|
+
disabled: T = !1,
|
|
3445
3451
|
italicLabel: A
|
|
3446
|
-
},
|
|
3447
|
-
const
|
|
3452
|
+
}, H) => {
|
|
3453
|
+
const L = k && c ? k.isArray && (k == null ? void 0 : k.length) > 0 && k.some((j) => j === N) : k === N;
|
|
3448
3454
|
return /* @__PURE__ */ p("label", { children: [
|
|
3449
3455
|
/* @__PURE__ */ i(
|
|
3450
3456
|
"input",
|
|
3451
3457
|
{
|
|
3452
3458
|
type: "radio",
|
|
3453
|
-
checked:
|
|
3459
|
+
checked: L,
|
|
3454
3460
|
onChange: () => {
|
|
3455
|
-
c ?
|
|
3461
|
+
c ? L ? _({
|
|
3456
3462
|
actualValue: k,
|
|
3457
3463
|
options: a,
|
|
3458
3464
|
onChange: g
|
|
@@ -3466,8 +3472,8 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3466
3472
|
}
|
|
3467
3473
|
),
|
|
3468
3474
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3469
|
-
u(
|
|
3470
|
-
] }, `inputRadio ${
|
|
3475
|
+
u(B)
|
|
3476
|
+
] }, `inputRadio ${H}`);
|
|
3471
3477
|
}
|
|
3472
3478
|
),
|
|
3473
3479
|
/* @__PURE__ */ i(
|
|
@@ -3501,20 +3507,20 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3501
3507
|
thumbColor: c = "#B32F5D",
|
|
3502
3508
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3503
3509
|
required: u,
|
|
3504
|
-
errorColor:
|
|
3505
|
-
labelWidth:
|
|
3510
|
+
errorColor: h = "red",
|
|
3511
|
+
labelWidth: m = "300px",
|
|
3506
3512
|
sliderWidth: b = "300px",
|
|
3507
3513
|
minText: C,
|
|
3508
3514
|
maxText: _,
|
|
3509
3515
|
disabled: v = !1,
|
|
3510
|
-
marks:
|
|
3516
|
+
marks: y = Array.from(
|
|
3511
3517
|
{ length: l - r + 1 },
|
|
3512
|
-
(
|
|
3518
|
+
(T, A) => r + A
|
|
3513
3519
|
),
|
|
3514
3520
|
showMarksNumber: g = !0
|
|
3515
|
-
} = n, { t:
|
|
3521
|
+
} = n, { t: f } = $(), { control: k, trigger: w, clearErrors: x } = d || {};
|
|
3516
3522
|
re(u);
|
|
3517
|
-
const { errorColorForm: S } = xe((
|
|
3523
|
+
const { errorColorForm: S } = xe((T) => T), [B, N] = F(a);
|
|
3518
3524
|
return d ? /* @__PURE__ */ i(
|
|
3519
3525
|
ve,
|
|
3520
3526
|
{
|
|
@@ -3522,21 +3528,21 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3522
3528
|
control: k,
|
|
3523
3529
|
defaultValue: a,
|
|
3524
3530
|
rules: {
|
|
3525
|
-
required: u ? `${
|
|
3531
|
+
required: u ? `${f(t)} ${f("errorMessages.required")}` : !1
|
|
3526
3532
|
},
|
|
3527
|
-
render: ({ field:
|
|
3528
|
-
var
|
|
3533
|
+
render: ({ field: T, fieldState: A }) => {
|
|
3534
|
+
var H;
|
|
3529
3535
|
return /* @__PURE__ */ p(
|
|
3530
3536
|
"div",
|
|
3531
3537
|
{
|
|
3532
3538
|
className: I.rankingSliderContainer,
|
|
3533
3539
|
style: {
|
|
3534
|
-
gridTemplateColumns: `${t &&
|
|
3540
|
+
gridTemplateColumns: `${t && m} ${b}`
|
|
3535
3541
|
},
|
|
3536
3542
|
children: [
|
|
3537
|
-
t && /* @__PURE__ */ i("p", { className: I.labelContainer, children:
|
|
3543
|
+
t && /* @__PURE__ */ i("p", { className: I.labelContainer, children: f(t) }),
|
|
3538
3544
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3539
|
-
C && /* @__PURE__ */ i("div", { className: I.minLabel, children:
|
|
3545
|
+
C && /* @__PURE__ */ i("div", { className: I.minLabel, children: f(C) }),
|
|
3540
3546
|
/* @__PURE__ */ p("div", { children: [
|
|
3541
3547
|
/* @__PURE__ */ i(
|
|
3542
3548
|
Ze,
|
|
@@ -3544,16 +3550,16 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3544
3550
|
min: r,
|
|
3545
3551
|
max: l,
|
|
3546
3552
|
step: 1,
|
|
3547
|
-
value:
|
|
3548
|
-
onChange: (
|
|
3553
|
+
value: T.value ?? a,
|
|
3554
|
+
onChange: (L) => T.onChange(L),
|
|
3549
3555
|
marks: !0,
|
|
3550
3556
|
className: I.slider,
|
|
3551
3557
|
thumbClassName: I.thumb,
|
|
3552
|
-
renderThumb: (
|
|
3558
|
+
renderThumb: (L) => /* @__PURE__ */ i(
|
|
3553
3559
|
"div",
|
|
3554
3560
|
{
|
|
3555
|
-
...
|
|
3556
|
-
style: { ...
|
|
3561
|
+
...L,
|
|
3562
|
+
style: { ...L.style, backgroundColor: c }
|
|
3557
3563
|
}
|
|
3558
3564
|
),
|
|
3559
3565
|
trackClassName: I.track,
|
|
@@ -3561,15 +3567,15 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3561
3567
|
disabled: v
|
|
3562
3568
|
}
|
|
3563
3569
|
),
|
|
3564
|
-
|
|
3570
|
+
y && /* @__PURE__ */ i("div", { className: I.labels, children: y.map((L) => /* @__PURE__ */ i("span", { children: g && L }, L)) })
|
|
3565
3571
|
] }),
|
|
3566
|
-
_ && /* @__PURE__ */ i("div", { className: I.maxLabel, children:
|
|
3572
|
+
_ && /* @__PURE__ */ i("div", { className: I.maxLabel, children: f(_) })
|
|
3567
3573
|
] }),
|
|
3568
3574
|
/* @__PURE__ */ i(
|
|
3569
3575
|
we,
|
|
3570
3576
|
{
|
|
3571
|
-
errorMessage: (
|
|
3572
|
-
errorColor: S ||
|
|
3577
|
+
errorMessage: (H = A.error) == null ? void 0 : H.message,
|
|
3578
|
+
errorColor: S || h
|
|
3573
3579
|
}
|
|
3574
3580
|
)
|
|
3575
3581
|
]
|
|
@@ -3581,11 +3587,11 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3581
3587
|
"div",
|
|
3582
3588
|
{
|
|
3583
3589
|
className: I.rankingSliderContainer,
|
|
3584
|
-
style: { gridTemplateColumns: `${t &&
|
|
3590
|
+
style: { gridTemplateColumns: `${t && m} ${b}` },
|
|
3585
3591
|
children: [
|
|
3586
|
-
t && /* @__PURE__ */ i("p", { className: I.labelContainer, children:
|
|
3592
|
+
t && /* @__PURE__ */ i("p", { className: I.labelContainer, children: f(t) }),
|
|
3587
3593
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3588
|
-
C && /* @__PURE__ */ i("div", { className: I.minLabel, children:
|
|
3594
|
+
C && /* @__PURE__ */ i("div", { className: I.minLabel, children: f(C) }),
|
|
3589
3595
|
/* @__PURE__ */ p("div", { children: [
|
|
3590
3596
|
/* @__PURE__ */ i(
|
|
3591
3597
|
Ze,
|
|
@@ -3593,18 +3599,18 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3593
3599
|
min: r,
|
|
3594
3600
|
max: l,
|
|
3595
3601
|
step: 1,
|
|
3596
|
-
value:
|
|
3597
|
-
onChange: (
|
|
3598
|
-
N(
|
|
3602
|
+
value: B,
|
|
3603
|
+
onChange: (T) => {
|
|
3604
|
+
N(T), s && s(T);
|
|
3599
3605
|
},
|
|
3600
3606
|
marks: !0,
|
|
3601
3607
|
className: I.slider,
|
|
3602
3608
|
thumbClassName: I.thumb,
|
|
3603
|
-
renderThumb: (
|
|
3609
|
+
renderThumb: (T) => /* @__PURE__ */ i(
|
|
3604
3610
|
"div",
|
|
3605
3611
|
{
|
|
3606
|
-
|
|
3607
|
-
style: {
|
|
3612
|
+
...T,
|
|
3613
|
+
style: { ...T.style, backgroundColor: c }
|
|
3608
3614
|
}
|
|
3609
3615
|
),
|
|
3610
3616
|
trackClassName: I.track,
|
|
@@ -3612,9 +3618,9 @@ const ve = (n) => n.render($i(n)), Bi = "_textInputContainer_1o3iy_2", Ti = "_la
|
|
|
3612
3618
|
disabled: v
|
|
3613
3619
|
}
|
|
3614
3620
|
),
|
|
3615
|
-
|
|
3621
|
+
y && /* @__PURE__ */ i("div", { className: I.labels, children: y.map((T) => /* @__PURE__ */ i("span", { children: g && T }, T)) })
|
|
3616
3622
|
] }),
|
|
3617
|
-
_ && /* @__PURE__ */ i("div", { className: I.maxLabel, children:
|
|
3623
|
+
_ && /* @__PURE__ */ i("div", { className: I.maxLabel, children: f(_) })
|
|
3618
3624
|
] })
|
|
3619
3625
|
]
|
|
3620
3626
|
}
|
|
@@ -3654,7 +3660,7 @@ const ye = ({
|
|
|
3654
3660
|
return /* @__PURE__ */ i("div", { className: de.inputsContainer, children: r == null ? void 0 : r.map((l, a) => {
|
|
3655
3661
|
const { inputType: c } = l;
|
|
3656
3662
|
switch (c) {
|
|
3657
|
-
case
|
|
3663
|
+
case be.text:
|
|
3658
3664
|
return /* @__PURE__ */ i(
|
|
3659
3665
|
"div",
|
|
3660
3666
|
{
|
|
@@ -3670,7 +3676,7 @@ const ye = ({
|
|
|
3670
3676
|
},
|
|
3671
3677
|
`${l.code}${a}`
|
|
3672
3678
|
);
|
|
3673
|
-
case
|
|
3679
|
+
case be.password:
|
|
3674
3680
|
return /* @__PURE__ */ i(
|
|
3675
3681
|
"div",
|
|
3676
3682
|
{
|
|
@@ -3686,7 +3692,7 @@ const ye = ({
|
|
|
3686
3692
|
},
|
|
3687
3693
|
`${l.code}${a}`
|
|
3688
3694
|
);
|
|
3689
|
-
case
|
|
3695
|
+
case be.select:
|
|
3690
3696
|
return /* @__PURE__ */ i(
|
|
3691
3697
|
"div",
|
|
3692
3698
|
{
|
|
@@ -3702,7 +3708,7 @@ const ye = ({
|
|
|
3702
3708
|
},
|
|
3703
3709
|
`${l.code}${a}`
|
|
3704
3710
|
);
|
|
3705
|
-
case
|
|
3711
|
+
case be.radioList:
|
|
3706
3712
|
return /* @__PURE__ */ i(
|
|
3707
3713
|
"div",
|
|
3708
3714
|
{
|
|
@@ -3718,7 +3724,7 @@ const ye = ({
|
|
|
3718
3724
|
},
|
|
3719
3725
|
`${l.code}${a}`
|
|
3720
3726
|
);
|
|
3721
|
-
case
|
|
3727
|
+
case be.rankingSlider:
|
|
3722
3728
|
return /* @__PURE__ */ i(
|
|
3723
3729
|
"div",
|
|
3724
3730
|
{
|
|
@@ -3738,7 +3744,7 @@ const ye = ({
|
|
|
3738
3744
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${l.code}${a}`);
|
|
3739
3745
|
}
|
|
3740
3746
|
}) });
|
|
3741
|
-
}, ss = "
|
|
3747
|
+
}, ss = "_categorySelector_1t164_2", os = "_sectionItemActive_1t164_16", rs = "_sectionItem_1t164_16", Te = {
|
|
3742
3748
|
categorySelector: ss,
|
|
3743
3749
|
sectionItemActive: os,
|
|
3744
3750
|
sectionItem: rs
|
|
@@ -3746,32 +3752,40 @@ const ye = ({
|
|
|
3746
3752
|
categories: n,
|
|
3747
3753
|
onChange: d,
|
|
3748
3754
|
activeCategory: s,
|
|
3749
|
-
activeColor: o
|
|
3755
|
+
activeColor: o,
|
|
3756
|
+
containerStyles: t = {}
|
|
3750
3757
|
}) => {
|
|
3751
|
-
const { t } =
|
|
3752
|
-
d(
|
|
3758
|
+
const { t: r } = $(), l = (a) => {
|
|
3759
|
+
d(a);
|
|
3753
3760
|
};
|
|
3754
|
-
return /* @__PURE__ */ i(
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
{
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
children: /* @__PURE__ */ i(
|
|
3764
|
-
"span",
|
|
3761
|
+
return /* @__PURE__ */ i(
|
|
3762
|
+
"div",
|
|
3763
|
+
{
|
|
3764
|
+
className: Te.categorySelector,
|
|
3765
|
+
style: t ? { ...t } : {},
|
|
3766
|
+
children: n.map((a, c) => {
|
|
3767
|
+
const { id: u, label: h } = a, m = s == u;
|
|
3768
|
+
return /* @__PURE__ */ i(
|
|
3769
|
+
"button",
|
|
3765
3770
|
{
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3771
|
+
className: `${Te.sectionItem} ${m ? Te.sectionItemActive : ""}`,
|
|
3772
|
+
type: "button",
|
|
3773
|
+
style: { backgroundColor: m ? o : "inherit" },
|
|
3774
|
+
onClick: () => l(u),
|
|
3775
|
+
children: /* @__PURE__ */ i(
|
|
3776
|
+
"span",
|
|
3777
|
+
{
|
|
3778
|
+
style: { color: m ? "white" : "inherit" },
|
|
3779
|
+
className: Te.sectionLabel,
|
|
3780
|
+
children: r(h)
|
|
3781
|
+
}
|
|
3782
|
+
)
|
|
3783
|
+
},
|
|
3784
|
+
`keySection${c}`
|
|
3785
|
+
);
|
|
3786
|
+
})
|
|
3787
|
+
}
|
|
3788
|
+
);
|
|
3775
3789
|
}, No = ({
|
|
3776
3790
|
reactHookFormInstance: n,
|
|
3777
3791
|
formObject: d,
|
|
@@ -3783,38 +3797,38 @@ const ye = ({
|
|
|
3783
3797
|
submitButtonStyles: a = { width: 325 },
|
|
3784
3798
|
showCategorySelector: c = !0,
|
|
3785
3799
|
defaultCategory: u = null,
|
|
3786
|
-
categoryLabel:
|
|
3787
|
-
activeCategory:
|
|
3800
|
+
categoryLabel: h = "Select Category",
|
|
3801
|
+
activeCategory: m = null,
|
|
3788
3802
|
activeCategoryColor: b = "#b32f5d",
|
|
3789
3803
|
onSubmit: C = (_) => console.log("Form submitted with: ", _)
|
|
3790
3804
|
}) => {
|
|
3791
|
-
const { t: _ } =
|
|
3805
|
+
const { t: _ } = $(), { handleSubmit: v, control: y } = n;
|
|
3792
3806
|
V(() => {
|
|
3793
3807
|
r && xe.setState(() => ({ errorColor: r }));
|
|
3794
3808
|
}, [r]);
|
|
3795
3809
|
const g = me(() => d ? d.filter((N) => N.category).map((N) => {
|
|
3796
|
-
var
|
|
3810
|
+
var T;
|
|
3797
3811
|
return {
|
|
3798
3812
|
id: N.categoryId,
|
|
3799
3813
|
label: N.category,
|
|
3800
|
-
hasSubcategories: ((
|
|
3814
|
+
hasSubcategories: ((T = N.subcategories) == null ? void 0 : T.length) > 0
|
|
3801
3815
|
};
|
|
3802
|
-
}) : [], [d]),
|
|
3803
|
-
const
|
|
3804
|
-
return (
|
|
3816
|
+
}) : [], [d]), f = (N) => {
|
|
3817
|
+
const T = d == null ? void 0 : d.find((A) => A.categoryId === N);
|
|
3818
|
+
return (T == null ? void 0 : T.subcategories) || [];
|
|
3805
3819
|
}, [k, w] = F(
|
|
3806
|
-
|
|
3820
|
+
m || u || null
|
|
3807
3821
|
), [x, S] = F(null);
|
|
3808
3822
|
V(() => {
|
|
3809
3823
|
!k && g.length > 0 && w(g[0].id);
|
|
3810
3824
|
}, [g, k]), V(() => {
|
|
3811
|
-
const N =
|
|
3825
|
+
const N = f(k);
|
|
3812
3826
|
!x && (N == null ? void 0 : N.length) > 0 && S(N[0].id);
|
|
3813
3827
|
}, [k, x, d]);
|
|
3814
|
-
const
|
|
3828
|
+
const B = (N, T) => {
|
|
3815
3829
|
var A;
|
|
3816
3830
|
if (((A = N.subcategories) == null ? void 0 : A.length) > 0) {
|
|
3817
|
-
const
|
|
3831
|
+
const H = N.subcategories;
|
|
3818
3832
|
return /* @__PURE__ */ p("div", { children: [
|
|
3819
3833
|
/* @__PURE__ */ i(
|
|
3820
3834
|
"div",
|
|
@@ -3824,16 +3838,16 @@ const ye = ({
|
|
|
3824
3838
|
ht,
|
|
3825
3839
|
{
|
|
3826
3840
|
activeCategory: x,
|
|
3827
|
-
categories:
|
|
3828
|
-
onChange: (
|
|
3841
|
+
categories: H,
|
|
3842
|
+
onChange: (L) => S(L),
|
|
3829
3843
|
activeColor: b
|
|
3830
3844
|
}
|
|
3831
3845
|
)
|
|
3832
3846
|
},
|
|
3833
3847
|
N.categoryId
|
|
3834
3848
|
),
|
|
3835
|
-
|
|
3836
|
-
const Z = !x ||
|
|
3849
|
+
H.map((L, j) => {
|
|
3850
|
+
const Z = !x || L.id === x;
|
|
3837
3851
|
return s ? /* @__PURE__ */ i(
|
|
3838
3852
|
"div",
|
|
3839
3853
|
{
|
|
@@ -3841,18 +3855,18 @@ const ye = ({
|
|
|
3841
3855
|
display: Z ? "block" : "none",
|
|
3842
3856
|
width: "100%"
|
|
3843
3857
|
},
|
|
3844
|
-
children: /* @__PURE__ */ i(s, { title:
|
|
3858
|
+
children: /* @__PURE__ */ i(s, { title: L.label, children: /* @__PURE__ */ i(
|
|
3845
3859
|
ye,
|
|
3846
3860
|
{
|
|
3847
|
-
inputs:
|
|
3848
|
-
control:
|
|
3861
|
+
inputs: L.inputs,
|
|
3862
|
+
control: y,
|
|
3849
3863
|
inputContainerStyles: o,
|
|
3850
3864
|
errorColor: r,
|
|
3851
3865
|
reactHookFormInstance: n
|
|
3852
3866
|
}
|
|
3853
|
-
) },
|
|
3867
|
+
) }, L.id)
|
|
3854
3868
|
},
|
|
3855
|
-
`${
|
|
3869
|
+
`${L.id}${j}`
|
|
3856
3870
|
) : /* @__PURE__ */ p(
|
|
3857
3871
|
"div",
|
|
3858
3872
|
{
|
|
@@ -3861,12 +3875,12 @@ const ye = ({
|
|
|
3861
3875
|
display: Z ? "block" : "none"
|
|
3862
3876
|
},
|
|
3863
3877
|
children: [
|
|
3864
|
-
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: _(
|
|
3878
|
+
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: _(L.label) }),
|
|
3865
3879
|
/* @__PURE__ */ i(
|
|
3866
3880
|
ye,
|
|
3867
3881
|
{
|
|
3868
|
-
inputs:
|
|
3869
|
-
control:
|
|
3882
|
+
inputs: L.inputs,
|
|
3883
|
+
control: y,
|
|
3870
3884
|
inputContainerStyles: o,
|
|
3871
3885
|
errorColor: r,
|
|
3872
3886
|
reactHookFormInstance: n
|
|
@@ -3874,7 +3888,7 @@ const ye = ({
|
|
|
3874
3888
|
)
|
|
3875
3889
|
]
|
|
3876
3890
|
},
|
|
3877
|
-
`${
|
|
3891
|
+
`${L.id}${j}`
|
|
3878
3892
|
);
|
|
3879
3893
|
})
|
|
3880
3894
|
] });
|
|
@@ -3883,7 +3897,7 @@ const ye = ({
|
|
|
3883
3897
|
ye,
|
|
3884
3898
|
{
|
|
3885
3899
|
inputs: N.inputs,
|
|
3886
|
-
control:
|
|
3900
|
+
control: y,
|
|
3887
3901
|
inputContainerStyles: o,
|
|
3888
3902
|
errorColor: r,
|
|
3889
3903
|
reactHookFormInstance: n
|
|
@@ -3894,7 +3908,7 @@ const ye = ({
|
|
|
3894
3908
|
ye,
|
|
3895
3909
|
{
|
|
3896
3910
|
inputs: N.inputs,
|
|
3897
|
-
control:
|
|
3911
|
+
control: y,
|
|
3898
3912
|
inputContainerStyles: o,
|
|
3899
3913
|
errorColor: r,
|
|
3900
3914
|
reactHookFormInstance: n
|
|
@@ -3914,7 +3928,7 @@ const ye = ({
|
|
|
3914
3928
|
activeColor: b
|
|
3915
3929
|
}
|
|
3916
3930
|
) }),
|
|
3917
|
-
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((N,
|
|
3931
|
+
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((N, T) => {
|
|
3918
3932
|
const A = N.categoryId === k;
|
|
3919
3933
|
return N.category && !A ? null : N.category && A ? /* @__PURE__ */ i(
|
|
3920
3934
|
"div",
|
|
@@ -3923,14 +3937,14 @@ const ye = ({
|
|
|
3923
3937
|
// visibility: section.categoryId ? "visible" : "hidden",
|
|
3924
3938
|
width: "100%"
|
|
3925
3939
|
},
|
|
3926
|
-
children:
|
|
3940
|
+
children: B(N)
|
|
3927
3941
|
},
|
|
3928
3942
|
N.categoryId
|
|
3929
3943
|
) : /* @__PURE__ */ i(
|
|
3930
3944
|
ye,
|
|
3931
3945
|
{
|
|
3932
3946
|
inputs: N.inputs,
|
|
3933
|
-
control:
|
|
3947
|
+
control: y,
|
|
3934
3948
|
inputContainerStyles: o,
|
|
3935
3949
|
errorColor: r,
|
|
3936
3950
|
reactHookFormInstance: n
|
|
@@ -3989,10 +4003,10 @@ gs.propTypes = {
|
|
|
3989
4003
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3990
4004
|
maxWidth: e.string
|
|
3991
4005
|
};
|
|
3992
|
-
const Cs = "_stepsContainer_1cyua_3",
|
|
4006
|
+
const Cs = "_stepsContainer_1cyua_3", bs = "_stepWrapper_1cyua_9", fs = "_circleContainer_1cyua_19", ys = "_circle_1cyua_19", _s = "_active_1cyua_39", vs = "_completed_1cyua_44", ws = "_label_1cyua_50", xs = "_labelActive_1cyua_56", Ns = "_connector_1cyua_61", W = {
|
|
3993
4007
|
stepsContainer: Cs,
|
|
3994
|
-
stepWrapper:
|
|
3995
|
-
circleContainer:
|
|
4008
|
+
stepWrapper: bs,
|
|
4009
|
+
circleContainer: fs,
|
|
3996
4010
|
circle: ys,
|
|
3997
4011
|
active: _s,
|
|
3998
4012
|
completed: vs,
|
|
@@ -4057,7 +4071,7 @@ const $s = "_buttonsContainer_1c7dw_2", Bs = "_button_1c7dw_2", Ts = "_active_1c
|
|
|
4057
4071
|
}, Ls = ({
|
|
4058
4072
|
buttons: n = []
|
|
4059
4073
|
}) => {
|
|
4060
|
-
const { t: d } =
|
|
4074
|
+
const { t: d } = $();
|
|
4061
4075
|
return /* @__PURE__ */ i("div", { className: `${Le.buttonsContainer}`, children: n.map((s, o) => {
|
|
4062
4076
|
const {
|
|
4063
4077
|
isActive: t,
|
|
@@ -4100,16 +4114,16 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Vs = "_labelL
|
|
|
4100
4114
|
defValue: a = !1,
|
|
4101
4115
|
colorOn: c = "#5A514D",
|
|
4102
4116
|
disabled: u = !1,
|
|
4103
|
-
width:
|
|
4104
|
-
} = n, { t:
|
|
4117
|
+
width: h = 240
|
|
4118
|
+
} = n, { t: m } = $(), { control: b } = d || {}, [C, _] = F(a), v = (g) => {
|
|
4105
4119
|
_(g), s && s(g);
|
|
4106
|
-
},
|
|
4120
|
+
}, y = (g, f) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${h}px` }, children: [
|
|
4107
4121
|
r && /* @__PURE__ */ i(
|
|
4108
4122
|
"span",
|
|
4109
4123
|
{
|
|
4110
4124
|
className: ue.labelLeft,
|
|
4111
|
-
style: { width: `${(
|
|
4112
|
-
children:
|
|
4125
|
+
style: { width: `${(h - 74) / 2}px` },
|
|
4126
|
+
children: m(r)
|
|
4113
4127
|
}
|
|
4114
4128
|
),
|
|
4115
4129
|
/* @__PURE__ */ p("label", { className: `${ue.switch} ${u ? ue.disabled : ""}`, children: [
|
|
@@ -4118,7 +4132,7 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Vs = "_labelL
|
|
|
4118
4132
|
{
|
|
4119
4133
|
type: "checkbox",
|
|
4120
4134
|
checked: !!g,
|
|
4121
|
-
onChange: () =>
|
|
4135
|
+
onChange: () => f(!g),
|
|
4122
4136
|
disabled: u
|
|
4123
4137
|
}
|
|
4124
4138
|
),
|
|
@@ -4132,7 +4146,7 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Vs = "_labelL
|
|
|
4132
4146
|
}
|
|
4133
4147
|
)
|
|
4134
4148
|
] }),
|
|
4135
|
-
l && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(
|
|
4149
|
+
l && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(h - 74) / 2}px` }, children: m(l) })
|
|
4136
4150
|
] });
|
|
4137
4151
|
return d ? /* @__PURE__ */ i(
|
|
4138
4152
|
ve,
|
|
@@ -4140,9 +4154,9 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Vs = "_labelL
|
|
|
4140
4154
|
name: t,
|
|
4141
4155
|
control: b,
|
|
4142
4156
|
defaultValue: a,
|
|
4143
|
-
render: ({ field: g }) =>
|
|
4157
|
+
render: ({ field: g }) => y(g.value, g.onChange)
|
|
4144
4158
|
}
|
|
4145
|
-
) :
|
|
4159
|
+
) : y(C, v);
|
|
4146
4160
|
};
|
|
4147
4161
|
Is.propTypes = {
|
|
4148
4162
|
input: e.shape({
|
|
@@ -4259,12 +4273,12 @@ export {
|
|
|
4259
4273
|
O2 as ButtonsList,
|
|
4260
4274
|
ht as CategorySelector,
|
|
4261
4275
|
ae as DropdownList,
|
|
4262
|
-
|
|
4276
|
+
fo as EditAmbit,
|
|
4263
4277
|
we as ErrorMessage,
|
|
4264
4278
|
mn as FiltersAmbit,
|
|
4265
4279
|
No as Form,
|
|
4266
4280
|
Ve as GeneralButton,
|
|
4267
|
-
|
|
4281
|
+
fn as Graphic,
|
|
4268
4282
|
Us as HeaderSection,
|
|
4269
4283
|
On as IndicatorsList,
|
|
4270
4284
|
Zn as LangSelector,
|