1import{z as O,O as we,C as u,a2 as o,a4 as t,a3 as h,ar as e,aR as eu,f as w,w as Se,D as H,a7 as g,t as qu,bd as zu,y as b,o as ie,g as qe,a6 as D,a9 as M,q as Re,aQ as Xu,a5 as W,aH as Le,ap as Oe,av as Ie,B as ye,aa as z,ab as te,a8 as I,af as He,a0 as ae,x as ve,ao as Ku,ac as xe,E as Ke,ak as Ue,aG as Cu,aq as ze,as as De,ad as ke,P as Bu,aE as Ju,ag as Je,at as hu,ai as je,aj as Ve,bk as Qu,bl as Zu,a_ as Su,A as et,Q as pu,aA as ut}from"./vendor-841ae9e1.js";import{_ as tu}from"./Adfox-4b4105d0.js";import{C as tt}from"./CookiesBanner-700a2f61.js";import{_ as R}from"./SvgIcon-3a8dabd4.js";import{_ as Ee}from"./plugin-vue_export-helper-c27b6911.js";import{c as Du,_ as st}from"./currentYear-c883a4a4.js";import{T as se,u as fe,n as Ge,l as Ae,y as uu,t as Q,d as ot,r as J,A as nt,O as be,S as me,M as Qe,z as Me,a7 as Fu,o as he,q as re,I as pe,V as xu,a8 as rt,B as Be,a9 as it,N as mu,aa as Lu,Q as su,ab as vu,ac as at,ad as lt,ae as ct}from"./index-ba7a78b3.js";import{L as dt}from"./Loader-630fb009.js";import{P as Au}from"./PopupWrapperLago-24c75c8c.js";import{u as Tu}from"./useInitialState-e2db9d52.js";import{r as _t}from"./returnLinkTarget-83bf04d0.js";import{_ as ht,F as pt}from"./FeedbackForm-51c01303.js";import{_ as fu}from"./BaseCheckbox-9bff6676.js";import{F as mt}from"./FormInput-a374c02a.js";import{S as $u}from"./SalmonButton-aad65f21.js";import{g as Iu}from"./getAdfoxSessionUnit-04a287bb.js";import{S as vt}from"./SocialIcons-006a0718.js";import{u as Mu,a as ou,b as nu,W as Pu}from"./Waterfall-527224b4.js";import{S as ft}from"./ScrollBar-e0056128.js";import{i as bt,p as gt,a as bu}from"./subscription_promo-db39b3f6.js";import{g as kt}from"./getRandomInt-5178631f.js";import{I as gu}from"./social-4ac34af7.js";import{C as Et}from"./ClosestEvents-af05f3a8.js";import{c as yt,d as wt,e as ku,f as Ct,C as Bt}from"./CardEvent-4fec9698.js";import"./axios-f31720dc.js";import"./polyfills-c1ef29e8.js";import"./lodash-59cf2d56.js";import"./crypto-bn-fe71aef5.js";import"./elliptic-0bc42179.js";import"./useCategoryHelper-f36740e3.js";import"./consola-a319bdc8.js";import"./sentry-27444d60.js";import"./imask/esm-65004cd6.js";import"./LoaderDots-60f8ec53.js";import"./isLocked-e08ca20f.js";import"./EventsList-3ddd2f87.js";import"./DotsLoader-94dd551d.js";import"./Tooltip-a412fcf9.js";const St={class:"calendar-sidebar-header"},Dt={class:"header"},Ft=O({__name:"CalendarSidebarHeader",props:{currentMonth:{}},emits:["prev","next"],setup(l){const s=l,{monthName:a,year:r,monthLink:n}=yt(()=>s.currentMonth),{isPrevDisabled:i,isNextDisabled:p}=wt(()=>s.currentMonth),d=we("yandexMetrika"),m=()=>{d==null||d.reachGoal("federal_calendar_header_click")};return(c,v)=>(u(),o("div",St,[t("a",{class:"title-link",href:"/calendar",onClick:m}," ÐалендаÑÑ ÑобÑÑий "),t("div",Dt,[h(ku,{direction:"prev",variant:"sidebar",disabled:e(i),onClick:v[0]||(v[0]=_=>c.$emit("prev"))},null,8,["disabled"]),h(Ct,{variant:"sidebar","navigation-mode":"external","month-name":e(a),year:e(r),"is-current-month":!1,"month-link":e(n)},null,8,["month-name","year","month-link"]),h(ku,{direction:"next",variant:"sidebar",disabled:e(p),onClick:v[1]||(v[1]=_=>c.$emit("next"))},null,8,["disabled"])])]))}}),xt=Ee(Ft,[["__scopeId","data-v-7d90863c"]]);const Lt={class:"close-button"},At=O({__name:"CloseButton",setup(l){const s={title:"ÐакÑÑÑÑ",width:"100%",height:"100%",color:"currentColor"};return(a,r)=>(u(),o("button",Lt,[h(R,eu(s,{name:"close-desktop",class:"close-button__icon--desktop"}),null,16),h(R,eu(s,{name:"close",class:"close-button__icon"}),null,16)]))}}),Tt=Ee(At,[["__scopeId","data-v-3d5ba92e"]]);const $t={key:0,class:"floor-banner"},It=O({__name:"FloorBanner",emits:["close","hide"],setup(l,{emit:s}){const a=s,r=we("adfox"),n=w(!1),i=w(!1),p=()=>{n.value=!0,a("hide")};return Se(()=>r==null?void 0:r.isReady,d=>{d===!1&&p()},{immediate:!0}),(d,m)=>n.value?g("",!0):(u(),o("article",$t,[i.value?(u(),H(e(Tt),{key:0,class:"floor-banner__close-button",onClick:m[0]||(m[0]=c=>a("close"))})):g("",!0),h(e(tu),{unit:e(r).units.FloorAd,class:"floor-banner__adfox",onError:p,onStub:p,onRender:m[1]||(m[1]=c=>i.value=!0),onClose:m[2]||(m[2]=c=>a("close"))},null,8,["unit"])]))}}),Mt=Ee(It,[["__scopeId","data-v-2438d5ec"]]);function Ru(l){const s=qu(l);let a=0;const r=w(s.value[0]),n=()=>{a>=s.value.length-1?a=0:a++,r.value=s.value[a]};return Se(s,i=>{a=0,r.value=i[0]}),{currentLine:r,wheelCurrentLine:n}}const Pt=["href"],Rt={class:"page-banner__text"},Ht=12,Ot=O({__name:"PageBanner",props:{variant:{default:"default"},titleLines:{},link:{}},emits:["close"],setup(l,{emit:s}){const a=zu(l,["variant"]),r=s,n=we("yandexMetrika"),{currentLine:i,wheelCurrentLine:p}=Ru(()=>a.titleLines);f(p);const d=se.isBlackFriday(),m=se.isNewYearEnabled(),c=se.isCalendar2026Enabled(),v=(U,C)=>U.some(S=>S.includes(C)),_=b(()=>v(a.titleLines,"ÐодпиÑка Ð¾Ñ 1500")?"lightning-yellow":"fire"),k=l.variant==="default"?"white":"black",y=w(!0),E=A("bannerDelayedTime"),L=()=>{c&&(n==null||n.reachGoal("promo_banner_calendar2026_click"))},N=()=>{y.value=!1,E.setTimestamp(),c&&(n==null||n.reachGoal("promo_banner_calendar2026_close")),r("close")},x=()=>{y.value=E.hasHoursPassed(Ht)};ie(()=>{x(),c&&y.value&&(n==null||n.reachGoal("promo_banner_calendar2026"))});function f(U,C=2e3){const S=G(C,U);ie(()=>{S.start(),qe(()=>{S.stop()})})}function G(U,C){let S=null;return{start:(...F)=>{S===null&&(S=setInterval(C,U,...F))},stop:()=>{S!==null&&(clearInterval(S),S=null)}}}function A(U){const C=()=>{localStorage.setItem(U,new Date().toISOString())},S=()=>localStorage.getItem(U),T=()=>{localStorage.removeItem(U)};return{setTimestamp:C,hasHoursPassed:F=>{const Y=S();if(!!!Y)return!0;const j=F*60*60*1e3,q=Re().diff(Re(Y).utc())>j;return q&&T(),q}}}return(U,C)=>y.value?(u(),o("article",{key:0,class:M(["page-banner",[{"--black-friday":e(d),"--new-year":e(m)},`--variant-${l.variant}`]])},[t("a",{href:l.link,class:"page-banner__container",onClick:L},[e(i)==="ЧеÑÐ½Ð°Ñ ÐÑÑниÑа"?(u(),H(R,{key:0,height:"32",width:"32",name:_.value,class:"page-banner__text--emoji"},null,8,["name"])):g("",!0),t("div",Rt,D(e(i)),1)],8,Pt),t("button",{class:"page-banner__close",onClick:N},[h(R,{name:"close2",width:"20",height:"20",color:e(k)},null,8,["color"])])],2)):g("",!0)}});const Nt=O({__name:"PageLoader",props:{isLoading:{type:Boolean,default:!1}},setup(l){const s=l,{isLoading:a}=Xu(s);return(r,n)=>(u(),o("div",{class:M(["page-loader",[e(a)&&"page-loader--loading"]])},[h(dt,{"is-loading":e(a)},null,8,["is-loading"])],2))}});const Ut={class:"spb-style-banner__title"},jt="https://spb.vedomosti.ru/lifestyle?from=plashka-vedomosti-spb",Vt=O({__name:"SpbStyleBanner",setup(l){return(s,a)=>(u(),o("a",{href:jt,target:"_self",class:"spb-style-banner"},[t("span",Ut,[a[0]||(a[0]=W(" ÐÑ Ð¿ÐµÑееÑ
али! ",-1)),h(R,{name:"arrow-relocation",width:"22",height:"22",color:"#8bc7da",class:"spb-style-banner__arrow"})]),a[1]||(a[1]=t("span",{class:"spb-style-banner__subtitle"}," ÐовÑе маÑеÑÐ¸Ð°Ð»Ñ â в Ñазделе «СÑÐ¸Ð»Ñ Ð¶Ð¸Ð·Ð½Ð¸Â» «ÐедомоÑÑи. СевеÑо-Ðапад» ",-1))]))}});const Gt={class:"story-line"},Wt=["href","target"],Yt={key:0,class:"story-line__arrows arrows"},qt=O({__name:"StoryLine",setup(l){const s=fe(),a=w(!1),r=v=>{a.value=v},n=v=>{const _=document.querySelector(".story-line__list");i.value===null||_===null||(v==="left"?_.scrollLeft-=150:_.scrollLeft+=150)},i=Le("storiesListRef"),{stories:p,hasOverflow:d}=m(i,!1);function m(v,_){const{data:k,save:y}=Tu("story-line");Oe(async()=>{k.value=await c(),y()});const E=w(_),L=x=>{const{scrollWidth:f,offsetWidth:G}=x;return f>G},N=()=>(k.value??[]).length===0;return ie(async()=>{N()&&(k.value=await c()),await Ie(),v.value!==null&&(E.value=L(v.value))}),{stories:k,hasOverflow:E}}async function c(){const v=J?"/lists/spb_lifestyle-all-story-list-top":"/lists/all-story-list-top";try{return await Ge("$api").get(v).then(({data:k})=>k.list.documents)}catch(_){return Ae("StoryLine","$api [fetch story line]",_ instanceof Error?_.message:String(_),{requestUri:v,requestMethod:"GET"}),[]}}return(v,_)=>{const k=ye("client-only");return u(),o("div",Gt,[t("ul",{ref_key:"storiesListRef",ref:i,class:M(["story-line__list stories",{"stories--focus":a.value}])},[(u(!0),o(z,null,te(e(p),(y,E)=>(u(),o("li",{key:E,class:"stories__item"},[t("a",{href:e(uu)(y.url),target:e(Q)(e(_t)(y.url,e(s)))},D(e(ot)(y)),9,Wt)]))),128))],2),h(k,null,{default:I(()=>[e(d)?(u(),o("div",Yt,[t("div",{class:"arrows__item arrows__item--left",onClick:_[0]||(_[0]=y=>n("left"))},[h(R,{name:"chevron-thick",width:"10",height:"10"})]),t("div",{class:"arrows__item arrows__item--right",onClick:_[1]||(_[1]=y=>n("right")),onMouseover:_[2]||(_[2]=y=>r(!0)),onMouseleave:_[3]||(_[3]=y=>r(!1))},[h(R,{name:"chevron-thick",width:"10",height:"10"})],32)])):g("",!0)]),_:1})])}}}),Ze="https://cdn10.vedomosti.ru/1.7.161/assets/subscribe-envelope-d447be01.png",zt="https://cdn10.vedomosti.ru/1.7.161/assets/time-776c998d.svg";const Xt={class:"subscribe-form__section"},Kt=["src"],Jt={key:1,class:"subscribe-form__title"},Qt={key:0,class:"subscribe-form__status"},Zt={key:0,class:"subscribe-form__status"},e4=["href"],u4=O({__name:"SubscribeForm",props:{noTime:{type:Boolean,default:!1},subscribeFormScope:{default:""}},emits:["input","send"],setup(l,{emit:s}){const a=s,r={checkbox:!1,privacy:!1,email:"",first_name:"",last_name:""},n={email:{type:"default",name:"email",placeholder:"Email",blurError:!0,
1conditions:[{condition:{name:"email"},message:"ÐекоÑÑекÑнÑй email"},{condition:{name:"required",value:!0},message:"ÐбÑзаÑелÑное поле"}]},first_name:{type:"default",name:"first_name",placeholder:"ÐмÑ",blurError:!0,conditions:[{condition:{name:"minLength",value:2},message:"ÐинималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° 2 Ñимвола"},{condition:{name:"required",value:!0},message:"ÐбÑзаÑелÑное поле"}]},last_name:{type:"default",name:"last_name",placeholder:"ФамилиÑ",blurError:!0,conditions:[{condition:{name:"minLength",value:2},message:"ÐинималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° 2 Ñимвола"},{condition:{name:"required",value:!0},message:"ÐбÑзаÑелÑное поле"}]}},i=w(r),p=w(null),d=w(!1),m=w(!1),c=w({checkbox:!1,privacy:!1,email:!1,first_name:!1,last_name:!1}),v=b(()=>c.value.email&&c.value.first_name&&c.value.last_name&&c.value.checkbox&&c.value.privacy),_=b(()=>!v.value),k=(x,f)=>{c.value[x]=f.valid,i.value[x]=f.value,a("input",i)},y=()=>{d.value=!1,p.value=null,a("send")},E=()=>{const x=p.value?1e4:5e3;d.value=!0,setTimeout(()=>{y()},x)},L=async()=>{const x=i.value.first_name,f=i.value.last_name,G=i.value.email;try{await nt.$api.post("/registrations/fast",{first_name:x,last_name:f,email:G,personal_data_consent:!!i.value.privacy,mailing:!0}),p.value=N(G),E(),m.value=!1}catch(A){Ae("SubscribeForm","$api [subscribe footer]",A.message||A,{requestUri:"/registrations/fast",requestMethod:"POST"}),E(),m.value=!0}i.value={...r}},N=x=>{switch(x.replace(/^(.*@)(?=\w+\.ru|com)/g,"")){case"mail.ru":case"inbox.ru":case"list.ru":case"bk.ru":return"https://mail.ru";case"yandex.ru":case"ya.ru":return"https://mail.yandex.ru";case"gmail.com":return"https://mail.google.com";default:return""}};return(x,f)=>{const G=ye("router-link");return u(),o("form",{class:"subscribe-form",onSubmit:He(L,["prevent"])},[l.noTime?(u(),o(z,{key:0},[t("div",Xt,[t("img",{src:e(zt),class:"subscribe-form__time"},null,8,Kt),f[2]||(f[2]=t("strong",{class:"subscribe-form__heading"}," ÐÐµÑ Ð²Ñемени ÑиÑаÑÑ? Ðе пÑоблема. ",-1))]),f[3]||(f[3]=t("p",{class:"subscribe-form__sup"}," Ðаждое ÑÑÑо Ð¼Ñ Ð¾ÑпÑавлÑем ÑамÑе важнÑе новоÑÑи, аналиÑÐ¸ÐºÑ Ð¸ Ð¼Ð½ÐµÐ½Ð¸Ñ ÑкÑпеÑÑов на поÑÑÑ. ÐÑÑавÑÑе Ñвой Email, ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑаÑÑ Ñвежий Ð½Ð¾Ð¼ÐµÑ Â«ÐедомоÑÑей». ",-1))],64)):(u(),o("h2",Jt,"ÐодпиÑка на ÑаÑÑÑлкÑ")),(u(),o(z,null,te(n,(A,U)=>h(mt,{key:U,value:i.value[A.name],name:A.name,label:A.placeholder,placeholder:A.placeholder,conditions:A.conditions,"blur-error":A.blurError,class:"subscribe-form__input",onInput:C=>k(A.name,C)},null,8,["value","name","label","placeholder","conditions","blur-error","onInput"])),64)),h(fu,{value:i.value.checkbox,conditions:[{condition:{name:"required",value:!0}}],name:"checkbox",class:"subscribe-form__checkbox",onInput:f[0]||(f[0]=A=>k("checkbox",A))},{default:I(()=>[f[5]||(f[5]=W(" Ðажав ÐºÐ½Ð¾Ð¿ÐºÑ Â«ÐÑпÑавиÑÑ», Ñ ÑоглаÑаÑÑÑ Ð¿Ð¾Ð»ÑÑаÑÑ ÑедакÑионнÑе ÑаÑÑÑлки Ð¾Ñ ÐР«ÐÐ¸Ð·Ð½ÐµÑ ÐÑÑÑ Ðедиа», подÑвеÑждаÑ, ÑÑо ознакомилÑÑ Ñ ",-1)),h(G,{to:{path:"/info/privacy"},target:"_blank",class:"subscribe-form__checkbox-link"},{default:I(()=>[...f[4]||(f[4]=[W(" ÐолиÑикой в оÑноÑении обÑабоÑки пеÑÑоналÑнÑÑ
даннÑÑ
и УÑловиÑми полÑзоваÑелÑÑкого ÑоглаÑениÑ. ",-1)])]),_:1})]),_:1},8,["value"]),h(fu,{value:i.value.privacy,conditions:[{condition:{name:"required",value:!0}}],name:"privacy",class:"subscribe-form__checkbox",onInput:f[1]||(f[1]=A=>k("privacy",A))},{default:I(()=>[f[7]||(f[7]=W(" ÐÐ°Ñ ÑоглаÑие ",-1)),h(G,{to:{path:"/info/personal-data"},target:"_blank",class:"subscribe-form__checkbox-link"},{default:I(()=>[...f[6]||(f[6]=[W(" на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
. ",-1)])]),_:1})]),_:1},8,["value"]),h($u,{"is-disabled":_.value,class:"salmon-button",type:"submit"},{default:I(()=>[...f[8]||(f[8]=[W(" ÐÑпÑавиÑÑ ",-1)])]),_:1},8,["is-disabled"]),l.noTime?(u(),o(z,{key:2},[d.value?(u(),o("div",Qt,[...f[9]||(f[9]=[t("img",{src:ht,class:"subscribe-form__envelope"},null,-1),t("strong",{class:"subscribe-form__heading"}," ÐÑ Ð¿Ð¾ÑÑи подпиÑалиÑÑ, пÑовеÑÑÑе поÑÑÑ! ",-1),t("p",{class:"subscribe-form__sup"}," ÐÑ Ð¾ÑпÑавили вам пиÑÑмо длÑ подÑвеÑждениÑ подпиÑки. ",-1)])])):g("",!0)],64)):(u(),o(z,{key:3},[d.value?(u(),o("div",Zt,[p.value!==null?(u(),o(z,{key:0},[f[10]||(f[10]=t("img",{src:Ze,class:"subscribe-form__envelope"},null,-1)),f[11]||(f[11]=t("div",{class:"subscribe-form__header"}," ÐÑ Ð¿Ð¾ÑÑи подпиÑалиÑÑ, пÑовеÑÑÑе поÑÑÑ! ",-1)),f[12]||(f[12]=t("div",{class:"subscribe-form__text"}," ÐÑ Ð¾ÑпÑавили вам пиÑÑмо длÑ подÑвеÑждениÑ подпиÑки ",-1)),p.value?(u(),o("a",{key:0,href:p.value,target:"_blank",class:"subscribe-form__link",rel:"noopener noreferrer nofollow"}," ÐÑкÑÑÑÑ Ð¿Ð¾ÑÑÑ ",8,e4)):g("",!0)],64)):m.value?(u(),o(z,{key:1},[f[14]||(f[14]=t("img",{src:Ze,class:"subscribe-form__envelope"},null,-1)),f[15]||(f[15]=t("div",{class:"subscribe-form__header"},[W(" ÐÑ Ñже подпиÑÐ°Ð½Ñ "),t("br"),W(" на наÑи ÑаÑÑÑлки. ")],-1)),f[16]||(f[16]=t("div",{class:"subscribe-form__text"}," ÐвÑоÑизÑйÑеÑÑ, ÑÑÐ¾Ð±Ñ Ð¿ÑовеÑиÑÑ Ð½Ð°ÑÑÑойки. ",-1)),h(G,{to:"/profile/mailing",class:"subscribe-form__link",onClick:y},{default:I(()=>[...f[13]||(f[13]=[W(" ÐойÑи ",-1)])]),_:1})],64)):(u(),o(z,{key:2},[f[18]||(f[18]=t("img",{src:Ze,class:"subscribe-form__envelope"},null,-1)),f[19]||(f[19]=t("div",{class:"subscribe-form__header"},[W(" ÐÑлиÑно! ТепеÑÑ Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе вÑбÑаÑÑ "),t("br"),W("Ñдобное вÑÐµÐ¼Ñ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ ÑаÑÑÑлок: ")],-1)),f[20]||(f[20]=t("div",{class:"subscribe-form__text"},"ÑÑÑом, в обед или веÑеÑом.",-1)),h(G,{to:"/profile/mailing",class:"subscribe-form__link",onClick:y},{default:I(()=>[...f[17]||(f[17]=[W(" РлиÑнÑй ÐºÐ°Ð±Ð¸Ð½ÐµÑ ",-1)])]),_:1})],64))])):g("",!0)],64))],32)}}});const t4={class:"the-banner-header"},s4={key:0,class:"the-banner-header__hr"},Eu=O({__name:"TheBannerHeader",emits:["hide"],setup(l,{emit:s}){const a=ae(),r=we("adfox"),n=s,i=ve(),p=b(()=>a.getters["viewport/isTabletOrHigher"]),d=b(()=>a.getters["viewport/isDesktopOrHigher"]),m=b(()=>d.value?"Billboard_head":p.value?"Tablet_head":"Mobile_head"),c=b(()=>Iu(r.units,m.value)),v=w(!0),_=()=>{n("hide"),v.value=!1};return(k,y)=>(u(),o(z,null,[t("div",t4,[(u(),H(tu,{id:"adfox",unit:c.value,class:"the-banner-header__ad adfox--header",onStub:_,key:e(i).path,"need-refresh":!0},null,8,["unit"]))]),v.value?(u(),o("hr",s4)):g("",!0)],64))}}),o4="https://cdn10.vedomosti.ru/1.7.161/assets/subscrib_email-ab9242d3.png";const n4={class:"subscription-email__left"},r4={class:"subscription-email__title"},i4=O({__name:"SubscriptionEmail",props:{analyticsTarget:{type:String,required:!0},theme:{type:String,default:"footer",validator:l=>["footer","article"].includes(l)}},setup(l){const s=ae(),a=Ku(),r=ve(),n=l,i=fe(),{isSubproject:p}=be(i.value),d=b(()=>s.getters["auth/isSubscriber"]),m=b(()=>s.getters["user/subscriptionStatus"]),c=b(()=>{var y,E;return(y=s.state.profile)!=null&&y.mail_types?(E=s.state.profile.mail_types)==null?void 0:E.some(L=>!L.enabled):!v.value||m.value==="empty"?!0:!d.value}),v=b(()=>s.getters["auth/isLogged"]),_=y=>s.commit("modal/setSubscribePopupVisible",y),k=()=>
1{if(v.value)if(r.name==="Profile.mailing")window.scrollTo({top:0,behavior:"smooth"});else{if(p){window.open("/profile/mailing","_blank");return}a.push({name:"Profile.mailing"})}else _({isVisible:!0,scope:n.analyticsTarget})};return(y,E)=>c.value?(u(),o("div",{key:0,class:M(["subscription-email",`--theme-${l.theme}`])},[t("div",n4,[t("h2",r4,[h(R,{name:"arrow-sub",height:"15",width:"16",class:"subscription-email__arrow-sub"}),E[0]||(E[0]=t("span",{class:"subscription-email__text","data-desktop":"РаÑÑÑлки «ÐедомоÑÑей» â главнÑе деловÑе новоÑÑи на Ð²Ð°Ñ email","data-mobile":"ÐодпиÑиÑеÑÑ Ð½Ð° ÑаÑÑÑÐ»ÐºÑ Ð¾Ñ ÑедакÑии"},null,-1))]),E[2]||(E[2]=t("input",{class:"subscription-email__input",placeholder:"ÐÐ°Ñ Email"},null,-1)),E[3]||(E[3]=t("p",{class:"subscription-email__copyright"},[W(" ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ ÐºÐ½Ð¾Ð¿ÐºÑ Â«ÐодпиÑаÑÑÑÑ», Ñ Ð´Ð°Ñ Ñвое ÑоглаÑие полÑÑаÑÑ Ð¿Ð¸ÑÑма Ð¾Ñ Â«ÐедомоÑÑи» и подÑвеÑждаÑ, ÑÑо ознакомилÑÑ Ð¸ пÑÐ¸Ð½Ð¸Ð¼Ð°Ñ "),t("a",{href:"/info/privacy"}," ÐолиÑÐ¸ÐºÑ Ð¿Ð¾ заÑиÑе пеÑÑоналÑнÑÑ
даннÑÑ
")],-1)),t("div",{class:"subscription-email__button",onClick:k},[...E[1]||(E[1]=[t("span",{class:"subscription-email__button-text","data-desktop":"ÐодпиÑаÑÑÑÑ Ð½Ð° ÑаÑÑÑлкÑ","data-mobile":"ÐодпиÑаÑÑÑÑ"},null,-1)])])]),E[4]||(E[4]=t("img",{class:"subscription-email__image",src:o4},null,-1))],2)):g("",!0)}}),a4=[[{name:"ÐодпиÑка",to:"/subscription"},{name:"Реклама",to:"/info/prices"},{name:"РФРÐТ",to:"/info/vedomosti-i-rfrit"},{name:"СпÑавоÑник компаний",to:"/info/companies"}],[{name:"ÐодпиÑка Ð´Ð»Ñ ÑÑ.лиÑ",to:"/info/korporativnaya-podpiska-v-udobnom-formate"},{name:"Ркомпании",to:"/info/mission"},{name:"РедакÑиÑ",to:"/info/editorial"},{name:"ÐенеджменÑ",to:"/info/management"}],[{name:"ÐÑÑ
ив",to:"/archive"},{name:"ÐбÑаÑÐ½Ð°Ñ ÑвÑзÑ",to:"/feedback",isModal:!0,hash:"#feedback"},{name:"СпÑавоÑнÑй ÑенÑÑ",to:"https://vedomosti.usedocs.com/"},{name:"ÐонÑакÑÑ",to:"/info/contacts"},{name:"РаÑпÑоÑÑÑанение",to:"/info/mesto-vstrechi-s-delovim-izdaniem-vedomosti"}]],l4=[[{name:"Реклама",to:"/info/prices"},{name:"ÐенеджменÑ",to:"/info/management"}],[{name:"РедакÑиÑ",to:"/info/editorial"},{name:"ÐбÑаÑÐ½Ð°Ñ ÑвÑзÑ",to:"/feedback",isModal:!0,hash:"#feedback"}],[{name:"ÐÑÑ
ив",to:"/archive"},{name:"ÐонÑакÑÑ",to:"/info/contacts"}]],c4=[[{name:"Реклама",to:"/info/prices"},{name:"ÐенеджменÑ",to:"/info/management"}],[{name:"РедакÑиÑ",to:"/info/editorial"},{name:"ÐбÑаÑÐ½Ð°Ñ ÑвÑзÑ",to:"/feedback",isModal:!0,hash:"#feedback"}],[{name:"ÐонÑакÑÑ",to:"/info/contacts"}]],We={text:"ÐÑбое иÑполÑзование маÑеÑиалов допÑÑкаеÑÑÑ ÑолÑко пÑи ÑоблÑдении ",link:"пÑавил пеÑепеÑаÑки ",to:"/info/reprint_rules",subtext:"и пÑи налиÑии гипеÑÑÑÑлки на vedomosti.ru"},Hu={text:"ÐÑбое иÑполÑзование маÑеÑиалов допÑÑкаеÑÑÑ ÑолÑко пÑи ÑоблÑдении ",link:"пÑавил пеÑепеÑаÑки ",to:"/info/reprint_rules",subtext:"и пÑи налиÑии гипеÑÑÑÑлки на vedomosti-spb.ru"},Te={text:"ÐовоÑÑи, аналиÑика, пÑÐ¾Ð³Ð½Ð¾Ð·Ñ Ð¸ дÑÑгие маÑеÑиалÑ, пÑедÑÑавленнÑе на данном ÑайÑе, не ÑвлÑÑÑÑÑ Ð¾ÑеÑÑой или ÑекомендаÑией к покÑпке или пÑодаже какиÑ
-либо акÑивов."},$e={text:"Ðа инÑоÑмаÑионном ÑеÑÑÑÑе пÑименÑÑÑÑÑ ÑекомендаÑелÑнÑе ÑеÑ
нологии (инÑоÑмаÑионнÑе ÑеÑ
нологии пÑедоÑÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¸Ð½ÑоÑмаÑии на оÑнове ÑбоÑа, ÑиÑÑемаÑизаÑии и анализа Ñведений, оÑноÑÑÑиÑ
ÑÑ Ðº пÑедпоÑÑениÑм полÑзоваÑелей ÑеÑи «ÐнÑеÑнеÑ», наÑ
одÑÑиÑ
ÑÑ Ð½Ð° ÑеÑÑиÑоÑии РоÑÑийÑкой ФедеÑаÑии)."},d4={text:"ÐÑавила пÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑекомендаÑелÑнÑÑ
ÑеÑ
нологий в виджеÑаÑ
Ñекламно-обменной ÑеÑи, ÑазмеÑеннÑÑ
на ÑайÑе vedomosti.ru:",links:[{name:"СÐÐ2",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii"},{name:"INFOX",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii-v-vidzhetah-reklamno-obmennoi-seti-infox"},{name:"24smi",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii-v-vidzhetah-reklamno-obmennoi-seti-24smi"}]},_4={text:"ÐÑавила пÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑекомендаÑелÑнÑÑ
ÑеÑ
нологий в виджеÑаÑ
Ñекламно-обменной ÑеÑи, ÑазмеÑеннÑÑ
на ÑайÑе vedomosti.ru:",link:"СÐÐ2",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii"},h4={text:"ÐÑавила пÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑекомендаÑелÑнÑÑ
ÑеÑ
нологий в виджеÑаÑ
Ñекламно-обменной ÑеÑи, ÑазмеÑеннÑÑ
на ÑайÑе vedomosti.ru:",links:[{name:"СÐÐ2",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii"},{name:"24smi",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii-v-vidzhetah-reklamno-obmennoi-seti-24smi"}]},Ou={link:"ÐÑавила пÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑекомендаÑелÑнÑÑ
ÑеÑ
нологий в виджеÑаÑ
Ñекламно-обменной ÑеÑи «СÐÐ2»",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii",subtext:", ÑазмеÑеннÑÑ
на ÑайÑе vedomosti.ru"},Nu={link:"ÐÑавила пÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑекомендаÑелÑнÑÑ
ÑеÑ
нологий в виджеÑаÑ
Ñекламно-обменной ÑеÑи «СÐÐ2»",to:"/info/pravila-primeneniya-rekomendatelnih-tehnologii",subtext:", ÑазмеÑеннÑÑ
на ÑайÑе vedomosti-spb.ru"},Ye={text:`ÐÑе пÑава заÑиÑÐµÐ½Ñ Â© ÐÐ ÐÐ¸Ð·Ð½ÐµÑ ÐÑÑÑ Ðедиа, ÐÐÐ/ÐÐÐ 7712108141/771501001, ÐÐÐ Ð 1027739124775, 127018, г. ÐоÑква, вн.ÑеÑ.г. мÑниÑипалÑнÑй окÑÑг ÐаÑÑина РоÑа, Ñл. ÐолковаÑ, д. 3, ÑÑÑ. 1 1999â${Du}`,icon:"16plus"},Uu={text:`ÐÑе пÑава заÑиÑÐµÐ½Ñ Â© ÐР«ÐÐ¸Ð·Ð½ÐµÑ ÐÑÑÑ Ðедиа», 2024 - ${Du}`,icon:"16plus"},p4=()=>J?[Hu,Te,$e,Nu,Uu]:Me?[We,Te,$e,d4,Ye]:[We,Te,$e,Ou,Ye],m4=()=>J?[Hu,Te,$e,Nu,_4,Uu]:Me?[We,Te,$e,h4,Ye]:[We,Te,$e,Ou,Ye],v4=p4(),f4=m4(),b4={[me.SPB]:{contacts:{phoneHref:"tel:+78123256080",phoneNumber:"+7 812 325â60â80",emailHref:"mailto:[email protected]",emailAddress:"[email protected]"},addresses:["191119, СанкÑ-ÐеÑеÑбÑÑг, Ñл.ÐаÑаÑа, д.82, оÑÐ¸Ñ 89"]},[me.GLOBAL]:{contacts:{emailHref:"mailto:[email protected]",emailAddress:"[email protected]",phoneHref:"tel:+74959563458",phoneNumber:"+7 495 956-34-58"},addresses:["127018, г. ÐоÑква, Ñл. ÐолковаÑ, д. 3, ÑÑÑ. 1"]},[me.SOUTH]:{contacts:{phoneHref:"tel:+78619910133",phoneNumber:"+7 861 991-01-33",emailHref:"mailto:[email protected]",emailAddress:"[email protected]"}
1,addresses:["344082, г. РоÑÑов-на-ÐонÑ, пеÑеÑлок ХалÑÑÑинÑкий, 94","350000 г. ÐÑаÑнодаÑ, Ñл. РаÑпилевÑкаÑ, 67/1, ÑÑаж 2, помеÑ. 2"]},[me.SPB_STYLE]:{contacts:{phoneHref:"tel:+78123256080",phoneNumber:"+7 812 325â60â80",emailHref:"mailto:[email protected]",emailAddress:"[email protected]"},addresses:["191119, СанкÑ-ÐеÑеÑбÑÑг, Ñл.ÐаÑаÑа, д.82, оÑÐ¸Ñ 89"]}},g4=[{id:me.GLOBAL,name:"РоÑÑÐ¸Ñ Ð¸ миÑ",domain:Qe.GLOBAL,link:"https://www.vedomosti.ru/"},{id:me.SPB,name:"СевеÑо-Ðапад",domain:Qe.SPB,link:"https://spb.vedomosti.ru/"},{id:me.SOUTH,name:"Юг",domain:Qe.SOUTH,link:"https://south.vedomosti.ru/"}];const k4={class:"the-footer"},E4={class:"the-footer__container"},y4={class:"the-footer__links"},w4={class:"the-footer__nav"},C4=["onClick"],B4=["href","target"],S4={class:"the-footer__projects"},D4={class:"the-footer__nav"},F4=["href","target","onClick"],x4={class:"the-footer__blocks"},L4={key:0,class:"the-footer__contacts"},A4={class:"the-footer__contacts-address"},T4={key:0,class:"the-footer__contacts-maps"},$4=["href","target"],I4=["href","target"],M4={class:"the-footer__contacts-numbers"},P4=["href"],R4=["href"],H4={class:"the-footer__social"},O4={key:0,class:"the-footer__apps"},N4=["target"],U4=["target"],j4={key:0,class:"the-footer__copyright the-footer__copyright--mobile"},V4={class:"the-footer__copyright-text"},G4={class:"the-footer__copyright-text"},W4={class:"the-footer__copyright-text"},Y4={class:"the-footer__copyright-text"},q4=["href"],z4={class:"the-footer__copyright-text"},X4=["href"],K4={key:0,class:"the-footer__copyright-text"},J4={key:1,class:"the-footer__copyright-text"},Q4=["target"],Z4=["target"],es={key:2,class:"the-footer__copyright-text"},us=["href","target"],ts=["href","target"],ss={key:0},os={key:2},ns={key:1,class:"the-footer__copyright"},rs={class:"the-footer__copyright-block"},is={class:"the-footer__copyright-item"},as=["href"],ls={key:0},cs=["href"],ds={key:2},_s={class:"the-footer__copyright-item"},hs={class:"the-footer__copyright-text"},ps={class:"the-footer__copyright-text"},ms={class:"the-footer__copyright-text"},vs={class:"the-footer__copyright-text"},fs=["href"],bs={class:"the-footer__copyright-text"},gs=["href"],ks={key:0,class:"the-footer__copyright-text"},Es={key:1,class:"the-footer__copyright-text"},ys=["target"],ws=["target"],Cs={key:2,class:"the-footer__copyright-text"},yu="УÑÑедиÑелÑ: ÐР«ÐÐ¸Ð·Ð½ÐµÑ ÐÑÑÑ Ðедиа»",Bs=O({__name:"TheFooter",setup(l){const s=ae(),a=ve(),r=w(!1),n=b(()=>s.state.projects.footerLinks),i=b(()=>s.getters["viewport/isDesktopOrHigher"]),p=f4,d=v4,m=fe(),{isSubproject:c}=be(m.value),v=b(()=>re?c4:J?l4:a4),_=b4[xu],k=_==null?void 0:_.addresses,y=_==null?void 0:_.contacts,E=J?"СеÑевое издание «ÐедомоÑÑи СевеÑо-Ðапад. СÑÐ¸Ð»Ñ Ð¶Ð¸Ð·Ð½Ð¸Â»":"СеÑевое издание ÐедомоÑÑи (Vedomosti)",L=J?"РеÑение ФедеÑалÑной ÑлÑÐ¶Ð±Ñ Ð¿Ð¾ надзоÑÑ Ð² ÑÑеÑе ÑвÑзи, инÑоÑмаÑионнÑÑ
ÑеÑ
нологий и маÑÑовÑÑ
коммÑникаÑий (РоÑкомнадзоÑ) Ð¾Ñ 27 ноÑбÑÑ 2020 г. ÐÐ â ФС 77-79654":"РеÑение ФедеÑалÑной ÑлÑÐ¶Ð±Ñ Ð¿Ð¾ надзоÑÑ Ð² ÑÑеÑе ÑвÑзи, инÑоÑмаÑионнÑÑ
ÑеÑ
нологий и маÑÑовÑÑ
коммÑникаÑий (РоÑкомнадзоÑ) Ð¾Ñ 27 ноÑбÑÑ 2020 г. ÐÐ â ФС 77-79546",N=J?"ШеÑ-ÑедакÑоÑ: ÐиÑ
еенко Ðлла ÐладимиÑовна":"ÐлавнÑй ÑедакÑоÑ: ÐазÑмина ÐÑина СеÑгеевна",x=b(()=>J?"[email protected]":re?"[email protected]":"[email protected]"),f=J||re?"+7 (812) 325â60â80":"+7 495 956-34-58",G=J||re?"tel:+78123256080":"tel:+74959563458",A=b(()=>a.path.includes("/partner_")?"ved":a.path.includes("/partner")?"partner":a.path.includes("/forum")?"forum":"ved"),U=V=>{const Z=[];return V.value.forEach((oe,le)=>{Z[le%3]||(Z[le%3]=[]),Z[le%3].push({name:oe.title,to:oe.url})}),Z},C=b(()=>U(n));let S=null;const T=V=>{if(!r.value){if(r.value=!0,!Ke)return;S=V;const{pathname:B,search:Z}=window.location,oe=B+Z+V;window.history.replaceState(null,"",oe)}},P=()=>{if(r.value=!1,!Ke)return;const{pathname:V,search:B,hash:Z}=window.location;
1if(S===Z){S=null;const oe=V+B;window.history.replaceState(null,"",oe)}},F=()=>{if(!Ke)return;const{hash:V}=window.location;V!==""&&v.value.find(Z=>Z.find(oe=>(oe==null?void 0:oe.hash)===V))!==void 0&&T(V)},Y=V=>V.includes("/companies")&&J,X={РаÑпÑоÑÑÑанение:!pe,ÐонÑакÑÑ:he},j=V=>X[V]??!0,q=V=>{if(c)return"_blank";if(he)switch(V){case"ÐонÑакÑÑ":case"Реклама":case"РедакÑиÑ":case"ÐенеджменÑ":return"_self";default:return"_blank"}return"_self"},de=(V,B)=>{if(c)return B;if(he)switch(V){case"ÐонÑакÑÑ":case"Реклама":case"РедакÑиÑ":case"ÐенеджменÑ":case"СпÑавоÑнÑй ÑенÑÑ":return B;default:return"https://www.vedomosti.ru"+B}if(Me)switch(V){case"ÐодпиÑка":return B+"#online";default:return B}return B};return Oe(async()=>{await s.dispatch("projects/fetchLinks",{slug:"footer_"+A.value,subproject:m.value})}),ie(()=>{F()}),(V,B)=>{var Z,oe,le,Ce;return u(),o("footer",k4,[t("div",E4,[t("div",y4,[t("div",w4,[(u(!0),o(z,null,te(v.value,($,_e)=>(u(),o("ul",{key:_e,class:"the-footer__nav-list"},[(u(!0),o(z,null,te($,({name:ee,to:ce,isModal:Pe,hash:Fe},Xe)=>(u(),o("li",{key:Xe,class:"the-footer__nav-list-item"},[Pe?(u(),o("div",{key:0,class:"the-footer__nav-link",onClick:ru=>T(Fe)},D(ee),9,C4)):j(ee)?(u(),o("a",{key:1,href:de(ee,ce),class:"the-footer__nav-link",target:e(Q)(q(ee))},D(ee),9,B4)):g("",!0)]))),128))]))),128))]),t("div",S4,[B[1]||(B[1]=t("h2",{class:"the-footer__projects-title"},"ÐаÑи пÑоекÑÑ",-1)),t("div",D4,[(u(!0),o(z,null,te(C.value,($,_e)=>(u(),o("ul",{key:_e,class:"the-footer__nav-list"},[(u(!0),o(z,null,te($,({name:ee,to:ce},Pe)=>(u(),o("li",{key:Pe,class:"the-footer__nav-list-item"},[t("a",{href:ce,target:Y(ce)?e(Q)("_self"):e(Q)("_blank"),class:"the-footer__nav-link",onClick:Fe=>e(Fu)(ce)},D(ee),9,F4)]))),128))]))),128))])])]),t("div",x4,[e(he)?g("",!0):(u(),o("div",L4,[B[3]||(B[3]=t("h2",{class:"the-footer__contacts-title"},"ÐонÑакÑÑ",-1)),t("div",A4,[(u(!0),o(z,null,te(e(k),($,_e)=>(u(),o("span",{key:_e,style:xe({marginBottom:_e<e(k).length-1?"10px":"0"})},D($),5))),128))]),e(he)?g("",!0):(u(),o("div",T4,[B[2]||(B[2]=t("span",null,"Ðа каÑÑе",-1)),t("a",{href:e(J)||e(re)?"https://goo.gl/maps/FQ62Gq4zieMi6pcG6":"https://goo.gl/maps/6iRTB366prJwuK26A",target:e(Q)("_blank"),rel:"noopener noreferrer nofollow"},[h(R,{name:"google2",height:"16",width:"16"})],8,$4),t("a",{href:e(J)||e(re)?"https://yandex.com/maps/-/CCUZZ8bFOB":"https://yandex.ru/maps/-/CGBdYMJo",target:e(Q)("_blank"),rel:"noopener noreferrer nofollow"},[h(R,{name:"yandex",height:"16",width:"16"})],8,I4)])),t("div",M4,[t("a",{href:(Z=e(y))==null?void 0:Z.phoneHref},D((oe=e(y))==null?void 0:oe.phoneNumber),9,P4)]),t("a",{class:"the-footer__contacts-email",href:(le=e(y))==null?void 0:le.emailHref},D((Ce=e(y))==null?void 0:Ce.emailAddress),9,R4)])),e(pe)?g("",!0):(u(),H(i4,{key:1,class:"the-footer__subscription-email","analytics-target":"footer",theme:"footer"}))]),t("div",H4,[h(e(vt),{location:"footer",class:M(["the-footer__social-links",{"justify-content-start":e(pe)}])},null,8,["class"]),e(J)?g("",!0):(u(),o("div",O4,[t("a",{href:"https://redirect.appmetrica.yandex.com/serve/314598512224395265",target:e(Q)("_blank"),rel:"noopener noreferrer nofollow",class:"the-footer__apps-link"},[h(R,{name:"apple",height:"20",width:"20",color:"currentColor"}),B[4]||(B[4]=t("div",{class:"the-footer__apps-text"},"СкаÑаÑÑ Ð´Ð»Ñ iOS",-1))],8,N4),t("a",{href:"https://redirect.appmetrica.yandex.com/serve/530771295562927660",target:e(Q)("_blank"),rel:"noopener noreferrer nofollow",class:"the-footer__apps-link"},[h(R,{name:"google_play",height:"20",width:"16",color:"currentColor"}),B[5]||(B[5]=t("div",{class:"the-footer__apps-text"},"СкаÑаÑÑ Ð´Ð»Ñ Android",-1))],8,U4)]))])]),i.value?g("",!0):(u(),o("div",j4,[t("p",V4,D(e(E)),1),t("p",G4,D(e(L)),1),t("p",{class:"the-footer__copyright-text"},D(yu)),t("p",W4,D(e(N)),1),t("p",Y4,[B[6]||(B[6]=W(" ÐлекÑÑÐ¾Ð½Ð½Ð°Ñ Ð¿Ð¾ÑÑа: ",-1)),t("a",{class:"the-footer__contacts-email",href:`mailto:${x.value}`},D(x.value),9,q4)]),t("p",z4,[B[7]||(B[7]=W(" ТелеÑон: ",-1)),t("a",{class:"the-footer__c
1ontacts-email",href:e(G)},D(e(f)),9,X4)]),e(pe)?(u(),o("p",K4,[...B[8]||(B[8]=[W(" Ð¡Ð°Ð¹Ñ Ð¸ÑполÑзÑÐµÑ IP адÑеÑа, cookie и даннÑе геолокаÑии ÐолÑзоваÑелей ÑайÑа, ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑодеÑжаÑÑÑ Ð² ",-1),t("a",{class:"the-footer__copyright-link",href:"/info/privacy"}," ÐолиÑике по заÑиÑе пеÑÑоналÑнÑÑ
даннÑÑ
",-1)])])):(u(),o("p",J4,[B[9]||(B[9]=W(" Ð¡Ð°Ð¹Ñ Ð¸ÑполÑзÑÐµÑ ",-1)),t("a",{class:"the-footer__copyright-link",href:"/info/cookies",target:e(Q)(e(c)?"_blank":"_self")},"IP адÑеÑа, cookie и даннÑе геолокаÑии",8,Q4),B[10]||(B[10]=W(" ÐолÑзоваÑелей ÑайÑа, ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑодеÑжаÑÑÑ Ð² ",-1)),t("a",{class:"the-footer__copyright-link",href:"/info/privacy",target:e(Q)(e(c)?"_blank":"_self")}," ÐолиÑике в оÑноÑении обÑабоÑки пеÑÑоналÑнÑÑ
даннÑÑ
ÐР«ÐÐ¸Ð·Ð½ÐµÑ ÐÑÑÑ Ðедиа» ",8,Z4)])),e(re)?(u(),o("p",es,[...B[11]||(B[11]=[t("a",{class:"the-footer__copyright-link",href:"/base"}," Ðаза знаний ",-1)])])):g("",!0),(u(!0),o(z,null,te(e(p),($,_e)=>(u(),o("p",{key:_e,class:"the-footer__copyright-text"},[W(D($.text)+" ",1),$.link?(u(),o("a",{key:0,href:$.to,class:"the-footer__copyright-link",target:e(Q)(e(c)?"_blank":"_self")},D($.link),9,us)):g("",!0),$.links&&$.links.length>0?(u(!0),o(z,{key:1},te($.links,(ee,ce)=>(u(),o("span",{key:ce},[t("a",{href:ee.to,class:"the-footer__copyright-link",target:e(Q)(e(c)?"_blank":"_self")},D(ee.name),9,ts),ce!==$.links.length-1?(u(),o("span",ss,", ")):g("",!0)]))),128)):g("",!0),$.subtext?(u(),o("span",os,D($.subtext),1)):g("",!0),$.icon?(u(),H(R,{key:3,name:$.icon,color:"#000000",width:"24",height:"24",class:"the-footer__copyright-16plus"},null,8,["name"])):g("",!0)]))),128))])),i.value?(u(),o("div",ns,[t("div",rs,[t("div",is,[(u(!0),o(z,null,te(e(d),($,_e)=>(u(),o("p",{key:_e,class:"the-footer__copyright-text"},[W(D($.text)+" ",1),$.links&&$.links.length>0?(u(!0),o(z,{key:0},te($.links,(ee,ce)=>(u(),o("span",{key:ce},[t("a",{href:ee.to,target:"_blank",class:"the-footer__copyright-link"},D(ee.name),9,as),ce!==$.links.length-1?(u(),o("span",ls,", ")):g("",!0)]))),128)):$.link?(u(),o("a",{key:1,href:$.to,target:"_blank",class:"the-footer__copyright-link"},D($.link),9,cs)):g("",!0),$.subtext?(u(),o("span",ds,D($.subtext),1)):g("",!0),$.icon?(u(),H(R,{key:3,name:$.icon,color:"currentColor",width:"24",height:"24",class:"the-footer__copyright-16plus"},null,8,["name"])):g("",!0)]))),128))])]),t("div",{class:M(["the-footer__copyright-block",{top:e(he)||e(J)}])},[t("div",_s,[t("p",hs,D(e(E)),1),t("p",ps,D(e(L)),1),t("p",{class:"the-footer__copyright-text"},D(yu)),t("p",ms,D(e(N)),1),t("p",vs,[B[12]||(B[12]=W(" ÐлекÑÑÐ¾Ð½Ð½Ð°Ñ Ð¿Ð¾ÑÑа: ",-1)),t("a",{class:"the-footer__contacts-email",href:`mailto:${x.value}`},D(x.value),9,fs)]),t("p",bs,[B[13]||(B[13]=W(" ТелеÑон: ",-1)),t("a",{class:"the-footer__contacts-email",href:e(G)},D(e(f)),9,gs)]),e(pe)?(u(),o("p",ks,[...B[14]||(B[14]=[W(" Ð¡Ð°Ð¹Ñ Ð¸ÑполÑзÑÐµÑ IP адÑеÑа, cookie и даннÑе геолокаÑии ÐолÑзоваÑелей ÑайÑа, ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑодеÑжаÑÑÑ Ð² ",-1),t("a",{class:"the-footer__copyright-link",href:"/info/privacy"}," ÐолиÑике по заÑиÑе пеÑÑоналÑнÑÑ
даннÑÑ
",-1)])])):(u(),o("p",Es,[B[15]||(B[15]=W(" Ð¡Ð°Ð¹Ñ Ð¸ÑполÑзÑÐµÑ ",-1)),e(pe)?g("",!0):(u(),o("a",{key:0,class:"the-footer__copyright-link",href:"/info/cookies",target:e(Q)(e(c)?"_blank":"_self")},"IP адÑеÑа, cookie и даннÑе геолокаÑии",8,ys)),B[16]||(B[16]=W(" ÐолÑзоваÑелей ÑайÑа, ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑодеÑжаÑÑÑ Ð² ",-1)),t("a",{class:"the-footer__copyright-link",href:"/info/privacy",target:e(Q)(e(c)?"_blank":"_self")},"ÐолиÑике в оÑноÑении обÑабоÑки пеÑÑоналÑнÑÑ
даннÑÑ
ÐР«ÐÐ¸Ð·Ð½ÐµÑ ÐÑÑÑ Ðедиа» ",8,ws)])),e(re)?(u(),o("p",Cs,[...B[17]||(B[17]=[t("a",{class:"the-footer__c
1opyright-link",href:"/base"}," Ðаза знаний ",-1)])])):g("",!0)])],2)])):g("",!0),r.value?(u(),H(Au,{key:2,class:"the-footer__popup",onClose:B[0]||(B[0]=$=>P())},{default:I(()=>[h(pt)]),_:1})):g("",!0)])}}});const ju=O({__name:"HeaderProgress",setup(l){const s=ae(),a=b(()=>s.getters["viewport/isMobile"]),r=b(()=>s.state.pageArticle.progress),{isVisible:n}=Mu();return(i,p)=>r.value?(u(),o("div",{key:0,class:M(["header-progress",{"--sidebar-visible":e(n),"--mobile":a.value}]),style:xe({transform:`scale3d(${r.value/100}, 1, 1)`})},null,6)):g("",!0)}});const Ss={class:"dropdown-panel"},wu=O({__name:"DropdownPanel",emits:["close"],setup(l,{emit:s}){const a=s,r=()=>{a("close")};return(n,i)=>(u(),o("div",Ss,[t("div",{class:"dropdown-panel__close",onClick:r}),Ue(n.$slots,"default")]))}});const Ds=["href"],Fs=["data-id"],xs=["href","target"],Ls={key:0,class:"the-header-rubric__popup"},As=["data-id"],Ts=["href","target"],$s=46,Is=O({__name:"TheHeaderRubric",props:{logoShow:{type:Boolean,default:!1}},setup(l){const s=ae(),a=ve(),r=w([]),n=w([]),i=w(!1),p=w(!1),d=w(!1),m=w(0),c=w({}),v=w(null),_=w(null),k=w(null),y=w([]),E=w(null),L=b(()=>s.state.rubricMenu.links),N=fe(),{isSubproject:x}=be(N.value),f=b(()=>a.name==="index"?void 0:"/"),G=async X=>{await s.dispatch("rubricMenu/fetchLinks",X)},A=()=>{if(!k.value)return;let X=k.value.offsetWidth;if(m.value<X){i.value=!1,n.value=[],r.value=L.value;return}i.value=!0,X-=$s;const j=[],q=[];let de=0;L.value.forEach(V=>{const B=X-de,Z=c[V.id];B>Z?(j.push(V),de+=Z):q.push(V)}),r.value=j,n.value=q},U=()=>{if(!y.value)return;let X=0;c.value={},y.value.forEach(j=>{X+=j.offsetWidth,c[j.dataset.id]=j.offsetWidth}),m.value=X},C=()=>{p.value&&(p.value=!1,document.removeEventListener("click",P),window.removeEventListener("scroll",C))},S=()=>{p.value?C():(p.value=!0,document.addEventListener("click",P),window.addEventListener("scroll",C))},T=()=>{a.name==="index"&&window.scrollTo({behavior:"smooth",top:0})},P=({target:X})=>{var j;(j=E.value)!=null&&j.contains(X)||C()},F=()=>{d.value=window.scrollY>158},Y=()=>{v.value&&window.cancelAnimationFrame(v.value),C(),v.value=window.requestAnimationFrame(()=>{i.value=!1,n.value=[],r.value=L.value,Ie(()=>{U(),A()})})};return Cu(()=>{y.value=[]}),Oe(async()=>{await G(),r.value=[...L.value]}),ze(()=>{r.value=[...L.value]}),ie(async()=>{U(),A(),_.value=new ResizeObserver(()=>{Y()}),_.value.observe(E.value),await Ie(()=>{U(),A()}),window.addEventListener("scroll",F)}),De(()=>{document.removeEventListener("click",P),window.removeEventListener("scroll",C),window.removeEventListener("scroll",F),_.value.disconnect()}),(X,j)=>(u(),o("div",{ref_key:"root",ref:E,class:M(["the-header-rubric",{"the-header-rubric--scroll":l.logoShow,"the-header-rubric--scroll__after":d.value}])},[t("div",{ref_key:"projects",ref:k,class:"the-header-rubric__projects"},[l.logoShow?(u(),o("a",{key:0,href:f.value,class:"the-header-rubric__project the-header-rubric__project--logo",onClick:T},[h(R,{name:"logo-ved-scroll",width:"20",height:"21",color:"currentColor",class:"the-header-rubric__logo"})],8,Ds)):g("",!0),(u(!0),o(z,null,te(r.value,(q,de)=>(u(),o("div",{key:q.id,ref_for:!0,ref:V=>{V&&(y.value[de]=V)},"data-id":q.id,class:"the-header-rubric__project"},[t("a",{href:q.relative_url||(q==null?void 0:q.url),target:e(Q)(e(x)?"_blank":"_self"),class:"the-header-rubric__link"},D(q.title),9,xs)],8,Fs))),128)),i.value?(u(),o("button",{key:1,type:"button",class:"the-header-rubric__project the-header-rubric__more",onClick:S},[...j[0]||(j[0]=[t("i",{class:"the-header-rubric__more-dot"},null,-1)])])):g("",!0)],512),h(ke,{name:"slide-up"},{default:I(()=>[p.value&&n.value.length?(u(),o("div",Ls,[(u(!0),o(z,null,te(n.value,q=>(u(),o("div",{key:q.id,"data-id":q.id,class:"the-header-rubric__project"},[t("a",{href:q.relative_url||(q==null?void 0:q.url),target:e(Q)(e(x)?"_blank":"_self"),class:"the-header-rubric__link"},D(q.title),9,Ts)],8,As))),128))])):g("",!0)]),_:1}),d.value?(u(),H(e(ju),{key:0})):g("",!0)],2))}}),Vu=Ee(Is,[["__scopeId","data-v-6f694f2c"]]);const Ms={class:"the-header-securities"}
1,Ps={class:"the-header-securities__container"},Rs={class:"the-header-securities__name"},Hs={class:"the-header-securities__price"},Gu=O({__name:"TheHeaderSecurities",setup(l){const{cookies:s}=Bu(),a=["CNYRUB_TOM"],r=["IMOEX","RTSI","RGBI","RGBITR"],n=w(null),{data:i,save:p}=Tu("header-securities"),d=w([]),m=w(),c=w([]),v=w(i.value??[]),_=async()=>{const C=[...a,...r];try{const{data:S}=await Ge("$api").post("/marketdata/securities",C,{timeout:5e3});d.value=S}catch(S){Ae("TheHeaderSecurities","$api",S instanceof Error?S.message:String(S),{requestUri:"/marketdata/securities",requestMethod:"POST",context:{tickers:C}})}},k=async()=>{try{const{data:C}=await Ge("$api").get("/marketdata/top/day?limit=1",{timeout:5e3});m.value=C}catch(C){Ae("TheHeaderSecurities","$api",C instanceof Error?C.message:String(C),{requestUri:"/marketdata/top/day?limit=1",requestMethod:"GET"})}},y=async()=>new Promise(C=>{var S,T;if((S=m.value)!=null&&S.negative&&((T=m.value)!=null&&T.positive)){c.value=[...m.value.positive,...m.value.negative,...d.value];let P=c.value.findIndex(F=>F.sec_id==="CNYRUB_TOM");if(P!==-1){const F=c.value.splice(0,2);c.value.splice(P-1,0,...F)}v.value=c.value.map(F=>{const Y=a.includes(F.sec_id)?(()=>{switch(F.sec_id){case"CNYRUB_TOM":return"CNY ÐиÑж.";default:return F.sec_id}})():F.sec_id,X=r.includes(F.sec_id)?F.current_value:F.last,j=r.includes(F.sec_id)?F.last_change_prc:F.last_to_prev_price;return{name:Y,current:X,change:j}}),v.value=v.value.filter((F,Y,X)=>Y===X.findIndex(j=>j.name===F.name)),i.value=v.value,p()}C(null)});Oe(async()=>{var C,S;await Promise.all([_(),k()]),d.value.length>0&&((C=m.value)!=null&&C.negative)&&((S=m.value)!=null&&S.positive)&&await y()});const E=w(!1),L=w(.5),N=w(L.value),x=()=>{const C=n.value;if(C instanceof Element){const S=C.innerHTML;C.insertAdjacentHTML("beforeend",S),C.insertAdjacentHTML("beforeend",S);const T=C.children[0];if(T instanceof HTMLElement){let P=0;const F=()=>{P+=N.value,T.style.marginLeft=`-${P}px`,P>T.clientWidth&&(P=0),requestAnimationFrame(F)};F()}}},f=()=>{const C="365d";s.set("is-marquee-paused",E.value.toString(),C)},G=()=>{if(!E.value){E.value=!0,N.value=0,f();return}E.value=!1,N.value=L.value,f()},A=()=>{E.value||(N.value=0)},U=()=>{E.value||(N.value=L.value)};return ie(async()=>{var C,S;s.get("is-marquee-paused")==="true"&&(E.value=!0,N.value=0);try{v.value.length===0&&(await Promise.all([_(),k()]),d.value.length>0&&((C=m.value)!=null&&C.negative)&&((S=m.value)!=null&&S.positive)&&await y()),v.value.length>0&&(x(),document.addEventListener("scroll",U),n.value&&(n.value.addEventListener("touchstart",A),n.value.addEventListener("touchend",U)))}catch(T){Ae("TheHeaderSecurities","get securities",T instanceof Error?T.message:String(T))}}),qe(()=>{document.removeEventListener("scroll",U),n.value&&(n.value.removeEventListener("touchstart",A),n.value.removeEventListener("touchend",U))}),(C,S)=>(u(),o("div",Ms,[t("div",{class:"the-header-securities__nav",onClick:G},[h(R,{name:E.value?"marquee-play":"marquee-pause",width:"10",height:"16"},null,8,["name"])]),t("div",{class:"the-header-securities__content",ref_key:"headerSecuritiesRef",ref:n,onMouseover:A,onMouseout:U},[t("span",Ps,[(u(!0),o(z,null,te(v.value,T=>{var P,F;return u(),o("span",{key:T.name,class:"the-header-securities__item"},[t("span",Rs,D(T.name),1),t("span",Hs,D((P=T.current)==null?void 0:P.toLocaleString("ru-RU")),1),t("span",{class:M(["the-header-securities__change",{"--positive":T.change>0,"--negative":T.change<0}])},D(T.change>0?"+":"")+D((F=T.change)==null?void 0:F.toLocaleString("ru-RU"))+"%",3),T.change?(u(),o("span",{key:0,class:M({"the-header-securities__arrow":!0,"--positive":T.change>0,"--negative":T.change<0})},D(T.change>0?"â":"â"),3)):g("",!0)])}),128))])],544)]))}});const Os=["data-id"],Ns=["href","target","onClick"],Us={key:0,class:"the-projects__popup"},js=["data-id"],Vs=["href","target"],Gs=46,Ws=O({__name:"TheProjects",setup(l){const s=ae(),a=ve(),r=fe(),n=w([]),i=w([]),p=w(!1),d=w(!1),m=w(0),c=w({}),v=w(null),_=w(null),k=w(null),y=w([]),E=w(null),L=b(()=>s.state.projects.headerLinks),N=b(()=>a.path.includes("/partner_")?"ved":a.path.includes("/partner")?"partner":a.path.includes("/forum")?"forum":"ved"),x=P=>P.includes("/companies")&&J,f=()=>{if(!k.value)return;let P=k.value.offsetWidth;if(m.value<P){p.value=!1,i.value=[],n.value=L.value;return}p.value=!0,P-=Gs;const F=[],Y=[];let X=0;L.value.forEach(j=>{const q=P-X,de=c[j.id];q>de?(F.push(j),X+=de):Y.push(j)}),n.value=F,i.value=Y},G=()=>{if(!y.value)return;let P=0;c.value={},y.value.forEach(F=>{P+=F.offsetWidth,c[F.dataset.id]=F.offsetWidth}),m.value=P},A=()=>{d.value&&(d.value=!1,document.removeEventListener("click",C),window.removeEventListener("scroll",A))},U=()=>{d.value?A():(d.value=!0,document.addEventListener("click",C),window.addEventListener("scroll",A))},C=({target:P})=>{var F;(F=E.value)!=null&&F.contains(P)||A()},S=()=>{v.value&&window.cancelAnimationFrame(v.value),A(),v.value=window.requestAnimationFrame(()=>{p.value=!1,i.value=[],n.value=L.value,Ie(()=>{G(),f()})})};Cu(()=>{y.value=[]});const T=async()=>{await s.dispatch("projects/fetchLinks",{slug:"header_"+N.value,subproject:r.value})};return Oe(async()=>{await T(),n.value=[...L.value]}),ze(()=>{n.value=[...L.value]}),ie(async()=>{_.value=new ResizeObserver(()=>{S()}),_.value.observe(E.value),await Ie(()=>{G(),f()})}),De(()=>{document.removeEventListener("click",C),window.removeEventListener("scroll",A),_.value.disconnect()}),(P,F)=>(u(),o("div",{ref_key:"root",ref:E,class:"the-projects"},[t("div",{ref_key:"projects",ref:k,class:"the-projects__projects"},[(u(!0),o(z,null,te(n.value,(Y,X)=>(u(),o("div",{key:Y.id,ref_for:!0,ref:j=>{j&&(y.value[X]=j)},"data-id":Y.id,class:"the-projects__project"},[t("a",{href:Y.url,target:x(Y.url)?e(Q)("_self"):e(Q)("_blank"),class:"the-projects__link",onClick:j=>e(Fu)(Y.url)},D(Y.title),9,Ns)],8,Os))),128)),p.value?(u(),o("button",{key:0,t
1ype:"button",class:"the-projects__project the-projects__more",onClick:U},[...F[0]||(F[0]=[t("i",{class:"the-projects__more-dot"},null,-1)])])):g("",!0)],512),h(ke,{name:"slide-up"},{default:I(()=>[d.value&&i.value.length?(u(),o("div",Us,[(u(!0),o(z,null,te(i.value,Y=>(u(),o("div",{key:Y.id,"data-id":Y.id,class:"the-projects__project"},[t("a",{href:Y.url,target:e(Q)("_blank"),class:"the-projects__link"},D(Y.title),9,Vs)],8,js))),128))])):g("",!0)]),_:1})],512))}});const Ys=l=>{const s=ae(),{removeOverlay:a}=zs(),r=d=>{s.dispatch("user/toggleUserMenu",d)},n=d=>{l.value!==null&&!l.value.contains(d.target)&&(r({value:!1}),a())},i=d=>{d.code==="Escape"&&(r({value:!1}),a())},p=()=>{window.scrollY>10&&r({value:!1})};return ie(()=>{window.addEventListener("scroll",p,{passive:!0});const d=window.setTimeout(()=>{window.addEventListener("click",n),window.addEventListener("keyup",i),clearTimeout(d)});De(()=>{window.removeEventListener("click",n),window.removeEventListener("scroll",p),window.removeEventListener("keyup",i)})}),{toggle:r}},qs=(l,s)=>({setOverlay:n=>{const i=s();if(i===null)return;const{style:p}=i;l.classList.add("overlayed");const d=window.setTimeout(()=>{p.top=`-${n}px`,clearTimeout(d)})},removeOverlay:n=>{l.classList.remove("overlayed"),window.scrollTo({top:n})}});function zs(){const l=ae();let s=0;const{setOverlay:a,removeOverlay:r}=qs(document.body,()=>document.querySelector(".layout__container")),n=b(()=>l.getters["viewport/isMobile"]);return ie(()=>{n.value&&(s=window.scrollY,a(s),De(()=>{n.value&&r(s)}))}),{removeOverlay:()=>{r(s)}}}const Xs={name:"UserMenu",components:{SalmonButton:$u,ScrollBar:ft,SvgIcon:R},setup(){const l=Le("user_menu"),{toggle:s}=Ys(l),a=ve();Se(()=>a.fullPath,()=>{window.location.hash||s({value:!1})});const r=fe();return{toggle:s,subproject:r}},data(){return{isScrolled:!1,isArrowVisible:!0,plural:Ju,links:[{title:"ÐÑложеннÑе маÑеÑиалÑ",route:{name:"Profile.favorite"},icon:"bookmark-base",newTabLink:"/profile/favorite"},{title:"РаÑÑÑлки и ÑведомлениÑ",route:{name:"Profile.mailing"},icon:"menu-notifications",newTabLink:"/profile/mailing"},{title:"ÐиÑнÑе даннÑе",route:{name:"Profile.main"},icon:"menu-personal",newTabLink:"/profile"},{title:"ÐодпиÑка",route:{name:"Profile.subscription"},icon:"lock-open",newTabLink:"/profile/subscription"},{title:"ÐонÑÑÑ Ð¾Ñ Ð¿Ð°ÑÑнеÑов",route:{name:"Profile.gifts"},icon:"discount",newTabLink:"/profile/gifts"},{title:"СпÑавоÑнÑй ÑенÑÑ",route:"https://vedomosti.usedocs.com/",target:"_blank",icon:"help"}],promo:{isPromoEnabled:bt,promoText:gt}}},computed:{...Je("viewport",["isDesktopOrHigher"]),...Je("user",{userFullName:"fullName",userSubscriptionDays:"subscriptionDays",userSubscriptionStatus:"subscriptionStatus"}),...Je("auth",{isUserLogged:"isLogged",isUserMobileSubscriber:"isMobileSubscriber",isUserSubscriber:"isSubscriber",isUserIpSubscriber:"isIpSubscriber",isUserEditor:"isEditor"}),isNewYear(){return se.isNewYearEnabled()},subscriptionClassName(){return`user-menu__subscription--${this.userSubscriptionStatus}`},subscriptionDaysClassName(){return`user-menu__subscription-days--${this.userSubscriptionStatus}`},subscriptionPromoLink(){return this.isDesktopOrHigher?bu("desktop"):bu("mobile")},isSubproject(){return!!this.subproject},isBlackFriday(){return se.isBlackFriday()}},watch:{isUserLogged(l){l||this.toggle({})}},mounted(){window.addEventListener("scroll",this.handleScroll)},beforeUnmount(){window.removeEventListener("scroll",this.handleScroll)},methods:{onCloseClick(){this.toggle({})},handleScroll(){const l=window.scrollY||window.pageYOffset;l>10?this.isArrowVisible=!1:this.isArrowVisible=!0,l>52?this.isScrolled=!0:this.isScrolled=!1},onSubscribeButtonClick(){if(!this.isSubproject)return;const l=this.$router.resolve({path:this.subscriptionPromoLink});window.open(l.href,"_blank")}}},Ks={class:"user-menu__header"},Js={class:"user-menu__user-name"},Qs={key:0,class:"user-menu__subscription-title"},Zs={key:1,class:"user-menu__subscription-title user-menu__subscription-mobile"},e0={key:2,class:"user-menu__subscription-title user-menu__subscription-ip"},u0={key:3,class:"user-menu__subscription-title"},t0={class:"user-menu__body"},s0={class:"user-menu__subscribe"},o0=["innerHTML"];function n0(l,s,a,r,n,i){const p=ye("SvgIcon"),d=ye("SalmonButton"),m=ye("ScrollBar");return u(),o("div",{ref:"user_menu",class:M(["user-menu",{scrolled:n.isScrolled}])},[t("div",{class:M(["user-menu__arrow",{active:n.isArrowVisible}])},null,2),t("div",Ks,[t("div",Js,D(l.userFullName),1),t("div",{class:"user-menu__close",onClick:s[0]||(s[0]=(...c)=>i.onCloseClick&&i.onCloseClick(...c))})]),h(m,{class:"user-menu__list"},{default:I(()=>[(u(),H(hu(i.isSubproject?"a":"router-link"),{to:{name:"Profile.subscription"},href:i.isSubproject?"/profile/subscription":void 0,class:M(["user-menu__subscription",i.subscriptionClassName]),target:i.isSubproject?"_blank":void 0},{default:I(()=>[l.isUserSubscriber?l.isUserMobileSubscriber?(u(),o("span",Zs," У Ð²Ð°Ñ Ð¼Ð¾Ð±Ð¸Ð»ÑÐ½Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñка ")):l.isUserIpSubscriber||l.isUserEditor?(u(),o("span",e0," У Ð²Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñка по IP ")):l.isUserSubscriber?(u(),o("span",u0,[W(" У Ð²Ð°Ñ "+D(n.plural(l.userSubscriptionDays,"оÑÑалÑÑ","оÑÑалоÑÑ","оÑÑалоÑÑ"))+" ",1),t("span",{class:M(["user-menu__subscription-days",i.subscriptionDaysClassName])},D(l.userSubscriptionDays),3),W(" "+D(n.plural(l.userSubscriptionDays,"денÑ","днÑ","дней"))+" подпиÑки ",1)])):g("",!0):(u(),o("span",Qs,"ÐÑ Ð½Ðµ подпиÑанÑ"))]),_:1},8,["href","class","target"])),t("div",t0,[(u(!0),o(z,null,te(n.links,c=>(u(),o("div",{key:c.id,class:"user-menu__menu-item"},[(u(),H(hu(c.target||i.isSubproject?"a":"router-link"),{href:c.target?c.route:c.newTabLink,to:c.route,target:i.isSubproject?"_blank":c.target,class:"user-menu__menu-link"},{default:I(()=>[t("i",null,[h(p,{name:c.icon,color:"#000",width:"20",height:"20",class:M("user-menu__icon--"+c.icon)},null,8,["name","class"])]),t("span",null,D(c.title),1)]),_:2},1032,["href","to","target"]))]))),128)),h(d,{"is-stretched":"","is-red-middle":"","is-secondary":"","is-borderless":"",route:{path:"/logout"},class:"user-menu__logout-button"},{default:I(()=>[...s[1]||(s[1]=[W(" ÐÑйÑи из пÑоÑÐ¸Ð»Ñ ",-1)])]),_:1}),l.isUserSubscriber?g("",!0):(u(),o(z,{key:0},[h(d,{route:i.isSubproject?void 0:{path:i.subscriptionPromoLink},"is-red-middle":!0,"is-stretched":"","is-borderless":"",onClick:i.onSubscribeButtonClick,class:M({"--black-friday":i.isBlackFriday,"
1--new-year":i.isNewYear})},{default:I(()=>[t("strong",s0,[t("span",{innerHTML:n.promo.promoText},null,8,o0)])]),_:1},8,["route","onClick","class"]),s[2]||(s[2]=t("div",{class:"user-menu__info-list"},[t("div",{class:"user-menu__info-list-header"}," ÐаÑем подпиÑÑваÑÑÑÑ? ÐÑ ÑможеÑе: "),t("ul",null,[t("li",null,"ЧиÑаÑÑ Ð·Ð°ÐºÑÑÑÑе маÑеÑиалÑ"),t("li",null,"ÐолÑÑиÑÑ Ð¿ÑемиÑм-ÑÑлÑги и Ñкидки Ð¾Ñ Ð¿Ð°ÑÑнеÑов изданиÑ")])],-1))],64))])]),_:1})],2)}const r0=Ee(Xs,[["render",n0]]);const i0={class:"commercial-logo"},a0=["href"],l0="https://sber.ru/gosa?erid=2VfnxwpbQGb",c0="https://www.vedomosti.ru/kapital/special/2026/07/01/novaya-model-buduschego-ot-sbera-erid-2VfnxwmkVRm",d0=O({__name:"CommercialLogo",setup(l){const a=rt({year:2026,month:6,day:26,hours:0,minutes:0,seconds:0},{year:2026,month:6,day:29,hours:13,minutes:0,seconds:0})?l0:c0,r=we("yandexMetrika"),n=()=>{r==null||r.reachGoal("logo_sberbank_bannerclick")},i=["--logo","--text","--ad","--erid"],p=w(0),d=b(()=>i[p.value]);let m=null;return ie(()=>{r==null||r.reachGoal("logo_sberbank_bannerview"),m=setInterval(()=>{p.value=(p.value+1)%i.length},2e3)}),qe(()=>{m!==null&&(clearInterval(m),m=null)}),(c,v)=>(u(),o("div",i0,[v[0]||(v[0]=t("div",{class:"commercial-logo__divider"},null,-1)),t("a",{href:e(a),target:"_blank",onClick:n},[t("div",{class:M(["commercial-logo__slide",d.value])},null,2)],8,a0)]))}});const _0=["title"],h0="https://www.vedomosti.ru",p0=O({__name:"Logo",setup(l){const s=ve(),a=fe(),{isSubproject:r}=be(a.value),n=r||pe,i=se.isSberLogoEnabled(),p=b(()=>s.params.rubric==="global-ideas"),d=b(()=>p.value||n?"logo--composite":i?"logo--promo":"logo--single"),m={analytics:{modifier:Be.ANALYTICS,link:`/${Be.ANALYTICS}`,title:"ÐедомоÑÑи. ÐналиÑика"},think:{modifier:Be.THINK,link:`/${Be.THINK}`,title:"ÐедомоÑÑи. ÐÑмай"},retail:{modifier:Be.RETAIL,link:`/${Be.RETAIL}`,title:"ÐедомоÑÑи. ÐÑавила ÑоÑговли"},calendar:{modifier:Be.CALENDAR,link:it(),title:"ÐедомоÑÑи. СобÑÑиÑ"}},c={south:{modifier:me.SOUTH,link:"/",title:"ÐедомоÑÑи. Юг"},spb:{modifier:me.SPB,link:"/",title:"ÐедомоÑÑи. СевеÑо-Ðапад"},"spb-style":{modifier:me.SPB_STYLE,link:"/",title:"ÐедомоÑÑи. СевеÑо-Ðапад СÑÐ¸Ð»Ñ Ð¶Ð¸Ð·Ð½Ð¸"},global:{modifier:me.GLOBAL,link:h0,title:"ÐедомоÑÑи"}},v={"global-ideas":{modifier:"global-ideas",link:"/global-ideas",title:"ÐедомоÑÑи. ÐлобалÑнÑе идеи"}},_=()=>m[a.value],k=()=>c[xu],y=b(()=>{const{rubric:x}=s.params;return typeof x=="string"&&x in v?v[x]:r?_():k()}),E=()=>{window.scrollTo({top:0,behavior:"smooth"})},L=x=>{x.preventDefault(),s.name==="index"?E():window.location.href="/"},N=x=>{const f=y.value.link,G=s.path===f;if(pe){G&&(x.preventDefault(),E());return}x.preventDefault(),(G?E:()=>window.location.href=f)()};return(x,f)=>(u(),o("div",{class:M(["logo",d.value])},[t("a",{class:"logo__link logo__link--global",title:"ÐÐ»Ð°Ð²Ð½Ð°Ñ ÑÑÑаниÑа",href:"/",onClick:L}),e(n)||p.value?(u(),o("a",{key:0,class:M(["logo__link",`logo__link--${y.value.modifier}`]),title:y.value.title,href:"/",onClick:N},null,10,_0)):g("",!0),e(i)&&!e(n)?(u(),H(e(d0),{key:1})):g("",!0)],2))}});const m0={class:"geo-list"},v0=["href","onClick","onContextmenu","onMouseup","target"],f0={key:1},b0=O({__name:"GeoSelector",setup(l){const s=w(!1),a=w(null),r=c=>c==="spb.vedomosti.ru"&&mu()==="vedomosti-spb.ru"?!0:mu()===c,n=g4.map(c=>({...c,isActive:r(c.domain)})),i=()=>{s.value=!s.value},p=c=>{Lu(c)},d=({target:c})=>{var v;(v=a.value)!=null&&v.contains(c)||(s.value=!1)},m=()=>{s.value&&(s.value=!1)};return ie(()=>{document.addEventListener("click",d),window.addEventListener("resize",m),window.addEventListener("scroll",m)}),De(()=>{document.removeEventListener("click",d),window.removeEventListener("resize",m),window.removeEventListener("scroll",m)}),(c,v)=>(u(),o("div",{ref_key:"geo",ref:a,class:"geo"},[t("button",{type:"button",class:"geo-button",title:"ÐÑбÑаÑÑ Ñегион",onClick:i},[h(R,{name:e(he)?"geo_filled":"geo",height:"20",width:"20",fill:"red"},null,8,["name"])]),je(t("div",m0,[(u(!0),o(z,null,te(e(n),_=>(u(),o("span",{key:_.id,class:M(["geo-item",{"geo-item--active":_.isActive}])},[!_.isActive&&_.link?(u(),o("a",{key:0,href:_.link,onClick:He(k=>p(_.id),["left"]),onContextmenu:He(k=>
1p(_.id),["right"]),onMouseup:He(k=>p(_.id),["middle"]),target:e(Q)("_blank")},D(_.name),41,v0)):(u(),o("span",f0,D(_.name),1))],2))),128))],512),[[Ve,s.value]])],512))}}),g0=Ee(b0,[["__scopeId","data-v-4d9ddd9e"]]);const k0={class:"hamburger__icon hamburger__icon_mobile"},E0={class:"hamburger__icon hamburger__icon_desktop"},y0=O({__name:"Hamburger",emits:["click"],setup(l,{emit:s}){return(a,r)=>(u(),o("button",{type:"button",class:"hamburger",title:"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ",onClick:r[0]||(r[0]=n=>a.$emit("click"))},[t("div",k0,[h(R,{name:"hamburger-and-search",width:"22",height:"20",color:"currentColor"})]),t("div",E0,[h(R,{name:"hamburger",width:"22",height:"22",color:"currentColor"})])]))}});const w0={class:"feed"},C0={key:0,class:"feed-counter"},B0=O({__name:"HeaderFeedMobile",props:{visible:{type:Boolean,default:!0}},setup(l){const s=ae(),a=b(()=>s.getters["waterfall/hasNewItems"]),r=b(()=>s.getters["waterfall/countNewItems"]);return(n,i)=>(u(),o("div",w0,[t("button",{class:M(["feed-button",{"feed-button--open":l.visible}])},[a.value?(u(),o("span",C0," +"+D(r.value),1)):(u(),H(R,{key:1,name:"feed",width:"20",height:"20",class:"feed__icon"}))],2)]))}}),S0=Ee(B0,[["__scopeId","data-v-b6d26e0a"]]);const D0={key:0,class:"the-header-announce"},F0=["href"],x0=["src"],L0=O({__name:"TheHeaderAnnounce",setup(l){const s=w(null),a=i=>{if(!i.deactivateDate)return!0;const p=new Date,d=new Date(i.deactivateDate);return p<d},r=b(()=>{let i=[{image:"https://cdn.vedomosti.ru/image/2024/63/14mwk7/original-1gnx.gif",name:"investicionnyjbum",url:"https://www.vedomosti.ru/story/investicionnyjbum?erid=2VfnxyCopKr",deactivateDate:"2024-12-27T23:59:00"},{image:"https://cdn10.vedomosti.ru/icons%2Fcdek-erid-2VfnxyLMX1z.gif",name:"cdek25",url:"https://cdek25.vedomosti.ru/?erid=2VfnxyLMX1z",deactivateDate:"2025-03-18T23:59:00"},{image:"https://cdn.vedomosti.ru/image/2025/9x/zxz1h/results2025-erid-2VfnxvvWSdX.gif",name:"results2025",url:"https://www.vedomosti.ru/results2025?Erid=2VfnxvvWSdX",deactivateDate:"2025-12-31T23:59:00"}];return he&&(i=[]),J&&(i=[]),i.filter(a)}),n=()=>{const i=r.value.length;if(i===0||!(window!=null&&window.localStorage))return null;const p=parseInt(String(window.localStorage.getItem("announce-index")),10),d=isNaN(p)?kt(i):p%i;return window.localStorage.setItem("announce-index",(d+1).toString()),r.value[d]};return ze(()=>{s.value=n()}),(i,p)=>s.value?(u(),o("div",D0,[t("a",{href:s.value.url,target:"_blank",class:"the-header-announce__link"},[t("img",{src:s.value.image,alt:"",class:"the-header-announce__image"},null,8,x0)],8,F0)])):g("",!0)}});const A0={key:0,class:"toolbar__cell toolbar__cell_mobile"},T0={class:"toolbar__cell toolbar__cell_desktop"},$0={key:1,class:"toolbar__cell"},I0={key:2},M0=O({__name:"HeaderToolbarButtons",setup(l){const s=ae(),{isCalendarDropdownVisible:a,toggleCalendarDropdown:r,closeCalendarMenu:n}=ou(),{isWaterfallDropdownVisible:i,toggleWaterfallDropdown:p,closeWaterfallMenu:d}=nu(),m=b(()=>s.getters["viewport/isDesktopOrHigher"]),c=b(()=>s.getters["auth/isLogged"]),v=b(()=>s.getters["auth/isSubscriber"]),_=b(()=>s.state.user.isUserMenuVisible),k=fe(),{isSubproject:y}=be(k.value),E=se.isSberLogoEnabled(),L=()=>{r(),d()},N=()=>{p(),n()},x=()=>{if(c.value){s.dispatch("user/toggleUserMenu",{source:"onUserClick"});return}U()},f=C=>{s.dispatch("modal/toggleComponent",C)},G=()=>f({component:"menu",type:"fullscreen",data:{theme:"menu"}}),A=()=>f({component:"search",type:"fullscreen"}),U=()=>f({component:"auth",type:"fullscreen"});return(C,S)=>{const T=ye("client-only");return u(),o("div",{class:M(["the-header__toolbar",{"the-header__toolbar--promo":e(E)}])},[h(T,null,{default:I(()=>[m.value&&!e(re)?(u(),H(e(L0),{key:0})):g("",!0)]),_:1}),!e(pe)&&(!e(E)||e(y))?(u(),o("div",A0,[t("button",{class:M([{"the-header__icon-button--open":e(a)},"the-header__icon-button"]),title:"ÐалендаÑÑ",onClick:L},[h(R,{name:"calendar-new",width:"20",height:"20",class:"the-header__icon"})],2)])):g("",!0),h(e(S0),{visible:e(i),onClick:N},null,8,["visible"]),h(e(g0)),t("div",T0,[t("button",{type:"button",class:"the-header__search-button",title:"ÐоиÑк по ÑайÑÑ",onClick:A},[h(R,{name:"search",width:"20",height:"20",class:"the-header__icon"})])]),e(pe)?g("",!0):(u(),o("div",$0,[t("button",{class:M(["the-header__user-button the-header__toggle-button",{"the-header__toggle-button--active":_.value}]),onClick:x},[c.value&&v.value?(u(),H(R,{key:0,name:"king",width:"20",height:"23",class:"the-header__icon the-header__icon-king",original:"","is-async":!0})):(u(),H(R,{key:1,name:"user2",width:"20",height:"20",color:"currentColor",class:"the-header__icon","is-async":!0})),c.value?g("",!0):(u(),o("span",I0,"ÐойÑи"))],2)])),h(e(y0),{class:"the-header__hamburger",onClick:G})],2)}}}),P0=Ee(M0,[["__scopeId","data-v-cfd2fc5e"]]);const R0=O({__name:"TooltipUniversal",props:{position:{type:String,default:"center",validator:l=>["left","center","right"].includes(l)}},setup(l){const s=ae(),a=w(!1),r=w(null),n=b(()=>s.getters["viewport/isWideDesktop"]||s.getters["viewport/isExtraWideDesktop"]),i=()=>
1{a.value&&(a.value=!1)},p=m=>{n.value||(m.toElement===r.value?a.value=!0:m.toElement!==r.value&&(a.value=!1))},d=m=>{a.value=!a.value};return ie(()=>{window.addEventListener("scroll",i)}),De(()=>{document.removeEventListener("scroll",i)}),(m,c)=>(u(),o("div",{class:"tooltip-text",onMouseenter:p,onMouseleave:p,onClick:d,ref_key:"tooltip",ref:r},[Ue(m.$slots,"anchor"),h(ke,{name:"slide-up"},{default:I(()=>[je(t("div",{class:M(["tooltip-text__body",{"tooltip-text__body--left":l.position==="left","tooltip-text__body--right":l.position==="right"}])},[Ue(m.$slots,"default")],2),[[Ve,a.value]])]),_:3})],544))}});const H0={class:"icon-text-button"},O0=["href","target"],N0=O({__name:"IconTextButton",props:{link:String,target:{type:String,default:"_blank"},text:String,showText:{type:Boolean,default:!1},tooltipPosition:{type:String,default:"center",validator:l=>["left","center","right"].includes(l)}},setup(l){return(s,a)=>(u(),o("div",H0,[t("a",{class:"icon-text-button__content",href:l.link,target:l.target},[h(R0,{position:l.tooltipPosition},{anchor:I(()=>[Ue(s.$slots,"default",{},void 0,!0)]),default:I(()=>[t("span",null,D(l.text),1)]),_:3},8,["position"]),l.showText?(u(),o("span",{key:0,class:M(["icon-text-button__text",{"icon-text-button__text--mourning":e(se).isMourningTheme()}])},D(l.text),3)):g("",!0)],8,O0)]))}}),Ne=Ee(N0,[["__scopeId","data-v-cb28e566"]]);const U0=O({__name:"SubscribeButton",props:{link:{}},setup(l){const s=fe(),{isSubproject:a}=be(s.value),r=Q(a?"_blank":"_self"),n=ve(),i=b(()=>n.path==="/newsline"),{buttonTitle:p}=v({forceSSRTitle:"ÐодпиÑка"}),d=se.isNewHeaderSubscriptionEnabled(),m=se.isNewYearEnabled(),c=se.isNewSubscriptionEnabled();function v(_){const{forceSSRTitle:k}=_,y=su.headerSubscription().lines,{currentLine:E,wheelCurrentLine:L}=Ru(y),{resume:N}=Qu(L,2e3,{immediate:k===void 0,immediateCallback:!1}),x=k!==void 0?w(k):E;return k!==void 0&&ie(()=>{Zu(E,[x],{immediate:!0}),N()}),{buttonTitle:x}}return(_,k)=>(u(),H(Ne,{link:l.link,"tooltip-position":e(d)?"left":"center",text:e(p),target:e(r),"show-text":!i.value,class:M(["the-header__subscribe-text","--tablet-wide",{"--new-year":e(m),"--promotion":e(c)&&e(Me)}])},{default:I(()=>[h(R,{name:"subscription",height:"20",width:"20"})]),_:1},8,["link","tooltip-position","text","target","show-text","class"]))}});const j0=["target"],V0=O({__name:"HeaderButtons",setup(l){const s=we("yandexMetrika"),a=ve(),r=fe(),{isSubproject:n}=be(r.value),i=b(()=>a.path==="/newsline"),p=n||re||J,d=J?"ÐÑÑнал":"ÐазеÑа",m=()=>J?"/info/contacts":re?"/info/kontakti":uu(su.headerSubscription().link,"https://www.vedomosti.ru/"),c=()=>re?"https://max.ru/vedomosti_sz":he?"https://max.ru/vedomosti_south":"https://max.ru/vedomosti",v=()=>{Me&&s.reachGoal("max-head","Max_Click_Head")},_=()=>he?"https://www.vedomosti.ru/newspaper/last":"/newspaper/last",k=se.isNewYearEnabled();return(y,E)=>(u(),o("div",{class:M(["the-header__buttons",{"--new-year":e(k)}])},[e(he)?(u(),o("a",{key:0,href:"https://www.vedomosti.ru/",target:e(Q)("_blank"),class:"south-logo",onClick:E[0]||(E[0]=L=>e(Lu)(e(me).GLOBAL))},[h(R,{name:"logo-ved-small",height:"24",width:"24"})],8,j0)):g("",!0),h(e(U0),{link:m()},null,8,["link"]),h(Ne,{link:e(uu)(_()),target:e(Q)(e(n)?"_blank":"_self"),text:e(d),"show-text":!i.value,class:M(e(p)?"--wide":"--medium")},{default:I(()=>[h(R,{name:"rubric-news",height:"21",width:"22"})]),_:1},8,["link","target","text","show-text","class"]),h(Ne,{link:c(),text:e(gu)?"MAX":"ТелегÑам","show-text":!i.value,class:M(e(p)?"--wide":"--medium"),onClick:v},{default:I(()=>[h(R,{name:e(gu)?"max-menu":"telegram-black",height:"21",width:"22",color:"black"},null,8,["name"])]),_:1},8,["link","text","show-text","class"]),e(re)?(u(),H(Ne,{key:1,link:"https://vk.com/vedomostipeterburg",text:"ÐÐонÑакÑе","show-text":!i.value,class:"--wide"},{default:I(()=>[h(R,{name:"vk-header",height:"20",width:"20"})]),_:1},8,["show-text"])):g("",!0)],2))}});function G0(l=0){const s=w([]),a=w(!0),r=w(!1),n=w(1),i=10;async function p(c=1){r.value=!0;try{const{data:v}=await Ge("$api").get(`/calendar_service/events/upcoming/${Su(l)}`,{params:{page:c,limit:i}}),{events:_}=v;c===1?s.value=_:s.value=[...s.value,..._],n.value=c,a.value=Array.isArray(_)&&_.length===i}catch{c===1&&(s.value=[]),a.value=!1}finally{r.value=!1}}async function d(){r.value||!a.value||await p(n.value+1)}function m(){s.value=[],a.value=!0,r.value=!1,n.value=1}return qe(()=>{m()}),{eventsUpcoming:s,hasMoreUpcoming:a,isLoadingUpcoming:r,loadUpcoming:p,loadM
1oreUpcoming:d,reset:m}}const W0={class:"the-header__top"},Y0={class:"the-header__leftside"},q0=O({__name:"TheHeader",setup(l){const s=ae(),a=b(()=>s.state.user.isUserMenuVisible),r=b(()=>s.getters["viewport/isMobile"]),{isCalendarDropdownVisible:n,toggleCalendarDropdown:i,closeCalendarMenu:p}=ou(),{isWaterfallDropdownVisible:d,toggleWaterfallDropdown:m}=nu(),{eventsUpcoming:c,hasMoreUpcoming:v,isLoadingUpcoming:_,loadUpcoming:k,loadMoreUpcoming:y,reset:E}=G0();return Se(n,async L=>{L?await k():E()}),(L,N)=>(u(),o("header",{class:M(["the-header",{"--without-securities":e(J)||e(re)}])},[t("div",W0,[t("div",Y0,[h(e(p0)),h(e(V0))]),h(e(P0))]),h(e(Vu),{class:"the-header__rubrics fixed"}),h(Ws),!e(J)&&!e(re)&&!r.value?(u(),H(e(Gu),{key:0,class:"the-header__header-securities"})):g("",!0),h(ke,{name:"scale"},{default:I(()=>[a.value?(u(),H(r0,{key:0})):g("",!0)]),_:1}),h(ke,{name:e(n)?"":"scale"},{default:I(()=>[je(h(wu,{onClose:e(m)},{default:I(()=>[h(e(Pu))]),_:1},8,["onClose"]),[[Ve,e(d)]])]),_:1},8,["name"]),h(ke,{name:e(d)?"":"scale"},{default:I(()=>[je(h(wu,{onClose:e(i)},{default:I(()=>[h(Et,{class:"the-header__closest-events",events:e(c),"is-loading":e(_),"can-load-more":e(v),"route-query":{from:"newsline_calendar"},onLoadMore:e(y),onEventNavigate:e(p)},null,8,["events","is-loading","can-load-more","onLoadMore","onEventNavigate"])]),_:1},8,["onClose"]),[[Ve,e(n)]])]),_:1},8,["name"]),h(e(ju),{class:"the-header__progress"})],2))}});function z0(l=""){return l?(l==null?void 0:l.startsWith("/"))?l:l.replace(new RegExp(/^https?:\/\//i),"").replace(new RegExp(".*?(/.*)"),"$1"):""}const X0={class:"redline__content"},K0={class:"redline__time"},J0={class:"redline__title"},Q0={class:"redline__close"},Z0=O({__name:"TheRedLine",setup(l){const s=ae(),a=()=>s.dispatch("redLine/getRedLine"),r=b(()=>s.getters["redLine/redline"]),n=b(()=>s.getters["redLine/isVisible"]),i=async()=>{var _;try{if(await a(),r.value.status!=="on")return;if(s.commit("redLine/TOGGLE_REDLINE",!0),(_=localStorage.getItem("redline"))!=null&&_.length&&r.value.status==="on"){s.commit("redLine/TOGGLE_REDLINE",!1),await Ie();const k=JSON.parse(localStorage.getItem("redline"));(k==null?void 0:k.updated_at)!==r.value.updated_at&&s.commit("redLine/TOGGLE_REDLINE",!0)}}catch(k){Ae("TheRedLine","getRedLine",k.message||k)}};ie(()=>{i()});const p=ve();Se(()=>p.fullPath,()=>{i()});const d=b(()=>Re(r.value.created_at).isSame(new Date,"day")),m=b(()=>d.value?Re(r.value.created_at).format("HH:mm"):Re(r.value.created_at).format("DD.MM HH:mm")),c=b(()=>z0(r.value.url)),v=()=>{s.commit("redLine/TOGGLE_REDLINE",!1),localStorage.setItem("redline",JSON.stringify(r.value))};return(_,k)=>{const y=ye("router-link");return u(),H(ke,{name:"fade"},{default:I(()=>[n.value?(u(),H(y,{key:0,class:"redline",target:"_blank",to:c.value,onClick:v},{default:I(()=>[t("div",X0,[h(R,{class:"redline__icon",name:"light",color:"#fff",width:"16",height:"16"}),t("time",K0,D(m.value),1),t("strong",J0,D(r.value.title),1)]),t("div",Q0,[h(R,{name:"close2",width:"20",height:"20",color:"#fff",onClick:He(v,["prevent"])})])]),_:1},8,["to"])):g("",!0)]),_:1})}}});const eo={class:"the-sidebar__toggle"},uo={key:0,class:"the-sidebar__toggle-notification"},to=O({__name:"TheSidebar",setup(l){const s=ae(),a=b(()=>s.getters["viewport/isMobile"]),r=b(()=>s.getters["waterfall/hasNewItems"]),{isVisible:n,switchSidebar:i}=Mu(),p=()=>{i(!1),document.removeEventListener("click",m)},d=Le("root"),m=({target:v})=>{var k;!!((k=d.value)!=null&&k.contains(v))||p()},c=()=>{n.value||(i(!0),document.addEventListener("click",m))};return(v,_)=>(u(),o("aside",{ref_key:"root",ref:d,class:M(["the-sidebar",{"the-sidebar--shown":e(n)}])},[t("div",{class:"the-sidebar__toggle-wrapper",onClick:c},[t("div",eo,[h(R,{name:"feed",width:"20",height:"20",color:"currentColor"}),h(ke,{name:"scale"},{default:I(()=>[r.value?(u(),o("div",uo)):g("",!0)]),_:1})])]),t("div",{ref:"close",class:"the-sidebar__close",onClick:p},[h(R,{name:"close",width:"18",height:"24",color:"currentColor"})],512),!e(pe)&&!a.value?(u(),H(e(Bt),{key:0,class:"the-sidebar__calendar",variant:"sidebar","navigation-mode":"external","show-count":!1},{header:I(({currentMonth:k,onPrev:y,onNext:E})=>[h(e(xt),{"current-month":k,onPrev:y,onNext:E},null,8,["current-month","onPrev","onNext"])]),_:1})):g("",!0),h(Pu,{class:"the-sidebar__waterfall"})],2))}});const so={key:4},oo={key:0},no={class:"layout__page"},ro={key:2},Yo=O({__name:"default",setup(l){const s=we("adfox"),a=fe(),r=b(()=>be(a.value).isCalendar),n=ve(),{cookies:i}=Bu(),p={AGREEMENT:"cookie_agreement"},d=ae(),m=w(!0),c=()=>{m.value=!1},v=Iu(s.units,"Fullscreen"),_=w(!1),k=()=>{m.value=!0,_.value=!0},y=b(()=>d.getters["viewport/isMobile"]),E=b(()=>d.getters["viewport/isMobileOrTablet"]),L=b(()=>d.getters["viewport/isWideTablet"]),N=su.bannerSubscription(),x=b(()=>!_.value||!E.value&&!L.value?!1:se.isSurvey2026Enabled()),{isWaterfallDropdownVisible:f}=nu(),{isCalendarDropdownVisible:G}=ou(),A=b(()=>{if(!_.value||F.value||f.value||G.value)return!1;if(y.value){const K=se.isCalendar2026Enabled()&&!r.value&&Me;if(se.isNewYearEnabled()||se.isBannerSubscriptionEnabled()||se.isBlackFriday()||K)return!0}return x.value}),U=b(()=>x.value?"survey":"promotion"),C=["/newsline","/newsline/"],S=b(()=>r.value?!1:!C.includes(n.path)),T=w(!1),P=b(()=>S.value?"":{borderLeft:"none"}),F=b(()=>d.state.modal.isVisible),Y=b(()=>d.state.modal.subscribePopupScope),X=b(()=>d.state.modal.isSubscribePopupVisible),j=b(()=>d.state.modal.data),q=b(()=>d.getters["loader/isLoading"]),de=b(()=>d.state.viewport.breakpoints),V=b(()=>d.getters["articlesCardsList/isPageReloadByTimerEnabled"]),B=b(()=>{var ne;const K=["company","archive","newspaper"];for(const ue of K)if((ne=n==null?void 0:n.name)!=null&&ne.includes(ue))return null;return n==null?void 0:n.fullPath}),Z=b(()=>{const{isAnalytics:K,isThink:ne,isRetail:ue}=be(a.value);return K?"layout--analytics":ne?"layout--think":ue?"layout--retail":n.params.rubric==="global-ideas"?"layout--global-ideas":se.isMourningTheme()?"layout--mourning":""}),oe=w(158),le=Le("headerRef"),Ce=Le("headerRubricRef"),$=Le("spbStyleBannerRef"),_e=()=>{var ne;const K=(ne=le==null?void 0:le.value)==null?void 0:ne.$el;if(K&&K instanceof Element){const ue=K.getBoundingClientRect();return ue.top<0&&ue.bottom<=window.innerHeight&&ue.bottom>0?ue.bottom:0}},ee=()=>{var iu,au,lu,cu,du,_u;const K=(au=(iu=le==null?void 0:le.value)==null?void 0:iu.$el)==null?void 0:au.offsetHeight,ne=(cu=(lu=Ce
1==null?void 0:Ce.value)==null?void 0:lu.$el)==null?void 0:cu.offsetHeight,ue=((_u=(du=$==null?void 0:$.value)==null?void 0:du.$el)==null?void 0:_u.offsetHeight)||0;oe.value=ne+_e();const ge=(K||158)+ue;oe.value=window.scrollY>ge?30:ge-window.scrollY},ce=()=>{d.commit("modal/setSubscribePopupVisible",{isVisible:!1,scope:""})},Pe=()=>navigator.userAgent.match(/SamsungBrowser/i),Fe=()=>{const K=Pe()?window.screen.width:window.innerWidth,ne=de.value.filter(({width:ge})=>ge<=K),ue=ne[ne.length-1]||de.value[0];d.commit("viewport/setWindowSize",ue),ee()},Xe=b(()=>{const K="msapplication-config",{isAnalytics:ne,isThink:ue,isRetail:ge}=be(a.value);return ne?{name:K,content:"/browserconfig_analytics.xml"}:ue?{name:K,content:"/browserconfig_think.xml"}:ge?{name:K,content:"/browserconfig_retail.xml"}:{name:K,content:"/browserconfig.xml"}});Se(V,K=>{vu(n,K)}),Se(()=>n.hash,K=>{switch(T.value=!1,K){case"#newsletter":{d.commit("modal/setSubscribePopupVisible",{isVisible:!0,scope:""});return}case"#email_no_time":T.value=!0,d.commit("modal/setSubscribePopupVisible",{isVisible:!0,scope:""})}},{immediate:!0}),Fe();const ru=we("yandexMetrika");ze(()=>{ru.initYaMetrika()}),ie(()=>{window.addEventListener("resize",Fe),window.addEventListener("scroll",ee),ee(),_.value=!!i.get(p.AGREEMENT),["characters","opinion"].includes(n==null?void 0:n.name)&&vu(n)}),De(()=>{window.removeEventListener("resize",Fe),window.removeEventListener("scroll",ee),at()});const Wu=b(()=>d.getters["waterfall/hasNewItems"]);Yu(()=>!a.value&&document.hidden&&Wu.value),et({meta:[Xe.value]});function Yu(K){const ne=lt(n.path),ue=b(()=>Su(K)?"news":ne);ct(ue)}return(K,ne)=>{const ue=ye("router-view");return u(),o("div",{class:M(["layout",Z.value])},[h(Nt,{"is-loading":q.value},null,8,["is-loading"]),h(e(pu),null,{default:I(()=>[r.value?g("",!0):(u(),H(tu,{key:0,id:"adfox","watch-route":!0,unit:e(v),class:"adfox--fullscreen"},null,8,["unit"])),h(ke,{name:"fade"},{default:I(()=>[F.value?(u(),H(e(st),ut(eu({key:0},j.value)),null,16)):g("",!0)]),_:1}),X.value?(u(),H(Au,{key:1,class:"layout__popup",onClose:ce},{default:I(()=>[h(u4,{"subscribe-form-scope":Y.value,"no-time":T.value,onSend:ce},null,8,["subscribe-form-scope","no-time"])]),_:1})):g("",!0)]),_:1}),t("div",{class:M(["layout__wrapper",{"full-width":S.value||r.value},{"full-width--calendar":r.value}])},[e(J)?(u(),H(e(Vt),{key:0,ref_key:"spbStyleBannerRef",ref:$},null,512)):g("",!0),h(e(q0),{ref_key:"headerRef",ref:le},null,512),!e(J)&&!e(re)&&y.value?(u(),H(e(Gu),{key:1,class:"header-securities"})):g("",!0),y.value?g("",!0):(u(),H(e(Vu),{key:2,ref_key:"headerRubricRef",ref:Ce,"logo-show":""},null,512)),r.value?g("",!0):(u(),o("div",{key:3,class:M({"layout__container--transformed":S.value})},[h(Z0),e(re)?g("",!0):(u(),H(e(qt),{key:0,style:xe(P.value)},null,8,["style"]))],2)),!S.value&&!r.value?(u(),o("div",so,[h(Eu)])):g("",!0),S.value?(u(),H(to,{key:5,class:"sidebar",style:xe("top:"+oe.value+"px")},null,8,["style"])):g("",!0),t("div",{class:M(["layout__container",[{"layout__container--transformed":S.value},{"layout__container--calendar":r.value}]])},[S.value?(u(),o("div",oo,[h(Eu)])):g("",!0),t("div",no,[(u(),H(ue,{key:B.value,style:xe(P.value)},null,8,["style"])),h(e(pu),null,{default:I(()=>{var ge;return[!_.value&&!e(he)?(u(),H(e(tt),{key:0,onAccepted:k})):m.value&&!e(pe)?(u(),H(e(Mt),{key:1,class:"full-width",onClose:c,onHide:c})):A.value&&((ge=e(N))!=null&&ge.lines.length)?(u(),o("div",ro,[h(e(Ot),{variant:U.value,"title-lines":e(N).lines,link:e(N).link},null,8,["variant","title-lines","link"])])):g("",!0)]}),_:1}),h(e(Bs),{class:M({"paddings-on-sidebar-hidden":!S.value}),style:xe(P.value)},null,8,["class","style"])])],2)],2)],2)}}});export{Yo 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.