(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{580:function(e,a,t){"use strict";t.r(a),t.d(a,"default",(function(){return i}));var r=t(0),s=t.n(r),l=t(485),n=t(19),m=t(484);const c=({datum:e,series:a})=>s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"measure-value measure-value--previous"},a.formatValue(e,n.b.PREVIOUS)),s.a.createElement("div",{className:"measure-delta-value"},s.a.createElement(m.a,{previousValue:a.selectValue(e,n.b.PREVIOUS),currentValue:a.selectValue(e,n.b.CURRENT),lowerIsBetter:a.measure.lowerIsBetter,formatter:a.formatter()}))),u=({showPrevious:e,datum:a,series:t})=>s.a.createElement("div",{className:"total"},s.a.createElement("div",{className:"measure-name",title:t.title()},t.title()),s.a.createElement("div",{className:"measure-value"},t.formatValue(a,n.b.CURRENT)),e&&s.a.createElement(c,{series:t,datum:a})),o=({essence:e,data:a})=>{const t=e.getConcreteSeries().toArray(),r=a.data[0];return s.a.createElement("div",{className:"total-container"},t.map(a=>s.a.createElement(u,{key:a.reactKey(),series:a,datum:r,showPrevious:e.hasComparison()})))};function i(e){return s.a.createElement(s.a.Fragment,null,s.a.createElement(l.b,e),s.a.createElement(l.a,Object.assign({},e,{chartComponent:o})))}}}]);
//# sourceMappingURL=totals.b0c2dd4d2273ad4a4ba3.js.map