import{t as e}from"./got-BBDj7u1e.mjs";import{n as t,r as n,t as r}from"./const-v6TIaE0i.mjs";const i={path:`/`,categories:[`picture`],example:`/4khd`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1,nsfw:!0},radar:[{source:[`www.4khd.com/`],target:``}],name:`Latest`,maintainers:[`AiraNadih`],handler:a,url:`www.4khd.com/`};async function a(i){let{data:a}=await e(`${t}wp-json/wp/v2/posts?per_page=${Number.parseInt(i.req.query(`limit`))||20}`);return{title:`${r} - Latest`,link:t,item:a.map(e=>n(e))}}export{i as route};