const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BzYt7rkb.js","./DIQmuJJZ.js","./DrKWWDpL.js","./D7w7HllH.js","./DB5ifLM-.js","./DYP3EJMY.js","./CvaH7m0y.js","./DgZn9uJn.js","./CbGRcr-D.js","./CWxOfblT.js","./CVwAhlPZ.js","./DOPTvi6T.js","./DlZwu-Y7.js","./O2P-f9sv.js","./BYXFvmSx.js","./DsanjglN.js"])))=>i.map(i=>d[i]);
import{n as e,t}from"./DsQIgu-4.js";import{w as n}from"./DsanjglN.js";import{D as r}from"./D-eE9s2f.js";import{r as i}from"./bG-fsHMS.js";e();async function a(e,t){let a=null;try{a=await i(t)}catch{return}try{await a.update(r).set({sourceSessionId:null}).where(n(r.sourceSessionId,e))}catch{}}async function o(e,n){let{tasks:r}=await t(async()=>{let{tasks:e}=await import(`./BzYt7rkb.js`);return{tasks:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),{eq:i}=await t(async()=>{let{eq:e}=await import(`./BYXFvmSx.js`);return{eq:e}},__vite__mapDeps([14,15,8]),import.meta.url);return(await n.select({id:r.id}).from(r).where(i(r.id,e)).all()).length>0}async function s(e,n){let{sessions:r}=await t(async()=>{let{sessions:e}=await import(`./BzYt7rkb.js`);return{sessions:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),{eq:i}=await t(async()=>{let{eq:e}=await import(`./BYXFvmSx.js`);return{eq:e}},__vite__mapDeps([14,15,8]),import.meta.url);return(await n.select({id:r.id}).from(r).where(i(r.id,e)).all()).length>0}export{s as n,o as r,a as t};