(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[154],{9221:(t,e,o)=>{"use strict";o.d(e,{GD:()=>u});var r=o(33126),n=o(66146),i=o(25334);let a={[i.p.First]:{min:470,max:498},[i.p.Second]:{min:470,max:485},[i.p.Third]:{min:460,max:475},[i.p.Forth]:{min:450,max:470},[i.p.Last]:{min:450,max:450},[i.p.Uncommercial]:{min:430,max:450}};function u(t,e){let o=(0,r.zj)().serverDate,i="".concat(o.getUTCDay()).concat(o.getUTCMonth()).concat(o.getUTCFullYear()).concat(t),u=(0,n.t)(i),c=a[e];return c.min+u%(c.max-c.min+1)}},10280:(t,e,o)=>{"use strict";o.d(e,{A:()=>n});var r=o(12771);async function n(){return i.getOrUpdate()}let i=new(o(73584)).B4(a);async function a(){return(await (0,r.aB)("data/page-data?scLayoutName=PageFooter&scPageUrl=homepage")).value}},25334:(t,e,o)=>{"use strict";o.d(e,{i:()=>i,p:()=>r});var r=function(t){return t[t.First=6]="First",t[t.Second=15]="Second",t[t.Third=30]="Third",t[t.Forth=50]="Forth",t.Last="last",t.Uncommercial="uncommercial",t}({});let n=[6,15,30,50];function i(t,e){if(e)return"uncommercial";for(let e of n)if(t<=e)return e;return"last"}},30409:(t,e,o)=>{"use strict";function r(t){return"string"==typeof t&&/^-?\d+(\.\d+)?$/.test(t)}function n(t){if(r(t))return t;let e=String(t);if(r(e))return e;throw Error("Dead code branch")}function i(t){return""!==t}o.d(e,{C$:()=>n,uI:()=>i})},31257:(t,e,o)=>{"use strict";o.d(e,{_:()=>a,y:()=>i});var r=o(91063),n=o(87087),i=function(t){return t.link="link",t.button="button",t.popup="popup",t.popdown="popdown",t.filterCatalog="filter_catalog",t.utm="utm",t.banner="banner",t.noOffers="no_offers",t}({});let a=t=>{let e,o,{eventCategory:i,eventAction:a,eventActionText:u="",eventLabel:c,eventValue:l,url:s,customerId:m}=t;e="boolean"==typeof l?l?"on":"off":l,o="filter_catalog"!==a?/[а-я]/i.test(u.toLowerCase()):"string"!=typeof c||/[а-я]/i.test(c.toLowerCase());let d="filter_catalog"!==a?{event:"data-event",eventCategory:null!=i?i:"",eventAction:({link:"click_link_",button:"click_button_",popup:"show_pop_up_",popdown:"close_pop_up_",utm:"save_utm",banner:"click_banner",no_offers:"no_offers_to_show"})[a]+(0,n.y)(u.toLowerCase().replaceAll(" ","_")),eventLabel:c,eventValue:e,url:s,customer_id:m}:{event:"data-event",eventAction:null!=i?i:"",eventCategory:a,eventLabel:function(t,e){return"string"==typeof t?e?t:(0,n.y)(t):t}(c,o),eventValue:e,url:s,customer_id:m};(0,r.o)(d)}},37105:(t,e,o)=>{"use strict";o.d(e,{h:()=>r});var r=function(t){return t.POTREBITELSKIE="potrebitelskie_kredity",t.KARTY="kreditnye_karty",t.MICROZAJMY="mikrozajmy",t.AUTOCREDIT="avtokredity",t.IPOTEKA="ipoteka",t.CALCULATOR="kreditniy_kalkulyator",t}({})},53049:t=>{t.exports={value:"microloan-approval-status-mobile_value__1jYdA"}},66146:(t,e,o)=>{"use strict";function r(t){let e=5381;for(let o=0;o<t.length;o++)e=(e<<5)+e+t.charCodeAt(o);return Math.abs(e)}o.d(e,{t:()=>r})},66547:(t,e,o)=>{"use strict";o.d(e,{Q:()=>n,y:()=>a});var r=o(25334),n=function(t){return t.Low="low",t.Medium="medium",t.High="high",t.VeryHigh="very-high",t}({});let i={[r.p.First]:[{minRating:490,status:"high"},{minRating:480,status:"very-high"},{minRating:0,status:"high"}],[r.p.Second]:[{minRating:482,status:"medium"},{minRating:472,status:"high"},{minRating:0,status:"medium"}],[r.p.Third]:[{minRating:465,status:"high"},{minRating:0,status:"medium"}],[r.p.Forth]:[{minRating:0,status:"medium"}],[r.p.Last]:[{minRating:0,status:"medium"}],[r.p.Uncommercial]:[{minRating:440,status:"medium"},{minRating:0,status:"low"}]};function a(t,e){for(let{minRating:o,status:r}of i[t])if(e>=o)return r;throw Error("Dead code branch")}},66789:(t,e,o)=>{"use strict";o.d(e,{K:()=>c});var r=o(37876),n=o(49995),i=o(66547),a=o(83735),u=o.n(a);function c(t){let{className:e,status:o}=t,i=l[o];return(0,r.jsx)("div",{className:(0,n.A)(e,u().container),style:{"--background-color":i.backgroundColor,"--border-color":i.borderColor,"--text-color":i.textColor},children:i.text})}let l={[i.Q.Low]:{backgroundColor:"#FFDDDE",borderColor:"#FFCDCE",textColor:"#FF0508",text:"Низкое одобрение"},[i.Q.Medium]:{backgroundColor:"#FFF1B6",borderColor:"#FEE5CD",textColor:"#FA7C07",text:"Среднее одобрение"},[i.Q.High]:{backgroundColor:"#EBFFEF",borderColor:"#DBF3DF",textColor:"#49C55D",text:"Высокое одобрение"},[i.Q.VeryHigh]:{backgroundColor:"#DBF3DF",borderColor:"#B6E8BE",textColor:"#3A9E4A",text:"Очень высокое одобрение"}}},68204:(t,e,o)=>{"use strict";o.d(e,{I1:()=>m,Nh:()=>l,O$:()=>u,VX:()=>a,X8:()=>s,eg:()=>c});var r=o(12771),n=o(30409),i=o(3187);function a(t){return(0,r.pY)("microloans-new/offer?url=".concat(t))}function u(t){let{logo_mob:e,logo_mob_png:o}=t;return void 0!==e&&(0,i.vh)(e)?e:void 0!==o&&(0,i.vh)(o)?o:void 0}function c(t){let{url:e,commercial:o,commercial_desc:r,best_offer_catalogue:n}=t,i={type:1,url:e,commercial:o};return void 0!==r&&(i.commercial_desc=r),void 0!==n&&(i.best_offer_catalogue=n),i}function l(t){let{comment:e,...o}=t,r=d(o);return void 0!==e&&(0,n.uI)(e)&&(r.comment=e),r}function s(t){let e=d(t);return void 0!==t.comment&&(0,n.uI)(t.comment)&&(e.comment=t.comment),e}function m(t){let e=d(t);return void 0!==t.comment&&(0,n.uI)(t.comment)&&(e.comment=t.comment),e}function d(t){return void 0===t.from?{to:Number(t.to)}:void 0!==t.to?{from:Number(t.from),to:Number(t.to)}:{from:Number(t.from)}}},83735:t=>{t.exports={container:"microloan-approval-status-desktop_container__TQigp"}},87087:(t,e,o)=>{"use strict";o.d(e,{y:()=>n});let r={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},n=t=>t.replace(/[а-яё]/gi,t=>{let e=t.toLowerCase();if(e in r){let o=r[e];return e===t?o:o.charAt(0).toUpperCase()+o.slice(1)}return t})},87883:(t,e,o)=>{"use strict";o.d(e,{q:()=>c});var r=o(37876),n=o(49995),i=o(66547),a=o(53049),u=o.n(a);function c(t){let{className:e,labelClassName:o,valueClassName:i,status:a}=t,c=l[a];return(0,r.jsxs)("div",{className:e,children:[(0,r.jsx)("label",{className:o,children:"Одобрение"}),(0,r.jsx)("p",{className:(0,n.A)(i,u().value),style:{"--text-color":c.textColor},children:c.text})]})}let l={[i.Q.Low]:{textColor:"#FF0508",text:"Низкое"},[i.Q.Medium]:{textColor:"#FA7C07",text:"Среднее"},[i.Q.High]:{textColor:"#49C55D",text:"Высокое"},[i.Q.VeryHigh]:{textColor:"#3A9E4A",text:"Очень высокое"}}},91063:(t,e,o)=>{"use strict";o.d(e,{o:()=>n});var r=o(35656);function n(t){t.eventAction&&(t.eventAction=t.eventAction.toLowerCase().replaceAll(" ","_")),t.eventLabel&&"string"==typeof t.eventLabel&&(t.eventLabel=t.eventLabel.toLowerCase().replaceAll(" ","_")),(0,r.Fj)(t)}},91572:(t,e,o)=>{"use strict";o.d(e,{$A:()=>d,BV:()=>u,Im:()=>m,M$:()=>c,P:()=>g,TR:()=>l,b8:()=>f,gI:()=>v,q8:()=>s});var r=o(12771);o(28131);var n=o(30409),i=o(3187),a=o(68204);function u(t,e){return e?(0,a.VX)(t):(0,r.pY)("microloans/offer?url=".concat(t))}function c(t){return null!==t&&""!==t&&(void 0!==t.to&&null!==t.to&&""!==t.to||void 0!==t.from&&null!==t.from&&""!==t.from)}function l(t){return null!==t&&""!==t&&void 0!==t.to&&null!==t.to&&""!==t.to}function s(t){let{logo_mob:e,logo_mob_png:o}=t;return(0,i.vh)(e)?e:(0,i.vh)(o)?o:void 0}function m(t){let{url:e,type:o,commercial:r,commercial_desc:i,best_offer_catalogue:a}=t,u={type:o,url:e,commercial:r};return(0,n.uI)(i)&&(u.commercial_desc=i),void 0!==a&&(u.best_offer_catalogue=a),u}function d(t){let{comment:e,...o}=t,r=p(o);return void 0!==e&&(0,n.uI)(e)&&(r.comment=e),r}function f(t){let{comment:e,...o}=t,r=p(o);return(0,n.uI)(e)&&(r.comment=e),r}function v(t){let{comment:e,...o}=t,r=p(o);return(0,n.uI)(e)&&(r.comment=e),r}function g(t){let{from:e,to:o}=t;return{from:void 0!==e?Number(e):0,to:Number(o)}}function p(t){let{from:e,to:o}=t;return""===e||void 0===e?{to:Number(o)}:""!==o&&void 0!==o?{from:Number(e),to:Number(o)}:{from:Number(e)}}},92020:(t,e,o)=>{"use strict";o.d(e,{W:()=>a});var r=o(37876),n=o(77328),i=o.n(n);let a=()=>(0,r.jsx)(i(),{children:(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"})})},98473:(t,e,o)=>{"use strict";var r=o(12771),n=o(73584),i=function(t){return t.Normal="0",t.Large="1",t.Small="2",t}(i||{});async function a(){let t=await (0,r.zy)("MicroCreditsControl.json");if(t.microCredit_controls.length<1)throw Error("Microloans control not found");return t.microCredit_controls.length>1&&console.warn("Microloans control is invalid"),function(t){let{term_without_interest:e,redirect:o}=t,r={term_without_interest:e},n=function(t){if(""!==t){let{redirect:e,redirect_to:o}=t;if(0!==e&&""!==o)return o}}(o);return void 0!==n&&(r.redirect_to=n),r}(t.microCredit_controls[0])}new n.B4(a)}}]);