text: !function(e,t){"use strict";var n,r,i,a,o,s,l,c,u,d,g=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",(function(){function h(e,t){return f(e.split(","),t)}function f(e,t){var n,r={};for(n=0;n<e.length;n++)r[t?s(e[n]):e[n]]=!0;return r}function p(e,t){t&&t.length&&r(e,f(t))}function m(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function v(e){return e.replace(/&/g,"&amp;").replace(k,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+((e=e.charCodeAt(1))-56320)+65536)+";"})).replace(w,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function x(e,t){var n=t[e];if(n&&c.call(t,n))throw g("elclob",t.outerHTML||t.outerText);return n}var y=!1,b=!1;this.$get=["$$sanitizeUri",function(e){return y=!0,b&&r(A,T),function(t){var n=[];return u(t,d(n,(function(t,n){return!/^unsafe:/.test(e(t,n))}))),n.join("")}}],this.enableSvg=function(e){return o(e)?(b=e,this):b},this.addValidElements=function(e){return y||(a(e)&&(e={htmlElements:e}),p(T,e.svgElements),p($,e.htmlVoidElements),p(A,e.htmlVoidElements),p(A,e.htmlElements)),this},this.addValidAttrs=function(e){return y||r(D,f(e,!0)),this},n=t.bind,r=t.extend,i=t.forEach,a=t.isArray,o=t.isDefined,s=t.$$lowercase,l=t.noop,u=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e);var n=M(e);if(!n)return"";var r=5;do{if(0===r)throw g("uinput");r--,e=n.innerHTML,n=M(e)}while(e!==n.innerHTML);for(r=n.firstChild;r;){switch(r.nodeType){case 1:t.start(r.nodeName.toLowerCase(),m(r.attributes));break;case 3:t.chars(r.textContent)}var i;if(!(i=r.firstChild)&&(1===r.nodeType&&t.end(r.nodeName.toLowerCase()),!(i=x("nextSibling",r))))for(;null==i&&(r=x("parentNode",r))!==n;)i=x("nextSibling",r),1===r.nodeType&&t.end(r.nodeName.toLowerCase());r=i}for(;r=n.firstChild;)n.removeChild(r)},d=function(e,t){var r=!1,a=n(e,e.push);return{start:function(e,n){e=s(e),!r&&_[e]&&(r=e),r||!0!==A[e]||(a("<"),a(e),i(n,(function(n,r){var i=s(r),o="img"===e&&"src"===i||"background"===i;!0!==D[i]||!0===L[i]&&!t(n,o)||(a(" "),a(r),a('="'),a(v(n)),a('"'))})),a(">"))},end:function(e){e=s(e),r||!0!==A[e]||!0===$[e]||(a("</"),a(e),a(">")),e==r&&(r=!1)},chars:function(e){r||a(v(e))}}},c=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};var k=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,w=/([^#-~ |!])/g,$=h("area,br,col,hr,img,wbr"),E=h("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),C=h("rp,rt"),S=r({},C,E),T=(E=r({},E,h("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),C=r({},C,h("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),h("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan")),_=h("script,style"),A=r({},$,E,C,S),L=h("background,cite,href,longdesc,src,xlink:href,xml:base"),D=(S=h("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),C=h("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),r({},L,C,S)),M=function(t,n){var r;if(!n||!n.implementation)throw g("noinert");var i=((r=n.implementation.createHTMLDocument("inert")).documentElement||r.getDocumentElement()).querySelector("body");return i.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',i.querySelector("svg")?(i.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',i.querySelector("svg img")?function(e){e="<remove></remove>"+e;try{var n=(new t.DOMParser).parseFromString(e,"text/html").body;return n.firstChild.remove(),n}catch(e){}}:function(t){return i.innerHTML=t,n.documentMode&&function t(n){for(;n;){if(n.nodeType===e.Node.ELEMENT_NODE)for(var r=n.attributes,i=0,a=r.length;i<a;i++){var o=r[i],s=o.name.toLowerCase();"xmlns:ns1"!==s&&0!==s.lastIndexOf("ns1:",0)||(n.removeAttributeNode(o),i--,a--)}(r=n.firstChild)&&t(r),n=x("nextSibling",n)}}(i),i}):function(e){e="<remove></remove>"+e;try{e=encodeURI(e)}catch(e){return}var n=new t.XMLHttpRequest;return n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+e,!1),n.send(null),(e=n.response.body).firstChild.remove(),e}}(e,e.document)})).info({angularVersion:"1.7.2"}),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,i=t.$$minErr("linky"),a=t.isDefined,o=t.isFunction,s=t.isObject,c=t.isString;return function(t,u,g){function h(e){e&&y.push(function(e){var t=[];return d(t,l).chars(e),t.join("")}(e))}function f(e,t){var n,r=v(e);for(n in y.push("<a "),r)y.push(n+'="'+r[n]+'" ');!a(u)||"target"in r||y.push('target="',u,'" '),y.push('href="',e.replace(/"/g,"&quot;"),'">'),h(t),y.push("</a>")}if(null==t||""===t)return t;if(!c(t))throw i("notstring",t);for(var p,m,v=o(g)?g:s(g)?function(){return g}:function(){return{}},x=t,y=[];t=x.match(n);)p=t[0],t[2]||t[4]||(p=(t[3]?"http://":"mailto:")+p),m=t.index,h(x.substr(0,m)),f(p,t[0].replace(r,"")),x=x.substring(m+t[0].length);return h(x),e(y.join(""))}}])}(window,window.angular),lhcAppControllers.controller("ProactiveEventsFormCtrl",["$scope","$http","$location","$rootScope","$log",function(e,t,n,r,i){this.events=[];var a=this;this.addEvent=function(){a.events.push({event_type:0,min_number:1,during_seconds:0,id:"temp"+(new Date).getTime()})},this.deleteField=function(e){a.events.splice(a.events.indexOf(e),1)}}]),lhcAppControllers.requires.push("ngSanitize"),lhcAppControllers.controller("ProactiveDesignerCtrl",["$scope","$http","$location","$rootScope","$log","$sce",function(e,t,n,r,i,a){this.replaceArray=[],this.plainHtml="",this.plainStyle="";var o=this;e.$watch("ngModelAbstractInput_mobile_html",(function(e,t){angular.forEach(o.replaceArray,(function(t){e=e.replace(t.id,t.val)})),o.plainHtml=e})),e.$watch("ngModelAbstractInput_mobile_style",(function(e,t){angular.forEach(o.replaceArray,(function(t){e=e.replace(t.id,t.val)})),o.plainStyle=e.replace(/\n/g,"").replace(/\r/g,"")}))}]),lhcAppControllers.controller("ThemeAttrTranslatableCtrl",["$scope","$http","$location","$rootScope","$log",function(e,t,n,r,i){this.languages=[],this.identifier=null,this.dialects=[];var a=this;this.move=function(e,t){index=a.languages.indexOf(e),newIndex=index+t,newIndex>-1&&newIndex<a.languages.length&&(removedElement=a.languages.splice(index,1)[0],a.languages.splice(newIndex,0,removedElement))},this.addLanguage=function(){a.languages.push({content:"",languages:[]}),setTimeout((function(){$("#translate-tabs-"+a.identifier+" li:eq("+a.languages.length+") a").tab("show")}),250)},this.toggleSelection=function(e,t){var n=e.languages.indexOf(t);n>-1?e.languages.splice(n,1):e.languages.push(t)},this.deleteLanguage=function(e){a.languages.splice(a.languages.indexOf(e),1),$("#translate-tabs-"+a.identifier+" a:first").tab("show")},this.moveLeftField=function(e){a.move(e,-1)},this.moveRightField=function(e){a.move(e,1)},this.getLanguagesChecked=function(e){var t=[];return e.languages.forEach((function(e){2==e.length&&t.push(e)})),t.length>0?t.join(", "):e.languages.join(", ")},this.isSelectedDialect=function(e,t){void 0===e.dialect&&(e.dialect=[]);var n=!0;t.items.forEach((function(t){(-1===e.languages.indexOf(t.lang_code)||""!=t.short_code&&-1===e.languages.indexOf(t.short_code))&&(n=!1)})),e.dialect[t.lang.id]=n},this.changeSelection=function(e,t){!1===e.dialect[t.lang.id]?t.items.forEach((function(t){""!=t.short_code&&-1===e.languages.indexOf(t.short_code)&&e.languages.push(t.short_code),-1===e.languages.indexOf(t.lang_code)&&e.languages.push(t.lang_code)})):t.items.forEach((function(t){var n=null;""!=t.short_code&&(n=e.languages.indexOf(t.short_code))>-1&&e.languages.splice(n,1),(n=e.languages.indexOf(t.lang_code))>-1&&e.languages.splice(n,1)}))}}]);
  //# sourceMappingURL=4098a048bcecf534a2a7e2ff9e594885.js.map
  