var xx=I.ea(Ft,"AdfDhtmlShowDetailItemPeer");m("AdfDhtmlShowDetailItemPeer",xx);xx.C=function(){I.sb(this,AdfRichShowDetailItem.FLEX,AdfRichShowDetailItem.INFLEXIBLE_HEIGHT)};m("AdfDhtmlShowDetailItemPeer.InitSubclass",xx.C);
xx.prototype.G=function(a,b){xx.h.G.call(this,a,b);if("first"==a.getStretchChildren()){var d=C.vC(b);if(d&&yx(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&&yx(this,a,d)&&(d.style.position="absolute")};r.a("AdfDhtmlShowDetailItemPeer.prototype.InitDomElement",{G:xx.prototype.G});
xx.prototype.aw=function(a){a=a.g();return q.oa().getElementById(I.j(a,"icon"))};r.a("AdfDhtmlShowDetailItemPeer.prototype.GetElementToReplaceWithSVG",{aw:xx.prototype.aw});
function yx(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.Hia=!0,!1}else if(window.AdfRichPanelAccordion&&b.getParent()instanceof AdfRichPanelAccordion){if("absolute"!=e.style.position)return a.Hia=!0,!1}else if(window.AdfRichPanelSpringboard&&b.getParent()instanceof AdfRichPanelSpringboard&&"absolute"!=e.style.position)return a.Hia=!0,!1;
return!0}xx.prototype.vd=function(a){if(!A.c.Zg()){var b=this.f(),d=b.getParent();d&&"oracle.adf.RichPanelTabbed"==d.getComponentType()&&(b=b.g(),zx(b,bu.cS,a),zx(b,bu.dS,a))}};r.a("AdfDhtmlShowDetailItemPeer.prototype.SetBusy",{vd:xx.prototype.vd});xx.prototype.Ewa=function(a){return a.Yca?!0:!1};r.a("AdfDhtmlShowDetailItemPeer.prototype.ComponentFlexChanged",{Ewa:xx.prototype.Ewa});xx.prototype.Hwa=function(a){return a.Yca?!0:!1};
r.a("AdfDhtmlShowDetailItemPeer.prototype.ComponentInflexibleHeightChanged",{Hwa:xx.prototype.Hwa});xx.prototype.nc=function(a){if(!this.Hia){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&&yx(this,b,d)&&(d.style.position="absolute")}return a}};
r.a("AdfDhtmlShowDetailItemPeer.prototype.DomReplaceNotify",{nc:xx.prototype.nc});function zx(a,b,d){a=I.j(a,b);(a=q.oa().getElementById(a))&&C.qd(d,a,I.mba)}xx.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:xx.prototype.fl});