oEl.textContent = 'Type to search through repository names and descriptions';
            }
        }

        function highlightMatch(text, query) {
            if (!text || !query) return text;
            const regex = new RegExp(`(${query.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')})`, 'gi');
            return text.replace(regex, '<span class="search-result-highlight">$1</span>');
        }

        function openRepository(url) {
            window.open(url, '_blank', 'noopener');
        }

        functio