import{a as e,i as t,n,r,t as i}from"./util-C0CxV5zg.mjs";const a={path:`/news`,categories:[`new-media`],example:`/foresightnews/news`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`foresightnews.pro/news`,`foresightnews.pro/`]}],name:`快讯`,maintainers:[`nczitzk`],handler:o,url:`foresightnews.pro/news`};async function o(a){let o=a.req.query(`limit`)?Number.parseInt(a.req.query(`limit`),10):50,s=new URL(`v1/news`,i).href,c=new URL(`news`,e).href,{items:l}=await t(s,o);return{item:l,title:`Foresight News - 快讯`,link:c,description:`快讯 - Foresight News`,language:`zh-cn`,image:r,icon:n,logo:n,subtitle:`快讯`,author:`Foresight News`}}export{a as route};