@tmf_ciclica/ciclicastorybook 1.1.160 → 1.1.162

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.es.js CHANGED
@@ -1,43 +1,43 @@
1
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
2
  import { jsxs as p, jsx as i, Fragment as Re } from "react/jsx-runtime";
3
3
  import * as pe from "react";
4
- import T, { useState as D, useEffect as F, useMemo as me, useLayoutEffect as Dt, useRef as se } from "react";
4
+ import T, { useState as D, useEffect as V, useMemo as me, useLayoutEffect as Vt, useRef as oe } from "react";
5
5
  import e from "prop-types";
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,
6
+ import { useTranslation as $, Trans as Ke } from "react-i18next";
7
+ import { motion as He } from "framer-motion";
8
+ import { create as ut } from "zustand";
9
+ import * as Ye from "d3";
10
+ import At from "mapbox-gl";
11
+ import { useSelector as It } from "react-redux";
12
+ import Ot, { Source as Rt, Layer as qt, NavigationControl as Et, Popup as Pt } from "react-map-gl/mapbox";
13
+ import Me from "maplibre-gl";
14
+ import { Protocol as jt } from "pmtiles";
15
+ import Zt, { Source as zt, Layer as Kt, NavigationControl as Ht, Popup as Ut } from "react-map-gl/maplibre";
16
+ import { createSlice as Gt } from "@reduxjs/toolkit";
17
+ import Wt from "@mui/material/Slider";
18
+ import { createTheme as Yt, Box as Qt } from "@mui/material";
19
+ import { ThemeProvider as Xt } from "@emotion/react";
20
+ import { NavLink as Jt } from "react-router-dom";
21
+ const e2 = "_ambitSelector_mcunf_2", t2 = "_header_mcunf_13", n2 = "_nameDateContainer_mcunf_23", i2 = "_ambitName_mcunf_39", o2 = "_ambitDate_mcunf_53", s2 = "_buttonsContainer_mcunf_67", r2 = "_ambitListContainer_mcunf_76", a2 = "_newAmbitButtonContainer_mcunf_80", W = {
22
+ ambitSelector: e2,
23
+ header: t2,
24
+ nameDateContainer: n2,
25
+ ambitName: i2,
26
+ ambitDate: o2,
27
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 = ({
28
+ ambitListContainer: r2,
29
+ newAmbitButtonContainer: a2
30
+ }, l2 = "_ambitItem_1qa6u_2", c2 = "_ambitNameDate_1qa6u_16", d2 = "_ambitName_1qa6u_16", u2 = "_ambitDate_1qa6u_35", p2 = "_ambitButtons_1qa6u_38", he = {
31
+ ambitItem: l2,
32
+ ambitNameDate: c2,
33
+ ambitName: d2,
34
+ ambitDate: u2,
35
+ ambitButtons: p2
36
+ }, 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='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", 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%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", 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%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", C2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", f2 = "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", b2 = "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", pt = ({
37
37
  ambit: n,
38
38
  onClickCopy: d,
39
- onClickDelete: s,
40
- onClickFilters: o,
39
+ onClickDelete: o,
40
+ onClickFilters: s,
41
41
  onClickAmbit: t,
42
42
  isActive: r,
43
43
  activeColor: a,
@@ -57,7 +57,7 @@ const Jt = "_ambitSelector_mcunf_2", e2 = "_header_mcunf_13", t2 = "_nameDateCon
57
57
  "img",
58
58
  {
59
59
  style: { marginRight: 9 },
60
- src: r ? C2 : f2
60
+ src: r ? f2 : b2
61
61
  }
62
62
  ),
63
63
  /* @__PURE__ */ i("span", { style: { color: r ? a : l }, children: u })
@@ -65,16 +65,16 @@ const Jt = "_ambitSelector_mcunf_2", e2 = "_header_mcunf_13", t2 = "_nameDateCon
65
65
  /* @__PURE__ */ i("div", { className: he.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
66
66
  ] }),
67
67
  /* @__PURE__ */ p("div", { className: he.ambitButtons, children: [
68
- 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 }) })
68
+ y && /* @__PURE__ */ i("img", { src: C2 }),
69
+ /* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: g2 }) }),
70
+ /* @__PURE__ */ i("button", { onClick: () => d(C), children: /* @__PURE__ */ i("img", { src: h2 }) }),
71
+ /* @__PURE__ */ i("button", { onClick: () => o(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: m2 }) })
72
72
  ] })
73
73
  ]
74
74
  }
75
75
  );
76
76
  };
