document.getElementById("848a9fcaba1ee7659dd8ccb44b3540a7").innerHTML=' '; document.write(''); var w = document.getElementById("848a9fcaba1ee7659dd8ccb44b3540a7").parentElement.clientWidth; var h; if(w >= 992) { h = 784; } if(w < 992) { h = 723; } if(w < 768) { h = 899; } if(w < 576) { h = 1108; } if(w < 420) { h = 1108; } document.getElementById("iframe-848a9fcaba1ee7659dd8ccb44b3540a7").style.width='100%'; document.getElementById("iframe-848a9fcaba1ee7659dd8ccb44b3540a7").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-848a9fcaba1ee7659dd8ccb44b3540a7"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)