@tmf_ciclica/ciclicastorybook 1.2.179 → 1.2.181
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 +21 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +547 -546
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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_9a7gq_2{display:flex;gap:8px}._buttonsContainer_9a7gq_2._vertical_9a7gq_6{flex-direction:column}._buttonsContainer_9a7gq_2._vertical_9a7gq_6 ._separator_9a7gq_9{width:100%;height:2px;margin:4px 0}._buttonsContainer_9a7gq_2._horizontal_9a7gq_14{flex-direction:row;align-items:center}._buttonsContainer_9a7gq_2._horizontal_9a7gq_14 ._separator_9a7gq_9{width:2px;align-self:stretch;margin:0 8px}._separator_9a7gq_9{display:block;flex-shrink:0;background-color:#605b56;border-radius:1px}._button_9a7gq_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_9a7gq_2:hover{opacity:.8}._button_9a7gq_2._active_9a7gq_43{font-weight:700}._button_9a7gq_2 ._buttonName_9a7gq_46{margin:0 4px}._button_9a7gq_2:disabled{opacity:.5!important;cursor:auto}._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}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{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_ei39o_2{width:100%;min-height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_ei39o_2 ._FiltersContainer_ei39o_15{width:100%}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitTitle_ei39o_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitDescription_ei39o_35{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 25px 26px 0;font-size:16px;font-weight:400;width:100%}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitDescription_ei39o_35 ._FiltersAmbitDescriptionTitle_ei39o_48{font-size:18px;font-weight:600;width:100%}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitDescription_ei39o_35 ._FiltersAmbitDescriptionTitle_ei39o_48 textarea{width:100%;resize:vertical}._FiltersAmbitContainer_ei39o_2 ._warning_ei39o_57{color:red}._FiltersAmbitContainer_ei39o_2 ._buttonContainer_ei39o_60{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._barChartContainer_1ly7h_2{position:relative;overflow-x:scroll;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--main-color) transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar{height:6px}._barChartContainer_1ly7h_2::-webkit-scrollbar-track{background:transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar-thumb{background-color:var(--main-color);border-radius:3px}._barChartContainer_1ly7h_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_swmx0_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:stretch;gap:10px;width:100%}._indicatorContainer_swmx0_2 ._indicatorNameContainer_swmx0_12{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center;width:100%}._indicatorContainer_swmx0_2 ._dot_swmx0_19{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_swmx0_2 ._indicatorName_swmx0_12{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_swmx0_33{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42{margin:0;width:100%}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57 ._customRadious_swmx0_67{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57 ._optionText_swmx0_74{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_r9cd6_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}@media (max-width: 500px){._legendContainer_r9cd6_3{width:250px}}._legendContainer_r9cd6_3 ._sectionContainer_r9cd6_24:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_r9cd6_3::-webkit-scrollbar{width:8px}._legendContainer_r9cd6_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_r9cd6_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43{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_r9cd6_3 ._closeButton_r9cd6_43:before,._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:before{transform:rotate(45deg)}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:after{transform:rotate(-45deg)}._legendContainer_r9cd6_3 ._titleContainer_r9cd6_71{border-bottom:solid 1.5px #605b56}._legendContainer_r9cd6_3 ._titleContainer_r9cd6_71 h2{padding-bottom:16px}._legendContainer_r9cd6_3 ._infoContainer_r9cd6_77{padding-top:20px}._legendContainer_r9cd6_3 ._infoContainer_r9cd6_77 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_r9cd6_3 ._titleLegendList_r9cd6_88{padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56;padding-right:30px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94 ._elementLegendContainer_r9cd6_100{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94 ._elementLegendContainer_r9cd6_100 ._colorDot_r9cd6_106{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112{position:relative}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112 ._absoluteValueColor_r9cd6_115{height:130px;width:22px;border-radius:20px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112 ._absoluteValueText_r9cd6_120{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_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132{position:relative;margin-top:10px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132 ._noData_r9cd6_132{height:22px;width:22px;border-radius:20px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132 ._absoluteValueText_r9cd6_120{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_r9cd6_3 ._moreInfoContainer_r9cd6_153{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_1r3q4_3{width:100%;height:100%;position:absolute;top:0;z-index:0}._FeaturePopUp_oymb1_2{padding:15px;color:#92898a}._FeaturePopUp_oymb1_2 p{margin-bottom:10px;font-weight:600}._FeaturePopUp_oymb1_2 ._title_oymb1_10{font-weight:400;margin-right:5px;color:#92898a}._FeaturePopUp_oymb1_2 ._button_oymb1_15{background:#fdfdfd;width:100%;margin-top:8px;padding:8px 16px;color:#92898a;border:1px solid #92898a;border-radius:20px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}._sectionBar_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{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}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{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_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 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_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{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_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_s4s4h_3{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;padding-right:15px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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}._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_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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_1dvpb_2{display:grid;width:100%}._rankingSliderContainer_1dvpb_2 ._labelContainer_1dvpb_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._slider_1dvpb_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._thumb_1dvpb_27{height:15px;width:15px;border-radius:50%;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 ._labelsText_1dvpb_64{color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67,._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._maxLabel_1dvpb_68{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67{text-align:right}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._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}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._percentageBarContainer_lgkme_3{width:100%;font-family:Arial,sans-serif;-webkit-user-select:none;user-select:none}._barContainer_lgkme_10{display:flex;width:100%;height:20px;border-radius:4px;overflow:visible;position:relative}._segment_lgkme_19{height:100%;position:relative;transition:width .05s linear;box-sizing:border-box}._segment_lgkme_19:first-child{border-radius:4px 0 0 4px}._segment_lgkme_19:last-child{border-radius:0 4px 4px 0}._segment_lgkme_19:only-child{border-radius:4px}._handle_lgkme_36{position:absolute;width:14px;height:28px;top:50%;left:0;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #888;border-radius:4px;cursor:ew-resize;z-index:10;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #00000040;touch-action:none}._handle_lgkme_36:before{content:"";width:2px;height:10px;border-left:1px solid #bbb;border-right:1px solid #bbb}._handle_lgkme_36:hover,._handle_lgkme_36:active{border-color:#444;background-color:#f5f5f5}._labelsContainer_lgkme_68{display:flex;width:100%;margin-top:8px}._labelsContainer_lgkme_68 ._labelItem_lgkme_73{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelsListContainer_lgkme_85{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:18px}._labelsListContainer_lgkme_85 ._labelItem_lgkme_73{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelColor_lgkme_105{display:inline-block;width:10px;height:10px;border-radius:2px;margin-bottom:2px;flex-shrink:0}._labelText_lgkme_114{font-weight:600;margin-bottom:2px;text-align:center;word-break:break-word;line-height:1.2}._labelValue_lgkme_122{margin-bottom:2px}._labelTranslation_lgkme_126{color:#fff;font-size:11px;font-style:italic}._overlay_1vbid_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;animation:_fadeIn_1vbid_1 .3s ease-out}._modal_1vbid_16{background:#fff;border-radius:12px;border:2px solid transparent;padding:24px 32px;min-width:300px;max-width:500px;box-shadow:0 4px 20px #0003;animation:_slideUp_1vbid_1 .3s ease-out;position:relative}._content_1vbid_28{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}._iconContainer_1vbid_36{display:flex;align-items:center;justify-content:center;margin-bottom:8px}._iconSvg_1vbid_43{width:48px;height:48px}._textContainer_1vbid_48{display:flex;flex-direction:column;gap:8px;width:100%}._title_1vbid_55{font-size:20px;font-weight:600;margin:0;line-height:1.4}._message_1vbid_62{font-size:16px;margin:0;line-height:1.5;opacity:.9}._closeButton_1vbid_69{position:absolute;top:12px;right:12px;background:transparent;border:none;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s}._closeButton_1vbid_69:hover{background-color:#0000001a}._closeButton_1vbid_69:focus{outline:2px solid currentColor;outline-offset:2px}@keyframes _fadeIn_1vbid_1{0%{opacity:0}to{opacity:1}}@keyframes _slideUp_1vbid_1{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}._errorModal_1vbid_107{background:#fff5f5;border-color:#feb2b2}._errorModal_1vbid_107 ._title_1vbid_55,._errorModal_1vbid_107 ._message_1vbid_62,._errorModal_1vbid_107 ._closeButton_1vbid_69,._errorModal_1vbid_107 ._iconSvg_1vbid_43{color:#c53030}._successModal_1vbid_120{background:#f0fff4;border-color:#9ae6b4}._successModal_1vbid_120 ._title_1vbid_55,._successModal_1vbid_120 ._message_1vbid_62,._successModal_1vbid_120 ._closeButton_1vbid_69,._successModal_1vbid_120 ._iconSvg_1vbid_43{color:#276749}._dropdownSelector_7vhxk_2{--ds-text: #1f2a24;--ds-bg: #ffffff;--ds-border: transparent;--ds-icon-bg: transparent;--ds-menu-bg: #ffffff;--ds-option-text: #1f2a24;--ds-option-hover-bg: #f3f5f3;--ds-active-bg: #e3ece6;--ds-active-text: #1f2a24;position:relative;display:inline-block;font-family:Poppins,sans-serif}._trigger_7vhxk_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:8px;flex-direction:row;align-items:center;min-width:200px;height:44px;padding:0 14px 0 6px;background:var(--ds-bg);color:var(--ds-text);border:1px solid var(--ds-border);border-radius:6px;font-size:16px;font-weight:400;cursor:pointer}._trigger_7vhxk_17:focus-visible{outline:2px solid var(--ds-active-bg);outline-offset:2px}._trigger_7vhxk_17:disabled{opacity:.5;cursor:auto}._trigger_7vhxk_17._open_7vhxk_43 ._arrow_7vhxk_43{transform:rotate(180deg)}._icon_7vhxk_47{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--ds-icon-bg)}._icon_7vhxk_47 img{width:32px;height:32px}._label_7vhxk_65{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._arrow_7vhxk_43{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;flex-shrink:0;margin-left:12px;transition:transform .2s ease}._arrow_7vhxk_43 img{width:10px}._menu_7vhxk_88{position:absolute;z-index:10;min-width:100%;margin:0;padding:4px 0;list-style:none;background:var(--ds-menu-bg);border-radius:8px;box-shadow:0 2px 10px #00000026;white-space:nowrap}._menu_7vhxk_88._top_7vhxk_100{bottom:calc(100% + 6px)}._menu_7vhxk_88._bottom_7vhxk_103{top:calc(100% + 6px)}._menu_7vhxk_88._left_7vhxk_106{right:calc(100% + 6px)}._menu_7vhxk_88._right_7vhxk_109{left:calc(100% + 6px)}._menu_7vhxk_88._top_7vhxk_100._align-start_7vhxk_112,._menu_7vhxk_88._bottom_7vhxk_103._align-start_7vhxk_112{left:0}._menu_7vhxk_88._top_7vhxk_100._align-end_7vhxk_115,._menu_7vhxk_88._bottom_7vhxk_103._align-end_7vhxk_115{right:0}._menu_7vhxk_88._left_7vhxk_106,._menu_7vhxk_88._right_7vhxk_109{min-width:0}._menu_7vhxk_88._left_7vhxk_106._align-start_7vhxk_112,._menu_7vhxk_88._right_7vhxk_109._align-start_7vhxk_112{top:0}._menu_7vhxk_88._left_7vhxk_106._align-end_7vhxk_115,._menu_7vhxk_88._right_7vhxk_109._align-end_7vhxk_115{bottom:0}._option_7vhxk_128{padding:7px 12px;font-size:11px;color:var(--ds-option-text);cursor:pointer;outline:none}._option_7vhxk_128:hover,._option_7vhxk_128:focus-visible{background:var(--ds-option-hover-bg)}._option_7vhxk_128._active_7vhxk_138{background:var(--ds-active-bg);color:var(--ds-active-text);font-weight:500}._option_7vhxk_128._disabled_7vhxk_143{opacity:.4;cursor:auto}._option_7vhxk_128._disabled_7vhxk_143:hover{background:transparent}._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_1kaqu_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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
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_9a7gq_2{display:flex;gap:8px}._buttonsContainer_9a7gq_2._vertical_9a7gq_6{flex-direction:column}._buttonsContainer_9a7gq_2._vertical_9a7gq_6 ._separator_9a7gq_9{width:100%;height:2px;margin:4px 0}._buttonsContainer_9a7gq_2._horizontal_9a7gq_14{flex-direction:row;align-items:center}._buttonsContainer_9a7gq_2._horizontal_9a7gq_14 ._separator_9a7gq_9{width:2px;align-self:stretch;margin:0 8px}._separator_9a7gq_9{display:block;flex-shrink:0;background-color:#605b56;border-radius:1px}._button_9a7gq_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_9a7gq_2:hover{opacity:.8}._button_9a7gq_2._active_9a7gq_43{font-weight:700}._button_9a7gq_2 ._buttonName_9a7gq_46{margin:0 4px}._button_9a7gq_2:disabled{opacity:.5!important;cursor:auto}._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}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{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_ei39o_2{width:100%;min-height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_ei39o_2 ._FiltersContainer_ei39o_15{width:100%}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitTitle_ei39o_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitDescription_ei39o_35{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 25px 26px 0;font-size:16px;font-weight:400;width:100%}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitDescription_ei39o_35 ._FiltersAmbitDescriptionTitle_ei39o_48{font-size:18px;font-weight:600;width:100%}._FiltersAmbitContainer_ei39o_2 ._FiltersAmbitHeader_ei39o_18 ._FiltersAmbitDescription_ei39o_35 ._FiltersAmbitDescriptionTitle_ei39o_48 textarea{width:100%;resize:vertical}._FiltersAmbitContainer_ei39o_2 ._warning_ei39o_57{color:red}._FiltersAmbitContainer_ei39o_2 ._buttonContainer_ei39o_60{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._barChartContainer_1ly7h_2{position:relative;overflow-x:scroll;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--main-color) transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar{height:6px}._barChartContainer_1ly7h_2::-webkit-scrollbar-track{background:transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar-thumb{background-color:var(--main-color);border-radius:3px}._barChartContainer_1ly7h_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_swmx0_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:stretch;gap:10px;width:100%}._indicatorContainer_swmx0_2 ._indicatorNameContainer_swmx0_12{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center;width:100%}._indicatorContainer_swmx0_2 ._dot_swmx0_19{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_swmx0_2 ._indicatorName_swmx0_12{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_swmx0_33{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42{margin:0;width:100%}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57 ._customRadious_swmx0_67{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57 ._optionText_swmx0_74{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_r9cd6_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}@media (max-width: 500px){._legendContainer_r9cd6_3{width:250px}}._legendContainer_r9cd6_3 ._sectionContainer_r9cd6_24:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_r9cd6_3::-webkit-scrollbar{width:8px}._legendContainer_r9cd6_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_r9cd6_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43{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_r9cd6_3 ._closeButton_r9cd6_43:before,._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:before{transform:rotate(45deg)}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:after{transform:rotate(-45deg)}._legendContainer_r9cd6_3 ._titleContainer_r9cd6_71{border-bottom:solid 1.5px #605b56}._legendContainer_r9cd6_3 ._titleContainer_r9cd6_71 h2{padding-bottom:16px}._legendContainer_r9cd6_3 ._infoContainer_r9cd6_77{padding-top:20px}._legendContainer_r9cd6_3 ._infoContainer_r9cd6_77 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_r9cd6_3 ._titleLegendList_r9cd6_88{padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56;padding-right:30px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94 ._elementLegendContainer_r9cd6_100{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94 ._elementLegendContainer_r9cd6_100 ._colorDot_r9cd6_106{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112{position:relative}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112 ._absoluteValueColor_r9cd6_115{height:130px;width:22px;border-radius:20px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112 ._absoluteValueText_r9cd6_120{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_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132{position:relative;margin-top:10px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132 ._noData_r9cd6_132{height:22px;width:22px;border-radius:20px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132 ._absoluteValueText_r9cd6_120{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_r9cd6_3 ._moreInfoContainer_r9cd6_153{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_1r3q4_3{width:100%;height:100%;position:absolute;top:0;z-index:0}._FeaturePopUp_oymb1_2{padding:15px;color:#92898a}._FeaturePopUp_oymb1_2 p{margin-bottom:10px;font-weight:600}._FeaturePopUp_oymb1_2 ._title_oymb1_10{font-weight:400;margin-right:5px;color:#92898a}._FeaturePopUp_oymb1_2 ._button_oymb1_15{background:#fdfdfd;width:100%;margin-top:8px;padding:8px 16px;color:#92898a;border:1px solid #92898a;border-radius:20px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}._sectionBar_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{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}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{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_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 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_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{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_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_s4s4h_3{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;padding-right:15px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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}._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_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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_1dvpb_2{display:grid;width:100%}._rankingSliderContainer_1dvpb_2 ._labelContainer_1dvpb_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._slider_1dvpb_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._thumb_1dvpb_27{height:15px;width:15px;border-radius:50%;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 ._labelsText_1dvpb_64{color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67,._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._maxLabel_1dvpb_68{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67{text-align:right}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._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}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._percentageBarContainer_lgkme_3{width:100%;font-family:Arial,sans-serif;-webkit-user-select:none;user-select:none}._barContainer_lgkme_10{display:flex;width:100%;height:20px;border-radius:4px;overflow:visible;position:relative}._segment_lgkme_19{height:100%;position:relative;transition:width .05s linear;box-sizing:border-box}._segment_lgkme_19:first-child{border-radius:4px 0 0 4px}._segment_lgkme_19:last-child{border-radius:0 4px 4px 0}._segment_lgkme_19:only-child{border-radius:4px}._handle_lgkme_36{position:absolute;width:14px;height:28px;top:50%;left:0;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #888;border-radius:4px;cursor:ew-resize;z-index:10;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #00000040;touch-action:none}._handle_lgkme_36:before{content:"";width:2px;height:10px;border-left:1px solid #bbb;border-right:1px solid #bbb}._handle_lgkme_36:hover,._handle_lgkme_36:active{border-color:#444;background-color:#f5f5f5}._labelsContainer_lgkme_68{display:flex;width:100%;margin-top:8px}._labelsContainer_lgkme_68 ._labelItem_lgkme_73{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelsListContainer_lgkme_85{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:18px}._labelsListContainer_lgkme_85 ._labelItem_lgkme_73{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelColor_lgkme_105{display:inline-block;width:10px;height:10px;border-radius:2px;margin-bottom:2px;flex-shrink:0}._labelText_lgkme_114{font-weight:600;margin-bottom:2px;text-align:center;word-break:break-word;line-height:1.2}._labelValue_lgkme_122{margin-bottom:2px}._labelTranslation_lgkme_126{color:#fff;font-size:11px;font-style:italic}._overlay_1vbid_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;animation:_fadeIn_1vbid_1 .3s ease-out}._modal_1vbid_16{background:#fff;border-radius:12px;border:2px solid transparent;padding:24px 32px;min-width:300px;max-width:500px;box-shadow:0 4px 20px #0003;animation:_slideUp_1vbid_1 .3s ease-out;position:relative}._content_1vbid_28{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}._iconContainer_1vbid_36{display:flex;align-items:center;justify-content:center;margin-bottom:8px}._iconSvg_1vbid_43{width:48px;height:48px}._textContainer_1vbid_48{display:flex;flex-direction:column;gap:8px;width:100%}._title_1vbid_55{font-size:20px;font-weight:600;margin:0;line-height:1.4}._message_1vbid_62{font-size:16px;margin:0;line-height:1.5;opacity:.9}._closeButton_1vbid_69{position:absolute;top:12px;right:12px;background:transparent;border:none;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s}._closeButton_1vbid_69:hover{background-color:#0000001a}._closeButton_1vbid_69:focus{outline:2px solid currentColor;outline-offset:2px}@keyframes _fadeIn_1vbid_1{0%{opacity:0}to{opacity:1}}@keyframes _slideUp_1vbid_1{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}._errorModal_1vbid_107{background:#fff5f5;border-color:#feb2b2}._errorModal_1vbid_107 ._title_1vbid_55,._errorModal_1vbid_107 ._message_1vbid_62,._errorModal_1vbid_107 ._closeButton_1vbid_69,._errorModal_1vbid_107 ._iconSvg_1vbid_43{color:#c53030}._successModal_1vbid_120{background:#f0fff4;border-color:#9ae6b4}._successModal_1vbid_120 ._title_1vbid_55,._successModal_1vbid_120 ._message_1vbid_62,._successModal_1vbid_120 ._closeButton_1vbid_69,._successModal_1vbid_120 ._iconSvg_1vbid_43{color:#276749}._dropdownSelector_la9df_2{--ds-text: #1f2a24;--ds-bg: #ffffff;--ds-border: #cfd5d0;--ds-icon-bg: transparent;--ds-menu-bg: #ffffff;--ds-option-text: #1f2a24;--ds-option-hover-bg: #f3f5f3;--ds-active-bg: #e3ece6;--ds-active-text: #1f2a24;position:relative;display:inline-block;font-family:Poppins,sans-serif}._trigger_la9df_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:8px;flex-direction:row;align-items:center;min-width:200px;height:44px;padding:0 14px 0 6px;background:var(--ds-bg);color:var(--ds-text);border:1px solid var(--ds-border);border-radius:6px;font-size:16px;font-weight:400;cursor:pointer}._trigger_la9df_17:focus-visible{outline:2px solid var(--ds-active-bg);outline-offset:2px}._trigger_la9df_17:disabled{opacity:.5;cursor:auto}._trigger_la9df_17._open_la9df_43 ._arrow_la9df_43{transform:rotate(180deg)}._icon_la9df_47{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--ds-icon-bg)}._icon_la9df_47 img{width:32px;height:32px}._label_la9df_65{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._arrow_la9df_43{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;flex-shrink:0;margin-left:12px;transition:transform .2s ease}._arrow_la9df_43 img{width:10px}._menu_la9df_88{position:absolute;z-index:10;min-width:100%;margin:0;padding:4px 0;list-style:none;background:var(--ds-menu-bg);border-radius:8px;box-shadow:0 2px 10px #00000026;white-space:nowrap}._menu_la9df_88._top_la9df_100{bottom:calc(100% + 6px)}._menu_la9df_88._bottom_la9df_103{top:calc(100% + 6px)}._menu_la9df_88._left_la9df_106{right:calc(100% + 6px)}._menu_la9df_88._right_la9df_109{left:calc(100% + 6px)}._menu_la9df_88._top_la9df_100._align-start_la9df_112,._menu_la9df_88._bottom_la9df_103._align-start_la9df_112{left:0}._menu_la9df_88._top_la9df_100._align-end_la9df_115,._menu_la9df_88._bottom_la9df_103._align-end_la9df_115{right:0}._menu_la9df_88._left_la9df_106,._menu_la9df_88._right_la9df_109{min-width:0}._menu_la9df_88._left_la9df_106._align-start_la9df_112,._menu_la9df_88._right_la9df_109._align-start_la9df_112{top:0}._menu_la9df_88._left_la9df_106._align-end_la9df_115,._menu_la9df_88._right_la9df_109._align-end_la9df_115{bottom:0}._option_la9df_128{padding:7px 12px;font-size:11px;color:var(--ds-option-text);cursor:pointer;outline:none}._option_la9df_128:hover,._option_la9df_128:focus-visible{background:var(--ds-option-hover-bg)}._option_la9df_128._active_la9df_138{background:var(--ds-active-bg);color:var(--ds-active-text);font-weight:500}._option_la9df_128._disabled_la9df_143{opacity:.4;cursor:auto}._option_la9df_128._disabled_la9df_143:hover{background:transparent}._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_1kaqu_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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as T, jsx as u, Fragment as Rn } from "react/jsx-runtime";
|
|
3
3
|
import * as te from "react";
|
|
4
4
|
import se, { useState as le, useEffect as ne, Component as Zs, useMemo as qe, useRef as _e, useLayoutEffect as ba, useContext as yn, useImperativeHandle as vr, memo as Ht, forwardRef as _o, cloneElement as Gs, useCallback as Go, useId as Ys } from "react";
|
|
@@ -49,7 +49,7 @@ var Xo;
|
|
|
49
49
|
function $l() {
|
|
50
50
|
if (Xo) return he;
|
|
51
51
|
Xo = 1;
|
|
52
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121,
|
|
52
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
53
53
|
function E(_) {
|
|
54
54
|
if (typeof _ == "object" && _ !== null) {
|
|
55
55
|
var S = _.$$typeof;
|
|
@@ -80,12 +80,12 @@ function $l() {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function C(_) {
|
|
84
84
|
return E(_) === d;
|
|
85
85
|
}
|
|
86
86
|
return he.AsyncMode = c, he.ConcurrentMode = d, he.ContextConsumer = l, he.ContextProvider = s, he.Element = t, he.ForwardRef = m, he.Fragment = r, he.Lazy = b, he.Memo = g, he.Portal = n, he.Profiler = a, he.StrictMode = o, he.Suspense = h, he.isAsyncMode = function(_) {
|
|
87
|
-
return
|
|
88
|
-
}, he.isConcurrentMode =
|
|
87
|
+
return C(_) || E(_) === c;
|
|
88
|
+
}, he.isConcurrentMode = C, he.isContextConsumer = function(_) {
|
|
89
89
|
return E(_) === l;
|
|
90
90
|
}, he.isContextProvider = function(_) {
|
|
91
91
|
return E(_) === s;
|
|
@@ -108,7 +108,7 @@ function $l() {
|
|
|
108
108
|
}, he.isSuspense = function(_) {
|
|
109
109
|
return E(_) === h;
|
|
110
110
|
}, he.isValidElementType = function(_) {
|
|
111
|
-
return typeof _ == "string" || typeof _ == "function" || _ === r || _ === d || _ === a || _ === o || _ === h || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === b || _.$$typeof === g || _.$$typeof === s || _.$$typeof === l || _.$$typeof === m || _.$$typeof ===
|
|
111
|
+
return typeof _ == "string" || typeof _ == "function" || _ === r || _ === d || _ === a || _ === o || _ === h || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === b || _.$$typeof === g || _.$$typeof === s || _.$$typeof === l || _.$$typeof === m || _.$$typeof === v || _.$$typeof === w || _.$$typeof === x || _.$$typeof === f);
|
|
112
112
|
}, he.typeOf = E, he;
|
|
113
113
|
}
|
|
114
114
|
var ge = {};
|
|
@@ -123,12 +123,12 @@ var ge = {};
|
|
|
123
123
|
var Qo;
|
|
124
124
|
function Nl() {
|
|
125
125
|
return Qo || (Qo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
126
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121,
|
|
126
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
127
127
|
function E(F) {
|
|
128
128
|
return typeof F == "string" || typeof F == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
129
|
-
F === r || F === d || F === a || F === o || F === h || F === y || typeof F == "object" && F !== null && (F.$$typeof === b || F.$$typeof === g || F.$$typeof === s || F.$$typeof === l || F.$$typeof === m || F.$$typeof ===
|
|
129
|
+
F === r || F === d || F === a || F === o || F === h || F === y || typeof F == "object" && F !== null && (F.$$typeof === b || F.$$typeof === g || F.$$typeof === s || F.$$typeof === l || F.$$typeof === m || F.$$typeof === v || F.$$typeof === w || F.$$typeof === x || F.$$typeof === f);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function C(F) {
|
|
132
132
|
if (typeof F == "object" && F !== null) {
|
|
133
133
|
var pe = F.$$typeof;
|
|
134
134
|
switch (pe) {
|
|
@@ -162,45 +162,45 @@ function Nl() {
|
|
|
162
162
|
}
|
|
163
163
|
var _ = c, S = d, A = l, $ = s, N = t, R = m, I = r, p = b, O = g, k = n, B = a, j = o, V = h, z = !1;
|
|
164
164
|
function Z(F) {
|
|
165
|
-
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(F) ||
|
|
165
|
+
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(F) || C(F) === c;
|
|
166
166
|
}
|
|
167
167
|
function L(F) {
|
|
168
|
-
return
|
|
168
|
+
return C(F) === d;
|
|
169
169
|
}
|
|
170
170
|
function D(F) {
|
|
171
|
-
return
|
|
171
|
+
return C(F) === l;
|
|
172
172
|
}
|
|
173
173
|
function J(F) {
|
|
174
|
-
return
|
|
174
|
+
return C(F) === s;
|
|
175
175
|
}
|
|
176
176
|
function H(F) {
|
|
177
177
|
return typeof F == "object" && F !== null && F.$$typeof === t;
|
|
178
178
|
}
|
|
179
179
|
function q(F) {
|
|
180
|
-
return
|
|
180
|
+
return C(F) === m;
|
|
181
181
|
}
|
|
182
182
|
function G(F) {
|
|
183
|
-
return
|
|
183
|
+
return C(F) === r;
|
|
184
184
|
}
|
|
185
185
|
function re(F) {
|
|
186
|
-
return
|
|
186
|
+
return C(F) === b;
|
|
187
187
|
}
|
|
188
188
|
function oe(F) {
|
|
189
|
-
return
|
|
189
|
+
return C(F) === g;
|
|
190
190
|
}
|
|
191
191
|
function Q(F) {
|
|
192
|
-
return
|
|
192
|
+
return C(F) === n;
|
|
193
193
|
}
|
|
194
194
|
function ae(F) {
|
|
195
|
-
return
|
|
195
|
+
return C(F) === a;
|
|
196
196
|
}
|
|
197
197
|
function K(F) {
|
|
198
|
-
return
|
|
198
|
+
return C(F) === o;
|
|
199
199
|
}
|
|
200
200
|
function ce(F) {
|
|
201
|
-
return
|
|
201
|
+
return C(F) === h;
|
|
202
202
|
}
|
|
203
|
-
ge.AsyncMode = _, ge.ConcurrentMode = S, ge.ContextConsumer = A, ge.ContextProvider = $, ge.Element = N, ge.ForwardRef = R, ge.Fragment = I, ge.Lazy = p, ge.Memo = O, ge.Portal = k, ge.Profiler = B, ge.StrictMode = j, ge.Suspense = V, ge.isAsyncMode = Z, ge.isConcurrentMode = L, ge.isContextConsumer = D, ge.isContextProvider = J, ge.isElement = H, ge.isForwardRef = q, ge.isFragment = G, ge.isLazy = re, ge.isMemo = oe, ge.isPortal = Q, ge.isProfiler = ae, ge.isStrictMode = K, ge.isSuspense = ce, ge.isValidElementType = E, ge.typeOf =
|
|
203
|
+
ge.AsyncMode = _, ge.ConcurrentMode = S, ge.ContextConsumer = A, ge.ContextProvider = $, ge.Element = N, ge.ForwardRef = R, ge.Fragment = I, ge.Lazy = p, ge.Memo = O, ge.Portal = k, ge.Profiler = B, ge.StrictMode = j, ge.Suspense = V, ge.isAsyncMode = Z, ge.isConcurrentMode = L, ge.isContextConsumer = D, ge.isContextProvider = J, ge.isElement = H, ge.isForwardRef = q, ge.isFragment = G, ge.isLazy = re, ge.isMemo = oe, ge.isPortal = Q, ge.isProfiler = ae, ge.isStrictMode = K, ge.isSuspense = ce, ge.isValidElementType = E, ge.typeOf = C;
|
|
204
204
|
}()), ge;
|
|
205
205
|
}
|
|
206
206
|
var Jo;
|
|
@@ -343,17 +343,17 @@ function Al() {
|
|
|
343
343
|
return D;
|
|
344
344
|
}
|
|
345
345
|
var y = "<<anonymous>>", g = {
|
|
346
|
-
array:
|
|
347
|
-
bigint:
|
|
348
|
-
bool:
|
|
349
|
-
func:
|
|
350
|
-
number:
|
|
351
|
-
object:
|
|
352
|
-
string:
|
|
353
|
-
symbol:
|
|
354
|
-
any:
|
|
346
|
+
array: w("array"),
|
|
347
|
+
bigint: w("bigint"),
|
|
348
|
+
bool: w("boolean"),
|
|
349
|
+
func: w("function"),
|
|
350
|
+
number: w("number"),
|
|
351
|
+
object: w("object"),
|
|
352
|
+
string: w("string"),
|
|
353
|
+
symbol: w("symbol"),
|
|
354
|
+
any: x(),
|
|
355
355
|
arrayOf: E,
|
|
356
|
-
element:
|
|
356
|
+
element: C(),
|
|
357
357
|
elementType: _(),
|
|
358
358
|
instanceOf: S,
|
|
359
359
|
node: R(),
|
|
@@ -370,7 +370,7 @@ function Al() {
|
|
|
370
370
|
this.message = L, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
|
|
371
371
|
}
|
|
372
372
|
f.prototype = Error.prototype;
|
|
373
|
-
function
|
|
373
|
+
function v(L) {
|
|
374
374
|
if (process.env.NODE_ENV !== "production")
|
|
375
375
|
var D = {}, J = 0;
|
|
376
376
|
function H(G, re, oe, Q, ae, K, ce) {
|
|
@@ -393,7 +393,7 @@ function Al() {
|
|
|
393
393
|
var q = H.bind(null, !1);
|
|
394
394
|
return q.isRequired = H.bind(null, !0), q;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function w(L) {
|
|
397
397
|
function D(J, H, q, G, re, oe) {
|
|
398
398
|
var Q = J[H], ae = j(Q);
|
|
399
399
|
if (ae !== L) {
|
|
@@ -405,10 +405,10 @@ function Al() {
|
|
|
405
405
|
}
|
|
406
406
|
return null;
|
|
407
407
|
}
|
|
408
|
-
return
|
|
408
|
+
return v(D);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
411
|
-
return
|
|
410
|
+
function x() {
|
|
411
|
+
return v(s);
|
|
412
412
|
}
|
|
413
413
|
function E(L) {
|
|
414
414
|
function D(J, H, q, G, re) {
|
|
@@ -426,9 +426,9 @@ function Al() {
|
|
|
426
426
|
}
|
|
427
427
|
return null;
|
|
428
428
|
}
|
|
429
|
-
return
|
|
429
|
+
return v(D);
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function C() {
|
|
432
432
|
function L(D, J, H, q, G) {
|
|
433
433
|
var re = D[J];
|
|
434
434
|
if (!l(re)) {
|
|
@@ -437,7 +437,7 @@ function Al() {
|
|
|
437
437
|
}
|
|
438
438
|
return null;
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return v(L);
|
|
441
441
|
}
|
|
442
442
|
function _() {
|
|
443
443
|
function L(D, J, H, q, G) {
|
|
@@ -448,7 +448,7 @@ function Al() {
|
|
|
448
448
|
}
|
|
449
449
|
return null;
|
|
450
450
|
}
|
|
451
|
-
return
|
|
451
|
+
return v(L);
|
|
452
452
|
}
|
|
453
453
|
function S(L) {
|
|
454
454
|
function D(J, H, q, G, re) {
|
|
@@ -458,7 +458,7 @@ function Al() {
|
|
|
458
458
|
}
|
|
459
459
|
return null;
|
|
460
460
|
}
|
|
461
|
-
return
|
|
461
|
+
return v(D);
|
|
462
462
|
}
|
|
463
463
|
function A(L) {
|
|
464
464
|
if (!Array.isArray(L))
|
|
@@ -475,7 +475,7 @@ function Al() {
|
|
|
475
475
|
});
|
|
476
476
|
return new f("Invalid " + G + " `" + re + "` of value `" + String(oe) + "` " + ("supplied to `" + q + "`, expected one of " + ae + "."));
|
|
477
477
|
}
|
|
478
|
-
return
|
|
478
|
+
return v(D);
|
|
479
479
|
}
|
|
480
480
|
function $(L) {
|
|
481
481
|
function D(J, H, q, G, re) {
|
|
@@ -492,7 +492,7 @@ function Al() {
|
|
|
492
492
|
}
|
|
493
493
|
return null;
|
|
494
494
|
}
|
|
495
|
-
return
|
|
495
|
+
return v(D);
|
|
496
496
|
}
|
|
497
497
|
function N(L) {
|
|
498
498
|
if (!Array.isArray(L))
|
|
@@ -514,13 +514,13 @@ function Al() {
|
|
|
514
514
|
var pe = ae.length > 0 ? ", expected one of type [" + ae.join(", ") + "]" : "";
|
|
515
515
|
return new f("Invalid " + oe + " `" + Q + "` supplied to " + ("`" + re + "`" + pe + "."));
|
|
516
516
|
}
|
|
517
|
-
return
|
|
517
|
+
return v(H);
|
|
518
518
|
}
|
|
519
519
|
function R() {
|
|
520
520
|
function L(D, J, H, q, G) {
|
|
521
521
|
return k(D[J]) ? null : new f("Invalid " + q + " `" + G + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
|
|
522
522
|
}
|
|
523
|
-
return
|
|
523
|
+
return v(L);
|
|
524
524
|
}
|
|
525
525
|
function I(L, D, J, H, q) {
|
|
526
526
|
return new f(
|
|
@@ -542,7 +542,7 @@ function Al() {
|
|
|
542
542
|
}
|
|
543
543
|
return null;
|
|
544
544
|
}
|
|
545
|
-
return
|
|
545
|
+
return v(D);
|
|
546
546
|
}
|
|
547
547
|
function O(L) {
|
|
548
548
|
function D(J, H, q, G, re) {
|
|
@@ -565,7 +565,7 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
|
|
|
565
565
|
}
|
|
566
566
|
return null;
|
|
567
567
|
}
|
|
568
|
-
return
|
|
568
|
+
return v(D);
|
|
569
569
|
}
|
|
570
570
|
function k(L) {
|
|
571
571
|
switch (typeof L) {
|
|
@@ -792,14 +792,14 @@ const ka = ({
|
|
|
792
792
|
}) => {
|
|
793
793
|
const {
|
|
794
794
|
t: b
|
|
795
|
-
} = ue(), [f,
|
|
795
|
+
} = ue(), [f, v] = le(e);
|
|
796
796
|
ne(() => {
|
|
797
|
-
e &&
|
|
797
|
+
e && v(e);
|
|
798
798
|
}, [e]);
|
|
799
|
-
const
|
|
799
|
+
const w = (x) => {
|
|
800
800
|
if (f && f.length > 0) {
|
|
801
801
|
let E = [...f];
|
|
802
|
-
E.sort((
|
|
802
|
+
E.sort((C, _) => C[x].localeCompare(_[x])), v(E);
|
|
803
803
|
}
|
|
804
804
|
};
|
|
805
805
|
return /* @__PURE__ */ T("div", { className: wt.ambitSelector, style: {
|
|
@@ -810,18 +810,18 @@ const ka = ({
|
|
|
810
810
|
borderBottom: `1px solid ${n}`
|
|
811
811
|
}, children: [
|
|
812
812
|
/* @__PURE__ */ T("div", { className: wt.nameDateContainer, children: [
|
|
813
|
-
/* @__PURE__ */ u("div", { className: wt.ambitName, children: /* @__PURE__ */ T("button", { onClick: () =>
|
|
813
|
+
/* @__PURE__ */ u("div", { className: wt.ambitName, children: /* @__PURE__ */ T("button", { onClick: () => w("name"), children: [
|
|
814
814
|
/* @__PURE__ */ u("span", { children: b(o) }),
|
|
815
815
|
/* @__PURE__ */ u("img", { src: si })
|
|
816
816
|
] }) }),
|
|
817
|
-
/* @__PURE__ */ u("div", { className: wt.ambitDate, children: /* @__PURE__ */ T("button", { onClick: () =>
|
|
817
|
+
/* @__PURE__ */ u("div", { className: wt.ambitDate, children: /* @__PURE__ */ T("button", { onClick: () => w("date"), children: [
|
|
818
818
|
/* @__PURE__ */ u("span", { children: b(a) }),
|
|
819
819
|
/* @__PURE__ */ u("img", { src: si })
|
|
820
820
|
] }) })
|
|
821
821
|
] }),
|
|
822
822
|
/* @__PURE__ */ u("div", { className: wt.buttonsContainer })
|
|
823
823
|
] }),
|
|
824
|
-
/* @__PURE__ */ u("div", { className: wt.ambitListContainer, children: f && f.length > 0 && f.map((
|
|
824
|
+
/* @__PURE__ */ u("div", { className: wt.ambitListContainer, children: f && f.length > 0 && f.map((x) => /* @__PURE__ */ u(To, { isActive: t == x.id, ambit: x, fontColor: n, activeColor: r, onClickCopy: m, onClickDelete: h, onClickFilters: y, onClickAmbit: g }, `ambitKey${x.id}`)) }),
|
|
825
825
|
/* @__PURE__ */ u("div", { className: wt.newAmbitButtonContainer, children: /* @__PURE__ */ u(Dn, { style: {
|
|
826
826
|
...l
|
|
827
827
|
}, onClick: d, borderColor: "grey", children: b(s) }) })
|
|
@@ -1426,14 +1426,14 @@ let lo = function(e) {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
o[a] = r, c && s > 1 && (r > l ? (this.pushSucceeding(o, h, a), function(y, g, b, f) {
|
|
1429
|
-
for (let
|
|
1430
|
-
const
|
|
1431
|
-
g[y - 1 -
|
|
1429
|
+
for (let v = 0; v < y; v += 1) {
|
|
1430
|
+
const w = f - v * b;
|
|
1431
|
+
g[y - 1 - v] > w && (g[y - 1 - v] = w);
|
|
1432
1432
|
}
|
|
1433
1433
|
}(s, o, h, d)) : r < l && (this.pushPreceding(o, h, a), function(y, g, b, f) {
|
|
1434
|
-
for (let
|
|
1435
|
-
const
|
|
1436
|
-
g[
|
|
1434
|
+
for (let v = 0; v < y; v += 1) {
|
|
1435
|
+
const w = f + v * b;
|
|
1436
|
+
g[v] < w && (g[v] = w);
|
|
1437
1437
|
}
|
|
1438
1438
|
}(s, o, h, m))), this.setState({ value: o }, this.fireChangeEvent.bind(this, "onChange"));
|
|
1439
1439
|
}, n.pushSucceeding = function(r, o, a) {
|
|
@@ -1574,9 +1574,9 @@ const mc = "_tematicalFiltersInputContainer_1vm1r_2", hc = "_inputTypeContainer_
|
|
|
1574
1574
|
isDate: y
|
|
1575
1575
|
} = e || {}, g = qe(() => o == "cat" || n == "cat", [n, o]), b = qe(() => o == "abs" || n == "abs", [n, o]), {
|
|
1576
1576
|
tematicalFiltersSelected: f,
|
|
1577
|
-
selectedIndicator:
|
|
1578
|
-
fontColor:
|
|
1579
|
-
inputsColor:
|
|
1577
|
+
selectedIndicator: v,
|
|
1578
|
+
fontColor: w,
|
|
1579
|
+
inputsColor: x
|
|
1580
1580
|
} = xe((_) => _), E = (_) => {
|
|
1581
1581
|
if (_) {
|
|
1582
1582
|
const {
|
|
@@ -1645,7 +1645,7 @@ const mc = "_tematicalFiltersInputContainer_1vm1r_2", hc = "_inputTypeContainer_
|
|
|
1645
1645
|
};
|
|
1646
1646
|
});
|
|
1647
1647
|
}
|
|
1648
|
-
},
|
|
1648
|
+
}, C = qe(() => {
|
|
1649
1649
|
const _ = {};
|
|
1650
1650
|
if ((f == null ? void 0 : f.length) > 0)
|
|
1651
1651
|
for (const S of f)
|
|
@@ -1656,13 +1656,13 @@ const mc = "_tematicalFiltersInputContainer_1vm1r_2", hc = "_inputTypeContainer_
|
|
|
1656
1656
|
fontSize: 16,
|
|
1657
1657
|
fontWeight: 400,
|
|
1658
1658
|
opacity: h ? 0.5 : 1
|
|
1659
|
-
}, title: a, isOpen:
|
|
1659
|
+
}, title: a, isOpen: v == `id${a}`, onClick: () => {
|
|
1660
1660
|
h || xe.setState(() => ({
|
|
1661
|
-
selectedIndicator:
|
|
1661
|
+
selectedIndicator: v == `id${a}` ? "" : `id${a}`
|
|
1662
1662
|
}));
|
|
1663
|
-
}, showBottomBar: !1, height: 42, titleMarginChildren: 14, className: "tematicalFiltersInputContainer", color:
|
|
1663
|
+
}, showBottomBar: !1, height: 42, titleMarginChildren: 14, className: "tematicalFiltersInputContainer", color: w, activeColor: t, children: [
|
|
1664
1664
|
o == "both" && /* @__PURE__ */ T("div", { className: Zn.inputTypeContainer, style: {
|
|
1665
|
-
color:
|
|
1665
|
+
color: w
|
|
1666
1666
|
}, children: [
|
|
1667
1667
|
/* @__PURE__ */ T("label", { children: [
|
|
1668
1668
|
/* @__PURE__ */ u(
|
|
@@ -1676,8 +1676,8 @@ const mc = "_tematicalFiltersInputContainer_1vm1r_2", hc = "_inputTypeContainer_
|
|
|
1676
1676
|
},
|
|
1677
1677
|
style: {
|
|
1678
1678
|
marginRight: 4,
|
|
1679
|
-
backgroundColor: n == "abs" ?
|
|
1680
|
-
border: `1.5px solid ${n == "abs" ?
|
|
1679
|
+
backgroundColor: n == "abs" ? x : "white",
|
|
1680
|
+
border: `1.5px solid ${n == "abs" ? x : w}`
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
1683
|
),
|
|
@@ -1695,8 +1695,8 @@ const mc = "_tematicalFiltersInputContainer_1vm1r_2", hc = "_inputTypeContainer_
|
|
|
1695
1695
|
},
|
|
1696
1696
|
style: {
|
|
1697
1697
|
marginRight: 4,
|
|
1698
|
-
backgroundColor: n == "cat" ?
|
|
1699
|
-
border: `1.5px solid ${n == "cat" ?
|
|
1698
|
+
backgroundColor: n == "cat" ? x : "white",
|
|
1699
|
+
border: `1.5px solid ${n == "cat" ? x : w}`
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
1702
|
),
|
|
@@ -1713,12 +1713,12 @@ const mc = "_tematicalFiltersInputContainer_1vm1r_2", hc = "_inputTypeContainer_
|
|
|
1713
1713
|
allValues: s
|
|
1714
1714
|
}),
|
|
1715
1715
|
indicator: _,
|
|
1716
|
-
value: ((A =
|
|
1716
|
+
value: ((A = C[e.code[o == "both" ? 1 : 0]]) == null ? void 0 : A.has(S)) || !C[e.code[o == "both" ? 1 : 0]]
|
|
1717
1717
|
},
|
|
1718
1718
|
`checkbox-${S}`
|
|
1719
1719
|
);
|
|
1720
1720
|
}) }),
|
|
1721
|
-
(b || o == "glb") && /* @__PURE__ */ u("div", { className: Zn.absoluteSliderContainer, children: /* @__PURE__ */ u(Oo, { onChange: E, min: l, max: c, unit: d, defaultValue:
|
|
1721
|
+
(b || o == "glb") && /* @__PURE__ */ u("div", { className: Zn.absoluteSliderContainer, children: /* @__PURE__ */ u(Oo, { onChange: E, min: l, max: c, unit: d, defaultValue: C[e.code[0]] ? C[e.code[0]] : "", isDate: y, step: m }) })
|
|
1722
1722
|
] }) });
|
|
1723
1723
|
};
|
|
1724
1724
|
Cr.displayName = "TematicalFiltersInput";
|
|
@@ -1907,15 +1907,15 @@ const bc = "_FiltersAmbitContainer_ei39o_2", vc = "_FiltersContainer_ei39o_15",
|
|
|
1907
1907
|
onGeoLayersChange: b,
|
|
1908
1908
|
onlyFilters: f = !1,
|
|
1909
1909
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1910
|
-
descriptionRequired:
|
|
1910
|
+
descriptionRequired: v = !1,
|
|
1911
1911
|
//campo descripción required
|
|
1912
|
-
extraLists:
|
|
1912
|
+
extraLists: w = !1
|
|
1913
1913
|
}) => {
|
|
1914
1914
|
const {
|
|
1915
|
-
t:
|
|
1915
|
+
t: x
|
|
1916
1916
|
} = ue(), {
|
|
1917
1917
|
tematicalFiltersSelected: E,
|
|
1918
|
-
activeFiltersType:
|
|
1918
|
+
activeFiltersType: C
|
|
1919
1919
|
} = xe((p) => p), [_, S] = le(e || null), [A, $] = le(t || null), [N, R] = le(!1);
|
|
1920
1920
|
ne(() => {
|
|
1921
1921
|
xe.setState({
|
|
@@ -1925,7 +1925,7 @@ const bc = "_FiltersAmbitContainer_ei39o_2", vc = "_FiltersContainer_ei39o_15",
|
|
|
1925
1925
|
l(E);
|
|
1926
1926
|
}, [E]);
|
|
1927
1927
|
const I = () => {
|
|
1928
|
-
|
|
1928
|
+
v ? _ && A ? c({
|
|
1929
1929
|
name: _,
|
|
1930
1930
|
description: A
|
|
1931
1931
|
}) : R(!0) : _ ? c({
|
|
@@ -1934,31 +1934,31 @@ const bc = "_FiltersAmbitContainer_ei39o_2", vc = "_FiltersContainer_ei39o_15",
|
|
|
1934
1934
|
}) : R(!0);
|
|
1935
1935
|
};
|
|
1936
1936
|
return ne(() => {
|
|
1937
|
-
if (h.includes("geographical") &&
|
|
1937
|
+
if (h.includes("geographical") && C != "geographical" && g.length > 0) {
|
|
1938
1938
|
const p = g.map((O) => ({
|
|
1939
1939
|
...O,
|
|
1940
1940
|
active: !1
|
|
1941
1941
|
}));
|
|
1942
1942
|
b == null || b(p);
|
|
1943
1943
|
}
|
|
1944
|
-
}, [
|
|
1944
|
+
}, [C]), /* @__PURE__ */ T("div", { className: kt.FiltersAmbitContainer, children: [
|
|
1945
1945
|
/* @__PURE__ */ T("div", { className: kt.FiltersContainer, children: [
|
|
1946
1946
|
!f && /* @__PURE__ */ T("div", { className: kt.FiltersAmbitHeader, children: [
|
|
1947
1947
|
/* @__PURE__ */ u("div", { className: kt.FiltersAmbitTitle, children: /* @__PURE__ */ u("input", { type: "text", onChange: (p) => {
|
|
1948
1948
|
R(!1), S(p.target.value);
|
|
1949
|
-
}, value: _, placeholder:
|
|
1949
|
+
}, value: _, placeholder: x(d) }) }),
|
|
1950
1950
|
/* @__PURE__ */ u("div", { className: kt.FiltersAmbitDescription, children: /* @__PURE__ */ u("div", { className: kt.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ u("textarea", { value: A, onChange: (p) => {
|
|
1951
|
-
|
|
1952
|
-
}, placeholder:
|
|
1951
|
+
v && R(!1), $(p.target.value);
|
|
1952
|
+
}, placeholder: x(m) }) }) })
|
|
1953
1953
|
] }),
|
|
1954
|
-
/* @__PURE__ */ u($o, { title:
|
|
1954
|
+
/* @__PURE__ */ u($o, { title: x("applied_filters"), isOpen: C == "applied", textColor: a || "#fff", backgroundColor: s || "#605B5680", activeColor: o }),
|
|
1955
1955
|
h.includes("geographical") && /* @__PURE__ */ u(No, { title: "geo_filters", activeColor: o, geoLayers: g, onGeoLayersChange: b }),
|
|
1956
|
-
h.includes("extra") &&
|
|
1956
|
+
h.includes("extra") && w.map((p) => /* @__PURE__ */ u(pr, { indicators: p.indicators, inputsColor: o, textColor: a, title: p.title, activeColor: o, isExtra: p.title })),
|
|
1957
1957
|
h.includes("tematical") && /* @__PURE__ */ u(pr, { indicators: r, inputsColor: o, textColor: a, title: "tematical_filters", activeColor: o, isExtra: !1 })
|
|
1958
1958
|
] }),
|
|
1959
1959
|
!f && /* @__PURE__ */ T("div", { className: kt.buttonContainer, children: [
|
|
1960
|
-
N && /* @__PURE__ */ u("div", { className: kt.warning, children:
|
|
1961
|
-
/* @__PURE__ */ u(Dn, { onClick: () => I(), children:
|
|
1960
|
+
N && /* @__PURE__ */ u("div", { className: kt.warning, children: x(y) }),
|
|
1961
|
+
/* @__PURE__ */ u(Dn, { onClick: () => I(), children: x("save_ambit") })
|
|
1962
1962
|
] })
|
|
1963
1963
|
] });
|
|
1964
1964
|
};
|
|
@@ -2006,11 +2006,11 @@ const Tc = "_barChartContainer_1ly7h_2", ui = {
|
|
|
2006
2006
|
const {
|
|
2007
2007
|
xScale: b,
|
|
2008
2008
|
yScale: f,
|
|
2009
|
-
ticks:
|
|
2010
|
-
height:
|
|
2011
|
-
chartWidth:
|
|
2009
|
+
ticks: v,
|
|
2010
|
+
height: w,
|
|
2011
|
+
chartWidth: x,
|
|
2012
2012
|
svgWidth: E,
|
|
2013
|
-
svgHeight:
|
|
2013
|
+
svgHeight: C,
|
|
2014
2014
|
contentWidth: _
|
|
2015
2015
|
} = qe(() => {
|
|
2016
2016
|
if (e && e.length > 0) {
|
|
@@ -2058,17 +2058,17 @@ const Tc = "_barChartContainer_1ly7h_2", ui = {
|
|
|
2058
2058
|
width: "100%",
|
|
2059
2059
|
height: y ? `${y}px` : "100%",
|
|
2060
2060
|
"--main-color": g
|
|
2061
|
-
}, className: ui.barChartContainer, children: /* @__PURE__ */ u("svg", { width: E, height:
|
|
2061
|
+
}, className: ui.barChartContainer, children: /* @__PURE__ */ u("svg", { width: E, height: C, style: {
|
|
2062
2062
|
display: "block",
|
|
2063
2063
|
width: E,
|
|
2064
|
-
height:
|
|
2064
|
+
height: C,
|
|
2065
2065
|
maxWidth: "none",
|
|
2066
2066
|
"--main-color": g
|
|
2067
2067
|
}, children: /* @__PURE__ */ T("g", { transform: `translate(${c}, 0)`, children: [
|
|
2068
|
-
/* @__PURE__ */ u("g", { children:
|
|
2068
|
+
/* @__PURE__ */ u("g", { children: v.map((S, A) => {
|
|
2069
2069
|
const $ = f(S);
|
|
2070
2070
|
return /* @__PURE__ */ T("g", { children: [
|
|
2071
|
-
/* @__PURE__ */ u("line", { x1: 0, x2:
|
|
2071
|
+
/* @__PURE__ */ u("line", { x1: 0, x2: x - c * 2, y1: $, y2: $, stroke: "#ccc" }),
|
|
2072
2072
|
/* @__PURE__ */ u("text", { x: -10, y: $ + 4, textAnchor: "end", fontSize: 10, fill: r, children: parseInt(S) })
|
|
2073
2073
|
] }, A);
|
|
2074
2074
|
}) }),
|
|
@@ -2076,21 +2076,21 @@ const Tc = "_barChartContainer_1ly7h_2", ui = {
|
|
|
2076
2076
|
const $ = f(0) - f(S.value), N = A * (t + n), R = f(S.value);
|
|
2077
2077
|
return /* @__PURE__ */ T("g", { children: [
|
|
2078
2078
|
/* @__PURE__ */ u("rect", { x: N, y: R, width: t, height: $, fill: S.color, rx: 0 }),
|
|
2079
|
-
/* @__PURE__ */ u("text", { x: N + t / 2, y:
|
|
2079
|
+
/* @__PURE__ */ u("text", { x: N + t / 2, y: w - m, textAnchor: "start", fill: r, fontSize: 12, transform: `rotate(-90, ${N + t / 2}, ${w - m})`, children: S.title })
|
|
2080
2080
|
] }, A);
|
|
2081
2081
|
})
|
|
2082
|
-
] }) }) }) : (console.log("svgHeight: ",
|
|
2082
|
+
] }) }) }) : (console.log("svgHeight: ", C), /* @__PURE__ */ u("div", { style: {
|
|
2083
2083
|
width: "100%",
|
|
2084
2084
|
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
2085
2085
|
height: y ? `${y}px` : "100%",
|
|
2086
2086
|
"--main-color": g
|
|
2087
|
-
}, className: ui.barChartContainer, children: /* @__PURE__ */ u("svg", { width: E, height:
|
|
2087
|
+
}, className: ui.barChartContainer, children: /* @__PURE__ */ u("svg", { width: E, height: C, style: {
|
|
2088
2088
|
minWidth: "100%",
|
|
2089
|
-
height:
|
|
2089
|
+
height: C,
|
|
2090
2090
|
width: _,
|
|
2091
2091
|
maxWidth: "none"
|
|
2092
2092
|
}, children: /* @__PURE__ */ T("g", { transform: `translate(0,${d})`, children: [
|
|
2093
|
-
/* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children:
|
|
2093
|
+
/* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: v.map((S, A) => {
|
|
2094
2094
|
const $ = b(S);
|
|
2095
2095
|
return /* @__PURE__ */ T("g", { transform: `translate(${$}, 0)`, children: [
|
|
2096
2096
|
/* @__PURE__ */ u("line", { y1: 0, y2: e.length * (t + n), stroke: "#ccc" }),
|
|
@@ -2231,11 +2231,11 @@ const Ec = "_indicatorsCategory_arwy3_2", Oc = "_title_arwy3_5", Ac = "_list_arw
|
|
|
2231
2231
|
defaultColor: g,
|
|
2232
2232
|
multiple: b,
|
|
2233
2233
|
activeIndicatorSubcategory: f
|
|
2234
|
-
} = ft((_) => _), [
|
|
2234
|
+
} = ft((_) => _), [v, w] = le(!1);
|
|
2235
2235
|
ne(() => {
|
|
2236
|
-
n &&
|
|
2236
|
+
n && w(b ? n.some((_) => _.name == String(l)) : n.name == l);
|
|
2237
2237
|
}, [n]);
|
|
2238
|
-
const
|
|
2238
|
+
const x = () => /* @__PURE__ */ u("div", { className: we.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: we.switchType, children: /* @__PURE__ */ T("div", { className: we.switchTypeOptions, children: [
|
|
2239
2239
|
/* @__PURE__ */ T("div", { className: we.optionContainer, onClick: () => {
|
|
2240
2240
|
ft.setState((_) => ({
|
|
2241
2241
|
..._,
|
|
@@ -2285,7 +2285,7 @@ const Ec = "_indicatorsCategory_arwy3_2", Oc = "_title_arwy3_5", Ac = "_list_arw
|
|
|
2285
2285
|
/* @__PURE__ */ u("h4", { className: we.optionText, style: {
|
|
2286
2286
|
color: f === _.title ? y : g
|
|
2287
2287
|
}, children: s(_.title) })
|
|
2288
|
-
] }, `indicatorSubcategory-${_.title}`)) }) }) }),
|
|
2288
|
+
] }, `indicatorSubcategory-${_.title}`)) }) }) }), C = () => /* @__PURE__ */ u("div", { className: we.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: we.switchType, children: /* @__PURE__ */ u("div", { className: we.switchTypeOptions, children: t.map((_, S) => /* @__PURE__ */ T(
|
|
2289
2289
|
"div",
|
|
2290
2290
|
{
|
|
2291
2291
|
className: we.optionContainer,
|
|
@@ -2306,19 +2306,19 @@ const Ec = "_indicatorsCategory_arwy3_2", Oc = "_title_arwy3_5", Ac = "_list_arw
|
|
|
2306
2306
|
indicator: e
|
|
2307
2307
|
}), children: [
|
|
2308
2308
|
/* @__PURE__ */ u("div", { style: {
|
|
2309
|
-
border:
|
|
2309
|
+
border: v ? `1px solid ${y}` : `1px solid ${g}`,
|
|
2310
2310
|
opacity: d ? 0.5 : 1,
|
|
2311
|
-
backgroundColor:
|
|
2312
|
-
}, className: we.dot, children: b && /* @__PURE__ */ u("img", { src:
|
|
2311
|
+
backgroundColor: v ? y : "transparent"
|
|
2312
|
+
}, className: we.dot, children: b && /* @__PURE__ */ u("img", { src: v ? Lc : Mc, alt: "" }) }),
|
|
2313
2313
|
/* @__PURE__ */ u("h4", { className: we.indicatorName, style: {
|
|
2314
|
-
color:
|
|
2314
|
+
color: v ? y : g,
|
|
2315
2315
|
opacity: d ? 0.5 : 1
|
|
2316
2316
|
}, children: /* @__PURE__ */ u(xo, { i18nKey: l, components: {
|
|
2317
2317
|
sup: /* @__PURE__ */ u("sup", {})
|
|
2318
2318
|
}, shouldUnescape: !0 }) })
|
|
2319
2319
|
] }),
|
|
2320
|
-
(n == null ? void 0 : n.name) === l && c === "both" &&
|
|
2321
|
-
(n == null ? void 0 : n.name) === l && c === "twoUnits" &&
|
|
2320
|
+
(n == null ? void 0 : n.name) === l && c === "both" && x(),
|
|
2321
|
+
(n == null ? void 0 : n.name) === l && c === "twoUnits" && C(),
|
|
2322
2322
|
(n == null ? void 0 : n.name) === l && m && m.length > 0 && E()
|
|
2323
2323
|
] });
|
|
2324
2324
|
};
|
|
@@ -2360,8 +2360,8 @@ const Wc = "_indicatorsSubCategory_1nuug_2", Uc = "_list_1nuug_11", fi = {
|
|
|
2360
2360
|
activeColor: g,
|
|
2361
2361
|
defaultColor: b,
|
|
2362
2362
|
multiple: f,
|
|
2363
|
-
activeIndicatorSubcategory:
|
|
2364
|
-
} = ft((
|
|
2363
|
+
activeIndicatorSubcategory: v
|
|
2364
|
+
} = ft((w) => w);
|
|
2365
2365
|
return /* @__PURE__ */ T(wo.div, { className: fi.indicatorsSubCategory, initial: {
|
|
2366
2366
|
height: "43px"
|
|
2367
2367
|
}, animate: {
|
|
@@ -2379,7 +2379,7 @@ const Wc = "_indicatorsSubCategory_1nuug_2", Uc = "_list_1nuug_11", fi = {
|
|
|
2379
2379
|
color: m ? g : b
|
|
2380
2380
|
}, children: d(e) })
|
|
2381
2381
|
] }) }),
|
|
2382
|
-
t && /* @__PURE__ */ u("div", { className: fi.list, children: t == null ? void 0 : t.map((
|
|
2382
|
+
t && /* @__PURE__ */ u("div", { className: fi.list, children: t == null ? void 0 : t.map((w, x) => /* @__PURE__ */ u(_r, { indicator: w, activeIndicator: a, onClickIndicator: s, onChangeType: l, onChangeIndicatorSubcategory: c }, "indicator" + x)) })
|
|
2383
2383
|
] });
|
|
2384
2384
|
};
|
|
2385
2385
|
Ro.displayName = "IndicatorSubCategory";
|
|
@@ -2407,7 +2407,7 @@ const Io = ({
|
|
|
2407
2407
|
onChangeType: c,
|
|
2408
2408
|
onChangeIndicatorSubcategory: d
|
|
2409
2409
|
}) => {
|
|
2410
|
-
var
|
|
2410
|
+
var w;
|
|
2411
2411
|
const {
|
|
2412
2412
|
t: m
|
|
2413
2413
|
} = ue(), {
|
|
@@ -2415,9 +2415,9 @@ const Io = ({
|
|
|
2415
2415
|
activeColor: y,
|
|
2416
2416
|
defaultColor: g,
|
|
2417
2417
|
multiple: b
|
|
2418
|
-
} = ft((
|
|
2418
|
+
} = ft((x) => x), [f, v] = le(!1);
|
|
2419
2419
|
return ne(() => {
|
|
2420
|
-
|
|
2420
|
+
v(r === t);
|
|
2421
2421
|
}, [r, t]), /* @__PURE__ */ T(wo.div, { className: Gn.indicatorsCategory, initial: {
|
|
2422
2422
|
height: "53px"
|
|
2423
2423
|
}, animate: {
|
|
@@ -2438,10 +2438,10 @@ const Io = ({
|
|
|
2438
2438
|
}, children: m(e.name) })
|
|
2439
2439
|
] }),
|
|
2440
2440
|
e.subcategories ? e.subcategories.map(({
|
|
2441
|
-
name:
|
|
2441
|
+
name: x,
|
|
2442
2442
|
subcategory: E,
|
|
2443
|
-
indicators:
|
|
2444
|
-
}, _) => /* @__PURE__ */ u(Ro, { id: E, activeSubCategory: o, subcName:
|
|
2443
|
+
indicators: C
|
|
2444
|
+
}, _) => /* @__PURE__ */ u(Ro, { id: E, activeSubCategory: o, subcName: x, onClickSubCategory: a, activeIndicator: s, onClickIndicator: l, indicators: C, onChangeType: c, onChangeIndicatorSubcategory: d }, `subcKey ${_}`)) : /* @__PURE__ */ u("div", { className: Gn.list, children: (w = e.indicators) == null ? void 0 : w.map((x, E) => /* @__PURE__ */ u(_r, { indicator: x, values: x.type == "twoUnits" && x.values, activeIndicator: s, onClickIndicator: l, onChangeType: c, onChangeIndicatorSubcategory: d }, `indicator${E}`)) })
|
|
2445
2445
|
] });
|
|
2446
2446
|
};
|
|
2447
2447
|
Io.displayName = "IndicatorsCategory";
|
|
@@ -2489,7 +2489,7 @@ const Hc = "_indicatorsList_13b3m_2", Kc = "_title_13b3m_6", pi = {
|
|
|
2489
2489
|
}) => {
|
|
2490
2490
|
const {
|
|
2491
2491
|
t: d
|
|
2492
|
-
} = ue(), [m, h] = le(), [y, g] = le(), [b, f] = le(),
|
|
2492
|
+
} = ue(), [m, h] = le(), [y, g] = le(), [b, f] = le(), v = _e(a), w = _e(!1);
|
|
2493
2493
|
ne(() => {
|
|
2494
2494
|
ft.setState({
|
|
2495
2495
|
activeColor: t || "",
|
|
@@ -2498,11 +2498,11 @@ const Hc = "_indicatorsList_13b3m_2", Kc = "_title_13b3m_6", pi = {
|
|
|
2498
2498
|
activeIndicatorType: l || null
|
|
2499
2499
|
});
|
|
2500
2500
|
}, [t, n, o, l]);
|
|
2501
|
-
const
|
|
2501
|
+
const x = ($) => {
|
|
2502
2502
|
h(m == $ ? null : $);
|
|
2503
2503
|
}, E = ($) => {
|
|
2504
2504
|
g(y == $ ? null : $);
|
|
2505
|
-
},
|
|
2505
|
+
}, C = ({
|
|
2506
2506
|
indicator: $
|
|
2507
2507
|
}) => {
|
|
2508
2508
|
if ($ != null && $.indicatorSubcategories && $.indicatorSubcategories.length > 0) {
|
|
@@ -2543,18 +2543,18 @@ const Hc = "_indicatorsList_13b3m_2", Kc = "_title_13b3m_6", pi = {
|
|
|
2543
2543
|
};
|
|
2544
2544
|
ba(() => {
|
|
2545
2545
|
var $;
|
|
2546
|
-
if (
|
|
2547
|
-
|
|
2546
|
+
if (v.current && !b) {
|
|
2547
|
+
w.current = !0;
|
|
2548
2548
|
try {
|
|
2549
|
-
o && Array.isArray(
|
|
2549
|
+
o && Array.isArray(v.current) ? (f([...v.current]), A(($ = v.current[0]) == null ? void 0 : $.name)) : v.current && (S(v.current, !1, !0), A(v.current.name));
|
|
2550
2550
|
} finally {
|
|
2551
|
-
|
|
2551
|
+
w.current = !1;
|
|
2552
2552
|
}
|
|
2553
2553
|
}
|
|
2554
2554
|
}, []), ne(() => {
|
|
2555
2555
|
var $;
|
|
2556
|
-
if (!
|
|
2557
|
-
|
|
2556
|
+
if (!w.current && !uo(a, b)) {
|
|
2557
|
+
w.current = !0;
|
|
2558
2558
|
try {
|
|
2559
2559
|
const {
|
|
2560
2560
|
activeIndicatorSubcategory: N
|
|
@@ -2563,7 +2563,7 @@ const Hc = "_indicatorsList_13b3m_2", Kc = "_title_13b3m_6", pi = {
|
|
|
2563
2563
|
activeIndicatorSubcategory: N
|
|
2564
2564
|
}), o && Array.isArray(a) ? (f([...a]), A(($ = a[0]) == null ? void 0 : $.name)) : a ? (S(a, !1, !0), A(a.name)) : (f(o ? [] : null), h(null), g(null));
|
|
2565
2565
|
} finally {
|
|
2566
|
-
|
|
2566
|
+
w.current = !1;
|
|
2567
2567
|
}
|
|
2568
2568
|
}
|
|
2569
2569
|
}, [a]);
|
|
@@ -2582,7 +2582,7 @@ const Hc = "_indicatorsList_13b3m_2", Kc = "_title_13b3m_6", pi = {
|
|
|
2582
2582
|
/* @__PURE__ */ u("h2", { className: pi.title, style: {
|
|
2583
2583
|
color: n
|
|
2584
2584
|
}, children: d("indicators.indicators") }),
|
|
2585
|
-
e.map(($, N) => /* @__PURE__ */ u(Io, { id: $.category, cat: $, onClickCategory:
|
|
2585
|
+
e.map(($, N) => /* @__PURE__ */ u(Io, { id: $.category, cat: $, onClickCategory: x, activeCategory: m, onClickSubCategory: E, activeSubCategory: y, onClickIndicator: C, activeIndicator: b, onChange: r, onChangeType: s, onChangeIndicatorSubcategory: _ }, `categoryKey${N}`))
|
|
2586
2586
|
] });
|
|
2587
2587
|
};
|
|
2588
2588
|
Oa.displayName = "IndicatorsList";
|
|
@@ -3354,33 +3354,33 @@ function O0(e, t) {
|
|
|
3354
3354
|
o.current.props = e;
|
|
3355
3355
|
const a = qe(() => {
|
|
3356
3356
|
let f = !1;
|
|
3357
|
-
te.Children.forEach(e.children, (
|
|
3358
|
-
|
|
3357
|
+
te.Children.forEach(e.children, (x) => {
|
|
3358
|
+
x && (f = !0);
|
|
3359
3359
|
});
|
|
3360
|
-
const
|
|
3360
|
+
const v = {
|
|
3361
3361
|
...e,
|
|
3362
3362
|
element: f ? document.createElement("div") : null
|
|
3363
|
-
},
|
|
3364
|
-
return
|
|
3365
|
-
var E,
|
|
3366
|
-
(
|
|
3363
|
+
}, w = new r.Marker(v);
|
|
3364
|
+
return w.setLngLat([e.longitude, e.latitude]), w.getElement().addEventListener("click", (x) => {
|
|
3365
|
+
var E, C;
|
|
3366
|
+
(C = (E = o.current.props).onClick) === null || C === void 0 || C.call(E, {
|
|
3367
3367
|
type: "click",
|
|
3368
|
-
target:
|
|
3369
|
-
originalEvent:
|
|
3368
|
+
target: w,
|
|
3369
|
+
originalEvent: x
|
|
3370
3370
|
});
|
|
3371
|
-
}),
|
|
3372
|
-
var E,
|
|
3373
|
-
const _ =
|
|
3374
|
-
_.lngLat = a.getLngLat(), (
|
|
3375
|
-
}),
|
|
3376
|
-
var E,
|
|
3377
|
-
const _ =
|
|
3378
|
-
_.lngLat = a.getLngLat(), (
|
|
3379
|
-
}),
|
|
3380
|
-
var E,
|
|
3381
|
-
const _ =
|
|
3382
|
-
_.lngLat = a.getLngLat(), (
|
|
3383
|
-
}),
|
|
3371
|
+
}), w.on("dragstart", (x) => {
|
|
3372
|
+
var E, C;
|
|
3373
|
+
const _ = x;
|
|
3374
|
+
_.lngLat = a.getLngLat(), (C = (E = o.current.props).onDragStart) === null || C === void 0 || C.call(E, _);
|
|
3375
|
+
}), w.on("drag", (x) => {
|
|
3376
|
+
var E, C;
|
|
3377
|
+
const _ = x;
|
|
3378
|
+
_.lngLat = a.getLngLat(), (C = (E = o.current.props).onDrag) === null || C === void 0 || C.call(E, _);
|
|
3379
|
+
}), w.on("dragend", (x) => {
|
|
3380
|
+
var E, C;
|
|
3381
|
+
const _ = x;
|
|
3382
|
+
_.lngLat = a.getLngLat(), (C = (E = o.current.props).onDragEnd) === null || C === void 0 || C.call(E, _);
|
|
3383
|
+
}), w;
|
|
3384
3384
|
}, []);
|
|
3385
3385
|
ne(() => (a.addTo(n.getMap()), () => {
|
|
3386
3386
|
a.remove();
|
|
@@ -3619,14 +3619,14 @@ const Pa = ({
|
|
|
3619
3619
|
return ne(() => {
|
|
3620
3620
|
if (h.current) {
|
|
3621
3621
|
const f = h.current.getMap();
|
|
3622
|
-
f.getStyle().layers.map((
|
|
3623
|
-
|
|
3622
|
+
f.getStyle().layers.map((w) => {
|
|
3623
|
+
w.type == "symbol" && w.id != "professionals" && (b ? f.setLayoutProperty(w.id, "visibility", "visible") : f.setLayoutProperty(w.id, "visibility", "none"));
|
|
3624
3624
|
});
|
|
3625
3625
|
}
|
|
3626
3626
|
}, [b]), /* @__PURE__ */ u("div", { className: `${G0.mapContainer}`, style: a, children: /* @__PURE__ */ T(Ra, { initialViewState: e, ref: h, hash: !1, maxZoom: t, minZoom: n, mapStyle: r, onClick: s, interactiveLayerIds: l, children: [
|
|
3627
|
-
d.length && d.map((f,
|
|
3628
|
-
if (
|
|
3629
|
-
}) },
|
|
3627
|
+
d.length && d.map((f, v) => /* @__PURE__ */ u(Va, { ...f, children: m.length && m.map((w, x) => {
|
|
3628
|
+
if (w.sourceId == f.id) return /* @__PURE__ */ u(Ba, { ...w.layer, beforeId: o }, x);
|
|
3629
|
+
}) }, v)),
|
|
3630
3630
|
/* @__PURE__ */ u(Da, { position: "bottom-right", visualizePitch: !0 }),
|
|
3631
3631
|
c && y && /* @__PURE__ */ u(Ia, { longitude: c.longitude, latitude: c.latitude, anchor: c.anchor, onClose: () => g(null), children: c.content })
|
|
3632
3632
|
] }) });
|
|
@@ -3722,29 +3722,30 @@ const za = ({
|
|
|
3722
3722
|
popUpParams: m,
|
|
3723
3723
|
onClosePopUp: h,
|
|
3724
3724
|
showTexts: y,
|
|
3725
|
-
hash: g = !1
|
|
3725
|
+
hash: g = !1,
|
|
3726
|
+
CustomPopup: b
|
|
3726
3727
|
}) => {
|
|
3727
|
-
const
|
|
3728
|
+
const f = _e();
|
|
3728
3729
|
return ne(() => {
|
|
3729
|
-
if (
|
|
3730
|
-
const
|
|
3731
|
-
|
|
3732
|
-
x.type == "symbol" && x.id != "professionals" && (y ?
|
|
3730
|
+
if (f.current) {
|
|
3731
|
+
const v = f.current.getMap();
|
|
3732
|
+
v.getStyle().layers.map((x) => {
|
|
3733
|
+
x.type == "symbol" && x.id != "professionals" && (y ? v.setLayoutProperty(x.id, "visibility", "visible") : v.setLayoutProperty(x.id, "visibility", "none"));
|
|
3733
3734
|
});
|
|
3734
3735
|
}
|
|
3735
3736
|
}, [y]), ne(() => {
|
|
3736
|
-
let
|
|
3737
|
-
return Br.addProtocol("pmtiles",
|
|
3737
|
+
let v = new tl();
|
|
3738
|
+
return Br.addProtocol("pmtiles", v.tile), () => {
|
|
3738
3739
|
Br.removeProtocol("pmtiles");
|
|
3739
3740
|
};
|
|
3740
|
-
}, []), /* @__PURE__ */ u("div", { className: `${X0.mapContainer}`, style: a, children: /* @__PURE__ */ T(Ra, { mapLib: Br, initialViewState: e, ref:
|
|
3741
|
-
c.length && c.map((
|
|
3742
|
-
if (x.sourceId ==
|
|
3741
|
+
}, []), /* @__PURE__ */ u("div", { className: `${X0.mapContainer}`, style: a, children: /* @__PURE__ */ T(Ra, { mapLib: Br, initialViewState: e, ref: f, hash: g, maxZoom: t, minZoom: n, mapStyle: r, onClick: s, interactiveLayerIds: l, children: [
|
|
3742
|
+
c.length && c.map((v, w) => /* @__PURE__ */ u(Va, { ...v, children: d.length && d.map((x, E) => {
|
|
3743
|
+
if (x.sourceId == v.id) return /* @__PURE__ */ u(Ba, { ...x.layer, beforeId: o, filter: x.filters ? x.filters : ["all"], layout: {
|
|
3743
3744
|
visibility: x.layer.visibility || "visible"
|
|
3744
|
-
} },
|
|
3745
|
-
}) },
|
|
3745
|
+
} }, E);
|
|
3746
|
+
}) }, w)),
|
|
3746
3747
|
/* @__PURE__ */ u(Da, { position: "bottom-right", visualizePitch: !0 }),
|
|
3747
|
-
m && /* @__PURE__ */ u(Ia, { longitude: m.lng, latitude: m.lat, onClose: h, children: /* @__PURE__ */ u(Fa, { props: m.props }) })
|
|
3748
|
+
m && /* @__PURE__ */ u(Ia, { longitude: m.lng, latitude: m.lat, onClose: h, children: b ? /* @__PURE__ */ u(b, { props: m.props }) : /* @__PURE__ */ u(Fa, { props: m.props }) })
|
|
3748
3749
|
] }) });
|
|
3749
3750
|
};
|
|
3750
3751
|
za.displayName = "MaplibreMap";
|
|
@@ -4214,11 +4215,11 @@ function k2(e) {
|
|
|
4214
4215
|
rootRef: g,
|
|
4215
4216
|
scale: b = S2,
|
|
4216
4217
|
step: f = 1,
|
|
4217
|
-
shiftStep:
|
|
4218
|
-
tabIndex:
|
|
4219
|
-
value:
|
|
4220
|
-
} = e, E = te.useRef(void 0), [
|
|
4221
|
-
controlled:
|
|
4218
|
+
shiftStep: v = 10,
|
|
4219
|
+
tabIndex: w,
|
|
4220
|
+
value: x
|
|
4221
|
+
} = e, E = te.useRef(void 0), [C, _] = te.useState(-1), [S, A] = te.useState(-1), [$, N] = te.useState(!1), R = te.useRef(0), I = te.useRef(null), [p, O] = g2({
|
|
4222
|
+
controlled: x,
|
|
4222
4223
|
default: n ?? c,
|
|
4223
4224
|
name: "Slider"
|
|
4224
4225
|
}), k = m && ((P, U, Y) => {
|
|
@@ -4271,7 +4272,7 @@ function k2(e) {
|
|
|
4271
4272
|
const ie = Number(U.currentTarget.getAttribute("data-index")), de = j[ie];
|
|
4272
4273
|
let X = null;
|
|
4273
4274
|
if (f != null) {
|
|
4274
|
-
const me = U.shiftKey ?
|
|
4275
|
+
const me = U.shiftKey ? v : f;
|
|
4275
4276
|
switch (U.key) {
|
|
4276
4277
|
case "ArrowUp":
|
|
4277
4278
|
X = nn(de, me, 1, c, l);
|
|
@@ -4286,10 +4287,10 @@ function k2(e) {
|
|
|
4286
4287
|
X = nn(de, me, a ? 1 : -1, c, l);
|
|
4287
4288
|
break;
|
|
4288
4289
|
case "PageUp":
|
|
4289
|
-
X = nn(de,
|
|
4290
|
+
X = nn(de, v, 1, c, l);
|
|
4290
4291
|
break;
|
|
4291
4292
|
case "PageDown":
|
|
4292
|
-
X = nn(de,
|
|
4293
|
+
X = nn(de, v, -1, c, l);
|
|
4293
4294
|
break;
|
|
4294
4295
|
case "Home":
|
|
4295
4296
|
X = c;
|
|
@@ -4309,7 +4310,7 @@ function k2(e) {
|
|
|
4309
4310
|
Ua(() => {
|
|
4310
4311
|
var P;
|
|
4311
4312
|
r && D.current.contains(document.activeElement) && ((P = document.activeElement) == null || P.blur());
|
|
4312
|
-
}, [r]), r &&
|
|
4313
|
+
}, [r]), r && C !== -1 && _(-1), r && Z !== -1 && L(-1);
|
|
4313
4314
|
const oe = (P) => (U) => {
|
|
4314
4315
|
var Y;
|
|
4315
4316
|
(Y = P.onChange) == null || Y.call(P, U), G(U, U.target.valueAsNumber);
|
|
@@ -4482,11 +4483,11 @@ function k2(e) {
|
|
|
4482
4483
|
};
|
|
4483
4484
|
}, Gt = (P) => ({
|
|
4484
4485
|
// So the non active thumb doesn't show its label on hover.
|
|
4485
|
-
pointerEvents:
|
|
4486
|
+
pointerEvents: C !== -1 && C !== P ? "none" : void 0
|
|
4486
4487
|
});
|
|
4487
4488
|
let Ge;
|
|
4488
4489
|
return y === "vertical" && (Ge = a ? "vertical-rl" : "vertical-lr"), {
|
|
4489
|
-
active:
|
|
4490
|
+
active: C,
|
|
4490
4491
|
axis: ae,
|
|
4491
4492
|
axisProps: w2,
|
|
4492
4493
|
dragging: $,
|
|
@@ -4502,7 +4503,7 @@ function k2(e) {
|
|
|
4502
4503
|
...Y
|
|
4503
4504
|
};
|
|
4504
4505
|
return {
|
|
4505
|
-
tabIndex:
|
|
4506
|
+
tabIndex: w,
|
|
4506
4507
|
"aria-labelledby": t,
|
|
4507
4508
|
"aria-orientation": y,
|
|
4508
4509
|
"aria-valuemax": b(l),
|
|
@@ -4563,8 +4564,8 @@ function T2() {
|
|
|
4563
4564
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference");
|
|
4564
4565
|
function b(f) {
|
|
4565
4566
|
if (typeof f == "object" && f !== null) {
|
|
4566
|
-
var
|
|
4567
|
-
switch (
|
|
4567
|
+
var v = f.$$typeof;
|
|
4568
|
+
switch (v) {
|
|
4568
4569
|
case e:
|
|
4569
4570
|
switch (f = f.type, f) {
|
|
4570
4571
|
case n:
|
|
@@ -4584,11 +4585,11 @@ function T2() {
|
|
|
4584
4585
|
case a:
|
|
4585
4586
|
return f;
|
|
4586
4587
|
default:
|
|
4587
|
-
return
|
|
4588
|
+
return v;
|
|
4588
4589
|
}
|
|
4589
4590
|
}
|
|
4590
4591
|
case t:
|
|
4591
|
-
return
|
|
4592
|
+
return v;
|
|
4592
4593
|
}
|
|
4593
4594
|
}
|
|
4594
4595
|
}
|
|
@@ -4635,8 +4636,8 @@ function $2() {
|
|
|
4635
4636
|
return Oi || (Oi = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4636
4637
|
function e(f) {
|
|
4637
4638
|
if (typeof f == "object" && f !== null) {
|
|
4638
|
-
var
|
|
4639
|
-
switch (
|
|
4639
|
+
var v = f.$$typeof;
|
|
4640
|
+
switch (v) {
|
|
4640
4641
|
case t:
|
|
4641
4642
|
switch (f = f.type, f) {
|
|
4642
4643
|
case r:
|
|
@@ -4656,11 +4657,11 @@ function $2() {
|
|
|
4656
4657
|
case s:
|
|
4657
4658
|
return f;
|
|
4658
4659
|
default:
|
|
4659
|
-
return
|
|
4660
|
+
return v;
|
|
4660
4661
|
}
|
|
4661
4662
|
}
|
|
4662
4663
|
case n:
|
|
4663
|
-
return
|
|
4664
|
+
return v;
|
|
4664
4665
|
}
|
|
4665
4666
|
}
|
|
4666
4667
|
}
|
|
@@ -5457,8 +5458,8 @@ function vu() {
|
|
|
5457
5458
|
else {
|
|
5458
5459
|
const f = _t({
|
|
5459
5460
|
theme: o
|
|
5460
|
-
}, b, (
|
|
5461
|
-
[g]:
|
|
5461
|
+
}, b, (v) => ({
|
|
5462
|
+
[g]: v
|
|
5462
5463
|
}));
|
|
5463
5464
|
yu(f, b) ? y[g] = t({
|
|
5464
5465
|
sx: b,
|
|
@@ -5959,18 +5960,18 @@ function zu(e = {}) {
|
|
|
5959
5960
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
5960
5961
|
overridesResolver: g = Pu(ts(m)),
|
|
5961
5962
|
...b
|
|
5962
|
-
} = c, f = d && d.startsWith("Mui") || m ? "components" : "custom",
|
|
5963
|
+
} = c, f = d && d.startsWith("Mui") || m ? "components" : "custom", v = h !== void 0 ? h : (
|
|
5963
5964
|
// TODO v6: remove `Root` in the next major release
|
|
5964
5965
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
5965
5966
|
m && m !== "Root" && m !== "root" || !1
|
|
5966
|
-
),
|
|
5967
|
-
let
|
|
5968
|
-
m === "Root" || m === "root" ?
|
|
5967
|
+
), w = y || !1;
|
|
5968
|
+
let x = Yr;
|
|
5969
|
+
m === "Root" || m === "root" ? x = r : m ? x = o : Uu(l) && (x = void 0);
|
|
5969
5970
|
const E = $u(l, {
|
|
5970
|
-
shouldForwardProp:
|
|
5971
|
+
shouldForwardProp: x,
|
|
5971
5972
|
label: qu(d, m),
|
|
5972
5973
|
...b
|
|
5973
|
-
}),
|
|
5974
|
+
}), C = (S) => {
|
|
5974
5975
|
if (S.__emotion_real === S)
|
|
5975
5976
|
return S;
|
|
5976
5977
|
if (typeof S == "function")
|
|
@@ -5985,7 +5986,7 @@ function zu(e = {}) {
|
|
|
5985
5986
|
}
|
|
5986
5987
|
return S;
|
|
5987
5988
|
}, _ = (...S) => {
|
|
5988
|
-
const A = [], $ = S.map(
|
|
5989
|
+
const A = [], $ = S.map(C), N = [];
|
|
5989
5990
|
if (A.push(a), d && g && N.push(function(O) {
|
|
5990
5991
|
var V, z;
|
|
5991
5992
|
const B = (z = (V = O.theme.components) == null ? void 0 : V[d]) == null ? void 0 : z.styleOverrides;
|
|
@@ -5995,11 +5996,11 @@ function zu(e = {}) {
|
|
|
5995
5996
|
for (const Z in B)
|
|
5996
5997
|
j[Z] = cr(O, B[Z], O.theme.modularCssLayers ? "theme" : void 0);
|
|
5997
5998
|
return g(O, j);
|
|
5998
|
-
}), d && !
|
|
5999
|
+
}), d && !v && N.push(function(O) {
|
|
5999
6000
|
var j, V;
|
|
6000
6001
|
const k = O.theme, B = (V = (j = k == null ? void 0 : k.components) == null ? void 0 : j[d]) == null ? void 0 : V.variants;
|
|
6001
6002
|
return B ? es(O, B, [], O.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
6002
|
-
}),
|
|
6003
|
+
}), w || N.push(gn), Array.isArray($[0])) {
|
|
6003
6004
|
const p = $.shift(), O = new Array(A.length).fill(""), k = new Array(N.length).fill("");
|
|
6004
6005
|
let B;
|
|
6005
6006
|
B = [...O, ...p, ...k], B.raw = [...O, ...p.raw, ...k], A.unshift(B);
|
|
@@ -6274,7 +6275,7 @@ function Xr(e, t) {
|
|
|
6274
6275
|
}
|
|
6275
6276
|
function nd(e, t = {}) {
|
|
6276
6277
|
const {
|
|
6277
|
-
getSelector: n =
|
|
6278
|
+
getSelector: n = w,
|
|
6278
6279
|
disableCssColorScheme: r,
|
|
6279
6280
|
colorSchemeSelector: o,
|
|
6280
6281
|
enableContrastVars: a
|
|
@@ -6291,61 +6292,61 @@ function nd(e, t = {}) {
|
|
|
6291
6292
|
let g = y;
|
|
6292
6293
|
const b = {}, {
|
|
6293
6294
|
[c]: f,
|
|
6294
|
-
...
|
|
6295
|
+
...v
|
|
6295
6296
|
} = s;
|
|
6296
|
-
if (Object.entries(
|
|
6297
|
+
if (Object.entries(v || {}).forEach(([C, _]) => {
|
|
6297
6298
|
const {
|
|
6298
6299
|
vars: S,
|
|
6299
6300
|
css: A,
|
|
6300
6301
|
varsWithDefaults: $
|
|
6301
6302
|
} = Xr(_, t);
|
|
6302
|
-
g = et(g, $), b[
|
|
6303
|
+
g = et(g, $), b[C] = {
|
|
6303
6304
|
css: A,
|
|
6304
6305
|
vars: S
|
|
6305
6306
|
};
|
|
6306
6307
|
}), f) {
|
|
6307
6308
|
const {
|
|
6308
|
-
css:
|
|
6309
|
+
css: C,
|
|
6309
6310
|
vars: _,
|
|
6310
6311
|
varsWithDefaults: S
|
|
6311
6312
|
} = Xr(f, t);
|
|
6312
6313
|
g = et(g, S), b[c] = {
|
|
6313
|
-
css:
|
|
6314
|
+
css: C,
|
|
6314
6315
|
vars: _
|
|
6315
6316
|
};
|
|
6316
6317
|
}
|
|
6317
|
-
function
|
|
6318
|
+
function w(C, _) {
|
|
6318
6319
|
var A, $;
|
|
6319
6320
|
let S = o;
|
|
6320
|
-
if (o === "class" && (S = ".%s"), o === "data" && (S = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (S = `[${o}="%s"]`),
|
|
6321
|
+
if (o === "class" && (S = ".%s"), o === "data" && (S = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (S = `[${o}="%s"]`), C) {
|
|
6321
6322
|
if (S === "media")
|
|
6322
|
-
return e.defaultColorScheme ===
|
|
6323
|
-
[`@media (prefers-color-scheme: ${(($ = (A = s[
|
|
6323
|
+
return e.defaultColorScheme === C ? ":root" : {
|
|
6324
|
+
[`@media (prefers-color-scheme: ${(($ = (A = s[C]) == null ? void 0 : A.palette) == null ? void 0 : $.mode) || C})`]: {
|
|
6324
6325
|
":root": _
|
|
6325
6326
|
}
|
|
6326
6327
|
};
|
|
6327
6328
|
if (S)
|
|
6328
|
-
return e.defaultColorScheme ===
|
|
6329
|
+
return e.defaultColorScheme === C ? `:root, ${S.replace("%s", String(C))}` : S.replace("%s", String(C));
|
|
6329
6330
|
}
|
|
6330
6331
|
return ":root";
|
|
6331
6332
|
}
|
|
6332
6333
|
return {
|
|
6333
6334
|
vars: g,
|
|
6334
6335
|
generateThemeVars: () => {
|
|
6335
|
-
let
|
|
6336
|
+
let C = {
|
|
6336
6337
|
...m
|
|
6337
6338
|
};
|
|
6338
6339
|
return Object.entries(b).forEach(([, {
|
|
6339
6340
|
vars: _
|
|
6340
6341
|
}]) => {
|
|
6341
|
-
|
|
6342
|
-
}),
|
|
6342
|
+
C = et(C, _);
|
|
6343
|
+
}), C;
|
|
6343
6344
|
},
|
|
6344
6345
|
generateStyleSheets: () => {
|
|
6345
6346
|
var N, R;
|
|
6346
|
-
const
|
|
6347
|
+
const C = [], _ = e.defaultColorScheme || "light";
|
|
6347
6348
|
function S(I, p) {
|
|
6348
|
-
Object.keys(p).length &&
|
|
6349
|
+
Object.keys(p).length && C.push(typeof I == "string" ? {
|
|
6349
6350
|
[I]: {
|
|
6350
6351
|
...p
|
|
6351
6352
|
}
|
|
@@ -6384,7 +6385,7 @@ function nd(e, t = {}) {
|
|
|
6384
6385
|
S(n(I, {
|
|
6385
6386
|
...k
|
|
6386
6387
|
}), k);
|
|
6387
|
-
}), a &&
|
|
6388
|
+
}), a && C.push({
|
|
6388
6389
|
":root": {
|
|
6389
6390
|
// use double underscore to indicate that these are private variables
|
|
6390
6391
|
"--__l-threshold": "0.7",
|
|
@@ -6392,7 +6393,7 @@ function nd(e, t = {}) {
|
|
|
6392
6393
|
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
6393
6394
|
// 0.87 is the default alpha value for black text.
|
|
6394
6395
|
}
|
|
6395
|
-
}),
|
|
6396
|
+
}), C;
|
|
6396
6397
|
}
|
|
6397
6398
|
};
|
|
6398
6399
|
}
|
|
@@ -6614,32 +6615,32 @@ function Fo(e) {
|
|
|
6614
6615
|
colorSpace: o,
|
|
6615
6616
|
...a
|
|
6616
6617
|
} = e, s = e.primary || id(t), l = e.secondary || ad(t), c = e.error || sd(t), d = e.info || ld(t), m = e.success || cd(t), h = e.warning || ud(t);
|
|
6617
|
-
function y(
|
|
6618
|
+
function y(v) {
|
|
6618
6619
|
if (o)
|
|
6619
|
-
return dd(
|
|
6620
|
-
const
|
|
6620
|
+
return dd(v);
|
|
6621
|
+
const w = ji(v, mo.text.primary) >= n ? mo.text.primary : is.text.primary;
|
|
6621
6622
|
if (process.env.NODE_ENV !== "production") {
|
|
6622
|
-
const
|
|
6623
|
-
|
|
6623
|
+
const x = ji(v, w);
|
|
6624
|
+
x < 3 && console.error([`MUI: The contrast ratio of ${x}:1 for ${w} on ${v}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
6624
6625
|
`));
|
|
6625
6626
|
}
|
|
6626
|
-
return
|
|
6627
|
+
return w;
|
|
6627
6628
|
}
|
|
6628
6629
|
const g = ({
|
|
6629
|
-
color:
|
|
6630
|
-
name:
|
|
6631
|
-
mainShade:
|
|
6630
|
+
color: v,
|
|
6631
|
+
name: w,
|
|
6632
|
+
mainShade: x = 500,
|
|
6632
6633
|
lightShade: E = 300,
|
|
6633
|
-
darkShade:
|
|
6634
|
+
darkShade: C = 700
|
|
6634
6635
|
}) => {
|
|
6635
|
-
if (
|
|
6636
|
-
...
|
|
6637
|
-
}, !
|
|
6638
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
6639
|
-
The color object needs to have a \`main\` property or a \`${
|
|
6640
|
-
if (typeof
|
|
6641
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
6642
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
6636
|
+
if (v = {
|
|
6637
|
+
...v
|
|
6638
|
+
}, !v.main && v[x] && (v.main = v[x]), !v.hasOwnProperty("main"))
|
|
6639
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
|
|
6640
|
+
The color object needs to have a \`main\` property or a \`${x}\` property.` : Wt(11, w ? ` (${w})` : "", x));
|
|
6641
|
+
if (typeof v.main != "string")
|
|
6642
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
|
|
6643
|
+
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
6643
6644
|
|
|
6644
6645
|
Did you intend to use one of the following approaches?
|
|
6645
6646
|
|
|
@@ -6651,8 +6652,8 @@ const theme1 = createTheme({ palette: {
|
|
|
6651
6652
|
|
|
6652
6653
|
const theme2 = createTheme({ palette: {
|
|
6653
6654
|
primary: { main: green[500] },
|
|
6654
|
-
} });` : Wt(12,
|
|
6655
|
-
return o ? (Hi(o,
|
|
6655
|
+
} });` : Wt(12, w ? ` (${w})` : "", JSON.stringify(v.main)));
|
|
6656
|
+
return o ? (Hi(o, v, "light", E, r), Hi(o, v, "dark", C, r)) : (Ui(v, "light", E, r), Ui(v, "dark", C, r)), v.contrastText || (v.contrastText = y(v.main)), v;
|
|
6656
6657
|
};
|
|
6657
6658
|
let b;
|
|
6658
6659
|
return t === "light" ? b = os() : t === "dark" && (b = as()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), et({
|
|
@@ -6761,18 +6762,18 @@ function hd(e, t) {
|
|
|
6761
6762
|
...h
|
|
6762
6763
|
} = typeof t == "function" ? t(e) : t;
|
|
6763
6764
|
process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
6764
|
-
const y = r / 14, g = m || ((
|
|
6765
|
+
const y = r / 14, g = m || ((v) => `${v / c * y}rem`), b = (v, w, x, E, C) => ({
|
|
6765
6766
|
fontFamily: n,
|
|
6766
|
-
fontWeight:
|
|
6767
|
-
fontSize: g(
|
|
6767
|
+
fontWeight: v,
|
|
6768
|
+
fontSize: g(w),
|
|
6768
6769
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
6769
|
-
lineHeight:
|
|
6770
|
+
lineHeight: x,
|
|
6770
6771
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
6771
6772
|
// across font-families can cause issues with the kerning.
|
|
6772
6773
|
...n === Zi ? {
|
|
6773
|
-
letterSpacing: `${md(E /
|
|
6774
|
+
letterSpacing: `${md(E / w)}em`
|
|
6774
6775
|
} : {},
|
|
6775
|
-
...
|
|
6776
|
+
...C,
|
|
6776
6777
|
...d
|
|
6777
6778
|
}), f = {
|
|
6778
6779
|
h1: b(o, 96, 1.167, -1.5),
|
|
@@ -6974,27 +6975,27 @@ function ho(e = {}, ...t) {
|
|
|
6974
6975
|
}
|
|
6975
6976
|
});
|
|
6976
6977
|
if (g = et(g, m), g = t.reduce((b, f) => et(b, f), g), process.env.NODE_ENV !== "production") {
|
|
6977
|
-
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (
|
|
6978
|
-
let
|
|
6979
|
-
for (
|
|
6980
|
-
const E =
|
|
6981
|
-
if (b.includes(
|
|
6978
|
+
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (v, w) => {
|
|
6979
|
+
let x;
|
|
6980
|
+
for (x in v) {
|
|
6981
|
+
const E = v[x];
|
|
6982
|
+
if (b.includes(x) && Object.keys(E).length > 0) {
|
|
6982
6983
|
if (process.env.NODE_ENV !== "production") {
|
|
6983
|
-
const
|
|
6984
|
-
console.error([`MUI: The \`${
|
|
6984
|
+
const C = Vo("", x);
|
|
6985
|
+
console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${x}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
|
|
6985
6986
|
root: {
|
|
6986
|
-
[`&.${
|
|
6987
|
+
[`&.${C}`]: E
|
|
6987
6988
|
}
|
|
6988
6989
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
6989
6990
|
`));
|
|
6990
6991
|
}
|
|
6991
|
-
|
|
6992
|
+
v[x] = {};
|
|
6992
6993
|
}
|
|
6993
6994
|
}
|
|
6994
6995
|
};
|
|
6995
|
-
Object.keys(g.components).forEach((
|
|
6996
|
-
const
|
|
6997
|
-
|
|
6996
|
+
Object.keys(g.components).forEach((v) => {
|
|
6997
|
+
const w = g.components[v].styleOverrides;
|
|
6998
|
+
w && v.startsWith("Mui") && f(w, v);
|
|
6998
6999
|
});
|
|
6999
7000
|
}
|
|
7000
7001
|
return g.unstable_sxConfig = {
|
|
@@ -7171,18 +7172,18 @@ function Bd(e = {}, ...t) {
|
|
|
7171
7172
|
} = e, h = Object.keys(n)[0], y = r || (n.light && h !== "light" ? "light" : h), g = Dd(a), {
|
|
7172
7173
|
[y]: b,
|
|
7173
7174
|
light: f,
|
|
7174
|
-
dark:
|
|
7175
|
-
...
|
|
7176
|
-
} = n,
|
|
7177
|
-
...
|
|
7175
|
+
dark: v,
|
|
7176
|
+
...w
|
|
7177
|
+
} = n, x = {
|
|
7178
|
+
...w
|
|
7178
7179
|
};
|
|
7179
7180
|
let E = b;
|
|
7180
7181
|
if ((y === "dark" && !("dark" in n) || y === "light" && !("light" in n)) && (E = !0), !E)
|
|
7181
7182
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${y}\` option is either missing or invalid.` : Wt(21, y));
|
|
7182
|
-
let
|
|
7183
|
-
s && (
|
|
7184
|
-
const _ = Qr(
|
|
7185
|
-
f && !
|
|
7183
|
+
let C;
|
|
7184
|
+
s && (C = "oklch");
|
|
7185
|
+
const _ = Qr(C, x, E, m, y);
|
|
7186
|
+
f && !x.light && Qr(C, x, f, void 0, "light"), v && !x.dark && Qr(C, x, v, void 0, "dark");
|
|
7186
7187
|
let S = {
|
|
7187
7188
|
defaultColorScheme: y,
|
|
7188
7189
|
..._,
|
|
@@ -7190,7 +7191,7 @@ function Bd(e = {}, ...t) {
|
|
|
7190
7191
|
colorSchemeSelector: c,
|
|
7191
7192
|
rootSelector: d,
|
|
7192
7193
|
getCssVar: g,
|
|
7193
|
-
colorSchemes:
|
|
7194
|
+
colorSchemes: x,
|
|
7194
7195
|
font: {
|
|
7195
7196
|
...fd(_.typography),
|
|
7196
7197
|
..._.font
|
|
@@ -7204,21 +7205,21 @@ function Bd(e = {}, ...t) {
|
|
|
7204
7205
|
};
|
|
7205
7206
|
p.mode === "light" && (M(p.common, "background", "#fff"), M(p.common, "onBackground", "#000")), p.mode === "dark" && (M(p.common, "background", "#000"), M(p.common, "onBackground", "#fff"));
|
|
7206
7207
|
function k(B, j, V) {
|
|
7207
|
-
if (
|
|
7208
|
+
if (C) {
|
|
7208
7209
|
let z;
|
|
7209
|
-
return B === Pt && (z = `transparent ${((1 - V) * 100).toFixed(0)}%`), B === ye && (z = `#000 ${(V * 100).toFixed(0)}%`), B === be && (z = `#fff ${(V * 100).toFixed(0)}%`), `color-mix(in ${
|
|
7210
|
+
return B === Pt && (z = `transparent ${((1 - V) * 100).toFixed(0)}%`), B === ye && (z = `#000 ${(V * 100).toFixed(0)}%`), B === be && (z = `#fff ${(V * 100).toFixed(0)}%`), `color-mix(in ${C}, ${j}, ${z})`;
|
|
7210
7211
|
}
|
|
7211
7212
|
return B(j, V);
|
|
7212
7213
|
}
|
|
7213
7214
|
if (Rd(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") {
|
|
7214
|
-
M(p.Alert, "errorColor", k(ye, s ? g("palette-error-light") : p.error.light, 0.6)), M(p.Alert, "infoColor", k(ye, s ? g("palette-info-light") : p.info.light, 0.6)), M(p.Alert, "successColor", k(ye, s ? g("palette-success-light") : p.success.light, 0.6)), M(p.Alert, "warningColor", k(ye, s ? g("palette-warning-light") : p.warning.light, 0.6)), M(p.Alert, "errorFilledBg", O("palette-error-main")), M(p.Alert, "infoFilledBg", O("palette-info-main")), M(p.Alert, "successFilledBg", O("palette-success-main")), M(p.Alert, "warningFilledBg", O("palette-warning-main")), M(p.Alert, "errorFilledColor", lt(() => p.getContrastText(p.error.main))), M(p.Alert, "infoFilledColor", lt(() => p.getContrastText(p.info.main))), M(p.Alert, "successFilledColor", lt(() => p.getContrastText(p.success.main))), M(p.Alert, "warningFilledColor", lt(() => p.getContrastText(p.warning.main))), M(p.Alert, "errorStandardBg", k(be, s ? g("palette-error-light") : p.error.light, 0.9)), M(p.Alert, "infoStandardBg", k(be, s ? g("palette-info-light") : p.info.light, 0.9)), M(p.Alert, "successStandardBg", k(be, s ? g("palette-success-light") : p.success.light, 0.9)), M(p.Alert, "warningStandardBg", k(be, s ? g("palette-warning-light") : p.warning.light, 0.9)), M(p.Alert, "errorIconColor", O("palette-error-main")), M(p.Alert, "infoIconColor", O("palette-info-main")), M(p.Alert, "successIconColor", O("palette-success-main")), M(p.Alert, "warningIconColor", O("palette-warning-main")), M(p.AppBar, "defaultBg", O("palette-grey-100")), M(p.Avatar, "defaultBg", O("palette-grey-400")), M(p.Button, "inheritContainedBg", O("palette-grey-300")), M(p.Button, "inheritContainedHoverBg", O("palette-grey-A100")), M(p.Chip, "defaultBorder", O("palette-grey-400")), M(p.Chip, "defaultAvatarColor", O("palette-grey-700")), M(p.Chip, "defaultIconColor", O("palette-grey-700")), M(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), M(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), M(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), M(p.LinearProgress, "primaryBg", k(be, s ? g("palette-primary-main") : p.primary.main, 0.62)), M(p.LinearProgress, "secondaryBg", k(be, s ? g("palette-secondary-main") : p.secondary.main, 0.62)), M(p.LinearProgress, "errorBg", k(be, s ? g("palette-error-main") : p.error.main, 0.62)), M(p.LinearProgress, "infoBg", k(be, s ? g("palette-info-main") : p.info.main, 0.62)), M(p.LinearProgress, "successBg", k(be, s ? g("palette-success-main") : p.success.main, 0.62)), M(p.LinearProgress, "warningBg", k(be, s ? g("palette-warning-light") : p.warning.main, 0.62)), M(p.Skeleton, "bg",
|
|
7215
|
-
const B =
|
|
7216
|
-
M(p.SnackbarContent, "bg", B), M(p.SnackbarContent, "color", lt(() =>
|
|
7215
|
+
M(p.Alert, "errorColor", k(ye, s ? g("palette-error-light") : p.error.light, 0.6)), M(p.Alert, "infoColor", k(ye, s ? g("palette-info-light") : p.info.light, 0.6)), M(p.Alert, "successColor", k(ye, s ? g("palette-success-light") : p.success.light, 0.6)), M(p.Alert, "warningColor", k(ye, s ? g("palette-warning-light") : p.warning.light, 0.6)), M(p.Alert, "errorFilledBg", O("palette-error-main")), M(p.Alert, "infoFilledBg", O("palette-info-main")), M(p.Alert, "successFilledBg", O("palette-success-main")), M(p.Alert, "warningFilledBg", O("palette-warning-main")), M(p.Alert, "errorFilledColor", lt(() => p.getContrastText(p.error.main))), M(p.Alert, "infoFilledColor", lt(() => p.getContrastText(p.info.main))), M(p.Alert, "successFilledColor", lt(() => p.getContrastText(p.success.main))), M(p.Alert, "warningFilledColor", lt(() => p.getContrastText(p.warning.main))), M(p.Alert, "errorStandardBg", k(be, s ? g("palette-error-light") : p.error.light, 0.9)), M(p.Alert, "infoStandardBg", k(be, s ? g("palette-info-light") : p.info.light, 0.9)), M(p.Alert, "successStandardBg", k(be, s ? g("palette-success-light") : p.success.light, 0.9)), M(p.Alert, "warningStandardBg", k(be, s ? g("palette-warning-light") : p.warning.light, 0.9)), M(p.Alert, "errorIconColor", O("palette-error-main")), M(p.Alert, "infoIconColor", O("palette-info-main")), M(p.Alert, "successIconColor", O("palette-success-main")), M(p.Alert, "warningIconColor", O("palette-warning-main")), M(p.AppBar, "defaultBg", O("palette-grey-100")), M(p.Avatar, "defaultBg", O("palette-grey-400")), M(p.Button, "inheritContainedBg", O("palette-grey-300")), M(p.Button, "inheritContainedHoverBg", O("palette-grey-A100")), M(p.Chip, "defaultBorder", O("palette-grey-400")), M(p.Chip, "defaultAvatarColor", O("palette-grey-700")), M(p.Chip, "defaultIconColor", O("palette-grey-700")), M(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), M(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), M(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), M(p.LinearProgress, "primaryBg", k(be, s ? g("palette-primary-main") : p.primary.main, 0.62)), M(p.LinearProgress, "secondaryBg", k(be, s ? g("palette-secondary-main") : p.secondary.main, 0.62)), M(p.LinearProgress, "errorBg", k(be, s ? g("palette-error-main") : p.error.main, 0.62)), M(p.LinearProgress, "infoBg", k(be, s ? g("palette-info-main") : p.info.main, 0.62)), M(p.LinearProgress, "successBg", k(be, s ? g("palette-success-main") : p.success.main, 0.62)), M(p.LinearProgress, "warningBg", k(be, s ? g("palette-warning-light") : p.warning.main, 0.62)), M(p.Skeleton, "bg", C ? k(Pt, s ? g("palette-text-primary") : p.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), M(p.Slider, "primaryTrack", k(be, s ? g("palette-primary-main") : p.primary.main, 0.62)), M(p.Slider, "secondaryTrack", k(be, s ? g("palette-secondary-main") : p.secondary.main, 0.62)), M(p.Slider, "errorTrack", k(be, s ? g("palette-error-main") : p.error.main, 0.62)), M(p.Slider, "infoTrack", k(be, s ? g("palette-info-main") : p.info.main, 0.62)), M(p.Slider, "successTrack", k(be, s ? g("palette-success-main") : p.success.main, 0.62)), M(p.Slider, "warningTrack", k(be, s ? g("palette-warning-main") : p.warning.main, 0.62));
|
|
7216
|
+
const B = C ? k(ye, s ? g("palette-background-default") : p.background.default, 0.6825) : tr(p.background.default, 0.8);
|
|
7217
|
+
M(p.SnackbarContent, "bg", B), M(p.SnackbarContent, "color", lt(() => C ? mo.text.primary : p.getContrastText(B))), M(p.SpeedDialAction, "fabHoverBg", tr(p.background.paper, 0.15)), M(p.StepConnector, "border", O("palette-grey-400")), M(p.StepContent, "border", O("palette-grey-400")), M(p.Switch, "defaultColor", O("palette-common-white")), M(p.Switch, "defaultDisabledColor", O("palette-grey-100")), M(p.Switch, "primaryDisabledColor", k(be, s ? g("palette-primary-main") : p.primary.main, 0.62)), M(p.Switch, "secondaryDisabledColor", k(be, s ? g("palette-secondary-main") : p.secondary.main, 0.62)), M(p.Switch, "errorDisabledColor", k(be, s ? g("palette-error-main") : p.error.main, 0.62)), M(p.Switch, "infoDisabledColor", k(be, s ? g("palette-info-main") : p.info.main, 0.62)), M(p.Switch, "successDisabledColor", k(be, s ? g("palette-success-main") : p.success.main, 0.62)), M(p.Switch, "warningDisabledColor", k(be, s ? g("palette-warning-main") : p.warning.main, 0.62)), M(p.TableCell, "border", k(be, Pt(s ? g("palette-divider") : p.divider, 1), 0.88)), M(p.Tooltip, "bg", k(Pt, s ? g("palette-grey-700") : p.grey[700], 0.92));
|
|
7217
7218
|
}
|
|
7218
7219
|
if (p.mode === "dark") {
|
|
7219
|
-
M(p.Alert, "errorColor", k(be, s ? g("palette-error-light") : p.error.light, 0.6)), M(p.Alert, "infoColor", k(be, s ? g("palette-info-light") : p.info.light, 0.6)), M(p.Alert, "successColor", k(be, s ? g("palette-success-light") : p.success.light, 0.6)), M(p.Alert, "warningColor", k(be, s ? g("palette-warning-light") : p.warning.light, 0.6)), M(p.Alert, "errorFilledBg", O("palette-error-dark")), M(p.Alert, "infoFilledBg", O("palette-info-dark")), M(p.Alert, "successFilledBg", O("palette-success-dark")), M(p.Alert, "warningFilledBg", O("palette-warning-dark")), M(p.Alert, "errorFilledColor", lt(() => p.getContrastText(p.error.dark))), M(p.Alert, "infoFilledColor", lt(() => p.getContrastText(p.info.dark))), M(p.Alert, "successFilledColor", lt(() => p.getContrastText(p.success.dark))), M(p.Alert, "warningFilledColor", lt(() => p.getContrastText(p.warning.dark))), M(p.Alert, "errorStandardBg", k(ye, s ? g("palette-error-light") : p.error.light, 0.9)), M(p.Alert, "infoStandardBg", k(ye, s ? g("palette-info-light") : p.info.light, 0.9)), M(p.Alert, "successStandardBg", k(ye, s ? g("palette-success-light") : p.success.light, 0.9)), M(p.Alert, "warningStandardBg", k(ye, s ? g("palette-warning-light") : p.warning.light, 0.9)), M(p.Alert, "errorIconColor", O("palette-error-main")), M(p.Alert, "infoIconColor", O("palette-info-main")), M(p.Alert, "successIconColor", O("palette-success-main")), M(p.Alert, "warningIconColor", O("palette-warning-main")), M(p.AppBar, "defaultBg", O("palette-grey-900")), M(p.AppBar, "darkBg", O("palette-background-paper")), M(p.AppBar, "darkColor", O("palette-text-primary")), M(p.Avatar, "defaultBg", O("palette-grey-600")), M(p.Button, "inheritContainedBg", O("palette-grey-800")), M(p.Button, "inheritContainedHoverBg", O("palette-grey-700")), M(p.Chip, "defaultBorder", O("palette-grey-700")), M(p.Chip, "defaultAvatarColor", O("palette-grey-300")), M(p.Chip, "defaultIconColor", O("palette-grey-300")), M(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), M(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), M(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), M(p.LinearProgress, "primaryBg", k(ye, s ? g("palette-primary-main") : p.primary.main, 0.5)), M(p.LinearProgress, "secondaryBg", k(ye, s ? g("palette-secondary-main") : p.secondary.main, 0.5)), M(p.LinearProgress, "errorBg", k(ye, s ? g("palette-error-main") : p.error.main, 0.5)), M(p.LinearProgress, "infoBg", k(ye, s ? g("palette-info-main") : p.info.main, 0.5)), M(p.LinearProgress, "successBg", k(ye, s ? g("palette-success-main") : p.success.main, 0.5)), M(p.LinearProgress, "warningBg", k(ye, s ? g("palette-warning-main") : p.warning.main, 0.5)), M(p.Skeleton, "bg",
|
|
7220
|
-
const B =
|
|
7221
|
-
M(p.SnackbarContent, "bg", B), M(p.SnackbarContent, "color", lt(() =>
|
|
7220
|
+
M(p.Alert, "errorColor", k(be, s ? g("palette-error-light") : p.error.light, 0.6)), M(p.Alert, "infoColor", k(be, s ? g("palette-info-light") : p.info.light, 0.6)), M(p.Alert, "successColor", k(be, s ? g("palette-success-light") : p.success.light, 0.6)), M(p.Alert, "warningColor", k(be, s ? g("palette-warning-light") : p.warning.light, 0.6)), M(p.Alert, "errorFilledBg", O("palette-error-dark")), M(p.Alert, "infoFilledBg", O("palette-info-dark")), M(p.Alert, "successFilledBg", O("palette-success-dark")), M(p.Alert, "warningFilledBg", O("palette-warning-dark")), M(p.Alert, "errorFilledColor", lt(() => p.getContrastText(p.error.dark))), M(p.Alert, "infoFilledColor", lt(() => p.getContrastText(p.info.dark))), M(p.Alert, "successFilledColor", lt(() => p.getContrastText(p.success.dark))), M(p.Alert, "warningFilledColor", lt(() => p.getContrastText(p.warning.dark))), M(p.Alert, "errorStandardBg", k(ye, s ? g("palette-error-light") : p.error.light, 0.9)), M(p.Alert, "infoStandardBg", k(ye, s ? g("palette-info-light") : p.info.light, 0.9)), M(p.Alert, "successStandardBg", k(ye, s ? g("palette-success-light") : p.success.light, 0.9)), M(p.Alert, "warningStandardBg", k(ye, s ? g("palette-warning-light") : p.warning.light, 0.9)), M(p.Alert, "errorIconColor", O("palette-error-main")), M(p.Alert, "infoIconColor", O("palette-info-main")), M(p.Alert, "successIconColor", O("palette-success-main")), M(p.Alert, "warningIconColor", O("palette-warning-main")), M(p.AppBar, "defaultBg", O("palette-grey-900")), M(p.AppBar, "darkBg", O("palette-background-paper")), M(p.AppBar, "darkColor", O("palette-text-primary")), M(p.Avatar, "defaultBg", O("palette-grey-600")), M(p.Button, "inheritContainedBg", O("palette-grey-800")), M(p.Button, "inheritContainedHoverBg", O("palette-grey-700")), M(p.Chip, "defaultBorder", O("palette-grey-700")), M(p.Chip, "defaultAvatarColor", O("palette-grey-300")), M(p.Chip, "defaultIconColor", O("palette-grey-300")), M(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), M(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), M(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), M(p.LinearProgress, "primaryBg", k(ye, s ? g("palette-primary-main") : p.primary.main, 0.5)), M(p.LinearProgress, "secondaryBg", k(ye, s ? g("palette-secondary-main") : p.secondary.main, 0.5)), M(p.LinearProgress, "errorBg", k(ye, s ? g("palette-error-main") : p.error.main, 0.5)), M(p.LinearProgress, "infoBg", k(ye, s ? g("palette-info-main") : p.info.main, 0.5)), M(p.LinearProgress, "successBg", k(ye, s ? g("palette-success-main") : p.success.main, 0.5)), M(p.LinearProgress, "warningBg", k(ye, s ? g("palette-warning-main") : p.warning.main, 0.5)), M(p.Skeleton, "bg", C ? k(Pt, s ? g("palette-text-primary") : p.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), M(p.Slider, "primaryTrack", k(ye, s ? g("palette-primary-main") : p.primary.main, 0.5)), M(p.Slider, "secondaryTrack", k(ye, s ? g("palette-secondary-main") : p.secondary.main, 0.5)), M(p.Slider, "errorTrack", k(ye, s ? g("palette-error-main") : p.error.main, 0.5)), M(p.Slider, "infoTrack", k(ye, s ? g("palette-info-main") : p.info.main, 0.5)), M(p.Slider, "successTrack", k(ye, s ? g("palette-success-main") : p.success.main, 0.5)), M(p.Slider, "warningTrack", k(ye, s ? g("palette-warning-light") : p.warning.main, 0.5));
|
|
7221
|
+
const B = C ? k(be, s ? g("palette-background-default") : p.background.default, 0.985) : tr(p.background.default, 0.98);
|
|
7222
|
+
M(p.SnackbarContent, "bg", B), M(p.SnackbarContent, "color", lt(() => C ? is.text.primary : p.getContrastText(B))), M(p.SpeedDialAction, "fabHoverBg", tr(p.background.paper, 0.15)), M(p.StepConnector, "border", O("palette-grey-600")), M(p.StepContent, "border", O("palette-grey-600")), M(p.Switch, "defaultColor", O("palette-grey-300")), M(p.Switch, "defaultDisabledColor", O("palette-grey-600")), M(p.Switch, "primaryDisabledColor", k(ye, s ? g("palette-primary-main") : p.primary.main, 0.55)), M(p.Switch, "secondaryDisabledColor", k(ye, s ? g("palette-secondary-main") : p.secondary.main, 0.55)), M(p.Switch, "errorDisabledColor", k(ye, s ? g("palette-error-main") : p.error.main, 0.55)), M(p.Switch, "infoDisabledColor", k(ye, s ? g("palette-info-main") : p.info.main, 0.55)), M(p.Switch, "successDisabledColor", k(ye, s ? g("palette-success-main") : p.success.main, 0.55)), M(p.Switch, "warningDisabledColor", k(ye, s ? g("palette-warning-light") : p.warning.main, 0.55)), M(p.TableCell, "border", k(ye, Pt(s ? g("palette-divider") : p.divider, 1), 0.68)), M(p.Tooltip, "bg", k(Pt, s ? g("palette-grey-700") : p.grey[700], 0.92));
|
|
7222
7223
|
}
|
|
7223
7224
|
s || (ht(p.background, "default"), ht(p.background, "paper"), ht(p.common, "background"), ht(p.common, "onBackground"), ht(p, "divider")), Object.keys(p).forEach((B) => {
|
|
7224
7225
|
const j = p[B];
|
|
@@ -7905,11 +7906,11 @@ const Qd = Zt("span", {
|
|
|
7905
7906
|
className: g,
|
|
7906
7907
|
disableSwap: b = !1,
|
|
7907
7908
|
disabled: f = !1,
|
|
7908
|
-
getAriaLabel:
|
|
7909
|
-
getAriaValueText:
|
|
7910
|
-
marks:
|
|
7909
|
+
getAriaLabel: v,
|
|
7910
|
+
getAriaValueText: w,
|
|
7911
|
+
marks: x = !1,
|
|
7911
7912
|
max: E = 100,
|
|
7912
|
-
min:
|
|
7913
|
+
min: C = 0,
|
|
7913
7914
|
name: _,
|
|
7914
7915
|
onChange: S,
|
|
7915
7916
|
onChangeCommitted: A,
|
|
@@ -7930,12 +7931,12 @@ const Qd = Zt("span", {
|
|
|
7930
7931
|
...r,
|
|
7931
7932
|
isRtl: o,
|
|
7932
7933
|
max: E,
|
|
7933
|
-
min:
|
|
7934
|
+
min: C,
|
|
7934
7935
|
classes: y,
|
|
7935
7936
|
disabled: f,
|
|
7936
7937
|
disableSwap: b,
|
|
7937
7938
|
orientation: $,
|
|
7938
|
-
marks:
|
|
7939
|
+
marks: x,
|
|
7939
7940
|
color: h,
|
|
7940
7941
|
size: R,
|
|
7941
7942
|
step: I,
|
|
@@ -8038,8 +8039,8 @@ const Qd = Zt("span", {
|
|
|
8038
8039
|
...Oe
|
|
8039
8040
|
}), /* @__PURE__ */ u(mt, {
|
|
8040
8041
|
...Ir
|
|
8041
|
-
}), F.filter((ke) => ke.value >=
|
|
8042
|
-
const xn = hr(ke.value,
|
|
8042
|
+
}), F.filter((ke) => ke.value >= C && ke.value <= E).map((ke, Ae) => {
|
|
8043
|
+
const xn = hr(ke.value, C, E), Qt = J[Q].offset(xn);
|
|
8043
8044
|
let Xe;
|
|
8044
8045
|
return j === !1 ? Xe = pe.includes(ke.value) : Xe = j === "normal" && (K ? ke.value >= pe[0] && ke.value <= pe[pe.length - 1] : ke.value <= pe[0]) || j === "inverted" && (K ? ke.value <= pe[0] || ke.value >= pe[pe.length - 1] : ke.value >= pe[0]), /* @__PURE__ */ T(te.Fragment, {
|
|
8045
8046
|
children: [/* @__PURE__ */ u(Ge, {
|
|
@@ -8069,7 +8070,7 @@ const Qd = Zt("span", {
|
|
|
8069
8070
|
}) : null]
|
|
8070
8071
|
}, Ae);
|
|
8071
8072
|
}), pe.map((ke, Ae) => {
|
|
8072
|
-
const xn = hr(ke,
|
|
8073
|
+
const xn = hr(ke, C, E), Qt = J[Q].offset(xn), Xe = z === "off" ? t1 : Gt;
|
|
8073
8074
|
return (
|
|
8074
8075
|
/* TODO v6: Change component structure. It will help in avoiding the complicated React.cloneElement API added in SliderValueLabel component. Should be: Thumb -> Input, ValueLabel. Follow Joy UI's Slider structure. */
|
|
8075
8076
|
/* @__PURE__ */ u(Xe, {
|
|
@@ -8093,10 +8094,10 @@ const Qd = Zt("span", {
|
|
|
8093
8094
|
},
|
|
8094
8095
|
children: /* @__PURE__ */ u(P, {
|
|
8095
8096
|
"data-index": Ae,
|
|
8096
|
-
"aria-label":
|
|
8097
|
+
"aria-label": v ? v(Ae) : a,
|
|
8097
8098
|
"aria-valuenow": p(ke),
|
|
8098
8099
|
"aria-labelledby": l,
|
|
8099
|
-
"aria-valuetext":
|
|
8100
|
+
"aria-valuetext": w ? w(p(ke), Ae) : s,
|
|
8100
8101
|
value: pe[Ae],
|
|
8101
8102
|
...jn
|
|
8102
8103
|
})
|
|
@@ -8390,13 +8391,13 @@ const n1 = "_slider_1prh1_2", r1 = "_playButton_1prh1_14", o1 = "_sliderOpen_1pr
|
|
|
8390
8391
|
console.log("year changed to ", d);
|
|
8391
8392
|
}
|
|
8392
8393
|
}) => {
|
|
8393
|
-
const m = o || ((
|
|
8394
|
+
const m = o || ((C, _) => {
|
|
8394
8395
|
const S = [];
|
|
8395
8396
|
S.push({
|
|
8396
8397
|
label: "",
|
|
8397
|
-
value:
|
|
8398
|
+
value: C
|
|
8398
8399
|
});
|
|
8399
|
-
const A = Math.ceil(
|
|
8400
|
+
const A = Math.ceil(C / 10) * 10;
|
|
8400
8401
|
for (let $ = A; $ < _; $ += 10)
|
|
8401
8402
|
S.push({
|
|
8402
8403
|
label: "",
|
|
@@ -8410,7 +8411,7 @@ const n1 = "_slider_1prh1_2", r1 = "_playButton_1prh1_14", o1 = "_sliderOpen_1pr
|
|
|
8410
8411
|
ne(() => {
|
|
8411
8412
|
y(t);
|
|
8412
8413
|
}, [t]);
|
|
8413
|
-
const g = (
|
|
8414
|
+
const g = (C, _) => {
|
|
8414
8415
|
y(_), c(_);
|
|
8415
8416
|
}, [b, f] = le(!1);
|
|
8416
8417
|
ne(() => {
|
|
@@ -8418,16 +8419,16 @@ const n1 = "_slider_1prh1_2", r1 = "_playButton_1prh1_14", o1 = "_sliderOpen_1pr
|
|
|
8418
8419
|
}, [t]), ne(() => {
|
|
8419
8420
|
l === !1 && f(!1);
|
|
8420
8421
|
}, [l]);
|
|
8421
|
-
const
|
|
8422
|
+
const v = () => {
|
|
8422
8423
|
f(!0);
|
|
8423
|
-
},
|
|
8424
|
+
}, w = () => {
|
|
8424
8425
|
f(!1);
|
|
8425
8426
|
};
|
|
8426
|
-
((
|
|
8427
|
+
((C, _, S = []) => {
|
|
8427
8428
|
const A = _e();
|
|
8428
8429
|
ne(() => {
|
|
8429
|
-
A.current =
|
|
8430
|
-
}, [
|
|
8430
|
+
A.current = C;
|
|
8431
|
+
}, [C]), ne(() => {
|
|
8431
8432
|
function $() {
|
|
8432
8433
|
A.current();
|
|
8433
8434
|
}
|
|
@@ -8437,8 +8438,8 @@ const n1 = "_slider_1prh1_2", r1 = "_playButton_1prh1_14", o1 = "_sliderOpen_1pr
|
|
|
8437
8438
|
}
|
|
8438
8439
|
}, [_, ...S]);
|
|
8439
8440
|
})(() => {
|
|
8440
|
-
b && y((
|
|
8441
|
-
const _ =
|
|
8441
|
+
b && y((C) => {
|
|
8442
|
+
const _ = C + 1;
|
|
8442
8443
|
return _ > r ? (c(n), n) : (c(_), _);
|
|
8443
8444
|
});
|
|
8444
8445
|
}, 1e3, [n, r, b]);
|
|
@@ -8473,8 +8474,8 @@ const n1 = "_slider_1prh1_2", r1 = "_playButton_1prh1_14", o1 = "_sliderOpen_1pr
|
|
|
8473
8474
|
n,
|
|
8474
8475
|
/* @__PURE__ */ u(fs, { "aria-label": "TimeSlider", value: h, valueLabelDisplay: "on", step: 1, marks: m, min: n, max: r, onChange: g, color: "primary", size: "small" }),
|
|
8475
8476
|
r,
|
|
8476
|
-
!b && /* @__PURE__ */ u("button", { className: kn.playButton, onClick:
|
|
8477
|
-
b && /* @__PURE__ */ u("button", { className: kn.playButton, onClick:
|
|
8477
|
+
!b && /* @__PURE__ */ u("button", { className: kn.playButton, onClick: v, children: /* @__PURE__ */ u("img", { src: l2, alt: "Play" }) }),
|
|
8478
|
+
b && /* @__PURE__ */ u("button", { className: kn.playButton, onClick: w, children: /* @__PURE__ */ u("img", { src: c2, alt: "Pause" }) })
|
|
8478
8479
|
] }) });
|
|
8479
8480
|
};
|
|
8480
8481
|
ps.displayName = "TimeSlider";
|
|
@@ -8624,13 +8625,13 @@ const D1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8624
8625
|
created_at: y,
|
|
8625
8626
|
id: g,
|
|
8626
8627
|
isBeingProcessed: b
|
|
8627
|
-
} = e, [f,
|
|
8628
|
-
t:
|
|
8629
|
-
} = ue(),
|
|
8628
|
+
} = e, [f, v] = le(!1), {
|
|
8629
|
+
t: w
|
|
8630
|
+
} = ue(), x = l && l.edit && !e.is_default && !e.is_baseline, E = l && l.trash && !e.is_default && !e.is_baseline;
|
|
8630
8631
|
return /* @__PURE__ */ T("div", { className: tt.listElement, style: {
|
|
8631
8632
|
borderBottom: `1px solid ${o}`
|
|
8632
8633
|
}, children: [
|
|
8633
|
-
/* @__PURE__ */ u("div", { className: tt.elementNameDate, onClick: () => t(g), children: Object.keys(s).map((
|
|
8634
|
+
/* @__PURE__ */ u("div", { className: tt.elementNameDate, onClick: () => t(g), children: Object.keys(s).map((C, _) => C === "name" ? /* @__PURE__ */ u("div", { className: tt.elementNameContainer, children: /* @__PURE__ */ T("div", { className: `${tt.elementName} ${m && tt.nameAndEye}`, children: [
|
|
8634
8635
|
m && (n ? /* @__PURE__ */ u(I1, { style: {
|
|
8635
8636
|
color: r,
|
|
8636
8637
|
marginRight: 9
|
|
@@ -8640,7 +8641,7 @@ const D1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8640
8641
|
/* @__PURE__ */ u("span", { style: {
|
|
8641
8642
|
color: n ? r : o
|
|
8642
8643
|
}, children: h })
|
|
8643
|
-
] }) }, `col${_}`) :
|
|
8644
|
+
] }) }, `col${_}`) : C == "data" ? /* @__PURE__ */ u("div", { className: tt.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }, `col${_}data`) : /* @__PURE__ */ u("div", { className: tt.elementDate, children: e[C] }, `col${_}other`)) }),
|
|
8644
8645
|
/* @__PURE__ */ T("div", { className: tt.elementButtons, children: [
|
|
8645
8646
|
e.processing && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
8646
8647
|
/* @__PURE__ */ u("img", { src: A1 }),
|
|
@@ -8654,7 +8655,7 @@ const D1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8654
8655
|
/* @__PURE__ */ u("button", { onClick: () => l.copy.onclick(e), disabled: l.copy.disabled || !1, children: /* @__PURE__ */ u("img", { src: E1 }) }),
|
|
8655
8656
|
/* @__PURE__ */ u(dt, { text: l.copy.tooltiptext, position: "left" })
|
|
8656
8657
|
] }),
|
|
8657
|
-
|
|
8658
|
+
x && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
8658
8659
|
/* @__PURE__ */ u("button", { onClick: () => l.edit.onclick(e), disabled: l.edit.disabled || !1, children: /* @__PURE__ */ u("img", { src: L1 }) }),
|
|
8659
8660
|
/* @__PURE__ */ u(dt, { text: l.edit.tooltiptext, position: "left" })
|
|
8660
8661
|
] }),
|
|
@@ -8673,9 +8674,9 @@ const D1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8673
8674
|
] }),
|
|
8674
8675
|
a && /* @__PURE__ */ u("div", { className: tt.break }),
|
|
8675
8676
|
a && /* @__PURE__ */ T("div", { className: tt.moreInfoContainer, children: [
|
|
8676
|
-
/* @__PURE__ */ T("div", { className: tt.moreInfo, onClick: () =>
|
|
8677
|
+
/* @__PURE__ */ T("div", { className: tt.moreInfo, onClick: () => v(!f), children: [
|
|
8677
8678
|
/* @__PURE__ */ u("span", { children: f ? "-" : "+" }),
|
|
8678
|
-
|
|
8679
|
+
w(a.label)
|
|
8679
8680
|
] }),
|
|
8680
8681
|
a && f && /* @__PURE__ */ u("div", { className: tt.moreInfoInfo, children: e[a.info] })
|
|
8681
8682
|
] })
|
|
@@ -8742,35 +8743,35 @@ const ea = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
8742
8743
|
}) => {
|
|
8743
8744
|
const {
|
|
8744
8745
|
t: b
|
|
8745
|
-
} = ue(), [f,
|
|
8746
|
+
} = ue(), [f, v] = le(e);
|
|
8746
8747
|
ne(() => {
|
|
8747
|
-
e &&
|
|
8748
|
+
e && v(e);
|
|
8748
8749
|
}, [e]);
|
|
8749
|
-
const
|
|
8750
|
-
if (typeof
|
|
8751
|
-
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(
|
|
8752
|
-
return new Date(
|
|
8753
|
-
const _ = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(
|
|
8750
|
+
const w = (C) => {
|
|
8751
|
+
if (typeof C != "string") return null;
|
|
8752
|
+
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(C))
|
|
8753
|
+
return new Date(C);
|
|
8754
|
+
const _ = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(C);
|
|
8754
8755
|
if (_)
|
|
8755
8756
|
return /* @__PURE__ */ new Date(`${_[3]}-${_[2]}-${_[1]}`);
|
|
8756
|
-
const S = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(
|
|
8757
|
+
const S = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(C);
|
|
8757
8758
|
return S ? parseInt(S[1]) > 12 ? /* @__PURE__ */ new Date(`${S[3]}-${S[2]}-${S[1]}`) : /* @__PURE__ */ new Date(`${S[3]}-${S[1]}-${S[2]}`) : null;
|
|
8758
|
-
},
|
|
8759
|
+
}, x = (C) => w(C) !== null, E = (C) => {
|
|
8759
8760
|
if (!f || f.length === 0) return;
|
|
8760
8761
|
let _ = [...f];
|
|
8761
|
-
const S = _.find(($) => $[
|
|
8762
|
+
const S = _.find(($) => $[C] !== null && $[C] !== void 0), A = S ? x(S[C]) : !1;
|
|
8762
8763
|
_.sort(($, N) => {
|
|
8763
|
-
const R = $[
|
|
8764
|
+
const R = $[C], I = N[C];
|
|
8764
8765
|
if (R == null && I == null) return 0;
|
|
8765
8766
|
if (R == null) return 1;
|
|
8766
8767
|
if (I == null) return -1;
|
|
8767
8768
|
if (A) {
|
|
8768
|
-
const k =
|
|
8769
|
+
const k = w(R), B = w(I);
|
|
8769
8770
|
return !k && !B ? 0 : k ? B ? k - B : -1 : 1;
|
|
8770
8771
|
}
|
|
8771
8772
|
const p = String(R || "").trim(), O = String(I || "").trim();
|
|
8772
8773
|
return p.localeCompare(O);
|
|
8773
|
-
}),
|
|
8774
|
+
}), v(_);
|
|
8774
8775
|
};
|
|
8775
8776
|
return /* @__PURE__ */ T("div", { className: gt.elementSelector, style: {
|
|
8776
8777
|
color: n,
|
|
@@ -8779,16 +8780,16 @@ const ea = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
8779
8780
|
/* @__PURE__ */ T("div", { className: gt.header, style: {
|
|
8780
8781
|
borderBottom: `1px solid ${n}`
|
|
8781
8782
|
}, children: [
|
|
8782
|
-
/* @__PURE__ */ u("div", { className: gt.nameDateContainer, children: Object.keys(c).map((
|
|
8783
|
+
/* @__PURE__ */ u("div", { className: gt.nameDateContainer, children: Object.keys(c).map((C) => C === "name" ? /* @__PURE__ */ u("div", { className: gt.elementName, children: /* @__PURE__ */ T("button", { onClick: () => E("name"), children: [
|
|
8783
8784
|
/* @__PURE__ */ u("span", { children: b(c.name) }),
|
|
8784
8785
|
/* @__PURE__ */ u("img", { src: ea, alt: "order arrow" })
|
|
8785
|
-
] }) },
|
|
8786
|
+
] }) }, C) : C === "data" ? /* @__PURE__ */ u("div", { className: gt.elementDate, children: /* @__PURE__ */ T("button", { onClick: () => E("created_at"), children: [
|
|
8786
8787
|
/* @__PURE__ */ u("span", { children: b(c.data) }),
|
|
8787
8788
|
/* @__PURE__ */ u("img", { src: ea, alt: "order arrow" })
|
|
8788
|
-
] }) },
|
|
8789
|
+
] }) }, C) : /* @__PURE__ */ u("div", { className: gt.elementDate, children: /* @__PURE__ */ u("span", { children: b(c[C]) }) }, C)) }),
|
|
8789
8790
|
/* @__PURE__ */ u("div", { className: gt.buttonsContainer })
|
|
8790
8791
|
] }),
|
|
8791
|
-
/* @__PURE__ */ u("div", { className: gt.elementListContainer, children: f && f.length > 0 && f.map((
|
|
8792
|
+
/* @__PURE__ */ u("div", { className: gt.elementListContainer, children: f && f.length > 0 && f.map((C) => /* @__PURE__ */ u(qo, { isActive: t == C.id, listelement: C, fontColor: n, activeColor: r, onClickElement: l, columns: c, elementButtons: d, moreInfo: m, processTooltip: h, defaultTooltip: y, showEye: g }, `elementKey${C.id}`)) }),
|
|
8792
8793
|
s && /* @__PURE__ */ u("div", { className: gt.newElementButtonContainer, children: /* @__PURE__ */ u(Dn, { style: {
|
|
8793
8794
|
...o
|
|
8794
8795
|
}, onClick: s.onClick, borderColor: "grey", disabled: s.disabled || !1, children: b(s.label) }) })
|
|
@@ -8968,14 +8969,14 @@ function Y1(e) {
|
|
|
8968
8969
|
const t = Uo(), { control: n = t, name: r, defaultValue: o, disabled: a, exact: s, compute: l } = e || {}, c = se.useRef(o), d = se.useRef(l), m = se.useRef(void 0), h = se.useRef(n), y = se.useRef(r);
|
|
8969
8970
|
d.current = l;
|
|
8970
8971
|
const [g, b] = se.useState(() => {
|
|
8971
|
-
const
|
|
8972
|
-
return d.current ? d.current(
|
|
8973
|
-
}), f = se.useCallback((
|
|
8974
|
-
const _ = oa(r, n._names,
|
|
8972
|
+
const C = n._getWatch(r, c.current);
|
|
8973
|
+
return d.current ? d.current(C) : C;
|
|
8974
|
+
}), f = se.useCallback((C) => {
|
|
8975
|
+
const _ = oa(r, n._names, C || n._formValues, !1, c.current);
|
|
8975
8976
|
return d.current ? d.current(_) : _;
|
|
8976
|
-
}, [n._formValues, n._names, r]),
|
|
8977
|
+
}, [n._formValues, n._names, r]), v = se.useCallback((C) => {
|
|
8977
8978
|
if (!a) {
|
|
8978
|
-
const _ = oa(r, n._names,
|
|
8979
|
+
const _ = oa(r, n._names, C || n._formValues, !1, c.current);
|
|
8979
8980
|
if (d.current) {
|
|
8980
8981
|
const S = d.current(_);
|
|
8981
8982
|
ur(S, m.current) || (b(S), m.current = S);
|
|
@@ -8983,22 +8984,22 @@ function Y1(e) {
|
|
|
8983
8984
|
b(_);
|
|
8984
8985
|
}
|
|
8985
8986
|
}, [n._formValues, n._names, a, r]);
|
|
8986
|
-
xs(() => ((h.current !== n || !ur(y.current, r)) && (h.current = n, y.current = r,
|
|
8987
|
+
xs(() => ((h.current !== n || !ur(y.current, r)) && (h.current = n, y.current = r, v()), n._subscribe({
|
|
8987
8988
|
name: r,
|
|
8988
8989
|
formState: {
|
|
8989
8990
|
values: !0
|
|
8990
8991
|
},
|
|
8991
8992
|
exact: s,
|
|
8992
|
-
callback: (
|
|
8993
|
-
C
|
|
8993
|
+
callback: (C) => {
|
|
8994
|
+
v(C.values);
|
|
8994
8995
|
}
|
|
8995
|
-
})), [n, s, r,
|
|
8996
|
-
const
|
|
8996
|
+
})), [n, s, r, v]), se.useEffect(() => n._removeUnmounted());
|
|
8997
|
+
const w = h.current !== n, x = y.current, E = se.useMemo(() => {
|
|
8997
8998
|
if (a)
|
|
8998
8999
|
return null;
|
|
8999
|
-
const
|
|
9000
|
-
return
|
|
9001
|
-
}, [a,
|
|
9000
|
+
const C = !w && !ur(x, r);
|
|
9001
|
+
return w || C ? f() : null;
|
|
9002
|
+
}, [a, w, r, x, f]);
|
|
9002
9003
|
return E !== null ? E : g;
|
|
9003
9004
|
}
|
|
9004
9005
|
function X1(e) {
|
|
@@ -9038,36 +9039,36 @@ function X1(e) {
|
|
|
9038
9039
|
enumerable: !0,
|
|
9039
9040
|
get: () => Ze(h.errors, n)
|
|
9040
9041
|
}
|
|
9041
|
-
}), [h, n]),
|
|
9042
|
+
}), [h, n]), v = se.useCallback((C) => b.current.onChange({
|
|
9042
9043
|
target: {
|
|
9043
|
-
value: j1(
|
|
9044
|
+
value: j1(C),
|
|
9044
9045
|
name: n
|
|
9045
9046
|
},
|
|
9046
9047
|
type: na.CHANGE
|
|
9047
|
-
}), [n]),
|
|
9048
|
+
}), [n]), w = se.useCallback(() => b.current.onBlur({
|
|
9048
9049
|
target: {
|
|
9049
9050
|
value: Ze(o._formValues, n),
|
|
9050
9051
|
name: n
|
|
9051
9052
|
},
|
|
9052
9053
|
type: na.BLUR
|
|
9053
|
-
}), [n, o._formValues]),
|
|
9054
|
+
}), [n, o._formValues]), x = se.useCallback((C) => {
|
|
9054
9055
|
const _ = Ze(o._fields, n);
|
|
9055
|
-
_ && _._f &&
|
|
9056
|
-
focus: () => nr(
|
|
9057
|
-
select: () => nr(
|
|
9058
|
-
setCustomValidity: (S) => nr(
|
|
9059
|
-
reportValidity: () => nr(
|
|
9056
|
+
_ && _._f && C && (_._f.ref = {
|
|
9057
|
+
focus: () => nr(C.focus) && C.focus(),
|
|
9058
|
+
select: () => nr(C.select) && C.select(),
|
|
9059
|
+
setCustomValidity: (S) => nr(C.setCustomValidity) && C.setCustomValidity(S),
|
|
9060
|
+
reportValidity: () => nr(C.reportValidity) && C.reportValidity()
|
|
9060
9061
|
});
|
|
9061
9062
|
}, [o._fields, n]), E = se.useMemo(() => ({
|
|
9062
9063
|
name: n,
|
|
9063
9064
|
value: m,
|
|
9064
9065
|
...eo(r) || h.disabled ? { disabled: h.disabled || r } : {},
|
|
9065
|
-
onChange:
|
|
9066
|
-
onBlur:
|
|
9067
|
-
ref:
|
|
9068
|
-
}), [n, r, h.disabled,
|
|
9066
|
+
onChange: v,
|
|
9067
|
+
onBlur: w,
|
|
9068
|
+
ref: x
|
|
9069
|
+
}), [n, r, h.disabled, v, w, x, m]);
|
|
9069
9070
|
return se.useEffect(() => {
|
|
9070
|
-
const
|
|
9071
|
+
const C = o._options.shouldUnregister || a, _ = g.current;
|
|
9071
9072
|
_ && _ !== n && !c && o.unregister(_), o.register(n, {
|
|
9072
9073
|
...y.current.rules,
|
|
9073
9074
|
...eo(y.current.disabled) ? { disabled: y.current.disabled } : {}
|
|
@@ -9076,12 +9077,12 @@ function X1(e) {
|
|
|
9076
9077
|
const N = Ze(o._fields, A);
|
|
9077
9078
|
N && N._f && (N._f.mount = $);
|
|
9078
9079
|
};
|
|
9079
|
-
if (S(n, !0),
|
|
9080
|
+
if (S(n, !0), C) {
|
|
9080
9081
|
const A = bs(Ze(o._options.defaultValues, n, y.current.defaultValue));
|
|
9081
9082
|
ta(o._defaultValues, n, A), yo(Ze(o._formValues, n)) && ta(o._formValues, n, A);
|
|
9082
9083
|
}
|
|
9083
9084
|
return !c && o.register(n), g.current = n, () => {
|
|
9084
|
-
(c ?
|
|
9085
|
+
(c ? C && !o._state.action : C) ? o.unregister(n) : S(n, !1);
|
|
9085
9086
|
};
|
|
9086
9087
|
}, [n, o, c, a]), se.useEffect(() => {
|
|
9087
9088
|
o._setDisabledField({
|
|
@@ -9145,11 +9146,11 @@ const sf = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%20
|
|
|
9145
9146
|
t: b
|
|
9146
9147
|
} = ue(), {
|
|
9147
9148
|
control: f,
|
|
9148
|
-
trigger:
|
|
9149
|
-
clearErrors:
|
|
9149
|
+
trigger: v,
|
|
9150
|
+
clearErrors: w
|
|
9150
9151
|
} = t, {
|
|
9151
|
-
errorColor:
|
|
9152
|
-
} = zn((S) => S), [E,
|
|
9152
|
+
errorColor: x
|
|
9153
|
+
} = zn((S) => S), [E, C] = le(!1);
|
|
9153
9154
|
_e(s);
|
|
9154
9155
|
const _ = () => r ? r === "password" && E ? "text" : r : "text";
|
|
9155
9156
|
return /* @__PURE__ */ u(Fn, { name: n, control: f, rules: {
|
|
@@ -9180,10 +9181,10 @@ const sf = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%20
|
|
|
9180
9181
|
width: m
|
|
9181
9182
|
}, className: $n.inputContainer, children: [
|
|
9182
9183
|
/* @__PURE__ */ u("input", { ...N, type: _(), onChange: R, placeholder: c ? b(c) : "", maxLength: a || void 0 }),
|
|
9183
|
-
r == "password" && /* @__PURE__ */ u("button", { onClick: () =>
|
|
9184
|
+
r == "password" && /* @__PURE__ */ u("button", { onClick: () => C(!E), type: "button", className: $n.showPasswordButton, children: /* @__PURE__ */ u("img", { src: E ? lf : sf, alt: b("show-password") }) })
|
|
9184
9185
|
] }),
|
|
9185
9186
|
r == "password" && /* @__PURE__ */ u("div", { className: $n.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: h, children: b(y) }) }),
|
|
9186
|
-
/* @__PURE__ */ u(Cn, { errorMessage: (I = A.error) == null ? void 0 : I.message, errorColor:
|
|
9187
|
+
/* @__PURE__ */ u(Cn, { errorMessage: (I = A.error) == null ? void 0 : I.message, errorColor: x || d })
|
|
9187
9188
|
] });
|
|
9188
9189
|
} });
|
|
9189
9190
|
};
|
|
@@ -9220,26 +9221,26 @@ const cf = "_inputsContainer_10t9s_2", un = {
|
|
|
9220
9221
|
} = ue(), {
|
|
9221
9222
|
control: b,
|
|
9222
9223
|
trigger: f,
|
|
9223
|
-
clearErrors:
|
|
9224
|
+
clearErrors: v
|
|
9224
9225
|
} = t || {}, {
|
|
9225
|
-
errorColor:
|
|
9226
|
-
} = zn((
|
|
9226
|
+
errorColor: w
|
|
9227
|
+
} = zn((C) => C);
|
|
9227
9228
|
_e(l);
|
|
9228
|
-
const [
|
|
9229
|
+
const [x, E] = le(null);
|
|
9229
9230
|
return ne(() => {
|
|
9230
|
-
|
|
9231
|
-
}, [
|
|
9231
|
+
x && n && n(x);
|
|
9232
|
+
}, [x, n]), t ? /* @__PURE__ */ u(Fn, { name: r, control: b, rules: {
|
|
9232
9233
|
required: l ? `${g(a)} ${g("errorMessages.required")}` : !1,
|
|
9233
|
-
validate: c ? (
|
|
9234
|
+
validate: c ? (C) => {
|
|
9234
9235
|
let _ = t.getValues();
|
|
9235
|
-
return c(
|
|
9236
|
+
return c(C, _);
|
|
9236
9237
|
} : void 0
|
|
9237
9238
|
}, render: ({
|
|
9238
|
-
field:
|
|
9239
|
+
field: C,
|
|
9239
9240
|
fieldState: _
|
|
9240
9241
|
}) => {
|
|
9241
9242
|
var A;
|
|
9242
|
-
const S = y.find(($) => $.value ===
|
|
9243
|
+
const S = y.find(($) => $.value === C.value);
|
|
9243
9244
|
return /* @__PURE__ */ T("div", { className: Ue.selectInputContainer, children: [
|
|
9244
9245
|
a && /* @__PURE__ */ T("h3", { className: Ue.labelContainer, children: [
|
|
9245
9246
|
g(a),
|
|
@@ -9252,9 +9253,9 @@ const cf = "_inputsContainer_10t9s_2", un = {
|
|
|
9252
9253
|
/* @__PURE__ */ T("div", { className: Ue.inputContainer, style: {
|
|
9253
9254
|
width: h
|
|
9254
9255
|
}, children: [
|
|
9255
|
-
/* @__PURE__ */ T("select", { ...
|
|
9256
|
+
/* @__PURE__ */ T("select", { ...C, value: C.value ?? "", onChange: ($) => {
|
|
9256
9257
|
const N = $.target.value, R = y.every((I) => typeof I.value == "number") ? Number(N) : N;
|
|
9257
|
-
|
|
9258
|
+
C.onChange(R);
|
|
9258
9259
|
}, className: Ue.selectInput, children: [
|
|
9259
9260
|
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: g(d || "selectOption") }),
|
|
9260
9261
|
y.map(($, N) => /* @__PURE__ */ u("option", { value: $.value, className: Ue.option, children: g($.label) }, N))
|
|
@@ -9263,7 +9264,7 @@ const cf = "_inputsContainer_10t9s_2", un = {
|
|
|
9263
9264
|
] }),
|
|
9264
9265
|
S && S.description && /* @__PURE__ */ u("div", { className: Ue.optionDescription, children: g(S.description) })
|
|
9265
9266
|
] }),
|
|
9266
|
-
/* @__PURE__ */ u(Cn, { errorMessage: (A = _.error) == null ? void 0 : A.message, errorColor:
|
|
9267
|
+
/* @__PURE__ */ u(Cn, { errorMessage: (A = _.error) == null ? void 0 : A.message, errorColor: w || m })
|
|
9267
9268
|
] });
|
|
9268
9269
|
} }) : /* @__PURE__ */ T("div", { className: Ue.selectInputContainer, children: [
|
|
9269
9270
|
a && /* @__PURE__ */ T("h3", { className: Ue.labelContainer, children: [
|
|
@@ -9274,18 +9275,18 @@ const cf = "_inputsContainer_10t9s_2", un = {
|
|
|
9274
9275
|
/* @__PURE__ */ T("div", { className: Ue.inputContainer, style: {
|
|
9275
9276
|
width: h
|
|
9276
9277
|
}, children: [
|
|
9277
|
-
/* @__PURE__ */ T("select", { value:
|
|
9278
|
-
const _ =
|
|
9278
|
+
/* @__PURE__ */ T("select", { value: x ?? "", onChange: (C) => {
|
|
9279
|
+
const _ = C.target.value, S = y.every((A) => typeof A.value == "number") ? Number(_) : _;
|
|
9279
9280
|
E(S);
|
|
9280
9281
|
}, className: Ue.selectInput, children: [
|
|
9281
9282
|
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: g(d || "selectOption") }),
|
|
9282
|
-
y.map((
|
|
9283
|
+
y.map((C, _) => /* @__PURE__ */ u("option", { value: C.value, className: Ue.option, children: g(C.label) }, _))
|
|
9283
9284
|
] }),
|
|
9284
9285
|
/* @__PURE__ */ u("img", { src: aa, alt: "Open", className: Ue.dropdownArrow })
|
|
9285
9286
|
] }),
|
|
9286
9287
|
(() => {
|
|
9287
|
-
const
|
|
9288
|
-
return
|
|
9288
|
+
const C = y.find((_) => _.value === x);
|
|
9289
|
+
return C && C.description ? /* @__PURE__ */ u("div", { className: Ue.optionDescription, children: g(C.description) }) : null;
|
|
9289
9290
|
})()
|
|
9290
9291
|
] });
|
|
9291
9292
|
};
|
|
@@ -9317,33 +9318,33 @@ const yf = "_radioButtonContainer_1e994_2", bf = "_wholeInputContainer_1e994_5",
|
|
|
9317
9318
|
clearErrors: y
|
|
9318
9319
|
} = t, {
|
|
9319
9320
|
errorColor: g
|
|
9320
|
-
} = zn((
|
|
9321
|
-
options:
|
|
9322
|
-
onChange:
|
|
9323
|
-
actualValue:
|
|
9321
|
+
} = zn((v) => v), b = ({
|
|
9322
|
+
options: v,
|
|
9323
|
+
onChange: w,
|
|
9324
|
+
actualValue: x
|
|
9324
9325
|
}) => {
|
|
9325
|
-
if (c &&
|
|
9326
|
-
let E =
|
|
9327
|
-
|
|
9326
|
+
if (c && x && x.length > 0) {
|
|
9327
|
+
let E = x.filter((C) => C !== v);
|
|
9328
|
+
w(E);
|
|
9328
9329
|
}
|
|
9329
9330
|
}, f = ({
|
|
9330
|
-
options:
|
|
9331
|
-
onChange:
|
|
9332
|
-
actualValue:
|
|
9331
|
+
options: v,
|
|
9332
|
+
onChange: w,
|
|
9333
|
+
actualValue: x
|
|
9333
9334
|
}) => {
|
|
9334
|
-
c ?
|
|
9335
|
+
c ? x && x.length > 0 ? w([...x, v]) : w([v]) : w(v);
|
|
9335
9336
|
};
|
|
9336
9337
|
return _e(o), /* @__PURE__ */ u(Fn, { control: m, name: n, rules: {
|
|
9337
|
-
validate: (
|
|
9338
|
+
validate: (v) => o && (v == null || v === "") ? `${d(r)} ${d("errorMessages.required")}` : null
|
|
9338
9339
|
}, render: ({
|
|
9339
9340
|
formState: {
|
|
9340
|
-
errors:
|
|
9341
|
+
errors: v
|
|
9341
9342
|
},
|
|
9342
9343
|
field: {
|
|
9343
|
-
onChange:
|
|
9344
|
-
onBlur:
|
|
9344
|
+
onChange: w,
|
|
9345
|
+
onBlur: x,
|
|
9345
9346
|
value: E,
|
|
9346
|
-
ref:
|
|
9347
|
+
ref: C
|
|
9347
9348
|
},
|
|
9348
9349
|
fieldState: _
|
|
9349
9350
|
}) => {
|
|
@@ -9369,12 +9370,12 @@ const yf = "_radioButtonContainer_1e994_2", bf = "_wholeInputContainer_1e994_5",
|
|
|
9369
9370
|
c ? p ? b({
|
|
9370
9371
|
actualValue: E,
|
|
9371
9372
|
options: l,
|
|
9372
|
-
onChange:
|
|
9373
|
+
onChange: w
|
|
9373
9374
|
}) : f({
|
|
9374
9375
|
actualValue: E,
|
|
9375
9376
|
options: l,
|
|
9376
|
-
onChange:
|
|
9377
|
-
}) :
|
|
9377
|
+
onChange: w
|
|
9378
|
+
}) : w($);
|
|
9378
9379
|
}, className: Ft.radioInput }),
|
|
9379
9380
|
/* @__PURE__ */ u("span", { className: "radio-custom" }),
|
|
9380
9381
|
d(A)
|
|
@@ -9415,15 +9416,15 @@ const wf = "_rankingSliderContainer_1dvpb_2", Sf = "_labelContainer_1dvpb_6", kf
|
|
|
9415
9416
|
minText: g,
|
|
9416
9417
|
maxText: b,
|
|
9417
9418
|
disabled: f = !1,
|
|
9418
|
-
marks:
|
|
9419
|
+
marks: v = Array.from({
|
|
9419
9420
|
length: s - a + 1
|
|
9420
9421
|
}, (N, R) => a + R),
|
|
9421
|
-
showMarksNumber:
|
|
9422
|
+
showMarksNumber: w = !0
|
|
9422
9423
|
} = e, {
|
|
9423
|
-
t:
|
|
9424
|
+
t: x
|
|
9424
9425
|
} = ue(), {
|
|
9425
9426
|
control: E,
|
|
9426
|
-
trigger:
|
|
9427
|
+
trigger: C,
|
|
9427
9428
|
clearErrors: _
|
|
9428
9429
|
} = t || {};
|
|
9429
9430
|
_e(d);
|
|
@@ -9431,7 +9432,7 @@ const wf = "_rankingSliderContainer_1dvpb_2", Sf = "_labelContainer_1dvpb_6", kf
|
|
|
9431
9432
|
errorColorForm: S
|
|
9432
9433
|
} = zn((N) => N), [A, $] = le(l);
|
|
9433
9434
|
return t ? /* @__PURE__ */ u(Fn, { name: r, control: E, defaultValue: l, rules: {
|
|
9434
|
-
required: d ? `${
|
|
9435
|
+
required: d ? `${x(o)} ${x("errorMessages.required")}` : !1
|
|
9435
9436
|
}, render: ({
|
|
9436
9437
|
field: N,
|
|
9437
9438
|
fieldState: R
|
|
@@ -9442,9 +9443,9 @@ const wf = "_rankingSliderContainer_1dvpb_2", Sf = "_labelContainer_1dvpb_6", kf
|
|
|
9442
9443
|
}, children: [
|
|
9443
9444
|
o && /* @__PURE__ */ u("p", { className: Le.labelContainer, style: {
|
|
9444
9445
|
color: f ? "#CCCCCC" : "#605B56"
|
|
9445
|
-
}, children:
|
|
9446
|
+
}, children: x(o) }),
|
|
9446
9447
|
/* @__PURE__ */ T("div", { className: Le.inputContainer, children: [
|
|
9447
|
-
g && /* @__PURE__ */ u("div", { className: Le.minLabel, children:
|
|
9448
|
+
g && /* @__PURE__ */ u("div", { className: Le.minLabel, children: x(g) }),
|
|
9448
9449
|
/* @__PURE__ */ T("div", { children: [
|
|
9449
9450
|
/* @__PURE__ */ u(co, { min: a, max: s, step: 1, value: N.value ?? l, onChange: (p) => {
|
|
9450
9451
|
N.onChange(p);
|
|
@@ -9453,9 +9454,9 @@ const wf = "_rankingSliderContainer_1dvpb_2", Sf = "_labelContainer_1dvpb_6", kf
|
|
|
9453
9454
|
backgroundColor: f ? "#CCCCCC" : c,
|
|
9454
9455
|
cursor: f ? "not-allowed" : "grab"
|
|
9455
9456
|
} }), trackClassName: Le.track, markClassName: Le.mark, disabled: f }),
|
|
9456
|
-
|
|
9457
|
+
v && /* @__PURE__ */ u("div", { className: Le.labels, children: v.map((p) => /* @__PURE__ */ u("span", { children: w && p }, p)) })
|
|
9457
9458
|
] }),
|
|
9458
|
-
b && /* @__PURE__ */ u("div", { className: Le.maxLabel, children:
|
|
9459
|
+
b && /* @__PURE__ */ u("div", { className: Le.maxLabel, children: x(b) })
|
|
9459
9460
|
] }),
|
|
9460
9461
|
/* @__PURE__ */ u(Cn, { errorMessage: (I = R.error) == null ? void 0 : I.message, errorColor: S || m })
|
|
9461
9462
|
] });
|
|
@@ -9464,9 +9465,9 @@ const wf = "_rankingSliderContainer_1dvpb_2", Sf = "_labelContainer_1dvpb_6", kf
|
|
|
9464
9465
|
}, children: [
|
|
9465
9466
|
o && /* @__PURE__ */ u("p", { className: Le.labelContainer, style: {
|
|
9466
9467
|
color: f ? "#CCCCCC" : "#605B56"
|
|
9467
|
-
}, children:
|
|
9468
|
+
}, children: x(o) }),
|
|
9468
9469
|
/* @__PURE__ */ T("div", { className: Le.inputContainer, children: [
|
|
9469
|
-
g && /* @__PURE__ */ u("div", { className: Le.minLabel, children:
|
|
9470
|
+
g && /* @__PURE__ */ u("div", { className: Le.minLabel, children: x(g) }),
|
|
9470
9471
|
/* @__PURE__ */ T("div", { children: [
|
|
9471
9472
|
/* @__PURE__ */ u(co, { min: a, max: s, step: 1, value: A, onChange: (N) => {
|
|
9472
9473
|
$(N), n && n(N);
|
|
@@ -9475,9 +9476,9 @@ const wf = "_rankingSliderContainer_1dvpb_2", Sf = "_labelContainer_1dvpb_6", kf
|
|
|
9475
9476
|
backgroundColor: f ? "#CCCCCC" : c,
|
|
9476
9477
|
cursor: f ? "not-allowed" : "grab"
|
|
9477
9478
|
} }), trackClassName: Le.track, markClassName: Le.mark, disabled: f }),
|
|
9478
|
-
|
|
9479
|
+
v && /* @__PURE__ */ u("div", { className: Le.labels, children: v.map((N) => /* @__PURE__ */ u("span", { children: w && N }, N)) })
|
|
9479
9480
|
] }),
|
|
9480
|
-
b && /* @__PURE__ */ u("div", { className: Le.maxLabel, children:
|
|
9481
|
+
b && /* @__PURE__ */ u("div", { className: Le.maxLabel, children: x(b) })
|
|
9481
9482
|
] })
|
|
9482
9483
|
] });
|
|
9483
9484
|
};
|
|
@@ -9613,15 +9614,15 @@ const Bf = ({
|
|
|
9613
9614
|
const {
|
|
9614
9615
|
t: f
|
|
9615
9616
|
} = ue(), {
|
|
9616
|
-
handleSubmit:
|
|
9617
|
-
control:
|
|
9617
|
+
handleSubmit: v,
|
|
9618
|
+
control: w
|
|
9618
9619
|
} = e;
|
|
9619
9620
|
ne(() => {
|
|
9620
9621
|
a && zn.setState(() => ({
|
|
9621
9622
|
errorColor: a
|
|
9622
9623
|
}));
|
|
9623
9624
|
}, [a]);
|
|
9624
|
-
const
|
|
9625
|
+
const x = qe(() => t ? t.filter((N) => N.category).map((N) => {
|
|
9625
9626
|
var R;
|
|
9626
9627
|
return {
|
|
9627
9628
|
id: N.categoryId,
|
|
@@ -9631,13 +9632,13 @@ const Bf = ({
|
|
|
9631
9632
|
}) : [], [t]), E = (N) => {
|
|
9632
9633
|
const R = t == null ? void 0 : t.find((I) => I.categoryId === N);
|
|
9633
9634
|
return (R == null ? void 0 : R.subcategories) || [];
|
|
9634
|
-
}, [
|
|
9635
|
+
}, [C, _] = le(h || d || null), [S, A] = le(null);
|
|
9635
9636
|
ne(() => {
|
|
9636
|
-
!
|
|
9637
|
-
}, [
|
|
9638
|
-
const N = E(
|
|
9637
|
+
!C && x.length > 0 && _(x[0].id);
|
|
9638
|
+
}, [x, C]), ne(() => {
|
|
9639
|
+
const N = E(C);
|
|
9639
9640
|
!S && (N == null ? void 0 : N.length) > 0 && A(N[0].id);
|
|
9640
|
-
}, [
|
|
9641
|
+
}, [C, S, t]);
|
|
9641
9642
|
const $ = (N, R) => {
|
|
9642
9643
|
var I;
|
|
9643
9644
|
if (((I = N.subcategories) == null ? void 0 : I.length) > 0) {
|
|
@@ -9649,35 +9650,35 @@ const Bf = ({
|
|
|
9649
9650
|
return n ? /* @__PURE__ */ u("div", { style: {
|
|
9650
9651
|
display: B ? "block" : "none",
|
|
9651
9652
|
width: "100%"
|
|
9652
|
-
}, children: /* @__PURE__ */ u(n, { title: O.label, children: /* @__PURE__ */ u(pn, { inputs: O.inputs, control:
|
|
9653
|
+
}, children: /* @__PURE__ */ u(n, { title: O.label, children: /* @__PURE__ */ u(pn, { inputs: O.inputs, control: w, inputContainerStyles: r, errorColor: a, reactHookFormInstance: e }) }, O.id) }, `${O.id}${k}`) : /* @__PURE__ */ T("div", { style: {
|
|
9653
9654
|
width: "100%",
|
|
9654
9655
|
display: B ? "block" : "none"
|
|
9655
9656
|
}, children: [
|
|
9656
9657
|
/* @__PURE__ */ u("h3", { style: {
|
|
9657
9658
|
marginBottom: 15
|
|
9658
9659
|
}, children: f(O.label) }),
|
|
9659
|
-
/* @__PURE__ */ u(pn, { inputs: O.inputs, control:
|
|
9660
|
+
/* @__PURE__ */ u(pn, { inputs: O.inputs, control: w, inputContainerStyles: r, errorColor: a, reactHookFormInstance: e })
|
|
9660
9661
|
] }, `${O.id}${k}`);
|
|
9661
9662
|
})
|
|
9662
9663
|
] });
|
|
9663
9664
|
}
|
|
9664
|
-
return n ? /* @__PURE__ */ u(n, { title: N.category, children: /* @__PURE__ */ u(pn, { inputs: N.inputs, control:
|
|
9665
|
+
return n ? /* @__PURE__ */ u(n, { title: N.category, children: /* @__PURE__ */ u(pn, { inputs: N.inputs, control: w, inputContainerStyles: r, errorColor: a, reactHookFormInstance: e }) }, N.categoryId) : /* @__PURE__ */ T("div", { style: {
|
|
9665
9666
|
width: "100%"
|
|
9666
9667
|
}, children: [
|
|
9667
9668
|
/* @__PURE__ */ u("h2", { children: f(N.category) }),
|
|
9668
|
-
/* @__PURE__ */ u(pn, { inputs: N.inputs, control:
|
|
9669
|
+
/* @__PURE__ */ u(pn, { inputs: N.inputs, control: w, inputContainerStyles: r, errorColor: a, reactHookFormInstance: e })
|
|
9669
9670
|
] }, N.categoryId);
|
|
9670
9671
|
};
|
|
9671
|
-
return /* @__PURE__ */ T("form", { className: Tn.formContainer, onSubmit:
|
|
9672
|
-
c &&
|
|
9672
|
+
return /* @__PURE__ */ T("form", { className: Tn.formContainer, onSubmit: v(b), children: [
|
|
9673
|
+
c && x.length > 0 && /* @__PURE__ */ u("div", { className: Tn.categorySelectorContainer, children: /* @__PURE__ */ u(vo, { activeCategory: C, categories: x, categoriesWithErrors: g, onChange: (N) => {
|
|
9673
9674
|
_(N), A(null);
|
|
9674
9675
|
}, activeColor: y }) }),
|
|
9675
9676
|
/* @__PURE__ */ u("div", { className: Tn.formObjectContainer, children: t == null ? void 0 : t.map((N, R) => {
|
|
9676
|
-
const I = N.categoryId ===
|
|
9677
|
+
const I = N.categoryId === C;
|
|
9677
9678
|
return N.category ? /* @__PURE__ */ u("div", { style: {
|
|
9678
9679
|
width: "100%",
|
|
9679
9680
|
display: I ? "block" : "none"
|
|
9680
|
-
}, children: $(N) }, N.categoryId) : /* @__PURE__ */ u(pn, { inputs: N.inputs, control:
|
|
9681
|
+
}, children: $(N) }, N.categoryId) : /* @__PURE__ */ u(pn, { inputs: N.inputs, control: w, inputContainerStyles: r, errorColor: a, reactHookFormInstance: e }, `no-category-${R}`);
|
|
9681
9682
|
}) }),
|
|
9682
9683
|
/* @__PURE__ */ T("div", { className: Tn.buttonContainer, children: [
|
|
9683
9684
|
/* @__PURE__ */ u(Dn, { containerStyles: l, type: "submit", children: f(s) }),
|
|
@@ -9833,18 +9834,18 @@ const ap = "_switchContainer_194wl_2", sp = "_labelRight_194wl_9", lp = "_labelL
|
|
|
9833
9834
|
t: h
|
|
9834
9835
|
} = ue(), {
|
|
9835
9836
|
control: y
|
|
9836
|
-
} = t || {}, [g, b] = le(l), f = (
|
|
9837
|
-
b(
|
|
9838
|
-
},
|
|
9837
|
+
} = t || {}, [g, b] = le(l), f = (w) => {
|
|
9838
|
+
b(w), n && n(w);
|
|
9839
|
+
}, v = (w, x) => /* @__PURE__ */ T("div", { className: dn.switchContainer, style: {
|
|
9839
9840
|
width: `${m}px`
|
|
9840
9841
|
}, children: [
|
|
9841
9842
|
a && /* @__PURE__ */ u("span", { className: dn.labelLeft, style: {
|
|
9842
9843
|
width: `${(m - 74) / 2}px`
|
|
9843
9844
|
}, children: h(a) }),
|
|
9844
9845
|
/* @__PURE__ */ T("label", { className: `${dn.switch} ${d ? dn.disabled : ""}`, children: [
|
|
9845
|
-
/* @__PURE__ */ u("input", { type: "checkbox", checked: !!
|
|
9846
|
+
/* @__PURE__ */ u("input", { type: "checkbox", checked: !!w, onChange: () => x(!w), disabled: d }),
|
|
9846
9847
|
/* @__PURE__ */ u("span", { className: dn.slider, style: {
|
|
9847
|
-
"--switch-thumb-color": r ?
|
|
9848
|
+
"--switch-thumb-color": r ? w ? c : "#ccc" : c
|
|
9848
9849
|
} })
|
|
9849
9850
|
] }),
|
|
9850
9851
|
s && /* @__PURE__ */ u("span", { className: dn.labelRight, style: {
|
|
@@ -9852,8 +9853,8 @@ const ap = "_switchContainer_194wl_2", sp = "_labelRight_194wl_9", lp = "_labelL
|
|
|
9852
9853
|
}, children: h(s) })
|
|
9853
9854
|
] });
|
|
9854
9855
|
return t ? /* @__PURE__ */ u(Fn, { name: o, control: y, defaultValue: l, render: ({
|
|
9855
|
-
field:
|
|
9856
|
-
}) =>
|
|
9856
|
+
field: w
|
|
9857
|
+
}) => v(w.value, w.onChange) }) : v(g, f);
|
|
9857
9858
|
};
|
|
9858
9859
|
Os.displayName = "Switch";
|
|
9859
9860
|
Os.propTypes = {
|
|
@@ -9932,8 +9933,8 @@ const hp = "_container_1pl8d_3", gp = "_burger_1pl8d_10", yp = "_menu_1pl8d_21",
|
|
|
9932
9933
|
color: n
|
|
9933
9934
|
}, children: /* @__PURE__ */ u("ul", { className: ct.list, children: e.map((b, f) => /* @__PURE__ */ T("li", { className: ct.item, children: [
|
|
9934
9935
|
b.url && /* @__PURE__ */ u(xa, { to: b.url, className: ({
|
|
9935
|
-
isActive:
|
|
9936
|
-
}) => `${ct.link} ${
|
|
9936
|
+
isActive: v
|
|
9937
|
+
}) => `${ct.link} ${v ? ct.active : ""}`, onClick: l, style: {
|
|
9937
9938
|
color: n
|
|
9938
9939
|
}, children: b.name }),
|
|
9939
9940
|
b.onclick && /* @__PURE__ */ u("button", { className: ct.button, onClick: () => {
|
|
@@ -9970,17 +9971,17 @@ const wp = "_svgContainer_1rxoe_2", Sp = "_svg_1rxoe_2", la = {
|
|
|
9970
9971
|
showYAxisLabels: c = !0,
|
|
9971
9972
|
showGrid: d = !0,
|
|
9972
9973
|
xAxisTickRotation: m = -90,
|
|
9973
|
-
yAxisTickFormat: h = (
|
|
9974
|
+
yAxisTickFormat: h = (C) => C.toLocaleString("es-ES"),
|
|
9974
9975
|
barPadding: y = 0.1,
|
|
9975
9976
|
groupPadding: g = 0.05,
|
|
9976
9977
|
animationDuration: b = 750,
|
|
9977
9978
|
onBarHover: f,
|
|
9978
|
-
onBarClick:
|
|
9979
|
-
title:
|
|
9980
|
-
xAxisLabel:
|
|
9979
|
+
onBarClick: v,
|
|
9980
|
+
title: w,
|
|
9981
|
+
xAxisLabel: x,
|
|
9981
9982
|
yAxisLabel: E
|
|
9982
9983
|
}) => {
|
|
9983
|
-
const
|
|
9984
|
+
const C = _e(), _ = _e(), [S, A] = le({
|
|
9984
9985
|
width: 0,
|
|
9985
9986
|
height: 0
|
|
9986
9987
|
});
|
|
@@ -9997,26 +9998,26 @@ const wp = "_svgContainer_1rxoe_2", Sp = "_svg_1rxoe_2", la = {
|
|
|
9997
9998
|
return $(), window.addEventListener("resize", $), () => window.removeEventListener("resize", $);
|
|
9998
9999
|
}, [r, o]), ne(() => {
|
|
9999
10000
|
if (!e || e.length === 0 || S.width === 0) return;
|
|
10000
|
-
const $ = bt(
|
|
10001
|
+
const $ = bt(C.current), N = S.width, R = S.height, I = N - a.left - a.right, p = R - a.top - a.bottom;
|
|
10001
10002
|
if (I <= 0 || p <= 0) return;
|
|
10002
10003
|
const O = e.map((q) => q.anyo || q.year || q.x), k = t, B = dr(e, (q) => dr(k, (G) => q[G])) || 0, j = fr(e, (q) => fr(k, (G) => q[G])) || 0, V = oo().domain(O).rangeRound([0, I]).paddingInner(y), z = oo().domain(k).rangeRound([0, V.bandwidth()]).padding(g), Z = va().domain([Math.min(0, B), j]).nice().rangeRound([p, 0]), L = Ca().domain(k).range(Array.isArray(n) ? n : Object.values(n || {}));
|
|
10003
10004
|
$.selectAll("*").remove();
|
|
10004
10005
|
const D = $.append("g").attr("transform", `translate(${a.left},${a.top})`);
|
|
10005
|
-
|
|
10006
|
+
w && $.append("text").attr("x", N / 2).attr("y", a.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(w), d && D.append("g").attr("class", "grid").selectAll("line").data(Z.ticks()).enter().append("line").attr("x1", 0).attr("x2", I).attr("y1", (q) => Z(q)).attr("y2", (q) => Z(q)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (D.append("g").attr("transform", `translate(0,${p})`).call(io(V).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${m})`).style("text-anchor", m < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), x && D.append("text").attr("transform", `translate(${I / 2}, ${p + a.bottom - 5})`).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(x)), c && (D.append("g").call(ar(Z).ticks(6).tickFormat(h)).attr("class", "y-axis").call((q) => q.select(".domain").remove()), E && D.append("text").attr("transform", "rotate(-90)").attr("y", 0 - a.left).attr("x", 0 - p / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(E));
|
|
10006
10007
|
const H = D.append("g").selectAll(".bar-group").data(e).enter().append("g").attr("class", "bar-group").attr("transform", (q) => `translate(${V(q.anyo || q.year || q.x)},0)`).selectAll(".bar").data((q) => k.map((G) => ({
|
|
10007
10008
|
key: G,
|
|
10008
10009
|
value: q[G],
|
|
10009
10010
|
data: q
|
|
10010
|
-
}))).enter().append("rect").attr("class", "bar").attr("x", (q) => z(q.key)).attr("y", p).attr("width", z.bandwidth()).attr("height", 0).attr("fill", (q) => L(q.key)).style("cursor", f ||
|
|
10011
|
+
}))).enter().append("rect").attr("class", "bar").attr("x", (q) => z(q.key)).attr("y", p).attr("width", z.bandwidth()).attr("height", 0).attr("fill", (q) => L(q.key)).style("cursor", f || v ? "pointer" : "default");
|
|
10011
10012
|
H.transition().duration(b).attr("y", (q) => Z(Math.max(0, q.value))).attr("height", (q) => Math.abs(Z(q.value) - Z(0))), f && H.on("mouseover", function(q, G) {
|
|
10012
10013
|
bt(this).style("opacity", 0.8), f(q, G);
|
|
10013
10014
|
}).on("mouseout", function(q, G) {
|
|
10014
10015
|
bt(this).style("opacity", 1);
|
|
10015
|
-
}),
|
|
10016
|
-
}, [e, t, n, S, a, y, g, l, c, d, m, h, b, f,
|
|
10016
|
+
}), v && H.on("click", v);
|
|
10017
|
+
}, [e, t, n, S, a, y, g, l, c, d, m, h, b, f, v, w, x, E]), /* @__PURE__ */ u("div", { ref: _, className: `${la.svgContainer} ${s}`, style: {
|
|
10017
10018
|
width: r,
|
|
10018
10019
|
height: o + a.top + a.bottom
|
|
10019
|
-
}, children: /* @__PURE__ */ u("svg", { ref:
|
|
10020
|
+
}, children: /* @__PURE__ */ u("svg", { ref: C, className: la.svg, width: S.width, height: S.height }) });
|
|
10020
10021
|
};
|
|
10021
10022
|
Ls.displayName = "Groupedbarchart";
|
|
10022
10023
|
Ls.propTypes = {
|
|
@@ -10109,12 +10110,12 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10109
10110
|
yAxisTickFormat: g = (z) => z.toLocaleString("es-ES"),
|
|
10110
10111
|
barPadding: b = 0.4,
|
|
10111
10112
|
animationDuration: f = 750,
|
|
10112
|
-
onBarHover:
|
|
10113
|
-
onBarClick:
|
|
10114
|
-
title:
|
|
10113
|
+
onBarHover: v,
|
|
10114
|
+
onBarClick: w,
|
|
10115
|
+
title: x,
|
|
10115
10116
|
xAxisLabel: E,
|
|
10116
10117
|
// etiqueta del eje de categorías
|
|
10117
|
-
yAxisLabel:
|
|
10118
|
+
yAxisLabel: C,
|
|
10118
10119
|
// etiqueta del eje de valores
|
|
10119
10120
|
yAxisLabelPadding: _ = 0,
|
|
10120
10121
|
// espacio extra entre la etiqueta del eje de valores y el gráfico
|
|
@@ -10157,7 +10158,7 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10157
10158
|
t: J
|
|
10158
10159
|
} = ue(), H = j === "horizontal", q = y === "top", G = qe(() => {
|
|
10159
10160
|
if (s) return s;
|
|
10160
|
-
const Q =
|
|
10161
|
+
const Q = x && q ? 24 : 0;
|
|
10161
10162
|
return H ? q ? {
|
|
10162
10163
|
top: 50 + Q + _,
|
|
10163
10164
|
right: 30,
|
|
@@ -10179,7 +10180,7 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10179
10180
|
bottom: 90,
|
|
10180
10181
|
left: 60 + _
|
|
10181
10182
|
};
|
|
10182
|
-
}, [s, H, q,
|
|
10183
|
+
}, [s, H, q, x, _]);
|
|
10183
10184
|
ne(() => {
|
|
10184
10185
|
const Q = () => {
|
|
10185
10186
|
if (Z.current) {
|
|
@@ -10274,7 +10275,7 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10274
10275
|
}) : [];
|
|
10275
10276
|
Q.selectAll("*").remove();
|
|
10276
10277
|
const Oe = Q.append("g").attr("transform", `translate(${K.left},${K.top})`);
|
|
10277
|
-
if (
|
|
10278
|
+
if (x && Q.append("text").attr("x", mt / 2).attr("y", ce ? 16 : K.top - 4).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), m) {
|
|
10278
10279
|
const W = Oe.append("g").attr("class", "grid");
|
|
10279
10280
|
H ? W.selectAll("line").data(ie.ticks(6)).enter().append("line").attr("y1", 0).attr("y2", Be).attr("x1", (ee) => me(ee)).attr("x2", (ee) => me(ee)).style("stroke", "#e0e0e0").style("stroke-width", 0.5) : W.selectAll("line").data(ie.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", Ve).attr("y1", (ee) => me(ee)).attr("y2", (ee) => me(ee)).style("stroke", "#e0e0e0").style("stroke-width", 0.5);
|
|
10280
10281
|
}
|
|
@@ -10321,9 +10322,9 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10321
10322
|
if (d)
|
|
10322
10323
|
if (H) {
|
|
10323
10324
|
const W = ce ? 0 : Be, ee = ce ? Yo(ie) : io(ie);
|
|
10324
|
-
Oe.append("g").attr("class", "value-axis").attr("transform", `translate(0, ${W})`).call(ee.ticks(6).tickFormat(g)).call((fe) => fe.select(".domain").remove()).selectAll("text").style("font-size", "12px").style("fill", "#605B56"),
|
|
10325
|
+
Oe.append("g").attr("class", "value-axis").attr("transform", `translate(0, ${W})`).call(ee.ticks(6).tickFormat(g)).call((fe) => fe.select(".domain").remove()).selectAll("text").style("font-size", "12px").style("fill", "#605B56"), C && Oe.append("text").attr("x", Ve / 2).attr("y", ce ? -(K.top - 15) : Be + K.bottom - 5).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(C);
|
|
10325
10326
|
} else
|
|
10326
|
-
Oe.append("g").attr("class", "value-axis").call(ar(ie).ticks(6).tickFormat(g)).call((W) => W.select(".domain").remove()), Oe.append("g").attr("class", "value-ticks").attr("transform", `translate(${Ve}, 0)`).call(ar(ie).ticks(6).tickSizeInner(Ve)).call((W) => W.select(".domain").remove()).call((W) => W.selectAll(".tick text").remove()),
|
|
10327
|
+
Oe.append("g").attr("class", "value-axis").call(ar(ie).ticks(6).tickFormat(g)).call((W) => W.select(".domain").remove()), Oe.append("g").attr("class", "value-ticks").attr("transform", `translate(${Ve}, 0)`).call(ar(ie).ticks(6).tickSizeInner(Ve)).call((W) => W.select(".domain").remove()).call((W) => W.selectAll(".tick text").remove()), C && Oe.append("text").attr("transform", "rotate(-90)").attr("y", 0 - K.left).attr("x", 0 - Be / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(C);
|
|
10327
10328
|
let Ye;
|
|
10328
10329
|
A && (Ye = bt("body").append("div").attr("class", "chart-tooltip").style("position", "absolute").style("visibility", "hidden").style("background", "rgba(0, 0, 0, 0.8)").style("color", "white").style("padding", "8px").style("border-radius", "4px").style("font-size", "12px").style("pointer-events", "none").style("z-index", "1000"));
|
|
10329
10330
|
const _n = Oe.selectAll(".segment").data(Ge, (W) => `${W.xKey}-${W.key}`);
|
|
@@ -10334,14 +10335,14 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10334
10335
|
}, Qt = (W) => {
|
|
10335
10336
|
const ee = Math.min(me(W.y0), me(W.y1)), fe = Math.abs(me(W.y1) - me(W.y0));
|
|
10336
10337
|
return ee <= 0.5 ? Math.max(fe - Ae, 0) : fe;
|
|
10337
|
-
}, Xe = _n.enter().append("rect").attr("class", "segment").attr(Yt, (W) => de(W.xKey)).attr(Xt, X).attr(jn, me(0) + Ae).attr(ke, 0).attr("fill", (W) => Ee(W)).style("cursor",
|
|
10338
|
-
if (Xe.transition().duration(f).attr(Yt, (W) => de(W.xKey)).attr(Xt, X).attr(jn, xn).attr(ke, Qt), (A ||
|
|
10338
|
+
}, Xe = _n.enter().append("rect").attr("class", "segment").attr(Yt, (W) => de(W.xKey)).attr(Xt, X).attr(jn, me(0) + Ae).attr(ke, 0).attr("fill", (W) => Ee(W)).style("cursor", v || w || A ? "pointer" : "default").merge(_n);
|
|
10339
|
+
if (Xe.transition().duration(f).attr(Yt, (W) => de(W.xKey)).attr(Xt, X).attr(jn, xn).attr(ke, Qt), (A || v) && Xe.on("mouseover", function(W, ee) {
|
|
10339
10340
|
const fe = ee.value;
|
|
10340
10341
|
if (A && Ye) {
|
|
10341
10342
|
const Re = B === "single" ? ee.data.title : J(ee.key);
|
|
10342
10343
|
Ye.style("visibility", "visible").html(B === "single" ? `<strong>${Re}</strong><br/>${g(fe)}` : `<strong>${Re}</strong><br/>${ee.xKey}<br/>${g(fe)}`);
|
|
10343
10344
|
}
|
|
10344
|
-
bt(this).style("opacity", 0.8),
|
|
10345
|
+
bt(this).style("opacity", 0.8), v && v(W, {
|
|
10345
10346
|
key: ee.key,
|
|
10346
10347
|
value: fe,
|
|
10347
10348
|
data: ee.data
|
|
@@ -10350,9 +10351,9 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10350
10351
|
A && Ye && Ye.style("top", W.pageY - 10 + "px").style("left", W.pageX + 10 + "px");
|
|
10351
10352
|
}).on("mouseout", function() {
|
|
10352
10353
|
A && Ye && Ye.style("visibility", "hidden"), bt(this).style("opacity", 1);
|
|
10353
|
-
}),
|
|
10354
|
+
}), w && Xe.on("click", function(W, ee) {
|
|
10354
10355
|
const fe = ee.value;
|
|
10355
|
-
|
|
10356
|
+
w(W, {
|
|
10356
10357
|
key: ee.key,
|
|
10357
10358
|
value: fe,
|
|
10358
10359
|
data: ee.data
|
|
@@ -10364,7 +10365,7 @@ const kp = "_svgContainer_7fkic_2", Tp = "_svg_7fkic_2", ca = {
|
|
|
10364
10365
|
return () => {
|
|
10365
10366
|
Ye && Ye.remove();
|
|
10366
10367
|
};
|
|
10367
|
-
}, [e, t, n, r, L, G, b, c, d, m, h, y, g, f,
|
|
10368
|
+
}, [e, t, n, r, L, G, b, c, d, m, h, y, g, f, v, w, x, E, C, _, S, A, $, R, I, p, O, k, B, j, N]);
|
|
10368
10369
|
const re = typeof a == "number" ? a + G.top + G.bottom : a, oe = V ? H ? {
|
|
10369
10370
|
width: "100%",
|
|
10370
10371
|
height: re,
|
|
@@ -10490,9 +10491,9 @@ const Np = "_externalContainer_1er0i_2", Ep = "_externalSintetic_1er0i_9", Op =
|
|
|
10490
10491
|
}) }),
|
|
10491
10492
|
/* @__PURE__ */ u("div", { className: Ke.yearDatas, children: e.map((g, b) => /* @__PURE__ */ u("div", { className: Ke.yearDataContainer, style: {
|
|
10492
10493
|
width: m
|
|
10493
|
-
}, children: t.map((f,
|
|
10494
|
-
var
|
|
10495
|
-
return isNaN(g[f]) ? null : /* @__PURE__ */ u("div", { className: `${Ke.yearDataContent} ${g[f] > 9999 || g[f] < -9999 ? Ke.bigNumber : ""}`, children: g[f] < 1e4 || g[f] > -1e4 ? (
|
|
10494
|
+
}, children: t.map((f, v) => {
|
|
10495
|
+
var w, x;
|
|
10496
|
+
return isNaN(g[f]) ? null : /* @__PURE__ */ u("div", { className: `${Ke.yearDataContent} ${g[f] > 9999 || g[f] < -9999 ? Ke.bigNumber : ""}`, children: g[f] < 1e4 || g[f] > -1e4 ? (w = zp(g[f])) == null ? void 0 : w.toLocaleString("es-ES") : (x = g[f]) == null ? void 0 : x.toLocaleString("es-ES") }, v);
|
|
10496
10497
|
}) }, b)) })
|
|
10497
10498
|
] });
|
|
10498
10499
|
};
|
|
@@ -10543,11 +10544,11 @@ const Bs = ({
|
|
|
10543
10544
|
const y = [s, l, c], g = d && d.length > 0 ? d : y.map(() => (t - e) / y.length), b = e + g.reduce((k, B) => k + B, 0);
|
|
10544
10545
|
let f = n;
|
|
10545
10546
|
f < e && (f = e), f > b && (f = b);
|
|
10546
|
-
const
|
|
10547
|
+
const v = (f - e) / (b - e), w = 270 + v * 180, x = o ? Math.round(v * 100) : f, E = 122, C = 122, _ = 99, S = 122, A = 132, $ = 2, N = (k, B) => {
|
|
10547
10548
|
const j = k * Math.PI / 180;
|
|
10548
10549
|
return {
|
|
10549
10550
|
x: E + B * Math.sin(j),
|
|
10550
|
-
y:
|
|
10551
|
+
y: C - B * Math.cos(j)
|
|
10551
10552
|
};
|
|
10552
10553
|
}, R = (k, B) => {
|
|
10553
10554
|
const j = B - k > 180 ? 1 : 0, V = N(k, S), z = N(B, S), Z = N(B, _), L = N(k, _);
|
|
@@ -10562,7 +10563,7 @@ const Bs = ({
|
|
|
10562
10563
|
const j = 270 + (k - e) / (b - e) * 180, {
|
|
10563
10564
|
x: V,
|
|
10564
10565
|
y: z
|
|
10565
|
-
} = N(j, A), Z = V < E - 4 ? "end" : V > E + 4 ? "start" : "middle", L = z <
|
|
10566
|
+
} = N(j, A), Z = V < E - 4 ? "end" : V > E + 4 ? "start" : "middle", L = z < C - 4 ? "-2" : "0.32em";
|
|
10566
10567
|
return {
|
|
10567
10568
|
value: Math.round(k),
|
|
10568
10569
|
x: V,
|
|
@@ -10579,7 +10580,7 @@ const Bs = ({
|
|
|
10579
10580
|
}, children: [
|
|
10580
10581
|
/* @__PURE__ */ T("svg", { width: "324", height: "170", viewBox: "-40 -30 324 170", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
10581
10582
|
p.map((k, B) => /* @__PURE__ */ u("path", { d: k.path, fill: k.color }, B)),
|
|
10582
|
-
/* @__PURE__ */ u("g", { transform: `rotate(${
|
|
10583
|
+
/* @__PURE__ */ u("g", { transform: `rotate(${w} ${E} ${C})`, children: /* @__PURE__ */ u("path", { d: `M ${E - 1} 119.5V33`, stroke: "#605B56", strokeWidth: "2" }) }),
|
|
10583
10584
|
O.map((k, B) => /* @__PURE__ */ u("text", { x: k.x, y: k.y, dy: k.dy, textAnchor: k.textAnchor, fill: m, fontSize: "11", fontWeight: "600", children: k.value }, B))
|
|
10584
10585
|
] }),
|
|
10585
10586
|
/* @__PURE__ */ T("div", { style: {
|
|
@@ -10588,7 +10589,7 @@ const Bs = ({
|
|
|
10588
10589
|
color: m,
|
|
10589
10590
|
marginTop: "-8px"
|
|
10590
10591
|
}, children: [
|
|
10591
|
-
|
|
10592
|
+
x,
|
|
10592
10593
|
o && "%",
|
|
10593
10594
|
a && a
|
|
10594
10595
|
] }),
|
|
@@ -10643,10 +10644,10 @@ function Wp(e, t = 0) {
|
|
|
10643
10644
|
for (let h = 0; h < r; h++)
|
|
10644
10645
|
!l[h] && s[h] < a && (s[h] = a, l[h] = !0, m = !0);
|
|
10645
10646
|
if (m) {
|
|
10646
|
-
const h = s.reduce((f,
|
|
10647
|
+
const h = s.reduce((f, v, w) => l[w] ? f + v : f, 0), y = s.map((f, v) => v).filter((f) => !l[f]), g = 360 - h, b = y.reduce((f, v) => f + o[v] / 100 * 360, 0);
|
|
10647
10648
|
y.forEach((f) => {
|
|
10648
|
-
const
|
|
10649
|
-
s[f] = b > 0 ?
|
|
10649
|
+
const v = o[f] / 100 * 360;
|
|
10650
|
+
s[f] = b > 0 ? v / b * g : g / y.length;
|
|
10650
10651
|
});
|
|
10651
10652
|
}
|
|
10652
10653
|
}
|
|
@@ -10695,21 +10696,21 @@ const Ps = ({
|
|
|
10695
10696
|
valuesArePercentages: y = !0,
|
|
10696
10697
|
minSliceAngle: g = 8
|
|
10697
10698
|
}) => {
|
|
10698
|
-
const [b, f] = le(null), [
|
|
10699
|
-
|
|
10700
|
-
const _ =
|
|
10699
|
+
const [b, f] = le(null), [v, w] = le(() => t.map(() => !0)), x = t.map((V) => V.title).join("|"), [E, C] = le(x);
|
|
10700
|
+
x !== E && (C(x), w(t.map(() => !0)));
|
|
10701
|
+
const _ = v.filter(Boolean).length;
|
|
10701
10702
|
function S(V) {
|
|
10702
|
-
|
|
10703
|
+
w((z) => {
|
|
10703
10704
|
const Z = z.filter(Boolean).length;
|
|
10704
10705
|
if (z[V] && Z <= 1) return z;
|
|
10705
10706
|
const L = [...z];
|
|
10706
10707
|
return L[V] = !L[V], L;
|
|
10707
10708
|
}), f(null);
|
|
10708
10709
|
}
|
|
10709
|
-
const A = r / 2, $ = r / 2, N = r / 2 - 14, R = e === "donut" ? N - o : 0, I = e === "donut" ? N - o / 2 : N * 0.62, p = qe(() => t.reduce((V, z, Z) => (
|
|
10710
|
+
const A = r / 2, $ = r / 2, N = r / 2 - 14, R = e === "donut" ? N - o : 0, I = e === "donut" ? N - o / 2 : N * 0.62, p = qe(() => t.reduce((V, z, Z) => (v[Z] && V.push({
|
|
10710
10711
|
...z,
|
|
10711
10712
|
origIndex: Z
|
|
10712
|
-
}), V), []), [t,
|
|
10713
|
+
}), V), []), [t, v]), O = qe(() => Wp(p, g), [p, g]), k = b !== null && O.find((V) => V.origIndex === b) || null, B = O.some((V) => V.ea - V.sa >= 359.99), j = s || (l === "transparent" ? qp : l);
|
|
10713
10714
|
return /* @__PURE__ */ T("div", { style: {
|
|
10714
10715
|
display: "inline-flex",
|
|
10715
10716
|
flexDirection: "column",
|
|
@@ -10816,7 +10817,7 @@ const Ps = ({
|
|
|
10816
10817
|
gap: "12px 24px",
|
|
10817
10818
|
justifyContent: h ? "flex-start" : "center"
|
|
10818
10819
|
}, children: t.map((V, z) => {
|
|
10819
|
-
const Z =
|
|
10820
|
+
const Z = v[z], L = Z && _ <= 1;
|
|
10820
10821
|
return /* @__PURE__ */ T("div", { role: "button", tabIndex: 0, "aria-pressed": Z, "aria-label": `${Z ? "Ocultar" : "Mostrar"} ${V.title}`, title: L ? "Debe quedar al menos una categoría activa" : Z ? "Ocultar del gráfico" : "Mostrar en el gráfico", onClick: () => S(z), onKeyDown: (D) => {
|
|
10821
10822
|
(D.key === "Enter" || D.key === " ") && (D.preventDefault(), S(z));
|
|
10822
10823
|
}, style: {
|
|
@@ -10914,8 +10915,8 @@ const pa = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Fs = ({
|
|
|
10914
10915
|
display: "flex",
|
|
10915
10916
|
flexDirection: "column",
|
|
10916
10917
|
gap: "18px"
|
|
10917
|
-
}, children: e.map((f,
|
|
10918
|
-
const
|
|
10918
|
+
}, children: e.map((f, v) => {
|
|
10919
|
+
const w = f.color || pa[v % pa.length], x = f.value / y * 100 * m;
|
|
10919
10920
|
return /* @__PURE__ */ T("div", { style: {
|
|
10920
10921
|
display: "flex",
|
|
10921
10922
|
flexDirection: "column",
|
|
@@ -10940,14 +10941,14 @@ const pa = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Fs = ({
|
|
|
10940
10941
|
left: 0,
|
|
10941
10942
|
top: 0,
|
|
10942
10943
|
height: "100%",
|
|
10943
|
-
width: `${
|
|
10944
|
-
background:
|
|
10944
|
+
width: `${x}%`,
|
|
10945
|
+
background: w,
|
|
10945
10946
|
borderRadius: g,
|
|
10946
10947
|
transition: a ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
|
|
10947
10948
|
} }),
|
|
10948
10949
|
/* @__PURE__ */ u("span", { style: {
|
|
10949
10950
|
position: "absolute",
|
|
10950
|
-
left: `calc(${
|
|
10951
|
+
left: `calc(${x}% + 10px)`,
|
|
10951
10952
|
top: "50%",
|
|
10952
10953
|
transform: "translateY(-50%)",
|
|
10953
10954
|
color: b,
|
|
@@ -10964,7 +10965,7 @@ const pa = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Fs = ({
|
|
|
10964
10965
|
} : {}
|
|
10965
10966
|
}, children: f.value })
|
|
10966
10967
|
] })
|
|
10967
|
-
] },
|
|
10968
|
+
] }, v);
|
|
10968
10969
|
}) })
|
|
10969
10970
|
] });
|
|
10970
10971
|
};
|
|
@@ -11001,10 +11002,10 @@ const ma = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Hp = 26, zs
|
|
|
11001
11002
|
const [h, y] = le(c ? 0 : 1);
|
|
11002
11003
|
ne(() => {
|
|
11003
11004
|
if (!c) return;
|
|
11004
|
-
const
|
|
11005
|
-
return () => cancelAnimationFrame(
|
|
11005
|
+
const C = requestAnimationFrame(() => requestAnimationFrame(() => y(1)));
|
|
11006
|
+
return () => cancelAnimationFrame(C);
|
|
11006
11007
|
}, [c]);
|
|
11007
|
-
const g = Math.max(...e.map((
|
|
11008
|
+
const g = Math.max(...e.map((C) => C.value), 1), b = d || (r === "#ffffff" ? "rgba(255,255,255,0.25)" : "rgba(0,0,0,0.15)"), f = o || r, v = 12, w = 12, x = e.length * s + Math.max(0, e.length - 1) * v, E = {
|
|
11008
11009
|
fontSize: "15px",
|
|
11009
11010
|
fontWeight: "700",
|
|
11010
11011
|
letterSpacing: "-0.3px",
|
|
@@ -11043,12 +11044,12 @@ const ma = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Hp = 26, zs
|
|
|
11043
11044
|
/* @__PURE__ */ u("div", { style: {
|
|
11044
11045
|
display: "flex",
|
|
11045
11046
|
alignItems: "flex-end",
|
|
11046
|
-
gap: `${
|
|
11047
|
-
width: `${
|
|
11047
|
+
gap: `${v}px`,
|
|
11048
|
+
width: `${x}px`,
|
|
11048
11049
|
height: `${l + Hp}px`,
|
|
11049
11050
|
overflow: "visible"
|
|
11050
|
-
}, children: e.map((
|
|
11051
|
-
const S =
|
|
11051
|
+
}, children: e.map((C, _) => {
|
|
11052
|
+
const S = C.color || ma[_ % ma.length], A = C.value / g * l * h;
|
|
11052
11053
|
return /* @__PURE__ */ T("div", { style: {
|
|
11053
11054
|
display: "flex",
|
|
11054
11055
|
flexDirection: "column",
|
|
@@ -11057,7 +11058,7 @@ const ma = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Hp = 26, zs
|
|
|
11057
11058
|
width: `${s}px`,
|
|
11058
11059
|
height: "100%"
|
|
11059
11060
|
}, children: [
|
|
11060
|
-
/* @__PURE__ */ u("span", { style: E, children:
|
|
11061
|
+
/* @__PURE__ */ u("span", { style: E, children: C.value }),
|
|
11061
11062
|
/* @__PURE__ */ u("div", { style: {
|
|
11062
11063
|
width: "100%",
|
|
11063
11064
|
height: `${A}px`,
|
|
@@ -11068,18 +11069,18 @@ const ma = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Hp = 26, zs
|
|
|
11068
11069
|
] }, _);
|
|
11069
11070
|
}) }),
|
|
11070
11071
|
/* @__PURE__ */ u("div", { style: {
|
|
11071
|
-
width: `${
|
|
11072
|
-
marginLeft: `-${
|
|
11072
|
+
width: `${x + w * 2}px`,
|
|
11073
|
+
marginLeft: `-${w}px`,
|
|
11073
11074
|
height: "1.5px",
|
|
11074
11075
|
background: b,
|
|
11075
11076
|
borderRadius: "1px"
|
|
11076
11077
|
} }),
|
|
11077
11078
|
/* @__PURE__ */ u("div", { style: {
|
|
11078
11079
|
display: "flex",
|
|
11079
|
-
gap: `${
|
|
11080
|
-
width: `${
|
|
11080
|
+
gap: `${v}px`,
|
|
11081
|
+
width: `${x}px`,
|
|
11081
11082
|
marginTop: "10px"
|
|
11082
|
-
}, children: e.map((
|
|
11083
|
+
}, children: e.map((C, _) => /* @__PURE__ */ u("div", { style: {
|
|
11083
11084
|
width: `${s}px`,
|
|
11084
11085
|
textAlign: "center",
|
|
11085
11086
|
color: r,
|
|
@@ -11089,7 +11090,7 @@ const ma = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Hp = 26, zs
|
|
|
11089
11090
|
whiteSpace: "nowrap",
|
|
11090
11091
|
overflow: "hidden",
|
|
11091
11092
|
textOverflow: "ellipsis"
|
|
11092
|
-
}, children:
|
|
11093
|
+
}, children: C.title }, _)) })
|
|
11093
11094
|
] })
|
|
11094
11095
|
] });
|
|
11095
11096
|
};
|
|
@@ -11150,12 +11151,12 @@ const Kp = "_percentageBarContainer_lgkme_3", Zp = "_barContainer_lgkme_10", Gp
|
|
|
11150
11151
|
const y = Go((f) => {
|
|
11151
11152
|
if (!m.current || !h.current) return;
|
|
11152
11153
|
const {
|
|
11153
|
-
dividerIndex:
|
|
11154
|
-
} = m.current,
|
|
11155
|
-
d((
|
|
11156
|
-
const _ = [...
|
|
11154
|
+
dividerIndex: v
|
|
11155
|
+
} = m.current, w = h.current.getBoundingClientRect(), x = (f.touches ? f.touches[0].clientX : f.clientX) - w.left, E = Math.max(0, Math.min(100, x / w.width * 100));
|
|
11156
|
+
d((C) => {
|
|
11157
|
+
const _ = [...C], S = C.slice(0, v).reduce((R, I) => R + I, 0), A = S + C[v] + C[v + 1];
|
|
11157
11158
|
let $ = E - S, N = A - E;
|
|
11158
|
-
if ($ < o && ($ = o, N = A - S - o), N < o && (N = o, $ = A - S - o), _[
|
|
11159
|
+
if ($ < o && ($ = o, N = A - S - o), N < o && (N = o, $ = A - S - o), _[v] = $, _[v + 1] = N, r)
|
|
11159
11160
|
try {
|
|
11160
11161
|
const R = e.reduce((I, p) => I + p.value, 0);
|
|
11161
11162
|
r(e.map((I, p) => ({
|
|
@@ -11170,31 +11171,31 @@ const Kp = "_percentageBarContainer_lgkme_3", Zp = "_barContainer_lgkme_10", Gp
|
|
|
11170
11171
|
}, [o, r, e]), g = Go(() => {
|
|
11171
11172
|
m.current && (m.current = null, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", g), document.removeEventListener("touchmove", y), document.removeEventListener("touchend", g), d((f) => {
|
|
11172
11173
|
if (r) {
|
|
11173
|
-
const
|
|
11174
|
-
r(e.map((
|
|
11175
|
-
...
|
|
11176
|
-
value: f[
|
|
11174
|
+
const v = e.reduce((w, x) => w + x.value, 0);
|
|
11175
|
+
r(e.map((w, x) => ({
|
|
11176
|
+
...w,
|
|
11177
|
+
value: f[x] / 100 * v
|
|
11177
11178
|
})));
|
|
11178
11179
|
}
|
|
11179
11180
|
return f;
|
|
11180
11181
|
}));
|
|
11181
|
-
}, [y, r, e]), b = (f,
|
|
11182
|
-
|
|
11182
|
+
}, [y, r, e]), b = (f, v) => {
|
|
11183
|
+
v.preventDefault(), m.current = {
|
|
11183
11184
|
dividerIndex: f
|
|
11184
11185
|
}, document.addEventListener("mousemove", y), document.addEventListener("mouseup", g), document.addEventListener("touchmove", y, {
|
|
11185
11186
|
passive: !1
|
|
11186
11187
|
}), document.addEventListener("touchend", g);
|
|
11187
11188
|
};
|
|
11188
11189
|
return /* @__PURE__ */ T("div", { className: je.percentageBarContainer, children: [
|
|
11189
|
-
/* @__PURE__ */ u("div", { className: je.barContainer, ref: h, children: e.map((f,
|
|
11190
|
-
var
|
|
11190
|
+
/* @__PURE__ */ u("div", { className: je.barContainer, ref: h, children: e.map((f, v) => {
|
|
11191
|
+
var w;
|
|
11191
11192
|
return /* @__PURE__ */ u("div", { className: je.segment, style: {
|
|
11192
|
-
width: `${c[
|
|
11193
|
+
width: `${c[v]}%`,
|
|
11193
11194
|
backgroundColor: f.color || "#ccc"
|
|
11194
|
-
}, children:
|
|
11195
|
+
}, children: v > 0 && /* @__PURE__ */ u("div", { className: je.handle, onMouseDown: (x) => b(v - 1, x), onTouchStart: (x) => b(v - 1, x), role: "slider", "aria-label": `Divisor entre ${(w = e[v - 1]) == null ? void 0 : w.title} y ${f.title}`, "aria-valuenow": Math.round(c[v]), tabIndex: 0 }) }, f.id ?? v);
|
|
11195
11196
|
}) }),
|
|
11196
|
-
t === "bar" && /* @__PURE__ */ u("div", { className: je.labelsContainer, children: e.map((f,
|
|
11197
|
-
width: `${c[
|
|
11197
|
+
t === "bar" && /* @__PURE__ */ u("div", { className: je.labelsContainer, children: e.map((f, v) => /* @__PURE__ */ T("div", { className: je.labelItem, style: {
|
|
11198
|
+
width: `${c[v]}%`
|
|
11198
11199
|
}, children: [
|
|
11199
11200
|
/* @__PURE__ */ u("span", { className: je.labelColor, style: {
|
|
11200
11201
|
backgroundColor: f.color
|
|
@@ -11205,30 +11206,30 @@ const Kp = "_percentageBarContainer_lgkme_3", Zp = "_barContainer_lgkme_10", Gp
|
|
|
11205
11206
|
/* @__PURE__ */ T("span", { className: je.labelValue, style: {
|
|
11206
11207
|
color: l || "#fff"
|
|
11207
11208
|
}, children: [
|
|
11208
|
-
ro(e, a)[
|
|
11209
|
+
ro(e, a)[v].toFixed(1),
|
|
11209
11210
|
"%"
|
|
11210
11211
|
] }),
|
|
11211
11212
|
n && f.translationFormula && /* @__PURE__ */ T("span", { className: je.labelTranslation, children: [
|
|
11212
11213
|
"(",
|
|
11213
|
-
ga(c[
|
|
11214
|
+
ga(c[v], f.translationFormula),
|
|
11214
11215
|
")"
|
|
11215
11216
|
] })
|
|
11216
|
-
] }, f.id ??
|
|
11217
|
-
t === "list" && /* @__PURE__ */ u("div", { className: je.labelsListContainer, children: e.map((f,
|
|
11217
|
+
] }, f.id ?? v)) }),
|
|
11218
|
+
t === "list" && /* @__PURE__ */ u("div", { className: je.labelsListContainer, children: e.map((f, v) => /* @__PURE__ */ T("div", { className: je.labelItem, children: [
|
|
11218
11219
|
/* @__PURE__ */ u("span", { className: je.labelColor, style: {
|
|
11219
11220
|
backgroundColor: f.color
|
|
11220
11221
|
} }),
|
|
11221
11222
|
/* @__PURE__ */ u("span", { className: je.labelText, children: f.title }),
|
|
11222
11223
|
/* @__PURE__ */ T("span", { className: je.labelValue, children: [
|
|
11223
|
-
ro(e, a)[
|
|
11224
|
+
ro(e, a)[v].toFixed(1),
|
|
11224
11225
|
"%"
|
|
11225
11226
|
] }),
|
|
11226
11227
|
n && f.translationFormula && /* @__PURE__ */ T("span", { className: je.labelTranslation, children: [
|
|
11227
11228
|
"(",
|
|
11228
|
-
ga(ro(e, a)[
|
|
11229
|
+
ga(ro(e, a)[v], f.translationFormula),
|
|
11229
11230
|
")"
|
|
11230
11231
|
] })
|
|
11231
|
-
] }, f.id ??
|
|
11232
|
+
] }, f.id ?? v)) })
|
|
11232
11233
|
] });
|
|
11233
11234
|
};
|
|
11234
11235
|
js.displayName = "PercentageBar";
|
|
@@ -11276,31 +11277,31 @@ const im = "_overlay_1vbid_2", am = "_modal_1vbid_16", sm = "_content_1vbid_28",
|
|
|
11276
11277
|
}) => {
|
|
11277
11278
|
if (se.useEffect(() => {
|
|
11278
11279
|
if (y && e) {
|
|
11279
|
-
const
|
|
11280
|
+
const x = setTimeout(() => {
|
|
11280
11281
|
t();
|
|
11281
11282
|
}, g);
|
|
11282
|
-
return () => clearTimeout(
|
|
11283
|
+
return () => clearTimeout(x);
|
|
11283
11284
|
}
|
|
11284
11285
|
}, [y, e, t, g]), !e) return null;
|
|
11285
11286
|
const b = () => {
|
|
11286
|
-
const
|
|
11287
|
-
return d && (
|
|
11287
|
+
const x = {};
|
|
11288
|
+
return d && (x.backgroundColor = d), m && (x.borderColor = m), o && !d ? (x.backgroundColor = "#fff5f5", x.borderColor = "#feb2b2") : a && !d && (x.backgroundColor = "#f0fff4", x.borderColor = "#9ae6b4"), x;
|
|
11288
11289
|
}, f = () => {
|
|
11289
|
-
const
|
|
11290
|
-
return c && (
|
|
11291
|
-
},
|
|
11292
|
-
const
|
|
11293
|
-
return l && (
|
|
11294
|
-
},
|
|
11290
|
+
const x = {};
|
|
11291
|
+
return c && (x.color = c), o && !c ? x.color = "#c53030" : a && !c && (x.color = "#276749"), x;
|
|
11292
|
+
}, v = () => {
|
|
11293
|
+
const x = {};
|
|
11294
|
+
return l && (x.color = l), o && !l ? x.color = "#c53030" : a && !l && (x.color = "#276749"), x;
|
|
11295
|
+
}, w = () => s || (o ? /* @__PURE__ */ T("svg", { xmlns: "http://www.w3.org/2000/svg", className: ut.iconSvg, style: v(), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
|
|
11295
11296
|
/* @__PURE__ */ u("circle", { cx: "12", cy: "12", r: "10" }),
|
|
11296
11297
|
/* @__PURE__ */ u("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
11297
11298
|
/* @__PURE__ */ u("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
|
|
11298
|
-
] }) : a ? /* @__PURE__ */ T("svg", { xmlns: "http://www.w3.org/2000/svg", className: ut.iconSvg, style:
|
|
11299
|
+
] }) : a ? /* @__PURE__ */ T("svg", { xmlns: "http://www.w3.org/2000/svg", className: ut.iconSvg, style: v(), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
|
|
11299
11300
|
/* @__PURE__ */ u("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
|
|
11300
11301
|
/* @__PURE__ */ u("polyline", { points: "22 4 12 14.01 9 11.01" })
|
|
11301
11302
|
] }) : null);
|
|
11302
11303
|
return /* @__PURE__ */ u("div", { className: ut.overlay, children: /* @__PURE__ */ u("div", { className: ut.modal, style: b(), children: /* @__PURE__ */ T("div", { className: ut.content, children: [
|
|
11303
|
-
/* @__PURE__ */ u("div", { className: ut.iconContainer, children:
|
|
11304
|
+
/* @__PURE__ */ u("div", { className: ut.iconContainer, children: w() }),
|
|
11304
11305
|
/* @__PURE__ */ T("div", { className: ut.textContainer, children: [
|
|
11305
11306
|
n && /* @__PURE__ */ u("h3", { className: ut.title, style: f(), children: n }),
|
|
11306
11307
|
/* @__PURE__ */ u("p", { className: ut.message, style: f(), children: r })
|
|
@@ -11339,7 +11340,7 @@ qs.propTypes = {
|
|
|
11339
11340
|
/** Tiempo en ms antes de auto-cerrar (por defecto 3000ms) */
|
|
11340
11341
|
autoCloseDelay: i.number
|
|
11341
11342
|
};
|
|
11342
|
-
const mm = "
|
|
11343
|
+
const mm = "_dropdownSelector_la9df_2", hm = "_trigger_la9df_17", gm = "_open_la9df_43", ym = "_arrow_la9df_43", bm = "_icon_la9df_47", vm = "_label_la9df_65", Cm = "_menu_la9df_88", _m = "_top_la9df_100", xm = "_bottom_la9df_103", wm = "_left_la9df_106", Sm = "_right_la9df_109", km = "_option_la9df_128", Tm = "_active_la9df_138", $m = "_disabled_la9df_143", nt = {
|
|
11343
11344
|
dropdownSelector: mm,
|
|
11344
11345
|
trigger: hm,
|
|
11345
11346
|
open: gm,
|
|
@@ -11351,8 +11352,8 @@ const mm = "_dropdownSelector_7vhxk_2", hm = "_trigger_7vhxk_17", gm = "_open_7v
|
|
|
11351
11352
|
bottom: xm,
|
|
11352
11353
|
left: wm,
|
|
11353
11354
|
right: Sm,
|
|
11354
|
-
"align-start": "_align-
|
|
11355
|
-
"align-end": "_align-
|
|
11355
|
+
"align-start": "_align-start_la9df_112",
|
|
11356
|
+
"align-end": "_align-end_la9df_115",
|
|
11356
11357
|
option: km,
|
|
11357
11358
|
active: Tm,
|
|
11358
11359
|
disabled: $m
|
|
@@ -11384,31 +11385,31 @@ const mm = "_dropdownSelector_7vhxk_2", hm = "_trigger_7vhxk_17", gm = "_open_7v
|
|
|
11384
11385
|
}) => {
|
|
11385
11386
|
const {
|
|
11386
11387
|
t: b
|
|
11387
|
-
} = ue(), [f,
|
|
11388
|
+
} = ue(), [f, v] = le(!1), [w, x] = le(n), E = _e(null), C = Ys(), _ = t !== void 0, S = _ ? t : w, A = e.find((R) => R.value === S);
|
|
11388
11389
|
ne(() => {
|
|
11389
11390
|
if (!f) return;
|
|
11390
11391
|
const R = (p) => {
|
|
11391
|
-
E.current && !E.current.contains(p.target) &&
|
|
11392
|
+
E.current && !E.current.contains(p.target) && v(!1);
|
|
11392
11393
|
}, I = (p) => {
|
|
11393
|
-
p.key === "Escape" &&
|
|
11394
|
+
p.key === "Escape" && v(!1);
|
|
11394
11395
|
};
|
|
11395
11396
|
return document.addEventListener("mousedown", R), document.addEventListener("keydown", I), () => {
|
|
11396
11397
|
document.removeEventListener("mousedown", R), document.removeEventListener("keydown", I);
|
|
11397
11398
|
};
|
|
11398
11399
|
}, [f]);
|
|
11399
11400
|
const $ = (R) => {
|
|
11400
|
-
R.disabled || (_ ||
|
|
11401
|
+
R.disabled || (_ || x(R.value), r == null || r(R.value, R), d && v(!1));
|
|
11401
11402
|
}, N = Object.entries(h).reduce((R, [I, p]) => (ya[I] && p && (R[ya[I]] = p), R), {});
|
|
11402
11403
|
return /* @__PURE__ */ T("div", { ref: E, className: `${nt.dropdownSelector} ${g}`, style: {
|
|
11403
11404
|
...N,
|
|
11404
11405
|
...y.container
|
|
11405
11406
|
}, children: [
|
|
11406
|
-
/* @__PURE__ */ T("button", { type: "button", className: `${nt.trigger} ${f ? nt.open : ""}`, style: y.button, onClick: () =>
|
|
11407
|
+
/* @__PURE__ */ T("button", { type: "button", className: `${nt.trigger} ${f ? nt.open : ""}`, style: y.button, onClick: () => v((R) => !R), disabled: m, "aria-haspopup": "listbox", "aria-expanded": f, "aria-controls": C, children: [
|
|
11407
11408
|
o && /* @__PURE__ */ u("span", { className: nt.icon, style: y.icon, children: /* @__PURE__ */ u("img", { src: o, alt: "" }) }),
|
|
11408
11409
|
/* @__PURE__ */ u("span", { className: nt.label, style: y.label, children: b(A ? A.label : s) }),
|
|
11409
11410
|
/* @__PURE__ */ u("span", { className: nt.arrow, style: y.arrow, children: a ? /* @__PURE__ */ u("img", { src: a, alt: "" }) : /* @__PURE__ */ u(Nm, {}) })
|
|
11410
11411
|
] }),
|
|
11411
|
-
f && /* @__PURE__ */ u("ul", { id:
|
|
11412
|
+
f && /* @__PURE__ */ u("ul", { id: C, role: "listbox", className: `${nt.menu} ${nt[l]} ${nt[`align-${c}`]}`, style: y.menu, children: e.map((R) => {
|
|
11412
11413
|
const I = R.value === S;
|
|
11413
11414
|
return /* @__PURE__ */ u("li", { role: "option", "aria-selected": I, "aria-disabled": R.disabled || void 0, className: `${nt.option} ${I ? nt.active : ""} ${R.disabled ? nt.disabled : ""}`, style: {
|
|
11414
11415
|
...y.option,
|