/*!
 * Custom elements for Nanopore-Digital Web applications
 */
let e;const s={init:async(s,i)=>{e||(e=(await import("./index-browser-BvSm1vXe.js")).default,e("init",{appId:s,apiKey:i}))},sendClick:s=>{e?e("clickedObjectIDsAfterSearch",{...s}).catch((e=>{console.error("Error sending click event",e)})):console.error("You must call `init()` first")},setUser:s=>{e?e("setUserToken",s):console.error("You must call `init()` first")}};export{s}