function qf(a,b){arguments.length&&this.Init(a,b)}v("AdfStampedDropTarget",qf);v("AdfStampedDropTarget",qf);z.l(qf,$a);qf.prototype.Init=function(a,b){qf.f.Init.call(this);B.Ea(a);B.assert(a!=Ka.lb,"allowedActions must be specified");B.assert(0==(a&~Ka.Fv),"Invalid allowedActions:"+a);this.rk=a;this.lP=b};z.a("AdfStampedDropTarget.prototype.Init",{Init:qf.prototype.Init});qf.prototype.ma=function(){B.Ea(this.rk);return qf.f.ma.call(this)+" allowedActions:"+this.rk.toString(2)};
z.a("AdfStampedDropTarget.prototype.toDebugString",{ma:qf.prototype.ma});qf.prototype.Oh=function(a){D.i.finer("dragExit:",this);this.oN(a,l)};z.a("AdfStampedDropTarget.prototype.dragExit",{Oh:qf.prototype.Oh});qf.prototype.mh=function(a,b,d,e){D.i.finer("drop:",this);this.oN(a,p);var f=this.d().k(),g=a.yn(qf.qM);g==n&&(g={},a.vs(qf.qM,g));f.dm(d,e,g);return this.Ns(a,b,d,e,g[qf.Bh],g[qf.wh])};z.a("AdfStampedDropTarget.prototype.drop",{mh:qf.prototype.mh});
qf.prototype.Ns=function(a,b,d,e,f,g){D.i.fine("Queing Drop Event with row key:",f);(new pb(this.d(),a.Fe(),a.Zj(),b,d,e,g,f)).v();return b};z.a("AdfStampedDropTarget.prototype.DropOnRowKey",{Ns:qf.prototype.Ns});qf.prototype.En=function(){if(this.d()){var a=this.lP;if(a)return hb.En(a)}return n};z.a("AdfStampedDropTarget.prototype.getRowKeyDataFlavor",{En:qf.prototype.En});
qf.prototype.Wn=function(a,b,d,e,f){var g=Ka.lb,h=d,m=n,q=n,q=n;d=qf.f.Wn.call(this,a,b,d,e,f);d==Ka.lb&&(d=this.Ds(a,h));if(d!=Ka.lb){g=this.d();b=g.k();h=a.yn(qf.qM);h==n&&(h={},a.vs(qf.qM,h));var s=h.a$a;b.dm(e,f,h);q=m=h.xb;q==n&&(q=qf.GMa);var y=h[q],A,C=qf.AGa[d];y==n?(y={},h[q]=y,q=b.Dn(m),y[qf.Vma]=q,A=n):(A=y[C],q=y[qf.Vma]);if(A!=n)g=A;else{D.i.finer("Check AdfStampedDropTarget rowKey:",m);A=a.Fe();if((A!=n?A.d():n)===g&&this.jt()&&d==Ka.mg)if(g=a.Zj())g=g.em(this.En()),-1!=ya.indexOf(g,
m)&&(d=Ka.lb);g=d;y[C]=g}b.ci(a,m,g,s,e,f,p);h[qf.Wv]=m;h[qf.rE]=q;h[qf.qE]=h[qf.wh]}return g};z.a("AdfStampedDropTarget.prototype.AcceptDrag",{Wn:qf.prototype.Wn});qf.prototype.jt=t(l);z.a("AdfStampedDropTarget.prototype.NeedsRowKeyCollectionCheck",{jt:qf.prototype.jt});qf.prototype.Ds=function(){return Ka.lb};z.a("AdfStampedDropTarget.prototype.AcceptDragOverrideIfRejectedByFlavor",{Ds:qf.prototype.Ds});qf.prototype.Je=function(){var a=n,b=this.En();b&&(a=[],a.push(b));return a};
z.a("AdfStampedDropTarget.prototype.GetAllowedFlavors",{Je:qf.prototype.Je});qf.prototype.Tf=r("rk");z.a("AdfStampedDropTarget.prototype.GetAllowedActions",{Tf:qf.prototype.Tf});qf.prototype.oN=function(a,b){var d=a.yn(qf.qM),e=d?d[qf.Wv]:n;b&&d&&(d[qf.Wv]=n);this.d().k().ci(a,n,Ka.lb,e,n,n,b)};qf.qM="StampedDropTarget:hints";qf.Wv="lastRowKey";v("AdfStampedDropTarget.HINT_LAST_ROWKEY",qf.Wv);qf.rE="lastRowKeyBounds";v("AdfStampedDropTarget.HINT_LAST_ROWKEY_BOUNDS",qf.rE);qf.qE="lastDropOrientation";
v("AdfStampedDropTarget.HINT_LAST_DROP_ORIENTATION",qf.qE);qf.wh="dropOrientation";v("AdfStampedDropTarget.DROP_ORIENTATION",qf.wh);qf.Bh="rowKey";v("AdfStampedDropTarget.ROW_KEY",qf.Bh);qf.Vma="bounds";qf.GMa="null_rk";qf.AGa=[n,"COPY","MOVE",n,"LINK"];