@tmf_ciclica/ciclicastorybook 1.1.52 → 1.1.54
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 +1259 -1175
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
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_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{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_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{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_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{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_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{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_atg3j_3 ._moreInfoContainer_atg3j_108{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}._UserMenuTrigger_uglss_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_1qv06_2 ._labelContainer_1qv06_2{margin-bottom:25px}._textInputContainer_1qv06_2 ._inputContainer_1qv06_5{padding:7px;background-color:#605b5620;border-radius:4px}._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_1jqo2_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_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as h, jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
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_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{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_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{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_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{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_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{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_atg3j_3 ._moreInfoContainer_atg3j_108{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_1qv06_2 ._labelContainer_1qv06_2{margin-bottom:25px}._textInputContainer_1qv06_2 ._inputContainer_1qv06_5{padding:7px;background-color:#605b5620;border-radius:4px}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{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}._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_1jqo2_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_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as h, jsx as s, Fragment as mt } from "react/jsx-runtime";
|
|
3
|
+
import * as X from "react";
|
|
4
|
+
import N, { useState as B, useEffect as L, useMemo as ae, useLayoutEffect as ht, useRef as Fe } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
6
|
+
import { useTranslation as k, Trans as Me } from "react-i18next";
|
|
7
|
+
import { motion as Be } from "framer-motion";
|
|
8
|
+
import { create as gt } from "zustand";
|
|
9
9
|
import * as Ve from "d3";
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName:
|
|
26
|
-
ambitDate:
|
|
27
|
-
buttonsContainer:
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, Ut = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Gt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Yt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Wt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Xt = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", Jt = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", Ge = ({
|
|
10
|
+
import Ct from "mapbox-gl";
|
|
11
|
+
import { useSelector as ft, useDispatch as bt } from "react-redux";
|
|
12
|
+
import yt, { Source as _t, Layer as vt, NavigationControl as xt, Popup as wt } from "react-map-gl/mapbox";
|
|
13
|
+
import ue from "maplibre-gl";
|
|
14
|
+
import { Protocol as kt } from "pmtiles";
|
|
15
|
+
import Nt, { Source as St, Layer as Ft, NavigationControl as Mt, Popup as Bt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Dt } from "@reduxjs/toolkit";
|
|
17
|
+
import Lt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Tt, Box as Vt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as $t } from "@emotion/react";
|
|
20
|
+
import { NavLink as At } from "react-router-dom";
|
|
21
|
+
const Ot = "_ambitSelector_mcunf_2", It = "_header_mcunf_13", Rt = "_nameDateContainer_mcunf_23", Et = "_ambitName_mcunf_39", Pt = "_ambitDate_mcunf_53", jt = "_buttonsContainer_mcunf_67", qt = "_ambitListContainer_mcunf_76", zt = "_newAmbitButtonContainer_mcunf_80", j = {
|
|
22
|
+
ambitSelector: Ot,
|
|
23
|
+
header: It,
|
|
24
|
+
nameDateContainer: Rt,
|
|
25
|
+
ambitName: Et,
|
|
26
|
+
ambitDate: Pt,
|
|
27
|
+
buttonsContainer: jt,
|
|
28
|
+
ambitListContainer: qt,
|
|
29
|
+
newAmbitButtonContainer: zt
|
|
30
|
+
}, Zt = "_ambitItem_1qa6u_2", Ht = "_ambitNameDate_1qa6u_16", Kt = "_ambitName_1qa6u_16", Ut = "_ambitDate_1qa6u_35", Gt = "_ambitButtons_1qa6u_38", ee = {
|
|
31
|
+
ambitItem: Zt,
|
|
32
|
+
ambitNameDate: Ht,
|
|
33
|
+
ambitName: Kt,
|
|
34
|
+
ambitDate: Ut,
|
|
35
|
+
ambitButtons: Gt
|
|
36
|
+
}, Yt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Wt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Jt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Xt = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Qt = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", e2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", Ue = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
|
-
onClickDelete:
|
|
39
|
+
onClickDelete: o,
|
|
40
40
|
onClickFilters: i,
|
|
41
41
|
onClickAmbit: t,
|
|
42
42
|
isActive: r,
|
|
43
|
-
activeColor:
|
|
43
|
+
activeColor: l,
|
|
44
44
|
fontColor: a,
|
|
45
|
-
moreInfo:
|
|
45
|
+
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at: p, id: m, isBeingProcessed:
|
|
47
|
+
const { nom: u, created_at: p, id: m, isBeingProcessed: b } = n;
|
|
48
48
|
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
@@ -53,28 +53,28 @@ const $t = "_ambitSelector_mcunf_2", At = "_header_mcunf_13", It = "_nameDateCon
|
|
|
53
53
|
children: [
|
|
54
54
|
/* @__PURE__ */ h("div", { className: ee.ambitNameDate, onClick: () => t(m), children: [
|
|
55
55
|
/* @__PURE__ */ h("div", { className: ee.ambitName, children: [
|
|
56
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? Qt : e2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ s("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ h("div", { className: ee.ambitButtons, children: [
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
68
|
+
b && /* @__PURE__ */ s("img", { src: Xt }),
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Jt }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src: Wt }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => o(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Yt }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
Ue.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
nom: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,101 +92,103 @@ Ge.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const $e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const $e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", t2 = "_generalButton_8d6ru_2", n2 = {
|
|
96
|
+
generalButton: t2
|
|
97
|
+
}, le = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
|
-
fontColor:
|
|
101
|
-
borderColor: i
|
|
102
|
-
|
|
100
|
+
fontColor: o = "#605B56",
|
|
101
|
+
borderColor: i = "#605B56",
|
|
102
|
+
type: t = "button"
|
|
103
|
+
}) => /* @__PURE__ */ s(
|
|
103
104
|
"button",
|
|
104
105
|
{
|
|
105
|
-
className:
|
|
106
|
-
style: { color:
|
|
106
|
+
className: n2.generalButton,
|
|
107
|
+
style: { color: o, border: `1.5px solid ${i}` },
|
|
107
108
|
onClick: d,
|
|
109
|
+
type: t,
|
|
108
110
|
children: n
|
|
109
111
|
}
|
|
110
|
-
),
|
|
112
|
+
), i2 = ({
|
|
111
113
|
ambitList: n,
|
|
112
114
|
activeAmbitId: d,
|
|
113
|
-
fontColor:
|
|
115
|
+
fontColor: o = "#605B56",
|
|
114
116
|
activeColor: i,
|
|
115
117
|
nameLabel: t,
|
|
116
118
|
dateLabel: r,
|
|
117
|
-
newAmbitLabel:
|
|
119
|
+
newAmbitLabel: l = "New field",
|
|
118
120
|
buttonContainerStyles: a = {},
|
|
119
|
-
containerStyles:
|
|
121
|
+
containerStyles: c = {},
|
|
120
122
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
121
123
|
onClickCopy: p = (C) => console.log(`Copy ambit: ${C}`),
|
|
122
124
|
onCLickDelete: m = (C) => console.log(`Delete ambit: ${C}`),
|
|
123
|
-
onClickFilters:
|
|
125
|
+
onClickFilters: b = (C) => console.log(`Filters clicked: ${C}`),
|
|
124
126
|
onClickAmbit: g = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
125
127
|
}) => {
|
|
126
|
-
const { t: C } =
|
|
127
|
-
|
|
128
|
+
const { t: C } = k(), [y, f] = B(n);
|
|
129
|
+
L(() => {
|
|
128
130
|
n && f(n);
|
|
129
131
|
}, [n]);
|
|
130
|
-
const
|
|
131
|
-
if (
|
|
132
|
-
let w = [...
|
|
133
|
-
w.sort((
|
|
132
|
+
const _ = (x) => {
|
|
133
|
+
if (y && y.length > 0) {
|
|
134
|
+
let w = [...y];
|
|
135
|
+
w.sort((v, S) => v[x].localeCompare(S[x])), f(w);
|
|
134
136
|
}
|
|
135
137
|
};
|
|
136
138
|
return /* @__PURE__ */ h(
|
|
137
139
|
"div",
|
|
138
140
|
{
|
|
139
|
-
className:
|
|
140
|
-
style: { color:
|
|
141
|
+
className: j.ambitSelector,
|
|
142
|
+
style: { color: o, ...c },
|
|
141
143
|
children: [
|
|
142
144
|
/* @__PURE__ */ h(
|
|
143
145
|
"div",
|
|
144
146
|
{
|
|
145
|
-
className:
|
|
146
|
-
style: { borderBottom: `1px solid ${
|
|
147
|
+
className: j.header,
|
|
148
|
+
style: { borderBottom: `1px solid ${o}` },
|
|
147
149
|
children: [
|
|
148
|
-
/* @__PURE__ */ h("div", { className:
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
|
|
151
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => _("name"), children: [
|
|
152
|
+
/* @__PURE__ */ s("span", { children: C(t) }),
|
|
153
|
+
/* @__PURE__ */ s("img", { src: $e })
|
|
152
154
|
] }) }),
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => _("date"), children: [
|
|
156
|
+
/* @__PURE__ */ s("span", { children: C(r) }),
|
|
157
|
+
/* @__PURE__ */ s("img", { src: $e })
|
|
156
158
|
] }) })
|
|
157
159
|
] }),
|
|
158
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
159
161
|
]
|
|
160
162
|
}
|
|
161
163
|
),
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
|
|
164
|
+
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children: y && y.length > 0 && y.map((x) => /* @__PURE__ */ s(
|
|
165
|
+
Ue,
|
|
164
166
|
{
|
|
165
167
|
isActive: d == x.id,
|
|
166
168
|
ambit: x,
|
|
167
|
-
fontColor:
|
|
169
|
+
fontColor: o,
|
|
168
170
|
activeColor: i,
|
|
169
171
|
onClickCopy: p,
|
|
170
172
|
onClickDelete: m,
|
|
171
|
-
onClickFilters:
|
|
173
|
+
onClickFilters: b,
|
|
172
174
|
onClickAmbit: g
|
|
173
175
|
},
|
|
174
176
|
`ambitKey${x.id}`
|
|
175
177
|
)) }),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
|
|
178
|
+
/* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
179
|
+
le,
|
|
178
180
|
{
|
|
179
181
|
style: { ...a },
|
|
180
182
|
onClick: u,
|
|
181
183
|
borderColor: "grey",
|
|
182
|
-
children: C(
|
|
184
|
+
children: C(l)
|
|
183
185
|
}
|
|
184
186
|
) })
|
|
185
187
|
]
|
|
186
188
|
}
|
|
187
189
|
);
|
|
188
190
|
};
|
|
189
|
-
|
|
191
|
+
i2.propTypes = {
|
|
190
192
|
ambitList: e.arrayOf(
|
|
191
193
|
e.shape({
|
|
192
194
|
name: e.string.isRequired,
|
|
@@ -208,70 +210,70 @@ t2.propTypes = {
|
|
|
208
210
|
containerStyles: e.object,
|
|
209
211
|
onCLickNewAmbit: e.func
|
|
210
212
|
};
|
|
211
|
-
const
|
|
212
|
-
buttonsContainer:
|
|
213
|
-
vertical:
|
|
214
|
-
horizontal:
|
|
215
|
-
button:
|
|
216
|
-
active:
|
|
217
|
-
buttonName:
|
|
218
|
-
},
|
|
219
|
-
left:
|
|
220
|
-
top:
|
|
221
|
-
bottom:
|
|
222
|
-
right:
|
|
223
|
-
}, U = ({ text: n, position: d, styleCustom:
|
|
224
|
-
const { t: i } =
|
|
225
|
-
return /* @__PURE__ */
|
|
213
|
+
const o2 = "_buttonsContainer_1audx_2", s2 = "_vertical_1audx_6", r2 = "_horizontal_1audx_9", a2 = "_button_1audx_2", l2 = "_active_1audx_25", c2 = "_buttonName_1audx_28", z = {
|
|
214
|
+
buttonsContainer: o2,
|
|
215
|
+
vertical: s2,
|
|
216
|
+
horizontal: r2,
|
|
217
|
+
button: a2,
|
|
218
|
+
active: l2,
|
|
219
|
+
buttonName: c2
|
|
220
|
+
}, d2 = "_left_1l4m4_2", u2 = "_top_1l4m4_40", p2 = "_bottom_1l4m4_79", m2 = "_right_1l4m4_118", h2 = {
|
|
221
|
+
left: d2,
|
|
222
|
+
top: u2,
|
|
223
|
+
bottom: p2,
|
|
224
|
+
right: m2
|
|
225
|
+
}, U = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
226
|
+
const { t: i } = k();
|
|
227
|
+
return /* @__PURE__ */ s("div", { className: `tooltip ${h2[d]}`, style: o, children: i(n) });
|
|
226
228
|
};
|
|
227
229
|
U.propTypes = {
|
|
228
230
|
text: e.string.isRequired,
|
|
229
231
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
230
232
|
styleCustom: e.object
|
|
231
233
|
};
|
|
232
|
-
const
|
|
234
|
+
const g2 = ({
|
|
233
235
|
buttons: n = [],
|
|
234
236
|
orientation: d = "horizontal",
|
|
235
|
-
showName:
|
|
237
|
+
showName: o = !0,
|
|
236
238
|
namePosition: i = "right",
|
|
237
239
|
useTooltip: t = !1,
|
|
238
240
|
tooltipPosition: r = "top"
|
|
239
241
|
}) => {
|
|
240
|
-
const { t:
|
|
241
|
-
return /* @__PURE__ */
|
|
242
|
+
const { t: l } = k();
|
|
243
|
+
return /* @__PURE__ */ s(
|
|
242
244
|
"div",
|
|
243
245
|
{
|
|
244
|
-
className: `${
|
|
245
|
-
${d === "horizontal" &&
|
|
246
|
-
children: n.map((a,
|
|
246
|
+
className: `${z.buttonsContainer} ${d === "vertical" && z.vertical}
|
|
247
|
+
${d === "horizontal" && z.horizontal}`,
|
|
248
|
+
children: n.map((a, c) => {
|
|
247
249
|
const {
|
|
248
250
|
icon: u,
|
|
249
251
|
activeIcon: p,
|
|
250
252
|
isActive: m,
|
|
251
|
-
name:
|
|
253
|
+
name: b,
|
|
252
254
|
onClick: g
|
|
253
|
-
} = a, C = /* @__PURE__ */ h(
|
|
254
|
-
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
|
|
255
|
+
} = a, C = /* @__PURE__ */ h(mt, { children: [
|
|
256
|
+
o && i === "left" && /* @__PURE__ */ s("span", { className: z.buttonName, children: l(b) }),
|
|
257
|
+
/* @__PURE__ */ s("img", { src: m ? p : u, alt: l(b) }),
|
|
258
|
+
o && i === "right" && /* @__PURE__ */ s("span", { className: z.buttonName, children: l(b) })
|
|
257
259
|
] });
|
|
258
260
|
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
259
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ s(
|
|
260
262
|
"button",
|
|
261
263
|
{
|
|
262
264
|
onClick: g,
|
|
263
|
-
className: `${
|
|
264
|
-
${m &&
|
|
265
|
+
className: `${z.button}
|
|
266
|
+
${m && z.active}`,
|
|
265
267
|
children: C
|
|
266
268
|
}
|
|
267
269
|
),
|
|
268
|
-
t && /* @__PURE__ */
|
|
269
|
-
] },
|
|
270
|
+
t && /* @__PURE__ */ s(U, { text: b, position: r })
|
|
271
|
+
] }, c);
|
|
270
272
|
})
|
|
271
273
|
}
|
|
272
274
|
);
|
|
273
275
|
};
|
|
274
|
-
|
|
276
|
+
g2.propTypes = {
|
|
275
277
|
buttons: e.arrayOf(
|
|
276
278
|
e.shape({
|
|
277
279
|
icon: e.node.isRequired,
|
|
@@ -288,34 +290,34 @@ m2.propTypes = {
|
|
|
288
290
|
useTooltip: e.bool,
|
|
289
291
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
290
292
|
};
|
|
291
|
-
const
|
|
292
|
-
indicatorsCategory:
|
|
293
|
-
title:
|
|
293
|
+
const C2 = "_indicatorsCategory_1cu33_2", f2 = "_title_1cu33_5", pe = {
|
|
294
|
+
indicatorsCategory: C2,
|
|
295
|
+
title: f2
|
|
294
296
|
}, G = ({
|
|
295
297
|
isOpen: n,
|
|
296
298
|
onClick: d,
|
|
297
|
-
children:
|
|
299
|
+
children: o,
|
|
298
300
|
color: i,
|
|
299
301
|
activeColor: t = "#F8A925",
|
|
300
302
|
title: r = "Title",
|
|
301
303
|
//Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
|
|
302
|
-
height:
|
|
304
|
+
height: l = 53,
|
|
303
305
|
//Adjust height if you change fontSize
|
|
304
306
|
titleFontStyles: a,
|
|
305
|
-
showBottomBar:
|
|
307
|
+
showBottomBar: c = !0,
|
|
306
308
|
titleMarginChildren: u = 25
|
|
307
309
|
}) => {
|
|
308
|
-
const { t: p } =
|
|
310
|
+
const { t: p } = k();
|
|
309
311
|
return /* @__PURE__ */ h(
|
|
310
|
-
|
|
312
|
+
Be.div,
|
|
311
313
|
{
|
|
312
|
-
className:
|
|
313
|
-
initial: { height: `${
|
|
314
|
-
animate: { height: n ? "auto" : `${
|
|
314
|
+
className: pe.indicatorsCategory,
|
|
315
|
+
initial: { height: `${l}px` },
|
|
316
|
+
animate: { height: n ? "auto" : `${l}px` },
|
|
315
317
|
transition: { duration: 0.4 },
|
|
316
318
|
style: {
|
|
317
319
|
backgroundColor: "white",
|
|
318
|
-
borderBottom: n &&
|
|
320
|
+
borderBottom: n && c ? `1px solid ${t}` : "0px",
|
|
319
321
|
marginBottom: n ? "20px" : "0px"
|
|
320
322
|
},
|
|
321
323
|
children: [
|
|
@@ -326,15 +328,15 @@ const h2 = "_indicatorsCategory_1cu33_2", g2 = "_title_1cu33_5", ue = {
|
|
|
326
328
|
...a,
|
|
327
329
|
marginBottom: u || "auto"
|
|
328
330
|
},
|
|
329
|
-
className: `${
|
|
331
|
+
className: `${pe.title}`,
|
|
330
332
|
onClick: d,
|
|
331
333
|
children: [
|
|
332
|
-
/* @__PURE__ */
|
|
333
|
-
/* @__PURE__ */
|
|
334
|
+
/* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
335
|
+
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children: p(r) })
|
|
334
336
|
]
|
|
335
337
|
}
|
|
336
338
|
),
|
|
337
|
-
/* @__PURE__ */
|
|
339
|
+
/* @__PURE__ */ s("div", { className: pe.content, children: o })
|
|
338
340
|
]
|
|
339
341
|
}
|
|
340
342
|
);
|
|
@@ -350,39 +352,39 @@ G.propTypes = {
|
|
|
350
352
|
showBottomBar: e.bool,
|
|
351
353
|
titleFontStyles: e.object
|
|
352
354
|
};
|
|
353
|
-
const
|
|
354
|
-
AppliedFiltersContainer:
|
|
355
|
-
AppliedFilterContent:
|
|
356
|
-
},
|
|
355
|
+
const An = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), b2 = "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", y2 = "_AppliedFiltersContainer_s8ooe_2", _2 = "_AppliedFilterContent_s8ooe_10", Ae = {
|
|
356
|
+
AppliedFiltersContainer: y2,
|
|
357
|
+
AppliedFilterContent: _2
|
|
358
|
+
}, D = gt((n) => ({
|
|
357
359
|
activeCategory: "",
|
|
358
360
|
activeSubCategory: "",
|
|
359
361
|
selectedIndicator: "",
|
|
360
362
|
tematicalFiltersSelected: [],
|
|
361
363
|
fontColor: "#605B56",
|
|
362
364
|
inputsColor: "#605B56"
|
|
363
|
-
})),
|
|
364
|
-
const { t:
|
|
365
|
-
|
|
365
|
+
})), Ge = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
366
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = D((u) => u), c = (u) => {
|
|
367
|
+
D.setState((p) => ({
|
|
366
368
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
367
369
|
(m) => m.code !== u
|
|
368
370
|
)
|
|
369
371
|
}));
|
|
370
372
|
};
|
|
371
|
-
return /* @__PURE__ */
|
|
373
|
+
return /* @__PURE__ */ s(
|
|
372
374
|
G,
|
|
373
375
|
{
|
|
374
|
-
isOpen:
|
|
376
|
+
isOpen: o,
|
|
375
377
|
onClick: d,
|
|
376
|
-
title: n ?
|
|
378
|
+
title: n ? l(n) : "Applied Filters",
|
|
377
379
|
activeColor: r,
|
|
378
|
-
children: /* @__PURE__ */
|
|
379
|
-
|
|
380
|
-
/* @__PURE__ */
|
|
380
|
+
children: /* @__PURE__ */ s("div", { className: Ae.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ h("div", { className: Ae.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
381
|
+
l(u.name),
|
|
382
|
+
/* @__PURE__ */ s("img", { src: b2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
381
383
|
] }, p)) })
|
|
382
384
|
}
|
|
383
385
|
);
|
|
384
386
|
};
|
|
385
|
-
|
|
387
|
+
Ge.propTypes = {
|
|
386
388
|
isOpen: e.bool,
|
|
387
389
|
onClick: e.func,
|
|
388
390
|
title: e.string,
|
|
@@ -396,20 +398,20 @@ Ye.propTypes = {
|
|
|
396
398
|
),
|
|
397
399
|
activeColor: e.string
|
|
398
400
|
};
|
|
399
|
-
const
|
|
400
|
-
const { t:
|
|
401
|
-
return /* @__PURE__ */
|
|
401
|
+
const Ye = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
402
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = D((c) => c);
|
|
403
|
+
return /* @__PURE__ */ s(
|
|
402
404
|
G,
|
|
403
405
|
{
|
|
404
|
-
isOpen:
|
|
406
|
+
isOpen: o,
|
|
405
407
|
onClick: d,
|
|
406
|
-
title: n ?
|
|
408
|
+
title: n ? l(n) : "Geographical Filters",
|
|
407
409
|
activeColor: r,
|
|
408
410
|
children: "A"
|
|
409
411
|
}
|
|
410
412
|
);
|
|
411
413
|
};
|
|
412
|
-
|
|
414
|
+
Ye.propTypes = {
|
|
413
415
|
isOpen: e.bool,
|
|
414
416
|
onClick: e.func,
|
|
415
417
|
title: e.string,
|
|
@@ -417,25 +419,25 @@ We.propTypes = {
|
|
|
417
419
|
backgroundColor: e.string,
|
|
418
420
|
activeColor: e.string
|
|
419
421
|
};
|
|
420
|
-
const
|
|
421
|
-
checkboxContainer:
|
|
422
|
-
},
|
|
422
|
+
const v2 = "_checkboxContainer_zld97_2", x2 = {
|
|
423
|
+
checkboxContainer: v2
|
|
424
|
+
}, We = ({
|
|
423
425
|
onClick: n,
|
|
424
426
|
containerStyles: d,
|
|
425
|
-
color:
|
|
427
|
+
color: o = "#605B56",
|
|
426
428
|
indicator: i,
|
|
427
429
|
value: t
|
|
428
430
|
}) => {
|
|
429
|
-
const { t: r } =
|
|
431
|
+
const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = D((u) => u);
|
|
430
432
|
return /* @__PURE__ */ h(
|
|
431
433
|
"div",
|
|
432
434
|
{
|
|
433
|
-
style: { ...d, color:
|
|
435
|
+
style: { ...d, color: o },
|
|
434
436
|
role: "checkbox",
|
|
435
|
-
className:
|
|
437
|
+
className: x2.checkboxContainer,
|
|
436
438
|
onClick: n,
|
|
437
439
|
children: [
|
|
438
|
-
/* @__PURE__ */
|
|
440
|
+
/* @__PURE__ */ s(
|
|
439
441
|
"input",
|
|
440
442
|
{
|
|
441
443
|
type: "checkbox",
|
|
@@ -443,17 +445,17 @@ const y2 = "_checkboxContainer_zld97_2", v2 = {
|
|
|
443
445
|
value: t,
|
|
444
446
|
readOnly: !0,
|
|
445
447
|
style: {
|
|
446
|
-
border: `1.5px solid ${t ?
|
|
447
|
-
backgroundColor: t ?
|
|
448
|
+
border: `1.5px solid ${t ? c : a}`,
|
|
449
|
+
backgroundColor: t ? c : "white"
|
|
448
450
|
}
|
|
449
451
|
}
|
|
450
452
|
),
|
|
451
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ s("span", { className: "checkmark", children: r(l) })
|
|
452
454
|
]
|
|
453
455
|
}
|
|
454
456
|
);
|
|
455
457
|
};
|
|
456
|
-
|
|
458
|
+
We.propTypes = {
|
|
457
459
|
onClick: e.func,
|
|
458
460
|
value: e.bool,
|
|
459
461
|
containerStyles: e.object,
|
|
@@ -464,40 +466,40 @@ Xe.propTypes = {
|
|
|
464
466
|
}),
|
|
465
467
|
checkedColor: e.string
|
|
466
468
|
};
|
|
467
|
-
function
|
|
468
|
-
return
|
|
469
|
-
return
|
|
470
|
-
},
|
|
469
|
+
function xe(n, d) {
|
|
470
|
+
return xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
471
|
+
return o.__proto__ = i, o;
|
|
472
|
+
}, xe(n, d);
|
|
471
473
|
}
|
|
472
|
-
function
|
|
473
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
474
|
+
function w2(n, d) {
|
|
475
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, xe(n, d);
|
|
474
476
|
}
|
|
475
|
-
function
|
|
477
|
+
function me(n) {
|
|
476
478
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
477
479
|
}
|
|
478
|
-
function
|
|
480
|
+
function he(n) {
|
|
479
481
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
480
482
|
}
|
|
481
483
|
function ie(n) {
|
|
482
484
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
483
485
|
}
|
|
484
|
-
function
|
|
486
|
+
function oe(n) {
|
|
485
487
|
Object.keys(n).forEach((d) => {
|
|
486
488
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
487
489
|
});
|
|
488
490
|
}
|
|
489
491
|
function Z(n, d) {
|
|
490
|
-
return
|
|
491
|
-
let t =
|
|
492
|
+
return we(function(o, i) {
|
|
493
|
+
let t = o;
|
|
492
494
|
return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
|
|
493
495
|
}(n, d), d);
|
|
494
496
|
}
|
|
495
|
-
function
|
|
496
|
-
const
|
|
497
|
-
let i = n -
|
|
498
|
-
return 2 * Math.abs(
|
|
497
|
+
function we(n, d) {
|
|
498
|
+
const o = (n - d.min) % d.step;
|
|
499
|
+
let i = n - o;
|
|
500
|
+
return 2 * Math.abs(o) >= d.step && (i += o > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
|
|
499
501
|
}
|
|
500
|
-
let
|
|
502
|
+
let ke = function(n) {
|
|
501
503
|
function d(i) {
|
|
502
504
|
var t;
|
|
503
505
|
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
@@ -510,18 +512,18 @@ let we = function(n) {
|
|
|
510
512
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
511
513
|
}, t.onMouseMove = (a) => {
|
|
512
514
|
t.setState({ pending: !0 });
|
|
513
|
-
const
|
|
515
|
+
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
514
516
|
t.move(p);
|
|
515
517
|
}, t.onTouchMove = (a) => {
|
|
516
518
|
if (a.touches.length > 1) return;
|
|
517
519
|
t.setState({ pending: !0 });
|
|
518
|
-
const
|
|
520
|
+
const c = t.getTouchPosition(a);
|
|
519
521
|
if (t.isScrolling === void 0) {
|
|
520
|
-
const m =
|
|
521
|
-
t.isScrolling = Math.abs(
|
|
522
|
+
const m = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
|
|
523
|
+
t.isScrolling = Math.abs(b) > Math.abs(m);
|
|
522
524
|
}
|
|
523
525
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
524
|
-
const u = t.getDiffPosition(
|
|
526
|
+
const u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
525
527
|
t.move(p);
|
|
526
528
|
}, t.onKeyDown = (a) => {
|
|
527
529
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
@@ -552,254 +554,254 @@ let we = function(n) {
|
|
|
552
554
|
}, t.onSliderMouseDown = (a) => {
|
|
553
555
|
if (!t.props.disabled && a.button !== 2) {
|
|
554
556
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
555
|
-
const
|
|
556
|
-
t.forceValueFromPosition(
|
|
557
|
-
t.start(u,
|
|
557
|
+
const c = t.getMousePosition(a);
|
|
558
|
+
t.forceValueFromPosition(c[0], (u) => {
|
|
559
|
+
t.start(u, c[0]), oe(t.getMouseEventMap());
|
|
558
560
|
});
|
|
559
561
|
}
|
|
560
|
-
|
|
562
|
+
me(a);
|
|
561
563
|
}
|
|
562
564
|
}, t.onSliderClick = (a) => {
|
|
563
565
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
564
|
-
const
|
|
566
|
+
const c = t.getMousePosition(a), u = Z(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
565
567
|
t.props.onSliderClick(u);
|
|
566
568
|
}
|
|
567
|
-
}, t.createOnKeyDown = (a) => (
|
|
568
|
-
t.props.disabled || (t.start(a),
|
|
569
|
-
}, t.createOnMouseDown = (a) => (
|
|
570
|
-
if (t.props.disabled ||
|
|
569
|
+
}, t.createOnKeyDown = (a) => (c) => {
|
|
570
|
+
t.props.disabled || (t.start(a), oe(t.getKeyDownEventMap()), me(c));
|
|
571
|
+
}, t.createOnMouseDown = (a) => (c) => {
|
|
572
|
+
if (t.props.disabled || c.button === 2) return;
|
|
571
573
|
t.setState({ pending: !0 });
|
|
572
|
-
const u = t.getMousePosition(
|
|
573
|
-
t.start(a, u[0]),
|
|
574
|
-
}, t.createOnTouchStart = (a) => (
|
|
575
|
-
if (t.props.disabled ||
|
|
574
|
+
const u = t.getMousePosition(c);
|
|
575
|
+
t.start(a, u[0]), oe(t.getMouseEventMap()), me(c);
|
|
576
|
+
}, t.createOnTouchStart = (a) => (c) => {
|
|
577
|
+
if (t.props.disabled || c.touches.length > 1) return;
|
|
576
578
|
t.setState({ pending: !0 });
|
|
577
|
-
const u = t.getTouchPosition(
|
|
578
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]),
|
|
579
|
+
const u = t.getTouchPosition(c);
|
|
580
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), oe(t.getTouchEventMap()), function(p) {
|
|
579
581
|
p.stopPropagation && p.stopPropagation();
|
|
580
|
-
}(
|
|
582
|
+
}(c);
|
|
581
583
|
}, t.handleResize = () => {
|
|
582
584
|
const a = window.setTimeout(() => {
|
|
583
585
|
t.pendingResizeTimeouts.shift(), t.resize();
|
|
584
586
|
}, 0);
|
|
585
587
|
t.pendingResizeTimeouts.push(a);
|
|
586
|
-
}, t.renderThumb = (a,
|
|
587
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" +
|
|
588
|
-
t["thumb" +
|
|
589
|
-
}, key: t.props.thumbClassName + "-" +
|
|
588
|
+
}, t.renderThumb = (a, c) => {
|
|
589
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (b) => {
|
|
590
|
+
t["thumb" + c] = b;
|
|
591
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value: ie(t.state.value), valueNow: t.state.value[c] };
|
|
590
592
|
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(p, m);
|
|
591
|
-
}, t.renderTrack = (a,
|
|
592
|
-
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(
|
|
593
|
+
}, t.renderTrack = (a, c, u) => {
|
|
594
|
+
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value: ie(t.state.value) };
|
|
593
595
|
return t.props.renderTrack(p, m);
|
|
594
596
|
};
|
|
595
|
-
let r =
|
|
596
|
-
r.length || (r =
|
|
597
|
-
const
|
|
598
|
-
for (let a = 0; a < r.length; a += 1) r[a] = Z(r[a], i),
|
|
599
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
597
|
+
let r = he(i.value);
|
|
598
|
+
r.length || (r = he(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
599
|
+
const l = [];
|
|
600
|
+
for (let a = 0; a < r.length; a += 1) r[a] = Z(r[a], i), l.push(a);
|
|
601
|
+
return t.resizeObserver = null, t.resizeElementRef = N.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
600
602
|
}
|
|
601
|
-
|
|
602
|
-
var
|
|
603
|
-
return
|
|
603
|
+
w2(d, n);
|
|
604
|
+
var o = d.prototype;
|
|
605
|
+
return o.componentDidMount = function() {
|
|
604
606
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
605
607
|
}, d.getDerivedStateFromProps = function(i, t) {
|
|
606
|
-
const r =
|
|
607
|
-
return r.length ? t.pending ? null : { value: r.map((
|
|
608
|
-
},
|
|
608
|
+
const r = he(i.value);
|
|
609
|
+
return r.length ? t.pending ? null : { value: r.map((l) => Z(l, i)) } : null;
|
|
610
|
+
}, o.componentDidUpdate = function() {
|
|
609
611
|
this.state.upperBound === 0 && this.resize();
|
|
610
|
-
},
|
|
612
|
+
}, o.componentWillUnmount = function() {
|
|
611
613
|
this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
|
|
612
|
-
},
|
|
614
|
+
}, o.onEnd = function(i) {
|
|
613
615
|
i && function(t) {
|
|
614
616
|
Object.keys(t).forEach((r) => {
|
|
615
617
|
typeof document < "u" && document.removeEventListener(r, t[r], !1);
|
|
616
618
|
});
|
|
617
619
|
}(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
618
|
-
},
|
|
620
|
+
}, o.getValue = function() {
|
|
619
621
|
return ie(this.state.value);
|
|
620
|
-
},
|
|
622
|
+
}, o.getClosestIndex = function(i) {
|
|
621
623
|
let t = Number.MAX_VALUE, r = -1;
|
|
622
|
-
const { value:
|
|
623
|
-
for (let
|
|
624
|
-
const u = this.calcOffset(c
|
|
625
|
-
p < t && (t = p, r =
|
|
624
|
+
const { value: l } = this.state, a = l.length;
|
|
625
|
+
for (let c = 0; c < a; c += 1) {
|
|
626
|
+
const u = this.calcOffset(l[c]), p = Math.abs(i - u);
|
|
627
|
+
p < t && (t = p, r = c);
|
|
626
628
|
}
|
|
627
629
|
return r;
|
|
628
|
-
},
|
|
630
|
+
}, o.getMousePosition = function(i) {
|
|
629
631
|
return [i["page" + this.axisKey()], i["page" + this.orthogonalAxisKey()]];
|
|
630
|
-
},
|
|
632
|
+
}, o.getTouchPosition = function(i) {
|
|
631
633
|
const t = i.touches[0];
|
|
632
634
|
return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
|
|
633
|
-
},
|
|
635
|
+
}, o.getKeyDownEventMap = function() {
|
|
634
636
|
return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
|
|
635
|
-
},
|
|
637
|
+
}, o.getMouseEventMap = function() {
|
|
636
638
|
return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
|
|
637
|
-
},
|
|
639
|
+
}, o.getTouchEventMap = function() {
|
|
638
640
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
639
|
-
},
|
|
641
|
+
}, o.getValueFromPosition = function(i) {
|
|
640
642
|
const t = i / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
641
643
|
return Z(this.state.startValue + t, this.props);
|
|
642
|
-
},
|
|
644
|
+
}, o.getDiffPosition = function(i) {
|
|
643
645
|
let t = i - this.state.startPosition;
|
|
644
646
|
return this.props.invert && (t *= -1), t;
|
|
645
|
-
},
|
|
647
|
+
}, o.resize = function() {
|
|
646
648
|
const { slider: i, thumb0: t } = this;
|
|
647
649
|
if (!i || !t) return;
|
|
648
|
-
const r = this.sizeKey(),
|
|
649
|
-
this.state.upperBound === m && this.state.sliderLength ===
|
|
650
|
-
},
|
|
650
|
+
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - p, b = Math.abs(c - u);
|
|
651
|
+
this.state.upperBound === m && this.state.sliderLength === b && this.state.thumbSize === p || this.setState({ upperBound: m, sliderLength: b, thumbSize: p });
|
|
652
|
+
}, o.calcOffset = function(i) {
|
|
651
653
|
const t = this.props.max - this.props.min;
|
|
652
654
|
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
653
|
-
},
|
|
655
|
+
}, o.calcValue = function(i) {
|
|
654
656
|
return i / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
|
|
655
|
-
},
|
|
656
|
-
const { slider: t } = this, r = t.getBoundingClientRect(),
|
|
657
|
-
let
|
|
658
|
-
return this.props.invert && (
|
|
659
|
-
},
|
|
660
|
-
const r = this.calcOffsetFromPosition(i),
|
|
661
|
-
l
|
|
662
|
-
for (let u = 0; u <
|
|
663
|
-
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value:
|
|
664
|
-
t(
|
|
657
|
+
}, o.calcOffsetFromPosition = function(i) {
|
|
658
|
+
const { slider: t } = this, r = t.getBoundingClientRect(), l = r[this.posMaxKey()], a = r[this.posMinKey()];
|
|
659
|
+
let c = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
|
|
660
|
+
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
661
|
+
}, o.forceValueFromPosition = function(i, t) {
|
|
662
|
+
const r = this.calcOffsetFromPosition(i), l = this.getClosestIndex(r), a = Z(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
663
|
+
c[l] = a;
|
|
664
|
+
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
665
|
+
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
666
|
+
t(l), this.fireChangeEvent("onChange");
|
|
665
667
|
});
|
|
666
|
-
},
|
|
668
|
+
}, o.clearPendingResizeTimeouts = function() {
|
|
667
669
|
do {
|
|
668
670
|
const i = this.pendingResizeTimeouts.shift();
|
|
669
671
|
clearTimeout(i);
|
|
670
672
|
} while (this.pendingResizeTimeouts.length);
|
|
671
|
-
},
|
|
673
|
+
}, o.start = function(i, t) {
|
|
672
674
|
const r = this["thumb" + i];
|
|
673
675
|
r && r.focus();
|
|
674
|
-
const { zIndices:
|
|
675
|
-
|
|
676
|
-
},
|
|
676
|
+
const { zIndices: l } = this.state;
|
|
677
|
+
l.splice(l.indexOf(i), 1), l.push(i), this.setState((a) => ({ startValue: a.value[i], startPosition: t !== void 0 ? t : a.startPosition, index: i, zIndices: l }));
|
|
678
|
+
}, o.moveUpByStep = function(i) {
|
|
677
679
|
i === void 0 && (i = this.props.step);
|
|
678
680
|
const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
|
|
679
681
|
this.move(Math.min(r, this.props.max));
|
|
680
|
-
},
|
|
682
|
+
}, o.moveDownByStep = function(i) {
|
|
681
683
|
i === void 0 && (i = this.props.step);
|
|
682
684
|
const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
|
|
683
685
|
this.move(Math.max(r, this.props.min));
|
|
684
|
-
},
|
|
685
|
-
const t = this.state.value.slice(), { index: r } = this.state, { length:
|
|
686
|
+
}, o.move = function(i) {
|
|
687
|
+
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
686
688
|
if (i === a) return;
|
|
687
689
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
688
|
-
const { pearling:
|
|
689
|
-
if (!
|
|
690
|
+
const { pearling: c, max: u, min: p, minDistance: m } = this.props;
|
|
691
|
+
if (!c) {
|
|
690
692
|
if (r > 0) {
|
|
691
|
-
const
|
|
692
|
-
i <
|
|
693
|
+
const b = t[r - 1];
|
|
694
|
+
i < b + m && (i = b + m);
|
|
693
695
|
}
|
|
694
|
-
if (r <
|
|
695
|
-
const
|
|
696
|
-
i >
|
|
696
|
+
if (r < l - 1) {
|
|
697
|
+
const b = t[r + 1];
|
|
698
|
+
i > b - m && (i = b - m);
|
|
697
699
|
}
|
|
698
700
|
}
|
|
699
|
-
t[r] = i,
|
|
700
|
-
for (let f = 0; f <
|
|
701
|
-
const
|
|
702
|
-
g[
|
|
701
|
+
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(b, g, C, y) {
|
|
702
|
+
for (let f = 0; f < b; f += 1) {
|
|
703
|
+
const _ = y - f * C;
|
|
704
|
+
g[b - 1 - f] > _ && (g[b - 1 - f] = _);
|
|
703
705
|
}
|
|
704
|
-
}(
|
|
705
|
-
for (let f = 0; f <
|
|
706
|
-
const
|
|
707
|
-
g[f] <
|
|
706
|
+
}(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(b, g, C, y) {
|
|
707
|
+
for (let f = 0; f < b; f += 1) {
|
|
708
|
+
const _ = y + f * C;
|
|
709
|
+
g[f] < _ && (g[f] = _);
|
|
708
710
|
}
|
|
709
|
-
}(
|
|
710
|
-
},
|
|
711
|
-
let
|
|
712
|
-
for (
|
|
713
|
-
},
|
|
714
|
-
for (let
|
|
715
|
-
},
|
|
711
|
+
}(l, t, m, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
712
|
+
}, o.pushSucceeding = function(i, t, r) {
|
|
713
|
+
let l, a;
|
|
714
|
+
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] = we(a, this.props);
|
|
715
|
+
}, o.pushPreceding = function(i, t, r) {
|
|
716
|
+
for (let l = r, a = i[l] - t; i[l - 1] !== null && a < i[l - 1]; l -= 1, a = i[l] - t) i[l - 1] = we(a, this.props);
|
|
717
|
+
}, o.axisKey = function() {
|
|
716
718
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
717
|
-
},
|
|
719
|
+
}, o.orthogonalAxisKey = function() {
|
|
718
720
|
return this.props.orientation === "vertical" ? "X" : "Y";
|
|
719
|
-
},
|
|
721
|
+
}, o.posMinKey = function() {
|
|
720
722
|
return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
|
|
721
|
-
},
|
|
723
|
+
}, o.posMaxKey = function() {
|
|
722
724
|
return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
|
|
723
|
-
},
|
|
725
|
+
}, o.sizeKey = function() {
|
|
724
726
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
725
|
-
},
|
|
727
|
+
}, o.fireChangeEvent = function(i) {
|
|
726
728
|
this.props[i] && this.props[i](ie(this.state.value), this.state.index);
|
|
727
|
-
},
|
|
729
|
+
}, o.buildThumbStyle = function(i, t) {
|
|
728
730
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
729
731
|
return r[this.posMinKey()] = i + "px", r;
|
|
730
|
-
},
|
|
732
|
+
}, o.buildTrackStyle = function(i, t) {
|
|
731
733
|
const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
|
|
732
734
|
return r[this.posMinKey()] = i, r[this.posMaxKey()] = t, r;
|
|
733
|
-
},
|
|
735
|
+
}, o.buildMarkStyle = function(i) {
|
|
734
736
|
var t;
|
|
735
737
|
return (t = { position: "absolute" })[this.posMinKey()] = i, t;
|
|
736
|
-
},
|
|
738
|
+
}, o.renderThumbs = function(i) {
|
|
737
739
|
const { length: t } = i, r = [];
|
|
738
740
|
for (let a = 0; a < t; a += 1) r[a] = this.buildThumbStyle(i[a], a);
|
|
739
|
-
const
|
|
740
|
-
for (let a = 0; a < t; a += 1)
|
|
741
|
-
return
|
|
742
|
-
},
|
|
741
|
+
const l = [];
|
|
742
|
+
for (let a = 0; a < t; a += 1) l[a] = this.renderThumb(r[a], a);
|
|
743
|
+
return l;
|
|
744
|
+
}, o.renderTracks = function(i) {
|
|
743
745
|
const t = [], r = i.length - 1;
|
|
744
746
|
t.push(this.renderTrack(0, 0, i[0]));
|
|
745
|
-
for (let
|
|
747
|
+
for (let l = 0; l < r; l += 1) t.push(this.renderTrack(l + 1, i[l], i[l + 1]));
|
|
746
748
|
return t.push(this.renderTrack(r + 1, i[r], this.state.upperBound)), t;
|
|
747
|
-
},
|
|
749
|
+
}, o.renderMarks = function() {
|
|
748
750
|
let { marks: i } = this.props;
|
|
749
751
|
const t = this.props.max - this.props.min + 1;
|
|
750
|
-
return typeof i == "boolean" ? i = Array.from({ length: t }).map((r,
|
|
751
|
-
const
|
|
752
|
+
return typeof i == "boolean" ? i = Array.from({ length: t }).map((r, l) => l) : typeof i == "number" && (i = Array.from({ length: t }).map((r, l) => l).filter((r) => r % i == 0)), i.map(parseFloat).sort((r, l) => r - l).map((r) => {
|
|
753
|
+
const l = this.calcOffset(r), a = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(l) };
|
|
752
754
|
return this.props.renderMark(a);
|
|
753
755
|
});
|
|
754
|
-
},
|
|
756
|
+
}, o.render = function() {
|
|
755
757
|
const i = [], { value: t } = this.state, r = t.length;
|
|
756
758
|
for (let u = 0; u < r; u += 1) i[u] = this.calcOffset(t[u], u);
|
|
757
|
-
const
|
|
758
|
-
return
|
|
759
|
+
const l = this.props.withTracks ? this.renderTracks(i) : null, a = this.renderThumbs(i), c = this.props.marks ? this.renderMarks() : null;
|
|
760
|
+
return N.createElement("div", { ref: (u) => {
|
|
759
761
|
this.slider = u, this.resizeElementRef.current = u;
|
|
760
|
-
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick },
|
|
762
|
+
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
761
763
|
}, d;
|
|
762
|
-
}(
|
|
763
|
-
|
|
764
|
-
var
|
|
765
|
-
const
|
|
766
|
-
container:
|
|
767
|
-
unitLabel:
|
|
768
|
-
slider:
|
|
769
|
-
thumb:
|
|
770
|
-
track:
|
|
771
|
-
labels:
|
|
764
|
+
}(N.Component);
|
|
765
|
+
ke.displayName = "ReactSlider", ke.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) => N.createElement("div", n), renderTrack: (n) => N.createElement("div", n), renderMark: (n) => N.createElement("span", n) };
|
|
766
|
+
var k2 = ke;
|
|
767
|
+
const N2 = "_container_15vgv_2", S2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", M2 = "_thumb_15vgv_18", B2 = "_track_15vgv_27", D2 = "_labels_15vgv_33", Y = {
|
|
768
|
+
container: N2,
|
|
769
|
+
unitLabel: S2,
|
|
770
|
+
slider: F2,
|
|
771
|
+
thumb: M2,
|
|
772
|
+
track: B2,
|
|
773
|
+
labels: D2
|
|
772
774
|
}, Je = ({
|
|
773
775
|
min: n = 0,
|
|
774
776
|
max: d = 100,
|
|
775
|
-
step:
|
|
777
|
+
step: o = 1,
|
|
776
778
|
onChange: i,
|
|
777
779
|
width: t = 300,
|
|
778
780
|
unit: r,
|
|
779
|
-
fontColor:
|
|
781
|
+
fontColor: l = "#605B56",
|
|
780
782
|
defaultValue: a
|
|
781
783
|
}) => {
|
|
782
|
-
const { t:
|
|
783
|
-
p(
|
|
784
|
+
const { t: c } = k(), [u, p] = B([n, d]), m = (b) => {
|
|
785
|
+
p(b), i == null || i({ min: b[0], max: b[1] });
|
|
784
786
|
};
|
|
785
|
-
return
|
|
787
|
+
return L(() => {
|
|
786
788
|
a && p([a]);
|
|
787
789
|
}, [a]), /* @__PURE__ */ h(
|
|
788
790
|
"div",
|
|
789
791
|
{
|
|
790
792
|
className: Y.container,
|
|
791
|
-
style: { width: `${t}px`, color: `${
|
|
793
|
+
style: { width: `${t}px`, color: `${l}` },
|
|
792
794
|
children: [
|
|
793
|
-
/* @__PURE__ */
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
|
|
795
|
+
/* @__PURE__ */ s("div", { className: Y.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
796
|
+
/* @__PURE__ */ s(
|
|
797
|
+
k2,
|
|
796
798
|
{
|
|
797
799
|
className: Y.slider,
|
|
798
800
|
thumbClassName: Y.thumb,
|
|
799
801
|
trackClassName: Y.track,
|
|
800
802
|
min: n,
|
|
801
803
|
max: d,
|
|
802
|
-
step:
|
|
804
|
+
step: o,
|
|
803
805
|
value: u,
|
|
804
806
|
onAfterChange: m,
|
|
805
807
|
withTracks: !0,
|
|
@@ -808,8 +810,8 @@ const w2 = "_container_15vgv_2", k2 = "_unitLabel_15vgv_9", N2 = "_slider_15vgv_
|
|
|
808
810
|
}
|
|
809
811
|
),
|
|
810
812
|
/* @__PURE__ */ h("div", { className: Y.labels, children: [
|
|
811
|
-
/* @__PURE__ */
|
|
812
|
-
/* @__PURE__ */
|
|
813
|
+
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
814
|
+
/* @__PURE__ */ s("span", { children: u[1] })
|
|
813
815
|
] })
|
|
814
816
|
]
|
|
815
817
|
}
|
|
@@ -827,84 +829,84 @@ Je.propTypes = {
|
|
|
827
829
|
fontColor: e.string,
|
|
828
830
|
value: e.arrayOf(e.number)
|
|
829
831
|
};
|
|
830
|
-
const
|
|
831
|
-
tematicalFiltersInputContainer:
|
|
832
|
-
inputTypeContainer:
|
|
833
|
-
checkboxContainer:
|
|
834
|
-
absoluteSliderContainer:
|
|
835
|
-
},
|
|
832
|
+
const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_1vm1r_2", V2 = "_checkboxContainer_1vm1r_28", $2 = "_absoluteSliderContainer_1vm1r_37", se = {
|
|
833
|
+
tematicalFiltersInputContainer: L2,
|
|
834
|
+
inputTypeContainer: T2,
|
|
835
|
+
checkboxContainer: V2,
|
|
836
|
+
absoluteSliderContainer: $2
|
|
837
|
+
}, De = ({
|
|
836
838
|
indicator: n,
|
|
837
839
|
//onChangeBothType
|
|
838
840
|
activeColor: d
|
|
839
841
|
}) => {
|
|
840
|
-
const [
|
|
842
|
+
const [o, i] = B(), {
|
|
841
843
|
type: t,
|
|
842
844
|
name: r,
|
|
843
|
-
values:
|
|
845
|
+
values: l,
|
|
844
846
|
minValue: a,
|
|
845
|
-
maxValue:
|
|
847
|
+
maxValue: c,
|
|
846
848
|
unit: u,
|
|
847
849
|
step: p
|
|
848
850
|
} = n || {}, m = ae(
|
|
849
|
-
() => t == "cat" ||
|
|
850
|
-
[
|
|
851
|
-
),
|
|
852
|
-
() => t == "abs" ||
|
|
853
|
-
[
|
|
851
|
+
() => t == "cat" || o == "cat",
|
|
852
|
+
[o, t]
|
|
853
|
+
), b = ae(
|
|
854
|
+
() => t == "abs" || o == "abs",
|
|
855
|
+
[o, t]
|
|
854
856
|
), {
|
|
855
857
|
tematicalFiltersSelected: g,
|
|
856
858
|
selectedIndicator: C,
|
|
857
|
-
fontColor:
|
|
859
|
+
fontColor: y,
|
|
858
860
|
inputsColor: f
|
|
859
|
-
} =
|
|
861
|
+
} = D((w) => w), _ = (w) => {
|
|
860
862
|
if (w) {
|
|
861
|
-
const { min:
|
|
863
|
+
const { min: v, max: S, valueClicked: F, allValues: E } = w || {}, { code: Q, type: ce } = n || {}, de = b ? "abs" : m ? "cat" : "both";
|
|
862
864
|
let R = Q[0];
|
|
863
|
-
|
|
864
|
-
let P =
|
|
865
|
+
ce == "both" && (R = de == "cat" ? Q[1] : Q[0]), de == "cat" ? D.setState((q) => {
|
|
866
|
+
let P = q.tematicalFiltersSelected.find(
|
|
865
867
|
(T) => T.code === R
|
|
866
868
|
);
|
|
867
869
|
if (P) {
|
|
868
870
|
let T = [P.values];
|
|
869
|
-
return P.values.includes(
|
|
870
|
-
(A) => A !==
|
|
871
|
-
) : T = [...P.values,
|
|
872
|
-
tematicalFiltersSelected:
|
|
871
|
+
return P.values.includes(F) ? T = P.values.filter(
|
|
872
|
+
(A) => A !== F
|
|
873
|
+
) : T = [...P.values, F], T.length == E.length ? {
|
|
874
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
873
875
|
(A) => A.code !== R
|
|
874
876
|
)
|
|
875
877
|
} : {
|
|
876
|
-
tematicalFiltersSelected:
|
|
878
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
877
879
|
(A) => A.code === R ? { ...A, values: T } : A
|
|
878
880
|
)
|
|
879
881
|
};
|
|
880
882
|
} else {
|
|
881
|
-
let T = E.map((A,
|
|
883
|
+
let T = E.map((A, pt) => pt);
|
|
882
884
|
return {
|
|
883
885
|
tematicalFiltersSelected: [
|
|
884
886
|
...g,
|
|
885
887
|
{
|
|
886
888
|
type: "cat",
|
|
887
889
|
code: R,
|
|
888
|
-
values: T.filter((A) => A !==
|
|
890
|
+
values: T.filter((A) => A !== F),
|
|
889
891
|
name: n.name
|
|
890
892
|
}
|
|
891
893
|
]
|
|
892
894
|
};
|
|
893
895
|
}
|
|
894
|
-
}) :
|
|
895
|
-
let P =
|
|
896
|
+
}) : de == "abs" && D.setState((q) => {
|
|
897
|
+
let P = q.tematicalFiltersSelected.find(
|
|
896
898
|
(T) => T.code === R
|
|
897
899
|
);
|
|
898
|
-
if (
|
|
900
|
+
if (v == n.minValue && S == n.maxValue)
|
|
899
901
|
return {
|
|
900
|
-
tematicalFiltersSelected:
|
|
902
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
901
903
|
(T) => T.code !== R
|
|
902
904
|
)
|
|
903
905
|
};
|
|
904
906
|
if (P) {
|
|
905
907
|
let T = { ...P };
|
|
906
|
-
return T.min =
|
|
907
|
-
tematicalFiltersSelected:
|
|
908
|
+
return T.min = v, T.max = S, {
|
|
909
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
908
910
|
(A) => A.code === R ? T : A
|
|
909
911
|
)
|
|
910
912
|
};
|
|
@@ -912,7 +914,7 @@ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_
|
|
|
912
914
|
return {
|
|
913
915
|
tematicalFiltersSelected: [
|
|
914
916
|
...g,
|
|
915
|
-
{ type: "abs", code: R, min:
|
|
917
|
+
{ type: "abs", code: R, min: v, max: S }
|
|
916
918
|
]
|
|
917
919
|
};
|
|
918
920
|
});
|
|
@@ -920,34 +922,34 @@ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_
|
|
|
920
922
|
}, x = ae(() => {
|
|
921
923
|
const w = {};
|
|
922
924
|
if ((g == null ? void 0 : g.length) > 0)
|
|
923
|
-
for (const
|
|
924
|
-
|
|
925
|
+
for (const v of g)
|
|
926
|
+
v.type === "cat" ? w[v.code] = new Set(v.values) : w[v.code] = [v.min, v.max];
|
|
925
927
|
return w;
|
|
926
928
|
}, [g]);
|
|
927
|
-
return /* @__PURE__ */
|
|
929
|
+
return /* @__PURE__ */ s("div", { className: se.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
928
930
|
G,
|
|
929
931
|
{
|
|
930
932
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
931
933
|
title: r,
|
|
932
934
|
isOpen: C == `id${r}`,
|
|
933
|
-
onClick: () =>
|
|
935
|
+
onClick: () => D.setState(() => ({
|
|
934
936
|
selectedIndicator: C == `id${r}` ? "" : `id${r}`
|
|
935
937
|
})),
|
|
936
938
|
showBottomBar: !1,
|
|
937
939
|
height: 38,
|
|
938
940
|
titleMarginChildren: 14,
|
|
939
941
|
className: "tematicalFiltersInputContainer",
|
|
940
|
-
color:
|
|
942
|
+
color: y,
|
|
941
943
|
activeColor: d,
|
|
942
944
|
children: [
|
|
943
945
|
t == "both" && /* @__PURE__ */ h(
|
|
944
946
|
"div",
|
|
945
947
|
{
|
|
946
|
-
className:
|
|
947
|
-
style: { color:
|
|
948
|
+
className: se.inputTypeContainer,
|
|
949
|
+
style: { color: y },
|
|
948
950
|
children: [
|
|
949
951
|
/* @__PURE__ */ h("label", { children: [
|
|
950
|
-
/* @__PURE__ */
|
|
952
|
+
/* @__PURE__ */ s(
|
|
951
953
|
"input",
|
|
952
954
|
{
|
|
953
955
|
type: "radio",
|
|
@@ -958,15 +960,15 @@ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_
|
|
|
958
960
|
},
|
|
959
961
|
style: {
|
|
960
962
|
marginRight: 4,
|
|
961
|
-
backgroundColor:
|
|
962
|
-
border: `1.5px solid ${
|
|
963
|
+
backgroundColor: o == "abs" ? f : "white",
|
|
964
|
+
border: `1.5px solid ${o == "abs" ? f : y}`
|
|
963
965
|
}
|
|
964
966
|
}
|
|
965
967
|
),
|
|
966
968
|
"Absoluto"
|
|
967
969
|
] }),
|
|
968
970
|
/* @__PURE__ */ h("label", { children: [
|
|
969
|
-
/* @__PURE__ */
|
|
971
|
+
/* @__PURE__ */ s(
|
|
970
972
|
"input",
|
|
971
973
|
{
|
|
972
974
|
type: "radio",
|
|
@@ -977,8 +979,8 @@ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_
|
|
|
977
979
|
},
|
|
978
980
|
style: {
|
|
979
981
|
marginRight: 4,
|
|
980
|
-
backgroundColor:
|
|
981
|
-
border: `1.5px solid ${
|
|
982
|
+
backgroundColor: o == "cat" ? f : "white",
|
|
983
|
+
border: `1.5px solid ${o == "cat" ? f : y}`
|
|
982
984
|
}
|
|
983
985
|
}
|
|
984
986
|
),
|
|
@@ -987,24 +989,24 @@ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_
|
|
|
987
989
|
]
|
|
988
990
|
}
|
|
989
991
|
),
|
|
990
|
-
m && /* @__PURE__ */
|
|
992
|
+
m && /* @__PURE__ */ s("div", { className: se.checkboxContainer, children: l.map((w, v) => {
|
|
991
993
|
var S;
|
|
992
|
-
return /* @__PURE__ */
|
|
993
|
-
|
|
994
|
+
return /* @__PURE__ */ s(
|
|
995
|
+
We,
|
|
994
996
|
{
|
|
995
|
-
onClick: () =>
|
|
997
|
+
onClick: () => _({ valueClicked: v, allValues: l }),
|
|
996
998
|
indicator: w,
|
|
997
|
-
value: ((S = x[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(
|
|
999
|
+
value: ((S = x[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(v)) || !x[n.code[t == "both" ? 1 : 0]]
|
|
998
1000
|
},
|
|
999
|
-
`checkbox-${
|
|
1001
|
+
`checkbox-${v}`
|
|
1000
1002
|
);
|
|
1001
1003
|
}) }),
|
|
1002
|
-
|
|
1004
|
+
b && /* @__PURE__ */ s("div", { className: se.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1003
1005
|
Je,
|
|
1004
1006
|
{
|
|
1005
|
-
onChange:
|
|
1007
|
+
onChange: _,
|
|
1006
1008
|
min: a,
|
|
1007
|
-
max:
|
|
1009
|
+
max: c,
|
|
1008
1010
|
unit: u,
|
|
1009
1011
|
value: x[n.code[0]],
|
|
1010
1012
|
step: p
|
|
@@ -1014,7 +1016,7 @@ const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_
|
|
|
1014
1016
|
}
|
|
1015
1017
|
) });
|
|
1016
1018
|
};
|
|
1017
|
-
|
|
1019
|
+
De.propTypes = {
|
|
1018
1020
|
indicator: e.shape({
|
|
1019
1021
|
name: e.string,
|
|
1020
1022
|
type: e.string,
|
|
@@ -1029,21 +1031,21 @@ Le.propTypes = {
|
|
|
1029
1031
|
activeColor: e.string
|
|
1030
1032
|
//onChangeBothType: PropTypes.func,
|
|
1031
1033
|
};
|
|
1032
|
-
const
|
|
1034
|
+
const Xe = ({
|
|
1033
1035
|
subcategory: n,
|
|
1034
1036
|
fontColor: d,
|
|
1035
|
-
activeColor:
|
|
1037
|
+
activeColor: o
|
|
1036
1038
|
//onChangeBothType,
|
|
1037
1039
|
}) => {
|
|
1038
|
-
const { activeSubcategory: i } =
|
|
1039
|
-
return /* @__PURE__ */
|
|
1040
|
+
const { activeSubcategory: i } = D((l) => l), { name: t, indicators: r } = n || {};
|
|
1041
|
+
return /* @__PURE__ */ s(
|
|
1040
1042
|
G,
|
|
1041
1043
|
{
|
|
1042
1044
|
title: t,
|
|
1043
1045
|
isOpen: i == `id${t}`,
|
|
1044
1046
|
onClick: () => {
|
|
1045
|
-
|
|
1046
|
-
activeSubcategory:
|
|
1047
|
+
D.setState((l) => ({
|
|
1048
|
+
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1047
1049
|
}));
|
|
1048
1050
|
},
|
|
1049
1051
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
@@ -1051,20 +1053,20 @@ const Qe = ({
|
|
|
1051
1053
|
titleMarginChildren: 20,
|
|
1052
1054
|
height: 48,
|
|
1053
1055
|
color: d,
|
|
1054
|
-
activeColor:
|
|
1055
|
-
children: r == null ? void 0 : r.map((
|
|
1056
|
-
|
|
1056
|
+
activeColor: o,
|
|
1057
|
+
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
|
|
1058
|
+
De,
|
|
1057
1059
|
{
|
|
1058
|
-
indicator:
|
|
1060
|
+
indicator: l,
|
|
1059
1061
|
fontColor: d,
|
|
1060
|
-
activeColor:
|
|
1062
|
+
activeColor: o
|
|
1061
1063
|
},
|
|
1062
1064
|
`indicatorSub-${a}`
|
|
1063
1065
|
))
|
|
1064
1066
|
}
|
|
1065
1067
|
);
|
|
1066
1068
|
};
|
|
1067
|
-
|
|
1069
|
+
Xe.propTypes = {
|
|
1068
1070
|
subcategory: e.shape({
|
|
1069
1071
|
name: e.string,
|
|
1070
1072
|
indicators: e.arrayOf(
|
|
@@ -1077,47 +1079,47 @@ Qe.propTypes = {
|
|
|
1077
1079
|
activeColor: e.string
|
|
1078
1080
|
//onChangeBothType: PropTypes.func,
|
|
1079
1081
|
};
|
|
1080
|
-
const
|
|
1082
|
+
const Qe = ({
|
|
1081
1083
|
category: n,
|
|
1082
1084
|
// onChangeBothType,
|
|
1083
1085
|
activeColor: d
|
|
1084
1086
|
}) => {
|
|
1085
|
-
const { name:
|
|
1086
|
-
return n && /* @__PURE__ */
|
|
1087
|
+
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = D((a) => a);
|
|
1088
|
+
return n && /* @__PURE__ */ s(
|
|
1087
1089
|
G,
|
|
1088
1090
|
{
|
|
1089
1091
|
onClick: () => {
|
|
1090
|
-
|
|
1091
|
-
activeCategory: r === `id${
|
|
1092
|
+
D.setState((a) => ({
|
|
1093
|
+
activeCategory: r === `id${o}` ? "" : `id${o}`
|
|
1092
1094
|
}));
|
|
1093
1095
|
},
|
|
1094
|
-
title:
|
|
1095
|
-
isOpen: r === `id${
|
|
1096
|
+
title: o,
|
|
1097
|
+
isOpen: r === `id${o}`,
|
|
1096
1098
|
titleFontStyles: { fontSize: 18, fontWeight: "bold" },
|
|
1097
1099
|
showBottomBar: !1,
|
|
1098
|
-
color:
|
|
1100
|
+
color: l,
|
|
1099
1101
|
activeColor: d,
|
|
1100
|
-
children: i ? i.map((a,
|
|
1101
|
-
|
|
1102
|
+
children: i ? i.map((a, c) => /* @__PURE__ */ s(
|
|
1103
|
+
Xe,
|
|
1102
1104
|
{
|
|
1103
1105
|
subcategory: a,
|
|
1104
|
-
fontColor:
|
|
1106
|
+
fontColor: l,
|
|
1105
1107
|
activeColor: d
|
|
1106
1108
|
},
|
|
1107
|
-
`subcategory-${
|
|
1108
|
-
)) : t && t.map((a,
|
|
1109
|
-
|
|
1109
|
+
`subcategory-${c}`
|
|
1110
|
+
)) : t && t.map((a, c) => /* @__PURE__ */ s(
|
|
1111
|
+
De,
|
|
1110
1112
|
{
|
|
1111
1113
|
indicator: a,
|
|
1112
|
-
fontColor:
|
|
1114
|
+
fontColor: l,
|
|
1113
1115
|
activeColor: d
|
|
1114
1116
|
},
|
|
1115
|
-
`indicator-${
|
|
1117
|
+
`indicator-${c}`
|
|
1116
1118
|
))
|
|
1117
1119
|
}
|
|
1118
1120
|
);
|
|
1119
1121
|
};
|
|
1120
|
-
|
|
1122
|
+
Qe.propTypes = {
|
|
1121
1123
|
category: e.shape({
|
|
1122
1124
|
name: e.string.isRequired,
|
|
1123
1125
|
subcategories: e.array,
|
|
@@ -1126,31 +1128,31 @@ et.propTypes = {
|
|
|
1126
1128
|
activeColor: e.string
|
|
1127
1129
|
//onChangeBothType: PropTypes.func,
|
|
1128
1130
|
};
|
|
1129
|
-
const
|
|
1131
|
+
const et = ({
|
|
1130
1132
|
indicators: n,
|
|
1131
1133
|
isOpen: d = !0,
|
|
1132
|
-
title:
|
|
1134
|
+
title: o,
|
|
1133
1135
|
fontColor: i = "#605B56",
|
|
1134
1136
|
//The color of the slider and the checkbox when is checked
|
|
1135
1137
|
inputsColor: t = "#605B56",
|
|
1136
1138
|
activeColor: r
|
|
1137
1139
|
}) => {
|
|
1138
|
-
const { tematicalFiltersSelected:
|
|
1139
|
-
return
|
|
1140
|
-
i &&
|
|
1141
|
-
}, [i]),
|
|
1142
|
-
t &&
|
|
1143
|
-
}, [t]), /* @__PURE__ */
|
|
1140
|
+
const { tematicalFiltersSelected: l } = D((c) => c), { t: a } = k();
|
|
1141
|
+
return L(() => {
|
|
1142
|
+
i && D.setState(() => ({ fontColor: i }));
|
|
1143
|
+
}, [i]), L(() => {
|
|
1144
|
+
t && D.setState(() => ({ inputsColor: t }));
|
|
1145
|
+
}, [t]), /* @__PURE__ */ s(
|
|
1144
1146
|
G,
|
|
1145
1147
|
{
|
|
1146
1148
|
isOpen: d,
|
|
1147
|
-
title:
|
|
1149
|
+
title: o ? a(o) : "Tematical filters",
|
|
1148
1150
|
color: i,
|
|
1149
1151
|
activeColor: r,
|
|
1150
|
-
children: n == null ? void 0 : n.map((
|
|
1151
|
-
|
|
1152
|
+
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
|
|
1153
|
+
Qe,
|
|
1152
1154
|
{
|
|
1153
|
-
category:
|
|
1155
|
+
category: c,
|
|
1154
1156
|
fontColor: i,
|
|
1155
1157
|
activeColor: r
|
|
1156
1158
|
},
|
|
@@ -1159,7 +1161,7 @@ const tt = ({
|
|
|
1159
1161
|
}
|
|
1160
1162
|
);
|
|
1161
1163
|
};
|
|
1162
|
-
|
|
1164
|
+
et.propTypes = {
|
|
1163
1165
|
isOpen: e.bool,
|
|
1164
1166
|
title: e.string,
|
|
1165
1167
|
indicators: e.arrayOf(e.object),
|
|
@@ -1168,74 +1170,74 @@ tt.propTypes = {
|
|
|
1168
1170
|
inputsColor: e.string,
|
|
1169
1171
|
activeColor: e.string
|
|
1170
1172
|
};
|
|
1171
|
-
const
|
|
1172
|
-
FiltersAmbitContainer:
|
|
1173
|
-
FiltersAmbitHeader:
|
|
1174
|
-
FiltersAmbitTitle:
|
|
1175
|
-
FiltersAmbitDescription:
|
|
1176
|
-
FiltersAmbitDescriptionTitle:
|
|
1177
|
-
warning:
|
|
1178
|
-
},
|
|
1173
|
+
const A2 = "_FiltersAmbitContainer_1g9xx_2", O2 = "_FiltersAmbitHeader_1g9xx_7", I2 = "_FiltersAmbitTitle_1g9xx_15", R2 = "_FiltersAmbitDescription_1g9xx_22", E2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", P2 = "_warning_1g9xx_37", W = {
|
|
1174
|
+
FiltersAmbitContainer: A2,
|
|
1175
|
+
FiltersAmbitHeader: O2,
|
|
1176
|
+
FiltersAmbitTitle: I2,
|
|
1177
|
+
FiltersAmbitDescription: R2,
|
|
1178
|
+
FiltersAmbitDescriptionTitle: E2,
|
|
1179
|
+
warning: P2
|
|
1180
|
+
}, j2 = ({
|
|
1179
1181
|
ambitName: n,
|
|
1180
1182
|
ambitDescription: d,
|
|
1181
|
-
defaultFilters:
|
|
1183
|
+
defaultFilters: o,
|
|
1182
1184
|
indicators: i,
|
|
1183
1185
|
activeColor: t,
|
|
1184
1186
|
textColor: r,
|
|
1185
|
-
backgroundColor:
|
|
1187
|
+
backgroundColor: l,
|
|
1186
1188
|
onChangeAppliedFilters: a,
|
|
1187
|
-
saveAmbit:
|
|
1189
|
+
saveAmbit: c,
|
|
1188
1190
|
namePlaceholder: u,
|
|
1189
1191
|
descPlaceholder: p,
|
|
1190
1192
|
filtersTypes: m = ["geographical", "tematical"],
|
|
1191
|
-
nameRequiredText:
|
|
1193
|
+
nameRequiredText: b
|
|
1192
1194
|
}) => {
|
|
1193
|
-
const { t: g } =
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
tematicalFiltersSelected:
|
|
1195
|
+
const { t: g } = k(), { tematicalFiltersSelected: C } = D((F) => F), [y, f] = B(n || null), [_, x] = B(d || null), [w, v] = B(!1);
|
|
1196
|
+
L(() => {
|
|
1197
|
+
o && o.length > 0 && D.setState((F) => ({
|
|
1198
|
+
tematicalFiltersSelected: o
|
|
1197
1199
|
}));
|
|
1198
|
-
}, [
|
|
1200
|
+
}, [o]), L(() => {
|
|
1199
1201
|
console.log("filtersSelected changed: ", C), a(C);
|
|
1200
1202
|
}, [C]);
|
|
1201
1203
|
const S = () => {
|
|
1202
|
-
|
|
1204
|
+
y ? c({ name: y, description: _ }) : v(!0);
|
|
1203
1205
|
};
|
|
1204
1206
|
return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
|
|
1205
1207
|
/* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
|
|
1206
|
-
/* @__PURE__ */
|
|
1208
|
+
/* @__PURE__ */ s("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1207
1209
|
"input",
|
|
1208
1210
|
{
|
|
1209
1211
|
type: "text",
|
|
1210
|
-
onChange: (
|
|
1211
|
-
|
|
1212
|
+
onChange: (F) => {
|
|
1213
|
+
v(!1), f(F.target.value);
|
|
1212
1214
|
},
|
|
1213
|
-
value:
|
|
1215
|
+
value: y,
|
|
1214
1216
|
placeholder: g(u)
|
|
1215
1217
|
}
|
|
1216
1218
|
) }),
|
|
1217
|
-
/* @__PURE__ */
|
|
1219
|
+
/* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1218
1220
|
"textarea",
|
|
1219
1221
|
{
|
|
1220
|
-
value:
|
|
1221
|
-
onChange: (
|
|
1222
|
+
value: _,
|
|
1223
|
+
onChange: (F) => x(F.target.value),
|
|
1222
1224
|
placeholder: g(p)
|
|
1223
1225
|
}
|
|
1224
1226
|
) }) })
|
|
1225
1227
|
] }),
|
|
1226
|
-
/* @__PURE__ */
|
|
1227
|
-
|
|
1228
|
+
/* @__PURE__ */ s(
|
|
1229
|
+
Ge,
|
|
1228
1230
|
{
|
|
1229
1231
|
title: g("applied_filters"),
|
|
1230
1232
|
isOpen: !0,
|
|
1231
1233
|
textColor: r || "#fff",
|
|
1232
|
-
backgroundColor:
|
|
1234
|
+
backgroundColor: l || "#605B5680",
|
|
1233
1235
|
activeColor: t
|
|
1234
1236
|
}
|
|
1235
1237
|
),
|
|
1236
|
-
m.includes("geographical") && /* @__PURE__ */
|
|
1237
|
-
m.includes("tematical") && /* @__PURE__ */
|
|
1238
|
-
|
|
1238
|
+
m.includes("geographical") && /* @__PURE__ */ s(Ye, { activeColor: t }),
|
|
1239
|
+
m.includes("tematical") && /* @__PURE__ */ s(
|
|
1240
|
+
et,
|
|
1239
1241
|
{
|
|
1240
1242
|
indicators: i,
|
|
1241
1243
|
inputsColor: t,
|
|
@@ -1244,11 +1246,11 @@ const V2 = "_FiltersAmbitContainer_1g9xx_2", $2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1244
1246
|
activeColor: t
|
|
1245
1247
|
}
|
|
1246
1248
|
),
|
|
1247
|
-
w && /* @__PURE__ */
|
|
1248
|
-
/* @__PURE__ */
|
|
1249
|
+
w && /* @__PURE__ */ s("div", { className: W.warning, children: g(b) }),
|
|
1250
|
+
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(le, { onClick: () => S(), children: g("save_ambit") }) })
|
|
1249
1251
|
] });
|
|
1250
1252
|
};
|
|
1251
|
-
|
|
1253
|
+
j2.propTypes = {
|
|
1252
1254
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1253
1255
|
ambitName: e.string,
|
|
1254
1256
|
ambitDescription: e.string,
|
|
@@ -1263,48 +1265,48 @@ E2.propTypes = {
|
|
|
1263
1265
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1264
1266
|
nameRequiredText: e.string
|
|
1265
1267
|
};
|
|
1266
|
-
const
|
|
1267
|
-
barChartContainer:
|
|
1268
|
-
},
|
|
1268
|
+
const q2 = "_barChartContainer_d2f1z_2", z2 = {
|
|
1269
|
+
barChartContainer: q2
|
|
1270
|
+
}, tt = ({
|
|
1269
1271
|
data: n,
|
|
1270
1272
|
width: d = 700,
|
|
1271
|
-
barHeight:
|
|
1273
|
+
barHeight: o = 25,
|
|
1272
1274
|
gap: i = 23,
|
|
1273
1275
|
fontColor: t = "#605B56",
|
|
1274
1276
|
verticalPaddign: r = 10,
|
|
1275
|
-
horizontalPaddign:
|
|
1277
|
+
horizontalPaddign: l = 20,
|
|
1276
1278
|
leftPadding: a = 200,
|
|
1277
|
-
numberOfDivisions:
|
|
1279
|
+
numberOfDivisions: c = 7,
|
|
1278
1280
|
maxValue: u = null
|
|
1279
1281
|
}) => {
|
|
1280
|
-
const { t: p } =
|
|
1282
|
+
const { t: p } = k(), { xScale: m, ticks: b, height: g } = ae(() => {
|
|
1281
1283
|
if (n && n.length > 0) {
|
|
1282
|
-
const C = (n == null ? void 0 : n.length) * (
|
|
1284
|
+
const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, y = Ve.max(n, (x) => x.value) || 1, f = Ve.scaleLinear().domain([0, u || y]).range([0, d - a]), _ = Array.from({ length: c + 1 }, (x, w) => u ? u / c * w : y / c * w);
|
|
1283
1285
|
return {
|
|
1284
1286
|
xScale: f,
|
|
1285
|
-
ticks:
|
|
1287
|
+
ticks: _,
|
|
1286
1288
|
height: C,
|
|
1287
1289
|
width: d,
|
|
1288
1290
|
verticalPaddign: r,
|
|
1289
|
-
horizontalPaddign:
|
|
1291
|
+
horizontalPaddign: l
|
|
1290
1292
|
};
|
|
1291
1293
|
} else
|
|
1292
1294
|
return { xScale: null, ticks: [], height: 0 };
|
|
1293
1295
|
}, [
|
|
1294
1296
|
n,
|
|
1295
1297
|
d,
|
|
1296
|
-
l,
|
|
1297
|
-
s,
|
|
1298
|
-
i,
|
|
1299
1298
|
c,
|
|
1299
|
+
o,
|
|
1300
|
+
i,
|
|
1301
|
+
l,
|
|
1300
1302
|
r,
|
|
1301
1303
|
u
|
|
1302
1304
|
]);
|
|
1303
|
-
return /* @__PURE__ */
|
|
1304
|
-
/* @__PURE__ */
|
|
1305
|
+
return /* @__PURE__ */ s("div", { className: z2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: g, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1306
|
+
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: b.map((C, y) => {
|
|
1305
1307
|
const f = m(C);
|
|
1306
1308
|
return /* @__PURE__ */ h("g", { transform: `translate(${f}, 0)`, children: [
|
|
1307
|
-
/* @__PURE__ */
|
|
1309
|
+
/* @__PURE__ */ s(
|
|
1308
1310
|
"line",
|
|
1309
1311
|
{
|
|
1310
1312
|
y1: 0,
|
|
@@ -1312,7 +1314,7 @@ const P2 = "_barChartContainer_d2f1z_2", q2 = {
|
|
|
1312
1314
|
stroke: "#ccc"
|
|
1313
1315
|
}
|
|
1314
1316
|
),
|
|
1315
|
-
/* @__PURE__ */
|
|
1317
|
+
/* @__PURE__ */ s(
|
|
1316
1318
|
"text",
|
|
1317
1319
|
{
|
|
1318
1320
|
y: g - i,
|
|
@@ -1322,42 +1324,42 @@ const P2 = "_barChartContainer_d2f1z_2", q2 = {
|
|
|
1322
1324
|
children: parseInt(C)
|
|
1323
1325
|
}
|
|
1324
1326
|
)
|
|
1325
|
-
] },
|
|
1327
|
+
] }, y);
|
|
1326
1328
|
}) }),
|
|
1327
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((C,
|
|
1328
|
-
const f = m(C.value),
|
|
1329
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((C, y) => {
|
|
1330
|
+
const f = m(C.value), _ = y * (o + i);
|
|
1329
1331
|
return /* @__PURE__ */ h(
|
|
1330
1332
|
"g",
|
|
1331
1333
|
{
|
|
1332
|
-
transform: `translate(${a +
|
|
1334
|
+
transform: `translate(${a + l}, ${_})`,
|
|
1333
1335
|
children: [
|
|
1334
|
-
/* @__PURE__ */
|
|
1336
|
+
/* @__PURE__ */ s(
|
|
1335
1337
|
"text",
|
|
1336
1338
|
{
|
|
1337
1339
|
x: -24,
|
|
1338
|
-
y:
|
|
1340
|
+
y: o / 2 + 5,
|
|
1339
1341
|
textAnchor: "end",
|
|
1340
1342
|
fill: t,
|
|
1341
1343
|
children: p(C.title)
|
|
1342
1344
|
}
|
|
1343
1345
|
),
|
|
1344
|
-
/* @__PURE__ */
|
|
1346
|
+
/* @__PURE__ */ s(
|
|
1345
1347
|
"rect",
|
|
1346
1348
|
{
|
|
1347
1349
|
width: f,
|
|
1348
|
-
height:
|
|
1350
|
+
height: o,
|
|
1349
1351
|
fill: C.color,
|
|
1350
1352
|
rx: 0
|
|
1351
1353
|
}
|
|
1352
1354
|
)
|
|
1353
1355
|
]
|
|
1354
1356
|
},
|
|
1355
|
-
|
|
1357
|
+
y
|
|
1356
1358
|
);
|
|
1357
1359
|
}))
|
|
1358
1360
|
] }) }) });
|
|
1359
1361
|
};
|
|
1360
|
-
|
|
1362
|
+
tt.propTypes = {
|
|
1361
1363
|
data: e.arrayOf(
|
|
1362
1364
|
e.shape({
|
|
1363
1365
|
title: e.string,
|
|
@@ -1373,47 +1375,47 @@ nt.propTypes = {
|
|
|
1373
1375
|
numberOfDivisions: e.number,
|
|
1374
1376
|
fontColor: e.string
|
|
1375
1377
|
};
|
|
1376
|
-
const
|
|
1377
|
-
graphicContainer:
|
|
1378
|
-
titleContainer:
|
|
1379
|
-
},
|
|
1378
|
+
const Z2 = "_graphicContainer_c9zrg_2", H2 = "_titleContainer_c9zrg_14", Oe = {
|
|
1379
|
+
graphicContainer: Z2,
|
|
1380
|
+
titleContainer: H2
|
|
1381
|
+
}, K2 = ({
|
|
1380
1382
|
data: n,
|
|
1381
1383
|
graphWidth: d = 700,
|
|
1382
|
-
containerStyle:
|
|
1384
|
+
containerStyle: o,
|
|
1383
1385
|
borderColor: i = "#605B56",
|
|
1384
1386
|
title: t = "Graphic Title",
|
|
1385
1387
|
fontColor: r = "#605B56",
|
|
1386
|
-
maxValue:
|
|
1388
|
+
maxValue: l = null,
|
|
1387
1389
|
numberOfDivisions: a = 7,
|
|
1388
|
-
leftPadding:
|
|
1390
|
+
leftPadding: c = 200
|
|
1389
1391
|
}) => {
|
|
1390
|
-
const { t: u } =
|
|
1392
|
+
const { t: u } = k();
|
|
1391
1393
|
return /* @__PURE__ */ h(
|
|
1392
1394
|
"div",
|
|
1393
1395
|
{
|
|
1394
|
-
className:
|
|
1396
|
+
className: Oe.graphicContainer,
|
|
1395
1397
|
style: {
|
|
1396
|
-
...
|
|
1398
|
+
...o || {},
|
|
1397
1399
|
border: `1.5px solid ${i}`
|
|
1398
1400
|
},
|
|
1399
1401
|
children: [
|
|
1400
|
-
/* @__PURE__ */
|
|
1401
|
-
/* @__PURE__ */
|
|
1402
|
-
|
|
1402
|
+
/* @__PURE__ */ s("div", { className: Oe.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1403
|
+
/* @__PURE__ */ s(
|
|
1404
|
+
tt,
|
|
1403
1405
|
{
|
|
1404
1406
|
data: n,
|
|
1405
1407
|
width: d,
|
|
1406
1408
|
fontColor: r,
|
|
1407
|
-
maxValue:
|
|
1409
|
+
maxValue: l,
|
|
1408
1410
|
numberOfDivisions: a,
|
|
1409
|
-
leftPadding:
|
|
1411
|
+
leftPadding: c
|
|
1410
1412
|
}
|
|
1411
1413
|
)
|
|
1412
1414
|
]
|
|
1413
1415
|
}
|
|
1414
1416
|
);
|
|
1415
1417
|
};
|
|
1416
|
-
|
|
1418
|
+
K2.propTypes = {
|
|
1417
1419
|
data: e.arrayOf(
|
|
1418
1420
|
e.shape({
|
|
1419
1421
|
color: e.string.isRequired,
|
|
@@ -1430,63 +1432,63 @@ Z2.propTypes = {
|
|
|
1430
1432
|
numberOfDivisions: e.number,
|
|
1431
1433
|
leftPadding: e.number
|
|
1432
1434
|
};
|
|
1433
|
-
const
|
|
1434
|
-
indicatorsCategory:
|
|
1435
|
-
title:
|
|
1436
|
-
list:
|
|
1437
|
-
},
|
|
1438
|
-
indicatorContainer:
|
|
1439
|
-
indicatorNameContainer:
|
|
1440
|
-
dot:
|
|
1441
|
-
indicatorName:
|
|
1442
|
-
switchExternalContainer:
|
|
1443
|
-
switchType:
|
|
1444
|
-
switchTypeOptions:
|
|
1445
|
-
optionContainer:
|
|
1446
|
-
customRadious:
|
|
1447
|
-
optionText:
|
|
1448
|
-
},
|
|
1435
|
+
const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu33_11", ge = {
|
|
1436
|
+
indicatorsCategory: U2,
|
|
1437
|
+
title: G2,
|
|
1438
|
+
list: Y2
|
|
1439
|
+
}, W2 = "_indicatorContainer_lw8gx_2", J2 = "_indicatorNameContainer_lw8gx_11", X2 = "_dot_lw8gx_20", Q2 = "_indicatorName_lw8gx_11", e0 = "_switchExternalContainer_lw8gx_31", t0 = "_switchType_lw8gx_40", n0 = "_switchTypeOptions_lw8gx_44", i0 = "_optionContainer_lw8gx_55", o0 = "_customRadious_lw8gx_65", s0 = "_optionText_lw8gx_72", M = {
|
|
1440
|
+
indicatorContainer: W2,
|
|
1441
|
+
indicatorNameContainer: J2,
|
|
1442
|
+
dot: X2,
|
|
1443
|
+
indicatorName: Q2,
|
|
1444
|
+
switchExternalContainer: e0,
|
|
1445
|
+
switchType: t0,
|
|
1446
|
+
switchTypeOptions: n0,
|
|
1447
|
+
optionContainer: i0,
|
|
1448
|
+
customRadious: o0,
|
|
1449
|
+
optionText: s0
|
|
1450
|
+
}, Le = ({
|
|
1449
1451
|
indicator: n,
|
|
1450
1452
|
values: d = [],
|
|
1451
|
-
activeColor:
|
|
1453
|
+
activeColor: o,
|
|
1452
1454
|
defaultColor: i = "#92898A",
|
|
1453
1455
|
activeIndicator: t,
|
|
1454
1456
|
activeIndicatorType: r,
|
|
1455
|
-
onClickIndicator:
|
|
1457
|
+
onClickIndicator: l,
|
|
1456
1458
|
multiple: a = !1,
|
|
1457
|
-
onChangeType:
|
|
1459
|
+
onChangeType: c
|
|
1458
1460
|
}) => {
|
|
1459
|
-
const { t: u } =
|
|
1460
|
-
|
|
1461
|
+
const { t: u } = k(), { name: p, type: m } = n, [b, g] = B(!1);
|
|
1462
|
+
L(() => {
|
|
1461
1463
|
t && g(
|
|
1462
1464
|
a ? t.some(
|
|
1463
1465
|
(f) => f.name == String(p)
|
|
1464
1466
|
) : t.name == p
|
|
1465
1467
|
);
|
|
1466
1468
|
}, [t]);
|
|
1467
|
-
const C = () => /* @__PURE__ */
|
|
1469
|
+
const C = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ h("div", { className: M.switchTypeOptions, children: [
|
|
1468
1470
|
/* @__PURE__ */ h(
|
|
1469
1471
|
"div",
|
|
1470
1472
|
{
|
|
1471
|
-
className:
|
|
1472
|
-
onClick: () =>
|
|
1473
|
+
className: M.optionContainer,
|
|
1474
|
+
onClick: () => c("cat"),
|
|
1473
1475
|
children: [
|
|
1474
|
-
/* @__PURE__ */
|
|
1476
|
+
/* @__PURE__ */ s(
|
|
1475
1477
|
"span",
|
|
1476
1478
|
{
|
|
1477
|
-
className: `${
|
|
1479
|
+
className: `${M.customRadious}`,
|
|
1478
1480
|
style: {
|
|
1479
|
-
backgroundColor: r === "cat" ?
|
|
1480
|
-
borderColor: r === "cat" ?
|
|
1481
|
+
backgroundColor: r === "cat" ? o : "transparent",
|
|
1482
|
+
borderColor: r === "cat" ? o : i
|
|
1481
1483
|
}
|
|
1482
1484
|
}
|
|
1483
1485
|
),
|
|
1484
|
-
/* @__PURE__ */
|
|
1486
|
+
/* @__PURE__ */ s(
|
|
1485
1487
|
"h4",
|
|
1486
1488
|
{
|
|
1487
|
-
className:
|
|
1489
|
+
className: M.optionText,
|
|
1488
1490
|
style: {
|
|
1489
|
-
color: r === "cat" ?
|
|
1491
|
+
color: r === "cat" ? o : i
|
|
1490
1492
|
},
|
|
1491
1493
|
children: u("indicators.cat")
|
|
1492
1494
|
}
|
|
@@ -1497,25 +1499,25 @@ const H2 = "_indicatorsCategory_1cu33_2", K2 = "_title_1cu33_5", U2 = "_list_1cu
|
|
|
1497
1499
|
/* @__PURE__ */ h(
|
|
1498
1500
|
"div",
|
|
1499
1501
|
{
|
|
1500
|
-
className:
|
|
1501
|
-
onClick: () =>
|
|
1502
|
+
className: M.optionContainer,
|
|
1503
|
+
onClick: () => c("abs"),
|
|
1502
1504
|
children: [
|
|
1503
|
-
/* @__PURE__ */
|
|
1505
|
+
/* @__PURE__ */ s(
|
|
1504
1506
|
"span",
|
|
1505
1507
|
{
|
|
1506
|
-
className: `${
|
|
1508
|
+
className: `${M.customRadious}`,
|
|
1507
1509
|
style: {
|
|
1508
|
-
backgroundColor: r === "abs" ?
|
|
1509
|
-
borderColor: r === "abs" ?
|
|
1510
|
+
backgroundColor: r === "abs" ? o : "transparent",
|
|
1511
|
+
borderColor: r === "abs" ? o : i
|
|
1510
1512
|
}
|
|
1511
1513
|
}
|
|
1512
1514
|
),
|
|
1513
|
-
/* @__PURE__ */
|
|
1515
|
+
/* @__PURE__ */ s(
|
|
1514
1516
|
"h4",
|
|
1515
1517
|
{
|
|
1516
|
-
className:
|
|
1518
|
+
className: M.optionText,
|
|
1517
1519
|
style: {
|
|
1518
|
-
color: r === "abs" ?
|
|
1520
|
+
color: r === "abs" ? o : i
|
|
1519
1521
|
},
|
|
1520
1522
|
children: u("indicators.abs")
|
|
1521
1523
|
}
|
|
@@ -1523,54 +1525,54 @@ const H2 = "_indicatorsCategory_1cu33_2", K2 = "_title_1cu33_5", U2 = "_list_1cu
|
|
|
1523
1525
|
]
|
|
1524
1526
|
}
|
|
1525
1527
|
)
|
|
1526
|
-
] }) }) }),
|
|
1528
|
+
] }) }) }), y = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((f, _) => /* @__PURE__ */ h(
|
|
1527
1529
|
"div",
|
|
1528
1530
|
{
|
|
1529
|
-
className:
|
|
1531
|
+
className: M.optionContainer,
|
|
1530
1532
|
children: [
|
|
1531
|
-
/* @__PURE__ */
|
|
1533
|
+
/* @__PURE__ */ s(
|
|
1532
1534
|
"span",
|
|
1533
1535
|
{
|
|
1534
|
-
className:
|
|
1536
|
+
className: M.customRadious
|
|
1535
1537
|
}
|
|
1536
1538
|
),
|
|
1537
|
-
/* @__PURE__ */
|
|
1539
|
+
/* @__PURE__ */ s("h4", { children: u(f.unit) })
|
|
1538
1540
|
]
|
|
1539
1541
|
},
|
|
1540
|
-
|
|
1542
|
+
_
|
|
1541
1543
|
)) }) }) });
|
|
1542
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1544
|
+
return /* @__PURE__ */ h("div", { className: M.indicatorContainer, children: [
|
|
1543
1545
|
/* @__PURE__ */ h(
|
|
1544
1546
|
"div",
|
|
1545
1547
|
{
|
|
1546
|
-
className:
|
|
1547
|
-
onClick: () =>
|
|
1548
|
+
className: M.indicatorNameContainer,
|
|
1549
|
+
onClick: () => l({ indicator: n }),
|
|
1548
1550
|
children: [
|
|
1549
|
-
/* @__PURE__ */
|
|
1551
|
+
/* @__PURE__ */ s(
|
|
1550
1552
|
"div",
|
|
1551
1553
|
{
|
|
1552
1554
|
style: {
|
|
1553
|
-
border:
|
|
1555
|
+
border: b ? `1px solid ${o}` : `1px solid ${i}`
|
|
1554
1556
|
},
|
|
1555
|
-
className:
|
|
1557
|
+
className: M.dot
|
|
1556
1558
|
}
|
|
1557
1559
|
),
|
|
1558
|
-
/* @__PURE__ */
|
|
1560
|
+
/* @__PURE__ */ s(
|
|
1559
1561
|
"h4",
|
|
1560
1562
|
{
|
|
1561
|
-
className:
|
|
1562
|
-
style: { color:
|
|
1563
|
-
children: /* @__PURE__ */
|
|
1563
|
+
className: M.indicatorName,
|
|
1564
|
+
style: { color: b ? o : i },
|
|
1565
|
+
children: /* @__PURE__ */ s(Me, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1564
1566
|
}
|
|
1565
1567
|
)
|
|
1566
1568
|
]
|
|
1567
1569
|
}
|
|
1568
1570
|
),
|
|
1569
|
-
(t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */
|
|
1570
|
-
(t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */
|
|
1571
|
+
(t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ s("div", { children: C() }),
|
|
1572
|
+
(t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */ s("div", { children: y() })
|
|
1571
1573
|
] });
|
|
1572
1574
|
};
|
|
1573
|
-
|
|
1575
|
+
Le.propTypes = {
|
|
1574
1576
|
indicator: e.shape({
|
|
1575
1577
|
name: e.string,
|
|
1576
1578
|
type: e.string
|
|
@@ -1582,52 +1584,52 @@ Be.propTypes = {
|
|
|
1582
1584
|
multiple: e.bool,
|
|
1583
1585
|
onClickIndicator: e.func
|
|
1584
1586
|
};
|
|
1585
|
-
const
|
|
1586
|
-
indicatorsSubCategory:
|
|
1587
|
-
list:
|
|
1588
|
-
},
|
|
1587
|
+
const r0 = "_indicatorsSubCategory_1dzsi_2", a0 = "_list_1dzsi_8", Ie = {
|
|
1588
|
+
indicatorsSubCategory: r0,
|
|
1589
|
+
list: a0
|
|
1590
|
+
}, nt = ({
|
|
1589
1591
|
subcName: n,
|
|
1590
1592
|
indicators: d,
|
|
1591
|
-
defaultColor:
|
|
1593
|
+
defaultColor: o,
|
|
1592
1594
|
activeColor: i,
|
|
1593
1595
|
activeSubCategory: t,
|
|
1594
1596
|
onClickSubCategory: r,
|
|
1595
|
-
id:
|
|
1597
|
+
id: l,
|
|
1596
1598
|
activeIndicator: a,
|
|
1597
|
-
onClickIndicator:
|
|
1599
|
+
onClickIndicator: c,
|
|
1598
1600
|
multiple: u,
|
|
1599
1601
|
activeIndicatorType: p,
|
|
1600
1602
|
onChangeType: m
|
|
1601
1603
|
}) => {
|
|
1602
|
-
const { t:
|
|
1603
|
-
return
|
|
1604
|
-
C(t ==
|
|
1605
|
-
}, [t,
|
|
1606
|
-
|
|
1604
|
+
const { t: b } = k(), [g, C] = B(!1);
|
|
1605
|
+
return L(() => {
|
|
1606
|
+
C(t == l);
|
|
1607
|
+
}, [t, l]), /* @__PURE__ */ h(
|
|
1608
|
+
Be.div,
|
|
1607
1609
|
{
|
|
1608
|
-
className:
|
|
1610
|
+
className: Ie.indicatorsSubCategory,
|
|
1609
1611
|
initial: { height: "43px" },
|
|
1610
1612
|
animate: { height: g ? "auto" : "43px" },
|
|
1611
1613
|
transition: { duration: 0.4 },
|
|
1612
1614
|
children: [
|
|
1613
|
-
/* @__PURE__ */
|
|
1614
|
-
/* @__PURE__ */
|
|
1615
|
-
/* @__PURE__ */
|
|
1615
|
+
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: g ? i : o }, children: [
|
|
1616
|
+
/* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
|
|
1617
|
+
/* @__PURE__ */ s(
|
|
1616
1618
|
"span",
|
|
1617
1619
|
{
|
|
1618
|
-
style: { marginLeft: 12, color: g ? i :
|
|
1619
|
-
children:
|
|
1620
|
+
style: { marginLeft: 12, color: g ? i : o },
|
|
1621
|
+
children: b(n)
|
|
1620
1622
|
}
|
|
1621
1623
|
)
|
|
1622
1624
|
] }) }),
|
|
1623
|
-
d && /* @__PURE__ */
|
|
1624
|
-
|
|
1625
|
+
d && /* @__PURE__ */ s("div", { className: Ie.list, children: d == null ? void 0 : d.map((y, f) => /* @__PURE__ */ s(
|
|
1626
|
+
Le,
|
|
1625
1627
|
{
|
|
1626
|
-
indicator:
|
|
1627
|
-
defaultColor:
|
|
1628
|
+
indicator: y,
|
|
1629
|
+
defaultColor: o,
|
|
1628
1630
|
activeColor: i,
|
|
1629
1631
|
activeIndicator: a,
|
|
1630
|
-
onClickIndicator:
|
|
1632
|
+
onClickIndicator: c,
|
|
1631
1633
|
multiple: u,
|
|
1632
1634
|
activeIndicatorType: p,
|
|
1633
1635
|
onChangeType: m
|
|
@@ -1638,7 +1640,7 @@ const s0 = "_indicatorsSubCategory_1dzsi_2", o0 = "_list_1dzsi_8", Oe = {
|
|
|
1638
1640
|
}
|
|
1639
1641
|
);
|
|
1640
1642
|
};
|
|
1641
|
-
|
|
1643
|
+
nt.propTypes = {
|
|
1642
1644
|
subcName: e.string,
|
|
1643
1645
|
indicators: e.array,
|
|
1644
1646
|
activeColor: e.string,
|
|
@@ -1650,79 +1652,79 @@ it.propTypes = {
|
|
|
1650
1652
|
onClickSubCategory: e.func,
|
|
1651
1653
|
onClickIndicator: e.func
|
|
1652
1654
|
};
|
|
1653
|
-
const
|
|
1655
|
+
const it = ({
|
|
1654
1656
|
cat: n,
|
|
1655
1657
|
id: d,
|
|
1656
|
-
activeColor:
|
|
1658
|
+
activeColor: o,
|
|
1657
1659
|
defaultColor: i,
|
|
1658
1660
|
onClickCategory: t,
|
|
1659
1661
|
activeCategory: r,
|
|
1660
|
-
activeSubCategory:
|
|
1662
|
+
activeSubCategory: l,
|
|
1661
1663
|
onClickSubCategory: a,
|
|
1662
|
-
activeIndicator:
|
|
1664
|
+
activeIndicator: c,
|
|
1663
1665
|
onClickIndicator: u,
|
|
1664
1666
|
multiple: p,
|
|
1665
1667
|
activeIndicatorType: m,
|
|
1666
|
-
onChangeType:
|
|
1668
|
+
onChangeType: b
|
|
1667
1669
|
}) => {
|
|
1668
1670
|
var f;
|
|
1669
|
-
const { t: g } =
|
|
1670
|
-
return
|
|
1671
|
-
|
|
1671
|
+
const { t: g } = k(), [C, y] = B(!1);
|
|
1672
|
+
return L(() => {
|
|
1673
|
+
y(r === d);
|
|
1672
1674
|
}, [r, d]), /* @__PURE__ */ h(
|
|
1673
|
-
|
|
1675
|
+
Be.div,
|
|
1674
1676
|
{
|
|
1675
|
-
className:
|
|
1677
|
+
className: ge.indicatorsCategory,
|
|
1676
1678
|
initial: { height: "53px" },
|
|
1677
1679
|
animate: { height: C ? "auto" : "53px" },
|
|
1678
1680
|
transition: { duration: 0.4 },
|
|
1679
1681
|
style: {
|
|
1680
1682
|
backgroundColor: "white",
|
|
1681
|
-
borderBottom: C ? `1px solid ${
|
|
1683
|
+
borderBottom: C ? `1px solid ${o}` : "0px",
|
|
1682
1684
|
marginBottom: C ? "20px" : "0px"
|
|
1683
1685
|
},
|
|
1684
1686
|
children: [
|
|
1685
|
-
/* @__PURE__ */ h("h2", { className: `${
|
|
1686
|
-
/* @__PURE__ */
|
|
1687
|
-
/* @__PURE__ */
|
|
1687
|
+
/* @__PURE__ */ h("h2", { className: `${ge.title}`, onClick: () => t(d), children: [
|
|
1688
|
+
/* @__PURE__ */ s("span", { style: { color: C ? o : i }, children: C ? "-" : "+" }),
|
|
1689
|
+
/* @__PURE__ */ s(
|
|
1688
1690
|
"span",
|
|
1689
1691
|
{
|
|
1690
|
-
style: { marginLeft: 12, color: C ?
|
|
1692
|
+
style: { marginLeft: 12, color: C ? o : i },
|
|
1691
1693
|
children: g(n.name)
|
|
1692
1694
|
}
|
|
1693
1695
|
)
|
|
1694
1696
|
] }),
|
|
1695
1697
|
n.subcategories ? n.subcategories.map(
|
|
1696
|
-
({ name:
|
|
1697
|
-
|
|
1698
|
+
({ name: _, subcategory: x, indicators: w }, v) => /* @__PURE__ */ s(
|
|
1699
|
+
nt,
|
|
1698
1700
|
{
|
|
1699
1701
|
id: x,
|
|
1700
|
-
activeSubCategory:
|
|
1701
|
-
subcName:
|
|
1702
|
+
activeSubCategory: l,
|
|
1703
|
+
subcName: _,
|
|
1702
1704
|
onClickSubCategory: a,
|
|
1703
|
-
activeIndicator:
|
|
1705
|
+
activeIndicator: c,
|
|
1704
1706
|
onClickIndicator: u,
|
|
1705
1707
|
multiple: p,
|
|
1706
|
-
activeColor:
|
|
1708
|
+
activeColor: o,
|
|
1707
1709
|
defaultColor: i,
|
|
1708
1710
|
indicators: w,
|
|
1709
1711
|
activeIndicatorType: m,
|
|
1710
|
-
onChangeType:
|
|
1712
|
+
onChangeType: b
|
|
1711
1713
|
},
|
|
1712
|
-
`subcKey ${
|
|
1714
|
+
`subcKey ${v}`
|
|
1713
1715
|
)
|
|
1714
|
-
) : /* @__PURE__ */
|
|
1715
|
-
|
|
1716
|
+
) : /* @__PURE__ */ s("div", { className: ge.list, children: (f = n.indicators) == null ? void 0 : f.map((_, x) => /* @__PURE__ */ s(
|
|
1717
|
+
Le,
|
|
1716
1718
|
{
|
|
1717
|
-
indicator:
|
|
1718
|
-
values:
|
|
1719
|
-
activeColor:
|
|
1719
|
+
indicator: _,
|
|
1720
|
+
values: _.type == "twoUnits" && _.values,
|
|
1721
|
+
activeColor: o,
|
|
1720
1722
|
defaultColor: i,
|
|
1721
|
-
activeIndicator:
|
|
1723
|
+
activeIndicator: c,
|
|
1722
1724
|
onClickIndicator: u,
|
|
1723
1725
|
multiple: p,
|
|
1724
1726
|
activeIndicatorType: m,
|
|
1725
|
-
onChangeType:
|
|
1727
|
+
onChangeType: b
|
|
1726
1728
|
},
|
|
1727
1729
|
`indicator${x}`
|
|
1728
1730
|
)) })
|
|
@@ -1730,7 +1732,7 @@ const st = ({
|
|
|
1730
1732
|
}
|
|
1731
1733
|
);
|
|
1732
1734
|
};
|
|
1733
|
-
|
|
1735
|
+
it.propTypes = {
|
|
1734
1736
|
cat: e.object,
|
|
1735
1737
|
id: e.string,
|
|
1736
1738
|
onChange: e.func,
|
|
@@ -1744,13 +1746,13 @@ st.propTypes = {
|
|
|
1744
1746
|
activeColor: e.string,
|
|
1745
1747
|
defaultColor: e.string
|
|
1746
1748
|
};
|
|
1747
|
-
const
|
|
1748
|
-
indicatorsList:
|
|
1749
|
-
title:
|
|
1750
|
-
},
|
|
1749
|
+
const l0 = "_indicatorsList_fklyu_2", c0 = "_title_fklyu_6", Re = {
|
|
1750
|
+
indicatorsList: l0,
|
|
1751
|
+
title: c0
|
|
1752
|
+
}, d0 = ({
|
|
1751
1753
|
indicators: n,
|
|
1752
1754
|
activeColor: d,
|
|
1753
|
-
defaultColor:
|
|
1755
|
+
defaultColor: o = "#92898A",
|
|
1754
1756
|
// Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
|
|
1755
1757
|
onChange: i,
|
|
1756
1758
|
// Selección multiple
|
|
@@ -1758,79 +1760,79 @@ const r0 = "_indicatorsList_fklyu_2", a0 = "_title_fklyu_6", Re = {
|
|
|
1758
1760
|
// Si multiple es true, debe ser un array de strings, sino un string
|
|
1759
1761
|
defaultValue: r = null,
|
|
1760
1762
|
//si el indicador es tipo "both" cuando se cambia el tipo
|
|
1761
|
-
changeIndType:
|
|
1763
|
+
changeIndType: l,
|
|
1762
1764
|
activeIndicatorType: a
|
|
1763
1765
|
}) => {
|
|
1764
|
-
const { t:
|
|
1765
|
-
p(u ==
|
|
1766
|
-
}, f = (
|
|
1767
|
-
|
|
1768
|
-
},
|
|
1769
|
-
console.log("onClickIndicator: ",
|
|
1770
|
-
}, x = (
|
|
1766
|
+
const { t: c } = k(), [u, p] = B(), [m, b] = B(), [g, C] = B(), y = (v) => {
|
|
1767
|
+
p(u == v ? null : v);
|
|
1768
|
+
}, f = (v) => {
|
|
1769
|
+
b(m == v ? null : v);
|
|
1770
|
+
}, _ = ({ indicator: v }) => {
|
|
1771
|
+
console.log("onClickIndicator: ", v), x(v);
|
|
1772
|
+
}, x = (v) => {
|
|
1771
1773
|
if (!t)
|
|
1772
1774
|
C(
|
|
1773
|
-
(g == null ? void 0 : g.name) ==
|
|
1775
|
+
(g == null ? void 0 : g.name) == v.name ? null : v
|
|
1774
1776
|
);
|
|
1775
1777
|
else {
|
|
1776
1778
|
let S = g && g.length > 0 ? [...g] : [];
|
|
1777
1779
|
C(
|
|
1778
1780
|
S != null && S.some(
|
|
1779
|
-
(
|
|
1781
|
+
(F) => F.name == v.name
|
|
1780
1782
|
) ? S.filter(
|
|
1781
|
-
(
|
|
1782
|
-
) : [...S,
|
|
1783
|
-
),
|
|
1783
|
+
(F) => F.name != String(v.name)
|
|
1784
|
+
) : [...S, v]
|
|
1785
|
+
), v.type == "both" && l("cat");
|
|
1784
1786
|
}
|
|
1785
1787
|
};
|
|
1786
|
-
|
|
1788
|
+
L(() => {
|
|
1787
1789
|
console.log("activeindicator changed to: ", g), i && typeof i == "function" && g && i({ activeIndicator: g });
|
|
1788
|
-
}, [g]),
|
|
1790
|
+
}, [g]), ht(() => {
|
|
1789
1791
|
if (r && !g)
|
|
1790
1792
|
if (t && r && Array.isArray(r)) {
|
|
1791
|
-
let
|
|
1792
|
-
C([...
|
|
1793
|
+
let v = g && g.length > 0 ? [...g] : [];
|
|
1794
|
+
C([...v, ...r]), w(r[0].name);
|
|
1793
1795
|
} else
|
|
1794
1796
|
x(r), w(r.name);
|
|
1795
1797
|
}, []);
|
|
1796
|
-
const w = (
|
|
1797
|
-
const S = n.find((
|
|
1798
|
-
if (
|
|
1799
|
-
let E =
|
|
1800
|
-
(Q) => Q.indicators.find((
|
|
1798
|
+
const w = (v) => {
|
|
1799
|
+
const S = n.find((F) => {
|
|
1800
|
+
if (F.subcategories) {
|
|
1801
|
+
let E = F.subcategories.find(
|
|
1802
|
+
(Q) => Q.indicators.find((ce) => ce.name == v)
|
|
1801
1803
|
);
|
|
1802
1804
|
if (E)
|
|
1803
|
-
return
|
|
1805
|
+
return b(E.subcategory), E;
|
|
1804
1806
|
} else
|
|
1805
|
-
return
|
|
1807
|
+
return F.indicators.some((E) => E.name == v);
|
|
1806
1808
|
});
|
|
1807
1809
|
S && p(S.category);
|
|
1808
1810
|
};
|
|
1809
1811
|
return /* @__PURE__ */ h("div", { className: Re.indicatorsList, children: [
|
|
1810
|
-
/* @__PURE__ */
|
|
1811
|
-
n.map((
|
|
1812
|
-
|
|
1812
|
+
/* @__PURE__ */ s("h2", { className: Re.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1813
|
+
n.map((v, S) => /* @__PURE__ */ s(
|
|
1814
|
+
it,
|
|
1813
1815
|
{
|
|
1814
|
-
id:
|
|
1815
|
-
cat:
|
|
1816
|
-
onClickCategory:
|
|
1816
|
+
id: v.category,
|
|
1817
|
+
cat: v,
|
|
1818
|
+
onClickCategory: y,
|
|
1817
1819
|
activeCategory: u,
|
|
1818
1820
|
onClickSubCategory: f,
|
|
1819
1821
|
activeSubCategory: m,
|
|
1820
|
-
onClickIndicator:
|
|
1822
|
+
onClickIndicator: _,
|
|
1821
1823
|
activeIndicator: g,
|
|
1822
1824
|
activeColor: d,
|
|
1823
|
-
defaultColor:
|
|
1825
|
+
defaultColor: o,
|
|
1824
1826
|
multiple: t,
|
|
1825
1827
|
onChange: i,
|
|
1826
|
-
onChangeType:
|
|
1828
|
+
onChangeType: l,
|
|
1827
1829
|
activeIndicatorType: a
|
|
1828
1830
|
},
|
|
1829
1831
|
`categoryKey${S}`
|
|
1830
1832
|
))
|
|
1831
1833
|
] });
|
|
1832
1834
|
};
|
|
1833
|
-
|
|
1835
|
+
d0.propTypes = {
|
|
1834
1836
|
indicators: e.arrayOf(e.object),
|
|
1835
1837
|
activeColor: e.string,
|
|
1836
1838
|
defaultColor: e.string,
|
|
@@ -1841,43 +1843,43 @@ l0.propTypes = {
|
|
|
1841
1843
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1842
1844
|
activeIndicatorType: e.string
|
|
1843
1845
|
};
|
|
1844
|
-
const
|
|
1845
|
-
langSelector:
|
|
1846
|
-
currentLang:
|
|
1847
|
-
arrow:
|
|
1848
|
-
prevImg:
|
|
1849
|
-
langMenu:
|
|
1850
|
-
},
|
|
1851
|
-
const [i, t] =
|
|
1852
|
-
r.changeLanguage(
|
|
1846
|
+
const u0 = "_langSelector_o9enq_2", p0 = "_currentLang_o9enq_14", m0 = "_arrow_o9enq_26", h0 = "_prevImg_o9enq_29", g0 = "_langMenu_o9enq_33", J = {
|
|
1847
|
+
langSelector: u0,
|
|
1848
|
+
currentLang: p0,
|
|
1849
|
+
arrow: m0,
|
|
1850
|
+
prevImg: h0,
|
|
1851
|
+
langMenu: g0
|
|
1852
|
+
}, C0 = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1853
|
+
const [i, t] = B(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1854
|
+
r.changeLanguage(c), t(!1);
|
|
1853
1855
|
};
|
|
1854
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1856
|
+
return /* @__PURE__ */ h("div", { className: J.langSelector, children: [
|
|
1855
1857
|
/* @__PURE__ */ h(
|
|
1856
1858
|
"div",
|
|
1857
1859
|
{
|
|
1858
|
-
className:
|
|
1860
|
+
className: J.currentLang,
|
|
1859
1861
|
onClick: () => {
|
|
1860
1862
|
t(!i);
|
|
1861
1863
|
},
|
|
1862
1864
|
children: [
|
|
1863
|
-
|
|
1864
|
-
(
|
|
1865
|
-
/* @__PURE__ */
|
|
1865
|
+
o && /* @__PURE__ */ s("img", { className: J.prevImg, src: o }),
|
|
1866
|
+
(l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
|
|
1867
|
+
/* @__PURE__ */ s("img", { src: d, className: J.arrow })
|
|
1866
1868
|
]
|
|
1867
1869
|
}
|
|
1868
1870
|
),
|
|
1869
|
-
i && /* @__PURE__ */
|
|
1871
|
+
i && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1870
1872
|
"button",
|
|
1871
1873
|
{
|
|
1872
|
-
className: (
|
|
1873
|
-
onClick: () => a(
|
|
1874
|
-
children:
|
|
1874
|
+
className: (l == null ? void 0 : l.code) == c.code ? J.active : "",
|
|
1875
|
+
onClick: () => a(c.code),
|
|
1876
|
+
children: c.title
|
|
1875
1877
|
},
|
|
1876
|
-
|
|
1878
|
+
c.code
|
|
1877
1879
|
)) })
|
|
1878
1880
|
] });
|
|
1879
1881
|
};
|
|
1880
|
-
|
|
1882
|
+
C0.propTypes = {
|
|
1881
1883
|
langs: e.arrayOf(
|
|
1882
1884
|
e.shape({
|
|
1883
1885
|
code: e.string,
|
|
@@ -1891,27 +1893,27 @@ h0.propTypes = {
|
|
|
1891
1893
|
arrow: e.object,
|
|
1892
1894
|
imgPrev: e.object
|
|
1893
1895
|
};
|
|
1894
|
-
const
|
|
1895
|
-
legendContainer:
|
|
1896
|
-
closeButton:
|
|
1897
|
-
titleContainer:
|
|
1898
|
-
infoContainer:
|
|
1899
|
-
titleLegendList:
|
|
1900
|
-
legendListContainer:
|
|
1901
|
-
gridContainer:
|
|
1902
|
-
elementLegendContainer:
|
|
1903
|
-
colorDot:
|
|
1904
|
-
absoluteValueContainer:
|
|
1905
|
-
absoluteValueColor:
|
|
1906
|
-
absoluteValueText:
|
|
1907
|
-
moreInfoContainer:
|
|
1908
|
-
},
|
|
1896
|
+
const f0 = "_legendContainer_atg3j_3", b0 = "_closeButton_atg3j_18", y0 = "_titleContainer_atg3j_46", _0 = "_infoContainer_atg3j_52", v0 = "_titleLegendList_atg3j_63", x0 = "_legendListContainer_atg3j_70", w0 = "_gridContainer_atg3j_70", k0 = "_elementLegendContainer_atg3j_76", N0 = "_colorDot_atg3j_82", S0 = "_absoluteValueContainer_atg3j_88", F0 = "_absoluteValueColor_atg3j_91", M0 = "_absoluteValueText_atg3j_96", B0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1897
|
+
legendContainer: f0,
|
|
1898
|
+
closeButton: b0,
|
|
1899
|
+
titleContainer: y0,
|
|
1900
|
+
infoContainer: _0,
|
|
1901
|
+
titleLegendList: v0,
|
|
1902
|
+
legendListContainer: x0,
|
|
1903
|
+
gridContainer: w0,
|
|
1904
|
+
elementLegendContainer: k0,
|
|
1905
|
+
colorDot: N0,
|
|
1906
|
+
absoluteValueContainer: S0,
|
|
1907
|
+
absoluteValueColor: F0,
|
|
1908
|
+
absoluteValueText: M0,
|
|
1909
|
+
moreInfoContainer: B0
|
|
1910
|
+
}, D0 = ({
|
|
1909
1911
|
//JSON with the styles of the container (optional)
|
|
1910
1912
|
containerStyles: n,
|
|
1911
1913
|
//Title on top of the legend
|
|
1912
1914
|
title: d,
|
|
1913
1915
|
//Array to display the info behind the title should have: [{title, value}, ...]
|
|
1914
|
-
infoList:
|
|
1916
|
+
infoList: o,
|
|
1915
1917
|
//Array to display the items of the legend: [{title, color}, ...]
|
|
1916
1918
|
//color should be a string with hexadecimal value
|
|
1917
1919
|
legendList: i,
|
|
@@ -1923,30 +1925,30 @@ const g0 = "_legendContainer_atg3j_3", C0 = "_closeButton_atg3j_18", f0 = "_titl
|
|
|
1923
1925
|
absoluteValue: r,
|
|
1924
1926
|
//Function to be called when the button is clicked (optional).
|
|
1925
1927
|
//If this is null or undefined the button wont be displayed.
|
|
1926
|
-
onClickMoreInfo:
|
|
1928
|
+
onClickMoreInfo: l,
|
|
1927
1929
|
//If not passed it will read t("moreInformation")
|
|
1928
1930
|
buttonTitle: a,
|
|
1929
|
-
onClickClose:
|
|
1931
|
+
onClickClose: c
|
|
1930
1932
|
}) => {
|
|
1931
|
-
const { t: u } =
|
|
1933
|
+
const { t: u } = k();
|
|
1932
1934
|
return /* @__PURE__ */ h(
|
|
1933
1935
|
"div",
|
|
1934
1936
|
{
|
|
1935
1937
|
style: n ? { ...n } : {},
|
|
1936
1938
|
className: `${V.legendContainer}`,
|
|
1937
1939
|
children: [
|
|
1938
|
-
/* @__PURE__ */
|
|
1939
|
-
d && /* @__PURE__ */
|
|
1940
|
-
|
|
1941
|
-
/* @__PURE__ */
|
|
1940
|
+
/* @__PURE__ */ s("button", { className: V.closeButton, onClick: c }),
|
|
1941
|
+
d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1942
|
+
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: m }) => /* @__PURE__ */ h("li", { children: [
|
|
1943
|
+
/* @__PURE__ */ s("h3", { className: V.title, children: `${p}:` }),
|
|
1942
1944
|
/* @__PURE__ */ h("span", { className: V.value, children: [
|
|
1943
1945
|
" ",
|
|
1944
1946
|
m
|
|
1945
1947
|
] })
|
|
1946
1948
|
] }, d)) }) }),
|
|
1947
|
-
/* @__PURE__ */
|
|
1948
|
-
/* @__PURE__ */
|
|
1949
|
-
/* @__PURE__ */
|
|
1949
|
+
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Me, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1950
|
+
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1951
|
+
/* @__PURE__ */ s(
|
|
1950
1952
|
"div",
|
|
1951
1953
|
{
|
|
1952
1954
|
className: V.absoluteValueColor,
|
|
@@ -1967,9 +1969,9 @@ const g0 = "_legendContainer_atg3j_3", C0 = "_closeButton_atg3j_18", f0 = "_titl
|
|
|
1967
1969
|
u(r.unit)
|
|
1968
1970
|
] })
|
|
1969
1971
|
] })
|
|
1970
|
-
] }) : i && i.length > 0 && /* @__PURE__ */
|
|
1972
|
+
] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
|
|
1971
1973
|
({ title: p, color: m }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
|
|
1972
|
-
/* @__PURE__ */
|
|
1974
|
+
/* @__PURE__ */ s(
|
|
1973
1975
|
"div",
|
|
1974
1976
|
{
|
|
1975
1977
|
className: V.colorDot,
|
|
@@ -1982,12 +1984,12 @@ const g0 = "_legendContainer_atg3j_3", C0 = "_closeButton_atg3j_18", f0 = "_titl
|
|
|
1982
1984
|
] })
|
|
1983
1985
|
] }, d)
|
|
1984
1986
|
) }) }),
|
|
1985
|
-
|
|
1987
|
+
l && /* @__PURE__ */ s("button", { className: V.moreInfoContainer, onClick: l, children: a || u("moreInformation") })
|
|
1986
1988
|
]
|
|
1987
1989
|
}
|
|
1988
1990
|
);
|
|
1989
1991
|
};
|
|
1990
|
-
|
|
1992
|
+
D0.propTypes = {
|
|
1991
1993
|
title: e.string,
|
|
1992
1994
|
containerStyles: e.object,
|
|
1993
1995
|
infoList: e.arrayOf(
|
|
@@ -2013,64 +2015,64 @@ F0.propTypes = {
|
|
|
2013
2015
|
buttonTitle: e.string,
|
|
2014
2016
|
onClickClose: e.func
|
|
2015
2017
|
};
|
|
2016
|
-
const
|
|
2017
|
-
logo:
|
|
2018
|
-
},
|
|
2019
|
-
const { t: i } =
|
|
2020
|
-
return
|
|
2018
|
+
const L0 = "_logo_1ewa6_2", Ee = {
|
|
2019
|
+
logo: L0
|
|
2020
|
+
}, T0 = ({ src: n, alt: d, href: o }) => {
|
|
2021
|
+
const { t: i } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
|
|
2022
|
+
return o ? /* @__PURE__ */ s("div", { className: Ee.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: Ee.logo, children: t });
|
|
2021
2023
|
};
|
|
2022
|
-
|
|
2024
|
+
T0.propTypes = {
|
|
2023
2025
|
src: e.string.isRequired,
|
|
2024
2026
|
alt: e.string.isRequired,
|
|
2025
2027
|
href: e.string,
|
|
2026
2028
|
className: e.string
|
|
2027
2029
|
};
|
|
2028
|
-
const
|
|
2029
|
-
mapContainer:
|
|
2030
|
+
const V0 = "_mapContainer_84pkf_2", $0 = {
|
|
2031
|
+
mapContainer: V0
|
|
2030
2032
|
};
|
|
2031
|
-
|
|
2032
|
-
const
|
|
2033
|
+
Ct.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2034
|
+
const A0 = ({
|
|
2033
2035
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2034
2036
|
maxZoom: d = 17,
|
|
2035
|
-
minZoom:
|
|
2037
|
+
minZoom: o = 8,
|
|
2036
2038
|
mapStyle: i,
|
|
2037
2039
|
firstSymbolLayer: t,
|
|
2038
2040
|
cssProps: r = "",
|
|
2039
|
-
onClick:
|
|
2041
|
+
onClick: l = "",
|
|
2040
2042
|
interactiveLayers: a = [],
|
|
2041
|
-
popUp:
|
|
2043
|
+
popUp: c = !1,
|
|
2042
2044
|
sources: u = [],
|
|
2043
2045
|
layers: p = []
|
|
2044
2046
|
}) => {
|
|
2045
|
-
const m =
|
|
2046
|
-
return
|
|
2047
|
+
const m = Fe(), [b, g] = B(null), C = ft((y) => y.mapState.showTexts);
|
|
2048
|
+
return L(() => {
|
|
2047
2049
|
if (m.current) {
|
|
2048
|
-
const
|
|
2049
|
-
|
|
2050
|
-
|
|
2050
|
+
const y = m.current.getMap();
|
|
2051
|
+
y.getStyle().layers.map((_) => {
|
|
2052
|
+
_.type == "symbol" && _.id != "professionals" && (C ? y.setLayoutProperty(_.id, "visibility", "visible") : y.setLayoutProperty(_.id, "visibility", "none"));
|
|
2051
2053
|
});
|
|
2052
2054
|
}
|
|
2053
|
-
}, [C]), /* @__PURE__ */
|
|
2054
|
-
|
|
2055
|
+
}, [C]), /* @__PURE__ */ s("div", { className: `${$0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2056
|
+
yt,
|
|
2055
2057
|
{
|
|
2056
2058
|
initialViewState: n,
|
|
2057
2059
|
ref: m,
|
|
2058
2060
|
hash: !1,
|
|
2059
2061
|
maxZoom: d,
|
|
2060
|
-
minZoom:
|
|
2062
|
+
minZoom: o,
|
|
2061
2063
|
mapStyle: i,
|
|
2062
|
-
onClick:
|
|
2064
|
+
onClick: l,
|
|
2063
2065
|
interactiveLayerIds: a,
|
|
2064
2066
|
children: [
|
|
2065
|
-
u.length && u.map((
|
|
2066
|
-
|
|
2067
|
+
u.length && u.map((y, f) => /* @__PURE__ */ s(
|
|
2068
|
+
_t,
|
|
2067
2069
|
{
|
|
2068
|
-
...
|
|
2069
|
-
children: p.length && p.map((
|
|
2070
|
-
if (
|
|
2070
|
+
...y,
|
|
2071
|
+
children: p.length && p.map((_, x) => {
|
|
2072
|
+
if (_.sourceId == y.id) return /* @__PURE__ */ s(
|
|
2071
2073
|
vt,
|
|
2072
2074
|
{
|
|
2073
|
-
...
|
|
2075
|
+
..._.layer,
|
|
2074
2076
|
beforeId: t
|
|
2075
2077
|
},
|
|
2076
2078
|
x
|
|
@@ -2079,22 +2081,22 @@ const V0 = ({
|
|
|
2079
2081
|
},
|
|
2080
2082
|
f
|
|
2081
2083
|
)),
|
|
2082
|
-
/* @__PURE__ */
|
|
2083
|
-
|
|
2084
|
-
|
|
2084
|
+
/* @__PURE__ */ s(xt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2085
|
+
c && b && /* @__PURE__ */ s(
|
|
2086
|
+
wt,
|
|
2085
2087
|
{
|
|
2086
|
-
longitude:
|
|
2087
|
-
latitude:
|
|
2088
|
-
anchor:
|
|
2088
|
+
longitude: c.longitude,
|
|
2089
|
+
latitude: c.latitude,
|
|
2090
|
+
anchor: c.anchor,
|
|
2089
2091
|
onClose: () => g(null),
|
|
2090
|
-
children:
|
|
2092
|
+
children: c.content
|
|
2091
2093
|
}
|
|
2092
2094
|
)
|
|
2093
2095
|
]
|
|
2094
2096
|
}
|
|
2095
2097
|
) });
|
|
2096
2098
|
};
|
|
2097
|
-
|
|
2099
|
+
A0.propTypes = {
|
|
2098
2100
|
initialView: e.shape({
|
|
2099
2101
|
latitude: e.number.isRequired,
|
|
2100
2102
|
longitude: e.number.isRequired,
|
|
@@ -2139,74 +2141,74 @@ V0.propTypes = {
|
|
|
2139
2141
|
})
|
|
2140
2142
|
)
|
|
2141
2143
|
};
|
|
2142
|
-
const
|
|
2143
|
-
mapContainer:
|
|
2144
|
-
},
|
|
2145
|
-
FeaturePopUp:
|
|
2146
|
-
title:
|
|
2147
|
-
},
|
|
2148
|
-
const { t: d } =
|
|
2149
|
-
return /* @__PURE__ */
|
|
2144
|
+
const O0 = "_mapContainer_b0pyr_3", I0 = {
|
|
2145
|
+
mapContainer: O0
|
|
2146
|
+
}, R0 = "_FeaturePopUp_1gd6w_2", E0 = "_title_1gd6w_2", Pe = {
|
|
2147
|
+
FeaturePopUp: R0,
|
|
2148
|
+
title: E0
|
|
2149
|
+
}, P0 = ({ props: n }) => {
|
|
2150
|
+
const { t: d } = k();
|
|
2151
|
+
return /* @__PURE__ */ s("div", { className: Pe.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2150
2152
|
/* @__PURE__ */ h("span", { className: Pe.title, children: [
|
|
2151
|
-
/* @__PURE__ */
|
|
2153
|
+
/* @__PURE__ */ s(Me, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
|
|
2152
2154
|
": "
|
|
2153
2155
|
] }),
|
|
2154
|
-
|
|
2156
|
+
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2155
2157
|
" ",
|
|
2156
|
-
d(
|
|
2158
|
+
d(o.unit)
|
|
2157
2159
|
] })) });
|
|
2158
|
-
},
|
|
2160
|
+
}, j0 = ({
|
|
2159
2161
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2160
2162
|
maxZoom: d = 17,
|
|
2161
|
-
minZoom:
|
|
2163
|
+
minZoom: o = 8,
|
|
2162
2164
|
mapStyle: i,
|
|
2163
2165
|
firstSymbolLayer: t,
|
|
2164
2166
|
cssProps: r = {},
|
|
2165
|
-
onClick:
|
|
2167
|
+
onClick: l = "",
|
|
2166
2168
|
interactiveLayers: a = [],
|
|
2167
|
-
sources:
|
|
2169
|
+
sources: c = [],
|
|
2168
2170
|
layers: u = [],
|
|
2169
2171
|
filters: p,
|
|
2170
2172
|
popUpParams: m,
|
|
2171
|
-
onClosePopUp:
|
|
2173
|
+
onClosePopUp: b,
|
|
2172
2174
|
showTexts: g
|
|
2173
2175
|
}) => {
|
|
2174
2176
|
console.log(p);
|
|
2175
|
-
const C =
|
|
2176
|
-
return
|
|
2177
|
+
const C = Fe();
|
|
2178
|
+
return L(() => {
|
|
2177
2179
|
if (C.current) {
|
|
2178
|
-
const
|
|
2179
|
-
|
|
2180
|
-
|
|
2180
|
+
const y = C.current.getMap();
|
|
2181
|
+
y.getStyle().layers.map((_) => {
|
|
2182
|
+
_.type == "symbol" && _.id != "professionals" && (g ? y.setLayoutProperty(_.id, "visibility", "visible") : y.setLayoutProperty(_.id, "visibility", "none"));
|
|
2181
2183
|
});
|
|
2182
2184
|
}
|
|
2183
|
-
}, [g]),
|
|
2184
|
-
let
|
|
2185
|
-
return
|
|
2186
|
-
|
|
2185
|
+
}, [g]), L(() => {
|
|
2186
|
+
let y = new kt();
|
|
2187
|
+
return ue.addProtocol("pmtiles", y.tile), () => {
|
|
2188
|
+
ue.removeProtocol("pmtiles");
|
|
2187
2189
|
};
|
|
2188
|
-
}, []), /* @__PURE__ */
|
|
2189
|
-
|
|
2190
|
+
}, []), /* @__PURE__ */ s("div", { className: `${I0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2191
|
+
Nt,
|
|
2190
2192
|
{
|
|
2191
|
-
mapLib:
|
|
2193
|
+
mapLib: ue,
|
|
2192
2194
|
initialViewState: n,
|
|
2193
2195
|
ref: C,
|
|
2194
2196
|
hash: !1,
|
|
2195
2197
|
maxZoom: d,
|
|
2196
|
-
minZoom:
|
|
2198
|
+
minZoom: o,
|
|
2197
2199
|
mapStyle: i,
|
|
2198
|
-
onClick:
|
|
2200
|
+
onClick: l,
|
|
2199
2201
|
interactiveLayerIds: a,
|
|
2200
2202
|
children: [
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
+
c.length && c.map((y, f) => /* @__PURE__ */ s(
|
|
2204
|
+
St,
|
|
2203
2205
|
{
|
|
2204
|
-
...
|
|
2205
|
-
children: u.length && u.map((
|
|
2206
|
-
if (
|
|
2207
|
-
|
|
2206
|
+
...y,
|
|
2207
|
+
children: u.length && u.map((_, x) => {
|
|
2208
|
+
if (_.sourceId == y.id) return /* @__PURE__ */ s(
|
|
2209
|
+
Ft,
|
|
2208
2210
|
{
|
|
2209
|
-
...
|
|
2211
|
+
..._.layer,
|
|
2210
2212
|
beforeId: t,
|
|
2211
2213
|
filter: p && p
|
|
2212
2214
|
},
|
|
@@ -2216,21 +2218,21 @@ const $0 = "_mapContainer_b0pyr_3", A0 = {
|
|
|
2216
2218
|
},
|
|
2217
2219
|
f
|
|
2218
2220
|
)),
|
|
2219
|
-
/* @__PURE__ */
|
|
2220
|
-
m && /* @__PURE__ */
|
|
2221
|
-
|
|
2221
|
+
/* @__PURE__ */ s(Mt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2222
|
+
m && /* @__PURE__ */ s(
|
|
2223
|
+
Bt,
|
|
2222
2224
|
{
|
|
2223
2225
|
longitude: m.lng,
|
|
2224
2226
|
latitude: m.lat,
|
|
2225
|
-
onClose:
|
|
2226
|
-
children: /* @__PURE__ */
|
|
2227
|
+
onClose: b,
|
|
2228
|
+
children: /* @__PURE__ */ s(P0, { props: m.props })
|
|
2227
2229
|
}
|
|
2228
2230
|
)
|
|
2229
2231
|
]
|
|
2230
2232
|
}
|
|
2231
2233
|
) });
|
|
2232
2234
|
};
|
|
2233
|
-
|
|
2235
|
+
j0.propTypes = {
|
|
2234
2236
|
initialView: e.shape({
|
|
2235
2237
|
latitude: e.number.isRequired,
|
|
2236
2238
|
longitude: e.number.isRequired,
|
|
@@ -2273,33 +2275,33 @@ E0.propTypes = {
|
|
|
2273
2275
|
popUpParams: e.object,
|
|
2274
2276
|
onClosePopUp: e.func
|
|
2275
2277
|
};
|
|
2276
|
-
const
|
|
2277
|
-
sectionBar:
|
|
2278
|
-
leftContent:
|
|
2279
|
-
textContainer:
|
|
2280
|
-
title:
|
|
2281
|
-
subtitle:
|
|
2282
|
-
rightContent:
|
|
2283
|
-
},
|
|
2278
|
+
const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textContainer_1egwc_20", H0 = "_title_1egwc_27", K0 = "_subtitle_1egwc_33", U0 = "_rightContent_1egwc_38", H = {
|
|
2279
|
+
sectionBar: q0,
|
|
2280
|
+
leftContent: z0,
|
|
2281
|
+
textContainer: Z0,
|
|
2282
|
+
title: H0,
|
|
2283
|
+
subtitle: K0,
|
|
2284
|
+
rightContent: U0
|
|
2285
|
+
}, On = ({
|
|
2284
2286
|
leftIcon: n,
|
|
2285
2287
|
title: d,
|
|
2286
|
-
subtitle:
|
|
2288
|
+
subtitle: o,
|
|
2287
2289
|
rightContent: i,
|
|
2288
2290
|
mainColor: t,
|
|
2289
2291
|
width: r
|
|
2290
2292
|
}) => {
|
|
2291
|
-
const { t:
|
|
2293
|
+
const { t: l } = k();
|
|
2292
2294
|
return /* @__PURE__ */ h("div", { className: H.sectionBar, style: { width: r && r }, children: [
|
|
2293
2295
|
/* @__PURE__ */ h("div", { className: H.leftContent, children: [
|
|
2294
|
-
n && /* @__PURE__ */
|
|
2296
|
+
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
|
|
2295
2297
|
/* @__PURE__ */ h("div", { className: H.textContainer, children: [
|
|
2296
|
-
/* @__PURE__ */
|
|
2297
|
-
|
|
2298
|
+
/* @__PURE__ */ s("div", { className: H.title, children: l(d) }),
|
|
2299
|
+
o && /* @__PURE__ */ s("div", { className: H.subtitle, children: o })
|
|
2298
2300
|
] })
|
|
2299
2301
|
] }),
|
|
2300
|
-
/* @__PURE__ */
|
|
2302
|
+
/* @__PURE__ */ s("div", { className: H.rightContent, children: i })
|
|
2301
2303
|
] });
|
|
2302
|
-
},
|
|
2304
|
+
}, G0 = Dt({
|
|
2303
2305
|
name: "mapSlice",
|
|
2304
2306
|
initialState: {
|
|
2305
2307
|
showTexts: !0,
|
|
@@ -2325,36 +2327,36 @@ const P0 = "_sectionBar_1egwc_2", q0 = "_leftContent_1egwc_14", z0 = "_textConta
|
|
|
2325
2327
|
n.activeIndicatorUnit = d.payload;
|
|
2326
2328
|
}
|
|
2327
2329
|
}
|
|
2328
|
-
}), { setShowTexts:
|
|
2329
|
-
slider:
|
|
2330
|
-
playButton:
|
|
2331
|
-
sliderOpen:
|
|
2332
|
-
sliderResults:
|
|
2333
|
-
},
|
|
2334
|
-
const [
|
|
2335
|
-
a(x),
|
|
2336
|
-
}, [p, m] =
|
|
2330
|
+
}), { setShowTexts: In, setYear: Ce, setActiveIndicatorKey: Rn, setActiveIndicatorType: En, setActiveIndicatorUnit: Pn } = G0.actions, Y0 = "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", W0 = "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", J0 = "_slider_a19yo_2", X0 = "_playButton_a19yo_17", Q0 = "_sliderOpen_a19yo_28", e1 = "_sliderResults_a19yo_32", te = {
|
|
2331
|
+
slider: J0,
|
|
2332
|
+
playButton: X0,
|
|
2333
|
+
sliderOpen: Q0,
|
|
2334
|
+
sliderResults: e1
|
|
2335
|
+
}, t1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2336
|
+
const [l, a] = B(d), c = bt(), u = (_, x) => {
|
|
2337
|
+
a(x), c(Ce(x - 2e3));
|
|
2338
|
+
}, [p, m] = B(!1), b = () => {
|
|
2337
2339
|
m(!0);
|
|
2338
2340
|
}, g = () => {
|
|
2339
2341
|
m(!1);
|
|
2340
2342
|
};
|
|
2341
|
-
((
|
|
2342
|
-
const w =
|
|
2343
|
-
|
|
2344
|
-
w.current =
|
|
2345
|
-
}, [
|
|
2346
|
-
function
|
|
2343
|
+
((_, x) => {
|
|
2344
|
+
const w = Fe();
|
|
2345
|
+
L(() => {
|
|
2346
|
+
w.current = _;
|
|
2347
|
+
}, [_]), L(() => {
|
|
2348
|
+
function v() {
|
|
2347
2349
|
w.current();
|
|
2348
2350
|
}
|
|
2349
2351
|
{
|
|
2350
|
-
let S = setInterval(
|
|
2352
|
+
let S = setInterval(v, x);
|
|
2351
2353
|
return () => clearInterval(S);
|
|
2352
2354
|
}
|
|
2353
2355
|
}, [x]);
|
|
2354
2356
|
})(() => {
|
|
2355
|
-
p && (
|
|
2357
|
+
p && (l != 2050 ? (a(l + 1), c(Ce(l - 2e3 + 1))) : (a(2025), c(Ce(25))));
|
|
2356
2358
|
}, 1e3);
|
|
2357
|
-
const
|
|
2359
|
+
const y = Tt({
|
|
2358
2360
|
palette: {
|
|
2359
2361
|
primary: {
|
|
2360
2362
|
main: "#605b56"
|
|
@@ -2382,23 +2384,23 @@ const P0 = "_sectionBar_1egwc_2", q0 = "_leftContent_1egwc_14", z0 = "_textConta
|
|
|
2382
2384
|
{ label: "", value: 2041 },
|
|
2383
2385
|
{ label: "", value: 2050 }
|
|
2384
2386
|
];
|
|
2385
|
-
return /* @__PURE__ */
|
|
2386
|
-
|
|
2387
|
+
return /* @__PURE__ */ s($t, { theme: y, children: /* @__PURE__ */ h(
|
|
2388
|
+
Vt,
|
|
2387
2389
|
{
|
|
2388
2390
|
sx: { width: 400 },
|
|
2389
2391
|
className: `${n ? te.sliderResults : te.slider} ${r ? te.sliderOpen : ""}`,
|
|
2390
2392
|
style: { zIndex: t },
|
|
2391
2393
|
children: [
|
|
2392
|
-
|
|
2393
|
-
/* @__PURE__ */
|
|
2394
|
-
|
|
2394
|
+
o,
|
|
2395
|
+
/* @__PURE__ */ s(
|
|
2396
|
+
Lt,
|
|
2395
2397
|
{
|
|
2396
2398
|
"aria-label": "TimeSlider",
|
|
2397
|
-
value:
|
|
2399
|
+
value: l,
|
|
2398
2400
|
valueLabelDisplay: "on",
|
|
2399
2401
|
step: 1,
|
|
2400
2402
|
marks: f,
|
|
2401
|
-
min:
|
|
2403
|
+
min: o,
|
|
2402
2404
|
max: i,
|
|
2403
2405
|
onChange: u,
|
|
2404
2406
|
color: "primary",
|
|
@@ -2406,13 +2408,13 @@ const P0 = "_sectionBar_1egwc_2", q0 = "_leftContent_1egwc_14", z0 = "_textConta
|
|
|
2406
2408
|
}
|
|
2407
2409
|
),
|
|
2408
2410
|
i,
|
|
2409
|
-
!p && /* @__PURE__ */
|
|
2410
|
-
p && /* @__PURE__ */
|
|
2411
|
+
!p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: b, children: /* @__PURE__ */ s("img", { src: Y0, alt: "Play" }) }),
|
|
2412
|
+
p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: g, children: /* @__PURE__ */ s("img", { src: W0, alt: "Pause" }) })
|
|
2411
2413
|
]
|
|
2412
2414
|
}
|
|
2413
2415
|
) });
|
|
2414
2416
|
};
|
|
2415
|
-
|
|
2417
|
+
t1.propTypes = {
|
|
2416
2418
|
defaultYear: e.number,
|
|
2417
2419
|
onResults: e.bool,
|
|
2418
2420
|
firstYear: e.number,
|
|
@@ -2420,32 +2422,32 @@ Q0.propTypes = {
|
|
|
2420
2422
|
zIndex: e.number,
|
|
2421
2423
|
rightBarOpen: e.bool
|
|
2422
2424
|
};
|
|
2423
|
-
const
|
|
2424
|
-
TopNavMenuContainer:
|
|
2425
|
-
topNavOptions:
|
|
2426
|
-
active:
|
|
2427
|
-
},
|
|
2425
|
+
const n1 = "_TopNavMenuContainer_12mp4_2", i1 = "_topNavOptions_12mp4_13", o1 = "_active_12mp4_27", fe = {
|
|
2426
|
+
TopNavMenuContainer: n1,
|
|
2427
|
+
topNavOptions: i1,
|
|
2428
|
+
active: o1
|
|
2429
|
+
}, s1 = ({
|
|
2428
2430
|
options: n = [],
|
|
2429
2431
|
containerStyles: d,
|
|
2430
|
-
borderColor:
|
|
2432
|
+
borderColor: o = "red",
|
|
2431
2433
|
textColor: i = "white"
|
|
2432
2434
|
}) => {
|
|
2433
|
-
const { t } =
|
|
2434
|
-
return /* @__PURE__ */
|
|
2435
|
-
|
|
2435
|
+
const { t } = k();
|
|
2436
|
+
return /* @__PURE__ */ s("div", { className: fe.TopNavMenuContainer, style: { ...d }, children: n.map((r, l) => /* @__PURE__ */ s(
|
|
2437
|
+
At,
|
|
2436
2438
|
{
|
|
2437
2439
|
to: r.url,
|
|
2438
|
-
className: ({ isActive: a }) => `${
|
|
2440
|
+
className: ({ isActive: a }) => `${fe.topNavOptions} ${a ? fe.active : ""} `,
|
|
2439
2441
|
style: ({ isActive: a }) => ({
|
|
2440
2442
|
color: i,
|
|
2441
|
-
borderBottom: a ? `5px solid ${
|
|
2443
|
+
borderBottom: a ? `5px solid ${o}` : "5px solid transparent"
|
|
2442
2444
|
}),
|
|
2443
2445
|
children: t(r.name)
|
|
2444
2446
|
},
|
|
2445
|
-
|
|
2447
|
+
l
|
|
2446
2448
|
)) });
|
|
2447
2449
|
};
|
|
2448
|
-
|
|
2450
|
+
s1.propTypes = {
|
|
2449
2451
|
options: e.arrayOf(e.object),
|
|
2450
2452
|
cssProps: e.shape({
|
|
2451
2453
|
borderColor: e.string.isRequired,
|
|
@@ -2455,193 +2457,199 @@ i1.propTypes = {
|
|
|
2455
2457
|
// activeColor: PropTypes.string,
|
|
2456
2458
|
// defaultColor: PropTypes.string
|
|
2457
2459
|
};
|
|
2458
|
-
const
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2460
|
+
const r1 = "_LogInButton_1vxj5_2", a1 = {
|
|
2461
|
+
LogInButton: r1
|
|
2462
|
+
}, l1 = ({
|
|
2463
|
+
cssClass: n,
|
|
2464
|
+
notLoggedInLabel: d = "Log in",
|
|
2465
|
+
loggedInLabel: o = "Log out",
|
|
2466
|
+
containerStyles: i,
|
|
2467
|
+
userName: t = "",
|
|
2468
|
+
isLoggedIn: r = !1,
|
|
2469
|
+
onClickLogIn: l = () => {
|
|
2470
|
+
console.log("Login clicked");
|
|
2467
2471
|
},
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
n.showLogIn = d.payload;
|
|
2471
|
-
},
|
|
2472
|
-
setShowUserMenu: (n, d) => {
|
|
2473
|
-
n.showUserMenu = d.payload;
|
|
2474
|
-
}
|
|
2472
|
+
onClickLogOut: a = () => {
|
|
2473
|
+
console.log("Logout clicked");
|
|
2475
2474
|
}
|
|
2476
|
-
}), { setShowLogIn: o1, setShowUserMenu: r1 } = s1.actions, a1 = "_UserMenuTrigger_uglss_2", l1 = {
|
|
2477
|
-
UserMenuTrigger: a1
|
|
2478
|
-
}, c1 = ({
|
|
2479
|
-
cssClass: n,
|
|
2480
|
-
loginLocale: d = "login",
|
|
2481
|
-
containerStyles: s
|
|
2482
2475
|
}) => {
|
|
2483
|
-
const
|
|
2484
|
-
|
|
2485
|
-
};
|
|
2486
|
-
return /* @__PURE__ */ o(
|
|
2476
|
+
const { t: c } = k();
|
|
2477
|
+
return /* @__PURE__ */ s(
|
|
2487
2478
|
"div",
|
|
2488
2479
|
{
|
|
2489
|
-
style: { ...
|
|
2490
|
-
className: `${
|
|
2491
|
-
onClick: a,
|
|
2492
|
-
children:
|
|
2480
|
+
style: { ...i },
|
|
2481
|
+
className: `${a1.LogInButton} link ${n}`,
|
|
2482
|
+
onClick: r ? a : l,
|
|
2483
|
+
children: r ? t || c(o) : c(d)
|
|
2493
2484
|
}
|
|
2494
2485
|
);
|
|
2495
2486
|
};
|
|
2496
|
-
|
|
2497
|
-
onClickLoggedIn: e.func.isRequired,
|
|
2498
|
-
onClickLoggedOut: e.func.isRequired,
|
|
2499
|
-
log: e.bool,
|
|
2500
|
-
name: e.string,
|
|
2487
|
+
l1.propTypes = {
|
|
2501
2488
|
cssClass: e.string,
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2489
|
+
notLoggedInLabel: e.string,
|
|
2490
|
+
loggedInLabel: e.string,
|
|
2491
|
+
containerStyles: e.object,
|
|
2492
|
+
userName: e.string,
|
|
2493
|
+
isLoggedIn: e.bool
|
|
2494
|
+
};
|
|
2495
|
+
const c1 = "_elementSelector_fd7az_2", d1 = "_header_fd7az_13", u1 = "_nameDateContainer_fd7az_23", p1 = "_elementName_fd7az_39", m1 = "_elementDate_fd7az_53", h1 = "_buttonsContainer_fd7az_67", g1 = "_elementListContainer_fd7az_76", C1 = "_newElementButtonContainer_fd7az_80", I = {
|
|
2496
|
+
elementSelector: c1,
|
|
2497
|
+
header: d1,
|
|
2498
|
+
nameDateContainer: u1,
|
|
2499
|
+
elementName: p1,
|
|
2500
|
+
elementDate: m1,
|
|
2501
|
+
buttonsContainer: h1,
|
|
2502
|
+
elementListContainer: g1,
|
|
2503
|
+
newElementButtonContainer: C1
|
|
2504
|
+
}, f1 = "_listElement_1s506_2", b1 = "_elementNameDate_1s506_17", y1 = "_elementNameContainer_1s506_27", _1 = "_elementName_1s506_17", v1 = "_elementDate_1s506_42", x1 = "_elementButtons_1s506_45", w1 = "_moreInfoContainer_1s506_68", k1 = "_moreInfo_1s506_68", O = {
|
|
2505
|
+
listElement: f1,
|
|
2506
|
+
elementNameDate: b1,
|
|
2507
|
+
elementNameContainer: y1,
|
|
2517
2508
|
elementName: _1,
|
|
2518
|
-
elementDate:
|
|
2519
|
-
elementButtons:
|
|
2509
|
+
elementDate: v1,
|
|
2510
|
+
elementButtons: x1,
|
|
2520
2511
|
break: "_break_1s506_63",
|
|
2521
|
-
moreInfoContainer:
|
|
2522
|
-
moreInfo:
|
|
2523
|
-
}, S1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", M1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", F1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", D1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", L1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2524
|
-
var
|
|
2525
|
-
function
|
|
2526
|
-
return
|
|
2512
|
+
moreInfoContainer: w1,
|
|
2513
|
+
moreInfo: k1
|
|
2514
|
+
}, N1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", S1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", F1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", M1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2515
|
+
var je;
|
|
2516
|
+
function Ne() {
|
|
2517
|
+
return Ne = Object.assign ? Object.assign.bind() : function(n) {
|
|
2527
2518
|
for (var d = 1; d < arguments.length; d++) {
|
|
2528
|
-
var
|
|
2529
|
-
for (var i in
|
|
2519
|
+
var o = arguments[d];
|
|
2520
|
+
for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
2530
2521
|
}
|
|
2531
2522
|
return n;
|
|
2532
|
-
},
|
|
2523
|
+
}, Ne.apply(null, arguments);
|
|
2533
2524
|
}
|
|
2534
|
-
var
|
|
2535
|
-
return /* @__PURE__ */
|
|
2525
|
+
var D1 = function(d) {
|
|
2526
|
+
return /* @__PURE__ */ X.createElement("svg", Ne({
|
|
2536
2527
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2537
2528
|
width: 26,
|
|
2538
2529
|
height: 14,
|
|
2539
2530
|
fill: "none"
|
|
2540
|
-
}, d),
|
|
2531
|
+
}, d), je || (je = /* @__PURE__ */ X.createElement("g", {
|
|
2541
2532
|
fill: "currentColor"
|
|
2542
|
-
}, /* @__PURE__ */
|
|
2533
|
+
}, /* @__PURE__ */ X.createElement("path", {
|
|
2543
2534
|
d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
|
|
2544
|
-
}), /* @__PURE__ */
|
|
2535
|
+
}), /* @__PURE__ */ X.createElement("path", {
|
|
2545
2536
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2546
2537
|
}))));
|
|
2547
2538
|
};
|
|
2548
|
-
const
|
|
2549
|
-
|
|
2539
|
+
const L1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ot = ({
|
|
2540
|
+
listelement: n,
|
|
2550
2541
|
onClickElement: d,
|
|
2551
|
-
isActive:
|
|
2542
|
+
isActive: o,
|
|
2552
2543
|
activeColor: i,
|
|
2553
2544
|
fontColor: t,
|
|
2554
2545
|
moreInfo: r,
|
|
2555
|
-
columns:
|
|
2546
|
+
columns: l,
|
|
2556
2547
|
elementButtons: a,
|
|
2557
|
-
processTooltip:
|
|
2548
|
+
processTooltip: c,
|
|
2558
2549
|
defaultTooltip: u
|
|
2559
2550
|
}) => {
|
|
2560
|
-
const { nom: p, created_at: m, id:
|
|
2551
|
+
const { nom: p, created_at: m, id: b, isBeingProcessed: g } = n, [C, y] = B(!1), { t: f } = k();
|
|
2561
2552
|
return /* @__PURE__ */ h(
|
|
2562
2553
|
"div",
|
|
2563
2554
|
{
|
|
2564
|
-
className:
|
|
2555
|
+
className: O.listElement,
|
|
2565
2556
|
style: { borderBottom: `1px solid ${t}` },
|
|
2566
2557
|
children: [
|
|
2567
|
-
/* @__PURE__ */ h("div", { className:
|
|
2568
|
-
|
|
2569
|
-
|
|
2558
|
+
/* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(b), children: [
|
|
2559
|
+
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
|
|
2560
|
+
o ? /* @__PURE__ */ s(D1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2570
2561
|
"img",
|
|
2571
2562
|
{
|
|
2572
2563
|
style: { marginRight: 9 },
|
|
2573
|
-
src:
|
|
2564
|
+
src: L1
|
|
2574
2565
|
}
|
|
2575
2566
|
),
|
|
2576
|
-
/* @__PURE__ */
|
|
2567
|
+
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: p })
|
|
2577
2568
|
] }) }),
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2569
|
+
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: m ? new Date(m).toLocaleDateString() : "" }),
|
|
2570
|
+
l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2571
|
+
l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2581
2572
|
] }),
|
|
2582
|
-
/* @__PURE__ */ h("div", { className:
|
|
2573
|
+
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2583
2574
|
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2584
|
-
/* @__PURE__ */
|
|
2585
|
-
/* @__PURE__ */
|
|
2575
|
+
/* @__PURE__ */ s("img", { src: M1 }),
|
|
2576
|
+
/* @__PURE__ */ s(U, { text: c, position: "left" })
|
|
2586
2577
|
] }),
|
|
2587
2578
|
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2588
|
-
/* @__PURE__ */
|
|
2589
|
-
/* @__PURE__ */
|
|
2579
|
+
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
|
|
2580
|
+
/* @__PURE__ */ s(U, { text: a.filter.tooltiptext, position: "left" })
|
|
2590
2581
|
] }),
|
|
2591
2582
|
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2592
|
-
/* @__PURE__ */
|
|
2593
|
-
/* @__PURE__ */
|
|
2583
|
+
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: S1 }) }),
|
|
2584
|
+
/* @__PURE__ */ s(U, { text: a.copy.tooltiptext, position: "left" })
|
|
2594
2585
|
] }),
|
|
2595
2586
|
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2596
|
-
/* @__PURE__ */
|
|
2597
|
-
/* @__PURE__ */
|
|
2587
|
+
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: N1 }) }),
|
|
2588
|
+
/* @__PURE__ */ s(U, { text: a.trash.tooltiptext, position: "left" })
|
|
2598
2589
|
] }),
|
|
2599
2590
|
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2600
|
-
/* @__PURE__ */
|
|
2601
|
-
/* @__PURE__ */
|
|
2591
|
+
/* @__PURE__ */ s("img", { src: B1 }),
|
|
2592
|
+
/* @__PURE__ */ s(U, { text: u, position: "left" })
|
|
2602
2593
|
] })
|
|
2603
2594
|
] }),
|
|
2604
|
-
r && /* @__PURE__ */
|
|
2605
|
-
r && /* @__PURE__ */ h("div", { className:
|
|
2606
|
-
/* @__PURE__ */ h("div", { className:
|
|
2607
|
-
/* @__PURE__ */
|
|
2595
|
+
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2596
|
+
r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
|
|
2597
|
+
/* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => y(!C), children: [
|
|
2598
|
+
/* @__PURE__ */ s("span", { children: C ? "-" : "+" }),
|
|
2608
2599
|
f(r.label)
|
|
2609
2600
|
] }),
|
|
2610
|
-
r && C && /* @__PURE__ */
|
|
2601
|
+
r && C && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
|
|
2611
2602
|
] })
|
|
2612
2603
|
]
|
|
2613
2604
|
}
|
|
2614
2605
|
);
|
|
2615
2606
|
};
|
|
2616
2607
|
ot.propTypes = {
|
|
2617
|
-
|
|
2608
|
+
listelement: e.shape({
|
|
2618
2609
|
nom: e.string.isRequired,
|
|
2619
2610
|
created_at: e.string,
|
|
2620
2611
|
id: e.string.isRequired,
|
|
2621
2612
|
isBeingProcessed: e.bool
|
|
2622
2613
|
}).isRequired,
|
|
2623
|
-
onClickCopy: e.func.isRequired,
|
|
2624
|
-
onClickDelete: e.func.isRequired,
|
|
2625
|
-
onClickFilters: e.func.isRequired,
|
|
2626
2614
|
onClickElement: e.func.isRequired,
|
|
2627
|
-
isBeingProcessed: e.bool,
|
|
2628
2615
|
isActive: e.bool,
|
|
2629
2616
|
activeColor: e.string,
|
|
2630
2617
|
fontColor: e.string,
|
|
2631
|
-
moreInfo: e.object
|
|
2632
|
-
|
|
2618
|
+
moreInfo: e.object,
|
|
2619
|
+
columns: e.shape({
|
|
2620
|
+
nom: e.string,
|
|
2621
|
+
data: e.string,
|
|
2622
|
+
ambit: e.string,
|
|
2623
|
+
escenari: e.string
|
|
2624
|
+
}),
|
|
2625
|
+
elementButtons: e.shape({
|
|
2626
|
+
copy: e.shape({
|
|
2627
|
+
onclick: e.func,
|
|
2628
|
+
tooltiptext: e.string
|
|
2629
|
+
}),
|
|
2630
|
+
delete: e.shape({
|
|
2631
|
+
onclick: e.func,
|
|
2632
|
+
tooltiptext: e.string
|
|
2633
|
+
}),
|
|
2634
|
+
filter: e.shape({
|
|
2635
|
+
onclick: e.func,
|
|
2636
|
+
tooltiptext: e.string
|
|
2637
|
+
})
|
|
2638
|
+
}),
|
|
2639
|
+
processTooltip: e.string,
|
|
2640
|
+
defaultTooltip: e.string
|
|
2633
2641
|
};
|
|
2634
|
-
const
|
|
2642
|
+
const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", T1 = ({
|
|
2635
2643
|
elementsList: n,
|
|
2636
2644
|
activeElementId: d,
|
|
2637
|
-
fontColor:
|
|
2645
|
+
fontColor: o = "#605B56",
|
|
2638
2646
|
activeColor: i,
|
|
2639
2647
|
buttonContainerStyles: t = {},
|
|
2640
2648
|
containerStyles: r = {},
|
|
2641
|
-
newElementButton:
|
|
2649
|
+
newElementButton: l,
|
|
2642
2650
|
//{label: 'text', onClick: function()}/null
|
|
2643
2651
|
onClickElement: a = (g) => console.log(`OnCLickElement: ${g}`),
|
|
2644
|
-
columns:
|
|
2652
|
+
columns: c,
|
|
2645
2653
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2646
2654
|
elementButtons: u,
|
|
2647
2655
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
@@ -2649,77 +2657,77 @@ const ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2649
2657
|
//{label: 'x'}
|
|
2650
2658
|
processTooltip: m,
|
|
2651
2659
|
//texto para el tooltip del simbolo "En proceso"
|
|
2652
|
-
defaultTooltip:
|
|
2660
|
+
defaultTooltip: b
|
|
2653
2661
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2654
2662
|
}) => {
|
|
2655
|
-
const { t: g } =
|
|
2656
|
-
|
|
2657
|
-
n &&
|
|
2663
|
+
const { t: g } = k(), [C, y] = B(n);
|
|
2664
|
+
L(() => {
|
|
2665
|
+
n && y(n);
|
|
2658
2666
|
}, [n]);
|
|
2659
|
-
const f = (
|
|
2667
|
+
const f = (_) => {
|
|
2660
2668
|
if (C && C.length > 0) {
|
|
2661
2669
|
let x = [...C];
|
|
2662
|
-
x.sort((w,
|
|
2670
|
+
x.sort((w, v) => w[_].localeCompare(v[_])), y(x);
|
|
2663
2671
|
}
|
|
2664
2672
|
};
|
|
2665
2673
|
return /* @__PURE__ */ h(
|
|
2666
2674
|
"div",
|
|
2667
2675
|
{
|
|
2668
|
-
className:
|
|
2669
|
-
style: { color:
|
|
2676
|
+
className: I.elementSelector,
|
|
2677
|
+
style: { color: o, ...r },
|
|
2670
2678
|
children: [
|
|
2671
2679
|
/* @__PURE__ */ h(
|
|
2672
2680
|
"div",
|
|
2673
2681
|
{
|
|
2674
|
-
className:
|
|
2675
|
-
style: { borderBottom: `1px solid ${
|
|
2682
|
+
className: I.header,
|
|
2683
|
+
style: { borderBottom: `1px solid ${o}` },
|
|
2676
2684
|
children: [
|
|
2677
|
-
/* @__PURE__ */ h("div", { className:
|
|
2678
|
-
|
|
2679
|
-
/* @__PURE__ */
|
|
2680
|
-
/* @__PURE__ */
|
|
2685
|
+
/* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
|
|
2686
|
+
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ h("button", { onClick: () => f("name"), children: [
|
|
2687
|
+
/* @__PURE__ */ s("span", { children: g(c.nom) }),
|
|
2688
|
+
/* @__PURE__ */ s("img", { src: qe })
|
|
2681
2689
|
] }) }),
|
|
2682
|
-
|
|
2683
|
-
/* @__PURE__ */
|
|
2684
|
-
/* @__PURE__ */
|
|
2690
|
+
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => f("date"), children: [
|
|
2691
|
+
/* @__PURE__ */ s("span", { children: g(c.data) }),
|
|
2692
|
+
/* @__PURE__ */ s("img", { src: qe })
|
|
2685
2693
|
] }) }),
|
|
2686
|
-
|
|
2687
|
-
|
|
2694
|
+
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.ambit) }) }),
|
|
2695
|
+
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.escenari) }) })
|
|
2688
2696
|
] }),
|
|
2689
|
-
/* @__PURE__ */
|
|
2697
|
+
/* @__PURE__ */ s("div", { className: I.buttonsContainer })
|
|
2690
2698
|
]
|
|
2691
2699
|
}
|
|
2692
2700
|
),
|
|
2693
|
-
/* @__PURE__ */
|
|
2701
|
+
/* @__PURE__ */ s("div", { className: I.elementListContainer, children: C && C.length > 0 && C.map((_) => /* @__PURE__ */ s(
|
|
2694
2702
|
ot,
|
|
2695
2703
|
{
|
|
2696
|
-
isActive: d ==
|
|
2697
|
-
|
|
2698
|
-
fontColor:
|
|
2704
|
+
isActive: d == _.id,
|
|
2705
|
+
listelement: _,
|
|
2706
|
+
fontColor: o,
|
|
2699
2707
|
activeColor: i,
|
|
2700
2708
|
onClickElement: a,
|
|
2701
|
-
columns:
|
|
2709
|
+
columns: c,
|
|
2702
2710
|
elementButtons: u,
|
|
2703
2711
|
moreInfo: p,
|
|
2704
2712
|
processTooltip: m,
|
|
2705
|
-
defaultTooltip:
|
|
2713
|
+
defaultTooltip: b
|
|
2706
2714
|
},
|
|
2707
|
-
`elementKey${
|
|
2715
|
+
`elementKey${_.id}`
|
|
2708
2716
|
)) }),
|
|
2709
|
-
|
|
2710
|
-
|
|
2717
|
+
l && /* @__PURE__ */ s("div", { className: I.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2718
|
+
le,
|
|
2711
2719
|
{
|
|
2712
2720
|
style: { ...t },
|
|
2713
|
-
onClick:
|
|
2721
|
+
onClick: l.onClick,
|
|
2714
2722
|
borderColor: "grey",
|
|
2715
|
-
children: g(
|
|
2723
|
+
children: g(l.label)
|
|
2716
2724
|
}
|
|
2717
2725
|
) })
|
|
2718
2726
|
]
|
|
2719
2727
|
}
|
|
2720
2728
|
);
|
|
2721
2729
|
};
|
|
2722
|
-
|
|
2730
|
+
T1.propTypes = {
|
|
2723
2731
|
elementList: e.arrayOf(
|
|
2724
2732
|
e.shape({
|
|
2725
2733
|
nom: e.string.isRequired,
|
|
@@ -2765,52 +2773,52 @@ V1.propTypes = {
|
|
|
2765
2773
|
processTooltip: e.string,
|
|
2766
2774
|
defaultTooltip: e.string
|
|
2767
2775
|
};
|
|
2768
|
-
const
|
|
2776
|
+
const V1 = {
|
|
2769
2777
|
text: "text"
|
|
2770
|
-
},
|
|
2771
|
-
textInputContainer:
|
|
2772
|
-
labelContainer:
|
|
2778
|
+
}, $1 = "_textInputContainer_1qv06_2", A1 = "_labelContainer_1qv06_2", O1 = "_inputContainer_1qv06_5", be = {
|
|
2779
|
+
textInputContainer: $1,
|
|
2780
|
+
labelContainer: A1,
|
|
2773
2781
|
inputContainer: O1
|
|
2774
2782
|
};
|
|
2775
|
-
var
|
|
2776
|
-
const
|
|
2777
|
-
var ne = (n) => !
|
|
2783
|
+
var I1 = (n) => n.type === "checkbox", R1 = (n) => n instanceof Date, st = (n) => n == null;
|
|
2784
|
+
const E1 = (n) => typeof n == "object";
|
|
2785
|
+
var ne = (n) => !st(n) && !Array.isArray(n) && E1(n) && !R1(n), P1 = (n) => ne(n) && n.target ? I1(n.target) ? n.target.checked : n.target.value : n, j1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, q1 = (n, d) => n.has(j1(d)), z1 = (n) => {
|
|
2778
2786
|
const d = n.constructor && n.constructor.prototype;
|
|
2779
2787
|
return ne(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2780
|
-
},
|
|
2781
|
-
function
|
|
2788
|
+
}, Z1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2789
|
+
function rt(n) {
|
|
2782
2790
|
let d;
|
|
2783
|
-
const
|
|
2791
|
+
const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2784
2792
|
if (n instanceof Date)
|
|
2785
2793
|
d = new Date(n);
|
|
2786
|
-
else if (!(
|
|
2787
|
-
if (d =
|
|
2794
|
+
else if (!(Z1 && (n instanceof Blob || i)) && (o || ne(n)))
|
|
2795
|
+
if (d = o ? [] : {}, !o && !z1(n))
|
|
2788
2796
|
d = n;
|
|
2789
2797
|
else
|
|
2790
2798
|
for (const t in n)
|
|
2791
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2799
|
+
n.hasOwnProperty(t) && (d[t] = rt(n[t]));
|
|
2792
2800
|
else
|
|
2793
2801
|
return n;
|
|
2794
2802
|
return d;
|
|
2795
2803
|
}
|
|
2796
|
-
var
|
|
2804
|
+
var at = (n) => /^\w*$/.test(n), Se = (n) => n === void 0, H1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], lt = (n) => H1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, o) => {
|
|
2797
2805
|
if (!d || !ne(n))
|
|
2798
|
-
return
|
|
2799
|
-
const i = (
|
|
2800
|
-
return
|
|
2801
|
-
},
|
|
2806
|
+
return o;
|
|
2807
|
+
const i = (at(d) ? [d] : lt(d)).reduce((t, r) => st(t) ? t : t[r], n);
|
|
2808
|
+
return Se(i) || i === n ? Se(n[d]) ? o : n[d] : i;
|
|
2809
|
+
}, ye = (n) => typeof n == "boolean", ze = (n, d, o) => {
|
|
2802
2810
|
let i = -1;
|
|
2803
|
-
const t =
|
|
2811
|
+
const t = at(d) ? [d] : lt(d), r = t.length, l = r - 1;
|
|
2804
2812
|
for (; ++i < r; ) {
|
|
2805
2813
|
const a = t[i];
|
|
2806
|
-
let
|
|
2807
|
-
if (i !==
|
|
2814
|
+
let c = o;
|
|
2815
|
+
if (i !== l) {
|
|
2808
2816
|
const u = n[a];
|
|
2809
|
-
|
|
2817
|
+
c = ne(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
|
|
2810
2818
|
}
|
|
2811
2819
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
2812
2820
|
return;
|
|
2813
|
-
n[a] =
|
|
2821
|
+
n[a] = c, n = n[a];
|
|
2814
2822
|
}
|
|
2815
2823
|
};
|
|
2816
2824
|
const Ze = {
|
|
@@ -2818,25 +2826,25 @@ const Ze = {
|
|
|
2818
2826
|
CHANGE: "change"
|
|
2819
2827
|
}, He = {
|
|
2820
2828
|
all: "all"
|
|
2821
|
-
},
|
|
2822
|
-
|
|
2823
|
-
const Te = () =>
|
|
2824
|
-
var
|
|
2829
|
+
}, ct = N.createContext(null);
|
|
2830
|
+
ct.displayName = "HookFormContext";
|
|
2831
|
+
const Te = () => N.useContext(ct);
|
|
2832
|
+
var K1 = (n, d, o, i = !0) => {
|
|
2825
2833
|
const t = {
|
|
2826
2834
|
defaultValues: d._defaultValues
|
|
2827
2835
|
};
|
|
2828
2836
|
for (const r in n)
|
|
2829
2837
|
Object.defineProperty(t, r, {
|
|
2830
2838
|
get: () => {
|
|
2831
|
-
const
|
|
2832
|
-
return d._proxyFormState[
|
|
2839
|
+
const l = r;
|
|
2840
|
+
return d._proxyFormState[l] !== He.all && (d._proxyFormState[l] = !i || He.all), o && (o[l] = !0), n[l];
|
|
2833
2841
|
}
|
|
2834
2842
|
});
|
|
2835
2843
|
return t;
|
|
2836
2844
|
};
|
|
2837
|
-
const
|
|
2838
|
-
function
|
|
2839
|
-
const d = Te(), { control:
|
|
2845
|
+
const dt = typeof window < "u" ? X.useLayoutEffect : X.useEffect;
|
|
2846
|
+
function U1(n) {
|
|
2847
|
+
const d = Te(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [l, a] = N.useState(o._formState), c = N.useRef({
|
|
2840
2848
|
isDirty: !1,
|
|
2841
2849
|
isLoading: !1,
|
|
2842
2850
|
dirtyFields: !1,
|
|
@@ -2846,221 +2854,297 @@ function G1(n) {
|
|
|
2846
2854
|
isValid: !1,
|
|
2847
2855
|
errors: !1
|
|
2848
2856
|
});
|
|
2849
|
-
return
|
|
2857
|
+
return dt(() => o._subscribe({
|
|
2850
2858
|
name: t,
|
|
2851
|
-
formState:
|
|
2859
|
+
formState: c.current,
|
|
2852
2860
|
exact: r,
|
|
2853
2861
|
callback: (u) => {
|
|
2854
2862
|
!i && a({
|
|
2855
|
-
...
|
|
2863
|
+
...o._formState,
|
|
2856
2864
|
...u
|
|
2857
2865
|
});
|
|
2858
2866
|
}
|
|
2859
|
-
}), [t, i, r]),
|
|
2860
|
-
|
|
2861
|
-
}, [
|
|
2867
|
+
}), [t, i, r]), N.useEffect(() => {
|
|
2868
|
+
c.current.isValid && o._setValid(!0);
|
|
2869
|
+
}, [o]), N.useMemo(() => K1(l, o, c.current, !1), [l, o]);
|
|
2862
2870
|
}
|
|
2863
|
-
var
|
|
2864
|
-
function
|
|
2865
|
-
const d = Te(), { control:
|
|
2866
|
-
return
|
|
2871
|
+
var G1 = (n) => typeof n == "string", Y1 = (n, d, o, i, t) => G1(n) ? $(o, n, t) : Array.isArray(n) ? n.map((r) => $(o, r)) : o;
|
|
2872
|
+
function W1(n) {
|
|
2873
|
+
const d = Te(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: l } = n || {}, a = N.useRef(t), [c, u] = N.useState(o._getWatch(i, a.current));
|
|
2874
|
+
return dt(() => o._subscribe({
|
|
2867
2875
|
name: i,
|
|
2868
2876
|
formState: {
|
|
2869
2877
|
values: !0
|
|
2870
2878
|
},
|
|
2871
|
-
exact:
|
|
2872
|
-
callback: (p) => !r && u(
|
|
2873
|
-
}), [i,
|
|
2879
|
+
exact: l,
|
|
2880
|
+
callback: (p) => !r && u(Y1(i, o._names, p.values || o._formValues, !1, a.current))
|
|
2881
|
+
}), [i, o, r, l]), N.useEffect(() => o._removeUnmounted()), c;
|
|
2874
2882
|
}
|
|
2875
2883
|
function J1(n) {
|
|
2876
|
-
const d = Te(), { name:
|
|
2884
|
+
const d = Te(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = q1(t._names.array, o), a = W1({
|
|
2877
2885
|
control: t,
|
|
2878
|
-
name:
|
|
2879
|
-
defaultValue: $(t._formValues,
|
|
2886
|
+
name: o,
|
|
2887
|
+
defaultValue: $(t._formValues, o, $(t._defaultValues, o, n.defaultValue)),
|
|
2880
2888
|
exact: !0
|
|
2881
|
-
}),
|
|
2889
|
+
}), c = U1({
|
|
2882
2890
|
control: t,
|
|
2883
|
-
name:
|
|
2891
|
+
name: o,
|
|
2884
2892
|
exact: !0
|
|
2885
|
-
}), u =
|
|
2893
|
+
}), u = N.useRef(n), p = N.useRef(t.register(o, {
|
|
2886
2894
|
...n.rules,
|
|
2887
2895
|
value: a,
|
|
2888
|
-
...
|
|
2889
|
-
})), m =
|
|
2896
|
+
...ye(n.disabled) ? { disabled: n.disabled } : {}
|
|
2897
|
+
})), m = N.useMemo(() => Object.defineProperties({}, {
|
|
2890
2898
|
invalid: {
|
|
2891
2899
|
enumerable: !0,
|
|
2892
|
-
get: () => !!$(
|
|
2900
|
+
get: () => !!$(c.errors, o)
|
|
2893
2901
|
},
|
|
2894
2902
|
isDirty: {
|
|
2895
2903
|
enumerable: !0,
|
|
2896
|
-
get: () => !!$(
|
|
2904
|
+
get: () => !!$(c.dirtyFields, o)
|
|
2897
2905
|
},
|
|
2898
2906
|
isTouched: {
|
|
2899
2907
|
enumerable: !0,
|
|
2900
|
-
get: () => !!$(
|
|
2908
|
+
get: () => !!$(c.touchedFields, o)
|
|
2901
2909
|
},
|
|
2902
2910
|
isValidating: {
|
|
2903
2911
|
enumerable: !0,
|
|
2904
|
-
get: () => !!$(
|
|
2912
|
+
get: () => !!$(c.validatingFields, o)
|
|
2905
2913
|
},
|
|
2906
2914
|
error: {
|
|
2907
2915
|
enumerable: !0,
|
|
2908
|
-
get: () => $(
|
|
2916
|
+
get: () => $(c.errors, o)
|
|
2909
2917
|
}
|
|
2910
|
-
}), [
|
|
2918
|
+
}), [c, o]), b = N.useCallback((f) => p.current.onChange({
|
|
2911
2919
|
target: {
|
|
2912
|
-
value:
|
|
2913
|
-
name:
|
|
2920
|
+
value: P1(f),
|
|
2921
|
+
name: o
|
|
2914
2922
|
},
|
|
2915
2923
|
type: Ze.CHANGE
|
|
2916
|
-
}), [
|
|
2924
|
+
}), [o]), g = N.useCallback(() => p.current.onBlur({
|
|
2917
2925
|
target: {
|
|
2918
|
-
value: $(t._formValues,
|
|
2919
|
-
name:
|
|
2926
|
+
value: $(t._formValues, o),
|
|
2927
|
+
name: o
|
|
2920
2928
|
},
|
|
2921
2929
|
type: Ze.BLUR
|
|
2922
|
-
}), [
|
|
2923
|
-
const
|
|
2924
|
-
|
|
2930
|
+
}), [o, t._formValues]), C = N.useCallback((f) => {
|
|
2931
|
+
const _ = $(t._fields, o);
|
|
2932
|
+
_ && f && (_._f.ref = {
|
|
2925
2933
|
focus: () => f.focus && f.focus(),
|
|
2926
2934
|
select: () => f.select && f.select(),
|
|
2927
2935
|
setCustomValidity: (x) => f.setCustomValidity(x),
|
|
2928
2936
|
reportValidity: () => f.reportValidity()
|
|
2929
2937
|
});
|
|
2930
|
-
}, [t._fields,
|
|
2931
|
-
name:
|
|
2938
|
+
}, [t._fields, o]), y = N.useMemo(() => ({
|
|
2939
|
+
name: o,
|
|
2932
2940
|
value: a,
|
|
2933
|
-
...
|
|
2934
|
-
onChange:
|
|
2941
|
+
...ye(i) || c.disabled ? { disabled: c.disabled || i } : {},
|
|
2942
|
+
onChange: b,
|
|
2935
2943
|
onBlur: g,
|
|
2936
2944
|
ref: C
|
|
2937
|
-
}), [
|
|
2938
|
-
return
|
|
2945
|
+
}), [o, i, c.disabled, b, g, C, a]);
|
|
2946
|
+
return N.useEffect(() => {
|
|
2939
2947
|
const f = t._options.shouldUnregister || r;
|
|
2940
|
-
t.register(
|
|
2948
|
+
t.register(o, {
|
|
2941
2949
|
...u.current.rules,
|
|
2942
|
-
...
|
|
2950
|
+
...ye(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2943
2951
|
});
|
|
2944
|
-
const
|
|
2945
|
-
const
|
|
2946
|
-
|
|
2952
|
+
const _ = (x, w) => {
|
|
2953
|
+
const v = $(t._fields, x);
|
|
2954
|
+
v && v._f && (v._f.mount = w);
|
|
2947
2955
|
};
|
|
2948
|
-
if (
|
|
2949
|
-
const x =
|
|
2950
|
-
|
|
2956
|
+
if (_(o, !0), f) {
|
|
2957
|
+
const x = rt($(t._options.defaultValues, o));
|
|
2958
|
+
ze(t._defaultValues, o, x), Se($(t._formValues, o)) && ze(t._formValues, o, x);
|
|
2951
2959
|
}
|
|
2952
|
-
return !
|
|
2953
|
-
(
|
|
2960
|
+
return !l && t.register(o), () => {
|
|
2961
|
+
(l ? f && !t._state.action : f) ? t.unregister(o) : _(o, !1);
|
|
2954
2962
|
};
|
|
2955
|
-
}, [
|
|
2963
|
+
}, [o, t, l, r]), N.useEffect(() => {
|
|
2956
2964
|
t._setDisabledField({
|
|
2957
2965
|
disabled: i,
|
|
2958
|
-
name:
|
|
2966
|
+
name: o
|
|
2959
2967
|
});
|
|
2960
|
-
}, [i,
|
|
2961
|
-
field:
|
|
2962
|
-
formState:
|
|
2968
|
+
}, [i, o, t]), N.useMemo(() => ({
|
|
2969
|
+
field: y,
|
|
2970
|
+
formState: c,
|
|
2963
2971
|
fieldState: m
|
|
2964
|
-
}), [
|
|
2972
|
+
}), [y, c, m]);
|
|
2965
2973
|
}
|
|
2966
|
-
const
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2974
|
+
const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
2975
|
+
errorMessage: Q1
|
|
2976
|
+
}, ut = ({
|
|
2977
|
+
errorMessage: n,
|
|
2978
|
+
errorColor: d = "red",
|
|
2979
|
+
containerStyles: o
|
|
2980
|
+
}) => {
|
|
2981
|
+
const { t: i } = k();
|
|
2982
|
+
return /* @__PURE__ */ s(
|
|
2983
|
+
"div",
|
|
2984
|
+
{
|
|
2985
|
+
className: en.errorMessage,
|
|
2986
|
+
style: { color: d, ...o },
|
|
2987
|
+
children: n ? i(n) : ""
|
|
2988
|
+
}
|
|
2989
|
+
);
|
|
2990
|
+
}, tn = ({ input: n, control: d }) => {
|
|
2991
|
+
const {
|
|
2992
|
+
code: o,
|
|
2993
|
+
type: i,
|
|
2994
|
+
label: t,
|
|
2995
|
+
maxLength: r,
|
|
2996
|
+
required: l,
|
|
2997
|
+
validateFunction: a,
|
|
2998
|
+
placeholder: c,
|
|
2999
|
+
errorColor: u = "red"
|
|
3000
|
+
} = n, { t: p } = k();
|
|
3001
|
+
return /* @__PURE__ */ s(
|
|
3002
|
+
X1,
|
|
2970
3003
|
{
|
|
2971
|
-
name:
|
|
3004
|
+
name: o,
|
|
2972
3005
|
control: d,
|
|
2973
3006
|
rules: {
|
|
2974
|
-
required:
|
|
3007
|
+
required: l ? `${p(t)} ${p("errorMessages.required")}` : !1,
|
|
2975
3008
|
maxLength: r || void 0,
|
|
2976
3009
|
validate: a || void 0
|
|
2977
3010
|
},
|
|
2978
|
-
render: ({ field:
|
|
2979
|
-
|
|
2980
|
-
/* @__PURE__ */
|
|
2981
|
-
"
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
3011
|
+
render: ({ field: m, fieldState: b }) => {
|
|
3012
|
+
var g;
|
|
3013
|
+
return /* @__PURE__ */ h("div", { className: be.textInputContainer, children: [
|
|
3014
|
+
/* @__PURE__ */ h("h3", { className: be.labelContainer, children: [
|
|
3015
|
+
t,
|
|
3016
|
+
" ",
|
|
3017
|
+
l && /* @__PURE__ */ s("label", { style: { color: b.error ? u : "" }, children: "*" })
|
|
3018
|
+
] }),
|
|
3019
|
+
/* @__PURE__ */ s(
|
|
3020
|
+
"input",
|
|
3021
|
+
{
|
|
3022
|
+
type: i || "text",
|
|
3023
|
+
...m,
|
|
3024
|
+
className: be.inputContainer,
|
|
3025
|
+
placeholder: c ? p(c) : "",
|
|
3026
|
+
maxLength: r || void 0
|
|
3027
|
+
}
|
|
3028
|
+
),
|
|
3029
|
+
/* @__PURE__ */ s(
|
|
3030
|
+
ut,
|
|
3031
|
+
{
|
|
3032
|
+
errorMessage: (g = b.error) == null ? void 0 : g.message,
|
|
3033
|
+
errorColor: u
|
|
3034
|
+
}
|
|
3035
|
+
)
|
|
3036
|
+
] });
|
|
3037
|
+
}
|
|
2989
3038
|
}
|
|
2990
3039
|
);
|
|
2991
|
-
},
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
3040
|
+
}, nn = "_formContainer_fx5a2_2", on = "_formObjectContainer_fx5a2_11", sn = "_buttonContainer_fx5a2_21", _e = {
|
|
3041
|
+
formContainer: nn,
|
|
3042
|
+
formObjectContainer: on,
|
|
3043
|
+
buttonContainer: sn
|
|
3044
|
+
}, rn = "_inputsContainer_10t9s_2", Ke = {
|
|
3045
|
+
inputsContainer: rn
|
|
3046
|
+
}, ve = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: Ke.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
|
|
3047
|
+
const { inputType: r } = i;
|
|
3048
|
+
switch (r) {
|
|
3049
|
+
case V1.text:
|
|
3050
|
+
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: m } = i;
|
|
3051
|
+
return /* @__PURE__ */ s(
|
|
3052
|
+
"div",
|
|
2998
3053
|
{
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
maxLength: l || null,
|
|
3004
|
-
validate: p || null
|
|
3005
|
-
},
|
|
3006
|
-
render: ({ field: m }) => /* @__PURE__ */ o(Q1, { input: s, control: d })
|
|
3007
|
-
},
|
|
3008
|
-
`${r}${i}`
|
|
3054
|
+
className: Ke.inputContainer,
|
|
3055
|
+
style: { ...o },
|
|
3056
|
+
children: /* @__PURE__ */ s(tn, { input: i, control: d })
|
|
3057
|
+
}
|
|
3009
3058
|
);
|
|
3010
3059
|
default:
|
|
3011
|
-
return /* @__PURE__ */
|
|
3060
|
+
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3012
3061
|
}
|
|
3013
|
-
}),
|
|
3062
|
+
}) }), jn = ({
|
|
3014
3063
|
reactHookFormInstance: n,
|
|
3015
3064
|
formObject: d,
|
|
3016
3065
|
//Component with {title, children} as props.
|
|
3017
3066
|
// Used to render a category section in the form.
|
|
3018
3067
|
//If not provided, a default component will be used.
|
|
3019
|
-
CategoryComponent:
|
|
3020
|
-
|
|
3068
|
+
CategoryComponent: o,
|
|
3069
|
+
inputContainerStyles: i,
|
|
3070
|
+
generalError: t,
|
|
3071
|
+
errorColor: r = "red",
|
|
3072
|
+
submitButtonLabel: l = "Submit",
|
|
3073
|
+
onSubmit: a = (c) => console.log("Form submitted with data: ", c)
|
|
3021
3074
|
}) => {
|
|
3022
3075
|
const {
|
|
3023
|
-
register:
|
|
3024
|
-
handleSubmit:
|
|
3025
|
-
watch:
|
|
3026
|
-
control:
|
|
3027
|
-
formState: { errors:
|
|
3076
|
+
register: c,
|
|
3077
|
+
handleSubmit: u,
|
|
3078
|
+
watch: p,
|
|
3079
|
+
control: m,
|
|
3080
|
+
formState: { errors: b }
|
|
3028
3081
|
} = n;
|
|
3029
|
-
|
|
3030
|
-
console.log("Errors ",
|
|
3031
|
-
}, [
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
{
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
},
|
|
3082
|
+
L(() => {
|
|
3083
|
+
console.log("Errors ", b);
|
|
3084
|
+
}, [JSON.stringify(b)]);
|
|
3085
|
+
const { t: g } = k();
|
|
3086
|
+
return (
|
|
3087
|
+
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3088
|
+
/* @__PURE__ */ h("form", { className: _e.formContainer, onSubmit: u(a), children: [
|
|
3089
|
+
/* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((C, y) => {
|
|
3090
|
+
const { inputs: f } = C;
|
|
3091
|
+
return C.category ? o ? /* @__PURE__ */ s(
|
|
3092
|
+
o,
|
|
3093
|
+
{
|
|
3094
|
+
title: C.category,
|
|
3095
|
+
children: /* @__PURE__ */ s(
|
|
3096
|
+
ve,
|
|
3097
|
+
{
|
|
3098
|
+
inputs: f,
|
|
3099
|
+
control: m,
|
|
3100
|
+
inputContainerStyles: i,
|
|
3101
|
+
errorColor: r
|
|
3102
|
+
}
|
|
3103
|
+
)
|
|
3104
|
+
},
|
|
3105
|
+
`${C.category}${y}`
|
|
3106
|
+
) : /* @__PURE__ */ h("div", { style: { width: "100%" }, children: [
|
|
3107
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: C.category }),
|
|
3108
|
+
/* @__PURE__ */ s("p", { children: "This is a category component example." }),
|
|
3109
|
+
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3110
|
+
ve,
|
|
3111
|
+
{
|
|
3112
|
+
inputs: f,
|
|
3113
|
+
control: m,
|
|
3114
|
+
inputContainerStyles: i,
|
|
3115
|
+
errorColor: r
|
|
3116
|
+
}
|
|
3117
|
+
) })
|
|
3118
|
+
] }, `${C.category}${y}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3119
|
+
ve,
|
|
3120
|
+
{
|
|
3121
|
+
inputContainerStyles: i,
|
|
3122
|
+
inputs: f,
|
|
3123
|
+
control: m,
|
|
3124
|
+
errorColor: r
|
|
3125
|
+
}
|
|
3126
|
+
) }, `inputKey${y}`);
|
|
3127
|
+
}) }),
|
|
3128
|
+
/* @__PURE__ */ h("div", { className: _e.buttonContainer, children: [
|
|
3129
|
+
/* @__PURE__ */ s(le, { type: "submit", children: g(l) }),
|
|
3130
|
+
/* @__PURE__ */ s(ut, { errorMessage: t, errorColor: r })
|
|
3131
|
+
] })
|
|
3132
|
+
] })
|
|
3133
|
+
);
|
|
3134
|
+
}, an = "_header_13kbt_2", ln = "_leftComponents_13kbt_13", cn = "_centerComponents_13kbt_14", dn = "_rightComponents_13kbt_15", un = "_componentsContainer_13kbt_32", K = {
|
|
3135
|
+
header: an,
|
|
3136
|
+
leftComponents: ln,
|
|
3137
|
+
centerComponents: cn,
|
|
3138
|
+
rightComponents: dn,
|
|
3139
|
+
componentsContainer: un
|
|
3140
|
+
}, pn = ({
|
|
3057
3141
|
cssProps: n,
|
|
3058
3142
|
leftComponents: d = [],
|
|
3059
|
-
centerComponents:
|
|
3143
|
+
centerComponents: o = [],
|
|
3060
3144
|
rightComponents: i = [],
|
|
3061
3145
|
zIndex: t = 10,
|
|
3062
3146
|
height: r = 60,
|
|
3063
|
-
backgroundColor:
|
|
3147
|
+
backgroundColor: l = "#605B56",
|
|
3064
3148
|
isFooter: a = !1
|
|
3065
3149
|
// If true, it will apply footer styles
|
|
3066
3150
|
}) => /* @__PURE__ */ h(
|
|
@@ -3071,18 +3155,18 @@ const pt = (n) => n.render(J1(n)), Q1 = ({ input: n, control: d }) => {
|
|
|
3071
3155
|
...n,
|
|
3072
3156
|
zIndex: t,
|
|
3073
3157
|
height: r,
|
|
3074
|
-
backgroundColor:
|
|
3158
|
+
backgroundColor: l,
|
|
3075
3159
|
top: a ? "auto" : 0,
|
|
3076
3160
|
bottom: a ? 0 : "auto"
|
|
3077
3161
|
},
|
|
3078
3162
|
children: [
|
|
3079
|
-
/* @__PURE__ */
|
|
3080
|
-
/* @__PURE__ */
|
|
3081
|
-
/* @__PURE__ */
|
|
3163
|
+
/* @__PURE__ */ s("div", { className: K.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: K.componentsContainer, children: c }, u)) }),
|
|
3164
|
+
/* @__PURE__ */ s("div", { className: K.centerComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: K.componentsContainer, children: c }, u)) }),
|
|
3165
|
+
/* @__PURE__ */ s("div", { className: K.rightComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: K.componentsContainer, children: c }, u)) })
|
|
3082
3166
|
]
|
|
3083
3167
|
}
|
|
3084
3168
|
);
|
|
3085
|
-
|
|
3169
|
+
pn.propTypes = {
|
|
3086
3170
|
leftComponents: e.arrayOf(e.node),
|
|
3087
3171
|
centerComponents: e.arrayOf(e.node),
|
|
3088
3172
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3092,53 +3176,53 @@ an.propTypes = {
|
|
|
3092
3176
|
backgroundColor: e.string,
|
|
3093
3177
|
isFooter: e.bool
|
|
3094
3178
|
};
|
|
3095
|
-
const
|
|
3096
|
-
sidebar:
|
|
3097
|
-
open:
|
|
3098
|
-
content:
|
|
3099
|
-
closeButton:
|
|
3100
|
-
},
|
|
3179
|
+
const mn = "_sidebar_1jqo2_2", hn = "_open_1jqo2_16", gn = "_content_1jqo2_20", Cn = "_closeButton_1jqo2_26", re = {
|
|
3180
|
+
sidebar: mn,
|
|
3181
|
+
open: hn,
|
|
3182
|
+
content: gn,
|
|
3183
|
+
closeButton: Cn
|
|
3184
|
+
}, fn = ({ width: n = "300px", children: d, showRightBar: o, onCloseBar: i }) => {
|
|
3101
3185
|
const t = () => {
|
|
3102
3186
|
i();
|
|
3103
3187
|
};
|
|
3104
|
-
return /* @__PURE__ */
|
|
3188
|
+
return /* @__PURE__ */ s(
|
|
3105
3189
|
"div",
|
|
3106
3190
|
{
|
|
3107
|
-
className: `${re.sidebar} ${
|
|
3108
|
-
style: { width:
|
|
3109
|
-
children:
|
|
3110
|
-
/* @__PURE__ */
|
|
3191
|
+
className: `${re.sidebar} ${o ? re.open : ""}`,
|
|
3192
|
+
style: { width: o ? n : 0 },
|
|
3193
|
+
children: o && /* @__PURE__ */ h("div", { className: re.content, children: [
|
|
3194
|
+
/* @__PURE__ */ s("button", { className: re.closeButton, onClick: t, children: "×" }),
|
|
3111
3195
|
d
|
|
3112
3196
|
] })
|
|
3113
3197
|
}
|
|
3114
3198
|
);
|
|
3115
3199
|
};
|
|
3116
|
-
|
|
3200
|
+
fn.propTypes = {
|
|
3117
3201
|
width: e.string,
|
|
3118
3202
|
children: e.node,
|
|
3119
3203
|
showRightBar: e.bool,
|
|
3120
3204
|
onCloseBar: e.func
|
|
3121
3205
|
};
|
|
3122
3206
|
export {
|
|
3123
|
-
|
|
3124
|
-
|
|
3207
|
+
i2 as AmbitSelector,
|
|
3208
|
+
g2 as ButtonsList,
|
|
3125
3209
|
G as DropdownList,
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3210
|
+
An as EditAmbit,
|
|
3211
|
+
j2 as FiltersAmbit,
|
|
3212
|
+
jn as Form,
|
|
3213
|
+
K2 as Graphic,
|
|
3214
|
+
pn as HeaderSection,
|
|
3215
|
+
d0 as IndicatorsList,
|
|
3216
|
+
C0 as LangSelector,
|
|
3217
|
+
D0 as Legend,
|
|
3218
|
+
T1 as ListSelector,
|
|
3219
|
+
l1 as LogInButton,
|
|
3220
|
+
T0 as LogoApp,
|
|
3221
|
+
A0 as MapboxMap,
|
|
3222
|
+
j0 as MaplibreMap,
|
|
3223
|
+
fn as RightSidebar,
|
|
3224
|
+
On as SectionBar,
|
|
3225
|
+
t1 as TimeSlider,
|
|
3141
3226
|
U as Tooltip,
|
|
3142
|
-
|
|
3143
|
-
c1 as UserMenuTrigger
|
|
3227
|
+
s1 as TopNavMenu
|
|
3144
3228
|
};
|