PageSourceSearch

https://ansap.ru/assets/NewsBlock-C7Xsau4f.js

js ansap.ru collected 2026-10-07 18:09:22 UTC 857 bytes, 1 lines download raw bytes

1import{c as e}from"./index-DmHJwzXY.js";import{u as t}from"./usePageStyles-B_aGkJnE.js";import{n}from"./shared-BgihIjw5.js";var r=e();function i({limit:e=3,title:i=`Новости и статьи`,lead:a}){let{data:o}=t(`/news`),s=(o&&o.items||[]).slice(0,e);return s.length?(0,r.jsx)(`section`,{className:`news-home`,"aria-labelledby":`news-home-title`,children:(0,r.jsxs)(`div`,{className:`news-home__inner`,children:[(0,r.jsxs)(`div`,{className:`news-home__head`,children:[(0,r.jsxs)(`div`,{children:[(0,r.jsx)(`h2`,{className:`news-home__title`,id:`news-home-title`,children:i}),a?(0,r.jsx)(`p`,{className:`news-home__lead`,children:a}):null]}),(0,r.jsx)(`a`,{className:`news-home__more`,href:`/news`,children:`все новости`})]}),(0,r.jsx)(`div`,{className:`news-grid`,children:s.map(e=>(0,r.jsx)(n,{item:e},e.slug))})]})}):null}export{i as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.