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