1import{r as t,ad as e}from"./vendor-misc-DNALlVq3.js";import p from"./vendor-axios-DPovI33a.js";import{s as g}from"./sanitize-BCVR_plH.js";import{f,a as m}from"./vendor-react-Cisc8Lsp.js";import"./vendor-dompurify-t2lEkcJL.js";function b(){const{alias:r}=f(),a=m(),[o,d]=t.useState(null),[l,i]=t.useState(!0),[s,c]=t.useState(null);return t.useEffect(()=>{i(!0),p.get(`/api/pages/${r}`).then(n=>{d(n.data),i(!1)}).catch(n=>{c(n.response?.status===404?"СÑÑаниÑа не найдена":"ÐÑибка загÑÑзки"),i(!1)})},[r]),l?e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:300},children:e.jsx("div",{style:{width:36,height:36,border:"3px solid var(--border)",borderTop:"3px solid #ec4899",borderRadius:"50%",animation:"spin 0.8s linear infinite"}})}):s?e.jsxs("div",{style:{textAlign:"center",padding:"80px 20px"},children:[e.jsx("div",{style:{fontSize:48,marginBottom:16},children:"ð"}),e.jsx("h2",{style:{fontSize:22,fontWeight:700,marginBottom:8},children:s}),e.jsx("button",{onClick:()=>a("/"),style:{marginTop:16,padding:"10px 24px",borderRadius:8,background:"linear-gradient(135deg,#ec4899,#f472b6)",color:"#fff",border:"none",cursor:"pointer",fontWeight:600},children:"Ðа главнÑÑ"})]}):e.jsx("div",{style:{maxWidth:900,margin:"0 auto",padding:"32px 16px"},children:e.jsx("div",{className:"page-content",dangerouslySetInnerHTML:{__html:g(o.html_content)},style:{lineHeight:1.7,fontSize:16}})})}export{b as default};
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.