",this.contentWidget.domNode,"after");var _98e=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_98e._buttonWidget=(new cls({contentWidget:_98e,label:_98e.title,title:_98e.tooltip,dir:_98e.dir,lang:_98e.lang,textDir:_98e.textDir||this.textDir,iconClass:_98e.iconClass,id:_98e.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_979.place("
",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_979.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _98f=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_990,_991){_98f.set("label",_991);})),cw.watch("tooltip",lang.hitch(this,function(name,_992,_993){_98f.set("title",_993);})),cw.watch("iconClass",lang.hitch(this,function(name,_994,_995){_98f.set("iconClass",_995);}))];},_setSelectedAttr:function(_996){this._set("selected",_996);this.button.set("selected",_996);if(_996){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_975.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_997){this.contentWidget.destroyRecursive(_997);}});if(has("dojo-bidi")){_98d=_976("dijit.layout._AccordionInnerContainer",_98d,{postCreate:function(){this.inherited(arguments);var _998=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_999,_99a){_998.set("textDir",_99a);}));}});}var _99b=_976("dijit.layout.AccordionContainer",_983,{duration:_97d.defaultDuration,buttonWidget:_987,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 _99c=this.selectedChildWidget;if(!_99c){return;}var _99d=_99c._wrapperWidget.domNode,_99e=_97a.getMarginExtents(_99d),_99f=_97a.getPadBorderExtents(_99d),_9a0=_99c._wrapperWidget.containerNode,_9a1=_97a.getMarginExtents(_9a0),_9a2=_97a.getPadBorderExtents(_9a0),_9a3=this._contentBox;var _9a4=0;_975.forEach(this.getChildren(),function(_9a5){if(_9a5!=_99c){_9a4+=_97a.getMarginSize(_9a5._wrapperWidget.domNode).h;}});this._verticalSpace=_9a3.h-_9a4-_99e.h-_99f.h-_9a1.h-_9a2.h-_99c._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_99e.w-_99f.w-_9a1.w-_9a2.w};if(_99c){size(_99c,this._containerContentBox);}},_setupChild:function(_9a6){_9a6._wrapperWidget=_98d({contentWidget:_9a6,buttonWidget:this.buttonWidget,id:_9a6.id+"_wrapper",dir:_9a6.dir,lang:_9a6.lang,textDir:_9a6.textDir||this.textDir,parent:this});this.inherited(arguments);_979.place(_9a6.domNode,_9a6._wrapper,"replace");},removeChild:function(_9a7){if(_9a7._wrapperWidget){_979.place(_9a7.domNode,_9a7._wrapperWidget.domNode,"after");_9a7._wrapperWidget.destroy();delete _9a7._wrapperWidget;}_978.remove(_9a7.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _975.map(this.inherited(arguments),function(_9a8){return _9a8.declaredClass=="dijit.layout._AccordionInnerContainer"?_9a8.contentWidget:_9a8;},this);},destroy:function(){if(this._animation){this._animation.stop();}_975.forEach(this.getChildren(),function(_9a9){if(_9a9._wrapperWidget){_9a9._wrapperWidget.destroy();}else{_9a9.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_9aa){_9aa._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_9ab){_9ab._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_9ac,_9ad,_9ae){if(has("ie")<8){_9ae=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_9ac){_9ac._wrapperWidget.set("selected",true);var d=this._showChild(_9ac);if(this.doLayout){size(_9ac,this._containerContentBox);}}if(_9ad){_9ad._wrapperWidget.set("selected",false);if(!_9ae){this._hideChild(_9ad);}}if(_9ae){var _9af=_9ac._wrapperWidget.containerNode,_9b0=_9ad._wrapperWidget.containerNode;var _9b1=_9ac._wrapperWidget.containerNode,_9b2=_97a.getMarginExtents(_9b1),_9b3=_97a.getPadBorderExtents(_9b1),_9b4=_9b2.h+_9b3.h;_9b0.style.height=(self._verticalSpace-_9b4)+"px";this._animation=new fx.Animation({node:_9af,duration:this.duration,curve:[1,this._verticalSpace-_9b4-1],onAnimate:function(_9b5){_9b5=Math.floor(_9b5);_9af.style.height=_9b5+"px";_9b0.style.height=(self._verticalSpace-_9b4-_9b5)+"px";},onEnd:function(){delete self._animation;_9af.style.height="auto";_9ad._wrapperWidget.containerNode.style.display="none";_9b0.style.height="auto";self._hideChild(_9ad);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_9b6){if(this.disabled||e.altKey||!(_9b6||e.ctrlKey)){return;}var c=e.keyCode;if((_9b6&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_9b6&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_97e(0,function(){var _9b7=["dijit/layout/AccordionPane"];_974(_9b7);});}_99b._InnerContainer=_98d;_99b._Button=_987;return _99b;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_9b8,_9b9,_9ba,_9bb,_9bc,has,lang,on,_9bd,_9be,when,_9bf,_9c0,_9c1){if(has("dijit-legacy-requires")){_9bd(0,function(){var _9c2=["dijit/layout/StackController"];require(_9c2);});}var _9c3=_9ba("dijit.layout.StackContainer",_9c1,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_9bb.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _9c4=this.getChildren();_9b8.forEach(_9c4,this._setupChild,this);if(this.persist){this.selectedChildWidget=_9bf.byId(_9b9(this.id+"_selectedChild"));}else{_9b8.some(_9c4,function(_9c5){if(_9c5.selected){this.selectedChildWidget=_9c5;}return _9c5.selected;},this);}var _9c6=this.selectedChildWidget;if(!_9c6&&_9c4[0]){_9c6=this.selectedChildWidget=_9c4[0];_9c6.selected=true;}_9be.publish(this.id+"-startup",{children:_9c4,selected:_9c6,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _9c7=this.selectedChildWidget;if(_9c7){this._showChild(_9c7);}}this.inherited(arguments);},_setupChild:function(_9c8){var _9c9=_9c8.domNode,_9ca=_9bc.place("
",_9c8.domNode,"replace"),_9cb=_9c8["aria-label"]||_9c8.title||_9c8.label;if(_9cb){_9ca.setAttribute("aria-label",_9cb);}_9bc.place(_9c9,_9ca);_9c8._wrapper=_9ca;this.inherited(arguments);if(_9c9.style.display=="none"){_9c9.style.display="block";}_9c8.domNode.removeAttribute("title");},addChild:function(_9cc,_9cd){this.inherited(arguments);if(this._started){_9be.publish(this.id+"-addChild",_9cc,_9cd);this.layout();if(!this.selectedChildWidget){this.selectChild(_9cc);}}},removeChild:function(page){var idx=_9b8.indexOf(this.getChildren(),page);this.inherited(arguments);_9bc.destroy(page._wrapper);delete page._wrapper;if(this._started){_9be.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _9ce=this.getChildren();if(_9ce.length){this.selectChild(_9ce[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_9cf){var d;page=_9bf.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_9cf);this._set("selectedChildWidget",page);_9be.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_9b9(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_9d0,_9d1){if(_9d1){this._hideChild(_9d1);}var d=this._showChild(_9d0);if(_9d0.resize){if(this.doLayout){_9d0.resize(this._containerContentBox||this._contentBox);}else{_9d0.resize();}}return d;},_adjacent:function(_9d2){var _9d3=this.getChildren();var _9d4=_9b8.indexOf(_9d3,this.selectedChildWidget);_9d4+=_9d2?1:_9d3.length-1;return _9d3[_9d4%_9d3.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_9be.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _9d5=this.selectedChildWidget;if(_9d5&&_9d5.resize){if(this.doLayout){_9d5.resize(this._containerContentBox||this._contentBox);}else{_9d5.resize();}}},_showChild:function(page){var _9d6=this.getChildren();page.isFirstChild=(page==_9d6[0]);page.isLastChild=(page==_9d6[_9d6.length-1]);page._set("selected",true);if(page._wrapper){_9bb.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_9bb.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _9d7=!page.onClose||page.onClose(this,page);if(_9d7){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_9d8){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_9b8.forEach(this.getChildren(),function(_9d9){if(!_9d8){this.removeChild(_9d9);}_9d9.destroyRecursive(_9d8);},this);this._descendantsBeingDestroyed=false;}});_9c3.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_9c0,_9c3.ChildWidgetProperties);return _9c3;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_9da){dojo.cookie=function(name,_9db,_9dc){var c=document.cookie,ret;if(arguments.length==1){var _9dd=c.match(new RegExp("(?:^|; )"+_9da.escapeString(name)+"=([^;]*)"));ret=_9dd?decodeURIComponent(_9dd[1]):undefined;}else{_9dc=_9dc||{};var exp=_9dc.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_9dc.expires=d;}if(exp&&exp.toUTCString){_9dc.expires=exp.toUTCString();}_9db=encodeURIComponent(_9db);var _9de=name+"="+_9db,_9df;for(_9df in _9dc){_9de+="; "+_9df;var _9e0=_9dc[_9df];if(_9e0!==true){_9de+="="+_9e0;}}document.cookie=_9de;}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;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_9e1,_9e2,_9e3){return _9e1("dijit.layout.AccordionPane",_9e3,{constructor:function(){_9e2.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_9e4,_9e5,_9e6,_9e7,_9e8,_9e9,_9ea,keys,lang,on,_9eb,_9ec,_9ed,_9ee,_9ef,_9f0){var _9f1=_9e6("dijit.layout._Splitter",[_9ed,_9ee],{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);_9e7.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _9f2=_9e5(this._cookieName);if(_9f2){this.child.domNode.style[this.horizontal?"height":"width"]=_9f2;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_9f3=_9e9.getMarginBox(this.child.domNode)[dim],_9f4=_9e4.filter(this.container.getChildren(),function(_9f5){return _9f5.region=="center";})[0];var _9f6=_9e9.getContentBox(_9f4.domNode)[dim]-10;return Math.min(this.child.maxSize,_9f3+_9f6);},_startDrag:function(e){if(!this.cover){this.cover=_9e8.place("
",this.child.domNode,"after");}_9e7.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_9e8.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_9e7.add(this.domNode,"dijitSplitterShadow");_9e8.place(this.fake,this.domNode,"after");}_9e7.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_9e7.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _9f7=this._factor,_9f8=this.horizontal,axis=_9f8?"pageY":"pageX",_9f9=e[axis],_9fa=this.domNode.style,dim=_9f8?"h":"w",_9fb=_9ea.getComputedStyle(this.child.domNode),_9fc=_9e9.getMarginBox(this.child.domNode,_9fb)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_9e9.getPadBorderExtents(this.child.domNode,_9fb)[dim]+10),_9fd=this.region,_9fe=_9fd=="top"||_9fd=="bottom"?"top":"left",_9ff=parseInt(_9fa[_9fe],10),_a00=this._resize,_a01=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_9eb.move,this._drag=function(e,_a02){var _a03=e[axis]-_9f9,_a04=_9f7*_a03+_9fc,_a05=Math.max(Math.min(_a04,max),min);if(_a00||_a02){_a01(_a05);}_9fa[_9fe]=_a03+_9ff+_9f7*(_a05-_a04)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_9eb.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_9e7.toggle(this.domNode,"dijitSplitterHover",o);_9e7.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_9e7.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_9e8.destroy(this.fake);}_9e7.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){_9e5(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _a06=this.horizontal;var tick=1;switch(e.keyCode){case _a06?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _a06?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _a07=_9e9.getMarginSize(this.child.domNode)[_a06?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_a07,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _a08=_9e6("dijit.layout._Gutter",[_9ed,_9ee],{templateString:"
",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_9e7.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _a09=_9e6("dijit.layout.BorderContainer",_9ef,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_9f1,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_a0a){this.inherited(arguments);var _a0b=_a0a.region,ltr=_a0a.isLeftToRight();if(_a0b=="leading"){_a0b=ltr?"left":"right";}if(_a0b=="trailing"){_a0b=ltr?"right":"left";}if(_a0b){if(_a0b!="center"&&(_a0a.splitter||this.gutters)&&!_a0a._splitterWidget){var _a0c=_a0a.splitter?this._splitterClass:_a08;if(lang.isString(_a0c)){_a0c=lang.getObject(_a0c);}var _a0d=new _a0c({id:_a0a.id+"_splitter",container:this,child:_a0a,region:_a0b,live:this.liveSplitters});_a0d.isSplitter=true;_a0a._splitterWidget=_a0d;var _a0e=_a0b=="bottom"||_a0b==(this.isLeftToRight()?"right":"left");_9e8.place(_a0d.domNode,_a0a.domNode,_a0e?"before":"after");_a0d.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_a0f){var _a10=_a0f._splitterWidget;if(_a10){_a10.destroy();delete _a0f._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _9e4.filter(this.inherited(arguments),function(_a11){return !_a11.isSplitter;});},getSplitter:function(_a12){return _9e4.filter(this.getChildren(),function(_a13){return _a13.region==_a12;})[0]._splitterWidget;},resize:function(_a14,_a15){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_9ea.getComputedStyle(node);this.pe=_9e9.getPadExtents(node,this.cs);this.pe.r=_9ea.toPixelValue(node,this.cs.paddingRight);this.pe.b=_9ea.toPixelValue(node,this.cs.paddingBottom);_9ea.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_a16,_a17){if(!this._borderBox||!this._borderBox.h){return;}var _a18=[];_9e4.forEach(this._getOrderedChildren(),function(pane){_a18.push(pane);if(pane._splitterWidget){_a18.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_9f0.layoutChildren(this.domNode,dim,_a18,_a16,_a17);},destroyRecursive:function(){_9e4.forEach(this.getChildren(),function(_a19){var _a1a=_a19._splitterWidget;if(_a1a){_a1a.destroy();}delete _a19._splitterWidget;});this.inherited(arguments);}});_a09.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_a09.ChildWidgetProperties,_9ef.ChildWidgetProperties);lang.extend(_9ec,_a09.ChildWidgetProperties);_a09._Splitter=_9f1;_a09._Gutter=_a08;return _a09;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_a1b,_a1c,_a1d,_a1e,lang,_a1f,_a20,_a21){var _a22=_a1c("dijit.layout.LayoutContainer",_a20,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_a1b.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_a23){this.inherited(arguments);var _a24=_a23.region;if(_a24){_a1d.add(_a23.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _a25=_a1b.map(this.getChildren(),function(_a26,idx){return {pane:_a26,weight:[_a26.region=="center"?Infinity:0,_a26.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_a26.region)?1:-1),idx]};},this);_a25.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i
",tabPosition:"top",buttonWidget:_a43,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _a4a=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 _a3e.contains(node,"dijitClosable")&&!_a3e.contains(node,"dijitTabDisabled");}});this.own(_a4a);var _a4b=i18n.getLocalization("dijit","common"),_a4c=this;_a4a.addChild(new _a41({label:_a4b.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _a4d=_a40.byNode(this.getParent().currentTarget);_a4c.onCloseButtonClick(_a4d.page);}}));}});_a49.TabButton=_a43;return _a49;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_a4e,_a4f,_a50,_a51,keys,lang,on,_a52,_a53,_a54,_a55,_a56,_a57,_a58){var _a59=_a4f("dijit.layout._StackButton",_a58,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _a5a=_a4f("dijit.layout.StackController",[_a55,_a56,_a57],{baseClass:"dijitStackController",templateString:"
",containerId:"",buttonWidget:_a59,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _a54.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_a52.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_a52.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_a52.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_a52.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_a52.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _a5b=_a54.getEnclosingWidget(evt.target);if(_a5b!=this.containerNode&&!_a5b.disabled&&_a5b.page){for(var _a5c=evt.target;_a5c!==this.containerNode;_a5c=_a5c.parentNode){if(_a50.contains(_a5c,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_a5b.page);break;}else{if(_a5c==_a5b.domNode){this.onButtonClick(_a5b.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_a4e.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _a5d=_a54.byId(this.containerId).containerNode,_a5e=lang.hitch(this,"pane2button"),_a5f={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_a60=function(attr,_a61){return on(_a5d,"attrmodified-"+attr,function(evt){var _a62=_a5e(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_a62){_a62.set(_a61,evt.detail.newValue);}});};for(var attr in _a5f){this.own(_a60(attr,_a5f[attr]));}},destroy:function(_a63){this.destroyDescendants(_a63);this.inherited(arguments);},onAddChild:function(page,_a64){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _a65=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||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_a65,_a64);page.controlButton=_a65;if(!this._currentChild){this.onSelectChild(page);}var _a66=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_a65.id:_a65.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_a66);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _a67=this.pane2button(page.id);if(_a67){this.removeChild(_a67);_a67.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _a68=this.pane2button(this._currentChild.id);_a68.set("checked",false);_a68.focusNode.setAttribute("tabIndex","-1");}var _a69=this.pane2button(page.id);_a69.set("checked",true);this._currentChild=page;_a69.focusNode.setAttribute("tabIndex","0");var _a6a=_a54.byId(this.containerId);},onButtonClick:function(page){var _a6b=this.pane2button(page.id);_a53.focus(_a6b.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_a6b.set("checked",true);}var _a6c=_a54.byId(this.containerId);_a6c.selectChild(page);},onCloseButtonClick:function(page){var _a6d=_a54.byId(this.containerId);_a6d.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_a53.focus(b.focusNode||b.domNode);}}},adjacent:function(_a6e){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_a6e=!_a6e;}var _a6f=this.getChildren();var idx=_a4e.indexOf(_a6f,this.pane2button(this._currentChild.id)),_a70=_a6f[idx];var _a71;do{idx=(idx+(_a6e?1:_a6f.length-1))%_a6f.length;_a71=_a6f[idx];}while(_a71.disabled&&_a71!=_a70);return _a71;},onkeydown:function(e,_a72){if(this.disabled||e.altKey){return;}var _a73=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_a73=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_a73=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_a73=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_a73=true;}break;case keys.HOME:var _a74=this.getChildren();for(var idx=0;idx<_a74.length;idx++){var _a75=_a74[idx];if(!_a75.disabled){this.onButtonClick(_a75.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _a74=this.getChildren();for(var idx=_a74.length-1;idx>=0;idx--){var _a75=_a74[idx];if(!_a75.disabled){this.onButtonClick(_a75.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_a73!==null){this.onButtonClick(this.adjacent(_a73).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_a5a.StackButton=_a59;return _a5a;});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_a76,_a77,_a78,dom,_a79,_a7a,_a7b,keys,lang,on,has,win,_a7c,pm,_a7d,_a7e){if(has("dijit-legacy-requires")){_a7e(0,function(){var _a7f=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_a76(_a7f);});}return _a78("dijit.Menu",_a7d,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_a77.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_a80){return _a7c.get(this._iframeContentDocument(_a80))||this._iframeContentDocument(_a80)["__parent__"]||(_a80.name&&document.frames[_a80.name])||null;},_iframeContentDocument:function(_a81){return _a81.contentDocument||(_a81.contentWindow&&_a81.contentWindow.document)||(_a81.name&&document.frames[_a81.name]&&document.frames[_a81.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _a82=node,_a83=this._iframeContentWindow(_a82);cn=win.body(_a83.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _a84={node:node,iframe:_a82};_a79.set(node,"_dijitMenu"+this.id,this._bindings.push(_a84));var _a85=lang.hitch(this,function(cn){var _a86=this.selector,_a87=_a86?function(_a88){return on.selector(_a86,_a88);}:function(_a89){return _a89;},self=this;return [on(cn,_a87(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()
.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+=_a9f.getMarginSize(btn).w;return true;}else{_aa0.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _aaf=this.getChildren();if(_aaf.length){var _ab0=_aaf[this.isLeftToRight()?0:_aaf.length-1].domNode,_ab1=_aaf[this.isLeftToRight()?_aaf.length-1:0].domNode;return _ab1.offsetLeft+_ab1.offsetWidth-_ab0.offsetLeft;}else{return 0;}},_enableBtn:function(_ab2){var _ab3=this._getTabsWidth();_ab2=_ab2||_aa0.get(this.scrollNode,"width");return _ab3>0&&_ab2<_ab3;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_aa6.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_a9f.setContentSize(this.domNode,cb);var _ab4=this._enableBtn(this._contentBox.w);this._buttons.style("display",_ab4?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_aa6.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);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("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_aa0.get(this.containerNode,"width")-_aa0.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _ab5=_aa0.get(this.containerNode,"width")-_aa0.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_ab5);}},onSelectChild:function(page,_ab6){var tab=this.pane2button(page.id);if(!tab){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_aa0.get(this.scrollNode,"width")_ab8){return {min:this.isLeftToRight()?0:_ab7[_ab7.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_ab7[_ab7.length-1].domNode.offsetLeft+_ab7[_ab7.length-1].domNode.offsetWidth)-_ab8:_aba};}else{var _abc=this.isLeftToRight()?0:_aba;return {min:_abc,max:_abc};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_abd=_aa0.get(this.scrollNode,"width"),_abe=this._getScrollBounds();var pos=(n.offsetLeft+_aa0.get(n,"width")/2)-_abd/2;pos=Math.min(Math.max(pos,_abe.min),_abe.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _abf=this._getScrollBounds();x=Math.min(Math.max(x,_abf.min),_abf.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&&!_a9e.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(_ac0,node){if(node&&_a9e.contains(node,"dijitTabDisabled")){return;}var _ac1=_aa0.get(this.scrollNode,"width");var d=(_ac1*0.75)*_ac0;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_ac2){var _ac3=this._getScrollBounds();this._leftBtn.set("disabled",_ac2<=_ac3.min);this._rightBtn.set("disabled",_ac2>=_ac3.max);}});var _ac4=_a9d("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_aa4,tabIndex:"",isFocusable:function(){return false;}});_a9d("dijit.layout._ScrollingTabControllerButton",[_aa9,_ac4]);_a9d("dijit.layout._ScrollingTabControllerMenuButton",[_aa9,_aaa,_ac4],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_ac5){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _ac6=_aa2.byId(this.containerId);_a9c.forEach(_ac6.getChildren(),function(page){var _ac7=new _aa8({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||_ac6.textDir,onClick:function(){_ac6.selectChild(page);}});this.dropDown.addChild(_ac7);},this);_ac5();},closeDropDown:function(_ac8){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _aab;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_ac9,_aca,_acb,lang,_acc,_acd,_ace,_acf){return _aca("dijit.ProgressBar",[_acd,_ace],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_acf,_indeterminateHighContrastImagePath:_ac9.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();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_acb.toggle(this.domNode,"dijitProgressBarRtl",rtl);_acb.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_ad0){lang.mixin(this,_ad0||{});var tip=this.internalProgress,ap=this.domNode;var _ad1=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_ad1=Math.min(parseFloat(this.progress)/100,1);this.progress=_ad1*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_ad1=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_ad1);_acb.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_acb.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_ad1*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(_ad2){this._set("label",_ad2);this.update();},_setIndeterminateAttr:function(_ad3){this._set("indeterminate",_ad3);this.update();},report:function(_ad4){return this.label?this.label:(this.indeterminate?" ":_acc.format(_ad4,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_ad5,_ad6,_ad7){var _ad8={};lang.setObject("dojo.number",_ad8);_ad8.format=function(_ad9,_ada){_ada=lang.mixin({},_ada||{});var _adb=i18n.normalizeLocale(_ada.locale),_adc=i18n.getLocalization("dojo.cldr","number",_adb);_ada.customs=_adc;var _add=_ada.pattern||_adc[(_ada.type||"decimal")+"Format"];if(isNaN(_ad9)||Math.abs(_ad9)==Infinity){return null;}return _ad8._applyPattern(_ad9,_add,_ada);};_ad8._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_ad8._applyPattern=function(_ade,_adf,_ae0){_ae0=_ae0||{};var _ae1=_ae0.customs.group,_ae2=_ae0.customs.decimal,_ae3=_adf.split(";"),_ae4=_ae3[0];_adf=_ae3[(_ade<0)?1:0]||("-"+_ae4);if(_adf.indexOf("%")!=-1){_ade*=100;}else{if(_adf.indexOf("‰")!=-1){_ade*=1000;}else{if(_adf.indexOf("¤")!=-1){_ae1=_ae0.customs.currencyGroup||_ae1;_ae2=_ae0.customs.currencyDecimal||_ae2;_adf=_adf.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_ae5,_ae6,_ae7,_ae8){var prop=["symbol","currency","displayName"][_ae7.length-1],_ae9=_ae0[prop]||_ae0.currency||"";if(!_ae9){return "";}return _ae6+_ae9+_ae8;});}else{if(_adf.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _aea=_ad8._numberPatternRE;var _aeb=_ae4.match(_aea);if(!_aeb){throw new Error("unable to find a number expression in pattern: "+_adf);}if(_ae0.fractional===false){_ae0.places=0;}return _adf.replace(_aea,_ad8._formatAbsolute(_ade,_aeb[0],{decimal:_ae2,group:_ae1,places:_ae0.places,round:_ae0.round}));};_ad8.round=function(_aec,_aed,_aee){var _aef=10/(_aee||10);return (_aef*+_aec).toFixed(_aed)/_aef;};if((0.9).toFixed()==0){var _af0=_ad8.round;_ad8.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 _af0(v,p,m)+(v>0?d:-d);};}_ad8._formatAbsolute=function(_af1,_af2,_af3){_af3=_af3||{};if(_af3.places===true){_af3.places=0;}if(_af3.places===Infinity){_af3.places=6;}var _af4=_af2.split("."),_af5=typeof _af3.places=="string"&&_af3.places.indexOf(","),_af6=_af3.places;if(_af5){_af6=_af3.places.substring(_af5+1);}else{if(!(_af6>=0)){_af6=(_af4[1]||[]).length;}}if(!(_af3.round<0)){_af1=_ad8.round(_af1,_af6,_af3.round);}var _af7=String(Math.abs(_af1)).split("."),_af8=_af7[1]||"";if(_af4[1]||_af3.places){if(_af5){_af3.places=_af3.places.substring(0,_af5);}var pad=_af3.places!==undefined?_af3.places:(_af4[1]&&_af4[1].lastIndexOf("0")+1);if(pad>_af8.length){_af7[1]=_ad6.pad(_af8,pad,"0",true);}if(_af6<_af8.length){_af7[1]=_af8.substr(0,_af6);}}else{if(_af7[1]){_af7.pop();}}var _af9=_af4[0].replace(",","");pad=_af9.indexOf("0");if(pad!=-1){pad=_af9.length-pad;if(pad>_af7[0].length){_af7[0]=_ad6.pad(_af7[0],pad);}if(_af9.indexOf("#")==-1){_af7[0]=_af7[0].substr(_af7[0].length-pad);}}var _afa=_af4[0].lastIndexOf(","),_afb,_afc;if(_afa!=-1){_afb=_af4[0].length-_afa-1;var _afd=_af4[0].substr(0,_afa);_afa=_afd.lastIndexOf(",");if(_afa!=-1){_afc=_afd.length-_afa-1;}}var _afe=[];for(var _aff=_af7[0];_aff;){var off=_aff.length-_afb;_afe.push((off>0)?_aff.substr(off):_aff);_aff=(off>0)?_aff.slice(0,off):"";if(_afc){_afb=_afc;_afc=undefined;}}_af7[0]=_afe.reverse().join(_af3.group||",");return _af7.join(_af3.decimal||".");};_ad8.regexp=function(_b00){return _ad8._parseInfo(_b00).regexp;};_ad8._parseInfo=function(_b01){_b01=_b01||{};var _b02=i18n.normalizeLocale(_b01.locale),_b03=i18n.getLocalization("dojo.cldr","number",_b02),_b04=_b01.pattern||_b03[(_b01.type||"decimal")+"Format"],_b05=_b03.group,_b06=_b03.decimal,_b07=1;if(_b04.indexOf("%")!=-1){_b07/=100;}else{if(_b04.indexOf("‰")!=-1){_b07/=1000;}else{var _b08=_b04.indexOf("¤")!=-1;if(_b08){_b05=_b03.currencyGroup||_b05;_b06=_b03.currencyDecimal||_b06;}}}var _b09=_b04.split(";");if(_b09.length==1){_b09.push("-"+_b09[0]);}var re=_ad7.buildGroupRE(_b09,function(_b0a){_b0a="(?:"+_ad7.escapeString(_b0a,".")+")";return _b0a.replace(_ad8._numberPatternRE,function(_b0b){var _b0c={signed:false,separator:_b01.strict?_b05:[_b05,""],fractional:_b01.fractional,decimal:_b06,exponent:false},_b0d=_b0b.split("."),_b0e=_b01.places;if(_b0d.length==1&&_b07!=1){_b0d[1]="###";}if(_b0d.length==1||_b0e===0){_b0c.fractional=false;}else{if(_b0e===undefined){_b0e=_b01.pattern?_b0d[1].lastIndexOf("0")+1:Infinity;}if(_b0e&&_b01.fractional==undefined){_b0c.fractional=true;}if(!_b01.places&&(_b0e<_b0d[1].length)){_b0e+=","+_b0d[1].length;}_b0c.places=_b0e;}var _b0f=_b0d[0].split(",");if(_b0f.length>1){_b0c.groupSize=_b0f.pop().length;if(_b0f.length>1){_b0c.groupSize2=_b0f.pop().length;}}return "("+_ad8._realNumberRegexp(_b0c)+")";});},true);if(_b08){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_b10,_b11,_b12,_b13){var prop=["symbol","currency","displayName"][_b12.length-1],_b14=_ad7.escapeString(_b01[prop]||_b01.currency||"");if(!_b14){return "";}_b11=_b11?"[\\s\\xa0]":"";_b13=_b13?"[\\s\\xa0]":"";if(!_b01.strict){if(_b11){_b11+="*";}if(_b13){_b13+="*";}return "(?:"+_b11+_b14+_b13+")?";}return _b11+_b14+_b13;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_b05,decimal:_b06,factor:_b07};};_ad8.parse=function(_b15,_b16){var info=_ad8._parseInfo(_b16),_b17=(new RegExp("^"+info.regexp+"$")).exec(_b15);if(!_b17){return NaN;}var _b18=_b17[1];if(!_b17[1]){if(!_b17[2]){return NaN;}_b18=_b17[2];info.factor*=-1;}_b18=_b18.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _b18*info.factor;};_ad8._realNumberRegexp=function(_b19){_b19=_b19||{};if(!("places" in _b19)){_b19.places=Infinity;}if(typeof _b19.decimal!="string"){_b19.decimal=".";}if(!("fractional" in _b19)||/^0/.test(_b19.places)){_b19.fractional=[true,false];}if(!("exponent" in _b19)){_b19.exponent=[true,false];}if(!("eSigned" in _b19)){_b19.eSigned=[true,false];}var _b1a=_ad8._integerRegexp(_b19),_b1b=_ad7.buildGroupRE(_b19.fractional,function(q){var re="";if(q&&(_b19.places!==0)){re="\\"+_b19.decimal;if(_b19.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_b19.places+"}";}}return re;},true);var _b1c=_ad7.buildGroupRE(_b19.exponent,function(q){if(q){return "([eE]"+_ad8._integerRegexp({signed:_b19.eSigned})+")";}return "";});var _b1d=_b1a+_b1b;if(_b1b){_b1d="(?:(?:"+_b1d+")|(?:"+_b1b+"))";}return _b1d+_b1c;};_ad8._integerRegexp=function(_b1e){_b1e=_b1e||{};if(!("signed" in _b1e)){_b1e.signed=[true,false];}if(!("separator" in _b1e)){_b1e.separator="";}else{if(!("groupSize" in _b1e)){_b1e.groupSize=3;}}var _b1f=_ad7.buildGroupRE(_b1e.signed,function(q){return q?"[-+]":"";},true);var _b20=_ad7.buildGroupRE(_b1e.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_ad7.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_b1e.groupSize,grp2=_b1e.groupSize2;if(grp2){var _b21="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_b21+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_b21;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _b1f+_b20;};return _ad8;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_b22,_b23,has,keys,_b24,_b25,_b26,_b27){if(has("dijit-legacy-requires")){_b24(0,function(){var _b28=["dijit/ToolbarSeparator"];_b22(_b28);});}return _b23("dijit.Toolbar",[_b25,_b27,_b26],{templateString:""+"
",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_b29,_b2a,has,keys,lang,on,_b2b,_b2c,_b2d,_b2e,_b2f,_b30,_b31){var _b32=_b29("dijit.TooltipDialog",[_b2c,_b2f,_b2e,_b2d],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_b30,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_b33,_b34){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","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_b33+"-"+_b34];_b2a.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_b2b.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _b35=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_b35.y+((_b35.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=_b35.x+((_b35.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_b2b.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_b2b.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_b32.extend({_setTitleAttr:function(_b36){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_b36):_b36;this._set("title",_b36);},_setTextDirAttr:function(_b37){if(!this._created||this.textDir!=_b37){this._set("textDir",_b37);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _b32;});},"dijit/Tree":function(){define(["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"],function(_b38,_b39,_b3a,_b3b,_b3c,all,dom,_b3d,_b3e,_b3f,_b40,_b41,has,_b42,keys,lang,on,_b43,_b44,when,_b45,_b46,_b47,_b48,_b49,_b4a,_b4b,_b4c,_b4d,_b4e,_b4f,_b50,_b51,_b52,_b53){function _b54(d){return lang.delegate(d.promise||d,{addCallback:function(_b55){this.then(_b55);},addErrback:function(_b56){this.otherwise(_b56);}});};var _b57=_b3b("dijit._TreeNode",[_b49,_b4a,_b4b,_b4c,_b4d],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);if(has("dojo-bidi")){this.applyTextDir(this.labelNode);}},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_b4f,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(_b58){var _b59=(Math.max(_b58,0)*this.tree._nodePixelIndent)+"px";_b3f.set(this.domNode,"backgroundPosition",_b59+" 0px");_b3f.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_b59);_b38.forEach(this.getChildren(),function(_b5a){_b5a.set("indent",_b58+1);});this._set("indent",_b58);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_b5b=tree.model;if(tree._v10Compat&&item===_b5b.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,_b5c,_b5d){var _b5e="_"+_b5c+"Class";var _b5f=_b5c+"Node";var _b60=this[_b5e];this[_b5e]=this.tree["get"+_b5d+"Class"](item,this.isExpanded);_b3d.replace(this[_b5f],this[_b5e]||"",_b60||"");_b3f.set(this[_b5f],this.tree["get"+_b5d+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _b61=this.getParent(),_b62=!_b61||!_b61.rowNode||_b61.rowNode.style.display=="none";_b3d.toggle(this.domNode,"dijitTreeIsRoot",_b62);_b3d.toggle(this.domNode,"dijitTreeIsLast",!_b62&&!this.getNextSibling());},_setExpando:function(_b63){var _b64=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_b65=["*","-","+","*"],idx=_b63?0:(this.isExpandable?(this.isExpanded?1:2):3);_b3d.replace(this.expandoNode,_b64[idx],_b64);this.expandoNodeText.innerHTML=_b65[idx];},expand:function(){if(this._expandDeferred){return _b54(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");}_b3d.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 _b66=_b41.wipeIn({node:this.containerNode,duration:_b48.defaultDuration});var def=(this._expandDeferred=new _b3c(function(){_b66.stop();}));_b39.after(_b66,"onEnd",function(){def.resolve(true);},true);_b66.play();return _b54(def);},collapse:function(){if(this._collapseDeferred){return _b54(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");}_b3d.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _b67=_b41.wipeOut({node:this.containerNode,duration:_b48.defaultDuration});var def=(this._collapseDeferred=new _b3c(function(){_b67.stop();}));_b39.after(_b67,"onEnd",function(){def.resolve(true);},true);_b67.play();return _b54(def);},indent:0,setChildItems:function(_b68){var tree=this.tree,_b69=tree.model,defs=[];var _b6a=tree.focusedChild;var _b6b=this.getChildren();_b38.forEach(_b6b,function(_b6c){_b4b.prototype.removeChild.call(this,_b6c);},this);this.defer(function(){_b38.forEach(_b6b,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _b6d(node){var id=_b69.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _b6e=_b38.indexOf(ary,node);if(_b6e!=-1){ary.splice(_b6e,1);}}_b38.forEach(node.getChildren(),_b6d);};_b6d(node);if(tree.persist){var _b6f=_b38.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_b6f.length)==_b6f){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild.domNode,tree.domNode)){delete tree.lastFocusedChild;}if(_b6a&&!dom.isDescendant(_b6a.domNode,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_b68&&_b68.length>0){this.isExpandable=true;_b38.forEach(_b68,function(item){var id=_b69.getIdentity(item),_b70=tree._itemNodesMap[id],node;if(_b70){for(var i=0;i<_b70.length;i++){if(_b70[i]&&!_b70[i].getParent()){node=_b70[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_b69.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_b70){_b70.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_b38.forEach(this.getChildren(),function(_b71){_b71._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _b54(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 _b72=this.getChildren();if(_b72.length==0){this.isExpandable=false;this.collapse();}_b38.forEach(_b72,function(_b73){_b73._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_b74){this.labelNode.setAttribute("aria-selected",_b74?"true":"false");_b3d.toggle(this.rowNode,"dijitTreeRowSelected",_b74);},focus:function(){_b46.focus(this.focusNode);}});if(has("dojo-bidi")){_b57.extend({_setTextDirAttr:function(_b75){if(_b75&&((this.textDir!=_b75)||!this._created)){this._set("textDir",_b75);this.applyTextDir(this.labelNode);_b38.forEach(this.getChildren(),function(_b76){_b76.set("textDir",_b75);},this);}}});}var Tree=_b3b("dijit.Tree",[_b49,_b4e,_b4a,_b4d],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_b50,persist:false,autoExpand:false,dndController:_b53,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(_b77,_b78){_b43.publish(this.id,lang.mixin({tree:this,event:_b77},_b78||{}));},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 _b3c();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_b44.enter),function(evt){self._onNodeMouseEnter(_b47.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_b44.leave),function(evt){self._onNodeMouseLeave(_b47.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_b45.press),function(evt){self._onNodePress(_b47.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_b45),function(evt){self._onClick(_b47.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_b47.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_b39.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_b39.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_b39.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _b79={};for(var i=0;ithis.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _b57(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_bb6){if(_bb6&&this.textDir!=_bb6){this._set("textDir",_bb6);this.rootNode.set("textDir",_bb6);}}});}Tree.PathError=_b40("TreePathError");Tree._TreeNode=_b57;return Tree;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_bb7,_bb8,_bb9,lang){return _bb9("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(args){lang.mixin(this,args);this.connects=[];var _bba=this.store;if(!_bba.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_bba.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_bb8.after(_bba,"onNew",lang.hitch(this,"onNewItem"),true),_bb8.after(_bba,"onDelete",lang.hitch(this,"onDeleteItem"),true),_bb8.after(_bba,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_bbb,_bbc){if(this.root){_bbb(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_bbd){if(_bbd.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_bbd.length+" items, but must return exactly one");}this.root=_bbd[0];_bbb(this.root);}),onError:_bbc});}},mayHaveChildren:function(item){return _bb7.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_bbe,_bbf,_bc0){var _bc1=this.store;if(!_bc1.isItemLoaded(_bbe)){var _bc2=lang.hitch(this,arguments.callee);_bc1.loadItem({item:_bbe,onItem:function(_bc3){_bc2(_bc3,_bbf,_bc0);},onError:_bc0});return;}var _bc4=[];for(var i=0;i0){if(!this.targetBox||_c22!=_c23){this.targetBox=_c18.position(_c23.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_c25="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_c25="After";}}}if(_c21||_c23!=_c22||_c25!=_c24){if(_c22){this._removeItemClass(_c22.rowNode,_c24);}if(_c23){this._addItemClass(_c23.rowNode,_c25);}if(!_c23){m.canDrop(false);}else{if(_c23==this.tree.rootNode&&_c25!="Over"){m.canDrop(false);}else{var _c26=false,_c27=false;if(m.source==this){_c27=(_c25==="Over");for(var _c28 in this.selection){var _c29=this.selection[_c28];if(_c29.item===_c23.item){_c26=true;break;}if(_c29.getParent().id!==_c23.id){_c27=false;}}}m.canDrop(!_c26&&!_c27&&!this._isParentChildDrop(m.source,_c23.rowNode)&&this.checkItemAcceptance(_c23.rowNode,m.source,_c25.toLowerCase()));}}this.targetAnchor=_c23;this.dropPosition=_c25;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_c1c.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _c2a=this.getSelectedTreeNodes();if(_c2a.length){if(_c2a.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_c2a[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_c2a=r;}_c2a=_c14.map(_c2a,function(n){return n.domNode;});m.startDrag(this,_c2a,this.copyState(_c16.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_c19.isLeft(e)){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;}this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_c2b){if(this!=_c2b){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_c1c.manager();m.canDrop(false);}}},onDndStart:function(_c2c,_c2d,copy){if(this.isSource){this._changeState("Source",this==_c2c?(copy?"Copied":"Moved"):"");}var _c2e=this.checkAcceptance(_c2c,_c2d);this._changeState("Target",_c2e?"":"Disabled");if(this==_c2c){_c1c.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_c2f){return _c14.map(_c2f,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_c30,_c31,copy){if(this.containerState=="Over"){var tree=this.tree,_c32=tree.model,_c33=this.targetAnchor,_c34=false;this.isDragging=false;var _c35;var _c36;var _c37;_c35=(_c33&&_c33.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_c35=(_c33.getParent()&&_c33.getParent().item)||tree.item;_c36=_c33.getIndexInParent();if(this.dropPosition=="After"){_c36=_c33.getIndexInParent()+1;_c37=_c33.getNextSibling()&&_c33.getNextSibling().item;}else{_c37=_c33.item;}}else{_c35=(_c33&&_c33.item)||tree.item;_c34=true;}var _c38;_c14.forEach(_c31,function(node,idx){var _c39=_c30.getItem(node.id);if(_c14.indexOf(_c39.type,"treeNode")!=-1){var _c3a=_c39.data,_c3b=_c3a.item,_c3c=_c3a.getParent().item;}if(_c30==this){if(typeof _c36=="number"){if(_c35==_c3c&&_c3a.getIndexInParent()<_c36){_c36-=1;}}_c32.pasteItem(_c3b,_c3c,_c35,copy,_c36,_c37);}else{if(_c32.isItem(_c3b)){_c32.pasteItem(_c3b,_c3c,_c35,copy,_c36,_c37);}else{if(!_c38){_c38=this.itemCreator(_c31,_c33.rowNode,_c30);}_c32.newItem(_c38[idx],_c35,_c36,_c37);}}},this);if(_c34){this.tree._expandNode(_c33);}}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_c1c.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_c1c.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_c3d,_c3e){if(!_c3d.tree||_c3d.tree!=this.tree){return false;}var root=_c3d.tree.domNode;var ids=_c3d.selection;var node=_c3e.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _c1e;});},"dojo/dnd/Manager":function(){define(["../_base/array","../_base/declare","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_c3f,_c40,lang,win,_c41,_c42,has,keys,on,_c43,_c44,dnd,_c45,_c46){var _c47=_c40("dojo.dnd.Manager",[_c42],{constructor:function(){this.avatar=null;this.source=null;this.nodes=[];this.copy=true;this.target=null;this.canDropFlag=false;this.events=[];},OFFSET_X:has("touch")?4:16,OFFSET_Y:has("touch")?4:16,overSource:function(_c48){if(this.avatar){this.target=(_c48&&_c48.targetState!="Disabled")?_c48:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_c43.publish("/dnd/source/over",_c48);},outSource:function(_c49){if(this.avatar){if(this.target==_c49){this.target=null;this.canDropFlag=false;this.avatar.update();_c43.publish("/dnd/source/over",null);}}else{_c43.publish("/dnd/source/over",null);}},startDrag:function(_c4a,_c4b,copy){_c45.autoScrollStart(win.doc);this.source=_c4a;this.nodes=_c4b;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_c43.publish("/dnd/start",_c4a,_c4b,this.copy);function _c4c(e){e.preventDefault();e.stopPropagation();};this.events=[on(win.doc,_c44.move,lang.hitch(this,"onMouseMove")),on(win.doc,_c44.release,lang.hitch(this,"onMouseUp")),on(win.doc,"keydown",lang.hitch(this,"onKeyDown")),on(win.doc,"keyup",lang.hitch(this,"onKeyUp")),on(win.doc,"dragstart",_c4c),on(win.body(),"selectstart",_c4c)];var c="dojoDnd"+(copy?"Copy":"Move");_c41.add(win.body(),c);},canDrop:function(flag){var _c4d=Boolean(this.target&&flag);if(this.canDropFlag!=_c4d){this.canDropFlag=_c4d;this.avatar.update();}},stopDrag:function(){_c41.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_c3f.forEach(this.events,function(_c4e){_c4e.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _c46(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_c45.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));if(this.copy!=copy){this._setCopyStatus(copy);}}if(has("touch")){e.preventDefault();}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));_c43.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_c43.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_c43.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case keys.CTRL:var copy=Boolean(this.source.copyState(true));if(this.copy!=copy){this._setCopyStatus(copy);}break;case keys.ESCAPE:_c43.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==keys.CTRL){var copy=Boolean(this.source.copyState(false));if(this.copy!=copy){this._setCopyStatus(copy);}}},_setCopyStatus:function(copy){this.copy=copy;this.source._markDndStatus(this.copy);this.updateAvatar();_c41.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_c47.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _c47();}return dnd._manager;};return _c47;});},"dojo/dnd/Avatar":function(){define(["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_c4f,win,dom,_c50,_c51,_c52,has,_c53){return _c4f("dojo.dnd.Avatar",null,{constructor:function(_c54){this.manager=_c54;this.construct();},construct:function(){var a=_c52.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_c55=this.manager.source,node,b=_c52.create("tbody",null,a),tr=_c52.create("tr",null,b),td=_c52.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_c52.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_c52.create("span",{innerHTML:_c55.generateText?this._generateText():""},td);_c50.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i\n\t\n\n","url:dijit/templates/MenuSeparator.html":"\n","url:dijit/form/templates/Select.html":"
\n","*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);