(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[722,7560],{45657:function(){},51090:function(){},6743:function(){},67834:function(e,t,n){"use strict";n.d(t,{O:function(){return b}});var l=n(57437),i=n(2265),a=n(61994),c=n(40997),s=n(19945),r=n(10635),o=n(3946),d=n(14988);n(45657);let m=(0,c.g)("breadcrumbs"),h={breadcrumbs:m,breadcrumbsEllipsis:"".concat(m,"--ellipsis"),displayOne:"".concat(m,"--display-one"),list:"".concat(m,"__list"),mobileList:"".concat(m,"__list--mobile"),desktopList:"".concat(m,"__list--desktop"),item:"".concat(m,"__item"),customItem:"".concat(m,"__item--custom"),link:"".concat(m,"__link"),linkLabel:"".concat(m,"__link-label"),text:"".concat(m,"__text"),separator:"".concat(m,"__separator"),backIcon:"".concat(m,"__back-icon"),iconMobile:"".concat(m,"__icon--mobile"),iconDesktop:"".concat(m,"__icon--desktop")},u=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;return n||l?{label:n||"Назад",href:"object"!=typeof l?l||"#":void 0,customLink:"object"==typeof l?l:void 0}:t.length&&t.length>1?(null==(e=t[t.length-1])?void 0:e.href)?t[t.length-1]:t[t.length-2]:{label:t[0].label||"Назад",href:t[0].href||"#",customLink:t[0].customLink}};function p(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M8.22 12.53a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 1 1 1.06 1.06L9.81 12l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function x(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"m11.28 17.03 4.5-4.5a.75.75 0 0 0 0-1.06l-4.5-4.5a.75.75 0 1 0-1.06 1.06L14.19 12l-3.97 3.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let g=e=>{let{as:t,item:n,isBackward:i=!1,isLast:c,dataQa:s,onClick:m}=e;return(0,l.jsx)(l.Fragment,{children:n.href||n.customLink?(0,l.jsxs)(l.Fragment,{children:[n.customLink?(0,l.jsx)(l.Fragment,{children:n.customLink}):(0,l.jsxs)(t||"a",{href:n.href,"data-qa":s,className:h.link,title:n.label,onClick:m?e=>m(e,n.href):void 0,children:[i&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.P,{className:(0,a.Z)(h.backIcon,h.iconDesktop),children:(0,l.jsx)(r.S,{})}),(0,l.jsx)(d.P,{className:(0,a.Z)(h.backIcon,h.iconMobile),children:(0,l.jsx)(p,{})})]}),(0,l.jsx)("span",{className:h.linkLabel,children:n.label})]}),!i&&!c&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.P,{className:(0,a.Z)(h.separator,h.iconDesktop),children:(0,l.jsx)(o.S,{})}),(0,l.jsx)(d.P,{className:(0,a.Z)(h.separator,h.iconMobile),children:(0,l.jsx)(x,{})})]})]}):(0,l.jsx)("span",{"aria-current":"page","data-qa":s,className:h.text,title:n.label,children:n.label})})};g.displayName="BreadcrumbsLink";let v=e=>{let{as:t,items:n=[],dataQa:c,backwardHref:r,backwardLabel:o,onClick:d}=e,m=(0,i.useRef)(null),p=(0,i.useCallback)(e=>{var t;let n=m.current;if(!n)return;let l=(null==e?void 0:e.target).closest("a");if(!l)return;let i=n.getBoundingClientRect(),a=l.getBoundingClientRect();n.scrollTo({left:a.left-i.left-8+(null!==(t=n.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),x=u(n,o,r),v=(e,t)=>{p(e),null==d||d(e,t)};return(0,l.jsx)("ul",{ref:m,className:(0,a.Z)(h.list,h.desktopList),"data-qa":(0,s.g)("".concat(c,"-desktop-list"),!!c),children:1===n.length||r||o?(0,l.jsx)("li",{className:(0,a.Z)(h.item),children:(0,l.jsx)(g,{as:t,isBackward:!0,dataQa:(0,s.g)("".concat(c,"-link"),!!c),item:x,onClick:v})}):(0,l.jsx)(l.Fragment,{children:n.map((e,i)=>(0,l.jsx)("li",{className:(0,a.Z)(h.item,{[h.customItem]:e.customLink}),children:(0,l.jsx)(g,{as:t,item:e,dataQa:(0,s.g)("".concat(c,"-link-").concat(++i),!!c),isLast:i===n.length,onClick:v})},"".concat(e.label,"--").concat(i)))})})};v.displayName="DesktopBreadcrumbs";let f=e=>{let{as:t,items:n=[],backwardLabel:i,backwardHref:c,dataQa:r,onClick:o}=e,d=u(n,i,c);return(0,l.jsx)("ul",{className:(0,a.Z)(h.list,h.mobileList),"data-qa":(0,s.g)("".concat(r,"-mobile-list"),!!r),children:(0,l.jsx)("li",{className:(0,a.Z)(h.item),children:(0,l.jsx)(g,{as:t,isBackward:!0,dataQa:(0,s.g)("".concat(r,"-link"),!!r),item:d,onClick:o})})})};f.displayName="MobileBreadcrumbs";let b=(0,i.forwardRef)((e,t)=>{let{items:n=[],as:i,isMobile:c,onClick:s,backwardLabel:r,backwardHref:o,style:d,className:m,ellipsis:u=!1,isFullView:p=!1,dataQa:x,dataId:g,...b}=e,_=n.length||r||o;return(0,l.jsx)(l.Fragment,{children:_&&(0,l.jsxs)("nav",{ref:t,"aria-label":"breadcrumbs",className:(0,a.Z)(h.breadcrumbs,{[h.displayOne]:void 0===c&&!p,[h.breadcrumbsEllipsis]:u},m),style:d,...b,"data-id":g,"data-qa":x,children:[!0!==c&&(0,l.jsx)(v,{as:i,items:n,dataQa:x,backwardLabel:r,backwardHref:o,onClick:s||void 0}),!1!==c&&!p&&(0,l.jsx)(f,{as:i,items:n,dataQa:x,backwardLabel:r,backwardHref:o,onClick:s||void 0})]})})});b.displayName="Breadcrumbs"},122:function(e,t,n){"use strict";n.d(t,{C:function(){return p}});var l=n(57437),i=n(2265),a=n(20469),c=n(61994),s=n(52074);let r={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},o={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},d=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function m({className:e,style:t,boxSize:n,size:l,onClick:a}){return i.createElement("span",{className:e,style:{...r,...a&&{cursor:"pointer"},...l&&{fontSize:`${l}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...a?{role:"button",tabIndex:"0",onClick:a}:{}},i.createElement(d,{viewBox:"0 0 24 24",style:o}))}m.displayName="IconFdsArrowUpRightSmallO";let h=(0,s.g)("check-all","sc"),u=Object.freeze({wrapper:`${h}__wrapper`,link:`${h}__link`,icon:`${h}__icon`,iconGray:`${h}__icon--gray`}),p=({children:e,className:t,linkClassName:n,iconGrayBackground:i,Link:s,event:r,href:o,dataLayerPush:d})=>{let h=s??a.r;return(0,l.jsx)("div",{className:(0,c.Z)(u.wrapper,t),onClick:()=>{r&&d(r)},children:(0,l.jsxs)(h,{className:(0,c.Z)(u.link,n),href:o,children:[e,(0,l.jsx)("span",{className:(0,c.Z)(u.icon,{[u.iconGray]:i}),children:(0,l.jsx)(m,{size:24})})]})})}},16715:function(e,t,n){"use strict";n.d(t,{z:function(){return p}}),n(51090);var l=n(57437),i=n(2265),a=n(61994),c=n(55487),s=n(52074);let r={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},o={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},d=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M7.22 7.22a.743.743 0 011.06 0L12 10.94l3.72-3.72a.743.743 0 011.06 0 .742.742 0 010 1.06L13.061 12l3.72 3.72a.743.743 0 010 1.06.743.743 0 01-1.061 0L12 13.06l-3.72 3.72a.743.743 0 01-1.06 0 .743.743 0 010-1.06L10.94 12 7.22 8.28a.743.743 0 010-1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function m(e){let{className:t,style:n,boxSize:l,size:a,onClick:c}=e;return i.createElement("span",{className:t,style:{...r,...c&&{cursor:"pointer"},...a&&{fontSize:"".concat(a,"px")},...l&&{width:"".concat(l,"px"),height:"".concat(l,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...c?{role:"button",tabIndex:"0",onClick:c}:{}},i.createElement(d,{viewBox:"0 0 24 24",style:o}))}m.displayName="IconFdsCloseO";let h=(0,s.g)("cookies-plate","sc"),u=Object.freeze({wrapper:"".concat(h,"__wrapper"),contentWrapper:"".concat(h,"__content-wrapper"),visible:"".concat(h,"--visible"),hidden:"".concat(h,"--hidden"),content:"".concat(h,"__content"),text:"".concat(h,"__text"),link:"".concat(h,"__link"),button:"".concat(h,"__button")}),p=e=>{let{className:t,mountDelay:n=3e3,href:s="https://assets.finuslugi.ru/mp-assets/user-agreement.pdf",children:r,closeIcon:o,onMount:d,onLinkClick:h,onClose:p,mountAfterScroll:x=!0}=e,[g,v]=(0,i.useState)(!1),[f,b]=(0,i.useState)(!1),[_,w]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>{document.removeEventListener("scroll",e),c.a.getItem("Allow-Cookie")||(w(!0),setTimeout(()=>{v(!0),null==d||d()},n))};return x?document.addEventListener("scroll",e):e(),()=>document.removeEventListener("scroll",e)},[]);let j=(0,i.useCallback)(()=>{c.a.setItem("Allow-Cookie","1"),b(!0),null==p||p(),setTimeout(()=>w(!1),1e3)},[p]);return _?(0,l.jsx)("div",{className:u.wrapper,children:(0,l.jsx)("div",{className:(0,a.Z)(u.contentWrapper,{[u.visible]:g,[u.hidden]:f}),children:(0,l.jsxs)("div",{className:(0,a.Z)(t,u.content),children:[r||(0,l.jsxs)("p",{className:u.text,children:["Мы используем"," ",(0,l.jsx)("a",{className:u.link,href:s,target:"_blank",rel:"noreferrer",onClick:h,children:"cookie"})," ","для лучшей работы сайта"]}),(0,l.jsx)("button",{className:u.button,onClick:j,children:o||(0,l.jsx)(m,{})})]})})}):(0,l.jsx)(l.Fragment,{})}},1075:function(e,t,n){"use strict";let l;n.d(t,{$:function(){return ea}}),n(6743);var i=n(57437),a=n(67880),c=n(61994),s=n(88614),r=n(77337),o=n(52074),d=n(66187),m=n(63327),h=n(20469),u=n(2265),p=n(19979),x=n(89694),g=n(62379);let v=(0,o.g)("footer-contacts-block","sc"),f=Object.freeze({contactsWrapper:"".concat(v,"__contacts-wrapper"),gray:"".concat(v,"__gray"),phones:"".concat(v,"__phones"),contactsButtons:"".concat(v,"__contacts-buttons"),vkIcon:"".concat(v,"__vk-icon"),tgIcon:"".concat(v,"__tg-icon"),dzenIcon:"".concat(v,"__dzen-icon"),maxIcon:"".concat(v,"__max-icon"),link:"".concat(v,"__link")}),b=(0,o.g)("footer","sc"),_=Object.freeze({wrapper:"".concat(b,"__wrapper"),section:"".concat(b,"__section"),container:"".concat(b,"__container"),top:"".concat(b,"__top"),main:"".concat(b,"__main"),links:"".concat(b,"__links"),disclaimer:"".concat(b,"__disclaimer"),bottom:"".concat(b,"__bottom"),bottomLinks:"".concat(b,"__bottom-links"),bottomDisclaimer:"".concat(b,"__bottom-disclaimer"),compact:"".concat(b,"__wrapper--compact"),white:"".concat(b,"__wrapper--white")}),w="finkit-widgets-sc-footer",j=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"8 (800) 700-64-94",url:"tel:88007006494"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"},{title:"+7 (495) 787-64-94",url:"tel:+74957876494"}],k=[...j,{title:"Онлайн чат",url:void 0}],N=[{type:"vk",className:f.vkIcon,iconName:"vk"},{type:"telegramChannel",className:f.tgIcon,iconName:"telegram"},{type:"dzen",className:f.dzenIcon,iconName:"dzen"},{type:"max",className:f.maxIcon,iconName:"max"}],y=(0,i.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО \xabМБ Маркетплейс\xbb, организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb. Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой \xabОткрытие онлайн на Финуслугах\xbb. Иная информация на сайте www.finuslugi.ru считается размещенной ООО \xabМБ Маркетплейс\xbb, если иное явно не следует из существа размещаемой информации. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),C=e=>{let{onClick:t,eventActionText:n,eventLabel:l,...a}=e;return(0,i.jsx)(d.z,{onClick:e=>{null==t||t(e),(0,m.h)({eventCategory:w,eventActionType:m.D.button,eventActionText:n||"",eventLabel:l})},...a})},L=e=>{let{onClick:t,eventActionType:n,eventActionText:l,eventLabel:a,chat:c,...s}=e;return(0,i.jsx)(h.r,{onClick:e=>{var i,s,r;null==t||t(e),c&&(null==e||e.preventDefault(),null==(r=null==(s=null==(i=null==window?void 0:window.supportWidget)?void 0:i.craftTalk)?void 0:s.open)||r.call(s)),(0,m.h)({eventCategory:w,eventActionType:n||m.D.link,eventActionText:l||"",eventLabel:a})},...s})},z=e=>{let{minioUrl:t,blogs:n}=e;return(0,i.jsxs)("div",{className:f.contactsWrapper,children:[(0,i.jsx)(s.x,{className:f.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,i.jsx)("div",{className:f.phones,children:k.map(e=>{let{title:t,url:n}=e;return(0,i.jsx)(L,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,i.jsx)(s.x,{className:f.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,i.jsx)("div",{className:f.contactsButtons,children:N.map(e=>{let{type:l,className:a,iconName:c}=e;return(0,i.jsx)(C,{as:"a",href:null==n?void 0:n[l],target:"_blank",className:a,iconRight:(0,i.jsx)("img",{width:24,height:24,src:(0,r.xn)(t,"/widgets/footer/".concat(c,".svg")),alt:l,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:l,eventLabel:null==n?void 0:n[l]},l)})}),(0,i.jsx)(s.x,{className:f.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,i.jsx)("div",{className:f.contactsButtons,children:(0,i.jsxs)(L,{href:null==n?void 0:n.investTg,target:"_blank",className:f.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,i.jsx)(C,{className:f.tgIcon,iconRight:(0,i.jsx)("img",{width:24,height:24,src:(0,r.xn)(t,"/widgets/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},A=(0,o.g)("footer-disclaimer","sc"),E=Object.freeze({disclaimer:"".concat(A)}),T=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,m.h)({eventCategory:w,eventActionType:m.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,i.jsx)("div",{className:(0,c.Z)(e.className,E.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,i.jsx)("div",{className:(0,c.Z)(e.className,E.disclaimer),onClick:t,children:e.children})},I={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},S={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},R=e=>u.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function B(e){let{className:t,style:n,boxSize:l,size:i,onClick:a}=e;return u.createElement("span",{className:t,style:{...I,...a&&{cursor:"pointer"},...i&&{fontSize:"".concat(i,"px")},...l&&{width:"".concat(l,"px"),height:"".concat(l,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...a?{role:"button",tabIndex:"0",onClick:a}:{}},u.createElement(R,{viewBox:"0 0 24 24",style:S}))}B.displayName="IconFdsArrowUpRightSmallO";let U=()=>{let e=new URL(window.location.href),t=new URLSearchParams;return e.searchParams.forEach((e,n)=>{/^utm_/i.test(n)&&t.set(n,e)}),t},Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,u.useState)(e);return(0,u.useEffect)(()=>{let t=U();if(!t||0===t.size)return;let[l,i=""]=e.split("?"),a=new URLSearchParams(i);t.forEach((e,t)=>{a.has(t)||a.set(t,e)});let c=a.toString();n(c?"".concat(l,"?").concat(c):l)},[e]),t},O={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},D={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},M=e=>u.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function F(e){let{className:t,style:n,boxSize:l,size:i,onClick:a}=e;return u.createElement("span",{className:t,style:{...O,...a&&{cursor:"pointer"},...i&&{fontSize:"".concat(i,"px")},...l&&{width:"".concat(l,"px"),height:"".concat(l,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...a?{role:"button",tabIndex:"0",onClick:a}:{}},u.createElement(M,{viewBox:"0 0 24 24",style:D}))}F.displayName="IconFdsArrowUpRightSmallO";let W=(0,o.g)("footer-modal-body","sc"),P=Object.freeze({wrapper:"".concat(W,"__wrapper"),title:"".concat(W,"__title"),item:"".concat(W,"__item"),label:"".concat(W,"__label"),button:"".concat(W,"__button"),description:"".concat(W,"__description")}),H=e=>{let{directions:t}=e;return(0,i.jsxs)("div",{className:P.wrapper,children:[(0,i.jsx)("div",{className:P.title,children:"Направления"}),t.map(e=>(0,i.jsxs)(L,{className:P.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,i.jsxs)("div",{className:P.label,children:[(0,i.jsx)("span",{children:e.name}),(0,i.jsx)(C,{className:P.button,iconRight:(0,i.jsx)(F,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,i.jsx)("p",{className:P.description,children:e.description})]},e.url))]})},V=(0,o.g)("footer-popup","sc"),$=Object.freeze({wrapper:"".concat(V,"__wrapper"),button:"".concat(V,"__button"),icon:"".concat(V,"__icon"),buttonWrapper:"".concat(V,"__button-wrapper")}),G=e=>{let{directions:t}=e,n=(0,x._m)("l"),[l,a]=(0,u.useState)(!1),c=()=>{a(!1)};return(0,i.jsxs)("div",{className:$.wrapper,children:[(0,i.jsx)("div",{className:$.buttonWrapper,children:(0,i.jsx)(C,{className:$.button,appearance:"ghost",variant:"white",onClick:()=>{a(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,i.jsx)("div",{className:$.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,i.jsx)("div",{},e))})})}),(0,i.jsxs)(g.P,{children:[!n&&(0,i.jsx)(g.U,{isOpen:l,onClose:c,full:!0,children:(0,i.jsx)(H,{directions:t})}),n&&(0,i.jsx)(g.D,{isOpen:l,onClose:c,width:"804px",children:(0,i.jsx)(H,{directions:t})})]})]})},q=(0,o.g)("footer-left-column","sc"),K=Object.freeze({leftColumn:"".concat(q,"__left-column"),logoWrapper:"".concat(q,"__logo-wrapper"),banner:"".concat(q,"__banner"),mobAppLink:"".concat(q,"__mob-app-link"),br:"".concat(q,"__br")}),Q=e=>{let{showcaseUrl:t,minioUrl:n,directions:l,mobAppUrl:a}=e,c=Z(a);return(0,i.jsxs)("div",{className:K.leftColumn,children:[(0,i.jsx)(L,{className:K.logoWrapper,href:t,eventActionType:m.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,i.jsx)("img",{src:(0,r.xn)(n,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,i.jsx)(G,{directions:null!=l?l:[]}),(0,i.jsx)(L,{href:c,target:"_blank",eventActionType:m.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:c,className:K.mobAppLink,children:(0,i.jsxs)(p.Z,{className:K.banner,children:[(0,i.jsxs)(s.x,{weight:"medium",children:["Управляйте финансами",(0,i.jsx)("br",{}),"через приложение",(0,i.jsx)("br",{className:K.br})," Финуслуг"]}),(0,i.jsx)(C,{iconRight:(0,i.jsx)(B,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,i.jsxs)("picture",{children:[(0,i.jsx)("source",{srcSet:(0,r.xn)(n,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,i.jsx)("img",{src:(0,r.xn)(n,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},Y=(0,o.g)("footer-logo","sc"),J=Object.freeze({wrapper:"".concat(Y,"__wrapper"),link:"".concat(Y,"__link"),fromMoex:"".concat(Y,"__from-moex"),logo:"".concat(Y,"__logo"),white:"".concat(Y,"__wrapper--white")}),X=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:l}=e;return(0,i.jsx)("div",{className:(0,c.Z)(J.wrapper,{[J.white]:l}),children:(0,i.jsxs)(L,{className:J.link,href:t,eventActionType:m.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,i.jsx)("img",{className:J.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg"),loading:"lazy"}),(0,i.jsx)("img",{className:J.fromMoex,src:"".concat(n,"/images/fromMoex.svg"),loading:"lazy"})]})})};var ee=((l=ee||{}).BLACK="black",l.GRAY="gray",l);let et=(0,o.g)("footer-warning","sc"),en=Object.freeze({reservedSpace:"".concat(et,"__reserved-space"),wrapper:"".concat(et,"__wrapper"),wrapperGray:"".concat(et,"__wrapper--gray"),fixed:"".concat(et,"__wrapper--fixed"),container:"".concat(et,"__container"),text:"".concat(et,"__text"),invisibleText:"".concat(et,"__text--invisible")}),el=e=>{let{text:t,variant:n,fixed:l,isPlaceholder:s}=e;return(0,i.jsx)("div",{className:(0,c.Z)(en.wrapper,{[en.wrapperGray]:"gray"===n,[en.fixed]:l&&!s}),children:(0,i.jsx)(a.W,{className:en.container,children:(0,i.jsx)("div",{className:(0,c.Z)(en.text,{[en.invisibleText]:s}),dangerouslySetInnerHTML:{__html:t}})})})},ei=e=>{var t,n;let{warning:l}=e,a="string"==typeof l?{text:l}:l,c={text:a.text,fixed:null===(t=a.fixed)||void 0===t||t,variant:null!==(n=a.variant)&&void 0!==n?n:ee.BLACK};return(0,i.jsxs)("div",{className:en.reservedSpace,children:[(0,i.jsx)(el,{...c,isPlaceholder:c.fixed}),c.fixed&&(0,i.jsx)(el,{...c,fixed:!0})]})},ea=e=>{var t,n;let{data:l,showcaseUrl:s="https://finuslugi.ru",minioUrl:r="https://assets.finuslugi.ru/mp-assets",customDisclaimer:o,variant:d="default",className:m}=e,h=!o&&null!=l&&l.disclaimer?l.disclaimer:void 0,u=d.includes("compact"),p=d.includes("white"),x=null==(t=null==l?void 0:l.bottom)?void 0:t.concat(u?j:[]),g=l&&"warning"in l?l.warning:void 0;return l?(0,i.jsx)("footer",{className:(0,c.Z)(_.wrapper,m,{[_.compact]:u,[_.white]:p}),children:(0,i.jsxs)("section",{className:_.section,children:[(0,i.jsxs)(a.W,{className:_.container,children:[!u&&(0,i.jsx)(Q,{showcaseUrl:s,minioUrl:r,directions:null==l?void 0:l.directions,mobAppUrl:null==l?void 0:l.mobAppUrl}),(0,i.jsx)("div",{className:_.wrapper,children:(0,i.jsxs)("div",{className:_.top,children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:_.main,children:[!u&&(0,i.jsx)("div",{className:_.links,children:null==(n=null==l?void 0:l.top)?void 0:n.map(e=>(0,i.jsx)(L,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),u&&(0,i.jsx)(X,{showcaseUrl:s,minioUrl:r,isWhite:p}),(0,i.jsx)(T,{className:_.disclaimer,disclaimer:h,children:o||y})]}),(0,i.jsxs)("div",{className:_.bottom,children:[(0,i.jsx)("div",{className:_.bottomLinks,children:null==x?void 0:x.map(e=>(0,i.jsx)(L,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,i.jsx)(T,{className:_.bottomDisclaimer,disclaimer:null==l?void 0:l.bottomDisclaimer})]})]}),!u&&(0,i.jsx)(z,{minioUrl:r,blogs:null==l?void 0:l.blogs})]})})]}),u&&!!g&&(0,i.jsx)(ei,{warning:g})]})}):null}},30660:function(e,t,n){"use strict";n.d(t,{SV:function(){return c}});var l=n(2265);let i=(0,l.createContext)(null),a={didCatch:!1,error:null};class c extends l.Component{static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){for(var e,t,n=arguments.length,l=Array(n),i=0;i<n;i++)l[i]=arguments[i];let{error:c}=this.state;null!==c&&(null===(e=(t=this.props).onReset)||void 0===e||e.call(t,{args:l,reason:"imperative-api"}),this.setState(a))}componentDidCatch(e,t){var n,l;null===(n=(l=this.props).onError)||void 0===n||n.call(l,e,t)}componentDidUpdate(e,t){var n,l;let{didCatch:i}=this.state,{resetKeys:c}=this.props;i&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}(e.resetKeys,c)&&(null===(n=(l=this.props).onReset)||void 0===n||n.call(l,{next:c,prev:e.resetKeys,reason:"keys"}),this.setState(a))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:a}=this.props,{didCatch:c,error:s}=this.state,r=e;if(c){let e={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)r=t(e);else if(n)r=(0,l.createElement)(n,e);else if(void 0!==a)r=a;else throw s}return(0,l.createElement)(i.Provider,{value:{didCatch:c,error:s,resetErrorBoundary:this.resetErrorBoundary}},r)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=a}}}}]);