(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3486],{49553:function(e,t,n){Promise.resolve().then(n.bind(n,82778)),Promise.resolve().then(n.bind(n,25154))},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return s.a}});var a=n(48461),s=n.n(a)},48461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return c},getImageProps:function(){return r}});let a=n(47043),s=n(55346),l=n(65878),i=a._(n(5084));function r(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=l.Image},25154:function(e,t,n){"use strict";n.r(t),n.d(t,{Contacts:function(){return w}});var a=n(57437);n(2265);var s=n(59226),l=n(38181),i=n(89487),r=n(33145),c=n(27648),o=n(35563),d=n(54365),u={src:"/service-main/_next/static/media/arrow-link.78e46d4e.svg",height:17,width:17,blurWidth:0,blurHeight:0},p=n(51479),h=n(99432),_=n.n(h);let m=e=>{let{className:t,src:n}=e;return(0,a.jsx)("div",{className:t,style:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},children:(0,a.jsx)("iframe",{src:n,width:"100%",height:"100%",style:{position:"relative"}})})},g=e=>{let{data:t,headTitle:n}=e;if(!t||0===Object.keys(t).length)return null;let{title:s,KPP:l,legalAddress:i,legalInfoDisclosure:h,INN:g,OKPO:x,OGRN:k}=t;return(0,a.jsx)("section",{className:_().section,children:(0,a.jsxs)(o.W2,{children:[n&&(0,a.jsx)(o.X6,{className:_().sectionHeader,type:"h2",children:n}),(0,a.jsxs)(o.X2,{gutters:{xl:[8,8],xs:[6,6]},children:[(0,a.jsx)(o.JX,{size:{xs:12,l:5},children:(0,a.jsxs)("div",{className:_().card,children:[(0,a.jsxs)("div",{className:_().legalBlock,children:[(0,a.jsx)(o.X6,{className:_().legalBlockTitle,type:"h3",children:s.title}),(0,a.jsx)("p",{className:(0,d.Z)("contacts-legal-text",_().legalBlockDescription),children:s.text})]}),(0,a.jsxs)("div",{className:_().legalBlock,children:[(0,a.jsx)(o.X6,{className:_().legalBlockTitle,type:"h3",children:i.title}),(0,a.jsx)("p",{className:(0,d.Z)("contacts-legal-text",_().legalBlockDescription),children:i.text})]}),(0,a.jsxs)(o.X2,{gutters:{xs:[6,6]},className:"mb-3",children:[(0,a.jsx)(o.JX,{size:{xs:6},children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.X6,{className:_().legalBlockTitle,type:"h3",children:g.title}),(0,a.jsx)("p",{className:(0,d.Z)("contacts-legal-text",_().legalBlockDescription),children:g.text})]})}),(0,a.jsx)(o.JX,{size:{xs:6},children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.X6,{className:_().legalBlockTitle,type:"h3",children:l.title}),(0,a.jsx)("p",{className:(0,d.Z)("contacts-legal-text",_().legalBlockDescription),children:l.text})]})}),(0,a.jsx)(o.JX,{size:{xs:6},children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.X6,{className:_().legalBlockTitle,type:"h3",children:k.title}),(0,a.jsx)("p",{className:(0,d.Z)("contacts-legal-text",_().legalBlockDescription),children:k.text})]})}),(0,a.jsx)(o.JX,{size:{xs:6},children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.X6,{className:_().legalBlockTitle,type:"h3",children:x.title}),(0,a.jsx)("p",{className:(0,d.Z)("contacts-legal-text",_().legalBlockDescription),children:x.text})]})})]}),(0,a.jsxs)(c.default,{href:h.link,target:"_blank",className:_().link,onClick:()=>(0,p.D)({eventCategory:"cb-fab",eventActionType:p.i.link,eventActionText:h.text,eventLabel:"info_/disclosure"}),children:[(0,a.jsx)("span",{className:_().legalInfoDisclosureText,children:h.text}),(0,a.jsx)(r.default,{className:_().arrowIcon,src:u,alt:"icon-arrow"})]})]})}),(0,a.jsx)(o.JX,{size:{xs:12,l:7},children:(0,a.jsx)(m,{className:_().map,src:"https://yandex.ru/map-widget/v1/org/moskovskaya_birzha/78830376374/?ll=37.606406%2C55.755312&z=17"})})]})]})})};var x=n(75461),k=n(60680),y=n.n(k);let f=e=>{let{logo:t,hoveredLogo:n,label:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{className:y().logo,src:t,alt:s,height:44,width:44,loading:"lazy"}),(0,a.jsx)("img",{className:y().hoveredLogo,src:n,alt:s,height:44,width:44,loading:"lazy"}),(0,a.jsx)("span",{className:y().label,children:s})]})};var v=e=>{let{link:t}=e;return"webchat"===t?(0,a.jsx)("a",{onClick:()=>{(0,p.D)({eventCategory:"cb-support",eventActionType:p.i.button,eventActionText:"messenger",eventLabel:e.label}),window.supportWidget.craftTalk.open()},className:y().contactLink,children:(0,a.jsx)(f,{...e})}):(0,a.jsx)(c.default,{href:t,target:"_blank",className:y().contactLink,onClick:()=>(0,p.D)({eventCategory:"cb-footer",eventActionType:p.i.icon,eventActionText:e.label,eventLabel:"".concat(e.label," ").concat(t)}),children:(0,a.jsx)(f,{...e})})},b=n(90688),j=n.n(b);let C=e=>{let{data:t,breadcrumbs:n}=e;if(!t)return null;let{title:s,description:l,images:i,content:r}=t.blocks[0];return(0,a.jsx)("section",{className:j().section,children:(0,a.jsxs)(o.W2,{children:[(0,a.jsx)(x.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:null==n?void 0:n.desktop.children[0].text}]}),(0,a.jsxs)("div",{className:j().main,children:[(0,a.jsx)(o.X6,{className:"mb-4 ".concat(j().title),type:"hero",children:s}),(0,a.jsx)("p",{className:j().description,dangerouslySetInnerHTML:{__html:l}}),(0,a.jsx)("img",{className:j().supportImgMobile,src:i.mobile.main,alt:"support"}),(0,a.jsx)("img",{className:j().supportBackgroundImgMobile,src:i.mobile.background,alt:"support-background"})]}),(0,a.jsxs)(o.X2,{className:j().contacts,gutters:{xl:[8,8],xs:[6,6]},children:[(0,a.jsx)(o.JX,{size:{xs:12,m:4},children:(0,a.jsxs)("div",{className:j().card,children:[(0,a.jsx)(o.X6,{className:j().contactsHeader,type:"h3",weight:"medium",padding:"none",children:r.writeUs.header}),(0,a.jsx)(o.X2,{className:j().cardLink,gutters:{xs:[0,0],s:[6,5]},children:r.writeUs.methods.map(e=>(0,a.jsx)(o.JX,{size:{xs:4,m:12,l:6,xl:4},children:(0,a.jsx)(v,{...e})},e.label))})]})}),(0,a.jsx)(o.JX,{size:{xs:12,m:4},children:(0,a.jsxs)("div",{className:(0,d.Z)(j().card,j().callUsCard),children:[(0,a.jsx)(o.X6,{className:j().contactsHeader,type:"h3",weight:"medium",children:r.callUs.header}),(0,a.jsx)("div",{className:j().phones,children:r.callUs.phones.map(e=>(0,a.jsx)(c.default,{href:"tel:".concat(e.replace(/\D/g,"")),className:j().link,onClick:()=>(0,p.D)({eventCategory:"cb-support",eventActionType:p.i.link,eventActionText:"phone",eventLabel:e}),children:e},e))})]})}),(0,a.jsxs)(o.JX,{className:j().readUsColumn,size:{xs:12,m:4},children:[(0,a.jsxs)("div",{className:(0,d.Z)(j().card,j().readUsCard),children:[(0,a.jsx)(o.X6,{className:j().contactsHeader,type:"h3",weight:"medium",children:r.readUs.header}),(0,a.jsx)(o.X2,{gutters:{xs:[0,0],s:[6,5]},children:r.readUs.methods.map(e=>(0,a.jsx)(o.JX,{size:{xs:4,m:12,l:6,xl:4},children:(0,a.jsx)(v,{...e})},e.label))})]}),(0,a.jsx)("img",{className:j().supportImgDesktop,src:i.desktop.main,alt:"support"}),(0,a.jsx)("img",{className:j().supportBackgroundImgDesktop,src:i.desktop.background,alt:"support-background"})]})]})]})})},w=e=>{let{data:t,faqData:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C,{data:t.Contacts_Contacts,breadcrumbs:t.Breadcrumbs_Contacts}),(0,a.jsx)(g,{headTitle:"Юридическая информация",data:t.Legal_Contacts}),n&&(0,a.jsx)(s.C,{sectionTitle:n.title,questions:n.faqs,dataLayerPush:i.l,href:n.readAllText.link,checkAllText:n.readAllText.text}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,l.T)()}})]})}},38181:function(e,t,n){"use strict";function a(e){return e.replace(/<[^>]*>/g,"")}function s(e){let t="Что такое Финуслуги?";return JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:null==e?void 0:e.map(e=>({"@type":"Question",name:e.question.toLocaleLowerCase().includes(t.toLocaleLowerCase())?t:a(e.question),acceptedAnswer:{"@type":"Answer",text:a(e.answer)}}))})}function l(){let e="8(800)505–32–32";return JSON.stringify({"@context":"http://schema.org","@type":"Organization",name:"Финуслуги",legalName:"finuslugi.ru",url:"https://finuslugi.ru/",logo:"https://finuslugi.ru/microdata/logo.png",foundingDate:"2020",contactPoint:{"@type":"ContactPoint",contactType:"Customer Service",email:"service@finuslugi.ru",telephone:e},telephone:e,address:{"@type":"PostalAddress",streetAddress:"Большой Кисловский пер., д. 13",postalCode:125009,addressLocality:"Москва",addressCountry:"Россия"},taxID:"7702077840",sameAs:["https://vk.com/finuslugi","https://zen.yandex.ru/finuslugi","https://t.me/MoexFinuslugi"]})}n.d(t,{G:function(){return s},T:function(){return l}})},51479:function(e,t,n){"use strict";n.d(t,{D:function(){return r},i:function(){return s}});var a,s,l=n(89487),i=n(54550);(a=s||(s={})).icon="icon",a.chip="chip",a.accordion="accordion",a.button="button",a.checkbox="checkbox",a.radio="radio",a.select="select",a.toggle="toggle",a.tooltip="tooltip",a.link="link",a.banner="banner",a.tag="tag",a.date="date",a.field="field",a.offer="offer",a.tab="tab",a.submit_button="submit_button",a.popup="popup",a.block="block";let r=e=>{let{eventCategory:t,eventActionType:n,eventActionText:a="",eventLabel:s}=e,r={event:"data-event",eventCategory:t,eventAction:{icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submit_button:"form_button_",popup:"show_pop_up_",block:"click_block_"}[n]+(0,i.b)(a)};void 0!==s&&(r.eventLabel=(0,i.b)("string"==typeof s?s:s.toString())),(0,l.l)(r)}},89487:function(e,t,n){"use strict";n.d(t,{l:function(){return l},y:function(){return i}});var a=n(30631);let s=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"}],l=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),s=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_"));let l=s.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!l){if(t){let t={...e};t.url=window.location.pathname,s.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(s))}(0,a.AB)(e)}},i=e=>{s.some(t=>{if(e.includes(t.path)){let n=e.match(/str_(\d+)/),a=(null==n?void 0:n[1])?Number(n[1]):1;return setTimeout(()=>{l({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:a})},15e3),!0}return!1})}},54550:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});let a={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},s=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in a?a[t]:e}).replaceAll(" ","_").replaceAll("\xa0","_")},99432:function(e){e.exports={section:"styles_section__U3Fdt",sectionHeader:"styles_sectionHeader__ee1Lh",legalBlockTitle:"styles_legalBlockTitle__dIOyG",legalBlockDescription:"styles_legalBlockDescription__Rwov_",legalBlock:"styles_legalBlock__ItovM",map:"styles_map__f_OYe",card:"styles_card__rukcj",link:"styles_link__AFhq4",legalInfoDisclosureText:"styles_legalInfoDisclosureText__cfXKX",arrowIcon:"styles_arrowIcon__TuAJc"}},90688:function(e){e.exports={section:"ContactsMain_section__mWazV",title:"ContactsMain_title__XB9G6",main:"ContactsMain_main__l5zmJ",description:"ContactsMain_description__gBHQ9",supportImgMobile:"ContactsMain_supportImgMobile__Jg4mu",supportBackgroundImgMobile:"ContactsMain_supportBackgroundImgMobile__NuPsC",supportImgDesktop:"ContactsMain_supportImgDesktop___LtM8",supportBackgroundImgDesktop:"ContactsMain_supportBackgroundImgDesktop__AsAmv",contacts:"ContactsMain_contacts__bEOQO",readUsColumn:"ContactsMain_readUsColumn__M2GKo",readUsCard:"ContactsMain_readUsCard__MZa78",contactLink:"ContactsMain_contactLink__dktBL",phones:"ContactsMain_phones__ZSmoA",link:"ContactsMain_link__rYPnm",callUsCard:"ContactsMain_callUsCard__OZsPY",contactsHeader:"ContactsMain_contactsHeader__hQhd7",arrowIcon:"ContactsMain_arrowIcon__R7VTC",card:"ContactsMain_card__GcmRB",cardLink:"ContactsMain_cardLink__eFVMS"}},60680:function(e){e.exports={contactLink:"styles_contactLink__5y0Gc",label:"styles_label__apZep",hoveredLogo:"styles_hoveredLogo__vHev9",logo:"styles_logo__xC0xf"}},30631:function(e,t,n){"use strict";function a(){return typeof window>"u"}function s(e){a()||(Array.isArray(window.dataLayer)?window.dataLayer.push(e):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(e):console.log("window._mtm does not exist"))}function l(){if(a()){console.warn("Cant initialize tag manager on server side");return}"function"!=typeof window._init_gtm?console.warn("Cant init GTM, please check if GTM script exists"):window._init_gtm(),"function"!=typeof window._init_mtm?console.warn("Cant init MTM, please check if MTM script exists"):window._init_mtm()}n.d(t,{AB:function(){return s},zK:function(){return l}})},10855:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var a=n(57437),s=n(80684),l=n(75461),i=n(54365);let r=(0,n(52074).g)("check-all","sc"),c=Object.freeze({wrapper:`${r}__wrapper`,link:`${r}__link`,icon:`${r}__icon`,iconGray:`${r}__icon--gray`}),o=({children:e,className:t,linkClassName:n,iconGrayBackground:r,Link:o,event:d,href:u,dataLayerPush:p})=>{let h=o??l.rU;return(0,a.jsx)("div",{className:(0,i.Z)(c.wrapper,t),onClick:()=>{d&&p(d)},children:(0,a.jsxs)(h,{className:(0,i.Z)(c.link,n),href:u,children:[e,(0,a.jsx)("span",{className:(0,i.Z)(c.icon,{[c.iconGray]:r}),children:(0,a.jsx)(s.IconFdsArrowUpRightSmallO,{size:24})})]})})}},82778:function(e,t,n){"use strict";n.d(t,{L:function(){return c},g:function(){return r}});var a=n(2265),s=n(30631);let l=null,i=e=>{l=e},r=()=>l,c=e=>{let{env:t}=e,n=(0,a.useRef)(!1);return n.current||(i(t),n.current=!0),(0,a.useEffect)(()=>{"production"===t.NODE_ENV&&(0,s.zK)()},[t.NODE_ENV]),null}},52074:function(e,t,n){"use strict";function a(e,t){return`finkit-widgets-${t}-${e}`}n.d(t,{g:function(){return a}})},31620:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});let a={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},s=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in a?a[t]:e}).replaceAll(/[ \u00A0]/g,"_")},59226:function(e,t,n){"use strict";n.d(t,{C:function(){return y}});var a=n(57437),s=n(2265),l=n(35563),i=n(75461),r=n(54365),c=n(31620),o=n(10855),d=n(52074);let u=(0,d.g)("faq-block","sc"),p=Object.freeze({faqBlock:u,titleWrapper:`${u}__title-wrapper`,title:`${u}__title`,accordionWrapper:`${u}__accordion-wrapper`,accordionItems:`${u}__accordion-items`,accordionItemGray:`${u}__accordion-item--gray`,accordionItemContent:`${u}__accordion-item-content`,accordionActiveItemContent:`${u}__accordion-item-content--active`,states:{primary:`${u}--primary`,secondary:`${u}--secondary`,gray:`${u}--gray`}}),h=e=>{e.data.forEach((t,n)=>{"header"===t.type&&(e.headerBlocksCount++,3===e.headerBlocksCount&&("banner"===e.data[n-1].type&&(e.banner=e.data.splice(n-1,1)),"banner"===e.data[n+1].type&&(e.banner=e.data.splice(n+1,1))),e.banner&&4===e.headerBlocksCount&&e.data.splice(n,0,e.banner[0]))})},_=(0,d.g)("faq-content-block","sc"),m=Object.freeze({contentBlocks:`${_}__content-blocks`,blockLink:`${_}__block-link`,keynoteWrapper:`${_}__keynote-wrapper`,keynote:`${_}__keynote`,annotation:`${_}__annotation`,contentTableWrapper:`${_}__content-table-wrapper`}),g=({className:e,data:t})=>{if(!Array.isArray(t))return null;let n=(()=>{let e=[],n=1,s={data:t,headerBlocksCount:0,banner:[]};h(s),h(s);let l={},i=e=>{var t,n,a,s;let i=(null==(t=e.data)?void 0:t.text)??(null==(n=e.data)?void 0:n.url)??(null==(a=e.data)?void 0:a.html)??(null!=(s=e.data)&&s.year?String(e.data.year):"");return l[e.type]=(l[e.type]??0)+1,`${e.type}-${String(i).slice(0,80)}-${l[e.type]}`};return t.forEach(t=>{let s=i(t);switch(t.type){case"header":e.push((0,a.jsx)("h2",{id:`content_header_${n}`,role:"header",children:t.data.text||""},s)),n++;break;case"sub_header":e.push((0,a.jsx)("h3",{role:"sub-header",children:t.data.text||""},s));break;case"paragraph":e.push((0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.data.text||""},role:"paragraph"},s));break;case"link":e.push((0,a.jsx)("div",{className:m.blockLink,children:(0,a.jsx)("a",{target:"_blank",href:t.data.url||"",role:"link",rel:"noreferrer",children:t.data.text||""})},s));break;case"dossier":e.push((0,a.jsxs)("div",{children:[(0,a.jsx)("span",{role:"dossier-year",children:t.data.year||""}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.data.text||""},role:"dossier-text"})]},s));break;case"html":e.push((0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.data.html||""},role:"html"},s));break;case"annotation":e.push((0,a.jsx)("div",{className:m.annotation,dangerouslySetInnerHTML:{__html:t.data.text||""},role:"annotation"},s));break;case"company-annotation":e.push((0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.data.text||""},role:"company-annotation"},s));break;case"keynote":e.push((0,a.jsx)("div",{className:m.keynoteWrapper,children:(0,a.jsx)("p",{className:m.keynote,dangerouslySetInnerHTML:{__html:t.data.text||""},role:"keynote"})},s));break;case"image":e.push((0,a.jsx)("img",{src:t.data.url||"",alt:"image"},s))}}),e})();return(0,a.jsx)("div",{className:(0,r.Z)(m.contentBlocks,e),role:"blocks",children:n})},x=({question:e,eventCategory:t,dataLayerPush:n,...s})=>(0,a.jsx)(i.Qd,{...s,title:e.question,children:(0,a.jsx)("div",{className:(0,r.Z)(p.accordionItemContent,{[p.accordionActiveItemContent]:s.isActive}),onClick:e=>{e.target instanceof HTMLAnchorElement&&n({event:"data-event",eventCategory:t,eventAction:"click_link",eventLabel:e.target.href})},children:"string"==typeof e.answer?(0,a.jsx)(g,{data:[{type:"html",data:{html:e.answer}}]}):e.answer})}),k=e=>{setTimeout(()=>{let{top:t}=e.getBoundingClientRect();t<80&&e.scrollIntoView({behavior:"smooth",block:"start"})},300)},y=({sectionTitle:e="Частые вопросы",innerTitle:t,questions:n=[],href:d,checkAllText:u,Link:h,className:_,eventCategory:m="cb-faq",multiple:g=!1,variant:y="secondary",dataLayerPush:f,tagTitle:v})=>{let b=g?n.map(e=>e.question):[],[j,C]=(0,s.useState)(b),w="gray"===y;return(0,a.jsx)("section",{className:(0,r.Z)(p.faqBlock,p.states[y],_),children:(0,a.jsxs)(l.W2,{children:[!t&&(0,a.jsx)("div",{className:p.titleWrapper,children:(0,a.jsx)(l.X6,{as:"h2",type:"display",className:p.title,children:e})}),(0,a.jsxs)("div",{className:p.accordionWrapper,children:[t&&(0,a.jsx)(l.X6,{as:"h3",type:"h1",style:{paddingBottom:"12px"},className:(0,r.Z)(p.title,`${p.title}--inner`),children:t}),(0,a.jsx)("div",{className:p.accordionItems,children:(0,a.jsx)(i.UQ,{activeIndex:j,variant:w?"primary":"secondary",withoutOutline:w,onTabToggle:e=>{let t=(null==e?void 0:e.length)>(null==j?void 0:j.length),n=e.filter(e=>!j.includes(e))[0]||j.filter(t=>!e.includes(t))[0];f({event:"data-event",eventCategory:m,eventAction:`click_togg_${t?"on":"off"}`,eventLabel:(0,c.t)(String(n))}),C(e);let a=`[data-accordion-index="${n}"]`,s=document.querySelector(a);s&&k(s)},multiple:g,children:n.map(e=>{let t=`faq-${e.question}`;return(0,a.jsx)(x,{id:t,question:e,dataLayerPush:f,eventCategory:m,className:w?p.accordionItemGray:void 0,tagTitle:v},t)})})}),d&&u&&(0,a.jsx)(o.C,{href:d,event:{event:"data-event",eventCategory:m,eventAction:"сlick_link_answer-link",eventLabel:d},dataLayerPush:f,...null!=h?{Link:h}:{},iconGrayBackground:!0,children:u||"Читать все вопросы"})]})]})})}}},function(e){e.O(0,[4440,3544,5501,207,6810,5878,7648,2971,2117,1744],function(){return e(e.s=49553)}),_N_E=e.O()}]);
//# sourceMappingURL=page-15c1f75fec0b851a.js.map