function A_jc(){this.Init(AdfDnDContext.ACTION_MOVE,AdfDnDContext.ACTION_MOVE)}AdfObject.createSubclass(A_jc,AdfDragSource);A_jc.prototype.Init=function(a,b){A_jc.superclass.Init.call(this,a,b)};A_h("AdfPivotTableDragSource.prototype.Init",A_jc.prototype.Init);A_jc.prototype.isAvailable=function(a,b){AdfAssert.assertPrototype(a,AdfDnDContext);AdfAssert.assertPrototype(b,AdfUIInputEvent);AdfAssert.DEBUG&&AdfDnDContext.assertUserAction(a.getUserAction());return A_kc(this,b)!=A_};
A_h("AdfPivotTableDragSource.prototype.isAvailable",A_jc.prototype.isAvailable);A_jc.prototype.GetDragTransferable=function(a){a=A_kc(this,a);if(a!=A_){var b=[];b.push(AdfDataFlavor.getObjectFlavor(a));var c=[];c.push([a]);return new AdfObjectTransferable(c,b)}return A_};A_h("AdfPivotTableDragSource.prototype.GetDragTransferable",A_jc.prototype.GetDragTransferable);
function A_kc(a,b){var c=a.getComponent(),d=c.getPeer(),e=AdfAgent.AGENT,f=A_;if(AdfPivotTableUtils.F()){var g=A_lc(d,b.getNativeEventTarget(),"_phEdge");if(A_mc(d)&&g!=A_){var h=parseInt(e.getAttribute(g,"_phEdge")),g=parseInt(e.getAttribute(g,"_phLayer"));A_nc(d,h,g,A_)&&(e=A_oc(d,h,g),d.gc!=A_&&(e!=A_&&d.gc.id==e.id)&&(f=new A_ic(c.getClientId(),h,g,A_pc(d,h,g),A_qc(d,h,g))))}}else{var g=e.getMousePosition(b.getNativeEvent()),l=A_rc(d,e,g),h=A_;l==AdfPivotTableUtils.Uc&&(h=A_sc(d,e,g.x));l==AdfPivotTableUtils.pd&&
(h=A_tc(d,e,g.y));A_mc(d)&&(h!=A_&&!h.Pd&&A_nc(d,h.Md,h.Fc,A_))&&(e=A_oc(d,h.Md,h.Fc),d.gc!=A_&&(e!=A_&&d.gc.id==e.id)&&(f=new A_ic(c.getClientId(),h.Md,h.Fc,A_pc(d,h.Md,h.Fc),A_qc(d,h.Md,h.Fc))))}return f}
A_jc.prototype.GetDragOverFeedback=function(a){AdfAssert.assertPrototype(a,AdfUIInputEvent);a=A_kc(this,a);if(a!=A_){var b=this.getComponent().getPeer(),c=a.Md,d=a.Fc;a=document.createElement("DIV");a.style.position="absolute";a.style.overflow="hidden";var e=A_oc(b,c,d);a.style.top="20px";a.style.left="20px";a._width=0;var f=AdfAgent.AGENT.getComputedStyle(e),g=e.cloneNode(A_b);g.style.top="0px";b.b.R?g.style.right="0px":g.style.left="0px";g.style.color=f.color;if(c==AdfPivotTableUtils.l){if(AdfPivotTableUtils.F()){var h=
e.style.marginTop,l=e.style.paddingTop;e.style.marginTop="0px";e.style.paddingTop="0px"}g.className=b.r(AdfPivotTableUtils.Wo);g.style.height=e.offsetHeight+1+"px";g.style.width=e.offsetWidth-1+"px";f=g.rows[0].cells[1];f.style.width=parseInt(f.style.width)-1+"px"}else{if(AdfPivotTableUtils.F()){var m=e.style.marginLeft,n=e.style.paddingLeft;e.style.marginLeft="0px";e.style.paddingLeft="0px"}g.className=b.r(AdfPivotTableUtils.$n);g.style.width=e.offsetWidth+1+"px";g.style.height=e.offsetHeight-1+
"px";f=g.rows[1].cells[0];f.style.height=parseInt(f.style.height)-1+"px"}a.appendChild(g);A_uc(b,c,g,A_c);c==AdfPivotTableUtils.l?(a._height=a.dk=e.offsetHeight+1,f=(g=AdfAgent.AGENT.getPlatform()==AdfAgent.IE_PLATFORM)&&8<=AdfAgent.AGENT.getVersion(),g&&!f&&(b.getComponent().wn()?a.dk+=-1:a.dk+=-3)):a._width=a.fH=e.offsetWidth+1;A_vc(b,c,d,a);c==AdfPivotTableUtils.l?(AdfPivotTableUtils.F()&&(e.style.marginTop=h,e.style.paddingTop=l),a.style.width=a._width+"px",h=a._height+200,b=b.je,h>b&&(h=b),a.style.height=
h+"px"):(AdfPivotTableUtils.F()&&(e.style.marginLeft=m,e.style.paddingLeft=n),h=a._width+200,b=b.le,h>b&&(h=b),a.style.width=h+"px",a.style.height=a._height+"px")}else a=A_;return a};A_h("AdfPivotTableDragSource.prototype.GetDragOverFeedback",A_jc.prototype.GetDragOverFeedback);