Dg.prototype.z=function(a){B.Wa(a);var b=a,d=n,e,f=a.indexOf("#");-1<f&&(b=a.substring(0,f),B.Wa(b),e=a.substring(f+1));f=w.b;if("page.alertConfirmPopup"==b)return d=f.getElementById(Dg.VT),e=d.getAttribute(Dg.Lma),f.getElementById(e);if("page.alertConfirmDialog"==b){d=f.getElementById(Dg.VT);d=d.getAttribute(Dg.Q4);d=f.getElementById(d);if(e&&d&&(b=d.id))(f=F.c.j(b))?(a=f.k(),d=a.Wh(f,e)):D.i.warning("component: ",b," doesn't exist for this subid:",a);return d}if("page.dialogService"==b){if((f=F.c.j("afr::DlgSrvPopupCtnr"))&&
e)a=f.k(),d=a.Wh(f,e);return d}if("page.messageDialog"==b)return e=this.Nu(),f.getElementById(e);D.i.warning("Sub Id doesn't exist for this component:",a);return n};z.a("AdfDhtmlDocumentPeer.prototype.GetSubIdDomElement",{z:Dg.prototype.z});
Dg.prototype.D=function(a){var b=w.b,d;if(d=b.getElementById(Dg.VT)){if(a.id&&a.id==d.getAttribute(Dg.Lma))return"page.alertConfirmPopup";d=d.getAttribute(Dg.Q4);if(b=b.getElementById(d)){if(a.id&&a.id==b.id)return"page.alertConfirmDialog";if(b=F.c.j(b.id))if(d=b.k(),d.bind(b),b=d.D(a))return"page.alertConfirmDialog#"+b}}return a.id&&a.id==this.Nu()?"page.messageDialog":n};z.a("AdfDhtmlDocumentPeer.prototype.GetBestMatchSubId",{D:Dg.prototype.D});