(()=>{function i(i,t){i.$on("saveWidget",function(){"none"!==i.config.sanitization&&("lax"===i.config.sanitization?i.config.html=t.sanitizeString(i.config.html):i.config.html=t.sanitizeString(i.config.html,{}))}),i.htmlCodeTooltipVisible=!1,i.toggleHtmlCodeTooltip=function(){i.htmlCodeTooltipVisible=!i.htmlCodeTooltipVisible}}i.$inject=["$scope","c8ySanitizeHtml"],angular.module("c8y.parts.htmlwidget").controller("htmlWidgetConfigCtrl",i)})();