// 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 _po1=new _lcm("_po1");_po1._jgn=function(_u4c){this._4le(_u4c);};_po1._5z2=function(){this._d0n._7sk=new _pgk( this._2oh("divRefList"), this._53g("RefList"), this );this._d0n._pok=this._vt(_erh._vtc());this._mi1(this._d0n._pok); this._fmb();};_po1._wl3=function(){ var _s5f=this._v72(this._d0n._pok);if(_s5f.length>0){_5ml._fll(_ng4._de1(_s5f),_frh._c6j("IDS_MSG_LOADING_SHAREDSETS")).then(this._ez3.bind(this, _s5f));} else{this._6y3();}};_po1._ez3=function(_s5f,_yha){this._d0n._4ob=_yha;this._mi1(this._d0n._pok);this._6y3();};_po1._vt=function(_83m){var nl=_83m.selectNodes("queries/query/selection/dataItemMemberSet/setDefinition//setReference");var _8zb=[];var _d2m=nl.length;for(var i=0;i<_d2m;i++){var _f3m=nl.item(i);_8zb.push({ _ged: _f3m,_djj: this._yu1(_f3m),_61i: _eth._jn});}return _8zb;};_po1._mi1=function(_wha){var _d2m=_wha.length;for(var i=0;i<_d2m;i++){this._92(_wha[i]);}};_po1._h4d=function(_3en){if(!this._d0n._4ob){return undefined;}var iLen=this._d0n._4ob.length;for(var i=0;i0);var _jq=_qu6;for(var i=0;i<_ooa;i++){var _j2l=parseInt(_wr6[i].getAttribute("value"));var _5h9=this._d0n._pok[ _j2l ];if(!this._ij5(_5h9._61i)){_jq=false;break;}}this._pj8("btnEditRef", _qu6);this._pj8("btnRefreshRef", _jq);this._pj8("btnConvertRef", _qu6);};_po1._ij5=function(_5yl){switch(_5yl){case _eth._i:case _eth._7c5:return true;default:return false;}};_po1._pe4=function(_a6k,_mzj,_zdf){this._fmb();};_po1._oi2=function(_a6k,_mzj,_zdf){this._2sc();};_po1._2sc=function(){var _mzj=this._d0n._7sk._885();var _2bl=this._d0n._pok[ parseInt(_mzj.getAttribute("value"))];var _f3m=_2bl._ged;var _qxj=_8qn._12g(_f3m, "dataItemMemberSet");_8fm._jgn("_bqc", this._xp9(), _qxj, _f3m, {_g1g:this._wo4.bind(this), _ho9:this._wo4.bind(this)});};_po1._4j8=function(){var _mzj=this._d0n._7sk._885();var _2bl=this._d0n._pok[ parseInt(_mzj.getAttribute("value"))];var _f3m=_2bl._ged;_erh._ybb();_eth._a51(_f3m).then(function(){_erh._iee(true);this._wo4();}.bind(this)).catch(function(err){_erh._5c7();}).done(function(){this._wo4();}.bind(this));};_po1._wo4=function(){this._d0n._pok=this._vt(_erh._vtc()); this._mi1(this._d0n._pok);var _s5f=this._v72(this._d0n._pok);if(_s5f.length>0){_5ml._fll(_ng4._de1(_s5f),_frh._c6j("IDS_MSG_LOADING_SHAREDSETS")).then(this._ez3.bind(this, _s5f));}else{this._6y3(); } };_po1._fe8=function(){var _mzj=this._d0n._7sk._885();var _2bl=this._d0n._pok[ parseInt(_mzj.getAttribute("value"))]; _2dm._jgn(this._xp9(),_frh._c6j("IDS_SSR_CONFIRM_CONVERT_MSG", _2bl._djj._q6i, _2bl._djj._aog),_frh._c6j("IDS_TITLE_CONFIRMCONVERTSSR"),_2dm._zkk,_2dm._ffm,_po1._0p3.bind(_po1));};_po1._0p3=function(){var _mzj=this._d0n._7sk._885();var _2bl=this._d0n._pok[ parseInt(_mzj.getAttribute("value"))];var _f3m=_2bl._ged;_erh._ybb();_eth._a41(_f3m);_erh._iee(true);this._wo4();};