import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import{t as n}from"./got-BBDj7u1e.mjs";import{Fragment as r,jsx as i,jsxs as a}from"hono/jsx/jsx-runtime";import{load as o}from"cheerio";import{renderToString as s}from"hono/jsx/dom/server";import{raw as c}from"hono/html";const l=`https://www.chaincatcher.com`,u={path:`/`,radar:[{source:[`chaincatcher.com/`],target:``}],name:`Unknown`,maintainers:[`TonyRL`],handler:d,url:`chaincatcher.com/`};async function d(){let{data:u}=await n.post(`${l}/api/article/lists`,{form:{page:1,home:1}}),d=u.data.map(e=>({title:e.title,description:e.description,link:`${l}/article/${e.id}`,pubDate:t(e.add_time,`X`),categoryId:e.categoryid,category:[...e.keywords.split(`,`),e.category_name]})),f=await Promise.all(d.map(t=>e.tryGet(t.link,async()=>{if(t.categoryId!==3){let{data:e}=await n(t.link),l=o(e);t.description=s(a(r,{children:[t.description?a(r,{children:[i(`blockquote`,{children:t.description}),i(`br`,{})]}):null,l(`.article-container`).html()?c(l(`.article-container`).html()):null]}))}return t})));return{title:`链捕手ChainCatcher — 专业的区块链技术研究与资讯平台-Chain Catcher`,description:`链捕手ChainCatcher为区块链技术爱好者与项目决策者提供NFT、Web3社交、DID、Layer2等专业的资讯与研究内容，Chain Catcher输出对Scroll、Sui、Aptos、ENS等项目的思考，拓宽读者对区块链与数字经济认知的边界。`,image:`${l}/logo.png`,link:l,item:f}}export{u as route};