PageSourceSearch

https://cdn10.vedomosti.ru/1.7.161/assets/index-e838854a.js

js vedomosti.ru collected 2026-09-24 07:56:45 UTC 4,915 bytes, 1 lines download raw bytes

1import{_ as C}from"./Adfox-4b4105d0.js";import{_ as R}from"./ArticleOpinionItem-5d5fd6d4.js";import{_ as U}from"./ArticlesPreviewList-67795a6f.js";import{_ as j}from"./Banner-0a6c8e35.js";import{u as H}from"./useInitialState-e2db9d52.js";import{u as V}from"./useUserDataUpdate-921db953.js";import{u as W,g as z}from"./index-ba7a78b3.js";import{t as G}from"./trailingSlash-0f36b6b1.js";import{g as q}from"./meta-7b87f0e9.js";import{c as J}from"./socials-f5e3ab95.js";import{g as K}from"./getAdfoxSessionUnit-04a287bb.js";import{z as Q,x as X,a0 as Y,O as Z,f as T,y as t,A as uu,ap as eu,C as p,a2 as y,a4 as f,a6 as tu,a7 as v,a3 as g,a8 as su,ar as n,D as k}from"./vendor-841ae9e1.js";import{u as ou}from"./useDesktopRightBanner-0fc64957.js";import{_ as au}from"./plugin-vue_export-helper-c27b6911.js";import"./useCategoryHelper-f36740e3.js";import"./BaseImage-cc67c8f1.js";/* empty css                                                  */import"./SvgIcon-3a8dabd4.js";import"./isLocked-e08ca20f.js";import"./ArticlePreviewItem-ebc8b77f.js";import"./PartnerTool-4876009c.js";import"./Tooltip-e7cb77d9.js";/* empty css                                                *//* empty css                                                    */import"./returnLinkTarget-83bf04d0.js";/* empty css                                                           */import"./DotsLoader-94dd551d.js";import"./Loader-630fb009.js";import"./logger-e10aea59.js";import"./no-photo-c1474d1d.js";import"./SalmonButton-aad65f21.js";import"./consola-a319bdc8.js";import"./sentry-27444d60.js";import"./polyfills-c1ef29e8.js";import"./axios-f31720dc.js";import"./imask/esm-65004cd6.js";import"./lodash-59cf2d56.js";import"./crypto-bn-fe71aef5.js";import"./elliptic-0bc42179.js";const iu={class:"page-theme"},ru={class:"page-theme__content"},nu={key:0,class:"page-theme__title"},lu={class:"page-theme__ad adfox--300x600"},_=12,mu=Q({__name:"PageThemes",setup(cu){V();const h=X(),x=W(),i=Y(),s=Z("adfox"),l=T({}),d=T(null),{desktopRightBanner:w,changeBanner:S}=ou(s.units),D=t(()=>i.getters["viewport/isMobile"]),$=t(()=>i.getters["viewport/isTablet"]),M=t(()=>i.getters["viewport/isWideTablet"]),I=t(()=>i.getters["viewport/isDesktopOrHigher"]),N=t(()=>D.value?"Mobile_content_1":$.value||M.value?"Tablet_content":"Billboard_content"),F=t(()=>{const u=N.value,e=u==="Billboard_content";return K(s.units,u,e)}),P=t(()=>{var u,e;return D.value?((u=s==null?void 0:s.units)==null?void 0:u.Mobile_bottom)||{}:((e=s==null?void 0:s.units)==null?void 0:e.Tablet_bottom)||{}}),E=(u,e)=>l.value=J({title:e.seo_title||"«Ведомости» — ведущее деловое издание России",subtitle:`${e.seo_description} ${u}`||"Качественный контент о бизнесе, экономике, финансах и политике. Свежие новости, экспертные статьи и аналитика в деловом издании «Ведомости»",keywords:e.seo_keywords||"ведомости, vedomosti, деловое издание о бизнесе, политике, экономике, финансах, недвижимости, инвестициях, обществе, менеджменте, медиа",image:q(x.value),type:"website",url:`${z()}${h.path}`},{customTitle:!0,useCDN:!1});uu({title:t(()=>l.value.title),meta:t(()=>l.value.meta),link:t(()=>l.value.link)});const{data:o,save:L}=H(`page-themes_${G(h.path)}`),O=u=>{u&&(d.value=u)},B=u=>{var e;O(u.title),E(((e=u.articles[0])==null?void 0:e.title)??"",u.seoMeta)};o.value&&B(o.value);const b=t(()=>{const u=h.path.match(/^\/themes\/([^/]+)/);return u?u[1]:null});return eu(async()=>{var A;if(!b.value)return;const u=await i.dispatch("articlesPreviewList/fetch",{url:`/lists/theme-${b.value}-top`,offset:0,limit:_+1,server:!0}),{documents:e,header:m,description:a}=u,c=((A=e==null?void 0:e.documents)==null?void 0:A.length)>0?e.documents:e,r=Array.isArray(c)?c:[];o.value={title:m||(a==null?void 0:a.title)||null,articles:r.slice(0,_),hasMore:r.length>_,seoMeta:{seo_title:u.seo_title,seo_description:u.seo_description,seo_keywords:u.seo_keywords}},L(),B(o.value)}),(u,e)=>{var m,a;return p(),y("div",null,[f("div",iu,[f("div",ru,[d.value?(p(),y("h1",nu,tu(d.value),1)):v("",!0),g(n(U),{class:"page-theme__list","is-page":!0,limit:_,"initial-articles":(m=n(o))==null?void 0:m.articles,"initial-has-more":(a=n(o))==null?void 0:a.hasMore,onIncreaseCounter:n(S),onGetLatestArticleTitle:E},{pageContent:su(({article:c,index:r})=>[g(R,{article:c},null,8,["article"]),!I.value&&r===2?(p(),k(C,{key:0,unit:F.value,class:"adfox--
1pages"},null,8,["unit"])):v("",!0),r===11?(p(),k(C,{key:1,unit:P.value,class:"adfox--pages"},null,8,["unit"])):v("",!0)]),_:1},8,["initial-articles","initial-has-more","onIncreaseCounter"])]),f("div",lu,[g(j,{unit:n(w)},null,8,["unit"])])])])}}}),Xu=au(mu,[["__scopeId","data-v-281b9392"]]);export{Xu 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.