@tmf_ciclica/ciclicastorybook 1.1.104 → 1.1.107
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 -6
- package/dist/index.es.js +1091 -1304
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.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_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._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_qs4x9_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_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_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_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_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_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1yj0p_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;width:100%}._rankingSliderContainer_1yj0p_2 ._labelContainer_1yj0p_11{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15{width:100%;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._slider_1yj0p_19{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._thumb_1yj0p_25{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackLeft_1yj0p_35,._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackRight_1yj0p_40{height:6px;border-radius:9999px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 ._labelsText_1yj0p_60{color:#605b56}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._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_1fmjn_2{position:absolute;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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { jsxs as p, jsx as s, Fragment as
|
|
3
|
-
import * as
|
|
4
|
-
import B, { useState 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_qs4x9_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_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_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_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_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_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{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_1fmjn_2{position:absolute;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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as p, jsx as s, Fragment as De } from "react/jsx-runtime";
|
|
3
|
+
import * as te from "react";
|
|
4
|
+
import B, { useState as L, useEffect as $, useMemo as ae, useLayoutEffect as yt, useRef as ne } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as k, Trans as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName:
|
|
26
|
-
ambitDate:
|
|
27
|
-
buttonsContainer:
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, s2 = "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", r2 = "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", a2 = "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", l2 = "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", c2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", d2 = "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", it = ({
|
|
6
|
+
import { useTranslation as k, Trans as Ve } from "react-i18next";
|
|
7
|
+
import { motion as Ae } from "framer-motion";
|
|
8
|
+
import { create as _t } from "zustand";
|
|
9
|
+
import * as Ee from "d3";
|
|
10
|
+
import vt from "mapbox-gl";
|
|
11
|
+
import { useSelector as wt, useDispatch as xt } from "react-redux";
|
|
12
|
+
import Nt, { Source as kt, Layer as Bt, NavigationControl as St, Popup as Dt } from "react-map-gl/mapbox";
|
|
13
|
+
import be from "maplibre-gl";
|
|
14
|
+
import { Protocol as Mt } from "pmtiles";
|
|
15
|
+
import Lt, { Source as $t, Layer as Ft, NavigationControl as Tt, Popup as Vt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as At } from "@reduxjs/toolkit";
|
|
17
|
+
import It from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Ot, Box as Rt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as qt } from "@emotion/react";
|
|
20
|
+
import { NavLink as Et } from "react-router-dom";
|
|
21
|
+
const Pt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateContainer_mcunf_23", Zt = "_ambitName_mcunf_39", Kt = "_ambitDate_mcunf_53", Ht = "_buttonsContainer_mcunf_67", Ut = "_ambitListContainer_mcunf_76", Gt = "_newAmbitButtonContainer_mcunf_80", j = {
|
|
22
|
+
ambitSelector: Pt,
|
|
23
|
+
header: zt,
|
|
24
|
+
nameDateContainer: jt,
|
|
25
|
+
ambitName: Zt,
|
|
26
|
+
ambitDate: Kt,
|
|
27
|
+
buttonsContainer: Ht,
|
|
28
|
+
ambitListContainer: Ut,
|
|
29
|
+
newAmbitButtonContainer: Gt
|
|
30
|
+
}, Yt = "_ambitItem_1qa6u_2", Wt = "_ambitNameDate_1qa6u_16", Qt = "_ambitName_1qa6u_16", Xt = "_ambitDate_1qa6u_35", Jt = "_ambitButtons_1qa6u_38", ie = {
|
|
31
|
+
ambitItem: Yt,
|
|
32
|
+
ambitNameDate: Wt,
|
|
33
|
+
ambitName: Qt,
|
|
34
|
+
ambitDate: Xt,
|
|
35
|
+
ambitButtons: Jt
|
|
36
|
+
}, e2 = "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", t2 = "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", n2 = "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", i2 = "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", o2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", s2 = "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", et = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: i,
|
|
@@ -44,37 +44,37 @@ const Ht = "_ambitSelector_mcunf_2", Ut = "_header_mcunf_13", Gt = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at: m, id:
|
|
47
|
+
const { nom: u, created_at: m, id: h, isBeingProcessed: _ } = n;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: ie.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className:
|
|
55
|
-
/* @__PURE__ */ p("div", { className:
|
|
54
|
+
/* @__PURE__ */ p("div", { className: ie.ambitNameDate, onClick: () => t(h), children: [
|
|
55
|
+
/* @__PURE__ */ p("div", { className: ie.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? o2 : s2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: ie.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ p("div", { className:
|
|
68
|
-
_ && /* @__PURE__ */ s("img", { src:
|
|
69
|
-
/* @__PURE__ */ s("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ s("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ s("button", { onClick: () => i(
|
|
67
|
+
/* @__PURE__ */ p("div", { className: ie.ambitButtons, children: [
|
|
68
|
+
_ && /* @__PURE__ */ s("img", { src: i2 }),
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(h), children: /* @__PURE__ */ s("img", { src: t2 }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => i(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
et.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
nom: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,20 +92,19 @@ it.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const Pe = "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
|
+
generalButton: r2
|
|
97
|
+
}, Ce = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: i = "#605B56",
|
|
101
101
|
borderColor: o = "#605B56",
|
|
102
102
|
type: t = "button",
|
|
103
|
-
containerStyles: r = {}
|
|
104
|
-
disabled: a = !1
|
|
103
|
+
containerStyles: r = {}
|
|
105
104
|
}) => /* @__PURE__ */ s(
|
|
106
105
|
"button",
|
|
107
106
|
{
|
|
108
|
-
className:
|
|
107
|
+
className: a2.generalButton,
|
|
109
108
|
style: {
|
|
110
109
|
color: i,
|
|
111
110
|
border: `1.5px solid ${o}`,
|
|
@@ -113,10 +112,9 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
113
112
|
},
|
|
114
113
|
onClick: d,
|
|
115
114
|
type: t,
|
|
116
|
-
disabled: a,
|
|
117
115
|
children: n
|
|
118
116
|
}
|
|
119
|
-
),
|
|
117
|
+
), l2 = ({
|
|
120
118
|
ambitList: n,
|
|
121
119
|
activeAmbitId: d,
|
|
122
120
|
fontColor: i = "#605B56",
|
|
@@ -127,75 +125,75 @@ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
127
125
|
buttonContainerStyles: l = {},
|
|
128
126
|
containerStyles: c = {},
|
|
129
127
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
130
|
-
onClickCopy: m = (
|
|
131
|
-
onCLickDelete:
|
|
132
|
-
onClickFilters: _ = (
|
|
133
|
-
onClickAmbit:
|
|
128
|
+
onClickCopy: m = (g) => console.log(`Copy ambit: ${g}`),
|
|
129
|
+
onCLickDelete: h = (g) => console.log(`Delete ambit: ${g}`),
|
|
130
|
+
onClickFilters: _ = (g) => console.log(`Filters clicked: ${g}`),
|
|
131
|
+
onClickAmbit: f = (g) => console.log(`OnCLickAmbit: ${g}`)
|
|
134
132
|
}) => {
|
|
135
|
-
const { t:
|
|
136
|
-
|
|
137
|
-
n &&
|
|
133
|
+
const { t: g } = k(), [y, C] = L(n);
|
|
134
|
+
$(() => {
|
|
135
|
+
n && C(n);
|
|
138
136
|
}, [n]);
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
141
|
-
let
|
|
142
|
-
|
|
137
|
+
const b = (w) => {
|
|
138
|
+
if (y && y.length > 0) {
|
|
139
|
+
let x = [...y];
|
|
140
|
+
x.sort((v, N) => v[w].localeCompare(N[w])), C(x);
|
|
143
141
|
}
|
|
144
142
|
};
|
|
145
143
|
return /* @__PURE__ */ p(
|
|
146
144
|
"div",
|
|
147
145
|
{
|
|
148
|
-
className:
|
|
146
|
+
className: j.ambitSelector,
|
|
149
147
|
style: { color: i, ...c },
|
|
150
148
|
children: [
|
|
151
149
|
/* @__PURE__ */ p(
|
|
152
150
|
"div",
|
|
153
151
|
{
|
|
154
|
-
className:
|
|
152
|
+
className: j.header,
|
|
155
153
|
style: { borderBottom: `1px solid ${i}` },
|
|
156
154
|
children: [
|
|
157
|
-
/* @__PURE__ */ p("div", { className:
|
|
158
|
-
/* @__PURE__ */ s("div", { className:
|
|
159
|
-
/* @__PURE__ */ s("span", { children:
|
|
160
|
-
/* @__PURE__ */ s("img", { src:
|
|
155
|
+
/* @__PURE__ */ p("div", { className: j.nameDateContainer, children: [
|
|
156
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
157
|
+
/* @__PURE__ */ s("span", { children: g(t) }),
|
|
158
|
+
/* @__PURE__ */ s("img", { src: Pe })
|
|
161
159
|
] }) }),
|
|
162
|
-
/* @__PURE__ */ s("div", { className:
|
|
163
|
-
/* @__PURE__ */ s("span", { children:
|
|
164
|
-
/* @__PURE__ */ s("img", { src:
|
|
160
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
161
|
+
/* @__PURE__ */ s("span", { children: g(r) }),
|
|
162
|
+
/* @__PURE__ */ s("img", { src: Pe })
|
|
165
163
|
] }) })
|
|
166
164
|
] }),
|
|
167
|
-
/* @__PURE__ */ s("div", { className:
|
|
165
|
+
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
168
166
|
]
|
|
169
167
|
}
|
|
170
168
|
),
|
|
171
|
-
/* @__PURE__ */ s("div", { className:
|
|
172
|
-
|
|
169
|
+
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children: y && y.length > 0 && y.map((w) => /* @__PURE__ */ s(
|
|
170
|
+
et,
|
|
173
171
|
{
|
|
174
|
-
isActive: d ==
|
|
175
|
-
ambit:
|
|
172
|
+
isActive: d == w.id,
|
|
173
|
+
ambit: w,
|
|
176
174
|
fontColor: i,
|
|
177
175
|
activeColor: o,
|
|
178
176
|
onClickCopy: m,
|
|
179
|
-
onClickDelete:
|
|
177
|
+
onClickDelete: h,
|
|
180
178
|
onClickFilters: _,
|
|
181
|
-
onClickAmbit:
|
|
179
|
+
onClickAmbit: f
|
|
182
180
|
},
|
|
183
|
-
`ambitKey${
|
|
181
|
+
`ambitKey${w.id}`
|
|
184
182
|
)) }),
|
|
185
|
-
/* @__PURE__ */ s("div", { className:
|
|
186
|
-
|
|
183
|
+
/* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
184
|
+
Ce,
|
|
187
185
|
{
|
|
188
186
|
style: { ...l },
|
|
189
187
|
onClick: u,
|
|
190
188
|
borderColor: "grey",
|
|
191
|
-
children:
|
|
189
|
+
children: g(a)
|
|
192
190
|
}
|
|
193
191
|
) })
|
|
194
192
|
]
|
|
195
193
|
}
|
|
196
194
|
);
|
|
197
195
|
};
|
|
198
|
-
|
|
196
|
+
l2.propTypes = {
|
|
199
197
|
ambitList: e.arrayOf(
|
|
200
198
|
e.shape({
|
|
201
199
|
name: e.string.isRequired,
|
|
@@ -217,28 +215,28 @@ m2.propTypes = {
|
|
|
217
215
|
containerStyles: e.object,
|
|
218
216
|
onCLickNewAmbit: e.func
|
|
219
217
|
};
|
|
220
|
-
const
|
|
221
|
-
buttonsContainer:
|
|
222
|
-
vertical:
|
|
223
|
-
horizontal:
|
|
224
|
-
button:
|
|
225
|
-
active:
|
|
226
|
-
buttonName:
|
|
227
|
-
},
|
|
228
|
-
left:
|
|
229
|
-
top:
|
|
230
|
-
bottom:
|
|
231
|
-
right:
|
|
232
|
-
},
|
|
218
|
+
const c2 = "_buttonsContainer_1audx_2", d2 = "_vertical_1audx_6", u2 = "_horizontal_1audx_9", p2 = "_button_1audx_2", m2 = "_active_1audx_25", h2 = "_buttonName_1audx_28", Z = {
|
|
219
|
+
buttonsContainer: c2,
|
|
220
|
+
vertical: d2,
|
|
221
|
+
horizontal: u2,
|
|
222
|
+
button: p2,
|
|
223
|
+
active: m2,
|
|
224
|
+
buttonName: h2
|
|
225
|
+
}, g2 = "_left_1l4m4_2", C2 = "_top_1l4m4_40", f2 = "_bottom_1l4m4_79", b2 = "_right_1l4m4_118", y2 = {
|
|
226
|
+
left: g2,
|
|
227
|
+
top: C2,
|
|
228
|
+
bottom: f2,
|
|
229
|
+
right: b2
|
|
230
|
+
}, Y = ({ text: n, position: d, styleCustom: i = null }) => {
|
|
233
231
|
const { t: o } = k();
|
|
234
|
-
return /* @__PURE__ */ s("div", { className: `tooltip ${
|
|
232
|
+
return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: i, children: o(n) });
|
|
235
233
|
};
|
|
236
|
-
|
|
234
|
+
Y.propTypes = {
|
|
237
235
|
text: e.string.isRequired,
|
|
238
236
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
237
|
styleCustom: e.object
|
|
240
238
|
};
|
|
241
|
-
const
|
|
239
|
+
const _2 = ({
|
|
242
240
|
buttons: n = [],
|
|
243
241
|
orientation: d = "horizontal",
|
|
244
242
|
showName: i = !0,
|
|
@@ -250,37 +248,37 @@ const k2 = ({
|
|
|
250
248
|
return /* @__PURE__ */ s(
|
|
251
249
|
"div",
|
|
252
250
|
{
|
|
253
|
-
className: `${
|
|
254
|
-
${d === "horizontal" &&
|
|
251
|
+
className: `${Z.buttonsContainer} ${d === "vertical" && Z.vertical}
|
|
252
|
+
${d === "horizontal" && Z.horizontal}`,
|
|
255
253
|
children: n.map((l, c) => {
|
|
256
254
|
const {
|
|
257
255
|
icon: u,
|
|
258
256
|
activeIcon: m,
|
|
259
|
-
isActive:
|
|
257
|
+
isActive: h,
|
|
260
258
|
name: _,
|
|
261
|
-
onClick:
|
|
262
|
-
} = l,
|
|
263
|
-
i && o === "left" && /* @__PURE__ */ s("span", { className:
|
|
264
|
-
/* @__PURE__ */ s("img", { src:
|
|
265
|
-
i && o === "right" && /* @__PURE__ */ s("span", { className:
|
|
259
|
+
onClick: f
|
|
260
|
+
} = l, g = /* @__PURE__ */ p(De, { children: [
|
|
261
|
+
i && o === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: a(_) }),
|
|
262
|
+
/* @__PURE__ */ s("img", { src: h ? m : u, alt: a(_) }),
|
|
263
|
+
i && o === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: a(_) })
|
|
266
264
|
] });
|
|
267
265
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
268
266
|
/* @__PURE__ */ s(
|
|
269
267
|
"button",
|
|
270
268
|
{
|
|
271
|
-
onClick:
|
|
272
|
-
className: `${
|
|
273
|
-
${
|
|
274
|
-
children:
|
|
269
|
+
onClick: f,
|
|
270
|
+
className: `${Z.button}
|
|
271
|
+
${h && Z.active}`,
|
|
272
|
+
children: g
|
|
275
273
|
}
|
|
276
274
|
),
|
|
277
|
-
t && /* @__PURE__ */ s(
|
|
275
|
+
t && /* @__PURE__ */ s(Y, { text: _, position: r })
|
|
278
276
|
] }, c);
|
|
279
277
|
})
|
|
280
278
|
}
|
|
281
279
|
);
|
|
282
280
|
};
|
|
283
|
-
|
|
281
|
+
_2.propTypes = {
|
|
284
282
|
buttons: e.arrayOf(
|
|
285
283
|
e.shape({
|
|
286
284
|
icon: e.node.isRequired,
|
|
@@ -297,10 +295,10 @@ k2.propTypes = {
|
|
|
297
295
|
useTooltip: e.bool,
|
|
298
296
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
299
297
|
};
|
|
300
|
-
const
|
|
301
|
-
indicatorsCategory:
|
|
302
|
-
title:
|
|
303
|
-
},
|
|
298
|
+
const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
|
|
299
|
+
indicatorsCategory: v2,
|
|
300
|
+
title: w2
|
|
301
|
+
}, W = ({
|
|
304
302
|
isOpen: n,
|
|
305
303
|
onClick: d,
|
|
306
304
|
children: i,
|
|
@@ -316,9 +314,9 @@ const B2 = "_indicatorsCategory_1cu33_2", S2 = "_title_1cu33_5", we = {
|
|
|
316
314
|
}) => {
|
|
317
315
|
const { t: m } = k();
|
|
318
316
|
return /* @__PURE__ */ p(
|
|
319
|
-
|
|
317
|
+
Ae.div,
|
|
320
318
|
{
|
|
321
|
-
className:
|
|
319
|
+
className: ye.indicatorsCategory,
|
|
322
320
|
initial: { height: `${a}px` },
|
|
323
321
|
animate: { height: n ? "auto" : `${a}px` },
|
|
324
322
|
transition: { duration: 0.4 },
|
|
@@ -335,7 +333,7 @@ const B2 = "_indicatorsCategory_1cu33_2", S2 = "_title_1cu33_5", we = {
|
|
|
335
333
|
...l,
|
|
336
334
|
marginBottom: u || "auto"
|
|
337
335
|
},
|
|
338
|
-
className: `${
|
|
336
|
+
className: `${ye.title}`,
|
|
339
337
|
onClick: d,
|
|
340
338
|
children: [
|
|
341
339
|
/* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
@@ -343,12 +341,12 @@ const B2 = "_indicatorsCategory_1cu33_2", S2 = "_title_1cu33_5", we = {
|
|
|
343
341
|
]
|
|
344
342
|
}
|
|
345
343
|
),
|
|
346
|
-
/* @__PURE__ */ s("div", { className:
|
|
344
|
+
/* @__PURE__ */ s("div", { className: ye.content, children: i })
|
|
347
345
|
]
|
|
348
346
|
}
|
|
349
347
|
);
|
|
350
348
|
};
|
|
351
|
-
|
|
349
|
+
W.propTypes = {
|
|
352
350
|
isOpen: e.bool,
|
|
353
351
|
onClick: e.func,
|
|
354
352
|
children: e.node,
|
|
@@ -359,39 +357,39 @@ ne.propTypes = {
|
|
|
359
357
|
showBottomBar: e.bool,
|
|
360
358
|
titleFontStyles: e.object
|
|
361
359
|
};
|
|
362
|
-
const
|
|
363
|
-
AppliedFiltersContainer:
|
|
364
|
-
AppliedFilterContent:
|
|
365
|
-
},
|
|
360
|
+
const ii = () => /* @__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", ze = {
|
|
361
|
+
AppliedFiltersContainer: N2,
|
|
362
|
+
AppliedFilterContent: k2
|
|
363
|
+
}, T = _t((n) => ({
|
|
366
364
|
activeCategory: "",
|
|
367
365
|
activeSubCategory: "",
|
|
368
366
|
selectedIndicator: "",
|
|
369
367
|
tematicalFiltersSelected: [],
|
|
370
368
|
fontColor: "#605B56",
|
|
371
369
|
inputsColor: "#605B56"
|
|
372
|
-
})),
|
|
373
|
-
const { t: a } = k(), { tematicalFiltersSelected: l } =
|
|
374
|
-
|
|
370
|
+
})), tt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
371
|
+
const { t: a } = k(), { tematicalFiltersSelected: l } = T((u) => u), c = (u) => {
|
|
372
|
+
T.setState((m) => ({
|
|
375
373
|
tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
|
|
376
|
-
(
|
|
374
|
+
(h) => h.code !== u
|
|
377
375
|
)
|
|
378
376
|
}));
|
|
379
377
|
};
|
|
380
378
|
return /* @__PURE__ */ s(
|
|
381
|
-
|
|
379
|
+
W,
|
|
382
380
|
{
|
|
383
381
|
isOpen: i,
|
|
384
382
|
onClick: d,
|
|
385
383
|
title: n ? a(n) : "Applied Filters",
|
|
386
384
|
activeColor: r,
|
|
387
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
385
|
+
children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: ze.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
388
386
|
a(u.name),
|
|
389
|
-
/* @__PURE__ */ s("img", { src:
|
|
387
|
+
/* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
390
388
|
] }, m)) })
|
|
391
389
|
}
|
|
392
390
|
);
|
|
393
391
|
};
|
|
394
|
-
|
|
392
|
+
tt.propTypes = {
|
|
395
393
|
isOpen: e.bool,
|
|
396
394
|
onClick: e.func,
|
|
397
395
|
title: e.string,
|
|
@@ -405,10 +403,10 @@ ot.propTypes = {
|
|
|
405
403
|
),
|
|
406
404
|
activeColor: e.string
|
|
407
405
|
};
|
|
408
|
-
const
|
|
409
|
-
const { t: a } = k(), { tematicalFiltersSelected: l } =
|
|
406
|
+
const nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
407
|
+
const { t: a } = k(), { tematicalFiltersSelected: l } = T((c) => c);
|
|
410
408
|
return /* @__PURE__ */ s(
|
|
411
|
-
|
|
409
|
+
W,
|
|
412
410
|
{
|
|
413
411
|
isOpen: i,
|
|
414
412
|
onClick: d,
|
|
@@ -418,7 +416,7 @@ const st = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", ba
|
|
|
418
416
|
}
|
|
419
417
|
);
|
|
420
418
|
};
|
|
421
|
-
|
|
419
|
+
nt.propTypes = {
|
|
422
420
|
isOpen: e.bool,
|
|
423
421
|
onClick: e.func,
|
|
424
422
|
title: e.string,
|
|
@@ -426,22 +424,22 @@ st.propTypes = {
|
|
|
426
424
|
backgroundColor: e.string,
|
|
427
425
|
activeColor: e.string
|
|
428
426
|
};
|
|
429
|
-
const
|
|
430
|
-
checkboxContainer:
|
|
431
|
-
},
|
|
427
|
+
const B2 = "_checkboxContainer_zld97_2", S2 = {
|
|
428
|
+
checkboxContainer: B2
|
|
429
|
+
}, it = ({
|
|
432
430
|
onClick: n,
|
|
433
431
|
containerStyles: d,
|
|
434
432
|
color: i = "#605B56",
|
|
435
433
|
indicator: o,
|
|
436
434
|
value: t
|
|
437
435
|
}) => {
|
|
438
|
-
const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } =
|
|
436
|
+
const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = T((u) => u);
|
|
439
437
|
return /* @__PURE__ */ p(
|
|
440
438
|
"div",
|
|
441
439
|
{
|
|
442
440
|
style: { ...d, color: i },
|
|
443
441
|
role: "checkbox",
|
|
444
|
-
className:
|
|
442
|
+
className: S2.checkboxContainer,
|
|
445
443
|
onClick: n,
|
|
446
444
|
children: [
|
|
447
445
|
/* @__PURE__ */ s(
|
|
@@ -462,7 +460,7 @@ const L2 = "_checkboxContainer_zld97_2", T2 = {
|
|
|
462
460
|
}
|
|
463
461
|
);
|
|
464
462
|
};
|
|
465
|
-
|
|
463
|
+
it.propTypes = {
|
|
466
464
|
onClick: e.func,
|
|
467
465
|
value: e.bool,
|
|
468
466
|
containerStyles: e.object,
|
|
@@ -473,40 +471,40 @@ rt.propTypes = {
|
|
|
473
471
|
}),
|
|
474
472
|
checkedColor: e.string
|
|
475
473
|
};
|
|
476
|
-
function
|
|
477
|
-
return
|
|
474
|
+
function Me(n, d) {
|
|
475
|
+
return Me = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
|
|
478
476
|
return i.__proto__ = o, i;
|
|
479
|
-
},
|
|
477
|
+
}, Me(n, d);
|
|
480
478
|
}
|
|
481
|
-
function
|
|
482
|
-
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, Me(n, d);
|
|
483
481
|
}
|
|
484
|
-
function
|
|
482
|
+
function _e(n) {
|
|
485
483
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
486
484
|
}
|
|
487
|
-
function
|
|
485
|
+
function ve(n) {
|
|
488
486
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
489
487
|
}
|
|
490
|
-
function
|
|
488
|
+
function ue(n) {
|
|
491
489
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
492
490
|
}
|
|
493
|
-
function
|
|
491
|
+
function pe(n) {
|
|
494
492
|
Object.keys(n).forEach((d) => {
|
|
495
493
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
496
494
|
});
|
|
497
495
|
}
|
|
498
|
-
function
|
|
499
|
-
return
|
|
496
|
+
function K(n, d) {
|
|
497
|
+
return Le(function(i, o) {
|
|
500
498
|
let t = i;
|
|
501
499
|
return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
|
|
502
500
|
}(n, d), d);
|
|
503
501
|
}
|
|
504
|
-
function
|
|
502
|
+
function Le(n, d) {
|
|
505
503
|
const i = (n - d.min) % d.step;
|
|
506
504
|
let o = n - i;
|
|
507
505
|
return 2 * Math.abs(i) >= d.step && (o += i > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
|
|
508
506
|
}
|
|
509
|
-
let
|
|
507
|
+
let $e = function(n) {
|
|
510
508
|
function d(o) {
|
|
511
509
|
var t;
|
|
512
510
|
(t = n.call(this, o) || this).onKeyUp = () => {
|
|
@@ -526,8 +524,8 @@ let Ae = function(n) {
|
|
|
526
524
|
t.setState({ pending: !0 });
|
|
527
525
|
const c = t.getTouchPosition(l);
|
|
528
526
|
if (t.isScrolling === void 0) {
|
|
529
|
-
const
|
|
530
|
-
t.isScrolling = Math.abs(_) > Math.abs(
|
|
527
|
+
const h = c[0] - t.startPosition[0], _ = c[1] - t.startPosition[1];
|
|
528
|
+
t.isScrolling = Math.abs(_) > Math.abs(h);
|
|
531
529
|
}
|
|
532
530
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
533
531
|
const u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
|
|
@@ -563,28 +561,28 @@ let Ae = function(n) {
|
|
|
563
561
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
564
562
|
const c = t.getMousePosition(l);
|
|
565
563
|
t.forceValueFromPosition(c[0], (u) => {
|
|
566
|
-
t.start(u, c[0]),
|
|
564
|
+
t.start(u, c[0]), pe(t.getMouseEventMap());
|
|
567
565
|
});
|
|
568
566
|
}
|
|
569
|
-
|
|
567
|
+
_e(l);
|
|
570
568
|
}
|
|
571
569
|
}, t.onSliderClick = (l) => {
|
|
572
570
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
573
|
-
const c = t.getMousePosition(l), u =
|
|
571
|
+
const c = t.getMousePosition(l), u = K(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
574
572
|
t.props.onSliderClick(u);
|
|
575
573
|
}
|
|
576
574
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
577
|
-
t.props.disabled || (t.start(l),
|
|
575
|
+
t.props.disabled || (t.start(l), pe(t.getKeyDownEventMap()), _e(c));
|
|
578
576
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
579
577
|
if (t.props.disabled || c.button === 2) return;
|
|
580
578
|
t.setState({ pending: !0 });
|
|
581
579
|
const u = t.getMousePosition(c);
|
|
582
|
-
t.start(l, u[0]),
|
|
580
|
+
t.start(l, u[0]), pe(t.getMouseEventMap()), _e(c);
|
|
583
581
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
584
582
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
585
583
|
t.setState({ pending: !0 });
|
|
586
584
|
const u = t.getTouchPosition(c);
|
|
587
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
585
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), pe(t.getTouchEventMap()), function(m) {
|
|
588
586
|
m.stopPropagation && m.stopPropagation();
|
|
589
587
|
}(c);
|
|
590
588
|
}, t.handleResize = () => {
|
|
@@ -595,25 +593,25 @@ let Ae = function(n) {
|
|
|
595
593
|
}, t.renderThumb = (l, c) => {
|
|
596
594
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (_) => {
|
|
597
595
|
t["thumb" + c] = _;
|
|
598
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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 },
|
|
599
|
-
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(
|
|
596
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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 }, h = { index: c, value: ue(t.state.value), valueNow: t.state.value[c] };
|
|
597
|
+
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(m, h);
|
|
600
598
|
}, t.renderTrack = (l, c, u) => {
|
|
601
|
-
const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) },
|
|
602
|
-
return t.props.renderTrack(m,
|
|
599
|
+
const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: l, value: ue(t.state.value) };
|
|
600
|
+
return t.props.renderTrack(m, h);
|
|
603
601
|
};
|
|
604
|
-
let r =
|
|
605
|
-
r.length || (r =
|
|
602
|
+
let r = ve(o.value);
|
|
603
|
+
r.length || (r = ve(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
606
604
|
const a = [];
|
|
607
|
-
for (let l = 0; l < r.length; l += 1) r[l] =
|
|
605
|
+
for (let l = 0; l < r.length; l += 1) r[l] = K(r[l], o), a.push(l);
|
|
608
606
|
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
609
607
|
}
|
|
610
|
-
|
|
608
|
+
D2(d, n);
|
|
611
609
|
var i = d.prototype;
|
|
612
610
|
return i.componentDidMount = function() {
|
|
613
611
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
614
612
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
615
|
-
const r =
|
|
616
|
-
return r.length ? t.pending ? null : { value: r.map((a) =>
|
|
613
|
+
const r = ve(o.value);
|
|
614
|
+
return r.length ? t.pending ? null : { value: r.map((a) => K(a, o)) } : null;
|
|
617
615
|
}, i.componentDidUpdate = function() {
|
|
618
616
|
this.state.upperBound === 0 && this.resize();
|
|
619
617
|
}, i.componentWillUnmount = function() {
|
|
@@ -625,7 +623,7 @@ let Ae = function(n) {
|
|
|
625
623
|
});
|
|
626
624
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
627
625
|
}, i.getValue = function() {
|
|
628
|
-
return
|
|
626
|
+
return ue(this.state.value);
|
|
629
627
|
}, i.getClosestIndex = function(o) {
|
|
630
628
|
let t = Number.MAX_VALUE, r = -1;
|
|
631
629
|
const { value: a } = this.state, l = a.length;
|
|
@@ -647,15 +645,15 @@ let Ae = function(n) {
|
|
|
647
645
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
648
646
|
}, i.getValueFromPosition = function(o) {
|
|
649
647
|
const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
650
|
-
return
|
|
648
|
+
return K(this.state.startValue + t, this.props);
|
|
651
649
|
}, i.getDiffPosition = function(o) {
|
|
652
650
|
let t = o - this.state.startPosition;
|
|
653
651
|
return this.props.invert && (t *= -1), t;
|
|
654
652
|
}, i.resize = function() {
|
|
655
653
|
const { slider: o, thumb0: t } = this;
|
|
656
654
|
if (!o || !t) return;
|
|
657
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()],
|
|
658
|
-
this.state.upperBound ===
|
|
655
|
+
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = l - m, _ = Math.abs(c - u);
|
|
656
|
+
this.state.upperBound === h && this.state.sliderLength === _ && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: _, thumbSize: m });
|
|
659
657
|
}, i.calcOffset = function(o) {
|
|
660
658
|
const t = this.props.max - this.props.min;
|
|
661
659
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -666,7 +664,7 @@ let Ae = function(n) {
|
|
|
666
664
|
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
|
|
667
665
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
668
666
|
}, i.forceValueFromPosition = function(o, t) {
|
|
669
|
-
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l =
|
|
667
|
+
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = K(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
670
668
|
c[a] = l;
|
|
671
669
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
672
670
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -684,43 +682,43 @@ let Ae = function(n) {
|
|
|
684
682
|
a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
|
|
685
683
|
}, i.moveUpByStep = function(o) {
|
|
686
684
|
o === void 0 && (o = this.props.step);
|
|
687
|
-
const t = this.state.value[this.state.index], r =
|
|
685
|
+
const t = this.state.value[this.state.index], r = K(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
688
686
|
this.move(Math.min(r, this.props.max));
|
|
689
687
|
}, i.moveDownByStep = function(o) {
|
|
690
688
|
o === void 0 && (o = this.props.step);
|
|
691
|
-
const t = this.state.value[this.state.index], r =
|
|
689
|
+
const t = this.state.value[this.state.index], r = K(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
692
690
|
this.move(Math.max(r, this.props.min));
|
|
693
691
|
}, i.move = function(o) {
|
|
694
692
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
695
693
|
if (o === l) return;
|
|
696
694
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
697
|
-
const { pearling: c, max: u, min: m, minDistance:
|
|
695
|
+
const { pearling: c, max: u, min: m, minDistance: h } = this.props;
|
|
698
696
|
if (!c) {
|
|
699
697
|
if (r > 0) {
|
|
700
698
|
const _ = t[r - 1];
|
|
701
|
-
o < _ +
|
|
699
|
+
o < _ + h && (o = _ + h);
|
|
702
700
|
}
|
|
703
701
|
if (r < a - 1) {
|
|
704
702
|
const _ = t[r + 1];
|
|
705
|
-
o > _ -
|
|
703
|
+
o > _ - h && (o = _ - h);
|
|
706
704
|
}
|
|
707
705
|
}
|
|
708
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t,
|
|
709
|
-
for (let
|
|
710
|
-
const
|
|
711
|
-
|
|
706
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, h, r), function(_, f, g, y) {
|
|
707
|
+
for (let C = 0; C < _; C += 1) {
|
|
708
|
+
const b = y - C * g;
|
|
709
|
+
f[_ - 1 - C] > b && (f[_ - 1 - C] = b);
|
|
712
710
|
}
|
|
713
|
-
}(a, t,
|
|
714
|
-
for (let
|
|
715
|
-
const
|
|
716
|
-
|
|
711
|
+
}(a, t, h, u)) : o < l && (this.pushPreceding(t, h, r), function(_, f, g, y) {
|
|
712
|
+
for (let C = 0; C < _; C += 1) {
|
|
713
|
+
const b = y + C * g;
|
|
714
|
+
f[C] < b && (f[C] = b);
|
|
717
715
|
}
|
|
718
|
-
}(a, t,
|
|
716
|
+
}(a, t, h, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
719
717
|
}, i.pushSucceeding = function(o, t, r) {
|
|
720
718
|
let a, l;
|
|
721
|
-
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] =
|
|
719
|
+
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Le(l, this.props);
|
|
722
720
|
}, i.pushPreceding = function(o, t, r) {
|
|
723
|
-
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] =
|
|
721
|
+
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Le(l, this.props);
|
|
724
722
|
}, i.axisKey = function() {
|
|
725
723
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
726
724
|
}, i.orthogonalAxisKey = function() {
|
|
@@ -732,7 +730,7 @@ let Ae = function(n) {
|
|
|
732
730
|
}, i.sizeKey = function() {
|
|
733
731
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
734
732
|
}, i.fireChangeEvent = function(o) {
|
|
735
|
-
this.props[o] && this.props[o](
|
|
733
|
+
this.props[o] && this.props[o](ue(this.state.value), this.state.index);
|
|
736
734
|
}, i.buildThumbStyle = function(o, t) {
|
|
737
735
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
738
736
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -769,16 +767,16 @@ let Ae = function(n) {
|
|
|
769
767
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
|
|
770
768
|
}, d;
|
|
771
769
|
}(B.Component);
|
|
772
|
-
|
|
773
|
-
var
|
|
774
|
-
const
|
|
775
|
-
container:
|
|
776
|
-
unitLabel:
|
|
777
|
-
slider:
|
|
778
|
-
thumb:
|
|
779
|
-
track:
|
|
780
|
-
labels:
|
|
781
|
-
},
|
|
770
|
+
$e.displayName = "ReactSlider", $e.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 = $e;
|
|
772
|
+
const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", T2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33", Q = {
|
|
773
|
+
container: L2,
|
|
774
|
+
unitLabel: $2,
|
|
775
|
+
slider: F2,
|
|
776
|
+
thumb: T2,
|
|
777
|
+
track: V2,
|
|
778
|
+
labels: A2
|
|
779
|
+
}, ot = ({
|
|
782
780
|
min: n = 0,
|
|
783
781
|
max: d = 100,
|
|
784
782
|
step: i = 1,
|
|
@@ -788,35 +786,35 @@ const V2 = "_container_15vgv_2", A2 = "_unitLabel_15vgv_9", I2 = "_slider_15vgv_
|
|
|
788
786
|
fontColor: a = "#605B56",
|
|
789
787
|
defaultValue: l
|
|
790
788
|
}) => {
|
|
791
|
-
const { t: c } = k(), [u, m] =
|
|
789
|
+
const { t: c } = k(), [u, m] = L([n, d]), h = (_) => {
|
|
792
790
|
m(_), o == null || o({ min: _[0], max: _[1] });
|
|
793
791
|
};
|
|
794
|
-
return
|
|
792
|
+
return $(() => {
|
|
795
793
|
l || m([n, d]);
|
|
796
794
|
}, [l]), /* @__PURE__ */ p(
|
|
797
795
|
"div",
|
|
798
796
|
{
|
|
799
|
-
className:
|
|
797
|
+
className: Q.container,
|
|
800
798
|
style: { width: `${t}px`, color: `${a}` },
|
|
801
799
|
children: [
|
|
802
|
-
/* @__PURE__ */ s("div", { className:
|
|
800
|
+
/* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
803
801
|
/* @__PURE__ */ s(
|
|
804
|
-
|
|
802
|
+
M2,
|
|
805
803
|
{
|
|
806
|
-
className:
|
|
807
|
-
thumbClassName:
|
|
808
|
-
trackClassName:
|
|
804
|
+
className: Q.slider,
|
|
805
|
+
thumbClassName: Q.thumb,
|
|
806
|
+
trackClassName: Q.track,
|
|
809
807
|
min: n,
|
|
810
808
|
max: d,
|
|
811
809
|
step: i,
|
|
812
810
|
value: u,
|
|
813
|
-
onAfterChange:
|
|
811
|
+
onAfterChange: h,
|
|
814
812
|
withTracks: !0,
|
|
815
813
|
pearling: !0,
|
|
816
814
|
minDistance: 0.1
|
|
817
815
|
}
|
|
818
816
|
),
|
|
819
|
-
/* @__PURE__ */ p("div", { className:
|
|
817
|
+
/* @__PURE__ */ p("div", { className: Q.labels, children: [
|
|
820
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
821
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
822
820
|
] })
|
|
@@ -824,7 +822,7 @@ const V2 = "_container_15vgv_2", A2 = "_unitLabel_15vgv_9", I2 = "_slider_15vgv_
|
|
|
824
822
|
}
|
|
825
823
|
);
|
|
826
824
|
};
|
|
827
|
-
|
|
825
|
+
ot.propTypes = {
|
|
828
826
|
min: e.number,
|
|
829
827
|
max: e.number,
|
|
830
828
|
step: e.number,
|
|
@@ -836,17 +834,17 @@ lt.propTypes = {
|
|
|
836
834
|
fontColor: e.string,
|
|
837
835
|
value: e.arrayOf(e.number)
|
|
838
836
|
};
|
|
839
|
-
const
|
|
840
|
-
tematicalFiltersInputContainer:
|
|
841
|
-
inputTypeContainer:
|
|
842
|
-
checkboxContainer:
|
|
843
|
-
absoluteSliderContainer:
|
|
844
|
-
},
|
|
837
|
+
const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_1vm1r_2", R2 = "_checkboxContainer_1vm1r_28", q2 = "_absoluteSliderContainer_1vm1r_37", me = {
|
|
838
|
+
tematicalFiltersInputContainer: I2,
|
|
839
|
+
inputTypeContainer: O2,
|
|
840
|
+
checkboxContainer: R2,
|
|
841
|
+
absoluteSliderContainer: q2
|
|
842
|
+
}, Ie = ({
|
|
845
843
|
indicator: n,
|
|
846
844
|
//onChangeBothType
|
|
847
845
|
activeColor: d
|
|
848
846
|
}) => {
|
|
849
|
-
const [i, o] =
|
|
847
|
+
const [i, o] = L(), {
|
|
850
848
|
type: t,
|
|
851
849
|
name: r,
|
|
852
850
|
values: a,
|
|
@@ -854,106 +852,106 @@ const E2 = "_tematicalFiltersInputContainer_1vm1r_2", P2 = "_inputTypeContainer_
|
|
|
854
852
|
maxValue: c,
|
|
855
853
|
unit: u,
|
|
856
854
|
step: m
|
|
857
|
-
} = n || {},
|
|
855
|
+
} = n || {}, h = ae(
|
|
858
856
|
() => t == "cat" || i == "cat",
|
|
859
857
|
[i, t]
|
|
860
|
-
), _ =
|
|
858
|
+
), _ = ae(
|
|
861
859
|
() => t == "abs" || i == "abs",
|
|
862
860
|
[i, t]
|
|
863
861
|
), {
|
|
864
|
-
tematicalFiltersSelected:
|
|
865
|
-
selectedIndicator:
|
|
866
|
-
fontColor:
|
|
867
|
-
inputsColor:
|
|
868
|
-
} =
|
|
869
|
-
if (
|
|
870
|
-
const { min:
|
|
871
|
-
let
|
|
872
|
-
|
|
873
|
-
let
|
|
874
|
-
(V) => V.code ===
|
|
862
|
+
tematicalFiltersSelected: f,
|
|
863
|
+
selectedIndicator: g,
|
|
864
|
+
fontColor: y,
|
|
865
|
+
inputsColor: C
|
|
866
|
+
} = T((x) => x), b = (x) => {
|
|
867
|
+
if (x) {
|
|
868
|
+
const { min: v, max: N, valueClicked: S, allValues: D } = x || {}, { code: z, type: ce } = n || {}, de = _ ? "abs" : h ? "cat" : "both";
|
|
869
|
+
let R = z[0];
|
|
870
|
+
ce == "both" && (R = de == "cat" ? z[1] : z[0]), de == "cat" ? T.setState((q) => {
|
|
871
|
+
let E = q.tematicalFiltersSelected.find(
|
|
872
|
+
(V) => V.code === R
|
|
875
873
|
);
|
|
876
|
-
if (
|
|
877
|
-
let V = [
|
|
878
|
-
return
|
|
879
|
-
(
|
|
880
|
-
) : V = [...
|
|
881
|
-
tematicalFiltersSelected:
|
|
882
|
-
(
|
|
874
|
+
if (E) {
|
|
875
|
+
let V = [E.values];
|
|
876
|
+
return E.values.includes(S) ? V = E.values.filter(
|
|
877
|
+
(I) => I !== S
|
|
878
|
+
) : V = [...E.values, S], V.length == D.length ? {
|
|
879
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
880
|
+
(I) => I.code !== R
|
|
883
881
|
)
|
|
884
882
|
} : {
|
|
885
|
-
tematicalFiltersSelected:
|
|
886
|
-
(
|
|
883
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
884
|
+
(I) => I.code === R ? { ...I, values: V } : I
|
|
887
885
|
)
|
|
888
886
|
};
|
|
889
887
|
} else {
|
|
890
|
-
let V =
|
|
888
|
+
let V = D.map((I, bt) => bt);
|
|
891
889
|
return {
|
|
892
890
|
tematicalFiltersSelected: [
|
|
893
|
-
...
|
|
891
|
+
...f,
|
|
894
892
|
{
|
|
895
893
|
type: "cat",
|
|
896
|
-
code:
|
|
897
|
-
values: V.filter((
|
|
894
|
+
code: R,
|
|
895
|
+
values: V.filter((I) => I !== S),
|
|
898
896
|
name: n.name
|
|
899
897
|
}
|
|
900
898
|
]
|
|
901
899
|
};
|
|
902
900
|
}
|
|
903
|
-
}) :
|
|
904
|
-
let
|
|
905
|
-
(V) => V.code ===
|
|
901
|
+
}) : de == "abs" && T.setState((q) => {
|
|
902
|
+
let E = q.tematicalFiltersSelected.find(
|
|
903
|
+
(V) => V.code === R
|
|
906
904
|
);
|
|
907
|
-
if (
|
|
905
|
+
if (v == n.minValue && N == n.maxValue)
|
|
908
906
|
return {
|
|
909
|
-
tematicalFiltersSelected:
|
|
910
|
-
(V) => V.code !==
|
|
907
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
908
|
+
(V) => V.code !== R
|
|
911
909
|
)
|
|
912
910
|
};
|
|
913
|
-
if (
|
|
914
|
-
let V = { ...
|
|
915
|
-
return V.min =
|
|
916
|
-
tematicalFiltersSelected:
|
|
917
|
-
(
|
|
911
|
+
if (E) {
|
|
912
|
+
let V = { ...E };
|
|
913
|
+
return V.min = v, V.max = N, {
|
|
914
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
915
|
+
(I) => I.code === R ? V : I
|
|
918
916
|
)
|
|
919
917
|
};
|
|
920
918
|
} else
|
|
921
919
|
return {
|
|
922
920
|
tematicalFiltersSelected: [
|
|
923
|
-
...
|
|
924
|
-
{ type: "abs", code:
|
|
921
|
+
...f,
|
|
922
|
+
{ type: "abs", code: R, min: v, max: N, name: n.name }
|
|
925
923
|
]
|
|
926
924
|
};
|
|
927
925
|
});
|
|
928
926
|
}
|
|
929
|
-
},
|
|
930
|
-
const
|
|
931
|
-
if ((
|
|
932
|
-
for (const
|
|
933
|
-
|
|
934
|
-
return console.log("mapfilterSelected",
|
|
935
|
-
}, [
|
|
936
|
-
return /* @__PURE__ */ s("div", { className:
|
|
937
|
-
|
|
927
|
+
}, w = ae(() => {
|
|
928
|
+
const x = {};
|
|
929
|
+
if ((f == null ? void 0 : f.length) > 0)
|
|
930
|
+
for (const v of f)
|
|
931
|
+
v.type === "cat" ? x[v.code] = new Set(v.values) : x[v.code] = [v.min, v.max];
|
|
932
|
+
return console.log("mapfilterSelected", x), x;
|
|
933
|
+
}, [f]);
|
|
934
|
+
return /* @__PURE__ */ s("div", { className: me.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
935
|
+
W,
|
|
938
936
|
{
|
|
939
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
940
938
|
title: r,
|
|
941
|
-
isOpen:
|
|
942
|
-
onClick: () =>
|
|
943
|
-
selectedIndicator:
|
|
939
|
+
isOpen: g == `id${r}`,
|
|
940
|
+
onClick: () => T.setState(() => ({
|
|
941
|
+
selectedIndicator: g == `id${r}` ? "" : `id${r}`
|
|
944
942
|
})),
|
|
945
943
|
showBottomBar: !1,
|
|
946
944
|
height: 42,
|
|
947
945
|
titleMarginChildren: 14,
|
|
948
946
|
className: "tematicalFiltersInputContainer",
|
|
949
|
-
color:
|
|
947
|
+
color: y,
|
|
950
948
|
activeColor: d,
|
|
951
949
|
children: [
|
|
952
950
|
t == "both" && /* @__PURE__ */ p(
|
|
953
951
|
"div",
|
|
954
952
|
{
|
|
955
|
-
className:
|
|
956
|
-
style: { color:
|
|
953
|
+
className: me.inputTypeContainer,
|
|
954
|
+
style: { color: y },
|
|
957
955
|
children: [
|
|
958
956
|
/* @__PURE__ */ p("label", { children: [
|
|
959
957
|
/* @__PURE__ */ s(
|
|
@@ -967,8 +965,8 @@ const E2 = "_tematicalFiltersInputContainer_1vm1r_2", P2 = "_inputTypeContainer_
|
|
|
967
965
|
},
|
|
968
966
|
style: {
|
|
969
967
|
marginRight: 4,
|
|
970
|
-
backgroundColor: i == "abs" ?
|
|
971
|
-
border: `1.5px solid ${i == "abs" ?
|
|
968
|
+
backgroundColor: i == "abs" ? C : "white",
|
|
969
|
+
border: `1.5px solid ${i == "abs" ? C : y}`
|
|
972
970
|
}
|
|
973
971
|
}
|
|
974
972
|
),
|
|
@@ -986,8 +984,8 @@ const E2 = "_tematicalFiltersInputContainer_1vm1r_2", P2 = "_inputTypeContainer_
|
|
|
986
984
|
},
|
|
987
985
|
style: {
|
|
988
986
|
marginRight: 4,
|
|
989
|
-
backgroundColor: i == "cat" ?
|
|
990
|
-
border: `1.5px solid ${i == "cat" ?
|
|
987
|
+
backgroundColor: i == "cat" ? C : "white",
|
|
988
|
+
border: `1.5px solid ${i == "cat" ? C : y}`
|
|
991
989
|
}
|
|
992
990
|
}
|
|
993
991
|
),
|
|
@@ -996,26 +994,26 @@ const E2 = "_tematicalFiltersInputContainer_1vm1r_2", P2 = "_inputTypeContainer_
|
|
|
996
994
|
]
|
|
997
995
|
}
|
|
998
996
|
),
|
|
999
|
-
|
|
997
|
+
h && /* @__PURE__ */ s("div", { className: me.checkboxContainer, children: a.map((x, v) => {
|
|
1000
998
|
var N;
|
|
1001
999
|
return /* @__PURE__ */ s(
|
|
1002
|
-
|
|
1000
|
+
it,
|
|
1003
1001
|
{
|
|
1004
|
-
onClick: () =>
|
|
1005
|
-
indicator:
|
|
1006
|
-
value: ((N =
|
|
1002
|
+
onClick: () => b({ valueClicked: v, allValues: a }),
|
|
1003
|
+
indicator: x,
|
|
1004
|
+
value: ((N = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(v)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1007
1005
|
},
|
|
1008
|
-
`checkbox-${
|
|
1006
|
+
`checkbox-${v}`
|
|
1009
1007
|
);
|
|
1010
1008
|
}) }),
|
|
1011
|
-
_ && /* @__PURE__ */ s("div", { className:
|
|
1012
|
-
|
|
1009
|
+
_ && /* @__PURE__ */ s("div", { className: me.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1010
|
+
ot,
|
|
1013
1011
|
{
|
|
1014
|
-
onChange:
|
|
1012
|
+
onChange: b,
|
|
1015
1013
|
min: l,
|
|
1016
1014
|
max: c,
|
|
1017
1015
|
unit: u,
|
|
1018
|
-
defaultValue:
|
|
1016
|
+
defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
|
|
1019
1017
|
step: m
|
|
1020
1018
|
}
|
|
1021
1019
|
) })
|
|
@@ -1023,7 +1021,7 @@ const E2 = "_tematicalFiltersInputContainer_1vm1r_2", P2 = "_inputTypeContainer_
|
|
|
1023
1021
|
}
|
|
1024
1022
|
) });
|
|
1025
1023
|
};
|
|
1026
|
-
|
|
1024
|
+
Ie.propTypes = {
|
|
1027
1025
|
indicator: e.shape({
|
|
1028
1026
|
name: e.string,
|
|
1029
1027
|
type: e.string,
|
|
@@ -1038,20 +1036,20 @@ Ee.propTypes = {
|
|
|
1038
1036
|
activeColor: e.string
|
|
1039
1037
|
//onChangeBothType: PropTypes.func,
|
|
1040
1038
|
};
|
|
1041
|
-
const
|
|
1039
|
+
const st = ({
|
|
1042
1040
|
subcategory: n,
|
|
1043
1041
|
fontColor: d,
|
|
1044
1042
|
activeColor: i
|
|
1045
1043
|
//onChangeBothType,
|
|
1046
1044
|
}) => {
|
|
1047
|
-
const { activeSubcategory: o } =
|
|
1045
|
+
const { activeSubcategory: o } = T((a) => a), { name: t, indicators: r } = n || {};
|
|
1048
1046
|
return /* @__PURE__ */ s(
|
|
1049
|
-
|
|
1047
|
+
W,
|
|
1050
1048
|
{
|
|
1051
1049
|
title: t,
|
|
1052
1050
|
isOpen: o == `id${t}`,
|
|
1053
1051
|
onClick: () => {
|
|
1054
|
-
|
|
1052
|
+
T.setState((a) => ({
|
|
1055
1053
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1056
1054
|
}));
|
|
1057
1055
|
},
|
|
@@ -1062,7 +1060,7 @@ const ct = ({
|
|
|
1062
1060
|
color: d,
|
|
1063
1061
|
activeColor: i,
|
|
1064
1062
|
children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ s(
|
|
1065
|
-
|
|
1063
|
+
Ie,
|
|
1066
1064
|
{
|
|
1067
1065
|
indicator: a,
|
|
1068
1066
|
fontColor: d,
|
|
@@ -1073,7 +1071,7 @@ const ct = ({
|
|
|
1073
1071
|
}
|
|
1074
1072
|
);
|
|
1075
1073
|
};
|
|
1076
|
-
|
|
1074
|
+
st.propTypes = {
|
|
1077
1075
|
subcategory: e.shape({
|
|
1078
1076
|
name: e.string,
|
|
1079
1077
|
indicators: e.arrayOf(
|
|
@@ -1086,17 +1084,17 @@ ct.propTypes = {
|
|
|
1086
1084
|
activeColor: e.string
|
|
1087
1085
|
//onChangeBothType: PropTypes.func,
|
|
1088
1086
|
};
|
|
1089
|
-
const
|
|
1087
|
+
const rt = ({
|
|
1090
1088
|
category: n,
|
|
1091
1089
|
// onChangeBothType,
|
|
1092
1090
|
activeColor: d
|
|
1093
1091
|
}) => {
|
|
1094
|
-
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } =
|
|
1092
|
+
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = T((l) => l);
|
|
1095
1093
|
return n && /* @__PURE__ */ s(
|
|
1096
|
-
|
|
1094
|
+
W,
|
|
1097
1095
|
{
|
|
1098
1096
|
onClick: () => {
|
|
1099
|
-
|
|
1097
|
+
T.setState((l) => ({
|
|
1100
1098
|
activeCategory: r === `id${i}` ? "" : `id${i}`
|
|
1101
1099
|
}));
|
|
1102
1100
|
},
|
|
@@ -1107,7 +1105,7 @@ const dt = ({
|
|
|
1107
1105
|
color: a,
|
|
1108
1106
|
activeColor: d,
|
|
1109
1107
|
children: o ? o.map((l, c) => /* @__PURE__ */ s(
|
|
1110
|
-
|
|
1108
|
+
st,
|
|
1111
1109
|
{
|
|
1112
1110
|
subcategory: l,
|
|
1113
1111
|
fontColor: a,
|
|
@@ -1115,7 +1113,7 @@ const dt = ({
|
|
|
1115
1113
|
},
|
|
1116
1114
|
`subcategory-${c}`
|
|
1117
1115
|
)) : t && t.map((l, c) => /* @__PURE__ */ s(
|
|
1118
|
-
|
|
1116
|
+
Ie,
|
|
1119
1117
|
{
|
|
1120
1118
|
indicator: l,
|
|
1121
1119
|
fontColor: a,
|
|
@@ -1126,7 +1124,7 @@ const dt = ({
|
|
|
1126
1124
|
}
|
|
1127
1125
|
);
|
|
1128
1126
|
};
|
|
1129
|
-
|
|
1127
|
+
rt.propTypes = {
|
|
1130
1128
|
category: e.shape({
|
|
1131
1129
|
name: e.string.isRequired,
|
|
1132
1130
|
subcategories: e.array,
|
|
@@ -1135,7 +1133,7 @@ dt.propTypes = {
|
|
|
1135
1133
|
activeColor: e.string
|
|
1136
1134
|
//onChangeBothType: PropTypes.func,
|
|
1137
1135
|
};
|
|
1138
|
-
const
|
|
1136
|
+
const at = ({
|
|
1139
1137
|
indicators: n,
|
|
1140
1138
|
isOpen: d = !0,
|
|
1141
1139
|
title: i,
|
|
@@ -1144,20 +1142,20 @@ const ut = ({
|
|
|
1144
1142
|
inputsColor: t = "#605B56",
|
|
1145
1143
|
activeColor: r
|
|
1146
1144
|
}) => {
|
|
1147
|
-
const { tematicalFiltersSelected: a } =
|
|
1148
|
-
return
|
|
1149
|
-
o &&
|
|
1150
|
-
}, [o]),
|
|
1151
|
-
t &&
|
|
1145
|
+
const { tematicalFiltersSelected: a } = T((c) => c), { t: l } = k();
|
|
1146
|
+
return $(() => {
|
|
1147
|
+
o && T.setState(() => ({ fontColor: o }));
|
|
1148
|
+
}, [o]), $(() => {
|
|
1149
|
+
t && T.setState(() => ({ inputsColor: t }));
|
|
1152
1150
|
}, [t]), /* @__PURE__ */ s(
|
|
1153
|
-
|
|
1151
|
+
W,
|
|
1154
1152
|
{
|
|
1155
1153
|
isOpen: d,
|
|
1156
1154
|
title: i ? l(i) : "Tematical filters",
|
|
1157
1155
|
color: o,
|
|
1158
1156
|
activeColor: r,
|
|
1159
1157
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
|
|
1160
|
-
|
|
1158
|
+
rt,
|
|
1161
1159
|
{
|
|
1162
1160
|
category: c,
|
|
1163
1161
|
fontColor: o,
|
|
@@ -1168,7 +1166,7 @@ const ut = ({
|
|
|
1168
1166
|
}
|
|
1169
1167
|
);
|
|
1170
1168
|
};
|
|
1171
|
-
|
|
1169
|
+
at.propTypes = {
|
|
1172
1170
|
isOpen: e.bool,
|
|
1173
1171
|
title: e.string,
|
|
1174
1172
|
indicators: e.arrayOf(e.object),
|
|
@@ -1177,14 +1175,14 @@ ut.propTypes = {
|
|
|
1177
1175
|
inputsColor: e.string,
|
|
1178
1176
|
activeColor: e.string
|
|
1179
1177
|
};
|
|
1180
|
-
const
|
|
1181
|
-
FiltersAmbitContainer:
|
|
1182
|
-
FiltersAmbitHeader:
|
|
1183
|
-
FiltersAmbitTitle:
|
|
1184
|
-
FiltersAmbitDescription:
|
|
1185
|
-
FiltersAmbitDescriptionTitle:
|
|
1186
|
-
warning:
|
|
1187
|
-
},
|
|
1178
|
+
const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", j2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", K2 = "_warning_1g9xx_37", X = {
|
|
1179
|
+
FiltersAmbitContainer: E2,
|
|
1180
|
+
FiltersAmbitHeader: P2,
|
|
1181
|
+
FiltersAmbitTitle: z2,
|
|
1182
|
+
FiltersAmbitDescription: j2,
|
|
1183
|
+
FiltersAmbitDescriptionTitle: Z2,
|
|
1184
|
+
warning: K2
|
|
1185
|
+
}, H2 = ({
|
|
1188
1186
|
ambitName: n,
|
|
1189
1187
|
ambitDescription: d,
|
|
1190
1188
|
defaultFilters: i,
|
|
@@ -1196,57 +1194,57 @@ const Z2 = "_FiltersAmbitContainer_1g9xx_2", K2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1196
1194
|
saveAmbit: c,
|
|
1197
1195
|
namePlaceholder: u,
|
|
1198
1196
|
descPlaceholder: m,
|
|
1199
|
-
filtersTypes:
|
|
1197
|
+
filtersTypes: h = ["geographical", "tematical"],
|
|
1200
1198
|
nameRequiredText: _,
|
|
1201
|
-
onlyFilters:
|
|
1199
|
+
onlyFilters: f = !1
|
|
1202
1200
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1203
1201
|
}) => {
|
|
1204
|
-
const { t:
|
|
1205
|
-
|
|
1206
|
-
i && i.length > 0 &&
|
|
1202
|
+
const { t: g } = k(), { tematicalFiltersSelected: y } = T((D) => D), [C, b] = L(n || null), [w, x] = L(d || null), [v, N] = L(!1);
|
|
1203
|
+
$(() => {
|
|
1204
|
+
i && i.length > 0 && T.setState((D) => ({
|
|
1207
1205
|
tematicalFiltersSelected: i
|
|
1208
1206
|
}));
|
|
1209
|
-
}, [i]),
|
|
1210
|
-
console.log("filtersSelected changed: ",
|
|
1211
|
-
}, [
|
|
1207
|
+
}, [i]), $(() => {
|
|
1208
|
+
console.log("filtersSelected changed: ", y), l(y);
|
|
1209
|
+
}, [y]);
|
|
1212
1210
|
const S = () => {
|
|
1213
|
-
|
|
1211
|
+
C ? c({ name: C, description: w }) : N(!0);
|
|
1214
1212
|
};
|
|
1215
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1216
|
-
!
|
|
1217
|
-
/* @__PURE__ */ s("div", { className:
|
|
1213
|
+
return /* @__PURE__ */ p("div", { className: X.FiltersAmbitContainer, children: [
|
|
1214
|
+
!f && /* @__PURE__ */ p("div", { className: X.FiltersAmbitHeader, children: [
|
|
1215
|
+
/* @__PURE__ */ s("div", { className: X.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1218
1216
|
"input",
|
|
1219
1217
|
{
|
|
1220
1218
|
type: "text",
|
|
1221
|
-
onChange: (
|
|
1222
|
-
N(!1),
|
|
1219
|
+
onChange: (D) => {
|
|
1220
|
+
N(!1), b(D.target.value);
|
|
1223
1221
|
},
|
|
1224
|
-
value:
|
|
1225
|
-
placeholder:
|
|
1222
|
+
value: C,
|
|
1223
|
+
placeholder: g(u)
|
|
1226
1224
|
}
|
|
1227
1225
|
) }),
|
|
1228
|
-
/* @__PURE__ */ s("div", { className:
|
|
1226
|
+
/* @__PURE__ */ s("div", { className: X.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1229
1227
|
"textarea",
|
|
1230
1228
|
{
|
|
1231
|
-
value:
|
|
1232
|
-
onChange: (
|
|
1233
|
-
placeholder:
|
|
1229
|
+
value: w,
|
|
1230
|
+
onChange: (D) => x(D.target.value),
|
|
1231
|
+
placeholder: g(m)
|
|
1234
1232
|
}
|
|
1235
1233
|
) }) })
|
|
1236
1234
|
] }),
|
|
1237
1235
|
/* @__PURE__ */ s(
|
|
1238
|
-
|
|
1236
|
+
tt,
|
|
1239
1237
|
{
|
|
1240
|
-
title:
|
|
1238
|
+
title: g("applied_filters"),
|
|
1241
1239
|
isOpen: !0,
|
|
1242
1240
|
textColor: r || "#fff",
|
|
1243
1241
|
backgroundColor: a || "#605B5680",
|
|
1244
1242
|
activeColor: t
|
|
1245
1243
|
}
|
|
1246
1244
|
),
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1245
|
+
h.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
|
|
1246
|
+
h.includes("tematical") && /* @__PURE__ */ s(
|
|
1247
|
+
at,
|
|
1250
1248
|
{
|
|
1251
1249
|
indicators: o,
|
|
1252
1250
|
inputsColor: t,
|
|
@@ -1255,11 +1253,11 @@ const Z2 = "_FiltersAmbitContainer_1g9xx_2", K2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1255
1253
|
activeColor: t
|
|
1256
1254
|
}
|
|
1257
1255
|
),
|
|
1258
|
-
|
|
1259
|
-
!
|
|
1256
|
+
v && /* @__PURE__ */ s("div", { className: X.warning, children: g(_) }),
|
|
1257
|
+
!f && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(Ce, { onClick: () => S(), children: g("save_ambit") }) })
|
|
1260
1258
|
] });
|
|
1261
1259
|
};
|
|
1262
|
-
|
|
1260
|
+
H2.propTypes = {
|
|
1263
1261
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1264
1262
|
ambitName: e.string,
|
|
1265
1263
|
ambitDescription: e.string,
|
|
@@ -1274,9 +1272,9 @@ Y2.propTypes = {
|
|
|
1274
1272
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1275
1273
|
nameRequiredText: e.string
|
|
1276
1274
|
};
|
|
1277
|
-
const
|
|
1278
|
-
barChartContainer:
|
|
1279
|
-
},
|
|
1275
|
+
const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
1276
|
+
barChartContainer: U2
|
|
1277
|
+
}, lt = ({
|
|
1280
1278
|
data: n,
|
|
1281
1279
|
width: d = 700,
|
|
1282
1280
|
barHeight: i = 25,
|
|
@@ -1288,13 +1286,13 @@ const Q2 = "_barChartContainer_d2f1z_2", X2 = {
|
|
|
1288
1286
|
numberOfDivisions: c = 7,
|
|
1289
1287
|
maxValue: u = null
|
|
1290
1288
|
}) => {
|
|
1291
|
-
const { t: m } = k(), { xScale:
|
|
1289
|
+
const { t: m } = k(), { xScale: h, ticks: _, height: f } = ae(() => {
|
|
1292
1290
|
if (n && n.length > 0) {
|
|
1293
|
-
const
|
|
1291
|
+
const g = (n == null ? void 0 : n.length) * (i + o) + r * 2, y = Ee.max(n, (w) => w.value) || 1, C = Ee.scaleLinear().domain([0, u || y]).range([0, d - l]), b = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : y / c * x);
|
|
1294
1292
|
return {
|
|
1295
|
-
xScale:
|
|
1296
|
-
ticks:
|
|
1297
|
-
height:
|
|
1293
|
+
xScale: C,
|
|
1294
|
+
ticks: b,
|
|
1295
|
+
height: g,
|
|
1298
1296
|
width: d,
|
|
1299
1297
|
verticalPaddign: r,
|
|
1300
1298
|
horizontalPaddign: a
|
|
@@ -1311,36 +1309,36 @@ const Q2 = "_barChartContainer_d2f1z_2", X2 = {
|
|
|
1311
1309
|
r,
|
|
1312
1310
|
u
|
|
1313
1311
|
]);
|
|
1314
|
-
return /* @__PURE__ */ s("div", { className:
|
|
1315
|
-
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((
|
|
1316
|
-
const
|
|
1317
|
-
return /* @__PURE__ */ p("g", { transform: `translate(${
|
|
1312
|
+
return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: f, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1313
|
+
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((g, y) => {
|
|
1314
|
+
const C = h(g);
|
|
1315
|
+
return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
|
|
1318
1316
|
/* @__PURE__ */ s(
|
|
1319
1317
|
"line",
|
|
1320
1318
|
{
|
|
1321
1319
|
y1: 0,
|
|
1322
|
-
y2:
|
|
1320
|
+
y2: f - o * 2,
|
|
1323
1321
|
stroke: "#ccc"
|
|
1324
1322
|
}
|
|
1325
1323
|
),
|
|
1326
1324
|
/* @__PURE__ */ s(
|
|
1327
1325
|
"text",
|
|
1328
1326
|
{
|
|
1329
|
-
y:
|
|
1327
|
+
y: f - o,
|
|
1330
1328
|
textAnchor: "middle",
|
|
1331
1329
|
fontSize: 10,
|
|
1332
1330
|
fill: t,
|
|
1333
|
-
children: parseInt(
|
|
1331
|
+
children: parseInt(g)
|
|
1334
1332
|
}
|
|
1335
1333
|
)
|
|
1336
|
-
] },
|
|
1334
|
+
] }, y);
|
|
1337
1335
|
}) }),
|
|
1338
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1339
|
-
const
|
|
1336
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((g, y) => {
|
|
1337
|
+
const C = h(g.value), b = y * (i + o);
|
|
1340
1338
|
return /* @__PURE__ */ p(
|
|
1341
1339
|
"g",
|
|
1342
1340
|
{
|
|
1343
|
-
transform: `translate(${l + a}, ${
|
|
1341
|
+
transform: `translate(${l + a}, ${b})`,
|
|
1344
1342
|
children: [
|
|
1345
1343
|
/* @__PURE__ */ s(
|
|
1346
1344
|
"text",
|
|
@@ -1349,26 +1347,26 @@ const Q2 = "_barChartContainer_d2f1z_2", X2 = {
|
|
|
1349
1347
|
y: i / 2 + 5,
|
|
1350
1348
|
textAnchor: "end",
|
|
1351
1349
|
fill: t,
|
|
1352
|
-
children: m(
|
|
1350
|
+
children: m(g.title)
|
|
1353
1351
|
}
|
|
1354
1352
|
),
|
|
1355
1353
|
/* @__PURE__ */ s(
|
|
1356
1354
|
"rect",
|
|
1357
1355
|
{
|
|
1358
|
-
width:
|
|
1356
|
+
width: C,
|
|
1359
1357
|
height: i,
|
|
1360
|
-
fill:
|
|
1358
|
+
fill: g.color,
|
|
1361
1359
|
rx: 0
|
|
1362
1360
|
}
|
|
1363
1361
|
)
|
|
1364
1362
|
]
|
|
1365
1363
|
},
|
|
1366
|
-
|
|
1364
|
+
y
|
|
1367
1365
|
);
|
|
1368
1366
|
}))
|
|
1369
1367
|
] }) }) });
|
|
1370
1368
|
};
|
|
1371
|
-
|
|
1369
|
+
lt.propTypes = {
|
|
1372
1370
|
data: e.arrayOf(
|
|
1373
1371
|
e.shape({
|
|
1374
1372
|
title: e.string,
|
|
@@ -1384,10 +1382,10 @@ pt.propTypes = {
|
|
|
1384
1382
|
numberOfDivisions: e.number,
|
|
1385
1383
|
fontColor: e.string
|
|
1386
1384
|
};
|
|
1387
|
-
const
|
|
1388
|
-
graphicContainer:
|
|
1389
|
-
titleContainer:
|
|
1390
|
-
},
|
|
1385
|
+
const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
1386
|
+
graphicContainer: Y2,
|
|
1387
|
+
titleContainer: W2
|
|
1388
|
+
}, Q2 = ({
|
|
1391
1389
|
data: n,
|
|
1392
1390
|
graphWidth: d = 700,
|
|
1393
1391
|
containerStyle: i,
|
|
@@ -1402,15 +1400,15 @@ const J2 = "_graphicContainer_c9zrg_2", e0 = "_titleContainer_c9zrg_14", He = {
|
|
|
1402
1400
|
return /* @__PURE__ */ p(
|
|
1403
1401
|
"div",
|
|
1404
1402
|
{
|
|
1405
|
-
className:
|
|
1403
|
+
className: je.graphicContainer,
|
|
1406
1404
|
style: {
|
|
1407
1405
|
...i || {},
|
|
1408
1406
|
border: `1.5px solid ${o}`
|
|
1409
1407
|
},
|
|
1410
1408
|
children: [
|
|
1411
|
-
/* @__PURE__ */ s("div", { className:
|
|
1409
|
+
/* @__PURE__ */ s("div", { className: je.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1412
1410
|
/* @__PURE__ */ s(
|
|
1413
|
-
|
|
1411
|
+
lt,
|
|
1414
1412
|
{
|
|
1415
1413
|
data: n,
|
|
1416
1414
|
width: d,
|
|
@@ -1424,7 +1422,7 @@ const J2 = "_graphicContainer_c9zrg_2", e0 = "_titleContainer_c9zrg_14", He = {
|
|
|
1424
1422
|
}
|
|
1425
1423
|
);
|
|
1426
1424
|
};
|
|
1427
|
-
|
|
1425
|
+
Q2.propTypes = {
|
|
1428
1426
|
data: e.arrayOf(
|
|
1429
1427
|
e.shape({
|
|
1430
1428
|
color: e.string.isRequired,
|
|
@@ -1441,22 +1439,22 @@ t0.propTypes = {
|
|
|
1441
1439
|
numberOfDivisions: e.number,
|
|
1442
1440
|
leftPadding: e.number
|
|
1443
1441
|
};
|
|
1444
|
-
const
|
|
1445
|
-
indicatorsCategory:
|
|
1446
|
-
title:
|
|
1447
|
-
list:
|
|
1448
|
-
},
|
|
1449
|
-
indicatorContainer:
|
|
1450
|
-
indicatorNameContainer:
|
|
1451
|
-
dot:
|
|
1452
|
-
indicatorName:
|
|
1453
|
-
switchExternalContainer:
|
|
1454
|
-
switchType:
|
|
1455
|
-
switchTypeOptions:
|
|
1456
|
-
optionContainer:
|
|
1457
|
-
customRadious:
|
|
1458
|
-
optionText:
|
|
1459
|
-
},
|
|
1442
|
+
const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu33_11", we = {
|
|
1443
|
+
indicatorsCategory: X2,
|
|
1444
|
+
title: J2,
|
|
1445
|
+
list: e0
|
|
1446
|
+
}, t0 = "_indicatorContainer_1go6h_2", n0 = "_indicatorNameContainer_1go6h_11", i0 = "_dot_1go6h_17", o0 = "_indicatorName_1go6h_11", s0 = "_switchExternalContainer_1go6h_28", r0 = "_switchType_1go6h_37", a0 = "_switchTypeOptions_1go6h_41", l0 = "_optionContainer_1go6h_52", c0 = "_customRadious_1go6h_62", d0 = "_optionText_1go6h_69", F = {
|
|
1447
|
+
indicatorContainer: t0,
|
|
1448
|
+
indicatorNameContainer: n0,
|
|
1449
|
+
dot: i0,
|
|
1450
|
+
indicatorName: o0,
|
|
1451
|
+
switchExternalContainer: s0,
|
|
1452
|
+
switchType: r0,
|
|
1453
|
+
switchTypeOptions: a0,
|
|
1454
|
+
optionContainer: l0,
|
|
1455
|
+
customRadious: c0,
|
|
1456
|
+
optionText: d0
|
|
1457
|
+
}, Oe = ({
|
|
1460
1458
|
indicator: n,
|
|
1461
1459
|
values: d = [],
|
|
1462
1460
|
activeColor: i,
|
|
@@ -1467,25 +1465,25 @@ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu
|
|
|
1467
1465
|
multiple: l = !1,
|
|
1468
1466
|
onChangeType: c
|
|
1469
1467
|
}) => {
|
|
1470
|
-
const { t: u } = k(), { name: m, type:
|
|
1471
|
-
|
|
1472
|
-
t &&
|
|
1468
|
+
const { t: u } = k(), { name: m, type: h } = n, [_, f] = L(!1);
|
|
1469
|
+
$(() => {
|
|
1470
|
+
t && f(
|
|
1473
1471
|
l ? t.some(
|
|
1474
|
-
(
|
|
1472
|
+
(C) => C.name == String(m)
|
|
1475
1473
|
) : t.name == m
|
|
1476
1474
|
);
|
|
1477
1475
|
}, [t]);
|
|
1478
|
-
const
|
|
1476
|
+
const g = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ p("div", { className: F.switchTypeOptions, children: [
|
|
1479
1477
|
/* @__PURE__ */ p(
|
|
1480
1478
|
"div",
|
|
1481
1479
|
{
|
|
1482
|
-
className:
|
|
1480
|
+
className: F.optionContainer,
|
|
1483
1481
|
onClick: () => c("cat"),
|
|
1484
1482
|
children: [
|
|
1485
1483
|
/* @__PURE__ */ s(
|
|
1486
1484
|
"span",
|
|
1487
1485
|
{
|
|
1488
|
-
className: `${
|
|
1486
|
+
className: `${F.customRadious}`,
|
|
1489
1487
|
style: {
|
|
1490
1488
|
backgroundColor: r === "cat" ? i : "transparent",
|
|
1491
1489
|
borderColor: r === "cat" ? i : o
|
|
@@ -1495,7 +1493,7 @@ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu
|
|
|
1495
1493
|
/* @__PURE__ */ s(
|
|
1496
1494
|
"h4",
|
|
1497
1495
|
{
|
|
1498
|
-
className:
|
|
1496
|
+
className: F.optionText,
|
|
1499
1497
|
style: {
|
|
1500
1498
|
color: r === "cat" ? i : o
|
|
1501
1499
|
},
|
|
@@ -1508,13 +1506,13 @@ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu
|
|
|
1508
1506
|
/* @__PURE__ */ p(
|
|
1509
1507
|
"div",
|
|
1510
1508
|
{
|
|
1511
|
-
className:
|
|
1509
|
+
className: F.optionContainer,
|
|
1512
1510
|
onClick: () => c("abs"),
|
|
1513
1511
|
children: [
|
|
1514
1512
|
/* @__PURE__ */ s(
|
|
1515
1513
|
"span",
|
|
1516
1514
|
{
|
|
1517
|
-
className: `${
|
|
1515
|
+
className: `${F.customRadious}`,
|
|
1518
1516
|
style: {
|
|
1519
1517
|
backgroundColor: r === "abs" ? i : "transparent",
|
|
1520
1518
|
borderColor: r === "abs" ? i : o
|
|
@@ -1524,7 +1522,7 @@ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu
|
|
|
1524
1522
|
/* @__PURE__ */ s(
|
|
1525
1523
|
"h4",
|
|
1526
1524
|
{
|
|
1527
|
-
className:
|
|
1525
|
+
className: F.optionText,
|
|
1528
1526
|
style: {
|
|
1529
1527
|
color: r === "abs" ? i : o
|
|
1530
1528
|
},
|
|
@@ -1534,27 +1532,27 @@ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu
|
|
|
1534
1532
|
]
|
|
1535
1533
|
}
|
|
1536
1534
|
)
|
|
1537
|
-
] }) }) }),
|
|
1535
|
+
] }) }) }), y = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((C, b) => /* @__PURE__ */ p(
|
|
1538
1536
|
"div",
|
|
1539
1537
|
{
|
|
1540
|
-
className:
|
|
1538
|
+
className: F.optionContainer,
|
|
1541
1539
|
children: [
|
|
1542
1540
|
/* @__PURE__ */ s(
|
|
1543
1541
|
"span",
|
|
1544
1542
|
{
|
|
1545
|
-
className:
|
|
1543
|
+
className: F.customRadious
|
|
1546
1544
|
}
|
|
1547
1545
|
),
|
|
1548
|
-
/* @__PURE__ */ s("h4", { children: u(
|
|
1546
|
+
/* @__PURE__ */ s("h4", { children: u(C.unit) })
|
|
1549
1547
|
]
|
|
1550
1548
|
},
|
|
1551
|
-
|
|
1549
|
+
b
|
|
1552
1550
|
)) }) }) });
|
|
1553
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1551
|
+
return /* @__PURE__ */ p("div", { className: F.indicatorContainer, children: [
|
|
1554
1552
|
/* @__PURE__ */ p(
|
|
1555
1553
|
"div",
|
|
1556
1554
|
{
|
|
1557
|
-
className:
|
|
1555
|
+
className: F.indicatorNameContainer,
|
|
1558
1556
|
onClick: () => a({ indicator: n }),
|
|
1559
1557
|
children: [
|
|
1560
1558
|
/* @__PURE__ */ s(
|
|
@@ -1563,25 +1561,25 @@ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu
|
|
|
1563
1561
|
style: {
|
|
1564
1562
|
border: _ ? `1px solid ${i}` : `1px solid ${o}`
|
|
1565
1563
|
},
|
|
1566
|
-
className:
|
|
1564
|
+
className: F.dot
|
|
1567
1565
|
}
|
|
1568
1566
|
),
|
|
1569
1567
|
/* @__PURE__ */ s(
|
|
1570
1568
|
"h4",
|
|
1571
1569
|
{
|
|
1572
|
-
className:
|
|
1570
|
+
className: F.indicatorName,
|
|
1573
1571
|
style: { color: _ ? i : o },
|
|
1574
|
-
children: /* @__PURE__ */ s(
|
|
1572
|
+
children: /* @__PURE__ */ s(Ve, { i18nKey: m, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 })
|
|
1575
1573
|
}
|
|
1576
1574
|
)
|
|
1577
1575
|
]
|
|
1578
1576
|
}
|
|
1579
1577
|
),
|
|
1580
|
-
(t == null ? void 0 : t.name) === m &&
|
|
1581
|
-
(t == null ? void 0 : t.name) === m &&
|
|
1578
|
+
(t == null ? void 0 : t.name) === m && h === "both" && /* @__PURE__ */ s("div", { children: g() }),
|
|
1579
|
+
(t == null ? void 0 : t.name) === m && h === "twoUnits" && /* @__PURE__ */ s("div", { children: y() })
|
|
1582
1580
|
] });
|
|
1583
1581
|
};
|
|
1584
|
-
|
|
1582
|
+
Oe.propTypes = {
|
|
1585
1583
|
indicator: e.shape({
|
|
1586
1584
|
name: e.string,
|
|
1587
1585
|
type: e.string
|
|
@@ -1593,10 +1591,10 @@ Pe.propTypes = {
|
|
|
1593
1591
|
multiple: e.bool,
|
|
1594
1592
|
onClickIndicator: e.func
|
|
1595
1593
|
};
|
|
1596
|
-
const
|
|
1597
|
-
indicatorsSubCategory:
|
|
1598
|
-
list:
|
|
1599
|
-
},
|
|
1594
|
+
const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
1595
|
+
indicatorsSubCategory: u0,
|
|
1596
|
+
list: p0
|
|
1597
|
+
}, ct = ({
|
|
1600
1598
|
subcName: n,
|
|
1601
1599
|
indicators: d,
|
|
1602
1600
|
defaultColor: i,
|
|
@@ -1608,48 +1606,48 @@ const g0 = "_indicatorsSubCategory_1dzsi_2", C0 = "_list_1dzsi_8", Ue = {
|
|
|
1608
1606
|
onClickIndicator: c,
|
|
1609
1607
|
multiple: u,
|
|
1610
1608
|
activeIndicatorType: m,
|
|
1611
|
-
onChangeType:
|
|
1609
|
+
onChangeType: h
|
|
1612
1610
|
}) => {
|
|
1613
|
-
const { t: _ } = k(), [
|
|
1614
|
-
return
|
|
1615
|
-
|
|
1611
|
+
const { t: _ } = k(), [f, g] = L(!1);
|
|
1612
|
+
return $(() => {
|
|
1613
|
+
g(t == a);
|
|
1616
1614
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1617
|
-
|
|
1615
|
+
Ae.div,
|
|
1618
1616
|
{
|
|
1619
|
-
className:
|
|
1617
|
+
className: Ze.indicatorsSubCategory,
|
|
1620
1618
|
initial: { height: "43px" },
|
|
1621
|
-
animate: { height:
|
|
1619
|
+
animate: { height: f ? "auto" : "43px" },
|
|
1622
1620
|
transition: { duration: 0.4 },
|
|
1623
1621
|
children: [
|
|
1624
|
-
/* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color:
|
|
1625
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1622
|
+
/* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: f ? o : i }, children: [
|
|
1623
|
+
/* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
|
|
1626
1624
|
/* @__PURE__ */ s(
|
|
1627
1625
|
"span",
|
|
1628
1626
|
{
|
|
1629
|
-
style: { marginLeft: 12, color:
|
|
1627
|
+
style: { marginLeft: 12, color: f ? o : i },
|
|
1630
1628
|
children: _(n)
|
|
1631
1629
|
}
|
|
1632
1630
|
)
|
|
1633
1631
|
] }) }),
|
|
1634
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1635
|
-
|
|
1632
|
+
d && /* @__PURE__ */ s("div", { className: Ze.list, children: d == null ? void 0 : d.map((y, C) => /* @__PURE__ */ s(
|
|
1633
|
+
Oe,
|
|
1636
1634
|
{
|
|
1637
|
-
indicator:
|
|
1635
|
+
indicator: y,
|
|
1638
1636
|
defaultColor: i,
|
|
1639
1637
|
activeColor: o,
|
|
1640
1638
|
activeIndicator: l,
|
|
1641
1639
|
onClickIndicator: c,
|
|
1642
1640
|
multiple: u,
|
|
1643
1641
|
activeIndicatorType: m,
|
|
1644
|
-
onChangeType:
|
|
1642
|
+
onChangeType: h
|
|
1645
1643
|
},
|
|
1646
|
-
"indicator" +
|
|
1644
|
+
"indicator" + C
|
|
1647
1645
|
)) })
|
|
1648
1646
|
]
|
|
1649
1647
|
}
|
|
1650
1648
|
);
|
|
1651
1649
|
};
|
|
1652
|
-
|
|
1650
|
+
ct.propTypes = {
|
|
1653
1651
|
subcName: e.string,
|
|
1654
1652
|
indicators: e.array,
|
|
1655
1653
|
activeColor: e.string,
|
|
@@ -1661,7 +1659,7 @@ mt.propTypes = {
|
|
|
1661
1659
|
onClickSubCategory: e.func,
|
|
1662
1660
|
onClickIndicator: e.func
|
|
1663
1661
|
};
|
|
1664
|
-
const
|
|
1662
|
+
const dt = ({
|
|
1665
1663
|
cat: n,
|
|
1666
1664
|
id: d,
|
|
1667
1665
|
activeColor: i,
|
|
@@ -1673,75 +1671,75 @@ const ht = ({
|
|
|
1673
1671
|
activeIndicator: c,
|
|
1674
1672
|
onClickIndicator: u,
|
|
1675
1673
|
multiple: m,
|
|
1676
|
-
activeIndicatorType:
|
|
1674
|
+
activeIndicatorType: h,
|
|
1677
1675
|
onChangeType: _
|
|
1678
1676
|
}) => {
|
|
1679
|
-
var
|
|
1680
|
-
const { t:
|
|
1681
|
-
return
|
|
1682
|
-
|
|
1677
|
+
var C;
|
|
1678
|
+
const { t: f } = k(), [g, y] = L(!1);
|
|
1679
|
+
return $(() => {
|
|
1680
|
+
y(r === d);
|
|
1683
1681
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1684
|
-
|
|
1682
|
+
Ae.div,
|
|
1685
1683
|
{
|
|
1686
|
-
className:
|
|
1684
|
+
className: we.indicatorsCategory,
|
|
1687
1685
|
initial: { height: "53px" },
|
|
1688
|
-
animate: { height:
|
|
1686
|
+
animate: { height: g ? "auto" : "53px" },
|
|
1689
1687
|
transition: { duration: 0.4 },
|
|
1690
1688
|
style: {
|
|
1691
1689
|
backgroundColor: "white",
|
|
1692
|
-
borderBottom:
|
|
1693
|
-
marginBottom:
|
|
1690
|
+
borderBottom: g ? `1px solid ${i}` : "0px",
|
|
1691
|
+
marginBottom: g ? "20px" : "0px"
|
|
1694
1692
|
},
|
|
1695
1693
|
children: [
|
|
1696
|
-
/* @__PURE__ */ p("h2", { className: `${
|
|
1697
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1694
|
+
/* @__PURE__ */ p("h2", { className: `${we.title}`, onClick: () => t(d), children: [
|
|
1695
|
+
/* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
|
|
1698
1696
|
/* @__PURE__ */ s(
|
|
1699
1697
|
"span",
|
|
1700
1698
|
{
|
|
1701
|
-
style: { marginLeft: 12, color:
|
|
1702
|
-
children:
|
|
1699
|
+
style: { marginLeft: 12, color: g ? i : o },
|
|
1700
|
+
children: f(n.name)
|
|
1703
1701
|
}
|
|
1704
1702
|
)
|
|
1705
1703
|
] }),
|
|
1706
1704
|
n.subcategories ? n.subcategories.map(
|
|
1707
|
-
({ name:
|
|
1708
|
-
|
|
1705
|
+
({ name: b, subcategory: w, indicators: x }, v) => /* @__PURE__ */ s(
|
|
1706
|
+
ct,
|
|
1709
1707
|
{
|
|
1710
|
-
id:
|
|
1708
|
+
id: w,
|
|
1711
1709
|
activeSubCategory: a,
|
|
1712
|
-
subcName:
|
|
1710
|
+
subcName: b,
|
|
1713
1711
|
onClickSubCategory: l,
|
|
1714
1712
|
activeIndicator: c,
|
|
1715
1713
|
onClickIndicator: u,
|
|
1716
1714
|
multiple: m,
|
|
1717
1715
|
activeColor: i,
|
|
1718
1716
|
defaultColor: o,
|
|
1719
|
-
indicators:
|
|
1720
|
-
activeIndicatorType:
|
|
1717
|
+
indicators: x,
|
|
1718
|
+
activeIndicatorType: h,
|
|
1721
1719
|
onChangeType: _
|
|
1722
1720
|
},
|
|
1723
|
-
`subcKey ${
|
|
1721
|
+
`subcKey ${v}`
|
|
1724
1722
|
)
|
|
1725
|
-
) : /* @__PURE__ */ s("div", { className:
|
|
1726
|
-
|
|
1723
|
+
) : /* @__PURE__ */ s("div", { className: we.list, children: (C = n.indicators) == null ? void 0 : C.map((b, w) => /* @__PURE__ */ s(
|
|
1724
|
+
Oe,
|
|
1727
1725
|
{
|
|
1728
|
-
indicator:
|
|
1729
|
-
values:
|
|
1726
|
+
indicator: b,
|
|
1727
|
+
values: b.type == "twoUnits" && b.values,
|
|
1730
1728
|
activeColor: i,
|
|
1731
1729
|
defaultColor: o,
|
|
1732
1730
|
activeIndicator: c,
|
|
1733
1731
|
onClickIndicator: u,
|
|
1734
1732
|
multiple: m,
|
|
1735
|
-
activeIndicatorType:
|
|
1733
|
+
activeIndicatorType: h,
|
|
1736
1734
|
onChangeType: _
|
|
1737
1735
|
},
|
|
1738
|
-
`indicator${
|
|
1736
|
+
`indicator${w}`
|
|
1739
1737
|
)) })
|
|
1740
1738
|
]
|
|
1741
1739
|
}
|
|
1742
1740
|
);
|
|
1743
1741
|
};
|
|
1744
|
-
|
|
1742
|
+
dt.propTypes = {
|
|
1745
1743
|
cat: e.object,
|
|
1746
1744
|
id: e.string,
|
|
1747
1745
|
onChange: e.func,
|
|
@@ -1755,10 +1753,10 @@ ht.propTypes = {
|
|
|
1755
1753
|
activeColor: e.string,
|
|
1756
1754
|
defaultColor: e.string
|
|
1757
1755
|
};
|
|
1758
|
-
const
|
|
1759
|
-
indicatorsList:
|
|
1760
|
-
title:
|
|
1761
|
-
},
|
|
1756
|
+
const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
|
|
1757
|
+
indicatorsList: m0,
|
|
1758
|
+
title: h0
|
|
1759
|
+
}, g0 = ({
|
|
1762
1760
|
indicators: n,
|
|
1763
1761
|
activeColor: d,
|
|
1764
1762
|
defaultColor: i = "#92898A",
|
|
@@ -1772,64 +1770,64 @@ const f0 = "_indicatorsList_fklyu_2", b0 = "_title_fklyu_6", Ge = {
|
|
|
1772
1770
|
changeIndType: a,
|
|
1773
1771
|
activeIndicatorType: l
|
|
1774
1772
|
}) => {
|
|
1775
|
-
const { t: c } = k(), [u, m] =
|
|
1776
|
-
m(u ==
|
|
1777
|
-
},
|
|
1778
|
-
_(
|
|
1779
|
-
},
|
|
1780
|
-
console.log("onClickIndicator: ",
|
|
1781
|
-
},
|
|
1773
|
+
const { t: c } = k(), [u, m] = L(), [h, _] = L(), [f, g] = L(), y = (v) => {
|
|
1774
|
+
m(u == v ? null : v);
|
|
1775
|
+
}, C = (v) => {
|
|
1776
|
+
_(h == v ? null : v);
|
|
1777
|
+
}, b = ({ indicator: v }) => {
|
|
1778
|
+
console.log("onClickIndicator: ", v), w(v);
|
|
1779
|
+
}, w = (v) => {
|
|
1782
1780
|
if (!t)
|
|
1783
|
-
|
|
1784
|
-
(
|
|
1781
|
+
g(
|
|
1782
|
+
(f == null ? void 0 : f.name) == v.name ? null : v
|
|
1785
1783
|
);
|
|
1786
1784
|
else {
|
|
1787
|
-
let N =
|
|
1788
|
-
|
|
1785
|
+
let N = f && f.length > 0 ? [...f] : [];
|
|
1786
|
+
g(
|
|
1789
1787
|
N != null && N.some(
|
|
1790
|
-
(S) => S.name ==
|
|
1788
|
+
(S) => S.name == v.name
|
|
1791
1789
|
) ? N.filter(
|
|
1792
|
-
(S) => S.name != String(
|
|
1793
|
-
) : [...N,
|
|
1794
|
-
),
|
|
1790
|
+
(S) => S.name != String(v.name)
|
|
1791
|
+
) : [...N, v]
|
|
1792
|
+
), v.type == "both" && a("cat");
|
|
1795
1793
|
}
|
|
1796
1794
|
};
|
|
1797
|
-
|
|
1798
|
-
console.log("activeindicator changed to: ",
|
|
1799
|
-
}, [
|
|
1800
|
-
if (r && !
|
|
1795
|
+
$(() => {
|
|
1796
|
+
console.log("activeindicator changed to: ", f), o && typeof o == "function" && f && o({ activeIndicator: f });
|
|
1797
|
+
}, [f]), yt(() => {
|
|
1798
|
+
if (r && !f)
|
|
1801
1799
|
if (t && r && Array.isArray(r)) {
|
|
1802
|
-
let
|
|
1803
|
-
|
|
1800
|
+
let v = f && f.length > 0 ? [...f] : [];
|
|
1801
|
+
g([...v, ...r]), x(r[0].name);
|
|
1804
1802
|
} else
|
|
1805
|
-
|
|
1803
|
+
w(r), x(r.name);
|
|
1806
1804
|
}, []);
|
|
1807
|
-
const
|
|
1805
|
+
const x = (v) => {
|
|
1808
1806
|
const N = n.find((S) => {
|
|
1809
1807
|
if (S.subcategories) {
|
|
1810
|
-
let
|
|
1811
|
-
(
|
|
1808
|
+
let D = S.subcategories.find(
|
|
1809
|
+
(z) => z.indicators.find((ce) => ce.name == v)
|
|
1812
1810
|
);
|
|
1813
|
-
if (
|
|
1814
|
-
return _(
|
|
1811
|
+
if (D)
|
|
1812
|
+
return _(D.subcategory), D;
|
|
1815
1813
|
} else
|
|
1816
|
-
return S.indicators.some((
|
|
1814
|
+
return S.indicators.some((D) => D.name == v);
|
|
1817
1815
|
});
|
|
1818
1816
|
N && m(N.category);
|
|
1819
1817
|
};
|
|
1820
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1821
|
-
/* @__PURE__ */ s("h2", { className:
|
|
1822
|
-
n.map((
|
|
1823
|
-
|
|
1818
|
+
return /* @__PURE__ */ p("div", { className: Ke.indicatorsList, children: [
|
|
1819
|
+
/* @__PURE__ */ s("h2", { className: Ke.title, style: { color: i }, children: c("indicators.indicators") }),
|
|
1820
|
+
n.map((v, N) => /* @__PURE__ */ s(
|
|
1821
|
+
dt,
|
|
1824
1822
|
{
|
|
1825
|
-
id:
|
|
1826
|
-
cat:
|
|
1827
|
-
onClickCategory:
|
|
1823
|
+
id: v.category,
|
|
1824
|
+
cat: v,
|
|
1825
|
+
onClickCategory: y,
|
|
1828
1826
|
activeCategory: u,
|
|
1829
|
-
onClickSubCategory:
|
|
1830
|
-
activeSubCategory:
|
|
1831
|
-
onClickIndicator:
|
|
1832
|
-
activeIndicator:
|
|
1827
|
+
onClickSubCategory: C,
|
|
1828
|
+
activeSubCategory: h,
|
|
1829
|
+
onClickIndicator: b,
|
|
1830
|
+
activeIndicator: f,
|
|
1833
1831
|
activeColor: d,
|
|
1834
1832
|
defaultColor: i,
|
|
1835
1833
|
multiple: t,
|
|
@@ -1841,7 +1839,7 @@ const f0 = "_indicatorsList_fklyu_2", b0 = "_title_fklyu_6", Ge = {
|
|
|
1841
1839
|
))
|
|
1842
1840
|
] });
|
|
1843
1841
|
};
|
|
1844
|
-
|
|
1842
|
+
g0.propTypes = {
|
|
1845
1843
|
indicators: e.arrayOf(e.object),
|
|
1846
1844
|
activeColor: e.string,
|
|
1847
1845
|
defaultColor: e.string,
|
|
@@ -1852,35 +1850,35 @@ _0.propTypes = {
|
|
|
1852
1850
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1853
1851
|
activeIndicatorType: e.string
|
|
1854
1852
|
};
|
|
1855
|
-
const
|
|
1856
|
-
langSelector:
|
|
1857
|
-
currentLang:
|
|
1858
|
-
arrow:
|
|
1859
|
-
prevImg:
|
|
1860
|
-
langMenu:
|
|
1861
|
-
},
|
|
1862
|
-
const [o, t] =
|
|
1853
|
+
const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o9enq_26", y0 = "_prevImg_o9enq_29", _0 = "_langMenu_o9enq_33", J = {
|
|
1854
|
+
langSelector: C0,
|
|
1855
|
+
currentLang: f0,
|
|
1856
|
+
arrow: b0,
|
|
1857
|
+
prevImg: y0,
|
|
1858
|
+
langMenu: _0
|
|
1859
|
+
}, v0 = ({ langs: n, arrow: d, imgPrev: i }) => {
|
|
1860
|
+
const [o, t] = L(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1863
1861
|
r.changeLanguage(c), t(!1);
|
|
1864
1862
|
};
|
|
1865
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1863
|
+
return /* @__PURE__ */ p("div", { className: J.langSelector, children: [
|
|
1866
1864
|
/* @__PURE__ */ p(
|
|
1867
1865
|
"div",
|
|
1868
1866
|
{
|
|
1869
|
-
className:
|
|
1867
|
+
className: J.currentLang,
|
|
1870
1868
|
onClick: () => {
|
|
1871
1869
|
t(!o);
|
|
1872
1870
|
},
|
|
1873
1871
|
children: [
|
|
1874
|
-
i && /* @__PURE__ */ s("img", { className:
|
|
1872
|
+
i && /* @__PURE__ */ s("img", { className: J.prevImg, src: i }),
|
|
1875
1873
|
(a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
|
|
1876
|
-
/* @__PURE__ */ s("img", { src: d, className:
|
|
1874
|
+
/* @__PURE__ */ s("img", { src: d, className: J.arrow })
|
|
1877
1875
|
]
|
|
1878
1876
|
}
|
|
1879
1877
|
),
|
|
1880
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
1878
|
+
o && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1881
1879
|
"button",
|
|
1882
1880
|
{
|
|
1883
|
-
className: (a == null ? void 0 : a.code) == c.code ?
|
|
1881
|
+
className: (a == null ? void 0 : a.code) == c.code ? J.active : "",
|
|
1884
1882
|
onClick: () => l(c.code),
|
|
1885
1883
|
children: c.title
|
|
1886
1884
|
},
|
|
@@ -1888,7 +1886,7 @@ const y0 = "_langSelector_o9enq_2", v0 = "_currentLang_o9enq_14", x0 = "_arrow_o
|
|
|
1888
1886
|
)) })
|
|
1889
1887
|
] });
|
|
1890
1888
|
};
|
|
1891
|
-
|
|
1889
|
+
v0.propTypes = {
|
|
1892
1890
|
langs: e.arrayOf(
|
|
1893
1891
|
e.shape({
|
|
1894
1892
|
code: e.string,
|
|
@@ -1902,23 +1900,23 @@ k0.propTypes = {
|
|
|
1902
1900
|
arrow: e.object,
|
|
1903
1901
|
imgPrev: e.object
|
|
1904
1902
|
};
|
|
1905
|
-
const
|
|
1906
|
-
legendContainer:
|
|
1907
|
-
closeButton:
|
|
1908
|
-
titleContainer:
|
|
1909
|
-
infoContainer:
|
|
1910
|
-
titleLegendList:
|
|
1911
|
-
legendListContainer:
|
|
1912
|
-
gridContainer:
|
|
1913
|
-
elementLegendContainer:
|
|
1914
|
-
colorDot:
|
|
1915
|
-
absoluteValueContainer:
|
|
1916
|
-
absoluteValueColor:
|
|
1917
|
-
absoluteValueText:
|
|
1918
|
-
noDataContainer:
|
|
1919
|
-
noData:
|
|
1920
|
-
moreInfoContainer:
|
|
1921
|
-
},
|
|
1903
|
+
const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titleContainer_qs4x9_59", k0 = "_infoContainer_qs4x9_65", B0 = "_titleLegendList_qs4x9_76", S0 = "_legendListContainer_qs4x9_82", D0 = "_gridContainer_qs4x9_82", M0 = "_elementLegendContainer_qs4x9_88", L0 = "_colorDot_qs4x9_94", $0 = "_absoluteValueContainer_qs4x9_100", F0 = "_absoluteValueColor_qs4x9_103", T0 = "_absoluteValueText_qs4x9_108", V0 = "_noDataContainer_qs4x9_120", A0 = "_noData_qs4x9_120", I0 = "_moreInfoContainer_qs4x9_141", M = {
|
|
1904
|
+
legendContainer: w0,
|
|
1905
|
+
closeButton: x0,
|
|
1906
|
+
titleContainer: N0,
|
|
1907
|
+
infoContainer: k0,
|
|
1908
|
+
titleLegendList: B0,
|
|
1909
|
+
legendListContainer: S0,
|
|
1910
|
+
gridContainer: D0,
|
|
1911
|
+
elementLegendContainer: M0,
|
|
1912
|
+
colorDot: L0,
|
|
1913
|
+
absoluteValueContainer: $0,
|
|
1914
|
+
absoluteValueColor: F0,
|
|
1915
|
+
absoluteValueText: T0,
|
|
1916
|
+
noDataContainer: V0,
|
|
1917
|
+
noData: A0,
|
|
1918
|
+
moreInfoContainer: I0
|
|
1919
|
+
}, O0 = ({
|
|
1922
1920
|
//JSON with the styles of the container (optional)
|
|
1923
1921
|
containerStyles: n,
|
|
1924
1922
|
//Title on top of the legend
|
|
@@ -1946,30 +1944,30 @@ const B0 = "_legendContainer_qs4x9_3", S0 = "_closeButton_qs4x9_31", $0 = "_titl
|
|
|
1946
1944
|
"div",
|
|
1947
1945
|
{
|
|
1948
1946
|
style: n ? { ...n } : {},
|
|
1949
|
-
className: `${
|
|
1947
|
+
className: `${M.legendContainer}`,
|
|
1950
1948
|
children: [
|
|
1951
|
-
/* @__PURE__ */ s("button", { className:
|
|
1952
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1953
|
-
i && i.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
1954
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1955
|
-
/* @__PURE__ */ p("span", { className:
|
|
1949
|
+
/* @__PURE__ */ s("button", { className: M.closeButton, onClick: c }),
|
|
1950
|
+
d && /* @__PURE__ */ s("div", { className: M.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1951
|
+
i && i.length > 0 && /* @__PURE__ */ s("div", { className: M.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: m, value: h }) => /* @__PURE__ */ p("li", { children: [
|
|
1952
|
+
/* @__PURE__ */ s("h3", { className: M.title, children: `${m}:` }),
|
|
1953
|
+
/* @__PURE__ */ p("span", { className: M.value, children: [
|
|
1956
1954
|
" ",
|
|
1957
|
-
|
|
1955
|
+
h
|
|
1958
1956
|
] })
|
|
1959
1957
|
] }, d)) }) }),
|
|
1960
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1961
|
-
/* @__PURE__ */ p("div", { className:
|
|
1962
|
-
r ? /* @__PURE__ */ p("div", { className:
|
|
1958
|
+
/* @__PURE__ */ s("h3", { className: M.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
|
|
1959
|
+
/* @__PURE__ */ p("div", { className: M.legendListContainer, children: [
|
|
1960
|
+
r ? /* @__PURE__ */ p("div", { className: M.absoluteValueContainer, children: [
|
|
1963
1961
|
/* @__PURE__ */ s(
|
|
1964
1962
|
"div",
|
|
1965
1963
|
{
|
|
1966
|
-
className:
|
|
1964
|
+
className: M.absoluteValueColor,
|
|
1967
1965
|
style: {
|
|
1968
1966
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
1969
1967
|
}
|
|
1970
1968
|
}
|
|
1971
1969
|
),
|
|
1972
|
-
/* @__PURE__ */ p("div", { className:
|
|
1970
|
+
/* @__PURE__ */ p("div", { className: M.absoluteValueText, children: [
|
|
1973
1971
|
/* @__PURE__ */ p("span", { children: [
|
|
1974
1972
|
r.maxValue,
|
|
1975
1973
|
" ",
|
|
@@ -1986,40 +1984,40 @@ const B0 = "_legendContainer_qs4x9_3", S0 = "_closeButton_qs4x9_31", $0 = "_titl
|
|
|
1986
1984
|
u(r.unit)
|
|
1987
1985
|
] })
|
|
1988
1986
|
] })
|
|
1989
|
-
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
1990
|
-
({ title: m, color:
|
|
1987
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: M.gridContainer, children: o.map(
|
|
1988
|
+
({ title: m, color: h }) => /* @__PURE__ */ p("div", { className: M.elementLegendContainer, children: [
|
|
1991
1989
|
/* @__PURE__ */ s(
|
|
1992
1990
|
"div",
|
|
1993
1991
|
{
|
|
1994
|
-
className:
|
|
1995
|
-
style: { backgroundColor:
|
|
1992
|
+
className: M.colorDot,
|
|
1993
|
+
style: { backgroundColor: h }
|
|
1996
1994
|
}
|
|
1997
1995
|
),
|
|
1998
|
-
/* @__PURE__ */ p("div", { className:
|
|
1996
|
+
/* @__PURE__ */ p("div", { className: M.titleLegendElement, children: [
|
|
1999
1997
|
u(m),
|
|
2000
1998
|
" "
|
|
2001
1999
|
] })
|
|
2002
2000
|
] }, d)
|
|
2003
2001
|
) }),
|
|
2004
|
-
r.noDataColor && /* @__PURE__ */ p("div", { className:
|
|
2002
|
+
r.noDataColor && /* @__PURE__ */ p("div", { className: M.noDataContainer, children: [
|
|
2005
2003
|
/* @__PURE__ */ s(
|
|
2006
2004
|
"div",
|
|
2007
2005
|
{
|
|
2008
|
-
className:
|
|
2006
|
+
className: M.noData,
|
|
2009
2007
|
style: {
|
|
2010
2008
|
background: r.noDataColor
|
|
2011
2009
|
}
|
|
2012
2010
|
}
|
|
2013
2011
|
),
|
|
2014
|
-
/* @__PURE__ */ s("div", { className:
|
|
2012
|
+
/* @__PURE__ */ s("div", { className: M.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
|
|
2015
2013
|
] })
|
|
2016
2014
|
] }),
|
|
2017
|
-
a && /* @__PURE__ */ s("button", { className:
|
|
2015
|
+
a && /* @__PURE__ */ s("button", { className: M.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
|
|
2018
2016
|
]
|
|
2019
2017
|
}
|
|
2020
2018
|
);
|
|
2021
2019
|
};
|
|
2022
|
-
|
|
2020
|
+
O0.propTypes = {
|
|
2023
2021
|
title: e.string,
|
|
2024
2022
|
containerStyles: e.object,
|
|
2025
2023
|
infoList: e.arrayOf(
|
|
@@ -2046,23 +2044,23 @@ P0.propTypes = {
|
|
|
2046
2044
|
onClickClose: e.func,
|
|
2047
2045
|
noDataColor: e.string
|
|
2048
2046
|
};
|
|
2049
|
-
const
|
|
2050
|
-
logo:
|
|
2051
|
-
},
|
|
2047
|
+
const R0 = "_logo_1ewa6_2", He = {
|
|
2048
|
+
logo: R0
|
|
2049
|
+
}, q0 = ({ src: n, alt: d, href: i }) => {
|
|
2052
2050
|
const { t: o } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: o(d) });
|
|
2053
|
-
return i ? /* @__PURE__ */ s("div", { className:
|
|
2051
|
+
return i ? /* @__PURE__ */ s("div", { className: He.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: He.logo, children: t });
|
|
2054
2052
|
};
|
|
2055
|
-
|
|
2053
|
+
q0.propTypes = {
|
|
2056
2054
|
src: e.string.isRequired,
|
|
2057
2055
|
alt: e.string.isRequired,
|
|
2058
2056
|
href: e.string,
|
|
2059
2057
|
className: e.string
|
|
2060
2058
|
};
|
|
2061
|
-
const
|
|
2062
|
-
mapContainer:
|
|
2059
|
+
const E0 = "_mapContainer_84pkf_2", P0 = {
|
|
2060
|
+
mapContainer: E0
|
|
2063
2061
|
};
|
|
2064
|
-
|
|
2065
|
-
const
|
|
2062
|
+
vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2063
|
+
const z0 = ({
|
|
2066
2064
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2067
2065
|
maxZoom: d = 17,
|
|
2068
2066
|
minZoom: i = 8,
|
|
@@ -2075,19 +2073,19 @@ const H0 = ({
|
|
|
2075
2073
|
sources: u = [],
|
|
2076
2074
|
layers: m = []
|
|
2077
2075
|
}) => {
|
|
2078
|
-
const
|
|
2079
|
-
return
|
|
2080
|
-
if (
|
|
2081
|
-
const
|
|
2082
|
-
|
|
2083
|
-
|
|
2076
|
+
const h = ne(), [_, f] = L(null), g = wt((y) => y.mapState.showTexts);
|
|
2077
|
+
return $(() => {
|
|
2078
|
+
if (h.current) {
|
|
2079
|
+
const y = h.current.getMap();
|
|
2080
|
+
y.getStyle().layers.map((b) => {
|
|
2081
|
+
b.type == "symbol" && b.id != "professionals" && (g ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
|
|
2084
2082
|
});
|
|
2085
2083
|
}
|
|
2086
|
-
}, [
|
|
2087
|
-
|
|
2084
|
+
}, [g]), /* @__PURE__ */ s("div", { className: `${P0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2085
|
+
Nt,
|
|
2088
2086
|
{
|
|
2089
2087
|
initialViewState: n,
|
|
2090
|
-
ref:
|
|
2088
|
+
ref: h,
|
|
2091
2089
|
hash: !1,
|
|
2092
2090
|
maxZoom: d,
|
|
2093
2091
|
minZoom: i,
|
|
@@ -2095,31 +2093,31 @@ const H0 = ({
|
|
|
2095
2093
|
onClick: a,
|
|
2096
2094
|
interactiveLayerIds: l,
|
|
2097
2095
|
children: [
|
|
2098
|
-
u.length && u.map((
|
|
2099
|
-
|
|
2096
|
+
u.length && u.map((y, C) => /* @__PURE__ */ s(
|
|
2097
|
+
kt,
|
|
2100
2098
|
{
|
|
2101
|
-
...
|
|
2102
|
-
children: m.length && m.map((
|
|
2103
|
-
if (
|
|
2104
|
-
|
|
2099
|
+
...y,
|
|
2100
|
+
children: m.length && m.map((b, w) => {
|
|
2101
|
+
if (b.sourceId == y.id) return /* @__PURE__ */ s(
|
|
2102
|
+
Bt,
|
|
2105
2103
|
{
|
|
2106
|
-
...
|
|
2104
|
+
...b.layer,
|
|
2107
2105
|
beforeId: t
|
|
2108
2106
|
},
|
|
2109
|
-
|
|
2107
|
+
w
|
|
2110
2108
|
);
|
|
2111
2109
|
})
|
|
2112
2110
|
},
|
|
2113
|
-
|
|
2111
|
+
C
|
|
2114
2112
|
)),
|
|
2115
|
-
/* @__PURE__ */ s(
|
|
2113
|
+
/* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
|
|
2116
2114
|
c && _ && /* @__PURE__ */ s(
|
|
2117
|
-
|
|
2115
|
+
Dt,
|
|
2118
2116
|
{
|
|
2119
2117
|
longitude: c.longitude,
|
|
2120
2118
|
latitude: c.latitude,
|
|
2121
2119
|
anchor: c.anchor,
|
|
2122
|
-
onClose: () =>
|
|
2120
|
+
onClose: () => f(null),
|
|
2123
2121
|
children: c.content
|
|
2124
2122
|
}
|
|
2125
2123
|
)
|
|
@@ -2127,7 +2125,7 @@ const H0 = ({
|
|
|
2127
2125
|
}
|
|
2128
2126
|
) });
|
|
2129
2127
|
};
|
|
2130
|
-
|
|
2128
|
+
z0.propTypes = {
|
|
2131
2129
|
initialView: e.shape({
|
|
2132
2130
|
latitude: e.number.isRequired,
|
|
2133
2131
|
longitude: e.number.isRequired,
|
|
@@ -2172,25 +2170,25 @@ H0.propTypes = {
|
|
|
2172
2170
|
})
|
|
2173
2171
|
)
|
|
2174
2172
|
};
|
|
2175
|
-
const
|
|
2176
|
-
mapContainer:
|
|
2177
|
-
},
|
|
2178
|
-
FeaturePopUp:
|
|
2179
|
-
title:
|
|
2180
|
-
},
|
|
2173
|
+
const j0 = "_mapContainer_b0pyr_3", Z0 = {
|
|
2174
|
+
mapContainer: j0
|
|
2175
|
+
}, K0 = "_FeaturePopUp_mt8l5_2", H0 = "_title_mt8l5_9", Ue = {
|
|
2176
|
+
FeaturePopUp: K0,
|
|
2177
|
+
title: H0
|
|
2178
|
+
}, U0 = ({ props: n }) => {
|
|
2181
2179
|
const { t: d } = k();
|
|
2182
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2183
|
-
/* @__PURE__ */ p("span", { className:
|
|
2184
|
-
/* @__PURE__ */ s(
|
|
2180
|
+
return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
|
|
2181
|
+
/* @__PURE__ */ p("span", { className: Ue.title, children: [
|
|
2182
|
+
/* @__PURE__ */ s(Ve, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
|
|
2185
2183
|
":"
|
|
2186
2184
|
] }),
|
|
2187
|
-
isNaN(i.value) ? /* @__PURE__ */ s(
|
|
2185
|
+
isNaN(i.value) ? /* @__PURE__ */ s(De, { children: d(i.value) }) : /* @__PURE__ */ p(De, { children: [
|
|
2188
2186
|
i.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2189
2187
|
" ",
|
|
2190
2188
|
d(i.unit)
|
|
2191
2189
|
] })
|
|
2192
2190
|
] })) });
|
|
2193
|
-
},
|
|
2191
|
+
}, G0 = ({
|
|
2194
2192
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2195
2193
|
maxZoom: d = 17,
|
|
2196
2194
|
minZoom: i = 8,
|
|
@@ -2202,30 +2200,30 @@ const U0 = "_mapContainer_b0pyr_3", G0 = {
|
|
|
2202
2200
|
sources: c = [],
|
|
2203
2201
|
layers: u = [],
|
|
2204
2202
|
filters: m,
|
|
2205
|
-
popUpParams:
|
|
2203
|
+
popUpParams: h,
|
|
2206
2204
|
onClosePopUp: _,
|
|
2207
|
-
showTexts:
|
|
2205
|
+
showTexts: f
|
|
2208
2206
|
}) => {
|
|
2209
2207
|
console.log(m);
|
|
2210
|
-
const
|
|
2211
|
-
return
|
|
2212
|
-
if (
|
|
2213
|
-
const
|
|
2214
|
-
|
|
2215
|
-
|
|
2208
|
+
const g = ne();
|
|
2209
|
+
return $(() => {
|
|
2210
|
+
if (g.current) {
|
|
2211
|
+
const y = g.current.getMap();
|
|
2212
|
+
y.getStyle().layers.map((b) => {
|
|
2213
|
+
b.type == "symbol" && b.id != "professionals" && (f ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
|
|
2216
2214
|
});
|
|
2217
2215
|
}
|
|
2218
|
-
}, [
|
|
2219
|
-
let
|
|
2220
|
-
return
|
|
2221
|
-
|
|
2216
|
+
}, [f]), $(() => {
|
|
2217
|
+
let y = new Mt();
|
|
2218
|
+
return be.addProtocol("pmtiles", y.tile), () => {
|
|
2219
|
+
be.removeProtocol("pmtiles");
|
|
2222
2220
|
};
|
|
2223
|
-
}, []), /* @__PURE__ */ s("div", { className: `${
|
|
2224
|
-
|
|
2221
|
+
}, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2222
|
+
Lt,
|
|
2225
2223
|
{
|
|
2226
|
-
mapLib:
|
|
2224
|
+
mapLib: be,
|
|
2227
2225
|
initialViewState: n,
|
|
2228
|
-
ref:
|
|
2226
|
+
ref: g,
|
|
2229
2227
|
hash: !1,
|
|
2230
2228
|
maxZoom: d,
|
|
2231
2229
|
minZoom: i,
|
|
@@ -2233,39 +2231,39 @@ const U0 = "_mapContainer_b0pyr_3", G0 = {
|
|
|
2233
2231
|
onClick: a,
|
|
2234
2232
|
interactiveLayerIds: l,
|
|
2235
2233
|
children: [
|
|
2236
|
-
c.length && c.map((
|
|
2237
|
-
|
|
2234
|
+
c.length && c.map((y, C) => /* @__PURE__ */ s(
|
|
2235
|
+
$t,
|
|
2238
2236
|
{
|
|
2239
|
-
...
|
|
2240
|
-
children: u.length && u.map((
|
|
2241
|
-
if (
|
|
2242
|
-
|
|
2237
|
+
...y,
|
|
2238
|
+
children: u.length && u.map((b, w) => {
|
|
2239
|
+
if (b.sourceId == y.id) return /* @__PURE__ */ s(
|
|
2240
|
+
Ft,
|
|
2243
2241
|
{
|
|
2244
|
-
...
|
|
2242
|
+
...b.layer,
|
|
2245
2243
|
beforeId: t,
|
|
2246
2244
|
filter: m && m
|
|
2247
2245
|
},
|
|
2248
|
-
|
|
2246
|
+
w
|
|
2249
2247
|
);
|
|
2250
2248
|
})
|
|
2251
2249
|
},
|
|
2252
|
-
|
|
2250
|
+
C
|
|
2253
2251
|
)),
|
|
2254
|
-
/* @__PURE__ */ s(
|
|
2255
|
-
|
|
2256
|
-
|
|
2252
|
+
/* @__PURE__ */ s(Tt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2253
|
+
h && /* @__PURE__ */ s(
|
|
2254
|
+
Vt,
|
|
2257
2255
|
{
|
|
2258
|
-
longitude:
|
|
2259
|
-
latitude:
|
|
2256
|
+
longitude: h.lng,
|
|
2257
|
+
latitude: h.lat,
|
|
2260
2258
|
onClose: _,
|
|
2261
|
-
children: /* @__PURE__ */ s(
|
|
2259
|
+
children: /* @__PURE__ */ s(U0, { props: h.props })
|
|
2262
2260
|
}
|
|
2263
2261
|
)
|
|
2264
2262
|
]
|
|
2265
2263
|
}
|
|
2266
2264
|
) });
|
|
2267
2265
|
};
|
|
2268
|
-
|
|
2266
|
+
G0.propTypes = {
|
|
2269
2267
|
initialView: e.shape({
|
|
2270
2268
|
latitude: e.number.isRequired,
|
|
2271
2269
|
longitude: e.number.isRequired,
|
|
@@ -2308,14 +2306,14 @@ X0.propTypes = {
|
|
|
2308
2306
|
popUpParams: e.object,
|
|
2309
2307
|
onClosePopUp: e.func
|
|
2310
2308
|
};
|
|
2311
|
-
const
|
|
2312
|
-
sectionBar:
|
|
2313
|
-
leftContent:
|
|
2314
|
-
textContainer:
|
|
2315
|
-
title:
|
|
2316
|
-
subtitle:
|
|
2317
|
-
rightContent:
|
|
2318
|
-
},
|
|
2309
|
+
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", H = {
|
|
2310
|
+
sectionBar: Y0,
|
|
2311
|
+
leftContent: W0,
|
|
2312
|
+
textContainer: Q0,
|
|
2313
|
+
title: X0,
|
|
2314
|
+
subtitle: J0,
|
|
2315
|
+
rightContent: en
|
|
2316
|
+
}, oi = ({
|
|
2319
2317
|
leftIcon: n,
|
|
2320
2318
|
title: d,
|
|
2321
2319
|
subtitle: i,
|
|
@@ -2324,17 +2322,17 @@ const J0 = "_sectionBar_1egwc_2", en = "_leftContent_1egwc_14", tn = "_textConta
|
|
|
2324
2322
|
width: r
|
|
2325
2323
|
}) => {
|
|
2326
2324
|
const { t: a } = k();
|
|
2327
|
-
return /* @__PURE__ */ p("div", { className:
|
|
2328
|
-
/* @__PURE__ */ p("div", { className:
|
|
2329
|
-
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className:
|
|
2330
|
-
/* @__PURE__ */ p("div", { className:
|
|
2331
|
-
/* @__PURE__ */ s("div", { className:
|
|
2332
|
-
i && /* @__PURE__ */ s("div", { className:
|
|
2325
|
+
return /* @__PURE__ */ p("div", { className: H.sectionBar, style: { width: r && r }, children: [
|
|
2326
|
+
/* @__PURE__ */ p("div", { className: H.leftContent, children: [
|
|
2327
|
+
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
|
|
2328
|
+
/* @__PURE__ */ p("div", { className: H.textContainer, children: [
|
|
2329
|
+
/* @__PURE__ */ s("div", { className: H.title, children: a(d) }),
|
|
2330
|
+
i && /* @__PURE__ */ s("div", { className: H.subtitle, children: i })
|
|
2333
2331
|
] })
|
|
2334
2332
|
] }),
|
|
2335
|
-
/* @__PURE__ */ s("div", { className:
|
|
2333
|
+
/* @__PURE__ */ s("div", { className: H.rightContent, children: o })
|
|
2336
2334
|
] });
|
|
2337
|
-
},
|
|
2335
|
+
}, tn = At({
|
|
2338
2336
|
name: "mapSlice",
|
|
2339
2337
|
initialState: {
|
|
2340
2338
|
showTexts: !0,
|
|
@@ -2360,36 +2358,36 @@ const J0 = "_sectionBar_1egwc_2", en = "_leftContent_1egwc_14", tn = "_textConta
|
|
|
2360
2358
|
n.activeIndicatorUnit = d.payload;
|
|
2361
2359
|
}
|
|
2362
2360
|
}
|
|
2363
|
-
}), { setShowTexts:
|
|
2364
|
-
slider:
|
|
2365
|
-
playButton:
|
|
2366
|
-
sliderOpen:
|
|
2367
|
-
sliderResults:
|
|
2368
|
-
},
|
|
2369
|
-
const [a, l] =
|
|
2370
|
-
l(
|
|
2371
|
-
}, [m,
|
|
2372
|
-
|
|
2373
|
-
},
|
|
2374
|
-
|
|
2361
|
+
}), { setShowTexts: si, setYear: xe, setActiveIndicatorKey: ri, setActiveIndicatorType: ai, setActiveIndicatorUnit: li } = 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", oe = {
|
|
2362
|
+
slider: sn,
|
|
2363
|
+
playButton: rn,
|
|
2364
|
+
sliderOpen: an,
|
|
2365
|
+
sliderResults: ln
|
|
2366
|
+
}, cn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2367
|
+
const [a, l] = L(d), c = xt(), u = (b, w) => {
|
|
2368
|
+
l(w), c(xe(w - 2e3));
|
|
2369
|
+
}, [m, h] = L(!1), _ = () => {
|
|
2370
|
+
h(!0);
|
|
2371
|
+
}, f = () => {
|
|
2372
|
+
h(!1);
|
|
2375
2373
|
};
|
|
2376
|
-
((
|
|
2377
|
-
const
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
}, [
|
|
2381
|
-
function
|
|
2382
|
-
|
|
2374
|
+
((b, w) => {
|
|
2375
|
+
const x = ne();
|
|
2376
|
+
$(() => {
|
|
2377
|
+
x.current = b;
|
|
2378
|
+
}, [b]), $(() => {
|
|
2379
|
+
function v() {
|
|
2380
|
+
x.current();
|
|
2383
2381
|
}
|
|
2384
2382
|
{
|
|
2385
|
-
let N = setInterval(
|
|
2383
|
+
let N = setInterval(v, w);
|
|
2386
2384
|
return () => clearInterval(N);
|
|
2387
2385
|
}
|
|
2388
|
-
}, [
|
|
2386
|
+
}, [w]);
|
|
2389
2387
|
})(() => {
|
|
2390
|
-
m && (a != 2050 ? (l(a + 1), c(
|
|
2388
|
+
m && (a != 2050 ? (l(a + 1), c(xe(a - 2e3 + 1))) : (l(2025), c(xe(25))));
|
|
2391
2389
|
}, 1e3);
|
|
2392
|
-
const
|
|
2390
|
+
const y = Ot({
|
|
2393
2391
|
palette: {
|
|
2394
2392
|
primary: {
|
|
2395
2393
|
main: "#605b56"
|
|
@@ -2411,28 +2409,28 @@ const J0 = "_sectionBar_1egwc_2", en = "_leftContent_1egwc_14", tn = "_textConta
|
|
|
2411
2409
|
}
|
|
2412
2410
|
}
|
|
2413
2411
|
}
|
|
2414
|
-
}),
|
|
2412
|
+
}), C = [
|
|
2415
2413
|
{ label: "", value: 2025 },
|
|
2416
2414
|
{ label: "", value: 2032 },
|
|
2417
2415
|
{ label: "", value: 2041 },
|
|
2418
2416
|
{ label: "", value: 2050 }
|
|
2419
2417
|
];
|
|
2420
|
-
return /* @__PURE__ */ s(
|
|
2421
|
-
|
|
2418
|
+
return /* @__PURE__ */ s(qt, { theme: y, children: /* @__PURE__ */ p(
|
|
2419
|
+
Rt,
|
|
2422
2420
|
{
|
|
2423
2421
|
sx: { width: 400 },
|
|
2424
|
-
className: `${n ?
|
|
2422
|
+
className: `${n ? oe.sliderResults : oe.slider} ${r ? oe.sliderOpen : ""}`,
|
|
2425
2423
|
style: { zIndex: t },
|
|
2426
2424
|
children: [
|
|
2427
2425
|
i,
|
|
2428
2426
|
/* @__PURE__ */ s(
|
|
2429
|
-
|
|
2427
|
+
It,
|
|
2430
2428
|
{
|
|
2431
2429
|
"aria-label": "TimeSlider",
|
|
2432
2430
|
value: a,
|
|
2433
2431
|
valueLabelDisplay: "on",
|
|
2434
2432
|
step: 1,
|
|
2435
|
-
marks:
|
|
2433
|
+
marks: C,
|
|
2436
2434
|
min: i,
|
|
2437
2435
|
max: o,
|
|
2438
2436
|
onChange: u,
|
|
@@ -2441,13 +2439,13 @@ const J0 = "_sectionBar_1egwc_2", en = "_leftContent_1egwc_14", tn = "_textConta
|
|
|
2441
2439
|
}
|
|
2442
2440
|
),
|
|
2443
2441
|
o,
|
|
2444
|
-
!m && /* @__PURE__ */ s("button", { className:
|
|
2445
|
-
m && /* @__PURE__ */ s("button", { className:
|
|
2442
|
+
!m && /* @__PURE__ */ s("button", { className: oe.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
|
|
2443
|
+
m && /* @__PURE__ */ s("button", { className: oe.playButton, onClick: f, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
|
|
2446
2444
|
]
|
|
2447
2445
|
}
|
|
2448
2446
|
) });
|
|
2449
2447
|
};
|
|
2450
|
-
|
|
2448
|
+
cn.propTypes = {
|
|
2451
2449
|
defaultYear: e.number,
|
|
2452
2450
|
onResults: e.bool,
|
|
2453
2451
|
firstYear: e.number,
|
|
@@ -2455,11 +2453,11 @@ mn.propTypes = {
|
|
|
2455
2453
|
zIndex: e.number,
|
|
2456
2454
|
rightBarOpen: e.bool
|
|
2457
2455
|
};
|
|
2458
|
-
const
|
|
2459
|
-
TopNavMenuContainer:
|
|
2460
|
-
topNavOptions:
|
|
2461
|
-
active:
|
|
2462
|
-
},
|
|
2456
|
+
const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn = "_active_12mp4_27", Ne = {
|
|
2457
|
+
TopNavMenuContainer: dn,
|
|
2458
|
+
topNavOptions: un,
|
|
2459
|
+
active: pn
|
|
2460
|
+
}, mn = ({
|
|
2463
2461
|
options: n = [],
|
|
2464
2462
|
containerStyles: d,
|
|
2465
2463
|
borderColor: i = "red",
|
|
@@ -2469,11 +2467,11 @@ const hn = "_TopNavMenuContainer_12mp4_2", gn = "_topNavOptions_12mp4_13", Cn =
|
|
|
2469
2467
|
}
|
|
2470
2468
|
}) => {
|
|
2471
2469
|
const { t: r } = k();
|
|
2472
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2473
|
-
|
|
2470
|
+
return /* @__PURE__ */ s("div", { className: Ne.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
|
|
2471
|
+
Et,
|
|
2474
2472
|
{
|
|
2475
2473
|
to: a.url,
|
|
2476
|
-
className: ({ isActive: c }) => `${
|
|
2474
|
+
className: ({ isActive: c }) => `${Ne.topNavOptions} ${c ? Ne.active : ""} `,
|
|
2477
2475
|
onClick: () => t(a.url),
|
|
2478
2476
|
style: ({ isActive: c }) => ({
|
|
2479
2477
|
color: o,
|
|
@@ -2484,7 +2482,7 @@ const hn = "_TopNavMenuContainer_12mp4_2", gn = "_topNavOptions_12mp4_13", Cn =
|
|
|
2484
2482
|
l
|
|
2485
2483
|
)) });
|
|
2486
2484
|
};
|
|
2487
|
-
|
|
2485
|
+
mn.propTypes = {
|
|
2488
2486
|
options: e.arrayOf(e.object),
|
|
2489
2487
|
cssProps: e.shape({
|
|
2490
2488
|
borderColor: e.string.isRequired,
|
|
@@ -2494,9 +2492,9 @@ fn.propTypes = {
|
|
|
2494
2492
|
// activeColor: PropTypes.string,
|
|
2495
2493
|
// defaultColor: PropTypes.string
|
|
2496
2494
|
};
|
|
2497
|
-
const
|
|
2498
|
-
LogInButton:
|
|
2499
|
-
},
|
|
2495
|
+
const hn = "_LogInButton_1vxj5_2", gn = {
|
|
2496
|
+
LogInButton: hn
|
|
2497
|
+
}, Cn = ({
|
|
2500
2498
|
cssClass: n,
|
|
2501
2499
|
notLoggedInLabel: d = "Log in",
|
|
2502
2500
|
loggedInLabel: i = "Log out",
|
|
@@ -2515,13 +2513,13 @@ const bn = "_LogInButton_1vxj5_2", _n = {
|
|
|
2515
2513
|
"div",
|
|
2516
2514
|
{
|
|
2517
2515
|
style: { ...o },
|
|
2518
|
-
className: `${
|
|
2516
|
+
className: `${gn.LogInButton} link ${n}`,
|
|
2519
2517
|
onClick: r ? l : a,
|
|
2520
2518
|
children: r ? t || c(i) : c(d)
|
|
2521
2519
|
}
|
|
2522
2520
|
);
|
|
2523
2521
|
};
|
|
2524
|
-
|
|
2522
|
+
Cn.propTypes = {
|
|
2525
2523
|
cssClass: e.string,
|
|
2526
2524
|
notLoggedInLabel: e.string,
|
|
2527
2525
|
loggedInLabel: e.string,
|
|
@@ -2529,51 +2527,51 @@ yn.propTypes = {
|
|
|
2529
2527
|
userName: e.string,
|
|
2530
2528
|
isLoggedIn: e.bool
|
|
2531
2529
|
};
|
|
2532
|
-
const
|
|
2533
|
-
elementSelector:
|
|
2534
|
-
header:
|
|
2535
|
-
nameDateContainer:
|
|
2536
|
-
elementName:
|
|
2537
|
-
elementDate:
|
|
2538
|
-
buttonsContainer:
|
|
2539
|
-
elementListContainer:
|
|
2540
|
-
newElementButtonContainer:
|
|
2541
|
-
},
|
|
2542
|
-
listElement:
|
|
2543
|
-
elementNameDate:
|
|
2544
|
-
elementNameContainer:
|
|
2545
|
-
elementName:
|
|
2546
|
-
elementDate:
|
|
2547
|
-
elementButtons:
|
|
2530
|
+
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", P = {
|
|
2531
|
+
elementSelector: fn,
|
|
2532
|
+
header: bn,
|
|
2533
|
+
nameDateContainer: yn,
|
|
2534
|
+
elementName: _n,
|
|
2535
|
+
elementDate: vn,
|
|
2536
|
+
buttonsContainer: wn,
|
|
2537
|
+
elementListContainer: xn,
|
|
2538
|
+
newElementButtonContainer: Nn
|
|
2539
|
+
}, kn = "_listElement_1s506_2", Bn = "_elementNameDate_1s506_17", Sn = "_elementNameContainer_1s506_27", Dn = "_elementName_1s506_17", Mn = "_elementDate_1s506_42", Ln = "_elementButtons_1s506_45", $n = "_moreInfoContainer_1s506_68", Fn = "_moreInfo_1s506_68", O = {
|
|
2540
|
+
listElement: kn,
|
|
2541
|
+
elementNameDate: Bn,
|
|
2542
|
+
elementNameContainer: Sn,
|
|
2543
|
+
elementName: Dn,
|
|
2544
|
+
elementDate: Mn,
|
|
2545
|
+
elementButtons: Ln,
|
|
2548
2546
|
break: "_break_1s506_63",
|
|
2549
|
-
moreInfoContainer:
|
|
2550
|
-
moreInfo:
|
|
2551
|
-
}, 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%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", Rn = "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", qn = "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", En = "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", Pn = "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";
|
|
2552
|
-
var
|
|
2553
|
-
function
|
|
2554
|
-
return
|
|
2547
|
+
moreInfoContainer: $n,
|
|
2548
|
+
moreInfo: Fn
|
|
2549
|
+
}, 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='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";
|
|
2550
|
+
var Ge;
|
|
2551
|
+
function Fe() {
|
|
2552
|
+
return Fe = Object.assign ? Object.assign.bind() : function(n) {
|
|
2555
2553
|
for (var d = 1; d < arguments.length; d++) {
|
|
2556
2554
|
var i = arguments[d];
|
|
2557
2555
|
for (var o in i) ({}).hasOwnProperty.call(i, o) && (n[o] = i[o]);
|
|
2558
2556
|
}
|
|
2559
2557
|
return n;
|
|
2560
|
-
},
|
|
2558
|
+
}, Fe.apply(null, arguments);
|
|
2561
2559
|
}
|
|
2562
|
-
var
|
|
2563
|
-
return /* @__PURE__ */
|
|
2560
|
+
var Rn = function(d) {
|
|
2561
|
+
return /* @__PURE__ */ te.createElement("svg", Fe({
|
|
2564
2562
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2565
2563
|
width: 26,
|
|
2566
2564
|
height: 14,
|
|
2567
2565
|
fill: "none"
|
|
2568
|
-
}, d),
|
|
2566
|
+
}, d), Ge || (Ge = /* @__PURE__ */ te.createElement("g", {
|
|
2569
2567
|
fill: "currentColor"
|
|
2570
|
-
}, /* @__PURE__ */
|
|
2568
|
+
}, /* @__PURE__ */ te.createElement("path", {
|
|
2571
2569
|
d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
|
|
2572
|
-
}), /* @__PURE__ */
|
|
2570
|
+
}), /* @__PURE__ */ te.createElement("path", {
|
|
2573
2571
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2574
2572
|
}))));
|
|
2575
2573
|
};
|
|
2576
|
-
const
|
|
2574
|
+
const qn = "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 = ({
|
|
2577
2575
|
listelement: n,
|
|
2578
2576
|
onClickElement: d,
|
|
2579
2577
|
isActive: i,
|
|
@@ -2583,62 +2581,65 @@ const zn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2583
2581
|
columns: a,
|
|
2584
2582
|
elementButtons: l,
|
|
2585
2583
|
processTooltip: c,
|
|
2586
|
-
defaultTooltip: u
|
|
2587
|
-
showEye: m = !0
|
|
2584
|
+
defaultTooltip: u
|
|
2588
2585
|
}) => {
|
|
2589
|
-
const { nom:
|
|
2586
|
+
const { nom: m, created_at: h, id: _, isBeingProcessed: f } = n, [g, y] = L(!1), { t: C } = k();
|
|
2590
2587
|
return /* @__PURE__ */ p(
|
|
2591
2588
|
"div",
|
|
2592
2589
|
{
|
|
2593
|
-
className:
|
|
2590
|
+
className: O.listElement,
|
|
2594
2591
|
style: { borderBottom: `1px solid ${t}` },
|
|
2595
2592
|
children: [
|
|
2596
|
-
/* @__PURE__ */
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2593
|
+
/* @__PURE__ */ p("div", { className: O.elementNameDate, onClick: () => d(_), children: [
|
|
2594
|
+
a.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ p("div", { className: O.elementName, children: [
|
|
2595
|
+
i ? /* @__PURE__ */ s(Rn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2596
|
+
"img",
|
|
2597
|
+
{
|
|
2598
|
+
style: { marginRight: 9 },
|
|
2599
|
+
src: qn
|
|
2600
|
+
}
|
|
2601
|
+
),
|
|
2602
|
+
/* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: m })
|
|
2603
|
+
] }) }),
|
|
2604
|
+
a.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: h ? new Date(h).toLocaleDateString() : "" }),
|
|
2605
|
+
a.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2606
|
+
a.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2607
|
+
] }),
|
|
2608
|
+
/* @__PURE__ */ p("div", { className: O.elementButtons, children: [
|
|
2608
2609
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2609
|
-
/* @__PURE__ */ s("img", { src:
|
|
2610
|
-
/* @__PURE__ */ s(
|
|
2610
|
+
/* @__PURE__ */ s("img", { src: In }),
|
|
2611
|
+
/* @__PURE__ */ s(Y, { text: c, position: "left" })
|
|
2611
2612
|
] }),
|
|
2612
2613
|
l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2613
|
-
/* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2614
|
-
/* @__PURE__ */ s(
|
|
2614
|
+
/* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: An }) }),
|
|
2615
|
+
/* @__PURE__ */ s(Y, { text: l.filter.tooltiptext, position: "left" })
|
|
2615
2616
|
] }),
|
|
2616
2617
|
l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2617
|
-
/* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2618
|
-
/* @__PURE__ */ s(
|
|
2618
|
+
/* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Vn }) }),
|
|
2619
|
+
/* @__PURE__ */ s(Y, { text: l.copy.tooltiptext, position: "left" })
|
|
2619
2620
|
] }),
|
|
2620
2621
|
l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2621
|
-
/* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2622
|
-
/* @__PURE__ */ s(
|
|
2622
|
+
/* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Tn }) }),
|
|
2623
|
+
/* @__PURE__ */ s(Y, { text: l.trash.tooltiptext, position: "left" })
|
|
2623
2624
|
] }),
|
|
2624
2625
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2625
|
-
/* @__PURE__ */ s("img", { src:
|
|
2626
|
-
/* @__PURE__ */ s(
|
|
2626
|
+
/* @__PURE__ */ s("img", { src: On }),
|
|
2627
|
+
/* @__PURE__ */ s(Y, { text: u, position: "left" })
|
|
2627
2628
|
] })
|
|
2628
2629
|
] }),
|
|
2629
|
-
r && /* @__PURE__ */ s("div", { className:
|
|
2630
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2631
|
-
/* @__PURE__ */ p("div", { className:
|
|
2632
|
-
/* @__PURE__ */ s("span", { children:
|
|
2633
|
-
|
|
2630
|
+
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2631
|
+
r && /* @__PURE__ */ p("div", { className: O.moreInfoContainer, children: [
|
|
2632
|
+
/* @__PURE__ */ p("div", { className: O.moreInfo, onClick: () => y(!g), children: [
|
|
2633
|
+
/* @__PURE__ */ s("span", { children: g ? "-" : "+" }),
|
|
2634
|
+
C(r.label)
|
|
2634
2635
|
] }),
|
|
2635
|
-
r &&
|
|
2636
|
+
r && g && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
|
|
2636
2637
|
] })
|
|
2637
2638
|
]
|
|
2638
2639
|
}
|
|
2639
2640
|
);
|
|
2640
2641
|
};
|
|
2641
|
-
|
|
2642
|
+
ut.propTypes = {
|
|
2642
2643
|
listelement: e.shape({
|
|
2643
2644
|
nom: e.string.isRequired,
|
|
2644
2645
|
created_at: e.string,
|
|
@@ -2671,10 +2672,9 @@ gt.propTypes = {
|
|
|
2671
2672
|
})
|
|
2672
2673
|
}),
|
|
2673
2674
|
processTooltip: e.string,
|
|
2674
|
-
defaultTooltip: e.string
|
|
2675
|
-
showEye: e.bool
|
|
2675
|
+
defaultTooltip: e.string
|
|
2676
2676
|
};
|
|
2677
|
-
const
|
|
2677
|
+
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 = ({
|
|
2678
2678
|
elementsList: n,
|
|
2679
2679
|
activeElementId: d,
|
|
2680
2680
|
fontColor: i = "#605B56",
|
|
@@ -2682,85 +2682,87 @@ const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2682
2682
|
buttonContainerStyles: t = {},
|
|
2683
2683
|
containerStyles: r = {},
|
|
2684
2684
|
newElementButton: a,
|
|
2685
|
-
//{label: 'text', onClick: function()
|
|
2686
|
-
onClickElement: l = (
|
|
2685
|
+
//{label: 'text', onClick: function()}/null
|
|
2686
|
+
onClickElement: l = (f) => console.log(`OnCLickElement: ${f}`),
|
|
2687
2687
|
columns: c,
|
|
2688
2688
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2689
2689
|
elementButtons: u,
|
|
2690
2690
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2691
2691
|
moreInfo: m = !1,
|
|
2692
2692
|
//{label: 'x'}
|
|
2693
|
-
processTooltip:
|
|
2693
|
+
processTooltip: h,
|
|
2694
2694
|
//texto para el tooltip del simbolo "En proceso"
|
|
2695
|
-
defaultTooltip: _
|
|
2695
|
+
defaultTooltip: _
|
|
2696
2696
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2697
|
-
showEye: b = !0
|
|
2698
2697
|
}) => {
|
|
2699
|
-
const { t:
|
|
2700
|
-
|
|
2701
|
-
n &&
|
|
2698
|
+
const { t: f } = k(), [g, y] = L(n);
|
|
2699
|
+
$(() => {
|
|
2700
|
+
n && y(n);
|
|
2702
2701
|
}, [n]);
|
|
2703
|
-
const
|
|
2704
|
-
if (
|
|
2705
|
-
let w = [...
|
|
2706
|
-
w.sort((x,
|
|
2702
|
+
const C = (b) => {
|
|
2703
|
+
if (g && g.length > 0) {
|
|
2704
|
+
let w = [...g];
|
|
2705
|
+
w.sort((x, v) => x[b].localeCompare(v[b])), y(w);
|
|
2707
2706
|
}
|
|
2708
2707
|
};
|
|
2709
2708
|
return /* @__PURE__ */ p(
|
|
2710
2709
|
"div",
|
|
2711
2710
|
{
|
|
2712
|
-
className:
|
|
2711
|
+
className: P.elementSelector,
|
|
2713
2712
|
style: { color: i, ...r },
|
|
2714
2713
|
children: [
|
|
2715
2714
|
/* @__PURE__ */ p(
|
|
2716
2715
|
"div",
|
|
2717
2716
|
{
|
|
2718
|
-
className:
|
|
2717
|
+
className: P.header,
|
|
2719
2718
|
style: { borderBottom: `1px solid ${i}` },
|
|
2720
2719
|
children: [
|
|
2721
|
-
/* @__PURE__ */
|
|
2722
|
-
/* @__PURE__ */ s("
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
/* @__PURE__ */ s("
|
|
2727
|
-
|
|
2728
|
-
|
|
2720
|
+
/* @__PURE__ */ p("div", { className: P.nameDateContainer, children: [
|
|
2721
|
+
c.nom && /* @__PURE__ */ s("div", { className: P.elementName, children: /* @__PURE__ */ p("button", { onClick: () => C("name"), children: [
|
|
2722
|
+
/* @__PURE__ */ s("span", { children: f(c.nom) }),
|
|
2723
|
+
/* @__PURE__ */ s("img", { src: Ye })
|
|
2724
|
+
] }) }),
|
|
2725
|
+
c.data && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => C("date"), children: [
|
|
2726
|
+
/* @__PURE__ */ s("span", { children: f(c.data) }),
|
|
2727
|
+
/* @__PURE__ */ s("img", { src: Ye })
|
|
2728
|
+
] }) }),
|
|
2729
|
+
c.ambit && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.ambit) }) }),
|
|
2730
|
+
c.escenari && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.escenari) }) })
|
|
2731
|
+
] }),
|
|
2732
|
+
/* @__PURE__ */ s("div", { className: P.buttonsContainer })
|
|
2729
2733
|
]
|
|
2730
2734
|
}
|
|
2731
2735
|
),
|
|
2732
|
-
/* @__PURE__ */ s("div", { className:
|
|
2733
|
-
|
|
2736
|
+
/* @__PURE__ */ s("div", { className: P.elementListContainer, children: g && g.length > 0 && g.map((b) => /* @__PURE__ */ s(
|
|
2737
|
+
ut,
|
|
2734
2738
|
{
|
|
2735
|
-
isActive: d ==
|
|
2736
|
-
listelement:
|
|
2739
|
+
isActive: d == b.id,
|
|
2740
|
+
listelement: b,
|
|
2737
2741
|
fontColor: i,
|
|
2738
2742
|
activeColor: o,
|
|
2739
2743
|
onClickElement: l,
|
|
2740
2744
|
columns: c,
|
|
2741
2745
|
elementButtons: u,
|
|
2742
2746
|
moreInfo: m,
|
|
2743
|
-
processTooltip:
|
|
2744
|
-
defaultTooltip: _
|
|
2745
|
-
showEye: b
|
|
2747
|
+
processTooltip: h,
|
|
2748
|
+
defaultTooltip: _
|
|
2746
2749
|
},
|
|
2747
|
-
`elementKey${
|
|
2750
|
+
`elementKey${b.id}`
|
|
2748
2751
|
)) }),
|
|
2749
|
-
a && /* @__PURE__ */ s("div", { className:
|
|
2750
|
-
|
|
2752
|
+
a && /* @__PURE__ */ s("div", { className: P.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2753
|
+
Ce,
|
|
2751
2754
|
{
|
|
2752
2755
|
style: { ...t },
|
|
2753
2756
|
onClick: a.onClick,
|
|
2754
2757
|
borderColor: "grey",
|
|
2755
|
-
|
|
2756
|
-
children: C(a.label)
|
|
2758
|
+
children: f(a.label)
|
|
2757
2759
|
}
|
|
2758
2760
|
) })
|
|
2759
2761
|
]
|
|
2760
2762
|
}
|
|
2761
2763
|
);
|
|
2762
2764
|
};
|
|
2763
|
-
|
|
2765
|
+
En.propTypes = {
|
|
2764
2766
|
elementList: e.arrayOf(
|
|
2765
2767
|
e.shape({
|
|
2766
2768
|
nom: e.string.isRequired,
|
|
@@ -2804,71 +2806,70 @@ Zn.propTypes = {
|
|
|
2804
2806
|
info: e.any
|
|
2805
2807
|
}),
|
|
2806
2808
|
processTooltip: e.string,
|
|
2807
|
-
defaultTooltip: e.string
|
|
2808
|
-
showEye: e.bool
|
|
2809
|
+
defaultTooltip: e.string
|
|
2809
2810
|
};
|
|
2810
|
-
const
|
|
2811
|
+
const he = {
|
|
2811
2812
|
text: "text",
|
|
2812
2813
|
password: "password",
|
|
2813
2814
|
radioList: "radioList",
|
|
2814
2815
|
select: "select"
|
|
2815
|
-
},
|
|
2816
|
-
textInputContainer:
|
|
2817
|
-
labelContainer:
|
|
2818
|
-
inputContainer:
|
|
2819
|
-
showPasswordButton:
|
|
2820
|
-
forgotPassButton:
|
|
2821
|
-
};
|
|
2822
|
-
var
|
|
2823
|
-
const
|
|
2824
|
-
var
|
|
2816
|
+
}, Pn = "_textInputContainer_1o3iy_2", zn = "_labelContainer_1o3iy_5", jn = "_inputContainer_1o3iy_8", Zn = "_showPasswordButton_1o3iy_14", Kn = "_forgotPassButton_1o3iy_26", se = {
|
|
2817
|
+
textInputContainer: Pn,
|
|
2818
|
+
labelContainer: zn,
|
|
2819
|
+
inputContainer: jn,
|
|
2820
|
+
showPasswordButton: Zn,
|
|
2821
|
+
forgotPassButton: Kn
|
|
2822
|
+
};
|
|
2823
|
+
var Hn = (n) => n.type === "checkbox", Un = (n) => n instanceof Date, pt = (n) => n == null;
|
|
2824
|
+
const Gn = (n) => typeof n == "object";
|
|
2825
|
+
var le = (n) => !pt(n) && !Array.isArray(n) && Gn(n) && !Un(n), Yn = (n) => le(n) && n.target ? Hn(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) => {
|
|
2825
2826
|
const d = n.constructor && n.constructor.prototype;
|
|
2826
|
-
return
|
|
2827
|
-
},
|
|
2828
|
-
function
|
|
2827
|
+
return le(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2828
|
+
}, Jn = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2829
|
+
function mt(n) {
|
|
2829
2830
|
let d;
|
|
2830
2831
|
const i = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2831
2832
|
if (n instanceof Date)
|
|
2832
2833
|
d = new Date(n);
|
|
2833
|
-
else if (!(
|
|
2834
|
-
if (d = i ? [] : {}, !i && !
|
|
2834
|
+
else if (!(Jn && (n instanceof Blob || o)) && (i || le(n)))
|
|
2835
|
+
if (d = i ? [] : {}, !i && !Xn(n))
|
|
2835
2836
|
d = n;
|
|
2836
2837
|
else
|
|
2837
2838
|
for (const t in n)
|
|
2838
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2839
|
+
n.hasOwnProperty(t) && (d[t] = mt(n[t]));
|
|
2839
2840
|
else
|
|
2840
2841
|
return n;
|
|
2841
2842
|
return d;
|
|
2842
2843
|
}
|
|
2843
|
-
var
|
|
2844
|
-
if (!d || !
|
|
2844
|
+
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, i) => {
|
|
2845
|
+
if (!d || !le(n))
|
|
2845
2846
|
return i;
|
|
2846
|
-
const o = (
|
|
2847
|
-
return
|
|
2848
|
-
},
|
|
2847
|
+
const o = (ht(d) ? [d] : gt(d)).reduce((t, r) => pt(t) ? t : t[r], n);
|
|
2848
|
+
return Te(o) || o === n ? Te(n[d]) ? i : n[d] : o;
|
|
2849
|
+
}, ke = (n) => typeof n == "boolean", We = (n, d, i) => {
|
|
2849
2850
|
let o = -1;
|
|
2850
|
-
const t =
|
|
2851
|
+
const t = ht(d) ? [d] : gt(d), r = t.length, a = r - 1;
|
|
2851
2852
|
for (; ++o < r; ) {
|
|
2852
2853
|
const l = t[o];
|
|
2853
2854
|
let c = i;
|
|
2854
2855
|
if (o !== a) {
|
|
2855
2856
|
const u = n[l];
|
|
2856
|
-
c =
|
|
2857
|
+
c = le(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2857
2858
|
}
|
|
2858
2859
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2859
2860
|
return;
|
|
2860
2861
|
n[l] = c, n = n[l];
|
|
2861
2862
|
}
|
|
2862
2863
|
};
|
|
2863
|
-
const
|
|
2864
|
+
const Qe = {
|
|
2864
2865
|
BLUR: "blur",
|
|
2865
2866
|
CHANGE: "change"
|
|
2866
|
-
},
|
|
2867
|
+
}, Xe = {
|
|
2867
2868
|
all: "all"
|
|
2868
|
-
},
|
|
2869
|
-
|
|
2870
|
-
const
|
|
2871
|
-
var
|
|
2869
|
+
}, Ct = B.createContext(null);
|
|
2870
|
+
Ct.displayName = "HookFormContext";
|
|
2871
|
+
const Re = () => B.useContext(Ct);
|
|
2872
|
+
var t1 = (n, d, i, o = !0) => {
|
|
2872
2873
|
const t = {
|
|
2873
2874
|
defaultValues: d._defaultValues
|
|
2874
2875
|
};
|
|
@@ -2876,14 +2877,14 @@ var s1 = (n, d, i, o = !0) => {
|
|
|
2876
2877
|
Object.defineProperty(t, r, {
|
|
2877
2878
|
get: () => {
|
|
2878
2879
|
const a = r;
|
|
2879
|
-
return d._proxyFormState[a] !==
|
|
2880
|
+
return d._proxyFormState[a] !== Xe.all && (d._proxyFormState[a] = !o || Xe.all), i && (i[a] = !0), n[a];
|
|
2880
2881
|
}
|
|
2881
2882
|
});
|
|
2882
2883
|
return t;
|
|
2883
2884
|
};
|
|
2884
|
-
const
|
|
2885
|
-
function
|
|
2886
|
-
const d =
|
|
2885
|
+
const ft = typeof window < "u" ? te.useLayoutEffect : te.useEffect;
|
|
2886
|
+
function n1(n) {
|
|
2887
|
+
const d = Re(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(i._formState), c = B.useRef({
|
|
2887
2888
|
isDirty: !1,
|
|
2888
2889
|
isLoading: !1,
|
|
2889
2890
|
dirtyFields: !1,
|
|
@@ -2893,7 +2894,7 @@ function r1(n) {
|
|
|
2893
2894
|
isValid: !1,
|
|
2894
2895
|
errors: !1
|
|
2895
2896
|
});
|
|
2896
|
-
return
|
|
2897
|
+
return ft(() => i._subscribe({
|
|
2897
2898
|
name: t,
|
|
2898
2899
|
formState: c.current,
|
|
2899
2900
|
exact: r,
|
|
@@ -2905,99 +2906,99 @@ function r1(n) {
|
|
|
2905
2906
|
}
|
|
2906
2907
|
}), [t, o, r]), B.useEffect(() => {
|
|
2907
2908
|
c.current.isValid && i._setValid(!0);
|
|
2908
|
-
}, [i]), B.useMemo(() =>
|
|
2909
|
+
}, [i]), B.useMemo(() => t1(a, i, c.current, !1), [a, i]);
|
|
2909
2910
|
}
|
|
2910
|
-
var
|
|
2911
|
-
function
|
|
2912
|
-
const d =
|
|
2913
|
-
return
|
|
2911
|
+
var i1 = (n) => typeof n == "string", o1 = (n, d, i, o, t) => i1(n) ? A(i, n, t) : Array.isArray(n) ? n.map((r) => A(i, r)) : i;
|
|
2912
|
+
function s1(n) {
|
|
2913
|
+
const d = Re(), { control: i = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = B.useRef(t), [c, u] = B.useState(i._getWatch(o, l.current));
|
|
2914
|
+
return ft(() => i._subscribe({
|
|
2914
2915
|
name: o,
|
|
2915
2916
|
formState: {
|
|
2916
2917
|
values: !0
|
|
2917
2918
|
},
|
|
2918
2919
|
exact: a,
|
|
2919
|
-
callback: (m) => !r && u(
|
|
2920
|
+
callback: (m) => !r && u(o1(o, i._names, m.values || i._formValues, !1, l.current))
|
|
2920
2921
|
}), [o, i, r, a]), B.useEffect(() => i._removeUnmounted()), c;
|
|
2921
2922
|
}
|
|
2922
|
-
function
|
|
2923
|
-
const d =
|
|
2923
|
+
function r1(n) {
|
|
2924
|
+
const d = Re(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = Qn(t._names.array, i), l = s1({
|
|
2924
2925
|
control: t,
|
|
2925
2926
|
name: i,
|
|
2926
|
-
defaultValue:
|
|
2927
|
+
defaultValue: A(t._formValues, i, A(t._defaultValues, i, n.defaultValue)),
|
|
2927
2928
|
exact: !0
|
|
2928
|
-
}), c =
|
|
2929
|
+
}), c = n1({
|
|
2929
2930
|
control: t,
|
|
2930
2931
|
name: i,
|
|
2931
2932
|
exact: !0
|
|
2932
2933
|
}), u = B.useRef(n), m = B.useRef(t.register(i, {
|
|
2933
2934
|
...n.rules,
|
|
2934
2935
|
value: l,
|
|
2935
|
-
...
|
|
2936
|
-
})),
|
|
2936
|
+
...ke(n.disabled) ? { disabled: n.disabled } : {}
|
|
2937
|
+
})), h = B.useMemo(() => Object.defineProperties({}, {
|
|
2937
2938
|
invalid: {
|
|
2938
2939
|
enumerable: !0,
|
|
2939
|
-
get: () => !!
|
|
2940
|
+
get: () => !!A(c.errors, i)
|
|
2940
2941
|
},
|
|
2941
2942
|
isDirty: {
|
|
2942
2943
|
enumerable: !0,
|
|
2943
|
-
get: () => !!
|
|
2944
|
+
get: () => !!A(c.dirtyFields, i)
|
|
2944
2945
|
},
|
|
2945
2946
|
isTouched: {
|
|
2946
2947
|
enumerable: !0,
|
|
2947
|
-
get: () => !!
|
|
2948
|
+
get: () => !!A(c.touchedFields, i)
|
|
2948
2949
|
},
|
|
2949
2950
|
isValidating: {
|
|
2950
2951
|
enumerable: !0,
|
|
2951
|
-
get: () => !!
|
|
2952
|
+
get: () => !!A(c.validatingFields, i)
|
|
2952
2953
|
},
|
|
2953
2954
|
error: {
|
|
2954
2955
|
enumerable: !0,
|
|
2955
|
-
get: () =>
|
|
2956
|
+
get: () => A(c.errors, i)
|
|
2956
2957
|
}
|
|
2957
|
-
}), [c, i]), _ = B.useCallback((
|
|
2958
|
+
}), [c, i]), _ = B.useCallback((C) => m.current.onChange({
|
|
2958
2959
|
target: {
|
|
2959
|
-
value:
|
|
2960
|
+
value: Yn(C),
|
|
2960
2961
|
name: i
|
|
2961
2962
|
},
|
|
2962
|
-
type:
|
|
2963
|
-
}), [i]),
|
|
2963
|
+
type: Qe.CHANGE
|
|
2964
|
+
}), [i]), f = B.useCallback(() => m.current.onBlur({
|
|
2964
2965
|
target: {
|
|
2965
|
-
value:
|
|
2966
|
+
value: A(t._formValues, i),
|
|
2966
2967
|
name: i
|
|
2967
2968
|
},
|
|
2968
|
-
type:
|
|
2969
|
-
}), [i, t._formValues]),
|
|
2970
|
-
const
|
|
2971
|
-
|
|
2972
|
-
focus: () =>
|
|
2973
|
-
select: () =>
|
|
2974
|
-
setCustomValidity: (
|
|
2975
|
-
reportValidity: () =>
|
|
2969
|
+
type: Qe.BLUR
|
|
2970
|
+
}), [i, t._formValues]), g = B.useCallback((C) => {
|
|
2971
|
+
const b = A(t._fields, i);
|
|
2972
|
+
b && C && (b._f.ref = {
|
|
2973
|
+
focus: () => C.focus && C.focus(),
|
|
2974
|
+
select: () => C.select && C.select(),
|
|
2975
|
+
setCustomValidity: (w) => C.setCustomValidity(w),
|
|
2976
|
+
reportValidity: () => C.reportValidity()
|
|
2976
2977
|
});
|
|
2977
|
-
}, [t._fields, i]),
|
|
2978
|
+
}, [t._fields, i]), y = B.useMemo(() => ({
|
|
2978
2979
|
name: i,
|
|
2979
2980
|
value: l,
|
|
2980
|
-
...
|
|
2981
|
+
...ke(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
2981
2982
|
onChange: _,
|
|
2982
|
-
onBlur:
|
|
2983
|
-
ref:
|
|
2984
|
-
}), [i, o, c.disabled, _,
|
|
2983
|
+
onBlur: f,
|
|
2984
|
+
ref: g
|
|
2985
|
+
}), [i, o, c.disabled, _, f, g, l]);
|
|
2985
2986
|
return B.useEffect(() => {
|
|
2986
|
-
const
|
|
2987
|
+
const C = t._options.shouldUnregister || r;
|
|
2987
2988
|
t.register(i, {
|
|
2988
2989
|
...u.current.rules,
|
|
2989
|
-
...
|
|
2990
|
+
...ke(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2990
2991
|
});
|
|
2991
|
-
const
|
|
2992
|
-
const
|
|
2993
|
-
|
|
2992
|
+
const b = (w, x) => {
|
|
2993
|
+
const v = A(t._fields, w);
|
|
2994
|
+
v && v._f && (v._f.mount = x);
|
|
2994
2995
|
};
|
|
2995
|
-
if (
|
|
2996
|
-
const
|
|
2997
|
-
|
|
2996
|
+
if (b(i, !0), C) {
|
|
2997
|
+
const w = mt(A(t._options.defaultValues, i));
|
|
2998
|
+
We(t._defaultValues, i, w), Te(A(t._formValues, i)) && We(t._formValues, i, w);
|
|
2998
2999
|
}
|
|
2999
3000
|
return !a && t.register(i), () => {
|
|
3000
|
-
(a ?
|
|
3001
|
+
(a ? C && !t._state.action : C) ? t.unregister(i) : b(i, !1);
|
|
3001
3002
|
};
|
|
3002
3003
|
}, [i, t, a, r]), B.useEffect(() => {
|
|
3003
3004
|
t._setDisabledField({
|
|
@@ -3005,14 +3006,14 @@ function d1(n) {
|
|
|
3005
3006
|
name: i
|
|
3006
3007
|
});
|
|
3007
3008
|
}, [o, i, t]), B.useMemo(() => ({
|
|
3008
|
-
field:
|
|
3009
|
+
field: y,
|
|
3009
3010
|
formState: c,
|
|
3010
|
-
fieldState:
|
|
3011
|
-
}), [
|
|
3011
|
+
fieldState: h
|
|
3012
|
+
}), [y, c, h]);
|
|
3012
3013
|
}
|
|
3013
|
-
const
|
|
3014
|
-
errorMessage:
|
|
3015
|
-
},
|
|
3014
|
+
const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
3015
|
+
errorMessage: a1
|
|
3016
|
+
}, fe = ({
|
|
3016
3017
|
errorMessage: n,
|
|
3017
3018
|
errorColor: d = "red",
|
|
3018
3019
|
containerStyles: i
|
|
@@ -3021,12 +3022,12 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3021
3022
|
return /* @__PURE__ */ s(
|
|
3022
3023
|
"div",
|
|
3023
3024
|
{
|
|
3024
|
-
className:
|
|
3025
|
+
className: l1.errorMessage,
|
|
3025
3026
|
style: { color: d, ...i },
|
|
3026
3027
|
children: n ? o(n) : ""
|
|
3027
3028
|
}
|
|
3028
3029
|
);
|
|
3029
|
-
},
|
|
3030
|
+
}, Je = ({ input: n, reactHookFormInstance: d }) => {
|
|
3030
3031
|
const {
|
|
3031
3032
|
code: i,
|
|
3032
3033
|
type: o,
|
|
@@ -3037,30 +3038,30 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3037
3038
|
placeholder: c,
|
|
3038
3039
|
errorColor: u = "red",
|
|
3039
3040
|
width: m = 325,
|
|
3040
|
-
onClickForgotPass:
|
|
3041
|
+
onClickForgotPass: h = () => {
|
|
3041
3042
|
console.log("Click on forgot password");
|
|
3042
3043
|
},
|
|
3043
3044
|
forgotPassLabel: _ = "forgot-password"
|
|
3044
|
-
} = n, { t:
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
}, [a, i,
|
|
3048
|
-
const
|
|
3045
|
+
} = n, { t: f } = k(), { control: g, trigger: y, clearErrors: C } = d, [b, w] = L(!1), x = ne(a);
|
|
3046
|
+
$(() => {
|
|
3047
|
+
x.current !== a && (a ? y(i) : C(i), x.current = a);
|
|
3048
|
+
}, [a, i, y, C]);
|
|
3049
|
+
const v = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3049
3050
|
return /* @__PURE__ */ s(
|
|
3050
|
-
|
|
3051
|
+
qe,
|
|
3051
3052
|
{
|
|
3052
3053
|
name: i,
|
|
3053
|
-
control:
|
|
3054
|
+
control: g,
|
|
3054
3055
|
rules: {
|
|
3055
|
-
required: a ? `${
|
|
3056
|
+
required: a ? `${f(t)} ${f("errorMessages.required")}` : !1,
|
|
3056
3057
|
maxLength: r || void 0,
|
|
3057
3058
|
validate: l || void 0
|
|
3058
3059
|
},
|
|
3059
3060
|
render: ({ field: N, fieldState: S }) => {
|
|
3060
|
-
var
|
|
3061
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3062
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3063
|
-
|
|
3061
|
+
var D;
|
|
3062
|
+
return /* @__PURE__ */ p("div", { className: se.textInputContainer, children: [
|
|
3063
|
+
/* @__PURE__ */ p("h3", { className: se.labelContainer, children: [
|
|
3064
|
+
f(t),
|
|
3064
3065
|
" ",
|
|
3065
3066
|
a && /* @__PURE__ */ s("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3066
3067
|
] }),
|
|
@@ -3068,34 +3069,34 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3068
3069
|
"div",
|
|
3069
3070
|
{
|
|
3070
3071
|
style: { position: "relative", width: m },
|
|
3071
|
-
className:
|
|
3072
|
+
className: se.inputContainer,
|
|
3072
3073
|
children: [
|
|
3073
3074
|
/* @__PURE__ */ s(
|
|
3074
3075
|
"input",
|
|
3075
3076
|
{
|
|
3076
|
-
type:
|
|
3077
|
+
type: v(),
|
|
3077
3078
|
...N,
|
|
3078
|
-
placeholder: c ?
|
|
3079
|
+
placeholder: c ? f(c) : "",
|
|
3079
3080
|
maxLength: r || void 0
|
|
3080
3081
|
}
|
|
3081
3082
|
),
|
|
3082
3083
|
o == "password" && /* @__PURE__ */ s(
|
|
3083
3084
|
"button",
|
|
3084
3085
|
{
|
|
3085
|
-
onClick: () =>
|
|
3086
|
+
onClick: () => w(!b),
|
|
3086
3087
|
type: "button",
|
|
3087
|
-
className:
|
|
3088
|
-
children:
|
|
3088
|
+
className: se.showPasswordButton,
|
|
3089
|
+
children: b ? "🙈" : "👁️"
|
|
3089
3090
|
}
|
|
3090
3091
|
)
|
|
3091
3092
|
]
|
|
3092
3093
|
}
|
|
3093
3094
|
),
|
|
3094
|
-
o == "password" && /* @__PURE__ */ s("div", { className:
|
|
3095
|
+
o == "password" && /* @__PURE__ */ s("div", { className: se.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: h, children: f(_) }) }),
|
|
3095
3096
|
/* @__PURE__ */ s(
|
|
3096
|
-
|
|
3097
|
+
fe,
|
|
3097
3098
|
{
|
|
3098
|
-
errorMessage: (
|
|
3099
|
+
errorMessage: (D = S.error) == null ? void 0 : D.message,
|
|
3099
3100
|
errorColor: u
|
|
3100
3101
|
}
|
|
3101
3102
|
)
|
|
@@ -3103,20 +3104,20 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3103
3104
|
}
|
|
3104
3105
|
}
|
|
3105
3106
|
);
|
|
3106
|
-
},
|
|
3107
|
-
formContainer:
|
|
3108
|
-
formObjectContainer:
|
|
3109
|
-
buttonContainer:
|
|
3110
|
-
},
|
|
3111
|
-
inputsContainer:
|
|
3112
|
-
},
|
|
3113
|
-
selectInputContainer:
|
|
3114
|
-
labelContainer:
|
|
3115
|
-
inputContainer:
|
|
3116
|
-
selectInput:
|
|
3117
|
-
option:
|
|
3118
|
-
dropdownArrow:
|
|
3119
|
-
},
|
|
3107
|
+
}, c1 = "_formContainer_b071f_2", d1 = "_formObjectContainer_b071f_11", u1 = "_buttonContainer_b071f_22", Be = {
|
|
3108
|
+
formContainer: c1,
|
|
3109
|
+
formObjectContainer: d1,
|
|
3110
|
+
buttonContainer: u1
|
|
3111
|
+
}, p1 = "_inputsContainer_10t9s_2", re = {
|
|
3112
|
+
inputsContainer: p1
|
|
3113
|
+
}, 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 = {
|
|
3114
|
+
selectInputContainer: m1,
|
|
3115
|
+
labelContainer: h1,
|
|
3116
|
+
inputContainer: g1,
|
|
3117
|
+
selectInput: C1,
|
|
3118
|
+
option: f1,
|
|
3119
|
+
dropdownArrow: b1
|
|
3120
|
+
}, 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, reactHookFormInstance: d }) => {
|
|
3120
3121
|
const {
|
|
3121
3122
|
code: i,
|
|
3122
3123
|
type: o,
|
|
@@ -3127,45 +3128,45 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3127
3128
|
placeholder: c,
|
|
3128
3129
|
errorColor: u = "red",
|
|
3129
3130
|
width: m = 325,
|
|
3130
|
-
options:
|
|
3131
|
-
} = n, { t: _ } = k(), { control:
|
|
3132
|
-
return
|
|
3133
|
-
|
|
3134
|
-
}, [a, i,
|
|
3135
|
-
|
|
3131
|
+
options: h = []
|
|
3132
|
+
} = n, { t: _ } = k(), { control: f, trigger: g, clearErrors: y } = d, C = ne(a);
|
|
3133
|
+
return $(() => {
|
|
3134
|
+
C.current !== a && (a ? g(i) : y(i), C.current = a);
|
|
3135
|
+
}, [a, i, g, y]), /* @__PURE__ */ s(
|
|
3136
|
+
qe,
|
|
3136
3137
|
{
|
|
3137
3138
|
name: i,
|
|
3138
|
-
control:
|
|
3139
|
+
control: f,
|
|
3139
3140
|
rules: {
|
|
3140
3141
|
required: a ? `${_(t)} ${_("errorMessages.required")}` : !1,
|
|
3141
3142
|
validate: l || void 0
|
|
3142
3143
|
},
|
|
3143
|
-
render: ({ field:
|
|
3144
|
-
var
|
|
3145
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3146
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3144
|
+
render: ({ field: b, fieldState: w }) => {
|
|
3145
|
+
var x;
|
|
3146
|
+
return /* @__PURE__ */ p("div", { className: ee.selectInputContainer, children: [
|
|
3147
|
+
/* @__PURE__ */ p("h3", { className: ee.labelContainer, children: [
|
|
3147
3148
|
_(t),
|
|
3148
3149
|
" ",
|
|
3149
|
-
a && /* @__PURE__ */ s("label", { style: { color:
|
|
3150
|
+
a && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
|
|
3150
3151
|
] }),
|
|
3151
|
-
/* @__PURE__ */ p("div", { className:
|
|
3152
|
+
/* @__PURE__ */ p("div", { className: ee.inputContainer, style: { width: m }, children: [
|
|
3152
3153
|
/* @__PURE__ */ p(
|
|
3153
3154
|
"select",
|
|
3154
3155
|
{
|
|
3155
|
-
...
|
|
3156
|
-
onChange: (
|
|
3157
|
-
const N =
|
|
3158
|
-
|
|
3156
|
+
...b,
|
|
3157
|
+
onChange: (v) => {
|
|
3158
|
+
const N = v.target.value, S = h.every((D) => typeof D.value == "number") ? Number(N) : N;
|
|
3159
|
+
b.onChange(S);
|
|
3159
3160
|
},
|
|
3160
|
-
className:
|
|
3161
|
+
className: ee.selectInput,
|
|
3161
3162
|
children: [
|
|
3162
3163
|
/* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
|
|
3163
|
-
|
|
3164
|
+
h.map((v, N) => /* @__PURE__ */ s(
|
|
3164
3165
|
"option",
|
|
3165
3166
|
{
|
|
3166
|
-
value:
|
|
3167
|
-
className:
|
|
3168
|
-
children: _(
|
|
3167
|
+
value: v.value,
|
|
3168
|
+
className: ee.option,
|
|
3169
|
+
children: _(v.label)
|
|
3169
3170
|
},
|
|
3170
3171
|
N
|
|
3171
3172
|
))
|
|
@@ -3175,16 +3176,16 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3175
3176
|
/* @__PURE__ */ s(
|
|
3176
3177
|
"img",
|
|
3177
3178
|
{
|
|
3178
|
-
src:
|
|
3179
|
+
src: y1,
|
|
3179
3180
|
alt: "Open",
|
|
3180
|
-
className:
|
|
3181
|
+
className: ee.dropdownArrow
|
|
3181
3182
|
}
|
|
3182
3183
|
)
|
|
3183
3184
|
] }),
|
|
3184
3185
|
/* @__PURE__ */ s(
|
|
3185
|
-
|
|
3186
|
+
fe,
|
|
3186
3187
|
{
|
|
3187
|
-
errorMessage: (
|
|
3188
|
+
errorMessage: (x = w.error) == null ? void 0 : x.message,
|
|
3188
3189
|
errorColor: u
|
|
3189
3190
|
}
|
|
3190
3191
|
)
|
|
@@ -3192,14 +3193,14 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3192
3193
|
}
|
|
3193
3194
|
}
|
|
3194
3195
|
);
|
|
3195
|
-
},
|
|
3196
|
-
radioButtonContainer:
|
|
3197
|
-
wholeInputContainer:
|
|
3198
|
-
questionContainer:
|
|
3199
|
-
radioQuestion:
|
|
3200
|
-
inputContainer:
|
|
3201
|
-
radioInput:
|
|
3202
|
-
},
|
|
3196
|
+
}, v1 = "_radioButtonContainer_1e994_2", w1 = "_wholeInputContainer_1e994_5", x1 = "_questionContainer_1e994_27", N1 = "_radioQuestion_1e994_59", k1 = "_inputContainer_1e994_63", B1 = "_radioInput_1e994_93", U = {
|
|
3197
|
+
radioButtonContainer: v1,
|
|
3198
|
+
wholeInputContainer: w1,
|
|
3199
|
+
questionContainer: x1,
|
|
3200
|
+
radioQuestion: N1,
|
|
3201
|
+
inputContainer: k1,
|
|
3202
|
+
radioInput: B1
|
|
3203
|
+
}, S1 = ({ input: n, reactHookFormInstance: d }) => {
|
|
3203
3204
|
const {
|
|
3204
3205
|
code: i,
|
|
3205
3206
|
label: o,
|
|
@@ -3208,36 +3209,36 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3208
3209
|
errorColor: a = "red",
|
|
3209
3210
|
options: l = [],
|
|
3210
3211
|
multi: c = !1
|
|
3211
|
-
} = n, { t: u } = k(), { control: m, trigger:
|
|
3212
|
-
if (c &&
|
|
3213
|
-
let
|
|
3214
|
-
|
|
3212
|
+
} = n, { t: u } = k(), { control: m, trigger: h, clearErrors: _ } = d, f = ({ options: C, onChange: b, actualValue: w }) => {
|
|
3213
|
+
if (c && w && w.length > 0) {
|
|
3214
|
+
let x = w.filter((v) => v !== C);
|
|
3215
|
+
b(x);
|
|
3215
3216
|
}
|
|
3216
|
-
},
|
|
3217
|
-
c ?
|
|
3218
|
-
},
|
|
3219
|
-
return
|
|
3220
|
-
|
|
3221
|
-
}, [t, i,
|
|
3222
|
-
|
|
3217
|
+
}, g = ({ options: C, onChange: b, actualValue: w }) => {
|
|
3218
|
+
c ? w && w.length > 0 ? b([...w, C]) : b([C]) : b(C);
|
|
3219
|
+
}, y = ne(t);
|
|
3220
|
+
return $(() => {
|
|
3221
|
+
y.current !== t && (t ? h(i) : _(i), y.current = t);
|
|
3222
|
+
}, [t, i, h, _]), /* @__PURE__ */ s(
|
|
3223
|
+
qe,
|
|
3223
3224
|
{
|
|
3224
3225
|
control: m,
|
|
3225
3226
|
name: i,
|
|
3226
3227
|
rules: {
|
|
3227
|
-
validate: (
|
|
3228
|
+
validate: (C) => t && (C == null || C === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3228
3229
|
},
|
|
3229
3230
|
render: ({
|
|
3230
|
-
formState: { errors:
|
|
3231
|
-
field: { onChange:
|
|
3231
|
+
formState: { errors: C },
|
|
3232
|
+
field: { onChange: b, onBlur: w, value: x, ref: v },
|
|
3232
3233
|
fieldState: N
|
|
3233
3234
|
}) => {
|
|
3234
3235
|
var S;
|
|
3235
|
-
return /* @__PURE__ */ s("div", { id: i + "id", className:
|
|
3236
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
3236
|
+
return /* @__PURE__ */ s("div", { id: i + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: U.wholeInputContainer, children: [
|
|
3237
|
+
o && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ p(
|
|
3237
3238
|
"h3",
|
|
3238
3239
|
{
|
|
3239
3240
|
htmlFor: i + "id",
|
|
3240
|
-
className: `${
|
|
3241
|
+
className: `${U.radioQuestion} ${t && U.required}`,
|
|
3241
3242
|
children: [
|
|
3242
3243
|
u(o),
|
|
3243
3244
|
" ",
|
|
@@ -3251,42 +3252,42 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3251
3252
|
]
|
|
3252
3253
|
}
|
|
3253
3254
|
) }),
|
|
3254
|
-
/* @__PURE__ */ p("div", { className:
|
|
3255
|
+
/* @__PURE__ */ p("div", { className: U.inputContainer, children: [
|
|
3255
3256
|
l.map(
|
|
3256
3257
|
({
|
|
3257
|
-
label:
|
|
3258
|
-
value:
|
|
3259
|
-
disabled:
|
|
3260
|
-
italicLabel:
|
|
3261
|
-
},
|
|
3262
|
-
const
|
|
3258
|
+
label: D,
|
|
3259
|
+
value: z,
|
|
3260
|
+
disabled: ce = !1,
|
|
3261
|
+
italicLabel: de
|
|
3262
|
+
}, R) => {
|
|
3263
|
+
const q = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === z) : x === z;
|
|
3263
3264
|
return /* @__PURE__ */ p("label", { children: [
|
|
3264
3265
|
/* @__PURE__ */ s(
|
|
3265
3266
|
"input",
|
|
3266
3267
|
{
|
|
3267
3268
|
type: "radio",
|
|
3268
|
-
checked:
|
|
3269
|
+
checked: q,
|
|
3269
3270
|
onChange: () => {
|
|
3270
|
-
c ?
|
|
3271
|
-
actualValue:
|
|
3271
|
+
c ? q ? f({
|
|
3272
|
+
actualValue: x,
|
|
3272
3273
|
options: l,
|
|
3273
|
-
onChange:
|
|
3274
|
-
}) :
|
|
3275
|
-
actualValue:
|
|
3274
|
+
onChange: b
|
|
3275
|
+
}) : g({
|
|
3276
|
+
actualValue: x,
|
|
3276
3277
|
options: l,
|
|
3277
|
-
onChange:
|
|
3278
|
-
}) :
|
|
3278
|
+
onChange: b
|
|
3279
|
+
}) : b(z);
|
|
3279
3280
|
},
|
|
3280
|
-
className:
|
|
3281
|
+
className: U.radioInput
|
|
3281
3282
|
}
|
|
3282
3283
|
),
|
|
3283
3284
|
/* @__PURE__ */ s("span", { className: "radio-custom" }),
|
|
3284
|
-
u(
|
|
3285
|
-
] }, `inputRadio ${
|
|
3285
|
+
u(D)
|
|
3286
|
+
] }, `inputRadio ${R}`);
|
|
3286
3287
|
}
|
|
3287
3288
|
),
|
|
3288
3289
|
/* @__PURE__ */ s(
|
|
3289
|
-
|
|
3290
|
+
fe,
|
|
3290
3291
|
{
|
|
3291
3292
|
errorMessage: (S = N.error) == null ? void 0 : S.message,
|
|
3292
3293
|
errorColor: a
|
|
@@ -3297,111 +3298,12 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3297
3298
|
}
|
|
3298
3299
|
}
|
|
3299
3300
|
);
|
|
3300
|
-
},
|
|
3301
|
-
rankingSliderContainer: T1,
|
|
3302
|
-
labelContainer: F1,
|
|
3303
|
-
inputContainer: V1,
|
|
3304
|
-
slider: A1,
|
|
3305
|
-
thumb: I1,
|
|
3306
|
-
trackLeft: O1,
|
|
3307
|
-
trackRight: R1,
|
|
3308
|
-
labels: q1,
|
|
3309
|
-
labelsText: E1
|
|
3310
|
-
}, P1 = ({ input: n, reactHookFormInstance: d }) => {
|
|
3311
|
-
const {
|
|
3312
|
-
code: i,
|
|
3313
|
-
type: o,
|
|
3314
|
-
label: t,
|
|
3315
|
-
minValue: r = 1,
|
|
3316
|
-
maxValue: a = 5,
|
|
3317
|
-
defValue: l = 3,
|
|
3318
|
-
thumbColor: c = "#B32F5D",
|
|
3319
|
-
trackColors: u = ["#B32F5D", "#EFEFEF"],
|
|
3320
|
-
// [ LEFT, RIGHT ],
|
|
3321
|
-
required: m,
|
|
3322
|
-
errorColor: g = "red",
|
|
3323
|
-
width: _ = 265,
|
|
3324
|
-
minText: b,
|
|
3325
|
-
maxText: C
|
|
3326
|
-
} = n, { t: f } = k(), { control: h, trigger: y, clearErrors: v } = d, w = te(m);
|
|
3327
|
-
M(() => {
|
|
3328
|
-
w.current !== m && (m ? y(i) : v(i), w.current = m);
|
|
3329
|
-
}, [m, i, y, v]);
|
|
3330
|
-
const [x, N] = D(3), S = Array.from({ length: a - r + 1 }, ($, E) => r + E);
|
|
3331
|
-
return /* @__PURE__ */ s(
|
|
3332
|
-
ye,
|
|
3333
|
-
{
|
|
3334
|
-
name: i,
|
|
3335
|
-
control: h,
|
|
3336
|
-
rules: {
|
|
3337
|
-
// required: required
|
|
3338
|
-
// ? `${t(label)} ${t("errorMessages.required")}`
|
|
3339
|
-
// : false,
|
|
3340
|
-
// maxLength: maxLength || undefined,
|
|
3341
|
-
// validate: validateFunction || undefined,
|
|
3342
|
-
},
|
|
3343
|
-
render: ({ field: $, fieldState: E }) => /* @__PURE__ */ p("div", { className: q.rankingSliderContainer, children: [
|
|
3344
|
-
/* @__PURE__ */ p("p", { className: q.labelContainer, children: [
|
|
3345
|
-
f(t),
|
|
3346
|
-
" "
|
|
3347
|
-
] }),
|
|
3348
|
-
/* @__PURE__ */ p("div", { className: q.inputContainer, style: { width: _ }, children: [
|
|
3349
|
-
/* @__PURE__ */ s(
|
|
3350
|
-
at,
|
|
3351
|
-
{
|
|
3352
|
-
min: r,
|
|
3353
|
-
max: a,
|
|
3354
|
-
step: 1,
|
|
3355
|
-
value: x,
|
|
3356
|
-
defaultValue: l,
|
|
3357
|
-
onChange: N,
|
|
3358
|
-
marks: !0,
|
|
3359
|
-
className: q.slider,
|
|
3360
|
-
thumbClassName: q.thumb,
|
|
3361
|
-
renderThumb: (A, H) => /* @__PURE__ */ s(
|
|
3362
|
-
"div",
|
|
3363
|
-
{
|
|
3364
|
-
...A,
|
|
3365
|
-
style: {
|
|
3366
|
-
...A.style,
|
|
3367
|
-
backgroundColor: c
|
|
3368
|
-
}
|
|
3369
|
-
}
|
|
3370
|
-
),
|
|
3371
|
-
renderTrack: (A, H) => {
|
|
3372
|
-
const O = `${A.className || ""} ${H.index === 0 ? q.trackLeft : q.trackRight}`;
|
|
3373
|
-
return /* @__PURE__ */ s(
|
|
3374
|
-
"div",
|
|
3375
|
-
{
|
|
3376
|
-
...A,
|
|
3377
|
-
className: O,
|
|
3378
|
-
style: {
|
|
3379
|
-
...A.style,
|
|
3380
|
-
backgroundColor: u[H.index] || "#000"
|
|
3381
|
-
// color según índice
|
|
3382
|
-
}
|
|
3383
|
-
}
|
|
3384
|
-
);
|
|
3385
|
-
},
|
|
3386
|
-
trackClassName: q.track,
|
|
3387
|
-
markClassName: q.mark
|
|
3388
|
-
}
|
|
3389
|
-
),
|
|
3390
|
-
/* @__PURE__ */ s("div", { className: q.labels, children: S.map((A) => /* @__PURE__ */ s("span", { children: A }, A)) }),
|
|
3391
|
-
/* @__PURE__ */ p("div", { className: q.labels, children: [
|
|
3392
|
-
/* @__PURE__ */ s("span", { className: q.labelsText, children: f(b) }),
|
|
3393
|
-
/* @__PURE__ */ s("span", { className: q.labelsText, children: f(C) })
|
|
3394
|
-
] })
|
|
3395
|
-
] })
|
|
3396
|
-
] })
|
|
3397
|
-
}
|
|
3398
|
-
);
|
|
3399
|
-
}, Le = ({
|
|
3301
|
+
}, Se = ({
|
|
3400
3302
|
inputs: n,
|
|
3401
3303
|
inputContainerStyles: d,
|
|
3402
3304
|
reactHookFormInstance: i
|
|
3403
3305
|
}) => {
|
|
3404
|
-
const { watch: o } = i, t = o(), r =
|
|
3306
|
+
const { watch: o } = i, t = o(), r = ae(() => n.map((a) => {
|
|
3405
3307
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3406
3308
|
return {
|
|
3407
3309
|
...a,
|
|
@@ -3411,30 +3313,14 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3411
3313
|
return /* @__PURE__ */ s("div", { className: re.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3412
3314
|
const { inputType: c } = a;
|
|
3413
3315
|
switch (c) {
|
|
3414
|
-
case
|
|
3415
|
-
return /* @__PURE__ */ s(
|
|
3416
|
-
"div",
|
|
3417
|
-
{
|
|
3418
|
-
className: re.inputContainer,
|
|
3419
|
-
style: { ...d },
|
|
3420
|
-
children: /* @__PURE__ */ s(
|
|
3421
|
-
nt,
|
|
3422
|
-
{
|
|
3423
|
-
input: a,
|
|
3424
|
-
reactHookFormInstance: i
|
|
3425
|
-
}
|
|
3426
|
-
)
|
|
3427
|
-
},
|
|
3428
|
-
`${a.code}${l}`
|
|
3429
|
-
);
|
|
3430
|
-
case ue.password:
|
|
3316
|
+
case he.text:
|
|
3431
3317
|
return /* @__PURE__ */ s(
|
|
3432
3318
|
"div",
|
|
3433
3319
|
{
|
|
3434
3320
|
className: re.inputContainer,
|
|
3435
3321
|
style: { ...d },
|
|
3436
3322
|
children: /* @__PURE__ */ s(
|
|
3437
|
-
|
|
3323
|
+
Je,
|
|
3438
3324
|
{
|
|
3439
3325
|
input: a,
|
|
3440
3326
|
reactHookFormInstance: i
|
|
@@ -3443,14 +3329,14 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3443
3329
|
},
|
|
3444
3330
|
`${a.code}${l}`
|
|
3445
3331
|
);
|
|
3446
|
-
case
|
|
3332
|
+
case he.password:
|
|
3447
3333
|
return /* @__PURE__ */ s(
|
|
3448
3334
|
"div",
|
|
3449
3335
|
{
|
|
3450
3336
|
className: re.inputContainer,
|
|
3451
3337
|
style: { ...d },
|
|
3452
3338
|
children: /* @__PURE__ */ s(
|
|
3453
|
-
|
|
3339
|
+
Je,
|
|
3454
3340
|
{
|
|
3455
3341
|
input: a,
|
|
3456
3342
|
reactHookFormInstance: i
|
|
@@ -3459,14 +3345,14 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3459
3345
|
},
|
|
3460
3346
|
`${a.code}${l}`
|
|
3461
3347
|
);
|
|
3462
|
-
case
|
|
3348
|
+
case he.select:
|
|
3463
3349
|
return /* @__PURE__ */ s(
|
|
3464
3350
|
"div",
|
|
3465
3351
|
{
|
|
3466
3352
|
className: re.inputContainer,
|
|
3467
3353
|
style: { ...d },
|
|
3468
3354
|
children: /* @__PURE__ */ s(
|
|
3469
|
-
|
|
3355
|
+
_1,
|
|
3470
3356
|
{
|
|
3471
3357
|
input: a,
|
|
3472
3358
|
reactHookFormInstance: i
|
|
@@ -3475,14 +3361,14 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3475
3361
|
},
|
|
3476
3362
|
`${a.code}${l}`
|
|
3477
3363
|
);
|
|
3478
|
-
case
|
|
3364
|
+
case he.radioList:
|
|
3479
3365
|
return /* @__PURE__ */ s(
|
|
3480
3366
|
"div",
|
|
3481
3367
|
{
|
|
3482
3368
|
className: re.inputContainer,
|
|
3483
3369
|
style: { ...d },
|
|
3484
3370
|
children: /* @__PURE__ */ s(
|
|
3485
|
-
|
|
3371
|
+
S1,
|
|
3486
3372
|
{
|
|
3487
3373
|
input: a,
|
|
3488
3374
|
reactHookFormInstance: i
|
|
@@ -3495,7 +3381,7 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3495
3381
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3496
3382
|
}
|
|
3497
3383
|
}) });
|
|
3498
|
-
},
|
|
3384
|
+
}, ci = ({
|
|
3499
3385
|
reactHookFormInstance: n,
|
|
3500
3386
|
formObject: d,
|
|
3501
3387
|
//Component with {title, children} as props.
|
|
@@ -3513,37 +3399,37 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3513
3399
|
}) => {
|
|
3514
3400
|
const {
|
|
3515
3401
|
handleSubmit: m,
|
|
3516
|
-
control:
|
|
3402
|
+
control: h,
|
|
3517
3403
|
formState: { errors: _ }
|
|
3518
|
-
} = n, { t:
|
|
3404
|
+
} = n, { t: f } = k();
|
|
3519
3405
|
return (
|
|
3520
3406
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3521
|
-
/* @__PURE__ */ p("form", { className:
|
|
3522
|
-
/* @__PURE__ */ s("div", { className:
|
|
3523
|
-
const { inputs:
|
|
3524
|
-
return
|
|
3407
|
+
/* @__PURE__ */ p("form", { className: Be.formContainer, onSubmit: m(u), children: [
|
|
3408
|
+
/* @__PURE__ */ s("div", { className: Be.formObjectContainer, children: d && d.map((g, y) => {
|
|
3409
|
+
const { inputs: C } = g;
|
|
3410
|
+
return g.category ? i ? /* @__PURE__ */ s(
|
|
3525
3411
|
"div",
|
|
3526
3412
|
{
|
|
3527
3413
|
style: {
|
|
3528
|
-
display: c &&
|
|
3414
|
+
display: c && g.categoryId !== c ? "none" : "inherit",
|
|
3529
3415
|
width: "100%"
|
|
3530
3416
|
},
|
|
3531
3417
|
children: /* @__PURE__ */ s(
|
|
3532
3418
|
i,
|
|
3533
3419
|
{
|
|
3534
|
-
title:
|
|
3420
|
+
title: g.category,
|
|
3535
3421
|
children: /* @__PURE__ */ s(
|
|
3536
|
-
|
|
3422
|
+
Se,
|
|
3537
3423
|
{
|
|
3538
|
-
inputs:
|
|
3539
|
-
control:
|
|
3424
|
+
inputs: C,
|
|
3425
|
+
control: h,
|
|
3540
3426
|
inputContainerStyles: o,
|
|
3541
3427
|
errorColor: r,
|
|
3542
3428
|
formInstance: n
|
|
3543
3429
|
}
|
|
3544
3430
|
)
|
|
3545
3431
|
},
|
|
3546
|
-
`${
|
|
3432
|
+
`${g.category}${y}`
|
|
3547
3433
|
)
|
|
3548
3434
|
}
|
|
3549
3435
|
) : /* @__PURE__ */ p(
|
|
@@ -3551,16 +3437,16 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3551
3437
|
{
|
|
3552
3438
|
style: {
|
|
3553
3439
|
width: "100%",
|
|
3554
|
-
display: c &&
|
|
3440
|
+
display: c && g.categoryId !== c ? "none" : "flex",
|
|
3555
3441
|
flexDirection: "column"
|
|
3556
3442
|
},
|
|
3557
3443
|
children: [
|
|
3558
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children:
|
|
3444
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f(g.category) }),
|
|
3559
3445
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3560
|
-
|
|
3446
|
+
Se,
|
|
3561
3447
|
{
|
|
3562
|
-
inputs:
|
|
3563
|
-
control:
|
|
3448
|
+
inputs: C,
|
|
3449
|
+
control: h,
|
|
3564
3450
|
inputContainerStyles: o,
|
|
3565
3451
|
errorColor: r,
|
|
3566
3452
|
reactHookFormInstance: n
|
|
@@ -3568,128 +3454,32 @@ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
|
|
|
3568
3454
|
) })
|
|
3569
3455
|
]
|
|
3570
3456
|
},
|
|
3571
|
-
`${
|
|
3457
|
+
`${g.category}${y}`
|
|
3572
3458
|
) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3573
|
-
|
|
3459
|
+
Se,
|
|
3574
3460
|
{
|
|
3575
3461
|
inputContainerStyles: o,
|
|
3576
|
-
inputs:
|
|
3577
|
-
control:
|
|
3462
|
+
inputs: C,
|
|
3463
|
+
control: h,
|
|
3578
3464
|
errorColor: r,
|
|
3465
|
+
watchedValues,
|
|
3579
3466
|
reactHookFormInstance: n
|
|
3580
3467
|
}
|
|
3581
|
-
) }, `inputKey${
|
|
3468
|
+
) }, `inputKey${y}`);
|
|
3582
3469
|
}) }),
|
|
3583
|
-
/* @__PURE__ */ p("div", { className:
|
|
3584
|
-
/* @__PURE__ */ s(
|
|
3585
|
-
/* @__PURE__ */ s(
|
|
3470
|
+
/* @__PURE__ */ p("div", { className: Be.buttonContainer, children: [
|
|
3471
|
+
/* @__PURE__ */ s(Ce, { containerStyles: l, type: "submit", children: f(a) }),
|
|
3472
|
+
/* @__PURE__ */ s(fe, { errorMessage: t, errorColor: r })
|
|
3586
3473
|
] })
|
|
3587
3474
|
] })
|
|
3588
3475
|
);
|
|
3589
|
-
},
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
buttonsContainer: G1,
|
|
3597
|
-
buttonWrapper: W1
|
|
3598
|
-
}, Y1 = ({
|
|
3599
|
-
onClose: n,
|
|
3600
|
-
icon: d,
|
|
3601
|
-
message: i,
|
|
3602
|
-
submessage: o,
|
|
3603
|
-
buttons: t,
|
|
3604
|
-
maxHeight: r = "450px",
|
|
3605
|
-
maxWidth: a = "450px"
|
|
3606
|
-
}) => /* @__PURE__ */ s("div", { className: G.overlay, children: /* @__PURE__ */ p(
|
|
3607
|
-
"div",
|
|
3608
|
-
{
|
|
3609
|
-
className: G.modal,
|
|
3610
|
-
style: { maxHeight: r, maxWidth: a },
|
|
3611
|
-
children: [
|
|
3612
|
-
/* @__PURE__ */ s("button", { className: G.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3613
|
-
d && /* @__PURE__ */ s("img", { src: d, alt: "icon", className: G.icon }),
|
|
3614
|
-
/* @__PURE__ */ s("p", { className: G.message, children: i }),
|
|
3615
|
-
o && /* @__PURE__ */ s("p", { className: G.submessage, children: o }),
|
|
3616
|
-
t.length > 0 && /* @__PURE__ */ s("div", { className: G.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ s("div", { className: G.buttonWrapper, children: l }, c)) })
|
|
3617
|
-
]
|
|
3618
|
-
}
|
|
3619
|
-
) });
|
|
3620
|
-
Y1.propTypes = {
|
|
3621
|
-
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3622
|
-
onClose: e.func.isRequired,
|
|
3623
|
-
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
3624
|
-
icon: e.string,
|
|
3625
|
-
/** Texto principal del modal */
|
|
3626
|
-
message: e.string.isRequired,
|
|
3627
|
-
/** Texto opcional debajo del mensaje principal */
|
|
3628
|
-
submessage: e.string,
|
|
3629
|
-
/** Array de componentes de botones a renderizar en el modal */
|
|
3630
|
-
buttons: e.arrayOf(e.node),
|
|
3631
|
-
/** Altura máxima del modal (por defecto 400px) */
|
|
3632
|
-
maxHeight: e.string,
|
|
3633
|
-
/** Anchura máxima del modal (por defecto 400px) */
|
|
3634
|
-
maxWidth: e.string
|
|
3635
|
-
};
|
|
3636
|
-
const Q1 = "_stepsContainer_1cyua_3", X1 = "_stepWrapper_1cyua_9", J1 = "_circleContainer_1cyua_19", ei = "_circle_1cyua_19", ti = "_active_1cyua_39", ni = "_completed_1cyua_44", ii = "_label_1cyua_50", oi = "_labelActive_1cyua_56", si = "_connector_1cyua_61", K = {
|
|
3637
|
-
stepsContainer: Q1,
|
|
3638
|
-
stepWrapper: X1,
|
|
3639
|
-
circleContainer: J1,
|
|
3640
|
-
circle: ei,
|
|
3641
|
-
active: ti,
|
|
3642
|
-
completed: ni,
|
|
3643
|
-
label: ii,
|
|
3644
|
-
labelActive: oi,
|
|
3645
|
-
connector: si
|
|
3646
|
-
}, xt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ s("div", { className: K.stepsContainer, children: n.map((i, o) => {
|
|
3647
|
-
const t = i.status === "active", r = i.status === "completed";
|
|
3648
|
-
return /* @__PURE__ */ p("div", { className: K.stepWrapper, children: [
|
|
3649
|
-
/* @__PURE__ */ p("div", { className: K.circleContainer, children: [
|
|
3650
|
-
/* @__PURE__ */ s(
|
|
3651
|
-
"div",
|
|
3652
|
-
{
|
|
3653
|
-
className: `${K.circle}
|
|
3654
|
-
${t ? K.active : ""}
|
|
3655
|
-
${r ? K.completed : ""}`,
|
|
3656
|
-
style: t ? { backgroundColor: d } : {},
|
|
3657
|
-
onClick: i.onClick,
|
|
3658
|
-
children: o + 1
|
|
3659
|
-
}
|
|
3660
|
-
),
|
|
3661
|
-
o < n.length - 1 && /* @__PURE__ */ s("div", { className: K.connector })
|
|
3662
|
-
] }),
|
|
3663
|
-
/* @__PURE__ */ s(
|
|
3664
|
-
"div",
|
|
3665
|
-
{
|
|
3666
|
-
className: `${K.label} ${t ? K.labelActive : ""}`,
|
|
3667
|
-
children: i.name
|
|
3668
|
-
}
|
|
3669
|
-
)
|
|
3670
|
-
] }, o);
|
|
3671
|
-
}) });
|
|
3672
|
-
xt.propTypes = {
|
|
3673
|
-
steps: e.arrayOf(
|
|
3674
|
-
e.shape({
|
|
3675
|
-
name: e.string.isRequired,
|
|
3676
|
-
onClick: e.func,
|
|
3677
|
-
status: e.oneOf(["inactive", "active", "completed"]).isRequired
|
|
3678
|
-
})
|
|
3679
|
-
).isRequired,
|
|
3680
|
-
activeColor: e.string
|
|
3681
|
-
};
|
|
3682
|
-
xt.defaultProps = {
|
|
3683
|
-
activeColor: "#C2185B"
|
|
3684
|
-
// color por defecto
|
|
3685
|
-
};
|
|
3686
|
-
const ri = "_header_13kbt_2", ai = "_leftComponents_13kbt_13", li = "_centerComponents_13kbt_14", ci = "_rightComponents_13kbt_15", di = "_componentsContainer_13kbt_32", J = {
|
|
3687
|
-
header: ri,
|
|
3688
|
-
leftComponents: ai,
|
|
3689
|
-
centerComponents: li,
|
|
3690
|
-
rightComponents: ci,
|
|
3691
|
-
componentsContainer: di
|
|
3692
|
-
}, ui = ({
|
|
3476
|
+
}, D1 = "_header_13kbt_2", M1 = "_leftComponents_13kbt_13", L1 = "_centerComponents_13kbt_14", $1 = "_rightComponents_13kbt_15", F1 = "_componentsContainer_13kbt_32", G = {
|
|
3477
|
+
header: D1,
|
|
3478
|
+
leftComponents: M1,
|
|
3479
|
+
centerComponents: L1,
|
|
3480
|
+
rightComponents: $1,
|
|
3481
|
+
componentsContainer: F1
|
|
3482
|
+
}, T1 = ({
|
|
3693
3483
|
cssProps: n,
|
|
3694
3484
|
leftComponents: d = [],
|
|
3695
3485
|
centerComponents: i = [],
|
|
@@ -3702,7 +3492,7 @@ const ri = "_header_13kbt_2", ai = "_leftComponents_13kbt_13", li = "_centerComp
|
|
|
3702
3492
|
}) => /* @__PURE__ */ p(
|
|
3703
3493
|
"div",
|
|
3704
3494
|
{
|
|
3705
|
-
className:
|
|
3495
|
+
className: G.header,
|
|
3706
3496
|
style: {
|
|
3707
3497
|
...n,
|
|
3708
3498
|
zIndex: t,
|
|
@@ -3712,13 +3502,13 @@ const ri = "_header_13kbt_2", ai = "_leftComponents_13kbt_13", li = "_centerComp
|
|
|
3712
3502
|
bottom: l ? 0 : "auto"
|
|
3713
3503
|
},
|
|
3714
3504
|
children: [
|
|
3715
|
-
/* @__PURE__ */ s("div", { className:
|
|
3716
|
-
/* @__PURE__ */ s("div", { className:
|
|
3717
|
-
/* @__PURE__ */ s("div", { className:
|
|
3505
|
+
/* @__PURE__ */ s("div", { className: G.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
|
|
3506
|
+
/* @__PURE__ */ s("div", { className: G.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
|
|
3507
|
+
/* @__PURE__ */ s("div", { className: G.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) })
|
|
3718
3508
|
]
|
|
3719
3509
|
}
|
|
3720
3510
|
);
|
|
3721
|
-
|
|
3511
|
+
T1.propTypes = {
|
|
3722
3512
|
leftComponents: e.arrayOf(e.node),
|
|
3723
3513
|
centerComponents: e.arrayOf(e.node),
|
|
3724
3514
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3728,12 +3518,12 @@ ui.propTypes = {
|
|
|
3728
3518
|
backgroundColor: e.string,
|
|
3729
3519
|
isFooter: e.bool
|
|
3730
3520
|
};
|
|
3731
|
-
const
|
|
3732
|
-
sidebar:
|
|
3733
|
-
open:
|
|
3734
|
-
content:
|
|
3735
|
-
closeButton:
|
|
3736
|
-
},
|
|
3521
|
+
const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20", O1 = "_closeButton_1fmjn_26", ge = {
|
|
3522
|
+
sidebar: V1,
|
|
3523
|
+
open: A1,
|
|
3524
|
+
content: I1,
|
|
3525
|
+
closeButton: O1
|
|
3526
|
+
}, R1 = "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", q1 = ({
|
|
3737
3527
|
width: n = "300px",
|
|
3738
3528
|
children: d,
|
|
3739
3529
|
showRightBar: i,
|
|
@@ -3745,48 +3535,45 @@ const pi = "_sidebar_1fmjn_2", mi = "_open_1fmjn_16", hi = "_content_1fmjn_20",
|
|
|
3745
3535
|
return /* @__PURE__ */ s(
|
|
3746
3536
|
"div",
|
|
3747
3537
|
{
|
|
3748
|
-
className: `${
|
|
3538
|
+
className: `${ge.sidebar} ${i ? ge.open : ""}`,
|
|
3749
3539
|
style: { width: i ? n : 0 },
|
|
3750
|
-
children: i && /* @__PURE__ */ p("div", { className:
|
|
3751
|
-
/* @__PURE__ */ s("button", { className:
|
|
3540
|
+
children: i && /* @__PURE__ */ p("div", { className: ge.content, children: [
|
|
3541
|
+
/* @__PURE__ */ s("button", { className: ge.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: R1, alt: "Close Sidebar" }) }),
|
|
3752
3542
|
d
|
|
3753
3543
|
] })
|
|
3754
3544
|
}
|
|
3755
3545
|
);
|
|
3756
3546
|
};
|
|
3757
|
-
|
|
3547
|
+
q1.propTypes = {
|
|
3758
3548
|
width: e.string,
|
|
3759
3549
|
children: e.node,
|
|
3760
3550
|
showRightBar: e.bool,
|
|
3761
3551
|
onCloseBar: e.func
|
|
3762
3552
|
};
|
|
3763
3553
|
export {
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
z0 as
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
mn as TimeSlider,
|
|
3790
|
-
ee as Tooltip,
|
|
3791
|
-
fn as TopNavMenu
|
|
3554
|
+
l2 as AmbitSelector,
|
|
3555
|
+
_2 as ButtonsList,
|
|
3556
|
+
W as DropdownList,
|
|
3557
|
+
ii as EditAmbit,
|
|
3558
|
+
fe as ErrorMessage,
|
|
3559
|
+
H2 as FiltersAmbit,
|
|
3560
|
+
ci as Form,
|
|
3561
|
+
Q2 as Graphic,
|
|
3562
|
+
T1 as HeaderSection,
|
|
3563
|
+
g0 as IndicatorsList,
|
|
3564
|
+
v0 as LangSelector,
|
|
3565
|
+
O0 as Legend,
|
|
3566
|
+
En as ListSelector,
|
|
3567
|
+
Cn as LogInButton,
|
|
3568
|
+
q0 as LogoApp,
|
|
3569
|
+
z0 as MapboxMap,
|
|
3570
|
+
G0 as MaplibreMap,
|
|
3571
|
+
S1 as RadioButtonInput,
|
|
3572
|
+
q1 as RightSidebar,
|
|
3573
|
+
oi as SectionBar,
|
|
3574
|
+
_1 as SelectInput,
|
|
3575
|
+
Je as TextInput,
|
|
3576
|
+
cn as TimeSlider,
|
|
3577
|
+
Y as Tooltip,
|
|
3578
|
+
mn as TopNavMenu
|
|
3792
3579
|
};
|