//>>built
define("dojox/css3/transit",["dojo/_base/array","dojo/dom-style","dojo/DeferredList","./transition"],function(k,e,i,d){return function(b,c,a){var j=a&&a.reverse?-1:1;if(!a||!a.transition||!d[a.transition])return e.set(b,"display","none"),e.set(c,"display",""),a.transitionDefs&&(a.transitionDefs[b.id]&&a.transitionDefs[b.id].resolve(b),a.transitionDefs[c.id]&&a.transitionDefs[c.id].resolve(c)),new i([]);var h=[],f=[],g=250;"fade"===a.transition?g=600:"flip"===a.transition&&(g=200);e.set(b,"display",
"");e.set(c,"display","");b&&(b=d[a.transition](b,{"in":!1,direction:j,duration:g,deferred:a.transitionDefs&&a.transitionDefs[b.id]?a.transitionDefs[b.id]:null}),h.push(b.deferred),f.push(b));c=d[a.transition](c,{direction:j,duration:g,deferred:a.transitionDefs&&a.transitionDefs[c.id]?a.transitionDefs[c.id]:null});h.push(c.deferred);f.push(c);"flip"===a.transition?d.chainedPlay(f):d.groupedPlay(f);return new i(h)}});