(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95057,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,r=e.protocol||"",a=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:n&&(c=t+(~n.indexOf(":")?`[${n}]`:n),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||s.test(r))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${r}${c}${a}${u}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},73668,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return o}});let r=e.r(18967),a=e.r(52817);function o(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,a.hasBasePath)(n.pathname)}catch(e){return!1}}},84508,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},22016,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return g},useLinkStatus:function(){return b}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(90809),s=e.r(43476),i=o._(e.r(71645)),l=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),p=e.r(5550);e.r(33525);let m=e.r(88540),_=e.r(91949),f=e.r(73668),h=e.r(9396);function g(t){var n,r;let a,o,g,[b,y]=(0,i.useOptimistic)(_.IDLE_LINK_STATUS),w=(0,i.useRef)(null),{href:k,as:x,children:C,prefetch:j=null,passHref:I,replace:L,shallow:N,scroll:$,onClick:T,onMouseEnter:S,onTouchStart:O,legacyBehavior:P=!1,onNavigate:D,transitionTypes:A,ref:E,unstable_dynamicOnHover:z,...B}=t;a=C,P&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let R=i.default.useContext(c.AppRouterContext),M=!1!==j,U=!1!==j?null===(r=j)||"auto"===r?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,W="string"==typeof(n=x||k)?n:(0,l.formatUrl)(n);if(P){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(a)}let F=P?o&&"object"==typeof o&&o.ref:E,Y=i.default.useCallback(e=>(null!==R&&(w.current=(0,_.mountLinkInstance)(e,W,R,U,M,y)),()=>{w.current&&((0,_.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,_.unmountPrefetchableInstance)(e)}),[M,W,R,U,y]),X={ref:(0,u.useMergedRef)(Y,F),onClick(t){P||"function"!=typeof T||T(t),P&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!R||t.defaultPrevented||function(t,n,r,a,o,s,l){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(n)){a&&(t.preventDefault(),location.replace(n));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);i.default.startTransition(()=>{d(n,a?"replace":"push",!1===o?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,r.current,l)})}}(t,W,w,L,$,D,A)},onMouseEnter(e){P||"function"!=typeof S||S(e),P&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),R&&M&&(0,_.onNavigationIntent)(e.currentTarget,!0===z)},onTouchStart:function(e){P||"function"!=typeof O||O(e),P&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),R&&M&&(0,_.onNavigationIntent)(e.currentTarget,!0===z)}};return(0,d.isAbsoluteUrl)(W)?X.href=W:P&&!I&&("a"!==o.type||"href"in o.props)||(X.href=(0,p.addBasePath)(W)),g=P?i.default.cloneElement(o,X):(0,s.jsx)("a",{...B,...X,children:a}),(0,s.jsx)(v.Provider,{value:b,children:g})}e.r(84508);let v=(0,i.createContext)(_.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(v);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},63186,(e,t,n)=>{"use strict";Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=e.r(71645);n.TagManagerNoscript=function({gtmID:e,mtmURL:t,mtmID:n}){return r.createElement(r.Fragment,null,r.createElement("noscript",{id:"analytics-gtm-noscript",dangerouslySetInnerHTML:{__html:function({gtmID:e}){return`<iframe src="https://www.googletagmanager.com/ns.html?id=${e}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`}({gtmID:e})}}),r.createElement("noscript",{id:"analytics-mtm-noscript",dangerouslySetInnerHTML:{__html:function({mtmURL:e,mtmID:t}){return`<img src="${e}/matomo.php?idsite=${t}&rec=1" alt="Matomo Tracker" style="display:none;visibility:hidden" />`}({mtmURL:t,mtmID:n})}}))},n.TagManagerScript=function({gtmID:e,mtmURL:t,mtmID:n,autoInit:a=!0}){return r.createElement(r.Fragment,null,r.createElement("script",{id:"analytics-session-script",dangerouslySetInnerHTML:{__html:`
    (function(w) {
  /*! js-cookie v3.0.5 | MIT */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var t=function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return t}));
  function uuidv4(){return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(a){return (a^Math.random()*16>>a/4).toString(16)})}
  function normalizeDomain(domain) {return '.'+domain.replace(/^http(s)?:\\/\\//gi, '').replace(/\\/$/, '').split('.').slice(-2).join('.')}
  var uuidv4re=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
  var browserId=Cookies.get('browserId')||w.browserId||(function(){
    try{return w.localStorage.getItem('browserId');}catch(e){return null;}
  })()||uuidv4();
  var sessionId=Cookies.get('browserSessionId')||w.browserSessionId||(function(){
    try{return w.sessionStorage.getItem('browserSessionId')||w.sessionStorage.getItem('browserId');}catch(e){return null;}
  })()||uuidv4();
  if(!browserId.match(uuidv4re)){browserId=uuidv4();}
  if(!sessionId.match(uuidv4re)){sessionId=uuidv4();}
  w.browserId=browserId;
  w.browserSessionId=sessionId;
  try{
    w.localStorage.setItem('browserId', browserId);
    w.sessionStorage.setItem('browserId', sessionId);
    w.sessionStorage.setItem('browserSessionId', sessionId);
  }catch(e){}
  var domain=normalizeDomain(w.location.hostname);
  var cookieOptions={path:'/',secure:true,domain:domain,sameSite:w.location.protocol==='https:'?'None':'Lax'};
  Cookies.set('browserId',browserId,Object.assign({},cookieOptions,{expires: 365}));
  Cookies.set('browserSessionId',sessionId,cookieOptions);
  w.dataLayer=w.dataLayer||[];w._mtm=w._mtm||[];
  w.dataLayer.push({browser_id:browserId,session_id:sessionId});
  w._mtm.push({event:'setBrowserSession',browser_id:browserId,session_id:sessionId});
})(window);
  `}}),r.createElement("script",{id:"analytics-gtm-script",dangerouslySetInnerHTML:{__html:function({gtmID:e}){return`
    (function(w,l,d){
      w._gtm_initialized=false;
      w[l]=w[l]||[];
      w[l].push({...(w._session||{})});
      w._init_gtm=function(){
        if(w._gtm_initialized)return;
        w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});
        var g=d.createElement('script'),s=d.getElementsByTagName('script')[0];
        g.type='text/javascript';
        g.async=true;
        g.src='https://www.googletagmanager.com/gtm.js?id=${e}&l=dataLayer';
        s.parentNode.insertBefore(g,s);
        g.onload=function(){
          w._gtm_initialized=true;
        };
      }
    })(window,'dataLayer',document);
  `}({gtmID:e})}}),r.createElement("script",{id:"analytics-mtm-script",dangerouslySetInnerHTML:{__html:function({mtmURL:e,mtmID:t}){return`
    (function(w,l,d){
      w._mtm_initialized=false;
      w[l]=w[l]||[];
      w[l].push({...(w._session||{})});
      w._init_mtm=function(){
        if(w._mtm_initialized)return;
        w[l].push({'mtm.startTime':(new Date().getTime()),'event':'mtm.Start'});
        var g=d.createElement('script'),s=d.getElementsByTagName('script')[0];
        g.type='text/javascript';
        g.async=true;
        g.src='${e}/js/container_${t}.js';
        s.parentNode.insertBefore(g,s);
        g.onload=function(){
          w._mtm_initialized=true;
        };
      }
    })(window,'_mtm',document);
  `}({mtmURL:t,mtmID:n})}}),a&&r.createElement("script",{id:"analytics-auto-init-script",dangerouslySetInnerHTML:{__html:`
    (function(w,g,m){
      if(typeof w[g]==='function')w[g]();
      if(typeof w[m]==='function')w[m]();
    })(window,'_init_gtm','_init_mtm');
  `}}))}},85426,(e,t,n)=>{t.exports=e.r(63186)},67638,e=>{"use strict";var t=e.i(47167);e.i(43476),e.i(85426);var n=e.i(8438);let r=(0,e.i(22468).g)("root-layout","sc");Object.freeze({layout:`${r}__layout`,body:`${r}__body`}),e.s(["getEnvValue",0,()=>{if(typeof window>"u")return{...t.default.env};let e=(0,n.g)();if(!e)throw Error("getEnvValue() вызвана на клиенте до инициализации контекста. Убедитесь, что env передан в RootLayout (LayoutClientInitializer вызовет setEnvStore).");return e}])},39028,e=>{"use strict";var t=e.i(43476);e.i(51966);var n=e.i(60491),r=e.i(84554),a=e.i(2305),o=e.i(62965),s=e.i(12716),i=e.i(28133),l=e.i(22468),c=e.i(71645);let u=(0,l.g)("support","sc"),d=Object.freeze({support:u,title:`${u}__title`,cardsContainer:`${u}__cards-container`}),p="cb-support",m=(0,l.g)("support-app-card","sc"),_=Object.freeze({supportAppCard:m,textWrapper:`${m}__text-wrapper`,imageContainer:`${m}__image-container`,title:`${m}__title`,description:`${m}__description`,button:`${m}__button`,imageWrapper:`${m}__image-wrapper`,image:`${m}__image`}),f=({title:e,linkUrl:n,s3Assets:r,description:a})=>{let l=(0,s.useBreakpointDown)("s");return(0,t.jsxs)("div",{className:_.supportAppCard,onClick:()=>{l&&((0,i.h)({eventCategory:p,eventActionType:i.D.banner,eventActionText:e,eventLabel:n}),window.open(n,"_blank","noreferrer"))},children:[(0,t.jsx)(s.Button,{className:_.button,iconLeft:(0,t.jsx)(o.IconFdsArrowUpRightSmallO,{size:24}),shape:"circle-icon",size:"xs"}),(0,t.jsxs)("div",{className:_.textWrapper,children:[(0,t.jsx)("div",{className:_.title,children:e}),!!a&&(0,t.jsx)("div",{className:_.description,children:a})]}),(0,t.jsx)("div",{className:_.imageContainer,children:(0,t.jsxs)("picture",{className:_.imageWrapper,children:[(0,t.jsx)("source",{media:"(max-width: 767px)",srcSet:`${r}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${r}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,t.jsx)("img",{className:_.image,loading:"lazy",src:`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},h=(0,l.g)("support-phone-card","sc"),g=Object.freeze({supportPhoneCard:h,contacts:`${h}__contacts`,contactsExtra:`${h}__contacts-extra`,phone:`${h}__phone`,phonesExtra:`${h}__phones-extra`,phoneExtra:`${h}__phone-extra`,chat:`${h}__chat`,text:`${h}__text`,image:`${h}__image`}),v=({phones:e,phonesExtra:n,description:r,s3Assets:a})=>{let o=(0,c.useCallback)(()=>{var e,t,n;null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||n.call(t),(0,i.h)({eventCategory:p,eventActionType:i.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),s=e=>{let t=e.replace(/[\s-]/g,"");(0,i.h)({eventCategory:p,eventActionType:i.D.link,eventActionText:"phone",eventLabel:t})};return(0,t.jsxs)("div",{className:g.supportPhoneCard,children:[(0,t.jsxs)("div",{className:g.contacts,children:[e.map(e=>(0,t.jsx)("a",{className:g.phone,href:e.href,onClick:()=>s(e.label),children:e.label},e.label)),(0,t.jsx)("span",{className:g.chat,onClick:o,children:"Онлайн чат"})]}),(null==n?void 0:n.length)>0&&(0,t.jsxs)("div",{className:g.contactsExtra,children:[(0,t.jsx)("p",{className:g.text,children:"Дополнительные телефоны"}),(0,t.jsx)("div",{className:g.phonesExtra,children:n.map(e=>(0,t.jsx)("a",{className:g.phoneExtra,href:e.href,onClick:()=>s(e.label),children:e.label},e.label))})]}),(0,t.jsx)("p",{className:g.text,children:r}),(0,t.jsx)("img",{className:g.image,src:`${a}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},b=({className:e,phoneCard:o,appCard:s,s3Assets:i})=>(0,t.jsx)("section",{className:(0,a.default)(d.support,e),children:(0,t.jsxs)(n.Container,{children:[(0,t.jsx)(r.Heading,{as:"h2",type:"display",weight:"bold",className:d.title,children:"Поддержка"}),(0,t.jsxs)("div",{className:d.cardsContainer,children:[(0,t.jsx)(v,{s3Assets:i,...o}),(0,t.jsx)(f,{s3Assets:i,...s})]})]})});b.displayName="Support",e.s(["Support",0,b])},36368,e=>{"use strict";var t=e.i(58282);let n=[{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"}],r=(e,n)=>{let r=sessionStorage.getItem("pushedEvents"),a=r?JSON.parse(r):[];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(t=>t.eventCategory===e.eventCategory&&t.eventAction===e.eventAction&&t.eventLabel===e.eventLabel&&("all"===n||"url"===n&&window.location.pathname===t.url));if(!n||!o){if(n){let t={...e};t.url=window.location.pathname,a.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(a))}(0,t.pushEvent)(e)}};e.s(["dataLayerPush",0,r,"setTimedEvents",0,e=>{n.some(t=>{if(e.includes(t.path)){let n=e.match(/str_(\d+)/),a=n?.[1]?Number(n[1]):1;return setTimeout(()=>{r({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:a})},15e3),!0}return!1})}])},84554,e=>{"use strict";var t=e.i(64877);e.s(["Heading",()=>t.H])},2394,e=>{"use strict";var t=e.i(43476),n=e.i(62965),r=e.i(12716),a=e.i(2305);let o=(0,e.i(22468).g)("check-all","sc"),s=Object.freeze({wrapper:`${o}__wrapper`,link:`${o}__link`,icon:`${o}__icon`,iconGray:`${o}__icon--gray`});e.s(["C",0,({children:e,className:o,linkClassName:i,iconGrayBackground:l,Link:c,event:u,href:d,dataLayerPush:p})=>{let m=c??r.Link;return(0,t.jsx)("div",{className:(0,a.default)(s.wrapper,o),onClick:()=>{u&&p(u)},children:(0,t.jsxs)(m,{className:(0,a.default)(s.link,i),href:d,children:[e,(0,t.jsx)("span",{className:(0,a.default)(s.icon,{[s.iconGray]:l}),children:(0,t.jsx)(n.IconFdsArrowUpRightSmallO,{size:24})})]})})}])},8810,e=>{"use strict";let t;var n=e.i(43476),r=e.i(71645);e.i(51966);var a=e.i(63219),o=e.i(84554),s=e.i(60491),i=e.i(2305),l=e.i(2394),c=e.i(89121),u=e.i(12716),d=e.i(62965),p=e.i(22468),m=e.i(56239),_=e.i(85900),f=((t=f||{}).light="light",t.gray="gray",t);let h=(0,p.g)("best-offers-banner","sc"),g=Object.freeze({bestOffersBaner:h,wrapper:`${h}__wrapper`,wideWrapper:`${h}__wrapper--wide`,whiteWrapper:`${h}__wrapper--white`,content:`${h}__content`,header:`${h}__header`,title:`${h}__title`,subtitle:`${h}__subtitle`,icon:`${h}__icon`,iconBlack:`${h}__icon--black`,iconWhite:`${h}__icon--white`,image:`${h}__image`}),v=({title:e,image:t,url:r,description:o,backgroundColor:s,textColor:l,wide:c,theme:u,handleBannerDataLayerPush:p,className:m})=>{let _=u===f.gray,h={"--bg-base":(null==s?void 0:s.base)??(_?"var(--color-white)":"var(--color-gray-400)"),"--bg-hover":(null==s?void 0:s.hover)??"var(--color-gray-500)"};return(0,n.jsxs)("div",{className:(0,i.default)(g.wrapper,m,{[g.wideWrapper]:c}),style:h,onClick:()=>{p(),window.open(r,"_blank")},children:[(0,n.jsxs)("div",{className:g.content,children:[(0,n.jsxs)("div",{className:g.header,children:[(0,n.jsx)(a.Text,{weight:"medium",size:"24",className:g.title,style:{color:l},children:e}),(0,n.jsx)("div",{className:(0,i.default)(g.icon,{[g.iconBlack]:_&&!(null!=l&&l.includes("color-white")),[g.iconWhite]:_&&!!(null!=l&&l.includes("color-white"))}),children:(0,n.jsx)(d.IconFdsArrowUpRightSmallO,{size:32})})]}),o&&(0,n.jsx)(a.Text,{size:"16",style:{color:l},children:o})]}),(null==t?void 0:t.url)&&(0,n.jsx)("picture",{className:g.image,children:(0,n.jsx)("img",{src:t.url,width:t.width??150,height:t.height??"auto",alt:`Баннер ${e}`,loading:"lazy"})})]})},b=(0,p.g)("offer-card","sc"),y=Object.freeze({offerCard:b,wrapper:`${b}__wrapper`,whiteWrapper:`${b}__wrapper--white`,bankInfo:`${b}__bankInfo`,units:`${b}__units`,unitsColumn:`${b}__units--column`,unit:`${b}__unit`,unitRow:`${b}__unit--row`,unitTitleWrapper:`${b}__unitTitleWrapper`,unitTitle:`${b}__unitTitle`,tooltipIcon:`${b}__tooltipIcon`,unitValue:`${b}__unitValue`,bottomBlock:`${b}__bottomBlock`,tags:`${b}__tags`,tag:`${b}__tag`,button:`${b}__button`,buttonRounded:`${b}__button--rounded`,buttonAdditional:`${b}__button--additional`}),w=({title:e,value:t,tooltip:o,textColor:s,unitsAsColumn:l,isTitleUnit:c})=>{let p;return(0,n.jsxs)("div",{className:(0,i.default)(y.unit,{[y.unitRow]:l}),children:[(0,n.jsxs)("div",{className:y.unitTitleWrapper,children:[(0,n.jsx)(a.Text,{size:"14",className:y.unitTitle,children:e}),o&&(0,n.jsx)(u.Tooltip,{text:o,children:(0,n.jsx)(d.IconFdsQuestionCircleO,{className:y.tooltipIcon})})]}),(0,n.jsx)(a.Text,{weight:"medium",size:c?"18":l?"16":"24",className:y.unitValue,style:{color:s},children:e.includes("Рейтинг")?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.IconFdsStarF,{size:16,style:{color:"var(--color-orange-400)"}}),t]}):(p=t.split("₽")).map((e,t)=>(0,n.jsxs)(r.Fragment,{children:[e,t<p.length-1&&(0,n.jsx)(a.Text,{fontFamily:"primary",weight:"regular",children:"₽"})]},`${e}-${t}`))})]})},k=({tags:e,isGrayTheme:t})=>{let r=t?"secondary":"primary";return(0,n.jsx)("div",{className:y.tags,children:e.sort((e,t)=>e.order-t.order).map(e=>(0,n.jsx)(u.Tag,{className:y.tag,label:e.label,variant:e.variant?e.variant:r,rounded:!0},e.label))})},x=({companyName:e,name:t,url:r,logo:a,units:o,tags:s,additionalButton:l,unitsAsColumn:c,dataLayerPush:d,eventCategory:p,productType:_,theme:h,buttonClassName:g,eventValueByUnitTitle:v})=>{let b=h===f.gray,x=n=>{let r={event:"data-event",eventCategory:p,eventAction:`click_button_${(0,m.t)(n)}_${_}`,eventLabel:(0,m.t)(`${e}_${t}`)};if(v){let e=o.find(e=>e.title.toLowerCase()===v.toLowerCase());e&&(r.eventValue=(0,m.t)(e.value))}d(r)};return(0,n.jsxs)("div",{className:(0,i.default)(y.wrapper,{[y.whiteWrapper]:b}),children:[(0,n.jsxs)("div",{className:y.bankInfo,children:[a&&(0,n.jsx)("img",{src:a,width:56,height:56,alt:`${e} logo`}),(0,n.jsx)(w,{title:t,value:e,isTitleUnit:!0})]}),(0,n.jsx)("div",{className:(0,i.default)(y.units,{[y.unitsColumn]:c}),children:o.map(e=>(0,n.jsx)(w,{title:e.title,value:e.value,tooltip:e.tooltip,textColor:e.textColor,unitsAsColumn:c},`${e.title}-${e.value}`))}),(0,n.jsxs)("div",{className:y.bottomBlock,children:[s&&(0,n.jsx)(k,{tags:s,isGrayTheme:b}),l&&l.text.trim().length>0&&(0,n.jsx)(u.Button,{as:"a",className:(0,i.default)(y.button,y.buttonRounded,y.buttonAdditional),size:"xs",label:l.text,href:null==l?void 0:l.url,variant:b?"secondary":"white",onClick:()=>x(l.text)}),(0,n.jsx)(u.Button,{as:"a",className:(0,i.default)(y.button,g),size:"xs",label:"Подробнее",href:r,onClick:()=>x("podrobnee_o_kartochke_iz")})]})]})},C=(0,p.g)("offers-list","sc"),j=Object.freeze({offersList:C,wrapper:`${C}__wrapper`,sliderWrapper:`${C}__sliderWrapper`,offerItem:`${C}__offerItem`,compact:`${C}__offerItem--compact`,bannerItem:`${C}__bannerItem`}),I=({offers:e,banner:t,dataLayerPush:r,eventCategory:a,productType:o,theme:s,singleProduct:l})=>{let c=e.length<=2;return(0,n.jsxs)(u.Slider,{options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3e3,disableOnInteraction:!1}},breakpoints:{xl:{autoplay:!1}},className:j.sliderWrapper,pagination:!0,children:[e.slice(0,3).map(e=>(0,n.jsx)(u.SliderItem,{className:(0,i.default)(j.offerItem,{[j.compact]:l}),children:(0,n.jsx)(x,{...e,dataLayerPush:r,eventCategory:a,productType:o,theme:s})},e.id)),t&&(0,n.jsx)(u.SliderItem,{className:j.bannerItem,children:(0,n.jsx)(v,{...t,handleBannerDataLayerPush:()=>{r({event:"data-event",eventCategory:a,eventAction:"click_bnr_banner_top_predlozheniy",eventLabel:o})},wide:c,theme:s})})]},o)},L=(0,p.g)("osago-tab","sc"),N=Object.freeze({osagoTab:L,wrapper:`${L}__wrapper`,card:`${L}__card`,whiteCard:`${L}__card--white`,image:`${L}__image`,content:`${L}__content`,inputWrapper:`${L}__inputWrapper`,select:`${L}__select`,input:`${L}__input`,buttonLinkWrapper:`${L}__buttonLinkWrapper`,button:`${L}__button`,banner:`${L}__banner`}),$={kasko:{title:"Рассчет Каско за минуту",description:"Выберите лучшие условия для оформления полиса",backgroundColor:{base:"#f1f5ff",hover:"#a3ceec"}},osago:{title:"ОСАГО с экономией до 78%",description:"Предварительная цена после ввода номера ТС",backgroundColor:{base:"#f1f5ff",hover:"#a3ceec"}}},T=[{label:"Мотоцикл",value:"moto"},{label:"Автомобиль",value:"auto"}],S=Object.fromEntries(T.map(e=>[e.value,e])),O={auto:{mask:"a 000 aa 00",placeholder:"A 000 AA 00"},moto:{mask:"0000 aa 00",placeholder:"0000 AA 00"}},P="АВЕКМНОРСТУХ",D=RegExp(`[${P}]`,"i"),A=RegExp(`[^0-9${P}]`,"gi"),E=({type:e,baseUrl:t,s3Assets:s,banner:l,dataLayerPush:c,eventCategory:d,theme:p})=>{let h="osago"===e,g=(0,_.joinURL)(t,"osago"),b=(0,_.joinURL)(g,"step-car"),y=(0,_.joinURL)(t,"kasko"),w=(0,_.joinURL)(y,"vehicle"),k=h?b:w,[x,C]=(0,r.useState)(""),[j,I]=(0,r.useState)("auto"),{mask:L,placeholder:P}=O[j],E=p===f.gray,z=`?${new URLSearchParams({type:h?j:"auto",license:x})}`,B=(0,_.joinURL)(k,z),R=l??{...$[e],url:h?g:y,image:s?{url:(0,_.joinURL)(s,`widgets/BestOffers/${h?"icon_osago":"icons_car"}.png`),width:204,height:160}:void 0},M=S[j].label,U=(t,n)=>{c({event:"data-event",eventCategory:d,eventAction:t,eventLabel:n??e})};return(0,n.jsxs)("div",{className:N.wrapper,children:[(0,n.jsxs)("div",{className:(0,i.default)(N.card,{[N.whiteCard]:E}),children:[s&&(0,n.jsx)("picture",{children:(0,n.jsx)("img",{src:`${s}/widgets/BestOffers/auto_bg.png`,alt:"Автомобиль",loading:"lazy",className:N.image})}),(0,n.jsxs)("div",{className:N.content,children:[(0,n.jsxs)(o.Heading,{as:"h3",type:"h3",children:["Онлайн калькулятор ",h?"ОСАГО":"Каско"]}),(0,n.jsxs)("div",{className:N.inputWrapper,children:[h&&(0,n.jsx)(u.Select,{options:T,value:S[j],label:"Тип транспорта",variant:E?"primary":"secondary",className:N.select,onChange:e=>{C(""),I(e.value),U(`selector_item_${(0,m.t)(e.label)}`)}}),(0,n.jsx)(u.InputMasked,{label:"Госномер",variant:E?"primary":"secondary",maskOpts:{mask:L,definitions:{a:D}},maskPlaceholder:P,value:x,className:N.input,onChange:(e,t)=>{C(t.replace(A,"").toUpperCase())},onClick:()=>U(`message_field_${(0,m.t)(M)}`),onBlur:()=>U(`on_message_field_${(0,m.t)(M)}`)}),(0,n.jsxs)(a.Text,{children:["У меня"," ",(0,n.jsx)(u.Link,{href:k,onClick:()=>{U("click_link_net_nomera",k)},children:"нет номера"})]})]}),(0,n.jsx)(u.Button,{as:"a",href:B,size:"s",className:N.button,onClick:()=>{U(`click_button_rasschitat_${(0,m.t)(M)}`,B)},children:"Рассчитать"})]})]}),(0,n.jsx)("div",{className:N.banner,children:(0,n.jsx)(v,{...R,theme:p,handleBannerDataLayerPush:()=>{U("click_bnr_banner_top_predlozheniy")}})})]})},z=(0,p.g)("best-offers","sc"),B=Object.freeze({bestOffers:z,graySection:`${z}--gray`,singleProduct:`${z}--singleProduct`,titleWrapper:`${z}__title-wrapper`,singleProductTitleWrapper:`${z}__title-wrapper--singleProduct`,title:`${z}__title`,singleProductTitle:`${z}__title--singleProduct`,chips:`${z}__chips`,warning:`${z}__warning`,allOffersLink:`${z}__allOffersLink`}),R={вклады:"вкладам",облигации:"облигациям",кредиты:"кредитам",займы:"займам","Кредитные карты":"кредитным картам",каско:"каско",осаго:"ОСАГО","дебетовые карты":"дебетовым картам",ипотека:"ипотеке",автокредиты:"автокредитам"};e.s(["BestOffers",0,({tabs:e,baseUrl:t,s3Assets:u,eventCategory:d="best-offers",dataLayerPush:p,singleProduct:m=!1,theme:_=f.light,className:h,initialActiveChipId:g})=>{var v;let b,y=_===f.gray,w=e.map(e=>({url:e.productType,title:e.name})),k=(null==(v=w[0])?void 0:v.url)??"",[x,C]=(0,r.useState)(g??k),j=x&&e.some(e=>e.productType===x)?x:k,L=e.find(e=>e.productType===j)??e[0],N=R[L.name.toLowerCase()],$=N?`по ${N}`:L.name,T=("kasko"===(b=null==L?void 0:L.productType)||"osago"===b)&&t?(0,n.jsx)(E,{type:L.productType,banner:L.banner,baseUrl:t,s3Assets:u,dataLayerPush:p,eventCategory:d,theme:_}):null;return(0,n.jsx)("section",{className:(0,i.default)(B.bestOffers,h,{[B.singleProduct]:m,[B.graySection]:y}),children:(0,n.jsxs)(s.Container,{children:[(0,n.jsx)("div",{className:(0,i.default)(B.titleWrapper,m&&B.singleProductTitleWrapper),children:(0,n.jsxs)(o.Heading,{as:"h2",type:m?"h2":"display",className:(0,i.default)(B.title,m&&B.singleProductTitle),children:["Лучшие предложения ",m?$:"сегодня"]})}),!m&&(0,n.jsx)(c.N,{items:w,maxNumberOfLines:2,activeChipId:j,variant:y?"white":"gray",className:B.chips,onClick:t=>{C(t);let n=e.find(e=>e.productType===t);p({event:"data-event",eventCategory:d,eventAction:"click_chip_top_predlozheniy_vybor",eventLabel:null==n?void 0:n.productType})}}),(0,n.jsxs)("div",{children:[T??(0,n.jsx)(I,{offers:L.offers,banner:L.banner,dataLayerPush:p,eventCategory:d,productType:L.productType,theme:_,singleProduct:m}),L.hasWarning&&(0,n.jsx)(a.Text,{as:"p",size:"16",className:B.warning,children:L.warningCustomText??"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})]}),L.checkAllUrl&&(0,n.jsx)(l.C,{href:L.checkAllUrl,event:{event:"data-event",eventCategory:d,eventAction:"link",eventLabel:`Показать все предложения ${L.productType}`},dataLayerPush:p,iconGrayBackground:!y,className:B.allOffersLink,linkClassName:L.checkAllLinkClassName,children:"Показать все предложения"})]})})}])},18268,e=>{e.v({icon:"CheckFullInfoLink-module-scss-module__rdDIza__icon",light:"CheckFullInfoLink-module-scss-module__rdDIza__light",link:"CheckFullInfoLink-module-scss-module__rdDIza__link",linkWrapper:"CheckFullInfoLink-module-scss-module__rdDIza__linkWrapper",padding:"CheckFullInfoLink-module-scss-module__rdDIza__padding",white:"CheckFullInfoLink-module-scss-module__rdDIza__white",width:"CheckFullInfoLink-module-scss-module__rdDIza__width"})},65895,37563,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(62965),a=e.i(2305),o=e.i(59775),s=e.i(18268);let i=(0,n.memo)(({onClick:e,text:i,href:l,target:c,iconColor:u="light",mainPageUrl:d,offPadding:p,widthMaxContent:m,className:_,icon:f})=>{let h=(0,n.useCallback)(e=>l?(0,t.jsx)("a",{onClick:e.onClick,href:l,target:c,...e}):(0,t.jsx)("button",{onClick:e.onClick,...e}),[l,c]),g=f||r.IconFdsArrowUpRightSmallO;return(0,t.jsx)("div",{className:(0,a.default)(s.default.linkWrapper,{[s.default.padding]:!p,[s.default.width]:m},_),onClick:()=>{(0,o.handelDataLayerPush)({eventCategory:d,eventActionType:o.DataLayerActionType.link,eventActionText:i,eventLabel:l})},children:(0,t.jsxs)(h,{onClick:e,className:s.default.link,children:[i,(0,t.jsx)(g,{size:22,className:(0,a.default)(s.default.icon,s.default[u])})]})})});i.displayName="CheckFullInfoLink",e.s(["CheckFullInfoLink",0,i],37563),e.s([],65895)},59775,51884,e=>{"use strict";var t,n=e.i(36368);let r={а:"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"},a=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in r?r[t]:e}).replaceAll(" ","_").replaceAll(" ","_");e.s(["translit",0,a],51884);var o=((t={}).icon="icon",t.chip="chip",t.accordion="accordion",t.button="button",t.checkbox="checkbox",t.radio="radio",t.select="select",t.toggle="toggle",t.tooltip="tooltip",t.link="link",t.banner="banner",t.tag="tag",t.date="date",t.field="field",t.offer="offer",t.tab="tab",t.submit_button="submit_button",t.popup="popup",t.block="block",t);e.s(["DataLayerActionType",()=>o,"handelDataLayerPush",0,({eventCategory:e,eventActionType:t,eventActionText:r="",eventLabel:o})=>{let s={event:"data-event",eventCategory:e,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_"}[t]+a(r)};void 0!==o&&(s.eventLabel=a("string"==typeof o?o:o.toString())),(0,n.dataLayerPush)(s)}],59775)},87708,e=>{"use strict";e.s(["ANIMATION_DELAY_MODAL",0,300])},73565,e=>{"use strict";var t=e.i(71645),n=e.i(87708);e.s(["useMount",0,({opened:e})=>{let[r,a]=(0,t.useState)(!1),o=(0,t.useRef)(null),s=(0,t.useRef)(!1);return(0,t.useEffect)(()=>(e&&!s.current?(s.current=!0,a(!0)):!e&&s.current&&(o.current=setTimeout(()=>{s.current=!1,a(!1)},n.ANIMATION_DELAY_MODAL)),()=>{o.current&&clearTimeout(o.current)}),[e]),{mounted:r}}])},59626,e=>{e.v({close:"ClickOutside-module-scss-module__hnbccW__close",fade:"ClickOutside-module-scss-module__hnbccW__fade","fade-out":"ClickOutside-module-scss-module__hnbccW__fade-out",open:"ClickOutside-module-scss-module__hnbccW__open",overlay:"ClickOutside-module-scss-module__hnbccW__overlay"})},82080,71047,65944,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(2305),a=e.i(87708),o=e.i(59626);e.s(["ClickOutside",0,({onClose:e,onToucheMove:s,isOpen:i,delay:l=a.ANIMATION_DELAY_MODAL})=>{let c=(0,n.useRef)(null),u=(0,n.useCallback)(()=>{e&&(c.current=setTimeout(()=>{e()},l))},[l,e]),d=(0,n.useCallback)(e=>{"Escape"===e.key&&u()},[u]);return(0,n.useEffect)(()=>(i&&window.addEventListener("keydown",d),()=>{c.current&&clearTimeout(c.current),window.removeEventListener("keydown",d)}),[i,d]),(0,t.jsx)("div",{className:(0,r.default)(o.default.overlay,{[o.default.open]:i,[o.default.close]:!i}),onTouchStart:s,onClick:u})}],71047),e.s([],82080),e.s(["useDisabledScrollDocument",0,e=>{let t=(0,n.useRef)(null);return(0,n.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}],65944)},47384,e=>{e.v({footer:"MobileModalFooter-module-scss-module__ofBYjW__footer",footerWithoutShadow:"MobileModalFooter-module-scss-module__ofBYjW__footerWithoutShadow"})},70997,e=>{e.v({closeButton:"MobilePopup-module-scss-module__DZ3YPa__closeButton",closeContainer:"MobilePopup-module-scss-module__DZ3YPa__closeContainer",content:"MobilePopup-module-scss-module__DZ3YPa__content",contentContainer:"MobilePopup-module-scss-module__DZ3YPa__contentContainer",contentFull:"MobilePopup-module-scss-module__DZ3YPa__contentFull",contentLine:"MobilePopup-module-scss-module__DZ3YPa__contentLine",contentTransition:"MobilePopup-module-scss-module__DZ3YPa__contentTransition",contentTransitionOpen:"MobilePopup-module-scss-module__DZ3YPa__contentTransitionOpen",min:"MobilePopup-module-scss-module__DZ3YPa__min",mobilePopup:"MobilePopup-module-scss-module__DZ3YPa__mobilePopup",smallContentContainer:"MobilePopup-module-scss-module__DZ3YPa__smallContentContainer",title:"MobilePopup-module-scss-module__DZ3YPa__title"})},75182,64457,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(2305);e.i(82080);var a=e.i(71047),o=e.i(65944),s=e.i(73565),i=e.i(47384);let l=({footer:e,isSmallPopup:n=!1,footerClassName:a})=>(0,t.jsx)("div",{className:(0,r.default)(i.default.footer,n&&i.default.footerWithoutShadow,a),children:"function"==typeof e?e():e});var c=e.i(70997);let u=({children:e,footer:s,isOpen:i,isSmallPopup:u,onClose:d,hasCloseButton:p=!0,full:m,touchDistance:_=100,withDisabledScroll:f=!0,contentClassName:h,className:g,title:v,closeButton:b,footerClassName:y})=>{let[w,k]=(0,n.useState)(!1),[x,C]=(0,n.useState)(!1),[j,I]=(0,n.useState)(!0),[L,N]=(0,n.useState)("120%"),$=(0,n.useRef)(null),T=(0,n.useRef)(0),S=(0,n.useRef)(!1),O=e=>{let t=$.current?.offsetTop,n=$.current?.offsetHeight;if(S.current=!0,I(!1),t&&n){let r=e?.touches[0]?.clientY-t,a=0;r>=0&&r<=n+30&&(a=r),r>n+30&&(a=n+30),N(`${a}px`),T.current=a}},P=()=>{S.current&&(T.current>_&&d?d?.():N("0"),I(!0),S.current=!1),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",P)};(0,n.useEffect)(()=>{i&&setTimeout(()=>{k(!0),C(!0),N("0")},100),!i&&x&&(N("120%"),k(!1),C(!1))},[x,i]),(0,o.useDisabledScrollDocument)(i&&f);let D=null;return b&&(D="function"==typeof b?b():b),(0,t.jsxs)("div",{"data-portal":!0,className:(0,r.default)(c.default.mobilePopup,x&&c.default.mobilePopupOpen,g),children:[(0,t.jsx)(a.ClickOutside,{onClose:()=>{i&&d?.()},onToucheMove:()=>{i&&(k(!1),window.addEventListener("touchmove",O),window.addEventListener("touchend",P))},isOpen:i,delay:0}),(0,t.jsxs)("div",{className:(0,r.default)(c.default.content,m&&c.default.contentFull,j&&c.default.contentTransition,j&&w&&c.default.contentTransitionOpen),ref:$,style:{transform:`translateY(${L})`},children:[(0,t.jsx)("div",{className:c.default.contentLine}),(0,t.jsxs)("div",{className:(0,r.default)(c.default.contentContainer,u&&c.default.smallContentContainer,{[c.default.min]:!v&&!p},h),children:[!!v&&(0,t.jsx)("div",{className:c.default.title,children:v}),p?(0,t.jsxs)("div",{className:c.default.closeContainer,children:[D,b?null:(0,t.jsx)("button",{onClick:d,className:c.default.closeButton,children:(0,t.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})})]}):null,e]}),s&&(0,t.jsx)(l,{footerClassName:y,isSmallPopup:u,footer:s})]})]})},d=({children:e,isSmallPopup:n=!1,isOpen:r=!1,...a})=>{let{mounted:o}=(0,s.useMount)({opened:r});return o?(0,t.jsx)(u,{isSmallPopup:n,isOpen:r,...a,children:e}):null};d.displayName="UiMobilePopup",e.s(["UiMobilePopup",0,d],64457),e.s([],75182)},38886,86969,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(74080);e.s(["Portal",0,({children:e,id:a="portal-root"})=>{let[o,s]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document?.getElementById(a);if(e)s(e);else{let e=document?.createElement("div");return document?.body.appendChild(e),s(e),()=>{document?.body.removeChild(e)}}},[]),(0,t.jsx)(t.Fragment,{children:o&&(0,r.createPortal)(e,o)})}],86969),e.s([],38886)},42546,e=>{e.v({footer:"DrawerFooter-module-scss-module__rgelkG__footer",hasScroll:"DrawerFooter-module-scss-module__rgelkG__hasScroll"})},52699,e=>{e.v({center:"DrawerContent-module-scss-module__kOXaca__center",close:"DrawerContent-module-scss-module__kOXaca__close",container:"DrawerContent-module-scss-module__kOXaca__container",content:"DrawerContent-module-scss-module__kOXaca__content",controlContainer:"DrawerContent-module-scss-module__kOXaca__controlContainer",footer:"DrawerContent-module-scss-module__kOXaca__footer",header:"DrawerContent-module-scss-module__kOXaca__header",left:"DrawerContent-module-scss-module__kOXaca__left",open:"DrawerContent-module-scss-module__kOXaca__open",right:"DrawerContent-module-scss-module__kOXaca__right",rowHeader:"DrawerContent-module-scss-module__kOXaca__rowHeader","slide-out":"DrawerContent-module-scss-module__kOXaca__slide-out","slide-up":"DrawerContent-module-scss-module__kOXaca__slide-up",title:"DrawerContent-module-scss-module__kOXaca__title"})},73862,e=>{e.v({window:"DrawerLayout-module-scss-module__BGpN6q__window"})},15369,76524,e=>{"use strict";var t=e.i(43476),n=e.i(73565),r=e.i(71645),a=e.i(2305);e.i(82080);var o=e.i(71047),s=e.i(42546);let i=({footer:e,hasScroll:n,className:r})=>(0,t.jsx)("div",{className:(0,a.default)(s.default.footer,{[s.default.hasScroll]:n},r),children:"function"==typeof e?e():e});var l=e.i(52699);let c=({onClose:e,onContentClick:n,children:o,title:s,rowTitle:c,titleAlign:u,isCloseable:d,footer:p,closeButton:m,isOpen:_,contentClassName:f,footerClassName:h,contentStyle:g,width:v})=>{let b=(0,r.useRef)(null),y=(0,r.useRef)(null),[w,k]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!y.current||!b.current)return;let e=y?.current?.getBoundingClientRect().top||0,t=b?.current,n=()=>{let t=y?.current;t&&k(()=>t.getBoundingClientRect().top!==e)};return t&&t.addEventListener("scroll",n,!1),()=>{t?.removeEventListener("scroll",n,!1)}},[]);let x=g||v?{width:v,...g||{}}:void 0,C=null;return d&&m&&(C="function"==typeof m?m():m),(0,t.jsxs)("div",{ref:b,style:x,className:(0,a.default)(l.default.container,{[l.default.open]:_,[l.default.close]:!_},f),children:[s||d?(0,t.jsxs)("div",{className:(0,a.default)(l.default.header,{[l.default.rowHeader]:c}),children:[d&&!m?(0,t.jsx)("button",{className:l.default.controlContainer,onClick:e,children:(0,t.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})}):null,C,s?(0,t.jsx)("h3",{className:(0,a.default)(l.default.title,{[l.default.center]:"center"===u,[l.default.left]:"left"===u,[l.default.right]:"right"===u}),children:s}):null]}):null,(0,t.jsx)("div",{ref:y,className:l.default.content,onClick:n,children:o}),p&&(0,t.jsx)(i,{className:(0,a.default)(l.default.footer,h),footer:p,hasScroll:w})]})};var u=e.i(65944),d=e.i(73862);let p=({onClose:e,isOpen:n,children:s,withDisabledScroll:i,className:l,...p})=>{let m=(0,r.useCallback)(e=>e.stopPropagation(),[]);return(0,u.useDisabledScrollDocument)(n&&i),(0,t.jsxs)("div",{"data-portal":!0,className:(0,a.default)(d.default.window,l),children:[(0,t.jsx)(o.ClickOutside,{onClose:e,isOpen:n,delay:0}),(0,t.jsx)(c,{onContentClick:m,onClose:e,isOpen:n,...p,children:s})]})},m=({isOpen:e=!1,children:r,titleAlign:a="center",isCloseable:o=!0,withDisabledScroll:s=!0,...i})=>{let{mounted:l}=(0,n.useMount)({opened:e});return l?(0,t.jsx)(p,{titleAlign:a,isCloseable:o,isOpen:e,withDisabledScroll:s,...i,children:r}):null};m.displayName="Drawer",e.s(["Drawer",0,m],76524),e.s([],15369)},54725,88714,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(62965);e.s(["FinuslugiIcon",0,({name:e,classname:a})=>{let o=(0,n.useMemo)(()=>e&&r[e]||null,[e]);return e&&o?(0,t.jsx)(o,{className:a}):null}],88714),e.s([],54725)},44479,e=>{"use strict";function t(e){return e.replace(/<[^>]*>/g,"")}e.s(["formatBreadcrumbsSchema",0,function(e){return JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map(({name:e,url:t},n)=>({"@type":"ListItem",position:n+1,name:e,item:{"@id":t}}))}).replace(/</g,"\\u003c")},"formatFaqSchema",0,function(e){let n="Что такое Финуслуги?";return JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e?.map(e=>({"@type":"Question",name:e.question.toLocaleLowerCase().includes(n.toLocaleLowerCase())?n:t(e.question),acceptedAnswer:{"@type":"Answer",text:t(e.answer)}}))})},"getContactSchema",0,function(){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"]})}])}]);