1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3542],{22579:function(t,a,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/calculator-discounts",function(){return c(40491)}])},40491:function(t,a,c){"use strict";c.r(a),c.d(a,{__N_SSP:function(){return p}});var l=c(85893),o=c(33159),_=c(50281),r=c(30824),u=c(78046),n=c(12374),s=c(67294),e=c(94390),i=c.n(e);let d=()=>{let{profileStore:t}=(0,u.oR)(),a=(0,n.Rg)(t.cityId),[c,e]=(0,s.useState)(""),[d,p]=(0,s.useState)(""),x=()=>{if(c){let t=parseFloat(c);p((t-.1*t).toFixed(2))}},h=t=>{let a=t.target.value.replace(/[^\d,\.]/g,"");e(a)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.h_,{title:"ÐалÑкÑлÑÑÐ¾Ñ Ñкидок",description:"ÐÐ»Ñ Ð¿Ð¾Ð»ÑзоваÑелей daks.by"}),(0,l.jsxs)("section",{className:i().calculator,children:[(0,l.jsx)(_.Heading,{title:"ÐалÑкÑлÑÑÐ¾Ñ Ñкидок",backUrl:"/".concat(a)}),(0,l.jsxs)("div",{className:i().calculator_top,children:[(0,l.jsx)("span",{className:i().calculator_top_text,children:"ÐÑого Ñо Ñкидкой:"}),(0,l.jsx)("span",{className:i().calculator_top_time,children:d})]}),(0,l.jsx)(_.Input,{mix:i().calculator_input,placeholder:"ÐведиÑе ÑÑммÑ",value:c,onChange:h}),(0,l.jsx)(_.Btn.Standart,{disabled:0===c.length,mix:i().calculator_button,onClick:x,children:"ÐоÑÑиÑаÑÑ ÑкидкÑ"}),(0,l.jsxs)("a",{className:i().calculator_link,href:"/".concat(a),children:[(0,l.jsx)("small",{className:i().calculator_link_arrow,children:r.JO.riArrowLeft.default})," ","ÐеÑнÑÑÑÑÑ Ð½Ð° главнÑÑ"]})]})]})};var p=!0;a.default=d},94390:function(t){t.exports={calculator:"calculator-discounts_calculator__iY_BO",calculator_input:"calculator-discounts_calculator_input__2i9q7",calculator_button:"calculator-discounts_calculator_button__mnMbc",calculator_link:"calculator-discounts_calculator_link__DGMdO",calculator_link_arrow:"calculator-discounts_calculator_link_arrow__eaZy6",calculator_top:"calculator-discounts_calculator_top__7f_Pi",calculator_top_text:"calculator-discounts_calculator_top_text__DdR_3",calculator_top_time:"calculator-discounts_calculator_top_time__l6BOj"}}},function(t){t.O(0,[9774,2888,179],function(){return t(t.s=22579)}),_N_E=t.O()}]);
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.