angular.module("c8y.ui").directive("c8yMin",["$parse",function(c){return{restrict:"A",require:"c8yNumber",link:function(i,e,n,r){var u;n.$observe("required",function(){u=!_.isUndefined(n.required)&&"false"!==n.required}),r.validator("c8yMin",function(e){var r=c(n.c8yMin)(i),r=Number(_.isUndefined(r)?NaN:r);return _.isNaN(r)?!u:r<=e})}}}]);