import{a as e,n as t,r as n,t as r}from"./utils-CCi83s0r.mjs";const i={path:`/home`,name:`フォロー中`,categories:[`social-media`],example:`/mixi2/home`,features:{requireConfig:r,supportRadar:!0},radar:[{source:[`mixi.social/home`],target:`/home`,title:`フォロー中`}],view:1,handler:async r=>{let i=Number.parseInt(r.req.query(`limit`)??`20`,10),a=n(),o=await a.getSubscribingFeeds({limit:i}),s=await a.getPersonas({personaIds:o?.feeds?.map(e=>e.post.personaId)??[]});return{title:`フォロー中`,link:`https://mixi.social/home`,image:`https://mixi.social/_next/static/media/image_logo.8bb36f11.svg`,item:o?.feeds?.filter(t=>e(t.post)).map(e=>({title:`@${s.personas.find(t=>t.personaId===e.post.personaId)?.name}`,...t(e.post,s.personas)}))??[]}},maintainers:[`KarasuShin`]};export{i as route};