// 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. var _ga4=new _lcm("_ga4");_ga4._jgn=function(_s89,_r2e,_j0c,_8ld,_ylc,_kka){this._ofd=_r2e;this._yy8=_s89;this._d0n._iob=_j0c;this._d0n._x9d=_8ld;this._d0n._bwb=_ylc;this._d0n._89a=_kka;this._4le(this._yy8);};_ga4._src=function(){ this._clg=new _pgk(this._2oh("divFilterType"), this._53g('filterType'), this);this._nr7=this._2oh("chkPromptForValues");this._nr7.onchange=function(){this._d0n._iob=!this._d0n._iob;var _nma=this._2oh("txtParameterName");if(this._d0n._iob){_nma.removeAttribute("disabled");this._2n5();} else{_nma.setAttribute("disabled", true);} }.bind(this);this._uaa=this._2oh("txtParameterName"); this._uaa.onkeyup=function(e){if(e.target.value){this._d0n._bwb=e.target.value;}else{this._d0n._bwb="";} }.bind(this); this._gc3=this._2oh("chkCanChangeInViewer");this._gc3.onchange=function(){this._d0n._x9d=!this._d0n._x9d;}.bind(this);this._lcd=this._2oh("btnClose");this._lcd.onclick=function(){this._3le();}.bind(this); };_ga4._5z2=function(){ if(Application.SharedState.Get("isViewer")){this._2oh( "divPromptForValues" ).setAttribute( "hal_disabled", "true" );this._2oh( "chkPromptForValues" ).setAttribute( "disabled", "true" );}this._2oh("chkPromptForValues").checked=this._d0n._iob;this._2oh("txtParameterName").value=this._d0n._bwb;this._2oh("chkCanChangeInViewer").checked=this._d0n._x9d;this._clg._hwc(this._d0n._89a?"details":"summary");var _1qj=Application.SharedState.Get("isViewer");var _rbi=_qgn._bsh;this._2oh("divCanChangeInViewer").style.display = _1qj||_rbi?"none":"";if(_rbi){this._2oh("divPromptForValues").style.display = "none"; }this._fqn.offsetParent.offsetParent.offsetParent.style.opacity="0";};_ga4._wl3=function(){var _dti=_4qn._m97(this._ofd._fqn.offsetParent.offsetParent.offsetParent, this._ofd._fqn.ownerDocument.body);if(this._ofd._fqn.ownerDocument!=document){var _6rn=this._ofd._fqn.ownerDocument.defaultView.frameElement;var _w5k=_4qn._m97(_6rn, _6rn.ownerDocument.body);_dti.top+= _w5k.top;_dti.left+= _w5k.left; }this._fqn.offsetParent.offsetParent.offsetParent.style.left=((_dti.left+this._ofd._fqn.offsetParent.offsetParent.offsetParent.offsetWidth)-this._fqn.offsetParent.offsetParent.offsetParent.offsetWidth)+ "px";this._fqn.offsetParent.offsetParent.offsetParent.style.opacity="1";this._3m3(); };_ga4._pe4=function(_a6k,_gfi){var _lsn=_a6k._ezm();var _uxm=_gfi.getAttribute("value");if(_lsn==="_ga4_divFilterType"){this._d0n._89a=_uxm==="details"?true:false;}};_ga4._2n5=function(){if(!this._2oh("txtParameterName").value){var _qxj=this._ofd._d0n._ihj;var _fsm=_6aj._tq9(_qxj);var _83m=_dth._ug8(_fsm);var _wqg=_qcb._n65(_83m);if(this._ofd._d0n._ix1){var _u34=this._ofd._d0n._ix1();_wqg=_wqg.concat(_u34);}var _488={};for(var i=0;i<_wqg.length;i++){if(!_488[_wqg[i].Name]){_488[_wqg[i].Name]=true;}}var _h5e=_qxj.getAttribute("name"); var _ylc=_h5e;var _opm=2; while(_488[_ylc]){_ylc=_h5e+_opm++;}this._2oh("txtParameterName").value=this._d0n._bwb=_ylc;}};_ga4._b65=function(){this._ofd._h23(this._d0n._iob, this._d0n._x9d, this._d0n._bwb, this._d0n._89a);};_ga4._fdm=function(){this._clg._fdm();};