function Ee(a,b){this.Init(a,b)}m("AdfSafariMobileAgent",Ee);r.v(Ee,Ae);Ee.prototype.Init=function(a,b){Ee.h.Init.call(this,a,b);this.fma=!0};r.a("AdfSafariMobileAgent.prototype.Init",{Init:Ee.prototype.Init});Ee.prototype.GD=function(){return this.Mi()!=q.yl?q.mba:Ee.h.GD.call(this)};r.a("AdfSafariMobileAgent.prototype.GetTouchCapability",{GD:Ee.prototype.GD});Ee.prototype.as=function(a,b,d){return new De(a,b,d)};r.a("AdfSafariMobileAgent.prototype.createTouchMoveManager",{as:Ee.prototype.as});
Ee.prototype.zf=function(){return this.Y().pageYOffset};r.a("AdfSafariMobileAgent.prototype.getBrowserViewportScrollTop",{zf:Ee.prototype.zf});Ee.prototype.Oe=function(){return this.Y().pageXOffset};r.a("AdfSafariMobileAgent.prototype.getBrowserViewportScrollLeft",{Oe:Ee.prototype.Oe});Ee.prototype.LP=function(){return!1};r.a("AdfSafariMobileAgent.prototype.isInlineDialogRepositioningOnScroll",{LP:Ee.prototype.LP});Ee.prototype.sl=function(){return!0};
r.a("AdfSafariMobileAgent.prototype.isSelectionToggle",{sl:Ee.prototype.sl});Ee.prototype.Xb=function(a){if(-1<E.indexOf(q.uA,a.type)){a=la.AA(a);var b=this.zf(),d=this.Oe();return{x:a.clientX+d,y:a.clientY+b}}return Ee.h.Xb.call(this,a)};r.a("AdfSafariMobileAgent.prototype.getMousePosition",{Xb:Ee.prototype.Xb});Ee.prototype.oj=function(a,b,d){var e=Ee.h.DZ.call(this,b.type);e&&e==la.Hj&&(this.fma=!0);return Ee.h.oj.call(this,a,b,d)};r.a("AdfSafariMobileAgent.prototype.getComponentEvent",{oj:Ee.prototype.oj});
Ee.prototype.preventDefault=function(a){Ee.h.preventDefault.call(this,a);a=a.type;if("touchstart"==a||"touchend"==a)this.fma=!1};r.a("AdfSafariMobileAgent.prototype.preventDefault",{preventDefault:Ee.prototype.preventDefault});Ee.prototype.ca=function(a){var b=null,d=a.type;a.D9a?b=Ee.h.ca.call(this,a):-1<E.indexOf(q.uA,d)&&(d=la.AA(a))&&(b=d.target);b||(b=Ee.h.ca.call(this,a));return null!=b?C.Ha(b):null};r.a("AdfSafariMobileAgent.prototype.getEventTarget",{ca:Ee.prototype.ca});
Ee.prototype.kk=function(a){return a.getType()==la.Hj&&1==a.ms()};Ee.prototype.isDragPrepEvent=Ee.prototype.kk;r.a("AdfSafariMobileAgent.prototype.isDragPrepEvent",{kk:Ee.prototype.kk});Ee.prototype.pO=function(){return new Fe};r.a("AdfSafariMobileAgent.prototype.createContextMenuEventGenerator",{pO:Ee.prototype.pO});Ee.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:Ee.prototype.qO});
Ee.prototype.qg=function(a){return Ee.h.qg.call(this,a)||null!=Ee.WCa[a.type]};r.a("AdfSafariMobileAgent.prototype.isLeftButton",{qg:Ee.prototype.qg});Ee.prototype.qQ=function(a){var b=a.getType();if(b==la.Hj&&!a.Aa()&&1==a.ms())Ee.ELa();else if(b==ha.Qm){var b=A.c,d=Ee.Qga,e=b.Pe(d);e||(e={},e.popup=new Ge,b.Df(d,e));e.timer=b.ta(b,Ee.Tmb,a,1)}};r.a("AdfSafariMobileAgent.prototype.showTooltip",{qQ:Ee.prototype.qQ});Ee.prototype.xj=function(a){return!this.fma||Ee.h.xj.call(this,a)};
r.a("AdfSafariMobileAgent.prototype.isDefaultPrevented",{xj:Ee.prototype.xj});Ee.prototype.wO=function(){return!0};r.a("AdfSafariMobileAgent.prototype.disableSelectionToggleOnEditableCell",{wO:Ee.prototype.wO});Ee.prototype.ba=function(a,b,d){a===A.c.R()&&He(this,b,d,!1);Ee.h.ba.call(this,a,b,d)};r.a("AdfSafariMobileAgent.prototype.addBubbleEventListener",{ba:Ee.prototype.ba});Ee.prototype.mj=function(a,b){if(a===A.c.R())for(var d=0;d<q.uA.length;d++)He(this,q.uA[d],b,!0);Ee.h.mj.call(this,a,b)};
r.a("AdfSafariMobileAgent.prototype.addEventCaptures",{mj:Ee.prototype.mj});Ee.prototype.hi=function(a,b){if(a===A.c.R())for(var d=0;d<q.uA.length;d++)He(this,q.uA[d],b,!1);Ee.h.hi.call(this,a,b)};r.a("AdfSafariMobileAgent.prototype.addEventBubbles",{hi:Ee.prototype.hi});Ee.prototype.Xe=function(a,b){var d=Ae.h.Xe.call(this,a,b);d.D9a=!0;return d};r.a("AdfSafariMobileAgent.prototype.cloneEvent",{Xe:Ee.prototype.Xe});Ee.prototype.Dd=function(){return!0};
r.a("AdfSafariMobileAgent.prototype.isTouchFirstDevice",{Dd:Ee.prototype.Dd});Ee.prototype.TKa=function(){return this.Zx};function He(a,b,d,e){a.Zx||(a.Zx=[]);for(var f=0;f<a.Zx.length;f++)if(a.Zx[f].Ju===b&&a.Zx[f].listener===d&&a.Zx[f].capture===e)return;"touchstart"!=b&&"touchmove"!=b&&"touchend"!=b&&"touchcancel"!=b||a.Zx.push({Ju:b,listener:d,capture:e})}
Ee.Tmb=function(a){var b=A.c,d=b.Pe(Ee.Qga);if(d){var e=d.popup,f=a.X();if(a=Ee.ofb(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,Ee.ELa,null,Ee.b7a)):(d.timer=null,q.b.bc(e.Ha(),""))}else d.timer=null,q.b.bc(e.Ha(),"")}};Ee.ELa=function(){var a=A.c,b=a.Pe(Ee.Qga);if(b){var d=b.timer;b.timer=null;d&&a.ic(d);b.popup.Tb()}};
Ee.ofb=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};Ee.b7a=3E3;Ee.Qga="oracle$adfinternal$tooltip";