/*!
 * Custom elements for Nanopore-Digital Web applications
 */
function n(n,o,t,e){o.split(" ").forEach((o=>n.addEventListener(o,t,e)))}function o(n,o){return new Promise((t=>{n.addEventListener(o,(function e(i){i.target===n&&(n.removeEventListener(o,e),t())}))}))}export{n as a,o as w}