//>>built
require({cache:{"url:dijit/templates/Tree.html":'\x3cdiv role\x3d"tree"\x3e\n\t\x3cdiv class\x3d"dijitInline dijitTreeIndent" style\x3d"position: absolute; top: -9999px" data-dojo-attach-point\x3d"indentDetector"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTreeExpando dijitTreeExpandoLoading" data-dojo-attach-point\x3d"rootLoadingIndicator"\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeContainer" role\x3d"presentation"\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',"url:dijit/templates/TreeNode.html":'\x3cdiv class\x3d"dijitTreeNode" role\x3d"presentation"\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"rowNode" class\x3d"dijitTreeRow" role\x3d"presentation"\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNode" class\x3d"dijitInline dijitTreeExpando" role\x3d"presentation"\x3e\x3c/span\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNodeText" class\x3d"dijitExpandoText" role\x3d"presentation"\x3e\x3c/span\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"contentNode"\n\t\t\tclass\x3d"dijitTreeContent" role\x3d"presentation"\x3e\n\t\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTreeIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"labelNode,focusNode" class\x3d"dijitTreeLabel" role\x3d"treeitem"\n\t\t\t\t   tabindex\x3d"-1" aria-selected\x3d"false" id\x3d"${id}_label"\x3e\x3c/span\x3e\n\t\t\x3c/span\n\t\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeNodeContainer" role\x3d"presentation"\n\t\t style\x3d"display: none;" aria-labelledby\x3d"${id}_label"\x3e\x3c/div\x3e\n\x3c/div\x3e\n'}});
define("dijit/Tree","dojo/_base/array dojo/aspect dojo/cookie dojo/_base/declare dojo/Deferred dojo/promise/all dojo/dom dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/errors/create dojo/fx dojo/has dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/topic dojo/touch dojo/when ./a11yclick ./focus ./registry ./_base/manager ./_Widget ./_TemplatedMixin ./_Container ./_Contained ./_CssStateMixin ./_KeyNavMixin dojo/text!./templates/TreeNode.html dojo/text!./templates/Tree.html ./tree/TreeStoreModel ./tree/ForestStoreModel ./tree/_dndSelector dojo/query!css2".split(" "),
function(f,u,G,H,z,A,r,p,I,B,R,J,C,D,ca,g,n,S,K,T,L,U,v,M,N,O,P,V,Q,W,X,Y,da,Z,aa){function l(a){return g.delegate(a.promise||a,{addCallback:function(b){this.then(b)},addErrback:function(b){this.otherwise(b)}})}var F=H("dijit._TreeNode",[N,O,P,V,Q],{item:null,isTreeNode:!0,label:"",_setLabelAttr:function(a){this.labelNode["html"==this.labelType?"innerHTML":"innerText"in this.labelNode?"innerText":"textContent"]=a;this._set("label",a);C("dojo-bidi")&&this.applyTextDir(this.labelNode)},labelType:"text",
isExpandable:null,isExpanded:!1,state:"NotLoaded",templateString:X,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);this.isExpandable&&this.labelNode.setAttribute("aria-expanded",this.isExpanded);this.setSelected(!1)},_setIndentAttr:function(a){var b=Math.max(a,0)*this.tree._nodePixelIndent+"px";B.set(this.domNode,
"backgroundPosition",b+" 0px");B.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",b);f.forEach(this.getChildren(),function(c){c.set("indent",a+1)});this._set("indent",a)},markProcessing:function(){this.state="Loading";this._setExpando(!0)},unmarkProcessing:function(){this._setExpando(!1)},_updateItemClasses:function(a){var b=this.tree,c=b.model;b._v10Compat&&a===c.root&&(a=null);this._applyClassAndStyle(a,"icon","Icon");this._applyClassAndStyle(a,"label","Label");this._applyClassAndStyle(a,
"row","Row");this.tree._startPaint(!0)},_applyClassAndStyle:function(a,b,c){var d="_"+b+"Class";b+="Node";var e=this[d];this[d]=this.tree["get"+c+"Class"](a,this.isExpanded);p.replace(this[b],this[d]||"",e||"");B.set(this[b],this.tree["get"+c+"Style"](a,this.isExpanded)||{})},_updateLayout:function(){var a=this.getParent();a=!a||!a.rowNode||"none"==a.rowNode.style.display;p.toggle(this.domNode,"dijitTreeIsRoot",a);p.toggle(this.domNode,"dijitTreeIsLast",!a&&!this.getNextSibling())},_setExpando:function(a){var b=
["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];a=a?0:this.isExpandable?this.isExpanded?1:2:3;p.replace(this.expandoNode,b[a],b);this.expandoNodeText.innerHTML=["*","-","+","*"][a]},expand:function(){if(this._expandDeferred)return l(this._expandDeferred);this._collapseDeferred&&(this._collapseDeferred.cancel(),delete this._collapseDeferred);this.isExpanded=!0;this.labelNode.setAttribute("aria-expanded","true");(this.tree.showRoot||this!==this.tree.rootNode)&&
this.containerNode.setAttribute("role","group");p.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","true");var a=J.wipeIn({node:this.containerNode,duration:M.defaultDuration}),b=this._expandDeferred=new z(function(){a.stop()});u.after(a,"onEnd",function(){b.resolve(!0)},!0);a.play();return l(b)},collapse:function(){if(this._collapseDeferred)return l(this._collapseDeferred);
this._expandDeferred&&(this._expandDeferred.cancel(),delete this._expandDeferred);this.isExpanded=!1;this.labelNode.setAttribute("aria-expanded","false");this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","false");p.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var a=J.wipeOut({node:this.containerNode,duration:M.defaultDuration}),b=this._collapseDeferred=new z(function(){a.stop()});u.after(a,"onEnd",
function(){b.resolve(!0)},!0);a.play();return l(b)},indent:0,setChildItems:function(a){var b=this.tree,c=b.model,d=[],e=b.focusedChild,w=this.getChildren();f.forEach(w,function(h){P.prototype.removeChild.call(this,h)},this);this.defer(function(){f.forEach(w,function(h){if(!h._destroyed&&!h.getParent()){b.dndController.removeTreeNode(h);(function ba(k){var x=c.getIdentity(k.item),E=b._itemNodesMap[x];1==E.length?delete b._itemNodesMap[x]:(x=f.indexOf(E,k),-1!=x&&E.splice(x,1));f.forEach(k.getChildren(),
ba)})(h);if(b.persist){var q=f.map(h.getTreePath(),function(k){return b.model.getIdentity(k)}).join("/"),m;for(m in b._openedNodes)m.substr(0,q.length)==q&&delete b._openedNodes[m];b._saveExpandedNodes()}b.lastFocusedChild&&!r.isDescendant(b.lastFocusedChild.domNode,b.domNode)&&delete b.lastFocusedChild;e&&!r.isDescendant(e.domNode,b.domNode)&&b.focus();h.destroyRecursive()}})});this.state="Loaded";a&&0<a.length?(this.isExpandable=!0,f.forEach(a,function(h){var q=c.getIdentity(h),m=b._itemNodesMap[q];
if(m)for(var y=0;y<m.length;y++)if(m[y]&&!m[y].getParent()){var k=m[y];k.set("indent",this.indent+1);break}k||(k=this.tree._createTreeNode({item:h,tree:b,isExpandable:c.mayHaveChildren(h),label:b.getLabel(h),labelType:b.model&&b.model.labelType||"text",tooltip:b.getTooltip(h),ownerDocument:b.ownerDocument,dir:b.dir,lang:b.lang,textDir:b.textDir,indent:this.indent+1}),m?m.push(k):b._itemNodesMap[q]=[k]);this.addChild(k);(this.tree.autoExpand||this.tree._state(k))&&d.push(b._expandNode(k))},this),f.forEach(this.getChildren(),
function(h){h._updateLayout()})):this.isExpandable=!1;this._setExpando&&this._setExpando(!1);this._updateItemClasses(this.item);a=A(d);this.tree._startPaint(a);return l(a)},getTreePath:function(){for(var a=this,b=[];a&&a!==this.tree.rootNode;)b.unshift(a.item),a=a.getParent();b.unshift(this.tree.rootNode.item);return b},getIdentity:function(){return this.tree.model.getIdentity(this.item)},removeChild:function(a){this.inherited(arguments);var b=this.getChildren();0==b.length&&(this.isExpandable=!1,
this.collapse());f.forEach(b,function(c){c._updateLayout()})},makeExpandable:function(){this.isExpandable=!0;this._setExpando(!1)},setSelected:function(a){this.labelNode.setAttribute("aria-selected",a?"true":"false");p.toggle(this.rowNode,"dijitTreeRowSelected",a)},focus:function(){U.focus(this.focusNode)}});C("dojo-bidi")&&F.extend({_setTextDirAttr:function(a){!a||this.textDir==a&&this._created||(this._set("textDir",a),this.applyTextDir(this.labelNode),f.forEach(this.getChildren(),function(b){b.set("textDir",
a)},this))}});var t=H("dijit.Tree",[N,W,O,Q],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:!0,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:!1,openOnDblClick:!1,templateString:Y,persist:!1,autoExpand:!1,dndController:aa,dndParams:"onDndDrop itemCreator onDndCancel checkAcceptance checkItemAcceptance dragThreshold betweenThreshold".split(" "),onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,
dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(a,b){S.publish(this.id,g.mixin({tree:this,event:a},b||{}))},postMixInProperties:function(){this.tree=this;this.autoExpand&&(this.persist=!1);this._itemNodesMap={};!this.cookieName&&this.id&&(this.cookieName=this.id+"SaveStateCookie");this.expandChildrenDeferred=new z;this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments)},postCreate:function(){this._initState();var a=this;this.own(n(this.containerNode,
n.selector(".dijitTreeNode",K.enter),function(d){a._onNodeMouseEnter(v.byNode(this),d)}),n(this.containerNode,n.selector(".dijitTreeNode",K.leave),function(d){a._onNodeMouseLeave(v.byNode(this),d)}),n(this.containerNode,n.selector(".dijitTreeRow",L.press),function(d){a._onNodePress(v.getEnclosingWidget(this),d)}),n(this.containerNode,n.selector(".dijitTreeRow",L),function(d){a._onClick(v.getEnclosingWidget(this),d)}),n(this.containerNode,n.selector(".dijitTreeRow","dblclick"),function(d){a._onDblClick(v.getEnclosingWidget(this),
d)}));this.model||this._store2model();this.own(u.after(this.model,"onChange",g.hitch(this,"_onItemChange"),!0),u.after(this.model,"onChildrenChange",g.hitch(this,"_onItemChildrenChange"),!0),u.after(this.model,"onDelete",g.hitch(this,"_onItemDelete"),!0));this.inherited(arguments);if(this.dndController){g.isString(this.dndController)&&(this.dndController=g.getObject(this.dndController));for(var b={},c=0;c<this.dndParams.length;c++)this[this.dndParams[c]]&&(b[this.dndParams[c]]=this[this.dndParams[c]]);
this.dndController=new this.dndController(this,b)}this._load();this.onLoadDeferred=l(this.pendingCommandsPromise);this.onLoadDeferred.then(g.hitch(this,"onLoad"))},_store2model:function(){this._v10Compat=!0;D.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var a={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};this.params.mayHaveChildren&&(a.mayHaveChildren=g.hitch(this,"mayHaveChildren"));this.params.getItemChildren&&
(a.getChildren=g.hitch(this,function(b,c,d){this.getItemChildren(this._v10Compat&&b===this.model.root?null:b,c,d)}));this.model=new Z(a);this.showRoot=!!this.label},onLoad:function(){},_load:function(){this.model.getRoot(g.hitch(this,function(a){var b=this.rootNode=this.tree._createTreeNode({item:a,tree:this,isExpandable:!0,label:this.label||this.getLabel(a),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1});this.showRoot?(this.domNode.setAttribute("aria-multiselectable",
!this.dndController.singular),this.rootLoadingIndicator.style.display="none"):(b.rowNode.style.display="none",this.domNode.setAttribute("role","presentation"),this.domNode.removeAttribute("aria-expanded"),this.domNode.removeAttribute("aria-multiselectable"),this["aria-label"]?(b.containerNode.setAttribute("aria-label",this["aria-label"]),this.domNode.removeAttribute("aria-label")):this["aria-labelledby"]&&(b.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]),this.domNode.removeAttribute("aria-labelledby")),
b.labelNode.setAttribute("role","presentation"),b.labelNode.removeAttribute("aria-selected"),b.containerNode.setAttribute("role","tree"),b.containerNode.setAttribute("aria-expanded","true"),b.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular));this.containerNode.appendChild(b.domNode);a=this.model.getIdentity(a);this._itemNodesMap[a]?this._itemNodesMap[a].push(b):this._itemNodesMap[a]=[b];b._updateLayout();this._expandNode(b).then(g.hitch(this,function(){this._destroyed||
(this.rootLoadingIndicator.style.display="none",this.expandChildrenDeferred.resolve(!0))}))}),g.hitch(this,function(a){}))},getNodesByItem:function(a){if(!a)return[];a=g.isString(a)?a:this.model.getIdentity(a);return[].concat(this._itemNodesMap[a])},_setSelectedItemAttr:function(a){this.set("selectedItems",[a])},_setSelectedItemsAttr:function(a){var b=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(g.hitch(this,function(){var c=f.map(a,function(e){return!e||g.isString(e)?
e:b.model.getIdentity(e)}),d=[];f.forEach(c,function(e){d=d.concat(b._itemNodesMap[e]||[])});this.set("selectedNodes",d)}))},_setPathAttr:function(a){return a.length?l(this.set("paths",[a]).then(function(b){return b[0]})):l(this.set("paths",[]).then(function(b){return b[0]}))},_setPathsAttr:function(a){function b(d,e){var w=d.shift(),h=f.filter(e,function(q){return q.getIdentity()==w})[0];if(h)return d.length?c._expandNode(h).then(function(){return b(d,h.getChildren())}):h;throw new t.PathError("Could not expand path at "+
w);}var c=this;return l(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return A(f.map(a,function(d){d=f.map(d,function(e){return e&&g.isObject(e)?c.model.getIdentity(e):e});if(d.length)return b(d,[c.rootNode]);throw new t.PathError("Empty path");}))}).then(function(d){c.set("selectedNodes",d);return c.paths}))},_setSelectedNodeAttr:function(a){this.set("selectedNodes",[a])},_setSelectedNodesAttr:function(a){this.dndController.setSelection(a)},expandAll:function(){function a(c){return b._expandNode(c).then(function(){var d=
f.filter(c.getChildren()||[],function(e){return e.isExpandable});return A(f.map(d,a))})}var b=this;return l(a(this.rootNode))},collapseAll:function(){function a(c){var d=f.filter(c.getChildren()||[],function(e){return e.isExpandable});d=A(f.map(d,a));return!c.isExpanded||c==b.rootNode&&!b.showRoot?d:d.then(function(){return b._collapseNode(c)})}var b=this;return l(a(this.rootNode))},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(a){return this.model.getLabel(a)},getIconClass:function(a,
b){return!a||this.model.mayHaveChildren(a)?b?"dijitFolderOpened":"dijitFolderClosed":"dijitLeaf"},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return""},_onDownArrow:function(a,b){var c=this._getNext(b);c&&c.isTreeNode&&this.focusNode(c)},_onUpArrow:function(a,b){var c=b.getPreviousSibling();if(c)for(b=c;b.isExpandable&&b.isExpanded&&b.hasChildren();)c=b.getChildren(),b=c[c.length-1];else if(c=
b.getParent(),this.showRoot||c!==this.rootNode)b=c;b&&b.isTreeNode&&this.focusNode(b)},_onRightArrow:function(a,b){b.isExpandable&&!b.isExpanded?this._expandNode(b):b.hasChildren()&&(b=b.getChildren()[0])&&b.isTreeNode&&this.focusNode(b)},_onLeftArrow:function(a,b){if(b.isExpandable&&b.isExpanded)this._collapseNode(b);else{var c=b.getParent();c&&c.isTreeNode&&(this.showRoot||c!==this.rootNode)&&this.focusNode(c)}},focusLastChild:function(){var a=this._getLast();a&&a.isTreeNode&&this.focusNode(a)},
_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0]},_getLast:function(){for(var a=this.rootNode;a.isExpanded;){var b=a.getChildren();if(!b.length)break;a=b[b.length-1]}return a},_getNext:function(a){if(a.isExpandable&&a.isExpanded&&a.hasChildren())return a.getChildren()[0];for(;a&&a.isTreeNode;){var b=a.getNextSibling();if(b)return b;a=a.getParent()}return null},childSelector:".dijitTreeRow",isExpandoNode:function(a,b){return r.isDescendant(a,b.expandoNode)||r.isDescendant(a,
b.expandoNodeText)},_onNodePress:function(a,b){this.focusNode(a)},__click:function(a,b,c,d){var e=this.isExpandoNode(b.target,a);a.isExpandable&&(c||e)?this._onExpandoClick({node:a}):(this._publish("execute",{item:a.item,node:a,evt:b}),this[d](a.item,a,b),this.focusNode(a));b.stopPropagation();b.preventDefault()},_onClick:function(a,b){this.__click(a,b,this.openOnClick,"onClick")},_onDblClick:function(a,b){this.__click(a,b,this.openOnDblClick,"onDblClick")},_onExpandoClick:function(a){a=a.node;this.focusNode(a);
a.isExpanded?this._collapseNode(a):this._expandNode(a)},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(a){D.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(a)},_getRootOrFirstNode:function(){D.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst()},_collapseNode:function(a){a._expandNodeDeferred&&
delete a._expandNodeDeferred;if("Loading"!=a.state&&a.isExpanded){var b=a.collapse();this.onClose(a.item,a);this._state(a,!1);this._startPaint(b);return b}},_expandNode:function(a){if(a._expandNodeDeferred)return a._expandNodeDeferred;var b=this.model,c=a.item;a._loadDeferred||(a.markProcessing(),a._loadDeferred=new z,b.getChildren(c,function(d){a.unmarkProcessing();a.setChildItems(d).then(function(){a._loadDeferred.resolve(d)})},function(d){a._loadDeferred.reject(d)}));b=a._loadDeferred.then(g.hitch(this,
function(){var d=a.expand();this.onOpen(a.item,a);this._state(a,!0);return d}));this._startPaint(b);return b},focusNode:function(a){for(var b=[],c=this.domNode;c&&c.tagName&&"IFRAME"!==c.tagName.toUpperCase();c=c.parentNode)b.push({domNode:c.contentWindow||c,scrollLeft:c.scrollLeft||0,scrollTop:c.scrollTop||0});this.focusChild(a);this.defer(function(){for(var d=0,e=b.length;d<e;d++)b[d].domNode.scrollLeft=b[d].scrollLeft,b[d].domNode.scrollTop=b[d].scrollTop},0)},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},
_onItemChange:function(a){var b=this.model.getIdentity(a);if(b=this._itemNodesMap[b]){var c=this.getLabel(a),d=this.getTooltip(a);f.forEach(b,function(e){e.set({item:a,label:c,tooltip:d});e._updateItemClasses(a)})}},_onItemChildrenChange:function(a,b){var c=this.model.getIdentity(a);(c=this._itemNodesMap[c])&&f.forEach(c,function(d){d.setChildItems(b)})},_onItemDelete:function(a){a=this.model.getIdentity(a);var b=this._itemNodesMap[a];b&&(f.forEach(b,function(c){this.dndController.removeTreeNode(c);
var d=c.getParent();d&&d.removeChild(c);this.lastFocusedChild&&!r.isDescendant(this.lastFocusedChild.domNode,this.domNode)&&delete this.lastFocusedChild;this.focusedChild&&!r.isDescendant(this.focusedChild.domNode,this.domNode)&&this.focus();c.destroyRecursive()},this),delete this._itemNodesMap[a])},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var a=G(this.cookieName);a&&f.forEach(a.split(","),function(b){this._openedNodes[b]=!0},this)}},_state:function(a,b){if(!this.persist)return!1;
var c=f.map(a.getTreePath(),function(d){return this.model.getIdentity(d)},this).join("/");if(1===arguments.length)return this._openedNodes[c];b?this._openedNodes[c]=!0:delete this._openedNodes[c];this._saveExpandedNodes()},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var a=[],b;for(b in this._openedNodes)a.push(b);G(this.cookieName,a.join(","),{expires:365})}},destroy:function(){this._curSearch&&(this._curSearch.timer.remove(),delete this._curSearch);this.rootNode&&this.rootNode.destroyRecursive();
this.dndController&&!g.isString(this.dndController)&&this.dndController.destroy();this.rootNode=null;this.inherited(arguments)},destroyRecursive:function(){this.destroy()},resize:function(a){a&&I.setMarginBox(this.domNode,a);this._nodePixelIndent=I.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(g.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths()}))},_outstandingPaintOperations:0,_startPaint:function(a){this._outstandingPaintOperations++;
this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);var b=g.hitch(this,function(){this._outstandingPaintOperations--;0>=this._outstandingPaintOperations&&!this._adjustWidthsTimer&&this._started&&(this._adjustWidthsTimer=this.defer("_adjustWidths"))});T(a,b,b)},_adjustWidths:function(){this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>
this.domNode.offsetWidth?"auto":"100%"},_createTreeNode:function(a){return new F(a)},focus:function(){this.lastFocusedChild?this.focusNode(this.lastFocusedChild):this.focusFirstChild()}});C("dojo-bidi")&&t.extend({_setTextDirAttr:function(a){a&&this.textDir!=a&&(this._set("textDir",a),this.rootNode.set("textDir",a))}});t.PathError=R("TreePathError");t._TreeNode=F;return t});