(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1498],{2510:(t,e,n)=>{"use strict";n.d(e,{AP:()=>s,Z2:()=>i,cf:()=>r,s6:()=>a}),n(28131);let i="DEFAULT",r="teg_",a="reg_";function s(t){return t.startsWith(r)}},2694:t=>{t.exports={widgetContainer:"satellite-landing_widgetContainer__HA80C"}},3010:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(37876),r=n(14232),a=n(98477);let s=t=>{let{children:e,id:n="portal-root"}=t,[s,o]=(0,r.useState)(null);return(0,r.useEffect)(()=>{var t,e,i;let r=null==(t=document)?void 0:t.getElementById(n);if(r)o(r);else{let t=null==(e=document)?void 0:e.createElement("div");return null==(i=document)||i.body.appendChild(t),o(t),()=>{var e;null==(e=document)||e.body.removeChild(t)}}},[n]),(0,i.jsx)(i.Fragment,{children:s&&(0,a.createPortal)(e,s)})}},10027:(t,e,n)=>{"use strict";n.d(e,{I:()=>l});var i=n(37876),r=n(77328),a=n.n(r),s=n(89099),o=n(33126),c=n(3187);function l(t){let{title:e,description:n,productId:r}=t,{basePath:l,mainBaseUrl:u}=(0,o.UK)(),{asPath:d}=(0,s.useRouter)(),h=(0,c.m)(d);return(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:e}),(0,i.jsx)("meta",{name:"description",content:n}),(0,i.jsx)("meta",{property:"og:title",content:e}),(0,i.jsx)("meta",{property:"og:description",content:n}),(0,i.jsx)("meta",{property:"og:site_name",content:"Финуслуги"}),(0,i.jsx)("meta",{property:"og:image",content:"".concat(l,"/icons/favicon-32x32.png")}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat(u).concat(h)}),(0,i.jsx)("link",{rel:"icon",href:"".concat(l,"/icons/favicon-32x32.png")}),(0,i.jsx)("link",{rel:"manifest",href:"".concat(l,"/manifest.json"),type:"application/manifest+json"}),(0,i.jsx)("link",{rel:"canonical",href:"".concat(u).concat(h)}),r&&(0,i.jsx)("script",{children:"dataLayer = [{\n            'view_product_id': '".concat(r,"'\n          }];")})]})}l.displayName="HeadMeta"},11361:(t,e,n)=>{"use strict";n.d(e,{p:()=>l});var i=n(37876),r=n(41377),a=n(25904),s=n(15691),o=n.n(s);let c=[{icon:a.IconFdsCoatOfArmRussiaO,text:"Финуслуги — официальная финансовая платформа, внесенная в реестр ЦБ РФ",link:"https://www.cbr.ru/finm_infrastructure/financial_platform_operators"},{icon:a.IconFdsOctostarCheckO,text:"Все наши партнеры имеют лицензию\nБанка России"},{icon:a.IconFdsShieldCheckO,text:"Ваши данные защищены, зашифрованы и\xa0не\xa0передаются третьим лицам"}];function l(t){let{loginWidgetRef:e,title:n,subtitle:a,onButtonClick:s,loginWidgetConfig:l}=t;return(0,i.jsxs)("div",{className:o().container,children:[(0,i.jsxs)("div",{className:o().heading,children:[(0,i.jsx)("h1",{className:o().title,children:n}),(0,i.jsx)("p",{className:o().subtitle,children:a}),(0,i.jsx)("div",{className:o().widgetContainer,ref:e,children:(0,i.jsx)(r.S,{className:o().widget,...l,onAnalyticsEvent:s})})]}),(0,i.jsx)("div",{className:o().infoBlock,children:c.map((t,e)=>{let{icon:n,text:r,link:a}=t;return(0,i.jsxs)("div",{className:o().infoItem,children:[(0,i.jsx)("div",{className:o().iconWrapper,children:(0,i.jsx)(n,{className:o().icon,size:"24"})}),void 0!==a?(0,i.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:o().infoText,children:r}):(0,i.jsx)("span",{className:o().infoText,children:r})]},e)})})]})}},12771:(t,e,n)=>{"use strict";n.d(e,{x6:()=>g,zy:()=>l,ZP:()=>c,pY:()=>p,aB:()=>d,xy:()=>h,QV:()=>u,Cw:()=>o});var i=n(33126);class r{start(){this.startTime=performance.now()}setStatus(t){this.status=t}observe(){if(!this.startTime)throw Error("Prometheus metric of outgoing request is not observed: startTime is not defined");!function(t,e,i,r){try{var a,s;null==(a=n.g.outgoingHTTPRequestHistogram)||a.labels(t,e,void 0!==i?String(i):"unknown").observe((s=r,performance.now()-s))}catch(t){console.warn("Prometheus metric of outgoing request is not observed:",t)}}(this.method,this.url,this.status,this.startTime)}constructor(t,e){this.method=t,this.url=e}}var a=n(3187),s=n(63273);function o(){return"".concat((0,i.zj)().basePath,"/api")}function c(t,e){return g("".concat("".concat((0,i.zj)().creditShowcaseApiUrl,"/api/v1"),"/").concat(t),e)}function l(t,e){return g("".concat("".concat((0,i.zj)().mainApiUrl,"/money_data"),"/").concat(t),e)}function u(t,e){return g("".concat("".concat((0,i.zj)().savingsApiUrl,"/api/v1"),"/").concat(t),e)}function d(t,e){return g("".concat("".concat((0,i.zj)().mpScApiUrl,"/api/v1"),"/").concat(t),e)}function h(t,e){return g("".concat("".concat((0,i.zj)().mpScSeoApiUrl,"/api/v2"),"/").concat(t),e)}function p(t,e){return g("".concat(o(),"/").concat(t),e)}async function g(t,e){let n=await m(t,e);try{return JSON.parse(n)}catch(t){throw Error("Failed to parse JSON: ".concat(n),{cause:t})}}async function m(t,e){var n;(0,s.oc)()||console.debug("Fetch data: ".concat(t));let o={},c=(0,i.zj)().apiUsername,l=(0,i.zj)().apiPassword;c&&l&&(o.Authorization="Basic ".concat((0,s.WG)("".concat(c,":").concat(l))));let u=new r(null!=(n=null==e?void 0:e.method)?n:"GET",(0,a.m)(t));try{u.start();let n=await fetch(t,{...e,headers:{...o,...null==e?void 0:e.headers}});if(u.setStatus(n.status),!n.ok)throw Error("Response wasn't OK. The response status code is ".concat(n.status));return await n.text()}catch(e){throw Error("Failed to fetch data: ".concat(t),{cause:e})}finally{u.observe()}}},15691:t=>{t.exports={container:"satellite-landing-heading_container__LIaMB",heading:"satellite-landing-heading_heading__FTHM3",widgetContainer:"satellite-landing-heading_widgetContainer__RqWjy",widget:"satellite-landing-heading_widget__m4Gyz",title:"satellite-landing-heading_title__USjg6",subtitle:"satellite-landing-heading_subtitle__bj30j",infoBlock:"satellite-landing-heading_infoBlock__GO7rn",infoItem:"satellite-landing-heading_infoItem__CNPXo",infoText:"satellite-landing-heading_infoText__4Lv_6",iconWrapper:"satellite-landing-heading_iconWrapper__Blfql",icon:"satellite-landing-heading_icon__yshCA"}},16891:(t,e,n)=>{"use strict";n.d(e,{J:()=>o});var i=n(37876),r=n(49995),a=n(53934),s=n.n(a);let o=t=>{let{children:e,className:n}=t;return(0,i.jsx)("div",{className:(0,r.A)(s().mainContainer,n),children:e})}},25651:(t,e,n)=>{"use strict";n.d(e,{F:()=>C});var i=n(37876),r=n(14232),a=n(89099),s=n(41377),o=n(10027),c=n(92020),l=n(99388),u=n(33126),d=n(5552),h=n(9837),p=n(48673),g=n(3187),m=n(66460),v=n(162),f=n(61850),x=n(54926),_=n(27116);let w=(0,r.memo)(t=>{let{name:e}=t,n={"@context":"https://schema.org","@type":"Product",name:e,aggregateRating:(0,x.E)({ratingValue:4.8,reviewCount:1587,bestRating:5,worstRating:1})};return(0,i.jsx)(_.S,{schema:n})});w.displayName="SatteliteLandingSchema",n(51040);var j=n(2694),y=n.n(j);function C(t){let{expertQuote:e,questions:n,texts:x,content:_,onNavigate:j,support:C,loginWidgetServerConfig:b,noIndex:A,loginWidgetButtonText:k,loginWidgetEntryPoint:T,seoText:E}=t,{lkBaseUrl:S,assetsBaseUrl:N}=(0,u.UK)(),U=(0,r.useRef)(null),{asPath:I}=(0,a.useRouter)(),[R,O]=(0,r.useState)(!1),[P,L]=(0,r.useState)(null!=e?e:void 0),[z,F]=(0,r.useState)(null!=E?E:void 0),B=(0,d._I)(),D=(0,r.useMemo)(()=>({baseUrl:S,s3AssetsUrl:"".concat(N,"/mp-assets"),serverConfig:b,config:{primaryTextOverride:k,linkTarget:"_self"},isSilent:!0,entryPointId:T,scenarioParams:{targetUri:"".concat(S,"/credits/history")}}),[N,S,b,k,T]),M=(0,g.m)(I);(0,l.eg)(l.ch.Credit);let W=n.map(t=>({...t,plainText:t.text.replace(/<[^>]+>/g,"")}));return(0,p.w5)(()=>{(0,v.Zs)(M).then(L),(0,f.Rz)(M).then(F)},[M]),(0,r.useEffect)(()=>{let t=U.current;if(null===t)throw Error("Dead code branch");let e=new IntersectionObserver(t=>{let[e]=t;O(!e.isIntersecting)},{threshold:.1});return e.observe(t),()=>{e.unobserve(t)}},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.I,{title:x.meta.title,description:x.meta.description}),A?(0,i.jsx)(c.W,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.t,{}),(0,i.jsx)(w,{name:x.title}),(0,i.jsx)(h.c,{questions:W})]}),(0,i.jsx)(_,{texts:x,loginWidgetRef:U,expertQuote:P,questions:n,onSatelliteNavigate:j,support:C,loginWidgetConfig:D,seoText:z}),!B&&R&&(0,i.jsx)("div",{className:y().widgetContainer,children:(0,i.jsx)(s.S,{...D})})]})}},28131:(t,e,n)=>{"use strict";function i(t){return t instanceof Error?t.message:"Unknown error"}n.d(e,{m_:()=>r,u1:()=>i});class r extends Error{}},37105:(t,e,n)=>{"use strict";n.d(e,{h:()=>i});var i=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}({})},37397:(t,e,n)=>{"use strict";n.d(e,{Q:()=>o});var i=n(33126),r=n(12771),a=n(63273),s=n(28131);async function o(t,e){var n;return c("".concat((n=(0,i.zj)().mainApiUrl,(0,a.oc)()&&window.origin!==n?"".concat((0,r.Cw)(),"/proxy").concat("/main"):n)).concat(t),e)}async function c(t,e){try{return{data:await (0,r.x6)(t,e),error:null}}catch(t){return{data:null,error:(0,s.u1)(t)}}}},47593:(t,e,n)=>{"use strict";n.d(e,{B:()=>s});var i=n(37876),r=n(90557),a=n.n(r);function s(t){let{isSticky:e}=t;return(0,i.jsx)("div",{className:a().disclaimer,style:e?{position:"sticky"}:{position:"fixed",width:"100%"},children:"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})}},51040:()=>{},53934:t=>{t.exports={mainContainer:"MainContainer_mainContainer__i0H2X"}},54926:(t,e,n)=>{"use strict";function i(t){let{ratingValue:e,reviewCount:n,bestRating:i,worstRating:r}=t;return{"@type":"AggregateRating",ratingValue:e,reviewCount:n,bestRating:i,worstRating:r}}n.d(e,{E:()=>i})},61850:(t,e,n)=>{"use strict";n.d(e,{Rz:()=>a});var i=n(12771),r=n(73584);async function a(t){try{return await (0,i.pY)("showcases/seo-text?url=".concat(encodeURIComponent(t)))}catch(t){return}}async function s(t){let e=(await (0,i.xy)("seo-texts/by-url?url=".concat(encodeURIComponent(t)))).find(t=>"SEO Текст"===t.type.name);if(void 0!==e)return e.content.filter(t=>void 0!==t.title&&void 0!==t.content).sort(o)[0]}function o(t,e){return t.position-e.position}n(28131),new r.AP(s)},73422:t=>{t.exports={withoutLogo:"footer_withoutLogo__SigHo"}},73584:(t,e,n)=>{"use strict";n.d(e,{AP:()=>r,B4:()=>i,n9:()=>a});class i{getOrUpdate(t){var e;return null!=(e=this.get())?e:this.update(t)}get(){if(this.expires>Date.now())return this.value}update(t){let e=this.getValue(t),n=this.value;return(this.expires=Date.now()+this.duration,void 0!==n)?(e.then(t=>{this.value=Promise.resolve(t)}).catch(()=>{this.expires=Date.now()+this.duration}),n):(e.catch(()=>{this.value=void 0,this.expires=0}),this.value=e,e)}constructor(t,e){this.expires=0,this.getValue=t,this.duration=null!=e?e:3e5}}class r{getOrUpdate(t,e){var n;return null!=(n=this.get(t))?n:this.update(t,e)}get(t){var e;if((null!=(e=this.expires.get(t))?e:0)>Date.now())return this.values.get(t)}update(t,e){let n=this.getValue(e),i=this.values.get(t);return(this.expires.set(t,Date.now()+this.duration),this.clear(),void 0!==i)?(n.then(e=>{this.values.set(t,Promise.resolve(e))}).catch(()=>{this.expires.set(t,Date.now()+this.duration)}),i):(n.catch(()=>{this.values.delete(t),this.expires.delete(t)}),this.values.set(t,n),n)}clear(){let t=Date.now();this.expires.forEach((e,n)=>{e<t&&(this.values.delete(n),this.expires.delete(n))})}constructor(t,e){this.values=new Map,this.expires=new Map,this.getValue=t,this.duration=null!=e?e:3e5}}function a(){let t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate()+1,0,0,0,0).getTime()}},81078:(t,e,n)=>{"use strict";n.d(e,{w:()=>l});var i=n(37876),r=n(31477),a=n(49995),s=n(33126),o=n(73422),c=n.n(o);function l(t){let{className:e,data:n,variant:o,withoutLogo:l}=t,u=(0,s.UK)();return(0,i.jsx)("div",{className:(0,a.A)(e,{[c().withoutLogo]:l}),children:(0,i.jsx)(r.F,{data:n,showcaseUrl:u.mainBaseUrl,variant:o})})}},90557:t=>{t.exports={disclaimer:"advertisement-disclaimer_disclaimer__CoBa3"}},91063:(t,e,n)=>{"use strict";n.d(e,{o:()=>r});var i=n(35656);function r(t){t.eventAction&&(t.eventAction=t.eventAction.toLowerCase().replaceAll(" ","_")),t.eventLabel&&"string"==typeof t.eventLabel&&(t.eventLabel=t.eventLabel.toLowerCase().replaceAll(" ","_")),(0,i.Fj)(t)}},92020:(t,e,n)=>{"use strict";n.d(e,{W:()=>s});var i=n(37876),r=n(77328),a=n.n(r);let s=()=>(0,i.jsx)(a(),{children:(0,i.jsx)("meta",{name:"robots",content:"noindex,nofollow"})})}}]);