//>>built
define("dojox/fx/style","dojo/_base/kernel dojo/_base/lang dojo/_base/fx dojo/fx ./_base dojo/_base/array dojo/dom dojo/dom-style dojo/dom-class dojo/_base/connect".split(" "),function(k,l,q,m,g,r,n,x,p,t){k.experimental("dojox.fx.style");var u=function(a){return r.map(g._allowedProperties,function(b){return a[b]})},w=function(a,b,c){a=n.byId(a);var d=x.getComputedStyle(a),f=u(d);k[c?"addClass":"removeClass"](a,b);var e=u(d);k[c?"removeClass":"addClass"](a,b);var v={},h=0;r.forEach(g._allowedProperties,
function(a){f[h]!=e[h]&&(v[a]=parseInt(e[h]));h++});return v};m={addClass:function(a,b,c){a=n.byId(a);var d=function(a){return function(){p.add(a,b);a.style.cssText=e}}(a),f=w(a,b,!0),e=a.style.cssText;a=q.animateProperty(l.mixin({node:a,properties:f},c));t.connect(a,"onEnd",a,d);return a},removeClass:function(a,b,c){a=n.byId(a);var d=function(a){return function(){p.remove(a,b);a.style.cssText=e}}(a),f=w(a,b),e=a.style.cssText;a=q.animateProperty(l.mixin({node:a,properties:f},c));t.connect(a,"onEnd",
a,d);return a},toggleClass:function(a,b,c,d){"undefined"==typeof c&&(c=!p.contains(a,b));return g[c?"addClass":"removeClass"](a,b,d)},_allowedProperties:"width height left top backgroundColor color borderBottomWidth borderTopWidth borderLeftWidth borderRightWidth paddingLeft paddingRight paddingTop paddingBottom marginLeft marginTop marginRight marginBottom lineHeight letterSpacing fontSize".split(" ")};l.mixin(g,m);return m});