@tmf_ciclica/ciclicastorybook 1.1.82 → 1.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +723 -704
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_1q5gf_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_1q5gf_3::-webkit-scrollbar{width:8px}._legendContainer_1q5gf_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1q5gf_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:before,._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:before{transform:rotate(45deg)}._legendContainer_1q5gf_3 ._closeButton_1q5gf_31:after{transform:rotate(-45deg)}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59{border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._titleContainer_1q5gf_59 h2{padding-bottom:16px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65{padding-top:20px}._legendContainer_1q5gf_3 ._infoContainer_1q5gf_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1q5gf_3 ._titleLegendList_1q5gf_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._gridContainer_1q5gf_83 ._elementLegendContainer_1q5gf_89 ._colorDot_1q5gf_95{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101{position:relative}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueColor_1q5gf_104{height:130px;width:22px;border-radius:20px}._legendContainer_1q5gf_3 ._legendListContainer_1q5gf_83 ._absoluteValueContainer_1q5gf_101 ._absoluteValueText_1q5gf_109{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_1q5gf_3 ._moreInfoContainer_1q5gf_121{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_3bp8g_2{width:100%}._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{min-width:auto;max-width:215px}}._radioButtonContainer_3bp8g_2 ._errorContainer_3bp8g_44{position:absolute;top:-25px;left:0}._radioButtonContainer_3bp8g_2 ._iconPrivacy_3bp8g_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_3bp8g_2 ._radioQuestion_3bp8g_59{width:100%;flex:1}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label{text-align:left}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_3bp8g_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_3bp8g_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}label,._radioInput_3bp8g_109{cursor:pointer}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_pt7g1_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_jhxfb_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_jhxfb_3::-webkit-scrollbar{width:8px}._legendContainer_jhxfb_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_jhxfb_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:before,._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:before{transform:rotate(45deg)}._legendContainer_jhxfb_3 ._closeButton_jhxfb_31:after{transform:rotate(-45deg)}._legendContainer_jhxfb_3 ._titleContainer_jhxfb_59{border-bottom:solid 1.5px #605b56}._legendContainer_jhxfb_3 ._titleContainer_jhxfb_59 h2{padding-bottom:16px}._legendContainer_jhxfb_3 ._infoContainer_jhxfb_65{padding-top:20px}._legendContainer_jhxfb_3 ._infoContainer_jhxfb_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_jhxfb_3 ._titleLegendList_jhxfb_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._gridContainer_jhxfb_83{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._gridContainer_jhxfb_83 ._elementLegendContainer_jhxfb_89{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._gridContainer_jhxfb_83 ._elementLegendContainer_jhxfb_89 ._colorDot_jhxfb_95{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._absoluteValueContainer_jhxfb_101{position:relative}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._absoluteValueContainer_jhxfb_101 ._absoluteValueColor_jhxfb_104{height:130px;width:22px;border-radius:20px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._absoluteValueContainer_jhxfb_101 ._absoluteValueText_jhxfb_109{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._noDataContainer_jhxfb_121{position:relative;margin-top:10px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._noDataContainer_jhxfb_121 ._noData_jhxfb_121{height:22px;width:22px;border-radius:20px}._legendContainer_jhxfb_3 ._legendListContainer_jhxfb_83 ._noDataContainer_jhxfb_121 ._absoluteValueText_jhxfb_109{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_jhxfb_3 ._moreInfoContainer_jhxfb_142{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_3bp8g_2{width:100%}._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._wholeInputContainer_3bp8g_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._questionContainer_3bp8g_27{min-width:auto;max-width:215px}}._radioButtonContainer_3bp8g_2 ._errorContainer_3bp8g_44{position:absolute;top:-25px;left:0}._radioButtonContainer_3bp8g_2 ._iconPrivacy_3bp8g_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_3bp8g_2 ._radioQuestion_3bp8g_59{width:100%;flex:1}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label{text-align:left}._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_3bp8g_2 ._inputContainer_3bp8g_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}._required_3bp8g_92:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}._requiredWhite_3bp8g_100:after{position:relative;top:-3px;left:1px;display:inline-block;content:"*"}label,._radioInput_3bp8g_109{cursor:pointer}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_pt7g1_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as h, jsx as s, Fragment as Se } from "react/jsx-runtime";
|
|
3
3
|
import * as te from "react";
|
|
4
|
-
import B, { useState as
|
|
4
|
+
import B, { useState as D, useEffect as V, useMemo as he, useLayoutEffect as yt, useRef as $e } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
6
|
+
import { useTranslation as N, Trans as Ve } from "react-i18next";
|
|
7
7
|
import { motion as Ae } from "framer-motion";
|
|
8
8
|
import { create as _t } from "zustand";
|
|
9
9
|
import * as Ee from "d3";
|
|
10
10
|
import vt from "mapbox-gl";
|
|
11
11
|
import { useSelector as wt, useDispatch as xt } from "react-redux";
|
|
12
|
-
import
|
|
12
|
+
import Nt, { Source as kt, Layer as Bt, NavigationControl as St, Popup as Dt } from "react-map-gl/mapbox";
|
|
13
13
|
import fe from "maplibre-gl";
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
14
|
+
import { Protocol as Mt } from "pmtiles";
|
|
15
|
+
import Lt, { Source as Ft, Layer as Tt, NavigationControl as $t, Popup as Vt } from "react-map-gl/maplibre";
|
|
16
16
|
import { createSlice as At } from "@reduxjs/toolkit";
|
|
17
17
|
import It from "@mui/material/Slider";
|
|
18
18
|
import { createTheme as Ot, Box as Rt } from "@mui/material";
|
|
19
19
|
import { ThemeProvider as Pt } from "@emotion/react";
|
|
20
20
|
import { NavLink as Et } from "react-router-dom";
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
21
|
+
const jt = "_ambitSelector_mcunf_2", qt = "_header_mcunf_13", zt = "_nameDateContainer_mcunf_23", Zt = "_ambitName_mcunf_39", Ht = "_ambitDate_mcunf_53", Kt = "_buttonsContainer_mcunf_67", Ut = "_ambitListContainer_mcunf_76", Gt = "_newAmbitButtonContainer_mcunf_80", z = {
|
|
22
|
+
ambitSelector: jt,
|
|
23
|
+
header: qt,
|
|
24
|
+
nameDateContainer: zt,
|
|
25
25
|
ambitName: Zt,
|
|
26
26
|
ambitDate: Ht,
|
|
27
27
|
buttonsContainer: Kt,
|
|
@@ -44,15 +44,15 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at:
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
const { nom: u, created_at: C, id: m, isBeingProcessed: b } = n;
|
|
48
|
+
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: ne.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ h("div", { className: ne.ambitNameDate, onClick: () => t(m), children: [
|
|
55
|
+
/* @__PURE__ */ h("div", { className: ne.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -62,13 +62,13 @@ const qt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className: ne.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: ne.ambitDate, children: C ? new Date(C).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ s("button", { onClick: () => i(
|
|
70
|
-
/* @__PURE__ */ s("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ s("button", { onClick: () => o(
|
|
67
|
+
/* @__PURE__ */ h("div", { className: ne.ambitButtons, children: [
|
|
68
|
+
b && /* @__PURE__ */ s("img", { src: i2 }),
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src: t2 }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => o(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -92,7 +92,7 @@ et.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
95
|
+
const je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", r2 = "_generalButton_8d6ru_2", a2 = {
|
|
96
96
|
generalButton: r2
|
|
97
97
|
}, ge = ({
|
|
98
98
|
children: n,
|
|
@@ -125,62 +125,62 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
125
125
|
buttonContainerStyles: a = {},
|
|
126
126
|
containerStyles: c = {},
|
|
127
127
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
128
|
-
onClickCopy:
|
|
129
|
-
onCLickDelete:
|
|
130
|
-
onClickFilters:
|
|
131
|
-
onClickAmbit:
|
|
128
|
+
onClickCopy: C = (f) => console.log(`Copy ambit: ${f}`),
|
|
129
|
+
onCLickDelete: m = (f) => console.log(`Delete ambit: ${f}`),
|
|
130
|
+
onClickFilters: b = (f) => console.log(`Filters clicked: ${f}`),
|
|
131
|
+
onClickAmbit: g = (f) => console.log(`OnCLickAmbit: ${f}`)
|
|
132
132
|
}) => {
|
|
133
|
-
const { t: f } =
|
|
133
|
+
const { t: f } = N(), [_, p] = D(n);
|
|
134
134
|
V(() => {
|
|
135
135
|
n && p(n);
|
|
136
136
|
}, [n]);
|
|
137
|
-
const
|
|
137
|
+
const y = (v) => {
|
|
138
138
|
if (_ && _.length > 0) {
|
|
139
139
|
let x = [..._];
|
|
140
|
-
x.sort((w,
|
|
140
|
+
x.sort((w, k) => w[v].localeCompare(k[v])), p(x);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
|
-
return /* @__PURE__ */
|
|
143
|
+
return /* @__PURE__ */ h(
|
|
144
144
|
"div",
|
|
145
145
|
{
|
|
146
|
-
className:
|
|
146
|
+
className: z.ambitSelector,
|
|
147
147
|
style: { color: o, ...c },
|
|
148
148
|
children: [
|
|
149
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ h(
|
|
150
150
|
"div",
|
|
151
151
|
{
|
|
152
|
-
className:
|
|
152
|
+
className: z.header,
|
|
153
153
|
style: { borderBottom: `1px solid ${o}` },
|
|
154
154
|
children: [
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */ s("div", { className:
|
|
155
|
+
/* @__PURE__ */ h("div", { className: z.nameDateContainer, children: [
|
|
156
|
+
/* @__PURE__ */ s("div", { className: z.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => y("name"), children: [
|
|
157
157
|
/* @__PURE__ */ s("span", { children: f(t) }),
|
|
158
|
-
/* @__PURE__ */ s("img", { src:
|
|
158
|
+
/* @__PURE__ */ s("img", { src: je })
|
|
159
159
|
] }) }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className:
|
|
160
|
+
/* @__PURE__ */ s("div", { className: z.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => y("date"), children: [
|
|
161
161
|
/* @__PURE__ */ s("span", { children: f(r) }),
|
|
162
|
-
/* @__PURE__ */ s("img", { src:
|
|
162
|
+
/* @__PURE__ */ s("img", { src: je })
|
|
163
163
|
] }) })
|
|
164
164
|
] }),
|
|
165
|
-
/* @__PURE__ */ s("div", { className:
|
|
165
|
+
/* @__PURE__ */ s("div", { className: z.buttonsContainer })
|
|
166
166
|
]
|
|
167
167
|
}
|
|
168
168
|
),
|
|
169
|
-
/* @__PURE__ */ s("div", { className:
|
|
169
|
+
/* @__PURE__ */ s("div", { className: z.ambitListContainer, children: _ && _.length > 0 && _.map((v) => /* @__PURE__ */ s(
|
|
170
170
|
et,
|
|
171
171
|
{
|
|
172
172
|
isActive: d == v.id,
|
|
173
173
|
ambit: v,
|
|
174
174
|
fontColor: o,
|
|
175
175
|
activeColor: i,
|
|
176
|
-
onClickCopy:
|
|
177
|
-
onClickDelete:
|
|
178
|
-
onClickFilters:
|
|
179
|
-
onClickAmbit:
|
|
176
|
+
onClickCopy: C,
|
|
177
|
+
onClickDelete: m,
|
|
178
|
+
onClickFilters: b,
|
|
179
|
+
onClickAmbit: g
|
|
180
180
|
},
|
|
181
181
|
`ambitKey${v.id}`
|
|
182
182
|
)) }),
|
|
183
|
-
/* @__PURE__ */ s("div", { className:
|
|
183
|
+
/* @__PURE__ */ s("div", { className: z.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
184
184
|
ge,
|
|
185
185
|
{
|
|
186
186
|
style: { ...a },
|
|
@@ -228,7 +228,7 @@ const c2 = "_buttonsContainer_1audx_2", d2 = "_vertical_1audx_6", u2 = "_horizon
|
|
|
228
228
|
bottom: f2,
|
|
229
229
|
right: b2
|
|
230
230
|
}, Y = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
231
|
-
const { t: i } =
|
|
231
|
+
const { t: i } = N();
|
|
232
232
|
return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: o, children: i(n) });
|
|
233
233
|
};
|
|
234
234
|
Y.propTypes = {
|
|
@@ -244,7 +244,7 @@ const _2 = ({
|
|
|
244
244
|
useTooltip: t = !1,
|
|
245
245
|
tooltipPosition: r = "top"
|
|
246
246
|
}) => {
|
|
247
|
-
const { t: l } =
|
|
247
|
+
const { t: l } = N();
|
|
248
248
|
return /* @__PURE__ */ s(
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
@@ -253,26 +253,26 @@ const _2 = ({
|
|
|
253
253
|
children: n.map((a, c) => {
|
|
254
254
|
const {
|
|
255
255
|
icon: u,
|
|
256
|
-
activeIcon:
|
|
257
|
-
isActive:
|
|
258
|
-
name:
|
|
259
|
-
onClick:
|
|
260
|
-
} = a, f = /* @__PURE__ */
|
|
261
|
-
o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(
|
|
262
|
-
/* @__PURE__ */ s("img", { src:
|
|
263
|
-
o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(
|
|
256
|
+
activeIcon: C,
|
|
257
|
+
isActive: m,
|
|
258
|
+
name: b,
|
|
259
|
+
onClick: g
|
|
260
|
+
} = a, f = /* @__PURE__ */ h(Se, { children: [
|
|
261
|
+
o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(b) }),
|
|
262
|
+
/* @__PURE__ */ s("img", { src: m ? C : u, alt: l(b) }),
|
|
263
|
+
o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(b) })
|
|
264
264
|
] });
|
|
265
|
-
return /* @__PURE__ */
|
|
265
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
266
266
|
/* @__PURE__ */ s(
|
|
267
267
|
"button",
|
|
268
268
|
{
|
|
269
|
-
onClick:
|
|
269
|
+
onClick: g,
|
|
270
270
|
className: `${Z.button}
|
|
271
|
-
${
|
|
271
|
+
${m && Z.active}`,
|
|
272
272
|
children: f
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
|
-
t && /* @__PURE__ */ s(Y, { text:
|
|
275
|
+
t && /* @__PURE__ */ s(Y, { text: b, position: r })
|
|
276
276
|
] }, c);
|
|
277
277
|
})
|
|
278
278
|
}
|
|
@@ -312,8 +312,8 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
312
312
|
showBottomBar: c = !0,
|
|
313
313
|
titleMarginChildren: u = 25
|
|
314
314
|
}) => {
|
|
315
|
-
const { t:
|
|
316
|
-
return /* @__PURE__ */
|
|
315
|
+
const { t: C } = N();
|
|
316
|
+
return /* @__PURE__ */ h(
|
|
317
317
|
Ae.div,
|
|
318
318
|
{
|
|
319
319
|
className: be.indicatorsCategory,
|
|
@@ -326,7 +326,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
326
326
|
marginBottom: n ? "20px" : "0px"
|
|
327
327
|
},
|
|
328
328
|
children: [
|
|
329
|
-
/* @__PURE__ */
|
|
329
|
+
/* @__PURE__ */ h(
|
|
330
330
|
"h2",
|
|
331
331
|
{
|
|
332
332
|
style: {
|
|
@@ -337,7 +337,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", be = {
|
|
|
337
337
|
onClick: d,
|
|
338
338
|
children: [
|
|
339
339
|
/* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
340
|
-
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children:
|
|
340
|
+
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : i }, children: C(r) })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
343
|
),
|
|
@@ -357,10 +357,10 @@ W.propTypes = {
|
|
|
357
357
|
showBottomBar: e.bool,
|
|
358
358
|
titleFontStyles: e.object
|
|
359
359
|
};
|
|
360
|
-
const
|
|
361
|
-
AppliedFiltersContainer:
|
|
362
|
-
AppliedFilterContent:
|
|
363
|
-
},
|
|
360
|
+
const oi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", N2 = "_AppliedFiltersContainer_cokx9_2", k2 = "_AppliedFilterContent_cokx9_11", qe = {
|
|
361
|
+
AppliedFiltersContainer: N2,
|
|
362
|
+
AppliedFilterContent: k2
|
|
363
|
+
}, T = _t((n) => ({
|
|
364
364
|
activeCategory: "",
|
|
365
365
|
activeSubCategory: "",
|
|
366
366
|
selectedIndicator: "",
|
|
@@ -368,10 +368,10 @@ const ni = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
|
|
|
368
368
|
fontColor: "#605B56",
|
|
369
369
|
inputsColor: "#605B56"
|
|
370
370
|
})), tt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
371
|
-
const { t: l } =
|
|
372
|
-
|
|
373
|
-
tematicalFiltersSelected:
|
|
374
|
-
(
|
|
371
|
+
const { t: l } = N(), { tematicalFiltersSelected: a } = T((u) => u), c = (u) => {
|
|
372
|
+
T.setState((C) => ({
|
|
373
|
+
tematicalFiltersSelected: C.tematicalFiltersSelected.filter(
|
|
374
|
+
(m) => m.code !== u
|
|
375
375
|
)
|
|
376
376
|
}));
|
|
377
377
|
};
|
|
@@ -382,10 +382,10 @@ const ni = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "data
|
|
|
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: qe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, C) => /* @__PURE__ */ h("div", { className: qe.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
386
386
|
l(u.name),
|
|
387
387
|
/* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
388
|
-
] },
|
|
388
|
+
] }, C)) })
|
|
389
389
|
}
|
|
390
390
|
);
|
|
391
391
|
};
|
|
@@ -404,7 +404,7 @@ tt.propTypes = {
|
|
|
404
404
|
activeColor: e.string
|
|
405
405
|
};
|
|
406
406
|
const nt = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
407
|
-
const { t: l } =
|
|
407
|
+
const { t: l } = N(), { tematicalFiltersSelected: a } = T((c) => c);
|
|
408
408
|
return /* @__PURE__ */ s(
|
|
409
409
|
W,
|
|
410
410
|
{
|
|
@@ -433,8 +433,8 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
|
|
|
433
433
|
indicator: i,
|
|
434
434
|
value: t
|
|
435
435
|
}) => {
|
|
436
|
-
const { t: r } =
|
|
437
|
-
return /* @__PURE__ */
|
|
436
|
+
const { t: r } = N(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = T((u) => u);
|
|
437
|
+
return /* @__PURE__ */ h(
|
|
438
438
|
"div",
|
|
439
439
|
{
|
|
440
440
|
style: { ...d, color: o },
|
|
@@ -471,13 +471,13 @@ it.propTypes = {
|
|
|
471
471
|
}),
|
|
472
472
|
checkedColor: e.string
|
|
473
473
|
};
|
|
474
|
-
function
|
|
475
|
-
return
|
|
474
|
+
function De(n, d) {
|
|
475
|
+
return De = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
476
476
|
return o.__proto__ = i, o;
|
|
477
|
-
},
|
|
477
|
+
}, De(n, d);
|
|
478
478
|
}
|
|
479
|
-
function
|
|
480
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
479
|
+
function D2(n, d) {
|
|
480
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, De(n, d);
|
|
481
481
|
}
|
|
482
482
|
function ye(n) {
|
|
483
483
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
@@ -494,17 +494,17 @@ function de(n) {
|
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
496
|
function H(n, d) {
|
|
497
|
-
return
|
|
497
|
+
return Me(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 Me(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 Le = function(n) {
|
|
508
508
|
function d(i) {
|
|
509
509
|
var t;
|
|
510
510
|
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
@@ -517,19 +517,19 @@ let Fe = function(n) {
|
|
|
517
517
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
518
518
|
}, t.onMouseMove = (a) => {
|
|
519
519
|
t.setState({ pending: !0 });
|
|
520
|
-
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]),
|
|
521
|
-
t.move(
|
|
520
|
+
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), C = t.getValueFromPosition(u);
|
|
521
|
+
t.move(C);
|
|
522
522
|
}, t.onTouchMove = (a) => {
|
|
523
523
|
if (a.touches.length > 1) return;
|
|
524
524
|
t.setState({ pending: !0 });
|
|
525
525
|
const c = t.getTouchPosition(a);
|
|
526
526
|
if (t.isScrolling === void 0) {
|
|
527
|
-
const
|
|
528
|
-
t.isScrolling = Math.abs(
|
|
527
|
+
const m = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
|
|
528
|
+
t.isScrolling = Math.abs(b) > Math.abs(m);
|
|
529
529
|
}
|
|
530
530
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
531
|
-
const u = t.getDiffPosition(c[0]),
|
|
532
|
-
t.move(
|
|
531
|
+
const u = t.getDiffPosition(c[0]), C = t.getValueFromPosition(u);
|
|
532
|
+
t.move(C);
|
|
533
533
|
}, t.onKeyDown = (a) => {
|
|
534
534
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
535
535
|
case "ArrowLeft":
|
|
@@ -582,8 +582,8 @@ let Fe = function(n) {
|
|
|
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]), de(t.getTouchEventMap()), function(
|
|
586
|
-
|
|
585
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), de(t.getTouchEventMap()), function(C) {
|
|
586
|
+
C.stopPropagation && C.stopPropagation();
|
|
587
587
|
}(c);
|
|
588
588
|
}, t.handleResize = () => {
|
|
589
589
|
const a = window.setTimeout(() => {
|
|
@@ -591,13 +591,13 @@ let Fe = function(n) {
|
|
|
591
591
|
}, 0);
|
|
592
592
|
t.pendingResizeTimeouts.push(a);
|
|
593
593
|
}, t.renderThumb = (a, c) => {
|
|
594
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
595
|
-
t["thumb" + c] =
|
|
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 },
|
|
597
|
-
return t.props.ariaValuetext && (
|
|
594
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), C = { ref: (b) => {
|
|
595
|
+
t["thumb" + c] = b;
|
|
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 }, m = { index: c, value: ce(t.state.value), valueNow: t.state.value[c] };
|
|
597
|
+
return t.props.ariaValuetext && (C["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(C, m);
|
|
598
598
|
}, t.renderTrack = (a, c, u) => {
|
|
599
|
-
const
|
|
600
|
-
return t.props.renderTrack(
|
|
599
|
+
const C = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value: ce(t.state.value) };
|
|
600
|
+
return t.props.renderTrack(C, m);
|
|
601
601
|
};
|
|
602
602
|
let r = _e(i.value);
|
|
603
603
|
r.length || (r = _e(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -605,7 +605,7 @@ let Fe = function(n) {
|
|
|
605
605
|
for (let a = 0; a < r.length; a += 1) r[a] = H(r[a], i), l.push(a);
|
|
606
606
|
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
607
607
|
}
|
|
608
|
-
|
|
608
|
+
D2(d, n);
|
|
609
609
|
var o = d.prototype;
|
|
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());
|
|
@@ -628,8 +628,8 @@ let Fe = function(n) {
|
|
|
628
628
|
let t = Number.MAX_VALUE, r = -1;
|
|
629
629
|
const { value: l } = this.state, a = l.length;
|
|
630
630
|
for (let c = 0; c < a; c += 1) {
|
|
631
|
-
const u = this.calcOffset(l[c]),
|
|
632
|
-
|
|
631
|
+
const u = this.calcOffset(l[c]), C = Math.abs(i - u);
|
|
632
|
+
C < t && (t = C, r = c);
|
|
633
633
|
}
|
|
634
634
|
return r;
|
|
635
635
|
}, o.getMousePosition = function(i) {
|
|
@@ -652,8 +652,8 @@ let Fe = function(n) {
|
|
|
652
652
|
}, o.resize = function() {
|
|
653
653
|
const { slider: i, thumb0: t } = this;
|
|
654
654
|
if (!i || !t) return;
|
|
655
|
-
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()],
|
|
656
|
-
this.state.upperBound ===
|
|
655
|
+
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], C = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - C, b = Math.abs(c - u);
|
|
656
|
+
this.state.upperBound === m && this.state.sliderLength === b && this.state.thumbSize === C || this.setState({ upperBound: m, sliderLength: b, thumbSize: C });
|
|
657
657
|
}, o.calcOffset = function(i) {
|
|
658
658
|
const t = this.props.max - this.props.min;
|
|
659
659
|
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
@@ -692,33 +692,33 @@ let Fe = function(n) {
|
|
|
692
692
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
693
693
|
if (i === a) return;
|
|
694
694
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
695
|
-
const { pearling: c, max: u, min:
|
|
695
|
+
const { pearling: c, max: u, min: C, minDistance: m } = this.props;
|
|
696
696
|
if (!c) {
|
|
697
697
|
if (r > 0) {
|
|
698
|
-
const
|
|
699
|
-
i <
|
|
698
|
+
const b = t[r - 1];
|
|
699
|
+
i < b + m && (i = b + m);
|
|
700
700
|
}
|
|
701
701
|
if (r < l - 1) {
|
|
702
|
-
const
|
|
703
|
-
i >
|
|
702
|
+
const b = t[r + 1];
|
|
703
|
+
i > b - m && (i = b - m);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t,
|
|
707
|
-
for (let p = 0; p <
|
|
708
|
-
const
|
|
709
|
-
|
|
706
|
+
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(b, g, f, _) {
|
|
707
|
+
for (let p = 0; p < b; p += 1) {
|
|
708
|
+
const y = _ - p * f;
|
|
709
|
+
g[b - 1 - p] > y && (g[b - 1 - p] = y);
|
|
710
710
|
}
|
|
711
|
-
}(l, t,
|
|
712
|
-
for (let p = 0; p <
|
|
713
|
-
const
|
|
714
|
-
|
|
711
|
+
}(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(b, g, f, _) {
|
|
712
|
+
for (let p = 0; p < b; p += 1) {
|
|
713
|
+
const y = _ + p * f;
|
|
714
|
+
g[p] < y && (g[p] = y);
|
|
715
715
|
}
|
|
716
|
-
}(l, t,
|
|
716
|
+
}(l, t, m, C))), 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] = Me(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] = Me(a, this.props);
|
|
722
722
|
}, o.axisKey = function() {
|
|
723
723
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
724
724
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -767,11 +767,11 @@ let Fe = 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
|
}(B.Component);
|
|
770
|
-
|
|
771
|
-
var
|
|
772
|
-
const
|
|
773
|
-
container:
|
|
774
|
-
unitLabel:
|
|
770
|
+
Le.displayName = "ReactSlider", Le.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
|
|
771
|
+
var M2 = Le;
|
|
772
|
+
const L2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_12", $2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33", Q = {
|
|
773
|
+
container: L2,
|
|
774
|
+
unitLabel: F2,
|
|
775
775
|
slider: T2,
|
|
776
776
|
thumb: $2,
|
|
777
777
|
track: V2,
|
|
@@ -786,12 +786,12 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
786
786
|
fontColor: l = "#605B56",
|
|
787
787
|
defaultValue: a
|
|
788
788
|
}) => {
|
|
789
|
-
const { t: c } =
|
|
790
|
-
|
|
789
|
+
const { t: c } = N(), [u, C] = D([n, d]), m = (b) => {
|
|
790
|
+
C(b), i == null || i({ min: b[0], max: b[1] });
|
|
791
791
|
};
|
|
792
792
|
return V(() => {
|
|
793
|
-
a ||
|
|
794
|
-
}, [a]), /* @__PURE__ */
|
|
793
|
+
a || C([n, d]);
|
|
794
|
+
}, [a]), /* @__PURE__ */ h(
|
|
795
795
|
"div",
|
|
796
796
|
{
|
|
797
797
|
className: Q.container,
|
|
@@ -799,7 +799,7 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
799
799
|
children: [
|
|
800
800
|
/* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
801
801
|
/* @__PURE__ */ s(
|
|
802
|
-
|
|
802
|
+
M2,
|
|
803
803
|
{
|
|
804
804
|
className: Q.slider,
|
|
805
805
|
thumbClassName: Q.thumb,
|
|
@@ -808,13 +808,13 @@ const F2 = "_container_15vgv_2", D2 = "_unitLabel_15vgv_9", T2 = "_slider_15vgv_
|
|
|
808
808
|
max: d,
|
|
809
809
|
step: o,
|
|
810
810
|
value: u,
|
|
811
|
-
onAfterChange:
|
|
811
|
+
onAfterChange: m,
|
|
812
812
|
withTracks: !0,
|
|
813
813
|
pearling: !0,
|
|
814
814
|
minDistance: 0.1
|
|
815
815
|
}
|
|
816
816
|
),
|
|
817
|
-
/* @__PURE__ */
|
|
817
|
+
/* @__PURE__ */ h("div", { className: Q.labels, children: [
|
|
818
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
819
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
820
820
|
] })
|
|
@@ -844,100 +844,100 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
844
844
|
//onChangeBothType
|
|
845
845
|
activeColor: d
|
|
846
846
|
}) => {
|
|
847
|
-
const [o, i] =
|
|
847
|
+
const [o, i] = D(), {
|
|
848
848
|
type: t,
|
|
849
849
|
name: r,
|
|
850
850
|
values: l,
|
|
851
851
|
minValue: a,
|
|
852
852
|
maxValue: c,
|
|
853
853
|
unit: u,
|
|
854
|
-
step:
|
|
855
|
-
} = n || {},
|
|
854
|
+
step: C
|
|
855
|
+
} = n || {}, m = he(
|
|
856
856
|
() => t == "cat" || o == "cat",
|
|
857
857
|
[o, t]
|
|
858
|
-
),
|
|
858
|
+
), b = he(
|
|
859
859
|
() => t == "abs" || o == "abs",
|
|
860
860
|
[o, t]
|
|
861
861
|
), {
|
|
862
|
-
tematicalFiltersSelected:
|
|
862
|
+
tematicalFiltersSelected: g,
|
|
863
863
|
selectedIndicator: f,
|
|
864
864
|
fontColor: _,
|
|
865
865
|
inputsColor: p
|
|
866
|
-
} =
|
|
866
|
+
} = T((x) => x), y = (x) => {
|
|
867
867
|
if (x) {
|
|
868
|
-
const { min: w, max:
|
|
869
|
-
let R =
|
|
870
|
-
ae == "both" && (R = le == "cat" ?
|
|
868
|
+
const { min: w, max: k, valueClicked: L, allValues: F } = x || {}, { code: q, type: ae } = n || {}, le = b ? "abs" : m ? "cat" : "both";
|
|
869
|
+
let R = q[0];
|
|
870
|
+
ae == "both" && (R = le == "cat" ? q[1] : q[0]), le == "cat" ? T.setState((P) => {
|
|
871
871
|
let E = P.tematicalFiltersSelected.find(
|
|
872
|
-
(
|
|
872
|
+
($) => $.code === R
|
|
873
873
|
);
|
|
874
874
|
if (E) {
|
|
875
|
-
let
|
|
876
|
-
return E.values.includes(L) ?
|
|
875
|
+
let $ = [E.values];
|
|
876
|
+
return E.values.includes(L) ? $ = E.values.filter(
|
|
877
877
|
(I) => I !== L
|
|
878
|
-
) :
|
|
878
|
+
) : $ = [...E.values, L], $.length == F.length ? {
|
|
879
879
|
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
880
880
|
(I) => I.code !== R
|
|
881
881
|
)
|
|
882
882
|
} : {
|
|
883
883
|
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
884
|
-
(I) => I.code === R ? { ...I, values:
|
|
884
|
+
(I) => I.code === R ? { ...I, values: $ } : I
|
|
885
885
|
)
|
|
886
886
|
};
|
|
887
887
|
} else {
|
|
888
|
-
let
|
|
888
|
+
let $ = F.map((I, bt) => bt);
|
|
889
889
|
return {
|
|
890
890
|
tematicalFiltersSelected: [
|
|
891
|
-
...
|
|
891
|
+
...g,
|
|
892
892
|
{
|
|
893
893
|
type: "cat",
|
|
894
894
|
code: R,
|
|
895
|
-
values:
|
|
895
|
+
values: $.filter((I) => I !== L),
|
|
896
896
|
name: n.name
|
|
897
897
|
}
|
|
898
898
|
]
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
|
-
}) : le == "abs" &&
|
|
901
|
+
}) : le == "abs" && T.setState((P) => {
|
|
902
902
|
let E = P.tematicalFiltersSelected.find(
|
|
903
|
-
(
|
|
903
|
+
($) => $.code === R
|
|
904
904
|
);
|
|
905
|
-
if (w == n.minValue &&
|
|
905
|
+
if (w == n.minValue && k == n.maxValue)
|
|
906
906
|
return {
|
|
907
907
|
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
908
|
-
(
|
|
908
|
+
($) => $.code !== R
|
|
909
909
|
)
|
|
910
910
|
};
|
|
911
911
|
if (E) {
|
|
912
|
-
let
|
|
913
|
-
return
|
|
912
|
+
let $ = { ...E };
|
|
913
|
+
return $.min = w, $.max = k, {
|
|
914
914
|
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
915
|
-
(I) => I.code === R ?
|
|
915
|
+
(I) => I.code === R ? $ : I
|
|
916
916
|
)
|
|
917
917
|
};
|
|
918
918
|
} else
|
|
919
919
|
return {
|
|
920
920
|
tematicalFiltersSelected: [
|
|
921
|
-
...
|
|
922
|
-
{ type: "abs", code: R, min: w, max:
|
|
921
|
+
...g,
|
|
922
|
+
{ type: "abs", code: R, min: w, max: k, name: n.name }
|
|
923
923
|
]
|
|
924
924
|
};
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
927
|
}, v = he(() => {
|
|
928
928
|
const x = {};
|
|
929
|
-
if ((
|
|
930
|
-
for (const w of
|
|
929
|
+
if ((g == null ? void 0 : g.length) > 0)
|
|
930
|
+
for (const w of g)
|
|
931
931
|
w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
|
|
932
932
|
return console.log("mapfilterSelected", x), x;
|
|
933
|
-
}, [
|
|
934
|
-
return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
933
|
+
}, [g]);
|
|
934
|
+
return /* @__PURE__ */ s("div", { className: ue.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
935
935
|
W,
|
|
936
936
|
{
|
|
937
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
938
938
|
title: r,
|
|
939
939
|
isOpen: f == `id${r}`,
|
|
940
|
-
onClick: () =>
|
|
940
|
+
onClick: () => T.setState(() => ({
|
|
941
941
|
selectedIndicator: f == `id${r}` ? "" : `id${r}`
|
|
942
942
|
})),
|
|
943
943
|
showBottomBar: !1,
|
|
@@ -947,13 +947,13 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
947
947
|
color: _,
|
|
948
948
|
activeColor: d,
|
|
949
949
|
children: [
|
|
950
|
-
t == "both" && /* @__PURE__ */
|
|
950
|
+
t == "both" && /* @__PURE__ */ h(
|
|
951
951
|
"div",
|
|
952
952
|
{
|
|
953
953
|
className: ue.inputTypeContainer,
|
|
954
954
|
style: { color: _ },
|
|
955
955
|
children: [
|
|
956
|
-
/* @__PURE__ */
|
|
956
|
+
/* @__PURE__ */ h("label", { children: [
|
|
957
957
|
/* @__PURE__ */ s(
|
|
958
958
|
"input",
|
|
959
959
|
{
|
|
@@ -972,7 +972,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
972
972
|
),
|
|
973
973
|
"Absoluto"
|
|
974
974
|
] }),
|
|
975
|
-
/* @__PURE__ */
|
|
975
|
+
/* @__PURE__ */ h("label", { children: [
|
|
976
976
|
/* @__PURE__ */ s(
|
|
977
977
|
"input",
|
|
978
978
|
{
|
|
@@ -994,27 +994,27 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
994
994
|
]
|
|
995
995
|
}
|
|
996
996
|
),
|
|
997
|
-
|
|
998
|
-
var
|
|
997
|
+
m && /* @__PURE__ */ s("div", { className: ue.checkboxContainer, children: l.map((x, w) => {
|
|
998
|
+
var k;
|
|
999
999
|
return /* @__PURE__ */ s(
|
|
1000
1000
|
it,
|
|
1001
1001
|
{
|
|
1002
|
-
onClick: () =>
|
|
1002
|
+
onClick: () => y({ valueClicked: w, allValues: l }),
|
|
1003
1003
|
indicator: x,
|
|
1004
|
-
value: ((
|
|
1004
|
+
value: ((k = v[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : k.has(w)) || !v[n.code[t == "both" ? 1 : 0]]
|
|
1005
1005
|
},
|
|
1006
1006
|
`checkbox-${w}`
|
|
1007
1007
|
);
|
|
1008
1008
|
}) }),
|
|
1009
|
-
|
|
1009
|
+
b && /* @__PURE__ */ s("div", { className: ue.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1010
1010
|
ot,
|
|
1011
1011
|
{
|
|
1012
|
-
onChange:
|
|
1012
|
+
onChange: y,
|
|
1013
1013
|
min: a,
|
|
1014
1014
|
max: c,
|
|
1015
1015
|
unit: u,
|
|
1016
1016
|
defaultValue: v[n.code[0]] ? v[n.code[0]] : "",
|
|
1017
|
-
step:
|
|
1017
|
+
step: C
|
|
1018
1018
|
}
|
|
1019
1019
|
) })
|
|
1020
1020
|
]
|
|
@@ -1042,14 +1042,14 @@ const st = ({
|
|
|
1042
1042
|
activeColor: o
|
|
1043
1043
|
//onChangeBothType,
|
|
1044
1044
|
}) => {
|
|
1045
|
-
const { activeSubcategory: i } =
|
|
1045
|
+
const { activeSubcategory: i } = T((l) => l), { name: t, indicators: r } = n || {};
|
|
1046
1046
|
return /* @__PURE__ */ s(
|
|
1047
1047
|
W,
|
|
1048
1048
|
{
|
|
1049
1049
|
title: t,
|
|
1050
1050
|
isOpen: i == `id${t}`,
|
|
1051
1051
|
onClick: () => {
|
|
1052
|
-
|
|
1052
|
+
T.setState((l) => ({
|
|
1053
1053
|
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1054
1054
|
}));
|
|
1055
1055
|
},
|
|
@@ -1089,12 +1089,12 @@ const rt = ({
|
|
|
1089
1089
|
// onChangeBothType,
|
|
1090
1090
|
activeColor: d
|
|
1091
1091
|
}) => {
|
|
1092
|
-
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } =
|
|
1092
|
+
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = T((a) => a);
|
|
1093
1093
|
return n && /* @__PURE__ */ s(
|
|
1094
1094
|
W,
|
|
1095
1095
|
{
|
|
1096
1096
|
onClick: () => {
|
|
1097
|
-
|
|
1097
|
+
T.setState((a) => ({
|
|
1098
1098
|
activeCategory: r === `id${o}` ? "" : `id${o}`
|
|
1099
1099
|
}));
|
|
1100
1100
|
},
|
|
@@ -1142,11 +1142,11 @@ const at = ({
|
|
|
1142
1142
|
inputsColor: t = "#605B56",
|
|
1143
1143
|
activeColor: r
|
|
1144
1144
|
}) => {
|
|
1145
|
-
const { tematicalFiltersSelected: l } =
|
|
1145
|
+
const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = N();
|
|
1146
1146
|
return V(() => {
|
|
1147
|
-
i &&
|
|
1147
|
+
i && T.setState(() => ({ fontColor: i }));
|
|
1148
1148
|
}, [i]), V(() => {
|
|
1149
|
-
t &&
|
|
1149
|
+
t && T.setState(() => ({ inputsColor: t }));
|
|
1150
1150
|
}, [t]), /* @__PURE__ */ s(
|
|
1151
1151
|
W,
|
|
1152
1152
|
{
|
|
@@ -1175,11 +1175,11 @@ at.propTypes = {
|
|
|
1175
1175
|
inputsColor: e.string,
|
|
1176
1176
|
activeColor: e.string
|
|
1177
1177
|
};
|
|
1178
|
-
const E2 = "_FiltersAmbitContainer_1g9xx_2",
|
|
1178
|
+
const E2 = "_FiltersAmbitContainer_1g9xx_2", j2 = "_FiltersAmbitHeader_1g9xx_7", q2 = "_FiltersAmbitTitle_1g9xx_15", z2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", H2 = "_warning_1g9xx_37", X = {
|
|
1179
1179
|
FiltersAmbitContainer: E2,
|
|
1180
|
-
FiltersAmbitHeader:
|
|
1181
|
-
FiltersAmbitTitle:
|
|
1182
|
-
FiltersAmbitDescription:
|
|
1180
|
+
FiltersAmbitHeader: j2,
|
|
1181
|
+
FiltersAmbitTitle: q2,
|
|
1182
|
+
FiltersAmbitDescription: z2,
|
|
1183
1183
|
FiltersAmbitDescriptionTitle: Z2,
|
|
1184
1184
|
warning: H2
|
|
1185
1185
|
}, K2 = ({
|
|
@@ -1193,31 +1193,31 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1193
1193
|
onChangeAppliedFilters: a,
|
|
1194
1194
|
saveAmbit: c,
|
|
1195
1195
|
namePlaceholder: u,
|
|
1196
|
-
descPlaceholder:
|
|
1197
|
-
filtersTypes:
|
|
1198
|
-
nameRequiredText:
|
|
1199
|
-
onlyFilters:
|
|
1196
|
+
descPlaceholder: C,
|
|
1197
|
+
filtersTypes: m = ["geographical", "tematical"],
|
|
1198
|
+
nameRequiredText: b,
|
|
1199
|
+
onlyFilters: g = !1
|
|
1200
1200
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1201
1201
|
}) => {
|
|
1202
|
-
const { t: f } =
|
|
1202
|
+
const { t: f } = N(), { tematicalFiltersSelected: _ } = T((F) => F), [p, y] = D(n || null), [v, x] = D(d || null), [w, k] = D(!1);
|
|
1203
1203
|
V(() => {
|
|
1204
|
-
o && o.length > 0 &&
|
|
1204
|
+
o && o.length > 0 && T.setState((F) => ({
|
|
1205
1205
|
tematicalFiltersSelected: o
|
|
1206
1206
|
}));
|
|
1207
1207
|
}, [o]), V(() => {
|
|
1208
1208
|
console.log("filtersSelected changed: ", _), a(_);
|
|
1209
1209
|
}, [_]);
|
|
1210
1210
|
const L = () => {
|
|
1211
|
-
p ? c({ name: p, description: v }) :
|
|
1211
|
+
p ? c({ name: p, description: v }) : k(!0);
|
|
1212
1212
|
};
|
|
1213
|
-
return /* @__PURE__ */
|
|
1214
|
-
!
|
|
1213
|
+
return /* @__PURE__ */ h("div", { className: X.FiltersAmbitContainer, children: [
|
|
1214
|
+
!g && /* @__PURE__ */ h("div", { className: X.FiltersAmbitHeader, children: [
|
|
1215
1215
|
/* @__PURE__ */ s("div", { className: X.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1216
1216
|
"input",
|
|
1217
1217
|
{
|
|
1218
1218
|
type: "text",
|
|
1219
1219
|
onChange: (F) => {
|
|
1220
|
-
|
|
1220
|
+
k(!1), y(F.target.value);
|
|
1221
1221
|
},
|
|
1222
1222
|
value: p,
|
|
1223
1223
|
placeholder: f(u)
|
|
@@ -1228,7 +1228,7 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1228
1228
|
{
|
|
1229
1229
|
value: v,
|
|
1230
1230
|
onChange: (F) => x(F.target.value),
|
|
1231
|
-
placeholder: f(
|
|
1231
|
+
placeholder: f(C)
|
|
1232
1232
|
}
|
|
1233
1233
|
) }) })
|
|
1234
1234
|
] }),
|
|
@@ -1242,8 +1242,8 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1242
1242
|
activeColor: t
|
|
1243
1243
|
}
|
|
1244
1244
|
),
|
|
1245
|
-
|
|
1246
|
-
|
|
1245
|
+
m.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
|
|
1246
|
+
m.includes("tematical") && /* @__PURE__ */ s(
|
|
1247
1247
|
at,
|
|
1248
1248
|
{
|
|
1249
1249
|
indicators: i,
|
|
@@ -1253,8 +1253,8 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", q2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1253
1253
|
activeColor: t
|
|
1254
1254
|
}
|
|
1255
1255
|
),
|
|
1256
|
-
w && /* @__PURE__ */ s("div", { className: X.warning, children: f(
|
|
1257
|
-
!
|
|
1256
|
+
w && /* @__PURE__ */ s("div", { className: X.warning, children: f(b) }),
|
|
1257
|
+
!g && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ge, { onClick: () => L(), children: f("save_ambit") }) })
|
|
1258
1258
|
] });
|
|
1259
1259
|
};
|
|
1260
1260
|
K2.propTypes = {
|
|
@@ -1286,12 +1286,12 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1286
1286
|
numberOfDivisions: c = 7,
|
|
1287
1287
|
maxValue: u = null
|
|
1288
1288
|
}) => {
|
|
1289
|
-
const { t:
|
|
1289
|
+
const { t: C } = N(), { xScale: m, ticks: b, height: g } = he(() => {
|
|
1290
1290
|
if (n && n.length > 0) {
|
|
1291
|
-
const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Ee.max(n, (v) => v.value) || 1, p = Ee.scaleLinear().domain([0, u || _]).range([0, d - a]),
|
|
1291
|
+
const f = (n == null ? void 0 : n.length) * (o + i) + r * 2, _ = Ee.max(n, (v) => v.value) || 1, p = Ee.scaleLinear().domain([0, u || _]).range([0, d - a]), y = Array.from({ length: c + 1 }, (v, x) => u ? u / c * x : _ / c * x);
|
|
1292
1292
|
return {
|
|
1293
1293
|
xScale: p,
|
|
1294
|
-
ticks:
|
|
1294
|
+
ticks: y,
|
|
1295
1295
|
height: f,
|
|
1296
1296
|
width: d,
|
|
1297
1297
|
verticalPaddign: r,
|
|
@@ -1309,22 +1309,22 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1309
1309
|
r,
|
|
1310
1310
|
u
|
|
1311
1311
|
]);
|
|
1312
|
-
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height:
|
|
1313
|
-
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children:
|
|
1314
|
-
const p =
|
|
1315
|
-
return /* @__PURE__ */
|
|
1312
|
+
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: g, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1313
|
+
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: b.map((f, _) => {
|
|
1314
|
+
const p = m(f);
|
|
1315
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${p}, 0)`, children: [
|
|
1316
1316
|
/* @__PURE__ */ s(
|
|
1317
1317
|
"line",
|
|
1318
1318
|
{
|
|
1319
1319
|
y1: 0,
|
|
1320
|
-
y2:
|
|
1320
|
+
y2: g - i * 2,
|
|
1321
1321
|
stroke: "#ccc"
|
|
1322
1322
|
}
|
|
1323
1323
|
),
|
|
1324
1324
|
/* @__PURE__ */ s(
|
|
1325
1325
|
"text",
|
|
1326
1326
|
{
|
|
1327
|
-
y:
|
|
1327
|
+
y: g - i,
|
|
1328
1328
|
textAnchor: "middle",
|
|
1329
1329
|
fontSize: 10,
|
|
1330
1330
|
fill: t,
|
|
@@ -1334,11 +1334,11 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1334
1334
|
] }, _);
|
|
1335
1335
|
}) }),
|
|
1336
1336
|
n && n.length > 0 && (n == null ? void 0 : n.map((f, _) => {
|
|
1337
|
-
const p =
|
|
1338
|
-
return /* @__PURE__ */
|
|
1337
|
+
const p = m(f.value), y = _ * (o + i);
|
|
1338
|
+
return /* @__PURE__ */ h(
|
|
1339
1339
|
"g",
|
|
1340
1340
|
{
|
|
1341
|
-
transform: `translate(${a + l}, ${
|
|
1341
|
+
transform: `translate(${a + l}, ${y})`,
|
|
1342
1342
|
children: [
|
|
1343
1343
|
/* @__PURE__ */ s(
|
|
1344
1344
|
"text",
|
|
@@ -1347,7 +1347,7 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1347
1347
|
y: o / 2 + 5,
|
|
1348
1348
|
textAnchor: "end",
|
|
1349
1349
|
fill: t,
|
|
1350
|
-
children:
|
|
1350
|
+
children: C(f.title)
|
|
1351
1351
|
}
|
|
1352
1352
|
),
|
|
1353
1353
|
/* @__PURE__ */ s(
|
|
@@ -1382,7 +1382,7 @@ lt.propTypes = {
|
|
|
1382
1382
|
numberOfDivisions: e.number,
|
|
1383
1383
|
fontColor: e.string
|
|
1384
1384
|
};
|
|
1385
|
-
const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14",
|
|
1385
|
+
const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", ze = {
|
|
1386
1386
|
graphicContainer: Y2,
|
|
1387
1387
|
titleContainer: W2
|
|
1388
1388
|
}, Q2 = ({
|
|
@@ -1396,17 +1396,17 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
|
1396
1396
|
numberOfDivisions: a = 7,
|
|
1397
1397
|
leftPadding: c = 200
|
|
1398
1398
|
}) => {
|
|
1399
|
-
const { t: u } =
|
|
1400
|
-
return /* @__PURE__ */
|
|
1399
|
+
const { t: u } = N();
|
|
1400
|
+
return /* @__PURE__ */ h(
|
|
1401
1401
|
"div",
|
|
1402
1402
|
{
|
|
1403
|
-
className:
|
|
1403
|
+
className: ze.graphicContainer,
|
|
1404
1404
|
style: {
|
|
1405
1405
|
...o || {},
|
|
1406
1406
|
border: `1.5px solid ${i}`
|
|
1407
1407
|
},
|
|
1408
1408
|
children: [
|
|
1409
|
-
/* @__PURE__ */ s("div", { className:
|
|
1409
|
+
/* @__PURE__ */ s("div", { className: ze.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1410
1410
|
/* @__PURE__ */ s(
|
|
1411
1411
|
lt,
|
|
1412
1412
|
{
|
|
@@ -1465,16 +1465,16 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1465
1465
|
multiple: a = !1,
|
|
1466
1466
|
onChangeType: c
|
|
1467
1467
|
}) => {
|
|
1468
|
-
const { t: u } =
|
|
1468
|
+
const { t: u } = N(), { name: C, type: m } = n, [b, g] = D(!1);
|
|
1469
1469
|
V(() => {
|
|
1470
|
-
t &&
|
|
1470
|
+
t && g(
|
|
1471
1471
|
a ? t.some(
|
|
1472
|
-
(p) => p.name == String(
|
|
1473
|
-
) : t.name ==
|
|
1472
|
+
(p) => p.name == String(C)
|
|
1473
|
+
) : t.name == C
|
|
1474
1474
|
);
|
|
1475
1475
|
}, [t]);
|
|
1476
|
-
const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */
|
|
1477
|
-
/* @__PURE__ */
|
|
1476
|
+
const f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ h("div", { className: M.switchTypeOptions, children: [
|
|
1477
|
+
/* @__PURE__ */ h(
|
|
1478
1478
|
"div",
|
|
1479
1479
|
{
|
|
1480
1480
|
className: M.optionContainer,
|
|
@@ -1503,7 +1503,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1503
1503
|
]
|
|
1504
1504
|
}
|
|
1505
1505
|
),
|
|
1506
|
-
/* @__PURE__ */
|
|
1506
|
+
/* @__PURE__ */ h(
|
|
1507
1507
|
"div",
|
|
1508
1508
|
{
|
|
1509
1509
|
className: M.optionContainer,
|
|
@@ -1532,7 +1532,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1532
1532
|
]
|
|
1533
1533
|
}
|
|
1534
1534
|
)
|
|
1535
|
-
] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p,
|
|
1535
|
+
] }) }) }), _ = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((p, y) => /* @__PURE__ */ h(
|
|
1536
1536
|
"div",
|
|
1537
1537
|
{
|
|
1538
1538
|
className: M.optionContainer,
|
|
@@ -1546,10 +1546,10 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1546
1546
|
/* @__PURE__ */ s("h4", { children: u(p.unit) })
|
|
1547
1547
|
]
|
|
1548
1548
|
},
|
|
1549
|
-
|
|
1549
|
+
y
|
|
1550
1550
|
)) }) }) });
|
|
1551
|
-
return /* @__PURE__ */
|
|
1552
|
-
/* @__PURE__ */
|
|
1551
|
+
return /* @__PURE__ */ h("div", { className: M.indicatorContainer, children: [
|
|
1552
|
+
/* @__PURE__ */ h(
|
|
1553
1553
|
"div",
|
|
1554
1554
|
{
|
|
1555
1555
|
className: M.indicatorNameContainer,
|
|
@@ -1559,7 +1559,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1559
1559
|
"div",
|
|
1560
1560
|
{
|
|
1561
1561
|
style: {
|
|
1562
|
-
border:
|
|
1562
|
+
border: b ? `1px solid ${o}` : `1px solid ${i}`
|
|
1563
1563
|
},
|
|
1564
1564
|
className: M.dot
|
|
1565
1565
|
}
|
|
@@ -1568,15 +1568,15 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1568
1568
|
"h4",
|
|
1569
1569
|
{
|
|
1570
1570
|
className: M.indicatorName,
|
|
1571
|
-
style: { color:
|
|
1572
|
-
children: /* @__PURE__ */ s(Ve, { i18nKey:
|
|
1571
|
+
style: { color: b ? o : i },
|
|
1572
|
+
children: /* @__PURE__ */ s(Ve, { i18nKey: C, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "<" } })
|
|
1573
1573
|
}
|
|
1574
1574
|
)
|
|
1575
1575
|
]
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
|
-
(t == null ? void 0 : t.name) ===
|
|
1579
|
-
(t == null ? void 0 : t.name) ===
|
|
1578
|
+
(t == null ? void 0 : t.name) === C && m === "both" && /* @__PURE__ */ s("div", { children: f() }),
|
|
1579
|
+
(t == null ? void 0 : t.name) === C && m === "twoUnits" && /* @__PURE__ */ s("div", { children: _() })
|
|
1580
1580
|
] });
|
|
1581
1581
|
};
|
|
1582
1582
|
Oe.propTypes = {
|
|
@@ -1605,27 +1605,27 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1605
1605
|
activeIndicator: a,
|
|
1606
1606
|
onClickIndicator: c,
|
|
1607
1607
|
multiple: u,
|
|
1608
|
-
activeIndicatorType:
|
|
1609
|
-
onChangeType:
|
|
1608
|
+
activeIndicatorType: C,
|
|
1609
|
+
onChangeType: m
|
|
1610
1610
|
}) => {
|
|
1611
|
-
const { t:
|
|
1611
|
+
const { t: b } = N(), [g, f] = D(!1);
|
|
1612
1612
|
return V(() => {
|
|
1613
1613
|
f(t == l);
|
|
1614
|
-
}, [t, l]), /* @__PURE__ */
|
|
1614
|
+
}, [t, l]), /* @__PURE__ */ h(
|
|
1615
1615
|
Ae.div,
|
|
1616
1616
|
{
|
|
1617
1617
|
className: Ze.indicatorsSubCategory,
|
|
1618
1618
|
initial: { height: "43px" },
|
|
1619
|
-
animate: { height:
|
|
1619
|
+
animate: { height: g ? "auto" : "43px" },
|
|
1620
1620
|
transition: { duration: 0.4 },
|
|
1621
1621
|
children: [
|
|
1622
|
-
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */
|
|
1623
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1622
|
+
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: g ? i : o }, children: [
|
|
1623
|
+
/* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
|
|
1624
1624
|
/* @__PURE__ */ s(
|
|
1625
1625
|
"span",
|
|
1626
1626
|
{
|
|
1627
|
-
style: { marginLeft: 12, color:
|
|
1628
|
-
children:
|
|
1627
|
+
style: { marginLeft: 12, color: g ? i : o },
|
|
1628
|
+
children: b(n)
|
|
1629
1629
|
}
|
|
1630
1630
|
)
|
|
1631
1631
|
] }) }),
|
|
@@ -1638,8 +1638,8 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1638
1638
|
activeIndicator: a,
|
|
1639
1639
|
onClickIndicator: c,
|
|
1640
1640
|
multiple: u,
|
|
1641
|
-
activeIndicatorType:
|
|
1642
|
-
onChangeType:
|
|
1641
|
+
activeIndicatorType: C,
|
|
1642
|
+
onChangeType: m
|
|
1643
1643
|
},
|
|
1644
1644
|
"indicator" + p
|
|
1645
1645
|
)) })
|
|
@@ -1670,15 +1670,15 @@ const dt = ({
|
|
|
1670
1670
|
onClickSubCategory: a,
|
|
1671
1671
|
activeIndicator: c,
|
|
1672
1672
|
onClickIndicator: u,
|
|
1673
|
-
multiple:
|
|
1674
|
-
activeIndicatorType:
|
|
1675
|
-
onChangeType:
|
|
1673
|
+
multiple: C,
|
|
1674
|
+
activeIndicatorType: m,
|
|
1675
|
+
onChangeType: b
|
|
1676
1676
|
}) => {
|
|
1677
1677
|
var p;
|
|
1678
|
-
const { t:
|
|
1678
|
+
const { t: g } = N(), [f, _] = D(!1);
|
|
1679
1679
|
return V(() => {
|
|
1680
1680
|
_(r === d);
|
|
1681
|
-
}, [r, d]), /* @__PURE__ */
|
|
1681
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1682
1682
|
Ae.div,
|
|
1683
1683
|
{
|
|
1684
1684
|
className: ve.indicatorsCategory,
|
|
@@ -1691,47 +1691,47 @@ const dt = ({
|
|
|
1691
1691
|
marginBottom: f ? "20px" : "0px"
|
|
1692
1692
|
},
|
|
1693
1693
|
children: [
|
|
1694
|
-
/* @__PURE__ */
|
|
1694
|
+
/* @__PURE__ */ h("h2", { className: `${ve.title}`, onClick: () => t(d), children: [
|
|
1695
1695
|
/* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
|
|
1696
1696
|
/* @__PURE__ */ s(
|
|
1697
1697
|
"span",
|
|
1698
1698
|
{
|
|
1699
1699
|
style: { marginLeft: 12, color: f ? o : i },
|
|
1700
|
-
children:
|
|
1700
|
+
children: g(n.name)
|
|
1701
1701
|
}
|
|
1702
1702
|
)
|
|
1703
1703
|
] }),
|
|
1704
1704
|
n.subcategories ? n.subcategories.map(
|
|
1705
|
-
({ name:
|
|
1705
|
+
({ name: y, subcategory: v, indicators: x }, w) => /* @__PURE__ */ s(
|
|
1706
1706
|
ct,
|
|
1707
1707
|
{
|
|
1708
1708
|
id: v,
|
|
1709
1709
|
activeSubCategory: l,
|
|
1710
|
-
subcName:
|
|
1710
|
+
subcName: y,
|
|
1711
1711
|
onClickSubCategory: a,
|
|
1712
1712
|
activeIndicator: c,
|
|
1713
1713
|
onClickIndicator: u,
|
|
1714
|
-
multiple:
|
|
1714
|
+
multiple: C,
|
|
1715
1715
|
activeColor: o,
|
|
1716
1716
|
defaultColor: i,
|
|
1717
1717
|
indicators: x,
|
|
1718
|
-
activeIndicatorType:
|
|
1719
|
-
onChangeType:
|
|
1718
|
+
activeIndicatorType: m,
|
|
1719
|
+
onChangeType: b
|
|
1720
1720
|
},
|
|
1721
1721
|
`subcKey ${w}`
|
|
1722
1722
|
)
|
|
1723
|
-
) : /* @__PURE__ */ s("div", { className: ve.list, children: (p = n.indicators) == null ? void 0 : p.map((
|
|
1723
|
+
) : /* @__PURE__ */ s("div", { className: ve.list, children: (p = n.indicators) == null ? void 0 : p.map((y, v) => /* @__PURE__ */ s(
|
|
1724
1724
|
Oe,
|
|
1725
1725
|
{
|
|
1726
|
-
indicator:
|
|
1727
|
-
values:
|
|
1726
|
+
indicator: y,
|
|
1727
|
+
values: y.type == "twoUnits" && y.values,
|
|
1728
1728
|
activeColor: o,
|
|
1729
1729
|
defaultColor: i,
|
|
1730
1730
|
activeIndicator: c,
|
|
1731
1731
|
onClickIndicator: u,
|
|
1732
|
-
multiple:
|
|
1733
|
-
activeIndicatorType:
|
|
1734
|
-
onChangeType:
|
|
1732
|
+
multiple: C,
|
|
1733
|
+
activeIndicatorType: m,
|
|
1734
|
+
onChangeType: b
|
|
1735
1735
|
},
|
|
1736
1736
|
`indicator${v}`
|
|
1737
1737
|
)) })
|
|
@@ -1770,54 +1770,54 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1770
1770
|
changeIndType: l,
|
|
1771
1771
|
activeIndicatorType: a
|
|
1772
1772
|
}) => {
|
|
1773
|
-
const { t: c } =
|
|
1774
|
-
|
|
1773
|
+
const { t: c } = N(), [u, C] = D(), [m, b] = D(), [g, f] = D(), _ = (w) => {
|
|
1774
|
+
C(u == w ? null : w);
|
|
1775
1775
|
}, p = (w) => {
|
|
1776
|
-
|
|
1777
|
-
},
|
|
1776
|
+
b(m == w ? null : w);
|
|
1777
|
+
}, y = ({ indicator: w }) => {
|
|
1778
1778
|
console.log("onClickIndicator: ", w), v(w);
|
|
1779
1779
|
}, v = (w) => {
|
|
1780
1780
|
if (!t)
|
|
1781
1781
|
f(
|
|
1782
|
-
(
|
|
1782
|
+
(g == null ? void 0 : g.name) == w.name ? null : w
|
|
1783
1783
|
);
|
|
1784
1784
|
else {
|
|
1785
|
-
let
|
|
1785
|
+
let k = g && g.length > 0 ? [...g] : [];
|
|
1786
1786
|
f(
|
|
1787
|
-
|
|
1787
|
+
k != null && k.some(
|
|
1788
1788
|
(L) => L.name == w.name
|
|
1789
|
-
) ?
|
|
1789
|
+
) ? k.filter(
|
|
1790
1790
|
(L) => L.name != String(w.name)
|
|
1791
|
-
) : [...
|
|
1791
|
+
) : [...k, w]
|
|
1792
1792
|
), w.type == "both" && l("cat");
|
|
1793
1793
|
}
|
|
1794
1794
|
};
|
|
1795
1795
|
V(() => {
|
|
1796
|
-
console.log("activeindicator changed to: ",
|
|
1797
|
-
}, [
|
|
1798
|
-
if (r && !
|
|
1796
|
+
console.log("activeindicator changed to: ", g), i && typeof i == "function" && g && i({ activeIndicator: g });
|
|
1797
|
+
}, [g]), yt(() => {
|
|
1798
|
+
if (r && !g)
|
|
1799
1799
|
if (t && r && Array.isArray(r)) {
|
|
1800
|
-
let w =
|
|
1800
|
+
let w = g && g.length > 0 ? [...g] : [];
|
|
1801
1801
|
f([...w, ...r]), x(r[0].name);
|
|
1802
1802
|
} else
|
|
1803
1803
|
v(r), x(r.name);
|
|
1804
1804
|
}, []);
|
|
1805
1805
|
const x = (w) => {
|
|
1806
|
-
const
|
|
1806
|
+
const k = n.find((L) => {
|
|
1807
1807
|
if (L.subcategories) {
|
|
1808
1808
|
let F = L.subcategories.find(
|
|
1809
|
-
(
|
|
1809
|
+
(q) => q.indicators.find((ae) => ae.name == w)
|
|
1810
1810
|
);
|
|
1811
1811
|
if (F)
|
|
1812
|
-
return
|
|
1812
|
+
return b(F.subcategory), F;
|
|
1813
1813
|
} else
|
|
1814
1814
|
return L.indicators.some((F) => F.name == w);
|
|
1815
1815
|
});
|
|
1816
|
-
|
|
1816
|
+
k && C(k.category);
|
|
1817
1817
|
};
|
|
1818
|
-
return /* @__PURE__ */
|
|
1818
|
+
return /* @__PURE__ */ h("div", { className: He.indicatorsList, children: [
|
|
1819
1819
|
/* @__PURE__ */ s("h2", { className: He.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1820
|
-
n.map((w,
|
|
1820
|
+
n.map((w, k) => /* @__PURE__ */ s(
|
|
1821
1821
|
dt,
|
|
1822
1822
|
{
|
|
1823
1823
|
id: w.category,
|
|
@@ -1825,9 +1825,9 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1825
1825
|
onClickCategory: _,
|
|
1826
1826
|
activeCategory: u,
|
|
1827
1827
|
onClickSubCategory: p,
|
|
1828
|
-
activeSubCategory:
|
|
1829
|
-
onClickIndicator:
|
|
1830
|
-
activeIndicator:
|
|
1828
|
+
activeSubCategory: m,
|
|
1829
|
+
onClickIndicator: y,
|
|
1830
|
+
activeIndicator: g,
|
|
1831
1831
|
activeColor: d,
|
|
1832
1832
|
defaultColor: o,
|
|
1833
1833
|
multiple: t,
|
|
@@ -1835,7 +1835,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", He = {
|
|
|
1835
1835
|
onChangeType: l,
|
|
1836
1836
|
activeIndicatorType: a
|
|
1837
1837
|
},
|
|
1838
|
-
`categoryKey${
|
|
1838
|
+
`categoryKey${k}`
|
|
1839
1839
|
))
|
|
1840
1840
|
] });
|
|
1841
1841
|
};
|
|
@@ -1857,11 +1857,11 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
|
|
|
1857
1857
|
prevImg: y0,
|
|
1858
1858
|
langMenu: _0
|
|
1859
1859
|
}, v0 = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1860
|
-
const [i, t] =
|
|
1860
|
+
const [i, t] = D(!1), { i18n: r } = N(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1861
1861
|
r.changeLanguage(c), t(!1);
|
|
1862
1862
|
};
|
|
1863
|
-
return /* @__PURE__ */
|
|
1864
|
-
/* @__PURE__ */
|
|
1863
|
+
return /* @__PURE__ */ h("div", { className: J.langSelector, children: [
|
|
1864
|
+
/* @__PURE__ */ h(
|
|
1865
1865
|
"div",
|
|
1866
1866
|
{
|
|
1867
1867
|
className: J.currentLang,
|
|
@@ -1900,21 +1900,23 @@ v0.propTypes = {
|
|
|
1900
1900
|
arrow: e.object,
|
|
1901
1901
|
imgPrev: e.object
|
|
1902
1902
|
};
|
|
1903
|
-
const w0 = "
|
|
1903
|
+
const w0 = "_legendContainer_jhxfb_3", x0 = "_closeButton_jhxfb_31", N0 = "_titleContainer_jhxfb_59", k0 = "_infoContainer_jhxfb_65", B0 = "_titleLegendList_jhxfb_76", S0 = "_legendListContainer_jhxfb_83", D0 = "_gridContainer_jhxfb_83", M0 = "_elementLegendContainer_jhxfb_89", L0 = "_colorDot_jhxfb_95", F0 = "_absoluteValueContainer_jhxfb_101", T0 = "_absoluteValueColor_jhxfb_104", $0 = "_absoluteValueText_jhxfb_109", V0 = "_noDataContainer_jhxfb_121", A0 = "_noData_jhxfb_121", I0 = "_moreInfoContainer_jhxfb_142", S = {
|
|
1904
1904
|
legendContainer: w0,
|
|
1905
1905
|
closeButton: x0,
|
|
1906
|
-
titleContainer:
|
|
1907
|
-
infoContainer:
|
|
1906
|
+
titleContainer: N0,
|
|
1907
|
+
infoContainer: k0,
|
|
1908
1908
|
titleLegendList: B0,
|
|
1909
1909
|
legendListContainer: S0,
|
|
1910
|
-
gridContainer:
|
|
1911
|
-
elementLegendContainer:
|
|
1912
|
-
colorDot:
|
|
1913
|
-
absoluteValueContainer:
|
|
1910
|
+
gridContainer: D0,
|
|
1911
|
+
elementLegendContainer: M0,
|
|
1912
|
+
colorDot: L0,
|
|
1913
|
+
absoluteValueContainer: F0,
|
|
1914
1914
|
absoluteValueColor: T0,
|
|
1915
1915
|
absoluteValueText: $0,
|
|
1916
|
-
|
|
1917
|
-
|
|
1916
|
+
noDataContainer: V0,
|
|
1917
|
+
noData: A0,
|
|
1918
|
+
moreInfoContainer: I0
|
|
1919
|
+
}, O0 = ({
|
|
1918
1920
|
//JSON with the styles of the container (optional)
|
|
1919
1921
|
containerStyles: n,
|
|
1920
1922
|
//Title on top of the legend
|
|
@@ -1935,73 +1937,89 @@ const w0 = "_legendContainer_1q5gf_3", x0 = "_closeButton_1q5gf_31", k0 = "_titl
|
|
|
1935
1937
|
onClickMoreInfo: l,
|
|
1936
1938
|
//If not passed it will read t("moreInformation")
|
|
1937
1939
|
buttonTitle: a,
|
|
1938
|
-
onClickClose: c
|
|
1940
|
+
onClickClose: c,
|
|
1941
|
+
noDataColor: u = null,
|
|
1942
|
+
noDataText: C
|
|
1939
1943
|
}) => {
|
|
1940
|
-
const { t:
|
|
1941
|
-
return /* @__PURE__ */
|
|
1944
|
+
const { t: m } = N();
|
|
1945
|
+
return /* @__PURE__ */ h(
|
|
1942
1946
|
"div",
|
|
1943
1947
|
{
|
|
1944
1948
|
style: n ? { ...n } : {},
|
|
1945
|
-
className: `${
|
|
1949
|
+
className: `${S.legendContainer}`,
|
|
1946
1950
|
children: [
|
|
1947
|
-
/* @__PURE__ */ s("button", { className:
|
|
1948
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1949
|
-
o && o.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
1950
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1951
|
-
/* @__PURE__ */
|
|
1951
|
+
/* @__PURE__ */ s("button", { className: S.closeButton, onClick: c }),
|
|
1952
|
+
d && /* @__PURE__ */ s("div", { className: S.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1953
|
+
o && o.length > 0 && /* @__PURE__ */ s("div", { className: S.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: b, value: g }) => /* @__PURE__ */ h("li", { children: [
|
|
1954
|
+
/* @__PURE__ */ s("h3", { className: S.title, children: `${b}:` }),
|
|
1955
|
+
/* @__PURE__ */ h("span", { className: S.value, children: [
|
|
1952
1956
|
" ",
|
|
1953
1957
|
g
|
|
1954
1958
|
] })
|
|
1955
1959
|
] }, d)) }) }),
|
|
1956
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1957
|
-
/* @__PURE__ */
|
|
1958
|
-
/* @__PURE__ */
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1960
|
+
/* @__PURE__ */ s("h3", { className: S.titleLegendList, children: t ? /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "<" } }) : m("mainUse") }),
|
|
1961
|
+
/* @__PURE__ */ h("div", { className: S.legendListContainer, children: [
|
|
1962
|
+
r ? /* @__PURE__ */ h("div", { className: S.absoluteValueContainer, children: [
|
|
1963
|
+
/* @__PURE__ */ s(
|
|
1964
|
+
"div",
|
|
1965
|
+
{
|
|
1966
|
+
className: S.absoluteValueColor,
|
|
1967
|
+
style: {
|
|
1968
|
+
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
1969
|
+
}
|
|
1964
1970
|
}
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1971
|
+
),
|
|
1972
|
+
/* @__PURE__ */ h("div", { className: S.absoluteValueText, children: [
|
|
1973
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1974
|
+
r.maxValue,
|
|
1975
|
+
" ",
|
|
1976
|
+
m(r.unit)
|
|
1977
|
+
] }),
|
|
1978
|
+
r.midValue && /* @__PURE__ */ h("span", { children: [
|
|
1979
|
+
r.midValue,
|
|
1980
|
+
" ",
|
|
1981
|
+
m(r.unit)
|
|
1982
|
+
] }),
|
|
1983
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1984
|
+
r.minValue,
|
|
1985
|
+
" ",
|
|
1986
|
+
m(r.unit)
|
|
1987
|
+
] })
|
|
1982
1988
|
] })
|
|
1983
|
-
] })
|
|
1984
|
-
|
|
1985
|
-
|
|
1989
|
+
] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: S.gridContainer, children: i.map(
|
|
1990
|
+
({ title: b, color: g }) => /* @__PURE__ */ h("div", { className: S.elementLegendContainer, children: [
|
|
1991
|
+
/* @__PURE__ */ s(
|
|
1992
|
+
"div",
|
|
1993
|
+
{
|
|
1994
|
+
className: S.colorDot,
|
|
1995
|
+
style: { backgroundColor: g }
|
|
1996
|
+
}
|
|
1997
|
+
),
|
|
1998
|
+
/* @__PURE__ */ h("div", { className: S.titleLegendElement, children: [
|
|
1999
|
+
m(b),
|
|
2000
|
+
" "
|
|
2001
|
+
] })
|
|
2002
|
+
] }, d)
|
|
2003
|
+
) }),
|
|
2004
|
+
r && u && /* @__PURE__ */ h("div", { className: S.noDataContainer, children: [
|
|
1986
2005
|
/* @__PURE__ */ s(
|
|
1987
2006
|
"div",
|
|
1988
2007
|
{
|
|
1989
|
-
className:
|
|
1990
|
-
style: {
|
|
2008
|
+
className: S.noData,
|
|
2009
|
+
style: {
|
|
2010
|
+
background: u
|
|
2011
|
+
}
|
|
1991
2012
|
}
|
|
1992
2013
|
),
|
|
1993
|
-
/* @__PURE__ */
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
] }, d)
|
|
1998
|
-
) }) }),
|
|
1999
|
-
l && /* @__PURE__ */ s("button", { className: $.moreInfoContainer, onClick: l, children: a || u("moreInformation") })
|
|
2014
|
+
/* @__PURE__ */ s("div", { className: S.absoluteValueText, children: /* @__PURE__ */ s("span", { children: m(C) }) })
|
|
2015
|
+
] })
|
|
2016
|
+
] }),
|
|
2017
|
+
l && /* @__PURE__ */ s("button", { className: S.moreInfoContainer, onClick: l, children: a || m("moreInformation") })
|
|
2000
2018
|
]
|
|
2001
2019
|
}
|
|
2002
2020
|
);
|
|
2003
2021
|
};
|
|
2004
|
-
|
|
2022
|
+
O0.propTypes = {
|
|
2005
2023
|
title: e.string,
|
|
2006
2024
|
containerStyles: e.object,
|
|
2007
2025
|
infoList: e.arrayOf(
|
|
@@ -2025,25 +2043,26 @@ A0.propTypes = {
|
|
|
2025
2043
|
}),
|
|
2026
2044
|
onClickMoreInfo: e.func,
|
|
2027
2045
|
buttonTitle: e.string,
|
|
2028
|
-
onClickClose: e.func
|
|
2046
|
+
onClickClose: e.func,
|
|
2047
|
+
noDataColor: e.string
|
|
2029
2048
|
};
|
|
2030
|
-
const
|
|
2031
|
-
logo:
|
|
2032
|
-
},
|
|
2033
|
-
const { t: i } =
|
|
2049
|
+
const R0 = "_logo_1ewa6_2", Ke = {
|
|
2050
|
+
logo: R0
|
|
2051
|
+
}, P0 = ({ src: n, alt: d, href: o }) => {
|
|
2052
|
+
const { t: i } = N(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
|
|
2034
2053
|
return o ? /* @__PURE__ */ s("div", { className: Ke.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: Ke.logo, children: t });
|
|
2035
2054
|
};
|
|
2036
|
-
|
|
2055
|
+
P0.propTypes = {
|
|
2037
2056
|
src: e.string.isRequired,
|
|
2038
2057
|
alt: e.string.isRequired,
|
|
2039
2058
|
href: e.string,
|
|
2040
2059
|
className: e.string
|
|
2041
2060
|
};
|
|
2042
|
-
const
|
|
2043
|
-
mapContainer:
|
|
2061
|
+
const E0 = "_mapContainer_84pkf_2", j0 = {
|
|
2062
|
+
mapContainer: E0
|
|
2044
2063
|
};
|
|
2045
2064
|
vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2046
|
-
const
|
|
2065
|
+
const q0 = ({
|
|
2047
2066
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2048
2067
|
maxZoom: d = 17,
|
|
2049
2068
|
minZoom: o = 8,
|
|
@@ -2054,21 +2073,21 @@ const E0 = ({
|
|
|
2054
2073
|
interactiveLayers: a = [],
|
|
2055
2074
|
popUp: c = !1,
|
|
2056
2075
|
sources: u = [],
|
|
2057
|
-
layers:
|
|
2076
|
+
layers: C = []
|
|
2058
2077
|
}) => {
|
|
2059
|
-
const
|
|
2078
|
+
const m = $e(), [b, g] = D(null), f = wt((_) => _.mapState.showTexts);
|
|
2060
2079
|
return V(() => {
|
|
2061
|
-
if (
|
|
2062
|
-
const _ =
|
|
2063
|
-
_.getStyle().layers.map((
|
|
2064
|
-
|
|
2080
|
+
if (m.current) {
|
|
2081
|
+
const _ = m.current.getMap();
|
|
2082
|
+
_.getStyle().layers.map((y) => {
|
|
2083
|
+
y.type == "symbol" && y.id != "professionals" && (f ? _.setLayoutProperty(y.id, "visibility", "visible") : _.setLayoutProperty(y.id, "visibility", "none"));
|
|
2065
2084
|
});
|
|
2066
2085
|
}
|
|
2067
|
-
}, [f]), /* @__PURE__ */ s("div", { className: `${
|
|
2068
|
-
|
|
2086
|
+
}, [f]), /* @__PURE__ */ s("div", { className: `${j0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2087
|
+
Nt,
|
|
2069
2088
|
{
|
|
2070
2089
|
initialViewState: n,
|
|
2071
|
-
ref:
|
|
2090
|
+
ref: m,
|
|
2072
2091
|
hash: !1,
|
|
2073
2092
|
maxZoom: d,
|
|
2074
2093
|
minZoom: o,
|
|
@@ -2077,14 +2096,14 @@ const E0 = ({
|
|
|
2077
2096
|
interactiveLayerIds: a,
|
|
2078
2097
|
children: [
|
|
2079
2098
|
u.length && u.map((_, p) => /* @__PURE__ */ s(
|
|
2080
|
-
|
|
2099
|
+
kt,
|
|
2081
2100
|
{
|
|
2082
2101
|
..._,
|
|
2083
|
-
children:
|
|
2084
|
-
if (
|
|
2102
|
+
children: C.length && C.map((y, v) => {
|
|
2103
|
+
if (y.sourceId == _.id) return /* @__PURE__ */ s(
|
|
2085
2104
|
Bt,
|
|
2086
2105
|
{
|
|
2087
|
-
...
|
|
2106
|
+
...y.layer,
|
|
2088
2107
|
beforeId: t
|
|
2089
2108
|
},
|
|
2090
2109
|
v
|
|
@@ -2094,13 +2113,13 @@ const E0 = ({
|
|
|
2094
2113
|
p
|
|
2095
2114
|
)),
|
|
2096
2115
|
/* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
|
|
2097
|
-
c &&
|
|
2098
|
-
|
|
2116
|
+
c && b && /* @__PURE__ */ s(
|
|
2117
|
+
Dt,
|
|
2099
2118
|
{
|
|
2100
2119
|
longitude: c.longitude,
|
|
2101
2120
|
latitude: c.latitude,
|
|
2102
2121
|
anchor: c.anchor,
|
|
2103
|
-
onClose: () =>
|
|
2122
|
+
onClose: () => g(null),
|
|
2104
2123
|
children: c.content
|
|
2105
2124
|
}
|
|
2106
2125
|
)
|
|
@@ -2108,7 +2127,7 @@ const E0 = ({
|
|
|
2108
2127
|
}
|
|
2109
2128
|
) });
|
|
2110
2129
|
};
|
|
2111
|
-
|
|
2130
|
+
q0.propTypes = {
|
|
2112
2131
|
initialView: e.shape({
|
|
2113
2132
|
latitude: e.number.isRequired,
|
|
2114
2133
|
longitude: e.number.isRequired,
|
|
@@ -2153,25 +2172,25 @@ E0.propTypes = {
|
|
|
2153
2172
|
})
|
|
2154
2173
|
)
|
|
2155
2174
|
};
|
|
2156
|
-
const
|
|
2157
|
-
mapContainer:
|
|
2158
|
-
},
|
|
2159
|
-
FeaturePopUp:
|
|
2160
|
-
title:
|
|
2161
|
-
},
|
|
2162
|
-
const { t: d } =
|
|
2163
|
-
return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */
|
|
2164
|
-
/* @__PURE__ */
|
|
2175
|
+
const z0 = "_mapContainer_b0pyr_3", Z0 = {
|
|
2176
|
+
mapContainer: z0
|
|
2177
|
+
}, H0 = "_FeaturePopUp_mt8l5_2", K0 = "_title_mt8l5_9", Ue = {
|
|
2178
|
+
FeaturePopUp: H0,
|
|
2179
|
+
title: K0
|
|
2180
|
+
}, U0 = ({ props: n }) => {
|
|
2181
|
+
const { t: d } = N();
|
|
2182
|
+
return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2183
|
+
/* @__PURE__ */ h("span", { className: Ue.title, children: [
|
|
2165
2184
|
/* @__PURE__ */ s(Ve, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, values: { lt: "<" } }),
|
|
2166
2185
|
":"
|
|
2167
2186
|
] }),
|
|
2168
|
-
isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */
|
|
2187
|
+
isNaN(o.value) ? /* @__PURE__ */ s(Se, { children: d(o.value) }) : /* @__PURE__ */ h(Se, { children: [
|
|
2169
2188
|
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2170
2189
|
" ",
|
|
2171
2190
|
d(o.unit)
|
|
2172
2191
|
] })
|
|
2173
2192
|
] })) });
|
|
2174
|
-
},
|
|
2193
|
+
}, G0 = ({
|
|
2175
2194
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2176
2195
|
maxZoom: d = 17,
|
|
2177
2196
|
minZoom: o = 8,
|
|
@@ -2182,27 +2201,27 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2182
2201
|
interactiveLayers: a = [],
|
|
2183
2202
|
sources: c = [],
|
|
2184
2203
|
layers: u = [],
|
|
2185
|
-
filters:
|
|
2186
|
-
popUpParams:
|
|
2187
|
-
onClosePopUp:
|
|
2188
|
-
showTexts:
|
|
2204
|
+
filters: C,
|
|
2205
|
+
popUpParams: m,
|
|
2206
|
+
onClosePopUp: b,
|
|
2207
|
+
showTexts: g
|
|
2189
2208
|
}) => {
|
|
2190
|
-
console.log(
|
|
2209
|
+
console.log(C);
|
|
2191
2210
|
const f = $e();
|
|
2192
2211
|
return V(() => {
|
|
2193
2212
|
if (f.current) {
|
|
2194
2213
|
const _ = f.current.getMap();
|
|
2195
|
-
_.getStyle().layers.map((
|
|
2196
|
-
|
|
2214
|
+
_.getStyle().layers.map((y) => {
|
|
2215
|
+
y.type == "symbol" && y.id != "professionals" && (g ? _.setLayoutProperty(y.id, "visibility", "visible") : _.setLayoutProperty(y.id, "visibility", "none"));
|
|
2197
2216
|
});
|
|
2198
2217
|
}
|
|
2199
|
-
}, [
|
|
2200
|
-
let _ = new
|
|
2218
|
+
}, [g]), V(() => {
|
|
2219
|
+
let _ = new Mt();
|
|
2201
2220
|
return fe.addProtocol("pmtiles", _.tile), () => {
|
|
2202
2221
|
fe.removeProtocol("pmtiles");
|
|
2203
2222
|
};
|
|
2204
|
-
}, []), /* @__PURE__ */ s("div", { className: `${
|
|
2205
|
-
|
|
2223
|
+
}, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2224
|
+
Lt,
|
|
2206
2225
|
{
|
|
2207
2226
|
mapLib: fe,
|
|
2208
2227
|
initialViewState: n,
|
|
@@ -2215,16 +2234,16 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2215
2234
|
interactiveLayerIds: a,
|
|
2216
2235
|
children: [
|
|
2217
2236
|
c.length && c.map((_, p) => /* @__PURE__ */ s(
|
|
2218
|
-
|
|
2237
|
+
Ft,
|
|
2219
2238
|
{
|
|
2220
2239
|
..._,
|
|
2221
|
-
children: u.length && u.map((
|
|
2222
|
-
if (
|
|
2240
|
+
children: u.length && u.map((y, v) => {
|
|
2241
|
+
if (y.sourceId == _.id) return /* @__PURE__ */ s(
|
|
2223
2242
|
Tt,
|
|
2224
2243
|
{
|
|
2225
|
-
...
|
|
2244
|
+
...y.layer,
|
|
2226
2245
|
beforeId: t,
|
|
2227
|
-
filter:
|
|
2246
|
+
filter: C && C
|
|
2228
2247
|
},
|
|
2229
2248
|
v
|
|
2230
2249
|
);
|
|
@@ -2233,20 +2252,20 @@ const q0 = "_mapContainer_b0pyr_3", z0 = {
|
|
|
2233
2252
|
p
|
|
2234
2253
|
)),
|
|
2235
2254
|
/* @__PURE__ */ s($t, { position: "bottom-right", visualizePitch: !0 }),
|
|
2236
|
-
|
|
2255
|
+
m && /* @__PURE__ */ s(
|
|
2237
2256
|
Vt,
|
|
2238
2257
|
{
|
|
2239
|
-
longitude:
|
|
2240
|
-
latitude:
|
|
2241
|
-
onClose:
|
|
2242
|
-
children: /* @__PURE__ */ s(
|
|
2258
|
+
longitude: m.lng,
|
|
2259
|
+
latitude: m.lat,
|
|
2260
|
+
onClose: b,
|
|
2261
|
+
children: /* @__PURE__ */ s(U0, { props: m.props })
|
|
2243
2262
|
}
|
|
2244
2263
|
)
|
|
2245
2264
|
]
|
|
2246
2265
|
}
|
|
2247
2266
|
) });
|
|
2248
2267
|
};
|
|
2249
|
-
|
|
2268
|
+
G0.propTypes = {
|
|
2250
2269
|
initialView: e.shape({
|
|
2251
2270
|
latitude: e.number.isRequired,
|
|
2252
2271
|
longitude: e.number.isRequired,
|
|
@@ -2289,14 +2308,14 @@ K0.propTypes = {
|
|
|
2289
2308
|
popUpParams: e.object,
|
|
2290
2309
|
onClosePopUp: e.func
|
|
2291
2310
|
};
|
|
2292
|
-
const
|
|
2293
|
-
sectionBar:
|
|
2294
|
-
leftContent:
|
|
2295
|
-
textContainer:
|
|
2296
|
-
title:
|
|
2297
|
-
subtitle:
|
|
2298
|
-
rightContent:
|
|
2299
|
-
},
|
|
2311
|
+
const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textContainer_1egwc_20", X0 = "_title_1egwc_27", J0 = "_subtitle_1egwc_33", en = "_rightContent_1egwc_38", K = {
|
|
2312
|
+
sectionBar: Y0,
|
|
2313
|
+
leftContent: W0,
|
|
2314
|
+
textContainer: Q0,
|
|
2315
|
+
title: X0,
|
|
2316
|
+
subtitle: J0,
|
|
2317
|
+
rightContent: en
|
|
2318
|
+
}, si = ({
|
|
2300
2319
|
leftIcon: n,
|
|
2301
2320
|
title: d,
|
|
2302
2321
|
subtitle: o,
|
|
@@ -2304,18 +2323,18 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2304
2323
|
mainColor: t,
|
|
2305
2324
|
width: r
|
|
2306
2325
|
}) => {
|
|
2307
|
-
const { t: l } =
|
|
2308
|
-
return /* @__PURE__ */
|
|
2309
|
-
/* @__PURE__ */
|
|
2326
|
+
const { t: l } = N();
|
|
2327
|
+
return /* @__PURE__ */ h("div", { className: K.sectionBar, style: { width: r && r }, children: [
|
|
2328
|
+
/* @__PURE__ */ h("div", { className: K.leftContent, children: [
|
|
2310
2329
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: K.icon }),
|
|
2311
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ h("div", { className: K.textContainer, children: [
|
|
2312
2331
|
/* @__PURE__ */ s("div", { className: K.title, children: l(d) }),
|
|
2313
2332
|
o && /* @__PURE__ */ s("div", { className: K.subtitle, children: o })
|
|
2314
2333
|
] })
|
|
2315
2334
|
] }),
|
|
2316
2335
|
/* @__PURE__ */ s("div", { className: K.rightContent, children: i })
|
|
2317
2336
|
] });
|
|
2318
|
-
},
|
|
2337
|
+
}, tn = At({
|
|
2319
2338
|
name: "mapSlice",
|
|
2320
2339
|
initialState: {
|
|
2321
2340
|
showTexts: !0,
|
|
@@ -2341,34 +2360,34 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2341
2360
|
n.activeIndicatorUnit = d.payload;
|
|
2342
2361
|
}
|
|
2343
2362
|
}
|
|
2344
|
-
}), { setShowTexts:
|
|
2345
|
-
slider:
|
|
2346
|
-
playButton:
|
|
2347
|
-
sliderOpen:
|
|
2348
|
-
sliderResults:
|
|
2349
|
-
},
|
|
2350
|
-
const [l, a] =
|
|
2363
|
+
}), { setShowTexts: ri, setYear: we, setActiveIndicatorKey: ai, setActiveIndicatorType: li, setActiveIndicatorUnit: ci } = tn.actions, nn = "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", on = "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", sn = "_slider_a19yo_2", rn = "_playButton_a19yo_17", an = "_sliderOpen_a19yo_28", ln = "_sliderResults_a19yo_32", ie = {
|
|
2364
|
+
slider: sn,
|
|
2365
|
+
playButton: rn,
|
|
2366
|
+
sliderOpen: an,
|
|
2367
|
+
sliderResults: ln
|
|
2368
|
+
}, cn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2369
|
+
const [l, a] = D(d), c = xt(), u = (y, v) => {
|
|
2351
2370
|
a(v), c(we(v - 2e3));
|
|
2352
|
-
}, [
|
|
2353
|
-
|
|
2354
|
-
},
|
|
2355
|
-
|
|
2371
|
+
}, [C, m] = D(!1), b = () => {
|
|
2372
|
+
m(!0);
|
|
2373
|
+
}, g = () => {
|
|
2374
|
+
m(!1);
|
|
2356
2375
|
};
|
|
2357
|
-
((
|
|
2376
|
+
((y, v) => {
|
|
2358
2377
|
const x = $e();
|
|
2359
2378
|
V(() => {
|
|
2360
|
-
x.current =
|
|
2361
|
-
}, [
|
|
2379
|
+
x.current = y;
|
|
2380
|
+
}, [y]), V(() => {
|
|
2362
2381
|
function w() {
|
|
2363
2382
|
x.current();
|
|
2364
2383
|
}
|
|
2365
2384
|
{
|
|
2366
|
-
let
|
|
2367
|
-
return () => clearInterval(
|
|
2385
|
+
let k = setInterval(w, v);
|
|
2386
|
+
return () => clearInterval(k);
|
|
2368
2387
|
}
|
|
2369
2388
|
}, [v]);
|
|
2370
2389
|
})(() => {
|
|
2371
|
-
|
|
2390
|
+
C && (l != 2050 ? (a(l + 1), c(we(l - 2e3 + 1))) : (a(2025), c(we(25))));
|
|
2372
2391
|
}, 1e3);
|
|
2373
2392
|
const _ = Ot({
|
|
2374
2393
|
palette: {
|
|
@@ -2398,7 +2417,7 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2398
2417
|
{ label: "", value: 2041 },
|
|
2399
2418
|
{ label: "", value: 2050 }
|
|
2400
2419
|
];
|
|
2401
|
-
return /* @__PURE__ */ s(Pt, { theme: _, children: /* @__PURE__ */
|
|
2420
|
+
return /* @__PURE__ */ s(Pt, { theme: _, children: /* @__PURE__ */ h(
|
|
2402
2421
|
Rt,
|
|
2403
2422
|
{
|
|
2404
2423
|
sx: { width: 400 },
|
|
@@ -2422,13 +2441,13 @@ const U0 = "_sectionBar_1egwc_2", G0 = "_leftContent_1egwc_14", Y0 = "_textConta
|
|
|
2422
2441
|
}
|
|
2423
2442
|
),
|
|
2424
2443
|
i,
|
|
2425
|
-
!
|
|
2426
|
-
|
|
2444
|
+
!C && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: b, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
|
|
2445
|
+
C && /* @__PURE__ */ s("button", { className: ie.playButton, onClick: g, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
|
|
2427
2446
|
]
|
|
2428
2447
|
}
|
|
2429
2448
|
) });
|
|
2430
2449
|
};
|
|
2431
|
-
|
|
2450
|
+
cn.propTypes = {
|
|
2432
2451
|
defaultYear: e.number,
|
|
2433
2452
|
onResults: e.bool,
|
|
2434
2453
|
firstYear: e.number,
|
|
@@ -2436,17 +2455,17 @@ an.propTypes = {
|
|
|
2436
2455
|
zIndex: e.number,
|
|
2437
2456
|
rightBarOpen: e.bool
|
|
2438
2457
|
};
|
|
2439
|
-
const
|
|
2440
|
-
TopNavMenuContainer:
|
|
2441
|
-
topNavOptions:
|
|
2442
|
-
active:
|
|
2443
|
-
},
|
|
2458
|
+
const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn = "_active_12mp4_27", xe = {
|
|
2459
|
+
TopNavMenuContainer: dn,
|
|
2460
|
+
topNavOptions: un,
|
|
2461
|
+
active: pn
|
|
2462
|
+
}, mn = ({
|
|
2444
2463
|
options: n = [],
|
|
2445
2464
|
containerStyles: d,
|
|
2446
2465
|
borderColor: o = "red",
|
|
2447
2466
|
textColor: i = "white"
|
|
2448
2467
|
}) => {
|
|
2449
|
-
const { t } =
|
|
2468
|
+
const { t } = N();
|
|
2450
2469
|
return /* @__PURE__ */ s("div", { className: xe.TopNavMenuContainer, style: { ...d }, children: n.map((r, l) => /* @__PURE__ */ s(
|
|
2451
2470
|
Et,
|
|
2452
2471
|
{
|
|
@@ -2461,7 +2480,7 @@ const ln = "_TopNavMenuContainer_12mp4_2", cn = "_topNavOptions_12mp4_13", dn =
|
|
|
2461
2480
|
l
|
|
2462
2481
|
)) });
|
|
2463
2482
|
};
|
|
2464
|
-
|
|
2483
|
+
mn.propTypes = {
|
|
2465
2484
|
options: e.arrayOf(e.object),
|
|
2466
2485
|
cssProps: e.shape({
|
|
2467
2486
|
borderColor: e.string.isRequired,
|
|
@@ -2471,9 +2490,9 @@ un.propTypes = {
|
|
|
2471
2490
|
// activeColor: PropTypes.string,
|
|
2472
2491
|
// defaultColor: PropTypes.string
|
|
2473
2492
|
};
|
|
2474
|
-
const
|
|
2475
|
-
LogInButton:
|
|
2476
|
-
},
|
|
2493
|
+
const hn = "_LogInButton_1vxj5_2", gn = {
|
|
2494
|
+
LogInButton: hn
|
|
2495
|
+
}, Cn = ({
|
|
2477
2496
|
cssClass: n,
|
|
2478
2497
|
notLoggedInLabel: d = "Log in",
|
|
2479
2498
|
loggedInLabel: o = "Log out",
|
|
@@ -2487,18 +2506,18 @@ const pn = "_LogInButton_1vxj5_2", mn = {
|
|
|
2487
2506
|
console.log("Logout clicked");
|
|
2488
2507
|
}
|
|
2489
2508
|
}) => {
|
|
2490
|
-
const { t: c } =
|
|
2509
|
+
const { t: c } = N();
|
|
2491
2510
|
return /* @__PURE__ */ s(
|
|
2492
2511
|
"div",
|
|
2493
2512
|
{
|
|
2494
2513
|
style: { ...i },
|
|
2495
|
-
className: `${
|
|
2514
|
+
className: `${gn.LogInButton} link ${n}`,
|
|
2496
2515
|
onClick: r ? a : l,
|
|
2497
2516
|
children: r ? t || c(o) : c(d)
|
|
2498
2517
|
}
|
|
2499
2518
|
);
|
|
2500
2519
|
};
|
|
2501
|
-
|
|
2520
|
+
Cn.propTypes = {
|
|
2502
2521
|
cssClass: e.string,
|
|
2503
2522
|
notLoggedInLabel: e.string,
|
|
2504
2523
|
loggedInLabel: e.string,
|
|
@@ -2506,38 +2525,38 @@ hn.propTypes = {
|
|
|
2506
2525
|
userName: e.string,
|
|
2507
2526
|
isLoggedIn: e.bool
|
|
2508
2527
|
};
|
|
2509
|
-
const
|
|
2510
|
-
elementSelector:
|
|
2511
|
-
header:
|
|
2512
|
-
nameDateContainer:
|
|
2513
|
-
elementName:
|
|
2514
|
-
elementDate:
|
|
2515
|
-
buttonsContainer:
|
|
2516
|
-
elementListContainer:
|
|
2517
|
-
newElementButtonContainer:
|
|
2518
|
-
},
|
|
2519
|
-
listElement:
|
|
2520
|
-
elementNameDate:
|
|
2521
|
-
elementNameContainer:
|
|
2522
|
-
elementName:
|
|
2523
|
-
elementDate:
|
|
2524
|
-
elementButtons:
|
|
2528
|
+
const fn = "_elementSelector_fd7az_2", bn = "_header_fd7az_13", yn = "_nameDateContainer_fd7az_23", _n = "_elementName_fd7az_39", vn = "_elementDate_fd7az_53", wn = "_buttonsContainer_fd7az_67", xn = "_elementListContainer_fd7az_76", Nn = "_newElementButtonContainer_fd7az_80", j = {
|
|
2529
|
+
elementSelector: fn,
|
|
2530
|
+
header: bn,
|
|
2531
|
+
nameDateContainer: yn,
|
|
2532
|
+
elementName: _n,
|
|
2533
|
+
elementDate: vn,
|
|
2534
|
+
buttonsContainer: wn,
|
|
2535
|
+
elementListContainer: xn,
|
|
2536
|
+
newElementButtonContainer: Nn
|
|
2537
|
+
}, kn = "_listElement_1s506_2", Bn = "_elementNameDate_1s506_17", Sn = "_elementNameContainer_1s506_27", Dn = "_elementName_1s506_17", Mn = "_elementDate_1s506_42", Ln = "_elementButtons_1s506_45", Fn = "_moreInfoContainer_1s506_68", Tn = "_moreInfo_1s506_68", O = {
|
|
2538
|
+
listElement: kn,
|
|
2539
|
+
elementNameDate: Bn,
|
|
2540
|
+
elementNameContainer: Sn,
|
|
2541
|
+
elementName: Dn,
|
|
2542
|
+
elementDate: Mn,
|
|
2543
|
+
elementButtons: Ln,
|
|
2525
2544
|
break: "_break_1s506_63",
|
|
2526
|
-
moreInfoContainer:
|
|
2527
|
-
moreInfo:
|
|
2528
|
-
}, Dn = "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", Tn = "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", $n = "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", Vn = "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", An = "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";
|
|
2545
|
+
moreInfoContainer: Fn,
|
|
2546
|
+
moreInfo: Tn
|
|
2547
|
+
}, $n = "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", Vn = "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", An = "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", In = "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", On = "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";
|
|
2529
2548
|
var Ge;
|
|
2530
|
-
function
|
|
2531
|
-
return
|
|
2549
|
+
function Fe() {
|
|
2550
|
+
return Fe = Object.assign ? Object.assign.bind() : function(n) {
|
|
2532
2551
|
for (var d = 1; d < arguments.length; d++) {
|
|
2533
2552
|
var o = arguments[d];
|
|
2534
2553
|
for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
2535
2554
|
}
|
|
2536
2555
|
return n;
|
|
2537
|
-
},
|
|
2556
|
+
}, Fe.apply(null, arguments);
|
|
2538
2557
|
}
|
|
2539
|
-
var
|
|
2540
|
-
return /* @__PURE__ */ te.createElement("svg",
|
|
2558
|
+
var Rn = function(d) {
|
|
2559
|
+
return /* @__PURE__ */ te.createElement("svg", Fe({
|
|
2541
2560
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2542
2561
|
width: 26,
|
|
2543
2562
|
height: 14,
|
|
@@ -2550,7 +2569,7 @@ var In = function(d) {
|
|
|
2550
2569
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2551
2570
|
}))));
|
|
2552
2571
|
};
|
|
2553
|
-
const
|
|
2572
|
+
const Pn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ut = ({
|
|
2554
2573
|
listelement: n,
|
|
2555
2574
|
onClickElement: d,
|
|
2556
2575
|
isActive: o,
|
|
@@ -2562,53 +2581,53 @@ const On = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2562
2581
|
processTooltip: c,
|
|
2563
2582
|
defaultTooltip: u
|
|
2564
2583
|
}) => {
|
|
2565
|
-
const { nom:
|
|
2566
|
-
return /* @__PURE__ */
|
|
2584
|
+
const { nom: C, created_at: m, id: b, isBeingProcessed: g } = n, [f, _] = D(!1), { t: p } = N();
|
|
2585
|
+
return /* @__PURE__ */ h(
|
|
2567
2586
|
"div",
|
|
2568
2587
|
{
|
|
2569
2588
|
className: O.listElement,
|
|
2570
2589
|
style: { borderBottom: `1px solid ${t}` },
|
|
2571
2590
|
children: [
|
|
2572
|
-
/* @__PURE__ */
|
|
2573
|
-
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */
|
|
2574
|
-
o ? /* @__PURE__ */ s(
|
|
2591
|
+
/* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(b), children: [
|
|
2592
|
+
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
|
|
2593
|
+
o ? /* @__PURE__ */ s(Rn, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2575
2594
|
"img",
|
|
2576
2595
|
{
|
|
2577
2596
|
style: { marginRight: 9 },
|
|
2578
|
-
src:
|
|
2597
|
+
src: Pn
|
|
2579
2598
|
}
|
|
2580
2599
|
),
|
|
2581
|
-
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children:
|
|
2600
|
+
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: C })
|
|
2582
2601
|
] }) }),
|
|
2583
|
-
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children:
|
|
2602
|
+
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: m ? new Date(m).toLocaleDateString() : "" }),
|
|
2584
2603
|
l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2585
2604
|
l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2586
2605
|
] }),
|
|
2587
|
-
/* @__PURE__ */
|
|
2588
|
-
n.processing && /* @__PURE__ */
|
|
2589
|
-
/* @__PURE__ */ s("img", { src:
|
|
2606
|
+
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2607
|
+
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2608
|
+
/* @__PURE__ */ s("img", { src: In }),
|
|
2590
2609
|
/* @__PURE__ */ s(Y, { text: c, position: "left" })
|
|
2591
2610
|
] }),
|
|
2592
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
2593
|
-
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2611
|
+
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2612
|
+
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: An }) }),
|
|
2594
2613
|
/* @__PURE__ */ s(Y, { text: a.filter.tooltiptext, position: "left" })
|
|
2595
2614
|
] }),
|
|
2596
|
-
a.copy && /* @__PURE__ */
|
|
2597
|
-
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2615
|
+
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2616
|
+
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Vn }) }),
|
|
2598
2617
|
/* @__PURE__ */ s(Y, { text: a.copy.tooltiptext, position: "left" })
|
|
2599
2618
|
] }),
|
|
2600
|
-
a.trash && !n.is_default && /* @__PURE__ */
|
|
2601
|
-
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2619
|
+
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2620
|
+
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: $n }) }),
|
|
2602
2621
|
/* @__PURE__ */ s(Y, { text: a.trash.tooltiptext, position: "left" })
|
|
2603
2622
|
] }),
|
|
2604
|
-
n.is_default && /* @__PURE__ */
|
|
2605
|
-
/* @__PURE__ */ s("img", { src:
|
|
2623
|
+
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2624
|
+
/* @__PURE__ */ s("img", { src: On }),
|
|
2606
2625
|
/* @__PURE__ */ s(Y, { text: u, position: "left" })
|
|
2607
2626
|
] })
|
|
2608
2627
|
] }),
|
|
2609
2628
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2610
|
-
r && /* @__PURE__ */
|
|
2611
|
-
/* @__PURE__ */
|
|
2629
|
+
r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
|
|
2630
|
+
/* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => _(!f), children: [
|
|
2612
2631
|
/* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
|
|
2613
2632
|
p(r.label)
|
|
2614
2633
|
] }),
|
|
@@ -2653,7 +2672,7 @@ ut.propTypes = {
|
|
|
2653
2672
|
processTooltip: e.string,
|
|
2654
2673
|
defaultTooltip: e.string
|
|
2655
2674
|
};
|
|
2656
|
-
const Ye = "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",
|
|
2675
|
+
const Ye = "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", En = ({
|
|
2657
2676
|
elementsList: n,
|
|
2658
2677
|
activeElementId: d,
|
|
2659
2678
|
fontColor: o = "#605B56",
|
|
@@ -2662,86 +2681,86 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2662
2681
|
containerStyles: r = {},
|
|
2663
2682
|
newElementButton: l,
|
|
2664
2683
|
//{label: 'text', onClick: function()}/null
|
|
2665
|
-
onClickElement: a = (
|
|
2684
|
+
onClickElement: a = (g) => console.log(`OnCLickElement: ${g}`),
|
|
2666
2685
|
columns: c,
|
|
2667
2686
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2668
2687
|
elementButtons: u,
|
|
2669
2688
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2670
|
-
moreInfo:
|
|
2689
|
+
moreInfo: C = !1,
|
|
2671
2690
|
//{label: 'x'}
|
|
2672
|
-
processTooltip:
|
|
2691
|
+
processTooltip: m,
|
|
2673
2692
|
//texto para el tooltip del simbolo "En proceso"
|
|
2674
|
-
defaultTooltip:
|
|
2693
|
+
defaultTooltip: b
|
|
2675
2694
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2676
2695
|
}) => {
|
|
2677
|
-
const { t:
|
|
2696
|
+
const { t: g } = N(), [f, _] = D(n);
|
|
2678
2697
|
V(() => {
|
|
2679
2698
|
n && _(n);
|
|
2680
2699
|
}, [n]);
|
|
2681
|
-
const p = (
|
|
2700
|
+
const p = (y) => {
|
|
2682
2701
|
if (f && f.length > 0) {
|
|
2683
2702
|
let v = [...f];
|
|
2684
|
-
v.sort((x, w) => x[
|
|
2703
|
+
v.sort((x, w) => x[y].localeCompare(w[y])), _(v);
|
|
2685
2704
|
}
|
|
2686
2705
|
};
|
|
2687
|
-
return /* @__PURE__ */
|
|
2706
|
+
return /* @__PURE__ */ h(
|
|
2688
2707
|
"div",
|
|
2689
2708
|
{
|
|
2690
|
-
className:
|
|
2709
|
+
className: j.elementSelector,
|
|
2691
2710
|
style: { color: o, ...r },
|
|
2692
2711
|
children: [
|
|
2693
|
-
/* @__PURE__ */
|
|
2712
|
+
/* @__PURE__ */ h(
|
|
2694
2713
|
"div",
|
|
2695
2714
|
{
|
|
2696
|
-
className:
|
|
2715
|
+
className: j.header,
|
|
2697
2716
|
style: { borderBottom: `1px solid ${o}` },
|
|
2698
2717
|
children: [
|
|
2699
|
-
/* @__PURE__ */
|
|
2700
|
-
c.nom && /* @__PURE__ */ s("div", { className:
|
|
2701
|
-
/* @__PURE__ */ s("span", { children:
|
|
2718
|
+
/* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
|
|
2719
|
+
c.nom && /* @__PURE__ */ s("div", { className: j.elementName, children: /* @__PURE__ */ h("button", { onClick: () => p("name"), children: [
|
|
2720
|
+
/* @__PURE__ */ s("span", { children: g(c.nom) }),
|
|
2702
2721
|
/* @__PURE__ */ s("img", { src: Ye })
|
|
2703
2722
|
] }) }),
|
|
2704
|
-
c.data && /* @__PURE__ */ s("div", { className:
|
|
2705
|
-
/* @__PURE__ */ s("span", { children:
|
|
2723
|
+
c.data && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => p("date"), children: [
|
|
2724
|
+
/* @__PURE__ */ s("span", { children: g(c.data) }),
|
|
2706
2725
|
/* @__PURE__ */ s("img", { src: Ye })
|
|
2707
2726
|
] }) }),
|
|
2708
|
-
c.ambit && /* @__PURE__ */ s("div", { className:
|
|
2709
|
-
c.escenari && /* @__PURE__ */ s("div", { className:
|
|
2727
|
+
c.ambit && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.ambit) }) }),
|
|
2728
|
+
c.escenari && /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: g(c.escenari) }) })
|
|
2710
2729
|
] }),
|
|
2711
|
-
/* @__PURE__ */ s("div", { className:
|
|
2730
|
+
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
2712
2731
|
]
|
|
2713
2732
|
}
|
|
2714
2733
|
),
|
|
2715
|
-
/* @__PURE__ */ s("div", { className:
|
|
2734
|
+
/* @__PURE__ */ s("div", { className: j.elementListContainer, children: f && f.length > 0 && f.map((y) => /* @__PURE__ */ s(
|
|
2716
2735
|
ut,
|
|
2717
2736
|
{
|
|
2718
|
-
isActive: d ==
|
|
2719
|
-
listelement:
|
|
2737
|
+
isActive: d == y.id,
|
|
2738
|
+
listelement: y,
|
|
2720
2739
|
fontColor: o,
|
|
2721
2740
|
activeColor: i,
|
|
2722
2741
|
onClickElement: a,
|
|
2723
2742
|
columns: c,
|
|
2724
2743
|
elementButtons: u,
|
|
2725
|
-
moreInfo:
|
|
2726
|
-
processTooltip:
|
|
2727
|
-
defaultTooltip:
|
|
2744
|
+
moreInfo: C,
|
|
2745
|
+
processTooltip: m,
|
|
2746
|
+
defaultTooltip: b
|
|
2728
2747
|
},
|
|
2729
|
-
`elementKey${
|
|
2748
|
+
`elementKey${y.id}`
|
|
2730
2749
|
)) }),
|
|
2731
|
-
l && /* @__PURE__ */ s("div", { className:
|
|
2750
|
+
l && /* @__PURE__ */ s("div", { className: j.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2732
2751
|
ge,
|
|
2733
2752
|
{
|
|
2734
2753
|
style: { ...t },
|
|
2735
2754
|
onClick: l.onClick,
|
|
2736
2755
|
borderColor: "grey",
|
|
2737
|
-
children:
|
|
2756
|
+
children: g(l.label)
|
|
2738
2757
|
}
|
|
2739
2758
|
) })
|
|
2740
2759
|
]
|
|
2741
2760
|
}
|
|
2742
2761
|
);
|
|
2743
2762
|
};
|
|
2744
|
-
|
|
2763
|
+
En.propTypes = {
|
|
2745
2764
|
elementList: e.arrayOf(
|
|
2746
2765
|
e.shape({
|
|
2747
2766
|
nom: e.string.isRequired,
|
|
@@ -2792,26 +2811,26 @@ const pe = {
|
|
|
2792
2811
|
password: "password",
|
|
2793
2812
|
radioList: "radioList",
|
|
2794
2813
|
select: "select"
|
|
2795
|
-
},
|
|
2796
|
-
textInputContainer:
|
|
2797
|
-
labelContainer:
|
|
2798
|
-
inputContainer:
|
|
2799
|
-
showPasswordButton:
|
|
2800
|
-
forgotPassButton:
|
|
2801
|
-
};
|
|
2802
|
-
var
|
|
2803
|
-
const
|
|
2804
|
-
var re = (n) => !pt(n) && !Array.isArray(n) &&
|
|
2814
|
+
}, jn = "_textInputContainer_1o3iy_2", qn = "_labelContainer_1o3iy_5", zn = "_inputContainer_1o3iy_8", Zn = "_showPasswordButton_1o3iy_14", Hn = "_forgotPassButton_1o3iy_26", oe = {
|
|
2815
|
+
textInputContainer: jn,
|
|
2816
|
+
labelContainer: qn,
|
|
2817
|
+
inputContainer: zn,
|
|
2818
|
+
showPasswordButton: Zn,
|
|
2819
|
+
forgotPassButton: Hn
|
|
2820
|
+
};
|
|
2821
|
+
var Kn = (n) => n.type === "checkbox", Un = (n) => n instanceof Date, pt = (n) => n == null;
|
|
2822
|
+
const Gn = (n) => typeof n == "object";
|
|
2823
|
+
var re = (n) => !pt(n) && !Array.isArray(n) && Gn(n) && !Un(n), Yn = (n) => re(n) && n.target ? Kn(n.target) ? n.target.checked : n.target.value : n, Wn = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, Qn = (n, d) => n.has(Wn(d)), Xn = (n) => {
|
|
2805
2824
|
const d = n.constructor && n.constructor.prototype;
|
|
2806
2825
|
return re(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2807
|
-
},
|
|
2826
|
+
}, Jn = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2808
2827
|
function mt(n) {
|
|
2809
2828
|
let d;
|
|
2810
2829
|
const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2811
2830
|
if (n instanceof Date)
|
|
2812
2831
|
d = new Date(n);
|
|
2813
|
-
else if (!(
|
|
2814
|
-
if (d = o ? [] : {}, !o && !
|
|
2832
|
+
else if (!(Jn && (n instanceof Blob || i)) && (o || re(n)))
|
|
2833
|
+
if (d = o ? [] : {}, !o && !Xn(n))
|
|
2815
2834
|
d = n;
|
|
2816
2835
|
else
|
|
2817
2836
|
for (const t in n)
|
|
@@ -2820,12 +2839,12 @@ function mt(n) {
|
|
|
2820
2839
|
return n;
|
|
2821
2840
|
return d;
|
|
2822
2841
|
}
|
|
2823
|
-
var ht = (n) => /^\w*$/.test(n), Te = (n) => n === void 0,
|
|
2842
|
+
var ht = (n) => /^\w*$/.test(n), Te = (n) => n === void 0, e1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], gt = (n) => e1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), A = (n, d, o) => {
|
|
2824
2843
|
if (!d || !re(n))
|
|
2825
2844
|
return o;
|
|
2826
2845
|
const i = (ht(d) ? [d] : gt(d)).reduce((t, r) => pt(t) ? t : t[r], n);
|
|
2827
2846
|
return Te(i) || i === n ? Te(n[d]) ? o : n[d] : i;
|
|
2828
|
-
},
|
|
2847
|
+
}, Ne = (n) => typeof n == "boolean", We = (n, d, o) => {
|
|
2829
2848
|
let i = -1;
|
|
2830
2849
|
const t = ht(d) ? [d] : gt(d), r = t.length, l = r - 1;
|
|
2831
2850
|
for (; ++i < r; ) {
|
|
@@ -2848,7 +2867,7 @@ const Qe = {
|
|
|
2848
2867
|
}, Ct = B.createContext(null);
|
|
2849
2868
|
Ct.displayName = "HookFormContext";
|
|
2850
2869
|
const Re = () => B.useContext(Ct);
|
|
2851
|
-
var
|
|
2870
|
+
var t1 = (n, d, o, i = !0) => {
|
|
2852
2871
|
const t = {
|
|
2853
2872
|
defaultValues: d._defaultValues
|
|
2854
2873
|
};
|
|
@@ -2862,7 +2881,7 @@ var Jn = (n, d, o, i = !0) => {
|
|
|
2862
2881
|
return t;
|
|
2863
2882
|
};
|
|
2864
2883
|
const ft = typeof window < "u" ? te.useLayoutEffect : te.useEffect;
|
|
2865
|
-
function
|
|
2884
|
+
function n1(n) {
|
|
2866
2885
|
const d = Re(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [l, a] = B.useState(o._formState), c = B.useRef({
|
|
2867
2886
|
isDirty: !1,
|
|
2868
2887
|
isLoading: !1,
|
|
@@ -2885,10 +2904,10 @@ function e1(n) {
|
|
|
2885
2904
|
}
|
|
2886
2905
|
}), [t, i, r]), B.useEffect(() => {
|
|
2887
2906
|
c.current.isValid && o._setValid(!0);
|
|
2888
|
-
}, [o]), B.useMemo(() =>
|
|
2907
|
+
}, [o]), B.useMemo(() => t1(l, o, c.current, !1), [l, o]);
|
|
2889
2908
|
}
|
|
2890
|
-
var
|
|
2891
|
-
function
|
|
2909
|
+
var i1 = (n) => typeof n == "string", o1 = (n, d, o, i, t) => i1(n) ? A(o, n, t) : Array.isArray(n) ? n.map((r) => A(o, r)) : o;
|
|
2910
|
+
function s1(n) {
|
|
2892
2911
|
const d = Re(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: l } = n || {}, a = B.useRef(t), [c, u] = B.useState(o._getWatch(i, a.current));
|
|
2893
2912
|
return ft(() => o._subscribe({
|
|
2894
2913
|
name: i,
|
|
@@ -2896,24 +2915,24 @@ function i1(n) {
|
|
|
2896
2915
|
values: !0
|
|
2897
2916
|
},
|
|
2898
2917
|
exact: l,
|
|
2899
|
-
callback: (
|
|
2918
|
+
callback: (C) => !r && u(o1(i, o._names, C.values || o._formValues, !1, a.current))
|
|
2900
2919
|
}), [i, o, r, l]), B.useEffect(() => o._removeUnmounted()), c;
|
|
2901
2920
|
}
|
|
2902
|
-
function
|
|
2903
|
-
const d = Re(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l =
|
|
2921
|
+
function r1(n) {
|
|
2922
|
+
const d = Re(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = Qn(t._names.array, o), a = s1({
|
|
2904
2923
|
control: t,
|
|
2905
2924
|
name: o,
|
|
2906
2925
|
defaultValue: A(t._formValues, o, A(t._defaultValues, o, n.defaultValue)),
|
|
2907
2926
|
exact: !0
|
|
2908
|
-
}), c =
|
|
2927
|
+
}), c = n1({
|
|
2909
2928
|
control: t,
|
|
2910
2929
|
name: o,
|
|
2911
2930
|
exact: !0
|
|
2912
|
-
}), u = B.useRef(n),
|
|
2931
|
+
}), u = B.useRef(n), C = B.useRef(t.register(o, {
|
|
2913
2932
|
...n.rules,
|
|
2914
2933
|
value: a,
|
|
2915
|
-
...
|
|
2916
|
-
})),
|
|
2934
|
+
...Ne(n.disabled) ? { disabled: n.disabled } : {}
|
|
2935
|
+
})), m = B.useMemo(() => Object.defineProperties({}, {
|
|
2917
2936
|
invalid: {
|
|
2918
2937
|
enumerable: !0,
|
|
2919
2938
|
get: () => !!A(c.errors, o)
|
|
@@ -2934,21 +2953,21 @@ function o1(n) {
|
|
|
2934
2953
|
enumerable: !0,
|
|
2935
2954
|
get: () => A(c.errors, o)
|
|
2936
2955
|
}
|
|
2937
|
-
}), [c, o]),
|
|
2956
|
+
}), [c, o]), b = B.useCallback((p) => C.current.onChange({
|
|
2938
2957
|
target: {
|
|
2939
|
-
value:
|
|
2958
|
+
value: Yn(p),
|
|
2940
2959
|
name: o
|
|
2941
2960
|
},
|
|
2942
2961
|
type: Qe.CHANGE
|
|
2943
|
-
}), [o]),
|
|
2962
|
+
}), [o]), g = B.useCallback(() => C.current.onBlur({
|
|
2944
2963
|
target: {
|
|
2945
2964
|
value: A(t._formValues, o),
|
|
2946
2965
|
name: o
|
|
2947
2966
|
},
|
|
2948
2967
|
type: Qe.BLUR
|
|
2949
2968
|
}), [o, t._formValues]), f = B.useCallback((p) => {
|
|
2950
|
-
const
|
|
2951
|
-
|
|
2969
|
+
const y = A(t._fields, o);
|
|
2970
|
+
y && p && (y._f.ref = {
|
|
2952
2971
|
focus: () => p.focus && p.focus(),
|
|
2953
2972
|
select: () => p.select && p.select(),
|
|
2954
2973
|
setCustomValidity: (v) => p.setCustomValidity(v),
|
|
@@ -2957,27 +2976,27 @@ function o1(n) {
|
|
|
2957
2976
|
}, [t._fields, o]), _ = B.useMemo(() => ({
|
|
2958
2977
|
name: o,
|
|
2959
2978
|
value: a,
|
|
2960
|
-
...
|
|
2961
|
-
onChange:
|
|
2962
|
-
onBlur:
|
|
2979
|
+
...Ne(i) || c.disabled ? { disabled: c.disabled || i } : {},
|
|
2980
|
+
onChange: b,
|
|
2981
|
+
onBlur: g,
|
|
2963
2982
|
ref: f
|
|
2964
|
-
}), [o, i, c.disabled,
|
|
2983
|
+
}), [o, i, c.disabled, b, g, f, a]);
|
|
2965
2984
|
return B.useEffect(() => {
|
|
2966
2985
|
const p = t._options.shouldUnregister || r;
|
|
2967
2986
|
t.register(o, {
|
|
2968
2987
|
...u.current.rules,
|
|
2969
|
-
...
|
|
2988
|
+
...Ne(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2970
2989
|
});
|
|
2971
|
-
const
|
|
2990
|
+
const y = (v, x) => {
|
|
2972
2991
|
const w = A(t._fields, v);
|
|
2973
2992
|
w && w._f && (w._f.mount = x);
|
|
2974
2993
|
};
|
|
2975
|
-
if (
|
|
2994
|
+
if (y(o, !0), p) {
|
|
2976
2995
|
const v = mt(A(t._options.defaultValues, o));
|
|
2977
2996
|
We(t._defaultValues, o, v), Te(A(t._formValues, o)) && We(t._formValues, o, v);
|
|
2978
2997
|
}
|
|
2979
2998
|
return !l && t.register(o), () => {
|
|
2980
|
-
(l ? p && !t._state.action : p) ? t.unregister(o) :
|
|
2999
|
+
(l ? p && !t._state.action : p) ? t.unregister(o) : y(o, !1);
|
|
2981
3000
|
};
|
|
2982
3001
|
}, [o, t, l, r]), B.useEffect(() => {
|
|
2983
3002
|
t._setDisabledField({
|
|
@@ -2987,21 +3006,21 @@ function o1(n) {
|
|
|
2987
3006
|
}, [i, o, t]), B.useMemo(() => ({
|
|
2988
3007
|
field: _,
|
|
2989
3008
|
formState: c,
|
|
2990
|
-
fieldState:
|
|
2991
|
-
}), [_, c,
|
|
3009
|
+
fieldState: m
|
|
3010
|
+
}), [_, c, m]);
|
|
2992
3011
|
}
|
|
2993
|
-
const Pe = (n) => n.render(
|
|
2994
|
-
errorMessage:
|
|
3012
|
+
const Pe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
3013
|
+
errorMessage: a1
|
|
2995
3014
|
}, Ce = ({
|
|
2996
3015
|
errorMessage: n,
|
|
2997
3016
|
errorColor: d = "red",
|
|
2998
3017
|
containerStyles: o
|
|
2999
3018
|
}) => {
|
|
3000
|
-
const { t: i } =
|
|
3019
|
+
const { t: i } = N();
|
|
3001
3020
|
return /* @__PURE__ */ s(
|
|
3002
3021
|
"div",
|
|
3003
3022
|
{
|
|
3004
|
-
className:
|
|
3023
|
+
className: l1.errorMessage,
|
|
3005
3024
|
style: { color: d, ...o },
|
|
3006
3025
|
children: n ? i(n) : ""
|
|
3007
3026
|
}
|
|
@@ -3016,42 +3035,42 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3016
3035
|
validateFunction: a,
|
|
3017
3036
|
placeholder: c,
|
|
3018
3037
|
errorColor: u = "red",
|
|
3019
|
-
width:
|
|
3020
|
-
onClickForgotPass:
|
|
3038
|
+
width: C = 325,
|
|
3039
|
+
onClickForgotPass: m = () => {
|
|
3021
3040
|
console.log("Click on forgot password");
|
|
3022
3041
|
},
|
|
3023
|
-
forgotPassLabel:
|
|
3024
|
-
} = n, { t:
|
|
3042
|
+
forgotPassLabel: b = "forgot-password"
|
|
3043
|
+
} = n, { t: g } = N(), [f, _] = D(!1), p = () => i ? i === "password" && f ? "text" : i : "text";
|
|
3025
3044
|
return /* @__PURE__ */ s(
|
|
3026
3045
|
Pe,
|
|
3027
3046
|
{
|
|
3028
3047
|
name: o,
|
|
3029
3048
|
control: d,
|
|
3030
3049
|
rules: {
|
|
3031
|
-
required: l ? `${
|
|
3050
|
+
required: l ? `${g(t)} ${g("errorMessages.required")}` : !1,
|
|
3032
3051
|
maxLength: r || void 0,
|
|
3033
3052
|
validate: a || void 0
|
|
3034
3053
|
},
|
|
3035
|
-
render: ({ field:
|
|
3054
|
+
render: ({ field: y, fieldState: v }) => {
|
|
3036
3055
|
var x;
|
|
3037
|
-
return /* @__PURE__ */
|
|
3038
|
-
/* @__PURE__ */
|
|
3039
|
-
|
|
3056
|
+
return /* @__PURE__ */ h("div", { className: oe.textInputContainer, children: [
|
|
3057
|
+
/* @__PURE__ */ h("h3", { className: oe.labelContainer, children: [
|
|
3058
|
+
g(t),
|
|
3040
3059
|
" ",
|
|
3041
3060
|
l && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
|
|
3042
3061
|
] }),
|
|
3043
|
-
/* @__PURE__ */
|
|
3062
|
+
/* @__PURE__ */ h(
|
|
3044
3063
|
"div",
|
|
3045
3064
|
{
|
|
3046
|
-
style: { position: "relative", width:
|
|
3065
|
+
style: { position: "relative", width: C },
|
|
3047
3066
|
className: oe.inputContainer,
|
|
3048
3067
|
children: [
|
|
3049
3068
|
/* @__PURE__ */ s(
|
|
3050
3069
|
"input",
|
|
3051
3070
|
{
|
|
3052
3071
|
type: p(),
|
|
3053
|
-
...
|
|
3054
|
-
placeholder: c ?
|
|
3072
|
+
...y,
|
|
3073
|
+
placeholder: c ? g(c) : "",
|
|
3055
3074
|
maxLength: r || void 0
|
|
3056
3075
|
}
|
|
3057
3076
|
),
|
|
@@ -3067,7 +3086,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3067
3086
|
]
|
|
3068
3087
|
}
|
|
3069
3088
|
),
|
|
3070
|
-
i == "password" && /* @__PURE__ */ s("div", { className: oe.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick:
|
|
3089
|
+
i == "password" && /* @__PURE__ */ s("div", { className: oe.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: m, children: g(b) }) }),
|
|
3071
3090
|
/* @__PURE__ */ s(
|
|
3072
3091
|
Ce,
|
|
3073
3092
|
{
|
|
@@ -3079,20 +3098,20 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3079
3098
|
}
|
|
3080
3099
|
}
|
|
3081
3100
|
);
|
|
3082
|
-
},
|
|
3083
|
-
formContainer:
|
|
3084
|
-
formObjectContainer:
|
|
3085
|
-
buttonContainer:
|
|
3086
|
-
},
|
|
3087
|
-
inputsContainer:
|
|
3088
|
-
},
|
|
3089
|
-
selectInputContainer:
|
|
3090
|
-
labelContainer:
|
|
3091
|
-
inputContainer:
|
|
3092
|
-
selectInput:
|
|
3093
|
-
option:
|
|
3094
|
-
dropdownArrow:
|
|
3095
|
-
},
|
|
3101
|
+
}, c1 = "_formContainer_b071f_2", d1 = "_formObjectContainer_b071f_11", u1 = "_buttonContainer_b071f_22", ke = {
|
|
3102
|
+
formContainer: c1,
|
|
3103
|
+
formObjectContainer: d1,
|
|
3104
|
+
buttonContainer: u1
|
|
3105
|
+
}, p1 = "_inputsContainer_10t9s_2", se = {
|
|
3106
|
+
inputsContainer: p1
|
|
3107
|
+
}, m1 = "_selectInputContainer_1rj0h_2", h1 = "_labelContainer_1rj0h_6", g1 = "_inputContainer_1rj0h_9", C1 = "_selectInput_1rj0h_2", f1 = "_option_1rj0h_23", b1 = "_dropdownArrow_1rj0h_26", ee = {
|
|
3108
|
+
selectInputContainer: m1,
|
|
3109
|
+
labelContainer: h1,
|
|
3110
|
+
inputContainer: g1,
|
|
3111
|
+
selectInput: C1,
|
|
3112
|
+
option: f1,
|
|
3113
|
+
dropdownArrow: b1
|
|
3114
|
+
}, y1 = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", _1 = ({ input: n, control: d }) => {
|
|
3096
3115
|
const {
|
|
3097
3116
|
code: o,
|
|
3098
3117
|
type: i,
|
|
@@ -3102,46 +3121,46 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3102
3121
|
validateFunction: a,
|
|
3103
3122
|
placeholder: c,
|
|
3104
3123
|
errorColor: u = "red",
|
|
3105
|
-
width:
|
|
3106
|
-
options:
|
|
3107
|
-
} = n, { t:
|
|
3124
|
+
width: C = 325,
|
|
3125
|
+
options: m = []
|
|
3126
|
+
} = n, { t: b } = N();
|
|
3108
3127
|
return /* @__PURE__ */ s(
|
|
3109
3128
|
Pe,
|
|
3110
3129
|
{
|
|
3111
3130
|
name: o,
|
|
3112
3131
|
control: d,
|
|
3113
3132
|
rules: {
|
|
3114
|
-
required: l ? `${
|
|
3133
|
+
required: l ? `${b(t)} ${b("errorMessages.required")}` : !1,
|
|
3115
3134
|
validate: a || void 0
|
|
3116
3135
|
},
|
|
3117
|
-
render: ({ field:
|
|
3136
|
+
render: ({ field: g, fieldState: f }) => {
|
|
3118
3137
|
var _;
|
|
3119
|
-
return /* @__PURE__ */
|
|
3120
|
-
/* @__PURE__ */
|
|
3121
|
-
|
|
3138
|
+
return /* @__PURE__ */ h("div", { className: ee.selectInputContainer, children: [
|
|
3139
|
+
/* @__PURE__ */ h("h3", { className: ee.labelContainer, children: [
|
|
3140
|
+
b(t),
|
|
3122
3141
|
" ",
|
|
3123
3142
|
l && /* @__PURE__ */ s("label", { style: { color: f.error ? u : "" }, children: "*" })
|
|
3124
3143
|
] }),
|
|
3125
|
-
/* @__PURE__ */
|
|
3126
|
-
/* @__PURE__ */
|
|
3144
|
+
/* @__PURE__ */ h("div", { className: ee.inputContainer, style: { width: C }, children: [
|
|
3145
|
+
/* @__PURE__ */ h(
|
|
3127
3146
|
"select",
|
|
3128
3147
|
{
|
|
3129
|
-
...
|
|
3148
|
+
...g,
|
|
3130
3149
|
onChange: (p) => {
|
|
3131
|
-
const
|
|
3132
|
-
|
|
3150
|
+
const y = p.target.value, v = m.every((x) => typeof x.value == "number") ? Number(y) : y;
|
|
3151
|
+
g.onChange(v);
|
|
3133
3152
|
},
|
|
3134
3153
|
className: ee.selectInput,
|
|
3135
3154
|
children: [
|
|
3136
|
-
/* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3137
|
-
|
|
3155
|
+
/* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: b(c || "selectOption") }),
|
|
3156
|
+
m.map((p, y) => /* @__PURE__ */ s(
|
|
3138
3157
|
"option",
|
|
3139
3158
|
{
|
|
3140
3159
|
value: p.value,
|
|
3141
3160
|
className: ee.option,
|
|
3142
|
-
children:
|
|
3161
|
+
children: b(p.label)
|
|
3143
3162
|
},
|
|
3144
|
-
|
|
3163
|
+
y
|
|
3145
3164
|
))
|
|
3146
3165
|
]
|
|
3147
3166
|
}
|
|
@@ -3149,7 +3168,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3149
3168
|
/* @__PURE__ */ s(
|
|
3150
3169
|
"img",
|
|
3151
3170
|
{
|
|
3152
|
-
src:
|
|
3171
|
+
src: y1,
|
|
3153
3172
|
alt: "Open",
|
|
3154
3173
|
className: ee.dropdownArrow
|
|
3155
3174
|
}
|
|
@@ -3166,15 +3185,15 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3166
3185
|
}
|
|
3167
3186
|
}
|
|
3168
3187
|
);
|
|
3169
|
-
},
|
|
3170
|
-
radioButtonContainer:
|
|
3171
|
-
wholeInputContainer:
|
|
3172
|
-
questionContainer:
|
|
3173
|
-
radioQuestion:
|
|
3174
|
-
inputContainer:
|
|
3175
|
-
required:
|
|
3176
|
-
radioInput:
|
|
3177
|
-
},
|
|
3188
|
+
}, v1 = "_radioButtonContainer_3bp8g_2", w1 = "_wholeInputContainer_3bp8g_5", x1 = "_questionContainer_3bp8g_27", N1 = "_radioQuestion_3bp8g_59", k1 = "_inputContainer_3bp8g_63", B1 = "_required_3bp8g_92", S1 = "_radioInput_3bp8g_109", U = {
|
|
3189
|
+
radioButtonContainer: v1,
|
|
3190
|
+
wholeInputContainer: w1,
|
|
3191
|
+
questionContainer: x1,
|
|
3192
|
+
radioQuestion: N1,
|
|
3193
|
+
inputContainer: k1,
|
|
3194
|
+
required: B1,
|
|
3195
|
+
radioInput: S1
|
|
3196
|
+
}, D1 = ({ input: n, control: d }) => {
|
|
3178
3197
|
const {
|
|
3179
3198
|
code: o,
|
|
3180
3199
|
type: i,
|
|
@@ -3184,16 +3203,16 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3184
3203
|
validateFunction: a,
|
|
3185
3204
|
placeholder: c,
|
|
3186
3205
|
errorColor: u = "red",
|
|
3187
|
-
width:
|
|
3188
|
-
options:
|
|
3189
|
-
multi:
|
|
3190
|
-
} = n, { t:
|
|
3191
|
-
if (
|
|
3206
|
+
width: C = 325,
|
|
3207
|
+
options: m = [],
|
|
3208
|
+
multi: b = !1
|
|
3209
|
+
} = n, { t: g } = N(), f = ({ options: p, onChange: y, actualValue: v }) => {
|
|
3210
|
+
if (b && v && v.length > 0) {
|
|
3192
3211
|
let x = v.filter((w) => w !== p);
|
|
3193
|
-
|
|
3212
|
+
y(x);
|
|
3194
3213
|
}
|
|
3195
|
-
}, _ = ({ options: p, onChange:
|
|
3196
|
-
|
|
3214
|
+
}, _ = ({ options: p, onChange: y, actualValue: v }) => {
|
|
3215
|
+
b ? v && v.length > 0 ? y([...v, p]) : y([p]) : y(p);
|
|
3197
3216
|
};
|
|
3198
3217
|
return /* @__PURE__ */ s(
|
|
3199
3218
|
Pe,
|
|
@@ -3201,48 +3220,48 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3201
3220
|
control: d,
|
|
3202
3221
|
name: o,
|
|
3203
3222
|
rules: {
|
|
3204
|
-
validate: (p) => l && (p == null || p === "") ? `${
|
|
3223
|
+
validate: (p) => l && (p == null || p === "") ? `${g(t)} ${g("errorMessages.required")}` : null
|
|
3205
3224
|
},
|
|
3206
3225
|
render: ({
|
|
3207
3226
|
formState: { errors: p },
|
|
3208
|
-
field: { onChange:
|
|
3209
|
-
fieldState:
|
|
3227
|
+
field: { onChange: y, onBlur: v, value: x, ref: w },
|
|
3228
|
+
fieldState: k
|
|
3210
3229
|
}) => {
|
|
3211
3230
|
var L;
|
|
3212
|
-
return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */
|
|
3231
|
+
return /* @__PURE__ */ s("div", { id: o + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ h("div", { className: U.wholeInputContainer, children: [
|
|
3213
3232
|
t && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ s(
|
|
3214
3233
|
"h3",
|
|
3215
3234
|
{
|
|
3216
3235
|
htmlFor: o + "id",
|
|
3217
3236
|
className: `${U.radioQuestion} ${l && U.required}`,
|
|
3218
|
-
children:
|
|
3237
|
+
children: g(t)
|
|
3219
3238
|
}
|
|
3220
3239
|
) }),
|
|
3221
|
-
/* @__PURE__ */
|
|
3222
|
-
|
|
3240
|
+
/* @__PURE__ */ h("div", { className: U.inputContainer, children: [
|
|
3241
|
+
m.map(
|
|
3223
3242
|
({
|
|
3224
3243
|
label: F,
|
|
3225
|
-
value:
|
|
3244
|
+
value: q,
|
|
3226
3245
|
disabled: ae = !1,
|
|
3227
3246
|
italicLabel: le
|
|
3228
3247
|
}, R) => {
|
|
3229
|
-
const P = x &&
|
|
3230
|
-
return /* @__PURE__ */
|
|
3248
|
+
const P = x && b ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === q) : x === q;
|
|
3249
|
+
return /* @__PURE__ */ h("label", { children: [
|
|
3231
3250
|
/* @__PURE__ */ s(
|
|
3232
3251
|
"input",
|
|
3233
3252
|
{
|
|
3234
3253
|
type: "radio",
|
|
3235
3254
|
checked: P,
|
|
3236
3255
|
onChange: () => {
|
|
3237
|
-
|
|
3256
|
+
b ? P ? f({
|
|
3238
3257
|
actualValue: x,
|
|
3239
|
-
options:
|
|
3240
|
-
onChange:
|
|
3258
|
+
options: m,
|
|
3259
|
+
onChange: y
|
|
3241
3260
|
}) : _({
|
|
3242
3261
|
actualValue: x,
|
|
3243
|
-
options:
|
|
3244
|
-
onChange:
|
|
3245
|
-
}) :
|
|
3262
|
+
options: m,
|
|
3263
|
+
onChange: y
|
|
3264
|
+
}) : y(q);
|
|
3246
3265
|
},
|
|
3247
3266
|
className: U.radioInput
|
|
3248
3267
|
}
|
|
@@ -3255,7 +3274,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3255
3274
|
/* @__PURE__ */ s(
|
|
3256
3275
|
Ce,
|
|
3257
3276
|
{
|
|
3258
|
-
errorMessage: (L =
|
|
3277
|
+
errorMessage: (L = k.error) == null ? void 0 : L.message,
|
|
3259
3278
|
errorColor: u
|
|
3260
3279
|
}
|
|
3261
3280
|
)
|
|
@@ -3268,7 +3287,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3268
3287
|
const { inputType: r } = i;
|
|
3269
3288
|
switch (r) {
|
|
3270
3289
|
case pe.text:
|
|
3271
|
-
const { code: l, type: a, label: c, maxLength: u, required:
|
|
3290
|
+
const { code: l, type: a, label: c, maxLength: u, required: C, validateFunction: m } = i;
|
|
3272
3291
|
return /* @__PURE__ */ s(
|
|
3273
3292
|
"div",
|
|
3274
3293
|
{
|
|
@@ -3292,7 +3311,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3292
3311
|
{
|
|
3293
3312
|
className: se.inputContainer,
|
|
3294
3313
|
style: { ...o },
|
|
3295
|
-
children: /* @__PURE__ */ s(
|
|
3314
|
+
children: /* @__PURE__ */ s(_1, { input: i, control: d })
|
|
3296
3315
|
}
|
|
3297
3316
|
);
|
|
3298
3317
|
case pe.radioList:
|
|
@@ -3301,13 +3320,13 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3301
3320
|
{
|
|
3302
3321
|
className: se.inputContainer,
|
|
3303
3322
|
style: { ...o },
|
|
3304
|
-
children: /* @__PURE__ */ s(
|
|
3323
|
+
children: /* @__PURE__ */ s(D1, { input: i, control: d })
|
|
3305
3324
|
}
|
|
3306
3325
|
);
|
|
3307
3326
|
default:
|
|
3308
3327
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3309
3328
|
}
|
|
3310
|
-
}) }),
|
|
3329
|
+
}) }), di = ({
|
|
3311
3330
|
reactHookFormInstance: n,
|
|
3312
3331
|
formObject: d,
|
|
3313
3332
|
//Component with {title, children} as props.
|
|
@@ -3321,19 +3340,19 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3321
3340
|
submitButtonStyles: a = { width: 325 },
|
|
3322
3341
|
activeCategory: c = null,
|
|
3323
3342
|
// If provided, only the category with this categoryId will be displayed.
|
|
3324
|
-
onSubmit: u = (
|
|
3343
|
+
onSubmit: u = (C) => console.log("Form submitted with data: ", C)
|
|
3325
3344
|
}) => {
|
|
3326
3345
|
const {
|
|
3327
|
-
register:
|
|
3328
|
-
handleSubmit:
|
|
3329
|
-
watch:
|
|
3330
|
-
control:
|
|
3346
|
+
register: C,
|
|
3347
|
+
handleSubmit: m,
|
|
3348
|
+
watch: b,
|
|
3349
|
+
control: g,
|
|
3331
3350
|
formState: { errors: f }
|
|
3332
|
-
} = n, { t: _ } =
|
|
3351
|
+
} = n, { t: _ } = N();
|
|
3333
3352
|
return (
|
|
3334
3353
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3335
|
-
/* @__PURE__ */
|
|
3336
|
-
/* @__PURE__ */ s("div", { className:
|
|
3354
|
+
/* @__PURE__ */ h("form", { className: ke.formContainer, onSubmit: m(u), children: [
|
|
3355
|
+
/* @__PURE__ */ s("div", { className: ke.formObjectContainer, children: d && d.map((p, y) => {
|
|
3337
3356
|
const { inputs: v } = p;
|
|
3338
3357
|
return p.category ? o ? /* @__PURE__ */ s(
|
|
3339
3358
|
"div",
|
|
@@ -3350,16 +3369,16 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3350
3369
|
Be,
|
|
3351
3370
|
{
|
|
3352
3371
|
inputs: v,
|
|
3353
|
-
control:
|
|
3372
|
+
control: g,
|
|
3354
3373
|
inputContainerStyles: i,
|
|
3355
3374
|
errorColor: r
|
|
3356
3375
|
}
|
|
3357
3376
|
)
|
|
3358
3377
|
},
|
|
3359
|
-
`${p.category}${
|
|
3378
|
+
`${p.category}${y}`
|
|
3360
3379
|
)
|
|
3361
3380
|
}
|
|
3362
|
-
) : /* @__PURE__ */
|
|
3381
|
+
) : /* @__PURE__ */ h(
|
|
3363
3382
|
"div",
|
|
3364
3383
|
{
|
|
3365
3384
|
style: {
|
|
@@ -3373,37 +3392,37 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3373
3392
|
Be,
|
|
3374
3393
|
{
|
|
3375
3394
|
inputs: v,
|
|
3376
|
-
control:
|
|
3395
|
+
control: g,
|
|
3377
3396
|
inputContainerStyles: i,
|
|
3378
3397
|
errorColor: r
|
|
3379
3398
|
}
|
|
3380
3399
|
) })
|
|
3381
3400
|
]
|
|
3382
3401
|
},
|
|
3383
|
-
`${p.category}${
|
|
3402
|
+
`${p.category}${y}`
|
|
3384
3403
|
) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3385
3404
|
Be,
|
|
3386
3405
|
{
|
|
3387
3406
|
inputContainerStyles: i,
|
|
3388
3407
|
inputs: v,
|
|
3389
|
-
control:
|
|
3408
|
+
control: g,
|
|
3390
3409
|
errorColor: r
|
|
3391
3410
|
}
|
|
3392
|
-
) }, `inputKey${
|
|
3411
|
+
) }, `inputKey${y}`);
|
|
3393
3412
|
}) }),
|
|
3394
|
-
/* @__PURE__ */
|
|
3413
|
+
/* @__PURE__ */ h("div", { className: ke.buttonContainer, children: [
|
|
3395
3414
|
/* @__PURE__ */ s(ge, { containerStyles: a, type: "submit", children: _(l) }),
|
|
3396
3415
|
/* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
|
|
3397
3416
|
] })
|
|
3398
3417
|
] })
|
|
3399
3418
|
);
|
|
3400
|
-
},
|
|
3401
|
-
header:
|
|
3402
|
-
leftComponents:
|
|
3403
|
-
centerComponents:
|
|
3404
|
-
rightComponents:
|
|
3405
|
-
componentsContainer:
|
|
3406
|
-
},
|
|
3419
|
+
}, M1 = "_header_13kbt_2", L1 = "_leftComponents_13kbt_13", F1 = "_centerComponents_13kbt_14", T1 = "_rightComponents_13kbt_15", $1 = "_componentsContainer_13kbt_32", G = {
|
|
3420
|
+
header: M1,
|
|
3421
|
+
leftComponents: L1,
|
|
3422
|
+
centerComponents: F1,
|
|
3423
|
+
rightComponents: T1,
|
|
3424
|
+
componentsContainer: $1
|
|
3425
|
+
}, V1 = ({
|
|
3407
3426
|
cssProps: n,
|
|
3408
3427
|
leftComponents: d = [],
|
|
3409
3428
|
centerComponents: o = [],
|
|
@@ -3413,7 +3432,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3413
3432
|
backgroundColor: l = "#605B56",
|
|
3414
3433
|
isFooter: a = !1
|
|
3415
3434
|
// If true, it will apply footer styles
|
|
3416
|
-
}) => /* @__PURE__ */
|
|
3435
|
+
}) => /* @__PURE__ */ h(
|
|
3417
3436
|
"div",
|
|
3418
3437
|
{
|
|
3419
3438
|
className: G.header,
|
|
@@ -3432,7 +3451,7 @@ const Pe = (n) => n.render(o1(n)), s1 = "_errorMessage_1xiyb_2", r1 = {
|
|
|
3432
3451
|
]
|
|
3433
3452
|
}
|
|
3434
3453
|
);
|
|
3435
|
-
|
|
3454
|
+
V1.propTypes = {
|
|
3436
3455
|
leftComponents: e.arrayOf(e.node),
|
|
3437
3456
|
centerComponents: e.arrayOf(e.node),
|
|
3438
3457
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3442,12 +3461,12 @@ T1.propTypes = {
|
|
|
3442
3461
|
backgroundColor: e.string,
|
|
3443
3462
|
isFooter: e.bool
|
|
3444
3463
|
};
|
|
3445
|
-
const
|
|
3446
|
-
sidebar:
|
|
3447
|
-
open:
|
|
3448
|
-
content:
|
|
3449
|
-
closeButton:
|
|
3450
|
-
},
|
|
3464
|
+
const A1 = "_sidebar_pt7g1_2", I1 = "_open_pt7g1_16", O1 = "_content_pt7g1_20", R1 = "_closeButton_pt7g1_26", me = {
|
|
3465
|
+
sidebar: A1,
|
|
3466
|
+
open: I1,
|
|
3467
|
+
content: O1,
|
|
3468
|
+
closeButton: R1
|
|
3469
|
+
}, P1 = "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", E1 = ({
|
|
3451
3470
|
width: n = "300px",
|
|
3452
3471
|
children: d,
|
|
3453
3472
|
showRightBar: o,
|
|
@@ -3461,14 +3480,14 @@ const $1 = "_sidebar_pt7g1_2", V1 = "_open_pt7g1_16", A1 = "_content_pt7g1_20",
|
|
|
3461
3480
|
{
|
|
3462
3481
|
className: `${me.sidebar} ${o ? me.open : ""}`,
|
|
3463
3482
|
style: { width: o ? n : 0 },
|
|
3464
|
-
children: o && /* @__PURE__ */
|
|
3465
|
-
/* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src:
|
|
3483
|
+
children: o && /* @__PURE__ */ h("div", { className: me.content, children: [
|
|
3484
|
+
/* @__PURE__ */ s("button", { className: me.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: P1, alt: "Close Sidebar" }) }),
|
|
3466
3485
|
d
|
|
3467
3486
|
] })
|
|
3468
3487
|
}
|
|
3469
3488
|
);
|
|
3470
3489
|
};
|
|
3471
|
-
|
|
3490
|
+
E1.propTypes = {
|
|
3472
3491
|
width: e.string,
|
|
3473
3492
|
children: e.node,
|
|
3474
3493
|
showRightBar: e.bool,
|
|
@@ -3478,26 +3497,26 @@ export {
|
|
|
3478
3497
|
l2 as AmbitSelector,
|
|
3479
3498
|
_2 as ButtonsList,
|
|
3480
3499
|
W as DropdownList,
|
|
3481
|
-
|
|
3500
|
+
oi as EditAmbit,
|
|
3482
3501
|
Ce as ErrorMessage,
|
|
3483
3502
|
K2 as FiltersAmbit,
|
|
3484
|
-
|
|
3503
|
+
di as Form,
|
|
3485
3504
|
Q2 as Graphic,
|
|
3486
|
-
|
|
3505
|
+
V1 as HeaderSection,
|
|
3487
3506
|
g0 as IndicatorsList,
|
|
3488
3507
|
v0 as LangSelector,
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3508
|
+
O0 as Legend,
|
|
3509
|
+
En as ListSelector,
|
|
3510
|
+
Cn as LogInButton,
|
|
3511
|
+
P0 as LogoApp,
|
|
3512
|
+
q0 as MapboxMap,
|
|
3513
|
+
G0 as MaplibreMap,
|
|
3514
|
+
D1 as RadioButtonInput,
|
|
3515
|
+
E1 as RightSidebar,
|
|
3516
|
+
si as SectionBar,
|
|
3517
|
+
_1 as SelectInput,
|
|
3499
3518
|
Je as TextInput,
|
|
3500
|
-
|
|
3519
|
+
cn as TimeSlider,
|
|
3501
3520
|
Y as Tooltip,
|
|
3502
|
-
|
|
3521
|
+
mn as TopNavMenu
|
|
3503
3522
|
};
|