(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[392],{2300:e=>{e.exports={block:"leading-mfos_block__s93he",logo:"leading-mfos_logo__UYH4B",title:"leading-mfos_title___R14n",list:"leading-mfos_list__kKvun",item:"leading-mfos_item__MNeDk",info:"leading-mfos_info__bhD_L",name:"leading-mfos_name__SjEsW",registationNumber:"leading-mfos_registationNumber__W1N2M",phone:"leading-mfos_phone__XwoOL"}},3067:(e,t,n)=>{"use strict";function o(e){return e.map(e=>{var t;return a({url:(t=e).url,title:t.title,publicDate:t.public_date},t)})}function l(e){return e.map(e=>{var t;return a({url:(t=e).url,title:t.title,publicDate:t.publ_date.substring(0,19)},t)})}function a(e,t){let n=t.img;return null!==n&&(e.imageUrl=n.file),e}n.d(t,{G:()=>l,n:()=>o})},5082:(e,t,n)=>{"use strict";n.d(t,{H:()=>u});var o=n(37876),l=n(25904),a=n(20988),r=n(49995),i=n(84980),s=n.n(i);let c=[{iconLeft:(0,o.jsx)(l.IconFdsCoatOfArmsRussiaF,{}),label:"Наша финансовая платформа в реестре Банка России",rounded:!0},{iconLeft:(0,o.jsx)(l.IconFdsShieldCheckO,{}),label:"Данные защищены и передаются зашифровано",rounded:!0},{iconLeft:(0,o.jsx)(l.IconFdsOctostarCheckO,{}),label:"Все наши партнеры имеют лицензию ЦБ РФ",rounded:!0}];function u(e){let{className:t}=e;return(0,o.jsxs)("div",{className:(0,r.A)(s().container,t),children:[c.map(e=>(0,o.jsx)(a.vw,{...e},e.label))," "]})}},9640:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var o=n(37876),l=n(20988);function a(e){var t;let{value:n,...a}=e,r=(t=n,a.options.find(e=>e.value===t));return(0,o.jsx)(l.l6,{...a,value:r,onChange:e=>{let t=null==e?void 0:e.value;a.onChange(t)}})}},11404:(e,t,n)=>{"use strict";n.d(t,{g:()=>l});var o=n(14232);function l(){let[e,t]=(0,o.useState)(!1);return{visible:e,show:(0,o.useCallback)(()=>t(!0),[]),hide:(0,o.useCallback)(()=>t(!1),[])}}},12837:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var o=n(37876),l=n(26685),a=n.n(l);function r(e){let{comment:t,text:n}=e;return void 0!==t&&void 0!==n?(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),(0,o.jsx)("div",{className:a().commentText,dangerouslySetInnerHTML:{__html:t}})]}):void 0!==n?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}):void 0!==t?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:t}}):void 0}},14552:e=>{e.exports={container:"MicroloanInfo_container__Nl1Nj",containerFull:"MicroloanInfo_containerFull__FHWGY",promo:"MicroloanInfo_promo__wEsEc",left:"MicroloanInfo_left__Aq9Zm",right:"MicroloanInfo_right__D5tOG",qrDesc:"MicroloanInfo_qrDesc__pKTqc",qrMobile:"MicroloanInfo_qrMobile__bN5Z8",typeDescription:"MicroloanInfo_typeDescription__xRMv_"}},15458:e=>{e.exports={top_row:"styles_top_row__lrJMw",title_group:"styles_title_group___MJIW",title_group_content:"styles_title_group_content__VThk9",card_info:"styles_card_info__K4zuM",group:"styles_group__DPSzc",group_sub:"styles_group_sub__4sEq6",title_group_sub:"styles_title_group_sub__yylra",title_sub:"styles_title_sub__BRYyW",rating:"styles_rating__KyMOq",icon_star:"styles_icon_star__Kclin",group_content:"styles_group_content__lK3Pu",status_text:"styles_status_text__fOgCE",prefix:"styles_prefix__0ftsL",rating_text:"styles_rating_text__HQzRa",ratingMobile:"styles_ratingMobile__XxUit",ratingDesktop:"styles_ratingDesktop__378V7"}},15462:(e,t,n)=>{"use strict";n.d(t,{L$:()=>o,ZV:()=>l});let o=(e,t)=>(null==e?void 0:e.includes(t))?e.filter(e=>e!==t):(e||[]).concat([t]),l=e=>a(e.toString().split("").reverse(),3).reverse().map(e=>e.reverse().join("")).join(" "),a=(e,t)=>{let n=[];for(let o=0;o<e.length;++o){let l=Math.floor(o/t);n[l]||(n[l]=[]),n[l].push(e[o])}return n}},18108:e=>{e.exports={container:"MicroloanListModal_container__4uycu",content:"MicroloanListModal_content__W7GUx",listTitle:"MicroloanListModal_listTitle__dtSVF",list:"MicroloanListModal_list__RMBRt",valueText:"MicroloanListModal_valueText__mY9qV",row:"MicroloanListModal_row__NJuSi",rowLabel:"MicroloanListModal_rowLabel__gczz9",rowValue:"MicroloanListModal_rowValue__H4A77",buttons:"MicroloanListModal_buttons__Blx2m",button:"MicroloanListModal_button__GHi6e"}},18315:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var o=n(37876),l=n(14232),a=n(20988),r=n(3010),i=n(74356),s=n(16416),c=n(32266),u=n(94289),d=n.n(u);let m=(0,l.memo)(e=>{let{isOpen:t,cancelButton:n,submitButton:u,onClose:m,bankName:_,dataPoints:p,offerUpdateData:v,pageUrl:f}=e,g=(0,o.jsxs)("div",{className:d().content,children:[p.map(e=>(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)("h2",{className:d().title,children:e.sectionTitle}),(0,o.jsx)("div",{className:d().list,children:e.body.length?e.body.map((e,t)=>(0,o.jsxs)("div",{className:d().field,children:[(0,o.jsxs)("div",{className:d().titleWrapper,children:[(0,o.jsx)("h3",{className:d().fieldTitle,children:null==e?void 0:e.label}),(null==e?void 0:e.description)&&(0,o.jsx)(c.A,{triggerClassName:d().icon,content:e.description})]}),(0,o.jsx)("div",{className:d().fieldContent,children:null==e?void 0:e.value})]},t)):Array.from({length:6},(e,t)=>(0,o.jsx)(i.E,{className:d().skeletonContent},t))})]},e.sectionTitle)),(0,o.jsx)(s.n,{className:d().actualDate,pageUrl:f,offerDate:v})]}),h=(0,o.jsxs)("div",{className:d().footer,children:[(0,o.jsx)(a.$n,{variant:"secondary",onClick:n.onClick,children:n.title}),(0,o.jsx)(a.$n,{rel:"nofollow",as:"a",href:u.url,onClick:u.onClick,children:u.title})]});return(0,o.jsx)(r.Z,{children:(0,o.jsx)(a.aF,{open:t,onClose:m,footer:{children:h},header:{title:null!=_?_:""},className:d().mobilePopup,size:"l",children:(0,o.jsx)("div",{className:d().container,children:g})})})});m.displayName="OfferInfoModal"},19089:e=>{e.exports={list_wrap:"styles_list_wrap__Y4NNG",content:"styles_content__0GQsE",sort_content:"styles_sort_content__HTKID",right_block:"styles_right_block__HUpVY",viewed_offers_toggle:"styles_viewed_offers_toggle__KrTrp",title:"styles_title__NhB5T",subtitle:"styles_subtitle___lipZ",sort_label:"styles_sort_label__gNhF5",dropdown_wrapper:"styles_dropdown_wrapper__bHDYS"}},21436:e=>{e.exports={wrap:"styles_wrap__sO4jz",top_row:"styles_top_row__tbwJg",top_row_content:"styles_top_row_content__7Ptlp",top_row_buttons:"styles_top_row_buttons__t9wkS",action_button:"styles_action_button__gJuET",show_button:"styles_show_button__lgqXM",chips_row:"styles_chips_row__8KFdv",addon:"styles_addon__6LMjZ"}},24479:e=>{e.exports={offers:"microloan-showcase-page_offers__3Q9Sg",experts:"microloan-showcase-page_experts__W2lqj",backgroundGray:"microloan-showcase-page_backgroundGray__gFkGY"}},24735:(e,t,n)=>{"use strict";n.d(t,{hx:()=>i,iW:()=>c}),n(37876);var o=n(14232);n(37105);var l=n(31257),a=n(7482),r=n(83024);n(2510);let i="used-mfo-",s="used-mfos-resolved";function c(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.fH)();(0,o.useEffect)(()=>{if(!t)return;let o=t=>{u(t instanceof CustomEvent?t.detail:void 0,e,n)},l=window.__usedMfosResolvedIds;return void 0!==l?void u(l,e,n):(window.addEventListener(s,o),()=>{window.removeEventListener(s,o)})},[t,e,n])}function u(e,t,n){let o=new Set(null!=e?e:[]);t.some(e=>!o.has(e.mfo_id))||(0,l._)({customerId:n,eventAction:l.y.noOffers,eventCategory:"mfo",eventValue:void 0,eventLabel:void 0})}(0,a.Fl)("local",r.Z8)},26685:e=>{e.exports={commentText:"offer-terms_commentText__S3vmq"}},30983:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>oF,default:()=>oz});var o=n(37876),l=n(14232),a=n(74055),r=n(33126);n(37397);var i=n(28131),s=n(12771),c=n(73584),u=n(30409),d=n(68204),m=n(3187);async function _(e){let t=v(e);return await (0,s.ZP)("old/microloans?".concat(t))}var p=function(e){return e.Archive="archive",e.Commercial="commercial",e.Tag="tag",e.Region="region",e.Town="town",e.Amount="amount",e.Form="form",e.Period="period",e.Borrower="borrower",e.Registration="registration",e.Collateral="loan",e.Banks="bank",e.Online="online",e.Sort="sort",e.Order="order",e.Page="page",e.Limit="limit",e}(p||{});function v(e){let{tagUrl:t,regionUrl:n,townUrl:o,amount:l,form:a,period:r,borrower:i,registration:s,collateral:c,banks:u,online:d,sort:_,order:p,page:v,pageSize:f,commercial:g}=e,h=new URLSearchParams({archive:"0",sort:"order",order:"ASC"});return void 0!==t&&h.set("tag",t),void 0!==n&&h.set("region",n),void 0!==o&&h.set("town",o),void 0!==l&&h.set("amount",String(l)),void 0!==a&&h.set("form",a),void 0!==r&&h.set("period",String(r)),void 0!==i&&h.set("borrower",i),void 0!==s&&h.set("registration",s),void 0!==c&&h.set("loan",c),void 0!==u&&h.set("bank",(0,m.t9)(u)),void 0!==d&&h.set("online",d),void 0!==_&&h.set("sort",_),void 0!==p&&h.set("order",p),void 0!==v&&h.set("page",String(v)),void 0!==f&&h.set("limit",String(f)),void 0!==g&&h.set("commercial",String(g)),h}function f(e){let t=h(e);return(0,s.zy)("MicroCredits.json?".concat(t))}var g=function(e){return e.Archive="archive",e.Tag="tag",e.Region="region",e.Town="town",e.Amount="amount",e.Form="form",e.Period="period",e.Borrower="borrower",e.Registration="registration",e.Collateral="loan",e.Banks="bank",e.Online="online",e.Sort="sort",e.Order="order",e.Page="page",e.Limit="limit",e.Commercial="commercial",e}(g||{});function h(e){let{tagUrl:t,regionUrl:n,townUrl:o,amount:l,form:a,period:r,borrower:i,registration:s,collateral:c,banks:u,online:d,sort:_,order:p,page:v,pageSize:f,commercial:g}=e,h=new URLSearchParams({archive:"0"});return void 0!==t&&h.set("tag",t),void 0!==n&&h.set("region",n),void 0!==o&&h.set("town",o),void 0!==l&&h.set("amount",String(l)),void 0!==a&&h.set("form",a),void 0!==r&&h.set("period",String(r)),void 0!==i&&h.set("borrower",i),void 0!==s&&h.set("registration",s),void 0!==t&&h.set("loan",null!=c?c:function(e){switch(e){case"pod_zalog_pts":case"pod_zalog_nedvizhimosti":return"pledge";default:return"not_required"}}(t)),void 0!==u&&h.set("bank",(0,m.t9)(u)),void 0!==d&&h.set("online",d),void 0!==_&&h.set("sort",_),void 0!==p&&h.set("order",p),void 0!==v&&h.set("page",String(v)),void 0!==f&&h.set("limit",String(f)),void 0!==g&&h.set("commercial",String(g)),h}var b=function(e){return e.NotRequired="not_required",e.Pledge="pledge",e.Guarantee="guarantee",e.Full="full",e}({}),x=n(66547),y=n(25334),j=n(9221);async function w(e){var t;return Date.now()>=(null!=(t=N.expires.get(e))?t:0)?(N.expires.set(e,(0,c.n9)()),N.update(e,e)):N.getOrUpdate(e,e)}let N=new c.AP(C);async function C(e){let t=await (e?_:f)({}),n={master_podbora_zajmov:{rating:"4.87",approvalStatus:x.Q.High}};return t.microCredits.forEach((e,t)=>{let o=e.mfo_url,l=e.online_application;void 0===n[o]?n[o]=function(e,t,n){let o=(0,y.i)(e,1!==n.commercial),l=(0,j.GD)(t,o),a=M(n)?x.Q.VeryHigh:(0,x.y)(o,l);return{rating:Number(l/100).toFixed(2),approvalStatus:a}}(t+1,o,l):M(l)&&(n[o].approvalStatus=x.Q.VeryHigh)}),n}function M(e){return 1===e.commercial&&1===e.best_offer}async function k(e){let[t,n]=await Promise.all([_(e),w(!0)]);if(void 0!==e.page&&1!==e.page&&0===t.microCredits.length)throw new i.m_("Invalid microloans page: ".concat(e.page));return function(e,t){var n,o;let{subtitle:l,title:a,description:r,microCredits_count:i,microCredits:s}=e;return{subtitle:l,title:a,description:r,count:i,offers:(n=s,o=t,n.map(e=>(function(e,t){let{id:n,cmsId:o,url:l,title:a,term_without_percents:r,mfo_url:i,mfo_name:s,logo_mob:c,logo_mob_png:m,site:_,online_application:p,interest_rate:v,amount:f,period:g,legal_name:h,full_price:b,bank_id:x}=e,{approvalStatus:y,rating:j}=t[i],w={id:null!=o?o:n,url:l,title:a,mfo_url:i,mfo_name:s,approvalStatus:y,rating:j,online_application:(0,d.eg)(p),interest_rate:(0,d.Nh)(v),amount:(0,d.X8)(f),period:(0,d.I1)(g),mfo_id:x,full_price:{from:Number(b.from),to:Number(b.to)}};void 0!==_.title&&(w.site=_.title),void 0!==h&&(w.legal_name=h),void 0!==r&&(w.term_without_percents=r);let N=(0,d.O$)({logo_mob:c,logo_mob_png:m});return void 0!==N&&(0,u.uI)(N)&&(w.logo_mob=N),w})(e,o)))}}(t,n)}var A=n(91572);function S(e,t){if(t){let t=v(e);return(0,s.pY)("microloans-new/offers?".concat(t))}let n=h(e);return(0,s.pY)("microloans/offers?".concat(n))}function T(e,t){let{tagUrl:n,regionUrl:o,townUrl:l,page:a,pageSize:r,...i}=e;return 1===a&&48===r&&0===Object.values(i).length?L.getOrUpdate("".concat(n).concat(o).concat(l).concat(t),{...e,isNewApi:t}):R({...e,isNewApi:t})}let L=new c.AP(R,3e4);async function R(e){let{isNewApi:t,...n}=e;if(t)return k(n);let[o,l,a]=await Promise.all([f(n),w(!1),"dlya_grazhdan_sng"!==n.tagUrl?f({...n,tagUrl:"dlya_grazhdan_sng",pageSize:1e4}):void 0]);if(void 0!==n.page&&1!==n.page&&0===o.microCredits.length)throw new i.m_("Invalid microloans page: ".concat(n.page));return function(e,t,n){var o,l,a;let{subtitle:r,title:i,description:s,microCredits_count:c,microCredits:d}=e,m=void 0!==n?n.microCredits.reduce((e,t)=>(e[t.id]=t,e),{}):{},_=d.filter(e=>void 0===m[e.id]);return{subtitle:r,title:i,description:s,count:c-(null!=(o=null==n?void 0:n.microCredits_count)?o:0),offers:(l=_,a=t,l.sort((e,t)=>{var n,o;let{online_application:l}=e,{online_application:a}=t;return(null!=(n=a.best_offer_catalogue)?n:0)-(null!=(o=l.best_offer_catalogue)?o:0)||(l.order||1/0)-(a.order||1/0)}).map(e=>(function(e,t){var n;let{approvalStatus:o,rating:l}=null!=(n=t[e.mfo_url])?n:{rating:"4.87",approvalStatus:x.Q.High},a=(0,A.Im)(e.online_application),r=(0,A.$A)(e.interest_rate),i=(0,A.b8)(e.amount),s=(0,A.gI)(e.period),c={id:String(e.id),url:e.url,title:e.title,mfo_url:e.mfo_url,mfo_name:e.mfo_name,approvalStatus:o,rating:l,online_application:a,interest_rate:r,amount:i,period:s,legal_name:e.legal_name,mfo_id:String(e.bank_id),full_price:(0,A.P)(e.full_price)};(0,u.uI)(e.site.title)&&(c.site=e.site.title),null!==e.term_without_percents&&(c.term_without_percents=e.term_without_percents);let d=(0,A.q8)({logo_mob:e.logo_mob,logo_mob_png:e.logo_mob_png});return void 0!==d&&(c.logo_mob=d),c})(function(e){var t;let n=(0,A.TR)(e.full_price)?e.full_price:function(e){if(null===e||""===e)return{to:"0",from:"0"};let t=null===e.from||void 0===e.from||""===e.from?"0":(0,u.C$)(e.from);return{...e,to:"0",from:t}}(e.full_price),o=(0,A.M$)(e.interest_rate)?e.interest_rate:{...t=e.interest_rate,to:t.to||"0",from:t.from||"0"},l={...e.online_application,url:(0,u.uI)(e.online_application.url)?e.online_application.url:"EMPTY_URL"};return{...e,full_price:n,interest_rate:o,online_application:l}}(e),a)))}}(o,l,a)}var I=n(48230),O=n.n(I),P=n(89099),U=n(20988),E=n(10027),F=n(16891),z=n(31655),D=n(62576),Y=n(83188),J=n(87162),Z=n(5153),B=n(37105);let H=B.h.MICROZAJMY,q=[{id:1,label:"Условия",name:Z.s1.conditions},{id:2,label:"Требования",name:Z.s1.requirements},{id:3,label:"Погашения",name:Z.s1.repayment}];var V=n(62728);let K=(0,l.memo)(e=>{let{data:t,company:n,pageUrl:a}=e,{tabsContent:r,tabsList:i}=(e=>{let t=(0,l.useMemo)(()=>(0,Z.Ux)(e),[e]),n=(0,l.useMemo)(()=>q.filter(e=>t[e.name].some(e=>(0,V.a)(e.value))),[t]);return{tabsContent:t,tabsList:n}})(t);return(0,o.jsx)(Y.H,{scrollBlockId:J.uB,pageUrl:a,seoText:t.short_description&&t.short_description.length>5?null==t?void 0:t.short_description:void 0,title:"О займе",offerUpdateData:t.m_updated_at,bank:{logoMobile:n.logo_mob,description:n.short_description,url:"/mfo/".concat(n.url),registrationNumber:n.legal_entities[0].registration_number,legalName:n.legal_entities[0].name,legalAddress:n.legal_entities[0].address,inn:n.legal_entities[0].inn,ogrn:n.legal_entities[0].ogrn},tabsList:i,tabsContent:r,aboutCompanyLabel:"Об организации",site:n.site})});K.displayName="MicroloanAbout";var $=n(66295),G=n(78131);let W={src:"/kredity/assets/_next/static/media/banner-7.5a596896.svg",height:206,width:300,blurWidth:0,blurHeight:0};var Q=n(14873),X=function(e){return e.LEAD="lead",e.MASS="mass",e}({});let ee=(0,l.memo)(e=>{let{isMobile:t,offerType:n,url:a}=e,r=(0,l.useMemo)(()=>[{id:1,image:G.A,text:"Чтобы оформить этот заем, перейдите&#160;на сайт организации",buttonText:"Перейти на сайт",link:a,types:[X.LEAD]},{id:2,image:$.A,text:"Чтобы оформить этот заем, обратитесь в организацию",types:[X.MASS]},{id:3,image:W,text:"Посмотрите другие предложения о займах на Финуслугах",buttonText:n===X.LEAD?"Посмотреть другие предложения":"Посмотреть",link:"/".concat(B.h.MICROZAJMY),types:[X.LEAD,X.MASS]}].filter(e=>e.types.find(e=>e===n)),[a,n]);return(0,o.jsx)(Q.N,{title:"Где оформить заем",pageUrl:B.h.MICROZAJMY,id:J.ov,isMobile:t,slides:r})});ee.displayName="MicroloanApplySteps";var et=n(49995),en=n(30557);let eo={src:"/kredity/assets/_next/static/media/app-qr-microloan-detail.c3b8ee45.svg",height:256,width:256,blurWidth:0,blurHeight:0};var el=n(5219),ea=n(52841),er=n(63292),ei=n(31257),es=n(63921);function ec(e,t,n){let o=1!==e.online_application.commercial&&void 0!==t.redirect_to?t.redirect_to:e.online_application.url;return(0,es.o)(o,n)}var eu=n(79807),ed=n(83024),em=n(53172),e_=n(14552),ep=n.n(e_);let ev="Где оформить заем",ef="Не подходит предложение?",eg=(0,l.memo)(e=>{let{data:t,className:n,isMobile:a,offerType:r,company:i,bannerUrl:s,control:c}=e,u=(0,ed.fH)(),d=ec(t,c,{offerId:String(t.id)}),m=(0,l.useMemo)(()=>{var e;let n=[];return n.push({label:"ПСК",value:(0,en.o)(t.full_price),description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."},{label:"Процентная ставка",value:(0,eu.sP)(Number(t.interest_rate.from),Number(t.interest_rate.to))}),(null==(e=t.repayment_procedure)?void 0:e.text)!==void 0&&n.push({label:"Погашение",value:t.repayment_procedure.text}),n.push({label:"Срок",value:"от ".concat(t.period.from," до ").concat(t.period.to," дней")}),n},[t.full_price,t.repayment_procedure,t.period.from,t.period.to,t.interest_rate]),_=(e,t)=>{(0,ei._)({customerId:u,eventCategory:B.h.MICROZAJMY,eventAction:ei.y.button,eventActionText:e}),(0,em.e)(t,{offset:a?0:-100,position:"top"})};return(0,o.jsxs)(F.J,{className:(0,et.A)(ep().container,ep().containerFull,n),children:[(0,o.jsxs)("div",{className:ep().left,children:[(()=>{var e,n;return(0,o.jsx)(ea.E,{url:t.url,bank:{logoMob:null==i?void 0:i.logo_mob,url:"/mfo/".concat(null==i?void 0:i.url),name:null!=(e=null==i?void 0:i.name)?e:t.mfo_name},pageUrl:B.h.MICROZAJMY,title:"Заем \xab".concat(t.title,"\xbb от ").concat(null!=(n=null==i?void 0:i.name)?n:t.mfo_name),isMobile:a,moreAboutLinkText:"Подробнее о займе",scrollBlockId:J.uB,isSmall:!0,className:ep().promo})})(),(0,o.jsx)(er.P,{qr_image:eo,bannerUrl:s,isSmall:!0,className:ep().qrDesc})]}),(0,o.jsx)("div",{className:ep().right,children:(0,o.jsx)(el.r,{captionTitle:"Получите сегодня",pageUrl:B.h.MICROZAJMY,amount:Number(t.amount.to),disclaimer:"Предварительные условия. Не оферта",tag:t.online_application.commercial_desc,tagTheme:"yellow",footerActions:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(U.$n,{rel:"nofollow",as:"a",variant:"primary",target:"_blank",className:ep().button,href:d,onClick:()=>{(0,ei._)({customerId:u,eventCategory:B.h.MICROZAJMY,eventAction:ei.y.link,eventActionText:"Получить деньги"})},children:"Получить деньги"}),(r===X.LEAD||r===X.MASS)&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(U.$n,{as:"a",variant:"secondary",className:ep().button,onClick:()=>_(ev,J.ov),children:ev}),(0,o.jsx)("button",{onClick:()=>_(ef,J.yB),className:(0,et.A)(ep().button,ep().buttonLink),children:ef})]})]}),valuesList:m,className:ep().computedBlock})})]})});eg.displayName="MicroloanInfo";var eh=n(40419),eb=n(3010),ex=n(16196),ey=n(16416),ej=n(18108),ew=n.n(ej);let eN=e=>{let{data:t,mfo:n}=e;if(!t)return null;let a=(0,Z.At)(t,n);return(0,o.jsxs)("div",{className:ew().content,children:[(0,o.jsx)("h3",{className:ew().listTitle,children:"Параметры займа"}),(0,o.jsx)("ul",{className:ew().list,children:null==a?void 0:a.params.map(e=>(0,o.jsx)(l.Fragment,{children:(0,o.jsx)(ex.o,{...e})},e.label))}),a&&a.conditions.length>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{className:ew().listTitle,children:"Условия"}),(0,o.jsx)("ul",{className:ew().list,children:a.conditions.map(e=>(0,o.jsx)(l.Fragment,{children:(0,o.jsx)(ex.o,{...e})},e.label))})]}),a&&a.company.length>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{className:ew().listTitle,children:"Об организации"}),(0,o.jsx)("ul",{className:ew().list,children:a.company.map(e=>(0,o.jsx)(l.Fragment,{children:(0,o.jsx)(ex.o,{...e})},e.label))})]})]})},eC=e=>{var t;let{isOpen:n,mainPageUrl:a,data:r,mfo:i,control:s,onClose:c}=e,u=ec(r,s),d=(0,ed.fH)(),m="Все условия по займу",_="Получить деньги",p=e=>{(0,ei._)({customerId:d,eventAction:ei.y.link,eventActionText:e,eventCategory:a,eventLabel:null==r?void 0:r.id})};(0,l.useEffect)(()=>{(null==r?void 0:r.mfo_name)&&(null==r?void 0:r.id)&&n&&(0,ei._)({customerId:d,eventAction:ei.y.popup,eventActionText:null==r?void 0:r.mfo_name,eventCategory:a,eventLabel:null==r?void 0:r.id})},[n,a,null==r?void 0:r.id,null==r?void 0:r.mfo_name,d]);let v=(0,o.jsxs)("div",{className:ew().buttons,children:[(0,o.jsx)(U.$n,{as:"a",target:"_blank",variant:"secondary",href:"/".concat(B.h.MICROZAJMY,"/").concat(null==r?void 0:r.url),className:(0,et.A)(ew().button),onClick:()=>p(m),children:m}),(0,o.jsx)(U.$n,{as:"a",target:"_blank",className:ew().button,href:u,onClick:()=>p(_),children:_})]});return(0,o.jsx)(eb.Z,{children:(0,o.jsx)(U.aF,{open:n,onClose:c,footer:{children:v},header:{title:null!=(t=null==r?void 0:r.mfo_name)?t:""},size:"l",children:(0,o.jsxs)("div",{className:ew().container,children:[(0,o.jsx)(eN,{data:r,mfo:i}),(0,o.jsx)(ey.n,{pageUrl:a,offerDate:r.m_updated_at})]})})})};var eM=n(54587),ek=n.n(eM),eA=n(91063),eS=n(87087),eT=n(44694),eL=n(83933),eR=n.n(eL);let eI=(0,l.memo)(e=>{let{data:t,className:n,onDetailInfoClick:a,eventCategory:r,control:i}=e,s=(0,ed.fH)(),c=ec(t,i),u=(0,l.useMemo)(()=>(e=>{var t;let n="",o="";return o=1===e.online_application.commercial?"commercial":"non_commercial",n="Подача заявки на сайте организации",{id:e.id,bankName:e.mfo_name,isInstantlyMicroloan:"Быстрый способ получить деньги"===e.online_application.commercial_desc,isFreeFirstMicroloan:"Первый заем бесплатно"===e.online_application.commercial_desc,logo:null!=(t=e.logo_mob)?t:"",title:e.title,url:e.url,legalName:(e=>{if(e)try{let t=JSON.parse(e);if(Array.isArray(t))return t[0].name;return t.name}catch(t){return e}return""})(e.mfo_name),period:void 0!==e.period.to?Number(e.period.to):Number(e.period.from),rate:void 0===e.interest_rate.from?void 0:Number(e.interest_rate.from),rateTo:void 0===e.interest_rate.to?void 0:Number(e.interest_rate.from),currency:"₽",detailUrl:"/".concat(B.h.MICROZAJMY,"/").concat(e.url),typeText:n,eventValue:o,amountFrom:Number(e.amount.from),amountTo:Number(e.amount.to),site:e.site}})(t),[t]),d=(0,l.useMemo)(()=>{let e=[{label:"Заем",variant:"orange"},{label:"Подача заявки на сайте организации",variant:"primary"}];return u.isInstantlyMicroloan&&e.push({label:"Деньги мгновенно",variant:"primary"}),u.isFreeFirstMicroloan&&e.push({label:"0% на первый заем",variant:"primary"}),e},[u]),m=(0,l.useRef)(null),_=(0,l.useRef)(!1),p=(0,l.useRef)(null),v=(0,l.useMemo)(()=>({caption:"Сумма",text:(0,eu.ej)({from:u.amountFrom,to:u.amountTo},{currency:u.currency})}),[u]),f=(0,l.useMemo)(()=>({caption:"Процентная ставка",text:(0,eu.sP)(Number(u.rate),Number(u.rateTo))}),[u]),g={caption:"Срок",text:"до ".concat(u.period," дней")},h=(0,l.useCallback)(()=>{(0,ei._)({customerId:s,eventCategory:r,eventAction:ei.y.button,eventActionText:"open_modal"}),a(u)},[u,r,a,s]),b=(0,l.useCallback)(e=>{let[t]=e;1===t.intersectionRatio&&!_.current&&((0,eA.o)({event:"data-event",eventAction:"show_in_catalog",eventCategory:r,eventLabel:u.id,customer_id:s}),_.current=!0,m.current&&p.current&&m.current.unobserve(p.current))},[u.id,r,s]);return(0,l.useEffect)(()=>{m.current&&p.current&&m.current.unobserve(p.current),!_.current&&p.current&&(m.current=new IntersectionObserver(b,{root:null,threshold:[1]}),m.current.observe(p.current))},[b]),(0,o.jsx)("div",{ref:p,className:n,onClick:()=>{var e;return e="click_button_".concat((0,eS.y)("Подать заявку")),void((0,eA.o)({event:"data-event",eventAction:e,eventCategory:r,eventLabel:u.id,eventValue:u.eventValue,customer_id:s}),(0,ei._)({customerId:s,eventCategory:B.h.MICROZAJMY,eventAction:ei.y.link,eventActionText:u.title,eventLabel:u.id,url:c}))},children:(0,o.jsx)(eT.M,{icon:u.logo?(0,o.jsx)("div",{className:eR().logo,children:(0,o.jsx)(ek(),{width:56,height:56,src:u.logo,alt:"logo"})}):(0,o.jsx)("div",{className:eR().placeholderLogo}),companyName:u.bankName,productName:u.title,productUrl:u.detailUrl,buttonUrl:c,tags:d,advantageAmountFrom:v,advantageBonus:f,advantageAmountTo:g,onDetailInfoClick:h,className:eR().plate})})});eI.displayName="MicroloanListItem";var eO=n(96759);function eP(e,t){let n=new URLSearchParams({isNewApi:String(t),url:e});return(0,s.pY)("microloans/mfo?".concat(n))}var eU=n(64028),eE=n.n(eU);let eF=(0,l.memo)(e=>{let{mfoName:t,mfoUrl:n,currentMicroloanId:a,microloans:i,microloansFinuslugi:s,className:c,isNewApi:u,control:d}=e,m=(0,ed.fH)(),[_,p]=(0,l.useState)(),[v,f]=(0,l.useState)(),[g,h]=(0,l.useState)(!1),b=(0,l.useMemo)(()=>{let e=i?i.filter(e=>e.id!==a):[];return(0,eO.q)({productList:e,anotherList:e,count:D.gx})},[i,a]),x=(0,l.useMemo)(()=>{let e=s||[];return(0,eO.q)({productList:e,anotherList:e,count:D.a0-b.length})},[b.length,s]),{asPath:y}=(0,P.useRouter)(),j=y.split("?")[0].split("/")[1],w=(0,l.useMemo)(()=>({bankList:b.filter(e=>void 0!==e.interest_rate.to||void 0!==e.interest_rate.from),finuslugiList:x.filter(e=>void 0!==e.interest_rate.from||void 0!==e.interest_rate.to)}),[b,x]),N=(0,l.useCallback)(async e=>{if(e)return(0,A.BV)(e.url,u)},[u]),C=(0,l.useCallback)(async e=>{let t=await N(e),n=void 0!==t?await eP(t.mfo_url,u):void 0;p(t),f(n),e&&(0,ei._)({customerId:m,eventCategory:B.h.MICROZAJMY,eventAction:ei.y.popup,eventActionText:e.title,eventLabel:e.id}),h(!0)},[N,u,m]),M="".concat((0,r.UK)().mainBaseUrl,"/mfo/").concat(n,"/mikrozajmy");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("section",{id:J.cA,className:(0,et.A)(eE().container,c),children:[(0,o.jsx)("h3",{className:eE().title,children:"Другие предложения"}),(0,o.jsxs)(F.J,{children:[!!w.bankList.length&&(0,o.jsxs)("section",{className:eE().offersListContainer,children:[(0,o.jsxs)("p",{className:eE().listTitle,children:["Займы онлайн от ",t]}),w.bankList.map(e=>(0,o.jsx)(l.Fragment,{children:(0,o.jsx)(eI,{onDetailInfoClick:C,className:eE().listItem,data:e,control:d,eventCategory:H,text:"Подать заявку"},e.url)},e.id)),(0,o.jsx)(eh.e,{offPadding:!0,text:"Bсе предложения от организации",href:M,target:"_blank",iconColor:"light",mainPageUrl:B.h.MICROZAJMY})]}),!!w.finuslugiList.length&&(0,o.jsxs)("section",{className:eE().offersListContainer,children:[(0,o.jsx)("p",{className:eE().listTitle,children:"Предложения на Финуслугах"}),w.finuslugiList.map(e=>(0,o.jsx)(l.Fragment,{children:(0,o.jsx)(eI,{onDetailInfoClick:C,className:eE().listItem,data:e,control:d,eventCategory:H,text:"Подать заявку"},e.url)},e.id)),(0,o.jsx)(eh.e,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"/".concat(j),target:"_blank",iconColor:"light",mainPageUrl:B.h.MICROZAJMY})]})]})]}),void 0!==_&&void 0!==v?(0,o.jsx)(eC,{data:_,mfo:v,isOpen:g,mainPageUrl:H,control:d,onClose:()=>{h(!1)}}):null]})});eF.displayName="MicroloansList";var ez=n(99388),eD=n(75027),eY=n(30228),eJ=n(5552),eZ=n(96470),eB=n(9837),eH=n(66146);function eq(e){let t=e.from,n=e.to;return{minValue:void 0!==t?Number(t):1e4,maxValue:void 0!==n?Number(n):void 0}}function eV(e){let t=e.reduce((e,t)=>{let n=eq(t.amount);return e.lowPrice=Math.min(e.lowPrice,n.minValue),void 0!==n.maxValue&&(e.highPrice=Math.max(e.highPrice,n.maxValue)),e},{lowPrice:1/0,highPrice:-1/0});return{...Number.isFinite(t.lowPrice)&&{lowPrice:t.lowPrice},...Number.isFinite(t.highPrice)&&{highPrice:t.highPrice}}}function eK(e){let t={"@type":"MonetaryAmount",name:"Сумма займа",minValue:e.minValue,currency:"RUB"};return void 0!==e.maxValue&&(t.maxValue=e.maxValue),t}function e$(e,t){let n={"@type":"QuantitativeValue",name:"Срок займа",minValue:Number(e.from),maxValue:Number(e.to)};return void 0!==t&&(n.unitCode=t),n}function eG(e,t){let n=t.from,o=t.to;if(void 0!==n||void 0!==o)return void 0!==n&&(e.minValue=Number(n)),void 0!==o&&(e.maxValue=Number(o)),e}function eW(e){return eG({"@type":"QuantitativeValue",name:"Процентная ставка",unitText:"% в день"},e)}var eQ=n(27116);let eX={min:1900,max:2599},e0={from:0,to:.8},e1=(0,l.memo)(e=>{let{offer:t,company:n,rating:l,description:a}=e,i=function(e,t,n,o){var l;let{mainBaseUrl:a}=(0,r.UK)(),i=null!=(l=null==t?void 0:t.name)?l:e.mfo_name,s="Заем \xab".concat(e.title,"\xbb от ").concat(i),c="".concat(a,"/").concat(B.h.MICROZAJMY,"/").concat(e.url),u=()=>{var n;let o={"@type":"FinancialService",name:i,url:"".concat(a,"/mfo/").concat(e.mfo_url)},l=null==t||null==(n=t.legal_entities[0])?void 0:n.registration_number;return void 0!==l&&(o.leiCode=l),o};return(()=>{var l,a,r;let d={"@context":"https://schema.org","@type":"Product",name:s,description:o,url:c,brand:u(),aggregateRating:{"@type":"AggregateRating",name:"Рейтинг займа ".concat(i," ").concat(e.title),ratingValue:Number(n),reviewCount:(a=e.url,eX.min+(0,eH.t)(a)%(eX.max-eX.min+1)),bestRating:5,worstRating:1},offers:{"@type":"Offer",url:c,priceCurrency:"RUB",price:0,valueAddedTaxIncluded:!0,itemOffered:{"@type":"LoanOrCredit",name:s,currency:"RUB",amount:eK(eq(e.amount)),loanTerm:e$(e.period,"DAY"),interestRate:null!=(r=eW(e.interest_rate))?r:eW(e0),provider:u()}}},m=null!=(l=e.logo_mob)?l:null==t?void 0:t.logo_mob;return void 0!==m&&(d.image=m),d})()}(t,n,l,a);return(0,o.jsx)(eQ.S,{schema:i})});e1.displayName="MicroloanDetailSchema";var e2=n(66460),e8=n(6980),e3=n(80490),e4=n(92666),e5=n(99275),e7=n(34787),e6=n.n(e7);function e9(e){let{offer:t,journal:n,questions:a,company:i,refererTag:s,offers:c,offersFinuslugi:u,support:d,rating:m,isNewApi:_,control:p}=e;(0,ez.eg)(ez.ch.Microloan);let{asPath:v}=(0,P.useRouter)(),{trackerBaseUrl:f}=(0,r.UK)(),g=(0,l.useMemo)(()=>({offerId:String(t.id)}),[t.id]),h=(0,es.o)(t.online_application.url,g),b=(0,es.o)("".concat(f,"/click.php?key=904186f18bc17d4be56b"),g),x=1===t.online_application.commercial?X.LEAD:X.MASS,y=(0,eJ.sw)(),j=a.map(e=>({title:e.title,text:e.text.map(e=>e.data.html).join(""),plainText:e.text.map(e=>(0,eZ.NC)(e.data.html)).join("").trim()})),w=(0,eY.I)(D.Js),N=(0,eD.I)({bannersTitle:[D.BZ.MICROLOAN_DETAIL],queryParams:w}),{region:C,town:M}=(0,e4.z)(),k="Займы в МФО ".concat(i.name,": \xab").concat(t.title,"\xbb - взять и оформить"),A="Займ в ".concat(i.name,": \xab").concat(t.title,"\xbb со ставкой от ").concat(t.interest_rate.from||0,"% онлайн наличными или на карту. Полные условия и информация о МФО ").concat(i.name," - требования и реквизиты онлайн на Финуслугах"),{mainBaseUrl:S}=(0,r.UK)();return(0,o.jsxs)("main",{className:e6().page,children:[(0,o.jsx)(E.I,{title:k,description:A,productId:String(t.id)}),(0,o.jsx)(e2.t,{}),(0,o.jsx)(eB.c,{questions:j}),(0,o.jsx)(e1,{offer:t,company:i,rating:m,description:A}),(0,o.jsx)("div",{className:e6().navigationWrapper,children:(0,o.jsx)(F.J,{children:(0,o.jsx)(U.BI,{className:e6().breadcrumbs,items:(()=>{var e;let n=(null==M?void 0:M.name_p)||(null==C?void 0:C.name_p)?" в ".concat((null==M?void 0:M.name_p)||(null==C?void 0:C.name_p)):"",o="".concat((null==C?void 0:C.url)?"/reg_".concat(null==C?void 0:C.url):"").concat((null==M?void 0:M.url)?"/".concat(null==M?void 0:M.url):""),l=v.split("?")[0].split("/")[1],a=[{label:"Главная",href:"/"},{label:"Займы".concat(n),href:"/".concat(l).concat(o)}];return s&&a.push({label:"".concat(s.name).concat(n),href:"/".concat(l,"/teg_").concat(s.url).concat(o)}),a.push({label:"".concat(null!=(e=null==i?void 0:i.name)?e:t.mfo_name," Заем ").concat(t.title)}),a})()})})}),(0,o.jsx)(eg,{bannerUrl:N.microload_detail,offerType:x,isMobile:y,className:e6().info,data:t,company:i,control:p}),(0,o.jsx)(F.J,{className:e6().about,children:(0,o.jsx)(K,{data:t,company:i,pageUrl:B.h.MICROZAJMY})}),(0,o.jsx)(ee,{url:h,offerType:x,isMobile:y}),(0,o.jsx)(eF,{mfoName:t.mfo_name,mfoUrl:t.mfo_url,currentMicroloanId:t.id,microloans:c,microloansFinuslugi:u,isNewApi:_,control:p}),(0,o.jsx)(z.T,{url:b,mainPageUrl:H,text:"Посмотрите ТОП выгодных предложений по срочным займам с онлайн-заявкой и ставками от 0%"}),(null==n?void 0:n.posts.length)>0&&(0,o.jsx)(e8.C,{posts:null==n?void 0:n.posts,eventCategory:B.h.MICROZAJMY}),(0,o.jsx)(e3.E,{value:d}),(0,o.jsx)(e5.m,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,o.jsx)(O(),{...e}),dataLayerPush:eA.o,questions:j,eventCategory:"credits_support_block",href:"".concat(S,"/help/credits"),checkAllText:"Читать все вопросы про займы"})]})}n(98473);var te=n(44837),tt=n(84883),tn=n(2510);async function to(){var e,t;let[n,o,l]=await Promise.all([(0,s.ZP)("microloan-tags"),(0,te.B)(),(0,tt.I)()]),a={...l,...o};return e=n.data,t=a,e.reduce((e,n)=>(n.url!==tn.Z2&&e.set(n.url,function(e,t){let{tagName:n,url:o}=e,l={name:n,url:o};return void 0!==t[o]&&(l.url_redirect=t[o]),l}(n,t)),e),new Map)}var tl=n(23517);async function ta(e){return e?to():(await (0,s.zy)("MicroCredits.json?tags&short=1")).microCredit_tags.reduce((e,t)=>(t.name!==tn.Z2&&e.set(t.url,function(e){let{tag_name:t,url:n,url_redirect:o}=e,l={name:t,url:n},a=(0,tl.Y)(o);return void 0!==a&&(l.url_redirect=a),l}(t)),e),new Map)}new c.AP(ta),n(81787);var tr=n(23857);function ti(e){let{offer:t,journal:n,questions:l,company:a,offers:r,offersFinuslugi:i,layout:s,refererTag:c,support:u,rating:d,isNewApi:m,control:_}=e;return(0,o.jsx)(tr.P,{data:s,children:(0,o.jsx)(e9,{offer:t,company:a,offers:r,offersFinuslugi:i,journal:n,questions:l,refererTag:c,support:u,rating:d,isNewApi:m,control:_})})}n(7455);var ts=n(24523),tc=n(89064),tu=n(72080),td=n(75972),tm=n(21436),t_=n.n(tm);let tp=(0,l.memo)(e=>{let{children:t,filterRef:n,count:l,isLoading:a,chips:r,onParamsClick:i,onShowClick:s}=e;return(0,o.jsxs)("div",{className:t_().wrap,ref:n,children:[(0,o.jsxs)("div",{className:t_().top_row,children:[(0,o.jsx)("div",{className:t_().top_row_content,children:t}),(0,o.jsx)("div",{className:t_().top_row_buttons,children:(0,o.jsx)(U.$n,{size:"m",onClick:s,className:t_().show_button,pending:a,disabled:a,label:"Показать".concat(l?" ".concat(l):"")})})]}),(0,o.jsx)("div",{className:t_().chips_row,children:(0,o.jsx)(td.P,{chips:r,onParamsClick:i,useLinkChips:!0})})]})});tp.displayName="MainFilter";var tv=n(62835),tf=n(40818),tg=n(47052),th=n(38200),tb=n(67347),tx=n(5082),ty=n(31070),tj=n.n(ty),tw=n(87622),tN=n.n(tw);let tC=(0,l.memo)(e=>{let{heading:t,subtitle:n,tag:i,className:s}=e,c=(0,ed.fH)(),{handleToggleModal:u}=(0,a.u)(),d=(0,tg.Y)(),m=(0,eJ.sw)(),{asPath:_}=(0,P.useRouter)(),p=(0,th.G)(),{region:v,town:f}=(0,e4.z)(),g="/".concat(_.split("?")[0].split("/")[1]),h=(null==f?void 0:f.name_p)||(null==v?void 0:v.name_p),b=h?" в ".concat(h):"",x="".concat(v?"/reg_".concat(v.url):"").concat(f?"/".concat(f.url):""),{mainBaseUrl:y}=(0,r.UK)(),j=((e,t,n,o,l,a)=>{let r='{"@type":"ListItem","position":1,"name":"Финуслуги","item":"'.concat(e,'"}'),i='{"@type":"ListItem","position":2,"name":"Микрозаймы'.concat(o,'","item":"').concat(e,"/\n      ").concat(l).concat(a,'\n      "}'),s=',{"@type":"ListItem","position":3,"name":"&#128181 '.concat(n).concat(o,'","item":"').concat(e,"/").concat(l).concat(t?"/teg_".concat(t.url):"").concat(a,'"}'),c=t?s:"";return"{".concat('"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":['.concat(r),",").concat(i).concat(c,"]}")})(y,i,t,b,g,x),w=(0,l.useCallback)(()=>{(0,ei._)({customerId:c,eventAction:ei.y.link,eventActionText:"glavnaya",url:y})},[y,c]),N=(0,l.useCallback)(()=>{u(!0),(0,ei._)({customerId:c,eventAction:ei.y.popup,eventActionText:"region_".concat(h)})},[h,u,c]);return(0,o.jsxs)("div",{className:(0,et.A)(s),children:[(0,o.jsx)("div",{className:(0,et.A)(tj().background,tj().newLayout,"bg-".concat(p))}),(0,o.jsxs)(F.J,{children:[(0,o.jsxs)("div",{className:(0,et.A)(tj().breadcrumbs),children:[(0,o.jsx)(U.BI,{className:tj().breadcrumbs,items:(()=>{let e=[{label:"Главная",href:"/"}];return i&&e.push({label:"Микрозаймы".concat(b),href:"".concat(g).concat(x)}),e.push({label:"".concat(t).concat(i?"":b)}),e})(),isMobile:m,onClick:w}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:j}})]}),(0,o.jsxs)("div",{className:tj().container,children:[(0,o.jsxs)("div",{className:tj().content,children:[(0,o.jsxs)("div",{className:tj().text,children:[(0,o.jsxs)("h1",{className:tj().title,children:[t," ",h&&(0,o.jsxs)(o.Fragment,{children:["в"," ",(0,o.jsx)("span",{onClick:N,className:tj().location,children:h})]})]}),(0,o.jsx)(tb.j,{tag:"p",className:tN().subtitle,children:n})]}),(0,o.jsx)("div",{className:tj().banner,children:(0,o.jsx)(tv.L,{config:d,params:tf.ZA})})]}),(0,o.jsx)(tx.H,{className:tj().utpTags})]})]})]})});tC.displayName="PageHeading";var tM=n(69932),tk=n(41771),tA=n(11404),tS=n(4149),tT=n(48673),tL=n(87768);let tR=[{value:"cash",label:"Наличными"},{value:"to_account",label:"На счет"},{value:"to_card",label:"На карту"}],tI=[{value:"not_required",label:"Не требуется"},{value:"permanent",label:"Постоянная"},{value:"temp",label:"Временная"}],tO=[{value:b.NotRequired,label:"Не требуется"},{value:b.Pledge,label:"Залог"},{value:b.Guarantee,label:"Поручительство"},{value:b.Full,label:"Залог и поручительство"}],tP=[{value:"pensioner",label:"Пенсионер"},{value:"employee_for_hire",label:"Работник по найму"},{value:"individual_entrepreneur",label:"Индивидуальный предприниматель"},{value:"civil_servant",label:"Госслужащий"},{value:"soldier",label:"Военнослужащий"},{value:"student",label:"Студент"}],tU=[{label:"Подача заявки онлайн",value:"1"}],tE=[{label:"Сначала популярные",value:"order"},{label:"По ставке",value:"rate"},{label:"По сумме",value:"amount"}];var tF=n(87057),tz=n(15462),tD=n(40090),tY=n(9640),tJ=n(34381),tZ=n.n(tJ);let tB=(0,ts.O)(),tH=(0,l.memo)(e=>{let{mfos:t,filter:n,onChange:l}=e,a=(0,ed.fH)(),r=(e,t,n)=>{!function(e,t,n){tB(()=>(0,ei._)({customerId:n,eventAction:ei.y.filterCatalog,eventCategory:ei.y.filterCatalog,eventLabel:(0,eS.y)(e),eventValue:"string"==typeof t?t:JSON.stringify(t)}))}(n,t,a),l({[e]:t})};return(0,o.jsxs)("div",{className:tZ().content,children:[(0,o.jsxs)("div",{className:tZ().form,children:[(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsx)(tY.l,{label:"Форма выдачи",options:tR,value:n.form,onChange:e=>r("form",e,"Форма выдачи")})}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsx)(tF.F,{label:"Сумма",value:n.amount,onChange:e=>{r("amount",void 0!==e&&0!==e?Math.abs(e):void 0,"Сумма")}})}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsx)(U.YI,{label:"Срок",value:n.period,min:1,max:1095,withoutControls:!0,onChange:e=>r("period",e,"Срок")})}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsx)(tY.l,{label:"Категория заемщика",options:tP,value:n.borrower,onChange:e=>r("borrower",e,"Категория заемщика")})}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsx)(tY.l,{label:"Регистрация",options:tI,value:n.registration,onChange:e=>r("registration",e,"Регистрация")})}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsx)(tD.L,{label:"МФО",options:t,values:n.banks,onChange:e=>r("banks",e,"МФО")})})]}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsxs)("div",{className:tZ().sort,children:[(0,o.jsx)("h3",{className:tZ().sort_title,children:"Дополнительно"}),tU.map((e,t)=>{var l;return(0,o.jsx)("div",{className:tZ().fieldWrapper,children:(0,o.jsx)(U.Sc,{className:tZ().checkboxField,value:null==(l=n.online)?void 0:l.includes(e.value),label:e.label,onChange:()=>{var t,o;return r("online",(0,tz.L$)(null!=(o=null==(t=n.online)?void 0:t.split(","))?o:[],e.value).join(","),"Дополнительно")}})},t)})]})}),(0,o.jsx)("div",{className:tZ().wrap,children:(0,o.jsxs)("div",{className:tZ().sort,children:[(0,o.jsx)("h3",{className:tZ().sort_title,children:"Сортировка"}),tE.map((e,t)=>(0,o.jsx)("div",{className:tZ().sort_wrap,children:(0,o.jsx)(U.sx,{name:"radio",value:n.sort,label:e.label,checked:n.sort===e.value,className:tZ().checkboxField,onChange:()=>r("sort",e.value,"Сортировка")})},t))]})})]})});tH.displayName="MicroloansFilterContent";let tq=(0,l.memo)(e=>{let{mfos:t,visible:n,offersCount:l,filter:a,onHide:r,onChange:i,onDrop:s,onShow:c}=e;return(0,o.jsx)(tL.K,{count:l,isOpen:n,isMobile:!1,pageUrl:B.h.MICROZAJMY,title:"Все параметры",onCLickShow:()=>c(),onClose:r,onClickReset:()=>s(),children:(0,o.jsx)(tH,{filter:a,mfos:t,onChange:i})})});tq.displayName="MicroloansFilterModal";var tV=n(38813);function tK(e,t){var n,o;return null!=(o=null==(n=t.find(t=>t.value===e))?void 0:n.label)?o:e}var t$=n(36739),tG=n.n(t$);let tW=["onlajn_na_kartu","bez_otkaza","srochnye_onlajn","bez_procentov","s_plohoj_kreditnoj_istoriej","do_zarplaty","po_telefonu","bez_pasporta","na_kartu_mgnovenno","pod_zalog_pts","kruglosutochno"],tQ=(0,ts.O)(500),tX=(0,l.memo)(e=>{let{heading:t,subtitle:n,tag:a,filter:r,mfos:i,tags:s,offersCount:c,onFilterChange:u,onFilterApply:d,onFilterShow:m}=e,_=(0,eJ.sw)(),{asPath:p,push:v}=(0,P.useRouter)(),{visible:f,show:g,hide:h}=(0,tA.g)(),{ref:b,isSticky:x}=(0,tk.x)(),{region:y,town:j}=(0,e4.z)(),w=(0,tV._)(),N=(0,l.useMemo)(()=>i.map(e=>({value:e.id,label:e.name})),[i]);(0,l.useEffect)(()=>{f&&m()},[m,f]);let C=(0,l.useMemo)(()=>(function(e,t,n){let o="Форма выдачи",l=tR,a="Категория заемщика",r=tP,i="Регистрация",s=tI,c="Обеспечение",u=tO,d=t,m="Дополнительно",_=[{label:"Подача заявки онлайн",value:"1"}],p="Сортировка",v=tE,f=[];if(void 0!==e.form){var g,h;let t=null!=(h=null==(g=l.find(t=>t.value===e.form))?void 0:g.label)?h:e.form,a="".concat(o,": ").concat(t);f.push({value:t,label:a,color:"default",onChipClick:n})}if(void 0!==e.amount){let t="".concat(e.amount," ₽"),o="".concat("Сумма",": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}if(void 0!==e.period){let t="".concat(e.period," ").concat((0,tc.g3)(Number(e.period))),o="".concat("Срок",": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}if(void 0!==e.borrower){let t=tK(e.borrower,r),o="".concat(a,": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}if(void 0!==e.registration){let t=tK(e.registration,s),o="".concat(i,": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}if(void 0!==e.collateral){let t=tK(e.collateral,u),o="".concat(c,": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}if(void 0!==e.banks&&e.banks.forEach(e=>{d.forEach(t=>{e===t.value&&f.push({value:e,label:t.label,color:"default",onChipClick:n})})}),void 0!==e.online){let t=tK(e.online,_),o="".concat(m,": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}if(void 0!==e.sort){let t=tK(e.sort,v),o="".concat(p,": ").concat(t);f.push({value:t,label:o,color:"default",onChipClick:n})}return f})(r,N,g),[N,r,g]),M=(0,l.useCallback)(e=>{v(w(e),void 0,{shallow:!0})},[v,w]),k=(0,l.useMemo)(()=>{let e=(0,tS.$)(s,"url");return tW.reduce((t,n)=>{let o=e[n];return void 0!==o&&t.push(o),t},[])},[s]),A=p.split("?")[0].split("/")[1],S=(0,l.useMemo)(()=>k.map(e=>{let t=e.url_redirect||e.url,n=(null==a?void 0:a.url)===t;return{value:(0,tu.b)(A,n?void 0:e,y,j),label:e.name,color:n?"black":"default",onChipClick:M}}),[k,null==a?void 0:a.url,A,y,j,M]),[T,L]=(0,l.useState)(r);(0,tT.w5)(()=>{L(r)},[r]),(0,tT.w5)(()=>{L(e=>{let t={...e,sort:r.sort,order:r.order};return tQ(()=>{u(t)}),t})},[r.sort,r.order,u]);let R=(0,l.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;L(e=>{let n={...e,amount:t};return tQ(()=>{u(n)}),n})},[u]),I=(0,l.useCallback)(()=>{L({}),d({}),u({})},[d,u]),O=(0,l.useCallback)(()=>{d(T)},[T,d]),E=(0,l.useCallback)(()=>{h(),O()},[h,O]),z=(0,l.useCallback)(e=>{L(t=>{let n={...t,...e};return tQ(()=>{u(n)}),n})},[u]),D=(0,l.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;L(e=>{let n={...e,period:t};return tQ(()=>{u(n)}),n})},[u]),Y=(null==a?void 0:a.url)==="pod_zalog_pts"?{min:1e3,max:2e7}:{min:1e3,max:1e5},J=(null==a?void 0:a.url)==="pod_zalog_pts"?{min:1,max:730}:{min:1,max:365};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(tC,{heading:t,subtitle:n,tag:a}),(0,o.jsxs)(F.J,{className:(0,et.A)(tG().wrap,tG().filterContainer,{[tG().wrapSticky]:x}),children:[(0,o.jsxs)(tp,{filterRef:b,count:c,chips:S,onParamsClick:g,onShowClick:O,children:[(0,o.jsx)(U.Qr,{className:tG().input,label:"Сумма",value:T.amount,onChange:R,min:Y.min,max:Y.max,step:1e3,unit:"₽",ticks:[{value:Y.min,label:"".concat((0,eu.ZV)(Y.min)," ₽")},{value:Y.max,label:"".concat((0,eu.ZV)(Y.max)," ₽")}]}),(0,o.jsx)(U.Qr,{className:tG().input,label:"Срок",value:T.period,onChange:D,min:J.min,max:J.max,step:1,unit:void 0!==T.period?(0,tc.g3)(T.period):void 0,ticks:[{value:J.min,label:"".concat(J.min," день")},{value:J.max,label:"".concat(J.max," дней")}]})]}),(0,o.jsx)(tq,{visible:f,offersCount:c,filter:T,mfos:N,onChange:z,onHide:h,onDrop:I,onShow:E})]}),!_&&x&&(0,o.jsx)(tM.W,{chips:C,onParamsClick:g})]})});tX.displayName="MfoFilter";var t0=n(28036);let t1={[B.h.POTREBITELSKIE]:"Потребительские кредиты",[B.h.KARTY]:"Кредитные карты",[B.h.IPOTEKA]:"Ипотеку",[B.h.AUTOCREDIT]:"Автокредит",[B.h.MICROZAJMY]:"Микрозаймы",[B.h.CALCULATOR]:"Калькулятор"},t2={[B.h.POTREBITELSKIE]:"Подобрать",[B.h.KARTY]:"Выбрать",[B.h.IPOTEKA]:"Взять",[B.h.AUTOCREDIT]:"Оформить",[B.h.MICROZAJMY]:"Взять",[B.h.CALCULATOR]:"Подобрать"};var t8=n(50261),t3=n(21921);function t4(e){let t=[];return e.forEach(e=>{var n,o,l,a,r,i,s;switch(e.type){case t3.$G.Header:case t3.$G.SubHeader:t.push(e.data.text);break;case t3.$G.Paragraph:t.push((0,eZ.NC)(null!=(n=e.data.text)?n:""));break;case t3.$G.Link:t.push(e.data.text);break;case t3.$G.Dossier:t.push((0,eZ.NC)(null!=(o=e.data.text)?o:""));break;case t3.$G.Html:t.push((0,eZ.NC)(null!=(l=e.data.html)?l:""));break;case t3.$G.Annotation:t.push((0,eZ.NC)(null!=(a=e.data.text)?a:""));break;case t3.$G.CompanyAnnotation:t.push((0,eZ.NC)(null!=(r=e.data.text)?r:""));break;case t3.$G.Keynote:t.push((0,eZ.NC)(null!=(i=e.data.text)?i:""));break;case t3.$G.Table:t.push((0,eZ.NC)(null!=(s=e.data.html)?s:""))}}),t.join("").trim()}var t5=n(36012),t7=n(17137),t6=n(22252),t9=n(70590),ne=n(68082);let nt=[{title:"МФО",value:"mfo_name"},{title:"Сумма займа",value:"amount"},{title:"Срок займа",value:"period"},{title:"Кол-во дней без процентов",value:"term_without_percents"},{title:"ПСК",value:"full_price"},{title:"Ставка",value:"interest_rate"}];function nn(e,t){var n,o,l;switch(t){case"mfo_name":return e.mfo_name.toLowerCase();case"amount":return Number(null==(n=e.amount)?void 0:n.from);case"period":return Number(null==(o=e.period)?void 0:o.from);case"term_without_percents":return Number(e.term_without_percents)||0;case"full_price":return e.full_price.from;case"interest_rate":return void 0!==e.interest_rate.to?Number(null==(l=e.interest_rate)?void 0:l.to):0;default:throw Error("Dead code branch")}}function no(e){let{offers:t}=e,[n,a]=(0,l.useState)("term_without_percents"),[r,i]=(0,l.useState)("asc"),s=(0,l.useMemo)(()=>(0,ne.Q)(t,n,r,nn),[t,n,r]),c=(0,l.useMemo)(()=>s.map(e=>{let{id:t,logo_mob:n,mfo_name:o,full_price:l,amount:a,period:r,term_without_percents:i,interest_rate:s}=e,c="".concat(a.from&&"от ".concat(a.from," ₽")," до ").concat(a.to," ₽"),u="от ".concat(r.from," ").concat(r.to&&"до ".concat(r.to)," дней"),d=void 0!==i?"".concat(i," ").concat((0,tc.g3)(Number(i))):"0 ".concat((0,tc.g3)(0));return{id:t,logo:n,name:o,cells:[c,u,d,(0,en.o)(l),void 0!==s.to&&void 0!==s.from?(0,eu.sP)(Number(s.from),Number(s.to)):""]}}),[s]),u=(0,t6.s)(new Date);return(0,o.jsx)(t9.A,{caption:"Рейтинг составлен на основе отзывов пользователей и мнения экспертов Финуслуги. Дата обновления рейтинга: ".concat(u),columns:nt,rows:c,sort:n,sortOrder:r,onSortChange:(e,t)=>{a(e),i(t)}})}function nl(e){let{question:t,answers:n}=e;return(0,o.jsx)(eQ.S,{schema:{"@context":"https://schema.org","@type":"QAPage",mainEntity:{"@type":"Question",name:t,answerCount:n.length,acceptedAnswer:n.map(e=>({"@type":"Answer",text:e}))}}})}let na={question:"Почему оформлять займ лучше через Финуслуги?",answers:["✅ Высокая вероятность одобрения - 96%","\uD83D\uDE80 Быстрое одобрение от финансовых организаций","\uD83D\uDCBC Работаем только с проверенными официальными партнерами"]},nr=(0,l.memo)(()=>ni()?null:(0,o.jsx)(nl,{...na}));function ni(){let{region:e}=(0,e4.z)();return void 0!==e}nr.displayName="MicroloanQuestionSchema";var ns=n(18258),nc=n(1102),nu=n(2300),nd=n.n(nu);let nm=(0,l.memo)(e=>{let{mfos:t}=e;return(0,o.jsxs)(F.J,{className:nd().block,children:[(0,o.jsx)("h2",{className:nd().title,children:"Микрофинансовые организации"}),(0,o.jsx)("ul",{className:nd().list,children:t.map(e=>(0,o.jsxs)("li",{className:nd().item,children:[(0,o.jsx)(nc.vE,{className:nd().logo,url:e.logo,size:40,alt:""}),(0,o.jsxs)("div",{className:nd().info,children:[(0,o.jsx)("strong",{className:nd().name,children:e.name}),(0,o.jsxs)("p",{className:nd().registationNumber,children:[(0,o.jsx)("span",{children:"Рег. номер"}),(0,o.jsx)("span",{children:e.registration_number})]}),(0,o.jsx)("span",{className:nd().phone,children:e.phone})]})]},e.url))})]})});nm.displayName="LeadingMfos";let n_=(0,l.memo)(e=>{let{questions:t}=e,{region:n}=(0,e4.z)();return void 0!==n?null:(0,o.jsx)(eB.c,{questions:t})});n_.displayName="ShowcaseFaqSchema";let np=e=>{let{regions:t,tags:n,offers:a,town:i,townDublicates:s,region:c,tag:u,posts:d,mfos:m,leadingMfos:_,support:p,isNewApi:v}=e,{asPath:f}=(0,P.useRouter)(),g=(0,l.useMemo)(()=>"/".concat(f.split("?")[0].split("/")[1]),[f]),h=(0,l.useMemo)(()=>(function(e,t,n,o){var l;if(void 0===t||void 0===n)return"Частые вопросы";let a=null!=(l=null==o?void 0:o.name_p)?l:n.name_p;return"".concat(function(e,t){let n=t&&"DEFAULT"!==t.url?t.name:t1[e];return"".concat(t2[e]," ").concat(n.toLowerCase())}(e,t)," ").concat((0,t0.c)(a)," ").concat(a)})(B.h.MICROZAJMY,u,c,i),[u,c,i]),b=ni(),x=(0,l.useMemo)(()=>(function(e){let{tag:t,region:n,town:l,tags:a,regions:i,offers:s,mfos:c,questionHidden:u,townDublicates:d,isNewApi:m}=e,_=function(e,t){let{tag:n,region:l,town:a,townDublicates:r}=e;if(t)return n.text.map(e=>{let t=(0,t8.j)(e,l,a,r),n=(0,eZ.lA)(t.content);return{title:(0,t8.w)(t.title,l,a,r),text:(0,o.jsx)(eZ.t$,{children:n})}});let i=[];!l&&n.text&&i.push(...n.text.map(e=>{let t=(0,eZ.lA)((0,t8.j)(e).content);return{title:(0,t8.w)(e.title),text:(0,o.jsx)(eZ.t$,{children:t})}}));let s=function(e,t,n,l){if(e&&l.region_page&&(t||l.region_page.region_content&&l.region_page.region_content.length)&&(!t||l.region_page.town_content&&l.region_page.town_content.length))return(t?l.region_page.town_content:l.region_page.region_content).map(l=>{let a=(0,t8.j)(l,e,t,n),r=(0,eZ.lA)(a.content);return{title:(0,t8.w)(a.title,e,t,n),text:(0,o.jsx)(eZ.t$,{children:r})}})}(l,a,r,n);return void 0!==s&&i.push(...s),i}({tag:t,region:n,town:l,townDublicates:d},m),p=[],v=(e=>{let t=(0,t7.$)({offers:e,getBankKey:e=>e.mfo_id,getAmount:e=>Number(e.amount.to),getRate:e=>Number(e.interest_rate.to)}).slice(0,10);if(t.length>2)return{title:"Рейтинг МФО, в которых можно получить займы",text:(0,o.jsx)(no,{offers:t})}})(s);return void 0!==v&&p.push(v),p.push(..._),u||p.push(function(){let{question:e,answers:t}=na,n=t.map(e=>"<p>".concat(e,"</p>")).join(""),l="<p>Ответов: ".concat(t.length,"</p>").concat(n),a=[{type:t3.$G.Html,data:{html:l}}];return{title:e,text:(0,o.jsx)(eZ.eW,{data:a})}}()),p.push(...(0,ns.N)(B.h.MICROZAJMY,i,t,n,l,{nominativeCase:"Займы",genitiveCase:"микрозаймов"})),p.push(function(e,t,n){let l=e.reduce((e,o)=>{if(void 0===o.url_redirect){let l=(0,tu.b)(B.h.MICROZAJMY,o,t,n),a=(0,t5.AP)(l,o.name);e.push(a)}return e},[]);return{title:"Виды микрозаймов",text:(0,o.jsx)(t5.oL,{children:l})}}(a,n,l)),c.length>0&&p.push(function(e,t,n){let{mainBaseUrl:l}=(0,r.zj)(),a=(0,tu.b)(B.h.MICROZAJMY,void 0,t,n),i=e.map(e=>{let t="".concat(l,"/mfo/").concat(e.url).concat(a);return(0,t5.mZ)(t,e.name)});return{title:"Микрозаймы от МФО",text:(0,o.jsx)(t5.oL,{children:i})}}(c,n,l)),p})({tag:u,region:c,town:i,tags:n,regions:t,offers:a,mfos:m,questionHidden:b,townDublicates:s,isNewApi:v}),[v,m,a,b,c,t,u,n,i,s]),y=function(e,t){let{tag:n,region:o,town:l,townDublicates:a}=e,r=[];if(t)return n.text.filter(e=>e.withSchema).map(e=>{let t=(0,t8.j)(e,o,l,a),n=t4(t.content);return{title:(0,t8.w)(t.title,o,l,a),plainText:n}});!o&&n.text&&r.push(...n.text.map(e=>{let t=t4((0,t8.j)(e).content);return{title:(0,t8.w)(e.title),plainText:t}}));let i=function(e,t,n,o){if(e&&o.region_page&&(t||o.region_page.region_content&&o.region_page.region_content.length)&&(!t||o.region_page.town_content&&o.region_page.town_content.length))return(t?o.region_page.town_content:o.region_page.region_content).map(o=>{let l=(0,t8.j)(o,e,t,n),a=t4(l.content);return{title:(0,t8.w)(l.title,e,t,n),plainText:a}})}(o,l,a,n);return void 0!==i&&r.push(...i),r}({tag:u,region:c,town:i,townDublicates:s},v);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n_,{questions:y}),(0,o.jsx)(e5.m,{isAllExpanded:!0,sectionTitle:h,faqBlockTitle:"",Link:e=>(0,o.jsx)(O(),{...e}),dataLayerPush:eA.o,questions:x,eventCategory:"mfo_support_block",href:"".concat((0,r.UK)().mainBaseUrl,"/help"),checkAllText:"Читать все про займы"}),(0,o.jsx)(nm,{mfos:_}),d.length>0&&(0,o.jsx)(e8.C,{eventCategory:g,posts:d}),(0,o.jsx)(e3.E,{value:p})]})};var nv=n(60650),nf=n(18315),ng=n(12837);function nh(e){return{sectionTitle:"Параметры займа",body:e}}function nb(e){return{sectionTitle:"Условия",body:e}}function nx(e){return{label:"Срок займа",value:(0,eu.aB)(Number(e.from),Number(e.to)),description:"Минимальный и максимальный срок займа"}}function ny(e){return{label:"Сумма займа",value:(0,eu.jC)(e.from,e.to)}}function nj(e){return{label:"ПСК",value:e,description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."}}function nw(e){return{label:"Процентная ставка",value:(0,ng.t)({text:(0,eu.sP)(Number(e.from),Number(e.to)),comment:e.comment})}}let nN=(0,l.memo)(e=>{let{data:t,isOpen:n,control:a,isNewApi:r,onAllConditionsClick:i,onClose:s}=e,c=(0,ed.fH)(),u=ec(t,a),[d,m]=(0,l.useState)(),[_,p]=(0,l.useState)(),v=(0,l.useCallback)(()=>{t&&(0,eA.o)({event:"data-event",eventLabel:t.id,eventCategory:t.url,eventAction:"learn_more_catalog",customer_id:c})},[t,c]);(0,l.useEffect)(()=>{m(void 0),Promise.all([(0,A.BV)(t.url,r),eP(t.mfo_url,r)]).then(e=>{let[t,n]=e;m(t),p(n)})},[t.mfo_url,t.url,r]);let f=(0,l.useMemo)(()=>void 0!==d&&void 0!==_?(e=>{var t,n,o,l,a,r,i,s,c,u,d,m,_;let p=[nx(e.period),ny(e.amount)];p.push(nj((0,en.o)(e.full_price))),p.push(nw(e.interest_rate));let v=[function(e){return{label:"Обеспечение",value:(null==e?void 0:e.not_required)||!(null==e?void 0:e.text)?"Не требуется":(0,ng.t)(e)}}(e.loan)];((null==(t=e.purpose)?void 0:t.comment)||(null==(n=e.purpose)?void 0:n.text))&&v.push({label:"Цель выдачи",value:(0,ng.t)(e.purpose)}),((null==(o=e.application_term)?void 0:o.comment)||(null==(l=e.application_term)?void 0:l.text))&&v.push({label:"Срок выдачи",value:(0,ng.t)(e.application_term)}),((null==(a=e.form)?void 0:a.comment)||(null==(r=e.form)?void 0:r.text))&&v.push({label:"Форма выдачи",value:(0,ng.t)(e.form)}),((null==(i=e.fine)?void 0:i.comment)||(null==(s=e.fine)?void 0:s.text))&&v.push({label:"Штраф за неоплату платежа",value:(0,ng.t)(e.fine)}),(e.age.comment||e.age.text)&&v.push({label:"Возраст заемщика",value:(0,ng.t)(e.age)}),((null==(c=e.borrower)?void 0:c.comment)||(null==(u=e.borrower)?void 0:u.text))&&v.push({label:"Категория заемщика",value:(0,ng.t)(e.borrower)}),v.push({label:"Стаж работы",value:(null==(d=e.experience)?void 0:d.text)?(0,ng.t)(e.experience):"Не требуется"}),v.push({label:"Подтверждение дохода",value:(null==(m=e.income_proof)?void 0:m.text)?(0,ng.t)(e.income_proof):"Не требуется"}),(null==(_=e.docs)?void 0:_.text)&&v.push({label:"Требуемые документы",value:(0,ng.t)(e.docs)});let f=[];return void 0!==e.legalName&&f.push({label:"Наименование",value:e.legalName}),void 0!==e.registrationNumber&&f.push({label:"Регистрационный номер",value:e.registrationNumber}),void 0!==e.legalAddress&&f.push({label:"Юридический адрес",value:e.legalAddress}),void 0!==e.site&&f.push({label:"Сайт",value:e.site}),[nh(p),nb(v),{sectionTitle:"Об организации",body:f}]})({...d,site:t.site,legalName:_.legal_entities[0].name,legalAddress:_.legal_entities[0].address,registrationNumber:_.legal_entities[0].registration_number,inn:_.legal_entities[0].inn,ogrn:_.legal_entities[0].ogrn}):(e=>[nh([nx(e.period),ny(e.amount),nj("Загружается…"),nw(e.interest_rate)]),nb([])])(t),[t,_,d]);return(0,o.jsx)(nf.a,{isOpen:n,cancelButton:{title:"Все условия по займу",onClick:i},submitButton:{title:"Получить деньги",onClick:v,url:u},onClose:s,bankName:t.mfo_name,dataPoints:f,pageUrl:B.h.MICROZAJMY,offerUpdateData:null==d?void 0:d.m_updated_at})});nN.displayName="MfoInfoModal";var nC=n(74356),nM=n(25904),nk=n(66789),nA=n(87883),nS=n(15458),nT=n.n(nS);let nL={AMOUNT:"amount",TERM:"term",TERM_WITHOUT_PERCENTS:"term_without_percents"},nR=(0,l.memo)(e=>{let{rating:t}=e;return(0,o.jsxs)("div",{className:nT().rating,children:[(0,o.jsx)(nM.IconFdsStarF,{className:nT().icon_star})," ",(0,o.jsx)("p",{className:nT().rating_text,children:t})]})});nR.displayName="Rating";let nI=(0,l.memo)(e=>{let{offer:t,control:n,handleClickAllConditions:a,onDetails:r,rating:i,status:s}=e,c=(0,eJ._I)(),u=(0,l.useMemo)(()=>{let e=[];if(e.push({name:nL.AMOUNT,label:"Сумма",value:(0,eu.ej)({to:Number(t.amount.to),from:Number(t.amount.from)},{currency:"₽"})},{name:nL.TERM,label:"Срок займа",value:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{children:"от"})," ",t.period.from," ",(0,o.jsx)("span",{children:"дн."})]})}),1===n.term_without_interest){var l;let n=null!=(l=t.term_without_percents)?l:"0";e.push({name:nL.TERM_WITHOUT_PERCENTS,label:"Срок без %",value:(0,o.jsxs)(o.Fragment,{children:["0"!==n&&(0,o.jsx)("span",{children:"до"}),"\xa0",n,"\xa0",(0,o.jsx)("span",{children:"дн."})]})})}return e},[n.term_without_interest,t.amount,t.period.from,t.term_without_percents]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:nT().top_row,children:[(0,o.jsx)(nc.vE,{url:t.logo_mob,size:35,mobileSize:20,alt:t.mfo_name,rounded:!0}),(0,o.jsxs)("div",{className:nT().title_group,children:[(0,o.jsxs)("div",{className:(0,et.A)(nT().group_sub,nT().title_group_sub),onClick:a,children:[(0,o.jsx)(O(),{href:"/mikrozajmy/".concat(t.url),className:nT().title_sub,onClick:e=>{e.preventDefault(),r(t.id)},children:t.title}),(0,o.jsx)("span",{className:nT().ratingDesktop,children:(0,o.jsx)(nR,{rating:i})})]}),(0,o.jsx)("div",{className:nT().title_group_content,children:t.mfo_name})]})]}),c&&(0,o.jsx)(nk.K,{status:s}),(0,o.jsxs)("div",{className:nT().card_info,children:[u.map(e=>(0,o.jsxs)("div",{className:nT().group,children:[(0,o.jsx)("p",{className:nT().group_sub,children:e.label}),(0,o.jsx)("p",{className:nT().group_content,children:e.value})]},e.name)),(0,o.jsxs)("div",{className:(0,et.A)(nT().ratingMobile),children:[(0,o.jsx)("p",{className:nT().group_sub,children:"Рейтинг"}),(0,o.jsx)(nR,{rating:i})]}),!c&&(0,o.jsx)(nA.q,{className:nT().group,labelClassName:nT().group_sub,valueClassName:nT().status_text,status:s})]})]})});nI.displayName="MfoInfo";var nO=n(24735),nP=n(7482);let nU="viewed_microloans",nE=(0,l.createContext)(void 0);function nF(e){let{children:t}=e,[n,a]=(0,l.useState)();(0,l.useEffect)(()=>{var e;let t=null!=(e=(0,nP.Ee)().readJson(nU))?e:(0,nP.W9)().readJson(nU);void 0!==t&&a(new Set(t.map(e=>String(e))))},[]);let r=(0,l.useCallback)(e=>{if(void 0===n){let t=[e];a(new Set(t)),(0,nP.Ee)().writeJson(nU,t)}else n.has(e)||(n.add(e),a(new Set(n)),(0,nP.Ee)().writeJson(nU,Array.from(n)))},[n]);return(0,o.jsx)(nE.Provider,{value:{viewedOffersIds:n,writeViewedOfferId:r},children:t})}function nz(){let e=(0,l.useContext)(nE);if(!e)throw Error("The context of the viewed microloans is used outside of the provider");return e}var nD=n(59099),nY=n.n(nD);let nJ=(0,l.memo)(e=>{let{className:t,offer:n,isPromotional:a,order:r,placement:i,control:s,onDetails:c}=e,u=(0,ed.fH)(),d=(0,eJ.sw)(),{writeViewedOfferId:m}=nz(),_=ec(n,s,{offerId:String(n.id),order:r,placement:i}),p=(0,l.useCallback)(()=>{(e=>{let{id:t,item:n,customerId:o}=e,l=n.online_application&&n.online_application.commercial?"commercial":"non_commercial";(0,eA.o)({event:"data-event",eventLabel:t,eventCategory:"mikrozajmy",eventAction:"open_in_bank_product",eventValue:l,customer_id:o})})({id:n.id,item:n,customerId:u}),m(n.id),window.open(_,"_blank")},[n,_,m,u]);return(0,o.jsxs)("div",{className:(0,et.A)(t,nY().wrap,"".concat(nO.hx).concat(n.mfo_id),{[nY().promotion_wrap]:a}),onClick:p,children:[(0,o.jsx)(nI,{offer:n,control:s,handleClickAllConditions:e=>{e.stopPropagation()},onDetails:c,rating:n.rating,status:n.approvalStatus}),(0,o.jsxs)("div",{className:nY().bottom_row,children:[(0,o.jsx)(U.$n,{size:"xs",label:d?"Получить":"Получить деньги",variant:a?"purple":"primary"}),a&&(0,o.jsxs)("p",{className:nY().promotion_caption,children:["Реклама ",n.legal_name]})]})]})});nJ.displayName="MfoCard";var nZ=n(69816),nB=n.n(nZ);let nH=(0,l.memo)(e=>{let{offers:t,loading:n,control:a,onDetails:r}=e,i=t.length;return(0,o.jsxs)("div",{className:nB().cards_list,children:[t.map((e,t)=>(0,o.jsx)(l.Fragment,{children:t<i&&(0,o.jsx)(nJ,{className:nB().card,offer:e,order:t,control:a,onDetails:r})},e.id)),n&&Array.from({length:24},(e,t)=>(0,o.jsx)(nC.E,{className:(0,et.A)(nB().card,nB().skeletonCard)},t))]})});nH.displayName="OffersList";var nq=n(72541),nV=n.n(nq);let nK=(0,l.memo)(e=>{let{offers:t,onDetails:n,control:l}=e,a=t.length<4,r=1===t.length,i=a&&2===t.length;return(0,o.jsx)("div",{className:nV().black_wrap,children:(0,o.jsxs)("div",{className:(0,et.A)(nV().content,r&&nV().one_card_content,i&&nV().two_card_content),children:[a&&(0,o.jsxs)("div",{className:nV().text,children:[(0,o.jsx)("p",{className:nV().text_title,children:"Надежные займы на Финуслугах"}),(0,o.jsx)("p",{className:nV().text_subtitle,children:"Мы работаем только с проверенными партнерами"})]}),t.map((e,t)=>(0,o.jsx)(nJ,{className:nV().card,offer:e,order:t,placement:"banner",isPromotional:!0,onDetails:n,control:l},e.id))]})})});nK.displayName="PromotionalOffersList";var n$=n(35987),nG=function(e){return e.DESC="desc",e.ASC="asc",e}({}),nW=n(5435),nQ=n(95018),nX=n(32266),n0=n(19089),n1=n.n(n0),n2=n(87783);let n8=(0,l.memo)(e=>{var t;let{subtitle:n,offersLoading:a,offersCount:r,offers:i,control:s,page:c,filter:u,isNewApi:d,onPageChange:m,onFilterChange:_}=e,p=(0,ed.fH)(),v=(0,n$.yX)(),{query:f,asPath:g,push:h,pathname:b}=(0,P.useRouter)(),{offerId:x,...y}=f,{promoOffers:j,otherOffers:w}=(0,l.useMemo)(()=>(function(e){let t=e.reduce((e,t)=>(1!==t.online_application.best_offer_catalogue?e.otherOffers.push(t):e.promoOffers.push(t),e),{otherOffers:[],promoOffers:[]});return t.promoOffers.length>4&&(t.otherOffers=t.promoOffers.slice(4).concat(t.otherOffers),t.promoOffers.length=4),t})(i),[i]),{viewedOffersIds:N}=nz(),[C,M]=(0,l.useState)(!0),k=(0,l.useMemo)(()=>C||void 0===N?w:w.filter(e=>!N.has(e.id)),[C,w,N]),A=(0,l.useCallback)(e=>{e?(0,eA.o)({event:"data-event",eventCategory:"mikrozaimy",eventAction:"toggle_show_clicked",customer_id:p}):(0,eA.o)({event:"data-event",eventCategory:"mikrozaimy",eventAction:"toggle_hide_clicked",customer_id:p}),M(e)},[p]),S=function(e){let[t,n]=(0,l.useState)(),o=(0,l.useMemo)(()=>{var n;return null!=(n=e.find(e=>e.id===t))?n:null},[t,e]),a=(0,l.useCallback)(()=>n(void 0),[]);return{data:o,visible:null!==t,show:n,hide:a}}([...j,...k]),{region:T,town:L}=(0,e4.z)(),R=null!=(t=null==L?void 0:L.name_p)?t:null==T?void 0:T.name_p,I=(0,l.useCallback)(()=>{m(c+1)},[c,m]),O=(0,l.useCallback)(()=>{S.data&&open("/".concat(g.split("?")[0].split("/")[1],"/").concat(S.data.url))},[S.data,g]),E=(0,l.useCallback)(e=>{_({...u,sort:e})},[u,_]),F=(0,l.useCallback)(e=>{_({...u,order:e})},[u,_]),z=(0,l.useMemo)(()=>{var e;return(null!=(e=tE.find(e=>e.value===u.sort))?e:tE[0]).label},[u]),D=48*c<r,Y=(0,l.useCallback)(async e=>{await h({pathname:b,query:{...f,offerId:e}},void 0,{shallow:!0})},[b,h,f]),J=(0,l.useCallback)(async()=>{await h({pathname:b,query:y},void 0,{shallow:!0}),S.hide()},[S,y,b,h]);return(0,l.useEffect)(()=>{x&&S.show(String(x))},[x,S]),(0,o.jsxs)("section",{className:n1().list_wrap,ref:v,children:[(0,o.jsxs)("div",{className:(0,et.A)(n1().sort_content,n1().content),children:[(0,o.jsxs)("p",{className:n1().title,children:[r," ",(0,o.jsx)("span",{className:n1().titleHide,children:(0,nv.v)(r)}),R?" в ".concat(R):null]}),(0,o.jsxs)("div",{className:n1().right_block,children:[(0,o.jsx)(U.lM,{className:n1().viewed_offers_toggle,label:"Показывать просмотренные",value:C,onChange:A}),(0,o.jsxs)(nX.A,{content:(0,o.jsx)(o.Fragment,{children:tE.map(e=>(0,o.jsx)(U.n5,{label:e.label,onClick:()=>{(e=>{e===u.sort?F(u.order===nG.ASC?nG.DESC:nG.ASC):E(e)})(e.value)}},e.value))}),children:[(0,o.jsx)(n2.A,{}),(0,o.jsx)("span",{className:n1().sort_label,children:z})]})]})]}),!!j.length&&(0,o.jsx)(nK,{offers:j,onDetails:Y,control:s}),(0,o.jsxs)("div",{className:n1().content,children:[(0,o.jsx)(nH,{offers:k,loading:a,control:s,onDetails:Y}),D&&(0,o.jsx)(nQ.e,{page:c,onClick:I}),(0,o.jsx)(nW.h,{tag:"p",className:n1().subtitle,children:n})]}),S.data&&(0,o.jsx)(nN,{data:S.data,isOpen:S.visible,control:s,isNewApi:d,onAllConditionsClick:O,onClose:J})]})});n8.displayName="Microloans";var n3=n(3633),n4=n(14731);async function n5(){return(await (0,s.ZP)("old/mfos?archive=0")).companies.reduce((e,t)=>(0!==t.public&&t.microCredits_num>0&&e.push(function(e){let{id:t,cmsId:n,url:o,name:l,logo_mob:a,legal_entities:[{registration_number:r}],phones:i,reviews_num:s}=e,c={id:t,url:o,name:l,registration_number:r};return null!==n&&(c.cmsId=n),void 0!==a&&(0,m.vh)(a)&&(c.logo=a),void 0!==i&&(0,u.uI)(i[0])&&(c.phone=i[0]),void 0!==s&&(c.reviews_num=s),c}(t)),e),[])}async function n7(e){return e?n5():(await (0,s.zy)("Mfo.json?archive=0")).companies.reduce((e,t)=>(0!==t.public&&t.microCredits_num>0&&e.push(function(e){let{id:t,url:n,name:o,logo_mob:l,legal_entities:[{registration_number:a}],phones:[r],reviews_num:i}=e,s=String(t),c={id:s,cmsId:s,url:n,name:o,registration_number:a,reviews_num:i};return null!==l&&(0,u.uI)(l)&&(0,m.vh)(l)&&(c.logo=l),(0,u.uI)(r)&&(c.phone=r),c}(t)),e),[])}async function n6(e,t){let n=ot(e);return n.set("isNewApi",String(t)),(0,s.pY)("microloans/faq-mfos?".concat(n))}async function n9(e){var t,n;let{isNewApi:o,...l}=e,[a,r]=await Promise.all([n7(o),T(l,o)]);return t=a,n=function(e,t){let n=function(e){let t=e.reduce((e,t)=>(e.add(t.mfo_url),e),new Set);return e=>t.has(e.url)}(t);if("pod_zalog_pts"!==e){let e=function(){let e=new Set(["zajmer","turbozajm","bystrodengi","mani_men","vebzajm","vebbankir","lajm_zajm","boostra","migkredit","ekapusta"]);return t=>e.has(t.url)}();return t=>n(t)&&e(t)}return n}(l.tagUrl,r.offers),t.reduce((e,t)=>(n(t)&&e.push({url:t.url,name:t.name}),e),[]).sort((e,t)=>e.name.localeCompare(t.name))}new c.AP(n9);var oe=function(e){return e.Tag="tag",e.Region="region",e.Town="town",e}(oe||{});function ot(e){let{tagUrl:t,regionUrl:n,townUrl:o}=e,l=new URLSearchParams;return void 0!==t&&l.set("tag",t),void 0!==n&&l.set("region",n),void 0!==o&&l.set("town",o),l}async function on(e){return(await n7(!!e)).map(oo).sort((e,t)=>e.name.localeCompare(t.name))}function oo(e){let{id:t,cmsId:n,url:o,name:l,registration_number:a,reviews_num:r}=e,i={id:String(t),cmsId:n,url:o,name:l,registrationNumber:a};return void 0!==r&&(i.reviewsNum=r),i}new c.AP(on);var ol=function(e){return e.Tag="tag_url",e.Region="region",e.Town="town",e}(ol||{});function oa(e){let{tagUrl:t,regionUrl:n,townUrl:o}=e,l=new URLSearchParams;return void 0!==t&&l.set("tag_url",t),void 0!==n&&l.set("region",n),void 0!==o&&l.set("town",o),l}var or=n(3067);async function oi(e){let t=oa(e);return(0,s.pY)("microloans/posts?".concat(t))}async function os(e){let t=await function(e){let t=oa(e);return(0,s.zy)("MicroCreditRegion.json?".concat(t))}(e);return(0,or.n)(t.posts)}async function oc(e){let{tagUrl:t,...n}=e,o=function(e){let t=new URLSearchParams;return void 0!==e.tagUrl&&t.append("tagUrl",e.tagUrl),void 0!==e.regionUrl&&t.append("regionUrl",e.regionUrl),void 0!==e.townUrl&&t.append("cityUrl",e.townUrl),t}(n);return function(e){let{url:t,internalName:n,tagName:o,texts:l}=e;return{url:t,name:n,tag_name:o,text:l.sort((e,t)=>e.position-t.position).map(e=>({title:e.title,text:[],withSchema:e.displayInMicrodata,content:[{type:t3.$G.Html,data:{html:e.content}}]}))}}(await (0,s.ZP)("microloan-tags/".concat(t,"?").concat(o)))}async function ou(e){let{isNewApi:t,...n}=e;if(t)return oc(n);let{tagUrl:o}=n,l=await (0,s.zy)("MicroCredits.json?".concat("url","=").concat(encodeURIComponent(o)));if(1!==l.length)throw new i.m_("Microloans tag not found: ".concat(o));return function(e){let{url:t,name:n,tag_name:o,text:l,region_page:a}=e,r={url:t,name:n,tag_name:o,text:l};if(null!==a){let{region_content:e,town_content:t}=a;r.region_page={region_content:e,town_content:t}}return r}(l[0])}async function od(e,t){let n=ot(e);return n.set("isNewApi",String(t)),(0,s.pY)("microloans/leading-mfos?".concat(n))}async function om(e){let{isNewApi:t,...n}=e,[o,l]=await Promise.all([n7(t),T({...n,page:1,pageSize:48},t)]);return function(e,t){let n=e.reduce((e,t)=>(e.set(t.url,t),e),new Map),o=new Map;for(let e=0;e<t.length;e++){let l=t[e],a=l.mfo_url,r=n.get(a);if(void 0===r||"master_podbora_zajmov"===r.url)continue;let i=void 0!==l.logo_mob?{...r,logo:l.logo_mob}:r;if(o.set(a,i),8===o.size)break}return Array.from(o.values())}(o,l.offers)}new c.AP(os,3e4),new c.AP(ou),new c.AP(e=>om(e));let o_=["onlajn_na_kartu","na_kartu_mgnovenno","pod_zalog_pts"],op=(0,l.memo)(e=>{let{name:t,heading:n,description:l,tagUrl:a,offersCount:i,offers:s,mfos:c}=e,u=function(e,t,n,o,l,a,i){let{basePath:s,mainBaseUrl:c}=(0,r.UK)();if(0===a.length)return;let u=i.reduce((e,t)=>(e[t.url]=t,e),{}),{lowPrice:d,highPrice:m}=eV(a);return{"@context":"https://schema.org","@type":"FinancialService",name:e,description:n,url:"".concat(c,"/").concat(B.h.MICROZAJMY,"/").concat(tn.cf).concat(o),image:"".concat(c).concat(s,"/images/logo-1200x630.jpg"),aggregateRating:{"@type":"AggregateRating",ratingValue:4.82,reviewCount:2528,bestRating:5,worstRating:1},offers:{"@type":"AggregateOffer",highPrice:m,lowPrice:d,priceCurrency:"RUB",offerCount:l},hasOfferCatalog:{"@type":"OfferCatalog",name:t,itemListElement:a.map((e,t)=>((e,t)=>{let n="Заем \xab".concat(e.title,"\xbb от ").concat(e.mfo_name),o={"@type":"LoanOrCredit",name:n,url:"".concat(c,"/").concat(B.h.MICROZAJMY,"/").concat(e.url),amount:eK(eq(e.amount)),loanTerm:e$(e.period,"DAY"),interestRate:eW(e.interest_rate)},l={"@type":"Offer",name:n,priceCurrency:"RUB",itemOffered:o,offeredBy:(e=>{let t=u[e.mfo_url],n={"@type":"FinancialService",name:e.mfo_name,url:"".concat(c,"/mfo/").concat(e.mfo_url)};return(null==t?void 0:t.registrationNumber)!==void 0&&(n.leiCode=t.registrationNumber),(null==t?void 0:t.reviewsNum)!==void 0&&t.reviewsNum>0&&(n.aggregateRating={"@type":"AggregateRating",ratingValue:Number(e.rating),bestRating:5,worstRating:1,reviewCount:t.reviewsNum}),n})(e)};return void 0!==e.logo_mob&&(l.image=e.logo_mob),{"@type":"ListItem",position:t,item:l}})(e,t+1))}}}(t,n,l,a,i,s,c);return void 0===u?null:(0,o.jsx)(eQ.S,{schema:u})});op.displayName="MicroloanFinancialServiceSchema";let ov=(0,l.memo)(e=>{let{name:t,description:n,offersCount:l,offers:a}=e,i=function(e,t,n,o){let{basePath:l,mainBaseUrl:a}=(0,r.UK)();if(0===o.length)return;let{lowPrice:i,highPrice:s}=eV(o),c=o.map(e=>{let t,n;return t=e,n=eq(e.amount),{"@type":"Offer",itemOffered:{"@type":"LoanOrCredit",name:t.title,url:"".concat(a,"/").concat(B.h.MICROZAJMY,"/").concat(t.url),brand:t.mfo_name,loanTerm:e$(t.period),annualPercentageRate:eG({"@type":"QuantitativeValue",name:"Процентная ставка в день"},t.interest_rate),amount:eK(n)},priceSpecification:{"@type":"PriceSpecification",price:0,priceCurrency:"RUB",valueAddedTaxIncluded:!0},potentialAction:{"@type":"Action",name:"Получить деньги",url:t.online_application.url},broker:{"@type":"BankOrCreditUnion",name:t.mfo_name,url:"".concat(a,"/mfo/").concat(t.mfo_url),image:t.logo_mob,address:{"@type":"PostalAddress",addressCountry:"RU"}}}});return{"@context":"https://schema.org","@type":"Product",name:e,description:t,image:"".concat(a).concat(l,"/images/logo-1200x630.jpg"),aggregateRating:{"@type":"AggregateRating",ratingValue:4.8,reviewCount:2438,bestRating:5,worstRating:1},offers:{"@type":"AggregateOffer",url:"".concat(a,"/").concat(B.h.MICROZAJMY),highPrice:s,lowPrice:i,priceCurrency:"RUB",offerCount:n,offers:c}}}(t,n,l,a);return void 0===i?null:(0,o.jsx)(eQ.S,{schema:i})});ov.displayName="MicroloanOffersSchema",n(77506);var of=n(24323),og=n(33568);n(46215);var oh=n(162),ob=n(64998);n(99514);var ox=n(79790),oy=n(98580),oj=n(6862);async function ow(e){try{return await (0,s.pY)("showcases/seo-text?url=".concat(encodeURIComponent(e)))}catch(e){return}}async function oN(e){let t=(await (0,s.xy)("seo-texts/by-url?url=".concat(encodeURIComponent(e)))).find(e=>"SEO Текст"===e.type.name);if(void 0!==t)return t.content.filter(e=>void 0!==e.title&&void 0!==e.content).sort(oC)[0]}function oC(e,t){return e.position-t.position}new c.AP(oN);var oM=n(25972);let ok=(0,n(21827).g)("seo-text","sc"),oA=Object.freeze({seoText:ok,wrapper:`${ok}__wrapper`,title:`${ok}__title`,titleWrapper:`${ok}__title-wrapper`,blockTitle:`${ok}__block-title`,text:`${ok}__text`,checkAll:`${ok}__check-all`}),oS=({blockTitle:e,content:t,sectionTitle:n,className:l})=>(0,o.jsx)("section",{className:(0,et.A)(oA.seoText,l),children:(0,o.jsxs)(oM.mc,{children:[(0,o.jsx)("div",{className:oA.titleWrapper,children:(0,o.jsx)(oM.DZ,{as:"h2",type:"hero",className:(0,et.A)(oA.title),children:n})}),(0,o.jsxs)("div",{className:oA.wrapper,children:[(0,o.jsx)(oM.DZ,{as:"h3",type:"h3",className:(0,et.A)(oA.blockTitle),children:e}),(0,o.jsx)("div",{className:oA.text,dangerouslySetInnerHTML:{__html:t||""}})]})]})});oS.displayName="SeoText";var oT=n(24284);function oL(e){let{data:t}=e;return(0,o.jsx)(oS,{sectionTitle:"",blockTitle:t.title,content:(0,oT.w)(t.content),dataLayerPush:eA.o,eventCategory:"mfo_seo_text_block"})}n(44860);var oR=n(24479),oI=n.n(oR);let oO=[(0,o.jsx)(l.Fragment,{children:"Используйте фильтры для указания желаемых параметров: суммы, срока и формы выдачи"},0),(0,o.jsx)(l.Fragment,{children:"Изучите и выберите подходящее предложение"},1),(0,o.jsx)(l.Fragment,{children:'Нажмите кнопку "Получить деньги"'},2),(0,o.jsx)(l.Fragment,{children:"Заполните анкету, дождитесь одобрения и получите деньги любым удобным для вас способом"},3)];function oP(e){var t,n;let{layout:a,root:i,microloansData:c,reviews:u,faqMfos:d,mfos:_,control:p,tags:v,tag:f,posts:g,expertQuote:h,experts:b,leadingMfos:x,seoText:y,support:j,isNewApi:w,offersTerms:N}=e;(0,ez.eg)(ez.ch.Microloan);let{region:C,town:M}=(0,e4.z)(),{scrollSmooth:k}=(0,n$.Ll)(),A=null!=b?b:void 0,[T,L]=(0,l.useState)(!1),[R,I]=(0,l.useState)(c),[O,U]=(0,l.useState)(g),[z,D]=(0,l.useState)(f),[Y,J]=(0,l.useState)(d),[Z,B]=(0,l.useState)(_),[H,q]=(0,l.useState)(),[V,K]=(0,l.useState)(null!=h?h:void 0),[$,G]=(0,l.useState)(x),[W,Q]=(0,l.useState)(null!=y?y:void 0),{asPath:X,query:ee}=(0,P.useRouter)(),{segments:en,page:eo}=ee,el=null==C?void 0:C.url,ea=null==M?void 0:M.url,er=(0,n4.$)(en),ei=null!=(n=null==(t=er.find(tn.AP))?void 0:t.slice(tn.cf.length))?n:tn.Z2,{filter:es,setFilter:ec}=function(){let{query:e,push:t}=(0,P.useRouter)(),{amount:n,form:o,period:a,borrower:r,registration:i,collateral:s,banks:c,online:u,sort:d,order:_,...p}=e,v=(0,l.useMemo)(()=>(function(e){let{amount:t,form:n,period:o,borrower:l,registration:a,collateral:r,banks:i,online:s,sort:c,order:u}=e,d={};return"string"==typeof t&&(d.amount=Number(t)),"string"==typeof n&&(d.form=n),"string"==typeof o&&(d.period=Number(o)),"string"==typeof l&&(d.borrower=l),"string"==typeof a&&(d.registration=a),"string"==typeof r&&(d.collateral=r),"string"==typeof i&&(d.banks=(0,m.pi)(i)),"string"==typeof s&&(d.online=s),"string"==typeof c&&(d.sort=c),"string"==typeof u&&(d.order=u),d})({amount:n,form:o,period:a,borrower:r,registration:i,collateral:s,banks:c,online:u,sort:d,order:_}),[n,o,a,r,i,s,c,u,d,_]),f=(0,l.useRef)(p),g=(0,l.useRef)(v),h=(0,l.useRef)(t);return f.current=p,g.current=v,h.current=t,{filter:v,setFilter:(0,l.useCallback)(e=>{var t,n,o,l,a,r;if(t=g.current,n=e,t.amount===n.amount&&t.form===n.form&&t.period===n.period&&t.borrower===n.borrower&&t.registration===n.registration&&t.collateral===n.collateral&&(null==(o=t.banks)?void 0:o.length)===(null==(l=n.banks)?void 0:l.length)&&(null==(a=t.banks)?void 0:a.slice().sort().toString())===(null==(r=n.banks)?void 0:r.slice().sort().toString())&&t.online===n.online&&t.sort===n.sort&&t.order===n.order)return!1;let i={...function(e){let{amount:t,form:n,period:o,borrower:l,registration:a,collateral:r,banks:i,online:s,sort:c,order:u}=e,d={};return void 0!==t&&(d.amount=String(t)),void 0!==n&&(d.form=n),void 0!==o&&0!==o&&(d.period=String(o)),void 0!==l&&(d.borrower=l),void 0!==a&&(d.registration=a),void 0!==r&&(d.collateral=r),void 0!==i&&(d.banks=(0,m.t9)(i)),void 0!==s&&(d.online=s),void 0!==c&&(d.sort=c),void 0!==u&&(d.order=u),d}(e),...f.current};return h.current({query:i},void 0,{shallow:!0}),!0},[])}}(),[eu,ed]=(0,l.useState)(()=>"string"!=typeof eo?1:Number(eo)),em=(0,l.useRef)(0),e_=(0,l.useRef)(!1),ep=(0,l.useCallback)(e=>{ec(e)||0!==em.current?e_.current=!0:k()},[k,ec]),ev=(0,l.useCallback)(e=>{em.current++,L(!0),ed(e),S({...es,page:e,pageSize:48,regionUrl:el,townUrl:ea,tagUrl:ei},w).then(t=>{e>1?I(e=>{let{offers:n}=e;return{...t,offers:[...n,...t.offers]}}):(I(t),q(void 0))}).finally(()=>{em.current--,!(em.current>0)&&(L(!1),e_.current&&(k(),e_.current=!1))})},[es,el,ea,ei,w,k]),ef=(0,l.useCallback)(async e=>{q((await S({...e,regionUrl:el,townUrl:ea,tagUrl:ei,pageSize:1},w)).count)},[w,el,ea,ei]);(0,tT.w5)(()=>{ev(1)},[ev]),(0,tT.w5)(()=>{oi({regionUrl:el,townUrl:ea,tagUrl:ei}).then(U)},[ei,el,ea]),(0,tT.w5)(()=>{(function(e,t){let{tagUrl:n,regionUrl:o,townUrl:l}=e;if(t){let e=function(e){let t=new URLSearchParams;return void 0!==e.tagUrl&&t.append("tagUrl",e.tagUrl),void 0!==e.regionUrl&&t.append("regionUrl",e.regionUrl),void 0!==e.townUrl&&t.append("townUrl",e.townUrl),t}({tagUrl:n,regionUrl:o,townUrl:l});return(0,s.pY)("microloans-new/tag?".concat(e))}return(0,s.pY)("microloans/tag?".concat("url","=").concat(n))})({tagUrl:ei,regionUrl:el,townUrl:ea},w).then(D)},[w,el,ei,ea]),(0,tT.w5)(()=>{n6({tagUrl:ei,regionUrl:el,townUrl:ea},w).then(J)},[ei,el,ea,w]),(0,tT.w5)(()=>{od({tagUrl:ei,regionUrl:el,townUrl:ea},w).then(G)},[ei,el,ea,w]);let eg=(0,l.useRef)(!1),eh=(0,l.useCallback)(()=>{eg.current||(eg.current=!0,(function(e){let t=new URLSearchParams({isNewApi:String(e)});return(0,s.pY)("microloans/mfos?".concat(t))})(w).then(B))},[w]),eb=(0,m.m)(X);(0,tT.w5)(()=>{(0,oh.Zs)(eb).then(K)},[eb]),(0,tT.w5)(()=>{ow(eb).then(Q).catch(()=>Q(void 0))},[eb]);let{title:ex,description:ey,subtitle:ej,count:ew,offers:eN}=R,{isChecker:eC}=(0,r.UK)();(0,nO.iW)(eN,eC);let eM=z.url!==tn.Z2?z.name:"Микрозаймы",ek=1===er.length&&o_.includes(ei),eA=(0,o.jsxs)("div",{className:oI().offers,children:[(0,o.jsx)(E.I,{title:ex,description:ey}),(0,o.jsx)(e2.t,{}),(0,o.jsx)(nr,{}),ek?(0,o.jsx)(op,{name:ex,heading:eM,description:ey,tagUrl:ei,offersCount:ew,offers:eN,mfos:Z}):(0,o.jsx)(ov,{name:eM,description:ey,offersCount:ew,offers:eN}),(0,o.jsx)(tX,{heading:eM,subtitle:ej,mfos:Z,tag:z.url!==tn.Z2?z:null,filter:es,offersCount:null!=H?H:ew,onFilterChange:ef,onFilterApply:ep,onFilterShow:eh,tags:v}),(0,o.jsx)(nF,{children:(0,o.jsx)(n8,{subtitle:ej,offersLoading:T,offersCount:ew,offers:eN,control:p,page:eu,filter:es,isNewApi:w,onPageChange:ev,onFilterChange:ec})}),(0,o.jsx)(n3.f,{type:"mfo",noPadding:!0,secondary:!0}),null!==N&&(0,o.jsx)(F.J,{children:(0,o.jsx)(oy.U,{data:N})}),(0,o.jsx)(of.I,{steps:oO,variant:"secondary"}),void 0!==V&&(0,o.jsx)(ob.V,{quote:V}),void 0!==A&&(0,o.jsx)("section",{className:(0,et.A)(oI().experts,oI().backgroundGray),children:(0,o.jsx)(F.J,{children:(0,o.jsx)(ox.o,{heading:"Микрозаймы",experts:A})})}),null!==u&&(0,o.jsx)("section",{className:oI().backgroundGray,children:(0,o.jsx)(F.J,{children:(0,o.jsx)(oj.K,{serviceId:og.E.MIKROZAJMY,reviews:u,companies:Z})})}),void 0!==W&&(0,o.jsx)(oL,{data:W}),(0,o.jsx)(np,{regions:i.regions,tags:v,tag:z,region:C,town:M,townDublicates:i.town_dublicates,offers:eN,posts:O,mfos:Y,leadingMfos:$,support:j,isNewApi:w})]});return null!==a?(0,o.jsx)(tr.P,{data:a,children:eA}):eA}var oU=n(48523),oE=n(36612),oF=!0;let oz=(0,l.memo)(function(e){var t,n;let{mainApiUrl:l}=(0,r.UK)();return(0,o.jsx)(a.C,{showcaseUrl:l,showStartGeoPopup:!1,children:e.isShowcase?(0,o.jsx)(oU.N,{region:null!=(t=e.region)?t:void 0,town:null!=(n=e.town)?n:void 0,children:(0,o.jsx)(oP,{...e,isNewApi:!0})}):(0,o.jsx)(oE.K,{children:(0,o.jsx)(ti,{...e,isNewApi:!0})})})})},31070:e=>{e.exports={container:"styles_container__SqFUD",utpTags:"styles_utpTags__899sO",content:"styles_content__pxEzH",breadcrumbs:"styles_breadcrumbs__jH8EC",text:"styles_text__0SGL8",title:"styles_title__WaTv0",location:"styles_location__z_oKT",subtitle:"styles_subtitle__oSzuM",moreButton:"styles_moreButton___h8zi",banner:"styles_banner__6_J8S",background:"styles_background__KxgOM",newLayout:"styles_newLayout__iR_wy"}},32444:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/mikrozajmy/[[...segments]]",function(){return n(30983)}])},34381:e=>{e.exports={content:"microloans-filter-content_content__K7JqT",form:"microloans-filter-content_form__ogqnK",wrap:"microloans-filter-content_wrap__Hhudh",sort_title:"microloans-filter-content_sort_title__gHJr3",sort_wrap:"microloans-filter-content_sort_wrap___bT0z",sort_field:"microloans-filter-content_sort_field__aQh0W",checkboxField:"microloans-filter-content_checkboxField__Oiv5X",footer:"microloans-filter-content_footer__qzk25",submit:"microloans-filter-content_submit__Z771C"}},34787:e=>{e.exports={page:"MicroloanDetail_page__fwC3C",breadcrumbs:"MicroloanDetail_breadcrumbs__kJk5w",navigationWrapper:"MicroloanDetail_navigationWrapper__La1jf",about:"MicroloanDetail_about__l4urE",pickerSection:"MicroloanDetail_pickerSection__iS8fN"}},36739:e=>{e.exports={wrap:"styles_wrap__c9dSd",title:"styles_title__M2KZv",link:"styles_link__lrBU4",microlans_header_title:"styles_microlans_header_title__QEPWq",breadcrumbs:"styles_breadcrumbs__zvuya",newBannerBreadcrumbs:"styles_newBannerBreadcrumbs__Jg8qQ",microlans_header_wrapper:"styles_microlans_header_wrapper__IaWyw",background:"styles_background__JuXp2",activeTag:"styles_activeTag__YYgIw",filterContainer:"styles_filterContainer__Ww77K",input:"styles_input__di9bV"}},40090:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var o=n(37876),l=n(20988);function a(e){let{label:t,options:n,values:a,className:r,onChange:i}=e,s=null==a?void 0:a.reduce((e,t)=>{let o=n.find(e=>String(e.value)===String(t));return o&&e.push(o),e},[]);return(0,o.jsx)(l.l6,{className:r,label:t,options:n,value:null!=s?s:void 0,selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:e=>{i(e?e.map(e=>e.value):void 0)},multiple:!0})}},40818:(e,t,n)=>{"use strict";n.d(t,{Be:()=>l,PA:()=>u,So:()=>o,ZA:()=>i,eb:()=>_,fy:()=>m,l5:()=>c,mr:()=>r,ni:()=>d,s:()=>s,v_:()=>a});let o="Ежемесячный платеж до",l="Сумма кредита",a=20,r=[{value:0,label:"Не имеет значения"},{value:1,label:"1 месяц"},{value:2,label:"2 месяца"},{value:3,label:"3 месяца"},{value:4,label:"4 месяца"},{value:5,label:"5 месяцев"},{value:6,label:"6 месяцев"},{value:9,label:"9 месяцев"},{value:12,label:"1 год"},{value:18,label:"1,5 года"},{value:24,label:"2 года"},{value:36,label:"3 года"},{value:48,label:"4 года"},{value:60,label:"5 лет"}],i={pp:"edzc",ps:"foam",p2:"hojk"},s=[{label:"По популярности",field:"order"},{label:"По ставке",field:"rate"},{label:"По платежу",field:"payment"}],c=[{value:"null",label:"Не имеет значения"},{value:"refinancing",label:"Рефинансирование"},{value:"education",label:"На образование"},{value:"treatment",label:"На лечение"},{value:"travels",label:"На путешествия"},{value:"repairs",label:"На ремонт"},{value:"other",label:"Просто деньги"}],u=[{value:"employee_for_hire",label:"Работник по найму"},{value:"soldier",label:"Военнослужащий"},{value:"pensioner",label:"Пенсионер"},{value:"individual_entrepreneur",label:"Индивидуальный предприниматель"},{value:"civil_servant",label:"Госслужащий"},{value:"student",label:"Студент"},{value:"budgetary",label:"Бюджетник"},{value:"personal_farm_owner",label:"Владелец личного подсобного хозяйства"},{value:"nothing",label:"Иное"}],d=[{value:"not_required",label:"Не требуется"},{value:"pledge",label:"Залог"},{value:"guarantee",label:"Поручительство"},{value:"full",label:"Залог и поручительство"}],m=[{value:"to_account",label:"На счет в вашем банке"},{value:"to_custom_account",label:"На счет в стороннем банке"},{value:"to_card",label:"На карту"},{value:"cash",label:"Наличными"}],_=[{value:"not_required",label:"Не требуется"},{value:"ndfl",label:"Справка 2-НДФЛ"},{value:"bank_form",label:"Справка по форме банка"},{value:"custom_form",label:"Альтернативные формы"}]},59099:e=>{e.exports={wrap:"styles_wrap__zGoxX",promotion_wrap:"styles_promotion_wrap___UiH4",bottom_row:"styles_bottom_row__MIbl4",promotion_caption:"styles_promotion_caption__OzMss",getMoneyDesktop:"styles_getMoneyDesktop__32OYR",getMoneyMobile:"styles_getMoneyMobile__KWFzD"}},62728:(e,t,n)=>{"use strict";function o(e){return"object"==typeof e&&null!==e?!!(e.comment||e.text):!!e}function l(e){return"number"==typeof e||(Array.isArray(e)?e.some(e=>o(e)):o(e))}n.d(t,{a:()=>l})},64028:e=>{e.exports={container:"MicroloansList_container__EdR8r",title:"MicroloansList_title__wkvYc",offersListContainer:"MicroloansList_offersListContainer__Bm7PI",listTitle:"MicroloansList_listTitle__k43ax",listItem:"MicroloansList_listItem__p1IVR"}},69816:e=>{e.exports={card:"styles_card__wXsH1",skeletonCard:"styles_skeletonCard___H_IA",cards_list:"styles_cards_list__73nSr"}},72541:e=>{e.exports={black_wrap:"styles_black_wrap__GvJW8",content:"styles_content__p5eXM",two_card_content:"styles_two_card_content__EpaJK",text:"styles_text__1Rgtf",one_card_content:"styles_one_card_content__bV3fB",text_title:"styles_text_title__wo_7e",text_subtitle:"styles_text_subtitle__Y8Wsu",card:"styles_card__bG7PC"}},78131:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={src:"/kredity/assets/_next/static/media/banner-6.5d66df25.svg",height:230,width:256,blurWidth:0,blurHeight:0}},83933:e=>{e.exports={logo:"MicroloanListItem_logo__N9nzj",placeholderLogo:"MicroloanListItem_placeholderLogo__kEtP1"}},84980:e=>{e.exports={container:"utp-tags_container__gbSRO"}},94289:e=>{e.exports={mobilePopup:"styles_mobilePopup__G3e3Z",container:"styles_container__IGo0H",list:"styles_list__eSXKF",title:"styles_title__b38Q2",content:"styles_content__44gQX",buttons:"styles_buttons__co1FZ",contentRow:"styles_contentRow__VrBta",findConfigBlock:"styles_findConfigBlock__Mv4DU",footer:"styles_footer__hi3PE",field:"styles_field__u00Wg",titleWrapper:"styles_titleWrapper___05yj",icon:"styles_icon__38Wzs",fieldTitle:"styles_fieldTitle__03wac",fieldContent:"styles_fieldContent__OnBG0",comment:"styles_comment__gnX9Y",actualDate:"styles_actualDate__sl9Yc",skeletonContent:"styles_skeletonContent__8znd2"}}},e=>{e.O(0,[7492,2224,8325,2229,4587,4981,5695,1326,8781,8558,5189,1653,2548,8027,8695,636,6593,8792],()=>e(e.s=32444)),_N_E=e.O()}]);