(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[473],{4354:function(e,t){"use strict";t.Z={src:"/service-navigator/_next/static/media/eye2.02693028.svg",height:24,width:24,blurWidth:0,blurHeight:0}},3844: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}},4341:function(e,t,i){"use strict";i.d(t,{j:function(){return m}});var n=i(5893),o=i(6010),r=i(7294);let a=e=>{let t=(0,r.useRef)(null);return(0,r.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},l=e=>{let{opened:t}=e,[i,n]=(0,r.useState)(!1),o=(0,r.useRef)(null),a=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(t&&!a.current?(a.current=!0,n(!0)):!t&&a.current&&(o.current=setTimeout(()=>{a.current=!1,n(!1)},300)),()=>{o.current&&clearTimeout(o.current)}),[t]),{mounted:i}};var s=i(5331),c=i.n(s);let d=e=>{let{onClose:t,onToucheMove:i,isOpen:a,delay:l=300}=e,s=(0,r.useRef)(null),d=(0,r.useCallback)(()=>{t&&(s.current=setTimeout(()=>{t()},l))},[l,t]),u=(0,r.useCallback)(e=>{"Escape"===e.key&&d()},[d]);return(0,r.useEffect)(()=>(a&&window.addEventListener("keydown",u),()=>{s.current&&clearTimeout(s.current),window.removeEventListener("keydown",u)}),[a,u]),(0,n.jsx)("div",{className:(0,o.Z)(c().overlay,{[c().open]:a,[c().close]:!a}),onTouchStart:i,onClick:d})};var u=i(2278),_=i.n(u);let v=e=>{let{footer:t,isSmallPopup:i=!1,footerClassName:r}=e;return(0,n.jsx)("div",{className:(0,o.Z)(_().footer,i&&_().footerWithoutShadow,r),children:"function"==typeof t?t():t})};var p=i(331),g=i.n(p);let h=e=>{let{children:t,footer:i,isOpen:l,isSmallPopup:s,onClose:c,hasCloseButton:u=!0,full:_,touchDistance:p=100,withDisabledScroll:h=!0,contentClassName:m,className:f,title:b,closeButton:x,footerClassName:k}=e,[w,y]=(0,r.useState)(!1),[j,N]=(0,r.useState)(!1),[S,T]=(0,r.useState)(!0),[C,E]=(0,r.useState)("120%"),A=(0,r.useRef)(null),F=(0,r.useRef)(0),B=(0,r.useRef)(!1),P=e=>{var t,i,n;let o=null===(t=A.current)||void 0===t?void 0:t.offsetTop,r=null===(i=A.current)||void 0===i?void 0:i.offsetHeight;if(B.current=!0,T(!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),E("".concat(i,"px")),F.current=i}},L=()=>{B.current&&(F.current>p&&c?null==c||c():E("0"),T(!0),B.current=!1),window.removeEventListener("touchmove",P),window.removeEventListener("touchend",L)};return(0,r.useEffect)(()=>{l&&setTimeout(()=>{y(!0),N(!0),E("0")},100),!l&&j&&(E("120%"),y(!1),N(!1))},[j,l]),a(l&&h),(0,n.jsxs)("div",{"data-portal":!0,className:(0,o.Z)(g().mobilePopup,j&&g().mobilePopupOpen,f),children:[(0,n.jsx)(d,{onClose:()=>{l&&(null==c||c())},onToucheMove:()=>{l&&(y(!1),window.addEventListener("touchmove",P),window.addEventListener("touchend",L))},isOpen:l,delay:0}),(0,n.jsxs)("div",{className:(0,o.Z)(g().content,_&&g().contentFull,S&&g().contentTransition,S&&w&&g().contentTransitionOpen),ref:A,style:{transform:"translateY(".concat(C,")")},children:[(0,n.jsx)("div",{className:g().contentLine}),(0,n.jsxs)("div",{className:(0,o.Z)(g().contentContainer,s&&g().smallContentContainer,{[g().min]:!b&&!u},m),children:[!!b&&(0,n.jsx)("div",{className:g().title,children:b}),u?(0,n.jsxs)("div",{className:g().closeContainer,children:[x?"function"==typeof x?x():x:null,x?null:(0,n.jsx)("button",{onClick:c,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:k,isSmallPopup:s,footer:i})]})]})},m=e=>{let{children:t,isSmallPopup:i=!1,isOpen:o=!1,...r}=e,{mounted:a}=l({opened:o});return a?(0,n.jsx)(h,{isSmallPopup:i,isOpen:o,...r,children:t}):null};m.displayName="UiMobilePopup"},5352:function(e,t,i){"use strict";i.d(t,{N:function(){return s}});var n=i(5893),o=i(9008),r=i.n(o),a=i(4298),l=i.n(a);let s=e=>{let{env:t,title:i,description:o,path:a,noindex:s,disableChat:c,image:d,isDetailPage:u}=e,_=!c&&!t.NEXT_PUBLIC_REACT_HEADER;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,n.jsx)("link",{rel:"icon",href:"https://finuslugi.ru/icons/favicon/favicon-32x32.png"}),(0,n.jsx)("link",{rel:"canonical",href:"".concat(t.NEXT_PUBLIC_BASE_URL).concat(a.split("?")[0].split("#")[0].replace(/\/app$/,""))},"canonical"),(0,n.jsx)("title",{children:i},"title"),(0,n.jsx)("meta",{property:"og:title",content:i}),(0,n.jsx)("meta",{name:"description",content:o},"description"),(0,n.jsx)("meta",{property:"og:description",content:o}),(0,n.jsx)("meta",{property:"og:locale",content:"ru_RU"}),(0,n.jsx)("meta",{property:"og:site_name",content:"Финуслуги | Журнал"}),(0,n.jsx)("meta",{property:"og:type",content:"article"}),(0,n.jsx)("meta",{property:"og:url",content:"".concat(t.NEXT_PUBLIC_BASE_URL).concat(a.split("?")[0].split("#")[0])}),(0,n.jsx)("meta",{property:"og:image",content:"https://finuslugi.ru/".concat(d||"icons/1200x630-logo.jpg")}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:d?"675":"630"}),(0,n.jsx)("meta",{property:"og:image:alt",content:i}),(0,n.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),u&&(0,n.jsx)("meta",{name:"robots",content:"max-image-preview:large"}),s?(0,n.jsx)("meta",{name:"robots",content:"noindex, follow"}):null,_&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{crossOrigin:"use-credentials",rel:"preload",href:"".concat(t.ASSETS_BASE_URL,"/mp-assets/widgets/support/index-BuAapbJQ.css"),as:"style"}),(0,n.jsx)("link",{crossOrigin:"use-credentials",rel:"stylesheet",href:"".concat(t.ASSETS_BASE_URL,"/mp-assets/widgets/support/index-BuAapbJQ.css")})]})]}),_&&(0,n.jsx)(l(),{type:"module",crossOrigin:"use-credentials",src:"".concat(t.ASSETS_BASE_URL,"/mp-assets/widgets/support/index-D2xclPDV.js")})]})}},9546:function(e,t,i){"use strict";i.d(t,{h:function(){return a}});var n=i(5893),o=i(7294),r=i(3935);let a=e=>{let{children:t,id:i="portal-root"}=e,[a,l]=(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)l(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),l(e),()=>{var t;null===(t=document)||void 0===t||t.body.removeChild(e)}}},[]),(0,n.jsx)(n.Fragment,{children:a&&(0,r.createPortal)(t,a)})}},7701:function(e,t,i){"use strict";i.d(t,{n:function(){return d}});var n=i(5893),o=i(9194),r=i(6010),a=i(4386);let l=(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(9134),c=i.n(s);let d=e=>{let{className:t,title:i,url:s}=e,d=e=>{let t=e.currentTarget,n=t.getAttribute("data-alt");l(n,"".concat(a._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})})]})}},8059:function(e,t,i){"use strict";i.d(t,{M:function(){return o}});var n=i(7294);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(),a=r.top+window.scrollY,l=r.bottom+window.scrollY,s=a+i.current.offsetHeight*t,c=window.scrollY+window.innerHeight>=s,d=window.scrollY>=l;c&&!d&&(e(),document.removeEventListener("scroll",o))};return document.addEventListener("scroll",o),o(),()=>{n&&document.removeEventListener("scroll",o)}}},[]),i}},1014:function(e,t,i){"use strict";i.d(t,{d:function(){return f},n:function(){return w}});var n=i(5893),o=i(6010),r=i(5675),a=i.n(r),l=i(7294),s={src:"/service-navigator/_next/static/media/clock2.2faa8e1e.svg",height:24,width:24,blurWidth:0,blurHeight:0},c=i(4354),d={src:"/service-navigator/_next/static/media/tack.08d43349.svg",height:24,width:24,blurWidth:0,blurHeight:0},u=i(3844),_=i(8059),v=i(1997),p=i(6129),g=i(9741),h=i(4494),m=i.n(h);let f=e=>{let{env:t,articles:i,pinned:r,onReach:a,onArticleClick:l,loading:s,className:c}=e,d=(0,_.M)(a,.3),u=Array.from({length:9},(e,t)=>t+1);return(0,n.jsxs)("div",{ref:d,className:(0,o.Z)(m().wrapper,c),children:[!!r&&(0,n.jsx)(x,{env:t,data:r}),i.map((e,i)=>(0,n.jsx)(b,{env:t,data:e,onClick:e=>null==l?void 0:l(e,i)},e.id)),s&&u.map((e,i)=>(0,n.jsx)(b,{env:t},i))]})},b=e=>{var t,i,r;let{env:l,data:s,onClick:d}=e,_=w(null==s?void 0:s.url,null==s?void 0:s.likes),g=l.NEXT_PUBLIC_BASE_URL,h=(null==s?void 0:null===(t=s.img)||void 0===t?void 0:t.file)&&(null==s?void 0:null===(i=s.img)||void 0===i?void 0:i.file)!==".";return(0,n.jsxs)("a",{onClick:()=>{null==d||d(s)},className:(0,o.Z)(m().card,{[m().skeleton]:!s}),href:"/".concat(null==s?void 0:s.url),target:"_self",children:[(0,n.jsx)("div",{className:m().image,style:h?{backgroundImage:"url(".concat(g,"/img/posts/small/").concat(null==s?void 0:null===(r=s.img)||void 0===r?void 0:r.file,")")}:{}}),(0,n.jsxs)("div",{className:m().container,children:[(0,n.jsx)("div",{className:m().title,children:null==s?void 0:s.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)(a(),{src:u.Z,alt:"likes",unoptimized:!0}),(0,n.jsx)("span",{children:_})]}),(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(a(),{src:c.Z,alt:"views",unoptimized:!0}),(0,n.jsx)("span",{suppressHydrationWarning:!0,children:(0,p.V)((null==s?void 0:s.url)||"",(null==s?void 0:s.views)||0,0)})]})]}),(0,n.jsx)("div",{className:m().unit,children:(0,n.jsx)("span",{children:(0,v.p6)(String((null==s?void 0:s.public_date)||(null==s?void 0:s.update_time)||(null==s?void 0:s.publ_time)),!0)})})]})]})]})},x=e=>{var t,i,r,l;let{env:_,data:g}=e,h=w(null==g?void 0:g.url,null==g?void 0:g.likes),f=_.NEXT_PUBLIC_BASE_URL,b=(null==g?void 0:null===(t=g.img)||void 0===t?void 0:t.file)&&(null==g?void 0:null===(i=g.img)||void 0===i?void 0:i.file)!==".";return(0,n.jsxs)("a",{className:m().pinnedCard,href:"/".concat(g.url),target:"_self",children:[(0,n.jsx)("div",{className:(0,o.Z)(m().image,"desktopOnly"),style:b?{backgroundImage:"url(".concat(f,"/img/posts/small/").concat(null===(r=g.img)||void 0===r?void 0:r.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(g.public_date||g.update_time||g.publ_time),!0)}),(0,n.jsx)("div",{className:m().tack,children:(0,n.jsx)(a(),{src:d,alt:"tack",unoptimized:!0})})]}),(0,n.jsx)("div",{className:m().title,children:g.title}),(0,n.jsx)("div",{className:(0,o.Z)(m().image,"mobileOnly"),style:b?{backgroundImage:"url(".concat(f,"/img/posts/small/").concat(null===(l=g.img)||void 0===l?void 0:l.file,")")}:{}}),(0,n.jsxs)("div",{className:m().icons,children:[!!h&&(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(a(),{src:u.Z,alt:"likes",unoptimized:!0}),(0,n.jsx)("span",{children:h})]}),(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(a(),{src:c.Z,alt:"views",unoptimized:!0}),(0,n.jsx)("span",{suppressHydrationWarning:!0,children:(0,p.V)(g.url||"",g.views||0,0)})]}),!!g.read_time&&(0,n.jsxs)("div",{className:m().unit,children:[(0,n.jsx)(a(),{src:s,alt:"clock",unoptimized:!0}),g.read_time," мин"]})]})]})]})},k=(e,t)=>{if(!e)return 0;let i="liked"===(0,g.M)(e||"");return Number(t)+(i?1:0)},w=(e,t)=>{let[i,n]=(0,l.useState)(t||0);return(0,l.useEffect)(()=>{n(k(e,t))},[e,t]),i}},4800:function(e,t,i){"use strict";i.d(t,{F:function(){return _}});var n=i(5893),o=i(6010),r=i(5131),a=i(7294),l=i(1439),s=i.n(l);let c=e=>{let{children:t,className:i}=e,[r,l]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!0),[u,_]=(0,a.useState)(0),v=((0,a.useRef)(0),(0,a.useRef)(null)),p=(0,a.useRef)(null);return(0,a.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(1176),u=i.n(d);let _=e=>{let{env:t,tags:i,selectedTag:a,isCatalog:l}=e;return(0,n.jsx)(c,{className:(0,o.Z)(u().stickySidebar,{[u().catalog]:l}),children:(0,n.jsx)(r.v5,{env:t,isMobile:!1,tags:i,selectedTag:a,isCatalog:l})})}},5131:function(e,t,i){"use strict";i.d(t,{Yx:function(){return S},v5:function(){return w},Rj:function(){return k}});var n=i(5893),o=i(9194),r=i(6010),a=i(5675),l=i.n(a),s=i(7294),c={src:"/service-navigator/_next/static/media/arrow.e5fbf461.svg",height:24,width:24,blurWidth:0,blurHeight:0},d={src:"/service-navigator/_next/static/media/Chart square.b1b76e82.svg",height:24,width:24,blurWidth:0,blurHeight:0},u={src:"/service-navigator/_next/static/media/Compass.a44b319a.svg",height:24,width:24,blurWidth:0,blurHeight:0},_={src:"/service-navigator/_next/static/media/Safe square.f07d1b2c.svg",height:24,width:24,blurWidth:0,blurHeight:0},v={src:"/service-navigator/_next/static/media/Shield checkmark.77c905f0.svg",height:24,width:24,blurWidth:0,blurHeight:0},p=i(9546),g=i(4341),h=i(2864),m=i(7771),f=i(2288),b=i(5844),x=i.n(b);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:o=[],selectedTag:a,maxHeight:d,isCatalog:u}=e,[_,...v]=o,p=[_,k,...v],[g,f]=(0,s.useState)(!1),b=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,r.Z)(x().container,{[x().mobile]:i,[x().detail]:!u}),children:[(0,n.jsxs)("div",{className:x().top,onClick:()=>i&&b(!0),children:[(0,n.jsxs)("div",{className:x().tagTitle,children:[(0,n.jsx)(j,{icon:"top"}),"Что хотите почитать?"]}),(0,n.jsx)(l(),{className:x().arrow,src:c,alt:"arrow",unoptimized:!0})]}),(0,n.jsx)(y,{isMobile:i,isOpen:g,onClose:()=>b(!1),children:(0,n.jsx)("div",{className:x().tags,children:p.map((e,i)=>(0,n.jsx)(S,{env:t,tag:e,isSelected:(null==e?void 0:e.url)===a,cn:x().tag},i))})})]})},y=e=>{let{isMobile:t,isOpen:i,onClose:a,children:l}=e,c=(0,s.useRef)(null),d=(0,s.useRef)(null),[u,_]=(0,s.useState)(!0),[v,f]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{var e,t;let i=(null===(e=c.current)||void 0===e?void 0:e.getBoundingClientRect().height)||0,n=(null===(t=d.current)||void 0===t?void 0:t.getBoundingClientRect().height)||0;f(i<n)},[]),t)?(0,n.jsx)(p.h,{children:(0,n.jsx)(g.j,{className:x().popup,contentClassName:x().popupContent,isOpen:i,onClose:a,title:"Что хотите почитать?",children:l})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:x().lineWrapper,children:(0,n.jsx)("div",{className:x().line})}),(0,n.jsx)("div",{ref:c,className:(0,r.Z)(x().outerTagsWrapper,{[x().collapsed]:u}),children:(0,n.jsx)("div",{ref:d,className:x().tagsWrapper,children:l})}),v&&(0,n.jsx)("div",{className:x().controls,onClick:()=>_(!u),children:(0,n.jsxs)("div",{className:x().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,r.Z)(x().moreIcon,{[x().invert]:!u}),children:(0,n.jsx)(o.IconFdsChevronDownO,{})})]})})]})},j=e=>{var t,i;let{icon:o}=e;return(0,n.jsx)("div",{className:x().icon,style:{background:null===(t=N[o])||void 0===t?void 0:t.color},children:(0,n.jsx)(l(),{src:null===(i=N[o])||void 0===i?void 0:i.icon,alt:o,unoptimized:!0})})},N={top:{icon:u,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:_,color:"#FEF1FE"},"navigator/nakopleniya":{icon:_,color:"#FEF1FE"},"navigator/investirovat":{icon:d,color:"#E7F9F6"},"navigator/investicii":{icon:d,color:"#E7F9F6"},"navigator/zastrahovat":{icon:v,color:"#FFF4E0"},"navigator/strahovanie":{icon:v,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:u,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"}},S=e=>{let{tag:t,isSelected:i,cn:o}=e;return t?(0,n.jsx)("a",{className:(0,r.Z)(x().tagTitleWrapper,{[x().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)===f.Vf?"главная журнала":null==t?void 0:t.name)),eventLabel:""})},children:(0,n.jsxs)("div",{className:x().tagTitle,children:[(0,n.jsx)(j,{icon:t.url}),t.url===f.Vf?"Главная Журнала":t.name]})},t.id):null}},9741:function(e,t,i){"use strict";i.d(t,{t:function(){return v},M:function(){return p}});var n=i(5893),o=i(9194),r=i(6010),a=i(7294),l=i(7701),s=i(2864),c=i(136),d=i(7771),u=i(7746),_=i.n(u);let v=e=>{let{socProps:t,comments:i,focusCommentsInput:c,likes:u,submitLike:v}=e,[h,m]=(0,a.useState)(!1),[f,b]=(0,a.useState)(!1),x=t.url.slice(1);return(0,a.useEffect)(()=>{"liked"===p(x)&&b(!0)},[x]),(0,n.jsx)("div",{className:(0,r.Z)(_().wrapper,"disableContentBlocksStyles"),children:(0,n.jsxs)("div",{className:_().icons,children:[(0,n.jsxs)("div",{className:_().unit,onClick:()=>{p(x)||v(),g(x),b(!f)},children:[f?(0,n.jsx)(o.IconFdsThumbUpF,{size:24}):(0,n.jsx)(o.IconFdsThumbUpO,{size:24}),Number(u)+(f?1:0)]}),(0,n.jsxs)("div",{className:_().unit,onClick:c,children:[(0,n.jsx)(o.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)(o.IconFdsArrowForwardO,{size:24}),"Поделиться"]}),(0,n.jsx)(l.n,{className:(0,r.Z)(_().soc,{[_().show]:h}),...t})]})]})})},p=e=>{let t=c.A.getItem("navigatorLikes")||{};return t[e]||null},g=e=>{let t=c.A.getItem("navigatorLikes")||{};t[e]="liked"===t[e]?"unliked":"liked",c.A.setItem("navigatorLikes",JSON.stringify(t))}},2039:function(e,t,i){"use strict";i.d(t,{b:function(){return n}});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,t=null;return i=>{t&&clearInterval(t),t=setTimeout(i,e)}}},2027:function(e,t,i){"use strict";i.d(t,{z:function(){return n}});let n=e=>{if(!(null==e?void 0:e.length))return"";let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,t)=>{let{href:i,label:n}=e;return{"@type":"ListItem",position:t+1,name:n,...i&&{item:{"@id":i}}}})};return JSON.stringify(t)}},3627:function(e,t,i){"use strict";i.d(t,{z:function(){return r}});var n=i(8853);let o=(e,t)=>{if(!t)return;let i=t.replace(/^\//,"");return i?"".concat(e,"/").concat(i):e},r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n.d)(),{includeBase:i=!0,baseLabel:r,tag:a,current:l}=e,s=[];return i&&s.push({href:o(t.NEXT_PUBLIC_BASE_URL,"/"),label:"Главная"},{href:a||l?o(t.NEXT_PUBLIC_BASE_URL,"/navigator"):void 0,label:r||"Журнал Финуслуги"}),a&&s.push({href:o(t.NEXT_PUBLIC_BASE_URL,a.href),label:a.label}),l&&s.push({href:o(t.NEXT_PUBLIC_BASE_URL,l.href),label:l.label}),s}},6129:function(e,t,i){"use strict";i.d(t,{V:function(){return o}});var n=i(136);let o=(e,t,i)=>{let o=n.A.getItem("navigatorViews")||{},r=Number(o[e]),a=(r>t?r:t)+i;return r!==a&&(o[e]=String(a),n.A.setItem("navigatorViews",JSON.stringify(o))),a}},2864:function(e,t,i){"use strict";i.d(t,{I:function(){return l},i:function(){return o}});var n,o,r=i(5621),a=i(7771);(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 l=e=>{let{eventCategory:t,eventActionType:i,eventActionText:n="",eventLabel:o}=e,l={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,a.b)(n)};void 0!==o&&(l.eventLabel=(0,a.b)("string"==typeof o?o:o.toString())),(0,r.l)(l)}},5621:function(e,t,i){"use strict";i.d(t,{l:function(){return r},y:function(){return a}});var n=i(7607);let o=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"},{path:"navigator",category:"service_navigator"},{path:"stat_",category:"service_navigator"}],r=(e,t)=>{let i=sessionStorage.getItem("pushedEvents"),o=i?JSON.parse(i):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_"));let r=o.find(i=>i.eventCategory===e.eventCategory&&i.eventAction===e.eventAction&&i.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===i.url));if(!t||!r){if(t){let t={...e};t.url=window.location.pathname,o.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(o))}(0,n.AB)(e)}},a=e=>{for(let t of o)if(e.indexOf(t.path)>=0){let i=e.match(/str_(\d+)/),n=Array.isArray(i)&&i[1]?Number(i[1]):1;setTimeout(()=>{r({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:n})},15e3);return}}},136:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});let n={setItem:(e,t)=>{try{window.localStorage.setItem(e,t)}catch(e){return console.error(e),!1}return!0},getItemRaw:e=>{try{return window.localStorage.getItem(e)}catch(e){return console.error(e),null}},getItem:e=>{let t=n.getItemRaw(e);if(t&&"undefined"!==t)try{return JSON.parse(t)}catch(t){console.warn("invalid object in localStorage by key: ".concat(e))}return null},removeItem:e=>{try{window.localStorage.removeItem(e)}catch(e){console.error(e)}}}},7771:function(e,t,i){"use strict";i.d(t,{b:function(){return o}});let n={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},o=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in n?n[t]:e}).replaceAll(" ","_")},5331:function(e){e.exports={overlay:"ClickOutside_overlay___2Sjp",open:"ClickOutside_open__jk_n_",fade:"ClickOutside_fade__rEbST",close:"ClickOutside_close__yXcIJ","fade-out":"ClickOutside_fade-out__O_KmR",shine:"ClickOutside_shine__4xF87"}},331:function(e){e.exports={mobilePopup:"MobilePopup_mobilePopup__1ChJX",content:"MobilePopup_content__q4Uy0",contentFull:"MobilePopup_contentFull__G4SZI",contentLine:"MobilePopup_contentLine___ZAWF",contentContainer:"MobilePopup_contentContainer__CPn4c",min:"MobilePopup_min__Hr8uT",contentTransition:"MobilePopup_contentTransition__cEQsO",contentTransitionOpen:"MobilePopup_contentTransitionOpen__qBKfr",title:"MobilePopup_title__eyvil",closeContainer:"MobilePopup_closeContainer__Yziwx",closeButton:"MobilePopup_closeButton__RGZyc",smallContentContainer:"MobilePopup_smallContentContainer__MYVzx",shine:"MobilePopup_shine__KJf9N"}},2278:function(e){e.exports={footer:"MobileModalFooter_footer__7tuQo",footerWithoutShadow:"MobileModalFooter_footerWithoutShadow__zrZro",shine:"MobileModalFooter_shine__mRIKk"}},9134:function(e){e.exports={soc:"SocShareButtons_soc__Sm2fC",icon:"SocShareButtons_icon___Tbi0",shine:"SocShareButtons_shine__xcQQW"}},4494:function(e){e.exports={card:"ArticleGrid_card__tgeSL",wrapper:"ArticleGrid_wrapper__xdSxO",skeleton:"ArticleGrid_skeleton__doSRA",title:"ArticleGrid_title__aHRpY",image:"ArticleGrid_image__dD9XE",unit:"ArticleGrid_unit__d56X_",shine:"ArticleGrid_shine__CfZDI",container:"ArticleGrid_container__bXQgz",icons:"ArticleGrid_icons__U8iNj",left:"ArticleGrid_left__z0_TQ",pinnedCard:"ArticleGrid_pinnedCard__yN_M4",top:"ArticleGrid_top__KjgAJ",tack:"ArticleGrid_tack__8Nafc"}},1176:function(e){e.exports={stickySidebar:"NavigatorSidebar_stickySidebar__ochOk",catalog:"NavigatorSidebar_catalog__LKW02",shine:"NavigatorSidebar_shine__qvrBr"}},5844:function(e){e.exports={top:"NavigatorTagsBlock_top__pHCVn",tagTitle:"NavigatorTagsBlock_tagTitle__U84os",popupTitle:"NavigatorTagsBlock_popupTitle__zYIT1",container:"NavigatorTagsBlock_container__PSwiI",mobile:"NavigatorTagsBlock_mobile__dBujx",lineWrapper:"NavigatorTagsBlock_lineWrapper__twGmP",line:"NavigatorTagsBlock_line__9LwDl",outerTagsWrapper:"NavigatorTagsBlock_outerTagsWrapper__VVPm_",collapsed:"NavigatorTagsBlock_collapsed__WvoIS",tagsWrapper:"NavigatorTagsBlock_tagsWrapper__GG11A",controls:"NavigatorTagsBlock_controls__kkXR6",more:"NavigatorTagsBlock_more__DqsD0",moreIcon:"NavigatorTagsBlock_moreIcon__ubw_W",invert:"NavigatorTagsBlock_invert__JwspM",popup:"NavigatorTagsBlock_popup__RQwax",popupContent:"NavigatorTagsBlock_popupContent__uWMoY",arrow:"NavigatorTagsBlock_arrow__oCE_G",icon:"NavigatorTagsBlock_icon__4X4uu",close:"NavigatorTagsBlock_close__v1xbf",tags:"NavigatorTagsBlock_tags__G__Yy",tagTitleWrapper:"NavigatorTagsBlock_tagTitleWrapper__2OVBk",tag:"NavigatorTagsBlock_tag__5_xdQ",selected:"NavigatorTagsBlock_selected__PUC84",detail:"NavigatorTagsBlock_detail__dRqm1",shine:"NavigatorTagsBlock_shine__WJuYJ"}},7746:function(e){e.exports={wrapper:"PostActions_wrapper__6uvv5",links:"PostActions_links__DQmIB",chip:"PostActions_chip__Ctwms",icons:"PostActions_icons__HAnk6",shareWrapper:"PostActions_shareWrapper__1tQZT",soc:"PostActions_soc__QFnsm",show:"PostActions_show__ECc_w",unit:"PostActions_unit__jgqAF",shine:"PostActions_shine__M761w"}},1439:function(e){e.exports={wrapper:"StickySidebar_wrapper__lJ7Ss",filler:"StickySidebar_filler__QxtZk",content:"StickySidebar_content__lv3lb",transitioning:"StickySidebar_transitioning__WyJVq",stuckToTop:"StickySidebar_stuckToTop__TykKB",newSidebar:"StickySidebar_newSidebar__9DoE2",shine:"StickySidebar_shine__f1rDL"}}}]);