(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1653],{162:(e,t,n)=>{"use strict";n.d(t,{Zs:()=>l});var c=n(12771),a=n(14731);async function r(e){return(await (0,c.aB)("quotes?quoteUrl=".concat(encodeURIComponent(e),"&published=true"))).content}async function l(e){var t;return null!=(t=await (0,c.pY)("showcases/expert-quote?".concat(e)))?t:void 0}async function i(e){let t=await r(e);if(void 0!==t)return(0,a.X)(t)}new(n(73584)).AP(i)},9837:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var c=n(37876),a=n(27116);function r(e){let{questions:t}=e;return 0===t.length?null:(0,c.jsx)(a.S,{schema:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.map(e=>({"@type":"Question",name:e.title,acceptedAnswer:{"@type":"Answer",text:e.plainText}}))}})}},14731:(e,t,n)=>{"use strict";function c(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function a(e){let t=Math.floor(Math.random()*e.length);return e[t]}n.d(t,{$:()=>c,X:()=>a})},17207: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"}},27116:(e,t,n)=>{"use strict";n.d(t,{S:()=>l});var c=n(37876),a=n(77328),r=n.n(a);function l(e){let{schema:t}=e;return(0,c.jsx)(r(),{children:(0,c.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})})}},33528: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"}},40087:e=>{e.exports={checkAllWrapper:"CheckAllLink_checkAllWrapper__5qaKf",link:"CheckAllLink_link___9cvw",icon:"CheckAllLink_icon__rFVbv"}},48673:(e,t,n)=>{"use strict";n.d(t,{aK:()=>l,qb:()=>r,w5:()=>a});var c=n(14232);let a=(e,t)=>{let n=(0,c.useRef)(!1);(0,c.useEffect)(()=>{n.current?e():n.current=!0},t)};function r(e){let t=(0,c.useRef)(e);return t.current=e,t}let l=c.memo},66460:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var c=n(37876),a=n(14232),r=n(33126),l=n(27116);let i=(0,a.memo)(()=>(0,c.jsx)(l.S,{schema:function(){let{mainBaseUrl:e,basePath:t}=(0,r.UK)();return{"@context":"https://schema.org","@type":"Organization",name:"finuslugi.ru",legalName:"ПАО \xabМосковская Биржа\xbb",url:e,logo:"".concat(e).concat(t,"/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"}]}}()}));i.displayName="OrganizationSchema"},75428:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var c,a,r=n(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)({}).hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e}).apply(null,arguments)}let i=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 25 24"},e),c||(c=r.createElement("rect",{width:24,height:24,x:.5,fill:"#F3F4F6",rx:12})),a||(a=r.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"})))}},82883:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var c=n(37876),a=n(49995);let r=e=>{let{children:t,className:n,style:r,...l}=e;return(0,c.jsx)("span",{className:(0,a.A)(n,"private-icon"),style:r,...l,children:t})};r.displayName="PrivateIcon"},93915: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"}},99275:(e,t,n)=>{"use strict";n.d(t,{m:()=>w});var c,a=n(37876),r=n(25972),l=n(49995),i=n(14232),o=n(16891);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)({}).hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e}).apply(null,arguments)}let d=function(e){return i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),c||(c=i.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"})))};var u=n(82883),_=n(33528),p=n.n(_);let h=e=>{let{className:t,opened:n=!1,onChange:c=()=>null,title:r="",children:o,caption:s="",icon:_,state:h,message:m=""}=e,v=(0,i.useRef)(null),x=n&&v.current?{height:"".concat(v.current.scrollHeight,"px")}:{};return(0,a.jsxs)("div",{className:(0,l.A)(p().accordion,t),children:[(0,a.jsxs)("div",{className:(0,l.A)(p().body,{[p().opened]:n}),children:[(0,a.jsxs)("div",{role:"button",tabIndex:0,className:p().heading,onClick:c,children:[_&&(0,a.jsx)("span",{className:p().icon,children:(0,a.jsx)(u.T,{children:_})}),(0,a.jsxs)("span",{className:p().text,children:[(0,a.jsx)("h3",{className:p().title,children:r}),(0,a.jsx)("span",{className:p().caption,children:s})]}),(0,a.jsx)(u.T,{className:p().arrow,children:(0,a.jsx)(d,{className:p().icon})})]}),(0,a.jsx)("div",{ref:v,role:"region",className:(0,l.A)(p().wrapper,{[p().hidden]:!n}),style:x,children:(0,a.jsx)("div",{className:p().content,children:o})})]}),m&&(0,a.jsx)("div",{className:p().uiCaption,children:(0,a.jsx)("div",{className:(0,l.A)({[p().error]:"error"===h}),children:m})})]})};h.displayName="UiAccordion";let m=e=>{let{className:t,children:n,values:c,onChange:r}=e;return(0,a.jsx)("div",{className:(0,l.A)(t),children:i.Children.map(n,e=>{let t=e.props.value,n=c.includes(t);return(0,i.cloneElement)(e,{opened:n,onChange:()=>{r({values:n?c.filter(e=>e!==t):[...c,t],value:t,opened:n})}})})})};var v=n(75428),x=n(40087),f=n.n(x);let A=e=>{let{children:t,className:n,event:c,Link:r,href:i,dataLayerPush:o}=e;return(0,a.jsx)("div",{className:(0,l.A)(f().checkAllWrapper,n),onClick:()=>{c&&o(c)},children:(0,a.jsxs)(r,{className:f().link,href:i,children:[t,(0,a.jsx)(u.T,{className:f().icon,children:(0,a.jsx)(v.A,{})})]})})};A.displayName="CheckAllLink";var g=n(17207),k=n.n(g);let y=e=>{let{questions:t=[],eventCategory:n="common",checkAllText:c,dataLayerPush:r,Link:o,href:s,sectionTitle:d,isExpanded:u=!1,isAllExpanded:_=!1,variant:p="default",expandedQuantity:v=0}=e,x=(0,i.useCallback)(()=>{if(_)return t.map(e=>e.title);if(u){var e;return[null==(e=t[0])?void 0:e.title]}return v>0?t.slice(0,v).map(e=>e.title):[]},[_,u,v,t]),[f,g]=(0,i.useState)(x);return((0,i.useEffect)(()=>{g(x())},[x]),t.length)?(0,a.jsxs)("div",{className:k().faqBlock,children:[d&&(0,a.jsx)("h2",{className:k().title,children:d}),(0,a.jsx)(m,{values:f,onChange:e=>{let{values:t,value:c,opened:a}=e;r({event:"data-event",eventCategory:n,eventAction:"click_on_faq_question_".concat(a?"collapse":"expand"),eventLabel:"faq_block",eventValue:c}),g(t)},children:t.map(e=>{let{title:t,text:n}=e;return(0,a.jsx)(h,{className:(0,l.A)(k().accordion,k()["accordion--".concat(p)]),title:t,value:t,children:"string"==typeof n?(0,a.jsx)("div",{className:k().content,dangerouslySetInnerHTML:{__html:n}}):(0,a.jsx)("div",{className:k().content,children:n})},t)})}),o&&s&&c&&(0,a.jsx)(A,{className:k().link,href:s,event:{event:"data-event",eventCategory:n,eventAction:"click_on_read_all_questions_button",eventLabel:"faq_block"},dataLayerPush:r,Link:o,children:c||"Читать все вопросы"})]}):null};var j=n(93915),N=n.n(j);let w=(0,i.memo)(e=>{let{newContainer:t=!1,sectionTitle:n="Частые вопросы",faqBlockTitle:c="Частые вопросы",idFAQBlock:i,questions:s=[],dataLayerPush:d,eventCategory:u,checkAllText:_,Link:p,href:h,isExpanded:m,isAllExpanded:v,variant:x="default",className:f,expandedQuantity:A}=e,g=t?r.mc:o.J;return(0,a.jsx)("section",{className:(0,l.A)(N().supportSection,N()["supportSection--".concat(x)],f),id:i,children:(0,a.jsxs)(g,{className:t?void 0:N().noPadding,children:[n&&(0,a.jsx)("h2",{className:N().title,children:n}),(0,a.jsx)(y,{sectionTitle:c,questions:s,eventCategory:u,checkAllText:_,dataLayerPush:d,Link:p,href:h,isExpanded:m,isAllExpanded:v,variant:x,expandedQuantity:A})]})})});w.displayName="UiFAQBlock"}}]);