function ef(a,b,d){this.Init(a,b,d)}m("AdfCheckRegionUncommittedDataBehavior",ef);r.v(ef,Aa);ef.prototype.Init=function(a,b,d){ef.h.Init.call(this);this.L6=a;this.$M=b;this.bH=d};r.a("AdfCheckRegionUncommittedDataBehavior.prototype.Init",{Init:ef.prototype.Init});ef.prototype.Qa=function(a){var b=ab.ed;"removeItem"==this.bH&&(b=Ob.rca);a.addEventListener(b,this.pg,this)};r.a("AdfCheckRegionUncommittedDataBehavior.prototype.initialize",{Qa:ef.prototype.Qa});
ef.prototype.pg=function(a){var b=a.getSource();u.og(this.L6);var d=null;if(null!=this.L6)for(var d=[],e=0;e<this.L6.length;e++){var f=b.m(this.L6[e]);null!=f&&d.push(f.g())}else{a:{for(e=b.getParent();null!=e;){if("oracle.adf.RichRegion"==e.getComponentType())break a;e=e.getParent()}e=null}null!=e&&(d=[e.g()])}null!=d&&0<d.length?A.c.qY(d,this.$M)||a.cancel():v.l.warning("Failed to resolve target region Ids for \x3caf:checkRegionUncommittedDataBehavior\x3e of "+b.Ga())};
r.a("AdfCheckRegionUncommittedDataBehavior.prototype.fire",{pg:ef.prototype.pg});