ssage', (event) => {
            if (event.data && event.data.type === 'requestTheme') {
                const currentAppliedTheme = document.documentElement.getAttribute('data-theme') || (prefersDarkScheme.matches ? 'dark' : 'light');
                const sourceFrame = Array.from(document.querySelectorAll('iframe')).find(
                    iframe => iframe.contentWindow === event.source
                );
                if (sourceFrame && sourceFrame.contentWindow) {
                     sourceF