document.getElementById("8597c74c460e7e9b012729618ea57e6f").innerHTML=' '; document.write(''); var w = document.getElementById("8597c74c460e7e9b012729618ea57e6f").parentElement.clientWidth; var h; if(w >= 992) { h = 594; } if(w < 992) { h = 551; } if(w < 768) { h = 595; } if(w < 576) { h = 678; } if(w < 420) { h = 678; } document.getElementById("iframe-8597c74c460e7e9b012729618ea57e6f").style.width='100%'; document.getElementById("iframe-8597c74c460e7e9b012729618ea57e6f").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-8597c74c460e7e9b012729618ea57e6f"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)