_199.js 1.8 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  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 _199={};_199._j89=function(_wd9){var d=_ie9._yj6(this, _wd9, true, false);var _449=d.documentElement;var _j49=_999._7y2(_449, "mode");this._e19=_j49?_j49.getAttribute( "value" ):"normal";switch(this._e19){case "ids":break;case "prefixSuffix":this._ed8=_j49.getAttribute("prefix");this._id8=_j49.getAttribute("suffix");break;case "percentageGrowth":this._uo2=parseFloat(_j49.getAttribute("growth"));break;case "unicodeRange":this._oa2=parseInt(_j49.getAttribute("start"), 16);this._263=parseInt(_j49.getAttribute("end"), 16);this._uo2=parseFloat(_j49.getAttribute("growth"));break;case "normal":default:return;}_4l6._ey3=_4l6._m67;_4l6._2z=_4l6._rh2;_4l6._m67=this._m67;_4l6._rh2=this._rh2;};_199._gf3=function(){this._e19="percentageGrowth";this._uo2=0.3;_4l6._ey3=_4l6._m67;_4l6._2z=_4l6._rh2;_4l6._m67=this._m67;_4l6._rh2=this._rh2;};_199._m67=function(ids){var s=this._ey3(ids);return _199._ya8(ids, s);};_199._rh2=function(ids){var s=this._2z(ids);if(s){return _199._ya8(ids, s);}return null;};_199._ya8=function(ids,s){switch(this._e19){case "ids":return ids;case "prefixSuffix":return this._ed8+s+this._id8;case "percentageGrowth":return this._a91(s);case "unicodeRange":return this._dk2(s);}return s;};_199._a91=function(s){if(isNaN(this._uo2)){return;}if(this._uo2<0){return _jp8._ns7(s, s.length+Math.round(s.length*this._uo2), false);}var _t08=Math.round((s.length*this._uo2)/ 2);s=_jp8._o98(s, "x", s.length+_t08);s=_jp8._4s7(s, "x", s.length+_t08);return s;};_199._dk2=function(s){var _km5=this._263-this._oa2;var _zg8=s.length;s="";for(var i=0;i<_zg8;i++){s+= _jp8._m75(this._oa2+Math.round((Math.random()*_km5)));}return this._a91(s);};