angular.module("c8y.ui").factory("Range",function(){function t(t){_.assign(this,_.defaults(t,{min:t.min||t.max||0,max:t.max||t.min||100}))}return t.prototype.matches=function(t){return this.matchesMin(t)&&this.matchesMax(t)},t.prototype.matchesMin=function(t){return this.excludeMin?this.min<t:this.min<=t},t.prototype.matchesMax=function(t){return this.excludeMax?t<this.max:t<=this.max},t});