function Ke(){this.Init();this.HP=[];this.VY=[]}v("AdfRichTextEditorBehaviorManager",Ke);z.l(Ke);Ke.O=function(){Ke.Koa==k&&(Ke.Koa=new Ke);return Ke.Koa};v("AdfRichTextEditorBehaviorManager.getInstance",Ke.O);Ke.prototype.yg=function(a,b,d,e,f,g,h){for(var m=this.HP.length,q=0;q<m;q++){var s=this.HP[q];if(s.be==a&&s.Iea==b&&s.Pe==e)return s.oe=f,p}m=F.c.j(a);if(m!=n&&0<=ya.indexOf(this.VY,a))return m.k().yg(b,d,e,f,g,h),l;this.HP.push({be:a,Iea:b,Pe:e,oe:f,propertyName:g,Tr:h});return p};
z.a("AdfRichTextEditorBehaviorManager.prototype.addBinding",{yg:Ke.prototype.yg});Ke.prototype.SJ=function(a){B.J(a,AdfRichTextEditor);var b=a.e();a=a.k();this.VY.push(b);for(var d=this.HP,e=[],f=d.length,g=0;g<f;g++){var h=d[g],m=F.c.j(h.Iea),q=F.c.j(h.be),s=n;q!=n&&(s=q.e());s==b?a.yg(h.Iea,m,h.Pe,h.oe,h.propertyName,h.Tr):e.push(h)}this.HP=e};z.a("AdfRichTextEditorBehaviorManager.prototype.registerComponent",{SJ:Ke.prototype.SJ});
Ke.prototype.ija=function(a){B.J(a,AdfRichTextEditor);ya.MDa(this.VY,a.e())};z.a("AdfRichTextEditorBehaviorManager.prototype.unregisterComponent",{ija:Ke.prototype.ija});Ke.prototype.WCa=function(a){return 0<=ya.indexOf(this.VY,a)};z.a("AdfRichTextEditorBehaviorManager.prototype.isComponentIdRegistered",{WCa:Ke.prototype.WCa});