function ee(a,b){this.Init(a,b)}v("AdfSafariMobileAgent",ee);z.l(ee,ae);ee.prototype.Init=function(a,b){ee.f.Init.call(this,a,b);this.aY=l};z.a("AdfSafariMobileAgent.prototype.Init",{Init:ee.prototype.Init});ee.prototype.zz=function(){return this.ph()!=w.ek?w.N2:ee.f.zz.call(this)};z.a("AdfSafariMobileAgent.prototype.GetTouchCapability",{zz:ee.prototype.zz});ee.prototype.qp=function(a,b,d){return new de(a,b,d)};z.a("AdfSafariMobileAgent.prototype.createTouchMoveManager",{qp:ee.prototype.qp});
ee.prototype.xf=function(){return this.R().pageYOffset};z.a("AdfSafariMobileAgent.prototype.getBrowserViewportScrollTop",{xf:ee.prototype.xf});ee.prototype.De=function(){return this.R().pageXOffset};z.a("AdfSafariMobileAgent.prototype.getBrowserViewportScrollLeft",{De:ee.prototype.De});ee.prototype.CJ=t(p);z.a("AdfSafariMobileAgent.prototype.isInlineDialogRepositioningOnScroll",{CJ:ee.prototype.CJ});ee.prototype.Op=t(l);z.a("AdfSafariMobileAgent.prototype.isSelectionToggle",{Op:ee.prototype.Op});
ee.prototype.Qb=function(a){if(-1<ya.indexOf(w.zw,a.type)){a=ma.Ew(a);var b=this.xf(),d=this.De();return{x:a.clientX+d,y:a.clientY+b}}return ee.f.Qb.call(this,a)};z.a("AdfSafariMobileAgent.prototype.getMousePosition",{Qb:ee.prototype.Qb});ee.prototype.vi=function(a,b,d){var e=ee.f.LR.call(this,b.type);if(e){switch(e){case ma.sj:this.aY=l}return new ma(a,e,b)}return this.aY?ee.f.vi.call(this,a,b,d):n};z.a("AdfSafariMobileAgent.prototype.getComponentEvent",{vi:ee.prototype.vi});
ee.prototype.preventDefault=function(a){ee.f.preventDefault.call(this,a);a=a.type;if("touchstart"==a||"touchend"==a)this.aY=p};z.a("AdfSafariMobileAgent.prototype.preventDefault",{preventDefault:ee.prototype.preventDefault});ee.prototype.T=function(a){var b=n,d=a.type;if(a.uRa)b=ee.f.T.call(this,a);else if(-1<ya.indexOf(w.zw,d)&&(d=ma.Ew(a)))b=d.target;b||(b=ee.f.T.call(this,a));return b!=n?H.La(b):n};z.a("AdfSafariMobileAgent.prototype.getEventTarget",{T:ee.prototype.T});
ee.prototype.cj=function(a){return a.getType()==ma.sj&&1==a.Gp()};v("AdfSafariMobileAgent.prototype.isDragPrepEvent",ee.prototype.cj);z.a("AdfSafariMobileAgent.prototype.isDragPrepEvent",{cj:ee.prototype.cj});ee.prototype.pI=function(){return new fe};z.a("AdfSafariMobileAgent.prototype.createContextMenuEventGenerator",{pI:ee.prototype.pI});ee.prototype.qI=function(a){var b=a.ownerDocument.createElement("DIV");H.n(b,w.SS);this.NS(a,b);return b};
z.a("AdfSafariMobileAgent.prototype.createDraggableNode",{qI:ee.prototype.qI});ee.prototype.Eg=function(a){return ee.f.Eg.call(this,a)||ee.tpa[a.type]!=n};z.a("AdfSafariMobileAgent.prototype.isLeftButton",{Eg:ee.prototype.Eg});ee.prototype.$J=function(a){var b=a.getType();if(b==ma.sj&&!a.na()&&1==a.Gp())ee.qwa();else if(b==ia.Zk){var b=F.c,d=ee.K7,e=b.Ge(d);e||(e={},e.popup=new he,b.Pf(d,e));e.timer=b.oa(b,ee.V0a,a,1)}};z.a("AdfSafariMobileAgent.prototype.showTooltip",{$J:ee.prototype.$J});
ee.prototype.Ai=function(a){return!this.aY||ee.f.Ai.call(this,a)};z.a("AdfSafariMobileAgent.prototype.isDefaultPrevented",{Ai:ee.prototype.Ai});ee.prototype.wI=t(l);z.a("AdfSafariMobileAgent.prototype.disableSelectionToggleOnEditableCell",{wI:ee.prototype.wI});ee.prototype.S=function(a,b,d){a===F.c.w()&&ie(this,b,d,p);ee.f.S.call(this,a,b,d)};z.a("AdfSafariMobileAgent.prototype.addBubbleEventListener",{S:ee.prototype.S});
ee.prototype.ti=function(a,b){if(a===F.c.w())for(var d=0;d<w.zw.length;d++)ie(this,w.zw[d],b,l);ee.f.ti.call(this,a,b)};z.a("AdfSafariMobileAgent.prototype.addEventCaptures",{ti:ee.prototype.ti});ee.prototype.hh=function(a,b){if(a===F.c.w())for(var d=0;d<w.zw.length;d++)ie(this,w.zw[d],b,p);ee.f.hh.call(this,a,b)};z.a("AdfSafariMobileAgent.prototype.addEventBubbles",{hh:ee.prototype.hh});ee.prototype.ne=function(a,b){var d=ae.f.ne.call(this,a,b);d.uRa=l;return d};
z.a("AdfSafariMobileAgent.prototype.cloneEvent",{ne:ee.prototype.ne});ee.prototype.Hy=t(l);z.a("AdfSafariMobileAgent.prototype.isTouchFirstDevice",{Hy:ee.prototype.Hy});ee.prototype.Jva=r("su");function ie(a,b,d,e){a.su||(a.su=[]);for(var f=0;f<a.su.length;f++)if(a.su[f].Tr===b&&a.su[f].ak===d&&a.su[f].capture===e)return;("touchstart"==b||"touchmove"==b||"touchend"==b||"touchcancel"==b)&&a.su.push({Tr:b,ak:d,capture:e})}
ee.V0a=function(a){var b=F.c,d=b.Ge(ee.K7);if(d){var e=d.popup,f=a.Q();if(a=ee.SVa(f)){var g=b.bm(),h=AdfRichPopup.of,m=e.getHeight(),q=e.getWidth(),f=g.o_(m,q,h,f,n);0<f.y&&0<f.x?(w.b.yb(e.La(),a),e.show(f.y,f.x),d.timer=b.oa(b,ee.qwa,n,ee.iPa)):(d.timer=n,w.b.yb(e.La(),""))}else d.timer=n,w.b.yb(e.La(),"")}};ee.qwa=function(){var a=F.c,b=a.Ge(ee.K7);if(b){var d=b.timer;b.timer=n;d&&a.ac(d);b.popup.rb()}};
ee.SVa=function(a){for(var b=0;a!=n&&20>b++;){if(1==a.nodeType){var d=a.getAttribute("title");if(d&&0<d.length)return d}a=a.parentNode}return n};ee.iPa=3E3;ee.K7="oracle$adfinternal$tooltip";