import{n as e,r as t}from"./rolldown-runtime-CMxvf4Kt.js";var n=t({PlaybackEventBus:()=>i}),r,i,a=e((()=>{r=class{_target=new EventTarget;emit(e,t){this._target.dispatchEvent(new CustomEvent(e,{detail:t}))}on(e,t){let n=e=>t(e.detail);return this._target.addEventListener(e,n),()=>this._target.removeEventListener(e,n)}off(e,t){this._target.removeEventListener(e,t)}},i=new r}));export{n,a as r,i as t};