1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e14461a5-5c2b-403e-a826-58fe792b19ec",t._sentryDebugIdIdentifier="sentry-dbid-e14461a5-5c2b-403e-a826-58fe792b19ec")}()}catch(t){}!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpb":!0})}(),("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"6f4f1cf6ea1ccca0f0421e130d7ade767db4cf5d"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35936,48048,48448],{3243:t=>{t.exports={root:"CalculatorActions_root__ZGUTd",root__cell:"CalculatorActions_root__cell__YCxOp",shimmer:"CalculatorActions_shimmer__limPN",t
1imerRotateRight:"CalculatorActions_timerRotateRight__Ixi0v",timerRotateLeft:"CalculatorActions_timerRotateLeft__IDKhd"}},6557:t=>{t.exports={root:"ToggleButton_root__Ov2HX",wrapper:"ToggleButton_wrapper__hcQRV",block:"ToggleButton_block__DxAZZ",disabled:"ToggleButton_disabled__tNvH2",shimmer:"ToggleButton_shimmer__YwyeQ",timerRotateRight:"ToggleButton_timerRotateRight__bpsN3",timerRotateLeft:"ToggleButton_timerRotateLeft__pXp79"}},13294:(t,e,l)=>{"use strict";l.d(e,{A:()=>c});var a=l(37876),r=l(58103),o=l.n(r),n=l(91521),i=l(71015),s=l.n(i);let c=t=>{let{description:e="",classes:l={}}=t;return e?(0,a.jsx)("div",{className:o()(s().root,null==l?void 0:l.root),children:(0,a.jsx)(n.A,{html:e})}):null}},14942:(t,e,l)=>{"use strict";l.d(e,{A:()=>a});let a=t=>t.toString().replace(/\./g,",")},17332:t=>{t.exports={root:"CalculatorBaseWrapper_root__TAB_o",vertical:"CalculatorBaseWrapper_vertical__AQlNi",default:"CalculatorBaseWrapper_default__VsB_x",reset:"CalculatorBaseWrapper_reset__dO117",shimmer:"CalculatorBaseWrapper_shimmer__frMYh",timerRotateRight:"CalculatorBaseWrapper_timerRotateRight__cZ9uy",timerRotateLeft:"CalculatorBaseWrapper_timerRotateLeft__yaF4F"}},24389:t=>{t.exports={root:"CalculatorColumn_root__CwlD8",default:"CalculatorColumn_default__zUuch",equal:"CalculatorColumn_equal__2iOJl",sticky:"CalculatorColumn_sticky___5LQp",reset:"CalculatorColumn_reset__7HQVE",single:"CalculatorColumn_single__gw7Ty",shimmer:"CalculatorColumn_shimmer__db4JY",timerRotateRight:"CalculatorColumn_timerRotateRight__8PTpJ",timerRotateLeft:"CalculatorColumn_timerRotateLeft__mqZUc"}},27442:(t,e,l)=>{"use strict";l.d(e,{A:()=>s});var a=l(37876),r=l(58103),o=l.n(r),n=l(70725),i=l.n(n);let s=t=>{let{title:e="",subtitle:l="",children:r,isHidden:n=!1,classes:s,onClick:c=()=>{},isUnderlineTitle:u,isContentGap:_=!0}=t;return(0,a.jsxs)("div",{className:o()(i().root,null==s?void 0:s.root,{[i().hidden]:n}),children:[e&&(0,a.jsx)("div",{onClick:c,children:(0,a.jsx)("div",{className:o()(i().root__title,null==s?void 0:s.title,{[i().underline]:u}),children:e})}),l&&(0,a.jsx)("p",{className:o()(i().root__subtitle,null==s?void 0:s.subtitle),children:l}),(0,a.jsx)("div",{className:o()(i().root__content,null==s?void 0:s.content,{[i().gap]:_,[i().untitled]:!e&&!l}),children:r})]})}},29659:(t,e,l)=>{"use strict";l.d(e,{A:()=>_});var a=l(37876),r=l(89482),o=l(55753);let n=/calc_orderbutton|calc_infobutton|calcbutton|infobutton/,i=function(t,e){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=l?e:(t=>{var e;switch(t){case"open_an_account_calculator":return"open_an_account_calculator";case"main":return"maincalc_orderbutton";case"additional":return"maincalc_infobutton";case null==(e=t.match(n))?void 0:e.input:return t;default:return null}})(e);(0,o.zq)({event:"formevent",eventCategory:(t=>{var e;switch(t){case"open_an_account_calculator":return"clicks";case null==(e=t.match(n))?void 0:e.input:return"forms";default:return"ux_forms"}})(e),eventAction:t,eventLabel:a})};var s=l(21810),c=l(3243),u=l.n(c);let _=t=>{let{button:e,buttonClasses:l={},additionalButton:o=null,addButtonClasses:n={},queryData:c={},buttonClickHandle:_,addButtonClickHandle:d,gtmActionTypes:m={main:"main",additional:"additional",labelWithoutTypeChecking:!1},actionsGTM:f}=t,h=(0,r.useCallback)(()=>{var t,l,a,r,o;let n=null!=(r=null!=(a=null==f||null==(t=f.main)?void 0:t.eventAction)?a:null==e?void 0:e.eventAction)?r:"";i(n,null!=(o=null==f||null==(l=f.main)?void 0:l.eventLabel)?o:m.main,!f&&m.labelWithoutTypeChecking),_&&_()},[null==e?void 0:e.eventAction,_,m.main]),v=(0,r.useCallback)(()=>{var t,e,l,a,r;let n=null!=(a=null!=(l=null==f||null==(t=f.additional)?void 0:t.eventAction)?l:null==o?void 0:o.eventAction)?a:"";i(n,null!=(r=null==f||null==(e=f.additional)?void 0:e.eventLabel)?r:m.additional,!f&&m.labelWithoutTypeChecking),d&&d()},[null==o?void 0:o.eventAction,d,m.additional]),C=(0,r.useMemo)(()=>{if((null==e?void 0:e.href)&&!(null==e?void 0:e.href.startsWith("#"))){let t=Object.keys(c).length?"?".concat(new URLSearchParams(c).toString()):"",l="",a=null==e?void 0:e.href.replace(/#.+/,t=>(l=t,""));return"".concat(a).concat(t).concat(l)}return null==e?void 0:e.href},[c]);
1return(0,a.jsxs)("div",{className:u().root,"data-test-id":"calculator-action-buttons",children:[e&&(0,a.jsx)("div",{className:u().root__cell,children:(0,a.jsx)(s.default,{href:C,target:null==e?void 0:e.target,size:"lg",block:!0,onClick:h,classes:l,"data-calc-action-btn":!0,children:null==e?void 0:e.name})}),o&&(0,a.jsx)("div",{className:u().root__cell,children:(0,a.jsx)(s.default,{href:null==o?void 0:o.href,target:null==o?void 0:o.target,variant:"tertiary",size:"lg",block:!0,onClick:v,classes:n,children:null==o?void 0:o.name})})]})}},31324:(t,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>M});var a=l(46045),r=l(16690),o=l(37876),n=l(89482),i=l(61609),s=l(14942),c=function(t){return t.newClientFirst="increase_ids_new_client_first_period",t.oldClientFirst="increase_ids_old_client_first_period",t.newClient="increase_ids_new_client",t.oldClient="increase_ids_old_client",t}({});let u=(t,e,l)=>{let a=l.filter(t=>t.isHidden&&t.isChecked),r=l.filter(t=>t.isChecked&&!t.isHidden);if(0===r.length)return e+Number((null==a?void 0:a.reduce((e,l)=>{var a;return(null==(a=l.types)?void 0:a.includes(t))?e+Number(null==l?void 0:l.value):e},0))||0);if(1===r.length){var o;let l=a.filter(e=>{var l;return null==(l=e.types)?void 0:l.includes(t)}),n=l.filter(t=>{var e;return null==(e=t.conflictIds)?void 0:e.some(t=>t===r[0].entityId)}),i=null==(o=r[0].types)?void 0:o.includes(t);if(l.length){if(n.length)return e+n.reduce((t,e)=>t+Number(e.value),0);let t=l.reduce((t,e)=>t+Number(e.value),0);return i?e+t+Number(r[0].value):e+t}return i?e+Number(r[0].value):e}let n=r.filter(e=>{var l;return null==(l=e.types)?void 0:l.includes(t)}),i=n.reduce((t,e)=>{var l;return(null==(l=e.conflictIds)?void 0:l.length)?[...t,...e.conflictIds]:t},[]),s=a.filter(e=>{var l;return null==(l=e.types)?void 0:l.includes(t)});if(s.length){let t=a.map(t=>t.conflictIds);return e+[...n,...s].reduce((e,l)=>[...i,...t].includes(null==l?void 0:l.entityId)?e:e+Number(l.value),0)}return(null==i?void 0:i.length)?e+n.reduce((t,e)=>i.includes(null==e?void 0:e.entityId)?t:t+Number(e.value),0):e+n.reduce((t,e)=>t+Number(e.value),0)};var _=l(68946),d=l(49470),m=l(71394),f=l(54592),h=l(99921);let v=(t,e)=>{if(0===t.length)return[];let l=t.find(t=>!0===t.currencyActive),o=[];if(null==l?void 0:l.options){let t=Object.entries(l.options).reduce((t,e)=>[...t,...e[1].map(t=>(0,r._)((0,a._)({},t),{type:e[0]}))],[]);if(t.length){let l=t.map(e=>(0,r._)((0,a._)({},e),{types:t.reduce((t,l)=>l.entityId===e.entityId&&l.isHidden===e.isHidden?[...t,l.type]:t,[]),entityId:e.isHidden?"".concat(e.entityId,"_").concat(e.id):e.entityId})).reduce((t,e)=>t.find(t=>{var l;return t.entityId===e.entityId&&(null==(l=t.types)?void 0:l.includes(e.type))})?t:[...t,e],[]);if(e){let t=(0,f.A)(e);l=(0,h.A)(l,t.discounts)}o=[...l]}}return o},C=t=>({setDiscounts:e=>(0,r._)((0,a._)({},t),{options:e}),setCurrencyActive:(e,l)=>(0,r._)((0,a._)({},t),{data:t.data.map(t=>t.id===e.id?(0,r._)((0,a._)({},t),{currencyActive:!0}):(0,r._)((0,a._)({},t),{currencyActive:!1})),activeCurrency:e,rate:e.value,options:v([(0,r._)((0,a._)({},e),{currencyActive:!0})],l)})});var p=l(43470),g=l(97552),b=l(98769),A=l(34804),y=l(48594),x=l(50575),w=l(42456),N=l(29659),R=l(13294),j=l(58103),B=l.n(j),k=l(78134),T=l(40802),L=l(77555),S=l.n(L);let F=t=>{let{rates:e,maxRate:l,firstPeriodLabel:a,secondPeriodLabel:r,tooltipCustomer:n,tooltipNotCustomer:i}=t;return(0,o.jsxs)("div",{className:S().root,children:[(0,o.jsxs)("div",{className:S().root__headers,children:[(0,o.jsx)("span",{children:"ÐеÑиод"}),(0,o.jsx)(T.A,{content:i,children:(0,o.jsx)("span",{className:S().root__tooltip,children:"ÐÐµÑ ÑÑеÑа"})}),(0,o.jsx)(T.A,{content:n,children:(0,o.jsx)("span",{className:S().root__tooltip,children:"ÐÑÑÑ ÑÑеÑ"})})]}),(0,o.jsxs)("div",{className:S().root__rates,children:[(0,o.jsx)("span",{className:S().root__months,children:a}),(0,o.jsx)("span",{"data-test-state-max-rate":e.newClientFirst===l,className:B()(S().root__rate,S().new_rate,{[S().max_rate]:e.newClientFirst===l}),children:(0,o.jsx)(k.A,{value:e.newClientFirst,suffix:"%",getValueFormat:s.A})}),(0,o.jsx)("span",{"data-test-id":"account-base-calc-table-old-rate","data-test-state-max-rate":e.newClientFirst===l,className:B()(S().root__rate,S().old_rate,{[S().max_rate]:e.oldClientFirst===l}),children:(0,o.jsx)(k.A,{value:e.oldClientFirst,suffix:"%",getValueFormat:s.A})})]}),(0,o.jsxs)("div",{className:S().root__rates,children:[(0,o.jsx)("span",{className:S().root__months,children:r}),(0,o.jsx)("span",{"data-test-id":"account-base-calc-table-new-rate",className:B()(S().root__rate,S().new_rate,{[S().max_rate]:e.newClient===l}),children:(0,o.jsx)(k.A,{value:e.newClient,suffix:"%",getValueFormat:s.A})}),(0,o.jsx)("span",{className:B()(S().root__rate,S().old_rate,{[S().max_rate]:e.oldClient===l}),children:(0,o.jsx)(k.A,{value:e.oldClient,suffix:"%",getValueFormat:s.A})})]})]})};var I=l(70945),D=l.n(I);let M=t=>{var e,l;let{block:j,code:B}=t,k=(0,n.useMemo)(()=>(t=>({data:t.data,activeCurrency:t.data.find(t=>!0===t.currencyActive),rate:t.data[0].value,options:v(t.data)}))(j),[j]),[T,L]=(0,i.A)(C,k),{discountsStorage:S}=((t,e,l)=>{let o=(0,n.useMemo)(()=>{let o=(0,f.A)(t),n=o.discounts||[],{discounts:i}=l,s=(0,_._)(l,["discounts"]);return(0,r._)((0,a._)({},o),{[e]:s,discounts:(0,m.A)(i,n)})},[l.discounts]),i=(0,d.A)(t,o);return{discountsStorage:(null==i?void 0:i.discounts)||[]}})(B,(null==T||null==(e=T.activeCurrency)?void 0:e.currencyName)||"",{discounts:null==T?void 0:T.options}),I=(0,n.useCallback)(t=>{let e=T.data.find(e=>e.id===t);L.setCurrencyActive(e,j.hash)},[T.data]);(0,n.useEffect)(()=>{var t;(null==(t=T.activeCurrency)?void 0:t.options)&&L.setDiscounts((0,h.A)(T.options,S))},[T.activeCurrency]);let M=(0,n.useMemo)(()=>T.options.reduce((t,e)=>(0,r._)((0,a._)({},t),{[e.entityId]:e}),{}),[T.activeCurrency]),O=(0,n.useMemo)(()=>{var t;let e=null==T||null==(t=T.options)?void 0:t.filter(t=>t.isChecked&&!t.isHidden);return e.length?"calc_orderbutton_".concat(e.map(t=>t.code).join("_")):"calc_orderbutton"},[T.options]),E=(0,n.useMemo)(()=>((t,e)=>({newClientFirst:u(c.newClientFirst,t,e),oldClientFirst:u(c.oldClientFirst,t,e),newClient:u(c.newClient,t,e),oldClient:u(c.oldClient,t,e)}))(Number(T.rate),T.options),[T.options,T.options.length]),W=(0,n.useMemo)(()=>{let t=Object.values(E),e=t.sort((t,e)=>e-t)[0];return t.filter(t=>t===e).length>1?null:e},[T.options,T.options.length,E]);return(0,o.jsx)(y.A,{className:D().root__wrapper,children:(0,o.jsxs)("div",{className:D().root,children:[!!j.title&&(0,o.jsx)("h2",{className:D().root__title,children:j.title}),(0,o.jsxs)(y.A,{children:[(0,o.jsx)(x.A,{children:(0,o.jsxs)(w.A,{variant:"md",children:[(0,o.jsxs)("h3",{className:D().root__info_title,children:["ÐÐ°Ð·Ð¾Ð²Ð°Ñ ÑÑавка по накопиÑелÑÐ½Ð¾Ð¼Ñ ÑÑеÑÑ"," ",(0,o.jsxs)("span",{className:D().root__info_rate,children:[(0,s.A)(Number(T.rate)),"%"]})]}),j.subtitle&&(0,o.jsx)("span",{className:D().root__info_subtitle,children:j.subtitle}),!!j.data.length&&(0,o.jsx)(g.A,{onChange:I,value:T.activeCurrency.id,children:j.data.map(t=>(0,o.jsx)(p.A,{value:t.id,children:t.currencyDeclDescription},t.id))}),(null==j?void 0:j.informer)&&(0,o.jsx)(b.A,{info:j.informer}),!!(null==(l=T.options)?void 0:l.length)&&(0,o.jsx)(A.A,{title:"Ðадбавки к базовой ÑÑавке",discounts:T.options,discountData:M,setDiscounts:L.setDiscounts,isRateShow:!0})]})}),(0,o.jsxs)(x.A,{className:D().root__column,isSticky:!0,children:[(0,o.jsx)(F,{rates:E,maxRate:W,firstPeriodLabel:j.firstPeriodLabel,secondPeriodLabel:j.secondPeriodLabel,tooltipCustomer:j.tooltipCustomer,tooltipNotCustomer:j.tooltipNotCustomer}),!!j.button&&(0,o.jsx)(N.A,{button:j.button,additionalButton:null==j?void 0:j.additionalButton,gtmActionTypes:{main:O,additional:"calc_infobutton"}}),!!(null==j?void 0:j.disclaimer)&&(0,o.jsx)(R.A,{description:j.disclaimer})]})]})]})})}},42456:(t,e,l)=>{"use strict";l.d(e,{A:()=>s});var a=l(37876),r=l(58103),o=l.n(r),n=l(43094),i=l.n(n);let s=t=>{let{children:e,variant:l="sm",className:r="",isGap:n=!0,onClick:s=()=>{}}=t;return(0,a.jsx)("div",{className:o()(i().root,i()[l],r,{[i().gap]:n}),onClick:s,children:e})}},43094:t=>{t.exports={root:"CalculatorContentCard_root__e6hP4",gap:"CalculatorContentCard_gap__JK0d0",sm:"CalculatorContentCard_sm__3jvQm",md:"CalculatorContentCard_md__Vn8kG",reset:"CalculatorContentCard_reset__ueYyR",shimmer:"CalculatorContentCard_shimmer__B4yEe",timerRotateRight:"CalculatorContentCard_timerRotateRight__kC_vW",timerRotateLeft:"CalculatorContentCard_timerRotateLeft__P47jz"}},48048:(t,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>n});var a=l(23624),r=l(41235),o=l(99109);function n(t,e){(0,o.A)(2,arguments);var l=(0,r.default)(t),n=(0,a.A)(e);return isNaN(n)?new Date(NaN):(n&&l.setDate(l.getDate()+n),l)}},48594:(t,e,l)=>{"use strict";l.d(e,{A:()=>s});var a=l(37876),r=l(58103),o=l.n(r),n=l(17332),i=l.n(n);let s=t=>{let{children:e,className:l="",variant:r="default"}=t;return(0,a.jsx)("div",{className:o()(i().root,i()[r],l),"data-test-id":"
1calculator",children:e})}},50575:(t,e,l)=>{"use strict";l.d(e,{A:()=>s});var a=l(37876),r=l(58103),o=l.n(r),n=l(24389),i=l.n(n);let s=t=>{let{children:e,isSticky:l=!1,variant:r="default",className:n=""}=t;return(0,a.jsx)("div",{className:o()(i().root,i()[r],n,{[i().sticky]:l}),"data-test-id":"calculator-column",children:e})}},70725:t=>{t.exports={root:"CalculatorBlock_root__d_FFc",hidden:"CalculatorBlock_hidden__khmkL",root__title:"CalculatorBlock_root__title__OPGwQ",root__subtitle:"CalculatorBlock_root__subtitle__AT5AX",root__content:"CalculatorBlock_root__content__PzYIM",gap:"CalculatorBlock_gap__1nGg0",untitled:"CalculatorBlock_untitled__WT90u",underline:"CalculatorBlock_underline__Xh7wq",shimmer:"CalculatorBlock_shimmer__DB5Wx",timerRotateRight:"CalculatorBlock_timerRotateRight__utwe3",timerRotateLeft:"CalculatorBlock_timerRotateLeft__Sd_Cx"}},70945:t=>{t.exports={root:"AccountBaseCalc_root__nVlOF",root__title:"AccountBaseCalc_root__title__PJpv6",root__info_title:"AccountBaseCalc_root__info_title__sqhTU",root__info_subtitle:"AccountBaseCalc_root__info_subtitle__7SSyK",root__info_rate:"AccountBaseCalc_root__info_rate__2SiuW",root__wrapper:"AccountBaseCalc_root__wrapper__UPXWv",shimmer:"AccountBaseCalc_shimmer__AEQO9",timerRotateRight:"AccountBaseCalc_timerRotateRight__vAtYA",timerRotateLeft:"AccountBaseCalc_timerRotateLeft__pgV_B"}},71015:t=>{t.exports={root:"CalculatorDescription_root__SeHgK",shimmer:"CalculatorDescription_shimmer__6nv6r",timerRotateRight:"CalculatorDescription_timerRotateRight__EDaMi",timerRotateLeft:"CalculatorDescription_timerRotateLeft___scNt"}},76605:(t,e,l)=>{"use strict";var a=l(89482),r=l(98159);e.A=function(t,e,l){if(!r.isBrowser)return[e,r.noop,r.noop];if(!t)throw Error("useLocalStorage key may not be falsy");var o=l?l.raw?function(t){return t}:l.deserializer:JSON.parse,n=a.useRef(function(t){try{var a=l?l.raw?String:l.serializer:JSON.stringify,r=localStorage.getItem(t);if(null!==r)return o(r);return e&&localStorage.setItem(t,a(e)),e}catch(t){return e}}),i=a.useState(function(){return n.current(t)}),s=i[0],c=i[1];a.useLayoutEffect(function(){return c(n.current(t))},[t]);var u=a.useCallback(function(e){try{var a="function"==typeof e?e(s):e;if(void 0===a)return;var r=void 0;r=l?l.raw?"string"==typeof a?a:JSON.stringify(a):l.serializer?l.serializer(a):JSON.stringify(a):JSON.stringify(a),localStorage.setItem(t,r),c(o(r))}catch(t){}},[t,c]);return[s,u,a.useCallback(function(){try{localStorage.removeItem(t),c(void 0)}catch(t){}},[t,c])]}},77555:t=>{t.exports={root:"AccountBaseCalcTable_root__vOYyU",root__tooltip:"AccountBaseCalcTable_root__tooltip__XBLSa",root__headers:"AccountBaseCalcTable_root__headers__jEAhg",root__rates:"AccountBaseCalcTable_root__rates__fgMZ6",root__months:"AccountBaseCalcTable_root__months__yF4B4",root__rate:"AccountBaseCalcTable_root__rate__tbgr5",max_rate:"AccountBaseCalcTable_max_rate__K9TOr",new_rate:"AccountBaseCalcTable_new_rate__xZ6Lg",old_rate:"AccountBaseCalcTable_old_rate__t4Y7R",shimmer:"AccountBaseCalcTable_shimmer__VJY_S",timerRotateRight:"AccountBaseCalcTable_timerRotateRight__kbGm5",timerRotateLeft:"AccountBaseCalcTable_timerRotateLeft__UaxHb"}},78134:(t,e,l)=>{"use strict";l.d(e,{A:()=>c});var a=l(37876),r=l(89482),o=l(79638);let n=function(t,e){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return String(t).match(l?/\d+\.\d{2}/g:/\d+\.\d{1}/g)||String(e).match(l?/\d+\.\d{2}/g:/\d+\.\d{1}/g)},i=(t,e)=>0===e?parseInt(t.toFixed(e),10):parseFloat(t.toFixed(e)),s=function(t,e,l,a){if(0===a)t(l);else{let r=null,o=s=>{r||(r=s);let c=1,u=0;(String(e).match(/./g)||String(l).match(/./g))&&(n(e,l)&&(c=10,u=1),n(e,l,!0)&&(c=100,u=2));let _=Math.min((s-r)/a,1),d=Math.floor((e<l?l-e:e-l)*c*_);e<l&&t(i((e*c+d)/c,u)),e>l&&t(i((e*c-d)/c,u)),window.requestAnimationFrame(o),_>=1&&t(l)};window.requestAnimationFrame(o)}},c=t=>{let{value:e,suffix:l="",getValueFormat:n=t=>String(t),duration:i=300}=t,[c,u]=(0,r.useState)(e),[_,d]=(0,r.useState)(e);return(0,o.A)(()=>{s(d,c,e,i),u(e)},200*(0!==i),[e]),(0,a.jsx)(a.Fragment,{children:"".concat(n(_)).concat(l)})}},80026:(t,e,l)=>{"use strict";l.d(e,{A:()=>
1o});var a=l(41235),r=l(99109);function o(t,e){(0,r.A)(2,arguments);var l=(0,a.default)(t),o=(0,a.default)(e),n=l.getTime()-o.getTime();return n<0?-1:n>0?1:n}},87760:(t,e,l)=>{"use strict";l.d(e,{A:()=>d});var a=l(46045),r=l(68946),o=l(37876),n=l(89482),i=l(58103),s=l.n(i),c=l(31956),u=l(6557),_=l.n(u);let d=t=>{var{onToggle:e,onChange:l,isChecked:i=!1,isBlock:u=!1,isDisabled:d=!1,label:m,addon:f=null,labelAddon:h=null,description:v=null,classes:C={},size:p="L"}=t,g=(0,r._)(t,["onToggle","onChange","isChecked","isBlock","isDisabled","label","addon","labelAddon","description","classes","size"]);let b=(0,n.useCallback)(t=>{(" "===t.key||"Enter"===t.key)&&e(t)},[e]),A=(0,n.useCallback)((t,a)=>{null==l||l(a),e(a)},[l,e]);return(0,o.jsxs)("div",{className:s()(_().root,C.root,{[_().disabled]:d,[_().block]:u}),children:[(0,o.jsx)(c.dO,(0,a._)({className:s()(_().wrapper,C.wrapper),label:m,description:v,addons:h,isChecked:i,isDisabled:d,onChange:A,onKeyUp:b,size:p},g)),f]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.