(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31],{6872:function(e,t,o){"use strict";var n=o(257);let r={REDIS_HOST:n.env.REDIS_HOST||"localhost",REDIS_PORT:n.env.REDIS_PORT||"63739",REDIS_PASSWORD:n.env.REDIS_PASSWORD||""};e.exports={APP_PREFIX:"/service-rko",CACHE_HANDLER_PREFIX:"service-rko",SERVER_CONFIG:r}},9306:function(e,t,o){"use strict";o.d(t,{t9:function(){return c}});var n=o(8683),r=o(8645),l=o(6872),i=o(257);let a=e=>!0!==e,s=e=>{let t="dev"===(0,n.SJ)("NEXT_PUBLIC_VERSION"),o=(0,n.SJ)("SKIP_PROXY"),r=(0,n.SJ)("NEXT_PUBLIC_COMMON_BLOCKS_SERVICE_URL"),i=(0,n.SJ)("NEXT_PUBLIC_BFF_API_URL"),s=(0,n.SJ)("NEXT_PUBLIC_HEADLESS_CMS"),c=(0,n.SJ)("NEXT_PUBLIC_RKO_API_URL"),u=(0,n.SJ)("NEXT_PUBLIC_BASE_URL");(0,n.SJ)("NEXT_PUBLIC_API_URL");let{isBFF:d,isCommonBlocks:p,isHeadlessCMS:f,isRko:_}=e,v=t?"":l.APP_PREFIX,m="";return(_&&(m="rko"),d)?"".concat(u,"/sc"):a("true"===o)?"".concat(v,"/api/proxy").concat(m):p?r:d?i:f?s:_?c:u},c=async e=>{let{url:t,options:o={},config:l}=e,a=(0,n.SJ)("REVALIDATE_REQUEST_VALUE"),c="dev"===(0,n.SJ)("NEXT_PUBLIC_VERSION"),u=s(o),d=0,p="";try{c&&console.log("Запрос url","".concat(u).concat(t)),d=performance.now();let{status:e,_data:o}=await r.Wg.raw(t,{baseURL:u,method:(null==l?void 0:l.method)||"GET",headers:{...null==l?void 0:l.headers},...l,next:{revalidate:Number(a)||300}});return p=e,{data:o,error:null}}catch(e){return c&&console.error("Ошибка запроса","".concat(e,": ").concat(u).concat(t)),{data:null,error:e||"Unknown error"}}finally{var f;null===(f=i.outgoingHTTPRequestHistogram)||void 0===f||f.labels((null==l?void 0:l.method)||"GET",t,String(p)).observe(Number(performance.now()-d))}}},7493:function(e,t,o){"use strict";o.d(t,{z:function(){return n}});let n=300},6153:function(e,t,o){"use strict";o.d(t,{L:function(){return c}});var n=o(7437),r=o(1994),l=o(2265),i=o(7493),a=o(8582),s=o.n(a);let c=e=>{let{onClose:t,onToucheMove:o,isOpen:a,delay:c=i.z}=e,u=(0,l.useRef)(null),d=(0,l.useCallback)(()=>{t&&(u.current=setTimeout(()=>{t()},c))},[c,t]),p=(0,l.useCallback)(e=>{"Escape"===e.key&&d()},[d]);return(0,l.useEffect)(()=>(a&&window.addEventListener("keydown",p),()=>{u.current&&clearTimeout(u.current),window.removeEventListener("keydown",p)}),[a,p]),(0,n.jsx)("div",{className:(0,r.Z)(s().overlay,{[s().open]:a,[s().close]:!a}),onTouchStart:o,onClick:d})}},9689:function(e,t,o){"use strict";o.d(t,{j:function(){return v}});var n=o(7437),r=o(1994),l=o(2265),i=o(7868),a=o(3564),s=o(6153),c=o(3582),u=o.n(c);let d=e=>{let{footer:t,isSmallPopup:o=!1,footerClassName:l}=e;return(0,n.jsx)("div",{className:(0,r.Z)(u().footer,o&&u().footerWithoutShadow,l),children:"function"==typeof t?t():t})};var p=o(6565),f=o.n(p);let _=e=>{let{children:t,footer:o,isOpen:a,isSmallPopup:c,onClose:u,hasCloseButton:p=!0,full:_,touchDistance:v=100,withDisabledScroll:m=!0,contentClassName:h,className:b,title:w,closeButton:g,footerClassName:y}=e,[k,x]=(0,l.useState)(!1),[C,O]=(0,l.useState)(!1),[S,B]=(0,l.useState)(!0),[E,I]=(0,l.useState)("120%"),L=(0,l.useRef)(null),N=(0,l.useRef)(0),P=(0,l.useRef)(!1),R=e=>{var t,o,n;let r=null===(t=L.current)||void 0===t?void 0:t.offsetTop,l=null===(o=L.current)||void 0===o?void 0:o.offsetHeight;if(P.current=!0,B(!1),r&&l){let t=(null==e?void 0:null===(n=e.touches[0])||void 0===n?void 0:n.clientY)-r,o=0;t>=0&&t<=l+30&&(o=t),t>l+30&&(o=l+30),I("".concat(o,"px")),N.current=o}},j=()=>{P.current&&(N.current>v&&u?null==u||u():I("0"),B(!0),P.current=!1),window.removeEventListener("touchmove",R),window.removeEventListener("touchend",j)};return(0,l.useEffect)(()=>{a&&setTimeout(()=>{x(!0),O(!0),I("0")},100),!a&&C&&(I("120%"),x(!1),O(!1))},[C,a]),(0,i.o)(a&&m),(0,n.jsxs)("div",{"data-portal":!0,className:(0,r.Z)(f().mobilePopup,C&&f().mobilePopupOpen,b),children:[(0,n.jsx)(s.L,{onClose:()=>{a&&(null==u||u())},onToucheMove:()=>{a&&(x(!1),window.addEventListener("touchmove",R),window.addEventListener("touchend",j))},isOpen:a,delay:0}),(0,n.jsxs)("div",{className:(0,r.Z)(f().content,_&&f().contentFull,S&&f().contentTransition,S&&k&&f().contentTransitionOpen),ref:L,style:{transform:"translateY(".concat(E,")")},children:[(0,n.jsx)("div",{className:f().contentLine}),(0,n.jsxs)("div",{className:(0,r.Z)(f().contentContainer,c&&f().smallContentContainer,{[f().min]:!w&&!p},h),children:[!!w&&(0,n.jsx)("div",{className:f().title,children:w}),p?(0,n.jsx)("div",{className:f().closeContainer,children:(0,n.jsx)("div",{className:f().closeContainer,children:p?g?"function"==typeof g?g():g:(0,n.jsx)("button",{onClick:u,className:f().closeButton,children:(0,n.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})}):null})}):null,t]}),o&&(0,n.jsx)(d,{footerClassName:y,isSmallPopup:c,footer:o})]})]})},v=e=>{let{children:t,isSmallPopup:o=!1,isOpen:r=!1,...l}=e,{mounted:i}=(0,a.b)({opened:r});return i?(0,n.jsx)(_,{isSmallPopup:o,isOpen:r,...l,children:t}):null};v.displayName="UiMobilePopup"},9464:function(e,t,o){"use strict";o.d(t,{N:function(){return N}});var n=o(7437),r=o(2265),l=o(684),i=o(5461),a=o(1994),s=o(1132),c=o(7375),u=o(5563),d=o(5843),p=o(9403),f=o.n(p),_=o(5158),v=o.n(_);let m=e=>{let{className:t,text:o,children:l,title:a}=e,s=(0,i.aF)("xs"),[c,u]=(0,r.useState)(!1),[d,p]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{u(s)},[s]),c)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:v().triggerModalWrapper,onClick:()=>{p(!0)},children:l}),(0,n.jsx)(i.u_,{onClose:()=>{p(!1)},header:{title:a},open:d,children:(0,n.jsx)("div",{className:v().contentContentWrapper,children:o})})]}):(0,n.jsx)(i.u,{className:t,text:o,children:l})};var h=o(6055),b=o.n(h);let w=e=>(0,n.jsx)("span",{className:b().tooltipText,dangerouslySetInnerHTML:{__html:e||""}}),g=e=>{let{label:t,preposition:o,value:r,isTitle:i,tooltip:s,postfix:c,onTooltipClick:u}=e,d=o?"".concat(o," ").concat(r):r;return(0,n.jsxs)("div",{className:(0,a.Z)(b().group,i&&b().titleGroup),children:[(0,n.jsxs)("button",{className:b().groupSub,title:i&&"string"==typeof t?t:"",onClick:s?e=>{null==e||e.preventDefault(),null==e||e.stopPropagation(),null==u||u()}:void 0,children:[t,s?(0,n.jsx)(m,{title:"string"==typeof t?t:"",className:b().tooltip,text:w(s),children:(0,n.jsx)(l.IconFdsQuestionCircleO,{className:b().tooltipIcon})}):null]}),(0,n.jsxs)("p",{className:b().groupContent,title:i&&"string"==typeof r?d:"",children:[o&&(0,n.jsx)("span",{className:b().preposition,children:o})," ",r,c&&(0,n.jsx)("span",{className:b().postfix,children:c})]})]})},y=e=>{var t,o;let{offer:r,handleOpenDetailInfo:p,handlePrimaryButtonClick:_,isWhiteCard:v=!1,onCardPrimaryButtonClick:m,onOfferClick:h,onTooltipClick:b,eventCategory:w="BankOffersList",handleExpandOffers:y,highlight:k,className:x}=e,{title:C,fields:O,chips:S,url:B}=r,E="Ещё ".concat(null===(t=r.subOffers)||void 0===t?void 0:t.length," ").concat((0,u._6)((null===(o=r.subOffers)||void 0===o?void 0:o.length)||0,...d.bt)),I=(0,n.jsx)("div",{className:f().chipsRow,children:S.map(e=>(0,n.jsx)("div",{className:f().chipWrapper,children:(0,n.jsx)(i.Vp,{label:e.text,variant:e.color,className:f().chip,style:e.style,rounded:!0,iconLeft:e.iconLeft})},e.text))}),L=()=>{(0,c.Q)({eventCategory:w,eventActionType:c.i.icon,eventActionText:"IconFdsQuestionCircleO",eventLabel:"".concat(r.fkName||"","_").concat(r.title||"")}),null==b||b(r)};return(0,n.jsxs)("div",{className:(0,a.Z)(f().cardWrapper,x),children:[(0,n.jsxs)("a",{className:(0,a.Z)(f().card,f().fullWidthCard,{[f().paddingForButton]:y,[f().whiteCard]:v,[f().highlighted]:k}),href:B,target:"_blank",onClick:()=>{(0,c.Q)({eventCategory:w,eventActionType:c.i.offer,eventActionText:"".concat(r.fkName||"","_").concat(r.title||""),eventLabel:r.url}),null==h||h(r)},children:[(0,n.jsxs)("div",{className:f().topRow,children:[(0,n.jsxs)("div",{className:f().topRowContent,children:[(0,n.jsxs)("div",{className:f().bankInfo,children:[(0,n.jsx)("div",{className:f().icon,children:(0,n.jsx)(s.D,{altLogo:r.altLogo,url:r.bic||r.url||"",backupImage:r.fkLogo,type:"bank",width:56,height:56})}),(0,n.jsx)(g,{label:C,value:r.fkName,isTitle:!0})]}),(0,n.jsx)("div",{className:f().groups,children:O.map(e=>e.value?(0,n.jsx)(g,{label:e.label,preposition:e.preposition,value:e.value,tooltip:e.tooltip,postfix:e.postfix,onTooltipClick:L},e.name):null)}),(0,n.jsx)("div",{className:f().mobileOnly,children:I})]}),(0,n.jsxs)("div",{className:f().topRowButtons,children:[(0,n.jsx)("button",{className:f().iconButton,onClick:e=>{e.preventDefault(),e.stopPropagation(),p(r)},children:(0,n.jsx)(l.IconFdsInfoCircleO,{className:f().iconDetail,size:24})}),(0,n.jsxs)("div",{className:f().buttons,children:[(0,n.jsx)(i.zx,{size:"xs",label:"Оформить онлайн",onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,c.Q)({eventCategory:w,eventActionType:c.i.button,eventActionText:"Оформить онлайн",eventLabel:r.url}),null==_||_(r)}}),(0,n.jsx)(i.zx,{className:f().detailButton,size:"xs",label:"Подробнее",variant:"secondary",onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,c.Q)({eventCategory:w,eventActionType:c.i.button,eventActionText:"Подробнее",eventLabel:r.url}),null==m||m(r),window.open(B,"_blank")}})]})]})]}),(0,n.jsx)("div",{className:(0,a.Z)(f().desktopOnly,f().desktopChipsRow),children:I}),y&&(0,n.jsx)("div",{className:f().lastOfferCornerGradient})]}),y&&(0,n.jsx)(i.zx,{className:f().showMoreButton,variant:"purple",appearance:"ghost",size:"xs",label:E,onClick:y,iconRight:(0,n.jsx)(l.IconFdsChevronDownSmallO,{className:f().showMoreIcon,size:20})})]})},k=()=>{let e="";for(let t=0;t<36;t++){let o=16*Math.random()|0;[8,13,18,23].includes(t)&&(e+="-"),e+=(14===t?"4":19===t?3&o|8:o).toString(16)}return e};var x=o(9286),C=o.n(x);let O=e=>{let{params:t,children:o,className:l,config:i}=e,[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(""),p=(0,r.useRef)(null),f=(0,r.useRef)("");return(0,r.useEffect)(()=>{f.current&&(null==i?void 0:i.yaContextCb)&&(null==i?void 0:i.Ya)&&i.yaContextCb.push(()=>{i.Ya.adfoxCode.destroy(f.current)}),d(k())},[null==i?void 0:i.Ya,null==i?void 0:i.yaContextCb,t.pp]),(0,r.useEffect)(()=>{if(f.current===u)return;if(!i){c(!0);return}let e=()=>{var e,t;let o=null===(e=p.current)||void 0===e?void 0:e.querySelector("iframe");o?o.style.height="".concat(null===(t=o.contentWindow)||void 0===t?void 0:t.document.body.scrollHeight,"px"):console.warn("ads blocked"),c(!o)};i.yaContextCb&&i.yaContextCb.push(()=>{i.Ya.adfoxCode.create({ownerId:i.ownerId,containerId:"adfox_".concat(u),params:t,onRender:e})}),setTimeout(e,5e3),f.current=u},[u,i,t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:(0,a.Z)(s&&C().hide,l),ref:p,id:"adfox_".concat(u)},u),s&&o]})},S=()=>{let[e,t]=(0,r.useState)();return(0,r.useEffect)(()=>{window&&window.Ya&&window.yaContextCb&&t({ownerId:406293,Ya:window.Ya,yaContextCb:window.yaContextCb})},[]),e};var B=o(166),E=o(4889),I=o.n(E);let L=(0,B.default)(()=>Promise.all([o.e(679),o.e(491)]).then(o.bind(o,2491)).then(e=>e.BankOfferModal),{loadableGenerated:{webpack:()=>[2491]},ssr:!1}),N=e=>{let{offers:t,handleButtonClick:o,handlePrimaryButtonClick:l,onOpenDetailInfo:i,onCardPrimaryButtonClick:s,onOfferClick:u,onTooltipClick:d,eventCategory:p="BankOffersList",highlightedOfferId:f,adfoxBanners:_}=e,[v,m]=(0,r.useState)(!1),[h,b]=(0,r.useState)(null),[w,g]=(0,r.useState)([]),k=S(),x=e=>{g(t=>[...t,e])},C=e=>{var t;return null==_?void 0:null===(t=_.find(t=>(null==t?void 0:t.position)===e))||void 0===t?void 0:t.params},B={handlePrimaryButtonClick:l,handleOpenDetailInfo:e=>{b(e),m(!0),(0,c.Q)({eventCategory:p,eventActionType:c.i.button,eventActionText:"IconFdsInfoCircleO",eventLabel:"".concat(e.fkName||"","_").concat(e.title||"")}),null==i||i(e)},onCardPrimaryButtonClick:s,onOfferClick:u,onTooltipClick:d,eventCategory:p};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:I().offersList,children:[t.map((e,t)=>{var o,l;let i=!(null===(o=e.subOffers)||void 0===o?void 0:o.length)||w.includes(Number(e.id));return(0,n.jsxs)(r.Fragment,{children:[!!C(t)&&(0,n.jsx)(O,{config:k,params:C(t)}),(0,n.jsx)(y,{offer:e,...B,handleExpandOffers:i?void 0:()=>x(Number(e.id)),highlight:f===e.id}),null===(l=e.subOffers)||void 0===l?void 0:l.map(e=>(0,n.jsx)(y,{offer:e,...B,className:(0,a.Z)({[I().subOfferVisible]:i,collapsed:!i})},e.id))]},"".concat(e.id,"-").concat(t))}),!!C(t.length)&&(0,n.jsx)(O,{config:k,params:C(t.length)})]}),v&&(0,n.jsx)(L,{isOpen:v,onClose:()=>{m(!1)},offer:h,handleButtonClick:o,handlePrimaryButtonClick:l,eventCategory:p})]})}},5074:function(e,t,o){"use strict";o.d(t,{g:function(){return a}});var n=o(7437),r=o(8683),l=o(7337),i=o(2265);let a=e=>{let{offer:t}=e,o=(0,r.SJ)("NEXT_PUBLIC_BASE_URL"),a=(0,i.useMemo)(()=>{let e=[{"@type":"ListItem",position:1,name:"Главная",item:o},{"@type":"ListItem",position:2,name:"РКО",item:(0,l.xn)(o,"rko")}];return t&&e.push({"@type":"ListItem",position:3,name:t.title,item:(0,l.xn)(o,"rko",t.url)}),JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e})},[o,t]);return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:a}})}},1132:function(e,t,o){"use strict";o.d(t,{D:function(){return c}});var n=o(7437),r=o(3145),l=o(2265),i=o(4004),a={src:"/service-rko/_next/static/media/bank-placeholder.d924b4ac.svg",height:108,width:108,blurWidth:0,blurHeight:0};function s(e,t,o){return 0===e?t:1===e&&o?o:a}let c=e=>{let[t,o]=(0,l.useState)(0),a="insurance"===e.type?"sk":e.type||"bank",c=(0,i.S)("NEXT_PUBLIC_S3_ASSETS"),u="".concat(c,"/mp-assets/images/").concat(a,"/logo-brandmark-").concat(a,"-").concat(e.url,".svg");(0,l.useEffect)(()=>{o(0)},[u]);let d=s(t,u,e.backupImage),p=e.altLogo?s(t,e.altLogo,d):"";return(0,n.jsx)(r.default,{className:e.className,src:p||d,width:e.width,height:e.height,alt:"logo",unoptimized:!0,onError:()=>o(e=>e+1),suppressHydrationWarning:!0})}},3466:function(e,t,o){"use strict";o.d(t,{h:function(){return l}});var n=o(2265),r=o(4887);let l=e=>{let{children:t,id:o="portal-root"}=e,[l,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.getElementById(o);if(e){i(e);return}let t=document.createElement("div");return t.id=o,document.body.appendChild(t),i(t),()=>{document.body.removeChild(t)}},[o]),l?(0,r.createPortal)(t,l):null}},7868:function(e,t,o){"use strict";o.d(t,{o:function(){return r}});var n=o(2265);let r=e=>{let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let o=t.current,n=window.innerWidth-document.documentElement.clientWidth;e&&n&&!document.body.style.top&&(window.prevScrollPosition=window.scrollY||window.pageYOffset),e&&n&&(document.documentElement.style.setProperty("overflow-y","scroll"),document.body.classList.toggle("scroll-disable-windows",!0),document.body.style.setProperty("width","calc(100vw - ".concat(n,"px)")),document.body.style.setProperty("top","-".concat(window.prevScrollPosition,"px"))),e&&!n&&(document.body.style.setProperty("overflow","hidden"),document.body.style.setProperty("height","100vw")),e&&o&&o.setAttribute("data-portal","");let r=document.querySelectorAll("[data-portal]").length>1;return e||r||(document.body.classList.toggle("scroll-disable-windows",!1),document.body.style.removeProperty("overflow"),document.body.style.removeProperty("height"),document.body.style.removeProperty("width"),document.body.style.removeProperty("top")),e||r||void 0===window.prevScrollPosition||(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0),!e&&o&&o.removeAttribute("data-portal"),()=>{document.body.classList.toggle("scroll-disable-windows",!1),document.body.style.removeProperty("overflow"),document.body.style.removeProperty("height"),void 0!==window.prevScrollPosition&&(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0)}},[e]),t}},3564:function(e,t,o){"use strict";o.d(t,{b:function(){return l}});var n=o(2265),r=o(7493);let l=e=>{let{opened:t}=e,[o,l]=(0,n.useState)(!1),i=(0,n.useRef)(null),a=(0,n.useRef)(!1);return(0,n.useEffect)(()=>(t&&!a.current?(a.current=!0,l(!0)):!t&&a.current&&(i.current=setTimeout(()=>{a.current=!1,l(!1)},r.z)),()=>{i.current&&clearTimeout(i.current)}),[t]),{mounted:o}}},5763:function(e,t,o){"use strict";o.d(t,{S:function(){return a}});var n=o(2265);let r={setItem:(e,t)=>{try{window.localStorage.setItem(e,t)}catch(e){return console.error(e),!1}return!0},getItemRaw:e=>{try{return window.localStorage.getItem(e)}catch(e){return console.error(e),null}},getItem:e=>{let t=r.getItemRaw(e);if(t&&"undefined"!==t)try{return JSON.parse(t)}catch(t){console.warn("invalid object in localStorage by key: ".concat(e))}return null},removeItem:e=>{try{window.localStorage.removeItem(e)}catch(e){console.error(e)}}};var l=o(8683),i=o(5065);let a=e=>{let{initialRegion:t,initialTown:o}=e,[{region:a,town:s},c]=(0,n.useState)({region:t,town:o}),u=(0,i.a)(),d=(0,l.SJ)("NEXT_PUBLIC_REACT_HEADER");return(0,n.useEffect)(()=>{var e,n,l,i,a,s,p,f,_;let v=r.getItem("user_region"),m=r.getItem("user_town"),h=null===(l=window)||void 0===l?void 0:null===(n=l.Alpine)||void 0===n?void 0:null===(e=n.store("citySelect"))||void 0===e?void 0:e.region,b=null===(s=window)||void 0===s?void 0:null===(a=s.Alpine)||void 0===a?void 0:null===(i=a.store("citySelect"))||void 0===i?void 0:i.town,w=h||v||t||null,g=b||m||o||null;c({region:w,town:g}),d?u.selectCity(w,g):null===(_=window)||void 0===_||null===(f=_.Alpine)||void 0===f||null===(p=f.store("citySelect"))||void 0===p||p.selectCity(w,g),document.addEventListener("onRegionChange",e=>{var t,o;c({region:null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.region,town:null==e?void 0:null===(o=e.detail)||void 0===o?void 0:o.town})})},[t,o]),{region:a,town:s,handleOpenCityModal:()=>{if(d)u.handleToggleModal(!0);else{var e,t,o;null===(o=window)||void 0===o||null===(t=o.Alpine)||void 0===t||null===(e=t.store("citySelect"))||void 0===e||e.handleToggleModal(!0)}}}}},5843:function(e,t,o){"use strict";o.d(t,{K0:function(){return n},aP:function(){return r},bt:function(){return l},wm:function(){return i}});let n=[{label:"Все",value:"BOTH"},{label:"ИП",value:"SOLE_PROPRIETOR"},{label:"ООО",value:"LEGAL_ENTITY"}],r=[{label:"По популярности",value:"POPULAR"},{label:"По обслуживанию",value:"COST"}],l=["предложение","предложения","предложений"],i="rko"},4004:function(e,t,o){"use strict";o.d(t,{S:function(){return r}});var n=o(666);function r(e){let t="",o=!1;try{t=(0,n.env)(e),o="dev"===(0,n.env)("NEXT_PUBLIC_VERSION")}catch(e){}let r=void 0===t&&window.__ENV&&Object.keys(window.__ENV).length>0;if(r&&o)throw Error("".concat(e," is undefined"));return r&&!o&&console.error("".concat(e," is undefined")),t||""}},8683:function(e,t,o){"use strict";o.d(t,{p6:function(){return l},SJ:function(){return i.S}});var n=o(7603),r=o(692);function l(e,t){let{format:o="dd.MM.yy"}=null!=t?t:{};try{if("string"==typeof e)return(0,n.Z)(new Date(e),o,{locale:r.Z});return(0,n.Z)(e,o,{locale:r.Z})}catch(t){return e}}var i=o(4004)},7375:function(e,t,o){"use strict";o.d(t,{i:function(){return r},Q:function(){return s}});var n,r,l=o(9487);let i={а:"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?e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in i?i[t]:e}).replaceAll(" ","_").replaceAll("\xa0","_"):"";(n=r||(r={})).icon="icon",n.chip="chip",n.accordion="accordion",n.button="button",n.checkbox="checkbox",n.radio="radio",n.select="select",n.toggle="toggle",n.tooltip="tooltip",n.link="link",n.banner="banner",n.tag="tag",n.date="date",n.field="field",n.offer="offer",n.tab="tab",n.submit_button="submit_button",n.popup="popup",n.block="block";let s=e=>{let{eventCategory:t,eventActionType:o,eventActionText:n="",eventLabel:r}=e,i={event:"data-event",eventCategory:t,eventAction:{icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submit_button:"form_button_",popup:"show_pop_up_",block:"click_block_"}[o]+a(n)};void 0!==r&&(i.eventLabel=a("string"==typeof r?r:r.toString())),(0,l.l)(i)}},9487:function(e,t,o){"use strict";o.d(t,{l:function(){return r}});var n=o(631);let r=(e,t)=>{let o=sessionStorage.getItem("pushedEvents"),r=o?JSON.parse(o):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_"));let l=r.find(o=>o.eventCategory===e.eventCategory&&o.eventAction===e.eventAction&&o.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===o.url));if(!t||!l){if(t){let t={...e};t.url=window.location.pathname,r.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(r))}(0,n.AB)(e)}}},8582:function(e){e.exports={overlay:"ClickOutside_overlay__YQi9L",open:"ClickOutside_open__bmtsz",fade:"ClickOutside_fade__io1xj",close:"ClickOutside_close__AC078","fade-out":"ClickOutside_fade-out__wJ_pJ"}},6565:function(e){e.exports={mobilePopup:"MobilePopup_mobilePopup__NCFCK",content:"MobilePopup_content__B5iF0",contentFull:"MobilePopup_contentFull__DBrvo",contentLine:"MobilePopup_contentLine__eykLy",contentContainer:"MobilePopup_contentContainer___ZbOq",min:"MobilePopup_min__D0Hml",contentTransition:"MobilePopup_contentTransition__7_kGL",contentTransitionOpen:"MobilePopup_contentTransitionOpen__GDGpr",title:"MobilePopup_title__IEYZk",closeContainer:"MobilePopup_closeContainer__HSRUL",closeButton:"MobilePopup_closeButton__Bse_M",smallContentContainer:"MobilePopup_smallContentContainer__8jHeS"}},3582:function(e){e.exports={footer:"MobileModalFooter_footer__5dRCK",footerWithoutShadow:"MobileModalFooter_footerWithoutShadow__zHKVO"}},9286:function(e){e.exports={hide:"YaAdFoxBanner_hide__EEjEP"}},4889:function(e){e.exports={offersList:"BankOffersList_offersList__XZ5q_",subOfferVisible:"BankOffersList_subOfferVisible__889PJ",fadeSlideIn:"BankOffersList_fadeSlideIn___L6RG"}},9403:function(e){e.exports={cardWrapper:"BankOffer_cardWrapper__YNvcv",card:"BankOffer_card__ICGdJ",iconButton:"BankOffer_iconButton__WAmKS",paddingForButton:"BankOffer_paddingForButton__U1cqr",highlighted:"BankOffer_highlighted__dCM6d",fullWidthCard:"BankOffer_fullWidthCard__n4WOI",detailButton:"BankOffer_detailButton__rnCze",chipsRow:"BankOffer_chipsRow___YdEC",topRow:"BankOffer_topRow__c3UpD",topRowContent:"BankOffer_topRowContent__oR_ad",topRowButtons:"BankOffer_topRowButtons__iO3fh",bankInfo:"BankOffer_bankInfo__I_4hS",groups:"BankOffer_groups__RjfiS",group:"BankOffer_group__E3ykC",titleGroup:"BankOffer_titleGroup___ZwEg",whiteCard:"BankOffer_whiteCard__xrXK3",preposition:"BankOffer_preposition__VyoEq",iconDetail:"BankOffer_iconDetail__xygTi",chip:"BankOffer_chip__cGpbc",icon:"BankOffer_icon__VnoPt",buttons:"BankOffer_buttons__TSzCD",lastOfferCornerGradient:"BankOffer_lastOfferCornerGradient__te_WF",mobileOnly:"BankOffer_mobileOnly__B2sek",desktopOnly:"BankOffer_desktopOnly__rbRt2",desktopChipsRow:"BankOffer_desktopChipsRow__RKOec",showMoreButton:"BankOffer_showMoreButton__T5LL_",showMoreIcon:"BankOffer_showMoreIcon__BPwVs"}},6055:function(e){e.exports={preposition:"BankOfferInfoGroup_preposition__dlRBI",postfix:"BankOfferInfoGroup_postfix___1auU",group:"BankOfferInfoGroup_group__bvFrt",titleGroup:"BankOfferInfoGroup_titleGroup__eEKRh",groupSub:"BankOfferInfoGroup_groupSub__v9OO_",groupContent:"BankOfferInfoGroup_groupContent__ERVJ4",tooltip:"BankOfferInfoGroup_tooltip__wBh_G",tooltipIcon:"BankOfferInfoGroup_tooltipIcon___8f8u",tooltipText:"BankOfferInfoGroup_tooltipText__V5ST6"}},5158:function(e){e.exports={triggerModalWrapper:"TooltipBottomDrawer_triggerModalWrapper__PueK8",contentContentWrapper:"TooltipBottomDrawer_contentContentWrapper__x5s5s"}}}]);