var vx=I.ea(Dt,"AdfDhtmlShowDetailItemPeer");m("AdfDhtmlShowDetailItemPeer",vx);vx.C=function(){I.sb(this,AdfRichShowDetailItem.FLEX,AdfRichShowDetailItem.INFLEXIBLE_HEIGHT)};m("AdfDhtmlShowDetailItemPeer.InitSubclass",vx.C);
vx.prototype.G=function(a,b){vx.h.G.call(this,a,b);if("first"==a.getStretchChildren()){var d=C.vC(b);if(d&&wx(this,a,d)){var e=d.style;e.position="absolute";"IFRAME"==d.tagName?(e.width="100%",e.height="100%"):(e.width="auto",e.height="auto",e.top="0px",e.bottom="0px",e.left="0px",e.right="0px")}}else q.b.S()==q.ia&&(d=C.vC(b))&&d.style&&"100%"==d.style.height&&wx(this,a,d)&&(d.style.position="absolute")};r.a("AdfDhtmlShowDetailItemPeer.prototype.InitDomElement",{G:vx.prototype.G});
vx.prototype.$v=function(a){a=a.g();return q.oa().getElementById(I.j(a,"icon"))};r.a("AdfDhtmlShowDetailItemPeer.prototype.GetElementToReplaceWithSVG",{$v:vx.prototype.$v});
function wx(a,b,d){var e=d.parentNode;if(window.AdfRichPanelTabbed&&b.getParent()instanceof AdfRichPanelTabbed){b=1;for(e=d.parentNode;4>b&&null!=e;)e=e.parentNode,null!=e&&++b;if(4==b&&null!=e&&"TD"==e.tagName)return a.Eia=!0,!1}else if(window.AdfRichPanelAccordion&&b.getParent()instanceof AdfRichPanelAccordion){if("absolute"!=e.style.position)return a.Eia=!0,!1}else if(window.AdfRichPanelSpringboard&&b.getParent()instanceof AdfRichPanelSpringboard&&"absolute"!=e.style.position)return a.Eia=!0,!1;
return!0}vx.prototype.vd=function(a){if(!A.c.Zg()){var b=this.f(),d=b.getParent();d&&"oracle.adf.RichPanelTabbed"==d.getComponentType()&&(b=b.g(),xx(b,$t.cS,a),xx(b,$t.dS,a))}};r.a("AdfDhtmlShowDetailItemPeer.prototype.SetBusy",{vd:vx.prototype.vd});vx.prototype.Awa=function(a){return a.Wca?!0:!1};r.a("AdfDhtmlShowDetailItemPeer.prototype.ComponentFlexChanged",{Awa:vx.prototype.Awa});vx.prototype.Dwa=function(a){return a.Wca?!0:!1};
r.a("AdfDhtmlShowDetailItemPeer.prototype.ComponentInflexibleHeightChanged",{Dwa:vx.prototype.Dwa});vx.prototype.nc=function(a){if(!this.Eia){var b=this.f();if("absolute"!=a.style.position&&"absolute"==a.parentNode.style.position)if("first"==b.getStretchChildren())C.vC(this.i())==a&&(b=a.style,b.position="absolute",b.width="100%",b.height="100%");else if(q.b.S()==q.ia){var d=C.vC(this.i());d&&d==a&&d.style&&"100%"==d.style.height&&wx(this,b,d)&&(d.style.position="absolute")}return a}};
r.a("AdfDhtmlShowDetailItemPeer.prototype.DomReplaceNotify",{nc:vx.prototype.nc});function xx(a,b,d){a=I.j(a,b);(a=q.oa().getElementById(a))&&C.qd(d,a,I.kba)}vx.prototype.fl=function(a){var b=this.f(),d=b.getParent(),e=d.o();return e&&e.fl?(e.bind(d),e.fl(a)):b.g()};r.a("AdfDhtmlShowDetailItemPeer.prototype.getContainerId",{fl:vx.prototype.fl});