{"version":3,"sources":["components/dashboard/Dashboard.types.ts","colors.ts","components/dashboard/Dashboard.style.ts","components/chart/Chart.style.ts","util/format-utils.ts","img/stenlager_ny_e.svg","components/chart/Chart.tsx","img/Power-to-X.svg","api/EnergiDataApi.tsx","components/loadingIndicator/LoadingIndicator.style.ts","components/loadingIndicator/LoadingIndicator.tsx","components/consumptionSliders/ConsumptionSliders.style.ts","img/Varmeforsyning.svg","img/Transport.svg","components/consumptionSliders/ConsumptionSliders.types.ts","components/consumptionSliders/ConsumptionSliders.tsx","img/solceller_ny_e.svg","components/dashboard/util.ts","img/ai_logo.png","components/dashboard/infoDialog/InfoDialog.style.ts","components/dashboard/infoDialog/InfoDialog.tsx","img/reel_logo.png","components/productionSliders/ProductionSliders.style.ts","img/windmill_ny_e.svg","components/productionSliders/ProductionSliders.tsx","components/productionSurplusWithSufficiency/ProductionSurplusWithSufficiency.style.tsx","components/productionSurplus/ProductionSurplus.style.tsx","components/productionSurplus/ProductionSurplus.tsx","components/productionSurplusWithSufficiency/ProductionSurplusWithSufficiency.tsx","components/dashboard/Dashboard.tsx","components/startPage/energisystem.png","components/startPage/ressourcesystem.png","components/startPage/StartPage.style.ts","components/startPage/StartPage.tsx","App.tsx","reportWebVitals.ts","index.tsx"],"names":["BundleMode","DateMode","Texts","colors","titleSize","titleWeight","styles","main","display","width","height","minHeight","minWidth","left","flex","background","flexDirection","leftTop","fontWeight","color","leftUpper","justifyContent","leftLower","infoHeader","alignItems","leftBottom","padding","sliderGroups","verticalSlidersContainer","verticalSlider","marginRight","sliderIcon","verticalSliderHeader","fontSize","textAlign","verticalSliderGroup","horizontalSliderHeader","paddingLeft","horizontalSliderGroup","marginBottom","margin","horizontalSlider","horizontalSlidersContainer","marginLeft","infoButtons","marginTop","paddingBottom","infoButtonsContainer","infoButtonsTitle","map","hand","resetButton","paddingRight","backgroundColor","boxShadow","right","rightMiddle","alignContent","rightLower","chartTitle","chartSubTitle","dateSliderContainer","dateTitle","dialog","dialogLeft","dialogRight","dialogRightTop","dialogImage","maxWidth","dialogCloseButton","position","top","zIndex","infoAndReset","loading","noDataBox","loadingLabel","chartYLabel","_defs","_g","valueWithDecimalsAndLocale","value","decimals","arguments","length","undefined","locale","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","format","CustomTooltip","_ref","active","payload","label","mode","extraConsumptionMwh","sun","parseFloat","sunExtra","windExtra","wind","stoneStorage","productionTotal","consumptionWithExtra","consumption","surplus","surplusStyle","surplusComponent","_jsx","style","children","isNaN","toString","toFixed","replace","_jsxs","borderRadius","DAY","concat","padStart","Chart","_ref2","dateMode","extraSun","extraWind","currentConsumptionData","currentProductionData","isBigScreen","areas","dot","fill","key","opacity","stackIndex","stroke","values","d","solar","combinedWind","_Fragment","MultiAreaChart","legend","show","tooltip","trigger","customTooltip","data","xAxis","timeLabel","timeUnit","parseInt","MONTH","YEAR","getXAxisLabel","yAxis","min","max","getYMax","lines","legendDisplayZeroValues","_excluded","_extends","Object","assign","target","i","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgStenlagerNyE","svgRef","title","titleId","props","xmlns","viewBox","id","ref","transform","className","x","y","rx","ry","_g2","_g3","ForwardRef","getProductionData","_asyncToGenerator","_regeneratorRuntime","mark","_callee","startDate","response","wrap","_context","prev","next","fetch","sent","json","abrupt","records","stop","_x","getConsumptionData","_callee2","_context2","_x2","loadingContainer","paddingTop","loadingItem","loadingText","LoadingIndicator","_ref$padding","loadingTexts","text","_objectSpread","CircularProgress","size","slidersContainer","slider","SvgPowerToX","points","_line","_line2","SvgVarmeforsyning","x1","y1","x2","y2","_path","_path2","_path3","_path4","SvgTransport","Forecast","FORECASTS","powerToX","Map","start","mid","end","heatSupply","transport","miscellaneous","ConsumptionSliders","onHeatSupplyChanged","onTransportChanged","onPowerToXChanged","onMiscellaneousChanged","forecast","_ref$isBigScreen","_ref$steps","steps","_useState","useState","_useState2","_slicedToArray","heatSupplyValue","setHeatSupplyValue","_useState3","_useState4","transportValue","setTransportValue","_useState5","_useState6","powerToXValue","setPowerToXValue","_useState7","stepSize","_useState8","heatSupplyConf","setHeatSupplyConf","_useState9","_useState10","transportConf","setTransportConf","_useState11","_useState12","powerToXConf","setPowerToXConf","valueDisplay","valueFormatter","val","horizontalModePos","HorizontalModeValuePosition","periodValueFromTotalValue","useCallback","useEffect","_periodValueFromTotal","_periodValueFromTotal2","_periodValueFromTotal3","powerToXPeriodValue","get","Math","round","ceil","transportPeriodValue","IconSlider","valueWidth","valueInterval","LabelPosition","bottom","orientation","SliderOrientation","vertical","horizontal","icon","PowerToX","onChange","event","HeatSupply","Transport","bundleRawData","selectedDate","bundleMode","dateFilter","getTimeUnit","HOURS","date","Date","HourDK","getFullYear","year","getMonth","month","getDate","day","getHours","DAYS","MONTHS","YEARS","bundles","filter","reverse","reduce","current","push","rawDataPoints","Number","rawProductionsToDataPoint","offshoreWind","n","OffshoreWindGe100MW_MWh","OffshoreWindLt100MW_MWh","onshoreWind","_ref3","OnshoreWindMWh","_ref4","SolarMWh","thermalPower","_ref5","ThermalPowerMWh","rawConsumptionsToDataPoint","_ref6","ConsumptionkWh","sumRawBundlesToDataPoints","sumFunc","rawDataBundles","timeUnitOffset","fillMissingDataPoints","dataBundle","rdb","fillMissingTimes","dataPoints","toReturn","index","dp","getDateMode","isDay","isMonth","isYear","UNKNOWN","selectedDateToBundleMode","calculateStoneStorageValue","numberOfFacilities","logo","maxHeight","logos","float","closeButton","InfoDialog","open","onClose","tabValue","setTabValue","tutorial","textsDa","tutorialExploreTitle","body","tutorialExploreBody","tutorialAdjustTitle","tutorialAdjustBody","tutorialMapTitle","tutorialMapBody","tutorialMobileTitle","tutorialMobileBody","Dialog","IconButton","onClick","CloseIcon","TabContext","TabList","newValue","Tab","TabPanel","introduction","src","logoAI","alt","t","SvgSolcellerNyE","SvgWindmillNyE","cx","cy","r","ProductionSliders","onWindValueChanged","onSunValueChanged","windValue","setWindValue","sunValue","setSunValue","sunConf","setSunConf","windConf","setWindConf","windPeriodValue","sunPeriodValue","SolarUnit","WindFarm","textColor","percentageColor","totalValue","ProductionSurplus","_valueWithDecimalsAnd","production","_ref$unit","unit","_ref$decimals","ProductionSurplusWithSufficiency","periodName","productionSurplus","selfSufficiency","getHoursInPeriod","period","currentDate","toDate","getTime","abs","_selfSufficiency$sele","percentageComponent","selfSufficciencyHours","Dashboard","_yearlyProduction$sol","_yearlyProduction$com","_yearlyConsumption$co","backLink","useMediaQuery","dialogOpen","setDialogOpen","dialogData","setDialogData","infoDialogOpen","setInfoDialogOpen","setStoneStorage","setExtraSun","setExtraWind","initialDate","today","twoMonthsAgo","sub","months","getInitialDate","_useState13","_useState14","extraHeatSupplyConsumption","setExtraHeatSupplyConsumption","_useState15","_useState16","extraTransportConsumption","setExtraTransportConsumption","_useState17","_useState18","extraPowerToXConsumption","setExtraPowerToXConsumption","_useState19","_useState20","extraMiscellaneousConsumption","setExtraMiscellaneousConsumption","_useState21","_useState22","rawProductionData","setRawProductionData","_useState23","_useState24","rawConsumptionData","setRawConsumptionData","_useState25","_useState26","setCurrentConsumptionData","_useState27","_useState28","setCurrentProductionData","_useState29","_useState30","isLoadingConsumptionData","setIsLoadingConsumptionData","_useState31","_useState32","isLoadingProductionData","setIsLoadingProductionData","_useState33","_useState34","yearlyProduction","setYearlyProduction","_useState35","_useState36","yearlyConsumption","setYearlyConsumption","_useState37","_useState38","datePeriod","setDatePeriod","_useState39","_useState40","dateHasImport","setDateHasImport","_useState41","_useState42","dateHasOffshoreWind","setDateHasOffshoreWind","_useState43","importImportWindMap","_useState44","lollandMap","setLollandMap","_useState45","_useState46","setSelectedDate","_useState47","_useState48","selfSufficientHoursYearly","setSelfSufficientHoursYearly","hasData","isLoadingData","updateDate","useLottie","animationData","loop","autoplay","View","getExtraProductionMW","useMemo","getExtraConsumptionMW","exportImportWindMap","importNoWindMap","exportNoWindMap","dateFilterFunc","accumulatedConsumptions","deepCopyConEle","HourUTC","MunicipalityNo","Branche","accumulatedConEle","localeCompare","selfSufficiencyHours","conEle","prodInd","k","ele","splice","p","_p$OffshoreWindGe100M","_p$OffshoreWindLt100M","_p$OnshoreWindMWh","_p$SolarMWh","_p$ThermalPowerMWh","countSelfSufficientHours","productionData","find","consumptionData","curr","_curr$offshoreWind","stoneStorageMW","extraConsumptionMW","extraProductionMW","_curr$solar","_curr$combinedWind","_curr$consumption","calculateTotal","getSliderInfoTexts","CONSUMPTION","PRODUCTION","STORAGE","storage","getSliderHeader","headerText","infoSections","sections","Info","_getQuickFetchDate","fullDate","quickDate","getQuickFetchDate","then","finally","catch","err","console","error","productionJson","result","consumptionJson","productionSliders","consumptionSliders","Box","mr","Help","MUIButton","window","location","href","variant","startIcon","ArrowBackIcon","reload","StoneStorage","SlidingDateSelector","compact","labelColor","maxYear","minYear","onDateUpdated","primaryButtonColor","primaryButtonSelectedColor","secondaryButtonColor","disableTodaySelection","img","pt","pl","pr","mb","content","container","inner","buttonContainer","link","linkImg","StartPage","energySystemUrl","returnUrl","sx","ButtonBase","Link","LinkEnergy","LinkResource","theme","createTheme","palette","primary","App","startPage","URLSearchParams","search","startPageLink","origin","pathname","useIdleTimer","timeout","onIdle","ThemeProvider","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","render","React","StrictMode","document","getElementById"],"mappings":"iMAcYA,EAOAC,EAaAC,E,0EClCCC,EACC,UADDA,EAEA,UAFAA,EAGD,UCCNC,EAAY,OACZC,EAAc,IAEPC,EAAsB,CACjCC,KAAM,CACJC,QAAS,OACTC,MAAO,OACPC,OAAQ,QACRC,UAAW,QACXC,SAAU,SAIZC,KAAM,CACJL,QAAS,OACTM,KAAM,EACNC,WAAY,qBACZC,cAAe,UAEjBC,QAAS,CACPC,WAAY,IACZC,MAAOhB,GAETiB,UAAW,CACTZ,QAAS,OACTa,eAAgB,SAChBP,KAAM,EACNH,UAAW,KAEb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P,IAAI,uBAAuBzT,MAAO1G,GAAOkpB,kBAM7E,E,SCxBMS,GAAQC,YAAY,CACxBC,QAAS,CACPC,QAAS,CACP7pB,KAAMJ,MAKCkqB,GAAM,WACjB,IACMC,EADY,IAAIC,gBAAgB3C,OAAOC,SAAS2C,QAC1BnX,IAAI,aAC1BoX,EAAgB7C,OAAOC,SAAS6C,OAAS9C,OAAOC,SAAS8C,SAAW,kBAa1E,OALAC,aAAa,CACXC,QAAS,IACTC,OARa,WACK,UAAdR,IACF1C,OAAOC,SAASC,KAAO2C,EAE3B,IAQA1jB,cAACgkB,IAAa,CAACd,MAAOA,GAAMhjB,SACb,SAAdqjB,EAECvjB,cAAC0iB,GAAS,IAEV1iB,cAACsW,GAAS,CAACI,SAAwB,OAAd6M,EAAqBG,OAAgBplB,KAG9D,ECzBe2lB,GAZS,SAACC,GACnBA,GAAeA,aAAuBC,UACxC,8BAAqBrE,MAAK,SAAAhhB,GAAkD,IAA/CslB,EAAMtlB,EAANslB,OAAQC,EAAMvlB,EAANulB,OAAQC,EAAMxlB,EAANwlB,OAAQC,EAAMzlB,EAANylB,OAAQC,EAAO1lB,EAAP0lB,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,EACV,GAEJ,ECNAO,IAASC,OACP1kB,cAAC2kB,IAAMC,WAAU,CAAA1kB,SACfF,cAACsjB,GAAG,MAENuB,SAASC,eAAe,SAM1Bb,I","file":"static/js/main.93e3d041.chunk.js","sourcesContent":["import { RawDataPointConsumption, RawDataPointProduction } from \"../../api/EnergiDataApi\"\nimport { ReactNode } from \"react\"\n//TODO: Fetch SelectedDate type from dataviz-lib\nexport interface SelectedDate {\n day?: number\n month?: number\n year: number\n}\n \nexport interface RawDataBundle {\n timeUnit: string,\n rawDataPoints: (RawDataPointConsumption | RawDataPointProduction)[]\n}\n\nexport enum BundleMode {\n HOURS = \"hours\",\n DAYS = \"days\",\n MONTHS = \"months\",\n YEARS = \"years\"\n}\n\nexport enum DateMode {\n DAY,\n MONTH,\n YEAR,\n UNKNOWN\n}\nexport interface DialogData {\n title: string,\n sections: {title: string, body: string}[],\n content?: ReactNode\n img?: ReactNode\n}\n \nexport enum Texts {\n PRODUCTION,\n STORAGE,\n CONSUMPTION\n}","export const colors = {\n lightGreen: '#8FC1B5',\n darkGreen: '#146552',\n darkGrey: '#2d2d2d'\n}","\nimport { colors } from '../../colors'\nimport { createStyles } from '../../styles'\n\nconst titleSize = '22px'\nconst titleWeight = 500\n\nexport const styles = createStyles({\n main: {\n display: 'flex',\n width: '100%',\n height: '100vh',\n minHeight: '800px',\n minWidth: '360px'\n },\n\n //LEFT\n left: {\n display: 'flex',\n flex: 1, \n background: 'rgb(210, 210, 210)',\n flexDirection: 'column'\n },\n leftTop: {\n fontWeight: 700,\n color: colors.darkGrey,\n },\n leftUpper: {\n display: 'flex',\n justifyContent: 'center',\n flex: 1,\n minHeight: '0'\n },\n leftLower: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center'\n },\n infoHeader: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n },\n leftBottom: {\n padding: '8px',\n display: 'flex',\n alignItems: 'center'\n },\n sliderGroups: {\n justifyContent: 'space-evenly',\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center'\n },\n verticalSlidersContainer: {\n height: '100%',\n display: 'flex',\n padding: '8px'\n },\n verticalSlider: {\n marginRight: \"15px\",\n },\n sliderIcon: {\n height: '35px',\n width: 'auto'\n },\n verticalSliderHeader: {\n fontSize: titleSize,\n fontWeight: titleWeight,\n textAlign: 'center',\n },\n verticalSliderGroup: {\n height: '290px',\n display: 'flex',\n flexDirection: 'column',\n },\n horizontalSliderHeader: {\n paddingLeft: '36px',\n fontWeight: 'bold'\n },\n horizontalSliderGroup: {\n marginBottom: '40px',\n margin: '8px'\n },\n horizontalSlider: {\n marginBottom: '10px',\n },\n horizontalSlidersContainer: {\n marginLeft: \"20px\", \n marginRight: \"20px\", \n marginBottom: \"10px\"\n },\n infoButtons: {\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n marginTop: 'auto',\n paddingBottom: '32px'\n },\n infoButtonsContainer: {\n display: 'flex',\n justifyContent: 'space-between',\n width: '400px',\n },\n infoButtonsTitle: {\n fontSize: titleSize,\n fontWeight: titleWeight,\n marginBottom: '16px',\n color: colors.darkGrey\n },\n map: {\n height: '100%',\n width: '100%'\n },\n hand: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n resetButton: {\n paddingLeft: '10px',\n paddingRight: '10px',\n marginRight: '15px',\n backgroundColor: 'rgb(176 130 17)',\n boxShadow: 'none',\n color: 'white'\n },\n\n //RIGHT\n right: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n background: 'white',\n },\n rightMiddle: {\n display: 'flex',\n justifyContent: 'start',\n alignContent: 'space-between'\n },\n rightLower: {\n display: 'flex',\n justifyContent: 'center',\n flexDirection: 'column'\n },\n chartTitle: {\n fontSize: titleSize,\n fontWeight: titleWeight,\n color: colors.darkGrey\n },\n chartSubTitle: {\n color: colors.darkGrey\n },\n dateSliderContainer : {\n width: '100%'\n },\n dateTitle: {\n fontSize: titleSize,\n marginBottom: '16px',\n fontWeight: titleWeight,\n color: colors.darkGrey\n },\n\n //OTHER\n dialog: {\n display: 'flex',\n },\n dialogLeft: {\n flex: 1\n },\n dialogRight: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n },\n dialogRightTop: {\n fontSize: '24px',\n fontWeight: 500\n },\n dialogImage: {\n maxWidth: '800px'\n },\n dialogCloseButton: {\n position: 'absolute',\n right: '4px',\n top: '4px',\n zIndex: 1000\n },\n infoAndReset: {\n display: 'flex',\n padding: '8px'\n },\n loading: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: '128px 32px 32px 32px',\n color: '#777'\n },\n noDataBox: {\n display: 'flex',\n width: '100%',\n height: '100%',\n justifyContent: 'center',\n alignItems: 'center',\n color: '#777',\n fontSize: '14px',\n fontWeight: 600\n },\n loadingLabel: {\n paddingLeft: '16px'\n }\n})","\nimport { createStyles } from '../../styles'\n\nexport const styles = createStyles({\n chartYLabel: {\n color: '#444',\n paddingLeft: '32px',\n marginTop: '14px',\n position: 'absolute',\n marginLeft: '32px'\n }\n})\n","export const valueWithDecimalsAndLocale = (value: number, decimals: number = 0, locale: string = 'da-DK') => {\n return new Intl.NumberFormat(locale, {\n minimumFractionDigits: decimals,\n maximumFractionDigits: decimals\n }).format(value)\n}","var _defs, _g;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStenlagerNyE(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"24.344313mm\",\n height: \"20.162573mm\",\n viewBox: \"0 0 24.344313 20.162573\",\n id: \"svg8\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", {\n id: \"defs2\"\n }, /*#__PURE__*/React.createElement(\"style\", {\n id: \"style833\"\n }, \".cls-stenlager-1{fill:#589a8d;}.cls-stenlager-2{fill:#8fc1b5;}\"))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"layer1\",\n transform: \"translate(-23.735586,-4.6597866)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"g855\",\n transform: \"matrix(0.26458333,0,0,0.26458333,-101.11335,-36.61389)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n className: \"cls-stenlager-1\",\n d: \"m 521.7,157.09 c -2.36,-1.46 -5.31,-1.46 -7.66,0 l -42.17,26.07 v 49.04 h 12.34 v -41.91 c 0,-0.67 0.54,-1.21 1.21,-1.21 h 66.66 c 0.67,0 1.21,0.54 1.21,1.21 v 41.91 h 10.59 v -49.04 l -42.17,-26.07 z\",\n id: \"path837\"\n }), /*#__PURE__*/React.createElement(\"rect\", {\n className: \"cls-stenlager-2\",\n x: 489,\n y: 193.55,\n width: 60,\n height: 9.8699999,\n rx: 0.34,\n ry: 0.34,\n id: \"rect839\"\n }), /*#__PURE__*/React.createElement(\"rect\", {\n className: \"cls-stenlager-2\",\n x: 489,\n y: 221.14999,\n width: 60,\n height: 9.8699999,\n rx: 0.34,\n ry: 0.34,\n id: \"rect841\"\n }), /*#__PURE__*/React.createElement(\"rect\", {\n className: \"cls-stenlager-2\",\n x: 489,\n y: 207.35001,\n width: 60,\n height: 9.8699999,\n rx: 0.34,\n ry: 0.34,\n id: \"rect843\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStenlagerNyE);\nexport default __webpack_public_path__ + \"static/media/stenlager_ny_e.87924a51.svg\";\nexport { ForwardRef as ReactComponent };","import { MultiAreaChart } from 'dataviz-lib'\nimport { styles } from './Chart.style'\nimport { ChartProps} from './Chart.types'\nimport { DateMode } from '../dashboard/Dashboard.types'\nimport { valueWithDecimalsAndLocale } from '../../util/format-utils'\n\nconst CustomTooltip = ({ active, payload, label, mode, extraConsumptionMwh}: any) => {\n if (active && payload && payload.length) {\n const sun = parseFloat(payload[0].payload['sun'])\n const sunExtra = parseFloat(payload[0].payload['sunExtra'])\n const windExtra = parseFloat(payload[0].payload['windExtra'])\n const wind = parseFloat(payload[0].payload['wind'])\n const stoneStorage = payload[0].payload['stoneStorage'] !== undefined ? parseFloat(payload[0].payload['stoneStorage']) : 0\n const productionTotal = sun + wind + stoneStorage + sunExtra + windExtra\n const consumptionWithExtra = parseFloat(payload[0].payload['consumption'])\n const consumption = consumptionWithExtra - extraConsumptionMwh\n const surplus = productionTotal - consumptionWithExtra\n const surplusStyle = surplus < 0 ? {color: 'red'} : {color: 'green'}\n const surplusComponent = {isNaN(surplus) ? '-' : parseFloat(surplus.toString()).toFixed(2).replace('.', ',')}\n return (\n