function Cg(a,b){arguments.length&&this.Init(a,b)}m("AdfCalendarDropTarget",Cg);m("AdfCalendarDropTarget",Cg);r.v(Cg,Xa);Cg.prototype.Init=function(a,b){Cg.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.Vw=b};r.a("AdfCalendarDropTarget.prototype.Init",{Init:Cg.prototype.Init});
Cg.prototype.Ga=function(){u.Da(this.Ql);return Cg.h.Ga.call(this)+" allowedActions:"+this.Ql.toString(2)};r.a("AdfCalendarDropTarget.prototype.toDebugString",{Ga:Cg.prototype.Ga});Cg.prototype.Ii=function(a){v.l.finer("dragExit:",this);this.kU(a,!0)};r.a("AdfCalendarDropTarget.prototype.dragExit",{Ii:Cg.prototype.Ii});
Cg.prototype.mi=function(a,b,d,e){v.l.finer("drop:",this);this.kU(a,!1);var f=this.f().o(),g=a.Rp(Cg.lT);null==g&&(g={},a.rv(Cg.lT,g));f.f9(a,d,e,g);f=g[Cg.ft];(new ub(this.f(),a.kf(),a.ol(),b,d,e,ub.sD,f)).F();return b};r.a("AdfCalendarDropTarget.prototype.drop",{mi:Cg.prototype.mi});
Cg.prototype.vq=function(a,b,d,e,f){var g=Ia.Ob;d=Cg.h.vq.call(this,a,b,d,e,f);if(d!=Ia.Ob){b=this.f().o();var h=a.Rp(Cg.lT);null==h&&(h={},a.rv(Cg.lT,h));b.f9(a,e,f,h);var l=h[Cg.ft],n=h[Cg.jw];null!=l&&(g=d);b.Ui(a,l,n,g,h[Cg.mR],h[Cg.nR],e,f,!1);h[Cg.mR]=l;h[Cg.nR]=n}return g};r.a("AdfCalendarDropTarget.prototype.AcceptDrag",{vq:Cg.prototype.vq});Cg.prototype.sf=function(){var a=[];a.push(lb.KY(r.getTypeName(Vf)));null!=this.Vw&&(a=a.concat(this.Vw));return a};
r.a("AdfCalendarDropTarget.prototype.GetAllowedFlavors",{sf:Cg.prototype.sf});Cg.prototype.Og=function(){return this.Ql};r.a("AdfCalendarDropTarget.prototype.GetAllowedActions",{Og:Cg.prototype.Og});Cg.prototype.kU=function(a,b){var d=a.Rp(Cg.lT),e=d?d[Cg.mR]:null,d=d?d[Cg.nR]:null;this.f().o().Ui(a,null,null,Ia.Ob,e,d,null,b)};Cg.lT="siteHints";Cg.mR="lastDropSite";m("AdfCalendarDropTarget.HINT_LAST_DROP_SITE",Cg.mR);Cg.nR="lastDropSiteData";m("AdfCalendarDropTarget.HINT_LAST_DROP_SITE_DATA",Cg.nR);
Cg.ft="dropSite";m("AdfCalendarDropTarget.HINT_DROP_SITE",Cg.ft);Cg.jw="dropSiteData";m("AdfCalendarDropTarget.HINT_DROP_SITE_DATA",Cg.jw);