var renderPieChart=function(e){e={chart:{height:275,type:"pie"},dataLabels:{dropShadow:{enabled:!1,top:1,left:1,blur:1,opacity:1}},stroke:{show:!1},theme:{monochrome:{enabled:!0,color:app.color.theme,shadeTo:"dark",shadeIntensity:.65}},labels:e.map(e=>e.label),legend:{labels:{colors:app.color.white,text:"currentColor"}},series:e.map(e=>e.data)};new ApexCharts(document.querySelector("#apexPieChart"),e).render()},handleRenderChart=function(){renderPieChart(pieChartData)};$(document).ready(function(){handleRenderChart(),document.addEventListener("theme-reload",function(){$("#apexPieChart").empty(),handleRenderChart()})});