const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AddTorrentDialog-C6ht3K1a.js","./vue-3bs2-dMU.js","./rolldown-runtime-B0Z9INg1.js","./vue-BKb5tX_4.css","./stores-DmetsdTd.js","./preload-helper-HclGiUj8.js","./vuetify-gGrfRH2I.js","./vuetify-Pk2Sm9cw.css","./HistoryKey-C5zPCBlq.js","./AddTorrentParamsForm-Co-lsHHL.js","./ServerPathField-DLutqYNk.js","./HistoryField-BFlc9nis.js"])))=>i.map(i=>d[i]);
import{B as e,G as t,Q as n,c as r,s as i,z as a}from"./vue-3bs2-dMU.js";import{D as o,W as s}from"./stores-DmetsdTd.js";import{t as c}from"./preload-helper-HclGiUj8.js";t();var l=e({__name:`MagnetHandler`,setup(e){let t=i(),l=r(),u=o(),d=s();return n(async()=>{let e=decodeURIComponent(t.params.url);e.startsWith(`magnet:`)&&(u.pushTorrentToQueue(e),d.createDialog(a(()=>c(()=>import(`./AddTorrentDialog-C6ht3K1a.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url)))),await l.push({name:`dashboard`})}),()=>{}}});export{l as default};