function Ge(a,b){this.Init(a,b)}m("AdfSafariMobileAgent",Ge);r.v(Ge,Ce);Ge.prototype.Init=function(a,b){Ge.h.Init.call(this,a,b);this.ima=!0};r.a("AdfSafariMobileAgent.prototype.Init",{Init:Ge.prototype.Init});Ge.prototype.GD=function(){return this.Ni()!=q.yl?q.oba:Ge.h.GD.call(this)};r.a("AdfSafariMobileAgent.prototype.GetTouchCapability",{GD:Ge.prototype.GD});Ge.prototype.bs=function(a,b,d){return new Fe(a,b,d)};r.a("AdfSafariMobileAgent.prototype.createTouchMoveManager",{bs:Ge.prototype.bs});
Ge.prototype.zf=function(){return this.Y().pageYOffset};r.a("AdfSafariMobileAgent.prototype.getBrowserViewportScrollTop",{zf:Ge.prototype.zf});Ge.prototype.Pe=function(){return this.Y().pageXOffset};r.a("AdfSafariMobileAgent.prototype.getBrowserViewportScrollLeft",{Pe:Ge.prototype.Pe});Ge.prototype.LP=function(){return!1};r.a("AdfSafariMobileAgent.prototype.isInlineDialogRepositioningOnScroll",{LP:Ge.prototype.LP});Ge.prototype.sl=function(){return!0};
r.a("AdfSafariMobileAgent.prototype.isSelectionToggle",{sl:Ge.prototype.sl});Ge.prototype.Xb=function(a){if(-1<E.indexOf(q.uA,a.type)){a=la.AA(a);var b=this.zf(),d=this.Pe();return{x:a.clientX+d,y:a.clientY+b}}return Ge.h.Xb.call(this,a)};r.a("AdfSafariMobileAgent.prototype.getMousePosition",{Xb:Ge.prototype.Xb});Ge.prototype.pj=function(a,b,d){var e=Ge.h.DZ.call(this,b.type);e&&e==la.Hj&&(this.ima=!0);return Ge.h.pj.call(this,a,b,d)};r.a("AdfSafariMobileAgent.prototype.getComponentEvent",{pj:Ge.prototype.pj});
Ge.prototype.preventDefault=function(a){Ge.h.preventDefault.call(this,a);a=a.type;if("touchstart"==a||"touchend"==a)this.ima=!1};r.a("AdfSafariMobileAgent.prototype.preventDefault",{preventDefault:Ge.prototype.preventDefault});Ge.prototype.ca=function(a){var b=null,d=a.type;a.G9a?b=Ge.h.ca.call(this,a):-1<E.indexOf(q.uA,d)&&(d=la.AA(a))&&(b=d.target);b||(b=Ge.h.ca.call(this,a));return null!=b?C.Ha(b):null};r.a("AdfSafariMobileAgent.prototype.getEventTarget",{ca:Ge.prototype.ca});
Ge.prototype.kk=function(a){return a.getType()==la.Hj&&1==a.ns()};Ge.prototype.isDragPrepEvent=Ge.prototype.kk;r.a("AdfSafariMobileAgent.prototype.isDragPrepEvent",{kk:Ge.prototype.kk});Ge.prototype.pO=function(){return new He};r.a("AdfSafariMobileAgent.prototype.createContextMenuEventGenerator",{pO:Ge.prototype.pO});Ge.prototype.qO=function(a){var b=a.ownerDocument.createElement("DIV");C.w(b,q.R_);this.M_(a,b);return b};r.a("AdfSafariMobileAgent.prototype.createDraggableNode",{qO:Ge.prototype.qO});
Ge.prototype.qg=function(a){return Ge.h.qg.call(this,a)||null!=Ge.$Ca[a.type]};r.a("AdfSafariMobileAgent.prototype.isLeftButton",{qg:Ge.prototype.qg});Ge.prototype.qQ=function(a){var b=a.getType();if(b==la.Hj&&!a.Aa()&&1==a.ns())Ge.JLa();else if(b==ha.Qm){var b=A.c,d=Ge.Sga,e=b.Qe(d);e||(e={},e.popup=new Ke,b.Df(d,e));e.timer=b.ta(b,Ge.Tmb,a,1)}};r.a("AdfSafariMobileAgent.prototype.showTooltip",{qQ:Ge.prototype.qQ});Ge.prototype.yj=function(a){return!this.ima||Ge.h.yj.call(this,a)};
r.a("AdfSafariMobileAgent.prototype.isDefaultPrevented",{yj:Ge.prototype.yj});Ge.prototype.wO=function(){return!0};r.a("AdfSafariMobileAgent.prototype.disableSelectionToggleOnEditableCell",{wO:Ge.prototype.wO});Ge.prototype.ba=function(a,b,d){a===A.c.R()&&Ne(this,b,d,!1);Ge.h.ba.call(this,a,b,d)};r.a("AdfSafariMobileAgent.prototype.addBubbleEventListener",{ba:Ge.prototype.ba});Ge.prototype.nj=function(a,b){if(a===A.c.R())for(var d=0;d<q.uA.length;d++)Ne(this,q.uA[d],b,!0);Ge.h.nj.call(this,a,b)};
r.a("AdfSafariMobileAgent.prototype.addEventCaptures",{nj:Ge.prototype.nj});Ge.prototype.hi=function(a,b){if(a===A.c.R())for(var d=0;d<q.uA.length;d++)Ne(this,q.uA[d],b,!1);Ge.h.hi.call(this,a,b)};r.a("AdfSafariMobileAgent.prototype.addEventBubbles",{hi:Ge.prototype.hi});Ge.prototype.Ye=function(a,b){var d=Ce.h.Ye.call(this,a,b);d.G9a=!0;return d};r.a("AdfSafariMobileAgent.prototype.cloneEvent",{Ye:Ge.prototype.Ye});Ge.prototype.Dd=function(){return!0};
r.a("AdfSafariMobileAgent.prototype.isTouchFirstDevice",{Dd:Ge.prototype.Dd});Ge.prototype.YKa=function(){return this.$x};function Ne(a,b,d,e){a.$x||(a.$x=[]);for(var f=0;f<a.$x.length;f++)if(a.$x[f].Ku===b&&a.$x[f].listener===d&&a.$x[f].capture===e)return;"touchstart"!=b&&"touchmove"!=b&&"touchend"!=b&&"touchcancel"!=b||a.$x.push({Ku:b,listener:d,capture:e})}
Ge.Tmb=function(a){var b=A.c,d=b.Qe(Ge.Sga);if(d){var e=d.popup,f=a.X();if(a=Ge.pfb(f)){var g=b.Bm(),h=AdfRichPopup.qf,l=e.getHeight(),n=e.getWidth(),f=g.k8(l,n,h,f,null);0<f.y&&0<f.x?(q.b.bc(e.Ha(),a),e.show(f.y,f.x),d.timer=b.ta(b,Ge.JLa,null,Ge.e7a)):(d.timer=null,q.b.bc(e.Ha(),""))}else d.timer=null,q.b.bc(e.Ha(),"")}};Ge.JLa=function(){var a=A.c,b=a.Qe(Ge.Sga);if(b){var d=b.timer;b.timer=null;d&&a.ic(d);b.popup.Tb()}};
Ge.pfb=function(a){for(var b=0;null!=a&&20>b++;){if(1==a.nodeType){var d=a.getAttribute("title");if(d&&0<d.length)return d}a=a.parentNode}return null};Ge.e7a=3E3;Ge.Sga="oracle$adfinternal$tooltip";