         const thumbnails = document.getElementById('slideThumbnails');
            thumbnailsVisible = !thumbnailsVisible;
            thumbnails.classList.toggle('show', thumbnailsVisible);
        }

        // 切换键盘快捷键提示
        function toggleKeyboardHints() {
            const hints = document.getElementById('keyboardHints');
            keyboardHintsVisible = !keyboardHintsVisible;
            hints.classList.toggle('show', keyboardHintsVisible);
        }

        // 切换缓存状