77
- dt.propTypes = {
77
+ pt.propTypes = {
78
78
  ambit: e.shape({
79
79
  name: e.string.isRequired,
80
80
  created_at: e.string,
@@ -92,23 +92,23 @@ dt.propTypes = {
92
92
  moreInfo: e.object
93
93
  // Optional, can be used for additional info
94
94
  };
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 = ({
95
+ const Qe = "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", _2 = "_generalButton_phq4n_2", y2 = {
96
+ generalButton: _2
97
+ }, Te = ({
98
98
  children: n,
99
99
  onClick: d,
100
- fontColor: s = "#605B56",
101
- borderColor: o = "#605B56",
100
+ fontColor: o = "#605B56",
101
+ borderColor: s = "#605B56",
102
102
  type: t = "button",
103
103
  containerStyles: r = {},
104
104
  disabled: a = !1
105
105
  }) => /* @__PURE__ */ i(
106
106
  "button",
107
107
  {
108
- className: _2.generalButton,
108
+ className: y2.generalButton,
109
109
  style: {
110
- color: s,
111
- border: `1.5px solid ${o}`,
110
+ color: o,
111
+ border: `1.5px solid ${s}`,
112
112
  ...r
113
113
  },
114
114
  onClick: d,
@@ -116,11 +116,11 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
116
116
  disabled: a,
117
117
  children: n
118
118
  }
119
- ), y2 = ({
119
+ ), v2 = ({
120
120
  ambitList: n,
121
121
  activeAmbitId: d,
122
- fontColor: s = "#605B56",
123
- activeColor: o,
122
+ fontColor: o = "#605B56",
123
+ activeColor: s,
124
124
  nameLabel: t,
125
125
  dateLabel: r,
126
126
  newAmbitLabel: a = "New field",
@@ -132,49 +132,49 @@ const Ye = "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] = D(n);
136
- F(() => {
135
+ const { t: f } = $(), [b, m] = D(n);
136
+ V(() => {
137
137
  n && m(n);
138
138
  }, [n]);
139
- const b = (_) => {
140
- if (g && g.length > 0) {
141
- let x = [...g];
142
- x.sort((w, N) => w[_].localeCompare(N[_])), m(x);
139
+ const g = (_) => {
140
+ if (b && b.length > 0) {
141
+ let N = [...b];
142
+ N.sort((w, x) => w[_].localeCompare(x[_])), m(N);
143
143
  }
144
144
  };
145
145
  return /* @__PURE__ */ p(
146
146
  "div",
147
147
  {
148
148
  className: W.ambitSelector,
149
- style: { color: s, ...c },
149
+ style: { color: o, ...c },
150
150
  children: [
151
151
  /* @__PURE__ */ p(
152
152
  "div",
153
153
  {
154
154
  className: W.header,
155
- style: { borderBottom: `1px solid ${s}` },
155
+ style: { borderBottom: `1px solid ${o}` },
156
156
  children: [
157
157
  /* @__PURE__ */ p("div", { className: W.nameDateContainer, children: [
158
- /* @__PURE__ */ i("div", { className: W.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
158
+ /* @__PURE__ */ i("div", { className: W.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
159
159
  /* @__PURE__ */ i("span", { children: f(t) }),
160
- /* @__PURE__ */ i("img", { src: Ye })
160
+ /* @__PURE__ */ i("img", { src: Qe })
161
161
  ] }) }),
162
- /* @__PURE__ */ i("div", { className: W.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
162
+ /* @__PURE__ */ i("div", { className: W.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
163
163
  /* @__PURE__ */ i("span", { children: f(r) }),
164
- /* @__PURE__ */ i("img", { src: Ye })
164
+ /* @__PURE__ */ i("img", { src: Qe })
165
165
  ] }) })
166
166
  ] }),
167
167
  /* @__PURE__ */ i("div", { className: W.buttonsContainer })
168
168
  ]
169
169
  }
170
170
  ),
171
- /* @__PURE__ */ i("div", { className: W.ambitListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ i(
172
- dt,
171
+ /* @__PURE__ */ i("div", { className: W.ambitListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ i(
172
+ pt,
173
173
  {
174
174
  isActive: d == _.id,
175
175
  ambit: _,
176
- fontColor: s,
177
- activeColor: o,
176
+ fontColor: o,
177
+ activeColor: s,
178
178
  onClickCopy: h,
179
179
  onClickDelete: C,
180
180
  onClickFilters: y,
@@ -183,7 +183,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
183
183
  `ambitKey${_.id}`
184
184
  )) }),
185
185
  /* @__PURE__ */ i("div", { className: W.newAmbitButtonContainer, children: /* @__PURE__ */ i(
186
- Le,
186
+ Te,
187
187
  {
188
188
  style: { ...l },
189
189
  onClick: u,
@@ -195,7 +195,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
195
195
  }
196
196
  );
197
197
  };
198
- y2.propTypes = {
198
+ v2.propTypes = {
199
199
  ambitList: e.arrayOf(
200
200
  e.shape({
201
201
  name: e.string.isRequired,
@@ -217,32 +217,32 @@ y2.propTypes = {
217
217
  containerStyles: e.object,
218
218
  onCLickNewAmbit: e.func
219
219
  };
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
- const { t: o } = $();
234
- return /* @__PURE__ */ i("div", { className: `tooltip ${M2[d]}`, style: s, children: o(n) });
220
+ const w2 = "_buttonsContainer_1ks7x_2", x2 = "_vertical_1ks7x_6", N2 = "_horizontal_1ks7x_9", k2 = "_button_1ks7x_2", S2 = "_active_1ks7x_25", $2 = "_buttonName_1ks7x_28", X = {
221
+ buttonsContainer: w2,
222
+ vertical: x2,
223
+ horizontal: N2,
224
+ button: k2,
225
+ active: S2,
226
+ buttonName: $2
227
+ }, B2 = "_left_1l4m4_2", L2 = "_top_1l4m4_40", T2 = "_bottom_1l4m4_79", M2 = "_right_1l4m4_118", D2 = {
228
+ left: B2,
229
+ top: L2,
230
+ bottom: T2,
231
+ right: M2
232
+ }, ie = ({ text: n, position: d, styleCustom: o = null }) => {
233
+ const { t: s } = $();
234
+ return /* @__PURE__ */ i("div", { className: `tooltip ${D2[d]}`, style: o, children: s(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 D2 = ({
241
+ const F2 = ({
242
242
  buttons: n = [],
243
243
  orientation: d = "horizontal",
244
- showName: s = !0,
245
- namePosition: o = "right",
244
+ showName: o = !0,
245
+ namePosition: s = "right",
246
246
  useTooltip: t = !1,
247
247
  tooltipPosition: r = "top"
248
248
  }) => {
@@ -260,10 +260,10 @@ const D2 = ({
260
260
  name: y,
261
261
  onClick: v,
262
262
  disabled: f
263
- } = l, g = /* @__PURE__ */ p(Re, { children: [
264
- s && o === "left" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(y) }),
263
+ } = l, b = /* @__PURE__ */ p(Re, { children: [
264
+ o && s === "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: X.buttonName, children: a(y) })
266
+ o && s === "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(
@@ -273,7 +273,7 @@ const D2 = ({
273
273
  className: `${X.button}
274
274
  ${C && X.active}`,
275
275
  disabled: f,
276
- children: g
276
+ children: b
277
277
  }
278
278
  ),
279
279
  t && /* @__PURE__ */ i(ie, { text: y, position: r })
@@ -282,7 +282,7 @@ const D2 = ({
282
282
  }
283
283
  );
284
284
  };
285
- D2.propTypes = {
285
+ F2.propTypes = {
286
286
  buttons: e.arrayOf(
287
287
  e.shape({
288
288
  icon: e.node.isRequired,
@@ -300,14 +300,14 @@ D2.propTypes = {
300
300
  useTooltip: e.bool,
301
301
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
302
302
  };
303
- const F2 = "_indicatorsCategory_1cu33_2", V2 = "_title_1cu33_5", Me = {
304
- indicatorsCategory: F2,
305
- title: V2
306
- }, oe = ({
303
+ const V2 = "_indicatorsCategory_1cu33_2", A2 = "_title_1cu33_5", De = {
304
+ indicatorsCategory: V2,
305
+ title: A2
306
+ }, se = ({
307
307
  isOpen: n,
308
308
  onClick: d,
309
- children: s,
310
- color: o,
309
+ children: o,
310
+ color: s,
311
311
  activeColor: t = "#F8A925",
312
312
  title: r = "Title",
313
313
  //Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
@@ -319,9 +319,9 @@ const F2 = "_indicatorsCategory_1cu33_2", V2 = "_title_1cu33_5", Me = {
319
319
  }) => {
320
320
  const { t: h } = $();
321
321
  return /* @__PURE__ */ p(
322
- Ke.div,
322
+ He.div,
323
323
  {
324
- className: Me.indicatorsCategory,
324
+ className: De.indicatorsCategory,
325
325
  initial: { height: `${a}px` },
326
326
  animate: { height: n ? "auto" : `${a}px` },
327
327
  transition: { duration: 0.4 },
@@ -338,20 +338,20 @@ const F2 = "_indicatorsCategory_1cu33_2", V2 = "_title_1cu33_5", Me = {
338
338
  ...l,
339
339
  marginBottom: u || "auto"
340
340
  },
341
- className: `${Me.title}`,
341
+ className: `${De.title}`,
342
342
  onClick: d,
343
343
  children: [
344
- /* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
345
- /* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t : o }, children: h(r) })
344
+ /* @__PURE__ */ i("span", { style: { color: n ? t : s }, children: n ? "-" : "+" }),
345
+ /* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t : s }, children: h(r) })
346
346
  ]
347
347
  }
348
348
  ),
349
- /* @__PURE__ */ i("div", { className: Me.content, children: s })
349
+ /* @__PURE__ */ i("div", { className: De.content, children: o })
350
350
  ]
351
351
  }
352
352
  );
353
353
  };
354
- oe.propTypes = {
354
+ se.propTypes = {
355
355
  isOpen: e.bool,
356
356
  onClick: e.func,
357
357
  children: e.node,
@@ -362,39 +362,39 @@ oe.propTypes = {
362
362
  showBottomBar: e.bool,
363
363
  titleFontStyles: e.object
364
364
  };
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,
365
+ const ss = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), I2 = "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", O2 = "_AppliedFiltersContainer_cokx9_2", R2 = "_AppliedFilterContent_cokx9_11", Xe = {
366
+ AppliedFiltersContainer: O2,
367
367
  AppliedFilterContent: R2
368
- }, R = Ft((n) => ({
368
+ }, O = ut((n) => ({
369
369
  activeCategory: "",
370
370
  activeSubCategory: "",
371
371
  selectedIndicator: "",
372
372
  tematicalFiltersSelected: [],
373
373
  fontColor: "#605B56",
374
374
  inputsColor: "#605B56"
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) => ({
375
+ })), mt = ({ title: n, onClick: d, isOpen: o = !0, textColor: s = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
376
+ const { t: a } = $(), { tematicalFiltersSelected: l } = O((u) => u), c = (u) => {
377
+ O.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
- oe,
384
+ se,
385
385
  {
386
- isOpen: s,
386
+ isOpen: o,
387
387
  onClick: d,
388
388
  title: n ? a(n) : "Applied Filters",
389
389
  activeColor: r,
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: [
390
+ children: /* @__PURE__ */ i("div", { className: Xe.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: Xe.AppliedFilterContent, style: { color: s, background: t }, children: [
391
391
  a(u.name),
392
- /* @__PURE__ */ i("img", { src: A2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
392
+ /* @__PURE__ */ i("img", { src: I2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
393
393
  ] }, h)) })
394
394
  }
395
395
  );
396
396
  };
397
- ut.propTypes = {
397
+ mt.propTypes = {
398
398
  isOpen: e.bool,
399
399
  onClick: e.func,
400
400
  title: e.string,
@@ -408,12 +408,12 @@ ut.propTypes = {
408
408
  ),
409
409
  activeColor: e.string
410
410
  };
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);
411
+ const ht = ({ title: n, onClick: d, isOpen: o = !0, textColor: s = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
412
+ const { t: a } = $(), { tematicalFiltersSelected: l } = O((c) => c);
413
413
  return /* @__PURE__ */ i(
414
- oe,
414
+ se,
415
415
  {
416
- isOpen: s,
416
+ isOpen: o,
417
417
  onClick: d,
418
418
  title: n ? a(n) : "Geographical Filters",
419
419
  activeColor: r,
@@ -421,7 +421,7 @@ const pt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", ba
421
421
  }
422
422
  );
423
423
  };
424
- pt.propTypes = {
424
+ ht.propTypes = {
425
425
  isOpen: e.bool,
426
426
  onClick: e.func,
427
427
  title: e.string,
@@ -429,22 +429,22 @@ pt.propTypes = {
429
429
  backgroundColor: e.string,
430
430
  activeColor: e.string
431
431
  };
432
- const O2 = "_checkboxContainer_zld97_2", q2 = {
433
- checkboxContainer: O2
434
- }, mt = ({
432
+ const q2 = "_checkboxContainer_zld97_2", E2 = {
433
+ checkboxContainer: q2
434
+ }, gt = ({
435
435
  onClick: n,
436
436
  containerStyles: d,
437
- color: s = "#605B56",
438
- indicator: o,
437
+ color: o = "#605B56",
438
+ indicator: s,
439
439
  value: t
440
440
  }) => {
441
- const { t: r } = $(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = R((u) => u);
441
+ const { t: r } = $(), { title: a } = s || {}, { fontColor: l, inputsColor: c } = O((u) => u);
442
442
  return /* @__PURE__ */ p(
443
443
  "div",
444
444
  {
445
- style: { ...d, color: s },
445
+ style: { ...d, color: o },
446
446
  role: "checkbox",
447
- className: q2.checkboxContainer,
447
+ className: E2.checkboxContainer,
448
448
  onClick: n,
449
449
  children: [
450
450
  /* @__PURE__ */ i(
@@ -465,7 +465,7 @@ const O2 = "_checkboxContainer_zld97_2", q2 = {
465
465
  }
466
466
  );
467
467
  };
468
- mt.propTypes = {
468
+ gt.propTypes = {
469
469
  onClick: e.func,
470
470
  value: e.bool,
471
471
  containerStyles: e.object,
@@ -476,43 +476,43 @@ mt.propTypes = {
476
476
  }),
477
477
  checkedColor: e.string
478
478
  };
479
- function Oe(n, d) {
480
- return Oe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, o) {
481
- return s.__proto__ = o, s;
482
- }, Oe(n, d);
479
+ function qe(n, d) {
480
+ return qe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, s) {
481
+ return o.__proto__ = s, o;
482
+ }, qe(n, d);
483
483
  }
484
- function E2(n, d) {
485
- n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Oe(n, d);
484
+ function P2(n, d) {
485
+ n.prototype = Object.create(d.prototype), n.prototype.constructor = n, qe(n, d);
486
486
  }
487
- function De(n) {
487
+ function Fe(n) {
488
488
  return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
489
489
  }
490
- function Fe(n) {
490
+ function Ve(n) {
491
491
  return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
492
492
  }
493
- function xe(n) {
493
+ function Ne(n) {
494
494
  return n !== null && n.length === 1 ? n[0] : n.slice();
495
495
  }
496
- function Ne(n) {
496
+ function ke(n) {
497
497
  Object.keys(n).forEach((d) => {
498
498
  typeof document < "u" && document.addEventListener(d, n[d], !1);
499
499
  });
500
500
  }
501
501
  function J(n, d) {
502
- return qe(function(s, o) {
503
- let t = s;
504
- return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
502
+ return Ee(function(o, s) {
503
+ let t = o;
504
+ return t <= s.min && (t = s.min), t >= s.max && (t = s.max), t;
505
505
  }(n, d), d);
506
506
  }
507
- function qe(n, d) {
508
- const s = (n - d.min) % d.step;
509
- let o = n - s;
510
- return 2 * Math.abs(s) >= d.step && (o += s > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
507
+ function Ee(n, d) {
508
+ const o = (n - d.min) % d.step;
509
+ let s = n - o;
510
+ return 2 * Math.abs(o) >= d.step && (s += o > 0 ? d.step : -d.step), parseFloat(s.toFixed(5));
511
511
  }
512
- let Ee = function(n) {
513
- function d(o) {
512
+ let Pe = function(n) {
513
+ function d(s) {
514
514
  var t;
515
- (t = n.call(this, o) || this).onKeyUp = () => {
515
+ (t = n.call(this, s) || this).onKeyUp = () => {
516
516
  t.onEnd();
517
517
  }, t.onMouseUp = () => {
518
518
  t.onEnd(t.getMouseEventMap());
@@ -566,10 +566,10 @@ let Ee = 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]), Ne(t.getMouseEventMap());
569
+ t.start(u, c[0]), ke(t.getMouseEventMap());
570
570
  });
571
571
  }
572
- De(l);
572
+ Fe(l);
573
573
  }
574
574
  }, t.onSliderClick = (l) => {
575
575
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
@@ -577,17 +577,17 @@ let Ee = function(n) {
577
577
  t.props.onSliderClick(u);
578
578
  }
579
579
  }, t.createOnKeyDown = (l) => (c) => {
580
- t.props.disabled || (t.start(l), Ne(t.getKeyDownEventMap()), De(c));
580
+ t.props.disabled || (t.start(l), ke(t.getKeyDownEventMap()), Fe(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]), Ne(t.getMouseEventMap()), De(c);
585
+ t.start(l, u[0]), ke(t.getMouseEventMap()), Fe(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]), Ne(t.getTouchEventMap()), function(h) {
590
+ t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), ke(t.getTouchEventMap()), function(h) {
591
591
  h.stopPropagation && h.stopPropagation();
592
592
  }(c);
593
593
  }, t.handleResize = () => {
@@ -598,204 +598,204 @@ let Ee = 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: xe(t.state.value), valueNow: t.state.value[c] };
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: Ne(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: xe(t.state.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: Ne(t.state.value) };
605
605
  return t.props.renderTrack(h, C);
606
606
  };
607
- let r = Fe(o.value);
608
- r.length || (r = Fe(o.defaultValue)), t.pendingResizeTimeouts = [];
607
+ let r = Ve(s.value);
608
+ r.length || (r = Ve(s.defaultValue)), t.pendingResizeTimeouts = [];
609
609
  const a = [];
610
- for (let l = 0; l < r.length; l += 1) r[l] = J(r[l], o), a.push(l);
610
+ for (let l = 0; l < r.length; l += 1) r[l] = J(r[l], s), a.push(l);
611
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
- E2(d, n);
614
- var s = d.prototype;
615
- return s.componentDidMount = function() {
613
+ P2(d, n);
614
+ var o = d.prototype;
615
+ return o.componentDidMount = function() {
616
616
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
617
- }, d.getDerivedStateFromProps = function(o, t) {
618
- const r = Fe(o.value);
619
- return r.length ? t.pending ? null : { value: r.map((a) => J(a, o)) } : null;
620
- }, s.componentDidUpdate = function() {
617
+ }, d.getDerivedStateFromProps = function(s, t) {
618
+ const r = Ve(s.value);
619
+ return r.length ? t.pending ? null : { value: r.map((a) => J(a, s)) } : null;
620
+ }, o.componentDidUpdate = function() {
621
621
  this.state.upperBound === 0 && this.resize();
622
- }, s.componentWillUnmount = function() {
622
+ }, o.componentWillUnmount = function() {
623
623
  this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
624
- }, s.onEnd = function(o) {
625
- o && function(t) {
624
+ }, o.onEnd = function(s) {
625
+ s && function(t) {
626
626
  Object.keys(t).forEach((r) => {
627
627
  typeof document < "u" && document.removeEventListener(r, t[r], !1);
628
628
  });
629
- }(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
630
- }, s.getValue = function() {
631
- return xe(this.state.value);
632
- }, s.getClosestIndex = function(o) {
629
+ }(s), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
630
+ }, o.getValue = function() {
631
+ return Ne(this.state.value);
632
+ }, o.getClosestIndex = function(s) {
633
633
  let t = Number.MAX_VALUE, r = -1;
634
634
  const { value: a } = this.state, l = a.length;
635
635
  for (let c = 0; c < l; c += 1) {
636
- const u = this.calcOffset(a[c]), h = Math.abs(o - u);
636
+ const u = this.calcOffset(a[c]), h = Math.abs(s - u);
637
637
  h < t && (t = h, r = c);
638
638
  }
639
639
  return r;
640
- }, s.getMousePosition = function(o) {
641
- return [o["page" + this.axisKey()], o["page" + this.orthogonalAxisKey()]];
642
- }, s.getTouchPosition = function(o) {
643
- const t = o.touches[0];
640
+ }, o.getMousePosition = function(s) {
641
+ return [s["page" + this.axisKey()], s["page" + this.orthogonalAxisKey()]];
642
+ }, o.getTouchPosition = function(s) {
643
+ const t = s.touches[0];
644
644
  return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
645
- }, s.getKeyDownEventMap = function() {
645
+ }, o.getKeyDownEventMap = function() {
646
646
  return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
647
- }, s.getMouseEventMap = function() {
647
+ }, o.getMouseEventMap = function() {
648
648
  return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
649
- }, s.getTouchEventMap = function() {
649
+ }, o.getTouchEventMap = function() {
650
650
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
651
- }, s.getValueFromPosition = function(o) {
652
- const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
651
+ }, o.getValueFromPosition = function(s) {
652
+ const t = s / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
653
653
  return J(this.state.startValue + t, this.props);
654
- }, s.getDiffPosition = function(o) {
655
- let t = o - this.state.startPosition;
654
+ }, o.getDiffPosition = function(s) {
655
+ let t = s - this.state.startPosition;
656
656
  return this.props.invert && (t *= -1), t;
657
- }, s.resize = function() {
658
- const { slider: o, thumb0: t } = this;
659
- if (!o || !t) return;
660
- const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], C = l - h, y = Math.abs(c - u);
657
+ }, o.resize = function() {
658
+ const { slider: s, thumb0: t } = this;
659
+ if (!s || !t) return;
660
+ const r = this.sizeKey(), a = s.getBoundingClientRect(), l = s[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], C = l - h, y = Math.abs(c - u);
661
661
  this.state.upperBound === C && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: C, sliderLength: y, thumbSize: h });
662
- }, s.calcOffset = function(o) {
662
+ }, o.calcOffset = function(s) {
663
663
  const t = this.props.max - this.props.min;
664
- return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
665
- }, s.calcValue = function(o) {
666
- return o / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
667
- }, s.calcOffsetFromPosition = function(o) {
664
+ return t === 0 ? 0 : (s - this.props.min) / t * this.state.upperBound;
665
+ }, o.calcValue = function(s) {
666
+ return s / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
667
+ }, o.calcOffsetFromPosition = function(s) {
668
668
  const { slider: t } = this, r = t.getBoundingClientRect(), a = r[this.posMaxKey()], l = r[this.posMinKey()];
669
- let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
669
+ let c = s - (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
- }, s.forceValueFromPosition = function(o, t) {
672
- const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = J(this.calcValue(r), this.props), c = this.state.value.slice();
671
+ }, o.forceValueFromPosition = function(s, t) {
672
+ const r = this.calcOffsetFromPosition(s), 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 }, () => {
676
676
  t(a), this.fireChangeEvent("onChange");
677
677
  });
678
- }, s.clearPendingResizeTimeouts = function() {
678
+ }, o.clearPendingResizeTimeouts = function() {
679
679
  do {
680
- const o = this.pendingResizeTimeouts.shift();
681
- clearTimeout(o);
680
+ const s = this.pendingResizeTimeouts.shift();
681
+ clearTimeout(s);
682
682
  } while (this.pendingResizeTimeouts.length);
683
- }, s.start = function(o, t) {
684
- const r = this["thumb" + o];
683
+ }, o.start = function(s, t) {
684
+ const r = this["thumb" + s];
685
685
  r && r.focus();
686
686
  const { zIndices: a } = this.state;
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
- }, s.moveUpByStep = function(o) {
689
- o === void 0 && (o = this.props.step);
690
- const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
687
+ a.splice(a.indexOf(s), 1), a.push(s), this.setState((l) => ({ startValue: l.value[s], startPosition: t !== void 0 ? t : l.startPosition, index: s, zIndices: a }));
688
+ }, o.moveUpByStep = function(s) {
689
+ s === void 0 && (s = this.props.step);
690
+ const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t - s : t + s, this.props);
691
691
  this.move(Math.min(r, this.props.max));
692
- }, s.moveDownByStep = function(o) {
693
- o === void 0 && (o = this.props.step);
694
- const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
692
+ }, o.moveDownByStep = function(s) {
693
+ s === void 0 && (s = this.props.step);
694
+ const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t + s : t - s, this.props);
695
695
  this.move(Math.max(r, this.props.min));
696
- }, s.move = function(o) {
696
+ }, o.move = function(s) {
697
697
  const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
698
- if (o === l) return;
698
+ if (s === l) return;
699
699
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
700
700
  const { pearling: c, max: u, min: h, minDistance: C } = this.props;
701
701
  if (!c) {
702
702
  if (r > 0) {
703
703
  const y = t[r - 1];
704
- o < y + C && (o = y + C);
704
+ s < y + C && (s = y + C);
705
705
  }
706
706
  if (r < a - 1) {
707
707
  const y = t[r + 1];
708
- o > y - C && (o = y - C);
708
+ s > y - C && (s = y - C);
709
709
  }
710
710
  }
711
- t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, C, r), function(y, v, f, g) {
711
+ t[r] = s, c && a > 1 && (s > l ? (this.pushSucceeding(t, C, r), function(y, v, f, b) {
712
712
  for (let m = 0; m < y; m += 1) {
713
- const b = g - m * f;
714
- v[y - 1 - m] > b && (v[y - 1 - m] = b);
713
+ const g = b - m * f;
714
+ v[y - 1 - m] > g && (v[y - 1 - m] = g);
715
715
  }
716
- }(a, t, C, u)) : o < l && (this.pushPreceding(t, C, r), function(y, v, f, g) {
716
+ }(a, t, C, u)) : s < l && (this.pushPreceding(t, C, r), function(y, v, f, b) {
717
717
  for (let m = 0; m < y; m += 1) {
718
- const b = g + m * f;
719
- v[m] < b && (v[m] = b);
718
+ const g = b + m * f;
719
+ v[m] < g && (v[m] = g);
720
720
  }
721
721
  }(a, t, C, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
722
- }, s.pushSucceeding = function(o, t, r) {
722
+ }, o.pushSucceeding = function(s, 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] = qe(l, this.props);
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] = qe(l, this.props);
727
- }, s.axisKey = function() {
724
+ for (a = r, l = s[a] + t; s[a + 1] !== null && l > s[a + 1]; a += 1, l = s[a] + t) s[a + 1] = Ee(l, this.props);
725
+ }, o.pushPreceding = function(s, t, r) {
726
+ for (let a = r, l = s[a] - t; s[a - 1] !== null && l < s[a - 1]; a -= 1, l = s[a] - t) s[a - 1] = Ee(l, this.props);
727
+ }, o.axisKey = function() {
728
728
  return this.props.orientation === "vertical" ? "Y" : "X";
729
- }, s.orthogonalAxisKey = function() {
729
+ }, o.orthogonalAxisKey = function() {
730
730
  return this.props.orientation === "vertical" ? "X" : "Y";
731
- }, s.posMinKey = function() {
731
+ }, o.posMinKey = function() {
732
732
  return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
733
- }, s.posMaxKey = function() {
733
+ }, o.posMaxKey = function() {
734
734
  return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
735
- }, s.sizeKey = function() {
735
+ }, o.sizeKey = function() {
736
736
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
737
- }, s.fireChangeEvent = function(o) {
738
- this.props[o] && this.props[o](xe(this.state.value), this.state.index);
739
- }, s.buildThumbStyle = function(o, t) {
737
+ }, o.fireChangeEvent = function(s) {
738
+ this.props[s] && this.props[s](Ne(this.state.value), this.state.index);
739
+ }, o.buildThumbStyle = function(s, 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
- return r[this.posMinKey()] = o + "px", r;
742
- }, s.buildTrackStyle = function(o, t) {
741
+ return r[this.posMinKey()] = s + "px", r;
742
+ }, o.buildTrackStyle = function(s, t) {
743
743
  const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
744
- return r[this.posMinKey()] = o, r[this.posMaxKey()] = t, r;
745
- }, s.buildMarkStyle = function(o) {
744
+ return r[this.posMinKey()] = s, r[this.posMaxKey()] = t, r;
745
+ }, o.buildMarkStyle = function(s) {
746
746
  var t;
747
- return (t = { position: "absolute" })[this.posMinKey()] = o, t;
748
- }, s.renderThumbs = function(o) {
749
- const { length: t } = o, r = [];
750
- for (let l = 0; l < t; l += 1) r[l] = this.buildThumbStyle(o[l], l);
747
+ return (t = { position: "absolute" })[this.posMinKey()] = s, t;
748
+ }, o.renderThumbs = function(s) {
749
+ const { length: t } = s, r = [];
750
+ for (let l = 0; l < t; l += 1) r[l] = this.buildThumbStyle(s[l], l);
751
751
  const a = [];
752
752
  for (let l = 0; l < t; l += 1) a[l] = this.renderThumb(r[l], l);
753
753
  return a;
754
- }, s.renderTracks = function(o) {
755
- const t = [], r = o.length - 1;
756
- t.push(this.renderTrack(0, 0, o[0]));
757
- for (let a = 0; a < r; a += 1) t.push(this.renderTrack(a + 1, o[a], o[a + 1]));
758
- return t.push(this.renderTrack(r + 1, o[r], this.state.upperBound)), t;
759
- }, s.renderMarks = function() {
760
- let { marks: o } = this.props;
754
+ }, o.renderTracks = function(s) {
755
+ const t = [], r = s.length - 1;
756
+ t.push(this.renderTrack(0, 0, s[0]));
757
+ for (let a = 0; a < r; a += 1) t.push(this.renderTrack(a + 1, s[a], s[a + 1]));
758
+ return t.push(this.renderTrack(r + 1, s[r], this.state.upperBound)), t;
759
+ }, o.renderMarks = function() {
760
+ let { marks: s } = this.props;
761
761
  const t = this.props.max - this.props.min + 1;
762
- return typeof o == "boolean" ? o = Array.from({ length: t }).map((r, a) => a) : typeof o == "number" && (o = Array.from({ length: t }).map((r, a) => a).filter((r) => r % o == 0)), o.map(parseFloat).sort((r, a) => r - a).map((r) => {
762
+ return typeof s == "boolean" ? s = Array.from({ length: t }).map((r, a) => a) : typeof s == "number" && (s = Array.from({ length: t }).map((r, a) => a).filter((r) => r % s == 0)), s.map(parseFloat).sort((r, a) => r - a).map((r) => {
763
763
  const a = this.calcOffset(r), l = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(a) };
764
764
  return this.props.renderMark(l);
765
765
  });
766
- }, s.render = function() {
767
- const o = [], { value: t } = this.state, r = t.length;
768
- for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
769
- const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
766
+ }, o.render = function() {
767
+ const s = [], { value: t } = this.state, r = t.length;
768
+ for (let u = 0; u < r; u += 1) s[u] = this.calcOffset(t[u], u);
769
+ const a = this.props.withTracks ? this.renderTracks(s) : null, l = this.renderThumbs(s), c = this.props.marks ? this.renderMarks() : null;
770
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
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 = ({
775
+ Pe.displayName = "ReactSlider", Pe.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 je = Pe;
777
+ const j2 = "_container_4u41i_2", Z2 = "_unitLabel_4u41i_8", z2 = "_slider_4u41i_11", K2 = "_thumb_4u41i_17", H2 = "_track_4u41i_26", U2 = "_labels_4u41i_32", re = {
778
+ container: j2,
779
+ unitLabel: Z2,
780
+ slider: z2,
781
+ thumb: K2,
782
+ track: H2,
783
+ labels: U2
784
+ }, Ct = ({
785
785
  min: n = 0,
786
786
  max: d = 100,
787
- step: s = 1,
788
- onChange: o,
787
+ step: o = 1,
788
+ onChange: s,
789
789
  width: t = 300,
790
790
  unit: r,
791
791
  fontColor: a = "#605B56",
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] = D(c ? [h, C] : [n, d]), f = (g) => {
796
- v(g), o == null || o({ min: g[0], max: g[1] });
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 = (b) => {
796
+ v(b), s == null || s({ min: b[0], max: b[1] });
797
797
  };
798
- return F(() => {
798
+ return V(() => {
799
799
  l || v(c ? [h, C] : [n, d]);
800
800
  }, [l, c]), /* @__PURE__ */ p(
801
801
  "div",
@@ -805,14 +805,14 @@ const P2 = "_container_4u41i_2", j2 = "_unitLabel_4u41i_8", Z2 = "_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
- Pe,
808
+ je,
809
809
  {
810
810
  className: re.slider,
811
811
  thumbClassName: re.thumb,
812
812
  trackClassName: re.track,
813
813
  min: c ? h : n,
814
814
  max: c ? C : d,
815
- step: c ? (C - h) / 30 : s,
815
+ step: c ? (C - h) / 30 : o,
816
816
  value: y,
817
817
  onAfterChange: f,
818
818
  withTracks: !0,
@@ -836,7 +836,7 @@ const P2 = "_container_4u41i_2", j2 = "_unitLabel_4u41i_8", Z2 = "_slider_4u41i_
836
836
  }
837
837
  );
838
838
  };
839
- ht.propTypes = {
839
+ Ct.propTypes = {
840
840
  min: e.number,
841
841
  max: e.number,
842
842
  step: e.number,
@@ -848,17 +848,17 @@ ht.propTypes = {
848
848
  fontColor: e.string,
849
849
  value: e.arrayOf(e.number)
850
850
  };
851
- const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_1vm1r_2", W2 = "_checkboxContainer_1vm1r_28", Y2 = "_absoluteSliderContainer_1vm1r_37", ke = {
852
- tematicalFiltersInputContainer: U2,
853
- inputTypeContainer: G2,
854
- checkboxContainer: W2,
855
- absoluteSliderContainer: Y2
856
- }, He = ({
851
+ const G2 = "_tematicalFiltersInputContainer_1vm1r_2", W2 = "_inputTypeContainer_1vm1r_2", Y2 = "_checkboxContainer_1vm1r_28", Q2 = "_absoluteSliderContainer_1vm1r_37", Se = {
852
+ tematicalFiltersInputContainer: G2,
853
+ inputTypeContainer: W2,
854
+ checkboxContainer: Y2,
855
+ absoluteSliderContainer: Q2
856
+ }, Ue = ({
857
857
  indicator: n,
858
858
  //onChangeBothType
859
859
  activeColor: d
860
860
  }) => {
861
- const [s, o] = D(), {
861
+ const [o, s] = D(), {
862
862
  type: t,
863
863
  name: r,
864
864
  values: a,
@@ -869,47 +869,47 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
869
869
  disabled: C,
870
870
  isDate: y
871
871
  } = n || {}, v = me(
872
- () => t == "cat" || s == "cat",
873
- [s, t]
872
+ () => t == "cat" || o == "cat",
873
+ [o, t]
874
874
  ), f = me(
875
- () => t == "abs" || s == "abs",
876
- [s, t]
875
+ () => t == "abs" || o == "abs",
876
+ [o, t]
877
877
  ), {
878
- tematicalFiltersSelected: g,
878
+ tematicalFiltersSelected: b,
879
879
  selectedIndicator: m,
880
- fontColor: b,
880
+ fontColor: g,
881
881
  inputsColor: _
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) => {
882
+ } = O((x) => x), N = (x) => {
883
+ if (console.log("onChangInput", x), x) {
884
+ const { min: S, max: B, valueClicked: k, allValues: L } = x || {}, { code: R, type: K, source: M } = n || {}, j = f ? "abs" : v ? "cat" : "both";
885
+ console.log("type: ", j);
886
+ let Z = R[0];
887
+ K == "both" && (Z = j == "cat" ? R[1] : R[0]), j == "cat" ? O.setState((Q) => {
888
888
  let G = Q.tematicalFiltersSelected.find(
889
- (O) => O.code === j
889
+ (q) => q.code === Z
890
890
  );
891
891
  if (G) {
892
- let O = [G.values];
893
- return G.values.includes(k) ? O = G.values.filter(
892
+ let q = [G.values];
893
+ return G.values.includes(k) ? q = G.values.filter(
894
894
  (P) => P !== k
895
- ) : O = [...G.values, k], O.length == L.length ? {
895
+ ) : q = [...G.values, k], q.length == L.length ? {
896
896
  tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
897
- (P) => P.code !== j
897
+ (P) => P.code !== Z
898
898
  )
899
899
  } : {
900
900
  tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
901
- (P) => P.code === j ? { ...P, values: O } : P
901
+ (P) => P.code === Z ? { ...P, values: q } : P
902
902
  )
903
903
  };
904
904
  } else {
905
- let O = L.map((P, Mt) => Mt);
905
+ let q = L.map((P, Ft) => Ft);
906
906
  return {
907
907
  tematicalFiltersSelected: [
908
- ...g,
908
+ ...b,
909
909
  {
910
910
  type: "cat",
911
- code: j,
912
- values: O.filter((P) => P !== k),
911
+ code: Z,
912
+ values: q.filter((P) => P !== k),
913
913
  name: n.name,
914
914
  source: M,
915
915
  isDate: y
@@ -917,30 +917,30 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
917
917
  ]
918
918
  };
919
919
  }
920
- }) : Z == "abs" && R.setState((Q) => {
920
+ }) : j == "abs" && O.setState((Q) => {
921
921
  let G = Q.tematicalFiltersSelected.find(
922
- (O) => O.code === j
922
+ (q) => q.code === Z
923
923
  );
924
924
  if (S == n.minValue && B == n.maxValue)
925
925
  return {
926
926
  tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
927
- (O) => O.code !== j
927
+ (q) => q.code !== Z
928
928
  )
929
929
  };
930
930
  if (G) {
931
- let O = { ...G, min: S, max: B, type: Z, isDate: y };
931
+ let q = { ...G, min: S, max: B, type: j, isDate: y };
932
932
  return {
933
933
  tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
934
- (P) => P.code === j ? O : P
934
+ (P) => P.code === Z ? q : P
935
935
  )
936
936
  };
937
937
  } else
938
938
  return {
939
939
  tematicalFiltersSelected: [
940
- ...g,
940
+ ...b,
941
941
  {
942
- type: Z,
943
- code: j,
942
+ type: j,
943
+ code: Z,
944
944
  min: S,
945
945
  max: B,
946
946
  name: n.name,
@@ -951,14 +951,14 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
951
951
  });
952
952
  }
953
953
  }, w = me(() => {
954
- const N = {};
955
- if ((g == null ? void 0 : g.length) > 0)
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
- }, [g]);
960
- return /* @__PURE__ */ i("div", { className: ke.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
961
- oe,
954
+ const x = {};
955
+ if ((b == null ? void 0 : b.length) > 0)
956
+ for (const S of b)
957
+ S.type === "cat" ? x[S.code] = new Set(S.values) : x[S.code] = [S.min, S.max];
958
+ return x;
959
+ }, [b]);
960
+ return /* @__PURE__ */ i("div", { className: Se.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
961
+ se,
962
962
  {
963
963
  titleFontStyles: {
964
964
  fontSize: 16,
@@ -968,7 +968,7 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
968
968
  title: r,
969
969
  isOpen: m == `id${r}`,
970
970
  onClick: () => {
971
- C || R.setState(() => ({
971
+ C || O.setState(() => ({
972
972
  selectedIndicator: m == `id${r}` ? "" : `id${r}`
973
973
  }));
974
974
  },
@@ -976,14 +976,14 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
976
976
  height: 42,
977
977
  titleMarginChildren: 14,
978
978
  className: "tematicalFiltersInputContainer",
979
- color: b,
979
+ color: g,
980
980
  activeColor: d,
981
981
  children: [
982
982
  t == "both" && /* @__PURE__ */ p(
983
983
  "div",
984
984
  {
985
- className: ke.inputTypeContainer,
986
- style: { color: b },
985
+ className: Se.inputTypeContainer,
986
+ style: { color: g },
987
987
  children: [
988
988
  /* @__PURE__ */ p("label", { children: [
989
989
  /* @__PURE__ */ i(
@@ -993,12 +993,12 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
993
993
  name: "tipo",
994
994
  value: "abs",
995
995
  onChange: () => {
996
- o("abs");
996
+ s("abs");
997
997
  },
998
998
  style: {
999
999
  marginRight: 4,
1000
- backgroundColor: s == "abs" ? _ : "white",
1001
- border: `1.5px solid ${s == "abs" ? _ : b}`
1000
+ backgroundColor: o == "abs" ? _ : "white",
1001
+ border: `1.5px solid ${o == "abs" ? _ : g}`
1002
1002
  }
1003
1003
  }
1004
1004
  ),
@@ -1012,12 +1012,12 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
1012
1012
  name: "tipo",
1013
1013
  value: "cat",
1014
1014
  onChange: () => {
1015
- o("cat");
1015
+ s("cat");
1016
1016
  },
1017
1017
  style: {
1018
1018
  marginRight: 4,
1019
- backgroundColor: s == "cat" ? _ : "white",
1020
- border: `1.5px solid ${s == "cat" ? _ : b}`
1019
+ backgroundColor: o == "cat" ? _ : "white",
1020
+ border: `1.5px solid ${o == "cat" ? _ : g}`
1021
1021
  }
1022
1022
  }
1023
1023
  ),
@@ -1026,22 +1026,22 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
1026
1026
  ]
1027
1027
  }
1028
1028
  ),
1029
- v && /* @__PURE__ */ i("div", { className: ke.checkboxContainer, children: a.map((N, S) => {
1029
+ v && /* @__PURE__ */ i("div", { className: Se.checkboxContainer, children: a.map((x, S) => {
1030
1030
  var B;
1031
1031
  return /* @__PURE__ */ i(
1032
- mt,
1032
+ gt,
1033
1033
  {
1034
- onClick: () => x({ valueClicked: S, allValues: a }),
1035
- indicator: N,
1034
+ onClick: () => N({ valueClicked: S, allValues: a }),
1035
+ indicator: x,
1036
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
1038
  `checkbox-${S}`
1039
1039
  );
1040
1040
  }) }),
1041
- (f || t == "glb") && /* @__PURE__ */ i("div", { className: ke.absoluteSliderContainer, children: /* @__PURE__ */ i(
1042
- ht,
1041
+ (f || t == "glb") && /* @__PURE__ */ i("div", { className: Se.absoluteSliderContainer, children: /* @__PURE__ */ i(
1042
+ Ct,
1043
1043
  {
1044
- onChange: x,
1044
+ onChange: N,
1045
1045
  min: l,
1046
1046
  max: c,
1047
1047
  unit: u,
@@ -1054,7 +1054,7 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
1054
1054
  }
1055
1055
  ) });
1056
1056
  };
1057
- He.propTypes = {
1057
+ Ue.propTypes = {
1058
1058
  indicator: e.shape({
1059
1059
  name: e.string,
1060
1060
  type: e.string,
@@ -1069,20 +1069,20 @@ He.propTypes = {
1069
1069
  activeColor: e.string
1070
1070
  //onChangeBothType: PropTypes.func,
1071
1071
  };
1072
- const gt = ({
1072
+ const ft = ({
1073
1073
  subcategory: n,
1074
1074
  fontColor: d,
1075
- activeColor: s
1075
+ activeColor: o
1076
1076
  //onChangeBothType,
1077
1077
  }) => {
1078
- const { activeSubcategory: o } = R((a) => a), { name: t, indicators: r } = n || {};
1078
+ const { activeSubcategory: s } = O((a) => a), { name: t, indicators: r } = n || {};
1079
1079
  return /* @__PURE__ */ i(
1080
- oe,
1080
+ se,
1081
1081
  {
1082
1082
  title: t,
1083
- isOpen: o == `id${t}`,
1083
+ isOpen: s == `id${t}`,
1084
1084
  onClick: () => {
1085
- R.setState((a) => ({
1085
+ O.setState((a) => ({
1086
1086
  activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
1087
1087
  }));
1088
1088
  },
@@ -1091,20 +1091,20 @@ const gt = ({
1091
1091
  titleMarginChildren: 20,
1092
1092
  height: 48,
1093
1093
  color: d,
1094
- activeColor: s,
1094
+ activeColor: o,
1095
1095
  children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ i(
1096
- He,
1096
+ Ue,
1097
1097
  {
1098
1098
  indicator: a,
1099
1099
  fontColor: d,
1100
- activeColor: s
1100
+ activeColor: o
1101
1101
  },
1102
1102
  `indicatorSub-${l}`
1103
1103
  ))
1104
1104
  }
1105
1105
  );
1106
1106
  };
1107
- gt.propTypes = {
1107
+ ft.propTypes = {
1108
1108
  subcategory: e.shape({
1109
1109
  name: e.string,
1110
1110
  indicators: e.arrayOf(
@@ -1117,28 +1117,28 @@ gt.propTypes = {
1117
1117
  activeColor: e.string
1118
1118
  //onChangeBothType: PropTypes.func,
1119
1119
  };
1120
- const Ct = ({
1120
+ const bt = ({
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 } = R((l) => l);
1125
+ const { name: o, subcategories: s, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = O((l) => l);
1126
1126
  return n && /* @__PURE__ */ i(
1127
- oe,
1127
+ se,
1128
1128
  {
1129
1129
  onClick: () => {
1130
- R.setState((l) => ({
1131
- activeCategory: r === `id${s}` ? "" : `id${s}`
1130
+ O.setState((l) => ({
1131
+ activeCategory: r === `id${o}` ? "" : `id${o}`
1132
1132
  }));
1133
1133
  },
1134
- title: s,
1135
- isOpen: r === `id${s}`,
1134
+ title: o,
1135
+ isOpen: r === `id${o}`,
1136
1136
  titleFontStyles: { fontSize: 18, fontWeight: "bold" },
1137
1137
  showBottomBar: !1,
1138
1138
  color: a,
1139
1139
  activeColor: d,
1140
- children: o ? o.map((l, c) => /* @__PURE__ */ i(
1141
- gt,
1140
+ children: s ? s.map((l, c) => /* @__PURE__ */ i(
1141
+ ft,
1142
1142
  {
1143
1143
  subcategory: l,
1144
1144
  fontColor: a,
@@ -1146,7 +1146,7 @@ const Ct = ({
1146
1146
  },
1147
1147
  `subcategory-${c}`
1148
1148
  )) : t && t.map((l, c) => /* @__PURE__ */ i(
1149
- He,
1149
+ Ue,
1150
1150
  {
1151
1151
  indicator: l,
1152
1152
  fontColor: a,
@@ -1157,7 +1157,7 @@ const Ct = ({
1157
1157
  }
1158
1158
  );
1159
1159
  };
1160
- Ct.propTypes = {
1160
+ bt.propTypes = {
1161
1161
  category: e.shape({
1162
1162
  name: e.string.isRequired,
1163
1163
  subcategories: e.array,
@@ -1166,34 +1166,34 @@ Ct.propTypes = {
1166
1166
  activeColor: e.string
1167
1167
  //onChangeBothType: PropTypes.func,
1168
1168
  };
1169
- const ft = ({
1169
+ const _t = ({
1170
1170
  indicators: n,
1171
1171
  isOpen: d = !0,
1172
- title: s,
1173
- fontColor: o = "#605B56",
1172
+ title: o,
1173
+ fontColor: s = "#605B56",
1174
1174
  //The color of the slider and the checkbox when is checked
1175
1175
  inputsColor: t = "#605B56",
1176
1176
  activeColor: r
1177
1177
  }) => {
1178
- const { tematicalFiltersSelected: a } = R((c) => c), { t: l } = $();
1179
- return F(() => {
1178
+ const { tematicalFiltersSelected: a } = O((c) => c), { t: l } = $();
1179
+ return V(() => {
1180
1180
  console.log("filtersSelected changed: ", a);
1181
- }, [a]), F(() => {
1182
- o && R.setState(() => ({ fontColor: o }));
1183
- }, [o]), F(() => {
1184
- t && R.setState(() => ({ inputsColor: t }));
1181
+ }, [a]), V(() => {
1182
+ s && O.setState(() => ({ fontColor: s }));
1183
+ }, [s]), V(() => {
1184
+ t && O.setState(() => ({ inputsColor: t }));
1185
1185
  }, [t]), /* @__PURE__ */ i(
1186
- oe,
1186
+ se,
1187
1187
  {
1188
1188
  isOpen: d,
1189
- title: s ? l(s) : "Tematical filters",
1190
- color: o,
1189
+ title: o ? l(o) : "Tematical filters",
1190
+ color: s,
1191
1191
  activeColor: r,
1192
1192
  children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ i(
1193
- Ct,
1193
+ bt,
1194
1194
  {
1195
1195
  category: c,
1196
- fontColor: o,
1196
+ fontColor: s,
1197
1197
  activeColor: r
1198
1198
  },
1199
1199
  `category-${u}`
@@ -1201,7 +1201,7 @@ const ft = ({
1201
1201
  }
1202
1202
  );
1203
1203
  };
1204
- ft.propTypes = {
1204
+ _t.propTypes = {
1205
1205
  isOpen: e.bool,
1206
1206
  title: e.string,
1207
1207
  indicators: e.arrayOf(e.object),
@@ -1210,18 +1210,18 @@ ft.propTypes = {
1210
1210
  inputsColor: e.string,
1211
1211
  activeColor: e.string
1212
1212
  };
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
1213
+ const X2 = "_FiltersAmbitContainer_1g9xx_2", J2 = "_FiltersAmbitHeader_1g9xx_7", en = "_FiltersAmbitTitle_1g9xx_15", tn = "_FiltersAmbitDescription_1g9xx_22", nn = "_FiltersAmbitDescriptionTitle_1g9xx_33", on = "_warning_1g9xx_37", ae = {
1214
+ FiltersAmbitContainer: X2,
1215
+ FiltersAmbitHeader: J2,
1216
+ FiltersAmbitTitle: en,
1217
+ FiltersAmbitDescription: tn,
1218
+ FiltersAmbitDescriptionTitle: nn,
1219
+ warning: on
1220
1220
  }, sn = ({
1221
1221
  ambitName: n,
1222
1222
  ambitDescription: d,
1223
- defaultFilters: s,
1224
- indicators: o,
1223
+ defaultFilters: o,
1224
+ indicators: s,
1225
1225
  activeColor: t,
1226
1226
  textColor: r,
1227
1227
  backgroundColor: a,
@@ -1234,16 +1234,16 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_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 } = 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
- tematicalFiltersSelected: s
1237
+ const { t: f } = $(), { tematicalFiltersSelected: b } = O((B) => B), [m, g] = D(n || null), [_, N] = D(d || null), [w, x] = D(!1);
1238
+ V(() => {
1239
+ o && o.length > 0 && O.setState((B) => ({
1240
+ tematicalFiltersSelected: o
1241
1241
  }));
1242
- }, [s]), F(() => {
1243
- console.log("filtersSelected changed: ", g), l(g);
1244
- }, [g]);
1242
+ }, [o]), V(() => {
1243
+ console.log("filtersSelected changed: ", b), l(b);
1244
+ }, [b]);
1245
1245
  const S = () => {
1246
- m ? c({ name: m, description: _ }) : N(!0);
1246
+ m ? c({ name: m, description: _ }) : x(!0);
1247
1247
  };
1248
1248
  return /* @__PURE__ */ p("div", { className: ae.FiltersAmbitContainer, children: [
1249
1249
  !v && /* @__PURE__ */ p("div", { className: ae.FiltersAmbitHeader, children: [
@@ -1252,7 +1252,7 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
1252
1252
  {
1253
1253
  type: "text",
1254
1254
  onChange: (B) => {
1255
- N(!1), b(B.target.value);
1255
+ x(!1), g(B.target.value);
1256
1256
  },
1257
1257
  value: m,
1258
1258
  placeholder: f(u)
@@ -1262,13 +1262,13 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
1262
1262
  "textarea",
1263
1263
  {
1264
1264
  value: _,
1265
- onChange: (B) => x(B.target.value),
1265
+ onChange: (B) => N(B.target.value),
1266
1266
  placeholder: f(h)
1267
1267
  }
1268
1268
  ) }) })
1269
1269
  ] }),
1270
1270
  /* @__PURE__ */ i(
1271
- ut,
1271
+ mt,
1272
1272
  {
1273
1273
  title: f("applied_filters"),
1274
1274
  isOpen: !0,
@@ -1277,11 +1277,11 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
1277
1277
  activeColor: t
1278
1278
  }
1279
1279
  ),
1280
- C.includes("geographical") && /* @__PURE__ */ i(pt, { activeColor: t }),
1280
+ C.includes("geographical") && /* @__PURE__ */ i(ht, { activeColor: t }),
1281
1281
  C.includes("tematical") && /* @__PURE__ */ i(
1282
- ft,
1282
+ _t,
1283
1283
  {
1284
- indicators: o,
1284
+ indicators: s,
1285
1285
  inputsColor: t,
1286
1286
  textColor: r,
1287
1287
  title: "tematical_filters",
@@ -1289,7 +1289,7 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_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(Le, { onClick: () => S(), children: f("save_ambit") }) })
1292
+ !v && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Te, { onClick: () => S(), children: f("save_ambit") }) })
1293
1293
  ] });
1294
1294
  };
1295
1295
  sn.propTypes = {
@@ -1307,13 +1307,13 @@ sn.propTypes = {
1307
1307
  filtersTypes: e.arrayOf(e.string).isRequired,
1308
1308
  nameRequiredText: e.string
1309
1309
  };
1310
- const on = "_barChartContainer_d2f1z_2", rn = {
1311
- barChartContainer: on
1312
- }, bt = ({
1310
+ const rn = "_barChartContainer_d2f1z_2", an = {
1311
+ barChartContainer: rn
1312
+ }, yt = ({
1313
1313
  data: n,
1314
1314
  width: d = 700,
1315
- barHeight: s = 25,
1316
- gap: o = 23,
1315
+ barHeight: o = 25,
1316
+ gap: s = 23,
1317
1317
  fontColor: t = "#605B56",
1318
1318
  verticalPaddign: r = 10,
1319
1319
  horizontalPaddign: a = 20,
@@ -1323,10 +1323,10 @@ const on = "_barChartContainer_d2f1z_2", rn = {
1323
1323
  }) => {
1324
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 = 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);
1326
+ const f = (n == null ? void 0 : n.length) * (o + s) + r * 2, b = Ye.max(n, (_) => _.value) || 1, m = Ye.scaleLinear().domain([0, u || b]).range([0, d - l]), g = Array.from({ length: c + 1 }, (_, N) => u ? u / c * N : b / c * N);
1327
1327
  return {
1328
1328
  xScale: m,
1329
- ticks: b,
1329
+ ticks: g,
1330
1330
  height: f,
1331
1331
  width: d,
1332
1332
  verticalPaddign: r,
@@ -1338,48 +1338,48 @@ const on = "_barChartContainer_d2f1z_2", rn = {
1338
1338
  n,
1339
1339
  d,
1340
1340
  c,
1341
- s,
1342
1341
  o,
1342
+ s,
1343
1343
  a,
1344
1344
  r,
1345
1345
  u
1346
1346
  ]);
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
- /* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: y.map((f, g) => {
1347
+ return /* @__PURE__ */ i("div", { className: an.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + a * 2, height: v, children: /* @__PURE__ */ p("g", { transform: `translate(0,${s})`, children: [
1348
+ /* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: y.map((f, b) => {
1349
1349
  const m = C(f);
1350
1350
  return /* @__PURE__ */ p("g", { transform: `translate(${m}, 0)`, children: [
1351
1351
  /* @__PURE__ */ i(
1352
1352
  "line",
1353
1353
  {
1354
1354
  y1: 0,
1355
- y2: v - o * 2,
1355
+ y2: v - s * 2,
1356
1356
  stroke: "#ccc"
1357
1357
  }
1358
1358
  ),
1359
1359
  /* @__PURE__ */ i(
1360
1360
  "text",
1361
1361
  {
1362
- y: v - o,
1362
+ y: v - s,
1363
1363
  textAnchor: "middle",
1364
1364
  fontSize: 10,
1365
1365
  fill: t,
1366
1366
  children: parseInt(f)
1367
1367
  }
1368
1368
  )
1369
- ] }, g);
1369
+ ] }, b);
1370
1370
  }) }),
1371
- n && n.length > 0 && (n == null ? void 0 : n.map((f, g) => {
1372
- const m = C(f.value), b = g * (s + o);
1371
+ n && n.length > 0 && (n == null ? void 0 : n.map((f, b) => {
1372
+ const m = C(f.value), g = b * (o + s);
1373
1373
  return /* @__PURE__ */ p(
1374
1374
  "g",
1375
1375
  {
1376
- transform: `translate(${l + a}, ${b})`,
1376
+ transform: `translate(${l + a}, ${g})`,
1377
1377
  children: [
1378
1378
  /* @__PURE__ */ i(
1379
1379
  "text",
1380
1380
  {
1381
1381
  x: -24,
1382
- y: s / 2 + 5,
1382
+ y: o / 2 + 5,
1383
1383
  textAnchor: "end",
1384
1384
  fill: t,
1385
1385
  children: h(f.title)
@@ -1389,19 +1389,19 @@ const on = "_barChartContainer_d2f1z_2", rn = {
1389
1389
  "rect",
1390
1390
  {
1391
1391
  width: m,
1392
- height: s,
1392
+ height: o,
1393
1393
  fill: f.color,
1394
1394
  rx: 0
1395
1395
  }
1396
1396
  )
1397
1397
  ]
1398
1398
  },
1399
- g
1399
+ b
1400
1400
  );
1401
1401
  }))
1402
1402
  ] }) }) });
1403
1403
  };
1404
- bt.propTypes = {
1404
+ yt.propTypes = {
1405
1405
  data: e.arrayOf(
1406
1406
  e.shape({
1407
1407
  title: e.string,
@@ -1417,14 +1417,14 @@ bt.propTypes = {
1417
1417
  numberOfDivisions: e.number,
1418
1418
  fontColor: e.string
1419
1419
  };
1420
- const an = "_graphicContainer_c9zrg_2", ln = "_titleContainer_c9zrg_14", Xe = {
1421
- graphicContainer: an,
1422
- titleContainer: ln
1423
- }, cn = ({
1420
+ const ln = "_graphicContainer_c9zrg_2", cn = "_titleContainer_c9zrg_14", Je = {
1421
+ graphicContainer: ln,
1422
+ titleContainer: cn
1423
+ }, dn = ({
1424
1424
  data: n,
1425
1425
  graphWidth: d = 700,
1426
- containerStyle: s,
1427
- borderColor: o = "#605B56",
1426
+ containerStyle: o,
1427
+ borderColor: s = "#605B56",
1428
1428
  title: t = "Graphic Title",
1429
1429
  fontColor: r = "#605B56",
1430
1430
  maxValue: a = null,
@@ -1435,15 +1435,15 @@ const an = "_graphicContainer_c9zrg_2", ln = "_titleContainer_c9zrg_14", Xe = {
1435
1435
  return /* @__PURE__ */ p(
1436
1436
  "div",
1437
1437
  {
1438
- className: Xe.graphicContainer,
1438
+ className: Je.graphicContainer,
1439
1439
  style: {
1440
- ...s || {},
1441
- border: `1.5px solid ${o}`
1440
+ ...o || {},
1441
+ border: `1.5px solid ${s}`
1442
1442
  },
1443
1443
  children: [
1444
- /* @__PURE__ */ i("div", { className: Xe.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
1444
+ /* @__PURE__ */ i("div", { className: Je.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
1445
1445
  /* @__PURE__ */ i(
1446
- bt,
1446
+ yt,
1447
1447
  {
1448
1448
  data: n,
1449
1449
  width: d,
@@ -1457,7 +1457,7 @@ const an = "_graphicContainer_c9zrg_2", ln = "_titleContainer_c9zrg_14", Xe = {
1457
1457
  }
1458
1458
  );
1459
1459
  };
1460
- cn.propTypes = {
1460
+ dn.propTypes = {
1461
1461
  data: e.arrayOf(
1462
1462
  e.shape({
1463
1463
  color: e.string.isRequired,
@@ -1474,26 +1474,26 @@ cn.propTypes = {
1474
1474
  numberOfDivisions: e.number,
1475
1475
  leftPadding: e.number
1476
1476
  };
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 = ({
1477
+ const un = "_indicatorsCategory_1cu33_2", pn = "_title_1cu33_5", mn = "_list_1cu33_11", Ae = {
1478
+ indicatorsCategory: un,
1479
+ title: pn,
1480
+ list: mn
1481
+ }, hn = "_indicatorContainer_1go6h_2", gn = "_indicatorNameContainer_1go6h_11", Cn = "_dot_1go6h_17", fn = "_indicatorName_1go6h_11", bn = "_switchExternalContainer_1go6h_28", _n = "_switchType_1go6h_37", yn = "_switchTypeOptions_1go6h_41", vn = "_optionContainer_1go6h_52", wn = "_customRadious_1go6h_62", xn = "_optionText_1go6h_69", I = {
1482
+ indicatorContainer: hn,
1483
+ indicatorNameContainer: gn,
1484
+ dot: Cn,
1485
+ indicatorName: fn,
1486
+ switchExternalContainer: bn,
1487
+ switchType: _n,
1488
+ switchTypeOptions: yn,
1489
+ optionContainer: vn,
1490
+ customRadious: wn,
1491
+ optionText: xn
1492
+ }, Ge = ({
1493
1493
  indicator: n,
1494
1494
  values: d = [],
1495
- activeColor: s,
1496
- defaultColor: o = "#92898A",
1495
+ activeColor: o,
1496
+ defaultColor: s = "#92898A",
1497
1497
  activeIndicator: t,
1498
1498
  activeIndicatorType: r,
1499
1499
  onClickIndicator: a,
@@ -1501,14 +1501,14 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1501
1501
  onChangeType: c
1502
1502
  }) => {
1503
1503
  const { t: u } = $(), { name: h, type: C, disabled: y } = n, [v, f] = D(!1);
1504
- F(() => {
1504
+ V(() => {
1505
1505
  t && f(
1506
1506
  l ? t.some(
1507
- (b) => b.name == String(h)
1507
+ (g) => g.name == String(h)
1508
1508
  ) : t.name == h
1509
1509
  );
1510
1510
  }, [t]);
1511
- const g = () => /* @__PURE__ */ i("div", { className: I.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: I.switchType, children: /* @__PURE__ */ p("div", { className: I.switchTypeOptions, children: [
1511
+ const b = () => /* @__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
  {
@@ -1520,8 +1520,8 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1520
1520
  {
1521
1521
  className: `${I.customRadious}`,
1522
1522
  style: {
1523
- backgroundColor: r === "cat" ? s : "transparent",
1524
- borderColor: r === "cat" ? s : o
1523
+ backgroundColor: r === "cat" ? o : "transparent",
1524
+ borderColor: r === "cat" ? o : s
1525
1525
  }
1526
1526
  }
1527
1527
  ),
@@ -1530,7 +1530,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1530
1530
  {
1531
1531
  className: I.optionText,
1532
1532
  style: {
1533
- color: r === "cat" ? s : o
1533
+ color: r === "cat" ? o : s
1534
1534
  },
1535
1535
  children: u("indicators.cat")
1536
1536
  }
@@ -1549,8 +1549,8 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1549
1549
  {
1550
1550
  className: `${I.customRadious}`,
1551
1551
  style: {
1552
- backgroundColor: r === "abs" ? s : "transparent",
1553
- borderColor: r === "abs" ? s : o
1552
+ backgroundColor: r === "abs" ? o : "transparent",
1553
+ borderColor: r === "abs" ? o : s
1554
1554
  }
1555
1555
  }
1556
1556
  ),
@@ -1559,7 +1559,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1559
1559
  {
1560
1560
  className: I.optionText,
1561
1561
  style: {
1562
- color: r === "abs" ? s : o
1562
+ color: r === "abs" ? o : s
1563
1563
  },
1564
1564
  children: u("indicators.abs")
1565
1565
  }
@@ -1567,7 +1567,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1567
1567
  ]
1568
1568
  }
1569
1569
  )
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(
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((g, _) => /* @__PURE__ */ p(
1571
1571
  "div",
1572
1572
  {
1573
1573
  className: I.optionContainer,
@@ -1578,7 +1578,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1578
1578
  className: I.customRadious
1579
1579
  }
1580
1580
  ),
1581
- /* @__PURE__ */ i("h4", { children: u(b.unit) })
1581
+ /* @__PURE__ */ i("h4", { children: u(g.unit) })
1582
1582
  ]
1583
1583
  },
1584
1584
  _
@@ -1594,7 +1594,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1594
1594
  "div",
1595
1595
  {
1596
1596
  style: {
1597
- border: v ? `1px solid ${s}` : `1px solid ${o}`,
1597
+ border: v ? `1px solid ${o}` : `1px solid ${s}`,
1598
1598
  opacity: y ? 0.5 : 1
1599
1599
  },
1600
1600
  className: I.dot
@@ -1605,11 +1605,11 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1605
1605
  {
1606
1606
  className: I.indicatorName,
1607
1607
  style: {
1608
- color: v ? s : o,
1608
+ color: v ? o : s,
1609
1609
  opacity: y ? 0.5 : 1
1610
1610
  },
1611
1611
  children: /* @__PURE__ */ i(
1612
- ze,
1612
+ Ke,
1613
1613
  {
1614
1614
  i18nKey: h,
1615
1615
  components: { sup: /* @__PURE__ */ i("sup", {}) },
@@ -1621,11 +1621,11 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
1621
1621
  ]
1622
1622
  }
1623
1623
  ),
1624
- (t == null ? void 0 : t.name) === h && C === "both" && /* @__PURE__ */ i("div", { children: g() }),
1624
+ (t == null ? void 0 : t.name) === h && C === "both" && /* @__PURE__ */ i("div", { children: b() }),
1625
1625
  (t == null ? void 0 : t.name) === h && C === "twoUnits" && /* @__PURE__ */ i("div", { children: m() })
1626
1626
  ] });
1627
1627
  };
1628
- Ue.propTypes = {
1628
+ Ge.propTypes = {
1629
1629
  indicator: e.shape({
1630
1630
  name: e.string,
1631
1631
  type: e.string
@@ -1637,14 +1637,14 @@ Ue.propTypes = {
1637
1637
  multiple: e.bool,
1638
1638
  onClickIndicator: e.func
1639
1639
  };
1640
- const xn = "_indicatorsSubCategory_1dzsi_2", Nn = "_list_1dzsi_8", Je = {
1641
- indicatorsSubCategory: xn,
1642
- list: Nn
1643
- }, _t = ({
1640
+ const Nn = "_indicatorsSubCategory_1dzsi_2", kn = "_list_1dzsi_8", et = {
1641
+ indicatorsSubCategory: Nn,
1642
+ list: kn
1643
+ }, vt = ({
1644
1644
  subcName: n,
1645
1645
  indicators: d,
1646
- defaultColor: s,
1647
- activeColor: o,
1646
+ defaultColor: o,
1647
+ activeColor: s,
1648
1648
  activeSubCategory: t,
1649
1649
  onClickSubCategory: r,
1650
1650
  id: a,
@@ -1655,32 +1655,32 @@ const xn = "_indicatorsSubCategory_1dzsi_2", Nn = "_list_1dzsi_8", Je = {
1655
1655
  onChangeType: C
1656
1656
  }) => {
1657
1657
  const { t: y } = $(), [v, f] = D(!1);
1658
- return F(() => {
1658
+ return V(() => {
1659
1659
  f(t == a);
1660
1660
  }, [t, a]), /* @__PURE__ */ p(
1661
- Ke.div,
1661
+ He.div,
1662
1662
  {
1663
- className: Je.indicatorsSubCategory,
1663
+ className: et.indicatorsSubCategory,
1664
1664
  initial: { height: "43px" },
1665
1665
  animate: { height: v ? "auto" : "43px" },
1666
1666
  transition: { duration: 0.4 },
1667
1667
  children: [
1668
- /* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: v ? o : s }, children: [
1669
- /* @__PURE__ */ i("span", { style: { color: v ? o : s }, children: v ? "-" : "+" }),
1668
+ /* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: v ? s : o }, children: [
1669
+ /* @__PURE__ */ i("span", { style: { color: v ? s : o }, children: v ? "-" : "+" }),
1670
1670
  /* @__PURE__ */ i(
1671
1671
  "span",
1672
1672
  {
1673
- style: { marginLeft: 12, color: v ? o : s },
1673
+ style: { marginLeft: 12, color: v ? s : o },
1674
1674
  children: y(n)
1675
1675
  }
1676
1676
  )
1677
1677
  ] }) }),
1678
- d && /* @__PURE__ */ i("div", { className: Je.list, children: d == null ? void 0 : d.map((g, m) => /* @__PURE__ */ i(
1679
- Ue,
1678
+ d && /* @__PURE__ */ i("div", { className: et.list, children: d == null ? void 0 : d.map((b, m) => /* @__PURE__ */ i(
1679
+ Ge,
1680
1680
  {
1681
- indicator: g,
1682
- defaultColor: s,
1683
- activeColor: o,
1681
+ indicator: b,
1682
+ defaultColor: o,
1683
+ activeColor: s,
1684
1684
  activeIndicator: l,
1685
1685
  onClickIndicator: c,
1686
1686
  multiple: u,
@@ -1693,7 +1693,7 @@ const xn = "_indicatorsSubCategory_1dzsi_2", Nn = "_list_1dzsi_8", Je = {
1693
1693
  }
1694
1694
  );
1695
1695
  };
1696
- _t.propTypes = {
1696
+ vt.propTypes = {
1697
1697
  subcName: e.string,
1698
1698
  indicators: e.array,
1699
1699
  activeColor: e.string,
@@ -1705,11 +1705,11 @@ _t.propTypes = {
1705
1705
  onClickSubCategory: e.func,
1706
1706
  onClickIndicator: e.func
1707
1707
  };
1708
- const yt = ({
1708
+ const wt = ({
1709
1709
  cat: n,
1710
1710
  id: d,
1711
- activeColor: s,
1712
- defaultColor: o,
1711
+ activeColor: o,
1712
+ defaultColor: s,
1713
1713
  onClickCategory: t,
1714
1714
  activeCategory: r,
1715
1715
  activeSubCategory: a,
@@ -1721,58 +1721,58 @@ const yt = ({
1721
1721
  onChangeType: y
1722
1722
  }) => {
1723
1723
  var m;
1724
- const { t: v } = $(), [f, g] = D(!1);
1725
- return F(() => {
1726
- g(r === d);
1724
+ const { t: v } = $(), [f, b] = D(!1);
1725
+ return V(() => {
1726
+ b(r === d);
1727
1727
  }, [r, d]), /* @__PURE__ */ p(
1728
- Ke.div,
1728
+ He.div,
1729
1729
  {
1730
- className: Ve.indicatorsCategory,
1730
+ className: Ae.indicatorsCategory,
1731
1731
  initial: { height: "53px" },
1732
1732
  animate: { height: f ? "auto" : "53px" },
1733
1733
  transition: { duration: 0.4 },
1734
1734
  style: {
1735
1735
  backgroundColor: "white",
1736
- borderBottom: f ? `1px solid ${s}` : "0px",
1736
+ borderBottom: f ? `1px solid ${o}` : "0px",
1737
1737
  marginBottom: f ? "20px" : "0px"
1738
1738
  },
1739
1739
  children: [
1740
- /* @__PURE__ */ p("h2", { className: `${Ve.title}`, onClick: () => t(d), children: [
1741
- /* @__PURE__ */ i("span", { style: { color: f ? s : o }, children: f ? "-" : "+" }),
1740
+ /* @__PURE__ */ p("h2", { className: `${Ae.title}`, onClick: () => t(d), children: [
1741
+ /* @__PURE__ */ i("span", { style: { color: f ? o : s }, children: f ? "-" : "+" }),
1742
1742
  /* @__PURE__ */ i(
1743
1743
  "span",
1744
1744
  {
1745
- style: { marginLeft: 12, color: f ? s : o },
1745
+ style: { marginLeft: 12, color: f ? o : s },
1746
1746
  children: v(n.name)
1747
1747
  }
1748
1748
  )
1749
1749
  ] }),
1750
1750
  n.subcategories ? n.subcategories.map(
1751
- ({ name: b, subcategory: _, indicators: x }, w) => /* @__PURE__ */ i(
1752
- _t,
1751
+ ({ name: g, subcategory: _, indicators: N }, w) => /* @__PURE__ */ i(
1752
+ vt,
1753
1753
  {
1754
1754
  id: _,
1755
1755
  activeSubCategory: a,
1756
- subcName: b,
1756
+ subcName: g,
1757
1757
  onClickSubCategory: l,
1758
1758
  activeIndicator: c,
1759
1759
  onClickIndicator: u,
1760
1760
  multiple: h,
1761
- activeColor: s,
1762
- defaultColor: o,
1763
- indicators: x,
1761
+ activeColor: o,
1762
+ defaultColor: s,
1763
+ indicators: N,
1764
1764
  activeIndicatorType: C,
1765
1765
  onChangeType: y
1766
1766
  },
1767
1767
  `subcKey ${w}`
1768
1768
  )
1769
- ) : /* @__PURE__ */ i("div", { className: Ve.list, children: (m = n.indicators) == null ? void 0 : m.map((b, _) => /* @__PURE__ */ i(
1770
- Ue,
1769
+ ) : /* @__PURE__ */ i("div", { className: Ae.list, children: (m = n.indicators) == null ? void 0 : m.map((g, _) => /* @__PURE__ */ i(
1770
+ Ge,
1771
1771
  {
1772
- indicator: b,
1773
- values: b.type == "twoUnits" && b.values,
1774
- activeColor: s,
1775
- defaultColor: o,
1772
+ indicator: g,
1773
+ values: g.type == "twoUnits" && g.values,
1774
+ activeColor: o,
1775
+ defaultColor: s,
1776
1776
  activeIndicator: c,
1777
1777
  onClickIndicator: u,
1778
1778
  multiple: h,
@@ -1785,7 +1785,7 @@ const yt = ({
1785
1785
  }
1786
1786
  );
1787
1787
  };
1788
- yt.propTypes = {
1788
+ wt.propTypes = {
1789
1789
  cat: e.object,
1790
1790
  id: e.string,
1791
1791
  onChange: e.func,
@@ -1799,15 +1799,15 @@ yt.propTypes = {
1799
1799
  activeColor: e.string,
1800
1800
  defaultColor: e.string
1801
1801
  };
1802
- const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
1803
- indicatorsList: kn,
1804
- title: Sn
1805
- }, $n = ({
1802
+ const Sn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", tt = {
1803
+ indicatorsList: Sn,
1804
+ title: $n
1805
+ }, Bn = ({
1806
1806
  indicators: n,
1807
1807
  activeColor: d,
1808
- defaultColor: s = "#92898A",
1808
+ defaultColor: o = "#92898A",
1809
1809
  // Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
1810
- onChange: o,
1810
+ onChange: s,
1811
1811
  // Selección multiple
1812
1812
  multiple: t = !1,
1813
1813
  // Si multiple es true, debe ser un array de strings, sino un string
@@ -1816,11 +1816,11 @@ const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
1816
1816
  changeIndType: a,
1817
1817
  activeIndicatorType: l
1818
1818
  }) => {
1819
- const { t: c } = $(), [u, h] = D(), [C, y] = D(), [v, f] = D(), g = (w) => {
1819
+ const { t: c } = $(), [u, h] = D(), [C, y] = D(), [v, f] = D(), b = (w) => {
1820
1820
  h(u == w ? null : w);
1821
1821
  }, m = (w) => {
1822
1822
  y(C == w ? null : w);
1823
- }, b = ({ indicator: w }) => {
1823
+ }, g = ({ indicator: w }) => {
1824
1824
  console.log("onClickIndicator: ", w), _(w);
1825
1825
  }, _ = (w) => {
1826
1826
  if (!t)
@@ -1828,28 +1828,28 @@ const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
1828
1828
  (v == null ? void 0 : v.name) == w.name ? null : w
1829
1829
  );
1830
1830
  else {
1831
- let N = v && v.length > 0 ? [...v] : [];
1831
+ let x = v && v.length > 0 ? [...v] : [];
1832
1832
  f(
1833
- N != null && N.some(
1833
+ x != null && x.some(
1834
1834
  (S) => S.name == w.name
1835
- ) ? N.filter(
1835
+ ) ? x.filter(
1836
1836
  (S) => S.name != String(w.name)
1837
- ) : [...N, w]
1837
+ ) : [...x, w]
1838
1838
  ), w.type == "both" && a("cat");
1839
1839
  }
1840
1840
  };
1841
- F(() => {
1842
- console.log("activeindicator changed to: ", v), o && typeof o == "function" && v && o({ activeIndicator: v });
1843
- }, [v]), Dt(() => {
1841
+ V(() => {
1842
+ console.log("activeindicator changed to: ", v), s && typeof s == "function" && v && s({ activeIndicator: v });
1843
+ }, [v]), Vt(() => {
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]), x(r[0].name);
1847
+ f([...w, ...r]), N(r[0].name);
1848
1848
  } else
1849
- _(r), x(r.name);
1849
+ _(r), N(r.name);
1850
1850
  }, []);
1851
- const x = (w) => {
1852
- const N = n.find((S) => {
1851
+ const N = (w) => {
1852
+ const x = n.find((S) => {
1853
1853
  if (S.subcategories) {
1854
1854
  let B = S.subcategories.find(
1855
1855
  (k) => k.indicators.find((L) => L.name == w)
@@ -1859,33 +1859,33 @@ const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
1859
1859
  } else
1860
1860
  return S.indicators.some((B) => B.name == w);
1861
1861
  });
1862
- N && h(N.category);
1862
+ x && h(x.category);
1863
1863
  };
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,
1864
+ return /* @__PURE__ */ p("div", { className: tt.indicatorsList, children: [
1865
+ /* @__PURE__ */ i("h2", { className: tt.title, style: { color: o }, children: c("indicators.indicators") }),
1866
+ n.map((w, x) => /* @__PURE__ */ i(
1867
+ wt,
1868
1868
  {
1869
1869
  id: w.category,
1870
1870
  cat: w,
1871
- onClickCategory: g,
1871
+ onClickCategory: b,
1872
1872
  activeCategory: u,
1873
1873
  onClickSubCategory: m,
1874
1874
  activeSubCategory: C,
1875
- onClickIndicator: b,
1875
+ onClickIndicator: g,
1876
1876
  activeIndicator: v,
1877
1877
  activeColor: d,
1878
- defaultColor: s,
1878
+ defaultColor: o,
1879
1879
  multiple: t,
1880
- onChange: o,
1880
+ onChange: s,
1881
1881
  onChangeType: a,
1882
1882
  activeIndicatorType: l
1883
1883
  },
1884
- `categoryKey${N}`
1884
+ `categoryKey${x}`
1885
1885
  ))
1886
1886
  ] });
1887
1887
  };
1888
- $n.propTypes = {
1888
+ Bn.propTypes = {
1889
1889
  indicators: e.arrayOf(e.object),
1890
1890
  activeColor: e.string,
1891
1891
  defaultColor: e.string,
@@ -1896,14 +1896,14 @@ $n.propTypes = {
1896
1896
  defaultValue: e.oneOfType([e.object, e.array]),
1897
1897
  activeIndicatorType: e.string
1898
1898
  };
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) => {
1899
+ const Ln = "_langSelector_o9enq_2", Tn = "_currentLang_o9enq_14", Mn = "_arrow_o9enq_26", Dn = "_prevImg_o9enq_29", Fn = "_langMenu_o9enq_33", le = {
1900
+ langSelector: Ln,
1901
+ currentLang: Tn,
1902
+ arrow: Mn,
1903
+ prevImg: Dn,
1904
+ langMenu: Fn
1905
+ }, Vn = ({ langs: n, arrow: d, imgPrev: o }) => {
1906
+ const [s, 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: [
@@ -1912,16 +1912,16 @@ const Bn = "_langSelector_o9enq_2", Ln = "_currentLang_o9enq_14", Tn = "_arrow_o
1912
1912
  {
1913
1913
  className: le.currentLang,
1914
1914
  onClick: () => {
1915
- t(!o);
1915
+ t(!s);
1916
1916
  },
1917
1917
  children: [
1918
- s && /* @__PURE__ */ i("img", { className: le.prevImg, src: s }),
1918
+ o && /* @__PURE__ */ i("img", { className: le.prevImg, src: o }),
1919
1919
  (a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
1920
1920
  /* @__PURE__ */ i("img", { src: d, className: le.arrow })
1921
1921
  ]
1922
1922
  }
1923
1923
  ),
1924
- o && /* @__PURE__ */ i("div", { className: le.langMenu, children: n.map((c) => /* @__PURE__ */ i(
1924
+ s && /* @__PURE__ */ i("div", { className: le.langMenu, children: n.map((c) => /* @__PURE__ */ i(
1925
1925
  "button",
1926
1926
  {
1927
1927
  className: (a == null ? void 0 : a.code) == c.code ? le.active : "",
@@ -1932,7 +1932,7 @@ const Bn = "_langSelector_o9enq_2", Ln = "_currentLang_o9enq_14", Tn = "_arrow_o
1932
1932
  )) })
1933
1933
  ] });
1934
1934
  };
1935
- Fn.propTypes = {
1935
+ Vn.propTypes = {
1936
1936
  langs: e.arrayOf(
1937
1937
  e.shape({
1938
1938
  code: e.string,
@@ -1946,32 +1946,32 @@ Fn.propTypes = {
1946
1946
  arrow: e.object,
1947
1947
  imgPrev: e.object
1948
1948
  };
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,
1949
+ const An = "_legendContainer_qs4x9_3", In = "_closeButton_qs4x9_31", On = "_titleContainer_qs4x9_59", Rn = "_infoContainer_qs4x9_65", qn = "_titleLegendList_qs4x9_76", En = "_legendListContainer_qs4x9_82", Pn = "_gridContainer_qs4x9_82", jn = "_elementLegendContainer_qs4x9_88", Zn = "_colorDot_qs4x9_94", zn = "_absoluteValueContainer_qs4x9_100", Kn = "_absoluteValueColor_qs4x9_103", Hn = "_absoluteValueText_qs4x9_108", Un = "_noDataContainer_qs4x9_120", Gn = "_noData_qs4x9_120", Wn = "_moreInfoContainer_qs4x9_141", A = {
1950
+ legendContainer: An,
1951
+ closeButton: In,
1952
+ titleContainer: On,
1953
1953
  infoContainer: Rn,
1954
- titleLegendList: On,
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 = ({
1954
+ titleLegendList: qn,
1955
+ legendListContainer: En,
1956
+ gridContainer: Pn,
1957
+ elementLegendContainer: jn,
1958
+ colorDot: Zn,
1959
+ absoluteValueContainer: zn,
1960
+ absoluteValueColor: Kn,
1961
+ absoluteValueText: Hn,
1962
+ noDataContainer: Un,
1963
+ noData: Gn,
1964
+ moreInfoContainer: Wn
1965
+ }, Yn = ({
1966
1966
  //JSON with the styles of the container (optional)
1967
1967
  containerStyles: n,
1968
1968
  //Title on top of the legend
1969
1969
  title: d,
1970
1970
  //Array to display the info behind the title should have: [{title, value}, ...]
1971
- infoList: s,
1971
+ infoList: o,
1972
1972
  //Array to display the items of the legend: [{title, color}, ...]
1973
1973
  //color should be a string with hexadecimal value
1974
- legendList: o,
1974
+ legendList: s,
1975
1975
  //If not passed it will read t("mainUser")
1976
1976
  legendListTitle: t,
1977
1977
  //Should be an object with {maxColor, minColor, maxValue, minValue}
@@ -1993,15 +1993,15 @@ const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titl
1993
1993
  className: `${A.legendContainer}`,
1994
1994
  children: [
1995
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: [
1996
+ d && /* @__PURE__ */ i("div", { className: A.titleContainer, style: { marginBottom: (!o || o.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
1997
+ o && o.length > 0 && /* @__PURE__ */ i("div", { className: A.infoContainer, children: /* @__PURE__ */ i("ul", { children: o.map(({ title: h, value: C }) => /* @__PURE__ */ p("li", { children: [
1998
1998
  /* @__PURE__ */ i("h3", { className: A.title, children: `${h}:` }),
1999
1999
  /* @__PURE__ */ p("span", { className: A.value, children: [
2000
2000
  "  ",
2001
2001
  C
2002
2002
  ] })
2003
2003
  ] }, d)) }) }),
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 }) }),
2004
+ /* @__PURE__ */ i("h3", { className: A.titleLegendList, style: { marginTop: o && o.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(Ke, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
2005
2005
  /* @__PURE__ */ p("div", { className: A.legendListContainer, children: [
2006
2006
  r ? /* @__PURE__ */ p("div", { className: A.absoluteValueContainer, children: [
2007
2007
  /* @__PURE__ */ i(
@@ -2030,7 +2030,7 @@ const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titl
2030
2030
  u(r.unit)
2031
2031
  ] })
2032
2032
  ] })
2033
- ] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: A.gridContainer, children: o.map(
2033
+ ] }) : s && s.length > 0 && /* @__PURE__ */ i("div", { className: A.gridContainer, children: s.map(
2034
2034
  ({ title: h, color: C }) => /* @__PURE__ */ p("div", { className: A.elementLegendContainer, children: [
2035
2035
  /* @__PURE__ */ i(
2036
2036
  "div",
@@ -2063,7 +2063,7 @@ const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titl
2063
2063
  }
2064
2064
  );
2065
2065
  };
2066
- Wn.propTypes = {
2066
+ Yn.propTypes = {
2067
2067
  title: e.string,
2068
2068
  containerStyles: e.object,
2069
2069
  infoList: e.arrayOf(
@@ -2090,27 +2090,27 @@ Wn.propTypes = {
2090
2090
  onClickClose: e.func,
2091
2091
  noDataColor: e.string
2092
2092
  };
2093
- const Yn = "_logo_1ewa6_2", tt = {
2094
- logo: Yn
2095
- }, Qn = ({ src: n, alt: d, href: s }) => {
2096
- const { t: o } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
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 });
2093
+ const Qn = "_logo_1ewa6_2", nt = {
2094
+ logo: Qn
2095
+ }, Xn = ({ src: n, alt: d, href: o }) => {
2096
+ const { t: s } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: s(d) });
2097
+ return o ? /* @__PURE__ */ i("div", { className: nt.logo, children: /* @__PURE__ */ i("a", { href: o, children: t }) }) : /* @__PURE__ */ i("div", { className: nt.logo, children: t });
2098
2098
  };
2099
- Qn.propTypes = {
2099
+ Xn.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 Xn = "_mapContainer_84pkf_2", Jn = {
2106
- mapContainer: Xn
2105
+ const Jn = "_mapContainer_84pkf_2", e0 = {
2106
+ mapContainer: Jn
2107
2107
  };
2108
- Vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2109
- const e0 = ({
2108
+ At.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2109
+ const t0 = ({
2110
2110
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2111
2111
  maxZoom: d = 17,
2112
- minZoom: s = 8,
2113
- mapStyle: o,
2112
+ minZoom: o = 8,
2113
+ mapStyle: s,
2114
2114
  firstSymbolLayer: t,
2115
2115
  cssProps: r = "",
2116
2116
  onClick: a = "",
@@ -2119,35 +2119,35 @@ const e0 = ({
2119
2119
  sources: u = [],
2120
2120
  layers: h = []
2121
2121
  }) => {
2122
- const C = se(), [y, v] = D(null), f = At((g) => g.mapState.showTexts);
2123
- return F(() => {
2122
+ const C = oe(), [y, v] = D(null), f = It((b) => b.mapState.showTexts);
2123
+ return V(() => {
2124
2124
  if (C.current) {
2125
- const g = C.current.getMap();
2126
- g.getStyle().layers.map((b) => {
2127
- b.type == "symbol" && b.id != "professionals" && (f ? g.setLayoutProperty(b.id, "visibility", "visible") : g.setLayoutProperty(b.id, "visibility", "none"));
2125
+ const b = C.current.getMap();
2126
+ b.getStyle().layers.map((g) => {
2127
+ g.type == "symbol" && g.id != "professionals" && (f ? b.setLayoutProperty(g.id, "visibility", "visible") : b.setLayoutProperty(g.id, "visibility", "none"));
2128
2128
  });
2129
2129
  }
2130
- }, [f]), /* @__PURE__ */ i("div", { className: `${Jn.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2131
- It,
2130
+ }, [f]), /* @__PURE__ */ i("div", { className: `${e0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2131
+ Ot,
2132
2132
  {
2133
2133
  initialViewState: n,
2134
2134
  ref: C,
2135
2135
  hash: !1,
2136
2136
  maxZoom: d,
2137
- minZoom: s,
2138
- mapStyle: o,
2137
+ minZoom: o,
2138
+ mapStyle: s,
2139
2139
  onClick: a,
2140
2140
  interactiveLayerIds: l,
2141
2141
  children: [
2142
- u.length && u.map((g, m) => /* @__PURE__ */ i(
2142
+ u.length && u.map((b, m) => /* @__PURE__ */ i(
2143
2143
  Rt,
2144
2144
  {
2145
- ...g,
2146
- children: h.length && h.map((b, _) => {
2147
- if (b.sourceId == g.id) return /* @__PURE__ */ i(
2148
- Ot,
2145
+ ...b,
2146
+ children: h.length && h.map((g, _) => {
2147
+ if (g.sourceId == b.id) return /* @__PURE__ */ i(
2148
+ qt,
2149
2149
  {
2150
- ...b.layer,
2150
+ ...g.layer,
2151
2151
  beforeId: t
2152
2152
  },
2153
2153
  _
@@ -2156,9 +2156,9 @@ const e0 = ({
2156
2156
  },
2157
2157
  m
2158
2158
  )),
2159
- /* @__PURE__ */ i(qt, { position: "bottom-right", visualizePitch: !0 }),
2159
+ /* @__PURE__ */ i(Et, { position: "bottom-right", visualizePitch: !0 }),
2160
2160
  c && y && /* @__PURE__ */ i(
2161
- Et,
2161
+ Pt,
2162
2162
  {
2163
2163
  longitude: c.longitude,
2164
2164
  latitude: c.latitude,
@@ -2171,7 +2171,7 @@ const e0 = ({
2171
2171
  }
2172
2172
  ) });
2173
2173
  };
2174
- e0.propTypes = {
2174
+ t0.propTypes = {
2175
2175
  initialView: e.shape({
2176
2176
  latitude: e.number.isRequired,
2177
2177
  longitude: e.number.isRequired,
@@ -2216,29 +2216,29 @@ e0.propTypes = {
2216
2216
  })
2217
2217
  )
2218
2218
  };
2219
- const t0 = "_mapContainer_b0pyr_3", n0 = {
2220
- mapContainer: t0
2221
- }, i0 = "_FeaturePopUp_mt8l5_2", s0 = "_title_mt8l5_9", nt = {
2222
- FeaturePopUp: i0,
2219
+ const n0 = "_mapContainer_b0pyr_3", i0 = {
2220
+ mapContainer: n0
2221
+ }, o0 = "_FeaturePopUp_mt8l5_2", s0 = "_title_mt8l5_9", it = {
2222
+ FeaturePopUp: o0,
2223
2223
  title: s0
2224
- }, o0 = ({ props: n }) => {
2224
+ }, r0 = ({ props: n }) => {
2225
2225
  const { t: d } = $();
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 }),
2226
+ return /* @__PURE__ */ i("div", { className: it.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ p("p", { children: [
2227
+ /* @__PURE__ */ p("span", { className: it.title, children: [
2228
+ /* @__PURE__ */ i(Ke, { i18nKey: o.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
2229
2229
  ":"
2230
2230
  ] }),
2231
- isNaN(s.value) ? /* @__PURE__ */ i(Re, { children: d(s.value) }) : /* @__PURE__ */ p(Re, { children: [
2232
- s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2231
+ isNaN(o.value) ? /* @__PURE__ */ i(Re, { children: d(o.value) }) : /* @__PURE__ */ p(Re, { children: [
2232
+ o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2233
2233
  " ",
2234
- d(s.unit)
2234
+ d(o.unit)
2235
2235
  ] })
2236
2236
  ] })) });
2237
- }, r0 = ({
2237
+ }, a0 = ({
2238
2238
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2239
2239
  maxZoom: d = 17,
2240
- minZoom: s = 8,
2241
- mapStyle: o,
2240
+ minZoom: o = 8,
2241
+ mapStyle: s,
2242
2242
  firstSymbolLayer: t,
2243
2243
  cssProps: r = {},
2244
2244
  onClick: a = "",
@@ -2251,41 +2251,41 @@ const t0 = "_mapContainer_b0pyr_3", n0 = {
2251
2251
  showTexts: v
2252
2252
  }) => {
2253
2253
  console.log(h);
2254
- const f = se();
2255
- return F(() => {
2254
+ const f = oe();
2255
+ return V(() => {
2256
2256
  if (f.current) {
2257
- const g = f.current.getMap();
2258
- g.getStyle().layers.map((b) => {
2259
- b.type == "symbol" && b.id != "professionals" && (v ? g.setLayoutProperty(b.id, "visibility", "visible") : g.setLayoutProperty(b.id, "visibility", "none"));
2257
+ const b = f.current.getMap();
2258
+ b.getStyle().layers.map((g) => {
2259
+ g.type == "symbol" && g.id != "professionals" && (v ? b.setLayoutProperty(g.id, "visibility", "visible") : b.setLayoutProperty(g.id, "visibility", "none"));
2260
2260
  });
2261
2261
  }
2262
- }, [v]), F(() => {
2263
- let g = new Pt();
2264
- return Te.addProtocol("pmtiles", g.tile), () => {
2265
- Te.removeProtocol("pmtiles");
2262
+ }, [v]), V(() => {
2263
+ let b = new jt();
2264
+ return Me.addProtocol("pmtiles", b.tile), () => {
2265
+ Me.removeProtocol("pmtiles");
2266
2266
  };
2267
- }, []), /* @__PURE__ */ i("div", { className: `${n0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2268
- jt,
2267
+ }, []), /* @__PURE__ */ i("div", { className: `${i0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2268
+ Zt,
2269
2269
  {
2270
- mapLib: Te,
2270
+ mapLib: Me,
2271
2271
  initialViewState: n,
2272
2272
  ref: f,
2273
2273
  hash: !1,
2274
2274
  maxZoom: d,
2275
- minZoom: s,
2276
- mapStyle: o,
2275
+ minZoom: o,
2276
+ mapStyle: s,
2277
2277
  onClick: a,
2278
2278
  interactiveLayerIds: l,
2279
2279
  children: [
2280
- c.length && c.map((g, m) => /* @__PURE__ */ i(
2281
- Zt,
2280
+ c.length && c.map((b, m) => /* @__PURE__ */ i(
2281
+ zt,
2282
2282
  {
2283
- ...g,
2284
- children: u.length && u.map((b, _) => {
2285
- if (b.sourceId == g.id) return /* @__PURE__ */ i(
2286
- zt,
2283
+ ...b,
2284
+ children: u.length && u.map((g, _) => {
2285
+ if (g.sourceId == b.id) return /* @__PURE__ */ i(
2286
+ Kt,
2287
2287
  {
2288
- ...b.layer,
2288
+ ...g.layer,
2289
2289
  beforeId: t,
2290
2290
  filter: h && h
2291
2291
  },
@@ -2295,21 +2295,21 @@ const t0 = "_mapContainer_b0pyr_3", n0 = {
2295
2295
  },
2296
2296
  m
2297
2297
  )),
2298
- /* @__PURE__ */ i(Kt, { position: "bottom-right", visualizePitch: !0 }),
2298
+ /* @__PURE__ */ i(Ht, { position: "bottom-right", visualizePitch: !0 }),
2299
2299
  C && /* @__PURE__ */ i(
2300
- Ht,
2300
+ Ut,
2301
2301
  {
2302
2302
  longitude: C.lng,
2303
2303
  latitude: C.lat,
2304
2304
  onClose: y,
2305
- children: /* @__PURE__ */ i(o0, { props: C.props })
2305
+ children: /* @__PURE__ */ i(r0, { props: C.props })
2306
2306
  }
2307
2307
  )
2308
2308
  ]
2309
2309
  }
2310
2310
  ) });
2311
2311
  };
2312
- r0.propTypes = {
2312
+ a0.propTypes = {
2313
2313
  initialView: e.shape({
2314
2314
  latitude: e.number.isRequired,
2315
2315
  longitude: e.number.isRequired,
@@ -2352,18 +2352,18 @@ r0.propTypes = {
2352
2352
  popUpParams: e.object,
2353
2353
  onClosePopUp: e.func
2354
2354
  };
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 = ({
2355
+ const l0 = "_sectionBar_1egwc_2", c0 = "_leftContent_1egwc_14", d0 = "_textContainer_1egwc_20", u0 = "_title_1egwc_27", p0 = "_subtitle_1egwc_33", m0 = "_rightContent_1egwc_38", ee = {
2356
+ sectionBar: l0,
2357
+ leftContent: c0,
2358
+ textContainer: d0,
2359
+ title: u0,
2360
+ subtitle: p0,
2361
+ rightContent: m0
2362
+ }, h0 = ({
2363
2363
  leftIcon: n,
2364
2364
  title: d,
2365
- subtitle: s,
2366
- rightContent: o,
2365
+ subtitle: o,
2366
+ rightContent: s,
2367
2367
  mainColor: t,
2368
2368
  width: r
2369
2369
  }) => {
@@ -2373,13 +2373,13 @@ const a0 = "_sectionBar_1egwc_2", l0 = "_leftContent_1egwc_14", c0 = "_textConta
2373
2373
  n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: ee.icon }),
2374
2374
  /* @__PURE__ */ p("div", { className: ee.textContainer, children: [
2375
2375
  /* @__PURE__ */ i("div", { className: ee.title, children: a(d) }),
2376
- s && /* @__PURE__ */ i("div", { className: ee.subtitle, children: s })
2376
+ o && /* @__PURE__ */ i("div", { className: ee.subtitle, children: o })
2377
2377
  ] })
2378
2378
  ] }),
2379
- /* @__PURE__ */ i("div", { className: ee.rightContent, children: o })
2379
+ /* @__PURE__ */ i("div", { className: ee.rightContent, children: s })
2380
2380
  ] });
2381
2381
  };
2382
- m0.propTypes = {
2382
+ h0.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 @@ m0.propTypes = {
2393
2393
  width: e.oneOfType([e.string, e.number])
2394
2394
  // ancho de la barra
2395
2395
  };
2396
- const h0 = Ut({
2396
+ const g0 = Gt({
2397
2397
  name: "mapSlice",
2398
2398
  initialState: {
2399
2399
  showTexts: !0,
@@ -2419,46 +2419,46 @@ const h0 = Ut({
2419
2419
  n.activeIndicatorUnit = d.payload;
2420
2420
  }
2421
2421
  }
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 = ({
2422
+ }), { setShowTexts: rs, setYear: as, setActiveIndicatorKey: ls, setActiveIndicatorType: cs, setActiveIndicatorUnit: ds } = g0.actions, 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%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", f0 = "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", b0 = "_slider_1prh1_2", _0 = "_playButton_1prh1_14", y0 = "_sliderOpen_1prh1_25", v0 = "_sliderResults_1prh1_29", ge = {
2423
+ slider: b0,
2424
+ playButton: _0,
2425
+ sliderOpen: y0,
2426
+ sliderResults: v0
2427
+ }, w0 = ({
2428
2428
  onResults: n = !1,
2429
2429
  defaultYear: d = 2025,
2430
- firstYear: s = 2025,
2431
- lastYear: o = 2050,
2430
+ firstYear: o = 2025,
2431
+ lastYear: s = 2050,
2432
2432
  zIndex: t = 10,
2433
2433
  rightBarOpen: r = !1,
2434
2434
  onChange: a = (l) => {
2435
2435
  console.log("year changed to ", l);
2436
2436
  }
2437
2437
  }) => {
2438
- const [l, c] = D(d), u = (b, _) => {
2438
+ const [l, c] = D(d), u = (g, _) => {
2439
2439
  c(_), a(_);
2440
2440
  }, [h, C] = D(!1), y = () => {
2441
2441
  C(!0);
2442
2442
  }, v = () => {
2443
2443
  C(!1);
2444
2444
  };
2445
- ((b, _) => {
2446
- const x = se();
2447
- F(() => {
2448
- x.current = b;
2449
- }, [b]), F(() => {
2445
+ ((g, _) => {
2446
+ const N = oe();
2447
+ V(() => {
2448
+ N.current = g;
2449
+ }, [g]), V(() => {
2450
2450
  function w() {
2451
- x.current();
2451
+ N.current();
2452
2452
  }
2453
2453
  {
2454
- let N = setInterval(w, _);
2455
- return () => clearInterval(N);
2454
+ let x = setInterval(w, _);
2455
+ return () => clearInterval(x);
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 = Wt({
2461
+ const b = Yt({
2462
2462
  palette: {
2463
2463
  primary: {
2464
2464
  main: "#605b56"
@@ -2486,37 +2486,37 @@ const h0 = Ut({
2486
2486
  { label: "", value: 2041 },
2487
2487
  { label: "", value: 2050 }
2488
2488
  ];
2489
- return /* @__PURE__ */ i(Qt, { theme: g, children: /* @__PURE__ */ p(
2490
- Yt,
2489
+ return /* @__PURE__ */ i(Xt, { theme: b, children: /* @__PURE__ */ p(
2490
+ Qt,
2491
2491
  {
2492
2492
  sx: { width: 400 },
2493
2493
  className: `${n ? ge.sliderResults : ge.slider} ${r ? ge.sliderOpen : ""}`,
2494
2494
  style: { zIndex: t },
2495
2495
  children: [
2496
- s,
2496
+ o,
2497
2497
  /* @__PURE__ */ i(
2498
- Gt,
2498
+ Wt,
2499
2499
  {
2500
2500
  "aria-label": "TimeSlider",
2501
2501
  value: l,
2502
2502
  valueLabelDisplay: "on",
2503
2503
  step: 1,
2504
2504
  marks: m,
2505
- min: s,
2506
- max: o,
2505
+ min: o,
2506
+ max: s,
2507
2507
  onChange: u,
2508
2508
  color: "primary",
2509
2509
  size: "small"
2510
2510
  }
2511
2511
  ),
2512
- o,
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" }) })
2512
+ s,
2513
+ !h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src: C0, alt: "Play" }) }),
2514
+ h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: f0, alt: "Pause" }) })
2515
2515
  ]
2516
2516
  }
2517
2517
  ) });
2518
2518
  };
2519
- v0.propTypes = {
2519
+ w0.propTypes = {
2520
2520
  defaultYear: e.number,
2521
2521
  onResults: e.bool,
2522
2522
  firstYear: e.number,
@@ -2525,36 +2525,36 @@ v0.propTypes = {
2525
2525
  rightBarOpen: e.bool,
2526
2526
  onChange: e.func
2527
2527
  };
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 = ({
2528
+ const x0 = "_TopNavMenuContainer_12mp4_2", N0 = "_topNavOptions_12mp4_13", k0 = "_active_12mp4_27", Ie = {
2529
+ TopNavMenuContainer: x0,
2530
+ topNavOptions: N0,
2531
+ active: k0
2532
+ }, S0 = ({
2533
2533
  options: n = [],
2534
2534
  containerStyles: d,
2535
- borderColor: s = "red",
2536
- textColor: o = "white",
2535
+ borderColor: o = "red",
2536
+ textColor: s = "white",
2537
2537
  onChangeNavLink: t = (r) => {
2538
2538
  console.log("Changed NavLink", r);
2539
2539
  }
2540
2540
  }) => {
2541
2541
  const { t: r } = $();
2542
- return /* @__PURE__ */ i("div", { className: Ae.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ i(
2543
- Xt,
2542
+ return /* @__PURE__ */ i("div", { className: Ie.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ i(
2543
+ Jt,
2544
2544
  {
2545
2545
  to: a.url,
2546
- className: ({ isActive: c }) => `${Ae.topNavOptions} ${c ? Ae.active : ""} `,
2546
+ className: ({ isActive: c }) => `${Ie.topNavOptions} ${c ? Ie.active : ""} `,
2547
2547
  onClick: () => t(a.url),
2548
2548
  style: ({ isActive: c }) => ({
2549
- color: o,
2550
- borderBottom: c ? `5px solid ${s}` : "5px solid transparent"
2549
+ color: s,
2550
+ borderBottom: c ? `5px solid ${o}` : "5px solid transparent"
2551
2551
  }),
2552
2552
  children: r(a.name)
2553
2553
  },
2554
2554
  l
2555
2555
  )) });
2556
2556
  };
2557
- k0.propTypes = {
2557
+ S0.propTypes = {
2558
2558
  options: e.arrayOf(e.object),
2559
2559
  cssProps: e.shape({
2560
2560
  borderColor: e.string.isRequired,
@@ -2564,13 +2564,13 @@ k0.propTypes = {
2564
2564
  // activeColor: PropTypes.string,
2565
2565
  // defaultColor: PropTypes.string
2566
2566
  };
2567
- const S0 = "_LogInButton_1vxj5_2", $0 = {
2568
- LogInButton: S0
2569
- }, B0 = ({
2567
+ const $0 = "_LogInButton_1vxj5_2", B0 = {
2568
+ LogInButton: $0
2569
+ }, L0 = ({
2570
2570
  cssClass: n,
2571
2571
  notLoggedInLabel: d = "Log in",
2572
- loggedInLabel: s = "Log out",
2573
- containerStyles: o,
2572
+ loggedInLabel: o = "Log out",
2573
+ containerStyles: s,
2574
2574
  userName: t = "",
2575
2575
  isLoggedIn: r = !1,
2576
2576
  onClickLogIn: a = () => {
@@ -2584,14 +2584,14 @@ const S0 = "_LogInButton_1vxj5_2", $0 = {
2584
2584
  return /* @__PURE__ */ i(
2585
2585
  "div",
2586
2586
  {
2587
- style: { ...o },
2588
- className: `${$0.LogInButton} link ${n}`,
2587
+ style: { ...s },
2588
+ className: `${B0.LogInButton} link ${n}`,
2589
2589
  onClick: r ? l : a,
2590
- children: r ? t || c(s) : c(d)
2590
+ children: r ? t || c(o) : c(d)
2591
2591
  }
2592
2592
  );
2593
2593
  };
2594
- B0.propTypes = {
2594
+ L0.propTypes = {
2595
2595
  cssClass: e.string,
2596
2596
  notLoggedInLabel: e.string,
2597
2597
  loggedInLabel: e.string,
@@ -2599,43 +2599,43 @@ B0.propTypes = {
2599
2599
  userName: e.string,
2600
2600
  isLoggedIn: e.bool
2601
2601
  };
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 = {
2602
+ const T0 = "_elementSelector_1qdhv_2", M0 = "_header_1qdhv_13", D0 = "_nameDateContainer_1qdhv_23", F0 = "_elementName_1qdhv_39", V0 = "_elementDate_1qdhv_53", A0 = "_buttonsContainer_1qdhv_67", I0 = "_elementListContainer_1qdhv_76", O0 = "_newElementButtonContainer_1qdhv_80", H = {
2603
+ elementSelector: T0,
2604
+ header: M0,
2605
+ nameDateContainer: D0,
2606
+ elementName: F0,
2607
+ elementDate: V0,
2608
+ buttonsContainer: A0,
2609
+ elementListContainer: I0,
2610
+ newElementButtonContainer: O0
2611
+ }, R0 = "_listElement_1s506_2", q0 = "_elementNameDate_1s506_17", E0 = "_elementNameContainer_1s506_27", P0 = "_elementName_1s506_17", j0 = "_elementDate_1s506_42", Z0 = "_elementButtons_1s506_45", z0 = "_moreInfoContainer_1s506_68", K0 = "_moreInfo_1s506_68", z = {
2612
2612
  listElement: R0,
2613
- elementNameDate: O0,
2614
- elementNameContainer: q0,
2615
- elementName: E0,
2616
- elementDate: P0,
2617
- elementButtons: j0,
2613
+ elementNameDate: q0,
2614
+ elementNameContainer: E0,
2615
+ elementName: P0,
2616
+ elementDate: j0,
2617
+ elementButtons: Z0,
2618
2618
  break: "_break_1s506_63",
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) {
2619
+ moreInfoContainer: z0,
2620
+ moreInfo: K0
2621
+ }, 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='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", 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%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", 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%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", 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%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", Y0 = "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 ot;
2623
+ function Ze() {
2624
+ return Ze = Object.assign ? Object.assign.bind() : function(n) {
2625
2625
  for (var d = 1; d < arguments.length; d++) {
2626
- var s = arguments[d];
2627
- for (var o in s) ({}).hasOwnProperty.call(s, o) && (n[o] = s[o]);
2626
+ var o = arguments[d];
2627
+ for (var s in o) ({}).hasOwnProperty.call(o, s) && (n[s] = o[s]);
2628
2628
  }
2629
2629
  return n;
2630
- }, je.apply(null, arguments);
2630
+ }, Ze.apply(null, arguments);
2631
2631
  }
2632
- var Y0 = function(d) {
2633
- return /* @__PURE__ */ pe.createElement("svg", je({
2632
+ var Q0 = function(d) {
2633
+ return /* @__PURE__ */ pe.createElement("svg", Ze({
2634
2634
  xmlns: "http://www.w3.org/2000/svg",
2635
2635
  width: 26,
2636
2636
  height: 14,
2637
2637
  fill: "none"
2638
- }, d), it || (it = /* @__PURE__ */ pe.createElement("g", {
2638
+ }, d), ot || (ot = /* @__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,11 +2643,11 @@ var Y0 = 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 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 = ({
2646
+ const X0 = "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", xt = ({
2647
2647
  listelement: n,
2648
2648
  onClickElement: d,
2649
- isActive: s,
2650
- activeColor: o,
2649
+ isActive: o,
2650
+ activeColor: s,
2651
2651
  fontColor: t,
2652
2652
  moreInfo: r,
2653
2653
  columns: a,
@@ -2656,7 +2656,7 @@ const Q0 = "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] = D(!1), { t: b } = $();
2659
+ const { name: C, created_at: y, id: v, isBeingProcessed: f } = n, [b, m] = D(!1), { t: g } = $();
2660
2660
  return /* @__PURE__ */ p(
2661
2661
  "div",
2662
2662
  {
@@ -2664,51 +2664,51 @@ const Q0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2664
2664
  style: { borderBottom: `1px solid ${t}` },
2665
2665
  children: [
2666
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(
2667
+ h && (o ? /* @__PURE__ */ i(Q0, { style: { color: s, marginRight: 9 } }) : /* @__PURE__ */ i(
2668
2668
  "img",
2669
2669
  {
2670
2670
  style: { marginRight: 9 },
2671
- src: Q0,
2671
+ src: X0,
2672
2672
  alt: "eye"
2673
2673
  }
2674
2674
  )),
2675
- /* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: C })
2675
+ /* @__PURE__ */ i("span", { style: { color: o ? s : t }, children: C })
2676
2676
  ] }) }) : _ == "data" ? /* @__PURE__ */ i("div", { className: z.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: z.elementDate, children: n[_] })) }),
2677
2677
  /* @__PURE__ */ p("div", { className: z.elementButtons, children: [
2678
2678
  n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2679
- /* @__PURE__ */ i("img", { src: G0 }),
2679
+ /* @__PURE__ */ i("img", { src: W0 }),
2680
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: U0 }) }),
2683
+ /* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: G0 }) }),
2684
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: H0 }) }),
2687
+ /* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: U0 }) }),
2688
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: K0 }) }),
2691
+ /* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: H0 }) }),
2692
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: W0 }),
2695
+ /* @__PURE__ */ i("img", { src: Y0 }),
2696
2696
  /* @__PURE__ */ i(ie, { text: u, position: "left" })
2697
2697
  ] })
2698
2698
  ] }),
2699
2699
  r && /* @__PURE__ */ i("div", { className: z.break }),
2700
2700
  r && /* @__PURE__ */ p("div", { className: z.moreInfoContainer, children: [
2701
- /* @__PURE__ */ p("div", { className: z.moreInfo, onClick: () => m(!g), children: [
2702
- /* @__PURE__ */ i("span", { children: g ? "-" : "+" }),
2703
- b(r.label)
2701
+ /* @__PURE__ */ p("div", { className: z.moreInfo, onClick: () => m(!b), children: [
2702
+ /* @__PURE__ */ i("span", { children: b ? "-" : "+" }),
2703
+ g(r.label)
2704
2704
  ] }),
2705
- r && g && /* @__PURE__ */ i("div", { className: z.moreInfoInfo, children: n[r.info] })
2705
+ r && b && /* @__PURE__ */ i("div", { className: z.moreInfoInfo, children: n[r.info] })
2706
2706
  ] })
2707
2707
  ]
2708
2708
  }
2709
2709
  );
2710
2710
  };
2711
- vt.propTypes = {
2711
+ xt.propTypes = {
2712
2712
  listelement: e.shape({
2713
2713
  name: e.string.isRequired,
2714
2714
  created_at: e.string,
@@ -2744,11 +2744,11 @@ vt.propTypes = {
2744
2744
  defaultTooltip: e.string,
2745
2745
  showEye: e.bool
2746
2746
  };
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 = ({
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", J0 = ({
2748
2748
  elementsList: n,
2749
2749
  activeElementId: d,
2750
- fontColor: s = "#605B56",
2751
- activeColor: o,
2750
+ fontColor: o = "#605B56",
2751
+ activeColor: s,
2752
2752
  buttonContainerStyles: t = {},
2753
2753
  containerStyles: r = {},
2754
2754
  newElementButton: a,
@@ -2766,32 +2766,32 @@ const st = "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] = D(n);
2770
- F(() => {
2769
+ const { t: f } = $(), [b, m] = D(n);
2770
+ V(() => {
2771
2771
  n && m(n);
2772
2772
  }, [n]);
2773
- const b = (_) => {
2774
- if (g && g.length > 0) {
2775
- let x = [...g];
2776
- x.sort((w, N) => w[_].localeCompare(N[_])), m(x);
2773
+ const g = (_) => {
2774
+ if (b && b.length > 0) {
2775
+ let N = [...b];
2776
+ N.sort((w, x) => w[_].localeCompare(x[_])), m(N);
2777
2777
  }
2778
2778
  };
2779
2779
  return /* @__PURE__ */ p(
2780
2780
  "div",
2781
2781
  {
2782
2782
  className: H.elementSelector,
2783
- style: { color: s, ...r },
2783
+ style: { color: o, ...r },
2784
2784
  children: [
2785
2785
  /* @__PURE__ */ p(
2786
2786
  "div",
2787
2787
  {
2788
2788
  className: H.header,
2789
- style: { borderBottom: `1px solid ${s}` },
2789
+ style: { borderBottom: `1px solid ${o}` },
2790
2790
  children: [
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: [
2791
+ /* @__PURE__ */ i("div", { className: H.nameDateContainer, children: Object.keys(c).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: H.elementName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
2792
2792
  /* @__PURE__ */ i("span", { children: f(c.name) }),
2793
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: [
2794
+ ] }) }, _) : _ === "data" ? /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
2795
2795
  /* @__PURE__ */ i("span", { children: f(c.data) }),
2796
2796
  /* @__PURE__ */ i("img", { src: st, alt: "order arrow" })
2797
2797
  ] }) }, _) : /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ i("span", { children: f(c[_]) }) }, _)) }),
@@ -2799,13 +2799,13 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2799
2799
  ]
2800
2800
  }
2801
2801
  ),
2802
- /* @__PURE__ */ i("div", { className: H.elementListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ i(
2803
- vt,
2802
+ /* @__PURE__ */ i("div", { className: H.elementListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ i(
2803
+ xt,
2804
2804
  {
2805
2805
  isActive: d == _.id,
2806
2806
  listelement: _,
2807
- fontColor: s,
2808
- activeColor: o,
2807
+ fontColor: o,
2808
+ activeColor: s,
2809
2809
  onClickElement: l,
2810
2810
  columns: c,
2811
2811
  elementButtons: u,
@@ -2817,7 +2817,7 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2817
2817
  `elementKey${_.id}`
2818
2818
  )) }),
2819
2819
  a && /* @__PURE__ */ i("div", { className: H.newElementButtonContainer, children: /* @__PURE__ */ i(
2820
- Le,
2820
+ Te,
2821
2821
  {
2822
2822
  style: { ...t },
2823
2823
  onClick: a.onClick,
@@ -2830,7 +2830,7 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2830
2830
  }
2831
2831
  );
2832
2832
  };
2833
- X0.propTypes = {
2833
+ J0.propTypes = {
2834
2834
  elementsList: e.arrayOf(
2835
2835
  e.shape({
2836
2836
  name: e.string.isRequired,
@@ -2877,67 +2877,67 @@ X0.propTypes = {
2877
2877
  defaultTooltip: e.string,
2878
2878
  showEye: e.bool
2879
2879
  };
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
2880
+ const ei = "_formContainer_asv64_2", ti = "_categorySelectorContainer_asv64_11", ni = "_formObjectContainer_asv64_15", ii = "_buttonContainer_asv64_26", Ce = {
2881
+ formContainer: ei,
2882
+ categorySelectorContainer: ti,
2883
+ formObjectContainer: ni,
2884
+ buttonContainer: ii
2885
2885
  }, fe = {
2886
2886
  text: "text",
2887
2887
  password: "password",
2888
2888
  radioList: "radioList",
2889
2889
  select: "select"
2890
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 ye = (n) => !wt(n) && !Array.isArray(n) && oi(n) && !si(n), ri = (n) => ye(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) => {
2891
+ var oi = (n) => n.type === "checkbox", si = (n) => n instanceof Date, Nt = (n) => n == null;
2892
+ const ri = (n) => typeof n == "object";
2893
+ var ye = (n) => !Nt(n) && !Array.isArray(n) && ri(n) && !si(n), ai = (n) => ye(n) && n.target ? oi(n.target) ? n.target.checked : n.target.value : n, li = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, ci = (n, d) => n.has(li(d)), di = (n) => {
2894
2894
  const d = n.constructor && n.constructor.prototype;
2895
2895
  return ye(d) && d.hasOwnProperty("isPrototypeOf");
2896
- }, di = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2897
- function xt(n) {
2896
+ }, ui = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2897
+ function kt(n) {
2898
2898
  let d;
2899
- const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
2899
+ const o = Array.isArray(n), s = typeof FileList < "u" ? n instanceof FileList : !1;
2900
2900
  if (n instanceof Date)
2901
2901
  d = new Date(n);
2902
- else if (!(di && (n instanceof Blob || o)) && (s || ye(n)))
2903
- if (d = s ? [] : {}, !s && !ci(n))
2902
+ else if (!(ui && (n instanceof Blob || s)) && (o || ye(n)))
2903
+ if (d = o ? [] : {}, !o && !di(n))
2904
2904
  d = n;
2905
2905
  else
2906
2906
  for (const t in n)
2907
- n.hasOwnProperty(t) && (d[t] = xt(n[t]));
2907
+ n.hasOwnProperty(t) && (d[t] = kt(n[t]));
2908
2908
  else
2909
2909
  return n;
2910
2910
  return d;
2911
2911
  }
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) => {
2912
+ var St = (n) => /^\w*$/.test(n), ze = (n) => n === void 0, pi = (n) => Array.isArray(n) ? n.filter(Boolean) : [], $t = (n) => pi(n.replace(/["|']|\]/g, "").split(/\.|\[/)), E = (n, d, o) => {
2913
2913
  if (!d || !ye(n))
2914
- return s;
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) => {
2918
- let o = -1;
2919
- const t = Nt(d) ? [d] : kt(d), r = t.length, a = r - 1;
2920
- for (; ++o < r; ) {
2921
- const l = t[o];
2922
- let c = s;
2923
- if (o !== a) {
2914
+ return o;
2915
+ const s = (St(d) ? [d] : $t(d)).reduce((t, r) => Nt(t) ? t : t[r], n);
2916
+ return ze(s) || s === n ? ze(n[d]) ? o : n[d] : s;
2917
+ }, Oe = (n) => typeof n == "boolean", rt = (n, d, o) => {
2918
+ let s = -1;
2919
+ const t = St(d) ? [d] : $t(d), r = t.length, a = r - 1;
2920
+ for (; ++s < r; ) {
2921
+ const l = t[s];
2922
+ let c = o;
2923
+ if (s !== a) {
2924
2924
  const u = n[l];
2925
- c = ye(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
2925
+ c = ye(u) || Array.isArray(u) ? u : isNaN(+t[s + 1]) ? {} : [];
2926
2926
  }
2927
2927
  if (l === "__proto__" || l === "constructor" || l === "prototype")
2928
2928
  return;
2929
2929
  n[l] = c, n = n[l];
2930
2930
  }
2931
2931
  };
2932
- const rt = {
2932
+ const at = {
2933
2933
  BLUR: "blur",
2934
2934
  CHANGE: "change"
2935
- }, at = {
2935
+ }, lt = {
2936
2936
  all: "all"
2937
- }, St = T.createContext(null);
2938
- St.displayName = "HookFormContext";
2939
- const Ge = () => T.useContext(St);
2940
- var pi = (n, d, s, o = !0) => {
2937
+ }, Bt = T.createContext(null);
2938
+ Bt.displayName = "HookFormContext";
2939
+ const We = () => T.useContext(Bt);
2940
+ var mi = (n, d, o, s = !0) => {
2941
2941
  const t = {
2942
2942
  defaultValues: d._defaultValues
2943
2943
  };
@@ -2945,14 +2945,14 @@ var pi = (n, d, s, o = !0) => {
2945
2945
  Object.defineProperty(t, r, {
2946
2946
  get: () => {
2947
2947
  const a = r;
2948
- return d._proxyFormState[a] !== at.all && (d._proxyFormState[a] = !o || at.all), s && (s[a] = !0), n[a];
2948
+ return d._proxyFormState[a] !== lt.all && (d._proxyFormState[a] = !s || lt.all), o && (o[a] = !0), n[a];
2949
2949
  }
2950
2950
  });
2951
2951
  return t;
2952
2952
  };
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({
2953
+ const Lt = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
2954
+ function hi(n) {
2955
+ const d = We(), { control: o = d.control, disabled: s, name: t, exact: r } = n || {}, [a, l] = T.useState(o._formState), c = T.useRef({
2956
2956
  isDirty: !1,
2957
2957
  isLoading: !1,
2958
2958
  dirtyFields: !1,
@@ -2962,149 +2962,151 @@ function mi(n) {
2962
2962
  isValid: !1,
2963
2963
  errors: !1
2964
2964
  });
2965
- return $t(() => s._subscribe({
2965
+ return Lt(() => o._subscribe({
2966
2966
  name: t,
2967
2967
  formState: c.current,
2968
2968
  exact: r,
2969
2969
  callback: (u) => {
2970
- !o && l({
2971
- ...s._formState,
2970
+ !s && l({
2971
+ ...o._formState,
2972
2972
  ...u
2973
2973
  });
2974
2974
  }
2975
- }), [t, o, r]), T.useEffect(() => {
2976
- c.current.isValid && s._setValid(!0);
2977
- }, [s]), T.useMemo(() => pi(a, s, c.current, !1), [a, s]);
2975
+ }), [t, s, r]), T.useEffect(() => {
2976
+ c.current.isValid && o._setValid(!0);
2977
+ }, [o]), T.useMemo(() => mi(a, o, c.current, !1), [a, o]);
2978
2978
  }
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({
2983
- name: o,
2979
+ var gi = (n) => typeof n == "string", Ci = (n, d, o, s, t) => gi(n) ? E(o, n, t) : Array.isArray(n) ? n.map((r) => E(o, r)) : o;
2980
+ function fi(n) {
2981
+ const d = We(), { control: o = d.control, name: s, defaultValue: t, disabled: r, exact: a } = n || {}, l = T.useRef(t), [c, u] = T.useState(o._getWatch(s, l.current));
2982
+ return Lt(() => o._subscribe({
2983
+ name: s,
2984
2984
  formState: {
2985
2985
  values: !0
2986
2986
  },
2987
2987
  exact: 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;
2988
+ callback: (h) => !r && u(Ci(s, o._names, h.values || o._formValues, !1, l.current))
2989
+ }), [s, o, r, a]), T.useEffect(() => o._removeUnmounted()), c;
2990
2990
  }
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({
2991
+ function bi(n) {
2992
+ const d = We(), { name: o, disabled: s, control: t = d.control, shouldUnregister: r } = n, a = ci(t._names.array, o), l = fi({
2993
2993
  control: t,
2994
- name: s,
2995
- defaultValue: q(t._formValues, s, q(t._defaultValues, s, n.defaultValue)),
2994
+ name: o,
2995
+ defaultValue: E(t._formValues, o, E(t._defaultValues, o, n.defaultValue)),
2996
2996
  exact: !0
2997
- }), c = mi({
2997
+ }), c = hi({
2998
2998
  control: t,
2999
- name: s,
2999
+ name: o,
3000
3000
  exact: !0
3001
- }), u = T.useRef(n), h = T.useRef(t.register(s, {
3001
+ }), u = T.useRef(n), h = T.useRef(t.register(o, {
3002
3002
  ...n.rules,
3003
3003
  value: l,
3004
- ...Ie(n.disabled) ? { disabled: n.disabled } : {}
3004
+ ...Oe(n.disabled) ? { disabled: n.disabled } : {}
3005
3005
  })), C = T.useMemo(() => Object.defineProperties({}, {
3006
3006
  invalid: {
3007
3007
  enumerable: !0,
3008
- get: () => !!q(c.errors, s)
3008
+ get: () => !!E(c.errors, o)
3009
3009
  },
3010
3010
  isDirty: {
3011
3011
  enumerable: !0,
3012
- get: () => !!q(c.dirtyFields, s)
3012
+ get: () => !!E(c.dirtyFields, o)
3013
3013
  },
3014
3014
  isTouched: {
3015
3015
  enumerable: !0,
3016
- get: () => !!q(c.touchedFields, s)
3016
+ get: () => !!E(c.touchedFields, o)
3017
3017
  },
3018
3018
  isValidating: {
3019
3019
  enumerable: !0,
3020
- get: () => !!q(c.validatingFields, s)
3020
+ get: () => !!E(c.validatingFields, o)
3021
3021
  },
3022
3022
  error: {
3023
3023
  enumerable: !0,
3024
- get: () => q(c.errors, s)
3024
+ get: () => E(c.errors, o)
3025
3025
  }
3026
- }), [c, s]), y = T.useCallback((m) => h.current.onChange({
3026
+ }), [c, o]), y = T.useCallback((m) => h.current.onChange({
3027
3027
  target: {
3028
- value: ri(m),
3029
- name: s
3028
+ value: ai(m),
3029
+ name: o
3030
3030
  },
3031
- type: rt.CHANGE
3032
- }), [s]), v = T.useCallback(() => h.current.onBlur({
3031
+ type: at.CHANGE
3032
+ }), [o]), v = T.useCallback(() => h.current.onBlur({
3033
3033
  target: {
3034
- value: q(t._formValues, s),
3035
- name: s
3034
+ value: E(t._formValues, o),
3035
+ name: o
3036
3036
  },
3037
- type: rt.BLUR
3038
- }), [s, t._formValues]), f = T.useCallback((m) => {
3039
- const b = q(t._fields, s);
3040
- b && m && (b._f.ref = {
3037
+ type: at.BLUR
3038
+ }), [o, t._formValues]), f = T.useCallback((m) => {
3039
+ const g = E(t._fields, o);
3040
+ g && m && (g._f.ref = {
3041
3041
  focus: () => m.focus && m.focus(),
3042
3042
  select: () => m.select && m.select(),
3043
3043
  setCustomValidity: (_) => m.setCustomValidity(_),
3044
3044
  reportValidity: () => m.reportValidity()
3045
3045
  });
3046
- }, [t._fields, s]), g = T.useMemo(() => ({
3047
- name: s,
3046
+ }, [t._fields, o]), b = T.useMemo(() => ({
3047
+ name: o,
3048
3048
  value: l,
3049
- ...Ie(o) || c.disabled ? { disabled: c.disabled || o } : {},
3049
+ ...Oe(s) || c.disabled ? { disabled: c.disabled || s } : {},
3050
3050
  onChange: y,
3051
3051
  onBlur: v,
3052
3052
  ref: f
3053
- }), [s, o, c.disabled, y, v, f, l]);
3053
+ }), [o, s, c.disabled, y, v, f, l]);
3054
3054
  return T.useEffect(() => {
3055
3055
  const m = t._options.shouldUnregister || r;
3056
- t.register(s, {
3056
+ t.register(o, {
3057
3057
  ...u.current.rules,
3058
- ...Ie(u.current.disabled) ? { disabled: u.current.disabled } : {}
3058
+ ...Oe(u.current.disabled) ? { disabled: u.current.disabled } : {}
3059
3059
  });
3060
- const b = (_, x) => {
3061
- const w = q(t._fields, _);
3062
- w && w._f && (w._f.mount = x);
3060
+ const g = (_, N) => {
3061
+ const w = E(t._fields, _);
3062
+ w && w._f && (w._f.mount = N);
3063
3063
  };
3064
- if (b(s, !0), m) {
3065
- const _ = xt(q(t._options.defaultValues, s));
3066
- ot(t._defaultValues, s, _), Ze(q(t._formValues, s)) && ot(t._formValues, s, _);
3064
+ if (g(o, !0), m) {
3065
+ const _ = kt(E(t._options.defaultValues, o));
3066
+ rt(t._defaultValues, o, _), ze(E(t._formValues, o)) && rt(t._formValues, o, _);
3067
3067
  }
3068
- return !a && t.register(s), () => {
3069
- (a ? m && !t._state.action : m) ? t.unregister(s) : b(s, !1);
3068
+ return !a && t.register(o), () => {
3069
+ (a ? m && !t._state.action : m) ? t.unregister(o) : g(o, !1);
3070
3070
  };
3071
- }, [s, t, a, r]), T.useEffect(() => {
3071
+ }, [o, t, a, r]), T.useEffect(() => {
3072
3072
  t._setDisabledField({
3073
- disabled: o,
3074
- name: s
3073
+ disabled: s,
3074
+ name: o
3075
3075
  });
3076
- }, [o, s, t]), T.useMemo(() => ({
3077
- field: g,
3076
+ }, [s, o, t]), T.useMemo(() => ({
3077
+ field: b,
3078
3078
  formState: c,
3079
3079
  fieldState: C
3080
- }), [g, c, C]);
3080
+ }), [b, c, C]);
3081
3081
  }
3082
- const ve = (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
3082
+ const ve = (n) => n.render(bi(n)), _i = "_textInputContainer_1o3iy_2", yi = "_labelContainer_1o3iy_5", vi = "_inputContainer_1o3iy_8", wi = "_showPasswordButton_1o3iy_14", xi = "_forgotPassButton_1o3iy_26", be = {
3083
+ textInputContainer: _i,
3084
+ labelContainer: yi,
3085
+ inputContainer: vi,
3086
+ showPasswordButton: wi,
3087
+ forgotPassButton: xi
3088
+ }, Ni = "_errorMessage_1xiyb_2", ki = {
3089
+ errorMessage: Ni
3090
3090
  }, we = ({
3091
3091
  errorMessage: n,
3092
3092
  errorColor: d = "red",
3093
- containerStyles: s
3093
+ containerStyles: o
3094
3094
  }) => {
3095
- const { t: o } = $();
3095
+ const { t: s } = $();
3096
3096
  return /* @__PURE__ */ i(
3097
3097
  "div",
3098
3098
  {
3099
- className: Ni.errorMessage,
3100
- style: { color: d, ...s },
3101
- children: n ? o(n) : ""
3099
+ className: ki.errorMessage,
3100
+ style: { color: d, ...o },
3101
+ children: n ? s(n) : ""
3102
3102
  }
3103
3103
  );
3104
- }, lt = ({ input: n, reactHookFormInstance: d }) => {
3104
+ }, xe = ut((n) => ({
3105
+ errorColor: "red"
3106
+ })), ct = ({ input: n, reactHookFormInstance: d }) => {
3105
3107
  const {
3106
- code: s,
3107
- type: o,
3108
+ code: o,
3109
+ type: s,
3108
3110
  label: t,
3109
3111
  maxLength: r,
3110
3112
  required: a,
@@ -3116,22 +3118,20 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3116
3118
  console.log("Click on forgot password");
3117
3119
  },
3118
3120
  forgotPassLabel: y = "forgot-password"
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);
3122
- }, [a, s, g, m]);
3123
- const w = () => o ? o === "password" && b ? "text" : o : "text";
3121
+ } = n, { t: v } = $(), { control: f, trigger: b, clearErrors: m } = d, { errorColor: g } = xe((x) => x), [_, N] = D(!1);
3122
+ oe(a);
3123
+ const w = () => s ? s === "password" && _ ? "text" : s : "text";
3124
3124
  return /* @__PURE__ */ i(
3125
3125
  ve,
3126
3126
  {
3127
- name: s,
3127
+ name: o,
3128
3128
  control: f,
3129
3129
  rules: {
3130
3130
  required: a ? `${v(t)} ${v("errorMessages.required")}` : !1,
3131
3131
  maxLength: r || void 0,
3132
3132
  validate: l || void 0
3133
3133
  },
3134
- render: ({ field: N, fieldState: S }) => {
3134
+ render: ({ field: x, fieldState: S }) => {
3135
3135
  var B;
3136
3136
  return /* @__PURE__ */ p("div", { className: be.textInputContainer, children: [
3137
3137
  /* @__PURE__ */ p("h3", { className: be.labelContainer, children: [
@@ -3149,48 +3149,48 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3149
3149
  "input",
3150
3150
  {
3151
3151
  type: w(),
3152
- ...N,
3152
+ ...x,
3153
3153
  placeholder: c ? v(c) : "",
3154
3154
  maxLength: r || void 0
3155
3155
  }
3156
3156
  ),
3157
- o == "password" && /* @__PURE__ */ i(
3157
+ s == "password" && /* @__PURE__ */ i(
3158
3158
  "button",
3159
3159
  {
3160
- onClick: () => _(!b),
3160
+ onClick: () => N(!_),
3161
3161
  type: "button",
3162
3162
  className: be.showPasswordButton,
3163
- children: b ? "🙈" : "👁️"
3163
+ children: _ ? "🙈" : "👁️"
3164
3164
  }
3165
3165
  )
3166
3166
  ]
3167
3167
  }
3168
3168
  ),
3169
- o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: v(y) }) }),
3169
+ s == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: v(y) }) }),
3170
3170
  /* @__PURE__ */ i(
3171
3171
  we,
3172
3172
  {
3173
3173
  errorMessage: (B = S.error) == null ? void 0 : B.message,
3174
- errorColor: u
3174
+ errorColor: g || u
3175
3175
  }
3176
3176
  )
3177
3177
  ] });
3178
3178
  }
3179
3179
  }
3180
3180
  );
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 }) => {
3181
+ }, Si = "_inputsContainer_10t9s_2", ce = {
3182
+ inputsContainer: Si
3183
+ }, $i = "_selectInputContainer_1rj0h_2", Bi = "_labelContainer_1rj0h_6", Li = "_inputContainer_1rj0h_9", Ti = "_selectInput_1rj0h_2", Mi = "_option_1rj0h_23", Di = "_dropdownArrow_1rj0h_26", de = {
3184
+ selectInputContainer: $i,
3185
+ labelContainer: Bi,
3186
+ inputContainer: Li,
3187
+ selectInput: Ti,
3188
+ option: Mi,
3189
+ dropdownArrow: Di
3190
+ }, Fi = "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", Vi = ({ input: n, reactHookFormInstance: d }) => {
3191
3191
  const {
3192
- code: s,
3193
- type: o,
3192
+ code: o,
3193
+ type: s,
3194
3194
  label: t,
3195
3195
  maxLength: r,
3196
3196
  required: a,
@@ -3199,23 +3199,21 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3199
3199
  errorColor: u = "red",
3200
3200
  width: h = 325,
3201
3201
  options: C = []
3202
- } = n, { t: y } = $(), { control: v, trigger: f, clearErrors: g } = d, m = se(a);
3203
- return F(() => {
3204
- m.current !== a && (a ? f(s) : g(s), m.current = a);
3205
- }, [a, s, f, g]), /* @__PURE__ */ i(
3202
+ } = n, { t: y } = $(), { control: v, trigger: f, clearErrors: b } = d, { errorColor: m } = xe((g) => g);
3203
+ return oe(a), /* @__PURE__ */ i(
3206
3204
  ve,
3207
3205
  {
3208
- name: s,
3206
+ name: o,
3209
3207
  control: v,
3210
3208
  rules: {
3211
3209
  required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
3212
- validate: l ? (b) => {
3210
+ validate: l ? (g) => {
3213
3211
  let _ = d.getValues();
3214
- return l(b, _);
3212
+ return l(g, _);
3215
3213
  } : void 0
3216
3214
  },
3217
- render: ({ field: b, fieldState: _ }) => {
3218
- var x;
3215
+ render: ({ field: g, fieldState: _ }) => {
3216
+ var N;
3219
3217
  return /* @__PURE__ */ p("div", { className: de.selectInputContainer, children: [
3220
3218
  /* @__PURE__ */ p("h3", { className: de.labelContainer, children: [
3221
3219
  y(t),
@@ -3226,22 +3224,22 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3226
3224
  /* @__PURE__ */ p(
3227
3225
  "select",
3228
3226
  {
3229
- ...b,
3227
+ ...g,
3230
3228
  onChange: (w) => {
3231
- const N = w.target.value, S = C.every((B) => typeof B.value == "number") ? Number(N) : N;
3232
- b.onChange(S);
3229
+ const x = w.target.value, S = C.every((B) => typeof B.value == "number") ? Number(x) : x;
3230
+ g.onChange(S);
3233
3231
  },
3234
3232
  className: de.selectInput,
3235
3233
  children: [
3236
3234
  /* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: y(c || "selectOption") }),
3237
- C.map((w, N) => /* @__PURE__ */ i(
3235
+ C.map((w, x) => /* @__PURE__ */ i(
3238
3236
  "option",
3239
3237
  {
3240
3238
  value: w.value,
3241
3239
  className: de.option,
3242
3240
  children: y(w.label)
3243
3241
  },
3244
- N
3242
+ x
3245
3243
  ))
3246
3244
  ]
3247
3245
  }
@@ -3249,7 +3247,7 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3249
3247
  /* @__PURE__ */ i(
3250
3248
  "img",
3251
3249
  {
3252
- src: Di,
3250
+ src: Fi,
3253
3251
  alt: "Open",
3254
3252
  className: de.dropdownArrow
3255
3253
  }
@@ -3258,67 +3256,65 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3258
3256
  /* @__PURE__ */ i(
3259
3257
  we,
3260
3258
  {
3261
- errorMessage: (x = _.error) == null ? void 0 : x.message,
3262
- errorColor: u
3259
+ errorMessage: (N = _.error) == null ? void 0 : N.message,
3260
+ errorColor: m || u
3263
3261
  }
3264
3262
  )
3265
3263
  ] });
3266
3264
  }
3267
3265
  }
3268
3266
  );
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,
3267
+ }, Ai = "_radioButtonContainer_1e994_2", Ii = "_wholeInputContainer_1e994_5", Oi = "_questionContainer_1e994_27", Ri = "_radioQuestion_1e994_59", qi = "_inputContainer_1e994_63", Ei = "_radioInput_1e994_93", te = {
3268
+ radioButtonContainer: Ai,
3269
+ wholeInputContainer: Ii,
3270
+ questionContainer: Oi,
3273
3271
  radioQuestion: Ri,
3274
- inputContainer: Oi,
3275
- radioInput: qi
3276
- }, Ei = ({ input: n, reactHookFormInstance: d }) => {
3272
+ inputContainer: qi,
3273
+ radioInput: Ei
3274
+ }, Pi = ({ input: n, reactHookFormInstance: d }) => {
3277
3275
  const {
3278
- code: s,
3279
- label: o,
3276
+ code: o,
3277
+ label: s,
3280
3278
  required: t,
3281
3279
  validateFunction: r,
3282
3280
  errorColor: a = "red",
3283
3281
  options: l = [],
3284
3282
  multi: c = !1
3285
- } = n, { t: u } = $(), { control: h, trigger: C, clearErrors: y } = d, v = ({ options: m, onChange: b, actualValue: _ }) => {
3283
+ } = n, { t: u } = $(), { control: h, trigger: C, clearErrors: y } = d, { errorColor: v } = xe((m) => m), f = ({ options: m, onChange: g, actualValue: _ }) => {
3286
3284
  if (c && _ && _.length > 0) {
3287
- let x = _.filter((w) => w !== m);
3288
- b(x);
3285
+ let N = _.filter((w) => w !== m);
3286
+ g(N);
3289
3287
  }
3290
- }, f = ({ options: m, onChange: b, actualValue: _ }) => {
3291
- c ? _ && _.length > 0 ? b([..._, m]) : b([m]) : b(m);
3292
- }, g = se(t);
3293
- return F(() => {
3294
- g.current !== t && (t ? C(s) : y(s), g.current = t);
3295
- }, [t, s, C, y]), /* @__PURE__ */ i(
3288
+ }, b = ({ options: m, onChange: g, actualValue: _ }) => {
3289
+ c ? _ && _.length > 0 ? g([..._, m]) : g([m]) : g(m);
3290
+ };
3291
+ return oe(t), /* @__PURE__ */ i(
3296
3292
  ve,
3297
3293
  {
3298
3294
  control: h,
3299
- name: s,
3295
+ name: o,
3300
3296
  rules: {
3301
- validate: (m) => t && (m == null || m === "") ? `${u(o)} ${u("errorMessages.required")}` : null
3297
+ validate: (m) => t && (m == null || m === "") ? `${u(s)} ${u("errorMessages.required")}` : null
3302
3298
  },
3303
3299
  render: ({
3304
3300
  formState: { errors: m },
3305
- field: { onChange: b, onBlur: _, value: x, ref: w },
3306
- fieldState: N
3301
+ field: { onChange: g, onBlur: _, value: N, ref: w },
3302
+ fieldState: x
3307
3303
  }) => {
3308
3304
  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(
3305
+ return /* @__PURE__ */ i("div", { id: o + "id", className: te.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: te.wholeInputContainer, children: [
3306
+ s && /* @__PURE__ */ i("div", { className: te.questionContainer, children: /* @__PURE__ */ p(
3311
3307
  "h3",
3312
3308
  {
3313
- htmlFor: s + "id",
3309
+ htmlFor: o + "id",
3314
3310
  className: `${te.radioQuestion} ${t && te.required}`,
3315
3311
  children: [
3316
- u(o),
3312
+ u(s),
3317
3313
  " ",
3318
3314
  t && /* @__PURE__ */ i(
3319
3315
  "label",
3320
3316
  {
3321
- style: { color: N.error ? a : "" },
3317
+ style: { color: x.error ? a : "" },
3322
3318
  children: "*"
3323
3319
  }
3324
3320
  )
@@ -3331,9 +3327,9 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3331
3327
  label: B,
3332
3328
  value: k,
3333
3329
  disabled: L = !1,
3334
- italicLabel: E
3330
+ italicLabel: R
3335
3331
  }, K) => {
3336
- const M = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((Z) => Z === k) : x === k;
3332
+ const M = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((j) => j === k) : N === k;
3337
3333
  return /* @__PURE__ */ p("label", { children: [
3338
3334
  /* @__PURE__ */ i(
3339
3335
  "input",
@@ -3341,15 +3337,15 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3341
3337
  type: "radio",
3342
3338
  checked: M,
3343
3339
  onChange: () => {
3344
- c ? M ? v({
3345
- actualValue: x,
3340
+ c ? M ? f({
3341
+ actualValue: N,
3346
3342
  options: l,
3347
- onChange: b
3348
- }) : f({
3349
- actualValue: x,
3343
+ onChange: g
3344
+ }) : b({
3345
+ actualValue: N,
3350
3346
  options: l,
3351
- onChange: b
3352
- }) : b(k);
3347
+ onChange: g
3348
+ }) : g(k);
3353
3349
  },
3354
3350
  className: te.radioInput
3355
3351
  }
@@ -3362,8 +3358,8 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3362
3358
  /* @__PURE__ */ i(
3363
3359
  we,
3364
3360
  {
3365
- errorMessage: (S = N.error) == null ? void 0 : S.message,
3366
- errorColor: a
3361
+ errorMessage: (S = x.error) == null ? void 0 : S.message,
3362
+ errorColor: v || a
3367
3363
  }
3368
3364
  )
3369
3365
  ] })
@@ -3371,18 +3367,18 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3371
3367
  }
3372
3368
  }
3373
3369
  );
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 }) => {
3370
+ }, ji = "_rankingSliderContainer_1lekm_2", Zi = "_labelContainer_1lekm_6", zi = "_inputContainer_1lekm_10", Ki = "_slider_1lekm_20", Hi = "_thumb_1lekm_27", Ui = "_labels_1lekm_37", Gi = "_minLabel_1lekm_67", Wi = "_maxLabel_1lekm_67", F = {
3371
+ rankingSliderContainer: ji,
3372
+ labelContainer: Zi,
3373
+ inputContainer: zi,
3374
+ slider: Ki,
3375
+ thumb: Hi,
3376
+ labels: Ui,
3377
+ minLabel: Gi,
3378
+ maxLabel: Wi
3379
+ }, Tt = ({ input: n, reactHookFormInstance: d, onChange: o }) => {
3384
3380
  const {
3385
- code: o,
3381
+ code: s,
3386
3382
  label: t,
3387
3383
  minValue: r = 1,
3388
3384
  maxValue: a = 5,
@@ -3395,35 +3391,40 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3395
3391
  sliderWidth: y = "300px",
3396
3392
  minText: v,
3397
3393
  maxText: f,
3398
- disabled: g = !1,
3399
- marks: m = Array.from({ length: a - r + 1 }, (L, E) => r + E),
3400
- showMarksNumber: b = !0
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(
3394
+ disabled: b = !1,
3395
+ marks: m = Array.from(
3396
+ { length: a - r + 1 },
3397
+ (L, R) => r + R
3398
+ ),
3399
+ showMarksNumber: g = !0
3400
+ } = n, { t: _ } = $(), { control: N, trigger: w, clearErrors: x } = d || {};
3401
+ oe(u);
3402
+ const { errorColorForm: S } = xe((L) => L), [B, k] = D(l);
3403
+ return d ? /* @__PURE__ */ i(
3405
3404
  ve,
3406
3405
  {
3407
- name: o,
3408
- control: x,
3406
+ name: s,
3407
+ control: N,
3409
3408
  defaultValue: l,
3410
3409
  rules: {
3411
3410
  required: u ? `${_(t)} ${_("errorMessages.required")}` : !1
3412
3411
  },
3413
- render: ({ field: L, fieldState: E }) => {
3412
+ render: ({ field: L, fieldState: R }) => {
3414
3413
  var K;
3415
3414
  return /* @__PURE__ */ p(
3416
3415
  "div",
3417
3416
  {
3418
- className: V.rankingSliderContainer,
3419
- style: { gridTemplateColumns: `${t && C} ${y}` },
3417
+ className: F.rankingSliderContainer,
3418
+ style: {
3419
+ gridTemplateColumns: `${t && C} ${y}`
3420
+ },
3420
3421
  children: [
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) }),
3422
+ t && /* @__PURE__ */ i("p", { className: F.labelContainer, children: _(t) }),
3423
+ /* @__PURE__ */ p("div", { className: F.inputContainer, children: [
3424
+ v && /* @__PURE__ */ i("div", { className: F.minLabel, children: _(v) }),
3424
3425
  /* @__PURE__ */ p("div", { children: [
3425
3426
  /* @__PURE__ */ i(
3426
- Pe,
3427
+ je,
3427
3428
  {
3428
3429
  min: r,
3429
3430
  max: a,
@@ -3431,23 +3432,29 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3431
3432
  value: L.value ?? l,
3432
3433
  onChange: (M) => L.onChange(M),
3433
3434
  marks: !0,
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,
3439
- disabled: g
3435
+ className: F.slider,
3436
+ thumbClassName: F.thumb,
3437
+ renderThumb: (M) => /* @__PURE__ */ i(
3438
+ "div",
3439
+ {
3440
+ ...M,
3441
+ style: { ...M.style, backgroundColor: c }
3442
+ }
3443
+ ),
3444
+ trackClassName: F.track,
3445
+ markClassName: F.mark,
3446
+ disabled: b
3440
3447
  }
3441
3448
  ),
3442
- m && /* @__PURE__ */ i("div", { className: V.labels, children: m.map((M) => /* @__PURE__ */ i("span", { children: b && M }, M)) })
3449
+ m && /* @__PURE__ */ i("div", { className: F.labels, children: m.map((M) => /* @__PURE__ */ i("span", { children: g && M }, M)) })
3443
3450
  ] }),
3444
- f && /* @__PURE__ */ i("div", { className: V.maxLabel, children: _(f) })
3451
+ f && /* @__PURE__ */ i("div", { className: F.maxLabel, children: _(f) })
3445
3452
  ] }),
3446
3453
  /* @__PURE__ */ i(
3447
3454
  we,
3448
3455
  {
3449
- errorMessage: (K = E.error) == null ? void 0 : K.message,
3450
- errorColor: h
3456
+ errorMessage: (K = R.error) == null ? void 0 : K.message,
3457
+ errorColor: S || h
3451
3458
  }
3452
3459
  )
3453
3460
  ]
@@ -3458,41 +3465,47 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
3458
3465
  ) : /* @__PURE__ */ p(
3459
3466
  "div",
3460
3467
  {
3461
- className: V.rankingSliderContainer,
3468
+ className: F.rankingSliderContainer,
3462
3469
  style: { gridTemplateColumns: `${t && C} ${y}` },
3463
3470
  children: [
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) }),
3471
+ t && /* @__PURE__ */ i("p", { className: F.labelContainer, children: _(t) }),
3472
+ /* @__PURE__ */ p("div", { className: F.inputContainer, children: [
3473
+ v && /* @__PURE__ */ i("div", { className: F.minLabel, children: _(v) }),
3467
3474
  /* @__PURE__ */ p("div", { children: [
3468
3475
  /* @__PURE__ */ i(
3469
- Pe,
3476
+ je,
3470
3477
  {
3471
3478
  min: r,
3472
3479
  max: a,
3473
3480
  step: 1,
3474
3481
  value: B,
3475
3482
  onChange: (L) => {
3476
- k(L), s && s(L);
3483
+ k(L), o && o(L);
3477
3484
  },
3478
3485
  marks: !0,
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,
3484
- disabled: g
3486
+ className: F.slider,
3487
+ thumbClassName: F.thumb,
3488
+ renderThumb: (L) => /* @__PURE__ */ i(
3489
+ "div",
3490
+ {
3491
+ ...L,
3492
+ style: { ...L.style, backgroundColor: c }
3493
+ }
3494
+ ),
3495
+ trackClassName: F.track,
3496
+ markClassName: F.mark,
3497
+ disabled: b
3485
3498
  }
3486
3499
  ),
3487
- m && /* @__PURE__ */ i("div", { className: V.labels, children: m.map((L) => /* @__PURE__ */ i("span", { children: b && L }, L)) })
3500
+ m && /* @__PURE__ */ i("div", { className: F.labels, children: m.map((L) => /* @__PURE__ */ i("span", { children: g && L }, L)) })
3488
3501
  ] }),
3489
- f && /* @__PURE__ */ i("div", { className: V.maxLabel, children: _(f) })
3502
+ f && /* @__PURE__ */ i("div", { className: F.maxLabel, children: _(f) })
3490
3503
  ] })
3491
3504
  ]
3492
3505
  }
3493
3506
  );
3494
3507
  };
3495
- Bt.propTypes = {
3508
+ Tt.propTypes = {
3496
3509
  input: e.shape({
3497
3510
  code: e.string,
3498
3511
  label: e.string,
@@ -3513,10 +3526,10 @@ Bt.propTypes = {
3513
3526
  const _e = ({
3514
3527
  inputs: n,
3515
3528
  inputContainerStyles: d,
3516
- reactHookFormInstance: s
3529
+ reactHookFormInstance: o
3517
3530
  }) => {
3518
3531
  console.log("inputs: ", n);
3519
- const { watch: o } = s, t = o(), r = me(() => n == null ? void 0 : n.map((a) => {
3532
+ const { watch: s } = o, t = s(), r = me(() => n == null ? void 0 : n.map((a) => {
3520
3533
  const l = typeof a.required == "function" ? a.required(t) : a.required;
3521
3534
  return {
3522
3535
  ...a,
@@ -3533,10 +3546,10 @@ const _e = ({
3533
3546
  className: ce.inputContainer,
3534
3547
  style: { ...d },
3535
3548
  children: /* @__PURE__ */ i(
3536
- lt,
3549
+ ct,
3537
3550
  {
3538
3551
  input: a,
3539
- reactHookFormInstance: s
3552
+ reactHookFormInstance: o
3540
3553
  }
3541
3554
  )
3542
3555
  },
@@ -3549,10 +3562,10 @@ const _e = ({
3549
3562
  className: ce.inputContainer,
3550
3563
  style: { ...d },
3551
3564
  children: /* @__PURE__ */ i(
3552
- lt,
3565
+ ct,
3553
3566
  {
3554
3567
  input: a,
3555
- reactHookFormInstance: s
3568
+ reactHookFormInstance: o
3556
3569
  }
3557
3570
  )
3558
3571
  },
@@ -3565,10 +3578,10 @@ const _e = ({
3565
3578
  className: ce.inputContainer,
3566
3579
  style: { ...d },
3567
3580
  children: /* @__PURE__ */ i(
3568
- Fi,
3581
+ Vi,
3569
3582
  {
3570
3583
  input: a,
3571
- reactHookFormInstance: s
3584
+ reactHookFormInstance: o
3572
3585
  }
3573
3586
  )
3574
3587
  },
@@ -3581,10 +3594,10 @@ const _e = ({
3581
3594
  className: ce.inputContainer,
3582
3595
  style: { ...d },
3583
3596
  children: /* @__PURE__ */ i(
3584
- Ei,
3597
+ Pi,
3585
3598
  {
3586
3599
  input: a,
3587
- reactHookFormInstance: s
3600
+ reactHookFormInstance: o
3588
3601
  }
3589
3602
  )
3590
3603
  },
@@ -3597,10 +3610,10 @@ const _e = ({
3597
3610
  className: ce.inputContainer,
3598
3611
  style: { ...d },
3599
3612
  children: /* @__PURE__ */ i(
3600
- Bt,
3613
+ Tt,
3601
3614
  {
3602
3615
  input: a,
3603
- reactHookFormInstance: s
3616
+ reactHookFormInstance: o
3604
3617
  }
3605
3618
  )
3606
3619
  },
@@ -3610,32 +3623,33 @@ const _e = ({
3610
3623
  return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${a.code}${l}`);
3611
3624
  }
3612
3625
  }) });
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 = ({
3626
+ }, Yi = "_categorySelector_9bdf4_2", Qi = "_sectionItemActive_9bdf4_16", Xi = "_sectionItem_9bdf4_16", $e = {
3627
+ categorySelector: Yi,
3628
+ sectionItemActive: Qi,
3629
+ sectionItem: Xi
3630
+ }, dt = ({
3618
3631
  categories: n,
3619
3632
  onChange: d,
3620
- activeCategory: s,
3621
- activeColor: o
3633
+ activeCategory: o,
3634
+ activeColor: s
3622
3635
  }) => {
3623
3636
  const { t } = $(), r = (a) => {
3624
3637
  d(a);
3625
3638
  };
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(
3639
+ return /* @__PURE__ */ i("div", { className: $e.categorySelector, children: n.map((a, l) => {
3640
+ const { id: c, label: u } = a, h = o == c;
3641
+ return console.log("activeCategory", o, c, h), /* @__PURE__ */ i(
3629
3642
  "button",
3630
3643
  {
3631
- className: `${Se.sectionItem} ${h ? Se.sectionItemActive : ""}`,
3632
- style: { backgroundColor: h ? o : "inherit" },
3644
+ className: `${$e.sectionItem} ${h ? $e.sectionItemActive : ""}`,
3645
+ type: "button",
3646
+ style: { backgroundColor: h ? s : "inherit" },
3633
3647
  onClick: () => r(c),
3634
3648
  children: /* @__PURE__ */ i(
3635
3649
  "span",
3636
3650
  {
3637
3651
  style: { color: h ? "white" : "inherit" },
3638
- className: Se.sectionLabel,
3652
+ className: $e.sectionLabel,
3639
3653
  children: t(u)
3640
3654
  }
3641
3655
  )
@@ -3643,11 +3657,11 @@ const _e = ({
3643
3657
  `keySection${l}`
3644
3658
  );
3645
3659
  }) });
3646
- }, co = ({
3660
+ }, us = ({
3647
3661
  reactHookFormInstance: n,
3648
3662
  formObject: d,
3649
- CategoryComponent: s,
3650
- inputContainerStyles: o,
3663
+ CategoryComponent: o,
3664
+ inputContainerStyles: s,
3651
3665
  generalError: t,
3652
3666
  errorColor: r = "red",
3653
3667
  submitButtonLabel: a = "Submit",
@@ -3659,7 +3673,11 @@ const _e = ({
3659
3673
  activeCategoryColor: y = "#b32f5d",
3660
3674
  onSubmit: v = (f) => console.log("Form submitted with: ", f)
3661
3675
  }) => {
3662
- const { t: f } = $(), { handleSubmit: g, control: m } = n, b = me(() => d ? d.filter((k) => k.category).map((k) => {
3676
+ const { t: f } = $(), { handleSubmit: b, control: m } = n;
3677
+ V(() => {
3678
+ r && xe.setState(() => ({ errorColor: r }));
3679
+ }, [r]);
3680
+ const g = me(() => d ? d.filter((k) => k.category).map((k) => {
3663
3681
  var L;
3664
3682
  return {
3665
3683
  id: k.categoryId,
@@ -3667,20 +3685,20 @@ const _e = ({
3667
3685
  hasSubcategories: ((L = k.subcategories) == null ? void 0 : L.length) > 0
3668
3686
  };
3669
3687
  }) : [], [d]), _ = (k) => {
3670
- const L = d == null ? void 0 : d.find((E) => E.categoryId === k);
3688
+ const L = d == null ? void 0 : d.find((R) => R.categoryId === k);
3671
3689
  return (L == null ? void 0 : L.subcategories) || [];
3672
- }, [x, w] = D(
3690
+ }, [N, w] = D(
3673
3691
  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]);
3692
+ ), [x, S] = D(null);
3693
+ V(() => {
3694
+ !N && g.length > 0 && w(g[0].id);
3695
+ }, [g, N]), V(() => {
3696
+ const k = _(N);
3697
+ !x && (k == null ? void 0 : k.length) > 0 && S(k[0].id);
3698
+ }, [N, x, d]);
3681
3699
  const B = (k, L) => {
3682
- var E;
3683
- if (((E = k.subcategories) == null ? void 0 : E.length) > 0) {
3700
+ var R;
3701
+ if (((R = k.subcategories) == null ? void 0 : R.length) > 0) {
3684
3702
  const K = k.subcategories;
3685
3703
  return /* @__PURE__ */ p("div", { children: [
3686
3704
  /* @__PURE__ */ i(
@@ -3688,9 +3706,9 @@ const _e = ({
3688
3706
  {
3689
3707
  className: Ce.categorySelectorContainer,
3690
3708
  children: /* @__PURE__ */ i(
3691
- ct,
3709
+ dt,
3692
3710
  {
3693
- activeCategory: N,
3711
+ activeCategory: x,
3694
3712
  categories: K,
3695
3713
  onChange: (M) => S(M),
3696
3714
  activeColor: y
@@ -3699,33 +3717,33 @@ const _e = ({
3699
3717
  },
3700
3718
  k.categoryId
3701
3719
  ),
3702
- K.map((M, Z) => {
3703
- const j = !N || M.id === N;
3704
- return s ? /* @__PURE__ */ i(
3720
+ K.map((M, j) => {
3721
+ const Z = !x || M.id === x;
3722
+ return o ? /* @__PURE__ */ i(
3705
3723
  "div",
3706
3724
  {
3707
3725
  style: {
3708
- display: j ? "block" : "none",
3726
+ // visibility: isVisible ? "visible" : "hidden",
3709
3727
  width: "100%"
3710
3728
  },
3711
- children: /* @__PURE__ */ i(s, { title: M.label, children: /* @__PURE__ */ i(
3729
+ children: /* @__PURE__ */ i(o, { title: M.label, children: /* @__PURE__ */ i(
3712
3730
  _e,
3713
3731
  {
3714
3732
  inputs: M.inputs,
3715
3733
  control: m,
3716
- inputContainerStyles: o,
3734
+ inputContainerStyles: s,
3717
3735
  errorColor: r,
3718
3736
  reactHookFormInstance: n
3719
3737
  }
3720
3738
  ) }, M.id)
3721
3739
  },
3722
- `${M.id}${Z}`
3740
+ `${M.id}${j}`
3723
3741
  ) : /* @__PURE__ */ p(
3724
3742
  "div",
3725
3743
  {
3726
3744
  style: {
3727
3745
  width: "100%",
3728
- display: j ? "block" : "none"
3746
+ display: Z ? "block" : "none"
3729
3747
  },
3730
3748
  children: [
3731
3749
  /* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: f(M.label) }),
@@ -3734,24 +3752,24 @@ const _e = ({
3734
3752
  {
3735
3753
  inputs: M.inputs,
3736
3754
  control: m,
3737
- inputContainerStyles: o,
3755
+ inputContainerStyles: s,
3738
3756
  errorColor: r,
3739
3757
  reactHookFormInstance: n
3740
3758
  }
3741
3759
  )
3742
3760
  ]
3743
3761
  },
3744
- `${M.id}${Z}`
3762
+ `${M.id}${j}`
3745
3763
  );
3746
3764
  })
3747
3765
  ] });
3748
3766
  }
3749
- return s ? /* @__PURE__ */ i(s, { title: k.category, children: /* @__PURE__ */ i(
3767
+ return o ? /* @__PURE__ */ i(o, { title: k.category, children: /* @__PURE__ */ i(
3750
3768
  _e,
3751
3769
  {
3752
3770
  inputs: k.inputs,
3753
3771
  control: m,
3754
- inputContainerStyles: o,
3772
+ inputContainerStyles: s,
3755
3773
  errorColor: r,
3756
3774
  reactHookFormInstance: n
3757
3775
  }
@@ -3762,64 +3780,67 @@ const _e = ({
3762
3780
  {
3763
3781
  inputs: k.inputs,
3764
3782
  control: m,
3765
- inputContainerStyles: o,
3783
+ inputContainerStyles: s,
3766
3784
  errorColor: r,
3767
3785
  reactHookFormInstance: n
3768
3786
  }
3769
3787
  )
3770
3788
  ] }, k.categoryId);
3771
3789
  };
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,
3790
+ return /* @__PURE__ */ p("form", { className: Ce.formContainer, onSubmit: b(v), children: [
3791
+ c && g.length > 0 && /* @__PURE__ */ i("div", { className: Ce.categorySelectorContainer, children: /* @__PURE__ */ i(
3792
+ dt,
3775
3793
  {
3776
- activeCategory: x,
3777
- categories: b,
3794
+ activeCategory: N,
3795
+ categories: g,
3778
3796
  onChange: (k) => {
3779
3797
  w(k), S(null);
3780
3798
  },
3781
3799
  activeColor: y
3782
3800
  }
3783
3801
  ) }),
3784
- /* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((k, L) => (console.log("section: ", k), k.category ? /* @__PURE__ */ i(
3785
- "div",
3786
- {
3787
- style: {
3788
- display: x === k.categoryId ? "block" : "none",
3789
- width: "100%"
3802
+ /* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((k, L) => {
3803
+ const R = k.categoryId === N;
3804
+ return k.category && !R ? null : k.category && R ? /* @__PURE__ */ i(
3805
+ "div",
3806
+ {
3807
+ style: {
3808
+ // visibility: section.categoryId ? "visible" : "hidden",
3809
+ width: "100%"
3810
+ },
3811
+ children: B(k)
3790
3812
  },
3791
- children: B(k)
3792
- },
3793
- k.categoryId
3794
- ) : /* @__PURE__ */ i(
3795
- _e,
3796
- {
3797
- inputs: k.inputs,
3798
- control: m,
3799
- inputContainerStyles: o,
3800
- errorColor: r,
3801
- reactHookFormInstance: n
3802
- }
3803
- ))) }),
3813
+ k.categoryId
3814
+ ) : /* @__PURE__ */ i(
3815
+ _e,
3816
+ {
3817
+ inputs: k.inputs,
3818
+ control: m,
3819
+ inputContainerStyles: s,
3820
+ errorColor: r,
3821
+ reactHookFormInstance: n
3822
+ }
3823
+ );
3824
+ }) }),
3804
3825
  /* @__PURE__ */ p("div", { className: Ce.buttonContainer, children: [
3805
- /* @__PURE__ */ i(Le, { containerStyles: l, type: "submit", children: f(a) }),
3826
+ /* @__PURE__ */ i(Te, { containerStyles: l, type: "submit", children: f(a) }),
3806
3827
  /* @__PURE__ */ i(we, { errorMessage: t, errorColor: r })
3807
3828
  ] })
3808
3829
  ] });
3809
- }, 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 = {
3810
- overlay: Xi,
3811
- modal: Ji,
3812
- closeButton: es,
3813
- icon: ts,
3814
- message: ns,
3815
- submessage: is,
3816
- buttonsContainer: ss,
3817
- buttonWrapper: os
3818
- }, rs = ({
3830
+ }, Ji = "_overlay_mnd4j_2", eo = "_modal_mnd4j_15", to = "_closeButton_mnd4j_29", no = "_icon_mnd4j_39", io = "_message_mnd4j_45", oo = "_submessage_mnd4j_51", so = "_buttonsContainer_mnd4j_57", ro = "_buttonWrapper_mnd4j_64", Y = {
3831
+ overlay: Ji,
3832
+ modal: eo,
3833
+ closeButton: to,
3834
+ icon: no,
3835
+ message: io,
3836
+ submessage: oo,
3837
+ buttonsContainer: so,
3838
+ buttonWrapper: ro
3839
+ }, ao = ({
3819
3840
  onClose: n,
3820
3841
  icon: d,
3821
- message: s,
3822
- submessage: o,
3842
+ message: o,
3843
+ submessage: s,
3823
3844
  buttons: t,
3824
3845
  maxHeight: r = "450px",
3825
3846
  maxWidth: a = "450px"
@@ -3831,13 +3852,13 @@ const _e = ({
3831
3852
  children: [
3832
3853
  /* @__PURE__ */ i("button", { className: Y.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
3833
3854
  d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className: Y.icon }),
3834
- /* @__PURE__ */ i("p", { className: Y.message, children: s }),
3835
- o && /* @__PURE__ */ i("p", { className: Y.submessage, children: o }),
3855
+ /* @__PURE__ */ i("p", { className: Y.message, children: o }),
3856
+ s && /* @__PURE__ */ i("p", { className: Y.submessage, children: s }),
3836
3857
  t.length > 0 && /* @__PURE__ */ i("div", { className: Y.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ i("div", { className: Y.buttonWrapper, children: l }, c)) })
3837
3858
  ]
3838
3859
  }
3839
3860
  ) });
3840
- rs.propTypes = {
3861
+ ao.propTypes = {
3841
3862
  /** Función que se ejecuta al clicar la "X" de cierre */
3842
3863
  onClose: e.func.isRequired,
3843
3864
  /** URL de la imagen opcional que aparece sobre el mensaje */
@@ -3853,18 +3874,18 @@ rs.propTypes = {
3853
3874
  /** Anchura máxima del modal (por defecto 400px) */
3854
3875
  maxWidth: e.string
3855
3876
  };
3856
- 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 = {
3857
- stepsContainer: as,
3858
- stepWrapper: ls,
3859
- circleContainer: cs,
3860
- circle: ds,
3861
- active: us,
3862
- completed: ps,
3863
- label: ms,
3864
- labelActive: hs,
3865
- connector: gs
3866
- }, Lt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: U.stepsContainer, children: n.map((s, o) => {
3867
- const t = s.status === "active", r = s.status === "completed";
3877
+ const lo = "_stepsContainer_1cyua_3", co = "_stepWrapper_1cyua_9", uo = "_circleContainer_1cyua_19", po = "_circle_1cyua_19", mo = "_active_1cyua_39", ho = "_completed_1cyua_44", go = "_label_1cyua_50", Co = "_labelActive_1cyua_56", fo = "_connector_1cyua_61", U = {
3878
+ stepsContainer: lo,
3879
+ stepWrapper: co,
3880
+ circleContainer: uo,
3881
+ circle: po,
3882
+ active: mo,
3883
+ completed: ho,
3884
+ label: go,
3885
+ labelActive: Co,
3886
+ connector: fo
3887
+ }, Mt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: U.stepsContainer, children: n.map((o, s) => {
3888
+ const t = o.status === "active", r = o.status === "completed";
3868
3889
  return /* @__PURE__ */ p("div", { className: U.stepWrapper, children: [
3869
3890
  /* @__PURE__ */ p("div", { className: U.circleContainer, children: [
3870
3891
  /* @__PURE__ */ i(
@@ -3874,22 +3895,22 @@ const as = "_stepsContainer_1cyua_3", ls = "_stepWrapper_1cyua_9", cs = "_circle
3874
3895
  ${t ? U.active : ""}
3875
3896
  ${r ? U.completed : ""}`,
3876
3897
  style: t ? { backgroundColor: d } : {},
3877
- onClick: s.onClick,
3878
- children: o + 1
3898
+ onClick: o.onClick,
3899
+ children: s + 1
3879
3900
  }
3880
3901
  ),
3881
- o < n.length - 1 && /* @__PURE__ */ i("div", { className: U.connector })
3902
+ s < n.length - 1 && /* @__PURE__ */ i("div", { className: U.connector })
3882
3903
  ] }),
3883
3904
  /* @__PURE__ */ i(
3884
3905
  "div",
3885
3906
  {
3886
3907
  className: `${U.label} ${t ? U.labelActive : ""}`,
3887
- children: s.name
3908
+ children: o.name
3888
3909
  }
3889
3910
  )
3890
- ] }, o);
3911
+ ] }, s);
3891
3912
  }) });
3892
- Lt.propTypes = {
3913
+ Mt.propTypes = {
3893
3914
  steps: e.arrayOf(
3894
3915
  e.shape({
3895
3916
  name: e.string.isRequired,
@@ -3899,47 +3920,47 @@ Lt.propTypes = {
3899
3920
  ).isRequired,
3900
3921
  activeColor: e.string
3901
3922
  };
3902
- Lt.defaultProps = {
3923
+ Mt.defaultProps = {
3903
3924
  activeColor: "#C2185B"
3904
3925
  // color por defecto
3905
3926
  };
3906
- const Cs = "_statusTextContainer_ch14r_2", fs = {
3907
- statusTextContainer: Cs
3908
- }, Tt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: fs.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
3909
- Tt.propTypes = {
3927
+ const bo = "_statusTextContainer_ch14r_2", _o = {
3928
+ statusTextContainer: bo
3929
+ }, Dt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: _o.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
3930
+ Dt.propTypes = {
3910
3931
  text: e.string,
3911
3932
  color: e.string
3912
3933
  };
3913
- Tt.defaultProps = {
3934
+ Dt.defaultProps = {
3914
3935
  color: "#C2185B"
3915
3936
  // color por defecto
3916
3937
  };
3917
- const bs = "_buttonsContainer_1c7dw_2", _s = "_button_1c7dw_2", ys = "_active_1c7dw_20", $e = {
3918
- buttonsContainer: bs,
3919
- button: _s,
3920
- active: ys
3921
- }, vs = ({
3938
+ const yo = "_buttonsContainer_1c7dw_2", vo = "_button_1c7dw_2", wo = "_active_1c7dw_20", Be = {
3939
+ buttonsContainer: yo,
3940
+ button: vo,
3941
+ active: wo
3942
+ }, xo = ({
3922
3943
  buttons: n = []
3923
3944
  }) => {
3924
3945
  const { t: d } = $();
3925
- return /* @__PURE__ */ i("div", { className: `${$e.buttonsContainer}`, children: n.map((s, o) => {
3946
+ return /* @__PURE__ */ i("div", { className: `${Be.buttonsContainer}`, children: n.map((o, s) => {
3926
3947
  const {
3927
3948
  isActive: t,
3928
3949
  name: r,
3929
3950
  onClick: a
3930
- } = s;
3951
+ } = o;
3931
3952
  return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
3932
3953
  "button",
3933
3954
  {
3934
3955
  onClick: a,
3935
- className: `${$e.button}
3936
- ${t && $e.active}`,
3937
- children: /* @__PURE__ */ i("span", { className: $e.buttonName, children: d(r) })
3956
+ className: `${Be.button}
3957
+ ${t && Be.active}`,
3958
+ children: /* @__PURE__ */ i("span", { className: Be.buttonName, children: d(r) })
3938
3959
  }
3939
- ) }, o);
3960
+ ) }, s);
3940
3961
  }) });
3941
3962
  };
3942
- vs.propTypes = {
3963
+ xo.propTypes = {
3943
3964
  buttons: e.arrayOf(
3944
3965
  e.shape({
3945
3966
  isActive: e.bool,
@@ -3949,16 +3970,16 @@ vs.propTypes = {
3949
3970
  })
3950
3971
  ).isRequired
3951
3972
  };
3952
- const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelLeft_194wl_9", ks = "_slider_194wl_28", Ss = "_disabled_194wl_54", ue = {
3953
- switchContainer: ws,
3954
- labelRight: xs,
3955
- labelLeft: Ns,
3973
+ const No = "_switchContainer_194wl_2", ko = "_labelRight_194wl_9", So = "_labelLeft_194wl_9", $o = "_slider_194wl_28", Bo = "_disabled_194wl_54", ue = {
3974
+ switchContainer: No,
3975
+ labelRight: ko,
3976
+ labelLeft: So,
3956
3977
  switch: "_switch_194wl_2",
3957
- slider: ks,
3958
- disabled: Ss
3959
- }, $s = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
3978
+ slider: $o,
3979
+ disabled: Bo
3980
+ }, Lo = ({ input: n, reactHookFormInstance: d, onChange: o }) => {
3960
3981
  const {
3961
- code: o,
3982
+ code: s,
3962
3983
  labelLeft: t,
3963
3984
  labelRight: r,
3964
3985
  defValue: a = !1,
@@ -3966,8 +3987,8 @@ const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelL
3966
3987
  disabled: c = !1,
3967
3988
  width: u = 240
3968
3989
  } = n, { t: h } = $(), { control: C } = d || {}, [y, v] = D(a), f = (m) => {
3969
- v(m), s && s(m);
3970
- }, g = (m, b) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
3990
+ v(m), o && o(m);
3991
+ }, b = (m, g) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
3971
3992
  t && /* @__PURE__ */ i(
3972
3993
  "span",
3973
3994
  {
@@ -3982,7 +4003,7 @@ const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelL
3982
4003
  {
3983
4004
  type: "checkbox",
3984
4005
  checked: !!m,
3985
- onChange: () => b(!m),
4006
+ onChange: () => g(!m),
3986
4007
  disabled: c
3987
4008
  }
3988
4009
  ),
@@ -4001,14 +4022,14 @@ const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelL
4001
4022
  return d ? /* @__PURE__ */ i(
4002
4023
  ve,
4003
4024
  {
4004
- name: o,
4025
+ name: s,
4005
4026
  control: C,
4006
4027
  defaultValue: a,
4007
- render: ({ field: m }) => g(m.value, m.onChange)
4028
+ render: ({ field: m }) => b(m.value, m.onChange)
4008
4029
  }
4009
- ) : g(y, f);
4030
+ ) : b(y, f);
4010
4031
  };
4011
- $s.propTypes = {
4032
+ Lo.propTypes = {
4012
4033
  input: e.shape({
4013
4034
  code: e.string,
4014
4035
  labelLeft: e.string,
@@ -4020,17 +4041,17 @@ $s.propTypes = {
4020
4041
  reactHookFormInstance: e.object,
4021
4042
  onChange: e.func
4022
4043
  };
4023
- const Bs = "_header_13kbt_2", Ls = "_leftComponents_13kbt_13", Ts = "_centerComponents_13kbt_14", Ms = "_rightComponents_13kbt_15", Ds = "_componentsContainer_13kbt_32", ne = {
4024
- header: Bs,
4025
- leftComponents: Ls,
4026
- centerComponents: Ts,
4027
- rightComponents: Ms,
4028
- componentsContainer: Ds
4029
- }, Fs = ({
4044
+ const To = "_header_13kbt_2", Mo = "_leftComponents_13kbt_13", Do = "_centerComponents_13kbt_14", Fo = "_rightComponents_13kbt_15", Vo = "_componentsContainer_13kbt_32", ne = {
4045
+ header: To,
4046
+ leftComponents: Mo,
4047
+ centerComponents: Do,
4048
+ rightComponents: Fo,
4049
+ componentsContainer: Vo
4050
+ }, Ao = ({
4030
4051
  cssProps: n,
4031
4052
  leftComponents: d = [],
4032
- centerComponents: s = [],
4033
- rightComponents: o = [],
4053
+ centerComponents: o = [],
4054
+ rightComponents: s = [],
4034
4055
  zIndex: t = 10,
4035
4056
  height: r = 60,
4036
4057
  backgroundColor: a = "#605B56",
@@ -4050,12 +4071,12 @@ const Bs = "_header_13kbt_2", Ls = "_leftComponents_13kbt_13", Ts = "_centerComp
4050
4071
  },
4051
4072
  children: [
4052
4073
  /* @__PURE__ */ i("div", { className: ne.leftComponents, children: d.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
4053
- /* @__PURE__ */ i("div", { className: ne.centerComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
4054
- /* @__PURE__ */ i("div", { className: ne.rightComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) })
4074
+ /* @__PURE__ */ i("div", { className: ne.centerComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
4075
+ /* @__PURE__ */ i("div", { className: ne.rightComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) })
4055
4076
  ]
4056
4077
  }
4057
4078
  );
4058
- Fs.propTypes = {
4079
+ Ao.propTypes = {
4059
4080
  leftComponents: e.arrayOf(e.node),
4060
4081
  centerComponents: e.arrayOf(e.node),
4061
4082
  rightComponents: e.arrayOf(e.node),
@@ -4065,69 +4086,69 @@ Fs.propTypes = {
4065
4086
  backgroundColor: e.string,
4066
4087
  isFooter: e.bool
4067
4088
  };
4068
- const Vs = "_sidebar_1fmjn_2", As = "_open_1fmjn_16", Is = "_content_1fmjn_20", Rs = "_closeButton_1fmjn_26", Be = {
4069
- sidebar: Vs,
4070
- open: As,
4071
- content: Is,
4072
- closeButton: Rs
4073
- }, 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 = ({
4089
+ const Io = "_sidebar_1fmjn_2", Oo = "_open_1fmjn_16", Ro = "_content_1fmjn_20", qo = "_closeButton_1fmjn_26", Le = {
4090
+ sidebar: Io,
4091
+ open: Oo,
4092
+ content: Ro,
4093
+ closeButton: qo
4094
+ }, Eo = "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", Po = ({
4074
4095
  width: n = "300px",
4075
4096
  children: d,
4076
- showRightBar: s,
4077
- onCloseBar: o
4097
+ showRightBar: o,
4098
+ onCloseBar: s
4078
4099
  }) => {
4079
4100
  const t = () => {
4080
- o();
4101
+ s();
4081
4102
  };
4082
4103
  return /* @__PURE__ */ i(
4083
4104
  "div",
4084
4105
  {
4085
- className: `${Be.sidebar} ${s ? Be.open : ""}`,
4086
- style: { width: s ? n : 0 },
4087
- children: s && /* @__PURE__ */ p("div", { className: Be.content, children: [
4088
- /* @__PURE__ */ i("button", { className: Be.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Os, alt: "Close Sidebar" }) }),
4106
+ className: `${Le.sidebar} ${o ? Le.open : ""}`,
4107
+ style: { width: o ? n : 0 },
4108
+ children: o && /* @__PURE__ */ p("div", { className: Le.content, children: [
4109
+ /* @__PURE__ */ i("button", { className: Le.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Eo, alt: "Close Sidebar" }) }),
4089
4110
  d
4090
4111
  ] })
4091
4112
  }
4092
4113
  );
4093
4114
  };
4094
- qs.propTypes = {
4115
+ Po.propTypes = {
4095
4116
  width: e.string,
4096
4117
  children: e.node,
4097
4118
  showRightBar: e.bool,
4098
4119
  onCloseBar: e.func
4099
4120
  };
4100
4121
  export {
4101
- y2 as AmbitSelector,
4102
- vs as ButtonsBar,
4103
- D2 as ButtonsList,
4104
- oe as DropdownList,
4105
- io as EditAmbit,
4122
+ v2 as AmbitSelector,
4123
+ xo as ButtonsBar,
4124
+ F2 as ButtonsList,
4125
+ se as DropdownList,
4126
+ ss as EditAmbit,
4106
4127
  we as ErrorMessage,
4107
4128
  sn as FiltersAmbit,
4108
- co as Form,
4109
- Le as GeneralButton,
4110
- cn as Graphic,
4111
- Fs as HeaderSection,
4112
- $n as IndicatorsList,
4113
- Fn as LangSelector,
4114
- Wn as Legend,
4115
- X0 as ListSelector,
4116
- B0 as LogInButton,
4117
- Qn as LogoApp,
4118
- e0 as MapboxMap,
4119
- r0 as MaplibreMap,
4120
- rs as ModalAlert,
4121
- Ei as RadioButtonInput,
4122
- Bt as RankingSlider,
4123
- qs as RightSidebar,
4124
- m0 as SectionBar,
4125
- Fi as SelectInput,
4126
- Tt as StatusText,
4127
- Lt as Steps,
4128
- $s as Switch,
4129
- lt as TextInput,
4130
- v0 as TimeSlider,
4129
+ us as Form,
4130
+ Te as GeneralButton,
4131
+ dn as Graphic,
4132
+ Ao as HeaderSection,
4133
+ Bn as IndicatorsList,
4134
+ Vn as LangSelector,
4135
+ Yn as Legend,
4136
+ J0 as ListSelector,
4137
+ L0 as LogInButton,
4138
+ Xn as LogoApp,
4139
+ t0 as MapboxMap,
4140
+ a0 as MaplibreMap,
4141
+ ao as ModalAlert,
4142
+ Pi as RadioButtonInput,
4143
+ Tt as RankingSlider,
4144
+ Po as RightSidebar,
4145
+ h0 as SectionBar,
4146
+ Vi as SelectInput,
4147
+ Dt as StatusText,
4148
+ Mt as Steps,
4149
+ Lo as Switch,
4150
+ ct as TextInput,
4151
+ w0 as TimeSlider,
4131
4152
  ie as Tooltip,
4132
- k0 as TopNavMenu
4153
+ S0 as TopNavMenu
4133
4154
  };