1var N=Object.defineProperty;var $=(e,t,o)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var h=(e,t,o)=>($(e,typeof t!="symbol"?t+"":t,o),o);import{_ as g,a as v}from"./index.fa74a73f.js";import{_ as f}from"./BaseShare.41ffa3df.js";import{B as S}from"./BlockNewsSlider.3a23bd66.js";import{V as k,C}from"./index.5365db26.js";import{u as P}from"./news.fafafbce.js";import{B as V}from"./BlockNewsCard.82236da8.js";import{_ as j}from"./entry.362fd4e3.js";import{e as r,y as c,G as s,i as w,a5 as p,a6 as a,z as m,P as D,M as O,j as z,f as L}from"./swiper-vue.55a2d2a8.js";import"./nuxt-icon.vue.a118ec50.js";import"./detector.f7675507.js";import"./seo.84be71ec.js";import"./index.302679b1.js";var M=Object.defineProperty,T=Object.getOwnPropertyDescriptor,H=(e,t,o,i)=>{for(var n=i>1?void 0:i?T(t,o):t,l=e.length-1,_;l>=0;l--)(_=e[l])&&(n=(i?_(t,o,n):_(n))||n);return i&&n&&M(t,o,n),n};let u=class extends k{constructor(){super(...arguments);h(this,"newsStore",P())}get news(){return this.newsStore.news}get otherNews(){return this.newsStore.otherNews}goBack(){window.history.length>1?this.$router.go(-1):document.referrer?window.location.href=document.referrer:this.$router.push("/")}goShare(){this.newsStore.setIncrementShare(this.$route.params.slug.toString())}async mounted(){await this.newsStore.setShow(this.$route.params.slug.toString())}async created(){await this.newsStore.getByCode(this.$route.params.slug.toString())}};u=H([C({components:{BlockNewsSlider:S,BaseSvg:g,BaseButton:v,BlockNewsCard:V,BaseShare:f},mixins:[]})],u);const I={key:0,class:"news-detail"},E={class:"base-container"},F={class:"news-detail__top"},G={class:"news-detail__top-title"},q={key:0,class:"news-detail-tags__list"},A={class:"news-detail-tags__item"},J={class:"news-detail-tags__item-title"},K={class:"news-detail__img-wrap"},Q={class:"base-container"},R=["src","alt"],U={class:"news-detail__inner"},W={class:"base-container"},X={class:"news-detail__inner-col"},Y={class:"news-detail__content"},Z=["innerHTML"],x={class:"news-detail-tags__list"},ee={class:"news-detail-tags__item"},se={class:"news-detail-tags__item-title"},te={class:"news-detail__similar"},oe={class:"news-detail__similar-top"},ne={class:"base-title news-detail__similar-title"};function ae(e,t,o,i,n,l){const _=g,y=f,b=v,B=S;return e.news?(r(),c("div",I,[s("div",E,[s("div",F,[s("div",{class:"news-detail__top-back",onClick:t[0]||(t[0]=(...d)=>e.goBack&&e.goBack(...d))},[w(_,{icon:"arrow-left"}),p(" "+a(e.$t("all-news-and-projects")),1)]),s("h1",G,a(e.news.name),1),e.news.category?(r(),c("ul",q,[s("li",A,[s("div",J,a(e.news.category.name),1)])])):m("",!0)])]),s("div",K,[s("div",Q,[s("img",{loading:"lazy",class:"news-detail__img",src:e.news.picture,alt:`${e.news.name} - ТФÐ`},null,8,R)])]),s("div",U,[s("div",W,[s("div",X,[s("div",null,[w(y,{onShare:e.goShare},null,8,["onShare"])]),s("div",Y,[s("div",{class:"news-detail__text",innerHTML:e.news.text},null,8,Z),s("ul",x,[(r(!0),c(D,null,O(e.news.tags,d=>(r(),c("li",ee,[s("div",se,a(d.name),1)]))),256))])])]),s("div",te,[s("div",oe,[s("p",ne,a(e.otherNews.name),1),w(b,{class:"news-detail__similar-btn","black-bordered":!0,size:"medium",to:e.localePath("/news/")+"/","button-type":"button"},{default:z(()=>[p(a(e.$t("similar-btn")),1)]),_:1},8,["to"])]),e.otherNews&&e.otherNews.news.length?(r(),L(B,{key:0,list:e.otherNews.news},null,8,["list"])):m("",!0)])])])])):m("",!0)}const fe=j(u,[["render",ae],["__scopeId","data-v-c67946f5"]]);export{fe 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.