// 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 _sf7={};_sf7._456=function(_oxd,_b48){if(_b48){var _vpi=_b48.selectSingleNode("group");if(_vpi){var _ty6=this._l3d(_oxd.ownerDocument, _vpi);if(_ty6){_8qn._35b(_oxd, _8qn._k5g(_ty6, "treeNode"));}}}return _oxd.selectSingleNode("treeNode")!=null;};_sf7._l3d=function(_0yl,_qrm){var _4ac=_0yl.createElement("treeNode");_4ac.setAttribute("nodeName", _qrm.nodeName);var _2bk=_qrm.getAttribute("idsLabel");if(_2bk){_4ac.setAttribute("label", _frh._c6j(_2bk));}else{var _vdn=_qrm.getAttribute("name");if(_vdn){_4ac.setAttribute("label", _vdn);}}_4ac.setAttribute( "smallSvgIcon", "def_hal_folder_16x16" );_4ac.setAttribute( "expandedSmallSvgIcon", "def_hal_folder_expanded_16x16" );_4ac.setAttribute( "expandable", "true" );_4ac.setAttribute( "idsExtraAriaLabel", "IDS_HAL_AC_TYPE_FOLDER" );var _8dk=_qrm.getAttribute("qosLevel");switch(_8dk){case "limited":case "restricted":_4ac.setAttribute( "stateSmallIcon", "functions/qosLevel_" + _8dk + ".gif" );break;case "unavailable":return null;}var nl=_qrm.selectNodes( "group | function" );for(var i=0;i");_n4n.push("");}var _mdn=_nlm[i];if(i<_16c){_n4n.push("");}else if(i!=_16c){_n4n.push("");}}if(_x99>0){_n4n.push("
");_n4n.push(_mdn.replace(/\t/g, ""));_n4n.push("
");_n4n.push(_mdn.replace(/\t/g, ""));_n4n.push("
");}return _n4n.join("");};_sf7._mf6=function(_qyj){if(!_qyj){return "";}var _n4n=[];var _o3m=_qyj.selectSingleNode("syntax");if(_o3m&&_o3m.text){_n4n.push("
");_n4n.push(_cgm._qoh(_o3m.text));_n4n.push("
");}var _3mn=_qyj.selectSingleNode("tip");if(_3mn&&_3mn.text){_n4n.push("
");_n4n.push(_cgm._qoh(_3mn.text));_n4n.push("
");}for(var i=1;i<10;i++){var _s4l=_qyj.selectSingleNode("example."+i);if(!_s4l){break;}var _pt6=false;if(_s4l&&_s4l.text){_n4n.push("\n
");_n4n.push(_cgm._qoh(_s4l.text));_n4n.push("
");_pt6=true;}var _93m=_qyj.selectSingleNode("result."+i);if(_93m&&_93m.text){_n4n.push("
");_n4n.push(_cgm._qoh(_93m.text));_n4n.push("
");_pt6=true;}var _17h=_qyj.selectSingleNode("resultdata."+i);if(_17h&&_17h.text){_n4n.push(this._lt(_cgm._qoh(_17h.text)));_pt6=true;}if(_pt6){_n4n.push("
");}}return _n4n.join("").replace( /[\n]/g, "
" ).replace( /\s\s/g, "  " );};_sf7._303=function(_3gh,_20k){if(_20k){var _qyj=_20k.selectSingleNode( ".//function[@id=" + _cgm._zxc( _3gh ) + "]" );return this._mf6(_qyj);}return "";};_sf7._u56=function(_pak,_20k){if(_20k){var _qyj=_20k.selectSingleNode( ".//function[translate(@name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')=" + _cgm._zxc( _pak.toLowerCase() ) + "]" );return this._mf6(_qyj);}return "";};function _gpc(_gum, _jy7, _989, _b6k, _94c){var _u2k=_frh._53g("AsyncTree");_u2k.setAttribute( "stateSmallIconHeight", "16px" );_u2k.setAttribute( "stateSmallIconWidth", "6px" );_u2k.setAttribute( "htmlDrag", "true" );this._41f=new _vgk(_989, _u2k, _b6k);this._41f._u6g(_frh._c6j("IDS_FUNCTIONS_NOT_AVAILABLE"));var _0um=Q.defer();this._419=_0um.promise;if(!_gum){_0um.resolve(true);return;}switch(_94c){case _gpc._yv9:_gum._i97().done(function(_20k){this._ohj=_20k;if(_qkk._qik("BusinessExprEditor")){_dnl._s5g("text!res/QueryFunctions.xml").done(function(_g1b){var _usa=_8qn._dhe(_g1b).documentElement;if(!_jy7){this._ahb(_usa, ".//function[type='dimensional']");}var nl=_usa.selectNodes(".//function");for(var i=0; i0){ _yz1.setAttribute( "nodeName", "reportParametersRoot_macro" );_yz1.setAttribute( "label", _frh._c6j( "IDS_LBL_REPORT_PARAMETERS" ) );_yz1.setAttribute( "smallSvgIcon", "def_hal_folder_16x16" );_yz1.setAttribute( "expandedSmallSvgIcon", "def_hal_folder_expanded_16x16" );_yz1.setAttribute( "expandable", "true" );_yz1.setAttribute( "idsExtraAriaLabel", "IDS_HAL_AC_TYPE_FOLDER" );_oxd.insertBefore(_yz1, _oxd.firstChild);}};_5mh.prototype._jd=function(){var _674=this._fda._cr9().selectSingleNode( "treeNode[@nodeName = 'reportParametersRoot_macro']" );if(_674){var _33m=_674.parentNode;_33m.removeChild(_674);this._la(_33m);this._fda._wfn();}};_5mh.prototype._rj=function(_oxd){if(!this._024){return;}var _4va=this._024.selectNodes(".//parameterMap");if(_4va.length>0){var _0yl=_oxd.ownerDocument;var _wh3=null;var _874=null;for(var iMap=0;iMap<_4va.length;iMap++){var _0xd=_4va.item(iMap);var _w9i=_0xd.getAttribute("hidden");if(_0xd.getAttribute( "name" )=="_env" ){_874=_0xd;}else if(_w9i!="1"){if(!_wh3){_wh3=_oxd.appendChild(_0yl.createElement("treeNode"));_wh3.setAttribute( "label", _frh._c6j( "IDS_LBL_PARAMETER_MAPS" ) );_wh3.setAttribute("smallSvgIcon", "def_hal_folder_16x16");_wh3.setAttribute("expandedSmallSvgIcon", "def_hal_folder_expanded_16x16");_wh3.setAttribute("expandable", "true");_wh3.setAttribute("idsExtraAriaLabel", "IDS_HAL_AC_TYPE_FOLDER" );}this._4l4(_wh3, _0xd);}}if(_874){this._c8(_oxd, _874);}}var _dx7=Application._t75();this._c9(_oxd, _dx7, true);};_5mh.prototype._wt1=function(_n48,_ky6){var _t2k=_n48.appendChild(_n48.ownerDocument.createElement("treeNode"));_t2k.setAttribute("nodeName", _ky6.nodeName);_t2k.setAttribute( "label", _ky6.getAttribute( "key" ) );_t2k.setAttribute( "key", _ky6.getAttribute( "key" ) );_t2k.setAttribute( "smallSvgIcon", "def_password_key" );_t2k.setAttribute( "idsExtraAriaLabel", "IDS_AC_TYPE_PARAMETER_MAP_ENTRY" );};_5mh.prototype._4l4=function(_wh3,_0xd){var _0yl=_wh3.ownerDocument;var _n48=_wh3.appendChild(_0yl.createElement("treeNode"));_n48.setAttribute("nodeName", _0xd.nodeName);_n48.setAttribute( "label", _0xd.getAttribute( "name" ) );_n48.setAttribute( "name", _0xd.getAttribute( "name" ) );_n48.setAttribute( "smallSvgIcon", "def_hal_folder_16x16" );_n48.setAttribute( "expandedSmallSvgIcon", "def_hal_folder_expanded_16x16" );_n48.setAttribute( "expandable", "true");_n48.setAttribute( "idsExtraAriaLabel", "IDS_AC_TYPE_PARAMETER_MAP" );if(_0xd.selectSingleNode("queryItemMap")){_n48.setAttribute( "isQueryItemMap", "true");}var _umf=_0xd.selectNodes("parameterMapEntry");for(var iEntry=0;iEntry<_umf.length;iEntry++){this._wt1(_n48, _umf.item(iEntry));}};_5mh.prototype._c8=function(_oxd,_874){var _0yl=_oxd.ownerDocument;var _n48=_oxd.appendChild(_0yl.createElement("treeNode"));_n48.setAttribute( "nodeName", "sessionParametersRoot" );_n48.setAttribute( "label", _frh._c6j( "IDS_LBL_SESSION_PARAMETERS" ) );_n48.setAttribute("smallSvgIcon", "def_hal_folder_16x16");_n48.setAttribute("expandedSmallSvgIcon", "def_hal_folder_expanded_16x16");_n48.setAttribute("expandable", "true");_n48.setAttribute("idsExtraAriaLabel", "IDS_HAL_AC_TYPE_FOLDER" );var _umf=_874.selectNodes("parameterMapEntry");for(var iEntry=0;iEntry<_umf.length;iEntry++){var _irm=_umf.item(iEntry);var _t2k=_n48.appendChild(_0yl.createElement("treeNode"));_t2k.setAttribute("nodeName", _irm.nodeName);_t2k.setAttribute( "label", _irm.getAttribute( "key" ) );_t2k.setAttribute( "key", _irm.getAttribute( "key" ) );_t2k.setAttribute( "smallSvgIcon", "def_password_key" );_t2k.setAttribute( "idsExtraAriaLabel", "IDS_AC_TYPE_SESSION_PARAMETER" );} };_5mh.prototype._c9=function(_oxd,_dx7,_vxk){var _0yl=_oxd.ownerDocument;var _tzl=_dx7?_dx7.length:0;if(!_tzl){return;}var _n48=_oxd.appendChild(_0yl.createElement("treeNode"));_n48.setAttribute("nodeName", "globalParametersRoot" );_n48.setAttribute("label", _frh._c6j( "IDS_LBL_GLOBAL_PARAMETERS"));_n48.setAttribute("smallSvgIcon", "def_hal_folder_16x16");_n48.setAttribute("expandedSmallSvgIcon", "def_hal_folder_expanded_16x16");_n48.setAttribute("expandable", "true");_n48.setAttribute("idsExtraAriaLabel", "IDS_HAL_AC_TYPE_FOLDER" );for(var i=0; i<_tzl; i++){var _wvm=_dx7[i];var _t2k=_n48.appendChild(_0yl.createElement("treeNode"));_t2k.setAttribute("nodeName", _vxk?"parameterMapEntry":"parameter");_t2k.setAttribute("label", _wvm);_t2k.setAttribute("key", _wvm);_t2k.setAttribute("smallSvgIcon", _vxk?"def_password_key":"def_parameter" );_t2k.setAttribute("idsExtraAriaLabel", _vxk?"IDS_AC_TYPE_SESSION_PARAMETER":"");}};_5mh.prototype._303=function(_3gh){return _sf7._303(_3gh, this._js2);};_5mh.prototype._u56=function(_pak){return _sf7._u56(_pak, this._js2);};_5mh.prototype._du=function(_0xd){var _umf=_0xd.selectNodes("queryItemMapEntry");var _tzl=_umf.length;if(_tzl>0){for(var iEntry=0;iEntry<_tzl;iEntry++){this._wt1(this._xhj, _umf.item(iEntry));}return true;}return false;};