angular.module("c8y.assets").controller("configIconMapCtrl",["$scope","$uibModalInstance","iconList","config","c8yComparisons",function(o,n,c,s,a){var i={value:"",comparison:"",icon:"",color:"#000000"};o.comparisons=a.Comparisons.values(),o.icons=c,o.addMap=function(o){o.push(_.cloneDeep(i))},o.onDelete=function(o,n){o.splice(n,1)},o.close=n.close,o.dismiss=n.dismiss,s.map||(s.map=[_.clone(i)]),s.map=_.map(s.map,function(o){return o.comparison=a.convertDeprecatedComparisonType(o.comparison),o}),o.iconMap=s}]);