1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78910],{78910:(t,a,e)=>{e.r(a),e.d(a,{default:()=>l});var r=e(95155),i=e(42524);function l(t){let{data:a}=t,e=a.price,l=a.taxRate,o=a.totalPrice,s=Math.max(2*l,15),c=Array.from({length:51},(t,a)=>{let r=s/50*a,i=e*(1+r/100);return{rate:parseFloat(r.toPrecision(6)),total:parseFloat(i.toPrecision(6))}});return(0,r.jsx)(i.A,{lineData:c.map(t=>({x:t.rate,y:t.total})),highlight:{x:parseFloat(l.toPrecision(6)),y:parseFloat(o.toPrecision(6))},xLabel:"Tax Rate (%)",yLabel:"Total Price ($)",ariaLabel:"Sales tax total price chart",includeZeroY:!1,tooltipFormat:t=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:["Tax Rate = ",t.x.toFixed(2),"%"]}),(0,r.jsxs)("div",{children:["Total Price = $",t.y.toFixed(2)]})]})})}}}]);
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.