AdfRichPopup.GFa="immediate";v("AdfRichPopup.CONTENT_DELIVERY_IMMEDIATE",AdfRichPopup.GFa);AdfRichPopup.Lja="lazy";v("AdfRichPopup.CONTENT_DELIVERY_LAZY",AdfRichPopup.Lja);AdfRichPopup.KS="lazyUncached";v("AdfRichPopup.CONTENT_DELIVERY_LAZY_UNCACHED",AdfRichPopup.KS);AdfRichPopup.Cf="launchId";v("AdfRichPopup.HINT_LAUNCH_ID",AdfRichPopup.Cf);AdfRichPopup.fd="align";v("AdfRichPopup.HINT_ALIGN",AdfRichPopup.fd);AdfRichPopup.of="after_start";v("AdfRichPopup.ALIGN_AFTER_START",AdfRichPopup.of);
AdfRichPopup.jK="after_end";v("AdfRichPopup.ALIGN_AFTER_END",AdfRichPopup.jK);AdfRichPopup.DD="before_start";v("AdfRichPopup.ALIGN_BEFORE_START",AdfRichPopup.DD);AdfRichPopup.w2="before_end";v("AdfRichPopup.ALIGN_BEFORE_END",AdfRichPopup.w2);AdfRichPopup.x2="end_after";v("AdfRichPopup.ALIGN_END_AFTER",AdfRichPopup.x2);AdfRichPopup.bz="end_before";v("AdfRichPopup.ALIGN_END_BEFORE",AdfRichPopup.bz);AdfRichPopup.y2="start_after";v("AdfRichPopup.ALIGN_START_AFTER",AdfRichPopup.y2);AdfRichPopup.z2="start_before";
v("AdfRichPopup.ALIGN_START_BEFORE",AdfRichPopup.z2);AdfRichPopup.kK="overlap";v("AdfRichPopup.ALIGN_OVERLAP",AdfRichPopup.kK);AdfRichPopup.CS="overlap_end_before";v("AdfRichPopup.ALIGN_OVERLAP_END_BEFORE",AdfRichPopup.CS);AdfRichPopup.DS="overlap_start_before";v("AdfRichPopup.ALIGN_OVERLAP_START_BEFORE",AdfRichPopup.DS);AdfRichPopup.BS="before_after";v("AdfRichPopup.ALIGN_BEFORE_AFTER",AdfRichPopup.BS);AdfRichPopup.pf="alignId";v("AdfRichPopup.HINT_ALIGN_ID",AdfRichPopup.pf);AdfRichPopup.yja="disabled";
v("AdfRichPopup.AUTO_CANCEL_DISABLED",AdfRichPopup.yja);AdfRichPopup.zja="enabled";v("AdfRichPopup.AUTO_CANCEL_ENABLED",AdfRichPopup.zja);AdfRichPopup.wja="default";v("AdfRichPopup.ANIMATE_DEFAULT",AdfRichPopup.wja);AdfRichPopup.A2="true";v("AdfRichPopup.ANIMATE_TRUE",AdfRichPopup.A2);AdfRichPopup.lK="false";v("AdfRichPopup.ANIMATE_FALSE",AdfRichPopup.lK);AdfRichPopup.Xla="whenCanceled";v("AdfRichPopup.RESET_EDITABLE_VALUES_WHEN_CANCELED",AdfRichPopup.Xla);
AdfRichPopup.prototype.show=function(a){B.ih(a);this.k().show(this,a)};z.a("AdfRichPopup.prototype.show",{show:AdfRichPopup.prototype.show});AdfRichPopup.prototype.rb=function(){var a=this.k();if(a.J_(this))D.i.finest("Lazy popup content fetch cancled for popupId ",this.e(),", because popup hide was called.");else if(this.Qa()){var b=this.rO(this);b?b.ob():a.rb(this)}else D.i.finest("Popup hide request ignored for popupId ",this.e(),", because popup is not visible.")};
z.a("AdfRichPopup.prototype.hide",{rb:AdfRichPopup.prototype.rb});AdfRichPopup.prototype.cancel=function(){var a=this.k();if(a.J_(this))D.i.finest("Lazy popup content fetch cancled for popupId ",this.e(),", because popup cancel was called.");else if(this.Qa()){var b=this.rO(this);b?b.Xi():a.cancel(this)}else D.i.finest("Popup cancel request ignored for popupId ",this.e(),", because popup is not visible.")};z.a("AdfRichPopup.prototype.cancel",{cancel:AdfRichPopup.prototype.cancel});
AdfRichPopup.prototype.Qa=function(){var a=this.rO(this);return a?a.Qa(a.d(),a.d().e()):this.k().hc(this)};z.a("AdfRichPopup.prototype.isPopupVisible",{Qa:AdfRichPopup.prototype.Qa});AdfRichPopup.prototype.rO=function(a){var b=n;a.lg(this.yQ,this,l);this.kr&&(b=this.kr.k(),delete this.kr);return b};AdfRichPopup.prototype.yQ=function(a){a instanceof AdfRichMenu&&(this.kr=a);return 2};