(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{6188:function(e,t,s){Promise.resolve().then(s.bind(s,4327))},4327:function(e,t,s){"use strict";s.d(t,{HomePage:function(){return eo}});var n=s(7437),a=s(777),i=s(9226),r=s(422),l=s(7730),c=s(4365),o=s(2265),d=s(2035),_=s.n(d);let m=()=>(0,n.jsx)("noscript",{dangerouslySetInnerHTML:{__html:"\n      <style>\n        [data-animated-section] > :is(div, section) > :first-child {\n          opacity: 1 !important;\n          transform: translateY(0) !important;\n        }\n      </style>\n    "}}),u=e=>{let{children:t,dataCommonBlock:s,html:a,className:i}=e,[r,l]=(0,o.useState)(!1),[d,u]=(0,o.useState)(!1),h=(0,o.useRef)(null);(0,o.useEffect)(()=>{u(!0);let e=h.current,t=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&l(!0)},{threshold:.2,rootMargin:"0px"});return e&&t.observe(e),()=>{e&&t.unobserve(e)}},[]);let p={ref:h,"data-animated-section":!0,...s&&{"data-next-common-block":s},...a&&{dangerouslySetInnerHTML:{__html:a}}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m,{}),(0,n.jsx)("div",{className:(0,c.Z)(_().animationSection,(!d||r)&&_().fadeIn,i),suppressHydrationWarning:!0,...p,children:t})]})};var h=s(7731),p=s(6685),v=s(9798),x=s(9487),j=s(5563),y=s(5461),g=s(9202),N=s(406),b=s.n(N);let H=()=>{let e=(0,y.aF)("s"),[t,s]=(0,o.useState)(0),a=()=>{if(window.scrollY>.6*window.innerHeight)return;let e=window.scrollY/window.innerHeight;s(e>.6?.6:e)};return(0,o.useEffect)(()=>{if(e)return document.addEventListener("scroll",a),()=>{document.removeEventListener("scroll",a)}},[e]),(0,n.jsx)("div",{className:b().overlay,style:{background:"rgba(0, 0, 0, ".concat(t,")")}})};var k=s(6657),f=s.n(k);let T=e=>{var t,s,a,i,r,l;let{data:d,variant:_}=e,{title:m,subtitle:u,textColor:h,buttonText:p,buttonUrl:v,buttonStyles:x,images:N}=(null==d?void 0:d.value)||{},b=(0,o.useCallback)(()=>{(0,g.D)({eventCategory:"homepage_banners",eventActionType:g.i.button,eventActionText:p||"Подробнее",eventLabel:v})},[p,v]);return(0,n.jsx)("section",{id:"mainHomeBanner",className:(0,c.Z)(f().banner,{[f().secondary]:"secondary"===_}),children:(0,n.jsx)("div",{className:f().wrapper,children:(0,n.jsx)(j.W2,{className:f().container,children:(0,n.jsxs)("div",{className:f().innerWrapper,children:[(0,n.jsxs)("div",{className:f().info,children:[m&&(0,n.jsx)("div",{className:(0,c.Z)(f().title,h&&f()[h]),dangerouslySetInnerHTML:{__html:m}}),u&&(0,n.jsx)("div",{className:(0,c.Z)(f().subtitle,h&&f()[h]),dangerouslySetInnerHTML:{__html:u}}),v&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.zx,{as:"a",label:p||"Подробнее",href:v,variant:null!==(r=null==x?void 0:null===(t=x.desktop)||void 0===t?void 0:t.variant)&&void 0!==r?r:"accent",onClick:b,className:(0,c.Z)(f().button,f().desktopOnly),style:{backgroundColor:null==x?void 0:null===(s=x.desktop)||void 0===s?void 0:s.customBackgroundColor}}),(0,n.jsx)(y.zx,{as:"a",label:p||"Подробнее",href:v,variant:null!==(l=null==x?void 0:null===(a=x.mobile)||void 0===a?void 0:a.variant)&&void 0!==l?l:"accent",onClick:b,className:(0,c.Z)(f().button,f().mobileOnly),style:{backgroundColor:null==x?void 0:null===(i=x.mobile)||void 0===i?void 0:i.customBackgroundColor}})]})]}),(0,n.jsxs)("div",{className:f().background,children:[N&&(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:null==N?void 0:N.mobile,media:"(max-width: 767.02px)"}),(0,n.jsx)("img",{src:null==N?void 0:N.desktop,alt:"".concat(m," - фон"),loading:"eager"})]}),(0,n.jsx)(H,{})]})]})})})})};var C=s(684),S=s(3698),w=s.n(S);let B=e=>{let{title:t,description:s,url:a,tags:i,img:r}=e;return(0,n.jsxs)("a",{className:w().item,href:a,target:"_blank",onClick:()=>{(0,g.D)({eventCategory:P,eventActionType:g.i.link,eventActionText:t,eventLabel:a})},children:[(0,n.jsxs)("div",{className:w().info,children:[(0,n.jsx)("span",{className:w().title,children:t}),s&&(0,n.jsx)("span",{className:w().description,children:s}),i&&i.length>0&&(0,n.jsx)("div",{className:w().tags,children:i.map((e,t)=>{let{title:s,background:a,img:i}=e;return(0,n.jsxs)("div",{className:w().tag,style:{backgroundColor:a},children:[(0,n.jsx)("img",{className:w().tagImage,src:i,alt:""}),(0,n.jsx)("span",{className:w().tagTitle,children:s})]},t)})})]}),(0,n.jsx)(C.IconFdsArrowUpRightSmallO,{className:w().icon,size:32}),r&&(0,n.jsx)("img",{className:w().image,src:r,alt:t})]})};var I=s(1067),L=s.n(I);let P="homepage_hmb",A=e=>{var t,s;let{title:a,description:i,chips:r}=e,[l,c]=(0,o.useState)(0),d=(0,o.useMemo)(()=>r.map((e,t)=>({id:t,label:e.name})),[r]),_=(0,o.useCallback)(e=>{c(Number(e)),(0,g.D)({eventCategory:P,eventActionType:g.i.tab,eventActionText:r[Number(e)].name})},[r]),m=null!==(s=null===(t=r[l])||void 0===t?void 0:t.items)&&void 0!==s?s:[];return(0,n.jsx)("div",{className:L().section,children:(0,n.jsx)(j.W2,{children:(0,n.jsxs)("div",{className:L().wrapper,children:[(0,n.jsxs)("div",{className:L().heading,children:[(0,n.jsx)("h2",{className:L().title,children:a}),i&&(0,n.jsx)("p",{className:L().description,children:i})]}),(0,n.jsx)(y.cL,{className:L().chips,value:l,onChipClick:_,size:"l",chips:d,variant:"secondary"}),(0,n.jsx)("div",{className:L().items,children:m.map((e,t)=>(0,n.jsx)(B,{...e},t))})]})})})};var M=s(3466),W=s(3120),D=s(9689),F=s(2373),O=s(4388),R=s.n(O);let q=e=>{let{isOpen:t,onClose:s,data:a}=e,i=(0,F.G)("md"),r=e=>()=>{(0,g.D)({eventCategory:"homepage_finproducts",eventActionType:g.i.link,eventActionText:e,eventLabel:e})},l=(0,n.jsx)("div",{className:R().body,children:(0,n.jsx)("div",{className:R().list,children:a.map((e,t)=>(0,n.jsxs)("div",{className:R().listItem,children:[(0,n.jsx)("div",{className:R().listItemTitle,children:e.title}),(0,n.jsxs)("div",{className:R().chips,children:[!!e.link&&(0,n.jsxs)("a",{className:R().chip,href:e.link,onClick:r(e.title),children:[(0,n.jsx)("span",{className:R().chipText,children:e.linkName||"Смотреть все"}),(0,n.jsx)(C.IconFdsArrowUpRightO,{size:16})]}),e.chips.map((e,t)=>(0,n.jsx)("a",{className:(0,c.Z)(R().chip,{[R().new]:!!e.new}),href:e.link,onClick:r(e.title),children:(0,n.jsx)("span",{className:R().chipText,children:e.title})},t))]})]},t))})}),o=(0,n.jsx)(y.zx,{className:R().button,size:"m",onClick:s,children:"Закрыть"});return(0,n.jsx)(M.h,{children:i?(0,n.jsx)(D.j,{isOpen:t,onClose:s,footer:o,title:"Финпродукты",children:l}):(0,n.jsx)(W.d,{isOpen:t,onClose:s,title:"Финпродукты",contentClassName:R().content,titleAlign:"left",rowTitle:!0,width:"778px",children:l})})};var E=s(4425),U=s.n(E);let z=e=>{let{title:t,subTitle:s,value:a,variant:i}=e,r=(0,y.aF)("m"),[l,d]=(0,o.useState)(!1),[_,m]=(0,o.useState)(5),u=a.textBlocks.slice(0,_),h=a.pinned;(0,o.useLayoutEffect)(()=>{m(r?3:5)},[r]);let p=e=>()=>{(0,g.D)({eventCategory:"homepage_finproducts",eventActionType:g.i.link,eventActionText:e,eventLabel:e})};return(0,n.jsxs)("section",{className:(0,c.Z)(U().section,{[U().secondary]:"secondary"===i}),children:[(0,n.jsx)(j.W2,{children:(0,n.jsxs)("div",{className:U().content,children:[(0,n.jsx)("h1",{className:U().title,dangerouslySetInnerHTML:{__html:t}}),s&&(0,n.jsx)("div",{className:U().subtitle,dangerouslySetInnerHTML:{__html:s}}),(0,n.jsxs)("div",{className:U().blocksWrapper,children:[h?(0,n.jsxs)("a",{className:U().pinned,style:{background:h.background},href:h.link,onClick:p(h.title),children:[(0,n.jsxs)("div",{className:U().pinnedContent,children:[(0,n.jsxs)("div",{className:U().pinnedText,children:[(0,n.jsx)("div",{className:U().pinnedTextTitle,dangerouslySetInnerHTML:{__html:h.title}}),(0,n.jsx)("div",{className:U().pinnedTextDescription,dangerouslySetInnerHTML:{__html:h.description}})]}),(0,n.jsx)("img",{src:h.image,alt:h.title})]}),(0,n.jsx)(y.zx,{size:"s",children:h.buttonText})]}):null,(0,n.jsx)("div",{className:U().imageBlocksWrapper,children:a.imageBlocks.map((e,t)=>(0,n.jsxs)("a",{className:U().imageBlock,href:e.link,onClick:p(e.title),children:[(0,n.jsx)("div",{className:U().imageBlockTitle,dangerouslySetInnerHTML:{__html:e.title}}),(0,n.jsx)("div",{className:U().imageBlockDescription,dangerouslySetInnerHTML:{__html:e.description}}),(0,n.jsx)("img",{src:e.image,alt:e.title})]},t))}),(0,n.jsxs)("div",{className:U().textBlocksWrapper,children:[u.map((e,t)=>(0,n.jsxs)("a",{className:U().textBlock,href:e.link,onClick:p(e.title),children:[(0,n.jsx)("div",{className:U().textBlockTitle,dangerouslySetInnerHTML:{__html:e.title}}),(0,n.jsx)("div",{className:U().textBlockDescription,dangerouslySetInnerHTML:{__html:e.description}})]},t)),(0,n.jsxs)("button",{className:U().allProductsButton,onClick:()=>{(0,g.D)({eventCategory:"homepage_finproducts",eventActionType:g.i.link,eventActionText:"Все продукты",eventLabel:"Все продукты"}),d(!0)},children:[(0,n.jsx)("span",{children:"Все продукты"}),(0,n.jsx)(C.IconFdsArrowUpRightSmallO,{size:32,className:U().icon}),(0,n.jsx)(C.IconFdsArrowUpRightSmallO,{size:24,className:U().iconMobile})]})]})]})]})}),(0,n.jsx)(q,{data:a.modal,isOpen:l,onClose:()=>d(!1)})]})};var V=s(5920),Z=s.n(V);let Y=e=>{let{title:t,description:s,url:a,img:i}=e;return(0,n.jsxs)("a",{className:Z().review,href:a,target:"_blank",onClick:()=>{(0,g.D)({eventCategory:"homepage_otzyvy",eventActionType:g.i.link,eventActionText:t,eventLabel:a})},children:[(0,n.jsxs)("div",{className:Z().info,children:[(0,n.jsx)("span",{className:Z().title,children:t}),(0,n.jsx)("span",{className:Z().description,children:s})]}),(0,n.jsx)(C.IconFdsArrowUpRightSmallO,{className:Z().icon,size:32}),i&&(0,n.jsx)("img",{className:Z().image,src:i,alt:""})]})};var $=s(4322),X=s.n($);let K=e=>{let{title:t,description:s,items:a}=e;return(0,n.jsx)("div",{className:X().section,children:(0,n.jsx)(j.W2,{children:(0,n.jsxs)("div",{className:X().wrapper,children:[(0,n.jsxs)("div",{className:X().heading,children:[(0,n.jsx)("h2",{className:X().title,children:t}),s&&(0,n.jsx)("p",{className:X().description,children:s})]}),(0,n.jsx)("div",{className:X().reviews,children:a.map((e,t)=>(0,n.jsx)(Y,{...e},t))})]})})})};var G=s(4197);let Q=e=>{let{name:t,classname:s}=e,a=(0,o.useMemo)(()=>t&&C[t]||null,[t]);return t&&a?(0,n.jsx)(a,{className:s}):null};var J=s(1938),ee=s(9063),et=s.n(ee);let es="homepage_servis",en=e=>{var t,s,a,i;let{data:r}=e,[l,c]=(0,o.useState)("buy"),[d,_]=(0,o.useState)(!1),m=(0,y.aF)("s");if((0,o.useEffect)(()=>{_(m)},[m]),!r)return null;let u=r.currencyExchange||{},h=null!==(s=r.items)&&void 0!==s?s:[],p=null!==(a=null==u?void 0:null===(t=u.params)||void 0===t?void 0:t.currencies)&&void 0!==a?a:[],v=null!==(i=r.cards)&&void 0!==i?i:[],x="buy"===l?null==u?void 0:u.buyTooltip:null==u?void 0:u.sellTooltip,N=(e,t)=>{(0,g.D)({eventCategory:es,eventActionType:g.i.link,eventActionText:e||"",eventLabel:t})};return(0,n.jsx)("section",{className:et().wrapper,children:(0,n.jsx)(j.W2,{children:(0,n.jsxs)("div",{className:et().body,children:[(0,n.jsx)("h2",{className:et().title,children:r.title}),(0,n.jsxs)("div",{className:et().services,children:[u&&(0,n.jsxs)("article",{className:et().currencyCard,children:[(0,n.jsxs)("div",{className:et().currencyHeader,children:[(0,n.jsx)("h3",{className:et().currencyTitle,children:u.title}),u.dt&&(0,n.jsx)("span",{className:et().currencyDate,children:(0,J.p6)(u.dt)})]}),d?(0,n.jsxs)("div",{className:et().mobileTabs,children:[(0,n.jsx)(y.sY,{tabs:[{id:"buy",label:"Купить"},{id:"sell",label:"Продать"}],onTabChange:e=>c(e),size:"s",weightVariant:"medium",stretch:!0}),x&&(0,n.jsx)("p",{className:et().currencyHint,children:x})]}):(0,n.jsxs)("div",{className:et().currencyTableHead,children:[(0,n.jsx)("span",{className:et().currencyHeadLabel,children:"Валюта"}),(0,n.jsxs)("div",{className:et().currencyHeadColumn,children:[(0,n.jsx)("span",{children:"Купить"}),(0,n.jsx)(y.u,{text:u.buyTooltip||"",children:(0,n.jsx)(C.IconFdsQuestionCircleO,{className:et().tooltip,size:16})})]}),(0,n.jsxs)("div",{className:et().currencyHeadColumn,children:[(0,n.jsx)("span",{children:"Продать"}),(0,n.jsx)(y.u,{text:u.sellTooltip||"",children:(0,n.jsx)(C.IconFdsQuestionCircleO,{className:et().tooltip,size:16})})]})]}),(0,n.jsx)("div",{className:et().currencyList,children:p.map(e=>(0,n.jsxs)("div",{className:et().currencyRow,children:[(0,n.jsxs)("div",{className:et().currencyInfo,children:[(0,n.jsx)("img",{src:e.icon,alt:e.label,width:"40",height:"40"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:et().currencyLabel,children:e.label}),(0,n.jsx)("span",{className:et().currencyCode,children:e.code})]})]}),d?(0,n.jsx)("div",{className:et().currencyValue,children:"buy"===l?e.buy:e.sell}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:et().currencyValue,children:e.buy}),(0,n.jsx)("div",{className:et().currencyValue,children:e.sell})]})]},e.code))}),u.url&&u.urlText&&(0,n.jsx)(G.j,{className:et().currencyLink,text:u.urlText,href:u.url,mainPageUrl:es})]}),h.length?(0,n.jsx)("div",{className:et().featureList,children:h.map((e,t)=>(0,n.jsxs)("a",{href:e.url,target:"_blank",className:et().featureCard,onClick:()=>N(e.title,e.url),children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:et().featureTitle,children:e.title}),(0,n.jsx)("p",{className:et().featureDescription,children:e.description})]}),(0,n.jsxs)("div",{className:et().featureFooter,children:[(0,n.jsx)(y.zx,{className:et().featureButton,iconRight:(0,n.jsx)(C.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon"}),e.img&&(0,n.jsx)("img",{src:e.img,alt:e.title||"",className:et().featureImage})]})]},"".concat(e.title,"-").concat(t)))}):null]}),v.length?(0,n.jsx)(y.iR,{className:et().toolsSlider,options:{slidesPerView:"auto",spaceBetween:16},breakpoints:{s:{slidesPerView:3,spaceBetween:16},xl:{slidesPerView:5,spaceBetween:24},"2xl":{slidesPerView:"auto",spaceBetween:24}},pagination:!0,children:v.map((e,t)=>(0,n.jsx)(y.wI,{className:et().toolSlide,children:(0,n.jsxs)("a",{href:e.url,className:et().toolCard,onClick:()=>N(e.title,e.url),children:[(0,n.jsx)("div",{className:et().toolIcon,style:{backgroundColor:e.color},children:(0,n.jsx)(Q,{name:e.icon})}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e.title||""}})]})},t))}):null]})})})};var ea=s(2255),ei=s.n(ea);let er=e=>{let{title:t,description:s,items:a}=e,i=e=>{(0,g.D)({eventCategory:"homepage_mozhno_doveryat",eventActionType:g.i.link,eventActionText:e})};return(0,n.jsx)("div",{className:ei().section,children:(0,n.jsx)(j.W2,{children:(0,n.jsxs)("div",{className:ei().wrapper,children:[(0,n.jsxs)("div",{className:ei().heading,children:[(0,n.jsx)("h2",{className:ei().title,children:t}),s&&(0,n.jsx)("p",{className:ei().description,children:s})]}),(0,n.jsx)("div",{className:ei().cards,children:a.map((e,t)=>{let{img:s,title:a}=e;return(0,n.jsxs)("div",{className:ei().card,onClick:()=>i(a),children:[(0,n.jsx)("img",{className:ei().image,src:s,alt:""}),(0,n.jsx)("span",{className:ei().text,children:a})]},t)})})]})})})};var el=s(95),ec=s.n(el);let eo=e=>{let{data:t,bestOffers:s}=e,o=(0,h.S)();return(0,n.jsxs)("div",{className:ec().page,children:[(0,n.jsx)(T,{data:t.banner,variant:"secondary"}),(0,n.jsxs)("div",{className:(0,c.Z)(ec().scrollContent),children:[(0,n.jsx)(z,{variant:"secondary",...t.finProducts,subTitle:t.finProducts.value.description||"",title:t.finProducts.value.title||""}),s&&(0,n.jsx)(u,{children:(0,n.jsx)(a.MJ,{tabs:s,baseUrl:o.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(o.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:x.l,theme:"gray"})}),(0,n.jsx)(u,{children:(0,n.jsx)(en,{data:t.services.value})}),(0,n.jsx)(u,{children:(0,n.jsx)(K,{...t.reviews.value})}),(0,n.jsx)(u,{children:(0,n.jsx)("div",{className:ec().journalWrapper,children:(0,n.jsx)(r.t,{data:(0,v.q)(t.navigator.value),eventCategory:"homepage_journal"})})}),(0,n.jsx)(u,{children:(0,n.jsx)(A,{...t.investSchool.value})}),(0,n.jsx)(u,{children:(0,n.jsx)(er,{...t.trust.value})}),(0,n.jsx)(u,{children:(0,n.jsx)(l.B,{...t.support.value,s3Assets:o.NEXT_PUBLIC_S3_ASSETS})}),(0,n.jsx)(u,{children:(0,n.jsx)(i.C,{sectionTitle:t.faq.value.title,questions:(0,p.O)(t.faq.value.items),dataLayerPush:x.l,href:t.faq.value.url,checkAllText:"Читать все вопросы"})})]})]})}},6685:function(e,t,s){"use strict";s.d(t,{B:function(){return m},O:function(){return _}});var n=s(7437),a=s(4365),i=s(3145),r=s(2268);let l=e=>{e.data.forEach((t,s)=>{"header"===t.type&&(e.headerBlocksCount++,3===e.headerBlocksCount&&("banner"===e.data[s-1].type&&(e.banner=e.data.splice(s-1,1)),"banner"===e.data[s+1].type&&(e.banner=e.data.splice(s+1,1))),e.banner&&4===e.headerBlocksCount&&e.data.splice(s,0,e.banner[0]))})};var c=s(4464),o=s.n(c);let d=e=>{let{className:t,data:s}=e;if(!Array.isArray(s))return null;let c=(()=>{let e=[],t=1,a={data:s,headerBlocksCount:0,banner:[]};return l(a),l(a),s.forEach((s,a)=>{switch(s.type){case"header":e.push((0,n.jsx)("h2",{id:"content_header_".concat(t),role:"header",children:s.data.text||""},a)),t++;break;case"sub_header":e.push((0,n.jsx)("h3",{role:"sub-header",children:s.data.text||""},a));break;case"paragraph":e.push((0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:s.data.text||""},role:"paragraph"},a));break;case"link":e.push((0,n.jsx)("div",{className:o().blockLink,children:(0,n.jsx)("a",{target:"_blank",href:s.data.url||"",role:"link",children:s.data.text||""})},a));break;case"dossier":e.push((0,n.jsxs)("div",{className:o().dossierDateItem,children:[(0,n.jsx)("span",{className:o().date,role:"dossier-year",children:s.data.year||""}),(0,n.jsx)("div",{className:o().text,dangerouslySetInnerHTML:{__html:s.data.text||""},role:"dossier-text"})]},a));break;case"html":e.push((0,n.jsx)("div",{className:o().htmlBlock,dangerouslySetInnerHTML:{__html:(0,r.$)(s.data.html||"")},role:"html"},a));break;case"annotation":e.push((0,n.jsx)("div",{className:o().annotation,dangerouslySetInnerHTML:{__html:(0,r.$)(s.data.text||"")},role:"annotation"},a));break;case"company-annotation":e.push((0,n.jsx)("div",{className:o().companyAnnotation,dangerouslySetInnerHTML:{__html:s.data.text||""},role:"company-annotation"},a));break;case"keynote":e.push((0,n.jsx)("div",{className:o().keynoteWrapper,children:(0,n.jsx)("p",{className:o().keynote,dangerouslySetInnerHTML:{__html:s.data.text||""},role:"keynote"})},a));break;case"image":e.push((0,n.jsx)(i.default,{src:s.data.url||"",alt:"image",fill:!0},a));break;case"table":e.push((0,n.jsxs)("div",{className:o().contentTableWrapper,children:[s.data.title?(0,n.jsx)("h4",{role:"table-title",children:s.data.title}):"",(0,n.jsx)("div",{className:o().contentTableContent,dangerouslySetInnerHTML:{__html:(0,r.$)(s.data.html||"")},role:"table-content"})]},a))}}),e})();return(0,n.jsx)("div",{className:(0,a.Z)(o().contentBlocks,t),role:"blocks",children:c})},_=e=>e.map(e=>({title:e.title,content:(0,n.jsx)(d,{data:[{type:"html",data:{html:e.description}}]})})),m=e=>e.map(e=>({title:e.question,content:(0,n.jsx)(d,{data:[{type:"html",data:{html:e.answer}}]})}))},9798:function(e,t,s){"use strict";s.d(t,{q:function(){return i}});var n=s(7731);let a=(e,t)=>{var s;let n=null===(s=t.items)||void 0===s?void 0:s.map(t=>({...t,url:"".concat(e.NEXT_PUBLIC_BASE_URL,"/").concat(t.url),img:"".concat(e.NEXT_PUBLIC_BASE_URL,"/img/posts/big/").concat(t.img)}));return{...t,items:n}},i=e=>{var t;let s=(0,n.S)(),i=null===(t=e.chips)||void 0===t?void 0:t.map(e=>a(s,e));return{...e,chips:i}}},2268:function(e,t,s){"use strict";s.d(t,{$:function(){return i}});let n=["finuslugi.ru","inguru.dev","moex.com"],a=e=>e.includes("//")&&!n.find(t=>e&&e.indexOf(t)>=0),i=e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>"".concat(e).concat(a(t)?' rel="nofollow"':"")):""},2035:function(e){e.exports={animationSection:"AnimatedSection_animationSection__2ILWq",fadeIn:"AnimatedSection_fadeIn__edPe2"}},4464:function(e){e.exports={contentBlocks:"FaqContentBlock_contentBlocks__mK36G",annotation:"FaqContentBlock_annotation__Uorcb",contentTableWrapper:"FaqContentBlock_contentTableWrapper__j8ddj",keynoteWrapper:"FaqContentBlock_keynoteWrapper__9uVMi",keynote:"FaqContentBlock_keynote__IoZrR",blockLink:"FaqContentBlock_blockLink__9SGlK"}},95:function(e){e.exports={page:"HomePage_page__V7gby",scrollContent:"HomePage_scrollContent__vtuB8",journal:"HomePage_journal__bUjl5"}},6657:function(e){e.exports={banner:"HomeBanners_banner__h6bfj",wrapper:"HomeBanners_wrapper__wX1ns",container:"HomeBanners_container__0_4uS",innerWrapper:"HomeBanners_innerWrapper__IhA2U",info:"HomeBanners_info__33AhQ",title:"HomeBanners_title__Xh5ew",white:"HomeBanners_white__Cqn2X",subtitle:"HomeBanners_subtitle__TjLzV",button:"HomeBanners_button__DU1os",background:"HomeBanners_background___teMC",secondary:"HomeBanners_secondary__AkHpM",desktopOnly:"HomeBanners_desktopOnly__htN7X",mobileOnly:"HomeBanners_mobileOnly__pMKHH"}},406:function(e){e.exports={overlay:"HomeBannerOverlay_overlay__VTwsh"}},3698:function(e){e.exports={item:"HomeInvestSchoolCard_item__UvuzM",title:"HomeInvestSchoolCard_title__OrvoL",info:"HomeInvestSchoolCard_info__0CPa5",description:"HomeInvestSchoolCard_description__PTcVC",tags:"HomeInvestSchoolCard_tags__f4WF3",tag:"HomeInvestSchoolCard_tag__MSDPj",tagImage:"HomeInvestSchoolCard_tagImage__Y6ir7",tagTitle:"HomeInvestSchoolCard_tagTitle__wASBz",icon:"HomeInvestSchoolCard_icon__FaMvU",image:"HomeInvestSchoolCard_image__qmlqg"}},1067:function(e){e.exports={section:"styles_section__tY9DC",title:"styles_title__VT3D1",wrapper:"styles_wrapper__SV4WU",description:"styles_description__MCEx7",chips:"styles_chips__wdodL",items:"styles_items__N8HAN"}},4425:function(e){e.exports={title:"HomeProducts_title__wviGz",imageBlockTitle:"HomeProducts_imageBlockTitle__aBaIT",textBlockTitle:"HomeProducts_textBlockTitle__3kuty",allProductsButton:"HomeProducts_allProductsButton__syVuW",section:"HomeProducts_section__w_WS0",secondary:"HomeProducts_secondary__N4K_6",pinnedTextTitle:"HomeProducts_pinnedTextTitle__geE4Y",subtitle:"HomeProducts_subtitle__fwl28",blocksWrapper:"HomeProducts_blocksWrapper__2E5Vp",pinned:"HomeProducts_pinned__EzXlP",pinnedContent:"HomeProducts_pinnedContent__imZHg",pinnedText:"HomeProducts_pinnedText__yYgBe",pinnedTextDescription:"HomeProducts_pinnedTextDescription__vhQWO",imageBlocksWrapper:"HomeProducts_imageBlocksWrapper__THdZT",imageBlock:"HomeProducts_imageBlock__35R7W",imageBlockDescription:"HomeProducts_imageBlockDescription__KbQZl",textBlocksWrapper:"HomeProducts_textBlocksWrapper__WIWh0",textBlock:"HomeProducts_textBlock__SVl8D",textBlockDescription:"HomeProducts_textBlockDescription__Wi2Xt",icon:"HomeProducts_icon__Tcwdm",iconMobile:"HomeProducts_iconMobile__lPzsB"}},4388:function(e){e.exports={content:"HomeProductsModal_content__djAhl",body:"HomeProductsModal_body__wfd2s",button:"HomeProductsModal_button__ba1N_",list:"HomeProductsModal_list__OB_vU",listItem:"HomeProductsModal_listItem__WmSYH",listItemTitle:"HomeProductsModal_listItemTitle__joChk",chip:"HomeProductsModal_chip__mAg4G",chipText:"HomeProductsModal_chipText__S8P0F",chips:"HomeProductsModal_chips__TuIk_",new:"HomeProductsModal_new__TN0pi"}},4322:function(e){e.exports={section:"HomeReviewsAboutFinuslugi_section__IlQm9",title:"HomeReviewsAboutFinuslugi_title__taAYV",wrapper:"HomeReviewsAboutFinuslugi_wrapper__eCqDG",description:"HomeReviewsAboutFinuslugi_description__8352p",reviews:"HomeReviewsAboutFinuslugi_reviews__dvM5j"}},5920:function(e){e.exports={review:"Review_review__TP3LW",title:"Review_title__LpPZC",info:"Review_info__fY_Ea",description:"Review_description__Se3oZ",icon:"Review_icon__f8DtO",image:"Review_image__H971c"}},9063:function(e){e.exports={currencyTitle:"HomeServices_currencyTitle__oTsMp",featureTitle:"HomeServices_featureTitle__R0_SK",toolCard:"HomeServices_toolCard__XlJkU",wrapper:"HomeServices_wrapper__frT4V",body:"HomeServices_body__WBpnu",title:"HomeServices_title__xDag9",services:"HomeServices_services__BmN1d",currencyCard:"HomeServices_currencyCard__SNP2I",currencyHeader:"HomeServices_currencyHeader__8jdKy",currencyDate:"HomeServices_currencyDate__jmNSx",mobileTabs:"HomeServices_mobileTabs___ZH_G",currencyHint:"HomeServices_currencyHint__FwirH",currencyTableHead:"HomeServices_currencyTableHead__Sqv74",currencyHeadLabel:"HomeServices_currencyHeadLabel__PgS9R",currencyHeadColumn:"HomeServices_currencyHeadColumn__MRqph",tooltip:"HomeServices_tooltip__TKOCk",currencyList:"HomeServices_currencyList__YhGy2",currencyRow:"HomeServices_currencyRow__tlc65",currencyInfo:"HomeServices_currencyInfo__8EiZh",currencyLabel:"HomeServices_currencyLabel__UnNKO",currencyCode:"HomeServices_currencyCode__nial9",currencyValue:"HomeServices_currencyValue__tcDAw",currencyLink:"HomeServices_currencyLink__2pefI",featureList:"HomeServices_featureList__fQ1Y6",featureCard:"HomeServices_featureCard__XdT7r",featureDescription:"HomeServices_featureDescription__ftwFN",featureFooter:"HomeServices_featureFooter__A6OOq",featureButton:"HomeServices_featureButton__DM0Nq",featureImage:"HomeServices_featureImage__Y54so",toolsSlider:"HomeServices_toolsSlider__Zrx8x",toolSlide:"HomeServices_toolSlide__OgW2G",toolIcon:"HomeServices_toolIcon__MbU_Q"}},2255:function(e){e.exports={section:"HomeYouCanTrust_section__CctaD",title:"HomeYouCanTrust_title__gTVbh",card:"HomeYouCanTrust_card__vypDa",text:"HomeYouCanTrust_text__JHYjo",wrapper:"HomeYouCanTrust_wrapper__c80WP",description:"HomeYouCanTrust_description__iiK4Z",cards:"HomeYouCanTrust_cards__lFV5_",image:"HomeYouCanTrust_image__MKW_o"}},9226:function(e,t,s){"use strict";s.d(t,{C:function(){return u}});var n=s(7437),a=s(5563),i=s(5461),r=s(4365),l=s(2265),c=s(1620),o=s(5771);let d=(0,s(2074).g)("faq-block","sc"),_=Object.freeze({faqBlock:d,titleWrapper:`${d}__title-wrapper`,title:`${d}__title`,accordionWrapper:`${d}__accordion-wrapper`,accordionItems:`${d}__accordion-items`,accordion:`${d}__accordion`,accordionItem:`${d}__accordion-item`,accordionItemContent:`${d}__accordion-item-content`,accordionActiveItemContent:`${d}__accordion-item-content--active`,accordionItemText:`${d}__accordion-item-text`,states:{primary:`${d}--primary`,secondary:`${d}--secondary`}}),m=({question:e,eventCategory:t,dataLayerPush:s,...a})=>(0,n.jsx)(i.Qd,{...a,title:e.title,outline:!1,className:(0,r.Z)(_.accordionItem),children:(0,n.jsx)("div",{className:(0,r.Z)(_.accordionItemContent,{[_.accordionActiveItemContent]:a.isActive}),onClick:e=>{e.target instanceof HTMLAnchorElement&&s({event:"data-event",eventCategory:t,eventAction:"click_link",eventLabel:e.target.href})},children:e.content})}),u=({sectionTitle:e="Частые вопросы",innerTitle:t,questions:s=[],href:d,checkAllText:u,Link:h,className:p,eventCategory:v="cb-faq",multiple:x=!1,variant:j="secondary",dataLayerPush:y})=>{let g=x?s.map(e=>e.title):[],[N,b]=(0,l.useState)(g);return(0,n.jsx)("section",{className:(0,r.Z)(_.faqBlock,_.states[j],p),children:(0,n.jsxs)(a.W2,{children:[!t&&(0,n.jsx)("div",{className:_.titleWrapper,children:(0,n.jsx)(a.X6,{as:"h2",type:"display",className:_.title,children:e})}),(0,n.jsxs)("div",{className:_.accordionWrapper,children:[t&&(0,n.jsx)(a.X6,{as:"h3",type:"h1",className:(0,r.Z)(_.title,`${_.title}--inner`),children:t}),(0,n.jsx)("div",{className:_.accordionItems,children:(0,n.jsx)(i.UQ,{className:_.accordion,activeIndex:N,onTabToggle:e=>{let t=(null==e?void 0:e.length)>(null==N?void 0:N.length),s=e.filter(e=>!N.includes(e))[0]||N.filter(t=>!e.includes(t))[0];b(e),y({event:"data-event",eventCategory:v,eventAction:`click_togg_${t?"on":"off"}`,eventLabel:(0,c.t)(String(s))})},multiple:x,children:s.map(e=>(0,n.jsx)(m,{id:e.title,question:e,dataLayerPush:y,eventCategory:v},e.title))})}),d&&u&&(0,n.jsx)(o.C,{href:d,event:{event:"data-event",eventCategory:v,eventAction:"сlick_link_answer-link",eventLabel:d},dataLayerPush:y,Link:h,iconGrayBackground:!0,children:u||"Читать все вопросы"})]})]})})}}},function(e){e.O(0,[3132,8985,3544,5501,207,7339,5878,6663,5424,7991,9488,2971,2117,1744],function(){return e(e.s=6188)}),_N_E=e.O()}]);