(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{66744:function(e,t,n){Promise.resolve().then(n.t.bind(n,46153,23)),Promise.resolve().then(n.t.bind(n,27565,23)),Promise.resolve().then(n.t.bind(n,76583,23)),Promise.resolve().then(n.t.bind(n,86034,23)),Promise.resolve().then(n.bind(n,1075)),Promise.resolve().then(n.bind(n,44789)),Promise.resolve().then(n.bind(n,81523)),Promise.resolve().then(n.bind(n,70049)),Promise.resolve().then(n.t.bind(n,1386,23)),Promise.resolve().then(n.bind(n,42029)),Promise.resolve().then(n.t.bind(n,59111,23)),Promise.resolve().then(n.bind(n,45274))},30166:function(e,t,n){"use strict";n.d(t,{default:function(){return r.a}});var i=n(55775),r=n.n(i)},55775:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let i=n(47043);n(57437),n(2265);let r=i._(n(15602));function l(e,t){var n;let i={loading:e=>{let{error:t,isLoading:n,pastDelay:i}=e;return null}};"function"==typeof e&&(i.loader=e);let l={...i,...t};return(0,r.default)({...l,modules:null==(n=l.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let i=n(18993);function r(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new i.BailoutToCSRError(t);return n}},15602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let i=n(57437),r=n(2265),l=n(81523),o=n(70049);function c(e){return{default:e&&"default"in e?e.default:e}}let a={loader:()=>Promise.resolve(c(()=>null)),loading:null,ssr:!0},s=function(e){let t={...a,...e},n=(0,r.lazy)(()=>t.loader().then(c)),s=t.loading;function d(e){let c=s?(0,i.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,a=t.ssr?(0,i.jsxs)(i.Fragment,{children:["undefined"==typeof window?(0,i.jsx)(o.PreloadCss,{moduleIds:t.modules}):null,(0,i.jsx)(n,{...e})]}):(0,i.jsx)(l.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(n,{...e})});return(0,i.jsx)(r.Suspense,{fallback:c,children:a})}return d.displayName="LoadableComponent",d}},70049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return l}});let i=n(57437),r=n(20544);function l(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,r.getExpectedRequestStore)("next/dynamic css"),l=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));l.push(...t)}}return 0===l.length?null:(0,i.jsx)(i.Fragment,{children:l.map(e=>(0,i.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},42029:function(e,t,n){"use strict";n.d(t,{ClientInitializer:function(){return u}});var i=n(57437),r=n(30166),l=n(30631),o=n(2265),c=n(13466),a=n(55089);let s=(0,r.default)(()=>n.e(697).then(n.bind(n,50697)).then(e=>e.Chat),{loadableGenerated:{webpack:()=>[50697]},ssr:!1}),d=(0,r.default)(()=>n.e(6715).then(n.bind(n,16715)).then(e=>e.CookiesPlate),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),u=()=>{let{env:e}=(0,a.k)();return(0,o.useEffect)(()=>{"dev"!==e.NEXT_PUBLIC_VERSION&&(0,l.zK)()},[e.NEXT_PUBLIC_VERSION]),(0,i.jsxs)(c.h,{children:[(0,i.jsx)(s,{}),(0,i.jsx)(d,{})]})}},13466:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var i=n(2265),r=n(54887);let l=e=>{let{children:t,id:n="portal-root"}=e,[l,o]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=document.getElementById(n);if(e){o(e);return}let t=document.createElement("div");return t.id=n,document.body.appendChild(t),o(t),()=>{document.body.removeChild(t)}},[n]),l?(0,r.createPortal)(t,l):null}},45274:function(e,t,n){"use strict";n.d(t,{EnvProvider:function(){return l},F:function(){return r}});var i=n(57437);let r=(0,n(2265).createContext)(null),l=e=>{let{children:t,env:n}=e;return(0,i.jsx)(r.Provider,{value:{env:n},children:t})}},55089:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var i=n(45274),r=n(2265);let l=()=>{let e=(0,r.useContext)(i.F);if(!e)throw Error("useEnv должен быть внутри EnvProvider");return e}},76583:function(){},27565:function(){},86034:function(){},46153:function(){},1386:function(){},59111:function(e){e.exports={main:"LayoutClient_main__uIzrm"}},1075:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{Footer:function(){return X},FooterWarningVariant:function(){return Z}});var r=n(57437),l=n(35563),o=n(61994),c=n(77337),a=n(52074),s=n(75461),d=n(10992),u=n(80684),m=n(2265),p=n(20828);let f=(0,a.g)("footer-contacts-block","sc"),h=Object.freeze({contactsWrapper:"".concat(f,"__contacts-wrapper"),gray:"".concat(f,"__gray"),phones:"".concat(f,"__phones"),contactsButtons:"".concat(f,"__contacts-buttons"),vkIcon:"".concat(f,"__vk-icon"),tgIcon:"".concat(f,"__tg-icon"),dzenIcon:"".concat(f,"__dzen-icon"),maxIcon:"".concat(f,"__max-icon"),link:"".concat(f,"__link")}),v=(0,a.g)("footer","sc"),x=Object.freeze({wrapper:"".concat(v,"__wrapper"),section:"".concat(v,"__section"),container:"".concat(v,"__container"),top:"".concat(v,"__top"),main:"".concat(v,"__main"),links:"".concat(v,"__links"),disclaimer:"".concat(v,"__disclaimer"),bottom:"".concat(v,"__bottom"),bottomLinks:"".concat(v,"__bottom-links"),bottomDisclaimer:"".concat(v,"__bottom-disclaimer"),compact:"".concat(v,"__wrapper--compact"),white:"".concat(v,"__wrapper--white")}),_="finkit-widgets-sc-footer",g=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"}],b=[...g,{title:"Онлайн чат",url:void 0}],j=[{type:"vk",className:h.vkIcon,iconName:"vk"},{type:"telegramChannel",className:h.tgIcon,iconName:"telegram"},{type:"dzen",className:h.dzenIcon,iconName:"dzen"},{type:"max",className:h.maxIcon,iconName:"max"}],w=(0,r.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,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),N=e=>{let{onClick:t,eventActionText:n,eventLabel:i,...l}=e;return(0,r.jsx)(s.zx,{onClick:e=>{null==t||t(e),(0,d.h)({eventCategory:_,eventActionType:d.D.button,eventActionText:n||"",eventLabel:i})},...l})},y=e=>{let{onClick:t,eventActionType:n,eventActionText:i,eventLabel:l,chat:o,...c}=e;return(0,r.jsx)(s.rU,{onClick:e=>{var r,c,a;null==t||t(e),o&&(null==e||e.preventDefault(),null==(a=null==(c=null==(r=null==window?void 0:window.supportWidget)?void 0:r.craftTalk)?void 0:c.open)||a.call(c)),(0,d.h)({eventCategory:_,eventActionType:n||d.D.link,eventActionText:i||"",eventLabel:l})},...c})},k=e=>{let{minioUrl:t,blogs:n}=e;return(0,r.jsxs)("div",{className:h.contactsWrapper,children:[(0,r.jsx)(l.xv,{className:h.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,r.jsx)("div",{className:h.phones,children:b.map(e=>{let{title:t,url:n}=e;return(0,r.jsx)(y,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,r.jsx)(l.xv,{className:h.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,r.jsx)("div",{className:h.contactsButtons,children:j.map(e=>{let{type:i,className:l,iconName:o}=e;return(0,r.jsx)(N,{as:"a",href:null==n?void 0:n[i],target:"_blank",className:l,iconRight:(0,r.jsx)("img",{width:24,height:24,src:(0,c.xn)(t,"/widgets/footer/".concat(o,".svg")),alt:i,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:i,eventLabel:null==n?void 0:n[i]},i)})}),(0,r.jsx)(l.xv,{className:h.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,r.jsx)("div",{className:h.contactsButtons,children:(0,r.jsxs)(y,{href:null==n?void 0:n.investTg,target:"_blank",className:h.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,r.jsx)(N,{className:h.tgIcon,iconRight:(0,r.jsx)("img",{width:24,height:24,src:(0,c.xn)(t,"/widgets/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},T=(0,a.g)("footer-disclaimer","sc"),A=Object.freeze({disclaimer:"".concat(T)}),P=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,d.h)({eventCategory:_,eventActionType:d.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,r.jsx)("div",{className:(0,o.Z)(e.className,A.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,r.jsx)("div",{className:(0,o.Z)(e.className,A.disclaimer),onClick:t,children:e.children})},C=()=>{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},L=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,m.useState)(e);return(0,m.useEffect)(()=>{let t=C();if(!t||0===t.size)return;let[i,r=""]=e.split("?"),l=new URLSearchParams(r);t.forEach((e,t)=>{l.has(t)||l.set(t,e)});let o=l.toString();n(o?"".concat(i,"?").concat(o):i)},[e]),t},z=(0,a.g)("footer-modal-body","sc"),O=Object.freeze({wrapper:"".concat(z,"__wrapper"),title:"".concat(z,"__title"),item:"".concat(z,"__item"),label:"".concat(z,"__label"),button:"".concat(z,"__button"),description:"".concat(z,"__description")}),U=e=>{let{directions:t}=e;return(0,r.jsxs)("div",{className:O.wrapper,children:[(0,r.jsx)("div",{className:O.title,children:"Направления"}),t.map(e=>(0,r.jsxs)(y,{className:O.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,r.jsxs)("div",{className:O.label,children:[(0,r.jsx)("span",{children:e.name}),(0,r.jsx)(N,{className:O.button,iconRight:(0,r.jsx)(u.IconFdsArrowUpRightSmallO,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,r.jsx)("p",{className:O.description,children:e.description})]},e.url))]})},I=(0,a.g)("footer-popup","sc"),S=Object.freeze({wrapper:"".concat(I,"__wrapper"),button:"".concat(I,"__button"),icon:"".concat(I,"__icon"),buttonWrapper:"".concat(I,"__button-wrapper")}),E=e=>{let{directions:t}=e,n=(0,s._m)("l"),[i,l]=(0,m.useState)(!1),o=()=>{l(!1)};return(0,r.jsxs)("div",{className:S.wrapper,children:[(0,r.jsx)("div",{className:S.buttonWrapper,children:(0,r.jsx)(N,{className:S.button,appearance:"ghost",variant:"white",onClick:()=>{l(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,r.jsx)("div",{className:S.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,r.jsx)("div",{},e))})})}),(0,r.jsxs)(p.P,{children:[!n&&(0,r.jsx)(p.U,{isOpen:i,onClose:o,full:!0,children:(0,r.jsx)(U,{directions:t})}),n&&(0,r.jsx)(p.D,{isOpen:i,onClose:o,width:"804px",children:(0,r.jsx)(U,{directions:t})})]})]})},R=(0,a.g)("footer-left-column","sc"),M=Object.freeze({leftColumn:"".concat(R,"__left-column"),logoWrapper:"".concat(R,"__logo-wrapper"),banner:"".concat(R,"__banner"),mobAppLink:"".concat(R,"__mob-app-link")}),D=e=>{let{showcaseUrl:t,minioUrl:n,directions:i,mobAppUrl:o}=e,a=L(o);return(0,r.jsxs)("div",{className:M.leftColumn,children:[(0,r.jsx)(y,{className:M.logoWrapper,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,r.jsx)("img",{src:(0,c.xn)(n,"/pl-common-blocks-renderer/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,r.jsx)(E,{directions:null!=i?i:[]}),(0,r.jsx)(y,{href:a,target:"_blank",eventActionType:d.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:a,className:M.mobAppLink,children:(0,r.jsxs)(l.Zb,{className:M.banner,children:[(0,r.jsxs)(l.xv,{weight:"medium",children:["Управляйте финансами",(0,r.jsx)("br",{}),"через приложение Финуслуг"]}),(0,r.jsx)(N,{iconRight:(0,r.jsx)(u.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{srcSet:(0,c.xn)(n,"/pl-common-blocks-renderer/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,r.jsx)("img",{src:(0,c.xn)(n,"/pl-common-blocks-renderer/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},W=(0,a.g)("footer-logo","sc"),B=Object.freeze({wrapper:"".concat(W,"__wrapper"),link:"".concat(W,"__link"),fromMoex:"".concat(W,"__from-moex"),logo:"".concat(W,"__logo"),white:"".concat(W,"__wrapper--white")}),F=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:i}=e;return(0,r.jsx)("div",{className:(0,o.Z)(B.wrapper,{[B.white]:i}),children:(0,r.jsxs)(y,{className:B.link,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,r.jsx)("img",{className:B.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg")}),(0,r.jsx)("img",{className:B.fromMoex,src:"".concat(n,"/images/fromMoex.svg")})]})})};var Z=((i=Z||{}).BLACK="black",i.GRAY="gray",i);let G=(0,a.g)("footer-warning","sc"),H=Object.freeze({reservedSpace:"".concat(G,"__reserved-space"),wrapper:"".concat(G,"__wrapper"),wrapperGray:"".concat(G,"__wrapper--gray"),fixed:"".concat(G,"__wrapper--fixed"),container:"".concat(G,"__container"),text:"".concat(G,"__text"),invisibleText:"".concat(G,"__text--invisible")}),K=e=>{let{text:t,variant:n,fixed:i,isPlaceholder:c}=e;return(0,r.jsx)("div",{className:(0,o.Z)(H.wrapper,{[H.wrapperGray]:"gray"===n,[H.fixed]:i&&!c}),children:(0,r.jsx)(l.W2,{className:H.container,children:(0,r.jsx)("div",{className:(0,o.Z)(H.text,{[H.invisibleText]:c}),dangerouslySetInnerHTML:{__html:t}})})})},V=e=>{var t,n;let{warning:i}=e,l="string"==typeof i?{text:i}:i,o={text:l.text,fixed:null===(t=l.fixed)||void 0===t||t,variant:null!==(n=l.variant)&&void 0!==n?n:Z.BLACK};return(0,r.jsxs)("div",{className:H.reservedSpace,children:[(0,r.jsx)(K,{...o,isPlaceholder:o.fixed}),o.fixed&&(0,r.jsx)(K,{...o,fixed:!0})]})},X=e=>{var t,n;let{data:i,showcaseUrl:c="https://finuslugi.ru",minioUrl:a="https://assets.finuslugi.ru/mp-assets",customDisclaimer:s,variant:d="default",className:u}=e,m=!s&&null!=i&&i.disclaimer?i.disclaimer:void 0,p=d.includes("compact"),f=d.includes("white"),h=null==(t=null==i?void 0:i.bottom)?void 0:t.concat(p?g:[]),v=i&&"warning"in i?i.warning:void 0;return i?(0,r.jsx)("footer",{className:(0,o.Z)(x.wrapper,u,{[x.compact]:p,[x.white]:f}),children:(0,r.jsxs)("section",{className:x.section,children:[(0,r.jsxs)(l.W2,{className:x.container,children:[!p&&(0,r.jsx)(D,{showcaseUrl:c,minioUrl:a,directions:null==i?void 0:i.directions,mobAppUrl:null==i?void 0:i.mobAppUrl}),(0,r.jsx)("div",{className:x.wrapper,children:(0,r.jsxs)("div",{className:x.top,children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:x.main,children:[!p&&(0,r.jsx)("div",{className:x.links,children:null==(n=null==i?void 0:i.top)?void 0:n.map(e=>(0,r.jsx)(y,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),p&&(0,r.jsx)(F,{showcaseUrl:c,minioUrl:a,isWhite:f}),(0,r.jsx)(P,{className:x.disclaimer,disclaimer:m,children:s||w})]}),(0,r.jsxs)("div",{className:x.bottom,children:[(0,r.jsx)("div",{className:x.bottomLinks,children:null==h?void 0:h.map(e=>(0,r.jsx)(y,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,r.jsx)(P,{className:x.bottomDisclaimer,disclaimer:null==i?void 0:i.bottomDisclaimer})]})]}),!p&&(0,r.jsx)(k,{minioUrl:a,blogs:null==i?void 0:i.blogs})]})})]}),p&&!!v&&(0,r.jsx)(V,{warning:v})]})}):null}}},function(e){e.O(0,[2280,729,4570,4875,3419,3544,5501,207,7654,5979,4789,2971,2117,1744],function(){return e(e.s=66744)}),_N_E=e.O()}]);