/*! lifestyle-3.js | Huro | Css ninja 2020-2021 */
"use strict";$((function(){var e={series:[{name:"Condition (pt)",data:[31,40,28,51,42,109,100]}],chart:{type:"area",height:280,offsetX:20,zoom:{enabled:!1},toolbar:{show:!1}},dataLabels:{enabled:!1},grid:{show:!1},stroke:{width:[2,2,2],curve:"straight"},colors:[themeColors.accent],labels:["Jun","Jul","Aug","Sep","Oct","Nov","Dec"],yaxis:{opposite:!0},legend:{horizontalAlign:"left"}};function o(e,o,t){for(var a=0,r=[];a<o;){var s=Math.floor(Math.random()*(t.max-t.min+1))+t.min;r.push([e,s]),e+=864e5,a++}return r}new ApexCharts(document.querySelector("#overall-chart"),e).render();var t={series:[{name:"Tonic",data:o(new Date("Oct 11 2020 GMT").getTime(),20,{min:10,max:60})},{name:"Tantra",data:o(new Date("Oct 11 2020 GMT").getTime(),20,{min:10,max:60})},{name:"Vital",data:o(new Date("Oct 11 2020 GMT").getTime(),30,{min:10,max:60})}],chart:{height:280,type:"scatter",zoom:{type:"xy"},toolbar:{show:!1}},colors:[themeColors.accent,themeColors.primary,themeColors.purple],dataLabels:{enabled:!1,show:!1},grid:{show:!1,xaxis:{lines:{show:!1}},yaxis:{lines:{show:!1}}},xaxis:{show:!1,type:"datetime"},yaxis:{show:!1,max:70},legend:{show:!1,position:"top",horizontalAlign:"center"}};new ApexCharts(document.querySelector("#energy-chart"),t).render();var a={series:[{name:"Variation (pt)",data:[23,26,10,7,11,18,16]}],chart:{height:280,type:"bar",toolbar:{show:!1}},plotOptions:{bar:{dataLabels:{position:"top"}}},dataLabels:{enabled:!0,formatter:function(e){return e+"%"},offsetY:-20,style:{fontSize:"12px",colors:["#304758"]}},grid:{show:!1},xaxis:{categories:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],position:"top",axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,formatter:function(e){return e+"%"}}},colors:[themeColors.accent]};new ApexCharts(document.querySelector("#oxygen-chart"),a).render();var r={series:[{name:"Progress (pt)",data:[31,40,28,51,42,109,100]}],chart:{type:"area",height:280,offsetX:20,zoom:{enabled:!1},toolbar:{show:!1}},dataLabels:{enabled:!1},grid:{show:!1},stroke:{width:[2,2,2],curve:"smooth"},colors:[themeColors.accent],labels:["Jun","Jul","Aug","Sep","Oct","Nov","Dec"],yaxis:{opposite:!0},legend:{horizontalAlign:"left"}};new ApexCharts(document.querySelector("#progress-chart"),r).render()}));