function Fe(){this.Init()}m("AdfSafariTouchContextMenuManager",Fe);r.v(Fe,ua);Fe.rCa=500;Fe.prototype.Init=function(){Fe.h.Init.call(this)};r.a("AdfSafariTouchContextMenuManager.prototype.Init",{Init:Fe.prototype.Init});Fe.prototype.ac=function(){var a=this.Tf;a&&(A.c.ic(a),delete this.Tf);delete this.ou;delete this.hU};r.a("AdfSafariTouchContextMenuManager.prototype.dispose",{ac:Fe.prototype.ac});
Fe.prototype.Hu=function(a){var b;switch(a.getType()){case la.Hj:var d=A.c;this.Tf&&(d.ic(this.Tf),delete this.Tf,this.ou=!1);if(1==a.ms()){var e=d.Dg();this.hU=this.ou=!1;e&&e.vha()?this.Tf=d.ta(this,this.bjb,null,Fe.rCa):this.Tf=d.ta(this,this.ajb,a,Fe.rCa)}break;case la.aA:case D.ze:case D.gg:if(a=this.Tf)A.c.ic(a),delete this.Tf;this.ou=this.hU=!1;break;case la.$z:d=this.ou;e=this.hU;this.ou=this.hU=!1;this.Tf?(A.c.ic(this.Tf),delete this.Tf):d&&(e=(b=la.Hu(a))?!0:!1);e&&a.cancel();break;default:b=
null}return b};r.a("AdfSafariTouchContextMenuManager.prototype.deriveContextMenuEvent",{Hu:Fe.prototype.Hu});Fe.prototype.bjb=function(){this.ou=!0;delete this.Tf};Fe.prototype.ajb=function(a){this.ou=!1;delete this.Tf;if(a=la.Hu(a))this.hU=!0,a.getSource().Hg(a)};