(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8125],{5082:(e,t,s)=>{"use strict";s.d(t,{H:()=>u});var l=s(37876),r=s(25904),i=s(26027),n=s(69241),a=s(84980),o=s.n(a);let _=[{iconLeft:(0,l.jsx)(r.$G$,{}),label:"Наша финансовая платформа в реестре Банка России",rounded:!0},{iconLeft:(0,l.jsx)(r.nO0,{}),label:"Данные защищены и передаются зашифровано",rounded:!0},{iconLeft:(0,l.jsx)(r.bJK,{}),label:"Все наши партнеры имеют лицензию ЦБ РФ",rounded:!0}];function u(e){let{className:t}=e;return(0,l.jsxs)("div",{className:(0,n.A)(o().container,t),children:[_.map(e=>(0,l.jsx)(i.v,{...e},e.label))," "]})}},15458:e=>{e.exports={top_row:"styles_top_row__lrJMw",title_group:"styles_title_group___MJIW",title_image_wrapper:"styles_title_image_wrapper__HSe_9",text_wrapper:"styles_text_wrapper__R4kIr",title_content:"styles_title_content__Mg2qO",title_text:"styles_title_text__MuROv",reg_number:"styles_reg_number__3lvBt",finuslugi_partner_wrapper:"styles_finuslugi_partner_wrapper__1Bq2r",finuslugi_partner:"styles_finuslugi_partner__FaJN6",finuslugi_partner_text:"styles_finuslugi_partner_text__CHtaJ",card_info:"styles_card_info__K4zuM",full_price:"styles_full_price__wL1AX",group:"styles_group__DPSzc",group_sub:"styles_group_sub__4sEq6",title_group_sub:"styles_title_group_sub__yylra",title_sub:"styles_title_sub__BRYyW",title_group_content:"styles_title_group_content__VThk9",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",reviews_text:"styles_reviews_text__SP3yg",label:"styles_label__iNZfh",popover_psk:"styles_popover_psk__oiHqU"}},17495:(e,t,s)=>{"use strict";s.d(t,{Fk:()=>r}),s(37397);var l=s(12771);function r(e,t){let s=new URLSearchParams({isNewApi:String(t),url:e});return(0,l.pY)("microloans/mfo?".concat(s))}},23259:(e,t,s)=>{"use strict";s.d(t,{h:()=>r});var l=s(63921);function r(e,t,s){let r=1!==e.online_application.commercial&&void 0!==t.redirect_to?t.redirect_to:e.online_application.url;return(0,l.o)(r,s)}},24735:(e,t,s)=>{"use strict";s.d(t,{hx:()=>a,iW:()=>_}),s(37876);var l=s(14232);s(37105);var r=s(31257),i=s(7482),n=s(83024);s(2510);let a="used-mfo-",o="used-mfos-resolved";function _(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=(0,n.fH)();(0,l.useEffect)(()=>{if(!t)return;let l=t=>{u(t instanceof CustomEvent?t.detail:void 0,e,s)},r=window.__usedMfosResolvedIds;return void 0!==r?void u(r,e,s):(window.addEventListener(o,l),()=>{window.removeEventListener(o,l)})},[t,e,s])}function u(e,t,s){let l=new Set(null!=e?e:[]);t.some(e=>!l.has(e.mfo_id))||(0,r._)({customerId:s,eventAction:r.y.noOffers,eventCategory:"mfo",eventValue:void 0,eventLabel:void 0})}(0,i.Fl)("local",n.Z8)},59099:e=>{e.exports={wrap:"styles_wrap__zGoxX",commercial_tag:"styles_commercial_tag__fvybW",white:"styles_white__Q6_ej",promotion_wrap:"styles_promotion_wrap___UiH4",bottom_row:"styles_bottom_row__MIbl4",buttons:"styles_buttons___RKfH",wide_button:"styles_wide_button__nY3dL",short_button:"styles_short_button__viEK7",promotion_caption:"styles_promotion_caption__OzMss",getMoneyDesktop:"styles_getMoneyDesktop__32OYR",getMoneyMobile:"styles_getMoneyMobile__KWFzD"}},69816:e=>{e.exports={card:"styles_card__wXsH1",skeletonCard:"styles_skeletonCard___H_IA",cards_list:"styles_cards_list__73nSr"}},72e3:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var l=s(37876),r=s(14232),i=s(69241),n=s(74356),a=s(83532),o=s(69816),_=s.n(o);let u=(0,r.memo)(e=>{let{className:t,cardClassName:s,offers:o,loading:u,control:c,placement:m,whiteBackground:p,withApprovalStatus:d,linkToDetails:v,onDetails:f,onOfferClick:x}=e;return(0,l.jsxs)("div",{className:(0,i.A)(_().cards_list,t),children:[o.map((e,t)=>(0,l.jsx)(r.Fragment,{children:(0,l.jsx)(a.X,{className:(0,i.A)(_().card,s),offer:e,order:t,placement:m,control:c,whiteBackground:p,withApprovalStatus:d,linkToDetails:v,onDetails:f,onClick:x})},e.id)),u&&Array.from({length:24},(e,t)=>(0,l.jsx)(n.E,{className:(0,i.A)(_().card,_().skeletonCard)},t))]})});u.displayName="OffersList";let c=u},83532:(e,t,s)=>{"use strict";s.d(t,{X:()=>S});var l=s(37876),r=s(14232),i=s(48230),n=s.n(i),a=s(25904),o=s(13636),_=s(26027),u=s(69241),c=s(91063),m=s(51391),p=s(89064),d=s(1102),v=s(33126),f=s(5552),x=s(79807),g=s(87883),b=s(33952),h=s(32266),N=s(15458),w=s.n(N);let y={AMOUNT:"amount",TERM:"term",TERM_WITHOUT_PERCENTS:"term_without_percents",INTEREST_RATE:"interest_rate"},j=(0,r.memo)(e=>{var t;let{rating:s,offer:r,reviewsUrl:i}=e;return(0,l.jsxs)("span",{className:w().rating,children:[(0,l.jsxs)("div",{className:w().rating,children:[(0,l.jsx)(a.Zv1,{className:w().icon_star})," ",(0,l.jsx)("p",{className:w().rating_text,children:s})]}),void 0!==r.reviewsCount&&(0,l.jsxs)(m.N,{className:w().reviews_text,href:i,target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),children:[r.reviewsCount," ",(t=r.reviewsCount,(0,p.td)(t,"отзыв","отзыва","отзывов")),(0,l.jsx)(a.vn,{})]})]})});j.displayName="Rating";let k=(0,r.memo)(e=>{let{offer:t,control:s,rating:i,status:n,withApprovalStatus:o=!0}=e,_=(0,f.sw)(),{isMicroloanTotalCost:c}=(0,b.i7)(),{mainBaseUrl:m}=(0,v.UK)(),p="".concat(m,"/mfo/").concat(t.mfo_url,"/otzyvy"),N=(0,r.useMemo)(()=>{var e,r,i;let n=[];if(n.push({name:y.AMOUNT,label:"Сумма",value:(0,x.ej)({to:Number(t.amount.to),from:Number(t.amount.from)},{currency:"₽"})}),void 0!==t.period.from&&void 0!==t.period.to&&n.push({name:y.TERM,label:"Срок",value:(0,l.jsxs)(l.Fragment,{children:[(0,x.Qd)(t.period.from,t.period.to)," ",(0,l.jsx)("span",{children:"дн."})]})}),1!==s.term_without_interest||c){if(n.push({name:y.TERM_WITHOUT_PERCENTS,label:"ПСК",description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n          Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем договоре займа.",value:(0,l.jsx)(l.Fragment,{children:(0,x.sP)(t.full_price.from,t.full_price.to,{withPrefixes:!0,minimumFractionDigits:3})})}),c&&(void 0!==t.interest_rate.from||void 0!==t.interest_rate.to)){let e=(0,x.sP)(null!=(r=t.interest_rate.from)?r:0,null!=(i=t.interest_rate.to)?i:0,{withPrefixes:!0});n.push({name:y.INTEREST_RATE,label:"Ставка в день",value:e})}}else{let s=null!=(e=t.term_without_percents)?e:"0";n.push({name:y.TERM_WITHOUT_PERCENTS,label:"Срок без %",value:(0,l.jsxs)(l.Fragment,{children:["0"!==s&&(0,l.jsx)("span",{children:"до"}),"\xa0",s,"\xa0",(0,l.jsx)("span",{children:"дн."})]})})}return n},[t.amount.to,t.amount.from,t.period.from,t.period.to,t.term_without_percents,t.full_price.from,t.full_price.to,t.interest_rate.from,t.interest_rate.to,s.term_without_interest,c]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:w().top_row,children:(0,l.jsx)("div",{className:w().title_group,children:(0,l.jsxs)("div",{className:(0,u.A)(w().group_sub,w().title_group_sub),children:[(0,l.jsxs)("div",{className:w().title_image_wrapper,children:[(0,l.jsx)(d.v,{url:t.logo_mob,size:20,mobileSize:20,alt:t.mfo_name,rounded:!0}),(0,l.jsxs)("div",{className:w().text_wrapper,children:[(0,l.jsxs)("div",{className:w().title_content,children:[(0,l.jsx)("span",{className:w().title_text,children:t.mfo_name}),!_&&(0,l.jsx)(j,{offer:t,rating:i,reviewsUrl:p})]}),"master_podbora_zajmov"===t.mfo_url?(0,l.jsxs)("div",{className:w().finuslugi_partner_wrapper,children:[(0,l.jsx)("span",{className:w().finuslugi_partner_text,children:"Партнер Финуслуг"}),(0,l.jsx)("span",{className:w().finuslugi_partner,children:(0,l.jsx)(a.bJK,{})})]}):(0,l.jsxs)("span",{className:w().reg_number,children:["Рег. ",t.registration_number]})]})]}),_&&(0,l.jsx)(j,{offer:t,rating:i,reviewsUrl:p})]})})}),(0,l.jsxs)("div",{className:(0,u.A)(w().card_info,{[w().full_price]:c}),children:[N.map(e=>(0,l.jsxs)("div",{className:w().group,children:[(0,l.jsxs)("div",{className:w().label,children:[(0,l.jsx)("p",{className:w().group_sub,children:e.label}),void 0!==e.description&&(0,l.jsx)("div",{onClick:e=>e.stopPropagation(),children:(0,l.jsx)(h.A,{contentClassName:w().popover_psk,content:e.description})})]}),(0,l.jsx)("p",{className:w().group_content,children:e.value})]},e.name)),o&&(0,l.jsx)(g.q,{className:w().group,labelClassName:w().group_sub,valueClassName:w().status_text,status:n})]})]})});k.displayName="MfoInfo";var C=s(23259),M=s(24735),T=s(83024),E=s(59099),A=s.n(E);let R=e=>{let{offer:t,linkToDetails:s,handleClick:r,children:i}=e;return s?(0,l.jsx)(n(),{href:"/mikrozajmy/".concat(t.url),className:A().title_sub,onClick:r,children:i}):(0,l.jsx)("span",{className:A().title_sub,onClick:r,children:i})},S=(0,r.memo)(e=>{let{className:t,offer:s,isPromotional:i,order:n,placement:m,control:p,onDetails:d,onClick:v,whiteBackground:x,withApprovalStatus:g=!0,linkToDetails:b=!0}=e,h=(0,T.fH)(),N=(0,f.sw)(),w=(0,C.h)(s,p,{offerId:String(s.id),order:n,placement:m}),y=(0,r.useCallback)(()=>{(e=>{let{id:t,item:s,customerId:l}=e,r=s.online_application&&s.online_application.commercial?"commercial":"non_commercial";(0,c.o)({event:"data-event",eventLabel:t,eventCategory:"mikrozajmy",eventAction:"open_in_bank_product",eventValue:r,customer_id:l})})({id:s.id,item:s,customerId:h}),null==v||v(s.id),window.open(w,"_blank")},[s,w,v,h]);return(0,l.jsxs)("div",{className:(0,u.A)(t,A().wrap,"".concat(M.hx).concat(s.mfo_id),{[A().promotion_wrap]:i,[A().white]:x}),onClick:y,children:[void 0!==s.online_application.commercial_desc&&(0,l.jsx)(_.v,{size:"s",className:A().commercial_tag,label:s.online_application.commercial_desc,variant:"purple",rounded:!0}),(0,l.jsx)(k,{offer:s,control:p,rating:s.rating,status:s.approvalStatus,withApprovalStatus:g}),(0,l.jsxs)("div",{className:A().bottom_row,children:[(0,l.jsxs)("div",{className:A().buttons,children:[(0,l.jsx)(o.$,{className:A().wide_button,size:N?"xxs":"xs",label:N?"Получить":"Получить деньги",variant:i?"purple":"primary"}),(0,l.jsx)(R,{offer:s,linkToDetails:b,handleClick:e=>{e.preventDefault(),e.stopPropagation(),d(s.id)},children:(0,l.jsx)(o.$,{className:A().short_button,size:N?"xxs":"xs",variant:"white",iconLeft:(0,l.jsx)(a.b5T,{})})})]}),i&&(0,l.jsxs)("p",{className:A().promotion_caption,children:["Реклама ",s.legal_name]})]})]})});S.displayName="MfoCard"},84980:e=>{e.exports={container:"utp-tags_container__gbSRO"}},98005:(e,t,s)=>{"use strict";s.d(t,{w:()=>N});var l=s(37876),r=s(14232),i=s(18315),n=s(37105),a=s(91063),o=s(23259),_=s(17495),u=s(91572),c=s(83024),m=s(30557),p=s(79807),d=s(12837);function v(e){return{sectionTitle:"Параметры займа",body:e}}function f(e){return{sectionTitle:"Условия",body:e}}function x(e){return{label:"Срок займа",value:(0,p.aB)(Number(e.from),Number(e.to)),description:"Минимальный и максимальный срок займа"}}function g(e){return{label:"Сумма займа",value:(0,p.jC)(e.from,e.to)}}function b(e){return{label:"ПСК",value:e,description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."}}function h(e){return{label:"Процентная ставка",value:(0,d.t)({text:(0,p.sP)(Number(e.from),Number(e.to)),comment:e.comment})}}let N=(0,r.memo)(e=>{let{data:t,isOpen:s,control:p,isNewApi:N,onAllConditionsClick:w,onClose:y}=e,j=(0,c.fH)(),k=(0,o.h)(t,p),[C,M]=(0,r.useState)(),[T,E]=(0,r.useState)(),A=(0,r.useCallback)(()=>{t&&(0,a.o)({event:"data-event",eventLabel:t.id,eventCategory:t.url,eventAction:"learn_more_catalog",customer_id:j})},[t,j]);(0,r.useEffect)(()=>{M(void 0),Promise.all([(0,u.BV)(t.url,N),(0,_.Fk)(t.mfo_url,N)]).then(e=>{let[t,s]=e;M(t),E(s)})},[t.mfo_url,t.url,N]);let R=(0,r.useMemo)(()=>void 0!==C&&void 0!==T?(e=>{var t,s,l,r,i,n,a,o,_,u,c,p,N;let w=[x(e.period),g(e.amount)];w.push(b((0,m.o)(e.full_price))),w.push(h(e.interest_rate));let y=[function(e){return{label:"Обеспечение",value:(null==e?void 0:e.not_required)||!(null==e?void 0:e.text)?"Не требуется":(0,d.t)(e)}}(e.loan)];((null==(t=e.purpose)?void 0:t.comment)||(null==(s=e.purpose)?void 0:s.text))&&y.push({label:"Цель выдачи",value:(0,d.t)(e.purpose)}),((null==(l=e.application_term)?void 0:l.comment)||(null==(r=e.application_term)?void 0:r.text))&&y.push({label:"Срок выдачи",value:(0,d.t)(e.application_term)}),((null==(i=e.form)?void 0:i.comment)||(null==(n=e.form)?void 0:n.text))&&y.push({label:"Форма выдачи",value:(0,d.t)(e.form)}),((null==(a=e.fine)?void 0:a.comment)||(null==(o=e.fine)?void 0:o.text))&&y.push({label:"Штраф за неоплату платежа",value:(0,d.t)(e.fine)}),(e.age.comment||e.age.text)&&y.push({label:"Возраст заемщика",value:(0,d.t)(e.age)}),((null==(_=e.borrower)?void 0:_.comment)||(null==(u=e.borrower)?void 0:u.text))&&y.push({label:"Категория заемщика",value:(0,d.t)(e.borrower)}),y.push({label:"Стаж работы",value:(null==(c=e.experience)?void 0:c.text)?(0,d.t)(e.experience):"Не требуется"}),y.push({label:"Подтверждение дохода",value:(null==(p=e.income_proof)?void 0:p.text)?(0,d.t)(e.income_proof):"Не требуется"}),(null==(N=e.docs)?void 0:N.text)&&y.push({label:"Требуемые документы",value:(0,d.t)(e.docs)});let j=[];return void 0!==e.legalName&&j.push({label:"Наименование",value:e.legalName}),void 0!==e.registrationNumber&&j.push({label:"Регистрационный номер",value:e.registrationNumber}),void 0!==e.legalAddress&&j.push({label:"Юридический адрес",value:e.legalAddress}),void 0!==e.site&&j.push({label:"Сайт",value:e.site}),[v(w),f(y),{sectionTitle:"Об организации",body:j}]})({...C,site:t.site,legalName:T.legal_entities[0].name,legalAddress:T.legal_entities[0].address,registrationNumber:T.legal_entities[0].registration_number,inn:T.legal_entities[0].inn,ogrn:T.legal_entities[0].ogrn}):(e=>[v([x(e.period),g(e.amount),b("Загружается…"),h(e.interest_rate)]),f([])])(t),[t,T,C]);return(0,l.jsx)(i.a,{isOpen:s,cancelButton:void 0!==w?{title:"Все условия по займу",onClick:w}:void 0,submitButton:{title:"Получить деньги",onClick:A,url:k},onClose:y,bankName:t.mfo_name,dataPoints:R,pageUrl:n.h.MICROZAJMY,offerUpdateData:null==C?void 0:C.m_updated_at})});N.displayName="MfoInfoModal"}}]);