function sendEvent(e,...t){window.parent.postMessage({type:"event",name:e,args:t},"*")}window.addEventListener("message",(message=>{const data=message.data;if("html"===data.type)if(document.body.innerHTML=data.html,data.script)try{eval(data.script)}catch(e){console.error("Error evaling script",e)}}));
//# sourceMappingURL=index.08c5487a.js.map
