document.getElementById("f3d991523a234c76743d95f8a5549b4e").innerHTML=' '; document.write(''); var w = document.getElementById("f3d991523a234c76743d95f8a5549b4e").parentElement.clientWidth; var h; if(w >= 992) { h = 744; } if(w < 992) { h = 683; } if(w < 768) { h = 859; } if(w < 576) { h = 1068; } if(w < 420) { h = 1099; } document.getElementById("iframe-f3d991523a234c76743d95f8a5549b4e").style.width='100%'; document.getElementById("iframe-f3d991523a234c76743d95f8a5549b4e").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-f3d991523a234c76743d95f8a5549b4e"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)