@tmf_ciclica/ciclicastorybook 1.1.57 → 1.1.58
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 +3 -3
- package/dist/index.es.js +336 -348
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_15gun_2{width:100%}._textInputContainer_15gun_2 ._labelContainer_15gun_5{margin-bottom:25px}._textInputContainer_15gun_2 ._inputContainer_15gun_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_15gun_2 ._inputContainer_15gun_8 ._showPasswordButton_15gun_14{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_15gun_2 ._inputContainer_15gun_8 input{width:100%}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26{margin-top:10px;cursor:pointer}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_pt7g1_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import { jsxs as h, jsx as s, Fragment as gt } from "react/jsx-runtime";
|
|
3
|
-
import * as
|
|
4
|
-
import N, { useState as
|
|
3
|
+
import * as X from "react";
|
|
4
|
+
import N, { useState as M, useEffect as D, useMemo as le, useLayoutEffect as Ct, useRef as Me } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as k, Trans as
|
|
7
|
-
import { motion as
|
|
6
|
+
import { useTranslation as k, Trans as Fe } from "react-i18next";
|
|
7
|
+
import { motion as Le } from "framer-motion";
|
|
8
8
|
import { create as ft } from "zustand";
|
|
9
|
-
import * as
|
|
9
|
+
import * as $e from "d3";
|
|
10
10
|
import bt from "mapbox-gl";
|
|
11
11
|
import { useSelector as yt, useDispatch as _t } from "react-redux";
|
|
12
12
|
import vt, { Source as wt, Layer as xt, NavigationControl as kt, Popup as Nt } from "react-map-gl/mapbox";
|
|
13
|
-
import
|
|
13
|
+
import pe from "maplibre-gl";
|
|
14
14
|
import { Protocol as St } from "pmtiles";
|
|
15
|
-
import Bt, { Source as
|
|
15
|
+
import Bt, { Source as Mt, Layer as Ft, NavigationControl as Lt, Popup as Dt } from "react-map-gl/maplibre";
|
|
16
16
|
import { createSlice as Tt } from "@reduxjs/toolkit";
|
|
17
17
|
import Vt from "@mui/material/Slider";
|
|
18
18
|
import { createTheme as $t, Box as At } from "@mui/material";
|
|
19
19
|
import { ThemeProvider as Ot } from "@emotion/react";
|
|
20
20
|
import { NavLink as It } from "react-router-dom";
|
|
21
|
-
const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateContainer_mcunf_23", jt = "_ambitName_mcunf_39", zt = "_ambitDate_mcunf_53", qt = "_buttonsContainer_mcunf_67", Zt = "_ambitListContainer_mcunf_76", Ht = "_newAmbitButtonContainer_mcunf_80",
|
|
21
|
+
const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateContainer_mcunf_23", jt = "_ambitName_mcunf_39", zt = "_ambitDate_mcunf_53", qt = "_buttonsContainer_mcunf_67", Zt = "_ambitListContainer_mcunf_76", Ht = "_newAmbitButtonContainer_mcunf_80", j = {
|
|
22
22
|
ambitSelector: Rt,
|
|
23
23
|
header: Et,
|
|
24
24
|
nameDateContainer: Pt,
|
|
@@ -27,7 +27,7 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
27
27
|
buttonsContainer: qt,
|
|
28
28
|
ambitListContainer: Zt,
|
|
29
29
|
newAmbitButtonContainer: Ht
|
|
30
|
-
}, Kt = "_ambitItem_1qa6u_2", Ut = "_ambitNameDate_1qa6u_16", Gt = "_ambitName_1qa6u_16", Yt = "_ambitDate_1qa6u_35", Wt = "_ambitButtons_1qa6u_38",
|
|
30
|
+
}, Kt = "_ambitItem_1qa6u_2", Ut = "_ambitNameDate_1qa6u_16", Gt = "_ambitName_1qa6u_16", Yt = "_ambitDate_1qa6u_35", Wt = "_ambitButtons_1qa6u_38", ee = {
|
|
31
31
|
ambitItem: Kt,
|
|
32
32
|
ambitNameDate: Ut,
|
|
33
33
|
ambitName: Gt,
|
|
@@ -48,11 +48,11 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
48
48
|
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: ee.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ h("div", { className:
|
|
55
|
-
/* @__PURE__ */ h("div", { className:
|
|
54
|
+
/* @__PURE__ */ h("div", { className: ee.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ h("div", { className: ee.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -62,9 +62,9 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ h("div", { className:
|
|
67
|
+
/* @__PURE__ */ h("div", { className: ee.ambitButtons, children: [
|
|
68
68
|
y && /* @__PURE__ */ s("img", { src: e2 }),
|
|
69
69
|
/* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
|
|
70
70
|
/* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: Xt }) }),
|
|
@@ -92,9 +92,9 @@ Ye.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
95
|
+
const Ae = "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", i2 = "_generalButton_8d6ru_2", o2 = {
|
|
96
96
|
generalButton: i2
|
|
97
|
-
},
|
|
97
|
+
}, ce = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: o = "#605B56",
|
|
@@ -130,7 +130,7 @@ const Oe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
130
130
|
onClickFilters: y = (C) => console.log(`Filters clicked: ${C}`),
|
|
131
131
|
onClickAmbit: m = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
132
132
|
}) => {
|
|
133
|
-
const { t: C } = k(), [f, b] =
|
|
133
|
+
const { t: C } = k(), [f, b] = M(n);
|
|
134
134
|
D(() => {
|
|
135
135
|
n && b(n);
|
|
136
136
|
}, [n]);
|
|
@@ -143,30 +143,30 @@ const Oe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
143
143
|
return /* @__PURE__ */ h(
|
|
144
144
|
"div",
|
|
145
145
|
{
|
|
146
|
-
className:
|
|
146
|
+
className: j.ambitSelector,
|
|
147
147
|
style: { color: o, ...c },
|
|
148
148
|
children: [
|
|
149
149
|
/* @__PURE__ */ h(
|
|
150
150
|
"div",
|
|
151
151
|
{
|
|
152
|
-
className:
|
|
152
|
+
className: j.header,
|
|
153
153
|
style: { borderBottom: `1px solid ${o}` },
|
|
154
154
|
children: [
|
|
155
|
-
/* @__PURE__ */ h("div", { className:
|
|
156
|
-
/* @__PURE__ */ s("div", { className:
|
|
155
|
+
/* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
|
|
156
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => _("name"), children: [
|
|
157
157
|
/* @__PURE__ */ s("span", { children: C(t) }),
|
|
158
|
-
/* @__PURE__ */ s("img", { src:
|
|
158
|
+
/* @__PURE__ */ s("img", { src: Ae })
|
|
159
159
|
] }) }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className:
|
|
160
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => _("date"), children: [
|
|
161
161
|
/* @__PURE__ */ s("span", { children: C(r) }),
|
|
162
|
-
/* @__PURE__ */ s("img", { src:
|
|
162
|
+
/* @__PURE__ */ s("img", { src: Ae })
|
|
163
163
|
] }) })
|
|
164
164
|
] }),
|
|
165
|
-
/* @__PURE__ */ s("div", { className:
|
|
165
|
+
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
166
166
|
]
|
|
167
167
|
}
|
|
168
168
|
),
|
|
169
|
-
/* @__PURE__ */ s("div", { className:
|
|
169
|
+
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ s(
|
|
170
170
|
Ye,
|
|
171
171
|
{
|
|
172
172
|
isActive: d == w.id,
|
|
@@ -180,8 +180,8 @@ const Oe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
180
180
|
},
|
|
181
181
|
`ambitKey${w.id}`
|
|
182
182
|
)) }),
|
|
183
|
-
/* @__PURE__ */ s("div", { className:
|
|
184
|
-
|
|
183
|
+
/* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
184
|
+
ce,
|
|
185
185
|
{
|
|
186
186
|
style: { ...a },
|
|
187
187
|
onClick: u,
|
|
@@ -215,7 +215,7 @@ s2.propTypes = {
|
|
|
215
215
|
containerStyles: e.object,
|
|
216
216
|
onCLickNewAmbit: e.func
|
|
217
217
|
};
|
|
218
|
-
const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizontal_1audx_9", c2 = "_button_1audx_2", d2 = "_active_1audx_25", u2 = "_buttonName_1audx_28",
|
|
218
|
+
const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizontal_1audx_9", c2 = "_button_1audx_2", d2 = "_active_1audx_25", u2 = "_buttonName_1audx_28", q = {
|
|
219
219
|
buttonsContainer: r2,
|
|
220
220
|
vertical: a2,
|
|
221
221
|
horizontal: l2,
|
|
@@ -227,11 +227,11 @@ const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizon
|
|
|
227
227
|
top: m2,
|
|
228
228
|
bottom: h2,
|
|
229
229
|
right: g2
|
|
230
|
-
},
|
|
230
|
+
}, U = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
231
231
|
const { t: i } = k();
|
|
232
232
|
return /* @__PURE__ */ s("div", { className: `tooltip ${C2[d]}`, style: o, children: i(n) });
|
|
233
233
|
};
|
|
234
|
-
|
|
234
|
+
U.propTypes = {
|
|
235
235
|
text: e.string.isRequired,
|
|
236
236
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
237
237
|
styleCustom: e.object
|
|
@@ -248,8 +248,8 @@ const f2 = ({
|
|
|
248
248
|
return /* @__PURE__ */ s(
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
|
-
className: `${
|
|
252
|
-
${d === "horizontal" &&
|
|
251
|
+
className: `${q.buttonsContainer} ${d === "vertical" && q.vertical}
|
|
252
|
+
${d === "horizontal" && q.horizontal}`,
|
|
253
253
|
children: n.map((a, c) => {
|
|
254
254
|
const {
|
|
255
255
|
icon: u,
|
|
@@ -258,21 +258,21 @@ const f2 = ({
|
|
|
258
258
|
name: y,
|
|
259
259
|
onClick: m
|
|
260
260
|
} = a, C = /* @__PURE__ */ h(gt, { children: [
|
|
261
|
-
o && i === "left" && /* @__PURE__ */ s("span", { className:
|
|
261
|
+
o && i === "left" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) }),
|
|
262
262
|
/* @__PURE__ */ s("img", { src: g ? p : u, alt: l(y) }),
|
|
263
|
-
o && i === "right" && /* @__PURE__ */ s("span", { className:
|
|
263
|
+
o && i === "right" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) })
|
|
264
264
|
] });
|
|
265
265
|
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
266
266
|
/* @__PURE__ */ s(
|
|
267
267
|
"button",
|
|
268
268
|
{
|
|
269
269
|
onClick: m,
|
|
270
|
-
className: `${
|
|
271
|
-
${g &&
|
|
270
|
+
className: `${q.button}
|
|
271
|
+
${g && q.active}`,
|
|
272
272
|
children: C
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
|
-
t && /* @__PURE__ */ s(
|
|
275
|
+
t && /* @__PURE__ */ s(U, { text: y, position: r })
|
|
276
276
|
] }, c);
|
|
277
277
|
})
|
|
278
278
|
}
|
|
@@ -295,10 +295,10 @@ f2.propTypes = {
|
|
|
295
295
|
useTooltip: e.bool,
|
|
296
296
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
297
297
|
};
|
|
298
|
-
const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5",
|
|
298
|
+
const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
299
299
|
indicatorsCategory: b2,
|
|
300
300
|
title: y2
|
|
301
|
-
},
|
|
301
|
+
}, G = ({
|
|
302
302
|
isOpen: n,
|
|
303
303
|
onClick: d,
|
|
304
304
|
children: o,
|
|
@@ -314,9 +314,9 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", he = {
|
|
|
314
314
|
}) => {
|
|
315
315
|
const { t: p } = k();
|
|
316
316
|
return /* @__PURE__ */ h(
|
|
317
|
-
|
|
317
|
+
Le.div,
|
|
318
318
|
{
|
|
319
|
-
className:
|
|
319
|
+
className: me.indicatorsCategory,
|
|
320
320
|
initial: { height: `${l}px` },
|
|
321
321
|
animate: { height: n ? "auto" : `${l}px` },
|
|
322
322
|
transition: { duration: 0.4 },
|
|
@@ -333,7 +333,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", he = {
|
|
|
333
333
|
...a,
|
|
334
334
|
marginBottom: u || "auto"
|
|
335
335
|
},
|
|
336
|
-
className: `${
|
|
336
|
+
className: `${me.title}`,
|
|
337
337
|
onClick: d,
|
|
338
338
|
children: [
|
|
339
339
|
/* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
@@ -341,12 +341,12 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", he = {
|
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
343
|
),
|
|
344
|
-
/* @__PURE__ */ s("div", { className:
|
|
344
|
+
/* @__PURE__ */ s("div", { className: me.content, children: o })
|
|
345
345
|
]
|
|
346
346
|
}
|
|
347
347
|
);
|
|
348
348
|
};
|
|
349
|
-
|
|
349
|
+
G.propTypes = {
|
|
350
350
|
isOpen: e.bool,
|
|
351
351
|
onClick: e.func,
|
|
352
352
|
children: e.node,
|
|
@@ -357,7 +357,7 @@ Y.propTypes = {
|
|
|
357
357
|
showBottomBar: e.bool,
|
|
358
358
|
titleFontStyles: e.object
|
|
359
359
|
};
|
|
360
|
-
const
|
|
360
|
+
const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "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", v2 = "_AppliedFiltersContainer_s8ooe_2", w2 = "_AppliedFilterContent_s8ooe_10", Oe = {
|
|
361
361
|
AppliedFiltersContainer: v2,
|
|
362
362
|
AppliedFilterContent: w2
|
|
363
363
|
}, L = ft((n) => ({
|
|
@@ -376,13 +376,13 @@ const En = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
|
|
|
376
376
|
}));
|
|
377
377
|
};
|
|
378
378
|
return /* @__PURE__ */ s(
|
|
379
|
-
|
|
379
|
+
G,
|
|
380
380
|
{
|
|
381
381
|
isOpen: o,
|
|
382
382
|
onClick: d,
|
|
383
383
|
title: n ? l(n) : "Applied Filters",
|
|
384
384
|
activeColor: r,
|
|
385
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
385
|
+
children: /* @__PURE__ */ s("div", { className: Oe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ h("div", { className: Oe.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
386
386
|
l(u.name),
|
|
387
387
|
/* @__PURE__ */ s("img", { src: _2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
388
388
|
] }, p)) })
|
|
@@ -406,7 +406,7 @@ We.propTypes = {
|
|
|
406
406
|
const Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
407
407
|
const { t: l } = k(), { tematicalFiltersSelected: a } = L((c) => c);
|
|
408
408
|
return /* @__PURE__ */ s(
|
|
409
|
-
|
|
409
|
+
G,
|
|
410
410
|
{
|
|
411
411
|
isOpen: o,
|
|
412
412
|
onClick: d,
|
|
@@ -471,40 +471,40 @@ Xe.propTypes = {
|
|
|
471
471
|
}),
|
|
472
472
|
checkedColor: e.string
|
|
473
473
|
};
|
|
474
|
-
function
|
|
475
|
-
return
|
|
474
|
+
function xe(n, d) {
|
|
475
|
+
return xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
476
476
|
return o.__proto__ = i, o;
|
|
477
|
-
},
|
|
477
|
+
}, xe(n, d);
|
|
478
478
|
}
|
|
479
479
|
function N2(n, d) {
|
|
480
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
480
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, xe(n, d);
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function he(n) {
|
|
483
483
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function ge(n) {
|
|
486
486
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function oe(n) {
|
|
489
489
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function se(n) {
|
|
492
492
|
Object.keys(n).forEach((d) => {
|
|
493
493
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
|
-
function
|
|
497
|
-
return
|
|
496
|
+
function Z(n, d) {
|
|
497
|
+
return ke(function(o, i) {
|
|
498
498
|
let t = o;
|
|
499
499
|
return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
|
|
500
500
|
}(n, d), d);
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function ke(n, d) {
|
|
503
503
|
const o = (n - d.min) % d.step;
|
|
504
504
|
let i = n - o;
|
|
505
505
|
return 2 * Math.abs(o) >= d.step && (i += o > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
|
|
506
506
|
}
|
|
507
|
-
let
|
|
507
|
+
let Ne = function(n) {
|
|
508
508
|
function d(i) {
|
|
509
509
|
var t;
|
|
510
510
|
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
@@ -561,28 +561,28 @@ let Se = function(n) {
|
|
|
561
561
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
562
562
|
const c = t.getMousePosition(a);
|
|
563
563
|
t.forceValueFromPosition(c[0], (u) => {
|
|
564
|
-
t.start(u, c[0]),
|
|
564
|
+
t.start(u, c[0]), se(t.getMouseEventMap());
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
-
|
|
567
|
+
he(a);
|
|
568
568
|
}
|
|
569
569
|
}, t.onSliderClick = (a) => {
|
|
570
570
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
571
|
-
const c = t.getMousePosition(a), u =
|
|
571
|
+
const c = t.getMousePosition(a), u = Z(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
572
572
|
t.props.onSliderClick(u);
|
|
573
573
|
}
|
|
574
574
|
}, t.createOnKeyDown = (a) => (c) => {
|
|
575
|
-
t.props.disabled || (t.start(a),
|
|
575
|
+
t.props.disabled || (t.start(a), se(t.getKeyDownEventMap()), he(c));
|
|
576
576
|
}, t.createOnMouseDown = (a) => (c) => {
|
|
577
577
|
if (t.props.disabled || c.button === 2) return;
|
|
578
578
|
t.setState({ pending: !0 });
|
|
579
579
|
const u = t.getMousePosition(c);
|
|
580
|
-
t.start(a, u[0]),
|
|
580
|
+
t.start(a, u[0]), se(t.getMouseEventMap()), he(c);
|
|
581
581
|
}, t.createOnTouchStart = (a) => (c) => {
|
|
582
582
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
583
583
|
t.setState({ pending: !0 });
|
|
584
584
|
const u = t.getTouchPosition(c);
|
|
585
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]),
|
|
585
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), se(t.getTouchEventMap()), function(p) {
|
|
586
586
|
p.stopPropagation && p.stopPropagation();
|
|
587
587
|
}(c);
|
|
588
588
|
}, t.handleResize = () => {
|
|
@@ -593,16 +593,16 @@ let Se = function(n) {
|
|
|
593
593
|
}, t.renderThumb = (a, c) => {
|
|
594
594
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
|
|
595
595
|
t["thumb" + c] = y;
|
|
596
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value:
|
|
596
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value: oe(t.state.value), valueNow: t.state.value[c] };
|
|
597
597
|
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(p, g);
|
|
598
598
|
}, t.renderTrack = (a, c, u) => {
|
|
599
|
-
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: a, value:
|
|
599
|
+
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: a, value: oe(t.state.value) };
|
|
600
600
|
return t.props.renderTrack(p, g);
|
|
601
601
|
};
|
|
602
|
-
let r =
|
|
603
|
-
r.length || (r =
|
|
602
|
+
let r = ge(i.value);
|
|
603
|
+
r.length || (r = ge(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
604
604
|
const l = [];
|
|
605
|
-
for (let a = 0; a < r.length; a += 1) r[a] =
|
|
605
|
+
for (let a = 0; a < r.length; a += 1) r[a] = Z(r[a], i), l.push(a);
|
|
606
606
|
return t.resizeObserver = null, t.resizeElementRef = N.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
607
607
|
}
|
|
608
608
|
N2(d, n);
|
|
@@ -610,8 +610,8 @@ let Se = function(n) {
|
|
|
610
610
|
return o.componentDidMount = function() {
|
|
611
611
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
612
612
|
}, d.getDerivedStateFromProps = function(i, t) {
|
|
613
|
-
const r =
|
|
614
|
-
return r.length ? t.pending ? null : { value: r.map((l) =>
|
|
613
|
+
const r = ge(i.value);
|
|
614
|
+
return r.length ? t.pending ? null : { value: r.map((l) => Z(l, i)) } : null;
|
|
615
615
|
}, o.componentDidUpdate = function() {
|
|
616
616
|
this.state.upperBound === 0 && this.resize();
|
|
617
617
|
}, o.componentWillUnmount = function() {
|
|
@@ -623,7 +623,7 @@ let Se = function(n) {
|
|
|
623
623
|
});
|
|
624
624
|
}(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
625
625
|
}, o.getValue = function() {
|
|
626
|
-
return
|
|
626
|
+
return oe(this.state.value);
|
|
627
627
|
}, o.getClosestIndex = function(i) {
|
|
628
628
|
let t = Number.MAX_VALUE, r = -1;
|
|
629
629
|
const { value: l } = this.state, a = l.length;
|
|
@@ -645,7 +645,7 @@ let Se = function(n) {
|
|
|
645
645
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
646
646
|
}, o.getValueFromPosition = function(i) {
|
|
647
647
|
const t = i / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
648
|
-
return
|
|
648
|
+
return Z(this.state.startValue + t, this.props);
|
|
649
649
|
}, o.getDiffPosition = function(i) {
|
|
650
650
|
let t = i - this.state.startPosition;
|
|
651
651
|
return this.props.invert && (t *= -1), t;
|
|
@@ -664,7 +664,7 @@ let Se = function(n) {
|
|
|
664
664
|
let c = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
|
|
665
665
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
666
666
|
}, o.forceValueFromPosition = function(i, t) {
|
|
667
|
-
const r = this.calcOffsetFromPosition(i), l = this.getClosestIndex(r), a =
|
|
667
|
+
const r = this.calcOffsetFromPosition(i), l = this.getClosestIndex(r), a = Z(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
668
668
|
c[l] = a;
|
|
669
669
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
670
670
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -682,11 +682,11 @@ let Se = function(n) {
|
|
|
682
682
|
l.splice(l.indexOf(i), 1), l.push(i), this.setState((a) => ({ startValue: a.value[i], startPosition: t !== void 0 ? t : a.startPosition, index: i, zIndices: l }));
|
|
683
683
|
}, o.moveUpByStep = function(i) {
|
|
684
684
|
i === void 0 && (i = this.props.step);
|
|
685
|
-
const t = this.state.value[this.state.index], r =
|
|
685
|
+
const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
|
|
686
686
|
this.move(Math.min(r, this.props.max));
|
|
687
687
|
}, o.moveDownByStep = function(i) {
|
|
688
688
|
i === void 0 && (i = this.props.step);
|
|
689
|
-
const t = this.state.value[this.state.index], r =
|
|
689
|
+
const t = this.state.value[this.state.index], r = Z(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
|
|
690
690
|
this.move(Math.max(r, this.props.min));
|
|
691
691
|
}, o.move = function(i) {
|
|
692
692
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
@@ -716,9 +716,9 @@ let Se = function(n) {
|
|
|
716
716
|
}(l, t, g, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
717
717
|
}, o.pushSucceeding = function(i, t, r) {
|
|
718
718
|
let l, a;
|
|
719
|
-
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] =
|
|
719
|
+
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] = ke(a, this.props);
|
|
720
720
|
}, o.pushPreceding = function(i, t, r) {
|
|
721
|
-
for (let l = r, a = i[l] - t; i[l - 1] !== null && a < i[l - 1]; l -= 1, a = i[l] - t) i[l - 1] =
|
|
721
|
+
for (let l = r, a = i[l] - t; i[l - 1] !== null && a < i[l - 1]; l -= 1, a = i[l] - t) i[l - 1] = ke(a, this.props);
|
|
722
722
|
}, o.axisKey = function() {
|
|
723
723
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
724
724
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -730,7 +730,7 @@ let Se = function(n) {
|
|
|
730
730
|
}, o.sizeKey = function() {
|
|
731
731
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
732
732
|
}, o.fireChangeEvent = function(i) {
|
|
733
|
-
this.props[i] && this.props[i](
|
|
733
|
+
this.props[i] && this.props[i](oe(this.state.value), this.state.index);
|
|
734
734
|
}, o.buildThumbStyle = function(i, t) {
|
|
735
735
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
736
736
|
return r[this.posMinKey()] = i + "px", r;
|
|
@@ -767,12 +767,12 @@ let Se = function(n) {
|
|
|
767
767
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
768
768
|
}, d;
|
|
769
769
|
}(N.Component);
|
|
770
|
-
|
|
771
|
-
var S2 =
|
|
772
|
-
const B2 = "_container_15vgv_2",
|
|
770
|
+
Ne.displayName = "ReactSlider", Ne.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => N.createElement("div", n), renderTrack: (n) => N.createElement("div", n), renderMark: (n) => N.createElement("span", n) };
|
|
771
|
+
var S2 = Ne;
|
|
772
|
+
const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", L2 = "_thumb_15vgv_18", D2 = "_track_15vgv_27", T2 = "_labels_15vgv_33", Y = {
|
|
773
773
|
container: B2,
|
|
774
|
-
unitLabel:
|
|
775
|
-
slider:
|
|
774
|
+
unitLabel: M2,
|
|
775
|
+
slider: F2,
|
|
776
776
|
thumb: L2,
|
|
777
777
|
track: D2,
|
|
778
778
|
labels: T2
|
|
@@ -786,7 +786,7 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
|
|
|
786
786
|
fontColor: l = "#605B56",
|
|
787
787
|
defaultValue: a
|
|
788
788
|
}) => {
|
|
789
|
-
const { t: c } = k(), [u, p] =
|
|
789
|
+
const { t: c } = k(), [u, p] = M([n, d]), g = (y) => {
|
|
790
790
|
p(y), i == null || i({ min: y[0], max: y[1] });
|
|
791
791
|
};
|
|
792
792
|
return D(() => {
|
|
@@ -794,16 +794,16 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
|
|
|
794
794
|
}, [a]), /* @__PURE__ */ h(
|
|
795
795
|
"div",
|
|
796
796
|
{
|
|
797
|
-
className:
|
|
797
|
+
className: Y.container,
|
|
798
798
|
style: { width: `${t}px`, color: `${l}` },
|
|
799
799
|
children: [
|
|
800
|
-
/* @__PURE__ */ s("div", { className:
|
|
800
|
+
/* @__PURE__ */ s("div", { className: Y.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
801
801
|
/* @__PURE__ */ s(
|
|
802
802
|
S2,
|
|
803
803
|
{
|
|
804
|
-
className:
|
|
805
|
-
thumbClassName:
|
|
806
|
-
trackClassName:
|
|
804
|
+
className: Y.slider,
|
|
805
|
+
thumbClassName: Y.thumb,
|
|
806
|
+
trackClassName: Y.track,
|
|
807
807
|
min: n,
|
|
808
808
|
max: d,
|
|
809
809
|
step: o,
|
|
@@ -814,7 +814,7 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
|
|
|
814
814
|
minDistance: 0.1
|
|
815
815
|
}
|
|
816
816
|
),
|
|
817
|
-
/* @__PURE__ */ h("div", { className:
|
|
817
|
+
/* @__PURE__ */ h("div", { className: Y.labels, children: [
|
|
818
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
819
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
820
820
|
] })
|
|
@@ -834,17 +834,17 @@ Qe.propTypes = {
|
|
|
834
834
|
fontColor: e.string,
|
|
835
835
|
value: e.arrayOf(e.number)
|
|
836
836
|
};
|
|
837
|
-
const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_1vm1r_2", A2 = "_checkboxContainer_1vm1r_28", O2 = "_absoluteSliderContainer_1vm1r_37",
|
|
837
|
+
const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_1vm1r_2", A2 = "_checkboxContainer_1vm1r_28", O2 = "_absoluteSliderContainer_1vm1r_37", re = {
|
|
838
838
|
tematicalFiltersInputContainer: V2,
|
|
839
839
|
inputTypeContainer: $2,
|
|
840
840
|
checkboxContainer: A2,
|
|
841
841
|
absoluteSliderContainer: O2
|
|
842
|
-
},
|
|
842
|
+
}, De = ({
|
|
843
843
|
indicator: n,
|
|
844
844
|
//onChangeBothType
|
|
845
845
|
activeColor: d
|
|
846
846
|
}) => {
|
|
847
|
-
const [o, i] =
|
|
847
|
+
const [o, i] = M(), {
|
|
848
848
|
type: t,
|
|
849
849
|
name: r,
|
|
850
850
|
values: l,
|
|
@@ -852,10 +852,10 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
852
852
|
maxValue: c,
|
|
853
853
|
unit: u,
|
|
854
854
|
step: p
|
|
855
|
-
} = n || {}, g =
|
|
855
|
+
} = n || {}, g = le(
|
|
856
856
|
() => t == "cat" || o == "cat",
|
|
857
857
|
[o, t]
|
|
858
|
-
), y =
|
|
858
|
+
), y = le(
|
|
859
859
|
() => t == "abs" || o == "abs",
|
|
860
860
|
[o, t]
|
|
861
861
|
), {
|
|
@@ -865,74 +865,74 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
865
865
|
inputsColor: b
|
|
866
866
|
} = L((x) => x), _ = (x) => {
|
|
867
867
|
if (x) {
|
|
868
|
-
const { min: v, max: S, valueClicked: B, allValues:
|
|
869
|
-
let
|
|
870
|
-
|
|
871
|
-
let
|
|
872
|
-
(T) => T.code ===
|
|
868
|
+
const { min: v, max: S, valueClicked: B, allValues: E } = x || {}, { code: Q, type: de } = n || {}, ue = y ? "abs" : g ? "cat" : "both";
|
|
869
|
+
let R = Q[0];
|
|
870
|
+
de == "both" && (R = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ? L.setState((z) => {
|
|
871
|
+
let P = z.tematicalFiltersSelected.find(
|
|
872
|
+
(T) => T.code === R
|
|
873
873
|
);
|
|
874
|
-
if (
|
|
875
|
-
let T = [
|
|
876
|
-
return
|
|
874
|
+
if (P) {
|
|
875
|
+
let T = [P.values];
|
|
876
|
+
return P.values.includes(B) ? T = P.values.filter(
|
|
877
877
|
(A) => A !== B
|
|
878
|
-
) : T = [...
|
|
879
|
-
tematicalFiltersSelected:
|
|
880
|
-
(A) => A.code !==
|
|
878
|
+
) : T = [...P.values, B], T.length == E.length ? {
|
|
879
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
880
|
+
(A) => A.code !== R
|
|
881
881
|
)
|
|
882
882
|
} : {
|
|
883
|
-
tematicalFiltersSelected:
|
|
884
|
-
(A) => A.code ===
|
|
883
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
884
|
+
(A) => A.code === R ? { ...A, values: T } : A
|
|
885
885
|
)
|
|
886
886
|
};
|
|
887
887
|
} else {
|
|
888
|
-
let T =
|
|
888
|
+
let T = E.map((A, ht) => ht);
|
|
889
889
|
return {
|
|
890
890
|
tematicalFiltersSelected: [
|
|
891
891
|
...m,
|
|
892
892
|
{
|
|
893
893
|
type: "cat",
|
|
894
|
-
code:
|
|
894
|
+
code: R,
|
|
895
895
|
values: T.filter((A) => A !== B),
|
|
896
896
|
name: n.name
|
|
897
897
|
}
|
|
898
898
|
]
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
|
-
}) :
|
|
902
|
-
let
|
|
903
|
-
(T) => T.code ===
|
|
901
|
+
}) : ue == "abs" && L.setState((z) => {
|
|
902
|
+
let P = z.tematicalFiltersSelected.find(
|
|
903
|
+
(T) => T.code === R
|
|
904
904
|
);
|
|
905
905
|
if (v == n.minValue && S == n.maxValue)
|
|
906
906
|
return {
|
|
907
|
-
tematicalFiltersSelected:
|
|
908
|
-
(T) => T.code !==
|
|
907
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
908
|
+
(T) => T.code !== R
|
|
909
909
|
)
|
|
910
910
|
};
|
|
911
|
-
if (
|
|
912
|
-
let T = { ...
|
|
911
|
+
if (P) {
|
|
912
|
+
let T = { ...P };
|
|
913
913
|
return T.min = v, T.max = S, {
|
|
914
|
-
tematicalFiltersSelected:
|
|
915
|
-
(A) => A.code ===
|
|
914
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
915
|
+
(A) => A.code === R ? T : A
|
|
916
916
|
)
|
|
917
917
|
};
|
|
918
918
|
} else
|
|
919
919
|
return {
|
|
920
920
|
tematicalFiltersSelected: [
|
|
921
921
|
...m,
|
|
922
|
-
{ type: "abs", code:
|
|
922
|
+
{ type: "abs", code: R, min: v, max: S }
|
|
923
923
|
]
|
|
924
924
|
};
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
|
-
}, w =
|
|
927
|
+
}, w = le(() => {
|
|
928
928
|
const x = {};
|
|
929
929
|
if ((m == null ? void 0 : m.length) > 0)
|
|
930
930
|
for (const v of m)
|
|
931
931
|
v.type === "cat" ? x[v.code] = new Set(v.values) : x[v.code] = [v.min, v.max];
|
|
932
932
|
return x;
|
|
933
933
|
}, [m]);
|
|
934
|
-
return /* @__PURE__ */ s("div", { className:
|
|
935
|
-
|
|
934
|
+
return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
935
|
+
G,
|
|
936
936
|
{
|
|
937
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
938
938
|
title: r,
|
|
@@ -950,7 +950,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
950
950
|
t == "both" && /* @__PURE__ */ h(
|
|
951
951
|
"div",
|
|
952
952
|
{
|
|
953
|
-
className:
|
|
953
|
+
className: re.inputTypeContainer,
|
|
954
954
|
style: { color: f },
|
|
955
955
|
children: [
|
|
956
956
|
/* @__PURE__ */ h("label", { children: [
|
|
@@ -994,7 +994,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
994
994
|
]
|
|
995
995
|
}
|
|
996
996
|
),
|
|
997
|
-
g && /* @__PURE__ */ s("div", { className:
|
|
997
|
+
g && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((x, v) => {
|
|
998
998
|
var S;
|
|
999
999
|
return /* @__PURE__ */ s(
|
|
1000
1000
|
Xe,
|
|
@@ -1006,7 +1006,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
1006
1006
|
`checkbox-${v}`
|
|
1007
1007
|
);
|
|
1008
1008
|
}) }),
|
|
1009
|
-
y && /* @__PURE__ */ s("div", { className:
|
|
1009
|
+
y && /* @__PURE__ */ s("div", { className: re.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1010
1010
|
Qe,
|
|
1011
1011
|
{
|
|
1012
1012
|
onChange: _,
|
|
@@ -1021,7 +1021,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
1021
1021
|
}
|
|
1022
1022
|
) });
|
|
1023
1023
|
};
|
|
1024
|
-
|
|
1024
|
+
De.propTypes = {
|
|
1025
1025
|
indicator: e.shape({
|
|
1026
1026
|
name: e.string,
|
|
1027
1027
|
type: e.string,
|
|
@@ -1044,7 +1044,7 @@ const et = ({
|
|
|
1044
1044
|
}) => {
|
|
1045
1045
|
const { activeSubcategory: i } = L((l) => l), { name: t, indicators: r } = n || {};
|
|
1046
1046
|
return /* @__PURE__ */ s(
|
|
1047
|
-
|
|
1047
|
+
G,
|
|
1048
1048
|
{
|
|
1049
1049
|
title: t,
|
|
1050
1050
|
isOpen: i == `id${t}`,
|
|
@@ -1060,7 +1060,7 @@ const et = ({
|
|
|
1060
1060
|
color: d,
|
|
1061
1061
|
activeColor: o,
|
|
1062
1062
|
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
|
|
1063
|
-
|
|
1063
|
+
De,
|
|
1064
1064
|
{
|
|
1065
1065
|
indicator: l,
|
|
1066
1066
|
fontColor: d,
|
|
@@ -1091,7 +1091,7 @@ const tt = ({
|
|
|
1091
1091
|
}) => {
|
|
1092
1092
|
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = L((a) => a);
|
|
1093
1093
|
return n && /* @__PURE__ */ s(
|
|
1094
|
-
|
|
1094
|
+
G,
|
|
1095
1095
|
{
|
|
1096
1096
|
onClick: () => {
|
|
1097
1097
|
L.setState((a) => ({
|
|
@@ -1113,7 +1113,7 @@ const tt = ({
|
|
|
1113
1113
|
},
|
|
1114
1114
|
`subcategory-${c}`
|
|
1115
1115
|
)) : t && t.map((a, c) => /* @__PURE__ */ s(
|
|
1116
|
-
|
|
1116
|
+
De,
|
|
1117
1117
|
{
|
|
1118
1118
|
indicator: a,
|
|
1119
1119
|
fontColor: l,
|
|
@@ -1148,7 +1148,7 @@ const nt = ({
|
|
|
1148
1148
|
}, [i]), D(() => {
|
|
1149
1149
|
t && L.setState(() => ({ inputsColor: t }));
|
|
1150
1150
|
}, [t]), /* @__PURE__ */ s(
|
|
1151
|
-
|
|
1151
|
+
G,
|
|
1152
1152
|
{
|
|
1153
1153
|
isOpen: d,
|
|
1154
1154
|
title: o ? a(o) : "Tematical filters",
|
|
@@ -1175,7 +1175,7 @@ nt.propTypes = {
|
|
|
1175
1175
|
inputsColor: e.string,
|
|
1176
1176
|
activeColor: e.string
|
|
1177
1177
|
};
|
|
1178
|
-
const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7", E2 = "_FiltersAmbitTitle_1g9xx_15", P2 = "_FiltersAmbitDescription_1g9xx_22", j2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", z2 = "_warning_1g9xx_37",
|
|
1178
|
+
const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7", E2 = "_FiltersAmbitTitle_1g9xx_15", P2 = "_FiltersAmbitDescription_1g9xx_22", j2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", z2 = "_warning_1g9xx_37", W = {
|
|
1179
1179
|
FiltersAmbitContainer: I2,
|
|
1180
1180
|
FiltersAmbitHeader: R2,
|
|
1181
1181
|
FiltersAmbitTitle: E2,
|
|
@@ -1197,7 +1197,7 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1197
1197
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1198
1198
|
nameRequiredText: y
|
|
1199
1199
|
}) => {
|
|
1200
|
-
const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] =
|
|
1200
|
+
const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] = M(n || null), [_, w] = M(d || null), [x, v] = M(!1);
|
|
1201
1201
|
D(() => {
|
|
1202
1202
|
o && o.length > 0 && L.setState((B) => ({
|
|
1203
1203
|
tematicalFiltersSelected: o
|
|
@@ -1208,9 +1208,9 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1208
1208
|
const S = () => {
|
|
1209
1209
|
f ? c({ name: f, description: _ }) : v(!0);
|
|
1210
1210
|
};
|
|
1211
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1212
|
-
/* @__PURE__ */ h("div", { className:
|
|
1213
|
-
/* @__PURE__ */ s("div", { className:
|
|
1211
|
+
return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
|
|
1212
|
+
/* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
|
|
1213
|
+
/* @__PURE__ */ s("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1214
1214
|
"input",
|
|
1215
1215
|
{
|
|
1216
1216
|
type: "text",
|
|
@@ -1221,7 +1221,7 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1221
1221
|
placeholder: m(u)
|
|
1222
1222
|
}
|
|
1223
1223
|
) }),
|
|
1224
|
-
/* @__PURE__ */ s("div", { className:
|
|
1224
|
+
/* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1225
1225
|
"textarea",
|
|
1226
1226
|
{
|
|
1227
1227
|
value: _,
|
|
@@ -1251,8 +1251,8 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1251
1251
|
activeColor: t
|
|
1252
1252
|
}
|
|
1253
1253
|
),
|
|
1254
|
-
x && /* @__PURE__ */ s("div", { className:
|
|
1255
|
-
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(
|
|
1254
|
+
x && /* @__PURE__ */ s("div", { className: W.warning, children: m(y) }),
|
|
1255
|
+
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children: m("save_ambit") }) })
|
|
1256
1256
|
] });
|
|
1257
1257
|
};
|
|
1258
1258
|
q2.propTypes = {
|
|
@@ -1284,9 +1284,9 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1284
1284
|
numberOfDivisions: c = 7,
|
|
1285
1285
|
maxValue: u = null
|
|
1286
1286
|
}) => {
|
|
1287
|
-
const { t: p } = k(), { xScale: g, ticks: y, height: m } =
|
|
1287
|
+
const { t: p } = k(), { xScale: g, ticks: y, height: m } = le(() => {
|
|
1288
1288
|
if (n && n.length > 0) {
|
|
1289
|
-
const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, f =
|
|
1289
|
+
const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, f = $e.max(n, (w) => w.value) || 1, b = $e.scaleLinear().domain([0, u || f]).range([0, d - a]), _ = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : f / c * x);
|
|
1290
1290
|
return {
|
|
1291
1291
|
xScale: b,
|
|
1292
1292
|
ticks: _,
|
|
@@ -1380,7 +1380,7 @@ it.propTypes = {
|
|
|
1380
1380
|
numberOfDivisions: e.number,
|
|
1381
1381
|
fontColor: e.string
|
|
1382
1382
|
};
|
|
1383
|
-
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14",
|
|
1383
|
+
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Ie = {
|
|
1384
1384
|
graphicContainer: K2,
|
|
1385
1385
|
titleContainer: U2
|
|
1386
1386
|
}, G2 = ({
|
|
@@ -1398,13 +1398,13 @@ const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Re = {
|
|
|
1398
1398
|
return /* @__PURE__ */ h(
|
|
1399
1399
|
"div",
|
|
1400
1400
|
{
|
|
1401
|
-
className:
|
|
1401
|
+
className: Ie.graphicContainer,
|
|
1402
1402
|
style: {
|
|
1403
1403
|
...o || {},
|
|
1404
1404
|
border: `1.5px solid ${i}`
|
|
1405
1405
|
},
|
|
1406
1406
|
children: [
|
|
1407
|
-
/* @__PURE__ */ s("div", { className:
|
|
1407
|
+
/* @__PURE__ */ s("div", { className: Ie.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1408
1408
|
/* @__PURE__ */ s(
|
|
1409
1409
|
it,
|
|
1410
1410
|
{
|
|
@@ -1437,11 +1437,11 @@ G2.propTypes = {
|
|
|
1437
1437
|
numberOfDivisions: e.number,
|
|
1438
1438
|
leftPadding: e.number
|
|
1439
1439
|
};
|
|
1440
|
-
const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu33_11",
|
|
1440
|
+
const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu33_11", Ce = {
|
|
1441
1441
|
indicatorsCategory: Y2,
|
|
1442
1442
|
title: W2,
|
|
1443
1443
|
list: J2
|
|
1444
|
-
}, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72",
|
|
1444
|
+
}, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72", F = {
|
|
1445
1445
|
indicatorContainer: X2,
|
|
1446
1446
|
indicatorNameContainer: Q2,
|
|
1447
1447
|
dot: e0,
|
|
@@ -1452,7 +1452,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1452
1452
|
optionContainer: s0,
|
|
1453
1453
|
customRadious: r0,
|
|
1454
1454
|
optionText: a0
|
|
1455
|
-
},
|
|
1455
|
+
}, Te = ({
|
|
1456
1456
|
indicator: n,
|
|
1457
1457
|
values: d = [],
|
|
1458
1458
|
activeColor: o,
|
|
@@ -1463,7 +1463,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1463
1463
|
multiple: a = !1,
|
|
1464
1464
|
onChangeType: c
|
|
1465
1465
|
}) => {
|
|
1466
|
-
const { t: u } = k(), { name: p, type: g } = n, [y, m] =
|
|
1466
|
+
const { t: u } = k(), { name: p, type: g } = n, [y, m] = M(!1);
|
|
1467
1467
|
D(() => {
|
|
1468
1468
|
t && m(
|
|
1469
1469
|
a ? t.some(
|
|
@@ -1471,17 +1471,17 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1471
1471
|
) : t.name == p
|
|
1472
1472
|
);
|
|
1473
1473
|
}, [t]);
|
|
1474
|
-
const C = () => /* @__PURE__ */ s("div", { className:
|
|
1474
|
+
const C = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ h("div", { className: F.switchTypeOptions, children: [
|
|
1475
1475
|
/* @__PURE__ */ h(
|
|
1476
1476
|
"div",
|
|
1477
1477
|
{
|
|
1478
|
-
className:
|
|
1478
|
+
className: F.optionContainer,
|
|
1479
1479
|
onClick: () => c("cat"),
|
|
1480
1480
|
children: [
|
|
1481
1481
|
/* @__PURE__ */ s(
|
|
1482
1482
|
"span",
|
|
1483
1483
|
{
|
|
1484
|
-
className: `${
|
|
1484
|
+
className: `${F.customRadious}`,
|
|
1485
1485
|
style: {
|
|
1486
1486
|
backgroundColor: r === "cat" ? o : "transparent",
|
|
1487
1487
|
borderColor: r === "cat" ? o : i
|
|
@@ -1491,7 +1491,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1491
1491
|
/* @__PURE__ */ s(
|
|
1492
1492
|
"h4",
|
|
1493
1493
|
{
|
|
1494
|
-
className:
|
|
1494
|
+
className: F.optionText,
|
|
1495
1495
|
style: {
|
|
1496
1496
|
color: r === "cat" ? o : i
|
|
1497
1497
|
},
|
|
@@ -1504,13 +1504,13 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1504
1504
|
/* @__PURE__ */ h(
|
|
1505
1505
|
"div",
|
|
1506
1506
|
{
|
|
1507
|
-
className:
|
|
1507
|
+
className: F.optionContainer,
|
|
1508
1508
|
onClick: () => c("abs"),
|
|
1509
1509
|
children: [
|
|
1510
1510
|
/* @__PURE__ */ s(
|
|
1511
1511
|
"span",
|
|
1512
1512
|
{
|
|
1513
|
-
className: `${
|
|
1513
|
+
className: `${F.customRadious}`,
|
|
1514
1514
|
style: {
|
|
1515
1515
|
backgroundColor: r === "abs" ? o : "transparent",
|
|
1516
1516
|
borderColor: r === "abs" ? o : i
|
|
@@ -1520,7 +1520,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1520
1520
|
/* @__PURE__ */ s(
|
|
1521
1521
|
"h4",
|
|
1522
1522
|
{
|
|
1523
|
-
className:
|
|
1523
|
+
className: F.optionText,
|
|
1524
1524
|
style: {
|
|
1525
1525
|
color: r === "abs" ? o : i
|
|
1526
1526
|
},
|
|
@@ -1530,15 +1530,15 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1530
1530
|
]
|
|
1531
1531
|
}
|
|
1532
1532
|
)
|
|
1533
|
-
] }) }) }), f = () => /* @__PURE__ */ s("div", { className:
|
|
1533
|
+
] }) }) }), f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b, _) => /* @__PURE__ */ h(
|
|
1534
1534
|
"div",
|
|
1535
1535
|
{
|
|
1536
|
-
className:
|
|
1536
|
+
className: F.optionContainer,
|
|
1537
1537
|
children: [
|
|
1538
1538
|
/* @__PURE__ */ s(
|
|
1539
1539
|
"span",
|
|
1540
1540
|
{
|
|
1541
|
-
className:
|
|
1541
|
+
className: F.customRadious
|
|
1542
1542
|
}
|
|
1543
1543
|
),
|
|
1544
1544
|
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
@@ -1546,11 +1546,11 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1546
1546
|
},
|
|
1547
1547
|
_
|
|
1548
1548
|
)) }) }) });
|
|
1549
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1549
|
+
return /* @__PURE__ */ h("div", { className: F.indicatorContainer, children: [
|
|
1550
1550
|
/* @__PURE__ */ h(
|
|
1551
1551
|
"div",
|
|
1552
1552
|
{
|
|
1553
|
-
className:
|
|
1553
|
+
className: F.indicatorNameContainer,
|
|
1554
1554
|
onClick: () => l({ indicator: n }),
|
|
1555
1555
|
children: [
|
|
1556
1556
|
/* @__PURE__ */ s(
|
|
@@ -1559,15 +1559,15 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1559
1559
|
style: {
|
|
1560
1560
|
border: y ? `1px solid ${o}` : `1px solid ${i}`
|
|
1561
1561
|
},
|
|
1562
|
-
className:
|
|
1562
|
+
className: F.dot
|
|
1563
1563
|
}
|
|
1564
1564
|
),
|
|
1565
1565
|
/* @__PURE__ */ s(
|
|
1566
1566
|
"h4",
|
|
1567
1567
|
{
|
|
1568
|
-
className:
|
|
1568
|
+
className: F.indicatorName,
|
|
1569
1569
|
style: { color: y ? o : i },
|
|
1570
|
-
children: /* @__PURE__ */ s(
|
|
1570
|
+
children: /* @__PURE__ */ s(Fe, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1571
1571
|
}
|
|
1572
1572
|
)
|
|
1573
1573
|
]
|
|
@@ -1577,7 +1577,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1577
1577
|
(t == null ? void 0 : t.name) === p && g === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
|
|
1578
1578
|
] });
|
|
1579
1579
|
};
|
|
1580
|
-
|
|
1580
|
+
Te.propTypes = {
|
|
1581
1581
|
indicator: e.shape({
|
|
1582
1582
|
name: e.string,
|
|
1583
1583
|
type: e.string
|
|
@@ -1589,7 +1589,7 @@ Ve.propTypes = {
|
|
|
1589
1589
|
multiple: e.bool,
|
|
1590
1590
|
onClickIndicator: e.func
|
|
1591
1591
|
};
|
|
1592
|
-
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8",
|
|
1592
|
+
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
1593
1593
|
indicatorsSubCategory: l0,
|
|
1594
1594
|
list: c0
|
|
1595
1595
|
}, ot = ({
|
|
@@ -1606,13 +1606,13 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Ee = {
|
|
|
1606
1606
|
activeIndicatorType: p,
|
|
1607
1607
|
onChangeType: g
|
|
1608
1608
|
}) => {
|
|
1609
|
-
const { t: y } = k(), [m, C] =
|
|
1609
|
+
const { t: y } = k(), [m, C] = M(!1);
|
|
1610
1610
|
return D(() => {
|
|
1611
1611
|
C(t == l);
|
|
1612
1612
|
}, [t, l]), /* @__PURE__ */ h(
|
|
1613
|
-
|
|
1613
|
+
Le.div,
|
|
1614
1614
|
{
|
|
1615
|
-
className:
|
|
1615
|
+
className: Re.indicatorsSubCategory,
|
|
1616
1616
|
initial: { height: "43px" },
|
|
1617
1617
|
animate: { height: m ? "auto" : "43px" },
|
|
1618
1618
|
transition: { duration: 0.4 },
|
|
@@ -1627,8 +1627,8 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Ee = {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
)
|
|
1629
1629
|
] }) }),
|
|
1630
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1631
|
-
|
|
1630
|
+
d && /* @__PURE__ */ s("div", { className: Re.list, children: d == null ? void 0 : d.map((f, b) => /* @__PURE__ */ s(
|
|
1631
|
+
Te,
|
|
1632
1632
|
{
|
|
1633
1633
|
indicator: f,
|
|
1634
1634
|
defaultColor: o,
|
|
@@ -1673,13 +1673,13 @@ const st = ({
|
|
|
1673
1673
|
onChangeType: y
|
|
1674
1674
|
}) => {
|
|
1675
1675
|
var b;
|
|
1676
|
-
const { t: m } = k(), [C, f] =
|
|
1676
|
+
const { t: m } = k(), [C, f] = M(!1);
|
|
1677
1677
|
return D(() => {
|
|
1678
1678
|
f(r === d);
|
|
1679
1679
|
}, [r, d]), /* @__PURE__ */ h(
|
|
1680
|
-
|
|
1680
|
+
Le.div,
|
|
1681
1681
|
{
|
|
1682
|
-
className:
|
|
1682
|
+
className: Ce.indicatorsCategory,
|
|
1683
1683
|
initial: { height: "53px" },
|
|
1684
1684
|
animate: { height: C ? "auto" : "53px" },
|
|
1685
1685
|
transition: { duration: 0.4 },
|
|
@@ -1689,7 +1689,7 @@ const st = ({
|
|
|
1689
1689
|
marginBottom: C ? "20px" : "0px"
|
|
1690
1690
|
},
|
|
1691
1691
|
children: [
|
|
1692
|
-
/* @__PURE__ */ h("h2", { className: `${
|
|
1692
|
+
/* @__PURE__ */ h("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
|
|
1693
1693
|
/* @__PURE__ */ s("span", { style: { color: C ? o : i }, children: C ? "-" : "+" }),
|
|
1694
1694
|
/* @__PURE__ */ s(
|
|
1695
1695
|
"span",
|
|
@@ -1718,8 +1718,8 @@ const st = ({
|
|
|
1718
1718
|
},
|
|
1719
1719
|
`subcKey ${v}`
|
|
1720
1720
|
)
|
|
1721
|
-
) : /* @__PURE__ */ s("div", { className:
|
|
1722
|
-
|
|
1721
|
+
) : /* @__PURE__ */ s("div", { className: Ce.list, children: (b = n.indicators) == null ? void 0 : b.map((_, w) => /* @__PURE__ */ s(
|
|
1722
|
+
Te,
|
|
1723
1723
|
{
|
|
1724
1724
|
indicator: _,
|
|
1725
1725
|
values: _.type == "twoUnits" && _.values,
|
|
@@ -1751,7 +1751,7 @@ st.propTypes = {
|
|
|
1751
1751
|
activeColor: e.string,
|
|
1752
1752
|
defaultColor: e.string
|
|
1753
1753
|
};
|
|
1754
|
-
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6",
|
|
1754
|
+
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
1755
1755
|
indicatorsList: d0,
|
|
1756
1756
|
title: u0
|
|
1757
1757
|
}, p0 = ({
|
|
@@ -1768,7 +1768,7 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Pe = {
|
|
|
1768
1768
|
changeIndType: l,
|
|
1769
1769
|
activeIndicatorType: a
|
|
1770
1770
|
}) => {
|
|
1771
|
-
const { t: c } = k(), [u, p] =
|
|
1771
|
+
const { t: c } = k(), [u, p] = M(), [g, y] = M(), [m, C] = M(), f = (v) => {
|
|
1772
1772
|
p(u == v ? null : v);
|
|
1773
1773
|
}, b = (v) => {
|
|
1774
1774
|
y(g == v ? null : v);
|
|
@@ -1803,18 +1803,18 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Pe = {
|
|
|
1803
1803
|
const x = (v) => {
|
|
1804
1804
|
const S = n.find((B) => {
|
|
1805
1805
|
if (B.subcategories) {
|
|
1806
|
-
let
|
|
1807
|
-
(
|
|
1806
|
+
let E = B.subcategories.find(
|
|
1807
|
+
(Q) => Q.indicators.find((de) => de.name == v)
|
|
1808
1808
|
);
|
|
1809
|
-
if (
|
|
1810
|
-
return y(
|
|
1809
|
+
if (E)
|
|
1810
|
+
return y(E.subcategory), E;
|
|
1811
1811
|
} else
|
|
1812
|
-
return B.indicators.some((
|
|
1812
|
+
return B.indicators.some((E) => E.name == v);
|
|
1813
1813
|
});
|
|
1814
1814
|
S && p(S.category);
|
|
1815
1815
|
};
|
|
1816
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1817
|
-
/* @__PURE__ */ s("h2", { className:
|
|
1816
|
+
return /* @__PURE__ */ h("div", { className: Ee.indicatorsList, children: [
|
|
1817
|
+
/* @__PURE__ */ s("h2", { className: Ee.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1818
1818
|
n.map((v, S) => /* @__PURE__ */ s(
|
|
1819
1819
|
st,
|
|
1820
1820
|
{
|
|
@@ -1848,35 +1848,35 @@ p0.propTypes = {
|
|
|
1848
1848
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1849
1849
|
activeIndicatorType: e.string
|
|
1850
1850
|
};
|
|
1851
|
-
const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o9enq_26", C0 = "_prevImg_o9enq_29", f0 = "_langMenu_o9enq_33",
|
|
1851
|
+
const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o9enq_26", C0 = "_prevImg_o9enq_29", f0 = "_langMenu_o9enq_33", J = {
|
|
1852
1852
|
langSelector: m0,
|
|
1853
1853
|
currentLang: h0,
|
|
1854
1854
|
arrow: g0,
|
|
1855
1855
|
prevImg: C0,
|
|
1856
1856
|
langMenu: f0
|
|
1857
1857
|
}, b0 = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1858
|
-
const [i, t] =
|
|
1858
|
+
const [i, t] = M(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1859
1859
|
r.changeLanguage(c), t(!1);
|
|
1860
1860
|
};
|
|
1861
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1861
|
+
return /* @__PURE__ */ h("div", { className: J.langSelector, children: [
|
|
1862
1862
|
/* @__PURE__ */ h(
|
|
1863
1863
|
"div",
|
|
1864
1864
|
{
|
|
1865
|
-
className:
|
|
1865
|
+
className: J.currentLang,
|
|
1866
1866
|
onClick: () => {
|
|
1867
1867
|
t(!i);
|
|
1868
1868
|
},
|
|
1869
1869
|
children: [
|
|
1870
|
-
o && /* @__PURE__ */ s("img", { className:
|
|
1870
|
+
o && /* @__PURE__ */ s("img", { className: J.prevImg, src: o }),
|
|
1871
1871
|
(l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
|
|
1872
|
-
/* @__PURE__ */ s("img", { src: d, className:
|
|
1872
|
+
/* @__PURE__ */ s("img", { src: d, className: J.arrow })
|
|
1873
1873
|
]
|
|
1874
1874
|
}
|
|
1875
1875
|
),
|
|
1876
|
-
i && /* @__PURE__ */ s("div", { className:
|
|
1876
|
+
i && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1877
1877
|
"button",
|
|
1878
1878
|
{
|
|
1879
|
-
className: (l == null ? void 0 : l.code) == c.code ?
|
|
1879
|
+
className: (l == null ? void 0 : l.code) == c.code ? J.active : "",
|
|
1880
1880
|
onClick: () => a(c.code),
|
|
1881
1881
|
children: c.title
|
|
1882
1882
|
},
|
|
@@ -1898,7 +1898,7 @@ b0.propTypes = {
|
|
|
1898
1898
|
arrow: e.object,
|
|
1899
1899
|
imgPrev: e.object
|
|
1900
1900
|
};
|
|
1901
|
-
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titleContainer_atg3j_46", w0 = "_infoContainer_atg3j_52", x0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82",
|
|
1901
|
+
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titleContainer_atg3j_46", w0 = "_infoContainer_atg3j_52", x0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82", M0 = "_absoluteValueContainer_atg3j_88", F0 = "_absoluteValueColor_atg3j_91", L0 = "_absoluteValueText_atg3j_96", D0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1902
1902
|
legendContainer: y0,
|
|
1903
1903
|
closeButton: _0,
|
|
1904
1904
|
titleContainer: v0,
|
|
@@ -1908,8 +1908,8 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1908
1908
|
gridContainer: N0,
|
|
1909
1909
|
elementLegendContainer: S0,
|
|
1910
1910
|
colorDot: B0,
|
|
1911
|
-
absoluteValueContainer:
|
|
1912
|
-
absoluteValueColor:
|
|
1911
|
+
absoluteValueContainer: M0,
|
|
1912
|
+
absoluteValueColor: F0,
|
|
1913
1913
|
absoluteValueText: L0,
|
|
1914
1914
|
moreInfoContainer: D0
|
|
1915
1915
|
}, T0 = ({
|
|
@@ -1951,7 +1951,7 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1951
1951
|
g
|
|
1952
1952
|
] })
|
|
1953
1953
|
] }, d)) }) }),
|
|
1954
|
-
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(
|
|
1954
|
+
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Fe, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1955
1955
|
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1956
1956
|
/* @__PURE__ */ s(
|
|
1957
1957
|
"div",
|
|
@@ -2020,11 +2020,11 @@ T0.propTypes = {
|
|
|
2020
2020
|
buttonTitle: e.string,
|
|
2021
2021
|
onClickClose: e.func
|
|
2022
2022
|
};
|
|
2023
|
-
const V0 = "_logo_1ewa6_2",
|
|
2023
|
+
const V0 = "_logo_1ewa6_2", Pe = {
|
|
2024
2024
|
logo: V0
|
|
2025
2025
|
}, $0 = ({ src: n, alt: d, href: o }) => {
|
|
2026
2026
|
const { t: i } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
|
|
2027
|
-
return o ? /* @__PURE__ */ s("div", { className:
|
|
2027
|
+
return o ? /* @__PURE__ */ s("div", { className: Pe.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: Pe.logo, children: t });
|
|
2028
2028
|
};
|
|
2029
2029
|
$0.propTypes = {
|
|
2030
2030
|
src: e.string.isRequired,
|
|
@@ -2049,7 +2049,7 @@ const I0 = ({
|
|
|
2049
2049
|
sources: u = [],
|
|
2050
2050
|
layers: p = []
|
|
2051
2051
|
}) => {
|
|
2052
|
-
const g = Me(), [y, m] =
|
|
2052
|
+
const g = Me(), [y, m] = M(null), C = yt((f) => f.mapState.showTexts);
|
|
2053
2053
|
return D(() => {
|
|
2054
2054
|
if (g.current) {
|
|
2055
2055
|
const f = g.current.getMap();
|
|
@@ -2148,14 +2148,14 @@ I0.propTypes = {
|
|
|
2148
2148
|
};
|
|
2149
2149
|
const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
2150
2150
|
mapContainer: R0
|
|
2151
|
-
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2",
|
|
2151
|
+
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2", je = {
|
|
2152
2152
|
FeaturePopUp: P0,
|
|
2153
2153
|
title: j0
|
|
2154
2154
|
}, z0 = ({ props: n }) => {
|
|
2155
2155
|
const { t: d } = k();
|
|
2156
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2157
|
-
/* @__PURE__ */ h("span", { className:
|
|
2158
|
-
/* @__PURE__ */ s(
|
|
2156
|
+
return /* @__PURE__ */ s("div", { className: je.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2157
|
+
/* @__PURE__ */ h("span", { className: je.title, children: [
|
|
2158
|
+
/* @__PURE__ */ s(Fe, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
|
|
2159
2159
|
": "
|
|
2160
2160
|
] }),
|
|
2161
2161
|
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
@@ -2189,13 +2189,13 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
}, [m]), D(() => {
|
|
2191
2191
|
let f = new St();
|
|
2192
|
-
return
|
|
2193
|
-
|
|
2192
|
+
return pe.addProtocol("pmtiles", f.tile), () => {
|
|
2193
|
+
pe.removeProtocol("pmtiles");
|
|
2194
2194
|
};
|
|
2195
2195
|
}, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2196
2196
|
Bt,
|
|
2197
2197
|
{
|
|
2198
|
-
mapLib:
|
|
2198
|
+
mapLib: pe,
|
|
2199
2199
|
initialViewState: n,
|
|
2200
2200
|
ref: C,
|
|
2201
2201
|
hash: !1,
|
|
@@ -2206,12 +2206,12 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2206
2206
|
interactiveLayerIds: a,
|
|
2207
2207
|
children: [
|
|
2208
2208
|
c.length && c.map((f, b) => /* @__PURE__ */ s(
|
|
2209
|
-
|
|
2209
|
+
Mt,
|
|
2210
2210
|
{
|
|
2211
2211
|
...f,
|
|
2212
2212
|
children: u.length && u.map((_, w) => {
|
|
2213
2213
|
if (_.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2214
|
-
|
|
2214
|
+
Ft,
|
|
2215
2215
|
{
|
|
2216
2216
|
..._.layer,
|
|
2217
2217
|
beforeId: t,
|
|
@@ -2280,14 +2280,14 @@ q0.propTypes = {
|
|
|
2280
2280
|
popUpParams: e.object,
|
|
2281
2281
|
onClosePopUp: e.func
|
|
2282
2282
|
};
|
|
2283
|
-
const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textContainer_1egwc_20", U0 = "_title_1egwc_27", G0 = "_subtitle_1egwc_33", Y0 = "_rightContent_1egwc_38",
|
|
2283
|
+
const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textContainer_1egwc_20", U0 = "_title_1egwc_27", G0 = "_subtitle_1egwc_33", Y0 = "_rightContent_1egwc_38", H = {
|
|
2284
2284
|
sectionBar: Z0,
|
|
2285
2285
|
leftContent: H0,
|
|
2286
2286
|
textContainer: K0,
|
|
2287
2287
|
title: U0,
|
|
2288
2288
|
subtitle: G0,
|
|
2289
2289
|
rightContent: Y0
|
|
2290
|
-
},
|
|
2290
|
+
}, En = ({
|
|
2291
2291
|
leftIcon: n,
|
|
2292
2292
|
title: d,
|
|
2293
2293
|
subtitle: o,
|
|
@@ -2296,15 +2296,15 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2296
2296
|
width: r
|
|
2297
2297
|
}) => {
|
|
2298
2298
|
const { t: l } = k();
|
|
2299
|
-
return /* @__PURE__ */ h("div", { className:
|
|
2300
|
-
/* @__PURE__ */ h("div", { className:
|
|
2301
|
-
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className:
|
|
2302
|
-
/* @__PURE__ */ h("div", { className:
|
|
2303
|
-
/* @__PURE__ */ s("div", { className:
|
|
2304
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
2299
|
+
return /* @__PURE__ */ h("div", { className: H.sectionBar, style: { width: r && r }, children: [
|
|
2300
|
+
/* @__PURE__ */ h("div", { className: H.leftContent, children: [
|
|
2301
|
+
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
|
|
2302
|
+
/* @__PURE__ */ h("div", { className: H.textContainer, children: [
|
|
2303
|
+
/* @__PURE__ */ s("div", { className: H.title, children: l(d) }),
|
|
2304
|
+
o && /* @__PURE__ */ s("div", { className: H.subtitle, children: o })
|
|
2305
2305
|
] })
|
|
2306
2306
|
] }),
|
|
2307
|
-
/* @__PURE__ */ s("div", { className:
|
|
2307
|
+
/* @__PURE__ */ s("div", { className: H.rightContent, children: i })
|
|
2308
2308
|
] });
|
|
2309
2309
|
}, W0 = Tt({
|
|
2310
2310
|
name: "mapSlice",
|
|
@@ -2332,15 +2332,15 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2332
2332
|
n.activeIndicatorUnit = d.payload;
|
|
2333
2333
|
}
|
|
2334
2334
|
}
|
|
2335
|
-
}), { setShowTexts:
|
|
2335
|
+
}), { setShowTexts: Pn, setYear: fe, setActiveIndicatorKey: jn, setActiveIndicatorType: zn, setActiveIndicatorUnit: qn } = W0.actions, J0 = "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", X0 = "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", Q0 = "_slider_a19yo_2", e1 = "_playButton_a19yo_17", t1 = "_sliderOpen_a19yo_28", n1 = "_sliderResults_a19yo_32", te = {
|
|
2336
2336
|
slider: Q0,
|
|
2337
2337
|
playButton: e1,
|
|
2338
2338
|
sliderOpen: t1,
|
|
2339
2339
|
sliderResults: n1
|
|
2340
2340
|
}, i1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2341
|
-
const [l, a] =
|
|
2342
|
-
a(w), c(
|
|
2343
|
-
}, [p, g] =
|
|
2341
|
+
const [l, a] = M(d), c = _t(), u = (_, w) => {
|
|
2342
|
+
a(w), c(fe(w - 2e3));
|
|
2343
|
+
}, [p, g] = M(!1), y = () => {
|
|
2344
2344
|
g(!0);
|
|
2345
2345
|
}, m = () => {
|
|
2346
2346
|
g(!1);
|
|
@@ -2359,7 +2359,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2359
2359
|
}
|
|
2360
2360
|
}, [w]);
|
|
2361
2361
|
})(() => {
|
|
2362
|
-
p && (l != 2050 ? (a(l + 1), c(
|
|
2362
|
+
p && (l != 2050 ? (a(l + 1), c(fe(l - 2e3 + 1))) : (a(2025), c(fe(25))));
|
|
2363
2363
|
}, 1e3);
|
|
2364
2364
|
const f = $t({
|
|
2365
2365
|
palette: {
|
|
@@ -2393,7 +2393,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2393
2393
|
At,
|
|
2394
2394
|
{
|
|
2395
2395
|
sx: { width: 400 },
|
|
2396
|
-
className: `${n ?
|
|
2396
|
+
className: `${n ? te.sliderResults : te.slider} ${r ? te.sliderOpen : ""}`,
|
|
2397
2397
|
style: { zIndex: t },
|
|
2398
2398
|
children: [
|
|
2399
2399
|
o,
|
|
@@ -2413,8 +2413,8 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2413
2413
|
}
|
|
2414
2414
|
),
|
|
2415
2415
|
i,
|
|
2416
|
-
!p && /* @__PURE__ */ s("button", { className:
|
|
2417
|
-
p && /* @__PURE__ */ s("button", { className:
|
|
2416
|
+
!p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: J0, alt: "Play" }) }),
|
|
2417
|
+
p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: m, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
|
|
2418
2418
|
]
|
|
2419
2419
|
}
|
|
2420
2420
|
) });
|
|
@@ -2427,7 +2427,7 @@ i1.propTypes = {
|
|
|
2427
2427
|
zIndex: e.number,
|
|
2428
2428
|
rightBarOpen: e.bool
|
|
2429
2429
|
};
|
|
2430
|
-
const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 = "_active_12mp4_27",
|
|
2430
|
+
const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 = "_active_12mp4_27", be = {
|
|
2431
2431
|
TopNavMenuContainer: o1,
|
|
2432
2432
|
topNavOptions: s1,
|
|
2433
2433
|
active: r1
|
|
@@ -2438,11 +2438,11 @@ const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 =
|
|
|
2438
2438
|
textColor: i = "white"
|
|
2439
2439
|
}) => {
|
|
2440
2440
|
const { t } = k();
|
|
2441
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2441
|
+
return /* @__PURE__ */ s("div", { className: be.TopNavMenuContainer, style: { ...d }, children: n.map((r, l) => /* @__PURE__ */ s(
|
|
2442
2442
|
It,
|
|
2443
2443
|
{
|
|
2444
2444
|
to: r.url,
|
|
2445
|
-
className: ({ isActive: a }) => `${
|
|
2445
|
+
className: ({ isActive: a }) => `${be.topNavOptions} ${a ? be.active : ""} `,
|
|
2446
2446
|
style: ({ isActive: a }) => ({
|
|
2447
2447
|
color: i,
|
|
2448
2448
|
borderBottom: a ? `5px solid ${o}` : "5px solid transparent"
|
|
@@ -2497,7 +2497,7 @@ d1.propTypes = {
|
|
|
2497
2497
|
userName: e.string,
|
|
2498
2498
|
isLoggedIn: e.bool
|
|
2499
2499
|
};
|
|
2500
|
-
const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80",
|
|
2500
|
+
const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80", I = {
|
|
2501
2501
|
elementSelector: u1,
|
|
2502
2502
|
header: p1,
|
|
2503
2503
|
nameDateContainer: m1,
|
|
@@ -2516,28 +2516,28 @@ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateC
|
|
|
2516
2516
|
break: "_break_1s506_63",
|
|
2517
2517
|
moreInfoContainer: N1,
|
|
2518
2518
|
moreInfo: S1
|
|
2519
|
-
}, B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%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", 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%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", 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%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", 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%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", 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%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";
|
|
2520
|
-
var
|
|
2521
|
-
function
|
|
2522
|
-
return
|
|
2519
|
+
}, B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%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", 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%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", 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%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";
|
|
2520
|
+
var ze;
|
|
2521
|
+
function Se() {
|
|
2522
|
+
return Se = Object.assign ? Object.assign.bind() : function(n) {
|
|
2523
2523
|
for (var d = 1; d < arguments.length; d++) {
|
|
2524
2524
|
var o = arguments[d];
|
|
2525
2525
|
for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
2526
2526
|
}
|
|
2527
2527
|
return n;
|
|
2528
|
-
},
|
|
2528
|
+
}, Se.apply(null, arguments);
|
|
2529
2529
|
}
|
|
2530
2530
|
var T1 = function(d) {
|
|
2531
|
-
return /* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ X.createElement("svg", Se({
|
|
2532
2532
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2533
2533
|
width: 26,
|
|
2534
2534
|
height: 14,
|
|
2535
2535
|
fill: "none"
|
|
2536
|
-
}, d),
|
|
2536
|
+
}, d), ze || (ze = /* @__PURE__ */ X.createElement("g", {
|
|
2537
2537
|
fill: "currentColor"
|
|
2538
|
-
}, /* @__PURE__ */
|
|
2538
|
+
}, /* @__PURE__ */ X.createElement("path", {
|
|
2539
2539
|
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"
|
|
2540
|
-
}), /* @__PURE__ */
|
|
2540
|
+
}), /* @__PURE__ */ X.createElement("path", {
|
|
2541
2541
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2542
2542
|
}))));
|
|
2543
2543
|
};
|
|
@@ -2553,7 +2553,7 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2553
2553
|
processTooltip: c,
|
|
2554
2554
|
defaultTooltip: u
|
|
2555
2555
|
}) => {
|
|
2556
|
-
const { nom: p, created_at: g, id: y, isBeingProcessed: m } = n, [C, f] =
|
|
2556
|
+
const { nom: p, created_at: g, id: y, isBeingProcessed: m } = n, [C, f] = M(!1), { t: b } = k();
|
|
2557
2557
|
return /* @__PURE__ */ h(
|
|
2558
2558
|
"div",
|
|
2559
2559
|
{
|
|
@@ -2578,23 +2578,23 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2578
2578
|
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2579
2579
|
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2580
2580
|
/* @__PURE__ */ s("img", { src: L1 }),
|
|
2581
|
-
/* @__PURE__ */ s(
|
|
2581
|
+
/* @__PURE__ */ s(U, { text: c, position: "left" })
|
|
2582
2582
|
] }),
|
|
2583
2583
|
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2584
|
-
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2585
|
-
/* @__PURE__ */ s(
|
|
2584
|
+
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
|
|
2585
|
+
/* @__PURE__ */ s(U, { text: a.filter.tooltiptext, position: "left" })
|
|
2586
2586
|
] }),
|
|
2587
2587
|
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2588
|
-
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2589
|
-
/* @__PURE__ */ s(
|
|
2588
|
+
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: M1 }) }),
|
|
2589
|
+
/* @__PURE__ */ s(U, { text: a.copy.tooltiptext, position: "left" })
|
|
2590
2590
|
] }),
|
|
2591
2591
|
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2592
2592
|
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: B1 }) }),
|
|
2593
|
-
/* @__PURE__ */ s(
|
|
2593
|
+
/* @__PURE__ */ s(U, { text: a.trash.tooltiptext, position: "left" })
|
|
2594
2594
|
] }),
|
|
2595
2595
|
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2596
2596
|
/* @__PURE__ */ s("img", { src: D1 }),
|
|
2597
|
-
/* @__PURE__ */ s(
|
|
2597
|
+
/* @__PURE__ */ s(U, { text: u, position: "left" })
|
|
2598
2598
|
] })
|
|
2599
2599
|
] }),
|
|
2600
2600
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
@@ -2644,7 +2644,7 @@ rt.propTypes = {
|
|
|
2644
2644
|
processTooltip: e.string,
|
|
2645
2645
|
defaultTooltip: e.string
|
|
2646
2646
|
};
|
|
2647
|
-
const
|
|
2647
|
+
const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", $1 = ({
|
|
2648
2648
|
elementsList: n,
|
|
2649
2649
|
activeElementId: d,
|
|
2650
2650
|
fontColor: o = "#605B56",
|
|
@@ -2665,7 +2665,7 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2665
2665
|
defaultTooltip: y
|
|
2666
2666
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2667
2667
|
}) => {
|
|
2668
|
-
const { t: m } = k(), [C, f] =
|
|
2668
|
+
const { t: m } = k(), [C, f] = M(n);
|
|
2669
2669
|
D(() => {
|
|
2670
2670
|
n && f(n);
|
|
2671
2671
|
}, [n]);
|
|
@@ -2678,32 +2678,32 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2678
2678
|
return /* @__PURE__ */ h(
|
|
2679
2679
|
"div",
|
|
2680
2680
|
{
|
|
2681
|
-
className:
|
|
2681
|
+
className: I.elementSelector,
|
|
2682
2682
|
style: { color: o, ...r },
|
|
2683
2683
|
children: [
|
|
2684
2684
|
/* @__PURE__ */ h(
|
|
2685
2685
|
"div",
|
|
2686
2686
|
{
|
|
2687
|
-
className:
|
|
2687
|
+
className: I.header,
|
|
2688
2688
|
style: { borderBottom: `1px solid ${o}` },
|
|
2689
2689
|
children: [
|
|
2690
|
-
/* @__PURE__ */ h("div", { className:
|
|
2691
|
-
c.nom && /* @__PURE__ */ s("div", { className:
|
|
2690
|
+
/* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
|
|
2691
|
+
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ h("button", { onClick: () => b("name"), children: [
|
|
2692
2692
|
/* @__PURE__ */ s("span", { children: m(c.nom) }),
|
|
2693
|
-
/* @__PURE__ */ s("img", { src:
|
|
2693
|
+
/* @__PURE__ */ s("img", { src: qe })
|
|
2694
2694
|
] }) }),
|
|
2695
|
-
c.data && /* @__PURE__ */ s("div", { className:
|
|
2695
|
+
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => b("date"), children: [
|
|
2696
2696
|
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2697
|
-
/* @__PURE__ */ s("img", { src:
|
|
2697
|
+
/* @__PURE__ */ s("img", { src: qe })
|
|
2698
2698
|
] }) }),
|
|
2699
|
-
c.ambit && /* @__PURE__ */ s("div", { className:
|
|
2700
|
-
c.escenari && /* @__PURE__ */ s("div", { className:
|
|
2699
|
+
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.ambit) }) }),
|
|
2700
|
+
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.escenari) }) })
|
|
2701
2701
|
] }),
|
|
2702
|
-
/* @__PURE__ */ s("div", { className:
|
|
2702
|
+
/* @__PURE__ */ s("div", { className: I.buttonsContainer })
|
|
2703
2703
|
]
|
|
2704
2704
|
}
|
|
2705
2705
|
),
|
|
2706
|
-
/* @__PURE__ */ s("div", { className:
|
|
2706
|
+
/* @__PURE__ */ s("div", { className: I.elementListContainer, children: C && C.length > 0 && C.map((_) => /* @__PURE__ */ s(
|
|
2707
2707
|
rt,
|
|
2708
2708
|
{
|
|
2709
2709
|
isActive: d == _.id,
|
|
@@ -2719,8 +2719,8 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2719
2719
|
},
|
|
2720
2720
|
`elementKey${_.id}`
|
|
2721
2721
|
)) }),
|
|
2722
|
-
l && /* @__PURE__ */ s("div", { className:
|
|
2723
|
-
|
|
2722
|
+
l && /* @__PURE__ */ s("div", { className: I.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2723
|
+
ce,
|
|
2724
2724
|
{
|
|
2725
2725
|
style: { ...t },
|
|
2726
2726
|
onClick: l.onClick,
|
|
@@ -2778,10 +2778,10 @@ $1.propTypes = {
|
|
|
2778
2778
|
processTooltip: e.string,
|
|
2779
2779
|
defaultTooltip: e.string
|
|
2780
2780
|
};
|
|
2781
|
-
const
|
|
2781
|
+
const Ze = {
|
|
2782
2782
|
text: "text",
|
|
2783
2783
|
password: "password"
|
|
2784
|
-
}, A1 = "_textInputContainer_15gun_2", O1 = "_labelContainer_15gun_5", I1 = "_inputContainer_15gun_8", R1 = "_showPasswordButton_15gun_14", E1 = "_forgotPassButton_15gun_26",
|
|
2784
|
+
}, A1 = "_textInputContainer_15gun_2", O1 = "_labelContainer_15gun_5", I1 = "_inputContainer_15gun_8", R1 = "_showPasswordButton_15gun_14", E1 = "_forgotPassButton_15gun_26", ne = {
|
|
2785
2785
|
textInputContainer: A1,
|
|
2786
2786
|
labelContainer: O1,
|
|
2787
2787
|
inputContainer: I1,
|
|
@@ -2790,16 +2790,16 @@ const I = {
|
|
|
2790
2790
|
};
|
|
2791
2791
|
var P1 = (n) => n.type === "checkbox", j1 = (n) => n instanceof Date, at = (n) => n == null;
|
|
2792
2792
|
const z1 = (n) => typeof n == "object";
|
|
2793
|
-
var
|
|
2793
|
+
var ie = (n) => !at(n) && !Array.isArray(n) && z1(n) && !j1(n), q1 = (n) => ie(n) && n.target ? P1(n.target) ? n.target.checked : n.target.value : n, Z1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, H1 = (n, d) => n.has(Z1(d)), K1 = (n) => {
|
|
2794
2794
|
const d = n.constructor && n.constructor.prototype;
|
|
2795
|
-
return
|
|
2795
|
+
return ie(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2796
2796
|
}, U1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2797
2797
|
function lt(n) {
|
|
2798
2798
|
let d;
|
|
2799
2799
|
const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2800
2800
|
if (n instanceof Date)
|
|
2801
2801
|
d = new Date(n);
|
|
2802
|
-
else if (!(U1 && (n instanceof Blob || i)) && (o ||
|
|
2802
|
+
else if (!(U1 && (n instanceof Blob || i)) && (o || ie(n)))
|
|
2803
2803
|
if (d = o ? [] : {}, !o && !K1(n))
|
|
2804
2804
|
d = n;
|
|
2805
2805
|
else
|
|
@@ -2809,12 +2809,12 @@ function lt(n) {
|
|
|
2809
2809
|
return n;
|
|
2810
2810
|
return d;
|
|
2811
2811
|
}
|
|
2812
|
-
var ct = (n) => /^\w*$/.test(n),
|
|
2813
|
-
if (!d || !
|
|
2812
|
+
var ct = (n) => /^\w*$/.test(n), Be = (n) => n === void 0, G1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], dt = (n) => G1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, o) => {
|
|
2813
|
+
if (!d || !ie(n))
|
|
2814
2814
|
return o;
|
|
2815
2815
|
const i = (ct(d) ? [d] : dt(d)).reduce((t, r) => at(t) ? t : t[r], n);
|
|
2816
|
-
return
|
|
2817
|
-
},
|
|
2816
|
+
return Be(i) || i === n ? Be(n[d]) ? o : n[d] : i;
|
|
2817
|
+
}, ye = (n) => typeof n == "boolean", He = (n, d, o) => {
|
|
2818
2818
|
let i = -1;
|
|
2819
2819
|
const t = ct(d) ? [d] : dt(d), r = t.length, l = r - 1;
|
|
2820
2820
|
for (; ++i < r; ) {
|
|
@@ -2822,7 +2822,7 @@ var ct = (n) => /^\w*$/.test(n), Fe = (n) => n === void 0, G1 = (n) => Array.isA
|
|
|
2822
2822
|
let c = o;
|
|
2823
2823
|
if (i !== l) {
|
|
2824
2824
|
const u = n[a];
|
|
2825
|
-
c =
|
|
2825
|
+
c = ie(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
|
|
2826
2826
|
}
|
|
2827
2827
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
2828
2828
|
return;
|
|
@@ -2836,7 +2836,7 @@ const Ke = {
|
|
|
2836
2836
|
all: "all"
|
|
2837
2837
|
}, ut = N.createContext(null);
|
|
2838
2838
|
ut.displayName = "HookFormContext";
|
|
2839
|
-
const
|
|
2839
|
+
const Ve = () => N.useContext(ut);
|
|
2840
2840
|
var Y1 = (n, d, o, i = !0) => {
|
|
2841
2841
|
const t = {
|
|
2842
2842
|
defaultValues: d._defaultValues
|
|
@@ -2850,9 +2850,9 @@ var Y1 = (n, d, o, i = !0) => {
|
|
|
2850
2850
|
});
|
|
2851
2851
|
return t;
|
|
2852
2852
|
};
|
|
2853
|
-
const pt = typeof window < "u" ?
|
|
2853
|
+
const pt = typeof window < "u" ? X.useLayoutEffect : X.useEffect;
|
|
2854
2854
|
function W1(n) {
|
|
2855
|
-
const d =
|
|
2855
|
+
const d = Ve(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [l, a] = N.useState(o._formState), c = N.useRef({
|
|
2856
2856
|
isDirty: !1,
|
|
2857
2857
|
isLoading: !1,
|
|
2858
2858
|
dirtyFields: !1,
|
|
@@ -2878,7 +2878,7 @@ function W1(n) {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
var J1 = (n) => typeof n == "string", X1 = (n, d, o, i, t) => J1(n) ? $(o, n, t) : Array.isArray(n) ? n.map((r) => $(o, r)) : o;
|
|
2880
2880
|
function Q1(n) {
|
|
2881
|
-
const d =
|
|
2881
|
+
const d = Ve(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: l } = n || {}, a = N.useRef(t), [c, u] = N.useState(o._getWatch(i, a.current));
|
|
2882
2882
|
return pt(() => o._subscribe({
|
|
2883
2883
|
name: i,
|
|
2884
2884
|
formState: {
|
|
@@ -2889,7 +2889,7 @@ function Q1(n) {
|
|
|
2889
2889
|
}), [i, o, r, l]), N.useEffect(() => o._removeUnmounted()), c;
|
|
2890
2890
|
}
|
|
2891
2891
|
function en(n) {
|
|
2892
|
-
const d =
|
|
2892
|
+
const d = Ve(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = H1(t._names.array, o), a = Q1({
|
|
2893
2893
|
control: t,
|
|
2894
2894
|
name: o,
|
|
2895
2895
|
defaultValue: $(t._formValues, o, $(t._defaultValues, o, n.defaultValue)),
|
|
@@ -2901,7 +2901,7 @@ function en(n) {
|
|
|
2901
2901
|
}), u = N.useRef(n), p = N.useRef(t.register(o, {
|
|
2902
2902
|
...n.rules,
|
|
2903
2903
|
value: a,
|
|
2904
|
-
...
|
|
2904
|
+
...ye(n.disabled) ? { disabled: n.disabled } : {}
|
|
2905
2905
|
})), g = N.useMemo(() => Object.defineProperties({}, {
|
|
2906
2906
|
invalid: {
|
|
2907
2907
|
enumerable: !0,
|
|
@@ -2946,7 +2946,7 @@ function en(n) {
|
|
|
2946
2946
|
}, [t._fields, o]), f = N.useMemo(() => ({
|
|
2947
2947
|
name: o,
|
|
2948
2948
|
value: a,
|
|
2949
|
-
...
|
|
2949
|
+
...ye(i) || c.disabled ? { disabled: c.disabled || i } : {},
|
|
2950
2950
|
onChange: y,
|
|
2951
2951
|
onBlur: m,
|
|
2952
2952
|
ref: C
|
|
@@ -2955,7 +2955,7 @@ function en(n) {
|
|
|
2955
2955
|
const b = t._options.shouldUnregister || r;
|
|
2956
2956
|
t.register(o, {
|
|
2957
2957
|
...u.current.rules,
|
|
2958
|
-
...
|
|
2958
|
+
...ye(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2959
2959
|
});
|
|
2960
2960
|
const _ = (w, x) => {
|
|
2961
2961
|
const v = $(t._fields, w);
|
|
@@ -2963,7 +2963,7 @@ function en(n) {
|
|
|
2963
2963
|
};
|
|
2964
2964
|
if (_(o, !0), b) {
|
|
2965
2965
|
const w = lt($(t._options.defaultValues, o));
|
|
2966
|
-
He(t._defaultValues, o, w),
|
|
2966
|
+
He(t._defaultValues, o, w), Be($(t._formValues, o)) && He(t._formValues, o, w);
|
|
2967
2967
|
}
|
|
2968
2968
|
return !l && t.register(o), () => {
|
|
2969
2969
|
(l ? b && !t._state.action : b) ? t.unregister(o) : _(o, !1);
|
|
@@ -3010,7 +3010,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3010
3010
|
console.log("Click on forgot password");
|
|
3011
3011
|
},
|
|
3012
3012
|
forgotPassLabel: y = "forgot-password"
|
|
3013
|
-
} = n, { t: m } = k(), [C, f] =
|
|
3013
|
+
} = n, { t: m } = k(), [C, f] = M(!1), b = () => i ? i === "password" && C ? "text" : i : "text";
|
|
3014
3014
|
return /* @__PURE__ */ s(
|
|
3015
3015
|
tn,
|
|
3016
3016
|
{
|
|
@@ -3023,8 +3023,8 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3023
3023
|
},
|
|
3024
3024
|
render: ({ field: _, fieldState: w }) => {
|
|
3025
3025
|
var x;
|
|
3026
|
-
return /* @__PURE__ */ h("div", { className:
|
|
3027
|
-
/* @__PURE__ */ h("h3", { className:
|
|
3026
|
+
return /* @__PURE__ */ h("div", { className: ne.textInputContainer, children: [
|
|
3027
|
+
/* @__PURE__ */ h("h3", { className: ne.labelContainer, children: [
|
|
3028
3028
|
m(t),
|
|
3029
3029
|
" ",
|
|
3030
3030
|
l && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
|
|
@@ -3033,7 +3033,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3033
3033
|
"div",
|
|
3034
3034
|
{
|
|
3035
3035
|
style: { position: "relative", width: p },
|
|
3036
|
-
className:
|
|
3036
|
+
className: ne.inputContainer,
|
|
3037
3037
|
children: [
|
|
3038
3038
|
/* @__PURE__ */ s(
|
|
3039
3039
|
"input",
|
|
@@ -3049,14 +3049,14 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3049
3049
|
{
|
|
3050
3050
|
onClick: () => f(!C),
|
|
3051
3051
|
type: "button",
|
|
3052
|
-
className:
|
|
3052
|
+
className: ne.showPasswordButton,
|
|
3053
3053
|
children: C ? "🙈" : "👁️"
|
|
3054
3054
|
}
|
|
3055
3055
|
)
|
|
3056
3056
|
]
|
|
3057
3057
|
}
|
|
3058
3058
|
),
|
|
3059
|
-
i == "password" && /* @__PURE__ */ s("div", { className:
|
|
3059
|
+
i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: m(y) }) }),
|
|
3060
3060
|
/* @__PURE__ */ s(
|
|
3061
3061
|
mt,
|
|
3062
3062
|
{
|
|
@@ -3068,30 +3068,30 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
3070
3070
|
);
|
|
3071
|
-
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21",
|
|
3071
|
+
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21", _e = {
|
|
3072
3072
|
formContainer: sn,
|
|
3073
3073
|
formObjectContainer: rn,
|
|
3074
3074
|
buttonContainer: an
|
|
3075
|
-
}, ln = "_inputsContainer_10t9s_2",
|
|
3075
|
+
}, ln = "_inputsContainer_10t9s_2", ve = {
|
|
3076
3076
|
inputsContainer: ln
|
|
3077
|
-
},
|
|
3077
|
+
}, we = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: ve.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
|
|
3078
3078
|
const { inputType: r } = i;
|
|
3079
3079
|
switch (r) {
|
|
3080
|
-
case
|
|
3080
|
+
case Ze.text:
|
|
3081
3081
|
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: g } = i;
|
|
3082
3082
|
return /* @__PURE__ */ s(
|
|
3083
3083
|
"div",
|
|
3084
3084
|
{
|
|
3085
|
-
className:
|
|
3085
|
+
className: ve.inputContainer,
|
|
3086
3086
|
style: { ...o },
|
|
3087
3087
|
children: /* @__PURE__ */ s(Ge, { input: i, control: d })
|
|
3088
3088
|
}
|
|
3089
3089
|
);
|
|
3090
|
-
case
|
|
3090
|
+
case Ze.password:
|
|
3091
3091
|
return /* @__PURE__ */ s(
|
|
3092
3092
|
"div",
|
|
3093
3093
|
{
|
|
3094
|
-
className:
|
|
3094
|
+
className: ve.inputContainer,
|
|
3095
3095
|
style: { ...o },
|
|
3096
3096
|
children: /* @__PURE__ */ s(Ge, { input: i, control: d })
|
|
3097
3097
|
}
|
|
@@ -3099,7 +3099,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3099
3099
|
default:
|
|
3100
3100
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3101
3101
|
}
|
|
3102
|
-
}) }),
|
|
3102
|
+
}) }), Zn = ({
|
|
3103
3103
|
reactHookFormInstance: n,
|
|
3104
3104
|
formObject: d,
|
|
3105
3105
|
//Component with {title, children} as props.
|
|
@@ -3126,15 +3126,15 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3126
3126
|
const { t: C } = k();
|
|
3127
3127
|
return (
|
|
3128
3128
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3129
|
-
/* @__PURE__ */ h("form", { className:
|
|
3130
|
-
/* @__PURE__ */ s("div", { className:
|
|
3129
|
+
/* @__PURE__ */ h("form", { className: _e.formContainer, onSubmit: p(c), children: [
|
|
3130
|
+
/* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((f, b) => {
|
|
3131
3131
|
const { inputs: _ } = f;
|
|
3132
3132
|
return f.category ? o ? /* @__PURE__ */ s(
|
|
3133
3133
|
o,
|
|
3134
3134
|
{
|
|
3135
3135
|
title: f.category,
|
|
3136
3136
|
children: /* @__PURE__ */ s(
|
|
3137
|
-
|
|
3137
|
+
we,
|
|
3138
3138
|
{
|
|
3139
3139
|
inputs: _,
|
|
3140
3140
|
control: y,
|
|
@@ -3148,7 +3148,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3148
3148
|
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f.category }),
|
|
3149
3149
|
/* @__PURE__ */ s("p", { children: "This is a category component example." }),
|
|
3150
3150
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3151
|
-
|
|
3151
|
+
we,
|
|
3152
3152
|
{
|
|
3153
3153
|
inputs: _,
|
|
3154
3154
|
control: y,
|
|
@@ -3157,7 +3157,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
) })
|
|
3159
3159
|
] }, `${f.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3160
|
-
|
|
3160
|
+
we,
|
|
3161
3161
|
{
|
|
3162
3162
|
inputContainerStyles: i,
|
|
3163
3163
|
inputs: _,
|
|
@@ -3166,31 +3166,19 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3166
3166
|
}
|
|
3167
3167
|
) }, `inputKey${b}`);
|
|
3168
3168
|
}) }),
|
|
3169
|
-
/* @__PURE__ */ h("div", { className:
|
|
3170
|
-
/* @__PURE__ */ s(
|
|
3169
|
+
/* @__PURE__ */ h("div", { className: _e.buttonContainer, children: [
|
|
3170
|
+
/* @__PURE__ */ s(ce, { containerStyles: a, type: "submit", children: C(l) }),
|
|
3171
3171
|
/* @__PURE__ */ s(mt, { errorMessage: t, errorColor: r })
|
|
3172
3172
|
] })
|
|
3173
3173
|
] })
|
|
3174
3174
|
);
|
|
3175
|
-
}
|
|
3176
|
-
cn
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
errorColor: I.errorColor,
|
|
3183
|
-
submitButtonLabel: I.submitButtonLabel,
|
|
3184
|
-
submitButtonStyles: I.submitButtonStyles,
|
|
3185
|
-
onSubmit: I.onSubmit
|
|
3186
|
-
};
|
|
3187
|
-
const dn = "_header_13kbt_2", un = "_leftComponents_13kbt_13", pn = "_centerComponents_13kbt_14", mn = "_rightComponents_13kbt_15", hn = "_componentsContainer_13kbt_32", U = {
|
|
3188
|
-
header: dn,
|
|
3189
|
-
leftComponents: un,
|
|
3190
|
-
centerComponents: pn,
|
|
3191
|
-
rightComponents: mn,
|
|
3192
|
-
componentsContainer: hn
|
|
3193
|
-
}, gn = ({
|
|
3175
|
+
}, cn = "_header_13kbt_2", dn = "_leftComponents_13kbt_13", un = "_centerComponents_13kbt_14", pn = "_rightComponents_13kbt_15", mn = "_componentsContainer_13kbt_32", K = {
|
|
3176
|
+
header: cn,
|
|
3177
|
+
leftComponents: dn,
|
|
3178
|
+
centerComponents: un,
|
|
3179
|
+
rightComponents: pn,
|
|
3180
|
+
componentsContainer: mn
|
|
3181
|
+
}, hn = ({
|
|
3194
3182
|
cssProps: n,
|
|
3195
3183
|
leftComponents: d = [],
|
|
3196
3184
|
centerComponents: o = [],
|
|
@@ -3203,7 +3191,7 @@ const dn = "_header_13kbt_2", un = "_leftComponents_13kbt_13", pn = "_centerComp
|
|
|
3203
3191
|
}) => /* @__PURE__ */ h(
|
|
3204
3192
|
"div",
|
|
3205
3193
|
{
|
|
3206
|
-
className:
|
|
3194
|
+
className: K.header,
|
|
3207
3195
|
style: {
|
|
3208
3196
|
...n,
|
|
3209
3197
|
zIndex: t,
|
|
@@ -3213,13 +3201,13 @@ const dn = "_header_13kbt_2", un = "_leftComponents_13kbt_13", pn = "_centerComp
|
|
|
3213
3201
|
bottom: a ? 0 : "auto"
|
|
3214
3202
|
},
|
|
3215
3203
|
children: [
|
|
3216
|
-
/* @__PURE__ */ s("div", { className:
|
|
3217
|
-
/* @__PURE__ */ s("div", { className:
|
|
3218
|
-
/* @__PURE__ */ s("div", { className:
|
|
3204
|
+
/* @__PURE__ */ s("div", { className: K.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: K.componentsContainer, children: c }, u)) }),
|
|
3205
|
+
/* @__PURE__ */ s("div", { className: K.centerComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: K.componentsContainer, children: c }, u)) }),
|
|
3206
|
+
/* @__PURE__ */ s("div", { className: K.rightComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: K.componentsContainer, children: c }, u)) })
|
|
3219
3207
|
]
|
|
3220
3208
|
}
|
|
3221
3209
|
);
|
|
3222
|
-
|
|
3210
|
+
hn.propTypes = {
|
|
3223
3211
|
leftComponents: e.arrayOf(e.node),
|
|
3224
3212
|
centerComponents: e.arrayOf(e.node),
|
|
3225
3213
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3229,12 +3217,12 @@ gn.propTypes = {
|
|
|
3229
3217
|
backgroundColor: e.string,
|
|
3230
3218
|
isFooter: e.bool
|
|
3231
3219
|
};
|
|
3232
|
-
const
|
|
3233
|
-
sidebar:
|
|
3234
|
-
open:
|
|
3235
|
-
content:
|
|
3236
|
-
closeButton:
|
|
3237
|
-
},
|
|
3220
|
+
const gn = "_sidebar_pt7g1_2", Cn = "_open_pt7g1_16", fn = "_content_pt7g1_20", bn = "_closeButton_pt7g1_26", ae = {
|
|
3221
|
+
sidebar: gn,
|
|
3222
|
+
open: Cn,
|
|
3223
|
+
content: fn,
|
|
3224
|
+
closeButton: bn
|
|
3225
|
+
}, yn = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", _n = ({
|
|
3238
3226
|
width: n = "300px",
|
|
3239
3227
|
children: d,
|
|
3240
3228
|
showRightBar: o,
|
|
@@ -3246,16 +3234,16 @@ const Cn = "_sidebar_pt7g1_2", fn = "_open_pt7g1_16", bn = "_content_pt7g1_20",
|
|
|
3246
3234
|
return /* @__PURE__ */ s(
|
|
3247
3235
|
"div",
|
|
3248
3236
|
{
|
|
3249
|
-
className: `${
|
|
3237
|
+
className: `${ae.sidebar} ${o ? ae.open : ""}`,
|
|
3250
3238
|
style: { width: o ? n : 0 },
|
|
3251
|
-
children: o && /* @__PURE__ */ h("div", { className:
|
|
3252
|
-
/* @__PURE__ */ s("button", { className:
|
|
3239
|
+
children: o && /* @__PURE__ */ h("div", { className: ae.content, children: [
|
|
3240
|
+
/* @__PURE__ */ s("button", { className: ae.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: yn, alt: "Close Sidebar" }) }),
|
|
3253
3241
|
d
|
|
3254
3242
|
] })
|
|
3255
3243
|
}
|
|
3256
3244
|
);
|
|
3257
3245
|
};
|
|
3258
|
-
|
|
3246
|
+
_n.propTypes = {
|
|
3259
3247
|
width: e.string,
|
|
3260
3248
|
children: e.node,
|
|
3261
3249
|
showRightBar: e.bool,
|
|
@@ -3264,12 +3252,12 @@ vn.propTypes = {
|
|
|
3264
3252
|
export {
|
|
3265
3253
|
s2 as AmbitSelector,
|
|
3266
3254
|
f2 as ButtonsList,
|
|
3267
|
-
|
|
3268
|
-
|
|
3255
|
+
G as DropdownList,
|
|
3256
|
+
Rn as EditAmbit,
|
|
3269
3257
|
q2 as FiltersAmbit,
|
|
3270
|
-
|
|
3258
|
+
Zn as Form,
|
|
3271
3259
|
G2 as Graphic,
|
|
3272
|
-
|
|
3260
|
+
hn as HeaderSection,
|
|
3273
3261
|
p0 as IndicatorsList,
|
|
3274
3262
|
b0 as LangSelector,
|
|
3275
3263
|
T0 as Legend,
|
|
@@ -3278,9 +3266,9 @@ export {
|
|
|
3278
3266
|
$0 as LogoApp,
|
|
3279
3267
|
I0 as MapboxMap,
|
|
3280
3268
|
q0 as MaplibreMap,
|
|
3281
|
-
|
|
3282
|
-
|
|
3269
|
+
_n as RightSidebar,
|
|
3270
|
+
En as SectionBar,
|
|
3283
3271
|
i1 as TimeSlider,
|
|
3284
|
-
|
|
3272
|
+
U as Tooltip,
|
|
3285
3273
|
a1 as TopNavMenu
|
|
3286
3274
|
};
|