function Wa(a,b){arguments.length&&this.Init(a,b)}m("AdfDragSource",Wa);r.v(Wa);Wa.prototype.Init=function(a,b){Wa.h.Init.call(this);void 0==a&&(a=b,void 0==a&&(a=Ia.Gh));u.Xf(a);u.assert(a!=Ia.Ob,"allowed actions must be specified");u.assert(0==(a&~Ia.sz),"invalid allowedActions:"+a);void 0==b&&(b=a&Ia.Gh?Ia.Gh:a&Ia.dh?Ia.dh:Ia.Qs);u.assert(0!=(a&b),"Default action not an allowed action");this.Ql=a;this.mja=b;this.Dja=this.zba();this.gb=null};r.a("AdfDragSource.prototype.Init",{Init:Wa.prototype.Init});
Wa.prototype.VH=function(a,b){u.s(a,Ia);u.s(b,D);var d=this.If(b);if(d){u.s(d,nb);var e=this.Zv(b);a.Md(b,d,this.era(),this.ura(),this.Mh(b),e.x,e.y,this.Sba());this.gb.o().VH(a,b)}};r.a("AdfDragSource.prototype.initiateDrag",{VH:Wa.prototype.VH});Wa.prototype.Dra=function(){if(!this.Dja){var a=this.gb;u.assert(null!=a,"Unexpected null component for drag recognizer.");var b=a.o();u.assert(null!=b,"Unexpected null peer for drag recognizer.");this.Dja=b.ny(a)}return this.Dja};
r.a("AdfDragSource.prototype.getDragRecognizer",{Dra:Wa.prototype.Dra});Wa.prototype.f=function(){return this.gb};r.a("AdfDragSource.prototype.getComponent",{f:Wa.prototype.f});Wa.prototype.$f=function(a){return null!=this.If(a)};r.a("AdfDragSource.prototype.isAvailable",{$f:Wa.prototype.$f});Wa.prototype.Iu=function(a,b){v.l.finer("dragDropEnd:",this," action:",b)};r.a("AdfDragSource.prototype.dragDropEnd",{Iu:Wa.prototype.Iu});Wa.prototype.Dqa=function(){v.l.finer("dragEnter:",this)};
r.a("AdfDragSource.prototype.dragEnter",{Dqa:Wa.prototype.Dqa});Wa.prototype.Ii=function(){v.l.finer("dragExit:",this)};r.a("AdfDragSource.prototype.dragExit",{Ii:Wa.prototype.Ii});Wa.prototype.Eqa=function(){v.l.finest("dragOver:",this)};r.a("AdfDragSource.prototype.dragOver",{Eqa:Wa.prototype.Eqa});Wa.prototype.Gqa=function(){v.l.finer("dropActionChanged:",this)};r.a("AdfDragSource.prototype.dropActionChanged",{Gqa:Wa.prototype.Gqa});
Wa.prototype.Ga=function(){return Wa.h.Ga.call(this)+"[sourceComponent:"+this.gb+"]"};r.a("AdfDragSource.prototype.toDebugString",{Ga:Wa.prototype.Ga});Wa.prototype.If=function(a){var b=this.gb;return b.o().RO(b,a)};r.a("AdfDragSource.prototype.GetDragTransferable",{If:Wa.prototype.If});Wa.prototype.Sba=function(){return"auto"};r.a("AdfDragSource.prototype.GetDefaultDragCursor",{Sba:Wa.prototype.Sba});Wa.prototype.era=function(){return this.Ql};r.a("AdfDragSource.prototype.getAllowedActions",{era:Wa.prototype.era});
Wa.prototype.ura=function(){return this.mja};r.a("AdfDragSource.prototype.getDefaultAction",{ura:Wa.prototype.ura});Wa.prototype.Mh=function(a){var b=this.gb;return b.o().QO(b,a)};r.a("AdfDragSource.prototype.GetDragOverFeedback",{Mh:Wa.prototype.Mh});Wa.prototype.al=function(a){var b=this.gb;return b.o().al(b,a)};r.a("AdfDragSource.prototype.applyDragReadyState",{al:Wa.prototype.al});Wa.prototype.Cu=function(a){var b=this.gb;return b.o().Cu(b,a)};
r.a("AdfDragSource.prototype.clearDragReadyState",{Cu:Wa.prototype.Cu});Wa.prototype.bl=function(a){var b=this.gb;return b.o().bl(b,a)};r.a("AdfDragSource.prototype.applyDragSourceState",{bl:Wa.prototype.bl});Wa.prototype.Du=function(a){var b=this.gb;return b.o().Du(b,a)};r.a("AdfDragSource.prototype.clearDragSourceState",{Du:Wa.prototype.Du});Wa.prototype.zba=function(){return null};r.a("AdfDragSource.prototype.CreateDragRecognizer",{zba:Wa.prototype.zba});
Wa.prototype.Zv=function(a){return{x:a.zh(),y:a.Ah()}};r.a("AdfDragSource.prototype.GetDragOffset",{Zv:Wa.prototype.Zv});Wa.prototype.Qt=function(a){this.gb=a};r.a("AdfDragSource.prototype.__setComponent",{Qt:Wa.prototype.Qt});