import{library_default_default as r}from"./chunk.P7ZG6EMR.js";import{library_system_default as n}from"./chunk.VRTJZYIC.js";var t=[r,n],e=[];function watchIcon(r){e.push(r)}function unwatchIcon(r){e=e.filter((n=>n!==r))}function getIconLibrary(r){return t.find((n=>n.name===r))}function registerIconLibrary(r,n){unregisterIconLibrary(r),t.push({name:r,resolver:n.resolver,mutator:n.mutator,spriteSheet:n.spriteSheet}),e.forEach((n=>{n.library===r&&n.setIcon()}))}function unregisterIconLibrary(r){t=t.filter((n=>n.name!==r))}export{watchIcon,unwatchIcon,getIconLibrary,registerIconLibrary,unregisterIconLibrary};