1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1183],{34957:(t,a,e)=>{"use strict";e.a(t,async(t,s)=>{try{e.d(a,{Q:()=>h});var l=e(95155),r=e(46433),n=e(42048),o=e(12115),i=e(12492),u=e(88965),c=e(77710),d=e(17501),m=t([u,c]);[u,c]=m.then?(await m)():m;let h=({currentMonthlyPremium:t,data:a})=>{let{t:e}=(0,i.Bd)("components"),s=(0,o.useMemo)(()=>({title:"",orientation:r.l.Vertical,format:n.$.PERCENTAGE,fractionDigits:1,disableDataValuesSorting:!0,disableHighlightSorting:!0,showDisclaimer:!1,data:a,colorStyle:r.J.Solid}),[a]);if(!a||0===a.length)return null;let m=a.find(t=>t.highlight)?.key,h={palette:{colorScheme:"light"},chart:{height:320},tooltip:{enabled:!0,useHTML:!0,outside:!1,formatter:function(){let a=String(this.key);return m===a?e("AutoInsuranceCalculator.results.priceDistributionChart.barTooltipHighlighted",{monthlyCost:t}):e("AutoInsuranceCalculator.results.priceDistributionChart.barTooltip",{monthlyCost:a})}},yAxis:{title:{text:e("AutoInsuranceCalculator.results.priceDistributionChart.yAxisTitle")}},xAxis:{labels:{align:"center",allowOverlap:!1,autoRotation:[0,20],distance:5},title:{text:e("AutoInsuranceCalculator.results.priceDistributionChart.xAxisTitle")}},series:[{dataLabels:{enabled:!1}}]};return(0,l.jsx)(d.LazyBarChart,{data:s,rawOptionsOverride:h,fallback:(0,l.jsx)(c.DataTableRendererBase,{dataTable:{dataTableJson:(0,u.b5)(s)},dynamicDataTableConfiguration:{showAsChart:!1,disableSorting:!0}})})};s()}catch(t){s(t)}})},46433:(t,a,e)=>{"use strict";e.d(a,{J:()=>n,l:()=>r});var s,l,r=((s={}).Horizontal="horizontal",s.Vertical="vertical",s),n=((l={}).Gradient="gradient",l.Solid="solid",l)},55925:t=>{t.exports={resultsPanel:"CalculatorResultArea_resultsPanel___SC0X",estimatedRateBox:"CalculatorResultArea_estimatedRateBox__sgJ98",rate:"CalculatorResultArea_rate__uJ8MG",savingsSummary:"CalculatorResultArea_savingsSummary__BkQwH"}},71183:(t,a,e)=>{"use strict";e.a(t,async(t,s)=>{try{e.r(a),e.d(a,{CalculatorResultArea:()=>y});var l=e(95155),r=e(55481),n=e(32855),o=e(4461),i=e(94669),u=e(69730),c=e.n(u),d=e(55925),m=e.n(d),h=e(12492),p=e(34957),g=e(8550),x=e(42048),C=t([r,n,p,g]);[r,n,p,g]=C.then?(await C)():C;let y=({percentOfDriversPayLess:t,potentialSavingsPerYear:a,estimatedMonthlyRate:e,priceDistributionData:s,currentMonthlyPremium:u})=>{let{t:d}=(0,h.Bd)("components");return(0,l.jsxs)("div",{className:c()("lt-col","lt-span-7","lt-span-8-md","lt-span-4-sm",m().resultsPanel),children:[(0,l.jsxs)("div",{className:"lt-content",children:[(0,l.jsxs)("div",{className:c()("lt-content",m().estimatedRateBox),children:[(0,l.jsx)("span",{children:d("AutoInsuranceCalculator.results.estimatedRate.label")}),(0,l.jsx)("span",{className:m().rate,dangerouslySetInnerHTML:{__html:d("AutoInsuranceCalculator.results.estimatedRate.value",{estimatedMonthlyRate:e.toFixed(0)})}})]}),(0,l.jsx)(p.Q,{currentMonthlyPremium:(0,g.Zo)(u??e,x.$.DOLLAR,0),data:s}),(0,l.jsxs)("div",{className:m().savingsSummary,children:[t>0&&(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:d("AutoInsuranceCalculator.results.savingsSummary.driversPayLess",{percentOfDriversPayLess:t.toFixed(1).replace(".0","")})}})," ",a&&a>0?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:d("AutoInsuranceCalculator.results.savingsSummary.saveUpTo",{potentialSavingsPerYear:a.toFixed(0)})}}):(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:d("AutoInsuranceCalculator.results.savingsSummary.compareQuotes")}})," ",(0,l.jsx)(n.Tooltip,{tooltipHint:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:d("AutoInsuranceCalculator.results.savingsSummary.tooltip")}}),tooltipIndexable:!0,tooltipIcon:(0,l.jsx)(i.C,{size:16})})," "]})]}),(0,l.jsx)(r.FlowStartButton,{ctaLabel:d("AutoInsuranceCalculator.results.cta.seeQuotes"),ctaCategory:"calculator2",buttonLabel:d("AutoInsuranceCalculator.results.cta.seeQuotes"),mixpanelEventData:{component:o.vl.AutoInsuranceCalculator,type:"cta_click",meta:{cta_category:"calculator2"}}})]})};s()}catch(t){s(t)}})}}]);
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.