(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84554,e=>{"use strict";var t=e.i(64877);e.s(["Heading",()=>t.H])},2394,e=>{"use strict";var t=e.i(43476),r=e.i(62965),n=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??n.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)(r.IconFdsArrowUpRightSmallO,{size:24})})]})})}])},87708,e=>{"use strict";e.s(["ANIMATION_DELAY_MODAL",0,300])},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),r=e.i(71645),n=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,r.useRef)(null),u=(0,r.useCallback)(()=>{e&&(c.current=setTimeout(()=>{e()},l))},[l,e]),d=(0,r.useCallback)(e=>{"Escape"===e.key&&u()},[u]);return(0,r.useEffect)(()=>(i&&window.addEventListener("keydown",d),()=>{c.current&&clearTimeout(c.current),window.removeEventListener("keydown",d)}),[i,d]),(0,t.jsx)("div",{className:(0,n.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,r.useRef)(null);return(0,r.useEffect)(()=>{let r=t.current;if(e){let e=window.scrollY||window.pageYOffset;document.body.dataset.scrollY=String(e),document.body.style.overflow="hidden",r&&r.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}r&&r.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)},73565,e=>{"use strict";var t=e.i(71645),r=e.i(87708);e.s(["useMount",0,({opened:e})=>{let[n,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)},r.ANIMATION_DELAY_MODAL)),()=>{o.current&&clearTimeout(o.current)}),[e]),{mounted:n}}])},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),r=e.i(71645),n=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:r=!1,footerClassName:a})=>(0,t.jsx)("div",{className:(0,n.default)(i.default.footer,r&&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:f=100,withDisabledScroll:h=!0,contentClassName:_,className:g,title:v,closeButton:b,footerClassName:y})=>{let[w,x]=(0,r.useState)(!1),[j,C]=(0,r.useState)(!1),[k,$]=(0,r.useState)(!0),[I,T]=(0,r.useState)("120%"),N=(0,r.useRef)(null),L=(0,r.useRef)(0),S=(0,r.useRef)(!1),P=e=>{let t=N.current?.offsetTop,r=N.current?.offsetHeight;if(S.current=!0,$(!1),t&&r){let n=e?.touches[0]?.clientY-t,a=0;n>=0&&n<=r+30&&(a=n),n>r+30&&(a=r+30),T(`${a}px`),L.current=a}},A=()=>{S.current&&(L.current>f&&d?d?.():T("0"),$(!0),S.current=!1),window.removeEventListener("touchmove",P),window.removeEventListener("touchend",A)};(0,r.useEffect)(()=>{i&&setTimeout(()=>{x(!0),C(!0),T("0")},100),!i&&j&&(T("120%"),x(!1),C(!1))},[j,i]),(0,o.useDisabledScrollDocument)(i&&h);let O=null;return b&&(O="function"==typeof b?b():b),(0,t.jsxs)("div",{"data-portal":!0,className:(0,n.default)(c.default.mobilePopup,j&&c.default.mobilePopupOpen,g),children:[(0,t.jsx)(a.ClickOutside,{onClose:()=>{i&&d?.()},onToucheMove:()=>{i&&(x(!1),window.addEventListener("touchmove",P),window.addEventListener("touchend",A))},isOpen:i,delay:0}),(0,t.jsxs)("div",{className:(0,n.default)(c.default.content,m&&c.default.contentFull,k&&c.default.contentTransition,k&&w&&c.default.contentTransitionOpen),ref:N,style:{transform:`translateY(${I})`},children:[(0,t.jsx)("div",{className:c.default.contentLine}),(0,t.jsxs)("div",{className:(0,n.default)(c.default.contentContainer,u&&c.default.smallContentContainer,{[c.default.min]:!v&&!p},_),children:[!!v&&(0,t.jsx)("div",{className:c.default.title,children:v}),p?(0,t.jsxs)("div",{className:c.default.closeContainer,children:[O,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:r=!1,isOpen:n=!1,...a})=>{let{mounted:o}=(0,s.useMount)({opened:n});return o?(0,t.jsx)(u,{isSmallPopup:r,isOpen:n,...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),r=e.i(71645),n=e.i(74080);e.s(["Portal",0,({children:e,id:a="portal-root"})=>{let[o,s]=(0,r.useState)(null);return(0,r.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,n.createPortal)(e,o)})}],86969),e.s([],38886)},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=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:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!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"),`${n}${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,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[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),f=e.r(91949),h=e.r(73668),_=e.r(9396);function g(t){var r,n;let a,o,g,[b,y]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),w=(0,i.useRef)(null),{href:x,as:j,children:C,prefetch:k=null,passHref:$,replace:I,shallow:T,scroll:N,onClick:L,onMouseEnter:S,onTouchStart:P,legacyBehavior:A=!1,onNavigate:O,transitionTypes:E,ref:D,unstable_dynamicOnHover:B,...R}=t;a=C,A&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let M=i.default.useContext(c.AppRouterContext),U=!1!==k,z=!1!==k?null===(n=k)||"auto"===n?_.FetchStrategy.PPR:_.FetchStrategy.Full:_.FetchStrategy.PPR,W="string"==typeof(r=j||x)?r:(0,l.formatUrl)(r);if(A){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 Y=A?o&&"object"==typeof o&&o.ref:D,F=i.default.useCallback(e=>(null!==M&&(w.current=(0,f.mountLinkInstance)(e,W,M,z,U,y)),()=>{w.current&&((0,f.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,f.unmountPrefetchableInstance)(e)}),[U,W,M,z,y]),H={ref:(0,u.useMergedRef)(F,Y),onClick(t){A||"function"!=typeof L||L(t),A&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!M||t.defaultPrevented||function(t,r,n,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,h.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));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(r,a?"replace":"push",!1===o?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,n.current,l)})}}(t,W,w,I,N,O,E)},onMouseEnter(e){A||"function"!=typeof S||S(e),A&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),M&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===B)},onTouchStart:function(e){A||"function"!=typeof P||P(e),A&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),M&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===B)}};return(0,d.isAbsoluteUrl)(W)?H.href=W:A&&!$&&("a"!==o.type||"href"in o.props)||(H.href=(0,p.addBasePath)(W)),g=A?i.default.cloneElement(o,H):(0,s.jsx)("a",{...R,...H,children:a}),(0,s.jsx)(v.Provider,{value:b,children:g})}e.r(84508);let v=(0,i.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},36368,e=>{"use strict";var t=e.i(58282);let r=[{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"}],n=(e,r)=>{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(t=>t.eventCategory===e.eventCategory&&t.eventAction===e.eventAction&&t.eventLabel===e.eventLabel&&("all"===r||"url"===r&&window.location.pathname===t.url));if(!r||!o){if(r){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,n,"setTimedEvents",0,e=>{r.some(t=>{if(e.includes(t.path)){let r=e.match(/str_(\d+)/),a=r?.[1]?Number(r[1]):1;return setTimeout(()=>{n({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:a})},15e3),!0}return!1})}])},63186,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(71645);r.TagManagerNoscript=function({gtmID:e,mtmURL:t,mtmID:r}){return n.createElement(n.Fragment,null,n.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})}}),n.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:r})}}))},r.TagManagerScript=function({gtmID:e,mtmURL:t,mtmID:r,autoInit:a=!0}){return n.createElement(n.Fragment,null,n.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);
  `}}),n.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})}}),n.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:r})}}),a&&n.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,r)=>{t.exports=e.r(63186)},67638,e=>{"use strict";var t=e.i(47167);e.i(43476),e.i(85426);var r=e.i(8438);let n=(0,e.i(22468).g)("root-layout","sc");Object.freeze({layout:`${n}__layout`,body:`${n}__body`}),e.s(["getEnvValue",0,()=>{if(typeof window>"u")return{...t.default.env};let e=(0,r.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 r=e.i(60491),n=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"),f=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`}),h=({title:e,linkUrl:r,s3Assets:n,description:a})=>{let l=(0,s.useBreakpointDown)("s");return(0,t.jsxs)("div",{className:f.supportAppCard,onClick:()=>{l&&((0,i.h)({eventCategory:p,eventActionType:i.D.banner,eventActionText:e,eventLabel:r}),window.open(r,"_blank","noreferrer"))},children:[(0,t.jsx)(s.Button,{className:f.button,iconLeft:(0,t.jsx)(o.IconFdsArrowUpRightSmallO,{size:24}),shape:"circle-icon",size:"xs"}),(0,t.jsxs)("div",{className:f.textWrapper,children:[(0,t.jsx)("div",{className:f.title,children:e}),!!a&&(0,t.jsx)("div",{className:f.description,children:a})]}),(0,t.jsx)("div",{className:f.imageContainer,children:(0,t.jsxs)("picture",{className:f.imageWrapper,children:[(0,t.jsx)("source",{media:"(max-width: 767px)",srcSet:`${n}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${n}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,t.jsx)("img",{className:f.image,loading:"lazy",src:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},_=(0,l.g)("support-phone-card","sc"),g=Object.freeze({supportPhoneCard:_,contacts:`${_}__contacts`,contactsExtra:`${_}__contacts-extra`,phone:`${_}__phone`,phonesExtra:`${_}__phones-extra`,phoneExtra:`${_}__phone-extra`,chat:`${_}__chat`,text:`${_}__text`,image:`${_}__image`}),v=({phones:e,phonesExtra:r,description:n,s3Assets:a})=>{let o=(0,c.useCallback)(()=>{var e,t,r;null==(r=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||r.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==r?void 0:r.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:r.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:n}),(0,t.jsx)("img",{className:g.image,src:`${a}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},b=({className:e,phoneCard:o,appCard:s,s3Assets:i})=>o&&s?(0,t.jsx)("section",{className:(0,a.default)(d.support,e),children:(0,t.jsxs)(r.Container,{children:[(0,t.jsx)(n.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)(h,{s3Assets:i,...s})]})]})}):null;b.displayName="Support",e.s(["Support",0,b])},8810,e=>{"use strict";let t;var r=e.i(43476),n=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(10108),u=e.i(12716),d=e.i(62965),p=e.i(22468),m=e.i(56239),f=e.i(85900),h=((t=h||{}).light="light",t.gray="gray",t);let _=(0,p.g)("best-offers-banner","sc"),g=Object.freeze({bestOffersBaner:_,wrapper:`${_}__wrapper`,wideWrapper:`${_}__wrapper--wide`,whiteWrapper:`${_}__wrapper--white`,content:`${_}__content`,header:`${_}__header`,title:`${_}__title`,subtitle:`${_}__subtitle`,icon:`${_}__icon`,iconBlack:`${_}__icon--black`,iconWhite:`${_}__icon--white`,image:`${_}__image`}),v=({title:e,image:t,url:n,description:o,backgroundColor:s,textColor:l,wide:c,theme:u,handleBannerDataLayerPush:p,className:m})=>{let f=u===h.gray,_={"--bg-base":(null==s?void 0:s.base)??(f?"var(--color-white)":"var(--color-gray-400)"),"--bg-hover":(null==s?void 0:s.hover)??"var(--color-gray-500)"};return(0,r.jsxs)("div",{className:(0,i.default)(g.wrapper,m,{[g.wideWrapper]:c}),style:_,onClick:()=>{p(),window.open(n,"_blank")},children:[(0,r.jsxs)("div",{className:g.content,children:[(0,r.jsxs)("div",{className:g.header,children:[(0,r.jsx)(a.Text,{weight:"medium",size:"24",className:g.title,style:{color:l},children:e}),(0,r.jsx)("div",{className:(0,i.default)(g.icon,{[g.iconBlack]:f&&!(null!=l&&l.includes("color-white")),[g.iconWhite]:f&&!!(null!=l&&l.includes("color-white"))}),children:(0,r.jsx)(d.IconFdsArrowUpRightSmallO,{size:32})})]}),o&&(0,r.jsx)(a.Text,{size:"16",style:{color:l},children:o})]}),(null==t?void 0:t.url)&&(0,r.jsx)("picture",{className:g.image,children:(0,r.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,r.jsxs)("div",{className:(0,i.default)(y.unit,{[y.unitRow]:l}),children:[(0,r.jsxs)("div",{className:y.unitTitleWrapper,children:[(0,r.jsx)(a.Text,{size:"14",className:y.unitTitle,children:e}),o&&(0,r.jsx)(u.Tooltip,{text:o,children:(0,r.jsx)(d.IconFdsQuestionCircleO,{className:y.tooltipIcon})})]}),(0,r.jsx)(a.Text,{weight:"medium",size:c?"18":l?"16":"24",className:y.unitValue,style:{color:s},children:e.includes("Рейтинг")?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.IconFdsStarF,{size:16,style:{color:"var(--color-orange-400)"}}),t]}):(p=t.split("₽")).map((e,t)=>(0,r.jsxs)(n.Fragment,{children:[e,t<p.length-1&&(0,r.jsx)(a.Text,{fontFamily:"primary",weight:"regular",children:"₽"})]},`${e}-${t}`))})]})},x=({tags:e,isGrayTheme:t})=>{let n=t?"secondary":"primary";return(0,r.jsx)("div",{className:y.tags,children:e.sort((e,t)=>e.order-t.order).map(e=>(0,r.jsx)(u.Tag,{className:y.tag,label:e.label,variant:e.variant?e.variant:n,rounded:!0},e.label))})},j=({companyName:e,name:t,url:n,logo:a,units:o,tags:s,additionalButton:l,unitsAsColumn:c,dataLayerPush:d,eventCategory:p,productType:f,theme:_,buttonClassName:g,eventValueByUnitTitle:v})=>{let b=_===h.gray,j=r=>{let n={event:"data-event",eventCategory:p,eventAction:`click_button_${(0,m.t)(r)}_${f}`,eventLabel:(0,m.t)(`${e}_${t}`)};if(v){let e=o.find(e=>e.title.toLowerCase()===v.toLowerCase());e&&(n.eventValue=(0,m.t)(e.value))}d(n)};return(0,r.jsxs)("div",{className:(0,i.default)(y.wrapper,{[y.whiteWrapper]:b}),children:[(0,r.jsxs)("div",{className:y.bankInfo,children:[a&&(0,r.jsx)("img",{src:a,width:56,height:56,alt:`${e} logo`}),(0,r.jsx)(w,{title:t,value:e,isTitleUnit:!0})]}),(0,r.jsx)("div",{className:(0,i.default)(y.units,{[y.unitsColumn]:c}),children:o.map(e=>(0,r.jsx)(w,{title:e.title,value:e.value,tooltip:e.tooltip,textColor:e.textColor,unitsAsColumn:c},`${e.title}-${e.value}`))}),(0,r.jsxs)("div",{className:y.bottomBlock,children:[s&&(0,r.jsx)(x,{tags:s,isGrayTheme:b}),l&&l.text.trim().length>0&&(0,r.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:()=>j(l.text)}),(0,r.jsx)(u.Button,{as:"a",className:(0,i.default)(y.button,g),size:"xs",label:"Подробнее",href:n,onClick:()=>j("podrobnee_o_kartochke_iz")})]})]})},C=(0,p.g)("offers-list","sc"),k=Object.freeze({offersList:C,wrapper:`${C}__wrapper`,sliderWrapper:`${C}__sliderWrapper`,offerItem:`${C}__offerItem`,compact:`${C}__offerItem--compact`,bannerItem:`${C}__bannerItem`}),$=({offers:e,banner:t,dataLayerPush:n,eventCategory:a,productType:o,theme:s,singleProduct:l})=>{let c=e.length<=2;return(0,r.jsxs)(u.Slider,{options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3e3,disableOnInteraction:!1}},breakpoints:{xl:{autoplay:!1}},className:k.sliderWrapper,pagination:!0,children:[e.slice(0,3).map(e=>(0,r.jsx)(u.SliderItem,{className:(0,i.default)(k.offerItem,{[k.compact]:l}),children:(0,r.jsx)(j,{...e,dataLayerPush:n,eventCategory:a,productType:o,theme:s})},e.id)),t&&(0,r.jsx)(u.SliderItem,{className:k.bannerItem,children:(0,r.jsx)(v,{...t,handleBannerDataLayerPush:()=>{n({event:"data-event",eventCategory:a,eventAction:"click_bnr_banner_top_predlozheniy",eventLabel:o})},wide:c,theme:s})})]},o)},I=(0,p.g)("osago-tab","sc"),T=Object.freeze({osagoTab:I,wrapper:`${I}__wrapper`,card:`${I}__card`,whiteCard:`${I}__card--white`,image:`${I}__image`,content:`${I}__content`,inputWrapper:`${I}__inputWrapper`,select:`${I}__select`,input:`${I}__input`,buttonLinkWrapper:`${I}__buttonLinkWrapper`,button:`${I}__button`,banner:`${I}__banner`}),N={kasko:{title:"Рассчет Каско за минуту",description:"Выберите лучшие условия для оформления полиса",backgroundColor:{base:"#f1f5ff",hover:"#a3ceec"}},osago:{title:"ОСАГО с экономией до 78%",description:"Предварительная цена после ввода номера ТС",backgroundColor:{base:"#f1f5ff",hover:"#a3ceec"}}},L=[{label:"Мотоцикл",value:"moto"},{label:"Автомобиль",value:"auto"}],S=Object.fromEntries(L.map(e=>[e.value,e])),P={auto:{mask:"a 000 aa 00",placeholder:"A 000 AA 00"},moto:{mask:"0000 aa 00",placeholder:"0000 AA 00"}},A="АВЕКМНОРСТУХ",O=RegExp(`[${A}]`,"i"),E=RegExp(`[^0-9${A}]`,"gi"),D=({type:e,baseUrl:t,s3Assets:s,banner:l,dataLayerPush:c,eventCategory:d,theme:p})=>{let _="osago"===e,g=(0,f.joinURL)(t,"osago"),b=(0,f.joinURL)(g,"step-car"),y=(0,f.joinURL)(t,"kasko"),w=(0,f.joinURL)(y,"vehicle"),x=_?b:w,[j,C]=(0,n.useState)(""),[k,$]=(0,n.useState)("auto"),{mask:I,placeholder:A}=P[k],D=p===h.gray,B=`?${new URLSearchParams({type:_?k:"auto",license:j})}`,R=(0,f.joinURL)(x,B),M=l??{...N[e],url:_?g:y,image:s?{url:(0,f.joinURL)(s,`widgets/BestOffers/${_?"icon_osago":"icons_car"}.png`),width:204,height:160}:void 0},U=S[k].label,z=(t,r)=>{c({event:"data-event",eventCategory:d,eventAction:t,eventLabel:r??e})};return(0,r.jsxs)("div",{className:T.wrapper,children:[(0,r.jsxs)("div",{className:(0,i.default)(T.card,{[T.whiteCard]:D}),children:[s&&(0,r.jsx)("picture",{children:(0,r.jsx)("img",{src:`${s}/widgets/BestOffers/auto_bg.png`,alt:"Автомобиль",loading:"lazy",className:T.image})}),(0,r.jsxs)("div",{className:T.content,children:[(0,r.jsxs)(o.Heading,{as:"h3",type:"h3",children:["Онлайн калькулятор ",_?"ОСАГО":"Каско"]}),(0,r.jsxs)("div",{className:T.inputWrapper,children:[_&&(0,r.jsx)(u.Select,{options:L,value:S[k],label:"Тип транспорта",variant:D?"primary":"secondary",className:T.select,onChange:e=>{C(""),$(e.value),z(`selector_item_${(0,m.t)(e.label)}`)}}),(0,r.jsx)(u.InputMasked,{label:"Госномер",variant:D?"primary":"secondary",maskOpts:{mask:I,definitions:{a:O}},maskPlaceholder:A,value:j,className:T.input,onChange:(e,t)=>{C(t.replace(E,"").toUpperCase())},onClick:()=>z(`message_field_${(0,m.t)(U)}`),onBlur:()=>z(`on_message_field_${(0,m.t)(U)}`)}),(0,r.jsxs)(a.Text,{children:["У меня"," ",(0,r.jsx)(u.Link,{href:x,onClick:()=>{z("click_link_net_nomera",x)},children:"нет номера"})]})]}),(0,r.jsx)(u.Button,{as:"a",href:R,size:"s",className:T.button,onClick:()=>{z(`click_button_rasschitat_${(0,m.t)(U)}`,R)},children:"Рассчитать"})]})]}),(0,r.jsx)("div",{className:T.banner,children:(0,r.jsx)(v,{...M,theme:p,handleBannerDataLayerPush:()=>{z("click_bnr_banner_top_predlozheniy")}})})]})},B=(0,p.g)("best-offers","sc"),R=Object.freeze({bestOffers:B,graySection:`${B}--gray`,singleProduct:`${B}--singleProduct`,titleWrapper:`${B}__title-wrapper`,singleProductTitleWrapper:`${B}__title-wrapper--singleProduct`,title:`${B}__title`,singleProductTitle:`${B}__title--singleProduct`,chips:`${B}__chips`,warning:`${B}__warning`,allOffersLink:`${B}__allOffersLink`}),M={вклады:"вкладам",облигации:"облигациям",кредиты:"кредитам",займы:"займам","Кредитные карты":"кредитным картам",каско:"каско",осаго:"ОСАГО","дебетовые карты":"дебетовым картам",ипотека:"ипотеке",автокредиты:"автокредитам"};e.s(["BestOffers",0,({tabs:e,baseUrl:t,s3Assets:u,eventCategory:d="best-offers",dataLayerPush:p,singleProduct:m=!1,theme:f=h.light,className:_,initialActiveChipId:g})=>{var v;let b,y=f===h.gray,w=Array.isArray(e)?e.filter(({banner:e,offers:t,productType:r})=>!!e||!!(null!=t&&t.length)||"osago"===r||"kasko"===r).map(e=>({...e,offers:Array.isArray(e.offers)?e.offers:[]})):[],x=w.map(e=>({url:e.productType,title:e.name})),j=(null==(v=x[0])?void 0:v.url)??"",[C,k]=(0,n.useState)(g??j),I=C&&w.some(e=>e.productType===C)?C:j,T=w.find(e=>e.productType===I)??w[0];if(!T)return null;let N=M[T.name.toLowerCase()],L=N?`по ${N}`:T.name,S=("kasko"===(b=null==T?void 0:T.productType)||"osago"===b)&&t?(0,r.jsx)(D,{type:T.productType,banner:T.banner,baseUrl:t,s3Assets:u,dataLayerPush:p,eventCategory:d,theme:f}):null;return(0,r.jsx)("section",{className:(0,i.default)(R.bestOffers,_,{[R.singleProduct]:m,[R.graySection]:y}),children:(0,r.jsxs)(s.Container,{children:[(0,r.jsx)("div",{className:(0,i.default)(R.titleWrapper,m&&R.singleProductTitleWrapper),children:(0,r.jsxs)(o.Heading,{as:"h2",type:m?"h2":"display",className:(0,i.default)(R.title,m&&R.singleProductTitle),children:["Лучшие предложения ",m?L:"сегодня"]})}),!m&&(0,r.jsx)(c.N,{items:x,maxNumberOfLines:2,activeChipId:I,variant:y?"white":"gray",className:R.chips,onClick:e=>{k(e);let t=w.find(t=>t.productType===e);p({event:"data-event",eventCategory:d,eventAction:"click_chip_top_predlozheniy_vybor",eventLabel:null==t?void 0:t.productType})}}),(0,r.jsxs)("div",{children:[S??(0,r.jsx)($,{offers:T.offers,banner:T.banner,dataLayerPush:p,eventCategory:d,productType:T.productType,theme:f,singleProduct:m}),T.hasWarning&&(0,r.jsx)(a.Text,{as:"p",size:"16",className:R.warning,children:T.warningCustomText??"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})]}),T.checkAllUrl&&(0,r.jsx)(l.C,{href:T.checkAllUrl,event:{event:"data-event",eventCategory:d,eventAction:"link",eventLabel:`Показать все предложения ${T.productType}`},dataLayerPush:p,iconGrayBackground:!y,className:R.allOffersLink,linkClassName:T.checkAllLinkClassName,children:"Показать все предложения"})]})})}])}]);