123456 |
- // 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 _rgn={};_rgn._2gn=function(_gpn){var d=_8qn._kph(this, _gpn, true, false);var _l8n=d.documentElement;var _m9n=_7hn._ij8(_l8n, "mode");this._m3n=_m9n?_m9n.getAttribute( "value" ):"normal";switch(this._m3n){case "ids":break;case "prefixSuffix":this._8tl=_m9n.getAttribute("prefix");this._gtl=_m9n.getAttribute("suffix");break;case "percentageGrowth":this._vr7=parseFloat(_m9n.getAttribute("growth"));break;case "unicodeRange":this._6o6=parseInt(_m9n.getAttribute("start"), 16);this._uz8=parseInt(_m9n.getAttribute("end"), 16);this._vr7=parseFloat(_m9n.getAttribute("growth"));break;case "normal":default:return;}_frh._95b=_frh._c6j;_frh._dy2=_frh._997;_frh._c6j=this._c6j;_frh._997=this._997;};_rgn._or9=function(){this._m3n="percentageGrowth";this._vr7=0.3;_frh._95b=_frh._c6j;_frh._dy2=_frh._997;_frh._c6j=this._c6j;_frh._997=this._997;};_rgn._c6j=function(ids){var s=this._95b(ids);return _rgn._qnl(ids, s);};_rgn._997=function(ids){var s=this._dy2(ids);if(s){return _rgn._qnl(ids, s);}return null;};_rgn._qnl=function(ids,s){switch(this._m3n){case "ids":return ids;case "prefixSuffix":return this._8tl+s+this._gtl;case "percentageGrowth":return this._vs3(s);case "unicodeRange":return this._dg7(s);}return s;};_rgn._vs3=function(s){if(isNaN(this._vr7)){return;}if(this._vr7<0){return _cgm._hkk(s, s.length+Math.round(s.length*this._vr7), false);}var _c1l=Math.round((s.length*this._vr7)/ 2);s=_cgm._cll(s, "x", s.length+_c1l);s=_cgm._jjk(s, "x", s.length+_c1l);return s;};_rgn._dg7=function(s){var _kef=this._uz8-this._6o6;var _tzl=s.length;s="";for(var i=0;i<_tzl;i++){s+= _cgm._nee(this._6o6+Math.round((Math.random()*_kef)));}return this._vs3(s);};
|