import{d as o,_ as r}from"./vendor-ux-IiQnod3w.js";import{r as a}from"./vendor-react-Dvs43sk9.js";function s(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-CgdhTqWX.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{s as u};
