var lo=I.ea(I,"AdfDhtmlDialogServicePopupContainerPeer",!0);m("AdfDhtmlDialogServicePopupContainerPeer",lo);lo.C=function(){I.ra(this,Xb.Hl);this.jEa="data-afr-srid"};m("AdfDhtmlDialogServicePopupContainerPeer.InitSubclass",lo.C);lo.prototype.Zb=function(a,b){var d=q.b,e=this.f();if(I.j(e.g(),"content")==a.id)for(var e=C.Dc(a),f=e.length-1;-1<f;f--){var g=e[f];a.removeChild(g);b.appendChild(g);d.Ia(g)}else lo.h.Zb.call(this,a,b)};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.ReplaceDomElement",{Zb:lo.prototype.Zb});lo.prototype.Mz=function(a){a.cancel();a=a.getSource();var b=a.g(),d=a.K("_launchId"),e=a.o();e.bind(a);var e=e.i(),f=a.K("_panelWindowId"),g=A.c.m(f);u.s(g,AdfRichPanelWindow);var h=f=null;g.o().ita(g)&&(f=g.getContentWidth(),h=g.getContentHeight());g=this.f();fh.F(g,b,f,h,d);Pe.Qha(a);A.c.Ri(e);e.parentNode.removeChild(e)};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.HandleComponentPopupClosed",{Mz:lo.prototype.Mz});lo.prototype.jfb=function(a){a&&a.rtnId&&(this.zX=a)};lo.prototype.ifb=function(a){a&&a.rtnId&&a.rtnId==this.pPa&&(this.zX=a)};lo.prototype.aeb=function(a){a&&a.rtnId&&this.lla.push(a.rtnId)};lo.prototype.zsa=function(){var a=this.D(this.jfb);Pe.$().JT(a);a=this.zX;delete this.zX;a&&this.i().setAttribute(lo.jEa,a.rtnId);return a};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getStateLast",{zsa:lo.prototype.zsa});lo.prototype.ysa=function(a){var b=this.D(this.ifb);this.pPa=a;Pe.$().JT(b);b=this.zX;delete this.zX;delete this.pPa;b&&this.i().setAttribute(lo.jEa,a);return b};r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getState",{ysa:lo.prototype.ysa});lo.prototype.dra=function(){var a=this.D(this.aeb);this.lla=[];Pe.$().JT(a);a=this.lla;delete this.lla;return a};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getAllIds",{dra:lo.prototype.dra});lo.prototype.L=function(a){u.Ya(a);var b,d=a,e,f=a.indexOf("#");-1<f&&(d=a.substring(0,f),u.Ya(d),e=a.substring(f+1));if(d=A.c.m(d))b=d.o(),e?b=b.sd(d,e):(b.bind(d),b=b.i());b||v.l.warning("Sub Id doesn't exist for this component:",a);return b};r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.GetSubIdDomElement",{L:lo.prototype.L});A.c.H().dQ("oracle.adfinternal.DialogServicePopupContainer","AdfDhtmlDialogServicePopupContainerPeer");