@tmf_ciclica/ciclicastorybook 1.1.192 → 1.1.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +7 -7
- package/dist/index.es.js +1082 -1044
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
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_1k3i4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;height:100%;flex:1}._elementSelector_1k3i4_2 ._header_1k3i4_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1k3i4_2 ._header_1k3i4_14 ._nameDateContainer_1k3i4_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_1k3i4_2 ._header_1k3i4_14 ._nameDateContainer_1k3i4_24 ._elementName_1k3i4_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1k3i4_2 ._header_1k3i4_14 ._nameDateContainer_1k3i4_24 ._elementName_1k3i4_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1k3i4_2 ._header_1k3i4_14 ._nameDateContainer_1k3i4_24 ._elementDate_1k3i4_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1k3i4_2 ._header_1k3i4_14 ._nameDateContainer_1k3i4_24 ._elementDate_1k3i4_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1k3i4_2 ._header_1k3i4_14 ._buttonsContainer_1k3i4_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1k3i4_2 ._elementListContainer_1k3i4_77{flex:1;width:100%}._elementSelector_1k3i4_2 ._newElementButtonContainer_1k3i4_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_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)}})();
|
|
2
2
|
import { jsxs as p, jsx as i, Fragment as qe } from "react/jsx-runtime";
|
|
3
3
|
import * as pe from "react";
|
|
4
|
-
import D, { useState as
|
|
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 B, Trans as Ke } from "react-i18next";
|
|
7
7
|
import { motion as Ue } from "framer-motion";
|
|
8
|
-
import { create as
|
|
8
|
+
import { create as gt } from "zustand";
|
|
9
9
|
import * as Qe from "d3";
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName:
|
|
26
|
-
ambitDate:
|
|
27
|
-
buttonsContainer:
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, C2 = "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", 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%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", 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%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", _2 = "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", v2 = "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", gt = ({
|
|
10
|
+
import qt from "mapbox-gl";
|
|
11
|
+
import { useSelector as Et } from "react-redux";
|
|
12
|
+
import Pt, { Source as jt, Layer as Zt, NavigationControl as zt, Popup as Ht } from "react-map-gl/mapbox";
|
|
13
|
+
import Fe from "maplibre-gl";
|
|
14
|
+
import { Protocol as Kt } from "pmtiles";
|
|
15
|
+
import Ut, { Source as Wt, Layer as Gt, NavigationControl as Yt, Popup as Qt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Xt } from "@reduxjs/toolkit";
|
|
17
|
+
import Jt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as e2, Box as t2 } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as n2 } from "@emotion/react";
|
|
20
|
+
import { NavLink as i2 } from "react-router-dom";
|
|
21
|
+
const s2 = "_ambitSelector_mcunf_2", o2 = "_header_mcunf_13", r2 = "_nameDateContainer_mcunf_23", a2 = "_ambitName_mcunf_39", l2 = "_ambitDate_mcunf_53", c2 = "_buttonsContainer_mcunf_67", d2 = "_ambitListContainer_mcunf_76", u2 = "_newAmbitButtonContainer_mcunf_80", Y = {
|
|
22
|
+
ambitSelector: s2,
|
|
23
|
+
header: o2,
|
|
24
|
+
nameDateContainer: r2,
|
|
25
|
+
ambitName: a2,
|
|
26
|
+
ambitDate: l2,
|
|
27
|
+
buttonsContainer: c2,
|
|
28
|
+
ambitListContainer: d2,
|
|
29
|
+
newAmbitButtonContainer: u2
|
|
30
|
+
}, p2 = "_ambitItem_1qa6u_2", m2 = "_ambitNameDate_1qa6u_16", h2 = "_ambitName_1qa6u_16", g2 = "_ambitDate_1qa6u_35", C2 = "_ambitButtons_1qa6u_38", he = {
|
|
31
|
+
ambitItem: p2,
|
|
32
|
+
ambitNameDate: m2,
|
|
33
|
+
ambitName: h2,
|
|
34
|
+
ambitDate: g2,
|
|
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 = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
@@ -44,20 +44,20 @@ const i2 = "_ambitSelector_mcunf_2", s2 = "_header_mcunf_13", o2 = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at: m, id:
|
|
47
|
+
const { name: u, created_at: m, id: h, 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(h), children: [
|
|
55
55
|
/* @__PURE__ */ p("div", { className: he.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ i(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? v2 : w2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ i("span", { style: { color: r ? l : a }, children: u })
|
|
@@ -65,16 +65,16 @@ const i2 = "_ambitSelector_mcunf_2", s2 = "_header_mcunf_13", o2 = "_nameDateCon
|
|
|
65
65
|
/* @__PURE__ */ i("div", { className: he.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: he.ambitButtons, children: [
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ i("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () => s(
|
|
68
|
+
b && /* @__PURE__ */ i("img", { src: _2 }),
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: y2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(h), children: /* @__PURE__ */ i("img", { src: b2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => s(h), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: f2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
Ct.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,9 +92,9 @@ gt.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", x2 = "_generalButton_phq4n_2", N2 = {
|
|
96
|
+
generalButton: x2
|
|
97
|
+
}, Ve = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: s = "#605B56",
|
|
@@ -106,7 +106,7 @@ const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
106
106
|
}) => /* @__PURE__ */ i(
|
|
107
107
|
"button",
|
|
108
108
|
{
|
|
109
|
-
className:
|
|
109
|
+
className: N2.generalButton,
|
|
110
110
|
style: {
|
|
111
111
|
color: s,
|
|
112
112
|
border: `1.5px solid ${o}`,
|
|
@@ -130,62 +130,62 @@ const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
130
130
|
containerStyles: c = {},
|
|
131
131
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
132
132
|
onClickCopy: m = (_) => console.log(`Copy ambit: ${_}`),
|
|
133
|
-
onCLickDelete:
|
|
134
|
-
onClickFilters:
|
|
135
|
-
onClickAmbit:
|
|
133
|
+
onCLickDelete: h = (_) => console.log(`Delete ambit: ${_}`),
|
|
134
|
+
onClickFilters: b = (_) => console.log(`Filters clicked: ${_}`),
|
|
135
|
+
onClickAmbit: C = (_) => console.log(`OnCLickAmbit: ${_}`)
|
|
136
136
|
}) => {
|
|
137
|
-
const { t: _ } =
|
|
138
|
-
|
|
139
|
-
n &&
|
|
137
|
+
const { t: _ } = B(), [v, f] = F(n);
|
|
138
|
+
V(() => {
|
|
139
|
+
n && f(n);
|
|
140
140
|
}, [n]);
|
|
141
|
-
const
|
|
141
|
+
const g = (y) => {
|
|
142
142
|
if (v && v.length > 0) {
|
|
143
|
-
let
|
|
144
|
-
|
|
143
|
+
let k = [...v];
|
|
144
|
+
k.sort((w, x) => w[y].localeCompare(x[y])), f(k);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
return /* @__PURE__ */ p(
|
|
148
148
|
"div",
|
|
149
149
|
{
|
|
150
|
-
className:
|
|
150
|
+
className: Y.ambitSelector,
|
|
151
151
|
style: { color: s, ...c },
|
|
152
152
|
children: [
|
|
153
153
|
/* @__PURE__ */ p(
|
|
154
154
|
"div",
|
|
155
155
|
{
|
|
156
|
-
className:
|
|
156
|
+
className: Y.header,
|
|
157
157
|
style: { borderBottom: `1px solid ${s}` },
|
|
158
158
|
children: [
|
|
159
|
-
/* @__PURE__ */ p("div", { className:
|
|
160
|
-
/* @__PURE__ */ i("div", { className:
|
|
159
|
+
/* @__PURE__ */ p("div", { className: Y.nameDateContainer, children: [
|
|
160
|
+
/* @__PURE__ */ i("div", { className: Y.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
|
|
161
161
|
/* @__PURE__ */ i("span", { children: _(t) }),
|
|
162
162
|
/* @__PURE__ */ i("img", { src: Xe })
|
|
163
163
|
] }) }),
|
|
164
|
-
/* @__PURE__ */ i("div", { className:
|
|
164
|
+
/* @__PURE__ */ i("div", { className: Y.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
|
|
165
165
|
/* @__PURE__ */ i("span", { children: _(r) }),
|
|
166
166
|
/* @__PURE__ */ i("img", { src: Xe })
|
|
167
167
|
] }) })
|
|
168
168
|
] }),
|
|
169
|
-
/* @__PURE__ */ i("div", { className:
|
|
169
|
+
/* @__PURE__ */ i("div", { className: Y.buttonsContainer })
|
|
170
170
|
]
|
|
171
171
|
}
|
|
172
172
|
),
|
|
173
|
-
/* @__PURE__ */ i("div", { className:
|
|
174
|
-
|
|
173
|
+
/* @__PURE__ */ i("div", { className: Y.ambitListContainer, children: v && v.length > 0 && v.map((y) => /* @__PURE__ */ i(
|
|
174
|
+
Ct,
|
|
175
175
|
{
|
|
176
|
-
isActive: d ==
|
|
177
|
-
ambit:
|
|
176
|
+
isActive: d == y.id,
|
|
177
|
+
ambit: y,
|
|
178
178
|
fontColor: s,
|
|
179
179
|
activeColor: o,
|
|
180
180
|
onClickCopy: m,
|
|
181
|
-
onClickDelete:
|
|
182
|
-
onClickFilters:
|
|
183
|
-
onClickAmbit:
|
|
181
|
+
onClickDelete: h,
|
|
182
|
+
onClickFilters: b,
|
|
183
|
+
onClickAmbit: C
|
|
184
184
|
},
|
|
185
|
-
`ambitKey${
|
|
185
|
+
`ambitKey${y.id}`
|
|
186
186
|
)) }),
|
|
187
|
-
/* @__PURE__ */ i("div", { className:
|
|
188
|
-
|
|
187
|
+
/* @__PURE__ */ i("div", { className: Y.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
188
|
+
Ve,
|
|
189
189
|
{
|
|
190
190
|
style: { ...a },
|
|
191
191
|
onClick: u,
|
|
@@ -219,28 +219,28 @@ k2.propTypes = {
|
|
|
219
219
|
containerStyles: e.object,
|
|
220
220
|
onCLickNewAmbit: e.func
|
|
221
221
|
};
|
|
222
|
-
const
|
|
223
|
-
buttonsContainer:
|
|
224
|
-
vertical:
|
|
225
|
-
horizontal:
|
|
226
|
-
button:
|
|
227
|
-
active:
|
|
228
|
-
buttonName:
|
|
229
|
-
},
|
|
230
|
-
left:
|
|
231
|
-
top:
|
|
222
|
+
const S2 = "_buttonsContainer_1ks7x_2", $2 = "_vertical_1ks7x_6", B2 = "_horizontal_1ks7x_9", T2 = "_button_1ks7x_2", L2 = "_active_1ks7x_25", M2 = "_buttonName_1ks7x_28", J = {
|
|
223
|
+
buttonsContainer: S2,
|
|
224
|
+
vertical: $2,
|
|
225
|
+
horizontal: B2,
|
|
226
|
+
button: T2,
|
|
227
|
+
active: L2,
|
|
228
|
+
buttonName: M2
|
|
229
|
+
}, D2 = "_left_1l4m4_2", V2 = "_top_1l4m4_40", F2 = "_bottom_1l4m4_79", A2 = "_right_1l4m4_118", I2 = {
|
|
230
|
+
left: D2,
|
|
231
|
+
top: V2,
|
|
232
232
|
bottom: F2,
|
|
233
|
-
right:
|
|
234
|
-
},
|
|
235
|
-
const { t: o } =
|
|
236
|
-
return /* @__PURE__ */ i("div", { className: `tooltip ${
|
|
233
|
+
right: A2
|
|
234
|
+
}, oe = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
235
|
+
const { t: o } = B();
|
|
236
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${I2[d]}`, style: s, children: o(n) });
|
|
237
237
|
};
|
|
238
|
-
|
|
238
|
+
oe.propTypes = {
|
|
239
239
|
text: e.string.isRequired,
|
|
240
240
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
241
241
|
styleCustom: e.object
|
|
242
242
|
};
|
|
243
|
-
const
|
|
243
|
+
const O2 = ({
|
|
244
244
|
buttons: n = [],
|
|
245
245
|
orientation: d = "horizontal",
|
|
246
246
|
showName: s = !0,
|
|
@@ -248,43 +248,43 @@ const I2 = ({
|
|
|
248
248
|
useTooltip: t = !1,
|
|
249
249
|
tooltipPosition: r = "top"
|
|
250
250
|
}) => {
|
|
251
|
-
const { t: l } =
|
|
251
|
+
const { t: l } = B();
|
|
252
252
|
return /* @__PURE__ */ i(
|
|
253
253
|
"div",
|
|
254
254
|
{
|
|
255
|
-
className: `${
|
|
256
|
-
${d === "horizontal" &&
|
|
255
|
+
className: `${J.buttonsContainer} ${d === "vertical" && J.vertical}
|
|
256
|
+
${d === "horizontal" && J.horizontal}`,
|
|
257
257
|
children: n.map((a, c) => {
|
|
258
258
|
const {
|
|
259
259
|
icon: u,
|
|
260
260
|
activeIcon: m,
|
|
261
|
-
isActive:
|
|
262
|
-
name:
|
|
263
|
-
onClick:
|
|
261
|
+
isActive: h,
|
|
262
|
+
name: b,
|
|
263
|
+
onClick: C,
|
|
264
264
|
disabled: _
|
|
265
265
|
} = a, v = /* @__PURE__ */ p(qe, { children: [
|
|
266
|
-
s && o === "left" && /* @__PURE__ */ i("span", { className:
|
|
267
|
-
/* @__PURE__ */ i("img", { src:
|
|
268
|
-
s && o === "right" && /* @__PURE__ */ i("span", { className:
|
|
266
|
+
s && o === "left" && /* @__PURE__ */ i("span", { className: J.buttonName, children: l(b) }),
|
|
267
|
+
/* @__PURE__ */ i("img", { src: h ? m : u, alt: l(b) }),
|
|
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: [
|
|
271
271
|
/* @__PURE__ */ i(
|
|
272
272
|
"button",
|
|
273
273
|
{
|
|
274
|
-
onClick:
|
|
275
|
-
className: `${
|
|
276
|
-
${
|
|
274
|
+
onClick: C,
|
|
275
|
+
className: `${J.button}
|
|
276
|
+
${h && J.active}`,
|
|
277
277
|
disabled: _,
|
|
278
278
|
children: v
|
|
279
279
|
}
|
|
280
280
|
),
|
|
281
|
-
t && /* @__PURE__ */ i(
|
|
281
|
+
t && /* @__PURE__ */ i(oe, { text: b, position: r })
|
|
282
282
|
] }, c);
|
|
283
283
|
})
|
|
284
284
|
}
|
|
285
285
|
);
|
|
286
286
|
};
|
|
287
|
-
|
|
287
|
+
O2.propTypes = {
|
|
288
288
|
buttons: e.arrayOf(
|
|
289
289
|
e.shape({
|
|
290
290
|
icon: e.node.isRequired,
|
|
@@ -302,11 +302,11 @@ I2.propTypes = {
|
|
|
302
302
|
useTooltip: e.bool,
|
|
303
303
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
304
304
|
};
|
|
305
|
-
const
|
|
306
|
-
indicatorsCategory:
|
|
307
|
-
title:
|
|
308
|
-
mainTitle:
|
|
309
|
-
},
|
|
305
|
+
const R2 = "_indicatorsCategory_11gdl_2", q2 = "_title_11gdl_6", E2 = "_mainTitle_11gdl_14", Ne = {
|
|
306
|
+
indicatorsCategory: R2,
|
|
307
|
+
title: q2,
|
|
308
|
+
mainTitle: E2
|
|
309
|
+
}, ae = ({
|
|
310
310
|
isOpen: n,
|
|
311
311
|
onClick: d,
|
|
312
312
|
children: s,
|
|
@@ -321,11 +321,11 @@ const O2 = "_indicatorsCategory_11gdl_2", R2 = "_title_11gdl_6", q2 = "_mainTitl
|
|
|
321
321
|
titleMarginChildren: u = 15,
|
|
322
322
|
mainTitle: m = !1
|
|
323
323
|
}) => {
|
|
324
|
-
const { t:
|
|
324
|
+
const { t: h } = B();
|
|
325
325
|
return /* @__PURE__ */ p(
|
|
326
326
|
Ue.div,
|
|
327
327
|
{
|
|
328
|
-
className:
|
|
328
|
+
className: Ne.indicatorsCategory,
|
|
329
329
|
initial: { height: `${l}px` },
|
|
330
330
|
animate: { height: n ? "auto" : `${l}px` },
|
|
331
331
|
transition: { duration: 0.4 },
|
|
@@ -342,20 +342,20 @@ const O2 = "_indicatorsCategory_11gdl_2", R2 = "_title_11gdl_6", q2 = "_mainTitl
|
|
|
342
342
|
...a
|
|
343
343
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
344
344
|
},
|
|
345
|
-
className: `${
|
|
345
|
+
className: `${Ne.title} ${m && 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: h(r) })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
),
|
|
353
|
-
/* @__PURE__ */ i("div", { className:
|
|
353
|
+
/* @__PURE__ */ i("div", { className: Ne.content, style: { padding: m ? "20px 0px" : "0px" }, children: s })
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
356
|
);
|
|
357
357
|
};
|
|
358
|
-
|
|
358
|
+
ae.propTypes = {
|
|
359
359
|
isOpen: e.bool,
|
|
360
360
|
onClick: e.func,
|
|
361
361
|
children: e.node,
|
|
@@ -366,10 +366,10 @@ re.propTypes = {
|
|
|
366
366
|
showBottomBar: e.bool,
|
|
367
367
|
titleFontStyles: e.object
|
|
368
368
|
};
|
|
369
|
-
const bo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }),
|
|
370
|
-
AppliedFiltersContainer:
|
|
371
|
-
AppliedFilterContent:
|
|
372
|
-
},
|
|
369
|
+
const bo = () => /* @__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
|
+
AppliedFiltersContainer: j2,
|
|
371
|
+
AppliedFilterContent: Z2
|
|
372
|
+
}, L = gt((n) => ({
|
|
373
373
|
activeCategory: "",
|
|
374
374
|
activeSubCategory: "",
|
|
375
375
|
selectedIndicator: "",
|
|
@@ -378,33 +378,33 @@ const bo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), E2 = "data
|
|
|
378
378
|
inputsColor: "#605B56",
|
|
379
379
|
activeFiltersType: null,
|
|
380
380
|
geoLayers: []
|
|
381
|
-
})),
|
|
382
|
-
const { t: a } =
|
|
383
|
-
|
|
384
|
-
tematicalFiltersSelected:
|
|
385
|
-
(_) => _.code !==
|
|
381
|
+
})), ft = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r, fontColor: l = "#605B56" }) => {
|
|
382
|
+
const { t: a } = B(), { tematicalFiltersSelected: c, activeFiltersType: u } = L((b) => b), m = (b) => {
|
|
383
|
+
L.setState((C) => ({
|
|
384
|
+
tematicalFiltersSelected: C.tematicalFiltersSelected.filter(
|
|
385
|
+
(_) => _.code !== b
|
|
386
386
|
)
|
|
387
387
|
}));
|
|
388
388
|
};
|
|
389
389
|
return /* @__PURE__ */ i(
|
|
390
|
-
|
|
390
|
+
ae,
|
|
391
391
|
{
|
|
392
392
|
isOpen: s,
|
|
393
393
|
onClick: () => {
|
|
394
|
-
u == "applied" ?
|
|
394
|
+
u == "applied" ? L.setState(() => ({ activeFiltersType: null })) : L.setState(() => ({ activeFiltersType: "applied" }));
|
|
395
395
|
},
|
|
396
396
|
title: n ? a(n) : "Applied Filters",
|
|
397
397
|
activeColor: r,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: l,
|
|
400
|
-
children: /* @__PURE__ */ i("div", { className: Je.AppliedFiltersContainer, children: c == null ? void 0 : c.map((
|
|
401
|
-
a(
|
|
402
|
-
/* @__PURE__ */ i("img", { src:
|
|
403
|
-
] },
|
|
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
|
+
a(b.name),
|
|
402
|
+
/* @__PURE__ */ i("img", { src: P2, alt: "CloseIcon", onClick: () => m(b.code), style: { cursor: "pointer" } })
|
|
403
|
+
] }, C)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
};
|
|
407
|
-
|
|
407
|
+
ft.propTypes = {
|
|
408
408
|
isOpen: e.bool,
|
|
409
409
|
onClick: e.func,
|
|
410
410
|
title: e.string,
|
|
@@ -418,10 +418,10 @@ Ct.propTypes = {
|
|
|
418
418
|
),
|
|
419
419
|
activeColor: e.string
|
|
420
420
|
};
|
|
421
|
-
const
|
|
422
|
-
layersList:
|
|
423
|
-
layerName:
|
|
424
|
-
},
|
|
421
|
+
const z2 = "_layersList_cn837_25", H2 = "_layerName_cn837_34", et = {
|
|
422
|
+
layersList: z2,
|
|
423
|
+
layerName: H2
|
|
424
|
+
}, bt = ({
|
|
425
425
|
title: n,
|
|
426
426
|
isOpen: d = !0,
|
|
427
427
|
fontColor: s = "#605B56",
|
|
@@ -429,20 +429,20 @@ const Z2 = "_layersList_cn837_25", z2 = "_layerName_cn837_34", et = {
|
|
|
429
429
|
activeColor: t,
|
|
430
430
|
onGeoLayersChange: r
|
|
431
431
|
}) => {
|
|
432
|
-
const { t: l } =
|
|
433
|
-
a == "geographical" ?
|
|
434
|
-
}, m = (
|
|
435
|
-
|
|
436
|
-
geoLayers:
|
|
437
|
-
...
|
|
438
|
-
active:
|
|
432
|
+
const { t: l } = B(), { activeFiltersType: a, geoLayers: c } = L((h) => h), u = () => {
|
|
433
|
+
a == "geographical" ? L.setState(() => ({ activeFiltersType: null })) : L.setState(() => ({ activeFiltersType: "geographical" }));
|
|
434
|
+
}, m = (h) => {
|
|
435
|
+
L.setState((b) => ({
|
|
436
|
+
geoLayers: b.geoLayers.map((C) => ({
|
|
437
|
+
...C,
|
|
438
|
+
active: C.name === h.name
|
|
439
439
|
}))
|
|
440
440
|
})), r(c);
|
|
441
441
|
};
|
|
442
|
-
return
|
|
442
|
+
return V(() => {
|
|
443
443
|
r && r(c);
|
|
444
444
|
}, [c]), /* @__PURE__ */ i(
|
|
445
|
-
|
|
445
|
+
ae,
|
|
446
446
|
{
|
|
447
447
|
isOpen: a == "geographical",
|
|
448
448
|
onClick: u,
|
|
@@ -450,22 +450,22 @@ const Z2 = "_layersList_cn837_25", z2 = "_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((h) => /* @__PURE__ */ p(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
456
|
className: `${et.layerName}`,
|
|
457
|
-
style: { color:
|
|
458
|
-
onClick: () => m(
|
|
457
|
+
style: { color: h.active ? t : s, fontWeight: h.active ? "bold" : "normal" },
|
|
458
|
+
onClick: () => m(h),
|
|
459
459
|
children: [
|
|
460
|
-
l(
|
|
461
|
-
|
|
460
|
+
l(h.name),
|
|
461
|
+
h.active
|
|
462
462
|
]
|
|
463
463
|
}
|
|
464
464
|
)) })
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
bt.propTypes = {
|
|
469
469
|
isOpen: e.bool,
|
|
470
470
|
onClick: e.func,
|
|
471
471
|
title: e.string,
|
|
@@ -473,22 +473,22 @@ ft.propTypes = {
|
|
|
473
473
|
backgroundColor: e.string,
|
|
474
474
|
activeColor: e.string
|
|
475
475
|
};
|
|
476
|
-
const
|
|
477
|
-
checkboxContainer:
|
|
478
|
-
},
|
|
476
|
+
const K2 = "_checkboxContainer_1nxra_2", U2 = {
|
|
477
|
+
checkboxContainer: K2
|
|
478
|
+
}, yt = ({
|
|
479
479
|
onClick: n,
|
|
480
480
|
containerStyles: d,
|
|
481
481
|
color: s = "#605B56",
|
|
482
482
|
indicator: o,
|
|
483
483
|
value: t
|
|
484
484
|
}) => {
|
|
485
|
-
const { t: r } =
|
|
485
|
+
const { t: r } = B(), { title: l } = o || {}, { fontColor: a, inputsColor: c } = L((u) => u);
|
|
486
486
|
return /* @__PURE__ */ p(
|
|
487
487
|
"div",
|
|
488
488
|
{
|
|
489
489
|
style: { ...d, color: s },
|
|
490
490
|
role: "checkbox",
|
|
491
|
-
className:
|
|
491
|
+
className: U2.checkboxContainer,
|
|
492
492
|
onClick: n,
|
|
493
493
|
children: [
|
|
494
494
|
/* @__PURE__ */ i(
|
|
@@ -509,7 +509,7 @@ const H2 = "_checkboxContainer_1nxra_2", K2 = {
|
|
|
509
509
|
}
|
|
510
510
|
);
|
|
511
511
|
};
|
|
512
|
-
|
|
512
|
+
yt.propTypes = {
|
|
513
513
|
onClick: e.func,
|
|
514
514
|
value: e.bool,
|
|
515
515
|
containerStyles: e.object,
|
|
@@ -525,7 +525,7 @@ function Ee(n, d) {
|
|
|
525
525
|
return s.__proto__ = o, s;
|
|
526
526
|
}, Ee(n, d);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function W2(n, d) {
|
|
529
529
|
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Ee(n, d);
|
|
530
530
|
}
|
|
531
531
|
function Ae(n) {
|
|
@@ -534,7 +534,7 @@ function Ae(n) {
|
|
|
534
534
|
function Ie(n) {
|
|
535
535
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function ke(n) {
|
|
538
538
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
539
539
|
}
|
|
540
540
|
function Se(n) {
|
|
@@ -542,7 +542,7 @@ function Se(n) {
|
|
|
542
542
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function ee(n, d) {
|
|
546
546
|
return Pe(function(s, o) {
|
|
547
547
|
let t = s;
|
|
548
548
|
return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
|
|
@@ -573,8 +573,8 @@ let je = function(n) {
|
|
|
573
573
|
t.setState({ pending: !0 });
|
|
574
574
|
const c = t.getTouchPosition(a);
|
|
575
575
|
if (t.isScrolling === void 0) {
|
|
576
|
-
const
|
|
577
|
-
t.isScrolling = Math.abs(
|
|
576
|
+
const h = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
|
|
577
|
+
t.isScrolling = Math.abs(b) > Math.abs(h);
|
|
578
578
|
}
|
|
579
579
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
580
580
|
const u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
|
|
@@ -617,7 +617,7 @@ let je = function(n) {
|
|
|
617
617
|
}
|
|
618
618
|
}, t.onSliderClick = (a) => {
|
|
619
619
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
620
|
-
const c = t.getMousePosition(a), u =
|
|
620
|
+
const c = t.getMousePosition(a), u = ee(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
621
621
|
t.props.onSliderClick(u);
|
|
622
622
|
}
|
|
623
623
|
}, t.createOnKeyDown = (a) => (c) => {
|
|
@@ -640,27 +640,27 @@ 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 : ""), m = { ref: (
|
|
644
|
-
t["thumb" + c] =
|
|
645
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
646
|
-
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(
|
|
643
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (b) => {
|
|
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 }, h = { index: c, value: ke(t.state.value), valueNow: t.state.value[c] };
|
|
646
|
+
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(m, h);
|
|
647
647
|
}, t.renderTrack = (a, c, u) => {
|
|
648
|
-
const m = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) },
|
|
649
|
-
return t.props.renderTrack(m,
|
|
648
|
+
const m = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: a, value: ke(t.state.value) };
|
|
649
|
+
return t.props.renderTrack(m, h);
|
|
650
650
|
};
|
|
651
651
|
let r = Ie(o.value);
|
|
652
652
|
r.length || (r = Ie(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
653
653
|
const l = [];
|
|
654
|
-
for (let a = 0; a < r.length; a += 1) r[a] =
|
|
654
|
+
for (let a = 0; a < r.length; a += 1) r[a] = ee(r[a], o), l.push(a);
|
|
655
655
|
return t.resizeObserver = null, t.resizeElementRef = D.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
656
656
|
}
|
|
657
|
-
|
|
657
|
+
W2(d, n);
|
|
658
658
|
var s = d.prototype;
|
|
659
659
|
return s.componentDidMount = function() {
|
|
660
660
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
661
661
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
662
662
|
const r = Ie(o.value);
|
|
663
|
-
return r.length ? t.pending ? null : { value: r.map((l) =>
|
|
663
|
+
return r.length ? t.pending ? null : { value: r.map((l) => ee(l, o)) } : null;
|
|
664
664
|
}, s.componentDidUpdate = function() {
|
|
665
665
|
this.state.upperBound === 0 && this.resize();
|
|
666
666
|
}, s.componentWillUnmount = function() {
|
|
@@ -672,7 +672,7 @@ let je = function(n) {
|
|
|
672
672
|
});
|
|
673
673
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
674
674
|
}, s.getValue = function() {
|
|
675
|
-
return
|
|
675
|
+
return ke(this.state.value);
|
|
676
676
|
}, s.getClosestIndex = function(o) {
|
|
677
677
|
let t = Number.MAX_VALUE, r = -1;
|
|
678
678
|
const { value: l } = this.state, a = l.length;
|
|
@@ -694,15 +694,15 @@ let je = function(n) {
|
|
|
694
694
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
695
695
|
}, s.getValueFromPosition = function(o) {
|
|
696
696
|
const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
697
|
-
return
|
|
697
|
+
return ee(this.state.startValue + t, this.props);
|
|
698
698
|
}, s.getDiffPosition = function(o) {
|
|
699
699
|
let t = o - this.state.startPosition;
|
|
700
700
|
return this.props.invert && (t *= -1), t;
|
|
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()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()],
|
|
705
|
-
this.state.upperBound ===
|
|
704
|
+
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = a - m, b = Math.abs(c - u);
|
|
705
|
+
this.state.upperBound === h && this.state.sliderLength === b && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: b, thumbSize: m });
|
|
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;
|
|
@@ -713,7 +713,7 @@ let je = function(n) {
|
|
|
713
713
|
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
|
|
714
714
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
715
715
|
}, s.forceValueFromPosition = function(o, t) {
|
|
716
|
-
const r = this.calcOffsetFromPosition(o), l = this.getClosestIndex(r), a =
|
|
716
|
+
const r = this.calcOffsetFromPosition(o), l = this.getClosestIndex(r), a = ee(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
717
717
|
c[l] = a;
|
|
718
718
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
719
719
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -731,38 +731,38 @@ let je = function(n) {
|
|
|
731
731
|
l.splice(l.indexOf(o), 1), l.push(o), this.setState((a) => ({ startValue: a.value[o], startPosition: t !== void 0 ? t : a.startPosition, index: o, zIndices: l }));
|
|
732
732
|
}, s.moveUpByStep = function(o) {
|
|
733
733
|
o === void 0 && (o = this.props.step);
|
|
734
|
-
const t = this.state.value[this.state.index], r =
|
|
734
|
+
const t = this.state.value[this.state.index], r = ee(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
735
735
|
this.move(Math.min(r, this.props.max));
|
|
736
736
|
}, s.moveDownByStep = function(o) {
|
|
737
737
|
o === void 0 && (o = this.props.step);
|
|
738
|
-
const t = this.state.value[this.state.index], r =
|
|
738
|
+
const t = this.state.value[this.state.index], r = ee(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
739
739
|
this.move(Math.max(r, this.props.min));
|
|
740
740
|
}, s.move = function(o) {
|
|
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: m, minDistance:
|
|
744
|
+
const { pearling: c, max: u, min: m, minDistance: h } = this.props;
|
|
745
745
|
if (!c) {
|
|
746
746
|
if (r > 0) {
|
|
747
|
-
const
|
|
748
|
-
o <
|
|
747
|
+
const b = t[r - 1];
|
|
748
|
+
o < b + h && (o = b + h);
|
|
749
749
|
}
|
|
750
750
|
if (r < l - 1) {
|
|
751
|
-
const
|
|
752
|
-
o >
|
|
751
|
+
const b = t[r + 1];
|
|
752
|
+
o > b - h && (o = b - h);
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t,
|
|
756
|
-
for (let
|
|
757
|
-
const
|
|
758
|
-
|
|
755
|
+
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t, h, r), function(b, C, _, v) {
|
|
756
|
+
for (let f = 0; f < b; f += 1) {
|
|
757
|
+
const g = v - f * _;
|
|
758
|
+
C[b - 1 - f] > g && (C[b - 1 - f] = g);
|
|
759
759
|
}
|
|
760
|
-
}(l, t,
|
|
761
|
-
for (let
|
|
762
|
-
const
|
|
763
|
-
|
|
760
|
+
}(l, t, h, u)) : o < a && (this.pushPreceding(t, h, r), function(b, C, _, v) {
|
|
761
|
+
for (let f = 0; f < b; f += 1) {
|
|
762
|
+
const g = v + f * _;
|
|
763
|
+
C[f] < g && (C[f] = g);
|
|
764
764
|
}
|
|
765
|
-
}(l, t,
|
|
765
|
+
}(l, t, h, m))), 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);
|
|
@@ -779,7 +779,7 @@ let je = function(n) {
|
|
|
779
779
|
}, s.sizeKey = function() {
|
|
780
780
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
781
781
|
}, s.fireChangeEvent = function(o) {
|
|
782
|
-
this.props[o] && this.props[o](
|
|
782
|
+
this.props[o] && this.props[o](ke(this.state.value), this.state.index);
|
|
783
783
|
}, s.buildThumbStyle = function(o, t) {
|
|
784
784
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
785
785
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -818,14 +818,14 @@ let je = function(n) {
|
|
|
818
818
|
}(D.Component);
|
|
819
819
|
je.displayName = "ReactSlider", je.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => D.createElement("div", n), renderTrack: (n) => D.createElement("div", n), renderMark: (n) => D.createElement("span", n) };
|
|
820
820
|
var Ze = je;
|
|
821
|
-
const
|
|
822
|
-
container:
|
|
823
|
-
unitLabel:
|
|
824
|
-
slider:
|
|
825
|
-
thumb:
|
|
826
|
-
track:
|
|
827
|
-
labels:
|
|
828
|
-
},
|
|
821
|
+
const G2 = "_container_4u41i_2", Y2 = "_unitLabel_4u41i_8", Q2 = "_slider_4u41i_11", X2 = "_thumb_4u41i_17", J2 = "_track_4u41i_26", en = "_labels_4u41i_32", le = {
|
|
822
|
+
container: G2,
|
|
823
|
+
unitLabel: Y2,
|
|
824
|
+
slider: Q2,
|
|
825
|
+
thumb: X2,
|
|
826
|
+
track: J2,
|
|
827
|
+
labels: en
|
|
828
|
+
}, _t = ({
|
|
829
829
|
min: n = 0,
|
|
830
830
|
max: d = 100,
|
|
831
831
|
step: s = 1,
|
|
@@ -836,51 +836,51 @@ const W2 = "_container_4u41i_2", G2 = "_unitLabel_4u41i_8", Y2 = "_slider_4u41i_
|
|
|
836
836
|
defaultValue: a,
|
|
837
837
|
isDate: c
|
|
838
838
|
}) => {
|
|
839
|
-
const { t: u } =
|
|
840
|
-
|
|
839
|
+
const { t: u } = B(), m = c ? new Date(n).getTime() : null, h = c ? new Date(d).getTime() : null, [b, C] = F(c ? [m, h] : [n, d]), _ = (v) => {
|
|
840
|
+
C(v), o == null || o({ min: v[0], max: v[1] });
|
|
841
841
|
};
|
|
842
|
-
return
|
|
843
|
-
a ||
|
|
842
|
+
return V(() => {
|
|
843
|
+
a || C(c ? [m, h] : [n, d]);
|
|
844
844
|
}, [a, c]), /* @__PURE__ */ p(
|
|
845
845
|
"div",
|
|
846
846
|
{
|
|
847
|
-
className:
|
|
847
|
+
className: le.container,
|
|
848
848
|
style: { width: `${t}px`, color: `${l}` },
|
|
849
849
|
children: [
|
|
850
|
-
/* @__PURE__ */ i("div", { className:
|
|
850
|
+
/* @__PURE__ */ i("div", { className: le.unitLabel, children: /* @__PURE__ */ i("span", { children: u(r) }) }),
|
|
851
851
|
/* @__PURE__ */ i(
|
|
852
852
|
Ze,
|
|
853
853
|
{
|
|
854
|
-
className:
|
|
855
|
-
thumbClassName:
|
|
856
|
-
trackClassName:
|
|
854
|
+
className: le.slider,
|
|
855
|
+
thumbClassName: le.thumb,
|
|
856
|
+
trackClassName: le.track,
|
|
857
857
|
min: c ? m : n,
|
|
858
|
-
max: c ?
|
|
859
|
-
step: c ? (
|
|
860
|
-
value:
|
|
858
|
+
max: c ? h : d,
|
|
859
|
+
step: c ? (h - m) / 30 : s,
|
|
860
|
+
value: b,
|
|
861
861
|
onAfterChange: _,
|
|
862
862
|
withTracks: !0,
|
|
863
863
|
pearling: !c,
|
|
864
864
|
minDistance: c ? 0 : 0.1
|
|
865
865
|
}
|
|
866
866
|
),
|
|
867
|
-
/* @__PURE__ */ p("div", { className:
|
|
868
|
-
/* @__PURE__ */ i("span", { children: c ? new Date(
|
|
867
|
+
/* @__PURE__ */ p("div", { className: le.labels, children: [
|
|
868
|
+
/* @__PURE__ */ i("span", { children: c ? new Date(b[0]).toLocaleDateString("en-EN", {
|
|
869
869
|
day: "2-digit",
|
|
870
870
|
month: "short",
|
|
871
871
|
year: "numeric"
|
|
872
|
-
}) :
|
|
873
|
-
/* @__PURE__ */ i("span", { children: c ? new Date(
|
|
872
|
+
}) : b[0] }),
|
|
873
|
+
/* @__PURE__ */ i("span", { children: c ? new Date(b[1]).toLocaleDateString("en-EN", {
|
|
874
874
|
day: "2-digit",
|
|
875
875
|
month: "short",
|
|
876
876
|
year: "numeric"
|
|
877
|
-
}) :
|
|
877
|
+
}) : b[1] })
|
|
878
878
|
] })
|
|
879
879
|
]
|
|
880
880
|
}
|
|
881
881
|
);
|
|
882
882
|
};
|
|
883
|
-
|
|
883
|
+
_t.propTypes = {
|
|
884
884
|
min: e.number,
|
|
885
885
|
max: e.number,
|
|
886
886
|
step: e.number,
|
|
@@ -892,17 +892,17 @@ yt.propTypes = {
|
|
|
892
892
|
fontColor: e.string,
|
|
893
893
|
value: e.arrayOf(e.number)
|
|
894
894
|
};
|
|
895
|
-
const
|
|
896
|
-
tematicalFiltersInputContainer:
|
|
897
|
-
inputTypeContainer:
|
|
898
|
-
checkboxContainer:
|
|
899
|
-
absoluteSliderContainer:
|
|
895
|
+
const tn = "_tematicalFiltersInputContainer_1vm1r_2", nn = "_inputTypeContainer_1vm1r_2", sn = "_checkboxContainer_1vm1r_28", on = "_absoluteSliderContainer_1vm1r_37", $e = {
|
|
896
|
+
tematicalFiltersInputContainer: tn,
|
|
897
|
+
inputTypeContainer: nn,
|
|
898
|
+
checkboxContainer: sn,
|
|
899
|
+
absoluteSliderContainer: on
|
|
900
900
|
}, We = ({
|
|
901
901
|
indicator: n,
|
|
902
902
|
//onChangeBothType
|
|
903
903
|
activeColor: d
|
|
904
904
|
}) => {
|
|
905
|
-
const [s, o] =
|
|
905
|
+
const [s, o] = F(), {
|
|
906
906
|
type: t,
|
|
907
907
|
name: r,
|
|
908
908
|
values: l,
|
|
@@ -910,9 +910,9 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_inputTypeContainer_
|
|
|
910
910
|
maxValue: c,
|
|
911
911
|
unit: u,
|
|
912
912
|
step: m,
|
|
913
|
-
disabled:
|
|
914
|
-
isDate:
|
|
915
|
-
} = n || {},
|
|
913
|
+
disabled: h,
|
|
914
|
+
isDate: b
|
|
915
|
+
} = n || {}, C = me(
|
|
916
916
|
() => t == "cat" || s == "cat",
|
|
917
917
|
[s, t]
|
|
918
918
|
), _ = me(
|
|
@@ -920,32 +920,32 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_inputTypeContainer_
|
|
|
920
920
|
[s, t]
|
|
921
921
|
), {
|
|
922
922
|
tematicalFiltersSelected: v,
|
|
923
|
-
selectedIndicator:
|
|
924
|
-
fontColor:
|
|
925
|
-
inputsColor:
|
|
926
|
-
} =
|
|
927
|
-
if (
|
|
928
|
-
const { min: S, max:
|
|
929
|
-
let Z =
|
|
930
|
-
R == "both" && (Z =
|
|
931
|
-
let
|
|
923
|
+
selectedIndicator: f,
|
|
924
|
+
fontColor: g,
|
|
925
|
+
inputsColor: y
|
|
926
|
+
} = L((x) => x), k = (x) => {
|
|
927
|
+
if (x) {
|
|
928
|
+
const { min: S, max: T, valueClicked: N, allValues: $ } = x || {}, { code: A, type: R, source: M } = n || {}, K = _ ? "abs" : C ? "cat" : "both";
|
|
929
|
+
let Z = A[0];
|
|
930
|
+
R == "both" && (Z = K == "cat" ? A[1] : A[0]), K == "cat" ? L.setState((X) => {
|
|
931
|
+
let G = X.tematicalFiltersSelected.find(
|
|
932
932
|
(E) => E.code === Z
|
|
933
933
|
);
|
|
934
|
-
if (
|
|
935
|
-
let E = [
|
|
936
|
-
return
|
|
934
|
+
if (G) {
|
|
935
|
+
let E = [G.values];
|
|
936
|
+
return G.values.includes(N) ? E = G.values.filter(
|
|
937
937
|
(j) => j !== N
|
|
938
|
-
) : E = [...
|
|
939
|
-
tematicalFiltersSelected:
|
|
938
|
+
) : E = [...G.values, N], E.length == $.length ? {
|
|
939
|
+
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
940
940
|
(j) => j.code !== Z
|
|
941
941
|
)
|
|
942
942
|
} : {
|
|
943
|
-
tematicalFiltersSelected:
|
|
943
|
+
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
944
944
|
(j) => j.code === Z ? { ...j, values: E } : j
|
|
945
945
|
)
|
|
946
946
|
};
|
|
947
947
|
} else {
|
|
948
|
-
let E =
|
|
948
|
+
let E = $.map((j, Ot) => Ot);
|
|
949
949
|
return {
|
|
950
950
|
tematicalFiltersSelected: [
|
|
951
951
|
...v,
|
|
@@ -955,25 +955,25 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_inputTypeContainer_
|
|
|
955
955
|
values: E.filter((j) => j !== N),
|
|
956
956
|
name: n.name,
|
|
957
957
|
source: M,
|
|
958
|
-
isDate:
|
|
958
|
+
isDate: b
|
|
959
959
|
}
|
|
960
960
|
]
|
|
961
961
|
};
|
|
962
962
|
}
|
|
963
|
-
}) :
|
|
964
|
-
let
|
|
963
|
+
}) : K == "abs" && L.setState((X) => {
|
|
964
|
+
let G = X.tematicalFiltersSelected.find(
|
|
965
965
|
(E) => E.code === Z
|
|
966
966
|
);
|
|
967
|
-
if (S == n.minValue &&
|
|
967
|
+
if (S == n.minValue && T == n.maxValue)
|
|
968
968
|
return {
|
|
969
|
-
tematicalFiltersSelected:
|
|
969
|
+
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
970
970
|
(E) => E.code !== Z
|
|
971
971
|
)
|
|
972
972
|
};
|
|
973
|
-
if (
|
|
974
|
-
let E = { ...
|
|
973
|
+
if (G) {
|
|
974
|
+
let E = { ...G, min: S, max: T, type: K, isDate: b };
|
|
975
975
|
return {
|
|
976
|
-
tematicalFiltersSelected:
|
|
976
|
+
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
977
977
|
(j) => j.code === Z ? E : j
|
|
978
978
|
)
|
|
979
979
|
};
|
|
@@ -982,10 +982,10 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_inputTypeContainer_
|
|
|
982
982
|
tematicalFiltersSelected: [
|
|
983
983
|
...v,
|
|
984
984
|
{
|
|
985
|
-
type:
|
|
985
|
+
type: K,
|
|
986
986
|
code: Z,
|
|
987
987
|
min: S,
|
|
988
|
-
max:
|
|
988
|
+
max: T,
|
|
989
989
|
name: n.name,
|
|
990
990
|
source: n.source
|
|
991
991
|
}
|
|
@@ -994,39 +994,39 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_inputTypeContainer_
|
|
|
994
994
|
});
|
|
995
995
|
}
|
|
996
996
|
}, w = me(() => {
|
|
997
|
-
const
|
|
997
|
+
const x = {};
|
|
998
998
|
if ((v == null ? void 0 : v.length) > 0)
|
|
999
999
|
for (const S of v)
|
|
1000
|
-
S.type === "cat" ?
|
|
1001
|
-
return
|
|
1000
|
+
S.type === "cat" ? x[S.code] = new Set(S.values) : x[S.code] = [S.min, S.max];
|
|
1001
|
+
return x;
|
|
1002
1002
|
}, [v]);
|
|
1003
1003
|
return /* @__PURE__ */ i("div", { className: $e.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
1004
|
-
|
|
1004
|
+
ae,
|
|
1005
1005
|
{
|
|
1006
1006
|
titleFontStyles: {
|
|
1007
1007
|
fontSize: 16,
|
|
1008
1008
|
fontWeight: 400,
|
|
1009
|
-
opacity:
|
|
1009
|
+
opacity: h ? 0.5 : 1
|
|
1010
1010
|
},
|
|
1011
1011
|
title: r,
|
|
1012
|
-
isOpen:
|
|
1012
|
+
isOpen: f == `id${r}`,
|
|
1013
1013
|
onClick: () => {
|
|
1014
|
-
|
|
1015
|
-
selectedIndicator:
|
|
1014
|
+
h || L.setState(() => ({
|
|
1015
|
+
selectedIndicator: f == `id${r}` ? "" : `id${r}`
|
|
1016
1016
|
}));
|
|
1017
1017
|
},
|
|
1018
1018
|
showBottomBar: !1,
|
|
1019
1019
|
height: 42,
|
|
1020
1020
|
titleMarginChildren: 14,
|
|
1021
1021
|
className: "tematicalFiltersInputContainer",
|
|
1022
|
-
color:
|
|
1022
|
+
color: g,
|
|
1023
1023
|
activeColor: d,
|
|
1024
1024
|
children: [
|
|
1025
1025
|
t == "both" && /* @__PURE__ */ p(
|
|
1026
1026
|
"div",
|
|
1027
1027
|
{
|
|
1028
1028
|
className: $e.inputTypeContainer,
|
|
1029
|
-
style: { color:
|
|
1029
|
+
style: { color: g },
|
|
1030
1030
|
children: [
|
|
1031
1031
|
/* @__PURE__ */ p("label", { children: [
|
|
1032
1032
|
/* @__PURE__ */ i(
|
|
@@ -1040,8 +1040,8 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_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" ? y : "white",
|
|
1044
|
+
border: `1.5px solid ${s == "abs" ? y : g}`
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
),
|
|
@@ -1059,8 +1059,8 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_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" ? y : "white",
|
|
1063
|
+
border: `1.5px solid ${s == "cat" ? y : g}`
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
),
|
|
@@ -1069,27 +1069,27 @@ const en = "_tematicalFiltersInputContainer_1vm1r_2", tn = "_inputTypeContainer_
|
|
|
1069
1069
|
]
|
|
1070
1070
|
}
|
|
1071
1071
|
),
|
|
1072
|
-
|
|
1073
|
-
var
|
|
1072
|
+
C && /* @__PURE__ */ i("div", { className: $e.checkboxContainer, children: l.map((x, S) => {
|
|
1073
|
+
var T;
|
|
1074
1074
|
return /* @__PURE__ */ i(
|
|
1075
|
-
|
|
1075
|
+
yt,
|
|
1076
1076
|
{
|
|
1077
|
-
onClick: () =>
|
|
1078
|
-
indicator:
|
|
1079
|
-
value: ((
|
|
1077
|
+
onClick: () => k({ valueClicked: S, allValues: l }),
|
|
1078
|
+
indicator: x,
|
|
1079
|
+
value: ((T = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : T.has(S)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1080
1080
|
},
|
|
1081
1081
|
`checkbox-${S}`
|
|
1082
1082
|
);
|
|
1083
1083
|
}) }),
|
|
1084
1084
|
(_ || t == "glb") && /* @__PURE__ */ i("div", { className: $e.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1085
|
-
|
|
1085
|
+
_t,
|
|
1086
1086
|
{
|
|
1087
|
-
onChange:
|
|
1087
|
+
onChange: k,
|
|
1088
1088
|
min: a,
|
|
1089
1089
|
max: c,
|
|
1090
1090
|
unit: u,
|
|
1091
1091
|
defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
|
|
1092
|
-
isDate:
|
|
1092
|
+
isDate: b,
|
|
1093
1093
|
step: m
|
|
1094
1094
|
}
|
|
1095
1095
|
) })
|
|
@@ -1112,20 +1112,20 @@ We.propTypes = {
|
|
|
1112
1112
|
activeColor: e.string
|
|
1113
1113
|
//onChangeBothType: PropTypes.func,
|
|
1114
1114
|
};
|
|
1115
|
-
const
|
|
1115
|
+
const vt = ({
|
|
1116
1116
|
subcategory: n,
|
|
1117
1117
|
fontColor: d,
|
|
1118
1118
|
activeColor: s
|
|
1119
1119
|
//onChangeBothType,
|
|
1120
1120
|
}) => {
|
|
1121
|
-
const { activeSubcategory: o } =
|
|
1121
|
+
const { activeSubcategory: o } = L((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
|
+
L.setState((l) => ({
|
|
1129
1129
|
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1130
1130
|
}));
|
|
1131
1131
|
},
|
|
@@ -1147,7 +1147,7 @@ const _t = ({
|
|
|
1147
1147
|
}
|
|
1148
1148
|
);
|
|
1149
1149
|
};
|
|
1150
|
-
|
|
1150
|
+
vt.propTypes = {
|
|
1151
1151
|
subcategory: e.shape({
|
|
1152
1152
|
name: e.string,
|
|
1153
1153
|
indicators: e.arrayOf(
|
|
@@ -1160,17 +1160,17 @@ _t.propTypes = {
|
|
|
1160
1160
|
activeColor: e.string
|
|
1161
1161
|
//onChangeBothType: PropTypes.func,
|
|
1162
1162
|
};
|
|
1163
|
-
const
|
|
1163
|
+
const wt = ({
|
|
1164
1164
|
category: n,
|
|
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 } = L((a) => a);
|
|
1169
1169
|
return n && /* @__PURE__ */ i(
|
|
1170
|
-
|
|
1170
|
+
ae,
|
|
1171
1171
|
{
|
|
1172
1172
|
onClick: () => {
|
|
1173
|
-
|
|
1173
|
+
L.setState((a) => ({
|
|
1174
1174
|
activeCategory: r === `id${s}` ? "" : `id${s}`
|
|
1175
1175
|
}));
|
|
1176
1176
|
},
|
|
@@ -1181,7 +1181,7 @@ const vt = ({
|
|
|
1181
1181
|
color: l,
|
|
1182
1182
|
activeColor: d,
|
|
1183
1183
|
children: o ? o.map((a, c) => /* @__PURE__ */ i(
|
|
1184
|
-
|
|
1184
|
+
vt,
|
|
1185
1185
|
{
|
|
1186
1186
|
subcategory: a,
|
|
1187
1187
|
fontColor: l,
|
|
@@ -1200,7 +1200,7 @@ const vt = ({
|
|
|
1200
1200
|
}
|
|
1201
1201
|
);
|
|
1202
1202
|
};
|
|
1203
|
-
|
|
1203
|
+
wt.propTypes = {
|
|
1204
1204
|
category: e.shape({
|
|
1205
1205
|
name: e.string.isRequired,
|
|
1206
1206
|
subcategories: e.array,
|
|
@@ -1209,7 +1209,7 @@ vt.propTypes = {
|
|
|
1209
1209
|
activeColor: e.string
|
|
1210
1210
|
//onChangeBothType: PropTypes.func,
|
|
1211
1211
|
};
|
|
1212
|
-
const
|
|
1212
|
+
const xt = ({
|
|
1213
1213
|
indicators: n,
|
|
1214
1214
|
isOpen: d = !0,
|
|
1215
1215
|
title: s,
|
|
@@ -1218,18 +1218,18 @@ const wt = ({
|
|
|
1218
1218
|
inputsColor: t = "#605B56",
|
|
1219
1219
|
activeColor: r
|
|
1220
1220
|
}) => {
|
|
1221
|
-
const { tematicalFiltersSelected: l, activeFiltersType: a } =
|
|
1222
|
-
|
|
1223
|
-
}, [l]),
|
|
1224
|
-
o &&
|
|
1225
|
-
}, [o]),
|
|
1226
|
-
t &&
|
|
1221
|
+
const { tematicalFiltersSelected: l, activeFiltersType: a } = L((m) => m), { t: c } = B();
|
|
1222
|
+
V(() => {
|
|
1223
|
+
}, [l]), V(() => {
|
|
1224
|
+
o && L.setState(() => ({ fontColor: o }));
|
|
1225
|
+
}, [o]), V(() => {
|
|
1226
|
+
t && L.setState(() => ({ inputsColor: t }));
|
|
1227
1227
|
}, [t]);
|
|
1228
1228
|
const u = () => {
|
|
1229
|
-
a == "tematical" ?
|
|
1229
|
+
a == "tematical" ? L.setState(() => ({ activeFiltersType: null })) : L.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1230
1230
|
};
|
|
1231
1231
|
return /* @__PURE__ */ i(
|
|
1232
|
-
|
|
1232
|
+
ae,
|
|
1233
1233
|
{
|
|
1234
1234
|
isOpen: a == "tematical",
|
|
1235
1235
|
title: s ? c(s) : "Tematical filters",
|
|
@@ -1237,19 +1237,19 @@ const wt = ({
|
|
|
1237
1237
|
activeColor: r,
|
|
1238
1238
|
onClick: u,
|
|
1239
1239
|
mainTitle: !0,
|
|
1240
|
-
children: n == null ? void 0 : n.map((m,
|
|
1241
|
-
|
|
1240
|
+
children: n == null ? void 0 : n.map((m, h) => /* @__PURE__ */ i(
|
|
1241
|
+
wt,
|
|
1242
1242
|
{
|
|
1243
1243
|
category: m,
|
|
1244
1244
|
fontColor: o,
|
|
1245
1245
|
activeColor: r
|
|
1246
1246
|
},
|
|
1247
|
-
`category-${
|
|
1247
|
+
`category-${h}`
|
|
1248
1248
|
))
|
|
1249
1249
|
}
|
|
1250
1250
|
);
|
|
1251
1251
|
};
|
|
1252
|
-
|
|
1252
|
+
xt.propTypes = {
|
|
1253
1253
|
isOpen: e.bool,
|
|
1254
1254
|
title: e.string,
|
|
1255
1255
|
indicators: e.arrayOf(e.object),
|
|
@@ -1258,15 +1258,15 @@ wt.propTypes = {
|
|
|
1258
1258
|
inputsColor: e.string,
|
|
1259
1259
|
activeColor: e.string
|
|
1260
1260
|
};
|
|
1261
|
-
const
|
|
1262
|
-
FiltersAmbitContainer:
|
|
1263
|
-
FiltersAmbitHeader:
|
|
1264
|
-
FiltersAmbitTitle:
|
|
1265
|
-
FiltersAmbitDescription:
|
|
1266
|
-
FiltersAmbitDescriptionTitle:
|
|
1267
|
-
warning:
|
|
1268
|
-
buttonContainer:
|
|
1269
|
-
},
|
|
1261
|
+
const rn = "_FiltersAmbitContainer_fj99t_2", an = "_FiltersAmbitHeader_fj99t_15", ln = "_FiltersAmbitTitle_fj99t_23", cn = "_FiltersAmbitDescription_fj99t_32", dn = "_FiltersAmbitDescriptionTitle_fj99t_43", un = "_warning_fj99t_47", pn = "_buttonContainer_fj99t_50", te = {
|
|
1262
|
+
FiltersAmbitContainer: rn,
|
|
1263
|
+
FiltersAmbitHeader: an,
|
|
1264
|
+
FiltersAmbitTitle: ln,
|
|
1265
|
+
FiltersAmbitDescription: cn,
|
|
1266
|
+
FiltersAmbitDescriptionTitle: dn,
|
|
1267
|
+
warning: un,
|
|
1268
|
+
buttonContainer: pn
|
|
1269
|
+
}, mn = ({
|
|
1270
1270
|
ambitName: n,
|
|
1271
1271
|
ambitDescription: d,
|
|
1272
1272
|
defaultFilters: s,
|
|
@@ -1278,76 +1278,76 @@ const on = "_FiltersAmbitContainer_fj99t_2", rn = "_FiltersAmbitHeader_fj99t_15"
|
|
|
1278
1278
|
saveAmbit: c,
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
1280
|
descPlaceholder: m,
|
|
1281
|
-
filtersTypes:
|
|
1282
|
-
nameRequiredText:
|
|
1283
|
-
geoFilterLayers:
|
|
1281
|
+
filtersTypes: h = ["geographical", "tematical"],
|
|
1282
|
+
nameRequiredText: b,
|
|
1283
|
+
geoFilterLayers: C = [],
|
|
1284
1284
|
onGeoLayersChange: _,
|
|
1285
1285
|
onlyFilters: v = !1
|
|
1286
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1287
1287
|
}) => {
|
|
1288
|
-
const { t:
|
|
1289
|
-
|
|
1290
|
-
s && s.length > 0 &&
|
|
1288
|
+
const { t: f } = B(), { tematicalFiltersSelected: g, activeFiltersType: y, geoLayers: k } = L((R) => R), [w, x] = F(n || null), [S, T] = F(d || null), [N, $] = F(!1);
|
|
1289
|
+
V(() => {
|
|
1290
|
+
s && s.length > 0 && L.setState((R) => ({
|
|
1291
1291
|
tematicalFiltersSelected: s
|
|
1292
1292
|
}));
|
|
1293
|
-
}, [s]),
|
|
1294
|
-
|
|
1295
|
-
}, [
|
|
1296
|
-
a(
|
|
1297
|
-
}, [
|
|
1298
|
-
const
|
|
1299
|
-
w ? c({ name: w, description: S }) :
|
|
1293
|
+
}, [s]), V(() => {
|
|
1294
|
+
h.includes("geographical") && k != C && L.setState({ geoLayers: C });
|
|
1295
|
+
}, [C]), V(() => {
|
|
1296
|
+
a(g);
|
|
1297
|
+
}, [g]);
|
|
1298
|
+
const A = () => {
|
|
1299
|
+
w ? c({ name: w, description: S }) : $(!0);
|
|
1300
1300
|
};
|
|
1301
|
-
return
|
|
1302
|
-
|
|
1301
|
+
return V(() => {
|
|
1302
|
+
h.includes("geographical") && y != "geographical" && k.length > 0 && L.setState((R) => ({
|
|
1303
1303
|
geoLayers: R.geoLayers.map((M) => ({
|
|
1304
1304
|
...M,
|
|
1305
1305
|
active: !1
|
|
1306
1306
|
}))
|
|
1307
1307
|
}));
|
|
1308
|
-
}, [
|
|
1308
|
+
}, [y]), /* @__PURE__ */ p("div", { className: te.FiltersAmbitContainer, children: [
|
|
1309
1309
|
/* @__PURE__ */ p("div", { children: [
|
|
1310
|
-
!v && /* @__PURE__ */ p("div", { className:
|
|
1311
|
-
/* @__PURE__ */ i("div", { className:
|
|
1310
|
+
!v && /* @__PURE__ */ p("div", { className: te.FiltersAmbitHeader, children: [
|
|
1311
|
+
/* @__PURE__ */ i("div", { className: te.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1312
1312
|
"input",
|
|
1313
1313
|
{
|
|
1314
1314
|
type: "text",
|
|
1315
1315
|
onChange: (R) => {
|
|
1316
|
-
|
|
1316
|
+
$(!1), x(R.target.value);
|
|
1317
1317
|
},
|
|
1318
1318
|
value: w,
|
|
1319
|
-
placeholder:
|
|
1319
|
+
placeholder: f(u)
|
|
1320
1320
|
}
|
|
1321
1321
|
) }),
|
|
1322
|
-
/* @__PURE__ */ i("div", { className:
|
|
1322
|
+
/* @__PURE__ */ i("div", { className: te.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: te.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1323
1323
|
"textarea",
|
|
1324
1324
|
{
|
|
1325
1325
|
value: S,
|
|
1326
|
-
onChange: (R) =>
|
|
1327
|
-
placeholder:
|
|
1326
|
+
onChange: (R) => T(R.target.value),
|
|
1327
|
+
placeholder: f(m)
|
|
1328
1328
|
}
|
|
1329
1329
|
) }) })
|
|
1330
1330
|
] }),
|
|
1331
1331
|
/* @__PURE__ */ i(
|
|
1332
|
-
|
|
1332
|
+
ft,
|
|
1333
1333
|
{
|
|
1334
|
-
title:
|
|
1335
|
-
isOpen:
|
|
1334
|
+
title: f("applied_filters"),
|
|
1335
|
+
isOpen: y == "applied",
|
|
1336
1336
|
textColor: r || "#fff",
|
|
1337
1337
|
backgroundColor: l || "#605B5680",
|
|
1338
1338
|
activeColor: t
|
|
1339
1339
|
}
|
|
1340
1340
|
),
|
|
1341
|
-
|
|
1342
|
-
|
|
1341
|
+
h.includes("geographical") && /* @__PURE__ */ i(
|
|
1342
|
+
bt,
|
|
1343
1343
|
{
|
|
1344
1344
|
title: "geo_filters",
|
|
1345
1345
|
activeColor: t,
|
|
1346
1346
|
onGeoLayersChange: _
|
|
1347
1347
|
}
|
|
1348
1348
|
),
|
|
1349
|
-
|
|
1350
|
-
|
|
1349
|
+
h.includes("tematical") && /* @__PURE__ */ i(
|
|
1350
|
+
xt,
|
|
1351
1351
|
{
|
|
1352
1352
|
indicators: o,
|
|
1353
1353
|
inputsColor: t,
|
|
@@ -1356,12 +1356,12 @@ const on = "_FiltersAmbitContainer_fj99t_2", rn = "_FiltersAmbitHeader_fj99t_15"
|
|
|
1356
1356
|
activeColor: t
|
|
1357
1357
|
}
|
|
1358
1358
|
),
|
|
1359
|
-
N && /* @__PURE__ */ i("div", { className:
|
|
1359
|
+
N && /* @__PURE__ */ i("div", { className: te.warning, children: f(b) })
|
|
1360
1360
|
] }),
|
|
1361
|
-
!v && /* @__PURE__ */ i("div", { className:
|
|
1361
|
+
!v && /* @__PURE__ */ i("div", { className: te.buttonContainer, children: /* @__PURE__ */ i(Ve, { onClick: () => A(), children: f("save_ambit") }) })
|
|
1362
1362
|
] });
|
|
1363
1363
|
};
|
|
1364
|
-
|
|
1364
|
+
mn.propTypes = {
|
|
1365
1365
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1366
1366
|
ambitName: e.string,
|
|
1367
1367
|
ambitDescription: e.string,
|
|
@@ -1376,9 +1376,9 @@ pn.propTypes = {
|
|
|
1376
1376
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1377
1377
|
nameRequiredText: e.string
|
|
1378
1378
|
};
|
|
1379
|
-
const
|
|
1380
|
-
barChartContainer:
|
|
1381
|
-
},
|
|
1379
|
+
const hn = "_barChartContainer_d2f1z_2", gn = {
|
|
1380
|
+
barChartContainer: hn
|
|
1381
|
+
}, Nt = ({
|
|
1382
1382
|
data: n,
|
|
1383
1383
|
width: d = 700,
|
|
1384
1384
|
barHeight: s = 25,
|
|
@@ -1390,12 +1390,12 @@ const mn = "_barChartContainer_d2f1z_2", hn = {
|
|
|
1390
1390
|
numberOfDivisions: c = 7,
|
|
1391
1391
|
maxValue: u = null
|
|
1392
1392
|
}) => {
|
|
1393
|
-
const { t: m } =
|
|
1393
|
+
const { t: m } = B(), { xScale: h, ticks: b, height: C } = me(() => {
|
|
1394
1394
|
if (n && n.length > 0) {
|
|
1395
|
-
const _ = (n == null ? void 0 : n.length) * (s + o) + r * 2, v = Qe.max(n, (
|
|
1395
|
+
const _ = (n == null ? void 0 : n.length) * (s + o) + r * 2, v = Qe.max(n, (y) => y.value) || 1, f = Qe.scaleLinear().domain([0, u || v]).range([0, d - a]), g = Array.from({ length: c + 1 }, (y, k) => u ? u / c * k : v / c * k);
|
|
1396
1396
|
return {
|
|
1397
|
-
xScale:
|
|
1398
|
-
ticks:
|
|
1397
|
+
xScale: f,
|
|
1398
|
+
ticks: g,
|
|
1399
1399
|
height: _,
|
|
1400
1400
|
width: d,
|
|
1401
1401
|
verticalPaddign: r,
|
|
@@ -1413,22 +1413,22 @@ const mn = "_barChartContainer_d2f1z_2", hn = {
|
|
|
1413
1413
|
r,
|
|
1414
1414
|
u
|
|
1415
1415
|
]);
|
|
1416
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1417
|
-
/* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children:
|
|
1418
|
-
const
|
|
1419
|
-
return /* @__PURE__ */ p("g", { transform: `translate(${
|
|
1416
|
+
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
|
+
/* @__PURE__ */ i("g", { transform: `translate(${a + l}, 0)`, children: b.map((_, v) => {
|
|
1418
|
+
const f = h(_);
|
|
1419
|
+
return /* @__PURE__ */ p("g", { transform: `translate(${f}, 0)`, children: [
|
|
1420
1420
|
/* @__PURE__ */ i(
|
|
1421
1421
|
"line",
|
|
1422
1422
|
{
|
|
1423
1423
|
y1: 0,
|
|
1424
|
-
y2:
|
|
1424
|
+
y2: C - o * 2,
|
|
1425
1425
|
stroke: "#ccc"
|
|
1426
1426
|
}
|
|
1427
1427
|
),
|
|
1428
1428
|
/* @__PURE__ */ i(
|
|
1429
1429
|
"text",
|
|
1430
1430
|
{
|
|
1431
|
-
y:
|
|
1431
|
+
y: C - o,
|
|
1432
1432
|
textAnchor: "middle",
|
|
1433
1433
|
fontSize: 10,
|
|
1434
1434
|
fill: t,
|
|
@@ -1438,11 +1438,11 @@ const mn = "_barChartContainer_d2f1z_2", hn = {
|
|
|
1438
1438
|
] }, v);
|
|
1439
1439
|
}) }),
|
|
1440
1440
|
n && n.length > 0 && (n == null ? void 0 : n.map((_, v) => {
|
|
1441
|
-
const
|
|
1441
|
+
const f = h(_.value), g = v * (s + o);
|
|
1442
1442
|
return /* @__PURE__ */ p(
|
|
1443
1443
|
"g",
|
|
1444
1444
|
{
|
|
1445
|
-
transform: `translate(${a + l}, ${
|
|
1445
|
+
transform: `translate(${a + l}, ${g})`,
|
|
1446
1446
|
children: [
|
|
1447
1447
|
/* @__PURE__ */ i(
|
|
1448
1448
|
"text",
|
|
@@ -1457,7 +1457,7 @@ const mn = "_barChartContainer_d2f1z_2", hn = {
|
|
|
1457
1457
|
/* @__PURE__ */ i(
|
|
1458
1458
|
"rect",
|
|
1459
1459
|
{
|
|
1460
|
-
width:
|
|
1460
|
+
width: f,
|
|
1461
1461
|
height: s,
|
|
1462
1462
|
fill: _.color,
|
|
1463
1463
|
rx: 0
|
|
@@ -1470,7 +1470,7 @@ const mn = "_barChartContainer_d2f1z_2", hn = {
|
|
|
1470
1470
|
}))
|
|
1471
1471
|
] }) }) });
|
|
1472
1472
|
};
|
|
1473
|
-
|
|
1473
|
+
Nt.propTypes = {
|
|
1474
1474
|
data: e.arrayOf(
|
|
1475
1475
|
e.shape({
|
|
1476
1476
|
title: e.string,
|
|
@@ -1486,10 +1486,10 @@ xt.propTypes = {
|
|
|
1486
1486
|
numberOfDivisions: e.number,
|
|
1487
1487
|
fontColor: e.string
|
|
1488
1488
|
};
|
|
1489
|
-
const
|
|
1490
|
-
graphicContainer:
|
|
1491
|
-
titleContainer:
|
|
1492
|
-
},
|
|
1489
|
+
const Cn = "_graphicContainer_c9zrg_2", fn = "_titleContainer_c9zrg_14", tt = {
|
|
1490
|
+
graphicContainer: Cn,
|
|
1491
|
+
titleContainer: fn
|
|
1492
|
+
}, bn = ({
|
|
1493
1493
|
data: n,
|
|
1494
1494
|
graphWidth: d = 700,
|
|
1495
1495
|
containerStyle: s,
|
|
@@ -1500,7 +1500,7 @@ const gn = "_graphicContainer_c9zrg_2", Cn = "_titleContainer_c9zrg_14", tt = {
|
|
|
1500
1500
|
numberOfDivisions: a = 7,
|
|
1501
1501
|
leftPadding: c = 200
|
|
1502
1502
|
}) => {
|
|
1503
|
-
const { t: u } =
|
|
1503
|
+
const { t: u } = B();
|
|
1504
1504
|
return /* @__PURE__ */ p(
|
|
1505
1505
|
"div",
|
|
1506
1506
|
{
|
|
@@ -1512,7 +1512,7 @@ const gn = "_graphicContainer_c9zrg_2", Cn = "_titleContainer_c9zrg_14", tt = {
|
|
|
1512
1512
|
children: [
|
|
1513
1513
|
/* @__PURE__ */ i("div", { className: tt.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
|
|
1514
1514
|
/* @__PURE__ */ i(
|
|
1515
|
-
|
|
1515
|
+
Nt,
|
|
1516
1516
|
{
|
|
1517
1517
|
data: n,
|
|
1518
1518
|
width: d,
|
|
@@ -1526,7 +1526,7 @@ const gn = "_graphicContainer_c9zrg_2", Cn = "_titleContainer_c9zrg_14", tt = {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
);
|
|
1528
1528
|
};
|
|
1529
|
-
|
|
1529
|
+
bn.propTypes = {
|
|
1530
1530
|
data: e.arrayOf(
|
|
1531
1531
|
e.shape({
|
|
1532
1532
|
color: e.string.isRequired,
|
|
@@ -1543,21 +1543,21 @@ fn.propTypes = {
|
|
|
1543
1543
|
numberOfDivisions: e.number,
|
|
1544
1544
|
leftPadding: e.number
|
|
1545
1545
|
};
|
|
1546
|
-
const
|
|
1547
|
-
indicatorsCategory:
|
|
1548
|
-
title:
|
|
1549
|
-
list:
|
|
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",
|
|
1551
|
-
indicatorContainer:
|
|
1552
|
-
indicatorNameContainer:
|
|
1546
|
+
const yn = "_indicatorsCategory_arwy3_2", _n = "_title_arwy3_5", vn = "_list_arwy3_13", Be = {
|
|
1547
|
+
indicatorsCategory: yn,
|
|
1548
|
+
title: _n,
|
|
1549
|
+
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", q = {
|
|
1551
|
+
indicatorContainer: xn,
|
|
1552
|
+
indicatorNameContainer: Nn,
|
|
1553
1553
|
dot: kn,
|
|
1554
|
-
indicatorName:
|
|
1555
|
-
switchExternalContainer:
|
|
1556
|
-
switchType:
|
|
1557
|
-
switchTypeOptions:
|
|
1558
|
-
optionContainer:
|
|
1559
|
-
customRadious:
|
|
1560
|
-
optionText:
|
|
1554
|
+
indicatorName: Sn,
|
|
1555
|
+
switchExternalContainer: $n,
|
|
1556
|
+
switchType: Bn,
|
|
1557
|
+
switchTypeOptions: Tn,
|
|
1558
|
+
optionContainer: Ln,
|
|
1559
|
+
customRadious: Mn,
|
|
1560
|
+
optionText: Dn
|
|
1561
1561
|
}, Ge = ({
|
|
1562
1562
|
indicator: n,
|
|
1563
1563
|
values: d = [],
|
|
@@ -1569,13 +1569,13 @@ const bn = "_indicatorsCategory_arwy3_2", yn = "_title_arwy3_5", _n = "_list_arw
|
|
|
1569
1569
|
multiple: a = !1,
|
|
1570
1570
|
onChangeType: c
|
|
1571
1571
|
}) => {
|
|
1572
|
-
const { t: u } =
|
|
1572
|
+
const { t: u } = B(), { name: m, type: h, disabled: b } = n;
|
|
1573
1573
|
console.log(nt);
|
|
1574
|
-
const [
|
|
1575
|
-
|
|
1574
|
+
const [C, _] = F(!1);
|
|
1575
|
+
V(() => {
|
|
1576
1576
|
t && _(
|
|
1577
1577
|
a ? t.some(
|
|
1578
|
-
(
|
|
1578
|
+
(g) => g.name == String(m)
|
|
1579
1579
|
) : t.name == m
|
|
1580
1580
|
);
|
|
1581
1581
|
}, [t]);
|
|
@@ -1638,7 +1638,7 @@ const bn = "_indicatorsCategory_arwy3_2", yn = "_title_arwy3_5", _n = "_list_arw
|
|
|
1638
1638
|
]
|
|
1639
1639
|
}
|
|
1640
1640
|
)
|
|
1641
|
-
] }) }) }),
|
|
1641
|
+
] }) }) }), f = () => /* @__PURE__ */ i("div", { className: q.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: q.switchType, children: /* @__PURE__ */ i("div", { className: q.switchTypeOptions, children: d.map((g, y) => /* @__PURE__ */ p(
|
|
1642
1642
|
"div",
|
|
1643
1643
|
{
|
|
1644
1644
|
className: q.optionContainer,
|
|
@@ -1649,28 +1649,28 @@ const bn = "_indicatorsCategory_arwy3_2", yn = "_title_arwy3_5", _n = "_list_arw
|
|
|
1649
1649
|
className: q.customRadious
|
|
1650
1650
|
}
|
|
1651
1651
|
),
|
|
1652
|
-
/* @__PURE__ */ i("h4", { children: u(
|
|
1652
|
+
/* @__PURE__ */ i("h4", { children: u(g.unit) })
|
|
1653
1653
|
]
|
|
1654
1654
|
},
|
|
1655
|
-
|
|
1655
|
+
y
|
|
1656
1656
|
)) }) }) });
|
|
1657
1657
|
return /* @__PURE__ */ p("div", { className: q.indicatorContainer, children: [
|
|
1658
1658
|
/* @__PURE__ */ p(
|
|
1659
1659
|
"div",
|
|
1660
1660
|
{
|
|
1661
1661
|
className: q.indicatorNameContainer,
|
|
1662
|
-
onClick: () => !
|
|
1662
|
+
onClick: () => !b && l({ indicator: n }),
|
|
1663
1663
|
children: [
|
|
1664
1664
|
/* @__PURE__ */ i(
|
|
1665
1665
|
"div",
|
|
1666
1666
|
{
|
|
1667
1667
|
style: {
|
|
1668
|
-
border:
|
|
1669
|
-
opacity:
|
|
1670
|
-
backgroundColor:
|
|
1668
|
+
border: C ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1669
|
+
opacity: b ? 0.5 : 1,
|
|
1670
|
+
backgroundColor: C ? s : "transparent"
|
|
1671
1671
|
},
|
|
1672
1672
|
className: q.dot,
|
|
1673
|
-
children: a && /* @__PURE__ */ i("img", { src:
|
|
1673
|
+
children: a && /* @__PURE__ */ i("img", { src: C ? wn : nt, alt: "" })
|
|
1674
1674
|
}
|
|
1675
1675
|
),
|
|
1676
1676
|
/* @__PURE__ */ i(
|
|
@@ -1678,8 +1678,8 @@ const bn = "_indicatorsCategory_arwy3_2", yn = "_title_arwy3_5", _n = "_list_arw
|
|
|
1678
1678
|
{
|
|
1679
1679
|
className: q.indicatorName,
|
|
1680
1680
|
style: {
|
|
1681
|
-
color:
|
|
1682
|
-
opacity:
|
|
1681
|
+
color: C ? s : o,
|
|
1682
|
+
opacity: b ? 0.5 : 1
|
|
1683
1683
|
},
|
|
1684
1684
|
children: /* @__PURE__ */ i(
|
|
1685
1685
|
Ke,
|
|
@@ -1694,8 +1694,8 @@ const bn = "_indicatorsCategory_arwy3_2", yn = "_title_arwy3_5", _n = "_list_arw
|
|
|
1694
1694
|
]
|
|
1695
1695
|
}
|
|
1696
1696
|
),
|
|
1697
|
-
(t == null ? void 0 : t.name) === m &&
|
|
1698
|
-
(t == null ? void 0 : t.name) === m &&
|
|
1697
|
+
(t == null ? void 0 : t.name) === m && h === "both" && /* @__PURE__ */ i("div", { children: v() }),
|
|
1698
|
+
(t == null ? void 0 : t.name) === m && h === "twoUnits" && /* @__PURE__ */ i("div", { children: f() })
|
|
1699
1699
|
] });
|
|
1700
1700
|
};
|
|
1701
1701
|
Ge.propTypes = {
|
|
@@ -1710,8 +1710,8 @@ Ge.propTypes = {
|
|
|
1710
1710
|
multiple: e.bool,
|
|
1711
1711
|
onClickIndicator: e.func
|
|
1712
1712
|
};
|
|
1713
|
-
const
|
|
1714
|
-
indicatorsSubCategory:
|
|
1713
|
+
const Vn = "_indicatorsSubCategory_1nuug_2", Fn = "_list_1nuug_11", it = {
|
|
1714
|
+
indicatorsSubCategory: Vn,
|
|
1715
1715
|
list: Fn
|
|
1716
1716
|
}, kt = ({
|
|
1717
1717
|
subcName: n,
|
|
@@ -1725,30 +1725,30 @@ const Dn = "_indicatorsSubCategory_1nuug_2", Fn = "_list_1nuug_11", it = {
|
|
|
1725
1725
|
onClickIndicator: c,
|
|
1726
1726
|
multiple: u,
|
|
1727
1727
|
activeIndicatorType: m,
|
|
1728
|
-
onChangeType:
|
|
1728
|
+
onChangeType: h
|
|
1729
1729
|
}) => {
|
|
1730
|
-
const { t:
|
|
1731
|
-
return
|
|
1730
|
+
const { t: b } = B(), [C, _] = F(!1);
|
|
1731
|
+
return V(() => {
|
|
1732
1732
|
_(t == l);
|
|
1733
1733
|
}, [t, l]), /* @__PURE__ */ p(
|
|
1734
1734
|
Ue.div,
|
|
1735
1735
|
{
|
|
1736
1736
|
className: it.indicatorsSubCategory,
|
|
1737
1737
|
initial: { height: "43px" },
|
|
1738
|
-
animate: { height:
|
|
1738
|
+
animate: { height: C ? "auto" : "43px" },
|
|
1739
1739
|
transition: { duration: 0.4 },
|
|
1740
1740
|
children: [
|
|
1741
|
-
/* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color:
|
|
1742
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1741
|
+
/* @__PURE__ */ i("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color: C ? o : s }, children: [
|
|
1742
|
+
/* @__PURE__ */ i("span", { style: { color: C ? o : s }, children: C ? "-" : "+" }),
|
|
1743
1743
|
/* @__PURE__ */ i(
|
|
1744
1744
|
"span",
|
|
1745
1745
|
{
|
|
1746
|
-
style: { color:
|
|
1747
|
-
children:
|
|
1746
|
+
style: { color: C ? o : s },
|
|
1747
|
+
children: b(n)
|
|
1748
1748
|
}
|
|
1749
1749
|
)
|
|
1750
1750
|
] }) }),
|
|
1751
|
-
d && /* @__PURE__ */ i("div", { className: it.list, children: d == null ? void 0 : d.map((v,
|
|
1751
|
+
d && /* @__PURE__ */ i("div", { className: it.list, children: d == null ? void 0 : d.map((v, f) => /* @__PURE__ */ i(
|
|
1752
1752
|
Ge,
|
|
1753
1753
|
{
|
|
1754
1754
|
indicator: v,
|
|
@@ -1758,9 +1758,9 @@ const Dn = "_indicatorsSubCategory_1nuug_2", Fn = "_list_1nuug_11", it = {
|
|
|
1758
1758
|
onClickIndicator: c,
|
|
1759
1759
|
multiple: u,
|
|
1760
1760
|
activeIndicatorType: m,
|
|
1761
|
-
onChangeType:
|
|
1761
|
+
onChangeType: h
|
|
1762
1762
|
},
|
|
1763
|
-
"indicator" +
|
|
1763
|
+
"indicator" + f
|
|
1764
1764
|
)) })
|
|
1765
1765
|
]
|
|
1766
1766
|
}
|
|
@@ -1778,7 +1778,7 @@ kt.propTypes = {
|
|
|
1778
1778
|
onClickSubCategory: e.func,
|
|
1779
1779
|
onClickIndicator: e.func
|
|
1780
1780
|
};
|
|
1781
|
-
const
|
|
1781
|
+
const St = ({
|
|
1782
1782
|
cat: n,
|
|
1783
1783
|
id: d,
|
|
1784
1784
|
activeColor: s,
|
|
@@ -1790,12 +1790,12 @@ const Nt = ({
|
|
|
1790
1790
|
activeIndicator: c,
|
|
1791
1791
|
onClickIndicator: u,
|
|
1792
1792
|
multiple: m,
|
|
1793
|
-
activeIndicatorType:
|
|
1794
|
-
onChangeType:
|
|
1793
|
+
activeIndicatorType: h,
|
|
1794
|
+
onChangeType: b
|
|
1795
1795
|
}) => {
|
|
1796
|
-
var
|
|
1797
|
-
const { t:
|
|
1798
|
-
return
|
|
1796
|
+
var f;
|
|
1797
|
+
const { t: C } = B(), [_, v] = F(!1);
|
|
1798
|
+
return V(() => {
|
|
1799
1799
|
v(r === d);
|
|
1800
1800
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1801
1801
|
Ue.div,
|
|
@@ -1816,49 +1816,49 @@ const Nt = ({
|
|
|
1816
1816
|
"span",
|
|
1817
1817
|
{
|
|
1818
1818
|
style: { color: _ ? s : o },
|
|
1819
|
-
children:
|
|
1819
|
+
children: C(n.name)
|
|
1820
1820
|
}
|
|
1821
1821
|
)
|
|
1822
1822
|
] }),
|
|
1823
1823
|
n.subcategories ? n.subcategories.map(
|
|
1824
|
-
({ name:
|
|
1824
|
+
({ name: g, subcategory: y, indicators: k }, w) => /* @__PURE__ */ i(
|
|
1825
1825
|
kt,
|
|
1826
1826
|
{
|
|
1827
|
-
id:
|
|
1827
|
+
id: y,
|
|
1828
1828
|
activeSubCategory: l,
|
|
1829
|
-
subcName:
|
|
1829
|
+
subcName: g,
|
|
1830
1830
|
onClickSubCategory: a,
|
|
1831
1831
|
activeIndicator: c,
|
|
1832
1832
|
onClickIndicator: u,
|
|
1833
1833
|
multiple: m,
|
|
1834
1834
|
activeColor: s,
|
|
1835
1835
|
defaultColor: o,
|
|
1836
|
-
indicators:
|
|
1837
|
-
activeIndicatorType:
|
|
1838
|
-
onChangeType:
|
|
1836
|
+
indicators: k,
|
|
1837
|
+
activeIndicatorType: h,
|
|
1838
|
+
onChangeType: b
|
|
1839
1839
|
},
|
|
1840
1840
|
`subcKey ${w}`
|
|
1841
1841
|
)
|
|
1842
|
-
) : /* @__PURE__ */ i("div", { className: Be.list, children: (
|
|
1842
|
+
) : /* @__PURE__ */ i("div", { className: Be.list, children: (f = n.indicators) == null ? void 0 : f.map((g, y) => /* @__PURE__ */ i(
|
|
1843
1843
|
Ge,
|
|
1844
1844
|
{
|
|
1845
|
-
indicator:
|
|
1846
|
-
values:
|
|
1845
|
+
indicator: g,
|
|
1846
|
+
values: g.type == "twoUnits" && g.values,
|
|
1847
1847
|
activeColor: s,
|
|
1848
1848
|
defaultColor: o,
|
|
1849
1849
|
activeIndicator: c,
|
|
1850
1850
|
onClickIndicator: u,
|
|
1851
1851
|
multiple: m,
|
|
1852
|
-
activeIndicatorType:
|
|
1853
|
-
onChangeType:
|
|
1852
|
+
activeIndicatorType: h,
|
|
1853
|
+
onChangeType: b
|
|
1854
1854
|
},
|
|
1855
|
-
`indicator${
|
|
1855
|
+
`indicator${y}`
|
|
1856
1856
|
)) })
|
|
1857
1857
|
]
|
|
1858
1858
|
}
|
|
1859
1859
|
);
|
|
1860
1860
|
};
|
|
1861
|
-
|
|
1861
|
+
St.propTypes = {
|
|
1862
1862
|
cat: e.object,
|
|
1863
1863
|
id: e.string,
|
|
1864
1864
|
onChange: e.func,
|
|
@@ -1872,10 +1872,10 @@ Nt.propTypes = {
|
|
|
1872
1872
|
activeColor: e.string,
|
|
1873
1873
|
defaultColor: e.string
|
|
1874
1874
|
};
|
|
1875
|
-
const
|
|
1876
|
-
indicatorsList:
|
|
1877
|
-
title:
|
|
1878
|
-
},
|
|
1875
|
+
const An = "_indicatorsList_13b3m_2", In = "_title_13b3m_6", st = {
|
|
1876
|
+
indicatorsList: An,
|
|
1877
|
+
title: In
|
|
1878
|
+
}, On = ({
|
|
1879
1879
|
indicators: n,
|
|
1880
1880
|
activeColor: d,
|
|
1881
1881
|
defaultColor: s = "#92898A",
|
|
@@ -1889,64 +1889,64 @@ const Vn = "_indicatorsList_13b3m_2", An = "_title_13b3m_6", st = {
|
|
|
1889
1889
|
changeIndType: l,
|
|
1890
1890
|
activeIndicatorType: a
|
|
1891
1891
|
}) => {
|
|
1892
|
-
const { t: c } =
|
|
1892
|
+
const { t: c } = B(), [u, m] = F(), [h, b] = F(), [C, _] = F(), v = (w) => {
|
|
1893
1893
|
m(u == w ? null : w);
|
|
1894
|
-
},
|
|
1895
|
-
|
|
1896
|
-
},
|
|
1897
|
-
|
|
1898
|
-
},
|
|
1894
|
+
}, f = (w) => {
|
|
1895
|
+
b(h == w ? null : w);
|
|
1896
|
+
}, g = ({ indicator: w }) => {
|
|
1897
|
+
y(w);
|
|
1898
|
+
}, y = (w) => {
|
|
1899
1899
|
if (!t)
|
|
1900
1900
|
_(
|
|
1901
|
-
(
|
|
1901
|
+
(C == null ? void 0 : C.name) == w.name ? null : w
|
|
1902
1902
|
);
|
|
1903
1903
|
else {
|
|
1904
|
-
let
|
|
1904
|
+
let x = C && C.length > 0 ? [...C] : [];
|
|
1905
1905
|
_(
|
|
1906
|
-
|
|
1906
|
+
x != null && x.some(
|
|
1907
1907
|
(S) => S.name == w.name
|
|
1908
|
-
) ?
|
|
1908
|
+
) ? x.filter(
|
|
1909
1909
|
(S) => S.name != String(w.name)
|
|
1910
|
-
) : [...
|
|
1910
|
+
) : [...x, w]
|
|
1911
1911
|
), w.type == "both" && l("cat");
|
|
1912
1912
|
}
|
|
1913
1913
|
};
|
|
1914
|
-
|
|
1915
|
-
o && typeof o == "function" &&
|
|
1916
|
-
}, [
|
|
1917
|
-
if (r && !
|
|
1914
|
+
V(() => {
|
|
1915
|
+
o && typeof o == "function" && C && o({ activeIndicator: C });
|
|
1916
|
+
}, [C]), Rt(() => {
|
|
1917
|
+
if (r && !C)
|
|
1918
1918
|
if (t && r && Array.isArray(r)) {
|
|
1919
|
-
let w =
|
|
1920
|
-
_([...w, ...r]),
|
|
1919
|
+
let w = C && C.length > 0 ? [...C] : [];
|
|
1920
|
+
_([...w, ...r]), k(r[0].name);
|
|
1921
1921
|
} else
|
|
1922
|
-
|
|
1922
|
+
y(r), k(r.name);
|
|
1923
1923
|
}, []);
|
|
1924
|
-
const
|
|
1925
|
-
const
|
|
1924
|
+
const k = (w) => {
|
|
1925
|
+
const x = n.find((S) => {
|
|
1926
1926
|
if (S.subcategories) {
|
|
1927
|
-
let
|
|
1928
|
-
(N) => N.indicators.find((
|
|
1927
|
+
let T = S.subcategories.find(
|
|
1928
|
+
(N) => N.indicators.find(($) => $.name == w)
|
|
1929
1929
|
);
|
|
1930
|
-
if (
|
|
1931
|
-
return
|
|
1930
|
+
if (T)
|
|
1931
|
+
return b(T.subcategory), T;
|
|
1932
1932
|
} else
|
|
1933
|
-
return S.indicators.some((
|
|
1933
|
+
return S.indicators.some((T) => T.name == w);
|
|
1934
1934
|
});
|
|
1935
|
-
|
|
1935
|
+
x && m(x.category);
|
|
1936
1936
|
};
|
|
1937
1937
|
return /* @__PURE__ */ p("div", { className: st.indicatorsList, children: [
|
|
1938
1938
|
/* @__PURE__ */ i("h2", { className: st.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
1939
|
-
n.map((w,
|
|
1940
|
-
|
|
1939
|
+
n.map((w, x) => /* @__PURE__ */ i(
|
|
1940
|
+
St,
|
|
1941
1941
|
{
|
|
1942
1942
|
id: w.category,
|
|
1943
1943
|
cat: w,
|
|
1944
1944
|
onClickCategory: v,
|
|
1945
1945
|
activeCategory: u,
|
|
1946
|
-
onClickSubCategory:
|
|
1947
|
-
activeSubCategory:
|
|
1948
|
-
onClickIndicator:
|
|
1949
|
-
activeIndicator:
|
|
1946
|
+
onClickSubCategory: f,
|
|
1947
|
+
activeSubCategory: h,
|
|
1948
|
+
onClickIndicator: g,
|
|
1949
|
+
activeIndicator: C,
|
|
1950
1950
|
activeColor: d,
|
|
1951
1951
|
defaultColor: s,
|
|
1952
1952
|
multiple: t,
|
|
@@ -1954,11 +1954,11 @@ const Vn = "_indicatorsList_13b3m_2", An = "_title_13b3m_6", st = {
|
|
|
1954
1954
|
onChangeType: l,
|
|
1955
1955
|
activeIndicatorType: a
|
|
1956
1956
|
},
|
|
1957
|
-
`categoryKey${
|
|
1957
|
+
`categoryKey${x}`
|
|
1958
1958
|
))
|
|
1959
1959
|
] });
|
|
1960
1960
|
};
|
|
1961
|
-
|
|
1961
|
+
On.propTypes = {
|
|
1962
1962
|
indicators: e.arrayOf(e.object),
|
|
1963
1963
|
activeColor: e.string,
|
|
1964
1964
|
defaultColor: e.string,
|
|
@@ -1969,35 +1969,35 @@ In.propTypes = {
|
|
|
1969
1969
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1970
1970
|
activeIndicatorType: e.string
|
|
1971
1971
|
};
|
|
1972
|
-
const
|
|
1973
|
-
langSelector:
|
|
1974
|
-
currentLang:
|
|
1975
|
-
arrow:
|
|
1976
|
-
prevImg:
|
|
1977
|
-
langMenu:
|
|
1978
|
-
},
|
|
1979
|
-
const [o, t] =
|
|
1972
|
+
const Rn = "_langSelector_o9enq_2", qn = "_currentLang_o9enq_14", En = "_arrow_o9enq_26", Pn = "_prevImg_o9enq_29", jn = "_langMenu_o9enq_33", ce = {
|
|
1973
|
+
langSelector: Rn,
|
|
1974
|
+
currentLang: qn,
|
|
1975
|
+
arrow: En,
|
|
1976
|
+
prevImg: Pn,
|
|
1977
|
+
langMenu: jn
|
|
1978
|
+
}, Zn = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1979
|
+
const [o, t] = F(!1), { i18n: r } = B(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1980
1980
|
r.changeLanguage(c), t(!1);
|
|
1981
1981
|
};
|
|
1982
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1982
|
+
return /* @__PURE__ */ p("div", { className: ce.langSelector, children: [
|
|
1983
1983
|
/* @__PURE__ */ p(
|
|
1984
1984
|
"div",
|
|
1985
1985
|
{
|
|
1986
|
-
className:
|
|
1986
|
+
className: ce.currentLang,
|
|
1987
1987
|
onClick: () => {
|
|
1988
1988
|
t(!o);
|
|
1989
1989
|
},
|
|
1990
1990
|
children: [
|
|
1991
|
-
s && /* @__PURE__ */ i("img", { className:
|
|
1991
|
+
s && /* @__PURE__ */ i("img", { className: ce.prevImg, src: s }),
|
|
1992
1992
|
(l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
|
|
1993
|
-
/* @__PURE__ */ i("img", { src: d, className:
|
|
1993
|
+
/* @__PURE__ */ i("img", { src: d, className: ce.arrow })
|
|
1994
1994
|
]
|
|
1995
1995
|
}
|
|
1996
1996
|
),
|
|
1997
|
-
o && /* @__PURE__ */ i("div", { className:
|
|
1997
|
+
o && /* @__PURE__ */ i("div", { className: ce.langMenu, children: n.map((c) => /* @__PURE__ */ i(
|
|
1998
1998
|
"button",
|
|
1999
1999
|
{
|
|
2000
|
-
className: (l == null ? void 0 : l.code) == c.code ?
|
|
2000
|
+
className: (l == null ? void 0 : l.code) == c.code ? ce.active : "",
|
|
2001
2001
|
onClick: () => a(c.code),
|
|
2002
2002
|
children: c.title
|
|
2003
2003
|
},
|
|
@@ -2005,7 +2005,7 @@ const On = "_langSelector_o9enq_2", Rn = "_currentLang_o9enq_14", qn = "_arrow_o
|
|
|
2005
2005
|
)) })
|
|
2006
2006
|
] });
|
|
2007
2007
|
};
|
|
2008
|
-
|
|
2008
|
+
Zn.propTypes = {
|
|
2009
2009
|
langs: e.arrayOf(
|
|
2010
2010
|
e.shape({
|
|
2011
2011
|
code: e.string,
|
|
@@ -2019,23 +2019,23 @@ jn.propTypes = {
|
|
|
2019
2019
|
arrow: e.object,
|
|
2020
2020
|
imgPrev: e.object
|
|
2021
2021
|
};
|
|
2022
|
-
const
|
|
2023
|
-
legendContainer:
|
|
2024
|
-
closeButton:
|
|
2025
|
-
titleContainer:
|
|
2026
|
-
infoContainer:
|
|
2027
|
-
titleLegendList:
|
|
2028
|
-
legendListContainer:
|
|
2029
|
-
gridContainer:
|
|
2030
|
-
elementLegendContainer:
|
|
2031
|
-
colorDot:
|
|
2032
|
-
absoluteValueContainer:
|
|
2033
|
-
absoluteValueColor:
|
|
2034
|
-
absoluteValueText:
|
|
2035
|
-
noDataContainer:
|
|
2036
|
-
noData:
|
|
2037
|
-
moreInfoContainer:
|
|
2038
|
-
},
|
|
2022
|
+
const zn = "_legendContainer_qs4x9_3", Hn = "_closeButton_qs4x9_31", Kn = "_titleContainer_qs4x9_59", Un = "_infoContainer_qs4x9_65", Wn = "_titleLegendList_qs4x9_76", Gn = "_legendListContainer_qs4x9_82", Yn = "_gridContainer_qs4x9_82", Qn = "_elementLegendContainer_qs4x9_88", Xn = "_colorDot_qs4x9_94", Jn = "_absoluteValueContainer_qs4x9_100", e0 = "_absoluteValueColor_qs4x9_103", t0 = "_absoluteValueText_qs4x9_108", n0 = "_noDataContainer_qs4x9_120", i0 = "_noData_qs4x9_120", s0 = "_moreInfoContainer_qs4x9_141", O = {
|
|
2023
|
+
legendContainer: zn,
|
|
2024
|
+
closeButton: Hn,
|
|
2025
|
+
titleContainer: Kn,
|
|
2026
|
+
infoContainer: Un,
|
|
2027
|
+
titleLegendList: Wn,
|
|
2028
|
+
legendListContainer: Gn,
|
|
2029
|
+
gridContainer: Yn,
|
|
2030
|
+
elementLegendContainer: Qn,
|
|
2031
|
+
colorDot: Xn,
|
|
2032
|
+
absoluteValueContainer: Jn,
|
|
2033
|
+
absoluteValueColor: e0,
|
|
2034
|
+
absoluteValueText: t0,
|
|
2035
|
+
noDataContainer: n0,
|
|
2036
|
+
noData: i0,
|
|
2037
|
+
moreInfoContainer: s0
|
|
2038
|
+
}, o0 = ({
|
|
2039
2039
|
//JSON with the styles of the container (optional)
|
|
2040
2040
|
containerStyles: n,
|
|
2041
2041
|
//Title on top of the legend
|
|
@@ -2058,35 +2058,35 @@ const Zn = "_legendContainer_qs4x9_3", zn = "_closeButton_qs4x9_31", Hn = "_titl
|
|
|
2058
2058
|
buttonTitle: a,
|
|
2059
2059
|
onClickClose: c
|
|
2060
2060
|
}) => {
|
|
2061
|
-
const { t: u } =
|
|
2061
|
+
const { t: u } = B();
|
|
2062
2062
|
return /* @__PURE__ */ p(
|
|
2063
2063
|
"div",
|
|
2064
2064
|
{
|
|
2065
2065
|
style: n ? { ...n } : {},
|
|
2066
|
-
className: `${
|
|
2066
|
+
className: `${O.legendContainer}`,
|
|
2067
2067
|
children: [
|
|
2068
|
-
/* @__PURE__ */ i("button", { className:
|
|
2069
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
2070
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2071
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2072
|
-
/* @__PURE__ */ p("span", { className:
|
|
2068
|
+
/* @__PURE__ */ i("button", { className: O.closeButton, onClick: c }),
|
|
2069
|
+
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: m, value: h }) => /* @__PURE__ */ p("li", { children: [
|
|
2071
|
+
/* @__PURE__ */ i("h3", { className: O.title, children: `${m}:` }),
|
|
2072
|
+
/* @__PURE__ */ p("span", { className: O.value, children: [
|
|
2073
2073
|
" ",
|
|
2074
|
-
|
|
2074
|
+
h
|
|
2075
2075
|
] })
|
|
2076
2076
|
] }, d)) }) }),
|
|
2077
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2078
|
-
/* @__PURE__ */ p("div", { className:
|
|
2079
|
-
r ? /* @__PURE__ */ p("div", { className:
|
|
2077
|
+
/* @__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 }) }),
|
|
2078
|
+
/* @__PURE__ */ p("div", { className: O.legendListContainer, children: [
|
|
2079
|
+
r ? /* @__PURE__ */ p("div", { className: O.absoluteValueContainer, children: [
|
|
2080
2080
|
/* @__PURE__ */ i(
|
|
2081
2081
|
"div",
|
|
2082
2082
|
{
|
|
2083
|
-
className:
|
|
2083
|
+
className: O.absoluteValueColor,
|
|
2084
2084
|
style: {
|
|
2085
2085
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
2088
|
),
|
|
2089
|
-
/* @__PURE__ */ p("div", { className:
|
|
2089
|
+
/* @__PURE__ */ p("div", { className: O.absoluteValueText, children: [
|
|
2090
2090
|
/* @__PURE__ */ p("span", { children: [
|
|
2091
2091
|
r.maxValue,
|
|
2092
2092
|
" ",
|
|
@@ -2103,40 +2103,40 @@ const Zn = "_legendContainer_qs4x9_3", zn = "_closeButton_qs4x9_31", Hn = "_titl
|
|
|
2103
2103
|
u(r.unit)
|
|
2104
2104
|
] })
|
|
2105
2105
|
] })
|
|
2106
|
-
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2107
|
-
({ title: m, color:
|
|
2106
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: O.gridContainer, children: o.map(
|
|
2107
|
+
({ title: m, color: h }) => /* @__PURE__ */ p("div", { className: O.elementLegendContainer, children: [
|
|
2108
2108
|
/* @__PURE__ */ i(
|
|
2109
2109
|
"div",
|
|
2110
2110
|
{
|
|
2111
|
-
className:
|
|
2112
|
-
style: { backgroundColor:
|
|
2111
|
+
className: O.colorDot,
|
|
2112
|
+
style: { backgroundColor: h }
|
|
2113
2113
|
}
|
|
2114
2114
|
),
|
|
2115
|
-
/* @__PURE__ */ p("div", { className:
|
|
2115
|
+
/* @__PURE__ */ p("div", { className: O.titleLegendElement, children: [
|
|
2116
2116
|
u(m),
|
|
2117
2117
|
" "
|
|
2118
2118
|
] })
|
|
2119
2119
|
] }, d)
|
|
2120
2120
|
) }),
|
|
2121
|
-
r.noDataColor && /* @__PURE__ */ p("div", { className:
|
|
2121
|
+
r.noDataColor && /* @__PURE__ */ p("div", { className: O.noDataContainer, children: [
|
|
2122
2122
|
/* @__PURE__ */ i(
|
|
2123
2123
|
"div",
|
|
2124
2124
|
{
|
|
2125
|
-
className:
|
|
2125
|
+
className: O.noData,
|
|
2126
2126
|
style: {
|
|
2127
2127
|
background: r.noDataColor
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
2130
|
),
|
|
2131
|
-
/* @__PURE__ */ i("div", { className:
|
|
2131
|
+
/* @__PURE__ */ i("div", { className: O.absoluteValueText, children: /* @__PURE__ */ i("span", { children: u(r.noDataText) }) })
|
|
2132
2132
|
] })
|
|
2133
2133
|
] }),
|
|
2134
|
-
l && /* @__PURE__ */ i("button", { className:
|
|
2134
|
+
l && /* @__PURE__ */ i("button", { className: O.moreInfoContainer, onClick: l, children: a || u("moreInformation") })
|
|
2135
2135
|
]
|
|
2136
2136
|
}
|
|
2137
2137
|
);
|
|
2138
2138
|
};
|
|
2139
|
-
|
|
2139
|
+
o0.propTypes = {
|
|
2140
2140
|
title: e.string,
|
|
2141
2141
|
containerStyles: e.object,
|
|
2142
2142
|
infoList: e.arrayOf(
|
|
@@ -2163,23 +2163,23 @@ s0.propTypes = {
|
|
|
2163
2163
|
onClickClose: e.func,
|
|
2164
2164
|
noDataColor: e.string
|
|
2165
2165
|
};
|
|
2166
|
-
const
|
|
2167
|
-
logo:
|
|
2168
|
-
},
|
|
2169
|
-
const { t: o } =
|
|
2166
|
+
const r0 = "_logo_1ewa6_2", ot = {
|
|
2167
|
+
logo: r0
|
|
2168
|
+
}, a0 = ({ src: n, alt: d, href: s }) => {
|
|
2169
|
+
const { t: o } = B(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2170
2170
|
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
2171
|
};
|
|
2172
|
-
|
|
2172
|
+
a0.propTypes = {
|
|
2173
2173
|
src: e.string.isRequired,
|
|
2174
2174
|
alt: e.string.isRequired,
|
|
2175
2175
|
href: e.string,
|
|
2176
2176
|
className: e.string
|
|
2177
2177
|
};
|
|
2178
|
-
const
|
|
2179
|
-
mapContainer:
|
|
2178
|
+
const l0 = "_mapContainer_84pkf_2", c0 = {
|
|
2179
|
+
mapContainer: l0
|
|
2180
2180
|
};
|
|
2181
|
-
|
|
2182
|
-
const
|
|
2181
|
+
qt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2182
|
+
const d0 = ({
|
|
2183
2183
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2184
2184
|
maxZoom: d = 17,
|
|
2185
2185
|
minZoom: s = 8,
|
|
@@ -2192,19 +2192,19 @@ const c0 = ({
|
|
|
2192
2192
|
sources: u = [],
|
|
2193
2193
|
layers: m = []
|
|
2194
2194
|
}) => {
|
|
2195
|
-
const
|
|
2196
|
-
return
|
|
2197
|
-
if (
|
|
2198
|
-
const v =
|
|
2199
|
-
v.getStyle().layers.map((
|
|
2200
|
-
|
|
2195
|
+
const h = re(), [b, C] = F(null), _ = Et((v) => v.mapState.showTexts);
|
|
2196
|
+
return V(() => {
|
|
2197
|
+
if (h.current) {
|
|
2198
|
+
const v = h.current.getMap();
|
|
2199
|
+
v.getStyle().layers.map((g) => {
|
|
2200
|
+
g.type == "symbol" && g.id != "professionals" && (_ ? v.setLayoutProperty(g.id, "visibility", "visible") : v.setLayoutProperty(g.id, "visibility", "none"));
|
|
2201
2201
|
});
|
|
2202
2202
|
}
|
|
2203
|
-
}, [_]), /* @__PURE__ */ i("div", { className: `${
|
|
2204
|
-
|
|
2203
|
+
}, [_]), /* @__PURE__ */ i("div", { className: `${c0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2204
|
+
Pt,
|
|
2205
2205
|
{
|
|
2206
2206
|
initialViewState: n,
|
|
2207
|
-
ref:
|
|
2207
|
+
ref: h,
|
|
2208
2208
|
hash: !1,
|
|
2209
2209
|
maxZoom: d,
|
|
2210
2210
|
minZoom: s,
|
|
@@ -2212,31 +2212,31 @@ const c0 = ({
|
|
|
2212
2212
|
onClick: l,
|
|
2213
2213
|
interactiveLayerIds: a,
|
|
2214
2214
|
children: [
|
|
2215
|
-
u.length && u.map((v,
|
|
2216
|
-
|
|
2215
|
+
u.length && u.map((v, f) => /* @__PURE__ */ i(
|
|
2216
|
+
jt,
|
|
2217
2217
|
{
|
|
2218
2218
|
...v,
|
|
2219
|
-
children: m.length && m.map((
|
|
2220
|
-
if (
|
|
2221
|
-
|
|
2219
|
+
children: m.length && m.map((g, y) => {
|
|
2220
|
+
if (g.sourceId == v.id) return /* @__PURE__ */ i(
|
|
2221
|
+
Zt,
|
|
2222
2222
|
{
|
|
2223
|
-
...
|
|
2223
|
+
...g.layer,
|
|
2224
2224
|
beforeId: t
|
|
2225
2225
|
},
|
|
2226
|
-
|
|
2226
|
+
y
|
|
2227
2227
|
);
|
|
2228
2228
|
})
|
|
2229
2229
|
},
|
|
2230
|
-
|
|
2230
|
+
f
|
|
2231
2231
|
)),
|
|
2232
|
-
/* @__PURE__ */ i(
|
|
2233
|
-
c &&
|
|
2234
|
-
|
|
2232
|
+
/* @__PURE__ */ i(zt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2233
|
+
c && b && /* @__PURE__ */ i(
|
|
2234
|
+
Ht,
|
|
2235
2235
|
{
|
|
2236
2236
|
longitude: c.longitude,
|
|
2237
2237
|
latitude: c.latitude,
|
|
2238
2238
|
anchor: c.anchor,
|
|
2239
|
-
onClose: () =>
|
|
2239
|
+
onClose: () => C(null),
|
|
2240
2240
|
children: c.content
|
|
2241
2241
|
}
|
|
2242
2242
|
)
|
|
@@ -2244,7 +2244,7 @@ const c0 = ({
|
|
|
2244
2244
|
}
|
|
2245
2245
|
) });
|
|
2246
2246
|
};
|
|
2247
|
-
|
|
2247
|
+
d0.propTypes = {
|
|
2248
2248
|
initialView: e.shape({
|
|
2249
2249
|
latitude: e.number.isRequired,
|
|
2250
2250
|
longitude: e.number.isRequired,
|
|
@@ -2289,13 +2289,13 @@ c0.propTypes = {
|
|
|
2289
2289
|
})
|
|
2290
2290
|
)
|
|
2291
2291
|
};
|
|
2292
|
-
const
|
|
2293
|
-
mapContainer:
|
|
2294
|
-
},
|
|
2295
|
-
FeaturePopUp:
|
|
2296
|
-
title:
|
|
2297
|
-
},
|
|
2298
|
-
const { t: d } =
|
|
2292
|
+
const u0 = "_mapContainer_b0pyr_3", p0 = {
|
|
2293
|
+
mapContainer: u0
|
|
2294
|
+
}, m0 = "_FeaturePopUp_mt8l5_2", h0 = "_title_mt8l5_9", rt = {
|
|
2295
|
+
FeaturePopUp: m0,
|
|
2296
|
+
title: h0
|
|
2297
|
+
}, g0 = ({ props: n }) => {
|
|
2298
|
+
const { t: d } = B();
|
|
2299
2299
|
return /* @__PURE__ */ i("div", { className: rt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ p("p", { children: [
|
|
2300
2300
|
/* @__PURE__ */ p("span", { className: rt.title, children: [
|
|
2301
2301
|
/* @__PURE__ */ i(Ke, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
@@ -2307,7 +2307,7 @@ const d0 = "_mapContainer_b0pyr_3", u0 = {
|
|
|
2307
2307
|
d(s.unit)
|
|
2308
2308
|
] })
|
|
2309
2309
|
] })) });
|
|
2310
|
-
},
|
|
2310
|
+
}, C0 = ({
|
|
2311
2311
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2312
2312
|
maxZoom: d = 17,
|
|
2313
2313
|
minZoom: s = 8,
|
|
@@ -2319,72 +2319,72 @@ const d0 = "_mapContainer_b0pyr_3", u0 = {
|
|
|
2319
2319
|
sources: c = [],
|
|
2320
2320
|
layers: u = [],
|
|
2321
2321
|
popUpParams: m,
|
|
2322
|
-
onClosePopUp:
|
|
2323
|
-
showTexts:
|
|
2324
|
-
hash:
|
|
2322
|
+
onClosePopUp: h,
|
|
2323
|
+
showTexts: b,
|
|
2324
|
+
hash: C = !1
|
|
2325
2325
|
}) => {
|
|
2326
|
-
const _ =
|
|
2327
|
-
return
|
|
2326
|
+
const _ = re();
|
|
2327
|
+
return V(() => {
|
|
2328
2328
|
if (_.current) {
|
|
2329
2329
|
const v = _.current.getMap();
|
|
2330
|
-
v.getStyle().layers.map((
|
|
2331
|
-
|
|
2330
|
+
v.getStyle().layers.map((g) => {
|
|
2331
|
+
g.type == "symbol" && g.id != "professionals" && (b ? v.setLayoutProperty(g.id, "visibility", "visible") : v.setLayoutProperty(g.id, "visibility", "none"));
|
|
2332
2332
|
});
|
|
2333
2333
|
}
|
|
2334
|
-
}, [
|
|
2335
|
-
let v = new
|
|
2336
|
-
return
|
|
2337
|
-
|
|
2334
|
+
}, [b]), V(() => {
|
|
2335
|
+
let v = new Kt();
|
|
2336
|
+
return Fe.addProtocol("pmtiles", v.tile), () => {
|
|
2337
|
+
Fe.removeProtocol("pmtiles");
|
|
2338
2338
|
};
|
|
2339
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2340
|
-
|
|
2339
|
+
}, []), /* @__PURE__ */ i("div", { className: `${p0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2340
|
+
Ut,
|
|
2341
2341
|
{
|
|
2342
|
-
mapLib:
|
|
2342
|
+
mapLib: Fe,
|
|
2343
2343
|
initialViewState: n,
|
|
2344
2344
|
ref: _,
|
|
2345
|
-
hash:
|
|
2345
|
+
hash: C,
|
|
2346
2346
|
maxZoom: d,
|
|
2347
2347
|
minZoom: s,
|
|
2348
2348
|
mapStyle: o,
|
|
2349
2349
|
onClick: l,
|
|
2350
2350
|
interactiveLayerIds: a,
|
|
2351
2351
|
children: [
|
|
2352
|
-
c.length && c.map((v,
|
|
2353
|
-
|
|
2352
|
+
c.length && c.map((v, f) => /* @__PURE__ */ i(
|
|
2353
|
+
Wt,
|
|
2354
2354
|
{
|
|
2355
2355
|
...v,
|
|
2356
|
-
children: u.length && u.map((
|
|
2357
|
-
if (
|
|
2358
|
-
|
|
2356
|
+
children: u.length && u.map((g, y) => {
|
|
2357
|
+
if (g.sourceId == v.id) return /* @__PURE__ */ i(
|
|
2358
|
+
Gt,
|
|
2359
2359
|
{
|
|
2360
|
-
...
|
|
2360
|
+
...g.layer,
|
|
2361
2361
|
beforeId: t,
|
|
2362
|
-
filter:
|
|
2362
|
+
filter: g.filters ? g.filters : ["all"],
|
|
2363
2363
|
layout: {
|
|
2364
|
-
visibility:
|
|
2364
|
+
visibility: g.layer.visibility || "visible"
|
|
2365
2365
|
}
|
|
2366
2366
|
},
|
|
2367
|
-
|
|
2367
|
+
y
|
|
2368
2368
|
);
|
|
2369
2369
|
})
|
|
2370
2370
|
},
|
|
2371
|
-
|
|
2371
|
+
f
|
|
2372
2372
|
)),
|
|
2373
|
-
/* @__PURE__ */ i(
|
|
2373
|
+
/* @__PURE__ */ i(Yt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2374
2374
|
m && /* @__PURE__ */ i(
|
|
2375
|
-
|
|
2375
|
+
Qt,
|
|
2376
2376
|
{
|
|
2377
2377
|
longitude: m.lng,
|
|
2378
2378
|
latitude: m.lat,
|
|
2379
|
-
onClose:
|
|
2380
|
-
children: /* @__PURE__ */ i(
|
|
2379
|
+
onClose: h,
|
|
2380
|
+
children: /* @__PURE__ */ i(g0, { props: m.props })
|
|
2381
2381
|
}
|
|
2382
2382
|
)
|
|
2383
2383
|
]
|
|
2384
2384
|
}
|
|
2385
2385
|
) });
|
|
2386
2386
|
};
|
|
2387
|
-
|
|
2387
|
+
C0.propTypes = {
|
|
2388
2388
|
initialView: e.shape({
|
|
2389
2389
|
latitude: e.number.isRequired,
|
|
2390
2390
|
longitude: e.number.isRequired,
|
|
@@ -2428,14 +2428,14 @@ g0.propTypes = {
|
|
|
2428
2428
|
popUpParams: e.object,
|
|
2429
2429
|
onClosePopUp: e.func
|
|
2430
2430
|
};
|
|
2431
|
-
const
|
|
2432
|
-
sectionBar:
|
|
2433
|
-
leftContent:
|
|
2434
|
-
textContainer:
|
|
2435
|
-
title:
|
|
2436
|
-
subtitle:
|
|
2437
|
-
rightContent:
|
|
2438
|
-
},
|
|
2431
|
+
const f0 = "_sectionBar_1egwc_2", b0 = "_leftContent_1egwc_14", y0 = "_textContainer_1egwc_20", _0 = "_title_1egwc_27", v0 = "_subtitle_1egwc_33", w0 = "_rightContent_1egwc_38", ne = {
|
|
2432
|
+
sectionBar: f0,
|
|
2433
|
+
leftContent: b0,
|
|
2434
|
+
textContainer: y0,
|
|
2435
|
+
title: _0,
|
|
2436
|
+
subtitle: v0,
|
|
2437
|
+
rightContent: w0
|
|
2438
|
+
}, x0 = ({
|
|
2439
2439
|
leftIcon: n,
|
|
2440
2440
|
title: d,
|
|
2441
2441
|
subtitle: s,
|
|
@@ -2444,19 +2444,19 @@ const C0 = "_sectionBar_1egwc_2", f0 = "_leftContent_1egwc_14", b0 = "_textConta
|
|
|
2444
2444
|
width: r,
|
|
2445
2445
|
borderTop: l = !1
|
|
2446
2446
|
}) => {
|
|
2447
|
-
const { t: a } =
|
|
2448
|
-
return /* @__PURE__ */ p("div", { className:
|
|
2449
|
-
/* @__PURE__ */ p("div", { className:
|
|
2450
|
-
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className:
|
|
2451
|
-
/* @__PURE__ */ p("div", { className:
|
|
2452
|
-
/* @__PURE__ */ i("div", { className:
|
|
2453
|
-
s && /* @__PURE__ */ i("div", { className:
|
|
2447
|
+
const { t: a } = B();
|
|
2448
|
+
return /* @__PURE__ */ p("div", { className: ne.sectionBar, style: { width: r && r, borderTop: l ? "1px solid #000" : "0px" }, children: [
|
|
2449
|
+
/* @__PURE__ */ p("div", { className: ne.leftContent, children: [
|
|
2450
|
+
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: ne.icon }),
|
|
2451
|
+
/* @__PURE__ */ p("div", { className: ne.textContainer, children: [
|
|
2452
|
+
/* @__PURE__ */ i("div", { className: ne.title, children: a(d) }),
|
|
2453
|
+
s && /* @__PURE__ */ i("div", { className: ne.subtitle, children: s })
|
|
2454
2454
|
] })
|
|
2455
2455
|
] }),
|
|
2456
|
-
/* @__PURE__ */ i("div", { className:
|
|
2456
|
+
/* @__PURE__ */ i("div", { className: ne.rightContent, children: o })
|
|
2457
2457
|
] });
|
|
2458
2458
|
};
|
|
2459
|
-
|
|
2459
|
+
x0.propTypes = {
|
|
2460
2460
|
leftIcon: e.string,
|
|
2461
2461
|
// URL del icono de la sección
|
|
2462
2462
|
title: e.string.isRequired,
|
|
@@ -2471,7 +2471,7 @@ w0.propTypes = {
|
|
|
2471
2471
|
// ancho de la barra
|
|
2472
2472
|
borderTop: e.bool
|
|
2473
2473
|
};
|
|
2474
|
-
const
|
|
2474
|
+
const N0 = Xt({
|
|
2475
2475
|
name: "mapSlice",
|
|
2476
2476
|
initialState: {
|
|
2477
2477
|
showTexts: !0,
|
|
@@ -2497,12 +2497,12 @@ const x0 = Qt({
|
|
|
2497
2497
|
n.activeIndicatorUnit = d.payload;
|
|
2498
2498
|
}
|
|
2499
2499
|
}
|
|
2500
|
-
}), { setShowTexts: yo, setYear: _o, setActiveIndicatorKey: vo, setActiveIndicatorType: wo, setActiveIndicatorUnit: xo } =
|
|
2501
|
-
slider:
|
|
2502
|
-
playButton:
|
|
2503
|
-
sliderOpen:
|
|
2504
|
-
sliderResults:
|
|
2505
|
-
},
|
|
2500
|
+
}), { setShowTexts: yo, setYear: _o, setActiveIndicatorKey: vo, setActiveIndicatorType: wo, setActiveIndicatorUnit: xo } = N0.actions, k0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", S0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", $0 = "_slider_1prh1_2", B0 = "_playButton_1prh1_14", T0 = "_sliderOpen_1prh1_25", L0 = "_sliderResults_1prh1_29", ge = {
|
|
2501
|
+
slider: $0,
|
|
2502
|
+
playButton: B0,
|
|
2503
|
+
sliderOpen: T0,
|
|
2504
|
+
sliderResults: L0
|
|
2505
|
+
}, M0 = ({
|
|
2506
2506
|
onResults: n = !1,
|
|
2507
2507
|
defaultYear: d = 2025,
|
|
2508
2508
|
firstYear: s = 2025,
|
|
@@ -2513,30 +2513,30 @@ const x0 = Qt({
|
|
|
2513
2513
|
console.log("year changed to ", a);
|
|
2514
2514
|
}
|
|
2515
2515
|
}) => {
|
|
2516
|
-
const [a, c] =
|
|
2517
|
-
c(
|
|
2518
|
-
}, [m,
|
|
2519
|
-
|
|
2520
|
-
},
|
|
2521
|
-
|
|
2516
|
+
const [a, c] = F(d), u = (g, y) => {
|
|
2517
|
+
c(y), l(y);
|
|
2518
|
+
}, [m, h] = F(!1), b = () => {
|
|
2519
|
+
h(!0);
|
|
2520
|
+
}, C = () => {
|
|
2521
|
+
h(!1);
|
|
2522
2522
|
};
|
|
2523
|
-
((
|
|
2524
|
-
const
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
}, [
|
|
2523
|
+
((g, y) => {
|
|
2524
|
+
const k = re();
|
|
2525
|
+
V(() => {
|
|
2526
|
+
k.current = g;
|
|
2527
|
+
}, [g]), V(() => {
|
|
2528
2528
|
function w() {
|
|
2529
|
-
|
|
2529
|
+
k.current();
|
|
2530
2530
|
}
|
|
2531
2531
|
{
|
|
2532
|
-
let
|
|
2533
|
-
return () => clearInterval(
|
|
2532
|
+
let x = setInterval(w, y);
|
|
2533
|
+
return () => clearInterval(x);
|
|
2534
2534
|
}
|
|
2535
|
-
}, [
|
|
2535
|
+
}, [y]);
|
|
2536
2536
|
})(() => {
|
|
2537
2537
|
m && (a != 2050 ? (c(a + 1), l(a + 1)) : (c(2025), l(2025)));
|
|
2538
2538
|
}, 1e3);
|
|
2539
|
-
const v =
|
|
2539
|
+
const v = e2({
|
|
2540
2540
|
palette: {
|
|
2541
2541
|
primary: {
|
|
2542
2542
|
main: "#605b56"
|
|
@@ -2558,14 +2558,14 @@ const x0 = Qt({
|
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
2560
2560
|
}
|
|
2561
|
-
}),
|
|
2561
|
+
}), f = [
|
|
2562
2562
|
{ label: "", value: 2025 },
|
|
2563
2563
|
{ label: "", value: 2032 },
|
|
2564
2564
|
{ label: "", value: 2041 },
|
|
2565
2565
|
{ label: "", value: 2050 }
|
|
2566
2566
|
];
|
|
2567
|
-
return /* @__PURE__ */ i(
|
|
2568
|
-
|
|
2567
|
+
return /* @__PURE__ */ i(n2, { theme: v, children: /* @__PURE__ */ p(
|
|
2568
|
+
t2,
|
|
2569
2569
|
{
|
|
2570
2570
|
sx: { width: 400 },
|
|
2571
2571
|
className: `${n ? ge.sliderResults : ge.slider} ${r ? ge.sliderOpen : ""}`,
|
|
@@ -2573,13 +2573,13 @@ const x0 = Qt({
|
|
|
2573
2573
|
children: [
|
|
2574
2574
|
s,
|
|
2575
2575
|
/* @__PURE__ */ i(
|
|
2576
|
-
|
|
2576
|
+
Jt,
|
|
2577
2577
|
{
|
|
2578
2578
|
"aria-label": "TimeSlider",
|
|
2579
2579
|
value: a,
|
|
2580
2580
|
valueLabelDisplay: "on",
|
|
2581
2581
|
step: 1,
|
|
2582
|
-
marks:
|
|
2582
|
+
marks: f,
|
|
2583
2583
|
min: s,
|
|
2584
2584
|
max: o,
|
|
2585
2585
|
onChange: u,
|
|
@@ -2588,13 +2588,13 @@ const x0 = Qt({
|
|
|
2588
2588
|
}
|
|
2589
2589
|
),
|
|
2590
2590
|
o,
|
|
2591
|
-
!m && /* @__PURE__ */ i("button", { className: ge.playButton, onClick:
|
|
2592
|
-
m && /* @__PURE__ */ i("button", { className: ge.playButton, onClick:
|
|
2591
|
+
!m && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src: k0, alt: "Play" }) }),
|
|
2592
|
+
m && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: C, children: /* @__PURE__ */ i("img", { src: S0, alt: "Pause" }) })
|
|
2593
2593
|
]
|
|
2594
2594
|
}
|
|
2595
2595
|
) });
|
|
2596
2596
|
};
|
|
2597
|
-
|
|
2597
|
+
M0.propTypes = {
|
|
2598
2598
|
defaultYear: e.number,
|
|
2599
2599
|
onResults: e.bool,
|
|
2600
2600
|
firstYear: e.number,
|
|
@@ -2603,11 +2603,11 @@ L0.propTypes = {
|
|
|
2603
2603
|
rightBarOpen: e.bool,
|
|
2604
2604
|
onChange: e.func
|
|
2605
2605
|
};
|
|
2606
|
-
const
|
|
2607
|
-
TopNavMenuContainer:
|
|
2608
|
-
topNavOptions:
|
|
2606
|
+
const D0 = "_TopNavMenuContainer_12mp4_2", V0 = "_topNavOptions_12mp4_13", F0 = "_active_12mp4_27", Oe = {
|
|
2607
|
+
TopNavMenuContainer: D0,
|
|
2608
|
+
topNavOptions: V0,
|
|
2609
2609
|
active: F0
|
|
2610
|
-
},
|
|
2610
|
+
}, A0 = ({
|
|
2611
2611
|
options: n = [],
|
|
2612
2612
|
containerStyles: d,
|
|
2613
2613
|
borderColor: s = "red",
|
|
@@ -2616,9 +2616,9 @@ const M0 = "_TopNavMenuContainer_12mp4_2", D0 = "_topNavOptions_12mp4_13", F0 =
|
|
|
2616
2616
|
console.log("Changed NavLink", r);
|
|
2617
2617
|
}
|
|
2618
2618
|
}) => {
|
|
2619
|
-
const { t: r } =
|
|
2619
|
+
const { t: r } = B();
|
|
2620
2620
|
return /* @__PURE__ */ i("div", { className: Oe.TopNavMenuContainer, style: { ...d }, children: n.map((l, a) => /* @__PURE__ */ i(
|
|
2621
|
-
|
|
2621
|
+
i2,
|
|
2622
2622
|
{
|
|
2623
2623
|
to: l.url,
|
|
2624
2624
|
className: ({ isActive: c }) => `${Oe.topNavOptions} ${c ? Oe.active : ""} `,
|
|
@@ -2632,7 +2632,7 @@ const M0 = "_TopNavMenuContainer_12mp4_2", D0 = "_topNavOptions_12mp4_13", F0 =
|
|
|
2632
2632
|
a
|
|
2633
2633
|
)) });
|
|
2634
2634
|
};
|
|
2635
|
-
|
|
2635
|
+
A0.propTypes = {
|
|
2636
2636
|
options: e.arrayOf(e.object),
|
|
2637
2637
|
cssProps: e.shape({
|
|
2638
2638
|
borderColor: e.string.isRequired,
|
|
@@ -2642,9 +2642,9 @@ V0.propTypes = {
|
|
|
2642
2642
|
// activeColor: PropTypes.string,
|
|
2643
2643
|
// defaultColor: PropTypes.string
|
|
2644
2644
|
};
|
|
2645
|
-
const
|
|
2646
|
-
LogInButton:
|
|
2647
|
-
},
|
|
2645
|
+
const I0 = "_LogInButton_1vxj5_2", O0 = {
|
|
2646
|
+
LogInButton: I0
|
|
2647
|
+
}, R0 = ({
|
|
2648
2648
|
cssClass: n,
|
|
2649
2649
|
notLoggedInLabel: d = "Log in",
|
|
2650
2650
|
loggedInLabel: s = "Log out",
|
|
@@ -2658,18 +2658,18 @@ const A0 = "_LogInButton_1vxj5_2", I0 = {
|
|
|
2658
2658
|
console.log("Logout clicked");
|
|
2659
2659
|
}
|
|
2660
2660
|
}) => {
|
|
2661
|
-
const { t: c } =
|
|
2661
|
+
const { t: c } = B();
|
|
2662
2662
|
return /* @__PURE__ */ i(
|
|
2663
2663
|
"div",
|
|
2664
2664
|
{
|
|
2665
2665
|
style: { ...o },
|
|
2666
|
-
className: `${
|
|
2666
|
+
className: `${O0.LogInButton} link ${n}`,
|
|
2667
2667
|
onClick: r ? a : l,
|
|
2668
2668
|
children: r ? t || c(s) : c(d)
|
|
2669
2669
|
}
|
|
2670
2670
|
);
|
|
2671
2671
|
};
|
|
2672
|
-
|
|
2672
|
+
R0.propTypes = {
|
|
2673
2673
|
cssClass: e.string,
|
|
2674
2674
|
notLoggedInLabel: e.string,
|
|
2675
2675
|
loggedInLabel: e.string,
|
|
@@ -2677,26 +2677,26 @@ O0.propTypes = {
|
|
|
2677
2677
|
userName: e.string,
|
|
2678
2678
|
isLoggedIn: e.bool
|
|
2679
2679
|
};
|
|
2680
|
-
const
|
|
2681
|
-
elementSelector:
|
|
2682
|
-
header:
|
|
2683
|
-
nameDateContainer:
|
|
2684
|
-
elementName:
|
|
2685
|
-
elementDate:
|
|
2686
|
-
buttonsContainer:
|
|
2687
|
-
elementListContainer:
|
|
2688
|
-
newElementButtonContainer:
|
|
2689
|
-
},
|
|
2690
|
-
listElement:
|
|
2691
|
-
elementNameDate:
|
|
2692
|
-
elementNameContainer:
|
|
2693
|
-
elementName:
|
|
2694
|
-
elementDate:
|
|
2695
|
-
elementButtons:
|
|
2680
|
+
const q0 = "_elementSelector_1ox68_2", E0 = "_header_1ox68_14", P0 = "_nameDateContainer_1ox68_24", j0 = "_elementName_1ox68_40", Z0 = "_elementDate_1ox68_54", z0 = "_buttonsContainer_1ox68_68", H0 = "_elementListContainer_1ox68_77", K0 = "_newElementButtonContainer_1ox68_81", U = {
|
|
2681
|
+
elementSelector: q0,
|
|
2682
|
+
header: E0,
|
|
2683
|
+
nameDateContainer: P0,
|
|
2684
|
+
elementName: j0,
|
|
2685
|
+
elementDate: Z0,
|
|
2686
|
+
buttonsContainer: z0,
|
|
2687
|
+
elementListContainer: H0,
|
|
2688
|
+
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", H = {
|
|
2690
|
+
listElement: U0,
|
|
2691
|
+
elementNameDate: W0,
|
|
2692
|
+
elementNameContainer: G0,
|
|
2693
|
+
elementName: Y0,
|
|
2694
|
+
elementDate: Q0,
|
|
2695
|
+
elementButtons: X0,
|
|
2696
2696
|
break: "_break_1evjl_64",
|
|
2697
|
-
moreInfoContainer:
|
|
2698
|
-
moreInfo:
|
|
2699
|
-
}, ei = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", ti = "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", ni = "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", ii = "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", si = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2697
|
+
moreInfoContainer: J0,
|
|
2698
|
+
moreInfo: ei
|
|
2699
|
+
}, ti = "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", ni = "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", ii = "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", si = "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", oi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2700
2700
|
var at;
|
|
2701
2701
|
function ze() {
|
|
2702
2702
|
return ze = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -2707,7 +2707,7 @@ function ze() {
|
|
|
2707
2707
|
return n;
|
|
2708
2708
|
}, ze.apply(null, arguments);
|
|
2709
2709
|
}
|
|
2710
|
-
var
|
|
2710
|
+
var ri = function(d) {
|
|
2711
2711
|
return /* @__PURE__ */ pe.createElement("svg", ze({
|
|
2712
2712
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2713
2713
|
width: 26,
|
|
@@ -2721,7 +2721,7 @@ var oi = function(d) {
|
|
|
2721
2721
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2722
2722
|
}))));
|
|
2723
2723
|
};
|
|
2724
|
-
const
|
|
2724
|
+
const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", $t = ({
|
|
2725
2725
|
listelement: n,
|
|
2726
2726
|
onClickElement: d,
|
|
2727
2727
|
isActive: s,
|
|
@@ -2734,59 +2734,59 @@ const ri = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2734
2734
|
defaultTooltip: u,
|
|
2735
2735
|
showEye: m = !0
|
|
2736
2736
|
}) => {
|
|
2737
|
-
const { name:
|
|
2737
|
+
const { name: h, created_at: b, id: C, isBeingProcessed: _ } = n, [v, f] = F(!1), { t: g } = B();
|
|
2738
2738
|
return /* @__PURE__ */ p(
|
|
2739
2739
|
"div",
|
|
2740
2740
|
{
|
|
2741
|
-
className:
|
|
2741
|
+
className: H.listElement,
|
|
2742
2742
|
style: { borderBottom: `1px solid ${t}` },
|
|
2743
2743
|
children: [
|
|
2744
|
-
/* @__PURE__ */ i("div", { className:
|
|
2745
|
-
m && (s ? /* @__PURE__ */ i(
|
|
2744
|
+
/* @__PURE__ */ i("div", { className: H.elementNameDate, onClick: () => d(C), children: Object.keys(l).map((y) => y === "name" ? /* @__PURE__ */ i("div", { className: H.elementNameContainer, children: /* @__PURE__ */ p("div", { className: H.elementName, children: [
|
|
2745
|
+
m && (s ? /* @__PURE__ */ i(ri, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2746
2746
|
"img",
|
|
2747
2747
|
{
|
|
2748
2748
|
style: { marginRight: 9 },
|
|
2749
|
-
src:
|
|
2749
|
+
src: ai,
|
|
2750
2750
|
alt: "eye"
|
|
2751
2751
|
}
|
|
2752
2752
|
)),
|
|
2753
|
-
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children:
|
|
2754
|
-
] }) }) :
|
|
2755
|
-
/* @__PURE__ */ p("div", { className:
|
|
2753
|
+
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: h })
|
|
2754
|
+
] }) }) : y == "data" ? /* @__PURE__ */ i("div", { className: H.elementDate, children: b ? new Date(b).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: H.elementDate, children: n[y] })) }),
|
|
2755
|
+
/* @__PURE__ */ p("div", { className: H.elementButtons, children: [
|
|
2756
2756
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2757
|
-
/* @__PURE__ */ i("img", { src:
|
|
2758
|
-
/* @__PURE__ */ i(
|
|
2757
|
+
/* @__PURE__ */ i("img", { src: si }),
|
|
2758
|
+
/* @__PURE__ */ i(oe, { text: c, position: "left" })
|
|
2759
2759
|
] }),
|
|
2760
2760
|
a.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2761
|
-
/* @__PURE__ */ i("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2762
|
-
/* @__PURE__ */ i(
|
|
2761
|
+
/* @__PURE__ */ i("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: ii }) }),
|
|
2762
|
+
/* @__PURE__ */ i(oe, { text: a.filter.tooltiptext, position: "left" })
|
|
2763
2763
|
] }),
|
|
2764
2764
|
a.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2765
|
-
/* @__PURE__ */ i("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2766
|
-
/* @__PURE__ */ i(
|
|
2765
|
+
/* @__PURE__ */ i("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: ni }) }),
|
|
2766
|
+
/* @__PURE__ */ i(oe, { text: a.copy.tooltiptext, position: "left" })
|
|
2767
2767
|
] }),
|
|
2768
2768
|
a.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2769
|
-
/* @__PURE__ */ i("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2770
|
-
/* @__PURE__ */ i(
|
|
2769
|
+
/* @__PURE__ */ i("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: ti }) }),
|
|
2770
|
+
/* @__PURE__ */ i(oe, { text: a.trash.tooltiptext, position: "left" })
|
|
2771
2771
|
] }),
|
|
2772
2772
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2773
|
-
/* @__PURE__ */ i("img", { src:
|
|
2774
|
-
/* @__PURE__ */ i(
|
|
2773
|
+
/* @__PURE__ */ i("img", { src: oi }),
|
|
2774
|
+
/* @__PURE__ */ i(oe, { text: u, position: "left" })
|
|
2775
2775
|
] })
|
|
2776
2776
|
] }),
|
|
2777
|
-
r && /* @__PURE__ */ i("div", { className:
|
|
2778
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2779
|
-
/* @__PURE__ */ p("div", { className:
|
|
2777
|
+
r && /* @__PURE__ */ i("div", { className: H.break }),
|
|
2778
|
+
r && /* @__PURE__ */ p("div", { className: H.moreInfoContainer, children: [
|
|
2779
|
+
/* @__PURE__ */ p("div", { className: H.moreInfo, onClick: () => f(!v), children: [
|
|
2780
2780
|
/* @__PURE__ */ i("span", { children: v ? "-" : "+" }),
|
|
2781
|
-
|
|
2781
|
+
g(r.label)
|
|
2782
2782
|
] }),
|
|
2783
|
-
r && v && /* @__PURE__ */ i("div", { className:
|
|
2783
|
+
r && v && /* @__PURE__ */ i("div", { className: H.moreInfoInfo, children: n[r.info] })
|
|
2784
2784
|
] })
|
|
2785
2785
|
]
|
|
2786
2786
|
}
|
|
2787
2787
|
);
|
|
2788
2788
|
};
|
|
2789
|
-
|
|
2789
|
+
$t.propTypes = {
|
|
2790
2790
|
listelement: e.shape({
|
|
2791
2791
|
name: e.string.isRequired,
|
|
2792
2792
|
created_at: e.string,
|
|
@@ -2822,7 +2822,7 @@ St.propTypes = {
|
|
|
2822
2822
|
defaultTooltip: e.string,
|
|
2823
2823
|
showEye: e.bool
|
|
2824
2824
|
};
|
|
2825
|
-
const lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",
|
|
2825
|
+
const lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", li = ({
|
|
2826
2826
|
elementsList: n,
|
|
2827
2827
|
activeElementId: d,
|
|
2828
2828
|
fontColor: s = "#605B56",
|
|
@@ -2838,64 +2838,64 @@ const lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2838
2838
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2839
2839
|
moreInfo: m = !1,
|
|
2840
2840
|
//{label: 'x'}
|
|
2841
|
-
processTooltip:
|
|
2841
|
+
processTooltip: h,
|
|
2842
2842
|
//texto para el tooltip del simbolo "En proceso"
|
|
2843
|
-
defaultTooltip:
|
|
2843
|
+
defaultTooltip: b,
|
|
2844
2844
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2845
|
-
showEye:
|
|
2845
|
+
showEye: C = !0
|
|
2846
2846
|
}) => {
|
|
2847
|
-
const { t: _ } =
|
|
2848
|
-
|
|
2849
|
-
n &&
|
|
2847
|
+
const { t: _ } = B(), [v, f] = F(n);
|
|
2848
|
+
V(() => {
|
|
2849
|
+
n && f(n);
|
|
2850
2850
|
}, [n]);
|
|
2851
|
-
const
|
|
2851
|
+
const g = (y) => {
|
|
2852
2852
|
if (v && v.length > 0) {
|
|
2853
|
-
let
|
|
2854
|
-
|
|
2853
|
+
let k = [...v];
|
|
2854
|
+
k.sort((w, x) => w[y].localeCompare(x[y])), f(k);
|
|
2855
2855
|
}
|
|
2856
2856
|
};
|
|
2857
2857
|
return /* @__PURE__ */ p(
|
|
2858
2858
|
"div",
|
|
2859
2859
|
{
|
|
2860
|
-
className:
|
|
2860
|
+
className: U.elementSelector,
|
|
2861
2861
|
style: { color: s, ...r },
|
|
2862
2862
|
children: [
|
|
2863
2863
|
/* @__PURE__ */ p(
|
|
2864
2864
|
"div",
|
|
2865
2865
|
{
|
|
2866
|
-
className:
|
|
2866
|
+
className: U.header,
|
|
2867
2867
|
style: { borderBottom: `1px solid ${s}` },
|
|
2868
2868
|
children: [
|
|
2869
|
-
/* @__PURE__ */ i("div", { className:
|
|
2869
|
+
/* @__PURE__ */ i("div", { className: U.nameDateContainer, children: Object.keys(c).map((y) => y === "name" ? /* @__PURE__ */ i("div", { className: U.elementName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
|
|
2870
2870
|
/* @__PURE__ */ i("span", { children: _(c.name) }),
|
|
2871
2871
|
/* @__PURE__ */ i("img", { src: lt, alt: "order arrow" })
|
|
2872
|
-
] }) },
|
|
2872
|
+
] }) }, y) : y === "data" ? /* @__PURE__ */ i("div", { className: U.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
|
|
2873
2873
|
/* @__PURE__ */ i("span", { children: _(c.data) }),
|
|
2874
2874
|
/* @__PURE__ */ i("img", { src: lt, alt: "order arrow" })
|
|
2875
|
-
] }) },
|
|
2876
|
-
/* @__PURE__ */ i("div", { className:
|
|
2875
|
+
] }) }, y) : /* @__PURE__ */ i("div", { className: U.elementDate, children: /* @__PURE__ */ i("span", { children: _(c[y]) }) }, y)) }),
|
|
2876
|
+
/* @__PURE__ */ i("div", { className: U.buttonsContainer })
|
|
2877
2877
|
]
|
|
2878
2878
|
}
|
|
2879
2879
|
),
|
|
2880
|
-
/* @__PURE__ */ i("div", { className:
|
|
2881
|
-
|
|
2880
|
+
/* @__PURE__ */ i("div", { className: U.elementListContainer, children: v && v.length > 0 && v.map((y) => /* @__PURE__ */ i(
|
|
2881
|
+
$t,
|
|
2882
2882
|
{
|
|
2883
|
-
isActive: d ==
|
|
2884
|
-
listelement:
|
|
2883
|
+
isActive: d == y.id,
|
|
2884
|
+
listelement: y,
|
|
2885
2885
|
fontColor: s,
|
|
2886
2886
|
activeColor: o,
|
|
2887
2887
|
onClickElement: a,
|
|
2888
2888
|
columns: c,
|
|
2889
2889
|
elementButtons: u,
|
|
2890
2890
|
moreInfo: m,
|
|
2891
|
-
processTooltip:
|
|
2892
|
-
defaultTooltip:
|
|
2893
|
-
showEye:
|
|
2891
|
+
processTooltip: h,
|
|
2892
|
+
defaultTooltip: b,
|
|
2893
|
+
showEye: C
|
|
2894
2894
|
},
|
|
2895
|
-
`elementKey${
|
|
2895
|
+
`elementKey${y.id}`
|
|
2896
2896
|
)) }),
|
|
2897
|
-
l && /* @__PURE__ */ i("div", { className:
|
|
2898
|
-
|
|
2897
|
+
l && /* @__PURE__ */ i("div", { className: U.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2898
|
+
Ve,
|
|
2899
2899
|
{
|
|
2900
2900
|
style: { ...t },
|
|
2901
2901
|
onClick: l.onClick,
|
|
@@ -2908,7 +2908,7 @@ const lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2908
2908
|
}
|
|
2909
2909
|
);
|
|
2910
2910
|
};
|
|
2911
|
-
|
|
2911
|
+
li.propTypes = {
|
|
2912
2912
|
elementsList: e.arrayOf(
|
|
2913
2913
|
e.shape({
|
|
2914
2914
|
name: e.string.isRequired,
|
|
@@ -2955,46 +2955,46 @@ ai.propTypes = {
|
|
|
2955
2955
|
defaultTooltip: e.string,
|
|
2956
2956
|
showEye: e.bool
|
|
2957
2957
|
};
|
|
2958
|
-
const
|
|
2959
|
-
formContainer:
|
|
2960
|
-
categorySelectorContainer:
|
|
2961
|
-
formObjectContainer:
|
|
2962
|
-
buttonContainer:
|
|
2958
|
+
const ci = "_formContainer_asv64_2", di = "_categorySelectorContainer_asv64_11", ui = "_formObjectContainer_asv64_15", pi = "_buttonContainer_asv64_26", Ce = {
|
|
2959
|
+
formContainer: ci,
|
|
2960
|
+
categorySelectorContainer: di,
|
|
2961
|
+
formObjectContainer: ui,
|
|
2962
|
+
buttonContainer: pi
|
|
2963
2963
|
}, fe = {
|
|
2964
2964
|
text: "text",
|
|
2965
2965
|
password: "password",
|
|
2966
2966
|
radioList: "radioList",
|
|
2967
2967
|
select: "select"
|
|
2968
2968
|
};
|
|
2969
|
-
var
|
|
2970
|
-
const
|
|
2971
|
-
var _e = (n) =>
|
|
2969
|
+
var mi = (n) => n.type === "checkbox", hi = (n) => n instanceof Date, Bt = (n) => n == null;
|
|
2970
|
+
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, fi = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, bi = (n, d) => n.has(fi(d)), yi = (n) => {
|
|
2972
2972
|
const d = n.constructor && n.constructor.prototype;
|
|
2973
2973
|
return _e(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2974
|
-
},
|
|
2975
|
-
function
|
|
2974
|
+
}, _i = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2975
|
+
function Tt(n) {
|
|
2976
2976
|
let d;
|
|
2977
2977
|
const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2978
2978
|
if (n instanceof Date)
|
|
2979
2979
|
d = new Date(n);
|
|
2980
|
-
else if (!(
|
|
2981
|
-
if (d = s ? [] : {}, !s && !
|
|
2980
|
+
else if (!(_i && (n instanceof Blob || o)) && (s || _e(n)))
|
|
2981
|
+
if (d = s ? [] : {}, !s && !yi(n))
|
|
2982
2982
|
d = n;
|
|
2983
2983
|
else
|
|
2984
2984
|
for (const t in n)
|
|
2985
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2985
|
+
n.hasOwnProperty(t) && (d[t] = Tt(n[t]));
|
|
2986
2986
|
else
|
|
2987
2987
|
return n;
|
|
2988
2988
|
return d;
|
|
2989
2989
|
}
|
|
2990
|
-
var
|
|
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(/\.|\[/)), P = (n, d, s) => {
|
|
2991
2991
|
if (!d || !_e(n))
|
|
2992
2992
|
return s;
|
|
2993
|
-
const o = (
|
|
2993
|
+
const o = (Lt(d) ? [d] : Mt(d)).reduce((t, r) => Bt(t) ? t : t[r], n);
|
|
2994
2994
|
return He(o) || o === n ? He(n[d]) ? s : n[d] : o;
|
|
2995
2995
|
}, Re = (n) => typeof n == "boolean", ct = (n, d, s) => {
|
|
2996
2996
|
let o = -1;
|
|
2997
|
-
const t =
|
|
2997
|
+
const t = Lt(d) ? [d] : Mt(d), r = t.length, l = r - 1;
|
|
2998
2998
|
for (; ++o < r; ) {
|
|
2999
2999
|
const a = t[o];
|
|
3000
3000
|
let c = s;
|
|
@@ -3012,10 +3012,10 @@ const dt = {
|
|
|
3012
3012
|
CHANGE: "change"
|
|
3013
3013
|
}, ut = {
|
|
3014
3014
|
all: "all"
|
|
3015
|
-
},
|
|
3016
|
-
|
|
3017
|
-
const Ye = () => D.useContext(
|
|
3018
|
-
var
|
|
3015
|
+
}, Dt = D.createContext(null);
|
|
3016
|
+
Dt.displayName = "HookFormContext";
|
|
3017
|
+
const Ye = () => D.useContext(Dt);
|
|
3018
|
+
var wi = (n, d, s, o = !0) => {
|
|
3019
3019
|
const t = {
|
|
3020
3020
|
defaultValues: d._defaultValues
|
|
3021
3021
|
};
|
|
@@ -3028,8 +3028,8 @@ var vi = (n, d, s, o = !0) => {
|
|
|
3028
3028
|
});
|
|
3029
3029
|
return t;
|
|
3030
3030
|
};
|
|
3031
|
-
const
|
|
3032
|
-
function
|
|
3031
|
+
const Vt = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
|
|
3032
|
+
function xi(n) {
|
|
3033
3033
|
const d = Ye(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [l, a] = D.useState(s._formState), c = D.useRef({
|
|
3034
3034
|
isDirty: !1,
|
|
3035
3035
|
isLoading: !1,
|
|
@@ -3040,7 +3040,7 @@ function wi(n) {
|
|
|
3040
3040
|
isValid: !1,
|
|
3041
3041
|
errors: !1
|
|
3042
3042
|
});
|
|
3043
|
-
return
|
|
3043
|
+
return Vt(() => s._subscribe({
|
|
3044
3044
|
name: t,
|
|
3045
3045
|
formState: c.current,
|
|
3046
3046
|
exact: r,
|
|
@@ -3052,12 +3052,12 @@ function wi(n) {
|
|
|
3052
3052
|
}
|
|
3053
3053
|
}), [t, o, r]), D.useEffect(() => {
|
|
3054
3054
|
c.current.isValid && s._setValid(!0);
|
|
3055
|
-
}, [s]), D.useMemo(() =>
|
|
3055
|
+
}, [s]), D.useMemo(() => wi(l, s, c.current, !1), [l, s]);
|
|
3056
3056
|
}
|
|
3057
|
-
var
|
|
3058
|
-
function
|
|
3057
|
+
var Ni = (n) => typeof n == "string", ki = (n, d, s, o, t) => Ni(n) ? P(s, n, t) : Array.isArray(n) ? n.map((r) => P(s, r)) : s;
|
|
3058
|
+
function Si(n) {
|
|
3059
3059
|
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
|
-
return
|
|
3060
|
+
return Vt(() => s._subscribe({
|
|
3061
3061
|
name: o,
|
|
3062
3062
|
formState: {
|
|
3063
3063
|
values: !0
|
|
@@ -3066,13 +3066,13 @@ function Ni(n) {
|
|
|
3066
3066
|
callback: (m) => !r && u(ki(o, s._names, m.values || s._formValues, !1, a.current))
|
|
3067
3067
|
}), [o, s, r, l]), D.useEffect(() => s._removeUnmounted()), c;
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3070
|
-
const d = Ye(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, l =
|
|
3069
|
+
function $i(n) {
|
|
3070
|
+
const d = Ye(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, l = bi(t._names.array, s), a = Si({
|
|
3071
3071
|
control: t,
|
|
3072
3072
|
name: s,
|
|
3073
3073
|
defaultValue: P(t._formValues, s, P(t._defaultValues, s, n.defaultValue)),
|
|
3074
3074
|
exact: !0
|
|
3075
|
-
}), c =
|
|
3075
|
+
}), c = xi({
|
|
3076
3076
|
control: t,
|
|
3077
3077
|
name: s,
|
|
3078
3078
|
exact: !0
|
|
@@ -3080,7 +3080,7 @@ function Si(n) {
|
|
|
3080
3080
|
...n.rules,
|
|
3081
3081
|
value: a,
|
|
3082
3082
|
...Re(n.disabled) ? { disabled: n.disabled } : {}
|
|
3083
|
-
})),
|
|
3083
|
+
})), h = D.useMemo(() => Object.defineProperties({}, {
|
|
3084
3084
|
invalid: {
|
|
3085
3085
|
enumerable: !0,
|
|
3086
3086
|
get: () => !!P(c.errors, s)
|
|
@@ -3101,50 +3101,50 @@ function Si(n) {
|
|
|
3101
3101
|
enumerable: !0,
|
|
3102
3102
|
get: () => P(c.errors, s)
|
|
3103
3103
|
}
|
|
3104
|
-
}), [c, s]),
|
|
3104
|
+
}), [c, s]), b = D.useCallback((f) => m.current.onChange({
|
|
3105
3105
|
target: {
|
|
3106
|
-
value:
|
|
3106
|
+
value: Ci(f),
|
|
3107
3107
|
name: s
|
|
3108
3108
|
},
|
|
3109
3109
|
type: dt.CHANGE
|
|
3110
|
-
}), [s]),
|
|
3110
|
+
}), [s]), C = D.useCallback(() => m.current.onBlur({
|
|
3111
3111
|
target: {
|
|
3112
3112
|
value: P(t._formValues, s),
|
|
3113
3113
|
name: s
|
|
3114
3114
|
},
|
|
3115
3115
|
type: dt.BLUR
|
|
3116
|
-
}), [s, t._formValues]), _ = D.useCallback((
|
|
3117
|
-
const
|
|
3118
|
-
|
|
3119
|
-
focus: () =>
|
|
3120
|
-
select: () =>
|
|
3121
|
-
setCustomValidity: (
|
|
3122
|
-
reportValidity: () =>
|
|
3116
|
+
}), [s, t._formValues]), _ = D.useCallback((f) => {
|
|
3117
|
+
const g = P(t._fields, s);
|
|
3118
|
+
g && f && (g._f.ref = {
|
|
3119
|
+
focus: () => f.focus && f.focus(),
|
|
3120
|
+
select: () => f.select && f.select(),
|
|
3121
|
+
setCustomValidity: (y) => f.setCustomValidity(y),
|
|
3122
|
+
reportValidity: () => f.reportValidity()
|
|
3123
3123
|
});
|
|
3124
3124
|
}, [t._fields, s]), v = D.useMemo(() => ({
|
|
3125
3125
|
name: s,
|
|
3126
3126
|
value: a,
|
|
3127
3127
|
...Re(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3128
|
-
onChange:
|
|
3129
|
-
onBlur:
|
|
3128
|
+
onChange: b,
|
|
3129
|
+
onBlur: C,
|
|
3130
3130
|
ref: _
|
|
3131
|
-
}), [s, o, c.disabled,
|
|
3131
|
+
}), [s, o, c.disabled, b, C, _, a]);
|
|
3132
3132
|
return D.useEffect(() => {
|
|
3133
|
-
const
|
|
3133
|
+
const f = t._options.shouldUnregister || r;
|
|
3134
3134
|
t.register(s, {
|
|
3135
3135
|
...u.current.rules,
|
|
3136
3136
|
...Re(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3137
3137
|
});
|
|
3138
|
-
const
|
|
3139
|
-
const w = P(t._fields,
|
|
3140
|
-
w && w._f && (w._f.mount =
|
|
3138
|
+
const g = (y, k) => {
|
|
3139
|
+
const w = P(t._fields, y);
|
|
3140
|
+
w && w._f && (w._f.mount = k);
|
|
3141
3141
|
};
|
|
3142
|
-
if (
|
|
3143
|
-
const
|
|
3144
|
-
ct(t._defaultValues, s,
|
|
3142
|
+
if (g(s, !0), f) {
|
|
3143
|
+
const y = Tt(P(t._options.defaultValues, s));
|
|
3144
|
+
ct(t._defaultValues, s, y), He(P(t._formValues, s)) && ct(t._formValues, s, y);
|
|
3145
3145
|
}
|
|
3146
3146
|
return !l && t.register(s), () => {
|
|
3147
|
-
(l ?
|
|
3147
|
+
(l ? f && !t._state.action : f) ? t.unregister(s) : g(s, !1);
|
|
3148
3148
|
};
|
|
3149
3149
|
}, [s, t, l, r]), D.useEffect(() => {
|
|
3150
3150
|
t._setDisabledField({
|
|
@@ -3154,23 +3154,23 @@ function Si(n) {
|
|
|
3154
3154
|
}, [o, s, t]), D.useMemo(() => ({
|
|
3155
3155
|
field: v,
|
|
3156
3156
|
formState: c,
|
|
3157
|
-
fieldState:
|
|
3158
|
-
}), [v, c,
|
|
3157
|
+
fieldState: h
|
|
3158
|
+
}), [v, c, h]);
|
|
3159
3159
|
}
|
|
3160
|
-
const ve = (n) => n.render(
|
|
3161
|
-
textInputContainer:
|
|
3162
|
-
labelContainer:
|
|
3163
|
-
inputContainer:
|
|
3164
|
-
showPasswordButton:
|
|
3165
|
-
forgotPassButton:
|
|
3166
|
-
},
|
|
3167
|
-
errorMessage:
|
|
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", be = {
|
|
3161
|
+
textInputContainer: Bi,
|
|
3162
|
+
labelContainer: Ti,
|
|
3163
|
+
inputContainer: Li,
|
|
3164
|
+
showPasswordButton: Mi,
|
|
3165
|
+
forgotPassButton: Di
|
|
3166
|
+
}, Vi = "_errorMessage_1xiyb_2", Fi = {
|
|
3167
|
+
errorMessage: Vi
|
|
3168
3168
|
}, we = ({
|
|
3169
3169
|
errorMessage: n,
|
|
3170
3170
|
errorColor: d = "red",
|
|
3171
3171
|
containerStyles: s
|
|
3172
3172
|
}) => {
|
|
3173
|
-
const { t: o } =
|
|
3173
|
+
const { t: o } = B();
|
|
3174
3174
|
return /* @__PURE__ */ i(
|
|
3175
3175
|
"div",
|
|
3176
3176
|
{
|
|
@@ -3179,7 +3179,7 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3179
3179
|
children: n ? o(n) : ""
|
|
3180
3180
|
}
|
|
3181
3181
|
);
|
|
3182
|
-
}, xe =
|
|
3182
|
+
}, xe = gt((n) => ({
|
|
3183
3183
|
errorColor: "red"
|
|
3184
3184
|
})), pt = ({ input: n, reactHookFormInstance: d }) => {
|
|
3185
3185
|
const {
|
|
@@ -3192,28 +3192,28 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3192
3192
|
placeholder: c,
|
|
3193
3193
|
errorColor: u = "red",
|
|
3194
3194
|
width: m = 325,
|
|
3195
|
-
onClickForgotPass:
|
|
3195
|
+
onClickForgotPass: h = () => {
|
|
3196
3196
|
console.log("Click on forgot password");
|
|
3197
3197
|
},
|
|
3198
|
-
forgotPassLabel:
|
|
3199
|
-
} = n, { t:
|
|
3200
|
-
|
|
3201
|
-
const w = () => o ? o === "password" &&
|
|
3198
|
+
forgotPassLabel: b = "forgot-password"
|
|
3199
|
+
} = n, { t: C } = B(), { control: _, trigger: v, clearErrors: f } = d, { errorColor: g } = xe((x) => x), [y, k] = F(!1);
|
|
3200
|
+
re(l);
|
|
3201
|
+
const w = () => o ? o === "password" && y ? "text" : o : "text";
|
|
3202
3202
|
return /* @__PURE__ */ i(
|
|
3203
3203
|
ve,
|
|
3204
3204
|
{
|
|
3205
3205
|
name: s,
|
|
3206
3206
|
control: _,
|
|
3207
3207
|
rules: {
|
|
3208
|
-
required: l ? `${
|
|
3208
|
+
required: l ? `${C(t)} ${C("errorMessages.required")}` : !1,
|
|
3209
3209
|
maxLength: r || void 0,
|
|
3210
3210
|
validate: a || void 0
|
|
3211
3211
|
},
|
|
3212
|
-
render: ({ field:
|
|
3213
|
-
var
|
|
3212
|
+
render: ({ field: x, fieldState: S }) => {
|
|
3213
|
+
var T;
|
|
3214
3214
|
return /* @__PURE__ */ p("div", { className: be.textInputContainer, children: [
|
|
3215
3215
|
/* @__PURE__ */ p("h3", { className: be.labelContainer, children: [
|
|
3216
|
-
|
|
3216
|
+
C(t),
|
|
3217
3217
|
" ",
|
|
3218
3218
|
l && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3219
3219
|
] }),
|
|
@@ -3227,97 +3227,102 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3227
3227
|
"input",
|
|
3228
3228
|
{
|
|
3229
3229
|
type: w(),
|
|
3230
|
-
...
|
|
3231
|
-
placeholder: c ?
|
|
3230
|
+
...x,
|
|
3231
|
+
placeholder: c ? C(c) : "",
|
|
3232
3232
|
maxLength: r || void 0
|
|
3233
3233
|
}
|
|
3234
3234
|
),
|
|
3235
3235
|
o == "password" && /* @__PURE__ */ i(
|
|
3236
3236
|
"button",
|
|
3237
3237
|
{
|
|
3238
|
-
onClick: () =>
|
|
3238
|
+
onClick: () => k(!y),
|
|
3239
3239
|
type: "button",
|
|
3240
3240
|
className: be.showPasswordButton,
|
|
3241
|
-
children:
|
|
3241
|
+
children: y ? "🙈" : "👁️"
|
|
3242
3242
|
}
|
|
3243
3243
|
)
|
|
3244
3244
|
]
|
|
3245
3245
|
}
|
|
3246
3246
|
),
|
|
3247
|
-
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick:
|
|
3247
|
+
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: h, children: C(b) }) }),
|
|
3248
3248
|
/* @__PURE__ */ i(
|
|
3249
3249
|
we,
|
|
3250
3250
|
{
|
|
3251
|
-
errorMessage: (
|
|
3252
|
-
errorColor:
|
|
3251
|
+
errorMessage: (T = S.error) == null ? void 0 : T.message,
|
|
3252
|
+
errorColor: g || u
|
|
3253
3253
|
}
|
|
3254
3254
|
)
|
|
3255
3255
|
] });
|
|
3256
3256
|
}
|
|
3257
3257
|
}
|
|
3258
3258
|
);
|
|
3259
|
-
},
|
|
3260
|
-
inputsContainer:
|
|
3261
|
-
},
|
|
3262
|
-
selectInputContainer:
|
|
3263
|
-
labelContainer:
|
|
3264
|
-
inputContainer:
|
|
3265
|
-
selectInput:
|
|
3266
|
-
option:
|
|
3267
|
-
dropdownArrow:
|
|
3268
|
-
},
|
|
3259
|
+
}, Ai = "_inputsContainer_10t9s_2", de = {
|
|
3260
|
+
inputsContainer: Ai
|
|
3261
|
+
}, Ii = "_selectInputContainer_1rj0h_2", Oi = "_labelContainer_1rj0h_6", Ri = "_inputContainer_1rj0h_9", qi = "_selectInput_1rj0h_2", Ei = "_option_1rj0h_23", Pi = "_dropdownArrow_1rj0h_26", z = {
|
|
3262
|
+
selectInputContainer: Ii,
|
|
3263
|
+
labelContainer: Oi,
|
|
3264
|
+
inputContainer: Ri,
|
|
3265
|
+
selectInput: qi,
|
|
3266
|
+
option: Ei,
|
|
3267
|
+
dropdownArrow: Pi
|
|
3268
|
+
}, mt = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", ji = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3269
3269
|
const {
|
|
3270
|
-
code:
|
|
3271
|
-
type:
|
|
3272
|
-
label:
|
|
3273
|
-
maxLength:
|
|
3274
|
-
required:
|
|
3275
|
-
validateFunction:
|
|
3276
|
-
placeholder:
|
|
3277
|
-
errorColor:
|
|
3278
|
-
width:
|
|
3279
|
-
options:
|
|
3280
|
-
|
|
3281
|
-
|
|
3270
|
+
code: o,
|
|
3271
|
+
type: t,
|
|
3272
|
+
label: r,
|
|
3273
|
+
maxLength: l,
|
|
3274
|
+
required: a,
|
|
3275
|
+
validateFunction: c,
|
|
3276
|
+
placeholder: u,
|
|
3277
|
+
errorColor: m = "red",
|
|
3278
|
+
width: h = 325,
|
|
3279
|
+
options: b = []
|
|
3280
|
+
//Used if we dont use react hook form
|
|
3281
|
+
} = n, { t: C } = B(), { control: _, trigger: v, clearErrors: f } = d || {}, { errorColor: g } = xe((w) => w);
|
|
3282
|
+
re(a);
|
|
3283
|
+
const [y, k] = F(null);
|
|
3284
|
+
return V(() => {
|
|
3285
|
+
y && s && s(y);
|
|
3286
|
+
}, [y, s]), d ? /* @__PURE__ */ i(
|
|
3282
3287
|
ve,
|
|
3283
3288
|
{
|
|
3284
|
-
name:
|
|
3285
|
-
control:
|
|
3289
|
+
name: o,
|
|
3290
|
+
control: _,
|
|
3286
3291
|
rules: {
|
|
3287
|
-
required:
|
|
3288
|
-
validate:
|
|
3289
|
-
let
|
|
3290
|
-
return
|
|
3292
|
+
required: a ? `${C(r)} ${C("errorMessages.required")}` : !1,
|
|
3293
|
+
validate: c ? (w) => {
|
|
3294
|
+
let x = d.getValues();
|
|
3295
|
+
return c(w, x);
|
|
3291
3296
|
} : void 0
|
|
3292
3297
|
},
|
|
3293
|
-
render: ({ field:
|
|
3294
|
-
var
|
|
3295
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3296
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3297
|
-
|
|
3298
|
+
render: ({ field: w, fieldState: x }) => {
|
|
3299
|
+
var S;
|
|
3300
|
+
return /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3301
|
+
/* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3302
|
+
C(r),
|
|
3298
3303
|
" ",
|
|
3299
|
-
|
|
3304
|
+
a && /* @__PURE__ */ i("label", { style: { color: x.error ? m : "" }, children: "*" })
|
|
3300
3305
|
] }),
|
|
3301
|
-
/* @__PURE__ */ p("div", { className:
|
|
3306
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: h }, children: [
|
|
3302
3307
|
/* @__PURE__ */ p(
|
|
3303
3308
|
"select",
|
|
3304
3309
|
{
|
|
3305
|
-
...
|
|
3306
|
-
onChange: (
|
|
3307
|
-
const
|
|
3308
|
-
|
|
3310
|
+
...w,
|
|
3311
|
+
onChange: (T) => {
|
|
3312
|
+
const N = T.target.value, $ = b.every((A) => typeof A.value == "number") ? Number(N) : N;
|
|
3313
|
+
w.onChange($);
|
|
3309
3314
|
},
|
|
3310
|
-
className:
|
|
3315
|
+
className: z.selectInput,
|
|
3311
3316
|
children: [
|
|
3312
|
-
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3313
|
-
|
|
3317
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: C(u || "selectOption") }),
|
|
3318
|
+
b.map((T, N) => /* @__PURE__ */ i(
|
|
3314
3319
|
"option",
|
|
3315
3320
|
{
|
|
3316
|
-
value:
|
|
3317
|
-
className:
|
|
3318
|
-
children:
|
|
3321
|
+
value: T.value,
|
|
3322
|
+
className: z.option,
|
|
3323
|
+
children: C(T.label)
|
|
3319
3324
|
},
|
|
3320
|
-
|
|
3325
|
+
N
|
|
3321
3326
|
))
|
|
3322
3327
|
]
|
|
3323
3328
|
}
|
|
@@ -3325,24 +3330,56 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3325
3330
|
/* @__PURE__ */ i(
|
|
3326
3331
|
"img",
|
|
3327
3332
|
{
|
|
3328
|
-
src:
|
|
3333
|
+
src: mt,
|
|
3329
3334
|
alt: "Open",
|
|
3330
|
-
className:
|
|
3335
|
+
className: z.dropdownArrow
|
|
3331
3336
|
}
|
|
3332
3337
|
)
|
|
3333
3338
|
] }),
|
|
3334
3339
|
/* @__PURE__ */ i(
|
|
3335
3340
|
we,
|
|
3336
3341
|
{
|
|
3337
|
-
errorMessage: (
|
|
3338
|
-
errorColor:
|
|
3342
|
+
errorMessage: (S = x.error) == null ? void 0 : S.message,
|
|
3343
|
+
errorColor: g || m
|
|
3339
3344
|
}
|
|
3340
3345
|
)
|
|
3341
3346
|
] });
|
|
3342
3347
|
}
|
|
3343
3348
|
}
|
|
3344
|
-
)
|
|
3345
|
-
|
|
3349
|
+
) : /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3350
|
+
/* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3351
|
+
C(r),
|
|
3352
|
+
" ",
|
|
3353
|
+
a && /* @__PURE__ */ i("label", { children: "*" })
|
|
3354
|
+
] }),
|
|
3355
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: h }, children: [
|
|
3356
|
+
/* @__PURE__ */ p(
|
|
3357
|
+
"select",
|
|
3358
|
+
{
|
|
3359
|
+
value: y || "",
|
|
3360
|
+
onChange: (w) => {
|
|
3361
|
+
const x = w.target.value, S = b.every((T) => typeof T.value == "number") ? Number(x) : x;
|
|
3362
|
+
k(S);
|
|
3363
|
+
},
|
|
3364
|
+
className: z.selectInput,
|
|
3365
|
+
children: [
|
|
3366
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: C(u || "selectOption") }),
|
|
3367
|
+
b.map((w, x) => /* @__PURE__ */ i(
|
|
3368
|
+
"option",
|
|
3369
|
+
{
|
|
3370
|
+
value: w.value,
|
|
3371
|
+
className: z.option,
|
|
3372
|
+
children: C(w.label)
|
|
3373
|
+
},
|
|
3374
|
+
x
|
|
3375
|
+
))
|
|
3376
|
+
]
|
|
3377
|
+
}
|
|
3378
|
+
),
|
|
3379
|
+
/* @__PURE__ */ i("img", { src: mt, alt: "Open", className: z.dropdownArrow })
|
|
3380
|
+
] })
|
|
3381
|
+
] });
|
|
3382
|
+
}, Zi = "_radioButtonContainer_1e994_2", zi = "_wholeInputContainer_1e994_5", Hi = "_questionContainer_1e994_27", Ki = "_radioQuestion_1e994_59", Ui = "_inputContainer_1e994_63", Wi = "_radioInput_1e994_93", ie = {
|
|
3346
3383
|
radioButtonContainer: Zi,
|
|
3347
3384
|
wholeInputContainer: zi,
|
|
3348
3385
|
questionContainer: Hi,
|
|
@@ -3358,56 +3395,56 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3358
3395
|
errorColor: l = "red",
|
|
3359
3396
|
options: a = [],
|
|
3360
3397
|
multi: c = !1
|
|
3361
|
-
} = n, { t: u } =
|
|
3362
|
-
if (c &&
|
|
3363
|
-
let
|
|
3364
|
-
|
|
3398
|
+
} = n, { t: u } = B(), { control: m, trigger: h, clearErrors: b } = d, { errorColor: C } = xe((f) => f), _ = ({ options: f, onChange: g, actualValue: y }) => {
|
|
3399
|
+
if (c && y && y.length > 0) {
|
|
3400
|
+
let k = y.filter((w) => w !== f);
|
|
3401
|
+
g(k);
|
|
3365
3402
|
}
|
|
3366
|
-
}, v = ({ options:
|
|
3367
|
-
c ?
|
|
3403
|
+
}, v = ({ options: f, onChange: g, actualValue: y }) => {
|
|
3404
|
+
c ? y && y.length > 0 ? g([...y, f]) : g([f]) : g(f);
|
|
3368
3405
|
};
|
|
3369
|
-
return
|
|
3406
|
+
return re(t), /* @__PURE__ */ i(
|
|
3370
3407
|
ve,
|
|
3371
3408
|
{
|
|
3372
3409
|
control: m,
|
|
3373
3410
|
name: s,
|
|
3374
3411
|
rules: {
|
|
3375
|
-
validate: (
|
|
3412
|
+
validate: (f) => t && (f == null || f === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3376
3413
|
},
|
|
3377
3414
|
render: ({
|
|
3378
|
-
formState: { errors:
|
|
3379
|
-
field: { onChange:
|
|
3380
|
-
fieldState:
|
|
3415
|
+
formState: { errors: f },
|
|
3416
|
+
field: { onChange: g, onBlur: y, value: k, ref: w },
|
|
3417
|
+
fieldState: x
|
|
3381
3418
|
}) => {
|
|
3382
3419
|
var S;
|
|
3383
|
-
return /* @__PURE__ */ i("div", { id: s + "id", className:
|
|
3384
|
-
o && /* @__PURE__ */ i("div", { className:
|
|
3420
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: ie.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: ie.wholeInputContainer, children: [
|
|
3421
|
+
o && /* @__PURE__ */ i("div", { className: ie.questionContainer, children: /* @__PURE__ */ p(
|
|
3385
3422
|
"h3",
|
|
3386
3423
|
{
|
|
3387
3424
|
htmlFor: s + "id",
|
|
3388
|
-
className: `${
|
|
3425
|
+
className: `${ie.radioQuestion} ${t && ie.required}`,
|
|
3389
3426
|
children: [
|
|
3390
3427
|
u(o),
|
|
3391
3428
|
" ",
|
|
3392
3429
|
t && /* @__PURE__ */ i(
|
|
3393
3430
|
"label",
|
|
3394
3431
|
{
|
|
3395
|
-
style: { color:
|
|
3432
|
+
style: { color: x.error ? l : "" },
|
|
3396
3433
|
children: "*"
|
|
3397
3434
|
}
|
|
3398
3435
|
)
|
|
3399
3436
|
]
|
|
3400
3437
|
}
|
|
3401
3438
|
) }),
|
|
3402
|
-
/* @__PURE__ */ p("div", { className:
|
|
3439
|
+
/* @__PURE__ */ p("div", { className: ie.inputContainer, children: [
|
|
3403
3440
|
a.map(
|
|
3404
3441
|
({
|
|
3405
|
-
label:
|
|
3442
|
+
label: T,
|
|
3406
3443
|
value: N,
|
|
3407
|
-
disabled:
|
|
3408
|
-
italicLabel:
|
|
3444
|
+
disabled: $ = !1,
|
|
3445
|
+
italicLabel: A
|
|
3409
3446
|
}, R) => {
|
|
3410
|
-
const M =
|
|
3447
|
+
const M = k && c ? k.isArray && (k == null ? void 0 : k.length) > 0 && k.some((K) => K === N) : k === N;
|
|
3411
3448
|
return /* @__PURE__ */ p("label", { children: [
|
|
3412
3449
|
/* @__PURE__ */ i(
|
|
3413
3450
|
"input",
|
|
@@ -3416,28 +3453,28 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3416
3453
|
checked: M,
|
|
3417
3454
|
onChange: () => {
|
|
3418
3455
|
c ? M ? _({
|
|
3419
|
-
actualValue:
|
|
3456
|
+
actualValue: k,
|
|
3420
3457
|
options: a,
|
|
3421
|
-
onChange:
|
|
3458
|
+
onChange: g
|
|
3422
3459
|
}) : v({
|
|
3423
|
-
actualValue:
|
|
3460
|
+
actualValue: k,
|
|
3424
3461
|
options: a,
|
|
3425
|
-
onChange:
|
|
3426
|
-
}) :
|
|
3462
|
+
onChange: g
|
|
3463
|
+
}) : g(N);
|
|
3427
3464
|
},
|
|
3428
|
-
className:
|
|
3465
|
+
className: ie.radioInput
|
|
3429
3466
|
}
|
|
3430
3467
|
),
|
|
3431
3468
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3432
|
-
u(
|
|
3469
|
+
u(T)
|
|
3433
3470
|
] }, `inputRadio ${R}`);
|
|
3434
3471
|
}
|
|
3435
3472
|
),
|
|
3436
3473
|
/* @__PURE__ */ i(
|
|
3437
3474
|
we,
|
|
3438
3475
|
{
|
|
3439
|
-
errorMessage: (S =
|
|
3440
|
-
errorColor:
|
|
3476
|
+
errorMessage: (S = x.error) == null ? void 0 : S.message,
|
|
3477
|
+
errorColor: C || l
|
|
3441
3478
|
}
|
|
3442
3479
|
)
|
|
3443
3480
|
] })
|
|
@@ -3445,7 +3482,7 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3445
3482
|
}
|
|
3446
3483
|
}
|
|
3447
3484
|
);
|
|
3448
|
-
}, Yi = "_rankingSliderContainer_1lekm_2", Qi = "_labelContainer_1lekm_6", Xi = "_inputContainer_1lekm_10", Ji = "_slider_1lekm_20", es = "_thumb_1lekm_27", ts = "_labels_1lekm_37", ns = "_minLabel_1lekm_67", is = "_maxLabel_1lekm_67",
|
|
3485
|
+
}, Yi = "_rankingSliderContainer_1lekm_2", Qi = "_labelContainer_1lekm_6", Xi = "_inputContainer_1lekm_10", Ji = "_slider_1lekm_20", es = "_thumb_1lekm_27", ts = "_labels_1lekm_37", ns = "_minLabel_1lekm_67", is = "_maxLabel_1lekm_67", I = {
|
|
3449
3486
|
rankingSliderContainer: Yi,
|
|
3450
3487
|
labelContainer: Qi,
|
|
3451
3488
|
inputContainer: Xi,
|
|
@@ -3465,41 +3502,41 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3465
3502
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3466
3503
|
required: u,
|
|
3467
3504
|
errorColor: m = "red",
|
|
3468
|
-
labelWidth:
|
|
3469
|
-
sliderWidth:
|
|
3470
|
-
minText:
|
|
3505
|
+
labelWidth: h = "300px",
|
|
3506
|
+
sliderWidth: b = "300px",
|
|
3507
|
+
minText: C,
|
|
3471
3508
|
maxText: _,
|
|
3472
3509
|
disabled: v = !1,
|
|
3473
|
-
marks:
|
|
3510
|
+
marks: f = Array.from(
|
|
3474
3511
|
{ length: l - r + 1 },
|
|
3475
|
-
(
|
|
3512
|
+
($, A) => r + A
|
|
3476
3513
|
),
|
|
3477
|
-
showMarksNumber:
|
|
3478
|
-
} = n, { t:
|
|
3479
|
-
|
|
3480
|
-
const { errorColorForm: S } = xe((
|
|
3514
|
+
showMarksNumber: g = !0
|
|
3515
|
+
} = n, { t: y } = B(), { control: k, trigger: w, clearErrors: x } = d || {};
|
|
3516
|
+
re(u);
|
|
3517
|
+
const { errorColorForm: S } = xe(($) => $), [T, N] = F(a);
|
|
3481
3518
|
return d ? /* @__PURE__ */ i(
|
|
3482
3519
|
ve,
|
|
3483
3520
|
{
|
|
3484
3521
|
name: o,
|
|
3485
|
-
control:
|
|
3522
|
+
control: k,
|
|
3486
3523
|
defaultValue: a,
|
|
3487
3524
|
rules: {
|
|
3488
|
-
required: u ? `${
|
|
3525
|
+
required: u ? `${y(t)} ${y("errorMessages.required")}` : !1
|
|
3489
3526
|
},
|
|
3490
|
-
render: ({ field:
|
|
3527
|
+
render: ({ field: $, fieldState: A }) => {
|
|
3491
3528
|
var R;
|
|
3492
3529
|
return /* @__PURE__ */ p(
|
|
3493
3530
|
"div",
|
|
3494
3531
|
{
|
|
3495
|
-
className:
|
|
3532
|
+
className: I.rankingSliderContainer,
|
|
3496
3533
|
style: {
|
|
3497
|
-
gridTemplateColumns: `${t &&
|
|
3534
|
+
gridTemplateColumns: `${t && h} ${b}`
|
|
3498
3535
|
},
|
|
3499
3536
|
children: [
|
|
3500
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3501
|
-
/* @__PURE__ */ p("div", { className:
|
|
3502
|
-
|
|
3537
|
+
t && /* @__PURE__ */ i("p", { className: I.labelContainer, children: y(t) }),
|
|
3538
|
+
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3539
|
+
C && /* @__PURE__ */ i("div", { className: I.minLabel, children: y(C) }),
|
|
3503
3540
|
/* @__PURE__ */ p("div", { children: [
|
|
3504
3541
|
/* @__PURE__ */ i(
|
|
3505
3542
|
Ze,
|
|
@@ -3507,11 +3544,11 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3507
3544
|
min: r,
|
|
3508
3545
|
max: l,
|
|
3509
3546
|
step: 1,
|
|
3510
|
-
value:
|
|
3511
|
-
onChange: (M) =>
|
|
3547
|
+
value: $.value ?? a,
|
|
3548
|
+
onChange: (M) => $.onChange(M),
|
|
3512
3549
|
marks: !0,
|
|
3513
|
-
className:
|
|
3514
|
-
thumbClassName:
|
|
3550
|
+
className: I.slider,
|
|
3551
|
+
thumbClassName: I.thumb,
|
|
3515
3552
|
renderThumb: (M) => /* @__PURE__ */ i(
|
|
3516
3553
|
"div",
|
|
3517
3554
|
{
|
|
@@ -3519,19 +3556,19 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3519
3556
|
style: { ...M.style, backgroundColor: c }
|
|
3520
3557
|
}
|
|
3521
3558
|
),
|
|
3522
|
-
trackClassName:
|
|
3523
|
-
markClassName:
|
|
3559
|
+
trackClassName: I.track,
|
|
3560
|
+
markClassName: I.mark,
|
|
3524
3561
|
disabled: v
|
|
3525
3562
|
}
|
|
3526
3563
|
),
|
|
3527
|
-
|
|
3564
|
+
f && /* @__PURE__ */ i("div", { className: I.labels, children: f.map((M) => /* @__PURE__ */ i("span", { children: g && M }, M)) })
|
|
3528
3565
|
] }),
|
|
3529
|
-
_ && /* @__PURE__ */ i("div", { className:
|
|
3566
|
+
_ && /* @__PURE__ */ i("div", { className: I.maxLabel, children: y(_) })
|
|
3530
3567
|
] }),
|
|
3531
3568
|
/* @__PURE__ */ i(
|
|
3532
3569
|
we,
|
|
3533
3570
|
{
|
|
3534
|
-
errorMessage: (R =
|
|
3571
|
+
errorMessage: (R = A.error) == null ? void 0 : R.message,
|
|
3535
3572
|
errorColor: S || m
|
|
3536
3573
|
}
|
|
3537
3574
|
)
|
|
@@ -3543,12 +3580,12 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3543
3580
|
) : /* @__PURE__ */ p(
|
|
3544
3581
|
"div",
|
|
3545
3582
|
{
|
|
3546
|
-
className:
|
|
3547
|
-
style: { gridTemplateColumns: `${t &&
|
|
3583
|
+
className: I.rankingSliderContainer,
|
|
3584
|
+
style: { gridTemplateColumns: `${t && h} ${b}` },
|
|
3548
3585
|
children: [
|
|
3549
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3550
|
-
/* @__PURE__ */ p("div", { className:
|
|
3551
|
-
|
|
3586
|
+
t && /* @__PURE__ */ i("p", { className: I.labelContainer, children: y(t) }),
|
|
3587
|
+
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3588
|
+
C && /* @__PURE__ */ i("div", { className: I.minLabel, children: y(C) }),
|
|
3552
3589
|
/* @__PURE__ */ p("div", { children: [
|
|
3553
3590
|
/* @__PURE__ */ i(
|
|
3554
3591
|
Ze,
|
|
@@ -3556,28 +3593,28 @@ const ve = (n) => n.render(Si(n)), $i = "_textInputContainer_1o3iy_2", Bi = "_la
|
|
|
3556
3593
|
min: r,
|
|
3557
3594
|
max: l,
|
|
3558
3595
|
step: 1,
|
|
3559
|
-
value:
|
|
3560
|
-
onChange: (
|
|
3561
|
-
N(
|
|
3596
|
+
value: T,
|
|
3597
|
+
onChange: ($) => {
|
|
3598
|
+
N($), s && s($);
|
|
3562
3599
|
},
|
|
3563
3600
|
marks: !0,
|
|
3564
|
-
className:
|
|
3565
|
-
thumbClassName:
|
|
3566
|
-
renderThumb: (
|
|
3601
|
+
className: I.slider,
|
|
3602
|
+
thumbClassName: I.thumb,
|
|
3603
|
+
renderThumb: ($) => /* @__PURE__ */ i(
|
|
3567
3604
|
"div",
|
|
3568
3605
|
{
|
|
3569
|
-
|
|
3570
|
-
style: {
|
|
3606
|
+
...$,
|
|
3607
|
+
style: { ...$.style, backgroundColor: c }
|
|
3571
3608
|
}
|
|
3572
3609
|
),
|
|
3573
|
-
trackClassName:
|
|
3574
|
-
markClassName:
|
|
3610
|
+
trackClassName: I.track,
|
|
3611
|
+
markClassName: I.mark,
|
|
3575
3612
|
disabled: v
|
|
3576
3613
|
}
|
|
3577
3614
|
),
|
|
3578
|
-
|
|
3615
|
+
f && /* @__PURE__ */ i("div", { className: I.labels, children: f.map(($) => /* @__PURE__ */ i("span", { children: g && $ }, $)) })
|
|
3579
3616
|
] }),
|
|
3580
|
-
_ && /* @__PURE__ */ i("div", { className:
|
|
3617
|
+
_ && /* @__PURE__ */ i("div", { className: I.maxLabel, children: y(_) })
|
|
3581
3618
|
] })
|
|
3582
3619
|
]
|
|
3583
3620
|
}
|
|
@@ -3614,14 +3651,14 @@ const ye = ({
|
|
|
3614
3651
|
required: a
|
|
3615
3652
|
};
|
|
3616
3653
|
}), [n, t]);
|
|
3617
|
-
return /* @__PURE__ */ i("div", { className:
|
|
3654
|
+
return /* @__PURE__ */ i("div", { className: de.inputsContainer, children: r == null ? void 0 : r.map((l, a) => {
|
|
3618
3655
|
const { inputType: c } = l;
|
|
3619
3656
|
switch (c) {
|
|
3620
3657
|
case fe.text:
|
|
3621
3658
|
return /* @__PURE__ */ i(
|
|
3622
3659
|
"div",
|
|
3623
3660
|
{
|
|
3624
|
-
className:
|
|
3661
|
+
className: de.inputContainer,
|
|
3625
3662
|
style: { ...d },
|
|
3626
3663
|
children: /* @__PURE__ */ i(
|
|
3627
3664
|
pt,
|
|
@@ -3637,7 +3674,7 @@ const ye = ({
|
|
|
3637
3674
|
return /* @__PURE__ */ i(
|
|
3638
3675
|
"div",
|
|
3639
3676
|
{
|
|
3640
|
-
className:
|
|
3677
|
+
className: de.inputContainer,
|
|
3641
3678
|
style: { ...d },
|
|
3642
3679
|
children: /* @__PURE__ */ i(
|
|
3643
3680
|
pt,
|
|
@@ -3653,7 +3690,7 @@ const ye = ({
|
|
|
3653
3690
|
return /* @__PURE__ */ i(
|
|
3654
3691
|
"div",
|
|
3655
3692
|
{
|
|
3656
|
-
className:
|
|
3693
|
+
className: de.inputContainer,
|
|
3657
3694
|
style: { ...d },
|
|
3658
3695
|
children: /* @__PURE__ */ i(
|
|
3659
3696
|
ji,
|
|
@@ -3669,7 +3706,7 @@ const ye = ({
|
|
|
3669
3706
|
return /* @__PURE__ */ i(
|
|
3670
3707
|
"div",
|
|
3671
3708
|
{
|
|
3672
|
-
className:
|
|
3709
|
+
className: de.inputContainer,
|
|
3673
3710
|
style: { ...d },
|
|
3674
3711
|
children: /* @__PURE__ */ i(
|
|
3675
3712
|
Gi,
|
|
@@ -3685,7 +3722,7 @@ const ye = ({
|
|
|
3685
3722
|
return /* @__PURE__ */ i(
|
|
3686
3723
|
"div",
|
|
3687
3724
|
{
|
|
3688
|
-
className:
|
|
3725
|
+
className: de.inputContainer,
|
|
3689
3726
|
style: { ...d },
|
|
3690
3727
|
children: /* @__PURE__ */ i(
|
|
3691
3728
|
Ft,
|
|
@@ -3705,13 +3742,13 @@ const ye = ({
|
|
|
3705
3742
|
categorySelector: ss,
|
|
3706
3743
|
sectionItemActive: os,
|
|
3707
3744
|
sectionItem: rs
|
|
3708
|
-
},
|
|
3745
|
+
}, ht = ({
|
|
3709
3746
|
categories: n,
|
|
3710
3747
|
onChange: d,
|
|
3711
3748
|
activeCategory: s,
|
|
3712
3749
|
activeColor: o
|
|
3713
3750
|
}) => {
|
|
3714
|
-
const { t } =
|
|
3751
|
+
const { t } = B(), r = (l) => {
|
|
3715
3752
|
d(l);
|
|
3716
3753
|
};
|
|
3717
3754
|
return /* @__PURE__ */ i("div", { className: Te.categorySelector, children: n.map((l, a) => {
|
|
@@ -3735,7 +3772,7 @@ const ye = ({
|
|
|
3735
3772
|
`keySection${a}`
|
|
3736
3773
|
);
|
|
3737
3774
|
}) });
|
|
3738
|
-
},
|
|
3775
|
+
}, No = ({
|
|
3739
3776
|
reactHookFormInstance: n,
|
|
3740
3777
|
formObject: d,
|
|
3741
3778
|
CategoryComponent: s,
|
|
@@ -3747,36 +3784,36 @@ const ye = ({
|
|
|
3747
3784
|
showCategorySelector: c = !0,
|
|
3748
3785
|
defaultCategory: u = null,
|
|
3749
3786
|
categoryLabel: m = "Select Category",
|
|
3750
|
-
activeCategory:
|
|
3751
|
-
activeCategoryColor:
|
|
3752
|
-
onSubmit:
|
|
3787
|
+
activeCategory: h = null,
|
|
3788
|
+
activeCategoryColor: b = "#b32f5d",
|
|
3789
|
+
onSubmit: C = (_) => console.log("Form submitted with: ", _)
|
|
3753
3790
|
}) => {
|
|
3754
|
-
const { t: _ } =
|
|
3755
|
-
|
|
3791
|
+
const { t: _ } = B(), { handleSubmit: v, control: f } = n;
|
|
3792
|
+
V(() => {
|
|
3756
3793
|
r && xe.setState(() => ({ errorColor: r }));
|
|
3757
3794
|
}, [r]);
|
|
3758
|
-
const
|
|
3759
|
-
var
|
|
3795
|
+
const g = me(() => d ? d.filter((N) => N.category).map((N) => {
|
|
3796
|
+
var $;
|
|
3760
3797
|
return {
|
|
3761
3798
|
id: N.categoryId,
|
|
3762
3799
|
label: N.category,
|
|
3763
|
-
hasSubcategories: ((
|
|
3800
|
+
hasSubcategories: (($ = N.subcategories) == null ? void 0 : $.length) > 0
|
|
3764
3801
|
};
|
|
3765
|
-
}) : [], [d]),
|
|
3766
|
-
const
|
|
3767
|
-
return (
|
|
3768
|
-
}, [
|
|
3769
|
-
|
|
3770
|
-
), [
|
|
3771
|
-
|
|
3772
|
-
!
|
|
3773
|
-
}, [
|
|
3774
|
-
const N =
|
|
3775
|
-
!
|
|
3776
|
-
}, [
|
|
3777
|
-
const
|
|
3778
|
-
var
|
|
3779
|
-
if (((
|
|
3802
|
+
}) : [], [d]), y = (N) => {
|
|
3803
|
+
const $ = d == null ? void 0 : d.find((A) => A.categoryId === N);
|
|
3804
|
+
return ($ == null ? void 0 : $.subcategories) || [];
|
|
3805
|
+
}, [k, w] = F(
|
|
3806
|
+
h || u || null
|
|
3807
|
+
), [x, S] = F(null);
|
|
3808
|
+
V(() => {
|
|
3809
|
+
!k && g.length > 0 && w(g[0].id);
|
|
3810
|
+
}, [g, k]), V(() => {
|
|
3811
|
+
const N = y(k);
|
|
3812
|
+
!x && (N == null ? void 0 : N.length) > 0 && S(N[0].id);
|
|
3813
|
+
}, [k, x, d]);
|
|
3814
|
+
const T = (N, $) => {
|
|
3815
|
+
var A;
|
|
3816
|
+
if (((A = N.subcategories) == null ? void 0 : A.length) > 0) {
|
|
3780
3817
|
const R = N.subcategories;
|
|
3781
3818
|
return /* @__PURE__ */ p("div", { children: [
|
|
3782
3819
|
/* @__PURE__ */ i(
|
|
@@ -3784,19 +3821,19 @@ const ye = ({
|
|
|
3784
3821
|
{
|
|
3785
3822
|
className: Ce.categorySelectorContainer,
|
|
3786
3823
|
children: /* @__PURE__ */ i(
|
|
3787
|
-
|
|
3824
|
+
ht,
|
|
3788
3825
|
{
|
|
3789
|
-
activeCategory:
|
|
3826
|
+
activeCategory: x,
|
|
3790
3827
|
categories: R,
|
|
3791
3828
|
onChange: (M) => S(M),
|
|
3792
|
-
activeColor:
|
|
3829
|
+
activeColor: b
|
|
3793
3830
|
}
|
|
3794
3831
|
)
|
|
3795
3832
|
},
|
|
3796
3833
|
N.categoryId
|
|
3797
3834
|
),
|
|
3798
|
-
R.map((M,
|
|
3799
|
-
const Z = !
|
|
3835
|
+
R.map((M, K) => {
|
|
3836
|
+
const Z = !x || M.id === x;
|
|
3800
3837
|
return s ? /* @__PURE__ */ i(
|
|
3801
3838
|
"div",
|
|
3802
3839
|
{
|
|
@@ -3808,14 +3845,14 @@ const ye = ({
|
|
|
3808
3845
|
ye,
|
|
3809
3846
|
{
|
|
3810
3847
|
inputs: M.inputs,
|
|
3811
|
-
control:
|
|
3848
|
+
control: f,
|
|
3812
3849
|
inputContainerStyles: o,
|
|
3813
3850
|
errorColor: r,
|
|
3814
3851
|
reactHookFormInstance: n
|
|
3815
3852
|
}
|
|
3816
3853
|
) }, M.id)
|
|
3817
3854
|
},
|
|
3818
|
-
`${M.id}${
|
|
3855
|
+
`${M.id}${K}`
|
|
3819
3856
|
) : /* @__PURE__ */ p(
|
|
3820
3857
|
"div",
|
|
3821
3858
|
{
|
|
@@ -3829,7 +3866,7 @@ const ye = ({
|
|
|
3829
3866
|
ye,
|
|
3830
3867
|
{
|
|
3831
3868
|
inputs: M.inputs,
|
|
3832
|
-
control:
|
|
3869
|
+
control: f,
|
|
3833
3870
|
inputContainerStyles: o,
|
|
3834
3871
|
errorColor: r,
|
|
3835
3872
|
reactHookFormInstance: n
|
|
@@ -3837,7 +3874,7 @@ const ye = ({
|
|
|
3837
3874
|
)
|
|
3838
3875
|
]
|
|
3839
3876
|
},
|
|
3840
|
-
`${M.id}${
|
|
3877
|
+
`${M.id}${K}`
|
|
3841
3878
|
);
|
|
3842
3879
|
})
|
|
3843
3880
|
] });
|
|
@@ -3846,7 +3883,7 @@ const ye = ({
|
|
|
3846
3883
|
ye,
|
|
3847
3884
|
{
|
|
3848
3885
|
inputs: N.inputs,
|
|
3849
|
-
control:
|
|
3886
|
+
control: f,
|
|
3850
3887
|
inputContainerStyles: o,
|
|
3851
3888
|
errorColor: r,
|
|
3852
3889
|
reactHookFormInstance: n
|
|
@@ -3857,7 +3894,7 @@ const ye = ({
|
|
|
3857
3894
|
ye,
|
|
3858
3895
|
{
|
|
3859
3896
|
inputs: N.inputs,
|
|
3860
|
-
control:
|
|
3897
|
+
control: f,
|
|
3861
3898
|
inputContainerStyles: o,
|
|
3862
3899
|
errorColor: r,
|
|
3863
3900
|
reactHookFormInstance: n
|
|
@@ -3865,35 +3902,35 @@ const ye = ({
|
|
|
3865
3902
|
)
|
|
3866
3903
|
] }, N.categoryId);
|
|
3867
3904
|
};
|
|
3868
|
-
return /* @__PURE__ */ p("form", { className: Ce.formContainer, onSubmit: v(
|
|
3869
|
-
c &&
|
|
3870
|
-
|
|
3905
|
+
return /* @__PURE__ */ p("form", { className: Ce.formContainer, onSubmit: v(C), children: [
|
|
3906
|
+
c && g.length > 0 && /* @__PURE__ */ i("div", { className: Ce.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
3907
|
+
ht,
|
|
3871
3908
|
{
|
|
3872
|
-
activeCategory:
|
|
3873
|
-
categories:
|
|
3909
|
+
activeCategory: k,
|
|
3910
|
+
categories: g,
|
|
3874
3911
|
onChange: (N) => {
|
|
3875
3912
|
w(N), S(null);
|
|
3876
3913
|
},
|
|
3877
|
-
activeColor:
|
|
3914
|
+
activeColor: b
|
|
3878
3915
|
}
|
|
3879
3916
|
) }),
|
|
3880
|
-
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((N,
|
|
3881
|
-
const
|
|
3882
|
-
return N.category && !
|
|
3917
|
+
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((N, $) => {
|
|
3918
|
+
const A = N.categoryId === k;
|
|
3919
|
+
return N.category && !A ? null : N.category && A ? /* @__PURE__ */ i(
|
|
3883
3920
|
"div",
|
|
3884
3921
|
{
|
|
3885
3922
|
style: {
|
|
3886
3923
|
// visibility: section.categoryId ? "visible" : "hidden",
|
|
3887
3924
|
width: "100%"
|
|
3888
3925
|
},
|
|
3889
|
-
children:
|
|
3926
|
+
children: T(N)
|
|
3890
3927
|
},
|
|
3891
3928
|
N.categoryId
|
|
3892
3929
|
) : /* @__PURE__ */ i(
|
|
3893
3930
|
ye,
|
|
3894
3931
|
{
|
|
3895
3932
|
inputs: N.inputs,
|
|
3896
|
-
control:
|
|
3933
|
+
control: f,
|
|
3897
3934
|
inputContainerStyles: o,
|
|
3898
3935
|
errorColor: r,
|
|
3899
3936
|
reactHookFormInstance: n
|
|
@@ -3901,11 +3938,11 @@ const ye = ({
|
|
|
3901
3938
|
);
|
|
3902
3939
|
}) }),
|
|
3903
3940
|
/* @__PURE__ */ p("div", { className: Ce.buttonContainer, children: [
|
|
3904
|
-
/* @__PURE__ */ i(
|
|
3941
|
+
/* @__PURE__ */ i(Ve, { containerStyles: a, type: "submit", children: _(l) }),
|
|
3905
3942
|
/* @__PURE__ */ i(we, { errorMessage: t, errorColor: r })
|
|
3906
3943
|
] })
|
|
3907
3944
|
] });
|
|
3908
|
-
}, as = "_overlay_mnd4j_2", ls = "_modal_mnd4j_15", cs = "_closeButton_mnd4j_29", ds = "_icon_mnd4j_39", us = "_message_mnd4j_45", ps = "_submessage_mnd4j_51", ms = "_buttonsContainer_mnd4j_57", hs = "_buttonWrapper_mnd4j_64",
|
|
3945
|
+
}, as = "_overlay_mnd4j_2", ls = "_modal_mnd4j_15", cs = "_closeButton_mnd4j_29", ds = "_icon_mnd4j_39", us = "_message_mnd4j_45", ps = "_submessage_mnd4j_51", ms = "_buttonsContainer_mnd4j_57", hs = "_buttonWrapper_mnd4j_64", Q = {
|
|
3909
3946
|
overlay: as,
|
|
3910
3947
|
modal: ls,
|
|
3911
3948
|
closeButton: cs,
|
|
@@ -3922,17 +3959,17 @@ const ye = ({
|
|
|
3922
3959
|
buttons: t,
|
|
3923
3960
|
maxHeight: r = "450px",
|
|
3924
3961
|
maxWidth: l = "450px"
|
|
3925
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
3962
|
+
}) => /* @__PURE__ */ i("div", { className: Q.overlay, children: /* @__PURE__ */ p(
|
|
3926
3963
|
"div",
|
|
3927
3964
|
{
|
|
3928
|
-
className:
|
|
3965
|
+
className: Q.modal,
|
|
3929
3966
|
style: { maxHeight: r, maxWidth: l },
|
|
3930
3967
|
children: [
|
|
3931
|
-
/* @__PURE__ */ i("button", { className:
|
|
3932
|
-
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className:
|
|
3933
|
-
/* @__PURE__ */ i("p", { className:
|
|
3934
|
-
o && /* @__PURE__ */ i("p", { className:
|
|
3935
|
-
t.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
3968
|
+
/* @__PURE__ */ i("button", { className: Q.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3969
|
+
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className: Q.icon }),
|
|
3970
|
+
/* @__PURE__ */ i("p", { className: Q.message, children: s }),
|
|
3971
|
+
o && /* @__PURE__ */ i("p", { className: Q.submessage, children: o }),
|
|
3972
|
+
t.length > 0 && /* @__PURE__ */ i("div", { className: Q.buttonsContainer, children: t.map((a, c) => /* @__PURE__ */ i("div", { className: Q.buttonWrapper, children: a }, c)) })
|
|
3936
3973
|
]
|
|
3937
3974
|
}
|
|
3938
3975
|
) });
|
|
@@ -3952,7 +3989,7 @@ gs.propTypes = {
|
|
|
3952
3989
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3953
3990
|
maxWidth: e.string
|
|
3954
3991
|
};
|
|
3955
|
-
const Cs = "_stepsContainer_1cyua_3", fs = "_stepWrapper_1cyua_9", bs = "_circleContainer_1cyua_19", ys = "_circle_1cyua_19", _s = "_active_1cyua_39", vs = "_completed_1cyua_44", ws = "_label_1cyua_50", xs = "_labelActive_1cyua_56",
|
|
3992
|
+
const Cs = "_stepsContainer_1cyua_3", fs = "_stepWrapper_1cyua_9", bs = "_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 = {
|
|
3956
3993
|
stepsContainer: Cs,
|
|
3957
3994
|
stepWrapper: fs,
|
|
3958
3995
|
circleContainer: bs,
|
|
@@ -3961,34 +3998,34 @@ const Cs = "_stepsContainer_1cyua_3", fs = "_stepWrapper_1cyua_9", bs = "_circle
|
|
|
3961
3998
|
completed: vs,
|
|
3962
3999
|
label: ws,
|
|
3963
4000
|
labelActive: xs,
|
|
3964
|
-
connector:
|
|
3965
|
-
},
|
|
4001
|
+
connector: Ns
|
|
4002
|
+
}, At = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: W.stepsContainer, children: n.map((s, o) => {
|
|
3966
4003
|
const t = s.status === "active", r = s.status === "completed";
|
|
3967
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3968
|
-
/* @__PURE__ */ p("div", { className:
|
|
4004
|
+
return /* @__PURE__ */ p("div", { className: W.stepWrapper, children: [
|
|
4005
|
+
/* @__PURE__ */ p("div", { className: W.circleContainer, children: [
|
|
3969
4006
|
/* @__PURE__ */ i(
|
|
3970
4007
|
"div",
|
|
3971
4008
|
{
|
|
3972
|
-
className: `${
|
|
3973
|
-
${t ?
|
|
3974
|
-
${r ?
|
|
4009
|
+
className: `${W.circle}
|
|
4010
|
+
${t ? W.active : ""}
|
|
4011
|
+
${r ? W.completed : ""}`,
|
|
3975
4012
|
style: t ? { backgroundColor: d } : {},
|
|
3976
4013
|
onClick: s.onClick,
|
|
3977
4014
|
children: o + 1
|
|
3978
4015
|
}
|
|
3979
4016
|
),
|
|
3980
|
-
o < n.length - 1 && /* @__PURE__ */ i("div", { className:
|
|
4017
|
+
o < n.length - 1 && /* @__PURE__ */ i("div", { className: W.connector })
|
|
3981
4018
|
] }),
|
|
3982
4019
|
/* @__PURE__ */ i(
|
|
3983
4020
|
"div",
|
|
3984
4021
|
{
|
|
3985
|
-
className: `${
|
|
4022
|
+
className: `${W.label} ${t ? W.labelActive : ""}`,
|
|
3986
4023
|
children: s.name
|
|
3987
4024
|
}
|
|
3988
4025
|
)
|
|
3989
4026
|
] }, o);
|
|
3990
4027
|
}) });
|
|
3991
|
-
|
|
4028
|
+
At.propTypes = {
|
|
3992
4029
|
steps: e.arrayOf(
|
|
3993
4030
|
e.shape({
|
|
3994
4031
|
name: e.string.isRequired,
|
|
@@ -3998,18 +4035,18 @@ Vt.propTypes = {
|
|
|
3998
4035
|
).isRequired,
|
|
3999
4036
|
activeColor: e.string
|
|
4000
4037
|
};
|
|
4001
|
-
|
|
4038
|
+
At.defaultProps = {
|
|
4002
4039
|
activeColor: "#C2185B"
|
|
4003
4040
|
// color por defecto
|
|
4004
4041
|
};
|
|
4005
|
-
const
|
|
4006
|
-
statusTextContainer:
|
|
4007
|
-
},
|
|
4008
|
-
|
|
4042
|
+
const ks = "_statusTextContainer_ch14r_2", Ss = {
|
|
4043
|
+
statusTextContainer: ks
|
|
4044
|
+
}, It = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: Ss.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
4045
|
+
It.propTypes = {
|
|
4009
4046
|
text: e.string,
|
|
4010
4047
|
color: e.string
|
|
4011
4048
|
};
|
|
4012
|
-
|
|
4049
|
+
It.defaultProps = {
|
|
4013
4050
|
color: "#C2185B"
|
|
4014
4051
|
// color por defecto
|
|
4015
4052
|
};
|
|
@@ -4020,7 +4057,7 @@ const $s = "_buttonsContainer_1c7dw_2", Bs = "_button_1c7dw_2", Ts = "_active_1c
|
|
|
4020
4057
|
}, Ls = ({
|
|
4021
4058
|
buttons: n = []
|
|
4022
4059
|
}) => {
|
|
4023
|
-
const { t: d } =
|
|
4060
|
+
const { t: d } = B();
|
|
4024
4061
|
return /* @__PURE__ */ i("div", { className: `${Le.buttonsContainer}`, children: n.map((s, o) => {
|
|
4025
4062
|
const {
|
|
4026
4063
|
isActive: t,
|
|
@@ -4048,12 +4085,12 @@ Ls.propTypes = {
|
|
|
4048
4085
|
})
|
|
4049
4086
|
).isRequired
|
|
4050
4087
|
};
|
|
4051
|
-
const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9",
|
|
4088
|
+
const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Vs = "_labelLeft_194wl_9", Fs = "_slider_194wl_28", As = "_disabled_194wl_54", ue = {
|
|
4052
4089
|
switchContainer: Ms,
|
|
4053
4090
|
labelRight: Ds,
|
|
4054
|
-
labelLeft:
|
|
4091
|
+
labelLeft: Vs,
|
|
4055
4092
|
switch: "_switch_194wl_2",
|
|
4056
|
-
slider:
|
|
4093
|
+
slider: Fs,
|
|
4057
4094
|
disabled: As
|
|
4058
4095
|
}, Is = ({ input: n, reactHookFormInstance: d, onChange: s, onoff: o = !0 }) => {
|
|
4059
4096
|
const {
|
|
@@ -4064,15 +4101,15 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Fs = "_labelL
|
|
|
4064
4101
|
colorOn: c = "#5A514D",
|
|
4065
4102
|
disabled: u = !1,
|
|
4066
4103
|
width: m = 240
|
|
4067
|
-
} = n, { t:
|
|
4068
|
-
_(
|
|
4069
|
-
},
|
|
4104
|
+
} = n, { t: h } = B(), { control: b } = d || {}, [C, _] = F(a), v = (g) => {
|
|
4105
|
+
_(g), s && s(g);
|
|
4106
|
+
}, f = (g, y) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${m}px` }, children: [
|
|
4070
4107
|
r && /* @__PURE__ */ i(
|
|
4071
4108
|
"span",
|
|
4072
4109
|
{
|
|
4073
4110
|
className: ue.labelLeft,
|
|
4074
4111
|
style: { width: `${(m - 74) / 2}px` },
|
|
4075
|
-
children:
|
|
4112
|
+
children: h(r)
|
|
4076
4113
|
}
|
|
4077
4114
|
),
|
|
4078
4115
|
/* @__PURE__ */ p("label", { className: `${ue.switch} ${u ? ue.disabled : ""}`, children: [
|
|
@@ -4080,8 +4117,8 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Fs = "_labelL
|
|
|
4080
4117
|
"input",
|
|
4081
4118
|
{
|
|
4082
4119
|
type: "checkbox",
|
|
4083
|
-
checked: !!
|
|
4084
|
-
onChange: () =>
|
|
4120
|
+
checked: !!g,
|
|
4121
|
+
onChange: () => y(!g),
|
|
4085
4122
|
disabled: u
|
|
4086
4123
|
}
|
|
4087
4124
|
),
|
|
@@ -4090,22 +4127,22 @@ const Ms = "_switchContainer_194wl_2", Ds = "_labelRight_194wl_9", Fs = "_labelL
|
|
|
4090
4127
|
{
|
|
4091
4128
|
className: ue.slider,
|
|
4092
4129
|
style: {
|
|
4093
|
-
"--switch-thumb-color": o ?
|
|
4130
|
+
"--switch-thumb-color": o ? g ? c : "#ccc" : c
|
|
4094
4131
|
}
|
|
4095
4132
|
}
|
|
4096
4133
|
)
|
|
4097
4134
|
] }),
|
|
4098
|
-
l && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(m - 74) / 2}px` }, children:
|
|
4135
|
+
l && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(m - 74) / 2}px` }, children: h(l) })
|
|
4099
4136
|
] });
|
|
4100
4137
|
return d ? /* @__PURE__ */ i(
|
|
4101
4138
|
ve,
|
|
4102
4139
|
{
|
|
4103
4140
|
name: t,
|
|
4104
|
-
control:
|
|
4141
|
+
control: b,
|
|
4105
4142
|
defaultValue: a,
|
|
4106
|
-
render: ({ field:
|
|
4143
|
+
render: ({ field: g }) => f(g.value, g.onChange)
|
|
4107
4144
|
}
|
|
4108
|
-
) : C
|
|
4145
|
+
) : f(C, v);
|
|
4109
4146
|
};
|
|
4110
4147
|
Is.propTypes = {
|
|
4111
4148
|
input: e.shape({
|
|
@@ -4139,7 +4176,7 @@ Ps.propTypes = {
|
|
|
4139
4176
|
gifSrc: e.string,
|
|
4140
4177
|
message: e.string
|
|
4141
4178
|
};
|
|
4142
|
-
const js = "_header_13kbt_2", Zs = "_leftComponents_13kbt_13", zs = "_centerComponents_13kbt_14", Hs = "_rightComponents_13kbt_15", Ks = "_componentsContainer_13kbt_32",
|
|
4179
|
+
const js = "_header_13kbt_2", Zs = "_leftComponents_13kbt_13", zs = "_centerComponents_13kbt_14", Hs = "_rightComponents_13kbt_15", Ks = "_componentsContainer_13kbt_32", se = {
|
|
4143
4180
|
header: js,
|
|
4144
4181
|
leftComponents: Zs,
|
|
4145
4182
|
centerComponents: zs,
|
|
@@ -4158,7 +4195,7 @@ const js = "_header_13kbt_2", Zs = "_leftComponents_13kbt_13", zs = "_centerComp
|
|
|
4158
4195
|
}) => /* @__PURE__ */ p(
|
|
4159
4196
|
"div",
|
|
4160
4197
|
{
|
|
4161
|
-
className:
|
|
4198
|
+
className: se.header,
|
|
4162
4199
|
style: {
|
|
4163
4200
|
...n,
|
|
4164
4201
|
zIndex: t,
|
|
@@ -4168,9 +4205,9 @@ const js = "_header_13kbt_2", Zs = "_leftComponents_13kbt_13", zs = "_centerComp
|
|
|
4168
4205
|
bottom: a ? 0 : "auto"
|
|
4169
4206
|
},
|
|
4170
4207
|
children: [
|
|
4171
|
-
/* @__PURE__ */ i("div", { className:
|
|
4172
|
-
/* @__PURE__ */ i("div", { className:
|
|
4173
|
-
/* @__PURE__ */ i("div", { className:
|
|
4208
|
+
/* @__PURE__ */ i("div", { className: se.leftComponents, children: d.map((c, u) => /* @__PURE__ */ i("div", { className: se.componentsContainer, children: c }, u)) }),
|
|
4209
|
+
/* @__PURE__ */ i("div", { className: se.centerComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: se.componentsContainer, children: c }, u)) }),
|
|
4210
|
+
/* @__PURE__ */ i("div", { className: se.rightComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: se.componentsContainer, children: c }, u)) })
|
|
4174
4211
|
]
|
|
4175
4212
|
}
|
|
4176
4213
|
);
|
|
@@ -4219,35 +4256,36 @@ Js.propTypes = {
|
|
|
4219
4256
|
export {
|
|
4220
4257
|
k2 as AmbitSelector,
|
|
4221
4258
|
Ls as ButtonsBar,
|
|
4222
|
-
|
|
4223
|
-
|
|
4259
|
+
O2 as ButtonsList,
|
|
4260
|
+
ht as CategorySelector,
|
|
4261
|
+
ae as DropdownList,
|
|
4224
4262
|
bo as EditAmbit,
|
|
4225
4263
|
we as ErrorMessage,
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4264
|
+
mn as FiltersAmbit,
|
|
4265
|
+
No as Form,
|
|
4266
|
+
Ve as GeneralButton,
|
|
4267
|
+
bn as Graphic,
|
|
4230
4268
|
Us as HeaderSection,
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4269
|
+
On as IndicatorsList,
|
|
4270
|
+
Zn as LangSelector,
|
|
4271
|
+
o0 as Legend,
|
|
4272
|
+
li as ListSelector,
|
|
4235
4273
|
Ps as Loader,
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4274
|
+
R0 as LogInButton,
|
|
4275
|
+
a0 as LogoApp,
|
|
4276
|
+
d0 as MapboxMap,
|
|
4277
|
+
C0 as MaplibreMap,
|
|
4240
4278
|
gs as ModalAlert,
|
|
4241
4279
|
Gi as RadioButtonInput,
|
|
4242
4280
|
Ft as RankingSlider,
|
|
4243
4281
|
Js as RightSidebar,
|
|
4244
|
-
|
|
4282
|
+
x0 as SectionBar,
|
|
4245
4283
|
ji as SelectInput,
|
|
4246
|
-
|
|
4247
|
-
|
|
4284
|
+
It as StatusText,
|
|
4285
|
+
At as Steps,
|
|
4248
4286
|
Is as Switch,
|
|
4249
4287
|
pt as TextInput,
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4288
|
+
M0 as TimeSlider,
|
|
4289
|
+
oe as Tooltip,
|
|
4290
|
+
A0 as TopNavMenu
|
|
4253
4291
|
};
|