@tmf_ciclica/ciclicastorybook 1.1.113 → 1.1.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +476 -468
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._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_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{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_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{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_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 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_fd7az_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_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_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_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._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_1yj0p_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;width:100%}._rankingSliderContainer_1yj0p_2 ._labelContainer_1yj0p_11{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15{width:100%;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._slider_1yj0p_19{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._thumb_1yj0p_25{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackLeft_1yj0p_35,._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackRight_1yj0p_40{height:6px;border-radius:9999px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 ._labelsText_1yj0p_60{color:#605b56}._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}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
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_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._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_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{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_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{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_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 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_fd7az_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_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_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_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._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_1gn40_2{display:grid;width:100%}._rankingSliderContainer_1gn40_2 ._labelContainer_1gn40_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10{width:100%;position:relative}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._slider_1gn40_14{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._thumb_1gn40_20{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._trackLeft_1gn40_30,._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._trackRight_1gn40_35{height:6px;border-radius:9999px}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._labels_1gn40_39{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._labels_1gn40_39 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._labels_1gn40_39 ._labelsText_1gn40_55{color:#605b56}._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}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as p, jsx as s, Fragment as Fe } from "react/jsx-runtime";
|
|
3
|
-
import * as
|
|
4
|
-
import $, { useState as
|
|
3
|
+
import * as le from "react";
|
|
4
|
+
import $, { useState as T, useEffect as M, useMemo as he, useLayoutEffect as kt, useRef as te } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as k, Trans as qe } from "react-i18next";
|
|
7
7
|
import { motion as Ee } from "framer-motion";
|
|
@@ -44,7 +44,7 @@ const Ut = "_ambitSelector_mcunf_2", Gt = "_header_mcunf_13", Wt = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at:
|
|
47
|
+
const { nom: u, created_at: h, id: g, isBeingProcessed: _ } = n;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
@@ -62,7 +62,7 @@ const Ut = "_ambitSelector_mcunf_2", Gt = "_header_mcunf_13", Wt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className: de.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: de.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: de.ambitButtons, children: [
|
|
68
68
|
_ && /* @__PURE__ */ s("img", { src: c2 }),
|
|
@@ -94,7 +94,7 @@ ot.propTypes = {
|
|
|
94
94
|
};
|
|
95
95
|
const Ke = "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", p2 = "_generalButton_phq4n_2", m2 = {
|
|
96
96
|
generalButton: p2
|
|
97
|
-
},
|
|
97
|
+
}, ve = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: i = "#605B56",
|
|
@@ -127,19 +127,19 @@ const Ke = "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: g = (
|
|
132
|
-
onClickFilters: _ = (
|
|
133
|
-
onClickAmbit: v = (
|
|
130
|
+
onClickCopy: h = (m) => console.log(`Copy ambit: ${m}`),
|
|
131
|
+
onCLickDelete: g = (m) => console.log(`Delete ambit: ${m}`),
|
|
132
|
+
onClickFilters: _ = (m) => console.log(`Filters clicked: ${m}`),
|
|
133
|
+
onClickAmbit: v = (m) => console.log(`OnCLickAmbit: ${m}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t:
|
|
135
|
+
const { t: m } = k(), [f, C] = T(n);
|
|
136
136
|
M(() => {
|
|
137
137
|
n && C(n);
|
|
138
138
|
}, [n]);
|
|
139
139
|
const b = (y) => {
|
|
140
140
|
if (f && f.length > 0) {
|
|
141
|
-
let
|
|
142
|
-
|
|
141
|
+
let N = [...f];
|
|
142
|
+
N.sort((x, w) => x[y].localeCompare(w[y])), C(N);
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
return /* @__PURE__ */ p(
|
|
@@ -156,11 +156,11 @@ const Ke = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
156
156
|
children: [
|
|
157
157
|
/* @__PURE__ */ p("div", { className: U.nameDateContainer, children: [
|
|
158
158
|
/* @__PURE__ */ s("div", { className: U.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
159
|
-
/* @__PURE__ */ s("span", { children:
|
|
159
|
+
/* @__PURE__ */ s("span", { children: m(t) }),
|
|
160
160
|
/* @__PURE__ */ s("img", { src: Ke })
|
|
161
161
|
] }) }),
|
|
162
162
|
/* @__PURE__ */ s("div", { className: U.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
163
|
-
/* @__PURE__ */ s("span", { children:
|
|
163
|
+
/* @__PURE__ */ s("span", { children: m(r) }),
|
|
164
164
|
/* @__PURE__ */ s("img", { src: Ke })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
@@ -175,7 +175,7 @@ const Ke = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
175
175
|
ambit: y,
|
|
176
176
|
fontColor: i,
|
|
177
177
|
activeColor: o,
|
|
178
|
-
onClickCopy:
|
|
178
|
+
onClickCopy: h,
|
|
179
179
|
onClickDelete: g,
|
|
180
180
|
onClickFilters: _,
|
|
181
181
|
onClickAmbit: v
|
|
@@ -183,12 +183,12 @@ const Ke = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
183
183
|
`ambitKey${y.id}`
|
|
184
184
|
)) }),
|
|
185
185
|
/* @__PURE__ */ s("div", { className: U.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
186
|
-
|
|
186
|
+
ve,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
190
190
|
borderColor: "grey",
|
|
191
|
-
children:
|
|
191
|
+
children: m(a)
|
|
192
192
|
}
|
|
193
193
|
) })
|
|
194
194
|
]
|
|
@@ -217,7 +217,7 @@ h2.propTypes = {
|
|
|
217
217
|
containerStyles: e.object,
|
|
218
218
|
onCLickNewAmbit: e.func
|
|
219
219
|
};
|
|
220
|
-
const g2 = "_buttonsContainer_1audx_2", C2 = "_vertical_1audx_6", f2 = "_horizontal_1audx_9", b2 = "_button_1audx_2", _2 = "_active_1audx_25", y2 = "_buttonName_1audx_28",
|
|
220
|
+
const g2 = "_buttonsContainer_1audx_2", C2 = "_vertical_1audx_6", f2 = "_horizontal_1audx_9", b2 = "_button_1audx_2", _2 = "_active_1audx_25", y2 = "_buttonName_1audx_28", W = {
|
|
221
221
|
buttonsContainer: g2,
|
|
222
222
|
vertical: C2,
|
|
223
223
|
horizontal: f2,
|
|
@@ -229,11 +229,11 @@ const g2 = "_buttonsContainer_1audx_2", C2 = "_vertical_1audx_6", f2 = "_horizon
|
|
|
229
229
|
top: x2,
|
|
230
230
|
bottom: w2,
|
|
231
231
|
right: N2
|
|
232
|
-
},
|
|
232
|
+
}, ee = ({ text: n, position: d, styleCustom: i = null }) => {
|
|
233
233
|
const { t: o } = k();
|
|
234
234
|
return /* @__PURE__ */ s("div", { className: `tooltip ${k2[d]}`, style: i, children: o(n) });
|
|
235
235
|
};
|
|
236
|
-
|
|
236
|
+
ee.propTypes = {
|
|
237
237
|
text: e.string.isRequired,
|
|
238
238
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
239
|
styleCustom: e.object
|
|
@@ -250,31 +250,31 @@ const B2 = ({
|
|
|
250
250
|
return /* @__PURE__ */ s(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
|
-
className: `${
|
|
254
|
-
${d === "horizontal" &&
|
|
253
|
+
className: `${W.buttonsContainer} ${d === "vertical" && W.vertical}
|
|
254
|
+
${d === "horizontal" && W.horizontal}`,
|
|
255
255
|
children: n.map((l, c) => {
|
|
256
256
|
const {
|
|
257
257
|
icon: u,
|
|
258
|
-
activeIcon:
|
|
258
|
+
activeIcon: h,
|
|
259
259
|
isActive: g,
|
|
260
260
|
name: _,
|
|
261
261
|
onClick: v
|
|
262
|
-
} = l,
|
|
263
|
-
i && o === "left" && /* @__PURE__ */ s("span", { className:
|
|
264
|
-
/* @__PURE__ */ s("img", { src: g ?
|
|
265
|
-
i && o === "right" && /* @__PURE__ */ s("span", { className:
|
|
262
|
+
} = l, m = /* @__PURE__ */ p(Fe, { children: [
|
|
263
|
+
i && o === "left" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(_) }),
|
|
264
|
+
/* @__PURE__ */ s("img", { src: g ? h : u, alt: a(_) }),
|
|
265
|
+
i && o === "right" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(_) })
|
|
266
266
|
] });
|
|
267
267
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
268
268
|
/* @__PURE__ */ s(
|
|
269
269
|
"button",
|
|
270
270
|
{
|
|
271
271
|
onClick: v,
|
|
272
|
-
className: `${
|
|
273
|
-
${g &&
|
|
274
|
-
children:
|
|
272
|
+
className: `${W.button}
|
|
273
|
+
${g && W.active}`,
|
|
274
|
+
children: m
|
|
275
275
|
}
|
|
276
276
|
),
|
|
277
|
-
t && /* @__PURE__ */ s(
|
|
277
|
+
t && /* @__PURE__ */ s(ee, { text: _, position: r })
|
|
278
278
|
] }, c);
|
|
279
279
|
})
|
|
280
280
|
}
|
|
@@ -300,7 +300,7 @@ B2.propTypes = {
|
|
|
300
300
|
const S2 = "_indicatorsCategory_1cu33_2", $2 = "_title_1cu33_5", Ne = {
|
|
301
301
|
indicatorsCategory: S2,
|
|
302
302
|
title: $2
|
|
303
|
-
},
|
|
303
|
+
}, ne = ({
|
|
304
304
|
isOpen: n,
|
|
305
305
|
onClick: d,
|
|
306
306
|
children: i,
|
|
@@ -314,7 +314,7 @@ const S2 = "_indicatorsCategory_1cu33_2", $2 = "_title_1cu33_5", Ne = {
|
|
|
314
314
|
showBottomBar: c = !0,
|
|
315
315
|
titleMarginChildren: u = 25
|
|
316
316
|
}) => {
|
|
317
|
-
const { t:
|
|
317
|
+
const { t: h } = k();
|
|
318
318
|
return /* @__PURE__ */ p(
|
|
319
319
|
Ee.div,
|
|
320
320
|
{
|
|
@@ -339,7 +339,7 @@ const S2 = "_indicatorsCategory_1cu33_2", $2 = "_title_1cu33_5", Ne = {
|
|
|
339
339
|
onClick: d,
|
|
340
340
|
children: [
|
|
341
341
|
/* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
342
|
-
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children:
|
|
342
|
+
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children: h(r) })
|
|
343
343
|
]
|
|
344
344
|
}
|
|
345
345
|
),
|
|
@@ -348,7 +348,7 @@ const S2 = "_indicatorsCategory_1cu33_2", $2 = "_title_1cu33_5", Ne = {
|
|
|
348
348
|
}
|
|
349
349
|
);
|
|
350
350
|
};
|
|
351
|
-
|
|
351
|
+
ne.propTypes = {
|
|
352
352
|
isOpen: e.bool,
|
|
353
353
|
onClick: e.func,
|
|
354
354
|
children: e.node,
|
|
@@ -362,7 +362,7 @@ ie.propTypes = {
|
|
|
362
362
|
const Ii = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), D2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", M2 = "_AppliedFiltersContainer_cokx9_2", L2 = "_AppliedFilterContent_cokx9_11", He = {
|
|
363
363
|
AppliedFiltersContainer: M2,
|
|
364
364
|
AppliedFilterContent: L2
|
|
365
|
-
},
|
|
365
|
+
}, A = Bt((n) => ({
|
|
366
366
|
activeCategory: "",
|
|
367
367
|
activeSubCategory: "",
|
|
368
368
|
selectedIndicator: "",
|
|
@@ -370,24 +370,24 @@ const Ii = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), D2 = "data
|
|
|
370
370
|
fontColor: "#605B56",
|
|
371
371
|
inputsColor: "#605B56"
|
|
372
372
|
})), st = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
373
|
-
const { t: a } = k(), { tematicalFiltersSelected: l } =
|
|
374
|
-
|
|
375
|
-
tematicalFiltersSelected:
|
|
373
|
+
const { t: a } = k(), { tematicalFiltersSelected: l } = A((u) => u), c = (u) => {
|
|
374
|
+
A.setState((h) => ({
|
|
375
|
+
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
376
376
|
(g) => g.code !== u
|
|
377
377
|
)
|
|
378
378
|
}));
|
|
379
379
|
};
|
|
380
380
|
return /* @__PURE__ */ s(
|
|
381
|
-
|
|
381
|
+
ne,
|
|
382
382
|
{
|
|
383
383
|
isOpen: i,
|
|
384
384
|
onClick: d,
|
|
385
385
|
title: n ? a(n) : "Applied Filters",
|
|
386
386
|
activeColor: r,
|
|
387
|
-
children: /* @__PURE__ */ s("div", { className: He.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u,
|
|
387
|
+
children: /* @__PURE__ */ s("div", { className: He.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: He.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
388
388
|
a(u.name),
|
|
389
389
|
/* @__PURE__ */ s("img", { src: D2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
390
|
-
] },
|
|
390
|
+
] }, h)) })
|
|
391
391
|
}
|
|
392
392
|
);
|
|
393
393
|
};
|
|
@@ -406,9 +406,9 @@ st.propTypes = {
|
|
|
406
406
|
activeColor: e.string
|
|
407
407
|
};
|
|
408
408
|
const rt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
409
|
-
const { t: a } = k(), { tematicalFiltersSelected: l } =
|
|
409
|
+
const { t: a } = k(), { tematicalFiltersSelected: l } = A((c) => c);
|
|
410
410
|
return /* @__PURE__ */ s(
|
|
411
|
-
|
|
411
|
+
ne,
|
|
412
412
|
{
|
|
413
413
|
isOpen: i,
|
|
414
414
|
onClick: d,
|
|
@@ -435,7 +435,7 @@ const T2 = "_checkboxContainer_zld97_2", F2 = {
|
|
|
435
435
|
indicator: o,
|
|
436
436
|
value: t
|
|
437
437
|
}) => {
|
|
438
|
-
const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } =
|
|
438
|
+
const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = A((u) => u);
|
|
439
439
|
return /* @__PURE__ */ p(
|
|
440
440
|
"div",
|
|
441
441
|
{
|
|
@@ -487,15 +487,15 @@ function ke(n) {
|
|
|
487
487
|
function Be(n) {
|
|
488
488
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function fe(n) {
|
|
491
491
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function be(n) {
|
|
494
494
|
Object.keys(n).forEach((d) => {
|
|
495
495
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Y(n, d) {
|
|
499
499
|
return Ae(function(i, o) {
|
|
500
500
|
let t = i;
|
|
501
501
|
return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
|
|
@@ -519,8 +519,8 @@ let Ie = function(n) {
|
|
|
519
519
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
520
520
|
}, t.onMouseMove = (l) => {
|
|
521
521
|
t.setState({ pending: !0 });
|
|
522
|
-
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]),
|
|
523
|
-
t.move(
|
|
522
|
+
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
523
|
+
t.move(h);
|
|
524
524
|
}, t.onTouchMove = (l) => {
|
|
525
525
|
if (l.touches.length > 1) return;
|
|
526
526
|
t.setState({ pending: !0 });
|
|
@@ -530,8 +530,8 @@ let Ie = function(n) {
|
|
|
530
530
|
t.isScrolling = Math.abs(_) > Math.abs(g);
|
|
531
531
|
}
|
|
532
532
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
533
|
-
const u = t.getDiffPosition(c[0]),
|
|
534
|
-
t.move(
|
|
533
|
+
const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
534
|
+
t.move(h);
|
|
535
535
|
}, t.onKeyDown = (l) => {
|
|
536
536
|
if (!(l.ctrlKey || l.shiftKey || l.altKey || l.metaKey)) switch (t.setState({ pending: !0 }), l.key) {
|
|
537
537
|
case "ArrowLeft":
|
|
@@ -563,29 +563,29 @@ let Ie = function(n) {
|
|
|
563
563
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
564
564
|
const c = t.getMousePosition(l);
|
|
565
565
|
t.forceValueFromPosition(c[0], (u) => {
|
|
566
|
-
t.start(u, c[0]),
|
|
566
|
+
t.start(u, c[0]), be(t.getMouseEventMap());
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
569
|
ke(l);
|
|
570
570
|
}
|
|
571
571
|
}, t.onSliderClick = (l) => {
|
|
572
572
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
573
|
-
const c = t.getMousePosition(l), u =
|
|
573
|
+
const c = t.getMousePosition(l), u = Y(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
574
574
|
t.props.onSliderClick(u);
|
|
575
575
|
}
|
|
576
576
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
577
|
-
t.props.disabled || (t.start(l),
|
|
577
|
+
t.props.disabled || (t.start(l), be(t.getKeyDownEventMap()), ke(c));
|
|
578
578
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
579
579
|
if (t.props.disabled || c.button === 2) return;
|
|
580
580
|
t.setState({ pending: !0 });
|
|
581
581
|
const u = t.getMousePosition(c);
|
|
582
|
-
t.start(l, u[0]),
|
|
582
|
+
t.start(l, u[0]), be(t.getMouseEventMap()), ke(c);
|
|
583
583
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
584
584
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
585
585
|
t.setState({ pending: !0 });
|
|
586
586
|
const u = t.getTouchPosition(c);
|
|
587
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
588
|
-
|
|
587
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), be(t.getTouchEventMap()), function(h) {
|
|
588
|
+
h.stopPropagation && h.stopPropagation();
|
|
589
589
|
}(c);
|
|
590
590
|
}, t.handleResize = () => {
|
|
591
591
|
const l = window.setTimeout(() => {
|
|
@@ -593,18 +593,18 @@ let Ie = function(n) {
|
|
|
593
593
|
}, 0);
|
|
594
594
|
t.pendingResizeTimeouts.push(l);
|
|
595
595
|
}, t.renderThumb = (l, c) => {
|
|
596
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
596
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (_) => {
|
|
597
597
|
t["thumb" + c] = _;
|
|
598
|
-
}, 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 }, g = { index: c, value:
|
|
599
|
-
return t.props.ariaValuetext && (
|
|
598
|
+
}, 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 }, g = { index: c, value: fe(t.state.value), valueNow: t.state.value[c] };
|
|
599
|
+
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(h, g);
|
|
600
600
|
}, t.renderTrack = (l, c, u) => {
|
|
601
|
-
const
|
|
602
|
-
return t.props.renderTrack(
|
|
601
|
+
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: l, value: fe(t.state.value) };
|
|
602
|
+
return t.props.renderTrack(h, g);
|
|
603
603
|
};
|
|
604
604
|
let r = Be(o.value);
|
|
605
605
|
r.length || (r = Be(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
606
606
|
const a = [];
|
|
607
|
-
for (let l = 0; l < r.length; l += 1) r[l] =
|
|
607
|
+
for (let l = 0; l < r.length; l += 1) r[l] = Y(r[l], o), a.push(l);
|
|
608
608
|
return t.resizeObserver = null, t.resizeElementRef = $.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
609
609
|
}
|
|
610
610
|
V2(d, n);
|
|
@@ -613,7 +613,7 @@ let Ie = function(n) {
|
|
|
613
613
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
614
614
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
615
615
|
const r = Be(o.value);
|
|
616
|
-
return r.length ? t.pending ? null : { value: r.map((a) =>
|
|
616
|
+
return r.length ? t.pending ? null : { value: r.map((a) => Y(a, o)) } : null;
|
|
617
617
|
}, i.componentDidUpdate = function() {
|
|
618
618
|
this.state.upperBound === 0 && this.resize();
|
|
619
619
|
}, i.componentWillUnmount = function() {
|
|
@@ -625,13 +625,13 @@ let Ie = function(n) {
|
|
|
625
625
|
});
|
|
626
626
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
627
627
|
}, i.getValue = function() {
|
|
628
|
-
return
|
|
628
|
+
return fe(this.state.value);
|
|
629
629
|
}, i.getClosestIndex = function(o) {
|
|
630
630
|
let t = Number.MAX_VALUE, r = -1;
|
|
631
631
|
const { value: a } = this.state, l = a.length;
|
|
632
632
|
for (let c = 0; c < l; c += 1) {
|
|
633
|
-
const u = this.calcOffset(a[c]),
|
|
634
|
-
|
|
633
|
+
const u = this.calcOffset(a[c]), h = Math.abs(o - u);
|
|
634
|
+
h < t && (t = h, r = c);
|
|
635
635
|
}
|
|
636
636
|
return r;
|
|
637
637
|
}, i.getMousePosition = function(o) {
|
|
@@ -647,15 +647,15 @@ let Ie = function(n) {
|
|
|
647
647
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
648
648
|
}, i.getValueFromPosition = function(o) {
|
|
649
649
|
const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
650
|
-
return
|
|
650
|
+
return Y(this.state.startValue + t, this.props);
|
|
651
651
|
}, i.getDiffPosition = function(o) {
|
|
652
652
|
let t = o - this.state.startPosition;
|
|
653
653
|
return this.props.invert && (t *= -1), t;
|
|
654
654
|
}, i.resize = function() {
|
|
655
655
|
const { slider: o, thumb0: t } = this;
|
|
656
656
|
if (!o || !t) return;
|
|
657
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()],
|
|
658
|
-
this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize ===
|
|
657
|
+
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()], g = l - h, _ = Math.abs(c - u);
|
|
658
|
+
this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: _, thumbSize: h });
|
|
659
659
|
}, i.calcOffset = function(o) {
|
|
660
660
|
const t = this.props.max - this.props.min;
|
|
661
661
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -666,7 +666,7 @@ let Ie = function(n) {
|
|
|
666
666
|
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
|
|
667
667
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
668
668
|
}, i.forceValueFromPosition = function(o, t) {
|
|
669
|
-
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l =
|
|
669
|
+
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = Y(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
670
670
|
c[a] = l;
|
|
671
671
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
672
672
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -684,17 +684,17 @@ let Ie = function(n) {
|
|
|
684
684
|
a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
|
|
685
685
|
}, i.moveUpByStep = function(o) {
|
|
686
686
|
o === void 0 && (o = this.props.step);
|
|
687
|
-
const t = this.state.value[this.state.index], r =
|
|
687
|
+
const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
688
688
|
this.move(Math.min(r, this.props.max));
|
|
689
689
|
}, i.moveDownByStep = function(o) {
|
|
690
690
|
o === void 0 && (o = this.props.step);
|
|
691
|
-
const t = this.state.value[this.state.index], r =
|
|
691
|
+
const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
692
692
|
this.move(Math.max(r, this.props.min));
|
|
693
693
|
}, i.move = function(o) {
|
|
694
694
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
695
695
|
if (o === l) return;
|
|
696
696
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
697
|
-
const { pearling: c, max: u, min:
|
|
697
|
+
const { pearling: c, max: u, min: h, minDistance: g } = this.props;
|
|
698
698
|
if (!c) {
|
|
699
699
|
if (r > 0) {
|
|
700
700
|
const _ = t[r - 1];
|
|
@@ -705,17 +705,17 @@ let Ie = function(n) {
|
|
|
705
705
|
o > _ - g && (o = _ - g);
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, g, r), function(_, v,
|
|
708
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, g, r), function(_, v, m, f) {
|
|
709
709
|
for (let C = 0; C < _; C += 1) {
|
|
710
|
-
const b = f - C *
|
|
710
|
+
const b = f - C * m;
|
|
711
711
|
v[_ - 1 - C] > b && (v[_ - 1 - C] = b);
|
|
712
712
|
}
|
|
713
|
-
}(a, t, g, u)) : o < l && (this.pushPreceding(t, g, r), function(_, v,
|
|
713
|
+
}(a, t, g, u)) : o < l && (this.pushPreceding(t, g, r), function(_, v, m, f) {
|
|
714
714
|
for (let C = 0; C < _; C += 1) {
|
|
715
|
-
const b = f + C *
|
|
715
|
+
const b = f + C * m;
|
|
716
716
|
v[C] < b && (v[C] = b);
|
|
717
717
|
}
|
|
718
|
-
}(a, t, g,
|
|
718
|
+
}(a, t, g, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
719
719
|
}, i.pushSucceeding = function(o, t, r) {
|
|
720
720
|
let a, l;
|
|
721
721
|
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Ae(l, this.props);
|
|
@@ -732,7 +732,7 @@ let Ie = function(n) {
|
|
|
732
732
|
}, i.sizeKey = function() {
|
|
733
733
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
734
734
|
}, i.fireChangeEvent = function(o) {
|
|
735
|
-
this.props[o] && this.props[o](
|
|
735
|
+
this.props[o] && this.props[o](fe(this.state.value), this.state.index);
|
|
736
736
|
}, i.buildThumbStyle = function(o, t) {
|
|
737
737
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
738
738
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -771,7 +771,7 @@ let Ie = function(n) {
|
|
|
771
771
|
}($.Component);
|
|
772
772
|
Ie.displayName = "ReactSlider", Ie.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) => $.createElement("div", n), renderTrack: (n) => $.createElement("div", n), renderMark: (n) => $.createElement("span", n) };
|
|
773
773
|
var lt = Ie;
|
|
774
|
-
const A2 = "_container_15vgv_2", I2 = "_unitLabel_15vgv_9", O2 = "_slider_15vgv_12", R2 = "_thumb_15vgv_18", q2 = "_track_15vgv_27", E2 = "_labels_15vgv_33",
|
|
774
|
+
const A2 = "_container_15vgv_2", I2 = "_unitLabel_15vgv_9", O2 = "_slider_15vgv_12", R2 = "_thumb_15vgv_18", q2 = "_track_15vgv_27", E2 = "_labels_15vgv_33", ie = {
|
|
775
775
|
container: A2,
|
|
776
776
|
unitLabel: I2,
|
|
777
777
|
slider: O2,
|
|
@@ -788,24 +788,24 @@ const A2 = "_container_15vgv_2", I2 = "_unitLabel_15vgv_9", O2 = "_slider_15vgv_
|
|
|
788
788
|
fontColor: a = "#605B56",
|
|
789
789
|
defaultValue: l
|
|
790
790
|
}) => {
|
|
791
|
-
const { t: c } = k(), [u,
|
|
792
|
-
|
|
791
|
+
const { t: c } = k(), [u, h] = T([n, d]), g = (_) => {
|
|
792
|
+
h(_), o == null || o({ min: _[0], max: _[1] });
|
|
793
793
|
};
|
|
794
794
|
return M(() => {
|
|
795
|
-
l ||
|
|
795
|
+
l || h([n, d]);
|
|
796
796
|
}, [l]), /* @__PURE__ */ p(
|
|
797
797
|
"div",
|
|
798
798
|
{
|
|
799
|
-
className:
|
|
799
|
+
className: ie.container,
|
|
800
800
|
style: { width: `${t}px`, color: `${a}` },
|
|
801
801
|
children: [
|
|
802
|
-
/* @__PURE__ */ s("div", { className:
|
|
802
|
+
/* @__PURE__ */ s("div", { className: ie.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
803
803
|
/* @__PURE__ */ s(
|
|
804
804
|
lt,
|
|
805
805
|
{
|
|
806
|
-
className:
|
|
807
|
-
thumbClassName:
|
|
808
|
-
trackClassName:
|
|
806
|
+
className: ie.slider,
|
|
807
|
+
thumbClassName: ie.thumb,
|
|
808
|
+
trackClassName: ie.track,
|
|
809
809
|
min: n,
|
|
810
810
|
max: d,
|
|
811
811
|
step: i,
|
|
@@ -816,7 +816,7 @@ const A2 = "_container_15vgv_2", I2 = "_unitLabel_15vgv_9", O2 = "_slider_15vgv_
|
|
|
816
816
|
minDistance: 0.1
|
|
817
817
|
}
|
|
818
818
|
),
|
|
819
|
-
/* @__PURE__ */ p("div", { className:
|
|
819
|
+
/* @__PURE__ */ p("div", { className: ie.labels, children: [
|
|
820
820
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
821
821
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
822
822
|
] })
|
|
@@ -836,7 +836,7 @@ ct.propTypes = {
|
|
|
836
836
|
fontColor: e.string,
|
|
837
837
|
value: e.arrayOf(e.number)
|
|
838
838
|
};
|
|
839
|
-
const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_1vm1r_2", z2 = "_checkboxContainer_1vm1r_28", Z2 = "_absoluteSliderContainer_1vm1r_37",
|
|
839
|
+
const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_1vm1r_2", z2 = "_checkboxContainer_1vm1r_28", Z2 = "_absoluteSliderContainer_1vm1r_37", _e = {
|
|
840
840
|
tematicalFiltersInputContainer: P2,
|
|
841
841
|
inputTypeContainer: j2,
|
|
842
842
|
checkboxContainer: z2,
|
|
@@ -846,14 +846,14 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
846
846
|
//onChangeBothType
|
|
847
847
|
activeColor: d
|
|
848
848
|
}) => {
|
|
849
|
-
const [i, o] =
|
|
849
|
+
const [i, o] = T(), {
|
|
850
850
|
type: t,
|
|
851
851
|
name: r,
|
|
852
852
|
values: a,
|
|
853
853
|
minValue: l,
|
|
854
854
|
maxValue: c,
|
|
855
855
|
unit: u,
|
|
856
|
-
step:
|
|
856
|
+
step: h,
|
|
857
857
|
disabled: g
|
|
858
858
|
} = n || {}, _ = he(
|
|
859
859
|
() => t == "cat" || i == "cat",
|
|
@@ -862,81 +862,81 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
862
862
|
() => t == "abs" || i == "abs",
|
|
863
863
|
[i, t]
|
|
864
864
|
), {
|
|
865
|
-
tematicalFiltersSelected:
|
|
865
|
+
tematicalFiltersSelected: m,
|
|
866
866
|
selectedIndicator: f,
|
|
867
867
|
fontColor: C,
|
|
868
868
|
inputsColor: b
|
|
869
|
-
} =
|
|
869
|
+
} = A((x) => x), y = (x) => {
|
|
870
870
|
if (console.log("onChangInput", x), x) {
|
|
871
|
-
const { min:
|
|
872
|
-
console.log("type: ",
|
|
873
|
-
let q =
|
|
874
|
-
|
|
871
|
+
const { min: w, max: B, valueClicked: S, allValues: D } = x || {}, { code: P, type: ce } = n || {}, j = v ? "abs" : _ ? "cat" : ce == "glb" ? "glb" : "both";
|
|
872
|
+
console.log("type: ", j);
|
|
873
|
+
let q = P[0];
|
|
874
|
+
ce == "both" && (q = j == "cat" ? P[1] : P[0]), j == "cat" ? A.setState((z) => {
|
|
875
875
|
let H = z.tematicalFiltersSelected.find(
|
|
876
|
-
(
|
|
876
|
+
(V) => V.code === q
|
|
877
877
|
);
|
|
878
878
|
if (H) {
|
|
879
|
-
let
|
|
880
|
-
return H.values.includes(S) ?
|
|
879
|
+
let V = [H.values];
|
|
880
|
+
return H.values.includes(S) ? V = H.values.filter(
|
|
881
881
|
(O) => O !== S
|
|
882
|
-
) :
|
|
882
|
+
) : V = [...H.values, S], V.length == D.length ? {
|
|
883
883
|
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
884
884
|
(O) => O.code !== q
|
|
885
885
|
)
|
|
886
886
|
} : {
|
|
887
887
|
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
888
|
-
(O) => O.code === q ? { ...O, values:
|
|
888
|
+
(O) => O.code === q ? { ...O, values: V } : O
|
|
889
889
|
)
|
|
890
890
|
};
|
|
891
891
|
} else {
|
|
892
|
-
let
|
|
892
|
+
let V = D.map((O, Nt) => Nt);
|
|
893
893
|
return {
|
|
894
894
|
tematicalFiltersSelected: [
|
|
895
|
-
...
|
|
895
|
+
...m,
|
|
896
896
|
{
|
|
897
897
|
type: "cat",
|
|
898
898
|
code: q,
|
|
899
|
-
values:
|
|
899
|
+
values: V.filter((O) => O !== S),
|
|
900
900
|
name: n.name
|
|
901
901
|
}
|
|
902
902
|
]
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
|
-
}) : (
|
|
905
|
+
}) : (j == "abs" || j == "glb") && A.setState((z) => {
|
|
906
906
|
let H = z.tematicalFiltersSelected.find(
|
|
907
|
-
(
|
|
907
|
+
(V) => V.code === q
|
|
908
908
|
);
|
|
909
|
-
if (
|
|
909
|
+
if (w == n.minValue && B == n.maxValue)
|
|
910
910
|
return {
|
|
911
911
|
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
912
|
-
(
|
|
912
|
+
(V) => V.code !== q
|
|
913
913
|
)
|
|
914
914
|
};
|
|
915
915
|
if (H) {
|
|
916
|
-
let
|
|
917
|
-
return
|
|
916
|
+
let V = { ...H };
|
|
917
|
+
return V.min = w, V.max = B, V.type = j, {
|
|
918
918
|
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
919
|
-
(O) => O.code === q ?
|
|
919
|
+
(O) => O.code === q ? V : O
|
|
920
920
|
)
|
|
921
921
|
};
|
|
922
922
|
} else
|
|
923
923
|
return {
|
|
924
924
|
tematicalFiltersSelected: [
|
|
925
|
-
...
|
|
926
|
-
{ type:
|
|
925
|
+
...m,
|
|
926
|
+
{ type: j, code: q, min: w, max: B, name: n.name }
|
|
927
927
|
]
|
|
928
928
|
};
|
|
929
929
|
});
|
|
930
930
|
}
|
|
931
|
-
},
|
|
931
|
+
}, N = he(() => {
|
|
932
932
|
const x = {};
|
|
933
|
-
if ((
|
|
934
|
-
for (const
|
|
935
|
-
|
|
933
|
+
if ((m == null ? void 0 : m.length) > 0)
|
|
934
|
+
for (const w of m)
|
|
935
|
+
w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
|
|
936
936
|
return x;
|
|
937
|
-
}, [
|
|
938
|
-
return /* @__PURE__ */ s("div", { className:
|
|
939
|
-
|
|
937
|
+
}, [m]);
|
|
938
|
+
return /* @__PURE__ */ s("div", { className: _e.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
939
|
+
ne,
|
|
940
940
|
{
|
|
941
941
|
titleFontStyles: {
|
|
942
942
|
fontSize: 16,
|
|
@@ -946,7 +946,7 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
946
946
|
title: r,
|
|
947
947
|
isOpen: f == `id${r}`,
|
|
948
948
|
onClick: () => {
|
|
949
|
-
g ||
|
|
949
|
+
g || A.setState(() => ({
|
|
950
950
|
selectedIndicator: f == `id${r}` ? "" : `id${r}`
|
|
951
951
|
}));
|
|
952
952
|
},
|
|
@@ -960,7 +960,7 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
960
960
|
t == "both" && /* @__PURE__ */ p(
|
|
961
961
|
"div",
|
|
962
962
|
{
|
|
963
|
-
className:
|
|
963
|
+
className: _e.inputTypeContainer,
|
|
964
964
|
style: { color: C },
|
|
965
965
|
children: [
|
|
966
966
|
/* @__PURE__ */ p("label", { children: [
|
|
@@ -1004,27 +1004,27 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
1004
1004
|
]
|
|
1005
1005
|
}
|
|
1006
1006
|
),
|
|
1007
|
-
_ && /* @__PURE__ */ s("div", { className:
|
|
1007
|
+
_ && /* @__PURE__ */ s("div", { className: _e.checkboxContainer, children: a.map((x, w) => {
|
|
1008
1008
|
var B;
|
|
1009
1009
|
return /* @__PURE__ */ s(
|
|
1010
1010
|
at,
|
|
1011
1011
|
{
|
|
1012
|
-
onClick: () => y({ valueClicked:
|
|
1012
|
+
onClick: () => y({ valueClicked: w, allValues: a }),
|
|
1013
1013
|
indicator: x,
|
|
1014
|
-
value: ((B =
|
|
1014
|
+
value: ((B = N[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : B.has(w)) || !N[n.code[t == "both" ? 1 : 0]]
|
|
1015
1015
|
},
|
|
1016
|
-
`checkbox-${
|
|
1016
|
+
`checkbox-${w}`
|
|
1017
1017
|
);
|
|
1018
1018
|
}) }),
|
|
1019
|
-
(v || t == "glb") && /* @__PURE__ */ s("div", { className:
|
|
1019
|
+
(v || t == "glb") && /* @__PURE__ */ s("div", { className: _e.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1020
1020
|
ct,
|
|
1021
1021
|
{
|
|
1022
1022
|
onChange: y,
|
|
1023
1023
|
min: l,
|
|
1024
1024
|
max: c,
|
|
1025
1025
|
unit: u,
|
|
1026
|
-
defaultValue:
|
|
1027
|
-
step:
|
|
1026
|
+
defaultValue: N[n.code[0]] ? N[n.code[0]] : "",
|
|
1027
|
+
step: h
|
|
1028
1028
|
}
|
|
1029
1029
|
) })
|
|
1030
1030
|
]
|
|
@@ -1052,14 +1052,14 @@ const dt = ({
|
|
|
1052
1052
|
activeColor: i
|
|
1053
1053
|
//onChangeBothType,
|
|
1054
1054
|
}) => {
|
|
1055
|
-
const { activeSubcategory: o } =
|
|
1055
|
+
const { activeSubcategory: o } = A((a) => a), { name: t, indicators: r } = n || {};
|
|
1056
1056
|
return /* @__PURE__ */ s(
|
|
1057
|
-
|
|
1057
|
+
ne,
|
|
1058
1058
|
{
|
|
1059
1059
|
title: t,
|
|
1060
1060
|
isOpen: o == `id${t}`,
|
|
1061
1061
|
onClick: () => {
|
|
1062
|
-
|
|
1062
|
+
A.setState((a) => ({
|
|
1063
1063
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1064
1064
|
}));
|
|
1065
1065
|
},
|
|
@@ -1099,12 +1099,12 @@ const ut = ({
|
|
|
1099
1099
|
// onChangeBothType,
|
|
1100
1100
|
activeColor: d
|
|
1101
1101
|
}) => {
|
|
1102
|
-
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } =
|
|
1102
|
+
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = A((l) => l);
|
|
1103
1103
|
return n && /* @__PURE__ */ s(
|
|
1104
|
-
|
|
1104
|
+
ne,
|
|
1105
1105
|
{
|
|
1106
1106
|
onClick: () => {
|
|
1107
|
-
|
|
1107
|
+
A.setState((l) => ({
|
|
1108
1108
|
activeCategory: r === `id${i}` ? "" : `id${i}`
|
|
1109
1109
|
}));
|
|
1110
1110
|
},
|
|
@@ -1152,13 +1152,13 @@ const pt = ({
|
|
|
1152
1152
|
inputsColor: t = "#605B56",
|
|
1153
1153
|
activeColor: r
|
|
1154
1154
|
}) => {
|
|
1155
|
-
const { tematicalFiltersSelected: a } =
|
|
1155
|
+
const { tematicalFiltersSelected: a } = A((c) => c), { t: l } = k();
|
|
1156
1156
|
return M(() => {
|
|
1157
|
-
o &&
|
|
1157
|
+
o && A.setState(() => ({ fontColor: o }));
|
|
1158
1158
|
}, [o]), M(() => {
|
|
1159
|
-
t &&
|
|
1159
|
+
t && A.setState(() => ({ inputsColor: t }));
|
|
1160
1160
|
}, [t]), /* @__PURE__ */ s(
|
|
1161
|
-
|
|
1161
|
+
ne,
|
|
1162
1162
|
{
|
|
1163
1163
|
isOpen: d,
|
|
1164
1164
|
title: i ? l(i) : "Tematical filters",
|
|
@@ -1185,7 +1185,7 @@ pt.propTypes = {
|
|
|
1185
1185
|
inputsColor: e.string,
|
|
1186
1186
|
activeColor: e.string
|
|
1187
1187
|
};
|
|
1188
|
-
const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7", U2 = "_FiltersAmbitTitle_1g9xx_15", G2 = "_FiltersAmbitDescription_1g9xx_22", W2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", Y2 = "_warning_1g9xx_37",
|
|
1188
|
+
const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7", U2 = "_FiltersAmbitTitle_1g9xx_15", G2 = "_FiltersAmbitDescription_1g9xx_22", W2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", Y2 = "_warning_1g9xx_37", oe = {
|
|
1189
1189
|
FiltersAmbitContainer: K2,
|
|
1190
1190
|
FiltersAmbitHeader: H2,
|
|
1191
1191
|
FiltersAmbitTitle: U2,
|
|
@@ -1203,49 +1203,49 @@ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1203
1203
|
onChangeAppliedFilters: l,
|
|
1204
1204
|
saveAmbit: c,
|
|
1205
1205
|
namePlaceholder: u,
|
|
1206
|
-
descPlaceholder:
|
|
1206
|
+
descPlaceholder: h,
|
|
1207
1207
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1208
1208
|
nameRequiredText: _,
|
|
1209
1209
|
onlyFilters: v = !1
|
|
1210
1210
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1211
1211
|
}) => {
|
|
1212
|
-
const { t:
|
|
1212
|
+
const { t: m } = k(), { tematicalFiltersSelected: f } = A((S) => S), [C, b] = T(n || null), [y, N] = T(d || null), [x, w] = T(!1);
|
|
1213
1213
|
M(() => {
|
|
1214
|
-
i && i.length > 0 &&
|
|
1214
|
+
i && i.length > 0 && A.setState((S) => ({
|
|
1215
1215
|
tematicalFiltersSelected: i
|
|
1216
1216
|
}));
|
|
1217
1217
|
}, [i]), M(() => {
|
|
1218
1218
|
console.log("filtersSelected changed: ", f), l(f);
|
|
1219
1219
|
}, [f]);
|
|
1220
1220
|
const B = () => {
|
|
1221
|
-
C ? c({ name: C, description: y }) :
|
|
1221
|
+
C ? c({ name: C, description: y }) : w(!0);
|
|
1222
1222
|
};
|
|
1223
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1224
|
-
!v && /* @__PURE__ */ p("div", { className:
|
|
1225
|
-
/* @__PURE__ */ s("div", { className:
|
|
1223
|
+
return /* @__PURE__ */ p("div", { className: oe.FiltersAmbitContainer, children: [
|
|
1224
|
+
!v && /* @__PURE__ */ p("div", { className: oe.FiltersAmbitHeader, children: [
|
|
1225
|
+
/* @__PURE__ */ s("div", { className: oe.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1226
1226
|
"input",
|
|
1227
1227
|
{
|
|
1228
1228
|
type: "text",
|
|
1229
1229
|
onChange: (S) => {
|
|
1230
|
-
|
|
1230
|
+
w(!1), b(S.target.value);
|
|
1231
1231
|
},
|
|
1232
1232
|
value: C,
|
|
1233
|
-
placeholder:
|
|
1233
|
+
placeholder: m(u)
|
|
1234
1234
|
}
|
|
1235
1235
|
) }),
|
|
1236
|
-
/* @__PURE__ */ s("div", { className:
|
|
1236
|
+
/* @__PURE__ */ s("div", { className: oe.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: oe.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1237
1237
|
"textarea",
|
|
1238
1238
|
{
|
|
1239
1239
|
value: y,
|
|
1240
|
-
onChange: (S) =>
|
|
1241
|
-
placeholder: h
|
|
1240
|
+
onChange: (S) => N(S.target.value),
|
|
1241
|
+
placeholder: m(h)
|
|
1242
1242
|
}
|
|
1243
1243
|
) }) })
|
|
1244
1244
|
] }),
|
|
1245
1245
|
/* @__PURE__ */ s(
|
|
1246
1246
|
st,
|
|
1247
1247
|
{
|
|
1248
|
-
title:
|
|
1248
|
+
title: m("applied_filters"),
|
|
1249
1249
|
isOpen: !0,
|
|
1250
1250
|
textColor: r || "#fff",
|
|
1251
1251
|
backgroundColor: a || "#605B5680",
|
|
@@ -1263,8 +1263,8 @@ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1263
1263
|
activeColor: t
|
|
1264
1264
|
}
|
|
1265
1265
|
),
|
|
1266
|
-
x && /* @__PURE__ */ s("div", { className:
|
|
1267
|
-
!v && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(
|
|
1266
|
+
x && /* @__PURE__ */ s("div", { className: oe.warning, children: m(_) }),
|
|
1267
|
+
!v && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ve, { onClick: () => B(), children: m("save_ambit") }) })
|
|
1268
1268
|
] });
|
|
1269
1269
|
};
|
|
1270
1270
|
Q2.propTypes = {
|
|
@@ -1296,13 +1296,13 @@ const X2 = "_barChartContainer_d2f1z_2", J2 = {
|
|
|
1296
1296
|
numberOfDivisions: c = 7,
|
|
1297
1297
|
maxValue: u = null
|
|
1298
1298
|
}) => {
|
|
1299
|
-
const { t:
|
|
1299
|
+
const { t: h } = k(), { xScale: g, ticks: _, height: v } = he(() => {
|
|
1300
1300
|
if (n && n.length > 0) {
|
|
1301
|
-
const
|
|
1301
|
+
const m = (n == null ? void 0 : n.length) * (i + o) + r * 2, f = Ze.max(n, (y) => y.value) || 1, C = Ze.scaleLinear().domain([0, u || f]).range([0, d - l]), b = Array.from({ length: c + 1 }, (y, N) => u ? u / c * N : f / c * N);
|
|
1302
1302
|
return {
|
|
1303
1303
|
xScale: C,
|
|
1304
1304
|
ticks: b,
|
|
1305
|
-
height:
|
|
1305
|
+
height: m,
|
|
1306
1306
|
width: d,
|
|
1307
1307
|
verticalPaddign: r,
|
|
1308
1308
|
horizontalPaddign: a
|
|
@@ -1320,8 +1320,8 @@ const X2 = "_barChartContainer_d2f1z_2", J2 = {
|
|
|
1320
1320
|
u
|
|
1321
1321
|
]);
|
|
1322
1322
|
return /* @__PURE__ */ s("div", { className: J2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: v, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1323
|
-
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((
|
|
1324
|
-
const C = g(
|
|
1323
|
+
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((m, f) => {
|
|
1324
|
+
const C = g(m);
|
|
1325
1325
|
return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
|
|
1326
1326
|
/* @__PURE__ */ s(
|
|
1327
1327
|
"line",
|
|
@@ -1338,13 +1338,13 @@ const X2 = "_barChartContainer_d2f1z_2", J2 = {
|
|
|
1338
1338
|
textAnchor: "middle",
|
|
1339
1339
|
fontSize: 10,
|
|
1340
1340
|
fill: t,
|
|
1341
|
-
children: parseInt(
|
|
1341
|
+
children: parseInt(m)
|
|
1342
1342
|
}
|
|
1343
1343
|
)
|
|
1344
1344
|
] }, f);
|
|
1345
1345
|
}) }),
|
|
1346
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1347
|
-
const C = g(
|
|
1346
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((m, f) => {
|
|
1347
|
+
const C = g(m.value), b = f * (i + o);
|
|
1348
1348
|
return /* @__PURE__ */ p(
|
|
1349
1349
|
"g",
|
|
1350
1350
|
{
|
|
@@ -1357,7 +1357,7 @@ const X2 = "_barChartContainer_d2f1z_2", J2 = {
|
|
|
1357
1357
|
y: i / 2 + 5,
|
|
1358
1358
|
textAnchor: "end",
|
|
1359
1359
|
fill: t,
|
|
1360
|
-
children: m
|
|
1360
|
+
children: h(m.title)
|
|
1361
1361
|
}
|
|
1362
1362
|
),
|
|
1363
1363
|
/* @__PURE__ */ s(
|
|
@@ -1365,7 +1365,7 @@ const X2 = "_barChartContainer_d2f1z_2", J2 = {
|
|
|
1365
1365
|
{
|
|
1366
1366
|
width: C,
|
|
1367
1367
|
height: i,
|
|
1368
|
-
fill:
|
|
1368
|
+
fill: m.color,
|
|
1369
1369
|
rx: 0
|
|
1370
1370
|
}
|
|
1371
1371
|
)
|
|
@@ -1453,7 +1453,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1453
1453
|
indicatorsCategory: i0,
|
|
1454
1454
|
title: o0,
|
|
1455
1455
|
list: s0
|
|
1456
|
-
}, r0 = "_indicatorContainer_1go6h_2", a0 = "_indicatorNameContainer_1go6h_11", l0 = "_dot_1go6h_17", c0 = "_indicatorName_1go6h_11", d0 = "_switchExternalContainer_1go6h_28", u0 = "_switchType_1go6h_37", p0 = "_switchTypeOptions_1go6h_41", m0 = "_optionContainer_1go6h_52", h0 = "_customRadious_1go6h_62", g0 = "_optionText_1go6h_69",
|
|
1456
|
+
}, r0 = "_indicatorContainer_1go6h_2", a0 = "_indicatorNameContainer_1go6h_11", l0 = "_dot_1go6h_17", c0 = "_indicatorName_1go6h_11", d0 = "_switchExternalContainer_1go6h_28", u0 = "_switchType_1go6h_37", p0 = "_switchTypeOptions_1go6h_41", m0 = "_optionContainer_1go6h_52", h0 = "_customRadious_1go6h_62", g0 = "_optionText_1go6h_69", F = {
|
|
1457
1457
|
indicatorContainer: r0,
|
|
1458
1458
|
indicatorNameContainer: a0,
|
|
1459
1459
|
dot: l0,
|
|
@@ -1475,25 +1475,25 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1475
1475
|
multiple: l = !1,
|
|
1476
1476
|
onChangeType: c
|
|
1477
1477
|
}) => {
|
|
1478
|
-
const { t: u } = k(), { name:
|
|
1478
|
+
const { t: u } = k(), { name: h, type: g, disabled: _ } = n, [v, m] = T(!1);
|
|
1479
1479
|
M(() => {
|
|
1480
|
-
t &&
|
|
1480
|
+
t && m(
|
|
1481
1481
|
l ? t.some(
|
|
1482
|
-
(b) => b.name == String(
|
|
1483
|
-
) : t.name ==
|
|
1482
|
+
(b) => b.name == String(h)
|
|
1483
|
+
) : t.name == h
|
|
1484
1484
|
);
|
|
1485
1485
|
}, [t]);
|
|
1486
|
-
const f = () => /* @__PURE__ */ s("div", { className:
|
|
1486
|
+
const f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ p("div", { className: F.switchTypeOptions, children: [
|
|
1487
1487
|
/* @__PURE__ */ p(
|
|
1488
1488
|
"div",
|
|
1489
1489
|
{
|
|
1490
|
-
className:
|
|
1490
|
+
className: F.optionContainer,
|
|
1491
1491
|
onClick: () => c("cat"),
|
|
1492
1492
|
children: [
|
|
1493
1493
|
/* @__PURE__ */ s(
|
|
1494
1494
|
"span",
|
|
1495
1495
|
{
|
|
1496
|
-
className: `${
|
|
1496
|
+
className: `${F.customRadious}`,
|
|
1497
1497
|
style: {
|
|
1498
1498
|
backgroundColor: r === "cat" ? i : "transparent",
|
|
1499
1499
|
borderColor: r === "cat" ? i : o
|
|
@@ -1503,7 +1503,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1503
1503
|
/* @__PURE__ */ s(
|
|
1504
1504
|
"h4",
|
|
1505
1505
|
{
|
|
1506
|
-
className:
|
|
1506
|
+
className: F.optionText,
|
|
1507
1507
|
style: {
|
|
1508
1508
|
color: r === "cat" ? i : o
|
|
1509
1509
|
},
|
|
@@ -1516,13 +1516,13 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1516
1516
|
/* @__PURE__ */ p(
|
|
1517
1517
|
"div",
|
|
1518
1518
|
{
|
|
1519
|
-
className:
|
|
1519
|
+
className: F.optionContainer,
|
|
1520
1520
|
onClick: () => c("abs"),
|
|
1521
1521
|
children: [
|
|
1522
1522
|
/* @__PURE__ */ s(
|
|
1523
1523
|
"span",
|
|
1524
1524
|
{
|
|
1525
|
-
className: `${
|
|
1525
|
+
className: `${F.customRadious}`,
|
|
1526
1526
|
style: {
|
|
1527
1527
|
backgroundColor: r === "abs" ? i : "transparent",
|
|
1528
1528
|
borderColor: r === "abs" ? i : o
|
|
@@ -1532,7 +1532,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1532
1532
|
/* @__PURE__ */ s(
|
|
1533
1533
|
"h4",
|
|
1534
1534
|
{
|
|
1535
|
-
className:
|
|
1535
|
+
className: F.optionText,
|
|
1536
1536
|
style: {
|
|
1537
1537
|
color: r === "abs" ? i : o
|
|
1538
1538
|
},
|
|
@@ -1542,15 +1542,15 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1542
1542
|
]
|
|
1543
1543
|
}
|
|
1544
1544
|
)
|
|
1545
|
-
] }) }) }), C = () => /* @__PURE__ */ s("div", { className:
|
|
1545
|
+
] }) }) }), C = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b, y) => /* @__PURE__ */ p(
|
|
1546
1546
|
"div",
|
|
1547
1547
|
{
|
|
1548
|
-
className:
|
|
1548
|
+
className: F.optionContainer,
|
|
1549
1549
|
children: [
|
|
1550
1550
|
/* @__PURE__ */ s(
|
|
1551
1551
|
"span",
|
|
1552
1552
|
{
|
|
1553
|
-
className:
|
|
1553
|
+
className: F.customRadious
|
|
1554
1554
|
}
|
|
1555
1555
|
),
|
|
1556
1556
|
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
@@ -1558,11 +1558,11 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1558
1558
|
},
|
|
1559
1559
|
y
|
|
1560
1560
|
)) }) }) });
|
|
1561
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1561
|
+
return /* @__PURE__ */ p("div", { className: F.indicatorContainer, children: [
|
|
1562
1562
|
/* @__PURE__ */ p(
|
|
1563
1563
|
"div",
|
|
1564
1564
|
{
|
|
1565
|
-
className:
|
|
1565
|
+
className: F.indicatorNameContainer,
|
|
1566
1566
|
onClick: () => !_ && a({ indicator: n }),
|
|
1567
1567
|
children: [
|
|
1568
1568
|
/* @__PURE__ */ s(
|
|
@@ -1572,13 +1572,13 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1572
1572
|
border: v ? `1px solid ${i}` : `1px solid ${o}`,
|
|
1573
1573
|
opacity: _ ? 0.5 : 1
|
|
1574
1574
|
},
|
|
1575
|
-
className:
|
|
1575
|
+
className: F.dot
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
1578
|
/* @__PURE__ */ s(
|
|
1579
1579
|
"h4",
|
|
1580
1580
|
{
|
|
1581
|
-
className:
|
|
1581
|
+
className: F.indicatorName,
|
|
1582
1582
|
style: {
|
|
1583
1583
|
color: v ? i : o,
|
|
1584
1584
|
opacity: _ ? 0.5 : 1
|
|
@@ -1586,7 +1586,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1586
1586
|
children: /* @__PURE__ */ s(
|
|
1587
1587
|
qe,
|
|
1588
1588
|
{
|
|
1589
|
-
i18nKey:
|
|
1589
|
+
i18nKey: h,
|
|
1590
1590
|
components: { sup: /* @__PURE__ */ s("sup", {}) },
|
|
1591
1591
|
shouldUnescape: !0
|
|
1592
1592
|
}
|
|
@@ -1596,8 +1596,8 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1596
1596
|
]
|
|
1597
1597
|
}
|
|
1598
1598
|
),
|
|
1599
|
-
(t == null ? void 0 : t.name) ===
|
|
1600
|
-
(t == null ? void 0 : t.name) ===
|
|
1599
|
+
(t == null ? void 0 : t.name) === h && g === "both" && /* @__PURE__ */ s("div", { children: f() }),
|
|
1600
|
+
(t == null ? void 0 : t.name) === h && g === "twoUnits" && /* @__PURE__ */ s("div", { children: C() })
|
|
1601
1601
|
] });
|
|
1602
1602
|
};
|
|
1603
1603
|
je.propTypes = {
|
|
@@ -1626,12 +1626,12 @@ const C0 = "_indicatorsSubCategory_1dzsi_2", f0 = "_list_1dzsi_8", Ge = {
|
|
|
1626
1626
|
activeIndicator: l,
|
|
1627
1627
|
onClickIndicator: c,
|
|
1628
1628
|
multiple: u,
|
|
1629
|
-
activeIndicatorType:
|
|
1629
|
+
activeIndicatorType: h,
|
|
1630
1630
|
onChangeType: g
|
|
1631
1631
|
}) => {
|
|
1632
|
-
const { t: _ } = k(), [v,
|
|
1632
|
+
const { t: _ } = k(), [v, m] = T(!1);
|
|
1633
1633
|
return M(() => {
|
|
1634
|
-
|
|
1634
|
+
m(t == a);
|
|
1635
1635
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1636
1636
|
Ee.div,
|
|
1637
1637
|
{
|
|
@@ -1659,7 +1659,7 @@ const C0 = "_indicatorsSubCategory_1dzsi_2", f0 = "_list_1dzsi_8", Ge = {
|
|
|
1659
1659
|
activeIndicator: l,
|
|
1660
1660
|
onClickIndicator: c,
|
|
1661
1661
|
multiple: u,
|
|
1662
|
-
activeIndicatorType:
|
|
1662
|
+
activeIndicatorType: h,
|
|
1663
1663
|
onChangeType: g
|
|
1664
1664
|
},
|
|
1665
1665
|
"indicator" + C
|
|
@@ -1691,12 +1691,12 @@ const gt = ({
|
|
|
1691
1691
|
onClickSubCategory: l,
|
|
1692
1692
|
activeIndicator: c,
|
|
1693
1693
|
onClickIndicator: u,
|
|
1694
|
-
multiple:
|
|
1694
|
+
multiple: h,
|
|
1695
1695
|
activeIndicatorType: g,
|
|
1696
1696
|
onChangeType: _
|
|
1697
1697
|
}) => {
|
|
1698
1698
|
var C;
|
|
1699
|
-
const { t: v } = k(), [
|
|
1699
|
+
const { t: v } = k(), [m, f] = T(!1);
|
|
1700
1700
|
return M(() => {
|
|
1701
1701
|
f(r === d);
|
|
1702
1702
|
}, [r, d]), /* @__PURE__ */ p(
|
|
@@ -1704,26 +1704,26 @@ const gt = ({
|
|
|
1704
1704
|
{
|
|
1705
1705
|
className: Se.indicatorsCategory,
|
|
1706
1706
|
initial: { height: "53px" },
|
|
1707
|
-
animate: { height:
|
|
1707
|
+
animate: { height: m ? "auto" : "53px" },
|
|
1708
1708
|
transition: { duration: 0.4 },
|
|
1709
1709
|
style: {
|
|
1710
1710
|
backgroundColor: "white",
|
|
1711
|
-
borderBottom:
|
|
1712
|
-
marginBottom:
|
|
1711
|
+
borderBottom: m ? `1px solid ${i}` : "0px",
|
|
1712
|
+
marginBottom: m ? "20px" : "0px"
|
|
1713
1713
|
},
|
|
1714
1714
|
children: [
|
|
1715
1715
|
/* @__PURE__ */ p("h2", { className: `${Se.title}`, onClick: () => t(d), children: [
|
|
1716
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1716
|
+
/* @__PURE__ */ s("span", { style: { color: m ? i : o }, children: m ? "-" : "+" }),
|
|
1717
1717
|
/* @__PURE__ */ s(
|
|
1718
1718
|
"span",
|
|
1719
1719
|
{
|
|
1720
|
-
style: { marginLeft: 12, color:
|
|
1720
|
+
style: { marginLeft: 12, color: m ? i : o },
|
|
1721
1721
|
children: v(n.name)
|
|
1722
1722
|
}
|
|
1723
1723
|
)
|
|
1724
1724
|
] }),
|
|
1725
1725
|
n.subcategories ? n.subcategories.map(
|
|
1726
|
-
({ name: b, subcategory: y, indicators:
|
|
1726
|
+
({ name: b, subcategory: y, indicators: N }, x) => /* @__PURE__ */ s(
|
|
1727
1727
|
ht,
|
|
1728
1728
|
{
|
|
1729
1729
|
id: y,
|
|
@@ -1732,10 +1732,10 @@ const gt = ({
|
|
|
1732
1732
|
onClickSubCategory: l,
|
|
1733
1733
|
activeIndicator: c,
|
|
1734
1734
|
onClickIndicator: u,
|
|
1735
|
-
multiple:
|
|
1735
|
+
multiple: h,
|
|
1736
1736
|
activeColor: i,
|
|
1737
1737
|
defaultColor: o,
|
|
1738
|
-
indicators:
|
|
1738
|
+
indicators: N,
|
|
1739
1739
|
activeIndicatorType: g,
|
|
1740
1740
|
onChangeType: _
|
|
1741
1741
|
},
|
|
@@ -1750,7 +1750,7 @@ const gt = ({
|
|
|
1750
1750
|
defaultColor: o,
|
|
1751
1751
|
activeIndicator: c,
|
|
1752
1752
|
onClickIndicator: u,
|
|
1753
|
-
multiple:
|
|
1753
|
+
multiple: h,
|
|
1754
1754
|
activeIndicatorType: g,
|
|
1755
1755
|
onChangeType: _
|
|
1756
1756
|
},
|
|
@@ -1791,25 +1791,25 @@ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
|
|
|
1791
1791
|
changeIndType: a,
|
|
1792
1792
|
activeIndicatorType: l
|
|
1793
1793
|
}) => {
|
|
1794
|
-
const { t: c } = k(), [u,
|
|
1795
|
-
|
|
1794
|
+
const { t: c } = k(), [u, h] = T(), [g, _] = T(), [v, m] = T(), f = (x) => {
|
|
1795
|
+
h(u == x ? null : x);
|
|
1796
1796
|
}, C = (x) => {
|
|
1797
1797
|
_(g == x ? null : x);
|
|
1798
1798
|
}, b = ({ indicator: x }) => {
|
|
1799
1799
|
console.log("onClickIndicator: ", x), y(x);
|
|
1800
1800
|
}, y = (x) => {
|
|
1801
1801
|
if (!t)
|
|
1802
|
-
|
|
1802
|
+
m(
|
|
1803
1803
|
(v == null ? void 0 : v.name) == x.name ? null : x
|
|
1804
1804
|
);
|
|
1805
1805
|
else {
|
|
1806
|
-
let
|
|
1807
|
-
|
|
1808
|
-
|
|
1806
|
+
let w = v && v.length > 0 ? [...v] : [];
|
|
1807
|
+
m(
|
|
1808
|
+
w != null && w.some(
|
|
1809
1809
|
(B) => B.name == x.name
|
|
1810
|
-
) ?
|
|
1810
|
+
) ? w.filter(
|
|
1811
1811
|
(B) => B.name != String(x.name)
|
|
1812
|
-
) : [...
|
|
1812
|
+
) : [...w, x]
|
|
1813
1813
|
), x.type == "both" && a("cat");
|
|
1814
1814
|
}
|
|
1815
1815
|
};
|
|
@@ -1819,26 +1819,26 @@ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
|
|
|
1819
1819
|
if (r && !v)
|
|
1820
1820
|
if (t && r && Array.isArray(r)) {
|
|
1821
1821
|
let x = v && v.length > 0 ? [...v] : [];
|
|
1822
|
-
|
|
1822
|
+
m([...x, ...r]), N(r[0].name);
|
|
1823
1823
|
} else
|
|
1824
|
-
y(r),
|
|
1824
|
+
y(r), N(r.name);
|
|
1825
1825
|
}, []);
|
|
1826
|
-
const
|
|
1827
|
-
const
|
|
1826
|
+
const N = (x) => {
|
|
1827
|
+
const w = n.find((B) => {
|
|
1828
1828
|
if (B.subcategories) {
|
|
1829
1829
|
let S = B.subcategories.find(
|
|
1830
|
-
(
|
|
1830
|
+
(D) => D.indicators.find((P) => P.name == x)
|
|
1831
1831
|
);
|
|
1832
1832
|
if (S)
|
|
1833
1833
|
return _(S.subcategory), S;
|
|
1834
1834
|
} else
|
|
1835
1835
|
return B.indicators.some((S) => S.name == x);
|
|
1836
1836
|
});
|
|
1837
|
-
|
|
1837
|
+
w && h(w.category);
|
|
1838
1838
|
};
|
|
1839
1839
|
return /* @__PURE__ */ p("div", { className: We.indicatorsList, children: [
|
|
1840
1840
|
/* @__PURE__ */ s("h2", { className: We.title, style: { color: i }, children: c("indicators.indicators") }),
|
|
1841
|
-
n.map((x,
|
|
1841
|
+
n.map((x, w) => /* @__PURE__ */ s(
|
|
1842
1842
|
gt,
|
|
1843
1843
|
{
|
|
1844
1844
|
id: x.category,
|
|
@@ -1856,7 +1856,7 @@ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
|
|
|
1856
1856
|
onChangeType: a,
|
|
1857
1857
|
activeIndicatorType: l
|
|
1858
1858
|
},
|
|
1859
|
-
`categoryKey${
|
|
1859
|
+
`categoryKey${w}`
|
|
1860
1860
|
))
|
|
1861
1861
|
] });
|
|
1862
1862
|
};
|
|
@@ -1871,35 +1871,35 @@ y0.propTypes = {
|
|
|
1871
1871
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1872
1872
|
activeIndicatorType: e.string
|
|
1873
1873
|
};
|
|
1874
|
-
const v0 = "_langSelector_o9enq_2", x0 = "_currentLang_o9enq_14", w0 = "_arrow_o9enq_26", N0 = "_prevImg_o9enq_29", k0 = "_langMenu_o9enq_33",
|
|
1874
|
+
const v0 = "_langSelector_o9enq_2", x0 = "_currentLang_o9enq_14", w0 = "_arrow_o9enq_26", N0 = "_prevImg_o9enq_29", k0 = "_langMenu_o9enq_33", se = {
|
|
1875
1875
|
langSelector: v0,
|
|
1876
1876
|
currentLang: x0,
|
|
1877
1877
|
arrow: w0,
|
|
1878
1878
|
prevImg: N0,
|
|
1879
1879
|
langMenu: k0
|
|
1880
1880
|
}, B0 = ({ langs: n, arrow: d, imgPrev: i }) => {
|
|
1881
|
-
const [o, t] =
|
|
1881
|
+
const [o, t] = T(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1882
1882
|
r.changeLanguage(c), t(!1);
|
|
1883
1883
|
};
|
|
1884
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1884
|
+
return /* @__PURE__ */ p("div", { className: se.langSelector, children: [
|
|
1885
1885
|
/* @__PURE__ */ p(
|
|
1886
1886
|
"div",
|
|
1887
1887
|
{
|
|
1888
|
-
className:
|
|
1888
|
+
className: se.currentLang,
|
|
1889
1889
|
onClick: () => {
|
|
1890
1890
|
t(!o);
|
|
1891
1891
|
},
|
|
1892
1892
|
children: [
|
|
1893
|
-
i && /* @__PURE__ */ s("img", { className:
|
|
1893
|
+
i && /* @__PURE__ */ s("img", { className: se.prevImg, src: i }),
|
|
1894
1894
|
(a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
|
|
1895
|
-
/* @__PURE__ */ s("img", { src: d, className:
|
|
1895
|
+
/* @__PURE__ */ s("img", { src: d, className: se.arrow })
|
|
1896
1896
|
]
|
|
1897
1897
|
}
|
|
1898
1898
|
),
|
|
1899
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
1899
|
+
o && /* @__PURE__ */ s("div", { className: se.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1900
1900
|
"button",
|
|
1901
1901
|
{
|
|
1902
|
-
className: (a == null ? void 0 : a.code) == c.code ?
|
|
1902
|
+
className: (a == null ? void 0 : a.code) == c.code ? se.active : "",
|
|
1903
1903
|
onClick: () => l(c.code),
|
|
1904
1904
|
children: c.title
|
|
1905
1905
|
},
|
|
@@ -1969,8 +1969,8 @@ const S0 = "_legendContainer_qs4x9_3", $0 = "_closeButton_qs4x9_31", D0 = "_titl
|
|
|
1969
1969
|
children: [
|
|
1970
1970
|
/* @__PURE__ */ s("button", { className: L.closeButton, onClick: c }),
|
|
1971
1971
|
d && /* @__PURE__ */ s("div", { className: L.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1972
|
-
i && i.length > 0 && /* @__PURE__ */ s("div", { className: L.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title:
|
|
1973
|
-
/* @__PURE__ */ s("h3", { className: L.title, children: `${
|
|
1972
|
+
i && i.length > 0 && /* @__PURE__ */ s("div", { className: L.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: h, value: g }) => /* @__PURE__ */ p("li", { children: [
|
|
1973
|
+
/* @__PURE__ */ s("h3", { className: L.title, children: `${h}:` }),
|
|
1974
1974
|
/* @__PURE__ */ p("span", { className: L.value, children: [
|
|
1975
1975
|
" ",
|
|
1976
1976
|
g
|
|
@@ -2006,7 +2006,7 @@ const S0 = "_legendContainer_qs4x9_3", $0 = "_closeButton_qs4x9_31", D0 = "_titl
|
|
|
2006
2006
|
] })
|
|
2007
2007
|
] })
|
|
2008
2008
|
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: L.gridContainer, children: o.map(
|
|
2009
|
-
({ title:
|
|
2009
|
+
({ title: h, color: g }) => /* @__PURE__ */ p("div", { className: L.elementLegendContainer, children: [
|
|
2010
2010
|
/* @__PURE__ */ s(
|
|
2011
2011
|
"div",
|
|
2012
2012
|
{
|
|
@@ -2015,7 +2015,7 @@ const S0 = "_legendContainer_qs4x9_3", $0 = "_closeButton_qs4x9_31", D0 = "_titl
|
|
|
2015
2015
|
}
|
|
2016
2016
|
),
|
|
2017
2017
|
/* @__PURE__ */ p("div", { className: L.titleLegendElement, children: [
|
|
2018
|
-
u(
|
|
2018
|
+
u(h),
|
|
2019
2019
|
" "
|
|
2020
2020
|
] })
|
|
2021
2021
|
] }, d)
|
|
@@ -2092,17 +2092,17 @@ const U0 = ({
|
|
|
2092
2092
|
interactiveLayers: l = [],
|
|
2093
2093
|
popUp: c = !1,
|
|
2094
2094
|
sources: u = [],
|
|
2095
|
-
layers:
|
|
2095
|
+
layers: h = []
|
|
2096
2096
|
}) => {
|
|
2097
|
-
const g =
|
|
2097
|
+
const g = te(), [_, v] = T(null), m = $t((f) => f.mapState.showTexts);
|
|
2098
2098
|
return M(() => {
|
|
2099
2099
|
if (g.current) {
|
|
2100
2100
|
const f = g.current.getMap();
|
|
2101
2101
|
f.getStyle().layers.map((b) => {
|
|
2102
|
-
b.type == "symbol" && b.id != "professionals" && (
|
|
2102
|
+
b.type == "symbol" && b.id != "professionals" && (m ? f.setLayoutProperty(b.id, "visibility", "visible") : f.setLayoutProperty(b.id, "visibility", "none"));
|
|
2103
2103
|
});
|
|
2104
2104
|
}
|
|
2105
|
-
}, [
|
|
2105
|
+
}, [m]), /* @__PURE__ */ s("div", { className: `${H0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2106
2106
|
Mt,
|
|
2107
2107
|
{
|
|
2108
2108
|
initialViewState: n,
|
|
@@ -2118,7 +2118,7 @@ const U0 = ({
|
|
|
2118
2118
|
Lt,
|
|
2119
2119
|
{
|
|
2120
2120
|
...f,
|
|
2121
|
-
children:
|
|
2121
|
+
children: h.length && h.map((b, y) => {
|
|
2122
2122
|
if (b.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2123
2123
|
Tt,
|
|
2124
2124
|
{
|
|
@@ -2220,16 +2220,16 @@ const G0 = "_mapContainer_b0pyr_3", W0 = {
|
|
|
2220
2220
|
interactiveLayers: l = [],
|
|
2221
2221
|
sources: c = [],
|
|
2222
2222
|
layers: u = [],
|
|
2223
|
-
filters:
|
|
2223
|
+
filters: h,
|
|
2224
2224
|
popUpParams: g,
|
|
2225
2225
|
onClosePopUp: _,
|
|
2226
2226
|
showTexts: v
|
|
2227
2227
|
}) => {
|
|
2228
|
-
console.log(
|
|
2229
|
-
const
|
|
2228
|
+
console.log(h);
|
|
2229
|
+
const m = te();
|
|
2230
2230
|
return M(() => {
|
|
2231
|
-
if (
|
|
2232
|
-
const f =
|
|
2231
|
+
if (m.current) {
|
|
2232
|
+
const f = m.current.getMap();
|
|
2233
2233
|
f.getStyle().layers.map((b) => {
|
|
2234
2234
|
b.type == "symbol" && b.id != "professionals" && (v ? f.setLayoutProperty(b.id, "visibility", "visible") : f.setLayoutProperty(b.id, "visibility", "none"));
|
|
2235
2235
|
});
|
|
@@ -2244,7 +2244,7 @@ const G0 = "_mapContainer_b0pyr_3", W0 = {
|
|
|
2244
2244
|
{
|
|
2245
2245
|
mapLib: we,
|
|
2246
2246
|
initialViewState: n,
|
|
2247
|
-
ref:
|
|
2247
|
+
ref: m,
|
|
2248
2248
|
hash: !1,
|
|
2249
2249
|
maxZoom: d,
|
|
2250
2250
|
minZoom: i,
|
|
@@ -2262,7 +2262,7 @@ const G0 = "_mapContainer_b0pyr_3", W0 = {
|
|
|
2262
2262
|
{
|
|
2263
2263
|
...b.layer,
|
|
2264
2264
|
beforeId: t,
|
|
2265
|
-
filter:
|
|
2265
|
+
filter: h && h
|
|
2266
2266
|
},
|
|
2267
2267
|
y
|
|
2268
2268
|
);
|
|
@@ -2327,7 +2327,7 @@ J0.propTypes = {
|
|
|
2327
2327
|
popUpParams: e.object,
|
|
2328
2328
|
onClosePopUp: e.func
|
|
2329
2329
|
};
|
|
2330
|
-
const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textContainer_1egwc_20", on = "_title_1egwc_27", sn = "_subtitle_1egwc_33", rn = "_rightContent_1egwc_38",
|
|
2330
|
+
const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textContainer_1egwc_20", on = "_title_1egwc_27", sn = "_subtitle_1egwc_33", rn = "_rightContent_1egwc_38", Q = {
|
|
2331
2331
|
sectionBar: en,
|
|
2332
2332
|
leftContent: tn,
|
|
2333
2333
|
textContainer: nn,
|
|
@@ -2343,15 +2343,15 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2343
2343
|
width: r
|
|
2344
2344
|
}) => {
|
|
2345
2345
|
const { t: a } = k();
|
|
2346
|
-
return /* @__PURE__ */ p("div", { className:
|
|
2347
|
-
/* @__PURE__ */ p("div", { className:
|
|
2348
|
-
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className:
|
|
2349
|
-
/* @__PURE__ */ p("div", { className:
|
|
2350
|
-
/* @__PURE__ */ s("div", { className:
|
|
2351
|
-
i && /* @__PURE__ */ s("div", { className:
|
|
2346
|
+
return /* @__PURE__ */ p("div", { className: Q.sectionBar, style: { width: r && r }, children: [
|
|
2347
|
+
/* @__PURE__ */ p("div", { className: Q.leftContent, children: [
|
|
2348
|
+
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: Q.icon }),
|
|
2349
|
+
/* @__PURE__ */ p("div", { className: Q.textContainer, children: [
|
|
2350
|
+
/* @__PURE__ */ s("div", { className: Q.title, children: a(d) }),
|
|
2351
|
+
i && /* @__PURE__ */ s("div", { className: Q.subtitle, children: i })
|
|
2352
2352
|
] })
|
|
2353
2353
|
] }),
|
|
2354
|
-
/* @__PURE__ */ s("div", { className:
|
|
2354
|
+
/* @__PURE__ */ s("div", { className: Q.rightContent, children: o })
|
|
2355
2355
|
] });
|
|
2356
2356
|
}, an = Pt({
|
|
2357
2357
|
name: "mapSlice",
|
|
@@ -2385,28 +2385,28 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2385
2385
|
sliderOpen: pn,
|
|
2386
2386
|
sliderResults: mn
|
|
2387
2387
|
}, hn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2388
|
-
const [a, l] =
|
|
2388
|
+
const [a, l] = T(d), c = Dt(), u = (b, y) => {
|
|
2389
2389
|
l(y), c($e(y - 2e3));
|
|
2390
|
-
}, [
|
|
2390
|
+
}, [h, g] = T(!1), _ = () => {
|
|
2391
2391
|
g(!0);
|
|
2392
2392
|
}, v = () => {
|
|
2393
2393
|
g(!1);
|
|
2394
2394
|
};
|
|
2395
2395
|
((b, y) => {
|
|
2396
|
-
const
|
|
2396
|
+
const N = te();
|
|
2397
2397
|
M(() => {
|
|
2398
|
-
|
|
2398
|
+
N.current = b;
|
|
2399
2399
|
}, [b]), M(() => {
|
|
2400
2400
|
function x() {
|
|
2401
|
-
|
|
2401
|
+
N.current();
|
|
2402
2402
|
}
|
|
2403
2403
|
{
|
|
2404
|
-
let
|
|
2405
|
-
return () => clearInterval(
|
|
2404
|
+
let w = setInterval(x, y);
|
|
2405
|
+
return () => clearInterval(w);
|
|
2406
2406
|
}
|
|
2407
2407
|
}, [y]);
|
|
2408
2408
|
})(() => {
|
|
2409
|
-
|
|
2409
|
+
h && (a != 2050 ? (l(a + 1), c($e(a - 2e3 + 1))) : (l(2025), c($e(25))));
|
|
2410
2410
|
}, 1e3);
|
|
2411
2411
|
const f = zt({
|
|
2412
2412
|
palette: {
|
|
@@ -2460,8 +2460,8 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2460
2460
|
}
|
|
2461
2461
|
),
|
|
2462
2462
|
o,
|
|
2463
|
-
!
|
|
2464
|
-
|
|
2463
|
+
!h && /* @__PURE__ */ s("button", { className: ue.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: ln, alt: "Play" }) }),
|
|
2464
|
+
h && /* @__PURE__ */ s("button", { className: ue.playButton, onClick: v, children: /* @__PURE__ */ s("img", { src: cn, alt: "Pause" }) })
|
|
2465
2465
|
]
|
|
2466
2466
|
}
|
|
2467
2467
|
) });
|
|
@@ -2557,7 +2557,7 @@ const xn = "_elementSelector_fd7az_2", wn = "_header_fd7az_13", Nn = "_nameDateC
|
|
|
2557
2557
|
buttonsContainer: Sn,
|
|
2558
2558
|
elementListContainer: $n,
|
|
2559
2559
|
newElementButtonContainer: Dn
|
|
2560
|
-
}, Mn = "_listElement_1s506_2", Ln = "_elementNameDate_1s506_17", Tn = "_elementNameContainer_1s506_27", Fn = "_elementName_1s506_17", Vn = "_elementDate_1s506_42", An = "_elementButtons_1s506_45", In = "_moreInfoContainer_1s506_68", On = "_moreInfo_1s506_68",
|
|
2560
|
+
}, Mn = "_listElement_1s506_2", Ln = "_elementNameDate_1s506_17", Tn = "_elementNameContainer_1s506_27", Fn = "_elementName_1s506_17", Vn = "_elementDate_1s506_42", An = "_elementButtons_1s506_45", In = "_moreInfoContainer_1s506_68", On = "_moreInfo_1s506_68", E = {
|
|
2561
2561
|
listElement: Mn,
|
|
2562
2562
|
elementNameDate: Ln,
|
|
2563
2563
|
elementNameContainer: Tn,
|
|
@@ -2579,16 +2579,16 @@ function Oe() {
|
|
|
2579
2579
|
}, Oe.apply(null, arguments);
|
|
2580
2580
|
}
|
|
2581
2581
|
var zn = function(d) {
|
|
2582
|
-
return /* @__PURE__ */
|
|
2582
|
+
return /* @__PURE__ */ le.createElement("svg", Oe({
|
|
2583
2583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2584
2584
|
width: 26,
|
|
2585
2585
|
height: 14,
|
|
2586
2586
|
fill: "none"
|
|
2587
|
-
}, d), Xe || (Xe = /* @__PURE__ */
|
|
2587
|
+
}, d), Xe || (Xe = /* @__PURE__ */ le.createElement("g", {
|
|
2588
2588
|
fill: "currentColor"
|
|
2589
|
-
}, /* @__PURE__ */
|
|
2589
|
+
}, /* @__PURE__ */ le.createElement("path", {
|
|
2590
2590
|
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"
|
|
2591
|
-
}), /* @__PURE__ */
|
|
2591
|
+
}), /* @__PURE__ */ le.createElement("path", {
|
|
2592
2592
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2593
2593
|
}))));
|
|
2594
2594
|
};
|
|
@@ -2603,17 +2603,17 @@ const Zn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2603
2603
|
elementButtons: l,
|
|
2604
2604
|
processTooltip: c,
|
|
2605
2605
|
defaultTooltip: u,
|
|
2606
|
-
showEye:
|
|
2606
|
+
showEye: h = !0
|
|
2607
2607
|
}) => {
|
|
2608
|
-
const { nom: g, created_at: _, id: v, isBeingProcessed:
|
|
2608
|
+
const { nom: g, created_at: _, id: v, isBeingProcessed: m } = n, [f, C] = T(!1), { t: b } = k();
|
|
2609
2609
|
return /* @__PURE__ */ p(
|
|
2610
2610
|
"div",
|
|
2611
2611
|
{
|
|
2612
|
-
className:
|
|
2612
|
+
className: E.listElement,
|
|
2613
2613
|
style: { borderBottom: `1px solid ${t}` },
|
|
2614
2614
|
children: [
|
|
2615
|
-
/* @__PURE__ */ s("div", { className:
|
|
2616
|
-
|
|
2615
|
+
/* @__PURE__ */ s("div", { className: E.elementNameDate, onClick: () => d(v), children: Object.keys(a).map((y) => y === "nom" ? /* @__PURE__ */ s("div", { className: E.elementNameContainer, children: /* @__PURE__ */ p("div", { className: E.elementName, children: [
|
|
2616
|
+
h && (i ? /* @__PURE__ */ s(zn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2617
2617
|
"img",
|
|
2618
2618
|
{
|
|
2619
2619
|
style: { marginRight: 9 },
|
|
@@ -2622,36 +2622,36 @@ const Zn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2622
2622
|
}
|
|
2623
2623
|
)),
|
|
2624
2624
|
/* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: g })
|
|
2625
|
-
] }) }) : y == "data" ? /* @__PURE__ */ s("div", { className:
|
|
2626
|
-
/* @__PURE__ */ p("div", { className:
|
|
2625
|
+
] }) }) : y == "data" ? /* @__PURE__ */ s("div", { className: E.elementDate, children: _ ? new Date(_).toLocaleDateString() : "" }) : /* @__PURE__ */ s("div", { className: E.elementDate, children: n[y] })) }),
|
|
2626
|
+
/* @__PURE__ */ p("div", { className: E.elementButtons, children: [
|
|
2627
2627
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2628
2628
|
/* @__PURE__ */ s("img", { src: Pn }),
|
|
2629
|
-
/* @__PURE__ */ s(
|
|
2629
|
+
/* @__PURE__ */ s(ee, { text: c, position: "left" })
|
|
2630
2630
|
] }),
|
|
2631
2631
|
l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2632
2632
|
/* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: En }) }),
|
|
2633
|
-
/* @__PURE__ */ s(
|
|
2633
|
+
/* @__PURE__ */ s(ee, { text: l.filter.tooltiptext, position: "left" })
|
|
2634
2634
|
] }),
|
|
2635
2635
|
l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2636
2636
|
/* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: qn }) }),
|
|
2637
|
-
/* @__PURE__ */ s(
|
|
2637
|
+
/* @__PURE__ */ s(ee, { text: l.copy.tooltiptext, position: "left" })
|
|
2638
2638
|
] }),
|
|
2639
2639
|
l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2640
2640
|
/* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Rn }) }),
|
|
2641
|
-
/* @__PURE__ */ s(
|
|
2641
|
+
/* @__PURE__ */ s(ee, { text: l.trash.tooltiptext, position: "left" })
|
|
2642
2642
|
] }),
|
|
2643
2643
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2644
2644
|
/* @__PURE__ */ s("img", { src: jn }),
|
|
2645
|
-
/* @__PURE__ */ s(
|
|
2645
|
+
/* @__PURE__ */ s(ee, { text: u, position: "left" })
|
|
2646
2646
|
] })
|
|
2647
2647
|
] }),
|
|
2648
|
-
r && /* @__PURE__ */ s("div", { className:
|
|
2649
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2650
|
-
/* @__PURE__ */ p("div", { className:
|
|
2648
|
+
r && /* @__PURE__ */ s("div", { className: E.break }),
|
|
2649
|
+
r && /* @__PURE__ */ p("div", { className: E.moreInfoContainer, children: [
|
|
2650
|
+
/* @__PURE__ */ p("div", { className: E.moreInfo, onClick: () => C(!f), children: [
|
|
2651
2651
|
/* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
|
|
2652
2652
|
b(r.label)
|
|
2653
2653
|
] }),
|
|
2654
|
-
r && f && /* @__PURE__ */ s("div", { className:
|
|
2654
|
+
r && f && /* @__PURE__ */ s("div", { className: E.moreInfoInfo, children: n[r.info] })
|
|
2655
2655
|
] })
|
|
2656
2656
|
]
|
|
2657
2657
|
}
|
|
@@ -2702,12 +2702,12 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2702
2702
|
containerStyles: r = {},
|
|
2703
2703
|
newElementButton: a,
|
|
2704
2704
|
//{label: 'text', onClick: function(), disabled}/null
|
|
2705
|
-
onClickElement: l = (
|
|
2705
|
+
onClickElement: l = (m) => console.log(`OnCLickElement: ${m}`),
|
|
2706
2706
|
columns: c,
|
|
2707
2707
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2708
2708
|
elementButtons: u,
|
|
2709
2709
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2710
|
-
moreInfo:
|
|
2710
|
+
moreInfo: h = !1,
|
|
2711
2711
|
//{label: 'x'}
|
|
2712
2712
|
processTooltip: g,
|
|
2713
2713
|
//texto para el tooltip del simbolo "En proceso"
|
|
@@ -2715,14 +2715,14 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2715
2715
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2716
2716
|
showEye: v = !0
|
|
2717
2717
|
}) => {
|
|
2718
|
-
const { t:
|
|
2718
|
+
const { t: m } = k(), [f, C] = T(n);
|
|
2719
2719
|
M(() => {
|
|
2720
2720
|
n && C(n);
|
|
2721
2721
|
}, [n]);
|
|
2722
2722
|
const b = (y) => {
|
|
2723
2723
|
if (f && f.length > 0) {
|
|
2724
|
-
let
|
|
2725
|
-
|
|
2724
|
+
let N = [...f];
|
|
2725
|
+
N.sort((x, w) => x[y].localeCompare(w[y])), C(N);
|
|
2726
2726
|
}
|
|
2727
2727
|
};
|
|
2728
2728
|
return /* @__PURE__ */ p(
|
|
@@ -2738,12 +2738,12 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2738
2738
|
style: { borderBottom: `1px solid ${i}` },
|
|
2739
2739
|
children: [
|
|
2740
2740
|
/* @__PURE__ */ s("div", { className: Z.nameDateContainer, children: Object.keys(c).map((y) => y === "nom" ? /* @__PURE__ */ s("div", { className: Z.elementName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
2741
|
-
/* @__PURE__ */ s("span", { children:
|
|
2741
|
+
/* @__PURE__ */ s("span", { children: m(c.nom) }),
|
|
2742
2742
|
/* @__PURE__ */ s("img", { src: Je, alt: "order arrow" })
|
|
2743
2743
|
] }) }, y) : y === "data" ? /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
2744
|
-
/* @__PURE__ */ s("span", { children:
|
|
2744
|
+
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2745
2745
|
/* @__PURE__ */ s("img", { src: Je, alt: "order arrow" })
|
|
2746
|
-
] }) }, y) : /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ s("span", { children:
|
|
2746
|
+
] }) }, y) : /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ s("span", { children: m(c[y]) }) }, y)) }),
|
|
2747
2747
|
/* @__PURE__ */ s("div", { className: Z.buttonsContainer })
|
|
2748
2748
|
]
|
|
2749
2749
|
}
|
|
@@ -2758,7 +2758,7 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2758
2758
|
onClickElement: l,
|
|
2759
2759
|
columns: c,
|
|
2760
2760
|
elementButtons: u,
|
|
2761
|
-
moreInfo:
|
|
2761
|
+
moreInfo: h,
|
|
2762
2762
|
processTooltip: g,
|
|
2763
2763
|
defaultTooltip: _,
|
|
2764
2764
|
showEye: v
|
|
@@ -2766,13 +2766,13 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2766
2766
|
`elementKey${y.id}`
|
|
2767
2767
|
)) }),
|
|
2768
2768
|
a && /* @__PURE__ */ s("div", { className: Z.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2769
|
-
|
|
2769
|
+
ve,
|
|
2770
2770
|
{
|
|
2771
2771
|
style: { ...t },
|
|
2772
2772
|
onClick: a.onClick,
|
|
2773
2773
|
borderColor: "grey",
|
|
2774
2774
|
disabled: a.disabled || !1,
|
|
2775
|
-
children:
|
|
2775
|
+
children: m(a.label)
|
|
2776
2776
|
}
|
|
2777
2777
|
) })
|
|
2778
2778
|
]
|
|
@@ -2900,7 +2900,7 @@ var r1 = (n, d, i, o = !0) => {
|
|
|
2900
2900
|
});
|
|
2901
2901
|
return t;
|
|
2902
2902
|
};
|
|
2903
|
-
const xt = typeof window < "u" ?
|
|
2903
|
+
const xt = typeof window < "u" ? le.useLayoutEffect : le.useEffect;
|
|
2904
2904
|
function a1(n) {
|
|
2905
2905
|
const d = ze(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = $.useState(i._formState), c = $.useRef({
|
|
2906
2906
|
isDirty: !1,
|
|
@@ -2935,7 +2935,7 @@ function d1(n) {
|
|
|
2935
2935
|
values: !0
|
|
2936
2936
|
},
|
|
2937
2937
|
exact: a,
|
|
2938
|
-
callback: (
|
|
2938
|
+
callback: (h) => !r && u(c1(o, i._names, h.values || i._formValues, !1, l.current))
|
|
2939
2939
|
}), [o, i, r, a]), $.useEffect(() => i._removeUnmounted()), c;
|
|
2940
2940
|
}
|
|
2941
2941
|
function u1(n) {
|
|
@@ -2948,7 +2948,7 @@ function u1(n) {
|
|
|
2948
2948
|
control: t,
|
|
2949
2949
|
name: i,
|
|
2950
2950
|
exact: !0
|
|
2951
|
-
}), u = $.useRef(n),
|
|
2951
|
+
}), u = $.useRef(n), h = $.useRef(t.register(i, {
|
|
2952
2952
|
...n.rules,
|
|
2953
2953
|
value: l,
|
|
2954
2954
|
...Me(n.disabled) ? { disabled: n.disabled } : {}
|
|
@@ -2973,19 +2973,19 @@ function u1(n) {
|
|
|
2973
2973
|
enumerable: !0,
|
|
2974
2974
|
get: () => I(c.errors, i)
|
|
2975
2975
|
}
|
|
2976
|
-
}), [c, i]), _ = $.useCallback((C) =>
|
|
2976
|
+
}), [c, i]), _ = $.useCallback((C) => h.current.onChange({
|
|
2977
2977
|
target: {
|
|
2978
2978
|
value: e1(C),
|
|
2979
2979
|
name: i
|
|
2980
2980
|
},
|
|
2981
2981
|
type: tt.CHANGE
|
|
2982
|
-
}), [i]), v = $.useCallback(() =>
|
|
2982
|
+
}), [i]), v = $.useCallback(() => h.current.onBlur({
|
|
2983
2983
|
target: {
|
|
2984
2984
|
value: I(t._formValues, i),
|
|
2985
2985
|
name: i
|
|
2986
2986
|
},
|
|
2987
2987
|
type: tt.BLUR
|
|
2988
|
-
}), [i, t._formValues]),
|
|
2988
|
+
}), [i, t._formValues]), m = $.useCallback((C) => {
|
|
2989
2989
|
const b = I(t._fields, i);
|
|
2990
2990
|
b && C && (b._f.ref = {
|
|
2991
2991
|
focus: () => C.focus && C.focus(),
|
|
@@ -2999,17 +2999,17 @@ function u1(n) {
|
|
|
2999
2999
|
...Me(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3000
3000
|
onChange: _,
|
|
3001
3001
|
onBlur: v,
|
|
3002
|
-
ref:
|
|
3003
|
-
}), [i, o, c.disabled, _, v,
|
|
3002
|
+
ref: m
|
|
3003
|
+
}), [i, o, c.disabled, _, v, m, l]);
|
|
3004
3004
|
return $.useEffect(() => {
|
|
3005
3005
|
const C = t._options.shouldUnregister || r;
|
|
3006
3006
|
t.register(i, {
|
|
3007
3007
|
...u.current.rules,
|
|
3008
3008
|
...Me(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3009
3009
|
});
|
|
3010
|
-
const b = (y,
|
|
3010
|
+
const b = (y, N) => {
|
|
3011
3011
|
const x = I(t._fields, y);
|
|
3012
|
-
x && x._f && (x._f.mount =
|
|
3012
|
+
x && x._f && (x._f.mount = N);
|
|
3013
3013
|
};
|
|
3014
3014
|
if (b(i, !0), C) {
|
|
3015
3015
|
const y = bt(I(t._options.defaultValues, i));
|
|
@@ -3029,9 +3029,9 @@ function u1(n) {
|
|
|
3029
3029
|
fieldState: g
|
|
3030
3030
|
}), [f, c, g]);
|
|
3031
3031
|
}
|
|
3032
|
-
const
|
|
3032
|
+
const xe = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
3033
3033
|
errorMessage: p1
|
|
3034
|
-
},
|
|
3034
|
+
}, Ce = ({
|
|
3035
3035
|
errorMessage: n,
|
|
3036
3036
|
errorColor: d = "red",
|
|
3037
3037
|
containerStyles: i
|
|
@@ -3055,27 +3055,27 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3055
3055
|
validateFunction: l,
|
|
3056
3056
|
placeholder: c,
|
|
3057
3057
|
errorColor: u = "red",
|
|
3058
|
-
width:
|
|
3058
|
+
width: h = 325,
|
|
3059
3059
|
onClickForgotPass: g = () => {
|
|
3060
3060
|
console.log("Click on forgot password");
|
|
3061
3061
|
},
|
|
3062
3062
|
forgotPassLabel: _ = "forgot-password"
|
|
3063
|
-
} = n, { t: v } = k(), { control:
|
|
3063
|
+
} = n, { t: v } = k(), { control: m, trigger: f, clearErrors: C } = d, [b, y] = T(!1), N = te(a);
|
|
3064
3064
|
M(() => {
|
|
3065
|
-
|
|
3065
|
+
N.current !== a && (a ? f(i) : C(i), N.current = a);
|
|
3066
3066
|
}, [a, i, f, C]);
|
|
3067
3067
|
const x = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3068
3068
|
return /* @__PURE__ */ s(
|
|
3069
|
-
|
|
3069
|
+
xe,
|
|
3070
3070
|
{
|
|
3071
3071
|
name: i,
|
|
3072
|
-
control:
|
|
3072
|
+
control: m,
|
|
3073
3073
|
rules: {
|
|
3074
3074
|
required: a ? `${v(t)} ${v("errorMessages.required")}` : !1,
|
|
3075
3075
|
maxLength: r || void 0,
|
|
3076
3076
|
validate: l || void 0
|
|
3077
3077
|
},
|
|
3078
|
-
render: ({ field:
|
|
3078
|
+
render: ({ field: w, fieldState: B }) => {
|
|
3079
3079
|
var S;
|
|
3080
3080
|
return /* @__PURE__ */ p("div", { className: me.textInputContainer, children: [
|
|
3081
3081
|
/* @__PURE__ */ p("h3", { className: me.labelContainer, children: [
|
|
@@ -3086,14 +3086,14 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3086
3086
|
/* @__PURE__ */ p(
|
|
3087
3087
|
"div",
|
|
3088
3088
|
{
|
|
3089
|
-
style: { position: "relative", width:
|
|
3089
|
+
style: { position: "relative", width: h },
|
|
3090
3090
|
className: me.inputContainer,
|
|
3091
3091
|
children: [
|
|
3092
3092
|
/* @__PURE__ */ s(
|
|
3093
3093
|
"input",
|
|
3094
3094
|
{
|
|
3095
3095
|
type: x(),
|
|
3096
|
-
...
|
|
3096
|
+
...w,
|
|
3097
3097
|
placeholder: c ? v(c) : "",
|
|
3098
3098
|
maxLength: r || void 0
|
|
3099
3099
|
}
|
|
@@ -3112,7 +3112,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3112
3112
|
),
|
|
3113
3113
|
o == "password" && /* @__PURE__ */ s("div", { className: me.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: v(_) }) }),
|
|
3114
3114
|
/* @__PURE__ */ s(
|
|
3115
|
-
|
|
3115
|
+
Ce,
|
|
3116
3116
|
{
|
|
3117
3117
|
errorMessage: (S = B.error) == null ? void 0 : S.message,
|
|
3118
3118
|
errorColor: u
|
|
@@ -3126,9 +3126,9 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3126
3126
|
formContainer: h1,
|
|
3127
3127
|
formObjectContainer: g1,
|
|
3128
3128
|
buttonContainer: C1
|
|
3129
|
-
}, f1 = "_inputsContainer_10t9s_2",
|
|
3129
|
+
}, f1 = "_inputsContainer_10t9s_2", re = {
|
|
3130
3130
|
inputsContainer: f1
|
|
3131
|
-
}, b1 = "_selectInputContainer_1rj0h_2", _1 = "_labelContainer_1rj0h_6", y1 = "_inputContainer_1rj0h_9", v1 = "_selectInput_1rj0h_2", x1 = "_option_1rj0h_23", w1 = "_dropdownArrow_1rj0h_26",
|
|
3131
|
+
}, b1 = "_selectInputContainer_1rj0h_2", _1 = "_labelContainer_1rj0h_6", y1 = "_inputContainer_1rj0h_9", v1 = "_selectInput_1rj0h_2", x1 = "_option_1rj0h_23", w1 = "_dropdownArrow_1rj0h_26", ae = {
|
|
3132
3132
|
selectInputContainer: b1,
|
|
3133
3133
|
labelContainer: _1,
|
|
3134
3134
|
inputContainer: y1,
|
|
@@ -3145,13 +3145,13 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3145
3145
|
validateFunction: l,
|
|
3146
3146
|
placeholder: c,
|
|
3147
3147
|
errorColor: u = "red",
|
|
3148
|
-
width:
|
|
3148
|
+
width: h = 325,
|
|
3149
3149
|
options: g = []
|
|
3150
|
-
} = n, { t: _ } = k(), { control: v, trigger:
|
|
3150
|
+
} = n, { t: _ } = k(), { control: v, trigger: m, clearErrors: f } = d, C = te(a);
|
|
3151
3151
|
return M(() => {
|
|
3152
|
-
C.current !== a && (a ?
|
|
3153
|
-
}, [a, i,
|
|
3154
|
-
|
|
3152
|
+
C.current !== a && (a ? m(i) : f(i), C.current = a);
|
|
3153
|
+
}, [a, i, m, f]), /* @__PURE__ */ s(
|
|
3154
|
+
xe,
|
|
3155
3155
|
{
|
|
3156
3156
|
name: i,
|
|
3157
3157
|
control: v,
|
|
@@ -3160,33 +3160,33 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3160
3160
|
validate: l || void 0
|
|
3161
3161
|
},
|
|
3162
3162
|
render: ({ field: b, fieldState: y }) => {
|
|
3163
|
-
var
|
|
3164
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3165
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3163
|
+
var N;
|
|
3164
|
+
return /* @__PURE__ */ p("div", { className: ae.selectInputContainer, children: [
|
|
3165
|
+
/* @__PURE__ */ p("h3", { className: ae.labelContainer, children: [
|
|
3166
3166
|
_(t),
|
|
3167
3167
|
" ",
|
|
3168
3168
|
a && /* @__PURE__ */ s("label", { style: { color: y.error ? u : "" }, children: "*" })
|
|
3169
3169
|
] }),
|
|
3170
|
-
/* @__PURE__ */ p("div", { className:
|
|
3170
|
+
/* @__PURE__ */ p("div", { className: ae.inputContainer, style: { width: h }, children: [
|
|
3171
3171
|
/* @__PURE__ */ p(
|
|
3172
3172
|
"select",
|
|
3173
3173
|
{
|
|
3174
3174
|
...b,
|
|
3175
3175
|
onChange: (x) => {
|
|
3176
|
-
const
|
|
3176
|
+
const w = x.target.value, B = g.every((S) => typeof S.value == "number") ? Number(w) : w;
|
|
3177
3177
|
b.onChange(B);
|
|
3178
3178
|
},
|
|
3179
|
-
className:
|
|
3179
|
+
className: ae.selectInput,
|
|
3180
3180
|
children: [
|
|
3181
3181
|
/* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
|
|
3182
|
-
g.map((x,
|
|
3182
|
+
g.map((x, w) => /* @__PURE__ */ s(
|
|
3183
3183
|
"option",
|
|
3184
3184
|
{
|
|
3185
3185
|
value: x.value,
|
|
3186
|
-
className:
|
|
3186
|
+
className: ae.option,
|
|
3187
3187
|
children: _(x.label)
|
|
3188
3188
|
},
|
|
3189
|
-
|
|
3189
|
+
w
|
|
3190
3190
|
))
|
|
3191
3191
|
]
|
|
3192
3192
|
}
|
|
@@ -3196,14 +3196,14 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3196
3196
|
{
|
|
3197
3197
|
src: N1,
|
|
3198
3198
|
alt: "Open",
|
|
3199
|
-
className:
|
|
3199
|
+
className: ae.dropdownArrow
|
|
3200
3200
|
}
|
|
3201
3201
|
)
|
|
3202
3202
|
] }),
|
|
3203
3203
|
/* @__PURE__ */ s(
|
|
3204
|
-
|
|
3204
|
+
Ce,
|
|
3205
3205
|
{
|
|
3206
|
-
errorMessage: (
|
|
3206
|
+
errorMessage: (N = y.error) == null ? void 0 : N.message,
|
|
3207
3207
|
errorColor: u
|
|
3208
3208
|
}
|
|
3209
3209
|
)
|
|
@@ -3211,7 +3211,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
3213
|
);
|
|
3214
|
-
}, B1 = "_radioButtonContainer_1e994_2", S1 = "_wholeInputContainer_1e994_5", $1 = "_questionContainer_1e994_27", D1 = "_radioQuestion_1e994_59", M1 = "_inputContainer_1e994_63", L1 = "_radioInput_1e994_93",
|
|
3214
|
+
}, B1 = "_radioButtonContainer_1e994_2", S1 = "_wholeInputContainer_1e994_5", $1 = "_questionContainer_1e994_27", D1 = "_radioQuestion_1e994_59", M1 = "_inputContainer_1e994_63", L1 = "_radioInput_1e994_93", X = {
|
|
3215
3215
|
radioButtonContainer: B1,
|
|
3216
3216
|
wholeInputContainer: S1,
|
|
3217
3217
|
questionContainer: $1,
|
|
@@ -3227,58 +3227,58 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3227
3227
|
errorColor: a = "red",
|
|
3228
3228
|
options: l = [],
|
|
3229
3229
|
multi: c = !1
|
|
3230
|
-
} = n, { t: u } = k(), { control:
|
|
3230
|
+
} = n, { t: u } = k(), { control: h, trigger: g, clearErrors: _ } = d, v = ({ options: C, onChange: b, actualValue: y }) => {
|
|
3231
3231
|
if (c && y && y.length > 0) {
|
|
3232
|
-
let
|
|
3233
|
-
b(
|
|
3232
|
+
let N = y.filter((x) => x !== C);
|
|
3233
|
+
b(N);
|
|
3234
3234
|
}
|
|
3235
|
-
},
|
|
3235
|
+
}, m = ({ options: C, onChange: b, actualValue: y }) => {
|
|
3236
3236
|
c ? y && y.length > 0 ? b([...y, C]) : b([C]) : b(C);
|
|
3237
|
-
}, f =
|
|
3237
|
+
}, f = te(t);
|
|
3238
3238
|
return M(() => {
|
|
3239
3239
|
f.current !== t && (t ? g(i) : _(i), f.current = t);
|
|
3240
3240
|
}, [t, i, g, _]), /* @__PURE__ */ s(
|
|
3241
|
-
|
|
3241
|
+
xe,
|
|
3242
3242
|
{
|
|
3243
|
-
control:
|
|
3243
|
+
control: h,
|
|
3244
3244
|
name: i,
|
|
3245
3245
|
rules: {
|
|
3246
3246
|
validate: (C) => t && (C == null || C === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3247
3247
|
},
|
|
3248
3248
|
render: ({
|
|
3249
3249
|
formState: { errors: C },
|
|
3250
|
-
field: { onChange: b, onBlur: y, value:
|
|
3251
|
-
fieldState:
|
|
3250
|
+
field: { onChange: b, onBlur: y, value: N, ref: x },
|
|
3251
|
+
fieldState: w
|
|
3252
3252
|
}) => {
|
|
3253
3253
|
var B;
|
|
3254
|
-
return /* @__PURE__ */ s("div", { id: i + "id", className:
|
|
3255
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
3254
|
+
return /* @__PURE__ */ s("div", { id: i + "id", className: X.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: X.wholeInputContainer, children: [
|
|
3255
|
+
o && /* @__PURE__ */ s("div", { className: X.questionContainer, children: /* @__PURE__ */ p(
|
|
3256
3256
|
"h3",
|
|
3257
3257
|
{
|
|
3258
3258
|
htmlFor: i + "id",
|
|
3259
|
-
className: `${
|
|
3259
|
+
className: `${X.radioQuestion} ${t && X.required}`,
|
|
3260
3260
|
children: [
|
|
3261
3261
|
u(o),
|
|
3262
3262
|
" ",
|
|
3263
3263
|
t && /* @__PURE__ */ s(
|
|
3264
3264
|
"label",
|
|
3265
3265
|
{
|
|
3266
|
-
style: { color:
|
|
3266
|
+
style: { color: w.error ? a : "" },
|
|
3267
3267
|
children: "*"
|
|
3268
3268
|
}
|
|
3269
3269
|
)
|
|
3270
3270
|
]
|
|
3271
3271
|
}
|
|
3272
3272
|
) }),
|
|
3273
|
-
/* @__PURE__ */ p("div", { className:
|
|
3273
|
+
/* @__PURE__ */ p("div", { className: X.inputContainer, children: [
|
|
3274
3274
|
l.map(
|
|
3275
3275
|
({
|
|
3276
3276
|
label: S,
|
|
3277
|
-
value:
|
|
3278
|
-
disabled:
|
|
3279
|
-
italicLabel:
|
|
3280
|
-
},
|
|
3281
|
-
const q =
|
|
3277
|
+
value: D,
|
|
3278
|
+
disabled: P = !1,
|
|
3279
|
+
italicLabel: ce
|
|
3280
|
+
}, j) => {
|
|
3281
|
+
const q = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((z) => z === D) : N === D;
|
|
3282
3282
|
return /* @__PURE__ */ p("label", { children: [
|
|
3283
3283
|
/* @__PURE__ */ s(
|
|
3284
3284
|
"input",
|
|
@@ -3287,27 +3287,27 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3287
3287
|
checked: q,
|
|
3288
3288
|
onChange: () => {
|
|
3289
3289
|
c ? q ? v({
|
|
3290
|
-
actualValue:
|
|
3290
|
+
actualValue: N,
|
|
3291
3291
|
options: l,
|
|
3292
3292
|
onChange: b
|
|
3293
|
-
}) :
|
|
3294
|
-
actualValue:
|
|
3293
|
+
}) : m({
|
|
3294
|
+
actualValue: N,
|
|
3295
3295
|
options: l,
|
|
3296
3296
|
onChange: b
|
|
3297
|
-
}) : b(
|
|
3297
|
+
}) : b(D);
|
|
3298
3298
|
},
|
|
3299
|
-
className:
|
|
3299
|
+
className: X.radioInput
|
|
3300
3300
|
}
|
|
3301
3301
|
),
|
|
3302
3302
|
/* @__PURE__ */ s("span", { className: "radio-custom" }),
|
|
3303
3303
|
u(S)
|
|
3304
|
-
] }, `inputRadio ${
|
|
3304
|
+
] }, `inputRadio ${j}`);
|
|
3305
3305
|
}
|
|
3306
3306
|
),
|
|
3307
3307
|
/* @__PURE__ */ s(
|
|
3308
|
-
|
|
3308
|
+
Ce,
|
|
3309
3309
|
{
|
|
3310
|
-
errorMessage: (B =
|
|
3310
|
+
errorMessage: (B = w.error) == null ? void 0 : B.message,
|
|
3311
3311
|
errorColor: a
|
|
3312
3312
|
}
|
|
3313
3313
|
)
|
|
@@ -3316,7 +3316,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
3318
|
);
|
|
3319
|
-
}, F1 = "
|
|
3319
|
+
}, F1 = "_rankingSliderContainer_1gn40_2", V1 = "_labelContainer_1gn40_6", A1 = "_inputContainer_1gn40_10", I1 = "_slider_1gn40_14", O1 = "_thumb_1gn40_20", R1 = "_trackLeft_1gn40_30", q1 = "_trackRight_1gn40_35", E1 = "_labels_1gn40_39", P1 = "_labelsText_1gn40_55", R = {
|
|
3320
3320
|
rankingSliderContainer: F1,
|
|
3321
3321
|
labelContainer: V1,
|
|
3322
3322
|
inputContainer: A1,
|
|
@@ -3329,90 +3329,98 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3329
3329
|
}, j1 = ({ input: n, reactHookFormInstance: d }) => {
|
|
3330
3330
|
const {
|
|
3331
3331
|
code: i,
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
trackColors: u = ["#B32F5D", "#EFEFEF"],
|
|
3332
|
+
label: o,
|
|
3333
|
+
minValue: t = 1,
|
|
3334
|
+
maxValue: r = 5,
|
|
3335
|
+
defValue: a = 3,
|
|
3336
|
+
thumbColor: l = "#B32F5D",
|
|
3337
|
+
trackColors: c = ["#B32F5D", "#EFEFEF"],
|
|
3339
3338
|
// [ LEFT, RIGHT ],
|
|
3340
|
-
required:
|
|
3341
|
-
errorColor:
|
|
3342
|
-
|
|
3339
|
+
required: u,
|
|
3340
|
+
errorColor: h = "red",
|
|
3341
|
+
labelWidth: g = "300px",
|
|
3342
|
+
sliderWidth: _ = "250px",
|
|
3343
3343
|
minText: v,
|
|
3344
|
-
maxText:
|
|
3345
|
-
} = n, { t: f } = k(), { control: C, trigger: b, clearErrors: y } = d,
|
|
3344
|
+
maxText: m
|
|
3345
|
+
} = n, { t: f } = k(), { control: C, trigger: b, clearErrors: y } = d, N = te(u);
|
|
3346
3346
|
M(() => {
|
|
3347
|
-
|
|
3348
|
-
}, [
|
|
3349
|
-
const
|
|
3347
|
+
N.current !== u && (u ? b(i) : y(i), N.current = u);
|
|
3348
|
+
}, [u, i, b, y]);
|
|
3349
|
+
const x = Array.from(
|
|
3350
|
+
{ length: r - t + 1 },
|
|
3351
|
+
(w, B) => t + B
|
|
3352
|
+
);
|
|
3350
3353
|
return /* @__PURE__ */ s(
|
|
3351
|
-
|
|
3354
|
+
xe,
|
|
3352
3355
|
{
|
|
3353
3356
|
name: i,
|
|
3354
3357
|
control: C,
|
|
3358
|
+
defaultValue: a,
|
|
3355
3359
|
rules: {
|
|
3356
|
-
|
|
3357
|
-
// ? `${t(label)} ${t("errorMessages.required")}`
|
|
3358
|
-
// : false,
|
|
3359
|
-
// maxLength: maxLength || undefined,
|
|
3360
|
-
// validate: validateFunction || undefined,
|
|
3360
|
+
required: u ? `${f(o)} ${f("errorMessages.required")}` : !1
|
|
3361
3361
|
},
|
|
3362
|
-
render: ({ field:
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
"
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
{
|
|
3383
|
-
...A,
|
|
3384
|
-
style: {
|
|
3385
|
-
...A.style,
|
|
3386
|
-
backgroundColor: c
|
|
3387
|
-
}
|
|
3388
|
-
}
|
|
3389
|
-
),
|
|
3390
|
-
renderTrack: (A, W) => {
|
|
3391
|
-
const P = `${A.className || ""} ${W.index === 0 ? R.trackLeft : R.trackRight}`;
|
|
3392
|
-
return /* @__PURE__ */ s(
|
|
3362
|
+
render: ({ field: w, fieldState: B }) => {
|
|
3363
|
+
var S;
|
|
3364
|
+
return /* @__PURE__ */ p("div", { className: R.rankingSliderContainer, style: { gridTemplateColumns: `${g} ${_}` }, children: [
|
|
3365
|
+
/* @__PURE__ */ p("p", { className: R.labelContainer, children: [
|
|
3366
|
+
f(o),
|
|
3367
|
+
" "
|
|
3368
|
+
] }),
|
|
3369
|
+
/* @__PURE__ */ p("div", { className: R.inputContainer, children: [
|
|
3370
|
+
/* @__PURE__ */ s(
|
|
3371
|
+
lt,
|
|
3372
|
+
{
|
|
3373
|
+
min: t,
|
|
3374
|
+
max: r,
|
|
3375
|
+
step: 1,
|
|
3376
|
+
value: w.value ?? a,
|
|
3377
|
+
onChange: (D) => w.onChange(D),
|
|
3378
|
+
marks: !0,
|
|
3379
|
+
className: R.slider,
|
|
3380
|
+
thumbClassName: R.thumb,
|
|
3381
|
+
renderThumb: (D) => /* @__PURE__ */ s(
|
|
3393
3382
|
"div",
|
|
3394
3383
|
{
|
|
3395
|
-
...
|
|
3396
|
-
className: P,
|
|
3384
|
+
...D,
|
|
3397
3385
|
style: {
|
|
3398
|
-
...
|
|
3399
|
-
backgroundColor:
|
|
3400
|
-
// color según índice
|
|
3386
|
+
...D.style,
|
|
3387
|
+
backgroundColor: l
|
|
3401
3388
|
}
|
|
3402
3389
|
}
|
|
3403
|
-
)
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3390
|
+
),
|
|
3391
|
+
renderTrack: (D, P) => {
|
|
3392
|
+
const ce = `${D.className || ""} ${P.index === 0 ? R.trackLeft : R.trackRight}`;
|
|
3393
|
+
return /* @__PURE__ */ s(
|
|
3394
|
+
"div",
|
|
3395
|
+
{
|
|
3396
|
+
...D,
|
|
3397
|
+
className: ce,
|
|
3398
|
+
style: {
|
|
3399
|
+
...D.style,
|
|
3400
|
+
backgroundColor: c[P.index] || "#000"
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
);
|
|
3404
|
+
},
|
|
3405
|
+
trackClassName: R.track,
|
|
3406
|
+
markClassName: R.mark
|
|
3407
|
+
}
|
|
3408
|
+
),
|
|
3409
|
+
/* @__PURE__ */ s("div", { className: R.labels, children: x.map((D) => /* @__PURE__ */ s("span", { children: D }, D)) }),
|
|
3410
|
+
/* @__PURE__ */ p("div", { className: R.labels, children: [
|
|
3411
|
+
/* @__PURE__ */ s("span", { className: R.labelsText, children: f(v) }),
|
|
3412
|
+
/* @__PURE__ */ s("span", { className: R.labelsText, children: f(m) })
|
|
3413
|
+
] })
|
|
3414
|
+
] }),
|
|
3415
|
+
/* @__PURE__ */ s(
|
|
3416
|
+
Ce,
|
|
3417
|
+
{
|
|
3418
|
+
errorMessage: (S = B.error) == null ? void 0 : S.message,
|
|
3419
|
+
errorColor: h
|
|
3407
3420
|
}
|
|
3408
|
-
)
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
/* @__PURE__ */ s("span", { className: R.labelsText, children: f(v) }),
|
|
3412
|
-
/* @__PURE__ */ s("span", { className: R.labelsText, children: f(h) })
|
|
3413
|
-
] })
|
|
3414
|
-
] })
|
|
3415
|
-
] })
|
|
3421
|
+
)
|
|
3422
|
+
] });
|
|
3423
|
+
}
|
|
3416
3424
|
}
|
|
3417
3425
|
);
|
|
3418
3426
|
}, Te = ({
|
|
@@ -3427,14 +3435,14 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3427
3435
|
required: l
|
|
3428
3436
|
};
|
|
3429
3437
|
}), [n, t]);
|
|
3430
|
-
return /* @__PURE__ */ s("div", { className:
|
|
3438
|
+
return /* @__PURE__ */ s("div", { className: re.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3431
3439
|
const { inputType: c } = a;
|
|
3432
3440
|
switch (c) {
|
|
3433
3441
|
case pe.text:
|
|
3434
3442
|
return /* @__PURE__ */ s(
|
|
3435
3443
|
"div",
|
|
3436
3444
|
{
|
|
3437
|
-
className:
|
|
3445
|
+
className: re.inputContainer,
|
|
3438
3446
|
style: { ...d },
|
|
3439
3447
|
children: /* @__PURE__ */ s(
|
|
3440
3448
|
it,
|
|
@@ -3450,7 +3458,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3450
3458
|
return /* @__PURE__ */ s(
|
|
3451
3459
|
"div",
|
|
3452
3460
|
{
|
|
3453
|
-
className:
|
|
3461
|
+
className: re.inputContainer,
|
|
3454
3462
|
style: { ...d },
|
|
3455
3463
|
children: /* @__PURE__ */ s(
|
|
3456
3464
|
it,
|
|
@@ -3466,7 +3474,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3466
3474
|
return /* @__PURE__ */ s(
|
|
3467
3475
|
"div",
|
|
3468
3476
|
{
|
|
3469
|
-
className:
|
|
3477
|
+
className: re.inputContainer,
|
|
3470
3478
|
style: { ...d },
|
|
3471
3479
|
children: /* @__PURE__ */ s(
|
|
3472
3480
|
k1,
|
|
@@ -3482,7 +3490,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3482
3490
|
return /* @__PURE__ */ s(
|
|
3483
3491
|
"div",
|
|
3484
3492
|
{
|
|
3485
|
-
className:
|
|
3493
|
+
className: re.inputContainer,
|
|
3486
3494
|
style: { ...d },
|
|
3487
3495
|
children: /* @__PURE__ */ s(
|
|
3488
3496
|
T1,
|
|
@@ -3498,7 +3506,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3498
3506
|
return /* @__PURE__ */ s(
|
|
3499
3507
|
"div",
|
|
3500
3508
|
{
|
|
3501
|
-
className:
|
|
3509
|
+
className: re.inputContainer,
|
|
3502
3510
|
style: { ...d },
|
|
3503
3511
|
children: /* @__PURE__ */ s(
|
|
3504
3512
|
j1,
|
|
@@ -3528,27 +3536,27 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3528
3536
|
submitButtonStyles: l = { width: 325 },
|
|
3529
3537
|
activeCategory: c = null,
|
|
3530
3538
|
// If provided, only the category with this categoryId will be displayed.
|
|
3531
|
-
onSubmit: u = (
|
|
3539
|
+
onSubmit: u = (h) => console.log("Form submitted with data: ", h)
|
|
3532
3540
|
}) => {
|
|
3533
3541
|
const {
|
|
3534
|
-
handleSubmit:
|
|
3542
|
+
handleSubmit: h,
|
|
3535
3543
|
control: g,
|
|
3536
3544
|
formState: { errors: _ }
|
|
3537
3545
|
} = n, { t: v } = k();
|
|
3538
|
-
return /* @__PURE__ */ p("form", { className: Le.formContainer, onSubmit:
|
|
3539
|
-
/* @__PURE__ */ s("div", { className: Le.formObjectContainer, children: d && d.map((
|
|
3540
|
-
const { inputs: C } =
|
|
3541
|
-
return
|
|
3546
|
+
return /* @__PURE__ */ p("form", { className: Le.formContainer, onSubmit: h(u), children: [
|
|
3547
|
+
/* @__PURE__ */ s("div", { className: Le.formObjectContainer, children: d && d.map((m, f) => {
|
|
3548
|
+
const { inputs: C } = m;
|
|
3549
|
+
return m.category ? i ? /* @__PURE__ */ s(
|
|
3542
3550
|
"div",
|
|
3543
3551
|
{
|
|
3544
3552
|
style: {
|
|
3545
|
-
display: c &&
|
|
3553
|
+
display: c && m.categoryId !== c ? "none" : "inherit",
|
|
3546
3554
|
width: "100%"
|
|
3547
3555
|
},
|
|
3548
3556
|
children: /* @__PURE__ */ s(
|
|
3549
3557
|
i,
|
|
3550
3558
|
{
|
|
3551
|
-
title:
|
|
3559
|
+
title: m.category,
|
|
3552
3560
|
children: /* @__PURE__ */ s(
|
|
3553
3561
|
Te,
|
|
3554
3562
|
{
|
|
@@ -3560,7 +3568,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3560
3568
|
}
|
|
3561
3569
|
)
|
|
3562
3570
|
},
|
|
3563
|
-
`${
|
|
3571
|
+
`${m.category}${f}`
|
|
3564
3572
|
)
|
|
3565
3573
|
}
|
|
3566
3574
|
) : /* @__PURE__ */ p(
|
|
@@ -3568,11 +3576,11 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3568
3576
|
{
|
|
3569
3577
|
style: {
|
|
3570
3578
|
width: "100%",
|
|
3571
|
-
display: c &&
|
|
3579
|
+
display: c && m.categoryId !== c ? "none" : "flex",
|
|
3572
3580
|
flexDirection: "column"
|
|
3573
3581
|
},
|
|
3574
3582
|
children: [
|
|
3575
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: v(
|
|
3583
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: v(m.category) }),
|
|
3576
3584
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3577
3585
|
Te,
|
|
3578
3586
|
{
|
|
@@ -3585,7 +3593,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3585
3593
|
) })
|
|
3586
3594
|
]
|
|
3587
3595
|
},
|
|
3588
|
-
`${
|
|
3596
|
+
`${m.category}${f}`
|
|
3589
3597
|
) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3590
3598
|
Te,
|
|
3591
3599
|
{
|
|
@@ -3598,8 +3606,8 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3598
3606
|
) }, `inputKey${f}`);
|
|
3599
3607
|
}) }),
|
|
3600
3608
|
/* @__PURE__ */ p("div", { className: Le.buttonContainer, children: [
|
|
3601
|
-
/* @__PURE__ */ s(
|
|
3602
|
-
/* @__PURE__ */ s(
|
|
3609
|
+
/* @__PURE__ */ s(ve, { containerStyles: l, type: "submit", children: v(a) }),
|
|
3610
|
+
/* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
|
|
3603
3611
|
] })
|
|
3604
3612
|
] });
|
|
3605
3613
|
}, z1 = "_overlay_mnd4j_2", Z1 = "_modal_mnd4j_15", K1 = "_closeButton_mnd4j_29", H1 = "_icon_mnd4j_39", U1 = "_message_mnd4j_45", G1 = "_submessage_mnd4j_51", W1 = "_buttonsContainer_mnd4j_57", Y1 = "_buttonWrapper_mnd4j_64", G = {
|
|
@@ -3699,7 +3707,7 @@ wt.defaultProps = {
|
|
|
3699
3707
|
activeColor: "#C2185B"
|
|
3700
3708
|
// color por defecto
|
|
3701
3709
|
};
|
|
3702
|
-
const ai = "_header_13kbt_2", li = "_leftComponents_13kbt_13", ci = "_centerComponents_13kbt_14", di = "_rightComponents_13kbt_15", ui = "_componentsContainer_13kbt_32",
|
|
3710
|
+
const ai = "_header_13kbt_2", li = "_leftComponents_13kbt_13", ci = "_centerComponents_13kbt_14", di = "_rightComponents_13kbt_15", ui = "_componentsContainer_13kbt_32", J = {
|
|
3703
3711
|
header: ai,
|
|
3704
3712
|
leftComponents: li,
|
|
3705
3713
|
centerComponents: ci,
|
|
@@ -3718,7 +3726,7 @@ const ai = "_header_13kbt_2", li = "_leftComponents_13kbt_13", ci = "_centerComp
|
|
|
3718
3726
|
}) => /* @__PURE__ */ p(
|
|
3719
3727
|
"div",
|
|
3720
3728
|
{
|
|
3721
|
-
className:
|
|
3729
|
+
className: J.header,
|
|
3722
3730
|
style: {
|
|
3723
3731
|
...n,
|
|
3724
3732
|
zIndex: t,
|
|
@@ -3728,9 +3736,9 @@ const ai = "_header_13kbt_2", li = "_leftComponents_13kbt_13", ci = "_centerComp
|
|
|
3728
3736
|
bottom: l ? 0 : "auto"
|
|
3729
3737
|
},
|
|
3730
3738
|
children: [
|
|
3731
|
-
/* @__PURE__ */ s("div", { className:
|
|
3732
|
-
/* @__PURE__ */ s("div", { className:
|
|
3733
|
-
/* @__PURE__ */ s("div", { className:
|
|
3739
|
+
/* @__PURE__ */ s("div", { className: J.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
|
|
3740
|
+
/* @__PURE__ */ s("div", { className: J.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
|
|
3741
|
+
/* @__PURE__ */ s("div", { className: J.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) })
|
|
3734
3742
|
]
|
|
3735
3743
|
}
|
|
3736
3744
|
);
|
|
@@ -3744,7 +3752,7 @@ pi.propTypes = {
|
|
|
3744
3752
|
backgroundColor: e.string,
|
|
3745
3753
|
isFooter: e.bool
|
|
3746
3754
|
};
|
|
3747
|
-
const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20", Ci = "_closeButton_1fmjn_26",
|
|
3755
|
+
const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20", Ci = "_closeButton_1fmjn_26", ye = {
|
|
3748
3756
|
sidebar: mi,
|
|
3749
3757
|
open: hi,
|
|
3750
3758
|
content: gi,
|
|
@@ -3761,10 +3769,10 @@ const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20",
|
|
|
3761
3769
|
return /* @__PURE__ */ s(
|
|
3762
3770
|
"div",
|
|
3763
3771
|
{
|
|
3764
|
-
className: `${
|
|
3772
|
+
className: `${ye.sidebar} ${i ? ye.open : ""}`,
|
|
3765
3773
|
style: { width: i ? n : 0 },
|
|
3766
|
-
children: i && /* @__PURE__ */ p("div", { className:
|
|
3767
|
-
/* @__PURE__ */ s("button", { className:
|
|
3774
|
+
children: i && /* @__PURE__ */ p("div", { className: ye.content, children: [
|
|
3775
|
+
/* @__PURE__ */ s("button", { className: ye.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: fi, alt: "Close Sidebar" }) }),
|
|
3768
3776
|
d
|
|
3769
3777
|
] })
|
|
3770
3778
|
}
|
|
@@ -3779,12 +3787,12 @@ bi.propTypes = {
|
|
|
3779
3787
|
export {
|
|
3780
3788
|
h2 as AmbitSelector,
|
|
3781
3789
|
B2 as ButtonsList,
|
|
3782
|
-
|
|
3790
|
+
ne as DropdownList,
|
|
3783
3791
|
Ii as EditAmbit,
|
|
3784
|
-
|
|
3792
|
+
Ce as ErrorMessage,
|
|
3785
3793
|
Q2 as FiltersAmbit,
|
|
3786
3794
|
ji as Form,
|
|
3787
|
-
|
|
3795
|
+
ve as GeneralButton,
|
|
3788
3796
|
n0 as Graphic,
|
|
3789
3797
|
pi as HeaderSection,
|
|
3790
3798
|
y0 as IndicatorsList,
|
|
@@ -3804,6 +3812,6 @@ export {
|
|
|
3804
3812
|
wt as Steps,
|
|
3805
3813
|
it as TextInput,
|
|
3806
3814
|
hn as TimeSlider,
|
|
3807
|
-
|
|
3815
|
+
ee as Tooltip,
|
|
3808
3816
|
bn as TopNavMenu
|
|
3809
3817
|
};
|