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