'use strict';dotclear.dcMaintenanceTaskExpired=()=>{dotclear.jsonServicesGet('dcMaintenanceTaskExpired',(data)=>{if(data.ret){if(data.nb!==undefined&&data.nb!=dotclear.dcMaintenanceTaskExpired_Count){dotclear.badge($('#dashboard-main #icons p #icon-process-maintenance-fav'),{id:'dcmte',remove:data.nb==0,value:data.nb,sibling:true,icon:true,type:'info',});dotclear.badge($('#maintenance-expired'),{id:'dcmte',remove:data.nb==0,value:data.nb,type:'info',});dotclear.dcMaintenanceTaskExpired_Count=data.nb;}}});};$(()=>{dotclear.dcMaintenanceTaskExpired();dotclear.dcMaintenanceTaskExpired_Timer=setInterval(dotclear.dcMaintenanceTaskExpired,300*1000);});