(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3222],{18418:function(e,n,t){"use strict";var c,r,i=t(67294);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)({}).hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(null,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 25 24"},e),c||(c=i.createElement("rect",{width:24,height:24,x:.5,fill:"#F3F4F6",rx:12})),r||(r=i.createElement("path",{fill:"#525BBB",d:"m15.024 10.152-4.888-1.31a.667.667 0 0 1 .345-1.287l6.44 1.725a.667.667 0 0 1 .471.816l-1.725 6.44a.667.667 0 0 1-1.288-.345l1.31-4.887-6.771 3.914a.666.666 0 0 1-.914-.245.666.666 0 0 1 .245-.914z"})))}},51469:function(e,n,t){"use strict";t.d(n,{g:function(){return i}});var c=t(85893),r=t(23652);function i(e){let{questions:n}=e;return 0===n.length?null:(0,c.jsx)(r.V,{schema:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:n.map(e=>({"@type":"Question",name:e.title,acceptedAnswer:{"@type":"Answer",text:e.plainText}}))}})}},17954:function(e,n,t){"use strict";function c(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function r(e){let n=Math.floor(Math.random()*e.length);return e[n]}t.d(n,{U:function(){return r},q:function(){return c}})},91886:function(e,n,t){"use strict";t.d(n,{Vv:function(){return o},rf:function(){return r},ys:function(){return i}});var c=t(67294);let r=(e,n)=>{let t=(0,c.useRef)(!1);(0,c.useEffect)(()=>{t.current?e():t.current=!0},n)};function i(e){let n=(0,c.useRef)(e);return n.current=e,n}let o=c.memo},71276:function(e,n,t){"use strict";t.d(n,{o:function(){return a}});var c=t(85893),r=t(67294),i=t(84053),o=t(23652);let a=(0,r.memo)(()=>(0,c.jsx)(o.V,{schema:function(){let{mainBaseUrl:e,basePath:n}=(0,i.ZR)();return{"@context":"https://schema.org","@type":"Organization",name:"finuslugi.ru",legalName:"ПАО \xabМосковская Биржа\xbb",url:e,logo:"".concat(e,"/").concat(n,"/images/logo-1200x630.jpg"),sameAs:["https://vk.com/finuslugiru","https://t.me/MoexFinuslugi","https://zen.yandex.ru/finuslugi"],address:{"@type":"PostalAddress",addressLocality:"Москва",streetAddress:"Большой Кисловский переулок, дом 13",postalCode:"125009",addressCountry:"RU"},contactPoint:[{"@type":"ContactPoint",email:"service@finuslugi.ru",telephone:"+74951453232",contactType:"customer service",areaServed:"RU",availableLanguage:"Russian"}]}}()}));a.displayName="OrganizationSchema"},23652:function(e,n,t){"use strict";t.d(n,{V:function(){return o}});var c=t(85893),r=t(9008),i=t.n(r);function o(e){let{schema:n}=e;return(0,c.jsx)(i(),{children:(0,c.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})})}},37502:function(e,n,t){"use strict";t.d(n,{B:function(){return o}});var c=t(85893),r=t(6024),i=t(84053);function o(e){let{value:n}=e,{assetsBaseUrl:t}=(0,i.iE)();return(0,c.jsx)(r.B,{s3Assets:t,phoneCard:n.phoneCard,appCard:n.appCard})}},38090:function(e,n,t){"use strict";t.d(n,{r5:function(){return o}});var c=t(65709),r=t(17954);async function i(e){return(await (0,c.C8)("quotes?quoteUrl=".concat(encodeURIComponent(e),"&published=true"))).content}async function o(e){var n;return null!==(n=await (0,c.m6)("showcases/expert-quote?".concat(e)))&&void 0!==n?n:void 0}async function a(e){let n=await i(e);if(void 0!==n)return(0,r.U)(n)}new(t(32368)).n(a)},78575:function(e,n,t){"use strict";t.d(n,{c:function(){return i}});var c=t(85893),r=t(83343);function i(e){let{quote:n}=e;return(0,c.jsx)(r.c,{quote:n})}},7889:function(e,n,t){"use strict";t.d(n,{l:function(){return i}});var c=t(85893),r=t(86010);let i=e=>{let{children:n,className:t,style:i,...o}=e;return(0,c.jsx)("span",{className:(0,r.Z)(t,"private-icon"),style:i,...o,children:n})};i.displayName="PrivateIcon"},44215:function(e,n,t){"use strict";t.d(n,{B:function(){return w}});var c,r=t(85893),i=t(66535),o=t(86010),a=t(67294),l=t(19438);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)({}).hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(null,arguments)}var u=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),c||(c=a.createElement("path",{fill:"#1F242E",d:"M7.466 19.551A1.48 1.48 0 0 1 7 18.481c0-.401.167-.786.466-1.07l5.667-5.449L7.466 6.59A1.48 1.48 0 0 1 7 5.52c0-.401.167-.786.466-1.07.148-.142.325-.255.52-.332a1.68 1.68 0 0 1 1.232 0c.195.077.372.19.52.332l6.788 6.435c.15.141.27.31.35.494a1.45 1.45 0 0 1 0 1.168c-.08.185-.2.353-.35.494L9.74 19.55a1.6 1.6 0 0 1-.521.332 1.68 1.68 0 0 1-1.232 0 1.6 1.6 0 0 1-.52-.332"})))},d=t(7889),p=t(42010),_=t.n(p);let h=e=>{let{className:n,opened:t=!1,onChange:c=()=>null,title:i="",children:l,caption:s="",icon:p,state:h,message:f=""}=e,v=(0,a.useRef)(null),m=t&&v.current?{height:"".concat(v.current.scrollHeight,"px")}:{};return(0,r.jsxs)("div",{className:(0,o.Z)(_().accordion,n),children:[(0,r.jsxs)("div",{className:(0,o.Z)(_().body,{[_().opened]:t}),children:[(0,r.jsxs)("div",{role:"button",tabIndex:0,className:_().heading,onClick:c,children:[p&&(0,r.jsx)("span",{className:_().icon,children:(0,r.jsx)(d.l,{children:p})}),(0,r.jsxs)("span",{className:_().text,children:[(0,r.jsx)("h3",{className:_().title,children:i}),(0,r.jsx)("span",{className:_().caption,children:s})]}),(0,r.jsx)(d.l,{className:_().arrow,children:(0,r.jsx)(u,{className:_().icon})})]}),(0,r.jsx)("div",{ref:v,role:"region",className:(0,o.Z)(_().wrapper,{[_().hidden]:!t}),style:m,children:(0,r.jsx)("div",{className:_().content,children:l})})]}),f&&(0,r.jsx)("div",{className:_().uiCaption,children:(0,r.jsx)("div",{className:(0,o.Z)({[_().error]:"error"===h}),children:f})})]})};h.displayName="UiAccordion";let f=e=>{let{className:n,children:t,values:c,onChange:i}=e;return(0,r.jsx)("div",{className:(0,o.Z)(n),children:a.Children.map(t,e=>{let n=e.props.value,t=c.includes(n);return(0,a.cloneElement)(e,{opened:t,onChange:()=>{i({values:t?c.filter(e=>e!==n):[...c,n],value:n,opened:t})}})})})};var v=t(18418),m=t(71357),x=t.n(m);let g=e=>{let{children:n,className:t,event:c,Link:i,href:a,dataLayerPush:l}=e;return(0,r.jsx)("div",{className:(0,o.Z)(x().checkAllWrapper,t),onClick:()=>{c&&l(c)},children:(0,r.jsxs)(i,{className:x().link,href:a,children:[n,(0,r.jsx)(d.l,{className:x().icon,children:(0,r.jsx)(v.Z,{})})]})})};g.displayName="CheckAllLink";var A=t(50585),k=t.n(A);let y=e=>{let{questions:n=[],eventCategory:t="common",checkAllText:c,dataLayerPush:i,Link:l,href:s,sectionTitle:u,isExpanded:d=!1,isAllExpanded:p=!1,variant:_="default"}=e,v=(0,a.useCallback)(()=>{if(p)return n.map(e=>e.title);if(d){var e;return[null===(e=n[0])||void 0===e?void 0:e.title]}return[]},[n,d,p]),[m,x]=(0,a.useState)(v);return((0,a.useEffect)(()=>{x(v())},[v]),n.length)?(0,r.jsxs)("div",{className:k().faqBlock,children:[u&&(0,r.jsx)("h2",{className:k().title,children:u}),(0,r.jsx)(f,{values:m,onChange:e=>{let{values:n,value:c,opened:r}=e;i({event:"data-event",eventCategory:t,eventAction:"click_on_faq_question_".concat(r?"collapse":"expand"),eventLabel:"faq_block",eventValue:c}),x(n)},children:n.map(e=>{let{title:n,text:t}=e;return(0,r.jsx)(h,{className:(0,o.Z)(k().accordion,k()["accordion--".concat(_)]),title:n,value:n,children:"string"==typeof t?(0,r.jsx)("div",{className:k().content,dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)("div",{className:k().content,children:t})},n)})}),l&&s&&c&&(0,r.jsx)(g,{className:k().link,href:s,event:{event:"data-event",eventCategory:t,eventAction:"click_on_read_all_questions_button",eventLabel:"faq_block"},dataLayerPush:i,Link:l,children:c||"Читать все вопросы"})]}):null};var j=t(5192),N=t.n(j);let w=(0,a.memo)(e=>{let{newContainer:n=!1,sectionTitle:t="Частые вопросы",faqBlockTitle:c="Частые вопросы",idFAQBlock:a,questions:s=[],dataLayerPush:u,eventCategory:d,checkAllText:p,Link:_,href:h,isExpanded:f,isAllExpanded:v,variant:m="default",className:x}=e,g=n?i.W2:l.t;return(0,r.jsx)("section",{className:(0,o.Z)(N().supportSection,N()["supportSection--".concat(m)],x),id:a,children:(0,r.jsxs)(g,{className:n?void 0:N().noPadding,children:[t&&(0,r.jsx)("h2",{className:N().title,children:t}),(0,r.jsx)(y,{sectionTitle:c,questions:s,eventCategory:d,checkAllText:p,dataLayerPush:u,Link:_,href:h,isExpanded:f,isAllExpanded:v,variant:m})]})})});w.displayName="UiFAQBlock"},42010:function(e){e.exports={accordion:"Accordion_accordion__jiZSo",body:"Accordion_body__UCEKf",opened:"Accordion_opened___mIgV",arrow:"Accordion_arrow__MxD3n",wrapper:"Accordion_wrapper__wl1jd",heading:"Accordion_heading__c1Nty",text:"Accordion_text__ytimm",title:"Accordion_title__TW0s9",icon:"Accordion_icon__4ER_k",hidden:"Accordion_hidden__waLzM",content:"Accordion_content__cvCsV",caption:"Accordion_caption__AHtDb",uiCaption:"Accordion_uiCaption__yK3dA",error:"Accordion_error__lDkkc"}},5192:function(e){e.exports={supportSection:"FAQBlock_supportSection__nBh6q",noPadding:"FAQBlock_noPadding__G1pWN","supportSection--default":"FAQBlock_supportSection--default__OsjCA",title:"FAQBlock_title__GDPgx","supportSection--secondary":"FAQBlock_supportSection--secondary__pvSti"}},71357:function(e){e.exports={checkAllWrapper:"CheckAllLink_checkAllWrapper__5qaKf",link:"CheckAllLink_link___9cvw",icon:"CheckAllLink_icon__rFVbv"}},50585:function(e){e.exports={faqBlock:"FAQBlock_faqBlock__cWLG2",title:"FAQBlock_title__ZHM6E",accordion:"FAQBlock_accordion__Q0LXh","accordion--default":"FAQBlock_accordion--default__wR261","accordion--secondary":"FAQBlock_accordion--secondary__vpWgf",content:"FAQBlock_content__bfX78",link:"FAQBlock_link___SWxz"}}}]);