@tmf_ciclica/ciclicastorybook 1.1.158 → 1.1.159
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 +1089 -988
- 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}._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}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_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_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{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_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._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_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;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_1qdhv_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_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}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39{font-size:18px;font-weight:600;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._buttonsContainer_1qdhv_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._elementListContainer_1qdhv_76{flex:1;width:100%}._elementSelector_1qdhv_2 ._newElementButtonContainer_1qdhv_80{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_1s506_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}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._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}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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}._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}._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_1fmjn_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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { jsxs as p, jsx as i, Fragment as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._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}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_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_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{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_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._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_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;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_1qdhv_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_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}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39{font-size:18px;font-weight:600;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._buttonsContainer_1qdhv_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._elementListContainer_1qdhv_76{flex:1;width:100%}._elementSelector_1qdhv_2 ._newElementButtonContainer_1qdhv_80{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_1s506_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}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{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}._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_1fmjn_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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { jsxs as p, jsx as i, Fragment as Re } from "react/jsx-runtime";
|
|
3
3
|
import * as pe from "react";
|
|
4
|
-
import
|
|
4
|
+
import T, { useState as D, useEffect as F, useMemo as me, useLayoutEffect as Dt, useRef as se } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as $, Trans as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
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
|
-
}, d2 = "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", u2 = "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", p2 = "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", m2 = "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", h2 = "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", g2 = "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", lt = ({
|
|
6
|
+
import { useTranslation as $, Trans as ze } from "react-i18next";
|
|
7
|
+
import { motion as Ke } from "framer-motion";
|
|
8
|
+
import { create as Ft } from "zustand";
|
|
9
|
+
import * as We from "d3";
|
|
10
|
+
import Vt from "mapbox-gl";
|
|
11
|
+
import { useSelector as At } from "react-redux";
|
|
12
|
+
import It, { Source as Rt, Layer as Ot, NavigationControl as qt, Popup as Et } from "react-map-gl/mapbox";
|
|
13
|
+
import Te from "maplibre-gl";
|
|
14
|
+
import { Protocol as Pt } from "pmtiles";
|
|
15
|
+
import jt, { Source as Zt, Layer as zt, NavigationControl as Kt, Popup as Ht } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Ut } from "@reduxjs/toolkit";
|
|
17
|
+
import Gt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Wt, Box as Yt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as Qt } from "@emotion/react";
|
|
20
|
+
import { NavLink as Xt } from "react-router-dom";
|
|
21
|
+
const Jt = "_ambitSelector_mcunf_2", e2 = "_header_mcunf_13", t2 = "_nameDateContainer_mcunf_23", n2 = "_ambitName_mcunf_39", i2 = "_ambitDate_mcunf_53", s2 = "_buttonsContainer_mcunf_67", o2 = "_ambitListContainer_mcunf_76", r2 = "_newAmbitButtonContainer_mcunf_80", W = {
|
|
22
|
+
ambitSelector: Jt,
|
|
23
|
+
header: e2,
|
|
24
|
+
nameDateContainer: t2,
|
|
25
|
+
ambitName: n2,
|
|
26
|
+
ambitDate: i2,
|
|
27
|
+
buttonsContainer: s2,
|
|
28
|
+
ambitListContainer: o2,
|
|
29
|
+
newAmbitButtonContainer: r2
|
|
30
|
+
}, a2 = "_ambitItem_1qa6u_2", l2 = "_ambitNameDate_1qa6u_16", c2 = "_ambitName_1qa6u_16", d2 = "_ambitDate_1qa6u_35", u2 = "_ambitButtons_1qa6u_38", he = {
|
|
31
|
+
ambitItem: a2,
|
|
32
|
+
ambitNameDate: l2,
|
|
33
|
+
ambitName: c2,
|
|
34
|
+
ambitDate: d2,
|
|
35
|
+
ambitButtons: u2
|
|
36
|
+
}, p2 = "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", m2 = "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", h2 = "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", g2 = "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", C2 = "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", f2 = "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", dt = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
@@ -48,33 +48,33 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: he.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className:
|
|
55
|
-
/* @__PURE__ */ p("div", { className:
|
|
54
|
+
/* @__PURE__ */ p("div", { className: he.ambitNameDate, onClick: () => t(C), children: [
|
|
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 ? C2 : f2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ i("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ i("div", { className:
|
|
65
|
+
/* @__PURE__ */ i("div", { className: he.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ p("div", { className:
|
|
68
|
-
y && /* @__PURE__ */ i("img", { src:
|
|
69
|
-
/* @__PURE__ */ i("button", { onClick: () => o(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src:
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => d(C), children: /* @__PURE__ */ i("img", { src:
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src:
|
|
67
|
+
/* @__PURE__ */ p("div", { className: he.ambitButtons, children: [
|
|
68
|
+
y && /* @__PURE__ */ i("img", { src: g2 }),
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => o(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: h2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(C), children: /* @__PURE__ */ i("img", { src: m2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: p2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
dt.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,9 +92,9 @@ lt.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const Ye = "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", b2 = "_generalButton_phq4n_2", _2 = {
|
|
96
|
+
generalButton: b2
|
|
97
|
+
}, Le = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: s = "#605B56",
|
|
@@ -105,7 +105,7 @@ const We = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
105
105
|
}) => /* @__PURE__ */ i(
|
|
106
106
|
"button",
|
|
107
107
|
{
|
|
108
|
-
className:
|
|
108
|
+
className: _2.generalButton,
|
|
109
109
|
style: {
|
|
110
110
|
color: s,
|
|
111
111
|
border: `1.5px solid ${o}`,
|
|
@@ -116,7 +116,7 @@ const We = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
116
116
|
disabled: a,
|
|
117
117
|
children: n
|
|
118
118
|
}
|
|
119
|
-
),
|
|
119
|
+
), y2 = ({
|
|
120
120
|
ambitList: n,
|
|
121
121
|
activeAmbitId: d,
|
|
122
122
|
fontColor: s = "#605B56",
|
|
@@ -132,44 +132,44 @@ const We = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
132
132
|
onClickFilters: y = (f) => console.log(`Filters clicked: ${f}`),
|
|
133
133
|
onClickAmbit: v = (f) => console.log(`OnCLickAmbit: ${f}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t: f } = $(), [g, m] =
|
|
136
|
-
|
|
135
|
+
const { t: f } = $(), [g, m] = D(n);
|
|
136
|
+
F(() => {
|
|
137
137
|
n && m(n);
|
|
138
138
|
}, [n]);
|
|
139
139
|
const b = (_) => {
|
|
140
140
|
if (g && g.length > 0) {
|
|
141
|
-
let
|
|
142
|
-
|
|
141
|
+
let x = [...g];
|
|
142
|
+
x.sort((w, N) => w[_].localeCompare(N[_])), m(x);
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
return /* @__PURE__ */ p(
|
|
146
146
|
"div",
|
|
147
147
|
{
|
|
148
|
-
className:
|
|
148
|
+
className: W.ambitSelector,
|
|
149
149
|
style: { color: s, ...c },
|
|
150
150
|
children: [
|
|
151
151
|
/* @__PURE__ */ p(
|
|
152
152
|
"div",
|
|
153
153
|
{
|
|
154
|
-
className:
|
|
154
|
+
className: W.header,
|
|
155
155
|
style: { borderBottom: `1px solid ${s}` },
|
|
156
156
|
children: [
|
|
157
|
-
/* @__PURE__ */ p("div", { className:
|
|
158
|
-
/* @__PURE__ */ i("div", { className:
|
|
157
|
+
/* @__PURE__ */ p("div", { className: W.nameDateContainer, children: [
|
|
158
|
+
/* @__PURE__ */ i("div", { className: W.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
159
159
|
/* @__PURE__ */ i("span", { children: f(t) }),
|
|
160
|
-
/* @__PURE__ */ i("img", { src:
|
|
160
|
+
/* @__PURE__ */ i("img", { src: Ye })
|
|
161
161
|
] }) }),
|
|
162
|
-
/* @__PURE__ */ i("div", { className:
|
|
162
|
+
/* @__PURE__ */ i("div", { className: W.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
163
163
|
/* @__PURE__ */ i("span", { children: f(r) }),
|
|
164
|
-
/* @__PURE__ */ i("img", { src:
|
|
164
|
+
/* @__PURE__ */ i("img", { src: Ye })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
167
|
-
/* @__PURE__ */ i("div", { className:
|
|
167
|
+
/* @__PURE__ */ i("div", { className: W.buttonsContainer })
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
),
|
|
171
|
-
/* @__PURE__ */ i("div", { className:
|
|
172
|
-
|
|
171
|
+
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ i(
|
|
172
|
+
dt,
|
|
173
173
|
{
|
|
174
174
|
isActive: d == _.id,
|
|
175
175
|
ambit: _,
|
|
@@ -182,8 +182,8 @@ const We = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
182
182
|
},
|
|
183
183
|
`ambitKey${_.id}`
|
|
184
184
|
)) }),
|
|
185
|
-
/* @__PURE__ */ i("div", { className:
|
|
186
|
-
|
|
185
|
+
/* @__PURE__ */ i("div", { className: W.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
186
|
+
Le,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
@@ -195,7 +195,7 @@ const We = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
195
195
|
}
|
|
196
196
|
);
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
y2.propTypes = {
|
|
199
199
|
ambitList: e.arrayOf(
|
|
200
200
|
e.shape({
|
|
201
201
|
name: e.string.isRequired,
|
|
@@ -217,28 +217,28 @@ b2.propTypes = {
|
|
|
217
217
|
containerStyles: e.object,
|
|
218
218
|
onCLickNewAmbit: e.func
|
|
219
219
|
};
|
|
220
|
-
const
|
|
221
|
-
buttonsContainer:
|
|
222
|
-
vertical:
|
|
223
|
-
horizontal:
|
|
224
|
-
button:
|
|
225
|
-
active:
|
|
226
|
-
buttonName:
|
|
227
|
-
},
|
|
228
|
-
left:
|
|
229
|
-
top:
|
|
230
|
-
bottom:
|
|
231
|
-
right:
|
|
232
|
-
},
|
|
220
|
+
const v2 = "_buttonsContainer_1ks7x_2", w2 = "_vertical_1ks7x_6", x2 = "_horizontal_1ks7x_9", N2 = "_button_1ks7x_2", k2 = "_active_1ks7x_25", S2 = "_buttonName_1ks7x_28", X = {
|
|
221
|
+
buttonsContainer: v2,
|
|
222
|
+
vertical: w2,
|
|
223
|
+
horizontal: x2,
|
|
224
|
+
button: N2,
|
|
225
|
+
active: k2,
|
|
226
|
+
buttonName: S2
|
|
227
|
+
}, $2 = "_left_1l4m4_2", B2 = "_top_1l4m4_40", L2 = "_bottom_1l4m4_79", T2 = "_right_1l4m4_118", M2 = {
|
|
228
|
+
left: $2,
|
|
229
|
+
top: B2,
|
|
230
|
+
bottom: L2,
|
|
231
|
+
right: T2
|
|
232
|
+
}, ie = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
233
233
|
const { t: o } = $();
|
|
234
|
-
return /* @__PURE__ */ i("div", { className: `tooltip ${
|
|
234
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${M2[d]}`, style: s, children: o(n) });
|
|
235
235
|
};
|
|
236
|
-
|
|
236
|
+
ie.propTypes = {
|
|
237
237
|
text: e.string.isRequired,
|
|
238
238
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
239
|
styleCustom: e.object
|
|
240
240
|
};
|
|
241
|
-
const
|
|
241
|
+
const D2 = ({
|
|
242
242
|
buttons: n = [],
|
|
243
243
|
orientation: d = "horizontal",
|
|
244
244
|
showName: s = !0,
|
|
@@ -250,8 +250,8 @@ const T2 = ({
|
|
|
250
250
|
return /* @__PURE__ */ i(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
|
-
className: `${
|
|
254
|
-
${d === "horizontal" &&
|
|
253
|
+
className: `${X.buttonsContainer} ${d === "vertical" && X.vertical}
|
|
254
|
+
${d === "horizontal" && X.horizontal}`,
|
|
255
255
|
children: n.map((l, c) => {
|
|
256
256
|
const {
|
|
257
257
|
icon: u,
|
|
@@ -260,29 +260,29 @@ const T2 = ({
|
|
|
260
260
|
name: y,
|
|
261
261
|
onClick: v,
|
|
262
262
|
disabled: f
|
|
263
|
-
} = l, g = /* @__PURE__ */ p(
|
|
264
|
-
s && o === "left" && /* @__PURE__ */ i("span", { className:
|
|
263
|
+
} = l, g = /* @__PURE__ */ p(Re, { children: [
|
|
264
|
+
s && o === "left" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(y) }),
|
|
265
265
|
/* @__PURE__ */ i("img", { src: C ? h : u, alt: a(y) }),
|
|
266
|
-
s && o === "right" && /* @__PURE__ */ i("span", { className:
|
|
266
|
+
s && o === "right" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(y) })
|
|
267
267
|
] });
|
|
268
268
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
269
269
|
/* @__PURE__ */ i(
|
|
270
270
|
"button",
|
|
271
271
|
{
|
|
272
272
|
onClick: v,
|
|
273
|
-
className: `${
|
|
274
|
-
${C &&
|
|
273
|
+
className: `${X.button}
|
|
274
|
+
${C && X.active}`,
|
|
275
275
|
disabled: f,
|
|
276
276
|
children: g
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
|
-
t && /* @__PURE__ */ i(
|
|
279
|
+
t && /* @__PURE__ */ i(ie, { text: y, position: r })
|
|
280
280
|
] }, c);
|
|
281
281
|
})
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
D2.propTypes = {
|
|
286
286
|
buttons: e.arrayOf(
|
|
287
287
|
e.shape({
|
|
288
288
|
icon: e.node.isRequired,
|
|
@@ -300,10 +300,10 @@ T2.propTypes = {
|
|
|
300
300
|
useTooltip: e.bool,
|
|
301
301
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
302
302
|
};
|
|
303
|
-
const
|
|
304
|
-
indicatorsCategory:
|
|
305
|
-
title:
|
|
306
|
-
},
|
|
303
|
+
const F2 = "_indicatorsCategory_1cu33_2", V2 = "_title_1cu33_5", Me = {
|
|
304
|
+
indicatorsCategory: F2,
|
|
305
|
+
title: V2
|
|
306
|
+
}, oe = ({
|
|
307
307
|
isOpen: n,
|
|
308
308
|
onClick: d,
|
|
309
309
|
children: s,
|
|
@@ -319,9 +319,9 @@ const M2 = "_indicatorsCategory_1cu33_2", D2 = "_title_1cu33_5", Be = {
|
|
|
319
319
|
}) => {
|
|
320
320
|
const { t: h } = $();
|
|
321
321
|
return /* @__PURE__ */ p(
|
|
322
|
-
|
|
322
|
+
Ke.div,
|
|
323
323
|
{
|
|
324
|
-
className:
|
|
324
|
+
className: Me.indicatorsCategory,
|
|
325
325
|
initial: { height: `${a}px` },
|
|
326
326
|
animate: { height: n ? "auto" : `${a}px` },
|
|
327
327
|
transition: { duration: 0.4 },
|
|
@@ -338,7 +338,7 @@ const M2 = "_indicatorsCategory_1cu33_2", D2 = "_title_1cu33_5", Be = {
|
|
|
338
338
|
...l,
|
|
339
339
|
marginBottom: u || "auto"
|
|
340
340
|
},
|
|
341
|
-
className: `${
|
|
341
|
+
className: `${Me.title}`,
|
|
342
342
|
onClick: d,
|
|
343
343
|
children: [
|
|
344
344
|
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
@@ -346,12 +346,12 @@ const M2 = "_indicatorsCategory_1cu33_2", D2 = "_title_1cu33_5", Be = {
|
|
|
346
346
|
]
|
|
347
347
|
}
|
|
348
348
|
),
|
|
349
|
-
/* @__PURE__ */ i("div", { className:
|
|
349
|
+
/* @__PURE__ */ i("div", { className: Me.content, children: s })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
);
|
|
353
353
|
};
|
|
354
|
-
|
|
354
|
+
oe.propTypes = {
|
|
355
355
|
isOpen: e.bool,
|
|
356
356
|
onClick: e.func,
|
|
357
357
|
children: e.node,
|
|
@@ -362,39 +362,39 @@ se.propTypes = {
|
|
|
362
362
|
showBottomBar: e.bool,
|
|
363
363
|
titleFontStyles: e.object
|
|
364
364
|
};
|
|
365
|
-
const
|
|
366
|
-
AppliedFiltersContainer:
|
|
367
|
-
AppliedFilterContent:
|
|
368
|
-
},
|
|
365
|
+
const io = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), A2 = "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", I2 = "_AppliedFiltersContainer_cokx9_2", R2 = "_AppliedFilterContent_cokx9_11", Qe = {
|
|
366
|
+
AppliedFiltersContainer: I2,
|
|
367
|
+
AppliedFilterContent: R2
|
|
368
|
+
}, R = Ft((n) => ({
|
|
369
369
|
activeCategory: "",
|
|
370
370
|
activeSubCategory: "",
|
|
371
371
|
selectedIndicator: "",
|
|
372
372
|
tematicalFiltersSelected: [],
|
|
373
373
|
fontColor: "#605B56",
|
|
374
374
|
inputsColor: "#605B56"
|
|
375
|
-
})),
|
|
376
|
-
const { t: a } = $(), { tematicalFiltersSelected: l } =
|
|
377
|
-
|
|
375
|
+
})), ut = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
376
|
+
const { t: a } = $(), { tematicalFiltersSelected: l } = R((u) => u), c = (u) => {
|
|
377
|
+
R.setState((h) => ({
|
|
378
378
|
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
379
379
|
(C) => C.code !== u
|
|
380
380
|
)
|
|
381
381
|
}));
|
|
382
382
|
};
|
|
383
383
|
return /* @__PURE__ */ i(
|
|
384
|
-
|
|
384
|
+
oe,
|
|
385
385
|
{
|
|
386
386
|
isOpen: s,
|
|
387
387
|
onClick: d,
|
|
388
388
|
title: n ? a(n) : "Applied Filters",
|
|
389
389
|
activeColor: r,
|
|
390
|
-
children: /* @__PURE__ */ i("div", { className:
|
|
390
|
+
children: /* @__PURE__ */ i("div", { className: Qe.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: Qe.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
391
391
|
a(u.name),
|
|
392
|
-
/* @__PURE__ */ i("img", { src:
|
|
392
|
+
/* @__PURE__ */ i("img", { src: A2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
393
393
|
] }, h)) })
|
|
394
394
|
}
|
|
395
395
|
);
|
|
396
396
|
};
|
|
397
|
-
|
|
397
|
+
ut.propTypes = {
|
|
398
398
|
isOpen: e.bool,
|
|
399
399
|
onClick: e.func,
|
|
400
400
|
title: e.string,
|
|
@@ -408,10 +408,10 @@ ct.propTypes = {
|
|
|
408
408
|
),
|
|
409
409
|
activeColor: e.string
|
|
410
410
|
};
|
|
411
|
-
const
|
|
412
|
-
const { t: a } = $(), { tematicalFiltersSelected: l } =
|
|
411
|
+
const pt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
412
|
+
const { t: a } = $(), { tematicalFiltersSelected: l } = R((c) => c);
|
|
413
413
|
return /* @__PURE__ */ i(
|
|
414
|
-
|
|
414
|
+
oe,
|
|
415
415
|
{
|
|
416
416
|
isOpen: s,
|
|
417
417
|
onClick: d,
|
|
@@ -421,7 +421,7 @@ const dt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", ba
|
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
};
|
|
424
|
-
|
|
424
|
+
pt.propTypes = {
|
|
425
425
|
isOpen: e.bool,
|
|
426
426
|
onClick: e.func,
|
|
427
427
|
title: e.string,
|
|
@@ -429,22 +429,22 @@ dt.propTypes = {
|
|
|
429
429
|
backgroundColor: e.string,
|
|
430
430
|
activeColor: e.string
|
|
431
431
|
};
|
|
432
|
-
const O2 = "_checkboxContainer_zld97_2",
|
|
432
|
+
const O2 = "_checkboxContainer_zld97_2", q2 = {
|
|
433
433
|
checkboxContainer: O2
|
|
434
|
-
},
|
|
434
|
+
}, mt = ({
|
|
435
435
|
onClick: n,
|
|
436
436
|
containerStyles: d,
|
|
437
437
|
color: s = "#605B56",
|
|
438
438
|
indicator: o,
|
|
439
439
|
value: t
|
|
440
440
|
}) => {
|
|
441
|
-
const { t: r } = $(), { title: a } = o || {}, { fontColor: l, inputsColor: c } =
|
|
441
|
+
const { t: r } = $(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = R((u) => u);
|
|
442
442
|
return /* @__PURE__ */ p(
|
|
443
443
|
"div",
|
|
444
444
|
{
|
|
445
445
|
style: { ...d, color: s },
|
|
446
446
|
role: "checkbox",
|
|
447
|
-
className:
|
|
447
|
+
className: q2.checkboxContainer,
|
|
448
448
|
onClick: n,
|
|
449
449
|
children: [
|
|
450
450
|
/* @__PURE__ */ i(
|
|
@@ -465,7 +465,7 @@ const O2 = "_checkboxContainer_zld97_2", I2 = {
|
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
mt.propTypes = {
|
|
469
469
|
onClick: e.func,
|
|
470
470
|
value: e.bool,
|
|
471
471
|
containerStyles: e.object,
|
|
@@ -476,40 +476,40 @@ ut.propTypes = {
|
|
|
476
476
|
}),
|
|
477
477
|
checkedColor: e.string
|
|
478
478
|
};
|
|
479
|
-
function
|
|
480
|
-
return
|
|
479
|
+
function Oe(n, d) {
|
|
480
|
+
return Oe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, o) {
|
|
481
481
|
return s.__proto__ = o, s;
|
|
482
|
-
},
|
|
482
|
+
}, Oe(n, d);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
484
|
+
function E2(n, d) {
|
|
485
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Oe(n, d);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function De(n) {
|
|
488
488
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function Fe(n) {
|
|
491
491
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function we(n) {
|
|
494
494
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function xe(n) {
|
|
497
497
|
Object.keys(n).forEach((d) => {
|
|
498
498
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
return
|
|
501
|
+
function J(n, d) {
|
|
502
|
+
return qe(function(s, o) {
|
|
503
503
|
let t = s;
|
|
504
504
|
return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
|
|
505
505
|
}(n, d), d);
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function qe(n, d) {
|
|
508
508
|
const s = (n - d.min) % d.step;
|
|
509
509
|
let o = n - s;
|
|
510
510
|
return 2 * Math.abs(s) >= d.step && (o += s > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
|
|
511
511
|
}
|
|
512
|
-
let
|
|
512
|
+
let Ee = function(n) {
|
|
513
513
|
function d(o) {
|
|
514
514
|
var t;
|
|
515
515
|
(t = n.call(this, o) || this).onKeyUp = () => {
|
|
@@ -566,28 +566,28 @@ let qe = function(n) {
|
|
|
566
566
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
567
567
|
const c = t.getMousePosition(l);
|
|
568
568
|
t.forceValueFromPosition(c[0], (u) => {
|
|
569
|
-
t.start(u, c[0]),
|
|
569
|
+
t.start(u, c[0]), xe(t.getMouseEventMap());
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
De(l);
|
|
573
573
|
}
|
|
574
574
|
}, t.onSliderClick = (l) => {
|
|
575
575
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
576
|
-
const c = t.getMousePosition(l), u =
|
|
576
|
+
const c = t.getMousePosition(l), u = J(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
577
577
|
t.props.onSliderClick(u);
|
|
578
578
|
}
|
|
579
579
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
580
|
-
t.props.disabled || (t.start(l),
|
|
580
|
+
t.props.disabled || (t.start(l), xe(t.getKeyDownEventMap()), De(c));
|
|
581
581
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
582
582
|
if (t.props.disabled || c.button === 2) return;
|
|
583
583
|
t.setState({ pending: !0 });
|
|
584
584
|
const u = t.getMousePosition(c);
|
|
585
|
-
t.start(l, u[0]),
|
|
585
|
+
t.start(l, u[0]), xe(t.getMouseEventMap()), De(c);
|
|
586
586
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
587
587
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
588
588
|
t.setState({ pending: !0 });
|
|
589
589
|
const u = t.getTouchPosition(c);
|
|
590
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
590
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), xe(t.getTouchEventMap()), function(h) {
|
|
591
591
|
h.stopPropagation && h.stopPropagation();
|
|
592
592
|
}(c);
|
|
593
593
|
}, t.handleResize = () => {
|
|
@@ -598,25 +598,25 @@ let qe = function(n) {
|
|
|
598
598
|
}, t.renderThumb = (l, c) => {
|
|
599
599
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (y) => {
|
|
600
600
|
t["thumb" + c] = y;
|
|
601
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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 }, C = { index: c, value:
|
|
601
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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 }, C = { index: c, value: we(t.state.value), valueNow: t.state.value[c] };
|
|
602
602
|
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(C)), t.props.renderThumb(h, C);
|
|
603
603
|
}, t.renderTrack = (l, c, u) => {
|
|
604
|
-
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, C = { index: l, value:
|
|
604
|
+
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, C = { index: l, value: we(t.state.value) };
|
|
605
605
|
return t.props.renderTrack(h, C);
|
|
606
606
|
};
|
|
607
|
-
let r =
|
|
608
|
-
r.length || (r =
|
|
607
|
+
let r = Fe(o.value);
|
|
608
|
+
r.length || (r = Fe(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
609
609
|
const a = [];
|
|
610
|
-
for (let l = 0; l < r.length; l += 1) r[l] =
|
|
611
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
610
|
+
for (let l = 0; l < r.length; l += 1) r[l] = J(r[l], o), a.push(l);
|
|
611
|
+
return t.resizeObserver = null, t.resizeElementRef = T.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
612
612
|
}
|
|
613
|
-
|
|
613
|
+
E2(d, n);
|
|
614
614
|
var s = d.prototype;
|
|
615
615
|
return s.componentDidMount = function() {
|
|
616
616
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
617
617
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
618
|
-
const r =
|
|
619
|
-
return r.length ? t.pending ? null : { value: r.map((a) =>
|
|
618
|
+
const r = Fe(o.value);
|
|
619
|
+
return r.length ? t.pending ? null : { value: r.map((a) => J(a, o)) } : null;
|
|
620
620
|
}, s.componentDidUpdate = function() {
|
|
621
621
|
this.state.upperBound === 0 && this.resize();
|
|
622
622
|
}, s.componentWillUnmount = function() {
|
|
@@ -628,7 +628,7 @@ let qe = function(n) {
|
|
|
628
628
|
});
|
|
629
629
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
630
630
|
}, s.getValue = function() {
|
|
631
|
-
return
|
|
631
|
+
return we(this.state.value);
|
|
632
632
|
}, s.getClosestIndex = function(o) {
|
|
633
633
|
let t = Number.MAX_VALUE, r = -1;
|
|
634
634
|
const { value: a } = this.state, l = a.length;
|
|
@@ -650,7 +650,7 @@ let qe = function(n) {
|
|
|
650
650
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
651
651
|
}, s.getValueFromPosition = function(o) {
|
|
652
652
|
const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
653
|
-
return
|
|
653
|
+
return J(this.state.startValue + t, this.props);
|
|
654
654
|
}, s.getDiffPosition = function(o) {
|
|
655
655
|
let t = o - this.state.startPosition;
|
|
656
656
|
return this.props.invert && (t *= -1), t;
|
|
@@ -669,7 +669,7 @@ let qe = function(n) {
|
|
|
669
669
|
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
|
|
670
670
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
671
671
|
}, s.forceValueFromPosition = function(o, t) {
|
|
672
|
-
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l =
|
|
672
|
+
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = J(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
673
673
|
c[a] = l;
|
|
674
674
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
675
675
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -687,11 +687,11 @@ let qe = function(n) {
|
|
|
687
687
|
a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
|
|
688
688
|
}, s.moveUpByStep = function(o) {
|
|
689
689
|
o === void 0 && (o = this.props.step);
|
|
690
|
-
const t = this.state.value[this.state.index], r =
|
|
690
|
+
const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
691
691
|
this.move(Math.min(r, this.props.max));
|
|
692
692
|
}, s.moveDownByStep = function(o) {
|
|
693
693
|
o === void 0 && (o = this.props.step);
|
|
694
|
-
const t = this.state.value[this.state.index], r =
|
|
694
|
+
const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
695
695
|
this.move(Math.max(r, this.props.min));
|
|
696
696
|
}, s.move = function(o) {
|
|
697
697
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
@@ -721,9 +721,9 @@ let qe = function(n) {
|
|
|
721
721
|
}(a, t, C, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
722
722
|
}, s.pushSucceeding = function(o, t, r) {
|
|
723
723
|
let a, l;
|
|
724
|
-
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] =
|
|
724
|
+
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = qe(l, this.props);
|
|
725
725
|
}, s.pushPreceding = function(o, t, r) {
|
|
726
|
-
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] =
|
|
726
|
+
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = qe(l, this.props);
|
|
727
727
|
}, s.axisKey = function() {
|
|
728
728
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
729
729
|
}, s.orthogonalAxisKey = function() {
|
|
@@ -735,7 +735,7 @@ let qe = function(n) {
|
|
|
735
735
|
}, s.sizeKey = function() {
|
|
736
736
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
737
737
|
}, s.fireChangeEvent = function(o) {
|
|
738
|
-
this.props[o] && this.props[o](
|
|
738
|
+
this.props[o] && this.props[o](we(this.state.value), this.state.index);
|
|
739
739
|
}, s.buildThumbStyle = function(o, t) {
|
|
740
740
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
741
741
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -767,21 +767,21 @@ let qe = function(n) {
|
|
|
767
767
|
const o = [], { value: t } = this.state, r = t.length;
|
|
768
768
|
for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
|
|
769
769
|
const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
|
|
770
|
-
return
|
|
770
|
+
return T.createElement("div", { ref: (u) => {
|
|
771
771
|
this.slider = u, this.resizeElementRef.current = u;
|
|
772
772
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
|
|
773
773
|
}, d;
|
|
774
|
-
}(
|
|
775
|
-
|
|
776
|
-
var
|
|
777
|
-
const
|
|
778
|
-
container:
|
|
779
|
-
unitLabel:
|
|
780
|
-
slider:
|
|
781
|
-
thumb:
|
|
782
|
-
track:
|
|
783
|
-
labels:
|
|
784
|
-
},
|
|
774
|
+
}(T.Component);
|
|
775
|
+
Ee.displayName = "ReactSlider", Ee.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) => T.createElement("div", n), renderTrack: (n) => T.createElement("div", n), renderMark: (n) => T.createElement("span", n) };
|
|
776
|
+
var Pe = Ee;
|
|
777
|
+
const P2 = "_container_4u41i_2", j2 = "_unitLabel_4u41i_8", Z2 = "_slider_4u41i_11", z2 = "_thumb_4u41i_17", K2 = "_track_4u41i_26", H2 = "_labels_4u41i_32", re = {
|
|
778
|
+
container: P2,
|
|
779
|
+
unitLabel: j2,
|
|
780
|
+
slider: Z2,
|
|
781
|
+
thumb: z2,
|
|
782
|
+
track: K2,
|
|
783
|
+
labels: H2
|
|
784
|
+
}, ht = ({
|
|
785
785
|
min: n = 0,
|
|
786
786
|
max: d = 100,
|
|
787
787
|
step: s = 1,
|
|
@@ -792,10 +792,10 @@ const q2 = "_container_4u41i_2", E2 = "_unitLabel_4u41i_8", P2 = "_slider_4u41i_
|
|
|
792
792
|
defaultValue: l,
|
|
793
793
|
isDate: c
|
|
794
794
|
}) => {
|
|
795
|
-
const { t: u } = $(), h = c ? new Date(n).getTime() : null, C = c ? new Date(d).getTime() : null, [y, v] =
|
|
795
|
+
const { t: u } = $(), h = c ? new Date(n).getTime() : null, C = c ? new Date(d).getTime() : null, [y, v] = D(c ? [h, C] : [n, d]), f = (g) => {
|
|
796
796
|
v(g), o == null || o({ min: g[0], max: g[1] });
|
|
797
797
|
};
|
|
798
|
-
return
|
|
798
|
+
return F(() => {
|
|
799
799
|
l || v(c ? [h, C] : [n, d]);
|
|
800
800
|
}, [l, c]), /* @__PURE__ */ p(
|
|
801
801
|
"div",
|
|
@@ -805,7 +805,7 @@ const q2 = "_container_4u41i_2", E2 = "_unitLabel_4u41i_8", P2 = "_slider_4u41i_
|
|
|
805
805
|
children: [
|
|
806
806
|
/* @__PURE__ */ i("div", { className: re.unitLabel, children: /* @__PURE__ */ i("span", { children: u(r) }) }),
|
|
807
807
|
/* @__PURE__ */ i(
|
|
808
|
-
|
|
808
|
+
Pe,
|
|
809
809
|
{
|
|
810
810
|
className: re.slider,
|
|
811
811
|
thumbClassName: re.thumb,
|
|
@@ -836,7 +836,7 @@ const q2 = "_container_4u41i_2", E2 = "_unitLabel_4u41i_8", P2 = "_slider_4u41i_
|
|
|
836
836
|
}
|
|
837
837
|
);
|
|
838
838
|
};
|
|
839
|
-
|
|
839
|
+
ht.propTypes = {
|
|
840
840
|
min: e.number,
|
|
841
841
|
max: e.number,
|
|
842
842
|
step: e.number,
|
|
@@ -848,17 +848,17 @@ pt.propTypes = {
|
|
|
848
848
|
fontColor: e.string,
|
|
849
849
|
value: e.arrayOf(e.number)
|
|
850
850
|
};
|
|
851
|
-
const
|
|
852
|
-
tematicalFiltersInputContainer:
|
|
853
|
-
inputTypeContainer:
|
|
854
|
-
checkboxContainer:
|
|
855
|
-
absoluteSliderContainer:
|
|
856
|
-
},
|
|
851
|
+
const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_1vm1r_2", W2 = "_checkboxContainer_1vm1r_28", Y2 = "_absoluteSliderContainer_1vm1r_37", Ne = {
|
|
852
|
+
tematicalFiltersInputContainer: U2,
|
|
853
|
+
inputTypeContainer: G2,
|
|
854
|
+
checkboxContainer: W2,
|
|
855
|
+
absoluteSliderContainer: Y2
|
|
856
|
+
}, He = ({
|
|
857
857
|
indicator: n,
|
|
858
858
|
//onChangeBothType
|
|
859
859
|
activeColor: d
|
|
860
860
|
}) => {
|
|
861
|
-
const [s, o] =
|
|
861
|
+
const [s, o] = D(), {
|
|
862
862
|
type: t,
|
|
863
863
|
name: r,
|
|
864
864
|
values: a,
|
|
@@ -868,10 +868,10 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
868
868
|
step: h,
|
|
869
869
|
disabled: C,
|
|
870
870
|
isDate: y
|
|
871
|
-
} = n || {}, v =
|
|
871
|
+
} = n || {}, v = me(
|
|
872
872
|
() => t == "cat" || s == "cat",
|
|
873
873
|
[s, t]
|
|
874
|
-
), f =
|
|
874
|
+
), f = me(
|
|
875
875
|
() => t == "abs" || s == "abs",
|
|
876
876
|
[s, t]
|
|
877
877
|
), {
|
|
@@ -879,59 +879,59 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
879
879
|
selectedIndicator: m,
|
|
880
880
|
fontColor: b,
|
|
881
881
|
inputsColor: _
|
|
882
|
-
} =
|
|
883
|
-
if (console.log("onChangInput",
|
|
884
|
-
const { min:
|
|
885
|
-
console.log("type: ",
|
|
886
|
-
let j =
|
|
887
|
-
|
|
888
|
-
let
|
|
882
|
+
} = R((N) => N), x = (N) => {
|
|
883
|
+
if (console.log("onChangInput", N), N) {
|
|
884
|
+
const { min: S, max: B, valueClicked: k, allValues: L } = N || {}, { code: E, type: K, source: M } = n || {}, Z = f ? "abs" : v ? "cat" : "both";
|
|
885
|
+
console.log("type: ", Z);
|
|
886
|
+
let j = E[0];
|
|
887
|
+
K == "both" && (j = Z == "cat" ? E[1] : E[0]), Z == "cat" ? R.setState((Q) => {
|
|
888
|
+
let G = Q.tematicalFiltersSelected.find(
|
|
889
889
|
(O) => O.code === j
|
|
890
890
|
);
|
|
891
|
-
if (
|
|
892
|
-
let O = [
|
|
893
|
-
return
|
|
894
|
-
(
|
|
895
|
-
) : O = [...
|
|
896
|
-
tematicalFiltersSelected:
|
|
897
|
-
(
|
|
891
|
+
if (G) {
|
|
892
|
+
let O = [G.values];
|
|
893
|
+
return G.values.includes(k) ? O = G.values.filter(
|
|
894
|
+
(P) => P !== k
|
|
895
|
+
) : O = [...G.values, k], O.length == L.length ? {
|
|
896
|
+
tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
|
|
897
|
+
(P) => P.code !== j
|
|
898
898
|
)
|
|
899
899
|
} : {
|
|
900
|
-
tematicalFiltersSelected:
|
|
901
|
-
(
|
|
900
|
+
tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
|
|
901
|
+
(P) => P.code === j ? { ...P, values: O } : P
|
|
902
902
|
)
|
|
903
903
|
};
|
|
904
904
|
} else {
|
|
905
|
-
let O =
|
|
905
|
+
let O = L.map((P, Mt) => Mt);
|
|
906
906
|
return {
|
|
907
907
|
tematicalFiltersSelected: [
|
|
908
908
|
...g,
|
|
909
909
|
{
|
|
910
910
|
type: "cat",
|
|
911
911
|
code: j,
|
|
912
|
-
values: O.filter((
|
|
912
|
+
values: O.filter((P) => P !== k),
|
|
913
913
|
name: n.name,
|
|
914
|
-
source:
|
|
914
|
+
source: M,
|
|
915
915
|
isDate: y
|
|
916
916
|
}
|
|
917
917
|
]
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
|
-
}) :
|
|
921
|
-
let
|
|
920
|
+
}) : Z == "abs" && R.setState((Q) => {
|
|
921
|
+
let G = Q.tematicalFiltersSelected.find(
|
|
922
922
|
(O) => O.code === j
|
|
923
923
|
);
|
|
924
|
-
if (
|
|
924
|
+
if (S == n.minValue && B == n.maxValue)
|
|
925
925
|
return {
|
|
926
|
-
tematicalFiltersSelected:
|
|
926
|
+
tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
|
|
927
927
|
(O) => O.code !== j
|
|
928
928
|
)
|
|
929
929
|
};
|
|
930
|
-
if (
|
|
931
|
-
let O = { ...
|
|
930
|
+
if (G) {
|
|
931
|
+
let O = { ...G, min: S, max: B, type: Z, isDate: y };
|
|
932
932
|
return {
|
|
933
|
-
tematicalFiltersSelected:
|
|
934
|
-
(
|
|
933
|
+
tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
|
|
934
|
+
(P) => P.code === j ? O : P
|
|
935
935
|
)
|
|
936
936
|
};
|
|
937
937
|
} else
|
|
@@ -939,10 +939,10 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
939
939
|
tematicalFiltersSelected: [
|
|
940
940
|
...g,
|
|
941
941
|
{
|
|
942
|
-
type:
|
|
942
|
+
type: Z,
|
|
943
943
|
code: j,
|
|
944
|
-
min:
|
|
945
|
-
max:
|
|
944
|
+
min: S,
|
|
945
|
+
max: B,
|
|
946
946
|
name: n.name,
|
|
947
947
|
source: n.source
|
|
948
948
|
}
|
|
@@ -950,15 +950,15 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
950
950
|
};
|
|
951
951
|
});
|
|
952
952
|
}
|
|
953
|
-
}, w =
|
|
954
|
-
const
|
|
953
|
+
}, w = me(() => {
|
|
954
|
+
const N = {};
|
|
955
955
|
if ((g == null ? void 0 : g.length) > 0)
|
|
956
|
-
for (const
|
|
957
|
-
|
|
958
|
-
return
|
|
956
|
+
for (const S of g)
|
|
957
|
+
S.type === "cat" ? N[S.code] = new Set(S.values) : N[S.code] = [S.min, S.max];
|
|
958
|
+
return N;
|
|
959
959
|
}, [g]);
|
|
960
|
-
return /* @__PURE__ */ i("div", { className:
|
|
961
|
-
|
|
960
|
+
return /* @__PURE__ */ i("div", { className: Ne.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
961
|
+
oe,
|
|
962
962
|
{
|
|
963
963
|
titleFontStyles: {
|
|
964
964
|
fontSize: 16,
|
|
@@ -968,7 +968,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
968
968
|
title: r,
|
|
969
969
|
isOpen: m == `id${r}`,
|
|
970
970
|
onClick: () => {
|
|
971
|
-
C ||
|
|
971
|
+
C || R.setState(() => ({
|
|
972
972
|
selectedIndicator: m == `id${r}` ? "" : `id${r}`
|
|
973
973
|
}));
|
|
974
974
|
},
|
|
@@ -982,7 +982,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
982
982
|
t == "both" && /* @__PURE__ */ p(
|
|
983
983
|
"div",
|
|
984
984
|
{
|
|
985
|
-
className:
|
|
985
|
+
className: Ne.inputTypeContainer,
|
|
986
986
|
style: { color: b },
|
|
987
987
|
children: [
|
|
988
988
|
/* @__PURE__ */ p("label", { children: [
|
|
@@ -1026,22 +1026,22 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1026
1026
|
]
|
|
1027
1027
|
}
|
|
1028
1028
|
),
|
|
1029
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
1030
|
-
var
|
|
1029
|
+
v && /* @__PURE__ */ i("div", { className: Ne.checkboxContainer, children: a.map((N, S) => {
|
|
1030
|
+
var B;
|
|
1031
1031
|
return /* @__PURE__ */ i(
|
|
1032
|
-
|
|
1032
|
+
mt,
|
|
1033
1033
|
{
|
|
1034
|
-
onClick: () =>
|
|
1035
|
-
indicator:
|
|
1036
|
-
value: ((
|
|
1034
|
+
onClick: () => x({ valueClicked: S, allValues: a }),
|
|
1035
|
+
indicator: N,
|
|
1036
|
+
value: ((B = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : B.has(S)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1037
1037
|
},
|
|
1038
|
-
`checkbox-${
|
|
1038
|
+
`checkbox-${S}`
|
|
1039
1039
|
);
|
|
1040
1040
|
}) }),
|
|
1041
|
-
(f || t == "glb") && /* @__PURE__ */ i("div", { className:
|
|
1042
|
-
|
|
1041
|
+
(f || t == "glb") && /* @__PURE__ */ i("div", { className: Ne.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1042
|
+
ht,
|
|
1043
1043
|
{
|
|
1044
|
-
onChange:
|
|
1044
|
+
onChange: x,
|
|
1045
1045
|
min: l,
|
|
1046
1046
|
max: c,
|
|
1047
1047
|
unit: u,
|
|
@@ -1054,7 +1054,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1054
1054
|
}
|
|
1055
1055
|
) });
|
|
1056
1056
|
};
|
|
1057
|
-
|
|
1057
|
+
He.propTypes = {
|
|
1058
1058
|
indicator: e.shape({
|
|
1059
1059
|
name: e.string,
|
|
1060
1060
|
type: e.string,
|
|
@@ -1069,20 +1069,20 @@ Ke.propTypes = {
|
|
|
1069
1069
|
activeColor: e.string
|
|
1070
1070
|
//onChangeBothType: PropTypes.func,
|
|
1071
1071
|
};
|
|
1072
|
-
const
|
|
1072
|
+
const gt = ({
|
|
1073
1073
|
subcategory: n,
|
|
1074
1074
|
fontColor: d,
|
|
1075
1075
|
activeColor: s
|
|
1076
1076
|
//onChangeBothType,
|
|
1077
1077
|
}) => {
|
|
1078
|
-
const { activeSubcategory: o } =
|
|
1078
|
+
const { activeSubcategory: o } = R((a) => a), { name: t, indicators: r } = n || {};
|
|
1079
1079
|
return /* @__PURE__ */ i(
|
|
1080
|
-
|
|
1080
|
+
oe,
|
|
1081
1081
|
{
|
|
1082
1082
|
title: t,
|
|
1083
1083
|
isOpen: o == `id${t}`,
|
|
1084
1084
|
onClick: () => {
|
|
1085
|
-
|
|
1085
|
+
R.setState((a) => ({
|
|
1086
1086
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1087
1087
|
}));
|
|
1088
1088
|
},
|
|
@@ -1093,7 +1093,7 @@ const mt = ({
|
|
|
1093
1093
|
color: d,
|
|
1094
1094
|
activeColor: s,
|
|
1095
1095
|
children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ i(
|
|
1096
|
-
|
|
1096
|
+
He,
|
|
1097
1097
|
{
|
|
1098
1098
|
indicator: a,
|
|
1099
1099
|
fontColor: d,
|
|
@@ -1104,7 +1104,7 @@ const mt = ({
|
|
|
1104
1104
|
}
|
|
1105
1105
|
);
|
|
1106
1106
|
};
|
|
1107
|
-
|
|
1107
|
+
gt.propTypes = {
|
|
1108
1108
|
subcategory: e.shape({
|
|
1109
1109
|
name: e.string,
|
|
1110
1110
|
indicators: e.arrayOf(
|
|
@@ -1117,17 +1117,17 @@ mt.propTypes = {
|
|
|
1117
1117
|
activeColor: e.string
|
|
1118
1118
|
//onChangeBothType: PropTypes.func,
|
|
1119
1119
|
};
|
|
1120
|
-
const
|
|
1120
|
+
const Ct = ({
|
|
1121
1121
|
category: n,
|
|
1122
1122
|
// onChangeBothType,
|
|
1123
1123
|
activeColor: d
|
|
1124
1124
|
}) => {
|
|
1125
|
-
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } =
|
|
1125
|
+
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = R((l) => l);
|
|
1126
1126
|
return n && /* @__PURE__ */ i(
|
|
1127
|
-
|
|
1127
|
+
oe,
|
|
1128
1128
|
{
|
|
1129
1129
|
onClick: () => {
|
|
1130
|
-
|
|
1130
|
+
R.setState((l) => ({
|
|
1131
1131
|
activeCategory: r === `id${s}` ? "" : `id${s}`
|
|
1132
1132
|
}));
|
|
1133
1133
|
},
|
|
@@ -1138,7 +1138,7 @@ const ht = ({
|
|
|
1138
1138
|
color: a,
|
|
1139
1139
|
activeColor: d,
|
|
1140
1140
|
children: o ? o.map((l, c) => /* @__PURE__ */ i(
|
|
1141
|
-
|
|
1141
|
+
gt,
|
|
1142
1142
|
{
|
|
1143
1143
|
subcategory: l,
|
|
1144
1144
|
fontColor: a,
|
|
@@ -1146,7 +1146,7 @@ const ht = ({
|
|
|
1146
1146
|
},
|
|
1147
1147
|
`subcategory-${c}`
|
|
1148
1148
|
)) : t && t.map((l, c) => /* @__PURE__ */ i(
|
|
1149
|
-
|
|
1149
|
+
He,
|
|
1150
1150
|
{
|
|
1151
1151
|
indicator: l,
|
|
1152
1152
|
fontColor: a,
|
|
@@ -1157,7 +1157,7 @@ const ht = ({
|
|
|
1157
1157
|
}
|
|
1158
1158
|
);
|
|
1159
1159
|
};
|
|
1160
|
-
|
|
1160
|
+
Ct.propTypes = {
|
|
1161
1161
|
category: e.shape({
|
|
1162
1162
|
name: e.string.isRequired,
|
|
1163
1163
|
subcategories: e.array,
|
|
@@ -1166,7 +1166,7 @@ ht.propTypes = {
|
|
|
1166
1166
|
activeColor: e.string
|
|
1167
1167
|
//onChangeBothType: PropTypes.func,
|
|
1168
1168
|
};
|
|
1169
|
-
const
|
|
1169
|
+
const ft = ({
|
|
1170
1170
|
indicators: n,
|
|
1171
1171
|
isOpen: d = !0,
|
|
1172
1172
|
title: s,
|
|
@@ -1175,22 +1175,22 @@ const gt = ({
|
|
|
1175
1175
|
inputsColor: t = "#605B56",
|
|
1176
1176
|
activeColor: r
|
|
1177
1177
|
}) => {
|
|
1178
|
-
const { tematicalFiltersSelected: a } =
|
|
1179
|
-
return
|
|
1178
|
+
const { tematicalFiltersSelected: a } = R((c) => c), { t: l } = $();
|
|
1179
|
+
return F(() => {
|
|
1180
1180
|
console.log("filtersSelected changed: ", a);
|
|
1181
|
-
}, [a]),
|
|
1182
|
-
o &&
|
|
1183
|
-
}, [o]),
|
|
1184
|
-
t &&
|
|
1181
|
+
}, [a]), F(() => {
|
|
1182
|
+
o && R.setState(() => ({ fontColor: o }));
|
|
1183
|
+
}, [o]), F(() => {
|
|
1184
|
+
t && R.setState(() => ({ inputsColor: t }));
|
|
1185
1185
|
}, [t]), /* @__PURE__ */ i(
|
|
1186
|
-
|
|
1186
|
+
oe,
|
|
1187
1187
|
{
|
|
1188
1188
|
isOpen: d,
|
|
1189
1189
|
title: s ? l(s) : "Tematical filters",
|
|
1190
1190
|
color: o,
|
|
1191
1191
|
activeColor: r,
|
|
1192
1192
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ i(
|
|
1193
|
-
|
|
1193
|
+
Ct,
|
|
1194
1194
|
{
|
|
1195
1195
|
category: c,
|
|
1196
1196
|
fontColor: o,
|
|
@@ -1201,7 +1201,7 @@ const gt = ({
|
|
|
1201
1201
|
}
|
|
1202
1202
|
);
|
|
1203
1203
|
};
|
|
1204
|
-
|
|
1204
|
+
ft.propTypes = {
|
|
1205
1205
|
isOpen: e.bool,
|
|
1206
1206
|
title: e.string,
|
|
1207
1207
|
indicators: e.arrayOf(e.object),
|
|
@@ -1210,14 +1210,14 @@ gt.propTypes = {
|
|
|
1210
1210
|
inputsColor: e.string,
|
|
1211
1211
|
activeColor: e.string
|
|
1212
1212
|
};
|
|
1213
|
-
const
|
|
1214
|
-
FiltersAmbitContainer:
|
|
1215
|
-
FiltersAmbitHeader:
|
|
1216
|
-
FiltersAmbitTitle:
|
|
1217
|
-
FiltersAmbitDescription:
|
|
1218
|
-
FiltersAmbitDescriptionTitle:
|
|
1219
|
-
warning:
|
|
1220
|
-
},
|
|
1213
|
+
const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7", J2 = "_FiltersAmbitTitle_1g9xx_15", en = "_FiltersAmbitDescription_1g9xx_22", tn = "_FiltersAmbitDescriptionTitle_1g9xx_33", nn = "_warning_1g9xx_37", ae = {
|
|
1214
|
+
FiltersAmbitContainer: Q2,
|
|
1215
|
+
FiltersAmbitHeader: X2,
|
|
1216
|
+
FiltersAmbitTitle: J2,
|
|
1217
|
+
FiltersAmbitDescription: en,
|
|
1218
|
+
FiltersAmbitDescriptionTitle: tn,
|
|
1219
|
+
warning: nn
|
|
1220
|
+
}, sn = ({
|
|
1221
1221
|
ambitName: n,
|
|
1222
1222
|
ambitDescription: d,
|
|
1223
1223
|
defaultFilters: s,
|
|
@@ -1234,16 +1234,16 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1234
1234
|
onlyFilters: v = !1
|
|
1235
1235
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1236
1236
|
}) => {
|
|
1237
|
-
const { t: f } = $(), { tematicalFiltersSelected: g } =
|
|
1238
|
-
|
|
1239
|
-
s && s.length > 0 &&
|
|
1237
|
+
const { t: f } = $(), { tematicalFiltersSelected: g } = R((B) => B), [m, b] = D(n || null), [_, x] = D(d || null), [w, N] = D(!1);
|
|
1238
|
+
F(() => {
|
|
1239
|
+
s && s.length > 0 && R.setState((B) => ({
|
|
1240
1240
|
tematicalFiltersSelected: s
|
|
1241
1241
|
}));
|
|
1242
|
-
}, [s]),
|
|
1242
|
+
}, [s]), F(() => {
|
|
1243
1243
|
console.log("filtersSelected changed: ", g), l(g);
|
|
1244
1244
|
}, [g]);
|
|
1245
|
-
const
|
|
1246
|
-
m ? c({ name: m, description: _ }) :
|
|
1245
|
+
const S = () => {
|
|
1246
|
+
m ? c({ name: m, description: _ }) : N(!0);
|
|
1247
1247
|
};
|
|
1248
1248
|
return /* @__PURE__ */ p("div", { className: ae.FiltersAmbitContainer, children: [
|
|
1249
1249
|
!v && /* @__PURE__ */ p("div", { className: ae.FiltersAmbitHeader, children: [
|
|
@@ -1251,8 +1251,8 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1251
1251
|
"input",
|
|
1252
1252
|
{
|
|
1253
1253
|
type: "text",
|
|
1254
|
-
onChange: (
|
|
1255
|
-
|
|
1254
|
+
onChange: (B) => {
|
|
1255
|
+
N(!1), b(B.target.value);
|
|
1256
1256
|
},
|
|
1257
1257
|
value: m,
|
|
1258
1258
|
placeholder: f(u)
|
|
@@ -1262,13 +1262,13 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1262
1262
|
"textarea",
|
|
1263
1263
|
{
|
|
1264
1264
|
value: _,
|
|
1265
|
-
onChange: (
|
|
1265
|
+
onChange: (B) => x(B.target.value),
|
|
1266
1266
|
placeholder: f(h)
|
|
1267
1267
|
}
|
|
1268
1268
|
) }) })
|
|
1269
1269
|
] }),
|
|
1270
1270
|
/* @__PURE__ */ i(
|
|
1271
|
-
|
|
1271
|
+
ut,
|
|
1272
1272
|
{
|
|
1273
1273
|
title: f("applied_filters"),
|
|
1274
1274
|
isOpen: !0,
|
|
@@ -1277,9 +1277,9 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1277
1277
|
activeColor: t
|
|
1278
1278
|
}
|
|
1279
1279
|
),
|
|
1280
|
-
C.includes("geographical") && /* @__PURE__ */ i(
|
|
1280
|
+
C.includes("geographical") && /* @__PURE__ */ i(pt, { activeColor: t }),
|
|
1281
1281
|
C.includes("tematical") && /* @__PURE__ */ i(
|
|
1282
|
-
|
|
1282
|
+
ft,
|
|
1283
1283
|
{
|
|
1284
1284
|
indicators: o,
|
|
1285
1285
|
inputsColor: t,
|
|
@@ -1289,10 +1289,10 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1289
1289
|
}
|
|
1290
1290
|
),
|
|
1291
1291
|
w && /* @__PURE__ */ i("div", { className: ae.warning, children: f(y) }),
|
|
1292
|
-
!v && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(
|
|
1292
|
+
!v && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Le, { onClick: () => S(), children: f("save_ambit") }) })
|
|
1293
1293
|
] });
|
|
1294
1294
|
};
|
|
1295
|
-
|
|
1295
|
+
sn.propTypes = {
|
|
1296
1296
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1297
1297
|
ambitName: e.string,
|
|
1298
1298
|
ambitDescription: e.string,
|
|
@@ -1307,9 +1307,9 @@ tn.propTypes = {
|
|
|
1307
1307
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1308
1308
|
nameRequiredText: e.string
|
|
1309
1309
|
};
|
|
1310
|
-
const
|
|
1311
|
-
barChartContainer:
|
|
1312
|
-
},
|
|
1310
|
+
const on = "_barChartContainer_d2f1z_2", rn = {
|
|
1311
|
+
barChartContainer: on
|
|
1312
|
+
}, bt = ({
|
|
1313
1313
|
data: n,
|
|
1314
1314
|
width: d = 700,
|
|
1315
1315
|
barHeight: s = 25,
|
|
@@ -1321,9 +1321,9 @@ const nn = "_barChartContainer_d2f1z_2", sn = {
|
|
|
1321
1321
|
numberOfDivisions: c = 7,
|
|
1322
1322
|
maxValue: u = null
|
|
1323
1323
|
}) => {
|
|
1324
|
-
const { t: h } = $(), { xScale: C, ticks: y, height: v } =
|
|
1324
|
+
const { t: h } = $(), { xScale: C, ticks: y, height: v } = me(() => {
|
|
1325
1325
|
if (n && n.length > 0) {
|
|
1326
|
-
const f = (n == null ? void 0 : n.length) * (s + o) + r * 2, g =
|
|
1326
|
+
const f = (n == null ? void 0 : n.length) * (s + o) + r * 2, g = We.max(n, (_) => _.value) || 1, m = We.scaleLinear().domain([0, u || g]).range([0, d - l]), b = Array.from({ length: c + 1 }, (_, x) => u ? u / c * x : g / c * x);
|
|
1327
1327
|
return {
|
|
1328
1328
|
xScale: m,
|
|
1329
1329
|
ticks: b,
|
|
@@ -1344,7 +1344,7 @@ const nn = "_barChartContainer_d2f1z_2", sn = {
|
|
|
1344
1344
|
r,
|
|
1345
1345
|
u
|
|
1346
1346
|
]);
|
|
1347
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1347
|
+
return /* @__PURE__ */ i("div", { className: rn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + a * 2, height: v, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1348
1348
|
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: y.map((f, g) => {
|
|
1349
1349
|
const m = C(f);
|
|
1350
1350
|
return /* @__PURE__ */ p("g", { transform: `translate(${m}, 0)`, children: [
|
|
@@ -1401,7 +1401,7 @@ const nn = "_barChartContainer_d2f1z_2", sn = {
|
|
|
1401
1401
|
}))
|
|
1402
1402
|
] }) }) });
|
|
1403
1403
|
};
|
|
1404
|
-
|
|
1404
|
+
bt.propTypes = {
|
|
1405
1405
|
data: e.arrayOf(
|
|
1406
1406
|
e.shape({
|
|
1407
1407
|
title: e.string,
|
|
@@ -1417,10 +1417,10 @@ Ct.propTypes = {
|
|
|
1417
1417
|
numberOfDivisions: e.number,
|
|
1418
1418
|
fontColor: e.string
|
|
1419
1419
|
};
|
|
1420
|
-
const
|
|
1421
|
-
graphicContainer:
|
|
1422
|
-
titleContainer:
|
|
1423
|
-
},
|
|
1420
|
+
const an = "_graphicContainer_c9zrg_2", ln = "_titleContainer_c9zrg_14", Xe = {
|
|
1421
|
+
graphicContainer: an,
|
|
1422
|
+
titleContainer: ln
|
|
1423
|
+
}, cn = ({
|
|
1424
1424
|
data: n,
|
|
1425
1425
|
graphWidth: d = 700,
|
|
1426
1426
|
containerStyle: s,
|
|
@@ -1435,15 +1435,15 @@ const on = "_graphicContainer_c9zrg_2", rn = "_titleContainer_c9zrg_14", Qe = {
|
|
|
1435
1435
|
return /* @__PURE__ */ p(
|
|
1436
1436
|
"div",
|
|
1437
1437
|
{
|
|
1438
|
-
className:
|
|
1438
|
+
className: Xe.graphicContainer,
|
|
1439
1439
|
style: {
|
|
1440
1440
|
...s || {},
|
|
1441
1441
|
border: `1.5px solid ${o}`
|
|
1442
1442
|
},
|
|
1443
1443
|
children: [
|
|
1444
|
-
/* @__PURE__ */ i("div", { className:
|
|
1444
|
+
/* @__PURE__ */ i("div", { className: Xe.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
|
|
1445
1445
|
/* @__PURE__ */ i(
|
|
1446
|
-
|
|
1446
|
+
bt,
|
|
1447
1447
|
{
|
|
1448
1448
|
data: n,
|
|
1449
1449
|
width: d,
|
|
@@ -1457,7 +1457,7 @@ const on = "_graphicContainer_c9zrg_2", rn = "_titleContainer_c9zrg_14", Qe = {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
);
|
|
1459
1459
|
};
|
|
1460
|
-
|
|
1460
|
+
cn.propTypes = {
|
|
1461
1461
|
data: e.arrayOf(
|
|
1462
1462
|
e.shape({
|
|
1463
1463
|
color: e.string.isRequired,
|
|
@@ -1474,22 +1474,22 @@ an.propTypes = {
|
|
|
1474
1474
|
numberOfDivisions: e.number,
|
|
1475
1475
|
leftPadding: e.number
|
|
1476
1476
|
};
|
|
1477
|
-
const
|
|
1478
|
-
indicatorsCategory:
|
|
1479
|
-
title:
|
|
1480
|
-
list:
|
|
1481
|
-
},
|
|
1482
|
-
indicatorContainer:
|
|
1483
|
-
indicatorNameContainer:
|
|
1484
|
-
dot:
|
|
1485
|
-
indicatorName:
|
|
1486
|
-
switchExternalContainer:
|
|
1487
|
-
switchType:
|
|
1488
|
-
switchTypeOptions:
|
|
1489
|
-
optionContainer:
|
|
1490
|
-
customRadious:
|
|
1491
|
-
optionText:
|
|
1492
|
-
},
|
|
1477
|
+
const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu33_11", Ve = {
|
|
1478
|
+
indicatorsCategory: dn,
|
|
1479
|
+
title: un,
|
|
1480
|
+
list: pn
|
|
1481
|
+
}, mn = "_indicatorContainer_1go6h_2", hn = "_indicatorNameContainer_1go6h_11", gn = "_dot_1go6h_17", Cn = "_indicatorName_1go6h_11", fn = "_switchExternalContainer_1go6h_28", bn = "_switchType_1go6h_37", _n = "_switchTypeOptions_1go6h_41", yn = "_optionContainer_1go6h_52", vn = "_customRadious_1go6h_62", wn = "_optionText_1go6h_69", I = {
|
|
1482
|
+
indicatorContainer: mn,
|
|
1483
|
+
indicatorNameContainer: hn,
|
|
1484
|
+
dot: gn,
|
|
1485
|
+
indicatorName: Cn,
|
|
1486
|
+
switchExternalContainer: fn,
|
|
1487
|
+
switchType: bn,
|
|
1488
|
+
switchTypeOptions: _n,
|
|
1489
|
+
optionContainer: yn,
|
|
1490
|
+
customRadious: vn,
|
|
1491
|
+
optionText: wn
|
|
1492
|
+
}, Ue = ({
|
|
1493
1493
|
indicator: n,
|
|
1494
1494
|
values: d = [],
|
|
1495
1495
|
activeColor: s,
|
|
@@ -1500,25 +1500,25 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1500
1500
|
multiple: l = !1,
|
|
1501
1501
|
onChangeType: c
|
|
1502
1502
|
}) => {
|
|
1503
|
-
const { t: u } = $(), { name: h, type: C, disabled: y } = n, [v, f] =
|
|
1504
|
-
|
|
1503
|
+
const { t: u } = $(), { name: h, type: C, disabled: y } = n, [v, f] = D(!1);
|
|
1504
|
+
F(() => {
|
|
1505
1505
|
t && f(
|
|
1506
1506
|
l ? t.some(
|
|
1507
1507
|
(b) => b.name == String(h)
|
|
1508
1508
|
) : t.name == h
|
|
1509
1509
|
);
|
|
1510
1510
|
}, [t]);
|
|
1511
|
-
const g = () => /* @__PURE__ */ i("div", { className:
|
|
1511
|
+
const g = () => /* @__PURE__ */ i("div", { className: I.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: I.switchType, children: /* @__PURE__ */ p("div", { className: I.switchTypeOptions, children: [
|
|
1512
1512
|
/* @__PURE__ */ p(
|
|
1513
1513
|
"div",
|
|
1514
1514
|
{
|
|
1515
|
-
className:
|
|
1515
|
+
className: I.optionContainer,
|
|
1516
1516
|
onClick: () => c("cat"),
|
|
1517
1517
|
children: [
|
|
1518
1518
|
/* @__PURE__ */ i(
|
|
1519
1519
|
"span",
|
|
1520
1520
|
{
|
|
1521
|
-
className: `${
|
|
1521
|
+
className: `${I.customRadious}`,
|
|
1522
1522
|
style: {
|
|
1523
1523
|
backgroundColor: r === "cat" ? s : "transparent",
|
|
1524
1524
|
borderColor: r === "cat" ? s : o
|
|
@@ -1528,7 +1528,7 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1528
1528
|
/* @__PURE__ */ i(
|
|
1529
1529
|
"h4",
|
|
1530
1530
|
{
|
|
1531
|
-
className:
|
|
1531
|
+
className: I.optionText,
|
|
1532
1532
|
style: {
|
|
1533
1533
|
color: r === "cat" ? s : o
|
|
1534
1534
|
},
|
|
@@ -1541,13 +1541,13 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1541
1541
|
/* @__PURE__ */ p(
|
|
1542
1542
|
"div",
|
|
1543
1543
|
{
|
|
1544
|
-
className:
|
|
1544
|
+
className: I.optionContainer,
|
|
1545
1545
|
onClick: () => c("abs"),
|
|
1546
1546
|
children: [
|
|
1547
1547
|
/* @__PURE__ */ i(
|
|
1548
1548
|
"span",
|
|
1549
1549
|
{
|
|
1550
|
-
className: `${
|
|
1550
|
+
className: `${I.customRadious}`,
|
|
1551
1551
|
style: {
|
|
1552
1552
|
backgroundColor: r === "abs" ? s : "transparent",
|
|
1553
1553
|
borderColor: r === "abs" ? s : o
|
|
@@ -1557,7 +1557,7 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1557
1557
|
/* @__PURE__ */ i(
|
|
1558
1558
|
"h4",
|
|
1559
1559
|
{
|
|
1560
|
-
className:
|
|
1560
|
+
className: I.optionText,
|
|
1561
1561
|
style: {
|
|
1562
1562
|
color: r === "abs" ? s : o
|
|
1563
1563
|
},
|
|
@@ -1567,15 +1567,15 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1567
1567
|
]
|
|
1568
1568
|
}
|
|
1569
1569
|
)
|
|
1570
|
-
] }) }) }), m = () => /* @__PURE__ */ i("div", { className:
|
|
1570
|
+
] }) }) }), m = () => /* @__PURE__ */ i("div", { className: I.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: I.switchType, children: /* @__PURE__ */ i("div", { className: I.switchTypeOptions, children: d.map((b, _) => /* @__PURE__ */ p(
|
|
1571
1571
|
"div",
|
|
1572
1572
|
{
|
|
1573
|
-
className:
|
|
1573
|
+
className: I.optionContainer,
|
|
1574
1574
|
children: [
|
|
1575
1575
|
/* @__PURE__ */ i(
|
|
1576
1576
|
"span",
|
|
1577
1577
|
{
|
|
1578
|
-
className:
|
|
1578
|
+
className: I.customRadious
|
|
1579
1579
|
}
|
|
1580
1580
|
),
|
|
1581
1581
|
/* @__PURE__ */ i("h4", { children: u(b.unit) })
|
|
@@ -1583,11 +1583,11 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1583
1583
|
},
|
|
1584
1584
|
_
|
|
1585
1585
|
)) }) }) });
|
|
1586
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1586
|
+
return /* @__PURE__ */ p("div", { className: I.indicatorContainer, children: [
|
|
1587
1587
|
/* @__PURE__ */ p(
|
|
1588
1588
|
"div",
|
|
1589
1589
|
{
|
|
1590
|
-
className:
|
|
1590
|
+
className: I.indicatorNameContainer,
|
|
1591
1591
|
onClick: () => !y && a({ indicator: n }),
|
|
1592
1592
|
children: [
|
|
1593
1593
|
/* @__PURE__ */ i(
|
|
@@ -1597,19 +1597,19 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1597
1597
|
border: v ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1598
1598
|
opacity: y ? 0.5 : 1
|
|
1599
1599
|
},
|
|
1600
|
-
className:
|
|
1600
|
+
className: I.dot
|
|
1601
1601
|
}
|
|
1602
1602
|
),
|
|
1603
1603
|
/* @__PURE__ */ i(
|
|
1604
1604
|
"h4",
|
|
1605
1605
|
{
|
|
1606
|
-
className:
|
|
1606
|
+
className: I.indicatorName,
|
|
1607
1607
|
style: {
|
|
1608
1608
|
color: v ? s : o,
|
|
1609
1609
|
opacity: y ? 0.5 : 1
|
|
1610
1610
|
},
|
|
1611
1611
|
children: /* @__PURE__ */ i(
|
|
1612
|
-
|
|
1612
|
+
ze,
|
|
1613
1613
|
{
|
|
1614
1614
|
i18nKey: h,
|
|
1615
1615
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
@@ -1625,7 +1625,7 @@ const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu
|
|
|
1625
1625
|
(t == null ? void 0 : t.name) === h && C === "twoUnits" && /* @__PURE__ */ i("div", { children: m() })
|
|
1626
1626
|
] });
|
|
1627
1627
|
};
|
|
1628
|
-
|
|
1628
|
+
Ue.propTypes = {
|
|
1629
1629
|
indicator: e.shape({
|
|
1630
1630
|
name: e.string,
|
|
1631
1631
|
type: e.string
|
|
@@ -1637,10 +1637,10 @@ He.propTypes = {
|
|
|
1637
1637
|
multiple: e.bool,
|
|
1638
1638
|
onClickIndicator: e.func
|
|
1639
1639
|
};
|
|
1640
|
-
const
|
|
1641
|
-
indicatorsSubCategory:
|
|
1642
|
-
list:
|
|
1643
|
-
},
|
|
1640
|
+
const xn = "_indicatorsSubCategory_1dzsi_2", Nn = "_list_1dzsi_8", Je = {
|
|
1641
|
+
indicatorsSubCategory: xn,
|
|
1642
|
+
list: Nn
|
|
1643
|
+
}, _t = ({
|
|
1644
1644
|
subcName: n,
|
|
1645
1645
|
indicators: d,
|
|
1646
1646
|
defaultColor: s,
|
|
@@ -1654,13 +1654,13 @@ const vn = "_indicatorsSubCategory_1dzsi_2", wn = "_list_1dzsi_8", Xe = {
|
|
|
1654
1654
|
activeIndicatorType: h,
|
|
1655
1655
|
onChangeType: C
|
|
1656
1656
|
}) => {
|
|
1657
|
-
const { t: y } = $(), [v, f] =
|
|
1658
|
-
return
|
|
1657
|
+
const { t: y } = $(), [v, f] = D(!1);
|
|
1658
|
+
return F(() => {
|
|
1659
1659
|
f(t == a);
|
|
1660
1660
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1661
|
-
|
|
1661
|
+
Ke.div,
|
|
1662
1662
|
{
|
|
1663
|
-
className:
|
|
1663
|
+
className: Je.indicatorsSubCategory,
|
|
1664
1664
|
initial: { height: "43px" },
|
|
1665
1665
|
animate: { height: v ? "auto" : "43px" },
|
|
1666
1666
|
transition: { duration: 0.4 },
|
|
@@ -1675,8 +1675,8 @@ const vn = "_indicatorsSubCategory_1dzsi_2", wn = "_list_1dzsi_8", Xe = {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
)
|
|
1677
1677
|
] }) }),
|
|
1678
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
1679
|
-
|
|
1678
|
+
d && /* @__PURE__ */ i("div", { className: Je.list, children: d == null ? void 0 : d.map((g, m) => /* @__PURE__ */ i(
|
|
1679
|
+
Ue,
|
|
1680
1680
|
{
|
|
1681
1681
|
indicator: g,
|
|
1682
1682
|
defaultColor: s,
|
|
@@ -1693,7 +1693,7 @@ const vn = "_indicatorsSubCategory_1dzsi_2", wn = "_list_1dzsi_8", Xe = {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
);
|
|
1695
1695
|
};
|
|
1696
|
-
|
|
1696
|
+
_t.propTypes = {
|
|
1697
1697
|
subcName: e.string,
|
|
1698
1698
|
indicators: e.array,
|
|
1699
1699
|
activeColor: e.string,
|
|
@@ -1705,7 +1705,7 @@ ft.propTypes = {
|
|
|
1705
1705
|
onClickSubCategory: e.func,
|
|
1706
1706
|
onClickIndicator: e.func
|
|
1707
1707
|
};
|
|
1708
|
-
const
|
|
1708
|
+
const yt = ({
|
|
1709
1709
|
cat: n,
|
|
1710
1710
|
id: d,
|
|
1711
1711
|
activeColor: s,
|
|
@@ -1721,13 +1721,13 @@ const bt = ({
|
|
|
1721
1721
|
onChangeType: y
|
|
1722
1722
|
}) => {
|
|
1723
1723
|
var m;
|
|
1724
|
-
const { t: v } = $(), [f, g] =
|
|
1725
|
-
return
|
|
1724
|
+
const { t: v } = $(), [f, g] = D(!1);
|
|
1725
|
+
return F(() => {
|
|
1726
1726
|
g(r === d);
|
|
1727
1727
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1728
|
-
|
|
1728
|
+
Ke.div,
|
|
1729
1729
|
{
|
|
1730
|
-
className:
|
|
1730
|
+
className: Ve.indicatorsCategory,
|
|
1731
1731
|
initial: { height: "53px" },
|
|
1732
1732
|
animate: { height: f ? "auto" : "53px" },
|
|
1733
1733
|
transition: { duration: 0.4 },
|
|
@@ -1737,7 +1737,7 @@ const bt = ({
|
|
|
1737
1737
|
marginBottom: f ? "20px" : "0px"
|
|
1738
1738
|
},
|
|
1739
1739
|
children: [
|
|
1740
|
-
/* @__PURE__ */ p("h2", { className: `${
|
|
1740
|
+
/* @__PURE__ */ p("h2", { className: `${Ve.title}`, onClick: () => t(d), children: [
|
|
1741
1741
|
/* @__PURE__ */ i("span", { style: { color: f ? s : o }, children: f ? "-" : "+" }),
|
|
1742
1742
|
/* @__PURE__ */ i(
|
|
1743
1743
|
"span",
|
|
@@ -1748,8 +1748,8 @@ const bt = ({
|
|
|
1748
1748
|
)
|
|
1749
1749
|
] }),
|
|
1750
1750
|
n.subcategories ? n.subcategories.map(
|
|
1751
|
-
({ name: b, subcategory: _, indicators:
|
|
1752
|
-
|
|
1751
|
+
({ name: b, subcategory: _, indicators: x }, w) => /* @__PURE__ */ i(
|
|
1752
|
+
_t,
|
|
1753
1753
|
{
|
|
1754
1754
|
id: _,
|
|
1755
1755
|
activeSubCategory: a,
|
|
@@ -1760,14 +1760,14 @@ const bt = ({
|
|
|
1760
1760
|
multiple: h,
|
|
1761
1761
|
activeColor: s,
|
|
1762
1762
|
defaultColor: o,
|
|
1763
|
-
indicators:
|
|
1763
|
+
indicators: x,
|
|
1764
1764
|
activeIndicatorType: C,
|
|
1765
1765
|
onChangeType: y
|
|
1766
1766
|
},
|
|
1767
1767
|
`subcKey ${w}`
|
|
1768
1768
|
)
|
|
1769
|
-
) : /* @__PURE__ */ i("div", { className:
|
|
1770
|
-
|
|
1769
|
+
) : /* @__PURE__ */ i("div", { className: Ve.list, children: (m = n.indicators) == null ? void 0 : m.map((b, _) => /* @__PURE__ */ i(
|
|
1770
|
+
Ue,
|
|
1771
1771
|
{
|
|
1772
1772
|
indicator: b,
|
|
1773
1773
|
values: b.type == "twoUnits" && b.values,
|
|
@@ -1785,7 +1785,7 @@ const bt = ({
|
|
|
1785
1785
|
}
|
|
1786
1786
|
);
|
|
1787
1787
|
};
|
|
1788
|
-
|
|
1788
|
+
yt.propTypes = {
|
|
1789
1789
|
cat: e.object,
|
|
1790
1790
|
id: e.string,
|
|
1791
1791
|
onChange: e.func,
|
|
@@ -1799,10 +1799,10 @@ bt.propTypes = {
|
|
|
1799
1799
|
activeColor: e.string,
|
|
1800
1800
|
defaultColor: e.string
|
|
1801
1801
|
};
|
|
1802
|
-
const
|
|
1803
|
-
indicatorsList:
|
|
1804
|
-
title:
|
|
1805
|
-
},
|
|
1802
|
+
const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
|
|
1803
|
+
indicatorsList: kn,
|
|
1804
|
+
title: Sn
|
|
1805
|
+
}, $n = ({
|
|
1806
1806
|
indicators: n,
|
|
1807
1807
|
activeColor: d,
|
|
1808
1808
|
defaultColor: s = "#92898A",
|
|
@@ -1816,7 +1816,7 @@ const xn = "_indicatorsList_fklyu_2", Nn = "_title_fklyu_6", Je = {
|
|
|
1816
1816
|
changeIndType: a,
|
|
1817
1817
|
activeIndicatorType: l
|
|
1818
1818
|
}) => {
|
|
1819
|
-
const { t: c } = $(), [u, h] =
|
|
1819
|
+
const { t: c } = $(), [u, h] = D(), [C, y] = D(), [v, f] = D(), g = (w) => {
|
|
1820
1820
|
h(u == w ? null : w);
|
|
1821
1821
|
}, m = (w) => {
|
|
1822
1822
|
y(C == w ? null : w);
|
|
@@ -1828,43 +1828,43 @@ const xn = "_indicatorsList_fklyu_2", Nn = "_title_fklyu_6", Je = {
|
|
|
1828
1828
|
(v == null ? void 0 : v.name) == w.name ? null : w
|
|
1829
1829
|
);
|
|
1830
1830
|
else {
|
|
1831
|
-
let
|
|
1831
|
+
let N = v && v.length > 0 ? [...v] : [];
|
|
1832
1832
|
f(
|
|
1833
|
-
|
|
1834
|
-
(
|
|
1835
|
-
) ?
|
|
1836
|
-
(
|
|
1837
|
-
) : [...
|
|
1833
|
+
N != null && N.some(
|
|
1834
|
+
(S) => S.name == w.name
|
|
1835
|
+
) ? N.filter(
|
|
1836
|
+
(S) => S.name != String(w.name)
|
|
1837
|
+
) : [...N, w]
|
|
1838
1838
|
), w.type == "both" && a("cat");
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
|
-
|
|
1841
|
+
F(() => {
|
|
1842
1842
|
console.log("activeindicator changed to: ", v), o && typeof o == "function" && v && o({ activeIndicator: v });
|
|
1843
|
-
}, [v]),
|
|
1843
|
+
}, [v]), Dt(() => {
|
|
1844
1844
|
if (r && !v)
|
|
1845
1845
|
if (t && r && Array.isArray(r)) {
|
|
1846
1846
|
let w = v && v.length > 0 ? [...v] : [];
|
|
1847
|
-
f([...w, ...r]),
|
|
1847
|
+
f([...w, ...r]), x(r[0].name);
|
|
1848
1848
|
} else
|
|
1849
|
-
_(r),
|
|
1849
|
+
_(r), x(r.name);
|
|
1850
1850
|
}, []);
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1853
|
-
if (
|
|
1854
|
-
let
|
|
1855
|
-
(
|
|
1851
|
+
const x = (w) => {
|
|
1852
|
+
const N = n.find((S) => {
|
|
1853
|
+
if (S.subcategories) {
|
|
1854
|
+
let B = S.subcategories.find(
|
|
1855
|
+
(k) => k.indicators.find((L) => L.name == w)
|
|
1856
1856
|
);
|
|
1857
|
-
if (
|
|
1858
|
-
return y(
|
|
1857
|
+
if (B)
|
|
1858
|
+
return y(B.subcategory), B;
|
|
1859
1859
|
} else
|
|
1860
|
-
return
|
|
1860
|
+
return S.indicators.some((B) => B.name == w);
|
|
1861
1861
|
});
|
|
1862
|
-
|
|
1862
|
+
N && h(N.category);
|
|
1863
1863
|
};
|
|
1864
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1865
|
-
/* @__PURE__ */ i("h2", { className:
|
|
1866
|
-
n.map((w,
|
|
1867
|
-
|
|
1864
|
+
return /* @__PURE__ */ p("div", { className: et.indicatorsList, children: [
|
|
1865
|
+
/* @__PURE__ */ i("h2", { className: et.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
1866
|
+
n.map((w, N) => /* @__PURE__ */ i(
|
|
1867
|
+
yt,
|
|
1868
1868
|
{
|
|
1869
1869
|
id: w.category,
|
|
1870
1870
|
cat: w,
|
|
@@ -1881,11 +1881,11 @@ const xn = "_indicatorsList_fklyu_2", Nn = "_title_fklyu_6", Je = {
|
|
|
1881
1881
|
onChangeType: a,
|
|
1882
1882
|
activeIndicatorType: l
|
|
1883
1883
|
},
|
|
1884
|
-
`categoryKey${
|
|
1884
|
+
`categoryKey${N}`
|
|
1885
1885
|
))
|
|
1886
1886
|
] });
|
|
1887
1887
|
};
|
|
1888
|
-
|
|
1888
|
+
$n.propTypes = {
|
|
1889
1889
|
indicators: e.arrayOf(e.object),
|
|
1890
1890
|
activeColor: e.string,
|
|
1891
1891
|
defaultColor: e.string,
|
|
@@ -1896,14 +1896,14 @@ kn.propTypes = {
|
|
|
1896
1896
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1897
1897
|
activeIndicatorType: e.string
|
|
1898
1898
|
};
|
|
1899
|
-
const
|
|
1900
|
-
langSelector:
|
|
1901
|
-
currentLang:
|
|
1902
|
-
arrow:
|
|
1903
|
-
prevImg:
|
|
1904
|
-
langMenu:
|
|
1905
|
-
},
|
|
1906
|
-
const [o, t] =
|
|
1899
|
+
const Bn = "_langSelector_o9enq_2", Ln = "_currentLang_o9enq_14", Tn = "_arrow_o9enq_26", Mn = "_prevImg_o9enq_29", Dn = "_langMenu_o9enq_33", le = {
|
|
1900
|
+
langSelector: Bn,
|
|
1901
|
+
currentLang: Ln,
|
|
1902
|
+
arrow: Tn,
|
|
1903
|
+
prevImg: Mn,
|
|
1904
|
+
langMenu: Dn
|
|
1905
|
+
}, Fn = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1906
|
+
const [o, t] = D(!1), { i18n: r } = $(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1907
1907
|
r.changeLanguage(c), t(!1);
|
|
1908
1908
|
};
|
|
1909
1909
|
return /* @__PURE__ */ p("div", { className: le.langSelector, children: [
|
|
@@ -1932,7 +1932,7 @@ const $n = "_langSelector_o9enq_2", Sn = "_currentLang_o9enq_14", Bn = "_arrow_o
|
|
|
1932
1932
|
)) })
|
|
1933
1933
|
] });
|
|
1934
1934
|
};
|
|
1935
|
-
|
|
1935
|
+
Fn.propTypes = {
|
|
1936
1936
|
langs: e.arrayOf(
|
|
1937
1937
|
e.shape({
|
|
1938
1938
|
code: e.string,
|
|
@@ -1946,23 +1946,23 @@ Mn.propTypes = {
|
|
|
1946
1946
|
arrow: e.object,
|
|
1947
1947
|
imgPrev: e.object
|
|
1948
1948
|
};
|
|
1949
|
-
const
|
|
1950
|
-
legendContainer:
|
|
1951
|
-
closeButton:
|
|
1952
|
-
titleContainer:
|
|
1953
|
-
infoContainer:
|
|
1949
|
+
const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titleContainer_qs4x9_59", Rn = "_infoContainer_qs4x9_65", On = "_titleLegendList_qs4x9_76", qn = "_legendListContainer_qs4x9_82", En = "_gridContainer_qs4x9_82", Pn = "_elementLegendContainer_qs4x9_88", jn = "_colorDot_qs4x9_94", Zn = "_absoluteValueContainer_qs4x9_100", zn = "_absoluteValueColor_qs4x9_103", Kn = "_absoluteValueText_qs4x9_108", Hn = "_noDataContainer_qs4x9_120", Un = "_noData_qs4x9_120", Gn = "_moreInfoContainer_qs4x9_141", A = {
|
|
1950
|
+
legendContainer: Vn,
|
|
1951
|
+
closeButton: An,
|
|
1952
|
+
titleContainer: In,
|
|
1953
|
+
infoContainer: Rn,
|
|
1954
1954
|
titleLegendList: On,
|
|
1955
|
-
legendListContainer:
|
|
1956
|
-
gridContainer:
|
|
1957
|
-
elementLegendContainer:
|
|
1958
|
-
colorDot:
|
|
1959
|
-
absoluteValueContainer:
|
|
1960
|
-
absoluteValueColor:
|
|
1961
|
-
absoluteValueText:
|
|
1962
|
-
noDataContainer:
|
|
1963
|
-
noData:
|
|
1964
|
-
moreInfoContainer:
|
|
1965
|
-
},
|
|
1955
|
+
legendListContainer: qn,
|
|
1956
|
+
gridContainer: En,
|
|
1957
|
+
elementLegendContainer: Pn,
|
|
1958
|
+
colorDot: jn,
|
|
1959
|
+
absoluteValueContainer: Zn,
|
|
1960
|
+
absoluteValueColor: zn,
|
|
1961
|
+
absoluteValueText: Kn,
|
|
1962
|
+
noDataContainer: Hn,
|
|
1963
|
+
noData: Un,
|
|
1964
|
+
moreInfoContainer: Gn
|
|
1965
|
+
}, Wn = ({
|
|
1966
1966
|
//JSON with the styles of the container (optional)
|
|
1967
1967
|
containerStyles: n,
|
|
1968
1968
|
//Title on top of the legend
|
|
@@ -1990,30 +1990,30 @@ const Dn = "_legendContainer_qs4x9_3", Fn = "_closeButton_qs4x9_31", Vn = "_titl
|
|
|
1990
1990
|
"div",
|
|
1991
1991
|
{
|
|
1992
1992
|
style: n ? { ...n } : {},
|
|
1993
|
-
className: `${
|
|
1993
|
+
className: `${A.legendContainer}`,
|
|
1994
1994
|
children: [
|
|
1995
|
-
/* @__PURE__ */ i("button", { className:
|
|
1996
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
1997
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
1998
|
-
/* @__PURE__ */ i("h3", { className:
|
|
1999
|
-
/* @__PURE__ */ p("span", { className:
|
|
1995
|
+
/* @__PURE__ */ i("button", { className: A.closeButton, onClick: c }),
|
|
1996
|
+
d && /* @__PURE__ */ i("div", { className: A.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
1997
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: A.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: h, value: C }) => /* @__PURE__ */ p("li", { children: [
|
|
1998
|
+
/* @__PURE__ */ i("h3", { className: A.title, children: `${h}:` }),
|
|
1999
|
+
/* @__PURE__ */ p("span", { className: A.value, children: [
|
|
2000
2000
|
" ",
|
|
2001
2001
|
C
|
|
2002
2002
|
] })
|
|
2003
2003
|
] }, d)) }) }),
|
|
2004
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2005
|
-
/* @__PURE__ */ p("div", { className:
|
|
2006
|
-
r ? /* @__PURE__ */ p("div", { className:
|
|
2004
|
+
/* @__PURE__ */ i("h3", { className: A.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(ze, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
|
|
2005
|
+
/* @__PURE__ */ p("div", { className: A.legendListContainer, children: [
|
|
2006
|
+
r ? /* @__PURE__ */ p("div", { className: A.absoluteValueContainer, children: [
|
|
2007
2007
|
/* @__PURE__ */ i(
|
|
2008
2008
|
"div",
|
|
2009
2009
|
{
|
|
2010
|
-
className:
|
|
2010
|
+
className: A.absoluteValueColor,
|
|
2011
2011
|
style: {
|
|
2012
2012
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
),
|
|
2016
|
-
/* @__PURE__ */ p("div", { className:
|
|
2016
|
+
/* @__PURE__ */ p("div", { className: A.absoluteValueText, children: [
|
|
2017
2017
|
/* @__PURE__ */ p("span", { children: [
|
|
2018
2018
|
r.maxValue,
|
|
2019
2019
|
" ",
|
|
@@ -2030,40 +2030,40 @@ const Dn = "_legendContainer_qs4x9_3", Fn = "_closeButton_qs4x9_31", Vn = "_titl
|
|
|
2030
2030
|
u(r.unit)
|
|
2031
2031
|
] })
|
|
2032
2032
|
] })
|
|
2033
|
-
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2034
|
-
({ title: h, color: C }) => /* @__PURE__ */ p("div", { className:
|
|
2033
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: A.gridContainer, children: o.map(
|
|
2034
|
+
({ title: h, color: C }) => /* @__PURE__ */ p("div", { className: A.elementLegendContainer, children: [
|
|
2035
2035
|
/* @__PURE__ */ i(
|
|
2036
2036
|
"div",
|
|
2037
2037
|
{
|
|
2038
|
-
className:
|
|
2038
|
+
className: A.colorDot,
|
|
2039
2039
|
style: { backgroundColor: C }
|
|
2040
2040
|
}
|
|
2041
2041
|
),
|
|
2042
|
-
/* @__PURE__ */ p("div", { className:
|
|
2042
|
+
/* @__PURE__ */ p("div", { className: A.titleLegendElement, children: [
|
|
2043
2043
|
u(h),
|
|
2044
2044
|
" "
|
|
2045
2045
|
] })
|
|
2046
2046
|
] }, d)
|
|
2047
2047
|
) }),
|
|
2048
|
-
r.noDataColor && /* @__PURE__ */ p("div", { className:
|
|
2048
|
+
r.noDataColor && /* @__PURE__ */ p("div", { className: A.noDataContainer, children: [
|
|
2049
2049
|
/* @__PURE__ */ i(
|
|
2050
2050
|
"div",
|
|
2051
2051
|
{
|
|
2052
|
-
className:
|
|
2052
|
+
className: A.noData,
|
|
2053
2053
|
style: {
|
|
2054
2054
|
background: r.noDataColor
|
|
2055
2055
|
}
|
|
2056
2056
|
}
|
|
2057
2057
|
),
|
|
2058
|
-
/* @__PURE__ */ i("div", { className:
|
|
2058
|
+
/* @__PURE__ */ i("div", { className: A.absoluteValueText, children: /* @__PURE__ */ i("span", { children: u(r.noDataText) }) })
|
|
2059
2059
|
] })
|
|
2060
2060
|
] }),
|
|
2061
|
-
a && /* @__PURE__ */ i("button", { className:
|
|
2061
|
+
a && /* @__PURE__ */ i("button", { className: A.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
|
|
2062
2062
|
]
|
|
2063
2063
|
}
|
|
2064
2064
|
);
|
|
2065
2065
|
};
|
|
2066
|
-
|
|
2066
|
+
Wn.propTypes = {
|
|
2067
2067
|
title: e.string,
|
|
2068
2068
|
containerStyles: e.object,
|
|
2069
2069
|
infoList: e.arrayOf(
|
|
@@ -2090,23 +2090,23 @@ Un.propTypes = {
|
|
|
2090
2090
|
onClickClose: e.func,
|
|
2091
2091
|
noDataColor: e.string
|
|
2092
2092
|
};
|
|
2093
|
-
const
|
|
2094
|
-
logo:
|
|
2095
|
-
},
|
|
2093
|
+
const Yn = "_logo_1ewa6_2", tt = {
|
|
2094
|
+
logo: Yn
|
|
2095
|
+
}, Qn = ({ src: n, alt: d, href: s }) => {
|
|
2096
2096
|
const { t: o } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2097
|
-
return s ? /* @__PURE__ */ i("div", { className:
|
|
2097
|
+
return s ? /* @__PURE__ */ i("div", { className: tt.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: tt.logo, children: t });
|
|
2098
2098
|
};
|
|
2099
|
-
|
|
2099
|
+
Qn.propTypes = {
|
|
2100
2100
|
src: e.string.isRequired,
|
|
2101
2101
|
alt: e.string.isRequired,
|
|
2102
2102
|
href: e.string,
|
|
2103
2103
|
className: e.string
|
|
2104
2104
|
};
|
|
2105
|
-
const
|
|
2106
|
-
mapContainer:
|
|
2105
|
+
const Xn = "_mapContainer_84pkf_2", Jn = {
|
|
2106
|
+
mapContainer: Xn
|
|
2107
2107
|
};
|
|
2108
|
-
|
|
2109
|
-
const
|
|
2108
|
+
Vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2109
|
+
const e0 = ({
|
|
2110
2110
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2111
2111
|
maxZoom: d = 17,
|
|
2112
2112
|
minZoom: s = 8,
|
|
@@ -2119,16 +2119,16 @@ const Xn = ({
|
|
|
2119
2119
|
sources: u = [],
|
|
2120
2120
|
layers: h = []
|
|
2121
2121
|
}) => {
|
|
2122
|
-
const C =
|
|
2123
|
-
return
|
|
2122
|
+
const C = se(), [y, v] = D(null), f = At((g) => g.mapState.showTexts);
|
|
2123
|
+
return F(() => {
|
|
2124
2124
|
if (C.current) {
|
|
2125
2125
|
const g = C.current.getMap();
|
|
2126
2126
|
g.getStyle().layers.map((b) => {
|
|
2127
2127
|
b.type == "symbol" && b.id != "professionals" && (f ? g.setLayoutProperty(b.id, "visibility", "visible") : g.setLayoutProperty(b.id, "visibility", "none"));
|
|
2128
2128
|
});
|
|
2129
2129
|
}
|
|
2130
|
-
}, [f]), /* @__PURE__ */ i("div", { className: `${
|
|
2131
|
-
|
|
2130
|
+
}, [f]), /* @__PURE__ */ i("div", { className: `${Jn.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2131
|
+
It,
|
|
2132
2132
|
{
|
|
2133
2133
|
initialViewState: n,
|
|
2134
2134
|
ref: C,
|
|
@@ -2140,7 +2140,7 @@ const Xn = ({
|
|
|
2140
2140
|
interactiveLayerIds: l,
|
|
2141
2141
|
children: [
|
|
2142
2142
|
u.length && u.map((g, m) => /* @__PURE__ */ i(
|
|
2143
|
-
|
|
2143
|
+
Rt,
|
|
2144
2144
|
{
|
|
2145
2145
|
...g,
|
|
2146
2146
|
children: h.length && h.map((b, _) => {
|
|
@@ -2156,9 +2156,9 @@ const Xn = ({
|
|
|
2156
2156
|
},
|
|
2157
2157
|
m
|
|
2158
2158
|
)),
|
|
2159
|
-
/* @__PURE__ */ i(
|
|
2159
|
+
/* @__PURE__ */ i(qt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2160
2160
|
c && y && /* @__PURE__ */ i(
|
|
2161
|
-
|
|
2161
|
+
Et,
|
|
2162
2162
|
{
|
|
2163
2163
|
longitude: c.longitude,
|
|
2164
2164
|
latitude: c.latitude,
|
|
@@ -2171,7 +2171,7 @@ const Xn = ({
|
|
|
2171
2171
|
}
|
|
2172
2172
|
) });
|
|
2173
2173
|
};
|
|
2174
|
-
|
|
2174
|
+
e0.propTypes = {
|
|
2175
2175
|
initialView: e.shape({
|
|
2176
2176
|
latitude: e.number.isRequired,
|
|
2177
2177
|
longitude: e.number.isRequired,
|
|
@@ -2216,25 +2216,25 @@ Xn.propTypes = {
|
|
|
2216
2216
|
})
|
|
2217
2217
|
)
|
|
2218
2218
|
};
|
|
2219
|
-
const
|
|
2220
|
-
mapContainer:
|
|
2221
|
-
},
|
|
2222
|
-
FeaturePopUp:
|
|
2223
|
-
title:
|
|
2224
|
-
},
|
|
2219
|
+
const t0 = "_mapContainer_b0pyr_3", n0 = {
|
|
2220
|
+
mapContainer: t0
|
|
2221
|
+
}, i0 = "_FeaturePopUp_mt8l5_2", s0 = "_title_mt8l5_9", nt = {
|
|
2222
|
+
FeaturePopUp: i0,
|
|
2223
|
+
title: s0
|
|
2224
|
+
}, o0 = ({ props: n }) => {
|
|
2225
2225
|
const { t: d } = $();
|
|
2226
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2227
|
-
/* @__PURE__ */ p("span", { className:
|
|
2228
|
-
/* @__PURE__ */ i(
|
|
2226
|
+
return /* @__PURE__ */ i("div", { className: nt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ p("p", { children: [
|
|
2227
|
+
/* @__PURE__ */ p("span", { className: nt.title, children: [
|
|
2228
|
+
/* @__PURE__ */ i(ze, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2229
2229
|
":"
|
|
2230
2230
|
] }),
|
|
2231
|
-
isNaN(s.value) ? /* @__PURE__ */ i(
|
|
2231
|
+
isNaN(s.value) ? /* @__PURE__ */ i(Re, { children: d(s.value) }) : /* @__PURE__ */ p(Re, { children: [
|
|
2232
2232
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2233
2233
|
" ",
|
|
2234
2234
|
d(s.unit)
|
|
2235
2235
|
] })
|
|
2236
2236
|
] })) });
|
|
2237
|
-
},
|
|
2237
|
+
}, r0 = ({
|
|
2238
2238
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2239
2239
|
maxZoom: d = 17,
|
|
2240
2240
|
minZoom: s = 8,
|
|
@@ -2251,23 +2251,23 @@ const Jn = "_mapContainer_b0pyr_3", e0 = {
|
|
|
2251
2251
|
showTexts: v
|
|
2252
2252
|
}) => {
|
|
2253
2253
|
console.log(h);
|
|
2254
|
-
const f =
|
|
2255
|
-
return
|
|
2254
|
+
const f = se();
|
|
2255
|
+
return F(() => {
|
|
2256
2256
|
if (f.current) {
|
|
2257
2257
|
const g = f.current.getMap();
|
|
2258
2258
|
g.getStyle().layers.map((b) => {
|
|
2259
2259
|
b.type == "symbol" && b.id != "professionals" && (v ? g.setLayoutProperty(b.id, "visibility", "visible") : g.setLayoutProperty(b.id, "visibility", "none"));
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
|
-
}, [v]),
|
|
2263
|
-
let g = new
|
|
2264
|
-
return
|
|
2265
|
-
|
|
2262
|
+
}, [v]), F(() => {
|
|
2263
|
+
let g = new Pt();
|
|
2264
|
+
return Te.addProtocol("pmtiles", g.tile), () => {
|
|
2265
|
+
Te.removeProtocol("pmtiles");
|
|
2266
2266
|
};
|
|
2267
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2268
|
-
|
|
2267
|
+
}, []), /* @__PURE__ */ i("div", { className: `${n0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2268
|
+
jt,
|
|
2269
2269
|
{
|
|
2270
|
-
mapLib:
|
|
2270
|
+
mapLib: Te,
|
|
2271
2271
|
initialViewState: n,
|
|
2272
2272
|
ref: f,
|
|
2273
2273
|
hash: !1,
|
|
@@ -2278,12 +2278,12 @@ const Jn = "_mapContainer_b0pyr_3", e0 = {
|
|
|
2278
2278
|
interactiveLayerIds: l,
|
|
2279
2279
|
children: [
|
|
2280
2280
|
c.length && c.map((g, m) => /* @__PURE__ */ i(
|
|
2281
|
-
|
|
2281
|
+
Zt,
|
|
2282
2282
|
{
|
|
2283
2283
|
...g,
|
|
2284
2284
|
children: u.length && u.map((b, _) => {
|
|
2285
2285
|
if (b.sourceId == g.id) return /* @__PURE__ */ i(
|
|
2286
|
-
|
|
2286
|
+
zt,
|
|
2287
2287
|
{
|
|
2288
2288
|
...b.layer,
|
|
2289
2289
|
beforeId: t,
|
|
@@ -2295,21 +2295,21 @@ const Jn = "_mapContainer_b0pyr_3", e0 = {
|
|
|
2295
2295
|
},
|
|
2296
2296
|
m
|
|
2297
2297
|
)),
|
|
2298
|
-
/* @__PURE__ */ i(
|
|
2298
|
+
/* @__PURE__ */ i(Kt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2299
2299
|
C && /* @__PURE__ */ i(
|
|
2300
|
-
|
|
2300
|
+
Ht,
|
|
2301
2301
|
{
|
|
2302
2302
|
longitude: C.lng,
|
|
2303
2303
|
latitude: C.lat,
|
|
2304
2304
|
onClose: y,
|
|
2305
|
-
children: /* @__PURE__ */ i(
|
|
2305
|
+
children: /* @__PURE__ */ i(o0, { props: C.props })
|
|
2306
2306
|
}
|
|
2307
2307
|
)
|
|
2308
2308
|
]
|
|
2309
2309
|
}
|
|
2310
2310
|
) });
|
|
2311
2311
|
};
|
|
2312
|
-
|
|
2312
|
+
r0.propTypes = {
|
|
2313
2313
|
initialView: e.shape({
|
|
2314
2314
|
latitude: e.number.isRequired,
|
|
2315
2315
|
longitude: e.number.isRequired,
|
|
@@ -2352,14 +2352,14 @@ s0.propTypes = {
|
|
|
2352
2352
|
popUpParams: e.object,
|
|
2353
2353
|
onClosePopUp: e.func
|
|
2354
2354
|
};
|
|
2355
|
-
const
|
|
2356
|
-
sectionBar:
|
|
2357
|
-
leftContent:
|
|
2358
|
-
textContainer:
|
|
2359
|
-
title:
|
|
2360
|
-
subtitle:
|
|
2361
|
-
rightContent:
|
|
2362
|
-
},
|
|
2355
|
+
const a0 = "_sectionBar_1egwc_2", l0 = "_leftContent_1egwc_14", c0 = "_textContainer_1egwc_20", d0 = "_title_1egwc_27", u0 = "_subtitle_1egwc_33", p0 = "_rightContent_1egwc_38", ee = {
|
|
2356
|
+
sectionBar: a0,
|
|
2357
|
+
leftContent: l0,
|
|
2358
|
+
textContainer: c0,
|
|
2359
|
+
title: d0,
|
|
2360
|
+
subtitle: u0,
|
|
2361
|
+
rightContent: p0
|
|
2362
|
+
}, m0 = ({
|
|
2363
2363
|
leftIcon: n,
|
|
2364
2364
|
title: d,
|
|
2365
2365
|
subtitle: s,
|
|
@@ -2368,18 +2368,18 @@ const o0 = "_sectionBar_1egwc_2", r0 = "_leftContent_1egwc_14", a0 = "_textConta
|
|
|
2368
2368
|
width: r
|
|
2369
2369
|
}) => {
|
|
2370
2370
|
const { t: a } = $();
|
|
2371
|
-
return /* @__PURE__ */ p("div", { className:
|
|
2372
|
-
/* @__PURE__ */ p("div", { className:
|
|
2373
|
-
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className:
|
|
2374
|
-
/* @__PURE__ */ p("div", { className:
|
|
2375
|
-
/* @__PURE__ */ i("div", { className:
|
|
2376
|
-
s && /* @__PURE__ */ i("div", { className:
|
|
2371
|
+
return /* @__PURE__ */ p("div", { className: ee.sectionBar, style: { width: r && r }, children: [
|
|
2372
|
+
/* @__PURE__ */ p("div", { className: ee.leftContent, children: [
|
|
2373
|
+
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: ee.icon }),
|
|
2374
|
+
/* @__PURE__ */ p("div", { className: ee.textContainer, children: [
|
|
2375
|
+
/* @__PURE__ */ i("div", { className: ee.title, children: a(d) }),
|
|
2376
|
+
s && /* @__PURE__ */ i("div", { className: ee.subtitle, children: s })
|
|
2377
2377
|
] })
|
|
2378
2378
|
] }),
|
|
2379
|
-
/* @__PURE__ */ i("div", { className:
|
|
2379
|
+
/* @__PURE__ */ i("div", { className: ee.rightContent, children: o })
|
|
2380
2380
|
] });
|
|
2381
2381
|
};
|
|
2382
|
-
|
|
2382
|
+
m0.propTypes = {
|
|
2383
2383
|
leftIcon: e.string,
|
|
2384
2384
|
// URL del icono de la sección
|
|
2385
2385
|
title: e.string.isRequired,
|
|
@@ -2393,7 +2393,7 @@ u0.propTypes = {
|
|
|
2393
2393
|
width: e.oneOfType([e.string, e.number])
|
|
2394
2394
|
// ancho de la barra
|
|
2395
2395
|
};
|
|
2396
|
-
const
|
|
2396
|
+
const h0 = Ut({
|
|
2397
2397
|
name: "mapSlice",
|
|
2398
2398
|
initialState: {
|
|
2399
2399
|
showTexts: !0,
|
|
@@ -2419,12 +2419,12 @@ const p0 = Kt({
|
|
|
2419
2419
|
n.activeIndicatorUnit = d.payload;
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
|
-
}), { setShowTexts:
|
|
2423
|
-
slider:
|
|
2424
|
-
playButton:
|
|
2425
|
-
sliderOpen:
|
|
2426
|
-
sliderResults:
|
|
2427
|
-
},
|
|
2422
|
+
}), { setShowTexts: so, setYear: oo, setActiveIndicatorKey: ro, setActiveIndicatorType: ao, setActiveIndicatorUnit: lo } = h0.actions, g0 = "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", C0 = "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", f0 = "_slider_1prh1_2", b0 = "_playButton_1prh1_14", _0 = "_sliderOpen_1prh1_25", y0 = "_sliderResults_1prh1_29", ge = {
|
|
2423
|
+
slider: f0,
|
|
2424
|
+
playButton: b0,
|
|
2425
|
+
sliderOpen: _0,
|
|
2426
|
+
sliderResults: y0
|
|
2427
|
+
}, v0 = ({
|
|
2428
2428
|
onResults: n = !1,
|
|
2429
2429
|
defaultYear: d = 2025,
|
|
2430
2430
|
firstYear: s = 2025,
|
|
@@ -2435,30 +2435,30 @@ const p0 = Kt({
|
|
|
2435
2435
|
console.log("year changed to ", l);
|
|
2436
2436
|
}
|
|
2437
2437
|
}) => {
|
|
2438
|
-
const [l, c] =
|
|
2438
|
+
const [l, c] = D(d), u = (b, _) => {
|
|
2439
2439
|
c(_), a(_);
|
|
2440
|
-
}, [h, C] =
|
|
2440
|
+
}, [h, C] = D(!1), y = () => {
|
|
2441
2441
|
C(!0);
|
|
2442
2442
|
}, v = () => {
|
|
2443
2443
|
C(!1);
|
|
2444
2444
|
};
|
|
2445
2445
|
((b, _) => {
|
|
2446
|
-
const
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
}, [b]),
|
|
2446
|
+
const x = se();
|
|
2447
|
+
F(() => {
|
|
2448
|
+
x.current = b;
|
|
2449
|
+
}, [b]), F(() => {
|
|
2450
2450
|
function w() {
|
|
2451
|
-
|
|
2451
|
+
x.current();
|
|
2452
2452
|
}
|
|
2453
2453
|
{
|
|
2454
|
-
let
|
|
2455
|
-
return () => clearInterval(
|
|
2454
|
+
let N = setInterval(w, _);
|
|
2455
|
+
return () => clearInterval(N);
|
|
2456
2456
|
}
|
|
2457
2457
|
}, [_]);
|
|
2458
2458
|
})(() => {
|
|
2459
2459
|
h && (l != 2050 ? (c(l + 1), a(l + 1)) : (c(2025), a(2025)));
|
|
2460
2460
|
}, 1e3);
|
|
2461
|
-
const g =
|
|
2461
|
+
const g = Wt({
|
|
2462
2462
|
palette: {
|
|
2463
2463
|
primary: {
|
|
2464
2464
|
main: "#605b56"
|
|
@@ -2486,16 +2486,16 @@ const p0 = Kt({
|
|
|
2486
2486
|
{ label: "", value: 2041 },
|
|
2487
2487
|
{ label: "", value: 2050 }
|
|
2488
2488
|
];
|
|
2489
|
-
return /* @__PURE__ */ i(
|
|
2490
|
-
|
|
2489
|
+
return /* @__PURE__ */ i(Qt, { theme: g, children: /* @__PURE__ */ p(
|
|
2490
|
+
Yt,
|
|
2491
2491
|
{
|
|
2492
2492
|
sx: { width: 400 },
|
|
2493
|
-
className: `${n ?
|
|
2493
|
+
className: `${n ? ge.sliderResults : ge.slider} ${r ? ge.sliderOpen : ""}`,
|
|
2494
2494
|
style: { zIndex: t },
|
|
2495
2495
|
children: [
|
|
2496
2496
|
s,
|
|
2497
2497
|
/* @__PURE__ */ i(
|
|
2498
|
-
|
|
2498
|
+
Gt,
|
|
2499
2499
|
{
|
|
2500
2500
|
"aria-label": "TimeSlider",
|
|
2501
2501
|
value: l,
|
|
@@ -2510,13 +2510,13 @@ const p0 = Kt({
|
|
|
2510
2510
|
}
|
|
2511
2511
|
),
|
|
2512
2512
|
o,
|
|
2513
|
-
!h && /* @__PURE__ */ i("button", { className:
|
|
2514
|
-
h && /* @__PURE__ */ i("button", { className:
|
|
2513
|
+
!h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src: g0, alt: "Play" }) }),
|
|
2514
|
+
h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: C0, alt: "Pause" }) })
|
|
2515
2515
|
]
|
|
2516
2516
|
}
|
|
2517
2517
|
) });
|
|
2518
2518
|
};
|
|
2519
|
-
|
|
2519
|
+
v0.propTypes = {
|
|
2520
2520
|
defaultYear: e.number,
|
|
2521
2521
|
onResults: e.bool,
|
|
2522
2522
|
firstYear: e.number,
|
|
@@ -2525,11 +2525,11 @@ _0.propTypes = {
|
|
|
2525
2525
|
rightBarOpen: e.bool,
|
|
2526
2526
|
onChange: e.func
|
|
2527
2527
|
};
|
|
2528
|
-
const
|
|
2529
|
-
TopNavMenuContainer:
|
|
2530
|
-
topNavOptions:
|
|
2531
|
-
active:
|
|
2532
|
-
},
|
|
2528
|
+
const w0 = "_TopNavMenuContainer_12mp4_2", x0 = "_topNavOptions_12mp4_13", N0 = "_active_12mp4_27", Ae = {
|
|
2529
|
+
TopNavMenuContainer: w0,
|
|
2530
|
+
topNavOptions: x0,
|
|
2531
|
+
active: N0
|
|
2532
|
+
}, k0 = ({
|
|
2533
2533
|
options: n = [],
|
|
2534
2534
|
containerStyles: d,
|
|
2535
2535
|
borderColor: s = "red",
|
|
@@ -2539,11 +2539,11 @@ const y0 = "_TopNavMenuContainer_12mp4_2", v0 = "_topNavOptions_12mp4_13", w0 =
|
|
|
2539
2539
|
}
|
|
2540
2540
|
}) => {
|
|
2541
2541
|
const { t: r } = $();
|
|
2542
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2543
|
-
|
|
2542
|
+
return /* @__PURE__ */ i("div", { className: Ae.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ i(
|
|
2543
|
+
Xt,
|
|
2544
2544
|
{
|
|
2545
2545
|
to: a.url,
|
|
2546
|
-
className: ({ isActive: c }) => `${
|
|
2546
|
+
className: ({ isActive: c }) => `${Ae.topNavOptions} ${c ? Ae.active : ""} `,
|
|
2547
2547
|
onClick: () => t(a.url),
|
|
2548
2548
|
style: ({ isActive: c }) => ({
|
|
2549
2549
|
color: o,
|
|
@@ -2554,7 +2554,7 @@ const y0 = "_TopNavMenuContainer_12mp4_2", v0 = "_topNavOptions_12mp4_13", w0 =
|
|
|
2554
2554
|
l
|
|
2555
2555
|
)) });
|
|
2556
2556
|
};
|
|
2557
|
-
|
|
2557
|
+
k0.propTypes = {
|
|
2558
2558
|
options: e.arrayOf(e.object),
|
|
2559
2559
|
cssProps: e.shape({
|
|
2560
2560
|
borderColor: e.string.isRequired,
|
|
@@ -2564,9 +2564,9 @@ x0.propTypes = {
|
|
|
2564
2564
|
// activeColor: PropTypes.string,
|
|
2565
2565
|
// defaultColor: PropTypes.string
|
|
2566
2566
|
};
|
|
2567
|
-
const
|
|
2568
|
-
LogInButton:
|
|
2569
|
-
},
|
|
2567
|
+
const S0 = "_LogInButton_1vxj5_2", $0 = {
|
|
2568
|
+
LogInButton: S0
|
|
2569
|
+
}, B0 = ({
|
|
2570
2570
|
cssClass: n,
|
|
2571
2571
|
notLoggedInLabel: d = "Log in",
|
|
2572
2572
|
loggedInLabel: s = "Log out",
|
|
@@ -2585,13 +2585,13 @@ const N0 = "_LogInButton_1vxj5_2", k0 = {
|
|
|
2585
2585
|
"div",
|
|
2586
2586
|
{
|
|
2587
2587
|
style: { ...o },
|
|
2588
|
-
className: `${
|
|
2588
|
+
className: `${$0.LogInButton} link ${n}`,
|
|
2589
2589
|
onClick: r ? l : a,
|
|
2590
2590
|
children: r ? t || c(s) : c(d)
|
|
2591
2591
|
}
|
|
2592
2592
|
);
|
|
2593
2593
|
};
|
|
2594
|
-
|
|
2594
|
+
B0.propTypes = {
|
|
2595
2595
|
cssClass: e.string,
|
|
2596
2596
|
notLoggedInLabel: e.string,
|
|
2597
2597
|
loggedInLabel: e.string,
|
|
@@ -2599,43 +2599,43 @@ $0.propTypes = {
|
|
|
2599
2599
|
userName: e.string,
|
|
2600
2600
|
isLoggedIn: e.bool
|
|
2601
2601
|
};
|
|
2602
|
-
const
|
|
2603
|
-
elementSelector:
|
|
2604
|
-
header:
|
|
2605
|
-
nameDateContainer:
|
|
2606
|
-
elementName:
|
|
2607
|
-
elementDate:
|
|
2608
|
-
buttonsContainer:
|
|
2609
|
-
elementListContainer:
|
|
2610
|
-
newElementButtonContainer:
|
|
2611
|
-
},
|
|
2612
|
-
listElement:
|
|
2602
|
+
const L0 = "_elementSelector_1qdhv_2", T0 = "_header_1qdhv_13", M0 = "_nameDateContainer_1qdhv_23", D0 = "_elementName_1qdhv_39", F0 = "_elementDate_1qdhv_53", V0 = "_buttonsContainer_1qdhv_67", A0 = "_elementListContainer_1qdhv_76", I0 = "_newElementButtonContainer_1qdhv_80", H = {
|
|
2603
|
+
elementSelector: L0,
|
|
2604
|
+
header: T0,
|
|
2605
|
+
nameDateContainer: M0,
|
|
2606
|
+
elementName: D0,
|
|
2607
|
+
elementDate: F0,
|
|
2608
|
+
buttonsContainer: V0,
|
|
2609
|
+
elementListContainer: A0,
|
|
2610
|
+
newElementButtonContainer: I0
|
|
2611
|
+
}, R0 = "_listElement_1s506_2", O0 = "_elementNameDate_1s506_17", q0 = "_elementNameContainer_1s506_27", E0 = "_elementName_1s506_17", P0 = "_elementDate_1s506_42", j0 = "_elementButtons_1s506_45", Z0 = "_moreInfoContainer_1s506_68", z0 = "_moreInfo_1s506_68", z = {
|
|
2612
|
+
listElement: R0,
|
|
2613
2613
|
elementNameDate: O0,
|
|
2614
|
-
elementNameContainer:
|
|
2615
|
-
elementName:
|
|
2616
|
-
elementDate:
|
|
2617
|
-
elementButtons:
|
|
2614
|
+
elementNameContainer: q0,
|
|
2615
|
+
elementName: E0,
|
|
2616
|
+
elementDate: P0,
|
|
2617
|
+
elementButtons: j0,
|
|
2618
2618
|
break: "_break_1s506_63",
|
|
2619
|
-
moreInfoContainer:
|
|
2620
|
-
moreInfo:
|
|
2621
|
-
}, Z0 = "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", z0 = "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", K0 = "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", H0 = "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", U0 = "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";
|
|
2622
|
-
var
|
|
2623
|
-
function
|
|
2624
|
-
return
|
|
2619
|
+
moreInfoContainer: Z0,
|
|
2620
|
+
moreInfo: z0
|
|
2621
|
+
}, K0 = "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", H0 = "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", U0 = "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", G0 = "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", W0 = "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";
|
|
2622
|
+
var it;
|
|
2623
|
+
function je() {
|
|
2624
|
+
return je = Object.assign ? Object.assign.bind() : function(n) {
|
|
2625
2625
|
for (var d = 1; d < arguments.length; d++) {
|
|
2626
2626
|
var s = arguments[d];
|
|
2627
2627
|
for (var o in s) ({}).hasOwnProperty.call(s, o) && (n[o] = s[o]);
|
|
2628
2628
|
}
|
|
2629
2629
|
return n;
|
|
2630
|
-
},
|
|
2630
|
+
}, je.apply(null, arguments);
|
|
2631
2631
|
}
|
|
2632
|
-
var
|
|
2633
|
-
return /* @__PURE__ */ pe.createElement("svg",
|
|
2632
|
+
var Y0 = function(d) {
|
|
2633
|
+
return /* @__PURE__ */ pe.createElement("svg", je({
|
|
2634
2634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2635
2635
|
width: 26,
|
|
2636
2636
|
height: 14,
|
|
2637
2637
|
fill: "none"
|
|
2638
|
-
}, d),
|
|
2638
|
+
}, d), it || (it = /* @__PURE__ */ pe.createElement("g", {
|
|
2639
2639
|
fill: "currentColor"
|
|
2640
2640
|
}, /* @__PURE__ */ pe.createElement("path", {
|
|
2641
2641
|
d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
|
|
@@ -2643,7 +2643,7 @@ var G0 = function(d) {
|
|
|
2643
2643
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2644
2644
|
}))));
|
|
2645
2645
|
};
|
|
2646
|
-
const
|
|
2646
|
+
const Q0 = "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", vt = ({
|
|
2647
2647
|
listelement: n,
|
|
2648
2648
|
onClickElement: d,
|
|
2649
2649
|
isActive: s,
|
|
@@ -2656,59 +2656,59 @@ const W0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2656
2656
|
defaultTooltip: u,
|
|
2657
2657
|
showEye: h = !0
|
|
2658
2658
|
}) => {
|
|
2659
|
-
const { name: C, created_at: y, id: v, isBeingProcessed: f } = n, [g, m] =
|
|
2659
|
+
const { name: C, created_at: y, id: v, isBeingProcessed: f } = n, [g, m] = D(!1), { t: b } = $();
|
|
2660
2660
|
return /* @__PURE__ */ p(
|
|
2661
2661
|
"div",
|
|
2662
2662
|
{
|
|
2663
|
-
className:
|
|
2663
|
+
className: z.listElement,
|
|
2664
2664
|
style: { borderBottom: `1px solid ${t}` },
|
|
2665
2665
|
children: [
|
|
2666
|
-
/* @__PURE__ */ i("div", { className:
|
|
2667
|
-
h && (s ? /* @__PURE__ */ i(
|
|
2666
|
+
/* @__PURE__ */ i("div", { className: z.elementNameDate, onClick: () => d(v), children: Object.keys(a).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: z.elementNameContainer, children: /* @__PURE__ */ p("div", { className: z.elementName, children: [
|
|
2667
|
+
h && (s ? /* @__PURE__ */ i(Y0, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2668
2668
|
"img",
|
|
2669
2669
|
{
|
|
2670
2670
|
style: { marginRight: 9 },
|
|
2671
|
-
src:
|
|
2671
|
+
src: Q0,
|
|
2672
2672
|
alt: "eye"
|
|
2673
2673
|
}
|
|
2674
2674
|
)),
|
|
2675
2675
|
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: C })
|
|
2676
|
-
] }) }) : _ == "data" ? /* @__PURE__ */ i("div", { className:
|
|
2677
|
-
/* @__PURE__ */ p("div", { className:
|
|
2676
|
+
] }) }) : _ == "data" ? /* @__PURE__ */ i("div", { className: z.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: z.elementDate, children: n[_] })) }),
|
|
2677
|
+
/* @__PURE__ */ p("div", { className: z.elementButtons, children: [
|
|
2678
2678
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2679
|
-
/* @__PURE__ */ i("img", { src:
|
|
2680
|
-
/* @__PURE__ */ i(
|
|
2679
|
+
/* @__PURE__ */ i("img", { src: G0 }),
|
|
2680
|
+
/* @__PURE__ */ i(ie, { text: c, position: "left" })
|
|
2681
2681
|
] }),
|
|
2682
2682
|
l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2683
|
-
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2684
|
-
/* @__PURE__ */ i(
|
|
2683
|
+
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: U0 }) }),
|
|
2684
|
+
/* @__PURE__ */ i(ie, { text: l.filter.tooltiptext, position: "left" })
|
|
2685
2685
|
] }),
|
|
2686
2686
|
l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2687
|
-
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2688
|
-
/* @__PURE__ */ i(
|
|
2687
|
+
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: H0 }) }),
|
|
2688
|
+
/* @__PURE__ */ i(ie, { text: l.copy.tooltiptext, position: "left" })
|
|
2689
2689
|
] }),
|
|
2690
2690
|
l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2691
|
-
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2692
|
-
/* @__PURE__ */ i(
|
|
2691
|
+
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: K0 }) }),
|
|
2692
|
+
/* @__PURE__ */ i(ie, { text: l.trash.tooltiptext, position: "left" })
|
|
2693
2693
|
] }),
|
|
2694
2694
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2695
|
-
/* @__PURE__ */ i("img", { src:
|
|
2696
|
-
/* @__PURE__ */ i(
|
|
2695
|
+
/* @__PURE__ */ i("img", { src: W0 }),
|
|
2696
|
+
/* @__PURE__ */ i(ie, { text: u, position: "left" })
|
|
2697
2697
|
] })
|
|
2698
2698
|
] }),
|
|
2699
|
-
r && /* @__PURE__ */ i("div", { className:
|
|
2700
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2701
|
-
/* @__PURE__ */ p("div", { className:
|
|
2699
|
+
r && /* @__PURE__ */ i("div", { className: z.break }),
|
|
2700
|
+
r && /* @__PURE__ */ p("div", { className: z.moreInfoContainer, children: [
|
|
2701
|
+
/* @__PURE__ */ p("div", { className: z.moreInfo, onClick: () => m(!g), children: [
|
|
2702
2702
|
/* @__PURE__ */ i("span", { children: g ? "-" : "+" }),
|
|
2703
2703
|
b(r.label)
|
|
2704
2704
|
] }),
|
|
2705
|
-
r && g && /* @__PURE__ */ i("div", { className:
|
|
2705
|
+
r && g && /* @__PURE__ */ i("div", { className: z.moreInfoInfo, children: n[r.info] })
|
|
2706
2706
|
] })
|
|
2707
2707
|
]
|
|
2708
2708
|
}
|
|
2709
2709
|
);
|
|
2710
2710
|
};
|
|
2711
|
-
|
|
2711
|
+
vt.propTypes = {
|
|
2712
2712
|
listelement: e.shape({
|
|
2713
2713
|
name: e.string.isRequired,
|
|
2714
2714
|
created_at: e.string,
|
|
@@ -2744,7 +2744,7 @@ _t.propTypes = {
|
|
|
2744
2744
|
defaultTooltip: e.string,
|
|
2745
2745
|
showEye: e.bool
|
|
2746
2746
|
};
|
|
2747
|
-
const
|
|
2747
|
+
const st = "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", X0 = ({
|
|
2748
2748
|
elementsList: n,
|
|
2749
2749
|
activeElementId: d,
|
|
2750
2750
|
fontColor: s = "#605B56",
|
|
@@ -2766,41 +2766,41 @@ const it = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2766
2766
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2767
2767
|
showEye: v = !0
|
|
2768
2768
|
}) => {
|
|
2769
|
-
const { t: f } = $(), [g, m] =
|
|
2770
|
-
|
|
2769
|
+
const { t: f } = $(), [g, m] = D(n);
|
|
2770
|
+
F(() => {
|
|
2771
2771
|
n && m(n);
|
|
2772
2772
|
}, [n]);
|
|
2773
2773
|
const b = (_) => {
|
|
2774
2774
|
if (g && g.length > 0) {
|
|
2775
|
-
let
|
|
2776
|
-
|
|
2775
|
+
let x = [...g];
|
|
2776
|
+
x.sort((w, N) => w[_].localeCompare(N[_])), m(x);
|
|
2777
2777
|
}
|
|
2778
2778
|
};
|
|
2779
2779
|
return /* @__PURE__ */ p(
|
|
2780
2780
|
"div",
|
|
2781
2781
|
{
|
|
2782
|
-
className:
|
|
2782
|
+
className: H.elementSelector,
|
|
2783
2783
|
style: { color: s, ...r },
|
|
2784
2784
|
children: [
|
|
2785
2785
|
/* @__PURE__ */ p(
|
|
2786
2786
|
"div",
|
|
2787
2787
|
{
|
|
2788
|
-
className:
|
|
2788
|
+
className: H.header,
|
|
2789
2789
|
style: { borderBottom: `1px solid ${s}` },
|
|
2790
2790
|
children: [
|
|
2791
|
-
/* @__PURE__ */ i("div", { className:
|
|
2791
|
+
/* @__PURE__ */ i("div", { className: H.nameDateContainer, children: Object.keys(c).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: H.elementName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
2792
2792
|
/* @__PURE__ */ i("span", { children: f(c.name) }),
|
|
2793
|
-
/* @__PURE__ */ i("img", { src:
|
|
2794
|
-
] }) }, _) : _ === "data" ? /* @__PURE__ */ i("div", { className:
|
|
2793
|
+
/* @__PURE__ */ i("img", { src: st, alt: "order arrow" })
|
|
2794
|
+
] }) }, _) : _ === "data" ? /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
2795
2795
|
/* @__PURE__ */ i("span", { children: f(c.data) }),
|
|
2796
|
-
/* @__PURE__ */ i("img", { src:
|
|
2797
|
-
] }) }, _) : /* @__PURE__ */ i("div", { className:
|
|
2798
|
-
/* @__PURE__ */ i("div", { className:
|
|
2796
|
+
/* @__PURE__ */ i("img", { src: st, alt: "order arrow" })
|
|
2797
|
+
] }) }, _) : /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ i("span", { children: f(c[_]) }) }, _)) }),
|
|
2798
|
+
/* @__PURE__ */ i("div", { className: H.buttonsContainer })
|
|
2799
2799
|
]
|
|
2800
2800
|
}
|
|
2801
2801
|
),
|
|
2802
|
-
/* @__PURE__ */ i("div", { className:
|
|
2803
|
-
|
|
2802
|
+
/* @__PURE__ */ i("div", { className: H.elementListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ i(
|
|
2803
|
+
vt,
|
|
2804
2804
|
{
|
|
2805
2805
|
isActive: d == _.id,
|
|
2806
2806
|
listelement: _,
|
|
@@ -2816,8 +2816,8 @@ const it = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2816
2816
|
},
|
|
2817
2817
|
`elementKey${_.id}`
|
|
2818
2818
|
)) }),
|
|
2819
|
-
a && /* @__PURE__ */ i("div", { className:
|
|
2820
|
-
|
|
2819
|
+
a && /* @__PURE__ */ i("div", { className: H.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2820
|
+
Le,
|
|
2821
2821
|
{
|
|
2822
2822
|
style: { ...t },
|
|
2823
2823
|
onClick: a.onClick,
|
|
@@ -2830,7 +2830,7 @@ const it = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2830
2830
|
}
|
|
2831
2831
|
);
|
|
2832
2832
|
};
|
|
2833
|
-
|
|
2833
|
+
X0.propTypes = {
|
|
2834
2834
|
elementsList: e.arrayOf(
|
|
2835
2835
|
e.shape({
|
|
2836
2836
|
name: e.string.isRequired,
|
|
@@ -2877,68 +2877,67 @@ Y0.propTypes = {
|
|
|
2877
2877
|
defaultTooltip: e.string,
|
|
2878
2878
|
showEye: e.bool
|
|
2879
2879
|
};
|
|
2880
|
-
const
|
|
2880
|
+
const J0 = "_formContainer_asv64_2", ei = "_categorySelectorContainer_asv64_11", ti = "_formObjectContainer_asv64_15", ni = "_buttonContainer_asv64_26", Ce = {
|
|
2881
|
+
formContainer: J0,
|
|
2882
|
+
categorySelectorContainer: ei,
|
|
2883
|
+
formObjectContainer: ti,
|
|
2884
|
+
buttonContainer: ni
|
|
2885
|
+
}, fe = {
|
|
2881
2886
|
text: "text",
|
|
2882
2887
|
password: "password",
|
|
2883
2888
|
radioList: "radioList",
|
|
2884
2889
|
select: "select"
|
|
2885
|
-
}
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
showPasswordButton: ei,
|
|
2890
|
-
forgotPassButton: ti
|
|
2891
|
-
};
|
|
2892
|
-
var ni = (n) => n.type === "checkbox", ii = (n) => n instanceof Date, yt = (n) => n == null;
|
|
2893
|
-
const si = (n) => typeof n == "object";
|
|
2894
|
-
var be = (n) => !yt(n) && !Array.isArray(n) && si(n) && !ii(n), oi = (n) => be(n) && n.target ? ni(n.target) ? n.target.checked : n.target.value : n, ri = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, ai = (n, d) => n.has(ri(d)), li = (n) => {
|
|
2890
|
+
};
|
|
2891
|
+
var ii = (n) => n.type === "checkbox", si = (n) => n instanceof Date, wt = (n) => n == null;
|
|
2892
|
+
const oi = (n) => typeof n == "object";
|
|
2893
|
+
var _e = (n) => !wt(n) && !Array.isArray(n) && oi(n) && !si(n), ri = (n) => _e(n) && n.target ? ii(n.target) ? n.target.checked : n.target.value : n, ai = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, li = (n, d) => n.has(ai(d)), ci = (n) => {
|
|
2895
2894
|
const d = n.constructor && n.constructor.prototype;
|
|
2896
|
-
return
|
|
2897
|
-
},
|
|
2898
|
-
function
|
|
2895
|
+
return _e(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2896
|
+
}, di = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2897
|
+
function xt(n) {
|
|
2899
2898
|
let d;
|
|
2900
2899
|
const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2901
2900
|
if (n instanceof Date)
|
|
2902
2901
|
d = new Date(n);
|
|
2903
|
-
else if (!(
|
|
2904
|
-
if (d = s ? [] : {}, !s && !
|
|
2902
|
+
else if (!(di && (n instanceof Blob || o)) && (s || _e(n)))
|
|
2903
|
+
if (d = s ? [] : {}, !s && !ci(n))
|
|
2905
2904
|
d = n;
|
|
2906
2905
|
else
|
|
2907
2906
|
for (const t in n)
|
|
2908
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2907
|
+
n.hasOwnProperty(t) && (d[t] = xt(n[t]));
|
|
2909
2908
|
else
|
|
2910
2909
|
return n;
|
|
2911
2910
|
return d;
|
|
2912
2911
|
}
|
|
2913
|
-
var
|
|
2914
|
-
if (!d || !
|
|
2912
|
+
var Nt = (n) => /^\w*$/.test(n), Ze = (n) => n === void 0, ui = (n) => Array.isArray(n) ? n.filter(Boolean) : [], kt = (n) => ui(n.replace(/["|']|\]/g, "").split(/\.|\[/)), q = (n, d, s) => {
|
|
2913
|
+
if (!d || !_e(n))
|
|
2915
2914
|
return s;
|
|
2916
|
-
const o = (
|
|
2917
|
-
return
|
|
2918
|
-
},
|
|
2915
|
+
const o = (Nt(d) ? [d] : kt(d)).reduce((t, r) => wt(t) ? t : t[r], n);
|
|
2916
|
+
return Ze(o) || o === n ? Ze(n[d]) ? s : n[d] : o;
|
|
2917
|
+
}, Ie = (n) => typeof n == "boolean", ot = (n, d, s) => {
|
|
2919
2918
|
let o = -1;
|
|
2920
|
-
const t =
|
|
2919
|
+
const t = Nt(d) ? [d] : kt(d), r = t.length, a = r - 1;
|
|
2921
2920
|
for (; ++o < r; ) {
|
|
2922
2921
|
const l = t[o];
|
|
2923
2922
|
let c = s;
|
|
2924
2923
|
if (o !== a) {
|
|
2925
2924
|
const u = n[l];
|
|
2926
|
-
c =
|
|
2925
|
+
c = _e(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2927
2926
|
}
|
|
2928
2927
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2929
2928
|
return;
|
|
2930
2929
|
n[l] = c, n = n[l];
|
|
2931
2930
|
}
|
|
2932
2931
|
};
|
|
2933
|
-
const
|
|
2932
|
+
const rt = {
|
|
2934
2933
|
BLUR: "blur",
|
|
2935
2934
|
CHANGE: "change"
|
|
2936
|
-
},
|
|
2935
|
+
}, at = {
|
|
2937
2936
|
all: "all"
|
|
2938
|
-
},
|
|
2939
|
-
|
|
2940
|
-
const
|
|
2941
|
-
var
|
|
2937
|
+
}, St = T.createContext(null);
|
|
2938
|
+
St.displayName = "HookFormContext";
|
|
2939
|
+
const Ge = () => T.useContext(St);
|
|
2940
|
+
var pi = (n, d, s, o = !0) => {
|
|
2942
2941
|
const t = {
|
|
2943
2942
|
defaultValues: d._defaultValues
|
|
2944
2943
|
};
|
|
@@ -2946,14 +2945,14 @@ var ui = (n, d, s, o = !0) => {
|
|
|
2946
2945
|
Object.defineProperty(t, r, {
|
|
2947
2946
|
get: () => {
|
|
2948
2947
|
const a = r;
|
|
2949
|
-
return d._proxyFormState[a] !==
|
|
2948
|
+
return d._proxyFormState[a] !== at.all && (d._proxyFormState[a] = !o || at.all), s && (s[a] = !0), n[a];
|
|
2950
2949
|
}
|
|
2951
2950
|
});
|
|
2952
2951
|
return t;
|
|
2953
2952
|
};
|
|
2954
|
-
const
|
|
2955
|
-
function
|
|
2956
|
-
const d =
|
|
2953
|
+
const $t = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
|
|
2954
|
+
function mi(n) {
|
|
2955
|
+
const d = Ge(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = T.useState(s._formState), c = T.useRef({
|
|
2957
2956
|
isDirty: !1,
|
|
2958
2957
|
isLoading: !1,
|
|
2959
2958
|
dirtyFields: !1,
|
|
@@ -2963,7 +2962,7 @@ function pi(n) {
|
|
|
2963
2962
|
isValid: !1,
|
|
2964
2963
|
errors: !1
|
|
2965
2964
|
});
|
|
2966
|
-
return
|
|
2965
|
+
return $t(() => s._subscribe({
|
|
2967
2966
|
name: t,
|
|
2968
2967
|
formState: c.current,
|
|
2969
2968
|
exact: r,
|
|
@@ -2973,116 +2972,122 @@ function pi(n) {
|
|
|
2973
2972
|
...u
|
|
2974
2973
|
});
|
|
2975
2974
|
}
|
|
2976
|
-
}), [t, o, r]),
|
|
2975
|
+
}), [t, o, r]), T.useEffect(() => {
|
|
2977
2976
|
c.current.isValid && s._setValid(!0);
|
|
2978
|
-
}, [s]),
|
|
2977
|
+
}, [s]), T.useMemo(() => pi(a, s, c.current, !1), [a, s]);
|
|
2979
2978
|
}
|
|
2980
|
-
var
|
|
2981
|
-
function
|
|
2982
|
-
const d =
|
|
2983
|
-
return
|
|
2979
|
+
var hi = (n) => typeof n == "string", gi = (n, d, s, o, t) => hi(n) ? q(s, n, t) : Array.isArray(n) ? n.map((r) => q(s, r)) : s;
|
|
2980
|
+
function Ci(n) {
|
|
2981
|
+
const d = Ge(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = T.useRef(t), [c, u] = T.useState(s._getWatch(o, l.current));
|
|
2982
|
+
return $t(() => s._subscribe({
|
|
2984
2983
|
name: o,
|
|
2985
2984
|
formState: {
|
|
2986
2985
|
values: !0
|
|
2987
2986
|
},
|
|
2988
2987
|
exact: a,
|
|
2989
|
-
callback: (h) => !r && u(
|
|
2990
|
-
}), [o, s, r, a]),
|
|
2988
|
+
callback: (h) => !r && u(gi(o, s._names, h.values || s._formValues, !1, l.current))
|
|
2989
|
+
}), [o, s, r, a]), T.useEffect(() => s._removeUnmounted()), c;
|
|
2991
2990
|
}
|
|
2992
|
-
function
|
|
2993
|
-
const d =
|
|
2991
|
+
function fi(n) {
|
|
2992
|
+
const d = Ge(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = li(t._names.array, s), l = Ci({
|
|
2994
2993
|
control: t,
|
|
2995
2994
|
name: s,
|
|
2996
|
-
defaultValue:
|
|
2995
|
+
defaultValue: q(t._formValues, s, q(t._defaultValues, s, n.defaultValue)),
|
|
2997
2996
|
exact: !0
|
|
2998
|
-
}), c =
|
|
2997
|
+
}), c = mi({
|
|
2999
2998
|
control: t,
|
|
3000
2999
|
name: s,
|
|
3001
3000
|
exact: !0
|
|
3002
|
-
}), u =
|
|
3001
|
+
}), u = T.useRef(n), h = T.useRef(t.register(s, {
|
|
3003
3002
|
...n.rules,
|
|
3004
3003
|
value: l,
|
|
3005
|
-
...
|
|
3006
|
-
})), C =
|
|
3004
|
+
...Ie(n.disabled) ? { disabled: n.disabled } : {}
|
|
3005
|
+
})), C = T.useMemo(() => Object.defineProperties({}, {
|
|
3007
3006
|
invalid: {
|
|
3008
3007
|
enumerable: !0,
|
|
3009
|
-
get: () => !!
|
|
3008
|
+
get: () => !!q(c.errors, s)
|
|
3010
3009
|
},
|
|
3011
3010
|
isDirty: {
|
|
3012
3011
|
enumerable: !0,
|
|
3013
|
-
get: () => !!
|
|
3012
|
+
get: () => !!q(c.dirtyFields, s)
|
|
3014
3013
|
},
|
|
3015
3014
|
isTouched: {
|
|
3016
3015
|
enumerable: !0,
|
|
3017
|
-
get: () => !!
|
|
3016
|
+
get: () => !!q(c.touchedFields, s)
|
|
3018
3017
|
},
|
|
3019
3018
|
isValidating: {
|
|
3020
3019
|
enumerable: !0,
|
|
3021
|
-
get: () => !!
|
|
3020
|
+
get: () => !!q(c.validatingFields, s)
|
|
3022
3021
|
},
|
|
3023
3022
|
error: {
|
|
3024
3023
|
enumerable: !0,
|
|
3025
|
-
get: () =>
|
|
3024
|
+
get: () => q(c.errors, s)
|
|
3026
3025
|
}
|
|
3027
|
-
}), [c, s]), y =
|
|
3026
|
+
}), [c, s]), y = T.useCallback((m) => h.current.onChange({
|
|
3028
3027
|
target: {
|
|
3029
|
-
value:
|
|
3028
|
+
value: ri(m),
|
|
3030
3029
|
name: s
|
|
3031
3030
|
},
|
|
3032
|
-
type:
|
|
3033
|
-
}), [s]), v =
|
|
3031
|
+
type: rt.CHANGE
|
|
3032
|
+
}), [s]), v = T.useCallback(() => h.current.onBlur({
|
|
3034
3033
|
target: {
|
|
3035
|
-
value:
|
|
3034
|
+
value: q(t._formValues, s),
|
|
3036
3035
|
name: s
|
|
3037
3036
|
},
|
|
3038
|
-
type:
|
|
3039
|
-
}), [s, t._formValues]), f =
|
|
3040
|
-
const b =
|
|
3037
|
+
type: rt.BLUR
|
|
3038
|
+
}), [s, t._formValues]), f = T.useCallback((m) => {
|
|
3039
|
+
const b = q(t._fields, s);
|
|
3041
3040
|
b && m && (b._f.ref = {
|
|
3042
3041
|
focus: () => m.focus && m.focus(),
|
|
3043
3042
|
select: () => m.select && m.select(),
|
|
3044
3043
|
setCustomValidity: (_) => m.setCustomValidity(_),
|
|
3045
3044
|
reportValidity: () => m.reportValidity()
|
|
3046
3045
|
});
|
|
3047
|
-
}, [t._fields, s]), g =
|
|
3046
|
+
}, [t._fields, s]), g = T.useMemo(() => ({
|
|
3048
3047
|
name: s,
|
|
3049
3048
|
value: l,
|
|
3050
|
-
...
|
|
3049
|
+
...Ie(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3051
3050
|
onChange: y,
|
|
3052
3051
|
onBlur: v,
|
|
3053
3052
|
ref: f
|
|
3054
3053
|
}), [s, o, c.disabled, y, v, f, l]);
|
|
3055
|
-
return
|
|
3054
|
+
return T.useEffect(() => {
|
|
3056
3055
|
const m = t._options.shouldUnregister || r;
|
|
3057
3056
|
t.register(s, {
|
|
3058
3057
|
...u.current.rules,
|
|
3059
|
-
...
|
|
3058
|
+
...Ie(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3060
3059
|
});
|
|
3061
|
-
const b = (_,
|
|
3062
|
-
const w =
|
|
3063
|
-
w && w._f && (w._f.mount =
|
|
3060
|
+
const b = (_, x) => {
|
|
3061
|
+
const w = q(t._fields, _);
|
|
3062
|
+
w && w._f && (w._f.mount = x);
|
|
3064
3063
|
};
|
|
3065
3064
|
if (b(s, !0), m) {
|
|
3066
|
-
const _ =
|
|
3067
|
-
|
|
3065
|
+
const _ = xt(q(t._options.defaultValues, s));
|
|
3066
|
+
ot(t._defaultValues, s, _), Ze(q(t._formValues, s)) && ot(t._formValues, s, _);
|
|
3068
3067
|
}
|
|
3069
3068
|
return !a && t.register(s), () => {
|
|
3070
3069
|
(a ? m && !t._state.action : m) ? t.unregister(s) : b(s, !1);
|
|
3071
3070
|
};
|
|
3072
|
-
}, [s, t, a, r]),
|
|
3071
|
+
}, [s, t, a, r]), T.useEffect(() => {
|
|
3073
3072
|
t._setDisabledField({
|
|
3074
3073
|
disabled: o,
|
|
3075
3074
|
name: s
|
|
3076
3075
|
});
|
|
3077
|
-
}, [o, s, t]),
|
|
3076
|
+
}, [o, s, t]), T.useMemo(() => ({
|
|
3078
3077
|
field: g,
|
|
3079
3078
|
formState: c,
|
|
3080
3079
|
fieldState: C
|
|
3081
3080
|
}), [g, c, C]);
|
|
3082
3081
|
}
|
|
3083
|
-
const
|
|
3084
|
-
|
|
3085
|
-
|
|
3082
|
+
const ye = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_labelContainer_1o3iy_5", yi = "_inputContainer_1o3iy_8", vi = "_showPasswordButton_1o3iy_14", wi = "_forgotPassButton_1o3iy_26", be = {
|
|
3083
|
+
textInputContainer: bi,
|
|
3084
|
+
labelContainer: _i,
|
|
3085
|
+
inputContainer: yi,
|
|
3086
|
+
showPasswordButton: vi,
|
|
3087
|
+
forgotPassButton: wi
|
|
3088
|
+
}, xi = "_errorMessage_1xiyb_2", Ni = {
|
|
3089
|
+
errorMessage: xi
|
|
3090
|
+
}, ve = ({
|
|
3086
3091
|
errorMessage: n,
|
|
3087
3092
|
errorColor: d = "red",
|
|
3088
3093
|
containerStyles: s
|
|
@@ -3091,12 +3096,12 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3091
3096
|
return /* @__PURE__ */ i(
|
|
3092
3097
|
"div",
|
|
3093
3098
|
{
|
|
3094
|
-
className:
|
|
3099
|
+
className: Ni.errorMessage,
|
|
3095
3100
|
style: { color: d, ...s },
|
|
3096
3101
|
children: n ? o(n) : ""
|
|
3097
3102
|
}
|
|
3098
3103
|
);
|
|
3099
|
-
},
|
|
3104
|
+
}, lt = ({ input: n, reactHookFormInstance: d }) => {
|
|
3100
3105
|
const {
|
|
3101
3106
|
code: s,
|
|
3102
3107
|
type: o,
|
|
@@ -3111,13 +3116,13 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3111
3116
|
console.log("Click on forgot password");
|
|
3112
3117
|
},
|
|
3113
3118
|
forgotPassLabel: y = "forgot-password"
|
|
3114
|
-
} = n, { t: v } = $(), { control: f, trigger: g, clearErrors: m } = d, [b, _] =
|
|
3115
|
-
|
|
3116
|
-
|
|
3119
|
+
} = n, { t: v } = $(), { control: f, trigger: g, clearErrors: m } = d, [b, _] = D(!1), x = se(a);
|
|
3120
|
+
F(() => {
|
|
3121
|
+
x.current !== a && (a ? g(s) : m(s), x.current = a);
|
|
3117
3122
|
}, [a, s, g, m]);
|
|
3118
3123
|
const w = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3119
3124
|
return /* @__PURE__ */ i(
|
|
3120
|
-
|
|
3125
|
+
ye,
|
|
3121
3126
|
{
|
|
3122
3127
|
name: s,
|
|
3123
3128
|
control: f,
|
|
@@ -3126,25 +3131,25 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3126
3131
|
maxLength: r || void 0,
|
|
3127
3132
|
validate: l || void 0
|
|
3128
3133
|
},
|
|
3129
|
-
render: ({ field:
|
|
3130
|
-
var
|
|
3131
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3132
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3134
|
+
render: ({ field: N, fieldState: S }) => {
|
|
3135
|
+
var B;
|
|
3136
|
+
return /* @__PURE__ */ p("div", { className: be.textInputContainer, children: [
|
|
3137
|
+
/* @__PURE__ */ p("h3", { className: be.labelContainer, children: [
|
|
3133
3138
|
v(t),
|
|
3134
3139
|
" ",
|
|
3135
|
-
a && /* @__PURE__ */ i("label", { style: { color:
|
|
3140
|
+
a && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3136
3141
|
] }),
|
|
3137
3142
|
/* @__PURE__ */ p(
|
|
3138
3143
|
"div",
|
|
3139
3144
|
{
|
|
3140
3145
|
style: { position: "relative", width: h },
|
|
3141
|
-
className:
|
|
3146
|
+
className: be.inputContainer,
|
|
3142
3147
|
children: [
|
|
3143
3148
|
/* @__PURE__ */ i(
|
|
3144
3149
|
"input",
|
|
3145
3150
|
{
|
|
3146
3151
|
type: w(),
|
|
3147
|
-
...
|
|
3152
|
+
...N,
|
|
3148
3153
|
placeholder: c ? v(c) : "",
|
|
3149
3154
|
maxLength: r || void 0
|
|
3150
3155
|
}
|
|
@@ -3154,18 +3159,18 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3154
3159
|
{
|
|
3155
3160
|
onClick: () => _(!b),
|
|
3156
3161
|
type: "button",
|
|
3157
|
-
className:
|
|
3162
|
+
className: be.showPasswordButton,
|
|
3158
3163
|
children: b ? "🙈" : "👁️"
|
|
3159
3164
|
}
|
|
3160
3165
|
)
|
|
3161
3166
|
]
|
|
3162
3167
|
}
|
|
3163
3168
|
),
|
|
3164
|
-
o == "password" && /* @__PURE__ */ i("div", { className:
|
|
3169
|
+
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: v(y) }) }),
|
|
3165
3170
|
/* @__PURE__ */ i(
|
|
3166
|
-
|
|
3171
|
+
ve,
|
|
3167
3172
|
{
|
|
3168
|
-
errorMessage: (
|
|
3173
|
+
errorMessage: (B = S.error) == null ? void 0 : B.message,
|
|
3169
3174
|
errorColor: u
|
|
3170
3175
|
}
|
|
3171
3176
|
)
|
|
@@ -3173,20 +3178,16 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3173
3178
|
}
|
|
3174
3179
|
}
|
|
3175
3180
|
);
|
|
3176
|
-
},
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
selectInput: $i,
|
|
3187
|
-
option: Si,
|
|
3188
|
-
dropdownArrow: Bi
|
|
3189
|
-
}, Li = "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", Ti = ({ input: n, reactHookFormInstance: d }) => {
|
|
3181
|
+
}, ki = "_inputsContainer_10t9s_2", ce = {
|
|
3182
|
+
inputsContainer: ki
|
|
3183
|
+
}, Si = "_selectInputContainer_1rj0h_2", $i = "_labelContainer_1rj0h_6", Bi = "_inputContainer_1rj0h_9", Li = "_selectInput_1rj0h_2", Ti = "_option_1rj0h_23", Mi = "_dropdownArrow_1rj0h_26", de = {
|
|
3184
|
+
selectInputContainer: Si,
|
|
3185
|
+
labelContainer: $i,
|
|
3186
|
+
inputContainer: Bi,
|
|
3187
|
+
selectInput: Li,
|
|
3188
|
+
option: Ti,
|
|
3189
|
+
dropdownArrow: Mi
|
|
3190
|
+
}, Di = "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", Fi = ({ input: n, reactHookFormInstance: d }) => {
|
|
3190
3191
|
const {
|
|
3191
3192
|
code: s,
|
|
3192
3193
|
type: o,
|
|
@@ -3198,11 +3199,11 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3198
3199
|
errorColor: u = "red",
|
|
3199
3200
|
width: h = 325,
|
|
3200
3201
|
options: C = []
|
|
3201
|
-
} = n, { t: y } = $(), { control: v, trigger: f, clearErrors: g } = d, m =
|
|
3202
|
-
return
|
|
3202
|
+
} = n, { t: y } = $(), { control: v, trigger: f, clearErrors: g } = d, m = se(a);
|
|
3203
|
+
return F(() => {
|
|
3203
3204
|
m.current !== a && (a ? f(s) : g(s), m.current = a);
|
|
3204
3205
|
}, [a, s, f, g]), /* @__PURE__ */ i(
|
|
3205
|
-
|
|
3206
|
+
ye,
|
|
3206
3207
|
{
|
|
3207
3208
|
name: s,
|
|
3208
3209
|
control: v,
|
|
@@ -3214,7 +3215,7 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3214
3215
|
} : void 0
|
|
3215
3216
|
},
|
|
3216
3217
|
render: ({ field: b, fieldState: _ }) => {
|
|
3217
|
-
var
|
|
3218
|
+
var x;
|
|
3218
3219
|
return /* @__PURE__ */ p("div", { className: de.selectInputContainer, children: [
|
|
3219
3220
|
/* @__PURE__ */ p("h3", { className: de.labelContainer, children: [
|
|
3220
3221
|
y(t),
|
|
@@ -3227,20 +3228,20 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3227
3228
|
{
|
|
3228
3229
|
...b,
|
|
3229
3230
|
onChange: (w) => {
|
|
3230
|
-
const
|
|
3231
|
-
b.onChange(
|
|
3231
|
+
const N = w.target.value, S = C.every((B) => typeof B.value == "number") ? Number(N) : N;
|
|
3232
|
+
b.onChange(S);
|
|
3232
3233
|
},
|
|
3233
3234
|
className: de.selectInput,
|
|
3234
3235
|
children: [
|
|
3235
3236
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: y(c || "selectOption") }),
|
|
3236
|
-
C.map((w,
|
|
3237
|
+
C.map((w, N) => /* @__PURE__ */ i(
|
|
3237
3238
|
"option",
|
|
3238
3239
|
{
|
|
3239
3240
|
value: w.value,
|
|
3240
3241
|
className: de.option,
|
|
3241
3242
|
children: y(w.label)
|
|
3242
3243
|
},
|
|
3243
|
-
|
|
3244
|
+
N
|
|
3244
3245
|
))
|
|
3245
3246
|
]
|
|
3246
3247
|
}
|
|
@@ -3248,16 +3249,16 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3248
3249
|
/* @__PURE__ */ i(
|
|
3249
3250
|
"img",
|
|
3250
3251
|
{
|
|
3251
|
-
src:
|
|
3252
|
+
src: Di,
|
|
3252
3253
|
alt: "Open",
|
|
3253
3254
|
className: de.dropdownArrow
|
|
3254
3255
|
}
|
|
3255
3256
|
)
|
|
3256
3257
|
] }),
|
|
3257
3258
|
/* @__PURE__ */ i(
|
|
3258
|
-
|
|
3259
|
+
ve,
|
|
3259
3260
|
{
|
|
3260
|
-
errorMessage: (
|
|
3261
|
+
errorMessage: (x = _.error) == null ? void 0 : x.message,
|
|
3261
3262
|
errorColor: u
|
|
3262
3263
|
}
|
|
3263
3264
|
)
|
|
@@ -3265,14 +3266,14 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3265
3266
|
}
|
|
3266
3267
|
}
|
|
3267
3268
|
);
|
|
3268
|
-
},
|
|
3269
|
-
radioButtonContainer:
|
|
3270
|
-
wholeInputContainer:
|
|
3271
|
-
questionContainer:
|
|
3272
|
-
radioQuestion:
|
|
3273
|
-
inputContainer:
|
|
3274
|
-
radioInput:
|
|
3275
|
-
},
|
|
3269
|
+
}, Vi = "_radioButtonContainer_1e994_2", Ai = "_wholeInputContainer_1e994_5", Ii = "_questionContainer_1e994_27", Ri = "_radioQuestion_1e994_59", Oi = "_inputContainer_1e994_63", qi = "_radioInput_1e994_93", te = {
|
|
3270
|
+
radioButtonContainer: Vi,
|
|
3271
|
+
wholeInputContainer: Ai,
|
|
3272
|
+
questionContainer: Ii,
|
|
3273
|
+
radioQuestion: Ri,
|
|
3274
|
+
inputContainer: Oi,
|
|
3275
|
+
radioInput: qi
|
|
3276
|
+
}, Ei = ({ input: n, reactHookFormInstance: d }) => {
|
|
3276
3277
|
const {
|
|
3277
3278
|
code: s,
|
|
3278
3279
|
label: o,
|
|
@@ -3283,16 +3284,16 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3283
3284
|
multi: c = !1
|
|
3284
3285
|
} = n, { t: u } = $(), { control: h, trigger: C, clearErrors: y } = d, v = ({ options: m, onChange: b, actualValue: _ }) => {
|
|
3285
3286
|
if (c && _ && _.length > 0) {
|
|
3286
|
-
let
|
|
3287
|
-
b(
|
|
3287
|
+
let x = _.filter((w) => w !== m);
|
|
3288
|
+
b(x);
|
|
3288
3289
|
}
|
|
3289
3290
|
}, f = ({ options: m, onChange: b, actualValue: _ }) => {
|
|
3290
3291
|
c ? _ && _.length > 0 ? b([..._, m]) : b([m]) : b(m);
|
|
3291
|
-
}, g =
|
|
3292
|
-
return
|
|
3292
|
+
}, g = se(t);
|
|
3293
|
+
return F(() => {
|
|
3293
3294
|
g.current !== t && (t ? C(s) : y(s), g.current = t);
|
|
3294
3295
|
}, [t, s, C, y]), /* @__PURE__ */ i(
|
|
3295
|
-
|
|
3296
|
+
ye,
|
|
3296
3297
|
{
|
|
3297
3298
|
control: h,
|
|
3298
3299
|
name: s,
|
|
@@ -3301,67 +3302,67 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3301
3302
|
},
|
|
3302
3303
|
render: ({
|
|
3303
3304
|
formState: { errors: m },
|
|
3304
|
-
field: { onChange: b, onBlur: _, value:
|
|
3305
|
-
fieldState:
|
|
3305
|
+
field: { onChange: b, onBlur: _, value: x, ref: w },
|
|
3306
|
+
fieldState: N
|
|
3306
3307
|
}) => {
|
|
3307
|
-
var
|
|
3308
|
-
return /* @__PURE__ */ i("div", { id: s + "id", className:
|
|
3309
|
-
o && /* @__PURE__ */ i("div", { className:
|
|
3308
|
+
var S;
|
|
3309
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: te.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: te.wholeInputContainer, children: [
|
|
3310
|
+
o && /* @__PURE__ */ i("div", { className: te.questionContainer, children: /* @__PURE__ */ p(
|
|
3310
3311
|
"h3",
|
|
3311
3312
|
{
|
|
3312
3313
|
htmlFor: s + "id",
|
|
3313
|
-
className: `${
|
|
3314
|
+
className: `${te.radioQuestion} ${t && te.required}`,
|
|
3314
3315
|
children: [
|
|
3315
3316
|
u(o),
|
|
3316
3317
|
" ",
|
|
3317
3318
|
t && /* @__PURE__ */ i(
|
|
3318
3319
|
"label",
|
|
3319
3320
|
{
|
|
3320
|
-
style: { color:
|
|
3321
|
+
style: { color: N.error ? a : "" },
|
|
3321
3322
|
children: "*"
|
|
3322
3323
|
}
|
|
3323
3324
|
)
|
|
3324
3325
|
]
|
|
3325
3326
|
}
|
|
3326
3327
|
) }),
|
|
3327
|
-
/* @__PURE__ */ p("div", { className:
|
|
3328
|
+
/* @__PURE__ */ p("div", { className: te.inputContainer, children: [
|
|
3328
3329
|
l.map(
|
|
3329
3330
|
({
|
|
3330
|
-
label:
|
|
3331
|
-
value:
|
|
3332
|
-
disabled:
|
|
3333
|
-
italicLabel:
|
|
3334
|
-
},
|
|
3335
|
-
const
|
|
3331
|
+
label: B,
|
|
3332
|
+
value: k,
|
|
3333
|
+
disabled: L = !1,
|
|
3334
|
+
italicLabel: E
|
|
3335
|
+
}, K) => {
|
|
3336
|
+
const M = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((Z) => Z === k) : x === k;
|
|
3336
3337
|
return /* @__PURE__ */ p("label", { children: [
|
|
3337
3338
|
/* @__PURE__ */ i(
|
|
3338
3339
|
"input",
|
|
3339
3340
|
{
|
|
3340
3341
|
type: "radio",
|
|
3341
|
-
checked:
|
|
3342
|
+
checked: M,
|
|
3342
3343
|
onChange: () => {
|
|
3343
|
-
c ?
|
|
3344
|
-
actualValue:
|
|
3344
|
+
c ? M ? v({
|
|
3345
|
+
actualValue: x,
|
|
3345
3346
|
options: l,
|
|
3346
3347
|
onChange: b
|
|
3347
3348
|
}) : f({
|
|
3348
|
-
actualValue:
|
|
3349
|
+
actualValue: x,
|
|
3349
3350
|
options: l,
|
|
3350
3351
|
onChange: b
|
|
3351
|
-
}) : b(
|
|
3352
|
+
}) : b(k);
|
|
3352
3353
|
},
|
|
3353
|
-
className:
|
|
3354
|
+
className: te.radioInput
|
|
3354
3355
|
}
|
|
3355
3356
|
),
|
|
3356
3357
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3357
|
-
u(
|
|
3358
|
-
] }, `inputRadio ${
|
|
3358
|
+
u(B)
|
|
3359
|
+
] }, `inputRadio ${K}`);
|
|
3359
3360
|
}
|
|
3360
3361
|
),
|
|
3361
3362
|
/* @__PURE__ */ i(
|
|
3362
|
-
|
|
3363
|
+
ve,
|
|
3363
3364
|
{
|
|
3364
|
-
errorMessage: (
|
|
3365
|
+
errorMessage: (S = N.error) == null ? void 0 : S.message,
|
|
3365
3366
|
errorColor: a
|
|
3366
3367
|
}
|
|
3367
3368
|
)
|
|
@@ -3370,16 +3371,16 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3370
3371
|
}
|
|
3371
3372
|
}
|
|
3372
3373
|
);
|
|
3373
|
-
},
|
|
3374
|
-
rankingSliderContainer:
|
|
3375
|
-
labelContainer:
|
|
3376
|
-
inputContainer:
|
|
3377
|
-
slider:
|
|
3378
|
-
thumb:
|
|
3379
|
-
labels:
|
|
3380
|
-
minLabel:
|
|
3381
|
-
maxLabel:
|
|
3382
|
-
},
|
|
3374
|
+
}, Pi = "_rankingSliderContainer_1lekm_2", ji = "_labelContainer_1lekm_6", Zi = "_inputContainer_1lekm_10", zi = "_slider_1lekm_20", Ki = "_thumb_1lekm_27", Hi = "_labels_1lekm_37", Ui = "_minLabel_1lekm_67", Gi = "_maxLabel_1lekm_67", V = {
|
|
3375
|
+
rankingSliderContainer: Pi,
|
|
3376
|
+
labelContainer: ji,
|
|
3377
|
+
inputContainer: Zi,
|
|
3378
|
+
slider: zi,
|
|
3379
|
+
thumb: Ki,
|
|
3380
|
+
labels: Hi,
|
|
3381
|
+
minLabel: Ui,
|
|
3382
|
+
maxLabel: Gi
|
|
3383
|
+
}, Bt = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3383
3384
|
const {
|
|
3384
3385
|
code: o,
|
|
3385
3386
|
label: t,
|
|
@@ -3395,57 +3396,57 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3395
3396
|
minText: v,
|
|
3396
3397
|
maxText: f,
|
|
3397
3398
|
disabled: g = !1,
|
|
3398
|
-
marks: m = Array.from({ length: a - r + 1 }, (
|
|
3399
|
+
marks: m = Array.from({ length: a - r + 1 }, (L, E) => r + E),
|
|
3399
3400
|
showMarksNumber: b = !0
|
|
3400
|
-
} = n, { t: _ } = $(), { control:
|
|
3401
|
-
return
|
|
3402
|
-
d &&
|
|
3403
|
-
}, [u, o, w,
|
|
3404
|
-
|
|
3401
|
+
} = n, { t: _ } = $(), { control: x, trigger: w, clearErrors: N } = d || {}, S = se(u), [B, k] = D(l);
|
|
3402
|
+
return F(() => {
|
|
3403
|
+
d && S.current !== u && (u ? w(o) : N(o), S.current = u);
|
|
3404
|
+
}, [u, o, w, N, d]), d ? /* @__PURE__ */ i(
|
|
3405
|
+
ye,
|
|
3405
3406
|
{
|
|
3406
3407
|
name: o,
|
|
3407
|
-
control:
|
|
3408
|
+
control: x,
|
|
3408
3409
|
defaultValue: l,
|
|
3409
3410
|
rules: {
|
|
3410
3411
|
required: u ? `${_(t)} ${_("errorMessages.required")}` : !1
|
|
3411
3412
|
},
|
|
3412
|
-
render: ({ field:
|
|
3413
|
-
var
|
|
3413
|
+
render: ({ field: L, fieldState: E }) => {
|
|
3414
|
+
var K;
|
|
3414
3415
|
return /* @__PURE__ */ p(
|
|
3415
3416
|
"div",
|
|
3416
3417
|
{
|
|
3417
|
-
className:
|
|
3418
|
+
className: V.rankingSliderContainer,
|
|
3418
3419
|
style: { gridTemplateColumns: `${t && C} ${y}` },
|
|
3419
3420
|
children: [
|
|
3420
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3421
|
-
/* @__PURE__ */ p("div", { className:
|
|
3422
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3421
|
+
t && /* @__PURE__ */ i("p", { className: V.labelContainer, children: _(t) }),
|
|
3422
|
+
/* @__PURE__ */ p("div", { className: V.inputContainer, children: [
|
|
3423
|
+
v && /* @__PURE__ */ i("div", { className: V.minLabel, children: _(v) }),
|
|
3423
3424
|
/* @__PURE__ */ p("div", { children: [
|
|
3424
3425
|
/* @__PURE__ */ i(
|
|
3425
|
-
|
|
3426
|
+
Pe,
|
|
3426
3427
|
{
|
|
3427
3428
|
min: r,
|
|
3428
3429
|
max: a,
|
|
3429
3430
|
step: 1,
|
|
3430
|
-
value:
|
|
3431
|
-
onChange: (
|
|
3431
|
+
value: L.value ?? l,
|
|
3432
|
+
onChange: (M) => L.onChange(M),
|
|
3432
3433
|
marks: !0,
|
|
3433
|
-
className:
|
|
3434
|
-
thumbClassName:
|
|
3435
|
-
renderThumb: (
|
|
3436
|
-
trackClassName:
|
|
3437
|
-
markClassName:
|
|
3434
|
+
className: V.slider,
|
|
3435
|
+
thumbClassName: V.thumb,
|
|
3436
|
+
renderThumb: (M) => /* @__PURE__ */ i("div", { ...M, style: { ...M.style, backgroundColor: c } }),
|
|
3437
|
+
trackClassName: V.track,
|
|
3438
|
+
markClassName: V.mark,
|
|
3438
3439
|
disabled: g
|
|
3439
3440
|
}
|
|
3440
3441
|
),
|
|
3441
|
-
m && /* @__PURE__ */ i("div", { className:
|
|
3442
|
+
m && /* @__PURE__ */ i("div", { className: V.labels, children: m.map((M) => /* @__PURE__ */ i("span", { children: b && M }, M)) })
|
|
3442
3443
|
] }),
|
|
3443
|
-
f && /* @__PURE__ */ i("div", { className:
|
|
3444
|
+
f && /* @__PURE__ */ i("div", { className: V.maxLabel, children: _(f) })
|
|
3444
3445
|
] }),
|
|
3445
3446
|
/* @__PURE__ */ i(
|
|
3446
|
-
|
|
3447
|
+
ve,
|
|
3447
3448
|
{
|
|
3448
|
-
errorMessage: (
|
|
3449
|
+
errorMessage: (K = E.error) == null ? void 0 : K.message,
|
|
3449
3450
|
errorColor: h
|
|
3450
3451
|
}
|
|
3451
3452
|
)
|
|
@@ -3457,41 +3458,41 @@ const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3457
3458
|
) : /* @__PURE__ */ p(
|
|
3458
3459
|
"div",
|
|
3459
3460
|
{
|
|
3460
|
-
className:
|
|
3461
|
+
className: V.rankingSliderContainer,
|
|
3461
3462
|
style: { gridTemplateColumns: `${t && C} ${y}` },
|
|
3462
3463
|
children: [
|
|
3463
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3464
|
-
/* @__PURE__ */ p("div", { className:
|
|
3465
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3464
|
+
t && /* @__PURE__ */ i("p", { className: V.labelContainer, children: _(t) }),
|
|
3465
|
+
/* @__PURE__ */ p("div", { className: V.inputContainer, children: [
|
|
3466
|
+
v && /* @__PURE__ */ i("div", { className: V.minLabel, children: _(v) }),
|
|
3466
3467
|
/* @__PURE__ */ p("div", { children: [
|
|
3467
3468
|
/* @__PURE__ */ i(
|
|
3468
|
-
|
|
3469
|
+
Pe,
|
|
3469
3470
|
{
|
|
3470
3471
|
min: r,
|
|
3471
3472
|
max: a,
|
|
3472
3473
|
step: 1,
|
|
3473
|
-
value:
|
|
3474
|
-
onChange: (
|
|
3475
|
-
|
|
3474
|
+
value: B,
|
|
3475
|
+
onChange: (L) => {
|
|
3476
|
+
k(L), s && s(L);
|
|
3476
3477
|
},
|
|
3477
3478
|
marks: !0,
|
|
3478
|
-
className:
|
|
3479
|
-
thumbClassName:
|
|
3480
|
-
renderThumb: (
|
|
3481
|
-
trackClassName:
|
|
3482
|
-
markClassName:
|
|
3479
|
+
className: V.slider,
|
|
3480
|
+
thumbClassName: V.thumb,
|
|
3481
|
+
renderThumb: (L) => /* @__PURE__ */ i("div", { ...L, style: { ...L.style, backgroundColor: c } }),
|
|
3482
|
+
trackClassName: V.track,
|
|
3483
|
+
markClassName: V.mark,
|
|
3483
3484
|
disabled: g
|
|
3484
3485
|
}
|
|
3485
3486
|
),
|
|
3486
|
-
m && /* @__PURE__ */ i("div", { className:
|
|
3487
|
+
m && /* @__PURE__ */ i("div", { className: V.labels, children: m.map((L) => /* @__PURE__ */ i("span", { children: b && L }, L)) })
|
|
3487
3488
|
] }),
|
|
3488
|
-
f && /* @__PURE__ */ i("div", { className:
|
|
3489
|
+
f && /* @__PURE__ */ i("div", { className: V.maxLabel, children: _(f) })
|
|
3489
3490
|
] })
|
|
3490
3491
|
]
|
|
3491
3492
|
}
|
|
3492
3493
|
);
|
|
3493
3494
|
};
|
|
3494
|
-
|
|
3495
|
+
Bt.propTypes = {
|
|
3495
3496
|
input: e.shape({
|
|
3496
3497
|
code: e.string,
|
|
3497
3498
|
label: e.string,
|
|
@@ -3509,12 +3510,13 @@ $t.propTypes = {
|
|
|
3509
3510
|
}),
|
|
3510
3511
|
reactHookFormInstance: e.object
|
|
3511
3512
|
};
|
|
3512
|
-
const
|
|
3513
|
+
const ke = ({
|
|
3513
3514
|
inputs: n,
|
|
3514
3515
|
inputContainerStyles: d,
|
|
3515
3516
|
reactHookFormInstance: s
|
|
3516
3517
|
}) => {
|
|
3517
|
-
|
|
3518
|
+
console.log("inputs: ", n);
|
|
3519
|
+
const { watch: o } = s, t = o(), r = me(() => n == null ? void 0 : n.map((a) => {
|
|
3518
3520
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3519
3521
|
return {
|
|
3520
3522
|
...a,
|
|
@@ -3524,14 +3526,14 @@ const Ae = ({
|
|
|
3524
3526
|
return /* @__PURE__ */ i("div", { className: ce.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3525
3527
|
const { inputType: c } = a;
|
|
3526
3528
|
switch (c) {
|
|
3527
|
-
case
|
|
3529
|
+
case fe.text:
|
|
3528
3530
|
return /* @__PURE__ */ i(
|
|
3529
3531
|
"div",
|
|
3530
3532
|
{
|
|
3531
3533
|
className: ce.inputContainer,
|
|
3532
3534
|
style: { ...d },
|
|
3533
3535
|
children: /* @__PURE__ */ i(
|
|
3534
|
-
|
|
3536
|
+
lt,
|
|
3535
3537
|
{
|
|
3536
3538
|
input: a,
|
|
3537
3539
|
reactHookFormInstance: s
|
|
@@ -3540,14 +3542,14 @@ const Ae = ({
|
|
|
3540
3542
|
},
|
|
3541
3543
|
`${a.code}${l}`
|
|
3542
3544
|
);
|
|
3543
|
-
case
|
|
3545
|
+
case fe.password:
|
|
3544
3546
|
return /* @__PURE__ */ i(
|
|
3545
3547
|
"div",
|
|
3546
3548
|
{
|
|
3547
3549
|
className: ce.inputContainer,
|
|
3548
3550
|
style: { ...d },
|
|
3549
3551
|
children: /* @__PURE__ */ i(
|
|
3550
|
-
|
|
3552
|
+
lt,
|
|
3551
3553
|
{
|
|
3552
3554
|
input: a,
|
|
3553
3555
|
reactHookFormInstance: s
|
|
@@ -3556,14 +3558,14 @@ const Ae = ({
|
|
|
3556
3558
|
},
|
|
3557
3559
|
`${a.code}${l}`
|
|
3558
3560
|
);
|
|
3559
|
-
case
|
|
3561
|
+
case fe.select:
|
|
3560
3562
|
return /* @__PURE__ */ i(
|
|
3561
3563
|
"div",
|
|
3562
3564
|
{
|
|
3563
3565
|
className: ce.inputContainer,
|
|
3564
3566
|
style: { ...d },
|
|
3565
3567
|
children: /* @__PURE__ */ i(
|
|
3566
|
-
|
|
3568
|
+
Fi,
|
|
3567
3569
|
{
|
|
3568
3570
|
input: a,
|
|
3569
3571
|
reactHookFormInstance: s
|
|
@@ -3572,14 +3574,14 @@ const Ae = ({
|
|
|
3572
3574
|
},
|
|
3573
3575
|
`${a.code}${l}`
|
|
3574
3576
|
);
|
|
3575
|
-
case
|
|
3577
|
+
case fe.radioList:
|
|
3576
3578
|
return /* @__PURE__ */ i(
|
|
3577
3579
|
"div",
|
|
3578
3580
|
{
|
|
3579
3581
|
className: ce.inputContainer,
|
|
3580
3582
|
style: { ...d },
|
|
3581
3583
|
children: /* @__PURE__ */ i(
|
|
3582
|
-
|
|
3584
|
+
Ei,
|
|
3583
3585
|
{
|
|
3584
3586
|
input: a,
|
|
3585
3587
|
reactHookFormInstance: s
|
|
@@ -3588,14 +3590,14 @@ const Ae = ({
|
|
|
3588
3590
|
},
|
|
3589
3591
|
`${a.code}${l}`
|
|
3590
3592
|
);
|
|
3591
|
-
case
|
|
3593
|
+
case fe.rankingSlider:
|
|
3592
3594
|
return /* @__PURE__ */ i(
|
|
3593
3595
|
"div",
|
|
3594
3596
|
{
|
|
3595
3597
|
className: ce.inputContainer,
|
|
3596
3598
|
style: { ...d },
|
|
3597
3599
|
children: /* @__PURE__ */ i(
|
|
3598
|
-
|
|
3600
|
+
Bt,
|
|
3599
3601
|
{
|
|
3600
3602
|
input: a,
|
|
3601
3603
|
reactHookFormInstance: s
|
|
@@ -3608,104 +3610,203 @@ const Ae = ({
|
|
|
3608
3610
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3609
3611
|
}
|
|
3610
3612
|
}) });
|
|
3611
|
-
},
|
|
3613
|
+
}, Wi = "_categorySelector_9bdf4_2", Yi = "_sectionItemActive_9bdf4_16", Qi = "_sectionItem_9bdf4_16", Se = {
|
|
3614
|
+
categorySelector: Wi,
|
|
3615
|
+
sectionItemActive: Yi,
|
|
3616
|
+
sectionItem: Qi
|
|
3617
|
+
}, ct = ({
|
|
3618
|
+
categories: n,
|
|
3619
|
+
onChange: d,
|
|
3620
|
+
activeCategory: s,
|
|
3621
|
+
activeColor: o
|
|
3622
|
+
}) => {
|
|
3623
|
+
const { t } = $(), r = (a) => {
|
|
3624
|
+
d(a);
|
|
3625
|
+
};
|
|
3626
|
+
return /* @__PURE__ */ i("div", { className: Se.categorySelector, children: n.map((a, l) => {
|
|
3627
|
+
const { id: c, label: u } = a, h = s == c;
|
|
3628
|
+
return console.log("activeCategory", s, c, h), /* @__PURE__ */ i(
|
|
3629
|
+
"button",
|
|
3630
|
+
{
|
|
3631
|
+
className: `${Se.sectionItem} ${h ? Se.sectionItemActive : ""}`,
|
|
3632
|
+
style: { backgroundColor: h ? o : "inherit" },
|
|
3633
|
+
onClick: () => r(c),
|
|
3634
|
+
children: /* @__PURE__ */ i(
|
|
3635
|
+
"span",
|
|
3636
|
+
{
|
|
3637
|
+
style: { color: h ? "white" : "inherit" },
|
|
3638
|
+
className: Se.sectionLabel,
|
|
3639
|
+
children: t(u)
|
|
3640
|
+
}
|
|
3641
|
+
)
|
|
3642
|
+
},
|
|
3643
|
+
`keySection${l}`
|
|
3644
|
+
);
|
|
3645
|
+
}) });
|
|
3646
|
+
}, co = ({
|
|
3612
3647
|
reactHookFormInstance: n,
|
|
3613
3648
|
formObject: d,
|
|
3614
|
-
//Component with {title, children} as props.
|
|
3615
|
-
// Used to render a category section in the form.
|
|
3616
|
-
//If not provided, a default component will be used.
|
|
3617
3649
|
CategoryComponent: s,
|
|
3618
3650
|
inputContainerStyles: o,
|
|
3619
3651
|
generalError: t,
|
|
3620
3652
|
errorColor: r = "red",
|
|
3621
3653
|
submitButtonLabel: a = "Submit",
|
|
3622
3654
|
submitButtonStyles: l = { width: 325 },
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3655
|
+
showCategorySelector: c = !1,
|
|
3656
|
+
defaultCategory: u = null,
|
|
3657
|
+
categoryLabel: h = "Select Category",
|
|
3658
|
+
activeCategory: C = null,
|
|
3659
|
+
activeCategoryColor: y = "#b32f5d",
|
|
3660
|
+
onSubmit: v = (f) => console.log("Form submitted with: ", f)
|
|
3626
3661
|
}) => {
|
|
3627
|
-
const {
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3662
|
+
const { t: f } = $(), { handleSubmit: g, control: m } = n, b = me(() => d ? d.filter((k) => k.category).map((k) => {
|
|
3663
|
+
var L;
|
|
3664
|
+
return {
|
|
3665
|
+
id: k.categoryId,
|
|
3666
|
+
label: k.category,
|
|
3667
|
+
hasSubcategories: ((L = k.subcategories) == null ? void 0 : L.length) > 0
|
|
3668
|
+
};
|
|
3669
|
+
}) : [], [d]), _ = (k) => {
|
|
3670
|
+
const L = d == null ? void 0 : d.find((E) => E.categoryId === k);
|
|
3671
|
+
return (L == null ? void 0 : L.subcategories) || [];
|
|
3672
|
+
}, [x, w] = D(
|
|
3673
|
+
C || u || null
|
|
3674
|
+
), [N, S] = D(null);
|
|
3675
|
+
F(() => {
|
|
3676
|
+
!x && b.length > 0 && w(b[0].id);
|
|
3677
|
+
}, [b, x]), F(() => {
|
|
3678
|
+
const k = _(x);
|
|
3679
|
+
!N && (k == null ? void 0 : k.length) > 0 && S(k[0].id);
|
|
3680
|
+
}, [x, N, d]);
|
|
3681
|
+
const B = (k, L) => {
|
|
3682
|
+
var E;
|
|
3683
|
+
if (((E = k.subcategories) == null ? void 0 : E.length) > 0) {
|
|
3684
|
+
const K = k.subcategories;
|
|
3685
|
+
return /* @__PURE__ */ p("div", { children: [
|
|
3686
|
+
/* @__PURE__ */ i(
|
|
3687
|
+
"div",
|
|
3688
|
+
{
|
|
3689
|
+
className: Ce.categorySelectorContainer,
|
|
3690
|
+
children: /* @__PURE__ */ i(
|
|
3691
|
+
ct,
|
|
3692
|
+
{
|
|
3693
|
+
activeCategory: N,
|
|
3694
|
+
categories: K,
|
|
3695
|
+
onChange: (M) => S(M),
|
|
3696
|
+
activeColor: y
|
|
3697
|
+
}
|
|
3698
|
+
)
|
|
3641
3699
|
},
|
|
3642
|
-
|
|
3643
|
-
|
|
3700
|
+
k.categoryId
|
|
3701
|
+
),
|
|
3702
|
+
K.map((M, Z) => {
|
|
3703
|
+
const j = !N || M.id === N;
|
|
3704
|
+
return s ? /* @__PURE__ */ i(
|
|
3705
|
+
"div",
|
|
3644
3706
|
{
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3707
|
+
style: {
|
|
3708
|
+
display: j ? "block" : "none",
|
|
3709
|
+
width: "100%"
|
|
3710
|
+
},
|
|
3711
|
+
children: /* @__PURE__ */ i(s, { title: M.label, children: /* @__PURE__ */ i(
|
|
3712
|
+
ke,
|
|
3648
3713
|
{
|
|
3649
|
-
inputs:
|
|
3650
|
-
control:
|
|
3714
|
+
inputs: M.inputs,
|
|
3715
|
+
control: m,
|
|
3651
3716
|
inputContainerStyles: o,
|
|
3652
3717
|
errorColor: r,
|
|
3653
|
-
|
|
3718
|
+
reactHookFormInstance: n
|
|
3654
3719
|
}
|
|
3655
|
-
)
|
|
3720
|
+
) }, M.id)
|
|
3656
3721
|
},
|
|
3657
|
-
`${
|
|
3658
|
-
)
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
}
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3722
|
+
`${M.id}${Z}`
|
|
3723
|
+
) : /* @__PURE__ */ p(
|
|
3724
|
+
"div",
|
|
3725
|
+
{
|
|
3726
|
+
style: {
|
|
3727
|
+
width: "100%",
|
|
3728
|
+
display: j ? "block" : "none"
|
|
3729
|
+
},
|
|
3730
|
+
children: [
|
|
3731
|
+
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: f(M.label) }),
|
|
3732
|
+
/* @__PURE__ */ i(
|
|
3733
|
+
ke,
|
|
3734
|
+
{
|
|
3735
|
+
inputs: M.inputs,
|
|
3736
|
+
control: m,
|
|
3737
|
+
inputContainerStyles: o,
|
|
3738
|
+
errorColor: r,
|
|
3739
|
+
reactHookFormInstance: n
|
|
3740
|
+
}
|
|
3741
|
+
)
|
|
3742
|
+
]
|
|
3743
|
+
},
|
|
3744
|
+
`${M.id}${Z}`
|
|
3745
|
+
);
|
|
3746
|
+
})
|
|
3747
|
+
] });
|
|
3748
|
+
}
|
|
3749
|
+
return s ? /* @__PURE__ */ i(s, { title: k.category, children: /* @__PURE__ */ i(
|
|
3750
|
+
ke,
|
|
3751
|
+
{
|
|
3752
|
+
inputs: k.inputs,
|
|
3753
|
+
control: m,
|
|
3754
|
+
inputContainerStyles: o,
|
|
3755
|
+
errorColor: r,
|
|
3756
|
+
reactHookFormInstance: n
|
|
3757
|
+
}
|
|
3758
|
+
) }, k.categoryId) : /* @__PURE__ */ p("div", { style: { width: "100%" }, children: [
|
|
3759
|
+
/* @__PURE__ */ i("h2", { children: f(k.category) }),
|
|
3760
|
+
/* @__PURE__ */ i(
|
|
3761
|
+
ke,
|
|
3685
3762
|
{
|
|
3763
|
+
inputs: k.inputs,
|
|
3764
|
+
control: m,
|
|
3686
3765
|
inputContainerStyles: o,
|
|
3687
|
-
inputs: m,
|
|
3688
|
-
control: C,
|
|
3689
3766
|
errorColor: r,
|
|
3690
3767
|
reactHookFormInstance: n
|
|
3691
3768
|
}
|
|
3692
|
-
)
|
|
3693
|
-
}
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3769
|
+
)
|
|
3770
|
+
] }, k.categoryId);
|
|
3771
|
+
};
|
|
3772
|
+
return /* @__PURE__ */ p("form", { className: Ce.formContainer, onSubmit: g(v), children: [
|
|
3773
|
+
c && b.length > 0 && /* @__PURE__ */ i("div", { className: Ce.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
3774
|
+
ct,
|
|
3775
|
+
{
|
|
3776
|
+
activeCategory: x,
|
|
3777
|
+
categories: b,
|
|
3778
|
+
onChange: (k) => {
|
|
3779
|
+
w(k), S(null);
|
|
3780
|
+
},
|
|
3781
|
+
activeColor: y
|
|
3782
|
+
}
|
|
3783
|
+
) }),
|
|
3784
|
+
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((k, L) => /* @__PURE__ */ i(
|
|
3785
|
+
"div",
|
|
3786
|
+
{
|
|
3787
|
+
style: {
|
|
3788
|
+
display: x === k.categoryId ? "block" : "none",
|
|
3789
|
+
width: "100%"
|
|
3790
|
+
},
|
|
3791
|
+
children: B(k)
|
|
3792
|
+
},
|
|
3793
|
+
k.categoryId
|
|
3794
|
+
)) }),
|
|
3795
|
+
/* @__PURE__ */ p("div", { className: Ce.buttonContainer, children: [
|
|
3796
|
+
/* @__PURE__ */ i(Le, { containerStyles: l, type: "submit", children: f(a) }),
|
|
3797
|
+
/* @__PURE__ */ i(ve, { errorMessage: t, errorColor: r })
|
|
3697
3798
|
] })
|
|
3698
3799
|
] });
|
|
3699
|
-
},
|
|
3700
|
-
overlay:
|
|
3701
|
-
modal:
|
|
3702
|
-
closeButton:
|
|
3703
|
-
icon:
|
|
3704
|
-
message:
|
|
3705
|
-
submessage:
|
|
3706
|
-
buttonsContainer:
|
|
3707
|
-
buttonWrapper:
|
|
3708
|
-
},
|
|
3800
|
+
}, Xi = "_overlay_mnd4j_2", Ji = "_modal_mnd4j_15", es = "_closeButton_mnd4j_29", ts = "_icon_mnd4j_39", ns = "_message_mnd4j_45", is = "_submessage_mnd4j_51", ss = "_buttonsContainer_mnd4j_57", os = "_buttonWrapper_mnd4j_64", Y = {
|
|
3801
|
+
overlay: Xi,
|
|
3802
|
+
modal: Ji,
|
|
3803
|
+
closeButton: es,
|
|
3804
|
+
icon: ts,
|
|
3805
|
+
message: ns,
|
|
3806
|
+
submessage: is,
|
|
3807
|
+
buttonsContainer: ss,
|
|
3808
|
+
buttonWrapper: os
|
|
3809
|
+
}, rs = ({
|
|
3709
3810
|
onClose: n,
|
|
3710
3811
|
icon: d,
|
|
3711
3812
|
message: s,
|
|
@@ -3713,21 +3814,21 @@ const Ae = ({
|
|
|
3713
3814
|
buttons: t,
|
|
3714
3815
|
maxHeight: r = "450px",
|
|
3715
3816
|
maxWidth: a = "450px"
|
|
3716
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
3817
|
+
}) => /* @__PURE__ */ i("div", { className: Y.overlay, children: /* @__PURE__ */ p(
|
|
3717
3818
|
"div",
|
|
3718
3819
|
{
|
|
3719
|
-
className:
|
|
3820
|
+
className: Y.modal,
|
|
3720
3821
|
style: { maxHeight: r, maxWidth: a },
|
|
3721
3822
|
children: [
|
|
3722
|
-
/* @__PURE__ */ i("button", { className:
|
|
3723
|
-
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className:
|
|
3724
|
-
/* @__PURE__ */ i("p", { className:
|
|
3725
|
-
o && /* @__PURE__ */ i("p", { className:
|
|
3726
|
-
t.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
3823
|
+
/* @__PURE__ */ i("button", { className: Y.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3824
|
+
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className: Y.icon }),
|
|
3825
|
+
/* @__PURE__ */ i("p", { className: Y.message, children: s }),
|
|
3826
|
+
o && /* @__PURE__ */ i("p", { className: Y.submessage, children: o }),
|
|
3827
|
+
t.length > 0 && /* @__PURE__ */ i("div", { className: Y.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ i("div", { className: Y.buttonWrapper, children: l }, c)) })
|
|
3727
3828
|
]
|
|
3728
3829
|
}
|
|
3729
3830
|
) });
|
|
3730
|
-
|
|
3831
|
+
rs.propTypes = {
|
|
3731
3832
|
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3732
3833
|
onClose: e.func.isRequired,
|
|
3733
3834
|
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
@@ -3743,43 +3844,43 @@ es.propTypes = {
|
|
|
3743
3844
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3744
3845
|
maxWidth: e.string
|
|
3745
3846
|
};
|
|
3746
|
-
const
|
|
3747
|
-
stepsContainer:
|
|
3748
|
-
stepWrapper:
|
|
3749
|
-
circleContainer:
|
|
3750
|
-
circle:
|
|
3751
|
-
active:
|
|
3752
|
-
completed:
|
|
3753
|
-
label:
|
|
3754
|
-
labelActive:
|
|
3755
|
-
connector:
|
|
3756
|
-
},
|
|
3847
|
+
const as = "_stepsContainer_1cyua_3", ls = "_stepWrapper_1cyua_9", cs = "_circleContainer_1cyua_19", ds = "_circle_1cyua_19", us = "_active_1cyua_39", ps = "_completed_1cyua_44", ms = "_label_1cyua_50", hs = "_labelActive_1cyua_56", gs = "_connector_1cyua_61", U = {
|
|
3848
|
+
stepsContainer: as,
|
|
3849
|
+
stepWrapper: ls,
|
|
3850
|
+
circleContainer: cs,
|
|
3851
|
+
circle: ds,
|
|
3852
|
+
active: us,
|
|
3853
|
+
completed: ps,
|
|
3854
|
+
label: ms,
|
|
3855
|
+
labelActive: hs,
|
|
3856
|
+
connector: gs
|
|
3857
|
+
}, Lt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: U.stepsContainer, children: n.map((s, o) => {
|
|
3757
3858
|
const t = s.status === "active", r = s.status === "completed";
|
|
3758
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3759
|
-
/* @__PURE__ */ p("div", { className:
|
|
3859
|
+
return /* @__PURE__ */ p("div", { className: U.stepWrapper, children: [
|
|
3860
|
+
/* @__PURE__ */ p("div", { className: U.circleContainer, children: [
|
|
3760
3861
|
/* @__PURE__ */ i(
|
|
3761
3862
|
"div",
|
|
3762
3863
|
{
|
|
3763
|
-
className: `${
|
|
3764
|
-
${t ?
|
|
3765
|
-
${r ?
|
|
3864
|
+
className: `${U.circle}
|
|
3865
|
+
${t ? U.active : ""}
|
|
3866
|
+
${r ? U.completed : ""}`,
|
|
3766
3867
|
style: t ? { backgroundColor: d } : {},
|
|
3767
3868
|
onClick: s.onClick,
|
|
3768
3869
|
children: o + 1
|
|
3769
3870
|
}
|
|
3770
3871
|
),
|
|
3771
|
-
o < n.length - 1 && /* @__PURE__ */ i("div", { className:
|
|
3872
|
+
o < n.length - 1 && /* @__PURE__ */ i("div", { className: U.connector })
|
|
3772
3873
|
] }),
|
|
3773
3874
|
/* @__PURE__ */ i(
|
|
3774
3875
|
"div",
|
|
3775
3876
|
{
|
|
3776
|
-
className: `${
|
|
3877
|
+
className: `${U.label} ${t ? U.labelActive : ""}`,
|
|
3777
3878
|
children: s.name
|
|
3778
3879
|
}
|
|
3779
3880
|
)
|
|
3780
3881
|
] }, o);
|
|
3781
3882
|
}) });
|
|
3782
|
-
|
|
3883
|
+
Lt.propTypes = {
|
|
3783
3884
|
steps: e.arrayOf(
|
|
3784
3885
|
e.shape({
|
|
3785
3886
|
name: e.string.isRequired,
|
|
@@ -3789,30 +3890,30 @@ St.propTypes = {
|
|
|
3789
3890
|
).isRequired,
|
|
3790
3891
|
activeColor: e.string
|
|
3791
3892
|
};
|
|
3792
|
-
|
|
3893
|
+
Lt.defaultProps = {
|
|
3793
3894
|
activeColor: "#C2185B"
|
|
3794
3895
|
// color por defecto
|
|
3795
3896
|
};
|
|
3796
|
-
const
|
|
3797
|
-
statusTextContainer:
|
|
3798
|
-
},
|
|
3799
|
-
|
|
3897
|
+
const Cs = "_statusTextContainer_ch14r_2", fs = {
|
|
3898
|
+
statusTextContainer: Cs
|
|
3899
|
+
}, Tt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: fs.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
3900
|
+
Tt.propTypes = {
|
|
3800
3901
|
text: e.string,
|
|
3801
3902
|
color: e.string
|
|
3802
3903
|
};
|
|
3803
|
-
|
|
3904
|
+
Tt.defaultProps = {
|
|
3804
3905
|
color: "#C2185B"
|
|
3805
3906
|
// color por defecto
|
|
3806
3907
|
};
|
|
3807
|
-
const
|
|
3808
|
-
buttonsContainer:
|
|
3809
|
-
button:
|
|
3810
|
-
active:
|
|
3811
|
-
},
|
|
3908
|
+
const bs = "_buttonsContainer_1c7dw_2", _s = "_button_1c7dw_2", ys = "_active_1c7dw_20", $e = {
|
|
3909
|
+
buttonsContainer: bs,
|
|
3910
|
+
button: _s,
|
|
3911
|
+
active: ys
|
|
3912
|
+
}, vs = ({
|
|
3812
3913
|
buttons: n = []
|
|
3813
3914
|
}) => {
|
|
3814
3915
|
const { t: d } = $();
|
|
3815
|
-
return /* @__PURE__ */ i("div", { className: `${
|
|
3916
|
+
return /* @__PURE__ */ i("div", { className: `${$e.buttonsContainer}`, children: n.map((s, o) => {
|
|
3816
3917
|
const {
|
|
3817
3918
|
isActive: t,
|
|
3818
3919
|
name: r,
|
|
@@ -3822,14 +3923,14 @@ const ps = "_buttonsContainer_1c7dw_2", ms = "_button_1c7dw_2", hs = "_active_1c
|
|
|
3822
3923
|
"button",
|
|
3823
3924
|
{
|
|
3824
3925
|
onClick: a,
|
|
3825
|
-
className: `${
|
|
3826
|
-
${t &&
|
|
3827
|
-
children: /* @__PURE__ */ i("span", { className:
|
|
3926
|
+
className: `${$e.button}
|
|
3927
|
+
${t && $e.active}`,
|
|
3928
|
+
children: /* @__PURE__ */ i("span", { className: $e.buttonName, children: d(r) })
|
|
3828
3929
|
}
|
|
3829
3930
|
) }, o);
|
|
3830
3931
|
}) });
|
|
3831
3932
|
};
|
|
3832
|
-
|
|
3933
|
+
vs.propTypes = {
|
|
3833
3934
|
buttons: e.arrayOf(
|
|
3834
3935
|
e.shape({
|
|
3835
3936
|
isActive: e.bool,
|
|
@@ -3839,14 +3940,14 @@ gs.propTypes = {
|
|
|
3839
3940
|
})
|
|
3840
3941
|
).isRequired
|
|
3841
3942
|
};
|
|
3842
|
-
const
|
|
3843
|
-
switchContainer:
|
|
3844
|
-
labelRight:
|
|
3845
|
-
labelLeft:
|
|
3943
|
+
const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelLeft_194wl_9", ks = "_slider_194wl_28", Ss = "_disabled_194wl_54", ue = {
|
|
3944
|
+
switchContainer: ws,
|
|
3945
|
+
labelRight: xs,
|
|
3946
|
+
labelLeft: Ns,
|
|
3846
3947
|
switch: "_switch_194wl_2",
|
|
3847
|
-
slider:
|
|
3848
|
-
disabled:
|
|
3849
|
-
},
|
|
3948
|
+
slider: ks,
|
|
3949
|
+
disabled: Ss
|
|
3950
|
+
}, $s = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3850
3951
|
const {
|
|
3851
3952
|
code: o,
|
|
3852
3953
|
labelLeft: t,
|
|
@@ -3855,7 +3956,7 @@ const Cs = "_switchContainer_194wl_2", fs = "_labelRight_194wl_9", bs = "_labelL
|
|
|
3855
3956
|
colorOn: l = "#5A514D",
|
|
3856
3957
|
disabled: c = !1,
|
|
3857
3958
|
width: u = 240
|
|
3858
|
-
} = n, { t: h } = $(), { control: C } = d || {}, [y, v] =
|
|
3959
|
+
} = n, { t: h } = $(), { control: C } = d || {}, [y, v] = D(a), f = (m) => {
|
|
3859
3960
|
v(m), s && s(m);
|
|
3860
3961
|
}, g = (m, b) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
|
|
3861
3962
|
t && /* @__PURE__ */ i(
|
|
@@ -3889,7 +3990,7 @@ const Cs = "_switchContainer_194wl_2", fs = "_labelRight_194wl_9", bs = "_labelL
|
|
|
3889
3990
|
r && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(u - 74) / 2}px` }, children: h(r) })
|
|
3890
3991
|
] });
|
|
3891
3992
|
return d ? /* @__PURE__ */ i(
|
|
3892
|
-
|
|
3993
|
+
ye,
|
|
3893
3994
|
{
|
|
3894
3995
|
name: o,
|
|
3895
3996
|
control: C,
|
|
@@ -3898,7 +3999,7 @@ const Cs = "_switchContainer_194wl_2", fs = "_labelRight_194wl_9", bs = "_labelL
|
|
|
3898
3999
|
}
|
|
3899
4000
|
) : g(y, f);
|
|
3900
4001
|
};
|
|
3901
|
-
|
|
4002
|
+
$s.propTypes = {
|
|
3902
4003
|
input: e.shape({
|
|
3903
4004
|
code: e.string,
|
|
3904
4005
|
labelLeft: e.string,
|
|
@@ -3910,13 +4011,13 @@ vs.propTypes = {
|
|
|
3910
4011
|
reactHookFormInstance: e.object,
|
|
3911
4012
|
onChange: e.func
|
|
3912
4013
|
};
|
|
3913
|
-
const
|
|
3914
|
-
header:
|
|
3915
|
-
leftComponents:
|
|
3916
|
-
centerComponents:
|
|
3917
|
-
rightComponents:
|
|
3918
|
-
componentsContainer:
|
|
3919
|
-
},
|
|
4014
|
+
const Bs = "_header_13kbt_2", Ls = "_leftComponents_13kbt_13", Ts = "_centerComponents_13kbt_14", Ms = "_rightComponents_13kbt_15", Ds = "_componentsContainer_13kbt_32", ne = {
|
|
4015
|
+
header: Bs,
|
|
4016
|
+
leftComponents: Ls,
|
|
4017
|
+
centerComponents: Ts,
|
|
4018
|
+
rightComponents: Ms,
|
|
4019
|
+
componentsContainer: Ds
|
|
4020
|
+
}, Fs = ({
|
|
3920
4021
|
cssProps: n,
|
|
3921
4022
|
leftComponents: d = [],
|
|
3922
4023
|
centerComponents: s = [],
|
|
@@ -3929,7 +4030,7 @@ const ws = "_header_13kbt_2", xs = "_leftComponents_13kbt_13", Ns = "_centerComp
|
|
|
3929
4030
|
}) => /* @__PURE__ */ p(
|
|
3930
4031
|
"div",
|
|
3931
4032
|
{
|
|
3932
|
-
className:
|
|
4033
|
+
className: ne.header,
|
|
3933
4034
|
style: {
|
|
3934
4035
|
...n,
|
|
3935
4036
|
zIndex: t,
|
|
@@ -3939,13 +4040,13 @@ const ws = "_header_13kbt_2", xs = "_leftComponents_13kbt_13", Ns = "_centerComp
|
|
|
3939
4040
|
bottom: l ? 0 : "auto"
|
|
3940
4041
|
},
|
|
3941
4042
|
children: [
|
|
3942
|
-
/* @__PURE__ */ i("div", { className:
|
|
3943
|
-
/* @__PURE__ */ i("div", { className:
|
|
3944
|
-
/* @__PURE__ */ i("div", { className:
|
|
4043
|
+
/* @__PURE__ */ i("div", { className: ne.leftComponents, children: d.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
|
|
4044
|
+
/* @__PURE__ */ i("div", { className: ne.centerComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
|
|
4045
|
+
/* @__PURE__ */ i("div", { className: ne.rightComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) })
|
|
3945
4046
|
]
|
|
3946
4047
|
}
|
|
3947
4048
|
);
|
|
3948
|
-
|
|
4049
|
+
Fs.propTypes = {
|
|
3949
4050
|
leftComponents: e.arrayOf(e.node),
|
|
3950
4051
|
centerComponents: e.arrayOf(e.node),
|
|
3951
4052
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3955,12 +4056,12 @@ Ss.propTypes = {
|
|
|
3955
4056
|
backgroundColor: e.string,
|
|
3956
4057
|
isFooter: e.bool
|
|
3957
4058
|
};
|
|
3958
|
-
const
|
|
3959
|
-
sidebar:
|
|
3960
|
-
open:
|
|
3961
|
-
content:
|
|
3962
|
-
closeButton:
|
|
3963
|
-
},
|
|
4059
|
+
const Vs = "_sidebar_1fmjn_2", As = "_open_1fmjn_16", Is = "_content_1fmjn_20", Rs = "_closeButton_1fmjn_26", Be = {
|
|
4060
|
+
sidebar: Vs,
|
|
4061
|
+
open: As,
|
|
4062
|
+
content: Is,
|
|
4063
|
+
closeButton: Rs
|
|
4064
|
+
}, Os = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", qs = ({
|
|
3964
4065
|
width: n = "300px",
|
|
3965
4066
|
children: d,
|
|
3966
4067
|
showRightBar: s,
|
|
@@ -3972,52 +4073,52 @@ const Bs = "_sidebar_1fmjn_2", Ls = "_open_1fmjn_16", Ts = "_content_1fmjn_20",
|
|
|
3972
4073
|
return /* @__PURE__ */ i(
|
|
3973
4074
|
"div",
|
|
3974
4075
|
{
|
|
3975
|
-
className: `${
|
|
4076
|
+
className: `${Be.sidebar} ${s ? Be.open : ""}`,
|
|
3976
4077
|
style: { width: s ? n : 0 },
|
|
3977
|
-
children: s && /* @__PURE__ */ p("div", { className:
|
|
3978
|
-
/* @__PURE__ */ i("button", { className:
|
|
4078
|
+
children: s && /* @__PURE__ */ p("div", { className: Be.content, children: [
|
|
4079
|
+
/* @__PURE__ */ i("button", { className: Be.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Os, alt: "Close Sidebar" }) }),
|
|
3979
4080
|
d
|
|
3980
4081
|
] })
|
|
3981
4082
|
}
|
|
3982
4083
|
);
|
|
3983
4084
|
};
|
|
3984
|
-
|
|
4085
|
+
qs.propTypes = {
|
|
3985
4086
|
width: e.string,
|
|
3986
4087
|
children: e.node,
|
|
3987
4088
|
showRightBar: e.bool,
|
|
3988
4089
|
onCloseBar: e.func
|
|
3989
4090
|
};
|
|
3990
4091
|
export {
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4092
|
+
y2 as AmbitSelector,
|
|
4093
|
+
vs as ButtonsBar,
|
|
4094
|
+
D2 as ButtonsList,
|
|
4095
|
+
oe as DropdownList,
|
|
4096
|
+
io as EditAmbit,
|
|
4097
|
+
ve as ErrorMessage,
|
|
4098
|
+
sn as FiltersAmbit,
|
|
4099
|
+
co as Form,
|
|
4100
|
+
Le as GeneralButton,
|
|
4101
|
+
cn as Graphic,
|
|
4102
|
+
Fs as HeaderSection,
|
|
4103
|
+
$n as IndicatorsList,
|
|
4104
|
+
Fn as LangSelector,
|
|
4105
|
+
Wn as Legend,
|
|
4106
|
+
X0 as ListSelector,
|
|
4107
|
+
B0 as LogInButton,
|
|
4108
|
+
Qn as LogoApp,
|
|
4109
|
+
e0 as MapboxMap,
|
|
4110
|
+
r0 as MaplibreMap,
|
|
4111
|
+
rs as ModalAlert,
|
|
4112
|
+
Ei as RadioButtonInput,
|
|
4113
|
+
Bt as RankingSlider,
|
|
4114
|
+
qs as RightSidebar,
|
|
4115
|
+
m0 as SectionBar,
|
|
4116
|
+
Fi as SelectInput,
|
|
4117
|
+
Tt as StatusText,
|
|
4118
|
+
Lt as Steps,
|
|
4119
|
+
$s as Switch,
|
|
4120
|
+
lt as TextInput,
|
|
4121
|
+
v0 as TimeSlider,
|
|
4122
|
+
ie as Tooltip,
|
|
4123
|
+
k0 as TopNavMenu
|
|
4023
4124
|
};
|