import{O as e}from"./vendor-vue-DQuhj895.js";function t(e){return{all:e||=new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}var n=function(e){return e.PICK=`PICK`,e.BAN=`BAN`,e}({}),r=function(e){return e.START=`START`,e.HOVER=`HOVER`,e.LOCK=`LOCK`,e}({}),i=t();function a(t){let n=Object.keys(t);for(let e of n)i.on(e,t[e]);let r=()=>{for(let e of n)i.off(e,t[e])};return e(r),r}var o=Symbol(`LocalEventBus`);export{n as a,r as i,i as n,t as o,a as r,o as t};