function Eg(a,b){arguments.length&&this.Init(a,b)}m("AdfCalendarDropTarget",Eg);m("AdfCalendarDropTarget",Eg);r.v(Eg,Xa);Eg.prototype.Init=function(a,b){Eg.h.Init.call(this);u.Da(a);u.assert(a!=Ia.Ob,"allowedActions must be specified");u.assert(0==(a&~Ia.sz),"Invalid allowedActions:"+a);u.og(b,"flovors must be null or an array");A.c.Zg()&&(a=0);this.Ql=a;this.Ww=b};r.a("AdfCalendarDropTarget.prototype.Init",{Init:Eg.prototype.Init});
Eg.prototype.Ga=function(){u.Da(this.Ql);return Eg.h.Ga.call(this)+" allowedActions:"+this.Ql.toString(2)};r.a("AdfCalendarDropTarget.prototype.toDebugString",{Ga:Eg.prototype.Ga});Eg.prototype.Ji=function(a){v.l.finer("dragExit:",this);this.kU(a,!0)};r.a("AdfCalendarDropTarget.prototype.dragExit",{Ji:Eg.prototype.Ji});
Eg.prototype.mi=function(a,b,d,e){v.l.finer("drop:",this);this.kU(a,!1);var f=this.f().o(),g=a.Sp(Eg.lT);null==g&&(g={},a.tv(Eg.lT,g));f.f9(a,d,e,g);f=g[Eg.gt];(new ub(this.f(),a.kf(),a.ol(),b,d,e,ub.sD,f)).F();return b};r.a("AdfCalendarDropTarget.prototype.drop",{mi:Eg.prototype.mi});
Eg.prototype.wq=function(a,b,d,e,f){var g=Ia.Ob;d=Eg.h.wq.call(this,a,b,d,e,f);if(d!=Ia.Ob){b=this.f().o();var h=a.Sp(Eg.lT);null==h&&(h={},a.tv(Eg.lT,h));b.f9(a,e,f,h);var l=h[Eg.gt],n=h[Eg.kw];null!=l&&(g=d);b.Vi(a,l,n,g,h[Eg.mR],h[Eg.nR],e,f,!1);h[Eg.mR]=l;h[Eg.nR]=n}return g};r.a("AdfCalendarDropTarget.prototype.AcceptDrag",{wq:Eg.prototype.wq});Eg.prototype.sf=function(){var a=[];a.push(lb.KY(r.getTypeName(Xf)));null!=this.Ww&&(a=a.concat(this.Ww));return a};
r.a("AdfCalendarDropTarget.prototype.GetAllowedFlavors",{sf:Eg.prototype.sf});Eg.prototype.Og=function(){return this.Ql};r.a("AdfCalendarDropTarget.prototype.GetAllowedActions",{Og:Eg.prototype.Og});Eg.prototype.kU=function(a,b){var d=a.Sp(Eg.lT),e=d?d[Eg.mR]:null,d=d?d[Eg.nR]:null;this.f().o().Vi(a,null,null,Ia.Ob,e,d,null,b)};Eg.lT="siteHints";Eg.mR="lastDropSite";m("AdfCalendarDropTarget.HINT_LAST_DROP_SITE",Eg.mR);Eg.nR="lastDropSiteData";m("AdfCalendarDropTarget.HINT_LAST_DROP_SITE_DATA",Eg.nR);
Eg.gt="dropSite";m("AdfCalendarDropTarget.HINT_DROP_SITE",Eg.gt);Eg.kw="dropSiteData";m("AdfCalendarDropTarget.HINT_DROP_SITE_DATA",Eg.kw);