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