@tmf_ciclica/ciclicastorybook 1.1.71 → 1.1.73
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 +387 -383
- 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_1q5gf_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_1q5gf_3::-webkit-scrollbar{width:8px}._legendContainer_1q5gf_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1q5gf_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1q5gf_3 ._closeButton_1q5gf_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_1q5gf_3 ._closeButton_1q5gf_31:before,._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:before{transform:rotate(45deg)}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{transform:rotate(-45deg)}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59{border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59 h2{padding-bottom:16px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65{padding-top:20px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1q5gf_3 ._titleLegendList_1q5gf_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89 ._colorDot_1q5gf_95{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101{position:relative}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueColor_1q5gf_104{height:130px;width:22px;border-radius:20px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueText_1q5gf_109{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_1q5gf_3 ._moreInfoContainer_1q5gf_121{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_1gd6w_2 ._title_1gd6w_2{font-weight:600}._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_mkjfd_2{width:100%;position:relative}._selectInputContainer_mkjfd_2 ._labelContainer_mkjfd_6{margin-bottom:25px}._selectInputContainer_mkjfd_2 ._inputContainer_mkjfd_9{position:relative}._selectInputContainer_mkjfd_2 ._inputContainer_mkjfd_9 ._selectInput_mkjfd_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_mkjfd_2 ._inputContainer_mkjfd_9 ._option_mkjfd_23{cursor:pointer}._selectInputContainer_mkjfd_2 ._inputContainer_mkjfd_9 ._dropdownArrow_mkjfd_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_13kh9_2{width:100%}._radioButtonContainer_13kh9_2 ._wholeInputContainer_13kh9_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_13kh9_2 ._wholeInputContainer_13kh9_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_13kh9_2 ._eyeQuestionContainer_13kh9_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_13kh9_2 ._eyeQuestionContainer_13kh9_27{min-width:auto;max-width:215px}}._radioButtonContainer_13kh9_2 ._errorContainer_13kh9_44{position:absolute;top:-25px;left:0}._radioButtonContainer_13kh9_2 ._iconPrivacy_13kh9_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_13kh9_2 ._radioQuestion_13kh9_59{width:100%;flex:1}._radioButtonContainer_13kh9_2 ._inputContainer_13kh9_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_13kh9_2 ._inputContainer_13kh9_63 label{text-align:left}._radioButtonContainer_13kh9_2 ._inputContainer_13kh9_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_13kh9_2 ._inputContainer_13kh9_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_13kh9_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_13kh9_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._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_pt7g1_2{position:fixed;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_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_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_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_1q5gf_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_1q5gf_3::-webkit-scrollbar{width:8px}._legendContainer_1q5gf_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1q5gf_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1q5gf_3 ._closeButton_1q5gf_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_1q5gf_3 ._closeButton_1q5gf_31:before,._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:before{transform:rotate(45deg)}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{transform:rotate(-45deg)}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59{border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59 h2{padding-bottom:16px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65{padding-top:20px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1q5gf_3 ._titleLegendList_1q5gf_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89 ._colorDot_1q5gf_95{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101{position:relative}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueColor_1q5gf_104{height:130px;width:22px;border-radius:20px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueText_1q5gf_109{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_1q5gf_3 ._moreInfoContainer_1q5gf_121{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_18cpc_2{padding:25px;color:#92898a}._FeaturePopUp_18cpc_2 p{margin-bottom:10px}._FeaturePopUp_18cpc_2 ._title_18cpc_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_3bp8g_2{width:100%}._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_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_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_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_3bp8g_2 ._questionContainer_3bp8g_27{min-width:auto;max-width:215px}}._radioButtonContainer_3bp8g_2 ._errorContainer_3bp8g_44{position:absolute;top:-25px;left:0}._radioButtonContainer_3bp8g_2 ._iconPrivacy_3bp8g_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_3bp8g_2 ._radioQuestion_3bp8g_59{width:100%;flex:1}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label{text-align:left}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_3bp8g_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_3bp8g_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}label,._radioInput_3bp8g_109{cursor:pointer}._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_pt7g1_2{position:fixed;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_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import { jsxs as h, jsx as s, Fragment as Se } from "react/jsx-runtime";
|
|
3
3
|
import * as te from "react";
|
|
4
4
|
import B, { useState as S, useEffect as T, useMemo as he, useLayoutEffect as yt, useRef as $e } from "react";
|
|
@@ -40,9 +40,9 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
40
40
|
onClickFilters: i,
|
|
41
41
|
onClickAmbit: t,
|
|
42
42
|
isActive: r,
|
|
43
|
-
activeColor:
|
|
43
|
+
activeColor: c,
|
|
44
44
|
fontColor: a,
|
|
45
|
-
moreInfo:
|
|
45
|
+
moreInfo: l
|
|
46
46
|
}) => {
|
|
47
47
|
const { nom: u, created_at: m, id: g, isBeingProcessed: y } = n;
|
|
48
48
|
return /* @__PURE__ */ h(
|
|
@@ -60,7 +60,7 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
60
60
|
src: r ? o2 : s2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */ s("span", { style: { color: r ?
|
|
63
|
+
/* @__PURE__ */ s("span", { style: { color: r ? c : a }, children: u })
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ s("div", { className: ne.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
@@ -121,9 +121,9 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
121
121
|
activeColor: i,
|
|
122
122
|
nameLabel: t,
|
|
123
123
|
dateLabel: r,
|
|
124
|
-
newAmbitLabel:
|
|
124
|
+
newAmbitLabel: c = "New field",
|
|
125
125
|
buttonContainerStyles: a = {},
|
|
126
|
-
containerStyles:
|
|
126
|
+
containerStyles: l = {},
|
|
127
127
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
128
128
|
onClickCopy: m = (f) => console.log(`Copy ambit: ${f}`),
|
|
129
129
|
onCLickDelete: g = (f) => console.log(`Delete ambit: ${f}`),
|
|
@@ -144,7 +144,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
144
144
|
"div",
|
|
145
145
|
{
|
|
146
146
|
className: j.ambitSelector,
|
|
147
|
-
style: { color: o, ...
|
|
147
|
+
style: { color: o, ...l },
|
|
148
148
|
children: [
|
|
149
149
|
/* @__PURE__ */ h(
|
|
150
150
|
"div",
|
|
@@ -186,7 +186,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
186
186
|
style: { ...a },
|
|
187
187
|
onClick: u,
|
|
188
188
|
borderColor: "grey",
|
|
189
|
-
children: f(
|
|
189
|
+
children: f(c)
|
|
190
190
|
}
|
|
191
191
|
) })
|
|
192
192
|
]
|
|
@@ -227,11 +227,11 @@ const c2 = "_buttonsContainer_1audx_2", d2 = "_vertical_1audx_6", u2 = "_horizon
|
|
|
227
227
|
top: C2,
|
|
228
228
|
bottom: f2,
|
|
229
229
|
right: b2
|
|
230
|
-
},
|
|
230
|
+
}, Y = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
231
231
|
const { t: i } = k();
|
|
232
232
|
return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: o, children: i(n) });
|
|
233
233
|
};
|
|
234
|
-
|
|
234
|
+
Y.propTypes = {
|
|
235
235
|
text: e.string.isRequired,
|
|
236
236
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
237
237
|
styleCustom: e.object
|
|
@@ -244,13 +244,13 @@ const _2 = ({
|
|
|
244
244
|
useTooltip: t = !1,
|
|
245
245
|
tooltipPosition: r = "top"
|
|
246
246
|
}) => {
|
|
247
|
-
const { t:
|
|
247
|
+
const { t: c } = k();
|
|
248
248
|
return /* @__PURE__ */ s(
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
251
|
className: `${Z.buttonsContainer} ${d === "vertical" && Z.vertical}
|
|
252
252
|
${d === "horizontal" && Z.horizontal}`,
|
|
253
|
-
children: n.map((a,
|
|
253
|
+
children: n.map((a, l) => {
|
|
254
254
|
const {
|
|
255
255
|
icon: u,
|
|
256
256
|
activeIcon: m,
|
|
@@ -258,9 +258,9 @@ const _2 = ({
|
|
|
258
258
|
name: y,
|
|
259
259
|
onClick: C
|
|
260
260
|
} = a, f = /* @__PURE__ */ h(Se, { children: [
|
|
261
|
-
o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children:
|
|
262
|
-
/* @__PURE__ */ s("img", { src: g ? m : u, alt:
|
|
263
|
-
o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children:
|
|
261
|
+
o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: c(y) }),
|
|
262
|
+
/* @__PURE__ */ s("img", { src: g ? m : u, alt: c(y) }),
|
|
263
|
+
o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: c(y) })
|
|
264
264
|
] });
|
|
265
265
|
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
266
266
|
/* @__PURE__ */ s(
|
|
@@ -272,8 +272,8 @@ const _2 = ({
|
|
|
272
272
|
children: f
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
|
-
t && /* @__PURE__ */ s(
|
|
276
|
-
] },
|
|
275
|
+
t && /* @__PURE__ */ s(Y, { text: y, position: r })
|
|
276
|
+
] }, l);
|
|
277
277
|
})
|
|
278
278
|
}
|
|
279
279
|
);
|
|
@@ -298,7 +298,7 @@ _2.propTypes = {
|
|
|
298
298
|
const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
299
299
|
indicatorsCategory: v2,
|
|
300
300
|
title: w2
|
|
301
|
-
},
|
|
301
|
+
}, W = ({
|
|
302
302
|
isOpen: n,
|
|
303
303
|
onClick: d,
|
|
304
304
|
children: o,
|
|
@@ -306,10 +306,10 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
306
306
|
activeColor: t = "#F8A925",
|
|
307
307
|
title: r = "Title",
|
|
308
308
|
//Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
|
|
309
|
-
height:
|
|
309
|
+
height: c = 53,
|
|
310
310
|
//Adjust height if you change fontSize
|
|
311
311
|
titleFontStyles: a,
|
|
312
|
-
showBottomBar:
|
|
312
|
+
showBottomBar: l = !0,
|
|
313
313
|
titleMarginChildren: u = 25
|
|
314
314
|
}) => {
|
|
315
315
|
const { t: m } = k();
|
|
@@ -317,12 +317,12 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
317
317
|
Ae.div,
|
|
318
318
|
{
|
|
319
319
|
className: be.indicatorsCategory,
|
|
320
|
-
initial: { height: `${
|
|
321
|
-
animate: { height: n ? "auto" : `${
|
|
320
|
+
initial: { height: `${c}px` },
|
|
321
|
+
animate: { height: n ? "auto" : `${c}px` },
|
|
322
322
|
transition: { duration: 0.4 },
|
|
323
323
|
style: {
|
|
324
324
|
backgroundColor: "white",
|
|
325
|
-
borderBottom: n &&
|
|
325
|
+
borderBottom: n && l ? `1px solid ${t}` : "0px",
|
|
326
326
|
marginBottom: n ? "20px" : "0px"
|
|
327
327
|
},
|
|
328
328
|
children: [
|
|
@@ -346,7 +346,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
346
346
|
}
|
|
347
347
|
);
|
|
348
348
|
};
|
|
349
|
-
|
|
349
|
+
W.propTypes = {
|
|
350
350
|
isOpen: e.bool,
|
|
351
351
|
onClick: e.func,
|
|
352
352
|
children: e.node,
|
|
@@ -357,7 +357,7 @@ Y.propTypes = {
|
|
|
357
357
|
showBottomBar: e.bool,
|
|
358
358
|
titleFontStyles: e.object
|
|
359
359
|
};
|
|
360
|
-
const
|
|
360
|
+
const ni = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "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", N2 = "_AppliedFilterContent_cokx9_11", ze = {
|
|
361
361
|
AppliedFiltersContainer: k2,
|
|
362
362
|
AppliedFilterContent: N2
|
|
363
363
|
}, D = _t((n) => ({
|
|
@@ -368,7 +368,7 @@ const ti = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
|
|
|
368
368
|
fontColor: "#605B56",
|
|
369
369
|
inputsColor: "#605B56"
|
|
370
370
|
})), tt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
371
|
-
const { t:
|
|
371
|
+
const { t: c } = k(), { tematicalFiltersSelected: a } = D((u) => u), l = (u) => {
|
|
372
372
|
D.setState((m) => ({
|
|
373
373
|
tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
|
|
374
374
|
(g) => g.code !== u
|
|
@@ -376,15 +376,15 @@ const ti = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
|
|
|
376
376
|
}));
|
|
377
377
|
};
|
|
378
378
|
return /* @__PURE__ */ s(
|
|
379
|
-
|
|
379
|
+
W,
|
|
380
380
|
{
|
|
381
381
|
isOpen: o,
|
|
382
382
|
onClick: d,
|
|
383
|
-
title: n ?
|
|
383
|
+
title: n ? c(n) : "Applied Filters",
|
|
384
384
|
activeColor: r,
|
|
385
385
|
children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, m) => /* @__PURE__ */ h("div", { className: ze.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
386
|
-
|
|
387
|
-
/* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () =>
|
|
386
|
+
c(u.name),
|
|
387
|
+
/* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => l(u.code), style: { cursor: "pointer" } })
|
|
388
388
|
] }, m)) })
|
|
389
389
|
}
|
|
390
390
|
);
|
|
@@ -404,13 +404,13 @@ tt.propTypes = {
|
|
|
404
404
|
activeColor: e.string
|
|
405
405
|
};
|
|
406
406
|
const nt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
407
|
-
const { t:
|
|
407
|
+
const { t: c } = k(), { tematicalFiltersSelected: a } = D((l) => l);
|
|
408
408
|
return /* @__PURE__ */ s(
|
|
409
|
-
|
|
409
|
+
W,
|
|
410
410
|
{
|
|
411
411
|
isOpen: o,
|
|
412
412
|
onClick: d,
|
|
413
|
-
title: n ?
|
|
413
|
+
title: n ? c(n) : "Geographical Filters",
|
|
414
414
|
activeColor: r,
|
|
415
415
|
children: "A"
|
|
416
416
|
}
|
|
@@ -433,7 +433,7 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
|
|
|
433
433
|
indicator: i,
|
|
434
434
|
value: t
|
|
435
435
|
}) => {
|
|
436
|
-
const { t: r } = k(), { title:
|
|
436
|
+
const { t: r } = k(), { title: c } = i || {}, { fontColor: a, inputsColor: l } = D((u) => u);
|
|
437
437
|
return /* @__PURE__ */ h(
|
|
438
438
|
"div",
|
|
439
439
|
{
|
|
@@ -450,12 +450,12 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
|
|
|
450
450
|
value: t,
|
|
451
451
|
readOnly: !0,
|
|
452
452
|
style: {
|
|
453
|
-
border: `1.5px solid ${t ?
|
|
454
|
-
backgroundColor: t ?
|
|
453
|
+
border: `1.5px solid ${t ? l : a}`,
|
|
454
|
+
backgroundColor: t ? l : "white"
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
),
|
|
458
|
-
/* @__PURE__ */ s("span", { className: "checkmark", children: r(
|
|
458
|
+
/* @__PURE__ */ s("span", { className: "checkmark", children: r(c) })
|
|
459
459
|
]
|
|
460
460
|
}
|
|
461
461
|
);
|
|
@@ -517,18 +517,18 @@ let Fe = function(n) {
|
|
|
517
517
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
518
518
|
}, t.onMouseMove = (a) => {
|
|
519
519
|
t.setState({ pending: !0 });
|
|
520
|
-
const
|
|
520
|
+
const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), m = t.getValueFromPosition(u);
|
|
521
521
|
t.move(m);
|
|
522
522
|
}, t.onTouchMove = (a) => {
|
|
523
523
|
if (a.touches.length > 1) return;
|
|
524
524
|
t.setState({ pending: !0 });
|
|
525
|
-
const
|
|
525
|
+
const l = t.getTouchPosition(a);
|
|
526
526
|
if (t.isScrolling === void 0) {
|
|
527
|
-
const g =
|
|
527
|
+
const g = l[0] - t.startPosition[0], y = l[1] - t.startPosition[1];
|
|
528
528
|
t.isScrolling = Math.abs(y) > Math.abs(g);
|
|
529
529
|
}
|
|
530
530
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
531
|
-
const u = t.getDiffPosition(
|
|
531
|
+
const u = t.getDiffPosition(l[0]), m = t.getValueFromPosition(u);
|
|
532
532
|
t.move(m);
|
|
533
533
|
}, t.onKeyDown = (a) => {
|
|
534
534
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
@@ -559,51 +559,51 @@ let Fe = function(n) {
|
|
|
559
559
|
}, t.onSliderMouseDown = (a) => {
|
|
560
560
|
if (!t.props.disabled && a.button !== 2) {
|
|
561
561
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
562
|
-
const
|
|
563
|
-
t.forceValueFromPosition(
|
|
564
|
-
t.start(u,
|
|
562
|
+
const l = t.getMousePosition(a);
|
|
563
|
+
t.forceValueFromPosition(l[0], (u) => {
|
|
564
|
+
t.start(u, l[0]), de(t.getMouseEventMap());
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
ye(a);
|
|
568
568
|
}
|
|
569
569
|
}, t.onSliderClick = (a) => {
|
|
570
570
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
571
|
-
const
|
|
571
|
+
const l = t.getMousePosition(a), u = H(t.calcValue(t.calcOffsetFromPosition(l[0])), t.props);
|
|
572
572
|
t.props.onSliderClick(u);
|
|
573
573
|
}
|
|
574
|
-
}, t.createOnKeyDown = (a) => (
|
|
575
|
-
t.props.disabled || (t.start(a), de(t.getKeyDownEventMap()), ye(
|
|
576
|
-
}, t.createOnMouseDown = (a) => (
|
|
577
|
-
if (t.props.disabled ||
|
|
574
|
+
}, t.createOnKeyDown = (a) => (l) => {
|
|
575
|
+
t.props.disabled || (t.start(a), de(t.getKeyDownEventMap()), ye(l));
|
|
576
|
+
}, t.createOnMouseDown = (a) => (l) => {
|
|
577
|
+
if (t.props.disabled || l.button === 2) return;
|
|
578
578
|
t.setState({ pending: !0 });
|
|
579
|
-
const u = t.getMousePosition(
|
|
580
|
-
t.start(a, u[0]), de(t.getMouseEventMap()), ye(
|
|
581
|
-
}, t.createOnTouchStart = (a) => (
|
|
582
|
-
if (t.props.disabled ||
|
|
579
|
+
const u = t.getMousePosition(l);
|
|
580
|
+
t.start(a, u[0]), de(t.getMouseEventMap()), ye(l);
|
|
581
|
+
}, t.createOnTouchStart = (a) => (l) => {
|
|
582
|
+
if (t.props.disabled || l.touches.length > 1) return;
|
|
583
583
|
t.setState({ pending: !0 });
|
|
584
|
-
const u = t.getTouchPosition(
|
|
584
|
+
const u = t.getTouchPosition(l);
|
|
585
585
|
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(m) {
|
|
586
586
|
m.stopPropagation && m.stopPropagation();
|
|
587
|
-
}(
|
|
587
|
+
}(l);
|
|
588
588
|
}, t.handleResize = () => {
|
|
589
589
|
const a = window.setTimeout(() => {
|
|
590
590
|
t.pendingResizeTimeouts.shift(), t.resize();
|
|
591
591
|
}, 0);
|
|
592
592
|
t.pendingResizeTimeouts.push(a);
|
|
593
|
-
}, t.renderThumb = (a,
|
|
594
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" +
|
|
595
|
-
t["thumb" +
|
|
596
|
-
}, key: t.props.thumbClassName + "-" +
|
|
593
|
+
}, t.renderThumb = (a, l) => {
|
|
594
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), m = { ref: (y) => {
|
|
595
|
+
t["thumb" + l] = y;
|
|
596
|
+
}, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: l, value: ce(t.state.value), valueNow: t.state.value[l] };
|
|
597
597
|
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(m, g);
|
|
598
|
-
}, t.renderTrack = (a,
|
|
599
|
-
const m = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(
|
|
598
|
+
}, t.renderTrack = (a, l, u) => {
|
|
599
|
+
const m = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, g = { index: a, value: ce(t.state.value) };
|
|
600
600
|
return t.props.renderTrack(m, g);
|
|
601
601
|
};
|
|
602
602
|
let r = _e(i.value);
|
|
603
603
|
r.length || (r = _e(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
604
|
-
const
|
|
605
|
-
for (let a = 0; a < r.length; a += 1) r[a] = H(r[a], i),
|
|
606
|
-
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices:
|
|
604
|
+
const c = [];
|
|
605
|
+
for (let a = 0; a < r.length; a += 1) r[a] = H(r[a], i), c.push(a);
|
|
606
|
+
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: c }, t;
|
|
607
607
|
}
|
|
608
608
|
M2(d, n);
|
|
609
609
|
var o = d.prototype;
|
|
@@ -611,7 +611,7 @@ let Fe = function(n) {
|
|
|
611
611
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
612
612
|
}, d.getDerivedStateFromProps = function(i, t) {
|
|
613
613
|
const r = _e(i.value);
|
|
614
|
-
return r.length ? t.pending ? null : { value: r.map((
|
|
614
|
+
return r.length ? t.pending ? null : { value: r.map((c) => H(c, i)) } : null;
|
|
615
615
|
}, o.componentDidUpdate = function() {
|
|
616
616
|
this.state.upperBound === 0 && this.resize();
|
|
617
617
|
}, o.componentWillUnmount = function() {
|
|
@@ -626,10 +626,10 @@ let Fe = function(n) {
|
|
|
626
626
|
return ce(this.state.value);
|
|
627
627
|
}, o.getClosestIndex = function(i) {
|
|
628
628
|
let t = Number.MAX_VALUE, r = -1;
|
|
629
|
-
const { value:
|
|
630
|
-
for (let
|
|
631
|
-
const u = this.calcOffset(l
|
|
632
|
-
m < t && (t = m, r =
|
|
629
|
+
const { value: c } = this.state, a = c.length;
|
|
630
|
+
for (let l = 0; l < a; l += 1) {
|
|
631
|
+
const u = this.calcOffset(c[l]), m = Math.abs(i - u);
|
|
632
|
+
m < t && (t = m, r = l);
|
|
633
633
|
}
|
|
634
634
|
return r;
|
|
635
635
|
}, o.getMousePosition = function(i) {
|
|
@@ -652,7 +652,7 @@ let Fe = function(n) {
|
|
|
652
652
|
}, o.resize = function() {
|
|
653
653
|
const { slider: i, thumb0: t } = this;
|
|
654
654
|
if (!i || !t) return;
|
|
655
|
-
const r = this.sizeKey(),
|
|
655
|
+
const r = this.sizeKey(), c = i.getBoundingClientRect(), a = i[r], l = c[this.posMaxKey()], u = c[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - m, y = Math.abs(l - u);
|
|
656
656
|
this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === m || this.setState({ upperBound: g, sliderLength: y, thumbSize: m });
|
|
657
657
|
}, o.calcOffset = function(i) {
|
|
658
658
|
const t = this.props.max - this.props.min;
|
|
@@ -660,15 +660,15 @@ let Fe = function(n) {
|
|
|
660
660
|
}, o.calcValue = function(i) {
|
|
661
661
|
return i / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
|
|
662
662
|
}, o.calcOffsetFromPosition = function(i) {
|
|
663
|
-
const { slider: t } = this, r = t.getBoundingClientRect(),
|
|
664
|
-
let
|
|
665
|
-
return this.props.invert && (
|
|
663
|
+
const { slider: t } = this, r = t.getBoundingClientRect(), c = r[this.posMaxKey()], a = r[this.posMinKey()];
|
|
664
|
+
let l = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? c : a));
|
|
665
|
+
return this.props.invert && (l = this.state.sliderLength - l), l -= this.state.thumbSize / 2, l;
|
|
666
666
|
}, o.forceValueFromPosition = function(i, t) {
|
|
667
|
-
const r = this.calcOffsetFromPosition(i),
|
|
668
|
-
c
|
|
669
|
-
for (let u = 0; u <
|
|
670
|
-
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value:
|
|
671
|
-
t(
|
|
667
|
+
const r = this.calcOffsetFromPosition(i), c = this.getClosestIndex(r), a = H(this.calcValue(r), this.props), l = this.state.value.slice();
|
|
668
|
+
l[c] = a;
|
|
669
|
+
for (let u = 0; u < l.length - 1; u += 1) if (l[u + 1] - l[u] < this.props.minDistance) return;
|
|
670
|
+
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: l }, () => {
|
|
671
|
+
t(c), this.fireChangeEvent("onChange");
|
|
672
672
|
});
|
|
673
673
|
}, o.clearPendingResizeTimeouts = function() {
|
|
674
674
|
do {
|
|
@@ -678,8 +678,8 @@ let Fe = function(n) {
|
|
|
678
678
|
}, o.start = function(i, t) {
|
|
679
679
|
const r = this["thumb" + i];
|
|
680
680
|
r && r.focus();
|
|
681
|
-
const { zIndices:
|
|
682
|
-
|
|
681
|
+
const { zIndices: c } = this.state;
|
|
682
|
+
c.splice(c.indexOf(i), 1), c.push(i), this.setState((a) => ({ startValue: a.value[i], startPosition: t !== void 0 ? t : a.startPosition, index: i, zIndices: c }));
|
|
683
683
|
}, o.moveUpByStep = function(i) {
|
|
684
684
|
i === void 0 && (i = this.props.step);
|
|
685
685
|
const t = this.state.value[this.state.index], r = H(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
|
|
@@ -689,36 +689,36 @@ let Fe = function(n) {
|
|
|
689
689
|
const t = this.state.value[this.state.index], r = H(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
|
|
690
690
|
this.move(Math.max(r, this.props.min));
|
|
691
691
|
}, o.move = function(i) {
|
|
692
|
-
const t = this.state.value.slice(), { index: r } = this.state, { length:
|
|
692
|
+
const t = this.state.value.slice(), { index: r } = this.state, { length: c } = t, a = t[r];
|
|
693
693
|
if (i === a) return;
|
|
694
694
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
695
|
-
const { pearling:
|
|
696
|
-
if (!
|
|
695
|
+
const { pearling: l, max: u, min: m, minDistance: g } = this.props;
|
|
696
|
+
if (!l) {
|
|
697
697
|
if (r > 0) {
|
|
698
698
|
const y = t[r - 1];
|
|
699
699
|
i < y + g && (i = y + g);
|
|
700
700
|
}
|
|
701
|
-
if (r <
|
|
701
|
+
if (r < c - 1) {
|
|
702
702
|
const y = t[r + 1];
|
|
703
703
|
i > y - g && (i = y - g);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
t[r] = i,
|
|
706
|
+
t[r] = i, l && c > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, C, f, _) {
|
|
707
707
|
for (let p = 0; p < y; p += 1) {
|
|
708
708
|
const b = _ - p * f;
|
|
709
709
|
C[y - 1 - p] > b && (C[y - 1 - p] = b);
|
|
710
710
|
}
|
|
711
|
-
}(
|
|
711
|
+
}(c, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, C, f, _) {
|
|
712
712
|
for (let p = 0; p < y; p += 1) {
|
|
713
713
|
const b = _ + p * f;
|
|
714
714
|
C[p] < b && (C[p] = b);
|
|
715
715
|
}
|
|
716
|
-
}(
|
|
716
|
+
}(c, t, g, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
717
717
|
}, o.pushSucceeding = function(i, t, r) {
|
|
718
|
-
let
|
|
719
|
-
for (
|
|
718
|
+
let c, a;
|
|
719
|
+
for (c = r, a = i[c] + t; i[c + 1] !== null && a > i[c + 1]; c += 1, a = i[c] + t) i[c + 1] = Le(a, this.props);
|
|
720
720
|
}, o.pushPreceding = function(i, t, r) {
|
|
721
|
-
for (let
|
|
721
|
+
for (let c = r, a = i[c] - t; i[c - 1] !== null && a < i[c - 1]; c -= 1, a = i[c] - t) i[c - 1] = Le(a, this.props);
|
|
722
722
|
}, o.axisKey = function() {
|
|
723
723
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
724
724
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -743,33 +743,33 @@ let Fe = function(n) {
|
|
|
743
743
|
}, o.renderThumbs = function(i) {
|
|
744
744
|
const { length: t } = i, r = [];
|
|
745
745
|
for (let a = 0; a < t; a += 1) r[a] = this.buildThumbStyle(i[a], a);
|
|
746
|
-
const
|
|
747
|
-
for (let a = 0; a < t; a += 1)
|
|
748
|
-
return
|
|
746
|
+
const c = [];
|
|
747
|
+
for (let a = 0; a < t; a += 1) c[a] = this.renderThumb(r[a], a);
|
|
748
|
+
return c;
|
|
749
749
|
}, o.renderTracks = function(i) {
|
|
750
750
|
const t = [], r = i.length - 1;
|
|
751
751
|
t.push(this.renderTrack(0, 0, i[0]));
|
|
752
|
-
for (let
|
|
752
|
+
for (let c = 0; c < r; c += 1) t.push(this.renderTrack(c + 1, i[c], i[c + 1]));
|
|
753
753
|
return t.push(this.renderTrack(r + 1, i[r], this.state.upperBound)), t;
|
|
754
754
|
}, o.renderMarks = function() {
|
|
755
755
|
let { marks: i } = this.props;
|
|
756
756
|
const t = this.props.max - this.props.min + 1;
|
|
757
|
-
return typeof i == "boolean" ? i = Array.from({ length: t }).map((r,
|
|
758
|
-
const
|
|
757
|
+
return typeof i == "boolean" ? i = Array.from({ length: t }).map((r, c) => c) : typeof i == "number" && (i = Array.from({ length: t }).map((r, c) => c).filter((r) => r % i == 0)), i.map(parseFloat).sort((r, c) => r - c).map((r) => {
|
|
758
|
+
const c = this.calcOffset(r), a = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(c) };
|
|
759
759
|
return this.props.renderMark(a);
|
|
760
760
|
});
|
|
761
761
|
}, o.render = function() {
|
|
762
762
|
const i = [], { value: t } = this.state, r = t.length;
|
|
763
763
|
for (let u = 0; u < r; u += 1) i[u] = this.calcOffset(t[u], u);
|
|
764
|
-
const
|
|
764
|
+
const c = this.props.withTracks ? this.renderTracks(i) : null, a = this.renderThumbs(i), l = this.props.marks ? this.renderMarks() : null;
|
|
765
765
|
return B.createElement("div", { ref: (u) => {
|
|
766
766
|
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 },
|
|
767
|
+
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, c, a, l);
|
|
768
768
|
}, d;
|
|
769
769
|
}(B.Component);
|
|
770
770
|
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) };
|
|
771
771
|
var L2 = Fe;
|
|
772
|
-
const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_12", $2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33",
|
|
772
|
+
const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_12", $2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33", Q = {
|
|
773
773
|
container: F2,
|
|
774
774
|
unitLabel: D2,
|
|
775
775
|
slider: T2,
|
|
@@ -783,10 +783,10 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
783
783
|
onChange: i,
|
|
784
784
|
width: t = 300,
|
|
785
785
|
unit: r,
|
|
786
|
-
fontColor:
|
|
786
|
+
fontColor: c = "#605B56",
|
|
787
787
|
defaultValue: a
|
|
788
788
|
}) => {
|
|
789
|
-
const { t:
|
|
789
|
+
const { t: l } = k(), [u, m] = S([n, d]), g = (y) => {
|
|
790
790
|
m(y), i == null || i({ min: y[0], max: y[1] });
|
|
791
791
|
};
|
|
792
792
|
return T(() => {
|
|
@@ -794,16 +794,16 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
794
794
|
}, [a]), /* @__PURE__ */ h(
|
|
795
795
|
"div",
|
|
796
796
|
{
|
|
797
|
-
className:
|
|
798
|
-
style: { width: `${t}px`, color: `${
|
|
797
|
+
className: Q.container,
|
|
798
|
+
style: { width: `${t}px`, color: `${c}` },
|
|
799
799
|
children: [
|
|
800
|
-
/* @__PURE__ */ s("div", { className:
|
|
800
|
+
/* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: l(r) }) }),
|
|
801
801
|
/* @__PURE__ */ s(
|
|
802
802
|
L2,
|
|
803
803
|
{
|
|
804
|
-
className:
|
|
805
|
-
thumbClassName:
|
|
806
|
-
trackClassName:
|
|
804
|
+
className: Q.slider,
|
|
805
|
+
thumbClassName: Q.thumb,
|
|
806
|
+
trackClassName: Q.track,
|
|
807
807
|
min: n,
|
|
808
808
|
max: d,
|
|
809
809
|
step: o,
|
|
@@ -814,7 +814,7 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
814
814
|
minDistance: 0.1
|
|
815
815
|
}
|
|
816
816
|
),
|
|
817
|
-
/* @__PURE__ */ h("div", { className:
|
|
817
|
+
/* @__PURE__ */ h("div", { className: Q.labels, children: [
|
|
818
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
819
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
820
820
|
] })
|
|
@@ -847,9 +847,9 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
847
847
|
const [o, i] = S(), {
|
|
848
848
|
type: t,
|
|
849
849
|
name: r,
|
|
850
|
-
values:
|
|
850
|
+
values: c,
|
|
851
851
|
minValue: a,
|
|
852
|
-
maxValue:
|
|
852
|
+
maxValue: l,
|
|
853
853
|
unit: u,
|
|
854
854
|
step: m
|
|
855
855
|
} = n || {}, g = he(
|
|
@@ -932,7 +932,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
932
932
|
return console.log("mapfilterSelected", x), x;
|
|
933
933
|
}, [C]);
|
|
934
934
|
return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
935
|
-
|
|
935
|
+
W,
|
|
936
936
|
{
|
|
937
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
938
938
|
title: r,
|
|
@@ -994,12 +994,12 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
994
994
|
]
|
|
995
995
|
}
|
|
996
996
|
),
|
|
997
|
-
g && /* @__PURE__ */ s("div", { className: ue.checkboxContainer, children:
|
|
997
|
+
g && /* @__PURE__ */ s("div", { className: ue.checkboxContainer, children: c.map((x, w) => {
|
|
998
998
|
var N;
|
|
999
999
|
return /* @__PURE__ */ s(
|
|
1000
1000
|
it,
|
|
1001
1001
|
{
|
|
1002
|
-
onClick: () => b({ valueClicked: w, allValues:
|
|
1002
|
+
onClick: () => b({ valueClicked: w, allValues: c }),
|
|
1003
1003
|
indicator: x,
|
|
1004
1004
|
value: ((N = v[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(w)) || !v[n.code[t == "both" ? 1 : 0]]
|
|
1005
1005
|
},
|
|
@@ -1011,7 +1011,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
1011
1011
|
{
|
|
1012
1012
|
onChange: b,
|
|
1013
1013
|
min: a,
|
|
1014
|
-
max:
|
|
1014
|
+
max: l,
|
|
1015
1015
|
unit: u,
|
|
1016
1016
|
defaultValue: v[n.code[0]] ? v[n.code[0]] : "",
|
|
1017
1017
|
step: m
|
|
@@ -1042,15 +1042,15 @@ const st = ({
|
|
|
1042
1042
|
activeColor: o
|
|
1043
1043
|
//onChangeBothType,
|
|
1044
1044
|
}) => {
|
|
1045
|
-
const { activeSubcategory: i } = D((
|
|
1045
|
+
const { activeSubcategory: i } = D((c) => c), { name: t, indicators: r } = n || {};
|
|
1046
1046
|
return /* @__PURE__ */ s(
|
|
1047
|
-
|
|
1047
|
+
W,
|
|
1048
1048
|
{
|
|
1049
1049
|
title: t,
|
|
1050
1050
|
isOpen: i == `id${t}`,
|
|
1051
1051
|
onClick: () => {
|
|
1052
|
-
D.setState((
|
|
1053
|
-
activeSubcategory:
|
|
1052
|
+
D.setState((c) => ({
|
|
1053
|
+
activeSubcategory: c.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1054
1054
|
}));
|
|
1055
1055
|
},
|
|
1056
1056
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
@@ -1059,10 +1059,10 @@ const st = ({
|
|
|
1059
1059
|
height: 48,
|
|
1060
1060
|
color: d,
|
|
1061
1061
|
activeColor: o,
|
|
1062
|
-
children: r == null ? void 0 : r.map((
|
|
1062
|
+
children: r == null ? void 0 : r.map((c, a) => /* @__PURE__ */ s(
|
|
1063
1063
|
Ie,
|
|
1064
1064
|
{
|
|
1065
|
-
indicator:
|
|
1065
|
+
indicator: c,
|
|
1066
1066
|
fontColor: d,
|
|
1067
1067
|
activeColor: o
|
|
1068
1068
|
},
|
|
@@ -1089,9 +1089,9 @@ const rt = ({
|
|
|
1089
1089
|
// onChangeBothType,
|
|
1090
1090
|
activeColor: d
|
|
1091
1091
|
}) => {
|
|
1092
|
-
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor:
|
|
1092
|
+
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: c } = D((a) => a);
|
|
1093
1093
|
return n && /* @__PURE__ */ s(
|
|
1094
|
-
|
|
1094
|
+
W,
|
|
1095
1095
|
{
|
|
1096
1096
|
onClick: () => {
|
|
1097
1097
|
D.setState((a) => ({
|
|
@@ -1102,24 +1102,24 @@ const rt = ({
|
|
|
1102
1102
|
isOpen: r === `id${o}`,
|
|
1103
1103
|
titleFontStyles: { fontSize: 18, fontWeight: "bold" },
|
|
1104
1104
|
showBottomBar: !1,
|
|
1105
|
-
color:
|
|
1105
|
+
color: c,
|
|
1106
1106
|
activeColor: d,
|
|
1107
|
-
children: i ? i.map((a,
|
|
1107
|
+
children: i ? i.map((a, l) => /* @__PURE__ */ s(
|
|
1108
1108
|
st,
|
|
1109
1109
|
{
|
|
1110
1110
|
subcategory: a,
|
|
1111
|
-
fontColor:
|
|
1111
|
+
fontColor: c,
|
|
1112
1112
|
activeColor: d
|
|
1113
1113
|
},
|
|
1114
|
-
`subcategory-${
|
|
1115
|
-
)) : t && t.map((a,
|
|
1114
|
+
`subcategory-${l}`
|
|
1115
|
+
)) : t && t.map((a, l) => /* @__PURE__ */ s(
|
|
1116
1116
|
Ie,
|
|
1117
1117
|
{
|
|
1118
1118
|
indicator: a,
|
|
1119
|
-
fontColor:
|
|
1119
|
+
fontColor: c,
|
|
1120
1120
|
activeColor: d
|
|
1121
1121
|
},
|
|
1122
|
-
`indicator-${
|
|
1122
|
+
`indicator-${l}`
|
|
1123
1123
|
))
|
|
1124
1124
|
}
|
|
1125
1125
|
);
|
|
@@ -1142,22 +1142,22 @@ const at = ({
|
|
|
1142
1142
|
inputsColor: t = "#605B56",
|
|
1143
1143
|
activeColor: r
|
|
1144
1144
|
}) => {
|
|
1145
|
-
const { tematicalFiltersSelected:
|
|
1145
|
+
const { tematicalFiltersSelected: c } = D((l) => l), { t: a } = k();
|
|
1146
1146
|
return T(() => {
|
|
1147
1147
|
i && D.setState(() => ({ fontColor: i }));
|
|
1148
1148
|
}, [i]), T(() => {
|
|
1149
1149
|
t && D.setState(() => ({ inputsColor: t }));
|
|
1150
1150
|
}, [t]), /* @__PURE__ */ s(
|
|
1151
|
-
|
|
1151
|
+
W,
|
|
1152
1152
|
{
|
|
1153
1153
|
isOpen: d,
|
|
1154
1154
|
title: o ? a(o) : "Tematical filters",
|
|
1155
1155
|
color: i,
|
|
1156
1156
|
activeColor: r,
|
|
1157
|
-
children: n == null ? void 0 : n.map((
|
|
1157
|
+
children: n == null ? void 0 : n.map((l, u) => /* @__PURE__ */ s(
|
|
1158
1158
|
rt,
|
|
1159
1159
|
{
|
|
1160
|
-
category:
|
|
1160
|
+
category: l,
|
|
1161
1161
|
fontColor: i,
|
|
1162
1162
|
activeColor: r
|
|
1163
1163
|
},
|
|
@@ -1175,7 +1175,7 @@ at.propTypes = {
|
|
|
1175
1175
|
inputsColor: e.string,
|
|
1176
1176
|
activeColor: e.string
|
|
1177
1177
|
};
|
|
1178
|
-
const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", j2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", H2 = "_warning_1g9xx_37",
|
|
1178
|
+
const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", j2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", H2 = "_warning_1g9xx_37", J = {
|
|
1179
1179
|
FiltersAmbitContainer: P2,
|
|
1180
1180
|
FiltersAmbitHeader: q2,
|
|
1181
1181
|
FiltersAmbitTitle: z2,
|
|
@@ -1189,9 +1189,9 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1189
1189
|
indicators: i,
|
|
1190
1190
|
activeColor: t,
|
|
1191
1191
|
textColor: r,
|
|
1192
|
-
backgroundColor:
|
|
1192
|
+
backgroundColor: c,
|
|
1193
1193
|
onChangeAppliedFilters: a,
|
|
1194
|
-
saveAmbit:
|
|
1194
|
+
saveAmbit: l,
|
|
1195
1195
|
namePlaceholder: u,
|
|
1196
1196
|
descPlaceholder: m,
|
|
1197
1197
|
filtersTypes: g = ["geographical", "tematical"],
|
|
@@ -1208,11 +1208,11 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1208
1208
|
console.log("filtersSelected changed: ", _), a(_);
|
|
1209
1209
|
}, [_]);
|
|
1210
1210
|
const L = () => {
|
|
1211
|
-
p ?
|
|
1211
|
+
p ? l({ name: p, description: v }) : N(!0);
|
|
1212
1212
|
};
|
|
1213
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1214
|
-
!C && /* @__PURE__ */ h("div", { className:
|
|
1215
|
-
/* @__PURE__ */ s("div", { className:
|
|
1213
|
+
return /* @__PURE__ */ h("div", { className: J.FiltersAmbitContainer, children: [
|
|
1214
|
+
!C && /* @__PURE__ */ h("div", { className: J.FiltersAmbitHeader, children: [
|
|
1215
|
+
/* @__PURE__ */ s("div", { className: J.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1216
1216
|
"input",
|
|
1217
1217
|
{
|
|
1218
1218
|
type: "text",
|
|
@@ -1223,7 +1223,7 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1223
1223
|
placeholder: f(u)
|
|
1224
1224
|
}
|
|
1225
1225
|
) }),
|
|
1226
|
-
/* @__PURE__ */ s("div", { className:
|
|
1226
|
+
/* @__PURE__ */ s("div", { className: J.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: J.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1227
1227
|
"textarea",
|
|
1228
1228
|
{
|
|
1229
1229
|
value: v,
|
|
@@ -1238,7 +1238,7 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1238
1238
|
title: f("applied_filters"),
|
|
1239
1239
|
isOpen: !0,
|
|
1240
1240
|
textColor: r || "#fff",
|
|
1241
|
-
backgroundColor:
|
|
1241
|
+
backgroundColor: c || "#605B5680",
|
|
1242
1242
|
activeColor: t
|
|
1243
1243
|
}
|
|
1244
1244
|
),
|
|
@@ -1253,7 +1253,7 @@ const P2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1253
1253
|
activeColor: t
|
|
1254
1254
|
}
|
|
1255
1255
|
),
|
|
1256
|
-
w && /* @__PURE__ */ s("div", { className:
|
|
1256
|
+
w && /* @__PURE__ */ s("div", { className: J.warning, children: f(y) }),
|
|
1257
1257
|
!C && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ge, { onClick: () => L(), children: f("save_ambit") }) })
|
|
1258
1258
|
] });
|
|
1259
1259
|
};
|
|
@@ -1281,36 +1281,36 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1281
1281
|
gap: i = 23,
|
|
1282
1282
|
fontColor: t = "#605B56",
|
|
1283
1283
|
verticalPaddign: r = 10,
|
|
1284
|
-
horizontalPaddign:
|
|
1284
|
+
horizontalPaddign: c = 20,
|
|
1285
1285
|
leftPadding: a = 200,
|
|
1286
|
-
numberOfDivisions:
|
|
1286
|
+
numberOfDivisions: l = 7,
|
|
1287
1287
|
maxValue: u = null
|
|
1288
1288
|
}) => {
|
|
1289
1289
|
const { t: m } = k(), { xScale: g, ticks: y, height: C } = he(() => {
|
|
1290
1290
|
if (n && n.length > 0) {
|
|
1291
|
-
const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Pe.max(n, (v) => v.value) || 1, p = Pe.scaleLinear().domain([0, u || _]).range([0, d - a]), b = Array.from({ length:
|
|
1291
|
+
const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Pe.max(n, (v) => v.value) || 1, p = Pe.scaleLinear().domain([0, u || _]).range([0, d - a]), b = Array.from({ length: l + 1 }, (v, x) => u ? u / l * x : _ / l * x);
|
|
1292
1292
|
return {
|
|
1293
1293
|
xScale: p,
|
|
1294
1294
|
ticks: b,
|
|
1295
1295
|
height: f,
|
|
1296
1296
|
width: d,
|
|
1297
1297
|
verticalPaddign: r,
|
|
1298
|
-
horizontalPaddign:
|
|
1298
|
+
horizontalPaddign: c
|
|
1299
1299
|
};
|
|
1300
1300
|
} else
|
|
1301
1301
|
return { xScale: null, ticks: [], height: 0 };
|
|
1302
1302
|
}, [
|
|
1303
1303
|
n,
|
|
1304
1304
|
d,
|
|
1305
|
-
|
|
1305
|
+
l,
|
|
1306
1306
|
o,
|
|
1307
1307
|
i,
|
|
1308
|
-
|
|
1308
|
+
c,
|
|
1309
1309
|
r,
|
|
1310
1310
|
u
|
|
1311
1311
|
]);
|
|
1312
|
-
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d +
|
|
1313
|
-
/* @__PURE__ */ s("g", { transform: `translate(${a +
|
|
1312
|
+
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + c * 2, height: C, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1313
|
+
/* @__PURE__ */ s("g", { transform: `translate(${a + c}, 0)`, children: y.map((f, _) => {
|
|
1314
1314
|
const p = g(f);
|
|
1315
1315
|
return /* @__PURE__ */ h("g", { transform: `translate(${p}, 0)`, children: [
|
|
1316
1316
|
/* @__PURE__ */ s(
|
|
@@ -1338,7 +1338,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1338
1338
|
return /* @__PURE__ */ h(
|
|
1339
1339
|
"g",
|
|
1340
1340
|
{
|
|
1341
|
-
transform: `translate(${a +
|
|
1341
|
+
transform: `translate(${a + c}, ${b})`,
|
|
1342
1342
|
children: [
|
|
1343
1343
|
/* @__PURE__ */ s(
|
|
1344
1344
|
"text",
|
|
@@ -1392,9 +1392,9 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
|
1392
1392
|
borderColor: i = "#605B56",
|
|
1393
1393
|
title: t = "Graphic Title",
|
|
1394
1394
|
fontColor: r = "#605B56",
|
|
1395
|
-
maxValue:
|
|
1395
|
+
maxValue: c = null,
|
|
1396
1396
|
numberOfDivisions: a = 7,
|
|
1397
|
-
leftPadding:
|
|
1397
|
+
leftPadding: l = 200
|
|
1398
1398
|
}) => {
|
|
1399
1399
|
const { t: u } = k();
|
|
1400
1400
|
return /* @__PURE__ */ h(
|
|
@@ -1413,9 +1413,9 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
|
1413
1413
|
data: n,
|
|
1414
1414
|
width: d,
|
|
1415
1415
|
fontColor: r,
|
|
1416
|
-
maxValue:
|
|
1416
|
+
maxValue: c,
|
|
1417
1417
|
numberOfDivisions: a,
|
|
1418
|
-
leftPadding:
|
|
1418
|
+
leftPadding: l
|
|
1419
1419
|
}
|
|
1420
1420
|
)
|
|
1421
1421
|
]
|
|
@@ -1461,9 +1461,9 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1461
1461
|
defaultColor: i = "#92898A",
|
|
1462
1462
|
activeIndicator: t,
|
|
1463
1463
|
activeIndicatorType: r,
|
|
1464
|
-
onClickIndicator:
|
|
1464
|
+
onClickIndicator: c,
|
|
1465
1465
|
multiple: a = !1,
|
|
1466
|
-
onChangeType:
|
|
1466
|
+
onChangeType: l
|
|
1467
1467
|
}) => {
|
|
1468
1468
|
const { t: u } = k(), { name: m, type: g } = n, [y, C] = S(!1);
|
|
1469
1469
|
T(() => {
|
|
@@ -1478,7 +1478,7 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1478
1478
|
"div",
|
|
1479
1479
|
{
|
|
1480
1480
|
className: M.optionContainer,
|
|
1481
|
-
onClick: () =>
|
|
1481
|
+
onClick: () => l("cat"),
|
|
1482
1482
|
children: [
|
|
1483
1483
|
/* @__PURE__ */ s(
|
|
1484
1484
|
"span",
|
|
@@ -1507,7 +1507,7 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1507
1507
|
"div",
|
|
1508
1508
|
{
|
|
1509
1509
|
className: M.optionContainer,
|
|
1510
|
-
onClick: () =>
|
|
1510
|
+
onClick: () => l("abs"),
|
|
1511
1511
|
children: [
|
|
1512
1512
|
/* @__PURE__ */ s(
|
|
1513
1513
|
"span",
|
|
@@ -1553,7 +1553,7 @@ const J2 = "_indicatorsCategory_1cu33_2", X2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1553
1553
|
"div",
|
|
1554
1554
|
{
|
|
1555
1555
|
className: M.indicatorNameContainer,
|
|
1556
|
-
onClick: () =>
|
|
1556
|
+
onClick: () => c({ indicator: n }),
|
|
1557
1557
|
children: [
|
|
1558
1558
|
/* @__PURE__ */ s(
|
|
1559
1559
|
"div",
|
|
@@ -1601,17 +1601,17 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1601
1601
|
activeColor: i,
|
|
1602
1602
|
activeSubCategory: t,
|
|
1603
1603
|
onClickSubCategory: r,
|
|
1604
|
-
id:
|
|
1604
|
+
id: c,
|
|
1605
1605
|
activeIndicator: a,
|
|
1606
|
-
onClickIndicator:
|
|
1606
|
+
onClickIndicator: l,
|
|
1607
1607
|
multiple: u,
|
|
1608
1608
|
activeIndicatorType: m,
|
|
1609
1609
|
onChangeType: g
|
|
1610
1610
|
}) => {
|
|
1611
1611
|
const { t: y } = k(), [C, f] = S(!1);
|
|
1612
1612
|
return T(() => {
|
|
1613
|
-
f(t ==
|
|
1614
|
-
}, [t,
|
|
1613
|
+
f(t == c);
|
|
1614
|
+
}, [t, c]), /* @__PURE__ */ h(
|
|
1615
1615
|
Ae.div,
|
|
1616
1616
|
{
|
|
1617
1617
|
className: Ze.indicatorsSubCategory,
|
|
@@ -1619,7 +1619,7 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1619
1619
|
animate: { height: C ? "auto" : "43px" },
|
|
1620
1620
|
transition: { duration: 0.4 },
|
|
1621
1621
|
children: [
|
|
1622
|
-
/* @__PURE__ */ s("button", { onClick: () => r(
|
|
1622
|
+
/* @__PURE__ */ s("button", { onClick: () => r(c), children: /* @__PURE__ */ h("h3", { style: { color: C ? i : o }, children: [
|
|
1623
1623
|
/* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
|
|
1624
1624
|
/* @__PURE__ */ s(
|
|
1625
1625
|
"span",
|
|
@@ -1636,7 +1636,7 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1636
1636
|
defaultColor: o,
|
|
1637
1637
|
activeColor: i,
|
|
1638
1638
|
activeIndicator: a,
|
|
1639
|
-
onClickIndicator:
|
|
1639
|
+
onClickIndicator: l,
|
|
1640
1640
|
multiple: u,
|
|
1641
1641
|
activeIndicatorType: m,
|
|
1642
1642
|
onChangeType: g
|
|
@@ -1666,9 +1666,9 @@ const dt = ({
|
|
|
1666
1666
|
defaultColor: i,
|
|
1667
1667
|
onClickCategory: t,
|
|
1668
1668
|
activeCategory: r,
|
|
1669
|
-
activeSubCategory:
|
|
1669
|
+
activeSubCategory: c,
|
|
1670
1670
|
onClickSubCategory: a,
|
|
1671
|
-
activeIndicator:
|
|
1671
|
+
activeIndicator: l,
|
|
1672
1672
|
onClickIndicator: u,
|
|
1673
1673
|
multiple: m,
|
|
1674
1674
|
activeIndicatorType: g,
|
|
@@ -1706,10 +1706,10 @@ const dt = ({
|
|
|
1706
1706
|
ct,
|
|
1707
1707
|
{
|
|
1708
1708
|
id: v,
|
|
1709
|
-
activeSubCategory:
|
|
1709
|
+
activeSubCategory: c,
|
|
1710
1710
|
subcName: b,
|
|
1711
1711
|
onClickSubCategory: a,
|
|
1712
|
-
activeIndicator:
|
|
1712
|
+
activeIndicator: l,
|
|
1713
1713
|
onClickIndicator: u,
|
|
1714
1714
|
multiple: m,
|
|
1715
1715
|
activeColor: o,
|
|
@@ -1727,7 +1727,7 @@ const dt = ({
|
|
|
1727
1727
|
values: b.type == "twoUnits" && b.values,
|
|
1728
1728
|
activeColor: o,
|
|
1729
1729
|
defaultColor: i,
|
|
1730
|
-
activeIndicator:
|
|
1730
|
+
activeIndicator: l,
|
|
1731
1731
|
onClickIndicator: u,
|
|
1732
1732
|
multiple: m,
|
|
1733
1733
|
activeIndicatorType: g,
|
|
@@ -1767,10 +1767,10 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1767
1767
|
// Si multiple es true, debe ser un array de strings, sino un string
|
|
1768
1768
|
defaultValue: r = null,
|
|
1769
1769
|
//si el indicador es tipo "both" cuando se cambia el tipo
|
|
1770
|
-
changeIndType:
|
|
1770
|
+
changeIndType: c,
|
|
1771
1771
|
activeIndicatorType: a
|
|
1772
1772
|
}) => {
|
|
1773
|
-
const { t:
|
|
1773
|
+
const { t: l } = k(), [u, m] = S(), [g, y] = S(), [C, f] = S(), _ = (w) => {
|
|
1774
1774
|
m(u == w ? null : w);
|
|
1775
1775
|
}, p = (w) => {
|
|
1776
1776
|
y(g == w ? null : w);
|
|
@@ -1789,7 +1789,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1789
1789
|
) ? N.filter(
|
|
1790
1790
|
(L) => L.name != String(w.name)
|
|
1791
1791
|
) : [...N, w]
|
|
1792
|
-
), w.type == "both" &&
|
|
1792
|
+
), w.type == "both" && c("cat");
|
|
1793
1793
|
}
|
|
1794
1794
|
};
|
|
1795
1795
|
T(() => {
|
|
@@ -1816,7 +1816,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1816
1816
|
N && m(N.category);
|
|
1817
1817
|
};
|
|
1818
1818
|
return /* @__PURE__ */ h("div", { className: He.indicatorsList, children: [
|
|
1819
|
-
/* @__PURE__ */ s("h2", { className: He.title, style: { color: o }, children:
|
|
1819
|
+
/* @__PURE__ */ s("h2", { className: He.title, style: { color: o }, children: l("indicators.indicators") }),
|
|
1820
1820
|
n.map((w, N) => /* @__PURE__ */ s(
|
|
1821
1821
|
dt,
|
|
1822
1822
|
{
|
|
@@ -1832,7 +1832,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1832
1832
|
defaultColor: o,
|
|
1833
1833
|
multiple: t,
|
|
1834
1834
|
onChange: i,
|
|
1835
|
-
onChangeType:
|
|
1835
|
+
onChangeType: c,
|
|
1836
1836
|
activeIndicatorType: a
|
|
1837
1837
|
},
|
|
1838
1838
|
`categoryKey${N}`
|
|
@@ -1850,39 +1850,39 @@ g0.propTypes = {
|
|
|
1850
1850
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1851
1851
|
activeIndicatorType: e.string
|
|
1852
1852
|
};
|
|
1853
|
-
const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o9enq_26", y0 = "_prevImg_o9enq_29", _0 = "_langMenu_o9enq_33",
|
|
1853
|
+
const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o9enq_26", y0 = "_prevImg_o9enq_29", _0 = "_langMenu_o9enq_33", X = {
|
|
1854
1854
|
langSelector: C0,
|
|
1855
1855
|
currentLang: f0,
|
|
1856
1856
|
arrow: b0,
|
|
1857
1857
|
prevImg: y0,
|
|
1858
1858
|
langMenu: _0
|
|
1859
1859
|
}, v0 = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1860
|
-
const [i, t] = S(!1), { i18n: r } = k(),
|
|
1861
|
-
r.changeLanguage(
|
|
1860
|
+
const [i, t] = S(!1), { i18n: r } = k(), c = n.find((l) => l.code == r.language), a = (l) => {
|
|
1861
|
+
r.changeLanguage(l), t(!1);
|
|
1862
1862
|
};
|
|
1863
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1863
|
+
return /* @__PURE__ */ h("div", { className: X.langSelector, children: [
|
|
1864
1864
|
/* @__PURE__ */ h(
|
|
1865
1865
|
"div",
|
|
1866
1866
|
{
|
|
1867
|
-
className:
|
|
1867
|
+
className: X.currentLang,
|
|
1868
1868
|
onClick: () => {
|
|
1869
1869
|
t(!i);
|
|
1870
1870
|
},
|
|
1871
1871
|
children: [
|
|
1872
|
-
o && /* @__PURE__ */ s("img", { className:
|
|
1873
|
-
(
|
|
1874
|
-
/* @__PURE__ */ s("img", { src: d, className:
|
|
1872
|
+
o && /* @__PURE__ */ s("img", { className: X.prevImg, src: o }),
|
|
1873
|
+
(c == null ? void 0 : c.titleSelected) || (c == null ? void 0 : c.title),
|
|
1874
|
+
/* @__PURE__ */ s("img", { src: d, className: X.arrow })
|
|
1875
1875
|
]
|
|
1876
1876
|
}
|
|
1877
1877
|
),
|
|
1878
|
-
i && /* @__PURE__ */ s("div", { className:
|
|
1878
|
+
i && /* @__PURE__ */ s("div", { className: X.langMenu, children: n.map((l) => /* @__PURE__ */ s(
|
|
1879
1879
|
"button",
|
|
1880
1880
|
{
|
|
1881
|
-
className: (
|
|
1882
|
-
onClick: () => a(
|
|
1883
|
-
children:
|
|
1881
|
+
className: (c == null ? void 0 : c.code) == l.code ? X.active : "",
|
|
1882
|
+
onClick: () => a(l.code),
|
|
1883
|
+
children: l.title
|
|
1884
1884
|
},
|
|
1885
|
-
|
|
1885
|
+
l.code
|
|
1886
1886
|
)) })
|
|
1887
1887
|
] });
|
|
1888
1888
|
};
|
|
@@ -1932,10 +1932,10 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1932
1932
|
absoluteValue: r,
|
|
1933
1933
|
//Function to be called when the button is clicked (optional).
|
|
1934
1934
|
//If this is null or undefined the button wont be displayed.
|
|
1935
|
-
onClickMoreInfo:
|
|
1935
|
+
onClickMoreInfo: c,
|
|
1936
1936
|
//If not passed it will read t("moreInformation")
|
|
1937
1937
|
buttonTitle: a,
|
|
1938
|
-
onClickClose:
|
|
1938
|
+
onClickClose: l
|
|
1939
1939
|
}) => {
|
|
1940
1940
|
const { t: u } = k();
|
|
1941
1941
|
return /* @__PURE__ */ h(
|
|
@@ -1944,7 +1944,7 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1944
1944
|
style: n ? { ...n } : {},
|
|
1945
1945
|
className: `${V.legendContainer}`,
|
|
1946
1946
|
children: [
|
|
1947
|
-
/* @__PURE__ */ s("button", { className: V.closeButton, onClick:
|
|
1947
|
+
/* @__PURE__ */ s("button", { className: V.closeButton, onClick: l }),
|
|
1948
1948
|
d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1949
1949
|
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: m, value: g }) => /* @__PURE__ */ h("li", { children: [
|
|
1950
1950
|
/* @__PURE__ */ s("h3", { className: V.title, children: `${m}:` }),
|
|
@@ -1991,7 +1991,7 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1991
1991
|
] })
|
|
1992
1992
|
] }, d)
|
|
1993
1993
|
) }) }),
|
|
1994
|
-
|
|
1994
|
+
c && /* @__PURE__ */ s("button", { className: V.moreInfoContainer, onClick: c, children: a || u("moreInformation") })
|
|
1995
1995
|
]
|
|
1996
1996
|
}
|
|
1997
1997
|
);
|
|
@@ -2045,9 +2045,9 @@ const P0 = ({
|
|
|
2045
2045
|
mapStyle: i,
|
|
2046
2046
|
firstSymbolLayer: t,
|
|
2047
2047
|
cssProps: r = "",
|
|
2048
|
-
onClick:
|
|
2048
|
+
onClick: c = "",
|
|
2049
2049
|
interactiveLayers: a = [],
|
|
2050
|
-
popUp:
|
|
2050
|
+
popUp: l = !1,
|
|
2051
2051
|
sources: u = [],
|
|
2052
2052
|
layers: m = []
|
|
2053
2053
|
}) => {
|
|
@@ -2068,7 +2068,7 @@ const P0 = ({
|
|
|
2068
2068
|
maxZoom: d,
|
|
2069
2069
|
minZoom: o,
|
|
2070
2070
|
mapStyle: i,
|
|
2071
|
-
onClick:
|
|
2071
|
+
onClick: c,
|
|
2072
2072
|
interactiveLayerIds: a,
|
|
2073
2073
|
children: [
|
|
2074
2074
|
u.length && u.map((_, p) => /* @__PURE__ */ s(
|
|
@@ -2089,14 +2089,14 @@ const P0 = ({
|
|
|
2089
2089
|
p
|
|
2090
2090
|
)),
|
|
2091
2091
|
/* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
|
|
2092
|
-
|
|
2092
|
+
l && y && /* @__PURE__ */ s(
|
|
2093
2093
|
Mt,
|
|
2094
2094
|
{
|
|
2095
|
-
longitude:
|
|
2096
|
-
latitude:
|
|
2097
|
-
anchor:
|
|
2095
|
+
longitude: l.longitude,
|
|
2096
|
+
latitude: l.latitude,
|
|
2097
|
+
anchor: l.anchor,
|
|
2098
2098
|
onClose: () => C(null),
|
|
2099
|
-
children:
|
|
2099
|
+
children: l.content
|
|
2100
2100
|
}
|
|
2101
2101
|
)
|
|
2102
2102
|
]
|
|
@@ -2150,7 +2150,7 @@ P0.propTypes = {
|
|
|
2150
2150
|
};
|
|
2151
2151
|
const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
2152
2152
|
mapContainer: q0
|
|
2153
|
-
}, j0 = "
|
|
2153
|
+
}, j0 = "_FeaturePopUp_18cpc_2", Z0 = "_title_18cpc_9", Ue = {
|
|
2154
2154
|
FeaturePopUp: j0,
|
|
2155
2155
|
title: Z0
|
|
2156
2156
|
}, H0 = ({ props: n }) => {
|
|
@@ -2173,9 +2173,9 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2173
2173
|
mapStyle: i,
|
|
2174
2174
|
firstSymbolLayer: t,
|
|
2175
2175
|
cssProps: r = {},
|
|
2176
|
-
onClick:
|
|
2176
|
+
onClick: c = "",
|
|
2177
2177
|
interactiveLayers: a = [],
|
|
2178
|
-
sources:
|
|
2178
|
+
sources: l = [],
|
|
2179
2179
|
layers: u = [],
|
|
2180
2180
|
filters: m,
|
|
2181
2181
|
popUpParams: g,
|
|
@@ -2206,10 +2206,10 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2206
2206
|
maxZoom: d,
|
|
2207
2207
|
minZoom: o,
|
|
2208
2208
|
mapStyle: i,
|
|
2209
|
-
onClick:
|
|
2209
|
+
onClick: c,
|
|
2210
2210
|
interactiveLayerIds: a,
|
|
2211
2211
|
children: [
|
|
2212
|
-
|
|
2212
|
+
l.length && l.map((_, p) => /* @__PURE__ */ s(
|
|
2213
2213
|
Dt,
|
|
2214
2214
|
{
|
|
2215
2215
|
..._,
|
|
@@ -2291,7 +2291,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2291
2291
|
title: W0,
|
|
2292
2292
|
subtitle: Q0,
|
|
2293
2293
|
rightContent: J0
|
|
2294
|
-
},
|
|
2294
|
+
}, ii = ({
|
|
2295
2295
|
leftIcon: n,
|
|
2296
2296
|
title: d,
|
|
2297
2297
|
subtitle: o,
|
|
@@ -2299,12 +2299,12 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2299
2299
|
mainColor: t,
|
|
2300
2300
|
width: r
|
|
2301
2301
|
}) => {
|
|
2302
|
-
const { t:
|
|
2302
|
+
const { t: c } = k();
|
|
2303
2303
|
return /* @__PURE__ */ h("div", { className: K.sectionBar, style: { width: r && r }, children: [
|
|
2304
2304
|
/* @__PURE__ */ h("div", { className: K.leftContent, children: [
|
|
2305
2305
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: K.icon }),
|
|
2306
2306
|
/* @__PURE__ */ h("div", { className: K.textContainer, children: [
|
|
2307
|
-
/* @__PURE__ */ s("div", { className: K.title, children:
|
|
2307
|
+
/* @__PURE__ */ s("div", { className: K.title, children: c(d) }),
|
|
2308
2308
|
o && /* @__PURE__ */ s("div", { className: K.subtitle, children: o })
|
|
2309
2309
|
] })
|
|
2310
2310
|
] }),
|
|
@@ -2336,14 +2336,14 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2336
2336
|
n.activeIndicatorUnit = d.payload;
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
|
-
}), { setShowTexts:
|
|
2339
|
+
}), { setShowTexts: oi, setYear: we, setActiveIndicatorKey: si, setActiveIndicatorType: ri, setActiveIndicatorUnit: ai } = X0.actions, en = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", tn = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", nn = "_slider_a19yo_2", on = "_playButton_a19yo_17", sn = "_sliderOpen_a19yo_28", rn = "_sliderResults_a19yo_32", ie = {
|
|
2340
2340
|
slider: nn,
|
|
2341
2341
|
playButton: on,
|
|
2342
2342
|
sliderOpen: sn,
|
|
2343
2343
|
sliderResults: rn
|
|
2344
2344
|
}, an = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2345
|
-
const [
|
|
2346
|
-
a(v),
|
|
2345
|
+
const [c, a] = S(d), l = xt(), u = (b, v) => {
|
|
2346
|
+
a(v), l(we(v - 2e3));
|
|
2347
2347
|
}, [m, g] = S(!1), y = () => {
|
|
2348
2348
|
g(!0);
|
|
2349
2349
|
}, C = () => {
|
|
@@ -2363,7 +2363,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2363
2363
|
}
|
|
2364
2364
|
}, [v]);
|
|
2365
2365
|
})(() => {
|
|
2366
|
-
m && (
|
|
2366
|
+
m && (c != 2050 ? (a(c + 1), l(we(c - 2e3 + 1))) : (a(2025), l(we(25))));
|
|
2367
2367
|
}, 1e3);
|
|
2368
2368
|
const _ = Ot({
|
|
2369
2369
|
palette: {
|
|
@@ -2405,7 +2405,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2405
2405
|
It,
|
|
2406
2406
|
{
|
|
2407
2407
|
"aria-label": "TimeSlider",
|
|
2408
|
-
value:
|
|
2408
|
+
value: c,
|
|
2409
2409
|
valueLabelDisplay: "on",
|
|
2410
2410
|
step: 1,
|
|
2411
2411
|
marks: p,
|
|
@@ -2442,7 +2442,7 @@ const ln = "_TopNavMenuContainer_12mp4_2", cn = "_topNavOptions_12mp4_13", dn =
|
|
|
2442
2442
|
textColor: i = "white"
|
|
2443
2443
|
}) => {
|
|
2444
2444
|
const { t } = k();
|
|
2445
|
-
return /* @__PURE__ */ s("div", { className: xe.TopNavMenuContainer, style: { ...d }, children: n.map((r,
|
|
2445
|
+
return /* @__PURE__ */ s("div", { className: xe.TopNavMenuContainer, style: { ...d }, children: n.map((r, c) => /* @__PURE__ */ s(
|
|
2446
2446
|
Pt,
|
|
2447
2447
|
{
|
|
2448
2448
|
to: r.url,
|
|
@@ -2453,7 +2453,7 @@ const ln = "_TopNavMenuContainer_12mp4_2", cn = "_topNavOptions_12mp4_13", dn =
|
|
|
2453
2453
|
}),
|
|
2454
2454
|
children: t(r.name)
|
|
2455
2455
|
},
|
|
2456
|
-
|
|
2456
|
+
c
|
|
2457
2457
|
)) });
|
|
2458
2458
|
};
|
|
2459
2459
|
un.propTypes = {
|
|
@@ -2475,21 +2475,21 @@ const pn = "_LogInButton_1vxj5_2", mn = {
|
|
|
2475
2475
|
containerStyles: i,
|
|
2476
2476
|
userName: t = "",
|
|
2477
2477
|
isLoggedIn: r = !1,
|
|
2478
|
-
onClickLogIn:
|
|
2478
|
+
onClickLogIn: c = () => {
|
|
2479
2479
|
console.log("Login clicked");
|
|
2480
2480
|
},
|
|
2481
2481
|
onClickLogOut: a = () => {
|
|
2482
2482
|
console.log("Logout clicked");
|
|
2483
2483
|
}
|
|
2484
2484
|
}) => {
|
|
2485
|
-
const { t:
|
|
2485
|
+
const { t: l } = k();
|
|
2486
2486
|
return /* @__PURE__ */ s(
|
|
2487
2487
|
"div",
|
|
2488
2488
|
{
|
|
2489
2489
|
style: { ...i },
|
|
2490
2490
|
className: `${mn.LogInButton} link ${n}`,
|
|
2491
|
-
onClick: r ? a :
|
|
2492
|
-
children: r ? t ||
|
|
2491
|
+
onClick: r ? a : c,
|
|
2492
|
+
children: r ? t || l(o) : l(d)
|
|
2493
2493
|
}
|
|
2494
2494
|
);
|
|
2495
2495
|
};
|
|
@@ -2552,9 +2552,9 @@ const On = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2552
2552
|
activeColor: i,
|
|
2553
2553
|
fontColor: t,
|
|
2554
2554
|
moreInfo: r,
|
|
2555
|
-
columns:
|
|
2555
|
+
columns: c,
|
|
2556
2556
|
elementButtons: a,
|
|
2557
|
-
processTooltip:
|
|
2557
|
+
processTooltip: l,
|
|
2558
2558
|
defaultTooltip: u
|
|
2559
2559
|
}) => {
|
|
2560
2560
|
const { nom: m, created_at: g, id: y, isBeingProcessed: C } = n, [f, _] = S(!1), { t: p } = k();
|
|
@@ -2565,7 +2565,7 @@ const On = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2565
2565
|
style: { borderBottom: `1px solid ${t}` },
|
|
2566
2566
|
children: [
|
|
2567
2567
|
/* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(y), children: [
|
|
2568
|
-
|
|
2568
|
+
c.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
|
|
2569
2569
|
o ? /* @__PURE__ */ s(In, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2570
2570
|
"img",
|
|
2571
2571
|
{
|
|
@@ -2575,30 +2575,30 @@ const On = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2575
2575
|
),
|
|
2576
2576
|
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: m })
|
|
2577
2577
|
] }) }),
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2578
|
+
c.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
|
|
2579
|
+
c.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2580
|
+
c.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2581
2581
|
] }),
|
|
2582
2582
|
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2583
2583
|
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2584
2584
|
/* @__PURE__ */ s("img", { src: Vn }),
|
|
2585
|
-
/* @__PURE__ */ s(
|
|
2585
|
+
/* @__PURE__ */ s(Y, { text: l, position: "left" })
|
|
2586
2586
|
] }),
|
|
2587
2587
|
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2588
2588
|
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: $n }) }),
|
|
2589
|
-
/* @__PURE__ */ s(
|
|
2589
|
+
/* @__PURE__ */ s(Y, { text: a.filter.tooltiptext, position: "left" })
|
|
2590
2590
|
] }),
|
|
2591
2591
|
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2592
2592
|
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Tn }) }),
|
|
2593
|
-
/* @__PURE__ */ s(
|
|
2593
|
+
/* @__PURE__ */ s(Y, { text: a.copy.tooltiptext, position: "left" })
|
|
2594
2594
|
] }),
|
|
2595
2595
|
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2596
2596
|
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Dn }) }),
|
|
2597
|
-
/* @__PURE__ */ s(
|
|
2597
|
+
/* @__PURE__ */ s(Y, { text: a.trash.tooltiptext, position: "left" })
|
|
2598
2598
|
] }),
|
|
2599
2599
|
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2600
2600
|
/* @__PURE__ */ s("img", { src: An }),
|
|
2601
|
-
/* @__PURE__ */ s(
|
|
2601
|
+
/* @__PURE__ */ s(Y, { text: u, position: "left" })
|
|
2602
2602
|
] })
|
|
2603
2603
|
] }),
|
|
2604
2604
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
@@ -2655,10 +2655,10 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2655
2655
|
activeColor: i,
|
|
2656
2656
|
buttonContainerStyles: t = {},
|
|
2657
2657
|
containerStyles: r = {},
|
|
2658
|
-
newElementButton:
|
|
2658
|
+
newElementButton: c,
|
|
2659
2659
|
//{label: 'text', onClick: function()}/null
|
|
2660
2660
|
onClickElement: a = (C) => console.log(`OnCLickElement: ${C}`),
|
|
2661
|
-
columns:
|
|
2661
|
+
columns: l,
|
|
2662
2662
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2663
2663
|
elementButtons: u,
|
|
2664
2664
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
@@ -2692,16 +2692,16 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2692
2692
|
style: { borderBottom: `1px solid ${o}` },
|
|
2693
2693
|
children: [
|
|
2694
2694
|
/* @__PURE__ */ h("div", { className: q.nameDateContainer, children: [
|
|
2695
|
-
|
|
2696
|
-
/* @__PURE__ */ s("span", { children: C(
|
|
2695
|
+
l.nom && /* @__PURE__ */ s("div", { className: q.elementName, children: /* @__PURE__ */ h("button", { onClick: () => p("name"), children: [
|
|
2696
|
+
/* @__PURE__ */ s("span", { children: C(l.nom) }),
|
|
2697
2697
|
/* @__PURE__ */ s("img", { src: Ye })
|
|
2698
2698
|
] }) }),
|
|
2699
|
-
|
|
2700
|
-
/* @__PURE__ */ s("span", { children: C(
|
|
2699
|
+
l.data && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => p("date"), children: [
|
|
2700
|
+
/* @__PURE__ */ s("span", { children: C(l.data) }),
|
|
2701
2701
|
/* @__PURE__ */ s("img", { src: Ye })
|
|
2702
2702
|
] }) }),
|
|
2703
|
-
|
|
2704
|
-
|
|
2703
|
+
l.ambit && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ s("span", { children: C(l.ambit) }) }),
|
|
2704
|
+
l.escenari && /* @__PURE__ */ s("div", { className: q.elementDate, children: /* @__PURE__ */ s("span", { children: C(l.escenari) }) })
|
|
2705
2705
|
] }),
|
|
2706
2706
|
/* @__PURE__ */ s("div", { className: q.buttonsContainer })
|
|
2707
2707
|
]
|
|
@@ -2715,7 +2715,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2715
2715
|
fontColor: o,
|
|
2716
2716
|
activeColor: i,
|
|
2717
2717
|
onClickElement: a,
|
|
2718
|
-
columns:
|
|
2718
|
+
columns: l,
|
|
2719
2719
|
elementButtons: u,
|
|
2720
2720
|
moreInfo: m,
|
|
2721
2721
|
processTooltip: g,
|
|
@@ -2723,13 +2723,13 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2723
2723
|
},
|
|
2724
2724
|
`elementKey${b.id}`
|
|
2725
2725
|
)) }),
|
|
2726
|
-
|
|
2726
|
+
c && /* @__PURE__ */ s("div", { className: q.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2727
2727
|
ge,
|
|
2728
2728
|
{
|
|
2729
2729
|
style: { ...t },
|
|
2730
|
-
onClick:
|
|
2730
|
+
onClick: c.onClick,
|
|
2731
2731
|
borderColor: "grey",
|
|
2732
|
-
children: C(
|
|
2732
|
+
children: C(c.label)
|
|
2733
2733
|
}
|
|
2734
2734
|
) })
|
|
2735
2735
|
]
|
|
@@ -2822,17 +2822,17 @@ var ht = (n) => /^\w*$/.test(n), Te = (n) => n === void 0, Jn = (n) => Array.isA
|
|
|
2822
2822
|
return Te(i) || i === n ? Te(n[d]) ? o : n[d] : i;
|
|
2823
2823
|
}, ke = (n) => typeof n == "boolean", We = (n, d, o) => {
|
|
2824
2824
|
let i = -1;
|
|
2825
|
-
const t = ht(d) ? [d] : gt(d), r = t.length,
|
|
2825
|
+
const t = ht(d) ? [d] : gt(d), r = t.length, c = r - 1;
|
|
2826
2826
|
for (; ++i < r; ) {
|
|
2827
2827
|
const a = t[i];
|
|
2828
|
-
let
|
|
2829
|
-
if (i !==
|
|
2828
|
+
let l = o;
|
|
2829
|
+
if (i !== c) {
|
|
2830
2830
|
const u = n[a];
|
|
2831
|
-
|
|
2831
|
+
l = re(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
|
|
2832
2832
|
}
|
|
2833
2833
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
2834
2834
|
return;
|
|
2835
|
-
n[a] =
|
|
2835
|
+
n[a] = l, n = n[a];
|
|
2836
2836
|
}
|
|
2837
2837
|
};
|
|
2838
2838
|
const Qe = {
|
|
@@ -2850,15 +2850,15 @@ var Xn = (n, d, o, i = !0) => {
|
|
|
2850
2850
|
for (const r in n)
|
|
2851
2851
|
Object.defineProperty(t, r, {
|
|
2852
2852
|
get: () => {
|
|
2853
|
-
const
|
|
2854
|
-
return d._proxyFormState[
|
|
2853
|
+
const c = r;
|
|
2854
|
+
return d._proxyFormState[c] !== Je.all && (d._proxyFormState[c] = !i || Je.all), o && (o[c] = !0), n[c];
|
|
2855
2855
|
}
|
|
2856
2856
|
});
|
|
2857
2857
|
return t;
|
|
2858
2858
|
};
|
|
2859
2859
|
const ft = typeof window < "u" ? te.useLayoutEffect : te.useEffect;
|
|
2860
2860
|
function e1(n) {
|
|
2861
|
-
const d = Re(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [
|
|
2861
|
+
const d = Re(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [c, a] = B.useState(o._formState), l = B.useRef({
|
|
2862
2862
|
isDirty: !1,
|
|
2863
2863
|
isLoading: !1,
|
|
2864
2864
|
dirtyFields: !1,
|
|
@@ -2870,7 +2870,7 @@ function e1(n) {
|
|
|
2870
2870
|
});
|
|
2871
2871
|
return ft(() => o._subscribe({
|
|
2872
2872
|
name: t,
|
|
2873
|
-
formState:
|
|
2873
|
+
formState: l.current,
|
|
2874
2874
|
exact: r,
|
|
2875
2875
|
callback: (u) => {
|
|
2876
2876
|
!i && a({
|
|
@@ -2879,28 +2879,28 @@ function e1(n) {
|
|
|
2879
2879
|
});
|
|
2880
2880
|
}
|
|
2881
2881
|
}), [t, i, r]), B.useEffect(() => {
|
|
2882
|
-
|
|
2883
|
-
}, [o]), B.useMemo(() => Xn(
|
|
2882
|
+
l.current.isValid && o._setValid(!0);
|
|
2883
|
+
}, [o]), B.useMemo(() => Xn(c, o, l.current, !1), [c, o]);
|
|
2884
2884
|
}
|
|
2885
2885
|
var t1 = (n) => typeof n == "string", n1 = (n, d, o, i, t) => t1(n) ? A(o, n, t) : Array.isArray(n) ? n.map((r) => A(o, r)) : o;
|
|
2886
2886
|
function i1(n) {
|
|
2887
|
-
const d = Re(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact:
|
|
2887
|
+
const d = Re(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: c } = n || {}, a = B.useRef(t), [l, u] = B.useState(o._getWatch(i, a.current));
|
|
2888
2888
|
return ft(() => o._subscribe({
|
|
2889
2889
|
name: i,
|
|
2890
2890
|
formState: {
|
|
2891
2891
|
values: !0
|
|
2892
2892
|
},
|
|
2893
|
-
exact:
|
|
2893
|
+
exact: c,
|
|
2894
2894
|
callback: (m) => !r && u(n1(i, o._names, m.values || o._formValues, !1, a.current))
|
|
2895
|
-
}), [i, o, r,
|
|
2895
|
+
}), [i, o, r, c]), B.useEffect(() => o._removeUnmounted()), l;
|
|
2896
2896
|
}
|
|
2897
2897
|
function o1(n) {
|
|
2898
|
-
const d = Re(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n,
|
|
2898
|
+
const d = Re(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, c = Yn(t._names.array, o), a = i1({
|
|
2899
2899
|
control: t,
|
|
2900
2900
|
name: o,
|
|
2901
2901
|
defaultValue: A(t._formValues, o, A(t._defaultValues, o, n.defaultValue)),
|
|
2902
2902
|
exact: !0
|
|
2903
|
-
}),
|
|
2903
|
+
}), l = e1({
|
|
2904
2904
|
control: t,
|
|
2905
2905
|
name: o,
|
|
2906
2906
|
exact: !0
|
|
@@ -2911,25 +2911,25 @@ function o1(n) {
|
|
|
2911
2911
|
})), g = B.useMemo(() => Object.defineProperties({}, {
|
|
2912
2912
|
invalid: {
|
|
2913
2913
|
enumerable: !0,
|
|
2914
|
-
get: () => !!A(
|
|
2914
|
+
get: () => !!A(l.errors, o)
|
|
2915
2915
|
},
|
|
2916
2916
|
isDirty: {
|
|
2917
2917
|
enumerable: !0,
|
|
2918
|
-
get: () => !!A(
|
|
2918
|
+
get: () => !!A(l.dirtyFields, o)
|
|
2919
2919
|
},
|
|
2920
2920
|
isTouched: {
|
|
2921
2921
|
enumerable: !0,
|
|
2922
|
-
get: () => !!A(
|
|
2922
|
+
get: () => !!A(l.touchedFields, o)
|
|
2923
2923
|
},
|
|
2924
2924
|
isValidating: {
|
|
2925
2925
|
enumerable: !0,
|
|
2926
|
-
get: () => !!A(
|
|
2926
|
+
get: () => !!A(l.validatingFields, o)
|
|
2927
2927
|
},
|
|
2928
2928
|
error: {
|
|
2929
2929
|
enumerable: !0,
|
|
2930
|
-
get: () => A(
|
|
2930
|
+
get: () => A(l.errors, o)
|
|
2931
2931
|
}
|
|
2932
|
-
}), [
|
|
2932
|
+
}), [l, o]), y = B.useCallback((p) => m.current.onChange({
|
|
2933
2933
|
target: {
|
|
2934
2934
|
value: Un(p),
|
|
2935
2935
|
name: o
|
|
@@ -2952,11 +2952,11 @@ function o1(n) {
|
|
|
2952
2952
|
}, [t._fields, o]), _ = B.useMemo(() => ({
|
|
2953
2953
|
name: o,
|
|
2954
2954
|
value: a,
|
|
2955
|
-
...ke(i) ||
|
|
2955
|
+
...ke(i) || l.disabled ? { disabled: l.disabled || i } : {},
|
|
2956
2956
|
onChange: y,
|
|
2957
2957
|
onBlur: C,
|
|
2958
2958
|
ref: f
|
|
2959
|
-
}), [o, i,
|
|
2959
|
+
}), [o, i, l.disabled, y, C, f, a]);
|
|
2960
2960
|
return B.useEffect(() => {
|
|
2961
2961
|
const p = t._options.shouldUnregister || r;
|
|
2962
2962
|
t.register(o, {
|
|
@@ -2971,19 +2971,19 @@ function o1(n) {
|
|
|
2971
2971
|
const v = mt(A(t._options.defaultValues, o));
|
|
2972
2972
|
We(t._defaultValues, o, v), Te(A(t._formValues, o)) && We(t._formValues, o, v);
|
|
2973
2973
|
}
|
|
2974
|
-
return !
|
|
2975
|
-
(
|
|
2974
|
+
return !c && t.register(o), () => {
|
|
2975
|
+
(c ? p && !t._state.action : p) ? t.unregister(o) : b(o, !1);
|
|
2976
2976
|
};
|
|
2977
|
-
}, [o, t,
|
|
2977
|
+
}, [o, t, c, r]), B.useEffect(() => {
|
|
2978
2978
|
t._setDisabledField({
|
|
2979
2979
|
disabled: i,
|
|
2980
2980
|
name: o
|
|
2981
2981
|
});
|
|
2982
2982
|
}, [i, o, t]), B.useMemo(() => ({
|
|
2983
2983
|
field: _,
|
|
2984
|
-
formState:
|
|
2984
|
+
formState: l,
|
|
2985
2985
|
fieldState: g
|
|
2986
|
-
}), [_,
|
|
2986
|
+
}), [_, l, g]);
|
|
2987
2987
|
}
|
|
2988
2988
|
const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
2989
2989
|
errorMessage: s1
|
|
@@ -3007,9 +3007,9 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3007
3007
|
type: i,
|
|
3008
3008
|
label: t,
|
|
3009
3009
|
maxLength: r,
|
|
3010
|
-
required:
|
|
3010
|
+
required: c,
|
|
3011
3011
|
validateFunction: a,
|
|
3012
|
-
placeholder:
|
|
3012
|
+
placeholder: l,
|
|
3013
3013
|
errorColor: u = "red",
|
|
3014
3014
|
width: m = 325,
|
|
3015
3015
|
onClickForgotPass: g = () => {
|
|
@@ -3023,7 +3023,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3023
3023
|
name: o,
|
|
3024
3024
|
control: d,
|
|
3025
3025
|
rules: {
|
|
3026
|
-
required:
|
|
3026
|
+
required: c ? `${C(t)} ${C("errorMessages.required")}` : !1,
|
|
3027
3027
|
maxLength: r || void 0,
|
|
3028
3028
|
validate: a || void 0
|
|
3029
3029
|
},
|
|
@@ -3033,7 +3033,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3033
3033
|
/* @__PURE__ */ h("h3", { className: oe.labelContainer, children: [
|
|
3034
3034
|
C(t),
|
|
3035
3035
|
" ",
|
|
3036
|
-
|
|
3036
|
+
c && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
|
|
3037
3037
|
] }),
|
|
3038
3038
|
/* @__PURE__ */ h(
|
|
3039
3039
|
"div",
|
|
@@ -3046,7 +3046,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3046
3046
|
{
|
|
3047
3047
|
type: p(),
|
|
3048
3048
|
...b,
|
|
3049
|
-
placeholder:
|
|
3049
|
+
placeholder: l ? C(l) : "",
|
|
3050
3050
|
maxLength: r || void 0
|
|
3051
3051
|
}
|
|
3052
3052
|
),
|
|
@@ -3080,7 +3080,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3080
3080
|
buttonContainer: c1
|
|
3081
3081
|
}, d1 = "_inputsContainer_10t9s_2", se = {
|
|
3082
3082
|
inputsContainer: d1
|
|
3083
|
-
}, u1 = "
|
|
3083
|
+
}, u1 = "_selectInputContainer_1rj0h_2", p1 = "_labelContainer_1rj0h_6", m1 = "_inputContainer_1rj0h_9", h1 = "_selectInput_1rj0h_2", g1 = "_option_1rj0h_23", C1 = "_dropdownArrow_1rj0h_26", ee = {
|
|
3084
3084
|
selectInputContainer: u1,
|
|
3085
3085
|
labelContainer: p1,
|
|
3086
3086
|
inputContainer: m1,
|
|
@@ -3093,46 +3093,49 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3093
3093
|
type: i,
|
|
3094
3094
|
label: t,
|
|
3095
3095
|
maxLength: r,
|
|
3096
|
-
required:
|
|
3096
|
+
required: c,
|
|
3097
3097
|
validateFunction: a,
|
|
3098
|
-
placeholder:
|
|
3098
|
+
placeholder: l,
|
|
3099
3099
|
errorColor: u = "red",
|
|
3100
3100
|
width: m = 325,
|
|
3101
3101
|
options: g = []
|
|
3102
3102
|
} = n, { t: y } = k();
|
|
3103
|
-
return /* @__PURE__ */ s(
|
|
3103
|
+
return console.log("placeholder: ", l), /* @__PURE__ */ s(
|
|
3104
3104
|
Ee,
|
|
3105
3105
|
{
|
|
3106
3106
|
name: o,
|
|
3107
3107
|
control: d,
|
|
3108
3108
|
rules: {
|
|
3109
|
-
required:
|
|
3109
|
+
required: c ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3110
3110
|
validate: a || void 0
|
|
3111
3111
|
},
|
|
3112
3112
|
render: ({ field: C, fieldState: f }) => {
|
|
3113
3113
|
var _;
|
|
3114
|
-
return /* @__PURE__ */ h("div", { className:
|
|
3115
|
-
/* @__PURE__ */ h("h3", { className:
|
|
3114
|
+
return /* @__PURE__ */ h("div", { className: ee.selectInputContainer, children: [
|
|
3115
|
+
/* @__PURE__ */ h("h3", { className: ee.labelContainer, children: [
|
|
3116
3116
|
y(t),
|
|
3117
3117
|
" ",
|
|
3118
|
-
|
|
3118
|
+
c && /* @__PURE__ */ s("label", { style: { color: f.error ? u : "" }, children: "*" })
|
|
3119
3119
|
] }),
|
|
3120
|
-
/* @__PURE__ */ h("div", { className:
|
|
3121
|
-
/* @__PURE__ */
|
|
3122
|
-
"option",
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3120
|
+
/* @__PURE__ */ h("div", { className: ee.inputContainer, style: { width: m }, children: [
|
|
3121
|
+
/* @__PURE__ */ h("select", { ...C, id: "pais", className: ee.selectInput, children: [
|
|
3122
|
+
/* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: y(l || "selectOption") }),
|
|
3123
|
+
g.map((p, b) => /* @__PURE__ */ s(
|
|
3124
|
+
"option",
|
|
3125
|
+
{
|
|
3126
|
+
value: p.value,
|
|
3127
|
+
className: ee.option,
|
|
3128
|
+
children: y(p.label)
|
|
3129
|
+
},
|
|
3130
|
+
b
|
|
3131
|
+
))
|
|
3132
|
+
] }),
|
|
3130
3133
|
/* @__PURE__ */ s(
|
|
3131
3134
|
"img",
|
|
3132
3135
|
{
|
|
3133
3136
|
src: f1,
|
|
3134
3137
|
alt: "Open",
|
|
3135
|
-
className:
|
|
3138
|
+
className: ee.dropdownArrow
|
|
3136
3139
|
}
|
|
3137
3140
|
)
|
|
3138
3141
|
] }),
|
|
@@ -3147,22 +3150,23 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3147
3150
|
}
|
|
3148
3151
|
}
|
|
3149
3152
|
);
|
|
3150
|
-
}, y1 = "
|
|
3153
|
+
}, y1 = "_radioButtonContainer_3bp8g_2", _1 = "_wholeInputContainer_3bp8g_5", v1 = "_questionContainer_3bp8g_27", w1 = "_radioQuestion_3bp8g_59", x1 = "_inputContainer_3bp8g_63", k1 = "_required_3bp8g_92", N1 = "_radioInput_3bp8g_109", U = {
|
|
3151
3154
|
radioButtonContainer: y1,
|
|
3152
3155
|
wholeInputContainer: _1,
|
|
3153
|
-
|
|
3156
|
+
questionContainer: v1,
|
|
3154
3157
|
radioQuestion: w1,
|
|
3155
3158
|
inputContainer: x1,
|
|
3156
|
-
required: k1
|
|
3157
|
-
|
|
3159
|
+
required: k1,
|
|
3160
|
+
radioInput: N1
|
|
3161
|
+
}, B1 = ({ input: n, control: d }) => {
|
|
3158
3162
|
const {
|
|
3159
3163
|
code: o,
|
|
3160
3164
|
type: i,
|
|
3161
3165
|
label: t,
|
|
3162
3166
|
maxLength: r,
|
|
3163
|
-
required:
|
|
3167
|
+
required: c,
|
|
3164
3168
|
validateFunction: a,
|
|
3165
|
-
placeholder:
|
|
3169
|
+
placeholder: l,
|
|
3166
3170
|
errorColor: u = "red",
|
|
3167
3171
|
width: m = 325,
|
|
3168
3172
|
options: g = [],
|
|
@@ -3181,7 +3185,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3181
3185
|
control: d,
|
|
3182
3186
|
name: o,
|
|
3183
3187
|
rules: {
|
|
3184
|
-
validate: (p) =>
|
|
3188
|
+
validate: (p) => c && (p == null || p === "") ? "errorMessages.required" : null
|
|
3185
3189
|
},
|
|
3186
3190
|
render: ({
|
|
3187
3191
|
formState: { errors: p },
|
|
@@ -3189,14 +3193,47 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3189
3193
|
fieldState: N
|
|
3190
3194
|
}) => {
|
|
3191
3195
|
var L;
|
|
3192
|
-
return /* @__PURE__ */ s("div", { id: o + "id", className:
|
|
3193
|
-
t && /* @__PURE__ */
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3196
|
+
return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ h("div", { className: U.wholeInputContainer, children: [
|
|
3197
|
+
t && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ s(
|
|
3198
|
+
"h3",
|
|
3199
|
+
{
|
|
3200
|
+
htmlFor: o + "id",
|
|
3201
|
+
className: `${U.radioQuestion} ${c && U.required}`,
|
|
3202
|
+
children: C(t)
|
|
3203
|
+
}
|
|
3204
|
+
) }),
|
|
3205
|
+
/* @__PURE__ */ h("div", { className: U.inputContainer, children: [
|
|
3206
|
+
g.map(
|
|
3207
|
+
({
|
|
3208
|
+
label: F,
|
|
3209
|
+
value: z,
|
|
3210
|
+
disabled: ae = !1,
|
|
3211
|
+
italicLabel: le
|
|
3212
|
+
}, E) => {
|
|
3213
|
+
const R = x && y ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((P) => P === z) : x === z;
|
|
3214
|
+
return console.log("isActiveButton: ", R), /* @__PURE__ */ h("label", { children: [
|
|
3215
|
+
/* @__PURE__ */ s(
|
|
3216
|
+
"input",
|
|
3217
|
+
{
|
|
3218
|
+
type: "radio",
|
|
3219
|
+
checked: R,
|
|
3220
|
+
onChange: () => {
|
|
3221
|
+
y ? R ? f({
|
|
3222
|
+
actualValue: x,
|
|
3223
|
+
options: g,
|
|
3224
|
+
onChange: b
|
|
3225
|
+
}) : _({
|
|
3226
|
+
actualValue: x,
|
|
3227
|
+
options: g,
|
|
3228
|
+
onChange: b
|
|
3229
|
+
}) : b(z);
|
|
3230
|
+
},
|
|
3231
|
+
className: U.radioInput
|
|
3232
|
+
}
|
|
3233
|
+
),
|
|
3234
|
+
/* @__PURE__ */ s("span", { className: "radio-custom" }),
|
|
3235
|
+
F
|
|
3236
|
+
] });
|
|
3200
3237
|
}
|
|
3201
3238
|
),
|
|
3202
3239
|
/* @__PURE__ */ s(
|
|
@@ -3206,40 +3243,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3206
3243
|
errorColor: u
|
|
3207
3244
|
}
|
|
3208
3245
|
)
|
|
3209
|
-
] })
|
|
3210
|
-
/* @__PURE__ */ s("div", { className: ee.inputContainer, children: g.map(
|
|
3211
|
-
({
|
|
3212
|
-
label: F,
|
|
3213
|
-
value: z,
|
|
3214
|
-
disabled: ae = !1,
|
|
3215
|
-
italicLabel: le
|
|
3216
|
-
}, E) => {
|
|
3217
|
-
const R = x && y ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((P) => P === z) : x === z;
|
|
3218
|
-
return console.log("isActiveButton: ", R), /* @__PURE__ */ h("label", { children: [
|
|
3219
|
-
/* @__PURE__ */ s(
|
|
3220
|
-
"input",
|
|
3221
|
-
{
|
|
3222
|
-
type: "radio",
|
|
3223
|
-
checked: R,
|
|
3224
|
-
onChange: () => {
|
|
3225
|
-
y ? R ? f({
|
|
3226
|
-
actualValue: x,
|
|
3227
|
-
options: g,
|
|
3228
|
-
onChange: b
|
|
3229
|
-
}) : _({
|
|
3230
|
-
actualValue: x,
|
|
3231
|
-
options: g,
|
|
3232
|
-
onChange: b
|
|
3233
|
-
}) : b(z);
|
|
3234
|
-
},
|
|
3235
|
-
className: "radio-input"
|
|
3236
|
-
}
|
|
3237
|
-
),
|
|
3238
|
-
/* @__PURE__ */ s("span", { className: "radio-custom" }),
|
|
3239
|
-
F
|
|
3240
|
-
] });
|
|
3241
|
-
}
|
|
3242
|
-
) })
|
|
3246
|
+
] })
|
|
3243
3247
|
] }) });
|
|
3244
3248
|
}
|
|
3245
3249
|
}
|
|
@@ -3248,7 +3252,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3248
3252
|
const { inputType: r } = i;
|
|
3249
3253
|
switch (r) {
|
|
3250
3254
|
case pe.text:
|
|
3251
|
-
const { code:
|
|
3255
|
+
const { code: c, type: a, label: l, maxLength: u, required: m, validateFunction: g } = i;
|
|
3252
3256
|
return /* @__PURE__ */ s(
|
|
3253
3257
|
"div",
|
|
3254
3258
|
{
|
|
@@ -3281,13 +3285,13 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3281
3285
|
{
|
|
3282
3286
|
className: se.inputContainer,
|
|
3283
3287
|
style: { ...o },
|
|
3284
|
-
children: /* @__PURE__ */ s(
|
|
3288
|
+
children: /* @__PURE__ */ s(B1, { input: i, control: d })
|
|
3285
3289
|
}
|
|
3286
3290
|
);
|
|
3287
3291
|
default:
|
|
3288
3292
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3289
3293
|
}
|
|
3290
|
-
}) }),
|
|
3294
|
+
}) }), li = ({
|
|
3291
3295
|
reactHookFormInstance: n,
|
|
3292
3296
|
formObject: d,
|
|
3293
3297
|
//Component with {title, children} as props.
|
|
@@ -3297,9 +3301,9 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3297
3301
|
inputContainerStyles: i,
|
|
3298
3302
|
generalError: t,
|
|
3299
3303
|
errorColor: r = "red",
|
|
3300
|
-
submitButtonLabel:
|
|
3304
|
+
submitButtonLabel: c = "Submit",
|
|
3301
3305
|
submitButtonStyles: a = { width: 325 },
|
|
3302
|
-
activeCategory:
|
|
3306
|
+
activeCategory: l = null,
|
|
3303
3307
|
// If provided, only the category with this categoryId will be displayed.
|
|
3304
3308
|
onSubmit: u = (m) => console.log("Form submitted with data: ", m)
|
|
3305
3309
|
}) => {
|
|
@@ -3323,7 +3327,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3323
3327
|
"div",
|
|
3324
3328
|
{
|
|
3325
3329
|
style: {
|
|
3326
|
-
display:
|
|
3330
|
+
display: l && p.categoryId !== l ? "none" : "inherit",
|
|
3327
3331
|
width: "100%"
|
|
3328
3332
|
},
|
|
3329
3333
|
children: /* @__PURE__ */ s(
|
|
@@ -3348,7 +3352,7 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3348
3352
|
{
|
|
3349
3353
|
style: {
|
|
3350
3354
|
width: "100%",
|
|
3351
|
-
display:
|
|
3355
|
+
display: l && p.categoryId !== l ? "none" : "flex",
|
|
3352
3356
|
flexDirection: "column"
|
|
3353
3357
|
},
|
|
3354
3358
|
children: [
|
|
@@ -3376,47 +3380,47 @@ const Ee = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3376
3380
|
) }, `inputKey${b}`);
|
|
3377
3381
|
}) }),
|
|
3378
3382
|
/* @__PURE__ */ h("div", { className: Ne.buttonContainer, children: [
|
|
3379
|
-
/* @__PURE__ */ s(ge, { containerStyles: a, type: "submit", children: _(
|
|
3383
|
+
/* @__PURE__ */ s(ge, { containerStyles: a, type: "submit", children: _(c) }),
|
|
3380
3384
|
/* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
|
|
3381
3385
|
] })
|
|
3382
3386
|
] })
|
|
3383
3387
|
);
|
|
3384
|
-
},
|
|
3385
|
-
header:
|
|
3386
|
-
leftComponents:
|
|
3387
|
-
centerComponents:
|
|
3388
|
-
rightComponents:
|
|
3389
|
-
componentsContainer:
|
|
3390
|
-
},
|
|
3388
|
+
}, S1 = "_header_13kbt_2", M1 = "_leftComponents_13kbt_13", L1 = "_centerComponents_13kbt_14", F1 = "_rightComponents_13kbt_15", D1 = "_componentsContainer_13kbt_32", G = {
|
|
3389
|
+
header: S1,
|
|
3390
|
+
leftComponents: M1,
|
|
3391
|
+
centerComponents: L1,
|
|
3392
|
+
rightComponents: F1,
|
|
3393
|
+
componentsContainer: D1
|
|
3394
|
+
}, T1 = ({
|
|
3391
3395
|
cssProps: n,
|
|
3392
3396
|
leftComponents: d = [],
|
|
3393
3397
|
centerComponents: o = [],
|
|
3394
3398
|
rightComponents: i = [],
|
|
3395
3399
|
zIndex: t = 10,
|
|
3396
3400
|
height: r = 60,
|
|
3397
|
-
backgroundColor:
|
|
3401
|
+
backgroundColor: c = "#605B56",
|
|
3398
3402
|
isFooter: a = !1
|
|
3399
3403
|
// If true, it will apply footer styles
|
|
3400
3404
|
}) => /* @__PURE__ */ h(
|
|
3401
3405
|
"div",
|
|
3402
3406
|
{
|
|
3403
|
-
className:
|
|
3407
|
+
className: G.header,
|
|
3404
3408
|
style: {
|
|
3405
3409
|
...n,
|
|
3406
3410
|
zIndex: t,
|
|
3407
3411
|
height: r,
|
|
3408
|
-
backgroundColor:
|
|
3412
|
+
backgroundColor: c,
|
|
3409
3413
|
top: a ? "auto" : 0,
|
|
3410
3414
|
bottom: a ? 0 : "auto"
|
|
3411
3415
|
},
|
|
3412
3416
|
children: [
|
|
3413
|
-
/* @__PURE__ */ s("div", { className:
|
|
3414
|
-
/* @__PURE__ */ s("div", { className:
|
|
3415
|
-
/* @__PURE__ */ s("div", { className:
|
|
3417
|
+
/* @__PURE__ */ s("div", { className: G.leftComponents, children: d.map((l, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: l }, u)) }),
|
|
3418
|
+
/* @__PURE__ */ s("div", { className: G.centerComponents, children: o.map((l, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: l }, u)) }),
|
|
3419
|
+
/* @__PURE__ */ s("div", { className: G.rightComponents, children: i.map((l, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: l }, u)) })
|
|
3416
3420
|
]
|
|
3417
3421
|
}
|
|
3418
3422
|
);
|
|
3419
|
-
|
|
3423
|
+
T1.propTypes = {
|
|
3420
3424
|
leftComponents: e.arrayOf(e.node),
|
|
3421
3425
|
centerComponents: e.arrayOf(e.node),
|
|
3422
3426
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3426,12 +3430,12 @@ D1.propTypes = {
|
|
|
3426
3430
|
backgroundColor: e.string,
|
|
3427
3431
|
isFooter: e.bool
|
|
3428
3432
|
};
|
|
3429
|
-
const
|
|
3430
|
-
sidebar:
|
|
3431
|
-
open:
|
|
3432
|
-
content:
|
|
3433
|
-
closeButton:
|
|
3434
|
-
},
|
|
3433
|
+
const $1 = "_sidebar_pt7g1_2", V1 = "_open_pt7g1_16", A1 = "_content_pt7g1_20", I1 = "_closeButton_pt7g1_26", me = {
|
|
3434
|
+
sidebar: $1,
|
|
3435
|
+
open: V1,
|
|
3436
|
+
content: A1,
|
|
3437
|
+
closeButton: I1
|
|
3438
|
+
}, O1 = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", R1 = ({
|
|
3435
3439
|
width: n = "300px",
|
|
3436
3440
|
children: d,
|
|
3437
3441
|
showRightBar: o,
|
|
@@ -3446,13 +3450,13 @@ const T1 = "_sidebar_pt7g1_2", $1 = "_open_pt7g1_16", V1 = "_content_pt7g1_20",
|
|
|
3446
3450
|
className: `${me.sidebar} ${o ? me.open : ""}`,
|
|
3447
3451
|
style: { width: o ? n : 0 },
|
|
3448
3452
|
children: o && /* @__PURE__ */ h("div", { className: me.content, children: [
|
|
3449
|
-
/* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src:
|
|
3453
|
+
/* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: O1, alt: "Close Sidebar" }) }),
|
|
3450
3454
|
d
|
|
3451
3455
|
] })
|
|
3452
3456
|
}
|
|
3453
3457
|
);
|
|
3454
3458
|
};
|
|
3455
|
-
|
|
3459
|
+
R1.propTypes = {
|
|
3456
3460
|
width: e.string,
|
|
3457
3461
|
children: e.node,
|
|
3458
3462
|
showRightBar: e.bool,
|
|
@@ -3461,12 +3465,12 @@ O1.propTypes = {
|
|
|
3461
3465
|
export {
|
|
3462
3466
|
l2 as AmbitSelector,
|
|
3463
3467
|
_2 as ButtonsList,
|
|
3464
|
-
|
|
3465
|
-
|
|
3468
|
+
W as DropdownList,
|
|
3469
|
+
ni as EditAmbit,
|
|
3466
3470
|
K2 as FiltersAmbit,
|
|
3467
|
-
|
|
3471
|
+
li as Form,
|
|
3468
3472
|
Q2 as Graphic,
|
|
3469
|
-
|
|
3473
|
+
T1 as HeaderSection,
|
|
3470
3474
|
g0 as IndicatorsList,
|
|
3471
3475
|
v0 as LangSelector,
|
|
3472
3476
|
A0 as Legend,
|
|
@@ -3475,9 +3479,9 @@ export {
|
|
|
3475
3479
|
O0 as LogoApp,
|
|
3476
3480
|
P0 as MapboxMap,
|
|
3477
3481
|
K0 as MaplibreMap,
|
|
3478
|
-
|
|
3479
|
-
|
|
3482
|
+
R1 as RightSidebar,
|
|
3483
|
+
ii as SectionBar,
|
|
3480
3484
|
an as TimeSlider,
|
|
3481
|
-
|
|
3485
|
+
Y as Tooltip,
|
|
3482
3486
|
un as TopNavMenu
|
|
3483
3487
|
};
|