_vzm.js 2.9 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var _vzm={};_vzm._i9d=new Array(50);_vzm._8jg=1;_vzm._to9=function(_mvl){this._4ad=_mvl;};_vzm._49b=function(){return !!this._4ad;};_vzm._s8g=false;_vzm._9p3=function(context,_tmn,_omj){if(!_vzm._3r2){_vzm._3r2=[];}_vzm._3r2.push( { "map":_tmn, "depArray":_omj } );};_vzm._hm=function(_ex4){var d=_8qn._kph(_5hk, "<require.js/>", false);var _1an=d.documentElement;for(var i=0;i<this._3r2.length;i++){var o=this._3r2[i];var _tmn=o.map;var _29n=_1an.appendChild(d.createElement("file"));if(_tmn.prefix){_29n.setAttribute("prefix", _tmn.prefix);}_29n.setAttribute("name", _tmn.name);if(_tmn.url&&(_tmn.name!=_tmn.url)&&((_tmn.name+".js")!=_tmn.url)){_29n.setAttribute("url", _tmn.url);}if((_ex4!==false)&&o.depArray){o.depArray.forEach(this._uo8.bind(this, d, _29n));}}return _7hn._3em(_1an);};_vzm._uo8=function(d,_29n,_tmn){var _0ln=_29n.appendChild(d.createElement("dependency"));if(_tmn.prefix){_0ln.setAttribute("prefix", _tmn.prefix);}_0ln.setAttribute("name", _tmn.name);if(_tmn.url&&(_tmn.name!=_tmn.url)&&((_tmn.name+".js")!=_tmn.url)){_0ln.setAttribute("url", _tmn.url);}};_vzm._h12=function(){this._3r2=[];};_vzm._q6g=function(){try{if(this._oqn&&!this._oqn.closed){return;}this._8jg=1;var _tcl=this._i9d.map(function(s){ return s?this._j3d( s ):""; }.bind( this ) ).join( "" );var _6wi="white-space:nowrap;background-color:black;color:silver;padding:5px;font-size:10pt";this._oqn=_4qn._su9( _tcl, "HAL Debug Console", _6wi );}catch(e){}};_vzm._sde=function(){try{if(this._oqn&&!this._oqn.closed){this._oqn.close();}this._oqn=null;}catch(e){}};_vzm._ozm=function(s){try{this._idg(s);console.log(s);if(this._oqn&&!this._oqn.closed){this._oqn.document.body.innerHTML+= this._j3d(s);this._oqn.scrollBy(0, 10000);}}catch(e){}};_vzm._d5g=function(o,_vdn){switch(typeof o){case "object":if(o){if(o.constructor==Array){for(var i=0;i<o.length;i++){this._ozm((_vdn||"" ) + "[" + i + "] = " + o[i] );}}else{for(var s in o){this._ozm((_vdn||"" ) + "[" + s + "] = " + o[s] );}}}break;case "string":case "number":case "boolean":case "function":case "undefined":this._ozm(String(o));break;}};_vzm._8zm=function(s){if(!this._4ad){return;}try{this._idg(s);window.alert( "Debug Alert:\r\n\r\n" + s );}catch(e){}};_vzm._6dm=function(b){if(!this._4ad){return;}try{if(!b&&window.confirm( "Assertion failed!\r\n\r\nDebug?" ) ){debugger;}}catch(e){}};_vzm._j3d=function(s){s=_cgm._cll((this._8jg++ ).toString(), " ", 4 ).replace( /\s/g, "&nbsp;" ) + ": " + _cgm._qoh( String( s ) );s=s.replace(/\n/g, "<br>");s=s.replace(/\t/g, "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");s=s.replace(/ /g, "&nbsp;&nbsp;");s="<div><tt>" + s + "</tt></div>";return s;};_vzm._idg=function(s){this._i9d.splice(0, 1);this._i9d.push(s);};