function Za(a,b){arguments.length&&this.Init(a,b)}v("AdfDragSource",Za);z.l(Za);Za.prototype.Init=function(a,b){Za.f.Init.call(this);a==k&&(a=b,a==k&&(a=Ka.Ig));B.df(a);B.assert(a!=Ka.lb,"allowed actions must be specified");B.assert(0==(a&~Ka.Fv),"invalid allowedActions:"+a);b==k&&(b=a&Ka.Ig?Ka.Ig:a&Ka.mg?Ka.mg:Ka.hq);B.assert(0!=(a&b),"Default action not an allowed action");this.rk=a;this.N9=b;this.b$=this.X2();this.ab=n};z.a("AdfDragSource.prototype.Init",{Init:Za.prototype.Init});
Za.prototype.XC=function(a,b){B.J(a,Ka);B.J(b,I);var d=this.Ue(b);if(d){B.J(d,jb);var e=this.Vs(b);a.Nd(b,d,this.yfa(),this.Jfa(),this.Og(b),e.x,e.y,this.q3());this.ab.k().XC(a,b)}};z.a("AdfDragSource.prototype.initiateDrag",{XC:Za.prototype.XC});Za.prototype.Sfa=function(){if(!this.b$){var a=this.ab;B.assert(a!=n,"Unexpected null component for drag recognizer.");var b=a.k();B.assert(b!=n,"Unexpected null peer for drag recognizer.");this.b$=b.Iu(a)}return this.b$};
z.a("AdfDragSource.prototype.getDragRecognizer",{Sfa:Za.prototype.Sfa});Za.prototype.d=r("ab");z.a("AdfDragSource.prototype.getComponent",{d:Za.prototype.d});Za.prototype.lf=function(a){return this.Ue(a)!=n};z.a("AdfDragSource.prototype.isAvailable",{lf:Za.prototype.lf});Za.prototype.Sr=function(a,b){D.i.finer("dragDropEnd:",this," action:",b)};z.a("AdfDragSource.prototype.dragDropEnd",{Sr:Za.prototype.Sr});Za.prototype.cfa=function(){D.i.finer("dragEnter:",this)};
z.a("AdfDragSource.prototype.dragEnter",{cfa:Za.prototype.cfa});Za.prototype.Oh=function(){D.i.finer("dragExit:",this)};z.a("AdfDragSource.prototype.dragExit",{Oh:Za.prototype.Oh});Za.prototype.dfa=function(){D.i.finest("dragOver:",this)};z.a("AdfDragSource.prototype.dragOver",{dfa:Za.prototype.dfa});Za.prototype.ffa=function(){D.i.finer("dropActionChanged:",this)};z.a("AdfDragSource.prototype.dropActionChanged",{ffa:Za.prototype.ffa});
Za.prototype.ma=function(){return Za.f.ma.call(this)+"[sourceComponent:"+this.ab+"]"};z.a("AdfDragSource.prototype.toDebugString",{ma:Za.prototype.ma});Za.prototype.Ue=function(a){var b=this.ab;return b.k().OI(b,a)};z.a("AdfDragSource.prototype.GetDragTransferable",{Ue:Za.prototype.Ue});Za.prototype.q3=t("auto");z.a("AdfDragSource.prototype.GetDefaultDragCursor",{q3:Za.prototype.q3});Za.prototype.yfa=r("rk");z.a("AdfDragSource.prototype.getAllowedActions",{yfa:Za.prototype.yfa});
Za.prototype.Jfa=r("N9");z.a("AdfDragSource.prototype.getDefaultAction",{Jfa:Za.prototype.Jfa});Za.prototype.Og=function(a){var b=this.ab;return b.k().NI(b,a)};z.a("AdfDragSource.prototype.GetDragOverFeedback",{Og:Za.prototype.Og});Za.prototype.Pj=function(a){var b=this.ab;return b.k().Pj(b,a)};z.a("AdfDragSource.prototype.applyDragReadyState",{Pj:Za.prototype.Pj});Za.prototype.Nr=function(a){var b=this.ab;return b.k().Nr(b,a)};z.a("AdfDragSource.prototype.clearDragReadyState",{Nr:Za.prototype.Nr});
Za.prototype.Qj=function(a){var b=this.ab;return b.k().Qj(b,a)};z.a("AdfDragSource.prototype.applyDragSourceState",{Qj:Za.prototype.Qj});Za.prototype.Or=function(a){var b=this.ab;return b.k().Or(b,a)};z.a("AdfDragSource.prototype.clearDragSourceState",{Or:Za.prototype.Or});Za.prototype.X2=t(n);z.a("AdfDragSource.prototype.CreateDragRecognizer",{X2:Za.prototype.X2});Za.prototype.Vs=function(a){return{x:a.Ag(),y:a.Bg()}};z.a("AdfDragSource.prototype.GetDragOffset",{Vs:Za.prototype.Vs});
Za.prototype.Yq=da("ab");z.a("AdfDragSource.prototype.__setComponent",{Yq:Za.prototype.Yq});