const t=t=>{if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(t)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(t)}return setTimeout(t)};const e=t=>t.timeStamp||Date.now();function n(t){return o(t,0)}function o(t,e){const n=t._original||t;return{_original:t,emit:r(n.emit.bind(n),e)}}function r(t,e=0){let n;return(...o)=>{clearTimeout(n);n=setTimeout(t,e,...o)}}function i(t){return!!t.shadowRoot&&!!t.attachShadow}const s=t=>new Promise((e=>setTimeout(e,t)));export{n as a,o as d,i as h,e as n,t as r,s};
//# sourceMappingURL=p-6fdf5ce4.js.map