(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2164],{2515:e=>{e.exports={button:"MainButton_button__FCI2Y",buttonLink:"MainButton_buttonLink__Xw6WW",buttonIcon:"MainButton_buttonIcon__E_yD6"}},18345:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var l=n(37876),a=n(14232),i=n(83188),r=n(87162),o=n(5153),s=n(40946),c=n(62728);let u=(0,a.memo)(e=>{var t,n,u;let{data:d,bank:p,pageUrl:m,className:_,withoutFullInfoLink:f}=e,g={logoMobile:null==p?void 0:p.logo_mob,description:null==p?void 0:p.short_description,url:"/banki/".concat(null==p?void 0:p.url),name:null==p?void 0:p.name,creditRating:null==p?void 0:p.credit_rating,netAssetsPlace:null==p||null==(t=p.ratings)?void 0:t.net_assets_place,netProfitRating:null==p?void 0:p.net_profit_rating,license:null==p?void 0:p.license,licenseDate:null!=(n=null==p?void 0:p.license_date)?n:void 0},{tabsContent:h,tabsList:v}=(e=>{let{data:t}=e,n=(0,a.useMemo)(()=>(0,o.pS)(t),[t]),l=(0,a.useMemo)(()=>s.D.filter(e=>n[e.name].some(e=>(0,c.a)(e.value))),[n]);return{tabsContent:n,tabsList:l}})({data:d});return(0,l.jsx)(i.H,{className:_,scrollBlockId:r.uB,pageUrl:m,seoText:(null==d?void 0:d.short_description)&&(null==d?void 0:d.short_description.length)>5?null==d?void 0:d.short_description:void 0,title:"О кредите",offerUpdateData:null==d?void 0:d.m_updated_at,bank:g,tabsList:v,tabsContent:h,aboutCompanyLabel:"О банке",site:null!=(u=null==p?void 0:p.site.title)?u:void 0,withoutFullInfoLink:f})});u.displayName="CreditAbout"},31339:e=>{e.exports={page:"CreditsDetail_page__xr76u",breadcrumbs:"CreditsDetail_breadcrumbs__YIK6Z",list:"CreditsDetail_list__GM2Lp",settings:"CreditsDetail_settings__yAHPK",faqSection:"CreditsDetail_faqSection__cdO8j",supportSection:"CreditsDetail_supportSection__bW6de",pickerSection:"CreditsDetail_pickerSection__hz_ol"}},32272:e=>{e.exports={title:"CreditHowApplyLoanSteps_title__2Pj7q",container:"CreditHowApplyLoanSteps_container__WOS_3",ebaniText:"CreditHowApplyLoanSteps_ebaniText__wbY2K",sliderContainer:"CreditHowApplyLoanSteps_sliderContainer__QD7FO",bannerCard:"CreditHowApplyLoanSteps_bannerCard__tec9j",badge:"CreditHowApplyLoanSteps_badge__JJpHU",text:"CreditHowApplyLoanSteps_text__F5ALs"}},32436:(e,t,n)=>{"use strict";n.d(t,{D:()=>d,Y:()=>u});var l=n(37876),a=n(48230),i=n.n(a),r=n(49995),o=n(36622),s=n.n(o);let c={PLATFORM_RULES:{url:"https://assets.finuslugi.ru/mp-assets/application-platform-rules.pdf",text:"pravilam_platformy"},APPLICATION_PLATFORM_RULES:{url:"https://assets.finuslugi.ru/mp-assets/platform-rules.pdf",text:"zayavlenie_o_prisoedinenii"},USER_AGREEMENT:{url:"https://assets.finuslugi.ru/mp-assets/user-agreement.pdf",text:"polzovatelskim_soglasheniem"},AGREEMENT_PERSONAL_DATA:{url:"https://assets.finuslugi.ru/mp-assets/agreement-personal-data.pdf",text:"soglasie_na_obrabotku_personalnyh_dannyh"}};var u=function(e){return e.blue="blue",e.grey="var(--color-black-300)",e.purple="var(--color-purple-600)",e}({});let d=e=>{let{className:t,onLinkClick:n,linkColor:a="blue",startText:o="Регистрируясь через Госуслуги"}=e;return(0,l.jsxs)("div",{style:{"--link-color":a},className:(0,r.A)(s().agreementBlock,t),children:[o,", вы подписываете своей электронной подписью"," ",(0,l.jsx)(i(),{target:"_blank",className:s().link,href:c.APPLICATION_PLATFORM_RULES.url,onClick:()=>null==n?void 0:n(c.APPLICATION_PLATFORM_RULES),children:"Заявление о присоединении"})," ","к"," ",(0,l.jsx)(i(),{target:"_blank",className:s().link,href:c.PLATFORM_RULES.url,onClick:()=>null==n?void 0:n(c.PLATFORM_RULES),children:"Правилам платформы"})," ","и"," ",(0,l.jsx)(i(),{target:"_blank",className:s().link,href:c.AGREEMENT_PERSONAL_DATA.url,onClick:()=>null==n?void 0:n(c.AGREEMENT_PERSONAL_DATA),children:"Согласие на обработку персональных данных"}),", a также соглашаетесь с"," ",(0,l.jsx)(i(),{target:"_blank",className:s().link,href:c.USER_AGREEMENT.url,onClick:()=>null==n?void 0:n(c.USER_AGREEMENT),children:"Пользовательским соглашением"})]})}},36622:e=>{e.exports={agreementBlock:"EsiaAgreement_agreementBlock__5WEss",link:"EsiaAgreement_link__NDpUV"}},40946:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,M:()=>a});var l=n(5153);let a=n(37105).h.POTREBITELSKIE,i=[{id:1,label:"Условия",name:l.c$.conditions},{id:2,label:"Требования",name:l.c$.requirements},{id:3,label:"Погашения",name:l.c$.redemption},{id:4,label:"Каналы погашения",name:l.c$.repaymentChannels}]},47266:(e,t,n)=>{"use strict";n.d(t,{e5:()=>l,j5:()=>i,lD:()=>a});let l=["Каналы погашения","Как я получу свои деньги?","Могу ли я получить предварительное одобрение в одном банке?","Может ли банк в итоге отказать мне в кредите, если предварительно его одобрил?","Как я узнаю, что банк одобрил мне кредит?"],a=["Могу ли я получить предварительное одобрение в одном банке?","Как повысить кредитный рейтинг?"],i=102},48900:e=>{e.exports={offers:"styles_offers__GZ00j"}},50300:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>ni,default:()=>nr});var l,a,i=n(37876),r=n(14232),o=n(74055),s=n(33126);n(81136),n(62862);var c=n(81202);n(37397);var u=n(48230),d=n.n(u),p=n(20988),m=n(10027),_=n(16891),f=n(31655),g=n(62576),h=n(47266),v=n(18345),b=n(54587),x=n.n(b),C=n(87162);let y={src:"/kredity/assets/_next/static/media/banner-1.6590dcb3.svg",height:230,width:300,blurWidth:0,blurHeight:0},k={src:"/kredity/assets/_next/static/media/banner-2.4e5dff1a.svg",height:208,width:301,blurWidth:0,blurHeight:0},j={src:"/kredity/assets/_next/static/media/banner-7.8a2298b9.svg",height:230,width:301,blurWidth:0,blurHeight:0};var E=n(5552),T=n(32272),A=n.n(T);let N=[{id:1,image:{src:"/kredity/assets/_next/static/media/banner-3.adc4440a.svg",height:208,width:300,blurWidth:0,blurHeight:0},text:"Выберите кредит на витрине Финуслуг и нажмите \xabВойти через Госуслуги\xbb"},{id:2,image:k,text:"Привяжите Госуслуги и подтвердите документы через Тинькофф ID или у представителя Финуслуг"},{id:3,image:j,text:"Отправьте заявку на кредит.\xa0Деньги будут переведены банком на кошелёк Финуслуг"},{id:4,image:y,text:"Вывести деньги к себе на счет в любом банке можно без комиссий через СБП"}],S=[{id:1,image:k,text:"Войдите на Финуслуги с помощью своего аккаунта Госуслуг"},{id:2,image:j,text:"Заполните кредитную заявку и введите промокод FIN23 в поле для промокода"},{id:3,image:{src:"/kredity/assets/_next/static/media/banner-6.ecb80fa6.svg",height:208,width:301,blurWidth:0,blurHeight:0},text:"Отправьте одну заявку в разные банки, чтобы получить несколько предложений и выбрать выгодное"},{id:4,image:y,text:"Дождитесь звонка или СМС от банка и выберите офис для получения кредита. Получите кредит"}],L=(0,r.memo)(e=>{let{offerType:t,bankName:n=""}=e,l=(0,E.sw)(),a=t===c._.PLATFORM?N:S;return(0,i.jsxs)("section",{id:C.Z5,className:A().container,children:[(0,i.jsxs)("h2",{className:A().title,children:[(0,i.jsxs)("span",{children:["Как оформить кредит в ",n]})," ",(0,i.jsx)("span",{className:A().ebaniText,children:"Финуслугах"})]}),(0,i.jsx)("div",{className:A().sliderContainer,children:(0,i.jsx)(p.Ap,{navigation:!l,navigationPlacement:"outside",navigationSize:"m",navigationVariant:"primary",options:{slidesPerView:l?1:3,spaceBetween:l?16:32,centeredSlides:l},pagination:!0,children:a.map(e=>(0,i.jsxs)(p.DQ,{className:A().bannerCard,children:[(0,i.jsxs)("span",{className:A().badge,children:["Шаг ",e.id]}),(0,i.jsx)("p",{className:A().text,children:e.text}),(0,i.jsx)(x(),{width:300,height:208,alt:"banner"+e.id,src:e.image})]},e.id))})})]})});L.displayName="CreditHowApplyLoanSteps";var w=n(25904),P=n(49995),I=n(30557);let O={src:"/kredity/assets/_next/static/media/app-qr-credits-detail.824367b9.svg",height:256,width:256,blurWidth:0,blurHeight:0};var M=n(14082),R=n(5219),B=n(53244),F=n(32436),U=n(52841),K=n(63292),D=n(95655),H=n(37105),V=n(31257),q=n(83024),W=n(2515),z=n.n(W);let Z={[c._.PLATFORM]:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x(),{src:D.A,alt:"",className:z().buttonIcon})," Войти через Госуслуги"]}),[c._.REFERAL]:"Оформить на сайте банка",[c._.UNPLATFORM]:"Оформить кредит",[c._.MASS]:"Подобрать кредит"},G={[c._.UNPLATFORM]:"Oformit onlayn",[c._.REFERAL]:"Oformit na sayte banka",[c._.MASS]:"oformit_online_seo"},Y=(0,r.memo)(e=>{let{href:t,offerType:n,creditId:l}=e,a=(0,q.fH)();return(0,i.jsx)(p.$n,{rel:"nofollow sponsored",as:"a",href:t,target:"_blank",className:z().button,onClick:()=>{n!==c._.PLATFORM&&(0,V._)({customerId:a,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.button,eventActionText:G[n],eventLabel:l,url:t})},children:Z[n]})});Y.displayName="MainButton";var J=n(79807),$=n(35415),Q=n(21754),X=n(89064),ee=n(63921),et=n(53172),en=n(92568),el=n.n(en);let ea=e=>{var t,n,l;let{offerType:a,bannerUrl:o,bank:s,credit:u,isMobile:d,calculator:m}=e,f=(0,q.fH)(),[g,h]=(0,r.useState)(!1),{amount:v,periodValue:b,paymentTypeOptions:x,paymentTypeValue:y,periodMax:k,periodMin:j,tag:E,repayment:T,amountMax:A,amountMin:N,url:S,handleChangeAmount:L,handleChangePeriod:D,setPaymentTypeValue:W}=m,z=(0,ee.o)(S),Z=(null==(t=y[0])?void 0:t.value)===c.w.differentiated?c.w.differentiated:c.w.annuity,G=(0,$.l5)(b),en=(0,r.useRef)(null),ea=(0,r.useRef)(null),ei=((e,t,n)=>t&&e<t?"Минимальная сумма - ".concat((0,J.ZV)(t)," ₽"):n&&e>n?"Максимальная сумма - ".concat((0,J.ZV)(n)," ₽"):void 0)(v,N,A),er=(0,r.useMemo)(()=>({values:b,max:k,min:j===k?j-1:j,onChange:e=>{e=null!=e?e:j,j!==k&&D(e)},step:1,ticks:[{label:(0,$.Hb)(j),value:j},{label:(0,$.Hb)(k),value:k}],unit:[X.U9.ONE,X.U9.FEW,X.U9.MANY]}),[D,k,j,b]),eo=(0,r.useMemo)(()=>[{id:1,label:G},{id:2,label:"".concat(v||"1 ₽")}],[v,G]),es=(0,r.useCallback)(()=>{var e;d&&en.current&&(h(!0),(0,V._)({customerId:f,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.popup,eventActionText:"edit_settings"}),setTimeout(()=>{en.current&&(0,et.e)(en.current,{position:"top"})},300)),d||null==(e=ea.current)||e.focus()},[d,f]),ec=(0,r.useCallback)(e=>{e&&((0,V._)({customerId:f,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.filterCatalog,eventLabel:"Порядок погашения",eventValue:e.label}),W([e]))},[W,f]),eu=(0,r.useMemo)(()=>{let e=new Date;e.setDate(e.getDate()+3);let t=e.getDate(),n=e.getMonth()+1,l=e.getFullYear();return"Сможете получить до ".concat(t," ").concat((0,Q.F)("".concat(n,"-").concat(t,"-").concat(l)))},[]),ed=(0,r.useMemo)(()=>{let e=[],t=u.full_price;if(t){let n=u.interest_rate;e.push({label:"ПСК",value:(0,I.o)(t),description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."},{label:"Процентная ставка",value:(0,J.sP)(Number(n.from),Number(n.to))})}e.push({label:"Срок",value:"".concat((0,$.l5)(b))});let n=x.length>1?Z:null;return n&&e.push({label:"Платеж",value:n===c.w.annuity?"Аннуитетный":"Дифференцированный",description:(0,i.jsx)("div",{className:el().tooltipContent,children:(0,i.jsx)(B.q,{type:n})})}),e},[x.length,Z,u.full_price,u.interest_rate,b]),ep=a===c._.MASS||a===c._.REFERAL?"Где оформить кредит":"Как оформить кредит";return(0,i.jsxs)(_.J,{className:(0,P.A)(el().container,el().containerFull),children:[(e=>{var t,n;return(0,i.jsx)(U.E,{url:u.url,bank:{logoMob:null==s?void 0:s.logo_mob,url:"/banki/".concat(null==s?void 0:s.url),name:null!=(t=null==s?void 0:s.name)?t:u.bank_name},pageUrl:H.h.POTREBITELSKIE,title:"Кредит \xab".concat(u.title,"\xbb от ").concat(null!=(n=null==s?void 0:s.name)?n:u.bank_name),isMobile:d,isSmall:e,tagTheme:"purple",className:el().promo})})(),(0,i.jsxs)("div",{className:el().left,children:[(0,i.jsx)(M.t,{isMobile:!!d,title:"Настройки кредита",pageUrl:H.h.POTREBITELSKIE,infoLink:{isShow:!d,text:"Подробнее о кредите",idScrollBlock:C.uB,offPadding:!0,widthMaxContent:!0},items:[{elements:[{type:"moneyInput",props:{label:"Сумма",value:v,inputRef:ea,onChange:e=>{(0,V._)({customerId:f,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.filterCatalog,eventLabel:"Сумма",eventValue:String(e)}),L(e)},caption:ei,state:ei?"error":void 0,size:"l"}}]},(null==(n=y[0])?void 0:n.value)?{elements:[{type:"inputRange",props:{label:"Срок погашения",...er}}]}:null,{elements:[{type:"select",isHidden:!y||x.length<=1,desription:(0,i.jsx)(B.q,{className:el().typeDescription,type:null==(l=m.paymentTypeValue[0])?void 0:l.value}),props:{label:"Порядок погашения",options:x,onChange:ec,value:y,size:"l"}}]}],chips:eo,isShowChips:d&&!!(null==eo?void 0:eo.length)&&!g,isExpandSettings:g,onToggleSettings:()=>h(e=>!e)}),(0,i.jsx)(K.P,{qr_image:O,bannerUrl:o,isSmall:!0,className:el().qrDesc})]}),(0,i.jsxs)("div",{className:el().right,children:[(0,i.jsx)(R.r,{captionTitle:eu,pageUrl:H.h.POTREBITELSKIE,onEdit:es,amount:v,disclaimer:"Предварительные условия. Не оферта",tag:E,repayment:T,footerActions:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Y,{href:z,offerType:a,creditId:u.id}),(0,i.jsx)(p.$n,{variant:"secondary",className:el().button,onClick:()=>(e=>{let t=a===c._.MASS||a===c._.REFERAL?C.ov:C.Z5;(0,V._)({customerId:f,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.button,eventActionText:e}),(0,et.e)(t,{offset:d?0:-100,position:"top"})})(ep),children:ep}),(0,i.jsx)(p.$n,{variant:"purple",appearance:"ghost",size:"s",label:"Не подходит предложение?",className:el().adviceLink,iconRight:(0,i.jsx)(w.IconFdsArrowUpRightSmallO,{}),onClick:()=>{(0,V._)({customerId:f,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.button,eventActionText:"Не подходит предложение"}),(0,et.e)(C.yB,{offset:d?0:-100,position:"top"})}})]}),agreement:a===c._.PLATFORM&&(0,i.jsx)(F.D,{onLinkClick:e=>{let{url:t,text:n}=e;(0,V._)({customerId:f,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.link,eventActionText:n,url:t})}}),valuesList:ed}),(0,i.jsx)(K.P,{qr_image:O,bannerUrl:o,isSmall:!0,className:el().qrMobile})]})]})};var ei=n(40419),er=n(19419),eo=n(13394),es=n(40946),ec=n(96759),eu=n(51451),ed=n(2510),ep=n(92666),em=n(71348),e_=n.n(em);let ef=(0,r.memo)(e=>{let{bank:t,banks:n,currentCreditId:l,offers:a,offersFinuslugi:o,className:c}=e,u=(0,q.fH)(),{town:d,region:p}=(0,ep.z)(),[m,f]=(0,r.useState)(),h=(0,r.useCallback)(()=>{f(void 0)},[]),v=(0,r.useCallback)(e=>{(0,V._)({customerId:u,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.link,eventActionText:e.title,eventLabel:e.id,url:e.url})},[u]),b=(0,r.useMemo)(()=>{let e=a?a.filter(e=>e.id!==l):[];return(0,ec.q)({productList:e,anotherList:e,count:g.gx})},[a,l]),x=(0,r.useMemo)(()=>{let e=null!=o?o:[];return(0,ec.q)({productList:e,anotherList:e,count:g.a0-b.length})},[b.length,o]),y=(0,r.useMemo)(()=>({bankList:b.map(e=>(0,eu.q)({banks:[t],credit:e,isPlatform:!0})),finuslugiList:x.map(e=>(0,eu.q)({banks:n,credit:e,isPlatform:!0}))}),[t,n,b,x]),k=(0,r.useCallback)(e=>{if(!e)return;let t=[b,x].reduce((e,t)=>[...e,...t],[]).find(t=>t.id===e.id);if(t){var n,l;return{...t,site:{...e.site},bankName:e.bankName,detailUrl:null!=(n=e.detailUrl)?n:"",logo:e.logo,url:null!=(l=e.url)?l:""}}},[b,x]),j=(0,r.useCallback)(e=>{f(k(e)),e&&(0,V._)({customerId:u,eventCategory:H.h.POTREBITELSKIE,eventAction:V.y.popup,eventActionText:e.title,eventLabel:e.id})},[k,u]),E=void 0!==p?"/".concat(ed.s6).concat(p.url).concat(void 0!==d?"/".concat(d.url):""):"",T="".concat((0,s.UK)().mainBaseUrl,"/banki/").concat(t.url,"/potrebitelskie_kredity").concat(E);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("section",{id:C.cA,className:(0,P.A)(e_().container,c),children:[(0,i.jsx)("h3",{className:e_().title,children:"Другие кредитные предложения"}),(0,i.jsxs)(_.J,{children:[!!y.bankList.length&&(0,i.jsxs)("section",{className:e_().offersListContainer,children:[(0,i.jsxs)("p",{className:e_().listTitle,children:["Кредиты онлайн от ",t.name]}),y.bankList.map(e=>(0,i.jsx)(r.Fragment,{children:(0,i.jsx)(er.G,{className:e_().listItem,data:e,eventCategory:es.M,text:"Подать заявку",onDetailInfoClick:j,onClick:v},e.url)},e.id)),(0,i.jsx)(ei.e,{offPadding:!0,text:"Bсе предложения от банка",href:T,target:"_blank",iconColor:"light",mainPageUrl:H.h.POTREBITELSKIE})]}),!!y.finuslugiList.length&&(0,i.jsxs)("section",{className:e_().offersListContainer,children:[(0,i.jsx)("p",{className:e_().listTitle,children:"Кредиты онлайн на Финуслугах"}),y.finuslugiList.map(e=>(0,i.jsx)(r.Fragment,{children:(0,i.jsx)(er.G,{className:e_().listItem,data:e,eventCategory:es.M,text:"Подать заявку",onClick:v,onDetailInfoClick:j},e.url)},e.id)),(0,i.jsx)(ei.e,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"/potrebitelskie_kredity",target:"_blank",iconColor:"light",mainPageUrl:H.h.POTREBITELSKIE})]})]})]}),(0,i.jsx)(eo.u,{data:m,isOpen:!!m,onClose:h,mainPageUrl:es.M})]})});ef.displayName="CreditsList";var eg=n(26700),eh=n(66295),ev=n(12814),eb=n(99689),ex=n(92152),eC=n(14873),ey=n(39954),ek=n(98560),ej=n.n(ek);let eE=(0,r.memo)(e=>{let{bannerUrl:t,bankUrl:n,offerType:l,urlGivingCredit:a}=e,o=(0,E.sw)(),u=(0,ey.P)(),{lkBaseUrl:d}=(0,s.UK)(),p=(0,r.useMemo)(()=>[{id:4,image:eb.A,text:"Перейдите на сайт банка, чтобы оформить заявку",buttonText:"Оформить на сайте банка",link:n,types:[c._.REFERAL]},{id:1,image:eg.A,text:l===c._.REFERAL?"Этот кредит сейчас нельзя открыть через&#160;Финуслуги":"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Посмотреть кредиты на Финуслугах",link:"/potrebitelskie_kredity",types:[c._.REFERAL]},{id:6,image:eg.A,text:"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Подобрать кредит",link:a,types:[c._.MASS]},{id:2,image:eh.A,text:"Чтобы оформить кредит, обратитесь&#160;в банк",link:"",types:[c._.MASS]},{id:3,image:ev.A,text:"Оформите кредит на сайте <br /> Финуслуг",buttonText:"Оформить через Финуслуги",link:"".concat(d,"/registration?returnTo=%2Fcredits%2Fnew%3FskipName%3Dtrue%26registrationMode%3Dphone"),types:[c._.PLATFORM,c._.UNPLATFORM]},{id:5,image:ex.A,text:"В мобильном приложении <br /> Финуслуг",buttonText:"Скачать приложение",types:[c._.PLATFORM,c._.UNPLATFORM],link:t}].filter(e=>e.types.find(e=>e===l)&&!(e.link===t&&u)),[n,t,u,d,l,a]);return(0,i.jsx)("div",{className:ej().container,children:(0,i.jsx)(eC.N,{title:"Где оформить кредит",pageUrl:H.h.POTREBITELSKIE,id:C.ov,isMobile:o,slides:p,offerType:l})})});eE.displayName="CreditWhereApplyLoanSteps";var eT=n(89099);let eA=(e,t,n)=>{if(!e)return t/n;let l=e/12/100;return l*(1+l)**n/((1+l)**n-1)*t},eN=(e,t,n)=>e?t/n+e/12/100*t:t/n,eS=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let l=e/12/100;return{amount:t/(l*(1+l)**n/((1+l)**n-1)),payment:t}},eL=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let l=e/12/100,a=t/(l+1/n);return{amount:a,payment:t/(n*l+1)+a*l}};var ew=n(75464),eP=n(37264),eI=n(99388),eO=n(91063),eM=n(75027),eR=n(30228),eB=n(36598),eF=n(9837),eU=n(66460),eK=n(6980),eD=n(80490),eH=n(99275),eV=n(31339),eq=n.n(eV);function eW(e){var t,n;let{offer:l,journal:a,offerType:o,questions:u,description:b,banks:x,refererTag:C,offers:y,offersFinuslugi:k,support:j}=e,T=(0,E.sw)(),A=(0,eR.I)(g.Js),N=(0,eM.I)({bannersTitle:[g.BZ.CREDITS_DETAIL],queryParams:A});(0,eI.eg)(eI.ch.Credit);let S=(e=>{var t,n,l,a,i,o;let s=Number(null!=(a=e.amount.from)?a:1),u=e.amount.to?Number(e.amount.to):null,d=Number(null!=(i=e.period.from)?i:1),p=Number(null!=(o=e.period.to)?o:1),m=e.online_application.commercial_desc,_=(0,r.useRef)(!1),{asPath:f}=(0,eT.useRouter)(),g=+e.interest_rate.from,h=(0,r.useMemo)(()=>{let t=[];return e.repayment_procedure.annuity&&t.push({label:"Аннуитетный",value:c.w.annuity}),e.repayment_procedure.differentiated&&t.push({label:"Дифференцированный",value:c.w.differentiated}),t},[e.repayment_procedure]),[v,b]=(0,r.useState)(s),[x,C]=(0,r.useState)(0),[y,k]=(0,r.useState)(p),[j,E]=(0,r.useState)(0),[T,A]=(0,r.useState)([h[0]]),N=(null==(t=T[0])?void 0:t.value)===c.w.annuity?j*y-v:((e,t,n,l)=>{let a=e/12/100;return(l*a+t-t*a*(n-1)/2)*n-l})(g,j,y,v),S=(0,eP.Ws)(e,(0,eP.WU)(),{amount:String(v),term:y}),L=(null==(n=T[0])?void 0:n.value)===c.w.annuity?eA:eN,w=(null==(l=T[0])?void 0:l.value)===c.w.annuity?eS:eL,P=(0,r.useCallback)(e=>{let t=null!=e?e:0;b(t);let n=L(g,t,y);C(Math.round(n)),E(n)},[L,y,g]),I=(0,r.useCallback)(e=>{k(e);let t=L(g,v,e);C(Math.round(t)),E(t)},[v,L,g]),O=(0,r.useCallback)(e=>{let t=null!=e?e:0;C(t),b(Math.round(w(g,t,y).amount)),E(+t)},[w,y,g]);return(0,r.useEffect)(()=>{if(_.current)return;let t=(0,ew.$)(f,"#"),n=+t.amount,l=+t.period;(!n||isNaN(n))&&(n=3e5),(!l||isNaN(l))&&(l=p),void 0!==e.amount.from&&+e.amount.from>n&&(n=+e.amount.from),e.amount.to&&+e.amount.to<n&&(n=+e.amount.to),l>p&&(l=p),l<d&&(l=d),b(n),k(l);let a=L(g,n,l);C(Math.round(a)),E(a),_.current=!0},[v,f,e.amount.from,e.amount.to,P,L,x,p,d,g]),(0,r.useMemo)(()=>({amount:v,payment:x,periodValue:y,setPeriod:k,paymentTypeOptions:h,paymentTypeValue:T,setPaymentTypeValue:A,rate:g,amountMin:s,amountMax:u,periodMin:d,periodMax:p,tag:m,handleChangeAmount:P,handleChangePeriod:I,handleChangePayment:O,finalPayment:j,repayment:N,url:S}),[v,x,y,h,T,g,s,u,d,p,m,P,I,O,j,N,S])})(l),w=(0,r.useMemo)(()=>x.find(e=>+e.id==+l.bank_id),[x,l.bank_id]),{region:P,town:I}=(0,ep.z)(),O=null==(t=u.find(e=>e.id===h.j5))?void 0:t.questions.filter(e=>h.e5.includes(e.question)).map(e=>({title:e.question,text:e.answer,plainText:(0,eB.NC)(e.answer).trim()})),M="Потребительский кредит \xab".concat(l.title,"\xbb от ").concat(null!=(n=null==w?void 0:w.name_r)?n:"");return(0,i.jsxs)("main",{className:eq().page,children:[(0,i.jsx)(m.I,{productId:String(l.id),title:M,description:null!=b?b:""}),(0,i.jsx)(eU.t,{}),(0,i.jsx)(eF.c,{questions:null!=O?O:[]}),(0,i.jsx)("div",{className:eq().navigationWrapper,children:(0,i.jsx)(_.J,{children:(0,i.jsx)(p.BI,{className:eq().breadcrumbs,items:(()=>{var e;let t=(null==I?void 0:I.name_p)||(null==P?void 0:P.name_p)?" в ".concat((null==I?void 0:I.name_p)||(null==P?void 0:P.name_p)):"",n="".concat((null==P?void 0:P.url)?"/reg_".concat(null==P?void 0:P.url):"").concat((null==I?void 0:I.url)?"/".concat(null==I?void 0:I.url):""),a=[{label:"Главная",href:"/"},{label:"Кредиты".concat(t),href:"/potrebitelskie_kredity".concat(n)}];return C&&a.push({label:"".concat(C.name).concat(t),href:"/potrebitelskie_kredity/teg_".concat(C.url).concat(n)}),a.push({label:"".concat(null!=(e=null==w?void 0:w.name)?e:l.bank_name," Кредит ").concat(l.title)}),a})()})})}),(0,i.jsxs)(_.J,{children:[(0,i.jsx)(ea,{offerType:o,credit:l,isMobile:T,calculator:S,bank:w,bannerUrl:N[g.BZ.CREDITS_DETAIL]}),(0,i.jsx)(v.l,{data:l,bank:w,pageUrl:H.h.POTREBITELSKIE})]}),[c._.PLATFORM,c._.UNPLATFORM].includes(o)&&(0,i.jsx)(L,{offerType:o,bankName:null==w?void 0:w.name_p}),(0,i.jsx)(eE,{bannerUrl:N[g.BZ.CREDITS],bankUrl:l.online_application.url,offerType:o,urlGivingCredit:S.url}),w&&(0,i.jsx)(ef,{bank:w,banks:x,currentCreditId:l.id,offers:y,offersFinuslugi:k}),(0,i.jsx)(f.T,{url:"/master_podbora_kredita",mainPageUrl:es.M,text:"Войдите на Финуслуги и заполните небольшую анкету, а мы подберем для вас несколько кредитов на выбор"}),a.posts.length>0&&(0,i.jsx)(eK.C,{posts:a.posts,eventCategory:H.h.POTREBITELSKIE}),(0,i.jsx)("div",{className:eq().supportSection,children:(0,i.jsx)(eD.E,{value:j})}),(0,i.jsx)("div",{className:eq().faqSection,children:(0,i.jsx)(eH.m,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,i.jsx)(d(),{...e}),dataLayerPush:eO.o,questions:O,eventCategory:"credits_support_block",href:"".concat((0,s.UK)().mainBaseUrl,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"})})]})}var ez=n(80505);n(34711);var eZ=n(28131);n(37071),n(81787);var eG=n(23857);n(7455);let eY=e=>{let{banks:t,offer:n,offerType:l,journal:a,questions:r,description:o,layout:s,refererTag:c,offers:u,offersFinuslugi:d,support:p}=e;return(0,i.jsx)(eG.P,{data:s,children:(0,i.jsx)(eW,{creditTag:null,offerType:l,questions:r,offer:n,journal:a,description:o,banks:t,refererTag:c,fetchFromNewApi:!1,offers:u,offersFinuslugi:d,support:p})})};n(17154),n(13126);var eJ=n(84266),e$=n(74153),eQ=n.n(e$);let eX=e=>{let{inRegion:t,bestOffers:n}=e;return n.length?(0,i.jsxs)("div",{className:eQ().bestOffers,children:[(0,i.jsxs)("h2",{className:eQ().title,children:["Лучшие предложения по кредитам ",t]}),(0,i.jsx)("div",{className:eQ().content,children:(0,i.jsx)("div",{className:eQ().contentInner,children:(0,i.jsx)("div",{className:eQ().list,children:n.map(e=>(0,i.jsx)(e0,{...e},e.id))})})})]}):null},e0=e=>{let{url:t,logo:n,topCardAdvantage:l,bottomCardAdvantage:a,bankName:r,id:o,description:s}=e;return(0,i.jsxs)("div",{className:eQ().card,children:[(0,i.jsxs)("div",{className:eQ().cardHeading,children:[(0,i.jsx)("div",{className:eQ().cardIcon,children:(0,i.jsx)(x(),{width:56,height:56,src:n,alt:"logo"})}),(0,i.jsxs)("div",{className:eQ().cardHeadingContent,children:[(0,i.jsx)("p",{className:eQ().cardHeadingSubtitle,children:r?s:""}),(0,i.jsx)("p",{className:eQ().cardHeadingTitle,children:r||s})]})]}),(0,i.jsxs)("div",{className:eQ().cardAdvantage,children:[(0,i.jsx)("div",{className:eQ().captionWrapper,children:(0,i.jsx)("p",{className:eQ().cardAdvantageTitle,children:l.title})}),(0,i.jsx)("p",{className:eQ().cardAdvantageValue,children:l.value})]}),(0,i.jsxs)("div",{className:eQ().cardAdvantage,children:[(0,i.jsx)("p",{className:eQ().cardAdvantageTitle,children:a.title}),(0,i.jsx)("p",{className:eQ().cardAdvantageValue,children:a.value})]}),(0,i.jsx)(p.$n,{as:"a",className:eQ().cardBtn,href:t,children:"Подробнее"})]},o)};var e1=n(25972),e6=n(9507),e2=n(62835),e3=n(87768),e5=n(3010),e8=n(40818),e4=n(24523),e7=n(25167),e9=n(87087),te=n(47052),tt=n(87057),tn=n(86601),tl=n(75289),ta=n.n(tl);let ti=(0,e4.O)(),tr=(0,e4.O)(),to=e=>{var t,n,l;let{terms:a,filter:o,isMobile:s,banksOptions:c,onChangeFilter:u,onClose:d}=e,m=(0,q.fH)(),_=(0,r.useCallback)(()=>{d(),(0,et.e)(C.cA,{offset:s?0:-140,position:"top"})},[d,s]),f=(0,r.useCallback)(e=>{"Enter"===e.key&&_()},[_]),g=(0,r.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;ti(()=>{(0,eO.o)({event:"data-event",eventAction:H.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,e9.y)(e8.Be),eventValue:t,customer_id:m})}),u({amount:t})},[u,m]),h=(0,r.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;tr(()=>{(0,eO.o)({event:"data-event",eventAction:H.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,e9.y)(e8.So),eventValue:t,customer_id:m})}),u({payment:t})},[u,m]),v=(e,t)=>n=>{let l=[],a=[];if(Array.isArray(n)){var i;l=null==n?void 0:n.map(e=>{let{value:t}=e;return t}),a=null!=(i=null==n?void 0:n.map(e=>{let{label:t}=e;return t}))?i:[]}else l=n.value,a=[n.label];u({[e]:l}),(0,eO.o)({event:"data-event",eventAction:H.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,e9.y)(t),eventValue:(0,e9.y)(a.join(",")),customer_id:m})},b=e=>{if(o[e])return{value:o[e],label:""}};return(0,i.jsxs)("div",{onKeyDown:f,children:[(0,i.jsxs)("div",{className:ta().fields,children:[(0,i.jsx)(tt.F,{value:o.amount,label:e8.Be,onChange:g,onKeyDown:e=>(0,e7.K)(e,_)}),(0,i.jsx)(tt.F,{value:o.payment,label:e8.So,onChange:h,onKeyDown:e=>(0,e7.K)(e,_)}),(0,i.jsx)(p.l6,{label:"Срок",value:b("period"),options:a,onChange:v("period","Срок")}),(0,i.jsx)(p.l6,{label:"Цель кредита",value:b("purpose"),onChange:v("purpose","Срок"),options:e8.l5}),(0,i.jsx)(p.l6,{label:"Категория заемщика",value:(null==(t=o.borrowers)?void 0:t.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("borrowers","Категория заемщика"),options:e8.PA,multiple:!0}),(0,i.jsx)(p.l6,{multiple:!0,label:"Подтверждение дохода",value:(null==(n=o.incomeProofs)?void 0:n.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("incomeProofs","Подтверждение дохода"),options:e8.eb}),(0,i.jsx)(p.l6,{label:"Гарантия возврата денег",value:b("collateral"),onChange:v("collateral","Гарантия возврата денег"),options:e8.ni}),(0,i.jsx)(p.l6,{label:"Способ получения",value:b("form"),onChange:v("form","Способ получения"),options:e8.fy}),(0,i.jsx)(p.l6,{multiple:!0,label:"Банки",value:(null==(l=o.banks)?void 0:l.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("banks","Банки"),options:c})]}),(0,i.jsx)("div",{className:ta().settings,children:(0,i.jsx)("div",{className:ta().settingsLeftBlock,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("h6",{className:ta().settingsTitle,children:"Сортировать"}),(0,i.jsx)("div",{className:ta().radioGroup,children:e8.s.map(e=>(0,i.jsx)(p.sx,{name:e.field,onChange:()=>{u({sort:e.field}),(0,eO.o)({event:"data-event",eventAction:H.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,e9.y)("Сортировать"),eventValue:(0,e9.y)(e.label),customer_id:m})},checked:e.field===o.sort,className:ta().radio,value:e.field,label:e.label},e.field))})]})})})]})},ts=e=>{let t=(0,q.fH)(),n=(0,te.Y)();(0,r.useEffect)(()=>{e.isOpen&&(0,eO.o)({event:"data-event",eventAction:"show_pop_up_podbor_kredita",eventCategory:H.h.POTREBITELSKIE,customer_id:t})},[e.isOpen,t]);let l=(0,r.useCallback)(()=>{e.onClose(),(0,et.e)(C.cA,{offset:e.isMobile?0:-140,position:"top"})},[e]);return(0,i.jsx)(e5.Z,{children:(0,i.jsx)(e3.K,{isMobile:e.isMobile,isOpen:e.isOpen,onClose:l,onClickReset:()=>e.onDrop(),footerContent:n&&(0,i.jsx)(tn.$,{className:ta().adfox,config:n,params:{pp:"ehod",ps:"foam",p2:"hojk"}}),onCLickShow:()=>{l(),e.onShow()},pageUrl:H.h.POTREBITELSKIE,title:"Все параметры",count:e.offersCount,children:(0,i.jsx)("div",{className:ta().content,children:(0,i.jsx)(to,{...e})})})})};var tc=n(47691),tu=n(54767),td=n(4149);let tp=["nalichnymi","na_1_god","s_zalogom","refinansirovanie","na_kartu","s_plohoj_kreditnoj_istoriej","pod_zalog_nedvizhimosti","bez_spravok"];var tm=n(72080),t_=n(75972),tf=n(69932),tg=n(41771),th=n(48673),tv=n(58885),tb=n.n(tv);function tx(){return(tx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(null,arguments)}let tC=function(e){return r.createElement("svg",tx({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),l||(l=r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h16v16H0z"})))),a||(a=r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{fill:"#4C5058",d:"M8 14.66A6.66 6.66 0 0 1 1.33 8c0-3.69 2.98-6.67 6.67-6.67A6.66 6.66 0 0 1 14.66 8c0 3.68-2.98 6.66-6.66 6.66m0-1.33a5.335 5.335 0 1 0-.01-10.67A5.335 5.335 0 0 0 8 13.33M8.66 8h2.67v1.33h-4V4.66h1.33z"}))))},ty=(0,e4.O)(),tk=(0,e4.O)(),tj=(0,e4.O)(),tE=(0,r.memo)(e=>{let{region:t,heading:n,town:l,filter:a,tag:o,subtitle:c,banksOptions:u,tags:d,isMobile:m,isOpenModal:_,offersCount:f,onFilterChange:g,onFilterApply:h,onModalOpen:v,onModalClose:b}=e,x=(0,q.fH)(),y=(0,E._I)(),k=(0,te.Y)(),{push:j}=(0,eT.useRouter)(),T=(e=>{let t=(0,r.useMemo)(()=>{let t=(0,td.$)(e,"url");return tp.reduce((e,n)=>{let l=t[n];return void 0!==l&&e.push(l),e},[])},[e]);return(0,r.useMemo)(()=>t,[t])})(d),[A,N]=(0,r.useState)(a),S="".concat((0,s.UK)().trackerBaseUrl,"/click.php?key=f043af323c732a65e8e5&amount=").concat(A.amount),L=(0,ee.o)(S),w=(0,r.useCallback)(e=>{(0,eO.o)({event:"data-event",eventAction:e,eventCategory:H.h.POTREBITELSKIE,customer_id:x})},[x]),I=(0,r.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;N(e=>{let n={...e,amount:t};return ty(()=>{(0,eO.o)({event:"data-event",eventAction:H.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,e9.y)(e8.Be),eventValue:t,customer_id:x}),h(n)}),n})},[h,x]),O=(0,r.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;N(e=>{let n={...e,payment:t};return tk(()=>{(0,eO.o)({event:"data-event",eventAction:H.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,e9.y)(e8.So),eventValue:t,customer_id:x}),h(n)}),n})},[h,x]),M=(0,r.useRef)([]),R=(0,r.useCallback)(()=>{(0,et.e)(C.cA,{offset:y?-140:0,position:"top"})},[y]),{ref:B,isSticky:F}=(0,tg.x)(),U=(0,r.useCallback)(e=>{h({}),j(e,void 0,{shallow:!0})},[h,j]),K=(0,r.useMemo)(()=>T.map(e=>{let n=e.url_redirect||e.url,a=(null==o?void 0:o.url)===n;return{value:(0,tm.b)(H.h.POTREBITELSKIE,a?void 0:e,t,l),label:e.name,color:a?"black":"default",onChipClick:U}}),[T,null==o?void 0:o.url,t,l,U]),D=(0,r.useMemo)(()=>{let e=((e,t)=>{var n,l;let a=(0,tu.O)().unit,i=[];i.push({id:tc.u.amount,label:e.amount?"".concat(e.amount):"Сумма кредита: от ".concat(e.amount||"1 ".concat(a))}),i.push({id:tc.u.payment,label:e.payment?"До ".concat((0,J.ZV)(+e.payment)," ").concat(a," в мес"):"Платеж: не имеет значения"});let r=e8.mr.find(t=>e.period===t.value);if(i.push({id:tc.u.period,label:(null==r?void 0:r.value)?null==r?void 0:r.label:"Срок: не имеет значения"}),e.purpose){let t=e8.l5.find(t=>t.value===e.purpose);t&&i.push({id:tc.u.purpose,label:"".concat(null==t?void 0:t.label)})}if(null==(n=e.borrowers)?void 0:n.length){let t=e.borrowers,n=e8.PA.find(e=>e.value===t[0]),l="";l=1===t.length&&n?"иное"===n.label.toLocaleLowerCase()?"Категория заемщика: "+n.label:n.label:"Категория заемщика: (".concat(t.length,")"),i.push({id:tc.u.borrower,label:l})}if(e.incomeProofs&&e.incomeProofs.length){let t=e.incomeProofs,n=e8.eb.find(e=>e.value===t[0]),l="";l=1===t.length&&n?"не требуется"===n.label.toLocaleLowerCase()?"Подтверждение дохода: "+n.label:n.label:"Подтверждение дохода: (".concat(t.length,")"),i.push({id:tc.u.proofIncome,label:"".concat(l)})}if(e.collateral){let t=e8.ni.find(t=>t.value===e.collateral);t&&i.push({id:tc.u.loan,label:"".concat("Не требуется"===t.label?"Гарантия возврата денег: "+t.label:t.label)})}let o=e8.fy.find(t=>t.value===e.form);if(o&&i.push({id:tc.u.form,label:"".concat(o.label)}),null==(l=e.banks)?void 0:l.length){let n=e.banks,l=t.find(e=>{let{value:t}=e;return String(t)===String(n[0])}),a="";a=1===n.length&&l?": ".concat(l.label):" (".concat(n.length,")"),i.push({id:tc.u.bank,label:"Банки".concat(a)})}return i})(A,u);return M.current.length===e.length&&e.every((e,t)=>e.label===M.current[t].label&&e.id===M.current[t].id)?M.current:e},[A,u]),V=(0,r.useMemo)(()=>D.map(e=>{let{label:t,id:n}=e;return{label:t,value:n,color:"default",onChipClick:v}}),[D,v]),W=(0,r.useCallback)(e=>{N(t=>{let n={...t,...e};return tj(()=>{g(n)}),n})},[g]),z=(0,r.useCallback)(()=>{N({}),h({}),g({})},[h,g]),Z=(0,r.useCallback)(()=>{h(A)},[A,h]);return(0,th.w5)(()=>{N(a)},[a]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(e6.F,{region:t,town:l,title:n,subtitle:c,mainPageUrl:H.h.POTREBITELSKIE}),(0,i.jsx)(e2.L,{config:k,params:e8.ZA}),(0,i.jsxs)(e1.mc,{className:tb().container,children:[(0,i.jsxs)("div",{ref:B,className:tb().filter,children:[(0,i.jsxs)("div",{className:tb().fields,children:[(0,i.jsx)(tt.F,{label:e8.Be,value:A.amount,className:tb().field,onChange:I,onKeyDown:e=>(0,e7.K)(e,R)}),(0,i.jsx)(tt.F,{label:e8.So,value:A.payment,className:tb().field,onChange:O,onKeyDown:e=>(0,e7.K)(e,R)})]}),!y&&(0,i.jsx)("div",{className:tb().chipsRowMobile,children:(0,i.jsx)(t_.P,{chips:K,onParamsClick:v,useLinkChips:!0})}),(0,i.jsx)(p.$n,{onClick:()=>{w("anketa_click"),window.open(L,"_self")},size:"s",className:tb().fillButton,children:"Заполнить анкету"}),F&&(0,i.jsx)(tf.W,{chips:V,onParamsClick:v})]}),(0,i.jsxs)("div",{className:tb().timeCaption,children:[(0,i.jsx)(tC,{}),"Это займёт не более 5 минут"]}),y&&(0,i.jsx)("div",{className:(0,P.A)(tb().chipsRow),children:(0,i.jsx)(t_.P,{chips:K,onParamsClick:v,useLinkChips:!0})})]})]}),(0,i.jsx)(ts,{filter:A,isMobile:m,terms:e8.mr,isOpen:_,banksOptions:u,offersCount:f,onChangeFilter:W,onClose:b,onDrop:z,onShow:Z})]})});tE.displayName="CreditsFilter";var tT=n(68290),tA=n(78475),tN=n(41925),tS=n(8868),tL=n(21921),tw=n(28036),tP=n(50261),tI=n(58979),tO=n(22252),tM=n(70590),tR=n(68082),tB=n(48900),tF=n.n(tB);let tU=[{title:"Наименование банка",value:"bankName"},{title:"Ежемесячный платёж",value:"paymentValue"},{title:"Ставка",value:"rateValue"},{title:"ПСК",value:"fullPrice"},{title:"Сумма",value:"amountValue"},{title:"Срок кредита",value:"term"}];function tK(e,t){var n,l,a;switch(t){case"bankName":return e.bankName.toLowerCase();case"paymentValue":return e.payment;case"rateValue":return e.rateFrom;case"fullPrice":return null!=(l=null==(n=e.fullPrice)?void 0:n.from)?l:0;case"amountValue":return e.amountTo;case"term":return null==(a=e.periodRange)?void 0:a.from;default:throw Error("Dead code branch")}}function tD(e){let{offers:t}=e,[n,l]=(0,r.useState)("amountValue"),[a,o]=(0,r.useState)("asc"),s=(0,r.useMemo)(()=>(0,tR.Q)(t,n,a,tK),[t,n,a]),c=(0,r.useMemo)(()=>s.map(e=>{let{id:t,bankName:n,rateFrom:l,periodRange:a,logo:i,payment:r,currency:o,amountTo:s,amountFrom:c,fullPrice:u}=e,d=(0,J.ej)({from:c,to:s},{currency:o}),p=null!==u?(0,I.o)(u):"",m=r?"от ".concat((0,J.up)(r)):"",_=(0,$.if)(a.from,a.to);return{id:t,logo:i,name:n,cells:[m,"".concat(l,"%"),p,d,_]}}),[s]),u=(0,tO.s)(new Date);return(0,i.jsx)(tM.A,{caption:"Онлайн-платформа Финуслуги позволяет подобрать кредит из представленных на сервисе предложений по кредитам. Окончательные условия определяются кредитным договором. ООО \xabМБ Маркетплейс\xbb и ПАО Московская Биржа не осуществляют банковские операции. Все предложения, отображенные в рейтинге, являются лучшими исключительно по мнению экспертов Финуслуги.ру. Дата обновления рейтинга: ".concat(u),className:tF().offers,columns:tU,rows:c,sort:n,sortOrder:a,onSortChange:(e,t)=>{l(e),o(t)}})}var tH=n(36012),tV=n(17137),tq=n(18258),tW=n(82596),tz=n(83156),tZ=n(3633),tG=n(12771);async function tY(e){let t=await (0,tG.zy)("Credits.json?".concat("url","=").concat(encodeURIComponent(e)));if(1!==t.length)throw new eZ.m_("Credits tag not found: ".concat(e));return function(e){let{id:t,url:n,title:l,name:a,tag_name:i,text:r,filter:o,disable_filter:s,default:c,region_page:u,bank_region_page:d}=e,p={id:t,url:n,title:l,name:a,tag_name:i,text:r,default:c,bank_region_page:void 0!==d};if(null===o||s||c||(p.filter=function(e){let{amount:t,period:n,borrower:l,proof_income:a,loans:i,form:r,purpose:o,bank_ids:s}=e,c={};if(void 0!==t){let e=Number(t);isNaN(e)?console.warn("Invalid amount of credit tag filter: ".concat(t)):c.amount=e}if(void 0!==n){let e=Number(n);isNaN(e)?console.warn("Invalid period of credit tag filter: ".concat(n)):c.period=e}return void 0!==l&&l.length>0&&(c.borrowers=l),void 0!==a&&(Array.isArray(a)?a.length>0&&(c.incomeProofs=a):c.incomeProofs=[a]),null!=i&&(c.collateral=i.join()),null!=r&&(c.form=r),null!=o&&(c.purpose="any"!==o?o:"other"),s.length>0&&(c.banks=s.map(String)),c}(o)),null!==u){let{region_titles:e,town_titles:t,region_content:n,town_content:l}=u;p.region_page={region_titles:e,town_titles:t,region_content:n,town_content:l}}return p}(t[0])}new(n(73584)).AP(tY);var tJ=n(3187),t$=n(35954),tQ=n(27116);let tX=(0,r.memo)(e=>{let{name:t,description:n,offersCount:l,offers:a,banks:r}=e,o=function(e,t,n,l,a){let{basePath:i,mainBaseUrl:r}=(0,s.UK)();if(0===l.length)return;let{lowPrice:o,highPrice:c,offers:u}=(()=>{let e=l.reduce((e,t)=>{let n=(e=>{let t=e.from,n=e.to;return{minValue:void 0!==t&&""!==t?Number(t):1e4,maxValue:void 0!==n&&""!==n?Number(n):void 0}})(t.amount),l=((e,t)=>{var n;let l,i,o=a.find(t=>-1===e.bank_id?e.bic===Number(t.bic):e.bank_id===Number(t.id));if(void 0===o)throw Error("There is no bank for the credit");let s="string"==typeof o.legal_entities?JSON.parse(o.legal_entities)[0].legal_address:null==(n=o.legal_entities[0])?void 0:n.address,c=e.title,u={"@type":"QuantitativeValue",name:"Срок кредита",minValue:Number(e.period.from),maxValue:Number(e.period.to)},d=(l=Number(e.interest_rate.from),i=Number(e.interest_rate.to),{"@type":"QuantitativeValue",name:"Процентная ставка",minValue:Number(l),maxValue:Number(i)}),p=((e,t)=>{let n={"@type":"MonetaryAmount",name:t,minValue:e.minValue,currency:"RUB"};return void 0!==e.maxValue&&(n.maxValue=e.maxValue),n})(t,c),m=s?(0,t$.O)(s):void 0,_="".concat(r,"/").concat(H.h.POTREBITELSKIE,"/").concat(e.url);return{"@type":"Offer",itemOffered:{"@type":"LoanOrCredit",name:c,url:_,feesAndCommissionsSpecification:_,category:"Потребительские кредиты",loanTerm:u,annualPercentageRate:d,amount:p},priceSpecification:{"@type":"PriceSpecification",price:0,priceCurrency:"RUB",valueAddedTaxIncluded:!0},potentialAction:{"@type":"Action",name:"Оформить",url:(0,eP.Ws)(e,(0,eP.WU)())},broker:{"@type":"BankOrCreditUnion",name:o.name,url:"".concat(r,"/banki/").concat(o.url),image:o.logo_mob,telephone:o.phone,address:m}}})(t,n);return e.lowPrice=Math.min(e.lowPrice,n.minValue),void 0!==n.maxValue&&(e.highPrice=Math.max(e.highPrice,n.maxValue)),e.offers.push(l),e},{lowPrice:1/0,highPrice:-1/0,offers:[]});return{offers:e.offers,...Number.isFinite(e.lowPrice)&&{lowPrice:e.lowPrice},...Number.isFinite(e.highPrice)&&{highPrice:e.highPrice}}})();return{"@context":"https://schema.org","@type":"Product",name:e,description:t,image:"".concat(r).concat(i,"/images/logo-1200x630.jpg"),aggregateRating:{"@type":"AggregateRating",ratingValue:4.8,reviewCount:1130,bestRating:5,worstRating:1},offers:{"@type":"AggregateOffer",url:"".concat(r,"/").concat(H.h.POTREBITELSKIE),highPrice:c,lowPrice:o,priceCurrency:"RUB",offerCount:n,offers:u}}}(t,n,l,a,r);return void 0===o?null:(0,i.jsx)(tQ.S,{schema:o})});tX.displayName="CreditOffersSchema";var t0=n(24323),t1=n(57325),t6=n(33568),t2=n(162),t3=n(64998),t5=n(79790),t8=n(98580),t4=n(6862),t7=n(69619),t9=n.n(t7);let ne=[(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("span",{children:"Войдите на Финуслуги с помощью"}),(0,i.jsx)(t1.e,{})]},0),(0,i.jsx)(r.Fragment,{children:"Заполните анкету, мы подберем предложения специально для вас"},1),(0,i.jsx)(r.Fragment,{children:"Выберите предложение и отправьте заявку в банк — прямо на Финуслугах"},2),(0,i.jsx)(r.Fragment,{children:"Дождитесь одобрения, банк свяжется c вами и расскажет, как получить деньги"},3)],nt=e=>{let{tag:t,credits:n,reviews:l,creditRegion:a,regions:o,banks:c,townDublicates:u,tags:p,rollup:f,partnerOffer:g,expertQuote:h,experts:v,defaultFilter:b,support:x,offersTerms:y}=e,k=(0,E.sw)(),j=(0,q.fH)(),{asPath:T,query:A}=(0,eT.useRouter)(),N=(0,te.Y)(),[S,L]=(0,r.useState)([]),[w,I]=(0,r.useState)(h),[O,M]=(0,r.useState)(),[R,B]=(0,r.useState)(!1),{region:F,town:U}=(0,ep.z)(),[K,D]=(0,r.useState)(!1),[V,W]=(0,r.useState)(Number(A.page)||1),[z,Z]=(0,r.useState)(n),G=z.description||"",Y=z.subtitle||"",$=(0,r.useCallback)(()=>{B(!0)},[]),X=(0,r.useCallback)(()=>{B(!1)},[]),ee=(0,r.useMemo)(()=>{var e,t;return null!=(t=null==(e=T.split("/").find(e=>e.includes("teg_")))?void 0:e.slice(4))?t:"DEFAULT"},[T]),[en,el]=(0,r.useState)(t),ea=(0,tJ.m)(T);(0,th.w5)(()=>{(0,t2.Zs)(ea).then(I)},[ea]),(0,r.useEffect)(()=>{T.includes("purpose")&&(0,et.e)(C.cA,{offset:k?0:-100,position:"top"})},[]),(0,eI.eg)(eI.ch.Credit),(0,r.useEffect)(()=>{var e;ee!==(null!=(e=null==en?void 0:en.url)?e:"DEFAULT")&&(0,tG.pY)("credits/tag?".concat("url","=").concat(ee)).then(el),(0,tz.g)(void 0,j)},[T,null==en?void 0:en.url,ee,j]),(0,r.useEffect)(()=>{(0,eJ.q)().then(e=>{let t=e.data||void 0;t&&L(t.credits_group.map(e=>({id:e.id,bankName:e.bank_title,description:e.title,topCardAdvantage:{title:"Сумма",value:(0,J.ej)({from:Number(e.amount.from),to:Number(e.amount.to)})},bottomCardAdvantage:{title:"Ставка",value:"от ".concat((0,J.um)(+e.interest_rate.from)," %")},logo:e.logo_mob,url:"".concat(H.h.POTREBITELSKIE,"/").concat(e.url)})))})},[]);let ei=(()=>{let e={...F},t={...U},n=e.deposits_count,l=t.deposits_count,a=p.find(e=>"DEFAULT"===e.name),i=null==a?void 0:a.min_credits_json,r=new Date,o=r.getDate(),s=r.getMonth()+1,c=r.getFullYear(),d=(0,Q.F)("".concat(s,"-").concat(o,"-").concat(c)),m="",_=z.count,f=z.title;if(F){let e=u.indexOf((null==U?void 0:U.id)||0)>=0;m=U?" ".concat((0,tw.c)(U.name_p)," ").concat(U.name_p).concat(e?" (".concat(F.name,")"):""):" ".concat((0,tw.c)(F.name_p)," ").concat(F.name_p),_=l||n||12500}if(f){let e={"{min_credits_rate}":"".concat(i||14),"{credits_count}":"".concat(2*_),"{date}":"".concat(o," ").concat(d," ").concat(c,"г.")};return Object.keys(e).forEach(t=>{f=null==f?void 0:f.replace(new RegExp(t),e[t])}),f}return en?((e,t,n,l)=>{let a=(0,tP.w)(e.title?e.title:e.name),i=5+(e?e.id:0)+(t?t.id:0)+(n?n.id:0),r=!1;return"DEFAULT"===e.name&&(a=a.replace(/DEFAULT/g,"Базовый")),n?e.region_page&&e.region_page.town_titles&&e.region_page.town_titles.length?a=(0,tP.w)(e.region_page.town_titles[i%e.region_page.town_titles.length],t,n,l):(r=l.indexOf(n.id)>=0,a+=" "+(0,tw.c)(n.name_p)+" "+n.name_p+(r?" ("+(null==t?void 0:t.name)+")":"")):t&&(e.region_page&&e.region_page.region_titles&&e.region_page.region_titles.length?a=(0,tP.w)(e.region_page.region_titles[i%e.region_page.region_titles.length],t,n,l):a+=" "+(0,tw.c)(t.name_p)+" "+t.name_p),a})(en,null!=F?F:null,null!=U?U:null,u):"Кредиты".concat(m," с максимальной ставкой ").concat(i||14,"% годовых на сегодня ").concat(o," ").concat(d," ").concat(c,"г. ").concat(2*_," aктуальных депозитов – открыть вклад").concat(m," на Финуслуги.ру")})(),{filter:er,setFilter:eo}=function(){let{query:e,push:t}=(0,eT.useRouter)(),{amount:n,payment:l,period:a,purpose:i,borrowers:o,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m,..._}=e,f=(0,r.useMemo)(()=>(function(e){let{amount:t,payment:n,period:l,purpose:a,borrowers:i,incomeProofs:r,collateral:o,form:s,banks:c,sort:u,order:d}=e,p={};return"string"==typeof t&&(p.amount=Number(t)),"string"==typeof n&&(p.payment=Number(n)),"string"==typeof l&&(p.period=Number(l)),"string"==typeof a&&(p.purpose=a),"string"==typeof i&&(p.borrowers=(0,tJ.pi)(i)),"string"==typeof r&&(p.incomeProofs=(0,tJ.pi)(r)),"string"==typeof o&&(p.collateral=o),"string"==typeof s&&(p.form=s),"string"==typeof c&&(p.banks=(0,tJ.pi)(c)),"string"==typeof u&&(p.sort=u),"string"==typeof d&&(p.order=d),p})({amount:n,payment:l,period:a,purpose:i,borrowers:o,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m}),[n,l,a,i,o,s,c,u,d,p,m]),g=(0,r.useRef)(_),h=(0,r.useRef)(f),v=(0,r.useRef)(t);return g.current=_,h.current=f,v.current=t,{filter:f,setFilter:(0,r.useCallback)(e=>{var t,n,l,a,i,r,o,s,c,u,d,p,m,_;if(t=h.current,n=e,t.amount===n.amount&&t.payment===n.payment&&t.period===n.period&&t.purpose===n.purpose&&(null==(l=t.borrowers)?void 0:l.length)===(null==(a=n.borrowers)?void 0:a.length)&&(null==(i=t.borrowers)?void 0:i.slice().sort().toString())===(null==(r=n.borrowers)?void 0:r.slice().sort().toString())&&(null==(o=t.incomeProofs)?void 0:o.length)===(null==(s=n.incomeProofs)?void 0:s.length)&&(null==(c=t.incomeProofs)?void 0:c.slice().sort().toString())===(null==(u=n.incomeProofs)?void 0:u.slice().sort().toString())&&t.collateral===n.collateral&&t.form===n.form&&(null==(d=t.banks)?void 0:d.length)===(null==(p=n.banks)?void 0:p.length)&&(null==(m=t.banks)?void 0:m.slice().sort().toString())===(null==(_=n.banks)?void 0:_.slice().sort().toString())&&t.sort===n.sort&&t.order===n.order)return!1;let f={...function(e){let{amount:t,payment:n,period:l,purpose:a,borrowers:i,incomeProofs:r,collateral:o,form:s,banks:c,sort:u,order:d}=e,p={};return void 0!==t&&(p.amount=String(t)),void 0!==n&&(p.payment=String(n)),void 0!==l&&(p.period=String(l)),void 0!==a&&(p.purpose=String(a)),void 0!==i&&(p.borrowers=(0,tJ.t9)(i)),void 0!==r&&(p.incomeProofs=(0,tJ.t9)(r)),void 0!==o&&(p.collateral=o),void 0!==s&&(p.form=String(s)),void 0!==c&&(p.banks=(0,tJ.t9)(c)),void 0!==u&&(p.sort=u),void 0!==d&&(p.order=d),p}(e),...g.current};return v.current({query:f},void 0,{shallow:!0}),!0},[])}}(),es=(0,r.useMemo)(()=>({...b,...en.filter,...er}),[b,en,er]),ec=(0,r.useMemo)(()=>(0,tW.H)(c,es.banks),[c,es.banks]),eu=(0,r.useMemo)(()=>f.reduce((e,t)=>{let{credits:n}=t;return[...e,...n]},[]),[f]),ed=null==F?void 0:F.url,em=null==U?void 0:U.url,e_=(0,r.useCallback)(async e=>{W(e),D(!0);try{let t=await (0,ez.fo)({tag:en.url,region:ed,town:em,page:e,pageSize:e8.v_,filter:es},eu);e>1?Z(e=>({...e,...t,offers:[...e.offers,...t.offers]})):(Z(t),M(void 0))}finally{D(!1)}},[en,ed,em,es,eu]),ef=(0,r.useCallback)(async e=>{M((await (0,ez.fo)({tag:en.url,region:ed,town:em,filter:e,pageSize:0},eu)).count)},[en.url,ed,em,eu]);(0,th.w5)(()=>{e_(1)},[e_]);let{unifiedOffers:eg,unifiedPartnerOffers:eh}=(0,r.useMemo)(()=>(0,tA.L)(es,c,z.offers,g),[es,c,z,g]),ev=(0,r.useMemo)(()=>(function(e){let{credits:t,creditTags:n,creditRegion:l,regions:a,banks:r,tag:o,region:c,town:u,townDublicates:d=[]}=e,p=H.h.POTREBITELSKIE,m="Кредиты",_="кредитов",f=[],g=(0,tV.$)({offers:t,getBankKey:e=>e.bankId,getAmount:e=>e.amountTo,getRate:e=>e.rateTo}).slice(0,10);g.length>2&&f.push({title:(0,tP.w)("Рейтинг ".concat(_," ").concat(c||u?(0,tw.c)(u?u.name:null==c?void 0:c.name)+" "+(u?u.name_p:null==c?void 0:c.name_p):""," в {year} году"),c,u,d),text:(0,i.jsx)(tD,{offers:g})}),!c&&(null==o?void 0:o.default)!==1&&(null==o?void 0:o.text)&&Array.isArray(o.text)&&o.text.forEach(e=>{f.push({title:(0,tP.w)(e.title,c,u,d),text:(0,i.jsx)(eB.eW,{data:(0,tP.j)(e,c,u,d,void 0,o).content})})}),(null==o?void 0:o.default)===1&&(null==o?void 0:o.text)&&Array.isArray(o.text)&&o.text.forEach(e=>{f.push({title:(0,tP.w)(e.title,c,u,d),text:(0,i.jsx)(eB.eW,{data:(0,tP.j)(e,c,u,d,void 0,o).content})})});let h=c&&o&&o.region_page&&(u||o.region_page.region_content&&o.region_page.region_content.length)&&(!u||o.region_page.town_content&&o.region_page.town_content.length)?(u?o.region_page.town_content:o.region_page.region_content).map(e=>({title:(0,tP.w)(e.title,c,u,d),text:(0,tP.w)(e.content.map(tL.Zf).join(""),c,u,d)})):[];h&&h.length&&h.forEach(e=>{f.push({title:(0,tP.w)(e.title,c,u,d),text:(0,i.jsx)(eB.eW,{data:[{type:tL.$G.Html,data:{html:e.text}}]})})}),f.push(...(0,tq.N)(p,a,o,c,u,{nominativeCase:m,genitiveCase:_}));let v=n.reduce((e,t)=>{if(void 0===t.url_redirect){let n=(0,tm.b)(p,t,c,u),l=(0,tH.AP)(n,t.name);e.push(l)}return e},[]);f.push({title:"Виды ".concat(_),text:(0,i.jsx)(tH.oL,{children:v})});let b=(()=>{if(0===r.length)return[];let e=l?l.credit_interest_rates:[],t=r.filter(t=>e.some(e=>(e.fk_id||e.fk_id)===+t.id)),n=t.filter(e=>tS.MH.includes(e.url)),a=t.filter(e=>!tS.MH.includes(e.url)),i=(0,tI.s)(n,5);return[...i,...(0,tI.s)(a,7)].map(e=>{var t;let n="".concat(o&&(null==o?void 0:o.default)!==1&&(null==o?void 0:o.bank_region_page)?o.name:m," ").concat(e.name_r," ").concat(c&&(null==(t=e.region_ids)?void 0:t.length)?(0,tw.c)(u?u.name:c.name)+" "+(u?u.name_p:c.name_p):""),l=((e,t)=>{var n;let l=(null==(n=t.region_ids)?void 0:n.length)?[c,u]:[void 0,void 0],a=(0,tm.b)("banki/".concat(t.url),(null==o?void 0:o.bank_region_page)?o:void 0,...l);return"".concat(e).concat(a)})((0,s.UK)().mainBaseUrl,e);return(0,tH.mZ)(l,n)})})();return b.length>0&&f.push({title:"".concat(m," от банков"),text:(0,i.jsx)(tH.oL,{children:b})}),(()=>{let e=new Set;return f.filter(t=>{let{title:n}=t,l=e.has(n);return l||e.add(n),!l})})()})({credits:eg,creditTags:p,creditRegion:a,regions:o,banks:c,tag:en,region:F,town:U,townDublicates:u}),[c,p,eg,F,a,o,en,U,u]),eb=(null==U?void 0:U.name_p)||(null==F?void 0:F.name_p)?" в ".concat((null==U?void 0:U.name_p)||(null==F?void 0:F.name_p)):"",{mainBaseUrl:ex}=(0,s.UK)(),eC=(0,r.useCallback)((e,t)=>{eo({...es,sort:e,order:t})},[eo,es]),ey="DEFAULT"!==en.tag_name?en.name:"Потребительские кредиты",ek=(0,r.useMemo)(()=>null!==g?[...z.offers,g]:z.offers,[z,g]);return(0,i.jsxs)("main",{className:t9().page,children:[(0,i.jsx)(m.I,{title:ei,description:G}),(0,i.jsx)(tN.A,{title:ey,tag:en,inRegion:eb,pageUrl:H.h.POTREBITELSKIE,pageTitle:"Кредиты"}),(0,i.jsx)(eU.t,{}),(0,i.jsx)(tX,{name:ey,description:G,offersCount:z.count,offers:ek,banks:c}),(0,i.jsx)(_.J,{className:t9().filterContainer,children:(0,i.jsx)(tE,{region:F,town:U,heading:ey,subtitle:Y,filter:es,tag:en,tags:p,banksOptions:ec,isMobile:k,isOpenModal:R,offersCount:null!=O?O:z.count,onFilterChange:ef,onFilterApply:eo,onModalOpen:$,onModalClose:X})}),(0,i.jsx)(t0.I,{steps:ne}),(0,i.jsx)(tT.H,{pageName:H.h.POTREBITELSKIE,unifiedOffers:eg,unifiedPartnerOffers:eh,sort:es.sort,sortOrder:es.order,adFoxConfig:N,subtitle:Y,region:F,town:U,credits:z,isLoading:K,page:V,rollup:eu,onChangeSort:eC,onChangePage:e_,onFilterModalOpen:$}),(0,i.jsx)(tZ.f,{type:"bank",noPadding:!0,secondary:!0}),(0,i.jsx)("section",{className:(0,P.A)(t9().sectionWrapper),children:(0,i.jsx)(_.J,{children:(0,i.jsx)(t8.U,{data:y})})}),(0,i.jsx)("section",{className:(0,P.A)(t9().sectionWrapper),children:(0,i.jsx)(_.J,{children:(0,i.jsx)(eX,{bestOffers:S,inRegion:eb})})}),void 0!==w&&(0,i.jsx)(t3.V,{quote:w}),void 0!==v&&(0,i.jsx)("section",{className:t9().experts,children:(0,i.jsx)(_.J,{children:(0,i.jsx)(t5.o,{heading:"Потребительские кредиты",experts:v})})}),void 0!==l&&(0,i.jsx)(_.J,{children:(0,i.jsx)(t4.K,{serviceId:t6.E.POTREBITELSKIYE_KREDITY,reviews:l,banks:c})}),(0,i.jsx)(eH.m,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,i.jsx)(d(),{...e}),dataLayerPush:eO.o,questions:ev,eventCategory:"credits_support_block",href:"".concat(ex,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"}),a.posts.length>0&&(0,i.jsx)("section",{className:(0,P.A)(t9().sectionWrapper,t9().sectionGray),children:(0,i.jsx)(eK.C,{posts:a.posts,eventCategory:H.h.POTREBITELSKIE})}),(0,i.jsx)(eD.E,{value:x})]})};n(51649),n(54267),n(46215),n(99514),n(44860);let nn=e=>{let{tag:t,banks:n,credits:l,reviews:a,creditRegion:r,tags:o,rollup:s,partnerOffer:c,layout:u,root:d,expertQuote:p,experts:m,defaultFilter:_,support:f,offersTerms:g}=e;return(0,i.jsx)(eG.P,{data:u,children:(0,i.jsx)(nt,{tag:t,regions:d.regions,banks:n,townDublicates:d.town_dublicates,credits:l,reviews:null!=a?a:void 0,creditRegion:r,tags:o,rollup:s,partnerOffer:c,expertQuote:null!=p?p:void 0,experts:null!=m?m:void 0,defaultFilter:_,support:f,offersTerms:g})})};var nl=n(48523),na=n(36612),ni=!0;let nr=(0,r.memo)(function(e){var t,n;let{mainApiUrl:l}=(0,s.UK)();return(0,i.jsx)(o.C,{showcaseUrl:l,children:e.isShowcase?(0,i.jsx)(nl.N,{region:null!=(t=e.region)?t:void 0,town:null!=(n=e.town)?n:void 0,children:(0,i.jsx)(nn,{...e})}):(0,i.jsx)(na.K,{children:(0,i.jsx)(eY,{...e})})})})},53244:(e,t,n)=>{"use strict";n.d(t,{q:()=>p});var l=n(37876),a=n(14232),i=n(48230),r=n.n(i),o=n(49995),s=n(81202),c=n(33126),u=n(55754),d=n.n(u);let p=(0,a.memo)(e=>{let{type:t,className:n}=e;return({[s.w.annuity]:(0,l.jsxs)("p",{className:(0,o.A)(d().typeDescription,n),children:["Тип погашения, при котором ваш обязательный платеж банку остается неизменным в течение всего срока кредита. Подробнее о типах платежей"," ",(0,l.jsx)(r(),{target:"_blank",href:"".concat((0,c.UK)().mainBaseUrl,"/navigator/kredity/stat_chto_vybrat_annuitetnye_ili_differencirovannye_platezhi?ysclid=lm0hhclslg385431421"),children:"написали здесь"})]}),[s.w.differentiated]:(0,l.jsxs)("p",{className:(0,o.A)(d().typeDescription,n),children:["Тип погашения, при котором ваш обязательный платеж банку остается неизменным в течение всего срока кредита. Подробнее о типах платежей"," ",(0,l.jsx)(r(),{target:"_blank",href:"".concat((0,c.UK)().mainBaseUrl,"/navigator/kredity/stat_chto_vybrat_annuitetnye_ili_differencirovannye_platezhi?ysclid=lm0hhclslg385431421"),children:"написали здесь"})]})})[t]});p.displayName="CreditPaymentDescription"},55754:e=>{e.exports={typeDescription:"CreditPaymentDescription_typeDescription__ksshX"}},58885:e=>{e.exports={title:"CreditsFilter_title__9Ol8f",link:"CreditsFilter_link__gmP1H",fillButton:"CreditsFilter_fillButton__JxaM7",chipsRow:"CreditsFilter_chipsRow__rN6kQ",timeCaption:"CreditsFilter_timeCaption__XrSVm",chipsRowMobile:"CreditsFilter_chipsRowMobile__889cC",container:"CreditsFilter_container__P7uXx",filter:"CreditsFilter_filter__AK2Z3",fields:"CreditsFilter_fields__axlbQ",field:"CreditsFilter_field__3VPC1"}},62728:(e,t,n)=>{"use strict";function l(e){return"object"==typeof e&&null!==e?!!(e.comment||e.text):!!e}function a(e){return"number"==typeof e||(Array.isArray(e)?e.some(e=>l(e)):l(e))}n.d(t,{a:()=>a})},69619:e=>{e.exports={page:"Credits_page__EsDKz",breadcrumbs:"Credits_breadcrumbs__86tqr",newBannerBreadcrumbs:"Credits_newBannerBreadcrumbs__mYH_T",filterContainer:"Credits_filterContainer__O3Wzt",adFox:"Credits_adFox__oF6nZ",sectionWrapper:"Credits_sectionWrapper__vxuOI",sectionGray:"Credits_sectionGray__4dQPk",experts:"Credits_experts__R_1ZE",personalSelection:"Credits_personalSelection__mxkIY",subtitle:"Credits_subtitle__wMgL_",background:"Credits_background__0PrN1"}},71348:e=>{e.exports={title:"CreditsList_title__dWfk4",offersListContainer:"CreditsList_offersListContainer__YS0P_",listTitle:"CreditsList_listTitle__ZZTKF",container:"CreditsList_container__8EN_f",listItem:"CreditsList_listItem__wR_07"}},74153:e=>{e.exports={bestOffers:"BestOffers_bestOffers__3xKOA",title:"BestOffers_title__6zPe_",content:"BestOffers_content__zgY2P","content-inner":"BestOffers_content-inner__pEGnI",list:"BestOffers_list__d40hB",card:"BestOffers_card__UZOM_",captionWrapper:"BestOffers_captionWrapper__Uk340",cardHeading:"BestOffers_cardHeading__8nf7d",cardIcon:"BestOffers_cardIcon__YnTcZ",cardBtn:"BestOffers_cardBtn__W4pcb",cardHeadingSubtitle:"BestOffers_cardHeadingSubtitle__H67AC",cardHeadingTitle:"BestOffers_cardHeadingTitle__CcZts",cardAdvantage:"BestOffers_cardAdvantage__tFs7H",cardAdvantageTitle:"BestOffers_cardAdvantageTitle__oXTSw",cardAdvantageValue:"BestOffers_cardAdvantageValue__o7NB9",btnMore:"BestOffers_btnMore__EHXWg",btnMoreText:"BestOffers_btnMoreText__zBTej",btnMoreIcon:"BestOffers_btnMoreIcon__eJuUy",tooltipIcon:"BestOffers_tooltipIcon__wISwt"}},75289:e=>{e.exports={content:"CreditsFilterModal_content__yX_bx",fields:"CreditsFilterModal_fields__uVaO6",settings:"CreditsFilterModal_settings__yHhdO",settingsLeftBlock:"CreditsFilterModal_settingsLeftBlock__nI29m",settingsTitle:"CreditsFilterModal_settingsTitle__INN9S",tooltip:"CreditsFilterModal_tooltip__BMlBe",iconTooltip:"CreditsFilterModal_iconTooltip__RvsdK",radioGroup:"CreditsFilterModal_radioGroup__jG3cb",radio:"CreditsFilterModal_radio__gJxyi",buttonActions:"CreditsFilterModal_buttonActions__o7buq",button:"CreditsFilterModal_button__empTP",mobilePopup:"CreditsFilterModal_mobilePopup__WCsfT",adfox:"CreditsFilterModal_adfox__gqmkU"}},81136:(e,t,n)=>{"use strict";n(37397),n(30557),n(80505),n(28131)},87696:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/potrebitelskie_kredity/[[...segments]]",function(){return n(50300)}])},92568:e=>{e.exports={container:"CreditInfo_container__R0626",containerFull:"CreditInfo_containerFull__egD3t",promo:"CreditInfo_promo__SU8xG",left:"CreditInfo_left__4FXSu",right:"CreditInfo_right__MILUZ",qrDesc:"CreditInfo_qrDesc__6mkj5",qrMobile:"CreditInfo_qrMobile__cxqGH",typeDescription:"CreditInfo_typeDescription__utgna",adviceLink:"CreditInfo_adviceLink__f5_hU"}},95655:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l={src:"/kredity/assets/_next/static/media/gosuslugi.a2f413d0.svg",height:24,width:24,blurWidth:0,blurHeight:0}},98560:e=>{e.exports={container:"CreditWhereApplyLoanSteps_container__qbNFw"}}},e=>{e.O(0,[7492,2224,8325,7404,4587,4981,5695,822,8231,5189,1653,167,9581,8695,222,2496,6099,636,6593,8792],()=>e(e.s=87696)),_N_E=e.O()}]);