@tmf_ciclica/ciclicastorybook 1.1.149 → 1.1.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +833 -828
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_invf2_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_invf2_16{border-left:1px solid #ddd}._content_invf2_20{position:relative;padding:20px}._closeButton_invf2_25{position:fixed;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_invf2_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as p, jsx as i, Fragment as Oe } from "react/jsx-runtime";
|
|
3
|
-
import * as
|
|
4
|
-
import B, { useState as
|
|
3
|
+
import * as pe from "react";
|
|
4
|
+
import B, { useState as L, useEffect as T, useMemo as fe, useLayoutEffect as Tt, useRef as ie } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as $, Trans as Ze } from "react-i18next";
|
|
7
7
|
import { motion as ze } from "framer-motion";
|
|
@@ -18,7 +18,7 @@ import Ht from "@mui/material/Slider";
|
|
|
18
18
|
import { createTheme as Ut, Box as Gt } from "@mui/material";
|
|
19
19
|
import { ThemeProvider as Wt } from "@emotion/react";
|
|
20
20
|
import { NavLink as Yt } from "react-router-dom";
|
|
21
|
-
const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateContainer_mcunf_23", e2 = "_ambitName_mcunf_39", t2 = "_ambitDate_mcunf_53", n2 = "_buttonsContainer_mcunf_67", i2 = "_ambitListContainer_mcunf_76", s2 = "_newAmbitButtonContainer_mcunf_80",
|
|
21
|
+
const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateContainer_mcunf_23", e2 = "_ambitName_mcunf_39", t2 = "_ambitDate_mcunf_53", n2 = "_buttonsContainer_mcunf_67", i2 = "_ambitListContainer_mcunf_76", s2 = "_newAmbitButtonContainer_mcunf_80", G = {
|
|
22
22
|
ambitSelector: Qt,
|
|
23
23
|
header: Xt,
|
|
24
24
|
nameDateContainer: Jt,
|
|
@@ -27,7 +27,7 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
27
27
|
buttonsContainer: n2,
|
|
28
28
|
ambitListContainer: i2,
|
|
29
29
|
newAmbitButtonContainer: s2
|
|
30
|
-
}, o2 = "_ambitItem_1qa6u_2", r2 = "_ambitNameDate_1qa6u_16", a2 = "_ambitName_1qa6u_16", l2 = "_ambitDate_1qa6u_35", c2 = "_ambitButtons_1qa6u_38",
|
|
30
|
+
}, o2 = "_ambitItem_1qa6u_2", r2 = "_ambitNameDate_1qa6u_16", a2 = "_ambitName_1qa6u_16", l2 = "_ambitDate_1qa6u_35", c2 = "_ambitButtons_1qa6u_38", me = {
|
|
31
31
|
ambitItem: o2,
|
|
32
32
|
ambitNameDate: r2,
|
|
33
33
|
ambitName: a2,
|
|
@@ -44,15 +44,15 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: h, id: C, isBeingProcessed: y } = n;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: me.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className:
|
|
55
|
-
/* @__PURE__ */ p("div", { className:
|
|
54
|
+
/* @__PURE__ */ p("div", { className: me.ambitNameDate, onClick: () => t(C), children: [
|
|
55
|
+
/* @__PURE__ */ p("div", { className: me.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ i(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -62,10 +62,10 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ i("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ i("div", { className:
|
|
65
|
+
/* @__PURE__ */ i("div", { className: me.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ p("div", { className:
|
|
68
|
-
|
|
67
|
+
/* @__PURE__ */ p("div", { className: me.ambitButtons, children: [
|
|
68
|
+
y && /* @__PURE__ */ i("img", { src: m2 }),
|
|
69
69
|
/* @__PURE__ */ i("button", { onClick: () => o(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: p2 }) }),
|
|
70
70
|
/* @__PURE__ */ i("button", { onClick: () => d(C), children: /* @__PURE__ */ i("img", { src: u2 }) }),
|
|
71
71
|
/* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: d2 }) })
|
|
@@ -127,68 +127,68 @@ const We = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
127
127
|
buttonContainerStyles: l = {},
|
|
128
128
|
containerStyles: c = {},
|
|
129
129
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
130
|
-
onClickCopy:
|
|
131
|
-
onCLickDelete: C = (
|
|
132
|
-
onClickFilters:
|
|
133
|
-
onClickAmbit:
|
|
130
|
+
onClickCopy: h = (f) => console.log(`Copy ambit: ${f}`),
|
|
131
|
+
onCLickDelete: C = (f) => console.log(`Delete ambit: ${f}`),
|
|
132
|
+
onClickFilters: y = (f) => console.log(`Filters clicked: ${f}`),
|
|
133
|
+
onClickAmbit: v = (f) => console.log(`OnCLickAmbit: ${f}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t:
|
|
136
|
-
|
|
137
|
-
n &&
|
|
135
|
+
const { t: f } = $(), [g, m] = L(n);
|
|
136
|
+
T(() => {
|
|
137
|
+
n && m(n);
|
|
138
138
|
}, [n]);
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
141
|
-
let
|
|
142
|
-
|
|
139
|
+
const b = (_) => {
|
|
140
|
+
if (g && g.length > 0) {
|
|
141
|
+
let N = [...g];
|
|
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
|
-
className:
|
|
148
|
+
className: G.ambitSelector,
|
|
149
149
|
style: { color: s, ...c },
|
|
150
150
|
children: [
|
|
151
151
|
/* @__PURE__ */ p(
|
|
152
152
|
"div",
|
|
153
153
|
{
|
|
154
|
-
className:
|
|
154
|
+
className: G.header,
|
|
155
155
|
style: { borderBottom: `1px solid ${s}` },
|
|
156
156
|
children: [
|
|
157
|
-
/* @__PURE__ */ p("div", { className:
|
|
158
|
-
/* @__PURE__ */ i("div", { className:
|
|
159
|
-
/* @__PURE__ */ i("span", { children:
|
|
157
|
+
/* @__PURE__ */ p("div", { className: G.nameDateContainer, children: [
|
|
158
|
+
/* @__PURE__ */ i("div", { className: G.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
159
|
+
/* @__PURE__ */ i("span", { children: f(t) }),
|
|
160
160
|
/* @__PURE__ */ i("img", { src: We })
|
|
161
161
|
] }) }),
|
|
162
|
-
/* @__PURE__ */ i("div", { className:
|
|
163
|
-
/* @__PURE__ */ i("span", { children:
|
|
162
|
+
/* @__PURE__ */ i("div", { className: G.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
163
|
+
/* @__PURE__ */ i("span", { children: f(r) }),
|
|
164
164
|
/* @__PURE__ */ i("img", { src: We })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
167
|
-
/* @__PURE__ */ i("div", { className:
|
|
167
|
+
/* @__PURE__ */ i("div", { className: G.buttonsContainer })
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
),
|
|
171
|
-
/* @__PURE__ */ i("div", { className:
|
|
171
|
+
/* @__PURE__ */ i("div", { className: G.ambitListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ i(
|
|
172
172
|
lt,
|
|
173
173
|
{
|
|
174
|
-
isActive: d ==
|
|
175
|
-
ambit:
|
|
174
|
+
isActive: d == _.id,
|
|
175
|
+
ambit: _,
|
|
176
176
|
fontColor: s,
|
|
177
177
|
activeColor: o,
|
|
178
|
-
onClickCopy:
|
|
178
|
+
onClickCopy: h,
|
|
179
179
|
onClickDelete: C,
|
|
180
|
-
onClickFilters:
|
|
181
|
-
onClickAmbit:
|
|
180
|
+
onClickFilters: y,
|
|
181
|
+
onClickAmbit: v
|
|
182
182
|
},
|
|
183
|
-
`ambitKey${
|
|
183
|
+
`ambitKey${_.id}`
|
|
184
184
|
)) }),
|
|
185
|
-
/* @__PURE__ */ i("div", { className:
|
|
185
|
+
/* @__PURE__ */ i("div", { className: G.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
186
186
|
$e,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
190
190
|
borderColor: "grey",
|
|
191
|
-
children:
|
|
191
|
+
children: f(a)
|
|
192
192
|
}
|
|
193
193
|
) })
|
|
194
194
|
]
|
|
@@ -255,28 +255,28 @@ const T2 = ({
|
|
|
255
255
|
children: n.map((l, c) => {
|
|
256
256
|
const {
|
|
257
257
|
icon: u,
|
|
258
|
-
activeIcon:
|
|
258
|
+
activeIcon: h,
|
|
259
259
|
isActive: C,
|
|
260
|
-
name:
|
|
261
|
-
onClick:
|
|
262
|
-
disabled:
|
|
263
|
-
} = l,
|
|
264
|
-
s && o === "left" && /* @__PURE__ */ i("span", { className: Q.buttonName, children: a(
|
|
265
|
-
/* @__PURE__ */ i("img", { src: C ?
|
|
266
|
-
s && o === "right" && /* @__PURE__ */ i("span", { className: Q.buttonName, children: a(
|
|
260
|
+
name: y,
|
|
261
|
+
onClick: v,
|
|
262
|
+
disabled: f
|
|
263
|
+
} = l, g = /* @__PURE__ */ p(Oe, { children: [
|
|
264
|
+
s && o === "left" && /* @__PURE__ */ i("span", { className: Q.buttonName, children: a(y) }),
|
|
265
|
+
/* @__PURE__ */ i("img", { src: C ? h : u, alt: a(y) }),
|
|
266
|
+
s && o === "right" && /* @__PURE__ */ i("span", { className: Q.buttonName, children: a(y) })
|
|
267
267
|
] });
|
|
268
268
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
269
269
|
/* @__PURE__ */ i(
|
|
270
270
|
"button",
|
|
271
271
|
{
|
|
272
|
-
onClick:
|
|
272
|
+
onClick: v,
|
|
273
273
|
className: `${Q.button}
|
|
274
274
|
${C && Q.active}`,
|
|
275
|
-
disabled:
|
|
276
|
-
children:
|
|
275
|
+
disabled: f,
|
|
276
|
+
children: g
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
|
-
t && /* @__PURE__ */ i(ne, { text:
|
|
279
|
+
t && /* @__PURE__ */ i(ne, { text: y, position: r })
|
|
280
280
|
] }, c);
|
|
281
281
|
})
|
|
282
282
|
}
|
|
@@ -317,7 +317,7 @@ const M2 = "_indicatorsCategory_1cu33_2", D2 = "_title_1cu33_5", Be = {
|
|
|
317
317
|
showBottomBar: c = !0,
|
|
318
318
|
titleMarginChildren: u = 25
|
|
319
319
|
}) => {
|
|
320
|
-
const { t:
|
|
320
|
+
const { t: h } = $();
|
|
321
321
|
return /* @__PURE__ */ p(
|
|
322
322
|
ze.div,
|
|
323
323
|
{
|
|
@@ -342,7 +342,7 @@ const M2 = "_indicatorsCategory_1cu33_2", D2 = "_title_1cu33_5", Be = {
|
|
|
342
342
|
onClick: d,
|
|
343
343
|
children: [
|
|
344
344
|
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
345
|
-
/* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t : o }, children:
|
|
345
|
+
/* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t : o }, children: h(r) })
|
|
346
346
|
]
|
|
347
347
|
}
|
|
348
348
|
),
|
|
@@ -374,8 +374,8 @@ const Qs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), F2 = "data
|
|
|
374
374
|
inputsColor: "#605B56"
|
|
375
375
|
})), ct = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
376
376
|
const { t: a } = $(), { tematicalFiltersSelected: l } = A((u) => u), c = (u) => {
|
|
377
|
-
A.setState((
|
|
378
|
-
tematicalFiltersSelected:
|
|
377
|
+
A.setState((h) => ({
|
|
378
|
+
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
379
379
|
(C) => C.code !== u
|
|
380
380
|
)
|
|
381
381
|
}));
|
|
@@ -387,10 +387,10 @@ const Qs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), F2 = "data
|
|
|
387
387
|
onClick: d,
|
|
388
388
|
title: n ? a(n) : "Applied Filters",
|
|
389
389
|
activeColor: r,
|
|
390
|
-
children: /* @__PURE__ */ i("div", { className: Ye.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u,
|
|
390
|
+
children: /* @__PURE__ */ i("div", { className: Ye.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: Ye.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
391
391
|
a(u.name),
|
|
392
392
|
/* @__PURE__ */ i("img", { src: F2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
393
|
-
] },
|
|
393
|
+
] }, h)) })
|
|
394
394
|
}
|
|
395
395
|
);
|
|
396
396
|
};
|
|
@@ -522,19 +522,19 @@ let qe = function(n) {
|
|
|
522
522
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
523
523
|
}, t.onMouseMove = (l) => {
|
|
524
524
|
t.setState({ pending: !0 });
|
|
525
|
-
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]),
|
|
526
|
-
t.move(
|
|
525
|
+
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
526
|
+
t.move(h);
|
|
527
527
|
}, t.onTouchMove = (l) => {
|
|
528
528
|
if (l.touches.length > 1) return;
|
|
529
529
|
t.setState({ pending: !0 });
|
|
530
530
|
const c = t.getTouchPosition(l);
|
|
531
531
|
if (t.isScrolling === void 0) {
|
|
532
|
-
const C = c[0] - t.startPosition[0],
|
|
533
|
-
t.isScrolling = Math.abs(
|
|
532
|
+
const C = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
|
|
533
|
+
t.isScrolling = Math.abs(y) > Math.abs(C);
|
|
534
534
|
}
|
|
535
535
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
536
|
-
const u = t.getDiffPosition(c[0]),
|
|
537
|
-
t.move(
|
|
536
|
+
const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
537
|
+
t.move(h);
|
|
538
538
|
}, t.onKeyDown = (l) => {
|
|
539
539
|
if (!(l.ctrlKey || l.shiftKey || l.altKey || l.metaKey)) switch (t.setState({ pending: !0 }), l.key) {
|
|
540
540
|
case "ArrowLeft":
|
|
@@ -587,8 +587,8 @@ let qe = function(n) {
|
|
|
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]), we(t.getTouchEventMap()), function(
|
|
591
|
-
|
|
590
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), we(t.getTouchEventMap()), function(h) {
|
|
591
|
+
h.stopPropagation && h.stopPropagation();
|
|
592
592
|
}(c);
|
|
593
593
|
}, t.handleResize = () => {
|
|
594
594
|
const l = window.setTimeout(() => {
|
|
@@ -596,13 +596,13 @@ let qe = function(n) {
|
|
|
596
596
|
}, 0);
|
|
597
597
|
t.pendingResizeTimeouts.push(l);
|
|
598
598
|
}, t.renderThumb = (l, c) => {
|
|
599
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
600
|
-
t["thumb" + c] =
|
|
599
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (y) => {
|
|
600
|
+
t["thumb" + c] = y;
|
|
601
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: ve(t.state.value), valueNow: t.state.value[c] };
|
|
602
|
-
return t.props.ariaValuetext && (
|
|
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
|
|
605
|
-
return t.props.renderTrack(
|
|
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: ve(t.state.value) };
|
|
605
|
+
return t.props.renderTrack(h, C);
|
|
606
606
|
};
|
|
607
607
|
let r = Te(o.value);
|
|
608
608
|
r.length || (r = Te(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -633,8 +633,8 @@ let qe = function(n) {
|
|
|
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]),
|
|
637
|
-
|
|
636
|
+
const u = this.calcOffset(a[c]), h = Math.abs(o - u);
|
|
637
|
+
h < t && (t = h, r = c);
|
|
638
638
|
}
|
|
639
639
|
return r;
|
|
640
640
|
}, s.getMousePosition = function(o) {
|
|
@@ -657,8 +657,8 @@ let qe = function(n) {
|
|
|
657
657
|
}, s.resize = function() {
|
|
658
658
|
const { slider: o, thumb0: t } = this;
|
|
659
659
|
if (!o || !t) return;
|
|
660
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()],
|
|
661
|
-
this.state.upperBound === C && this.state.sliderLength ===
|
|
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);
|
|
661
|
+
this.state.upperBound === C && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: C, sliderLength: y, thumbSize: h });
|
|
662
662
|
}, s.calcOffset = function(o) {
|
|
663
663
|
const t = this.props.max - this.props.min;
|
|
664
664
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -697,28 +697,28 @@ let qe = function(n) {
|
|
|
697
697
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
698
698
|
if (o === l) return;
|
|
699
699
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
700
|
-
const { pearling: c, max: u, min:
|
|
700
|
+
const { pearling: c, max: u, min: h, minDistance: C } = this.props;
|
|
701
701
|
if (!c) {
|
|
702
702
|
if (r > 0) {
|
|
703
|
-
const
|
|
704
|
-
o <
|
|
703
|
+
const y = t[r - 1];
|
|
704
|
+
o < y + C && (o = y + C);
|
|
705
705
|
}
|
|
706
706
|
if (r < a - 1) {
|
|
707
|
-
const
|
|
708
|
-
o >
|
|
707
|
+
const y = t[r + 1];
|
|
708
|
+
o > y - C && (o = y - C);
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, C, r), function(
|
|
712
|
-
for (let
|
|
713
|
-
const
|
|
714
|
-
y
|
|
711
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, C, r), function(y, v, f, g) {
|
|
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);
|
|
715
715
|
}
|
|
716
|
-
}(a, t, C, u)) : o < l && (this.pushPreceding(t, C, r), function(
|
|
717
|
-
for (let
|
|
718
|
-
const
|
|
719
|
-
|
|
716
|
+
}(a, t, C, u)) : o < l && (this.pushPreceding(t, C, r), function(y, v, f, g) {
|
|
717
|
+
for (let m = 0; m < y; m += 1) {
|
|
718
|
+
const b = g + m * f;
|
|
719
|
+
v[m] < b && (v[m] = b);
|
|
720
720
|
}
|
|
721
|
-
}(a, t, C,
|
|
721
|
+
}(a, t, C, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
722
722
|
}, s.pushSucceeding = function(o, t, r) {
|
|
723
723
|
let a, l;
|
|
724
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] = Re(l, this.props);
|
|
@@ -774,7 +774,7 @@ let qe = function(n) {
|
|
|
774
774
|
}(B.Component);
|
|
775
775
|
qe.displayName = "ReactSlider", qe.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) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
|
|
776
776
|
var Ee = qe;
|
|
777
|
-
const q2 = "_container_4u41i_2", E2 = "_unitLabel_4u41i_8", P2 = "_slider_4u41i_11", j2 = "_thumb_4u41i_17", Z2 = "_track_4u41i_26", z2 = "_labels_4u41i_32",
|
|
777
|
+
const q2 = "_container_4u41i_2", E2 = "_unitLabel_4u41i_8", P2 = "_slider_4u41i_11", j2 = "_thumb_4u41i_17", Z2 = "_track_4u41i_26", z2 = "_labels_4u41i_32", re = {
|
|
778
778
|
container: q2,
|
|
779
779
|
unitLabel: E2,
|
|
780
780
|
slider: P2,
|
|
@@ -792,45 +792,45 @@ const q2 = "_container_4u41i_2", E2 = "_unitLabel_4u41i_8", P2 = "_slider_4u41i_
|
|
|
792
792
|
defaultValue: l,
|
|
793
793
|
isDate: c
|
|
794
794
|
}) => {
|
|
795
|
-
const { t: u } = $(),
|
|
796
|
-
|
|
795
|
+
const { t: u } = $(), h = c ? new Date(n).getTime() : null, C = c ? new Date(d).getTime() : null, [y, v] = L(c ? [h, C] : [n, d]), f = (g) => {
|
|
796
|
+
v(g), o == null || o({ min: g[0], max: g[1] });
|
|
797
797
|
};
|
|
798
|
-
return
|
|
799
|
-
l ||
|
|
798
|
+
return T(() => {
|
|
799
|
+
l || v(c ? [h, C] : [n, d]);
|
|
800
800
|
}, [l, c]), /* @__PURE__ */ p(
|
|
801
801
|
"div",
|
|
802
802
|
{
|
|
803
|
-
className:
|
|
803
|
+
className: re.container,
|
|
804
804
|
style: { width: `${t}px`, color: `${a}` },
|
|
805
805
|
children: [
|
|
806
|
-
/* @__PURE__ */ i("div", { className:
|
|
806
|
+
/* @__PURE__ */ i("div", { className: re.unitLabel, children: /* @__PURE__ */ i("span", { children: u(r) }) }),
|
|
807
807
|
/* @__PURE__ */ i(
|
|
808
808
|
Ee,
|
|
809
809
|
{
|
|
810
|
-
className:
|
|
811
|
-
thumbClassName:
|
|
812
|
-
trackClassName:
|
|
813
|
-
min: c ?
|
|
810
|
+
className: re.slider,
|
|
811
|
+
thumbClassName: re.thumb,
|
|
812
|
+
trackClassName: re.track,
|
|
813
|
+
min: c ? h : n,
|
|
814
814
|
max: c ? C : d,
|
|
815
|
-
step: c ? (C -
|
|
816
|
-
value:
|
|
817
|
-
onAfterChange:
|
|
815
|
+
step: c ? (C - h) / 30 : s,
|
|
816
|
+
value: y,
|
|
817
|
+
onAfterChange: f,
|
|
818
818
|
withTracks: !0,
|
|
819
819
|
pearling: !c,
|
|
820
820
|
minDistance: c ? 0 : 0.1
|
|
821
821
|
}
|
|
822
822
|
),
|
|
823
|
-
/* @__PURE__ */ p("div", { className:
|
|
824
|
-
/* @__PURE__ */ i("span", { children: c ? new Date(
|
|
823
|
+
/* @__PURE__ */ p("div", { className: re.labels, children: [
|
|
824
|
+
/* @__PURE__ */ i("span", { children: c ? new Date(y[0]).toLocaleDateString("en-EN", {
|
|
825
825
|
day: "2-digit",
|
|
826
826
|
month: "short",
|
|
827
827
|
year: "numeric"
|
|
828
|
-
}) :
|
|
829
|
-
/* @__PURE__ */ i("span", { children: c ? new Date(
|
|
828
|
+
}) : y[0] }),
|
|
829
|
+
/* @__PURE__ */ i("span", { children: c ? new Date(y[1]).toLocaleDateString("en-EN", {
|
|
830
830
|
day: "2-digit",
|
|
831
831
|
month: "short",
|
|
832
832
|
year: "numeric"
|
|
833
|
-
}) :
|
|
833
|
+
}) : y[1] })
|
|
834
834
|
] })
|
|
835
835
|
]
|
|
836
836
|
}
|
|
@@ -858,41 +858,41 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
858
858
|
//onChangeBothType
|
|
859
859
|
activeColor: d
|
|
860
860
|
}) => {
|
|
861
|
-
const [s, o] =
|
|
861
|
+
const [s, o] = L(), {
|
|
862
862
|
type: t,
|
|
863
863
|
name: r,
|
|
864
864
|
values: a,
|
|
865
865
|
minValue: l,
|
|
866
866
|
maxValue: c,
|
|
867
867
|
unit: u,
|
|
868
|
-
step:
|
|
868
|
+
step: h,
|
|
869
869
|
disabled: C,
|
|
870
|
-
isDate:
|
|
871
|
-
} = n || {},
|
|
870
|
+
isDate: y
|
|
871
|
+
} = n || {}, v = fe(
|
|
872
872
|
() => t == "cat" || s == "cat",
|
|
873
873
|
[s, t]
|
|
874
|
-
),
|
|
874
|
+
), f = fe(
|
|
875
875
|
() => t == "abs" || s == "abs",
|
|
876
876
|
[s, t]
|
|
877
877
|
), {
|
|
878
|
-
tematicalFiltersSelected:
|
|
879
|
-
selectedIndicator:
|
|
880
|
-
fontColor:
|
|
881
|
-
inputsColor:
|
|
882
|
-
} = A((
|
|
883
|
-
if (console.log("onChangInput",
|
|
884
|
-
const { min: k, max: S, valueClicked:
|
|
885
|
-
console.log("type: ",
|
|
886
|
-
let j =
|
|
887
|
-
|
|
888
|
-
let
|
|
878
|
+
tematicalFiltersSelected: g,
|
|
879
|
+
selectedIndicator: m,
|
|
880
|
+
fontColor: b,
|
|
881
|
+
inputsColor: _
|
|
882
|
+
} = A((x) => x), N = (x) => {
|
|
883
|
+
if (console.log("onChangInput", x), x) {
|
|
884
|
+
const { min: k, max: S, valueClicked: q, allValues: F } = x || {}, { code: K, type: oe, source: E } = n || {}, H = f ? "abs" : v ? "cat" : "both";
|
|
885
|
+
console.log("type: ", H);
|
|
886
|
+
let j = K[0];
|
|
887
|
+
oe == "both" && (j = H == "cat" ? K[1] : K[0]), H == "cat" ? A.setState((Y) => {
|
|
888
|
+
let U = Y.tematicalFiltersSelected.find(
|
|
889
889
|
(O) => O.code === j
|
|
890
890
|
);
|
|
891
|
-
if (
|
|
892
|
-
let O = [
|
|
893
|
-
return
|
|
894
|
-
(R) => R !==
|
|
895
|
-
) : O = [...
|
|
891
|
+
if (U) {
|
|
892
|
+
let O = [U.values];
|
|
893
|
+
return U.values.includes(q) ? O = U.values.filter(
|
|
894
|
+
(R) => R !== q
|
|
895
|
+
) : O = [...U.values, q], O.length == F.length ? {
|
|
896
896
|
tematicalFiltersSelected: Y.tematicalFiltersSelected.filter(
|
|
897
897
|
(R) => R.code !== j
|
|
898
898
|
)
|
|
@@ -902,23 +902,23 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
902
902
|
)
|
|
903
903
|
};
|
|
904
904
|
} else {
|
|
905
|
-
let O =
|
|
905
|
+
let O = F.map((R, Lt) => Lt);
|
|
906
906
|
return {
|
|
907
907
|
tematicalFiltersSelected: [
|
|
908
|
-
...
|
|
908
|
+
...g,
|
|
909
909
|
{
|
|
910
910
|
type: "cat",
|
|
911
911
|
code: j,
|
|
912
|
-
values: O.filter((R) => R !==
|
|
912
|
+
values: O.filter((R) => R !== q),
|
|
913
913
|
name: n.name,
|
|
914
|
-
source:
|
|
915
|
-
isDate:
|
|
914
|
+
source: E,
|
|
915
|
+
isDate: y
|
|
916
916
|
}
|
|
917
917
|
]
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
|
-
}) :
|
|
921
|
-
let
|
|
920
|
+
}) : H == "abs" && A.setState((Y) => {
|
|
921
|
+
let U = Y.tematicalFiltersSelected.find(
|
|
922
922
|
(O) => O.code === j
|
|
923
923
|
);
|
|
924
924
|
if (k == n.minValue && S == n.maxValue)
|
|
@@ -927,8 +927,8 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
927
927
|
(O) => O.code !== j
|
|
928
928
|
)
|
|
929
929
|
};
|
|
930
|
-
if (
|
|
931
|
-
let O = { ...
|
|
930
|
+
if (U) {
|
|
931
|
+
let O = { ...U, min: k, max: S, type: H, isDate: y };
|
|
932
932
|
return {
|
|
933
933
|
tematicalFiltersSelected: Y.tematicalFiltersSelected.map(
|
|
934
934
|
(R) => R.code === j ? O : R
|
|
@@ -937,9 +937,9 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
937
937
|
} else
|
|
938
938
|
return {
|
|
939
939
|
tematicalFiltersSelected: [
|
|
940
|
-
...
|
|
940
|
+
...g,
|
|
941
941
|
{
|
|
942
|
-
type:
|
|
942
|
+
type: H,
|
|
943
943
|
code: j,
|
|
944
944
|
min: k,
|
|
945
945
|
max: S,
|
|
@@ -950,13 +950,13 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
950
950
|
};
|
|
951
951
|
});
|
|
952
952
|
}
|
|
953
|
-
}, w =
|
|
954
|
-
const
|
|
955
|
-
if ((
|
|
956
|
-
for (const k of
|
|
957
|
-
k.type === "cat" ?
|
|
958
|
-
return
|
|
959
|
-
}, [
|
|
953
|
+
}, w = fe(() => {
|
|
954
|
+
const x = {};
|
|
955
|
+
if ((g == null ? void 0 : g.length) > 0)
|
|
956
|
+
for (const k of g)
|
|
957
|
+
k.type === "cat" ? x[k.code] = new Set(k.values) : x[k.code] = [k.min, k.max];
|
|
958
|
+
return x;
|
|
959
|
+
}, [g]);
|
|
960
960
|
return /* @__PURE__ */ i("div", { className: xe.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
961
961
|
se,
|
|
962
962
|
{
|
|
@@ -966,24 +966,24 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
966
966
|
opacity: C ? 0.5 : 1
|
|
967
967
|
},
|
|
968
968
|
title: r,
|
|
969
|
-
isOpen:
|
|
969
|
+
isOpen: m == `id${r}`,
|
|
970
970
|
onClick: () => {
|
|
971
971
|
C || A.setState(() => ({
|
|
972
|
-
selectedIndicator:
|
|
972
|
+
selectedIndicator: m == `id${r}` ? "" : `id${r}`
|
|
973
973
|
}));
|
|
974
974
|
},
|
|
975
975
|
showBottomBar: !1,
|
|
976
976
|
height: 42,
|
|
977
977
|
titleMarginChildren: 14,
|
|
978
978
|
className: "tematicalFiltersInputContainer",
|
|
979
|
-
color:
|
|
979
|
+
color: b,
|
|
980
980
|
activeColor: d,
|
|
981
981
|
children: [
|
|
982
982
|
t == "both" && /* @__PURE__ */ p(
|
|
983
983
|
"div",
|
|
984
984
|
{
|
|
985
985
|
className: xe.inputTypeContainer,
|
|
986
|
-
style: { color:
|
|
986
|
+
style: { color: b },
|
|
987
987
|
children: [
|
|
988
988
|
/* @__PURE__ */ p("label", { children: [
|
|
989
989
|
/* @__PURE__ */ i(
|
|
@@ -997,8 +997,8 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
997
997
|
},
|
|
998
998
|
style: {
|
|
999
999
|
marginRight: 4,
|
|
1000
|
-
backgroundColor: s == "abs" ?
|
|
1001
|
-
border: `1.5px solid ${s == "abs" ?
|
|
1000
|
+
backgroundColor: s == "abs" ? _ : "white",
|
|
1001
|
+
border: `1.5px solid ${s == "abs" ? _ : b}`
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
),
|
|
@@ -1016,8 +1016,8 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1016
1016
|
},
|
|
1017
1017
|
style: {
|
|
1018
1018
|
marginRight: 4,
|
|
1019
|
-
backgroundColor: s == "cat" ?
|
|
1020
|
-
border: `1.5px solid ${s == "cat" ?
|
|
1019
|
+
backgroundColor: s == "cat" ? _ : "white",
|
|
1020
|
+
border: `1.5px solid ${s == "cat" ? _ : b}`
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
),
|
|
@@ -1026,28 +1026,28 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1026
1026
|
]
|
|
1027
1027
|
}
|
|
1028
1028
|
),
|
|
1029
|
-
|
|
1029
|
+
v && /* @__PURE__ */ i("div", { className: xe.checkboxContainer, children: a.map((x, k) => {
|
|
1030
1030
|
var S;
|
|
1031
1031
|
return /* @__PURE__ */ i(
|
|
1032
1032
|
ut,
|
|
1033
1033
|
{
|
|
1034
|
-
onClick: () =>
|
|
1035
|
-
indicator:
|
|
1034
|
+
onClick: () => N({ valueClicked: k, allValues: a }),
|
|
1035
|
+
indicator: x,
|
|
1036
1036
|
value: ((S = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(k)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1037
1037
|
},
|
|
1038
1038
|
`checkbox-${k}`
|
|
1039
1039
|
);
|
|
1040
1040
|
}) }),
|
|
1041
|
-
(
|
|
1041
|
+
(f || t == "glb") && /* @__PURE__ */ i("div", { className: xe.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1042
1042
|
pt,
|
|
1043
1043
|
{
|
|
1044
|
-
onChange:
|
|
1044
|
+
onChange: N,
|
|
1045
1045
|
min: l,
|
|
1046
1046
|
max: c,
|
|
1047
1047
|
unit: u,
|
|
1048
1048
|
defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
|
|
1049
|
-
isDate:
|
|
1050
|
-
step:
|
|
1049
|
+
isDate: y,
|
|
1050
|
+
step: h
|
|
1051
1051
|
}
|
|
1052
1052
|
) })
|
|
1053
1053
|
]
|
|
@@ -1176,11 +1176,11 @@ const gt = ({
|
|
|
1176
1176
|
activeColor: r
|
|
1177
1177
|
}) => {
|
|
1178
1178
|
const { tematicalFiltersSelected: a } = A((c) => c), { t: l } = $();
|
|
1179
|
-
return
|
|
1179
|
+
return T(() => {
|
|
1180
1180
|
console.log("filtersSelected changed: ", a);
|
|
1181
|
-
}, [a]),
|
|
1181
|
+
}, [a]), T(() => {
|
|
1182
1182
|
o && A.setState(() => ({ fontColor: o }));
|
|
1183
|
-
}, [o]),
|
|
1183
|
+
}, [o]), T(() => {
|
|
1184
1184
|
t && A.setState(() => ({ inputsColor: t }));
|
|
1185
1185
|
}, [t]), /* @__PURE__ */ i(
|
|
1186
1186
|
se,
|
|
@@ -1210,14 +1210,14 @@ gt.propTypes = {
|
|
|
1210
1210
|
inputsColor: e.string,
|
|
1211
1211
|
activeColor: e.string
|
|
1212
1212
|
};
|
|
1213
|
-
const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7", Q2 = "_FiltersAmbitTitle_1g9xx_15", X2 = "_FiltersAmbitDescription_1g9xx_22", J2 = "_FiltersAmbitDescriptionTitle_1g9xx_33",
|
|
1213
|
+
const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7", Q2 = "_FiltersAmbitTitle_1g9xx_15", X2 = "_FiltersAmbitDescription_1g9xx_22", J2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", en = "_warning_1g9xx_37", ae = {
|
|
1214
1214
|
FiltersAmbitContainer: W2,
|
|
1215
1215
|
FiltersAmbitHeader: Y2,
|
|
1216
1216
|
FiltersAmbitTitle: Q2,
|
|
1217
1217
|
FiltersAmbitDescription: X2,
|
|
1218
1218
|
FiltersAmbitDescriptionTitle: J2,
|
|
1219
|
-
warning:
|
|
1220
|
-
},
|
|
1219
|
+
warning: en
|
|
1220
|
+
}, tn = ({
|
|
1221
1221
|
ambitName: n,
|
|
1222
1222
|
ambitDescription: d,
|
|
1223
1223
|
defaultFilters: s,
|
|
@@ -1228,49 +1228,49 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1228
1228
|
onChangeAppliedFilters: l,
|
|
1229
1229
|
saveAmbit: c,
|
|
1230
1230
|
namePlaceholder: u,
|
|
1231
|
-
descPlaceholder:
|
|
1231
|
+
descPlaceholder: h,
|
|
1232
1232
|
filtersTypes: C = ["geographical", "tematical"],
|
|
1233
|
-
nameRequiredText:
|
|
1234
|
-
onlyFilters:
|
|
1233
|
+
nameRequiredText: y,
|
|
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:
|
|
1238
|
-
|
|
1237
|
+
const { t: f } = $(), { tematicalFiltersSelected: g } = A((S) => S), [m, b] = L(n || null), [_, N] = L(d || null), [w, x] = L(!1);
|
|
1238
|
+
T(() => {
|
|
1239
1239
|
s && s.length > 0 && A.setState((S) => ({
|
|
1240
1240
|
tematicalFiltersSelected: s
|
|
1241
1241
|
}));
|
|
1242
|
-
}, [s]),
|
|
1243
|
-
console.log("filtersSelected changed: ",
|
|
1244
|
-
}, [
|
|
1242
|
+
}, [s]), T(() => {
|
|
1243
|
+
console.log("filtersSelected changed: ", g), l(g);
|
|
1244
|
+
}, [g]);
|
|
1245
1245
|
const k = () => {
|
|
1246
|
-
|
|
1246
|
+
m ? c({ name: m, description: _ }) : x(!0);
|
|
1247
1247
|
};
|
|
1248
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1249
|
-
!
|
|
1250
|
-
/* @__PURE__ */ i("div", { className:
|
|
1248
|
+
return /* @__PURE__ */ p("div", { className: ae.FiltersAmbitContainer, children: [
|
|
1249
|
+
!v && /* @__PURE__ */ p("div", { className: ae.FiltersAmbitHeader, children: [
|
|
1250
|
+
/* @__PURE__ */ i("div", { className: ae.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1251
1251
|
"input",
|
|
1252
1252
|
{
|
|
1253
1253
|
type: "text",
|
|
1254
1254
|
onChange: (S) => {
|
|
1255
|
-
|
|
1255
|
+
x(!1), b(S.target.value);
|
|
1256
1256
|
},
|
|
1257
|
-
value:
|
|
1258
|
-
placeholder:
|
|
1257
|
+
value: m,
|
|
1258
|
+
placeholder: f(u)
|
|
1259
1259
|
}
|
|
1260
1260
|
) }),
|
|
1261
|
-
/* @__PURE__ */ i("div", { className:
|
|
1261
|
+
/* @__PURE__ */ i("div", { className: ae.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: ae.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1262
1262
|
"textarea",
|
|
1263
1263
|
{
|
|
1264
|
-
value:
|
|
1265
|
-
onChange: (S) =>
|
|
1266
|
-
placeholder:
|
|
1264
|
+
value: _,
|
|
1265
|
+
onChange: (S) => N(S.target.value),
|
|
1266
|
+
placeholder: f(h)
|
|
1267
1267
|
}
|
|
1268
1268
|
) }) })
|
|
1269
1269
|
] }),
|
|
1270
1270
|
/* @__PURE__ */ i(
|
|
1271
1271
|
ct,
|
|
1272
1272
|
{
|
|
1273
|
-
title:
|
|
1273
|
+
title: f("applied_filters"),
|
|
1274
1274
|
isOpen: !0,
|
|
1275
1275
|
textColor: r || "#fff",
|
|
1276
1276
|
backgroundColor: a || "#605B5680",
|
|
@@ -1288,11 +1288,11 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1288
1288
|
activeColor: t
|
|
1289
1289
|
}
|
|
1290
1290
|
),
|
|
1291
|
-
w && /* @__PURE__ */ i("div", { className:
|
|
1292
|
-
!
|
|
1291
|
+
w && /* @__PURE__ */ i("div", { className: ae.warning, children: f(y) }),
|
|
1292
|
+
!v && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i($e, { onClick: () => k(), children: f("save_ambit") }) })
|
|
1293
1293
|
] });
|
|
1294
1294
|
};
|
|
1295
|
-
|
|
1295
|
+
tn.propTypes = {
|
|
1296
1296
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1297
1297
|
ambitName: e.string,
|
|
1298
1298
|
ambitDescription: e.string,
|
|
@@ -1307,8 +1307,8 @@ t0.propTypes = {
|
|
|
1307
1307
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1308
1308
|
nameRequiredText: e.string
|
|
1309
1309
|
};
|
|
1310
|
-
const
|
|
1311
|
-
barChartContainer:
|
|
1310
|
+
const nn = "_barChartContainer_d2f1z_2", sn = {
|
|
1311
|
+
barChartContainer: nn
|
|
1312
1312
|
}, Ct = ({
|
|
1313
1313
|
data: n,
|
|
1314
1314
|
width: d = 700,
|
|
@@ -1321,13 +1321,13 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1321
1321
|
numberOfDivisions: c = 7,
|
|
1322
1322
|
maxValue: u = null
|
|
1323
1323
|
}) => {
|
|
1324
|
-
const { t:
|
|
1324
|
+
const { t: h } = $(), { xScale: C, ticks: y, height: v } = fe(() => {
|
|
1325
1325
|
if (n && n.length > 0) {
|
|
1326
|
-
const
|
|
1326
|
+
const f = (n == null ? void 0 : n.length) * (s + o) + r * 2, g = Ge.max(n, (_) => _.value) || 1, m = Ge.scaleLinear().domain([0, u || g]).range([0, d - l]), b = Array.from({ length: c + 1 }, (_, N) => u ? u / c * N : g / c * N);
|
|
1327
1327
|
return {
|
|
1328
|
-
xScale:
|
|
1329
|
-
ticks:
|
|
1330
|
-
height:
|
|
1328
|
+
xScale: m,
|
|
1329
|
+
ticks: b,
|
|
1330
|
+
height: f,
|
|
1331
1331
|
width: d,
|
|
1332
1332
|
verticalPaddign: r,
|
|
1333
1333
|
horizontalPaddign: a
|
|
@@ -1344,36 +1344,36 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1344
1344
|
r,
|
|
1345
1345
|
u
|
|
1346
1346
|
]);
|
|
1347
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1348
|
-
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children:
|
|
1349
|
-
const
|
|
1350
|
-
return /* @__PURE__ */ p("g", { transform: `translate(${
|
|
1347
|
+
return /* @__PURE__ */ i("div", { className: sn.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) => {
|
|
1349
|
+
const m = C(f);
|
|
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:
|
|
1355
|
+
y2: v - o * 2,
|
|
1356
1356
|
stroke: "#ccc"
|
|
1357
1357
|
}
|
|
1358
1358
|
),
|
|
1359
1359
|
/* @__PURE__ */ i(
|
|
1360
1360
|
"text",
|
|
1361
1361
|
{
|
|
1362
|
-
y:
|
|
1362
|
+
y: v - o,
|
|
1363
1363
|
textAnchor: "middle",
|
|
1364
1364
|
fontSize: 10,
|
|
1365
1365
|
fill: t,
|
|
1366
|
-
children: parseInt(
|
|
1366
|
+
children: parseInt(f)
|
|
1367
1367
|
}
|
|
1368
1368
|
)
|
|
1369
|
-
] },
|
|
1369
|
+
] }, g);
|
|
1370
1370
|
}) }),
|
|
1371
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1372
|
-
const
|
|
1371
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((f, g) => {
|
|
1372
|
+
const m = C(f.value), b = g * (s + o);
|
|
1373
1373
|
return /* @__PURE__ */ p(
|
|
1374
1374
|
"g",
|
|
1375
1375
|
{
|
|
1376
|
-
transform: `translate(${l + a}, ${
|
|
1376
|
+
transform: `translate(${l + a}, ${b})`,
|
|
1377
1377
|
children: [
|
|
1378
1378
|
/* @__PURE__ */ i(
|
|
1379
1379
|
"text",
|
|
@@ -1382,21 +1382,21 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1382
1382
|
y: s / 2 + 5,
|
|
1383
1383
|
textAnchor: "end",
|
|
1384
1384
|
fill: t,
|
|
1385
|
-
children:
|
|
1385
|
+
children: h(f.title)
|
|
1386
1386
|
}
|
|
1387
1387
|
),
|
|
1388
1388
|
/* @__PURE__ */ i(
|
|
1389
1389
|
"rect",
|
|
1390
1390
|
{
|
|
1391
|
-
width:
|
|
1391
|
+
width: m,
|
|
1392
1392
|
height: s,
|
|
1393
|
-
fill:
|
|
1393
|
+
fill: f.color,
|
|
1394
1394
|
rx: 0
|
|
1395
1395
|
}
|
|
1396
1396
|
)
|
|
1397
1397
|
]
|
|
1398
1398
|
},
|
|
1399
|
-
|
|
1399
|
+
g
|
|
1400
1400
|
);
|
|
1401
1401
|
}))
|
|
1402
1402
|
] }) }) });
|
|
@@ -1417,10 +1417,10 @@ Ct.propTypes = {
|
|
|
1417
1417
|
numberOfDivisions: e.number,
|
|
1418
1418
|
fontColor: e.string
|
|
1419
1419
|
};
|
|
1420
|
-
const
|
|
1421
|
-
graphicContainer:
|
|
1422
|
-
titleContainer:
|
|
1423
|
-
},
|
|
1420
|
+
const on = "_graphicContainer_c9zrg_2", rn = "_titleContainer_c9zrg_14", Qe = {
|
|
1421
|
+
graphicContainer: on,
|
|
1422
|
+
titleContainer: rn
|
|
1423
|
+
}, an = ({
|
|
1424
1424
|
data: n,
|
|
1425
1425
|
graphWidth: d = 700,
|
|
1426
1426
|
containerStyle: s,
|
|
@@ -1457,7 +1457,7 @@ const s0 = "_graphicContainer_c9zrg_2", o0 = "_titleContainer_c9zrg_14", Qe = {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
);
|
|
1459
1459
|
};
|
|
1460
|
-
|
|
1460
|
+
an.propTypes = {
|
|
1461
1461
|
data: e.arrayOf(
|
|
1462
1462
|
e.shape({
|
|
1463
1463
|
color: e.string.isRequired,
|
|
@@ -1474,21 +1474,21 @@ r0.propTypes = {
|
|
|
1474
1474
|
numberOfDivisions: e.number,
|
|
1475
1475
|
leftPadding: e.number
|
|
1476
1476
|
};
|
|
1477
|
-
const
|
|
1478
|
-
indicatorsCategory:
|
|
1479
|
-
title:
|
|
1480
|
-
list:
|
|
1481
|
-
},
|
|
1482
|
-
indicatorContainer:
|
|
1483
|
-
indicatorNameContainer:
|
|
1484
|
-
dot:
|
|
1485
|
-
indicatorName:
|
|
1486
|
-
switchExternalContainer:
|
|
1487
|
-
switchType:
|
|
1488
|
-
switchTypeOptions:
|
|
1489
|
-
optionContainer:
|
|
1490
|
-
customRadious:
|
|
1491
|
-
optionText:
|
|
1477
|
+
const ln = "_indicatorsCategory_1cu33_2", cn = "_title_1cu33_5", dn = "_list_1cu33_11", Me = {
|
|
1478
|
+
indicatorsCategory: ln,
|
|
1479
|
+
title: cn,
|
|
1480
|
+
list: dn
|
|
1481
|
+
}, un = "_indicatorContainer_1go6h_2", pn = "_indicatorNameContainer_1go6h_11", mn = "_dot_1go6h_17", hn = "_indicatorName_1go6h_11", gn = "_switchExternalContainer_1go6h_28", Cn = "_switchType_1go6h_37", fn = "_switchTypeOptions_1go6h_41", bn = "_optionContainer_1go6h_52", _n = "_customRadious_1go6h_62", yn = "_optionText_1go6h_69", V = {
|
|
1482
|
+
indicatorContainer: un,
|
|
1483
|
+
indicatorNameContainer: pn,
|
|
1484
|
+
dot: mn,
|
|
1485
|
+
indicatorName: hn,
|
|
1486
|
+
switchExternalContainer: gn,
|
|
1487
|
+
switchType: Cn,
|
|
1488
|
+
switchTypeOptions: fn,
|
|
1489
|
+
optionContainer: bn,
|
|
1490
|
+
customRadious: _n,
|
|
1491
|
+
optionText: yn
|
|
1492
1492
|
}, He = ({
|
|
1493
1493
|
indicator: n,
|
|
1494
1494
|
values: d = [],
|
|
@@ -1500,15 +1500,15 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1500
1500
|
multiple: l = !1,
|
|
1501
1501
|
onChangeType: c
|
|
1502
1502
|
}) => {
|
|
1503
|
-
const { t: u } = $(), { name:
|
|
1504
|
-
|
|
1505
|
-
t &&
|
|
1503
|
+
const { t: u } = $(), { name: h, type: C, disabled: y } = n, [v, f] = L(!1);
|
|
1504
|
+
T(() => {
|
|
1505
|
+
t && f(
|
|
1506
1506
|
l ? t.some(
|
|
1507
|
-
(
|
|
1508
|
-
) : t.name ==
|
|
1507
|
+
(b) => b.name == String(h)
|
|
1508
|
+
) : t.name == h
|
|
1509
1509
|
);
|
|
1510
1510
|
}, [t]);
|
|
1511
|
-
const
|
|
1511
|
+
const g = () => /* @__PURE__ */ i("div", { className: V.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: V.switchType, children: /* @__PURE__ */ p("div", { className: V.switchTypeOptions, children: [
|
|
1512
1512
|
/* @__PURE__ */ p(
|
|
1513
1513
|
"div",
|
|
1514
1514
|
{
|
|
@@ -1567,7 +1567,7 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1567
1567
|
]
|
|
1568
1568
|
}
|
|
1569
1569
|
)
|
|
1570
|
-
] }) }) }),
|
|
1570
|
+
] }) }) }), m = () => /* @__PURE__ */ i("div", { className: V.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: V.switchType, children: /* @__PURE__ */ i("div", { className: V.switchTypeOptions, children: d.map((b, _) => /* @__PURE__ */ p(
|
|
1571
1571
|
"div",
|
|
1572
1572
|
{
|
|
1573
1573
|
className: V.optionContainer,
|
|
@@ -1578,24 +1578,24 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1578
1578
|
className: V.customRadious
|
|
1579
1579
|
}
|
|
1580
1580
|
),
|
|
1581
|
-
/* @__PURE__ */ i("h4", { children: u(
|
|
1581
|
+
/* @__PURE__ */ i("h4", { children: u(b.unit) })
|
|
1582
1582
|
]
|
|
1583
1583
|
},
|
|
1584
|
-
|
|
1584
|
+
_
|
|
1585
1585
|
)) }) }) });
|
|
1586
1586
|
return /* @__PURE__ */ p("div", { className: V.indicatorContainer, children: [
|
|
1587
1587
|
/* @__PURE__ */ p(
|
|
1588
1588
|
"div",
|
|
1589
1589
|
{
|
|
1590
1590
|
className: V.indicatorNameContainer,
|
|
1591
|
-
onClick: () => !
|
|
1591
|
+
onClick: () => !y && a({ indicator: n }),
|
|
1592
1592
|
children: [
|
|
1593
1593
|
/* @__PURE__ */ i(
|
|
1594
1594
|
"div",
|
|
1595
1595
|
{
|
|
1596
1596
|
style: {
|
|
1597
|
-
border:
|
|
1598
|
-
opacity:
|
|
1597
|
+
border: v ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1598
|
+
opacity: y ? 0.5 : 1
|
|
1599
1599
|
},
|
|
1600
1600
|
className: V.dot
|
|
1601
1601
|
}
|
|
@@ -1605,13 +1605,13 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1605
1605
|
{
|
|
1606
1606
|
className: V.indicatorName,
|
|
1607
1607
|
style: {
|
|
1608
|
-
color:
|
|
1609
|
-
opacity:
|
|
1608
|
+
color: v ? s : o,
|
|
1609
|
+
opacity: y ? 0.5 : 1
|
|
1610
1610
|
},
|
|
1611
1611
|
children: /* @__PURE__ */ i(
|
|
1612
1612
|
Ze,
|
|
1613
1613
|
{
|
|
1614
|
-
i18nKey:
|
|
1614
|
+
i18nKey: h,
|
|
1615
1615
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
1616
1616
|
shouldUnescape: !0
|
|
1617
1617
|
}
|
|
@@ -1621,8 +1621,8 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1621
1621
|
]
|
|
1622
1622
|
}
|
|
1623
1623
|
),
|
|
1624
|
-
(t == null ? void 0 : t.name) ===
|
|
1625
|
-
(t == null ? void 0 : t.name) ===
|
|
1624
|
+
(t == null ? void 0 : t.name) === h && C === "both" && /* @__PURE__ */ i("div", { children: g() }),
|
|
1625
|
+
(t == null ? void 0 : t.name) === h && C === "twoUnits" && /* @__PURE__ */ i("div", { children: m() })
|
|
1626
1626
|
] });
|
|
1627
1627
|
};
|
|
1628
1628
|
He.propTypes = {
|
|
@@ -1637,9 +1637,9 @@ He.propTypes = {
|
|
|
1637
1637
|
multiple: e.bool,
|
|
1638
1638
|
onClickIndicator: e.func
|
|
1639
1639
|
};
|
|
1640
|
-
const
|
|
1641
|
-
indicatorsSubCategory:
|
|
1642
|
-
list:
|
|
1640
|
+
const vn = "_indicatorsSubCategory_1dzsi_2", wn = "_list_1dzsi_8", Xe = {
|
|
1641
|
+
indicatorsSubCategory: vn,
|
|
1642
|
+
list: wn
|
|
1643
1643
|
}, ft = ({
|
|
1644
1644
|
subcName: n,
|
|
1645
1645
|
indicators: d,
|
|
@@ -1651,43 +1651,43 @@ const y0 = "_indicatorsSubCategory_1dzsi_2", v0 = "_list_1dzsi_8", Xe = {
|
|
|
1651
1651
|
activeIndicator: l,
|
|
1652
1652
|
onClickIndicator: c,
|
|
1653
1653
|
multiple: u,
|
|
1654
|
-
activeIndicatorType:
|
|
1654
|
+
activeIndicatorType: h,
|
|
1655
1655
|
onChangeType: C
|
|
1656
1656
|
}) => {
|
|
1657
|
-
const { t:
|
|
1658
|
-
return
|
|
1659
|
-
|
|
1657
|
+
const { t: y } = $(), [v, f] = L(!1);
|
|
1658
|
+
return T(() => {
|
|
1659
|
+
f(t == a);
|
|
1660
1660
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1661
1661
|
ze.div,
|
|
1662
1662
|
{
|
|
1663
1663
|
className: Xe.indicatorsSubCategory,
|
|
1664
1664
|
initial: { height: "43px" },
|
|
1665
|
-
animate: { height:
|
|
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:
|
|
1669
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
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 ? "-" : "+" }),
|
|
1670
1670
|
/* @__PURE__ */ i(
|
|
1671
1671
|
"span",
|
|
1672
1672
|
{
|
|
1673
|
-
style: { marginLeft: 12, color:
|
|
1674
|
-
children:
|
|
1673
|
+
style: { marginLeft: 12, color: v ? o : s },
|
|
1674
|
+
children: y(n)
|
|
1675
1675
|
}
|
|
1676
1676
|
)
|
|
1677
1677
|
] }) }),
|
|
1678
|
-
d && /* @__PURE__ */ i("div", { className: Xe.list, children: d == null ? void 0 : d.map((
|
|
1678
|
+
d && /* @__PURE__ */ i("div", { className: Xe.list, children: d == null ? void 0 : d.map((g, m) => /* @__PURE__ */ i(
|
|
1679
1679
|
He,
|
|
1680
1680
|
{
|
|
1681
|
-
indicator:
|
|
1681
|
+
indicator: g,
|
|
1682
1682
|
defaultColor: s,
|
|
1683
1683
|
activeColor: o,
|
|
1684
1684
|
activeIndicator: l,
|
|
1685
1685
|
onClickIndicator: c,
|
|
1686
1686
|
multiple: u,
|
|
1687
|
-
activeIndicatorType:
|
|
1687
|
+
activeIndicatorType: h,
|
|
1688
1688
|
onChangeType: C
|
|
1689
1689
|
},
|
|
1690
|
-
"indicator" +
|
|
1690
|
+
"indicator" + m
|
|
1691
1691
|
)) })
|
|
1692
1692
|
]
|
|
1693
1693
|
}
|
|
@@ -1716,70 +1716,70 @@ const bt = ({
|
|
|
1716
1716
|
onClickSubCategory: l,
|
|
1717
1717
|
activeIndicator: c,
|
|
1718
1718
|
onClickIndicator: u,
|
|
1719
|
-
multiple:
|
|
1719
|
+
multiple: h,
|
|
1720
1720
|
activeIndicatorType: C,
|
|
1721
|
-
onChangeType:
|
|
1721
|
+
onChangeType: y
|
|
1722
1722
|
}) => {
|
|
1723
|
-
var
|
|
1724
|
-
const { t:
|
|
1725
|
-
return
|
|
1726
|
-
|
|
1723
|
+
var m;
|
|
1724
|
+
const { t: v } = $(), [f, g] = L(!1);
|
|
1725
|
+
return T(() => {
|
|
1726
|
+
g(r === d);
|
|
1727
1727
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1728
1728
|
ze.div,
|
|
1729
1729
|
{
|
|
1730
1730
|
className: Me.indicatorsCategory,
|
|
1731
1731
|
initial: { height: "53px" },
|
|
1732
|
-
animate: { height:
|
|
1732
|
+
animate: { height: f ? "auto" : "53px" },
|
|
1733
1733
|
transition: { duration: 0.4 },
|
|
1734
1734
|
style: {
|
|
1735
1735
|
backgroundColor: "white",
|
|
1736
|
-
borderBottom:
|
|
1737
|
-
marginBottom:
|
|
1736
|
+
borderBottom: f ? `1px solid ${s}` : "0px",
|
|
1737
|
+
marginBottom: f ? "20px" : "0px"
|
|
1738
1738
|
},
|
|
1739
1739
|
children: [
|
|
1740
1740
|
/* @__PURE__ */ p("h2", { className: `${Me.title}`, onClick: () => t(d), children: [
|
|
1741
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1741
|
+
/* @__PURE__ */ i("span", { style: { color: f ? s : o }, children: f ? "-" : "+" }),
|
|
1742
1742
|
/* @__PURE__ */ i(
|
|
1743
1743
|
"span",
|
|
1744
1744
|
{
|
|
1745
|
-
style: { marginLeft: 12, color:
|
|
1746
|
-
children:
|
|
1745
|
+
style: { marginLeft: 12, color: f ? s : o },
|
|
1746
|
+
children: v(n.name)
|
|
1747
1747
|
}
|
|
1748
1748
|
)
|
|
1749
1749
|
] }),
|
|
1750
1750
|
n.subcategories ? n.subcategories.map(
|
|
1751
|
-
({ name:
|
|
1751
|
+
({ name: b, subcategory: _, indicators: N }, w) => /* @__PURE__ */ i(
|
|
1752
1752
|
ft,
|
|
1753
1753
|
{
|
|
1754
|
-
id:
|
|
1754
|
+
id: _,
|
|
1755
1755
|
activeSubCategory: a,
|
|
1756
|
-
subcName:
|
|
1756
|
+
subcName: b,
|
|
1757
1757
|
onClickSubCategory: l,
|
|
1758
1758
|
activeIndicator: c,
|
|
1759
1759
|
onClickIndicator: u,
|
|
1760
|
-
multiple:
|
|
1760
|
+
multiple: h,
|
|
1761
1761
|
activeColor: s,
|
|
1762
1762
|
defaultColor: o,
|
|
1763
|
-
indicators:
|
|
1763
|
+
indicators: N,
|
|
1764
1764
|
activeIndicatorType: C,
|
|
1765
|
-
onChangeType:
|
|
1765
|
+
onChangeType: y
|
|
1766
1766
|
},
|
|
1767
1767
|
`subcKey ${w}`
|
|
1768
1768
|
)
|
|
1769
|
-
) : /* @__PURE__ */ i("div", { className: Me.list, children: (
|
|
1769
|
+
) : /* @__PURE__ */ i("div", { className: Me.list, children: (m = n.indicators) == null ? void 0 : m.map((b, _) => /* @__PURE__ */ i(
|
|
1770
1770
|
He,
|
|
1771
1771
|
{
|
|
1772
|
-
indicator:
|
|
1773
|
-
values:
|
|
1772
|
+
indicator: b,
|
|
1773
|
+
values: b.type == "twoUnits" && b.values,
|
|
1774
1774
|
activeColor: s,
|
|
1775
1775
|
defaultColor: o,
|
|
1776
1776
|
activeIndicator: c,
|
|
1777
1777
|
onClickIndicator: u,
|
|
1778
|
-
multiple:
|
|
1778
|
+
multiple: h,
|
|
1779
1779
|
activeIndicatorType: C,
|
|
1780
|
-
onChangeType:
|
|
1780
|
+
onChangeType: y
|
|
1781
1781
|
},
|
|
1782
|
-
`indicator${
|
|
1782
|
+
`indicator${_}`
|
|
1783
1783
|
)) })
|
|
1784
1784
|
]
|
|
1785
1785
|
}
|
|
@@ -1799,10 +1799,10 @@ bt.propTypes = {
|
|
|
1799
1799
|
activeColor: e.string,
|
|
1800
1800
|
defaultColor: e.string
|
|
1801
1801
|
};
|
|
1802
|
-
const
|
|
1803
|
-
indicatorsList:
|
|
1804
|
-
title:
|
|
1805
|
-
},
|
|
1802
|
+
const xn = "_indicatorsList_fklyu_2", Nn = "_title_fklyu_6", Je = {
|
|
1803
|
+
indicatorsList: xn,
|
|
1804
|
+
title: Nn
|
|
1805
|
+
}, kn = ({
|
|
1806
1806
|
indicators: n,
|
|
1807
1807
|
activeColor: d,
|
|
1808
1808
|
defaultColor: s = "#92898A",
|
|
@@ -1816,64 +1816,64 @@ const w0 = "_indicatorsList_fklyu_2", x0 = "_title_fklyu_6", Je = {
|
|
|
1816
1816
|
changeIndType: a,
|
|
1817
1817
|
activeIndicatorType: l
|
|
1818
1818
|
}) => {
|
|
1819
|
-
const { t: c } = $(), [u,
|
|
1820
|
-
|
|
1819
|
+
const { t: c } = $(), [u, h] = L(), [C, y] = L(), [v, f] = L(), g = (w) => {
|
|
1820
|
+
h(u == w ? null : w);
|
|
1821
|
+
}, m = (w) => {
|
|
1822
|
+
y(C == w ? null : w);
|
|
1823
|
+
}, b = ({ indicator: w }) => {
|
|
1824
|
+
console.log("onClickIndicator: ", w), _(w);
|
|
1821
1825
|
}, _ = (w) => {
|
|
1822
|
-
b(C == w ? null : w);
|
|
1823
|
-
}, f = ({ indicator: w }) => {
|
|
1824
|
-
console.log("onClickIndicator: ", w), v(w);
|
|
1825
|
-
}, v = (w) => {
|
|
1826
1826
|
if (!t)
|
|
1827
|
-
|
|
1828
|
-
(
|
|
1827
|
+
f(
|
|
1828
|
+
(v == null ? void 0 : v.name) == w.name ? null : w
|
|
1829
1829
|
);
|
|
1830
1830
|
else {
|
|
1831
|
-
let
|
|
1832
|
-
|
|
1833
|
-
|
|
1831
|
+
let x = v && v.length > 0 ? [...v] : [];
|
|
1832
|
+
f(
|
|
1833
|
+
x != null && x.some(
|
|
1834
1834
|
(k) => k.name == w.name
|
|
1835
|
-
) ?
|
|
1835
|
+
) ? x.filter(
|
|
1836
1836
|
(k) => k.name != String(w.name)
|
|
1837
|
-
) : [...
|
|
1837
|
+
) : [...x, w]
|
|
1838
1838
|
), w.type == "both" && a("cat");
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
|
-
|
|
1842
|
-
console.log("activeindicator changed to: ",
|
|
1843
|
-
}, [
|
|
1844
|
-
if (r && !
|
|
1841
|
+
T(() => {
|
|
1842
|
+
console.log("activeindicator changed to: ", v), o && typeof o == "function" && v && o({ activeIndicator: v });
|
|
1843
|
+
}, [v]), Tt(() => {
|
|
1844
|
+
if (r && !v)
|
|
1845
1845
|
if (t && r && Array.isArray(r)) {
|
|
1846
|
-
let w =
|
|
1847
|
-
|
|
1846
|
+
let w = v && v.length > 0 ? [...v] : [];
|
|
1847
|
+
f([...w, ...r]), N(r[0].name);
|
|
1848
1848
|
} else
|
|
1849
|
-
|
|
1849
|
+
_(r), N(r.name);
|
|
1850
1850
|
}, []);
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1851
|
+
const N = (w) => {
|
|
1852
|
+
const x = n.find((k) => {
|
|
1853
1853
|
if (k.subcategories) {
|
|
1854
1854
|
let S = k.subcategories.find(
|
|
1855
|
-
(
|
|
1855
|
+
(q) => q.indicators.find((F) => F.name == w)
|
|
1856
1856
|
);
|
|
1857
1857
|
if (S)
|
|
1858
|
-
return
|
|
1858
|
+
return y(S.subcategory), S;
|
|
1859
1859
|
} else
|
|
1860
1860
|
return k.indicators.some((S) => S.name == w);
|
|
1861
1861
|
});
|
|
1862
|
-
|
|
1862
|
+
x && h(x.category);
|
|
1863
1863
|
};
|
|
1864
1864
|
return /* @__PURE__ */ p("div", { className: Je.indicatorsList, children: [
|
|
1865
1865
|
/* @__PURE__ */ i("h2", { className: Je.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
1866
|
-
n.map((w,
|
|
1866
|
+
n.map((w, x) => /* @__PURE__ */ i(
|
|
1867
1867
|
bt,
|
|
1868
1868
|
{
|
|
1869
1869
|
id: w.category,
|
|
1870
1870
|
cat: w,
|
|
1871
|
-
onClickCategory:
|
|
1871
|
+
onClickCategory: g,
|
|
1872
1872
|
activeCategory: u,
|
|
1873
|
-
onClickSubCategory:
|
|
1873
|
+
onClickSubCategory: m,
|
|
1874
1874
|
activeSubCategory: C,
|
|
1875
|
-
onClickIndicator:
|
|
1876
|
-
activeIndicator:
|
|
1875
|
+
onClickIndicator: b,
|
|
1876
|
+
activeIndicator: v,
|
|
1877
1877
|
activeColor: d,
|
|
1878
1878
|
defaultColor: s,
|
|
1879
1879
|
multiple: t,
|
|
@@ -1881,11 +1881,11 @@ const w0 = "_indicatorsList_fklyu_2", x0 = "_title_fklyu_6", Je = {
|
|
|
1881
1881
|
onChangeType: a,
|
|
1882
1882
|
activeIndicatorType: l
|
|
1883
1883
|
},
|
|
1884
|
-
`categoryKey${
|
|
1884
|
+
`categoryKey${x}`
|
|
1885
1885
|
))
|
|
1886
1886
|
] });
|
|
1887
1887
|
};
|
|
1888
|
-
|
|
1888
|
+
kn.propTypes = {
|
|
1889
1889
|
indicators: e.arrayOf(e.object),
|
|
1890
1890
|
activeColor: e.string,
|
|
1891
1891
|
defaultColor: e.string,
|
|
@@ -1896,35 +1896,35 @@ N0.propTypes = {
|
|
|
1896
1896
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1897
1897
|
activeIndicatorType: e.string
|
|
1898
1898
|
};
|
|
1899
|
-
const
|
|
1900
|
-
langSelector:
|
|
1901
|
-
currentLang:
|
|
1902
|
-
arrow:
|
|
1903
|
-
prevImg:
|
|
1904
|
-
langMenu:
|
|
1905
|
-
},
|
|
1906
|
-
const [o, t] =
|
|
1899
|
+
const $n = "_langSelector_o9enq_2", Sn = "_currentLang_o9enq_14", Bn = "_arrow_o9enq_26", Ln = "_prevImg_o9enq_29", Tn = "_langMenu_o9enq_33", le = {
|
|
1900
|
+
langSelector: $n,
|
|
1901
|
+
currentLang: Sn,
|
|
1902
|
+
arrow: Bn,
|
|
1903
|
+
prevImg: Ln,
|
|
1904
|
+
langMenu: Tn
|
|
1905
|
+
}, Mn = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1906
|
+
const [o, t] = L(!1), { i18n: r } = $(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1907
1907
|
r.changeLanguage(c), t(!1);
|
|
1908
1908
|
};
|
|
1909
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1909
|
+
return /* @__PURE__ */ p("div", { className: le.langSelector, children: [
|
|
1910
1910
|
/* @__PURE__ */ p(
|
|
1911
1911
|
"div",
|
|
1912
1912
|
{
|
|
1913
|
-
className:
|
|
1913
|
+
className: le.currentLang,
|
|
1914
1914
|
onClick: () => {
|
|
1915
1915
|
t(!o);
|
|
1916
1916
|
},
|
|
1917
1917
|
children: [
|
|
1918
|
-
s && /* @__PURE__ */ i("img", { className:
|
|
1918
|
+
s && /* @__PURE__ */ i("img", { className: le.prevImg, src: s }),
|
|
1919
1919
|
(a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
|
|
1920
|
-
/* @__PURE__ */ i("img", { src: d, className:
|
|
1920
|
+
/* @__PURE__ */ i("img", { src: d, className: le.arrow })
|
|
1921
1921
|
]
|
|
1922
1922
|
}
|
|
1923
1923
|
),
|
|
1924
|
-
o && /* @__PURE__ */ i("div", { className:
|
|
1924
|
+
o && /* @__PURE__ */ i("div", { className: le.langMenu, children: n.map((c) => /* @__PURE__ */ i(
|
|
1925
1925
|
"button",
|
|
1926
1926
|
{
|
|
1927
|
-
className: (a == null ? void 0 : a.code) == c.code ?
|
|
1927
|
+
className: (a == null ? void 0 : a.code) == c.code ? le.active : "",
|
|
1928
1928
|
onClick: () => l(c.code),
|
|
1929
1929
|
children: c.title
|
|
1930
1930
|
},
|
|
@@ -1932,7 +1932,7 @@ const k0 = "_langSelector_o9enq_2", $0 = "_currentLang_o9enq_14", S0 = "_arrow_o
|
|
|
1932
1932
|
)) })
|
|
1933
1933
|
] });
|
|
1934
1934
|
};
|
|
1935
|
-
|
|
1935
|
+
Mn.propTypes = {
|
|
1936
1936
|
langs: e.arrayOf(
|
|
1937
1937
|
e.shape({
|
|
1938
1938
|
code: e.string,
|
|
@@ -1946,23 +1946,23 @@ T0.propTypes = {
|
|
|
1946
1946
|
arrow: e.object,
|
|
1947
1947
|
imgPrev: e.object
|
|
1948
1948
|
};
|
|
1949
|
-
const
|
|
1950
|
-
legendContainer:
|
|
1951
|
-
closeButton:
|
|
1952
|
-
titleContainer:
|
|
1953
|
-
infoContainer:
|
|
1954
|
-
titleLegendList:
|
|
1955
|
-
legendListContainer:
|
|
1956
|
-
gridContainer:
|
|
1957
|
-
elementLegendContainer:
|
|
1958
|
-
colorDot:
|
|
1959
|
-
absoluteValueContainer:
|
|
1960
|
-
absoluteValueColor:
|
|
1961
|
-
absoluteValueText:
|
|
1962
|
-
noDataContainer:
|
|
1963
|
-
noData:
|
|
1964
|
-
moreInfoContainer:
|
|
1965
|
-
},
|
|
1949
|
+
const Dn = "_legendContainer_qs4x9_3", Fn = "_closeButton_qs4x9_31", Vn = "_titleContainer_qs4x9_59", An = "_infoContainer_qs4x9_65", On = "_titleLegendList_qs4x9_76", In = "_legendListContainer_qs4x9_82", Rn = "_gridContainer_qs4x9_82", qn = "_elementLegendContainer_qs4x9_88", En = "_colorDot_qs4x9_94", Pn = "_absoluteValueContainer_qs4x9_100", jn = "_absoluteValueColor_qs4x9_103", Zn = "_absoluteValueText_qs4x9_108", zn = "_noDataContainer_qs4x9_120", Kn = "_noData_qs4x9_120", Hn = "_moreInfoContainer_qs4x9_141", D = {
|
|
1950
|
+
legendContainer: Dn,
|
|
1951
|
+
closeButton: Fn,
|
|
1952
|
+
titleContainer: Vn,
|
|
1953
|
+
infoContainer: An,
|
|
1954
|
+
titleLegendList: On,
|
|
1955
|
+
legendListContainer: In,
|
|
1956
|
+
gridContainer: Rn,
|
|
1957
|
+
elementLegendContainer: qn,
|
|
1958
|
+
colorDot: En,
|
|
1959
|
+
absoluteValueContainer: Pn,
|
|
1960
|
+
absoluteValueColor: jn,
|
|
1961
|
+
absoluteValueText: Zn,
|
|
1962
|
+
noDataContainer: zn,
|
|
1963
|
+
noData: Kn,
|
|
1964
|
+
moreInfoContainer: Hn
|
|
1965
|
+
}, Un = ({
|
|
1966
1966
|
//JSON with the styles of the container (optional)
|
|
1967
1967
|
containerStyles: n,
|
|
1968
1968
|
//Title on top of the legend
|
|
@@ -1990,30 +1990,30 @@ const M0 = "_legendContainer_qs4x9_3", D0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
1990
1990
|
"div",
|
|
1991
1991
|
{
|
|
1992
1992
|
style: n ? { ...n } : {},
|
|
1993
|
-
className: `${
|
|
1993
|
+
className: `${D.legendContainer}`,
|
|
1994
1994
|
children: [
|
|
1995
|
-
/* @__PURE__ */ i("button", { className:
|
|
1996
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
1997
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
1998
|
-
/* @__PURE__ */ i("h3", { className:
|
|
1999
|
-
/* @__PURE__ */ p("span", { className:
|
|
1995
|
+
/* @__PURE__ */ i("button", { className: D.closeButton, onClick: c }),
|
|
1996
|
+
d && /* @__PURE__ */ i("div", { className: D.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
1997
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: D.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: h, value: C }) => /* @__PURE__ */ p("li", { children: [
|
|
1998
|
+
/* @__PURE__ */ i("h3", { className: D.title, children: `${h}:` }),
|
|
1999
|
+
/* @__PURE__ */ p("span", { className: D.value, children: [
|
|
2000
2000
|
" ",
|
|
2001
2001
|
C
|
|
2002
2002
|
] })
|
|
2003
2003
|
] }, d)) }) }),
|
|
2004
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2005
|
-
/* @__PURE__ */ p("div", { className:
|
|
2006
|
-
r ? /* @__PURE__ */ p("div", { className:
|
|
2004
|
+
/* @__PURE__ */ i("h3", { className: D.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(Ze, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
|
|
2005
|
+
/* @__PURE__ */ p("div", { className: D.legendListContainer, children: [
|
|
2006
|
+
r ? /* @__PURE__ */ p("div", { className: D.absoluteValueContainer, children: [
|
|
2007
2007
|
/* @__PURE__ */ i(
|
|
2008
2008
|
"div",
|
|
2009
2009
|
{
|
|
2010
|
-
className:
|
|
2010
|
+
className: D.absoluteValueColor,
|
|
2011
2011
|
style: {
|
|
2012
2012
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
),
|
|
2016
|
-
/* @__PURE__ */ p("div", { className:
|
|
2016
|
+
/* @__PURE__ */ p("div", { className: D.absoluteValueText, children: [
|
|
2017
2017
|
/* @__PURE__ */ p("span", { children: [
|
|
2018
2018
|
r.maxValue,
|
|
2019
2019
|
" ",
|
|
@@ -2030,40 +2030,40 @@ const M0 = "_legendContainer_qs4x9_3", D0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
2030
2030
|
u(r.unit)
|
|
2031
2031
|
] })
|
|
2032
2032
|
] })
|
|
2033
|
-
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2034
|
-
({ title:
|
|
2033
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: D.gridContainer, children: o.map(
|
|
2034
|
+
({ title: h, color: C }) => /* @__PURE__ */ p("div", { className: D.elementLegendContainer, children: [
|
|
2035
2035
|
/* @__PURE__ */ i(
|
|
2036
2036
|
"div",
|
|
2037
2037
|
{
|
|
2038
|
-
className:
|
|
2038
|
+
className: D.colorDot,
|
|
2039
2039
|
style: { backgroundColor: C }
|
|
2040
2040
|
}
|
|
2041
2041
|
),
|
|
2042
|
-
/* @__PURE__ */ p("div", { className:
|
|
2043
|
-
u(
|
|
2042
|
+
/* @__PURE__ */ p("div", { className: D.titleLegendElement, children: [
|
|
2043
|
+
u(h),
|
|
2044
2044
|
" "
|
|
2045
2045
|
] })
|
|
2046
2046
|
] }, d)
|
|
2047
2047
|
) }),
|
|
2048
|
-
r.noDataColor && /* @__PURE__ */ p("div", { className:
|
|
2048
|
+
r.noDataColor && /* @__PURE__ */ p("div", { className: D.noDataContainer, children: [
|
|
2049
2049
|
/* @__PURE__ */ i(
|
|
2050
2050
|
"div",
|
|
2051
2051
|
{
|
|
2052
|
-
className:
|
|
2052
|
+
className: D.noData,
|
|
2053
2053
|
style: {
|
|
2054
2054
|
background: r.noDataColor
|
|
2055
2055
|
}
|
|
2056
2056
|
}
|
|
2057
2057
|
),
|
|
2058
|
-
/* @__PURE__ */ i("div", { className:
|
|
2058
|
+
/* @__PURE__ */ i("div", { className: D.absoluteValueText, children: /* @__PURE__ */ i("span", { children: u(r.noDataText) }) })
|
|
2059
2059
|
] })
|
|
2060
2060
|
] }),
|
|
2061
|
-
a && /* @__PURE__ */ i("button", { className:
|
|
2061
|
+
a && /* @__PURE__ */ i("button", { className: D.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
|
|
2062
2062
|
]
|
|
2063
2063
|
}
|
|
2064
2064
|
);
|
|
2065
2065
|
};
|
|
2066
|
-
|
|
2066
|
+
Un.propTypes = {
|
|
2067
2067
|
title: e.string,
|
|
2068
2068
|
containerStyles: e.object,
|
|
2069
2069
|
infoList: e.arrayOf(
|
|
@@ -2090,23 +2090,23 @@ H0.propTypes = {
|
|
|
2090
2090
|
onClickClose: e.func,
|
|
2091
2091
|
noDataColor: e.string
|
|
2092
2092
|
};
|
|
2093
|
-
const
|
|
2094
|
-
logo:
|
|
2095
|
-
},
|
|
2093
|
+
const Gn = "_logo_1ewa6_2", et = {
|
|
2094
|
+
logo: Gn
|
|
2095
|
+
}, Wn = ({ src: n, alt: d, href: s }) => {
|
|
2096
2096
|
const { t: o } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2097
2097
|
return s ? /* @__PURE__ */ i("div", { className: et.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: et.logo, children: t });
|
|
2098
2098
|
};
|
|
2099
|
-
|
|
2099
|
+
Wn.propTypes = {
|
|
2100
2100
|
src: e.string.isRequired,
|
|
2101
2101
|
alt: e.string.isRequired,
|
|
2102
2102
|
href: e.string,
|
|
2103
2103
|
className: e.string
|
|
2104
2104
|
};
|
|
2105
|
-
const
|
|
2106
|
-
mapContainer:
|
|
2105
|
+
const Yn = "_mapContainer_84pkf_2", Qn = {
|
|
2106
|
+
mapContainer: Yn
|
|
2107
2107
|
};
|
|
2108
2108
|
Dt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2109
|
-
const
|
|
2109
|
+
const Xn = ({
|
|
2110
2110
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2111
2111
|
maxZoom: d = 17,
|
|
2112
2112
|
minZoom: s = 8,
|
|
@@ -2117,17 +2117,17 @@ const Q0 = ({
|
|
|
2117
2117
|
interactiveLayers: l = [],
|
|
2118
2118
|
popUp: c = !1,
|
|
2119
2119
|
sources: u = [],
|
|
2120
|
-
layers:
|
|
2120
|
+
layers: h = []
|
|
2121
2121
|
}) => {
|
|
2122
|
-
const C = ie(), [
|
|
2123
|
-
return
|
|
2122
|
+
const C = ie(), [y, v] = L(null), f = Ft((g) => g.mapState.showTexts);
|
|
2123
|
+
return T(() => {
|
|
2124
2124
|
if (C.current) {
|
|
2125
|
-
const
|
|
2126
|
-
|
|
2127
|
-
|
|
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"));
|
|
2128
2128
|
});
|
|
2129
2129
|
}
|
|
2130
|
-
}, [
|
|
2130
|
+
}, [f]), /* @__PURE__ */ i("div", { className: `${Qn.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2131
2131
|
Vt,
|
|
2132
2132
|
{
|
|
2133
2133
|
initialViewState: n,
|
|
@@ -2139,31 +2139,31 @@ const Q0 = ({
|
|
|
2139
2139
|
onClick: a,
|
|
2140
2140
|
interactiveLayerIds: l,
|
|
2141
2141
|
children: [
|
|
2142
|
-
u.length && u.map((
|
|
2142
|
+
u.length && u.map((g, m) => /* @__PURE__ */ i(
|
|
2143
2143
|
At,
|
|
2144
2144
|
{
|
|
2145
|
-
...
|
|
2146
|
-
children:
|
|
2147
|
-
if (
|
|
2145
|
+
...g,
|
|
2146
|
+
children: h.length && h.map((b, _) => {
|
|
2147
|
+
if (b.sourceId == g.id) return /* @__PURE__ */ i(
|
|
2148
2148
|
Ot,
|
|
2149
2149
|
{
|
|
2150
|
-
...
|
|
2150
|
+
...b.layer,
|
|
2151
2151
|
beforeId: t
|
|
2152
2152
|
},
|
|
2153
|
-
|
|
2153
|
+
_
|
|
2154
2154
|
);
|
|
2155
2155
|
})
|
|
2156
2156
|
},
|
|
2157
|
-
|
|
2157
|
+
m
|
|
2158
2158
|
)),
|
|
2159
2159
|
/* @__PURE__ */ i(It, { position: "bottom-right", visualizePitch: !0 }),
|
|
2160
|
-
c &&
|
|
2160
|
+
c && y && /* @__PURE__ */ i(
|
|
2161
2161
|
Rt,
|
|
2162
2162
|
{
|
|
2163
2163
|
longitude: c.longitude,
|
|
2164
2164
|
latitude: c.latitude,
|
|
2165
2165
|
anchor: c.anchor,
|
|
2166
|
-
onClose: () =>
|
|
2166
|
+
onClose: () => v(null),
|
|
2167
2167
|
children: c.content
|
|
2168
2168
|
}
|
|
2169
2169
|
)
|
|
@@ -2171,7 +2171,7 @@ const Q0 = ({
|
|
|
2171
2171
|
}
|
|
2172
2172
|
) });
|
|
2173
2173
|
};
|
|
2174
|
-
|
|
2174
|
+
Xn.propTypes = {
|
|
2175
2175
|
initialView: e.shape({
|
|
2176
2176
|
latitude: e.number.isRequired,
|
|
2177
2177
|
longitude: e.number.isRequired,
|
|
@@ -2216,12 +2216,12 @@ Q0.propTypes = {
|
|
|
2216
2216
|
})
|
|
2217
2217
|
)
|
|
2218
2218
|
};
|
|
2219
|
-
const
|
|
2220
|
-
mapContainer:
|
|
2221
|
-
},
|
|
2222
|
-
FeaturePopUp:
|
|
2223
|
-
title:
|
|
2224
|
-
},
|
|
2219
|
+
const Jn = "_mapContainer_b0pyr_3", e0 = {
|
|
2220
|
+
mapContainer: Jn
|
|
2221
|
+
}, t0 = "_FeaturePopUp_mt8l5_2", n0 = "_title_mt8l5_9", tt = {
|
|
2222
|
+
FeaturePopUp: t0,
|
|
2223
|
+
title: n0
|
|
2224
|
+
}, i0 = ({ props: n }) => {
|
|
2225
2225
|
const { t: d } = $();
|
|
2226
2226
|
return /* @__PURE__ */ i("div", { className: tt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ p("p", { children: [
|
|
2227
2227
|
/* @__PURE__ */ p("span", { className: tt.title, children: [
|
|
@@ -2234,7 +2234,7 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2234
2234
|
d(s.unit)
|
|
2235
2235
|
] })
|
|
2236
2236
|
] })) });
|
|
2237
|
-
},
|
|
2237
|
+
}, s0 = ({
|
|
2238
2238
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2239
2239
|
maxZoom: d = 17,
|
|
2240
2240
|
minZoom: s = 8,
|
|
@@ -2245,31 +2245,31 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2245
2245
|
interactiveLayers: l = [],
|
|
2246
2246
|
sources: c = [],
|
|
2247
2247
|
layers: u = [],
|
|
2248
|
-
filters:
|
|
2248
|
+
filters: h,
|
|
2249
2249
|
popUpParams: C,
|
|
2250
|
-
onClosePopUp:
|
|
2251
|
-
showTexts:
|
|
2250
|
+
onClosePopUp: y,
|
|
2251
|
+
showTexts: v
|
|
2252
2252
|
}) => {
|
|
2253
|
-
console.log(
|
|
2254
|
-
const
|
|
2255
|
-
return
|
|
2256
|
-
if (
|
|
2257
|
-
const
|
|
2258
|
-
|
|
2259
|
-
|
|
2253
|
+
console.log(h);
|
|
2254
|
+
const f = ie();
|
|
2255
|
+
return T(() => {
|
|
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"));
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
|
-
}, [
|
|
2263
|
-
let
|
|
2264
|
-
return Se.addProtocol("pmtiles",
|
|
2262
|
+
}, [v]), T(() => {
|
|
2263
|
+
let g = new qt();
|
|
2264
|
+
return Se.addProtocol("pmtiles", g.tile), () => {
|
|
2265
2265
|
Se.removeProtocol("pmtiles");
|
|
2266
2266
|
};
|
|
2267
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2267
|
+
}, []), /* @__PURE__ */ i("div", { className: `${e0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2268
2268
|
Et,
|
|
2269
2269
|
{
|
|
2270
2270
|
mapLib: Se,
|
|
2271
2271
|
initialViewState: n,
|
|
2272
|
-
ref:
|
|
2272
|
+
ref: f,
|
|
2273
2273
|
hash: !1,
|
|
2274
2274
|
maxZoom: d,
|
|
2275
2275
|
minZoom: s,
|
|
@@ -2277,23 +2277,23 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2277
2277
|
onClick: a,
|
|
2278
2278
|
interactiveLayerIds: l,
|
|
2279
2279
|
children: [
|
|
2280
|
-
c.length && c.map((
|
|
2280
|
+
c.length && c.map((g, m) => /* @__PURE__ */ i(
|
|
2281
2281
|
Pt,
|
|
2282
2282
|
{
|
|
2283
|
-
...
|
|
2284
|
-
children: u.length && u.map((
|
|
2285
|
-
if (
|
|
2283
|
+
...g,
|
|
2284
|
+
children: u.length && u.map((b, _) => {
|
|
2285
|
+
if (b.sourceId == g.id) return /* @__PURE__ */ i(
|
|
2286
2286
|
jt,
|
|
2287
2287
|
{
|
|
2288
|
-
...
|
|
2288
|
+
...b.layer,
|
|
2289
2289
|
beforeId: t,
|
|
2290
|
-
filter:
|
|
2290
|
+
filter: h && h
|
|
2291
2291
|
},
|
|
2292
|
-
|
|
2292
|
+
_
|
|
2293
2293
|
);
|
|
2294
2294
|
})
|
|
2295
2295
|
},
|
|
2296
|
-
|
|
2296
|
+
m
|
|
2297
2297
|
)),
|
|
2298
2298
|
/* @__PURE__ */ i(Zt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2299
2299
|
C && /* @__PURE__ */ i(
|
|
@@ -2301,15 +2301,15 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2301
2301
|
{
|
|
2302
2302
|
longitude: C.lng,
|
|
2303
2303
|
latitude: C.lat,
|
|
2304
|
-
onClose:
|
|
2305
|
-
children: /* @__PURE__ */ i(
|
|
2304
|
+
onClose: y,
|
|
2305
|
+
children: /* @__PURE__ */ i(i0, { props: C.props })
|
|
2306
2306
|
}
|
|
2307
2307
|
)
|
|
2308
2308
|
]
|
|
2309
2309
|
}
|
|
2310
2310
|
) });
|
|
2311
2311
|
};
|
|
2312
|
-
|
|
2312
|
+
s0.propTypes = {
|
|
2313
2313
|
initialView: e.shape({
|
|
2314
2314
|
latitude: e.number.isRequired,
|
|
2315
2315
|
longitude: e.number.isRequired,
|
|
@@ -2352,14 +2352,14 @@ sn.propTypes = {
|
|
|
2352
2352
|
popUpParams: e.object,
|
|
2353
2353
|
onClosePopUp: e.func
|
|
2354
2354
|
};
|
|
2355
|
-
const
|
|
2356
|
-
sectionBar:
|
|
2357
|
-
leftContent:
|
|
2358
|
-
textContainer:
|
|
2359
|
-
title:
|
|
2360
|
-
subtitle:
|
|
2361
|
-
rightContent:
|
|
2362
|
-
},
|
|
2355
|
+
const o0 = "_sectionBar_1egwc_2", r0 = "_leftContent_1egwc_14", a0 = "_textContainer_1egwc_20", l0 = "_title_1egwc_27", c0 = "_subtitle_1egwc_33", d0 = "_rightContent_1egwc_38", J = {
|
|
2356
|
+
sectionBar: o0,
|
|
2357
|
+
leftContent: r0,
|
|
2358
|
+
textContainer: a0,
|
|
2359
|
+
title: l0,
|
|
2360
|
+
subtitle: c0,
|
|
2361
|
+
rightContent: d0
|
|
2362
|
+
}, u0 = ({
|
|
2363
2363
|
leftIcon: n,
|
|
2364
2364
|
title: d,
|
|
2365
2365
|
subtitle: s,
|
|
@@ -2379,7 +2379,7 @@ const on = "_sectionBar_1egwc_2", rn = "_leftContent_1egwc_14", an = "_textConta
|
|
|
2379
2379
|
/* @__PURE__ */ i("div", { className: J.rightContent, children: o })
|
|
2380
2380
|
] });
|
|
2381
2381
|
};
|
|
2382
|
-
|
|
2382
|
+
u0.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 @@ un.propTypes = {
|
|
|
2393
2393
|
width: e.oneOfType([e.string, e.number])
|
|
2394
2394
|
// ancho de la barra
|
|
2395
2395
|
};
|
|
2396
|
-
const
|
|
2396
|
+
const p0 = Kt({
|
|
2397
2397
|
name: "mapSlice",
|
|
2398
2398
|
initialState: {
|
|
2399
2399
|
showTexts: !0,
|
|
@@ -2419,12 +2419,12 @@ const pn = Kt({
|
|
|
2419
2419
|
n.activeIndicatorUnit = d.payload;
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
|
-
}), { setShowTexts: Xs, setYear: Js, setActiveIndicatorKey: eo, setActiveIndicatorType: to, setActiveIndicatorUnit: no } =
|
|
2423
|
-
slider:
|
|
2424
|
-
playButton:
|
|
2425
|
-
sliderOpen:
|
|
2426
|
-
sliderResults:
|
|
2427
|
-
},
|
|
2422
|
+
}), { setShowTexts: Xs, setYear: Js, setActiveIndicatorKey: eo, setActiveIndicatorType: to, setActiveIndicatorUnit: no } = p0.actions, m0 = "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", h0 = "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", g0 = "_slider_1prh1_2", C0 = "_playButton_1prh1_14", f0 = "_sliderOpen_1prh1_25", b0 = "_sliderResults_1prh1_29", he = {
|
|
2423
|
+
slider: g0,
|
|
2424
|
+
playButton: C0,
|
|
2425
|
+
sliderOpen: f0,
|
|
2426
|
+
sliderResults: b0
|
|
2427
|
+
}, _0 = ({
|
|
2428
2428
|
onResults: n = !1,
|
|
2429
2429
|
defaultYear: d = 2025,
|
|
2430
2430
|
firstYear: s = 2025,
|
|
@@ -2435,30 +2435,30 @@ const pn = Kt({
|
|
|
2435
2435
|
console.log("year changed to ", l);
|
|
2436
2436
|
}
|
|
2437
2437
|
}) => {
|
|
2438
|
-
const [l, c] =
|
|
2439
|
-
c(
|
|
2440
|
-
}, [
|
|
2438
|
+
const [l, c] = L(d), u = (b, _) => {
|
|
2439
|
+
c(_), a(_);
|
|
2440
|
+
}, [h, C] = L(!1), y = () => {
|
|
2441
2441
|
C(!0);
|
|
2442
|
-
},
|
|
2442
|
+
}, v = () => {
|
|
2443
2443
|
C(!1);
|
|
2444
2444
|
};
|
|
2445
|
-
((
|
|
2446
|
-
const
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
}, [
|
|
2445
|
+
((b, _) => {
|
|
2446
|
+
const N = ie();
|
|
2447
|
+
T(() => {
|
|
2448
|
+
N.current = b;
|
|
2449
|
+
}, [b]), T(() => {
|
|
2450
2450
|
function w() {
|
|
2451
|
-
|
|
2451
|
+
N.current();
|
|
2452
2452
|
}
|
|
2453
2453
|
{
|
|
2454
|
-
let
|
|
2455
|
-
return () => clearInterval(
|
|
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
|
|
2461
|
+
const g = Ut({
|
|
2462
2462
|
palette: {
|
|
2463
2463
|
primary: {
|
|
2464
2464
|
main: "#605b56"
|
|
@@ -2480,17 +2480,17 @@ const pn = Kt({
|
|
|
2480
2480
|
}
|
|
2481
2481
|
}
|
|
2482
2482
|
}
|
|
2483
|
-
}),
|
|
2483
|
+
}), m = [
|
|
2484
2484
|
{ label: "", value: 2025 },
|
|
2485
2485
|
{ label: "", value: 2032 },
|
|
2486
2486
|
{ label: "", value: 2041 },
|
|
2487
2487
|
{ label: "", value: 2050 }
|
|
2488
2488
|
];
|
|
2489
|
-
return /* @__PURE__ */ i(Wt, { theme:
|
|
2489
|
+
return /* @__PURE__ */ i(Wt, { theme: g, children: /* @__PURE__ */ p(
|
|
2490
2490
|
Gt,
|
|
2491
2491
|
{
|
|
2492
2492
|
sx: { width: 400 },
|
|
2493
|
-
className: `${n ?
|
|
2493
|
+
className: `${n ? he.sliderResults : he.slider} ${r ? he.sliderOpen : ""}`,
|
|
2494
2494
|
style: { zIndex: t },
|
|
2495
2495
|
children: [
|
|
2496
2496
|
s,
|
|
@@ -2501,7 +2501,7 @@ const pn = Kt({
|
|
|
2501
2501
|
value: l,
|
|
2502
2502
|
valueLabelDisplay: "on",
|
|
2503
2503
|
step: 1,
|
|
2504
|
-
marks:
|
|
2504
|
+
marks: m,
|
|
2505
2505
|
min: s,
|
|
2506
2506
|
max: o,
|
|
2507
2507
|
onChange: u,
|
|
@@ -2510,13 +2510,13 @@ const pn = Kt({
|
|
|
2510
2510
|
}
|
|
2511
2511
|
),
|
|
2512
2512
|
o,
|
|
2513
|
-
!
|
|
2514
|
-
|
|
2513
|
+
!h && /* @__PURE__ */ i("button", { className: he.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src: m0, alt: "Play" }) }),
|
|
2514
|
+
h && /* @__PURE__ */ i("button", { className: he.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: h0, alt: "Pause" }) })
|
|
2515
2515
|
]
|
|
2516
2516
|
}
|
|
2517
2517
|
) });
|
|
2518
2518
|
};
|
|
2519
|
-
|
|
2519
|
+
_0.propTypes = {
|
|
2520
2520
|
defaultYear: e.number,
|
|
2521
2521
|
onResults: e.bool,
|
|
2522
2522
|
firstYear: e.number,
|
|
@@ -2525,11 +2525,11 @@ _n.propTypes = {
|
|
|
2525
2525
|
rightBarOpen: e.bool,
|
|
2526
2526
|
onChange: e.func
|
|
2527
2527
|
};
|
|
2528
|
-
const
|
|
2529
|
-
TopNavMenuContainer:
|
|
2530
|
-
topNavOptions:
|
|
2531
|
-
active:
|
|
2532
|
-
},
|
|
2528
|
+
const y0 = "_TopNavMenuContainer_12mp4_2", v0 = "_topNavOptions_12mp4_13", w0 = "_active_12mp4_27", De = {
|
|
2529
|
+
TopNavMenuContainer: y0,
|
|
2530
|
+
topNavOptions: v0,
|
|
2531
|
+
active: w0
|
|
2532
|
+
}, x0 = ({
|
|
2533
2533
|
options: n = [],
|
|
2534
2534
|
containerStyles: d,
|
|
2535
2535
|
borderColor: s = "red",
|
|
@@ -2554,7 +2554,7 @@ const yn = "_TopNavMenuContainer_12mp4_2", vn = "_topNavOptions_12mp4_13", wn =
|
|
|
2554
2554
|
l
|
|
2555
2555
|
)) });
|
|
2556
2556
|
};
|
|
2557
|
-
|
|
2557
|
+
x0.propTypes = {
|
|
2558
2558
|
options: e.arrayOf(e.object),
|
|
2559
2559
|
cssProps: e.shape({
|
|
2560
2560
|
borderColor: e.string.isRequired,
|
|
@@ -2564,9 +2564,9 @@ xn.propTypes = {
|
|
|
2564
2564
|
// activeColor: PropTypes.string,
|
|
2565
2565
|
// defaultColor: PropTypes.string
|
|
2566
2566
|
};
|
|
2567
|
-
const
|
|
2568
|
-
LogInButton:
|
|
2569
|
-
}, $
|
|
2567
|
+
const N0 = "_LogInButton_1vxj5_2", k0 = {
|
|
2568
|
+
LogInButton: N0
|
|
2569
|
+
}, $0 = ({
|
|
2570
2570
|
cssClass: n,
|
|
2571
2571
|
notLoggedInLabel: d = "Log in",
|
|
2572
2572
|
loggedInLabel: s = "Log out",
|
|
@@ -2585,13 +2585,13 @@ const Nn = "_LogInButton_1vxj5_2", kn = {
|
|
|
2585
2585
|
"div",
|
|
2586
2586
|
{
|
|
2587
2587
|
style: { ...o },
|
|
2588
|
-
className: `${
|
|
2588
|
+
className: `${k0.LogInButton} link ${n}`,
|
|
2589
2589
|
onClick: r ? l : a,
|
|
2590
2590
|
children: r ? t || c(s) : c(d)
|
|
2591
2591
|
}
|
|
2592
2592
|
);
|
|
2593
2593
|
};
|
|
2594
|
-
$
|
|
2594
|
+
$0.propTypes = {
|
|
2595
2595
|
cssClass: e.string,
|
|
2596
2596
|
notLoggedInLabel: e.string,
|
|
2597
2597
|
loggedInLabel: e.string,
|
|
@@ -2599,26 +2599,26 @@ $n.propTypes = {
|
|
|
2599
2599
|
userName: e.string,
|
|
2600
2600
|
isLoggedIn: e.bool
|
|
2601
2601
|
};
|
|
2602
|
-
const
|
|
2603
|
-
elementSelector:
|
|
2604
|
-
header:
|
|
2605
|
-
nameDateContainer:
|
|
2606
|
-
elementName:
|
|
2607
|
-
elementDate:
|
|
2608
|
-
buttonsContainer:
|
|
2609
|
-
elementListContainer:
|
|
2610
|
-
newElementButtonContainer:
|
|
2611
|
-
},
|
|
2612
|
-
listElement:
|
|
2613
|
-
elementNameDate:
|
|
2614
|
-
elementNameContainer:
|
|
2615
|
-
elementName:
|
|
2616
|
-
elementDate:
|
|
2617
|
-
elementButtons:
|
|
2602
|
+
const S0 = "_elementSelector_1qdhv_2", B0 = "_header_1qdhv_13", L0 = "_nameDateContainer_1qdhv_23", T0 = "_elementName_1qdhv_39", M0 = "_elementDate_1qdhv_53", D0 = "_buttonsContainer_1qdhv_67", F0 = "_elementListContainer_1qdhv_76", V0 = "_newElementButtonContainer_1qdhv_80", Z = {
|
|
2603
|
+
elementSelector: S0,
|
|
2604
|
+
header: B0,
|
|
2605
|
+
nameDateContainer: L0,
|
|
2606
|
+
elementName: T0,
|
|
2607
|
+
elementDate: M0,
|
|
2608
|
+
buttonsContainer: D0,
|
|
2609
|
+
elementListContainer: F0,
|
|
2610
|
+
newElementButtonContainer: V0
|
|
2611
|
+
}, A0 = "_listElement_1s506_2", O0 = "_elementNameDate_1s506_17", I0 = "_elementNameContainer_1s506_27", R0 = "_elementName_1s506_17", q0 = "_elementDate_1s506_42", E0 = "_elementButtons_1s506_45", P0 = "_moreInfoContainer_1s506_68", j0 = "_moreInfo_1s506_68", P = {
|
|
2612
|
+
listElement: A0,
|
|
2613
|
+
elementNameDate: O0,
|
|
2614
|
+
elementNameContainer: I0,
|
|
2615
|
+
elementName: R0,
|
|
2616
|
+
elementDate: q0,
|
|
2617
|
+
elementButtons: E0,
|
|
2618
2618
|
break: "_break_1s506_63",
|
|
2619
|
-
moreInfoContainer:
|
|
2620
|
-
moreInfo:
|
|
2621
|
-
}, Zn = "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", zn = "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", Kn = "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", Hn = "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", Un = "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";
|
|
2619
|
+
moreInfoContainer: P0,
|
|
2620
|
+
moreInfo: j0
|
|
2621
|
+
}, Z0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", z0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", K0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", H0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", U0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2622
2622
|
var nt;
|
|
2623
2623
|
function Pe() {
|
|
2624
2624
|
return Pe = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -2629,21 +2629,21 @@ function Pe() {
|
|
|
2629
2629
|
return n;
|
|
2630
2630
|
}, Pe.apply(null, arguments);
|
|
2631
2631
|
}
|
|
2632
|
-
var
|
|
2633
|
-
return /* @__PURE__ */
|
|
2632
|
+
var G0 = function(d) {
|
|
2633
|
+
return /* @__PURE__ */ pe.createElement("svg", Pe({
|
|
2634
2634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2635
2635
|
width: 26,
|
|
2636
2636
|
height: 14,
|
|
2637
2637
|
fill: "none"
|
|
2638
|
-
}, d), nt || (nt = /* @__PURE__ */
|
|
2638
|
+
}, d), nt || (nt = /* @__PURE__ */ pe.createElement("g", {
|
|
2639
2639
|
fill: "currentColor"
|
|
2640
|
-
}, /* @__PURE__ */
|
|
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"
|
|
2642
|
-
}), /* @__PURE__ */
|
|
2642
|
+
}), /* @__PURE__ */ pe.createElement("path", {
|
|
2643
2643
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2644
2644
|
}))));
|
|
2645
2645
|
};
|
|
2646
|
-
const
|
|
2646
|
+
const W0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", _t = ({
|
|
2647
2647
|
listelement: n,
|
|
2648
2648
|
onClickElement: d,
|
|
2649
2649
|
isActive: s,
|
|
@@ -2654,55 +2654,55 @@ const Wn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2654
2654
|
elementButtons: l,
|
|
2655
2655
|
processTooltip: c,
|
|
2656
2656
|
defaultTooltip: u,
|
|
2657
|
-
showEye:
|
|
2657
|
+
showEye: h = !0
|
|
2658
2658
|
}) => {
|
|
2659
|
-
const { name: C, created_at:
|
|
2659
|
+
const { name: C, created_at: y, id: v, isBeingProcessed: f } = n, [g, m] = L(!1), { t: b } = $();
|
|
2660
2660
|
return /* @__PURE__ */ p(
|
|
2661
2661
|
"div",
|
|
2662
2662
|
{
|
|
2663
|
-
className:
|
|
2663
|
+
className: P.listElement,
|
|
2664
2664
|
style: { borderBottom: `1px solid ${t}` },
|
|
2665
2665
|
children: [
|
|
2666
|
-
/* @__PURE__ */ i("div", { className:
|
|
2667
|
-
|
|
2666
|
+
/* @__PURE__ */ i("div", { className: P.elementNameDate, onClick: () => d(v), children: Object.keys(a).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: P.elementNameContainer, children: /* @__PURE__ */ p("div", { className: P.elementName, children: [
|
|
2667
|
+
h && (s ? /* @__PURE__ */ i(G0, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2668
2668
|
"img",
|
|
2669
2669
|
{
|
|
2670
2670
|
style: { marginRight: 9 },
|
|
2671
|
-
src:
|
|
2671
|
+
src: W0,
|
|
2672
2672
|
alt: "eye"
|
|
2673
2673
|
}
|
|
2674
2674
|
)),
|
|
2675
2675
|
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: C })
|
|
2676
|
-
] }) }) :
|
|
2677
|
-
/* @__PURE__ */ p("div", { className:
|
|
2676
|
+
] }) }) : _ == "data" ? /* @__PURE__ */ i("div", { className: P.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: P.elementDate, children: n[_] })) }),
|
|
2677
|
+
/* @__PURE__ */ p("div", { className: P.elementButtons, children: [
|
|
2678
2678
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2679
|
-
/* @__PURE__ */ i("img", { src:
|
|
2679
|
+
/* @__PURE__ */ i("img", { src: H0 }),
|
|
2680
2680
|
/* @__PURE__ */ i(ne, { 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:
|
|
2683
|
+
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: K0 }) }),
|
|
2684
2684
|
/* @__PURE__ */ i(ne, { 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:
|
|
2687
|
+
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: z0 }) }),
|
|
2688
2688
|
/* @__PURE__ */ i(ne, { 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:
|
|
2691
|
+
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: Z0 }) }),
|
|
2692
2692
|
/* @__PURE__ */ i(ne, { 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:
|
|
2695
|
+
/* @__PURE__ */ i("img", { src: U0 }),
|
|
2696
2696
|
/* @__PURE__ */ i(ne, { text: u, position: "left" })
|
|
2697
2697
|
] })
|
|
2698
2698
|
] }),
|
|
2699
|
-
r && /* @__PURE__ */ i("div", { className:
|
|
2700
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2701
|
-
/* @__PURE__ */ p("div", { className:
|
|
2702
|
-
/* @__PURE__ */ i("span", { children:
|
|
2703
|
-
|
|
2699
|
+
r && /* @__PURE__ */ i("div", { className: P.break }),
|
|
2700
|
+
r && /* @__PURE__ */ p("div", { className: P.moreInfoContainer, children: [
|
|
2701
|
+
/* @__PURE__ */ p("div", { className: P.moreInfo, onClick: () => m(!g), children: [
|
|
2702
|
+
/* @__PURE__ */ i("span", { children: g ? "-" : "+" }),
|
|
2703
|
+
b(r.label)
|
|
2704
2704
|
] }),
|
|
2705
|
-
r &&
|
|
2705
|
+
r && g && /* @__PURE__ */ i("div", { className: P.moreInfoInfo, children: n[r.info] })
|
|
2706
2706
|
] })
|
|
2707
2707
|
]
|
|
2708
2708
|
}
|
|
@@ -2744,7 +2744,7 @@ _t.propTypes = {
|
|
|
2744
2744
|
defaultTooltip: e.string,
|
|
2745
2745
|
showEye: e.bool
|
|
2746
2746
|
};
|
|
2747
|
-
const it = "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",
|
|
2747
|
+
const it = "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", Y0 = ({
|
|
2748
2748
|
elementsList: n,
|
|
2749
2749
|
activeElementId: d,
|
|
2750
2750
|
fontColor: s = "#605B56",
|
|
@@ -2753,27 +2753,27 @@ const it = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2753
2753
|
containerStyles: r = {},
|
|
2754
2754
|
newElementButton: a,
|
|
2755
2755
|
//{label: 'text', onClick: function(), disabled}/null
|
|
2756
|
-
onClickElement: l = (
|
|
2756
|
+
onClickElement: l = (f) => console.log(`OnCLickElement: ${f}`),
|
|
2757
2757
|
columns: c,
|
|
2758
2758
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2759
2759
|
elementButtons: u,
|
|
2760
2760
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2761
|
-
moreInfo:
|
|
2761
|
+
moreInfo: h = !1,
|
|
2762
2762
|
//{label: 'x'}
|
|
2763
2763
|
processTooltip: C,
|
|
2764
2764
|
//texto para el tooltip del simbolo "En proceso"
|
|
2765
|
-
defaultTooltip:
|
|
2765
|
+
defaultTooltip: y,
|
|
2766
2766
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2767
|
-
showEye:
|
|
2767
|
+
showEye: v = !0
|
|
2768
2768
|
}) => {
|
|
2769
|
-
const { t:
|
|
2770
|
-
|
|
2771
|
-
n &&
|
|
2769
|
+
const { t: f } = $(), [g, m] = L(n);
|
|
2770
|
+
T(() => {
|
|
2771
|
+
n && m(n);
|
|
2772
2772
|
}, [n]);
|
|
2773
|
-
const
|
|
2774
|
-
if (
|
|
2775
|
-
let
|
|
2776
|
-
|
|
2773
|
+
const b = (_) => {
|
|
2774
|
+
if (g && g.length > 0) {
|
|
2775
|
+
let N = [...g];
|
|
2776
|
+
N.sort((w, x) => w[_].localeCompare(x[_])), m(N);
|
|
2777
2777
|
}
|
|
2778
2778
|
};
|
|
2779
2779
|
return /* @__PURE__ */ p(
|
|
@@ -2788,33 +2788,33 @@ const it = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2788
2788
|
className: Z.header,
|
|
2789
2789
|
style: { borderBottom: `1px solid ${s}` },
|
|
2790
2790
|
children: [
|
|
2791
|
-
/* @__PURE__ */ i("div", { className: Z.nameDateContainer, children: Object.keys(c).map((
|
|
2792
|
-
/* @__PURE__ */ i("span", { children:
|
|
2791
|
+
/* @__PURE__ */ i("div", { className: Z.nameDateContainer, children: Object.keys(c).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: Z.elementName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
2792
|
+
/* @__PURE__ */ i("span", { children: f(c.name) }),
|
|
2793
2793
|
/* @__PURE__ */ i("img", { src: it, alt: "order arrow" })
|
|
2794
|
-
] }) },
|
|
2795
|
-
/* @__PURE__ */ i("span", { children:
|
|
2794
|
+
] }) }, _) : _ === "data" ? /* @__PURE__ */ i("div", { className: Z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
2795
|
+
/* @__PURE__ */ i("span", { children: f(c.data) }),
|
|
2796
2796
|
/* @__PURE__ */ i("img", { src: it, alt: "order arrow" })
|
|
2797
|
-
] }) },
|
|
2797
|
+
] }) }, _) : /* @__PURE__ */ i("div", { className: Z.elementDate, children: /* @__PURE__ */ i("span", { children: f(c[_]) }) }, _)) }),
|
|
2798
2798
|
/* @__PURE__ */ i("div", { className: Z.buttonsContainer })
|
|
2799
2799
|
]
|
|
2800
2800
|
}
|
|
2801
2801
|
),
|
|
2802
|
-
/* @__PURE__ */ i("div", { className: Z.elementListContainer, children:
|
|
2802
|
+
/* @__PURE__ */ i("div", { className: Z.elementListContainer, children: g && g.length > 0 && g.map((_) => /* @__PURE__ */ i(
|
|
2803
2803
|
_t,
|
|
2804
2804
|
{
|
|
2805
|
-
isActive: d ==
|
|
2806
|
-
listelement:
|
|
2805
|
+
isActive: d == _.id,
|
|
2806
|
+
listelement: _,
|
|
2807
2807
|
fontColor: s,
|
|
2808
2808
|
activeColor: o,
|
|
2809
2809
|
onClickElement: l,
|
|
2810
2810
|
columns: c,
|
|
2811
2811
|
elementButtons: u,
|
|
2812
|
-
moreInfo:
|
|
2812
|
+
moreInfo: h,
|
|
2813
2813
|
processTooltip: C,
|
|
2814
|
-
defaultTooltip:
|
|
2815
|
-
showEye:
|
|
2814
|
+
defaultTooltip: y,
|
|
2815
|
+
showEye: v
|
|
2816
2816
|
},
|
|
2817
|
-
`elementKey${
|
|
2817
|
+
`elementKey${_.id}`
|
|
2818
2818
|
)) }),
|
|
2819
2819
|
a && /* @__PURE__ */ i("div", { className: Z.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2820
2820
|
$e,
|
|
@@ -2823,14 +2823,14 @@ const it = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2823
2823
|
onClick: a.onClick,
|
|
2824
2824
|
borderColor: "grey",
|
|
2825
2825
|
disabled: a.disabled || !1,
|
|
2826
|
-
children:
|
|
2826
|
+
children: f(a.label)
|
|
2827
2827
|
}
|
|
2828
2828
|
) })
|
|
2829
2829
|
]
|
|
2830
2830
|
}
|
|
2831
2831
|
);
|
|
2832
2832
|
};
|
|
2833
|
-
|
|
2833
|
+
Y0.propTypes = {
|
|
2834
2834
|
elementList: e.arrayOf(
|
|
2835
2835
|
e.shape({
|
|
2836
2836
|
name: e.string.isRequired,
|
|
@@ -2877,30 +2877,30 @@ Yn.propTypes = {
|
|
|
2877
2877
|
defaultTooltip: e.string,
|
|
2878
2878
|
showEye: e.bool
|
|
2879
2879
|
};
|
|
2880
|
-
const
|
|
2880
|
+
const ge = {
|
|
2881
2881
|
text: "text",
|
|
2882
2882
|
password: "password",
|
|
2883
2883
|
radioList: "radioList",
|
|
2884
2884
|
select: "select"
|
|
2885
|
-
},
|
|
2886
|
-
textInputContainer:
|
|
2887
|
-
labelContainer:
|
|
2888
|
-
inputContainer:
|
|
2885
|
+
}, Q0 = "_textInputContainer_1o3iy_2", X0 = "_labelContainer_1o3iy_5", J0 = "_inputContainer_1o3iy_8", ei = "_showPasswordButton_1o3iy_14", ti = "_forgotPassButton_1o3iy_26", Ce = {
|
|
2886
|
+
textInputContainer: Q0,
|
|
2887
|
+
labelContainer: X0,
|
|
2888
|
+
inputContainer: J0,
|
|
2889
2889
|
showPasswordButton: ei,
|
|
2890
2890
|
forgotPassButton: ti
|
|
2891
2891
|
};
|
|
2892
2892
|
var ni = (n) => n.type === "checkbox", ii = (n) => n instanceof Date, yt = (n) => n == null;
|
|
2893
2893
|
const si = (n) => typeof n == "object";
|
|
2894
|
-
var
|
|
2894
|
+
var be = (n) => !yt(n) && !Array.isArray(n) && si(n) && !ii(n), oi = (n) => be(n) && n.target ? ni(n.target) ? n.target.checked : n.target.value : n, ri = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, ai = (n, d) => n.has(ri(d)), li = (n) => {
|
|
2895
2895
|
const d = n.constructor && n.constructor.prototype;
|
|
2896
|
-
return
|
|
2896
|
+
return be(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2897
2897
|
}, ci = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2898
2898
|
function vt(n) {
|
|
2899
2899
|
let d;
|
|
2900
2900
|
const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2901
2901
|
if (n instanceof Date)
|
|
2902
2902
|
d = new Date(n);
|
|
2903
|
-
else if (!(ci && (n instanceof Blob || o)) && (s ||
|
|
2903
|
+
else if (!(ci && (n instanceof Blob || o)) && (s || be(n)))
|
|
2904
2904
|
if (d = s ? [] : {}, !s && !li(n))
|
|
2905
2905
|
d = n;
|
|
2906
2906
|
else
|
|
@@ -2911,7 +2911,7 @@ function vt(n) {
|
|
|
2911
2911
|
return d;
|
|
2912
2912
|
}
|
|
2913
2913
|
var wt = (n) => /^\w*$/.test(n), je = (n) => n === void 0, di = (n) => Array.isArray(n) ? n.filter(Boolean) : [], xt = (n) => di(n.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (n, d, s) => {
|
|
2914
|
-
if (!d || !
|
|
2914
|
+
if (!d || !be(n))
|
|
2915
2915
|
return s;
|
|
2916
2916
|
const o = (wt(d) ? [d] : xt(d)).reduce((t, r) => yt(t) ? t : t[r], n);
|
|
2917
2917
|
return je(o) || o === n ? je(n[d]) ? s : n[d] : o;
|
|
@@ -2923,7 +2923,7 @@ var wt = (n) => /^\w*$/.test(n), je = (n) => n === void 0, di = (n) => Array.isA
|
|
|
2923
2923
|
let c = s;
|
|
2924
2924
|
if (o !== a) {
|
|
2925
2925
|
const u = n[l];
|
|
2926
|
-
c =
|
|
2926
|
+
c = be(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2927
2927
|
}
|
|
2928
2928
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2929
2929
|
return;
|
|
@@ -2951,7 +2951,7 @@ var ui = (n, d, s, o = !0) => {
|
|
|
2951
2951
|
});
|
|
2952
2952
|
return t;
|
|
2953
2953
|
};
|
|
2954
|
-
const kt = typeof window < "u" ?
|
|
2954
|
+
const kt = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
|
|
2955
2955
|
function pi(n) {
|
|
2956
2956
|
const d = Ue(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(s._formState), c = B.useRef({
|
|
2957
2957
|
isDirty: !1,
|
|
@@ -2986,7 +2986,7 @@ function gi(n) {
|
|
|
2986
2986
|
values: !0
|
|
2987
2987
|
},
|
|
2988
2988
|
exact: a,
|
|
2989
|
-
callback: (
|
|
2989
|
+
callback: (h) => !r && u(hi(o, s._names, h.values || s._formValues, !1, l.current))
|
|
2990
2990
|
}), [o, s, r, a]), B.useEffect(() => s._removeUnmounted()), c;
|
|
2991
2991
|
}
|
|
2992
2992
|
function Ci(n) {
|
|
@@ -2999,7 +2999,7 @@ function Ci(n) {
|
|
|
2999
2999
|
control: t,
|
|
3000
3000
|
name: s,
|
|
3001
3001
|
exact: !0
|
|
3002
|
-
}), u = B.useRef(n),
|
|
3002
|
+
}), u = B.useRef(n), h = B.useRef(t.register(s, {
|
|
3003
3003
|
...n.rules,
|
|
3004
3004
|
value: l,
|
|
3005
3005
|
...Fe(n.disabled) ? { disabled: n.disabled } : {}
|
|
@@ -3024,50 +3024,50 @@ function Ci(n) {
|
|
|
3024
3024
|
enumerable: !0,
|
|
3025
3025
|
get: () => I(c.errors, s)
|
|
3026
3026
|
}
|
|
3027
|
-
}), [c, s]),
|
|
3027
|
+
}), [c, s]), y = B.useCallback((m) => h.current.onChange({
|
|
3028
3028
|
target: {
|
|
3029
|
-
value: oi(
|
|
3029
|
+
value: oi(m),
|
|
3030
3030
|
name: s
|
|
3031
3031
|
},
|
|
3032
3032
|
type: ot.CHANGE
|
|
3033
|
-
}), [s]),
|
|
3033
|
+
}), [s]), v = B.useCallback(() => h.current.onBlur({
|
|
3034
3034
|
target: {
|
|
3035
3035
|
value: I(t._formValues, s),
|
|
3036
3036
|
name: s
|
|
3037
3037
|
},
|
|
3038
3038
|
type: ot.BLUR
|
|
3039
|
-
}), [s, t._formValues]),
|
|
3040
|
-
const
|
|
3041
|
-
|
|
3042
|
-
focus: () =>
|
|
3043
|
-
select: () =>
|
|
3044
|
-
setCustomValidity: (
|
|
3045
|
-
reportValidity: () =>
|
|
3039
|
+
}), [s, t._formValues]), f = B.useCallback((m) => {
|
|
3040
|
+
const b = I(t._fields, s);
|
|
3041
|
+
b && m && (b._f.ref = {
|
|
3042
|
+
focus: () => m.focus && m.focus(),
|
|
3043
|
+
select: () => m.select && m.select(),
|
|
3044
|
+
setCustomValidity: (_) => m.setCustomValidity(_),
|
|
3045
|
+
reportValidity: () => m.reportValidity()
|
|
3046
3046
|
});
|
|
3047
|
-
}, [t._fields, s]),
|
|
3047
|
+
}, [t._fields, s]), g = B.useMemo(() => ({
|
|
3048
3048
|
name: s,
|
|
3049
3049
|
value: l,
|
|
3050
3050
|
...Fe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3051
|
-
onChange:
|
|
3052
|
-
onBlur:
|
|
3053
|
-
ref:
|
|
3054
|
-
}), [s, o, c.disabled,
|
|
3051
|
+
onChange: y,
|
|
3052
|
+
onBlur: v,
|
|
3053
|
+
ref: f
|
|
3054
|
+
}), [s, o, c.disabled, y, v, f, l]);
|
|
3055
3055
|
return B.useEffect(() => {
|
|
3056
|
-
const
|
|
3056
|
+
const m = t._options.shouldUnregister || r;
|
|
3057
3057
|
t.register(s, {
|
|
3058
3058
|
...u.current.rules,
|
|
3059
3059
|
...Fe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3060
3060
|
});
|
|
3061
|
-
const
|
|
3062
|
-
const w = I(t._fields,
|
|
3063
|
-
w && w._f && (w._f.mount =
|
|
3061
|
+
const b = (_, N) => {
|
|
3062
|
+
const w = I(t._fields, _);
|
|
3063
|
+
w && w._f && (w._f.mount = N);
|
|
3064
3064
|
};
|
|
3065
|
-
if (
|
|
3066
|
-
const
|
|
3067
|
-
st(t._defaultValues, s,
|
|
3065
|
+
if (b(s, !0), m) {
|
|
3066
|
+
const _ = vt(I(t._options.defaultValues, s));
|
|
3067
|
+
st(t._defaultValues, s, _), je(I(t._formValues, s)) && st(t._formValues, s, _);
|
|
3068
3068
|
}
|
|
3069
3069
|
return !a && t.register(s), () => {
|
|
3070
|
-
(a ?
|
|
3070
|
+
(a ? m && !t._state.action : m) ? t.unregister(s) : b(s, !1);
|
|
3071
3071
|
};
|
|
3072
3072
|
}, [s, t, a, r]), B.useEffect(() => {
|
|
3073
3073
|
t._setDisabledField({
|
|
@@ -3075,14 +3075,14 @@ function Ci(n) {
|
|
|
3075
3075
|
name: s
|
|
3076
3076
|
});
|
|
3077
3077
|
}, [o, s, t]), B.useMemo(() => ({
|
|
3078
|
-
field:
|
|
3078
|
+
field: g,
|
|
3079
3079
|
formState: c,
|
|
3080
3080
|
fieldState: C
|
|
3081
|
-
}), [
|
|
3081
|
+
}), [g, c, C]);
|
|
3082
3082
|
}
|
|
3083
|
-
const
|
|
3083
|
+
const _e = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
3084
3084
|
errorMessage: fi
|
|
3085
|
-
},
|
|
3085
|
+
}, ye = ({
|
|
3086
3086
|
errorMessage: n,
|
|
3087
3087
|
errorColor: d = "red",
|
|
3088
3088
|
containerStyles: s
|
|
@@ -3106,64 +3106,64 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3106
3106
|
validateFunction: l,
|
|
3107
3107
|
placeholder: c,
|
|
3108
3108
|
errorColor: u = "red",
|
|
3109
|
-
width:
|
|
3109
|
+
width: h = 325,
|
|
3110
3110
|
onClickForgotPass: C = () => {
|
|
3111
3111
|
console.log("Click on forgot password");
|
|
3112
3112
|
},
|
|
3113
|
-
forgotPassLabel:
|
|
3114
|
-
} = n, { t:
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
}, [a, s,
|
|
3118
|
-
const w = () => o ? o === "password" &&
|
|
3113
|
+
forgotPassLabel: y = "forgot-password"
|
|
3114
|
+
} = n, { t: v } = $(), { control: f, trigger: g, clearErrors: m } = d, [b, _] = L(!1), N = ie(a);
|
|
3115
|
+
T(() => {
|
|
3116
|
+
N.current !== a && (a ? g(s) : m(s), N.current = a);
|
|
3117
|
+
}, [a, s, g, m]);
|
|
3118
|
+
const w = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3119
3119
|
return /* @__PURE__ */ i(
|
|
3120
|
-
|
|
3120
|
+
_e,
|
|
3121
3121
|
{
|
|
3122
3122
|
name: s,
|
|
3123
|
-
control:
|
|
3123
|
+
control: f,
|
|
3124
3124
|
rules: {
|
|
3125
|
-
required: a ? `${
|
|
3125
|
+
required: a ? `${v(t)} ${v("errorMessages.required")}` : !1,
|
|
3126
3126
|
maxLength: r || void 0,
|
|
3127
3127
|
validate: l || void 0
|
|
3128
3128
|
},
|
|
3129
|
-
render: ({ field:
|
|
3129
|
+
render: ({ field: x, fieldState: k }) => {
|
|
3130
3130
|
var S;
|
|
3131
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3132
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3133
|
-
|
|
3131
|
+
return /* @__PURE__ */ p("div", { className: Ce.textInputContainer, children: [
|
|
3132
|
+
/* @__PURE__ */ p("h3", { className: Ce.labelContainer, children: [
|
|
3133
|
+
v(t),
|
|
3134
3134
|
" ",
|
|
3135
3135
|
a && /* @__PURE__ */ i("label", { style: { color: k.error ? u : "" }, children: "*" })
|
|
3136
3136
|
] }),
|
|
3137
3137
|
/* @__PURE__ */ p(
|
|
3138
3138
|
"div",
|
|
3139
3139
|
{
|
|
3140
|
-
style: { position: "relative", width:
|
|
3141
|
-
className:
|
|
3140
|
+
style: { position: "relative", width: h },
|
|
3141
|
+
className: Ce.inputContainer,
|
|
3142
3142
|
children: [
|
|
3143
3143
|
/* @__PURE__ */ i(
|
|
3144
3144
|
"input",
|
|
3145
3145
|
{
|
|
3146
3146
|
type: w(),
|
|
3147
|
-
...
|
|
3148
|
-
placeholder: c ?
|
|
3147
|
+
...x,
|
|
3148
|
+
placeholder: c ? v(c) : "",
|
|
3149
3149
|
maxLength: r || void 0
|
|
3150
3150
|
}
|
|
3151
3151
|
),
|
|
3152
3152
|
o == "password" && /* @__PURE__ */ i(
|
|
3153
3153
|
"button",
|
|
3154
3154
|
{
|
|
3155
|
-
onClick: () =>
|
|
3155
|
+
onClick: () => _(!b),
|
|
3156
3156
|
type: "button",
|
|
3157
|
-
className:
|
|
3158
|
-
children:
|
|
3157
|
+
className: Ce.showPasswordButton,
|
|
3158
|
+
children: b ? "🙈" : "👁️"
|
|
3159
3159
|
}
|
|
3160
3160
|
)
|
|
3161
3161
|
]
|
|
3162
3162
|
}
|
|
3163
3163
|
),
|
|
3164
|
-
o == "password" && /* @__PURE__ */ i("div", { className:
|
|
3164
|
+
o == "password" && /* @__PURE__ */ i("div", { className: Ce.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: v(y) }) }),
|
|
3165
3165
|
/* @__PURE__ */ i(
|
|
3166
|
-
|
|
3166
|
+
ye,
|
|
3167
3167
|
{
|
|
3168
3168
|
errorMessage: (S = k.error) == null ? void 0 : S.message,
|
|
3169
3169
|
errorColor: u
|
|
@@ -3177,9 +3177,9 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3177
3177
|
formContainer: _i,
|
|
3178
3178
|
formObjectContainer: yi,
|
|
3179
3179
|
buttonContainer: vi
|
|
3180
|
-
}, wi = "_inputsContainer_10t9s_2",
|
|
3180
|
+
}, wi = "_inputsContainer_10t9s_2", ce = {
|
|
3181
3181
|
inputsContainer: wi
|
|
3182
|
-
}, xi = "_selectInputContainer_1rj0h_2", Ni = "_labelContainer_1rj0h_6", ki = "_inputContainer_1rj0h_9", $i = "_selectInput_1rj0h_2", Si = "_option_1rj0h_23", Bi = "_dropdownArrow_1rj0h_26",
|
|
3182
|
+
}, xi = "_selectInputContainer_1rj0h_2", Ni = "_labelContainer_1rj0h_6", ki = "_inputContainer_1rj0h_9", $i = "_selectInput_1rj0h_2", Si = "_option_1rj0h_23", Bi = "_dropdownArrow_1rj0h_26", de = {
|
|
3183
3183
|
selectInputContainer: xi,
|
|
3184
3184
|
labelContainer: Ni,
|
|
3185
3185
|
inputContainer: ki,
|
|
@@ -3196,51 +3196,51 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3196
3196
|
validateFunction: l,
|
|
3197
3197
|
placeholder: c,
|
|
3198
3198
|
errorColor: u = "red",
|
|
3199
|
-
width:
|
|
3199
|
+
width: h = 325,
|
|
3200
3200
|
options: C = []
|
|
3201
|
-
} = n, { t:
|
|
3202
|
-
return
|
|
3203
|
-
|
|
3204
|
-
}, [a, s,
|
|
3205
|
-
|
|
3201
|
+
} = n, { t: y } = $(), { control: v, trigger: f, clearErrors: g } = d, m = ie(a);
|
|
3202
|
+
return T(() => {
|
|
3203
|
+
m.current !== a && (a ? f(s) : g(s), m.current = a);
|
|
3204
|
+
}, [a, s, f, g]), /* @__PURE__ */ i(
|
|
3205
|
+
_e,
|
|
3206
3206
|
{
|
|
3207
3207
|
name: s,
|
|
3208
|
-
control:
|
|
3208
|
+
control: v,
|
|
3209
3209
|
rules: {
|
|
3210
|
-
required: a ? `${
|
|
3211
|
-
validate: l ? (
|
|
3212
|
-
let
|
|
3213
|
-
return l(
|
|
3210
|
+
required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3211
|
+
validate: l ? (b) => {
|
|
3212
|
+
let _ = d.getValues();
|
|
3213
|
+
return l(b, _);
|
|
3214
3214
|
} : void 0
|
|
3215
3215
|
},
|
|
3216
|
-
render: ({ field:
|
|
3217
|
-
var
|
|
3218
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3219
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3220
|
-
|
|
3216
|
+
render: ({ field: b, fieldState: _ }) => {
|
|
3217
|
+
var N;
|
|
3218
|
+
return /* @__PURE__ */ p("div", { className: de.selectInputContainer, children: [
|
|
3219
|
+
/* @__PURE__ */ p("h3", { className: de.labelContainer, children: [
|
|
3220
|
+
y(t),
|
|
3221
3221
|
" ",
|
|
3222
|
-
a && /* @__PURE__ */ i("label", { style: { color:
|
|
3222
|
+
a && /* @__PURE__ */ i("label", { style: { color: _.error ? u : "" }, children: "*" })
|
|
3223
3223
|
] }),
|
|
3224
|
-
/* @__PURE__ */ p("div", { className:
|
|
3224
|
+
/* @__PURE__ */ p("div", { className: de.inputContainer, style: { width: h }, children: [
|
|
3225
3225
|
/* @__PURE__ */ p(
|
|
3226
3226
|
"select",
|
|
3227
3227
|
{
|
|
3228
|
-
...
|
|
3228
|
+
...b,
|
|
3229
3229
|
onChange: (w) => {
|
|
3230
|
-
const
|
|
3231
|
-
|
|
3230
|
+
const x = w.target.value, k = C.every((S) => typeof S.value == "number") ? Number(x) : x;
|
|
3231
|
+
b.onChange(k);
|
|
3232
3232
|
},
|
|
3233
|
-
className:
|
|
3233
|
+
className: de.selectInput,
|
|
3234
3234
|
children: [
|
|
3235
|
-
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3236
|
-
C.map((w,
|
|
3235
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: y(c || "selectOption") }),
|
|
3236
|
+
C.map((w, x) => /* @__PURE__ */ i(
|
|
3237
3237
|
"option",
|
|
3238
3238
|
{
|
|
3239
3239
|
value: w.value,
|
|
3240
|
-
className:
|
|
3241
|
-
children:
|
|
3240
|
+
className: de.option,
|
|
3241
|
+
children: y(w.label)
|
|
3242
3242
|
},
|
|
3243
|
-
|
|
3243
|
+
x
|
|
3244
3244
|
))
|
|
3245
3245
|
]
|
|
3246
3246
|
}
|
|
@@ -3250,14 +3250,14 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3250
3250
|
{
|
|
3251
3251
|
src: Li,
|
|
3252
3252
|
alt: "Open",
|
|
3253
|
-
className:
|
|
3253
|
+
className: de.dropdownArrow
|
|
3254
3254
|
}
|
|
3255
3255
|
)
|
|
3256
3256
|
] }),
|
|
3257
3257
|
/* @__PURE__ */ i(
|
|
3258
|
-
|
|
3258
|
+
ye,
|
|
3259
3259
|
{
|
|
3260
|
-
errorMessage: (
|
|
3260
|
+
errorMessage: (N = _.error) == null ? void 0 : N.message,
|
|
3261
3261
|
errorColor: u
|
|
3262
3262
|
}
|
|
3263
3263
|
)
|
|
@@ -3281,28 +3281,28 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3281
3281
|
errorColor: a = "red",
|
|
3282
3282
|
options: l = [],
|
|
3283
3283
|
multi: c = !1
|
|
3284
|
-
} = n, { t: u } = $(), { control:
|
|
3285
|
-
if (c &&
|
|
3286
|
-
let
|
|
3287
|
-
|
|
3284
|
+
} = n, { t: u } = $(), { control: h, trigger: C, clearErrors: y } = d, v = ({ options: m, onChange: b, actualValue: _ }) => {
|
|
3285
|
+
if (c && _ && _.length > 0) {
|
|
3286
|
+
let N = _.filter((w) => w !== m);
|
|
3287
|
+
b(N);
|
|
3288
3288
|
}
|
|
3289
|
-
},
|
|
3290
|
-
c ?
|
|
3291
|
-
},
|
|
3292
|
-
return
|
|
3293
|
-
|
|
3294
|
-
}, [t, s, C,
|
|
3295
|
-
|
|
3289
|
+
}, f = ({ options: m, onChange: b, actualValue: _ }) => {
|
|
3290
|
+
c ? _ && _.length > 0 ? b([..._, m]) : b([m]) : b(m);
|
|
3291
|
+
}, g = ie(t);
|
|
3292
|
+
return T(() => {
|
|
3293
|
+
g.current !== t && (t ? C(s) : y(s), g.current = t);
|
|
3294
|
+
}, [t, s, C, y]), /* @__PURE__ */ i(
|
|
3295
|
+
_e,
|
|
3296
3296
|
{
|
|
3297
|
-
control:
|
|
3297
|
+
control: h,
|
|
3298
3298
|
name: s,
|
|
3299
3299
|
rules: {
|
|
3300
|
-
validate: (
|
|
3300
|
+
validate: (m) => t && (m == null || m === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3301
3301
|
},
|
|
3302
3302
|
render: ({
|
|
3303
|
-
formState: { errors:
|
|
3304
|
-
field: { onChange:
|
|
3305
|
-
fieldState:
|
|
3303
|
+
formState: { errors: m },
|
|
3304
|
+
field: { onChange: b, onBlur: _, value: N, ref: w },
|
|
3305
|
+
fieldState: x
|
|
3306
3306
|
}) => {
|
|
3307
3307
|
var k;
|
|
3308
3308
|
return /* @__PURE__ */ i("div", { id: s + "id", className: ee.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: ee.wholeInputContainer, children: [
|
|
@@ -3317,7 +3317,7 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3317
3317
|
t && /* @__PURE__ */ i(
|
|
3318
3318
|
"label",
|
|
3319
3319
|
{
|
|
3320
|
-
style: { color:
|
|
3320
|
+
style: { color: x.error ? a : "" },
|
|
3321
3321
|
children: "*"
|
|
3322
3322
|
}
|
|
3323
3323
|
)
|
|
@@ -3328,40 +3328,40 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3328
3328
|
l.map(
|
|
3329
3329
|
({
|
|
3330
3330
|
label: S,
|
|
3331
|
-
value:
|
|
3332
|
-
disabled:
|
|
3333
|
-
italicLabel:
|
|
3334
|
-
},
|
|
3335
|
-
const
|
|
3331
|
+
value: q,
|
|
3332
|
+
disabled: F = !1,
|
|
3333
|
+
italicLabel: K
|
|
3334
|
+
}, oe) => {
|
|
3335
|
+
const E = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((H) => H === q) : N === q;
|
|
3336
3336
|
return /* @__PURE__ */ p("label", { children: [
|
|
3337
3337
|
/* @__PURE__ */ i(
|
|
3338
3338
|
"input",
|
|
3339
3339
|
{
|
|
3340
3340
|
type: "radio",
|
|
3341
|
-
checked:
|
|
3341
|
+
checked: E,
|
|
3342
3342
|
onChange: () => {
|
|
3343
|
-
c ?
|
|
3344
|
-
actualValue:
|
|
3343
|
+
c ? E ? v({
|
|
3344
|
+
actualValue: N,
|
|
3345
3345
|
options: l,
|
|
3346
|
-
onChange:
|
|
3347
|
-
}) :
|
|
3348
|
-
actualValue:
|
|
3346
|
+
onChange: b
|
|
3347
|
+
}) : f({
|
|
3348
|
+
actualValue: N,
|
|
3349
3349
|
options: l,
|
|
3350
|
-
onChange:
|
|
3351
|
-
}) :
|
|
3350
|
+
onChange: b
|
|
3351
|
+
}) : b(q);
|
|
3352
3352
|
},
|
|
3353
3353
|
className: ee.radioInput
|
|
3354
3354
|
}
|
|
3355
3355
|
),
|
|
3356
3356
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3357
3357
|
u(S)
|
|
3358
|
-
] }, `inputRadio ${
|
|
3358
|
+
] }, `inputRadio ${oe}`);
|
|
3359
3359
|
}
|
|
3360
3360
|
),
|
|
3361
3361
|
/* @__PURE__ */ i(
|
|
3362
|
-
|
|
3362
|
+
ye,
|
|
3363
3363
|
{
|
|
3364
|
-
errorMessage: (k =
|
|
3364
|
+
errorMessage: (k = x.error) == null ? void 0 : k.message,
|
|
3365
3365
|
errorColor: a
|
|
3366
3366
|
}
|
|
3367
3367
|
)
|
|
@@ -3370,7 +3370,7 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
);
|
|
3373
|
-
}, Ri = "_rankingSliderContainer_1lekm_2", qi = "_labelContainer_1lekm_6", Ei = "_inputContainer_1lekm_10", Pi = "_slider_1lekm_20", ji = "_thumb_1lekm_27", Zi = "_labels_1lekm_37", zi = "_minLabel_1lekm_67", Ki = "_maxLabel_1lekm_67",
|
|
3373
|
+
}, Ri = "_rankingSliderContainer_1lekm_2", qi = "_labelContainer_1lekm_6", Ei = "_inputContainer_1lekm_10", Pi = "_slider_1lekm_20", ji = "_thumb_1lekm_27", Zi = "_labels_1lekm_37", zi = "_minLabel_1lekm_67", Ki = "_maxLabel_1lekm_67", M = {
|
|
3374
3374
|
rankingSliderContainer: Ri,
|
|
3375
3375
|
labelContainer: qi,
|
|
3376
3376
|
inputContainer: Ei,
|
|
@@ -3379,74 +3379,74 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3379
3379
|
labels: Zi,
|
|
3380
3380
|
minLabel: zi,
|
|
3381
3381
|
maxLabel: Ki
|
|
3382
|
-
}, $t = ({ input: n, reactHookFormInstance: d }) => {
|
|
3382
|
+
}, $t = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3383
3383
|
const {
|
|
3384
|
-
code:
|
|
3385
|
-
label:
|
|
3386
|
-
minValue:
|
|
3387
|
-
maxValue:
|
|
3388
|
-
defValue:
|
|
3389
|
-
thumbColor:
|
|
3384
|
+
code: o,
|
|
3385
|
+
label: t,
|
|
3386
|
+
minValue: r = 1,
|
|
3387
|
+
maxValue: a = 5,
|
|
3388
|
+
defValue: l = 3,
|
|
3389
|
+
thumbColor: c = "#B32F5D",
|
|
3390
3390
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3391
|
-
required:
|
|
3392
|
-
errorColor:
|
|
3393
|
-
labelWidth:
|
|
3394
|
-
sliderWidth:
|
|
3395
|
-
minText:
|
|
3396
|
-
maxText:
|
|
3397
|
-
disabled:
|
|
3398
|
-
marks:
|
|
3399
|
-
showMarksNumber:
|
|
3400
|
-
} = n, { t:
|
|
3401
|
-
return
|
|
3402
|
-
d &&
|
|
3403
|
-
}, [
|
|
3404
|
-
|
|
3391
|
+
required: u,
|
|
3392
|
+
errorColor: h = "red",
|
|
3393
|
+
labelWidth: C = "300px",
|
|
3394
|
+
sliderWidth: y = "300px",
|
|
3395
|
+
minText: v,
|
|
3396
|
+
maxText: f,
|
|
3397
|
+
disabled: g = !1,
|
|
3398
|
+
marks: m = Array.from({ length: a - r + 1 }, (F, K) => r + K),
|
|
3399
|
+
showMarksNumber: b = !0
|
|
3400
|
+
} = n, { t: _ } = $(), { control: N, trigger: w, clearErrors: x } = d || {}, k = ie(u), [S, q] = L(l);
|
|
3401
|
+
return T(() => {
|
|
3402
|
+
d && k.current !== u && (u ? w(o) : x(o), k.current = u);
|
|
3403
|
+
}, [u, o, w, x, d]), d ? /* @__PURE__ */ i(
|
|
3404
|
+
_e,
|
|
3405
3405
|
{
|
|
3406
|
-
name:
|
|
3407
|
-
control:
|
|
3408
|
-
defaultValue:
|
|
3406
|
+
name: o,
|
|
3407
|
+
control: N,
|
|
3408
|
+
defaultValue: l,
|
|
3409
3409
|
rules: {
|
|
3410
|
-
required:
|
|
3410
|
+
required: u ? `${_(t)} ${_("errorMessages.required")}` : !1
|
|
3411
3411
|
},
|
|
3412
|
-
render: ({ field:
|
|
3413
|
-
var
|
|
3412
|
+
render: ({ field: F, fieldState: K }) => {
|
|
3413
|
+
var oe;
|
|
3414
3414
|
return /* @__PURE__ */ p(
|
|
3415
3415
|
"div",
|
|
3416
3416
|
{
|
|
3417
|
-
className:
|
|
3418
|
-
style: { gridTemplateColumns: `${
|
|
3417
|
+
className: M.rankingSliderContainer,
|
|
3418
|
+
style: { gridTemplateColumns: `${t && C} ${y}` },
|
|
3419
3419
|
children: [
|
|
3420
|
-
|
|
3421
|
-
/* @__PURE__ */ p("div", { className:
|
|
3422
|
-
|
|
3420
|
+
t && /* @__PURE__ */ i("p", { className: M.labelContainer, children: _(t) }),
|
|
3421
|
+
/* @__PURE__ */ p("div", { className: M.inputContainer, children: [
|
|
3422
|
+
v && /* @__PURE__ */ i("div", { className: M.minLabel, children: _(v) }),
|
|
3423
3423
|
/* @__PURE__ */ p("div", { children: [
|
|
3424
3424
|
/* @__PURE__ */ i(
|
|
3425
3425
|
Ee,
|
|
3426
3426
|
{
|
|
3427
|
-
min:
|
|
3428
|
-
max:
|
|
3427
|
+
min: r,
|
|
3428
|
+
max: a,
|
|
3429
3429
|
step: 1,
|
|
3430
|
-
value:
|
|
3431
|
-
onChange: (
|
|
3430
|
+
value: F.value ?? l,
|
|
3431
|
+
onChange: (E) => F.onChange(E),
|
|
3432
3432
|
marks: !0,
|
|
3433
|
-
className:
|
|
3434
|
-
thumbClassName:
|
|
3435
|
-
renderThumb: (
|
|
3436
|
-
trackClassName:
|
|
3437
|
-
markClassName:
|
|
3438
|
-
disabled:
|
|
3433
|
+
className: M.slider,
|
|
3434
|
+
thumbClassName: M.thumb,
|
|
3435
|
+
renderThumb: (E) => /* @__PURE__ */ i("div", { ...E, style: { ...E.style, backgroundColor: c } }),
|
|
3436
|
+
trackClassName: M.track,
|
|
3437
|
+
markClassName: M.mark,
|
|
3438
|
+
disabled: g
|
|
3439
3439
|
}
|
|
3440
3440
|
),
|
|
3441
|
-
|
|
3441
|
+
m && /* @__PURE__ */ i("div", { className: M.labels, children: m.map((E) => /* @__PURE__ */ i("span", { children: b && E }, E)) })
|
|
3442
3442
|
] }),
|
|
3443
|
-
|
|
3443
|
+
f && /* @__PURE__ */ i("div", { className: M.maxLabel, children: _(f) })
|
|
3444
3444
|
] }),
|
|
3445
3445
|
/* @__PURE__ */ i(
|
|
3446
|
-
|
|
3446
|
+
ye,
|
|
3447
3447
|
{
|
|
3448
|
-
errorMessage: (
|
|
3449
|
-
errorColor:
|
|
3448
|
+
errorMessage: (oe = K.error) == null ? void 0 : oe.message,
|
|
3449
|
+
errorColor: h
|
|
3450
3450
|
}
|
|
3451
3451
|
)
|
|
3452
3452
|
]
|
|
@@ -3457,33 +3457,35 @@ const be = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3457
3457
|
) : /* @__PURE__ */ p(
|
|
3458
3458
|
"div",
|
|
3459
3459
|
{
|
|
3460
|
-
className:
|
|
3461
|
-
style: { gridTemplateColumns: `${
|
|
3460
|
+
className: M.rankingSliderContainer,
|
|
3461
|
+
style: { gridTemplateColumns: `${t && C} ${y}` },
|
|
3462
3462
|
children: [
|
|
3463
|
-
|
|
3464
|
-
/* @__PURE__ */ p("div", { className:
|
|
3465
|
-
|
|
3463
|
+
t && /* @__PURE__ */ i("p", { className: M.labelContainer, children: _(t) }),
|
|
3464
|
+
/* @__PURE__ */ p("div", { className: M.inputContainer, children: [
|
|
3465
|
+
v && /* @__PURE__ */ i("div", { className: M.minLabel, children: _(v) }),
|
|
3466
3466
|
/* @__PURE__ */ p("div", { children: [
|
|
3467
3467
|
/* @__PURE__ */ i(
|
|
3468
3468
|
Ee,
|
|
3469
3469
|
{
|
|
3470
|
-
min:
|
|
3471
|
-
max:
|
|
3470
|
+
min: r,
|
|
3471
|
+
max: a,
|
|
3472
3472
|
step: 1,
|
|
3473
|
-
value:
|
|
3474
|
-
onChange: (
|
|
3473
|
+
value: S,
|
|
3474
|
+
onChange: (F) => {
|
|
3475
|
+
q(F), s && s(F);
|
|
3476
|
+
},
|
|
3475
3477
|
marks: !0,
|
|
3476
|
-
className:
|
|
3477
|
-
thumbClassName:
|
|
3478
|
-
renderThumb: (
|
|
3479
|
-
trackClassName:
|
|
3480
|
-
markClassName:
|
|
3481
|
-
disabled:
|
|
3478
|
+
className: M.slider,
|
|
3479
|
+
thumbClassName: M.thumb,
|
|
3480
|
+
renderThumb: (F) => /* @__PURE__ */ i("div", { ...F, style: { ...F.style, backgroundColor: c } }),
|
|
3481
|
+
trackClassName: M.track,
|
|
3482
|
+
markClassName: M.mark,
|
|
3483
|
+
disabled: g
|
|
3482
3484
|
}
|
|
3483
3485
|
),
|
|
3484
|
-
|
|
3486
|
+
m && /* @__PURE__ */ i("div", { className: M.labels, children: m.map((F) => /* @__PURE__ */ i("span", { children: b && F }, F)) })
|
|
3485
3487
|
] }),
|
|
3486
|
-
|
|
3488
|
+
f && /* @__PURE__ */ i("div", { className: M.maxLabel, children: _(f) })
|
|
3487
3489
|
] })
|
|
3488
3490
|
]
|
|
3489
3491
|
}
|
|
@@ -3512,21 +3514,21 @@ const Ae = ({
|
|
|
3512
3514
|
inputContainerStyles: d,
|
|
3513
3515
|
reactHookFormInstance: s
|
|
3514
3516
|
}) => {
|
|
3515
|
-
const { watch: o } = s, t = o(), r =
|
|
3517
|
+
const { watch: o } = s, t = o(), r = fe(() => n.map((a) => {
|
|
3516
3518
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3517
3519
|
return {
|
|
3518
3520
|
...a,
|
|
3519
3521
|
required: l
|
|
3520
3522
|
};
|
|
3521
3523
|
}), [n, t]);
|
|
3522
|
-
return /* @__PURE__ */ i("div", { className:
|
|
3524
|
+
return /* @__PURE__ */ i("div", { className: ce.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3523
3525
|
const { inputType: c } = a;
|
|
3524
3526
|
switch (c) {
|
|
3525
|
-
case
|
|
3527
|
+
case ge.text:
|
|
3526
3528
|
return /* @__PURE__ */ i(
|
|
3527
3529
|
"div",
|
|
3528
3530
|
{
|
|
3529
|
-
className:
|
|
3531
|
+
className: ce.inputContainer,
|
|
3530
3532
|
style: { ...d },
|
|
3531
3533
|
children: /* @__PURE__ */ i(
|
|
3532
3534
|
at,
|
|
@@ -3538,11 +3540,11 @@ const Ae = ({
|
|
|
3538
3540
|
},
|
|
3539
3541
|
`${a.code}${l}`
|
|
3540
3542
|
);
|
|
3541
|
-
case
|
|
3543
|
+
case ge.password:
|
|
3542
3544
|
return /* @__PURE__ */ i(
|
|
3543
3545
|
"div",
|
|
3544
3546
|
{
|
|
3545
|
-
className:
|
|
3547
|
+
className: ce.inputContainer,
|
|
3546
3548
|
style: { ...d },
|
|
3547
3549
|
children: /* @__PURE__ */ i(
|
|
3548
3550
|
at,
|
|
@@ -3554,11 +3556,11 @@ const Ae = ({
|
|
|
3554
3556
|
},
|
|
3555
3557
|
`${a.code}${l}`
|
|
3556
3558
|
);
|
|
3557
|
-
case
|
|
3559
|
+
case ge.select:
|
|
3558
3560
|
return /* @__PURE__ */ i(
|
|
3559
3561
|
"div",
|
|
3560
3562
|
{
|
|
3561
|
-
className:
|
|
3563
|
+
className: ce.inputContainer,
|
|
3562
3564
|
style: { ...d },
|
|
3563
3565
|
children: /* @__PURE__ */ i(
|
|
3564
3566
|
Ti,
|
|
@@ -3570,11 +3572,11 @@ const Ae = ({
|
|
|
3570
3572
|
},
|
|
3571
3573
|
`${a.code}${l}`
|
|
3572
3574
|
);
|
|
3573
|
-
case
|
|
3575
|
+
case ge.radioList:
|
|
3574
3576
|
return /* @__PURE__ */ i(
|
|
3575
3577
|
"div",
|
|
3576
3578
|
{
|
|
3577
|
-
className:
|
|
3579
|
+
className: ce.inputContainer,
|
|
3578
3580
|
style: { ...d },
|
|
3579
3581
|
children: /* @__PURE__ */ i(
|
|
3580
3582
|
Ii,
|
|
@@ -3586,11 +3588,11 @@ const Ae = ({
|
|
|
3586
3588
|
},
|
|
3587
3589
|
`${a.code}${l}`
|
|
3588
3590
|
);
|
|
3589
|
-
case
|
|
3591
|
+
case ge.rankingSlider:
|
|
3590
3592
|
return /* @__PURE__ */ i(
|
|
3591
3593
|
"div",
|
|
3592
3594
|
{
|
|
3593
|
-
className:
|
|
3595
|
+
className: ce.inputContainer,
|
|
3594
3596
|
style: { ...d },
|
|
3595
3597
|
children: /* @__PURE__ */ i(
|
|
3596
3598
|
$t,
|
|
@@ -3620,31 +3622,31 @@ const Ae = ({
|
|
|
3620
3622
|
submitButtonStyles: l = { width: 325 },
|
|
3621
3623
|
activeCategory: c = null,
|
|
3622
3624
|
// If provided, only the category with this categoryId will be displayed.
|
|
3623
|
-
onSubmit: u = (
|
|
3625
|
+
onSubmit: u = (h) => console.log("Form submitted with data: ", h)
|
|
3624
3626
|
}) => {
|
|
3625
3627
|
const {
|
|
3626
|
-
handleSubmit:
|
|
3628
|
+
handleSubmit: h,
|
|
3627
3629
|
control: C,
|
|
3628
|
-
formState: { errors:
|
|
3629
|
-
} = n, { t:
|
|
3630
|
-
return /* @__PURE__ */ p("form", { className: Ve.formContainer, onSubmit:
|
|
3631
|
-
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: d && d.map((
|
|
3632
|
-
const { inputs:
|
|
3633
|
-
return
|
|
3630
|
+
formState: { errors: y }
|
|
3631
|
+
} = n, { t: v } = $();
|
|
3632
|
+
return /* @__PURE__ */ p("form", { className: Ve.formContainer, onSubmit: h(u), children: [
|
|
3633
|
+
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: d && d.map((f, g) => {
|
|
3634
|
+
const { inputs: m } = f;
|
|
3635
|
+
return f.category ? s ? /* @__PURE__ */ i(
|
|
3634
3636
|
"div",
|
|
3635
3637
|
{
|
|
3636
3638
|
style: {
|
|
3637
|
-
display: c &&
|
|
3639
|
+
display: c && f.categoryId !== c ? "none" : "inherit",
|
|
3638
3640
|
width: "100%"
|
|
3639
3641
|
},
|
|
3640
3642
|
children: /* @__PURE__ */ i(
|
|
3641
3643
|
s,
|
|
3642
3644
|
{
|
|
3643
|
-
title:
|
|
3645
|
+
title: f.category,
|
|
3644
3646
|
children: /* @__PURE__ */ i(
|
|
3645
3647
|
Ae,
|
|
3646
3648
|
{
|
|
3647
|
-
inputs:
|
|
3649
|
+
inputs: m,
|
|
3648
3650
|
control: C,
|
|
3649
3651
|
inputContainerStyles: o,
|
|
3650
3652
|
errorColor: r,
|
|
@@ -3652,7 +3654,7 @@ const Ae = ({
|
|
|
3652
3654
|
}
|
|
3653
3655
|
)
|
|
3654
3656
|
},
|
|
3655
|
-
`${
|
|
3657
|
+
`${f.category}${g}`
|
|
3656
3658
|
)
|
|
3657
3659
|
}
|
|
3658
3660
|
) : /* @__PURE__ */ p(
|
|
@@ -3660,15 +3662,15 @@ const Ae = ({
|
|
|
3660
3662
|
{
|
|
3661
3663
|
style: {
|
|
3662
3664
|
width: "100%",
|
|
3663
|
-
display: c &&
|
|
3665
|
+
display: c && f.categoryId !== c ? "none" : "flex",
|
|
3664
3666
|
flexDirection: "column"
|
|
3665
3667
|
},
|
|
3666
3668
|
children: [
|
|
3667
|
-
/* @__PURE__ */ i("h2", { style: { marginBottom: 20 }, children:
|
|
3669
|
+
/* @__PURE__ */ i("h2", { style: { marginBottom: 20 }, children: v(f.category) }),
|
|
3668
3670
|
/* @__PURE__ */ i("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ i(
|
|
3669
3671
|
Ae,
|
|
3670
3672
|
{
|
|
3671
|
-
inputs:
|
|
3673
|
+
inputs: m,
|
|
3672
3674
|
control: C,
|
|
3673
3675
|
inputContainerStyles: o,
|
|
3674
3676
|
errorColor: r,
|
|
@@ -3677,24 +3679,24 @@ const Ae = ({
|
|
|
3677
3679
|
) })
|
|
3678
3680
|
]
|
|
3679
3681
|
},
|
|
3680
|
-
`${
|
|
3682
|
+
`${f.category}${g}`
|
|
3681
3683
|
) : /* @__PURE__ */ i("div", { style: { width: "100%" }, children: /* @__PURE__ */ i(
|
|
3682
3684
|
Ae,
|
|
3683
3685
|
{
|
|
3684
3686
|
inputContainerStyles: o,
|
|
3685
|
-
inputs:
|
|
3687
|
+
inputs: m,
|
|
3686
3688
|
control: C,
|
|
3687
3689
|
errorColor: r,
|
|
3688
3690
|
reactHookFormInstance: n
|
|
3689
3691
|
}
|
|
3690
|
-
) }, `inputKey${
|
|
3692
|
+
) }, `inputKey${g}`);
|
|
3691
3693
|
}) }),
|
|
3692
3694
|
/* @__PURE__ */ p("div", { className: Ve.buttonContainer, children: [
|
|
3693
|
-
/* @__PURE__ */ i($e, { containerStyles: l, type: "submit", children:
|
|
3694
|
-
/* @__PURE__ */ i(
|
|
3695
|
+
/* @__PURE__ */ i($e, { containerStyles: l, type: "submit", children: v(a) }),
|
|
3696
|
+
/* @__PURE__ */ i(ye, { errorMessage: t, errorColor: r })
|
|
3695
3697
|
] })
|
|
3696
3698
|
] });
|
|
3697
|
-
}, Hi = "_overlay_mnd4j_2", Ui = "_modal_mnd4j_15", Gi = "_closeButton_mnd4j_29", Wi = "_icon_mnd4j_39", Yi = "_message_mnd4j_45", Qi = "_submessage_mnd4j_51", Xi = "_buttonsContainer_mnd4j_57", Ji = "_buttonWrapper_mnd4j_64",
|
|
3699
|
+
}, Hi = "_overlay_mnd4j_2", Ui = "_modal_mnd4j_15", Gi = "_closeButton_mnd4j_29", Wi = "_icon_mnd4j_39", Yi = "_message_mnd4j_45", Qi = "_submessage_mnd4j_51", Xi = "_buttonsContainer_mnd4j_57", Ji = "_buttonWrapper_mnd4j_64", W = {
|
|
3698
3700
|
overlay: Hi,
|
|
3699
3701
|
modal: Ui,
|
|
3700
3702
|
closeButton: Gi,
|
|
@@ -3711,17 +3713,17 @@ const Ae = ({
|
|
|
3711
3713
|
buttons: t,
|
|
3712
3714
|
maxHeight: r = "450px",
|
|
3713
3715
|
maxWidth: a = "450px"
|
|
3714
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
3716
|
+
}) => /* @__PURE__ */ i("div", { className: W.overlay, children: /* @__PURE__ */ p(
|
|
3715
3717
|
"div",
|
|
3716
3718
|
{
|
|
3717
|
-
className:
|
|
3719
|
+
className: W.modal,
|
|
3718
3720
|
style: { maxHeight: r, maxWidth: a },
|
|
3719
3721
|
children: [
|
|
3720
|
-
/* @__PURE__ */ i("button", { className:
|
|
3721
|
-
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className:
|
|
3722
|
-
/* @__PURE__ */ i("p", { className:
|
|
3723
|
-
o && /* @__PURE__ */ i("p", { className:
|
|
3724
|
-
t.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
3722
|
+
/* @__PURE__ */ i("button", { className: W.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3723
|
+
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className: W.icon }),
|
|
3724
|
+
/* @__PURE__ */ i("p", { className: W.message, children: s }),
|
|
3725
|
+
o && /* @__PURE__ */ i("p", { className: W.submessage, children: o }),
|
|
3726
|
+
t.length > 0 && /* @__PURE__ */ i("div", { className: W.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ i("div", { className: W.buttonWrapper, children: l }, c)) })
|
|
3725
3727
|
]
|
|
3726
3728
|
}
|
|
3727
3729
|
) });
|
|
@@ -3837,62 +3839,64 @@ gs.propTypes = {
|
|
|
3837
3839
|
})
|
|
3838
3840
|
).isRequired
|
|
3839
3841
|
};
|
|
3840
|
-
const Cs = "_switchContainer_194wl_2", fs = "_labelRight_194wl_9", bs = "_labelLeft_194wl_9", _s = "_slider_194wl_28", ys = "_disabled_194wl_54",
|
|
3842
|
+
const Cs = "_switchContainer_194wl_2", fs = "_labelRight_194wl_9", bs = "_labelLeft_194wl_9", _s = "_slider_194wl_28", ys = "_disabled_194wl_54", ue = {
|
|
3841
3843
|
switchContainer: Cs,
|
|
3842
3844
|
labelRight: fs,
|
|
3843
3845
|
labelLeft: bs,
|
|
3844
3846
|
switch: "_switch_194wl_2",
|
|
3845
3847
|
slider: _s,
|
|
3846
3848
|
disabled: ys
|
|
3847
|
-
}, vs = ({ input: n, reactHookFormInstance: d }) => {
|
|
3849
|
+
}, vs = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3848
3850
|
const {
|
|
3849
|
-
code:
|
|
3850
|
-
labelLeft:
|
|
3851
|
-
labelRight:
|
|
3852
|
-
defValue:
|
|
3853
|
-
colorOn:
|
|
3854
|
-
disabled:
|
|
3855
|
-
width:
|
|
3856
|
-
} = n, { t:
|
|
3857
|
-
|
|
3851
|
+
code: o,
|
|
3852
|
+
labelLeft: t,
|
|
3853
|
+
labelRight: r,
|
|
3854
|
+
defValue: a = !1,
|
|
3855
|
+
colorOn: l = "#5A514D",
|
|
3856
|
+
disabled: c = !1,
|
|
3857
|
+
width: u = 240
|
|
3858
|
+
} = n, { t: h } = $(), { control: C } = d || {}, [y, v] = L(a), f = (m) => {
|
|
3859
|
+
v(m), s && s(m);
|
|
3860
|
+
}, g = (m, b) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
|
|
3861
|
+
t && /* @__PURE__ */ i(
|
|
3858
3862
|
"span",
|
|
3859
3863
|
{
|
|
3860
|
-
className:
|
|
3861
|
-
style: { width: `${(
|
|
3862
|
-
children:
|
|
3864
|
+
className: ue.labelLeft,
|
|
3865
|
+
style: { width: `${(u - 74) / 2}px` },
|
|
3866
|
+
children: h(t)
|
|
3863
3867
|
}
|
|
3864
3868
|
),
|
|
3865
|
-
/* @__PURE__ */ p("label", { className: `${
|
|
3869
|
+
/* @__PURE__ */ p("label", { className: `${ue.switch} ${c ? ue.disabled : ""}`, children: [
|
|
3866
3870
|
/* @__PURE__ */ i(
|
|
3867
3871
|
"input",
|
|
3868
3872
|
{
|
|
3869
3873
|
type: "checkbox",
|
|
3870
3874
|
checked: !!m,
|
|
3871
|
-
onChange: () =>
|
|
3872
|
-
disabled:
|
|
3875
|
+
onChange: () => b(!m),
|
|
3876
|
+
disabled: c
|
|
3873
3877
|
}
|
|
3874
3878
|
),
|
|
3875
3879
|
/* @__PURE__ */ i(
|
|
3876
3880
|
"span",
|
|
3877
3881
|
{
|
|
3878
|
-
className:
|
|
3882
|
+
className: ue.slider,
|
|
3879
3883
|
style: {
|
|
3880
|
-
"--switch-thumb-color": m ?
|
|
3884
|
+
"--switch-thumb-color": m ? l : "#ccc"
|
|
3881
3885
|
}
|
|
3882
3886
|
}
|
|
3883
3887
|
)
|
|
3884
3888
|
] }),
|
|
3885
|
-
|
|
3889
|
+
r && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(u - 74) / 2}px` }, children: h(r) })
|
|
3886
3890
|
] });
|
|
3887
3891
|
return d ? /* @__PURE__ */ i(
|
|
3888
|
-
|
|
3892
|
+
_e,
|
|
3889
3893
|
{
|
|
3890
|
-
name:
|
|
3891
|
-
control:
|
|
3892
|
-
defaultValue:
|
|
3893
|
-
render: ({ field: m }) =>
|
|
3894
|
+
name: o,
|
|
3895
|
+
control: C,
|
|
3896
|
+
defaultValue: a,
|
|
3897
|
+
render: ({ field: m }) => g(m.value, m.onChange)
|
|
3894
3898
|
}
|
|
3895
|
-
) : y
|
|
3899
|
+
) : g(y, f);
|
|
3896
3900
|
};
|
|
3897
3901
|
vs.propTypes = {
|
|
3898
3902
|
input: e.shape({
|
|
@@ -3903,7 +3907,8 @@ vs.propTypes = {
|
|
|
3903
3907
|
colorOn: e.string,
|
|
3904
3908
|
disabled: e.bool
|
|
3905
3909
|
}),
|
|
3906
|
-
reactHookFormInstance: e.object
|
|
3910
|
+
reactHookFormInstance: e.object,
|
|
3911
|
+
onChange: e.func
|
|
3907
3912
|
};
|
|
3908
3913
|
const ws = "_header_13kbt_2", xs = "_leftComponents_13kbt_13", Ns = "_centerComponents_13kbt_14", ks = "_rightComponents_13kbt_15", $s = "_componentsContainer_13kbt_32", te = {
|
|
3909
3914
|
header: ws,
|
|
@@ -3988,31 +3993,31 @@ export {
|
|
|
3988
3993
|
T2 as ButtonsList,
|
|
3989
3994
|
se as DropdownList,
|
|
3990
3995
|
Qs as EditAmbit,
|
|
3991
|
-
|
|
3992
|
-
|
|
3996
|
+
ye as ErrorMessage,
|
|
3997
|
+
tn as FiltersAmbit,
|
|
3993
3998
|
io as Form,
|
|
3994
3999
|
$e as GeneralButton,
|
|
3995
|
-
|
|
4000
|
+
an as Graphic,
|
|
3996
4001
|
Ss as HeaderSection,
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
$
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4002
|
+
kn as IndicatorsList,
|
|
4003
|
+
Mn as LangSelector,
|
|
4004
|
+
Un as Legend,
|
|
4005
|
+
Y0 as ListSelector,
|
|
4006
|
+
$0 as LogInButton,
|
|
4007
|
+
Wn as LogoApp,
|
|
4008
|
+
Xn as MapboxMap,
|
|
4009
|
+
s0 as MaplibreMap,
|
|
4005
4010
|
es as ModalAlert,
|
|
4006
4011
|
Ii as RadioButtonInput,
|
|
4007
4012
|
$t as RankingSlider,
|
|
4008
4013
|
Fs as RightSidebar,
|
|
4009
|
-
|
|
4014
|
+
u0 as SectionBar,
|
|
4010
4015
|
Ti as SelectInput,
|
|
4011
4016
|
Bt as StatusText,
|
|
4012
4017
|
St as Steps,
|
|
4013
4018
|
vs as Switch,
|
|
4014
4019
|
at as TextInput,
|
|
4015
|
-
|
|
4020
|
+
_0 as TimeSlider,
|
|
4016
4021
|
ne as Tooltip,
|
|
4017
|
-
|
|
4022
|
+
x0 as TopNavMenu
|
|
4018
4023
|
};
|