angular.module("c8y.parts.availability",["nvd3ChartDirectives"]).config(["c8yViewsProvider","c8yNavigatorProvider","c8yTitleProvider","gettext",function(i,a,e,l){var t="signal",n={name:l("Availability"),icon:t,templateUrl:"".concat(":::PLUGIN_PATH:::/views/","detail.html"),controller:"availabilityReportCtrl",showIfPermissions:{allRoles:["ROLE_ALARM_READ"],anyRole:["ROLE_INVENTORY_READ","ROLE_MANAGED_OBJECT_READ"]}},o="availability";a.addNavigation({parent:l("Devices"),name:l("Availability"),icon:t,path:o,showIfPermissions:{allRoles:["ROLE_ALARM_READ"],anyRole:["ROLE_INVENTORY_READ","ROLE_MANAGED_OBJECT_READ"]}}),i.when("/device/:deviceId",_.cloneDeep(n)),i.when("/".concat(o),_.cloneDeep(n)),e.addTitle("/".concat(o),{data:function(){return{title:l("Availability")}}})}]);