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:
EditorUi.prototype.addSplitHandler=function(b,e,g,p){function y(R){if(null!=E){var W=new mxPoint(mxEvent.getClientX(R),mxEvent.getClientY(R));p(Math.max(0,M+(e?W.x-E.x:E.y-W.y)-g));mxEvent.consume(R);M!=K()&&(T=!0,F=null)}}function q(R){y(R);E=M=null}var E=null,M=null,T=!0,F=null;mxClient.IS_POINTER&&(b.style.touchAction="none");var K=mxUtils.bind(this,function(){var R=parseInt(e?b.style.left:b.style.bottom);e||(R=R+g-this.footerHeight);return R});mxEvent.addGestureListeners(b,function(R){E=new mxPoint(mxEvent.getClientX(R),