var no=I.ea(I,"AdfDhtmlDialogServicePopupContainerPeer",!0);m("AdfDhtmlDialogServicePopupContainerPeer",no);no.C=function(){I.ra(this,Xb.Hl);this.nEa="data-afr-srid"};m("AdfDhtmlDialogServicePopupContainerPeer.InitSubclass",no.C);no.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 no.h.Zb.call(this,a,b)};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.ReplaceDomElement",{Zb:no.prototype.Zb});no.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().lta(g)&&(f=g.getContentWidth(),h=g.getContentHeight());g=this.f();hh.F(g,b,f,h,d);Re.Sha(a);A.c.Si(e);e.parentNode.removeChild(e)};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.HandleComponentPopupClosed",{Mz:no.prototype.Mz});no.prototype.kfb=function(a){a&&a.rtnId&&(this.zX=a)};no.prototype.jfb=function(a){a&&a.rtnId&&a.rtnId==this.uPa&&(this.zX=a)};no.prototype.beb=function(a){a&&a.rtnId&&this.ola.push(a.rtnId)};no.prototype.Csa=function(){var a=this.D(this.kfb);Re.$().JT(a);a=this.zX;delete this.zX;a&&this.i().setAttribute(no.nEa,a.rtnId);return a};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getStateLast",{Csa:no.prototype.Csa});no.prototype.Bsa=function(a){var b=this.D(this.jfb);this.uPa=a;Re.$().JT(b);b=this.zX;delete this.zX;delete this.uPa;b&&this.i().setAttribute(no.nEa,a);return b};r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getState",{Bsa:no.prototype.Bsa});no.prototype.hra=function(){var a=this.D(this.beb);this.ola=[];Re.$().JT(a);a=this.ola;delete this.ola;return a};
r.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getAllIds",{hra:no.prototype.hra});no.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:no.prototype.L});A.c.H().dQ("oracle.adfinternal.DialogServicePopupContainer","AdfDhtmlDialogServicePopupContainerPeer");