import{t as e}from"./ofetch-Dl6dVB_5.mjs";const t={path:`/browse/:mode?`,name:`Browse`,url:`furaffinity.net`,categories:[`social-media`],example:`/furaffinity/browse/nsfw`,maintainers:[`TigerCubDen`,`SkyNetX007`],parameters:{mode:`R18 content toggle, default value is sfw, options are sfw, nsfw`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1,nsfw:!0},radar:[{source:[`furaffinity.net`],target:`/browse`}],handler:n};async function n(t){let{mode:n=`sfw`}=t.req.param(),r=`https://faexport.spangle.org.uk/browse.json?sfw=1`;return n===`nsfw`&&(r=`https://faexport.spangle.org.uk/browse.json`),{title:`Fur Affinity | Browse`,link:`https://www.furaffinity.net/browse/`,description:`Fur Affinity Browsing Artwork`,item:(await e(r,{method:`GET`,headers:{Referer:`https://faexport.spangle.org.uk/`}})).map(e=>({title:e.title,link:e.link,guid:e.id,description:`<img src="${e.thumbnail}">`,author:e.name}))}}export{t as route};