document.getElementById("6b931a38d41e67a77cff14fc3fff0cb4").innerHTML=' '; document.write(''); var w = document.getElementById("6b931a38d41e67a77cff14fc3fff0cb4").parentElement.clientWidth; var h; if(w >= 992) { h = 797; } if(w < 992) { h = 736; } if(w < 768) { h = 912; } if(w < 576) { h = 1121; } if(w < 420) { h = 1121; } document.getElementById("iframe-6b931a38d41e67a77cff14fc3fff0cb4").style.width='100%'; document.getElementById("iframe-6b931a38d41e67a77cff14fc3fff0cb4").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-6b931a38d41e67a77cff14fc3fff0cb4"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)