- Add enablePanelDetection, libraryType, formatGroup state - Add panelDetector instance for dynamic loading - Update initReader to accept and process configuration - Conditionally load panel detection only when enabled - Use dynamic import for foliate-js/panel-detection.js - Add error handling for panel detection loading