(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9265],{59457:function(e,t,n){"use strict";var r,i,l=n(67294);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=function(e){return l.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r||(r=l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h16v16H0z"})))),i||(i=l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.115 5.333a2.001 2.001 0 0 0 3.772 0h2.114a.667.667 0 0 0 0-1.333h-2.114a2.001 2.001 0 0 0-3.772 0H2a.667.667 0 0 0 0 1.333zm1.886 0a.667.667 0 1 0 0-1.333.667.667 0 0 0 0 1.333m-4 4a2 2 0 0 0-1.886 1.333H2A.667.667 0 0 0 2 12h2.114a2.001 2.001 0 0 0 3.772 0H14a.667.667 0 1 0 0-1.334H7.887a2 2 0 0 0-1.886-1.333m0 1.333a.667.667 0 1 0 0 1.334.667.667 0 0 0 0-1.334",clipRule:"evenodd"}))))}},60041:function(e,t,n){"use strict";var r,i=n(67294);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=function(e){return i.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:13.266,height:12,fill:"none",viewBox:"0 0 13.266 12"},e),r||(r=i.createElement("path",{fill:"#000",d:"m6.59 3.29-.94.95-1.69-1.69v8.78H2.63V2.55L.94 4.24 0 3.29 3.29 0zm6.67 5.41L9.96 12l-3.3-3.3.94-.95 1.7 1.69L9.29.66h1.34v8.78l1.69-1.69z"})))}},94781:function(e,t){"use strict";t.Z={src:"/kredity/assets/_next/static/media/banner-2.9368ea40.svg",height:218,width:318,blurWidth:0,blurHeight:0}},45392:function(e,t,n){"use strict";n.d(t,{n:function(){return m}});var r=n(85893),i=n(34588),l=n(25675),s=n.n(l),o=n(41664),c=n.n(o),a=n(67294),u={src:"/kredity/assets/_next/static/media/background-image.343f2236.svg",height:270,width:435,blurWidth:0,blurHeight:0},d={src:"/kredity/assets/_next/static/media/hand-image.f4773fa4.svg",height:295,width:242,blurWidth:0,blurHeight:0},_=n(54663),f=n(39918),h=n(94020),g=n(12261),v=n(30748),p=n.n(v);let m=(0,a.memo)(e=>{let{url:t,text:n,mainPageUrl:l}=e,o=!(0,h.V)("lg"),a=(0,g.sD)(t);return(0,r.jsx)("section",{id:_.dM,className:p().wrapper,children:(0,r.jsxs)("div",{className:p().container,children:[(0,r.jsxs)("div",{className:p().content,children:[(0,r.jsx)("h3",{className:p().title,children:"Не подходит предложение?"}),(0,r.jsxs)("div",{className:p().textBlock,children:[(0,r.jsx)("p",{className:p().text,children:n}),a?(0,r.jsx)(i.zx,{rel:"nofollow",as:"a",className:p().button,variant:"purple",href:t,target:"_blank",onClick:()=>(0,f.D)({eventCategory:l,eventAction:f.i.button,eventActionText:"Подробнее",eventLabel:t}),children:"Подробнее"}):(0,r.jsx)(c(),{href:t,children:(0,r.jsx)(i.zx,{className:p().button,variant:"purple",onClick:()=>(0,f.D)({eventCategory:l,eventAction:f.i.button,eventActionText:"Подробнее",eventLabel:t}),children:"Подробнее"})})]}),!o&&(0,r.jsx)(s(),{className:p().icon,width:242,height:295,alt:"иконка",src:d})]}),(0,r.jsx)(s(),{className:p().backgroundImage,width:436,height:o?270:468,alt:"иконка",src:u})]})})});m.displayName="RedirectToLogin"},65618:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,t=null;return n=>{t&&clearInterval(t),t=setTimeout(n,e)}}},63781:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});let r=e=>["а","е","ё","и","о","у","ы","э","ю","я"].indexOf(e)>=0,i=e=>e&&e.length?"в"!==e[0].toLowerCase()&&"ф"!==e[0].toLowerCase()||r(e[1])?"в":"во":""},86605:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(67294);let i=()=>{let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{document.referrer.length&&t(document.referrer)},[]),e};var l=n(54228);function s(e){let{bannersTitle:t,queryParams:n,stores:r}=e,s=(0,l.S0)(),o=i(),c=(o?[...n,"referer=".concat(o)]:n).join("&");return t.reduce((e,t)=>{let n=null==r?void 0:r.find(e=>e.title===t);return n?{...e,[t]:(s?null==n?void 0:n.url_mobile:null==n?void 0:n.url_desktop)+(c.length?"?"+c:"")}:e},{})}},24178:function(e,t,n){"use strict";n.d(t,{i:function(){return j}});var r,i=n(85893),l=n(86010),s=n(67294),o=n(59457),c=n(39918),a=n(40741),u=n(41664),d=n.n(u),_=n(68103),f=n.n(_);function h(e){let{config:t,hidden:n,useLink:r,iconOnly:s}=e,{value:o,label:c,color:a,icon:u,onChipClick:_}=t,h=()=>u?s?(0,i.jsx)(u,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u,{})," ",c]}):c,g=e=>(0,i.jsx)("div",{className:(0,l.Z)(f().button,f()[a],e),onClick:_?()=>_(o):void 0,children:(0,i.jsx)("div",{className:f().label,children:h()})}),v=(0,l.Z)({[f().hidden]:n});return r?(0,i.jsx)(d(),{className:(0,l.Z)(f().link,v),href:o,onClick:e=>e.preventDefault(),children:g()}):g(v)}var g=n(54228);function v(e){let{items:t,visibleCount:n,useLinks:r,iconsOnly:l}=e,s=(0,g.cb)();return(0,i.jsx)(i.Fragment,{children:t.map((e,t)=>{var o;return(0,i.jsx)(h,{config:e,useLink:null!==(o=e.useLink)&&void 0!==o?o:r,iconOnly:!s&&l,hidden:t>n},e.label)})})}let p=e=>{let[t,n]=(0,s.useState)(0),[r,i]=(0,s.useState)(0),l=(0,s.useRef)(null),o=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=l.current;if(!e)return;let t=new ResizeObserver(e=>{let t=e[0];if(t){let{width:e}=t.contentRect,s=0,c=0,a=Array.from(t.target.children);for(let t=0;t<a.length;t++){var r,l;if((s+=a[t].offsetWidth+12)<=e-(null!==(l=null===(r=o.current)||void 0===r?void 0:r.offsetWidth)&&void 0!==l?l:0))i(t),c=t;else{n(c);break}}}});return t.observe(e),()=>{t.unobserve(e)}},[t,r,e]),[r,t,l,o,12]};var m=n(41753),x=n.n(m);function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var w=function(e){return s.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:12,height:6,fill:"none",viewBox:"0 0 12 6"},e),r||(r=s.createElement("path",{fill:"currentColor",d:"M11.663.28a1.25 1.25 0 0 0-.802-.28c-.301 0-.59.1-.803.28l-4.086 3.4-4.03-3.4A1.25 1.25 0 0 0 1.139 0C.84 0 .55.1.337.28a1 1 0 0 0-.25.312.83.83 0 0 0 0 .739 1 1 0 0 0 .25.312l4.826 4.073q.161.136.37.21a1.32 1.32 0 0 0 .876 0 1.2 1.2 0 0 0 .37-.21l4.884-4.073a1 1 0 0 0 .25-.312.83.83 0 0 0 0-.74 1 1 0 0 0-.25-.312"})))};function j(e){let{chips:t,useLinkChips:n=!1,iconsOnly:r=!1,onParamsClick:u}=e,d=(0,g.cb)(),[_,f]=(0,s.useState)(!1),h=[{value:"filter",label:"Все фильтры",color:"default",icon:o.Z,useLink:!1,onChipClick:u},...t],m=_?"Свернуть":"Ещё",[b,j,y,k,N]=p(h.length);return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{ref:y,className:(0,l.Z)(x().row,{[x().open]:d&&_}),style:{gap:N},children:[(0,i.jsx)(v,{items:h,visibleCount:d&&!_?b:h.length-1,iconsOnly:r,useLinks:n}),d&&!!j&&j<h.length-1&&(0,i.jsxs)("div",{ref:k,className:(0,l.Z)(x().toggle,{[x().open]:_}),onClick:()=>{(0,c.D)({eventAction:c.i.button,eventActionText:(0,a.b)(m)}),f(e=>!e)},children:[m," ",(0,i.jsx)(w,{})]})]})})}},22584:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var r=n(85893),i=n(86010),l=n(24178),s=n(19813),o=n.n(s);function c(e){let{chips:t,onParamsClick:n}=e;return(0,r.jsx)("div",{className:(0,i.Z)(o().wrap,o().newLayout),children:(0,r.jsx)("div",{className:o().top_row,children:(0,r.jsx)("div",{className:o().chips_row,children:(0,r.jsx)(l.i,{chips:t,onParamsClick:n,iconsOnly:!0})})})})}c.displayName="SmallFilter"},62637:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(67294);function i(){let e=(0,r.useRef)(null),[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current)return;let t=new IntersectionObserver(e=>{let[t]=e;n(!t.isIntersecting)},{threshold:[.01],rootMargin:"-3px 0px 100% 0px"});return t.observe(e.current),()=>t.disconnect()},[]),{ref:e,isSticky:t}}},86992:function(e,t,n){"use strict";n.d(t,{P:function(){return c}});var r=n(85893),i=n(34588),l=n(86010),s=n(65989),o=n.n(s);let c=e=>(0,r.jsx)(i.Rn,{unit:"₽",decimals:"never",size:"m",withoutControls:!0,...e,className:(0,l.Z)(e.className,o().input)})},76063:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var r=n(85893),i=n(86010),l=n(46463),s=n(72194),o=n.n(s);function c(e){let{rows:t,columns:n,className:s}=e;return(0,r.jsx)("div",{className:(0,i.Z)(o().container,s),children:(0,r.jsxs)("table",{className:o().table,children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:n.map(e=>(0,r.jsx)("th",{children:e},e))})}),(0,r.jsx)("tbody",{children:t.map(e=>{let{id:t,logo:n,name:i,cells:s}=e;return(0,r.jsxs)("tr",{children:[(0,r.jsxs)("td",{children:[(0,r.jsx)(l.D,{url:n,size:25,mobileSize:20,alt:i,rounded:!0}),i]}),s.map((e,t)=>(0,r.jsx)("td",{children:e},t))]},t)})})]})})}},38919:function(e,t,n){"use strict";function r(e,t){return e.reduce((e,n)=>(e[n[t]]=n,e),{})}n.d(t,{g:function(){return r}})},30748:function(e){e.exports={content:"RedirectToLogin_content__LP3oF",title:"RedirectToLogin_title__giAmT",wrapper:"RedirectToLogin_wrapper__sp_aL",container:"RedirectToLogin_container__oRs3Q",backgroundImage:"RedirectToLogin_backgroundImage__k5_j2",textBlock:"RedirectToLogin_textBlock__EONov",text:"RedirectToLogin_text__OW6mv",button:"RedirectToLogin_button__jN7fd",icon:"RedirectToLogin_icon__NbFJA"}},83226:function(e){e.exports={title:"RegionTitle_title__ouhKs",link:"RegionTitle_link__r_rJV",titleWrapper:"RegionTitle_titleWrapper__yuBaG",newTitle:"RegionTitle_newTitle__SeVuV",subtitle:"RegionTitle_subtitle__T8Ha1"}},68103:function(e){e.exports={link:"styles_link__IVNhF",button:"styles_button__8Y7Nb",black:"styles_black__AeSKw",label:"styles_label__XyMU_",hidden:"styles_hidden__JUJEp"}},41753:function(e){e.exports={row:"styles_row__foNTI",open:"styles_open__8DaSQ",firstRow:"styles_firstRow__ytbon",toggle:"styles_toggle__3Zn8B",filter_icon:"styles_filter_icon__5eS34"}},19813:function(e){e.exports={wrap:"styles_wrap__At5cj",newLayout:"styles_newLayout__pIG1W",top_row:"styles_top_row__Ua6iT",chips_row:"styles_chips_row__gSGJd",top_row_content:"styles_top_row_content__hy0rr"}},65989:function(e){e.exports={input:"styles_input__w_sHM"}},72194:function(e){e.exports={container:"faq-offers_container__na7MQ",table:"faq-offers_table__1Wp3v"}}}]);