1import{_ as j}from"./AppMeta.vue.zemTT-bV.js";import{_ as q}from"./AppLoader.4sR_ZAPQ.js";import{_ as G,a as J}from"./PagePath.qkfKr8BX.js";import{u as z,i as k,e as x,a as N,n as E,l as X,g as K,_ as e2,C as t2,f as s2}from"./entry.v8sx0R-F.js";import{d as I,Y as n2,G as n,z as a,u as t,F as g,O as e,Q as l,P as w,M,N as R,c as a2,H as Z,a3 as H,C as m,I as y,W as _2,Z as S}from"./swiper-vue.XZ9hoFrI.js";import{_ as o2}from"./PreFooter.CqmnqaFr.js";import"./SectionButtons.sJ6d28VC.js";import"./SectionQrCodes.cNTmu7Pu.js";const c2=c=>(M("data-v-165c301d"),c=c(),R(),c),i2={class:"exchange"},l2={key:0,class:"exchange__pending"},r2=c2(()=>e("div",{class:"pending-animate"},null,-1)),d2=[r2],u2={class:"exchange__flags"},m2=["src"],p2=["src"],h2={class:"exchange__content"},g2={class:"exchange__title"},w2={class:"exchange__text"},C2=I({__name:"Exchange",async setup(c){let p,s;const C=z(),{data:_,error:$,pending:r}=([p,s]=n2(async()=>k(async()=>{var o;const h=(o=(await x("currencies")).find(i=>C.locale.value==="ru"?i.name==="RUB":i.name==="EUR"))==null?void 0:o.id;return await x("currencies/main/rate",{query:{currencyId:h}},C)},{lazy:!0},"$uF70VkefPh")),p=await p,s(),p);return(d,h)=>{var o,i,u,v,f;return n(),a("div",i2,[t(r)?(n(),a("div",l2,d2)):t(_)?(n(),a(g,{key:1},[e("div",u2,[e("img",{src:(o=t(_).from.image)==null?void 0:o.url,alt:""},null,8,m2),e("img",{src:(i=t(_).to.image)==null?void 0:i.url,alt:""},null,8,p2)]),e("div",h2,[e("div",g2,l(d.$t("exchange.exchangeRate")),1),e("div",w2,l(`1 ${(u=t(_))==null?void 0:u.from.name} = ${(v=t(_))==null?void 0:v.rate} ${(f=t(_))==null?void 0:f.to.name}`),1)])],64)):w("",!0)])}}}),$2=N(C2,[["__scopeId","data-v-165c301d"]]),v2={class:"news-next"},f2={class:"news-next__title"},x2={key:1,class:"news-next__list"},y2={class:"news-card"},k2=["src"],N2={class:"news-card__content"},I2={class:"news-card__title"},b2={class:"news-card__footer"},P2={class:"news-card__date"},A2=I({__name:"NewsNext",props:{currentNewsId:{}},setup(c){const{currentNewsId:p}=c,{data:s,error:C,pending:_}=k(async()=>await x("news"),"$2d3jJYQNmx"),$=E(),r=a2(()=>{var h;const d=(h=s.value)==null?void 0:h.data;if(d){const o=d.findIndex(i=>i.id===p);return[...d,...d].slice(o+1,o+7)}});return(d,h)=>{const o=q,i=X;return n(),a("div",v2,[e("h3",f2,l(d.$t("titles.interestingNews")),1),t(_)?(n(),Z(o,{key:0})):t(r)?(n(),a("ul",x2,[(n(!0),a(g,null,H(t(r),u=>(n(),a("li",{class:"news-next__item",key:u.id},[m(i,{link:`/news/${u.slug}`},{default:y(()=>[e("div",y2,[e("img",{class:"news-card__image",src:u.image.url,alt:""},null,8,k2),e("div",N2,[e("div",I2,l(u.title),1),e("div",b2,[e("div",P2,l(t($)(u.publish_date)),1)])])])]),_:2},1032,["link"])]))),128))])):w("",!0)])}}}),F2=N(A2,[["__scopeId","data-v-8553d7df"]]),L2="data:image/svg+xml,%3csvg%20width='40'%20height='30'%20viewBox='0%200%2040%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.4646%200.638173C8.83566%203.59358%205.12932%207.00743%202.95092%2010.3221C0.59541%2013.9064%20-0.343941%2017.5876%200.111403%2021.4501C0.52075%2024.9224%202.2858%2027.595%205.11649%2029.0287C6.42482%2029.6913%207.52244%2029.9441%209.28155%2029.988C10.3797%2030.0154%2010.6471%2030.002%2011.3662%2029.8843C12.4219%2029.7115%2013.0142%2029.5568%2013.718%2029.2701C16.1163%2028.2928%2017.9065%2026.3651%2018.4742%2024.1483C18.7371%2023.1212%2018.8331%2020.9718%2018.6623%2019.9294C18.3831%2018.2239%2017.6558%2016.7505%2016.4891%2015.5265C15.23%2014.2057%2013.7615%2013.3846%2011.993%2013.0128C11.1416%2012.8339%209.67913%2012.8192%208.83534%2012.9811C7.78247%2013.1833%206.65926%2013.6353%205.72191%2014.2343L5.29948%2014.5043L5.29973%2014.211C5.30061%2013.2014%205.74544%2011.6451%206.41043%2010.3254C7.76132%207.64437%2010.6429%204.72634%2014.5579%202.0749C15.0418%201.74719%2015.4377%201.45433%2015.4377%201.42402C15.4377%201.34615%2014.5571%200%2014.5062%200C14.483%200%2014.0143%200.287159%2013.4646%200.638173ZM33.758%200.926695C32.134%201.99678%2030.6306%203.09973%2029.3308%204.17478C28.199%205.1109%2026.109%207.1667%2025.2856%208.15384C22.7486%2011.1954%2021.2859%2014.3096%2020.8458%2017.6065C20.7085%2018.6359%2020.7068%2020.5462%2020.8425%2021.5502C21.1027%2023.4759%2021.7359%2025.1174%2022.729%2026.4407C22.9081%2026.6794%2023.3474%2027.1547%2023.7052%2027.4971C25.0116%2028.7473%2026.4546%2029.4896%2028.3005%2029.8614C29.1776%2030.038%2031.4746%2030.02
11%2032.4912%2029.8303C35.0047%2029.3588%2036.7601%2028.2561%2038.3421%2026.1546C39.554%2024.5448%2040.1482%2022.5039%2039.9684%2020.5687C39.614%2016.7522%2036.9595%2013.7922%2033.1914%2013.0115C31.793%2012.7218%2029.8677%2012.8931%2028.5215%2013.4268C27.8372%2013.6981%2026.988%2014.1738%2026.469%2014.5763C26.2547%2014.7426%2026.0472%2014.8787%2026.0079%2014.8787C25.865%2014.8787%2026.071%2013.2023%2026.3256%2012.294C26.6773%2011.0388%2027.4135%209.6099%2028.3654%208.33486C29.942%206.22289%2032.5767%203.8596%2035.5733%201.8692C35.8917%201.65767%2036.1522%201.45817%2036.1522%201.42581C36.1522%201.33784%2035.3066%200.0411021%2035.2335%200.0169242C35.1988%200.00545521%2034.5348%200.414868%2033.758%200.926695Z'%20fill='%23F3F3F3'/%3e%3c/svg%3e",b=c=>(M("data-v-0e51acf0"),c=c(),R(),c),B2={key:0,class:"news-item__background"},D2=["src"],V2=b(()=>e("div",{class:"news-item__background-cover"},null,-1)),S2={class:"news-item__wrapper"},q2={class:"main news-item__main"},z2={class:"news-item__published"},E2=b(()=>e("span",{class:"published-slash"},"/",-1)),M2={class:"news-item__content"},R2={class:"news-item__preview"},Z2=["src","alt"],H2={class:"news-item__description"},O2={key:0,class:"news-item__quote"},Q2=b(()=>e("img",{src:L2,alt:""},null,-1)),T2={class:"news-item__aside"},U2={class:"news-item__wigets"},W2=I({__name:"[slug]",setup(c){const{params:p}=K();z();const{data:s,error:C,pending:_}=k(async()=>await x(`news/by-slug/${p.slug}`),"$mN2gziXVDH"),$=E();return(r,d)=>{var P,A,F;const h=j,o=q,i=G,u=J,v=$2,f=t2,O=s2,Q=F2,T=e2,U=o2;return n(),a(g,null,[m(h,{title:((P=t(s))==null?void 0:P.meta_title)||r.$t("meta.news.title"),description:((A=t(s))==null?void 0:A.meta_description)||r.$t("meta.news.description"),ogImage:(F=t(s))==null?void 0:F.image.url},null,8,["title","description","ogImage"]),e("div",{class:_2(["news-item",{full:t(_)}])},[t(_)?(n(),Z(o,{key:0})):t(s)?(n(),a(g,{key:1},[t(_)?w("",!0):(n(),a("div",B2,[e("img",{src:t(s).image.url,alt:""},null,8,D2),V2])),m(T,{class:"news-item__container"},{default:y(()=>{var L,B,D,V;return[e("div",S2,[e("main",q2,[m(i,{title:t(s).title,class:"news-item__title"},null,8,["title"]),m(u,{class:"news-item__page-path",path:[{link:"/",label:r.$t("pages.main")},{link:"/news",label:r.$t("pages.news")},{label:((L=t(s))==null?void 0:L.title)||""}]},null,8,["path"]),e("div",z2,[e("span",null,l(t($)(t(s).publish_date)),1),S(" "+l(" ")),E2,S(l(" ")+" "),e("span",null,l(t(s).source),1)]),e("section",M2,[e("div",null,[e("div",R2,[e("img",{src:t(s).image.url,alt:(B=t(s))==null?void 0:B.title},null,8,Z2)]),e("div",H2,[(n(!0),a(g,null,H((D=t(s))==null?void 0:D.description.split(` 2`),(W,Y)=>(n(),a("p",{key:Y},l(W),1))),128))]),(V=t(s))!=null&&V.quote?(n(),a("div",O2,[Q2,e("span",null,l(t(s).quote),1)])):w("",!0)]),e("aside",T2,[m(O,null,{default:y(()=>[e("div",U2,[m(v),m(f,{class:"news-item__weather"})])]),_:1}),m(Q,{currentNewsId:t(s).id},null,8,["currentNewsId"])])])])])]}),_:1})],64)):w("",!0)],2),m(U,{title:[{title:r.$t("prefooter.news.first"),yellow:!1}],imageName:"news"},null,8,["title"])],64)}}}),se=N(W2,[["__scopeId","data-v-0e51acf0"]]);export{se 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.