@tmf_ciclica/ciclicastorybook 1.2.133 → 1.2.135
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 +20 -20
- package/dist/index.es.js +716 -705
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_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_1hv16_2{width:100%;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_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{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_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{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_1l2pz_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_1l2pz_3{width:250px}}._legendContainer_1l2pz_3 ._sectionContainer_1l2pz_24:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_1l2pz_3::-webkit-scrollbar{width:8px}._legendContainer_1l2pz_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1l2pz_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1l2pz_3 ._closeButton_1l2pz_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_1l2pz_3 ._closeButton_1l2pz_43:before,._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:before{transform:rotate(45deg)}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:after{transform:rotate(-45deg)}._legendContainer_1l2pz_3 ._titleContainer_1l2pz_71{border-bottom:solid 1.5px #605b56}._legendContainer_1l2pz_3 ._titleContainer_1l2pz_71 h2{padding-bottom:16px}._legendContainer_1l2pz_3 ._infoContainer_1l2pz_77{padding-top:20px}._legendContainer_1l2pz_3 ._infoContainer_1l2pz_77 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1l2pz_3 ._titleLegendList_1l2pz_88{padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93 ._elementLegendContainer_1l2pz_99{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93 ._elementLegendContainer_1l2pz_99 ._colorDot_1l2pz_105{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111{position:relative}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111 ._absoluteValueColor_1l2pz_114{height:130px;width:22px;border-radius:20px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111 ._absoluteValueText_1l2pz_119{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_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131{position:relative;margin-top:10px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131 ._noData_1l2pz_131{height:22px;width:22px;border-radius:20px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131 ._absoluteValueText_1l2pz_119{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_1l2pz_3 ._moreInfoContainer_1l2pz_152{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_4sba4_2{padding:15px;color:#92898a}._FeaturePopUp_4sba4_2 p{margin-bottom:10px;font-weight:600}._FeaturePopUp_4sba4_2 ._title_4sba4_10{font-weight:400;margin-right:5px;color:#92898a}._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}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._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
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as T, jsx as u, Fragment as fn } from "react/jsx-runtime";
|
|
3
3
|
import * as Q from "react";
|
|
4
4
|
import ie, { useState as de, useEffect as ee, useMemo as ze, useRef as Te, useLayoutEffect as Ni, useContext as Gt, useImperativeHandle as Gn, memo as Ot, forwardRef as Hr, cloneElement as Ps } from "react";
|
|
5
5
|
import { useTranslation as le, Trans as Kr } from "react-i18next";
|
|
@@ -49,7 +49,7 @@ var lo;
|
|
|
49
49
|
function ma() {
|
|
50
50
|
if (lo) return fe;
|
|
51
51
|
lo = 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, s = e ? Symbol.for("react.profiler") : 60114, a = 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, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115,
|
|
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, s = e ? Symbol.for("react.profiler") : 60114, a = 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, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
53
53
|
function $(C) {
|
|
54
54
|
if (typeof C == "object" && C !== null) {
|
|
55
55
|
var w = C.$$typeof;
|
|
@@ -67,7 +67,7 @@ function ma() {
|
|
|
67
67
|
switch (C = C && C.$$typeof, C) {
|
|
68
68
|
case l:
|
|
69
69
|
case h:
|
|
70
|
-
case
|
|
70
|
+
case v:
|
|
71
71
|
case m:
|
|
72
72
|
case a:
|
|
73
73
|
return C;
|
|
@@ -80,12 +80,12 @@ function ma() {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function b(C) {
|
|
84
84
|
return $(C) === d;
|
|
85
85
|
}
|
|
86
|
-
return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = h, fe.Fragment = r, fe.Lazy =
|
|
87
|
-
return
|
|
88
|
-
}, fe.isConcurrentMode =
|
|
86
|
+
return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = h, fe.Fragment = r, fe.Lazy = v, fe.Memo = m, fe.Portal = n, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = g, fe.isAsyncMode = function(C) {
|
|
87
|
+
return b(C) || $(C) === c;
|
|
88
|
+
}, fe.isConcurrentMode = b, fe.isContextConsumer = function(C) {
|
|
89
89
|
return $(C) === l;
|
|
90
90
|
}, fe.isContextProvider = function(C) {
|
|
91
91
|
return $(C) === a;
|
|
@@ -96,7 +96,7 @@ function ma() {
|
|
|
96
96
|
}, fe.isFragment = function(C) {
|
|
97
97
|
return $(C) === r;
|
|
98
98
|
}, fe.isLazy = function(C) {
|
|
99
|
-
return $(C) ===
|
|
99
|
+
return $(C) === v;
|
|
100
100
|
}, fe.isMemo = function(C) {
|
|
101
101
|
return $(C) === m;
|
|
102
102
|
}, fe.isPortal = function(C) {
|
|
@@ -108,7 +108,7 @@ function ma() {
|
|
|
108
108
|
}, fe.isSuspense = function(C) {
|
|
109
109
|
return $(C) === g;
|
|
110
110
|
}, fe.isValidElementType = function(C) {
|
|
111
|
-
return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C === y || typeof C == "object" && C !== null && (C.$$typeof ===
|
|
111
|
+
return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C === y || typeof C == "object" && C !== null && (C.$$typeof === v || C.$$typeof === m || C.$$typeof === a || C.$$typeof === l || C.$$typeof === h || C.$$typeof === _ || C.$$typeof === x || C.$$typeof === S || C.$$typeof === f);
|
|
112
112
|
}, fe.typeOf = $, fe;
|
|
113
113
|
}
|
|
114
114
|
var pe = {};
|
|
@@ -123,12 +123,12 @@ var pe = {};
|
|
|
123
123
|
var co;
|
|
124
124
|
function ha() {
|
|
125
125
|
return co || (co = 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, s = e ? Symbol.for("react.profiler") : 60114, a = 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, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115,
|
|
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, s = e ? Symbol.for("react.profiler") : 60114, a = 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, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
127
127
|
function $(I) {
|
|
128
128
|
return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
129
|
-
I === r || I === d || I === s || I === o || I === g || I === y || typeof I == "object" && I !== null && (I.$$typeof ===
|
|
129
|
+
I === r || I === d || I === s || I === o || I === g || I === y || typeof I == "object" && I !== null && (I.$$typeof === v || I.$$typeof === m || I.$$typeof === a || I.$$typeof === l || I.$$typeof === h || I.$$typeof === _ || I.$$typeof === x || I.$$typeof === S || I.$$typeof === f);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function b(I) {
|
|
132
132
|
if (typeof I == "object" && I !== null) {
|
|
133
133
|
var se = I.$$typeof;
|
|
134
134
|
switch (se) {
|
|
@@ -147,7 +147,7 @@ function ha() {
|
|
|
147
147
|
switch (et) {
|
|
148
148
|
case l:
|
|
149
149
|
case h:
|
|
150
|
-
case
|
|
150
|
+
case v:
|
|
151
151
|
case m:
|
|
152
152
|
case a:
|
|
153
153
|
return et;
|
|
@@ -160,47 +160,47 @@ function ha() {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
var C = c, w = d, E = l, L = a, A = t, j = h, V = r, p =
|
|
163
|
+
var C = c, w = d, E = l, L = a, A = t, j = h, V = r, p = v, N = m, k = n, F = s, z = o, Y = g, W = !1;
|
|
164
164
|
function ce(I) {
|
|
165
|
-
return W || (W = !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.")), D(I) ||
|
|
165
|
+
return W || (W = !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.")), D(I) || b(I) === c;
|
|
166
166
|
}
|
|
167
167
|
function D(I) {
|
|
168
|
-
return
|
|
168
|
+
return b(I) === d;
|
|
169
169
|
}
|
|
170
170
|
function M(I) {
|
|
171
|
-
return
|
|
171
|
+
return b(I) === l;
|
|
172
172
|
}
|
|
173
173
|
function J(I) {
|
|
174
|
-
return
|
|
174
|
+
return b(I) === a;
|
|
175
175
|
}
|
|
176
176
|
function K(I) {
|
|
177
177
|
return typeof I == "object" && I !== null && I.$$typeof === t;
|
|
178
178
|
}
|
|
179
179
|
function P(I) {
|
|
180
|
-
return
|
|
180
|
+
return b(I) === h;
|
|
181
181
|
}
|
|
182
182
|
function Z(I) {
|
|
183
|
-
return
|
|
183
|
+
return b(I) === r;
|
|
184
184
|
}
|
|
185
185
|
function ne(I) {
|
|
186
|
-
return
|
|
186
|
+
return b(I) === v;
|
|
187
187
|
}
|
|
188
188
|
function G(I) {
|
|
189
|
-
return
|
|
189
|
+
return b(I) === m;
|
|
190
190
|
}
|
|
191
191
|
function U(I) {
|
|
192
|
-
return
|
|
192
|
+
return b(I) === n;
|
|
193
193
|
}
|
|
194
194
|
function oe(I) {
|
|
195
|
-
return
|
|
195
|
+
return b(I) === s;
|
|
196
196
|
}
|
|
197
197
|
function te(I) {
|
|
198
|
-
return
|
|
198
|
+
return b(I) === o;
|
|
199
199
|
}
|
|
200
200
|
function ue(I) {
|
|
201
|
-
return
|
|
201
|
+
return b(I) === g;
|
|
202
202
|
}
|
|
203
|
-
pe.AsyncMode = C, pe.ConcurrentMode = w, pe.ContextConsumer = E, pe.ContextProvider = L, pe.Element = A, pe.ForwardRef = j, pe.Fragment = V, pe.Lazy = p, pe.Memo = N, pe.Portal =
|
|
203
|
+
pe.AsyncMode = C, pe.ConcurrentMode = w, pe.ContextConsumer = E, pe.ContextProvider = L, pe.Element = A, pe.ForwardRef = j, pe.Fragment = V, pe.Lazy = p, pe.Memo = N, pe.Portal = k, pe.Profiler = F, pe.StrictMode = z, pe.Suspense = Y, pe.isAsyncMode = ce, pe.isConcurrentMode = D, pe.isContextConsumer = M, pe.isContextProvider = J, pe.isElement = K, pe.isForwardRef = P, pe.isFragment = Z, pe.isLazy = ne, pe.isMemo = G, pe.isPortal = U, pe.isProfiler = oe, pe.isStrictMode = te, pe.isSuspense = ue, pe.isValidElementType = $, pe.typeOf = b;
|
|
204
204
|
}()), pe;
|
|
205
205
|
}
|
|
206
206
|
var uo;
|
|
@@ -299,8 +299,8 @@ function ya() {
|
|
|
299
299
|
throw y.name = "Invariant Violation", y;
|
|
300
300
|
}
|
|
301
301
|
g = s[h](a, h, c, l, null, t);
|
|
302
|
-
} catch (
|
|
303
|
-
g =
|
|
302
|
+
} catch (v) {
|
|
303
|
+
g = v;
|
|
304
304
|
}
|
|
305
305
|
if (g && !(g instanceof Error) && e(
|
|
306
306
|
(c || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -351,9 +351,9 @@ function ba() {
|
|
|
351
351
|
object: x("object"),
|
|
352
352
|
string: x("string"),
|
|
353
353
|
symbol: x("symbol"),
|
|
354
|
-
any:
|
|
354
|
+
any: S(),
|
|
355
355
|
arrayOf: $,
|
|
356
|
-
element:
|
|
356
|
+
element: b(),
|
|
357
357
|
elementType: C(),
|
|
358
358
|
instanceOf: w,
|
|
359
359
|
node: j(),
|
|
@@ -363,7 +363,7 @@ function ba() {
|
|
|
363
363
|
shape: p,
|
|
364
364
|
exact: N
|
|
365
365
|
};
|
|
366
|
-
function
|
|
366
|
+
function v(D, M) {
|
|
367
367
|
return D === M ? D !== 0 || 1 / D === 1 / M : D !== D && M !== M;
|
|
368
368
|
}
|
|
369
369
|
function f(D, M) {
|
|
@@ -407,7 +407,7 @@ function ba() {
|
|
|
407
407
|
}
|
|
408
408
|
return _(M);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function S() {
|
|
411
411
|
return _(a);
|
|
412
412
|
}
|
|
413
413
|
function $(D) {
|
|
@@ -428,7 +428,7 @@ function ba() {
|
|
|
428
428
|
}
|
|
429
429
|
return _(M);
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function b() {
|
|
432
432
|
function D(M, J, K, P, Z) {
|
|
433
433
|
var ne = M[J];
|
|
434
434
|
if (!l(ne)) {
|
|
@@ -467,7 +467,7 @@ function ba() {
|
|
|
467
467
|
) : s("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
468
468
|
function M(J, K, P, Z, ne) {
|
|
469
469
|
for (var G = J[K], U = 0; U < D.length; U++)
|
|
470
|
-
if (
|
|
470
|
+
if (v(G, D[U]))
|
|
471
471
|
return null;
|
|
472
472
|
var oe = JSON.stringify(D, function(ue, I) {
|
|
473
473
|
var se = Y(I);
|
|
@@ -518,7 +518,7 @@ function ba() {
|
|
|
518
518
|
}
|
|
519
519
|
function j() {
|
|
520
520
|
function D(M, J, K, P, Z) {
|
|
521
|
-
return
|
|
521
|
+
return k(M[J]) ? null : new f("Invalid " + P + " `" + Z + "` supplied to " + ("`" + K + "`, expected a ReactNode."));
|
|
522
522
|
}
|
|
523
523
|
return _(D);
|
|
524
524
|
}
|
|
@@ -567,7 +567,7 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
567
567
|
}
|
|
568
568
|
return _(M);
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function k(D) {
|
|
571
571
|
switch (typeof D) {
|
|
572
572
|
case "number":
|
|
573
573
|
case "string":
|
|
@@ -577,7 +577,7 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
577
577
|
return !D;
|
|
578
578
|
case "object":
|
|
579
579
|
if (Array.isArray(D))
|
|
580
|
-
return D.every(
|
|
580
|
+
return D.every(k);
|
|
581
581
|
if (D === null || l(D))
|
|
582
582
|
return !0;
|
|
583
583
|
var M = g(D);
|
|
@@ -585,12 +585,12 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
585
585
|
var J = M.call(D), K;
|
|
586
586
|
if (M !== D.entries) {
|
|
587
587
|
for (; !(K = J.next()).done; )
|
|
588
|
-
if (!
|
|
588
|
+
if (!k(K.value))
|
|
589
589
|
return !1;
|
|
590
590
|
} else
|
|
591
591
|
for (; !(K = J.next()).done; ) {
|
|
592
592
|
var P = K.value;
|
|
593
|
-
if (P && !
|
|
593
|
+
if (P && !k(P[1]))
|
|
594
594
|
return !1;
|
|
595
595
|
}
|
|
596
596
|
} else
|
|
@@ -710,14 +710,14 @@ const i = /* @__PURE__ */ pa(_a), Vi = ({
|
|
|
710
710
|
moreInfo: c
|
|
711
711
|
}) => {
|
|
712
712
|
const { name: d, created_at: h, id: g, isBeingProcessed: y } = e;
|
|
713
|
-
return /* @__PURE__ */
|
|
713
|
+
return /* @__PURE__ */ T(
|
|
714
714
|
"div",
|
|
715
715
|
{
|
|
716
716
|
className: Jt.ambitItem,
|
|
717
717
|
style: { borderBottom: `1px solid ${l}` },
|
|
718
718
|
children: [
|
|
719
|
-
/* @__PURE__ */
|
|
720
|
-
/* @__PURE__ */
|
|
719
|
+
/* @__PURE__ */ T("div", { className: Jt.ambitNameDate, onClick: () => o(g), children: [
|
|
720
|
+
/* @__PURE__ */ T("div", { className: Jt.ambitName, children: [
|
|
721
721
|
/* @__PURE__ */ u(
|
|
722
722
|
"img",
|
|
723
723
|
{
|
|
@@ -729,7 +729,7 @@ const i = /* @__PURE__ */ pa(_a), Vi = ({
|
|
|
729
729
|
] }),
|
|
730
730
|
/* @__PURE__ */ u("div", { className: Jt.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
731
731
|
] }),
|
|
732
|
-
/* @__PURE__ */
|
|
732
|
+
/* @__PURE__ */ T("div", { className: Jt.ambitButtons, children: [
|
|
733
733
|
y && /* @__PURE__ */ u("img", { src: ua }),
|
|
734
734
|
/* @__PURE__ */ u("button", { onClick: () => r(g), disabled: e.is_default, children: /* @__PURE__ */ u("img", { src: ca }) }),
|
|
735
735
|
/* @__PURE__ */ u("button", { onClick: () => t(g), children: /* @__PURE__ */ u("img", { src: la }) }),
|
|
@@ -794,40 +794,40 @@ const vo = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
794
794
|
buttonContainerStyles: l = {},
|
|
795
795
|
containerStyles: c = {},
|
|
796
796
|
onCLickNewAmbit: d = () => console.log("New ambit clicked"),
|
|
797
|
-
onClickCopy: h = (
|
|
798
|
-
onCLickDelete: g = (
|
|
799
|
-
onClickFilters: y = (
|
|
800
|
-
onClickAmbit: m = (
|
|
797
|
+
onClickCopy: h = (v) => console.log(`Copy ambit: ${v}`),
|
|
798
|
+
onCLickDelete: g = (v) => console.log(`Delete ambit: ${v}`),
|
|
799
|
+
onClickFilters: y = (v) => console.log(`Filters clicked: ${v}`),
|
|
800
|
+
onClickAmbit: m = (v) => console.log(`OnCLickAmbit: ${v}`)
|
|
801
801
|
}) => {
|
|
802
|
-
const { t:
|
|
802
|
+
const { t: v } = le(), [f, _] = de(e);
|
|
803
803
|
ee(() => {
|
|
804
804
|
e && _(e);
|
|
805
805
|
}, [e]);
|
|
806
|
-
const x = (
|
|
806
|
+
const x = (S) => {
|
|
807
807
|
if (f && f.length > 0) {
|
|
808
808
|
let $ = [...f];
|
|
809
|
-
$.sort((
|
|
809
|
+
$.sort((b, C) => b[S].localeCompare(C[S])), _($);
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
|
-
return /* @__PURE__ */
|
|
812
|
+
return /* @__PURE__ */ T(
|
|
813
813
|
"div",
|
|
814
814
|
{
|
|
815
815
|
className: dt.ambitSelector,
|
|
816
816
|
style: { color: n, ...c },
|
|
817
817
|
children: [
|
|
818
|
-
/* @__PURE__ */
|
|
818
|
+
/* @__PURE__ */ T(
|
|
819
819
|
"div",
|
|
820
820
|
{
|
|
821
821
|
className: dt.header,
|
|
822
822
|
style: { borderBottom: `1px solid ${n}` },
|
|
823
823
|
children: [
|
|
824
|
-
/* @__PURE__ */
|
|
825
|
-
/* @__PURE__ */ u("div", { className: dt.ambitName, children: /* @__PURE__ */
|
|
826
|
-
/* @__PURE__ */ u("span", { children:
|
|
824
|
+
/* @__PURE__ */ T("div", { className: dt.nameDateContainer, children: [
|
|
825
|
+
/* @__PURE__ */ u("div", { className: dt.ambitName, children: /* @__PURE__ */ T("button", { onClick: () => x("name"), children: [
|
|
826
|
+
/* @__PURE__ */ u("span", { children: v(o) }),
|
|
827
827
|
/* @__PURE__ */ u("img", { src: vo })
|
|
828
828
|
] }) }),
|
|
829
|
-
/* @__PURE__ */ u("div", { className: dt.ambitDate, children: /* @__PURE__ */
|
|
830
|
-
/* @__PURE__ */ u("span", { children:
|
|
829
|
+
/* @__PURE__ */ u("div", { className: dt.ambitDate, children: /* @__PURE__ */ T("button", { onClick: () => x("date"), children: [
|
|
830
|
+
/* @__PURE__ */ u("span", { children: v(s) }),
|
|
831
831
|
/* @__PURE__ */ u("img", { src: vo })
|
|
832
832
|
] }) })
|
|
833
833
|
] }),
|
|
@@ -835,11 +835,11 @@ const vo = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
835
835
|
]
|
|
836
836
|
}
|
|
837
837
|
),
|
|
838
|
-
/* @__PURE__ */ u("div", { className: dt.ambitListContainer, children: f && f.length > 0 && f.map((
|
|
838
|
+
/* @__PURE__ */ u("div", { className: dt.ambitListContainer, children: f && f.length > 0 && f.map((S) => /* @__PURE__ */ u(
|
|
839
839
|
Vi,
|
|
840
840
|
{
|
|
841
|
-
isActive: t ==
|
|
842
|
-
ambit:
|
|
841
|
+
isActive: t == S.id,
|
|
842
|
+
ambit: S,
|
|
843
843
|
fontColor: n,
|
|
844
844
|
activeColor: r,
|
|
845
845
|
onClickCopy: h,
|
|
@@ -847,7 +847,7 @@ const vo = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
847
847
|
onClickFilters: y,
|
|
848
848
|
onClickAmbit: m
|
|
849
849
|
},
|
|
850
|
-
`ambitKey${
|
|
850
|
+
`ambitKey${S.id}`
|
|
851
851
|
)) }),
|
|
852
852
|
/* @__PURE__ */ u("div", { className: dt.newAmbitButtonContainer, children: /* @__PURE__ */ u(
|
|
853
853
|
Yn,
|
|
@@ -855,7 +855,7 @@ const vo = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
855
855
|
style: { ...l },
|
|
856
856
|
onClick: d,
|
|
857
857
|
borderColor: "grey",
|
|
858
|
-
children:
|
|
858
|
+
children: v(a)
|
|
859
859
|
}
|
|
860
860
|
) })
|
|
861
861
|
]
|
|
@@ -926,20 +926,20 @@ const Ia = ({
|
|
|
926
926
|
isActive: g,
|
|
927
927
|
name: y,
|
|
928
928
|
onClick: m,
|
|
929
|
-
disabled:
|
|
930
|
-
} = l, f = /* @__PURE__ */
|
|
929
|
+
disabled: v
|
|
930
|
+
} = l, f = /* @__PURE__ */ T(fn, { children: [
|
|
931
931
|
n && r === "left" && /* @__PURE__ */ u("span", { className: Ct.buttonName, children: a(y) }),
|
|
932
932
|
/* @__PURE__ */ u("img", { src: g ? h : d, alt: a(y) }),
|
|
933
933
|
n && r === "right" && /* @__PURE__ */ u("span", { className: Ct.buttonName, children: a(y) })
|
|
934
934
|
] });
|
|
935
|
-
return /* @__PURE__ */
|
|
935
|
+
return /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
936
936
|
/* @__PURE__ */ u(
|
|
937
937
|
"button",
|
|
938
938
|
{
|
|
939
939
|
onClick: m,
|
|
940
940
|
className: `${Ct.button}
|
|
941
941
|
${g && Ct.active}`,
|
|
942
|
-
disabled:
|
|
942
|
+
disabled: v,
|
|
943
943
|
children: f
|
|
944
944
|
}
|
|
945
945
|
),
|
|
@@ -987,7 +987,7 @@ const Pa = "_indicatorsCategory_11gdl_2", Va = "_title_11gdl_6", Ba = "_mainTitl
|
|
|
987
987
|
mainTitle: h = !1
|
|
988
988
|
}) => {
|
|
989
989
|
const { t: g } = le();
|
|
990
|
-
return /* @__PURE__ */
|
|
990
|
+
return /* @__PURE__ */ T(
|
|
991
991
|
Gr.div,
|
|
992
992
|
{
|
|
993
993
|
className: wn.indicatorsCategory,
|
|
@@ -1000,7 +1000,7 @@ const Pa = "_indicatorsCategory_11gdl_2", Va = "_title_11gdl_6", Ba = "_mainTitl
|
|
|
1000
1000
|
minHeight: h ? "70px" : "50px"
|
|
1001
1001
|
},
|
|
1002
1002
|
children: [
|
|
1003
|
-
/* @__PURE__ */
|
|
1003
|
+
/* @__PURE__ */ T(
|
|
1004
1004
|
"h2",
|
|
1005
1005
|
{
|
|
1006
1006
|
style: {
|
|
@@ -1046,7 +1046,7 @@ const Ap = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Fa = "data
|
|
|
1046
1046
|
const { t: l } = le(), { tematicalFiltersSelected: c, activeFiltersType: d } = ve((y) => y), h = (y) => {
|
|
1047
1047
|
ve.setState((m) => ({
|
|
1048
1048
|
tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
|
|
1049
|
-
(
|
|
1049
|
+
(v) => v.code !== y
|
|
1050
1050
|
)
|
|
1051
1051
|
}));
|
|
1052
1052
|
};
|
|
@@ -1061,7 +1061,7 @@ const Ap = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Fa = "data
|
|
|
1061
1061
|
activeColor: s,
|
|
1062
1062
|
mainTitle: !0,
|
|
1063
1063
|
color: a,
|
|
1064
|
-
children: /* @__PURE__ */ u("div", { className: Co.AppliedFiltersContainer, children: c == null ? void 0 : c.map((y, m) => /* @__PURE__ */
|
|
1064
|
+
children: /* @__PURE__ */ u("div", { className: Co.AppliedFiltersContainer, children: c == null ? void 0 : c.map((y, m) => /* @__PURE__ */ T("div", { className: Co.AppliedFilterContent, style: { color: r, background: o }, children: [
|
|
1065
1065
|
l(y.name),
|
|
1066
1066
|
/* @__PURE__ */ u("img", { src: Fa, alt: "CloseIcon", onClick: () => h(y.code), style: { cursor: "pointer" } })
|
|
1067
1067
|
] }, m)) })
|
|
@@ -1146,7 +1146,7 @@ const Ua = "_checkboxContainer_1nxra_2", Za = {
|
|
|
1146
1146
|
value: o
|
|
1147
1147
|
}) => {
|
|
1148
1148
|
const { t: s } = le(), { title: a } = r || {}, { fontColor: l, inputsColor: c } = ve((d) => d);
|
|
1149
|
-
return /* @__PURE__ */
|
|
1149
|
+
return /* @__PURE__ */ T(
|
|
1150
1150
|
"div",
|
|
1151
1151
|
{
|
|
1152
1152
|
style: { ...t, color: n },
|
|
@@ -1415,14 +1415,14 @@ let Vr = function(e) {
|
|
|
1415
1415
|
r > y - g && (r = y - g);
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(y, m,
|
|
1418
|
+
o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(y, m, v, f) {
|
|
1419
1419
|
for (let _ = 0; _ < y; _ += 1) {
|
|
1420
|
-
const x = f - _ *
|
|
1420
|
+
const x = f - _ * v;
|
|
1421
1421
|
m[y - 1 - _] > x && (m[y - 1 - _] = x);
|
|
1422
1422
|
}
|
|
1423
|
-
}(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(y, m,
|
|
1423
|
+
}(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(y, m, v, f) {
|
|
1424
1424
|
for (let _ = 0; _ < y; _ += 1) {
|
|
1425
|
-
const x = f + _ *
|
|
1425
|
+
const x = f + _ * v;
|
|
1426
1426
|
m[_] < x && (m[_] = x);
|
|
1427
1427
|
}
|
|
1428
1428
|
}(a, o, g, h))), this.setState({ value: o }, this.fireChangeEvent.bind(this, "onChange"));
|
|
@@ -1499,12 +1499,12 @@ const Ka = "_container_4u41i_2", Ga = "_unitLabel_4u41i_8", Ya = "_slider_4u41i_
|
|
|
1499
1499
|
defaultValue: l,
|
|
1500
1500
|
isDate: c
|
|
1501
1501
|
}) => {
|
|
1502
|
-
const { t: d } = le(), h = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [y, m] = de(c ? [h, g] : [e, t]),
|
|
1502
|
+
const { t: d } = le(), h = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [y, m] = de(c ? [h, g] : [e, t]), v = (f) => {
|
|
1503
1503
|
m(f), r == null || r({ min: f[0], max: f[1] });
|
|
1504
1504
|
};
|
|
1505
1505
|
return ee(() => {
|
|
1506
1506
|
l || m(c ? [h, g] : [e, t]);
|
|
1507
|
-
}, [l, c]), /* @__PURE__ */
|
|
1507
|
+
}, [l, c]), /* @__PURE__ */ T(
|
|
1508
1508
|
"div",
|
|
1509
1509
|
{
|
|
1510
1510
|
className: Rt.container,
|
|
@@ -1521,13 +1521,13 @@ const Ka = "_container_4u41i_2", Ga = "_unitLabel_4u41i_8", Ya = "_slider_4u41i_
|
|
|
1521
1521
|
max: c ? g : t,
|
|
1522
1522
|
step: c ? (g - h) / 30 : n,
|
|
1523
1523
|
value: y,
|
|
1524
|
-
onAfterChange:
|
|
1524
|
+
onAfterChange: v,
|
|
1525
1525
|
withTracks: !0,
|
|
1526
1526
|
pearling: !c,
|
|
1527
1527
|
minDistance: c ? 0 : 0.1
|
|
1528
1528
|
}
|
|
1529
1529
|
),
|
|
1530
|
-
/* @__PURE__ */
|
|
1530
|
+
/* @__PURE__ */ T("div", { className: Rt.labels, children: [
|
|
1531
1531
|
/* @__PURE__ */ u("span", { children: c ? new Date(y[0]).toLocaleDateString("en-EN", {
|
|
1532
1532
|
day: "2-digit",
|
|
1533
1533
|
month: "short",
|
|
@@ -1578,21 +1578,21 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1578
1578
|
} = e || {}, m = ze(
|
|
1579
1579
|
() => o == "cat" || n == "cat",
|
|
1580
1580
|
[n, o]
|
|
1581
|
-
),
|
|
1581
|
+
), v = ze(
|
|
1582
1582
|
() => o == "abs" || n == "abs",
|
|
1583
1583
|
[n, o]
|
|
1584
1584
|
), {
|
|
1585
1585
|
tematicalFiltersSelected: f,
|
|
1586
1586
|
selectedIndicator: _,
|
|
1587
1587
|
fontColor: x,
|
|
1588
|
-
inputsColor:
|
|
1588
|
+
inputsColor: S
|
|
1589
1589
|
} = ve((C) => C), $ = (C) => {
|
|
1590
1590
|
if (C) {
|
|
1591
|
-
const { min: w, max: E, valueClicked: L, allValues: A } = C || {}, { code: j, type: V, source: p } = e || {}, N =
|
|
1592
|
-
let
|
|
1593
|
-
V == "both" && (
|
|
1591
|
+
const { min: w, max: E, valueClicked: L, allValues: A } = C || {}, { code: j, type: V, source: p } = e || {}, N = v ? "abs" : m ? "cat" : "both";
|
|
1592
|
+
let k = j[0];
|
|
1593
|
+
V == "both" && (k = N == "cat" ? j[1] : j[0]), N == "cat" ? ve.setState((F) => {
|
|
1594
1594
|
let z = F.tematicalFiltersSelected.find(
|
|
1595
|
-
(Y) => Y.code ===
|
|
1595
|
+
(Y) => Y.code === k
|
|
1596
1596
|
);
|
|
1597
1597
|
if (z) {
|
|
1598
1598
|
let Y = [z.values];
|
|
@@ -1600,11 +1600,11 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1600
1600
|
(W) => W !== L
|
|
1601
1601
|
) : Y = [...z.values, L], Y.length == A.length ? {
|
|
1602
1602
|
tematicalFiltersSelected: F.tematicalFiltersSelected.filter(
|
|
1603
|
-
(W) => W.code !==
|
|
1603
|
+
(W) => W.code !== k
|
|
1604
1604
|
)
|
|
1605
1605
|
} : {
|
|
1606
1606
|
tematicalFiltersSelected: F.tematicalFiltersSelected.map(
|
|
1607
|
-
(W) => W.code ===
|
|
1607
|
+
(W) => W.code === k ? { ...W, values: Y } : W
|
|
1608
1608
|
)
|
|
1609
1609
|
};
|
|
1610
1610
|
} else {
|
|
@@ -1614,7 +1614,7 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1614
1614
|
...f,
|
|
1615
1615
|
{
|
|
1616
1616
|
type: "cat",
|
|
1617
|
-
code:
|
|
1617
|
+
code: k,
|
|
1618
1618
|
values: Y.filter((W) => W !== L),
|
|
1619
1619
|
name: e.name,
|
|
1620
1620
|
source: p,
|
|
@@ -1625,19 +1625,19 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1625
1625
|
}
|
|
1626
1626
|
}) : N == "abs" && ve.setState((F) => {
|
|
1627
1627
|
let z = F.tematicalFiltersSelected.find(
|
|
1628
|
-
(Y) => Y.code ===
|
|
1628
|
+
(Y) => Y.code === k
|
|
1629
1629
|
);
|
|
1630
1630
|
if (w == e.minValue && E == e.maxValue)
|
|
1631
1631
|
return {
|
|
1632
1632
|
tematicalFiltersSelected: F.tematicalFiltersSelected.filter(
|
|
1633
|
-
(Y) => Y.code !==
|
|
1633
|
+
(Y) => Y.code !== k
|
|
1634
1634
|
)
|
|
1635
1635
|
};
|
|
1636
1636
|
if (z) {
|
|
1637
1637
|
let Y = { ...z, min: w, max: E, type: N, isDate: y };
|
|
1638
1638
|
return {
|
|
1639
1639
|
tematicalFiltersSelected: F.tematicalFiltersSelected.map(
|
|
1640
|
-
(W) => W.code ===
|
|
1640
|
+
(W) => W.code === k ? Y : W
|
|
1641
1641
|
)
|
|
1642
1642
|
};
|
|
1643
1643
|
} else
|
|
@@ -1646,7 +1646,7 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1646
1646
|
...f,
|
|
1647
1647
|
{
|
|
1648
1648
|
type: N,
|
|
1649
|
-
code:
|
|
1649
|
+
code: k,
|
|
1650
1650
|
min: w,
|
|
1651
1651
|
max: E,
|
|
1652
1652
|
name: e.name,
|
|
@@ -1656,14 +1656,14 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1656
1656
|
};
|
|
1657
1657
|
});
|
|
1658
1658
|
}
|
|
1659
|
-
},
|
|
1659
|
+
}, b = ze(() => {
|
|
1660
1660
|
const C = {};
|
|
1661
1661
|
if ((f == null ? void 0 : f.length) > 0)
|
|
1662
1662
|
for (const w of f)
|
|
1663
1663
|
w.type === "cat" ? C[w.code] = new Set(w.values) : C[w.code] = [w.min, w.max];
|
|
1664
1664
|
return C;
|
|
1665
1665
|
}, [f]);
|
|
1666
|
-
return /* @__PURE__ */ u("div", { className: Tn.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
1666
|
+
return /* @__PURE__ */ u("div", { className: Tn.tematicalFiltersInputContainer, children: /* @__PURE__ */ T(
|
|
1667
1667
|
At,
|
|
1668
1668
|
{
|
|
1669
1669
|
titleFontStyles: {
|
|
@@ -1685,13 +1685,13 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1685
1685
|
color: x,
|
|
1686
1686
|
activeColor: t,
|
|
1687
1687
|
children: [
|
|
1688
|
-
o == "both" && /* @__PURE__ */
|
|
1688
|
+
o == "both" && /* @__PURE__ */ T(
|
|
1689
1689
|
"div",
|
|
1690
1690
|
{
|
|
1691
1691
|
className: Tn.inputTypeContainer,
|
|
1692
1692
|
style: { color: x },
|
|
1693
1693
|
children: [
|
|
1694
|
-
/* @__PURE__ */
|
|
1694
|
+
/* @__PURE__ */ T("label", { children: [
|
|
1695
1695
|
/* @__PURE__ */ u(
|
|
1696
1696
|
"input",
|
|
1697
1697
|
{
|
|
@@ -1703,14 +1703,14 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1703
1703
|
},
|
|
1704
1704
|
style: {
|
|
1705
1705
|
marginRight: 4,
|
|
1706
|
-
backgroundColor: n == "abs" ?
|
|
1707
|
-
border: `1.5px solid ${n == "abs" ?
|
|
1706
|
+
backgroundColor: n == "abs" ? S : "white",
|
|
1707
|
+
border: `1.5px solid ${n == "abs" ? S : x}`
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
),
|
|
1711
1711
|
"Absoluto"
|
|
1712
1712
|
] }),
|
|
1713
|
-
/* @__PURE__ */
|
|
1713
|
+
/* @__PURE__ */ T("label", { children: [
|
|
1714
1714
|
/* @__PURE__ */ u(
|
|
1715
1715
|
"input",
|
|
1716
1716
|
{
|
|
@@ -1722,8 +1722,8 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1722
1722
|
},
|
|
1723
1723
|
style: {
|
|
1724
1724
|
marginRight: 4,
|
|
1725
|
-
backgroundColor: n == "cat" ?
|
|
1726
|
-
border: `1.5px solid ${n == "cat" ?
|
|
1725
|
+
backgroundColor: n == "cat" ? S : "white",
|
|
1726
|
+
border: `1.5px solid ${n == "cat" ? S : x}`
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
1729
1729
|
),
|
|
@@ -1739,19 +1739,19 @@ const el = "_tematicalFiltersInputContainer_1vm1r_2", tl = "_inputTypeContainer_
|
|
|
1739
1739
|
{
|
|
1740
1740
|
onClick: () => $({ valueClicked: w, allValues: a }),
|
|
1741
1741
|
indicator: C,
|
|
1742
|
-
value: ((E =
|
|
1742
|
+
value: ((E = b[e.code[o == "both" ? 1 : 0]]) == null ? void 0 : E.has(w)) || !b[e.code[o == "both" ? 1 : 0]]
|
|
1743
1743
|
},
|
|
1744
1744
|
`checkbox-${w}`
|
|
1745
1745
|
);
|
|
1746
1746
|
}) }),
|
|
1747
|
-
(
|
|
1747
|
+
(v || o == "glb") && /* @__PURE__ */ u("div", { className: Tn.absoluteSliderContainer, children: /* @__PURE__ */ u(
|
|
1748
1748
|
ji,
|
|
1749
1749
|
{
|
|
1750
1750
|
onChange: $,
|
|
1751
1751
|
min: l,
|
|
1752
1752
|
max: c,
|
|
1753
1753
|
unit: d,
|
|
1754
|
-
defaultValue:
|
|
1754
|
+
defaultValue: b[e.code[0]] ? b[e.code[0]] : "",
|
|
1755
1755
|
isDate: y,
|
|
1756
1756
|
step: h
|
|
1757
1757
|
}
|
|
@@ -1947,14 +1947,14 @@ const ol = "_FiltersAmbitContainer_1hv16_2", il = "_FiltersContainer_1hv16_15",
|
|
|
1947
1947
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1948
1948
|
nameRequiredText: y,
|
|
1949
1949
|
geoLayers: m = [],
|
|
1950
|
-
onGeoLayersChange:
|
|
1950
|
+
onGeoLayersChange: v,
|
|
1951
1951
|
onlyFilters: f = !1,
|
|
1952
1952
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1953
1953
|
descriptionRequired: _ = !1,
|
|
1954
1954
|
//campo descripción required
|
|
1955
1955
|
extraLists: x = !1
|
|
1956
1956
|
}) => {
|
|
1957
|
-
const { t:
|
|
1957
|
+
const { t: S } = le(), { tematicalFiltersSelected: $, activeFiltersType: b } = ve(
|
|
1958
1958
|
(p) => p
|
|
1959
1959
|
), [C, w] = de(e || null), [E, L] = de(t || null), [A, j] = de(!1);
|
|
1960
1960
|
ee(() => {
|
|
@@ -1968,16 +1968,16 @@ const ol = "_FiltersAmbitContainer_1hv16_2", il = "_FiltersContainer_1hv16_15",
|
|
|
1968
1968
|
_ ? C && E ? c({ name: C, description: E }) : j(!0) : C ? c({ name: C, description: E }) : j(!0);
|
|
1969
1969
|
};
|
|
1970
1970
|
return ee(() => {
|
|
1971
|
-
if (g.includes("geographical") &&
|
|
1971
|
+
if (g.includes("geographical") && b != "geographical" && m.length > 0) {
|
|
1972
1972
|
const p = m.map((N) => ({
|
|
1973
1973
|
...N,
|
|
1974
1974
|
active: !1
|
|
1975
1975
|
}));
|
|
1976
|
-
|
|
1976
|
+
v == null || v(p);
|
|
1977
1977
|
}
|
|
1978
|
-
}, [
|
|
1979
|
-
/* @__PURE__ */
|
|
1980
|
-
!f && /* @__PURE__ */
|
|
1978
|
+
}, [b]), /* @__PURE__ */ T("div", { className: ft.FiltersAmbitContainer, children: [
|
|
1979
|
+
/* @__PURE__ */ T("div", { className: ft.FiltersContainer, children: [
|
|
1980
|
+
!f && /* @__PURE__ */ T("div", { className: ft.FiltersAmbitHeader, children: [
|
|
1981
1981
|
/* @__PURE__ */ u("div", { className: ft.FiltersAmbitTitle, children: /* @__PURE__ */ u(
|
|
1982
1982
|
"input",
|
|
1983
1983
|
{
|
|
@@ -1986,7 +1986,7 @@ const ol = "_FiltersAmbitContainer_1hv16_2", il = "_FiltersContainer_1hv16_15",
|
|
|
1986
1986
|
j(!1), w(p.target.value);
|
|
1987
1987
|
},
|
|
1988
1988
|
value: C,
|
|
1989
|
-
placeholder:
|
|
1989
|
+
placeholder: S(d)
|
|
1990
1990
|
}
|
|
1991
1991
|
) }),
|
|
1992
1992
|
/* @__PURE__ */ u("div", { className: ft.FiltersAmbitDescription, children: /* @__PURE__ */ u("div", { className: ft.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ u(
|
|
@@ -1996,15 +1996,15 @@ const ol = "_FiltersAmbitContainer_1hv16_2", il = "_FiltersContainer_1hv16_15",
|
|
|
1996
1996
|
onChange: (p) => {
|
|
1997
1997
|
_ && j(!1), L(p.target.value);
|
|
1998
1998
|
},
|
|
1999
|
-
placeholder:
|
|
1999
|
+
placeholder: S(h)
|
|
2000
2000
|
}
|
|
2001
2001
|
) }) })
|
|
2002
2002
|
] }),
|
|
2003
2003
|
/* @__PURE__ */ u(
|
|
2004
2004
|
Bi,
|
|
2005
2005
|
{
|
|
2006
|
-
title:
|
|
2007
|
-
isOpen:
|
|
2006
|
+
title: S("applied_filters"),
|
|
2007
|
+
isOpen: b == "applied",
|
|
2008
2008
|
textColor: s || "#fff",
|
|
2009
2009
|
backgroundColor: a || "#605B5680",
|
|
2010
2010
|
activeColor: o
|
|
@@ -2016,7 +2016,7 @@ const ol = "_FiltersAmbitContainer_1hv16_2", il = "_FiltersContainer_1hv16_15",
|
|
|
2016
2016
|
title: "geo_filters",
|
|
2017
2017
|
activeColor: o,
|
|
2018
2018
|
geoLayers: m,
|
|
2019
|
-
onGeoLayersChange:
|
|
2019
|
+
onGeoLayersChange: v
|
|
2020
2020
|
}
|
|
2021
2021
|
),
|
|
2022
2022
|
g.includes("extra") && x.map((p) => /* @__PURE__ */ u(
|
|
@@ -2042,9 +2042,9 @@ const ol = "_FiltersAmbitContainer_1hv16_2", il = "_FiltersContainer_1hv16_15",
|
|
|
2042
2042
|
}
|
|
2043
2043
|
)
|
|
2044
2044
|
] }),
|
|
2045
|
-
!f && /* @__PURE__ */
|
|
2046
|
-
A && /* @__PURE__ */ u("div", { className: ft.warning, children:
|
|
2047
|
-
/* @__PURE__ */ u(Yn, { onClick: () => V(), children:
|
|
2045
|
+
!f && /* @__PURE__ */ T("div", { className: ft.buttonContainer, children: [
|
|
2046
|
+
A && /* @__PURE__ */ u("div", { className: ft.warning, children: S(y) }),
|
|
2047
|
+
/* @__PURE__ */ u(Yn, { onClick: () => V(), children: S("save_ambit") })
|
|
2048
2048
|
] })
|
|
2049
2049
|
] });
|
|
2050
2050
|
};
|
|
@@ -2089,13 +2089,13 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2089
2089
|
mainColor: m = "#000"
|
|
2090
2090
|
}) => {
|
|
2091
2091
|
const {
|
|
2092
|
-
xScale:
|
|
2092
|
+
xScale: v,
|
|
2093
2093
|
yScale: f,
|
|
2094
2094
|
ticks: _,
|
|
2095
2095
|
height: x,
|
|
2096
|
-
chartWidth:
|
|
2096
|
+
chartWidth: S,
|
|
2097
2097
|
svgWidth: $,
|
|
2098
|
-
svgHeight:
|
|
2098
|
+
svgHeight: b,
|
|
2099
2099
|
contentWidth: C
|
|
2100
2100
|
} = ze(() => {
|
|
2101
2101
|
if (e && e.length > 0) {
|
|
@@ -2103,7 +2103,7 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2103
2103
|
if (l === "vertical") {
|
|
2104
2104
|
const L = e.length * (t + n) + c * 2, A = Math.max(L, g || 0), j = y, p = mr.scaleLinear().domain([0, E]).range([j - 100, d]), N = Array.from(
|
|
2105
2105
|
{ length: s + 1 },
|
|
2106
|
-
(
|
|
2106
|
+
(k, F) => E / s * F
|
|
2107
2107
|
);
|
|
2108
2108
|
return {
|
|
2109
2109
|
yScale: p,
|
|
@@ -2119,7 +2119,7 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2119
2119
|
console.log("barsHeight: ", L);
|
|
2120
2120
|
const A = L + d * 2 + h + 30, j = g + o + c * 2, V = mr.scaleLinear().domain([0, E]).range([0, g - c * 2]), p = Array.from(
|
|
2121
2121
|
{ length: s + 1 },
|
|
2122
|
-
(N,
|
|
2122
|
+
(N, k) => E / s * k
|
|
2123
2123
|
);
|
|
2124
2124
|
return {
|
|
2125
2125
|
xScale: V,
|
|
@@ -2166,23 +2166,23 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2166
2166
|
"svg",
|
|
2167
2167
|
{
|
|
2168
2168
|
width: $,
|
|
2169
|
-
height:
|
|
2169
|
+
height: b,
|
|
2170
2170
|
style: {
|
|
2171
2171
|
display: "block",
|
|
2172
2172
|
width: $,
|
|
2173
|
-
height:
|
|
2173
|
+
height: b,
|
|
2174
2174
|
maxWidth: "none",
|
|
2175
2175
|
"--main-color": m
|
|
2176
2176
|
},
|
|
2177
|
-
children: /* @__PURE__ */
|
|
2177
|
+
children: /* @__PURE__ */ T("g", { transform: `translate(${c}, 0)`, children: [
|
|
2178
2178
|
/* @__PURE__ */ u("g", { children: _.map((w, E) => {
|
|
2179
2179
|
const L = f(w);
|
|
2180
|
-
return /* @__PURE__ */
|
|
2180
|
+
return /* @__PURE__ */ T("g", { children: [
|
|
2181
2181
|
/* @__PURE__ */ u(
|
|
2182
2182
|
"line",
|
|
2183
2183
|
{
|
|
2184
2184
|
x1: 0,
|
|
2185
|
-
x2:
|
|
2185
|
+
x2: S - c * 2,
|
|
2186
2186
|
y1: L,
|
|
2187
2187
|
y2: L,
|
|
2188
2188
|
stroke: "#ccc"
|
|
@@ -2203,7 +2203,7 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2203
2203
|
}) }),
|
|
2204
2204
|
e && e.length > 0 && e.map((w, E) => {
|
|
2205
2205
|
const L = f(0) - f(w.value), A = E * (t + n), j = f(w.value);
|
|
2206
|
-
return /* @__PURE__ */
|
|
2206
|
+
return /* @__PURE__ */ T("g", { children: [
|
|
2207
2207
|
/* @__PURE__ */ u(
|
|
2208
2208
|
"rect",
|
|
2209
2209
|
{
|
|
@@ -2233,7 +2233,7 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2233
2233
|
}
|
|
2234
2234
|
)
|
|
2235
2235
|
}
|
|
2236
|
-
) : (console.log("svgHeight: ",
|
|
2236
|
+
) : (console.log("svgHeight: ", b), /* @__PURE__ */ u(
|
|
2237
2237
|
"div",
|
|
2238
2238
|
{
|
|
2239
2239
|
style: {
|
|
@@ -2247,17 +2247,17 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2247
2247
|
"svg",
|
|
2248
2248
|
{
|
|
2249
2249
|
width: $,
|
|
2250
|
-
height:
|
|
2250
|
+
height: b,
|
|
2251
2251
|
style: {
|
|
2252
2252
|
minWidth: "100%",
|
|
2253
|
-
height:
|
|
2253
|
+
height: b,
|
|
2254
2254
|
width: C,
|
|
2255
2255
|
maxWidth: "none"
|
|
2256
2256
|
},
|
|
2257
|
-
children: /* @__PURE__ */
|
|
2257
|
+
children: /* @__PURE__ */ T("g", { transform: `translate(0,${d})`, children: [
|
|
2258
2258
|
/* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: _.map((w, E) => {
|
|
2259
|
-
const L =
|
|
2260
|
-
return /* @__PURE__ */
|
|
2259
|
+
const L = v(w);
|
|
2260
|
+
return /* @__PURE__ */ T("g", { transform: `translate(${L}, 0)`, children: [
|
|
2261
2261
|
/* @__PURE__ */ u(
|
|
2262
2262
|
"line",
|
|
2263
2263
|
{
|
|
@@ -2279,8 +2279,8 @@ const pl = "_barChartContainer_1ly7h_2", xo = {
|
|
|
2279
2279
|
] }, E);
|
|
2280
2280
|
}) }),
|
|
2281
2281
|
e && e.length > 0 && e.map((w, E) => {
|
|
2282
|
-
const L =
|
|
2283
|
-
return console.log("y: ", A), /* @__PURE__ */
|
|
2282
|
+
const L = v(w.value), A = E * (t + n);
|
|
2283
|
+
return console.log("y: ", A), /* @__PURE__ */ T(
|
|
2284
2284
|
"g",
|
|
2285
2285
|
{
|
|
2286
2286
|
transform: `translate(${o + c}, ${A})`,
|
|
@@ -2357,7 +2357,7 @@ const ml = "_graphicContainer_1ozwp_2", hl = "_titleContainer_1ozwp_13", wo = {
|
|
|
2357
2357
|
mainColor: g
|
|
2358
2358
|
}) => {
|
|
2359
2359
|
const { t: y } = le();
|
|
2360
|
-
return /* @__PURE__ */
|
|
2360
|
+
return /* @__PURE__ */ T(
|
|
2361
2361
|
"div",
|
|
2362
2362
|
{
|
|
2363
2363
|
className: wo.graphicContainer,
|
|
@@ -2430,16 +2430,16 @@ const yl = "_indicatorsCategory_arwy3_2", bl = "_title_arwy3_5", vl = "_list_arw
|
|
|
2430
2430
|
multiple: l = !1,
|
|
2431
2431
|
onChangeType: c
|
|
2432
2432
|
}) => {
|
|
2433
|
-
const { t: d } = le(), { name: h, type: g, disabled: y } = e, [m,
|
|
2433
|
+
const { t: d } = le(), { name: h, type: g, disabled: y } = e, [m, v] = de(!1);
|
|
2434
2434
|
ee(() => {
|
|
2435
|
-
o &&
|
|
2435
|
+
o && v(
|
|
2436
2436
|
l ? o.some(
|
|
2437
2437
|
(x) => x.name == String(h)
|
|
2438
2438
|
) : o.name == h
|
|
2439
2439
|
);
|
|
2440
2440
|
}, [o]);
|
|
2441
|
-
const f = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */
|
|
2442
|
-
/* @__PURE__ */
|
|
2441
|
+
const f = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */ T("div", { className: Re.switchTypeOptions, children: [
|
|
2442
|
+
/* @__PURE__ */ T(
|
|
2443
2443
|
"div",
|
|
2444
2444
|
{
|
|
2445
2445
|
className: Re.optionContainer,
|
|
@@ -2468,7 +2468,7 @@ const yl = "_indicatorsCategory_arwy3_2", bl = "_title_arwy3_5", vl = "_list_arw
|
|
|
2468
2468
|
]
|
|
2469
2469
|
}
|
|
2470
2470
|
),
|
|
2471
|
-
/* @__PURE__ */
|
|
2471
|
+
/* @__PURE__ */ T(
|
|
2472
2472
|
"div",
|
|
2473
2473
|
{
|
|
2474
2474
|
className: Re.optionContainer,
|
|
@@ -2497,7 +2497,7 @@ const yl = "_indicatorsCategory_arwy3_2", bl = "_title_arwy3_5", vl = "_list_arw
|
|
|
2497
2497
|
]
|
|
2498
2498
|
}
|
|
2499
2499
|
)
|
|
2500
|
-
] }) }) }), _ = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */ u("div", { className: Re.switchTypeOptions, children: t.map((x,
|
|
2500
|
+
] }) }) }), _ = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */ u("div", { className: Re.switchTypeOptions, children: t.map((x, S) => /* @__PURE__ */ T(
|
|
2501
2501
|
"div",
|
|
2502
2502
|
{
|
|
2503
2503
|
className: Re.optionContainer,
|
|
@@ -2511,10 +2511,10 @@ const yl = "_indicatorsCategory_arwy3_2", bl = "_title_arwy3_5", vl = "_list_arw
|
|
|
2511
2511
|
/* @__PURE__ */ u("h4", { children: d(x.unit) })
|
|
2512
2512
|
]
|
|
2513
2513
|
},
|
|
2514
|
-
|
|
2514
|
+
S
|
|
2515
2515
|
)) }) }) });
|
|
2516
|
-
return /* @__PURE__ */
|
|
2517
|
-
/* @__PURE__ */
|
|
2516
|
+
return /* @__PURE__ */ T("div", { className: Re.indicatorContainer, children: [
|
|
2517
|
+
/* @__PURE__ */ T(
|
|
2518
2518
|
"div",
|
|
2519
2519
|
{
|
|
2520
2520
|
className: Re.indicatorNameContainer,
|
|
@@ -2586,10 +2586,10 @@ const Ll = "_indicatorsSubCategory_1nuug_2", Ml = "_list_1nuug_11", So = {
|
|
|
2586
2586
|
activeIndicatorType: h,
|
|
2587
2587
|
onChangeType: g
|
|
2588
2588
|
}) => {
|
|
2589
|
-
const { t: y } = le(), [m,
|
|
2589
|
+
const { t: y } = le(), [m, v] = de(!1);
|
|
2590
2590
|
return ee(() => {
|
|
2591
|
-
|
|
2592
|
-
}, [o, a]), /* @__PURE__ */
|
|
2591
|
+
v(o == a);
|
|
2592
|
+
}, [o, a]), /* @__PURE__ */ T(
|
|
2593
2593
|
Gr.div,
|
|
2594
2594
|
{
|
|
2595
2595
|
className: So.indicatorsSubCategory,
|
|
@@ -2597,7 +2597,7 @@ const Ll = "_indicatorsSubCategory_1nuug_2", Ml = "_list_1nuug_11", So = {
|
|
|
2597
2597
|
animate: { height: m ? "auto" : "43px" },
|
|
2598
2598
|
transition: { duration: 0.4 },
|
|
2599
2599
|
children: [
|
|
2600
|
-
/* @__PURE__ */ u("button", { onClick: () => s(a), children: /* @__PURE__ */
|
|
2600
|
+
/* @__PURE__ */ u("button", { onClick: () => s(a), children: /* @__PURE__ */ T("h3", { style: { color: m ? r : n }, children: [
|
|
2601
2601
|
/* @__PURE__ */ u("span", { style: { color: m ? r : n }, children: m ? "-" : "+" }),
|
|
2602
2602
|
/* @__PURE__ */ u(
|
|
2603
2603
|
"span",
|
|
@@ -2653,37 +2653,37 @@ const Hi = ({
|
|
|
2653
2653
|
onChangeType: y
|
|
2654
2654
|
}) => {
|
|
2655
2655
|
var _;
|
|
2656
|
-
const { t: m } = le(), [
|
|
2656
|
+
const { t: m } = le(), [v, f] = de(!1);
|
|
2657
2657
|
return ee(() => {
|
|
2658
2658
|
f(s === t);
|
|
2659
|
-
}, [s, t]), /* @__PURE__ */
|
|
2659
|
+
}, [s, t]), /* @__PURE__ */ T(
|
|
2660
2660
|
Gr.div,
|
|
2661
2661
|
{
|
|
2662
2662
|
className: $n.indicatorsCategory,
|
|
2663
2663
|
initial: { height: "53px" },
|
|
2664
|
-
animate: { height:
|
|
2664
|
+
animate: { height: v ? "auto" : "53px" },
|
|
2665
2665
|
transition: { duration: 0.4 },
|
|
2666
2666
|
style: {
|
|
2667
2667
|
backgroundColor: "white",
|
|
2668
|
-
borderBottom:
|
|
2669
|
-
marginBottom:
|
|
2668
|
+
borderBottom: v ? `1px solid ${n}` : "0px",
|
|
2669
|
+
marginBottom: v ? "20px" : "0px"
|
|
2670
2670
|
},
|
|
2671
2671
|
children: [
|
|
2672
|
-
/* @__PURE__ */
|
|
2673
|
-
/* @__PURE__ */ u("span", { className: $n.plus, style: { color:
|
|
2672
|
+
/* @__PURE__ */ T("h2", { className: `${$n.title}`, onClick: () => o(t), children: [
|
|
2673
|
+
/* @__PURE__ */ u("span", { className: $n.plus, style: { color: v ? n : r }, children: v ? "-" : "+" }),
|
|
2674
2674
|
/* @__PURE__ */ u(
|
|
2675
2675
|
"span",
|
|
2676
2676
|
{
|
|
2677
|
-
style: { color:
|
|
2677
|
+
style: { color: v ? n : r },
|
|
2678
2678
|
children: m(e.name)
|
|
2679
2679
|
}
|
|
2680
2680
|
)
|
|
2681
2681
|
] }),
|
|
2682
2682
|
e.subcategories ? e.subcategories.map(
|
|
2683
|
-
({ name: x, subcategory:
|
|
2683
|
+
({ name: x, subcategory: S, indicators: $ }, b) => /* @__PURE__ */ u(
|
|
2684
2684
|
Zi,
|
|
2685
2685
|
{
|
|
2686
|
-
id:
|
|
2686
|
+
id: S,
|
|
2687
2687
|
activeSubCategory: a,
|
|
2688
2688
|
subcName: x,
|
|
2689
2689
|
onClickSubCategory: l,
|
|
@@ -2696,9 +2696,9 @@ const Hi = ({
|
|
|
2696
2696
|
activeIndicatorType: g,
|
|
2697
2697
|
onChangeType: y
|
|
2698
2698
|
},
|
|
2699
|
-
`subcKey ${
|
|
2699
|
+
`subcKey ${b}`
|
|
2700
2700
|
)
|
|
2701
|
-
) : /* @__PURE__ */ u("div", { className: $n.list, children: (_ = e.indicators) == null ? void 0 : _.map((x,
|
|
2701
|
+
) : /* @__PURE__ */ u("div", { className: $n.list, children: (_ = e.indicators) == null ? void 0 : _.map((x, S) => /* @__PURE__ */ u(
|
|
2702
2702
|
Qr,
|
|
2703
2703
|
{
|
|
2704
2704
|
indicator: x,
|
|
@@ -2711,7 +2711,7 @@ const Hi = ({
|
|
|
2711
2711
|
activeIndicatorType: g,
|
|
2712
2712
|
onChangeType: y
|
|
2713
2713
|
},
|
|
2714
|
-
`indicator${
|
|
2714
|
+
`indicator${S}`
|
|
2715
2715
|
)) })
|
|
2716
2716
|
]
|
|
2717
2717
|
}
|
|
@@ -2748,26 +2748,26 @@ const Rl = "_indicatorsList_13b3m_2", Dl = "_title_13b3m_6", ko = {
|
|
|
2748
2748
|
changeIndType: a,
|
|
2749
2749
|
activeIndicatorType: l
|
|
2750
2750
|
}) => {
|
|
2751
|
-
const { t: c } = le(), [d, h] = de(), [g, y] = de(), [m,
|
|
2752
|
-
h(d ==
|
|
2753
|
-
}, _ = (
|
|
2754
|
-
y(g ==
|
|
2755
|
-
}, x = ({ indicator:
|
|
2756
|
-
|
|
2757
|
-
},
|
|
2751
|
+
const { t: c } = le(), [d, h] = de(), [g, y] = de(), [m, v] = de(), f = (b) => {
|
|
2752
|
+
h(d == b ? null : b);
|
|
2753
|
+
}, _ = (b) => {
|
|
2754
|
+
y(g == b ? null : b);
|
|
2755
|
+
}, x = ({ indicator: b }) => {
|
|
2756
|
+
S(b);
|
|
2757
|
+
}, S = (b) => {
|
|
2758
2758
|
if (!o)
|
|
2759
|
-
|
|
2760
|
-
(m == null ? void 0 : m.name) ==
|
|
2759
|
+
v(
|
|
2760
|
+
(m == null ? void 0 : m.name) == b.name ? null : b
|
|
2761
2761
|
);
|
|
2762
2762
|
else {
|
|
2763
2763
|
let C = m && m.length > 0 ? [...m] : [];
|
|
2764
|
-
|
|
2764
|
+
v(
|
|
2765
2765
|
C != null && C.some(
|
|
2766
|
-
(w) => w.name ==
|
|
2766
|
+
(w) => w.name == b.name
|
|
2767
2767
|
) ? C.filter(
|
|
2768
|
-
(w) => w.name != String(
|
|
2769
|
-
) : [...C,
|
|
2770
|
-
),
|
|
2768
|
+
(w) => w.name != String(b.name)
|
|
2769
|
+
) : [...C, b]
|
|
2770
|
+
), b.type == "both" && a("cat");
|
|
2771
2771
|
}
|
|
2772
2772
|
};
|
|
2773
2773
|
ee(() => {
|
|
@@ -2775,38 +2775,38 @@ const Rl = "_indicatorsList_13b3m_2", Dl = "_title_13b3m_6", ko = {
|
|
|
2775
2775
|
}, [m]), Ni(() => {
|
|
2776
2776
|
if (s && !m)
|
|
2777
2777
|
if (o && s && Array.isArray(s)) {
|
|
2778
|
-
let
|
|
2779
|
-
|
|
2778
|
+
let b = m && m.length > 0 ? [...m] : [];
|
|
2779
|
+
v([...b, ...s]), $(s[0].name);
|
|
2780
2780
|
} else
|
|
2781
|
-
|
|
2781
|
+
S(s), $(s.name);
|
|
2782
2782
|
}, []), ee(() => {
|
|
2783
2783
|
if (s != m)
|
|
2784
2784
|
if (o && s && Array.isArray(s)) {
|
|
2785
|
-
let
|
|
2786
|
-
|
|
2785
|
+
let b = m && m.length > 0 ? [...m] : [];
|
|
2786
|
+
v([...b, ...s]), $(s[0].name);
|
|
2787
2787
|
} else
|
|
2788
|
-
|
|
2788
|
+
S(s), $(s.name);
|
|
2789
2789
|
}, [s]);
|
|
2790
|
-
const $ = (
|
|
2790
|
+
const $ = (b) => {
|
|
2791
2791
|
const C = e.find((w) => {
|
|
2792
2792
|
if (w.subcategories) {
|
|
2793
2793
|
let E = w.subcategories.find(
|
|
2794
|
-
(L) => L.indicators.find((A) => A.name ==
|
|
2794
|
+
(L) => L.indicators.find((A) => A.name == b)
|
|
2795
2795
|
);
|
|
2796
2796
|
if (E)
|
|
2797
2797
|
return y(E.subcategory), E;
|
|
2798
2798
|
} else
|
|
2799
|
-
return w.indicators.some((E) => E.name ==
|
|
2799
|
+
return w.indicators.some((E) => E.name == b);
|
|
2800
2800
|
});
|
|
2801
2801
|
C && h(C.category);
|
|
2802
2802
|
};
|
|
2803
|
-
return /* @__PURE__ */
|
|
2803
|
+
return /* @__PURE__ */ T("div", { className: ko.indicatorsList, children: [
|
|
2804
2804
|
/* @__PURE__ */ u("h2", { className: ko.title, style: { color: n }, children: c("indicators.indicators") }),
|
|
2805
|
-
e.map((
|
|
2805
|
+
e.map((b, C) => /* @__PURE__ */ u(
|
|
2806
2806
|
Hi,
|
|
2807
2807
|
{
|
|
2808
|
-
id:
|
|
2809
|
-
cat:
|
|
2808
|
+
id: b.category,
|
|
2809
|
+
cat: b,
|
|
2810
2810
|
onClickCategory: f,
|
|
2811
2811
|
activeCategory: d,
|
|
2812
2812
|
onClickSubCategory: _,
|
|
@@ -2845,8 +2845,8 @@ const Pl = "_langSelector_o9enq_2", Vl = "_currentLang_o9enq_14", Bl = "_arrow_o
|
|
|
2845
2845
|
const [r, o] = de(!1), { i18n: s } = le(), a = e.find((c) => c.code == s.language), l = (c) => {
|
|
2846
2846
|
s.changeLanguage(c), o(!1);
|
|
2847
2847
|
};
|
|
2848
|
-
return /* @__PURE__ */
|
|
2849
|
-
/* @__PURE__ */
|
|
2848
|
+
return /* @__PURE__ */ T("div", { className: Dt.langSelector, children: [
|
|
2849
|
+
/* @__PURE__ */ T(
|
|
2850
2850
|
"div",
|
|
2851
2851
|
{
|
|
2852
2852
|
className: Dt.currentLang,
|
|
@@ -2918,7 +2918,7 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
2918
2918
|
onClickClose: a
|
|
2919
2919
|
}) => {
|
|
2920
2920
|
const { t: l } = le();
|
|
2921
|
-
return /* @__PURE__ */
|
|
2921
|
+
return /* @__PURE__ */ T(
|
|
2922
2922
|
"div",
|
|
2923
2923
|
{
|
|
2924
2924
|
style: e ? { ...e } : {},
|
|
@@ -2935,14 +2935,14 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
2935
2935
|
children: /* @__PURE__ */ u("h2", { children: t })
|
|
2936
2936
|
}
|
|
2937
2937
|
),
|
|
2938
|
-
n && n.length > 0 && /* @__PURE__ */ u("div", { className: Ae.infoContainer, children: /* @__PURE__ */ u("ul", { children: n.map(({ title: c, value: d }) => /* @__PURE__ */
|
|
2938
|
+
n && n.length > 0 && /* @__PURE__ */ u("div", { className: Ae.infoContainer, children: /* @__PURE__ */ u("ul", { children: n.map(({ title: c, value: d }) => /* @__PURE__ */ T("li", { children: [
|
|
2939
2939
|
/* @__PURE__ */ u("h3", { className: Ae.title, children: `${c}:` }),
|
|
2940
|
-
/* @__PURE__ */
|
|
2940
|
+
/* @__PURE__ */ T("span", { className: Ae.value, children: [
|
|
2941
2941
|
" ",
|
|
2942
2942
|
d
|
|
2943
2943
|
] })
|
|
2944
2944
|
] }, t)) }) }),
|
|
2945
|
-
r && r.length > 0 && r.map((c, d) => /* @__PURE__ */
|
|
2945
|
+
r && r.length > 0 && r.map((c, d) => /* @__PURE__ */ T("div", { children: [
|
|
2946
2946
|
/* @__PURE__ */ u(
|
|
2947
2947
|
"h3",
|
|
2948
2948
|
{
|
|
@@ -2960,8 +2960,8 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
2960
2960
|
)
|
|
2961
2961
|
}
|
|
2962
2962
|
),
|
|
2963
|
-
/* @__PURE__ */
|
|
2964
|
-
c.absolute ? /* @__PURE__ */
|
|
2963
|
+
/* @__PURE__ */ T("div", { className: Ae.legendListContainer, children: [
|
|
2964
|
+
c.absolute ? /* @__PURE__ */ T("div", { className: Ae.absoluteValueContainer, children: [
|
|
2965
2965
|
/* @__PURE__ */ u(
|
|
2966
2966
|
"div",
|
|
2967
2967
|
{
|
|
@@ -2971,20 +2971,20 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
2971
2971
|
}
|
|
2972
2972
|
}
|
|
2973
2973
|
),
|
|
2974
|
-
/* @__PURE__ */
|
|
2975
|
-
/* @__PURE__ */
|
|
2974
|
+
/* @__PURE__ */ T("div", { className: Ae.absoluteValueText, children: [
|
|
2975
|
+
/* @__PURE__ */ T("span", { children: [
|
|
2976
2976
|
c.absolute.maxValue,
|
|
2977
2977
|
" ",
|
|
2978
2978
|
l(c.absolute.unit),
|
|
2979
2979
|
" ",
|
|
2980
2980
|
c.absolute.offlimits && l(c.moreText)
|
|
2981
2981
|
] }),
|
|
2982
|
-
c.absolute.midValue && /* @__PURE__ */
|
|
2982
|
+
c.absolute.midValue && /* @__PURE__ */ T("span", { children: [
|
|
2983
2983
|
c.absolute.midValue,
|
|
2984
2984
|
" ",
|
|
2985
2985
|
l(c.absolute.unit)
|
|
2986
2986
|
] }),
|
|
2987
|
-
/* @__PURE__ */
|
|
2987
|
+
/* @__PURE__ */ T("span", { children: [
|
|
2988
2988
|
c.absolute.minValue,
|
|
2989
2989
|
" ",
|
|
2990
2990
|
l(c.absolute.unit),
|
|
@@ -2993,7 +2993,7 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
2993
2993
|
] })
|
|
2994
2994
|
] })
|
|
2995
2995
|
] }) : c.categories && c.categories.length > 0 && /* @__PURE__ */ u("div", { className: Ae.gridContainer, children: c.categories.map(
|
|
2996
|
-
({ title: h, color: g }, y) => /* @__PURE__ */
|
|
2996
|
+
({ title: h, color: g }, y) => /* @__PURE__ */ T(
|
|
2997
2997
|
"div",
|
|
2998
2998
|
{
|
|
2999
2999
|
className: Ae.elementLegendContainer,
|
|
@@ -3005,7 +3005,7 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
3005
3005
|
style: { backgroundColor: g }
|
|
3006
3006
|
}
|
|
3007
3007
|
),
|
|
3008
|
-
/* @__PURE__ */
|
|
3008
|
+
/* @__PURE__ */ T("div", { className: Ae.titleLegendElement, children: [
|
|
3009
3009
|
l(h),
|
|
3010
3010
|
" "
|
|
3011
3011
|
] })
|
|
@@ -3014,7 +3014,7 @@ const ql = "_legendContainer_1l2pz_3", Wl = "_closeButton_1l2pz_43", Ul = "_titl
|
|
|
3014
3014
|
y
|
|
3015
3015
|
)
|
|
3016
3016
|
) }),
|
|
3017
|
-
c.absolute && c.absolute.noDataColor && /* @__PURE__ */
|
|
3017
|
+
c.absolute && c.absolute.noDataColor && /* @__PURE__ */ T("div", { className: Ae.noDataContainer, children: [
|
|
3018
3018
|
/* @__PURE__ */ u(
|
|
3019
3019
|
"div",
|
|
3020
3020
|
{
|
|
@@ -3590,16 +3590,16 @@ function Cc(e, t, n) {
|
|
|
3590
3590
|
return;
|
|
3591
3591
|
if (!m)
|
|
3592
3592
|
throw new Error("Invalid mapLib");
|
|
3593
|
-
const
|
|
3594
|
-
if (!
|
|
3593
|
+
const v = "Map" in m ? m : m.default;
|
|
3594
|
+
if (!v.Map)
|
|
3595
3595
|
throw new Error("Invalid mapLib");
|
|
3596
|
-
if (vc(
|
|
3597
|
-
e.reuseMaps && (y = Ht.reuse(e, a.current)), y || (y = new Ht(
|
|
3596
|
+
if (vc(v, e), !v.supported || v.supported(e))
|
|
3597
|
+
e.reuseMaps && (y = Ht.reuse(e, a.current)), y || (y = new Ht(v.Map, e, a.current)), l.map = hc(y), l.mapLib = v, s(y), r == null || r.onMapMount(l.map, e.id);
|
|
3598
3598
|
else
|
|
3599
3599
|
throw new Error("Map is not supported by this browser");
|
|
3600
3600
|
}).catch((m) => {
|
|
3601
|
-
const { onError:
|
|
3602
|
-
|
|
3601
|
+
const { onError: v } = e;
|
|
3602
|
+
v ? v({
|
|
3603
3603
|
type: "error",
|
|
3604
3604
|
target: null,
|
|
3605
3605
|
originalEvent: null,
|
|
@@ -3640,41 +3640,41 @@ function xc(e, t) {
|
|
|
3640
3640
|
o.current.props = e;
|
|
3641
3641
|
const s = ze(() => {
|
|
3642
3642
|
let f = !1;
|
|
3643
|
-
Q.Children.forEach(e.children, (
|
|
3644
|
-
|
|
3643
|
+
Q.Children.forEach(e.children, (S) => {
|
|
3644
|
+
S && (f = !0);
|
|
3645
3645
|
});
|
|
3646
3646
|
const _ = {
|
|
3647
3647
|
...e,
|
|
3648
3648
|
element: f ? document.createElement("div") : null
|
|
3649
3649
|
}, x = new r.Marker(_);
|
|
3650
|
-
return x.setLngLat([e.longitude, e.latitude]), x.getElement().addEventListener("click", (
|
|
3651
|
-
var $,
|
|
3652
|
-
(
|
|
3650
|
+
return x.setLngLat([e.longitude, e.latitude]), x.getElement().addEventListener("click", (S) => {
|
|
3651
|
+
var $, b;
|
|
3652
|
+
(b = ($ = o.current.props).onClick) === null || b === void 0 || b.call($, {
|
|
3653
3653
|
type: "click",
|
|
3654
3654
|
target: x,
|
|
3655
|
-
originalEvent:
|
|
3655
|
+
originalEvent: S
|
|
3656
3656
|
});
|
|
3657
|
-
}), x.on("dragstart", (
|
|
3658
|
-
var $,
|
|
3659
|
-
const C =
|
|
3660
|
-
C.lngLat = s.getLngLat(), (
|
|
3661
|
-
}), x.on("drag", (
|
|
3662
|
-
var $,
|
|
3663
|
-
const C =
|
|
3664
|
-
C.lngLat = s.getLngLat(), (
|
|
3665
|
-
}), x.on("dragend", (
|
|
3666
|
-
var $,
|
|
3667
|
-
const C =
|
|
3668
|
-
C.lngLat = s.getLngLat(), (
|
|
3657
|
+
}), x.on("dragstart", (S) => {
|
|
3658
|
+
var $, b;
|
|
3659
|
+
const C = S;
|
|
3660
|
+
C.lngLat = s.getLngLat(), (b = ($ = o.current.props).onDragStart) === null || b === void 0 || b.call($, C);
|
|
3661
|
+
}), x.on("drag", (S) => {
|
|
3662
|
+
var $, b;
|
|
3663
|
+
const C = S;
|
|
3664
|
+
C.lngLat = s.getLngLat(), (b = ($ = o.current.props).onDrag) === null || b === void 0 || b.call($, C);
|
|
3665
|
+
}), x.on("dragend", (S) => {
|
|
3666
|
+
var $, b;
|
|
3667
|
+
const C = S;
|
|
3668
|
+
C.lngLat = s.getLngLat(), (b = ($ = o.current.props).onDragEnd) === null || b === void 0 || b.call($, C);
|
|
3669
3669
|
}), x;
|
|
3670
3670
|
}, []);
|
|
3671
3671
|
ee(() => (s.addTo(n.getMap()), () => {
|
|
3672
3672
|
s.remove();
|
|
3673
3673
|
}), []);
|
|
3674
|
-
const { longitude: a, latitude: l, offset: c, style: d, draggable: h = !1, popup: g = null, rotation: y = 0, rotationAlignment: m = "auto", pitchAlignment:
|
|
3674
|
+
const { longitude: a, latitude: l, offset: c, style: d, draggable: h = !1, popup: g = null, rotation: y = 0, rotationAlignment: m = "auto", pitchAlignment: v = "auto" } = e;
|
|
3675
3675
|
return ee(() => {
|
|
3676
3676
|
Lt(s.getElement(), d);
|
|
3677
|
-
}, [d]), Gn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !lc(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== h && s.setDraggable(h), s.getRotation() !== y && s.setRotation(y), s.getRotationAlignment() !== m && s.setRotationAlignment(m), s.getPitchAlignment() !==
|
|
3677
|
+
}, [d]), Gn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !lc(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== h && s.setDraggable(h), s.getRotation() !== y && s.setRotation(y), s.getRotationAlignment() !== m && s.setRotationAlignment(m), s.getPitchAlignment() !== v && s.setPitchAlignment(v), s.getPopup() !== g && s.setPopup(g), Ri(e.children, s.getElement());
|
|
3678
3678
|
}
|
|
3679
3679
|
Ot(Hr(xc));
|
|
3680
3680
|
function Ro(e) {
|
|
@@ -3897,15 +3897,15 @@ const jc = ({
|
|
|
3897
3897
|
sources: d = [],
|
|
3898
3898
|
layers: h = []
|
|
3899
3899
|
}) => {
|
|
3900
|
-
const g = Te(), [y, m] = de(null),
|
|
3900
|
+
const g = Te(), [y, m] = de(null), v = zs((f) => f.mapState.showTexts);
|
|
3901
3901
|
return ee(() => {
|
|
3902
3902
|
if (g.current) {
|
|
3903
3903
|
const f = g.current.getMap();
|
|
3904
3904
|
f.getStyle().layers.map((x) => {
|
|
3905
|
-
x.type == "symbol" && x.id != "professionals" && (
|
|
3905
|
+
x.type == "symbol" && x.id != "professionals" && (v ? f.setLayoutProperty(x.id, "visibility", "visible") : f.setLayoutProperty(x.id, "visibility", "none"));
|
|
3906
3906
|
});
|
|
3907
3907
|
}
|
|
3908
|
-
}, [
|
|
3908
|
+
}, [v]), /* @__PURE__ */ u("div", { className: `${zc.mapContainer}`, style: s, children: /* @__PURE__ */ T(
|
|
3909
3909
|
Ki,
|
|
3910
3910
|
{
|
|
3911
3911
|
initialViewState: e,
|
|
@@ -3917,7 +3917,7 @@ const jc = ({
|
|
|
3917
3917
|
onClick: a,
|
|
3918
3918
|
interactiveLayerIds: l,
|
|
3919
3919
|
children: [
|
|
3920
|
-
d.length && d.map((f, _) => /* @__PURE__ */ u(Qi, { ...f, children: h.length && h.map((x,
|
|
3920
|
+
d.length && d.map((f, _) => /* @__PURE__ */ u(Qi, { ...f, children: h.length && h.map((x, S) => {
|
|
3921
3921
|
if (x.sourceId == f.id)
|
|
3922
3922
|
return /* @__PURE__ */ u(
|
|
3923
3923
|
Xi,
|
|
@@ -3925,7 +3925,7 @@ const jc = ({
|
|
|
3925
3925
|
...x.layer,
|
|
3926
3926
|
beforeId: o
|
|
3927
3927
|
},
|
|
3928
|
-
|
|
3928
|
+
S
|
|
3929
3929
|
);
|
|
3930
3930
|
}) }, _)),
|
|
3931
3931
|
/* @__PURE__ */ u(Yi, { position: "bottom-right", visualizePitch: !0 }),
|
|
@@ -3995,12 +3995,12 @@ const qc = "_mapContainer_b0pyr_3", Wc = {
|
|
|
3995
3995
|
title: Zc
|
|
3996
3996
|
}, Hc = ({ props: e }) => {
|
|
3997
3997
|
const { t } = le();
|
|
3998
|
-
return /* @__PURE__ */ u("div", { className: Do.FeaturePopUp, children: e.map((n) => /* @__PURE__ */
|
|
3999
|
-
/* @__PURE__ */
|
|
3998
|
+
return /* @__PURE__ */ u("div", { className: Do.FeaturePopUp, children: e.map((n) => /* @__PURE__ */ T("p", { children: [
|
|
3999
|
+
/* @__PURE__ */ T("span", { className: Do.title, children: [
|
|
4000
4000
|
/* @__PURE__ */ u(Kr, { i18nKey: n.name, components: { sup: /* @__PURE__ */ u("sup", {}) }, shouldUnescape: !0 }),
|
|
4001
4001
|
":"
|
|
4002
4002
|
] }),
|
|
4003
|
-
isNaN(n.value) ? /* @__PURE__ */ u(fn, { children: t(n.value) }) : /* @__PURE__ */
|
|
4003
|
+
isNaN(n.value) ? /* @__PURE__ */ u(fn, { children: t(n.value) }) : /* @__PURE__ */ T(fn, { children: [
|
|
4004
4004
|
n.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
4005
4005
|
" ",
|
|
4006
4006
|
t(n.unit)
|
|
@@ -4022,10 +4022,10 @@ const qc = "_mapContainer_b0pyr_3", Wc = {
|
|
|
4022
4022
|
showTexts: y,
|
|
4023
4023
|
hash: m = !1
|
|
4024
4024
|
}) => {
|
|
4025
|
-
const
|
|
4025
|
+
const v = Te();
|
|
4026
4026
|
return ee(() => {
|
|
4027
|
-
if (
|
|
4028
|
-
const f =
|
|
4027
|
+
if (v.current) {
|
|
4028
|
+
const f = v.current.getMap();
|
|
4029
4029
|
f.getStyle().layers.map((x) => {
|
|
4030
4030
|
x.type == "symbol" && x.id != "professionals" && (y ? f.setLayoutProperty(x.id, "visibility", "visible") : f.setLayoutProperty(x.id, "visibility", "none"));
|
|
4031
4031
|
});
|
|
@@ -4035,12 +4035,12 @@ const qc = "_mapContainer_b0pyr_3", Wc = {
|
|
|
4035
4035
|
return hr.addProtocol("pmtiles", f.tile), () => {
|
|
4036
4036
|
hr.removeProtocol("pmtiles");
|
|
4037
4037
|
};
|
|
4038
|
-
}, []), /* @__PURE__ */ u("div", { className: `${Wc.mapContainer}`, style: s, children: /* @__PURE__ */
|
|
4038
|
+
}, []), /* @__PURE__ */ u("div", { className: `${Wc.mapContainer}`, style: s, children: /* @__PURE__ */ T(
|
|
4039
4039
|
Ki,
|
|
4040
4040
|
{
|
|
4041
4041
|
mapLib: hr,
|
|
4042
4042
|
initialViewState: e,
|
|
4043
|
-
ref:
|
|
4043
|
+
ref: v,
|
|
4044
4044
|
hash: m,
|
|
4045
4045
|
maxZoom: t,
|
|
4046
4046
|
minZoom: n,
|
|
@@ -4048,7 +4048,7 @@ const qc = "_mapContainer_b0pyr_3", Wc = {
|
|
|
4048
4048
|
onClick: a,
|
|
4049
4049
|
interactiveLayerIds: l,
|
|
4050
4050
|
children: [
|
|
4051
|
-
c.length && c.map((f, _) => /* @__PURE__ */ u(Qi, { ...f, children: d.length && d.map((x,
|
|
4051
|
+
c.length && c.map((f, _) => /* @__PURE__ */ u(Qi, { ...f, children: d.length && d.map((x, S) => {
|
|
4052
4052
|
if (x.sourceId == f.id)
|
|
4053
4053
|
return /* @__PURE__ */ u(
|
|
4054
4054
|
Xi,
|
|
@@ -4060,7 +4060,7 @@ const qc = "_mapContainer_b0pyr_3", Wc = {
|
|
|
4060
4060
|
visibility: x.layer.visibility || "visible"
|
|
4061
4061
|
}
|
|
4062
4062
|
},
|
|
4063
|
-
|
|
4063
|
+
S
|
|
4064
4064
|
);
|
|
4065
4065
|
}) }, _)),
|
|
4066
4066
|
/* @__PURE__ */ u(Yi, { position: "bottom-right", visualizePitch: !0 }),
|
|
@@ -4140,7 +4140,7 @@ const Gc = "_sectionBar_yf2vy_2", Yc = "_leftContent_yf2vy_14", Xc = "_textConta
|
|
|
4140
4140
|
borderTop: c = !1
|
|
4141
4141
|
}) => {
|
|
4142
4142
|
const { t: d } = le();
|
|
4143
|
-
return /* @__PURE__ */
|
|
4143
|
+
return /* @__PURE__ */ T(
|
|
4144
4144
|
"div",
|
|
4145
4145
|
{
|
|
4146
4146
|
className: xt.sectionBar,
|
|
@@ -4149,9 +4149,9 @@ const Gc = "_sectionBar_yf2vy_2", Yc = "_leftContent_yf2vy_14", Xc = "_textConta
|
|
|
4149
4149
|
borderTop: c ? "1px solid #000" : "0px"
|
|
4150
4150
|
},
|
|
4151
4151
|
children: [
|
|
4152
|
-
/* @__PURE__ */
|
|
4152
|
+
/* @__PURE__ */ T("div", { className: xt.leftContent, children: [
|
|
4153
4153
|
e && /* @__PURE__ */ u("img", { src: e, alt: "Icono", className: xt.icon }),
|
|
4154
|
-
/* @__PURE__ */
|
|
4154
|
+
/* @__PURE__ */ T("div", { className: xt.textContainer, children: [
|
|
4155
4155
|
/* @__PURE__ */ u("div", { className: xt.title, style: { color: a }, children: d(t) }),
|
|
4156
4156
|
n && /* @__PURE__ */ u("div", { className: xt.subtitle, style: { color: l }, children: n })
|
|
4157
4157
|
] })
|
|
@@ -4297,7 +4297,7 @@ function c0(e) {
|
|
|
4297
4297
|
className: s
|
|
4298
4298
|
} = e;
|
|
4299
4299
|
if (!t) {
|
|
4300
|
-
const m = yt(n == null ? void 0 : n.className, s, o == null ? void 0 : o.className, r == null ? void 0 : r.className),
|
|
4300
|
+
const m = yt(n == null ? void 0 : n.className, s, o == null ? void 0 : o.className, r == null ? void 0 : r.className), v = {
|
|
4301
4301
|
...n == null ? void 0 : n.style,
|
|
4302
4302
|
...o == null ? void 0 : o.style,
|
|
4303
4303
|
...r == null ? void 0 : r.style
|
|
@@ -4306,7 +4306,7 @@ function c0(e) {
|
|
|
4306
4306
|
...o,
|
|
4307
4307
|
...r
|
|
4308
4308
|
};
|
|
4309
|
-
return m.length > 0 && (f.className = m), Object.keys(
|
|
4309
|
+
return m.length > 0 && (f.className = m), Object.keys(v).length > 0 && (f.style = v), {
|
|
4310
4310
|
props: f,
|
|
4311
4311
|
internalRef: void 0
|
|
4312
4312
|
};
|
|
@@ -4539,16 +4539,16 @@ function C0(e) {
|
|
|
4539
4539
|
onChangeCommitted: g,
|
|
4540
4540
|
orientation: y = "horizontal",
|
|
4541
4541
|
rootRef: m,
|
|
4542
|
-
scale:
|
|
4542
|
+
scale: v = v0,
|
|
4543
4543
|
step: f = 1,
|
|
4544
4544
|
shiftStep: _ = 10,
|
|
4545
4545
|
tabIndex: x,
|
|
4546
|
-
value:
|
|
4547
|
-
} = e, $ = Q.useRef(void 0), [
|
|
4548
|
-
controlled:
|
|
4546
|
+
value: S
|
|
4547
|
+
} = e, $ = Q.useRef(void 0), [b, C] = Q.useState(-1), [w, E] = Q.useState(-1), [L, A] = Q.useState(!1), j = Q.useRef(0), V = Q.useRef(null), [p, N] = d0({
|
|
4548
|
+
controlled: S,
|
|
4549
4549
|
default: n ?? c,
|
|
4550
4550
|
name: "Slider"
|
|
4551
|
-
}),
|
|
4551
|
+
}), k = h && ((R, B, H) => {
|
|
4552
4552
|
const ae = R.nativeEvent || R, be = new ae.constructor(ae.type, ae);
|
|
4553
4553
|
Object.defineProperty(be, "target", {
|
|
4554
4554
|
writable: !0,
|
|
@@ -4590,7 +4590,7 @@ function C0(e) {
|
|
|
4590
4590
|
activeIndex: Pe
|
|
4591
4591
|
});
|
|
4592
4592
|
}
|
|
4593
|
-
N(X), D(H),
|
|
4593
|
+
N(X), D(H), k && !On(X, p) && k(R, X, H), g && g(R, V.current ?? X);
|
|
4594
4594
|
}, ne = (R) => (B) => {
|
|
4595
4595
|
var H;
|
|
4596
4596
|
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(B.key)) {
|
|
@@ -4636,7 +4636,7 @@ function C0(e) {
|
|
|
4636
4636
|
ts(() => {
|
|
4637
4637
|
var R;
|
|
4638
4638
|
r && M.current.contains(document.activeElement) && ((R = document.activeElement) == null || R.blur());
|
|
4639
|
-
}, [r]), r &&
|
|
4639
|
+
}, [r]), r && b !== -1 && C(-1), r && ce !== -1 && D(-1);
|
|
4640
4640
|
const G = (R) => (B) => {
|
|
4641
4641
|
var H;
|
|
4642
4642
|
(H = R.onChange) == null || H.call(R, B), Z(B, B.target.valueAsNumber);
|
|
@@ -4698,7 +4698,7 @@ function C0(e) {
|
|
|
4698
4698
|
sliderRef: M,
|
|
4699
4699
|
activeIndex: ae,
|
|
4700
4700
|
setActive: C
|
|
4701
|
-
}), N(H), !L && j.current > m0 && A(!0),
|
|
4701
|
+
}), N(H), !L && j.current > m0 && A(!0), k && !On(H, p) && k(R, H, ae);
|
|
4702
4702
|
}), I = kr((R) => {
|
|
4703
4703
|
const B = En(R, $);
|
|
4704
4704
|
if (A(!1), !B)
|
|
@@ -4728,7 +4728,7 @@ function C0(e) {
|
|
|
4728
4728
|
sliderRef: M,
|
|
4729
4729
|
activeIndex: X,
|
|
4730
4730
|
setActive: C
|
|
4731
|
-
}), N(be),
|
|
4731
|
+
}), N(be), k && !On(be, p) && k(R, be, X);
|
|
4732
4732
|
}
|
|
4733
4733
|
j.current = 0;
|
|
4734
4734
|
const ae = Bn(M.current);
|
|
@@ -4770,7 +4770,7 @@ function C0(e) {
|
|
|
4770
4770
|
sliderRef: M,
|
|
4771
4771
|
activeIndex: Me,
|
|
4772
4772
|
setActive: C
|
|
4773
|
-
}), N(X),
|
|
4773
|
+
}), N(X), k && !On(X, p) && k(B, X, Me);
|
|
4774
4774
|
}
|
|
4775
4775
|
j.current = 0;
|
|
4776
4776
|
const ae = Bn(M.current);
|
|
@@ -4809,11 +4809,11 @@ function C0(e) {
|
|
|
4809
4809
|
};
|
|
4810
4810
|
}, Qe = (R) => ({
|
|
4811
4811
|
// So the non active thumb doesn't show its label on hover.
|
|
4812
|
-
pointerEvents:
|
|
4812
|
+
pointerEvents: b !== -1 && b !== R ? "none" : void 0
|
|
4813
4813
|
});
|
|
4814
4814
|
let _e;
|
|
4815
4815
|
return y === "vertical" && (_e = s ? "vertical-rl" : "vertical-lr"), {
|
|
4816
|
-
active:
|
|
4816
|
+
active: b,
|
|
4817
4817
|
axis: oe,
|
|
4818
4818
|
axisProps: b0,
|
|
4819
4819
|
dragging: L,
|
|
@@ -4832,8 +4832,8 @@ function C0(e) {
|
|
|
4832
4832
|
tabIndex: x,
|
|
4833
4833
|
"aria-labelledby": t,
|
|
4834
4834
|
"aria-orientation": y,
|
|
4835
|
-
"aria-valuemax":
|
|
4836
|
-
"aria-valuemin":
|
|
4835
|
+
"aria-valuemax": v(l),
|
|
4836
|
+
"aria-valuemin": v(c),
|
|
4837
4837
|
name: d,
|
|
4838
4838
|
type: "range",
|
|
4839
4839
|
min: e.min,
|
|
@@ -4888,7 +4888,7 @@ function _0() {
|
|
|
4888
4888
|
if (jo) return ge;
|
|
4889
4889
|
jo = 1;
|
|
4890
4890
|
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"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
|
|
4891
|
-
function
|
|
4891
|
+
function v(f) {
|
|
4892
4892
|
if (typeof f == "object" && f !== null) {
|
|
4893
4893
|
var _ = f.$$typeof;
|
|
4894
4894
|
switch (_) {
|
|
@@ -4920,32 +4920,32 @@ function _0() {
|
|
|
4920
4920
|
}
|
|
4921
4921
|
}
|
|
4922
4922
|
return ge.ContextConsumer = s, ge.ContextProvider = a, ge.Element = e, ge.ForwardRef = l, ge.Fragment = n, ge.Lazy = g, ge.Memo = h, ge.Portal = t, ge.Profiler = o, ge.StrictMode = r, ge.Suspense = c, ge.SuspenseList = d, ge.isContextConsumer = function(f) {
|
|
4923
|
-
return
|
|
4923
|
+
return v(f) === s;
|
|
4924
4924
|
}, ge.isContextProvider = function(f) {
|
|
4925
|
-
return
|
|
4925
|
+
return v(f) === a;
|
|
4926
4926
|
}, ge.isElement = function(f) {
|
|
4927
4927
|
return typeof f == "object" && f !== null && f.$$typeof === e;
|
|
4928
4928
|
}, ge.isForwardRef = function(f) {
|
|
4929
|
-
return
|
|
4929
|
+
return v(f) === l;
|
|
4930
4930
|
}, ge.isFragment = function(f) {
|
|
4931
|
-
return
|
|
4931
|
+
return v(f) === n;
|
|
4932
4932
|
}, ge.isLazy = function(f) {
|
|
4933
|
-
return
|
|
4933
|
+
return v(f) === g;
|
|
4934
4934
|
}, ge.isMemo = function(f) {
|
|
4935
|
-
return
|
|
4935
|
+
return v(f) === h;
|
|
4936
4936
|
}, ge.isPortal = function(f) {
|
|
4937
|
-
return
|
|
4937
|
+
return v(f) === t;
|
|
4938
4938
|
}, ge.isProfiler = function(f) {
|
|
4939
|
-
return
|
|
4939
|
+
return v(f) === o;
|
|
4940
4940
|
}, ge.isStrictMode = function(f) {
|
|
4941
|
-
return
|
|
4941
|
+
return v(f) === r;
|
|
4942
4942
|
}, ge.isSuspense = function(f) {
|
|
4943
|
-
return
|
|
4943
|
+
return v(f) === c;
|
|
4944
4944
|
}, ge.isSuspenseList = function(f) {
|
|
4945
|
-
return
|
|
4945
|
+
return v(f) === d;
|
|
4946
4946
|
}, ge.isValidElementType = function(f) {
|
|
4947
4947
|
return typeof f == "string" || typeof f == "function" || f === n || f === o || f === r || f === c || f === d || typeof f == "object" && f !== null && (f.$$typeof === g || f.$$typeof === h || f.$$typeof === a || f.$$typeof === s || f.$$typeof === l || f.$$typeof === m || f.getModuleId !== void 0);
|
|
4948
|
-
}, ge.typeOf =
|
|
4948
|
+
}, ge.typeOf = v, ge;
|
|
4949
4949
|
}
|
|
4950
4950
|
var ye = {};
|
|
4951
4951
|
/**
|
|
@@ -4991,7 +4991,7 @@ function x0() {
|
|
|
4991
4991
|
}
|
|
4992
4992
|
}
|
|
4993
4993
|
}
|
|
4994
|
-
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"),
|
|
4994
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
|
|
4995
4995
|
ye.ContextConsumer = a, ye.ContextProvider = l, ye.Element = t, ye.ForwardRef = c, ye.Fragment = r, ye.Lazy = y, ye.Memo = g, ye.Portal = n, ye.Profiler = s, ye.StrictMode = o, ye.Suspense = d, ye.SuspenseList = h, ye.isContextConsumer = function(f) {
|
|
4996
4996
|
return e(f) === a;
|
|
4997
4997
|
}, ye.isContextProvider = function(f) {
|
|
@@ -5017,7 +5017,7 @@ function x0() {
|
|
|
5017
5017
|
}, ye.isSuspenseList = function(f) {
|
|
5018
5018
|
return e(f) === h;
|
|
5019
5019
|
}, ye.isValidElementType = function(f) {
|
|
5020
|
-
return typeof f == "string" || typeof f == "function" || f === r || f === s || f === o || f === d || f === h || typeof f == "object" && f !== null && (f.$$typeof === y || f.$$typeof === g || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof ===
|
|
5020
|
+
return typeof f == "string" || typeof f == "function" || f === r || f === s || f === o || f === d || f === h || typeof f == "object" && f !== null && (f.$$typeof === y || f.$$typeof === g || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === v || f.getModuleId !== void 0);
|
|
5021
5021
|
}, ye.typeOf = e;
|
|
5022
5022
|
}()), ye;
|
|
5023
5023
|
}
|
|
@@ -5749,9 +5749,9 @@ function m2() {
|
|
|
5749
5749
|
[n]: r
|
|
5750
5750
|
};
|
|
5751
5751
|
const y = Qn(o, d) || {};
|
|
5752
|
-
return g ? g(a) : ut(a, r, (
|
|
5753
|
-
let f = Hn(y, h,
|
|
5754
|
-
return
|
|
5752
|
+
return g ? g(a) : ut(a, r, (v) => {
|
|
5753
|
+
let f = Hn(y, h, v);
|
|
5754
|
+
return v === f && typeof v == "string" && (f = Hn(y, h, `${n}${v === "default" ? "" : Je(v)}`, v)), c === !1 ? f : {
|
|
5755
5755
|
[c]: f
|
|
5756
5756
|
};
|
|
5757
5757
|
});
|
|
@@ -5776,25 +5776,25 @@ function m2() {
|
|
|
5776
5776
|
const h = E0(o.breakpoints), g = Object.keys(h);
|
|
5777
5777
|
let y = h;
|
|
5778
5778
|
return Object.keys(d).forEach((m) => {
|
|
5779
|
-
const
|
|
5780
|
-
if (
|
|
5781
|
-
if (typeof
|
|
5779
|
+
const v = p2(d[m], o);
|
|
5780
|
+
if (v != null)
|
|
5781
|
+
if (typeof v == "object")
|
|
5782
5782
|
if (a[m])
|
|
5783
|
-
y = dn(y, e(m,
|
|
5783
|
+
y = dn(y, e(m, v, o, a));
|
|
5784
5784
|
else {
|
|
5785
5785
|
const f = ut({
|
|
5786
5786
|
theme: o
|
|
5787
|
-
},
|
|
5787
|
+
}, v, (_) => ({
|
|
5788
5788
|
[m]: _
|
|
5789
5789
|
}));
|
|
5790
|
-
f2(f,
|
|
5791
|
-
sx:
|
|
5790
|
+
f2(f, v) ? y[m] = t({
|
|
5791
|
+
sx: v,
|
|
5792
5792
|
theme: o,
|
|
5793
5793
|
nested: !0
|
|
5794
5794
|
}) : y = dn(y, f);
|
|
5795
5795
|
}
|
|
5796
5796
|
else
|
|
5797
|
-
y = dn(y, e(m,
|
|
5797
|
+
y = dn(y, e(m, v, o, a));
|
|
5798
5798
|
}), !s && o.modularCssLayers ? {
|
|
5799
5799
|
"@layer sx": Uo(o, Ho(g, y))
|
|
5800
5800
|
} : Uo(o, Ho(g, y));
|
|
@@ -6053,8 +6053,8 @@ function k2(e) {
|
|
|
6053
6053
|
return `@media (max-width:${(typeof t[y] == "number" ? t[y] : y) - r / 100}${n})`;
|
|
6054
6054
|
}
|
|
6055
6055
|
function d(y, m) {
|
|
6056
|
-
const
|
|
6057
|
-
return `@media (min-width:${typeof t[y] == "number" ? t[y] : y}${n}) and (max-width:${(
|
|
6056
|
+
const v = a.indexOf(m);
|
|
6057
|
+
return `@media (min-width:${typeof t[y] == "number" ? t[y] : y}${n}) and (max-width:${(v !== -1 && typeof t[a[v]] == "number" ? t[a[v]] : m) - r / 100}${n})`;
|
|
6058
6058
|
}
|
|
6059
6059
|
function h(y) {
|
|
6060
6060
|
return a.indexOf(y) + 1 < a.length ? d(y, a[a.indexOf(y) + 1]) : l(y);
|
|
@@ -6285,19 +6285,19 @@ function I2(e = {}) {
|
|
|
6285
6285
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
6286
6286
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
6287
6287
|
overridesResolver: m = R2(ds(h)),
|
|
6288
|
-
...
|
|
6288
|
+
...v
|
|
6289
6289
|
} = c, f = d && d.startsWith("Mui") || h ? "components" : "custom", _ = g !== void 0 ? g : (
|
|
6290
6290
|
// TODO v6: remove `Root` in the next major release
|
|
6291
6291
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
6292
6292
|
h && h !== "Root" && h !== "root" || !1
|
|
6293
6293
|
), x = y || !1;
|
|
6294
|
-
let
|
|
6295
|
-
h === "Root" || h === "root" ?
|
|
6294
|
+
let S = $r;
|
|
6295
|
+
h === "Root" || h === "root" ? S = r : h ? S = o : F2(l) && (S = void 0);
|
|
6296
6296
|
const $ = x2(l, {
|
|
6297
|
-
shouldForwardProp:
|
|
6297
|
+
shouldForwardProp: S,
|
|
6298
6298
|
label: V2(d, h),
|
|
6299
|
-
...
|
|
6300
|
-
}),
|
|
6299
|
+
...v
|
|
6300
|
+
}), b = (w) => {
|
|
6301
6301
|
if (w.__emotion_real === w)
|
|
6302
6302
|
return w;
|
|
6303
6303
|
if (typeof w == "function")
|
|
@@ -6312,7 +6312,7 @@ function I2(e = {}) {
|
|
|
6312
6312
|
}
|
|
6313
6313
|
return w;
|
|
6314
6314
|
}, C = (...w) => {
|
|
6315
|
-
const E = [], L = w.map(
|
|
6315
|
+
const E = [], L = w.map(b), A = [];
|
|
6316
6316
|
if (E.push(s), d && m && A.push(function(N) {
|
|
6317
6317
|
var Y, W;
|
|
6318
6318
|
const F = (W = (Y = N.theme.components) == null ? void 0 : Y[d]) == null ? void 0 : W.styleOverrides;
|
|
@@ -6324,12 +6324,12 @@ function I2(e = {}) {
|
|
|
6324
6324
|
return m(N, z);
|
|
6325
6325
|
}), d && !_ && A.push(function(N) {
|
|
6326
6326
|
var z, Y;
|
|
6327
|
-
const
|
|
6327
|
+
const k = N.theme, F = (Y = (z = k == null ? void 0 : k.components) == null ? void 0 : z[d]) == null ? void 0 : Y.variants;
|
|
6328
6328
|
return F ? us(N, F, [], N.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
6329
6329
|
}), x || A.push(Kt), Array.isArray(L[0])) {
|
|
6330
|
-
const p = L.shift(), N = new Array(E.length).fill(""),
|
|
6330
|
+
const p = L.shift(), N = new Array(E.length).fill(""), k = new Array(A.length).fill("");
|
|
6331
6331
|
let F;
|
|
6332
|
-
F = [...N, ...p, ...
|
|
6332
|
+
F = [...N, ...p, ...k], F.raw = [...N, ...p.raw, ...k], E.unshift(F);
|
|
6333
6333
|
}
|
|
6334
6334
|
const j = [...E, ...L, ...A], V = $(...j);
|
|
6335
6335
|
return l.muiName && (V.muiName = l.muiName), process.env.NODE_ENV !== "production" && (V.displayName = P2(d, h, l)), V;
|
|
@@ -6616,63 +6616,63 @@ function X2(e, t = {}) {
|
|
|
6616
6616
|
varsWithDefaults: y
|
|
6617
6617
|
} = Er(d, t);
|
|
6618
6618
|
let m = y;
|
|
6619
|
-
const
|
|
6619
|
+
const v = {}, {
|
|
6620
6620
|
[c]: f,
|
|
6621
6621
|
..._
|
|
6622
6622
|
} = a;
|
|
6623
|
-
if (Object.entries(_ || {}).forEach(([
|
|
6623
|
+
if (Object.entries(_ || {}).forEach(([b, C]) => {
|
|
6624
6624
|
const {
|
|
6625
6625
|
vars: w,
|
|
6626
6626
|
css: E,
|
|
6627
6627
|
varsWithDefaults: L
|
|
6628
6628
|
} = Er(C, t);
|
|
6629
|
-
m = Ze(m, L), b
|
|
6629
|
+
m = Ze(m, L), v[b] = {
|
|
6630
6630
|
css: E,
|
|
6631
6631
|
vars: w
|
|
6632
6632
|
};
|
|
6633
6633
|
}), f) {
|
|
6634
6634
|
const {
|
|
6635
|
-
css:
|
|
6635
|
+
css: b,
|
|
6636
6636
|
vars: C,
|
|
6637
6637
|
varsWithDefaults: w
|
|
6638
6638
|
} = Er(f, t);
|
|
6639
|
-
m = Ze(m, w),
|
|
6640
|
-
css:
|
|
6639
|
+
m = Ze(m, w), v[c] = {
|
|
6640
|
+
css: b,
|
|
6641
6641
|
vars: C
|
|
6642
6642
|
};
|
|
6643
6643
|
}
|
|
6644
|
-
function x(
|
|
6644
|
+
function x(b, C) {
|
|
6645
6645
|
var E, L;
|
|
6646
6646
|
let w = o;
|
|
6647
|
-
if (o === "class" && (w = ".%s"), o === "data" && (w = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (w = `[${o}="%s"]`),
|
|
6647
|
+
if (o === "class" && (w = ".%s"), o === "data" && (w = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (w = `[${o}="%s"]`), b) {
|
|
6648
6648
|
if (w === "media")
|
|
6649
|
-
return e.defaultColorScheme ===
|
|
6650
|
-
[`@media (prefers-color-scheme: ${((L = (E = a[
|
|
6649
|
+
return e.defaultColorScheme === b ? ":root" : {
|
|
6650
|
+
[`@media (prefers-color-scheme: ${((L = (E = a[b]) == null ? void 0 : E.palette) == null ? void 0 : L.mode) || b})`]: {
|
|
6651
6651
|
":root": C
|
|
6652
6652
|
}
|
|
6653
6653
|
};
|
|
6654
6654
|
if (w)
|
|
6655
|
-
return e.defaultColorScheme ===
|
|
6655
|
+
return e.defaultColorScheme === b ? `:root, ${w.replace("%s", String(b))}` : w.replace("%s", String(b));
|
|
6656
6656
|
}
|
|
6657
6657
|
return ":root";
|
|
6658
6658
|
}
|
|
6659
6659
|
return {
|
|
6660
6660
|
vars: m,
|
|
6661
6661
|
generateThemeVars: () => {
|
|
6662
|
-
let
|
|
6662
|
+
let b = {
|
|
6663
6663
|
...h
|
|
6664
6664
|
};
|
|
6665
|
-
return Object.entries(
|
|
6665
|
+
return Object.entries(v).forEach(([, {
|
|
6666
6666
|
vars: C
|
|
6667
6667
|
}]) => {
|
|
6668
|
-
|
|
6669
|
-
}),
|
|
6668
|
+
b = Ze(b, C);
|
|
6669
|
+
}), b;
|
|
6670
6670
|
},
|
|
6671
6671
|
generateStyleSheets: () => {
|
|
6672
6672
|
var A, j;
|
|
6673
|
-
const
|
|
6673
|
+
const b = [], C = e.defaultColorScheme || "light";
|
|
6674
6674
|
function w(V, p) {
|
|
6675
|
-
Object.keys(p).length &&
|
|
6675
|
+
Object.keys(p).length && b.push(typeof V == "string" ? {
|
|
6676
6676
|
[V]: {
|
|
6677
6677
|
...p
|
|
6678
6678
|
}
|
|
@@ -6684,7 +6684,7 @@ function X2(e, t = {}) {
|
|
|
6684
6684
|
const {
|
|
6685
6685
|
[C]: E,
|
|
6686
6686
|
...L
|
|
6687
|
-
} =
|
|
6687
|
+
} = v;
|
|
6688
6688
|
if (E) {
|
|
6689
6689
|
const {
|
|
6690
6690
|
css: V
|
|
@@ -6702,16 +6702,16 @@ function X2(e, t = {}) {
|
|
|
6702
6702
|
css: p
|
|
6703
6703
|
}]) => {
|
|
6704
6704
|
var F, z;
|
|
6705
|
-
const N = (z = (F = a[V]) == null ? void 0 : F.palette) == null ? void 0 : z.mode,
|
|
6705
|
+
const N = (z = (F = a[V]) == null ? void 0 : F.palette) == null ? void 0 : z.mode, k = !r && N ? {
|
|
6706
6706
|
colorScheme: N,
|
|
6707
6707
|
...p
|
|
6708
6708
|
} : {
|
|
6709
6709
|
...p
|
|
6710
6710
|
};
|
|
6711
6711
|
w(n(V, {
|
|
6712
|
-
...
|
|
6713
|
-
}),
|
|
6714
|
-
}), s &&
|
|
6712
|
+
...k
|
|
6713
|
+
}), k);
|
|
6714
|
+
}), s && b.push({
|
|
6715
6715
|
":root": {
|
|
6716
6716
|
// use double underscore to indicate that these are private variables
|
|
6717
6717
|
"--__l-threshold": "0.7",
|
|
@@ -6719,7 +6719,7 @@ function X2(e, t = {}) {
|
|
|
6719
6719
|
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
6720
6720
|
// 0.87 is the default alpha value for black text.
|
|
6721
6721
|
}
|
|
6722
|
-
}),
|
|
6722
|
+
}), b;
|
|
6723
6723
|
}
|
|
6724
6724
|
};
|
|
6725
6725
|
}
|
|
@@ -6946,8 +6946,8 @@ function ro(e) {
|
|
|
6946
6946
|
return s1(_);
|
|
6947
6947
|
const x = ti(_, qr.text.primary) >= n ? qr.text.primary : hs.text.primary;
|
|
6948
6948
|
if (process.env.NODE_ENV !== "production") {
|
|
6949
|
-
const
|
|
6950
|
-
|
|
6949
|
+
const S = ti(_, x);
|
|
6950
|
+
S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${x} on ${_}`, "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(`
|
|
6951
6951
|
`));
|
|
6952
6952
|
}
|
|
6953
6953
|
return x;
|
|
@@ -6955,15 +6955,15 @@ function ro(e) {
|
|
|
6955
6955
|
const m = ({
|
|
6956
6956
|
color: _,
|
|
6957
6957
|
name: x,
|
|
6958
|
-
mainShade:
|
|
6958
|
+
mainShade: S = 500,
|
|
6959
6959
|
lightShade: $ = 300,
|
|
6960
|
-
darkShade:
|
|
6960
|
+
darkShade: b = 700
|
|
6961
6961
|
}) => {
|
|
6962
6962
|
if (_ = {
|
|
6963
6963
|
..._
|
|
6964
|
-
}, !_.main && _[
|
|
6964
|
+
}, !_.main && _[S] && (_.main = _[S]), !_.hasOwnProperty("main"))
|
|
6965
6965
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
|
|
6966
|
-
The color object needs to have a \`main\` property or a \`${
|
|
6966
|
+
The color object needs to have a \`main\` property or a \`${S}\` property.` : Et(11, x ? ` (${x})` : "", S));
|
|
6967
6967
|
if (typeof _.main != "string")
|
|
6968
6968
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
|
|
6969
6969
|
\`color.main\` should be a string, but \`${JSON.stringify(_.main)}\` was provided instead.
|
|
@@ -6979,10 +6979,10 @@ const theme1 = createTheme({ palette: {
|
|
|
6979
6979
|
const theme2 = createTheme({ palette: {
|
|
6980
6980
|
primary: { main: green[500] },
|
|
6981
6981
|
} });` : Et(12, x ? ` (${x})` : "", JSON.stringify(_.main)));
|
|
6982
|
-
return o ? (ii(o, _, "light", $, r), ii(o, _, "dark",
|
|
6982
|
+
return o ? (ii(o, _, "light", $, r), ii(o, _, "dark", b, r)) : (oi(_, "light", $, r), oi(_, "dark", b, r)), _.contrastText || (_.contrastText = y(_.main)), _;
|
|
6983
6983
|
};
|
|
6984
|
-
let
|
|
6985
|
-
return t === "light" ?
|
|
6984
|
+
let v;
|
|
6985
|
+
return t === "light" ? v = ms() : t === "dark" && (v = gs()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Ze({
|
|
6986
6986
|
// A collection of common colors.
|
|
6987
6987
|
common: {
|
|
6988
6988
|
...pn
|
|
@@ -7037,7 +7037,7 @@ const theme2 = createTheme({ palette: {
|
|
|
7037
7037
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
7038
7038
|
tonalOffset: r,
|
|
7039
7039
|
// The light and dark mode object.
|
|
7040
|
-
...
|
|
7040
|
+
...v
|
|
7041
7041
|
}, s);
|
|
7042
7042
|
}
|
|
7043
7043
|
function a1(e) {
|
|
@@ -7088,33 +7088,33 @@ function u1(e, t) {
|
|
|
7088
7088
|
...g
|
|
7089
7089
|
} = typeof t == "function" ? t(e) : t;
|
|
7090
7090
|
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."));
|
|
7091
|
-
const y = r / 14, m = h || ((_) => `${_ / c * y}rem`),
|
|
7091
|
+
const y = r / 14, m = h || ((_) => `${_ / c * y}rem`), v = (_, x, S, $, b) => ({
|
|
7092
7092
|
fontFamily: n,
|
|
7093
7093
|
fontWeight: _,
|
|
7094
7094
|
fontSize: m(x),
|
|
7095
7095
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
7096
|
-
lineHeight:
|
|
7096
|
+
lineHeight: S,
|
|
7097
7097
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
7098
7098
|
// across font-families can cause issues with the kerning.
|
|
7099
7099
|
...n === ai ? {
|
|
7100
7100
|
letterSpacing: `${c1($ / x)}em`
|
|
7101
7101
|
} : {},
|
|
7102
|
-
...
|
|
7102
|
+
...b,
|
|
7103
7103
|
...d
|
|
7104
7104
|
}), f = {
|
|
7105
|
-
h1:
|
|
7106
|
-
h2:
|
|
7107
|
-
h3:
|
|
7108
|
-
h4:
|
|
7109
|
-
h5:
|
|
7110
|
-
h6:
|
|
7111
|
-
subtitle1:
|
|
7112
|
-
subtitle2:
|
|
7113
|
-
body1:
|
|
7114
|
-
body2:
|
|
7115
|
-
button:
|
|
7116
|
-
caption:
|
|
7117
|
-
overline:
|
|
7105
|
+
h1: v(o, 96, 1.167, -1.5),
|
|
7106
|
+
h2: v(o, 60, 1.2, -0.5),
|
|
7107
|
+
h3: v(s, 48, 1.167, 0),
|
|
7108
|
+
h4: v(s, 34, 1.235, 0.25),
|
|
7109
|
+
h5: v(s, 24, 1.334, 0),
|
|
7110
|
+
h6: v(a, 20, 1.6, 0.15),
|
|
7111
|
+
subtitle1: v(s, 16, 1.75, 0.15),
|
|
7112
|
+
subtitle2: v(a, 14, 1.57, 0.1),
|
|
7113
|
+
body1: v(s, 16, 1.5, 0.15),
|
|
7114
|
+
body2: v(s, 14, 1.43, 0.15),
|
|
7115
|
+
button: v(a, 14, 1.75, 0.4, si),
|
|
7116
|
+
caption: v(s, 12, 1.66, 0.4),
|
|
7117
|
+
overline: v(s, 12, 2.66, 1, si),
|
|
7118
7118
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
7119
7119
|
inherit: {
|
|
7120
7120
|
fontFamily: "inherit",
|
|
@@ -7300,22 +7300,22 @@ function Wr(e = {}, ...t) {
|
|
|
7300
7300
|
...v1
|
|
7301
7301
|
}
|
|
7302
7302
|
});
|
|
7303
|
-
if (m = Ze(m, h), m = t.reduce((
|
|
7304
|
-
const
|
|
7305
|
-
let
|
|
7306
|
-
for (
|
|
7307
|
-
const $ = _[
|
|
7308
|
-
if (
|
|
7303
|
+
if (m = Ze(m, h), m = t.reduce((v, f) => Ze(v, f), m), process.env.NODE_ENV !== "production") {
|
|
7304
|
+
const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (_, x) => {
|
|
7305
|
+
let S;
|
|
7306
|
+
for (S in _) {
|
|
7307
|
+
const $ = _[S];
|
|
7308
|
+
if (v.includes(S) && Object.keys($).length > 0) {
|
|
7309
7309
|
if (process.env.NODE_ENV !== "production") {
|
|
7310
|
-
const
|
|
7311
|
-
console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${
|
|
7310
|
+
const b = to("", S);
|
|
7311
|
+
console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${b}' syntax:`, JSON.stringify({
|
|
7312
7312
|
root: {
|
|
7313
|
-
[`&.${
|
|
7313
|
+
[`&.${b}`]: $
|
|
7314
7314
|
}
|
|
7315
7315
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
7316
7316
|
`));
|
|
7317
7317
|
}
|
|
7318
|
-
_[
|
|
7318
|
+
_[S] = {};
|
|
7319
7319
|
}
|
|
7320
7320
|
}
|
|
7321
7321
|
};
|
|
@@ -7496,20 +7496,20 @@ function L1(e = {}, ...t) {
|
|
|
7496
7496
|
rootSelector: d = ":root",
|
|
7497
7497
|
...h
|
|
7498
7498
|
} = e, g = Object.keys(n)[0], y = r || (n.light && g !== "light" ? "light" : g), m = A1(s), {
|
|
7499
|
-
[y]:
|
|
7499
|
+
[y]: v,
|
|
7500
7500
|
light: f,
|
|
7501
7501
|
dark: _,
|
|
7502
7502
|
...x
|
|
7503
|
-
} = n,
|
|
7503
|
+
} = n, S = {
|
|
7504
7504
|
...x
|
|
7505
7505
|
};
|
|
7506
|
-
let $ =
|
|
7506
|
+
let $ = v;
|
|
7507
7507
|
if ((y === "dark" && !("dark" in n) || y === "light" && !("light" in n)) && ($ = !0), !$)
|
|
7508
7508
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${y}\` option is either missing or invalid.` : Et(21, y));
|
|
7509
|
-
let
|
|
7510
|
-
a && (
|
|
7511
|
-
const C = Nr(
|
|
7512
|
-
f && !
|
|
7509
|
+
let b;
|
|
7510
|
+
a && (b = "oklch");
|
|
7511
|
+
const C = Nr(b, S, $, h, y);
|
|
7512
|
+
f && !S.light && Nr(b, S, f, void 0, "light"), _ && !S.dark && Nr(b, S, _, void 0, "dark");
|
|
7513
7513
|
let w = {
|
|
7514
7514
|
defaultColorScheme: y,
|
|
7515
7515
|
...C,
|
|
@@ -7517,7 +7517,7 @@ function L1(e = {}, ...t) {
|
|
|
7517
7517
|
colorSchemeSelector: c,
|
|
7518
7518
|
rootSelector: d,
|
|
7519
7519
|
getCssVar: m,
|
|
7520
|
-
colorSchemes:
|
|
7520
|
+
colorSchemes: S,
|
|
7521
7521
|
font: {
|
|
7522
7522
|
...a1(C.typography),
|
|
7523
7523
|
...C.font
|
|
@@ -7530,22 +7530,22 @@ function L1(e = {}, ...t) {
|
|
|
7530
7530
|
return m(F, p[Y][W]);
|
|
7531
7531
|
};
|
|
7532
7532
|
p.mode === "light" && (O(p.common, "background", "#fff"), O(p.common, "onBackground", "#000")), p.mode === "dark" && (O(p.common, "background", "#000"), O(p.common, "onBackground", "#fff"));
|
|
7533
|
-
function
|
|
7534
|
-
if (
|
|
7533
|
+
function k(F, z, Y) {
|
|
7534
|
+
if (b) {
|
|
7535
7535
|
let W;
|
|
7536
|
-
return F === wt && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), F === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), F === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${
|
|
7536
|
+
return F === wt && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), F === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), F === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${b}, ${z}, ${W})`;
|
|
7537
7537
|
}
|
|
7538
7538
|
return F(z, Y);
|
|
7539
7539
|
}
|
|
7540
7540
|
if (N1(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") {
|
|
7541
|
-
O(p.Alert, "errorColor",
|
|
7542
|
-
const F =
|
|
7543
|
-
O(p.SnackbarContent, "bg", F), O(p.SnackbarContent, "color", tt(() =>
|
|
7541
|
+
O(p.Alert, "errorColor", k(me, a ? m("palette-error-light") : p.error.light, 0.6)), O(p.Alert, "infoColor", k(me, a ? m("palette-info-light") : p.info.light, 0.6)), O(p.Alert, "successColor", k(me, a ? m("palette-success-light") : p.success.light, 0.6)), O(p.Alert, "warningColor", k(me, a ? m("palette-warning-light") : p.warning.light, 0.6)), O(p.Alert, "errorFilledBg", N("palette-error-main")), O(p.Alert, "infoFilledBg", N("palette-info-main")), O(p.Alert, "successFilledBg", N("palette-success-main")), O(p.Alert, "warningFilledBg", N("palette-warning-main")), O(p.Alert, "errorFilledColor", tt(() => p.getContrastText(p.error.main))), O(p.Alert, "infoFilledColor", tt(() => p.getContrastText(p.info.main))), O(p.Alert, "successFilledColor", tt(() => p.getContrastText(p.success.main))), O(p.Alert, "warningFilledColor", tt(() => p.getContrastText(p.warning.main))), O(p.Alert, "errorStandardBg", k(he, a ? m("palette-error-light") : p.error.light, 0.9)), O(p.Alert, "infoStandardBg", k(he, a ? m("palette-info-light") : p.info.light, 0.9)), O(p.Alert, "successStandardBg", k(he, a ? m("palette-success-light") : p.success.light, 0.9)), O(p.Alert, "warningStandardBg", k(he, a ? m("palette-warning-light") : p.warning.light, 0.9)), O(p.Alert, "errorIconColor", N("palette-error-main")), O(p.Alert, "infoIconColor", N("palette-info-main")), O(p.Alert, "successIconColor", N("palette-success-main")), O(p.Alert, "warningIconColor", N("palette-warning-main")), O(p.AppBar, "defaultBg", N("palette-grey-100")), O(p.Avatar, "defaultBg", N("palette-grey-400")), O(p.Button, "inheritContainedBg", N("palette-grey-300")), O(p.Button, "inheritContainedHoverBg", N("palette-grey-A100")), O(p.Chip, "defaultBorder", N("palette-grey-400")), O(p.Chip, "defaultAvatarColor", N("palette-grey-700")), O(p.Chip, "defaultIconColor", N("palette-grey-700")), O(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), O(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), O(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), O(p.LinearProgress, "primaryBg", k(he, a ? m("palette-primary-main") : p.primary.main, 0.62)), O(p.LinearProgress, "secondaryBg", k(he, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), O(p.LinearProgress, "errorBg", k(he, a ? m("palette-error-main") : p.error.main, 0.62)), O(p.LinearProgress, "infoBg", k(he, a ? m("palette-info-main") : p.info.main, 0.62)), O(p.LinearProgress, "successBg", k(he, a ? m("palette-success-main") : p.success.main, 0.62)), O(p.LinearProgress, "warningBg", k(he, a ? m("palette-warning-light") : p.warning.main, 0.62)), O(p.Skeleton, "bg", b ? k(wt, a ? m("palette-text-primary") : p.text.primary, 0.11) : `rgba(${N("palette-text-primaryChannel")} / 0.11)`), O(p.Slider, "primaryTrack", k(he, a ? m("palette-primary-main") : p.primary.main, 0.62)), O(p.Slider, "secondaryTrack", k(he, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), O(p.Slider, "errorTrack", k(he, a ? m("palette-error-main") : p.error.main, 0.62)), O(p.Slider, "infoTrack", k(he, a ? m("palette-info-main") : p.info.main, 0.62)), O(p.Slider, "successTrack", k(he, a ? m("palette-success-main") : p.success.main, 0.62)), O(p.Slider, "warningTrack", k(he, a ? m("palette-warning-main") : p.warning.main, 0.62));
|
|
7542
|
+
const F = b ? k(me, a ? m("palette-background-default") : p.background.default, 0.6825) : Mn(p.background.default, 0.8);
|
|
7543
|
+
O(p.SnackbarContent, "bg", F), O(p.SnackbarContent, "color", tt(() => b ? qr.text.primary : p.getContrastText(F))), O(p.SpeedDialAction, "fabHoverBg", Mn(p.background.paper, 0.15)), O(p.StepConnector, "border", N("palette-grey-400")), O(p.StepContent, "border", N("palette-grey-400")), O(p.Switch, "defaultColor", N("palette-common-white")), O(p.Switch, "defaultDisabledColor", N("palette-grey-100")), O(p.Switch, "primaryDisabledColor", k(he, a ? m("palette-primary-main") : p.primary.main, 0.62)), O(p.Switch, "secondaryDisabledColor", k(he, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), O(p.Switch, "errorDisabledColor", k(he, a ? m("palette-error-main") : p.error.main, 0.62)), O(p.Switch, "infoDisabledColor", k(he, a ? m("palette-info-main") : p.info.main, 0.62)), O(p.Switch, "successDisabledColor", k(he, a ? m("palette-success-main") : p.success.main, 0.62)), O(p.Switch, "warningDisabledColor", k(he, a ? m("palette-warning-main") : p.warning.main, 0.62)), O(p.TableCell, "border", k(he, wt(a ? m("palette-divider") : p.divider, 1), 0.88)), O(p.Tooltip, "bg", k(wt, a ? m("palette-grey-700") : p.grey[700], 0.92));
|
|
7544
7544
|
}
|
|
7545
7545
|
if (p.mode === "dark") {
|
|
7546
|
-
O(p.Alert, "errorColor",
|
|
7547
|
-
const F =
|
|
7548
|
-
O(p.SnackbarContent, "bg", F), O(p.SnackbarContent, "color", tt(() =>
|
|
7546
|
+
O(p.Alert, "errorColor", k(he, a ? m("palette-error-light") : p.error.light, 0.6)), O(p.Alert, "infoColor", k(he, a ? m("palette-info-light") : p.info.light, 0.6)), O(p.Alert, "successColor", k(he, a ? m("palette-success-light") : p.success.light, 0.6)), O(p.Alert, "warningColor", k(he, a ? m("palette-warning-light") : p.warning.light, 0.6)), O(p.Alert, "errorFilledBg", N("palette-error-dark")), O(p.Alert, "infoFilledBg", N("palette-info-dark")), O(p.Alert, "successFilledBg", N("palette-success-dark")), O(p.Alert, "warningFilledBg", N("palette-warning-dark")), O(p.Alert, "errorFilledColor", tt(() => p.getContrastText(p.error.dark))), O(p.Alert, "infoFilledColor", tt(() => p.getContrastText(p.info.dark))), O(p.Alert, "successFilledColor", tt(() => p.getContrastText(p.success.dark))), O(p.Alert, "warningFilledColor", tt(() => p.getContrastText(p.warning.dark))), O(p.Alert, "errorStandardBg", k(me, a ? m("palette-error-light") : p.error.light, 0.9)), O(p.Alert, "infoStandardBg", k(me, a ? m("palette-info-light") : p.info.light, 0.9)), O(p.Alert, "successStandardBg", k(me, a ? m("palette-success-light") : p.success.light, 0.9)), O(p.Alert, "warningStandardBg", k(me, a ? m("palette-warning-light") : p.warning.light, 0.9)), O(p.Alert, "errorIconColor", N("palette-error-main")), O(p.Alert, "infoIconColor", N("palette-info-main")), O(p.Alert, "successIconColor", N("palette-success-main")), O(p.Alert, "warningIconColor", N("palette-warning-main")), O(p.AppBar, "defaultBg", N("palette-grey-900")), O(p.AppBar, "darkBg", N("palette-background-paper")), O(p.AppBar, "darkColor", N("palette-text-primary")), O(p.Avatar, "defaultBg", N("palette-grey-600")), O(p.Button, "inheritContainedBg", N("palette-grey-800")), O(p.Button, "inheritContainedHoverBg", N("palette-grey-700")), O(p.Chip, "defaultBorder", N("palette-grey-700")), O(p.Chip, "defaultAvatarColor", N("palette-grey-300")), O(p.Chip, "defaultIconColor", N("palette-grey-300")), O(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), O(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), O(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), O(p.LinearProgress, "primaryBg", k(me, a ? m("palette-primary-main") : p.primary.main, 0.5)), O(p.LinearProgress, "secondaryBg", k(me, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), O(p.LinearProgress, "errorBg", k(me, a ? m("palette-error-main") : p.error.main, 0.5)), O(p.LinearProgress, "infoBg", k(me, a ? m("palette-info-main") : p.info.main, 0.5)), O(p.LinearProgress, "successBg", k(me, a ? m("palette-success-main") : p.success.main, 0.5)), O(p.LinearProgress, "warningBg", k(me, a ? m("palette-warning-main") : p.warning.main, 0.5)), O(p.Skeleton, "bg", b ? k(wt, a ? m("palette-text-primary") : p.text.primary, 0.13) : `rgba(${N("palette-text-primaryChannel")} / 0.13)`), O(p.Slider, "primaryTrack", k(me, a ? m("palette-primary-main") : p.primary.main, 0.5)), O(p.Slider, "secondaryTrack", k(me, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), O(p.Slider, "errorTrack", k(me, a ? m("palette-error-main") : p.error.main, 0.5)), O(p.Slider, "infoTrack", k(me, a ? m("palette-info-main") : p.info.main, 0.5)), O(p.Slider, "successTrack", k(me, a ? m("palette-success-main") : p.success.main, 0.5)), O(p.Slider, "warningTrack", k(me, a ? m("palette-warning-light") : p.warning.main, 0.5));
|
|
7547
|
+
const F = b ? k(he, a ? m("palette-background-default") : p.background.default, 0.985) : Mn(p.background.default, 0.98);
|
|
7548
|
+
O(p.SnackbarContent, "bg", F), O(p.SnackbarContent, "color", tt(() => b ? hs.text.primary : p.getContrastText(F))), O(p.SpeedDialAction, "fabHoverBg", Mn(p.background.paper, 0.15)), O(p.StepConnector, "border", N("palette-grey-600")), O(p.StepContent, "border", N("palette-grey-600")), O(p.Switch, "defaultColor", N("palette-grey-300")), O(p.Switch, "defaultDisabledColor", N("palette-grey-600")), O(p.Switch, "primaryDisabledColor", k(me, a ? m("palette-primary-main") : p.primary.main, 0.55)), O(p.Switch, "secondaryDisabledColor", k(me, a ? m("palette-secondary-main") : p.secondary.main, 0.55)), O(p.Switch, "errorDisabledColor", k(me, a ? m("palette-error-main") : p.error.main, 0.55)), O(p.Switch, "infoDisabledColor", k(me, a ? m("palette-info-main") : p.info.main, 0.55)), O(p.Switch, "successDisabledColor", k(me, a ? m("palette-success-main") : p.success.main, 0.55)), O(p.Switch, "warningDisabledColor", k(me, a ? m("palette-warning-light") : p.warning.main, 0.55)), O(p.TableCell, "border", k(me, wt(a ? m("palette-divider") : p.divider, 1), 0.68)), O(p.Tooltip, "bg", k(wt, a ? m("palette-grey-700") : p.grey[700], 0.92));
|
|
7549
7549
|
}
|
|
7550
7550
|
a || (ot(p.background, "default"), ot(p.background, "paper"), ot(p.common, "background"), ot(p.common, "onBackground"), ot(p, "divider")), Object.keys(p).forEach((F) => {
|
|
7551
7551
|
const z = p[F];
|
|
@@ -7680,7 +7680,7 @@ function Cs(e) {
|
|
|
7680
7680
|
} = e, o = j1(e);
|
|
7681
7681
|
return t ? /* @__PURE__ */ Q.cloneElement(t, {
|
|
7682
7682
|
className: t.props.className
|
|
7683
|
-
}, /* @__PURE__ */
|
|
7683
|
+
}, /* @__PURE__ */ T(Q.Fragment, {
|
|
7684
7684
|
children: [t.props.children, /* @__PURE__ */ u("span", {
|
|
7685
7685
|
className: yt(o.offset, n),
|
|
7686
7686
|
"aria-hidden": !0,
|
|
@@ -8230,13 +8230,13 @@ const H1 = Mt("span", {
|
|
|
8230
8230
|
color: g = "primary",
|
|
8231
8231
|
classes: y,
|
|
8232
8232
|
className: m,
|
|
8233
|
-
disableSwap:
|
|
8233
|
+
disableSwap: v = !1,
|
|
8234
8234
|
disabled: f = !1,
|
|
8235
8235
|
getAriaLabel: _,
|
|
8236
8236
|
getAriaValueText: x,
|
|
8237
|
-
marks:
|
|
8237
|
+
marks: S = !1,
|
|
8238
8238
|
max: $ = 100,
|
|
8239
|
-
min:
|
|
8239
|
+
min: b = 0,
|
|
8240
8240
|
name: C,
|
|
8241
8241
|
onChange: w,
|
|
8242
8242
|
onChangeCommitted: E,
|
|
@@ -8246,7 +8246,7 @@ const H1 = Mt("span", {
|
|
|
8246
8246
|
step: V = 1,
|
|
8247
8247
|
scale: p = di,
|
|
8248
8248
|
slotProps: N,
|
|
8249
|
-
slots:
|
|
8249
|
+
slots: k,
|
|
8250
8250
|
tabIndex: F,
|
|
8251
8251
|
track: z = "normal",
|
|
8252
8252
|
value: Y,
|
|
@@ -8257,12 +8257,12 @@ const H1 = Mt("span", {
|
|
|
8257
8257
|
...r,
|
|
8258
8258
|
isRtl: o,
|
|
8259
8259
|
max: $,
|
|
8260
|
-
min:
|
|
8260
|
+
min: b,
|
|
8261
8261
|
classes: y,
|
|
8262
8262
|
disabled: f,
|
|
8263
|
-
disableSwap:
|
|
8263
|
+
disableSwap: v,
|
|
8264
8264
|
orientation: L,
|
|
8265
|
-
marks:
|
|
8265
|
+
marks: S,
|
|
8266
8266
|
color: g,
|
|
8267
8267
|
size: j,
|
|
8268
8268
|
step: V,
|
|
@@ -8292,7 +8292,7 @@ const H1 = Mt("span", {
|
|
|
8292
8292
|
rootRef: n
|
|
8293
8293
|
});
|
|
8294
8294
|
M.marked = I.length > 0 && I.some((Ee) => Ee.label), M.dragging = ue, M.focusedThumbIndex = oe;
|
|
8295
|
-
const re = G1(M), we = (
|
|
8295
|
+
const re = G1(M), we = (k == null ? void 0 : k.root) ?? d.Root ?? q1, Ce = (k == null ? void 0 : k.rail) ?? d.Rail ?? W1, Le = (k == null ? void 0 : k.track) ?? d.Track ?? U1, je = (k == null ? void 0 : k.thumb) ?? d.Thumb ?? Z1, Qe = (k == null ? void 0 : k.valueLabel) ?? d.ValueLabel ?? _s, _e = (k == null ? void 0 : k.mark) ?? d.Mark ?? H1, qe = (k == null ? void 0 : k.markLabel) ?? d.MarkLabel ?? K1, R = (k == null ? void 0 : k.input) ?? d.Input ?? "input", B = (N == null ? void 0 : N.root) ?? h.root, H = (N == null ? void 0 : N.rail) ?? h.rail, ae = (N == null ? void 0 : N.track) ?? h.track, be = (N == null ? void 0 : N.thumb) ?? h.thumb, X = (N == null ? void 0 : N.valueLabel) ?? h.valueLabel, Me = (N == null ? void 0 : N.mark) ?? h.mark, Pe = (N == null ? void 0 : N.markLabel) ?? h.markLabel, Oe = (N == null ? void 0 : N.input) ?? h.input, He = pt({
|
|
8296
8296
|
elementType: we,
|
|
8297
8297
|
getSlotProps: K,
|
|
8298
8298
|
externalSlotProps: B,
|
|
@@ -8359,16 +8359,16 @@ const H1 = Mt("span", {
|
|
|
8359
8359
|
externalSlotProps: Oe,
|
|
8360
8360
|
ownerState: M
|
|
8361
8361
|
});
|
|
8362
|
-
return /* @__PURE__ */
|
|
8362
|
+
return /* @__PURE__ */ T(we, {
|
|
8363
8363
|
...He,
|
|
8364
8364
|
children: [/* @__PURE__ */ u(Ce, {
|
|
8365
8365
|
...Qt
|
|
8366
8366
|
}), /* @__PURE__ */ u(Le, {
|
|
8367
8367
|
...Rs
|
|
8368
|
-
}), I.filter((Ee) => Ee.value >=
|
|
8369
|
-
const pr = Un(Ee.value,
|
|
8368
|
+
}), I.filter((Ee) => Ee.value >= b && Ee.value <= $).map((Ee, De) => {
|
|
8369
|
+
const pr = Un(Ee.value, b, $), Cn = J[U].offset(pr);
|
|
8370
8370
|
let rt;
|
|
8371
|
-
return z === !1 ? rt = se.includes(Ee.value) : rt = z === "normal" && (te ? Ee.value >= se[0] && Ee.value <= se[se.length - 1] : Ee.value <= se[0]) || z === "inverted" && (te ? Ee.value <= se[0] || Ee.value >= se[se.length - 1] : Ee.value >= se[0]), /* @__PURE__ */
|
|
8371
|
+
return z === !1 ? rt = se.includes(Ee.value) : rt = z === "normal" && (te ? Ee.value >= se[0] && Ee.value <= se[se.length - 1] : Ee.value <= se[0]) || z === "inverted" && (te ? Ee.value <= se[0] || Ee.value >= se[se.length - 1] : Ee.value >= se[0]), /* @__PURE__ */ T(Q.Fragment, {
|
|
8372
8372
|
children: [/* @__PURE__ */ u(_e, {
|
|
8373
8373
|
"data-index": De,
|
|
8374
8374
|
...dr,
|
|
@@ -8396,7 +8396,7 @@ const H1 = Mt("span", {
|
|
|
8396
8396
|
}) : null]
|
|
8397
8397
|
}, De);
|
|
8398
8398
|
}), se.map((Ee, De) => {
|
|
8399
|
-
const pr = Un(Ee,
|
|
8399
|
+
const pr = Un(Ee, b, $), Cn = J[U].offset(pr), rt = W === "off" ? Y1 : Qe;
|
|
8400
8400
|
return (
|
|
8401
8401
|
/* 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. */
|
|
8402
8402
|
/* @__PURE__ */ u(rt, {
|
|
@@ -8717,10 +8717,10 @@ const X1 = "_slider_1prh1_2", Q1 = "_playButton_1prh1_14", J1 = "_sliderOpen_1pr
|
|
|
8717
8717
|
console.log("year changed to ", d);
|
|
8718
8718
|
}
|
|
8719
8719
|
}) => {
|
|
8720
|
-
const h = o || ((
|
|
8720
|
+
const h = o || ((b, C) => {
|
|
8721
8721
|
const w = [];
|
|
8722
|
-
w.push({ label: "", value:
|
|
8723
|
-
const E = Math.ceil(
|
|
8722
|
+
w.push({ label: "", value: b });
|
|
8723
|
+
const E = Math.ceil(b / 10) * 10;
|
|
8724
8724
|
for (let L = E; L < C; L += 10)
|
|
8725
8725
|
w.push({ label: "", value: L });
|
|
8726
8726
|
return w[w.length - 1].value !== C && w.push({ label: "", value: C }), w;
|
|
@@ -8728,9 +8728,9 @@ const X1 = "_slider_1prh1_2", Q1 = "_playButton_1prh1_14", J1 = "_sliderOpen_1pr
|
|
|
8728
8728
|
ee(() => {
|
|
8729
8729
|
y(t);
|
|
8730
8730
|
}, [t]);
|
|
8731
|
-
const m = (
|
|
8731
|
+
const m = (b, C) => {
|
|
8732
8732
|
y(C), c(C);
|
|
8733
|
-
}, [
|
|
8733
|
+
}, [v, f] = de(!1);
|
|
8734
8734
|
ee(() => {
|
|
8735
8735
|
t && console.log("defaultYear changed:", t), t && y(t);
|
|
8736
8736
|
}, [t]), ee(() => {
|
|
@@ -8741,11 +8741,11 @@ const X1 = "_slider_1prh1_2", Q1 = "_playButton_1prh1_14", J1 = "_sliderOpen_1pr
|
|
|
8741
8741
|
}, x = () => {
|
|
8742
8742
|
f(!1);
|
|
8743
8743
|
};
|
|
8744
|
-
((
|
|
8744
|
+
((b, C, w = []) => {
|
|
8745
8745
|
const E = Te();
|
|
8746
8746
|
ee(() => {
|
|
8747
|
-
E.current =
|
|
8748
|
-
}, [
|
|
8747
|
+
E.current = b;
|
|
8748
|
+
}, [b]), ee(() => {
|
|
8749
8749
|
function L() {
|
|
8750
8750
|
E.current();
|
|
8751
8751
|
}
|
|
@@ -8756,13 +8756,13 @@ const X1 = "_slider_1prh1_2", Q1 = "_playButton_1prh1_14", J1 = "_sliderOpen_1pr
|
|
|
8756
8756
|
}, [C, ...w]);
|
|
8757
8757
|
})(
|
|
8758
8758
|
() => {
|
|
8759
|
-
|
|
8760
|
-
const C =
|
|
8759
|
+
v && y((b) => {
|
|
8760
|
+
const C = b + 1;
|
|
8761
8761
|
return C > r ? (c(n), n) : (c(C), C);
|
|
8762
8762
|
});
|
|
8763
8763
|
},
|
|
8764
8764
|
1e3,
|
|
8765
|
-
[n, r,
|
|
8765
|
+
[n, r, v]
|
|
8766
8766
|
);
|
|
8767
8767
|
const $ = Ws({
|
|
8768
8768
|
palette: {
|
|
@@ -8787,7 +8787,7 @@ const X1 = "_slider_1prh1_2", Q1 = "_playButton_1prh1_14", J1 = "_sliderOpen_1pr
|
|
|
8787
8787
|
}
|
|
8788
8788
|
}
|
|
8789
8789
|
});
|
|
8790
|
-
return /* @__PURE__ */ u(Zs, { theme: $, children: /* @__PURE__ */
|
|
8790
|
+
return /* @__PURE__ */ u(Zs, { theme: $, children: /* @__PURE__ */ T(
|
|
8791
8791
|
Us,
|
|
8792
8792
|
{
|
|
8793
8793
|
sx: { width: 400 },
|
|
@@ -8811,8 +8811,8 @@ const X1 = "_slider_1prh1_2", Q1 = "_playButton_1prh1_14", J1 = "_sliderOpen_1pr
|
|
|
8811
8811
|
}
|
|
8812
8812
|
),
|
|
8813
8813
|
r,
|
|
8814
|
-
!
|
|
8815
|
-
|
|
8814
|
+
!v && /* @__PURE__ */ u("button", { className: tn.playButton, onClick: _, children: /* @__PURE__ */ u("img", { src: r0, alt: "Play" }) }),
|
|
8815
|
+
v && /* @__PURE__ */ u("button", { className: tn.playButton, onClick: x, children: /* @__PURE__ */ u("img", { src: o0, alt: "Pause" }) })
|
|
8816
8816
|
]
|
|
8817
8817
|
}
|
|
8818
8818
|
) });
|
|
@@ -8964,18 +8964,18 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8964
8964
|
defaultTooltip: d,
|
|
8965
8965
|
showEye: h = !0
|
|
8966
8966
|
}) => {
|
|
8967
|
-
const { name: g, created_at: y, id: m, isBeingProcessed:
|
|
8967
|
+
const { name: g, created_at: y, id: m, isBeingProcessed: v } = e, [f, _] = de(!1), { t: x } = le();
|
|
8968
8968
|
ee(() => {
|
|
8969
8969
|
console.log("elementButtons: ", l);
|
|
8970
8970
|
}, [l]);
|
|
8971
|
-
const
|
|
8972
|
-
return /* @__PURE__ */
|
|
8971
|
+
const S = l && l.edit && !e.is_default && !e.is_baseline, $ = l && l.trash && !e.is_default && !e.is_baseline;
|
|
8972
|
+
return /* @__PURE__ */ T(
|
|
8973
8973
|
"div",
|
|
8974
8974
|
{
|
|
8975
8975
|
className: Ke.listElement,
|
|
8976
8976
|
style: { borderBottom: `1px solid ${o}` },
|
|
8977
8977
|
children: [
|
|
8978
|
-
/* @__PURE__ */ u("div", { className: Ke.elementNameDate, onClick: () => t(m), children: Object.keys(a).map((
|
|
8978
|
+
/* @__PURE__ */ u("div", { className: Ke.elementNameDate, onClick: () => t(m), children: Object.keys(a).map((b, C) => b === "name" ? /* @__PURE__ */ u("div", { className: Ke.elementNameContainer, children: /* @__PURE__ */ T(
|
|
8979
8979
|
"div",
|
|
8980
8980
|
{
|
|
8981
8981
|
className: `${Ke.elementName} ${h && Ke.nameAndEye}`,
|
|
@@ -8996,13 +8996,13 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8996
8996
|
/* @__PURE__ */ u("span", { style: { color: n ? r : o }, children: g })
|
|
8997
8997
|
]
|
|
8998
8998
|
}
|
|
8999
|
-
) }, `col${C}`) :
|
|
9000
|
-
/* @__PURE__ */
|
|
9001
|
-
e.processing && /* @__PURE__ */
|
|
8999
|
+
) }, `col${C}`) : b == "data" ? /* @__PURE__ */ u("div", { className: Ke.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }, `col${C}data`) : /* @__PURE__ */ u("div", { className: Ke.elementDate, children: e[b] }, `col${C}other`)) }),
|
|
9000
|
+
/* @__PURE__ */ T("div", { className: Ke.elementButtons, children: [
|
|
9001
|
+
e.processing && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9002
9002
|
/* @__PURE__ */ u("img", { src: Nu }),
|
|
9003
9003
|
/* @__PURE__ */ u(at, { text: c, position: "left" })
|
|
9004
9004
|
] }),
|
|
9005
|
-
l.filter && !e.is_default && /* @__PURE__ */
|
|
9005
|
+
l.filter && !e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9006
9006
|
/* @__PURE__ */ u(
|
|
9007
9007
|
"button",
|
|
9008
9008
|
{
|
|
@@ -9019,7 +9019,7 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9019
9019
|
}
|
|
9020
9020
|
)
|
|
9021
9021
|
] }),
|
|
9022
|
-
l.copy && !e.is_default && /* @__PURE__ */
|
|
9022
|
+
l.copy && !e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9023
9023
|
/* @__PURE__ */ u(
|
|
9024
9024
|
"button",
|
|
9025
9025
|
{
|
|
@@ -9030,7 +9030,7 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9030
9030
|
),
|
|
9031
9031
|
/* @__PURE__ */ u(at, { text: l.copy.tooltiptext, position: "left" })
|
|
9032
9032
|
] }),
|
|
9033
|
-
|
|
9033
|
+
S && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9034
9034
|
/* @__PURE__ */ u(
|
|
9035
9035
|
"button",
|
|
9036
9036
|
{
|
|
@@ -9041,7 +9041,7 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9041
9041
|
),
|
|
9042
9042
|
/* @__PURE__ */ u(at, { text: l.edit.tooltiptext, position: "left" })
|
|
9043
9043
|
] }),
|
|
9044
|
-
l.info && e.is_default && /* @__PURE__ */
|
|
9044
|
+
l.info && e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9045
9045
|
/* @__PURE__ */ u(
|
|
9046
9046
|
"button",
|
|
9047
9047
|
{
|
|
@@ -9052,7 +9052,7 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9052
9052
|
),
|
|
9053
9053
|
/* @__PURE__ */ u(at, { text: l.info.tooltiptext, position: "left" })
|
|
9054
9054
|
] }),
|
|
9055
|
-
$ && /* @__PURE__ */
|
|
9055
|
+
$ && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9056
9056
|
/* @__PURE__ */ u(
|
|
9057
9057
|
"button",
|
|
9058
9058
|
{
|
|
@@ -9069,14 +9069,14 @@ const Ru = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9069
9069
|
}
|
|
9070
9070
|
)
|
|
9071
9071
|
] }),
|
|
9072
|
-
e.is_default && /* @__PURE__ */
|
|
9072
|
+
e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9073
9073
|
/* @__PURE__ */ u("img", { src: Ou }),
|
|
9074
9074
|
/* @__PURE__ */ u(at, { text: d, position: "left" })
|
|
9075
9075
|
] })
|
|
9076
9076
|
] }),
|
|
9077
9077
|
s && /* @__PURE__ */ u("div", { className: Ke.break }),
|
|
9078
|
-
s && /* @__PURE__ */
|
|
9079
|
-
/* @__PURE__ */
|
|
9078
|
+
s && /* @__PURE__ */ T("div", { className: Ke.moreInfoContainer, children: [
|
|
9079
|
+
/* @__PURE__ */ T(
|
|
9080
9080
|
"div",
|
|
9081
9081
|
{
|
|
9082
9082
|
className: Ke.moreInfo,
|
|
@@ -9138,7 +9138,7 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9138
9138
|
containerStyles: s = {},
|
|
9139
9139
|
newElementButton: a,
|
|
9140
9140
|
//{label: 'text', onClick: function(), disabled}/null
|
|
9141
|
-
onClickElement: l = (
|
|
9141
|
+
onClickElement: l = (v) => console.log(`OnCLickElement: ${v}`),
|
|
9142
9142
|
columns: c,
|
|
9143
9143
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
9144
9144
|
elementButtons: d,
|
|
@@ -9151,64 +9151,64 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9151
9151
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
9152
9152
|
showEye: m = !0
|
|
9153
9153
|
}) => {
|
|
9154
|
-
const { t:
|
|
9154
|
+
const { t: v } = le(), [f, _] = de(e);
|
|
9155
9155
|
ee(() => {
|
|
9156
9156
|
e && _(e);
|
|
9157
9157
|
}, [e]);
|
|
9158
|
-
const x = (
|
|
9159
|
-
if (typeof
|
|
9160
|
-
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(
|
|
9161
|
-
return new Date(
|
|
9162
|
-
const C = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(
|
|
9158
|
+
const x = (b) => {
|
|
9159
|
+
if (typeof b != "string") return null;
|
|
9160
|
+
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(b))
|
|
9161
|
+
return new Date(b);
|
|
9162
|
+
const C = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(b);
|
|
9163
9163
|
if (C)
|
|
9164
9164
|
return /* @__PURE__ */ new Date(`${C[3]}-${C[2]}-${C[1]}`);
|
|
9165
|
-
const w = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(
|
|
9165
|
+
const w = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(b);
|
|
9166
9166
|
return w ? parseInt(w[1]) > 12 ? /* @__PURE__ */ new Date(`${w[3]}-${w[2]}-${w[1]}`) : /* @__PURE__ */ new Date(`${w[3]}-${w[1]}-${w[2]}`) : null;
|
|
9167
|
-
},
|
|
9167
|
+
}, S = (b) => x(b) !== null, $ = (b) => {
|
|
9168
9168
|
if (!f || f.length === 0) return;
|
|
9169
9169
|
let C = [...f];
|
|
9170
|
-
const w = C.find((L) => L[
|
|
9170
|
+
const w = C.find((L) => L[b] !== null && L[b] !== void 0), E = w ? S(w[b]) : !1;
|
|
9171
9171
|
C.sort((L, A) => {
|
|
9172
|
-
const j = L[
|
|
9172
|
+
const j = L[b], V = A[b];
|
|
9173
9173
|
if (j == null && V == null) return 0;
|
|
9174
9174
|
if (j == null) return 1;
|
|
9175
9175
|
if (V == null) return -1;
|
|
9176
9176
|
if (E) {
|
|
9177
|
-
const
|
|
9178
|
-
return !
|
|
9177
|
+
const k = x(j), F = x(V);
|
|
9178
|
+
return !k && !F ? 0 : k ? F ? k - F : -1 : 1;
|
|
9179
9179
|
}
|
|
9180
9180
|
const p = String(j || "").trim(), N = String(V || "").trim();
|
|
9181
9181
|
return p.localeCompare(N);
|
|
9182
9182
|
}), _(C);
|
|
9183
9183
|
};
|
|
9184
|
-
return /* @__PURE__ */
|
|
9184
|
+
return /* @__PURE__ */ T(
|
|
9185
9185
|
"div",
|
|
9186
9186
|
{
|
|
9187
9187
|
className: it.elementSelector,
|
|
9188
9188
|
style: { color: n, ...s },
|
|
9189
9189
|
children: [
|
|
9190
|
-
/* @__PURE__ */
|
|
9190
|
+
/* @__PURE__ */ T(
|
|
9191
9191
|
"div",
|
|
9192
9192
|
{
|
|
9193
9193
|
className: it.header,
|
|
9194
9194
|
style: { borderBottom: `1px solid ${n}` },
|
|
9195
9195
|
children: [
|
|
9196
|
-
/* @__PURE__ */ u("div", { className: it.nameDateContainer, children: Object.keys(c).map((
|
|
9197
|
-
/* @__PURE__ */ u("span", { children:
|
|
9196
|
+
/* @__PURE__ */ u("div", { className: it.nameDateContainer, children: Object.keys(c).map((b) => b === "name" ? /* @__PURE__ */ u("div", { className: it.elementName, children: /* @__PURE__ */ T("button", { onClick: () => $("name"), children: [
|
|
9197
|
+
/* @__PURE__ */ u("span", { children: v(c.name) }),
|
|
9198
9198
|
/* @__PURE__ */ u("img", { src: pi, alt: "order arrow" })
|
|
9199
|
-
] }) },
|
|
9200
|
-
/* @__PURE__ */ u("span", { children:
|
|
9199
|
+
] }) }, b) : b === "data" ? /* @__PURE__ */ u("div", { className: it.elementDate, children: /* @__PURE__ */ T("button", { onClick: () => $("created_at"), children: [
|
|
9200
|
+
/* @__PURE__ */ u("span", { children: v(c.data) }),
|
|
9201
9201
|
/* @__PURE__ */ u("img", { src: pi, alt: "order arrow" })
|
|
9202
|
-
] }) },
|
|
9202
|
+
] }) }, b) : /* @__PURE__ */ u("div", { className: it.elementDate, children: /* @__PURE__ */ u("span", { children: v(c[b]) }) }, b)) }),
|
|
9203
9203
|
/* @__PURE__ */ u("div", { className: it.buttonsContainer })
|
|
9204
9204
|
]
|
|
9205
9205
|
}
|
|
9206
9206
|
),
|
|
9207
|
-
/* @__PURE__ */ u("div", { className: it.elementListContainer, children: f && f.length > 0 && f.map((
|
|
9207
|
+
/* @__PURE__ */ u("div", { className: it.elementListContainer, children: f && f.length > 0 && f.map((b) => /* @__PURE__ */ u(
|
|
9208
9208
|
ws,
|
|
9209
9209
|
{
|
|
9210
|
-
isActive: t ==
|
|
9211
|
-
listelement:
|
|
9210
|
+
isActive: t == b.id,
|
|
9211
|
+
listelement: b,
|
|
9212
9212
|
fontColor: n,
|
|
9213
9213
|
activeColor: r,
|
|
9214
9214
|
onClickElement: l,
|
|
@@ -9219,7 +9219,7 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9219
9219
|
defaultTooltip: y,
|
|
9220
9220
|
showEye: m
|
|
9221
9221
|
},
|
|
9222
|
-
`elementKey${
|
|
9222
|
+
`elementKey${b.id}`
|
|
9223
9223
|
)) }),
|
|
9224
9224
|
a && /* @__PURE__ */ u("div", { className: it.newElementButtonContainer, children: /* @__PURE__ */ u(
|
|
9225
9225
|
Yn,
|
|
@@ -9228,7 +9228,7 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9228
9228
|
onClick: a.onClick,
|
|
9229
9229
|
borderColor: "grey",
|
|
9230
9230
|
disabled: a.disabled || !1,
|
|
9231
|
-
children:
|
|
9231
|
+
children: v(a.label)
|
|
9232
9232
|
}
|
|
9233
9233
|
) })
|
|
9234
9234
|
]
|
|
@@ -9409,20 +9409,20 @@ function zn(e, t, n = /* @__PURE__ */ new WeakSet()) {
|
|
|
9409
9409
|
function Gu(e) {
|
|
9410
9410
|
const t = ao(), { control: n = t, name: r, defaultValue: o, disabled: s, exact: a, compute: l } = e || {}, c = ie.useRef(o), d = ie.useRef(l), h = ie.useRef(void 0), g = ie.useRef(n), y = ie.useRef(r);
|
|
9411
9411
|
d.current = l;
|
|
9412
|
-
const [m,
|
|
9413
|
-
const
|
|
9414
|
-
return d.current ? d.current(
|
|
9415
|
-
}), f = ie.useCallback((
|
|
9416
|
-
const C = yi(r, n._names,
|
|
9412
|
+
const [m, v] = ie.useState(() => {
|
|
9413
|
+
const b = n._getWatch(r, c.current);
|
|
9414
|
+
return d.current ? d.current(b) : b;
|
|
9415
|
+
}), f = ie.useCallback((b) => {
|
|
9416
|
+
const C = yi(r, n._names, b || n._formValues, !1, c.current);
|
|
9417
9417
|
return d.current ? d.current(C) : C;
|
|
9418
|
-
}, [n._formValues, n._names, r]), _ = ie.useCallback((
|
|
9418
|
+
}, [n._formValues, n._names, r]), _ = ie.useCallback((b) => {
|
|
9419
9419
|
if (!s) {
|
|
9420
|
-
const C = yi(r, n._names,
|
|
9420
|
+
const C = yi(r, n._names, b || n._formValues, !1, c.current);
|
|
9421
9421
|
if (d.current) {
|
|
9422
9422
|
const w = d.current(C);
|
|
9423
|
-
zn(w, h.current) || (
|
|
9423
|
+
zn(w, h.current) || (v(w), h.current = w);
|
|
9424
9424
|
} else
|
|
9425
|
-
|
|
9425
|
+
v(C);
|
|
9426
9426
|
}
|
|
9427
9427
|
}, [n._formValues, n._names, s, r]);
|
|
9428
9428
|
Ns(() => ((g.current !== n || !zn(y.current, r)) && (g.current = n, y.current = r, _()), n._subscribe({
|
|
@@ -9431,16 +9431,16 @@ function Gu(e) {
|
|
|
9431
9431
|
values: !0
|
|
9432
9432
|
},
|
|
9433
9433
|
exact: a,
|
|
9434
|
-
callback: (
|
|
9435
|
-
_(
|
|
9434
|
+
callback: (b) => {
|
|
9435
|
+
_(b.values);
|
|
9436
9436
|
}
|
|
9437
9437
|
})), [n, a, r, _]), ie.useEffect(() => n._removeUnmounted());
|
|
9438
|
-
const x = g.current !== n,
|
|
9438
|
+
const x = g.current !== n, S = y.current, $ = ie.useMemo(() => {
|
|
9439
9439
|
if (s)
|
|
9440
9440
|
return null;
|
|
9441
|
-
const
|
|
9442
|
-
return x ||
|
|
9443
|
-
}, [s, x, r,
|
|
9441
|
+
const b = !x && !zn(S, r);
|
|
9442
|
+
return x || b ? f() : null;
|
|
9443
|
+
}, [s, x, r, S, f]);
|
|
9444
9444
|
return $ !== null ? $ : m;
|
|
9445
9445
|
}
|
|
9446
9446
|
function Yu(e) {
|
|
@@ -9453,7 +9453,7 @@ function Yu(e) {
|
|
|
9453
9453
|
control: o,
|
|
9454
9454
|
name: n,
|
|
9455
9455
|
exact: l
|
|
9456
|
-
}), y = ie.useRef(e), m = ie.useRef(void 0),
|
|
9456
|
+
}), y = ie.useRef(e), m = ie.useRef(void 0), v = ie.useRef(o.register(n, {
|
|
9457
9457
|
...e.rules,
|
|
9458
9458
|
value: h,
|
|
9459
9459
|
...Ar(e.disabled) ? { disabled: e.disabled } : {}
|
|
@@ -9480,25 +9480,25 @@ function Yu(e) {
|
|
|
9480
9480
|
enumerable: !0,
|
|
9481
9481
|
get: () => Fe(g.errors, n)
|
|
9482
9482
|
}
|
|
9483
|
-
}), [g, n]), _ = ie.useCallback((
|
|
9483
|
+
}), [g, n]), _ = ie.useCallback((b) => v.current.onChange({
|
|
9484
9484
|
target: {
|
|
9485
|
-
value: zu(
|
|
9485
|
+
value: zu(b),
|
|
9486
9486
|
name: n
|
|
9487
9487
|
},
|
|
9488
9488
|
type: hi.CHANGE
|
|
9489
|
-
}), [n]), x = ie.useCallback(() =>
|
|
9489
|
+
}), [n]), x = ie.useCallback(() => v.current.onBlur({
|
|
9490
9490
|
target: {
|
|
9491
9491
|
value: Fe(o._formValues, n),
|
|
9492
9492
|
name: n
|
|
9493
9493
|
},
|
|
9494
9494
|
type: hi.BLUR
|
|
9495
|
-
}), [n, o._formValues]),
|
|
9495
|
+
}), [n, o._formValues]), S = ie.useCallback((b) => {
|
|
9496
9496
|
const C = Fe(o._fields, n);
|
|
9497
|
-
C && C._f &&
|
|
9498
|
-
focus: () => Rn(
|
|
9499
|
-
select: () => Rn(
|
|
9500
|
-
setCustomValidity: (w) => Rn(
|
|
9501
|
-
reportValidity: () => Rn(
|
|
9497
|
+
C && C._f && b && (C._f.ref = {
|
|
9498
|
+
focus: () => Rn(b.focus) && b.focus(),
|
|
9499
|
+
select: () => Rn(b.select) && b.select(),
|
|
9500
|
+
setCustomValidity: (w) => Rn(b.setCustomValidity) && b.setCustomValidity(w),
|
|
9501
|
+
reportValidity: () => Rn(b.reportValidity) && b.reportValidity()
|
|
9502
9502
|
});
|
|
9503
9503
|
}, [o._fields, n]), $ = ie.useMemo(() => ({
|
|
9504
9504
|
name: n,
|
|
@@ -9506,10 +9506,10 @@ function Yu(e) {
|
|
|
9506
9506
|
...Ar(r) || g.disabled ? { disabled: g.disabled || r } : {},
|
|
9507
9507
|
onChange: _,
|
|
9508
9508
|
onBlur: x,
|
|
9509
|
-
ref:
|
|
9510
|
-
}), [n, r, g.disabled, _, x,
|
|
9509
|
+
ref: S
|
|
9510
|
+
}), [n, r, g.disabled, _, x, S, h]);
|
|
9511
9511
|
return ie.useEffect(() => {
|
|
9512
|
-
const
|
|
9512
|
+
const b = o._options.shouldUnregister || s, C = m.current;
|
|
9513
9513
|
C && C !== n && !c && o.unregister(C), o.register(n, {
|
|
9514
9514
|
...y.current.rules,
|
|
9515
9515
|
...Ar(y.current.disabled) ? { disabled: y.current.disabled } : {}
|
|
@@ -9518,12 +9518,12 @@ function Yu(e) {
|
|
|
9518
9518
|
const A = Fe(o._fields, E);
|
|
9519
9519
|
A && A._f && (A._f.mount = L);
|
|
9520
9520
|
};
|
|
9521
|
-
if (w(n, !0),
|
|
9521
|
+
if (w(n, !0), b) {
|
|
9522
9522
|
const E = ks(Fe(o._options.defaultValues, n, y.current.defaultValue));
|
|
9523
9523
|
mi(o._defaultValues, n, E), Zr(Fe(o._formValues, n)) && mi(o._formValues, n, E);
|
|
9524
9524
|
}
|
|
9525
9525
|
return !c && o.register(n), m.current = n, () => {
|
|
9526
|
-
(c ?
|
|
9526
|
+
(c ? b && !o._state.action : b) ? o.unregister(n) : w(n, !1);
|
|
9527
9527
|
};
|
|
9528
9528
|
}, [n, o, c, s]), ie.useEffect(() => {
|
|
9529
9529
|
o._setDisabledField({
|
|
@@ -9580,7 +9580,7 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9580
9580
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
9581
9581
|
onChangeExtraFunction: m = () => {
|
|
9582
9582
|
}
|
|
9583
|
-
} = e, { t:
|
|
9583
|
+
} = e, { t: v } = le(), { control: f, trigger: _, clearErrors: x } = t, { errorColor: S } = vn((w) => w), [$, b] = de(!1);
|
|
9584
9584
|
Te(a);
|
|
9585
9585
|
const C = () => r ? r === "password" && $ ? "text" : r : "text";
|
|
9586
9586
|
return /* @__PURE__ */ u(
|
|
@@ -9589,7 +9589,7 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9589
9589
|
name: n,
|
|
9590
9590
|
control: f,
|
|
9591
9591
|
rules: {
|
|
9592
|
-
required: a ? `${
|
|
9592
|
+
required: a ? `${v(o)} ${v("errorMessages.required")}` : !1,
|
|
9593
9593
|
maxLength: s || void 0,
|
|
9594
9594
|
validate: l || void 0
|
|
9595
9595
|
},
|
|
@@ -9598,13 +9598,13 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9598
9598
|
const { onChange: L, ...A } = w, j = (p) => {
|
|
9599
9599
|
L(p), m && m(p);
|
|
9600
9600
|
};
|
|
9601
|
-
return /* @__PURE__ */
|
|
9602
|
-
/* @__PURE__ */
|
|
9603
|
-
|
|
9601
|
+
return /* @__PURE__ */ T("div", { className: rn.textInputContainer, children: [
|
|
9602
|
+
/* @__PURE__ */ T("h3", { className: rn.labelContainer, children: [
|
|
9603
|
+
v(o),
|
|
9604
9604
|
" ",
|
|
9605
9605
|
a && /* @__PURE__ */ u("label", { style: { color: E.error ? d : "" }, children: "*" })
|
|
9606
9606
|
] }),
|
|
9607
|
-
/* @__PURE__ */
|
|
9607
|
+
/* @__PURE__ */ T(
|
|
9608
9608
|
"div",
|
|
9609
9609
|
{
|
|
9610
9610
|
style: { position: "relative", width: h },
|
|
@@ -9616,21 +9616,21 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9616
9616
|
...A,
|
|
9617
9617
|
type: C(),
|
|
9618
9618
|
onChange: j,
|
|
9619
|
-
placeholder: c ?
|
|
9619
|
+
placeholder: c ? v(c) : "",
|
|
9620
9620
|
maxLength: s || void 0
|
|
9621
9621
|
}
|
|
9622
9622
|
),
|
|
9623
9623
|
r == "password" && /* @__PURE__ */ u(
|
|
9624
9624
|
"button",
|
|
9625
9625
|
{
|
|
9626
|
-
onClick: () =>
|
|
9626
|
+
onClick: () => b(!$),
|
|
9627
9627
|
type: "button",
|
|
9628
9628
|
className: rn.showPasswordButton,
|
|
9629
9629
|
children: /* @__PURE__ */ u(
|
|
9630
9630
|
"img",
|
|
9631
9631
|
{
|
|
9632
9632
|
src: $ ? sd : id,
|
|
9633
|
-
alt:
|
|
9633
|
+
alt: v("show-password")
|
|
9634
9634
|
}
|
|
9635
9635
|
)
|
|
9636
9636
|
}
|
|
@@ -9638,12 +9638,12 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9638
9638
|
]
|
|
9639
9639
|
}
|
|
9640
9640
|
),
|
|
9641
|
-
r == "password" && /* @__PURE__ */ u("div", { className: rn.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: g, children:
|
|
9641
|
+
r == "password" && /* @__PURE__ */ u("div", { className: rn.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: g, children: v(y) }) }),
|
|
9642
9642
|
/* @__PURE__ */ u(
|
|
9643
9643
|
bn,
|
|
9644
9644
|
{
|
|
9645
9645
|
errorMessage: (V = E.error) == null ? void 0 : V.message,
|
|
9646
|
-
errorColor:
|
|
9646
|
+
errorColor: S || d
|
|
9647
9647
|
}
|
|
9648
9648
|
)
|
|
9649
9649
|
] });
|
|
@@ -9673,44 +9673,44 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9673
9673
|
width: g = 325,
|
|
9674
9674
|
options: y = []
|
|
9675
9675
|
//Used if we dont use react hook form
|
|
9676
|
-
} = e, { t: m } = le(), { control:
|
|
9676
|
+
} = e, { t: m } = le(), { control: v, trigger: f, clearErrors: _ } = t || {}, { errorColor: x } = vn((b) => b);
|
|
9677
9677
|
Te(l);
|
|
9678
|
-
const [
|
|
9678
|
+
const [S, $] = de(null);
|
|
9679
9679
|
return ee(() => {
|
|
9680
|
-
|
|
9681
|
-
}, [
|
|
9680
|
+
S && n && n(S);
|
|
9681
|
+
}, [S, n]), t ? /* @__PURE__ */ u(
|
|
9682
9682
|
yn,
|
|
9683
9683
|
{
|
|
9684
9684
|
name: r,
|
|
9685
|
-
control:
|
|
9685
|
+
control: v,
|
|
9686
9686
|
rules: {
|
|
9687
9687
|
required: l ? `${m(s)} ${m("errorMessages.required")}` : !1,
|
|
9688
|
-
validate: c ? (
|
|
9688
|
+
validate: c ? (b) => {
|
|
9689
9689
|
let C = t.getValues();
|
|
9690
|
-
return c(
|
|
9690
|
+
return c(b, C);
|
|
9691
9691
|
} : void 0
|
|
9692
9692
|
},
|
|
9693
|
-
render: ({ field:
|
|
9693
|
+
render: ({ field: b, fieldState: C }) => {
|
|
9694
9694
|
var E;
|
|
9695
9695
|
const w = y.find(
|
|
9696
|
-
(L) => L.value ===
|
|
9696
|
+
(L) => L.value === b.value
|
|
9697
9697
|
);
|
|
9698
|
-
return /* @__PURE__ */
|
|
9699
|
-
s && /* @__PURE__ */
|
|
9698
|
+
return /* @__PURE__ */ T("div", { className: Ve.selectInputContainer, children: [
|
|
9699
|
+
s && /* @__PURE__ */ T("h3", { className: Ve.labelContainer, children: [
|
|
9700
9700
|
m(s),
|
|
9701
9701
|
" ",
|
|
9702
9702
|
l && /* @__PURE__ */ u("label", { style: { color: C.error ? h : "" }, children: "*" })
|
|
9703
9703
|
] }),
|
|
9704
|
-
/* @__PURE__ */
|
|
9705
|
-
/* @__PURE__ */
|
|
9706
|
-
/* @__PURE__ */
|
|
9704
|
+
/* @__PURE__ */ T("div", { className: Ve.selectWrapper, children: [
|
|
9705
|
+
/* @__PURE__ */ T("div", { className: Ve.inputContainer, style: { width: g }, children: [
|
|
9706
|
+
/* @__PURE__ */ T(
|
|
9707
9707
|
"select",
|
|
9708
9708
|
{
|
|
9709
|
-
...
|
|
9710
|
-
value:
|
|
9709
|
+
...b,
|
|
9710
|
+
value: b.value ?? "",
|
|
9711
9711
|
onChange: (L) => {
|
|
9712
9712
|
const A = L.target.value, j = y.every((V) => typeof V.value == "number") ? Number(A) : A;
|
|
9713
|
-
|
|
9713
|
+
b.onChange(j);
|
|
9714
9714
|
},
|
|
9715
9715
|
className: Ve.selectInput,
|
|
9716
9716
|
children: [
|
|
@@ -9748,30 +9748,30 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9748
9748
|
] });
|
|
9749
9749
|
}
|
|
9750
9750
|
}
|
|
9751
|
-
) : /* @__PURE__ */
|
|
9752
|
-
s && /* @__PURE__ */
|
|
9751
|
+
) : /* @__PURE__ */ T("div", { className: Ve.selectInputContainer, children: [
|
|
9752
|
+
s && /* @__PURE__ */ T("h3", { className: Ve.labelContainer, children: [
|
|
9753
9753
|
m(s),
|
|
9754
9754
|
" ",
|
|
9755
9755
|
l && /* @__PURE__ */ u("label", { children: "*" })
|
|
9756
9756
|
] }),
|
|
9757
|
-
/* @__PURE__ */
|
|
9758
|
-
/* @__PURE__ */
|
|
9757
|
+
/* @__PURE__ */ T("div", { className: Ve.inputContainer, style: { width: g }, children: [
|
|
9758
|
+
/* @__PURE__ */ T(
|
|
9759
9759
|
"select",
|
|
9760
9760
|
{
|
|
9761
|
-
value:
|
|
9762
|
-
onChange: (
|
|
9763
|
-
const C =
|
|
9761
|
+
value: S ?? "",
|
|
9762
|
+
onChange: (b) => {
|
|
9763
|
+
const C = b.target.value, w = y.every((E) => typeof E.value == "number") ? Number(C) : C;
|
|
9764
9764
|
$(w);
|
|
9765
9765
|
},
|
|
9766
9766
|
className: Ve.selectInput,
|
|
9767
9767
|
children: [
|
|
9768
9768
|
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: m(d || "selectOption") }),
|
|
9769
|
-
y.map((
|
|
9769
|
+
y.map((b, C) => /* @__PURE__ */ u(
|
|
9770
9770
|
"option",
|
|
9771
9771
|
{
|
|
9772
|
-
value:
|
|
9772
|
+
value: b.value,
|
|
9773
9773
|
className: Ve.option,
|
|
9774
|
-
children: m(
|
|
9774
|
+
children: m(b.label)
|
|
9775
9775
|
},
|
|
9776
9776
|
C
|
|
9777
9777
|
))
|
|
@@ -9781,10 +9781,10 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9781
9781
|
/* @__PURE__ */ u("img", { src: Ci, alt: "Open", className: Ve.dropdownArrow })
|
|
9782
9782
|
] }),
|
|
9783
9783
|
(() => {
|
|
9784
|
-
const
|
|
9785
|
-
(C) => C.value ===
|
|
9784
|
+
const b = y.find(
|
|
9785
|
+
(C) => C.value === S
|
|
9786
9786
|
);
|
|
9787
|
-
return
|
|
9787
|
+
return b && b.description ? /* @__PURE__ */ u("div", { className: Ve.optionDescription, children: m(b.description) }) : null;
|
|
9788
9788
|
})()
|
|
9789
9789
|
] });
|
|
9790
9790
|
}, gd = "_radioButtonContainer_1e994_2", yd = "_wholeInputContainer_1e994_5", bd = "_questionContainer_1e994_27", vd = "_radioQuestion_1e994_59", Cd = "_inputContainer_1e994_63", _d = "_radioInput_1e994_93", St = {
|
|
@@ -9803,13 +9803,13 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9803
9803
|
errorColor: a = "red",
|
|
9804
9804
|
options: l = [],
|
|
9805
9805
|
multi: c = !1
|
|
9806
|
-
} = e, { t: d } = le(), { control: h, trigger: g, clearErrors: y } = t, { errorColor: m } = vn((_) => _),
|
|
9807
|
-
if (c &&
|
|
9808
|
-
let $ =
|
|
9806
|
+
} = e, { t: d } = le(), { control: h, trigger: g, clearErrors: y } = t, { errorColor: m } = vn((_) => _), v = ({ options: _, onChange: x, actualValue: S }) => {
|
|
9807
|
+
if (c && S && S.length > 0) {
|
|
9808
|
+
let $ = S.filter((b) => b !== _);
|
|
9809
9809
|
x($);
|
|
9810
9810
|
}
|
|
9811
|
-
}, f = ({ options: _, onChange: x, actualValue:
|
|
9812
|
-
c ?
|
|
9811
|
+
}, f = ({ options: _, onChange: x, actualValue: S }) => {
|
|
9812
|
+
c ? S && S.length > 0 ? x([...S, _]) : x([_]) : x(_);
|
|
9813
9813
|
};
|
|
9814
9814
|
return Te(o), /* @__PURE__ */ u(
|
|
9815
9815
|
yn,
|
|
@@ -9821,12 +9821,12 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9821
9821
|
},
|
|
9822
9822
|
render: ({
|
|
9823
9823
|
formState: { errors: _ },
|
|
9824
|
-
field: { onChange: x, onBlur:
|
|
9824
|
+
field: { onChange: x, onBlur: S, value: $, ref: b },
|
|
9825
9825
|
fieldState: C
|
|
9826
9826
|
}) => {
|
|
9827
9827
|
var w;
|
|
9828
|
-
return /* @__PURE__ */ u("div", { id: n + "id", className: St.radioButtonContainer, children: /* @__PURE__ */
|
|
9829
|
-
r && /* @__PURE__ */ u("div", { className: St.questionContainer, children: /* @__PURE__ */
|
|
9828
|
+
return /* @__PURE__ */ u("div", { id: n + "id", className: St.radioButtonContainer, children: /* @__PURE__ */ T("div", { className: St.wholeInputContainer, children: [
|
|
9829
|
+
r && /* @__PURE__ */ u("div", { className: St.questionContainer, children: /* @__PURE__ */ T(
|
|
9830
9830
|
"h3",
|
|
9831
9831
|
{
|
|
9832
9832
|
htmlFor: n + "id",
|
|
@@ -9844,7 +9844,7 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9844
9844
|
]
|
|
9845
9845
|
}
|
|
9846
9846
|
) }),
|
|
9847
|
-
/* @__PURE__ */
|
|
9847
|
+
/* @__PURE__ */ T("div", { className: St.inputContainer, children: [
|
|
9848
9848
|
l.map(
|
|
9849
9849
|
({
|
|
9850
9850
|
label: E,
|
|
@@ -9853,14 +9853,14 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9853
9853
|
italicLabel: j
|
|
9854
9854
|
}, V) => {
|
|
9855
9855
|
const p = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((N) => N === L) : $ === L;
|
|
9856
|
-
return /* @__PURE__ */
|
|
9856
|
+
return /* @__PURE__ */ T("label", { children: [
|
|
9857
9857
|
/* @__PURE__ */ u(
|
|
9858
9858
|
"input",
|
|
9859
9859
|
{
|
|
9860
9860
|
type: "radio",
|
|
9861
9861
|
checked: p,
|
|
9862
9862
|
onChange: () => {
|
|
9863
|
-
c ? p ?
|
|
9863
|
+
c ? p ? v({
|
|
9864
9864
|
actualValue: $,
|
|
9865
9865
|
options: l,
|
|
9866
9866
|
onChange: x
|
|
@@ -9913,14 +9913,14 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9913
9913
|
labelWidth: g = "300px",
|
|
9914
9914
|
sliderWidth: y = "300px",
|
|
9915
9915
|
minText: m,
|
|
9916
|
-
maxText:
|
|
9916
|
+
maxText: v,
|
|
9917
9917
|
disabled: f = !1,
|
|
9918
9918
|
marks: _ = Array.from(
|
|
9919
9919
|
{ length: a - s + 1 },
|
|
9920
9920
|
(A, j) => s + j
|
|
9921
9921
|
),
|
|
9922
9922
|
showMarksNumber: x = !0
|
|
9923
|
-
} = e, { t:
|
|
9923
|
+
} = e, { t: S } = le(), { control: $, trigger: b, clearErrors: C } = t || {};
|
|
9924
9924
|
Te(d);
|
|
9925
9925
|
const { errorColorForm: w } = vn((A) => A), [E, L] = de(l);
|
|
9926
9926
|
return t ? /* @__PURE__ */ u(
|
|
@@ -9930,11 +9930,11 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9930
9930
|
control: $,
|
|
9931
9931
|
defaultValue: l,
|
|
9932
9932
|
rules: {
|
|
9933
|
-
required: d ? `${
|
|
9933
|
+
required: d ? `${S(o)} ${S("errorMessages.required")}` : !1
|
|
9934
9934
|
},
|
|
9935
9935
|
render: ({ field: A, fieldState: j }) => {
|
|
9936
9936
|
var V;
|
|
9937
|
-
return /* @__PURE__ */
|
|
9937
|
+
return /* @__PURE__ */ T(
|
|
9938
9938
|
"div",
|
|
9939
9939
|
{
|
|
9940
9940
|
className: Ne.rankingSliderContainer,
|
|
@@ -9947,12 +9947,12 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9947
9947
|
{
|
|
9948
9948
|
className: Ne.labelContainer,
|
|
9949
9949
|
style: { color: f ? "#CCCCCC" : "#605B56" },
|
|
9950
|
-
children:
|
|
9950
|
+
children: S(o)
|
|
9951
9951
|
}
|
|
9952
9952
|
),
|
|
9953
|
-
/* @__PURE__ */
|
|
9954
|
-
m && /* @__PURE__ */ u("div", { className: Ne.minLabel, children:
|
|
9955
|
-
/* @__PURE__ */
|
|
9953
|
+
/* @__PURE__ */ T("div", { className: Ne.inputContainer, children: [
|
|
9954
|
+
m && /* @__PURE__ */ u("div", { className: Ne.minLabel, children: S(m) }),
|
|
9955
|
+
/* @__PURE__ */ T("div", { children: [
|
|
9956
9956
|
/* @__PURE__ */ u(
|
|
9957
9957
|
Br,
|
|
9958
9958
|
{
|
|
@@ -9984,7 +9984,7 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9984
9984
|
),
|
|
9985
9985
|
_ && /* @__PURE__ */ u("div", { className: Ne.labels, children: _.map((p) => /* @__PURE__ */ u("span", { children: x && p }, p)) })
|
|
9986
9986
|
] }),
|
|
9987
|
-
|
|
9987
|
+
v && /* @__PURE__ */ u("div", { className: Ne.maxLabel, children: S(v) })
|
|
9988
9988
|
] }),
|
|
9989
9989
|
/* @__PURE__ */ u(
|
|
9990
9990
|
bn,
|
|
@@ -9998,7 +9998,7 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
9998
9998
|
);
|
|
9999
9999
|
}
|
|
10000
10000
|
}
|
|
10001
|
-
) : /* @__PURE__ */
|
|
10001
|
+
) : /* @__PURE__ */ T(
|
|
10002
10002
|
"div",
|
|
10003
10003
|
{
|
|
10004
10004
|
className: Ne.rankingSliderContainer,
|
|
@@ -10009,12 +10009,12 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
10009
10009
|
{
|
|
10010
10010
|
className: Ne.labelContainer,
|
|
10011
10011
|
style: { color: f ? "#CCCCCC" : "#605B56" },
|
|
10012
|
-
children:
|
|
10012
|
+
children: S(o)
|
|
10013
10013
|
}
|
|
10014
10014
|
),
|
|
10015
|
-
/* @__PURE__ */
|
|
10016
|
-
m && /* @__PURE__ */ u("div", { className: Ne.minLabel, children:
|
|
10017
|
-
/* @__PURE__ */
|
|
10015
|
+
/* @__PURE__ */ T("div", { className: Ne.inputContainer, children: [
|
|
10016
|
+
m && /* @__PURE__ */ u("div", { className: Ne.minLabel, children: S(m) }),
|
|
10017
|
+
/* @__PURE__ */ T("div", { children: [
|
|
10018
10018
|
/* @__PURE__ */ u(
|
|
10019
10019
|
Br,
|
|
10020
10020
|
{
|
|
@@ -10046,7 +10046,7 @@ const Qu = "_textInputContainer_1o3iy_2", Ju = "_labelContainer_1o3iy_5", ed = "
|
|
|
10046
10046
|
),
|
|
10047
10047
|
_ && /* @__PURE__ */ u("div", { className: Ne.labels, children: _.map((A) => /* @__PURE__ */ u("span", { children: x && A }, A)) })
|
|
10048
10048
|
] }),
|
|
10049
|
-
|
|
10049
|
+
v && /* @__PURE__ */ u("div", { className: Ne.maxLabel, children: S(v) })
|
|
10050
10050
|
] })
|
|
10051
10051
|
]
|
|
10052
10052
|
}
|
|
@@ -10247,13 +10247,13 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10247
10247
|
activeCategory: g = null,
|
|
10248
10248
|
activeCategoryColor: y = "#b32f5d",
|
|
10249
10249
|
categoriesWithErrors: m = [],
|
|
10250
|
-
onSubmit:
|
|
10250
|
+
onSubmit: v = (f) => console.log("Form submitted with: ", f)
|
|
10251
10251
|
}) => {
|
|
10252
10252
|
const { t: f } = le(), { handleSubmit: _, control: x } = e;
|
|
10253
10253
|
ee(() => {
|
|
10254
10254
|
s && vn.setState(() => ({ errorColor: s }));
|
|
10255
10255
|
}, [s]);
|
|
10256
|
-
const
|
|
10256
|
+
const S = ze(() => t ? t.filter((A) => A.category).map((A) => {
|
|
10257
10257
|
var j;
|
|
10258
10258
|
return {
|
|
10259
10259
|
id: A.categoryId,
|
|
@@ -10263,20 +10263,20 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10263
10263
|
}) : [], [t]), $ = (A) => {
|
|
10264
10264
|
const j = t == null ? void 0 : t.find((V) => V.categoryId === A);
|
|
10265
10265
|
return (j == null ? void 0 : j.subcategories) || [];
|
|
10266
|
-
}, [
|
|
10266
|
+
}, [b, C] = de(
|
|
10267
10267
|
g || d || null
|
|
10268
10268
|
), [w, E] = de(null);
|
|
10269
10269
|
ee(() => {
|
|
10270
|
-
!
|
|
10271
|
-
}, [
|
|
10272
|
-
const A = $(
|
|
10270
|
+
!b && S.length > 0 && C(S[0].id);
|
|
10271
|
+
}, [S, b]), ee(() => {
|
|
10272
|
+
const A = $(b);
|
|
10273
10273
|
!w && (A == null ? void 0 : A.length) > 0 && E(A[0].id);
|
|
10274
|
-
}, [
|
|
10274
|
+
}, [b, w, t]);
|
|
10275
10275
|
const L = (A, j) => {
|
|
10276
10276
|
var V;
|
|
10277
10277
|
if (((V = A.subcategories) == null ? void 0 : V.length) > 0) {
|
|
10278
10278
|
const p = A.subcategories;
|
|
10279
|
-
return /* @__PURE__ */
|
|
10279
|
+
return /* @__PURE__ */ T("div", { children: [
|
|
10280
10280
|
/* @__PURE__ */ u(
|
|
10281
10281
|
"div",
|
|
10282
10282
|
{
|
|
@@ -10294,7 +10294,7 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10294
10294
|
},
|
|
10295
10295
|
A.categoryId
|
|
10296
10296
|
),
|
|
10297
|
-
p.map((N,
|
|
10297
|
+
p.map((N, k) => {
|
|
10298
10298
|
const F = !w || N.id === w;
|
|
10299
10299
|
return n ? /* @__PURE__ */ u(
|
|
10300
10300
|
"div",
|
|
@@ -10314,8 +10314,8 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10314
10314
|
}
|
|
10315
10315
|
) }, N.id)
|
|
10316
10316
|
},
|
|
10317
|
-
`${N.id}${
|
|
10318
|
-
) : /* @__PURE__ */
|
|
10317
|
+
`${N.id}${k}`
|
|
10318
|
+
) : /* @__PURE__ */ T(
|
|
10319
10319
|
"div",
|
|
10320
10320
|
{
|
|
10321
10321
|
style: {
|
|
@@ -10336,7 +10336,7 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10336
10336
|
)
|
|
10337
10337
|
]
|
|
10338
10338
|
},
|
|
10339
|
-
`${N.id}${
|
|
10339
|
+
`${N.id}${k}`
|
|
10340
10340
|
);
|
|
10341
10341
|
})
|
|
10342
10342
|
] });
|
|
@@ -10350,7 +10350,7 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10350
10350
|
errorColor: s,
|
|
10351
10351
|
reactHookFormInstance: e
|
|
10352
10352
|
}
|
|
10353
|
-
) }, A.categoryId) : /* @__PURE__ */
|
|
10353
|
+
) }, A.categoryId) : /* @__PURE__ */ T("div", { style: { width: "100%" }, children: [
|
|
10354
10354
|
/* @__PURE__ */ u("h2", { children: f(A.category) }),
|
|
10355
10355
|
/* @__PURE__ */ u(
|
|
10356
10356
|
on,
|
|
@@ -10364,12 +10364,12 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10364
10364
|
)
|
|
10365
10365
|
] }, A.categoryId);
|
|
10366
10366
|
};
|
|
10367
|
-
return /* @__PURE__ */
|
|
10368
|
-
c &&
|
|
10367
|
+
return /* @__PURE__ */ T("form", { className: nn.formContainer, onSubmit: _(v), children: [
|
|
10368
|
+
c && S.length > 0 && /* @__PURE__ */ u("div", { className: nn.categorySelectorContainer, children: /* @__PURE__ */ u(
|
|
10369
10369
|
xi,
|
|
10370
10370
|
{
|
|
10371
|
-
activeCategory:
|
|
10372
|
-
categories:
|
|
10371
|
+
activeCategory: b,
|
|
10372
|
+
categories: S,
|
|
10373
10373
|
categoriesWithErrors: m,
|
|
10374
10374
|
onChange: (A) => {
|
|
10375
10375
|
C(A), E(null);
|
|
@@ -10378,7 +10378,7 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10378
10378
|
}
|
|
10379
10379
|
) }),
|
|
10380
10380
|
/* @__PURE__ */ u("div", { className: nn.formObjectContainer, children: t == null ? void 0 : t.map((A, j) => {
|
|
10381
|
-
const V = A.categoryId ===
|
|
10381
|
+
const V = A.categoryId === b;
|
|
10382
10382
|
return A.category ? /* @__PURE__ */ u(
|
|
10383
10383
|
"div",
|
|
10384
10384
|
{
|
|
@@ -10401,7 +10401,7 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10401
10401
|
`no-category-${j}`
|
|
10402
10402
|
);
|
|
10403
10403
|
}) }),
|
|
10404
|
-
/* @__PURE__ */
|
|
10404
|
+
/* @__PURE__ */ T("div", { className: nn.buttonContainer, children: [
|
|
10405
10405
|
/* @__PURE__ */ u(Yn, { containerStyles: l, type: "submit", children: f(a) }),
|
|
10406
10406
|
/* @__PURE__ */ u(bn, { errorMessage: o, errorColor: s })
|
|
10407
10407
|
] })
|
|
@@ -10423,7 +10423,7 @@ const Ad = "_textDescriptionContainer_163pc_2", Ld = "_textDescriptionText_163pc
|
|
|
10423
10423
|
buttons: o,
|
|
10424
10424
|
maxHeight: s = "450px",
|
|
10425
10425
|
maxWidth: a = "450px"
|
|
10426
|
-
}) => /* @__PURE__ */ u("div", { className: mt.overlay, children: /* @__PURE__ */
|
|
10426
|
+
}) => /* @__PURE__ */ u("div", { className: mt.overlay, children: /* @__PURE__ */ T(
|
|
10427
10427
|
"div",
|
|
10428
10428
|
{
|
|
10429
10429
|
className: mt.modal,
|
|
@@ -10465,8 +10465,8 @@ const Hd = "_stepsContainer_1cyua_3", Kd = "_stepWrapper_1cyua_9", Gd = "_circle
|
|
|
10465
10465
|
connector: tf
|
|
10466
10466
|
}, As = ({ steps: e, activeColor: t }) => /* @__PURE__ */ u("div", { className: st.stepsContainer, children: e.map((n, r) => {
|
|
10467
10467
|
const o = n.status === "active", s = n.status === "completed";
|
|
10468
|
-
return /* @__PURE__ */
|
|
10469
|
-
/* @__PURE__ */
|
|
10468
|
+
return /* @__PURE__ */ T("div", { className: st.stepWrapper, children: [
|
|
10469
|
+
/* @__PURE__ */ T("div", { className: st.circleContainer, children: [
|
|
10470
10470
|
/* @__PURE__ */ u(
|
|
10471
10471
|
"div",
|
|
10472
10472
|
{
|
|
@@ -10565,9 +10565,9 @@ const cf = "_switchContainer_194wl_2", uf = "_labelRight_194wl_9", df = "_labelL
|
|
|
10565
10565
|
colorOn: c = "#5A514D",
|
|
10566
10566
|
disabled: d = !1,
|
|
10567
10567
|
width: h = 240
|
|
10568
|
-
} = e, { t: g } = le(), { control: y } = t || {}, [m,
|
|
10569
|
-
|
|
10570
|
-
}, _ = (x,
|
|
10568
|
+
} = e, { t: g } = le(), { control: y } = t || {}, [m, v] = de(l), f = (x) => {
|
|
10569
|
+
v(x), n && n(x);
|
|
10570
|
+
}, _ = (x, S) => /* @__PURE__ */ T("div", { className: Wt.switchContainer, style: { width: `${h}px` }, children: [
|
|
10571
10571
|
s && /* @__PURE__ */ u(
|
|
10572
10572
|
"span",
|
|
10573
10573
|
{
|
|
@@ -10576,13 +10576,13 @@ const cf = "_switchContainer_194wl_2", uf = "_labelRight_194wl_9", df = "_labelL
|
|
|
10576
10576
|
children: g(s)
|
|
10577
10577
|
}
|
|
10578
10578
|
),
|
|
10579
|
-
/* @__PURE__ */
|
|
10579
|
+
/* @__PURE__ */ T("label", { className: `${Wt.switch} ${d ? Wt.disabled : ""}`, children: [
|
|
10580
10580
|
/* @__PURE__ */ u(
|
|
10581
10581
|
"input",
|
|
10582
10582
|
{
|
|
10583
10583
|
type: "checkbox",
|
|
10584
10584
|
checked: !!x,
|
|
10585
|
-
onChange: () =>
|
|
10585
|
+
onChange: () => S(!x),
|
|
10586
10586
|
disabled: d
|
|
10587
10587
|
}
|
|
10588
10588
|
),
|
|
@@ -10625,7 +10625,7 @@ const hf = "_overlay_1xyw2_2", gf = "_popup_1xyw2_15", yf = "_gif_1xyw2_25", bf
|
|
|
10625
10625
|
popup: gf,
|
|
10626
10626
|
gif: yf,
|
|
10627
10627
|
message: bf
|
|
10628
|
-
}, vf = ({ gifSrc: e, message: t }) => /* @__PURE__ */ u("div", { className: In.overlay, children: /* @__PURE__ */
|
|
10628
|
+
}, vf = ({ gifSrc: e, message: t }) => /* @__PURE__ */ u("div", { className: In.overlay, children: /* @__PURE__ */ T("div", { className: In.popup, children: [
|
|
10629
10629
|
e && /* @__PURE__ */ u(
|
|
10630
10630
|
"img",
|
|
10631
10631
|
{
|
|
@@ -10655,9 +10655,9 @@ const Cf = "_container_1pl8d_3", _f = "_burger_1pl8d_10", xf = "_menu_1pl8d_21",
|
|
|
10655
10655
|
textColor: n,
|
|
10656
10656
|
iconColor: r
|
|
10657
10657
|
}) => {
|
|
10658
|
-
const [o, s] = de(!1), a = () => s((
|
|
10659
|
-
return /* @__PURE__ */
|
|
10660
|
-
/* @__PURE__ */ u("button", { onClick: a, className: nt.burger, children: /* @__PURE__ */
|
|
10658
|
+
const [o, s] = de(!1), a = () => s((v) => !v), l = () => s(!1), c = 7, d = o ? 11 : 0, h = o ? 13 : 0, g = o ? -11.51666 : 0, y = o ? -13 : 0, m = "0.35s";
|
|
10659
|
+
return /* @__PURE__ */ T("div", { className: nt.container, children: [
|
|
10660
|
+
/* @__PURE__ */ u("button", { onClick: a, className: nt.burger, children: /* @__PURE__ */ T(
|
|
10661
10661
|
"svg",
|
|
10662
10662
|
{
|
|
10663
10663
|
width: "40",
|
|
@@ -10706,7 +10706,7 @@ const Cf = "_container_1pl8d_3", _f = "_burger_1pl8d_10", xf = "_menu_1pl8d_21",
|
|
|
10706
10706
|
children: /* @__PURE__ */ u("circle", { cx: "20", cy: "20", r: "10", fill: r })
|
|
10707
10707
|
}
|
|
10708
10708
|
),
|
|
10709
|
-
/* @__PURE__ */
|
|
10709
|
+
/* @__PURE__ */ T(
|
|
10710
10710
|
"g",
|
|
10711
10711
|
{
|
|
10712
10712
|
stroke: t,
|
|
@@ -10730,28 +10730,28 @@ const Cf = "_container_1pl8d_3", _f = "_burger_1pl8d_10", xf = "_menu_1pl8d_21",
|
|
|
10730
10730
|
{
|
|
10731
10731
|
className: `${nt.menu} ${o ? nt.menuOpen : nt.menuClose}`,
|
|
10732
10732
|
style: { backgroundColor: t, color: n },
|
|
10733
|
-
children: /* @__PURE__ */ u("ul", { className: nt.list, children: e.map((
|
|
10734
|
-
|
|
10733
|
+
children: /* @__PURE__ */ u("ul", { className: nt.list, children: e.map((v, f) => /* @__PURE__ */ T("li", { className: nt.item, children: [
|
|
10734
|
+
v.url && /* @__PURE__ */ u(
|
|
10735
10735
|
Di,
|
|
10736
10736
|
{
|
|
10737
|
-
to:
|
|
10737
|
+
to: v.url,
|
|
10738
10738
|
className: ({ isActive: _ }) => `${nt.link} ${_ ? nt.active : ""}`,
|
|
10739
10739
|
onClick: l,
|
|
10740
10740
|
style: { color: n },
|
|
10741
|
-
children:
|
|
10741
|
+
children: v.name
|
|
10742
10742
|
}
|
|
10743
10743
|
),
|
|
10744
|
-
|
|
10744
|
+
v.onclick && /* @__PURE__ */ u(
|
|
10745
10745
|
"button",
|
|
10746
10746
|
{
|
|
10747
10747
|
className: nt.button,
|
|
10748
10748
|
onClick: () => {
|
|
10749
|
-
|
|
10749
|
+
v.onclick(), l();
|
|
10750
10750
|
},
|
|
10751
|
-
children:
|
|
10751
|
+
children: v.name
|
|
10752
10752
|
}
|
|
10753
10753
|
),
|
|
10754
|
-
|
|
10754
|
+
v.component && v.component
|
|
10755
10755
|
] }, f)) })
|
|
10756
10756
|
}
|
|
10757
10757
|
)
|
|
@@ -10783,17 +10783,17 @@ const Ef = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
|
|
|
10783
10783
|
showYAxisLabels: c = !0,
|
|
10784
10784
|
showGrid: d = !0,
|
|
10785
10785
|
xAxisTickRotation: h = -90,
|
|
10786
|
-
yAxisTickFormat: g = (
|
|
10786
|
+
yAxisTickFormat: g = (b) => b.toLocaleString("es-ES"),
|
|
10787
10787
|
barPadding: y = 0.1,
|
|
10788
10788
|
groupPadding: m = 0.05,
|
|
10789
|
-
animationDuration:
|
|
10789
|
+
animationDuration: v = 750,
|
|
10790
10790
|
onBarHover: f,
|
|
10791
10791
|
onBarClick: _,
|
|
10792
10792
|
title: x,
|
|
10793
|
-
xAxisLabel:
|
|
10793
|
+
xAxisLabel: S,
|
|
10794
10794
|
yAxisLabel: $
|
|
10795
10795
|
}) => {
|
|
10796
|
-
const
|
|
10796
|
+
const b = Te(), C = Te(), [w, E] = de({ width: 0, height: 0 });
|
|
10797
10797
|
return ee(() => {
|
|
10798
10798
|
const L = () => {
|
|
10799
10799
|
if (C.current) {
|
|
@@ -10807,23 +10807,23 @@ const Ef = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
|
|
|
10807
10807
|
return L(), window.addEventListener("resize", L), () => window.removeEventListener("resize", L);
|
|
10808
10808
|
}, [r, o]), ee(() => {
|
|
10809
10809
|
if (!e || e.length === 0 || w.width === 0) return;
|
|
10810
|
-
const L = ht(
|
|
10810
|
+
const L = ht(b.current), A = w.width, j = w.height, V = A - s.left - s.right, p = j - s.top - s.bottom;
|
|
10811
10811
|
if (V <= 0 || p <= 0) return;
|
|
10812
|
-
const N = e.map((P) => P.anyo || P.year || P.x),
|
|
10812
|
+
const N = e.map((P) => P.anyo || P.year || P.x), k = t, F = jn(e, (P) => jn(k, (Z) => P[Z])) || 0, z = qn(e, (P) => qn(k, (Z) => P[Z])) || 0, Y = Rr().domain(N).rangeRound([0, V]).paddingInner(y), W = Rr().domain(k).rangeRound([0, Y.bandwidth()]).padding(m), ce = Ai().domain([Math.min(0, F), z]).nice().rangeRound([p, 0]), D = Li().domain(k).range(Array.isArray(n) ? n : Object.values(n || {}));
|
|
10813
10813
|
L.selectAll("*").remove();
|
|
10814
10814
|
const M = L.append("g").attr("transform", `translate(${s.left},${s.top})`);
|
|
10815
|
-
x && L.append("text").attr("x", A / 2).attr("y", s.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), d && M.append("g").attr("class", "grid").selectAll("line").data(ce.ticks()).enter().append("line").attr("x1", 0).attr("x2", V).attr("y1", (P) => ce(P)).attr("y2", (P) => ce(P)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (M.append("g").attr("transform", `translate(0,${p})`).call(Mi(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${h})`).style("text-anchor", h < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"),
|
|
10815
|
+
x && L.append("text").attr("x", A / 2).attr("y", s.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), d && M.append("g").attr("class", "grid").selectAll("line").data(ce.ticks()).enter().append("line").attr("x1", 0).attr("x2", V).attr("y1", (P) => ce(P)).attr("y2", (P) => ce(P)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (M.append("g").attr("transform", `translate(0,${p})`).call(Mi(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${h})`).style("text-anchor", h < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), S && M.append("text").attr(
|
|
10816
10816
|
"transform",
|
|
10817
10817
|
`translate(${V / 2}, ${p + s.bottom - 5})`
|
|
10818
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(
|
|
10818
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S)), c && (M.append("g").call(Dr(ce).ticks(6).tickFormat(g)).attr("class", "y-axis").call((P) => P.select(".domain").remove()), $ && M.append("text").attr("transform", "rotate(-90)").attr("y", 0 - s.left).attr("x", 0 - p / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
10819
10819
|
const K = M.append("g").selectAll(".bar-group").data(e).enter().append("g").attr("class", "bar-group").attr("transform", (P) => `translate(${Y(P.anyo || P.year || P.x)},0)`).selectAll(".bar").data(
|
|
10820
|
-
(P) =>
|
|
10820
|
+
(P) => k.map((Z) => ({
|
|
10821
10821
|
key: Z,
|
|
10822
10822
|
value: P[Z],
|
|
10823
10823
|
data: P
|
|
10824
10824
|
}))
|
|
10825
10825
|
).enter().append("rect").attr("class", "bar").attr("x", (P) => W(P.key)).attr("y", p).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (P) => D(P.key)).style("cursor", f || _ ? "pointer" : "default");
|
|
10826
|
-
K.transition().duration(
|
|
10826
|
+
K.transition().duration(v).attr("y", (P) => ce(Math.max(0, P.value))).attr("height", (P) => Math.abs(ce(P.value) - ce(0))), f && K.on("mouseover", function(P, Z) {
|
|
10827
10827
|
ht(this).style("opacity", 0.8), f(P, Z);
|
|
10828
10828
|
}).on("mouseout", function(P, Z) {
|
|
10829
10829
|
ht(this).style("opacity", 1);
|
|
@@ -10841,11 +10841,11 @@ const Ef = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
|
|
|
10841
10841
|
d,
|
|
10842
10842
|
h,
|
|
10843
10843
|
g,
|
|
10844
|
-
|
|
10844
|
+
v,
|
|
10845
10845
|
f,
|
|
10846
10846
|
_,
|
|
10847
10847
|
x,
|
|
10848
|
-
|
|
10848
|
+
S,
|
|
10849
10849
|
$
|
|
10850
10850
|
]), /* @__PURE__ */ u(
|
|
10851
10851
|
"div",
|
|
@@ -10856,7 +10856,7 @@ const Ef = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
|
|
|
10856
10856
|
children: /* @__PURE__ */ u(
|
|
10857
10857
|
"svg",
|
|
10858
10858
|
{
|
|
10859
|
-
ref:
|
|
10859
|
+
ref: b,
|
|
10860
10860
|
className: wi.svg,
|
|
10861
10861
|
width: w.width,
|
|
10862
10862
|
height: w.height
|
|
@@ -10914,13 +10914,13 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
10914
10914
|
xAxisTickRotation: g = -90,
|
|
10915
10915
|
yAxisTickFormat: y = (A) => A.toLocaleString("es-ES"),
|
|
10916
10916
|
barPadding: m = 0.4,
|
|
10917
|
-
animationDuration:
|
|
10917
|
+
animationDuration: v = 750,
|
|
10918
10918
|
onBarHover: f,
|
|
10919
10919
|
onBarClick: _,
|
|
10920
10920
|
title: x,
|
|
10921
|
-
xAxisLabel:
|
|
10921
|
+
xAxisLabel: S,
|
|
10922
10922
|
yAxisLabel: $,
|
|
10923
|
-
stackOrder:
|
|
10923
|
+
stackOrder: b = "reverse",
|
|
10924
10924
|
// "reverse", "ascending", "descending", "insideOut", "none"
|
|
10925
10925
|
showTooltip: C = !0,
|
|
10926
10926
|
reverseKeys: w = !0,
|
|
@@ -10934,7 +10934,7 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
10934
10934
|
height: 0
|
|
10935
10935
|
}), { t: N } = le();
|
|
10936
10936
|
return ee(() => {
|
|
10937
|
-
const
|
|
10937
|
+
const k = () => {
|
|
10938
10938
|
if (j.current) {
|
|
10939
10939
|
const F = j.current.getBoundingClientRect().width;
|
|
10940
10940
|
p({
|
|
@@ -10943,12 +10943,12 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
10943
10943
|
});
|
|
10944
10944
|
}
|
|
10945
10945
|
};
|
|
10946
|
-
return
|
|
10946
|
+
return k(), window.addEventListener("resize", k), () => window.removeEventListener("resize", k);
|
|
10947
10947
|
}, [o, s]), ee(() => {
|
|
10948
10948
|
if (!e || e.length === 0 || V.containerWidth === 0) return;
|
|
10949
|
-
const
|
|
10949
|
+
const k = ht(A.current), { containerWidth: F, height: z } = V, Y = F - a.left - a.right, W = e.length * E, ce = Math.max(Y, W), D = ce + a.left + a.right, M = z - a.top - a.bottom;
|
|
10950
10950
|
if (ce <= 0 || M <= 0) return;
|
|
10951
|
-
|
|
10951
|
+
k.attr("width", D).attr("height", z);
|
|
10952
10952
|
const J = w ? [...t].reverse() : t, K = [];
|
|
10953
10953
|
e.forEach((q) => {
|
|
10954
10954
|
const re = q.any || q.year || q.x, we = J.map((_e) => ({
|
|
@@ -10998,9 +10998,9 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
10998
10998
|
const we = G(q.any || q.year || q.x) + G.bandwidth() / 2, Ce = U(r[re] || 0);
|
|
10999
10999
|
return { x: we, y: Ce };
|
|
11000
11000
|
}) : [];
|
|
11001
|
-
|
|
11002
|
-
const ue =
|
|
11003
|
-
x &&
|
|
11001
|
+
k.selectAll("*").remove();
|
|
11002
|
+
const ue = k.append("g").attr("transform", `translate(${a.left},${a.top})`);
|
|
11003
|
+
x && k.append("text").attr("x", svgWidth / 2).attr("y", a.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), h && ue.append("g").attr("class", "grid").selectAll("line").data(U.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", ce).attr("y1", (q) => U(q)).attr("y2", (q) => U(q)).style("stroke", "#e0e0e0").style("stroke-width", 0.5);
|
|
11004
11004
|
const I = (q, re = 12) => {
|
|
11005
11005
|
if (!L || q.length <= re) return [q];
|
|
11006
11006
|
const we = Math.floor(q.length / 2);
|
|
@@ -11041,10 +11041,10 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
11041
11041
|
).text(B);
|
|
11042
11042
|
});
|
|
11043
11043
|
}
|
|
11044
|
-
}),
|
|
11044
|
+
}), S && ue.append("text").attr(
|
|
11045
11045
|
"transform",
|
|
11046
11046
|
`translate(${ce / 2}, ${M + a.bottom - 5})`
|
|
11047
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(
|
|
11047
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S)), d && (ue.append("g").attr("class", "y-axis").call(Dr(U).ticks(6).tickFormat(y)).call((q) => q.select(".domain").remove()), ue.append("g").attr("class", "y-ticks").attr("transform", `translate(${ce}, 0)`).call(Dr(U).ticks(6).tickSizeInner(ce)).call((q) => q.select(".domain").remove()).call((q) => q.selectAll(".tick text").remove()), $ && ue.append("text").attr("transform", "rotate(-90)").attr("y", 0 - a.left).attr("x", 0 - M / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
11048
11048
|
let se;
|
|
11049
11049
|
C && (se = ht("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"));
|
|
11050
11050
|
const Ie = ue.selectAll(".segment").data(K, (q) => `${q.xKey}-${q.key}`);
|
|
@@ -11053,7 +11053,7 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
11053
11053
|
"cursor",
|
|
11054
11054
|
f || _ || C ? "pointer" : "default"
|
|
11055
11055
|
).merge(Ie);
|
|
11056
|
-
if (et.transition().duration(
|
|
11056
|
+
if (et.transition().duration(v).attr("x", (q) => G(q.xKey)).attr("y", (q) => Math.min(U(q.y0), U(q.y1))).attr("height", (q) => Math.abs(U(q.y1) - U(q.y0))), (C || f) && et.on("mouseover", function(q, re) {
|
|
11057
11057
|
const we = re.value;
|
|
11058
11058
|
C && se && se.style("visibility", "visible").html(`
|
|
11059
11059
|
<strong>${N(re.key)}</strong><br/>
|
|
@@ -11095,13 +11095,13 @@ const Af = "_svgContainer_7fkic_2", Lf = "_svg_7fkic_2", Si = {
|
|
|
11095
11095
|
h,
|
|
11096
11096
|
g,
|
|
11097
11097
|
y,
|
|
11098
|
-
|
|
11098
|
+
v,
|
|
11099
11099
|
f,
|
|
11100
11100
|
_,
|
|
11101
11101
|
x,
|
|
11102
|
-
|
|
11102
|
+
S,
|
|
11103
11103
|
$,
|
|
11104
|
-
|
|
11104
|
+
b,
|
|
11105
11105
|
C,
|
|
11106
11106
|
w,
|
|
11107
11107
|
L
|
|
@@ -11204,16 +11204,16 @@ const Rf = "_externalContainer_1er0i_2", Df = "_externalSintetic_1er0i_9", If =
|
|
|
11204
11204
|
columnWidth: h = 50
|
|
11205
11205
|
}) => {
|
|
11206
11206
|
const g = c || ((m) => m), y = (m) => m === "demanda_red" || m === "reduccio_demanda_red" ? (l.demanda || "").replace("(", "").replace(")", "") : l[m] || "";
|
|
11207
|
-
return /* @__PURE__ */
|
|
11207
|
+
return /* @__PURE__ */ T(
|
|
11208
11208
|
"div",
|
|
11209
11209
|
{
|
|
11210
11210
|
className: `${Be.externalContainer} ${a === "sin" ? Be.externalSintetic : ""}`,
|
|
11211
11211
|
children: [
|
|
11212
|
-
s === !0 && /* @__PURE__ */
|
|
11212
|
+
s === !0 && /* @__PURE__ */ T(fn, { children: [
|
|
11213
11213
|
/* @__PURE__ */ u("div", {}),
|
|
11214
|
-
/* @__PURE__ */ u("div", { className: Be.yearTitles, children: e.map((m,
|
|
11214
|
+
/* @__PURE__ */ u("div", { className: Be.yearTitles, children: e.map((m, v) => /* @__PURE__ */ u("div", { className: Be.yearTitle, style: { width: h }, children: m.anyo }, v)) })
|
|
11215
11215
|
] }),
|
|
11216
|
-
/* @__PURE__ */ u("div", { className: Be.titles, children: t.map((m,
|
|
11216
|
+
/* @__PURE__ */ u("div", { className: Be.titles, children: t.map((m, v) => /* @__PURE__ */ T("div", { className: Be.titleContainer, children: [
|
|
11217
11217
|
g(r[m]),
|
|
11218
11218
|
a !== "sin" && /* @__PURE__ */ u(
|
|
11219
11219
|
"span",
|
|
@@ -11222,10 +11222,10 @@ const Rf = "_externalContainer_1er0i_2", Df = "_externalSintetic_1er0i_9", If =
|
|
|
11222
11222
|
style: { background: n[m] }
|
|
11223
11223
|
}
|
|
11224
11224
|
)
|
|
11225
|
-
] },
|
|
11226
|
-
o === !0 && /* @__PURE__ */ u("div", { className: Be.totalContainer, children: t.map((m,
|
|
11225
|
+
] }, v)) }),
|
|
11226
|
+
o === !0 && /* @__PURE__ */ u("div", { className: Be.totalContainer, children: t.map((m, v) => {
|
|
11227
11227
|
var f;
|
|
11228
|
-
return /* @__PURE__ */
|
|
11228
|
+
return /* @__PURE__ */ T(
|
|
11229
11229
|
"div",
|
|
11230
11230
|
{
|
|
11231
11231
|
className: `${Be.total} ${d(m, e) > 9999 || d(m, e) < -9999 ? Be.bigNumber : ""}`,
|
|
@@ -11235,22 +11235,22 @@ const Rf = "_externalContainer_1er0i_2", Df = "_externalSintetic_1er0i_9", If =
|
|
|
11235
11235
|
y(m)
|
|
11236
11236
|
]
|
|
11237
11237
|
},
|
|
11238
|
-
|
|
11238
|
+
v
|
|
11239
11239
|
);
|
|
11240
11240
|
}) }),
|
|
11241
|
-
/* @__PURE__ */ u("div", { className: Be.yearDatas, children: e.map((m,
|
|
11241
|
+
/* @__PURE__ */ u("div", { className: Be.yearDatas, children: e.map((m, v) => /* @__PURE__ */ u("div", { className: Be.yearDataContainer, style: { width: h }, children: t.map(
|
|
11242
11242
|
(f, _) => {
|
|
11243
|
-
var x,
|
|
11243
|
+
var x, S;
|
|
11244
11244
|
return isNaN(m[f]) ? null : /* @__PURE__ */ u(
|
|
11245
11245
|
"div",
|
|
11246
11246
|
{
|
|
11247
11247
|
className: `${Be.yearDataContent} ${m[f] > 9999 || m[f] < -9999 ? Be.bigNumber : ""}`,
|
|
11248
|
-
children: m[f] < 1e4 || m[f] > -1e4 ? (x = Hf(m[f])) == null ? void 0 : x.toLocaleString("es-ES") : (
|
|
11248
|
+
children: m[f] < 1e4 || m[f] > -1e4 ? (x = Hf(m[f])) == null ? void 0 : x.toLocaleString("es-ES") : (S = m[f]) == null ? void 0 : S.toLocaleString("es-ES")
|
|
11249
11249
|
},
|
|
11250
11250
|
_
|
|
11251
11251
|
);
|
|
11252
11252
|
}
|
|
11253
|
-
) },
|
|
11253
|
+
) }, v)) })
|
|
11254
11254
|
]
|
|
11255
11255
|
}
|
|
11256
11256
|
);
|
|
@@ -11298,8 +11298,8 @@ const Yf = "_speedGraphic_d1k72_2", Lr = {
|
|
|
11298
11298
|
}) => {
|
|
11299
11299
|
n < e && (n = e), n > t && (n = t);
|
|
11300
11300
|
const d = (n - e) / (t - e), h = 270 + d * 180, g = o ? Math.round(d * 100) : n;
|
|
11301
|
-
return /* @__PURE__ */
|
|
11302
|
-
/* @__PURE__ */
|
|
11301
|
+
return /* @__PURE__ */ T("div", { className: Lr.speedGraphic, children: [
|
|
11302
|
+
/* @__PURE__ */ T(
|
|
11303
11303
|
"svg",
|
|
11304
11304
|
{
|
|
11305
11305
|
width: "244",
|
|
@@ -11404,7 +11404,7 @@ const Yf = "_speedGraphic_d1k72_2", Lr = {
|
|
|
11404
11404
|
]
|
|
11405
11405
|
}
|
|
11406
11406
|
),
|
|
11407
|
-
/* @__PURE__ */
|
|
11407
|
+
/* @__PURE__ */ T("div", { className: Lr.value, children: [
|
|
11408
11408
|
g,
|
|
11409
11409
|
o && "%",
|
|
11410
11410
|
s && s
|
|
@@ -11472,8 +11472,8 @@ const ep = ({
|
|
|
11472
11472
|
containerStyles: h = {},
|
|
11473
11473
|
alignLeft: g = !1
|
|
11474
11474
|
}) => {
|
|
11475
|
-
const [y, m] = de(null),
|
|
11476
|
-
return /* @__PURE__ */
|
|
11475
|
+
const [y, m] = de(null), v = r / 2, f = r / 2, _ = r / 2 - 14, x = e === "donut" ? _ - o : 0, S = e === "donut" ? _ - o / 2 : _ * 0.62, $ = ze(() => Jf(t), [t]), b = y !== null ? $[y] : null, C = $.some((E) => E.ea - E.sa >= 359.99), w = a || (l === "transparent" ? Qf : l);
|
|
11476
|
+
return /* @__PURE__ */ T(
|
|
11477
11477
|
"div",
|
|
11478
11478
|
{
|
|
11479
11479
|
style: {
|
|
@@ -11487,7 +11487,7 @@ const ep = ({
|
|
|
11487
11487
|
...h
|
|
11488
11488
|
},
|
|
11489
11489
|
children: [
|
|
11490
|
-
/* @__PURE__ */
|
|
11490
|
+
/* @__PURE__ */ T(
|
|
11491
11491
|
"div",
|
|
11492
11492
|
{
|
|
11493
11493
|
style: {
|
|
@@ -11519,9 +11519,9 @@ const ep = ({
|
|
|
11519
11519
|
alignItems: "center",
|
|
11520
11520
|
gap: "8px",
|
|
11521
11521
|
transition: "opacity 0.15s",
|
|
11522
|
-
opacity:
|
|
11522
|
+
opacity: b ? 1 : 0
|
|
11523
11523
|
},
|
|
11524
|
-
children:
|
|
11524
|
+
children: b && /* @__PURE__ */ T(fn, { children: [
|
|
11525
11525
|
/* @__PURE__ */ u(
|
|
11526
11526
|
"span",
|
|
11527
11527
|
{
|
|
@@ -11530,12 +11530,12 @@ const ep = ({
|
|
|
11530
11530
|
width: "10px",
|
|
11531
11531
|
height: "10px",
|
|
11532
11532
|
borderRadius: "50%",
|
|
11533
|
-
background:
|
|
11533
|
+
background: b.color || Mr,
|
|
11534
11534
|
flexShrink: 0
|
|
11535
11535
|
}
|
|
11536
11536
|
}
|
|
11537
11537
|
),
|
|
11538
|
-
/* @__PURE__ */
|
|
11538
|
+
/* @__PURE__ */ T(
|
|
11539
11539
|
"span",
|
|
11540
11540
|
{
|
|
11541
11541
|
style: {
|
|
@@ -11544,9 +11544,9 @@ const ep = ({
|
|
|
11544
11544
|
fontWeight: "600"
|
|
11545
11545
|
},
|
|
11546
11546
|
children: [
|
|
11547
|
-
|
|
11547
|
+
b.title,
|
|
11548
11548
|
" — ",
|
|
11549
|
-
|
|
11549
|
+
b.value,
|
|
11550
11550
|
"%"
|
|
11551
11551
|
]
|
|
11552
11552
|
}
|
|
@@ -11557,7 +11557,7 @@ const ep = ({
|
|
|
11557
11557
|
]
|
|
11558
11558
|
}
|
|
11559
11559
|
),
|
|
11560
|
-
/* @__PURE__ */
|
|
11560
|
+
/* @__PURE__ */ T(
|
|
11561
11561
|
"div",
|
|
11562
11562
|
{
|
|
11563
11563
|
style: {
|
|
@@ -11567,7 +11567,7 @@ const ep = ({
|
|
|
11567
11567
|
gap: "16px"
|
|
11568
11568
|
},
|
|
11569
11569
|
children: [
|
|
11570
|
-
/* @__PURE__ */
|
|
11570
|
+
/* @__PURE__ */ T(
|
|
11571
11571
|
"svg",
|
|
11572
11572
|
{
|
|
11573
11573
|
width: r,
|
|
@@ -11576,7 +11576,7 @@ const ep = ({
|
|
|
11576
11576
|
style: { overflow: "visible" },
|
|
11577
11577
|
children: [
|
|
11578
11578
|
$.map((E, L) => {
|
|
11579
|
-
const A = y === L, { tx: j, ty: V } = A && !C ? Ti(
|
|
11579
|
+
const A = y === L, { tx: j, ty: V } = A && !C ? Ti(v, f, E.sa, E.ea, 10) : { tx: 0, ty: 0 };
|
|
11580
11580
|
return /* @__PURE__ */ u(
|
|
11581
11581
|
"g",
|
|
11582
11582
|
{
|
|
@@ -11588,7 +11588,7 @@ const ep = ({
|
|
|
11588
11588
|
children: /* @__PURE__ */ u(
|
|
11589
11589
|
"path",
|
|
11590
11590
|
{
|
|
11591
|
-
d: ki(
|
|
11591
|
+
d: ki(v, f, x, _, E.sa, E.ea),
|
|
11592
11592
|
fill: E.color || Mr,
|
|
11593
11593
|
style: {
|
|
11594
11594
|
filter: A ? "brightness(1.25)" : "brightness(1)",
|
|
@@ -11601,7 +11601,7 @@ const ep = ({
|
|
|
11601
11601
|
);
|
|
11602
11602
|
}),
|
|
11603
11603
|
!C && $.map((E, L) => {
|
|
11604
|
-
const A = ct(
|
|
11604
|
+
const A = ct(v, f, _, E.sa), j = e === "cheese" ? v : ct(v, f, x, E.sa).x, V = e === "cheese" ? f : ct(v, f, x, E.sa).y;
|
|
11605
11605
|
return /* @__PURE__ */ u(
|
|
11606
11606
|
"line",
|
|
11607
11607
|
{
|
|
@@ -11619,8 +11619,8 @@ const ep = ({
|
|
|
11619
11619
|
}),
|
|
11620
11620
|
$.map((E, L) => {
|
|
11621
11621
|
if (E.ea - E.sa < 20) return null;
|
|
11622
|
-
const A = y === L, { tx: j, ty: V } = A && !C ? Ti(
|
|
11623
|
-
return /* @__PURE__ */
|
|
11622
|
+
const A = y === L, { tx: j, ty: V } = A && !C ? Ti(v, f, E.sa, E.ea, 10) : { tx: 0, ty: 0 }, p = E.sa + (E.ea - E.sa) / 2, N = ct(v, f, S, p);
|
|
11623
|
+
return /* @__PURE__ */ T(
|
|
11624
11624
|
"text",
|
|
11625
11625
|
{
|
|
11626
11626
|
x: N.x + j,
|
|
@@ -11644,7 +11644,7 @@ const ep = ({
|
|
|
11644
11644
|
$.map((E, L) => /* @__PURE__ */ u(
|
|
11645
11645
|
"path",
|
|
11646
11646
|
{
|
|
11647
|
-
d: ki(
|
|
11647
|
+
d: ki(v, f, x, _, E.sa, E.ea),
|
|
11648
11648
|
fill: "transparent",
|
|
11649
11649
|
style: { cursor: "pointer" },
|
|
11650
11650
|
onMouseEnter: () => m(L),
|
|
@@ -11664,7 +11664,7 @@ const ep = ({
|
|
|
11664
11664
|
gap: "12px 24px",
|
|
11665
11665
|
justifyContent: g ? "flex-start" : "center"
|
|
11666
11666
|
},
|
|
11667
|
-
children: t.map((E, L) => /* @__PURE__ */
|
|
11667
|
+
children: t.map((E, L) => /* @__PURE__ */ T(
|
|
11668
11668
|
"div",
|
|
11669
11669
|
{
|
|
11670
11670
|
style: {
|
|
@@ -11750,16 +11750,17 @@ const $i = [
|
|
|
11750
11750
|
borderRadius: a,
|
|
11751
11751
|
containerStyles: l = {},
|
|
11752
11752
|
fontColorInside: c = "white",
|
|
11753
|
-
borderFontColorInside: d
|
|
11753
|
+
borderFontColorInside: d,
|
|
11754
|
+
borderFontColorInsideWidth: h = 1
|
|
11754
11755
|
}) => {
|
|
11755
|
-
const [
|
|
11756
|
+
const [g, y] = de(s ? 0 : 1);
|
|
11756
11757
|
ee(() => {
|
|
11757
11758
|
if (!s) return;
|
|
11758
|
-
const
|
|
11759
|
-
return () => cancelAnimationFrame(
|
|
11759
|
+
const f = requestAnimationFrame(() => y(1));
|
|
11760
|
+
return () => cancelAnimationFrame(f);
|
|
11760
11761
|
}, [s]);
|
|
11761
|
-
const
|
|
11762
|
-
return /* @__PURE__ */
|
|
11762
|
+
const m = Math.max(...e.map((f) => f.value), 1), v = a ?? "6px";
|
|
11763
|
+
return /* @__PURE__ */ T(
|
|
11763
11764
|
"div",
|
|
11764
11765
|
{
|
|
11765
11766
|
style: {
|
|
@@ -11786,9 +11787,9 @@ const $i = [
|
|
|
11786
11787
|
children: t
|
|
11787
11788
|
}
|
|
11788
11789
|
),
|
|
11789
|
-
/* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((
|
|
11790
|
-
const
|
|
11791
|
-
return /* @__PURE__ */
|
|
11790
|
+
/* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((f, _) => {
|
|
11791
|
+
const x = f.color || $i[_ % $i.length], S = f.value / m * 100 * g;
|
|
11792
|
+
return /* @__PURE__ */ T(
|
|
11792
11793
|
"div",
|
|
11793
11794
|
{
|
|
11794
11795
|
style: { display: "flex", flexDirection: "column", gap: "6px" },
|
|
@@ -11802,17 +11803,17 @@ const $i = [
|
|
|
11802
11803
|
fontWeight: "400",
|
|
11803
11804
|
opacity: 0.9
|
|
11804
11805
|
},
|
|
11805
|
-
children:
|
|
11806
|
+
children: f.title
|
|
11806
11807
|
}
|
|
11807
11808
|
),
|
|
11808
|
-
/* @__PURE__ */
|
|
11809
|
+
/* @__PURE__ */ T(
|
|
11809
11810
|
"div",
|
|
11810
11811
|
{
|
|
11811
11812
|
style: {
|
|
11812
11813
|
position: "relative",
|
|
11813
11814
|
height: `${o}px`,
|
|
11814
11815
|
background: "transparent",
|
|
11815
|
-
borderRadius:
|
|
11816
|
+
borderRadius: v,
|
|
11816
11817
|
overflow: "hidden"
|
|
11817
11818
|
},
|
|
11818
11819
|
children: [
|
|
@@ -11824,9 +11825,9 @@ const $i = [
|
|
|
11824
11825
|
left: 0,
|
|
11825
11826
|
top: 0,
|
|
11826
11827
|
height: "100%",
|
|
11827
|
-
width: `${
|
|
11828
|
-
background:
|
|
11829
|
-
borderRadius:
|
|
11828
|
+
width: `${S}%`,
|
|
11829
|
+
background: x,
|
|
11830
|
+
borderRadius: v,
|
|
11830
11831
|
transition: s ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
|
|
11831
11832
|
}
|
|
11832
11833
|
}
|
|
@@ -11846,11 +11847,11 @@ const $i = [
|
|
|
11846
11847
|
letterSpacing: "-0.3px",
|
|
11847
11848
|
// text-stroke for the outline effect
|
|
11848
11849
|
...d ? {
|
|
11849
|
-
WebkitTextStroke:
|
|
11850
|
+
WebkitTextStroke: `${h}px ${d}`,
|
|
11850
11851
|
paintOrder: "stroke fill"
|
|
11851
11852
|
} : {}
|
|
11852
11853
|
},
|
|
11853
|
-
children:
|
|
11854
|
+
children: f.value
|
|
11854
11855
|
}
|
|
11855
11856
|
)
|
|
11856
11857
|
]
|
|
@@ -11858,7 +11859,7 @@ const $i = [
|
|
|
11858
11859
|
)
|
|
11859
11860
|
]
|
|
11860
11861
|
},
|
|
11861
|
-
|
|
11862
|
+
_
|
|
11862
11863
|
);
|
|
11863
11864
|
}) })
|
|
11864
11865
|
]
|
|
@@ -11905,13 +11906,24 @@ const Ei = [
|
|
|
11905
11906
|
const [g, y] = de(c ? 0 : 1);
|
|
11906
11907
|
ee(() => {
|
|
11907
11908
|
if (!c) return;
|
|
11908
|
-
const
|
|
11909
|
+
const S = requestAnimationFrame(
|
|
11909
11910
|
() => requestAnimationFrame(() => y(1))
|
|
11910
11911
|
);
|
|
11911
|
-
return () => cancelAnimationFrame(
|
|
11912
|
+
return () => cancelAnimationFrame(S);
|
|
11912
11913
|
}, [c]);
|
|
11913
|
-
const m = Math.max(...e.map((
|
|
11914
|
-
|
|
11914
|
+
const m = Math.max(...e.map((S) => S.value), 1), v = d || (r === "#ffffff" ? "rgba(255,255,255,0.25)" : "rgba(0,0,0,0.15)"), f = 12, _ = e.length * a + Math.max(0, e.length - 1) * f, x = {
|
|
11915
|
+
fontSize: "15px",
|
|
11916
|
+
fontWeight: "700",
|
|
11917
|
+
letterSpacing: "-0.3px",
|
|
11918
|
+
lineHeight: 1,
|
|
11919
|
+
pointerEvents: "none",
|
|
11920
|
+
whiteSpace: "nowrap",
|
|
11921
|
+
...s ? {
|
|
11922
|
+
WebkitTextStroke: `1px ${s}`,
|
|
11923
|
+
paintOrder: "stroke fill"
|
|
11924
|
+
} : {}
|
|
11925
|
+
};
|
|
11926
|
+
return /* @__PURE__ */ T(
|
|
11915
11927
|
"div",
|
|
11916
11928
|
{
|
|
11917
11929
|
style: {
|
|
@@ -11937,18 +11949,19 @@ const Ei = [
|
|
|
11937
11949
|
children: t
|
|
11938
11950
|
}
|
|
11939
11951
|
),
|
|
11940
|
-
/* @__PURE__ */
|
|
11952
|
+
/* @__PURE__ */ T("div", { style: { display: "flex", flexDirection: "column", gap: 0 }, children: [
|
|
11941
11953
|
/* @__PURE__ */ u(
|
|
11942
11954
|
"div",
|
|
11943
11955
|
{
|
|
11944
11956
|
style: {
|
|
11945
11957
|
display: "flex",
|
|
11946
11958
|
alignItems: "flex-end",
|
|
11947
|
-
gap:
|
|
11959
|
+
gap: `${f}px`,
|
|
11960
|
+
width: `${_}px`,
|
|
11948
11961
|
height: `${l}px`
|
|
11949
11962
|
},
|
|
11950
|
-
children: e.map((
|
|
11951
|
-
const
|
|
11963
|
+
children: e.map((S, $) => {
|
|
11964
|
+
const b = S.color || Ei[$ % Ei.length], C = S.value === 0, w = C ? 0 : S.value / m * l * g;
|
|
11952
11965
|
return /* @__PURE__ */ u(
|
|
11953
11966
|
"div",
|
|
11954
11967
|
{
|
|
@@ -11960,14 +11973,27 @@ const Ei = [
|
|
|
11960
11973
|
width: `${a}px`,
|
|
11961
11974
|
height: "100%"
|
|
11962
11975
|
},
|
|
11963
|
-
children:
|
|
11976
|
+
children: C ? (
|
|
11977
|
+
// Value sits just above the separator, no bar rendered
|
|
11978
|
+
/* @__PURE__ */ u(
|
|
11979
|
+
"span",
|
|
11980
|
+
{
|
|
11981
|
+
style: {
|
|
11982
|
+
...x,
|
|
11983
|
+
color: o,
|
|
11984
|
+
marginBottom: "6px"
|
|
11985
|
+
},
|
|
11986
|
+
children: S.value
|
|
11987
|
+
}
|
|
11988
|
+
)
|
|
11989
|
+
) : /* @__PURE__ */ u(
|
|
11964
11990
|
"div",
|
|
11965
11991
|
{
|
|
11966
11992
|
style: {
|
|
11967
11993
|
position: "relative",
|
|
11968
11994
|
width: "100%",
|
|
11969
|
-
height: `${
|
|
11970
|
-
background:
|
|
11995
|
+
height: `${w}px`,
|
|
11996
|
+
background: b,
|
|
11971
11997
|
borderRadius: "6px 6px 0 0",
|
|
11972
11998
|
transition: c ? "height 0.85s cubic-bezier(0.16, 1, 0.3, 1)" : "none",
|
|
11973
11999
|
display: "flex",
|
|
@@ -11975,29 +12001,11 @@ const Ei = [
|
|
|
11975
12001
|
justifyContent: "center",
|
|
11976
12002
|
paddingTop: "10px"
|
|
11977
12003
|
},
|
|
11978
|
-
children: /* @__PURE__ */ u(
|
|
11979
|
-
"span",
|
|
11980
|
-
{
|
|
11981
|
-
style: {
|
|
11982
|
-
color: o,
|
|
11983
|
-
fontSize: "15px",
|
|
11984
|
-
fontWeight: "700",
|
|
11985
|
-
letterSpacing: "-0.3px",
|
|
11986
|
-
lineHeight: 1,
|
|
11987
|
-
pointerEvents: "none",
|
|
11988
|
-
whiteSpace: "nowrap",
|
|
11989
|
-
...s ? {
|
|
11990
|
-
WebkitTextStroke: `1px ${s}`,
|
|
11991
|
-
paintOrder: "stroke fill"
|
|
11992
|
-
} : {}
|
|
11993
|
-
},
|
|
11994
|
-
children: f.value
|
|
11995
|
-
}
|
|
11996
|
-
)
|
|
12004
|
+
children: /* @__PURE__ */ u("span", { style: { ...x, color: o }, children: S.value })
|
|
11997
12005
|
}
|
|
11998
12006
|
)
|
|
11999
12007
|
},
|
|
12000
|
-
|
|
12008
|
+
$
|
|
12001
12009
|
);
|
|
12002
12010
|
})
|
|
12003
12011
|
}
|
|
@@ -12006,8 +12014,10 @@ const Ei = [
|
|
|
12006
12014
|
"div",
|
|
12007
12015
|
{
|
|
12008
12016
|
style: {
|
|
12017
|
+
width: `${_ + 24}px`,
|
|
12018
|
+
marginLeft: "-12px",
|
|
12009
12019
|
height: "1.5px",
|
|
12010
|
-
background:
|
|
12020
|
+
background: v,
|
|
12011
12021
|
borderRadius: "1px"
|
|
12012
12022
|
}
|
|
12013
12023
|
}
|
|
@@ -12017,10 +12027,11 @@ const Ei = [
|
|
|
12017
12027
|
{
|
|
12018
12028
|
style: {
|
|
12019
12029
|
display: "flex",
|
|
12020
|
-
gap:
|
|
12030
|
+
gap: `${f}px`,
|
|
12031
|
+
width: `${_}px`,
|
|
12021
12032
|
marginTop: "10px"
|
|
12022
12033
|
},
|
|
12023
|
-
children: e.map((
|
|
12034
|
+
children: e.map((S, $) => /* @__PURE__ */ u(
|
|
12024
12035
|
"div",
|
|
12025
12036
|
{
|
|
12026
12037
|
style: {
|
|
@@ -12034,9 +12045,9 @@ const Ei = [
|
|
|
12034
12045
|
overflow: "hidden",
|
|
12035
12046
|
textOverflow: "ellipsis"
|
|
12036
12047
|
},
|
|
12037
|
-
children:
|
|
12048
|
+
children: S.title
|
|
12038
12049
|
},
|
|
12039
|
-
|
|
12050
|
+
$
|
|
12040
12051
|
))
|
|
12041
12052
|
}
|
|
12042
12053
|
)
|
|
@@ -12080,7 +12091,7 @@ const rp = "_header_13kbt_2", op = "_leftComponents_13kbt_13", ip = "_centerComp
|
|
|
12080
12091
|
backgroundColor: a = "#605B56",
|
|
12081
12092
|
isFooter: l = !1
|
|
12082
12093
|
// If true, it will apply footer styles
|
|
12083
|
-
}) => /* @__PURE__ */
|
|
12094
|
+
}) => /* @__PURE__ */ T(
|
|
12084
12095
|
"div",
|
|
12085
12096
|
{
|
|
12086
12097
|
className: kt.header,
|
|
@@ -12128,7 +12139,7 @@ const cp = "_sidebar_1kaqu_2", up = "_open_1kaqu_16", dp = "_content_1kaqu_20",
|
|
|
12128
12139
|
{
|
|
12129
12140
|
className: `${Pn.sidebar} ${n ? Pn.open : ""}`,
|
|
12130
12141
|
style: { width: n ? e : 0 },
|
|
12131
|
-
children: n && /* @__PURE__ */
|
|
12142
|
+
children: n && /* @__PURE__ */ T("div", { className: Pn.content, children: [
|
|
12132
12143
|
/* @__PURE__ */ u("button", { className: Pn.closeButton, onClick: o, children: /* @__PURE__ */ u("img", { src: pp, alt: "Close Sidebar" }) }),
|
|
12133
12144
|
t
|
|
12134
12145
|
] })
|