!function(t){function a(t){var a=t.data("_ARS_data");return a||(a={rotateUnits:"deg",scale:1,rotate:0},t.data("_ARS_data",a)),a}function e(t,a){var e="";void 0!==t.data("axis")&&(e=t.data("axis")),t.css("transform","rotate"+e+"("+a.rotate+a.rotateUnits+") scale("+a.scale+","+a.scale+")")}t.fn.rotate=function(r){var o,n=t(this),i=a(n);return void 0===r?i.rotate+i.rotateUnits:((o=r.toString().match(/^(-?\d+(\.\d+)?)(.+)?$/))&&(o[3]&&(i.rotateUnits=o[3]),i.rotate=o[1],e(n,i)),this)},t.fn.scale=function(r){var o=t(this),n=a(o);return void 0===r?n.scale:(n.scale=r,e(o,n),this)};var r=t.fx.prototype.cur;t.fx.prototype.cur=function(){return"rotate"==this.prop?parseFloat(t(this.elem).rotate()):"scale"==this.prop?parseFloat(t(this.elem).scale()):r.apply(this,arguments)},t.fx.step.rotate=function(e){var r=a(t(e.elem));t(e.elem).rotate(e.now+r.rotateUnits)},t.fx.step.scale=function(a){t(a.elem).scale(a.now)};var o=t.fn.animate;t.fn.animate=function(e){if(void 0!==e.rotate){var r=e.rotate.toString().match(/^(([+-]=)?(-?\d+(\.\d+)?))(.+)?$/);r&&r[5]&&(a(t(this)).rotateUnits=r[5]),e.rotate=r[1]}return o.apply(this,arguments)}}(jQuery);