(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8786],{4810:(e,t,n)=>{"use strict";n.d(t,{L:()=>h});var s=n(95155),a=n(12115),o=n(29722),r=n(48709),l=n(69633),i=n(28799),c=n(19553),d=n.n(c);let _=({footer:e,isSmallPopup:t=!1,footerClassName:n})=>(0,s.jsx)("div",{className:(0,o.A)(d().footer,t&&d().footerWithoutShadow,n),children:"function"==typeof e?e():e});var m=n(44301),u=n.n(m);let p=({children:e,footer:t,isOpen:n,isSmallPopup:i,onClose:c,hasCloseButton:d=!0,full:m,touchDistance:p=100,withDisabledScroll:h=!0,contentClassName:b,className:A,title:f,closeButton:v,footerClassName:x})=>{let[g,C]=(0,a.useState)(!1),[w,j]=(0,a.useState)(!1),[y,N]=(0,a.useState)(!0),[k,O]=(0,a.useState)("120%"),M=(0,a.useRef)(null),S=(0,a.useRef)(0),E=(0,a.useRef)(!1),T=e=>{let t=M.current?.offsetTop,n=M.current?.offsetHeight;if(E.current=!0,N(!1),t&&n){let s=e?.touches[0]?.clientY-t,a=0;s>=0&&s<=n+30&&(a=s),s>n+30&&(a=n+30),O(`${a}px`),S.current=a}},L=()=>{E.current&&(S.current>p&&c?c?.():O("0"),N(!0),E.current=!1),window.removeEventListener("touchmove",T),window.removeEventListener("touchend",L)};(0,a.useEffect)(()=>{n&&setTimeout(()=>{C(!0),j(!0),O("0")},100),!n&&w&&(O("120%"),C(!1),j(!1))},[w,n]),(0,l._)(n&&h);let P=null;return v&&(P="function"==typeof v?v():v),(0,s.jsxs)("div",{"data-portal":!0,className:(0,o.A)(u().mobilePopup,w&&u().mobilePopupOpen,A),children:[(0,s.jsx)(r.i,{onClose:()=>{n&&c?.()},onToucheMove:()=>{n&&(C(!1),window.addEventListener("touchmove",T),window.addEventListener("touchend",L))},isOpen:n,delay:0}),(0,s.jsxs)("div",{className:(0,o.A)(u().content,m&&u().contentFull,y&&u().contentTransition,y&&g&&u().contentTransitionOpen),ref:M,style:{transform:`translateY(${k})`},children:[(0,s.jsx)("div",{className:u().contentLine}),(0,s.jsxs)("div",{className:(0,o.A)(u().contentContainer,i&&u().smallContentContainer,{[u().min]:!f&&!d},b),children:[!!f&&(0,s.jsx)("div",{className:u().title,children:f}),d?(0,s.jsxs)("div",{className:u().closeContainer,children:[P,v?null:(0,s.jsx)("button",{onClick:c,className:u().closeButton,children:(0,s.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})})]}):null,e]}),t&&(0,s.jsx)(_,{footerClassName:x,isSmallPopup:i,footer:t})]})]})},h=({children:e,isSmallPopup:t=!1,isOpen:n=!1,...a})=>{let{mounted:o}=(0,i.J)({opened:n});return o?(0,s.jsx)(p,{isSmallPopup:t,isOpen:n,...a,children:e}):null};h.displayName="UiMobilePopup"},10175:e=>{e.exports={component:"ObrashchenieForm_component__S1hFI",content:"ObrashchenieForm_content__N3Bs5",title:"ObrashchenieForm_title__R5nwp",form:"ObrashchenieForm_form__GSMi7",disclaimer:"ObrashchenieForm_disclaimer__8au5y",section:"ObrashchenieForm_section__XmCka",label:"ObrashchenieForm_label__9uX6M",group:"ObrashchenieForm_group__V3OEw",bottom:"ObrashchenieForm_bottom__ItoUV",agreement:"ObrashchenieForm_agreement__1R_iw",submit:"ObrashchenieForm_submit__3unyA",notes:"ObrashchenieForm_notes__ZzIrD",submitError:"ObrashchenieForm_submitError__4crGE",link:"ObrashchenieForm_link__L4P_8",modalButton:"ObrashchenieForm_modalButton__tuhbb"}},17261:(e,t,n)=>{Promise.resolve().then(n.bind(n,26159)),Promise.resolve().then(n.bind(n,93922))},19553:e=>{e.exports={footer:"MobileModalFooter_footer__5dRCK",footerWithoutShadow:"MobileModalFooter_footerWithoutShadow__zHKVO"}},19853:e=>{e.exports={button:"ObrashchenieConfirmation_button__6T6ZM",loading:"ObrashchenieConfirmation_loading__TPTgL",content:"ObrashchenieConfirmation_content__BJ2Fb",title:"ObrashchenieConfirmation_title__TCU53",load:"ObrashchenieConfirmation_load__yL_X8"}},21212:e=>{e.exports={footer:"DesktopModalFooter_footer__u0JXU"}},23810:(e,t,n)=>{"use strict";n.d(t,{JD:()=>a,gH:()=>s,kI:()=>o});let s={lastName:"",firstName:"",middleName:"",email:"",feedbackContent:"",agreed:!1},a="https://assets.finuslugi.ru/mp-assets/privacy-policy.pdf?_gl=1*ued1g2*_gcl_au*MTU4NzI2MTM4MS4xNzE3MDY0OTgz*_ga*MTk5NTAzMzk3OS4xNzE3MDY0OTgz*_ga_Z0GRHZ4BLP*MTcxNzc1MDY2My4yNS4xLjE3MTc3NTA2NzAuNTMuMC4w",o="https://assets.finuslugi.ru/mp-assets/user-agreement.pdf?_gl=1*tsjr46*_gcl_au*MTU4NzI2MTM4MS4xNzE3MDY0OTgz*_ga*MTk5NTAzMzk3OS4xNzE3MDY0OTgz*_ga_Z0GRHZ4BLP*MTcxNzc1MDY2My4yNS4xLjE3MTc3NTA2ODQuMzkuMC4w"},27530:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});let s=300},28799:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var s=n(12115),a=n(27530);let o=({opened:e})=>{let[t,n]=(0,s.useState)(!1),o=(0,s.useRef)(null),r=(0,s.useRef)(!1);return(0,s.useEffect)(()=>(e&&!r.current?(r.current=!0,n(!0)):!e&&r.current&&(o.current=setTimeout(()=>{r.current=!1,n(!1)},a.l)),()=>{o.current&&clearTimeout(o.current)}),[e]),{mounted:t}}},40089:e=>{e.exports={wrap:"ObrashchenieAffordanceHeader_wrap__XBT_m",card:"ObrashchenieAffordanceHeader_card__fz45_",title:"ObrashchenieAffordanceHeader_title__snyxY",nowrap_text:"ObrashchenieAffordanceHeader_nowrap_text__DbeKi",title_mobile:"ObrashchenieAffordanceHeader_title_mobile__ri2QU",card_text:"ObrashchenieAffordanceHeader_card_text__K24Jr",link:"ObrashchenieAffordanceHeader_link__pJGAw"}},43142:e=>{e.exports={window:"DesktopModalLayout_window__ji08E"}},44301:e=>{e.exports={mobilePopup:"MobilePopup_mobilePopup__NCFCK",content:"MobilePopup_content__B5iF0",contentFull:"MobilePopup_contentFull__DBrvo",contentLine:"MobilePopup_contentLine__eykLy",contentContainer:"MobilePopup_contentContainer___ZbOq",min:"MobilePopup_min__D0Hml",contentTransition:"MobilePopup_contentTransition__7_kGL",contentTransitionOpen:"MobilePopup_contentTransitionOpen__GDGpr",title:"MobilePopup_title__IEYZk",closeContainer:"MobilePopup_closeContainer__HSRUL",closeButton:"MobilePopup_closeButton__Bse_M",smallContentContainer:"MobilePopup_smallContentContainer__8jHeS"}},48709:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var s=n(95155),a=n(12115),o=n(29722),r=n(27530),l=n(78065),i=n.n(l);let c=({onClose:e,onToucheMove:t,isOpen:n,delay:l=r.l})=>{let c=(0,a.useRef)(null),d=(0,a.useCallback)(()=>{e&&(c.current=setTimeout(()=>{e()},l))},[l,e]),_=(0,a.useCallback)(e=>{"Escape"===e.key&&d()},[d]);return(0,a.useEffect)(()=>(n&&window.addEventListener("keydown",_),()=>{c.current&&clearTimeout(c.current),window.removeEventListener("keydown",_)}),[n,_]),(0,s.jsx)("div",{className:(0,o.A)(i().overlay,{[i().open]:n,[i().close]:!n}),onTouchStart:t,onClick:d})}},49684:(e,t,n)=>{"use strict";n.d(t,{F:()=>r,o:()=>o});var s=n(56853);let a=[{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"}],o=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),a=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 o=a.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||!o){if(t){let t={...e};t.url=window.location.pathname,a.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(a))}(0,s.Fj)(e)}},r=e=>{a.some(t=>{if(e.includes(t.path)){let n=e.match(/str_(\d+)/),s=n?.[1]?Number(n[1]):1;return setTimeout(()=>{o({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:s})},15e3),!0}return!1})}},51312:(e,t,n)=>{"use strict";n.d(t,{p:()=>_});var s=n(63109),a=n(4997);n(41463);let o=0,r=[],l=new Map,i=async()=>{o>=24&&await new Promise(e=>{r.push(e)}),o+=1},c=async e=>{await i();try{return await e()}finally{o=Math.max(0,o-1),r.shift()?.()}},d=async({url:e,endpoint:t,method:n,config:a,env:o})=>{let r=new AbortController,l=setTimeout(()=>r.abort(),1e4),i=()=>r.abort();a?.signal?.aborted&&r.abort(),a?.signal?.addEventListener("abort",i,{once:!0});let c=performance.now();try{let l=await (0,s.OT)(e,{baseURL:t,method:n,headers:{...a?.headers},...a,signal:r.signal,timeout:1e4,retry:0,next:{revalidate:Number(o.REVALIDATE_REQUEST_VALUE)||1800}}),i=performance.now()-c;return console.warn(`Запрос ${t}${e} занял ${i.toFixed(2)} ms`),{data:l,error:null}}catch(n){return n.status??n.statusCode,console.error("Ошибка запроса",`${n}: ${t}${e}`),{data:null,error:n||"Unknown error"}}finally{clearTimeout(l),a?.signal?.removeEventListener("abort",i)}},_=async({url:e,options:t={},config:n})=>{let s=(0,a.p)(),o=((e,t)=>{let{isBFF:n,isMpScApi:s,isGlossary:a,isPageContent:o,isMpScRedirects:r}=t;return s?`${e.NEXT_PUBLIC_BASE_URL}/sc`:e.NEXT_PUBLIC_BASE_URL})(s,t),r=(n?.method||"GET").toUpperCase();if(!o)return console.error("Ошибка запроса: API endpoint не задан",e),{data:null,error:"API endpoint is not configured"};let i=()=>c(()=>d({url:e,endpoint:o,method:r,config:n,env:s}));if(n?.signal||"GET"!==r&&"HEAD"!==r)return i();var _=`${r}:${o}${e}`;let m=l.get(_);if(m)return m;let u=i().finally(()=>{l.delete(_)});return l.set(_,u),u}},54809:e=>{e.exports={wrap:"ObrashchenieAffordance_wrap__XcteY",options:"ObrashchenieAffordance_options__PDDz_",options_group:"ObrashchenieAffordance_options_group__3_7n7",options_entry:"ObrashchenieAffordance_options_entry__SVMk8",clickable:"ObrashchenieAffordance_clickable__esETT",options_entry_icon:"ObrashchenieAffordance_options_entry_icon__V7wUs",options_entry_caption:"ObrashchenieAffordance_options_entry_caption__Hu0IL",options_title:"ObrashchenieAffordance_options_title__HB_1S"}},60341:(e,t,n)=>{"use strict";n.d(t,{LK:()=>s,R:()=>a});let s="https://lk.finuslugi.ru/registration/",a="https://assets.finuslugi.ru/mp-assets/docs/main-documents/regulation_review_procedure/regulation_review_procedure.pdf"},67742:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var s=n(12115);let a=new Map,o=()=>({scroll:s.useCallback(e=>{let t=a.get(e);t||console.warn(`Attempted to scroll to an element that is not registered in the hook "${e}"`),history.pushState(null,"","#"+e),t?.scrollIntoView({behavior:"smooth"})},[]),anchor:s.useCallback(e=>t=>{t?(a.set(e,t),t.setAttribute("id",e)):a.delete(e)},[])})},68482:e=>{e.exports={container:"DesktopModalContent_container__EK2ly",open:"DesktopModalContent_open__XkxcL","slide-up":"DesktopModalContent_slide-up__99zpp",close:"DesktopModalContent_close__u5SBd","slide-out":"DesktopModalContent_slide-out__RA1Vv",header:"DesktopModalContent_header__s8DfG",title:"DesktopModalContent_title__bEkHX",right:"DesktopModalContent_right__LTqNf",left:"DesktopModalContent_left__J_6SZ",controlContainer:"DesktopModalContent_controlContainer__MD8bp",icon:"DesktopModalContent_icon__1NDYt",content:"DesktopModalContent_content__8FJSs",overflowVisible:"DesktopModalContent_overflowVisible__9WwOg"}},69633:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var s=n(12115);let a=e=>{let t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let n=t.current;if(e){let e=window.scrollY||window.pageYOffset;document.body.dataset.scrollY=String(e),document.body.style.overflow="hidden",n&&n.setAttribute("data-portal","")}else{if(document.querySelectorAll("[data-portal]").length>1||(document.body.style.overflow=""),document.body.dataset.scrollY){let e=parseInt(document.body.dataset.scrollY,10);window.scrollTo(0,e),delete document.body.dataset.scrollY}n&&n.removeAttribute("data-portal")}return()=>{if(document.body.style.overflow="",document.body.dataset.scrollY){let e=parseInt(document.body.dataset.scrollY,10);window.scrollTo(0,e),delete document.body.dataset.scrollY}}},[e]),t}},70659:e=>{e.exports={wrap:"ObrashcheniePopup_wrap__ZZC_T",text:"ObrashcheniePopup_text__d2rji",title:"ObrashcheniePopup_title__Y0ddW",description:"ObrashcheniePopup_description__AvPBW",image:"ObrashcheniePopup_image__i52yd",modal:"ObrashcheniePopup_modal__k4MQq"}},75441:e=>{e.exports={wrap:"ObrashchenieDisclaimer_wrap__VLc3a",content:"ObrashchenieDisclaimer_content__A9UOr",text:"ObrashchenieDisclaimer_text__wDJ1S"}},78065:e=>{e.exports={overlay:"ClickOutside_overlay__YQi9L",open:"ClickOutside_open__bmtsz",fade:"ClickOutside_fade__io1xj",close:"ClickOutside_close__AC078","fade-out":"ClickOutside_fade-out__wJ_pJ"}},84448:(e,t,n)=>{"use strict";n.d(t,{p:()=>c,y:()=>d});var s=n(95155),a=n(12115),o=n(25032),r=n(29722),l=n(88858),i=n.n(l);let c=e=>{let t=(()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useCallback)(()=>t(e=>!e),[e,t])})();return[new URLSearchParams(window.location.search).get(e)||null,n=>{let s=new URLSearchParams(window.location.search);n?s.set(e,n):s.delete(e),window.history.pushState({},"",window.location.pathname+"?"+s.toString()),t()}]},d=({options:e,value:t,onChange:n,...l})=>{let[c,d]=(0,a.useState)();(0,a.useEffect)(()=>{d(e.find(e=>e.id===t))},[t,e]);let _=(0,a.useCallback)(e=>{e&&n(e)},[n]);return(0,s.jsx)(o.C,{size:"l",chips:e,value:c?.label,onChipClick:_,className:(0,r.A)(l.className,i().chips)})}},84817:e=>{e.exports={modal:"styles_modal__Imd4F"}},87555:e=>{e.exports={wrap:"ObrashcheniePost_wrap__lP5cg",content:"ObrashcheniePost_content__0_cgp",title:"ObrashcheniePost_title___VAiZ",card:"ObrashcheniePost_card___WoEk",card_content:"ObrashcheniePost_card_content__4Y1d4",card_text:"ObrashcheniePost_card_text__idhqL",important:"ObrashcheniePost_important__o_Oy3"}},88858:e=>{e.exports={title:"GlossaryContent_title__kiX59",letter:"GlossaryContent_letter__Bj5A8",text:"GlossaryContent_text__kmQLt",popupTitle:"GlossaryContent_popupTitle__Cbw7E",terms:"GlossaryContent_terms__HT5zD",wrapper:"GlossaryContent_wrapper__p9SmS",filter:"GlossaryContent_filter__0StqI",tags:"GlossaryContent_tags__6ZXld",letterBlock:"GlossaryContent_letterBlock__biGAy",termsColumns:"GlossaryContent_termsColumns__Bopxr",two:"GlossaryContent_two__qDELl",one:"GlossaryContent_one__hoV9T",term:"GlossaryContent_term__kM9pd",lettersList:"GlossaryContent_lettersList__f_Xig",letterItem:"GlossaryContent_letterItem__U7YVq",arrowIcon:"GlossaryContent_arrowIcon__fmxkV",popup:"GlossaryContent_popup__GKz6P",popupContent:"GlossaryContent_popupContent__L2WWl",termsList:"GlossaryContent_termsList__UMZAU",termItem:"GlossaryContent_termItem__mPF94",chips:"GlossaryContent_chips__vS3eL"}},93922:(e,t,n)=>{"use strict";n.d(t,{Obrashchenie:()=>ej});var s=n(95155),a=n(12115),o=n(37206),r=n(73321),l=n(4997);let i={promobizness:!0,guruleads:!0,leadssu:!0,admitad:!0,agents:!0};var c=n(49684),d=n(5772),_=n(84685),m=n(48830),u=n(66216),p=n(67742),h=n(98500),b=n.n(h),A=n(29722),f=n(60341),v=n(41463);let x=e=>"true"===v.env.NEXT_PUBLIC_PROD_STAND?void 0:e;var g=n(40089),C=n.n(g);let w=({className:e})=>(0,s.jsx)("div",{className:(0,A.A)(e,C().wrap),children:(0,s.jsx)("div",{className:C().card,children:(0,s.jsxs)("div",{className:C().card_text,children:[(0,s.jsx)("h1",{className:(0,A.A)(C().title,C().desktop),"data-qa":x("heading"),children:"Принимаем официальные обращения"}),(0,s.jsxs)("h2",{className:(0,A.A)(C().title_mobile),children:["Принимаем ",(0,s.jsx)("span",{className:C().nowrap_text,children:"официальные обращения"})]}),(0,s.jsxs)("p",{children:["Уважаемые посетители сайта, вы можете обратиться к нам в рамках Федерального закона N\xba442-Ф3"," ",(0,s.jsx)("span",{className:C().nowrap_text,children:"от 04.08.2023 года"})]}),(0,s.jsxs)("p",{className:C().regulation_of_order_text,children:["Мы рассматриваем все обращения в соответствии с"," ",(0,s.jsx)(b(),{target:"_blank",href:f.R,className:C().link,"data-qa":x("subheading_regulation_link"),children:"Положением о порядке рассмотрения обращений в ПАО Московская Биржа"})]})]})})});var j=n(54809),y=n.n(j);let N={src:"/service-main/_next/static/media/email.ffb688a0.svg",height:16,width:20,blurWidth:0,blurHeight:0},k={src:"/service-main/_next/static/media/office.8986be5b.svg",height:24,width:24,blurWidth:0,blurHeight:0},O={src:"/service-main/_next/static/media/online.7dce80e1.svg",height:24,width:24,blurWidth:0,blurHeight:0},M={src:"/service-main/_next/static/media/post.e3b58fd4.svg",height:24,width:24,blurWidth:0,blurHeight:0},S=()=>{let{scroll:e}=(0,p.p)();return(0,s.jsx)("div",{className:y().wrap,children:(0,s.jsx)(u.m,{children:(0,s.jsxs)("div",{className:y().content,children:[(0,s.jsx)(m.B,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Обращения"}]}),(0,s.jsx)(w,{className:y().header}),(0,s.jsx)("div",{className:y().options,children:(0,s.jsx)("div",{className:y().options_group,children:[{icon:O,caption:"Онлайн",anchor:"online"},{icon:M,caption:"Через Почту России",anchor:"via-post"},{icon:k,caption:"Личный прием",anchor:"in-person"},{icon:N,caption:"Email: finclaims@moex.com"}].map((t,n)=>(0,s.jsxs)("div",{className:`${y().options_entry} ${t.anchor&&y().clickable}`,onClick:()=>t.anchor?e(t.anchor):null,children:[(0,s.jsx)("div",{className:y().options_entry_icon,children:(0,s.jsx)(d.default,{src:t.icon.src,width:t.icon.width,height:t.icon.height,alt:"icon"})}),(0,s.jsxs)("div",{className:y().options_entry_caption,children:[(0,s.jsx)("p",{children:t.caption}),!t.caption.includes("Email")&&(0,s.jsx)(_.wWm,{size:22})]})]},n))})})]})})})};var E=n(24691),T=n(21842),L=n(14347),P=n(28799),B=n(48709),U=n(21212),D=n.n(U);let z=({footer:e})=>(0,s.jsx)("div",{className:D().footer,children:"function"==typeof e?e():e});var I=n(68482),G=n.n(I);let R=({onClose:e,onContentClick:t,children:n,width:a,title:o,titleAlign:r,isCloseable:l=!0,overflow:i=!1,footer:c,isOpen:d,contentClassName:m,contentStyle:u})=>(0,s.jsxs)("div",{style:{...u,maxWidth:"number"==typeof a?`${a}px`:"auto"},className:(0,A.A)(G().container,{[G().open]:d,[G().close]:!d},m),children:[o||l?(0,s.jsxs)("div",{className:G().header,children:[l?(0,s.jsx)("button",{className:G().controlContainer,onClick:e,children:(0,s.jsx)(_.kLH,{size:20})}):null,o?(0,s.jsx)("h4",{className:(0,A.A)(G().title,{[G().center]:"center"===r,[G().left]:"left"===r,[G().right]:"right"===r}),children:o}):null]}):null,(0,s.jsx)("div",{className:(0,A.A)(G().content,{[G().overflowVisible]:i}),onClick:t,children:n}),c&&(0,s.jsx)(z,{footer:c})]});var H=n(69633),V=n(43142),F=n.n(V);let Y=({onClose:e,isOpen:t,children:n,width:o,title:r,titleAlign:l="center",isCloseable:i=!0,overflow:c=!1,footer:d,contentClassName:_,contentStyle:m,className:u})=>{let p=(0,a.useCallback)(e=>e.stopPropagation(),[]);return(0,H._)(t),(0,s.jsxs)("div",{"data-portal":!0,className:(0,A.A)(F().window,u),children:[(0,s.jsx)(B.i,{onClose:e,isOpen:t}),(0,s.jsx)(R,{onContentClick:p,onClose:e,isCloseable:i,overflow:c,title:r,titleAlign:l,width:o,footer:d,isOpen:t,contentClassName:_,contentStyle:m,children:n})]})},W=({onClose:e,isOpen:t=!1,overflow:n=!1,width:a="auto",children:o,title:r,titleAlign:l="center",isCloseable:i=!0,footer:c,contentClassName:d,contentStyle:_,className:m})=>{let{mounted:u}=(0,P.J)({opened:t});return u?(0,s.jsx)(Y,{title:r,titleAlign:l,isCloseable:i,onClose:e,overflow:n,isOpen:t,width:a,footer:c,contentClassName:d,contentStyle:_,className:m,children:o}):null};W.displayName="DesktopModal";var J=n(4810),X=n(84817),$=n.n(X);let Z=({children:e,visible:t,onClose:n,className:a})=>(0,L.nu)("m")?(0,s.jsx)(J.L,{className:(0,A.A)(a,$().popup),isOpen:t,onClose:n,children:e}):(0,s.jsx)(W,{className:(0,A.A)(a,$().modal),isOpen:t,onClose:n,children:e});var q=n(84448),Q=n(51312);let K={green:{src:"/service-main/_next/static/media/green.1848d0ee.png",height:720,width:888,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAYFBMVEVMaXHC1sG1387j2Mq8793W8d+s5dLF9emr1tay4dXWloSx5tav49KMnpnW9OGdkosMCBeXrZm0kYM8OEKbwLRtS0vD1MVeWmBsR0l1jYukeW45S1bCxL5ZUVSlmpeWl5P5/iJLAAAAHHRSTlMA/oT3SJo/IQYVOFJKt6TW/vpt7CliePv9fHMs+XLXoAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADpJREFUeJwVwYkWgBAUBcBrfRSJVlv+/y+dZgAspV74pfcIp4GhvHdxE6zkzye4Bq1bG1E5WOkbY0pPPc4CQa2PjisAAAAASUVORK5CYII=",blurWidth:8,blurHeight:6},yellow:{src:"/service-main/_next/static/media/yellow.9e524c74.png",height:656,width:627,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAclBMVEVMaXH/2GdjTi1aNUUjHDT84UD91kL/3Ev92Ef/83f44TVkXmynoaSvq6v//zjFVWnstHRRUVyUiHNBPUVRQU88NTxzY2mBd3zY0Mayo5I8OEv//3/++erztrHfwb3Mxa/YoJ+ysbWqnq6Ph5CUipH//enUEFTvAAAAIXRSTlMAPyrY/iY+SlIHEPP8/i3QjBaS5I3MzuP8dfkYZS6jUPsJUmA/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAARUlEQVR4nAXBBwLAEAAAsaMURffe8/9fbAJUZFo7cK0UpTVkS98khbG46VEqMRb2e1ZdauAIrx9ECtsZw1XnsH5jvLz8AWUzA183JGBZAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},red:{src:"/service-main/_next/static/media/red.cbc8d848.png",height:720,width:888,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAV1BMVEWcVHT00M3ux8LZp6e2sLSsn6CIY3Drzcnrvb3ho6NVTFn/zcmJcntgW2zHmZroublIRFB+SV/Zrq6mmZ6FbnT+4NPXdYmLbHsoHDOQjZU4Nkne0siXlp14qPE+AAAAGHRSTlMBTlwp+vWuF0QMPHLI/dKIzcU24YjljyEWmkO5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOUlEQVR4nBXBBxKAIBAEwQGBPUyYxfD/d1p2A+0p8dum+VCGZb1rcg3Zh6H2nSE/xisWQ25/wpvsAzC2AfZbCjcaAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6}};var ee=n(70659),et=n.n(ee);let en=({title:e,description:t,button:n,visible:o,onClose:r,color:l,className:i,contentClassName:c})=>{let _=(()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{t("cat"===new URLSearchParams(window.location.search).get("experiment"))},["cat"]),e})(),m=o||_,u=(0,L.nu)("m"),p=(0,L.qK)(),h=(0,a.useMemo)(()=>K[l],[l]),b=(0,s.jsxs)("div",{className:(0,A.A)(c,et().wrap),children:[(0,s.jsxs)("div",{className:et().text,children:[e&&(0,s.jsx)("div",{className:et().title,children:e}),t&&(0,s.jsx)("div",{className:et().description,children:t}),n]}),(0,s.jsx)(d.default,{alt:"Cat",className:et().image,src:h,unoptimized:!0})]});return p&&u?(0,s.jsx)(J.L,{className:(0,A.A)(i,et().popup),isOpen:m,onClose:r,hasCloseButton:!1,full:!0,children:b}):(0,s.jsx)(W,{className:(0,A.A)(i,et().modal),isOpen:m,onClose:r,isCloseable:!1,children:b})};var es=n(19853),ea=n.n(es);let eo=()=>{let[e,t]=(0,q.p)("token"),[n,o]=(0,a.useState)("idle");(0,a.useEffect)(()=>{let n;e&&(t(null),o("loading"),(n={token:e},(0,Q.p)({url:`/api/v1/feedback/confirm?token=${n.token}`,options:{isMpScApi:!0},config:{method:"GET"}}).then(({data:e,error:t})=>t?Promise.reject(t):e)).then(()=>{o("success")}).catch(()=>{o("error")}))},[e,t]);let r=(0,a.useCallback)(()=>{o("idle")},[o]);return"loading"===n?(0,s.jsx)(Z,{visible:!0,onClose:()=>null,className:ea().loading,children:(0,s.jsxs)("div",{className:ea().content,children:[(0,s.jsx)("div",{className:ea().title,children:"Пожалуйста, подождите"}),(0,s.jsx)(T.a,{size:"s"})]})}):"success"===n?(0,s.jsx)(en,{visible:!0,color:"green",onClose:r,title:"Ваше обращение принято",description:"Ответ по нему пришлем на почту",button:(0,s.jsx)(E.$,{className:ea().button,label:"Спасибо",onClick:r})}):"error"===n?(0,s.jsx)(en,{visible:!0,color:"red",onClose:r,title:"Возникла техническая проблема",description:"Мы уже ее решаем. Попробуйте перейти по ссылке еще раз, если не сработает — напишите в наш чат поддержки",button:(0,s.jsx)(E.$,{className:ea().button,label:"Понятно",onClick:r})}):null};var er=n(75441),el=n.n(er);let ei=()=>(0,s.jsx)("div",{className:el().wrap,children:(0,s.jsx)(u.m,{children:(0,s.jsx)("div",{className:el().content,children:(0,s.jsx)("div",{className:el().text,children:"В соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb на сайте www.finuslugi.ru предоставляются услуги оператора финансовой платформы, а также размещаются рекламно-информационные материалы, предоставленные партнерами ПАО Московская Биржа. Оператором платформы является ПАО Московская Биржа. Услуги, предоставляемые ПАО Московская Биржа, выступающей в качестве оператора финансовой платформы обозначены отметкой \xabОткрыть онлайн\xbb. Рекламно-информационные материалы на сайте www.finuslugi.ru размещаются ПАО Московская Биржа и ООО \xabМБ Маркетплейс\xbb. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb. Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."})})})});var ec=n(99003),ed=n(70151),e_=n(73302),em=n(97037),eu=n(33546),ep=n(23810),eh=n(55191);let eb=eh.Ay.object({lastName:eh.Ay.string().min(1),firstName:eh.Ay.string().min(1),middleName:eh.Ay.string().optional(),email:eh.Ay.string().min(1).email("Некорректный email"),feedbackContent:eh.Ay.string().min(11,"Обращение должно содержать не менее 11 символов"),agreed:eh.Ay.literal(!0)});var eA=n(10175),ef=n.n(eA);let ev=()=>{let{anchor:e}=(0,p.p)(),[t,n]=(0,a.useState)(!1),[o,r]=(0,a.useState)(null),[l,i]=(0,a.useState)(!1),{control:c,handleSubmit:d,reset:_,formState:{errors:m}}=(0,ec.mN)({defaultValues:ep.gH,resolver:(0,eu.u)(eb)}),h=(0,a.useCallback)(async e=>{r(null),i(!0);try{await (({apiUrl:e,...t})=>(0,Q.p)({url:`/api/v1/${e}`,options:{isMpScApi:!0},config:{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}}).then(({data:e,error:t})=>t?Promise.reject(t):e))({lastName:e.lastName,firstName:e.firstName,middleName:e.middleName??"",email:e.email,feedbackContent:e.feedbackContent,agreedToTerms:!0,apiUrl:"feedback"}),n(!0),_(ep.gH),setTimeout(()=>n(!1),1e4)}catch{r("Возникла ошибка при отправке Вашего обращения. <br/> Пожалуйста, попробуйте позднее")}finally{i(!1)}},[_]),b=()=>n(!1);return(0,s.jsx)("div",{className:ef().component,ref:e("online"),children:(0,s.jsxs)(u.m,{children:[(0,s.jsxs)("div",{className:ef().content,children:[(0,s.jsx)("div",{className:ef().title,children:"Подача обращения онлайн"}),(0,s.jsxs)("form",{className:ef().form,onSubmit:d(h),noValidate:!0,children:[(0,s.jsx)("div",{className:ef().disclaimer,children:"Поля под * обязательны для заполнения"}),(0,s.jsxs)("div",{className:ef().section,children:[(0,s.jsxs)("div",{className:ef().label,children:[(0,s.jsx)("div",{children:"1."}),"Заполните Ваши данные*"]}),(0,s.jsxs)("div",{className:ef().group,children:[(0,s.jsx)(ec.xI,{name:"lastName",control:c,render:({field:e})=>(0,s.jsx)(e_.O,{variant:"secondary",size:"m",label:"Фамилия*","data-qa":x("last_name_input"),value:e.value,onChange:t=>e.onChange(t),onBlur:e.onBlur,state:m.lastName?"error":"default"})}),(0,s.jsx)(ec.xI,{name:"firstName",control:c,render:({field:e})=>(0,s.jsx)(e_.O,{variant:"secondary",size:"m",label:"Имя*","data-qa":x("first_name_input"),value:e.value,onChange:t=>e.onChange(t),onBlur:e.onBlur,state:m.firstName?"error":"default"})}),(0,s.jsx)(ec.xI,{name:"middleName",control:c,render:({field:e})=>(0,s.jsx)(e_.O,{variant:"secondary",size:"m",label:"Отчество","data-qa":x("patronomic_input"),value:e.value??"",onChange:t=>e.onChange(t),onBlur:e.onBlur,state:m.middleName?"error":"default"})})]}),(0,s.jsx)(ec.xI,{name:"email",control:c,render:({field:e})=>(0,s.jsx)(e_.O,{variant:"secondary",size:"m",label:"Email*",type:"email","data-qa":x("email_input"),value:e.value,onChange:t=>e.onChange(t),onBlur:e.onBlur,state:m.email?"error":"default",caption:m.email&&e.value?.trim()?m.email.message:void 0})})]}),(0,s.jsxs)("div",{className:ef().section,children:[(0,s.jsxs)("div",{className:ef().label,children:[(0,s.jsx)("div",{children:"2."}),"Опишите суть Вашего обращения*"]}),(0,s.jsx)(ec.xI,{name:"feedbackContent",control:c,render:({field:e})=>(0,s.jsx)(em.T,{label:"Введите ваше сообщение","data-qa":x("message_input"),variant:"secondary",rows:8,autoResize:!0,counter:!0,maxLength:5e3,value:e.value,onChange:t=>e.onChange(t),state:m.feedbackContent?"error":"default",caption:m.feedbackContent?.message??""})})]}),(0,s.jsxs)("div",{className:ef().bottom,children:[(0,s.jsx)(ec.xI,{name:"agreed",control:c,render:({field:e})=>(0,s.jsxs)("div",{onClick:()=>e.onChange(!e.value),className:ef().agreement,children:[(0,s.jsx)(ed.S,{state:m.agreed?"error":"default",value:e.value,dataQa:x("consent_checkbox"),style:{pointerEvents:"none"}}),(0,s.jsxs)("span",{children:["Соглашаюсь с"," ",(0,s.jsx)("a",{target:"_blank",rel:"noreferrer",className:ef().link,href:f.R,"data-qa":x("checkbox_regulation_link"),children:"порядком приема и рассмотрения электронного обращения, направляемого через сеть интернет"})]})]})}),(0,s.jsx)("div",{className:ef().submit,children:(0,s.jsx)(E.$,{type:"submit",pending:l,disabled:l,size:"s",label:"Отправить",stretch:!0,dataQa:x("submit_button")})}),Object.keys(m).length>0&&(0,s.jsx)("div",{className:ef().submitError,children:"Проверьте все поля"}),null!==o&&(0,s.jsx)("div",{className:ef().submitError,dangerouslySetInnerHTML:{__html:o}}),(0,s.jsxs)("div",{className:ef().notes,children:["Нажимая кнопку \xabОтправить\xbb, вы принимаете"," ",(0,s.jsx)("a",{target:"_blank",rel:"noreferrer",className:ef().link,href:ep.JD,"data-qa":x("privacy_policy_link"),children:"условия политики обработки персональных данных ПАО Московская Биржа"})," ","и настоящим даете"," ",(0,s.jsx)("a",{target:"_blank",rel:"noreferrer",className:ef().link,href:ep.kI,"data-qa":x("agreement_link"),children:"согласие на обработку ПАО Московская Биржа своих персональных данных"})]})]})]})]}),(0,s.jsx)(en,{className:ef().modal,visible:t,color:"yellow",onClose:b,title:"Подтвердите почту",description:(0,s.jsxs)(s.Fragment,{children:["Чтобы зарегистрировать обращение,",(0,s.jsx)("br",{}),"нам нужно подтвердить вашу почту.",(0,s.jsx)("br",{}),"Откройте письмо и перейдите по ссылке"]}),button:(0,s.jsx)(E.$,{label:"Понятно",onClick:b,size:"s",className:ef().modalButton})})]})})};var ex=n(87555),eg=n.n(ex);let eC=()=>{let{anchor:e}=(0,p.p)();return(0,s.jsx)("div",{className:eg().wrap,ref:e("via-post"),children:(0,s.jsx)(u.m,{children:(0,s.jsxs)("div",{className:eg().content,children:[(0,s.jsx)("div",{className:eg().title,children:"Отправка обращения Почтой России"}),(0,s.jsx)("div",{className:eg().card,children:(0,s.jsxs)("div",{className:eg().card_content,children:[(0,s.jsxs)("div",{className:eg().card_text,children:[(0,s.jsx)("strong",{children:"Адрес для подачи обращений через Почту России:"}),"Российская Федерация, г. Москва, почтовый индекс 125009, Большой Кисловский переулок, дом 13"]}),(0,s.jsxs)("div",{className:eg().card_text,children:[(0,s.jsx)("span",{className:eg().important,children:"Важно!"}),"При отправлении письменного обращения через Почту России, внимательно проверяйте обратный адрес, чтобы вы могли быстро и без задержек получить ответ"]})]})})]})})})},ew=(0,o.default)(()=>n.e(1490).then(n.bind(n,31490)).then(e=>e.ObrashchenieWelcome),{loadableGenerated:{webpack:()=>[31490]},ssr:!0}),ej=()=>{let e=(0,l.p)().NEXT_PUBLIC_BASE_URL,t=(0,r.usePathname)();return(0,a.useEffect)(()=>{t&&((0,c.F)(`${e}${t}`),(e=>{let t,n=((t=e?.split("?")[1])?t.split("&"):[]).reduce((e,t)=>{let[n,s]=t.split("=");return n&&s?{...e,[n]:s}:e},{});if(n&&n.aggregator_id){let e,t={...n,create_date:new Date().toISOString()};try{e=JSON.parse((()=>{if(document.cookie)return Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")))})()?.cpa_click||"")}catch{return}e=t;let s={event:"data-event",eventCategory:n.aggregator_id,eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:n.utm_term||n.click_id,utm_source:n.utm_source,utm_campaign:n.utm_campaign,utm_medium:"affiliate"};i[n.aggregator_id]&&(((e,t,n=365)=>{let s=(0,l.p)().NEXT_PUBLIC_BASE_URL||"",a=window.location.host.indexOf("localhost")>=0?"":`; domain=${["",...s.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join(".")}`,o=new Date(new Date().getTime()+24*n*36e5).toUTCString();document.cookie=`${e}=${JSON.stringify(t)}; SameSite=Strict${/^https:\/\//gi.test(s)?"; Secure":""}${a}; expires=${o}`})("cpa_click",e,30),(0,c.o)(s))}})(`${e}${t}`))},[t]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(S,{}),(0,s.jsx)(ev,{}),(0,s.jsx)(eC,{}),(0,s.jsx)(ew,{}),(0,s.jsx)(ei,{}),(0,s.jsx)(eo,{})]})}}},e=>{e.O(0,[4653,2545,4718,9593,6551,1154,8437,8500,5965,2606,2421,2183,8441,3794,7358],()=>e(e.s=17261)),_N_E=e.O()}]);