1import{_ as x}from"./Page-25d62adf.js";import{_ as F}from"./SchemaOrgContainer-62b5ba4c.js";import{_ as f}from"./SvgIcon-e596f7e4.js";import{W as k}from"./Waterfall-113a78bb.js";import{_ as P}from"./WaterfallSwitchers-557a4c8a.js";import{u as S}from"./useUserDataUpdate-30e82c7b.js";import{g as b}from"./ArticlesPreviewList-6204b427.js";import{l as I}from"./index-5e4ad7dc.js";import{z as L,a4 as R,as as U,x as W,y as u,f as g,at as N,A as O,C as r,D as a,ac as T,a8 as G,ab as i,a7 as C,av as M}from"./vendor-0c36d451.js";import{i as V}from"./vedomostiAuthors-d9e2fb8b.js";import{c as $}from"./socials-04267ff6.js";import{A as H}from"./ArticlesCardsList-9888ce82.js";import"./Adfox-c2965d16.js";import"./useCategoryHelper-414056ac.js";import"./LoaderDots-f268034d.js";import"./plugin-vue_export-helper-c27b6911.js";import"./SalmonButton-fdee9c07.js";import"./ScrollBar-0e65e0b2.js";import"./isLocked-e08ca20f.js";import"./ArticlePreviewItem-559cd78b.js";import"./BaseImage-a5981352.js";/* empty css */import"./PartnerTool-28e344dc.js";import"./Tooltip-9de21ff1.js";/* empty css *//* empty css */import"./isNonEmptyObject-8ba6e004.js";import"./returnLinkTarget-76d01e4e.js";/* empty css */import"./DotsLoader-fd0be209.js";import"./Loader-fc37ff41.js";import"./useInitialState-034af1d9.js";import"./consola-a319bdc8.js";import"./sentry-852b7929.js";import"./polyfills-c07c29bf.js";import"./axios-e9234e4d.js";import"./imask/esm-18c5e0c7.js";import"./lodash-ed29789a.js";import"./crypto-bn-573a9517.js";import"./elliptic-ad06cbf4.js";import"./RawHtml-0d84c4c4.js";import"./index-c6dd69b3.js";import"./Tags-880de5c9.js";import"./Banner-0ea3d849.js";import"./logger-e10aea59.js";import"./no-photo-a9ea1a49.js";import"./nonEmptyObjectOrNull-531e119f.js";import"./Card-0def553c.js";import"./CardVideo-084ac2db.js";import"./ArticleShare-c20bd1de.js";import"./Share-703ffb09.js";import"./SectionName-260f8ed7.js";import"./Tooltip-8dd2a37b.js";import"./subscriber-f42e4d2a.js";const Y={class:"page-index__logo"},h="spb_lifestyle_main",z4=L({__name:"PageIndex",setup(j){S();const o=R(),v=U(),l=W(),D=u(()=>o.getters["viewport/isMobile"]),n=u(()=>o.getters["viewport/isDesktopOrHigher"]),c={id:"main",name:"Ðлавное"},s={id:"spb_lifestyle_waterfall",name:"ÐовоÑÑи"},e=g(c.id),B=g([c,s]),m=u(()=>o.state.articlesCardsList.pageInfo),d=u(()=>({title:m.value.seo_title||"ÐедомоÑÑи СевеÑо-Ðапад. СÑÐ¸Ð»Ñ Ð¶Ð¸Ð·Ð½Ð¸ â гид по миÑÑ ÑоÑкоÑи и ÑÑилÑ",subtitle:m.value.seo_description||"ÐбзоÑÑ Ð°ÐºÑÑалÑнÑÑ
ÑÑендов, новоÑÑи и ÑепоÑÑажи, Ð¼Ð½ÐµÐ½Ð¸Ñ ÑкÑпеÑÑов из миÑа модÑ, кÑаÑоÑÑ, дизайна, гаÑÑÑономии, здоÑовÑÑ Ð¸ пÑÑеÑеÑÑвий.",keywords:m.value.seo_keywords||"ведомоÑÑи, vedomosti, обзоÑÑ Ð°ÐºÑÑалÑнÑÑ
ÑÑендов, новоÑÑи, ÑепоÑÑажи, Ð¼Ð½ÐµÐ½Ð¸Ñ ÑкÑпеÑÑов из миÑа модÑ, кÑаÑоÑÑ, дизайна, гаÑÑÑономии, здоÑовÑÑ Ð¸ пÑÑеÑеÑÑвий",image:"/share-spb.png",type:"website",url:"https://vedomosti-spb.ru"})),y=u(()=>({customTitle:!!d.value.title,useCDN:!1})),p=u(()=>$.call(this,d.value,y.value)),A=t=>{e.value!==t&&(e.value=t)},_=u(()=>e.value===s.id),w=async()=>{try{await o.dispatch("articlesCardsList/loadCards",{page:h})}catch(t){b(t,{router:v,pageUrl:l.fullPath,onReport:E=>{I("PageIndex SPB","PageIndex SPB: [SSR] fetchData",E.message||"Unexpected error",{pageUrl:l.fullPath})}})}};return N(()=>w()),O({title:u(()=>p.value.title),meta:u(()=>p.value.meta),link:u(()=>p.value.link)}),(t,E)=>(r(),a(x,{class:"page-index"},{default:T(()=>[G("div",Y,[n.value?(r(),a(f,{key:0,name:"spb-lifestyle",width:"263",height:"68"})):i("",!0),n.value?i("",!0):(r(),a(f,{key:1,name:"spb-lifestyle",width:"197",height:"51"}))]),C(P,{class:"page-index__waterfall-switchers --weigth",categories:B.value,currentCategoryId:e.value,onSwitch:A},null,8,["categories","currentCategoryId"]),D.value&&_.value?(r(),a(k,{key:0,isSubprojectPageIndex:!0,isSPBWaterfallCategory:e.value===s.id},null,8,["isSPBWaterfallCategory"])):i("",!0),C(F,{schema:M(V)},null,8,["schema"]),_.value?i("",!0):(r(),a(H,{key:1,page:h}))]),_:1}))}});
1export{z4 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.