@tmf_ciclica/ciclicastorybook 1.1.50 → 1.1.52
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 +1656 -1373
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
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}._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
|
|
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}._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 o, Fragment as ht } from "react/jsx-runtime";
|
|
3
|
+
import * as J from "react";
|
|
4
|
+
import k, { useState as D, useEffect as B, useMemo as ae, useLayoutEffect as gt, useRef as Se } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
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
|
-
}, Le = "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", Te = "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", Fe = "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", $e = "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", Ve = "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", Ae = "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", R2 = ({
|
|
37
|
-
ambit:
|
|
6
|
+
import { useTranslation as N, Trans as Me } from "react-i18next";
|
|
7
|
+
import { motion as Fe } from "framer-motion";
|
|
8
|
+
import { create as Ct } from "zustand";
|
|
9
|
+
import * as Ve from "d3";
|
|
10
|
+
import ft from "mapbox-gl";
|
|
11
|
+
import { useSelector as ve, useDispatch as Ke } from "react-redux";
|
|
12
|
+
import bt, { Source as yt, Layer as vt, NavigationControl as _t, Popup as xt } from "react-map-gl/mapbox";
|
|
13
|
+
import de from "maplibre-gl";
|
|
14
|
+
import { Protocol as wt } from "pmtiles";
|
|
15
|
+
import kt, { Source as Nt, Layer as St, NavigationControl as Mt, Popup as Ft } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Ue } from "@reduxjs/toolkit";
|
|
17
|
+
import Dt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Lt, Box as Bt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as Tt } from "@emotion/react";
|
|
20
|
+
import { NavLink as Vt } from "react-router-dom";
|
|
21
|
+
const $t = "_ambitSelector_mcunf_2", At = "_header_mcunf_13", It = "_nameDateContainer_mcunf_23", Ot = "_ambitName_mcunf_39", Rt = "_ambitDate_mcunf_53", Et = "_buttonsContainer_mcunf_67", Pt = "_ambitListContainer_mcunf_76", qt = "_newAmbitButtonContainer_mcunf_80", q = {
|
|
22
|
+
ambitSelector: $t,
|
|
23
|
+
header: At,
|
|
24
|
+
nameDateContainer: It,
|
|
25
|
+
ambitName: Ot,
|
|
26
|
+
ambitDate: Rt,
|
|
27
|
+
buttonsContainer: Et,
|
|
28
|
+
ambitListContainer: Pt,
|
|
29
|
+
newAmbitButtonContainer: qt
|
|
30
|
+
}, zt = "_ambitItem_1qa6u_2", jt = "_ambitNameDate_1qa6u_16", Zt = "_ambitName_1qa6u_16", Ht = "_ambitDate_1qa6u_35", Kt = "_ambitButtons_1qa6u_38", ee = {
|
|
31
|
+
ambitItem: zt,
|
|
32
|
+
ambitNameDate: jt,
|
|
33
|
+
ambitName: Zt,
|
|
34
|
+
ambitDate: Ht,
|
|
35
|
+
ambitButtons: Kt
|
|
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 = ({
|
|
37
|
+
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
40
|
-
onClickFilters:
|
|
40
|
+
onClickFilters: i,
|
|
41
41
|
onClickAmbit: t,
|
|
42
|
-
isActive:
|
|
43
|
-
activeColor:
|
|
44
|
-
fontColor:
|
|
45
|
-
moreInfo:
|
|
42
|
+
isActive: r,
|
|
43
|
+
activeColor: c,
|
|
44
|
+
fontColor: a,
|
|
45
|
+
moreInfo: l
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom:
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
const { nom: u, created_at: p, id: m, isBeingProcessed: y } = n;
|
|
48
|
+
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
52
|
-
style: { borderBottom: `1px solid ${
|
|
51
|
+
className: ee.ambitItem,
|
|
52
|
+
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ h("div", { className: ee.ambitNameDate, onClick: () => t(m), children: [
|
|
55
|
+
/* @__PURE__ */ h("div", { className: ee.ambitName, children: [
|
|
56
|
+
/* @__PURE__ */ o(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src:
|
|
60
|
+
src: r ? Xt : Jt
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ o("span", { style: { color: r ? c : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ o("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ h("div", { className: ee.ambitButtons, children: [
|
|
68
|
+
y && /* @__PURE__ */ o("img", { src: Wt }),
|
|
69
|
+
/* @__PURE__ */ o("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ o("img", { src: Yt }) }),
|
|
70
|
+
/* @__PURE__ */ o("button", { onClick: () => d(m), children: /* @__PURE__ */ o("img", { src: Gt }) }),
|
|
71
|
+
/* @__PURE__ */ o("button", { onClick: () => s(m), disabled: n.is_default, children: /* @__PURE__ */ o("img", { src: Ut }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
Ge.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
nom: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,101 +92,101 @@ R2.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
98
|
-
children:
|
|
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", Qt = "_generalButton_8d6ru_2", e2 = {
|
|
96
|
+
generalButton: Qt
|
|
97
|
+
}, De = ({
|
|
98
|
+
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: s,
|
|
101
|
-
borderColor:
|
|
102
|
-
}) => /* @__PURE__ */
|
|
101
|
+
borderColor: i
|
|
102
|
+
}) => /* @__PURE__ */ o(
|
|
103
103
|
"button",
|
|
104
104
|
{
|
|
105
|
-
className:
|
|
106
|
-
style: { color: s, border: `1.5px solid ${
|
|
105
|
+
className: e2.generalButton,
|
|
106
|
+
style: { color: s, border: `1.5px solid ${i}` },
|
|
107
107
|
onClick: d,
|
|
108
|
-
children:
|
|
108
|
+
children: n
|
|
109
109
|
}
|
|
110
|
-
),
|
|
111
|
-
ambitList:
|
|
110
|
+
), t2 = ({
|
|
111
|
+
ambitList: n,
|
|
112
112
|
activeAmbitId: d,
|
|
113
113
|
fontColor: s = "#605B56",
|
|
114
|
-
activeColor:
|
|
114
|
+
activeColor: i,
|
|
115
115
|
nameLabel: t,
|
|
116
|
-
dateLabel:
|
|
117
|
-
newAmbitLabel:
|
|
118
|
-
buttonContainerStyles:
|
|
119
|
-
containerStyles:
|
|
120
|
-
onCLickNewAmbit:
|
|
121
|
-
onClickCopy:
|
|
122
|
-
onCLickDelete:
|
|
123
|
-
onClickFilters:
|
|
116
|
+
dateLabel: r,
|
|
117
|
+
newAmbitLabel: c = "New field",
|
|
118
|
+
buttonContainerStyles: a = {},
|
|
119
|
+
containerStyles: l = {},
|
|
120
|
+
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
121
|
+
onClickCopy: p = (C) => console.log(`Copy ambit: ${C}`),
|
|
122
|
+
onCLickDelete: m = (C) => console.log(`Delete ambit: ${C}`),
|
|
123
|
+
onClickFilters: y = (C) => console.log(`Filters clicked: ${C}`),
|
|
124
124
|
onClickAmbit: g = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
125
125
|
}) => {
|
|
126
|
-
const { t: C } =
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}, [
|
|
130
|
-
const
|
|
131
|
-
if (
|
|
132
|
-
let
|
|
133
|
-
|
|
126
|
+
const { t: C } = N(), [b, f] = D(n);
|
|
127
|
+
B(() => {
|
|
128
|
+
n && f(n);
|
|
129
|
+
}, [n]);
|
|
130
|
+
const v = (x) => {
|
|
131
|
+
if (b && b.length > 0) {
|
|
132
|
+
let w = [...b];
|
|
133
|
+
w.sort((_, S) => _[x].localeCompare(S[x])), f(w);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
return /* @__PURE__ */
|
|
136
|
+
return /* @__PURE__ */ h(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
|
-
className:
|
|
140
|
-
style: { color: s, ...
|
|
139
|
+
className: q.ambitSelector,
|
|
140
|
+
style: { color: s, ...l },
|
|
141
141
|
children: [
|
|
142
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ h(
|
|
143
143
|
"div",
|
|
144
144
|
{
|
|
145
|
-
className:
|
|
145
|
+
className: q.header,
|
|
146
146
|
style: { borderBottom: `1px solid ${s}` },
|
|
147
147
|
children: [
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ h("div", { className: q.nameDateContainer, children: [
|
|
149
|
+
/* @__PURE__ */ o("div", { className: q.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => v("name"), children: [
|
|
150
|
+
/* @__PURE__ */ o("span", { children: C(t) }),
|
|
151
|
+
/* @__PURE__ */ o("img", { src: $e })
|
|
152
152
|
] }) }),
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */
|
|
153
|
+
/* @__PURE__ */ o("div", { className: q.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => v("date"), children: [
|
|
154
|
+
/* @__PURE__ */ o("span", { children: C(r) }),
|
|
155
|
+
/* @__PURE__ */ o("img", { src: $e })
|
|
156
156
|
] }) })
|
|
157
157
|
] }),
|
|
158
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ o("div", { className: q.buttonsContainer })
|
|
159
159
|
]
|
|
160
160
|
}
|
|
161
161
|
),
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
|
|
162
|
+
/* @__PURE__ */ o("div", { className: q.ambitListContainer, children: b && b.length > 0 && b.map((x) => /* @__PURE__ */ o(
|
|
163
|
+
Ge,
|
|
164
164
|
{
|
|
165
|
-
isActive: d ==
|
|
166
|
-
ambit:
|
|
165
|
+
isActive: d == x.id,
|
|
166
|
+
ambit: x,
|
|
167
167
|
fontColor: s,
|
|
168
|
-
activeColor:
|
|
169
|
-
onClickCopy:
|
|
170
|
-
onClickDelete:
|
|
171
|
-
onClickFilters:
|
|
168
|
+
activeColor: i,
|
|
169
|
+
onClickCopy: p,
|
|
170
|
+
onClickDelete: m,
|
|
171
|
+
onClickFilters: y,
|
|
172
172
|
onClickAmbit: g
|
|
173
173
|
},
|
|
174
|
-
`ambitKey${
|
|
174
|
+
`ambitKey${x.id}`
|
|
175
175
|
)) }),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
|
|
176
|
+
/* @__PURE__ */ o("div", { className: q.newAmbitButtonContainer, children: /* @__PURE__ */ o(
|
|
177
|
+
De,
|
|
178
178
|
{
|
|
179
|
-
style: { ...
|
|
180
|
-
onClick:
|
|
179
|
+
style: { ...a },
|
|
180
|
+
onClick: u,
|
|
181
181
|
borderColor: "grey",
|
|
182
|
-
children: C(
|
|
182
|
+
children: C(c)
|
|
183
183
|
}
|
|
184
184
|
) })
|
|
185
185
|
]
|
|
186
186
|
}
|
|
187
187
|
);
|
|
188
188
|
};
|
|
189
|
-
|
|
189
|
+
t2.propTypes = {
|
|
190
190
|
ambitList: e.arrayOf(
|
|
191
191
|
e.shape({
|
|
192
192
|
name: e.string.isRequired,
|
|
@@ -208,70 +208,70 @@ Re.propTypes = {
|
|
|
208
208
|
containerStyles: e.object,
|
|
209
209
|
onCLickNewAmbit: e.func
|
|
210
210
|
};
|
|
211
|
-
const
|
|
212
|
-
buttonsContainer:
|
|
213
|
-
vertical:
|
|
214
|
-
horizontal:
|
|
215
|
-
button:
|
|
216
|
-
active:
|
|
217
|
-
buttonName:
|
|
218
|
-
},
|
|
219
|
-
left:
|
|
220
|
-
top:
|
|
221
|
-
bottom:
|
|
222
|
-
right:
|
|
223
|
-
},
|
|
224
|
-
const { t:
|
|
225
|
-
return /* @__PURE__ */
|
|
226
|
-
};
|
|
227
|
-
|
|
211
|
+
const n2 = "_buttonsContainer_1audx_2", i2 = "_vertical_1audx_6", s2 = "_horizontal_1audx_9", o2 = "_button_1audx_2", r2 = "_active_1audx_25", a2 = "_buttonName_1audx_28", j = {
|
|
212
|
+
buttonsContainer: n2,
|
|
213
|
+
vertical: i2,
|
|
214
|
+
horizontal: s2,
|
|
215
|
+
button: o2,
|
|
216
|
+
active: r2,
|
|
217
|
+
buttonName: a2
|
|
218
|
+
}, l2 = "_left_1l4m4_2", c2 = "_top_1l4m4_40", d2 = "_bottom_1l4m4_79", u2 = "_right_1l4m4_118", p2 = {
|
|
219
|
+
left: l2,
|
|
220
|
+
top: c2,
|
|
221
|
+
bottom: d2,
|
|
222
|
+
right: u2
|
|
223
|
+
}, U = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
224
|
+
const { t: i } = N();
|
|
225
|
+
return /* @__PURE__ */ o("div", { className: `tooltip ${p2[d]}`, style: s, children: i(n) });
|
|
226
|
+
};
|
|
227
|
+
U.propTypes = {
|
|
228
228
|
text: e.string.isRequired,
|
|
229
229
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
230
230
|
styleCustom: e.object
|
|
231
231
|
};
|
|
232
|
-
const
|
|
233
|
-
buttons:
|
|
232
|
+
const m2 = ({
|
|
233
|
+
buttons: n = [],
|
|
234
234
|
orientation: d = "horizontal",
|
|
235
235
|
showName: s = !0,
|
|
236
|
-
namePosition:
|
|
236
|
+
namePosition: i = "right",
|
|
237
237
|
useTooltip: t = !1,
|
|
238
|
-
tooltipPosition:
|
|
238
|
+
tooltipPosition: r = "top"
|
|
239
239
|
}) => {
|
|
240
|
-
const { t:
|
|
241
|
-
return /* @__PURE__ */
|
|
240
|
+
const { t: c } = N();
|
|
241
|
+
return /* @__PURE__ */ o(
|
|
242
242
|
"div",
|
|
243
243
|
{
|
|
244
|
-
className: `${
|
|
245
|
-
${d === "horizontal" &&
|
|
246
|
-
children:
|
|
244
|
+
className: `${j.buttonsContainer} ${d === "vertical" && j.vertical}
|
|
245
|
+
${d === "horizontal" && j.horizontal}`,
|
|
246
|
+
children: n.map((a, l) => {
|
|
247
247
|
const {
|
|
248
|
-
icon:
|
|
249
|
-
activeIcon:
|
|
250
|
-
isActive:
|
|
251
|
-
name:
|
|
248
|
+
icon: u,
|
|
249
|
+
activeIcon: p,
|
|
250
|
+
isActive: m,
|
|
251
|
+
name: y,
|
|
252
252
|
onClick: g
|
|
253
|
-
} =
|
|
254
|
-
s &&
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
s &&
|
|
253
|
+
} = a, C = /* @__PURE__ */ h(ht, { children: [
|
|
254
|
+
s && i === "left" && /* @__PURE__ */ o("span", { className: j.buttonName, children: c(y) }),
|
|
255
|
+
/* @__PURE__ */ o("img", { src: m ? p : u, alt: c(y) }),
|
|
256
|
+
s && i === "right" && /* @__PURE__ */ o("span", { className: j.buttonName, children: c(y) })
|
|
257
257
|
] });
|
|
258
|
-
return /* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
258
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
259
|
+
/* @__PURE__ */ o(
|
|
260
260
|
"button",
|
|
261
261
|
{
|
|
262
262
|
onClick: g,
|
|
263
|
-
className: `${
|
|
264
|
-
${
|
|
263
|
+
className: `${j.button}
|
|
264
|
+
${m && j.active}`,
|
|
265
265
|
children: C
|
|
266
266
|
}
|
|
267
267
|
),
|
|
268
|
-
t && /* @__PURE__ */
|
|
269
|
-
] },
|
|
268
|
+
t && /* @__PURE__ */ o(U, { text: y, position: r })
|
|
269
|
+
] }, l);
|
|
270
270
|
})
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
273
|
};
|
|
274
|
-
|
|
274
|
+
m2.propTypes = {
|
|
275
275
|
buttons: e.arrayOf(
|
|
276
276
|
e.shape({
|
|
277
277
|
icon: e.node.isRequired,
|
|
@@ -288,58 +288,58 @@ We.propTypes = {
|
|
|
288
288
|
useTooltip: e.bool,
|
|
289
289
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
290
290
|
};
|
|
291
|
-
const
|
|
292
|
-
indicatorsCategory:
|
|
293
|
-
title:
|
|
294
|
-
},
|
|
295
|
-
isOpen:
|
|
291
|
+
const h2 = "_indicatorsCategory_1cu33_2", g2 = "_title_1cu33_5", ue = {
|
|
292
|
+
indicatorsCategory: h2,
|
|
293
|
+
title: g2
|
|
294
|
+
}, G = ({
|
|
295
|
+
isOpen: n,
|
|
296
296
|
onClick: d,
|
|
297
297
|
children: s,
|
|
298
|
-
color:
|
|
298
|
+
color: i,
|
|
299
299
|
activeColor: t = "#F8A925",
|
|
300
|
-
title:
|
|
300
|
+
title: r = "Title",
|
|
301
301
|
//Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
|
|
302
|
-
height:
|
|
302
|
+
height: c = 53,
|
|
303
303
|
//Adjust height if you change fontSize
|
|
304
|
-
titleFontStyles:
|
|
305
|
-
showBottomBar:
|
|
306
|
-
titleMarginChildren:
|
|
304
|
+
titleFontStyles: a,
|
|
305
|
+
showBottomBar: l = !0,
|
|
306
|
+
titleMarginChildren: u = 25
|
|
307
307
|
}) => {
|
|
308
|
-
const { t:
|
|
309
|
-
return /* @__PURE__ */
|
|
310
|
-
|
|
308
|
+
const { t: p } = N();
|
|
309
|
+
return /* @__PURE__ */ h(
|
|
310
|
+
Fe.div,
|
|
311
311
|
{
|
|
312
|
-
className:
|
|
313
|
-
initial: { height: `${
|
|
314
|
-
animate: { height:
|
|
312
|
+
className: ue.indicatorsCategory,
|
|
313
|
+
initial: { height: `${c}px` },
|
|
314
|
+
animate: { height: n ? "auto" : `${c}px` },
|
|
315
315
|
transition: { duration: 0.4 },
|
|
316
316
|
style: {
|
|
317
317
|
backgroundColor: "white",
|
|
318
|
-
borderBottom:
|
|
319
|
-
marginBottom:
|
|
318
|
+
borderBottom: n && l ? `1px solid ${t}` : "0px",
|
|
319
|
+
marginBottom: n ? "20px" : "0px"
|
|
320
320
|
},
|
|
321
321
|
children: [
|
|
322
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ h(
|
|
323
323
|
"h2",
|
|
324
324
|
{
|
|
325
325
|
style: {
|
|
326
|
-
...
|
|
327
|
-
marginBottom:
|
|
326
|
+
...a,
|
|
327
|
+
marginBottom: u || "auto"
|
|
328
328
|
},
|
|
329
|
-
className: `${
|
|
329
|
+
className: `${ue.title}`,
|
|
330
330
|
onClick: d,
|
|
331
331
|
children: [
|
|
332
|
-
/* @__PURE__ */
|
|
333
|
-
/* @__PURE__ */
|
|
332
|
+
/* @__PURE__ */ o("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
333
|
+
/* @__PURE__ */ o("span", { style: { marginLeft: 12, color: n ? t : i }, children: p(r) })
|
|
334
334
|
]
|
|
335
335
|
}
|
|
336
336
|
),
|
|
337
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ o("div", { className: ue.content, children: s })
|
|
338
338
|
]
|
|
339
339
|
}
|
|
340
340
|
);
|
|
341
341
|
};
|
|
342
|
-
|
|
342
|
+
G.propTypes = {
|
|
343
343
|
isOpen: e.bool,
|
|
344
344
|
onClick: e.func,
|
|
345
345
|
children: e.node,
|
|
@@ -350,39 +350,39 @@ K.propTypes = {
|
|
|
350
350
|
showBottomBar: e.bool,
|
|
351
351
|
titleFontStyles: e.object
|
|
352
352
|
};
|
|
353
|
-
const
|
|
354
|
-
AppliedFiltersContainer:
|
|
355
|
-
AppliedFilterContent:
|
|
356
|
-
},
|
|
353
|
+
const Ln = () => /* @__PURE__ */ o("div", { children: "EditAmbit" }), C2 = "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", f2 = "_AppliedFiltersContainer_s8ooe_2", b2 = "_AppliedFilterContent_s8ooe_10", Ae = {
|
|
354
|
+
AppliedFiltersContainer: f2,
|
|
355
|
+
AppliedFilterContent: b2
|
|
356
|
+
}, L = Ct((n) => ({
|
|
357
357
|
activeCategory: "",
|
|
358
358
|
activeSubCategory: "",
|
|
359
359
|
selectedIndicator: "",
|
|
360
360
|
tematicalFiltersSelected: [],
|
|
361
361
|
fontColor: "#605B56",
|
|
362
362
|
inputsColor: "#605B56"
|
|
363
|
-
})),
|
|
364
|
-
const { t:
|
|
365
|
-
|
|
366
|
-
tematicalFiltersSelected:
|
|
367
|
-
(
|
|
363
|
+
})), Ye = ({ title: n, onClick: d, isOpen: s = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
364
|
+
const { t: c } = N(), { tematicalFiltersSelected: a } = L((u) => u), l = (u) => {
|
|
365
|
+
L.setState((p) => ({
|
|
366
|
+
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
367
|
+
(m) => m.code !== u
|
|
368
368
|
)
|
|
369
369
|
}));
|
|
370
370
|
};
|
|
371
|
-
return /* @__PURE__ */
|
|
372
|
-
|
|
371
|
+
return /* @__PURE__ */ o(
|
|
372
|
+
G,
|
|
373
373
|
{
|
|
374
374
|
isOpen: s,
|
|
375
375
|
onClick: d,
|
|
376
|
-
title:
|
|
377
|
-
activeColor:
|
|
378
|
-
children: /* @__PURE__ */
|
|
379
|
-
|
|
380
|
-
/* @__PURE__ */
|
|
381
|
-
] },
|
|
376
|
+
title: n ? c(n) : "Applied Filters",
|
|
377
|
+
activeColor: r,
|
|
378
|
+
children: /* @__PURE__ */ o("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: [
|
|
379
|
+
c(u.name),
|
|
380
|
+
/* @__PURE__ */ o("img", { src: C2, alt: "CloseIcon", onClick: () => l(u.code), style: { cursor: "pointer" } })
|
|
381
|
+
] }, p)) })
|
|
382
382
|
}
|
|
383
383
|
);
|
|
384
384
|
};
|
|
385
|
-
|
|
385
|
+
Ye.propTypes = {
|
|
386
386
|
isOpen: e.bool,
|
|
387
387
|
onClick: e.func,
|
|
388
388
|
title: e.string,
|
|
@@ -396,20 +396,20 @@ E2.propTypes = {
|
|
|
396
396
|
),
|
|
397
397
|
activeColor: e.string
|
|
398
398
|
};
|
|
399
|
-
const
|
|
400
|
-
const { t:
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
|
|
399
|
+
const We = ({ title: n, onClick: d, isOpen: s = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
400
|
+
const { t: c } = N(), { tematicalFiltersSelected: a } = L((l) => l);
|
|
401
|
+
return /* @__PURE__ */ o(
|
|
402
|
+
G,
|
|
403
403
|
{
|
|
404
404
|
isOpen: s,
|
|
405
405
|
onClick: d,
|
|
406
|
-
title:
|
|
407
|
-
activeColor:
|
|
406
|
+
title: n ? c(n) : "Geographical Filters",
|
|
407
|
+
activeColor: r,
|
|
408
408
|
children: "A"
|
|
409
409
|
}
|
|
410
410
|
);
|
|
411
411
|
};
|
|
412
|
-
|
|
412
|
+
We.propTypes = {
|
|
413
413
|
isOpen: e.bool,
|
|
414
414
|
onClick: e.func,
|
|
415
415
|
title: e.string,
|
|
@@ -417,25 +417,25 @@ P2.propTypes = {
|
|
|
417
417
|
backgroundColor: e.string,
|
|
418
418
|
activeColor: e.string
|
|
419
419
|
};
|
|
420
|
-
const
|
|
421
|
-
checkboxContainer:
|
|
422
|
-
},
|
|
423
|
-
onClick:
|
|
420
|
+
const y2 = "_checkboxContainer_zld97_2", v2 = {
|
|
421
|
+
checkboxContainer: y2
|
|
422
|
+
}, Xe = ({
|
|
423
|
+
onClick: n,
|
|
424
424
|
containerStyles: d,
|
|
425
425
|
color: s = "#605B56",
|
|
426
|
-
indicator:
|
|
426
|
+
indicator: i,
|
|
427
427
|
value: t
|
|
428
428
|
}) => {
|
|
429
|
-
const { t:
|
|
430
|
-
return /* @__PURE__ */
|
|
429
|
+
const { t: r } = N(), { title: c } = i || {}, { fontColor: a, inputsColor: l } = L((u) => u);
|
|
430
|
+
return /* @__PURE__ */ h(
|
|
431
431
|
"div",
|
|
432
432
|
{
|
|
433
433
|
style: { ...d, color: s },
|
|
434
434
|
role: "checkbox",
|
|
435
|
-
className:
|
|
436
|
-
onClick:
|
|
435
|
+
className: v2.checkboxContainer,
|
|
436
|
+
onClick: n,
|
|
437
437
|
children: [
|
|
438
|
-
/* @__PURE__ */
|
|
438
|
+
/* @__PURE__ */ o(
|
|
439
439
|
"input",
|
|
440
440
|
{
|
|
441
441
|
type: "checkbox",
|
|
@@ -443,17 +443,17 @@ const nt = "_checkboxContainer_zld97_2", it = {
|
|
|
443
443
|
value: t,
|
|
444
444
|
readOnly: !0,
|
|
445
445
|
style: {
|
|
446
|
-
border: `1.5px solid ${t ?
|
|
447
|
-
backgroundColor: t ?
|
|
446
|
+
border: `1.5px solid ${t ? l : a}`,
|
|
447
|
+
backgroundColor: t ? l : "white"
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
),
|
|
451
|
-
/* @__PURE__ */
|
|
451
|
+
/* @__PURE__ */ o("span", { className: "checkmark", children: r(c) })
|
|
452
452
|
]
|
|
453
453
|
}
|
|
454
454
|
);
|
|
455
455
|
};
|
|
456
|
-
|
|
456
|
+
Xe.propTypes = {
|
|
457
457
|
onClick: e.func,
|
|
458
458
|
value: e.bool,
|
|
459
459
|
containerStyles: e.object,
|
|
@@ -464,171 +464,171 @@ q2.propTypes = {
|
|
|
464
464
|
}),
|
|
465
465
|
checkedColor: e.string
|
|
466
466
|
};
|
|
467
|
-
function
|
|
468
|
-
return
|
|
469
|
-
return s.__proto__ =
|
|
470
|
-
},
|
|
467
|
+
function _e(n, d) {
|
|
468
|
+
return _e = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, i) {
|
|
469
|
+
return s.__proto__ = i, s;
|
|
470
|
+
}, _e(n, d);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
473
|
-
|
|
472
|
+
function _2(n, d) {
|
|
473
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, _e(n, d);
|
|
474
474
|
}
|
|
475
|
-
function
|
|
476
|
-
return
|
|
475
|
+
function pe(n) {
|
|
476
|
+
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
479
|
-
return
|
|
478
|
+
function me(n) {
|
|
479
|
+
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
return
|
|
481
|
+
function ie(n) {
|
|
482
|
+
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
Object.keys(
|
|
486
|
-
typeof document < "u" && document.addEventListener(d,
|
|
484
|
+
function se(n) {
|
|
485
|
+
Object.keys(n).forEach((d) => {
|
|
486
|
+
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
|
-
function
|
|
490
|
-
return
|
|
489
|
+
function Z(n, d) {
|
|
490
|
+
return xe(function(s, i) {
|
|
491
491
|
let t = s;
|
|
492
|
-
return t <=
|
|
493
|
-
}(
|
|
492
|
+
return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
|
|
493
|
+
}(n, d), d);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
const s = (
|
|
497
|
-
let
|
|
498
|
-
return 2 * Math.abs(s) >= d.step && (
|
|
495
|
+
function xe(n, d) {
|
|
496
|
+
const s = (n - d.min) % d.step;
|
|
497
|
+
let i = n - s;
|
|
498
|
+
return 2 * Math.abs(s) >= d.step && (i += s > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
|
|
499
499
|
}
|
|
500
|
-
let
|
|
501
|
-
function d(
|
|
500
|
+
let we = function(n) {
|
|
501
|
+
function d(i) {
|
|
502
502
|
var t;
|
|
503
|
-
(t =
|
|
503
|
+
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
504
504
|
t.onEnd();
|
|
505
505
|
}, t.onMouseUp = () => {
|
|
506
506
|
t.onEnd(t.getMouseEventMap());
|
|
507
|
-
}, t.onTouchEnd = (
|
|
508
|
-
|
|
507
|
+
}, t.onTouchEnd = (a) => {
|
|
508
|
+
a.preventDefault(), t.onEnd(t.getTouchEventMap());
|
|
509
509
|
}, t.onBlur = () => {
|
|
510
510
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
511
|
-
}, t.onMouseMove = (
|
|
511
|
+
}, t.onMouseMove = (a) => {
|
|
512
512
|
t.setState({ pending: !0 });
|
|
513
|
-
const
|
|
514
|
-
t.move(
|
|
515
|
-
}, t.onTouchMove = (
|
|
516
|
-
if (
|
|
513
|
+
const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), p = t.getValueFromPosition(u);
|
|
514
|
+
t.move(p);
|
|
515
|
+
}, t.onTouchMove = (a) => {
|
|
516
|
+
if (a.touches.length > 1) return;
|
|
517
517
|
t.setState({ pending: !0 });
|
|
518
|
-
const
|
|
518
|
+
const l = t.getTouchPosition(a);
|
|
519
519
|
if (t.isScrolling === void 0) {
|
|
520
|
-
const
|
|
521
|
-
t.isScrolling = Math.abs(
|
|
520
|
+
const m = l[0] - t.startPosition[0], y = l[1] - t.startPosition[1];
|
|
521
|
+
t.isScrolling = Math.abs(y) > Math.abs(m);
|
|
522
522
|
}
|
|
523
523
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
524
|
-
const
|
|
525
|
-
t.move(
|
|
526
|
-
}, t.onKeyDown = (
|
|
527
|
-
if (!(
|
|
524
|
+
const u = t.getDiffPosition(l[0]), p = t.getValueFromPosition(u);
|
|
525
|
+
t.move(p);
|
|
526
|
+
}, t.onKeyDown = (a) => {
|
|
527
|
+
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
528
528
|
case "ArrowLeft":
|
|
529
529
|
case "ArrowDown":
|
|
530
530
|
case "Left":
|
|
531
531
|
case "Down":
|
|
532
|
-
|
|
532
|
+
a.preventDefault(), t.moveDownByStep();
|
|
533
533
|
break;
|
|
534
534
|
case "ArrowRight":
|
|
535
535
|
case "ArrowUp":
|
|
536
536
|
case "Right":
|
|
537
537
|
case "Up":
|
|
538
|
-
|
|
538
|
+
a.preventDefault(), t.moveUpByStep();
|
|
539
539
|
break;
|
|
540
540
|
case "Home":
|
|
541
|
-
|
|
541
|
+
a.preventDefault(), t.move(t.props.min);
|
|
542
542
|
break;
|
|
543
543
|
case "End":
|
|
544
|
-
|
|
544
|
+
a.preventDefault(), t.move(t.props.max);
|
|
545
545
|
break;
|
|
546
546
|
case "PageDown":
|
|
547
|
-
|
|
547
|
+
a.preventDefault(), t.moveDownByStep(t.props.pageFn(t.props.step));
|
|
548
548
|
break;
|
|
549
549
|
case "PageUp":
|
|
550
|
-
|
|
550
|
+
a.preventDefault(), t.moveUpByStep(t.props.pageFn(t.props.step));
|
|
551
551
|
}
|
|
552
|
-
}, t.onSliderMouseDown = (
|
|
553
|
-
if (!t.props.disabled &&
|
|
552
|
+
}, t.onSliderMouseDown = (a) => {
|
|
553
|
+
if (!t.props.disabled && a.button !== 2) {
|
|
554
554
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
555
|
-
const
|
|
556
|
-
t.forceValueFromPosition(
|
|
557
|
-
t.start(
|
|
555
|
+
const l = t.getMousePosition(a);
|
|
556
|
+
t.forceValueFromPosition(l[0], (u) => {
|
|
557
|
+
t.start(u, l[0]), se(t.getMouseEventMap());
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
|
|
560
|
+
pe(a);
|
|
561
561
|
}
|
|
562
|
-
}, t.onSliderClick = (
|
|
562
|
+
}, t.onSliderClick = (a) => {
|
|
563
563
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
564
|
-
const
|
|
565
|
-
t.props.onSliderClick(
|
|
564
|
+
const l = t.getMousePosition(a), u = Z(t.calcValue(t.calcOffsetFromPosition(l[0])), t.props);
|
|
565
|
+
t.props.onSliderClick(u);
|
|
566
566
|
}
|
|
567
|
-
}, t.createOnKeyDown = (
|
|
568
|
-
t.props.disabled || (t.start(
|
|
569
|
-
}, t.createOnMouseDown = (
|
|
570
|
-
if (t.props.disabled ||
|
|
567
|
+
}, t.createOnKeyDown = (a) => (l) => {
|
|
568
|
+
t.props.disabled || (t.start(a), se(t.getKeyDownEventMap()), pe(l));
|
|
569
|
+
}, t.createOnMouseDown = (a) => (l) => {
|
|
570
|
+
if (t.props.disabled || l.button === 2) return;
|
|
571
571
|
t.setState({ pending: !0 });
|
|
572
|
-
const
|
|
573
|
-
t.start(
|
|
574
|
-
}, t.createOnTouchStart = (
|
|
575
|
-
if (t.props.disabled ||
|
|
572
|
+
const u = t.getMousePosition(l);
|
|
573
|
+
t.start(a, u[0]), se(t.getMouseEventMap()), pe(l);
|
|
574
|
+
}, t.createOnTouchStart = (a) => (l) => {
|
|
575
|
+
if (t.props.disabled || l.touches.length > 1) return;
|
|
576
576
|
t.setState({ pending: !0 });
|
|
577
|
-
const
|
|
578
|
-
t.startPosition =
|
|
579
|
-
|
|
580
|
-
}(
|
|
577
|
+
const u = t.getTouchPosition(l);
|
|
578
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), se(t.getTouchEventMap()), function(p) {
|
|
579
|
+
p.stopPropagation && p.stopPropagation();
|
|
580
|
+
}(l);
|
|
581
581
|
}, t.handleResize = () => {
|
|
582
|
-
const
|
|
582
|
+
const a = window.setTimeout(() => {
|
|
583
583
|
t.pendingResizeTimeouts.shift(), t.resize();
|
|
584
584
|
}, 0);
|
|
585
|
-
t.pendingResizeTimeouts.push(
|
|
586
|
-
}, t.renderThumb = (
|
|
587
|
-
const
|
|
588
|
-
t["thumb" +
|
|
589
|
-
}, key: t.props.thumbClassName + "-" +
|
|
590
|
-
return t.props.ariaValuetext && (
|
|
591
|
-
}, t.renderTrack = (
|
|
592
|
-
const
|
|
593
|
-
return t.props.renderTrack(
|
|
585
|
+
t.pendingResizeTimeouts.push(a);
|
|
586
|
+
}, t.renderThumb = (a, l) => {
|
|
587
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
|
|
588
|
+
t["thumb" + l] = y;
|
|
589
|
+
}, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: l, value: ie(t.state.value), valueNow: t.state.value[l] };
|
|
590
|
+
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, l, u) => {
|
|
592
|
+
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, m = { index: a, value: ie(t.state.value) };
|
|
593
|
+
return t.props.renderTrack(p, m);
|
|
594
594
|
};
|
|
595
|
-
let
|
|
596
|
-
|
|
597
|
-
const
|
|
598
|
-
for (let
|
|
599
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
595
|
+
let r = me(i.value);
|
|
596
|
+
r.length || (r = me(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
597
|
+
const c = [];
|
|
598
|
+
for (let a = 0; a < r.length; a += 1) r[a] = Z(r[a], i), c.push(a);
|
|
599
|
+
return t.resizeObserver = null, t.resizeElementRef = k.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: c }, t;
|
|
600
600
|
}
|
|
601
|
-
|
|
601
|
+
_2(d, n);
|
|
602
602
|
var s = d.prototype;
|
|
603
603
|
return s.componentDidMount = function() {
|
|
604
604
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
605
|
-
}, d.getDerivedStateFromProps = function(
|
|
606
|
-
const
|
|
607
|
-
return
|
|
605
|
+
}, d.getDerivedStateFromProps = function(i, t) {
|
|
606
|
+
const r = me(i.value);
|
|
607
|
+
return r.length ? t.pending ? null : { value: r.map((c) => Z(c, i)) } : null;
|
|
608
608
|
}, s.componentDidUpdate = function() {
|
|
609
609
|
this.state.upperBound === 0 && this.resize();
|
|
610
610
|
}, s.componentWillUnmount = function() {
|
|
611
611
|
this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
|
|
612
|
-
}, s.onEnd = function(
|
|
613
|
-
|
|
614
|
-
Object.keys(t).forEach((
|
|
615
|
-
typeof document < "u" && document.removeEventListener(
|
|
612
|
+
}, s.onEnd = function(i) {
|
|
613
|
+
i && function(t) {
|
|
614
|
+
Object.keys(t).forEach((r) => {
|
|
615
|
+
typeof document < "u" && document.removeEventListener(r, t[r], !1);
|
|
616
616
|
});
|
|
617
|
-
}(
|
|
617
|
+
}(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
618
618
|
}, s.getValue = function() {
|
|
619
|
-
return
|
|
620
|
-
}, s.getClosestIndex = function(
|
|
621
|
-
let t = Number.MAX_VALUE,
|
|
622
|
-
const { value:
|
|
623
|
-
for (let
|
|
624
|
-
const
|
|
625
|
-
|
|
619
|
+
return ie(this.state.value);
|
|
620
|
+
}, s.getClosestIndex = function(i) {
|
|
621
|
+
let t = Number.MAX_VALUE, r = -1;
|
|
622
|
+
const { value: c } = this.state, a = c.length;
|
|
623
|
+
for (let l = 0; l < a; l += 1) {
|
|
624
|
+
const u = this.calcOffset(c[l]), p = Math.abs(i - u);
|
|
625
|
+
p < t && (t = p, r = l);
|
|
626
626
|
}
|
|
627
|
-
return
|
|
628
|
-
}, s.getMousePosition = function(
|
|
629
|
-
return [
|
|
630
|
-
}, s.getTouchPosition = function(
|
|
631
|
-
const t =
|
|
627
|
+
return r;
|
|
628
|
+
}, s.getMousePosition = function(i) {
|
|
629
|
+
return [i["page" + this.axisKey()], i["page" + this.orthogonalAxisKey()]];
|
|
630
|
+
}, s.getTouchPosition = function(i) {
|
|
631
|
+
const t = i.touches[0];
|
|
632
632
|
return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
|
|
633
633
|
}, s.getKeyDownEventMap = function() {
|
|
634
634
|
return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
|
|
@@ -636,82 +636,82 @@ let b2 = function(o) {
|
|
|
636
636
|
return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
|
|
637
637
|
}, s.getTouchEventMap = function() {
|
|
638
638
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
639
|
-
}, s.getValueFromPosition = function(
|
|
640
|
-
const t =
|
|
641
|
-
return
|
|
642
|
-
}, s.getDiffPosition = function(
|
|
643
|
-
let t =
|
|
639
|
+
}, s.getValueFromPosition = function(i) {
|
|
640
|
+
const t = i / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
641
|
+
return Z(this.state.startValue + t, this.props);
|
|
642
|
+
}, s.getDiffPosition = function(i) {
|
|
643
|
+
let t = i - this.state.startPosition;
|
|
644
644
|
return this.props.invert && (t *= -1), t;
|
|
645
645
|
}, s.resize = function() {
|
|
646
|
-
const { slider:
|
|
647
|
-
if (!
|
|
648
|
-
const
|
|
649
|
-
this.state.upperBound ===
|
|
650
|
-
}, s.calcOffset = function(
|
|
646
|
+
const { slider: i, thumb0: t } = this;
|
|
647
|
+
if (!i || !t) return;
|
|
648
|
+
const r = this.sizeKey(), c = i.getBoundingClientRect(), a = i[r], l = c[this.posMaxKey()], u = c[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - p, y = Math.abs(l - u);
|
|
649
|
+
this.state.upperBound === m && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: m, sliderLength: y, thumbSize: p });
|
|
650
|
+
}, s.calcOffset = function(i) {
|
|
651
651
|
const t = this.props.max - this.props.min;
|
|
652
|
-
return t === 0 ? 0 : (
|
|
653
|
-
}, s.calcValue = function(
|
|
654
|
-
return
|
|
655
|
-
}, s.calcOffsetFromPosition = function(
|
|
656
|
-
const { slider: t } = this,
|
|
657
|
-
let
|
|
658
|
-
return this.props.invert && (
|
|
659
|
-
}, s.forceValueFromPosition = function(
|
|
660
|
-
const
|
|
661
|
-
c
|
|
662
|
-
for (let
|
|
663
|
-
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value:
|
|
664
|
-
t(
|
|
652
|
+
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
653
|
+
}, s.calcValue = function(i) {
|
|
654
|
+
return i / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
|
|
655
|
+
}, s.calcOffsetFromPosition = function(i) {
|
|
656
|
+
const { slider: t } = this, r = t.getBoundingClientRect(), c = r[this.posMaxKey()], a = r[this.posMinKey()];
|
|
657
|
+
let l = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? c : a));
|
|
658
|
+
return this.props.invert && (l = this.state.sliderLength - l), l -= this.state.thumbSize / 2, l;
|
|
659
|
+
}, s.forceValueFromPosition = function(i, t) {
|
|
660
|
+
const r = this.calcOffsetFromPosition(i), c = this.getClosestIndex(r), a = Z(this.calcValue(r), this.props), l = this.state.value.slice();
|
|
661
|
+
l[c] = a;
|
|
662
|
+
for (let u = 0; u < l.length - 1; u += 1) if (l[u + 1] - l[u] < this.props.minDistance) return;
|
|
663
|
+
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: l }, () => {
|
|
664
|
+
t(c), this.fireChangeEvent("onChange");
|
|
665
665
|
});
|
|
666
666
|
}, s.clearPendingResizeTimeouts = function() {
|
|
667
667
|
do {
|
|
668
|
-
const
|
|
669
|
-
clearTimeout(
|
|
668
|
+
const i = this.pendingResizeTimeouts.shift();
|
|
669
|
+
clearTimeout(i);
|
|
670
670
|
} while (this.pendingResizeTimeouts.length);
|
|
671
|
-
}, s.start = function(
|
|
672
|
-
const
|
|
673
|
-
|
|
674
|
-
const { zIndices:
|
|
675
|
-
|
|
676
|
-
}, s.moveUpByStep = function(
|
|
677
|
-
|
|
678
|
-
const t = this.state.value[this.state.index],
|
|
679
|
-
this.move(Math.min(
|
|
680
|
-
}, s.moveDownByStep = function(
|
|
681
|
-
|
|
682
|
-
const t = this.state.value[this.state.index],
|
|
683
|
-
this.move(Math.max(
|
|
684
|
-
}, s.move = function(
|
|
685
|
-
const t = this.state.value.slice(), { index:
|
|
686
|
-
if (
|
|
671
|
+
}, s.start = function(i, t) {
|
|
672
|
+
const r = this["thumb" + i];
|
|
673
|
+
r && r.focus();
|
|
674
|
+
const { zIndices: c } = this.state;
|
|
675
|
+
c.splice(c.indexOf(i), 1), c.push(i), this.setState((a) => ({ startValue: a.value[i], startPosition: t !== void 0 ? t : a.startPosition, index: i, zIndices: c }));
|
|
676
|
+
}, s.moveUpByStep = function(i) {
|
|
677
|
+
i === void 0 && (i = this.props.step);
|
|
678
|
+
const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
|
|
679
|
+
this.move(Math.min(r, this.props.max));
|
|
680
|
+
}, s.moveDownByStep = function(i) {
|
|
681
|
+
i === void 0 && (i = this.props.step);
|
|
682
|
+
const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
|
|
683
|
+
this.move(Math.max(r, this.props.min));
|
|
684
|
+
}, s.move = function(i) {
|
|
685
|
+
const t = this.state.value.slice(), { index: r } = this.state, { length: c } = t, a = t[r];
|
|
686
|
+
if (i === a) return;
|
|
687
687
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
688
|
-
const { pearling:
|
|
689
|
-
if (!
|
|
690
|
-
if (
|
|
691
|
-
const
|
|
692
|
-
|
|
688
|
+
const { pearling: l, max: u, min: p, minDistance: m } = this.props;
|
|
689
|
+
if (!l) {
|
|
690
|
+
if (r > 0) {
|
|
691
|
+
const y = t[r - 1];
|
|
692
|
+
i < y + m && (i = y + m);
|
|
693
693
|
}
|
|
694
|
-
if (
|
|
695
|
-
const
|
|
696
|
-
|
|
694
|
+
if (r < c - 1) {
|
|
695
|
+
const y = t[r + 1];
|
|
696
|
+
i > y - m && (i = y - m);
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
t[
|
|
700
|
-
for (let
|
|
701
|
-
const
|
|
702
|
-
g[
|
|
699
|
+
t[r] = i, l && c > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(y, g, C, b) {
|
|
700
|
+
for (let f = 0; f < y; f += 1) {
|
|
701
|
+
const v = b - f * C;
|
|
702
|
+
g[y - 1 - f] > v && (g[y - 1 - f] = v);
|
|
703
703
|
}
|
|
704
|
-
}(
|
|
705
|
-
for (let
|
|
706
|
-
const
|
|
707
|
-
g[
|
|
704
|
+
}(c, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(y, g, C, b) {
|
|
705
|
+
for (let f = 0; f < y; f += 1) {
|
|
706
|
+
const v = b + f * C;
|
|
707
|
+
g[f] < v && (g[f] = v);
|
|
708
708
|
}
|
|
709
|
-
}(
|
|
710
|
-
}, s.pushSucceeding = function(
|
|
711
|
-
let
|
|
712
|
-
for (
|
|
713
|
-
}, s.pushPreceding = function(
|
|
714
|
-
for (let
|
|
709
|
+
}(c, t, m, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
710
|
+
}, s.pushSucceeding = function(i, t, r) {
|
|
711
|
+
let c, a;
|
|
712
|
+
for (c = r, a = i[c] + t; i[c + 1] !== null && a > i[c + 1]; c += 1, a = i[c] + t) i[c + 1] = xe(a, this.props);
|
|
713
|
+
}, s.pushPreceding = function(i, t, r) {
|
|
714
|
+
for (let c = r, a = i[c] - t; i[c - 1] !== null && a < i[c - 1]; c -= 1, a = i[c] - t) i[c - 1] = xe(a, this.props);
|
|
715
715
|
}, s.axisKey = function() {
|
|
716
716
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
717
717
|
}, s.orthogonalAxisKey = function() {
|
|
@@ -722,100 +722,100 @@ let b2 = function(o) {
|
|
|
722
722
|
return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
|
|
723
723
|
}, s.sizeKey = function() {
|
|
724
724
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
725
|
-
}, s.fireChangeEvent = function(
|
|
726
|
-
this.props[
|
|
727
|
-
}, s.buildThumbStyle = function(
|
|
728
|
-
const
|
|
729
|
-
return
|
|
730
|
-
}, s.buildTrackStyle = function(
|
|
731
|
-
const
|
|
732
|
-
return
|
|
733
|
-
}, s.buildMarkStyle = function(
|
|
725
|
+
}, s.fireChangeEvent = function(i) {
|
|
726
|
+
this.props[i] && this.props[i](ie(this.state.value), this.state.index);
|
|
727
|
+
}, s.buildThumbStyle = function(i, t) {
|
|
728
|
+
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
729
|
+
return r[this.posMinKey()] = i + "px", r;
|
|
730
|
+
}, s.buildTrackStyle = function(i, t) {
|
|
731
|
+
const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
|
|
732
|
+
return r[this.posMinKey()] = i, r[this.posMaxKey()] = t, r;
|
|
733
|
+
}, s.buildMarkStyle = function(i) {
|
|
734
734
|
var t;
|
|
735
|
-
return (t = { position: "absolute" })[this.posMinKey()] =
|
|
736
|
-
}, s.renderThumbs = function(
|
|
737
|
-
const { length: t } =
|
|
738
|
-
for (let
|
|
739
|
-
const
|
|
740
|
-
for (let
|
|
741
|
-
return
|
|
742
|
-
}, s.renderTracks = function(
|
|
743
|
-
const t = [],
|
|
744
|
-
t.push(this.renderTrack(0, 0,
|
|
745
|
-
for (let
|
|
746
|
-
return t.push(this.renderTrack(
|
|
735
|
+
return (t = { position: "absolute" })[this.posMinKey()] = i, t;
|
|
736
|
+
}, s.renderThumbs = function(i) {
|
|
737
|
+
const { length: t } = i, r = [];
|
|
738
|
+
for (let a = 0; a < t; a += 1) r[a] = this.buildThumbStyle(i[a], a);
|
|
739
|
+
const c = [];
|
|
740
|
+
for (let a = 0; a < t; a += 1) c[a] = this.renderThumb(r[a], a);
|
|
741
|
+
return c;
|
|
742
|
+
}, s.renderTracks = function(i) {
|
|
743
|
+
const t = [], r = i.length - 1;
|
|
744
|
+
t.push(this.renderTrack(0, 0, i[0]));
|
|
745
|
+
for (let c = 0; c < r; c += 1) t.push(this.renderTrack(c + 1, i[c], i[c + 1]));
|
|
746
|
+
return t.push(this.renderTrack(r + 1, i[r], this.state.upperBound)), t;
|
|
747
747
|
}, s.renderMarks = function() {
|
|
748
|
-
let { marks:
|
|
748
|
+
let { marks: i } = this.props;
|
|
749
749
|
const t = this.props.max - this.props.min + 1;
|
|
750
|
-
return typeof
|
|
751
|
-
const
|
|
752
|
-
return this.props.renderMark(
|
|
750
|
+
return typeof i == "boolean" ? i = Array.from({ length: t }).map((r, c) => c) : typeof i == "number" && (i = Array.from({ length: t }).map((r, c) => c).filter((r) => r % i == 0)), i.map(parseFloat).sort((r, c) => r - c).map((r) => {
|
|
751
|
+
const c = this.calcOffset(r), a = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(c) };
|
|
752
|
+
return this.props.renderMark(a);
|
|
753
753
|
});
|
|
754
754
|
}, s.render = function() {
|
|
755
|
-
const
|
|
756
|
-
for (let
|
|
757
|
-
const
|
|
758
|
-
return
|
|
759
|
-
this.slider =
|
|
760
|
-
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick },
|
|
755
|
+
const i = [], { value: t } = this.state, r = t.length;
|
|
756
|
+
for (let u = 0; u < r; u += 1) i[u] = this.calcOffset(t[u], u);
|
|
757
|
+
const c = this.props.withTracks ? this.renderTracks(i) : null, a = this.renderThumbs(i), l = this.props.marks ? this.renderMarks() : null;
|
|
758
|
+
return k.createElement("div", { ref: (u) => {
|
|
759
|
+
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 }, c, a, l);
|
|
761
761
|
}, d;
|
|
762
|
-
}(
|
|
763
|
-
|
|
764
|
-
var
|
|
765
|
-
const
|
|
766
|
-
container:
|
|
767
|
-
unitLabel:
|
|
768
|
-
slider:
|
|
769
|
-
thumb:
|
|
770
|
-
track:
|
|
771
|
-
labels:
|
|
772
|
-
},
|
|
773
|
-
min:
|
|
762
|
+
}(k.Component);
|
|
763
|
+
we.displayName = "ReactSlider", we.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) => k.createElement("div", n), renderTrack: (n) => k.createElement("div", n), renderMark: (n) => k.createElement("span", n) };
|
|
764
|
+
var x2 = we;
|
|
765
|
+
const w2 = "_container_15vgv_2", k2 = "_unitLabel_15vgv_9", N2 = "_slider_15vgv_12", S2 = "_thumb_15vgv_18", M2 = "_track_15vgv_27", F2 = "_labels_15vgv_33", Y = {
|
|
766
|
+
container: w2,
|
|
767
|
+
unitLabel: k2,
|
|
768
|
+
slider: N2,
|
|
769
|
+
thumb: S2,
|
|
770
|
+
track: M2,
|
|
771
|
+
labels: F2
|
|
772
|
+
}, Je = ({
|
|
773
|
+
min: n = 0,
|
|
774
774
|
max: d = 100,
|
|
775
775
|
step: s = 1,
|
|
776
|
-
onChange:
|
|
776
|
+
onChange: i,
|
|
777
777
|
width: t = 300,
|
|
778
|
-
unit:
|
|
779
|
-
fontColor:
|
|
780
|
-
defaultValue:
|
|
778
|
+
unit: r,
|
|
779
|
+
fontColor: c = "#605B56",
|
|
780
|
+
defaultValue: a
|
|
781
781
|
}) => {
|
|
782
|
-
const { t:
|
|
783
|
-
|
|
782
|
+
const { t: l } = N(), [u, p] = D([n, d]), m = (y) => {
|
|
783
|
+
p(y), i == null || i({ min: y[0], max: y[1] });
|
|
784
784
|
};
|
|
785
|
-
return
|
|
786
|
-
|
|
787
|
-
}, [
|
|
785
|
+
return B(() => {
|
|
786
|
+
a && p([a]);
|
|
787
|
+
}, [a]), /* @__PURE__ */ h(
|
|
788
788
|
"div",
|
|
789
789
|
{
|
|
790
|
-
className:
|
|
791
|
-
style: { width: `${t}px`, color: `${
|
|
790
|
+
className: Y.container,
|
|
791
|
+
style: { width: `${t}px`, color: `${c}` },
|
|
792
792
|
children: [
|
|
793
|
-
/* @__PURE__ */
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
|
|
793
|
+
/* @__PURE__ */ o("div", { className: Y.unitLabel, children: /* @__PURE__ */ o("span", { children: l(r) }) }),
|
|
794
|
+
/* @__PURE__ */ o(
|
|
795
|
+
x2,
|
|
796
796
|
{
|
|
797
|
-
className:
|
|
798
|
-
thumbClassName:
|
|
799
|
-
trackClassName:
|
|
800
|
-
min:
|
|
797
|
+
className: Y.slider,
|
|
798
|
+
thumbClassName: Y.thumb,
|
|
799
|
+
trackClassName: Y.track,
|
|
800
|
+
min: n,
|
|
801
801
|
max: d,
|
|
802
802
|
step: s,
|
|
803
|
-
value:
|
|
804
|
-
onAfterChange:
|
|
803
|
+
value: u,
|
|
804
|
+
onAfterChange: m,
|
|
805
805
|
withTracks: !0,
|
|
806
806
|
pearling: !0,
|
|
807
807
|
minDistance: 0.1
|
|
808
808
|
}
|
|
809
809
|
),
|
|
810
|
-
/* @__PURE__ */
|
|
811
|
-
/* @__PURE__ */
|
|
812
|
-
/* @__PURE__ */
|
|
810
|
+
/* @__PURE__ */ h("div", { className: Y.labels, children: [
|
|
811
|
+
/* @__PURE__ */ o("span", { children: u[0] }),
|
|
812
|
+
/* @__PURE__ */ o("span", { children: u[1] })
|
|
813
813
|
] })
|
|
814
814
|
]
|
|
815
815
|
}
|
|
816
816
|
);
|
|
817
817
|
};
|
|
818
|
-
|
|
818
|
+
Je.propTypes = {
|
|
819
819
|
min: e.number,
|
|
820
820
|
max: e.number,
|
|
821
821
|
step: e.number,
|
|
@@ -827,158 +827,158 @@ z2.propTypes = {
|
|
|
827
827
|
fontColor: e.string,
|
|
828
828
|
value: e.arrayOf(e.number)
|
|
829
829
|
};
|
|
830
|
-
const
|
|
831
|
-
tematicalFiltersInputContainer:
|
|
832
|
-
inputTypeContainer:
|
|
833
|
-
checkboxContainer:
|
|
834
|
-
absoluteSliderContainer:
|
|
835
|
-
},
|
|
836
|
-
indicator:
|
|
830
|
+
const D2 = "_tematicalFiltersInputContainer_1vm1r_2", L2 = "_inputTypeContainer_1vm1r_2", B2 = "_checkboxContainer_1vm1r_28", T2 = "_absoluteSliderContainer_1vm1r_37", oe = {
|
|
831
|
+
tematicalFiltersInputContainer: D2,
|
|
832
|
+
inputTypeContainer: L2,
|
|
833
|
+
checkboxContainer: B2,
|
|
834
|
+
absoluteSliderContainer: T2
|
|
835
|
+
}, Le = ({
|
|
836
|
+
indicator: n,
|
|
837
837
|
//onChangeBothType
|
|
838
838
|
activeColor: d
|
|
839
839
|
}) => {
|
|
840
|
-
const [s,
|
|
840
|
+
const [s, i] = D(), {
|
|
841
841
|
type: t,
|
|
842
|
-
name:
|
|
843
|
-
values:
|
|
844
|
-
minValue:
|
|
845
|
-
maxValue:
|
|
846
|
-
unit:
|
|
847
|
-
step:
|
|
848
|
-
} =
|
|
842
|
+
name: r,
|
|
843
|
+
values: c,
|
|
844
|
+
minValue: a,
|
|
845
|
+
maxValue: l,
|
|
846
|
+
unit: u,
|
|
847
|
+
step: p
|
|
848
|
+
} = n || {}, m = ae(
|
|
849
849
|
() => t == "cat" || s == "cat",
|
|
850
850
|
[s, t]
|
|
851
|
-
),
|
|
851
|
+
), y = ae(
|
|
852
852
|
() => t == "abs" || s == "abs",
|
|
853
853
|
[s, t]
|
|
854
854
|
), {
|
|
855
855
|
tematicalFiltersSelected: g,
|
|
856
856
|
selectedIndicator: C,
|
|
857
|
-
fontColor:
|
|
858
|
-
inputsColor:
|
|
859
|
-
} =
|
|
860
|
-
if (
|
|
861
|
-
const { min: _, max:
|
|
862
|
-
let
|
|
863
|
-
|
|
864
|
-
let
|
|
865
|
-
(
|
|
857
|
+
fontColor: b,
|
|
858
|
+
inputsColor: f
|
|
859
|
+
} = L((w) => w), v = (w) => {
|
|
860
|
+
if (w) {
|
|
861
|
+
const { min: _, max: S, valueClicked: M, allValues: E } = w || {}, { code: Q, type: le } = n || {}, ce = y ? "abs" : m ? "cat" : "both";
|
|
862
|
+
let R = Q[0];
|
|
863
|
+
le == "both" && (R = ce == "cat" ? Q[1] : Q[0]), ce == "cat" ? L.setState((z) => {
|
|
864
|
+
let P = z.tematicalFiltersSelected.find(
|
|
865
|
+
(T) => T.code === R
|
|
866
866
|
);
|
|
867
|
-
if (
|
|
868
|
-
let
|
|
869
|
-
return
|
|
870
|
-
(
|
|
871
|
-
) :
|
|
872
|
-
tematicalFiltersSelected:
|
|
873
|
-
(
|
|
867
|
+
if (P) {
|
|
868
|
+
let T = [P.values];
|
|
869
|
+
return P.values.includes(M) ? T = P.values.filter(
|
|
870
|
+
(A) => A !== M
|
|
871
|
+
) : T = [...P.values, M], T.length == E.length ? {
|
|
872
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
873
|
+
(A) => A.code !== R
|
|
874
874
|
)
|
|
875
875
|
} : {
|
|
876
|
-
tematicalFiltersSelected:
|
|
877
|
-
(
|
|
876
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
877
|
+
(A) => A.code === R ? { ...A, values: T } : A
|
|
878
878
|
)
|
|
879
879
|
};
|
|
880
880
|
} else {
|
|
881
|
-
let
|
|
881
|
+
let T = E.map((A, mt) => mt);
|
|
882
882
|
return {
|
|
883
883
|
tematicalFiltersSelected: [
|
|
884
884
|
...g,
|
|
885
885
|
{
|
|
886
886
|
type: "cat",
|
|
887
|
-
code:
|
|
888
|
-
values:
|
|
889
|
-
name:
|
|
887
|
+
code: R,
|
|
888
|
+
values: T.filter((A) => A !== M),
|
|
889
|
+
name: n.name
|
|
890
890
|
}
|
|
891
891
|
]
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
|
-
}) :
|
|
895
|
-
let
|
|
896
|
-
(
|
|
894
|
+
}) : ce == "abs" && L.setState((z) => {
|
|
895
|
+
let P = z.tematicalFiltersSelected.find(
|
|
896
|
+
(T) => T.code === R
|
|
897
897
|
);
|
|
898
|
-
if (_ ==
|
|
898
|
+
if (_ == n.minValue && S == n.maxValue)
|
|
899
899
|
return {
|
|
900
|
-
tematicalFiltersSelected:
|
|
901
|
-
(
|
|
900
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
901
|
+
(T) => T.code !== R
|
|
902
902
|
)
|
|
903
903
|
};
|
|
904
|
-
if (
|
|
905
|
-
let
|
|
906
|
-
return
|
|
907
|
-
tematicalFiltersSelected:
|
|
908
|
-
(
|
|
904
|
+
if (P) {
|
|
905
|
+
let T = { ...P };
|
|
906
|
+
return T.min = _, T.max = S, {
|
|
907
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
908
|
+
(A) => A.code === R ? T : A
|
|
909
909
|
)
|
|
910
910
|
};
|
|
911
911
|
} else
|
|
912
912
|
return {
|
|
913
913
|
tematicalFiltersSelected: [
|
|
914
914
|
...g,
|
|
915
|
-
{ type: "abs", code:
|
|
915
|
+
{ type: "abs", code: R, min: _, max: S }
|
|
916
916
|
]
|
|
917
917
|
};
|
|
918
918
|
});
|
|
919
919
|
}
|
|
920
|
-
},
|
|
921
|
-
const
|
|
920
|
+
}, x = ae(() => {
|
|
921
|
+
const w = {};
|
|
922
922
|
if ((g == null ? void 0 : g.length) > 0)
|
|
923
923
|
for (const _ of g)
|
|
924
|
-
_.type === "cat" ?
|
|
925
|
-
return
|
|
924
|
+
_.type === "cat" ? w[_.code] = new Set(_.values) : w[_.code] = [_.min, _.max];
|
|
925
|
+
return w;
|
|
926
926
|
}, [g]);
|
|
927
|
-
return /* @__PURE__ */
|
|
928
|
-
|
|
927
|
+
return /* @__PURE__ */ o("div", { className: oe.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
928
|
+
G,
|
|
929
929
|
{
|
|
930
930
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
931
|
-
title:
|
|
932
|
-
isOpen: C == `id${
|
|
933
|
-
onClick: () =>
|
|
934
|
-
selectedIndicator: C == `id${
|
|
931
|
+
title: r,
|
|
932
|
+
isOpen: C == `id${r}`,
|
|
933
|
+
onClick: () => L.setState(() => ({
|
|
934
|
+
selectedIndicator: C == `id${r}` ? "" : `id${r}`
|
|
935
935
|
})),
|
|
936
936
|
showBottomBar: !1,
|
|
937
937
|
height: 38,
|
|
938
938
|
titleMarginChildren: 14,
|
|
939
939
|
className: "tematicalFiltersInputContainer",
|
|
940
|
-
color:
|
|
940
|
+
color: b,
|
|
941
941
|
activeColor: d,
|
|
942
942
|
children: [
|
|
943
|
-
t == "both" && /* @__PURE__ */
|
|
943
|
+
t == "both" && /* @__PURE__ */ h(
|
|
944
944
|
"div",
|
|
945
945
|
{
|
|
946
|
-
className:
|
|
947
|
-
style: { color:
|
|
946
|
+
className: oe.inputTypeContainer,
|
|
947
|
+
style: { color: b },
|
|
948
948
|
children: [
|
|
949
|
-
/* @__PURE__ */
|
|
950
|
-
/* @__PURE__ */
|
|
949
|
+
/* @__PURE__ */ h("label", { children: [
|
|
950
|
+
/* @__PURE__ */ o(
|
|
951
951
|
"input",
|
|
952
952
|
{
|
|
953
953
|
type: "radio",
|
|
954
954
|
name: "tipo",
|
|
955
955
|
value: "abs",
|
|
956
956
|
onChange: () => {
|
|
957
|
-
|
|
957
|
+
i("abs");
|
|
958
958
|
},
|
|
959
959
|
style: {
|
|
960
960
|
marginRight: 4,
|
|
961
|
-
backgroundColor: s == "abs" ?
|
|
962
|
-
border: `1.5px solid ${s == "abs" ?
|
|
961
|
+
backgroundColor: s == "abs" ? f : "white",
|
|
962
|
+
border: `1.5px solid ${s == "abs" ? f : b}`
|
|
963
963
|
}
|
|
964
964
|
}
|
|
965
965
|
),
|
|
966
966
|
"Absoluto"
|
|
967
967
|
] }),
|
|
968
|
-
/* @__PURE__ */
|
|
969
|
-
/* @__PURE__ */
|
|
968
|
+
/* @__PURE__ */ h("label", { children: [
|
|
969
|
+
/* @__PURE__ */ o(
|
|
970
970
|
"input",
|
|
971
971
|
{
|
|
972
972
|
type: "radio",
|
|
973
973
|
name: "tipo",
|
|
974
974
|
value: "cat",
|
|
975
975
|
onChange: () => {
|
|
976
|
-
|
|
976
|
+
i("cat");
|
|
977
977
|
},
|
|
978
978
|
style: {
|
|
979
979
|
marginRight: 4,
|
|
980
|
-
backgroundColor: s == "cat" ?
|
|
981
|
-
border: `1.5px solid ${s == "cat" ?
|
|
980
|
+
backgroundColor: s == "cat" ? f : "white",
|
|
981
|
+
border: `1.5px solid ${s == "cat" ? f : b}`
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
),
|
|
@@ -987,34 +987,34 @@ const mt = "_tematicalFiltersInputContainer_1vm1r_2", ut = "_inputTypeContainer_
|
|
|
987
987
|
]
|
|
988
988
|
}
|
|
989
989
|
),
|
|
990
|
-
|
|
991
|
-
var
|
|
992
|
-
return /* @__PURE__ */
|
|
993
|
-
|
|
990
|
+
m && /* @__PURE__ */ o("div", { className: oe.checkboxContainer, children: c.map((w, _) => {
|
|
991
|
+
var S;
|
|
992
|
+
return /* @__PURE__ */ o(
|
|
993
|
+
Xe,
|
|
994
994
|
{
|
|
995
|
-
onClick: () =>
|
|
996
|
-
indicator:
|
|
997
|
-
value: ((
|
|
995
|
+
onClick: () => v({ valueClicked: _, allValues: c }),
|
|
996
|
+
indicator: w,
|
|
997
|
+
value: ((S = x[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(_)) || !x[n.code[t == "both" ? 1 : 0]]
|
|
998
998
|
},
|
|
999
999
|
`checkbox-${_}`
|
|
1000
1000
|
);
|
|
1001
1001
|
}) }),
|
|
1002
|
-
|
|
1003
|
-
|
|
1002
|
+
y && /* @__PURE__ */ o("div", { className: oe.absoluteSliderContainer, children: /* @__PURE__ */ o(
|
|
1003
|
+
Je,
|
|
1004
1004
|
{
|
|
1005
|
-
onChange:
|
|
1006
|
-
min:
|
|
1007
|
-
max:
|
|
1008
|
-
unit:
|
|
1009
|
-
value:
|
|
1010
|
-
step:
|
|
1005
|
+
onChange: v,
|
|
1006
|
+
min: a,
|
|
1007
|
+
max: l,
|
|
1008
|
+
unit: u,
|
|
1009
|
+
value: x[n.code[0]],
|
|
1010
|
+
step: p
|
|
1011
1011
|
}
|
|
1012
1012
|
) })
|
|
1013
1013
|
]
|
|
1014
1014
|
}
|
|
1015
1015
|
) });
|
|
1016
1016
|
};
|
|
1017
|
-
|
|
1017
|
+
Le.propTypes = {
|
|
1018
1018
|
indicator: e.shape({
|
|
1019
1019
|
name: e.string,
|
|
1020
1020
|
type: e.string,
|
|
@@ -1029,21 +1029,21 @@ k2.propTypes = {
|
|
|
1029
1029
|
activeColor: e.string
|
|
1030
1030
|
//onChangeBothType: PropTypes.func,
|
|
1031
1031
|
};
|
|
1032
|
-
const
|
|
1033
|
-
subcategory:
|
|
1032
|
+
const Qe = ({
|
|
1033
|
+
subcategory: n,
|
|
1034
1034
|
fontColor: d,
|
|
1035
1035
|
activeColor: s
|
|
1036
1036
|
//onChangeBothType,
|
|
1037
1037
|
}) => {
|
|
1038
|
-
const { activeSubcategory:
|
|
1039
|
-
return /* @__PURE__ */
|
|
1040
|
-
|
|
1038
|
+
const { activeSubcategory: i } = L((c) => c), { name: t, indicators: r } = n || {};
|
|
1039
|
+
return /* @__PURE__ */ o(
|
|
1040
|
+
G,
|
|
1041
1041
|
{
|
|
1042
1042
|
title: t,
|
|
1043
|
-
isOpen:
|
|
1043
|
+
isOpen: i == `id${t}`,
|
|
1044
1044
|
onClick: () => {
|
|
1045
|
-
|
|
1046
|
-
activeSubcategory:
|
|
1045
|
+
L.setState((c) => ({
|
|
1046
|
+
activeSubcategory: c.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1047
1047
|
}));
|
|
1048
1048
|
},
|
|
1049
1049
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
@@ -1052,19 +1052,19 @@ const j2 = ({
|
|
|
1052
1052
|
height: 48,
|
|
1053
1053
|
color: d,
|
|
1054
1054
|
activeColor: s,
|
|
1055
|
-
children:
|
|
1056
|
-
|
|
1055
|
+
children: r == null ? void 0 : r.map((c, a) => /* @__PURE__ */ o(
|
|
1056
|
+
Le,
|
|
1057
1057
|
{
|
|
1058
|
-
indicator:
|
|
1058
|
+
indicator: c,
|
|
1059
1059
|
fontColor: d,
|
|
1060
1060
|
activeColor: s
|
|
1061
1061
|
},
|
|
1062
|
-
`indicatorSub-${
|
|
1062
|
+
`indicatorSub-${a}`
|
|
1063
1063
|
))
|
|
1064
1064
|
}
|
|
1065
1065
|
);
|
|
1066
1066
|
};
|
|
1067
|
-
|
|
1067
|
+
Qe.propTypes = {
|
|
1068
1068
|
subcategory: e.shape({
|
|
1069
1069
|
name: e.string,
|
|
1070
1070
|
indicators: e.arrayOf(
|
|
@@ -1077,47 +1077,47 @@ j2.propTypes = {
|
|
|
1077
1077
|
activeColor: e.string
|
|
1078
1078
|
//onChangeBothType: PropTypes.func,
|
|
1079
1079
|
};
|
|
1080
|
-
const
|
|
1081
|
-
category:
|
|
1080
|
+
const et = ({
|
|
1081
|
+
category: n,
|
|
1082
1082
|
// onChangeBothType,
|
|
1083
1083
|
activeColor: d
|
|
1084
1084
|
}) => {
|
|
1085
|
-
const { name: s, subcategories:
|
|
1086
|
-
return
|
|
1087
|
-
|
|
1085
|
+
const { name: s, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: c } = L((a) => a);
|
|
1086
|
+
return n && /* @__PURE__ */ o(
|
|
1087
|
+
G,
|
|
1088
1088
|
{
|
|
1089
1089
|
onClick: () => {
|
|
1090
|
-
|
|
1091
|
-
activeCategory:
|
|
1090
|
+
L.setState((a) => ({
|
|
1091
|
+
activeCategory: r === `id${s}` ? "" : `id${s}`
|
|
1092
1092
|
}));
|
|
1093
1093
|
},
|
|
1094
1094
|
title: s,
|
|
1095
|
-
isOpen:
|
|
1095
|
+
isOpen: r === `id${s}`,
|
|
1096
1096
|
titleFontStyles: { fontSize: 18, fontWeight: "bold" },
|
|
1097
1097
|
showBottomBar: !1,
|
|
1098
|
-
color:
|
|
1098
|
+
color: c,
|
|
1099
1099
|
activeColor: d,
|
|
1100
|
-
children:
|
|
1101
|
-
|
|
1100
|
+
children: i ? i.map((a, l) => /* @__PURE__ */ o(
|
|
1101
|
+
Qe,
|
|
1102
1102
|
{
|
|
1103
|
-
subcategory:
|
|
1104
|
-
fontColor:
|
|
1103
|
+
subcategory: a,
|
|
1104
|
+
fontColor: c,
|
|
1105
1105
|
activeColor: d
|
|
1106
1106
|
},
|
|
1107
|
-
`subcategory-${
|
|
1108
|
-
)) : t && t.map((
|
|
1109
|
-
|
|
1107
|
+
`subcategory-${l}`
|
|
1108
|
+
)) : t && t.map((a, l) => /* @__PURE__ */ o(
|
|
1109
|
+
Le,
|
|
1110
1110
|
{
|
|
1111
|
-
indicator:
|
|
1112
|
-
fontColor:
|
|
1111
|
+
indicator: a,
|
|
1112
|
+
fontColor: c,
|
|
1113
1113
|
activeColor: d
|
|
1114
1114
|
},
|
|
1115
|
-
`indicator-${
|
|
1115
|
+
`indicator-${l}`
|
|
1116
1116
|
))
|
|
1117
1117
|
}
|
|
1118
1118
|
);
|
|
1119
1119
|
};
|
|
1120
|
-
|
|
1120
|
+
et.propTypes = {
|
|
1121
1121
|
category: e.shape({
|
|
1122
1122
|
name: e.string.isRequired,
|
|
1123
1123
|
subcategories: e.array,
|
|
@@ -1126,40 +1126,40 @@ Z2.propTypes = {
|
|
|
1126
1126
|
activeColor: e.string
|
|
1127
1127
|
//onChangeBothType: PropTypes.func,
|
|
1128
1128
|
};
|
|
1129
|
-
const
|
|
1130
|
-
indicators:
|
|
1129
|
+
const tt = ({
|
|
1130
|
+
indicators: n,
|
|
1131
1131
|
isOpen: d = !0,
|
|
1132
1132
|
title: s,
|
|
1133
|
-
fontColor:
|
|
1133
|
+
fontColor: i = "#605B56",
|
|
1134
1134
|
//The color of the slider and the checkbox when is checked
|
|
1135
1135
|
inputsColor: t = "#605B56",
|
|
1136
|
-
activeColor:
|
|
1136
|
+
activeColor: r
|
|
1137
1137
|
}) => {
|
|
1138
|
-
const { tematicalFiltersSelected:
|
|
1139
|
-
return
|
|
1140
|
-
|
|
1141
|
-
}, [
|
|
1142
|
-
t &&
|
|
1143
|
-
}, [t]), /* @__PURE__ */
|
|
1144
|
-
|
|
1138
|
+
const { tematicalFiltersSelected: c } = L((l) => l), { t: a } = N();
|
|
1139
|
+
return B(() => {
|
|
1140
|
+
i && L.setState(() => ({ fontColor: i }));
|
|
1141
|
+
}, [i]), B(() => {
|
|
1142
|
+
t && L.setState(() => ({ inputsColor: t }));
|
|
1143
|
+
}, [t]), /* @__PURE__ */ o(
|
|
1144
|
+
G,
|
|
1145
1145
|
{
|
|
1146
1146
|
isOpen: d,
|
|
1147
|
-
title: s ?
|
|
1148
|
-
color:
|
|
1149
|
-
activeColor:
|
|
1150
|
-
children:
|
|
1151
|
-
|
|
1147
|
+
title: s ? a(s) : "Tematical filters",
|
|
1148
|
+
color: i,
|
|
1149
|
+
activeColor: r,
|
|
1150
|
+
children: n == null ? void 0 : n.map((l, u) => /* @__PURE__ */ o(
|
|
1151
|
+
et,
|
|
1152
1152
|
{
|
|
1153
|
-
category:
|
|
1154
|
-
fontColor:
|
|
1155
|
-
activeColor:
|
|
1153
|
+
category: l,
|
|
1154
|
+
fontColor: i,
|
|
1155
|
+
activeColor: r
|
|
1156
1156
|
},
|
|
1157
|
-
`category-${
|
|
1157
|
+
`category-${u}`
|
|
1158
1158
|
))
|
|
1159
1159
|
}
|
|
1160
1160
|
);
|
|
1161
1161
|
};
|
|
1162
|
-
|
|
1162
|
+
tt.propTypes = {
|
|
1163
1163
|
isOpen: e.bool,
|
|
1164
1164
|
title: e.string,
|
|
1165
1165
|
indicators: e.arrayOf(e.object),
|
|
@@ -1168,87 +1168,87 @@ H2.propTypes = {
|
|
|
1168
1168
|
inputsColor: e.string,
|
|
1169
1169
|
activeColor: e.string
|
|
1170
1170
|
};
|
|
1171
|
-
const
|
|
1172
|
-
FiltersAmbitContainer:
|
|
1173
|
-
FiltersAmbitHeader:
|
|
1174
|
-
FiltersAmbitTitle:
|
|
1175
|
-
FiltersAmbitDescription:
|
|
1176
|
-
FiltersAmbitDescriptionTitle:
|
|
1177
|
-
warning:
|
|
1178
|
-
},
|
|
1179
|
-
ambitName:
|
|
1171
|
+
const V2 = "_FiltersAmbitContainer_1g9xx_2", $2 = "_FiltersAmbitHeader_1g9xx_7", A2 = "_FiltersAmbitTitle_1g9xx_15", I2 = "_FiltersAmbitDescription_1g9xx_22", O2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", R2 = "_warning_1g9xx_37", W = {
|
|
1172
|
+
FiltersAmbitContainer: V2,
|
|
1173
|
+
FiltersAmbitHeader: $2,
|
|
1174
|
+
FiltersAmbitTitle: A2,
|
|
1175
|
+
FiltersAmbitDescription: I2,
|
|
1176
|
+
FiltersAmbitDescriptionTitle: O2,
|
|
1177
|
+
warning: R2
|
|
1178
|
+
}, E2 = ({
|
|
1179
|
+
ambitName: n,
|
|
1180
1180
|
ambitDescription: d,
|
|
1181
1181
|
defaultFilters: s,
|
|
1182
|
-
indicators:
|
|
1182
|
+
indicators: i,
|
|
1183
1183
|
activeColor: t,
|
|
1184
|
-
textColor:
|
|
1185
|
-
backgroundColor:
|
|
1186
|
-
onChangeAppliedFilters:
|
|
1187
|
-
saveAmbit:
|
|
1188
|
-
namePlaceholder:
|
|
1189
|
-
descPlaceholder:
|
|
1190
|
-
filtersTypes:
|
|
1191
|
-
nameRequiredText:
|
|
1184
|
+
textColor: r,
|
|
1185
|
+
backgroundColor: c,
|
|
1186
|
+
onChangeAppliedFilters: a,
|
|
1187
|
+
saveAmbit: l,
|
|
1188
|
+
namePlaceholder: u,
|
|
1189
|
+
descPlaceholder: p,
|
|
1190
|
+
filtersTypes: m = ["geographical", "tematical"],
|
|
1191
|
+
nameRequiredText: y
|
|
1192
1192
|
}) => {
|
|
1193
|
-
const { t: g } =
|
|
1194
|
-
|
|
1195
|
-
s && s.length > 0 &&
|
|
1193
|
+
const { t: g } = N(), { tematicalFiltersSelected: C } = L((M) => M), [b, f] = D(n || null), [v, x] = D(d || null), [w, _] = D(!1);
|
|
1194
|
+
B(() => {
|
|
1195
|
+
s && s.length > 0 && L.setState((M) => ({
|
|
1196
1196
|
tematicalFiltersSelected: s
|
|
1197
1197
|
}));
|
|
1198
|
-
}, [s]),
|
|
1199
|
-
console.log("filtersSelected changed: ", C),
|
|
1198
|
+
}, [s]), B(() => {
|
|
1199
|
+
console.log("filtersSelected changed: ", C), a(C);
|
|
1200
1200
|
}, [C]);
|
|
1201
|
-
const
|
|
1202
|
-
|
|
1201
|
+
const S = () => {
|
|
1202
|
+
b ? l({ name: b, description: v }) : _(!0);
|
|
1203
1203
|
};
|
|
1204
|
-
return /* @__PURE__ */
|
|
1205
|
-
/* @__PURE__ */
|
|
1206
|
-
/* @__PURE__ */
|
|
1204
|
+
return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
|
|
1205
|
+
/* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
|
|
1206
|
+
/* @__PURE__ */ o("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ o(
|
|
1207
1207
|
"input",
|
|
1208
1208
|
{
|
|
1209
1209
|
type: "text",
|
|
1210
|
-
onChange: (
|
|
1211
|
-
_(!1),
|
|
1210
|
+
onChange: (M) => {
|
|
1211
|
+
_(!1), f(M.target.value);
|
|
1212
1212
|
},
|
|
1213
|
-
value:
|
|
1214
|
-
placeholder: g(
|
|
1213
|
+
value: b,
|
|
1214
|
+
placeholder: g(u)
|
|
1215
1215
|
}
|
|
1216
1216
|
) }),
|
|
1217
|
-
/* @__PURE__ */
|
|
1217
|
+
/* @__PURE__ */ o("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ o("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ o(
|
|
1218
1218
|
"textarea",
|
|
1219
1219
|
{
|
|
1220
|
-
value:
|
|
1221
|
-
onChange: (
|
|
1222
|
-
placeholder: g(
|
|
1220
|
+
value: v,
|
|
1221
|
+
onChange: (M) => x(M.target.value),
|
|
1222
|
+
placeholder: g(p)
|
|
1223
1223
|
}
|
|
1224
1224
|
) }) })
|
|
1225
1225
|
] }),
|
|
1226
|
-
/* @__PURE__ */
|
|
1227
|
-
|
|
1226
|
+
/* @__PURE__ */ o(
|
|
1227
|
+
Ye,
|
|
1228
1228
|
{
|
|
1229
1229
|
title: g("applied_filters"),
|
|
1230
1230
|
isOpen: !0,
|
|
1231
|
-
textColor:
|
|
1232
|
-
backgroundColor:
|
|
1231
|
+
textColor: r || "#fff",
|
|
1232
|
+
backgroundColor: c || "#605B5680",
|
|
1233
1233
|
activeColor: t
|
|
1234
1234
|
}
|
|
1235
1235
|
),
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1236
|
+
m.includes("geographical") && /* @__PURE__ */ o(We, { activeColor: t }),
|
|
1237
|
+
m.includes("tematical") && /* @__PURE__ */ o(
|
|
1238
|
+
tt,
|
|
1239
1239
|
{
|
|
1240
|
-
indicators:
|
|
1240
|
+
indicators: i,
|
|
1241
1241
|
inputsColor: t,
|
|
1242
|
-
textColor:
|
|
1242
|
+
textColor: r,
|
|
1243
1243
|
title: "tematical_filters",
|
|
1244
1244
|
activeColor: t
|
|
1245
1245
|
}
|
|
1246
1246
|
),
|
|
1247
|
-
|
|
1248
|
-
/* @__PURE__ */
|
|
1247
|
+
w && /* @__PURE__ */ o("div", { className: W.warning, children: g(y) }),
|
|
1248
|
+
/* @__PURE__ */ o("div", { className: "buttonContainer", children: /* @__PURE__ */ o(De, { onClick: () => S(), children: g("save_ambit") }) })
|
|
1249
1249
|
] });
|
|
1250
1250
|
};
|
|
1251
|
-
|
|
1251
|
+
E2.propTypes = {
|
|
1252
1252
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1253
1253
|
ambitName: e.string,
|
|
1254
1254
|
ambitDescription: e.string,
|
|
@@ -1263,88 +1263,88 @@ wt.propTypes = {
|
|
|
1263
1263
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1264
1264
|
nameRequiredText: e.string
|
|
1265
1265
|
};
|
|
1266
|
-
const
|
|
1267
|
-
barChartContainer:
|
|
1268
|
-
},
|
|
1269
|
-
data:
|
|
1266
|
+
const P2 = "_barChartContainer_d2f1z_2", q2 = {
|
|
1267
|
+
barChartContainer: P2
|
|
1268
|
+
}, nt = ({
|
|
1269
|
+
data: n,
|
|
1270
1270
|
width: d = 700,
|
|
1271
1271
|
barHeight: s = 25,
|
|
1272
|
-
gap:
|
|
1272
|
+
gap: i = 23,
|
|
1273
1273
|
fontColor: t = "#605B56",
|
|
1274
|
-
verticalPaddign:
|
|
1275
|
-
horizontalPaddign:
|
|
1276
|
-
leftPadding:
|
|
1277
|
-
numberOfDivisions:
|
|
1278
|
-
maxValue:
|
|
1274
|
+
verticalPaddign: r = 10,
|
|
1275
|
+
horizontalPaddign: c = 20,
|
|
1276
|
+
leftPadding: a = 200,
|
|
1277
|
+
numberOfDivisions: l = 7,
|
|
1278
|
+
maxValue: u = null
|
|
1279
1279
|
}) => {
|
|
1280
|
-
const { t:
|
|
1281
|
-
if (
|
|
1282
|
-
const C = (
|
|
1280
|
+
const { t: p } = N(), { xScale: m, ticks: y, height: g } = ae(() => {
|
|
1281
|
+
if (n && n.length > 0) {
|
|
1282
|
+
const C = (n == null ? void 0 : n.length) * (s + i) + r * 2, b = Ve.max(n, (x) => x.value) || 1, f = Ve.scaleLinear().domain([0, u || b]).range([0, d - a]), v = Array.from({ length: l + 1 }, (x, w) => u ? u / l * w : b / l * w);
|
|
1283
1283
|
return {
|
|
1284
|
-
xScale:
|
|
1285
|
-
ticks:
|
|
1284
|
+
xScale: f,
|
|
1285
|
+
ticks: v,
|
|
1286
1286
|
height: C,
|
|
1287
1287
|
width: d,
|
|
1288
|
-
verticalPaddign:
|
|
1289
|
-
horizontalPaddign:
|
|
1288
|
+
verticalPaddign: r,
|
|
1289
|
+
horizontalPaddign: c
|
|
1290
1290
|
};
|
|
1291
1291
|
} else
|
|
1292
1292
|
return { xScale: null, ticks: [], height: 0 };
|
|
1293
1293
|
}, [
|
|
1294
|
-
o,
|
|
1295
|
-
d,
|
|
1296
|
-
c,
|
|
1297
|
-
s,
|
|
1298
1294
|
n,
|
|
1295
|
+
d,
|
|
1299
1296
|
l,
|
|
1300
|
-
|
|
1301
|
-
|
|
1297
|
+
s,
|
|
1298
|
+
i,
|
|
1299
|
+
c,
|
|
1300
|
+
r,
|
|
1301
|
+
u
|
|
1302
1302
|
]);
|
|
1303
|
-
return /* @__PURE__ */
|
|
1304
|
-
/* @__PURE__ */
|
|
1305
|
-
const
|
|
1306
|
-
return /* @__PURE__ */
|
|
1307
|
-
/* @__PURE__ */
|
|
1303
|
+
return /* @__PURE__ */ o("div", { className: q2.barChartContainer, children: /* @__PURE__ */ o("svg", { width: d + c * 2, height: g, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1304
|
+
/* @__PURE__ */ o("g", { transform: `translate(${a + c}, 0)`, children: y.map((C, b) => {
|
|
1305
|
+
const f = m(C);
|
|
1306
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${f}, 0)`, children: [
|
|
1307
|
+
/* @__PURE__ */ o(
|
|
1308
1308
|
"line",
|
|
1309
1309
|
{
|
|
1310
1310
|
y1: 0,
|
|
1311
|
-
y2: g -
|
|
1311
|
+
y2: g - i * 2,
|
|
1312
1312
|
stroke: "#ccc"
|
|
1313
1313
|
}
|
|
1314
1314
|
),
|
|
1315
|
-
/* @__PURE__ */
|
|
1315
|
+
/* @__PURE__ */ o(
|
|
1316
1316
|
"text",
|
|
1317
1317
|
{
|
|
1318
|
-
y: g -
|
|
1318
|
+
y: g - i,
|
|
1319
1319
|
textAnchor: "middle",
|
|
1320
1320
|
fontSize: 10,
|
|
1321
1321
|
fill: t,
|
|
1322
1322
|
children: parseInt(C)
|
|
1323
1323
|
}
|
|
1324
1324
|
)
|
|
1325
|
-
] },
|
|
1325
|
+
] }, b);
|
|
1326
1326
|
}) }),
|
|
1327
|
-
|
|
1328
|
-
const
|
|
1329
|
-
return /* @__PURE__ */
|
|
1327
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((C, b) => {
|
|
1328
|
+
const f = m(C.value), v = b * (s + i);
|
|
1329
|
+
return /* @__PURE__ */ h(
|
|
1330
1330
|
"g",
|
|
1331
1331
|
{
|
|
1332
|
-
transform: `translate(${
|
|
1332
|
+
transform: `translate(${a + c}, ${v})`,
|
|
1333
1333
|
children: [
|
|
1334
|
-
/* @__PURE__ */
|
|
1334
|
+
/* @__PURE__ */ o(
|
|
1335
1335
|
"text",
|
|
1336
1336
|
{
|
|
1337
1337
|
x: -24,
|
|
1338
1338
|
y: s / 2 + 5,
|
|
1339
1339
|
textAnchor: "end",
|
|
1340
1340
|
fill: t,
|
|
1341
|
-
children:
|
|
1341
|
+
children: p(C.title)
|
|
1342
1342
|
}
|
|
1343
1343
|
),
|
|
1344
|
-
/* @__PURE__ */
|
|
1344
|
+
/* @__PURE__ */ o(
|
|
1345
1345
|
"rect",
|
|
1346
1346
|
{
|
|
1347
|
-
width:
|
|
1347
|
+
width: f,
|
|
1348
1348
|
height: s,
|
|
1349
1349
|
fill: C.color,
|
|
1350
1350
|
rx: 0
|
|
@@ -1352,12 +1352,12 @@ const xt = "_barChartContainer_d2f1z_2", kt = {
|
|
|
1352
1352
|
)
|
|
1353
1353
|
]
|
|
1354
1354
|
},
|
|
1355
|
-
|
|
1355
|
+
b
|
|
1356
1356
|
);
|
|
1357
1357
|
}))
|
|
1358
1358
|
] }) }) });
|
|
1359
1359
|
};
|
|
1360
|
-
|
|
1360
|
+
nt.propTypes = {
|
|
1361
1361
|
data: e.arrayOf(
|
|
1362
1362
|
e.shape({
|
|
1363
1363
|
title: e.string,
|
|
@@ -1373,47 +1373,47 @@ K2.propTypes = {
|
|
|
1373
1373
|
numberOfDivisions: e.number,
|
|
1374
1374
|
fontColor: e.string
|
|
1375
1375
|
};
|
|
1376
|
-
const
|
|
1377
|
-
graphicContainer:
|
|
1378
|
-
titleContainer:
|
|
1379
|
-
},
|
|
1380
|
-
data:
|
|
1376
|
+
const z2 = "_graphicContainer_c9zrg_2", j2 = "_titleContainer_c9zrg_14", Ie = {
|
|
1377
|
+
graphicContainer: z2,
|
|
1378
|
+
titleContainer: j2
|
|
1379
|
+
}, Z2 = ({
|
|
1380
|
+
data: n,
|
|
1381
1381
|
graphWidth: d = 700,
|
|
1382
1382
|
containerStyle: s,
|
|
1383
|
-
borderColor:
|
|
1383
|
+
borderColor: i = "#605B56",
|
|
1384
1384
|
title: t = "Graphic Title",
|
|
1385
|
-
fontColor:
|
|
1386
|
-
maxValue:
|
|
1387
|
-
numberOfDivisions:
|
|
1388
|
-
leftPadding:
|
|
1385
|
+
fontColor: r = "#605B56",
|
|
1386
|
+
maxValue: c = null,
|
|
1387
|
+
numberOfDivisions: a = 7,
|
|
1388
|
+
leftPadding: l = 200
|
|
1389
1389
|
}) => {
|
|
1390
|
-
const { t:
|
|
1391
|
-
return /* @__PURE__ */
|
|
1390
|
+
const { t: u } = N();
|
|
1391
|
+
return /* @__PURE__ */ h(
|
|
1392
1392
|
"div",
|
|
1393
1393
|
{
|
|
1394
|
-
className:
|
|
1394
|
+
className: Ie.graphicContainer,
|
|
1395
1395
|
style: {
|
|
1396
1396
|
...s || {},
|
|
1397
|
-
border: `1.5px solid ${
|
|
1397
|
+
border: `1.5px solid ${i}`
|
|
1398
1398
|
},
|
|
1399
1399
|
children: [
|
|
1400
|
-
/* @__PURE__ */
|
|
1401
|
-
/* @__PURE__ */
|
|
1402
|
-
|
|
1400
|
+
/* @__PURE__ */ o("div", { className: Ie.titleContainer, children: /* @__PURE__ */ o("h2", { children: u(t) }) }),
|
|
1401
|
+
/* @__PURE__ */ o(
|
|
1402
|
+
nt,
|
|
1403
1403
|
{
|
|
1404
|
-
data:
|
|
1404
|
+
data: n,
|
|
1405
1405
|
width: d,
|
|
1406
|
-
fontColor:
|
|
1407
|
-
maxValue:
|
|
1408
|
-
numberOfDivisions:
|
|
1409
|
-
leftPadding:
|
|
1406
|
+
fontColor: r,
|
|
1407
|
+
maxValue: c,
|
|
1408
|
+
numberOfDivisions: a,
|
|
1409
|
+
leftPadding: l
|
|
1410
1410
|
}
|
|
1411
1411
|
)
|
|
1412
1412
|
]
|
|
1413
1413
|
}
|
|
1414
1414
|
);
|
|
1415
1415
|
};
|
|
1416
|
-
|
|
1416
|
+
Z2.propTypes = {
|
|
1417
1417
|
data: e.arrayOf(
|
|
1418
1418
|
e.shape({
|
|
1419
1419
|
color: e.string.isRequired,
|
|
@@ -1430,147 +1430,147 @@ Mt.propTypes = {
|
|
|
1430
1430
|
numberOfDivisions: e.number,
|
|
1431
1431
|
leftPadding: e.number
|
|
1432
1432
|
};
|
|
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
|
-
},
|
|
1449
|
-
indicator:
|
|
1433
|
+
const H2 = "_indicatorsCategory_1cu33_2", K2 = "_title_1cu33_5", U2 = "_list_1cu33_11", he = {
|
|
1434
|
+
indicatorsCategory: H2,
|
|
1435
|
+
title: K2,
|
|
1436
|
+
list: U2
|
|
1437
|
+
}, G2 = "_indicatorContainer_lw8gx_2", Y2 = "_indicatorNameContainer_lw8gx_11", W2 = "_dot_lw8gx_20", X2 = "_indicatorName_lw8gx_11", J2 = "_switchExternalContainer_lw8gx_31", Q2 = "_switchType_lw8gx_40", e0 = "_switchTypeOptions_lw8gx_44", t0 = "_optionContainer_lw8gx_55", n0 = "_customRadious_lw8gx_65", i0 = "_optionText_lw8gx_72", F = {
|
|
1438
|
+
indicatorContainer: G2,
|
|
1439
|
+
indicatorNameContainer: Y2,
|
|
1440
|
+
dot: W2,
|
|
1441
|
+
indicatorName: X2,
|
|
1442
|
+
switchExternalContainer: J2,
|
|
1443
|
+
switchType: Q2,
|
|
1444
|
+
switchTypeOptions: e0,
|
|
1445
|
+
optionContainer: t0,
|
|
1446
|
+
customRadious: n0,
|
|
1447
|
+
optionText: i0
|
|
1448
|
+
}, Be = ({
|
|
1449
|
+
indicator: n,
|
|
1450
1450
|
values: d = [],
|
|
1451
1451
|
activeColor: s,
|
|
1452
|
-
defaultColor:
|
|
1452
|
+
defaultColor: i = "#92898A",
|
|
1453
1453
|
activeIndicator: t,
|
|
1454
|
-
activeIndicatorType:
|
|
1455
|
-
onClickIndicator:
|
|
1456
|
-
multiple:
|
|
1457
|
-
onChangeType:
|
|
1454
|
+
activeIndicatorType: r,
|
|
1455
|
+
onClickIndicator: c,
|
|
1456
|
+
multiple: a = !1,
|
|
1457
|
+
onChangeType: l
|
|
1458
1458
|
}) => {
|
|
1459
|
-
const { t:
|
|
1460
|
-
|
|
1459
|
+
const { t: u } = N(), { name: p, type: m } = n, [y, g] = D(!1);
|
|
1460
|
+
B(() => {
|
|
1461
1461
|
t && g(
|
|
1462
|
-
|
|
1463
|
-
(
|
|
1464
|
-
) : t.name ==
|
|
1462
|
+
a ? t.some(
|
|
1463
|
+
(f) => f.name == String(p)
|
|
1464
|
+
) : t.name == p
|
|
1465
1465
|
);
|
|
1466
1466
|
}, [t]);
|
|
1467
|
-
const C = () => /* @__PURE__ */
|
|
1468
|
-
/* @__PURE__ */
|
|
1467
|
+
const C = () => /* @__PURE__ */ o("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ o("div", { className: F.switchType, children: /* @__PURE__ */ h("div", { className: F.switchTypeOptions, children: [
|
|
1468
|
+
/* @__PURE__ */ h(
|
|
1469
1469
|
"div",
|
|
1470
1470
|
{
|
|
1471
|
-
className:
|
|
1472
|
-
onClick: () =>
|
|
1471
|
+
className: F.optionContainer,
|
|
1472
|
+
onClick: () => l("cat"),
|
|
1473
1473
|
children: [
|
|
1474
|
-
/* @__PURE__ */
|
|
1474
|
+
/* @__PURE__ */ o(
|
|
1475
1475
|
"span",
|
|
1476
1476
|
{
|
|
1477
|
-
className: `${
|
|
1477
|
+
className: `${F.customRadious}`,
|
|
1478
1478
|
style: {
|
|
1479
|
-
backgroundColor:
|
|
1480
|
-
borderColor:
|
|
1479
|
+
backgroundColor: r === "cat" ? s : "transparent",
|
|
1480
|
+
borderColor: r === "cat" ? s : i
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
1483
|
),
|
|
1484
|
-
/* @__PURE__ */
|
|
1484
|
+
/* @__PURE__ */ o(
|
|
1485
1485
|
"h4",
|
|
1486
1486
|
{
|
|
1487
|
-
className:
|
|
1487
|
+
className: F.optionText,
|
|
1488
1488
|
style: {
|
|
1489
|
-
color:
|
|
1489
|
+
color: r === "cat" ? s : i
|
|
1490
1490
|
},
|
|
1491
|
-
children:
|
|
1491
|
+
children: u("indicators.cat")
|
|
1492
1492
|
}
|
|
1493
1493
|
)
|
|
1494
1494
|
]
|
|
1495
1495
|
}
|
|
1496
1496
|
),
|
|
1497
|
-
/* @__PURE__ */
|
|
1497
|
+
/* @__PURE__ */ h(
|
|
1498
1498
|
"div",
|
|
1499
1499
|
{
|
|
1500
|
-
className:
|
|
1501
|
-
onClick: () =>
|
|
1500
|
+
className: F.optionContainer,
|
|
1501
|
+
onClick: () => l("abs"),
|
|
1502
1502
|
children: [
|
|
1503
|
-
/* @__PURE__ */
|
|
1503
|
+
/* @__PURE__ */ o(
|
|
1504
1504
|
"span",
|
|
1505
1505
|
{
|
|
1506
|
-
className: `${
|
|
1506
|
+
className: `${F.customRadious}`,
|
|
1507
1507
|
style: {
|
|
1508
|
-
backgroundColor:
|
|
1509
|
-
borderColor:
|
|
1508
|
+
backgroundColor: r === "abs" ? s : "transparent",
|
|
1509
|
+
borderColor: r === "abs" ? s : i
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
1512
|
),
|
|
1513
|
-
/* @__PURE__ */
|
|
1513
|
+
/* @__PURE__ */ o(
|
|
1514
1514
|
"h4",
|
|
1515
1515
|
{
|
|
1516
|
-
className:
|
|
1516
|
+
className: F.optionText,
|
|
1517
1517
|
style: {
|
|
1518
|
-
color:
|
|
1518
|
+
color: r === "abs" ? s : i
|
|
1519
1519
|
},
|
|
1520
|
-
children:
|
|
1520
|
+
children: u("indicators.abs")
|
|
1521
1521
|
}
|
|
1522
1522
|
)
|
|
1523
1523
|
]
|
|
1524
1524
|
}
|
|
1525
1525
|
)
|
|
1526
|
-
] }) }) }),
|
|
1526
|
+
] }) }) }), b = () => /* @__PURE__ */ o("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ o("div", { className: F.switchType, children: /* @__PURE__ */ o("div", { className: F.switchTypeOptions, children: d.map((f, v) => /* @__PURE__ */ h(
|
|
1527
1527
|
"div",
|
|
1528
1528
|
{
|
|
1529
|
-
className:
|
|
1529
|
+
className: F.optionContainer,
|
|
1530
1530
|
children: [
|
|
1531
|
-
/* @__PURE__ */
|
|
1531
|
+
/* @__PURE__ */ o(
|
|
1532
1532
|
"span",
|
|
1533
1533
|
{
|
|
1534
|
-
className:
|
|
1534
|
+
className: F.customRadious
|
|
1535
1535
|
}
|
|
1536
1536
|
),
|
|
1537
|
-
/* @__PURE__ */
|
|
1537
|
+
/* @__PURE__ */ o("h4", { children: u(f.unit) })
|
|
1538
1538
|
]
|
|
1539
1539
|
},
|
|
1540
|
-
|
|
1540
|
+
v
|
|
1541
1541
|
)) }) }) });
|
|
1542
|
-
return /* @__PURE__ */
|
|
1543
|
-
/* @__PURE__ */
|
|
1542
|
+
return /* @__PURE__ */ h("div", { className: F.indicatorContainer, children: [
|
|
1543
|
+
/* @__PURE__ */ h(
|
|
1544
1544
|
"div",
|
|
1545
1545
|
{
|
|
1546
|
-
className:
|
|
1547
|
-
onClick: () =>
|
|
1546
|
+
className: F.indicatorNameContainer,
|
|
1547
|
+
onClick: () => c({ indicator: n }),
|
|
1548
1548
|
children: [
|
|
1549
|
-
/* @__PURE__ */
|
|
1549
|
+
/* @__PURE__ */ o(
|
|
1550
1550
|
"div",
|
|
1551
1551
|
{
|
|
1552
1552
|
style: {
|
|
1553
|
-
border:
|
|
1553
|
+
border: y ? `1px solid ${s}` : `1px solid ${i}`
|
|
1554
1554
|
},
|
|
1555
|
-
className:
|
|
1555
|
+
className: F.dot
|
|
1556
1556
|
}
|
|
1557
1557
|
),
|
|
1558
|
-
/* @__PURE__ */
|
|
1558
|
+
/* @__PURE__ */ o(
|
|
1559
1559
|
"h4",
|
|
1560
1560
|
{
|
|
1561
|
-
className:
|
|
1562
|
-
style: { color:
|
|
1563
|
-
children: /* @__PURE__ */
|
|
1561
|
+
className: F.indicatorName,
|
|
1562
|
+
style: { color: y ? s : i },
|
|
1563
|
+
children: /* @__PURE__ */ o(Me, { i18nKey: p, components: { sup: /* @__PURE__ */ o("sup", {}) } })
|
|
1564
1564
|
}
|
|
1565
1565
|
)
|
|
1566
1566
|
]
|
|
1567
1567
|
}
|
|
1568
1568
|
),
|
|
1569
|
-
(t == null ? void 0 : t.name) ===
|
|
1570
|
-
(t == null ? void 0 : t.name) ===
|
|
1569
|
+
(t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ o("div", { children: C() }),
|
|
1570
|
+
(t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */ o("div", { children: b() })
|
|
1571
1571
|
] });
|
|
1572
1572
|
};
|
|
1573
|
-
|
|
1573
|
+
Be.propTypes = {
|
|
1574
1574
|
indicator: e.shape({
|
|
1575
1575
|
name: e.string,
|
|
1576
1576
|
type: e.string
|
|
@@ -1582,63 +1582,63 @@ N2.propTypes = {
|
|
|
1582
1582
|
multiple: e.bool,
|
|
1583
1583
|
onClickIndicator: e.func
|
|
1584
1584
|
};
|
|
1585
|
-
const
|
|
1586
|
-
indicatorsSubCategory:
|
|
1587
|
-
list:
|
|
1588
|
-
},
|
|
1589
|
-
subcName:
|
|
1585
|
+
const s0 = "_indicatorsSubCategory_1dzsi_2", o0 = "_list_1dzsi_8", Oe = {
|
|
1586
|
+
indicatorsSubCategory: s0,
|
|
1587
|
+
list: o0
|
|
1588
|
+
}, it = ({
|
|
1589
|
+
subcName: n,
|
|
1590
1590
|
indicators: d,
|
|
1591
1591
|
defaultColor: s,
|
|
1592
|
-
activeColor:
|
|
1592
|
+
activeColor: i,
|
|
1593
1593
|
activeSubCategory: t,
|
|
1594
|
-
onClickSubCategory:
|
|
1595
|
-
id:
|
|
1596
|
-
activeIndicator:
|
|
1597
|
-
onClickIndicator:
|
|
1598
|
-
multiple:
|
|
1599
|
-
activeIndicatorType:
|
|
1600
|
-
onChangeType:
|
|
1594
|
+
onClickSubCategory: r,
|
|
1595
|
+
id: c,
|
|
1596
|
+
activeIndicator: a,
|
|
1597
|
+
onClickIndicator: l,
|
|
1598
|
+
multiple: u,
|
|
1599
|
+
activeIndicatorType: p,
|
|
1600
|
+
onChangeType: m
|
|
1601
1601
|
}) => {
|
|
1602
|
-
const { t:
|
|
1603
|
-
return
|
|
1604
|
-
C(t ==
|
|
1605
|
-
}, [t,
|
|
1606
|
-
|
|
1602
|
+
const { t: y } = N(), [g, C] = D(!1);
|
|
1603
|
+
return B(() => {
|
|
1604
|
+
C(t == c);
|
|
1605
|
+
}, [t, c]), /* @__PURE__ */ h(
|
|
1606
|
+
Fe.div,
|
|
1607
1607
|
{
|
|
1608
|
-
className:
|
|
1608
|
+
className: Oe.indicatorsSubCategory,
|
|
1609
1609
|
initial: { height: "43px" },
|
|
1610
1610
|
animate: { height: g ? "auto" : "43px" },
|
|
1611
1611
|
transition: { duration: 0.4 },
|
|
1612
1612
|
children: [
|
|
1613
|
-
/* @__PURE__ */
|
|
1614
|
-
/* @__PURE__ */
|
|
1615
|
-
/* @__PURE__ */
|
|
1613
|
+
/* @__PURE__ */ o("button", { onClick: () => r(c), children: /* @__PURE__ */ h("h3", { style: { color: g ? i : s }, children: [
|
|
1614
|
+
/* @__PURE__ */ o("span", { style: { color: g ? i : s }, children: g ? "-" : "+" }),
|
|
1615
|
+
/* @__PURE__ */ o(
|
|
1616
1616
|
"span",
|
|
1617
1617
|
{
|
|
1618
|
-
style: { marginLeft: 12, color: g ?
|
|
1619
|
-
children:
|
|
1618
|
+
style: { marginLeft: 12, color: g ? i : s },
|
|
1619
|
+
children: y(n)
|
|
1620
1620
|
}
|
|
1621
1621
|
)
|
|
1622
1622
|
] }) }),
|
|
1623
|
-
d && /* @__PURE__ */
|
|
1624
|
-
|
|
1623
|
+
d && /* @__PURE__ */ o("div", { className: Oe.list, children: d == null ? void 0 : d.map((b, f) => /* @__PURE__ */ o(
|
|
1624
|
+
Be,
|
|
1625
1625
|
{
|
|
1626
|
-
indicator:
|
|
1626
|
+
indicator: b,
|
|
1627
1627
|
defaultColor: s,
|
|
1628
|
-
activeColor:
|
|
1629
|
-
activeIndicator:
|
|
1630
|
-
onClickIndicator:
|
|
1631
|
-
multiple:
|
|
1632
|
-
activeIndicatorType:
|
|
1633
|
-
onChangeType:
|
|
1628
|
+
activeColor: i,
|
|
1629
|
+
activeIndicator: a,
|
|
1630
|
+
onClickIndicator: l,
|
|
1631
|
+
multiple: u,
|
|
1632
|
+
activeIndicatorType: p,
|
|
1633
|
+
onChangeType: m
|
|
1634
1634
|
},
|
|
1635
|
-
"indicator" +
|
|
1635
|
+
"indicator" + f
|
|
1636
1636
|
)) })
|
|
1637
1637
|
]
|
|
1638
1638
|
}
|
|
1639
1639
|
);
|
|
1640
1640
|
};
|
|
1641
|
-
|
|
1641
|
+
it.propTypes = {
|
|
1642
1642
|
subcName: e.string,
|
|
1643
1643
|
indicators: e.array,
|
|
1644
1644
|
activeColor: e.string,
|
|
@@ -1650,29 +1650,29 @@ U2.propTypes = {
|
|
|
1650
1650
|
onClickSubCategory: e.func,
|
|
1651
1651
|
onClickIndicator: e.func
|
|
1652
1652
|
};
|
|
1653
|
-
const
|
|
1654
|
-
cat:
|
|
1653
|
+
const st = ({
|
|
1654
|
+
cat: n,
|
|
1655
1655
|
id: d,
|
|
1656
1656
|
activeColor: s,
|
|
1657
|
-
defaultColor:
|
|
1657
|
+
defaultColor: i,
|
|
1658
1658
|
onClickCategory: t,
|
|
1659
|
-
activeCategory:
|
|
1660
|
-
activeSubCategory:
|
|
1661
|
-
onClickSubCategory:
|
|
1662
|
-
activeIndicator:
|
|
1663
|
-
onClickIndicator:
|
|
1664
|
-
multiple:
|
|
1665
|
-
activeIndicatorType:
|
|
1666
|
-
onChangeType:
|
|
1659
|
+
activeCategory: r,
|
|
1660
|
+
activeSubCategory: c,
|
|
1661
|
+
onClickSubCategory: a,
|
|
1662
|
+
activeIndicator: l,
|
|
1663
|
+
onClickIndicator: u,
|
|
1664
|
+
multiple: p,
|
|
1665
|
+
activeIndicatorType: m,
|
|
1666
|
+
onChangeType: y
|
|
1667
1667
|
}) => {
|
|
1668
|
-
var
|
|
1669
|
-
const { t: g } =
|
|
1670
|
-
return
|
|
1671
|
-
|
|
1672
|
-
}, [
|
|
1673
|
-
|
|
1668
|
+
var f;
|
|
1669
|
+
const { t: g } = N(), [C, b] = D(!1);
|
|
1670
|
+
return B(() => {
|
|
1671
|
+
b(r === d);
|
|
1672
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1673
|
+
Fe.div,
|
|
1674
1674
|
{
|
|
1675
|
-
className:
|
|
1675
|
+
className: he.indicatorsCategory,
|
|
1676
1676
|
initial: { height: "53px" },
|
|
1677
1677
|
animate: { height: C ? "auto" : "53px" },
|
|
1678
1678
|
transition: { duration: 0.4 },
|
|
@@ -1682,55 +1682,55 @@ const G2 = ({
|
|
|
1682
1682
|
marginBottom: C ? "20px" : "0px"
|
|
1683
1683
|
},
|
|
1684
1684
|
children: [
|
|
1685
|
-
/* @__PURE__ */
|
|
1686
|
-
/* @__PURE__ */
|
|
1687
|
-
/* @__PURE__ */
|
|
1685
|
+
/* @__PURE__ */ h("h2", { className: `${he.title}`, onClick: () => t(d), children: [
|
|
1686
|
+
/* @__PURE__ */ o("span", { style: { color: C ? s : i }, children: C ? "-" : "+" }),
|
|
1687
|
+
/* @__PURE__ */ o(
|
|
1688
1688
|
"span",
|
|
1689
1689
|
{
|
|
1690
|
-
style: { marginLeft: 12, color: C ? s :
|
|
1691
|
-
children: g(
|
|
1690
|
+
style: { marginLeft: 12, color: C ? s : i },
|
|
1691
|
+
children: g(n.name)
|
|
1692
1692
|
}
|
|
1693
1693
|
)
|
|
1694
1694
|
] }),
|
|
1695
|
-
|
|
1696
|
-
({ name:
|
|
1697
|
-
|
|
1695
|
+
n.subcategories ? n.subcategories.map(
|
|
1696
|
+
({ name: v, subcategory: x, indicators: w }, _) => /* @__PURE__ */ o(
|
|
1697
|
+
it,
|
|
1698
1698
|
{
|
|
1699
|
-
id:
|
|
1700
|
-
activeSubCategory:
|
|
1701
|
-
subcName:
|
|
1702
|
-
onClickSubCategory:
|
|
1703
|
-
activeIndicator:
|
|
1704
|
-
onClickIndicator:
|
|
1705
|
-
multiple:
|
|
1699
|
+
id: x,
|
|
1700
|
+
activeSubCategory: c,
|
|
1701
|
+
subcName: v,
|
|
1702
|
+
onClickSubCategory: a,
|
|
1703
|
+
activeIndicator: l,
|
|
1704
|
+
onClickIndicator: u,
|
|
1705
|
+
multiple: p,
|
|
1706
1706
|
activeColor: s,
|
|
1707
|
-
defaultColor:
|
|
1708
|
-
indicators:
|
|
1709
|
-
activeIndicatorType:
|
|
1710
|
-
onChangeType:
|
|
1707
|
+
defaultColor: i,
|
|
1708
|
+
indicators: w,
|
|
1709
|
+
activeIndicatorType: m,
|
|
1710
|
+
onChangeType: y
|
|
1711
1711
|
},
|
|
1712
1712
|
`subcKey ${_}`
|
|
1713
1713
|
)
|
|
1714
|
-
) : /* @__PURE__ */
|
|
1715
|
-
|
|
1714
|
+
) : /* @__PURE__ */ o("div", { className: he.list, children: (f = n.indicators) == null ? void 0 : f.map((v, x) => /* @__PURE__ */ o(
|
|
1715
|
+
Be,
|
|
1716
1716
|
{
|
|
1717
|
-
indicator:
|
|
1718
|
-
values:
|
|
1717
|
+
indicator: v,
|
|
1718
|
+
values: v.type == "twoUnits" && v.values,
|
|
1719
1719
|
activeColor: s,
|
|
1720
|
-
defaultColor:
|
|
1721
|
-
activeIndicator:
|
|
1722
|
-
onClickIndicator:
|
|
1723
|
-
multiple:
|
|
1724
|
-
activeIndicatorType:
|
|
1725
|
-
onChangeType:
|
|
1720
|
+
defaultColor: i,
|
|
1721
|
+
activeIndicator: l,
|
|
1722
|
+
onClickIndicator: u,
|
|
1723
|
+
multiple: p,
|
|
1724
|
+
activeIndicatorType: m,
|
|
1725
|
+
onChangeType: y
|
|
1726
1726
|
},
|
|
1727
|
-
`indicator${
|
|
1727
|
+
`indicator${x}`
|
|
1728
1728
|
)) })
|
|
1729
1729
|
]
|
|
1730
1730
|
}
|
|
1731
1731
|
);
|
|
1732
1732
|
};
|
|
1733
|
-
|
|
1733
|
+
st.propTypes = {
|
|
1734
1734
|
cat: e.object,
|
|
1735
1735
|
id: e.string,
|
|
1736
1736
|
onChange: e.func,
|
|
@@ -1744,93 +1744,93 @@ G2.propTypes = {
|
|
|
1744
1744
|
activeColor: e.string,
|
|
1745
1745
|
defaultColor: e.string
|
|
1746
1746
|
};
|
|
1747
|
-
const
|
|
1748
|
-
indicatorsList:
|
|
1749
|
-
title:
|
|
1750
|
-
},
|
|
1751
|
-
indicators:
|
|
1747
|
+
const r0 = "_indicatorsList_fklyu_2", a0 = "_title_fklyu_6", Re = {
|
|
1748
|
+
indicatorsList: r0,
|
|
1749
|
+
title: a0
|
|
1750
|
+
}, l0 = ({
|
|
1751
|
+
indicators: n,
|
|
1752
1752
|
activeColor: d,
|
|
1753
1753
|
defaultColor: s = "#92898A",
|
|
1754
1754
|
// Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
|
|
1755
|
-
onChange:
|
|
1755
|
+
onChange: i,
|
|
1756
1756
|
// Selección multiple
|
|
1757
1757
|
multiple: t = !1,
|
|
1758
1758
|
// Si multiple es true, debe ser un array de strings, sino un string
|
|
1759
|
-
defaultValue:
|
|
1759
|
+
defaultValue: r = null,
|
|
1760
1760
|
//si el indicador es tipo "both" cuando se cambia el tipo
|
|
1761
|
-
changeIndType:
|
|
1762
|
-
activeIndicatorType:
|
|
1761
|
+
changeIndType: c,
|
|
1762
|
+
activeIndicatorType: a
|
|
1763
1763
|
}) => {
|
|
1764
|
-
const { t:
|
|
1765
|
-
|
|
1766
|
-
},
|
|
1767
|
-
|
|
1768
|
-
},
|
|
1769
|
-
console.log("onClickIndicator: ", _),
|
|
1770
|
-
},
|
|
1764
|
+
const { t: l } = N(), [u, p] = D(), [m, y] = D(), [g, C] = D(), b = (_) => {
|
|
1765
|
+
p(u == _ ? null : _);
|
|
1766
|
+
}, f = (_) => {
|
|
1767
|
+
y(m == _ ? null : _);
|
|
1768
|
+
}, v = ({ indicator: _ }) => {
|
|
1769
|
+
console.log("onClickIndicator: ", _), x(_);
|
|
1770
|
+
}, x = (_) => {
|
|
1771
1771
|
if (!t)
|
|
1772
1772
|
C(
|
|
1773
1773
|
(g == null ? void 0 : g.name) == _.name ? null : _
|
|
1774
1774
|
);
|
|
1775
1775
|
else {
|
|
1776
|
-
let
|
|
1776
|
+
let S = g && g.length > 0 ? [...g] : [];
|
|
1777
1777
|
C(
|
|
1778
|
-
|
|
1779
|
-
(
|
|
1780
|
-
) ?
|
|
1781
|
-
(
|
|
1782
|
-
) : [...
|
|
1783
|
-
), _.type == "both" &&
|
|
1778
|
+
S != null && S.some(
|
|
1779
|
+
(M) => M.name == _.name
|
|
1780
|
+
) ? S.filter(
|
|
1781
|
+
(M) => M.name != String(_.name)
|
|
1782
|
+
) : [...S, _]
|
|
1783
|
+
), _.type == "both" && c("cat");
|
|
1784
1784
|
}
|
|
1785
1785
|
};
|
|
1786
|
-
|
|
1787
|
-
console.log("activeindicator changed to: ", g),
|
|
1788
|
-
}, [g]),
|
|
1789
|
-
if (
|
|
1790
|
-
if (t &&
|
|
1786
|
+
B(() => {
|
|
1787
|
+
console.log("activeindicator changed to: ", g), i && typeof i == "function" && g && i({ activeIndicator: g });
|
|
1788
|
+
}, [g]), gt(() => {
|
|
1789
|
+
if (r && !g)
|
|
1790
|
+
if (t && r && Array.isArray(r)) {
|
|
1791
1791
|
let _ = g && g.length > 0 ? [...g] : [];
|
|
1792
|
-
C([..._, ...
|
|
1792
|
+
C([..._, ...r]), w(r[0].name);
|
|
1793
1793
|
} else
|
|
1794
|
-
|
|
1794
|
+
x(r), w(r.name);
|
|
1795
1795
|
}, []);
|
|
1796
|
-
const
|
|
1797
|
-
const
|
|
1798
|
-
if (
|
|
1799
|
-
let
|
|
1800
|
-
(
|
|
1796
|
+
const w = (_) => {
|
|
1797
|
+
const S = n.find((M) => {
|
|
1798
|
+
if (M.subcategories) {
|
|
1799
|
+
let E = M.subcategories.find(
|
|
1800
|
+
(Q) => Q.indicators.find((le) => le.name == _)
|
|
1801
1801
|
);
|
|
1802
|
-
if (
|
|
1803
|
-
return
|
|
1802
|
+
if (E)
|
|
1803
|
+
return y(E.subcategory), E;
|
|
1804
1804
|
} else
|
|
1805
|
-
return
|
|
1805
|
+
return M.indicators.some((E) => E.name == _);
|
|
1806
1806
|
});
|
|
1807
|
-
|
|
1807
|
+
S && p(S.category);
|
|
1808
1808
|
};
|
|
1809
|
-
return /* @__PURE__ */
|
|
1810
|
-
/* @__PURE__ */
|
|
1811
|
-
|
|
1812
|
-
|
|
1809
|
+
return /* @__PURE__ */ h("div", { className: Re.indicatorsList, children: [
|
|
1810
|
+
/* @__PURE__ */ o("h2", { className: Re.title, style: { color: s }, children: l("indicators.indicators") }),
|
|
1811
|
+
n.map((_, S) => /* @__PURE__ */ o(
|
|
1812
|
+
st,
|
|
1813
1813
|
{
|
|
1814
1814
|
id: _.category,
|
|
1815
1815
|
cat: _,
|
|
1816
|
-
onClickCategory:
|
|
1817
|
-
activeCategory:
|
|
1818
|
-
onClickSubCategory:
|
|
1819
|
-
activeSubCategory:
|
|
1820
|
-
onClickIndicator:
|
|
1816
|
+
onClickCategory: b,
|
|
1817
|
+
activeCategory: u,
|
|
1818
|
+
onClickSubCategory: f,
|
|
1819
|
+
activeSubCategory: m,
|
|
1820
|
+
onClickIndicator: v,
|
|
1821
1821
|
activeIndicator: g,
|
|
1822
1822
|
activeColor: d,
|
|
1823
1823
|
defaultColor: s,
|
|
1824
1824
|
multiple: t,
|
|
1825
|
-
onChange:
|
|
1826
|
-
onChangeType:
|
|
1827
|
-
activeIndicatorType:
|
|
1825
|
+
onChange: i,
|
|
1826
|
+
onChangeType: c,
|
|
1827
|
+
activeIndicatorType: a
|
|
1828
1828
|
},
|
|
1829
|
-
`categoryKey${
|
|
1829
|
+
`categoryKey${S}`
|
|
1830
1830
|
))
|
|
1831
1831
|
] });
|
|
1832
1832
|
};
|
|
1833
|
-
|
|
1833
|
+
l0.propTypes = {
|
|
1834
1834
|
indicators: e.arrayOf(e.object),
|
|
1835
1835
|
activeColor: e.string,
|
|
1836
1836
|
defaultColor: e.string,
|
|
@@ -1841,43 +1841,43 @@ Ht.propTypes = {
|
|
|
1841
1841
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1842
1842
|
activeIndicatorType: e.string
|
|
1843
1843
|
};
|
|
1844
|
-
const
|
|
1845
|
-
langSelector:
|
|
1846
|
-
currentLang:
|
|
1847
|
-
arrow:
|
|
1848
|
-
prevImg:
|
|
1849
|
-
langMenu:
|
|
1850
|
-
},
|
|
1851
|
-
const [
|
|
1852
|
-
|
|
1844
|
+
const c0 = "_langSelector_o9enq_2", d0 = "_currentLang_o9enq_14", u0 = "_arrow_o9enq_26", p0 = "_prevImg_o9enq_29", m0 = "_langMenu_o9enq_33", X = {
|
|
1845
|
+
langSelector: c0,
|
|
1846
|
+
currentLang: d0,
|
|
1847
|
+
arrow: u0,
|
|
1848
|
+
prevImg: p0,
|
|
1849
|
+
langMenu: m0
|
|
1850
|
+
}, h0 = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1851
|
+
const [i, t] = D(!1), { i18n: r } = N(), c = n.find((l) => l.code == r.language), a = (l) => {
|
|
1852
|
+
r.changeLanguage(l), t(!1);
|
|
1853
1853
|
};
|
|
1854
|
-
return /* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
1854
|
+
return /* @__PURE__ */ h("div", { className: X.langSelector, children: [
|
|
1855
|
+
/* @__PURE__ */ h(
|
|
1856
1856
|
"div",
|
|
1857
1857
|
{
|
|
1858
|
-
className:
|
|
1858
|
+
className: X.currentLang,
|
|
1859
1859
|
onClick: () => {
|
|
1860
|
-
t(!
|
|
1860
|
+
t(!i);
|
|
1861
1861
|
},
|
|
1862
1862
|
children: [
|
|
1863
|
-
s && /* @__PURE__ */
|
|
1864
|
-
(
|
|
1865
|
-
/* @__PURE__ */
|
|
1863
|
+
s && /* @__PURE__ */ o("img", { className: X.prevImg, src: s }),
|
|
1864
|
+
(c == null ? void 0 : c.titleSelected) || (c == null ? void 0 : c.title),
|
|
1865
|
+
/* @__PURE__ */ o("img", { src: d, className: X.arrow })
|
|
1866
1866
|
]
|
|
1867
1867
|
}
|
|
1868
1868
|
),
|
|
1869
|
-
|
|
1869
|
+
i && /* @__PURE__ */ o("div", { className: X.langMenu, children: n.map((l) => /* @__PURE__ */ o(
|
|
1870
1870
|
"button",
|
|
1871
1871
|
{
|
|
1872
|
-
className: (
|
|
1873
|
-
onClick: () =>
|
|
1874
|
-
children:
|
|
1872
|
+
className: (c == null ? void 0 : c.code) == l.code ? X.active : "",
|
|
1873
|
+
onClick: () => a(l.code),
|
|
1874
|
+
children: l.title
|
|
1875
1875
|
},
|
|
1876
|
-
|
|
1876
|
+
l.code
|
|
1877
1877
|
)) })
|
|
1878
1878
|
] });
|
|
1879
1879
|
};
|
|
1880
|
-
|
|
1880
|
+
h0.propTypes = {
|
|
1881
1881
|
langs: e.arrayOf(
|
|
1882
1882
|
e.shape({
|
|
1883
1883
|
code: e.string,
|
|
@@ -1891,103 +1891,103 @@ Xt.propTypes = {
|
|
|
1891
1891
|
arrow: e.object,
|
|
1892
1892
|
imgPrev: e.object
|
|
1893
1893
|
};
|
|
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
|
-
},
|
|
1894
|
+
const g0 = "_legendContainer_atg3j_3", C0 = "_closeButton_atg3j_18", f0 = "_titleContainer_atg3j_46", b0 = "_infoContainer_atg3j_52", y0 = "_titleLegendList_atg3j_63", v0 = "_legendListContainer_atg3j_70", _0 = "_gridContainer_atg3j_70", x0 = "_elementLegendContainer_atg3j_76", w0 = "_colorDot_atg3j_82", k0 = "_absoluteValueContainer_atg3j_88", N0 = "_absoluteValueColor_atg3j_91", S0 = "_absoluteValueText_atg3j_96", M0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1895
|
+
legendContainer: g0,
|
|
1896
|
+
closeButton: C0,
|
|
1897
|
+
titleContainer: f0,
|
|
1898
|
+
infoContainer: b0,
|
|
1899
|
+
titleLegendList: y0,
|
|
1900
|
+
legendListContainer: v0,
|
|
1901
|
+
gridContainer: _0,
|
|
1902
|
+
elementLegendContainer: x0,
|
|
1903
|
+
colorDot: w0,
|
|
1904
|
+
absoluteValueContainer: k0,
|
|
1905
|
+
absoluteValueColor: N0,
|
|
1906
|
+
absoluteValueText: S0,
|
|
1907
|
+
moreInfoContainer: M0
|
|
1908
|
+
}, F0 = ({
|
|
1909
1909
|
//JSON with the styles of the container (optional)
|
|
1910
|
-
containerStyles:
|
|
1910
|
+
containerStyles: n,
|
|
1911
1911
|
//Title on top of the legend
|
|
1912
1912
|
title: d,
|
|
1913
1913
|
//Array to display the info behind the title should have: [{title, value}, ...]
|
|
1914
1914
|
infoList: s,
|
|
1915
1915
|
//Array to display the items of the legend: [{title, color}, ...]
|
|
1916
1916
|
//color should be a string with hexadecimal value
|
|
1917
|
-
legendList:
|
|
1917
|
+
legendList: i,
|
|
1918
1918
|
//If not passed it will read t("mainUser")
|
|
1919
1919
|
legendListTitle: t,
|
|
1920
1920
|
//Should be an object with {maxColor, minColor, maxValue, minValue}
|
|
1921
1921
|
//If this has is not null or undefined, the legendList values wont be displayed.
|
|
1922
1922
|
//It will display only the absolute value indicator.
|
|
1923
|
-
absoluteValue:
|
|
1923
|
+
absoluteValue: r,
|
|
1924
1924
|
//Function to be called when the button is clicked (optional).
|
|
1925
1925
|
//If this is null or undefined the button wont be displayed.
|
|
1926
|
-
onClickMoreInfo:
|
|
1926
|
+
onClickMoreInfo: c,
|
|
1927
1927
|
//If not passed it will read t("moreInformation")
|
|
1928
|
-
buttonTitle:
|
|
1929
|
-
onClickClose:
|
|
1928
|
+
buttonTitle: a,
|
|
1929
|
+
onClickClose: l
|
|
1930
1930
|
}) => {
|
|
1931
|
-
const { t:
|
|
1932
|
-
return /* @__PURE__ */
|
|
1931
|
+
const { t: u } = N();
|
|
1932
|
+
return /* @__PURE__ */ h(
|
|
1933
1933
|
"div",
|
|
1934
1934
|
{
|
|
1935
|
-
style:
|
|
1936
|
-
className: `${
|
|
1935
|
+
style: n ? { ...n } : {},
|
|
1936
|
+
className: `${V.legendContainer}`,
|
|
1937
1937
|
children: [
|
|
1938
|
-
/* @__PURE__ */
|
|
1939
|
-
d && /* @__PURE__ */
|
|
1940
|
-
s && s.length > 0 && /* @__PURE__ */
|
|
1941
|
-
/* @__PURE__ */
|
|
1942
|
-
/* @__PURE__ */
|
|
1938
|
+
/* @__PURE__ */ o("button", { className: V.closeButton, onClick: l }),
|
|
1939
|
+
d && /* @__PURE__ */ o("div", { className: V.titleContainer, children: /* @__PURE__ */ o("h2", { children: d }) }),
|
|
1940
|
+
s && s.length > 0 && /* @__PURE__ */ o("div", { className: V.infoContainer, children: /* @__PURE__ */ o("ul", { children: s.map(({ title: p, value: m }) => /* @__PURE__ */ h("li", { children: [
|
|
1941
|
+
/* @__PURE__ */ o("h3", { className: V.title, children: `${p}:` }),
|
|
1942
|
+
/* @__PURE__ */ h("span", { className: V.value, children: [
|
|
1943
1943
|
" ",
|
|
1944
|
-
|
|
1944
|
+
m
|
|
1945
1945
|
] })
|
|
1946
1946
|
] }, d)) }) }),
|
|
1947
|
-
/* @__PURE__ */
|
|
1948
|
-
/* @__PURE__ */
|
|
1949
|
-
/* @__PURE__ */
|
|
1947
|
+
/* @__PURE__ */ o("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ o(Me, { i18nKey: t, components: { sup: /* @__PURE__ */ o("sup", {}) } }) : u("mainUse") }),
|
|
1948
|
+
/* @__PURE__ */ o("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1949
|
+
/* @__PURE__ */ o(
|
|
1950
1950
|
"div",
|
|
1951
1951
|
{
|
|
1952
|
-
className:
|
|
1952
|
+
className: V.absoluteValueColor,
|
|
1953
1953
|
style: {
|
|
1954
|
-
background: `linear-gradient(to bottom, ${
|
|
1954
|
+
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
1957
|
),
|
|
1958
|
-
/* @__PURE__ */
|
|
1959
|
-
/* @__PURE__ */
|
|
1960
|
-
|
|
1958
|
+
/* @__PURE__ */ h("div", { className: V.absoluteValueText, children: [
|
|
1959
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1960
|
+
r.maxValue,
|
|
1961
1961
|
" ",
|
|
1962
|
-
|
|
1962
|
+
u(r.unit)
|
|
1963
1963
|
] }),
|
|
1964
|
-
/* @__PURE__ */
|
|
1965
|
-
|
|
1964
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1965
|
+
r.minValue,
|
|
1966
1966
|
" ",
|
|
1967
|
-
|
|
1967
|
+
u(r.unit)
|
|
1968
1968
|
] })
|
|
1969
1969
|
] })
|
|
1970
|
-
] }) :
|
|
1971
|
-
({ title:
|
|
1972
|
-
/* @__PURE__ */
|
|
1970
|
+
] }) : i && i.length > 0 && /* @__PURE__ */ o("div", { className: V.gridContainer, children: i.map(
|
|
1971
|
+
({ title: p, color: m }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
|
|
1972
|
+
/* @__PURE__ */ o(
|
|
1973
1973
|
"div",
|
|
1974
1974
|
{
|
|
1975
|
-
className:
|
|
1976
|
-
style: { backgroundColor:
|
|
1975
|
+
className: V.colorDot,
|
|
1976
|
+
style: { backgroundColor: m }
|
|
1977
1977
|
}
|
|
1978
1978
|
),
|
|
1979
|
-
/* @__PURE__ */
|
|
1980
|
-
p
|
|
1979
|
+
/* @__PURE__ */ h("div", { className: V.titleLegendElement, children: [
|
|
1980
|
+
u(p),
|
|
1981
1981
|
" "
|
|
1982
1982
|
] })
|
|
1983
1983
|
] }, d)
|
|
1984
1984
|
) }) }),
|
|
1985
|
-
|
|
1985
|
+
c && /* @__PURE__ */ o("button", { className: V.moreInfoContainer, onClick: c, children: a || u("moreInformation") })
|
|
1986
1986
|
]
|
|
1987
1987
|
}
|
|
1988
1988
|
);
|
|
1989
1989
|
};
|
|
1990
|
-
|
|
1990
|
+
F0.propTypes = {
|
|
1991
1991
|
title: e.string,
|
|
1992
1992
|
containerStyles: e.object,
|
|
1993
1993
|
infoList: e.arrayOf(
|
|
@@ -2013,88 +2013,88 @@ p0.propTypes = {
|
|
|
2013
2013
|
buttonTitle: e.string,
|
|
2014
2014
|
onClickClose: e.func
|
|
2015
2015
|
};
|
|
2016
|
-
const
|
|
2017
|
-
logo:
|
|
2018
|
-
},
|
|
2019
|
-
const { t:
|
|
2020
|
-
return s ? /* @__PURE__ */
|
|
2016
|
+
const D0 = "_logo_1ewa6_2", Ee = {
|
|
2017
|
+
logo: D0
|
|
2018
|
+
}, L0 = ({ src: n, alt: d, href: s }) => {
|
|
2019
|
+
const { t: i } = N(), t = /* @__PURE__ */ o("img", { src: n, alt: i(d) });
|
|
2020
|
+
return s ? /* @__PURE__ */ o("div", { className: Ee.logo, children: /* @__PURE__ */ o("a", { href: s, children: t }) }) : /* @__PURE__ */ o("div", { className: Ee.logo, children: t });
|
|
2021
2021
|
};
|
|
2022
|
-
|
|
2022
|
+
L0.propTypes = {
|
|
2023
2023
|
src: e.string.isRequired,
|
|
2024
2024
|
alt: e.string.isRequired,
|
|
2025
2025
|
href: e.string,
|
|
2026
2026
|
className: e.string
|
|
2027
2027
|
};
|
|
2028
|
-
const
|
|
2029
|
-
mapContainer:
|
|
2028
|
+
const B0 = "_mapContainer_84pkf_2", T0 = {
|
|
2029
|
+
mapContainer: B0
|
|
2030
2030
|
};
|
|
2031
|
-
|
|
2032
|
-
const
|
|
2033
|
-
initialView:
|
|
2031
|
+
ft.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2032
|
+
const V0 = ({
|
|
2033
|
+
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2034
2034
|
maxZoom: d = 17,
|
|
2035
2035
|
minZoom: s = 8,
|
|
2036
|
-
mapStyle:
|
|
2036
|
+
mapStyle: i,
|
|
2037
2037
|
firstSymbolLayer: t,
|
|
2038
|
-
cssProps:
|
|
2039
|
-
onClick:
|
|
2040
|
-
interactiveLayers:
|
|
2041
|
-
popUp:
|
|
2042
|
-
sources:
|
|
2043
|
-
layers:
|
|
2038
|
+
cssProps: r = "",
|
|
2039
|
+
onClick: c = "",
|
|
2040
|
+
interactiveLayers: a = [],
|
|
2041
|
+
popUp: l = !1,
|
|
2042
|
+
sources: u = [],
|
|
2043
|
+
layers: p = []
|
|
2044
2044
|
}) => {
|
|
2045
|
-
const
|
|
2046
|
-
return
|
|
2047
|
-
if (
|
|
2048
|
-
const
|
|
2049
|
-
|
|
2050
|
-
|
|
2045
|
+
const m = Se(), [y, g] = D(null), C = ve((b) => b.mapState.showTexts);
|
|
2046
|
+
return B(() => {
|
|
2047
|
+
if (m.current) {
|
|
2048
|
+
const b = m.current.getMap();
|
|
2049
|
+
b.getStyle().layers.map((v) => {
|
|
2050
|
+
v.type == "symbol" && v.id != "professionals" && (C ? b.setLayoutProperty(v.id, "visibility", "visible") : b.setLayoutProperty(v.id, "visibility", "none"));
|
|
2051
2051
|
});
|
|
2052
2052
|
}
|
|
2053
|
-
}, [C]), /* @__PURE__ */
|
|
2054
|
-
|
|
2053
|
+
}, [C]), /* @__PURE__ */ o("div", { className: `${T0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2054
|
+
bt,
|
|
2055
2055
|
{
|
|
2056
|
-
initialViewState:
|
|
2057
|
-
ref:
|
|
2056
|
+
initialViewState: n,
|
|
2057
|
+
ref: m,
|
|
2058
2058
|
hash: !1,
|
|
2059
2059
|
maxZoom: d,
|
|
2060
2060
|
minZoom: s,
|
|
2061
|
-
mapStyle:
|
|
2062
|
-
onClick:
|
|
2063
|
-
interactiveLayerIds:
|
|
2061
|
+
mapStyle: i,
|
|
2062
|
+
onClick: c,
|
|
2063
|
+
interactiveLayerIds: a,
|
|
2064
2064
|
children: [
|
|
2065
|
-
|
|
2066
|
-
|
|
2065
|
+
u.length && u.map((b, f) => /* @__PURE__ */ o(
|
|
2066
|
+
yt,
|
|
2067
2067
|
{
|
|
2068
|
-
...
|
|
2069
|
-
children:
|
|
2070
|
-
if (
|
|
2071
|
-
|
|
2068
|
+
...b,
|
|
2069
|
+
children: p.length && p.map((v, x) => {
|
|
2070
|
+
if (v.sourceId == b.id) return /* @__PURE__ */ o(
|
|
2071
|
+
vt,
|
|
2072
2072
|
{
|
|
2073
|
-
...
|
|
2073
|
+
...v.layer,
|
|
2074
2074
|
beforeId: t
|
|
2075
2075
|
},
|
|
2076
|
-
|
|
2076
|
+
x
|
|
2077
2077
|
);
|
|
2078
2078
|
})
|
|
2079
2079
|
},
|
|
2080
|
-
|
|
2080
|
+
f
|
|
2081
2081
|
)),
|
|
2082
|
-
/* @__PURE__ */
|
|
2083
|
-
|
|
2084
|
-
|
|
2082
|
+
/* @__PURE__ */ o(_t, { position: "bottom-right", visualizePitch: !0 }),
|
|
2083
|
+
l && y && /* @__PURE__ */ o(
|
|
2084
|
+
xt,
|
|
2085
2085
|
{
|
|
2086
|
-
longitude:
|
|
2087
|
-
latitude:
|
|
2088
|
-
anchor:
|
|
2086
|
+
longitude: l.longitude,
|
|
2087
|
+
latitude: l.latitude,
|
|
2088
|
+
anchor: l.anchor,
|
|
2089
2089
|
onClose: () => g(null),
|
|
2090
|
-
children:
|
|
2090
|
+
children: l.content
|
|
2091
2091
|
}
|
|
2092
2092
|
)
|
|
2093
2093
|
]
|
|
2094
2094
|
}
|
|
2095
2095
|
) });
|
|
2096
2096
|
};
|
|
2097
|
-
|
|
2097
|
+
V0.propTypes = {
|
|
2098
2098
|
initialView: e.shape({
|
|
2099
2099
|
latitude: e.number.isRequired,
|
|
2100
2100
|
longitude: e.number.isRequired,
|
|
@@ -2139,98 +2139,98 @@ C0.propTypes = {
|
|
|
2139
2139
|
})
|
|
2140
2140
|
)
|
|
2141
2141
|
};
|
|
2142
|
-
const
|
|
2143
|
-
mapContainer:
|
|
2144
|
-
},
|
|
2145
|
-
FeaturePopUp:
|
|
2146
|
-
title:
|
|
2147
|
-
},
|
|
2148
|
-
const { t: d } =
|
|
2149
|
-
return /* @__PURE__ */
|
|
2150
|
-
/* @__PURE__ */
|
|
2151
|
-
/* @__PURE__ */
|
|
2142
|
+
const $0 = "_mapContainer_b0pyr_3", A0 = {
|
|
2143
|
+
mapContainer: $0
|
|
2144
|
+
}, I0 = "_FeaturePopUp_1gd6w_2", O0 = "_title_1gd6w_2", Pe = {
|
|
2145
|
+
FeaturePopUp: I0,
|
|
2146
|
+
title: O0
|
|
2147
|
+
}, R0 = ({ props: n }) => {
|
|
2148
|
+
const { t: d } = N();
|
|
2149
|
+
return /* @__PURE__ */ o("div", { className: Pe.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ h("p", { children: [
|
|
2150
|
+
/* @__PURE__ */ h("span", { className: Pe.title, children: [
|
|
2151
|
+
/* @__PURE__ */ o(Me, { i18nKey: s.name, components: { sup: /* @__PURE__ */ o("sup", {}) } }),
|
|
2152
2152
|
": "
|
|
2153
2153
|
] }),
|
|
2154
2154
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2155
2155
|
" ",
|
|
2156
2156
|
d(s.unit)
|
|
2157
2157
|
] })) });
|
|
2158
|
-
},
|
|
2159
|
-
initialView:
|
|
2158
|
+
}, E0 = ({
|
|
2159
|
+
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2160
2160
|
maxZoom: d = 17,
|
|
2161
2161
|
minZoom: s = 8,
|
|
2162
|
-
mapStyle:
|
|
2162
|
+
mapStyle: i,
|
|
2163
2163
|
firstSymbolLayer: t,
|
|
2164
|
-
cssProps:
|
|
2165
|
-
onClick:
|
|
2166
|
-
interactiveLayers:
|
|
2167
|
-
sources:
|
|
2168
|
-
layers:
|
|
2169
|
-
filters:
|
|
2170
|
-
popUpParams:
|
|
2171
|
-
onClosePopUp:
|
|
2164
|
+
cssProps: r = {},
|
|
2165
|
+
onClick: c = "",
|
|
2166
|
+
interactiveLayers: a = [],
|
|
2167
|
+
sources: l = [],
|
|
2168
|
+
layers: u = [],
|
|
2169
|
+
filters: p,
|
|
2170
|
+
popUpParams: m,
|
|
2171
|
+
onClosePopUp: y,
|
|
2172
2172
|
showTexts: g
|
|
2173
2173
|
}) => {
|
|
2174
|
-
console.log(
|
|
2175
|
-
const C =
|
|
2176
|
-
return
|
|
2174
|
+
console.log(p);
|
|
2175
|
+
const C = Se();
|
|
2176
|
+
return B(() => {
|
|
2177
2177
|
if (C.current) {
|
|
2178
|
-
const
|
|
2179
|
-
|
|
2180
|
-
|
|
2178
|
+
const b = C.current.getMap();
|
|
2179
|
+
b.getStyle().layers.map((v) => {
|
|
2180
|
+
v.type == "symbol" && v.id != "professionals" && (g ? b.setLayoutProperty(v.id, "visibility", "visible") : b.setLayoutProperty(v.id, "visibility", "none"));
|
|
2181
2181
|
});
|
|
2182
2182
|
}
|
|
2183
|
-
}, [g]),
|
|
2184
|
-
let
|
|
2185
|
-
return
|
|
2186
|
-
|
|
2183
|
+
}, [g]), B(() => {
|
|
2184
|
+
let b = new wt();
|
|
2185
|
+
return de.addProtocol("pmtiles", b.tile), () => {
|
|
2186
|
+
de.removeProtocol("pmtiles");
|
|
2187
2187
|
};
|
|
2188
|
-
}, []), /* @__PURE__ */
|
|
2189
|
-
|
|
2188
|
+
}, []), /* @__PURE__ */ o("div", { className: `${A0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2189
|
+
kt,
|
|
2190
2190
|
{
|
|
2191
|
-
mapLib:
|
|
2192
|
-
initialViewState:
|
|
2191
|
+
mapLib: de,
|
|
2192
|
+
initialViewState: n,
|
|
2193
2193
|
ref: C,
|
|
2194
2194
|
hash: !1,
|
|
2195
2195
|
maxZoom: d,
|
|
2196
2196
|
minZoom: s,
|
|
2197
|
-
mapStyle:
|
|
2198
|
-
onClick:
|
|
2199
|
-
interactiveLayerIds:
|
|
2197
|
+
mapStyle: i,
|
|
2198
|
+
onClick: c,
|
|
2199
|
+
interactiveLayerIds: a,
|
|
2200
2200
|
children: [
|
|
2201
|
-
|
|
2202
|
-
|
|
2201
|
+
l.length && l.map((b, f) => /* @__PURE__ */ o(
|
|
2202
|
+
Nt,
|
|
2203
2203
|
{
|
|
2204
|
-
...
|
|
2205
|
-
children:
|
|
2206
|
-
if (
|
|
2207
|
-
|
|
2204
|
+
...b,
|
|
2205
|
+
children: u.length && u.map((v, x) => {
|
|
2206
|
+
if (v.sourceId == b.id) return /* @__PURE__ */ o(
|
|
2207
|
+
St,
|
|
2208
2208
|
{
|
|
2209
|
-
...
|
|
2209
|
+
...v.layer,
|
|
2210
2210
|
beforeId: t,
|
|
2211
|
-
filter:
|
|
2211
|
+
filter: p && p
|
|
2212
2212
|
},
|
|
2213
|
-
|
|
2213
|
+
x
|
|
2214
2214
|
);
|
|
2215
2215
|
})
|
|
2216
2216
|
},
|
|
2217
|
-
|
|
2217
|
+
f
|
|
2218
2218
|
)),
|
|
2219
|
-
/* @__PURE__ */
|
|
2220
|
-
|
|
2221
|
-
|
|
2219
|
+
/* @__PURE__ */ o(Mt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2220
|
+
m && /* @__PURE__ */ o(
|
|
2221
|
+
Ft,
|
|
2222
2222
|
{
|
|
2223
|
-
longitude:
|
|
2224
|
-
latitude:
|
|
2225
|
-
onClose:
|
|
2226
|
-
children: /* @__PURE__ */
|
|
2223
|
+
longitude: m.lng,
|
|
2224
|
+
latitude: m.lat,
|
|
2225
|
+
onClose: y,
|
|
2226
|
+
children: /* @__PURE__ */ o(R0, { props: m.props })
|
|
2227
2227
|
}
|
|
2228
2228
|
)
|
|
2229
2229
|
]
|
|
2230
2230
|
}
|
|
2231
2231
|
) });
|
|
2232
2232
|
};
|
|
2233
|
-
|
|
2233
|
+
E0.propTypes = {
|
|
2234
2234
|
initialView: e.shape({
|
|
2235
2235
|
latitude: e.number.isRequired,
|
|
2236
2236
|
longitude: e.number.isRequired,
|
|
@@ -2273,33 +2273,33 @@ w0.propTypes = {
|
|
|
2273
2273
|
popUpParams: e.object,
|
|
2274
2274
|
onClosePopUp: e.func
|
|
2275
2275
|
};
|
|
2276
|
-
const
|
|
2277
|
-
sectionBar:
|
|
2278
|
-
leftContent:
|
|
2279
|
-
textContainer:
|
|
2280
|
-
title:
|
|
2281
|
-
subtitle:
|
|
2282
|
-
rightContent:
|
|
2283
|
-
},
|
|
2284
|
-
leftIcon:
|
|
2276
|
+
const P0 = "_sectionBar_1egwc_2", q0 = "_leftContent_1egwc_14", z0 = "_textContainer_1egwc_20", j0 = "_title_1egwc_27", Z0 = "_subtitle_1egwc_33", H0 = "_rightContent_1egwc_38", H = {
|
|
2277
|
+
sectionBar: P0,
|
|
2278
|
+
leftContent: q0,
|
|
2279
|
+
textContainer: z0,
|
|
2280
|
+
title: j0,
|
|
2281
|
+
subtitle: Z0,
|
|
2282
|
+
rightContent: H0
|
|
2283
|
+
}, Bn = ({
|
|
2284
|
+
leftIcon: n,
|
|
2285
2285
|
title: d,
|
|
2286
2286
|
subtitle: s,
|
|
2287
|
-
rightContent:
|
|
2287
|
+
rightContent: i,
|
|
2288
2288
|
mainColor: t,
|
|
2289
|
-
width:
|
|
2289
|
+
width: r
|
|
2290
2290
|
}) => {
|
|
2291
|
-
const { t:
|
|
2292
|
-
return /* @__PURE__ */
|
|
2293
|
-
/* @__PURE__ */
|
|
2294
|
-
|
|
2295
|
-
/* @__PURE__ */
|
|
2296
|
-
/* @__PURE__ */
|
|
2297
|
-
s && /* @__PURE__ */
|
|
2291
|
+
const { t: c } = N();
|
|
2292
|
+
return /* @__PURE__ */ h("div", { className: H.sectionBar, style: { width: r && r }, children: [
|
|
2293
|
+
/* @__PURE__ */ h("div", { className: H.leftContent, children: [
|
|
2294
|
+
n && /* @__PURE__ */ o("img", { src: n, alt: "Icono", className: H.icon }),
|
|
2295
|
+
/* @__PURE__ */ h("div", { className: H.textContainer, children: [
|
|
2296
|
+
/* @__PURE__ */ o("div", { className: H.title, children: c(d) }),
|
|
2297
|
+
s && /* @__PURE__ */ o("div", { className: H.subtitle, children: s })
|
|
2298
2298
|
] })
|
|
2299
2299
|
] }),
|
|
2300
|
-
/* @__PURE__ */
|
|
2300
|
+
/* @__PURE__ */ o("div", { className: H.rightContent, children: i })
|
|
2301
2301
|
] });
|
|
2302
|
-
},
|
|
2302
|
+
}, K0 = Ue({
|
|
2303
2303
|
name: "mapSlice",
|
|
2304
2304
|
initialState: {
|
|
2305
2305
|
showTexts: !0,
|
|
@@ -2309,52 +2309,52 @@ const x0 = "_sectionBar_1egwc_2", k0 = "_leftContent_1egwc_14", N0 = "_textConta
|
|
|
2309
2309
|
activeIndicatorUnit: null
|
|
2310
2310
|
},
|
|
2311
2311
|
reducers: {
|
|
2312
|
-
setShowTexts: (
|
|
2313
|
-
|
|
2312
|
+
setShowTexts: (n, d) => {
|
|
2313
|
+
n.showTexts = d.payload;
|
|
2314
2314
|
},
|
|
2315
|
-
setYear: (
|
|
2316
|
-
|
|
2315
|
+
setYear: (n, d) => {
|
|
2316
|
+
n.sliderSelectedYear = d.payload;
|
|
2317
2317
|
},
|
|
2318
|
-
setActiveIndicatorKey: (
|
|
2319
|
-
|
|
2318
|
+
setActiveIndicatorKey: (n, d) => {
|
|
2319
|
+
n.activeIndicatorKey = d.payload;
|
|
2320
2320
|
},
|
|
2321
|
-
setActiveIndicatorType: (
|
|
2322
|
-
|
|
2321
|
+
setActiveIndicatorType: (n, d) => {
|
|
2322
|
+
n.activeIndicatorType = d.payload;
|
|
2323
2323
|
},
|
|
2324
|
-
setActiveIndicatorUnit: (
|
|
2325
|
-
|
|
2324
|
+
setActiveIndicatorUnit: (n, d) => {
|
|
2325
|
+
n.activeIndicatorUnit = d.payload;
|
|
2326
2326
|
}
|
|
2327
2327
|
}
|
|
2328
|
-
}), { setShowTexts:
|
|
2329
|
-
slider:
|
|
2330
|
-
playButton:
|
|
2331
|
-
sliderOpen:
|
|
2332
|
-
sliderResults:
|
|
2333
|
-
},
|
|
2334
|
-
const [
|
|
2335
|
-
|
|
2336
|
-
}, [
|
|
2337
|
-
|
|
2328
|
+
}), { setShowTexts: Tn, setYear: ge, setActiveIndicatorKey: Vn, setActiveIndicatorType: $n, setActiveIndicatorUnit: An } = K0.actions, U0 = "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", G0 = "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", Y0 = "_slider_a19yo_2", W0 = "_playButton_a19yo_17", X0 = "_sliderOpen_a19yo_28", J0 = "_sliderResults_a19yo_32", te = {
|
|
2329
|
+
slider: Y0,
|
|
2330
|
+
playButton: W0,
|
|
2331
|
+
sliderOpen: X0,
|
|
2332
|
+
sliderResults: J0
|
|
2333
|
+
}, Q0 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: s = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2334
|
+
const [c, a] = D(d), l = Ke(), u = (v, x) => {
|
|
2335
|
+
a(x), l(ge(x - 2e3));
|
|
2336
|
+
}, [p, m] = D(!1), y = () => {
|
|
2337
|
+
m(!0);
|
|
2338
2338
|
}, g = () => {
|
|
2339
|
-
|
|
2339
|
+
m(!1);
|
|
2340
2340
|
};
|
|
2341
|
-
((
|
|
2342
|
-
const
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
}, [
|
|
2341
|
+
((v, x) => {
|
|
2342
|
+
const w = Se();
|
|
2343
|
+
B(() => {
|
|
2344
|
+
w.current = v;
|
|
2345
|
+
}, [v]), B(() => {
|
|
2346
2346
|
function _() {
|
|
2347
|
-
|
|
2347
|
+
w.current();
|
|
2348
2348
|
}
|
|
2349
2349
|
{
|
|
2350
|
-
let
|
|
2351
|
-
return () => clearInterval(
|
|
2350
|
+
let S = setInterval(_, x);
|
|
2351
|
+
return () => clearInterval(S);
|
|
2352
2352
|
}
|
|
2353
|
-
}, [
|
|
2353
|
+
}, [x]);
|
|
2354
2354
|
})(() => {
|
|
2355
|
-
|
|
2355
|
+
p && (c != 2050 ? (a(c + 1), l(ge(c - 2e3 + 1))) : (a(2025), l(ge(25))));
|
|
2356
2356
|
}, 1e3);
|
|
2357
|
-
const
|
|
2357
|
+
const b = Lt({
|
|
2358
2358
|
palette: {
|
|
2359
2359
|
primary: {
|
|
2360
2360
|
main: "#605b56"
|
|
@@ -2376,43 +2376,43 @@ const x0 = "_sectionBar_1egwc_2", k0 = "_leftContent_1egwc_14", N0 = "_textConta
|
|
|
2376
2376
|
}
|
|
2377
2377
|
}
|
|
2378
2378
|
}
|
|
2379
|
-
}),
|
|
2379
|
+
}), f = [
|
|
2380
2380
|
{ label: "", value: 2025 },
|
|
2381
2381
|
{ label: "", value: 2032 },
|
|
2382
2382
|
{ label: "", value: 2041 },
|
|
2383
2383
|
{ label: "", value: 2050 }
|
|
2384
2384
|
];
|
|
2385
|
-
return /* @__PURE__ */
|
|
2386
|
-
|
|
2385
|
+
return /* @__PURE__ */ o(Tt, { theme: b, children: /* @__PURE__ */ h(
|
|
2386
|
+
Bt,
|
|
2387
2387
|
{
|
|
2388
2388
|
sx: { width: 400 },
|
|
2389
|
-
className: `${
|
|
2389
|
+
className: `${n ? te.sliderResults : te.slider} ${r ? te.sliderOpen : ""}`,
|
|
2390
2390
|
style: { zIndex: t },
|
|
2391
2391
|
children: [
|
|
2392
2392
|
s,
|
|
2393
|
-
/* @__PURE__ */
|
|
2394
|
-
|
|
2393
|
+
/* @__PURE__ */ o(
|
|
2394
|
+
Dt,
|
|
2395
2395
|
{
|
|
2396
2396
|
"aria-label": "TimeSlider",
|
|
2397
|
-
value:
|
|
2397
|
+
value: c,
|
|
2398
2398
|
valueLabelDisplay: "on",
|
|
2399
2399
|
step: 1,
|
|
2400
|
-
marks:
|
|
2400
|
+
marks: f,
|
|
2401
2401
|
min: s,
|
|
2402
|
-
max:
|
|
2403
|
-
onChange:
|
|
2402
|
+
max: i,
|
|
2403
|
+
onChange: u,
|
|
2404
2404
|
color: "primary",
|
|
2405
2405
|
size: "small"
|
|
2406
2406
|
}
|
|
2407
2407
|
),
|
|
2408
|
-
|
|
2409
|
-
!
|
|
2410
|
-
|
|
2408
|
+
i,
|
|
2409
|
+
!p && /* @__PURE__ */ o("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ o("img", { src: U0, alt: "Play" }) }),
|
|
2410
|
+
p && /* @__PURE__ */ o("button", { className: te.playButton, onClick: g, children: /* @__PURE__ */ o("img", { src: G0, alt: "Pause" }) })
|
|
2411
2411
|
]
|
|
2412
2412
|
}
|
|
2413
2413
|
) });
|
|
2414
2414
|
};
|
|
2415
|
-
|
|
2415
|
+
Q0.propTypes = {
|
|
2416
2416
|
defaultYear: e.number,
|
|
2417
2417
|
onResults: e.bool,
|
|
2418
2418
|
firstYear: e.number,
|
|
@@ -2420,32 +2420,32 @@ O0.propTypes = {
|
|
|
2420
2420
|
zIndex: e.number,
|
|
2421
2421
|
rightBarOpen: e.bool
|
|
2422
2422
|
};
|
|
2423
|
-
const
|
|
2424
|
-
TopNavMenuContainer:
|
|
2425
|
-
topNavOptions:
|
|
2426
|
-
active:
|
|
2427
|
-
},
|
|
2428
|
-
options:
|
|
2423
|
+
const e1 = "_TopNavMenuContainer_12mp4_2", t1 = "_topNavOptions_12mp4_13", n1 = "_active_12mp4_27", Ce = {
|
|
2424
|
+
TopNavMenuContainer: e1,
|
|
2425
|
+
topNavOptions: t1,
|
|
2426
|
+
active: n1
|
|
2427
|
+
}, i1 = ({
|
|
2428
|
+
options: n = [],
|
|
2429
2429
|
containerStyles: d,
|
|
2430
2430
|
borderColor: s = "red",
|
|
2431
|
-
textColor:
|
|
2431
|
+
textColor: i = "white"
|
|
2432
2432
|
}) => {
|
|
2433
|
-
const { t } =
|
|
2434
|
-
return /* @__PURE__ */
|
|
2435
|
-
|
|
2433
|
+
const { t } = N();
|
|
2434
|
+
return /* @__PURE__ */ o("div", { className: Ce.TopNavMenuContainer, style: { ...d }, children: n.map((r, c) => /* @__PURE__ */ o(
|
|
2435
|
+
Vt,
|
|
2436
2436
|
{
|
|
2437
|
-
to:
|
|
2438
|
-
className: ({ isActive:
|
|
2439
|
-
style: ({ isActive:
|
|
2440
|
-
color:
|
|
2441
|
-
borderBottom:
|
|
2437
|
+
to: r.url,
|
|
2438
|
+
className: ({ isActive: a }) => `${Ce.topNavOptions} ${a ? Ce.active : ""} `,
|
|
2439
|
+
style: ({ isActive: a }) => ({
|
|
2440
|
+
color: i,
|
|
2441
|
+
borderBottom: a ? `5px solid ${s}` : "5px solid transparent"
|
|
2442
2442
|
}),
|
|
2443
|
-
children: t(
|
|
2443
|
+
children: t(r.name)
|
|
2444
2444
|
},
|
|
2445
|
-
|
|
2445
|
+
c
|
|
2446
2446
|
)) });
|
|
2447
2447
|
};
|
|
2448
|
-
|
|
2448
|
+
i1.propTypes = {
|
|
2449
2449
|
options: e.arrayOf(e.object),
|
|
2450
2450
|
cssProps: e.shape({
|
|
2451
2451
|
borderColor: e.string.isRequired,
|
|
@@ -2455,7 +2455,7 @@ P0.propTypes = {
|
|
|
2455
2455
|
// activeColor: PropTypes.string,
|
|
2456
2456
|
// defaultColor: PropTypes.string
|
|
2457
2457
|
};
|
|
2458
|
-
const
|
|
2458
|
+
const s1 = Ue({
|
|
2459
2459
|
name: "userSlice",
|
|
2460
2460
|
initialState: {
|
|
2461
2461
|
user: {
|
|
@@ -2466,34 +2466,34 @@ const q0 = I2({
|
|
|
2466
2466
|
showUserMenu: !1
|
|
2467
2467
|
},
|
|
2468
2468
|
reducers: {
|
|
2469
|
-
setShowLogIn: (
|
|
2470
|
-
|
|
2469
|
+
setShowLogIn: (n, d) => {
|
|
2470
|
+
n.showLogIn = d.payload;
|
|
2471
2471
|
},
|
|
2472
|
-
setShowUserMenu: (
|
|
2473
|
-
|
|
2472
|
+
setShowUserMenu: (n, d) => {
|
|
2473
|
+
n.showUserMenu = d.payload;
|
|
2474
2474
|
}
|
|
2475
2475
|
}
|
|
2476
|
-
}), { setShowLogIn:
|
|
2477
|
-
UserMenuTrigger:
|
|
2478
|
-
},
|
|
2479
|
-
cssClass:
|
|
2476
|
+
}), { setShowLogIn: o1, setShowUserMenu: r1 } = s1.actions, a1 = "_UserMenuTrigger_uglss_2", l1 = {
|
|
2477
|
+
UserMenuTrigger: a1
|
|
2478
|
+
}, c1 = ({
|
|
2479
|
+
cssClass: n,
|
|
2480
2480
|
loginLocale: d = "login",
|
|
2481
2481
|
containerStyles: s
|
|
2482
2482
|
}) => {
|
|
2483
|
-
const
|
|
2484
|
-
|
|
2483
|
+
const i = Ke(), t = ve((l) => l.userState.user.isLoggedIn), r = ve((l) => l.userState.user.username), { t: c } = N(), a = () => {
|
|
2484
|
+
i(t ? o1(!0) : r1(!0));
|
|
2485
2485
|
};
|
|
2486
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ o(
|
|
2487
2487
|
"div",
|
|
2488
2488
|
{
|
|
2489
2489
|
style: { ...s },
|
|
2490
|
-
className: `${
|
|
2491
|
-
onClick:
|
|
2492
|
-
children: t ?
|
|
2490
|
+
className: `${l1.UserMenuTrigger} link ${n}`,
|
|
2491
|
+
onClick: a,
|
|
2492
|
+
children: t ? r : c(d)
|
|
2493
2493
|
}
|
|
2494
2494
|
);
|
|
2495
2495
|
};
|
|
2496
|
-
|
|
2496
|
+
c1.propTypes = {
|
|
2497
2497
|
onClickLoggedIn: e.func.isRequired,
|
|
2498
2498
|
onClickLoggedOut: e.func.isRequired,
|
|
2499
2499
|
log: e.bool,
|
|
@@ -2501,119 +2501,119 @@ K0.propTypes = {
|
|
|
2501
2501
|
cssClass: e.string,
|
|
2502
2502
|
loginLocale: e.string
|
|
2503
2503
|
};
|
|
2504
|
-
const
|
|
2505
|
-
elementSelector:
|
|
2506
|
-
header:
|
|
2507
|
-
nameDateContainer:
|
|
2508
|
-
elementName:
|
|
2509
|
-
elementDate:
|
|
2510
|
-
buttonsContainer:
|
|
2511
|
-
elementListContainer:
|
|
2512
|
-
newElementButtonContainer:
|
|
2513
|
-
},
|
|
2514
|
-
listElement:
|
|
2515
|
-
elementNameDate:
|
|
2516
|
-
elementNameContainer:
|
|
2517
|
-
elementName:
|
|
2518
|
-
elementDate:
|
|
2519
|
-
elementButtons:
|
|
2504
|
+
const d1 = "_elementSelector_fd7az_2", u1 = "_header_fd7az_13", p1 = "_nameDateContainer_fd7az_23", m1 = "_elementName_fd7az_39", h1 = "_elementDate_fd7az_53", g1 = "_buttonsContainer_fd7az_67", C1 = "_elementListContainer_fd7az_76", f1 = "_newElementButtonContainer_fd7az_80", O = {
|
|
2505
|
+
elementSelector: d1,
|
|
2506
|
+
header: u1,
|
|
2507
|
+
nameDateContainer: p1,
|
|
2508
|
+
elementName: m1,
|
|
2509
|
+
elementDate: h1,
|
|
2510
|
+
buttonsContainer: g1,
|
|
2511
|
+
elementListContainer: C1,
|
|
2512
|
+
newElementButtonContainer: f1
|
|
2513
|
+
}, b1 = "_listElement_1s506_2", y1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27", _1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", w1 = "_elementButtons_1s506_45", k1 = "_moreInfoContainer_1s506_68", N1 = "_moreInfo_1s506_68", I = {
|
|
2514
|
+
listElement: b1,
|
|
2515
|
+
elementNameDate: y1,
|
|
2516
|
+
elementNameContainer: v1,
|
|
2517
|
+
elementName: _1,
|
|
2518
|
+
elementDate: x1,
|
|
2519
|
+
elementButtons: w1,
|
|
2520
2520
|
break: "_break_1s506_63",
|
|
2521
|
-
moreInfoContainer:
|
|
2522
|
-
moreInfo:
|
|
2523
|
-
}, c1 = "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", 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%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", p1 = "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", u1 = "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
|
|
2521
|
+
moreInfoContainer: k1,
|
|
2522
|
+
moreInfo: N1
|
|
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 qe;
|
|
2525
|
+
function ke() {
|
|
2526
|
+
return ke = Object.assign ? Object.assign.bind() : function(n) {
|
|
2527
2527
|
for (var d = 1; d < arguments.length; d++) {
|
|
2528
2528
|
var s = arguments[d];
|
|
2529
|
-
for (var
|
|
2529
|
+
for (var i in s) ({}).hasOwnProperty.call(s, i) && (n[i] = s[i]);
|
|
2530
2530
|
}
|
|
2531
|
-
return
|
|
2532
|
-
},
|
|
2531
|
+
return n;
|
|
2532
|
+
}, ke.apply(null, arguments);
|
|
2533
2533
|
}
|
|
2534
|
-
var
|
|
2535
|
-
return /* @__PURE__ */
|
|
2534
|
+
var B1 = function(d) {
|
|
2535
|
+
return /* @__PURE__ */ J.createElement("svg", ke({
|
|
2536
2536
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2537
2537
|
width: 26,
|
|
2538
2538
|
height: 14,
|
|
2539
2539
|
fill: "none"
|
|
2540
|
-
}, d),
|
|
2540
|
+
}, d), qe || (qe = /* @__PURE__ */ J.createElement("g", {
|
|
2541
2541
|
fill: "currentColor"
|
|
2542
|
-
}, /* @__PURE__ */
|
|
2542
|
+
}, /* @__PURE__ */ J.createElement("path", {
|
|
2543
2543
|
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__ */
|
|
2544
|
+
}), /* @__PURE__ */ J.createElement("path", {
|
|
2545
2545
|
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
2546
|
}))));
|
|
2547
2547
|
};
|
|
2548
|
-
const
|
|
2549
|
-
element:
|
|
2548
|
+
const T1 = "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 = ({
|
|
2549
|
+
element: n,
|
|
2550
2550
|
onClickElement: d,
|
|
2551
2551
|
isActive: s,
|
|
2552
|
-
activeColor:
|
|
2552
|
+
activeColor: i,
|
|
2553
2553
|
fontColor: t,
|
|
2554
|
-
moreInfo:
|
|
2555
|
-
columns:
|
|
2556
|
-
elementButtons:
|
|
2557
|
-
processTooltip:
|
|
2558
|
-
defaultTooltip:
|
|
2554
|
+
moreInfo: r,
|
|
2555
|
+
columns: c,
|
|
2556
|
+
elementButtons: a,
|
|
2557
|
+
processTooltip: l,
|
|
2558
|
+
defaultTooltip: u
|
|
2559
2559
|
}) => {
|
|
2560
|
-
const { nom:
|
|
2561
|
-
return /* @__PURE__ */
|
|
2560
|
+
const { nom: p, created_at: m, id: y, isBeingProcessed: g } = n, [C, b] = D(!1), { t: f } = N();
|
|
2561
|
+
return /* @__PURE__ */ h(
|
|
2562
2562
|
"div",
|
|
2563
2563
|
{
|
|
2564
|
-
className:
|
|
2564
|
+
className: I.listElement,
|
|
2565
2565
|
style: { borderBottom: `1px solid ${t}` },
|
|
2566
2566
|
children: [
|
|
2567
|
-
/* @__PURE__ */
|
|
2568
|
-
|
|
2569
|
-
s ? /* @__PURE__ */
|
|
2567
|
+
/* @__PURE__ */ h("div", { className: I.elementNameDate, onClick: () => d(y), children: [
|
|
2568
|
+
c.nom && /* @__PURE__ */ o("div", { className: I.elementNameContainer, children: /* @__PURE__ */ h("div", { className: I.elementName, children: [
|
|
2569
|
+
s ? /* @__PURE__ */ o(B1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ o(
|
|
2570
2570
|
"img",
|
|
2571
2571
|
{
|
|
2572
2572
|
style: { marginRight: 9 },
|
|
2573
|
-
src:
|
|
2573
|
+
src: T1
|
|
2574
2574
|
}
|
|
2575
2575
|
),
|
|
2576
|
-
/* @__PURE__ */
|
|
2576
|
+
/* @__PURE__ */ o("span", { style: { color: s ? i : t }, children: p })
|
|
2577
2577
|
] }) }),
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2578
|
+
c.data && /* @__PURE__ */ o("div", { className: I.elementDate, children: m ? new Date(m).toLocaleDateString() : "" }),
|
|
2579
|
+
c.ambit && /* @__PURE__ */ o("div", { className: I.elementDate, children: n.ambit }),
|
|
2580
|
+
c.escenari && /* @__PURE__ */ o("div", { className: I.elementDate, children: n.escenari })
|
|
2581
2581
|
] }),
|
|
2582
|
-
/* @__PURE__ */
|
|
2583
|
-
|
|
2584
|
-
/* @__PURE__ */
|
|
2585
|
-
/* @__PURE__ */
|
|
2582
|
+
/* @__PURE__ */ h("div", { className: I.elementButtons, children: [
|
|
2583
|
+
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2584
|
+
/* @__PURE__ */ o("img", { src: D1 }),
|
|
2585
|
+
/* @__PURE__ */ o(U, { text: l, position: "left" })
|
|
2586
2586
|
] }),
|
|
2587
|
-
|
|
2588
|
-
/* @__PURE__ */
|
|
2589
|
-
/* @__PURE__ */
|
|
2587
|
+
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2588
|
+
/* @__PURE__ */ o("button", { onClick: () => a.filter.onclick, children: /* @__PURE__ */ o("img", { src: F1 }) }),
|
|
2589
|
+
/* @__PURE__ */ o(U, { text: a.filter.tooltiptext, position: "left" })
|
|
2590
2590
|
] }),
|
|
2591
|
-
|
|
2592
|
-
/* @__PURE__ */
|
|
2593
|
-
/* @__PURE__ */
|
|
2591
|
+
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2592
|
+
/* @__PURE__ */ o("button", { onClick: () => a.copy.onclick, children: /* @__PURE__ */ o("img", { src: M1 }) }),
|
|
2593
|
+
/* @__PURE__ */ o(U, { text: a.copy.tooltiptext, position: "left" })
|
|
2594
2594
|
] }),
|
|
2595
|
-
|
|
2596
|
-
/* @__PURE__ */
|
|
2597
|
-
/* @__PURE__ */
|
|
2595
|
+
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2596
|
+
/* @__PURE__ */ o("button", { onClick: () => a.trash.onclick, children: /* @__PURE__ */ o("img", { src: S1 }) }),
|
|
2597
|
+
/* @__PURE__ */ o(U, { text: a.trash.tooltiptext, position: "left" })
|
|
2598
2598
|
] }),
|
|
2599
|
-
|
|
2600
|
-
/* @__PURE__ */
|
|
2601
|
-
/* @__PURE__ */
|
|
2599
|
+
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2600
|
+
/* @__PURE__ */ o("img", { src: L1 }),
|
|
2601
|
+
/* @__PURE__ */ o(U, { text: u, position: "left" })
|
|
2602
2602
|
] })
|
|
2603
2603
|
] }),
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
/* @__PURE__ */
|
|
2607
|
-
/* @__PURE__ */
|
|
2608
|
-
|
|
2604
|
+
r && /* @__PURE__ */ o("div", { className: I.break }),
|
|
2605
|
+
r && /* @__PURE__ */ h("div", { className: I.moreInfoContainer, children: [
|
|
2606
|
+
/* @__PURE__ */ h("div", { className: I.moreInfo, onClick: () => b(!C), children: [
|
|
2607
|
+
/* @__PURE__ */ o("span", { children: C ? "-" : "+" }),
|
|
2608
|
+
f(r.label)
|
|
2609
2609
|
] }),
|
|
2610
|
-
|
|
2610
|
+
r && C && /* @__PURE__ */ o("div", { className: I.moreInfoInfo, children: n[r.info] })
|
|
2611
2611
|
] })
|
|
2612
2612
|
]
|
|
2613
2613
|
}
|
|
2614
2614
|
);
|
|
2615
2615
|
};
|
|
2616
|
-
|
|
2616
|
+
ot.propTypes = {
|
|
2617
2617
|
element: e.shape({
|
|
2618
2618
|
nom: e.string.isRequired,
|
|
2619
2619
|
created_at: e.string,
|
|
@@ -2631,95 +2631,95 @@ Y2.propTypes = {
|
|
|
2631
2631
|
moreInfo: e.object
|
|
2632
2632
|
// Optional, can be used for additional info
|
|
2633
2633
|
};
|
|
2634
|
-
const
|
|
2635
|
-
elementsList:
|
|
2634
|
+
const ze = "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", V1 = ({
|
|
2635
|
+
elementsList: n,
|
|
2636
2636
|
activeElementId: d,
|
|
2637
2637
|
fontColor: s = "#605B56",
|
|
2638
|
-
activeColor:
|
|
2638
|
+
activeColor: i,
|
|
2639
2639
|
buttonContainerStyles: t = {},
|
|
2640
|
-
containerStyles:
|
|
2641
|
-
newElementButton:
|
|
2640
|
+
containerStyles: r = {},
|
|
2641
|
+
newElementButton: c,
|
|
2642
2642
|
//{label: 'text', onClick: function()}/null
|
|
2643
|
-
onClickElement:
|
|
2644
|
-
columns:
|
|
2643
|
+
onClickElement: a = (g) => console.log(`OnCLickElement: ${g}`),
|
|
2644
|
+
columns: l,
|
|
2645
2645
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2646
|
-
elementButtons:
|
|
2646
|
+
elementButtons: u,
|
|
2647
2647
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2648
|
-
moreInfo:
|
|
2648
|
+
moreInfo: p = !1,
|
|
2649
2649
|
//{label: 'x'}
|
|
2650
|
-
processTooltip:
|
|
2650
|
+
processTooltip: m,
|
|
2651
2651
|
//texto para el tooltip del simbolo "En proceso"
|
|
2652
|
-
defaultTooltip:
|
|
2652
|
+
defaultTooltip: y
|
|
2653
2653
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2654
2654
|
}) => {
|
|
2655
|
-
const { t: g } =
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
}, [
|
|
2659
|
-
const
|
|
2655
|
+
const { t: g } = N(), [C, b] = D(n);
|
|
2656
|
+
B(() => {
|
|
2657
|
+
n && b(n);
|
|
2658
|
+
}, [n]);
|
|
2659
|
+
const f = (v) => {
|
|
2660
2660
|
if (C && C.length > 0) {
|
|
2661
|
-
let
|
|
2662
|
-
|
|
2661
|
+
let x = [...C];
|
|
2662
|
+
x.sort((w, _) => w[v].localeCompare(_[v])), b(x);
|
|
2663
2663
|
}
|
|
2664
2664
|
};
|
|
2665
|
-
return /* @__PURE__ */
|
|
2665
|
+
return /* @__PURE__ */ h(
|
|
2666
2666
|
"div",
|
|
2667
2667
|
{
|
|
2668
|
-
className:
|
|
2669
|
-
style: { color: s, ...
|
|
2668
|
+
className: O.elementSelector,
|
|
2669
|
+
style: { color: s, ...r },
|
|
2670
2670
|
children: [
|
|
2671
|
-
/* @__PURE__ */
|
|
2671
|
+
/* @__PURE__ */ h(
|
|
2672
2672
|
"div",
|
|
2673
2673
|
{
|
|
2674
|
-
className:
|
|
2674
|
+
className: O.header,
|
|
2675
2675
|
style: { borderBottom: `1px solid ${s}` },
|
|
2676
2676
|
children: [
|
|
2677
|
-
/* @__PURE__ */
|
|
2678
|
-
|
|
2679
|
-
/* @__PURE__ */
|
|
2680
|
-
/* @__PURE__ */
|
|
2677
|
+
/* @__PURE__ */ h("div", { className: O.nameDateContainer, children: [
|
|
2678
|
+
l.nom && /* @__PURE__ */ o("div", { className: O.elementName, children: /* @__PURE__ */ h("button", { onClick: () => f("name"), children: [
|
|
2679
|
+
/* @__PURE__ */ o("span", { children: g(l.nom) }),
|
|
2680
|
+
/* @__PURE__ */ o("img", { src: ze })
|
|
2681
2681
|
] }) }),
|
|
2682
|
-
|
|
2683
|
-
/* @__PURE__ */
|
|
2684
|
-
/* @__PURE__ */
|
|
2682
|
+
l.data && /* @__PURE__ */ o("div", { className: O.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => f("date"), children: [
|
|
2683
|
+
/* @__PURE__ */ o("span", { children: g(l.data) }),
|
|
2684
|
+
/* @__PURE__ */ o("img", { src: ze })
|
|
2685
2685
|
] }) }),
|
|
2686
|
-
|
|
2687
|
-
|
|
2686
|
+
l.ambit && /* @__PURE__ */ o("div", { className: O.elementDate, children: /* @__PURE__ */ o("span", { children: g(l.ambit) }) }),
|
|
2687
|
+
l.escenari && /* @__PURE__ */ o("div", { className: O.elementDate, children: /* @__PURE__ */ o("span", { children: g(l.escenari) }) })
|
|
2688
2688
|
] }),
|
|
2689
|
-
/* @__PURE__ */
|
|
2689
|
+
/* @__PURE__ */ o("div", { className: O.buttonsContainer })
|
|
2690
2690
|
]
|
|
2691
2691
|
}
|
|
2692
2692
|
),
|
|
2693
|
-
/* @__PURE__ */
|
|
2694
|
-
|
|
2693
|
+
/* @__PURE__ */ o("div", { className: O.elementListContainer, children: C && C.length > 0 && C.map((v) => /* @__PURE__ */ o(
|
|
2694
|
+
ot,
|
|
2695
2695
|
{
|
|
2696
|
-
isActive: d ==
|
|
2697
|
-
element:
|
|
2696
|
+
isActive: d == v.id,
|
|
2697
|
+
element: v,
|
|
2698
2698
|
fontColor: s,
|
|
2699
|
-
activeColor:
|
|
2700
|
-
onClickElement:
|
|
2701
|
-
columns:
|
|
2702
|
-
elementButtons:
|
|
2703
|
-
moreInfo:
|
|
2704
|
-
processTooltip:
|
|
2705
|
-
defaultTooltip:
|
|
2699
|
+
activeColor: i,
|
|
2700
|
+
onClickElement: a,
|
|
2701
|
+
columns: l,
|
|
2702
|
+
elementButtons: u,
|
|
2703
|
+
moreInfo: p,
|
|
2704
|
+
processTooltip: m,
|
|
2705
|
+
defaultTooltip: y
|
|
2706
2706
|
},
|
|
2707
|
-
`elementKey${
|
|
2707
|
+
`elementKey${v.id}`
|
|
2708
2708
|
)) }),
|
|
2709
|
-
|
|
2710
|
-
|
|
2709
|
+
c && /* @__PURE__ */ o("div", { className: O.newElementButtonContainer, children: /* @__PURE__ */ o(
|
|
2710
|
+
De,
|
|
2711
2711
|
{
|
|
2712
2712
|
style: { ...t },
|
|
2713
|
-
onClick:
|
|
2713
|
+
onClick: c.onClick,
|
|
2714
2714
|
borderColor: "grey",
|
|
2715
|
-
children: g(
|
|
2715
|
+
children: g(c.label)
|
|
2716
2716
|
}
|
|
2717
2717
|
) })
|
|
2718
2718
|
]
|
|
2719
2719
|
}
|
|
2720
2720
|
);
|
|
2721
2721
|
};
|
|
2722
|
-
|
|
2722
|
+
V1.propTypes = {
|
|
2723
2723
|
elementList: e.arrayOf(
|
|
2724
2724
|
e.shape({
|
|
2725
2725
|
nom: e.string.isRequired,
|
|
@@ -2765,42 +2765,324 @@ C1.propTypes = {
|
|
|
2765
2765
|
processTooltip: e.string,
|
|
2766
2766
|
defaultTooltip: e.string
|
|
2767
2767
|
};
|
|
2768
|
-
const
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
}
|
|
2775
|
-
|
|
2768
|
+
const $1 = {
|
|
2769
|
+
text: "text"
|
|
2770
|
+
}, A1 = "_textInputContainer_1qv06_2", I1 = "_labelContainer_1qv06_2", O1 = "_inputContainer_1qv06_5", fe = {
|
|
2771
|
+
textInputContainer: A1,
|
|
2772
|
+
labelContainer: I1,
|
|
2773
|
+
inputContainer: O1
|
|
2774
|
+
};
|
|
2775
|
+
var R1 = (n) => n.type === "checkbox", E1 = (n) => n instanceof Date, rt = (n) => n == null;
|
|
2776
|
+
const P1 = (n) => typeof n == "object";
|
|
2777
|
+
var ne = (n) => !rt(n) && !Array.isArray(n) && P1(n) && !E1(n), q1 = (n) => ne(n) && n.target ? R1(n.target) ? n.target.checked : n.target.value : n, z1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, j1 = (n, d) => n.has(z1(d)), Z1 = (n) => {
|
|
2778
|
+
const d = n.constructor && n.constructor.prototype;
|
|
2779
|
+
return ne(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2780
|
+
}, H1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2781
|
+
function at(n) {
|
|
2782
|
+
let d;
|
|
2783
|
+
const s = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2784
|
+
if (n instanceof Date)
|
|
2785
|
+
d = new Date(n);
|
|
2786
|
+
else if (!(H1 && (n instanceof Blob || i)) && (s || ne(n)))
|
|
2787
|
+
if (d = s ? [] : {}, !s && !Z1(n))
|
|
2788
|
+
d = n;
|
|
2789
|
+
else
|
|
2790
|
+
for (const t in n)
|
|
2791
|
+
n.hasOwnProperty(t) && (d[t] = at(n[t]));
|
|
2792
|
+
else
|
|
2793
|
+
return n;
|
|
2794
|
+
return d;
|
|
2795
|
+
}
|
|
2796
|
+
var lt = (n) => /^\w*$/.test(n), Ne = (n) => n === void 0, K1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], ct = (n) => K1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, s) => {
|
|
2797
|
+
if (!d || !ne(n))
|
|
2798
|
+
return s;
|
|
2799
|
+
const i = (lt(d) ? [d] : ct(d)).reduce((t, r) => rt(t) ? t : t[r], n);
|
|
2800
|
+
return Ne(i) || i === n ? Ne(n[d]) ? s : n[d] : i;
|
|
2801
|
+
}, be = (n) => typeof n == "boolean", je = (n, d, s) => {
|
|
2802
|
+
let i = -1;
|
|
2803
|
+
const t = lt(d) ? [d] : ct(d), r = t.length, c = r - 1;
|
|
2804
|
+
for (; ++i < r; ) {
|
|
2805
|
+
const a = t[i];
|
|
2806
|
+
let l = s;
|
|
2807
|
+
if (i !== c) {
|
|
2808
|
+
const u = n[a];
|
|
2809
|
+
l = ne(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
|
|
2810
|
+
}
|
|
2811
|
+
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
2812
|
+
return;
|
|
2813
|
+
n[a] = l, n = n[a];
|
|
2814
|
+
}
|
|
2815
|
+
};
|
|
2816
|
+
const Ze = {
|
|
2817
|
+
BLUR: "blur",
|
|
2818
|
+
CHANGE: "change"
|
|
2819
|
+
}, He = {
|
|
2820
|
+
all: "all"
|
|
2821
|
+
}, dt = k.createContext(null);
|
|
2822
|
+
dt.displayName = "HookFormContext";
|
|
2823
|
+
const Te = () => k.useContext(dt);
|
|
2824
|
+
var U1 = (n, d, s, i = !0) => {
|
|
2825
|
+
const t = {
|
|
2826
|
+
defaultValues: d._defaultValues
|
|
2827
|
+
};
|
|
2828
|
+
for (const r in n)
|
|
2829
|
+
Object.defineProperty(t, r, {
|
|
2830
|
+
get: () => {
|
|
2831
|
+
const c = r;
|
|
2832
|
+
return d._proxyFormState[c] !== He.all && (d._proxyFormState[c] = !i || He.all), s && (s[c] = !0), n[c];
|
|
2833
|
+
}
|
|
2834
|
+
});
|
|
2835
|
+
return t;
|
|
2836
|
+
};
|
|
2837
|
+
const ut = typeof window < "u" ? J.useLayoutEffect : J.useEffect;
|
|
2838
|
+
function G1(n) {
|
|
2839
|
+
const d = Te(), { control: s = d.control, disabled: i, name: t, exact: r } = n || {}, [c, a] = k.useState(s._formState), l = k.useRef({
|
|
2840
|
+
isDirty: !1,
|
|
2841
|
+
isLoading: !1,
|
|
2842
|
+
dirtyFields: !1,
|
|
2843
|
+
touchedFields: !1,
|
|
2844
|
+
validatingFields: !1,
|
|
2845
|
+
isValidating: !1,
|
|
2846
|
+
isValid: !1,
|
|
2847
|
+
errors: !1
|
|
2848
|
+
});
|
|
2849
|
+
return ut(() => s._subscribe({
|
|
2850
|
+
name: t,
|
|
2851
|
+
formState: l.current,
|
|
2852
|
+
exact: r,
|
|
2853
|
+
callback: (u) => {
|
|
2854
|
+
!i && a({
|
|
2855
|
+
...s._formState,
|
|
2856
|
+
...u
|
|
2857
|
+
});
|
|
2858
|
+
}
|
|
2859
|
+
}), [t, i, r]), k.useEffect(() => {
|
|
2860
|
+
l.current.isValid && s._setValid(!0);
|
|
2861
|
+
}, [s]), k.useMemo(() => U1(c, s, l.current, !1), [c, s]);
|
|
2862
|
+
}
|
|
2863
|
+
var Y1 = (n) => typeof n == "string", W1 = (n, d, s, i, t) => Y1(n) ? $(s, n, t) : Array.isArray(n) ? n.map((r) => $(s, r)) : s;
|
|
2864
|
+
function X1(n) {
|
|
2865
|
+
const d = Te(), { control: s = d.control, name: i, defaultValue: t, disabled: r, exact: c } = n || {}, a = k.useRef(t), [l, u] = k.useState(s._getWatch(i, a.current));
|
|
2866
|
+
return ut(() => s._subscribe({
|
|
2867
|
+
name: i,
|
|
2868
|
+
formState: {
|
|
2869
|
+
values: !0
|
|
2870
|
+
},
|
|
2871
|
+
exact: c,
|
|
2872
|
+
callback: (p) => !r && u(W1(i, s._names, p.values || s._formValues, !1, a.current))
|
|
2873
|
+
}), [i, s, r, c]), k.useEffect(() => s._removeUnmounted()), l;
|
|
2874
|
+
}
|
|
2875
|
+
function J1(n) {
|
|
2876
|
+
const d = Te(), { name: s, disabled: i, control: t = d.control, shouldUnregister: r } = n, c = j1(t._names.array, s), a = X1({
|
|
2877
|
+
control: t,
|
|
2878
|
+
name: s,
|
|
2879
|
+
defaultValue: $(t._formValues, s, $(t._defaultValues, s, n.defaultValue)),
|
|
2880
|
+
exact: !0
|
|
2881
|
+
}), l = G1({
|
|
2882
|
+
control: t,
|
|
2883
|
+
name: s,
|
|
2884
|
+
exact: !0
|
|
2885
|
+
}), u = k.useRef(n), p = k.useRef(t.register(s, {
|
|
2886
|
+
...n.rules,
|
|
2887
|
+
value: a,
|
|
2888
|
+
...be(n.disabled) ? { disabled: n.disabled } : {}
|
|
2889
|
+
})), m = k.useMemo(() => Object.defineProperties({}, {
|
|
2890
|
+
invalid: {
|
|
2891
|
+
enumerable: !0,
|
|
2892
|
+
get: () => !!$(l.errors, s)
|
|
2893
|
+
},
|
|
2894
|
+
isDirty: {
|
|
2895
|
+
enumerable: !0,
|
|
2896
|
+
get: () => !!$(l.dirtyFields, s)
|
|
2897
|
+
},
|
|
2898
|
+
isTouched: {
|
|
2899
|
+
enumerable: !0,
|
|
2900
|
+
get: () => !!$(l.touchedFields, s)
|
|
2901
|
+
},
|
|
2902
|
+
isValidating: {
|
|
2903
|
+
enumerable: !0,
|
|
2904
|
+
get: () => !!$(l.validatingFields, s)
|
|
2905
|
+
},
|
|
2906
|
+
error: {
|
|
2907
|
+
enumerable: !0,
|
|
2908
|
+
get: () => $(l.errors, s)
|
|
2909
|
+
}
|
|
2910
|
+
}), [l, s]), y = k.useCallback((f) => p.current.onChange({
|
|
2911
|
+
target: {
|
|
2912
|
+
value: q1(f),
|
|
2913
|
+
name: s
|
|
2914
|
+
},
|
|
2915
|
+
type: Ze.CHANGE
|
|
2916
|
+
}), [s]), g = k.useCallback(() => p.current.onBlur({
|
|
2917
|
+
target: {
|
|
2918
|
+
value: $(t._formValues, s),
|
|
2919
|
+
name: s
|
|
2920
|
+
},
|
|
2921
|
+
type: Ze.BLUR
|
|
2922
|
+
}), [s, t._formValues]), C = k.useCallback((f) => {
|
|
2923
|
+
const v = $(t._fields, s);
|
|
2924
|
+
v && f && (v._f.ref = {
|
|
2925
|
+
focus: () => f.focus && f.focus(),
|
|
2926
|
+
select: () => f.select && f.select(),
|
|
2927
|
+
setCustomValidity: (x) => f.setCustomValidity(x),
|
|
2928
|
+
reportValidity: () => f.reportValidity()
|
|
2929
|
+
});
|
|
2930
|
+
}, [t._fields, s]), b = k.useMemo(() => ({
|
|
2931
|
+
name: s,
|
|
2932
|
+
value: a,
|
|
2933
|
+
...be(i) || l.disabled ? { disabled: l.disabled || i } : {},
|
|
2934
|
+
onChange: y,
|
|
2935
|
+
onBlur: g,
|
|
2936
|
+
ref: C
|
|
2937
|
+
}), [s, i, l.disabled, y, g, C, a]);
|
|
2938
|
+
return k.useEffect(() => {
|
|
2939
|
+
const f = t._options.shouldUnregister || r;
|
|
2940
|
+
t.register(s, {
|
|
2941
|
+
...u.current.rules,
|
|
2942
|
+
...be(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2943
|
+
});
|
|
2944
|
+
const v = (x, w) => {
|
|
2945
|
+
const _ = $(t._fields, x);
|
|
2946
|
+
_ && _._f && (_._f.mount = w);
|
|
2947
|
+
};
|
|
2948
|
+
if (v(s, !0), f) {
|
|
2949
|
+
const x = at($(t._options.defaultValues, s));
|
|
2950
|
+
je(t._defaultValues, s, x), Ne($(t._formValues, s)) && je(t._formValues, s, x);
|
|
2951
|
+
}
|
|
2952
|
+
return !c && t.register(s), () => {
|
|
2953
|
+
(c ? f && !t._state.action : f) ? t.unregister(s) : v(s, !1);
|
|
2954
|
+
};
|
|
2955
|
+
}, [s, t, c, r]), k.useEffect(() => {
|
|
2956
|
+
t._setDisabledField({
|
|
2957
|
+
disabled: i,
|
|
2958
|
+
name: s
|
|
2959
|
+
});
|
|
2960
|
+
}, [i, s, t]), k.useMemo(() => ({
|
|
2961
|
+
field: b,
|
|
2962
|
+
formState: l,
|
|
2963
|
+
fieldState: m
|
|
2964
|
+
}), [b, l, m]);
|
|
2965
|
+
}
|
|
2966
|
+
const pt = (n) => n.render(J1(n)), Q1 = ({ input: n, control: d }) => {
|
|
2967
|
+
const { code: s, type: i, label: t, maxLength: r, required: c, validateFunction: a } = n;
|
|
2968
|
+
return /* @__PURE__ */ o(
|
|
2969
|
+
pt,
|
|
2970
|
+
{
|
|
2971
|
+
name: s,
|
|
2972
|
+
control: d,
|
|
2973
|
+
rules: {
|
|
2974
|
+
required: c ? `${t} is required` : !1,
|
|
2975
|
+
maxLength: r || void 0,
|
|
2976
|
+
validate: a || void 0
|
|
2977
|
+
},
|
|
2978
|
+
render: ({ field: l }) => /* @__PURE__ */ h("div", { className: fe.textInputContainer, children: [
|
|
2979
|
+
/* @__PURE__ */ o("h3", { className: fe.labelContainer, children: t }),
|
|
2980
|
+
/* @__PURE__ */ o(
|
|
2981
|
+
"input",
|
|
2982
|
+
{
|
|
2983
|
+
type: i || "text",
|
|
2984
|
+
...l,
|
|
2985
|
+
className: fe.inputContainer
|
|
2986
|
+
}
|
|
2987
|
+
)
|
|
2988
|
+
] })
|
|
2989
|
+
}
|
|
2990
|
+
);
|
|
2991
|
+
}, en = {}, ye = ({ inputs: n, control: d }) => n == null ? void 0 : n.map((s, i) => {
|
|
2992
|
+
const { inputType: t } = s;
|
|
2993
|
+
switch (t) {
|
|
2994
|
+
case $1.text:
|
|
2995
|
+
const { code: r, type: c, label: a, maxLength: l, required: u, validateFunction: p } = s;
|
|
2996
|
+
return /* @__PURE__ */ o(
|
|
2997
|
+
pt,
|
|
2998
|
+
{
|
|
2999
|
+
name: r,
|
|
3000
|
+
control: d,
|
|
3001
|
+
rules: {
|
|
3002
|
+
required: u ? `${a} is required` : !1,
|
|
3003
|
+
maxLength: l || null,
|
|
3004
|
+
validate: p || null
|
|
3005
|
+
},
|
|
3006
|
+
render: ({ field: m }) => /* @__PURE__ */ o(Q1, { input: s, control: d })
|
|
3007
|
+
},
|
|
3008
|
+
`${r}${i}`
|
|
3009
|
+
);
|
|
3010
|
+
default:
|
|
3011
|
+
return /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o("h4", { children: "Default" }) });
|
|
3012
|
+
}
|
|
3013
|
+
}), In = ({
|
|
3014
|
+
reactHookFormInstance: n,
|
|
3015
|
+
formObject: d,
|
|
3016
|
+
//Component with {title, children} as props.
|
|
3017
|
+
// Used to render a category section in the form.
|
|
3018
|
+
//If not provided, a default component will be used.
|
|
3019
|
+
CategoryComponent: s,
|
|
3020
|
+
onSubmit: i = (t) => console.log("Form submitted with data: ", t)
|
|
3021
|
+
}) => {
|
|
3022
|
+
const {
|
|
3023
|
+
register: t,
|
|
3024
|
+
handleSubmit: r,
|
|
3025
|
+
watch: c,
|
|
3026
|
+
control: a,
|
|
3027
|
+
formState: { errors: l }
|
|
3028
|
+
} = n;
|
|
3029
|
+
return B(() => {
|
|
3030
|
+
console.log("Errors ", l);
|
|
3031
|
+
}, [l]), /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3032
|
+
/* @__PURE__ */ h("form", { className: en.formContainer, onSubmit: r(i), children: [
|
|
3033
|
+
d && d.map((u, p) => {
|
|
3034
|
+
const { inputs: m } = u;
|
|
3035
|
+
return u.category ? s ? /* @__PURE__ */ o(
|
|
3036
|
+
s,
|
|
3037
|
+
{
|
|
3038
|
+
title: u.category,
|
|
3039
|
+
children: /* @__PURE__ */ o(ye, { inputs: m, control: a })
|
|
3040
|
+
},
|
|
3041
|
+
`${u.category}${p}`
|
|
3042
|
+
) : /* @__PURE__ */ h("div", { children: [
|
|
3043
|
+
/* @__PURE__ */ o("h2", { children: u.category }),
|
|
3044
|
+
/* @__PURE__ */ o("p", { children: "This is a category component example." }),
|
|
3045
|
+
/* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(ye, { inputs: m, control: a }) })
|
|
3046
|
+
] }, `${u.category}${p}`) : /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(ye, { inputs: m, control: a }) }, `inputKey${p}`);
|
|
3047
|
+
}),
|
|
3048
|
+
/* @__PURE__ */ o("button", { type: "submit", children: "Send" })
|
|
3049
|
+
] });
|
|
3050
|
+
}, tn = "_header_13kbt_2", nn = "_leftComponents_13kbt_13", sn = "_centerComponents_13kbt_14", on = "_rightComponents_13kbt_15", rn = "_componentsContainer_13kbt_32", K = {
|
|
3051
|
+
header: tn,
|
|
3052
|
+
leftComponents: nn,
|
|
3053
|
+
centerComponents: sn,
|
|
3054
|
+
rightComponents: on,
|
|
3055
|
+
componentsContainer: rn
|
|
3056
|
+
}, an = ({
|
|
3057
|
+
cssProps: n,
|
|
2776
3058
|
leftComponents: d = [],
|
|
2777
3059
|
centerComponents: s = [],
|
|
2778
|
-
rightComponents:
|
|
3060
|
+
rightComponents: i = [],
|
|
2779
3061
|
zIndex: t = 10,
|
|
2780
|
-
height:
|
|
2781
|
-
backgroundColor:
|
|
2782
|
-
isFooter:
|
|
3062
|
+
height: r = 60,
|
|
3063
|
+
backgroundColor: c = "#605B56",
|
|
3064
|
+
isFooter: a = !1
|
|
2783
3065
|
// If true, it will apply footer styles
|
|
2784
|
-
}) => /* @__PURE__ */
|
|
3066
|
+
}) => /* @__PURE__ */ h(
|
|
2785
3067
|
"div",
|
|
2786
3068
|
{
|
|
2787
|
-
className:
|
|
3069
|
+
className: K.header,
|
|
2788
3070
|
style: {
|
|
2789
|
-
...
|
|
3071
|
+
...n,
|
|
2790
3072
|
zIndex: t,
|
|
2791
|
-
height:
|
|
2792
|
-
backgroundColor:
|
|
2793
|
-
top:
|
|
2794
|
-
bottom:
|
|
3073
|
+
height: r,
|
|
3074
|
+
backgroundColor: c,
|
|
3075
|
+
top: a ? "auto" : 0,
|
|
3076
|
+
bottom: a ? 0 : "auto"
|
|
2795
3077
|
},
|
|
2796
3078
|
children: [
|
|
2797
|
-
/* @__PURE__ */
|
|
2798
|
-
/* @__PURE__ */
|
|
2799
|
-
/* @__PURE__ */
|
|
3079
|
+
/* @__PURE__ */ o("div", { className: K.leftComponents, children: d.map((l, u) => /* @__PURE__ */ o("div", { className: K.componentsContainer, children: l }, u)) }),
|
|
3080
|
+
/* @__PURE__ */ o("div", { className: K.centerComponents, children: s.map((l, u) => /* @__PURE__ */ o("div", { className: K.componentsContainer, children: l }, u)) }),
|
|
3081
|
+
/* @__PURE__ */ o("div", { className: K.rightComponents, children: i.map((l, u) => /* @__PURE__ */ o("div", { className: K.componentsContainer, children: l }, u)) })
|
|
2800
3082
|
]
|
|
2801
3083
|
}
|
|
2802
3084
|
);
|
|
2803
|
-
|
|
3085
|
+
an.propTypes = {
|
|
2804
3086
|
leftComponents: e.arrayOf(e.node),
|
|
2805
3087
|
centerComponents: e.arrayOf(e.node),
|
|
2806
3088
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -2810,52 +3092,53 @@ w1.propTypes = {
|
|
|
2810
3092
|
backgroundColor: e.string,
|
|
2811
3093
|
isFooter: e.bool
|
|
2812
3094
|
};
|
|
2813
|
-
const
|
|
2814
|
-
sidebar:
|
|
2815
|
-
open:
|
|
2816
|
-
content:
|
|
2817
|
-
closeButton:
|
|
2818
|
-
},
|
|
3095
|
+
const ln = "_sidebar_1jqo2_2", cn = "_open_1jqo2_16", dn = "_content_1jqo2_20", un = "_closeButton_1jqo2_26", re = {
|
|
3096
|
+
sidebar: ln,
|
|
3097
|
+
open: cn,
|
|
3098
|
+
content: dn,
|
|
3099
|
+
closeButton: un
|
|
3100
|
+
}, pn = ({ width: n = "300px", children: d, showRightBar: s, onCloseBar: i }) => {
|
|
2819
3101
|
const t = () => {
|
|
2820
|
-
|
|
3102
|
+
i();
|
|
2821
3103
|
};
|
|
2822
|
-
return /* @__PURE__ */
|
|
3104
|
+
return /* @__PURE__ */ o(
|
|
2823
3105
|
"div",
|
|
2824
3106
|
{
|
|
2825
|
-
className: `${
|
|
2826
|
-
style: { width: s ?
|
|
2827
|
-
children: s && /* @__PURE__ */
|
|
2828
|
-
/* @__PURE__ */
|
|
3107
|
+
className: `${re.sidebar} ${s ? re.open : ""}`,
|
|
3108
|
+
style: { width: s ? n : 0 },
|
|
3109
|
+
children: s && /* @__PURE__ */ h("div", { className: re.content, children: [
|
|
3110
|
+
/* @__PURE__ */ o("button", { className: re.closeButton, onClick: t, children: "×" }),
|
|
2829
3111
|
d
|
|
2830
3112
|
] })
|
|
2831
3113
|
}
|
|
2832
3114
|
);
|
|
2833
3115
|
};
|
|
2834
|
-
|
|
3116
|
+
pn.propTypes = {
|
|
2835
3117
|
width: e.string,
|
|
2836
3118
|
children: e.node,
|
|
2837
3119
|
showRightBar: e.bool,
|
|
2838
3120
|
onCloseBar: e.func
|
|
2839
3121
|
};
|
|
2840
3122
|
export {
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
3123
|
+
t2 as AmbitSelector,
|
|
3124
|
+
m2 as ButtonsList,
|
|
3125
|
+
G as DropdownList,
|
|
3126
|
+
Ln as EditAmbit,
|
|
3127
|
+
E2 as FiltersAmbit,
|
|
3128
|
+
In as Form,
|
|
3129
|
+
Z2 as Graphic,
|
|
3130
|
+
an as HeaderSection,
|
|
3131
|
+
l0 as IndicatorsList,
|
|
3132
|
+
h0 as LangSelector,
|
|
3133
|
+
F0 as Legend,
|
|
3134
|
+
V1 as ListSelector,
|
|
3135
|
+
L0 as LogoApp,
|
|
3136
|
+
V0 as MapboxMap,
|
|
3137
|
+
E0 as MaplibreMap,
|
|
3138
|
+
pn as RightSidebar,
|
|
3139
|
+
Bn as SectionBar,
|
|
3140
|
+
Q0 as TimeSlider,
|
|
3141
|
+
U as Tooltip,
|
|
3142
|
+
i1 as TopNavMenu,
|
|
3143
|
+
c1 as UserMenuTrigger
|
|
2861
3144
|
};
|