(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6354],{84444:function(t,e,n){"use strict";n.d(e,{N:function(){return l}});var r=n(85893),s=n(9008),a=n.n(s),o=n(11163),i=n(84053),c=n(12261);function l(t){let{title:e,description:n,productId:s}=t,{basePath:l,mainBaseUrl:u}=(0,i.ZR)(),{asPath:p}=(0,o.useRouter)(),d=(0,c.iN)(p);return(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:e}),(0,r.jsx)("meta",{name:"description",content:n}),(0,r.jsx)("meta",{property:"og:title",content:e}),(0,r.jsx)("meta",{property:"og:description",content:n}),(0,r.jsx)("meta",{property:"og:site_name",content:"Финуслуги"}),(0,r.jsx)("meta",{property:"og:image",content:"".concat(l,"/icons/favicon-32x32.png")}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:"".concat(u).concat(d)}),(0,r.jsx)("link",{rel:"icon",href:"".concat(l,"/icons/favicon-32x32.png")}),(0,r.jsx)("link",{rel:"manifest",href:"".concat(l,"/manifest.json"),type:"application/manifest+json"}),(0,r.jsx)("link",{rel:"canonical",href:"".concat(u).concat(d)}),s&&(0,r.jsx)("script",{children:"dataLayer = [{\n            'view_product_id': '".concat(s,"'\n          }];")})]})}l.displayName="HeadMeta"},19438:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});var r=n(85893),s=n(86010),a=n(20551),o=n.n(a);let i=t=>{let{children:e,className:n}=t;return(0,r.jsx)("div",{className:(0,s.Z)(o().mainContainer,n),children:e})}},73897:function(t,e,n){"use strict";var r,s;n.d(e,{u:function(){return r}}),(s=r||(r={})).POTREBITELSKIE="potrebitelskie_kredity",s.KARTY="kreditnye_karty",s.MICROZAJMY="mikrozajmy",s.AUTOCREDIT="avtokredity",s.IPOTEKA="ipoteka",s.CALCULATOR="kreditniy_kalkulyator"},88572:function(t,e,n){"use strict";n.d(e,{_B:function(){return A},kv:function(){return o}});var r,s,a,o,i=n(11163),c=n(67294),l=n(44417),u=n(76717),p=n(65737);function d(t,e,n,r,s){let a=Object.fromEntries(e);a.product_type=n,a.aggregator_id=r,a.create_date=new Date().toISOString();let o=function(t){try{let e=t.cpa_click;if(e)return JSON.parse(e)}catch(t){}return{payload:[]}}(t);o.payload.push(a),(0,u.L)("cpa_click",o,30);let i={event:"data-event",eventCategory:r,eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:s,utm_source:e.get("utm_source"),utm_campaign:e.get("utm_campaign"),utm_medium:e.get("utm_medium")};return(0,p.l)(i),!0}function A(t){let{asPath:e}=(0,i.useRouter)(),n=(0,l.f)();(0,c.useEffect)(()=>{!function(t,e,n){let[r,s]=e.split("?"),a=new URLSearchParams(s);(function(t,e,n){var r;let s=e.get("aggregator_id");if(!s)return!1;if("agents"!==s)throw Error('The query parameter "aggregator_id" should be equal to "agents"');let a=null!==(r=e.get("click_id"))&&void 0!==r?r:void 0;return d(t,e,n,s,a)})(t,a,n)||function(t,e,n){var r;let s=e.get("utm_source");if(!s)return;let a=null!==(r=e.get("utm_term"))&&void 0!==r?r:void 0;d(t,e,n,s,a)}(t,a,n)}(n,e,t)},[n,e,t])}(r=a||(a={})).Source="utm_source",r.Campaign="utm_campaign",r.Medium="utm_medium",r.Term="utm_term",(s=o||(o={})).Credit="credit",s.CreditCard="credit_card",s.Microloan="micro_loan"},65737:function(t,e,n){"use strict";n.d(e,{l:function(){return s}});var r=n(77607);function s(t){t.eventAction&&(t.eventAction=t.eventAction.toLowerCase().replaceAll(" ","_")),t.eventLabel&&"string"==typeof t.eventLabel&&(t.eventLabel=t.eventLabel.toLowerCase().replaceAll(" ","_")),(0,r.AB)(t)}},40741:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});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"},s=t=>t.replace(/[а-яё]/gi,t=>{let e=t.toLowerCase();if(e in r){let n=r[e];return e===t?n:n.charAt(0).toUpperCase()+n.slice(1)}return t})},65709:function(t,e,n){"use strict";n.d(e,{rd:function(){return d},$u:function(){return c},m6:function(){return p},C8:function(){return u},vD:function(){return l},kc:function(){return i}});var r=n(84053);class s{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,r,s){try{var a;null===(a=n.g.outgoingHTTPRequestHistogram)||void 0===a||a.labels(t,e,void 0!==r?String(r):"unknown").observe(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(12261),o=n(60600);function i(){return"".concat((0,r.iE)().basePath,"/api")}function c(t,e){return d("".concat("".concat((0,r.iE)().mainApiUrl,"/money_data"),"/").concat(t),e)}function l(t,e){return d("".concat("".concat((0,r.iE)().savingsApiUrl,"/api/v1"),"/").concat(t),e)}function u(t,e){return d("".concat("".concat((0,r.iE)().mpScApiUrl,"/api/v1"),"/").concat(t),e)}function p(t,e){return d("".concat(i(),"/").concat(t),e)}async function d(t,e){let n=await A(t,e);try{return JSON.parse(n)}catch(t){throw Error("Failed to parse JSON: ".concat(n),{cause:t})}}async function A(t,e){var n;(0,o.C5)()||console.debug("Fetch data: ".concat(t));let i={},c=(0,r.iE)().apiUsername,l=(0,r.iE)().apiPassword;c&&l&&(i.Authorization="Basic ".concat((0,o.oF)("".concat(c,":").concat(l))));let u=new s(null!==(n=null==e?void 0:e.method)&&void 0!==n?n:"GET",(0,a.iN)(t));try{u.start();let n=await fetch(t,{...e,headers:{...i,...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()}}},32368:function(t,e,n){"use strict";n.d(e,{$:function(){return r},n:function(){return s}});class r{getOrUpdate(){var t;return null!==(t=this.get())&&void 0!==t?t:this.update()}get(){if(this.expires>Date.now())return this.value}update(){let t=this.getValue();return this.value=t,this.expires=Date.now()+this.duration,t}constructor(t,e){this.expires=0,this.getValue=t,this.duration=null!=e?e:3e5}}class s{getOrUpdate(t,e){var n;return null!==(n=this.get(t))&&void 0!==n?n:this.update(t,e)}get(t){var e;if((null!==(e=this.expires.get(t))&&void 0!==e?e:0)>Date.now())return this.values.get(t)}update(t,e){this.clear();let n=this.getValue(e);return this.values.set(t,n),this.expires.set(t,Date.now()+this.duration),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}}},94718:function(t,e,n){"use strict";n.d(e,{$:function(){return o}});var r=n(85893),s=n(16817),a=n(84053);function o(t){let{className:e,data:n,variant:o}=t,i=(0,a.ZR)();return(0,r.jsx)("div",{className:e,children:(0,r.jsx)(s.$,{data:n,showcaseUrl:i.mainBaseUrl,variant:o})})}},37502:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});var r=n(85893),s=n(6024),a=n(84053);function o(t){let{value:e}=t,{assetsBaseUrl:n}=(0,a.iE)();return(0,r.jsx)(s.B,{s3Assets:n,phoneCard:e.phoneCard,appCard:e.appCard})}},38617:function(t,e,n){"use strict";n.d(e,{d:function(){return m}});var r=n(85893),s=n(34588),a=n(25675),o=n.n(a),i=n(54228),c={src:"/kredity/assets/_next/static/media/stoloto-background.11f61093.webp",height:256,width:5664,blurDataURL:"data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACQAQCdASoIAAEAAkA4JaACdLoAA5gA/vXPv/8Gd/7+q/7+q/4M7+rsT4UOQAAA",blurWidth:8,blurHeight:1},l={src:"/kredity/assets/_next/static/media/stoloto-background-m.430fd42b.webp",height:696,width:984,blurDataURL:"data:image/webp;base64,UklGRloAAABXRUJQVlA4IE4AAAAQAgCdASoIAAYAAkA4JbACdLoAAzpSUpkAAPKnlWq6q182hToBbkPL//2gxR1NYXQv/2+HcXFB//e+H+6P/yYr5WB3K/nccMWPzJYAAAA=",blurWidth:8,blurHeight:6},u={src:"/kredity/assets/_next/static/media/stoloto-foreground.364c4462.webp",height:495,width:3951,blurDataURL:"data:image/webp;base64,UklGRloAAABXRUJQVlA4WAoAAAAQAAAABwAAAAAAQUxQSAkAAAAAOgAJABcAAAsAVlA4ICoAAACwAQCdASoIAAEAAkA4JYwCdAEO+mBgAP79IT0CaCJ4vTM7lXJ7ysWAAAA=",blurWidth:8,blurHeight:1},p={src:"/kredity/assets/_next/static/media/stoloto-foreground-m.ea022da3.webp",height:499,width:234,blurDataURL:"data:image/webp;base64,UklGRpQAAABXRUJQVlA4WAoAAAAQAAAAAwAABwAAQUxQSCEAAAAADv77LQB83SkABzgAAACYAAAAAAAAAAAAN5EAAIhcAAAAVlA4IEwAAADwAQCdASoEAAgAAkA4JbACdGuAAstWnAAA/qnpq3mKTgnnD2BXN84VRBDvTQLXQon/k89/mxlPlvgn383lxNdO5b6FzBzmlN+LAAAA",blurWidth:4,blurHeight:8},d=n(89707),A=n.n(d);let m=t=>{let{onButtonClick:e}=t,n=(0,i.S0)();return(0,r.jsxs)("div",{className:A().wrapper,children:[(0,r.jsxs)("div",{className:A().text,children:[(0,r.jsxs)("div",{className:A().title,children:["Суперприз ",(0,r.jsx)("span",{className:A().money,children:"от 300 000 ₽"})]}),(0,r.jsx)("div",{className:A().info,children:"Участвуйте в розыгрыше от \xabСтолото\xbb* и получите промокод за заполненную анкету"}),(0,r.jsx)(s.zx,{onClick:e,size:"xs",className:A().button,children:"Участвовать"})]}),(0,r.jsx)(o(),{className:A().foreground,alt:"Монеты",src:n?p:u}),(0,r.jsx)(o(),{className:A().background,alt:"Акция столото",src:n?l:c})]})}},65491:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var r=n(85893),s=n(52659),a=n.n(s);let o=()=>(0,r.jsxs)("div",{className:a().stolotoCaption,children:["*Срок проведения акции: с 19.11.25 по 31.12.25. С информацией об организаторе акции, о правилах её проведения, количестве призов или выигрышей по результатам акции, сроках, месте и порядке их получения можно ознакомиться"," ",(0,r.jsx)("a",{className:a().link,href:"https://assets.finuslugi.ru/mp-assets/docs/bonus-program-rules/promokod-stoloto/promokod-stoloto.pdf",target:"_blank",children:"по ссылке"})]})},20551:function(t){t.exports={mainContainer:"MainContainer_mainContainer__i0H2X"}},89707:function(t){t.exports={wrapper:"stoloto-banner_wrapper__zeoGr",background:"stoloto-banner_background__xib8J",foreground:"stoloto-banner_foreground__fm55O",text:"stoloto-banner_text__g_UuS",money:"stoloto-banner_money__Lj_mA",title:"stoloto-banner_title__JGMj3",info:"stoloto-banner_info__YvkTb",button:"stoloto-banner_button__s34m4"}},52659:function(t){t.exports={stolotoCaption:"stoloto-rules_stolotoCaption__Hc1Br",link:"stoloto-rules_link__5XLqK"}},6024:function(t,e,n){"use strict";n.d(e,{B:function(){return b}});var r=n(85893),s=n(66535),a=n(86010),o=n(59194),i=n(34588),c=n(43803),l=n(84941),u=n(67294);let p=(0,l.g)("support","sc"),d=Object.freeze({support:p,title:`${p}__title`,cardsContainer:`${p}__cards-container`}),A="cb-support",m=(0,l.g)("support-app-card","sc"),h=Object.freeze({supportAppCard:m,textWrapper:`${m}__text-wrapper`,imageContainer:`${m}__image-container`,title:`${m}__title`,description:`${m}__description`,icon:`${m}__icon`,imageWrapper:`${m}__image-wrapper`,image:`${m}__image`}),g=({title:t,linkUrl:e,s3Assets:n,description:s})=>{let a=(0,i.aF)("s");return(0,r.jsxs)("div",{className:h.supportAppCard,onClick:()=>{a&&((0,c.h)({eventCategory:A,eventActionType:c.D.banner,eventActionText:t,eventLabel:e}),window.open(e,"_blank","noreferrer"))},children:[(0,r.jsx)(o.IconFdsArrowUpRightSmallO,{className:h.icon,size:32}),(0,r.jsxs)("div",{className:h.textWrapper,children:[(0,r.jsx)("div",{className:h.title,children:t}),!!s&&(0,r.jsx)("div",{className:h.description,children:s})]}),(0,r.jsx)("div",{className:h.imageContainer,children:(0,r.jsxs)("picture",{className:h.imageWrapper,children:[(0,r.jsx)("source",{media:"(max-width: 767px)",srcSet:`${n}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${n}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,r.jsx)("img",{className:h.image,loading:"lazy",src:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},f=(0,l.g)("support-phone-card","sc"),v=Object.freeze({supportPhoneCard:f,contacts:`${f}__contacts`,phone:`${f}__phone`,chat:`${f}__chat`,info:`${f}__info`,image:`${f}__image`}),_=({phones:t,description:e,s3Assets:n})=>{let s=(0,u.useCallback)(()=>{var t,e,n;null==(n=null==(e=null==(t=null==window?void 0:window.supportWidget)?void 0:t.craftTalk)?void 0:e.open)||n.call(e),(0,c.h)({eventCategory:A,eventActionType:c.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),a=t=>{let e=t.replace(/[\s-]/g,"");(0,c.h)({eventCategory:A,eventActionType:c.D.link,eventActionText:"phone",eventLabel:e})};return(0,r.jsxs)("div",{className:v.supportPhoneCard,children:[(0,r.jsxs)("div",{className:v.contacts,children:[t.map(t=>(0,r.jsx)("a",{className:v.phone,href:t.href,onClick:()=>a(t.label),children:t.label},t.label)),(0,r.jsx)("span",{className:v.chat,onClick:s,children:"Онлайн чат"})]}),(0,r.jsx)("div",{className:v.info,children:e}),(0,r.jsx)("img",{className:v.image,src:`${n}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},b=({className:t,phoneCard:e,appCard:n,s3Assets:o})=>(0,r.jsx)("section",{className:(0,a.Z)(d.support,t),children:(0,r.jsxs)(s.W2,{children:[(0,r.jsx)(s.X6,{as:"h2",type:"display",weight:"bold",className:(0,a.Z)(d.title,"mb-6"),children:"Поддержка"}),(0,r.jsxs)("div",{className:d.cardsContainer,children:[(0,r.jsx)(_,{s3Assets:o,...e}),(0,r.jsx)(g,{s3Assets:o,...n})]})]})});b.displayName="Support"}}]);