function Li(a){this.Init(a)}m("AdfAbstractFloatingElement",Li);r.v(Li);Li.prototype.Init=function(a){Li.h.Init.call(this);this.Ldb=a;this.fHa=this.GPa=this.Un=this.t3=null};r.a("AdfAbstractFloatingElement.prototype.Init",{Init:Li.prototype.Init});Li.prototype.b0=function(){var a=A.c.R();return a.forms&&0<a.forms.length&&a.forms[0].id?a.forms[0].id:null};r.a("AdfAbstractFloatingElement.prototype.GetFirstFormId",{b0:Li.prototype.b0});
Li.prototype.jaa=function(a){this.Un=a;this.sI(a);var b=a.style;b.position="absolute";b.zIndex=2;this.UD()&&A.c.Gg().Ur(a,this.c0(),this.b0())};r.a("AdfAbstractFloatingElement.prototype.setElement",{jaa:Li.prototype.jaa});Li.prototype.UD=function(){return!0};r.a("AdfAbstractFloatingElement.prototype.ImmediateZorderRegistration",{UD:Li.prototype.UD});Li.prototype.Ha=function(){return this.Un};r.a("AdfAbstractFloatingElement.prototype.getElement",{Ha:Li.prototype.Ha});
Li.prototype.iQ=function(a){a&&a.id?(this.nia=a.id,delete this.t3):(this.t3=a,delete this.nia)};r.a("AdfAbstractFloatingElement.prototype.setAlignElement",{iQ:Li.prototype.iQ});Li.prototype.qv=function(a){this.fHa=a;delete this.t3;delete this.nia};r.a("AdfAbstractFloatingElement.prototype.setAlignPosition",{qv:Li.prototype.qv});Li.prototype.jC=function(){return this.fHa};r.a("AdfAbstractFloatingElement.prototype.getAlignPosition",{jC:Li.prototype.jC});
Li.prototype.Pp=function(){var a=this.nia,b=this.t3;a&&!b&&(b=q.b.getElementById(a));return b};r.a("AdfAbstractFloatingElement.prototype.getAlignElement",{Pp:Li.prototype.Pp});Li.prototype.show=function(){this.Un.style.display=""};r.a("AdfAbstractFloatingElement.prototype.show",{show:Li.prototype.show});Li.prototype.Tb=function(){this.Un.style.display="none"};r.a("AdfAbstractFloatingElement.prototype.hide",{Tb:Li.prototype.Tb});Li.prototype.cancel=function(){this.Tb()};
r.a("AdfAbstractFloatingElement.prototype.cancel",{cancel:Li.prototype.cancel});Li.prototype.Jd=function(){A.c.Gg().Ti(this.Un)};r.a("AdfAbstractFloatingElement.prototype.destroy",{Jd:Li.prototype.Jd});Li.prototype.getWidth=function(){return this.Ha().offsetWidth};r.a("AdfAbstractFloatingElement.prototype.getWidth",{getWidth:Li.prototype.getWidth});Li.prototype.getHeight=function(){return this.Ha().offsetHeight};r.a("AdfAbstractFloatingElement.prototype.getHeight",{getHeight:Li.prototype.getHeight});
Li.prototype.sI=function(a){this.GPa=a};r.a("AdfAbstractFloatingElement.prototype.setShadowAnchor",{sI:Li.prototype.sI});Li.prototype.Zf=function(){return this.GPa};r.a("AdfAbstractFloatingElement.prototype.getShadowAnchor",{Zf:Li.prototype.Zf});Li.prototype.mVa=function(a){isNaN(a)||(a+="px");this.Un.style.top=a;Mi.vj(this.Zf())&&Mi.gv(this.Zf())};r.a("AdfAbstractFloatingElement.prototype.setTop",{mVa:Li.prototype.mVa});Li.prototype.vP=function(){return parseInt(this.Un.style.top)};
r.a("AdfAbstractFloatingElement.prototype.getTop",{vP:Li.prototype.vP});Li.prototype.aVa=function(a){isNaN(a)||(a+="px");this.Un.style.left=a;Mi.vj(this.Zf())&&Mi.gv(this.Zf())};r.a("AdfAbstractFloatingElement.prototype.setLeft",{aVa:Li.prototype.aVa});Li.prototype.$O=function(){return parseInt(this.Un.style.left)};r.a("AdfAbstractFloatingElement.prototype.getLeft",{$O:Li.prototype.$O});
Li.prototype.setPosition=function(a,b){isNaN(a)||(a+="px");isNaN(b)||(b+="px");this.Un.style.left=b;this.Un.style.top=a;Mi.vj(this.Zf())&&Mi.gv(this.Zf())};r.a("AdfAbstractFloatingElement.prototype.setPosition",{setPosition:Li.prototype.setPosition});Li.prototype.vl=function(){A.c.Gg().vl(this.Un)};r.a("AdfAbstractFloatingElement.prototype.raiseToFront",{vl:Li.prototype.vl});
Li.prototype.N_=function(a,b){for(var d=A.c.R().createElement("table"),e=0;e<a;e++)for(var f=d.insertRow(e),g=0;g<b;g++)f.insertCell(g);d.cellPadding=0;d.cellSpacing=0;d.Ao="presentation";return d};r.a("AdfAbstractFloatingElement.prototype.CreateTable",{N_:Li.prototype.N_});Li.prototype.c0=function(){return this.Ldb};r.a("AdfAbstractFloatingElement.prototype.GetFloatingType",{c0:Li.prototype.c0});