// 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 _7aj={};_7aj._ymh=function(_o1k,_83m,_mai,_kzi,_2y4){var d=_o1k.ownerDocument;var nl;if(!_kzi){nl=_7hn._x5g(_83m, "queries/*");}else {nl=_7hn._x5g( _83m, "queries/*[*/metadataPath[@path=" + _cgm._zxc( _kzi ) + "]]" );if(nl.length==0&&_agm._j75(_83m)===_kzi){var _2wf="queries/*[source/model]";if(_2y4){_2wf += " | queries/*[source/queryRef] | queries/*[source/sqlQuery] | queries/*[source/queryOperation] | queries/*[source/joinOperation] | queries/*[source/metadataPath]";}nl=_7hn._x5g(_83m, _2wf);}}var _tzl=nl.length;for(var i=0; i<_tzl;++i){this._9hk(_o1k, nl.item(i), _mai);}};_7aj._a46=function(_o1k){if(_7hn._x5g(_o1k, "treeNode/treeNode").length>100){_8qn._qt9( _o1k, ".//treeNode", "expanded" );return true;}return false;};_7aj._9hk=function(_o1k,_fsm,_mai){var d=_o1k.ownerDocument;var _uwm=_fsm.getAttribute("name");var _t2k=this._6g7( d, _o1k, _uwm, _uwm, "queryRef", null, "def_el_query" );if(_mai){this._8de(_t2k, _fsm, true);}return _t2k;};_7aj._x4b=function(_o1k,_bkf,_mai){var d=_o1k.ownerDocument;switch(_bkf.nodeName){case "report":this._ymh(_o1k, _bkf, false);break;case "query":this._9hk(_o1k, _bkf, _mai);break;case "queryRef":this._9hk(_o1k, _enl._765(_bkf), _mai);break;case "queryOperation":var _osn=_bkf.getAttribute("setOperation");var _t2k=_o1k.appendChild(d.createElement("treeNode"));var _vdn=_bkf.getAttribute("name");if(_vdn){_t2k.setAttribute("label", _vdn);}else{_t2k.setAttribute( "idsLabel", "IDS_PROPVAL_SETOP_" + _osn );}_t2k.setAttribute( "smallSvgIcon", "def_setOperation_" + _osn );_t2k.setAttribute( "expandable", "true" );_t2k.setAttribute( "expanded", "true" );_t2k.setAttribute( "nodeName", "queryOperationRef" );if(_mai){this._nw(_t2k, _bkf);}break;case "joinOperation":var _t2k=_o1k.appendChild(d.createElement("treeNode"));_t2k.setAttribute( "idsLabel", "IDS_EL_joinOperation" );_t2k.setAttribute( "smallSvgIcon", "def_joinOperation" );_t2k.setAttribute( "expandable", "true" );_t2k.setAttribute( "expanded", "true" );_t2k.setAttribute( "nodeName", "joinOperationRef" );var nl=_7hn._x5g(_bkf, "joinOperands/joinOperand/queryRef");for(var i=0;i