import e from"promise-polyfill/src/index.js";if(!window.Promise){window.Promise=e,e.prototype.then=e.prototype.then,e.all=e.all,e.race=e.race,e.resolve=e.resolve,e.reject=e.reject;let t=document.createTextNode(""),o=function(){t.textContent=t.textContent.length>0?"":"a"},r=[];new MutationObserver(()=>{let e=r.length;for(let t=0;t<e;t++)r[t]();r.splice(0,e)}).observe(t,{characterData:!0}),e._immediateFn=e=>{r.push(e),o()}}