(function($){
var _2={"%":function(_3){
return "%";
},"b":function(_4){
return parseInt(_4,10).toString(2);
},"c":function(_5){
return String.fromCharCode(parseInt(_5,10));
},"d":function(_6){
return parseInt(_6,10)?parseInt(_6,10):0;
},"u":function(_7){
return Math.abs(_7);
},"f":function(_8,p){
return (p>-1)?Math.round(parseFloat(_8)*Math.pow(10,p))/Math.pow(10,p):parseFloat(_8);
},"o":function(_a){
return parseInt(_a,10).toString(8);
},"s":function(_b){
return _b;
},"x":function(_c){
return (""+parseInt(_c,10).toString(16)).toLowerCase();
},"X":function(_d){
return (""+parseInt(_d,10).toString(16)).toUpperCase();
}};
var re=/%(?:(\d+)?(?:\.(\d+))?|\(([^)]+)\))([%bcdufosxX])/g;
var _f=function(_10){
if(_10.length==1&&typeof _10[0]=="object"){
_10=_10[0];
return function(_11,w,p,lbl,fmt,off,str){
return _2[fmt](_10[lbl]);
};
}else{
var idx=0;
return function(_19,w,p,lbl,fmt,off,str){
return _2[fmt](_10[idx++],p);
};
}
};
$.extend({sprintf:function(_20){
var _21=Array.apply(null,arguments).slice(1);
return _20.replace(re,_f(_21));
},vsprintf:function(_22,_23){
return _22.replace(re,_f(_23));
}});
})(jQuery);

