function sb(a,b,d){E.isArray(d)||(u.s(d,lb),d=[d]);this.Init(a,b,d)}m("AdfBasicDropTarget",sb);r.v(sb,Xa);sb.prototype.Init=function(a,b,d){sb.h.Init.call(this);u.kH(a,"dropHandler function required");u.Da(b);u.assert(b!=Ia.Ob,"allowedActions must be specified");u.assert(0==(b&~Ia.sz),"Invalid allowedActions:"+b);u.Mb(d,"At least one flavor must be allowed");u.s(d[0],lb);this.Kja=a;this.Ql=b;this.Ww=d};r.a("AdfBasicDropTarget.prototype.Init",{Init:sb.prototype.Init});
sb.prototype.mi=function(a,b,d,e){var f=this.Kja;b=null!=f?f.call(this,a,b,d,e):b;u.Da(b);if(b==Ia.Ob)return b;u.assert(0==(b&~Ia.sz),"Invalid userAction:"+b);return sb.h.mi.call(this,a,b,d,e)};r.a("AdfBasicDropTarget.prototype.drop",{mi:sb.prototype.mi});sb.prototype.Ga=function(){var a=sb.h.Ga.call(this),b=this.Ql;b&&(a+=" allowedActions:"+b.toString(2));return a+=" allowedFlavors:"+this.Ww};r.a("AdfBasicDropTarget.prototype.toDebugString",{Ga:sb.prototype.Ga});sb.prototype.sf=function(){return this.Ww};
r.a("AdfBasicDropTarget.prototype.GetAllowedFlavors",{sf:sb.prototype.sf});sb.prototype.Og=function(){return this.Ql};r.a("AdfBasicDropTarget.prototype.GetAllowedActions",{Og:sb.prototype.Og});