",this.contentWidget.domNode,"after");var _8ce=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_8ce._buttonWidget=(new cls({contentWidget:_8ce,label:_8ce.title,title:_8ce.tooltip,dir:_8ce.dir,lang:_8ce.lang,textDir:_8ce.textDir,iconClass:_8ce.iconClass,id:_8ce.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_8bc.place("
",this.domNode);_8bc.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _8cf=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_8d0,_8d1){_8cf.set("label",_8d1);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_8d2,_8d3){_8cf.set("title",_8d3);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_8d4,_8d5){_8cf.set("iconClass",_8d5);}))];},_setSelectedAttr:function(_8d6){this._set("selected",_8d6);this.button.set("selected",_8d6);if(_8d6){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_8b7.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_8d7){this.contentWidget.destroyRecursive(_8d7);}});var _8d8=_8b8("dijit.layout.AccordionContainer",_8c6,{duration:_8c0.defaultDuration,buttonWidget:_8c9,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _8d9=this.selectedChildWidget;if(!_8d9){return;}var _8da=_8d9._wrapperWidget.domNode,_8db=_8bd.getMarginExtents(_8da),_8dc=_8bd.getPadBorderExtents(_8da),_8dd=_8d9._wrapperWidget.containerNode,_8de=_8bd.getMarginExtents(_8dd),_8df=_8bd.getPadBorderExtents(_8dd),_8e0=this._contentBox;var _8e1=0;_8b7.forEach(this.getChildren(),function(_8e2){if(_8e2!=_8d9){_8e1+=_8bd.getMarginSize(_8e2._wrapperWidget.domNode).h;}});this._verticalSpace=_8e0.h-_8e1-_8db.h-_8dc.h-_8de.h-_8df.h-_8d9._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_8db.w-_8dc.w-_8de.w-_8df.w};if(_8d9){_8d9.resize(this._containerContentBox);}},_setupChild:function(_8e3){_8e3._wrapperWidget=_8cd({contentWidget:_8e3,buttonWidget:this.buttonWidget,id:_8e3.id+"_wrapper",dir:_8e3.dir,lang:_8e3.lang,textDir:_8e3.textDir,parent:this});this.inherited(arguments);},addChild:function(_8e4,_8e5){if(this._started){var _8e6=this.containerNode;if(_8e5&&typeof _8e5=="number"){var _8e7=_8c2.prototype.getChildren.call(this);if(_8e7&&_8e7.length>=_8e5){_8e6=_8e7[_8e5-1].domNode;_8e5="after";}}_8bc.place(_8e4.domNode,_8e6,_8e5);if(!_8e4._started){_8e4.startup();}this._setupChild(_8e4);_8be.publish(this.id+"-addChild",_8e4,_8e5);this.layout();if(!this.selectedChildWidget){this.selectChild(_8e4);}}else{this.inherited(arguments);}},removeChild:function(_8e8){if(_8e8._wrapperWidget){_8bc.place(_8e8.domNode,_8e8._wrapperWidget.domNode,"after");_8e8._wrapperWidget.destroy();delete _8e8._wrapperWidget;}_8bb.remove(_8e8.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _8b7.map(this.inherited(arguments),function(_8e9){return _8e9.declaredClass=="dijit.layout._AccordionInnerContainer"?_8e9.contentWidget:_8e9;},this);},destroy:function(){if(this._animation){this._animation.stop();}_8b7.forEach(this.getChildren(),function(_8ea){if(_8ea._wrapperWidget){_8ea._wrapperWidget.destroy();}else{_8ea.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_8eb){_8eb._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_8ec){_8ec._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_8ed,_8ee,_8ef){if(has("ie")<8){_8ef=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_8ed){_8ed._wrapperWidget.set("selected",true);var d=this._showChild(_8ed);if(this.doLayout&&_8ed.resize){_8ed.resize(this._containerContentBox);}}if(_8ee){_8ee._wrapperWidget.set("selected",false);if(!_8ef){this._hideChild(_8ee);}}if(_8ef){var _8f0=_8ed._wrapperWidget.containerNode,_8f1=_8ee._wrapperWidget.containerNode;var _8f2=_8ed._wrapperWidget.containerNode,_8f3=_8bd.getMarginExtents(_8f2),_8f4=_8bd.getPadBorderExtents(_8f2),_8f5=_8f3.h+_8f4.h;_8f1.style.height=(self._verticalSpace-_8f5)+"px";this._animation=new fx.Animation({node:_8f0,duration:this.duration,curve:[1,this._verticalSpace-_8f5-1],onAnimate:function(_8f6){_8f6=Math.floor(_8f6);_8f0.style.height=_8f6+"px";_8f1.style.height=(self._verticalSpace-_8f5-_8f6)+"px";},onEnd:function(){delete self._animation;_8f0.style.height="auto";_8ee._wrapperWidget.containerNode.style.display="none";_8f1.style.height="auto";self._hideChild(_8ee);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_8f7){if(this.disabled||e.altKey||!(_8f7||e.ctrlKey)){return;}var c=e.charOrCode;if((_8f7&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_8b9.stop(e);}else{if((_8f7&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_8b9.stop(e);}}}});if(has("dijit-legacy-requires")){_8c1(0,function(){var _8f8=["dijit/layout/AccordionPane"];_8b6(_8f8);});}_8d8._InnerContainer=_8cd;_8d8._Button=_8c9;return _8d8;});},"dijit/layout/StackContainer":function(){define("dijit/layout/StackContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_8f9,_8fa,_8fb,_8fc,has,lang,_8fd,_8fe,_8ff,_900,_901){if(has("dijit-legacy-requires")){_8fd(0,function(){var _902=["dijit/layout/StackController"];require(_902);});}var _903=_8fb("dijit.layout.StackContainer",_901,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_8fc.add(this.domNode,"dijitLayoutContainer");this.containerNode.setAttribute("role","tabpanel");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _904=this.getChildren();_8f9.forEach(_904,this._setupChild,this);if(this.persist){this.selectedChildWidget=_8ff.byId(_8fa(this.id+"_selectedChild"));}else{_8f9.some(_904,function(_905){if(_905.selected){this.selectedChildWidget=_905;}return _905.selected;},this);}var _906=this.selectedChildWidget;if(!_906&&_904[0]){_906=this.selectedChildWidget=_904[0];_906.selected=true;}_8fe.publish(this.id+"-startup",{children:_904,selected:_906});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _907=this.selectedChildWidget;if(_907){this._showChild(_907);}}this.inherited(arguments);},_setupChild:function(_908){this.inherited(arguments);_8fc.replace(_908.domNode,"dijitHidden","dijitVisible");_908.domNode.title="";},addChild:function(_909,_90a){this.inherited(arguments);if(this._started){_8fe.publish(this.id+"-addChild",_909,_90a);this.layout();if(!this.selectedChildWidget){this.selectChild(_909);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_8fe.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _90b=this.getChildren();if(_90b.length){this.selectChild(_90b[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_90c){page=_8ff.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_90c);this._set("selectedChildWidget",page);_8fe.publish(this.id+"-selectChild",page);if(this.persist){_8fa(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_90d,_90e){if(_90e){this._hideChild(_90e);}var d=this._showChild(_90d);if(_90d.resize){if(this.doLayout){_90d.resize(this._containerContentBox||this._contentBox);}else{_90d.resize();}}return d;},_adjacent:function(_90f){var _910=this.getChildren();var _911=_8f9.indexOf(_910,this.selectedChildWidget);_911+=_90f?1:_910.length-1;return _910[_911%_910.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_8fe.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _912=this.selectedChildWidget;if(_912&&_912.resize){if(this.doLayout){_912.resize(this._containerContentBox||this._contentBox);}else{_912.resize();}}},_showChild:function(page){var _913=this.getChildren();page.isFirstChild=(page==_913[0]);page.isLastChild=(page==_913[_913.length-1]);page._set("selected",true);_8fc.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_8fc.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _914=page.onClose(this,page);if(_914){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_915){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_8f9.forEach(this.getChildren(),function(_916){if(!_915){this.removeChild(_916);}_916.destroyRecursive(_915);},this);this._descendantsBeingDestroyed=false;}});_903.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_900,_903.ChildWidgetProperties);return _903;});},"dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_917){dojo.cookie=function(name,_918,_919){var c=document.cookie,ret;if(arguments.length==1){var _91a=c.match(new RegExp("(?:^|; )"+_917.escapeString(name)+"=([^;]*)"));ret=_91a?decodeURIComponent(_91a[1]):undefined;}else{_919=_919||{};var exp=_919.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_919.expires=d;}if(exp&&exp.toUTCString){_919.expires=exp.toUTCString();}_918=encodeURIComponent(_918);var _91b=name+"="+_918,_91c;for(_91c in _919){_91b+="; "+_91c;var _91d=_919[_91c];if(_91d!==true){_91b+="="+_91d;}}document.cookie=_91b;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"url:dijit/layout/templates/AccordionButton.html":"
\n\t
+-\n\t\t
\n\t
\n
\n","dijit/layout/AccordionPane":function(){define("dijit/layout/AccordionPane",["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_91e,_91f,_920){return _91e("dijit.layout.AccordionPane",_920,{constructor:function(){_91f.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/layout/BorderContainer":function(){define("dijit/layout/BorderContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_921,_922,_923,_924,_925,_926,_927,_928,keys,lang,on,_929,_92a,_92b,_92c,_92d,_92e){var _92f=_923("dijit.layout._Splitter",[_92b,_92c],{live:true,templateString:"
",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_924.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _930=_922(this._cookieName);if(_930){this.child.domNode.style[this.horizontal?"height":"width"]=_930;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_931=_926.getMarginBox(this.child.domNode)[dim],_932=_921.filter(this.container.getChildren(),function(_933){return _933.region=="center";})[0],_934=_926.getMarginBox(_932.domNode)[dim];return Math.min(this.child.maxSize,_931+_934);},_startDrag:function(e){if(!this.cover){this.cover=_925.place("
",this.child.domNode,"after");}_924.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_925.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_924.add(this.domNode,"dijitSplitterShadow");_925.place(this.fake,this.domNode,"after");}_924.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_924.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _935=this._factor,_936=this.horizontal,axis=_936?"pageY":"pageX",_937=e[axis],_938=this.domNode.style,dim=_936?"h":"w",_939=_926.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_93a=this.region,_93b=_93a=="top"||_93a=="bottom"?"top":"left",_93c=parseInt(_938[_93b],10),_93d=this._resize,_93e=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_929.move,this._drag=function(e,_93f){var _940=e[axis]-_937,_941=_935*_940+_939,_942=Math.max(Math.min(_941,max),min);if(_93d||_93f){_93e(_942);}_938[_93b]=_940+_93c+_935*(_942-_941)+"px";}),on(de,"dragstart",_928.stop),on(this.ownerDocumentBody,"selectstart",_928.stop),on(de,_929.release,lang.hitch(this,"_stopDrag"))]);_928.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_924.toggle(this.domNode,"dijitSplitterHover",o);_924.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_924.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_925.destroy(this.fake);}_924.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_922(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyPress:function(e){this._resize=true;var _943=this.horizontal;var tick=1;switch(e.charOrCode){case _943?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _943?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _944=_926.getMarginSize(this.child.domNode)[_943?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_944,this._computeMaxSize()),this.child.minSize));_928.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _945=_923("dijit.layout._Gutter",[_92b,_92c],{templateString:"
",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_924.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _946=_923("dijit.layout.BorderContainer",_92d,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_92f,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_921.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_947){var _948=_947.region;if(_948){this.inherited(arguments);_924.add(_947.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_948=="leading"){_948=ltr?"left":"right";}if(_948=="trailing"){_948=ltr?"right":"left";}if(_948!="center"&&(_947.splitter||this.gutters)&&!_947._splitterWidget){var _949=_947.splitter?this._splitterClass:_945;if(lang.isString(_949)){_949=lang.getObject(_949);}var _94a=new _949({id:_947.id+"_splitter",container:this,child:_947,region:_948,live:this.liveSplitters});_94a.isSplitter=true;_947._splitterWidget=_94a;_925.place(_94a.domNode,_947.domNode,"after");_94a.startup();}_947.region=_948;}},layout:function(){this._layoutChildren();},addChild:function(_94b,_94c){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_94d){var _94e=_94d.region;var _94f=_94d._splitterWidget;if(_94f){_94f.destroy();delete _94d._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_924.remove(_94d.domNode,this.baseClass+"Pane");_927.set(_94d.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_927.set(_94d.domNode,_94e=="top"||_94e=="bottom"?"width":"height","auto");},getChildren:function(){return _921.filter(this.inherited(arguments),function(_950){return !_950.isSplitter;});},getSplitter:function(_951){return _921.filter(this.getChildren(),function(_952){return _952.region==_951;})[0]._splitterWidget;},resize:function(_953,_954){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_927.getComputedStyle(node);this.pe=_926.getPadExtents(node,this.cs);this.pe.r=_927.toPixelValue(node,this.cs.paddingRight);this.pe.b=_927.toPixelValue(node,this.cs.paddingBottom);_927.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_955,_956){if(!this._borderBox||!this._borderBox.h){return;}var _957=_921.map(this.getChildren(),function(_958,idx){return {pane:_958,weight:[_958.region=="center"?Infinity:0,_958.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_958.region)?1:-1),idx]};},this);_957.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i
\n\t\n\t\n\t\n\n"}});define("dijit/layout/_TabContainerBase",["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_962,_963,_964,_965,_966,_967,_968,_969){return _966("dijit.layout._TabContainerBase",[_963,_965],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_962,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_969.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_967.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_967.add(this.domNode,"dijitTabContainerNested");_967.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_967.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_967.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_967.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_967.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _96a=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_96a;var _96b=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_96a},{domNode:this.containerNode,layoutAlign:"client"}];_964.layoutChildren(this.domNode,this._contentBox,_96b);this._containerContentBox=_964.marginBox2contentBox(this.containerNode,_96b[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _96c=_968.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_96c});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"url:dijit/layout/templates/TabContainer.html":"
\n","dijit/layout/TabController":function(){require({cache:{"url:dijit/layout/templates/_TabButton.html":"
\n\t
\n\t
\n\t
\n\t\t[x]\n
\n"}});define("dijit/layout/TabController",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_96d,dom,_96e,_96f,i18n,lang,_970,_971,Menu,_972,_973){var _974=_96d("dijit.layout._TabButton",_970.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_973,scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_96f.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _975=i18n.getLocalization("dijit","common");if(this.closeNode){_96e.set(this.closeNode,"title",_975.itemClose);}}},_setDisabledAttr:function(_976){this.inherited(arguments);if(this.closeNode){if(_976){_96e.remove(this.closeNode,"title");}else{var _977=i18n.getLocalization("dijit","common");_96e.set(this.closeNode,"title",_977.itemClose);}}},_setLabelAttr:function(_978){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});var _979=_96d("dijit.layout.TabController",_970,{baseClass:"dijitTabController",templateString:"
",tabPosition:"top",buttonWidget:_974,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _97a=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _96f.contains(node,"dijitClosable")&&!_96f.contains(node,"dijitTabDisabled");}});this.own(_97a);var _97b=i18n.getLocalization("dijit","common"),_97c=this;_97a.addChild(new _972({label:_97b.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _97d=_971.byNode(this.getParent().currentTarget);_97c.onCloseButtonClick(_97d.page);}}));}});_979.TabButton=_974;return _979;});},"dijit/layout/StackController":function(){define("dijit/layout/StackController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_97e,_97f,_980,_981,keys,lang,on,_982,_983,_984,_985,_986,_987){var _988=_97f("dijit.layout._StackButton",_987,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _989=_97f("dijit.layout.StackController",[_984,_985,_986],{baseClass:"dijitStackController",templateString:"
",containerId:"",buttonWidget:_988,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(_98a){this.pane2button={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");this.connect(this.containerNode,"click",function(evt){var _98b=_983.getEnclosingWidget(evt.target);if(_98b!=this.containerNode&&!_98b.disabled&&_98b.page){for(var _98c=evt.target;_98c!==this.containerNode;_98c=_98c.parentNode){if(_980.contains(_98c,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_98b.page);break;}else{if(_98c==_98b.domNode){this.onButtonClick(_98b.page);break;}}}}});},onStartup:function(info){_97e.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _98d=_983.byId(this.containerId).containerNode,_98e=this.pane2button,_98f={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled"},_990=function(attr,_991){return on(_98d,"attrmodified-"+attr,function(evt){var _992=_98e[evt.detail&&evt.detail.widget&&evt.detail.widget.id];if(_992){_992.set(_991,evt.detail.newValue);}});};for(var attr in _98f){this.own(_990(attr,_98f[attr]));}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_983.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_993){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _994=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_994,_993);this.pane2button[page.id]=_994;page.controlButton=_994;if(!this._currentChild){this.onSelectChild(page);}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _995=this.pane2button[page.id];if(_995){this.removeChild(_995);delete this.pane2button[page.id];_995.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _996=this.pane2button[this._currentChild.id];_996.set("checked",false);_996.focusNode.setAttribute("tabIndex","-1");}var _997=this.pane2button[page.id];_997.set("checked",true);this._currentChild=page;_997.focusNode.setAttribute("tabIndex","0");var _998=_983.byId(this.containerId);_998.containerNode.setAttribute("aria-labelledby",_997.id);},onButtonClick:function(page){var _999=this.pane2button[page.id];_982.focus(_999.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_999.set("checked",true);}var _99a=_983.byId(this.containerId);_99a.selectChild(page);},onCloseButtonClick:function(page){var _99b=_983.byId(this.containerId);_99b.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_982.focus(b.focusNode||b.domNode);}}},adjacent:function(_99c){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_99c=!_99c;}var _99d=this.getChildren();var idx=_97e.indexOf(_99d,this.pane2button[this._currentChild.id]),_99e=_99d[idx];var _99f;do{idx=(idx+(_99c?1:_99d.length-1))%_99d.length;_99f=_99d[idx];}while(_99f.disabled&&_99f!=_99e);return _99f;},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _9a0=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_9a0=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_9a0=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_9a0=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_9a0=true;}break;case keys.HOME:var _9a1=this.getChildren();for(var idx=0;idx<_9a1.length;idx++){var _9a2=_9a1[idx];if(!_9a2.disabled){this.onButtonClick(_9a2.page);break;}}_981.stop(e);break;case keys.END:var _9a1=this.getChildren();for(var idx=_9a1.length-1;idx>=0;idx--){var _9a2=_9a1[idx];if(!_9a2.disabled){this.onButtonClick(_9a2.page);break;}}_981.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_981.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.onButtonClick(this.adjacent(!e.shiftKey).page);_981.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_981.stop(e);}}}}if(_9a0!==null){this.onButtonClick(this.adjacent(_9a0).page);_981.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_989.StackButton=_988;return _989;});},"url:dijit/layout/templates/_TabButton.html":"
\n\t
\n\t
\n\t
\n\t\t[x]\n
\n","dijit/layout/ScrollingTabController":function(){require({cache:{"url:dijit/layout/templates/ScrollingTabController.html":"
","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"
\n\t
\n\t
\n
"}});define("dijit/layout/ScrollingTabController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_9a3,_9a4,_9a5,_9a6,_9a7,fx,lang,on,_9a8,has,_9a9,_9aa,_9ab,_9ac,_9ad,_9ae,Menu,_9af,_9b0,_9b1){var _9b2=_9a4("dijit.layout.ScrollingTabController",[_9ac,_9ae],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_9aa,useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_9a5.add(n,"tabStrip-disabled");}_9a5.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_9a7.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",lang.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(page,_9b3){this.inherited(arguments);_9a7.set(this.containerNode,"width",(_9a7.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_9b4){var _9b5=this.pane2button[page.id];if(this._selectedTab===_9b5.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_9a8("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_9a6.getMarginSize(btn).w;return true;}else{_9a7.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _9b6=this.getChildren();if(_9b6.length){var _9b7=_9b6[this.isLeftToRight()?0:_9b6.length-1].domNode,_9b8=_9b6[this.isLeftToRight()?_9b6.length-1:0].domNode;return _9b8.offsetLeft+_9b8.offsetWidth-_9b7.offsetLeft;}else{return 0;}},_enableBtn:function(_9b9){var _9ba=this._getTabsWidth();_9b9=_9b9||_9a7.get(this.scrollNode,"width");return _9ba>0&&_9b9<_9ba;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_9ad.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_9a6.setContentSize(this.domNode,cb);var _9bb=this._enableBtn(this._contentBox.w);this._buttons.style("display",_9bb?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_9ad.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_9a7.get(this.containerNode,"width")-_9a7.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _9bc=_9a7.get(this.containerNode,"width")-_9a7.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_9bc);}},onSelectChild:function(page){var tab=this.pane2button[page.id];if(!tab||!page){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_9a7.get(this.scrollNode,"width")
_9be){return {min:this.isLeftToRight()?0:_9bd[_9bd.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_9bd[_9bd.length-1].domNode.offsetLeft+_9bd[_9bd.length-1].domNode.offsetWidth)-_9be:_9c0};}else{var _9c2=this.isLeftToRight()?0:_9c0;return {min:_9c2,max:_9c2};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_9c3=_9a7.get(this.scrollNode,"width"),_9c4=this._getScrollBounds();var pos=(n.offsetLeft+_9a7.get(n,"width")/2)-_9c3/2;pos=Math.min(Math.max(pos,_9c4.min),_9c4.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _9c5=this._getScrollBounds();x=Math.min(Math.max(x,_9c5.min),_9c5.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new fx._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!_9a5.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_9c6,node){if(node&&_9a5.contains(node,"dijitTabDisabled")){return;}var _9c7=_9a7.get(this.scrollNode,"width");var d=(_9c7*0.75)*_9c6;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_9c8){var _9c9=this._getScrollBounds();this._leftBtn.set("disabled",_9c8<=_9c9.min);this._rightBtn.set("disabled",_9c8>=_9c9.max);}});var _9ca=_9a4("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_9ab,tabIndex:"",isFocusable:function(){return false;}});_9a4("dijit.layout._ScrollingTabControllerButton",[_9b0,_9ca]);_9a4("dijit.layout._ScrollingTabControllerMenuButton",[_9b0,_9b1,_9ca],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_9cb){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _9cc=_9a9.byId(this.containerId);_9a3.forEach(_9cc.getChildren(),function(page){var _9cd=new _9af({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir,onClick:function(){_9cc.selectChild(page);}});this.dropDown.addChild(_9cd);},this);_9cb();},closeDropDown:function(_9ce){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _9b2;});},"url:dijit/layout/templates/ScrollingTabController.html":"","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"\n\t
\n\t
\n
","dijit/ProgressBar":function(){require({cache:{"url:dijit/templates/ProgressBar.html":"\n"}});define("dijit/ProgressBar",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_9cf,_9d0,_9d1,lang,_9d2,_9d3,_9d4,_9d5){return _9d0("dijit.ProgressBar",[_9d3,_9d4],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_9d5,_indeterminateHighContrastImagePath:_9cf.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},update:function(_9d6){lang.mixin(this,_9d6||{});var tip=this.internalProgress,ap=this.domNode;var _9d7=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_9d7=Math.min(parseFloat(this.progress)/100,1);this.progress=_9d7*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_9d7=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_9d7);_9d1.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_9d7*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_9d8){this._set("label",_9d8);this.update();},_setIndeterminateAttr:function(_9d9){this.indeterminate=_9d9;this.update();},report:function(_9da){return this.label?this.label:(this.indeterminate?" ":_9d2.format(_9da,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define("dojo/number",["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_9db,_9dc,_9dd){var _9de={};lang.setObject("dojo.number",_9de);_9de.format=function(_9df,_9e0){_9e0=lang.mixin({},_9e0||{});var _9e1=i18n.normalizeLocale(_9e0.locale),_9e2=i18n.getLocalization("dojo.cldr","number",_9e1);_9e0.customs=_9e2;var _9e3=_9e0.pattern||_9e2[(_9e0.type||"decimal")+"Format"];if(isNaN(_9df)||Math.abs(_9df)==Infinity){return null;}return _9de._applyPattern(_9df,_9e3,_9e0);};_9de._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_9de._applyPattern=function(_9e4,_9e5,_9e6){_9e6=_9e6||{};var _9e7=_9e6.customs.group,_9e8=_9e6.customs.decimal,_9e9=_9e5.split(";"),_9ea=_9e9[0];_9e5=_9e9[(_9e4<0)?1:0]||("-"+_9ea);if(_9e5.indexOf("%")!=-1){_9e4*=100;}else{if(_9e5.indexOf("‰")!=-1){_9e4*=1000;}else{if(_9e5.indexOf("¤")!=-1){_9e7=_9e6.customs.currencyGroup||_9e7;_9e8=_9e6.customs.currencyDecimal||_9e8;_9e5=_9e5.replace(/\u00a4{1,3}/,function(_9eb){var prop=["symbol","currency","displayName"][_9eb.length-1];return _9e6[prop]||_9e6.currency||"";});}else{if(_9e5.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _9ec=_9de._numberPatternRE;var _9ed=_9ea.match(_9ec);if(!_9ed){throw new Error("unable to find a number expression in pattern: "+_9e5);}if(_9e6.fractional===false){_9e6.places=0;}return _9e5.replace(_9ec,_9de._formatAbsolute(_9e4,_9ed[0],{decimal:_9e8,group:_9e7,places:_9e6.places,round:_9e6.round}));};_9de.round=function(_9ee,_9ef,_9f0){var _9f1=10/(_9f0||10);return (_9f1*+_9ee).toFixed(_9ef)/_9f1;};if((0.9).toFixed()==0){var _9f2=_9de.round;_9de.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _9f2(v,p,m)+(v>0?d:-d);};}_9de._formatAbsolute=function(_9f3,_9f4,_9f5){_9f5=_9f5||{};if(_9f5.places===true){_9f5.places=0;}if(_9f5.places===Infinity){_9f5.places=6;}var _9f6=_9f4.split("."),_9f7=typeof _9f5.places=="string"&&_9f5.places.indexOf(","),_9f8=_9f5.places;if(_9f7){_9f8=_9f5.places.substring(_9f7+1);}else{if(!(_9f8>=0)){_9f8=(_9f6[1]||[]).length;}}if(!(_9f5.round<0)){_9f3=_9de.round(_9f3,_9f8,_9f5.round);}var _9f9=String(Math.abs(_9f3)).split("."),_9fa=_9f9[1]||"";if(_9f6[1]||_9f5.places){if(_9f7){_9f5.places=_9f5.places.substring(0,_9f7);}var pad=_9f5.places!==undefined?_9f5.places:(_9f6[1]&&_9f6[1].lastIndexOf("0")+1);if(pad>_9fa.length){_9f9[1]=_9dc.pad(_9fa,pad,"0",true);}if(_9f8<_9fa.length){_9f9[1]=_9fa.substr(0,_9f8);}}else{if(_9f9[1]){_9f9.pop();}}var _9fb=_9f6[0].replace(",","");pad=_9fb.indexOf("0");if(pad!=-1){pad=_9fb.length-pad;if(pad>_9f9[0].length){_9f9[0]=_9dc.pad(_9f9[0],pad);}if(_9fb.indexOf("#")==-1){_9f9[0]=_9f9[0].substr(_9f9[0].length-pad);}}var _9fc=_9f6[0].lastIndexOf(","),_9fd,_9fe;if(_9fc!=-1){_9fd=_9f6[0].length-_9fc-1;var _9ff=_9f6[0].substr(0,_9fc);_9fc=_9ff.lastIndexOf(",");if(_9fc!=-1){_9fe=_9ff.length-_9fc-1;}}var _a00=[];for(var _a01=_9f9[0];_a01;){var off=_a01.length-_9fd;_a00.push((off>0)?_a01.substr(off):_a01);_a01=(off>0)?_a01.slice(0,off):"";if(_9fe){_9fd=_9fe;delete _9fe;}}_9f9[0]=_a00.reverse().join(_9f5.group||",");return _9f9.join(_9f5.decimal||".");};_9de.regexp=function(_a02){return _9de._parseInfo(_a02).regexp;};_9de._parseInfo=function(_a03){_a03=_a03||{};var _a04=i18n.normalizeLocale(_a03.locale),_a05=i18n.getLocalization("dojo.cldr","number",_a04),_a06=_a03.pattern||_a05[(_a03.type||"decimal")+"Format"],_a07=_a05.group,_a08=_a05.decimal,_a09=1;if(_a06.indexOf("%")!=-1){_a09/=100;}else{if(_a06.indexOf("‰")!=-1){_a09/=1000;}else{var _a0a=_a06.indexOf("¤")!=-1;if(_a0a){_a07=_a05.currencyGroup||_a07;_a08=_a05.currencyDecimal||_a08;}}}var _a0b=_a06.split(";");if(_a0b.length==1){_a0b.push("-"+_a0b[0]);}var re=_9dd.buildGroupRE(_a0b,function(_a0c){_a0c="(?:"+_9dd.escapeString(_a0c,".")+")";return _a0c.replace(_9de._numberPatternRE,function(_a0d){var _a0e={signed:false,separator:_a03.strict?_a07:[_a07,""],fractional:_a03.fractional,decimal:_a08,exponent:false},_a0f=_a0d.split("."),_a10=_a03.places;if(_a0f.length==1&&_a09!=1){_a0f[1]="###";}if(_a0f.length==1||_a10===0){_a0e.fractional=false;}else{if(_a10===undefined){_a10=_a03.pattern?_a0f[1].lastIndexOf("0")+1:Infinity;}if(_a10&&_a03.fractional==undefined){_a0e.fractional=true;}if(!_a03.places&&(_a10<_a0f[1].length)){_a10+=","+_a0f[1].length;}_a0e.places=_a10;}var _a11=_a0f[0].split(",");if(_a11.length>1){_a0e.groupSize=_a11.pop().length;if(_a11.length>1){_a0e.groupSize2=_a11.pop().length;}}return "("+_9de._realNumberRegexp(_a0e)+")";});},true);if(_a0a){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_a12,_a13,_a14,_a15){var prop=["symbol","currency","displayName"][_a14.length-1],_a16=_9dd.escapeString(_a03[prop]||_a03.currency||"");_a13=_a13?"[\\s\\xa0]":"";_a15=_a15?"[\\s\\xa0]":"";if(!_a03.strict){if(_a13){_a13+="*";}if(_a15){_a15+="*";}return "(?:"+_a13+_a16+_a15+")?";}return _a13+_a16+_a15;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_a07,decimal:_a08,factor:_a09};};_9de.parse=function(_a17,_a18){var info=_9de._parseInfo(_a18),_a19=(new RegExp("^"+info.regexp+"$")).exec(_a17);if(!_a19){return NaN;}var _a1a=_a19[1];if(!_a19[1]){if(!_a19[2]){return NaN;}_a1a=_a19[2];info.factor*=-1;}_a1a=_a1a.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _a1a*info.factor;};_9de._realNumberRegexp=function(_a1b){_a1b=_a1b||{};if(!("places" in _a1b)){_a1b.places=Infinity;}if(typeof _a1b.decimal!="string"){_a1b.decimal=".";}if(!("fractional" in _a1b)||/^0/.test(_a1b.places)){_a1b.fractional=[true,false];}if(!("exponent" in _a1b)){_a1b.exponent=[true,false];}if(!("eSigned" in _a1b)){_a1b.eSigned=[true,false];}var _a1c=_9de._integerRegexp(_a1b),_a1d=_9dd.buildGroupRE(_a1b.fractional,function(q){var re="";if(q&&(_a1b.places!==0)){re="\\"+_a1b.decimal;if(_a1b.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_a1b.places+"}";}}return re;},true);var _a1e=_9dd.buildGroupRE(_a1b.exponent,function(q){if(q){return "([eE]"+_9de._integerRegexp({signed:_a1b.eSigned})+")";}return "";});var _a1f=_a1c+_a1d;if(_a1d){_a1f="(?:(?:"+_a1f+")|(?:"+_a1d+"))";}return _a1f+_a1e;};_9de._integerRegexp=function(_a20){_a20=_a20||{};if(!("signed" in _a20)){_a20.signed=[true,false];}if(!("separator" in _a20)){_a20.separator="";}else{if(!("groupSize" in _a20)){_a20.groupSize=3;}}var _a21=_9dd.buildGroupRE(_a20.signed,function(q){return q?"[-+]":"";},true);var _a22=_9dd.buildGroupRE(_a20.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_9dd.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_a20.groupSize,grp2=_a20.groupSize2;if(grp2){var _a23="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_a23+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_a23;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _a21+_a22;};return _9de;});},"url:dijit/templates/ProgressBar.html":"\n","dijit/Toolbar":function(){define("dijit/Toolbar",["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_a24,_a25,has,keys,_a26,_a27,_a28,_a29){if(has("dijit-legacy-requires")){_a26(0,function(){var _a2a=["dijit/ToolbarSeparator"];_a24(_a2a);});}return _a25("dijit.Toolbar",[_a27,_a29,_a28],{templateString:""+"
",baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],this.isLeftToRight()?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);}});});},"dijit/TooltipDialog":function(){require({cache:{"url:dijit/templates/TooltipDialog.html":"\n"}});define("dijit/TooltipDialog",["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_a2b,_a2c,_a2d,keys,lang,_a2e,_a2f,_a30,_a31,_a32,_a33,_a34){return _a2b("dijit.TooltipDialog",[_a2f,_a32,_a31,_a30],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_a33,_setTitleAttr:function(_a35){this.containerNode.title=_a35;this._set("title",_a35);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_a36,_a37){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_a36+"-"+_a37];_a2c.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_a2e.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _a38=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_a38.y+((_a38.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_a38.x+((_a38.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _a39=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){this.defer("onCancel");_a2d.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_a39){_a2e.focus(this._lastFocusItem);}_a2d.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_a39){_a2e.focus(this._firstFocusItem);}_a2d.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"url:dijit/templates/TooltipDialog.html":"\n","dijit/Tree":function(){require({cache:{"url:dijit/templates/TreeNode.html":"\n\t\t\t\n\t\t \n\t
\n
\n","url:dijit/templates/Tree.html":"\n"}});define("dijit/Tree",["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/errors/create","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector"],function(_a3a,_a3b,_a3c,_a3d,_a3e,_a3f,dom,_a40,_a41,_a42,_a43,_a44,_a45,_a46,keys,lang,on,_a47,_a48,when,_a49,_a4a,_a4b,_a4c,_a4d,_a4e,_a4f,_a50,_a51,_a52,_a53,_a54,_a55){_a3e=_a3d(_a3e,{addCallback:function(_a56){this.then(_a56);},addErrback:function(_a57){this.then(null,_a57);}});var _a58=_a3d("dijit._TreeNode",[_a4c,_a4d,_a4e,_a4f,_a50],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_a51,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_a59){var _a5a=(Math.max(_a59,0)*this.tree._nodePixelIndent)+"px";_a42.set(this.domNode,"backgroundPosition",_a5a+" 0px");_a42.set(this.indentNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_a5a);_a3a.forEach(this.getChildren(),function(_a5b){_a5b.set("indent",_a59+1);});this._set("indent",_a59);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_a5c=tree.model;if(tree._v10Compat&&item===_a5c.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_a5d,_a5e){var _a5f="_"+_a5d+"Class";var _a60=_a5d+"Node";var _a61=this[_a5f];this[_a5f]=this.tree["get"+_a5e+"Class"](item,this.isExpanded);_a40.replace(this[_a60],this[_a5f]||"",_a61||"");_a42.set(this[_a60],this.tree["get"+_a5e+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _a62=this.getParent();if(!_a62||!_a62.rowNode||_a62.rowNode.style.display=="none"){_a40.add(this.domNode,"dijitTreeIsRoot");}else{_a40.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_a63){var _a64=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_a65=["*","-","+","*"],idx=_a63?0:(this.isExpandable?(this.isExpanded?1:2):3);_a40.replace(this.expandoNode,_a64[idx],_a64);this.expandoNodeText.innerHTML=_a65[idx];},expand:function(){if(this._expandDeferred){return this._expandDeferred;}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_a40.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_a66=_a45.wipeIn({node:this.containerNode,duration:_a4b.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._expandDeferred=new _a3e(function(){_a66.stop();}));_a66.play();return def;},collapse:function(){if(this._collapseDeferred){return this._collapseDeferred;}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_a40.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var def,_a67=_a45.wipeOut({node:this.containerNode,duration:_a4b.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._collapseDeferred=new _a3e(function(){_a67.stop();}));_a67.play();return def;},indent:0,setChildItems:function(_a68){var tree=this.tree,_a69=tree.model,defs=[];var _a6a=this.getChildren();_a3a.forEach(_a6a,function(_a6b){_a4e.prototype.removeChild.call(this,_a6b);},this);this.defer(function(){_a3a.forEach(_a6a,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);var id=_a69.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _a6c=_a3a.indexOf(ary,node);if(_a6c!=-1){ary.splice(_a6c,1);}}node.destroyRecursive();}});});this.state="LOADED";if(_a68&&_a68.length>0){this.isExpandable=true;_a3a.forEach(_a68,function(item){var id=_a69.getIdentity(item),_a6d=tree._itemNodesMap[id],node;if(_a6d){for(var i=0;i<_a6d.length;i++){if(_a6d[i]&&!_a6d[i].getParent()){node=_a6d[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_a69.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_a6d){_a6d.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_a3a.forEach(this.getChildren(),function(_a6e){_a6e._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0];if(fc){fc.setFocusable(true);tree.lastFocused=fc;}else{tree.domNode.setAttribute("tabIndex","0");}}var def=new _a3f(defs);this.tree._startPaint(def);return def;},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _a6f=this.getChildren();if(_a6f.length==0){this.isExpandable=false;this.collapse();}_a3a.forEach(_a6f,function(_a70){_a70._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_a71){this.labelNode.setAttribute("aria-selected",_a71?"true":"false");_a40.toggle(this.rowNode,"dijitTreeRowSelected",_a71);},setFocusable:function(_a72){this.labelNode.setAttribute("tabIndex",_a72?"0":"-1");},_setTextDirAttr:function(_a73){if(_a73&&((this.textDir!=_a73)||!this._created)){this._set("textDir",_a73);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_a3a.forEach(this.getChildren(),function(_a74){_a74.set("textDir",_a73);},this);}}});var Tree=_a3d("dijit.Tree",[_a4c,_a4d],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_a52,persist:true,autoExpand:false,dndController:_a55,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_a75,_a76){_a47.publish(this.id,lang.mixin({tree:this,event:_a75},_a76||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _a3e();this.pendingCommandsDeferred=this.expandChildrenDeferred;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.domNode,on.selector(".dijitTreeNode",_a48.enter),function(evt){self._onNodeMouseEnter(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode",_a48.leave),function(evt){self._onNodeMouseLeave(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","click"),function(evt){self._onClick(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","dblclick"),function(evt){self._onDblClick(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keypress"),function(evt){self._onKeyPress(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keydown"),function(evt){self._onKeyDown(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","focusin"),function(evt){self._onNodeFocus(_a4a.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _a77={};for(var i=0;i\n\t\t\t\n\t\t \n\t\n \n","url:dijit/templates/Tree.html":"