(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8692],{59306:function(e,t,i){"use strict";i.d(t,{L:function(){return r},t:function(){return l}});var n=i(46295),o=i(77490);let r=(e,t)=>{let{isHeadlessCMS:i,isPageContent:n,isMpScRedirects:o}=t;return n?"".concat(e.NEXT_PUBLIC_BASE_URL,"/page-content"):i?"".concat(e.NEXT_PUBLIC_BASE_URL,"/sc"):e.NEXT_PUBLIC_BASE_URL},l=async e=>{let{url:t,options:i={},config:l}=e,a=(0,n.S)(),s=r(a,i),c=((null==l?void 0:l.method)||"GET").toUpperCase(),d=Number(a.REVALIDATE_REQUEST_VALUE)||300,u={...null==l?void 0:l.headers},_=0;try{_=performance.now();let e=await (0,o.Wg)(t,{baseURL:s,method:c,headers:u,...l,next:{revalidate:d}}),i=performance.now()-_;return console.warn("Запрос ".concat(s).concat(t," занял ").concat(i.toFixed(2)," ms")),{data:e,error:null}}catch(e){return console.error("Ошибка запроса","".concat(e,": ").concat(s).concat(t)),{data:null,error:e instanceof Error?e.message:"Unknown error"}}}},73751:function(e,t,i){"use strict";i.d(t,{pW:function(){return u},Jx:function(){return v}});var n=i(59306),o=i(6326),r=i(35264),l=i(19256),a=i(33981),s=i(56471);let c=e=>e?Object.keys(e).filter(t=>e[t]).map(t=>"".concat(t,"=").concat(e[t])).join("&"):"",d=(e,t,i,o,r,a,s)=>{let d={limit:e||"0",offset:t,page:i&&i>1?i:void 0,tag_url:o!==l.Vf?o:void 0,best:r,author:a,popularLimit:s};return(0,n.t)({url:"/money_data/Navigator.json?".concat(c(d))})},u=async(e,t,i,r,a,u,_,v)=>{var p,g,h;if((0,s.W)(e))return d(t,i,r,a,u,_,v);let m={limit:t||"0",offset:i,page:r&&r>1?r-1:0,categoryUrl:a!==l.Vf&&"navigator/all"!==a?a:void 0,best:u,authorUrl:_,popularLimit:v,draft:"false",showPlanned:"false"},f=await (0,n.t)({url:"/api/v2/posts?".concat(c(m)),options:{isHeadlessCMS:!0}}),b=(null===(g=f.data)||void 0===g?void 0:null===(p=g.posts)||void 0===p?void 0:p.reduce((e,t)=>{let i=(0,o.I)(t);return i&&e.push(i),e},[]))||[],k=(null===(h=f.data)||void 0===h?void 0:h.pagination.rowsNumber)||b.length;return{data:{articles:b,total:String(k),popular:[]}}},_=(e,t,i)=>(0,n.t)({url:"/money_data/News.json?".concat(c({select:"all",limit:e,offset:t,page:i&&i>1?i:void 0}))}),v=async(e,t,i,o)=>{var l,d,u;if((0,s.W)(e))return _(t,i,o);let v={limit:t,offset:i?a.e$:void 0,page:o&&o>1?o-2:0,draft:"false",showPlanned:"false"},p=await (0,n.t)({url:"/api/v2/news?".concat(c(v)),options:{isHeadlessCMS:!0}}),g=(null===(d=p.data)||void 0===d?void 0:null===(l=d.news)||void 0===l?void 0:l.reduce((e,t)=>{let i=(0,r.Y)(t);return i&&e.push(i),e},[]))||[];return{data:{items:g,total:(null===(u=p.data)||void 0===u?void 0:u.pagination.rowsNumber)||g.length,tags:[]}}}},6326:function(e,t,i){"use strict";i.d(t,{I:function(){return l},u:function(){return a}});var n=i(98637),o=i(699),r=i(37410);let l=e=>{var t,i,l,a,s,c,d,u,_,v,p;if(!e)return null;let g=[];try{g=JSON.parse(e.content)}catch(e){g=[]}let h={id:null===(t=e.author)||void 0===t?void 0:t.id,url:null===(i=e.author)||void 0===i?void 0:i.url,name:"".concat(null===(l=e.author)||void 0===l?void 0:l.firstName," ").concat(null===(a=e.author)||void 0===a?void 0:a.lastName),position:null===(s=e.author)||void 0===s?void 0:s.position,about:null===(c=e.author)||void 0===c?void 0:c.about,photo:null===(d=e.author)||void 0===d?void 0:d.avatar,quote:void 0,education:null===(u=e.author)||void 0===u?void 0:u.education,career:null===(_=e.author)||void 0===_?void 0:_.career,likes_count:0,views_count:0,comments_count:0,tags:[]},m=null===(v=e.categories)||void 0===v?void 0:v.map(e=>e.id),f={id:e.id,url:e.fullUrl||e.url,redirect_url:e.redirectUrl,title:e.title,custom_title:e.title,seo_title:e.seoTitle,seo_description:e.seoDescription,anons:e.lead,time_to_read:e.readTime,content:g,font_dark:1,tag_ids:m,ctg_id:(null===(p=e.tags)||void 0===p?void 0:p.length)>0?e.tags[0].id:0,archive:0,is_pro:0,google_amp:0,filter_ids:m,views:e.views,image:{file:e.imageUrl,mobile_offset:"0",blur:1},img:{file:e.imageUrl},cover_title:e.imageAlt,likes:e.likes,publ_date:(0,o.qt)(e.plannedPublishAt),is_full:!0,questionnaires:[],show_content:e.showContent?1:0,author:h,short_title:e.title,osago_regions_position:"",kasko_regions_position:"",hot:0,in_favorites:0,double:0,expert_id:0,public_date:(0,o.qt)(e.createdAt),ord_inn:"",ord_company:"",ord_token:"",publ_time:(0,o.qt)(e.plannedPublishAt),update_time:(0,o.qt)(e.updatedAt),c_time:(0,o.qt)(e.createdAt),polls:null,comments:[],read_time:e.readTime,pinned:e.pinMain,pinCategory:e.pinCategory,ads_banner:null,publisher:void 0,best_offers:n.h[e.bestOffers||""]};return(0,r.A)(f)},a=e=>{if(Array.isArray(e)&&e.length)return e.reduce((e,t)=>(e[t.key]={count:t.votes,percent:t.percent},e),{})}},35264:function(e,t,i){"use strict";i.d(t,{Y:function(){return r}});var n=i(98637),o=i(37410);let r=e=>{var t,i;if(!e)return null;let r=[];try{r=JSON.parse(e.content||"[]")}catch(e){r=[]}let l={id:e.id,url:e.fullUrl||e.url,title:e.title,short_title:e.seoTitle,anons:e.lead,content:r,date_pub:e.plannedPublishAt||e.createdAt,schema_date_pub:e.plannedPublishAt||e.createdAt,schema_description:e.seoDescription,tag_id:null===(i=e.tags)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.id,views:e.views,updated:e.updatedAt,pinned:!!e.pinMain,best_offers:n.h[e.bestOffers||""],seo_title:e.seoTitle,seo_description:e.seoDescription};return(0,o.A)(l)}},96350:function(e,t,i){"use strict";i.d(t,{j:function(){return m}});var n=i(57437),o=i(2265),r=i(54365),l=i(78582),a=i.n(l);let s=e=>{let{onClose:t,onToucheMove:i,isOpen:l,delay:s=300}=e,c=(0,o.useRef)(null),d=(0,o.useCallback)(()=>{t&&(c.current=setTimeout(()=>{t()},s))},[s,t]),u=(0,o.useCallback)(e=>{"Escape"===e.key&&d()},[d]);return(0,o.useEffect)(()=>(l&&window.addEventListener("keydown",u),()=>{c.current&&clearTimeout(c.current),window.removeEventListener("keydown",u)}),[l,u]),(0,n.jsx)("div",{className:(0,r.Z)(a().overlay,{[a().open]:l,[a().close]:!l}),onTouchStart:i,onClick:d})},c=e=>{let t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let i=t.current,n=window.innerWidth-document.documentElement.clientWidth;e&&n&&!document.body.style.top&&(window.prevScrollPosition=window.scrollY||window.pageYOffset),e&&n&&(document.documentElement.style.setProperty("overflow-y","scroll"),document.body.classList.toggle("scroll-disable-windows",!0),document.body.style.setProperty("width","calc(100vw - ".concat(n,"px)")),document.body.style.setProperty("top","-".concat(window.prevScrollPosition,"px"))),e&&!n&&(document.body.style.setProperty("overflow","hidden"),document.body.style.setProperty("height","100vw")),e&&i&&i.setAttribute("data-portal","");let o=document.querySelectorAll("[data-portal]").length>1;e||o||(document.body.classList.toggle("scroll-disable-windows",!1),document.body.style.removeProperty("overflow"),document.body.style.removeProperty("height"),document.body.style.removeProperty("width"),document.body.style.removeProperty("top")),e||o||void 0===window.prevScrollPosition||(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0),!e&&i&&i.removeAttribute("data-portal")},[e]),t},d=e=>{let{opened:t}=e,[i,n]=(0,o.useState)(!1),r=(0,o.useRef)(null),l=(0,o.useRef)(!1);return(0,o.useEffect)(()=>(t&&!l.current?(l.current=!0,n(!0)):!t&&l.current&&(r.current=setTimeout(()=>{l.current=!1,n(!1)},300)),()=>{r.current&&clearTimeout(r.current)}),[t]),{mounted:i}};var u=i(53582),_=i.n(u);let v=e=>{let{footer:t,isSmallPopup:i=!1,footerClassName:o}=e;return(0,n.jsx)("div",{className:(0,r.Z)(_().footer,i&&_().footerWithoutShadow,o),children:"function"==typeof t?t():t})};var p=i(16565),g=i.n(p);let h=e=>{let{children:t,footer:i,isOpen:l,isSmallPopup:a,onClose:d,hasCloseButton:u=!0,full:_,touchDistance:p=100,withDisabledScroll:h=!0,contentClassName:m,className:f,title:b,subtitle:k,closeButton:w,footerClassName:x}=e,[y,N]=(0,o.useState)(!1),[j,C]=(0,o.useState)(!1),[T,S]=(0,o.useState)(!0),[F,A]=(0,o.useState)("120%"),E=(0,o.useRef)(null),B=(0,o.useRef)(0),P=(0,o.useRef)(!1),W=e=>{var t,i,n;let o=null===(t=E.current)||void 0===t?void 0:t.offsetTop,r=null===(i=E.current)||void 0===i?void 0:i.offsetHeight;if(P.current=!0,S(!1),o&&r){let t=(null==e?void 0:null===(n=e.touches[0])||void 0===n?void 0:n.clientY)-o,i=0;t>=0&&t<=r+30&&(i=t),t>r+30&&(i=r+30),A("".concat(i,"px")),B.current=i}},L=()=>{P.current&&(B.current>p&&d?null==d||d():A("0"),S(!0),P.current=!1),window.removeEventListener("touchmove",W),window.removeEventListener("touchend",L)};return(0,o.useEffect)(()=>{l&&setTimeout(()=>{N(!0),C(!0),A("0")},100),!l&&j&&(A("120%"),N(!1),C(!1))},[j,l]),c(l&&h),(0,n.jsxs)("div",{"data-portal":!0,className:(0,r.Z)(g().mobilePopup,j&&g().mobilePopupOpen,f),children:[(0,n.jsx)(s,{onClose:()=>{l&&(null==d||d())},onToucheMove:()=>{l&&(N(!1),window.addEventListener("touchmove",W),window.addEventListener("touchend",L))},isOpen:l,delay:0}),(0,n.jsxs)("div",{className:(0,r.Z)(g().content,_&&g().contentFull,T&&g().contentTransition,T&&y&&g().contentTransitionOpen),ref:E,style:{transform:"translateY(".concat(F,")")},children:[(0,n.jsx)("div",{className:g().contentLine}),(0,n.jsxs)("div",{className:(0,r.Z)(g().contentContainer,a&&g().smallContentContainer,{[g().min]:!b&&!u},m),children:[!!b&&(0,n.jsx)("div",{className:g().title,children:b}),!!k&&(0,n.jsx)("div",{className:(0,r.Z)(g().title,g().subtitle),children:k}),u?(0,n.jsxs)("div",{className:g().closeContainer,children:[w?"function"==typeof w?w():w:null,w?null:(0,n.jsx)("button",{onClick:d,className:g().closeButton,children:(0,n.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})})]}):null,t]}),i&&(0,n.jsx)(v,{footerClassName:x,isSmallPopup:a,footer:i})]})]})},m=e=>{let{children:t,isSmallPopup:i=!1,isOpen:o=!1,...r}=e,{mounted:l}=d({opened:o});return l?(0,n.jsx)(h,{isSmallPopup:i,isOpen:o,...r,children:t}):null};m.displayName="UiMobilePopup"},62368:function(e,t,i){"use strict";i.d(t,{d:function(){return f},n:function(){return x}});var n=i(57437),o=i(2265),r=i(33145),l=i(54365),a={src:"/service-navigator/_next/static/media/clock2.2faa8e1e.svg",height:24,width:24,blurWidth:0,blurHeight:0},s=i(89980),c={src:"/service-navigator/_next/static/media/tack.08d43349.svg",height:24,width:24,blurWidth:0,blurHeight:0},d=i(674),u=i(31019),_=i(23195),v=i(71938),p=i(11197),g=i(13745),h=i(85454),m=i.n(h);let f=e=>{let{env:t,articles:i,pinned:o,onReach:r,onArticleClick:a,loading:s,className:c}=e,d=(0,_.M)(r,.3),u=Array.from({length:9},(e,t)=>t+1);return(0,n.jsxs)("div",{ref:d,className:(0,l.Z)(m().wrapper,c),children:[!!o&&(0,n.jsx)(k,{env:t,data:o}),i.map((e,i)=>(0,n.jsx)(b,{env:t,data:e,onClick:e=>null==a?void 0:a(e,i)},e.id)),s&&u.map((e,i)=>(0,n.jsx)(b,{env:t},i))]})},b=e=>{var t,i,o;let{env:a,data:c,onClick:u}=e,_=x(null==c?void 0:c.url,null==c?void 0:c.likes),h=a.NEXT_PUBLIC_BASE_URL,f=(null==c?void 0:null===(t=c.img)||void 0===t?void 0:t.file)&&(null==c?void 0:null===(i=c.img)||void 0===i?void 0:i.file)!==".";return(0,n.jsxs)("a",{onClick:()=>{null==u||u(c)},className:(0,l.Z)(m().card,{[m().skeleton]:!c}),href:"/".concat(null==c?void 0:c.url),target:"_self",children:[(0,n.jsx)("div",{className:m().image,style:f?{backgroundImage:"url(".concat((0,p.J)(null==c?void 0:null===(o=c.img)||void 0===o?void 0:o.file,"small",h),")")}:{}}),(0,n.jsxs)("div",{className:m().container,children:[(0,n.jsx)("div",{className:m().title,children:null==c?void 0:c.title}),(0,n.jsxs)("div",{className:m().icons,children:[(0,n.jsxs)("div",{className:m().left,children:[!!_&&(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(r.default,{src:d.Z,alt:"likes",unoptimized:!0}),(0,n.jsx)("span",{children:_})]}),(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(r.default,{src:s.Z,alt:"views",unoptimized:!0}),(0,n.jsx)("span",{suppressHydrationWarning:!0,children:(0,g.V)((null==c?void 0:c.url)||"",(null==c?void 0:c.views)||0,0)})]})]}),(0,n.jsx)("div",{className:m().unit,children:(0,n.jsx)("span",{children:(0,v.p6)(String((null==c?void 0:c.public_date)||(null==c?void 0:c.update_time)||(null==c?void 0:c.publ_time)),!0)})})]})]})]})},k=e=>{var t,i,o,u;let{env:_,data:p}=e,h=x(null==p?void 0:p.url,null==p?void 0:p.likes),f=_.NEXT_PUBLIC_BASE_URL,b=(null==p?void 0:null===(t=p.img)||void 0===t?void 0:t.file)&&(null==p?void 0:null===(i=p.img)||void 0===i?void 0:i.file)!==".";return(0,n.jsxs)("a",{className:m().pinnedCard,href:"/".concat(p.url),target:"_self",children:[(0,n.jsx)("div",{className:(0,l.Z)(m().image,"desktopOnly"),style:b?{backgroundImage:"url(".concat(f,"/img/posts/small/").concat(null===(o=p.img)||void 0===o?void 0:o.file,")")}:{}}),(0,n.jsxs)("div",{className:m().container,children:[(0,n.jsxs)("div",{className:m().top,children:[(0,n.jsx)("div",{className:m().unit,children:(0,v.p6)(String(p.public_date||p.update_time||p.publ_time),!0)}),(0,n.jsx)("div",{className:m().tack,children:(0,n.jsx)(r.default,{src:c,alt:"tack",unoptimized:!0})})]}),(0,n.jsx)("div",{className:m().title,children:p.title}),(0,n.jsx)("div",{className:(0,l.Z)(m().image,"mobileOnly"),style:b?{backgroundImage:"url(".concat(f,"/img/posts/small/").concat(null===(u=p.img)||void 0===u?void 0:u.file,")")}:{}}),(0,n.jsxs)("div",{className:m().icons,children:[!!h&&(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(r.default,{src:d.Z,alt:"likes",unoptimized:!0}),(0,n.jsx)("span",{children:h})]}),(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(r.default,{src:s.Z,alt:"views",unoptimized:!0}),(0,n.jsx)("span",{suppressHydrationWarning:!0,children:(0,g.V)(p.url||"",p.views||0,0)})]}),!!p.read_time&&(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(r.default,{src:a,alt:"clock",unoptimized:!0}),p.read_time," мин"]})]})]})]})},w=(e,t)=>{if(!e)return 0;let i="liked"===(0,u.M)(e||"");return Number(t)+(i?1:0)},x=(e,t)=>{let[i,n]=(0,o.useState)(t||0);return(0,o.useEffect)(()=>{n(w(e,t))},[e,t]),i}},98637:function(e,t,i){"use strict";var n,o;i.d(t,{h:function(){return r}}),(o=n||(n={})).deposits="deposits",o.credits="credits",o.microCredits="microCredits",o.autoCredits="autoCredits",o.mortgages="mortgages",o.cards="cards",o.debitCards="debitCards",o.bonds="bonds",o.funds="funds";let r={DEPOSITS:n.deposits,BONDS:n.bonds,CREDITS:n.credits,MICRO_CREDITS:n.microCredits,CARDS:n.cards,DEBIT_CARDS:n.debitCards,MORTGAGES:n.mortgages,AUTO_CREDITS:n.autoCredits,FUNDS:n.funds}},86435:function(e,t,i){"use strict";i.d(t,{F:function(){return _}});var n=i(57437),o=i(54365),r=i(61991),l=i(2265),a=i(46273),s=i.n(a);let c=e=>{let{children:t,className:i}=e,[r,a]=(0,l.useState)(!1),[c,d]=(0,l.useState)(!0),[u,_]=(0,l.useState)(0),v=((0,l.useRef)(0),(0,l.useRef)(null)),p=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=()=>{};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[c]),(0,n.jsxs)("div",{ref:v,className:(0,o.Z)(s().wrapper,s().newSidebar,i),children:[!r&&!c&&(0,n.jsx)("div",{className:s().filler}),(0,n.jsx)("div",{ref:p,style:r?{top:"".concat(u,"px")}:{},className:(0,o.Z)(s().content,{[s().transitioning]:r,[s().stuckToTop]:c&&!r}),children:t})]})};var d=i(27463),u=i.n(d);let _=e=>{let{env:t,tags:i,selectedTag:l,isCatalog:a}=e;return(0,n.jsx)(c,{className:(0,o.Z)(u().stickySidebar,{[u().catalog]:a}),children:(0,n.jsx)(r.v5,{env:t,isMobile:!1,tags:i,selectedTag:l,isCatalog:a})})}},61991:function(e,t,i){"use strict";i.d(t,{Yx:function(){return j},v5:function(){return w},Rj:function(){return k}});var n=i(57437),o=i(2265),r=i(33145),l=i(80684),a=i(54365),s={src:"/service-navigator/_next/static/media/arrow.e5fbf461.svg",height:24,width:24,blurWidth:0,blurHeight:0},c={src:"/service-navigator/_next/static/media/Chart square.b1b76e82.svg",height:24,width:24,blurWidth:0,blurHeight:0},d={src:"/service-navigator/_next/static/media/Compass.a44b319a.svg",height:24,width:24,blurWidth:0,blurHeight:0},u={src:"/service-navigator/_next/static/media/Safe square.f07d1b2c.svg",height:24,width:24,blurWidth:0,blurHeight:0},_={src:"/service-navigator/_next/static/media/Shield checkmark.77c905f0.svg",height:24,width:24,blurWidth:0,blurHeight:0},v=i(13466),p=i(96350),g=i(19256),h=i(85769),m=i(27669),f=i(18480),b=i.n(f);let k={id:42,name:"Новости",title:"Новости",modal_title:null,modal_description:null,modal_title_success:null,modal_description_success:null,h1:"Новости",url:"navigator/news"},w=e=>{let{env:t,isMobile:i,tags:l=[],selectedTag:c,maxHeight:d,isCatalog:u}=e,[_,...v]=l,p=[_,k,...v],[g,f]=(0,o.useState)(!1),w=e=>{(0,h.I)({eventCategory:(0,m.b)("журнал ".concat(location.pathname)),eventActionType:h.i.popup,eventActionText:e?"open":"close"}),f(e)};return(0,n.jsxs)("div",{style:d?{maxHeight:d}:void 0,className:(0,a.Z)(b().container,{[b().mobile]:i,[b().detail]:!u}),children:[(0,n.jsxs)("div",{className:b().top,onClick:()=>i&&w(!0),children:[(0,n.jsxs)("div",{className:b().tagTitle,children:[(0,n.jsx)(y,{icon:"top"}),"Что хотите почитать?"]}),(0,n.jsx)(r.default,{className:b().arrow,src:s,alt:"arrow",unoptimized:!0})]}),(0,n.jsx)(x,{isMobile:i,isOpen:g,onClose:()=>w(!1),children:(0,n.jsx)("div",{className:b().tags,children:p.map((e,i)=>(0,n.jsx)(j,{env:t,tag:e,isSelected:(null==e?void 0:e.url)===c,cn:b().tag},i))})})]})},x=e=>{let{isMobile:t,isOpen:i,onClose:r,children:s}=e,c=(0,o.useRef)(null),d=(0,o.useRef)(null),[u,_]=(0,o.useState)(!0),[g,f]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{var e,t;f(((null===(e=c.current)||void 0===e?void 0:e.getBoundingClientRect().height)||0)<((null===(t=d.current)||void 0===t?void 0:t.getBoundingClientRect().height)||0))},[]),t)?(0,n.jsx)(v.h,{children:(0,n.jsx)(p.j,{className:b().popup,contentClassName:b().popupContent,isOpen:i,onClose:r,title:"Что хотите почитать?",children:s})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:b().lineWrapper,children:(0,n.jsx)("div",{className:b().line})}),(0,n.jsx)("div",{ref:c,className:(0,a.Z)(b().outerTagsWrapper,{[b().collapsed]:u}),children:(0,n.jsx)("div",{ref:d,className:b().tagsWrapper,children:s})}),g&&(0,n.jsx)("div",{className:b().controls,onClick:()=>_(!u),children:(0,n.jsxs)("div",{className:b().more,onClick:()=>{c.current&&c.current.scrollTo({top:0}),_(e=>!e),(0,h.I)({eventCategory:"".concat((0,m.b)("журнал"),"_").concat(location.pathname),eventActionType:h.i.navigator,eventActionText:"link_".concat((0,m.b)("показать ещё")),eventLabel:""})},children:[u?"Показать еще":"Свернуть",(0,n.jsx)("span",{className:(0,a.Z)(b().moreIcon,{[b().invert]:!u}),children:(0,n.jsx)(l.IconFdsChevronDownO,{})})]})})]})},y=e=>{var t,i;let{icon:o}=e;return(0,n.jsx)("div",{className:b().icon,style:{background:null===(t=N[o])||void 0===t?void 0:t.color},children:(0,n.jsx)(r.default,{src:null===(i=N[o])||void 0===i?void 0:i.icon,alt:o,unoptimized:!0})})},N={top:{icon:d,color:"#ECF7FF"},navigator:{icon:{src:"/service-navigator/_next/static/media/Home.3353e744.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#F6F7F0"},"navigator/news":{icon:{src:"/service-navigator/_next/static/media/Newspaper.928308ad.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#ECF7FF"},"navigator/nakopit-i-sohranit":{icon:u,color:"#FEF1FE"},"navigator/nakopleniya":{icon:u,color:"#FEF1FE"},"navigator/investirovat":{icon:c,color:"#E7F9F6"},"navigator/investicii":{icon:c,color:"#E7F9F6"},"navigator/zastrahovat":{icon:_,color:"#FFF4E0"},"navigator/strahovanie":{icon:_,color:"#FFF4E0"},"navigator/kredity":{icon:{src:"/service-navigator/_next/static/media/Wallet.e84b9a47.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#EEF6FF"},"navigator/nalogi":{icon:{src:"/service-navigator/_next/static/media/Coins percent.68bf89af.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#DFFAFF"},"navigator/kak-ehto-rabotaet":{icon:{src:"/service-navigator/_next/static/media/Question square.05cf2b11.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#EBFCD7"},"navigator/analitika":{icon:{src:"/service-navigator/_next/static/media/Bar chart vertical.393f1c5d.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#F9F5FF"},"navigator/ehkspertnoe-mnenie":{icon:d,color:"#ECF7FF"},"navigator/video":{icon:{src:"/service-navigator/_next/static/media/Play square.84d059ba.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#EEF6FF"},"navigator/pro":{icon:{src:"/service-navigator/_next/static/media/Star.7370b9c0.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#F6F7F0"},"navigator/razvlecheniya":{icon:{src:"/service-navigator/_next/static/media/TetraStar.42d38de1.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#FEF1FE"}},j=e=>{let{tag:t,isSelected:i,cn:o}=e;return t?(0,n.jsx)("a",{className:(0,a.Z)(b().tagTitleWrapper,{[b().selected]:i},o),href:"/".concat(t.url),target:"_self",onClick:()=>{(0,h.I)({eventCategory:(0,m.b)("журнал ".concat(null==t?void 0:t.url)),eventActionType:h.i.navigator,eventActionText:(0,m.b)("link_".concat((null==t?void 0:t.url)===g.Vf?"главная журнала":null==t?void 0:t.name)),eventLabel:""})},children:(0,n.jsxs)("div",{className:b().tagTitle,children:[(0,n.jsx)(y,{icon:t.url}),t.url===g.Vf?"Главная Журнала":t.name]})},t.id):null}},13466:function(e,t,i){"use strict";i.d(t,{h:function(){return l}});var n=i(57437),o=i(2265),r=i(54887);let l=e=>{let{children:t,id:i="portal-root"}=e,[l,a]=(0,o.useState)(null);return(0,o.useEffect)(()=>{var e,t,n;let o=null===(e=document)||void 0===e?void 0:e.getElementById(i);if(o)a(o);else{let e=null===(t=document)||void 0===t?void 0:t.createElement("div");return null===(n=document)||void 0===n||n.body.appendChild(e),a(e),()=>{var t;null===(t=document)||void 0===t||t.body.removeChild(e)}}},[]),(0,n.jsx)(n.Fragment,{children:l&&(0,r.createPortal)(t,l)})}},31019:function(e,t,i){"use strict";i.d(t,{t:function(){return v},M:function(){return p}});var n=i(57437),o=i(2265),r=i(80684),l=i(54365),a=i(70656),s=i(85769),c=i(38856),d=i(27669),u=i(83126),_=i.n(u);let v=e=>{let{socProps:t,comments:i,focusCommentsInput:c,likes:u,submitLike:v}=e,[h,m]=(0,o.useState)(!1),[f,b]=(0,o.useState)(!1),k=t.url.slice(1);return(0,o.useEffect)(()=>{"liked"===p(k)&&b(!0)},[k]),(0,n.jsx)("div",{className:(0,l.Z)(_().wrapper,"disableContentBlocksStyles"),children:(0,n.jsxs)("div",{className:_().icons,children:[(0,n.jsxs)("div",{className:_().unit,onClick:()=>{p(k)||v(),g(k),b(!f)},children:[f?(0,n.jsx)(r.IconFdsThumbUpF,{size:24}):(0,n.jsx)(r.IconFdsThumbUpO,{size:24}),Number(u)+(f?1:0)]}),(0,n.jsxs)("div",{className:_().unit,onClick:c,children:[(0,n.jsx)(r.IconFdsChatDotsSquareO,{size:24}),i]}),(0,n.jsxs)("div",{className:_().shareWrapper,children:[(0,n.jsxs)("div",{className:_().unit,onClick:()=>{(0,s.I)({eventCategory:"".concat((0,d.b)("журнал"),"_").concat(location.pathname),eventActionType:s.i.button,eventActionText:(0,d.b)("поделиться"),eventLabel:""}),m(e=>!e)},children:[(0,n.jsx)(r.IconFdsArrowForwardO,{size:24}),"Поделиться"]}),(0,n.jsx)(a.n,{className:(0,l.Z)(_().soc,{[_().show]:h}),...t})]})]})})},p=e=>(c.A.getItem("navigatorLikes")||{})[e]||null,g=e=>{let t=c.A.getItem("navigatorLikes")||{};t[e]="liked"===t[e]?"unliked":"liked",c.A.setItem("navigatorLikes",JSON.stringify(t))}},70656:function(e,t,i){"use strict";i.d(t,{n:function(){return d}});var n=i(57437),o=i(80684),r=i(54365),l=i(42953);let a=(e,t,i)=>{let n="";switch(e){case"tg":n="https://telegram.me/share/url?text="+i+"&url="+t;break;case"ok":n="https://connect.ok.ru/offer?url="+t+"&title="+i;break;case"vk":n="https://vk.com/share.php?url="+t+"&title="+i}window.open(n,"","toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=300")};var s=i(57627),c=i.n(s);let d=e=>{let{className:t,title:i,url:s}=e,d=e=>{a(e.currentTarget.getAttribute("data-alt"),"".concat(l._n).concat(s),i)};return(0,n.jsxs)("div",{className:(0,r.Z)(c().soc,t),children:[(0,n.jsx)("div",{"data-alt":"tg",onClick:d,children:(0,n.jsx)(o.IconFdsTelegramF,{className:c().icon,size:16})}),(0,n.jsx)("div",{"data-alt":"ok",onClick:d,children:(0,n.jsx)(o.IconFdsOdnoklassnikiF,{className:c().icon,size:18})}),(0,n.jsx)("div",{"data-alt":"vk",onClick:d,children:(0,n.jsx)(o.IconFdsVkontakteF,{className:c().icon,size:18})})]})}},23195:function(e,t,i){"use strict";i.d(t,{M:function(){return o}});var n=i(2265);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,i=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(i.current&&e){let n=i.current,o=()=>{if(!n||!i.current)return;let r=i.current.getBoundingClientRect(),l=r.top+window.scrollY,a=r.bottom+window.scrollY,s=l+i.current.offsetHeight*t,c=window.scrollY+window.innerHeight>=s,d=window.scrollY>=a;c&&!d&&(e(),document.removeEventListener("scroll",o))};return document.addEventListener("scroll",o),o(),()=>{n&&document.removeEventListener("scroll",o)}}},[]),i}},19256:function(e,t,i){"use strict";i.d(t,{$I:function(){return c},FY:function(){return o},GZ:function(){return u},RC:function(){return s},Vf:function(){return l},Wn:function(){return _},ew:function(){return r},mY:function(){return d},vH:function(){return a},yB:function(){return n}});let n=5,o=9,r=32,l="navigator",a=5,s="Финуслуги: Все о финансах, инвестициях и вкладах | Актуальные статьи и новости",c="Журнал Финуслуги - ваш источник новостей о вкладах, инвестициях, кредитах и страховании. Узнайте всё о финансовом мире с нами.",d="Журнал Финуслуги",u="Рассказываем о финансах, разбираем новые&nbsp;законы и даем советы, как приумножить доход",_={id:0,url:"",title:"",custom_title:"",anons:"",time_to_read:0,content:[],font_dark:0,tag_ids:[],ctg_id:0,archive:0,is_pro:0,google_amp:0,filter_ids:[],views:0,image:{file:".",mobile_offset:"",blur:0},likes:0,publ_date:new Date().toString(),is_full:!0,short_title:"",osago_regions_position:"",kasko_regions_position:"",hot:0,in_favorites:0,double:0,expert_id:0,public_date:new Date().toString(),ord_inn:"",ord_company:"",ord_token:"",publ_time:"",update_time:"",c_time:"",polls:null,comments:null,read_time:0}},33981:function(e,t,i){"use strict";i.d(t,{Fn:function(){return s},cW:function(){return n},dH:function(){return o},e$:function(){return l},fE:function(){return r},og:function(){return a}});let n="Новости финансов и инвестиций | Читайте свежие статьи на Финуслуги",o="Следите за актуальными новостями о финансах, инвестициях и банковских продуктах на Финуслуги.ру. Будьте в курсе всех событий.",r="Новости Финансового Мира",l=16,a=18,s=-2},699:function(e,t,i){"use strict";i.d(t,{ch:function(){return h},e7:function(){return g},qt:function(){return p}});var n=i(76698),o=i(59597),r=i(99819),l=i(60936),a=i(38039);let s="yyyy-MM-dd HH:mm:ss",c=(e,t)=>(0,n.J)(e)?(0,o.WU)(e,t):"",d=e=>(0,r.B)(e,s),u=e=>e.split(" ")[1]||"",_=e=>(0,l.D)("".concat(e.replace(" ","T"),"Z")),v=e=>(0,l.D)("".concat("2000-01-15","T").concat(u(e))),p=e=>{if("string"!=typeof e)return"";let t=(0,l.D)(e);return(0,n.J)(t)?(0,a.C)(t,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h23",timeZone:"UTC"},{locale:"sv-SE"}):""},g=e=>"string"==typeof e&&d(e)?c(_(e),s):"",h=e=>"string"==typeof e&&d(e)?c(v(e),"HH:mm"):""},85769:function(e,t,i){"use strict";i.d(t,{I:function(){return a},i:function(){return o}});var n,o,r=i(83583),l=i(27669);(n=o||(o={})).icon="icon",n.chip="chip",n.accordion="accordion",n.button="button",n.slider="slider",n.card="card",n.stat="stat",n.checkbox="checkbox",n.radio="radio",n.select="select",n.toggle="toggle",n.tooltip="tooltip",n.link="link",n.navigator="navigator",n.banner="banner",n.tag="tag",n.date="date",n.field="field",n.click_field="click_field",n.offer="offer",n.tab="tab",n.submit_button="submit_button",n.popup="popup",n.element="element",n.list="list",n.view_element="view_element";let a=e=>{let{eventCategory:t,eventActionType:i,eventActionText:n="",eventLabel:o}=e,a={event:"data-event",eventCategory:t,eventAction:{icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",card:"click_card_",stat:"click_stat_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",click_field:"click_field_",offer:"click_offer_",tab:"click_tab_",submit_button:"form_button_",popup:"show_pop_up_",slider:"click_slider_",navigator:"click_navigator_",element:"click_element_",list:"click_list_",view_element:"view_element_"}[i]+(0,l.b)(n)};void 0!==o&&(a.eventLabel=(0,l.b)("string"==typeof o?o:o.toString())),(0,r.l)(a)}},37410:function(e,t,i){"use strict";i.d(t,{A:function(){return function e(t){return void 0===t?null:null===t||"object"!=typeof t?t:Array.isArray(t)?t.map(t=>e(t)):Object.fromEntries(Object.entries(t).map(t=>{let[i,n]=t;return[i,e(n)]}))}}})},78582:function(e){e.exports={overlay:"ClickOutside_overlay__YQi9L",open:"ClickOutside_open__bmtsz",fade:"ClickOutside_fade__io1xj",close:"ClickOutside_close__AC078","fade-out":"ClickOutside_fade-out__wJ_pJ",shine:"ClickOutside_shine__4qgSN"}},16565:function(e){e.exports={mobilePopup:"MobilePopup_mobilePopup__NCFCK",content:"MobilePopup_content__B5iF0",contentFull:"MobilePopup_contentFull__DBrvo",contentLine:"MobilePopup_contentLine__eykLy",contentContainer:"MobilePopup_contentContainer___ZbOq",min:"MobilePopup_min__D0Hml",contentTransition:"MobilePopup_contentTransition__7_kGL",contentTransitionOpen:"MobilePopup_contentTransitionOpen__GDGpr",title:"MobilePopup_title__IEYZk",subtitle:"MobilePopup_subtitle__rp7oF",closeContainer:"MobilePopup_closeContainer__HSRUL",closeButton:"MobilePopup_closeButton__Bse_M",smallContentContainer:"MobilePopup_smallContentContainer__8jHeS",shine:"MobilePopup_shine__rBcIE"}},53582:function(e){e.exports={footer:"MobileModalFooter_footer__5dRCK",footerWithoutShadow:"MobileModalFooter_footerWithoutShadow__zHKVO",shine:"MobileModalFooter_shine__VppX7"}},85454:function(e){e.exports={card:"ArticleGrid_card__N2HDt",wrapper:"ArticleGrid_wrapper__LW3ZA",skeleton:"ArticleGrid_skeleton__KTHRw",title:"ArticleGrid_title__r1pRS",image:"ArticleGrid_image__8Dr_J",unit:"ArticleGrid_unit__De5LP",shine:"ArticleGrid_shine__rk2u7",container:"ArticleGrid_container__K8cAr",icons:"ArticleGrid_icons__WIjGm",left:"ArticleGrid_left__Edm3G",pinnedCard:"ArticleGrid_pinnedCard__AkDVh",top:"ArticleGrid_top__U4NvB",tack:"ArticleGrid_tack__gXZMh"}},27463:function(e){e.exports={stickySidebar:"NavigatorSidebar_stickySidebar__zg3Um",catalog:"NavigatorSidebar_catalog__tZlfF",shine:"NavigatorSidebar_shine___L_s1"}},18480:function(e){e.exports={top:"NavigatorTagsBlock_top___SvB5",tagTitle:"NavigatorTagsBlock_tagTitle__nX7Ta",popupTitle:"NavigatorTagsBlock_popupTitle__gHzv3",container:"NavigatorTagsBlock_container__K7tP5",mobile:"NavigatorTagsBlock_mobile__UHF5V",lineWrapper:"NavigatorTagsBlock_lineWrapper__8wsK_",line:"NavigatorTagsBlock_line__QSfOq",outerTagsWrapper:"NavigatorTagsBlock_outerTagsWrapper__v_GqB",collapsed:"NavigatorTagsBlock_collapsed__mwHyx",tagsWrapper:"NavigatorTagsBlock_tagsWrapper__gMpTL",controls:"NavigatorTagsBlock_controls__vovpG",more:"NavigatorTagsBlock_more__Cb436",moreIcon:"NavigatorTagsBlock_moreIcon__pzRoi",invert:"NavigatorTagsBlock_invert__QDB29",popup:"NavigatorTagsBlock_popup__tCczv",popupContent:"NavigatorTagsBlock_popupContent__g5k86",arrow:"NavigatorTagsBlock_arrow__YNIIy",icon:"NavigatorTagsBlock_icon__YnJda",close:"NavigatorTagsBlock_close__IGNhk",tags:"NavigatorTagsBlock_tags__UWeB7",tagTitleWrapper:"NavigatorTagsBlock_tagTitleWrapper__U52nu",tag:"NavigatorTagsBlock_tag__QvL3_",selected:"NavigatorTagsBlock_selected__HCR5y",detail:"NavigatorTagsBlock_detail__Geqta",shine:"NavigatorTagsBlock_shine__Ha3VZ"}},83126:function(e){e.exports={wrapper:"PostActions_wrapper__vazxj",links:"PostActions_links__h_In4",chip:"PostActions_chip__kxBO9",icons:"PostActions_icons__l61qj",shareWrapper:"PostActions_shareWrapper__CTVJz",soc:"PostActions_soc__6h5_Q",show:"PostActions_show__O4kHo",unit:"PostActions_unit__UiRLl",shine:"PostActions_shine__pzdwy"}},57627:function(e){e.exports={soc:"SocShareButtons_soc___GiVh",icon:"SocShareButtons_icon__4HBqe",shine:"SocShareButtons_shine__gqF53"}},46273:function(e){e.exports={wrapper:"StickySidebar_wrapper__TrW31",filler:"StickySidebar_filler__eMDx3",content:"StickySidebar_content__TfX_d",transitioning:"StickySidebar_transitioning__puSTK",stuckToTop:"StickySidebar_stuckToTop__Kb8oL",newSidebar:"StickySidebar_newSidebar__LY5mq",shine:"StickySidebar_shine__no22T"}},89980:function(e,t){"use strict";t.Z={src:"/service-navigator/_next/static/media/eye2.02693028.svg",height:24,width:24,blurWidth:0,blurHeight:0}},674:function(e,t){"use strict";t.Z={src:"/service-navigator/_next/static/media/thumb-up.8520bb14.svg",height:24,width:24,blurWidth:0,blurHeight:0}}}]);