//>>built
define("dijit/_AttachMixin","require dojo/_base/array dojo/_base/connect dojo/_base/declare dojo/_base/lang dojo/mouse dojo/on dojo/touch ./_WidgetBase".split(" "),function(q,m,l,r,e,n,t,u,v){var w=e.delegate(u,{mouseenter:n.enter,mouseleave:n.leave,keypress:l._keypress}),p;l=r("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[]},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent()},_beforeFillContent:function(){},
_attachTemplateNodes:function(b){for(var a=b;;)if(1==a.nodeType&&(this._processTemplateNode(a,function(f,h){return f.getAttribute(h)},this._attach)||this.searchContainerNode)&&a.firstChild)a=a.firstChild;else{if(a==b)break;for(;!a.nextSibling;)if(a=a.parentNode,a==b)return;a=a.nextSibling}},_processTemplateNode:function(b,a,f){var h=!0,k=this.attachScope||this,c=a(b,"dojoAttachPoint")||a(b,"data-dojo-attach-point");if(c)for(var g=c.split(/\s*,\s*/);c=g.shift();)e.isArray(k[c])?k[c].push(b):k[c]=b,
h="containerNode"!=c,this._attachPoints.push(c);if(a=a(b,"dojoAttachEvent")||a(b,"data-dojo-attach-event"))for(c=a.split(/\s*,\s*/),g=e.trim;a=c.shift();)if(a){var d=null;-1!=a.indexOf(":")?(d=a.split(":"),a=g(d[0]),d=g(d[1])):a=g(a);d||(d=a);this._attachEvents.push(f(b,a,e.hitch(k,d)))}return h},_attach:function(b,a,f){a=a.replace(/^on/,"").toLowerCase();a="dijitclick"==a?p||(p=q("./a11yclick")):w[a]||a;return t(b,a,f)},_detachTemplateNodes:function(){var b=this.attachScope||this;m.forEach(this._attachPoints,
function(a){delete b[a]});this._attachPoints=[];m.forEach(this._attachEvents,function(a){a.remove()});this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments)}});e.extend(v,{dojoAttachEvent:"",dojoAttachPoint:""});return l});