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