@tmf_ciclica/ciclicastorybook 1.1.96 → 1.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +339 -336
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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_8d6ru_2{padding:5px 95px;border-radius:100px}._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}._overlay_3rt7n_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_3rt7n_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_3rt7n_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_3rt7n_39{width:60px;height:60px;margin-bottom:16px}._message_3rt7n_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_3rt7n_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_3rt7n_57{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}._buttonWrapper_3rt7n_64{display:inline-flex}._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(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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}._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}._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(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import { jsxs as p, jsx as s, Fragment as Me } from "react/jsx-runtime";
|
|
3
3
|
import * as ne from "react";
|
|
4
4
|
import B, { useState as $, useEffect as L, useMemo as le, useLayoutEffect as _t, useRef as ie } from "react";
|
|
@@ -18,9 +18,9 @@ import Ot from "@mui/material/Slider";
|
|
|
18
18
|
import { createTheme as Rt, Box as qt } from "@mui/material";
|
|
19
19
|
import { ThemeProvider as Et } from "@emotion/react";
|
|
20
20
|
import { NavLink as Pt } from "react-router-dom";
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
21
|
+
const jt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", Zt = "_nameDateContainer_mcunf_23", Kt = "_ambitName_mcunf_39", Ht = "_ambitDate_mcunf_53", Ut = "_buttonsContainer_mcunf_67", Gt = "_ambitListContainer_mcunf_76", Wt = "_newAmbitButtonContainer_mcunf_80", z = {
|
|
22
|
+
ambitSelector: jt,
|
|
23
|
+
header: zt,
|
|
24
24
|
nameDateContainer: Zt,
|
|
25
25
|
ambitName: Kt,
|
|
26
26
|
ambitDate: Ht,
|
|
@@ -39,8 +39,8 @@ const zt = "_ambitSelector_mcunf_2", jt = "_header_mcunf_13", Zt = "_nameDateCon
|
|
|
39
39
|
onClickDelete: i,
|
|
40
40
|
onClickFilters: o,
|
|
41
41
|
onClickAmbit: t,
|
|
42
|
-
isActive:
|
|
43
|
-
activeColor:
|
|
42
|
+
isActive: a,
|
|
43
|
+
activeColor: r,
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
@@ -57,10 +57,10 @@ const zt = "_ambitSelector_mcunf_2", jt = "_header_mcunf_13", Zt = "_nameDateCon
|
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src:
|
|
60
|
+
src: a ? s2 : r2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
63
|
+
/* @__PURE__ */ s("span", { style: { color: a ? r : l }, children: u })
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ s("div", { className: oe.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
@@ -92,7 +92,7 @@ tt.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
95
|
+
const je = "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", a2 = "_generalButton_phq4n_2", l2 = {
|
|
96
96
|
generalButton: a2
|
|
97
97
|
}, fe = ({
|
|
98
98
|
children: n,
|
|
@@ -100,7 +100,8 @@ const ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
100
100
|
fontColor: i = "#605B56",
|
|
101
101
|
borderColor: o = "#605B56",
|
|
102
102
|
type: t = "button",
|
|
103
|
-
containerStyles:
|
|
103
|
+
containerStyles: a = {},
|
|
104
|
+
disabled: r = !1
|
|
104
105
|
}) => /* @__PURE__ */ s(
|
|
105
106
|
"button",
|
|
106
107
|
{
|
|
@@ -108,10 +109,11 @@ const ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
108
109
|
style: {
|
|
109
110
|
color: i,
|
|
110
111
|
border: `1.5px solid ${o}`,
|
|
111
|
-
...
|
|
112
|
+
...a
|
|
112
113
|
},
|
|
113
114
|
onClick: d,
|
|
114
115
|
type: t,
|
|
116
|
+
disabled: r,
|
|
115
117
|
children: n
|
|
116
118
|
}
|
|
117
119
|
), c2 = ({
|
|
@@ -120,8 +122,8 @@ const ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
120
122
|
fontColor: i = "#605B56",
|
|
121
123
|
activeColor: o,
|
|
122
124
|
nameLabel: t,
|
|
123
|
-
dateLabel:
|
|
124
|
-
newAmbitLabel:
|
|
125
|
+
dateLabel: a,
|
|
126
|
+
newAmbitLabel: r = "New field",
|
|
125
127
|
buttonContainerStyles: l = {},
|
|
126
128
|
containerStyles: c = {},
|
|
127
129
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
@@ -143,30 +145,30 @@ const ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
143
145
|
return /* @__PURE__ */ p(
|
|
144
146
|
"div",
|
|
145
147
|
{
|
|
146
|
-
className:
|
|
148
|
+
className: z.ambitSelector,
|
|
147
149
|
style: { color: i, ...c },
|
|
148
150
|
children: [
|
|
149
151
|
/* @__PURE__ */ p(
|
|
150
152
|
"div",
|
|
151
153
|
{
|
|
152
|
-
className:
|
|
154
|
+
className: z.header,
|
|
153
155
|
style: { borderBottom: `1px solid ${i}` },
|
|
154
156
|
children: [
|
|
155
|
-
/* @__PURE__ */ p("div", { className:
|
|
156
|
-
/* @__PURE__ */ s("div", { className:
|
|
157
|
+
/* @__PURE__ */ p("div", { className: z.nameDateContainer, children: [
|
|
158
|
+
/* @__PURE__ */ s("div", { className: z.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
157
159
|
/* @__PURE__ */ s("span", { children: g(t) }),
|
|
158
|
-
/* @__PURE__ */ s("img", { src:
|
|
160
|
+
/* @__PURE__ */ s("img", { src: je })
|
|
159
161
|
] }) }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className:
|
|
161
|
-
/* @__PURE__ */ s("span", { children: g(
|
|
162
|
-
/* @__PURE__ */ s("img", { src:
|
|
162
|
+
/* @__PURE__ */ s("div", { className: z.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
163
|
+
/* @__PURE__ */ s("span", { children: g(a) }),
|
|
164
|
+
/* @__PURE__ */ s("img", { src: je })
|
|
163
165
|
] }) })
|
|
164
166
|
] }),
|
|
165
|
-
/* @__PURE__ */ s("div", { className:
|
|
167
|
+
/* @__PURE__ */ s("div", { className: z.buttonsContainer })
|
|
166
168
|
]
|
|
167
169
|
}
|
|
168
170
|
),
|
|
169
|
-
/* @__PURE__ */ s("div", { className:
|
|
171
|
+
/* @__PURE__ */ s("div", { className: z.ambitListContainer, children: y && y.length > 0 && y.map((x) => /* @__PURE__ */ s(
|
|
170
172
|
tt,
|
|
171
173
|
{
|
|
172
174
|
isActive: d == x.id,
|
|
@@ -180,13 +182,13 @@ const ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
180
182
|
},
|
|
181
183
|
`ambitKey${x.id}`
|
|
182
184
|
)) }),
|
|
183
|
-
/* @__PURE__ */ s("div", { className:
|
|
185
|
+
/* @__PURE__ */ s("div", { className: z.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
184
186
|
fe,
|
|
185
187
|
{
|
|
186
188
|
style: { ...l },
|
|
187
189
|
onClick: u,
|
|
188
190
|
borderColor: "grey",
|
|
189
|
-
children: g(
|
|
191
|
+
children: g(r)
|
|
190
192
|
}
|
|
191
193
|
) })
|
|
192
194
|
]
|
|
@@ -242,9 +244,9 @@ const v2 = ({
|
|
|
242
244
|
showName: i = !0,
|
|
243
245
|
namePosition: o = "right",
|
|
244
246
|
useTooltip: t = !1,
|
|
245
|
-
tooltipPosition:
|
|
247
|
+
tooltipPosition: a = "top"
|
|
246
248
|
}) => {
|
|
247
|
-
const { t:
|
|
249
|
+
const { t: r } = k();
|
|
248
250
|
return /* @__PURE__ */ s(
|
|
249
251
|
"div",
|
|
250
252
|
{
|
|
@@ -258,9 +260,9 @@ const v2 = ({
|
|
|
258
260
|
name: _,
|
|
259
261
|
onClick: f
|
|
260
262
|
} = l, g = /* @__PURE__ */ p(Me, { children: [
|
|
261
|
-
i && o === "left" && /* @__PURE__ */ s("span", { className: K.buttonName, children:
|
|
262
|
-
/* @__PURE__ */ s("img", { src: h ? m : u, alt:
|
|
263
|
-
i && o === "right" && /* @__PURE__ */ s("span", { className: K.buttonName, children:
|
|
263
|
+
i && o === "left" && /* @__PURE__ */ s("span", { className: K.buttonName, children: r(_) }),
|
|
264
|
+
/* @__PURE__ */ s("img", { src: h ? m : u, alt: r(_) }),
|
|
265
|
+
i && o === "right" && /* @__PURE__ */ s("span", { className: K.buttonName, children: r(_) })
|
|
264
266
|
] });
|
|
265
267
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
266
268
|
/* @__PURE__ */ s(
|
|
@@ -272,7 +274,7 @@ const v2 = ({
|
|
|
272
274
|
children: g
|
|
273
275
|
}
|
|
274
276
|
),
|
|
275
|
-
t && /* @__PURE__ */ s(Y, { text: _, position:
|
|
277
|
+
t && /* @__PURE__ */ s(Y, { text: _, position: a })
|
|
276
278
|
] }, c);
|
|
277
279
|
})
|
|
278
280
|
}
|
|
@@ -304,9 +306,9 @@ const x2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", _e = {
|
|
|
304
306
|
children: i,
|
|
305
307
|
color: o,
|
|
306
308
|
activeColor: t = "#F8A925",
|
|
307
|
-
title:
|
|
309
|
+
title: a = "Title",
|
|
308
310
|
//Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
|
|
309
|
-
height:
|
|
311
|
+
height: r = 53,
|
|
310
312
|
//Adjust height if you change fontSize
|
|
311
313
|
titleFontStyles: l,
|
|
312
314
|
showBottomBar: c = !0,
|
|
@@ -317,8 +319,8 @@ const x2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", _e = {
|
|
|
317
319
|
Ie.div,
|
|
318
320
|
{
|
|
319
321
|
className: _e.indicatorsCategory,
|
|
320
|
-
initial: { height: `${
|
|
321
|
-
animate: { height: n ? "auto" : `${
|
|
322
|
+
initial: { height: `${r}px` },
|
|
323
|
+
animate: { height: n ? "auto" : `${r}px` },
|
|
322
324
|
transition: { duration: 0.4 },
|
|
323
325
|
style: {
|
|
324
326
|
backgroundColor: "white",
|
|
@@ -337,7 +339,7 @@ const x2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", _e = {
|
|
|
337
339
|
onClick: d,
|
|
338
340
|
children: [
|
|
339
341
|
/* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
340
|
-
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children: m(
|
|
342
|
+
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children: m(a) })
|
|
341
343
|
]
|
|
342
344
|
}
|
|
343
345
|
),
|
|
@@ -357,7 +359,7 @@ Q.propTypes = {
|
|
|
357
359
|
showBottomBar: e.bool,
|
|
358
360
|
titleFontStyles: e.object
|
|
359
361
|
};
|
|
360
|
-
const mi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), N2 = "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", k2 = "_AppliedFiltersContainer_cokx9_2", B2 = "_AppliedFilterContent_cokx9_11",
|
|
362
|
+
const mi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), N2 = "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", k2 = "_AppliedFiltersContainer_cokx9_2", B2 = "_AppliedFilterContent_cokx9_11", ze = {
|
|
361
363
|
AppliedFiltersContainer: k2,
|
|
362
364
|
AppliedFilterContent: B2
|
|
363
365
|
}, T = vt((n) => ({
|
|
@@ -367,8 +369,8 @@ const mi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), N2 = "data
|
|
|
367
369
|
tematicalFiltersSelected: [],
|
|
368
370
|
fontColor: "#605B56",
|
|
369
371
|
inputsColor: "#605B56"
|
|
370
|
-
})), nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor:
|
|
371
|
-
const { t:
|
|
372
|
+
})), nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: a }) => {
|
|
373
|
+
const { t: r } = k(), { tematicalFiltersSelected: l } = T((u) => u), c = (u) => {
|
|
372
374
|
T.setState((m) => ({
|
|
373
375
|
tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
|
|
374
376
|
(h) => h.code !== u
|
|
@@ -380,10 +382,10 @@ const mi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), N2 = "data
|
|
|
380
382
|
{
|
|
381
383
|
isOpen: i,
|
|
382
384
|
onClick: d,
|
|
383
|
-
title: n ?
|
|
384
|
-
activeColor:
|
|
385
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
386
|
-
|
|
385
|
+
title: n ? r(n) : "Applied Filters",
|
|
386
|
+
activeColor: a,
|
|
387
|
+
children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: ze.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
388
|
+
r(u.name),
|
|
387
389
|
/* @__PURE__ */ s("img", { src: N2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
388
390
|
] }, m)) })
|
|
389
391
|
}
|
|
@@ -403,15 +405,15 @@ nt.propTypes = {
|
|
|
403
405
|
),
|
|
404
406
|
activeColor: e.string
|
|
405
407
|
};
|
|
406
|
-
const it = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor:
|
|
407
|
-
const { t:
|
|
408
|
+
const it = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: a }) => {
|
|
409
|
+
const { t: r } = k(), { tematicalFiltersSelected: l } = T((c) => c);
|
|
408
410
|
return /* @__PURE__ */ s(
|
|
409
411
|
Q,
|
|
410
412
|
{
|
|
411
413
|
isOpen: i,
|
|
412
414
|
onClick: d,
|
|
413
|
-
title: n ?
|
|
414
|
-
activeColor:
|
|
415
|
+
title: n ? r(n) : "Geographical Filters",
|
|
416
|
+
activeColor: a,
|
|
415
417
|
children: "A"
|
|
416
418
|
}
|
|
417
419
|
);
|
|
@@ -433,7 +435,7 @@ const S2 = "_checkboxContainer_zld97_2", D2 = {
|
|
|
433
435
|
indicator: o,
|
|
434
436
|
value: t
|
|
435
437
|
}) => {
|
|
436
|
-
const { t:
|
|
438
|
+
const { t: a } = k(), { title: r } = o || {}, { fontColor: l, inputsColor: c } = T((u) => u);
|
|
437
439
|
return /* @__PURE__ */ p(
|
|
438
440
|
"div",
|
|
439
441
|
{
|
|
@@ -455,7 +457,7 @@ const S2 = "_checkboxContainer_zld97_2", D2 = {
|
|
|
455
457
|
}
|
|
456
458
|
}
|
|
457
459
|
),
|
|
458
|
-
/* @__PURE__ */ s("span", { className: "checkmark", children: r
|
|
460
|
+
/* @__PURE__ */ s("span", { className: "checkmark", children: a(r) })
|
|
459
461
|
]
|
|
460
462
|
}
|
|
461
463
|
);
|
|
@@ -599,39 +601,39 @@ let Fe = function(n) {
|
|
|
599
601
|
const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: l, value: pe(t.state.value) };
|
|
600
602
|
return t.props.renderTrack(m, h);
|
|
601
603
|
};
|
|
602
|
-
let
|
|
603
|
-
|
|
604
|
-
const
|
|
605
|
-
for (let l = 0; l <
|
|
606
|
-
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value:
|
|
604
|
+
let a = xe(o.value);
|
|
605
|
+
a.length || (a = xe(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
606
|
+
const r = [];
|
|
607
|
+
for (let l = 0; l < a.length; l += 1) a[l] = H(a[l], o), r.push(l);
|
|
608
|
+
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: a, zIndices: r }, t;
|
|
607
609
|
}
|
|
608
610
|
M2(d, n);
|
|
609
611
|
var i = d.prototype;
|
|
610
612
|
return i.componentDidMount = function() {
|
|
611
613
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
612
614
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
613
|
-
const
|
|
614
|
-
return
|
|
615
|
+
const a = xe(o.value);
|
|
616
|
+
return a.length ? t.pending ? null : { value: a.map((r) => H(r, o)) } : null;
|
|
615
617
|
}, i.componentDidUpdate = function() {
|
|
616
618
|
this.state.upperBound === 0 && this.resize();
|
|
617
619
|
}, i.componentWillUnmount = function() {
|
|
618
620
|
this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
|
|
619
621
|
}, i.onEnd = function(o) {
|
|
620
622
|
o && function(t) {
|
|
621
|
-
Object.keys(t).forEach((
|
|
622
|
-
typeof document < "u" && document.removeEventListener(
|
|
623
|
+
Object.keys(t).forEach((a) => {
|
|
624
|
+
typeof document < "u" && document.removeEventListener(a, t[a], !1);
|
|
623
625
|
});
|
|
624
626
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
625
627
|
}, i.getValue = function() {
|
|
626
628
|
return pe(this.state.value);
|
|
627
629
|
}, i.getClosestIndex = function(o) {
|
|
628
|
-
let t = Number.MAX_VALUE,
|
|
629
|
-
const { value:
|
|
630
|
+
let t = Number.MAX_VALUE, a = -1;
|
|
631
|
+
const { value: r } = this.state, l = r.length;
|
|
630
632
|
for (let c = 0; c < l; c += 1) {
|
|
631
|
-
const u = this.calcOffset(
|
|
632
|
-
m < t && (t = m,
|
|
633
|
+
const u = this.calcOffset(r[c]), m = Math.abs(o - u);
|
|
634
|
+
m < t && (t = m, a = c);
|
|
633
635
|
}
|
|
634
|
-
return
|
|
636
|
+
return a;
|
|
635
637
|
}, i.getMousePosition = function(o) {
|
|
636
638
|
return [o["page" + this.axisKey()], o["page" + this.orthogonalAxisKey()]];
|
|
637
639
|
}, i.getTouchPosition = function(o) {
|
|
@@ -652,7 +654,7 @@ let Fe = function(n) {
|
|
|
652
654
|
}, i.resize = function() {
|
|
653
655
|
const { slider: o, thumb0: t } = this;
|
|
654
656
|
if (!o || !t) return;
|
|
655
|
-
const
|
|
657
|
+
const a = this.sizeKey(), r = o.getBoundingClientRect(), l = o[a], c = r[this.posMaxKey()], u = r[this.posMinKey()], m = t.getBoundingClientRect()[a.replace("client", "").toLowerCase()], h = l - m, _ = Math.abs(c - u);
|
|
656
658
|
this.state.upperBound === h && this.state.sliderLength === _ && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: _, thumbSize: m });
|
|
657
659
|
}, i.calcOffset = function(o) {
|
|
658
660
|
const t = this.props.max - this.props.min;
|
|
@@ -660,15 +662,15 @@ let Fe = function(n) {
|
|
|
660
662
|
}, i.calcValue = function(o) {
|
|
661
663
|
return o / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
|
|
662
664
|
}, i.calcOffsetFromPosition = function(o) {
|
|
663
|
-
const { slider: t } = this,
|
|
664
|
-
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ?
|
|
665
|
+
const { slider: t } = this, a = t.getBoundingClientRect(), r = a[this.posMaxKey()], l = a[this.posMinKey()];
|
|
666
|
+
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? r : l));
|
|
665
667
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
666
668
|
}, i.forceValueFromPosition = function(o, t) {
|
|
667
|
-
const
|
|
668
|
-
c[
|
|
669
|
+
const a = this.calcOffsetFromPosition(o), r = this.getClosestIndex(a), l = H(this.calcValue(a), this.props), c = this.state.value.slice();
|
|
670
|
+
c[r] = l;
|
|
669
671
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
670
672
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
671
|
-
t(
|
|
673
|
+
t(r), this.fireChangeEvent("onChange");
|
|
672
674
|
});
|
|
673
675
|
}, i.clearPendingResizeTimeouts = function() {
|
|
674
676
|
do {
|
|
@@ -676,49 +678,49 @@ let Fe = function(n) {
|
|
|
676
678
|
clearTimeout(o);
|
|
677
679
|
} while (this.pendingResizeTimeouts.length);
|
|
678
680
|
}, i.start = function(o, t) {
|
|
679
|
-
const
|
|
680
|
-
|
|
681
|
-
const { zIndices:
|
|
682
|
-
|
|
681
|
+
const a = this["thumb" + o];
|
|
682
|
+
a && a.focus();
|
|
683
|
+
const { zIndices: r } = this.state;
|
|
684
|
+
r.splice(r.indexOf(o), 1), r.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: r }));
|
|
683
685
|
}, i.moveUpByStep = function(o) {
|
|
684
686
|
o === void 0 && (o = this.props.step);
|
|
685
|
-
const t = this.state.value[this.state.index],
|
|
686
|
-
this.move(Math.min(
|
|
687
|
+
const t = this.state.value[this.state.index], a = H(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
688
|
+
this.move(Math.min(a, this.props.max));
|
|
687
689
|
}, i.moveDownByStep = function(o) {
|
|
688
690
|
o === void 0 && (o = this.props.step);
|
|
689
|
-
const t = this.state.value[this.state.index],
|
|
690
|
-
this.move(Math.max(
|
|
691
|
+
const t = this.state.value[this.state.index], a = H(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
692
|
+
this.move(Math.max(a, this.props.min));
|
|
691
693
|
}, i.move = function(o) {
|
|
692
|
-
const t = this.state.value.slice(), { index:
|
|
694
|
+
const t = this.state.value.slice(), { index: a } = this.state, { length: r } = t, l = t[a];
|
|
693
695
|
if (o === l) return;
|
|
694
696
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
695
697
|
const { pearling: c, max: u, min: m, minDistance: h } = this.props;
|
|
696
698
|
if (!c) {
|
|
697
|
-
if (
|
|
698
|
-
const _ = t[
|
|
699
|
+
if (a > 0) {
|
|
700
|
+
const _ = t[a - 1];
|
|
699
701
|
o < _ + h && (o = _ + h);
|
|
700
702
|
}
|
|
701
|
-
if (
|
|
702
|
-
const _ = t[
|
|
703
|
+
if (a < r - 1) {
|
|
704
|
+
const _ = t[a + 1];
|
|
703
705
|
o > _ - h && (o = _ - h);
|
|
704
706
|
}
|
|
705
707
|
}
|
|
706
|
-
t[
|
|
708
|
+
t[a] = o, c && r > 1 && (o > l ? (this.pushSucceeding(t, h, a), function(_, f, g, y) {
|
|
707
709
|
for (let C = 0; C < _; C += 1) {
|
|
708
710
|
const b = y - C * g;
|
|
709
711
|
f[_ - 1 - C] > b && (f[_ - 1 - C] = b);
|
|
710
712
|
}
|
|
711
|
-
}(
|
|
713
|
+
}(r, t, h, u)) : o < l && (this.pushPreceding(t, h, a), function(_, f, g, y) {
|
|
712
714
|
for (let C = 0; C < _; C += 1) {
|
|
713
715
|
const b = y + C * g;
|
|
714
716
|
f[C] < b && (f[C] = b);
|
|
715
717
|
}
|
|
716
|
-
}(
|
|
717
|
-
}, i.pushSucceeding = function(o, t,
|
|
718
|
-
let
|
|
719
|
-
for (
|
|
720
|
-
}, i.pushPreceding = function(o, t,
|
|
721
|
-
for (let
|
|
718
|
+
}(r, t, h, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
719
|
+
}, i.pushSucceeding = function(o, t, a) {
|
|
720
|
+
let r, l;
|
|
721
|
+
for (r = a, l = o[r] + t; o[r + 1] !== null && l > o[r + 1]; r += 1, l = o[r] + t) o[r + 1] = Le(l, this.props);
|
|
722
|
+
}, i.pushPreceding = function(o, t, a) {
|
|
723
|
+
for (let r = a, l = o[r] - t; o[r - 1] !== null && l < o[r - 1]; r -= 1, l = o[r] - t) o[r - 1] = Le(l, this.props);
|
|
722
724
|
}, i.axisKey = function() {
|
|
723
725
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
724
726
|
}, i.orthogonalAxisKey = function() {
|
|
@@ -732,39 +734,39 @@ let Fe = function(n) {
|
|
|
732
734
|
}, i.fireChangeEvent = function(o) {
|
|
733
735
|
this.props[o] && this.props[o](pe(this.state.value), this.state.index);
|
|
734
736
|
}, i.buildThumbStyle = function(o, t) {
|
|
735
|
-
const
|
|
736
|
-
return
|
|
737
|
+
const a = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
738
|
+
return a[this.posMinKey()] = o + "px", a;
|
|
737
739
|
}, i.buildTrackStyle = function(o, t) {
|
|
738
|
-
const
|
|
739
|
-
return
|
|
740
|
+
const a = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
|
|
741
|
+
return a[this.posMinKey()] = o, a[this.posMaxKey()] = t, a;
|
|
740
742
|
}, i.buildMarkStyle = function(o) {
|
|
741
743
|
var t;
|
|
742
744
|
return (t = { position: "absolute" })[this.posMinKey()] = o, t;
|
|
743
745
|
}, i.renderThumbs = function(o) {
|
|
744
|
-
const { length: t } = o,
|
|
745
|
-
for (let l = 0; l < t; l += 1)
|
|
746
|
-
const
|
|
747
|
-
for (let l = 0; l < t; l += 1)
|
|
748
|
-
return
|
|
746
|
+
const { length: t } = o, a = [];
|
|
747
|
+
for (let l = 0; l < t; l += 1) a[l] = this.buildThumbStyle(o[l], l);
|
|
748
|
+
const r = [];
|
|
749
|
+
for (let l = 0; l < t; l += 1) r[l] = this.renderThumb(a[l], l);
|
|
750
|
+
return r;
|
|
749
751
|
}, i.renderTracks = function(o) {
|
|
750
|
-
const t = [],
|
|
752
|
+
const t = [], a = o.length - 1;
|
|
751
753
|
t.push(this.renderTrack(0, 0, o[0]));
|
|
752
|
-
for (let
|
|
753
|
-
return t.push(this.renderTrack(
|
|
754
|
+
for (let r = 0; r < a; r += 1) t.push(this.renderTrack(r + 1, o[r], o[r + 1]));
|
|
755
|
+
return t.push(this.renderTrack(a + 1, o[a], this.state.upperBound)), t;
|
|
754
756
|
}, i.renderMarks = function() {
|
|
755
757
|
let { marks: o } = this.props;
|
|
756
758
|
const t = this.props.max - this.props.min + 1;
|
|
757
|
-
return typeof o == "boolean" ? o = Array.from({ length: t }).map((
|
|
758
|
-
const
|
|
759
|
+
return typeof o == "boolean" ? o = Array.from({ length: t }).map((a, r) => r) : typeof o == "number" && (o = Array.from({ length: t }).map((a, r) => r).filter((a) => a % o == 0)), o.map(parseFloat).sort((a, r) => a - r).map((a) => {
|
|
760
|
+
const r = this.calcOffset(a), l = { key: a, className: this.props.markClassName, style: this.buildMarkStyle(r) };
|
|
759
761
|
return this.props.renderMark(l);
|
|
760
762
|
});
|
|
761
763
|
}, i.render = function() {
|
|
762
|
-
const o = [], { value: t } = this.state,
|
|
763
|
-
for (let u = 0; u <
|
|
764
|
-
const
|
|
764
|
+
const o = [], { value: t } = this.state, a = t.length;
|
|
765
|
+
for (let u = 0; u < a; u += 1) o[u] = this.calcOffset(t[u], u);
|
|
766
|
+
const r = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
|
|
765
767
|
return B.createElement("div", { ref: (u) => {
|
|
766
768
|
this.slider = u, this.resizeElementRef.current = u;
|
|
767
|
-
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick },
|
|
769
|
+
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, r, l, c);
|
|
768
770
|
}, d;
|
|
769
771
|
}(B.Component);
|
|
770
772
|
Fe.displayName = "ReactSlider", Fe.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
|
|
@@ -782,8 +784,8 @@ const L2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
782
784
|
step: i = 1,
|
|
783
785
|
onChange: o,
|
|
784
786
|
width: t = 300,
|
|
785
|
-
unit:
|
|
786
|
-
fontColor:
|
|
787
|
+
unit: a,
|
|
788
|
+
fontColor: r = "#605B56",
|
|
787
789
|
defaultValue: l
|
|
788
790
|
}) => {
|
|
789
791
|
const { t: c } = k(), [u, m] = $([n, d]), h = (_) => {
|
|
@@ -795,9 +797,9 @@ const L2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
795
797
|
"div",
|
|
796
798
|
{
|
|
797
799
|
className: X.container,
|
|
798
|
-
style: { width: `${t}px`, color: `${
|
|
800
|
+
style: { width: `${t}px`, color: `${r}` },
|
|
799
801
|
children: [
|
|
800
|
-
/* @__PURE__ */ s("div", { className: X.unitLabel, children: /* @__PURE__ */ s("span", { children: c(
|
|
802
|
+
/* @__PURE__ */ s("div", { className: X.unitLabel, children: /* @__PURE__ */ s("span", { children: c(a) }) }),
|
|
801
803
|
/* @__PURE__ */ s(
|
|
802
804
|
$2,
|
|
803
805
|
{
|
|
@@ -846,8 +848,8 @@ const O2 = "_tematicalFiltersInputContainer_1vm1r_2", R2 = "_inputTypeContainer_
|
|
|
846
848
|
}) => {
|
|
847
849
|
const [i, o] = $(), {
|
|
848
850
|
type: t,
|
|
849
|
-
name:
|
|
850
|
-
values:
|
|
851
|
+
name: a,
|
|
852
|
+
values: r,
|
|
851
853
|
minValue: l,
|
|
852
854
|
maxValue: c,
|
|
853
855
|
unit: u,
|
|
@@ -865,9 +867,9 @@ const O2 = "_tematicalFiltersInputContainer_1vm1r_2", R2 = "_inputTypeContainer_
|
|
|
865
867
|
inputsColor: C
|
|
866
868
|
} = T((w) => w), b = (w) => {
|
|
867
869
|
if (w) {
|
|
868
|
-
const { min: v, max: N, valueClicked: S, allValues: D } = w || {}, { code:
|
|
869
|
-
let R =
|
|
870
|
-
de == "both" && (R = ue == "cat" ?
|
|
870
|
+
const { min: v, max: N, valueClicked: S, allValues: D } = w || {}, { code: j, type: de } = n || {}, ue = _ ? "abs" : h ? "cat" : "both";
|
|
871
|
+
let R = j[0];
|
|
872
|
+
de == "both" && (R = ue == "cat" ? j[1] : j[0]), ue == "cat" ? T.setState((q) => {
|
|
871
873
|
let E = q.tematicalFiltersSelected.find(
|
|
872
874
|
(V) => V.code === R
|
|
873
875
|
);
|
|
@@ -935,10 +937,10 @@ const O2 = "_tematicalFiltersInputContainer_1vm1r_2", R2 = "_inputTypeContainer_
|
|
|
935
937
|
Q,
|
|
936
938
|
{
|
|
937
939
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
938
|
-
title:
|
|
939
|
-
isOpen: g == `id${
|
|
940
|
+
title: a,
|
|
941
|
+
isOpen: g == `id${a}`,
|
|
940
942
|
onClick: () => T.setState(() => ({
|
|
941
|
-
selectedIndicator: g == `id${
|
|
943
|
+
selectedIndicator: g == `id${a}` ? "" : `id${a}`
|
|
942
944
|
})),
|
|
943
945
|
showBottomBar: !1,
|
|
944
946
|
height: 42,
|
|
@@ -994,12 +996,12 @@ const O2 = "_tematicalFiltersInputContainer_1vm1r_2", R2 = "_inputTypeContainer_
|
|
|
994
996
|
]
|
|
995
997
|
}
|
|
996
998
|
),
|
|
997
|
-
h && /* @__PURE__ */ s("div", { className: he.checkboxContainer, children:
|
|
999
|
+
h && /* @__PURE__ */ s("div", { className: he.checkboxContainer, children: r.map((w, v) => {
|
|
998
1000
|
var N;
|
|
999
1001
|
return /* @__PURE__ */ s(
|
|
1000
1002
|
ot,
|
|
1001
1003
|
{
|
|
1002
|
-
onClick: () => b({ valueClicked: v, allValues:
|
|
1004
|
+
onClick: () => b({ valueClicked: v, allValues: r }),
|
|
1003
1005
|
indicator: w,
|
|
1004
1006
|
value: ((N = x[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(v)) || !x[n.code[t == "both" ? 1 : 0]]
|
|
1005
1007
|
},
|
|
@@ -1042,15 +1044,15 @@ const rt = ({
|
|
|
1042
1044
|
activeColor: i
|
|
1043
1045
|
//onChangeBothType,
|
|
1044
1046
|
}) => {
|
|
1045
|
-
const { activeSubcategory: o } = T((
|
|
1047
|
+
const { activeSubcategory: o } = T((r) => r), { name: t, indicators: a } = n || {};
|
|
1046
1048
|
return /* @__PURE__ */ s(
|
|
1047
1049
|
Q,
|
|
1048
1050
|
{
|
|
1049
1051
|
title: t,
|
|
1050
1052
|
isOpen: o == `id${t}`,
|
|
1051
1053
|
onClick: () => {
|
|
1052
|
-
T.setState((
|
|
1053
|
-
activeSubcategory:
|
|
1054
|
+
T.setState((r) => ({
|
|
1055
|
+
activeSubcategory: r.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1054
1056
|
}));
|
|
1055
1057
|
},
|
|
1056
1058
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
@@ -1059,10 +1061,10 @@ const rt = ({
|
|
|
1059
1061
|
height: 48,
|
|
1060
1062
|
color: d,
|
|
1061
1063
|
activeColor: i,
|
|
1062
|
-
children:
|
|
1064
|
+
children: a == null ? void 0 : a.map((r, l) => /* @__PURE__ */ s(
|
|
1063
1065
|
Oe,
|
|
1064
1066
|
{
|
|
1065
|
-
indicator:
|
|
1067
|
+
indicator: r,
|
|
1066
1068
|
fontColor: d,
|
|
1067
1069
|
activeColor: i
|
|
1068
1070
|
},
|
|
@@ -1089,26 +1091,26 @@ const at = ({
|
|
|
1089
1091
|
// onChangeBothType,
|
|
1090
1092
|
activeColor: d
|
|
1091
1093
|
}) => {
|
|
1092
|
-
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory:
|
|
1094
|
+
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: a, fontColor: r } = T((l) => l);
|
|
1093
1095
|
return n && /* @__PURE__ */ s(
|
|
1094
1096
|
Q,
|
|
1095
1097
|
{
|
|
1096
1098
|
onClick: () => {
|
|
1097
1099
|
T.setState((l) => ({
|
|
1098
|
-
activeCategory:
|
|
1100
|
+
activeCategory: a === `id${i}` ? "" : `id${i}`
|
|
1099
1101
|
}));
|
|
1100
1102
|
},
|
|
1101
1103
|
title: i,
|
|
1102
|
-
isOpen:
|
|
1104
|
+
isOpen: a === `id${i}`,
|
|
1103
1105
|
titleFontStyles: { fontSize: 18, fontWeight: "bold" },
|
|
1104
1106
|
showBottomBar: !1,
|
|
1105
|
-
color:
|
|
1107
|
+
color: r,
|
|
1106
1108
|
activeColor: d,
|
|
1107
1109
|
children: o ? o.map((l, c) => /* @__PURE__ */ s(
|
|
1108
1110
|
rt,
|
|
1109
1111
|
{
|
|
1110
1112
|
subcategory: l,
|
|
1111
|
-
fontColor:
|
|
1113
|
+
fontColor: r,
|
|
1112
1114
|
activeColor: d
|
|
1113
1115
|
},
|
|
1114
1116
|
`subcategory-${c}`
|
|
@@ -1116,7 +1118,7 @@ const at = ({
|
|
|
1116
1118
|
Oe,
|
|
1117
1119
|
{
|
|
1118
1120
|
indicator: l,
|
|
1119
|
-
fontColor:
|
|
1121
|
+
fontColor: r,
|
|
1120
1122
|
activeColor: d
|
|
1121
1123
|
},
|
|
1122
1124
|
`indicator-${c}`
|
|
@@ -1140,9 +1142,9 @@ const lt = ({
|
|
|
1140
1142
|
fontColor: o = "#605B56",
|
|
1141
1143
|
//The color of the slider and the checkbox when is checked
|
|
1142
1144
|
inputsColor: t = "#605B56",
|
|
1143
|
-
activeColor:
|
|
1145
|
+
activeColor: a
|
|
1144
1146
|
}) => {
|
|
1145
|
-
const { tematicalFiltersSelected:
|
|
1147
|
+
const { tematicalFiltersSelected: r } = T((c) => c), { t: l } = k();
|
|
1146
1148
|
return L(() => {
|
|
1147
1149
|
o && T.setState(() => ({ fontColor: o }));
|
|
1148
1150
|
}, [o]), L(() => {
|
|
@@ -1153,13 +1155,13 @@ const lt = ({
|
|
|
1153
1155
|
isOpen: d,
|
|
1154
1156
|
title: i ? l(i) : "Tematical filters",
|
|
1155
1157
|
color: o,
|
|
1156
|
-
activeColor:
|
|
1158
|
+
activeColor: a,
|
|
1157
1159
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
|
|
1158
1160
|
at,
|
|
1159
1161
|
{
|
|
1160
1162
|
category: c,
|
|
1161
1163
|
fontColor: o,
|
|
1162
|
-
activeColor:
|
|
1164
|
+
activeColor: a
|
|
1163
1165
|
},
|
|
1164
1166
|
`category-${u}`
|
|
1165
1167
|
))
|
|
@@ -1175,10 +1177,10 @@ lt.propTypes = {
|
|
|
1175
1177
|
inputsColor: e.string,
|
|
1176
1178
|
activeColor: e.string
|
|
1177
1179
|
};
|
|
1178
|
-
const P2 = "_FiltersAmbitContainer_1g9xx_2",
|
|
1180
|
+
const P2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", Z2 = "_FiltersAmbitDescription_1g9xx_22", K2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", H2 = "_warning_1g9xx_37", J = {
|
|
1179
1181
|
FiltersAmbitContainer: P2,
|
|
1180
|
-
FiltersAmbitHeader:
|
|
1181
|
-
FiltersAmbitTitle:
|
|
1182
|
+
FiltersAmbitHeader: j2,
|
|
1183
|
+
FiltersAmbitTitle: z2,
|
|
1182
1184
|
FiltersAmbitDescription: Z2,
|
|
1183
1185
|
FiltersAmbitDescriptionTitle: K2,
|
|
1184
1186
|
warning: H2
|
|
@@ -1188,8 +1190,8 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", z2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1188
1190
|
defaultFilters: i,
|
|
1189
1191
|
indicators: o,
|
|
1190
1192
|
activeColor: t,
|
|
1191
|
-
textColor:
|
|
1192
|
-
backgroundColor:
|
|
1193
|
+
textColor: a,
|
|
1194
|
+
backgroundColor: r,
|
|
1193
1195
|
onChangeAppliedFilters: l,
|
|
1194
1196
|
saveAmbit: c,
|
|
1195
1197
|
namePlaceholder: u,
|
|
@@ -1237,8 +1239,8 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", z2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1237
1239
|
{
|
|
1238
1240
|
title: g("applied_filters"),
|
|
1239
1241
|
isOpen: !0,
|
|
1240
|
-
textColor:
|
|
1241
|
-
backgroundColor:
|
|
1242
|
+
textColor: a || "#fff",
|
|
1243
|
+
backgroundColor: r || "#605B5680",
|
|
1242
1244
|
activeColor: t
|
|
1243
1245
|
}
|
|
1244
1246
|
),
|
|
@@ -1248,7 +1250,7 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", z2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1248
1250
|
{
|
|
1249
1251
|
indicators: o,
|
|
1250
1252
|
inputsColor: t,
|
|
1251
|
-
textColor:
|
|
1253
|
+
textColor: a,
|
|
1252
1254
|
title: "tematical_filters",
|
|
1253
1255
|
activeColor: t
|
|
1254
1256
|
}
|
|
@@ -1280,22 +1282,22 @@ const G2 = "_barChartContainer_d2f1z_2", W2 = {
|
|
|
1280
1282
|
barHeight: i = 25,
|
|
1281
1283
|
gap: o = 23,
|
|
1282
1284
|
fontColor: t = "#605B56",
|
|
1283
|
-
verticalPaddign:
|
|
1284
|
-
horizontalPaddign:
|
|
1285
|
+
verticalPaddign: a = 10,
|
|
1286
|
+
horizontalPaddign: r = 20,
|
|
1285
1287
|
leftPadding: l = 200,
|
|
1286
1288
|
numberOfDivisions: c = 7,
|
|
1287
1289
|
maxValue: u = null
|
|
1288
1290
|
}) => {
|
|
1289
1291
|
const { t: m } = k(), { xScale: h, ticks: _, height: f } = le(() => {
|
|
1290
1292
|
if (n && n.length > 0) {
|
|
1291
|
-
const g = (n == null ? void 0 : n.length) * (i + o) +
|
|
1293
|
+
const g = (n == null ? void 0 : n.length) * (i + o) + a * 2, y = Pe.max(n, (x) => x.value) || 1, C = Pe.scaleLinear().domain([0, u || y]).range([0, d - l]), b = Array.from({ length: c + 1 }, (x, w) => u ? u / c * w : y / c * w);
|
|
1292
1294
|
return {
|
|
1293
1295
|
xScale: C,
|
|
1294
1296
|
ticks: b,
|
|
1295
1297
|
height: g,
|
|
1296
1298
|
width: d,
|
|
1297
|
-
verticalPaddign:
|
|
1298
|
-
horizontalPaddign:
|
|
1299
|
+
verticalPaddign: a,
|
|
1300
|
+
horizontalPaddign: r
|
|
1299
1301
|
};
|
|
1300
1302
|
} else
|
|
1301
1303
|
return { xScale: null, ticks: [], height: 0 };
|
|
@@ -1305,12 +1307,12 @@ const G2 = "_barChartContainer_d2f1z_2", W2 = {
|
|
|
1305
1307
|
c,
|
|
1306
1308
|
i,
|
|
1307
1309
|
o,
|
|
1308
|
-
a,
|
|
1309
1310
|
r,
|
|
1311
|
+
a,
|
|
1310
1312
|
u
|
|
1311
1313
|
]);
|
|
1312
|
-
return /* @__PURE__ */ s("div", { className: W2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d +
|
|
1313
|
-
/* @__PURE__ */ s("g", { transform: `translate(${l +
|
|
1314
|
+
return /* @__PURE__ */ s("div", { className: W2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + r * 2, height: f, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1315
|
+
/* @__PURE__ */ s("g", { transform: `translate(${l + r}, 0)`, children: _.map((g, y) => {
|
|
1314
1316
|
const C = h(g);
|
|
1315
1317
|
return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
|
|
1316
1318
|
/* @__PURE__ */ s(
|
|
@@ -1338,7 +1340,7 @@ const G2 = "_barChartContainer_d2f1z_2", W2 = {
|
|
|
1338
1340
|
return /* @__PURE__ */ p(
|
|
1339
1341
|
"g",
|
|
1340
1342
|
{
|
|
1341
|
-
transform: `translate(${l +
|
|
1343
|
+
transform: `translate(${l + r}, ${b})`,
|
|
1342
1344
|
children: [
|
|
1343
1345
|
/* @__PURE__ */ s(
|
|
1344
1346
|
"text",
|
|
@@ -1391,8 +1393,8 @@ const Y2 = "_graphicContainer_c9zrg_2", Q2 = "_titleContainer_c9zrg_14", Ze = {
|
|
|
1391
1393
|
containerStyle: i,
|
|
1392
1394
|
borderColor: o = "#605B56",
|
|
1393
1395
|
title: t = "Graphic Title",
|
|
1394
|
-
fontColor:
|
|
1395
|
-
maxValue:
|
|
1396
|
+
fontColor: a = "#605B56",
|
|
1397
|
+
maxValue: r = null,
|
|
1396
1398
|
numberOfDivisions: l = 7,
|
|
1397
1399
|
leftPadding: c = 200
|
|
1398
1400
|
}) => {
|
|
@@ -1412,8 +1414,8 @@ const Y2 = "_graphicContainer_c9zrg_2", Q2 = "_titleContainer_c9zrg_14", Ze = {
|
|
|
1412
1414
|
{
|
|
1413
1415
|
data: n,
|
|
1414
1416
|
width: d,
|
|
1415
|
-
fontColor:
|
|
1416
|
-
maxValue:
|
|
1417
|
+
fontColor: a,
|
|
1418
|
+
maxValue: r,
|
|
1417
1419
|
numberOfDivisions: l,
|
|
1418
1420
|
leftPadding: c
|
|
1419
1421
|
}
|
|
@@ -1460,8 +1462,8 @@ const J2 = "_indicatorsCategory_1cu33_2", e0 = "_title_1cu33_5", t0 = "_list_1cu
|
|
|
1460
1462
|
activeColor: i,
|
|
1461
1463
|
defaultColor: o = "#92898A",
|
|
1462
1464
|
activeIndicator: t,
|
|
1463
|
-
activeIndicatorType:
|
|
1464
|
-
onClickIndicator:
|
|
1465
|
+
activeIndicatorType: a,
|
|
1466
|
+
onClickIndicator: r,
|
|
1465
1467
|
multiple: l = !1,
|
|
1466
1468
|
onChangeType: c
|
|
1467
1469
|
}) => {
|
|
@@ -1485,8 +1487,8 @@ const J2 = "_indicatorsCategory_1cu33_2", e0 = "_title_1cu33_5", t0 = "_list_1cu
|
|
|
1485
1487
|
{
|
|
1486
1488
|
className: `${F.customRadious}`,
|
|
1487
1489
|
style: {
|
|
1488
|
-
backgroundColor:
|
|
1489
|
-
borderColor:
|
|
1490
|
+
backgroundColor: a === "cat" ? i : "transparent",
|
|
1491
|
+
borderColor: a === "cat" ? i : o
|
|
1490
1492
|
}
|
|
1491
1493
|
}
|
|
1492
1494
|
),
|
|
@@ -1495,7 +1497,7 @@ const J2 = "_indicatorsCategory_1cu33_2", e0 = "_title_1cu33_5", t0 = "_list_1cu
|
|
|
1495
1497
|
{
|
|
1496
1498
|
className: F.optionText,
|
|
1497
1499
|
style: {
|
|
1498
|
-
color:
|
|
1500
|
+
color: a === "cat" ? i : o
|
|
1499
1501
|
},
|
|
1500
1502
|
children: u("indicators.cat")
|
|
1501
1503
|
}
|
|
@@ -1514,8 +1516,8 @@ const J2 = "_indicatorsCategory_1cu33_2", e0 = "_title_1cu33_5", t0 = "_list_1cu
|
|
|
1514
1516
|
{
|
|
1515
1517
|
className: `${F.customRadious}`,
|
|
1516
1518
|
style: {
|
|
1517
|
-
backgroundColor:
|
|
1518
|
-
borderColor:
|
|
1519
|
+
backgroundColor: a === "abs" ? i : "transparent",
|
|
1520
|
+
borderColor: a === "abs" ? i : o
|
|
1519
1521
|
}
|
|
1520
1522
|
}
|
|
1521
1523
|
),
|
|
@@ -1524,7 +1526,7 @@ const J2 = "_indicatorsCategory_1cu33_2", e0 = "_title_1cu33_5", t0 = "_list_1cu
|
|
|
1524
1526
|
{
|
|
1525
1527
|
className: F.optionText,
|
|
1526
1528
|
style: {
|
|
1527
|
-
color:
|
|
1529
|
+
color: a === "abs" ? i : o
|
|
1528
1530
|
},
|
|
1529
1531
|
children: u("indicators.abs")
|
|
1530
1532
|
}
|
|
@@ -1553,7 +1555,7 @@ const J2 = "_indicatorsCategory_1cu33_2", e0 = "_title_1cu33_5", t0 = "_list_1cu
|
|
|
1553
1555
|
"div",
|
|
1554
1556
|
{
|
|
1555
1557
|
className: F.indicatorNameContainer,
|
|
1556
|
-
onClick: () =>
|
|
1558
|
+
onClick: () => r({ indicator: n }),
|
|
1557
1559
|
children: [
|
|
1558
1560
|
/* @__PURE__ */ s(
|
|
1559
1561
|
"div",
|
|
@@ -1600,8 +1602,8 @@ const p0 = "_indicatorsSubCategory_1dzsi_2", m0 = "_list_1dzsi_8", Ke = {
|
|
|
1600
1602
|
defaultColor: i,
|
|
1601
1603
|
activeColor: o,
|
|
1602
1604
|
activeSubCategory: t,
|
|
1603
|
-
onClickSubCategory:
|
|
1604
|
-
id:
|
|
1605
|
+
onClickSubCategory: a,
|
|
1606
|
+
id: r,
|
|
1605
1607
|
activeIndicator: l,
|
|
1606
1608
|
onClickIndicator: c,
|
|
1607
1609
|
multiple: u,
|
|
@@ -1610,8 +1612,8 @@ const p0 = "_indicatorsSubCategory_1dzsi_2", m0 = "_list_1dzsi_8", Ke = {
|
|
|
1610
1612
|
}) => {
|
|
1611
1613
|
const { t: _ } = k(), [f, g] = $(!1);
|
|
1612
1614
|
return L(() => {
|
|
1613
|
-
g(t ==
|
|
1614
|
-
}, [t,
|
|
1615
|
+
g(t == r);
|
|
1616
|
+
}, [t, r]), /* @__PURE__ */ p(
|
|
1615
1617
|
Ie.div,
|
|
1616
1618
|
{
|
|
1617
1619
|
className: Ke.indicatorsSubCategory,
|
|
@@ -1619,7 +1621,7 @@ const p0 = "_indicatorsSubCategory_1dzsi_2", m0 = "_list_1dzsi_8", Ke = {
|
|
|
1619
1621
|
animate: { height: f ? "auto" : "43px" },
|
|
1620
1622
|
transition: { duration: 0.4 },
|
|
1621
1623
|
children: [
|
|
1622
|
-
/* @__PURE__ */ s("button", { onClick: () => r
|
|
1624
|
+
/* @__PURE__ */ s("button", { onClick: () => a(r), children: /* @__PURE__ */ p("h3", { style: { color: f ? o : i }, children: [
|
|
1623
1625
|
/* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
|
|
1624
1626
|
/* @__PURE__ */ s(
|
|
1625
1627
|
"span",
|
|
@@ -1665,8 +1667,8 @@ const ut = ({
|
|
|
1665
1667
|
activeColor: i,
|
|
1666
1668
|
defaultColor: o,
|
|
1667
1669
|
onClickCategory: t,
|
|
1668
|
-
activeCategory:
|
|
1669
|
-
activeSubCategory:
|
|
1670
|
+
activeCategory: a,
|
|
1671
|
+
activeSubCategory: r,
|
|
1670
1672
|
onClickSubCategory: l,
|
|
1671
1673
|
activeIndicator: c,
|
|
1672
1674
|
onClickIndicator: u,
|
|
@@ -1677,8 +1679,8 @@ const ut = ({
|
|
|
1677
1679
|
var C;
|
|
1678
1680
|
const { t: f } = k(), [g, y] = $(!1);
|
|
1679
1681
|
return L(() => {
|
|
1680
|
-
y(
|
|
1681
|
-
}, [
|
|
1682
|
+
y(a === d);
|
|
1683
|
+
}, [a, d]), /* @__PURE__ */ p(
|
|
1682
1684
|
Ie.div,
|
|
1683
1685
|
{
|
|
1684
1686
|
className: we.indicatorsCategory,
|
|
@@ -1706,7 +1708,7 @@ const ut = ({
|
|
|
1706
1708
|
dt,
|
|
1707
1709
|
{
|
|
1708
1710
|
id: x,
|
|
1709
|
-
activeSubCategory:
|
|
1711
|
+
activeSubCategory: r,
|
|
1710
1712
|
subcName: b,
|
|
1711
1713
|
onClickSubCategory: l,
|
|
1712
1714
|
activeIndicator: c,
|
|
@@ -1765,9 +1767,9 @@ const h0 = "_indicatorsList_fklyu_2", g0 = "_title_fklyu_6", He = {
|
|
|
1765
1767
|
// Selección multiple
|
|
1766
1768
|
multiple: t = !1,
|
|
1767
1769
|
// Si multiple es true, debe ser un array de strings, sino un string
|
|
1768
|
-
defaultValue:
|
|
1770
|
+
defaultValue: a = null,
|
|
1769
1771
|
//si el indicador es tipo "both" cuando se cambia el tipo
|
|
1770
|
-
changeIndType:
|
|
1772
|
+
changeIndType: r,
|
|
1771
1773
|
activeIndicatorType: l
|
|
1772
1774
|
}) => {
|
|
1773
1775
|
const { t: c } = k(), [u, m] = $(), [h, _] = $(), [f, g] = $(), y = (v) => {
|
|
@@ -1789,24 +1791,24 @@ const h0 = "_indicatorsList_fklyu_2", g0 = "_title_fklyu_6", He = {
|
|
|
1789
1791
|
) ? N.filter(
|
|
1790
1792
|
(S) => S.name != String(v.name)
|
|
1791
1793
|
) : [...N, v]
|
|
1792
|
-
), v.type == "both" &&
|
|
1794
|
+
), v.type == "both" && r("cat");
|
|
1793
1795
|
}
|
|
1794
1796
|
};
|
|
1795
1797
|
L(() => {
|
|
1796
1798
|
console.log("activeindicator changed to: ", f), o && typeof o == "function" && f && o({ activeIndicator: f });
|
|
1797
1799
|
}, [f]), _t(() => {
|
|
1798
|
-
if (
|
|
1799
|
-
if (t &&
|
|
1800
|
+
if (a && !f)
|
|
1801
|
+
if (t && a && Array.isArray(a)) {
|
|
1800
1802
|
let v = f && f.length > 0 ? [...f] : [];
|
|
1801
|
-
g([...v, ...
|
|
1803
|
+
g([...v, ...a]), w(a[0].name);
|
|
1802
1804
|
} else
|
|
1803
|
-
x(
|
|
1805
|
+
x(a), w(a.name);
|
|
1804
1806
|
}, []);
|
|
1805
1807
|
const w = (v) => {
|
|
1806
1808
|
const N = n.find((S) => {
|
|
1807
1809
|
if (S.subcategories) {
|
|
1808
1810
|
let D = S.subcategories.find(
|
|
1809
|
-
(
|
|
1811
|
+
(j) => j.indicators.find((de) => de.name == v)
|
|
1810
1812
|
);
|
|
1811
1813
|
if (D)
|
|
1812
1814
|
return _(D.subcategory), D;
|
|
@@ -1832,7 +1834,7 @@ const h0 = "_indicatorsList_fklyu_2", g0 = "_title_fklyu_6", He = {
|
|
|
1832
1834
|
defaultColor: i,
|
|
1833
1835
|
multiple: t,
|
|
1834
1836
|
onChange: o,
|
|
1835
|
-
onChangeType:
|
|
1837
|
+
onChangeType: r,
|
|
1836
1838
|
activeIndicatorType: l
|
|
1837
1839
|
},
|
|
1838
1840
|
`categoryKey${N}`
|
|
@@ -1857,8 +1859,8 @@ const f0 = "_langSelector_o9enq_2", b0 = "_currentLang_o9enq_14", y0 = "_arrow_o
|
|
|
1857
1859
|
prevImg: _0,
|
|
1858
1860
|
langMenu: v0
|
|
1859
1861
|
}, x0 = ({ langs: n, arrow: d, imgPrev: i }) => {
|
|
1860
|
-
const [o, t] = $(!1), { i18n:
|
|
1861
|
-
|
|
1862
|
+
const [o, t] = $(!1), { i18n: a } = k(), r = n.find((c) => c.code == a.language), l = (c) => {
|
|
1863
|
+
a.changeLanguage(c), t(!1);
|
|
1862
1864
|
};
|
|
1863
1865
|
return /* @__PURE__ */ p("div", { className: ee.langSelector, children: [
|
|
1864
1866
|
/* @__PURE__ */ p(
|
|
@@ -1870,7 +1872,7 @@ const f0 = "_langSelector_o9enq_2", b0 = "_currentLang_o9enq_14", y0 = "_arrow_o
|
|
|
1870
1872
|
},
|
|
1871
1873
|
children: [
|
|
1872
1874
|
i && /* @__PURE__ */ s("img", { className: ee.prevImg, src: i }),
|
|
1873
|
-
(
|
|
1875
|
+
(r == null ? void 0 : r.titleSelected) || (r == null ? void 0 : r.title),
|
|
1874
1876
|
/* @__PURE__ */ s("img", { src: d, className: ee.arrow })
|
|
1875
1877
|
]
|
|
1876
1878
|
}
|
|
@@ -1878,7 +1880,7 @@ const f0 = "_langSelector_o9enq_2", b0 = "_currentLang_o9enq_14", y0 = "_arrow_o
|
|
|
1878
1880
|
o && /* @__PURE__ */ s("div", { className: ee.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1879
1881
|
"button",
|
|
1880
1882
|
{
|
|
1881
|
-
className: (
|
|
1883
|
+
className: (r == null ? void 0 : r.code) == c.code ? ee.active : "",
|
|
1882
1884
|
onClick: () => l(c.code),
|
|
1883
1885
|
children: c.title
|
|
1884
1886
|
},
|
|
@@ -1931,10 +1933,10 @@ const w0 = "_legendContainer_qs4x9_3", N0 = "_closeButton_qs4x9_31", k0 = "_titl
|
|
|
1931
1933
|
//Should be an object with {maxColor, minColor, maxValue, minValue}
|
|
1932
1934
|
//If this has is not null or undefined, the legendList values wont be displayed.
|
|
1933
1935
|
//It will display only the absolute value indicator.
|
|
1934
|
-
absoluteValue:
|
|
1936
|
+
absoluteValue: a,
|
|
1935
1937
|
//Function to be called when the button is clicked (optional).
|
|
1936
1938
|
//If this is null or undefined the button wont be displayed.
|
|
1937
|
-
onClickMoreInfo:
|
|
1939
|
+
onClickMoreInfo: r,
|
|
1938
1940
|
//If not passed it will read t("moreInformation")
|
|
1939
1941
|
buttonTitle: l,
|
|
1940
1942
|
onClickClose: c
|
|
@@ -1957,31 +1959,31 @@ const w0 = "_legendContainer_qs4x9_3", N0 = "_closeButton_qs4x9_31", k0 = "_titl
|
|
|
1957
1959
|
] }, d)) }) }),
|
|
1958
1960
|
/* @__PURE__ */ s("h3", { className: M.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Ae, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
|
|
1959
1961
|
/* @__PURE__ */ p("div", { className: M.legendListContainer, children: [
|
|
1960
|
-
|
|
1962
|
+
a ? /* @__PURE__ */ p("div", { className: M.absoluteValueContainer, children: [
|
|
1961
1963
|
/* @__PURE__ */ s(
|
|
1962
1964
|
"div",
|
|
1963
1965
|
{
|
|
1964
1966
|
className: M.absoluteValueColor,
|
|
1965
1967
|
style: {
|
|
1966
|
-
background: `linear-gradient(to bottom, ${
|
|
1968
|
+
background: `linear-gradient(to bottom, ${a.maxColor} 0%, ${a.midColor ? `${a.midColor} 50%,` : ""} ${a.minColor} 100%)`
|
|
1967
1969
|
}
|
|
1968
1970
|
}
|
|
1969
1971
|
),
|
|
1970
1972
|
/* @__PURE__ */ p("div", { className: M.absoluteValueText, children: [
|
|
1971
1973
|
/* @__PURE__ */ p("span", { children: [
|
|
1972
|
-
|
|
1974
|
+
a.maxValue,
|
|
1973
1975
|
" ",
|
|
1974
|
-
u(
|
|
1976
|
+
u(a.unit)
|
|
1975
1977
|
] }),
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
+
a.midValue && /* @__PURE__ */ p("span", { children: [
|
|
1979
|
+
a.midValue,
|
|
1978
1980
|
" ",
|
|
1979
|
-
u(
|
|
1981
|
+
u(a.unit)
|
|
1980
1982
|
] }),
|
|
1981
1983
|
/* @__PURE__ */ p("span", { children: [
|
|
1982
|
-
|
|
1984
|
+
a.minValue,
|
|
1983
1985
|
" ",
|
|
1984
|
-
u(
|
|
1986
|
+
u(a.unit)
|
|
1985
1987
|
] })
|
|
1986
1988
|
] })
|
|
1987
1989
|
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: M.gridContainer, children: o.map(
|
|
@@ -1999,20 +2001,20 @@ const w0 = "_legendContainer_qs4x9_3", N0 = "_closeButton_qs4x9_31", k0 = "_titl
|
|
|
1999
2001
|
] })
|
|
2000
2002
|
] }, d)
|
|
2001
2003
|
) }),
|
|
2002
|
-
|
|
2004
|
+
a.noDataColor && /* @__PURE__ */ p("div", { className: M.noDataContainer, children: [
|
|
2003
2005
|
/* @__PURE__ */ s(
|
|
2004
2006
|
"div",
|
|
2005
2007
|
{
|
|
2006
2008
|
className: M.noData,
|
|
2007
2009
|
style: {
|
|
2008
|
-
background:
|
|
2010
|
+
background: a.noDataColor
|
|
2009
2011
|
}
|
|
2010
2012
|
}
|
|
2011
2013
|
),
|
|
2012
|
-
/* @__PURE__ */ s("div", { className: M.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(
|
|
2014
|
+
/* @__PURE__ */ s("div", { className: M.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(a.noDataText) }) })
|
|
2013
2015
|
] })
|
|
2014
2016
|
] }),
|
|
2015
|
-
|
|
2017
|
+
r && /* @__PURE__ */ s("button", { className: M.moreInfoContainer, onClick: r, children: l || u("moreInformation") })
|
|
2016
2018
|
]
|
|
2017
2019
|
}
|
|
2018
2020
|
);
|
|
@@ -2056,18 +2058,18 @@ E0.propTypes = {
|
|
|
2056
2058
|
href: e.string,
|
|
2057
2059
|
className: e.string
|
|
2058
2060
|
};
|
|
2059
|
-
const P0 = "_mapContainer_84pkf_2",
|
|
2061
|
+
const P0 = "_mapContainer_84pkf_2", j0 = {
|
|
2060
2062
|
mapContainer: P0
|
|
2061
2063
|
};
|
|
2062
2064
|
xt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2063
|
-
const
|
|
2065
|
+
const z0 = ({
|
|
2064
2066
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2065
2067
|
maxZoom: d = 17,
|
|
2066
2068
|
minZoom: i = 8,
|
|
2067
2069
|
mapStyle: o,
|
|
2068
2070
|
firstSymbolLayer: t,
|
|
2069
|
-
cssProps:
|
|
2070
|
-
onClick:
|
|
2071
|
+
cssProps: a = "",
|
|
2072
|
+
onClick: r = "",
|
|
2071
2073
|
interactiveLayers: l = [],
|
|
2072
2074
|
popUp: c = !1,
|
|
2073
2075
|
sources: u = [],
|
|
@@ -2081,7 +2083,7 @@ const j0 = ({
|
|
|
2081
2083
|
b.type == "symbol" && b.id != "professionals" && (g ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
|
|
2082
2084
|
});
|
|
2083
2085
|
}
|
|
2084
|
-
}, [g]), /* @__PURE__ */ s("div", { className: `${
|
|
2086
|
+
}, [g]), /* @__PURE__ */ s("div", { className: `${j0.mapContainer}`, style: a, children: /* @__PURE__ */ p(
|
|
2085
2087
|
kt,
|
|
2086
2088
|
{
|
|
2087
2089
|
initialViewState: n,
|
|
@@ -2090,7 +2092,7 @@ const j0 = ({
|
|
|
2090
2092
|
maxZoom: d,
|
|
2091
2093
|
minZoom: i,
|
|
2092
2094
|
mapStyle: o,
|
|
2093
|
-
onClick:
|
|
2095
|
+
onClick: r,
|
|
2094
2096
|
interactiveLayerIds: l,
|
|
2095
2097
|
children: [
|
|
2096
2098
|
u.length && u.map((y, C) => /* @__PURE__ */ s(
|
|
@@ -2125,7 +2127,7 @@ const j0 = ({
|
|
|
2125
2127
|
}
|
|
2126
2128
|
) });
|
|
2127
2129
|
};
|
|
2128
|
-
|
|
2130
|
+
z0.propTypes = {
|
|
2129
2131
|
initialView: e.shape({
|
|
2130
2132
|
latitude: e.number.isRequired,
|
|
2131
2133
|
longitude: e.number.isRequired,
|
|
@@ -2194,8 +2196,8 @@ const Z0 = "_mapContainer_b0pyr_3", K0 = {
|
|
|
2194
2196
|
minZoom: i = 8,
|
|
2195
2197
|
mapStyle: o,
|
|
2196
2198
|
firstSymbolLayer: t,
|
|
2197
|
-
cssProps:
|
|
2198
|
-
onClick:
|
|
2199
|
+
cssProps: a = {},
|
|
2200
|
+
onClick: r = "",
|
|
2199
2201
|
interactiveLayers: l = [],
|
|
2200
2202
|
sources: c = [],
|
|
2201
2203
|
layers: u = [],
|
|
@@ -2218,7 +2220,7 @@ const Z0 = "_mapContainer_b0pyr_3", K0 = {
|
|
|
2218
2220
|
return ye.addProtocol("pmtiles", y.tile), () => {
|
|
2219
2221
|
ye.removeProtocol("pmtiles");
|
|
2220
2222
|
};
|
|
2221
|
-
}, []), /* @__PURE__ */ s("div", { className: `${K0.mapContainer}`, style:
|
|
2223
|
+
}, []), /* @__PURE__ */ s("div", { className: `${K0.mapContainer}`, style: a && a, children: /* @__PURE__ */ p(
|
|
2222
2224
|
Lt,
|
|
2223
2225
|
{
|
|
2224
2226
|
mapLib: ye,
|
|
@@ -2228,7 +2230,7 @@ const Z0 = "_mapContainer_b0pyr_3", K0 = {
|
|
|
2228
2230
|
maxZoom: d,
|
|
2229
2231
|
minZoom: i,
|
|
2230
2232
|
mapStyle: o,
|
|
2231
|
-
onClick:
|
|
2233
|
+
onClick: r,
|
|
2232
2234
|
interactiveLayerIds: l,
|
|
2233
2235
|
children: [
|
|
2234
2236
|
c.length && c.map((y, C) => /* @__PURE__ */ s(
|
|
@@ -2319,14 +2321,14 @@ const Y0 = "_sectionBar_1egwc_2", Q0 = "_leftContent_1egwc_14", X0 = "_textConta
|
|
|
2319
2321
|
subtitle: i,
|
|
2320
2322
|
rightContent: o,
|
|
2321
2323
|
mainColor: t,
|
|
2322
|
-
width:
|
|
2324
|
+
width: a
|
|
2323
2325
|
}) => {
|
|
2324
|
-
const { t:
|
|
2325
|
-
return /* @__PURE__ */ p("div", { className: U.sectionBar, style: { width:
|
|
2326
|
+
const { t: r } = k();
|
|
2327
|
+
return /* @__PURE__ */ p("div", { className: U.sectionBar, style: { width: a && a }, children: [
|
|
2326
2328
|
/* @__PURE__ */ p("div", { className: U.leftContent, children: [
|
|
2327
2329
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: U.icon }),
|
|
2328
2330
|
/* @__PURE__ */ p("div", { className: U.textContainer, children: [
|
|
2329
|
-
/* @__PURE__ */ s("div", { className: U.title, children:
|
|
2331
|
+
/* @__PURE__ */ s("div", { className: U.title, children: r(d) }),
|
|
2330
2332
|
i && /* @__PURE__ */ s("div", { className: U.subtitle, children: i })
|
|
2331
2333
|
] })
|
|
2332
2334
|
] }),
|
|
@@ -2363,8 +2365,8 @@ const Y0 = "_sectionBar_1egwc_2", Q0 = "_leftContent_1egwc_14", X0 = "_textConta
|
|
|
2363
2365
|
playButton: an,
|
|
2364
2366
|
sliderOpen: ln,
|
|
2365
2367
|
sliderResults: cn
|
|
2366
|
-
}, dn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen:
|
|
2367
|
-
const [
|
|
2368
|
+
}, dn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: a = !1 }) => {
|
|
2369
|
+
const [r, l] = $(d), c = Nt(), u = (b, x) => {
|
|
2368
2370
|
l(x), c(Ne(x - 2e3));
|
|
2369
2371
|
}, [m, h] = $(!1), _ = () => {
|
|
2370
2372
|
h(!0);
|
|
@@ -2385,7 +2387,7 @@ const Y0 = "_sectionBar_1egwc_2", Q0 = "_leftContent_1egwc_14", X0 = "_textConta
|
|
|
2385
2387
|
}
|
|
2386
2388
|
}, [x]);
|
|
2387
2389
|
})(() => {
|
|
2388
|
-
m && (
|
|
2390
|
+
m && (r != 2050 ? (l(r + 1), c(Ne(r - 2e3 + 1))) : (l(2025), c(Ne(25))));
|
|
2389
2391
|
}, 1e3);
|
|
2390
2392
|
const y = Rt({
|
|
2391
2393
|
palette: {
|
|
@@ -2419,7 +2421,7 @@ const Y0 = "_sectionBar_1egwc_2", Q0 = "_leftContent_1egwc_14", X0 = "_textConta
|
|
|
2419
2421
|
qt,
|
|
2420
2422
|
{
|
|
2421
2423
|
sx: { width: 400 },
|
|
2422
|
-
className: `${n ? se.sliderResults : se.slider} ${
|
|
2424
|
+
className: `${n ? se.sliderResults : se.slider} ${a ? se.sliderOpen : ""}`,
|
|
2423
2425
|
style: { zIndex: t },
|
|
2424
2426
|
children: [
|
|
2425
2427
|
i,
|
|
@@ -2427,7 +2429,7 @@ const Y0 = "_sectionBar_1egwc_2", Q0 = "_leftContent_1egwc_14", X0 = "_textConta
|
|
|
2427
2429
|
Ot,
|
|
2428
2430
|
{
|
|
2429
2431
|
"aria-label": "TimeSlider",
|
|
2430
|
-
value:
|
|
2432
|
+
value: r,
|
|
2431
2433
|
valueLabelDisplay: "on",
|
|
2432
2434
|
step: 1,
|
|
2433
2435
|
marks: C,
|
|
@@ -2462,22 +2464,22 @@ const un = "_TopNavMenuContainer_12mp4_2", pn = "_topNavOptions_12mp4_13", mn =
|
|
|
2462
2464
|
containerStyles: d,
|
|
2463
2465
|
borderColor: i = "red",
|
|
2464
2466
|
textColor: o = "white",
|
|
2465
|
-
onChangeNavLink: t = (
|
|
2466
|
-
console.log("Changed NavLink",
|
|
2467
|
+
onChangeNavLink: t = (a) => {
|
|
2468
|
+
console.log("Changed NavLink", a);
|
|
2467
2469
|
}
|
|
2468
2470
|
}) => {
|
|
2469
|
-
const { t:
|
|
2470
|
-
return /* @__PURE__ */ s("div", { className: ke.TopNavMenuContainer, style: { ...d }, children: n.map((
|
|
2471
|
+
const { t: a } = k();
|
|
2472
|
+
return /* @__PURE__ */ s("div", { className: ke.TopNavMenuContainer, style: { ...d }, children: n.map((r, l) => /* @__PURE__ */ s(
|
|
2471
2473
|
Pt,
|
|
2472
2474
|
{
|
|
2473
|
-
to:
|
|
2475
|
+
to: r.url,
|
|
2474
2476
|
className: ({ isActive: c }) => `${ke.topNavOptions} ${c ? ke.active : ""} `,
|
|
2475
|
-
onClick: () => t(
|
|
2477
|
+
onClick: () => t(r.url),
|
|
2476
2478
|
style: ({ isActive: c }) => ({
|
|
2477
2479
|
color: o,
|
|
2478
2480
|
borderBottom: c ? `5px solid ${i}` : "5px solid transparent"
|
|
2479
2481
|
}),
|
|
2480
|
-
children: r
|
|
2482
|
+
children: a(r.name)
|
|
2481
2483
|
},
|
|
2482
2484
|
l
|
|
2483
2485
|
)) });
|
|
@@ -2500,8 +2502,8 @@ const gn = "_LogInButton_1vxj5_2", Cn = {
|
|
|
2500
2502
|
loggedInLabel: i = "Log out",
|
|
2501
2503
|
containerStyles: o,
|
|
2502
2504
|
userName: t = "",
|
|
2503
|
-
isLoggedIn:
|
|
2504
|
-
onClickLogIn:
|
|
2505
|
+
isLoggedIn: a = !1,
|
|
2506
|
+
onClickLogIn: r = () => {
|
|
2505
2507
|
console.log("Login clicked");
|
|
2506
2508
|
},
|
|
2507
2509
|
onClickLogOut: l = () => {
|
|
@@ -2514,8 +2516,8 @@ const gn = "_LogInButton_1vxj5_2", Cn = {
|
|
|
2514
2516
|
{
|
|
2515
2517
|
style: { ...o },
|
|
2516
2518
|
className: `${Cn.LogInButton} link ${n}`,
|
|
2517
|
-
onClick:
|
|
2518
|
-
children:
|
|
2519
|
+
onClick: a ? l : r,
|
|
2520
|
+
children: a ? t || c(i) : c(d)
|
|
2519
2521
|
}
|
|
2520
2522
|
);
|
|
2521
2523
|
};
|
|
@@ -2577,8 +2579,8 @@ const En = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2577
2579
|
isActive: i,
|
|
2578
2580
|
activeColor: o,
|
|
2579
2581
|
fontColor: t,
|
|
2580
|
-
moreInfo:
|
|
2581
|
-
columns:
|
|
2582
|
+
moreInfo: a,
|
|
2583
|
+
columns: r,
|
|
2582
2584
|
elementButtons: l,
|
|
2583
2585
|
processTooltip: c,
|
|
2584
2586
|
defaultTooltip: u
|
|
@@ -2591,7 +2593,7 @@ const En = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2591
2593
|
style: { borderBottom: `1px solid ${t}` },
|
|
2592
2594
|
children: [
|
|
2593
2595
|
/* @__PURE__ */ p("div", { className: O.elementNameDate, onClick: () => d(_), children: [
|
|
2594
|
-
|
|
2596
|
+
r.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ p("div", { className: O.elementName, children: [
|
|
2595
2597
|
i ? /* @__PURE__ */ s(qn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2596
2598
|
"img",
|
|
2597
2599
|
{
|
|
@@ -2601,9 +2603,9 @@ const En = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2601
2603
|
),
|
|
2602
2604
|
/* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: m })
|
|
2603
2605
|
] }) }),
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2606
|
+
r.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: h ? new Date(h).toLocaleDateString() : "" }),
|
|
2607
|
+
r.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2608
|
+
r.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2607
2609
|
] }),
|
|
2608
2610
|
/* @__PURE__ */ p("div", { className: O.elementButtons, children: [
|
|
2609
2611
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
@@ -2627,13 +2629,13 @@ const En = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2627
2629
|
/* @__PURE__ */ s(Y, { text: u, position: "left" })
|
|
2628
2630
|
] })
|
|
2629
2631
|
] }),
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
+
a && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2633
|
+
a && /* @__PURE__ */ p("div", { className: O.moreInfoContainer, children: [
|
|
2632
2634
|
/* @__PURE__ */ p("div", { className: O.moreInfo, onClick: () => y(!g), children: [
|
|
2633
2635
|
/* @__PURE__ */ s("span", { children: g ? "-" : "+" }),
|
|
2634
|
-
C(
|
|
2636
|
+
C(a.label)
|
|
2635
2637
|
] }),
|
|
2636
|
-
|
|
2638
|
+
a && g && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[a.info] })
|
|
2637
2639
|
] })
|
|
2638
2640
|
]
|
|
2639
2641
|
}
|
|
@@ -2680,9 +2682,9 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2680
2682
|
fontColor: i = "#605B56",
|
|
2681
2683
|
activeColor: o,
|
|
2682
2684
|
buttonContainerStyles: t = {},
|
|
2683
|
-
containerStyles:
|
|
2684
|
-
newElementButton:
|
|
2685
|
-
//{label: 'text', onClick: function()}/null
|
|
2685
|
+
containerStyles: a = {},
|
|
2686
|
+
newElementButton: r,
|
|
2687
|
+
//{label: 'text', onClick: function(), disabled}/null
|
|
2686
2688
|
onClickElement: l = (f) => console.log(`OnCLickElement: ${f}`),
|
|
2687
2689
|
columns: c,
|
|
2688
2690
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
@@ -2709,7 +2711,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2709
2711
|
"div",
|
|
2710
2712
|
{
|
|
2711
2713
|
className: P.elementSelector,
|
|
2712
|
-
style: { color: i, ...
|
|
2714
|
+
style: { color: i, ...a },
|
|
2713
2715
|
children: [
|
|
2714
2716
|
/* @__PURE__ */ p(
|
|
2715
2717
|
"div",
|
|
@@ -2749,13 +2751,14 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2749
2751
|
},
|
|
2750
2752
|
`elementKey${b.id}`
|
|
2751
2753
|
)) }),
|
|
2752
|
-
|
|
2754
|
+
r && /* @__PURE__ */ s("div", { className: P.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2753
2755
|
fe,
|
|
2754
2756
|
{
|
|
2755
2757
|
style: { ...t },
|
|
2756
|
-
onClick:
|
|
2758
|
+
onClick: r.onClick,
|
|
2757
2759
|
borderColor: "grey",
|
|
2758
|
-
|
|
2760
|
+
disabled: r.disabled || !1,
|
|
2761
|
+
children: f(r.label)
|
|
2759
2762
|
}
|
|
2760
2763
|
) })
|
|
2761
2764
|
]
|
|
@@ -2813,9 +2816,9 @@ const ge = {
|
|
|
2813
2816
|
password: "password",
|
|
2814
2817
|
radioList: "radioList",
|
|
2815
2818
|
select: "select"
|
|
2816
|
-
},
|
|
2817
|
-
textInputContainer:
|
|
2818
|
-
labelContainer:
|
|
2819
|
+
}, jn = "_textInputContainer_1o3iy_2", zn = "_labelContainer_1o3iy_5", Zn = "_inputContainer_1o3iy_8", Kn = "_showPasswordButton_1o3iy_14", Hn = "_forgotPassButton_1o3iy_26", re = {
|
|
2820
|
+
textInputContainer: jn,
|
|
2821
|
+
labelContainer: zn,
|
|
2819
2822
|
inputContainer: Zn,
|
|
2820
2823
|
showPasswordButton: Kn,
|
|
2821
2824
|
forgotPassButton: Hn
|
|
@@ -2844,15 +2847,15 @@ function ht(n) {
|
|
|
2844
2847
|
var gt = (n) => /^\w*$/.test(n), Ve = (n) => n === void 0, t1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], Ct = (n) => t1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), A = (n, d, i) => {
|
|
2845
2848
|
if (!d || !ce(n))
|
|
2846
2849
|
return i;
|
|
2847
|
-
const o = (gt(d) ? [d] : Ct(d)).reduce((t,
|
|
2850
|
+
const o = (gt(d) ? [d] : Ct(d)).reduce((t, a) => mt(t) ? t : t[a], n);
|
|
2848
2851
|
return Ve(o) || o === n ? Ve(n[d]) ? i : n[d] : o;
|
|
2849
2852
|
}, Be = (n) => typeof n == "boolean", Qe = (n, d, i) => {
|
|
2850
2853
|
let o = -1;
|
|
2851
|
-
const t = gt(d) ? [d] : Ct(d),
|
|
2852
|
-
for (; ++o <
|
|
2854
|
+
const t = gt(d) ? [d] : Ct(d), a = t.length, r = a - 1;
|
|
2855
|
+
for (; ++o < a; ) {
|
|
2853
2856
|
const l = t[o];
|
|
2854
2857
|
let c = i;
|
|
2855
|
-
if (o !==
|
|
2858
|
+
if (o !== r) {
|
|
2856
2859
|
const u = n[l];
|
|
2857
2860
|
c = ce(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2858
2861
|
}
|
|
@@ -2873,18 +2876,18 @@ var n1 = (n, d, i, o = !0) => {
|
|
|
2873
2876
|
const t = {
|
|
2874
2877
|
defaultValues: d._defaultValues
|
|
2875
2878
|
};
|
|
2876
|
-
for (const
|
|
2877
|
-
Object.defineProperty(t,
|
|
2879
|
+
for (const a in n)
|
|
2880
|
+
Object.defineProperty(t, a, {
|
|
2878
2881
|
get: () => {
|
|
2879
|
-
const
|
|
2880
|
-
return d._proxyFormState[
|
|
2882
|
+
const r = a;
|
|
2883
|
+
return d._proxyFormState[r] !== Je.all && (d._proxyFormState[r] = !o || Je.all), i && (i[r] = !0), n[r];
|
|
2881
2884
|
}
|
|
2882
2885
|
});
|
|
2883
2886
|
return t;
|
|
2884
2887
|
};
|
|
2885
2888
|
const bt = typeof window < "u" ? ne.useLayoutEffect : ne.useEffect;
|
|
2886
2889
|
function i1(n) {
|
|
2887
|
-
const d = qe(), { control: i = d.control, disabled: o, name: t, exact:
|
|
2890
|
+
const d = qe(), { control: i = d.control, disabled: o, name: t, exact: a } = n || {}, [r, l] = B.useState(i._formState), c = B.useRef({
|
|
2888
2891
|
isDirty: !1,
|
|
2889
2892
|
isLoading: !1,
|
|
2890
2893
|
dirtyFields: !1,
|
|
@@ -2897,31 +2900,31 @@ function i1(n) {
|
|
|
2897
2900
|
return bt(() => i._subscribe({
|
|
2898
2901
|
name: t,
|
|
2899
2902
|
formState: c.current,
|
|
2900
|
-
exact:
|
|
2903
|
+
exact: a,
|
|
2901
2904
|
callback: (u) => {
|
|
2902
2905
|
!o && l({
|
|
2903
2906
|
...i._formState,
|
|
2904
2907
|
...u
|
|
2905
2908
|
});
|
|
2906
2909
|
}
|
|
2907
|
-
}), [t, o,
|
|
2910
|
+
}), [t, o, a]), B.useEffect(() => {
|
|
2908
2911
|
c.current.isValid && i._setValid(!0);
|
|
2909
|
-
}, [i]), B.useMemo(() => n1(
|
|
2912
|
+
}, [i]), B.useMemo(() => n1(r, i, c.current, !1), [r, i]);
|
|
2910
2913
|
}
|
|
2911
|
-
var o1 = (n) => typeof n == "string", s1 = (n, d, i, o, t) => o1(n) ? A(i, n, t) : Array.isArray(n) ? n.map((
|
|
2914
|
+
var o1 = (n) => typeof n == "string", s1 = (n, d, i, o, t) => o1(n) ? A(i, n, t) : Array.isArray(n) ? n.map((a) => A(i, a)) : i;
|
|
2912
2915
|
function r1(n) {
|
|
2913
|
-
const d = qe(), { control: i = d.control, name: o, defaultValue: t, disabled:
|
|
2916
|
+
const d = qe(), { control: i = d.control, name: o, defaultValue: t, disabled: a, exact: r } = n || {}, l = B.useRef(t), [c, u] = B.useState(i._getWatch(o, l.current));
|
|
2914
2917
|
return bt(() => i._subscribe({
|
|
2915
2918
|
name: o,
|
|
2916
2919
|
formState: {
|
|
2917
2920
|
values: !0
|
|
2918
2921
|
},
|
|
2919
|
-
exact:
|
|
2920
|
-
callback: (m) => !
|
|
2921
|
-
}), [o, i,
|
|
2922
|
+
exact: r,
|
|
2923
|
+
callback: (m) => !a && u(s1(o, i._names, m.values || i._formValues, !1, l.current))
|
|
2924
|
+
}), [o, i, a, r]), B.useEffect(() => i._removeUnmounted()), c;
|
|
2922
2925
|
}
|
|
2923
2926
|
function a1(n) {
|
|
2924
|
-
const d = qe(), { name: i, disabled: o, control: t = d.control, shouldUnregister:
|
|
2927
|
+
const d = qe(), { name: i, disabled: o, control: t = d.control, shouldUnregister: a } = n, r = Xn(t._names.array, i), l = r1({
|
|
2925
2928
|
control: t,
|
|
2926
2929
|
name: i,
|
|
2927
2930
|
defaultValue: A(t._formValues, i, A(t._defaultValues, i, n.defaultValue)),
|
|
@@ -2984,7 +2987,7 @@ function a1(n) {
|
|
|
2984
2987
|
ref: g
|
|
2985
2988
|
}), [i, o, c.disabled, _, f, g, l]);
|
|
2986
2989
|
return B.useEffect(() => {
|
|
2987
|
-
const C = t._options.shouldUnregister ||
|
|
2990
|
+
const C = t._options.shouldUnregister || a;
|
|
2988
2991
|
t.register(i, {
|
|
2989
2992
|
...u.current.rules,
|
|
2990
2993
|
...Be(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
@@ -2997,10 +3000,10 @@ function a1(n) {
|
|
|
2997
3000
|
const x = ht(A(t._options.defaultValues, i));
|
|
2998
3001
|
Qe(t._defaultValues, i, x), Ve(A(t._formValues, i)) && Qe(t._formValues, i, x);
|
|
2999
3002
|
}
|
|
3000
|
-
return !
|
|
3001
|
-
(
|
|
3003
|
+
return !r && t.register(i), () => {
|
|
3004
|
+
(r ? C && !t._state.action : C) ? t.unregister(i) : b(i, !1);
|
|
3002
3005
|
};
|
|
3003
|
-
}, [i, t,
|
|
3006
|
+
}, [i, t, r, a]), B.useEffect(() => {
|
|
3004
3007
|
t._setDisabledField({
|
|
3005
3008
|
disabled: o,
|
|
3006
3009
|
name: i
|
|
@@ -3032,8 +3035,8 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3032
3035
|
code: i,
|
|
3033
3036
|
type: o,
|
|
3034
3037
|
label: t,
|
|
3035
|
-
maxLength:
|
|
3036
|
-
required:
|
|
3038
|
+
maxLength: a,
|
|
3039
|
+
required: r,
|
|
3037
3040
|
validateFunction: l,
|
|
3038
3041
|
placeholder: c,
|
|
3039
3042
|
errorColor: u = "red",
|
|
@@ -3042,10 +3045,10 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3042
3045
|
console.log("Click on forgot password");
|
|
3043
3046
|
},
|
|
3044
3047
|
forgotPassLabel: _ = "forgot-password"
|
|
3045
|
-
} = n, { t: f } = k(), { control: g, trigger: y, clearErrors: C } = d, [b, x] = $(!1), w = ie(
|
|
3048
|
+
} = n, { t: f } = k(), { control: g, trigger: y, clearErrors: C } = d, [b, x] = $(!1), w = ie(r);
|
|
3046
3049
|
L(() => {
|
|
3047
|
-
w.current !==
|
|
3048
|
-
}, [
|
|
3050
|
+
w.current !== r && (r ? y(i) : C(i), w.current = r);
|
|
3051
|
+
}, [r, i, y, C]);
|
|
3049
3052
|
const v = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3050
3053
|
return /* @__PURE__ */ s(
|
|
3051
3054
|
Ee,
|
|
@@ -3053,8 +3056,8 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3053
3056
|
name: i,
|
|
3054
3057
|
control: g,
|
|
3055
3058
|
rules: {
|
|
3056
|
-
required:
|
|
3057
|
-
maxLength:
|
|
3059
|
+
required: r ? `${f(t)} ${f("errorMessages.required")}` : !1,
|
|
3060
|
+
maxLength: a || void 0,
|
|
3058
3061
|
validate: l || void 0
|
|
3059
3062
|
},
|
|
3060
3063
|
render: ({ field: N, fieldState: S }) => {
|
|
@@ -3063,7 +3066,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3063
3066
|
/* @__PURE__ */ p("h3", { className: re.labelContainer, children: [
|
|
3064
3067
|
f(t),
|
|
3065
3068
|
" ",
|
|
3066
|
-
|
|
3069
|
+
r && /* @__PURE__ */ s("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3067
3070
|
] }),
|
|
3068
3071
|
/* @__PURE__ */ p(
|
|
3069
3072
|
"div",
|
|
@@ -3077,7 +3080,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3077
3080
|
type: v(),
|
|
3078
3081
|
...N,
|
|
3079
3082
|
placeholder: c ? f(c) : "",
|
|
3080
|
-
maxLength:
|
|
3083
|
+
maxLength: a || void 0
|
|
3081
3084
|
}
|
|
3082
3085
|
),
|
|
3083
3086
|
o == "password" && /* @__PURE__ */ s(
|
|
@@ -3122,23 +3125,23 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3122
3125
|
code: i,
|
|
3123
3126
|
type: o,
|
|
3124
3127
|
label: t,
|
|
3125
|
-
maxLength:
|
|
3126
|
-
required:
|
|
3128
|
+
maxLength: a,
|
|
3129
|
+
required: r,
|
|
3127
3130
|
validateFunction: l,
|
|
3128
3131
|
placeholder: c,
|
|
3129
3132
|
errorColor: u = "red",
|
|
3130
3133
|
width: m = 325,
|
|
3131
3134
|
options: h = []
|
|
3132
|
-
} = n, { t: _ } = k(), { control: f, trigger: g, clearErrors: y } = d, C = ie(
|
|
3135
|
+
} = n, { t: _ } = k(), { control: f, trigger: g, clearErrors: y } = d, C = ie(r);
|
|
3133
3136
|
return L(() => {
|
|
3134
|
-
C.current !==
|
|
3135
|
-
}, [
|
|
3137
|
+
C.current !== r && (r ? g(i) : y(i), C.current = r);
|
|
3138
|
+
}, [r, i, g, y]), /* @__PURE__ */ s(
|
|
3136
3139
|
Ee,
|
|
3137
3140
|
{
|
|
3138
3141
|
name: i,
|
|
3139
3142
|
control: f,
|
|
3140
3143
|
rules: {
|
|
3141
|
-
required:
|
|
3144
|
+
required: r ? `${_(t)} ${_("errorMessages.required")}` : !1,
|
|
3142
3145
|
validate: l || void 0
|
|
3143
3146
|
},
|
|
3144
3147
|
render: ({ field: b, fieldState: x }) => {
|
|
@@ -3147,7 +3150,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3147
3150
|
/* @__PURE__ */ p("h3", { className: te.labelContainer, children: [
|
|
3148
3151
|
_(t),
|
|
3149
3152
|
" ",
|
|
3150
|
-
|
|
3153
|
+
r && /* @__PURE__ */ s("label", { style: { color: x.error ? u : "" }, children: "*" })
|
|
3151
3154
|
] }),
|
|
3152
3155
|
/* @__PURE__ */ p("div", { className: te.inputContainer, style: { width: m }, children: [
|
|
3153
3156
|
/* @__PURE__ */ p(
|
|
@@ -3205,8 +3208,8 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3205
3208
|
code: i,
|
|
3206
3209
|
label: o,
|
|
3207
3210
|
required: t,
|
|
3208
|
-
validateFunction:
|
|
3209
|
-
errorColor:
|
|
3211
|
+
validateFunction: a,
|
|
3212
|
+
errorColor: r = "red",
|
|
3210
3213
|
options: l = [],
|
|
3211
3214
|
multi: c = !1
|
|
3212
3215
|
} = n, { t: u } = k(), { control: m, trigger: h, clearErrors: _ } = d, f = ({ options: C, onChange: b, actualValue: x }) => {
|
|
@@ -3245,7 +3248,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3245
3248
|
t && /* @__PURE__ */ s(
|
|
3246
3249
|
"label",
|
|
3247
3250
|
{
|
|
3248
|
-
style: { color: N.error ?
|
|
3251
|
+
style: { color: N.error ? r : "" },
|
|
3249
3252
|
children: "*"
|
|
3250
3253
|
}
|
|
3251
3254
|
)
|
|
@@ -3256,11 +3259,11 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3256
3259
|
l.map(
|
|
3257
3260
|
({
|
|
3258
3261
|
label: D,
|
|
3259
|
-
value:
|
|
3262
|
+
value: j,
|
|
3260
3263
|
disabled: de = !1,
|
|
3261
3264
|
italicLabel: ue
|
|
3262
3265
|
}, R) => {
|
|
3263
|
-
const q = w && c ? w.isArray && (w == null ? void 0 : w.length) > 0 && w.some((E) => E ===
|
|
3266
|
+
const q = w && c ? w.isArray && (w == null ? void 0 : w.length) > 0 && w.some((E) => E === j) : w === j;
|
|
3264
3267
|
return /* @__PURE__ */ p("label", { children: [
|
|
3265
3268
|
/* @__PURE__ */ s(
|
|
3266
3269
|
"input",
|
|
@@ -3276,7 +3279,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3276
3279
|
actualValue: w,
|
|
3277
3280
|
options: l,
|
|
3278
3281
|
onChange: b
|
|
3279
|
-
}) : b(
|
|
3282
|
+
}) : b(j);
|
|
3280
3283
|
},
|
|
3281
3284
|
className: G.radioInput
|
|
3282
3285
|
}
|
|
@@ -3290,7 +3293,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3290
3293
|
be,
|
|
3291
3294
|
{
|
|
3292
3295
|
errorMessage: (S = N.error) == null ? void 0 : S.message,
|
|
3293
|
-
errorColor:
|
|
3296
|
+
errorColor: r
|
|
3294
3297
|
}
|
|
3295
3298
|
)
|
|
3296
3299
|
] })
|
|
@@ -3303,15 +3306,15 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3303
3306
|
inputContainerStyles: d,
|
|
3304
3307
|
reactHookFormInstance: i
|
|
3305
3308
|
}) => {
|
|
3306
|
-
const { watch: o } = i, t = o(),
|
|
3307
|
-
const l = typeof
|
|
3309
|
+
const { watch: o } = i, t = o(), a = le(() => n.map((r) => {
|
|
3310
|
+
const l = typeof r.required == "function" ? r.required(t) : r.required;
|
|
3308
3311
|
return {
|
|
3309
|
-
...
|
|
3312
|
+
...r,
|
|
3310
3313
|
required: l
|
|
3311
3314
|
};
|
|
3312
3315
|
}), [n, t]);
|
|
3313
|
-
return /* @__PURE__ */ s("div", { className: ae.inputsContainer, children:
|
|
3314
|
-
const { inputType: c } =
|
|
3316
|
+
return /* @__PURE__ */ s("div", { className: ae.inputsContainer, children: a == null ? void 0 : a.map((r, l) => {
|
|
3317
|
+
const { inputType: c } = r;
|
|
3315
3318
|
switch (c) {
|
|
3316
3319
|
case ge.text:
|
|
3317
3320
|
return /* @__PURE__ */ s(
|
|
@@ -3322,12 +3325,12 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3322
3325
|
children: /* @__PURE__ */ s(
|
|
3323
3326
|
et,
|
|
3324
3327
|
{
|
|
3325
|
-
input:
|
|
3328
|
+
input: r,
|
|
3326
3329
|
reactHookFormInstance: i
|
|
3327
3330
|
}
|
|
3328
3331
|
)
|
|
3329
3332
|
},
|
|
3330
|
-
`${
|
|
3333
|
+
`${r.code}${l}`
|
|
3331
3334
|
);
|
|
3332
3335
|
case ge.password:
|
|
3333
3336
|
return /* @__PURE__ */ s(
|
|
@@ -3338,12 +3341,12 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3338
3341
|
children: /* @__PURE__ */ s(
|
|
3339
3342
|
et,
|
|
3340
3343
|
{
|
|
3341
|
-
input:
|
|
3344
|
+
input: r,
|
|
3342
3345
|
reactHookFormInstance: i
|
|
3343
3346
|
}
|
|
3344
3347
|
)
|
|
3345
3348
|
},
|
|
3346
|
-
`${
|
|
3349
|
+
`${r.code}${l}`
|
|
3347
3350
|
);
|
|
3348
3351
|
case ge.select:
|
|
3349
3352
|
return /* @__PURE__ */ s(
|
|
@@ -3354,12 +3357,12 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3354
3357
|
children: /* @__PURE__ */ s(
|
|
3355
3358
|
v1,
|
|
3356
3359
|
{
|
|
3357
|
-
input:
|
|
3360
|
+
input: r,
|
|
3358
3361
|
reactHookFormInstance: i
|
|
3359
3362
|
}
|
|
3360
3363
|
)
|
|
3361
3364
|
},
|
|
3362
|
-
`${
|
|
3365
|
+
`${r.code}${l}`
|
|
3363
3366
|
);
|
|
3364
3367
|
case ge.radioList:
|
|
3365
3368
|
return /* @__PURE__ */ s(
|
|
@@ -3370,15 +3373,15 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3370
3373
|
children: /* @__PURE__ */ s(
|
|
3371
3374
|
D1,
|
|
3372
3375
|
{
|
|
3373
|
-
input:
|
|
3376
|
+
input: r,
|
|
3374
3377
|
reactHookFormInstance: i
|
|
3375
3378
|
}
|
|
3376
3379
|
)
|
|
3377
3380
|
},
|
|
3378
|
-
`${
|
|
3381
|
+
`${r.code}${l}`
|
|
3379
3382
|
);
|
|
3380
3383
|
default:
|
|
3381
|
-
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${
|
|
3384
|
+
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${r.code}${l}`);
|
|
3382
3385
|
}
|
|
3383
3386
|
}) });
|
|
3384
3387
|
}, yi = ({
|
|
@@ -3390,8 +3393,8 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3390
3393
|
CategoryComponent: i,
|
|
3391
3394
|
inputContainerStyles: o,
|
|
3392
3395
|
generalError: t,
|
|
3393
|
-
errorColor:
|
|
3394
|
-
submitButtonLabel:
|
|
3396
|
+
errorColor: a = "red",
|
|
3397
|
+
submitButtonLabel: r = "Submit",
|
|
3395
3398
|
submitButtonStyles: l = { width: 325 },
|
|
3396
3399
|
activeCategory: c = null,
|
|
3397
3400
|
// If provided, only the category with this categoryId will be displayed.
|
|
@@ -3424,7 +3427,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3424
3427
|
inputs: C,
|
|
3425
3428
|
control: h,
|
|
3426
3429
|
inputContainerStyles: o,
|
|
3427
|
-
errorColor:
|
|
3430
|
+
errorColor: a,
|
|
3428
3431
|
formInstance: n
|
|
3429
3432
|
}
|
|
3430
3433
|
)
|
|
@@ -3448,7 +3451,7 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3448
3451
|
inputs: C,
|
|
3449
3452
|
control: h,
|
|
3450
3453
|
inputContainerStyles: o,
|
|
3451
|
-
errorColor:
|
|
3454
|
+
errorColor: a,
|
|
3452
3455
|
reactHookFormInstance: n
|
|
3453
3456
|
}
|
|
3454
3457
|
) })
|
|
@@ -3461,18 +3464,18 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3461
3464
|
inputContainerStyles: o,
|
|
3462
3465
|
inputs: C,
|
|
3463
3466
|
control: h,
|
|
3464
|
-
errorColor:
|
|
3467
|
+
errorColor: a,
|
|
3465
3468
|
reactHookFormInstance: n
|
|
3466
3469
|
}
|
|
3467
3470
|
) }, `inputKey${y}`);
|
|
3468
3471
|
}) }),
|
|
3469
3472
|
/* @__PURE__ */ p("div", { className: Se.buttonContainer, children: [
|
|
3470
|
-
/* @__PURE__ */ s(fe, { containerStyles: l, type: "submit", children: f(
|
|
3471
|
-
/* @__PURE__ */ s(be, { errorMessage: t, errorColor:
|
|
3473
|
+
/* @__PURE__ */ s(fe, { containerStyles: l, type: "submit", children: f(r) }),
|
|
3474
|
+
/* @__PURE__ */ s(be, { errorMessage: t, errorColor: a })
|
|
3472
3475
|
] })
|
|
3473
3476
|
] })
|
|
3474
3477
|
);
|
|
3475
|
-
}, M1 = "
|
|
3478
|
+
}, M1 = "_overlay_mnd4j_2", $1 = "_modal_mnd4j_15", L1 = "_closeButton_mnd4j_29", F1 = "_icon_mnd4j_39", T1 = "_message_mnd4j_45", V1 = "_submessage_mnd4j_51", A1 = "_buttonsContainer_mnd4j_57", I1 = "_buttonWrapper_mnd4j_64", Z = {
|
|
3476
3479
|
overlay: M1,
|
|
3477
3480
|
modal: $1,
|
|
3478
3481
|
closeButton: L1,
|
|
@@ -3487,13 +3490,13 @@ const Ee = (n) => n.render(a1(n)), l1 = "_errorMessage_1xiyb_2", c1 = {
|
|
|
3487
3490
|
message: i,
|
|
3488
3491
|
submessage: o,
|
|
3489
3492
|
buttons: t,
|
|
3490
|
-
maxHeight:
|
|
3491
|
-
maxWidth:
|
|
3493
|
+
maxHeight: a = "450px",
|
|
3494
|
+
maxWidth: r = "450px"
|
|
3492
3495
|
}) => /* @__PURE__ */ s("div", { className: Z.overlay, children: /* @__PURE__ */ p(
|
|
3493
3496
|
"div",
|
|
3494
3497
|
{
|
|
3495
3498
|
className: Z.modal,
|
|
3496
|
-
style: { maxHeight:
|
|
3499
|
+
style: { maxHeight: a, maxWidth: r },
|
|
3497
3500
|
children: [
|
|
3498
3501
|
/* @__PURE__ */ s("button", { className: Z.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3499
3502
|
d && /* @__PURE__ */ s("img", { src: d, alt: "icon", className: Z.icon }),
|
|
@@ -3519,20 +3522,20 @@ O1.propTypes = {
|
|
|
3519
3522
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3520
3523
|
maxWidth: e.string
|
|
3521
3524
|
};
|
|
3522
|
-
const R1 = "_header_13kbt_2", q1 = "_leftComponents_13kbt_13", E1 = "_centerComponents_13kbt_14", P1 = "_rightComponents_13kbt_15",
|
|
3525
|
+
const R1 = "_header_13kbt_2", q1 = "_leftComponents_13kbt_13", E1 = "_centerComponents_13kbt_14", P1 = "_rightComponents_13kbt_15", j1 = "_componentsContainer_13kbt_32", W = {
|
|
3523
3526
|
header: R1,
|
|
3524
3527
|
leftComponents: q1,
|
|
3525
3528
|
centerComponents: E1,
|
|
3526
3529
|
rightComponents: P1,
|
|
3527
|
-
componentsContainer:
|
|
3528
|
-
},
|
|
3530
|
+
componentsContainer: j1
|
|
3531
|
+
}, z1 = ({
|
|
3529
3532
|
cssProps: n,
|
|
3530
3533
|
leftComponents: d = [],
|
|
3531
3534
|
centerComponents: i = [],
|
|
3532
3535
|
rightComponents: o = [],
|
|
3533
3536
|
zIndex: t = 10,
|
|
3534
|
-
height:
|
|
3535
|
-
backgroundColor:
|
|
3537
|
+
height: a = 60,
|
|
3538
|
+
backgroundColor: r = "#605B56",
|
|
3536
3539
|
isFooter: l = !1
|
|
3537
3540
|
// If true, it will apply footer styles
|
|
3538
3541
|
}) => /* @__PURE__ */ p(
|
|
@@ -3542,8 +3545,8 @@ const R1 = "_header_13kbt_2", q1 = "_leftComponents_13kbt_13", E1 = "_centerComp
|
|
|
3542
3545
|
style: {
|
|
3543
3546
|
...n,
|
|
3544
3547
|
zIndex: t,
|
|
3545
|
-
height:
|
|
3546
|
-
backgroundColor:
|
|
3548
|
+
height: a,
|
|
3549
|
+
backgroundColor: r,
|
|
3547
3550
|
top: l ? "auto" : 0,
|
|
3548
3551
|
bottom: l ? 0 : "auto"
|
|
3549
3552
|
},
|
|
@@ -3554,7 +3557,7 @@ const R1 = "_header_13kbt_2", q1 = "_leftComponents_13kbt_13", E1 = "_centerComp
|
|
|
3554
3557
|
]
|
|
3555
3558
|
}
|
|
3556
3559
|
);
|
|
3557
|
-
|
|
3560
|
+
z1.propTypes = {
|
|
3558
3561
|
leftComponents: e.arrayOf(e.node),
|
|
3559
3562
|
centerComponents: e.arrayOf(e.node),
|
|
3560
3563
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3606,14 +3609,14 @@ export {
|
|
|
3606
3609
|
yi as Form,
|
|
3607
3610
|
fe as GeneralButton,
|
|
3608
3611
|
X2 as Graphic,
|
|
3609
|
-
|
|
3612
|
+
z1 as HeaderSection,
|
|
3610
3613
|
C0 as IndicatorsList,
|
|
3611
3614
|
x0 as LangSelector,
|
|
3612
3615
|
R0 as Legend,
|
|
3613
3616
|
Pn as ListSelector,
|
|
3614
3617
|
fn as LogInButton,
|
|
3615
3618
|
E0 as LogoApp,
|
|
3616
|
-
|
|
3619
|
+
z0 as MapboxMap,
|
|
3617
3620
|
W0 as MaplibreMap,
|
|
3618
3621
|
O1 as ModalAlert,
|
|
3619
3622
|
D1 as RadioButtonInput,
|