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