(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2209],{4464:()=>{},5153:e=>{e.exports={skeletonContainer:"ProfitSkeleton_skeletonContainer__33exZ",visible:"ProfitSkeleton_visible__StSgI",skeleton:"ProfitSkeleton_skeleton___lU6r"}},5551:e=>{e.exports={skeletonContainer:"HeaderSkeleton_skeletonContainer___dhhJ",visible:"HeaderSkeleton_visible__arkXP",skeletonProfit:"HeaderSkeleton_skeletonProfit__PGN7g",skeletonDate:"HeaderSkeleton_skeletonDate__QrnJO"}},6546:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var l=a(18578);function n(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{online_application:a,archive:n,active_to:o}=e,{commercial:s,type:i}=a,r=!o||new Date(o)>=new Date;return(0===n||t)&&r?0===s&&3===i?l.T.isPlatformDeposit:1===s?l.T.isLidgenDeposit:l.T.isNonPlatformDeposit:l.T.isArchiveDeposit}},8561:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l={setItem:(e,t)=>{try{window.localStorage.setItem(e,t)}catch(e){return console.error(e),!1}return!0},getItemRaw:e=>{try{return window.localStorage.getItem(e)}catch(e){return console.error(e),null}},getItem:e=>{let t=l.getItemRaw(e);if(t&&"undefined"!==t)try{return JSON.parse(t)}catch(t){console.warn("invalid object in localStorage by key: ".concat(e))}return null},removeItem:e=>{try{window.localStorage.removeItem(e)}catch(e){console.error(e)}}}},26112:(e,t,a)=>{Promise.resolve().then(a.bind(a,87015)),Promise.resolve().then(a.bind(a,49155)),Promise.resolve().then(a.t.bind(a,41402,23)),Promise.resolve().then(a.bind(a,75937)),Promise.resolve().then(a.bind(a,54991))},30439:e=>{e.exports={wrapper:"ComboDepositConfirm_wrapper__HCmjE",header:"ComboDepositConfirm_header__LENoU",num:"ComboDepositConfirm_num__p1_E5",content:"ComboDepositConfirm_content__d2Cne",tags:"ComboDepositConfirm_tags__k2in8",tag:"ComboDepositConfirm_tag__j3XXf"}},37071:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var l=a(15319),n=a(46828);let o={[n.A.Day]:(e,t)=>(0,l.W)(e,{days:t}),[n.A.Month]:(e,t)=>(0,l.W)(e,{months:t}),[n.A.Year]:(e,t)=>(0,l.W)(e,{years:t})}},40486:(e,t,a)=>{"use strict";a.d(t,{l:()=>d});var l=a(95155),n=a(12115),o=a(2821);a(96732);var s=a(3186),i=a(73122),r=a(58993);a(4464);let c=(0,r.g)("toggle"),u=Object.freeze({toggle:c,wrapper:"".concat(c,"__wrapper"),secondaryLabel:"".concat(c,"__secondary-label"),input:"".concat(c,"__input"),marker:"".concat(c,"__marker"),label:"".concat(c,"__label"),caption:"".concat(c,"__caption"),states:{disabled:"".concat(c,"--disabled"),inverted:"".concat(c,"--inverted"),flipped:"".concat(c,"--flipped"),checked:"".concat(c,"--checked")}}),d=(0,n.forwardRef)((e,t)=>{let{value:a,onChange:r,label:c,secondaryLabel:d,disabled:m=!1,caption:_,inverted:p=!1,flipped:v=!1,className:h,style:g,inputRef:b,dataQa:f,dataId:x,...C}=e,[k,j]=(0,s.u)(null!=a&&a,a),N=(0,n.useId)();return(0,l.jsxs)("label",{className:(0,o.A)(h,u.toggle,{[u.states.disabled]:m,[u.states.inverted]:p,[u.states.flipped]:v,[u.states.checked]:k}),style:g,htmlFor:N,"data-marker-label":"",ref:t,"data-id":x,"data-qa":f,children:[(0,l.jsx)("input",{id:N,role:"switch","aria-checked":k,type:"checkbox",className:u.input,checked:k,onChange:e=>{j(e.target.checked),null==r||r(e.target.checked,e)},disabled:m,ref:b,...C}),(0,l.jsx)("span",{className:u.marker,children:(0,l.jsx)(i.C,{type:"toggle",checked:k,inverted:p,disabled:m})}),c&&d&&(0,l.jsx)("span",{className:u.secondaryLabel,children:d}),c&&(0,l.jsxs)("span",{className:u.wrapper,children:[(0,l.jsx)("span",{className:u.label,children:c}),_&&(0,l.jsx)("span",{className:u.caption,children:_})]})]})});d.displayName="Toggle"},54991:(e,t,a)=>{"use strict";a.d(t,{ComboDepositDetail:()=>ev});var l,n,o=a(95155),s=a(13860),i=a(61126),r=a(12115),c=a(81637),u=a(96918),d=a(31518),m=a(703),_=a(89264),p=a(18578),v=a(76072),h=a(84353),g=a(73522),b=a(233),f=a(19559),x=a(1396),C=a(80228),k=a(1590),j=a(47364),N=a(49017),D=a(46866),A=a(69093),w=a(47304),y=a(67746),T=a.n(y),I=a(2821),S=a(69597),P=a(6546),L=a(69877),E=a(77346),O=a(81109),H=a(84663),R=a(98591),M=a(57772),U=a(40599),q=a(55921);let B=(e,t)=>e.term_from<=t&&t<=e.term_to?0:t<e.term_from?Math.round(e.term_from-t):Math.round(t-e.term_to),V=(e,t,a)=>a.filter(t=>{var a,l;return e>=(null!=(a=t.amount_from)?a:0)&&e<=(null!=(l=t.amount_to)?l:1/0)}).sort((e,a)=>B(e,t)-B(a,t))[0];var Y=a(61383),F=a.n(Y),W=a(53548),z=a(95633),X=a(44548),J=a(72908),K=a(89910),Q=a(73520),Z=a(30439),$=a.n(Z);let G=(0,r.memo)(e=>{let{isAllowed:t,amount:a,term:l,rate:n,num:s,isPrimary:i,onOpen:r}=e;return(0,o.jsxs)(z.m,{className:$().wrapper,children:[(0,o.jsxs)("div",{className:$().header,children:[(0,o.jsx)("div",{className:$().num,children:"Вклад ".concat(s)}),i&&(0,o.jsx)(X.v,{label:"Откройте этот вклад первым",variant:"orange",rounded:!0})]}),(0,o.jsxs)("div",{className:$().content,children:[(0,o.jsxs)("div",{className:$().tags,children:[(0,o.jsx)(X.v,{className:$().tag,label:"Сумма — ".concat((0,K.jq)(a,2),"\xa0₽"),rounded:!0}),(0,o.jsx)(X.v,{className:$().tag,label:"".concat((0,Q.l6)(l.value,J.eV[l.type])," — ").concat((0,K.jq)(n,2),"%"),rounded:!0})]}),(0,o.jsx)(W.$,{label:"Открыть",disabled:!t,onClick:r,size:"xs"})]})]})});G.displayName="ComboDepositConfirm";var ee=a(15239),et=a(52619),ea=a.n(et),el=a(55670),en=a(57835),eo=a.n(en);let es=(0,i.env)("NEXT_PUBLIC_BASE_URL"),ei=(0,r.memo)(e=>{let{bic:t,bankUrl:a,bankName:l,depositName:n}=e;return(0,o.jsxs)("div",{className:eo().wrapper,children:[(0,o.jsx)(ea(),{className:eo().link,href:"".concat(es,"/banki/").concat(a),target:"_self",children:(0,o.jsx)(ee.default,{className:eo().logo,src:(0,el.z)(t),width:40,height:40,alt:"логотип банка"})}),(0,o.jsxs)("div",{className:eo().container,children:[(0,o.jsx)("div",{className:eo().depositName,children:n}),(0,o.jsx)("div",{className:eo().bankName,children:l})]})]})});ei.displayName="ComboDepositHeader";var er=a(76048),ec=a(63195),eu=a.n(ec);let ed=(0,r.memo)(e=>{let{totalAmount:t,averageRate:a,totalProfit:l,maxAmount:n}=e,[i,c]=(0,r.useState)(!1),u=(0,r.useRef)(null),d=(0,r.useRef)(null),_=(0,s.qF)("l"),p=[{label:"Сумма",value:"".concat((0,K.jq)(t,2),"\xa0₽"),id:1},{label:"Средняя ставка",value:"".concat((0,K.jq)(a,2),"%"),id:2},{label:"Общий доход",value:"".concat((0,K.jq)(l,2),"\xa0₽"),id:3}];return(0,o.jsxs)("div",{className:eu().wrapper,children:[(0,o.jsxs)(m.J,{className:eu().paramsContainer,children:[(0,o.jsxs)("div",{className:eu().leftParams,children:[(0,o.jsx)("div",{className:eu().title,children:"Два вклада выгоднее"}),(0,o.jsx)("div",{className:eu().params,children:p.map(e=>{let{label:t,value:a,id:l}=e;return(0,o.jsxs)("div",{className:eu().param,children:[(0,o.jsx)("div",{className:eu().label,children:t}),(0,o.jsx)("div",{className:eu().value,children:a})]},l)})})]}),(0,o.jsxs)("div",{className:(0,I.A)(eu().rightParams,i&&eu().opened),children:[(0,o.jsxs)("div",{className:eu().title,onClick:()=>{if(_)return;let e=!i,t=u.current;t&&(c(e),d.current&&clearTimeout(d.current),e?t.style.whiteSpace="initial":d.current=setTimeout(()=>{t.style.whiteSpace="nowrap"},300))},children:["Почему два вклада, а не один?",!_&&(0,o.jsx)(er.PNJ,{className:eu().icon})]}),(0,o.jsx)("div",{ref:u,className:eu().text,children:"Для того чтобы вы получили максимальный доход, мы предлагаем открыть два вклада.\n              У первого — самая выгодная ставка и есть лимит вложений от банка: ".concat((0,K.um)(n),"\xa0₽.\n              Второй вклад — следующий по выгоде.\n              Если откроете оба, средняя ставка составит ").concat((0,K.jq)(a,2),"%")})]})]}),(0,o.jsxs)(m.J,{className:eu().stepsContainer,children:[(0,o.jsx)("div",{className:eu().title,children:"Как работает комбо?"}),(0,o.jsx)("ol",{className:eu().steps,children:["Откройте первым Вклад 1, чтобы получить максимальную ставку","После того как Вклад 1 откроется, отправьте заявку на Вклад 2","Управляйте вкладами в личном кабинете Финуслуг"].map(e=>(0,o.jsx)("li",{className:eu().step,children:e},e.replace(" ","_")))})]})]})});ed.displayName="ComboHeader";let em=null!=(l=(0,i.env)("NEXT_PUBLIC_MOEX_AD_URI"))?l:"",e_=(0,r.memo)(e=>{var t,a,l,n,i;let{companies:c,deposits:u,comboDeposits:d,questions:_,extraInfos:p,eventCategory:v,bonuses:h,isPlusFiveBonus:C,isOldUser:k,isShowDepositTip:j}=e,N=(0,q.A)(),{asPath:D}=(0,x.T)(),A=(0,s.qF)("l"),[w,y]=(0,r.useState)(!1),[T,B]=(0,r.useState)(!0),[Y,W]=(0,r.useState)([!0,!0]);(0,r.useEffect)(()=>{W(A?[!0,!0]:[!1,!1]),setTimeout(()=>{B(!1)},100)},[A]);let z=(0,r.useCallback)(e=>{W(()=>{let t=[...Y];return t[e]=!t[e],t})},[Y,W]),X=(0,r.useCallback)((e,t,a)=>{var l,n;let o=t.id,s=a.amount,i=a.term.value,r=V(s,(0,b.i)(a.term),t.interest_rate.rates),{urlFirst:c,urlSecond:u}=(0,g.X)({asPath:D,productId:o,amount:s,durationValue:i,optionId:null==r?void 0:r.optionId,firstBaseUrl:em,secondBaseUrl:null==r||null==(l=r.mp)?void 0:l.url,passCombo:!0});window.open(null!=(n=(null==r?void 0:r.optionId)?c:u)?n:t.online_application.url),y(!w),(0,f.oA)({eventCategory:v,eventLabel:"".concat(o,"_").concat(s,"_").concat(null==r?void 0:r.rate),eventAction:"click_vklad".concat(e+1)})},[D,w,v]),J=(e=>{let{opens:t,isAllowed:a,deposits:l,comboDeposits:n,companies:o,extraInfos:s,questions:i,eventCategory:c,scrollOffset:u,isShowDepositTip:d,isDesktop:m,isOldUser:_,isPlusFiveBonus:p,isAnimationDisabled:v,onOpen:h,onCollapseOpen:g}=e;return(0,r.useMemo)(()=>l&&n&&o?[{className:F().left,confirm:{num:1}},{className:F().right,confirm:{isAllowed:a,num:2}}].map((e,a)=>{var r;let f=l[a],x=o[a],C=n.deposits[a],k=s[a];if(!f||!x||!C||!k)return null;let j=C.amount,N=(0,b.i)(C.term),D=V(j,N,f.interest_rate.rates),A=null==(r=f.tags)?void 0:r.find(e=>{let{tag:t}=e;return"disable_promo"===t}),w=C.profit-C.amount,y=C.profit,T=C.rate,I=C.bonusRate;return{...e,id:f.id,header:((e,t)=>{var a,l,n,o;return{bic:e.bic,bankUrl:null!=(a=t.url)?a:"",bankName:null!=(n=null!=(l=t.name)?l:e.bank_name)?n:"",depositName:null!=(o=e.title)?o:""}})(f,x),confirm:{...((e,t,a,l,n)=>({amount:l,isAllowed:!0,term:a.term,rate:a.rate,onOpen:()=>n(e,t,a)}))(a,f,C,j,h),...e.confirm,isPrimary:!!A&&1===e.confirm.num},params:(e=>{let{deposit:t,comboDeposit:a,questions:l,company:n,extraInfo:o,isOldUser:s,isPlusFiveBonus:i,isDesktop:r,eventCategory:c,discount:u,rate:d}=e;return{questions:l,company:n,extraInfo:o,eventCategory:c,isPlusFiveBonus:i,isOldUser:s,discount:u,data:t,isMobile:!r,optionId:null==d?void 0:d.optionId,amount:a.amount,withNewMarkup:!0,isCollapsible:!0,isCombo:!0,isOpened:!r}})({deposit:f,comboDeposit:C,questions:i,company:x,extraInfo:k,isOldUser:_,isPlusFiveBonus:p,isDesktop:m,eventCategory:c,rate:D}),compute:{...(e=>{var t,a,l,n;let{deposit:o,extraInfo:s,isDesktop:i,eventCategory:r,sum:c,term:u,isShowDepositTip:d,scrollOffset:m,discount:_,rate:p,calculatedProfit:v,calculatedTotalProfit:h,calculatedEffectiveRate:g,calculatedBonus:b}=e,f=(null==(t=o.interest_capitalization)?void 0:t.has)===1&&0===o.partial_withdrawal.has&&(null==(a=o.refill)?void 0:a.has)===0,x=(0,R.O)(null==o?void 0:o.currency_id),C=(0,M.A)(o.interest_payment),k="".concat(c,"_").concat(u,"_").concat(null==p?void 0:p.rate,"%_").concat((0,U.y)(o.title),"_").concat((0,U.y)(o.bank_name),"_").concat(o.id),j=(0,P.A)(o)||void 0,[N]=L.g3,[D]=L.rU;return{depositType:j,discount:_,extraInfo:s,isShowDepositTip:d,isCapitalization:f,scrollOffset:m,totalValues:k,eventCategory:r,rate:0,sum:c,term:u,productId:null!=(n=null==p||null==(l=p.mp)?void 0:l.product_id)?n:o.id,isMobile:!i,refillSum:"",percentType:N.value,refillType:D.value,period:(0,E.R)(o).value,unit:x.unit,tags:o.tags,salaryToggle:!1,isHideButtons:!0,paymentFrequency:C,shortChipsList:!1,firstDepositBonusTitle:!1,withChart:!0,hideExternalLinks:!1,withNewMarkup:!0,isEditable:!1,isCombo:!0,calculatedProfit:v,calculatedTotalProfit:h,calculatedEffectiveRate:g,calculatedBonus:b}})({deposit:f,extraInfo:k,isDesktop:m,eventCategory:c,sum:j,term:N,isShowDepositTip:d,scrollOffset:u,rate:D,calculatedProfit:w,calculatedTotalProfit:y,calculatedEffectiveRate:T,calculatedBonus:I}),tag:null==D?void 0:D.tag,computeClassName:F().compute},collapse:{className:F().collapse,isMobile:!m,isMoreVisible:!0,isOpen:t[a],isAnimationDisabled:v,onOpen:()=>g(a)}}}).filter(e=>!!e):[],[t,l,o,i,s,c,a,m,_,p,v,d,u,n,h,g])})({opens:Y,isAllowed:w,deposits:u,comboDeposits:d,companies:c,extraInfos:p,bonuses:h,questions:_,eventCategory:v,scrollOffset:N,isShowDepositTip:j,isDesktop:A,isOldUser:k,isPlusFiveBonus:C,isAnimationDisabled:T,onOpen:X,onCollapseOpen:z});if(!u||!d||!c)return null;let K=null!=(a=d.averageRate)?a:0,Q=null!=(l=d.totalProfit)?l:0,Z=null!=(n=d.deposits.reduce((e,t)=>e+t.amount,0))?n:0,$=null!=(i=null==(t=u.at(0))?void 0:t.amount.to)?i:0;return(0,o.jsxs)(m.J,{className:F().wrapper,children:[(0,o.jsx)(ed,{averageRate:K,totalProfit:Q,totalAmount:Z,maxAmount:$}),J.map(e=>e&&(0,o.jsxs)("div",{className:(0,I.A)(F().combo,e.className),children:[(0,o.jsx)(ei,{...e.header}),(0,o.jsx)(G,{...e.confirm}),(0,o.jsxs)(S.d,{...e.collapse,children:[(0,o.jsx)(O.x,{...e.compute}),(0,o.jsx)(H.e,{...e.params})]})]},e.id))]})});e_.displayName="ComboDepositCalculator";let ep=null!=(n=(0,i.env)("NEXT_PUBLIC_MOEX_AD_URI"))?n:"",ev=e=>{var t;let{stores:a,questions:l,posts:n,postCategories:i,discounts:y,extraInfos:I,eventCategory:S,deposits:P,companies:L,comboDeposits:E,isOldPage:O}=e,{asPath:H}=(0,x.T)(),R=(0,s.qF)("l"),{bonuses:M,isPlusFiveBonus:U,isOldUser:q}=(0,C.s)(y),{region:B,town:Y}=(0,v.N)(),F=(0,j.I)(_.Js),W=(0,k.I)({bannersTitle:[_.UZ.DEPOSITS_DETAIL],queryParams:F,stores:a});(0,r.useEffect)(()=>{(0,f.oA)({eventCategory:S,eventAction:"view_combo_page"})},[]);let z=(0,r.useMemo)(()=>O?"/".concat(h.O.VKLADY_OLD):"/".concat(h.O.VKLADY),[O]),X="/reg_".concat(null==B?void 0:B.url),J="/".concat(null==Y?void 0:Y.url),K=(0,c.oq)(z,"".concat((null==B?void 0:B.url)?X:"").concat((null==Y?void 0:Y.url)?J:"")),Q=P.at(0),Z=null==E?void 0:E.deposits.at(0);if(!Q||!Z)return null;let $=V(Z.amount,(0,b.i)(Z.term),Q.interest_rate.rates),{urlFirst:G,urlSecond:ee}=(0,g.X)({asPath:null!=H?H:"",productId:Q.id,amount:Z.amount,durationValue:Z.term.value,optionId:null==$?void 0:$.optionId,firstBaseUrl:ep,secondBaseUrl:null==$||null==(t=$.mp)?void 0:t.url}),et=(null==$?void 0:$.optionId)?G:ee;return(0,o.jsxs)("main",{className:T().wrapper,children:[(0,o.jsx)(m.J,{children:(0,o.jsx)(u.A,{backwardLabel:"Назад",backwardHref:K})}),(0,o.jsx)(e_,{companies:L,deposits:P,comboDeposits:E,questions:l,extraInfos:I,eventCategory:S,bonuses:M,isPlusFiveBonus:U,isOldUser:q,isShowDepositTip:!q}),!q&&(0,o.jsx)(A.V,{eventCategory:S,productId:String(Q.id),withNewMarkup:!0}),!q&&(0,o.jsx)(N.p,{isMobile:!R,pageType:p.T.isPlatformDeposit,bannerUrl:W[_.UZ.DEPOSITS_DETAIL],appUrl:et,bankUrl:Q.online_application.url,eventCategory:S,productId:String(Q.id)}),(0,o.jsx)(w.l,{productId:String(Q.id),eventCategory:S,basePath:z}),(0,o.jsx)(d.f,{posts:n,categories:i,pageUrl:"combo"}),(0,o.jsx)(D.T,{className:T().disclaimer})]})}},57681:e=>{e.exports={head:"Header_head__lMUs0",title:"Header_title__r4Wa_",result:"Header_result__SKeZv",resultText:"Header_resultText__UbYRQ",resultTextFloat:"Header_resultTextFloat__D5t0r",resultButton:"Header_resultButton__jXHD7",resultIcon:"Header_resultIcon__dJ1wD",chartButton:"Header_chartButton__AmKiY"}},57772:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var l=a(75722);function n(e){let{daily:t,monthly:a}=e;return 1===t?l.A.EveryDay:1===a?l.A.OnceAMonth:l.A.InTheEnd}},57835:e=>{e.exports={wrapper:"ComboDepositHeader_wrapper__eP83d",link:"ComboDepositHeader_link__b7pEo",container:"ComboDepositHeader_container__IH2Pe",depositName:"ComboDepositHeader_depositName__ay492",bankName:"ComboDepositHeader_bankName__pGknq"}},58416:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l={src:"/deposits/_next/static/media/detailed.37f1b990.svg",height:16,width:16,blurWidth:0,blurHeight:0}},61383:e=>{e.exports={wrapper:"ComboDepositCalculator_wrapper__m5vSQ",combo:"ComboDepositCalculator_combo__8YfsV",left:"ComboDepositCalculator_left__Z6XHD",right:"ComboDepositCalculator_right__uULju",collapse:"ComboDepositCalculator_collapse__ImeUT",compute:"ComboDepositCalculator_compute__oFnck"}},62041:e=>{e.exports={values:"ValueList_values__mGunQ",value:"ValueList_value__RRvlg",valueDash:"ValueList_valueDash__mwitD",detail:"ValueList_detail__6tgWx",toggle:"ValueList_toggle__tin7w"}},63195:e=>{e.exports={wrapper:"ComboHeader_wrapper__hja3J",paramsContainer:"ComboHeader_paramsContainer___nzTE",title:"ComboHeader_title__19shK",text:"ComboHeader_text__BJv6p",leftParams:"ComboHeader_leftParams__qYTIc",params:"ComboHeader_params__VIKpd",param:"ComboHeader_param__Vv9ge",label:"ComboHeader_label__2r1S2",value:"ComboHeader_value__9SQv6",rightParams:"ComboHeader_rightParams__kwWlv",opened:"ComboHeader_opened__qVjz1",icon:"ComboHeader_icon__RivRj",stepsContainer:"ComboHeader_stepsContainer__u7AUI",steps:"ComboHeader_steps__0XqkN",step:"ComboHeader_step__h2_fg"}},64296:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var l=a(69868),n=a(74088),o=a(15319),s=a(61521),i=a(98382),r=a(61243),c=a(75722),u=a(46828),d=a(37071);function m(e){let{nPerYear:t,amount:a,rate:l,termInDays:n}=e,o=a*Math.pow(1+l/t,n/365*t)-a;return{profit:o,effectiveRate:o/a/n*36500}}function _(e){let{capitalization:t,paymentFrequency:a,termByYears:l,amount:n,averageRate:o,termInDays:s}=e;if(t){let e=o/100;if(a===c.A.EveryDay){let t=l.reduce((t,a)=>t*Math.pow(1+e/a.daysInYear,a.daysInInterval),n)-n,a=t/n/s*36500;return{profit:t,effectiveRate:a}}if(a===c.A.Weekly)return m({nPerYear:52,termInDays:s,amount:n,rate:e});if(a===c.A.OnceAMonth||a===c.A.InTheEnd)return m({nPerYear:12,termInDays:s,amount:n,rate:e});if(a===c.A.Quarterly)return m({nPerYear:4,termInDays:s,amount:n,rate:e});if(a===c.A.Semiannually)return m({nPerYear:2,termInDays:s,amount:n,rate:e});if(a===c.A.Annually)return m({nPerYear:1,termInDays:s,amount:n,rate:e})}return{profit:l.reduce((e,t)=>e+o/100*n/t.daysInYear*t.daysInInterval,0),effectiveRate:o}}function p(e){let{depositSum:t,term:a,rate:c,isCapitalization:m=!1,discount:p,period:v,paymentFrequency:h,dateStart:g=new Date}=e,b=d.A[v](g,a),f=v===u.A.Day?a:(0,i.m)(b,g),x=function(e,t,a){let c=(0,l.z)({start:e,end:t});return c.reduce((l,u,d)=>{let m=0===d?e:u,_=d===c.length-1?t:(0,n.q)((0,o.W)(m,{days:a}),{start:m,end:(0,o.W)((0,s.Q)(u),{days:1})}),p=(0,i.m)(_,m);return 0===p?l:[...l,{daysInYear:(0,r.S)(u),daysInInterval:p}]},[])}(g,b,f),C={amount:t,paymentFrequency:h,dateEnd:b,dateStart:g,capitalization:m,termByYears:x,termInDays:f,averageRate:c},{profit:k,effectiveRate:j}=_(C),{bonus:N,bonusRate:D}=function(e,t){if(!t||!t.rate)return{bonus:0,bonusRate:0};let a=t.rate;if("fixedBonusAmount"in t&&t.fixedBonusAmount)return{bonus:t.fixedBonusAmount,bonusRate:a};if(!t.sum)return{bonus:0,bonusRate:0};let{profit:l}=_({...e,averageRate:a,capitalization:!1});if(l<t.sum)return{bonus:l,bonusRate:a};let n=t.sum/l;return{bonus:t.sum,bonusRate:a*n}}(C,p);return{total:t+k+N,bonus:N,profit:k,effectiveRate:j,bonusRate:D,endOfTerm:b}}},67746:e=>{e.exports={wrapper:"ComboDepositDetail_wrapper__r9SSq"}},69877:(e,t,a)=>{"use strict";a.d(t,{JM:()=>n,g3:()=>l,rU:()=>o});let l=[{label:"Добавлять ко вкладу (капитализация)",value:"add"},{label:"Выплачивать",value:"dont_add"}],n=[{label:"В конце срока",value:"end"},{label:"Ежедневно",value:"daily"},{label:"Раз в месяц",value:"1"},{label:"Раз в квартал",value:"3"},{label:"Раз в полгода",value:"6"},{label:"Раз в год",value:"12"}],o=[{label:"Не предусмотрено",value:"0"},{label:"Раз в месяц",value:"1"},{label:"Раз в 2 месяца",value:"2"},{label:"Раз в квартал",value:"3"},{label:"Раз в 4 месяца",value:"4"},{label:"Раз в полгода",value:"6"},{label:"Раз в год",value:"12"}]},73522:(e,t,a)=>{"use strict";a.d(t,{X:()=>n});var l=a(15520);function n(e){let{asPath:t,firstBaseUrl:a,productId:n,optionId:s,amount:i,durationValue:r,secondBaseUrl:c,passAggregatorId:u=!1,passCombo:d=!1}=e,{utm_campaign:m,utm_medium:_,utm_source:p,utm_term:v,aggregator_id:h}=(0,l.$)(t,"#"),{partner_id:g}=(0,l.$)(t,"?"),b=u?h:g,f=o(new URL("/add-product",a),{aggregatorId:null!=b?b:"moex-mp-new-sc",productId:n,optionId:s,amount:i,durationValue:r,utm_campaign:m,utm_medium:_,utm_source:p,utm_term:v,...d?{from:"combo"}:null}).toString(),x=c&&o(new URL(c),{amount:i,durationValue:r,utm_campaign:m,utm_medium:_,utm_source:p,utm_term:v,...d?{from:"combo"}:null}).toString();return{urlFirst:f,urlSecond:x}}function o(e,t){let a=new URL(e);return Object.entries(t).forEach(e=>{let[t,l]=e;if(null!=l){if(Array.isArray(l))return l.forEach(e=>a.searchParams.append(t,String(e)));a.searchParams.set(t,String(l))}}),a}},76072:(e,t,a)=>{"use strict";a.d(t,{A:()=>u,N:()=>d});var l=a(95155),n=a(75174),o=a(12115),s=a(8561);let i=(0,o.createContext)(void 0);function r(){}let c={region:s.A.getItem("user_region"),town:s.A.getItem("user_town"),handleToggleModal:r,handleSetRegion:r,handleSetTown:r};function u(e){let{children:t}=e,[a,r]=(0,o.useState)(()=>s.A.getItem("user_region")),[u,d]=(0,o.useState)(()=>s.A.getItem("user_town")),[m,_]=(0,o.useState)(c),p=(0,n.om)(),v=(0,o.useCallback)(()=>{p.handleToggleModal(!0)},[p]),h=(0,o.useCallback)(e=>{m.handleSetRegion(e),r(e),p.selectCity(e,s.A.getItem("user_town"))},[m,p]),g=(0,o.useCallback)(e=>{m.handleSetTown(e),d(e),p.selectCity(s.A.getItem("user_region"),e)},[m,p]);(0,o.useEffect)(()=>{function e(e){r(e.detail.region),d(e.detail.town)}return document.addEventListener("onRegionChange",e),()=>document.removeEventListener("onRegionChange",e)},[]),(0,o.useEffect)(()=>{_(c),void 0!==c.region&&r(c.region),void 0!==c.town&&d(c.town)},[]);let b=(0,o.useMemo)(()=>({region:a,town:u,handleToggleModal:v,handleSetRegion:h,handleSetTown:g}),[h,g,v,a,u]);return(0,l.jsx)(i.Provider,{value:b,children:t})}function d(){let e=(0,o.useContext)(i);if(!e)throw Error("Out of context");return e}},76507:e=>{e.exports={tag:"Tag_tag__F7OOH",tagPrimary:"Tag_tagPrimary__avetL",tagSecondary:"Tag_tagSecondary__RMaKP",tagPink:"Tag_tagPink__YGm7U",tagYellow:"Tag_tagYellow__wh7Mz",text:"Tag_text__nOOMV",detail:"Tag_detail__xPW1b",detailIcon:"Tag_detailIcon__LNOTP"}},80228:(e,t,a)=>{"use strict";a.d(t,{s:()=>i});var l=a(12115),n=a(44154),o=a(95852),s=a(51442);function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=(0,s.OR)(),r=(null==i?void 0:i["auth.gtm_customer_id"])||null,[c]=(0,l.useState)(a&&null!=e?e:[]),[u,d]=(0,l.useState)(!1),[m,_]=(0,l.useState)(!0),[p,v]=(0,l.useState)(!1),[h,g]=(0,l.useState)(t&&!!r);return(0,l.useEffect)(()=>{r&&a&&(g(!0),(0,n.P)(r).then(e=>{let{data:t}=e;(!t||(null==t?void 0:t.features))&&t&&!t.features.includes(o.Q.SHOW_ADDITIONAL_PERCENT_BONUS)&&(_(!1),v(!0),d(!0))}).finally(()=>{g(!1)}))},[r,a]),{customerId:r,isOldUser:p,isPlusFiveBonus:m,isHiddenPromo:u,isDiscountsLoading:h,bonuses:c}}},81109:(e,t,a)=>{"use strict";a.d(t,{x:()=>Z});var l=a(95155);a(57272);var n=a(62876),o=a(53548),s=a(95633),i=a(2821),r=a(12115),c=a(92068),u=a(18578),d=a(20447),m=a(46828),_=a(52065),p=a(5551),v=a.n(p);function h(e){let{loading:t}=e;return(0,l.jsxs)("div",{className:(0,i.A)(v().skeletonContainer,t&&v().visible),children:[(0,l.jsx)(_.E,{className:v().skeletonDate}),(0,l.jsx)(_.E,{className:v().skeletonProfit})]})}var g=a(40486),b=a(52619),f=a.n(b),x=a(41105),C=a(58924),k=a(5153),j=a.n(k);function N(e){let{rowCount:t,loading:a}=e;return(0,l.jsx)("div",{className:(0,i.A)(j().skeletonContainer,a&&j().visible),children:Array.from(Array(t).keys()).map(e=>(0,l.jsx)(_.E,{className:j().skeleton},e))})}var D=a(89910),A=a(19559),w=a(40599),y=a(62041),T=a.n(y);function I(e){var t;let{withNewMarkup:a,rate:n,effectiveRate:o,hideExternalLinks:s,profit:i,unit:c,extraInfo:u,isSavingAccount:d,salaryToggle:m,setSalaryToggle:_,discount:p,bonus:v,firstDepositBonusTitle:h,tipIcon:b,switchRate:k,onSwitchRate:j,isRateSwitched:y,eventCategory:I,productId:S,isCombo:P=!1,isLoading:L}=e,E=(0,r.useCallback)(()=>{j&&(j(!y),(0,A.oA)({event:"data-event",eventAction:"click_button_perekluchit_stavku",eventCategory:I,eventLabel:S}))},[j,y,I,S]),O=(0,r.useCallback)(e=>()=>{(0,A.oA)({event:"data-event",eventAction:"click_link_".concat((0,w.y)(e)),eventCategory:I,eventLabel:S})},[I,S]),H=(0,r.useMemo)(()=>{var e;let t=[{label:"Доход от банка",value:"".concat((0,D.jq)(i,2)," ").concat(c)}];if((null==(e=u.algo)?void 0:e.id)==="mkb-nakop"&&t.push({label:"Открытие дебетовой карты",value:"Да",description:d&&null!=u.karta?u.karta.label:"Открывая счет, Вы соглашаетесь на оформление дебетовой карты банка"},{label:"Действие счета",value:"Бессрочно"},{label:"Зарплата или пенсия на карту МКБ",value:(0,l.jsx)(g.l,{checked:m,className:T().singleToggle,onChange:()=>null==_?void 0:_(!m)}),description:(0,l.jsx)(l.Fragment,{children:"Процентная ставка применяется при условии зачисления заработной платы от юридических лиц и индивидуальных предпринимателей на картсчет Клиента, открытый в Банке или суммы пенсий от Фонда пенсионного и социального страхования Российской Федерации или иных органов (учреждений) на любой счет Клиента, открытый в Банке, поступивших в течение 60 календарных дней до каждой даты начисления процентов по счету."})}),n&&t.unshift({label:"Ставка",value:"".concat((0,D.jq)(n,2),"%")}),o&&t.unshift({label:"Эффективная ставка",value:"".concat((0,D.jq)(o,2),"%"),description:(0,l.jsxs)(l.Fragment,{children:["Иногда у вклада есть особенности — капитализация процентов, возможность пополнения или акция от банка. Дополнительные параметры меняют доход в большую или меньшую сторону, поэтому процент по эффективной ставке отличается от банковской. Он отражает доход корректнее."," ",!s&&(0,l.jsx)(f(),{className:T().tooltipLink,target:"_self",onClick:O("Подробнее о том, как считать сложный процент"),href:"".concat(C.C1,"/navigator/nakopit-i-sohranit/stat_chto_takoe_slozhnyj_procent_po_vkladu_i_kak_ego_poschitat?ysclid=lfmam3zaig67098551%22"),children:"Подробнее о том, как считать сложный процент"})]})}),p&&v){let e=P?"%":" ".concat(c);t.push({label:h?"Бонус за первый вклад":"Бонус от Финуслуг",value:"".concat((0,D.jq)(v,2)).concat(e),description:(null==p?void 0:p.terms)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{children:null==p?void 0:p.terms}),p.link&&p.linkLabel&&(0,l.jsx)("a",{href:p.link,target:"_blank",children:p.linkLabel})]}):null})}return t},[v,p,o,null==(t=u.algo)?void 0:t.id,u.karta,h,O,s,d,i,n,m,_,c,P]),R=!!k&&(null==k?void 0:k.difference)>0,M=R?"+".concat((0,D.jq)(k.difference,1),"% к ставке"):null,U=(0,r.useCallback)(e=>{(0,A.oA)({eventAction:"click_question_".concat((0,w.y)(e)),eventCategory:I,eventLabel:S})},[I,S]);return(0,l.jsxs)("ul",{className:T().values,children:[(0,l.jsx)(N,{loading:L,rowCount:H.length}),H.map(e=>(0,l.jsxs)("li",{className:T().value,children:[(0,l.jsx)("div",{children:e.label}),e.description&&(0,l.jsx)(x.Y,{text:e.description,className:T().detail,onOpen:()=>a&&U(e.label),icon:b}),(0,l.jsx)("div",{className:T().valueDash}),(0,l.jsx)("div",{children:e.value})]},e.label)),R&&M&&(0,l.jsxs)("li",{className:T().value,children:[(0,l.jsx)("div",{children:M}),(0,l.jsx)(x.Y,{text:"При сумме вклада от ".concat((0,D.jq)(k.minAmount)," ₽"),className:T().detail,icon:b,onOpen:()=>a&&U(M)}),(0,l.jsx)(g.l,{onChange:E,checked:y,className:T().toggle})]})]})}var S=a(4678),P=a(51442),L=a(64296),E=a(54319),O=a(1067),H=a(99248),R=a(99778),M=a(15239);let U={src:"/deposits/_next/static/media/edit.c0611721.svg",height:16,width:16,blurWidth:0,blurHeight:0};var q=a(37071),B=a(75241),V=a(91406),Y=a(1421),F=a(57681),W=a.n(F);function z(e){let{term:t,totalProfit:a,withChart:n,isChartOpen:o,isEditable:s=!0,endingDate:i,onEditButtonClick:c,onToggleChart:u}=e,d=(0,D.jq)(a,2).split(","),m=(0,r.useMemo)(()=>i?(0,B.s)(i):function(e){let t=new Date;return(0,B.s)(q.A.day(t,e))}(t),[i,t]);return(0,l.jsxs)("div",{className:W().head,children:[(0,l.jsxs)("h4",{className:W().title,children:["Накопите к ",m]}),(0,l.jsxs)("h5",{className:W().result,children:[(0,l.jsxs)("span",{className:W().resultText,children:[d[0],d[1]?(0,l.jsxs)(l.Fragment,{children:[",",(0,l.jsxs)("span",{className:W().resultTextFloat,children:[d[1]," ₽"]})]}):" ₽"]}),s&&(0,l.jsx)("button",{className:W().resultButton,onClick:c,children:(0,l.jsx)(M.default,{className:W().resultIcon,src:U,alt:"edit"})})]}),n&&(0,l.jsx)(V.O,{onClick:u,className:W().chartButton,icon:o?Y.Q.arrowBack:Y.Q.chart,alt:"chart"})]})}var X=a(88885),J=a.n(X);let K=(0,r.memo)(e=>{let{href:t,id:a,pageType:n,eventCategory:s,withNewMarkup:i,eventLabel:r}=e;return(0,l.jsx)(o.$,{as:"a",className:J().button,target:"_blank",href:t,size:"s",disabled:!t,onClick:()=>{(0,A.oA)({event:"data-event",eventLabel:r,eventCategory:s,eventAction:i?"click_button_open_online":"open_in_bank_product",eventValue:null!=a?a:""})},children:n===u.T.isPlatformDeposit?"Открыть онлайн":"Перейти на сайт банка"})});K.displayName="MainButton";let Q={highlights:null,title:null,description:null,variant:"secondary",primaryAuthProviders:["ALFA","SBER","TINKOFF","VTB","MTS","SOVCOM","PHONE"],additionalAuthProviders:[],extraAuthProviders:[],primaryTextOverride:"Открыть вклад"},Z=(0,r.memo)(e=>{var t,a;let{onEdit:_,isMobile:p,rate:v,sum:g,term:b,tag:f,appUrl:x,discount:C,isRateSwitched:k,onSwitchRate:j,switchRate:N,isCapitalization:D,depositType:y,productId:T,unit:M,tags:U,isSavingAccount:q,extraInfo:B,salaryToggle:V,setSalaryToggle:Y,isShowDepositTip:F,isHideButtons:W=!1,paymentFrequency:X,customActions:Z,shortChipsList:$=!1,firstDepositBonusTitle:G=!1,scrollOffset:ee,computeClassName:et,withChart:ea,tipIcon:el,tagIcon:en,customTagTitle:eo,hideExternalLinks:es=!1,computeHeader:ei,computeTag:er,eventCategory:ec,withNewMarkup:eu,totalValues:ed,isEditable:em=!0,isCombo:e_=!1,calculatedProfit:ep,calculatedTotalProfit:ev,calculatedEffectiveRate:eh,calculatedBonus:eg,integrationType:eb,calculatedEndingDate:ef,isLoading:ex=!1}=e,[eC,ek]=(0,r.useState)(!1),ej=new Date;ej.setDate(ej.getDate()+b);let{total:eN,bonus:eD,effectiveRate:eA,profit:ew}=(0,L.A)({depositSum:g,term:b,rate:v,isCapitalization:D,discount:C,period:m.A.Day,paymentFrequency:X}),ey=ep||ew,eT=ev||eN,eI=eg||eD,eS=function(e){let{integrationType:t}=e,a=(0,r.useMemo)(()=>(0,P.OR)(),[]),l=(null==a?void 0:a["auth.gtm_customer_id"])||null;return"INTERNAL_REFERAL"===t&&!l}({integrationType:eb}),{helpButtonLabel:eP,blockId:eL,isShowMainButton:eE,isShowHelpButton:eO,isOfferText:eH}=(e=>{let{depositType:t,isHideButtons:a,isShowDepositTip:l,isSavingAccount:n}=e,o=t===u.T.isPlatformDeposit?"Как открыть вклад":"Где открыть вклад",s=t===u.T.isPlatformDeposit?"Как открыть накопительный счет":"Где открыть накопительный счет";return{helpButtonLabel:n?s:o,blockId:t===u.T.isPlatformDeposit?S.I7:S.ov,isShowMainButton:!a&&t===u.T.isPlatformDeposit||t===u.T.isLidgenDeposit,isShowHelpButton:t!==u.T.isArchiveDeposit&&l&&!a,isOfferText:t===u.T.isPlatformDeposit||t===u.T.isLidgenDeposit}})({depositType:y,isHideButtons:W,isShowDepositTip:F,isSavingAccount:q}),eR=(0,r.useCallback)(()=>{(0,A.oA)({event:"data-event",eventAction:eu?"click_button_how_to_open":"click_button_".concat((0,w.y)(eP)),eventCategory:ec,eventLabel:T}),(0,E.e)(eL,{offset:ee,position:"top"})},[eL,ec,eP,T,ee,eu]),eM=(0,r.useCallback)(()=>{ek(e=>!e),(0,A.oA)({event:"data-event",eventAction:"click_icon_diagramma",eventCategory:ec,eventLabel:T})},[ec,T]),eU=(0,r.useCallback)(()=>{_&&(_(),(0,A.oA)({event:"data-event",eventAction:eu?"click_pencil":"click_icon_redactirovanie",eventCategory:ec,eventLabel:T}))},[ec,_,T,eu]),eq=(0,r.useCallback)(e=>{(0,A.oA)({eventCategory:ec,eventLabel:T,eventAction:"click_chips_".concat((0,w.y)(e))})},[ec,T]),eB=(0,r.useCallback)(()=>{var e;return f&&f.title?null!=(e=null==er?void 0:er(f))?e:(0,l.jsx)(c.v,{className:J().tag,text:null!=eo?eo:f.title,tooltipText:f.description,tipIcon:en,onTooltipOpen:e=>eu&&eq(e)}):null},[er,eo,eq,f,en,eu]),{widgetConfig:eV,isWidgetDataLoading:eY}=function(e){let{disabled:t}=null!=e?e:{},{data:a,isLoading:l}=(0,H.C)("login-widget",()=>(0,O.g)(d.q.LK_API),{disabled:t});return{widgetConfig:a,isWidgetDataLoading:l}}({disabled:!eS}),eF=(0,r.useCallback)(()=>{if(eE)return eS&&(eV||eY)?(0,l.jsx)(n.S,{entryPointId:"deposit-detail",baseUrl:d.q.LK_URL,s3AssetsUrl:d.q.ASSETS_URL,skeleton:(0,l.jsx)(o.$,{pending:!0,className:J().button,size:"s",label:"Открыть вклад",disabled:!0}),className:(0,i.A)(J().button,J().loginWidget),serverConfig:eV?{...eV,consents:[],legalInfo:null}:void 0,config:Q,scenarioParams:{targetUri:x},isSilent:!0}):(0,l.jsx)(K,{href:x,id:T,pageType:y,eventCategory:ec,withNewMarkup:eu,eventLabel:ed})},[eE,eS,eV,eY,x,T,y,ec,eu,ed]);return(0,l.jsxs)(s.m,{className:(0,i.A)(J().container,eC&&J().containerChart,et),children:[null!=(a=null==ei?void 0:ei(eT,eU))?a:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h,{loading:ex}),(0,l.jsx)(z,{term:b,totalProfit:eT,withChart:ea&&!e_,isChartOpen:eC,isEditable:em,endingDate:ef,onEditButtonClick:eU,onToggleChart:eM})]}),(0,l.jsxs)("div",{className:J().info,children:[(0,l.jsx)(R.i,{isMobile:p,className:(0,i.A)(J().chart,eC&&J().chartVisible),sum:g,bonus:eD,profit:ey}),(0,l.jsxs)("div",{className:J().tags,children:[!$&&(null==U?void 0:U.map(e=>{let{title:t,description:a}=e;return(0,l.jsx)(c.v,{className:J().tag,text:t,tooltipText:a,theme:"pink",onTooltipOpen:eq},t)})),eB(),!$&&(null==(t=B.algo)?void 0:t.id)==="mkb-nakop"&&B.algo.extraTag&&(0,l.jsx)(c.v,{className:J().tag,...B.algo.extraTag,onTooltipOpen:eq})]}),(0,l.jsx)(I,{withNewMarkup:eu,rate:v,effectiveRate:eh||eA,hideExternalLinks:es,profit:ey,unit:M,extraInfo:B,isSavingAccount:q,salaryToggle:V,setSalaryToggle:Y,discount:C,bonus:eI,firstDepositBonusTitle:G,tipIcon:el,switchRate:N,onSwitchRate:j,isRateSwitched:k,eventCategory:ec,productId:T,isCombo:e_,isLoading:ex}),null==Z?void 0:Z(b),eF(),eO&&(0,l.jsx)(o.$,{onClick:eR,className:J().button,size:"s",variant:"secondary",children:eP}),eH&&(0,l.jsx)("h3",{className:J().disclaimer,children:"Предварительный расчет. Не является офертой"})]})]})});Z.displayName="DepositDetailCompute"},88885:e=>{e.exports={container:"DepositDetailCompute_container__wgV0n",containerChart:"DepositDetailCompute_containerChart__QUao0",info:"DepositDetailCompute_info___pqT7",tags:"DepositDetailCompute_tags__Le8d7",tag:"DepositDetailCompute_tag__DV451",button:"DepositDetailCompute_button__qK6jL",loginWidget:"DepositDetailCompute_loginWidget__3hRgV",detailIcon:"DepositDetailCompute_detailIcon__8lmnN",chart:"DepositDetailCompute_chart__S_HP1",chartVisible:"DepositDetailCompute_chartVisible__STX_r",tooltipLink:"DepositDetailCompute_tooltipLink__4gESn",buttonIcon:"DepositDetailCompute_buttonIcon__Zi3GE",disclaimer:"DepositDetailCompute_disclaimer__ZofBY",singleToggle:"DepositDetailCompute_singleToggle__tFiQ1"}},92068:(e,t,a)=>{"use strict";a.d(t,{v:()=>c});var l=a(95155),n=a(2821),o=a(58416),s=a(41105),i=a(76507),r=a.n(i);let c=e=>{let{className:t,text:a,tooltipText:i,theme:c="primary",tipIcon:u,onTooltipOpen:d}=e;return(0,l.jsx)("div",{className:(0,n.A)(r().tag,{[r().tagPrimary]:"primary"===c,[r().tagSecondary]:"secondary"===c,[r().tagPink]:"pink"===c,[r().tagYellow]:"yellow"===c},t),children:i&&(0,l.jsx)(s.Y,{className:r().detail,iconSrc:o.A,text:i,iconClassName:r().detailIcon,icon:u,onOpen:()=>null==d?void 0:d(a),children:(0,l.jsx)("span",{className:r().text,children:a})})})}},99248:(e,t,a)=>{"use strict";a.d(t,{C:()=>s});var l=a(13860),n=a(12115),o=a(46799);function s(e,t,a){let{disabled:s=!1,separateLoaders:i=!1,ssrLoader:r=!1,...c}=null!=a?a:{},u=(0,l.qK)(),d=(0,o.Ay)(s?null:e,t,{revalidateOnFocus:!1,...c}),{isLoading:m,isValidating:_}=d,p=m||!!r&&!u&&!s,v=p||_;return(0,n.useMemo)(()=>({...d,isLoading:i?p:v,isValidating:i?_:v}),[v,p,_,i,d])}}},e=>{e.O(0,[2545,4653,25,6373,6850,5239,5854,495,6799,3116,635,1521,3151,2876,4353,6272,1884,8692,8441,1255,7358],()=>e(e.s=26112)),_N_E=e.O()}]);