(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7017],{82491:function(t,e,i){Promise.resolve().then(i.bind(i,53417)),Promise.resolve().then(i.bind(i,69767)),Promise.resolve().then(i.t.bind(i,88003,23)),Promise.resolve().then(i.bind(i,15037)),Promise.resolve().then(i.bind(i,39471))},39471:function(t,e,i){"use strict";i.r(e),i.d(e,{Deposits:function(){return e0}});var n,l=i(57437),o=i(35563),a=i(75461),s=i(2744),r=i(54365),d=i(2265),u=i(1010),c=i(52074);let v=(0,c.g)("cross-link-chips-block","sc"),p=Object.freeze({crossLinkChipsBlock:v,crossLinkSlider:`${v}__slider`,crossLinkItemList:`${v}__item-list`,crossLinkItem:`${v}__item`,hiddenCrossLinkItemLink:`${v}__item--hidden`,sliderChips:`${v}__slider-chips`,sliderChipsItem:`${v}__slider-chips-item`}),m=({labels:t,dataLayerPush:e,eventCategory:i="cross-link",...n})=>{var o;let[a,s]=(0,d.useState)(null==(o=t[0])?void 0:o.name),c=n=>{let l=t.find(t=>t.name===a);s(n),e({event:"data-event",eventCategory:i,eventAction:"click_chip_cross-link-block",eventLabel:null==l?void 0:l.name})},v=t.map(t=>({id:t.name,label:t.name})),m=(t,l)=>{e({event:"data-event",eventCategory:i,eventAction:"click_link_cross-link-block",eventLabel:t.tagName,eventValue:l,url:`${n.href}/${t.url}`})};return(0,l.jsxs)(l.Fragment,{children:[v.length>=1&&(0,l.jsx)(u.iR,{options:{slidesPerView:"auto",spaceBetween:8},className:p.crossLinkSlider,children:v.map(t=>(0,l.jsx)(u.wI,{className:p.sliderChipsItem,children:(0,l.jsx)(u.cL,{value:a,onChipClick:c,chips:[t]})},t.id))}),t.length>0&&(0,l.jsx)("ul",{className:p.crossLinkItemList,children:t.map(t=>{var e;let i=t.name!==a;return null==(e=t.tags)?void 0:e.map(e=>(0,l.jsx)("li",{className:(0,r.Z)(p.crossLinkItem,i&&p.hiddenCrossLinkItemLink),children:(0,l.jsx)(u.rU,{href:`${n.href}/${e.url}`,onClick:()=>m(e,t.name),children:e.tagName})},e.id))})})]})};m.displayName="CrossLinkChipsBlock";let _=(0,c.g)("cross-link","sc"),h=Object.freeze({crossLink:_,titleWrapper:`${_}__title-wrapper`,title:`${_}__title`,crossLinkWrapper:`${_}__wrapper`,crossLinkChipsTitle:`${_}__chips-title`}),f=({sectionTitle:t,labelsData:e=[],className:i,blockTitle:n="Виды вкладов",href:o="/vklady",dataLayerPush:a})=>(0,l.jsx)("section",{className:(0,r.Z)(h.crossLink,i),children:(0,l.jsxs)(s.W2,{children:[(0,l.jsx)("div",{className:h.titleWrapper,children:(0,l.jsx)(s.X6,{as:"h2",type:"hero",className:(0,r.Z)(h.title),children:t})}),(0,l.jsxs)("div",{className:h.crossLinkWrapper,children:[n&&(0,l.jsx)(s.X6,{as:"h3",type:"h3",className:h.crossLinkChipsTitle,children:n}),(0,l.jsx)(m,{labels:e.content,href:o,dataLayerPush:a})]})]})});f.displayName="CrossLink";let g=(0,c.g)("expert-quote","sc"),b=Object.freeze({expertQuote:g,wrapper:`${g}__wrapper`,title:`${g}__title`,card:`${g}__card`,content:`${g}__content`,aboutText:`${g}__aboutText`,about:`${g}__about`,img:`${g}__img`,name:`${g}__name`,position:`${g}__position`,text:`${g}__text`}),x=(0,d.memo)(({className:t,quote:e})=>(0,l.jsx)("section",{className:(0,r.Z)(b.wrapper,t),children:(0,l.jsxs)(s.W2,{children:[(0,l.jsx)(s.X6,{as:"h2",type:"display",weight:"bold",className:(0,r.Z)(b.title,"mb-6"),children:"Мнение эксперта"}),(0,l.jsx)("div",{className:b.card,children:(0,l.jsxs)("div",{className:b.content,children:[(0,l.jsxs)("div",{className:b.about,children:[e.expert.photo&&(0,l.jsx)("a",{href:e.expert.url,children:(0,l.jsx)("div",{className:b.img,style:{backgroundImage:`url(${e.expert.photo})`}})}),(0,l.jsxs)("div",{className:b.aboutText,children:[(0,l.jsx)("a",{href:e.expert.url,className:b.name,children:e.expert.name}),(0,l.jsx)("p",{className:b.position,dangerouslySetInnerHTML:{__html:e.expert.position}})]})]}),(0,l.jsx)("p",{className:b.text,dangerouslySetInnerHTML:{__html:e.content}})]})})]})}));x.displayName="ExpertQuote";var y=i(73514);let w=(0,c.g)("seo-text","sc"),N=Object.freeze({seoText:w,wrapper:`${w}__wrapper`,title:`${w}__title`,titleWrapper:`${w}__title-wrapper`,blockTitle:`${w}__block-title`,text:`${w}__text`,checkAll:`${w}__check-all`}),T=({blockTitle:t,content:e,sectionTitle:i,className:n})=>(0,l.jsx)("section",{className:(0,r.Z)(N.seoText,n),children:(0,l.jsxs)(s.W2,{children:[(0,l.jsx)("div",{className:N.titleWrapper,children:(0,l.jsx)(s.X6,{as:"h2",type:"hero",className:(0,r.Z)(N.title),children:i})}),(0,l.jsxs)("div",{className:N.wrapper,children:[(0,l.jsx)(s.X6,{as:"h3",type:"h3",className:(0,r.Z)(N.blockTitle),children:t}),(0,l.jsx)("div",{className:N.text,dangerouslySetInnerHTML:{__html:e||""}})]})]})});T.displayName="SeoText";var C=i(5426),D=i(27648),j=i(99376),k=i(50666),L=i(77337),A=i(90716);let I=t=>{let{region:e,town:i,tag:n}=t;return(0,A.t9)("/money_data/DepositRegion.json".concat(e?"?region="+e.url:"").concat(i?"&town="+i.url:"").concat(n?(e?"&":"?")+"tag_url="+n.url:""))},E=t=>{let{region:e}=t;return(0,A.t9)("/money_data/DepositRegion.json?region_links=1".concat(e?"&region="+e.url:""))};var S=i(21528),P=i(19312),M=i(65716),R=i(37162),O=i(14862);let z=t=>(0,A.t9)("/api/v1/deposits/combo",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}},{isNewApi:!0});var U=i(94943),B=i(64671),F=i(6164),W=t=>{var e;let{amount:i,customerId:n,termInDays:l,termInMonths:o}=t;return{amount:i,term:{value:null!==(e=null!=l?l:o)&&void 0!==e?e:0,type:l?F.e.DAY:F.e.MONTH},...n&&{customerId:n}}};let Y=(0,B.b)(),Z=(t,e)=>t?{...t,totalProfit:t.totalProfit-e}:null,$=t=>{let{amount:e,term:i,initialComboDeposits:n,customerId:l,tag:o,isTermInDays:a}=t,s=e&&i&&(null==o?void 0:o.url)!==U.z.nakop,[r,u]=(0,d.useState)(Z(s?n:null,e));return(0,d.useEffect)(()=>{if(!s){u(null);return}Y(async()=>{var t;u(Z(null!==(t=(await z(W({amount:e,customerId:l,[a?"termInDays":"termInMonths"]:i}))).data)&&void 0!==t?t:null,e))})},[l,e,i,s,a]),{comboDeposits:r}};var G=i(49090),Q=i(80684),q=i(72151),H=i(99193),V=i(39421),X=i.n(V),K=(0,d.memo)(function(t){let{visible:e,eventCategory:i,amount:n=0,bankName:s="",rate:u=0,onTipsApply:c}=t,[v,p]=(0,d.useState)({amount:n,bankName:s,rate:u});(0,d.useEffect)(()=>{e&&p({amount:n,bankName:s,rate:u})},[n,s,u,e]);let m=(0,d.useRef)(null);(0,H.Z)({itemRef:m,eventCategory:i,eventAction:"view_hint",eventLabel:""});let _=(0,d.useCallback)(()=>{(0,q.lQ)({eventCategory:i,eventAction:"click_hint_button"}),c(n)},[n,i,c]);return(0,l.jsx)(o.W2,{className:(0,r.Z)(X().depositTips,e&&X().visible),"data-qa":"deposit-tips",children:(0,l.jsxs)("div",{className:X().tipContent,ref:m,children:[(0,l.jsx)(Q.IconFdsFlashO,{size:24,className:X().icon}),(0,l.jsxs)("div",{className:X().textContent,children:[(0,l.jsx)(o.xv,{as:"p",size:"18",weight:"medium",style:{color:"var(--color-black-500)"},dataQa:"deposit-tips-title",children:"Вы можете увеличить сумму вклада и вложить деньги более выгодно"}),(0,l.jsx)(o.xv,{as:"p",size:"14",dataQa:"deposit-tips-caption",style:{color:"var(--color-gray-800)"},children:"Нашли более выгодный вклад от банка \xab".concat(v.bankName,"\xbb под ").concat((0,G.og)(v.rate)," с минимальной суммой от ").concat((0,G.lb)(v.amount))})]}),(0,l.jsx)(a.zx,{className:X().mobileButton,size:"xs",variant:"secondary",appearance:"fill",iconRight:(0,l.jsx)(Q.IconFdsChevronRightO,{}),dataQa:"deposit-tips-show-button-mobile",onClick:_,children:"Посмотреть"}),(0,l.jsx)(a.zx,{className:X().desktopButton,size:"xs",variant:"primary",appearance:"ghost",iconRight:(0,l.jsx)(Q.IconFdsChevronRightO,{}),dataQa:"deposit-tips-show-button-desktop",onClick:_,children:"Посмотреть"})]})})},(t,e)=>t.visible===e.visible),J=i(80691),tt=i(57044),te=i(66726),ti=i(79588),tn=i(47935),tl=i(32046),to=i(14441);let ta=Object.freeze(["moskva","sankt-peterburg"]);var ts=(0,d.memo)(function(t){let{region:e,tag:i,meta:n,depositLists:o,regionUrl:a,currency:s,isOldUser:r,town:u,initialDescription:c,initialTitle:v,quote:p,isMetaReady:m}=t,{asPath:_}=(0,to.P)(),h=_.split("?")[0].split("#")[0],{minDepositAmount:f,minTermPeriod:g,highPrice:b,inRegion:x,h1:y,description:w,title:N}=n,T=(0,tl.L)(i),C=(null==o?void 0:o.notInitialDeposits)&&m?N:v,D=(null==o?void 0:o.notInitialDeposits)&&m?w:c;return(0,d.useEffect)(()=>{document.title=C;let t=document.querySelector("link[rel=canonical]"),e=document.querySelector('meta[name="description"]');e&&e.setAttribute("content",D),t&&(t.href="".concat(O.publicConfig.BASE_URL).concat(h))},[C,h,D]),(0,l.jsxs)(l.Fragment,{children:[T&&e&&ta.includes(e.url)&&(0,l.jsx)(ti.Z,{minDepositAmount:f,minTermPeriod:g,regionName:e.name_p,maxRate:b,regionUrl:e.url}),(0,l.jsx)(J.g,{regionUrl:a,tag:i}),i&&tn.E.includes(null==i?void 0:i.url)&&(0,l.jsx)(tt.M,{textList:i.text,regionId:null==e?void 0:e.region_id,townId:null==u?void 0:u.id}),(0,l.jsx)(te.Q,{filterCurrency:s,currentLength:o.currentLength,isHiddenPromo:r,description:D,h1:y,inRegion:x,platform:o.platform,another:o.another,regionUrl:a,tagUrl:!T&&i?i.url:"",quote:p})]})});let tr=t=>{let{isDefault:e,tag:i,h1:n,inRegion:l,basePath:o="/vklady"}=t,a=[{label:"Вклады",href:o}];if(!e&&l){var s;a.push({label:null!==(s=null==i?void 0:i.tag_name)&&void 0!==s?s:n,href:(0,L.xn)(o,"/teg_".concat(null==i?void 0:i.url))})}return a};var td=i(21652),tu=i.n(td);let tc=t=>{if(t.clientSortType)return{amount:Number(t.amountData.value),term:Number(t.term.value),activeBanks:t.activeBanksValue,sortType:t.clientSortType,withCapitalization:t.withCapitalization,withMonthlyPercent:t.withMonthlyPercent,withPreferentialTermination:t.withPreferentialTermination,withPartialWithdrawal:t.withPartialWithdrawal,withRefill:t.withRefill}},tv=(t,e)=>tu()(t,e);var tp=i(13906);let tm=t=>t.length?[tp.vw[0],...t.map(t=>({value:t.durationOfDays,label:t.termLabel}))]:tp.vw,t_=t=>{let{isDepositsLoading:e,isCustomerLoading:i,isPlatformDepositsLoading:n,hasFilters:l,isClient:o,platformLoadingDisabled:a}=t;return e&&o||i||a&&(n||!l&&o)};var th=i(33600),tf=i(36639);let tg=(t,e,i)=>t?e:i?String(i):void 0,tb=(t,e,i,n)=>t||!e?i?Number(i):void 0:n;var tx=i(71931),ty=i(91627);let tw=Object.freeze({[th.ER.Profit]:"PROFIT",[th.ER.Rate]:"RATE",[th.ER.RatePlusBonus]:"CUMULATIVE_RATE"}),tN=t=>{if(t)return{type:"DAY",value:O.publicConfig.FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED?Number(t):Math.round(Number(t)*ty.F)}};var tT=i(81849);let tC=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,A.t9)("/api/v1/quotes?quoteUrl=".concat(t,"&published=true"),null,{isMpScApi:!0},e)},tD=t=>{if(!Array.isArray(t)||0===t.length)return null;let e=Math.floor(Math.random()*t.length);return t[e]},tj=async t=>{var e,i;let{tag:n,region:l,town:o}=t,a=["vklady"];n&&a.push("teg_".concat(n)),l&&a.push("reg_".concat(l)),o&&a.push(o);let s=a.join("/"),r=tD(null!==(i=null===(e=(await tC(s)).data)||void 0===e?void 0:e.content)&&void 0!==i?i:[]);return r?{...r,content:r.content}:null};var tk=i(89911);let tL=t=>{var e;let{tagUrl:i,regionUrl:n,townUrl:l,initialQuote:o}=t,{data:a,isLoading:s}=(0,tk.d)(["quote",i,n,l],()=>tj({tag:i,region:n,town:l}),{fallbackData:o,revalidateOnFocus:!1});return{quote:null!==(e=null!=a?a:o)&&void 0!==e?e:null,isLoading:s}},tA=async function(t){var e;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new URLSearchParams({url:t}).toString();return null!==(e=(await (0,A.t9)("/api/v2/seo-texts/by-url?".concat(n),null,{isMpScApi:!0},i)).data)&&void 0!==e?e:[]},tI=async t=>{var e,i;let{url:n}=t;return null!==(i=null===(e=(await tA(n)).find(t=>"SEO Текст"===t.type.name))||void 0===e?void 0:e.content[0])&&void 0!==i?i:null},tE=t=>{let{url:e,initialSeoText:i}=t,{data:n,isLoading:l}=(0,tk.d)(["seoText",e],()=>tI({url:e}),{fallbackData:i,revalidateOnFocus:!1});return{seoText:null!=n?n:null,isLoading:l}};var tS=i(97793),tP=i(69393),tM=i(53931),tR=i(36578);let tO=t=>{let{displayDuration:{years:e,months:i,days:n}}=t,l=[];return e&&l.push((0,tR.PY)(e,tP.Nu.YEAR)),i&&l.push((0,tR.PY)(i,tP.Nu.MONTH)),n&&l.push((0,tR.PY)(n,tP.Nu.DAY)),{...t,termLabel:l.join(" ")}};var tz=i(58580);let tU=(t,e)=>t?(0,A.t9)((0,L.jb)("/api/v3/product-tags/".concat(t),{limit:e}),null,{isMpScApi:!0}):{data:null,error:null},tB=(t,e,i)=>{if(!t)return{data:null,error:null};let n=(()=>{let n="/api/v1/deposit-tags/".concat(t,"/texts"),l=[];return e&&l.push("region=".concat(e)),i&&l.push("town=".concat(i)),l.length>0&&(n+="?".concat(l.join("&"))),n})();return(0,A.t9)(n,null,{isMpScApi:!0})},tF=t=>null!=t?t:null,tW=t=>null!=t?t:"",tY=t=>null==t?void 0:t.map(t=>({title:t.title||"",content:[{type:"html",data:{html:t.content}}],regions:t.regions,...t.displayInMicrodata&&{displayInMicrodata:t.displayInMicrodata}})),tZ=t=>{var e,i,n,l,o,a,s;return(null===(e=t.facet)||void 0===e?void 0:e.filterUsage)?[]:[...null!==(o=null===(i=t.facet)||void 0===i?void 0:i.productsIds)&&void 0!==o?o:[],...null!==(a=null===(n=t.facet)||void 0===n?void 0:n.depositsIds)&&void 0!==a?a:[],...null!==(s=null===(l=t.facet)||void 0===l?void 0:l.legacyProductsIds)&&void 0!==s?s:[]]},t$=t=>{var e,i,n,l,o,a,s,r,d,u,c,v,p,m,_,h,f,g,b,x,y;return t?{id:tW(t.id),url:tW(t.url),title:tW(t.individualTitle),subtitle:tW(t.individualSubtitle),description:tW(t.individualDescription),individualDescription:tW(t.individualDescription),name:tW(t.internalName),tag_name:tW(t.tagName),text:tY(null!==(f=t.textList)&&void 0!==f?f:[]),calc_amount:tF(null===(e=t.facet)||void 0===e?void 0:e.depositAmount),calc_term:tF(null===(i=t.facet)||void 0===i?void 0:i.depositTerm),calc_currency_id:tF(null===(n=t.facet)||void 0===n?void 0:n.currency),filter:{term:{from:String(null!==(g=null===(l=t.facet)||void 0===l?void 0:l.depositTerm)&&void 0!==g?g:0),to:null},amount:tF(null===(o=t.facet)||void 0===o?void 0:o.depositAmount),currency:null!==(b=null===(a=t.facet)||void 0===a?void 0:a.currency)&&void 0!==b?b:"RUB",type:tW(null===(s=t.facet)||void 0===s?void 0:s.type),partial_withdrawal:(null===(r=t.facet)||void 0===r?void 0:r.partialWithdrawal)?1:0,online_application:0,finuslugi_application:0,commercial:(null===(d=t.facet)||void 0===d?void 0:d.commercialPlacement)?1:0,refill:(null===(u=t.facet)||void 0===u?void 0:u.replenishment)?1:0,interest_capitalization:(null===(c=t.facet)||void 0===c?void 0:c.capitalization)?1:0,earlyTermination:!!(null===(v=t.facet)||void 0===v?void 0:v.earlyTermination),interestsMonthly:!!(null===(p=t.facet)||void 0===p?void 0:p.interestsMonthly),displayNonPlatform:!!(null===(m=t.facet)||void 0===m?void 0:m.displayNonPlatform),rate:tF(null===(_=t.facet)||void 0===_?void 0:_.depositRate)},disable_filter:(null===(h=t.facet)||void 0===h?void 0:h.filterUsage)?0:1,position:null!==(x=t.sortNumber)&&void 0!==x?x:0,deposits:tZ(t),default:t.useByDefault?1:0,region_page:{is_show:null!==(y=t.isPublishedTagAndArea)&&void 0!==y&&y,town_titles:[],town_content:[],region_titles:[],region_content:[],town_subtitles:[],read_more_title:"",region_subtitles:[],best_offers_title:"",town_descriptions:[],region_descriptions:[],reviews_block_title:"",search_region_title:""},region_title:tW(t.individualTitle),faq_title:"",bank_region_page:{all_russia_titles:[],region_titles:[],town_titles:[],all_russia_descriptions:[],region_descriptions:[],town_descriptions:[],reviews_block_title:"",best_offers_title:"",search_region_title:"",read_more_title:"",all_russia_content:[],region_content:[],town_content:[],similar_services_title:""},stats:tF(t.stats)}:null},tG=async t=>{let{tagUrl:e,depositTags:i,setTag:n,toggles:l,limit:o,shouldFetchTexts:a=!0,regionId:s,townId:r}=t,d=await tQ({tagUrl:e,depositTags:i,toggles:l,limit:o,shouldFetchTexts:a,regionId:s,townId:r});if(n&&d){var u,c;n(d),null===(c=window)||void 0===c||null===(u=c.scrollTo)||void 0===u||u.call(c,0,0)}return d},tQ=async t=>{var e,i,n,l,o,a,s,r;let{tagUrl:d,depositTags:u,limit:c,shouldFetchTexts:v,regionId:p,townId:m}=t,_=null==u?void 0:null===(e=u.find(t=>{let{url:e}=t;return e===d}))||void 0===e?void 0:e.id,h=null==u?void 0:null===(i=u.find(t=>{let{name:e}=t;return"DEFAULT"===e}))||void 0===i?void 0:i.id,f=null!=_?_:h,g=await tU(f,c),b=v?await tB(f,p,m):void 0;return t$({...null==g?void 0:g.data,textList:[...null!==(a=null==b?void 0:null===(n=b.data)||void 0===n?void 0:n.textList)&&void 0!==a?a:[],...null!==(s=null==b?void 0:null===(l=b.data)||void 0===l?void 0:l.regionContent)&&void 0!==s?s:[],...null!==(r=null==b?void 0:null===(o=b.data)||void 0===o?void 0:o.townContent)&&void 0!==r?r:[]]})};var tq=i(93053),tH=i(58864),tV=i(47492),tX=i(65621);function tK(t){let{tagId:e,banksByBic:i,...n}=t,{data:l,isLoading:o}=(0,tk.d)(["non-platform-deposits-by-tag",e],()=>(0,tS.PT)(e),n);return(0,d.useMemo)(()=>({nonPlatformDeposits:(null!=l?l:[]).map(t=>{var e;return(0,tX.p)({deposit:t,bank:(null==t?void 0:null===(e=t.contentAttributes)||void 0===e?void 0:e.bic)?i[t.contentAttributes.bic]:void 0})}),isLoading:o}),[i,l,o])}async function tJ(){let t=await (0,tS.vI)();if(!t.data)return[];let{boundaryValues:{totalPages:e},products:i}=t.data,n=Array.from({length:e-1},(t,e)=>(0,tS.vI)("active",{page:e+1}));return[...i,...(await Promise.all(n)).flatMap(t=>{var e,i;return null!==(i=null===(e=t.data)||void 0===e?void 0:e.products)&&void 0!==i?i:[]})]}var t0=i(86935);let t1=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,A.t9)("/api/v1/banks/filtered".concat(t?"?tagId=".concat(t):""),null,{isSeoApi:!0},e)};var t2=i(81237),t4=i(92317),t9=i(36204),t6=i(57977),t7=i(68026);let t3={setItem:(t,e)=>{try{window.localStorage.setItem(t,e)}catch(t){return console.error(t),!1}return!0},getItemRaw:t=>{try{return window.localStorage.getItem(t)}catch(t){return console.error(t),null}},getItem:t=>{let e=t3.getItemRaw(t);if(e&&"undefined"!==e)try{return JSON.parse(e)}catch(e){console.warn("invalid object in localStorage by key: ".concat(t))}return null},removeItem:t=>{try{window.localStorage.removeItem(t)}catch(t){console.error(t)}}},t5=t=>{let{baseUrl:e,regionUrl:i="",tagUrl:n="",townUrl:l="",params:o,separator:a="?"}=t,s=(0,L.xn)(e,n,i?"reg_"+i:"",l===i?"":l);return o?s+a+o:s},t8=t=>{try{let e=t3.getItem("user_region"),i=t3.getItem("user_town"),n=e&&!t.includes(e.url),l=i&&!t.includes(i.url)&&i.url!==(null==e?void 0:e.url);if(e&&(n||l))return{regionUrl:e.url,townUrl:null==i?void 0:i.url};if(e&&t.includes(e.url)&&1===Number(t3.getItemRaw("all_russia_selected")))return null}catch(t){console.log(t)}},et=(t,e)=>{let i=t.split("#")[0].split("?")[0].split("/"),n=i.findIndex(t=>t.includes("reg_")),l=n>-1?i[n]:null,o=n>-1?i[n+1]:null,a=l?e.find(t=>{let{url:e}=t;return e===l.slice(4)}):null,s=a&&o?a.towns.find(t=>{let{url:e}=t;return e===o}):null;return{region:a,town:s}},ee=t=>{let{pageName:e,regions:i,initialValues:n,isRegionPageEnabled:l=!0}=t,[o,a]=(0,d.useState)(!0),{asPath:s,replace:r}=(0,to.P)(),u=(0,d.useMemo)(()=>{var t;return null==s?void 0:null===(t=s.split("?")[0])||void 0===t?void 0:t.split("#")[0].split("/").slice(1)},[s]),c=(0,d.useMemo)(()=>u.find(t=>t.includes("teg_")),[u]),{region:v,town:p,handleSetRegion:m,handleSetTown:_}=(0,t7.k)(),h=(0,d.useCallback)(async function(){let{regionUrl:t,townUrl:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((!l||"teg_premium"===c)&&t)return;let n=s.indexOf("?"),o=s.indexOf("#"),a=n<o||o<0?"?":"#",d=t5({baseUrl:"/"+e,regionUrl:t,tagUrl:c,townUrl:i,params:s.split(a)[1],separator:a});d!==s&&r(d)},[s,c,e,l]);return(0,d.useEffect)(()=>{a(!1)},[]),(0,d.useEffect)(()=>{if(!s.length)return;let t=t8(s);if(void 0!==t){t&&h(t);return}if(1===Number(t3.getItemRaw("all_russia_selected"))&&!(null==v?void 0:v.url.length)&&!(null==p?void 0:p.url.length)&&s.includes("reg_")){h();return}if(!(null==v?void 0:v.url.length)&&!(null==p?void 0:p.url.length)&&s.includes("reg_")){let{region:t,town:e}=et(s,i);t&&m(t),e&&_(e);return}},[s,h,null==v?void 0:v.url,null==p?void 0:p.url,i,m,_]),(0,d.useMemo)(()=>({region:l&&(v||o&&(null==n?void 0:n.region))||null,town:l&&(p||o&&(null==n?void 0:n.town))||null,handleSetRegion:m,handleSetTown:_}),[v,p,m,_,o,n])};var ei=i(10102),en=i(48034),el=i(76002),eo=i(40529),ea=i(90862),es=i(7206),er=i(84213),ed=i(56949),eu=i(28819),ec=i(26523),ev=i(14761),ep=i(32113),em=i(33145),e_=i(57291),eh=i(95819),ef=i(40482),eg=i.n(ef),eb={src:"/deposits/_next/static/media/finuslugi.c398cf70.svg",height:8,width:12,blurWidth:0,blurHeight:0},ex=(0,d.memo)(function(t){let{isSavingAccount:e,isOldUser:i}=t,n=(0,en.Z)(),o=(0,d.useCallback)(()=>(0,C.ld)(R.Yf,{offset:n,position:"top"}),[n]);return(0,l.jsxs)("div",{className:eg().additionalTips,"data-qa":"additional-tips",children:[!i&&!e&&(0,l.jsx)(eh.T,{dataQa:"additional_tips-how_to_open-button",onClick:o,children:(0,l.jsx)(a.Vp,{className:eg().tag,iconLeft:(0,l.jsx)(em.default,{src:eb,alt:"",unoptimized:!0,width:12}),label:"Как открыть вклад",variant:"secondary"})}),(0,l.jsx)(a.Vp,{dataQa:"additional_tips-asv-text",className:eg().tag,iconLeft:(0,l.jsx)(em.default,{src:e_.Z,unoptimized:!0,width:12,alt:""}),label:"".concat(e?"Счета":"Вклады"," застрахованы в АСВ")})]})}),ey=i(85665),ew=i(72798),eN=i.n(ew);function eT(t){let{title:e,caption:i,icon:n,dataQa:a,onCloseClick:s}=t;return(0,l.jsxs)("div",{className:eN().notification,"data-qa":a,children:[n,(0,l.jsxs)("div",{className:eN().textBlock,children:[(0,l.jsx)(o.xv,{size:"18",weight:"medium",className:eN().title,children:e}),(0,l.jsx)(o.xv,{size:"14",weight:"regular",className:eN().caption,children:i})]}),(0,l.jsx)(Q.IconFdsCloseO,{size:"24",className:eN().closeIcon,onClick:s})]})}var eC=i(2470),eD=i.n(eC);let ej="opening-notification-closed",ek="profit-notification-closed";function eL(t){let{disableProfitNotification:e,disableNotifications:i}=t,[n,o]=(0,d.useState)(()=>!t3.getItem(ej)),[a,s]=(0,d.useState)(()=>!e&&!t3.getItem(ek)),r=(0,d.useCallback)(()=>{o(!1),t3.setItem(ej,"true")},[]),u=(0,d.useCallback)(()=>{s(!1),t3.setItem(ek,"true")},[]);return(n||a)&&!i?(0,l.jsxs)("div",{className:eD().notifications,children:[n&&(0,l.jsx)(eT,{title:"100% онлайн",caption:"Открытие без\xa0посещения банка",icon:(0,l.jsx)(Q.IconFdsHeartO,{style:{color:"var(--color-purple-500)"},size:"20",boxSize:24}),dataQa:"deposits-opening-notification",onCloseClick:r}),a&&(0,l.jsx)(eT,{title:"Доход по вкладам с одной ставкой может отличаться",caption:"Причина — разница в количестве дней вклада",icon:(0,l.jsx)(Q.IconFdsInfoCircleO,{style:{color:"var(--color-purple-500)"},size:"20",boxSize:24}),dataQa:"deposits-profit-notification",onCloseClick:u})]}):null}let eA=(t,e)=>(!!t.isNotAmount||!!t.isTermEmpty||!!t.computeData)&&(!e||!t.promo);var eI=i(72955),eE=i(41506),eS=i(26573),eP=i(70104),eM=i(82180),eR=i.n(eM),eO=i(13889),ez=i.n(eO);let eU=t=>{let{deposit:e,bank:i}=t,{amount:n,rate:o,bankName:a,bonusRate:s}=e,r=[{label:"Сумма",value:"".concat((0,C.Y4)(n,2)," ₽"),id:1},{label:"Ставка",value:"".concat((0,C.Y4)(o,2)).concat(s?" + "+(0,C.Y4)(s,2):"","%"),id:2}];return(0,l.jsxs)("div",{className:ez().cardItem,children:[(0,l.jsxs)("div",{className:ez().cardHeader,children:[(0,l.jsx)("div",{className:ez().logo,children:(null==i?void 0:i.logo_mob)&&(0,l.jsx)(em.default,{width:17,height:17,alt:a,src:null==i?void 0:i.logo_mob})}),(0,l.jsx)("div",{className:ez().title,children:a})]}),(0,l.jsx)("div",{className:ez().cardContentWrapper,children:r.map(t=>(0,l.jsxs)("div",{className:ez().cardContent,children:[(0,l.jsx)("div",{className:ez().label,children:t.label}),(0,l.jsx)("div",{className:ez().value,children:t.value})]},t.id))})]})},eB=t=>{let{pageUrl:e,banks:i,comboDeposits:n,amount:o,term:a,isTermInDays:s}=t,{totalProfit:r,averageRate:u,deposits:c}=n,v=(0,d.useRef)(null),p="deposits_".concat(e),m=n.deposits.map(t=>{let{id:e,amount:i,rate:n}=t;return"".concat(e,"_").concat(i,"_").concat(n)}).join("_");(0,H.Z)({itemRef:v,eventCategory:p,eventLabel:m,eventAction:"view_card_combo"});let _=[{label:"Средняя ставка",value:"".concat((0,eP.Y4)(u,2),"%"),id:1},{label:"Общий доход",value:"".concat((0,eP.Y4)(r,2)," ₽"),id:2}],h=(0,d.useCallback)(t=>{var e;return null!==(e=i.find(e=>e.bic===(0,eS.g)(t.bic)))&&void 0!==e?e:null},[i]),f=(0,d.useMemo)(()=>(0,L.jb)("/".concat(e,"/combo"),{amount:o,[s?"d_period":"term"]:a}),[o,s,e,a]);return(0,l.jsxs)(D.default,{ref:v,className:eR().card,href:f,children:[(0,l.jsx)("span",{className:eR().tip,children:"Комбо"}),(0,l.jsxs)("div",{className:eR().infoWrapper,children:[(0,l.jsx)("div",{className:eR().title,children:"Два вклада выгоднее"}),(0,l.jsx)("div",{className:eR().infoContent,children:_.map(t=>(0,l.jsxs)("div",{className:eR().info,children:[(0,l.jsx)("div",{className:eR().label,children:t.label}),(0,l.jsx)("div",{className:eR().value,children:t.value})]},t.id))})]}),(0,l.jsx)("div",{className:eR().comboCardWrapper,children:c.map((t,e)=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eU,{bank:h(t),deposit:t},t.id),!e&&(0,l.jsx)("span",{className:eR().plus})]}))}),(0,l.jsx)(C.zx,{className:eR().button,size:"xs",stretch:!0,onClick:()=>{(0,q.lQ)({eventLabel:m,eventCategory:"deposits_".concat(e),eventAction:"click_card_combo"})},children:"Подробнее"})]})};var eF=i(25765),eW=i(59829),eY=i(91304),eZ=i.n(eY);let e$=(0,eI.c)(4,eZ().skeleton),eG=t=>{var e;let{banks:i,anotherDeposits:n,platformDeposits:s,filter:u,isOldUser:c,depositLists:v,className:p,bannerUrl:m,isHiddenPromo:_,existTag:h,isPlusFiveBonus:f,extraInfo:g,questions:b,pageUrl:x,comboDeposits:y,isSavingAccounts:w,showDepositGuide:N,adFoxConfig:T,showAdFoxBanner:D,isPlatformLoading:j,isNonPlatformLoading:k,showPlatformDeposits:L,newPlatformDeposits:A,disableNotifications:I,displayNonPlatform:E=!0,isTermInDays:S,showOnlyNonPromo:P}=t,M=(0,a.s4)(),z=(0,a._m)("l"),{amountData:U,term:B,handleToggleModal:F}=u,[W,Y]=(0,d.useState)(10),[Z,$]=(0,d.useState)(10),{depositData:G,openModal:Q,handleOpen:H,handleClose:V}=(0,eE.j)({banks:i,anotherDeposits:n,platformDeposits:s,newPlatformDeposits:A});(0,d.useEffect)(()=>{window.postMessage({key:"depositListLoaded",value:!0},O.publicConfig.BASE_URL)},[]);let X=(0,en.Z)(),K=(0,d.useCallback)(()=>{(0,C.ld)(R.Mb,{offset:X-48,position:"top"})},[X]);(0,d.useEffect)(()=>{j&&Y(10),k&&$(10)},[k,j]);let[J,tt]=(0,d.useState)(v.platform.filter(t=>eA(t,_)));(0,d.useEffect)(()=>{tt(v.platform.filter(t=>eA(t,_)))},[v,_]);let te="deposits_details_".concat(x,"_popup"),ti=y&&y.deposits.length>1,tn=v.another.length>0,tl=v.platform.length>0,to=h?L&&(tl||j):L,ta=h?!!E&&(tn||k):!!E,ts=!h&&(!tl&&!j||!L),tr=!h&&!tn&&!k,td=v.platform.length>W&&!j,tu=v.another.length>Z&&!k,tc=!!u.amountData.value&&!!u.term.value,tv=(0,tH.ur)(M,!z,O.publicConfig.FEATURE_TOGGLE_DEPOSIT_FILTER_NEW_DESIGN_ENABLED),tm=(0,d.useMemo)(()=>(0,l.jsx)(eu.t,{children:(0,l.jsx)(eW.Z,{id:R.uz,qrBannerUrl:m,existTag:h,pageUrl:x,newMobileAd:!0})}),[m,h,x]),t_=(0,d.useCallback)(()=>w?null:N?(0,l.jsx)(ey.Z,{pageUrl:x}):tm,[tm,w,x,N]),th=(0,d.useCallback)(()=>c&&!w?null:tm,[tm,c,w]),tf=(0,d.useCallback)(()=>(0,l.jsx)(ec.p,{onChangeParams:F,dataQa:"not-found"}),[F]),tg=(0,d.useCallback)(()=>(0,l.jsxs)(o.W2,{children:[(0,l.jsx)(ec.p,{onChangeParams:F,dataQa:"not-found"}),t_(),th()]}),[F,th,t_]);return(0,l.jsxs)("section",{id:R.TM,className:(0,r.Z)(eZ().container,p),children:[(0,l.jsxs)(ev.X,{switchWhen:ts&&tr,switchTo:tg,transitionTime:200,children:[to&&(0,l.jsxs)(o.W2,{children:[(0,l.jsx)(o.xv,{as:"h2",className:eZ().title,children:w?"Накопительные счета онлайн на Финуслугах":"Вклады онлайн от Финуслуг"}),(0,l.jsxs)(ev.X,{switchWhen:ts,switchTo:tf,transitionTime:200,children:[tv?(0,l.jsx)(ex,{isSavingAccount:w,isOldUser:c}):(0,l.jsx)(eL,{disableProfitNotification:w,disableNotifications:I}),(0,l.jsxs)(ev.X,{switchWhen:j,switchTo:e$,transitionTime:200,children:[ti&&(0,l.jsx)(eB,{pageUrl:x,banks:i,comboDeposits:y,amount:+U.value,term:+B.value,isTermInDays:S}),J.slice(0,W).map((t,e)=>(0,l.jsxs)(d.Fragment,{children:[(0,l.jsx)("div",{"data-qa":"platform",children:O.publicConfig.FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED?(0,l.jsx)(eF.B,{isPlatform:!0,onOpenDetailModal:H,className:(0,r.Z)(eZ().listItem,t.promo&&"click_kartochka_promo_neavtorizovannaya_zona"||"click_kartochka_obychnaya_neavtorizovannaya_zona"),data:t,isTermInDays:!0,baseUrl:"/".concat(x),isFullFilter:tc,showOnlyNonPromo:P},t.url+t.id):(0,l.jsx)(ep.B,{isPlatform:!0,onOpenDetailModal:H,className:(0,r.Z)(eZ().listItem,t.promo&&"click_kartochka_promo_neavtorizovannaya_zona"||"click_kartochka_obychnaya_neavtorizovannaya_zona"),isOldUser:c,data:t,wide:!0,isTermInDays:!0,baseUrl:"/".concat(x)},t.url+t.id)}),D&&e+1===Math.min(3,J.length)&&(0,l.jsx)(ed.Z,{className:eZ().adFox,params:tp.QA,config:T})]},t.url)),(0,l.jsxs)(o.X2,{className:(0,r.Z)(eZ().buttonsRow,eZ().spaced),children:[td&&(0,l.jsx)(a.zx,{size:"s",onClick:()=>{(0,q.lQ)({event:"data-event",eventCategory:"deposits_vklady",eventAction:"click_smotret_esche_predlozheniya__offers"}),Y(t=>t+10)},className:eZ().button,variant:"secondary",dataQa:"show-more-platform-button",children:"Еще предложения от Финуслуг"}),tn&&(0,l.jsx)(a.zx,{size:"s",variant:"white",onClick:K,dataQa:"show-nonplatform-deposits-button",children:"Предложения от банков"})]})]})]})]}),t_(),ta&&(0,l.jsxs)(o.W2,{className:eZ().anotherList,children:[(0,l.jsx)(o.xv,{as:"h2",id:R.Mb,className:eZ().title,children:"Предложения от банков"}),(0,l.jsx)(ev.X,{switchWhen:tr,switchTo:tf,children:(0,l.jsxs)(ev.X,{transitionTime:200,switchWhen:k,switchTo:e$,children:[v.another.slice(0,Z).map((t,e)=>(0,l.jsxs)(d.Fragment,{children:[(0,l.jsx)("div",{"data-qa":"nonplatform",children:O.publicConfig.FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED?(0,l.jsx)(eF.B,{onOpenDetailModal:H,className:eZ().listItem,data:t,isPlatform:!1,isTermInDays:S,baseUrl:"/".concat(x),isFullFilter:tc,showOnlyNonPromo:P}):(0,l.jsx)(ep.B,{onOpenDetailModal:H,className:eZ().listItem,data:t,wide:!0,isPlatform:!1,isTermInDays:S,baseUrl:"/".concat(x)})}),D&&e+1===Math.min(3,v.another.length)&&(0,l.jsx)(ed.Z,{className:eZ().adFox,params:tp.Eu,config:T})]},t.url)),tu&&(0,l.jsx)(a.zx,{size:"s",onClick:()=>{(0,q.lQ)({event:"data-event",eventCategory:"deposits_vklady",eventAction:"click_smotret_esche_predlozheniya__lidgen"}),$(t=>t+10)},className:(0,r.Z)(eZ().button,eZ().spaced),variant:"secondary",dataQa:"show-more-nonplatform-button",children:"Еще предложения"})]})})]}),th()]}),G&&(0,l.jsx)(er.Z,{data:G,isOldUser:c,isOpen:Q,onClose:V,extraInfo:g,isPlusFiveBonus:f,questions:b,depositSumm:U.value,showcaseBaseUrl:x,depositTerm:null!==(e=null==B?void 0:B.label)&&void 0!==e?e:"Любой",initialAmount:Number(U.value),initialTermInMonths:Number(B.value),eventCategory:te,showOnlyNonPromo:P})]})};var eQ=i(25813),eq=i.n(eQ),eH=i(18674);let eV=t=>{let{isSavingAccounts:e,isOldSavingAccountsLoading:i,isCustomerLoading:n,isTermsLoading:l,isPlatformDepositsLoading:o,hasFilters:a}=t;return e?!i&&!n:!(l||n||o||!a)};var eX=i(70087);let eK=null!==(n=(0,k.env)("NEXT_PUBLIC_BASE_URL"))&&void 0!==n?n:"*",eJ=t=>(0,l.jsx)(D.default,{...t}),e0=t=>{var e,i,n,s,r,u;let{stores:c,depositTags:v,depositTag:p,currencies:m,discounts:_,bounds:h,bankTowns:g,depositRegion:b,depositRegionLinks:w,defaultRegion:N,defaultTown:D,depositsTitle:k,depositsDescription:A,depositsSubtitle:z,initialAnotherDeposits:U,initialPlatformDeposits:B,allExtraInfo:F,banks:W,banksCount:Y,initialTopBanks:Z,questions:G,supportData:Q,journalData:H,isPlatformShowcase:V,initialCurrentDepositsLength:X,initialAllDepositsLength:J,initialComboDeposits:tt,initialQuote:te,crossLinkLabels:ti,initialSeoText:tn,showOnlyNonPromo:ta=!1}=t,td=(0,a.s4)(),tu=(0,C._m)("l"),{asPath:tp,push:ty}=(0,to.P)(),tC=(0,j.usePathname)(),tD=(0,en.Z)(12,24),tj=(0,d.useMemo)(()=>ta?tz.a.VKLADY_OLD:tz.a.VKLADY,[ta]);(0,el.f)({eventCategory:"deposits_".concat(tp),eventLabel:""});let{regions:tA,town_duplicates:tI}=(0,ei.f)(!1,{region:N,town:D}),{isOldUser:tP,customerId:tR,isLoading:tU}=(0,t0.jt)(),tB=(0,t6.a)(M.tE),tF=(0,t9.K)({bannersTitle:[M.N9.DEPOSITS_ADVANTAGES,M.N9.VKLADY,M.N9.VKLADY_TAGS],queryParams:tB,stores:c}),[tW,tY]=(0,d.useState)(!tP),[tZ,t$]=(0,d.useState)(p),[tQ,tX]=(0,d.useState)(),{town:t7,region:t3,handleSetTown:t5,handleSetRegion:t8}=ee({pageName:tj,regions:tA,initialValues:{region:N,town:D},isRegionPageEnabled:null==tZ?void 0:null===(e=tZ.region_page)||void 0===e?void 0:e.is_show}),{topBanks:et}=function(t){let{tagId:e,initialTopBanks:i,...n}=null!=t?t:{},{data:l,isLoading:o}=(0,tk.d)(["topBanks",e],()=>t1(e),{...n});return(0,d.useMemo)(()=>{var t,e;return{isLoading:o,topBanks:l?null!==(e=null===(t=l.data)||void 0===t?void 0:t.banks)&&void 0!==e?e:[]:i}},[o,l,i])}({tagId:null!==(s=null==tZ?void 0:tZ.id)&&void 0!==s?s:"",initialTopBanks:Z}),er=(null==tZ?void 0:tZ.url)==="nakopitelnye",{terms:ed,isLoading:eu}=function(t){var e,i;let n=(0,d.useMemo)(()=>(0,tM.$1)(),[]),l=null!==(i=null==n?void 0:n["auth.gtm_customer_id"])&&void 0!==i?i:void 0,{data:o,isLoading:a}=(0,tk.d)(["deposit-terms",l],()=>(0,tS.rl)(l),t);return(0,d.useMemo)(()=>{var t,e,i;return{isLoading:a,terms:null!==(i=null==o?void 0:null===(e=o.data)||void 0===e?void 0:null===(t=e.terms)||void 0===t?void 0:t.map(tO))&&void 0!==i?i:[]}},[null==o?void 0:null===(e=o.data)||void 0===e?void 0:e.terms,a])}({disabled:!O.publicConfig.FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED||er,ssrLoader:!0}),ec=(0,d.useMemo)(()=>tm(ed),[ed]),{isLoading:ev,products:ep,productsWithIncreasedAmount:em,productHint:e_}=function(t){var e,i,n;let l=O.publicConfig.FEATURE_TOGGLE_NEW_BONUS_API_ENABLED,{filters:o,showOnlyNonPromo:a=!1,disabled:s}=t,{isOldUser:r,isLoading:u}=(0,t0.jt)(),{data:c,isLoading:v}=(0,tk.d)(["deposits",o],()=>(0,tS.qB)({...o,isNewCustomer:!r},l),{disabled:s||u||(0,tH.mA)(o)});return(0,d.useMemo)(()=>{var t,e,i,n,l,o,s,r,d;let p=null!==(n=null==c?void 0:null===(t=c.data)||void 0===t?void 0:t.products)&&void 0!==n?n:[],m=null!==(l=null==c?void 0:null===(e=c.data)||void 0===e?void 0:e.productsWithIncreasedAmount)&&void 0!==l?l:[];return a&&(p=(null!==(r=null==c?void 0:null===(o=c.data)||void 0===o?void 0:o.products)&&void 0!==r?r:[]).filter(t=>!t.promo),m=(null!==(d=null==c?void 0:null===(s=c.data)||void 0===s?void 0:s.productsWithIncreasedAmount)&&void 0!==d?d:[]).filter(t=>!t.promo)),{products:p,productsWithIncreasedAmount:m,productHint:null==c?void 0:null===(i=c.data)||void 0===i?void 0:i.productHint,isLoading:v||u}},[u,v,null==c?void 0:null===(e=c.data)||void 0===e?void 0:e.productHint,null==c?void 0:null===(i=c.data)||void 0===i?void 0:i.products,null==c?void 0:null===(n=c.data)||void 0===n?void 0:n.productsWithIncreasedAmount,a])}({filters:tQ,showOnlyNonPromo:ta,disabled:er||eu}),[eh,ef]=(0,d.useState)(!1),eg=eh?em:ep,eb=(0,d.useMemo)(()=>W.reduce((t,e)=>({...t,[Number(e.bic)]:e}),{}),[W]),{nonPlatformDeposits:ex,isLoading:ey}=tK({tagId:String(null!==(r=null==tZ?void 0:tZ.id)&&void 0!==r?r:""),banksByBic:eb,disabled:!(null==tZ?void 0:tZ.id)||!(null===(i=tZ.filter)||void 0===i?void 0:i.displayNonPlatform)||V}),ew=(0,d.useMemo)(()=>{var t;return null===(t=v.find(t=>"all_offers"===t.url))||void 0===t?void 0:t.id},[v]),{nonPlatformDeposits:eN}=tK({tagId:String(null!=ew?ew:""),banksByBic:eb,disabled:!ew}),{oldSavingAccounts:eT,isLoading:eC}=function(t){let{data:e,isLoading:i}=(0,tk.d)("old-saving-accounts",()=>tJ(),t);return(0,d.useMemo)(()=>({oldSavingAccounts:null!=e?e:[],isLoading:i}),[e,i])}({disabled:!er}),eD=(0,d.useMemo)(()=>(0,eH.j)({path:tp,tag:tZ}),[tp,tZ]),ej=(0,d.useCallback)(async t=>{await tG({tagUrl:t,depositTags:v,setTag:t$,regionId:null==t3?void 0:t3.region_id,townId:null==t7?void 0:t7.id}),ty((0,tV.C)("deposits",{id:"",name:"",url:t},t3,t7,void 0,tj)||"/vklady")},[ty,t3,t7,tj,v]),ek=function(t){let{banks:e,isNewCustomer:i,setFilters:n}=t,l=(0,d.useMemo)(()=>e.reduce((t,e)=>({...t,[String(e.id)]:e.bic}),{}),[e]);return(0,tx.y1)(t=>{let{amount:e,term:o,sortType:a,withCapitalization:s,withMonthlyPercent:r,withPreferentialTermination:d,withRefill:u,activeBanks:c,withPartialWithdrawal:v}=t;n({amount:e>0?e:void 0,sort:tw[a],term:tN(o),withCapitalization:s||void 0,withMonthlyPayments:r||void 0,withPreferentialTermination:d||void 0,withPartialWithdrawal:v||void 0,withRefill:u||void 0,isNewCustomer:i,providerBICs:null==c?void 0:c.map(t=>l[t])})},500)}({banks:W,isNewCustomer:!tP,setFilters:tX}),eL=O.publicConfig.FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED&&!er,[eA,eI]=(0,d.useState)(!1),eE=(0,eX.L)({tag:tZ,currencies:m,banks:W,defaultValues:eD,isDiscount:tW,hasDynamicBonus:eA,sortLoading:(0,tH.ur)(!er,tU),termOptions:ec,isTermInDays:eL}),eS=eE.shouldFilterByAllOffers&&(null==eN?void 0:eN.length)?eN:ex,eP=(0,d.useRef)(void 0);(0,d.useEffect)(()=>{if(er||!eE.clientSortType)return;let t=tc(eE);t&&!tv(t,eP.current)&&(eP.current=t,ek(t),ef(!1))},[eE,ek,er]);let eM=(0,d.useCallback)(t=>{if(Number(eE.amountData.value)!==t){if(eE.handleAmountChange(t),eE.amountData.handleChange(t),eP.current){let e={...eP.current,amount:t};if(eP.current=e,O.publicConfig.FEATURE_TOGGLE_DEPOSIT_FILTER_NEW_DESIGN_ENABLED){ek(e),ek.flush(),(0,C.ld)(R.TM,{offset:tD,position:"top",delay:200});return}}ef(!0)}},[eE,ek,tD]),eR=(0,t2.I)(),[eO,ez]=(0,d.useState)(b),[eU,eB]=(0,d.useState)(w);(0,d.useEffect)(()=>{I({region:t3,town:t7,tag:tZ}).then(t=>{t.data&&!t.data.message&&ez(t.data)}),E({region:t3}).then(t=>{var e;(null===(e=t.data)||void 0===e?void 0:e.region_links)&&eB(t.data.region_links)}),tZ&&tG({tagUrl:null==tZ?void 0:tZ.url,depositTags:v,setTag:t$,regionId:null==t3?void 0:t3.region_id,townId:null==t7?void 0:t7.id})},[null==t3?void 0:t3.url,null==t3?void 0:t3.region_id,null==t7?void 0:t7.url,null==tZ?void 0:tZ.url]);let eF=(0,d.useCallback)((t,e)=>{C.A7.setItem("user_region",t?JSON.stringify(t):""),C.A7.setItem("user_town",e?JSON.stringify(e):""),t8(t),t5(e||null)},[t8,t5]),eW=function(t){var e;let{filter:i,filters:n,isDiscount:l,isTermInDays:o,withSavingAccounts:a,allOffers:s,newPlatformDeposits:r,platformDeposits:u,isPlusFiveBonus:c,isOldUser:v,anotherDeposits:p,bounds:m,banks:_,bankTowns:h,town:f,region:g,discounts:b,initialAnotherDeposits:x,initialPlatformDeposits:y,allExtraInfo:w,anotherDepositsInCount:N,getOnlyInitialData:T,specialDeposits:C,initialLeadGenDeposits:D,leadGenDeposits:j,initialAllDepositsLength:k,initialCurrentDepositsLength:L,calculateFilterAbilities:A,showOnlyNonPromo:I}=t,E=tg(!!a,i.amountData.value,null==n?void 0:n.amount),S=(0,d.useMemo)(()=>{var t;return{newPlatformDeposits:r,platformDeposits:u,isPlusFiveBonus:c,isOldUser:v,anotherDeposits:p,bounds:m,banks:_,bankTowns:h,town:f,region:g,discounts:b,initialAnotherDeposits:x,initialPlatformDeposits:y,allExtraInfo:w,anotherDepositsInCount:N,getOnlyInitialData:T,specialDeposits:C,initialLeadGenDeposits:D,leadGenDeposits:j,initialAllDepositsLength:k,initialCurrentDepositsLength:L,calculateFilterAbilities:A,allOffers:s,withSavingAccounts:a,shouldFilterByAllOffers:i.shouldFilterByAllOffers,filter:{amount:E,rate:i.rate,currency:String(i.currencyUnit),withRefill:i.withRefill,filterAdditionalSettings:i.filterAdditionalSettings,importantDeposits:i.importantDeposits,initialSort:i.initialSort,order:i.increaseSort?th.mr.Desc:th.mr.Asc,sortType:i.sortType,isDiscount:l,term:tb(!!a,o,i.term.value,null==n?void 0:null===(t=n.term)||void 0===t?void 0:t.value),termUnit:!a&&o?"DAY":"MONTH",withCapitalization:i.withCapitalization,activeBanks:i.activeBanks?i.activeBanks.map(t=>String(t.value)):void 0,withMonthlyPercent:i.withMonthlyPercent,withPreferentialTermination:i.withPreferentialTermination},showOnlyNonPromo:I}},[E,i.rate,i.currencyUnit,i.withRefill,i.filterAdditionalSettings,i.importantDeposits,i.initialSort,i.increaseSort,i.sortType,i.term.value,i.withCapitalization,i.activeBanks,i.withMonthlyPercent,i.withPreferentialTermination,i.shouldFilterByAllOffers,l,null==n?void 0:null===(e=n.term)||void 0===e?void 0:e.value,o,r,u,c,v,p,m,_,h,f,g,b,x,y,w,N,T,C,D,j,k,L,A,a,s,I]);return(0,d.useMemo)(()=>(0,tf.O)(S),[S])}({initialAnotherDeposits:U,initialPlatformDeposits:B,platformDeposits:eT,anotherDeposits:ex,newPlatformDeposits:eg,bounds:h,isPlusFiveBonus:!tP,isOldUser:tP,filter:eE,isTermInDays:eL,filters:tQ,banks:W,discounts:_,bankTowns:g,town:t7,region:t3,allExtraInfo:F,getOnlyInitialData:!td,initialAllDepositsLength:J,initialCurrentDepositsLength:X,calculateFilterAbilities:er,withSavingAccounts:er,isDiscount:tW,allOffers:eN,showOnlyNonPromo:ta});(0,d.useEffect)(()=>{tY(er?eW.platform.some(t=>t.hasDiscount):!tP),eI(!!eW.platform.find(t=>t.computeData&&t.computeData.bonusRate>0))},[eW,er,tP]);let{quote:eY}=tL({tagUrl:null==tZ?void 0:tZ.url,regionUrl:null==t3?void 0:t3.url,townUrl:null==t7?void 0:t7.url,initialQuote:te}),{seoText:eZ}=tE({url:null!=tC?tC:"",initialSeoText:tn}),e$=1===eE.currency.id||er,eQ=e$?eW.currentLength:eW.another.length,e0=(0,d.useMemo)(()=>eO?(0,eo.Y)({data:eW.another,platformDepositLists:eW.platform,tags:v,regionLinks:eU,dataRegion:eO,regions:tA,banks:W,topBanks:et,tag:tZ,region:t3,town:t7,townDuplicates:tI,setTag:ej,setRegion:eF,currencies:m,showOnlyNonPromo:ta,basePath:tj}):[],[eO,eW.another,eW.platform,v,eU,tA,W,et,tZ,t3,t7,tI,ej,eF,m,ta,tj]),e1=(0,d.useMemo)(()=>(0,tl.L)(tZ),[tZ]),e2=(0,d.useMemo)(()=>{if(!(null==t3?void 0:t3.url))return"";let t=76!==t3.id&&77!==t3.id&&(null==t7?void 0:t7.url)?null==t7?void 0:t7.url:"";return(0,L.xn)("/reg_".concat(t3.url),t)},[null==t3?void 0:t3.url,null==t3?void 0:t3.id,null==t7?void 0:t7.url]),e4=(0,d.useMemo)(()=>(null==ti?void 0:ti.content)?{content:null==ti?void 0:ti.content.map(t=>({...t,tags:t.tags.map(t=>({...t,url:"".concat(t.url).concat(e2)}))}))}:{content:[]},[ti,e2]),{fitsForMonthlyPercentFilter:e9,fitsForPreferentialTerminationFilter:e6,fitsForCapitalization:e7,fitsForRefill:e3}=eW;(0,t4.z)({disabled:!0,showMonthlyPercent:e9,showPreferentialTermination:e6,showCapitalization:e7,showRefill:e3,filter:eE});let{comboDeposits:e5}=$({amount:+eE.amountData.value,term:+eE.term.value,initialComboDeposits:tt,tag:tZ,customerId:tR,isTermInDays:eL}),e8=(0,tH.ur)(!tP,!er),it=!!eR,ie=t_({isDepositsLoading:eC,isCustomerLoading:tU,isPlatformDepositsLoading:ev,hasFilters:!!tQ,isClient:td,platformLoadingDisabled:!er}),ii=eV({isSavingAccounts:er,isTermsLoading:eu,isCustomerLoading:tU,isPlatformDepositsLoading:ev,hasFilters:!!tQ,isOldSavingAccountsLoading:eC}),il=function(t){let{isMetaReady:e,banksCount:i,tag:n,region:l,town:o,depositLists:a,visibleCurrentLength:s}=t,r=(0,d.useMemo)(()=>{var t,e,l,o,a,s,r,d,u,c,v,p,m;return(null==n?void 0:n.stats)?({banksCount:new Set([...null!==(d=null==(t=n.stats)?void 0:null===(e=t.platform)||void 0===e?void 0:e.banksIds)&&void 0!==d?d:[],...null!==(u=null==t?void 0:null===(l=t.nonPlatform)||void 0===l?void 0:l.banksIds)&&void 0!==u?u:[]]).size,bet:Math.max(null!==(c=null==t?void 0:null===(o=t.platform)||void 0===o?void 0:o.bet)&&void 0!==c?c:0,null!==(v=null==t?void 0:null===(a=t.nonPlatform)||void 0===a?void 0:a.bet)&&void 0!==v?v:0),depositsCount:(null!==(p=null==t?void 0:null===(s=t.platform)||void 0===s?void 0:s.prop)&&void 0!==p?p:0)+(null!==(m=null==t?void 0:null===(r=t.nonPlatform)||void 0===r?void 0:r.prop)&&void 0!==m?m:0)}).banksCount:i},[null==n?void 0:n.stats,i]),u=(0,d.useMemo)(()=>(0,tT.x)({tag:n,region:l,town:o,depositLists:a,banksCount:r,depositsCount:s}),[r,a,l,n,o,s]),[c,v]=(0,d.useState)(u);return(0,d.useEffect)(()=>{e&&v(u)},[e,u]),c}({isMetaReady:ii,banksCount:Y,tag:tZ,region:t3,town:t7,depositLists:eW,visibleCurrentLength:eQ}),{subtitle:io,h1:ia,inRegion:is}=il,ir=(0,d.useMemo)(()=>tr({isDefault:e1,tag:tZ,h1:ia,inRegion:is,basePath:"/".concat(tj)}),[is,e1,tZ,ia,tj]),id=(0,tq.W)({tagName:null==tZ?void 0:tZ.faq_title,inRegion:is}),iu=(null==eW?void 0:eW.notInitialDeposits)&&ii?io:z;return(0,l.jsxs)("main",{className:eq().page,children:[(0,l.jsx)(ts,{region:t3,town:t7,tag:tZ,meta:il,isMetaReady:ii,depositLists:eW,regionUrl:e2,currency:eE.currency.value,isOldUser:tP,initialDescription:A,initialTitle:k,quote:eY}),(0,l.jsx)(o.W2,{className:eq().mainContainer,fluid:!0,children:(0,l.jsx)(o.W2,{children:(0,l.jsx)(es.v,{tag:tZ,setTag:ej,h1:ia,region:t3,town:t7,subtitle:null!=iu?iu:"",length:td?eQ:X,data:eE,terms:ec,isTermsLoading:eu,withAdditional:!eW.boundsIsEmpty,isMobile:!tu,partnerId:null,isDiscount:tW,breadcrumbsPath:ir,showDepositGuide:e8,isSavingAccounts:er,showAdFoxBanner:it,isTermInDays:eL,productHint:e_,isLoading:ev,hasDynamicBonus:eA,onTipsApply:eM,disableLastHref:e1&&!is,adFoxConfig:eR})})}),!O.publicConfig.FEATURE_TOGGLE_DEPOSIT_FILTER_NEW_DESIGN_ENABLED&&(0,l.jsx)(K,{visible:(0,tH.ur)(e_,!ev),amount:null==e_?void 0:e_.minimumAmount,rate:null==e_?void 0:e_.fullRate,bankName:null==e_?void 0:e_.bankDisplayName,eventCategory:"deposits_".concat(tp),onTipsApply:eM}),(0,l.jsx)(eG,{filter:eE,isDiscount:tW,isOldUser:tP,banks:W,platformDeposits:eT,anotherDeposits:eS,depositLists:eW,adFoxConfig:eR,isMobile:!tu,bannerUrl:e1?tF[M.N9.VKLADY]:null!==(u=tF[M.N9.VKLADY_TAGS])&&void 0!==u?u:tF[M.N9.VKLADY],isHiddenPromo:tP,existTag:!e1,town:t7,region:t3,extraInfo:F,isPlusFiveBonus:!tP,questions:G,pageUrl:tj,currentDepositsLength:td?eW.currentLength:X,allDepositsLength:td?eW.allLength:J,comboDeposits:e5,isSavingAccounts:er,showDepositGuide:e8,showAdFoxBanner:it,isPlatformLoading:ie,isNonPlatformLoading:td&&ey,showPlatformDeposits:e$,newPlatformDeposits:null!=eg?eg:[],disableNotifications:(0,tH.oA)(e_),displayNonPlatform:null==tZ?void 0:null===(n=tZ.filter)||void 0===n?void 0:n.displayNonPlatform,isTermInDays:eL,showOnlyNonPromo:ta}),eY&&!t7&&!t3&&(0,l.jsx)(x,{className:eq().quote,quote:eY}),(0,l.jsx)(S.V,{journalData:H,className:eq().grayBackground}),(0,l.jsx)(P.y,{supportData:Q,className:eq().grayBackground}),eZ&&(0,l.jsx)(T,{content:null==eZ?void 0:eZ.content,dataLayerPush:q.lQ,sectionTitle:"",blockTitle:null==eZ?void 0:eZ.title}),e4&&(0,l.jsx)(f,{labelsData:e4,sectionTitle:"Вклады, которые могут вас заинтересовать",href:"/".concat(tj),blockTitle:"",dataLayerPush:q.lQ}),(0,l.jsx)(y.C,{sectionTitle:id,Link:eJ,dataLayerPush:q.lQ,questions:e0,eventCategory:"deposits_support_block",href:(0,L.xn)(eK,"help"),checkAllText:tu?"Читать все вопросы про вклады":"Все вопросы про вклады",tagTitle:"h3"}),(0,l.jsx)(ea.s,{data:eE,isDiscount:tW,isMobile:!tu,terms:ec,depositsLength:eQ,withAdditional:!eW.boundsIsEmpty,partnerId:null,showMonthlyPercent:e9,showPreferentialTermination:e6,showCapitalization:e7,showRefill:e3,hasDynamicBonus:eA,withCapitalizationTittle:"Капитализация",withRefillTitle:"Пополнение"})]})}},18674:function(t,e,i){"use strict";i.d(e,{j:function(){return a}});var n=i(76391),l=i(96742),o=i(91220);let a=t=>{var e,i,a,s;let{tag:r,path:d}=t,u=(0,o.p)(d),c=String(u.amount),v=String(u.period),p=String(u.term),m=u.currency?String(u.currency):void 0,_={term:0,amount:"0",currencyCode:"RUB",withRefill:!1,withCapitalization:!1,withMonthlyPercent:!1,withPreferentialTermination:!1,withPartialWithdrawal:!1},h=(0,n.O)(null==r?void 0:null===(e=r.filter)||void 0===e?void 0:e.currency);return(null==r?void 0:r.filter)&&(_.term=null!==(a=null===(i=r.filter.term.values)||void 0===i?void 0:i[0])&&void 0!==a?a:null===r.filter.term.from||isNaN(Number(r.filter.term.from))?_.term:Number(r.filter.term.from),_.currencyCode=(0,l.z)(h).code,_.withRefill=!!r.filter.refill,_.withCapitalization=1===r.filter.interest_capitalization,_.withMonthlyPercent=!!r.filter.interestsMonthly,_.withPreferentialTermination=!!r.filter.earlyTermination,_.amount=String(null!==(s=r.filter.amount)&&void 0!==s?s:_.amount),_.withPartialWithdrawal=!!r.filter.partial_withdrawal),c&&!isNaN(+c)&&(_.amount=c),v&&!isNaN(+v)&&(_.term=+v),p&&!isNaN(+p)&&(_.term=+p),m&&(0,l.z)(m).code&&(_.currencyCode=(0,l.z)(m).code),_}},26573:function(t,e,i){"use strict";function n(t){return t.startsWith("0")?t.replace("0",""):t}i.d(e,{g:function(){return n}})},94943:function(t,e,i){"use strict";var n,l;i.d(e,{z:function(){return l}}),(n||(n={})).HTML="html",(l||(l={})).nakop="nakopitelnye"},65621:function(t,e,i){"use strict";i.d(e,{p:function(){return c}});var n=i(94441);let l=t=>{var e,i,n,l,o,a,s,r;let d=(null===(i=t.contentAttributes)||void 0===i?void 0:null===(e=i.integration)||void 0===e?void 0:e.integrationType)==="REFERAL"||(null===(l=t.contentAttributes)||void 0===l?void 0:null===(n=l.integration)||void 0===n?void 0:n.integrationType)==="INTERNAL_REFERAL";return{type:d?1:0,url:null!==(r=null===(a=t.contentAttributes)||void 0===a?void 0:null===(o=a.integration)||void 0===o?void 0:o.url)&&void 0!==r?r:"",commercial:d?1:0,order:null===(s=t.contentAttributes)||void 0===s?void 0:s.order}},o=(t,e,i)=>{var n,l,o,a;return{...null==t?void 0:t.interest_rate,rates:e.length?e:null!==(o=null===(n=t.interest_rate)||void 0===n?void 0:n.rates)&&void 0!==o?o:[],comment:null!==(a=null===(l=i.contentAttributes)||void 0===l?void 0:l.ratesComment)&&void 0!==a?a:""}},a=(t,e)=>{var i,n,l;let o=null!==(l=null==e?void 0:null===(n=e.interestPayments)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.periods)&&void 0!==l?l:[],a=o.map(t=>t.type),r=o.map(t=>s(t)).join("<br/>");return{...t.interest_payment,text:r,daily:a.includes("DAILY")?1:0,weekly:a.includes("WEEKLY")?1:0,monthly:a.includes("MONTHLY")?1:0,quarterly:a.includes("QUARTERLY")?1:0,half_year:a.includes("SEMIANNUALLY")?1:0,annually:a.includes("ANNUALLY")?1:0,end:a.includes("IN_THE_END")?1:0,specified_period_in_days:a.includes("SPECIFIED_PERIOD_IN_DAYS")?1:0}},s=t=>{var e;return"DAILY"===t.type?"Ежедневно":"WEEKLY"===t.type?"Еженедельно":"MONTHLY"===t.type?"Ежемесячно":"QUARTERLY"===t.type?"Ежеквартально":"SEMIANNUALLY"===t.type?"Каждые пол года":"ANNUALLY"===t.type?"Ежегодно":"IN_THE_END"===t.type?"В конце срока":"SPECIFIED_PERIOD_IN_DAYS"===t.type?"Каждый ".concat(null!==(e=t.value)&&void 0!==e?e:0,"-й день"):""},r=(t,e)=>{var i,n;let l=null!==(n=null===(i=t.attributes)||void 0===i?void 0:i.asSavingAccount)&&void 0!==n?n:"saving_account"===t.productType;return{charitable:"charitable"===t.productType?1:0,child:"child"===t.productType?1:0,insurance:"insurance"===t.productType?1:0,investment:"investment"===t.productType?1:0,martgage:"mortgage"===t.productType?1:0,multicurrency:(null==e?void 0:e.currencies.length)>1?1:0,pension:"pension"===t.productType?1:0,salary:"salary"===t.productType?1:0,saving_account:l?1:0,seasonal:"seasonal"===t.productType?1:0}},d=t=>t?String(t).padStart(9,"0"):"",u=t=>t,c=t=>{var e,i,s,c,v,p,m,_,h,f,g,b,x,y,w,N,T,C,D,j,k,L,A,I,E,S,P,M;let{deposit:R,bank:O,oldDeposit:z}=t,U=null!=z?z:(0,n.MP)(!!(null==R?void 0:null===(e=R.attributes)||void 0===e?void 0:e.asSavingAccount)),B=null===(s=R.attributes)||void 0===s?void 0:null===(i=s.options)||void 0===i?void 0:i[0],F=(0,n.I7)(O),{rates:W,amountFrom:Y,amountTo:Z,termFrom:$,termTo:G}=(0,n.HP)(null!==(j=null===(c=R.attributes)||void 0===c?void 0:c.options)&&void 0!==j?j:[],null==R?void 0:null===(v=R.attributes)||void 0===v?void 0:v.isLadderDeposit);return{...U,...R,id:R.id,url:null!==(k=null==R?void 0:null===(p=R.contentAttributes)||void 0===p?void 0:p.url)&&void 0!==k?k:"",title:R.name,active_to:R.visibleTo,active_from:R.visibleFrom,archive:(null===(m=R.contentAttributes)||void 0===m?void 0:m.archive)?1:0,m_updated_at:null!==(L=null===(h=R.contentAttributes)||void 0===h?void 0:null===(_=h.updatedAt)||void 0===_?void 0:_.slice(0,10))&&void 0!==L?L:"",bank_id:Number(null==O?void 0:O.id),bank_name:null!==(A=null==O?void 0:O.name)&&void 0!==A?A:"",bank_url:null!==(I=null==O?void 0:O.url)&&void 0!==I?I:"",legal_name:F,currency_id:Number(null===(x=R.attributes.options)||void 0===x?void 0:null===(b=x[0])||void 0===b?void 0:null===(g=b.currencies)||void 0===g?void 0:null===(f=g[0])||void 0===f?void 0:f.currency),online_application:l(R),interest_rate:o(U,W,R),amount:{...U.amount,from:Y,to:Z},term:{...U.term,from:$,to:G},efficientRate:R.attributes.efficientRate,partial_withdrawal:{...U.partial_withdrawal,has:(0,n.Nx)(B),text:(0,n.UD)(B)},interest_payment:a(U,B),productFeature:null===(y=R.attributes)||void 0===y?void 0:y.productFeature,refill:{comment:"",...U.refill,has:(0,n.u0)(B),text:(0,n.VV)(B)},interest_capitalization:{comment:"",...U.interest_capitalization,has:(0,n.xV)(B),text:(0,n.bh)(B)},preferential_termination:{...U.preferential_termination,has:(0,n.vf)(B),text:(0,n.f1)(B)},type:r(R,B),prolongation:{text:(null==B?void 0:B.prolongations)?"Предусмотрена":"Не предусмотрена"},all_russia:(null===(w=R.contentAttributes)||void 0===w?void 0:w.availableAllRussia)?1:0,custom_regions:null!==(E=null===(N=R.attributes)||void 0===N?void 0:N.regionsData)&&void 0!==E?E:[],multicurrency:(null==B?void 0:B.currencies.length)>1?1:0,finuslugiBonusPromotion:{},fin_exclusive:R.attributes.exclusive?1:0,asSavingAccount:null!==(S=R.attributes.asSavingAccount)&&void 0!==S&&S,promo:!1,floatingRateInformations:R.floatingRateInformations,external:{integrationType:null===(C=R.contentAttributes)||void 0===C?void 0:null===(T=C.integration)||void 0===T?void 0:T.integrationType},options:u(R.attributes.options),attributesComments:null!==(P=null==B?void 0:B.attributesComments)&&void 0!==P?P:[],prolonging:null!==(M=R.attributes.prolonging)&&void 0!==M&&M,bic:d(null===(D=R.contentAttributes)||void 0===D?void 0:D.bic),isLadderDeposit:R.attributes.isLadderDeposit}}},81237:function(t,e,i){"use strict";i.d(e,{I:function(){return l}});var n=i(2265);let l=()=>{let[t,e]=(0,n.useState)();return(0,n.useEffect)(()=>{window&&window.Ya&&window.yaContextCb&&e({ownerId:406293,Ya:window.Ya,yaContextCb:window.yaContextCb})},[]),t}},92317:function(t,e,i){"use strict";i.d(e,{z:function(){return a}});var n=i(21652),l=i.n(n),o=i(2265);function a(t){let{filter:e,showCapitalization:i,showMonthlyPercent:n,showPreferentialTermination:a,showRefill:s,disabled:r=!1}=t,{withCapitalization:d,withMonthlyPercent:u,withPreferentialTermination:c,withRefill:v,handleWithCapitalizationChange:p,handleWithMonthlyPercentChange:m,handleWithPreferentialTerminationChange:_,handleWithRefillChange:h}=e,f=(0,o.useMemo)(()=>({withCapitalization:d,withMonthlyPercent:u,withPreferentialTermination:c,withRefill:v}),[d,u,c,v]),g=(0,o.useRef)(f);(0,o.useEffect)(()=>{if(!r){if(!l()(g.current,f)){g.current=f;return}c&&!a&&_(!1),u&&!n&&m(!1),d&&!i&&p(!1),v&&!s&&h(!1)}},[r,f,p,m,_,h,i,n,a,s,d,u,c,v])}},10102:function(t,e,i){"use strict";i.d(e,{f:function(){return a}});var n=i(2265),l=i(90716);let o=t=>{let{isShort:e}=t;return(0,l.t9)("/money_data/Root.json".concat(e?"?short=1":""))},a=(t,e)=>{let[i,l]=(0,n.useState)({regions:[],town_duplicates:[],region:(null==e?void 0:e.region)||null,town:(null==e?void 0:e.town)||null});return(0,n.useEffect)(()=>{t||(async()=>{let t=await o({isShort:!0});t.data&&l(t.data)})()},[t]),i}},76002:function(t,e,i){"use strict";i.d(e,{f:function(){return o}});var n=i(2265),l=i(72151);function o(t){let{eventCategory:e,eventLabel:i}=t;(0,n.useEffect)(()=>{(0,l.lQ)({event:"data-event",eventAction:"view",eventCategory:e,eventLabel:i})},[])}},25813:function(t){t.exports={filterContainer:"Deposits_filterContainer__UXpE1",sectionWrapper:"Deposits_sectionWrapper__TsXhU",advantages:"Deposits_advantages__7ZAjI",whiteBackground:"Deposits_whiteBackground__k1J2j",grayBackground:"Deposits_grayBackground__8ndmz",mainContainer:"Deposits_mainContainer__ZB24g",quote:"Deposits_quote__0vrSB"}},82180:function(t){t.exports={card:"ComboDepositCard_card__aiaKf",tip:"ComboDepositCard_tip__IU9lJ",title:"ComboDepositCard_title__KLHdM",label:"ComboDepositCard_label__LrZCj",value:"ComboDepositCard_value__cjk6D",infoWrapper:"ComboDepositCard_infoWrapper__YaEeW",infoContent:"ComboDepositCard_infoContent__ZQFSD",comboCardWrapper:"ComboDepositCard_comboCardWrapper__A8Lz7",plus:"ComboDepositCard_plus__rgvBd",button:"ComboDepositCard_button__qvCEQ"}},13889:function(t){t.exports={cardItem:"ComboDepositCardItem_cardItem__WsyyC",cardHeader:"ComboDepositCardItem_cardHeader__swLc6",logo:"ComboDepositCardItem_logo__9wciA",title:"ComboDepositCardItem_title__e5liT",cardContentWrapper:"ComboDepositCardItem_cardContentWrapper__XdG_8",cardContent:"ComboDepositCardItem_cardContent__ecMz4",label:"ComboDepositCardItem_label__vTsOM",value:"ComboDepositCardItem_value__aaZ_V"}},39421:function(t){t.exports={depositTips:"DepositTips_depositTips__wEcXA",visible:"DepositTips_visible__4FTAe",tipContent:"DepositTips_tipContent__4aovv",textContent:"DepositTips_textContent__VVZ76",mobileButton:"DepositTips_mobileButton__aFLlH",desktopButton:"DepositTips_desktopButton__tCqbb",icon:"DepositTips_icon__dAhjP"}},91304:function(t){t.exports={container:"DepositsList_container__JdzB6",title:"DepositsList_title__7dAwJ",disclaimer:"DepositsList_disclaimer__XpcXF",listItem:"DepositsList_listItem__z4ODF",skeleton:"DepositsList_skeleton__JEeth",listTitle:"DepositsList_listTitle__j8kD5",spaced:"DepositsList_spaced__Qz9G8",button:"DepositsList_button__Y4Un_",buttonsRow:"DepositsList_buttonsRow__S01KD",adFox:"DepositsList_adFox__UUPeB",subTitle:"DepositsList_subTitle__oD6TQ",anotherList:"DepositsList_anotherList__xXYKd"}},40482:function(t){t.exports={additionalTips:"AdditionalTipsList_additionalTips__z_e1N",tag:"AdditionalTipsList_tag__OjzTl"}},72798:function(t){t.exports={notification:"Notification_notification__9eoLP",textBlock:"Notification_textBlock__L95fL",title:"Notification_title__3pGiN",caption:"Notification_caption__vEbpd",closeIcon:"Notification_closeIcon__UTaKl"}},2470:function(t){t.exports={notifications:"Notifications_notifications__JTggi"}}},function(t){t.O(0,[1771,3219,6233,779,1488,1142,1302,1201,5256,3982,7389,6746,2273,8138,393,6697,1448,5055,4766,1560,5252,1770,2106,4223,1082,1750,821,2987,5893,2731,4536,3477,4336,440,1273,2925,6281,5501,207,5458,3544,7781,2698,1558,5346,1751,666,4900,3145,923,9335,2938,6795,2541,3963,8914,4923,9442,1196,1281,885,7023,3952,9407,6639,5406,8565,7206,1932,2971,2117,1744],function(){return t(t.s=82491)}),_N_E=t.O()}]);