<script>
// Chatbot design issue fix.
window.addEventListener('message', function (ev) {
    try {
        if(ev.origin == 'https://demoapi.democode.in'){  // Ensure message is from trusted origin
            const msg = ev.data || {};
            if (msg && msg.type === 'chatbot:resize') {
                // Target the iframe by id so we don't need to search all iframes.
                const chatbot_iframe = document.getElementById('dw-chat-widget');
                if (chatbot_iframe) {
                    if (msg.height) {
                        const h = (typeof msg.height === 'number') ? (msg.height + 'px') : String(msg.height);
                        chatbot_iframe.style.height = h;
                    }
                    if (msg.width) {
                        const w = (typeof msg.width === 'number') ? (msg.width + 'px') : String(msg.width);
                        chatbot_iframe.style.width = w;
                    }
                }
            }
        }
    } catch (e) { console.warn('chatbot resize handler error', e); }
}, false);
</script><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://educational.democode.in/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-case-submission-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-courses-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-lesson-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-tutor_quiz-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-posts-course-bundle-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://educational.democode.in/wp-sitemap-taxonomies-course-category-1.xml</loc></sitemap></sitemapindex>
