// 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 _e0g=new _lcm("_e0g");_e0g._3yh=1;_e0g._9ok=2;_e0g._i8d=3;_e0g._rxc=function(_h2k){this._d0n._vhj=_h2k;this._d0n._cig=this._3yh;this._4le();};_e0g._w6g=function(_06l,_q3m,_fsj){this._d0n._4ed=_q3m;this._d0n._hrk=_06l;this._d0n._qaa=_fsj;this._d0n._cig=this._9ok;this._4le();};_e0g._lk8=function(_8rm){this._d0n._0jm=_8rm;this._d0n._cig=this._i8d;this._4le();};_e0g._3i8=function(){this._7t8();};_e0g._ps9=function(_6ma){this._d0n._xij._u6g(_frh._c6j("IDS_MSG_NO_MAPS"));};_e0g._6g7=function(d,_ksa,n){var _t2k=_ksa.appendChild(d.createElement("treeNode"));if(n.nodeName=="folder"){_t2k.setAttribute( "smallSvgIcon", "def_hal_folder_16x16" );_t2k.setAttribute( "expandedSmallSvgIcon", "def_hal_folder_expanded_16x16" );_t2k.setAttribute( "expandable", "true" );_t2k.setAttribute( "idsExtraAriaLabel", "IDS_HAL_AC_TYPE_FOLDER" );_8qn._9rc(_t2k, n, "label");_8qn._9rc(_t2k, n, "idsLabel");}else{_t2k.setAttribute( "name", n.getAttribute( "id" ) );if(!_8qn._9rc(_t2k, n, "label")&&!_8qn._9rc(_t2k, n, "idsLabel")){_t2k.setAttribute( "label", _7ml._boh( n.getAttribute( "id" ) ) );}var _cdn=n.getAttribute("smallIcon");_t2k.setAttribute( _cdn?"smallIcon":"smallSvgIcon", _cdn||"def_el_mapChart" );_t2k.setAttribute( "idsExtraAriaLabel", "IDS_AC_TYPE_MAP" );}return _t2k;};_e0g._wqe=function(d,_ksa,n){var _t2k=_ksa;switch(n.nodeName){case "map":var _ksn=n.getAttribute("id");if(_7ml._udm(_ksn)){this._r19[_ksn]=true;if(n.getAttribute( "hideMap" )=="true" ){return;}_t2k=this._6g7(d, _ksa, n);}break;case "folder":_t2k=this._6g7(d, _ksa, n);break;}var nl=n.selectNodes("*");for(var i=0;i';_4qn._1je(this._2oh("description"), _7ml._497(_hwm));}};_e0g._87d=function(_uzj){var _y1k=this._d0n._xij._5r9();if(_y1k){var _eam=_y1k.getAttribute("name");_uzj.setAttribute("refMap", _eam);if(this._d0n._c0f._qik()!="cognos_none"){var _yrm=_uzj.selectSingleNode("regionLayer");if(!_yrm){var _q9n=_erh._cnh("regionLayer");_yrm=_uzj.appendChild(_q9n);_yrm.setAttribute("showLabels","false");_yrm.setAttribute("refLayer", this._d0n._c0f._qik());this._16a(_yrm, _eam);}_yrm.setAttribute("refLayer", this._d0n._c0f._qik());_yrm.setAttribute("showBorders","true");if(!_yrm.selectSingleNode("regionColorLegendTitle")){_yrm.appendChild(this._3h7(_uzj, "regionColorLegendTitle"));}}else{_8qn._k5g(_uzj, "regionLayer");}if(this._d0n._xlg._qik()!="cognos_none"){var _yrm=_uzj.selectSingleNode("pointLayer");if(!_yrm){var _q9n=_erh._cnh("pointLayer");_yrm=_uzj.appendChild(_q9n);_yrm.setAttribute("showNoDataFeatures", "false");_yrm.setAttribute("showLabels","false");_yrm.setAttribute("refLayer", this._d0n._xlg._qik());this._16a(_yrm, _eam);}_yrm.setAttribute("refLayer", this._d0n._xlg._qik());if(!_yrm.selectSingleNode("pointColorLegendTitle")){_yrm.appendChild(this._3h7(_uzj, "pointColorLegendTitle"));}if(!_yrm.selectSingleNode("pointSizeLegendTitle")){_yrm.appendChild(this._3h7(_uzj, "pointSizeLegendTitle"));}}else{_8qn._k5g(_uzj, "pointLayer");}var _pri=_uzj.selectNodes("displayLayers/displayLayer");for(var i=0; i<_pri.length; i++){if(!this._m3a(_pri.item(i))){_pri.item(i).parentNode.removeChild(_pri.item(i));}}var _i8i=this._d0n._eze._vd4();var _a2m;if(_i8i.length>0&&!_uzj.selectSingleNode("displayLayers")){_a2m=_uzj.appendChild(_erh._cnh("displayLayers"));}else{_a2m=_uzj.selectSingleNode("displayLayers");}for(var i=0; i<_i8i.length; i++){if(!this._7jb(_uzj, _i8i[i])){var _fud=_erh._cnh("displayLayer");_fud.setAttribute("refLayer", _i8i[i].getAttribute("value"));_fud.setAttribute("showBorders", "true");this._16a(_fud, _eam);_a2m.appendChild(_fud);}}_8qn._k5g(_uzj, "displayLayers[not(*)]");}};_e0g._m3a=function(_yrm){var _mzj=_pgk._lee(this._d0n._eze._eq9(), "value", _yrm.getAttribute("refLayer"));return _mzj&&(_mzj.getAttribute("selected")=="true");};_e0g._7jb=function(_uzj,_yrm){return _uzj.selectSingleNode("displayLayers/displayLayer[@refLayer=" + _cgm._zxc( _yrm.getAttribute("value") ) + "]") != null;};_e0g._16a=function(_yrm,_eam){var _pvm=_7ml._9d4(_eam, _yrm.getAttribute("refLayer"));if(_pvm){_8qn._k5g(_yrm, "fillEffects");var _3ln=_yrm.ownerDocument;var _rhf=_erh._cnh("fillEffects");_yrm.appendChild(_rhf);var _crm=_erh._cnh("chartColor");_crm.setAttribute("value", _pvm);_rhf.appendChild(_crm);}};_e0g._bkb=function(_hwm){this._io4(_hwm);this._ok5(_hwm);this._2y3(_hwm);};_e0g._io4=function(_hwm){this._5l4(this._d0n._c0f, _7ml._wq9(_hwm));};_e0g._ok5=function(_hwm){this._5l4(this._d0n._xlg, _7ml._q7b(_hwm));};_e0g._2y3=function(_hwm){var _47k={};var _i8i=this._d0n._eze._vd4();for(var i=0; i<_i8i.length; i++){_47k[_i8i[i].getAttribute("value")]=true;}this._d0n._eze._bzm();var _ful=_7ml._26j(_hwm);for(var i=0; i<_ful.length; i++){var _lsn=_ful[i].selectSingleNode("bus:id").text;if(_lsn!=this._d0n._c0f._qik()&&_lsn!=this._d0n._xlg._qik()){var _mzj=this._d0n._eze._767();_mzj.setAttribute("value", _lsn);_mzj.setAttribute("label", _ful[i].selectSingleNode("bus:name")?_ful[i].selectSingleNode("bus:name").text:_lsn);if(_47k[_lsn]){_mzj.setAttribute("selected", "true");}}}this._d0n._eze._wfn();};_e0g._5g7=function(_ini,_dwm,_uxm){var _mzj=_ini.appendChild(_ini.ownerDocument.createElement("listItem"));_mzj.setAttribute("value", _uxm);_mzj.setAttribute("label", _dwm||_uxm);};_e0g._5l4=function(_ztm,_ful){_ztm._o2g()._bzm();var _ini=_ztm._o2g()._5g8();this._5g7(_ini, _frh._c6j("IDS_NONE"), "cognos_none");var _qwf=null;for(var i=0; i<_ful.length; i++){this._5g7(_ini, _ful[i].selectSingleNode("bus:name")?_ful[i].selectSingleNode("bus:name").text:null, _ful[i].selectSingleNode("bus:id").text );if(!_qwf){if(_ful[i].selectSingleNode("bus:visible[text()='true']")){_qwf=_ful[i].selectSingleNode("bus:id").text;}}}_ztm._hwc(_qwf||"cognos_none");_ztm._o2g()._wfn();};_e0g._6hb=function(_mvl){if(!_mvl){this._d0n._c0f._gwc(0);this._d0n._xlg._gwc(0);this._d0n._eze._bzm();this._d0n._eze._wfn();}this._2oh("divPreview").style.visibility = _mvl?"visible":"hidden";this._2oh("description").style.visibility = _mvl?"visible":"hidden";this._d0n._c0f._mqh(_mvl);this._d0n._xlg._mqh(_mvl);this._d0n._eze._mqh(_mvl);this._pj8("btnOK", _mvl);};_e0g._3h7=function(_uzj,_ick){var _q9n=_erh._cnh(_ick);_q9n.setAttribute("refQuery", _uzj.getAttribute("refQuery")||"");return _q9n;};_e0g._g82=function(_uzj,_83m,_pbi){if(_pbi){_uzj.setAttribute("name", this._r4d(_uzj, _83m));}this._2oh("txtName").value = _uzj.getAttribute("name");var _drm=this._53g("ComboBox");var _ini=_drm.selectSingleNode("listView/listItems");var nl=_83m.selectNodes("queries/query");for(var i=0; i