function Ga(){this!=window&&this.Init()}m("AdfDragRecognizer",Ga);r.v(Ga);Ga.prototype.Hm=function(a,b,d){u.s(b,Wa);u.s(d,D);if(!q.b.kk(d)||!b.$f(a,d))return null;v.l.finer("prep drag[ source:",b," event:",d,"]");return{n_:d.clone(),zI:d.Eg(),AI:d.Fg()}};r.a("AdfDragRecognizer.prototype.prepDrag",{Hm:Ga.prototype.Hm});Ga.prototype.cO=function(a,b){u.s(b,D);return b.getType()==D.Rg};r.a("AdfDragRecognizer.prototype.abortPrep",{cO:Ga.prototype.cO});
Ga.prototype.Vy=function(a,b){var d=b.Eg(),e=b.Fg(),f=q.b.Dd();if(b.getType()==D.r0||b.getType()==la.aA&&1==b.ms()){v.l.finer("recognizeDrag curr:",d,",",e," ",a.zI,",",a.AI);var g=f?10:3;if(Math.abs(a.zI-d)>g||Math.abs(a.AI-e)>g)return v.l.fine("Drag recognized for:",b),a.n_;f||q.b.preventDefault(b.U())}return null};r.a("AdfDragRecognizer.prototype.recognizeDrag",{Vy:Ga.prototype.Vy});