// Licensed Materials - Property of IBM // IBM Cognos Products: rs // (C) Copyright IBM Corp. 2003, 2022. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. function _jpc(_b89, _gac, _b6k, _kbc, _d37){_zpn._la6("_frh");_zpn._la6("_ppc");this._oy8=_b89;this._oy8._ytb=this;this._0sb=_gac;this._vij=_b6k||null;this._9sb=(typeof _kbc!="undefined")?_kbc:null;this._nq6=( typeof _d37!="undefined" )?_d37:"";this._lim=_8qn._w5b();this._1m1=null;this._9i7();if(!this._9sb){switch(this._04n){case "time":case "date":case "dateTime":this._9sb=this._9sb?this._9sb:this._3i1();break;case "interval":this._9sb=this._9sb?this._9sb:this._4i1();break;}}};_jpc.prototype._fdm=function(){this._k6d();var _wfk=this._oy8.childNodes[ 0 ];var _hxl=this._oy8.childNodes[ 1 ];this._oy8.removeChild(_wfk);this._oy8.removeChild(_hxl);delete this._lim;this._oy8._ytb=null;};_jpc.prototype._9i7=function(){this._04n="none";if(this._0sb&&this._0sb.getAttribute("type")){this._04n=this._0sb.getAttribute("type");}};_jpc.prototype._hm5=function(_v49){var _gpm;switch(this._04n){case "number":_gpm=_jpc._ixh;break;case "interval":_gpm=_jpc._9se;break;case "date":case "time":case "dateTime":default:_gpm=_jpc._8se;break;}_v49.sort(_gpm);};_jpc.prototype._wfn=function(){this._oy8.className="clsListView";this._oy8.style.overflow="hidden";var _wfk=this._oy8.appendChild(document.createElement("table"));_k0d._9q3(_wfk);this._w2d(_wfk);var _jwg=this._oy8.appendChild(document.createElement("div"));_jwg.style.height=this._oy8.clientHeight-_wfk.offsetHeight+"px";_jwg.style.width="100%";_jwg.style.overflow="auto";this._d39=_jwg.appendChild(document.createElement("table"));this._d39.style.height="100%";this._d39.setAttribute( "cellSpacing", "0" );this._d39.setAttribute( "cellPadding", "0" );_k0d._9q3(this._d39);this._fk4(true, this._d39.insertRow(0));this._fk4(false, this._d39.insertRow(1));this._ruh(this._d39);};_jpc.prototype._fo=function(_v49,_1hc){var _bkn=0;for(_bkn;_bkn<_v49.length;_bkn++){if(_v49[ _bkn ]==_1hc){break;}}return _bkn;};_jpc.prototype._w2d=function(_tsn){_tsn.className="clsDialogText";_tsn.style.width="100%";_tsn.setAttribute( "cellSpacing", "0" );_tsn.setAttribute( "cellPadding", "0" );var _cun=_tsn.insertRow(0);_cun.className="clsCCHLtableHeader";this._yv4=_cun.insertCell(0);this._yv4.style.width="26px";this._ogb(this._yv4, "");this._5id=_cun.insertCell(1);this._5id.style.width="140px";this._ogb(this._5id, _frh._c6j("IDS_CCHL_TITLE_RANGE"));var _547=_cun.insertCell(2);this._ogb(_547, _frh._c6j("IDS_CCHL_TITLE_STYLE"));};_jpc.prototype._ogb=function(_bun,_dwm){var _3rn=_bun.appendChild(document.createElement("div"));_3rn.className="clsListViewColumnHeader";_4qn._1je(_3rn, _dwm);};_jpc.prototype._fk4=function(_exk,_cun){_cun.style.height="6px";var _wbm=_cun.insertCell(0);_wbm.style.width=this._5id.offsetWidth+12+"px";_wbm.style.textAlign="right";_wbm.style.verticalAlign="top";_wbm.style.paddingTop=_exk?"2px":"0px";_wbm.style.paddingBottom=_exk?"0px":"2px";_4qn._1je(_wbm, this._9m4(_exk));if(_zpn._qsh["hal"]["enableAccessibility"]){_wbm.tabIndex=0;_wbm.setAttribute( "aria-labelledby", ( _4qn._a87( this._5id ) + " " + _4qn._a87( _wbm ) ) );}if(_exk){this._4xb=_wbm;}var _efn=_cun.insertCell(1);_efn.style.paddingTop=_exk?"2px":"0px";_efn.style.paddingBottom=_exk?"0px":"2px";var _drn=document.createElement("img");_drn.src=_zpn._m2g("cchl/images/range_tic.gif");_drn.style.height="23px";_drn.style.height="11px";_efn.appendChild(_drn);_cun.insertCell(2);};_jpc.prototype._9m4=function(_exk){var _i4e;switch(this._04n){case "date":case "dateTime":_i4e=_exk?_frh._c6j( "IDS_CCHL_PRMT_LATEST_DATE" ):_frh._c6j( "IDS_CCHL_PRMT_EARLIEST_DATE" );break;case "time":_i4e=_exk?_frh._c6j( "IDS_CCHL_PRMT_LATEST_TIME" ):_frh._c6j( "IDS_CCHL_PRMT_EARLIEST_TIME" );break;case "interval":_i4e=_exk?_frh._c6j( "IDS_CCHL_PRMT_HIGHEST_INTERVAL" ):_frh._c6j( "IDS_CCHL_PRMT_LOWEST_INTERVAL" );break;case "number":default:_i4e=_exk?_frh._c6j( "IDS_CCHL_PRMT_HIGHEST_VALUE" ):_frh._c6j( "IDS_CCHL_PRMT_LOWEST_VALUE" );break;}return _i4e;};_jpc.prototype._2ag=function(_bkn,_uxm,_mbi,_q9n){var _cun=this._d39.insertRow(_bkn);if((_bkn==1)&&(this._d39.rows.length>3)){var _4cm=this._d39.insertRow(_bkn+1);this._3i7(_4cm);}else if(_bkn>1){this._3i7(_cun);_cun=this._d39.insertRow(_bkn+1);}_cun._nub=new _ppc(_uxm, _mbi, _q9n, null);_cun._4im=true;this._xne(_cun);return _cun;};_jpc.prototype._ruh=function(){if(!this._0sb){this._2ag(this._d39.rows.length-1, null, null, null);}else{var _20e=this._0sb.selectNodes("./*/styleRange");if(!_20e||_20e.length==0){_20e=this._0sb.selectNodes( "./v2_rangeConditionalCases/v2_rangeConditionalCase | ./v2_lineRangeCases/v2_lineRangeCase | ./v2_pointRangeCases/v2_pointRangeCase" );}for(var i=0;i<_20e.length;i++){var _uxm=_20e.item(i).getAttribute("value");if(!this._xpe(_uxm, false)){continue;}var _mbi=( _20e.item( i ).getAttribute( "inclusive" )=="true" );this._2ag(this._d39.rows.length-1, _uxm, _mbi, _20e.item(i));}var _3yd=this._0sb.selectSingleNode("./styleRangeRemaining");if(!_3yd||_3yd.length==0){_3yd=this._0sb.selectSingleNode( "./v2_rangeConditionalRemaining | ./v2_lineRangeRemaining | ./v2_pointRangeRemaining" );}if(_3yd){this._2ag(this._d39.rows.length-1, null, null, _3yd);}if((_20e.length==0)&&!_3yd){this._2ag(this._d39.rows.length-1, null, null, null);}}this._7hm();};_jpc.prototype._xne=function(_cun){var _x94=_cun.insertCell(0);_x94.style.verticalAlign="top";this._wne(_cun.insertCell(1));var _2zf=_cun.insertCell(2);_2zf.style.paddingLeft="10px";var _vbc=_cun._nub._cx();if(!_vbc){var _8gk=this._i2a(_cun); if(this._vij&&this._vij._n1&&_8gk&&_8gk._nub&&_8gk._nub._075()){_vbc=this._vij._n1(_8gk._nub._075());}}if(this._vij&&this._vij._i51){var _jbe=_2zf.appendChild(document.createElement("table"));_jbe.setAttribute( "cellSpacing", "0" );_jbe.setAttribute( "cellPadding", "0" );_k0d._9q3(_jbe);var _p68=this._vij._i51(_jbe, _vbc);_cun._nub._1b5(_p68);}else{_4qn._1je( _2zf, " " );}var _obe=_cun.insertCell(3);_obe.style.width="1px";var _drn=this._1f6("1px");_drn.style.height="30px";_obe.appendChild(_drn);};_jpc.prototype._3i7=function(_cun){_cun.style.height="6px";_cun.insertCell(0);var _tbm=_cun.insertCell(1);var _73l=document.createElement("img");_73l.src=_zpn._m2g("cchl/images/range_tic_mid.gif");_73l.style.height="6px";_73l.style.width="23px";_73l.style.display="block";_tbm.appendChild(_73l);_cun.insertCell(2);_cun.insertCell(3);};_jpc.prototype._wne=function(_bun){_bun.style.width="23px";var _tsn=_bun.appendChild(document.createElement("table"));_tsn.setAttribute( "cellSpacing", "0" );_tsn.setAttribute( "cellPadding", "0" );_tsn.style.height="100%";_k0d._9q3(_tsn);var _ffn=_tsn.insertRow(_tsn.rows.length).insertCell(0);_ffn.style.height="3px";var _zqm=document.createElement("img");_zqm.src=_zpn._m2g("cchl/images/range_top.gif");_zqm.style.height="3px";_zqm.style.width="23px";_zqm.style.display="block";_ffn.appendChild(_zqm);var _8il=_tsn.insertRow(_tsn.rows.length).insertCell(0);_8il.style.height="100%";_8il.style.backgroundImage="URL(" + _zpn._m2g( "cchl/images/range_resize.gif" ) + ")";var _kwj=document.createElement("img");_kwj.src=_zpn._m2g("cchl/images/range_middle.gif");_kwj.style.height="11px";_kwj.style.width="23px";_kwj.style.display="block";_8il.appendChild(_kwj);var _3il=_tsn.insertRow(_tsn.rows.length).insertCell(0);_3il.style.height="3px";var _hwj=document.createElement("img");_hwj.src=_zpn._m2g("cchl/images/range_bottom.gif");_hwj.style.height="3px";_hwj.style.width="23px";_hwj.style.display="block";_3il.appendChild(_hwj);};_jpc.prototype._ukb=function(_cun){if(this._04n=="number"){var _1hc=_cun._nub;if((_1hc)&&(_1hc._956())&&(_1hc._956()._fdm)){_1hc._956()._fdm();_1hc._h96(null);}}};_jpc.prototype._u43=function(_cun){var _bun=_cun.cells.item(0);if(this._04n=="number"){var _x3j=this._8i5(_cun);if(_x3j&&_x3j._nub&&(!_x3j._nub._a4g())){this._ukb(_x3j);}if(_cun._nub._a4g()){this._ukb(_cun);}}if(_bun.firstChild){_bun.removeChild(_bun.firstChild);}};_jpc.prototype._7hm=function(){var _v49=this._053(true);for(var i=1;i';return btn;};_jpc._2i6=function(e){e.stopPropagation();_jpc._pcj( this, this.getAttribute( "direction" )=="top" );};_jpc.prototype._kt=function(_zqn,_c8k){var _drn=document.createElement("img");if(this._vij&&this._vij._bkj&&_c8k){_drn.id=this._vij._bkj+"_style_img_" + _c8k;}_drn.src=_zpn._m2g( "cchl/images/rangestyle_" + ( _zqn?"up":"down" ) + "_normal.gif" );_drn.style.height="19px";_drn.style.width="9px";_drn.setAttribute( "border", "0" );_drn.style.cursor="pointer";_drn.title=_zqn?_frh._c6j( "IDS_CCHL_MSG_MOVE_VALUE_ABOVE" ):_frh._c6j( "IDS_CCHL_MSG_MOVE_VALUE_BELOW" );_drn.setAttribute( "direction", ( _zqn?"up":"down" ) );_drn.onmouseover=_jpc._5k;_drn.onmouseout=_jpc._gp;_drn.onclick=_zqn?_jpc._mjb:_jpc._3s8;if(_zpn._qsh["hal"]["enableAccessibility"]){_drn.tabIndex=0;_drn.alt="";}return _drn;};_jpc._5k=function(e){e.stopPropagation();this.src=_zpn._m2g( "cchl/images/rangestyle_" + this.getAttribute( "direction" ) + "_rollover.gif" );};_jpc._gp=function(e){e.stopPropagation();this.src=_zpn._m2g( "cchl/images/rangestyle_" + this.getAttribute( "direction" ) + "_normal.gif" );};_jpc.prototype._1f6=function(_yxm){var _drn=document.createElement("img");_drn.src=_zpn._m2g("hal/images/blank.gif");_drn.style.height="1px";_drn.style.width=_yxm;_drn.style.display="block";return _drn;};_jpc._mjb=function(e){e.stopPropagation();var _q9n=this.parentNode;while(!_q9n._ytb){_q9n=_q9n.parentNode;}var _5gc=_q9n._ytb;var _z3j=this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;var _x3j=_5gc._8i5(_z3j);if((_5gc._04n=="number")&&_x3j._nub._956()){_x3j._nub._06g(_x3j._nub._956()._d66()[0]._l3g());}_x3j._nub._0je(true);_x3j._4im=true;_z3j._4im=true;_5gc._7hm();};_jpc._3s8=function(e){e.stopPropagation();var _q9n=this.parentNode;while(!_q9n._ytb){_q9n=_q9n.parentNode;}var _5gc=_q9n._ytb;var _z3j=this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;if((_5gc._04n=="number")&&_z3j._nub._956()){_z3j._nub._06g(_z3j._nub._956()._d66()[0]._l3g());}_z3j._nub._0je(false);_z3j._4im=true;_5gc._i2a(_z3j)._4im=true;_5gc._7hm();};_jpc._pcj=function(_drn,_9jn){var _q9n=_drn.parentNode;while(!_q9n._ytb){_q9n=_q9n.parentNode;}var _5gc=_q9n._ytb;var _z3j=_drn.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;if(_9jn){_z3j=_5gc._8i5(_z3j);}_5gc._i2a(_z3j)._4im=true;if(_5gc._8i5(_z3j)){_5gc._8i5(_z3j)._4im=true;}_5gc._h5a(_z3j);_5gc._7hm();};_jpc.prototype._h5a=function(_cun){this._ukb(_cun);if(this._vij&&this._vij._j51&&_cun._nub&&_cun._nub._075()){this._vij._j51(_cun._nub._075());}if(_cun==this._d39.rows.item(1)){_cun.parentNode.removeChild(_cun.nextSibling);}else{_cun.parentNode.removeChild(_cun.previousSibling);}_cun.parentNode.removeChild(_cun);};_jpc.prototype._k6d=function(){var _sr6=this._053(false);for(var i=0;i<_sr6.length;i++){this._h5a(_sr6[ i ]);}};_jpc.prototype._qh8=function(_uxm){if(!this._xpe(_uxm, true)){return;}var _v49=this._053(true);if(this._ys3(_v49, _uxm)){if(this._vij&&this._vij._f6){this._vij._f6(_uxm);}return;}var _1hc=new _ppc(_uxm, null, null, null);_v49.push(_1hc);this._hm5(_v49);var _bkn=this._fo(_v49, _1hc);var _cun=this._2ag(((_bkn==0)?1:_bkn*2), _uxm, false, null);this._i2a(_cun)._4im=true;this._7hm();};_jpc.prototype._xpe=function(_uxm,_1bi){if(!_uxm||!_tf7._1he(_uxm, this._04n, 0, null, null)){if(_1bi&&this._vij&&this._vij._j9){this._vij._j9(_uxm);}return false;}return true;};_jpc.prototype._ys3=function(_v49,_uxm,_084){var _10c=false;for(var i=0;i<_v49.length;i++){if((_084!=_v49[ i ])&&(((this._04n=="number")&&(_v49[ i ]._22g()!==null)&&((_v49[ i ]._22g()-_uxm)==0))||(_v49[ i ]._22g()==_uxm))){_10c=true;break;}}return _10c;};_jpc.prototype._8i5=function(_cun){var _x3j=null;if(_cun!=this._d39.rows.item(1)){_x3j=_cun.previousSibling.previousSibling;}return _x3j;};_jpc.prototype._i2a=function(_cun){var _rym=null;if(_cun!=this._d39.rows.item(this._d39.rows.length-2)){_rym=_cun.nextSibling.nextSibling;}return _rym;};_jpc.prototype._053=function(_uw4){var _v49=[];for(var i=1;i0){_qkh += "_LESS" + ( _v49[i - 1]._a4g()?"":"_EQUAL" );_r9f=true;}_89i[i].title=_frh._c6j(_qkh,(_1tg?_v49[i]._a56():_v49[i-1]._a56()),((i>0)?_v49[i-1]._a56():null));}};_jpc._ixh=function(_aum,_r6m){return((_jpc._kg7(_aum, _r6m)!=0)?_jpc._kg7(_aum, _r6m):-_6hn._07g(_aum._22g(), _r6m._22g()));};_jpc._8se=function(_aum,_r6m){return((_jpc._kg7(_aum, _r6m)!=0)?_jpc._kg7(_aum, _r6m):-_tf7._mje(_aum._22g(), _r6m._22g()));};_jpc._kg7=function(_aum,_r6m){if(_aum._22g()===null){return 1;}else if(_r6m._22g()===null){return-1;}return 0;};_jpc._9se=function(_aum,_r6m){if(_jpc._kg7(_aum, _r6m)!=0){return _jpc._kg7(_aum, _r6m);}return-_tf7._nje(_aum._22g(), _r6m._22g());};function _ppc(_ffk, _mbi, _mn1, _p68){this._mlj=_ffk;this._pzh=_mbi;this._jl1=_mn1||null;this._ft7=_p68||null;this._cca=null;this._3hd=null;};_ppc.prototype._22g=function(){return this._mlj;};_ppc.prototype._a4g=function(){return this._pzh;};_ppc.prototype._0je=function(_mbi){this._pzh=_mbi;};_ppc.prototype._075=function(){return this._ft7;};_ppc.prototype._1b5=function(_p68){this._ft7=_p68;};_ppc.prototype._06g=function(_ffk){this._mlj=_ffk;};_ppc.prototype._i96=function(_x5e){this._3hd=_x5e;};_ppc.prototype._a56=function(){return this._3hd;};_ppc.prototype._h96=function(_ova){this._cca=_ova;};_ppc.prototype._956=function(){return this._cca;};_ppc.prototype._cx=function(){return this._jl1;};