(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3151],{22191:(e,t,n)=>{"use strict";n.d(t,{S:()=>u}),n(48839);var l=n(95155),i=n(12115),a=n(2821),c=n(30753),r=n(1611);let s={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:{...s,...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 p=(0,r.g)("cookies-plate","sc"),h=Object.freeze({wrapper:"".concat(p,"__wrapper"),contentWrapper:"".concat(p,"__content-wrapper"),visible:"".concat(p,"--visible"),hidden:"".concat(p,"--hidden"),content:"".concat(p,"__content"),text:"".concat(p,"__text"),link:"".concat(p,"__link"),button:"".concat(p,"__button")}),u=e=>{let{className:t,mountDelay:n=3e3,href:r="https://assets.finuslugi.ru/mp-assets/pravila-ispolzovanija-cookie-pao-moskovskaja-birzh.doc",children:s,closeIcon:o,onMount:d,onLinkClick:p,onClose:u,mountAfterScroll:v=!0}=e,[x,g]=(0,i.useState)(!1),[_,f]=(0,i.useState)(!1),[b,w]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>{document.removeEventListener("scroll",e),c.a.getItem("Allow-Cookie")||(w(!0),setTimeout(()=>{g(!0),null==d||d()},n))};return v?document.addEventListener("scroll",e):e(),()=>document.removeEventListener("scroll",e)},[]);let j=(0,i.useCallback)(()=>{c.a.setItem("Allow-Cookie","1"),f(!0),null==u||u(),setTimeout(()=>w(!1),1e3)},[u]);return b?(0,l.jsx)("div",{className:h.wrapper,children:(0,l.jsx)("div",{className:(0,a.A)(h.contentWrapper,{[h.visible]:x,[h.hidden]:_}),children:(0,l.jsxs)("div",{className:(0,a.A)(t,h.content),children:[s||(0,l.jsxs)("p",{className:h.text,children:["Мы используем"," ",(0,l.jsx)("a",{className:h.link,href:r,target:"_blank",rel:"noreferrer",onClick:p,children:"cookie"})," ","для лучшей работы сайта"]}),(0,l.jsx)("button",{className:h.button,onClick:j,children:o||(0,l.jsx)(m,{})})]})})}):(0,l.jsx)(l.Fragment,{})}},33974:(e,t,n)=>{"use strict";n.d(t,{w:()=>el}),n(90608);var l=n(95155),i=n(95633),a=n(2821),c=n(69465),r=n(81637),s=n(1611),o=n(53548),d=n(93372),m=n(42195),p=n(12115),h=n(91482),u=n(13860),v=n(77743);let x=(0,s.g)("footer-contacts-block","sc"),g=Object.freeze({contactsWrapper:"".concat(x,"__contacts-wrapper"),gray:"".concat(x,"__gray"),phones:"".concat(x,"__phones"),contactsButtons:"".concat(x,"__contacts-buttons"),vkIcon:"".concat(x,"__vk-icon"),tgIcon:"".concat(x,"__tg-icon"),dzenIcon:"".concat(x,"__dzen-icon"),maxIcon:"".concat(x,"__max-icon"),link:"".concat(x,"__link")}),_=(0,s.g)("footer","sc"),f=Object.freeze({wrapper:"".concat(_,"__wrapper"),section:"".concat(_,"__section"),container:"".concat(_,"__container"),top:"".concat(_,"__top"),main:"".concat(_,"__main"),links:"".concat(_,"__links"),disclaimer:"".concat(_,"__disclaimer"),bottom:"".concat(_,"__bottom"),bottomLinks:"".concat(_,"__bottom-links"),bottomDisclaimer:"".concat(_,"__bottom-disclaimer"),compact:"".concat(_,"__wrapper--compact"),white:"".concat(_,"__wrapper--white")}),b="finkit-widgets-sc-footer",w=[{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"}],j=[...w,{title:"Онлайн чат",url:void 0}],N=[{type:"vk",className:g.vkIcon,iconName:"vk"},{type:"telegramChannel",className:g.tgIcon,iconName:"telegram"},{type:"dzen",className:g.dzenIcon,iconName:"dzen"},{type:"max",className:g.maxIcon,iconName:"max"}],k=(0,l.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,l.jsx)("br",{}),(0,l.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),y=e=>{let{onClick:t,eventActionText:n,eventLabel:i,...a}=e;return(0,l.jsx)(o.$,{onClick:e=>{null==t||t(e),(0,d.h)({eventCategory:b,eventActionType:d.D.button,eventActionText:n||"",eventLabel:i})},...a})},C=e=>{let{onClick:t,eventActionType:n,eventActionText:i,eventLabel:a,chat:c,...r}=e;return(0,l.jsx)(m.N,{onClick:e=>{var l,r,s;null==t||t(e),c&&(null==e||e.preventDefault(),null==(s=null==(r=null==(l=null==window?void 0:window.supportWidget)?void 0:l.craftTalk)?void 0:r.open)||s.call(r)),(0,d.h)({eventCategory:b,eventActionType:n||d.D.link,eventActionText:i||"",eventLabel:a})},...r})},A=e=>{let{minioUrl:t,blogs:n}=e;return(0,l.jsxs)("div",{className:g.contactsWrapper,children:[(0,l.jsx)(c.E,{className:g.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,l.jsx)("div",{className:g.phones,children:j.map(e=>{let{title:t,url:n}=e;return(0,l.jsx)(C,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,l.jsx)(c.E,{className:g.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,l.jsx)("div",{className:g.contactsButtons,children:N.map(e=>{let{type:i,className:a,iconName:c}=e;return(0,l.jsx)(y,{as:"a",href:null==n?void 0:n[i],target:"_blank",className:a,iconRight:(0,l.jsx)("img",{width:24,height:24,src:(0,r.oq)(t,"/widgets/footer/".concat(c,".svg")),alt:i,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:i,eventLabel:null==n?void 0:n[i]},i)})}),(0,l.jsx)(c.E,{className:g.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,l.jsx)("div",{className:g.contactsButtons,children:(0,l.jsxs)(C,{href:null==n?void 0:n.investTg,target:"_blank",className:g.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,l.jsx)(y,{className:g.tgIcon,iconRight:(0,l.jsx)("img",{width:24,height:24,src:(0,r.oq)(t,"/widgets/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},z=(0,s.g)("footer-disclaimer","sc"),E=Object.freeze({disclaimer:"".concat(z)}),T=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,d.h)({eventCategory:b,eventActionType:d.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,l.jsx)("div",{className:(0,a.A)(e.className,E.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,l.jsx)("div",{className:(0,a.A)(e.className,E.disclaimer),onClick:t,children:e.children})},L={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},S={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},I=e=>p.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.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 U(e){let{className:t,style:n,boxSize:l,size:i,onClick:a}=e;return p.createElement("span",{className:t,style:{...L,...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}:{}},p.createElement(I,{viewBox:"0 0 24 24",style:S}))}U.displayName="IconFdsArrowUpRightSmallO";let R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,p.useState)(e);return(0,p.useEffect)(()=>{let t=(()=>{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})();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"},B=e=>p.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.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(e){let{className:t,style:n,boxSize:l,size:i,onClick:a}=e;return p.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}:{}},p.createElement(B,{viewBox:"0 0 24 24",style:D}))}M.displayName="IconFdsArrowUpRightSmallO";let W=(0,s.g)("footer-modal-body","sc"),F=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,l.jsxs)("div",{className:F.wrapper,children:[(0,l.jsx)("div",{className:F.title,children:"Направления"}),t.map(e=>(0,l.jsxs)(C,{className:F.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,l.jsxs)("div",{className:F.label,children:[(0,l.jsx)("span",{children:e.name}),(0,l.jsx)(y,{className:F.button,iconRight:(0,l.jsx)(M,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,l.jsx)("p",{className:F.description,children:e.description})]},e.url))]})},P=(0,s.g)("footer-popup","sc"),q=Object.freeze({wrapper:"".concat(P,"__wrapper"),button:"".concat(P,"__button"),icon:"".concat(P,"__icon"),buttonWrapper:"".concat(P,"__button-wrapper")}),K=e=>{let{directions:t}=e,n=(0,u.qF)("l"),[i,a]=(0,p.useState)(!1),c=()=>{a(!1)};return(0,l.jsxs)("div",{className:q.wrapper,children:[(0,l.jsx)("div",{className:q.buttonWrapper,children:(0,l.jsx)(y,{className:q.button,appearance:"ghost",variant:"white",onClick:()=>{a(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,l.jsx)("div",{className:q.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,l.jsx)("div",{},e))})})}),(0,l.jsxs)(v.P,{children:[!n&&(0,l.jsx)(v.U,{isOpen:i,onClose:c,full:!0,children:(0,l.jsx)(H,{directions:t})}),n&&(0,l.jsx)(v.D,{isOpen:i,onClose:c,width:"804px",children:(0,l.jsx)(H,{directions:t})})]})]})},V=(0,s.g)("footer-left-column","sc"),G=Object.freeze({leftColumn:"".concat(V,"__left-column"),logoWrapper:"".concat(V,"__logo-wrapper"),banner:"".concat(V,"__banner"),mobAppLink:"".concat(V,"__mob-app-link"),br:"".concat(V,"__br")}),Y=e=>{let{showcaseUrl:t,minioUrl:n,directions:i,mobAppUrl:a}=e,s=R(a);return(0,l.jsxs)("div",{className:G.leftColumn,children:[(0,l.jsx)(C,{className:G.logoWrapper,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,l.jsx)("img",{src:(0,r.oq)(n,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,l.jsx)(K,{directions:null!=i?i:[]}),(0,l.jsx)(C,{href:s,target:"_blank",eventActionType:d.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:s,className:G.mobAppLink,children:(0,l.jsxs)(h.Z,{className:G.banner,children:[(0,l.jsxs)(c.E,{weight:"medium",children:["Управляйте финансами",(0,l.jsx)("br",{}),"через приложение",(0,l.jsx)("br",{className:G.br})," Финуслуг"]}),(0,l.jsx)(y,{iconRight:(0,l.jsx)(U,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{srcSet:(0,r.oq)(n,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,l.jsx)("img",{src:(0,r.oq)(n,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},Z=(0,s.g)("footer-logo","sc"),$=Object.freeze({wrapper:"".concat(Z,"__wrapper"),link:"".concat(Z,"__link"),fromMoex:"".concat(Z,"__from-moex"),logo:"".concat(Z,"__logo"),white:"".concat(Z,"__wrapper--white")}),J=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:i}=e;return(0,l.jsx)("div",{className:(0,a.A)($.wrapper,{[$.white]:i}),children:(0,l.jsxs)(C,{className:$.link,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,l.jsx)("img",{className:$.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg"),loading:"lazy"}),(0,l.jsx)("img",{className:$.fromMoex,src:"".concat(n,"/images/fromMoex.svg"),loading:"lazy"})]})})};var Q=(e=>(e.BLACK="black",e.GRAY="gray",e))(Q||{});let X=(0,s.g)("footer-warning","sc"),ee=Object.freeze({reservedSpace:"".concat(X,"__reserved-space"),wrapper:"".concat(X,"__wrapper"),wrapperGray:"".concat(X,"__wrapper--gray"),fixed:"".concat(X,"__wrapper--fixed"),container:"".concat(X,"__container"),text:"".concat(X,"__text"),invisibleText:"".concat(X,"__text--invisible")}),et=e=>{let{text:t,variant:n,fixed:c,isPlaceholder:r}=e;return(0,l.jsx)("div",{className:(0,a.A)(ee.wrapper,{[ee.wrapperGray]:"gray"===n,[ee.fixed]:c&&!r}),children:(0,l.jsx)(i.m,{className:ee.container,children:(0,l.jsx)("div",{className:(0,a.A)(ee.text,{[ee.invisibleText]:r}),dangerouslySetInnerHTML:{__html:t}})})})},en=e=>{var t,n;let{warning:i}=e,a="string"==typeof i?{text:i}:i,c={text:a.text,fixed:null==(t=a.fixed)||t,variant:null!=(n=a.variant)?n:Q.BLACK};return(0,l.jsxs)("div",{className:ee.reservedSpace,children:[(0,l.jsx)(et,{...c,isPlaceholder:c.fixed}),c.fixed&&(0,l.jsx)(et,{...c,fixed:!0})]})},el=e=>{var t,n;let{data:c,showcaseUrl:r="https://finuslugi.ru",minioUrl:s="https://assets.finuslugi.ru/mp-assets",customDisclaimer:o,variant:d="default",className:m}=e,p=!o&&null!=c&&c.disclaimer?c.disclaimer:void 0,h=d.includes("compact"),u=d.includes("white"),v=null==(t=null==c?void 0:c.bottom)?void 0:t.concat(h?w:[]),x=c&&"warning"in c?c.warning:void 0;return c?(0,l.jsx)("footer",{className:(0,a.A)(f.wrapper,m,{[f.compact]:h,[f.white]:u}),children:(0,l.jsxs)("section",{className:f.section,children:[(0,l.jsxs)(i.m,{className:f.container,children:[!h&&(0,l.jsx)(Y,{showcaseUrl:r,minioUrl:s,directions:null==c?void 0:c.directions,mobAppUrl:null==c?void 0:c.mobAppUrl}),(0,l.jsx)("div",{className:f.wrapper,children:(0,l.jsxs)("div",{className:f.top,children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:f.main,children:[!h&&(0,l.jsx)("div",{className:f.links,children:null==(n=null==c?void 0:c.top)?void 0:n.map(e=>(0,l.jsx)(C,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),h&&(0,l.jsx)(J,{showcaseUrl:r,minioUrl:s,isWhite:u}),(0,l.jsx)(T,{className:f.disclaimer,disclaimer:p,children:o||k})]}),(0,l.jsxs)("div",{className:f.bottom,children:[(0,l.jsx)("div",{className:f.bottomLinks,children:null==v?void 0:v.map(e=>(0,l.jsx)(C,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,l.jsx)(T,{className:f.bottomDisclaimer,disclaimer:null==c?void 0:c.bottomDisclaimer})]})]}),!h&&(0,l.jsx)(A,{minioUrl:s,blogs:null==c?void 0:c.blogs})]})})]}),h&&!!x&&(0,l.jsx)(en,{warning:x})]})}):null}},48839:()=>{},88992:(e,t,n)=>{"use strict";n.d(t,{tH:()=>c});var l=n(12115);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)||e.call(t,{args:l,reason:"imperative-api"}),this.setState(a))}componentDidCatch(e,t){var n,l;null==(n=(l=this.props).onError)||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)||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:r}=this.state,s=e;if(c){let e={error:r,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)s=t(e);else if(n)s=(0,l.createElement)(n,e);else if(void 0!==a)s=a;else throw r}return(0,l.createElement)(i.Provider,{value:{didCatch:c,error:r,resetErrorBoundary:this.resetErrorBoundary}},s)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=a}}},90608:()=>{}}]);