1import{u as N,_ as V}from"./BkYNm7bw.js";import{w as z,_ as w,u as C,d as L,x as M,g as j}from"./BGdHWsHj.js";import{_ as F}from"./Of2t7rO_.js";import{_ as I}from"./CSer-MEL.js";import{a6 as h,ah as E,X as P,ae as R,ac as J}from"./CjMYDJB0.js";import{d as y,H as b,b as p,z as r,F as A,B as o,k as T,x as e,l as s,w as u,o as m,aj as K,i as O,t as v}from"./q-sCGch_.js";import{t as U}from"./BKxljLFV.js";import"./D3TqhVce.js";import"./N30Fq56X.js";import"./B6wSMHDS.js";import"./09R4z0sA.js";import"./BzC7uc9w.js";import"./CvSa9j-_.js";import"./Bo7Lo5NY.js";import"./BD7VOouX.js";import"./Cpm6sGjf.js";import"./DrawRCiz.js";import"./DhrepIux.js";import"./CxK-cbKl.js";const X={key:0,class:"flex flex-col items-start gap-6 lg:gap-12 rounded-xl"},Y={class:"w-full overflow-hidden"},q=y({__name:"Similar",props:{post:{}},setup(d){const a=d,{articleService:c}=h(),{data:n,pending:_}=E(()=>c.getSimilar(a.post.slug),"$Jn5Ap1-xfY"),l=b(()=>n.value?n.value.data:[]);return(x,i)=>{const t=z,g=w,f=I;return r(),p(A,null,[o(t,{active:e(_)},null,8,["active"]),!e(_)&&e(l).length>0?(r(),p("section",X,[o(g,{level:2},{default:u(()=>[...i[0]||(i[0]=[m("ЧиÑайÑе Ñакже",-1)])]),_:1}),s("div",Y,[o(f,{items:e(l)},null,8,["items"])])])):T("",!0)],64)}}}),G=Object.assign(q,{__name:"ArticlesSimilar"}),Q={class:"relative w-full aspect-video mb-10"},W={class:"w-full absolute -bottom-10"},Z={class:"bg-uk-white w-10/12 mx-auto py-6 md:py-10 px-8 md:px-16 flex flex-col gap-4 roun
1ded-xl"},tt={class:"prose prose-xl break-words max-w-none flex flex-col gap-12"},et=["innerHTML"],yt=y({__name:"[slug]",async setup(d){let a,c;const n=C(),l=P().params.slug,{newsService:x}=h(),{data:i}=([a,c]=K(()=>J(()=>x.get(l),"$0EK4c8iDBV")),a=await a,c(),a);i.value?.data||U(`Article with slug '${l}' not found.`);const t=b(()=>i.value.data);return R({title:()=>t.value.title,description:()=>t.value.preview,articlePublishedTime:()=>t.value.created_at,articleModifiedTime:()=>t.value.updated_at,ogTitle:()=>t.value.title,ogDescription:()=>t.value.preview,ogImage:()=>t.value.image,ogImageAlt:()=>t.value.title,ogUrl:()=>n.canonical(),ogType:"article"}),N([{text:"ÐлавнаÑ",to:"/"},{text:"СÑаÑÑи",to:"/articles"},{text:t.value.title,to:n.toArticle(t.value)}]),(g,f)=>{const B=V,S=L,$=j,k=w,D=F,H=G;return r(),p(A,null,[o(B),s("div",Q,[e(t).image?(r(),O(S,{key:0,src:e(t).image,alt:e(t).title,class:"w-full h-full rounded-xl absolute object-cover",sizes:"350px sm:512px md:576px lg:783px xl:960px 2xl:1120px"},null,8,["src","alt"])):T("",!0),s("div",W,[s("figure",Z,[o($,null,{default:u(()=>[m(v(e(M)(e(t).created_at)),1)]),_:1}),s("figcaption",null,[o(k,{level:1},{default:u(()=>[m(v(e(t).title),1)]),_:1})])])])]),s("article",tt,[s("div",{class:"ck-content",innerHTML:e(t).content},null,8,et),o(D,{post:e(t),class:"xl:py-5"},null,8,["post"])]),o(H,{post:e(t)},null,8,["post"])],64)}}});export{yt as default}; 2//# sourceMappingURL=Bic9M_gF.js.map
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.