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