_e88.js 4.8 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _e88(_3v6, _r28, _vl7){_be9._452("_px5");this._7p6=_3v6;this._0w7=_r28;this._0d7=_vl7;var _837=_3v6.getAttribute("id");if(!_837){_837=_fe9._sv5("menubar");_3v6.setAttribute("id", _837);}_r28.setAttribute("id", _837);this._c94=this._7p6.className;if(!this._7p6.className){this._7p6.className="clsMenubar";}this._7p6.onmousedown=_px5._dm1;this._7p6.onmouseover=this._em1;this._7p6.onmouseout=this._dx1;this._j82();_px5._d21(_r28, this._7p6, _vl7, this);_px5._1z5(this._7p6, _r28);};_e88.prototype._809=function(){return this._0w7.getAttribute("id");};_e88.prototype._1o8=function(){if(this._0w7){_px5._qn(this._0w7);this._0w7=null;}this._0d7=null;if(this._7p6){this._7p6.className=this._c94;this._7p6.onmousedown=null;this._7p6.onmouseover=null;this._7p6.onmouseout=null;this._j7();this._7p6.innerHTML="";this._7p6=null;}this._y52();};_e88.prototype._ud3=function(_8z6){_px5._ud3(_8z6);};_e88.prototype._gy3=function(_8z6){_px5._gy3(_8z6);};_e88.prototype._785=function(_sf9){return _px5._785(_sf9);};_e88.prototype._dv5=function(_sf9){return _px5._dv5(this._0w7, _sf9);};_e88.prototype._u12=function(_nr5,_1k7){return _px5._u12(this._0w7, _nr5, _1k7);};_e88.prototype._tk4=function(_8z6){return _px5._f89(_8z6);};_e88.prototype._my2=function(_8g6,_ux8,_r17){_px5._my2(this._0w7, _8g6, _ux8, _r17);};_e88.prototype._o42=function(_8g6,_m78){_px5._o42(this._0w7, _8g6, _m78);};_e88.prototype._l42=function(_8g6,_9u6){_px5._l42(this._0w7, _8g6, _9u6);};_e88.prototype._n42=function(_8g6,_cy7,_v69){_px5._ny2(this._0w7, _8g6, _cy7, _v69);};_e88.prototype._m42=function(_8g6,_by7){_px5._m42(this._0w7, _8g6, _by7);};_e88.prototype._014=function(_dl8,_by7){var el=document.getElementById(_dl8);if(el){el.style.display=_by7?"":"none";}};_e88.prototype._k42=function(_8g6,_9y7){_px5._k42(this._0w7, _8g6, _9y7);};_e88.prototype._f81=function(_8g6,_9y7){_px5._f81(this._0w7, _8g6, _9y7);};_e88.prototype._k75=function(_nr5,_tu6){return _px5._k75(_nr5, _tu6);};_e88.prototype._bi2=function(){return _px5._bi2();};_e88.prototype._hn4=function(_nr5,_p39,_db9){var _tx4=false;return _px5._hn4(_nr5, _p39, _db9, _tx4);};_e88.prototype._6m2=function(e){var el=_px5._h97(e);if(_px5._dq4(el)){el.className="clsMenubarItem";}};_e88.prototype._dx1=_e88.prototype._6m2.bind(this);_e88.prototype._j7=function(_5a9){if(!_be9._kl6["hal"]["enableAccessibility"]){return;}if(!this._xo2){this._xo2=this._7b8.bind(this);}if(_5a9){_io4._k9(this._7p6, this._xo2, this._dx1);this._7p6.onkeydown=this._523.bind(this);}else{_io4._e5(this._7p6, this._xo2, this._dx1);this._7p6.onkeydown=null;}};_e88.prototype._523=function(e){if(!_be9._kl6["hal"]["enableAccessibility"]){return;}var el=_px5._h97(e);switch(e.keyCode){case _fe9._687:case _fe9._987:case _fe9._tx5:case _fe9._yn4:this._yv1(el);_fe9._8u5(e);break;case _fe9._n14:var _gy4=this._772(el);if(_gy4){_gy4.focus();}_fe9._8u5(e);break;case _fe9._zn4:var _gy4=this._221(el);if(_gy4){_gy4.focus();}_fe9._8u5(e);break;}};_e88.prototype._221=function(_nr3){var _6h7=_px5._c7(_nr3);var _4c4=_px5._8l(_6h7);var _4x4=false;var _ir3;var _h39=_4c4.rows[0].cells.length;for(var i=_h39-1;i>=0;i--){var _ia9=_4c4.rows[0].cells.item(i);if(this._601(_ia9)){if(_4x4){return _ia9;}else if(!_ir3){_ir3=_ia9;}}if(!_4x4&&_ia9==_nr3){_4x4=true;}}return _ir3;};_e88.prototype._772=function(_nr3){var _6h7=_px5._c7(_nr3);var _4c4=_px5._8l(_6h7);var _4x4=false;var _a93;var _h39=_4c4.rows[0].cells.length;for(var i=0;i<_h39;i++){var _ia9=_4c4.rows[0].cells.item(i);if(this._601(_ia9)){if(_4x4){return _ia9;}else if(!_a93){_a93=_ia9;}}if(!_4x4&&_ia9==_nr3){_4x4=true;}}return _a93;};_e88.prototype._j82=function(){if(!_be9._kl6["hal"]["enableAccessibility"]){return;}this._7p6.setAttribute( "role", "menubar" );this._j7(true);};_e88.prototype._7b8=function(e){if(!_be9._kl6["hal"]["enableAccessibility"]){return;}var _hy4=e.target;if(_hy4.getAttribute( "role" )=="menuitem" ){if(this._r31){this._r31.setAttribute( "tabIndex", "-1" );}_hy4.setAttribute( "tabIndex", "0" );this._r31=_hy4;}this._em1(e);};_e88.prototype._t72=function(e){if(_be9._co4&&_be9._co4._u1){_be9._co4._u1(e, _px5);}var el=_px5._h97(e);if(_px5._dq4(el)){el.className="clsMenubarItem_up";}};_e88.prototype._em1=_e88.prototype._t72.bind(this);_e88.prototype._y52=function(){if(!_be9._kl6["hal"]["enableAccessibility"]){return;}this._r31=null;};_e88.prototype._a71=function(){if(!_be9._kl6["hal"]["enableAccessibility"]){return null;}if(this._r31){return this._r31;}else{var nl=this._7p6.getElementsByTagName("TD");var _zg8=nl.length;for(var i=0;i<_zg8;i++){var elTD=nl.item(i);if(elTD.getAttribute( "role" )=="menuitem"&&_px5._601( elTD ) ){return elTD;}}}return null;};