ries() {
            showLoader();
            fetch('/api/categories')
                .then(response => response.json())
                .then(data => {
                    const categories = data.categories;
                    const categoryContainer = document.getElementById('category-container');
                    categoryContainer.innerHTML = '';

                    window.allChannels = [];
                    window.baseNameToChannels = {};

                    const defaultIconUrl = getDefaultIc