document.getElementById("4d5c87ddc5b08a94dfca06741e0ec8dd").innerHTML=' '; document.write(''); var w = document.getElementById("4d5c87ddc5b08a94dfca06741e0ec8dd").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 = 1068; } document.getElementById("iframe-4d5c87ddc5b08a94dfca06741e0ec8dd").style.width='100%'; document.getElementById("iframe-4d5c87ddc5b08a94dfca06741e0ec8dd").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-4d5c87ddc5b08a94dfca06741e0ec8dd"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)