(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9319],{7006:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(90716);let o=e=>(0,r.t9)("/api/v1/customer/personalization/features/".concat(e),null,{isNewApi:!0})},90716:function(e,t,n){"use strict";n.d(t,{t9:function(){return i}});var r=n(14862),o=n(40257);let i=async(e,t,n,i)=>{let{isNewApi:a=!1,isLKApi:u=!1,returningType:l="json",isCommonBlocksApi:c=!1,isMpScApi:s=!1,isProdCatApi:_=!1,isProductTagsApi:d=!1,isHeadlessCMS:m=!1,isSeoApi:p=!1,isMpSc:f=!1,isPageContent:v=!1,isMpScRedirects:E=!1}=null!=n?n:{},A=function(e,t){let{isNewApi:n,isLKApi:o,isCommonBlocksApi:i,isMpScApi:a,isProductTagsApi:u,isHeadlessCMS:l,isSeoApi:c,isMpSc:s,isPageContent:_,isMpScRedirects:d}=e;return i?r.m.COMMON_BLOCKS_API:o?r.m.LK_API:l?r.m.HEADLESS_CMS_API:_?r.m.PAGE_CONTENT_API:t?c?r.m.SEO_API:a?r.m.MP_SC_API:s?r.m.MP_SC_API_DIRECT:u?r.m.PRODUCT_TAGS_API:d?r.m.REDIRECTS_API:n?r.m.BFF_SHOWCASE_API:r.m.BACKEND_API:function(e){let{isMpScApi:t,isSeoApi:n,isNewApi:r,isProdCatApi:o,isProductTagsApi:i}=e;return"/deposits/api/proxy/".concat(t?"mpsc":r?"new":o?"prod-cat":n?"seo":i?"product-tags":"")}(e)}({isNewApi:a,isLKApi:u,isCommonBlocksApi:c,isMpScApi:s,isProdCatApi:_,isProductTagsApi:d,isHeadlessCMS:m,isSeoApi:p,isMpSc:f,isPageContent:v,isMpScRedirects:E},i),h=null,T=null,P=0,g="";try{P=performance.now();let n=await fetch("".concat(A).concat(e),{method:"GET",next:{revalidate:0},...t});if(g=n.status,!n.ok)throw Error("Network response was not ok: ".concat(g));h=await n[l]()}catch(t){console.log("".concat(A).concat(e),t),T=t instanceof Error?t.message:"error"}finally{var S;null===(S=o.outgoingHTTPRequestHistogram)||void 0===S||S.labels((null==t?void 0:t.method)||"GET",e,String(g)).observe(Number(performance.now()-P))}return{data:h,error:T}}},38050:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(2265),o=n(54887);let i=e=>{let{children:t}=e,[n,i]=(0,r.useState)(null);return(0,r.useEffect)(()=>{var e;let t=null===(e=document)||void 0===e?void 0:e.getElementById("portal-root");t&&i(t)},[]),n&&(0,o.createPortal)(t,n)}},11359:function(e,t,n){"use strict";n.d(t,{C:function(){return h}});var r=n(57437),o=n(5426),i=n(54365),a=n(33145),u=n(2265),l={src:"/deposits/_next/static/media/detailed-large.fea212bb.svg",height:24,width:24,blurWidth:0,blurHeight:0},c=n(38050),s=n(54887);let _=e=>{let{children:t}=e,[n]=(0,u.useState)(()=>document.createElement("div"));return((0,u.useEffect)(()=>(document.body.appendChild(n),()=>{document.body.removeChild(n)})),t)?(0,r.jsx)(r.Fragment,{children:(0,s.createPortal)(t,n)}):null};var d=n(84860),m=n.n(d);let p=e=>{let t=e.bottom,n="bottom";return Object.entries(e).forEach(e=>{let[r,o]=e;o>t&&(t=o,n=r)}),n};var f=e=>{let{anchorElement:t,positioningElement:n,offset:r=0,selectSide:o=null}=e,i={top:"unset",right:"unset",left:"unset",bottom:"unset"},a=t.getBoundingClientRect(),u=n.getBoundingClientRect(),l=u.width,c=u.height,s=window.innerHeight,_=window.innerWidth,d=a.top,m=s-a.bottom,f=_-a.right,v=a.left,E=a.bottom,A=a.right,h=v+a.width/2,T=d+a.height/2,P=h-l/2,g=T-c/2,S=P<-r||P+l-r-10>_?f>v?0-r:_-l+r-16:P,I=g<-r||g+c-r-10>s?d<m?0-r:s-c+r-10:g,C=[{side:"bottom",priority:2,isFreeSpace:m>=c-r,position:{...i,top:"".concat(E,"px"),left:"".concat(S,"px")}},{side:"top",priority:3,isFreeSpace:d>=c-r,position:{...i,top:"".concat(d-c,"px"),left:"".concat(S,"px")}},{side:"right",priority:4,isFreeSpace:f>=l-r,position:{...i,left:"".concat(A,"px"),top:"".concat(I,"px")}},{side:"left",priority:5,isFreeSpace:v>=l-r,position:{...i,left:"".concat(v-l,"px"),top:"".concat(I,"px")}}];if(o){let e=C.find(e=>e.side===o);e&&(e.priority=1)}C.sort((e,t)=>e.priority-t.priority);let N=C.find(e=>e.isFreeSpace);if(N)i={...i,...N.position};else{let e=p({top:d-c,bottom:m-c,right:f-l,left:v-l}),t=C.find(t=>t.side===e);t&&(i={...i,...t.position})}return i};let v=e=>{let{children:t,text:n,offset:o=10,trigger:a="hover",tooltipClassName:l,selectSide:c,disabled:s}=e,[d,p]=(0,u.useState)(null),[v,E]=(0,u.useState)(null),[A,h]=(0,u.useState)(!0),T=(0,u.useRef)(null),P=(0,u.useRef)(null),g="click"===a,S=(0,u.useCallback)(()=>{h(!0),P.current=setTimeout(()=>{E(null)},200),window.removeEventListener("scroll",S,!1)},[]);(0,u.useEffect)(()=>{if(!n)return;let e=T.current;if(v&&e)return p(f({anchorElement:v,positioningElement:e,offset:o,selectSide:c})),()=>{E(null),P.current&&clearTimeout(P.current),window.removeEventListener("scroll",S,!1)}},[v,n,S,o,A,c]);let I=e=>({onMouseEnter:t=>{(null==e?void 0:e.onMouseEnter)&&e.onMouseEnter(t),g||s||(h(!1),E(t.currentTarget),window.addEventListener("scroll",S,!1))},onClick:t=>{(null==e?void 0:e.onClick)&&e.onClick(t),g&&!s&&(h(!1),E(t.currentTarget),window.addEventListener("scroll",S,!1))}}),C=()=>{h(!0),P.current=setTimeout(()=>{E(null)},300)},N="string"!=typeof t&&"number"!=typeof t?(0,u.createElement)(t.type,{...t.props,...I(t.props)}):(0,u.createElement)("span",{children:t,...I()}),L=e=>{var t;v===e.target||(null==v?void 0:v.contains(e.target))||e.target===T.current||(null===(t=T.current)||void 0===t?void 0:t.contains(e.target))||C()};return(0,u.useEffect)(()=>(g||(A?window.removeEventListener("mousemove",L):window.addEventListener("mousemove",L)),()=>{window.removeEventListener("mousemove",L)}),[v,L,A]),(0,r.jsxs)(r.Fragment,{children:[v&&n?(0,r.jsx)(_,{children:(0,r.jsx)("div",{className:(0,i.Z)(m().tooltipWrapper,{[m().clickedTooltip]:g}),onClick:()=>{g&&C()},children:(0,r.jsx)("div",{ref:T,className:(0,i.Z)(m().tooltipWrapperForPadding,{[m().open]:v,[m().close]:A}),style:{padding:o,...d},children:(0,r.jsx)("div",{className:(0,i.Z)(m().tooltip,l),children:n})})})}):null,N]})};v.displayName="Tooltip";var E=n(45519),A=n.n(E);let h=(0,u.memo)(e=>{let{text:t,className:n,tooltipClassName:s,iconSrc:_=l,iconClassName:d,children:m,withDisabledScroll:p,trigger:f="click",icon:E,iconPlacement:h="right",asTrigger:T,onOpen:P,onClose:g}=e,[S,I]=(0,u.useState)(!1),C=null!=T?T:"button",N=(0,u.useCallback)(()=>{I(e=>(e||null==P||P(),!e))},[P]),L=(0,u.useCallback)(()=>{I(!1),null==g||g()},[g]),y=null!=E?E:_&&(0,r.jsx)(a.default,{unoptimized:!0,className:(0,i.Z)(A().icon,d),src:_,alt:"detailed"}),R="left"===h;return(0,r.jsxs)("div",{"data-testid":"tip-component",children:[(0,r.jsx)(v,{trigger:f,tooltipClassName:s,selectSide:"bottom",text:"string"==typeof t?(0,r.jsx)("span",{className:A().content,dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)("span",{className:A().content,children:t}),children:(0,r.jsxs)(C,{"data-testid":"button-tip-click-on-open",className:(0,i.Z)(A().button,n),onClick:P,children:[R&&y," ",m," ",!R&&y]})}),(0,r.jsxs)(C,{"data-testid":"button-tip-click-toggle-modal",onClick:N,className:(0,i.Z)(A().buttonMobile,n),children:[R&&y," ",m," ",!R&&y]}),(0,r.jsx)(c.h,{children:(0,r.jsx)(o.jr,{withDisabledScroll:p,className:A().popup,isOpen:S,onClose:L,children:"string"==typeof t?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t}}):t})})]})});h.displayName="Tip"},91627:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});let r=30.416},59687:function(e,t,n){"use strict";n.d(t,{Mf:function(){return r},rO:function(){return o}});let r={$:"Доллары","€":"Евро","\xa5":"Юани","₣":"Франки","\xa3":"Фунты","₽":"Рубли"},o="₽"},26876:function(e,t,n){"use strict";var r;n.d(t,{n:function(){return r}}),(r||(r={})).SHOW_ADDITIONAL_PERCENT_BONUS="SHOW_ADDITIONAL_PERCENT_BONUS"},87566:function(e,t,n){"use strict";n.d(t,{HA:function(){return o},Yw:function(){return i},_n:function(){return r}});let r=n(40257).env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",o=["sberbank","vtb","sovcombank","rosselhozbank","gazprombank","alfabank","promsvyazbank","tbank","mkb","pochta_bank"],i="/deposits/new/savings-product-continuing-scenario"},37162:function(e,t,n){"use strict";n.d(t,{Mb:function(){return c},TM:function(){return i},VT:function(){return o},Yf:function(){return l},a6:function(){return r},p6:function(){return a},uz:function(){return u}});let r="steps",o="place",i="depositsList",a="depositsParametrs",u="downloadAppBanner",l="depositGuide",c="anotherDeposits"},14862:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var r=n(50666),o=n(64900);let i=()=>o.ZP.enum(["true","false"]).optional().transform(e=>"true"===e),a=o.ZP.object({ASSETS_URL:o.ZP.string().url(),BACKEND_API:o.ZP.string().url(),BASE_URL:o.ZP.string().url(),BFF_SHOWCASE_API:o.ZP.string().url(),COMMON_BLOCKS_API:o.ZP.string().url(),HEADLESS_CMS_API:o.ZP.string().url(),LK_API:o.ZP.string().url(),LK_URL:o.ZP.string().url(),MP_SC_API_DIRECT:o.ZP.string().url(),MP_SC_API:o.ZP.string().url(),PAGE_CONTENT_API:o.ZP.string().url(),PROD_CAT_API:o.ZP.string().url(),PRODUCT_TAGS_API:o.ZP.string().url(),SEO_API:o.ZP.string().url(),REDIRECTS_API:o.ZP.string().url(),FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE:i(),FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED:i(),FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS:i(),FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED:i()}),u=function(){let e={ASSETS_URL:(0,r.env)("NEXT_PUBLIC_ASSETS_BASE_URL"),BACKEND_API:(0,r.env)("NEXT_PUBLIC_API_URL"),BASE_URL:(0,r.env)("NEXT_PUBLIC_BASE_URL"),BFF_SHOWCASE_API:(0,r.env)("NEXT_PUBLIC_NEW_API_URL"),COMMON_BLOCKS_API:(0,r.env)("NEXT_PUBLIC_COMMON_BLOCKS_URL"),HEADLESS_CMS_API:(0,r.env)("NEXT_PUBLIC_HEADLESS_CMS_API_URL"),LK_API:(0,r.env)("NEXT_PUBLIC_LK_API_URL"),LK_URL:(0,r.env)("NEXT_PUBLIC_MOEX_AD_URI"),MP_SC_API_DIRECT:(0,r.env)("NEXT_PUBLIC_MP_SC_URL"),MP_SC_API:(0,r.env)("NEXT_PUBLIC_MP_SC_API_URL"),PAGE_CONTENT_API:(0,r.env)("NEXT_PUBLIC_PAGE_CONTENT_API"),PROD_CAT_API:(0,r.env)("NEXT_PUBLIC_PROD_CAT_CORE_API_URL"),PRODUCT_TAGS_API:(0,r.env)("NEXT_PUBLIC_PRODUCT_TAGS_API_URL"),SEO_API:(0,r.env)("NEXT_PUBLIC_SEO_API_URL"),REDIRECTS_API:(0,r.env)("NEXT_PUBLIC_MP_SC_REDIRECTS_API"),FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE"),FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED"),FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS"),FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED")},t=a.safeParse(e);return t.success?t.data:(console.error("Invalid public env config:",t.error.format()),e)}()},74552:function(e,t,n){"use strict";n.d(t,{M:function(){return r},w:function(){return o}});let r=80,o=56},40309:function(e,t){"use strict";var n,r;(r=n||(n={})).EveryDay="everyDay",r.Weekly="weekly",r.OnceAMonth="onceAMonth",r.Quarterly="quarterly",r.Semiannually="semiannually",r.Annually="annually",r.InTheEnd="inTheEnd",r.SpecifiedPeriodInDays="specifiedPeriodInDays",t.Z=n},44579:function(e,t){"use strict";var n,r;(r=n||(n={})).Day="day",r.Month="month",r.Year="year",t.Z=n},92807:function(e,t,n){"use strict";n.d(t,{Ft:function(){return u},If:function(){return m},Ln:function(){return l},OO:function(){return _},P1:function(){return T},P8:function(){return E},Po:function(){return f},TT:function(){return s},Ud:function(){return A},Xf:function(){return c},ZT:function(){return h},Zw:function(){return a},_S:function(){return p},lr:function(){return v},ly:function(){return i},t2:function(){return d}});var r=n(40309),o=n(44579);let i=[{value:o.Z.Day,label:"День"},{value:o.Z.Month,label:"Месяц"},{value:o.Z.Year,label:"Год"}],a=[{value:r.Z.OnceAMonth,label:"Раз в месяц"},{value:r.Z.EveryDay,label:"Каждый день"},{value:r.Z.InTheEnd,label:"В конце срока"}],u={[o.Z.Day]:[{id:31,label:"31 день"},{id:91,label:"91 день"},{id:181,label:"181 день"},{id:365,label:"365 дней"}],[o.Z.Month]:[{id:1,label:"1 мес."},{id:3,label:"3 мес."},{id:6,label:"6 мес."},{id:12,label:"12 мес."}],[o.Z.Year]:[{id:1,label:"1 год"},{id:2,label:"2 года"},{id:3,label:"3 года"}]},l=3e5,c="₽",s=o.Z.Month,_={[o.Z.Day]:31,[o.Z.Month]:3,[o.Z.Year]:1},d=_[s],m=r.Z.OnceAMonth,p=16,f=1e3,v=999999999,E={[o.Z.Day]:3700,[o.Z.Month]:120,[o.Z.Year]:10},A={[o.Z.Day]:["день","дня","дней"],[o.Z.Month]:["месяц","месяца","месяцев"],[o.Z.Year]:["год","года","лет"]},h=1,T=100},91586:function(e,t,n){"use strict";var r,o,i,a,u,l,c,s,_,d;n.d(t,{D1:function(){return a},Lg:function(){return r},e4:function(){return i},zs:function(){return o}}),(l=r||(r={})).END="IN_THE_END",l.MONTH="MONTHLY",(c=o||(o={})).DAY="DAY",c.MONTH="MONTH",c.YEAR="YEAR",(s=i||(i={})).FIXED="FIXED",s.FLOATING="FLOATING",(_=a||(a={})).SALARY_OR_PENSION="SALARY_OR_PENSION",_.SPENDING="SPENDING",(d=u||(u={})).ANY="ANY",d.NEW="NEW",d.OLD="OLD"},15329:function(e,t){"use strict";var n,r;(r=n||(n={})).PreferentialRateForWholeTerm="PREFERENTIAL_RATE_FOR_WHOLE_TERM",r.WithoutRecalculationOfInterest="WITHOUT_RECALCULATION_OF_INTEREST",t.Z=n},53931:function(e,t,n){"use strict";n.d(t,{$1:function(){return s},LM:function(){return _}});var r=n(50666);let o=e=>/^https:\/\//gi.test(e),i=e=>["",...e.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."),a=()=>window.location.host.indexOf("localhost")>=0,u=e=>('"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),l=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),c=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[(]/g,"%28").replace(/[)]/g,"%29"),s=()=>{if("undefined"!=typeof document&&document.cookie)return Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")).map(e=>e.map(e=>u(e))))},_=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,u=(0,r.env)("NEXT_PUBLIC_BASE_URL");if(!u)throw Error("Не определена переменная окружения NEXT_PUBLIC_BASE_URL");let s=a()?"":"; domain=".concat(i(u)),_=new Date(new Date().getTime()+864e5*n).toUTCString();document.cookie="".concat(c(e),"=").concat(l("string"==typeof t?t:JSON.stringify(t)),"; SameSite=Strict").concat(o(u)?"; Secure":"").concat(s,"; expires=").concat(_,"; path=/;")}},94441:function(e,t,n){"use strict";n.d(t,{HP:function(){return l},I7:function(){return h},MP:function(){return T},Nx:function(){return v},UD:function(){return E},VV:function(){return f},bh:function(){return _},f1:function(){return m},u0:function(){return p},vc:function(){return s},vf:function(){return d},xV:function(){return c},yK:function(){return A}});var r=n(15329),o=n(84456);let i=(e,t)=>Math.min(e,t.minimumPeriod?(0,o.I)(t.minimumPeriod):0),a=(e,t)=>Math.max(e,t.maximumPeriod?(0,o.I)(t.maximumPeriod):0),u=(e,t,n)=>{var r,i,a,u,l,c;t.push({from:null,to:null,term:null,amount:null,term_from:n.minimumPeriod?(0,o.I)(n.minimumPeriod):0,term_to:n.maximumPeriod?(0,o.I)(n.maximumPeriod):0,rate:n.maximumRate,amount_from:null!==(l=n.minimumAmount)&&void 0!==l?l:null,amount_to:null!==(c=n.maximumAmount)&&void 0!==c?c:null,diff:n.topRateDelta||0,tag:{title:(null==n?void 0:null===(r=n.tags)||void 0===r?void 0:r.title)||"",description:(null==n?void 0:null===(i=n.tags)||void 0===i?void 0:i.description)||"",deeplink:(null==n?void 0:null===(a=n.tags)||void 0===a?void 0:a.deepLink)||"",url:(null==n?void 0:null===(u=n.tags)||void 0===u?void 0:u.url)||""},optionId:e.id})},l=(e,t)=>{let n=[],r=1/0,o=0,l=1/0,c=0;for(let p of e)if(null==p?void 0:p.active){if(t){var s,_,d,m;let e=null!==(d=null===(s=p.duration)||void 0===s?void 0:s.minimum)&&void 0!==d?d:0,t=null!==(m=null===(_=p.duration)||void 0===_?void 0:_.maximum)&&void 0!==m?m:0;l=Math.min(l,e),c=Math.max(c,t)}for(let e of p.currencies||[])for(let s of e.rates||[])u(p,n,s),r=Math.min(r,s.minimumAmount),o=Math.max(o,s.maximumAmount),t||(l=i(l,s),c=a(c,s))}return{rates:n,amountFrom:r,amountTo:o,termFrom:l,termTo:c}},c=e=>{var t;return(null==e?void 0:null===(t=e.interestPayments)||void 0===t?void 0:t.some(e=>(null==e?void 0:e.method)==="CAPITALISATION"))?1:0},s=e=>c(e)?"Да":"Нет",_=e=>{var t;let{hasCapitalization:n,hasCurrentAccount:r}=(null!==(t=null==e?void 0:e.interestPayments)&&void 0!==t?t:[]).reduce((e,t)=>({hasCapitalization:e.hasCapitalization||"CAPITALISATION"===t.method,hasCurrentAccount:e.hasCurrentAccount||"TO_CURRENT_BANK_CUSTOMER_ACCOUNT"===t.method}),{hasCapitalization:!1,hasCurrentAccount:!1});return n&&r?"На выбор клиента":n?"Да":"Нет"},d=e=>(null==e?void 0:e.earlyTermination)===r.Z.PreferentialRateForWholeTerm||(null==e?void 0:e.earlyTermination)===r.Z.WithoutRecalculationOfInterest?1:0,m=e=>d(e)?"Да":"Нет",p=e=>{var t,n;return(null==e?void 0:null===(n=e.replenishment)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.type)?1:0},f=e=>p(e)?"Возможно":"Невозможно",v=e=>{var t,n;return(null==e?void 0:null===(n=e.partialWithdrawal)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.type)?1:0},E=e=>v(e)?"Возможно":"Невозможно",A=e=>e?"Да":"Нет",h=e=>{try{var t,n;if(!e)return"";let r=e.legal_entities;if("string"==typeof r){let e=JSON.parse(r);return Array.isArray(e)&&(null===(n=e[0])||void 0===n?void 0:n.name)?e[0].name:""}if(Array.isArray(r))return(null===(t=r[0])||void 0===t?void 0:t.name)||"";return""}catch(e){return""}},T=e=>({status_custom:null,currency_id:1,fin_exclusive:0,active_to:"",archive:0,bank_id:0,bank_name:"",bank_url:"",logo_mob:"",asSavingAccount:e,interest_rate:{comment:"",rates:[]},multicurrency:0,partial_withdrawal:{comment:"",comp:"",text:"",has:0},interest_payment:{comment:"",comp:"",text:"",daily:0,weekly:0,monthly:0,quarterly:0,half_year:0,annually:0,specified_period_in_days:0,end:0},refill:{comment:"",comp:"",text:"",has:0},interest_capitalization:{comment:"",comp:"",has:0,text:""},preferential_termination:{comment:"",comp:"",text:"",has:0},amount:{from:null,to:null},term:{from:0,to:"",ladder_rates:0},online_application:{type:3,url:"",commercial:0,commercial_desc:"",order:null},m_updated_at:null,promo:!1,type:{seasonal:0,charitable:0,saving_account:e?1:0,child:0,pension:0,salary:0,insurance:0,investment:0,multicurrency:0,martgage:0}})},96742:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});let r=e=>{switch(e){case 2:case"2":case 840:case"USD":return{shortName:"долл.",unit:"$",name:"долларах",code:"USD",locale:"en",num:2};case 3:case"3":case 978:case"EUR":return{shortName:"евро",unit:"€",name:"евро",code:"EUR",locale:"en",num:3};case 4:case"4":case 156:case"CNY":return{shortName:"юань",unit:"\xa5",name:"юанях",code:"CNY",locale:"zh-CN",num:4};case 5:case"5":case 756:case"CHF":return{shortName:"франк",unit:"₣",name:"франках",code:"CHF",locale:"en",num:5};case 6:case"6":case 826:case"GBP":return{shortName:"фунт",unit:"\xa3",name:"фунтах",code:"GBP",locale:"en",num:6};case 7:case"7":case 392:case"JPY":return{shortName:"иена",unit:"\xa5",name:"иенах",code:"JPY",locale:"ja-JP",num:7};default:return{shortName:"руб.",unit:"₽",name:"рублях",code:"RUB",locale:"ru",num:1}}}},97291:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});let r=e=>isNaN(e.getTime())?"":new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long",year:"numeric"}).format(e)},75109:function(e,t,n){"use strict";n.d(t,{D:function(){return o},pW:function(){return r},qL:function(){return i}});let r=e=>e&&{fixedBonusAmount:e.fixedBonusAmount,sum:e.maxBonusAmount,rate:e.annualPercentBonusValue,description:e.productsBonusTooltip,terms:e.productDetailBonusTooltip,link:e.helpfulLink},o=(e,t,n)=>e?r(t):n;function i(e,t){return!t}},84456:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(91627);let o=e=>{let t=e.value;switch(e.type){case"MONTH":t=e.value*r.F;break;case"YEAR":t=365.25*e.value}return Math.round(t)}},91220:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});let r=function(e){var t,n,r,o;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",a=null!==(o=null===(r=e.split(i))||void 0===r?void 0:null===(n=r[1])||void 0===n?void 0:null===(t=n.split("?"===i?"#":"?")[0])||void 0===t?void 0:t.split("&"))&&void 0!==o?o:[],u={};return a.forEach(e=>{let[t,n]=e.split("="),r=null!=n?n:"";if(t in u){let e=u[t];if(Array.isArray(e)){u[t]=[...e,r];return}if(!Array.isArray(e)&&e){u[t]=[e,r];return}}u[t]=r}),u}},70104:function(e,t,n){"use strict";n.d(t,{$1:function(){return i},D$:function(){return u},Y4:function(){return o},ZM:function(){return a},og:function(){return l},zd:function(){return r}});let r=(e,t)=>{var n;return t>0&&!Number.isInteger(e)&&!Number.isNaN(e)&&(null===(n=String(e).split(".")[1])||void 0===n?void 0:n.length)>t&&(e=+e.toFixed(t)),e},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return e=r(e,t),new Intl.NumberFormat("ru-RU",{useGrouping:"min2"}).format(e)},i=e=>e?e.toString().replace(".",","):0,a=e=>Math.round(100*e)/100,u=e=>{let t=String(e);if(t.includes("."))return o(e);if(t.length>6)t="".concat(o(e/1e6)," млн");else if(t.length>3){let n=e/1e3;t=t.length-String(n).length<2?o(e):"".concat(o(n)," тыс")}return t},l=e=>o(e)+"%"},36578:function(e,t,n){"use strict";n.d(t,{PY:function(){return o},_6:function(){return r},on:function(){return i}});let r=(e,t,n,r)=>{if(1!=Math.floor((e=Math.abs(e))/10)%10){if(1==(e%=10))return t;if(e>=2&&e<=4)return n}return r},o=(e,t)=>{let[n,o,i]=t;return"".concat(e," ").concat(r(e,n,o,i))},i=(e,t,n)=>e>1?"".concat(r(e,...t)," ").concat(e," ").concat(r(e,...n)):"".concat(r(e,...t)," ").concat(r(e,...n))},72151:function(e,t,n){"use strict";n.d(t,{lQ:function(){return i},yr:function(){return a}});var r=n(30631);let o=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"},{path:"navigator",category:"service_navigator"},{path:"stat_",category:"service_navigator"}],i=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),o=n?JSON.parse(n):[];e.event=e.event?e.event:"data-event",e.eventValue=e.eventValue?e.eventValue:null,e.eventAction=e.eventAction&&"string"==typeof e.eventAction?e.eventAction.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"",e.eventLabel=e.eventLabel&&"string"==typeof e.eventLabel?e.eventLabel.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"";let i=o.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!i){if(t){let t={...e};t.url=window.location.pathname,o.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(o))}(0,r.AB)(e)}},a=e=>{for(let t of o)if(e.indexOf(t.path)>=0){let n=e.match(/str_(\d+)/),r=Array.isArray(n)&&n[1]?Number(n[1]):1;setTimeout(()=>{i({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:r})},15e3);return}}},31219:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});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"},o=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();if(t in r){let n=r[t];return t===e?n:n.charAt(0).toUpperCase()+n.slice(1)}return e})},14441:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var r=n(99376),o=n(2265),i=n(91220);function a(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),n=(0,o.useMemo)(()=>{if(!e)return"";let n=location.hash,r=null==t?void 0:t.toString();return(null==r?void 0:r.length)?e+"?"+r+n:e+n},[t,e]),a=(0,o.useMemo)(()=>(0,i.p)(n,"?"),[n]),u=(0,o.useMemo)(()=>(0,i.p)(n,"#"),[n]),l=(0,o.useCallback)(e=>{history.pushState({url:e},"",e)},[]),c=(0,o.useCallback)(e=>{history.replaceState({url:e},"",e)},[]);return(0,o.useMemo)(()=>({asPath:n,query:a,hash:u,push:l,replace:c}),[u,n,l,a,c])}},34039:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2265),o=n(53931),i=n(91220);let a=e=>(0,i.p)(e);var u=n(72151);let l=(e,t)=>{let n=a(e);if(n&&n.aggregator_id){let e={...n,create_date:new Date().toISOString()},i={payload:[]};try{var r;i=JSON.parse((null===(r=(0,o.$1)())||void 0===r?void 0:r.cpa_click)||"{}")}catch(e){return}i.payload||(i.payload=[]),i.payload.push(e);let a={event:"data-event",eventCategory:String(n.aggregator_id),eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:String(n.utm_term||n.click_id),utm_source:String(n.utm_source),utm_campaign:String(n.utm_campaign),utm_medium:String(n.utm_medium)};t[String(n.aggregator_id)]&&((0,o.LM)("cpa_click",i,30),(0,u.lQ)(a))}};var c=n(14441);function s(e){let{asPath:t}=(0,c.P)();(0,r.useEffect)(()=>{(0,u.yr)(t),l(t,e)},[e,t])}},48034:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5426),o=n(74552);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=(0,r._m)("m"),a=(0,r._m)("l");return n?i?-(o.M+(a?e:t)):-(o.w+t):a?-e:-t}},45519:function(e){e.exports={popup:"Tip_popup__8fMO9",button:"Tip_button__g5mPA",icon:"Tip_icon__zTERB",buttonMobile:"Tip_buttonMobile__OTn9W",content:"Tip_content__ab_0d"}},84860:function(e){e.exports={tooltipWrapper:"DeprecatedTooltip_tooltipWrapper__efWsY",clickedTooltip:"DeprecatedTooltip_clickedTooltip__dqSIp",tooltip:"DeprecatedTooltip_tooltip__c_Ytv",tooltipWrapperForPadding:"DeprecatedTooltip_tooltipWrapperForPadding__EfwrY",open:"DeprecatedTooltip_open__R9eNb",fade:"DeprecatedTooltip_fade__wSmny",close:"DeprecatedTooltip_close__8_fcP","fade-out":"DeprecatedTooltip_fade-out__pUhDp"}}}]);