"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[623],{682:function(e,t,n){n.d(t,{D:function(){return $},P:function(){return D},U:function(){return I},u:function(){return w}});var o=n(57437),l=n(75504),c=n(2265),r=n(26094),i=n(63919),s=n(54887);let a=300,u=({opened:e})=>{let[t,n]=(0,c.useState)(!1),o=(0,c.useRef)(null),l=(0,c.useRef)(!1);return(0,c.useEffect)(()=>(e&&!l.current?(l.current=!0,n(!0)):!e&&l.current&&(o.current=setTimeout(()=>{l.current=!1,n(!1)},a)),()=>{o.current&&clearTimeout(o.current)}),[e]),{mounted:t}},d=(0,i.g)("click-outside","sc"),p=Object.freeze({overlay:`${d}__overlay`,open:`${d}--open`,close:`${d}--close`}),m=({onClose:e,onToucheMove:t,isOpen:n,delay:r=a})=>{let i=(0,c.useRef)(null),s=(0,c.useCallback)(()=>{e&&(i.current=setTimeout(()=>{e()},r))},[r,e]),u=(0,c.useCallback)(e=>{"Escape"===e.key&&s()},[s]);return(0,c.useEffect)(()=>(n&&window.addEventListener("keydown",u),()=>{i.current&&clearTimeout(i.current),window.removeEventListener("keydown",u)}),[n,u]),(0,o.jsx)("div",{className:(0,l.Z)(p.overlay,{[p.open]:n,[p.close]:!n}),onTouchStart:t,onClick:s})},h=(e,t)=>{e&&(t?e.setAttribute("data-portal",""):e.removeAttribute("data-portal"))},f=e=>{e.style.top||(window.prevScrollPosition=window.scrollY)},_=(e,t,n)=>{t.style.setProperty("overflow-y","scroll"),e.classList.toggle("scroll-disable-windows",!0),e.style.setProperty("width",`calc(100vw - ${n}px)`),e.style.setProperty("top",`-${window.prevScrollPosition}px`)},v=e=>{e.style.setProperty("overflow","hidden"),e.style.setProperty("height","100vw")},g=e=>{e.classList.toggle("scroll-disable-windows",!1),e.style.removeProperty("overflow"),e.style.removeProperty("height"),e.style.removeProperty("width"),e.style.removeProperty("top")},x=()=>{void 0!==window.prevScrollPosition&&(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0)},b=()=>document.querySelectorAll("[data-portal]").length>1,w=e=>{let t=(0,c.useRef)(null),n=(0,c.useRef)(!1);return(0,c.useEffect)(()=>{if(n.current===e)return;n.current=e;let o=t.current,l=document.body,c=document.documentElement,r=window.innerWidth-c.clientWidth,i=r>0;if(e&&i)f(l),_(l,c,r),h(o,!0);else if(e)v(l),h(o,!0);else{let e=!b();e&&g(l),e&&x(),h(o,!1)}return()=>{let e=!b();e&&g(l),e&&x()}},[e]),t},j=(0,i.g)("drawer-footer","sc"),y=Object.freeze({footer:`${j}__footer`,hasScroll:`${j}__footer--has-scroll`}),N=({footer:e,hasScroll:t,className:n})=>(0,o.jsx)("div",{className:(0,l.Z)(y.footer,{[y.hasScroll]:t},n),children:"function"==typeof e?e():e}),k=(0,i.g)("drawer-content","sc"),C=Object.freeze({container:`${k}__container`,open:`${k}--open`,close:`${k}--close`,header:`${k}__header`,rowHeader:`${k}__header--row`,title:`${k}__title`,center:`${k}__title--center`,left:`${k}__title--left`,right:`${k}__title--right`,controlContainer:`${k}__control-container`,content:`${k}__content`,footer:`${k}__footer`}),A=({onClose:e,onContentClick:t,children:n,title:i,rowTitle:s,titleAlign:a,isCloseable:u,footer:d,closeButton:p,isOpen:m,contentClassName:h,footerClassName:f,contentStyle:_,width:v})=>{let g=(0,c.useRef)(null),x=(0,c.useRef)(null),[b,w]=(0,c.useState)(!1);(0,c.useEffect)(()=>{var e;if(!x.current||!g.current)return;let t=(null==(e=null==x?void 0:x.current)?void 0:e.getBoundingClientRect().top)||0,n=null==g?void 0:g.current,o=()=>{let e=null==x?void 0:x.current;e&&w(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",o,!1),()=>{null==n||n.removeEventListener("scroll",o,!1)}},[]);let j=_||v?{width:v,..._||{}}:void 0;return(0,o.jsxs)("div",{ref:g,style:j,className:(0,l.Z)(C.container,{[C.open]:m,[C.close]:!m},h),children:[i||u?(0,o.jsxs)("div",{className:(0,l.Z)(C.header,{[C.rowHeader]:s}),children:[u?p?"function"==typeof p?p():p:(0,o.jsx)("button",{type:"button",className:C.controlContainer,onClick:e,children:(0,o.jsx)(r.IconFdsCloseO,{size:24})}):null,i?(0,o.jsx)("h3",{className:(0,l.Z)(C.title,{[C[a]]:!0}),children:i}):null]}):null,(0,o.jsx)("div",{ref:x,className:C.content,onClick:t,children:n}),d&&(0,o.jsx)(N,{className:(0,l.Z)(C.footer,f),footer:d,hasScroll:b})]})},S=(0,i.g)("drawer-layout","sc"),T=Object.freeze({window:`${S}__window`}),L=({onClose:e,isOpen:t,children:n,withDisabledScroll:r,className:i,...s})=>{let a=(0,c.useCallback)(e=>e.stopPropagation(),[]);return w(t&&r),(0,o.jsxs)("div",{"data-portal":!0,className:(0,l.Z)(T.window,i),children:[(0,o.jsx)(m,{onClose:e,isOpen:t,delay:0}),(0,o.jsx)(A,{onContentClick:a,onClose:e,isOpen:t,...s,children:n})]})},$=({isOpen:e=!1,children:t,titleAlign:n="center",isCloseable:l=!0,withDisabledScroll:c=!0,...r})=>{let{mounted:i}=u({opened:e});return i?(0,o.jsx)(L,{titleAlign:n,isCloseable:l,isOpen:e,withDisabledScroll:c,...r,children:t}):null};$.displayName="Drawer";let O=(0,i.g)("mobile-modal-footer","sc"),z=Object.freeze({footer:`${O}__footer`,footerWithoutShadow:`${O}__footer--without-shadow`}),P=({footer:e,isSmallPopup:t=!1,footerClassName:n})=>(0,o.jsx)("div",{className:(0,l.Z)(z.footer,t&&z.footerWithoutShadow,n),children:"function"==typeof e?e():e}),R=(0,i.g)("mobile-popup","sc"),U=Object.freeze({mobilePopup:`${R}`,mobilePopupOpen:`${R}--open`,content:`${R}__content`,contentFull:`${R}__content--full`,contentTransition:`${R}__content--transition`,contentTransitionOpen:`${R}__content--transition-open`,contentLine:`${R}__content-line`,contentContainer:`${R}__content-container`,smallContentContainer:`${R}__content-container--small`,min:`${R}__content-container--min`,title:`${R}__title`,closeContainer:`${R}__close-container`,closeButton:`${R}__close-button`}),E=({children:e,footer:t,isOpen:n,isSmallPopup:i,onClose:s,hasCloseButton:a=!0,full:u,touchDistance:d=100,withDisabledScroll:p=!0,contentClassName:h,className:f,title:_,closeButton:v,footerClassName:g})=>{let[x,b]=(0,c.useState)(!1),[j,y]=(0,c.useState)(!1),[N,k]=(0,c.useState)(!0),[C,A]=(0,c.useState)("120%"),S=(0,c.useRef)(null),T=(0,c.useRef)(0),L=(0,c.useRef)(!1),$=e=>{var t,n,o;let l=null==(t=S.current)?void 0:t.offsetTop,c=null==(n=S.current)?void 0:n.offsetHeight;if(L.current=!0,k(!1),l&&c){let t=(null==(o=null==e?void 0:e.touches[0])?void 0:o.clientY)-l,n=0;t>=0&&t<=c+30&&(n=t),t>c+30&&(n=c+30),A(`${n}px`),T.current=n}},O=()=>{L.current&&(T.current>d&&s?null==s||s():A("0"),k(!0),L.current=!1),window.removeEventListener("touchmove",$),window.removeEventListener("touchend",O)};return(0,c.useEffect)(()=>{n&&setTimeout(()=>{b(!0),y(!0),A("0")},100),!n&&j&&(A("120%"),b(!1),y(!1))},[j,n]),w(n&&p),(0,o.jsxs)("div",{"data-portal":!0,className:(0,l.Z)(U.mobilePopup,j&&U.mobilePopupOpen,f),children:[(0,o.jsx)(m,{onClose:()=>{n&&(null==s||s())},onToucheMove:()=>{n&&(b(!1),window.addEventListener("touchmove",$),window.addEventListener("touchend",O))},isOpen:n,delay:0}),(0,o.jsxs)("div",{className:(0,l.Z)(U.content,u&&U.contentFull,N&&U.contentTransition,N&&x&&U.contentTransitionOpen),ref:S,style:{transform:`translateY(${C})`},children:[(0,o.jsx)("div",{className:U.contentLine}),(0,o.jsxs)("div",{className:(0,l.Z)(U.contentContainer,i&&U.smallContentContainer,{[U.min]:!_&&!a},h),children:[!!_&&(0,o.jsx)("div",{className:U.title,children:_}),a?(0,o.jsx)("div",{className:U.closeContainer,children:a?v?"function"==typeof v?v():v:(0,o.jsx)("button",{onClick:s,className:U.closeButton,children:(0,o.jsx)(r.IconFdsCloseO,{size:24})}):null}):null,e]}),t&&(0,o.jsx)(P,{footerClassName:g,isSmallPopup:i,footer:t})]})]})},I=({children:e,isSmallPopup:t=!1,isOpen:n=!1,...l})=>{let{mounted:c}=u({opened:n});return c?(0,o.jsx)(E,{isSmallPopup:t,isOpen:n,...l,children:e}):null};I.displayName="UiMobilePopup";let D=({children:e,id:t="portal-root"})=>{let[n,o]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let e=document.getElementById(t);if(e){o(e);return}let n=document.createElement("div");return n.id=t,document.body.appendChild(n),o(n),()=>{document.body.removeChild(n)}},[t]),n?(0,s.createPortal)(e,n):null}},63919:function(e,t,n){n.d(t,{g:function(){return o}});function o(e,t){return`finkit-widgets-${t}-${e}`}},3455:function(e,t,n){n.d(t,{D:function(){return s},h:function(){return u}});var o,l=n(60915);let c={а:"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"},r=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in c?c[t]:e}).replaceAll(/[ \u00A0]/g,"_"),i=(e,t)=>{if(typeof window>"u")return;let n=sessionStorage.getItem("pushedEvents"),o=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 c=o.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||!c){if(t){let t={...e};t.url=window.location.pathname,o.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(o))}(0,l.AB)(e)}};var s=((o=s||{}).icon="icon",o.chip="chip",o.accordion="accordion",o.button="button",o.checkbox="checkbox",o.radio="radio",o.select="select",o.toggle="toggle",o.tooltip="tooltip",o.link="link",o.banner="banner",o.tag="tag",o.date="date",o.field="field",o.offer="offer",o.tab="tab",o.submitButton="submitButton",o.popup="popup",o.block="block",o);let a={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_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_"},u=({eventCategory:e,eventActionType:t,eventActionText:n="",eventLabel:o})=>{let l={event:"data-event",eventCategory:e,eventAction:a[t]+r(n)};void 0!==o&&(l.eventLabel=r("string"==typeof o?o:o.toString())),i(l)}},99623:function(e,t,n){n.r(t),n.d(t,{Footer:function(){return Y}});var o=n(57437),l=n(32833),c=n(75504),r=n(24866),i=n(26094),s=n(63919),a=n(61810),u=n(3455),d=n(2265),p=n(682);let m=(0,s.g)("footer-contacts-block","sc"),h=Object.freeze({contactsWrapper:"".concat(m,"__contacts-wrapper"),gray:"".concat(m,"__gray"),phones:"".concat(m,"__phones"),contactsButtons:"".concat(m,"__contacts-buttons"),vkIcon:"".concat(m,"__vk-icon"),tgIcon:"".concat(m,"__tg-icon"),dzenIcon:"".concat(m,"__dzen-icon"),ytIcon:"".concat(m,"__yt-icon"),link:"".concat(m,"__link")}),f=(0,s.g)("footer","sc"),_=Object.freeze({wrapper:"".concat(f,"__wrapper"),section:"".concat(f,"__section"),container:"".concat(f,"__container"),top:"".concat(f,"__top"),main:"".concat(f,"__main"),links:"".concat(f,"__links"),disclaimer:"".concat(f,"__disclaimer"),bottom:"".concat(f,"__bottom"),bottomLinks:"".concat(f,"__bottom-links"),bottomDisclaimer:"".concat(f,"__bottom-disclaimer"),compact:"".concat(f,"__wrapper--compact"),white:"".concat(f,"__wrapper--white")}),v="finkit-widgets-sc-footer",g=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"}],x=[...g,{title:"Онлайн чат",url:void 0}],b=[{type:"vk",className:h.vkIcon,iconName:"vk"},{type:"dzen",className:h.dzenIcon,iconName:"dzen"},{type:"telegramChannel",className:h.tgIcon,iconName:"telegram"},{type:"yt",className:h.ytIcon,iconName:"",icon:(0,o.jsx)(i.IconFdsYoutubeF,{})}],w=(0,o.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО \xabМБ Маркетплейс\xbb, организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb. Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой \xabОткрытие онлайн на Финуслугах\xbb. Иная информация на сайте www.finuslugi.ru считается размещенной ООО \xabМБ Маркетплейс\xbb, если иное явно не следует из существа размещаемой информации. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),j=e=>{let{onClick:t,eventActionText:n,eventLabel:l,...c}=e;return(0,o.jsx)(a.zx,{onClick:e=>{null==t||t(e),(0,u.h)({eventCategory:v,eventActionType:u.D.button,eventActionText:n||"",eventLabel:l||""})},...c})},y=e=>{let{onClick:t,eventActionType:n,eventActionText:l,eventLabel:c,chat:r,...i}=e;return(0,o.jsx)(a.rU,{onClick:e=>{var o,i,s;null==t||t(e),r&&(null==e||e.preventDefault(),null==(s=null==(i=null==(o=null==window?void 0:window.supportWidget)?void 0:o.craftTalk)?void 0:i.open)||s.call(i)),(0,u.h)({eventCategory:v,eventActionType:n||u.D.link,eventActionText:l||"",eventLabel:c||""})},...i})},N=e=>{let{minioUrl:t,blogs:n}=e;return(0,o.jsxs)("div",{className:h.contactsWrapper,children:[(0,o.jsx)(l.xv,{className:h.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,o.jsx)("div",{className:h.phones,children:x.map(e=>{let{title:t,url:n}=e;return(0,o.jsx)(y,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,o.jsx)(l.xv,{className:h.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,o.jsx)("div",{className:h.contactsButtons,children:b.map(e=>{let{type:l,className:c,iconName:i,icon:s}=e;return(0,o.jsx)(j,{as:"a",href:null==n?void 0:n[l],target:"_blank",className:c,iconRight:s||(0,o.jsx)("img",{src:(0,r.xn)(t,"/pl-common-blocks-renderer/footer/".concat(i,".svg")),alt:l,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:l,eventLabel:"".concat(l,"_").concat(null==n?void 0:n[l])},l)})}),(0,o.jsx)(l.xv,{className:h.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,o.jsx)("div",{className:h.contactsButtons,children:(0,o.jsxs)(y,{href:null==n?void 0:n.investTg,target:"_blank",className:h.link,eventActionText:"telegram",eventLabel:"telegram_".concat(null==n?void 0:n.investTg),children:[(0,o.jsx)(j,{className:h.tgIcon,iconRight:(0,o.jsx)("img",{src:(0,r.xn)(t,"/pl-common-blocks-renderer/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:"telegram_".concat(null==n?void 0:n.investTg)}),"Финуслуги Инвест"]})})]})},k=(0,s.g)("footer-disclaimer","sc"),C=Object.freeze({disclaimer:"".concat(k)}),A=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,u.h)({eventCategory:v,eventActionType:u.D.link,eventActionText:e.target.textContent||"",eventLabel:"".concat(e.target.textContent,"_").concat(e.target.href)})};return e.disclaimer?(0,o.jsx)("div",{className:(0,c.Z)(e.className,C.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,o.jsx)("div",{className:(0,c.Z)(e.className,C.disclaimer),onClick:t,children:e.children})},S=()=>{let e=new URL(window.location.href),t=new URLSearchParams;return e.searchParams.forEach((e,n)=>{/^utm_/i.test(n)&&t.set(n,e)}),t},T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,d.useState)(e);return(0,d.useEffect)(()=>{let t=S();if(!t||0===t.size)return;let[o,l=""]=e.split("?"),c=new URLSearchParams(l);t.forEach((e,t)=>{c.has(t)||c.set(t,e)});let r=c.toString();n(r?"".concat(o,"?").concat(r):o)},[e]),t},L=(0,s.g)("footer-modal-body","sc"),$=Object.freeze({wrapper:"".concat(L,"__wrapper"),title:"".concat(L,"__title"),item:"".concat(L,"__item"),label:"".concat(L,"__label"),button:"".concat(L,"__button"),description:"".concat(L,"__description")}),O=e=>{let{directions:t}=e;return(0,o.jsxs)("div",{className:$.wrapper,children:[(0,o.jsx)("div",{className:$.title,children:"Направления"}),t.map(e=>(0,o.jsxs)(y,{className:$.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,o.jsxs)("div",{className:$.label,children:[(0,o.jsx)("span",{children:e.name}),(0,o.jsx)(j,{className:$.button,iconRight:(0,o.jsx)(i.IconFdsArrowUpRightSmallO,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,o.jsx)("p",{className:$.description,children:e.description})]},e.url))]})},z=(0,s.g)("footer-popup","sc"),P=Object.freeze({wrapper:"".concat(z,"__wrapper"),button:"".concat(z,"__button"),icon:"".concat(z,"__icon"),buttonWrapper:"".concat(z,"__button-wrapper")}),R=e=>{let{directions:t}=e,n=(0,a._m)("l"),[l,c]=(0,d.useState)(!1),r=()=>{c(!1)};return(0,o.jsxs)("div",{className:P.wrapper,children:[(0,o.jsx)("div",{className:P.buttonWrapper,children:(0,o.jsx)(j,{className:P.button,appearance:"ghost",variant:"white",onClick:()=>{c(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,o.jsx)("div",{className:P.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,o.jsx)("div",{},e))})})}),(0,o.jsxs)(p.P,{children:[!n&&(0,o.jsx)(p.U,{isOpen:l,onClose:r,full:!0,children:(0,o.jsx)(O,{directions:t})}),n&&(0,o.jsx)(p.D,{isOpen:l,onClose:r,width:"804px",children:(0,o.jsx)(O,{directions:t})})]})]})},U=(0,s.g)("footer-left-column","sc"),E=Object.freeze({leftColumn:"".concat(U,"__left-column"),logoWrapper:"".concat(U,"__logo-wrapper"),banner:"".concat(U,"__banner")}),I=e=>{let{showcaseUrl:t,minioUrl:n,directions:c,mobAppUrl:s}=e,a=T(s);return(0,o.jsxs)("div",{className:E.leftColumn,children:[(0,o.jsx)(y,{className:E.logoWrapper,href:t,eventActionType:u.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,o.jsx)("img",{src:(0,r.xn)(n,"/pl-common-blocks-renderer/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,o.jsx)(R,{directions:null!=c?c:[]}),(0,o.jsx)(y,{href:a,target:"_blank",eventActionType:u.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:"Управляйте финансами через приложение Финуслуг_".concat(a),children:(0,o.jsxs)(l.Zb,{className:E.banner,children:[(0,o.jsxs)(l.xv,{weight:"medium",children:["Управляйте финансами",(0,o.jsx)("br",{}),"через приложение Финуслуг"]}),(0,o.jsx)(j,{iconRight:(0,o.jsx)(i.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{srcSet:(0,r.xn)(n,"/pl-common-blocks-renderer/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,o.jsx)("img",{src:(0,r.xn)(n,"/pl-common-blocks-renderer/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},D=(0,s.g)("footer-logo","sc"),Z=Object.freeze({wrapper:"".concat(D,"__wrapper"),link:"".concat(D,"__link"),fromMoex:"".concat(D,"__from-moex"),logo:"".concat(D,"__logo"),white:"".concat(D,"__wrapper--white")}),B=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:l}=e;return(0,o.jsx)("div",{className:(0,c.Z)(Z.wrapper,{[Z.white]:l}),children:(0,o.jsxs)(y,{className:Z.link,href:t,eventActionType:u.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,o.jsx)("img",{className:Z.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg")}),(0,o.jsx)("img",{className:Z.fromMoex,src:"".concat(n,"/images/fromMoex.svg")})]})})},W=(0,s.g)("footer-warning","sc"),F=Object.freeze({reservedSpace:"".concat(W,"__reserved-space"),wrapper:"".concat(W,"__wrapper"),fixed:"".concat(W,"__wrapper--fixed"),container:"".concat(W,"__container")}),M=e=>{let{text:t,fixed:n}=e;return(0,o.jsx)("div",{className:(0,c.Z)(F.wrapper,{[F.fixed]:n}),children:(0,o.jsx)(l.W2,{className:F.container,children:t})})},H=e=>{let{text:t}=e;return(0,o.jsxs)("div",{className:F.reservedSpace,children:[(0,o.jsx)(M,{text:t}),(0,o.jsx)(M,{text:t,fixed:!0})]})},Y=e=>{var t,n;let{data:r,showcaseUrl:i="https://finuslugi.ru",minioUrl:s="https://assets.finuslugi.ru/mp-assets",customDisclaimer:a,variant:u="default"}=e,d=!a&&null!=r&&r.disclaimer?r.disclaimer:void 0,p=u.includes("compact"),m=u.includes("white"),h=null==(t=null==r?void 0:r.bottom)?void 0:t.concat(p?g:[]),f="warning"in r?r.warning:void 0;return(0,o.jsx)("footer",{className:(0,c.Z)(_.wrapper,{[_.compact]:p,[_.white]:m}),children:(0,o.jsxs)("section",{className:_.section,children:[(0,o.jsxs)(l.W2,{className:_.container,children:[!p&&(0,o.jsx)(I,{showcaseUrl:i,minioUrl:s,directions:r.directions,mobAppUrl:r.mobAppUrl}),(0,o.jsx)("div",{className:_.wrapper,children:(0,o.jsxs)("div",{className:_.top,children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:_.main,children:[!p&&(0,o.jsx)("div",{className:_.links,children:null==(n=null==r?void 0:r.top)?void 0:n.map(e=>(0,o.jsx)(y,{href:e.url,eventActionText:e.title,eventLabel:"".concat(e.title,"_").concat(e.url),children:e.title},e.url))}),p&&(0,o.jsx)(B,{showcaseUrl:i,minioUrl:s,isWhite:m}),(0,o.jsx)(A,{className:_.disclaimer,disclaimer:d,children:a||w})]}),(0,o.jsxs)("div",{className:_.bottom,children:[(0,o.jsx)("div",{className:_.bottomLinks,children:null==h?void 0:h.map(e=>(0,o.jsx)(y,{href:e.url,eventActionText:e.title,eventLabel:"".concat(e.title,"_").concat(e.url),children:e.title},e.url))}),(0,o.jsx)(A,{className:_.bottomDisclaimer,disclaimer:null==r?void 0:r.bottomDisclaimer})]})]}),!p&&(0,o.jsx)(N,{minioUrl:s,blogs:r.blogs})]})})]}),p&&!!f&&(0,o.jsx)(H,{text:f})]})})}},24866:function(e,t,n){n.d(t,{jb:function(){return x},xn:function(){return b}});let o=/#/g,l=/&/g,c=/\//g,r=/=/g,i=/\+/g,s=/%5e/gi,a=/%60/gi,u=/%7c/gi,d=/%20/gi;function p(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(u,"|").replace(i,"%2B").replace(d,"+").replace(o,"%23").replace(l,"%26").replace(a,"`").replace(s,"^").replace(c,"%2F")}function m(e){return p(e).replace(r,"%3D")}function h(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let f=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,v=/^([/\\]\s*){2,}[^/\\]/,g=/^\.?\//;function x(e,t){let n=function e(t="",n){let o=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(o){let[,e,t=""]=o;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!function(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?f.test(e):_.test(e)||!!t.acceptRelative&&v.test(e)}(t,{acceptRelative:!0}))return n?e(n+t):j(t);let[,l="",c,r=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",s=""]=r.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:u,hash:d}=j(s.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:l.toLowerCase(),auth:c?c.slice(0,Math.max(0,c.length-1)):"",host:i,pathname:a,search:u,hash:d,[w]:!l}}(e),o={...function(e=""){let t={};for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let o=h(e[1].replace(i," "));if("__proto__"===o||"constructor"===o)continue;let l=h((e[2]||"").replace(i," "));void 0===t[o]?t[o]=l:Array.isArray(t[o])?t[o].push(l):t[o]=[t[o],l]}return t}(n.search),...t};return n.search=Object.keys(o).filter(e=>void 0!==o[e]).map(e=>{var t;return(("number"==typeof(t=o[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${m(e)}=${p(t)}`).join("&"):`${m(e)}=${p(t)}`:m(e)}).filter(Boolean).join("&"),function(e){let t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",l=e.auth?e.auth+"@":"",c=e.host||"";return(e.protocol||e[w]?(e.protocol||"")+"//":"")+l+c+t+n+o}(n)}function b(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(g,"");n=function(e="",t){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}let w=Symbol.for("ufo:protocolRelative");function j(e=""){let[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}}}]);