//>>built
require({cache:{"url:dijit/templates/MenuBar.html":'<div class="dijitMenuBar dijitMenuPassive" data-dojo-attach-point="containerNode"  role="menubar" tabIndex="${tabIndex}" data-dojo-attach-event="onkeypress: _onKeyPress"></div>\n'}});
define("dijit/MenuBar",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(d,e,c,f,g){return d("dijit.MenuBar",f,{templateString:g,baseClass:"dijitMenuBar",_isMenuBar:!0,postCreate:function(){this.inherited(arguments);var a=this.isLeftToRight();this.connectKeyNavHandlers(a?[c.LEFT_ARROW]:[c.RIGHT_ARROW],a?[c.RIGHT_ARROW]:[c.LEFT_ARROW]);this._orient=["below"]},_moveToPopup:function(a){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,
a)},focusChild:function(a){var b=this.focusedChild,b=b&&b.popup&&b.popup.isShowingNow;this.inherited(arguments);b&&a.popup&&!a.disabled&&this._openPopup(!0)},_onKeyPress:function(a){if(!a.ctrlKey&&!a.altKey)switch(a.charOrCode){case c.DOWN_ARROW:this._moveToPopup(a),e.stop(a)}},onItemClick:function(a,b){if(a.popup&&a.popup.isShowingNow&&("keypress"!==b.type||b.keyCode!==c.DOWN_ARROW))a.popup.onCancel();else this.inherited(arguments)}})});