text: AUI.add("aui-toggler-delegate",function(t){var e=t.Lang,o=e.isBoolean,p=e.isObject,r=e.isString,C=t.Array,b=t.config.doc,g=t.Toggler,y="-",w=".",F="",n=" ",q="animated",f="click",s="closeAllOnExpand",u="container",j="content",v="cubic-bezier",l="expanded",a="firstChild",x="header",d="keydown",m="linear",i="toggler",c="toggler:animatingChange",B="toggler-delegate",E="transition",h="wrapper",D=t.getClassName,z=D(i,j,h);var k=t.Component.create({NAME:B,ATTRS:{animated:{validator:o,value:false,writeOnce:true},closeAllOnExpand:{validator:o,value:false},container:{setter:t.one,value:b},content:{validator:r},expanded:{validator:o,value:true},header:{validator:r},transition:{validator:p,value:{duration:0.4,easing:v}}},EXTENDS:t.Base,prototype:{items:null,initializer:function(){var A=this;A.bindUI();A.renderUI();},renderUI:function(){var A=this;if(A.get(s)){A.items=[];A.get(u).all(A.get(x)).each(function(G){A.items.push(A._create(G));});}},bindUI:function(){var A=this;var G=A.get(u);var H=A.get(x);A.on(c,t.bind(A._onAnimatingChange,A));G.delegate([f,d],t.bind(A.headerEventHandler,A),H);},findContentNode:function(J){var G=this;var H=G.get(j);var A=J.next(H)||J.one(H);if(!A){var I=J.next(w+z);if(I){A=I.get(a);}}return A;},headerEventHandler:function(G){var A=this;if(A.animating){return false;}var I=G.currentTarget;var H=I.getData(i)||A._create(I);if(g.headerEventHandler(G,H)&&A.get(s)){C.each(A.items,function(K,J,L){if(K!==H&&K.get(l)){K.collapse();}});}},_create:function(H){var A=this;var G=new g({animated:A.get(q),bindDOMEvents:false,bubbleTargets:[A],content:A.findContentNode(H),expanded:A.get(l),header:H,transition:A.get(E)});return G;},_onAnimatingChange:function(G){var A=this;A.animating=G.newVal;}}});t.TogglerDelegate=k;},"@VERSION@",{requires:["aui-toggler-base"],skinnable:false});