function A_Oa(a,b){this.Init(a,b)}RichObject.createSubclass(A_Oa);A_Oa.prototype.LL=function(a){if(RichPage.dp.getActiveComponentId()==this.e.CT()){var b=this.e.findComponent(this.xF);b&&(b.setProperty(a.getPropertyName(),a.getNewValue()),a=new ActionEvent(b),b.dispatchEvent(a))}};A_Oa.prototype.Init=function(a,b){A_Oa.superclass.Init.call(this);this.e=a;this.xF=b;a&&(a.tU(A_b),a.addPropertyChangeListener(this.createCallback(this.LL)))};function A_Pa(a){this.Init(a)}RichObject.createSubclass(A_Pa);
A_Pa.prototype.PL=function(a){if(a.getPropertyName()==UIViewRoot.RM){var b=RichPage.dp.sK(),c=a.getOldValue();c&&(c=b.findComponent(c))&&c.removePropertyChangeListener(this.tz);c=A_;if(a=a.getNewValue())(c=b.findComponent(a))&&c.addPropertyChangeListener(this.tz);(b=this.e)&&0<b.Qh()&&A_Qa(this,b,c)}};function A_Qa(a,b,c){b=b.KJ();for(var d=0;d<b.length;d++){var e=b[d];e.jk?e.jk.Tk(c):0<e.Qh()&&A_Qa(a,e,c)}}A_Pa.prototype.OI=function(a){var b=this.e;b&&0<b.Qh()&&A_Ra(this,b,a.getPropertyName())};
function A_Ra(a,b,c){b=b.KJ();for(var d=0;d<b.length;d++){var e=b[d];e.jk?c==e.jk.getPropertyName()&&e.jk.Ah():0<e.Qh()&&A_Ra(a,e,c)}}A_Pa.prototype.GL=function(){RichPage.dp.sK().addPropertyChangeListener(this.createCallback(this.PL))};A_Pa.prototype.Init=function(a){A_Pa.superclass.Init.call(this);this.e=a;this.tz=this.createCallback(this.OI);RichPage.dp.zU(this.createCallback(A_Pa.prototype.GL));a&&(a.nS=this)};function A_Sa(a,b){this.Init(a,b)}RichObject.createSubclass(A_Sa);A_g=A_Sa.prototype;
A_g.getPropertyName=A_aa("GH");A_g.setValue=function(a){var b=this.getActiveComponent();b&&b.setProperty(this.getPropertyName(),a);this.Ah()};A_g.getValue=function(){var a,b=this.getActiveComponent();b&&(a=b.getPropertyValue(this.getPropertyName()));return a};function A_Ta(a,b){A_Ta(a.e,b);a.Ah()}function A_Ua(a){return A_Ua(a.e)}A_g.Tk=function(a){this.XE=a;value=this.getValue();A_Ta(this,value!=A_a)};A_g.getActiveComponent=A_aa("XE");A_g.Ah=A_d();
A_g.Init=function(a,b){A_Sa.superclass.Init.call(this);this.e=a;this.GH=b;a&&(A_Ta(this,A_c),a.jk=this)};function A_Va(a,b,c,d,e){this.Init(a,b,c,d,e)}RichObject.createSubclass(A_Va,A_Sa);A_Va.prototype.Ah=function(){var a;a=A_Ua(this.e)?this.getValue()?this.MF:this.Oq:this.mj;this.e.Hs(a)};A_Va.prototype.NI=function(){A_Ua(this)&&this.setValue(!this.getValue())};A_Va.prototype.Init=function(a,b,c,d,e){this.Oq=c;this.mj=d;this.MF=e;A_Va.superclass.Init.call(this,a,b);a&&a.QI(this.createCallback(this.NI))};
function A_Wa(a,b,c){this.Init(a,b,c)}RichObject.createSubclass(A_Wa,A_Sa);A_Wa.prototype.MK=function(a){this.setValue(a.getSource().hT())};A_Wa.prototype.Tk=function(a){A_Wa.superclass.Tk.call(this,a);var b=this.e.eT("menu");if(b&&(0<b.Qh()&&A_Xa(b),a&&a.getProperty("graphtypelist"))){a=a.getProperty("graphtypelist");for(var c=0;c<a.length/2;c++){var d=new RichCommandMenuItem;d.setId("mtype_"+c);d.Hs(a[2*c]);d.setLabel(a[2*c+1]);d.QI(this.createCallback(this.MK));b.addChild(d)}}};
A_Wa.prototype.Ah=function(){var a;a=A_Ua(this)?this.getValue():this.mj;this.e.Hs(a)};A_Wa.prototype.Init=function(a,b,c){this.mj=c;A_Wa.superclass.Init.call(this,a,b)};function A_Ya(a,b,c,d){this.Init(a,b,c,d)}RichObject.createSubclass(A_Ya,A_Sa);A_Ya.prototype.Tk=function(a){A_Ya.superclass.Tk.call(this,a);a&&(a.getProperty("imageHeight")&&a.getProperty("imageWidth"))&&(this.zm=a.getProperty("imageHeight"),this.kd=a.getProperty("imageWidth"))};
A_Ya.prototype.Ah=function(){this.e.Hs(A_Ua(this)?this.Oq:this.mj)};A_Ya.prototype.Init=function(a,b,c,d){this.Oq=c;this.mj=d;A_Ya.superclass.Init.call(this,a,b)};