let registry=[],watchedIcons=[];function getIconLibrary(r){var e;return null===(e=null===window||void 0===window?void 0:window.registry)||void 0===e?void 0:e.filter((e=>e.name===r))[0]}function registerIconLibrary(r,e){unregisterIconLibrary(r),registry.push({name:r,resolver:e.resolver,mutator:e.mutator}),window.registry=registry,watchedIcons.map((e=>{e.library===r&&e.redraw()}))}function unregisterIconLibrary(r){registry=registry.filter((e=>e.name!==r)),window.registry=registry}window.ceRegisterIconLibrary=registerIconLibrary;export{getIconLibrary as g,registerIconLibrary as r};