angular.module("c8y.assets").controller("RendererIconCtrl",["$scope","c8yComparisons",function(n,e){function o(){var c=n.value,o=(n.config||{}).map||[],o=_.find(o,function(o){return e.compare(e.convertDeprecatedComparisonType(o.comparison),c,o.value)});n.icon=o&&o.icon,n.color=o&&o.color}n.$watch("value",o),n.$watch("config",o)}]);