document.getElementById("2181fd66a2ba089dd2f77f27e9b364a7").innerHTML=' '; document.write(''); var w = document.getElementById("2181fd66a2ba089dd2f77f27e9b364a7").parentElement.clientWidth; var h; if(w >= 992) { h = 790; } if(w < 992) { h = 729; } if(w < 768) { h = 905; } if(w < 576) { h = 1114; } if(w < 420) { h = 1114; } document.getElementById("iframe-2181fd66a2ba089dd2f77f27e9b364a7").style.width='100%'; document.getElementById("iframe-2181fd66a2ba089dd2f77f27e9b364a7").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-2181fd66a2ba089dd2f77f27e9b364a7"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)