Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
c||null==c};EditorUi.prototype.doSetCurrentTheme=function(c,e,k){function q(I){return"simple"==I||0==e&&"sketch"==I}e=null!=e?e:150;var p=Editor.currentTheme,t=q(p)&&this.isDefaultTheme(c)||this.isDefaultTheme(p)&&q(c),x=t&&"sketch"!=c&&"sketch"!=p;if(t&&!this.themeSwitching){Editor.currentTheme=c;this.themeSwitching=!0;var C=this.saveScrollState();mxUtils.setPrefixedStyle(this.container.style,"transition","all "+e+"ms ease-in-out");0==e&&(this.container.style.opacity="0");window.setTimeout(mxUtils.bind(this,