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.eh?Ia.eh:Ia.Rs);u.assert(0!=(a&b),"Default action not an allowed action");this.Ql=a;this.pja=b;this.Gja=this.Bba();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.$v(b);a.Md(b,d,this.ira(),this.yra(),this.Mh(b),e.x,e.y,this.Uba());this.gb.o().VH(a,b)}};r.a("AdfDragSource.prototype.initiateDrag",{VH:Wa.prototype.VH});Wa.prototype.Hra=function(){if(!this.Gja){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.Gja=b.oy(a)}return this.Gja};
r.a("AdfDragSource.prototype.getDragRecognizer",{Hra:Wa.prototype.Hra});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.Ju=function(a,b){v.l.finer("dragDropEnd:",this," action:",b)};r.a("AdfDragSource.prototype.dragDropEnd",{Ju:Wa.prototype.Ju});Wa.prototype.Hqa=function(){v.l.finer("dragEnter:",this)};
r.a("AdfDragSource.prototype.dragEnter",{Hqa:Wa.prototype.Hqa});Wa.prototype.Ji=function(){v.l.finer("dragExit:",this)};r.a("AdfDragSource.prototype.dragExit",{Ji:Wa.prototype.Ji});Wa.prototype.Iqa=function(){v.l.finest("dragOver:",this)};r.a("AdfDragSource.prototype.dragOver",{Iqa:Wa.prototype.Iqa});Wa.prototype.Kqa=function(){v.l.finer("dropActionChanged:",this)};r.a("AdfDragSource.prototype.dropActionChanged",{Kqa:Wa.prototype.Kqa});
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.Uba=function(){return"auto"};r.a("AdfDragSource.prototype.GetDefaultDragCursor",{Uba:Wa.prototype.Uba});Wa.prototype.ira=function(){return this.Ql};r.a("AdfDragSource.prototype.getAllowedActions",{ira:Wa.prototype.ira});
Wa.prototype.yra=function(){return this.pja};r.a("AdfDragSource.prototype.getDefaultAction",{yra:Wa.prototype.yra});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.Du=function(a){var b=this.gb;return b.o().Du(b,a)};
r.a("AdfDragSource.prototype.clearDragReadyState",{Du:Wa.prototype.Du});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.Eu=function(a){var b=this.gb;return b.o().Eu(b,a)};r.a("AdfDragSource.prototype.clearDragSourceState",{Eu:Wa.prototype.Eu});Wa.prototype.Bba=function(){return null};r.a("AdfDragSource.prototype.CreateDragRecognizer",{Bba:Wa.prototype.Bba});
Wa.prototype.$v=function(a){return{x:a.Ah(),y:a.Bh()}};r.a("AdfDragSource.prototype.GetDragOffset",{$v:Wa.prototype.$v});Wa.prototype.Rt=function(a){this.gb=a};r.a("AdfDragSource.prototype.__setComponent",{Rt:Wa.prototype.Rt});