/*
* Function printf(format_string,arguments...)
* Javascript emulation of the C printf function (modifiers and argument types "p" and "n" are not supported due to language restrictions)
* Copyright 2003 K&L Productions. All rights reserved
* http://www.klproductions.com
* Terms of use: This function can be used free of charge IF this header is not modified and remains with the function code.
* Legal: Use this code at your own risk. K&L Productions assumes NO resposibility for anything.
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[(function(e){return d[e]})];e=(function(){return'\\w+'});c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('q 1k(Z){p C=q(Q,13,P){p I=\'\';14(p i=0;i<t.z(P);i++)I+=13;m P>0?Q+I:I+Q};p A=q(a,b,7,9){p U=q(a,9,7){j(9>=0){j(a.r(\' \')>=0)7=\' \'+7;R j(a.r(\'+\')>=0)7=\'+\'+7}R 7=\'-\'+7;m 7};p D=y(b,10);j(b.18(0)==\'0\'){p J=0;j(a.r(\' \')>=0||a.r(\'+\')>=0)J++;j(7.n<(D-J))7=C(7,\'0\',7.n-(D-J));m U(a,9,7)};7=U(a,9,7);j(7.n<D){j(a.r(\'-\')<0)7=C(7,\' \',7.n-D);R 7=C(7,\' \',D-7.n)};m 7};p l=1e 1f();l[\'c\']=q(a,b,h,9){j(17(9)==\'1g\')m 1b.1h(9);j(17(9)==\'1i\')m 9.18(0);m\'\'};l[\'d\']=q(a,b,h,9){m l[\'i\'](a,b,h,9)};l[\'u\']=q(a,b,h,9){m l[\'i\'](a,b,h,t.z(9))};l[\'i\']=q(a,b,h,9){p k=y(h);p 7=((t.z(9)).V().11(\'.\'))[0];j(7.n<k)7=C(7,\' \',k-7.n);m A(a,b,7,9)};l[\'E\']=q(a,b,h,9){m(l[\'e\'](a,b,h,9)).O()};l[\'e\']=q(a,b,h,9){k=y(h);j(L(k))k=6;7=(t.z(9)).S(k);j(7.r(\'.\')<0&&a.r(\'#\')>=0)7=7.Y(/^(.*)(e.*)$/,\'$1.$2\');m A(a,b,7,9)};l[\'f\']=q(a,b,h,9){k=y(h);j(L(k))k=6;7=(t.z(9)).N(k);j(7.r(\'.\')<0&&a.r(\'#\')>=0)7=7+\'.\';m A(a,b,7,9)};l[\'G\']=q(a,b,h,9){m(l[\'g\'](a,b,h,9)).O()};l[\'g\']=q(a,b,h,9){k=y(h);F=t.z(9);w=F.S();v=F.N(6);j(!L(k)){M=F.S(k);w=M.n<w.n?M:w;T=F.N(k);v=T.n<v.n?T:v};j(w.r(\'.\')<0&&a.r(\'#\')>=0)w=w.Y(/^(.*)(e.*)$/,\'$1.$2\');j(v.r(\'.\')<0&&a.r(\'#\')>=0)v=v+\'.\';7=w.n<v.n?w:v;m A(a,b,7,9)};l[\'o\']=q(a,b,h,9){p k=y(h);p 7=t.12(t.z(9)).V(8);j(7.n<k)7=C(7,\' \',k-7.n);j(a.r(\'#\')>=0)7=\'0\'+7;m A(a,b,7,9)};l[\'X\']=q(a,b,h,9){m(l[\'x\'](a,b,h,9)).O()};l[\'x\']=q(a,b,h,9){p k=y(h);9=t.z(9);p 7=t.12(9).V(16);j(7.n<k)7=C(7,\' \',k-7.n);j(a.r(\'#\')>=0)7=\'1d\'+7;m A(a,b,7,9)};l[\'s\']=q(a,b,h,9){p k=y(h);p 7=9;j(7.n>k)7=7.1l(0,k);m A(a,b,7,0)};K=Z.11(\'%\');H=K[0];15=/^([-+ #]*)(\\d*)\\.?(\\d*)([1c])(.*)$/;14(p i=1;i<K.n;i++){B=15.1j(K[i]);j(!B)19;j(W[i]!=1a)H+=l[B[4]](B[1],B[2],B[3],W[i]);H+=B[5]};m H};',62,84,'|||||||rs||arg|flags|width||||||precision||if|iPrecision|converters|return|length||var|function|indexOf||Math||rsf|rse||parseInt|abs|processFlags|fps|pad|iWidth||absArg||retstr|ps|ec|farr|isNaN|rsep|toFixed|toUpperCase|len|str|else|toExponential|rsfp|pn|toString|arguments||replace|fstring||split|round|ch|for|fpRE||typeof|charAt|continue|null|String|cdieEfFgGosuxX|0x|new|Array|number|fromCharCode|string|exec|printf|substring'.split('|'),0,{}))