//>>built
define("demos/beer/src/Lady",["dojo","dijit","dojox","dojo/require!dijit/_Widget,dijit/_Templated,dojox/timing/Sequence"],function(_1,_2,_3){_1.provide("demos.beer.src.Lady");_1.require("dijit._Widget");_1.require("dijit._Templated");_1.require("dojox.timing.Sequence");_1.declare("beer._LadyBehavior",null,{constructor:function(){this._batEyes=[{func:[_1.hitch(this,"smile",true),this],pauseAfter:200},{func:[_1.hitch(this,"blink",45),this],repeat:3,pauseAfter:100},{func:[_1.hitch(this,"smile",false),this],pauseBefore:200}];},bat:function(){this.actions.go(this._batEyes);}});_1.declare("beer.Lady",[_2._Widget,_2._Templated,beer._LadyBehavior],{templateString:"<div class=\"beerLady\">\n\t<div class=\"beerLadyInner\" dojoAttachPoint=\"innerNode\">\n\t\t<div class=\"beerLadySmile\"></div>\n\t\t<div class=\"beerLadyBlink\"></div>\n\t\t<div class=\"beerLadyMouth\"></div>\n\t</div>\n</div>",constructor:function(_4,_5){_1.mixin(this,_4);this.actions=new _3.timing.Sequence({});},smile:function(on){var n=this.innerNode;_1.removeClass(n,"beerLadyAngry");_1[(on?"addClass":"removeClass")](n,"beerLadySmiling");},frown:function(on){var n=this.innerNode;_1.removeClass(n,"beerLadySmiling");_1[(on?"addClass":"removeClass")](n,"beerLadyAngry");},blink:function(_6,_7){if(this._blinking&&!_7){clearTimeout(this._blinking);}_1.addClass(this.innerNode,"beerLadyBlinking");this._blinking=setTimeout(_1.hitch(this,function(){_1.removeClass(this.innerNode,"beerLadyBlinking");}),_6||275);},say:function(_8){}});});