: false,
                keyboard: false
            });

            const tilesUrl = window.userSettings.tiles.service;

            const tileLayer = window.userSettings.preferColoredMap ? L.tileLayer : L.tileLayer.grayscale;
            tileLayer(tilesUrl, {
                attribution: ''
            }).addTo(map);

            setTimeout(() => {
                map.invalidateSize();
            }, 100);
        });
    }

    function renderCharts() {
        // Find all statistics content containers 