function la(a,b,d){u.s(a,G);u.J(b);la.h.Init.call(this,a,b,d)}m("AdfComponentTouchEvent",la);la.Hj="touchStart";m("AdfComponentTouchEvent.TOUCH_START_EVENT_TYPE",la.Hj);la.aA="touchMove";m("AdfComponentTouchEvent.TOUCH_MOVE_EVENT_TYPE",la.aA);la.$z="touchEnd";m("AdfComponentTouchEvent.TOUCH_END_EVENT_TYPE",la.$z);la.sza="touchCancel";m("AdfComponentTouchEvent.TOUCH_CANCEL_EVENT_TYPE",la.sza);r.v(la,na);la.prototype.lo=function(){return this.getType()!=la.aA};
r.a("AdfComponentTouchEvent.prototype.getDoesBubbles",{lo:la.prototype.lo});la.prototype.fs=function(){return la.AA(this.Event).clientX};r.a("AdfComponentTouchEvent.prototype.getClientX",{fs:la.prototype.fs});la.prototype.gs=function(){return la.AA(this.Event).clientY};r.a("AdfComponentTouchEvent.prototype.getClientY",{gs:la.prototype.gs});la.prototype.Eg=function(){return la.AA(this.Event).pageX};r.a("AdfComponentTouchEvent.prototype.getPageX",{Eg:la.prototype.Eg});la.prototype.Fg=function(){return la.AA(this.Event).pageY};
r.a("AdfComponentTouchEvent.prototype.getPageY",{Fg:la.prototype.Fg});la.prototype.yC=function(){return la.AA(this.Event).screenX};r.a("AdfComponentTouchEvent.prototype.getScreenX",{yC:la.prototype.yC});la.prototype.zC=function(){return la.AA(this.Event).screenY};r.a("AdfComponentTouchEvent.prototype.getScreenY",{zC:la.prototype.zC});la.prototype.Ki=function(){return D.Gl};r.a("AdfComponentTouchEvent.prototype.getButtons",{Ki:la.prototype.Ki});la.prototype.na=function(){return 0};
r.a("AdfComponentTouchEvent.prototype.getKeyCode",{na:la.prototype.na});la.prototype.he=function(){return this.lo()?la.h.he.call(this):this.getSource()};r.a("AdfComponentTouchEvent.prototype.getCurrentTarget",{he:la.prototype.he});la.AA=function(a){return a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a.targetTouches&&a.targetTouches.length?a.targetTouches[0]:a.touches&&a.touches.length?a.touches[0]:null};
la.prototype.ms=function(){var a=this.Event.touches.length;this.getType()==la.$z&&(a+=this.Event.changedTouches.length);return a};r.a("AdfComponentTouchEvent.prototype.getTouchCount",{ms:la.prototype.ms});la.Hu=function(a){var b=null;if(a.getType()==la.$z||a.getType()==la.Hj)b=new Gb(a.getSource(),ha.Qm,a.U());return b};m("AdfComponentTouchEvent.deriveContextMenuEvent",la.Hu);la.prototype.cancel=function(){la.h.cancel.call(this);q.b.preventDefault(this.Event)};
r.a("AdfComponentTouchEvent.prototype.cancel",{cancel:la.prototype.cancel});