function cf(a,b,d){this.Init(a,b,d)}m("AdfCheckRegionUncommittedDataBehavior",cf);r.v(cf,Aa);cf.prototype.Init=function(a,b,d){cf.h.Init.call(this);this.L6=a;this.$M=b;this.bH=d};r.a("AdfCheckRegionUncommittedDataBehavior.prototype.Init",{Init:cf.prototype.Init});cf.prototype.Qa=function(a){var b=ab.cd;"removeItem"==this.bH&&(b=Ob.pca);a.addEventListener(b,this.pg,this)};r.a("AdfCheckRegionUncommittedDataBehavior.prototype.initialize",{Qa:cf.prototype.Qa});
cf.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:cf.prototype.pg});