!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=17)}({17:function(e,t,n){e.exports=n("YrSe")},YrSe:function(e,t){$(window).on("load",(function(){loadUsersOpenTasks()})),window.loadUsersOpenTasks=function(){$.ajax({type:"GET",url:usersOpenTasksUrl,cache:!1}).done(prepareUsersOpenTasksChart)},window.prepareUsersOpenTasksChart=function(e){$("#users-open-tasks-container").html("");var t=e.data;if(0===t.totalRecords)return $("#users-open-tasks-container").empty(),$("#users-open-tasks-container").append('<div align="center" class="no-record">No Records Found</div>'),!0;$("#users-open-tasks-container").html(""),$("#users-open-tasks-container").append('<canvas id="users-open-tasks"></canvas>');var n=document.getElementById("users-open-tasks").getContext("2d");n.canvas.style.height="550px",n.canvas.style.width="100%";var r={labels:t.name,datasets:t.data};window.myBar=new Chart(n,{type:"bar",data:r,options:{legend:{display:!1},tooltips:{mode:"index",callbacks:{title:function(e,t){var n=0;return e.forEach((function(e){n+=e.yLabel})),e[0].label+" - "+n},label:function(e,t){if("0"==e.yLabel)return"";var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+e.yLabel}}},responsive:!1,maintainAspectRatio:!1,ticks:{beginAtZero:!0,stepSize:2},scales:{xAxes:[{stacked:!0}],yAxes:[{stacked:!0,scaleLabel:{display:!0,labelString:"Tasks"}}]}}})}}});