",this.contentWidget.domNode,"after");var _2be=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_2be._buttonWidget=(new cls({contentWidget:_2be,label:_2be.title,title:_2be.tooltip,dir:_2be.dir,lang:_2be.lang,textDir:_2be.textDir||this.textDir,iconClass:_2be.iconClass,id:_2be.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_2a9.place("
",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_2a9.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _2bf=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_2c0,_2c1){_2bf.set("label",_2c1);})),cw.watch("tooltip",lang.hitch(this,function(name,_2c2,_2c3){_2bf.set("title",_2c3);})),cw.watch("iconClass",lang.hitch(this,function(name,_2c4,_2c5){_2bf.set("iconClass",_2c5);}))];},_setSelectedAttr:function(_2c6){this._set("selected",_2c6);this.button.set("selected",_2c6);if(_2c6){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_2a5.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_2c7){this.contentWidget.destroyRecursive(_2c7);}});if(has("dojo-bidi")){_2bd=_2a6("dijit.layout._AccordionInnerContainer",_2bd,{postCreate:function(){this.inherited(arguments);var _2c8=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_2c9,_2ca){_2c8.set("textDir",_2ca);}));}});}var _2cb=_2a6("dijit.layout.AccordionContainer",_2b3,{duration:_2ad.defaultDuration,buttonWidget:_2b7,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 _2cc=this.selectedChildWidget;if(!_2cc){return;}var _2cd=_2cc._wrapperWidget.domNode,_2ce=_2aa.getMarginExtents(_2cd),_2cf=_2aa.getPadBorderExtents(_2cd),_2d0=_2cc._wrapperWidget.containerNode,_2d1=_2aa.getMarginExtents(_2d0),_2d2=_2aa.getPadBorderExtents(_2d0),_2d3=this._contentBox;var _2d4=0;_2a5.forEach(this.getChildren(),function(_2d5){if(_2d5!=_2cc){_2d4+=_2aa.getMarginSize(_2d5._wrapperWidget.domNode).h;}});this._verticalSpace=_2d3.h-_2d4-_2ce.h-_2cf.h-_2d1.h-_2d2.h-_2cc._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_2ce.w-_2cf.w-_2d1.w-_2d2.w};if(_2cc){size(_2cc,this._containerContentBox);}},_setupChild:function(_2d6){_2d6._wrapperWidget=_2bd({contentWidget:_2d6,buttonWidget:this.buttonWidget,id:_2d6.id+"_wrapper",dir:_2d6.dir,lang:_2d6.lang,textDir:_2d6.textDir||this.textDir,parent:this});this.inherited(arguments);_2a9.place(_2d6.domNode,_2d6._wrapper,"replace");},removeChild:function(_2d7){if(_2d7._wrapperWidget){_2a9.place(_2d7.domNode,_2d7._wrapperWidget.domNode,"after");_2d7._wrapperWidget.destroy();delete _2d7._wrapperWidget;}_2a8.remove(_2d7.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _2a5.map(this.inherited(arguments),function(_2d8){return _2d8.declaredClass=="dijit.layout._AccordionInnerContainer"?_2d8.contentWidget:_2d8;},this);},destroy:function(){if(this._animation){this._animation.stop();}_2a5.forEach(this.getChildren(),function(_2d9){if(_2d9._wrapperWidget){_2d9._wrapperWidget.destroy();}else{_2d9.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_2da){_2da._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_2db){_2db._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_2dc,_2dd,_2de){if(has("ie")<8){_2de=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_2dc){_2dc._wrapperWidget.set("selected",true);var d=this._showChild(_2dc);if(this.doLayout){size(_2dc,this._containerContentBox);}}if(_2dd){_2dd._wrapperWidget.set("selected",false);if(!_2de){this._hideChild(_2dd);}}if(_2de){var _2df=_2dc._wrapperWidget.containerNode,_2e0=_2dd._wrapperWidget.containerNode;var _2e1=_2dc._wrapperWidget.containerNode,_2e2=_2aa.getMarginExtents(_2e1),_2e3=_2aa.getPadBorderExtents(_2e1),_2e4=_2e2.h+_2e3.h;_2e0.style.height=(self._verticalSpace-_2e4)+"px";this._animation=new fx.Animation({node:_2df,duration:this.duration,curve:[1,this._verticalSpace-_2e4-1],onAnimate:function(_2e5){_2e5=Math.floor(_2e5);_2df.style.height=_2e5+"px";_2e0.style.height=(self._verticalSpace-_2e4-_2e5)+"px";},onEnd:function(){delete self._animation;_2df.style.height="auto";_2dd._wrapperWidget.containerNode.style.display="none";_2e0.style.height="auto";self._hideChild(_2dd);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_2e6){if(this.disabled||e.altKey||!(_2e6||e.ctrlKey)){return;}var c=e.keyCode;if((_2e6&&(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((_2e6&&(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")){_2ae(0,function(){var _2e7=["dijit/layout/AccordionPane"];_2a4(_2e7);});}_2cb._InnerContainer=_2bd;_2cb._Button=_2b7;return _2cb;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_2e8,keys,_2e9,_2ea,_2eb){return _2e8("dijit.form.ComboButton",_2ea,{templateString:_2eb,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_2e9.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_2e9.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_2ec){if(!this.disabled){_2e9.focus(_2ec=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_2ed,_2ee,_2ef,keys,lang,_2f0,_2f1,has,_2f2,_2f3,_2f4){var _2f5=_2ee("dijit.form._AutoCompleterMixin",_2f4,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2f6){var pos=0;if(typeof (_2f6.selectionStart)=="number"){pos=_2f6.selectionStart;}else{if(has("ie")){var tr=_2f6.ownerDocument.selection.createRange().duplicate();var ntr=_2f6.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_2f7,_2f8){_2f8=parseInt(_2f8);_2f3.selectInputText(_2f7,_2f8,_2f8);},_setDisabledAttr:function(_2f9){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_2f9?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _2fa=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_2fa=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_2fa);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_2fa){if(_2fa==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_2fa==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _2fb=this.get("displayedValue");if(pw&&(_2fb==pw._messages["previousMessage"]||_2fb==pw._messages["nextMessage"])){break;}if(_2fa){this._selectOption(_2fa);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2f3.selectInputText(fn,fn.value.length);var _2fc=this.ignoreCase?"toLowerCase":"substr";if(text[_2fc](0).indexOf(this.focusNode.value[_2fc](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2f3.selectInputText(fn,cpos);}}else{fn.value=text;_2f3.selectInputText(fn);}},_openResultList:function(_2fd,_2fe,_2ff){var _300=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_2fd.length&&_2ff.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_301){_2fd.nextPage(_301!==-1);this.focus();});this.dropDown.createOptions(_2fd,_2ff,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _2ff){if(_2ff.direction){this.dropDown.highlightFirstOption();}else{if(!_2ff.direction){this.dropDown.highlightLastOption();}}if(_300){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_2fe[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _302=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_302==pw._messages["previousMessage"]||_302==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_302);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_303,_304){var _305="";if(item){if(!_304){_304=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_305=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_304;}this.set("value",_305,_303,_304,item);},_announceOption:function(node){if(!node){return;}var _306;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_306=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_306=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_306);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2ef.get(node,"id"));this._autoCompleteText(_306);},_selectOption:function(_307){this.closeDropDown();if(_307){this._announceOption(_307);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _308=this.id+"_popup",_309=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _309({onChange:lang.hitch(this,this._selectOption),id:_308,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _30a=this.srcNodeRef;this.store=new _2f2({},_30a);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _30b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_30b):item[_30b];}}}},postCreate:function(){var _30c=_2f0("label[for=\""+this.id+"\"]");if(_30c.length){if(!_30c[0].id){_30c[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_30c[0].id);}this.inherited(arguments);_2ed.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _30d=this.labelFunc(item,this.store),_30e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_30d=this.doHighlight(_30d,this._lastInput);_30e="html";}return {html:_30e=="html",label:_30d};},doHighlight:function(_30f,find){var _310=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2f1.escapeString(find);return this._escapeHtml(_30f.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_310),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"
$1 ");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_311){return (_311._oldAPI?_311.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_312,_313,_314,item){this._set("item",item||null);if(_312==null){_312="";}this.inherited(arguments);}});if(has("dojo-bidi")){_2f5.extend({_setTextDirAttr:function(_315){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_315);}}});}return _2f5;});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_316,has,_317,_318){return _316("dijit.form.MappedTextBox",_318,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_317.place("
",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_319,_31a,_31b,lang,_31c,_31d,_31e,_31f,_320){return _319("dijit.form.ComboBoxMixin",[_31f,_31d],{dropDownClass:_31e,hasDownArrow:true,templateString:_320,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_321){if(!_321.get){lang.mixin(_321,{_oldAPI:true,get:function(id){var _322=new _31a();this.fetchItemByIdentity({identity:id,onItem:function(_323){_322.resolve(_323);},onError:function(_324){_322.reject(_324);}});return _322.promise;},query:function(_325,_326){var _327=new _31a(function(){_328.abort&&_328.abort();});_327.total=new _31a();var _328=this.fetch(lang.mixin({query:_325,onBegin:function(_329){_327.total.resolve(_329);},onComplete:function(_32a){_327.resolve(_32a);},onError:function(_32b){_327.reject(_32b);}},_326));return _31c(_327);}});}this._set("store",_321);},postMixInProperties:function(){var _32c=this.params.store||this.store;if(_32c){this._setStoreAttr(_32c);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _32d=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_31b.deprecated(_32d+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_31b.deprecated(_32d+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_31b.deprecated(_32d+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_32e){new _32e({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_32f,_330,dom,has,keys,lang,on,_331){var _332=_330("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_333,_334,_335){var _336;if(_333!==undefined){_336=this.filter(_333);if(typeof _335!="string"){if(_336!==null&&((typeof _336!="number")||!isNaN(_336))){_335=this.filter(this.format(_336,this.constraints));}else{_335="";}if(this.compare(_336,this.filter(this.parse(_335,this.constraints)))!=0){_335=null;}}}if(_335!=null&&((typeof _335)!="number"||!isNaN(_335))&&this.textbox.value!=_335){this.textbox.value=_335;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_336,_334]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_337){if(_337==null){_337="";}else{if(typeof _337!="string"){_337=String(_337);}}this.textbox.value=_337;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_338){return _338==null?"":(_338.toString?_338.toString():_338);},parse:function(_339){return _339;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _33a(e){var _33b;if(e.type=="keydown"&&e.keyCode!=229){_33b=e.keyCode;switch(_33b){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_33b){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_33b>=65&&_33b<=90)||(_33b>=48&&_33b<=57)||_33b==keys.SPACE){return;}var _33c=false;for(var i in keys){if(keys[i]===e.keyCode){_33c=true;break;}}if(!_33c){return;}}}_33b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_33b){_33b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_33b){_33b=229;}if(e.type=="keypress"){if(typeof _33b!="string"){return;}if((_33b>="a"&&_33b<="z")||(_33b>="A"&&_33b<="Z")||(_33b>="0"&&_33b<="9")||(_33b===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_33b,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_33a)),on(this.textbox,"input",lang.hitch(this,"_onInput")),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_332.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_332=_330("dijit.form._TextBoxMixin",_332,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_332._setSelectionRange=_331._setSelectionRange=function(_33d,_33e,stop){if(_33d.setSelectionRange){_33d.setSelectionRange(_33e,stop);}};_332.selectInputText=_331.selectInputText=function(_33f,_340,stop){_33f=dom.byId(_33f);if(isNaN(_340)){_340=0;}if(isNaN(stop)){stop=_33f.value?_33f.value.length:0;}try{_33f.focus();_332._setSelectionRange(_33f,_340,stop);}catch(e){}};return _332;});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_341,_342,has,_343){return _341("dijit.form.SimpleTextarea",_343,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"
",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_342.add(this.textbox,"dijitTextAreaCols");}},filter:function(_344){if(_344){_344=_344.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _345=parseInt(this.maxLength);var _346=this.textbox.value.replace(/\r/g,"");var _347=_346.length-_345;if(_347>0){var _348=this.textbox;if(_348.selectionStart){var pos=_348.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_346.substring(0,pos-_347-cr)+_346.substring(pos-cr);_348.setSelectionRange(pos-_347,pos-_347);}else{if(this.ownerDocument.selection){_348.focus();var _349=this.ownerDocument.selection.createRange();_349.moveStart("character",-_347);_349.text="";_349.select();}}}}this.inherited(arguments);}});});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_34a,_34b){_34b.getDocumentWindow=function(doc){return _34a.get(doc);};});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_34c,_34d,lang,_34e,pm,_34f,_350){return _34c("dijit.PopupMenuItem",_350,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _351=_34e("*",this.srcNodeRef);this.inherited(arguments,[_351[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_352,_353){var _354=this.popup;pm.open(lang.delegate(_352,{popup:this.popup,around:this.domNode}));if(_353&&_354.focus){_354.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_34e("[widgetId]",this.dropDownContainer)[0];this.popup=_34f.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_34d.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_355){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_355);}delete this.popup;}this.inherited(arguments);}});});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_356,_357,_358,_359,has,_35a,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_357.blankGif||_356.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_359.getComputedStyle(div),_35b=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_35b&&(_35b=="none"||_35b=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_35a(function(){if(has("highcontrast")){_358.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_35c,_35d,_35e){return _35c("dijit.form.RadioButton",[_35d,_35e],{baseClass:"dijitRadio"});});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_35f,keys,_360,has,_361){var ret=_360("dijit._OnDijitClickMixin",null,{connect:function(obj,_362,_363){return this.inherited(arguments,[obj,_362=="ondijitclick"?_361:_362,_363]);}});ret.a11yclick=_361;return ret;});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_364,_365,_366,_367,_368,_369,_36a,_36b,i18n,_36c,keys,lang,on,has,when,_36d,fm,_36e,_36f,_370,_371,_372,_373,_374,_375){var _376=_367("dijit._InlineEditor",[_36e,_36f,_370],{templateString:_375,contextRequire:_364,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_365.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_364(this.editor)):this.editor;var _377=this.sourceStyle,_378="line-height:"+_377.lineHeight+";",_379=_36b.getComputedStyle(this.domNode);_365.forEach(["Weight","Family","Size","Style"],function(prop){var _37a=_377["font"+prop],_37b=_379["font"+prop];if(_37b!=_37a){_378+="font-"+prop+":"+_377["font"+prop]+";";}},this);_365.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_377[prop];},this);var _37c=this.inlineEditBox.width;if(_37c=="100%"){_378+="width:100%;";this.domNode.style.display="block";}else{_378+="width:"+(_37c+(Number(_37c)==_37c?"px":""))+";";}var _37d=lang.delegate(this.inlineEditBox.editorParams,{style:_378,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_37d,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_36a.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_366.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_366.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_373.selectInputText(this.editWidget.focusNode);});}}}});var _37e=_367("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_36e,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_374,editorWrapper:_376,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"
✍ ":"
✍ ",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_36d,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_369.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_37f){_36c.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_37f);},_setDisabledAttr:function(_380){this.domNode.setAttribute("aria-disabled",_380?"true":"false");if(_380){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_369.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_380);this._set("disabled",_380);},_onMouseOver:function(){if(!this.disabled){_369.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_369.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_368.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _381=_36a.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_36b.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_381);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_369.add(this.displayNode,"dijitOffScreen");_369.remove(ww.domNode,"dijitOffScreen");_36b.set(ww.domNode,{visibility:"visible"});_368.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_382){var ww=this.wrapperWidget;_36b.set(ww.domNode,{visibility:"hidden"});_369.add(ww.domNode,"dijitOffScreen");_369.remove(this.displayNode,"dijitOffScreen");_368.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_382){fm.focus(this.displayNode);}},save:function(_383){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _384=ww.getValue();this.set("value",_384);this._showText(_383);},setValue:function(val){_36c.deprecated("dijit.InlineEditBox.setValue() is deprecated. Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _385=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""").replace(/\n/g,"
");if(this.editorParams&&this.editorParams.type==="password"){this.displayNode.innerHTML="********";}else{this.displayNode.innerHTML=_385||this.noValueIndicator;}this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_36c.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_386){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_386);}});if(has("dojo-bidi")){_37e=_367("dijit.InlineEditBox",_37e,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_37e._InlineEditor=_376;return _37e;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_387,lang,win){var trim=lang.trim;var each=_387.forEach;var _388=function(){return win.doc;};var _389=(_388().compatMode)=="BackCompat";var _38a=">~+";var _38b=false;var _38c=function(){return true;};var _38d=function(_38e){if(_38a.indexOf(_38e.slice(-1))>=0){_38e+=" * ";}else{_38e+=" ";}var ts=function(s,e){return trim(_38e.slice(s,e));};var _38f=[];var _390=-1,_391=-1,_392=-1,_393=-1,_394=-1,inId=-1,_395=-1,_396,lc="",cc="",_397;var x=0,ql=_38e.length,_398=null,_399=null;var _39a=function(){if(_395>=0){var tv=(_395==x)?null:ts(_395,x);_398[(_38a.indexOf(tv)<0)?"tag":"oper"]=tv;_395=-1;}};var _39b=function(){if(inId>=0){_398.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _39c=function(){if(_394>=0){_398.classes.push(ts(_394+1,x).replace(/\\/g,""));_394=-1;}};var _39d=function(){_39b();_39a();_39c();};var _39e=function(){_39d();if(_393>=0){_398.pseudos.push({name:ts(_393+1,x)});}_398.loops=(_398.pseudos.length||_398.attrs.length||_398.classes.length);_398.oquery=_398.query=ts(_397,x);_398.otag=_398.tag=(_398["oper"])?null:(_398.tag||"*");if(_398.tag){_398.tag=_398.tag.toUpperCase();}if(_38f.length&&(_38f[_38f.length-1].oper)){_398.infixOper=_38f.pop();_398.query=_398.infixOper.query+" "+_398.query;}_38f.push(_398);_398=null;};for(;lc=cc,cc=_38e.charAt(x),x
=0){if(cc=="]"){if(!_399.attr){_399.attr=ts(_390+1,x);}else{_399.matchFor=ts((_392||_390+1),x);}var cmf=_399.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_399.matchFor=cmf.slice(1,-1);}}if(_399.matchFor){_399.matchFor=_399.matchFor.replace(/\\/g,"");}_398.attrs.push(_399);_399=null;_390=_392=-1;}else{if(cc=="="){var _39f=("|~^$*".indexOf(lc)>=0)?lc:"";_399.type=_39f+cc;_399.attr=ts(_390+1,x-_39f.length);_392=x+1;}}}else{if(_391>=0){if(cc==")"){if(_393>=0){_399.value=ts(_391+1,x);}_393=_391=-1;}}else{if(cc=="#"){_39d();inId=x+1;}else{if(cc=="."){_39d();_394=x;}else{if(cc==":"){_39d();_393=x;}else{if(cc=="["){_39d();_390=x;_399={};}else{if(cc=="("){if(_393>=0){_399={name:ts(_393+1,x),value:null};_398.pseudos.push(_399);}_391=x;}else{if((cc==" ")&&(lc!=cc)){_39e();}}}}}}}}}return _38f;};var _3a0=function(_3a1,_3a2){if(!_3a1){return _3a2;}if(!_3a2){return _3a1;}return function(){return _3a1.apply(window,arguments)&&_3a2.apply(window,arguments);};};var _3a3=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _3a4=function(n){return (1==n.nodeType);};var _3a5="";var _3a6=function(elem,attr){if(!elem){return _3a5;}if(attr=="class"){return elem.className||_3a5;}if(attr=="for"){return elem.htmlFor||_3a5;}if(attr=="style"){return elem.style.cssText||_3a5;}return (_38b?elem.getAttribute(attr):elem.getAttribute(attr,2))||_3a5;};var _3a7={"*=":function(attr,_3a8){return function(elem){return (_3a6(elem,attr).indexOf(_3a8)>=0);};},"^=":function(attr,_3a9){return function(elem){return (_3a6(elem,attr).indexOf(_3a9)==0);};},"$=":function(attr,_3aa){return function(elem){var ea=" "+_3a6(elem,attr);var _3ab=ea.lastIndexOf(_3aa);return _3ab>-1&&(_3ab==(ea.length-_3aa.length));};},"~=":function(attr,_3ac){var tval=" "+_3ac+" ";return function(elem){var ea=" "+_3a6(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3ad){var _3ae=_3ad+"-";return function(elem){var ea=_3a6(elem,attr);return ((ea==_3ad)||(ea.indexOf(_3ae)==0));};},"=":function(attr,_3af){return function(elem){return (_3a6(elem,attr)==_3af);};}};var _3b0=_388().documentElement;var _3b1=!(_3b0.nextElementSibling||"nextElementSibling" in _3b0);var _3b2=!_3b1?"nextElementSibling":"nextSibling";var _3b3=!_3b1?"previousElementSibling":"previousSibling";var _3b4=(_3b1?_3a4:_38c);var _3b5=function(node){while(node=node[_3b3]){if(_3b4(node)){return false;}}return true;};var _3b6=function(node){while(node=node[_3b2]){if(_3b4(node)){return false;}}return true;};var _3b7=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_3b2]){if(_3b4(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _3b8=function(elem){return !((_3b7(elem))%2);};var _3b9=function(elem){return ((_3b7(elem))%2);};var _3ba={"checked":function(name,_3bb){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_3bc){return function(elem){return elem.disabled;};},"enabled":function(name,_3bd){return function(elem){return !elem.disabled;};},"first-child":function(){return _3b5;},"last-child":function(){return _3b6;},"only-child":function(name,_3be){return function(node){return _3b5(node)&&_3b6(node);};},"empty":function(name,_3bf){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_3c0){var cz=_3c0.charAt(0);if(cz=="\""||cz=="'"){_3c0=_3c0.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_3c0)>=0);};},"not":function(name,_3c1){var p=_38d(_3c1)[0];var _3c2={el:1};if(p.tag!="*"){_3c2.tag=1;}if(!p.classes.length){_3c2.classes=1;}var ntf=_3c3(p,_3c2);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3c4){var pi=parseInt;if(_3c4=="odd"){return _3b9;}else{if(_3c4=="even"){return _3b8;}}if(_3c4.indexOf("n")!=-1){var _3c5=_3c4.split("n",2);var pred=_3c5[0]?((_3c5[0]=="-")?-1:pi(_3c5[0])):1;var idx=_3c5[1]?pi(_3c5[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_3b7(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3c4=idx;}}var _3c6=pi(_3c4);return function(elem){return (_3b7(elem)==_3c6);};}};var _3c7=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_38b?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _3c3=function(_3c8,_3c9){if(!_3c8){return _38c;}_3c9=_3c9||{};var ff=null;if(!("el" in _3c9)){ff=_3a0(ff,_3a4);}if(!("tag" in _3c9)){if(_3c8.tag!="*"){ff=_3a0(ff,function(elem){return (elem&&((_38b?elem.tagName:elem.tagName.toUpperCase())==_3c8.getTag()));});}}if(!("classes" in _3c9)){each(_3c8.classes,function(_3ca,idx,arr){var re=new RegExp("(?:^|\\s)"+_3ca+"(?:\\s|$)");ff=_3a0(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3c9)){each(_3c8.pseudos,function(_3cb){var pn=_3cb.name;if(_3ba[pn]){ff=_3a0(ff,_3ba[pn](pn,_3cb.value));}});}if(!("attrs" in _3c9)){each(_3c8.attrs,function(attr){var _3cc;var a=attr.attr;if(attr.type&&_3a7[attr.type]){_3cc=_3a7[attr.type](a,attr.matchFor);}else{if(a.length){_3cc=_3c7(a);}}if(_3cc){ff=_3a0(ff,_3cc);}});}if(!("id" in _3c9)){if(_3c8.id){ff=_3a0(ff,function(elem){return (!!elem&&(elem.id==_3c8.id));});}}if(!ff){if(!("default" in _3c9)){ff=_38c;}}return ff;};var _3cd=function(_3ce){return function(node,ret,bag){while(node=node[_3b2]){if(_3b1&&(!_3a4(node))){continue;}if((!bag||_3cf(node,bag))&&_3ce(node)){ret.push(node);}break;}return ret;};};var _3d0=function(_3d1){return function(root,ret,bag){var te=root[_3b2];while(te){if(_3b4(te)){if(bag&&!_3cf(te,bag)){break;}if(_3d1(te)){ret.push(te);}}te=te[_3b2];}return ret;};};var _3d2=function(_3d3,_3d4){var _3d5=function(_3d6){var _3d7=[];try{_3d7=Array.prototype.slice.call(_3d6);}catch(e){for(var i=0,len=_3d6.length;i"==oper){_3dc=_3d2(_3dd);}}}}return _3d9[_3db.query]=_3dc;};var _3e4=function(root,_3e5){var _3e6=_3a3(root),qp,x,te,qpl=_3e5.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_3da(qp);for(var j=0;(te=_3e6[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3e6=ret;}return ret;};var _3e7={},_3e8={};var _3e9=function(_3ea){var _3eb=_38d(trim(_3ea));if(_3eb.length==1){var tef=_3da(_3eb[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3e4(root,_3eb);};};var _3ec=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3ed=!!_388()[qsa];var _3ee=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3ef=function(_3f0,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3f0;};var _3f1=/([^[]*)([^\]]*])?/g;var _3f2=function(_3f3,_3f4,att){return _3f4.replace(_3ee,_3ef)+(att||"");};var _3f5=function(_3f6,_3f7){_3f6=_3f6.replace(_3f1,_3f2);if(_3ed){var _3f8=_3e8[_3f6];if(_3f8&&!_3f7){return _3f8;}}var _3f9=_3e7[_3f6];if(_3f9){return _3f9;}var qcz=_3f6.charAt(0);var _3fa=(-1==_3f6.indexOf(" "));if((_3f6.indexOf("#")>=0)&&(_3fa)){_3f7=true;}var _3fb=(_3ed&&(!_3f7)&&(_38a.indexOf(qcz)==-1)&&(!has("ie")||(_3f6.indexOf(":")==-1))&&(!(_389&&(_3f6.indexOf(".")>=0)))&&(_3f6.indexOf(":contains")==-1)&&(_3f6.indexOf(":checked")==-1)&&(_3f6.indexOf("|=")==-1));if(_3fb){var tq=(_38a.indexOf(_3f6.charAt(_3f6.length-1))>=0)?(_3f6+" *"):_3f6;return _3e8[_3f6]=function(root){if(9==root.nodeType||_3fa){try{var r=root[qsa](tq);r[_3ec]=true;return r;}catch(e){}}return _3f5(_3f6,true)(root);};}else{var _3fc=_3f6.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3e7[_3f6]=((_3fc.length<2)?_3e9(_3f6):function(root){var _3fd=0,ret=[],tp;while((tp=_3fc[_3fd++])){ret=ret.concat(_3e9(tp)(root));}return ret;});}};var _3fe=0;var _3ff=has("ie")?function(node){if(_38b){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3fe)||_3fe);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3fe));};var _3cf=function(node,bag){if(!bag){return 1;}var id=_3ff(node);if(!bag[id]){return bag[id]=1;}return 0;};var _400="_zipIdx";var _401=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_3fe++;var x,te;if(has("ie")&&_38b){var _402=_3fe+"";for(x=0;xv.w-_40d.H_TRIGGER_AUTOSCROLL){dx=Math.min(_40d.H_AUTOSCROLL_VALUE,_410-html.scrollLeft);}}if(e.clientY<_40d.V_TRIGGER_AUTOSCROLL){dy=-_40d.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_40d.V_TRIGGER_AUTOSCROLL){dy=Math.min(_40d.V_AUTOSCROLL_VALUE,_40f-html.scrollTop);}}window.scrollBy(dx,dy);};_40d._validNodes={"div":1,"p":1,"td":1};_40d._validOverflow={"auto":1,"scroll":1};_40d.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_411,_412;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _40d._validNodes)){var s=_40b.getComputedStyle(n),_413=(s.overflowX.toLowerCase() in _40d._validOverflow),_414=(s.overflowY.toLowerCase() in _40d._validOverflow);if(_413||_414){b=_40a.getContentBox(n,s);t=_40a.position(n,true);}if(_413){w=Math.min(_40d.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rxb.w-w){dx=w;}}_411=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_414){h=Math.min(_40d.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ryb.h-h){dy=h;}}_412=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_40d.autoScroll(e);};return _40d;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_415,_416,_417,lang,_418,_419){return _416("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_418("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_41a){if(_41a.name==this.name&&_41a.form==this.focusNode.form){var _41b=_419.getEnclosingWidget(_41a);if(_41b){ary.push(_41b);}}}));return ary;},_setCheckedAttr:function(_41c){this.inherited(arguments);if(!this._created){return;}if(_41c){_415.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_41d){if(_41d!=this&&_41d.checked){_41d.set("checked",false);}}));}},_getSubmitValue:function(_41e){return _41e==null?"on":_41e;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_415.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_41f){_417.set(this.focusNode||this.domNode,"checked",_41f.checked);}));return false;}var _420=false;var _421;_415.some(this._getRelatedWidgets(),function(_422){if(_422.checked){_421=_422;return true;}return false;});this.checked=true;_421&&(_421.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_420=true;}this.checked=false;_421&&(_421.checked=true);if(_420){e.preventDefault();}else{this.set("checked",true);}return !_420;}});});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_423,_424,_425,_426,_427,_428){return _423("dojo.data.ItemFileWriteStore",_427,{constructor:function(_429){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _428.toISOString(obj,{zulu:true});};}if(_429&&(_429.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_42a){if(!_42a){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_42b,_42c){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _42b!="object"&&typeof _42b!="undefined"){throw new Error("newItem() was passed something other than an object");}var _42d=null;var _42e=this._getIdentifierAttribute();if(_42e===Number){_42d=this._arrayOfAllItems.length;}else{_42d=_42b[_42e];if(typeof _42d==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_42d)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_42d]==="undefined");}this._assert(typeof this._pending._newItems[_42d]==="undefined");this._assert(typeof this._pending._deletedItems[_42d]==="undefined");var _42f={};_42f[this._storeRefPropName]=this;_42f[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_42d]=_42f;_42f[_42e]=[_42d];}this._arrayOfAllItems.push(_42f);var _430=null;if(_42c&&_42c.parent&&_42c.attribute){_430={item:_42c.parent,attribute:_42c.attribute,oldValue:undefined};var _431=this.getValues(_42c.parent,_42c.attribute);if(_431&&_431.length>0){var _432=_431.slice(0,_431.length);if(_431.length===1){_430.oldValue=_431[0];}else{_430.oldValue=_431.slice(0,_431.length);}_432.push(_42f);this._setValueOrValues(_42c.parent,_42c.attribute,_432,false);_430.newValue=this.getValues(_42c.parent,_42c.attribute);}else{this._setValueOrValues(_42c.parent,_42c.attribute,_42f,false);_430.newValue=_42f;}}else{_42f[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_42f);}this._pending._newItems[_42d]=_42f;for(var key in _42b){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _433=_42b[key];if(!lang.isArray(_433)){_433=[_433];}_42f[key]=_433;if(this.referenceIntegrity){for(var i=0;i<_433.length;i++){var val=_433[i];if(this.isItem(val)){this._addReferenceToMap(val,_42f,key);}}}}this.onNew(_42f,_430);return _42f;},_removeArrayElement:function(_434,_435){var _436=_424.indexOf(_434,_435);if(_436!=-1){_434.splice(_436,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _437=item[this._itemNumPropName];var _438=this.getIdentity(item);if(this.referenceIntegrity){var _439=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_424.forEach(_439,function(_43a){_424.forEach(this.getValues(item,_43a),function(_43b){if(this.isItem(_43b)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_43b),attr:_43a});this._removeReferenceFromMap(_43b,item,_43a);}},this);},this);var _43c=item[this._reverseRefMap];if(_43c){for(var _43d in _43c){var _43e=null;if(this._itemsByIdentity){_43e=this._itemsByIdentity[_43d];}else{_43e=this._arrayOfAllItems[_43d];}if(_43e){for(var _43f in _43c[_43d]){var _440=this.getValues(_43e,_43f)||[];var _441=_424.filter(_440,function(_442){return !(this.isItem(_442)&&this.getIdentity(_442)==_438);},this);this._removeReferenceFromMap(item,_43e,_43f);if(_441.length<_440.length){this._setValueOrValues(_43e,_43f,_441,true);}}}}}}this._arrayOfAllItems[_437]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_438];}this._pending._deletedItems[_438]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_443,_444){return this._setValueOrValues(item,_443,_444,true);},setValues:function(item,_445,_446){return this._setValueOrValues(item,_445,_446,true);},unsetAttribute:function(item,_447){return this._setValueOrValues(item,_447,[],true);},_setValueOrValues:function(item,_448,_449,_44a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_448));this._assert(typeof _449!=="undefined");var _44b=this._getIdentifierAttribute();if(_448==_44b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _44c=this._getValueOrValues(item,_448);var _44d=this.getIdentity(item);if(!this._pending._modifiedItems[_44d]){var _44e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_44e[key]=item[key];}else{if(key===this._reverseRefMap){_44e[key]=lang.clone(item[key]);}else{_44e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_44d]=_44e;}var _44f=false;if(lang.isArray(_449)&&_449.length===0){_44f=delete item[_448];_449=undefined;if(this.referenceIntegrity&&_44c){var _450=_44c;if(!lang.isArray(_450)){_450=[_450];}for(var i=0;i<_450.length;i++){var _451=_450[i];if(this.isItem(_451)){this._removeReferenceFromMap(_451,item,_448);}}}}else{var _452;if(lang.isArray(_449)){_452=_449.slice(0,_449.length);}else{_452=[_449];}if(this.referenceIntegrity){if(_44c){var _450=_44c;if(!lang.isArray(_450)){_450=[_450];}var map={};_424.forEach(_450,function(_453){if(this.isItem(_453)){var id=this.getIdentity(_453);map[id.toString()]=true;}},this);_424.forEach(_452,function(_454){if(this.isItem(_454)){var id=this.getIdentity(_454);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_454,item,_448);}}},this);for(var rId in map){var _455;if(this._itemsByIdentity){_455=this._itemsByIdentity[rId];}else{_455=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_455,item,_448);}}else{for(var i=0;i<_452.length;i++){var _451=_452[i];if(this.isItem(_451)){this._addReferenceToMap(_451,item,_448);}}}}item[_448]=_452;_44f=true;}if(_44a){this.onSet(item,_448,_44c,_449);}return _44f;},_addReferenceToMap:function(_456,_457,_458){var _459=this.getIdentity(_457);var _45a=_456[this._reverseRefMap];if(!_45a){_45a=_456[this._reverseRefMap]={};}var _45b=_45a[_459];if(!_45b){_45b=_45a[_459]={};}_45b[_458]=true;},_removeReferenceFromMap:function(_45c,_45d,_45e){var _45f=this.getIdentity(_45d);var _460=_45c[this._reverseRefMap];var _461;if(_460){for(_461 in _460){if(_461==_45f){delete _460[_461][_45e];if(this._isEmpty(_460[_461])){delete _460[_461];}}}if(this._isEmpty(_460)){delete _45c[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i0){_46e=false;}}}return _46e;},save:function(_46f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _470=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_46f&&_46f.onComplete){var _471=_46f.scope||_426.global;_46f.onComplete.call(_471);}};var _472=function(err){self._saveInProgress=false;if(_46f&&_46f.onError){var _473=_46f.scope||_426.global;_46f.onError.call(_473,err);}};if(this._saveEverything){var _474=this._getNewFileContentString();this._saveEverything(_470,_472,_474);}if(this._saveCustom){this._saveCustom(_470,_472);}if(!this._saveEverything&&!this._saveCustom){_470();}},revert:function(){this._assert(!this._saveInProgress);var _475;for(_475 in this._pending._modifiedItems){var _476=this._pending._modifiedItems[_475];var _477=null;if(this._itemsByIdentity){_477=this._itemsByIdentity[_475];}else{_477=this._arrayOfAllItems[_475];}_476[this._storeRefPropName]=this;for(var key in _477){delete _477[key];}lang.mixin(_477,_476);}var _478;for(_475 in this._pending._deletedItems){_478=this._pending._deletedItems[_475];_478[this._storeRefPropName]=this;var _479=_478[this._itemNumPropName];if(_478["backup_"+this._reverseRefMap]){_478[this._reverseRefMap]=_478["backup_"+this._reverseRefMap];delete _478["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_479]=_478;if(this._itemsByIdentity){this._itemsByIdentity[_475]=_478;}if(_478[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_478);}}for(_475 in this._pending._deletedItems){_478=this._pending._deletedItems[_475];if(_478["backupRefs_"+this._reverseRefMap]){_424.forEach(_478["backupRefs_"+this._reverseRefMap],function(_47a){var _47b;if(this._itemsByIdentity){_47b=this._itemsByIdentity[_47a.id];}else{_47b=this._arrayOfAllItems[_47a.id];}this._addReferenceToMap(_47b,_478,_47a.attr);},this);delete _478["backupRefs_"+this._reverseRefMap];}}for(_475 in this._pending._newItems){var _47c=this._pending._newItems[_475];_47c[this._storeRefPropName]=null;this._arrayOfAllItems[_47c[this._itemNumPropName]]=null;if(_47c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_47c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_475];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _47d=this.getIdentity(item);return new Boolean(this._pending._newItems[_47d]||this._pending._modifiedItems[_47d]||this._pending._deletedItems[_47d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_47e,_47f,_480){},onNew:function(_481,_482){},onDelete:function(_483){},close:function(_484){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");}}}});});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_485,_486){var _487=_486.prototype.onMove;return _485("dojo.dnd.TimedMoveable",_486,{timeout:40,constructor:function(node,_488){if(!_488){_488={};}if(_488.timeout&&typeof _488.timeout=="number"&&_488.timeout>=0){this.timeout=_488.timeout;}},onMoveStop:function(_489){if(_489._timer){clearTimeout(_489._timer);_487.call(this,_489,_489._leftTop);}_486.prototype.onMoveStop.apply(this,arguments);},onMove:function(_48a,_48b){_48a._leftTop=_48b;if(!_48a._timer){var _48c=this;_48a._timer=setTimeout(function(){_48a._timer=null;_487.call(_48c,_48a,_48a._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_48d,lang,_48e,_48f,_490){var _491=_48d.NodeList;lang.extend(_491,{_anim:function(obj,_492,args){args=args||{};var a=_490.combine(this.map(function(item){var _493={node:item};lang.mixin(_493,args);return obj[_492](_493);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_490,"wipeIn",args);},wipeOut:function(args){return this._anim(_490,"wipeOut",args);},slideTo:function(args){return this._anim(_490,"slideTo",args);},fadeIn:function(args){return this._anim(_48f,"fadeIn",args);},fadeOut:function(args){return this._anim(_48f,"fadeOut",args);},animateProperty:function(args){return this._anim(_48f,"animateProperty",args);},anim:function(_494,_495,_496,_497,_498){var _499=_490.combine(this.map(function(item){return _48f.animateProperty({node:item,properties:_494,duration:_495||350,easing:_496});}));if(_497){_48e.after(_499,"onEnd",_497,true);}return _499.play(_498||0);}});return _491;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_49a,on,_49b,_49c){return _49a("dijit.form._ListMouseMixin",_49c,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_49d){this._setSelectedAttr(_49d,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_49d);});},_onMouseDown:function(evt,_49e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_49e,false);},_onMouseUp:function(evt,_49f){this._isDragging=false;var _4a0=this.selected;var _4a1=this._hoveredNode;if(_4a0&&_49f==_4a0){this.defer(function(){this._onClick(evt,_4a0);});}else{if(_4a1){this.defer(function(){this._onClick(evt,_4a1);});}}},_onMouseOut:function(evt,_4a2){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_4a3){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_4a3;this.onHover(_4a3);if(this._isDragging){this._setSelectedAttr(_4a3,false);}}});});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_4a4){dojo.cookie=function(name,_4a5,_4a6){var c=document.cookie,ret;if(arguments.length==1){var _4a7=c.match(new RegExp("(?:^|; )"+_4a4.escapeString(name)+"=([^;]*)"));ret=_4a7?decodeURIComponent(_4a7[1]):undefined;}else{_4a6=_4a6||{};var exp=_4a6.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_4a6.expires=d;}if(exp&&exp.toUTCString){_4a6.expires=exp.toUTCString();}_4a5=encodeURIComponent(_4a5);var _4a8=name+"="+_4a5,_4a9;for(_4a9 in _4a6){_4a8+="; "+_4a9;var _4aa=_4a6[_4a9];if(_4aa!==true){_4a8+="="+_4aa;}}document.cookie=_4a8;}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;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_4ab,_4ac,_4ad,lang,_4ae,_4af,_4b0,_4b1){return _4ac("dijit.ProgressBar",[_4af,_4b0],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_4b1,_indeterminateHighContrastImagePath:_4ab.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";_4ad.toggle(this.domNode,"dijitProgressBarRtl",rtl);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_4b2){lang.mixin(this,_4b2||{});var tip=this.internalProgress,ap=this.domNode;var _4b3=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_4b3=Math.min(parseFloat(this.progress)/100,1);this.progress=_4b3*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_4b3=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(_4b3);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_4ad.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_4b3*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(_4b4){this._set("label",_4b4);this.update();},_setIndeterminateAttr:function(_4b5){this._set("indeterminate",_4b5);this.update();},report:function(_4b6){return this.label?this.label:(this.indeterminate?" ":_4ae.format(_4b6,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_4b7,win,_4b8){var _4b9=_4b8._createWrapper;_4b8._createWrapper=function(_4ba){if(!_4ba.declaredClass){_4ba={_popupWrapper:(_4ba.parentNode&&_4b7.contains(_4ba.parentNode,"dijitPopup"))?_4ba.parentNode:null,domNode:_4ba,destroy:function(){},ownerDocument:_4ba.ownerDocument,ownerDocumentBody:win.body(_4ba.ownerDocument)};}return _4b9.call(this,_4ba);};var _4bb=_4b8.open;_4b8.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _4bb.call(this,args);};return _4b8;});},"dojo/promise/all":function(){define(["../_base/array","../_base/lang","../Deferred","../when"],function(_4bc,lang,_4bd,when){"use strict";var some=_4bc.some;return function all(_4be){var _4bf,_4bc;if(lang.isArray(_4be)){_4bc=_4be;}else{if(_4be&&typeof _4be==="object"){_4bf=_4be;}}var _4c0;var _4c1=[];if(_4bf){_4bc=[];for(var key in _4bf){if(Object.hasOwnProperty.call(_4bf,key)){_4c1.push(key);_4bc.push(_4bf[key]);}}_4c0={};}else{if(_4bc){_4c0=[];}}if(!_4bc||!_4bc.length){return new _4bd().resolve(_4c0);}var _4c2=new _4bd();_4c2.promise.always(function(){_4c0=_4c1=null;});var _4c3=_4bc.length;some(_4bc,function(_4c4,_4c5){if(!_4bf){_4c1.push(_4c5);}when(_4c4,function(_4c6){if(!_4c2.isFulfilled()){_4c0[_4c1[_4c5]]=_4c6;if(--_4c3===0){_4c2.resolve(_4c0);}}},_4c2.reject);return _4c2.isFulfilled();});return _4c2.promise;};});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_4c7,_4c8,_4c9,_4ca,_4cb,has,i18n,_4cc,_4cd,_4ce,_4cf){var _4d0=_4cd("dijit.ColorPalette",[_4c9,_4ca,_4cb],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_4c8,baseClass:"dijitColorPalette",_dyeFactory:function(_4d1,row,col,_4d2){return new this._dyeClass(_4d1,row,col,_4d2);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_4cd(_4d0._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_4d0._Color=_4cd("dijit._Color",_4cc,{template:""+" "+" ",hcTemplate:""+" "+" ",_imagePaths:{"7x10":_4c7.toUrl("./themes/a11y/colors7x10.png"),"3x4":_4c7.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_4d3,row,col,_4d4){this._title=_4d4;this._row=row;this._col=col;this.setColor(_4cc.named[_4d3]);},getValue:function(){return this.toHex();},fillCell:function(cell,_4d5){var html=_4cf.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_4d5,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_4ce.place(html,cell);}});return _4d0;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4d6=function(){var n=null,_4d7=arguments,uri=[_4d7[0]];for(var i=1;i<_4d7.length;i++){if(!_4d7[i]){continue;}var _4d8=new _4d6(_4d7[i]+""),_4d9=new _4d6(uri[0]+"");if(_4d8.path==""&&!_4d8.scheme&&!_4d8.authority&&!_4d8.query){if(_4d8.fragment!=n){_4d9.fragment=_4d8.fragment;}_4d8=_4d9;}else{if(!_4d8.scheme){_4d8.scheme=_4d9.scheme;if(!_4d8.authority){_4d8.authority=_4d9.authority;if(_4d8.path.charAt(0)!="/"){var path=_4d9.path.substring(0,_4d9.path.lastIndexOf("/")+1)+_4d8.path;var segs=path.split("/");for(var j=0;j0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_4d8.path=segs.join("/");}}}}uri=[];if(_4d8.scheme){uri.push(_4d8.scheme,":");}if(_4d8.authority){uri.push("//",_4d8.authority);}uri.push(_4d8.path);if(_4d8.query){uri.push("?",_4d8.query);}if(_4d8.fragment){uri.push("#",_4d8.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_4d6.prototype.toString=function(){return this.uri;};return dojo._Url=_4d6;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_4da,has,_4db){var _4dc;if(1){_4dc=function(url,sync,load){_4db(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_4da.getText){_4dc=_4da.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4dd={},_4de=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4df=text.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(_4df){text=_4df[1];}}else{text="";}return text;},_4e0={},_4e1={};dojo.cache=function(_4e2,url,_4e3){var key;if(typeof _4e2=="string"){if(/\//.test(_4e2)){key=_4e2;_4e3=url;}else{key=_4da.toUrl(_4e2.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4e2+"";_4e3=url;}var val=(_4e3!=undefined&&typeof _4e3!="string")?_4e3.value:_4e3,_4e4=_4e3&&_4e3.sanitize;if(typeof val=="string"){_4dd[key]=val;return _4e4?_4de(val):val;}else{if(val===null){delete _4dd[key];return null;}else{if(!(key in _4dd)){_4dc(key,true,function(text){_4dd[key]=text;});}return _4e4?_4de(_4dd[key]):_4dd[key];}}};return {dynamic:true,normalize:function(id,_4e5){var _4e6=id.split("!"),url=_4e6[0];return (/^\./.test(url)?_4e5(url):url)+(_4e6[1]?"!"+_4e6[1]:"");},load:function(id,_4e7,load){var _4e8=id.split("!"),_4e9=_4e8.length>1,_4ea=_4e8[0],url=_4e7.toUrl(_4e8[0]),_4eb="url:"+url,text=_4e0,_4ec=function(text){load(_4e9?_4de(text):text);};if(_4ea in _4dd){text=_4dd[_4ea];}else{if(_4e7.cache&&_4eb in _4e7.cache){text=_4e7.cache[_4eb];}else{if(url in _4dd){text=_4dd[url];}}}if(text===_4e0){if(_4e1[url]){_4e1[url].push(_4ec);}else{var _4ed=_4e1[url]=[_4ec];_4dc(url,!_4e7.async,function(text){_4dd[_4ea]=_4dd[url]=text;for(var i=0;i<_4ed.length;){_4ed[i++](text);}delete _4e1[url];});}}else{_4ec(text);}}};});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_4ee,_4ef,_4f0,_4f1,lang,_4f2,_4f3,_4f4){var _4f5=_4ef("dijit.layout.LayoutContainer",_4f3,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_4ee.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_4f6){this.inherited(arguments);var _4f7=_4f6.region;if(_4f7){_4f0.add(_4f6.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _4f8=_4ee.map(this.getChildren(),function(_4f9,idx){return {pane:_4f9,weight:[_4f9.region=="center"?Infinity:0,_4f9.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_4f9.region)?1:-1),idx]};},this);_4f8.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_51b.x+((_51b.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_50a.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_515;this.onMouseEnter=_518||noop;this.onMouseLeave=_519||noop;},orient:function(node,_51c,_51d,_51e,_51f){this.connectorNode.style.top="";var _520=_51e.h,_521=_51e.w;node.className="dijitTooltip "+{"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"}[_51c+"-"+_51d];this.domNode.style.width="auto";var size=_509.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _522=Math.min((Math.max(_521,1)),size.w);_509.setMarginBox(this.domNode,{w:_522});if(_51d.charAt(0)=="B"&&_51c.charAt(0)=="B"){var bb=_509.position(node);var _523=this.connectorNode.offsetHeight;if(bb.h>_520){var _524=_520-((_51f.h+_523)>>1);this.connectorNode.style.top=_524+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_51f.h/2-_523/2,0),bb.h-_523)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_521);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_525){if(this._onDeck&&this._onDeck[1]==_525){this._onDeck=null;}else{if(this.aroundNode===_525){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_513.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_506.forEach(node.children,function(_526){this._setAutoTextDir(_526);},this);},_setTextDirAttr:function(_527){this._set("textDir",_527);if(_527=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_512.showTooltip=function(_528,_529,_52a,rtl,_52b,_52c,_52d){if(_52a){_52a=_506.map(_52a,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_51a._masterTT){_512._masterTT=_51a._masterTT=new _513();}return _51a._masterTT.show(_528,_529,_52a,rtl,_52b,_52c,_52d);};_512.hideTooltip=function(_52e){return _51a._masterTT&&_51a._masterTT.hide(_52e);};var _52f="DORMANT",_530="SHOW TIMER",_531="SHOWING",_532="HIDE TIMER";function noop(){};var _51a=_507("dijit.Tooltip",_50e,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_533){_506.forEach(this._connections||[],function(_534){_506.forEach(_534,function(_535){_535.remove();});},this);this._connectIds=_506.filter(lang.isArrayLike(_533)?_533:(_533?[_533]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_506.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_536=this.selector,_537=_536?function(_538){return on.selector(_536,_538);}:function(_539){return _539;},self=this;return [on(node,_537(_50b.enter),function(){self._onHover(this);}),on(node,_537("focusin"),function(){self._onHover(this);}),on(node,_537(_50b.leave),lang.hitch(self,"_onUnHover")),on(node,_537("focusout"),lang.hitch(self,"set","state",_52f))];},this);this._set("connectId",_533);},addTarget:function(node){var id=node.id||node;if(_506.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_506.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_508.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_506.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_52f,_setStateAttr:function(val){if(this.state==val||(val==_530&&this.state==_531)||(val==_532&&this.state==_52f)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _52f:if(this._connectNode){_51a.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _530:if(this.state!=_531){this._showTimer=this.defer(function(){this.set("state",_531);},this.showDelay);}break;case _531:var _53a=this.getContent(this._connectNode);if(!_53a){this.set("state",_52f);return;}_51a.show(_53a,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_531),lang.hitch(this,"set","state",_532));this.onShow(this._connectNode,this.position);break;case _532:this._hideTimer=this.defer(function(){this.set("state",_52f);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_53b){if(this._connectNode&&_53b!=this._connectNode){this.set("state",_52f);}this._connectNode=_53b;this.set("state",_530);},_onUnHover:function(_53c){this.set("state",_532);},open:function(_53d){this.set("state",_52f);this._connectNode=_53d;this.set("state",_531);},close:function(){this.set("state",_52f);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_52f);_506.forEach(this._connections||[],function(_53e){_506.forEach(_53e,function(_53f){_53f.remove();});},this);this.inherited(arguments);}});_51a._MasterTooltip=_513;_51a.show=_512.showTooltip;_51a.hide=_512.hideTooltip;_51a.defaultPosition=["after-centered","before-centered"];return _51a;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_540,lang){var _541=/[&<>'"\/]/g;var _542={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _543={};lang.setObject("dojo.string",_543);_543.escape=function(str){if(!str){return "";}return str.replace(_541,function(c){return _542[c];});};_543.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_543.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_543.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_543.substitute=function(_544,map,_545,_546){_546=_546||_540.global;_545=_545?lang.hitch(_546,_545):function(v){return v;};return _544.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_547,key,_548){if(key==""){return "$";}var _549=lang.getObject(key,false,map);if(_548){_549=lang.getObject(_548,false,_546).call(_546,_549,key);}var _54a=_545(_549,key);if(typeof _54a==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _54a.toString();});};_543.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _543;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_54b,_54c,_54d){return _54b("dijit.layout.AccordionPane",_54d,{constructor:function(){_54c.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_54e){return _54e;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_54f,_550,lang,_551,_552,_553,_554,_555,_556,_557){return _54f("dijit.form.DropDownButton",[_554,_555,_556],{baseClass:"dijitDropDownButton",templateString:_557,_fillContent:function(){var _558=this.srcNodeRef;var dest=this.containerNode;if(_558&&dest){while(_558.hasChildNodes()){var _559=_558.firstChild;if(_559.hasAttribute&&(_559.hasAttribute("data-dojo-type")||_559.hasAttribute("dojoType")||_559.hasAttribute("data-"+_550._scopeName+"-type")||_559.hasAttribute(_550._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_559);}else{dest.appendChild(_559);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_552.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_553.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _55a=this.dropDown;return (!!_55a&&(!_55a.href||_55a.isLoaded));},loadDropDown:function(_55b){var _55c=this.dropDown;var _55d=_55c.on("load",lang.hitch(this,function(){_55d.remove();_55b();}));_55c.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_55e,_55f,keys,lang,on,has,_560){return _55e("dijit.form._FormValueMixin",_560,{readOnly:false,_setReadOnlyAttr:function(_561){if(has("trident")&&"disabled" in this){_55f.set(this.focusNode,"readOnly",_561||this.disabled);}else{_55f.set(this.focusNode,"readOnly",_561);}this._set("readOnly",_561);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_562,_563){this._handleOnChange(_562,_563);},_handleOnChange:function(_564,_565){this._set("value",_564);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_566,_567,_568,_569,lang,_56a,on,has,_56b,a11y){return _567("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_56c){this._set("disabled",_56c);if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){_568.set(this.focusNode,"disabled",_56c);if(has("trident")&&"readOnly" in this){_568.set(this.focusNode,"readonly",_56c||this.readOnly);}}else{this.focusNode.setAttribute("aria-disabled",_56c?"true":"false");}if(this.valueNode){_568.set(this.valueNode,"disabled",_56c);}if(_56c){this._set("hovering",false);this._set("active",false);var _56d="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_566.forEach(lang.isArray(_56d)?_56d:[_56d],function(_56e){var node=this[_56e];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _56f=this.own(on(this.focusNode,"focus",function(){_570.remove();_56f.remove();}))[0];var _571=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _570=this.own(on(this.ownerDocumentBody,_571,lang.hitch(this,function(evt){_570.remove();_56f.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_56b.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_569.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1 *",this.containerNode).some(function(node){var _596=_590.byNode(node);if(_596&&_596.resize){_594.push(_596);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_595=true;}}});this._singleChild=_594.length==1&&!_595?_594[0]:null;_58c.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_597,_598){this._resizeCalled=true;this._scheduleLayout(_597,_598);},_scheduleLayout:function(_599,_59a){if(this._isShown()){this._layout(_599,_59a);}else{this._needLayout=true;this._changeSize=_599;this._resultSize=_59a;}},_layout:function(_59b,_59c){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_59b){_58d.setMarginBox(this.domNode,_59b);}var cn=this.containerNode;if(cn===this.domNode){var mb=_59c||{};lang.mixin(mb,_59b||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_58d.getMarginBox(cn),mb);}this._contentBox=_592.marginBox2contentBox(cn,mb);}else{this._contentBox=_58d.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_58d.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _59d=this.getChildren(),_59e,i=0;while(_59e=_59d[i++]){if(_59e.resize){_59e.resize();}}}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_59f=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_58c.contains(node,"dijitHidden")&&_59f&&_59f.style&&(_59f.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_5a0,_5a1,_5a2,_5a3){var _5a4=_5a1("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5a5){if(this._hash[_5a5.id]){throw new Error("Tried to register widget with id=="+_5a5.id+" but that id is already registered");}this._hash[_5a5.id]=_5a5;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_5a6){_5a6=_5a6||_5a2.global;var i=0,id;for(id in this._hash){func.call(_5a6,this._hash[id],i++,this._hash);}return this;},filter:function(_5a7,_5a8){_5a8=_5a8||_5a2.global;var res=new _5a4(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5a7.call(_5a8,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _5a4(),id,_5a9;for(id in this._hash){_5a9=this._hash[id];if(_5a9.declaredClass==cls){res.add(_5a9);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_5aa){return _5a0.map(this.toArray(),func,_5aa);},every:function(func,_5ab){_5ab=_5ab||_5a2.global;var x=0,i;for(i in this._hash){if(!func.call(_5ab,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_5ac){_5ac=_5ac||_5a2.global;var x=0,i;for(i in this._hash){if(func.call(_5ac,this._hash[i],x++,this._hash)){return true;}}return false;}});_5a0.forEach(["forEach","filter","byClass","map","every","some"],function(func){_5a3[func]=_5a4.prototype[func];});return _5a4;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../has","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_5ad,_5ae,lang,dom,_5af,_5b0,has,on,_5b1,_5b2,dnd,_5b3,win){var _5b4;var _5b5=function(){};function _5b6(){if("touchAction" in document.body.style){_5b4="touchAction";}else{if("msTouchAction" in document.body.style){_5b4="msTouchAction";}}_5b5=function _5b5(node,_5b7){node.style[_5b4]=_5b7;};_5b5(arguments[0],arguments[1]);};if(has("touch-action")){_5b5=_5b6;}var _5b8=_5ae("dojo.dnd.Moveable",[_5b0],{handle:"",delay:0,skip:false,constructor:function(node,_5b9){this.node=dom.byId(node);_5b5(this.node,"none");if(!_5b9){_5b9={};}this.handle=_5b9.handle?dom.byId(_5b9.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_5b9.delay>0?_5b9.delay:0;this.skip=_5b9.skip;this.mover=_5b9.mover?_5b9.mover:_5b3;this.events=[on(this.handle,_5b2.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_5ba,node,Ctor){return new Ctor(node,_5ba);},destroy:function(){_5ad.forEach(this.events,function(_5bb){_5bb.remove();});_5b5(this.node,"");this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_5b2.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_5b2.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_5bc){_5b1.publish("/dnd/move/start",_5bc);_5af.add(win.body(),"dojoMove");_5af.add(this.node,"dojoMoveItem");},onMoveStop:function(_5bd){_5b1.publish("/dnd/move/stop",_5bd);_5af.remove(win.body(),"dojoMove");_5af.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_5be,_5bf){this.onMoving(_5be,_5bf);var s=_5be.node.style;s.left=_5bf.l+"px";s.top=_5bf.t+"px";this.onMoved(_5be,_5bf);},onMoving:function(){},onMoved:function(){}});return _5b8;});},"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(_5c0,_5c1,has,keys,lang,on,_5c2,_5c3,_5c4,_5c5,_5c6,_5c7,_5c8){var _5c9=_5c0("dijit.TooltipDialog",[_5c3,_5c6,_5c5,_5c4],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_5c7,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_5ca,_5cb){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"}[_5ca+"-"+_5cb];_5c1.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_5c2.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _5cc=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_5cc.y+((_5cc.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=_5cc.x+((_5cc.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){_5c2.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_5c2.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_5c9.extend({_setTitleAttr:function(_5cd){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_5cd):_5cd;this._set("title",_5cd);},_setTextDirAttr:function(_5ce){if(!this._created||this.textDir!=_5ce){this._set("textDir",_5ce);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _5c9;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_5cf){return function(_5d0,_5d1){switch(typeof _5d0){default:throw new Error("Can not query with a "+typeof _5d0);case "object":case "undefined":var _5d2=_5d0;_5d0=function(_5d3){for(var key in _5d2){var _5d4=_5d2[key];if(_5d4&&_5d4.test){if(!_5d4.test(_5d3[key],_5d3)){return false;}}else{if(_5d4!=_5d3[key]){return false;}}}return true;};break;case "string":if(!this[_5d0]){throw new Error("No filter function "+_5d0+" was found in store");}_5d0=this[_5d0];case "function":}function _5d5(_5d6){var _5d7=_5cf.filter(_5d6,_5d0);var _5d8=_5d1&&_5d1.sort;if(_5d8){_5d7.sort(typeof _5d8=="function"?_5d8:function(a,b){for(var sort,i=0;sort=_5d8[i];i++){var _5d9=a[sort.attribute];var _5da=b[sort.attribute];_5d9=_5d9!=null?_5d9.valueOf():_5d9;_5da=_5da!=null?_5da.valueOf():_5da;if(_5d9!=_5da){return !!sort.descending==(_5d9==null||_5d9>_5da)?-1:1;}}return 0;});}if(_5d1&&(_5d1.start||_5d1.count)){var _5db=_5d7.length;_5d7=_5d7.slice(_5d1.start||0,(_5d1.start||0)+(_5d1.count||Infinity));_5d7.total=_5db;}return _5d7;};_5d5.matches=_5d0;return _5d5;};});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_5dc,_5dd,lang,on,has,_5de){var _5df=(_5de.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_5e0,node,_5e1,obj,_5e2,_5e3,_5e4){if(obj!=this._obj){this.stop();this._initialDelay=_5e3||500;this._subsequentDelay=_5e2||0.9;this._minDelay=_5e4||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_5e0,_5e1);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea){var type="keyCode" in _5e5?"keydown":"charCode" in _5e5?"keypress":_5dd._keypress,attr="keyCode" in _5e5?"keyCode":"charCode" in _5e5?"charCode":"charOrCode";var _5eb=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_5e5[attr]&&(_5e5.ctrlKey===undefined||_5e5.ctrlKey==evt.ctrlKey)&&(_5e5.altKey===undefined||_5e5.altKey==evt.altKey)&&(_5e5.metaKey===undefined||_5e5.metaKey==(evt.metaKey||false))&&(_5e5.shiftKey===undefined||_5e5.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_5df.trigger(evt,_5e6,node,_5e7,_5e5,_5e8,_5e9,_5ea);}else{if(_5df._obj==_5e5){_5df.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_5df._obj==_5e5){_5df.stop();}}))];return {remove:function(){_5dc.forEach(_5eb,function(h){h.remove();});}};},addMouseListener:function(node,_5ec,_5ed,_5ee,_5ef,_5f0){var _5f1=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_5df.trigger(evt,_5ec,node,_5ed,node,_5ee,_5ef,_5f0);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5df.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_5df.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_5df.trigger(evt,_5ec,node,_5ed,node,_5ee,_5ef,_5f0);setTimeout(lang.hitch(this,_5df.stop),50);}}))];return {remove:function(){_5dc.forEach(_5f1,function(h){h.remove();});}};},addListener:function(_5f2,_5f3,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9){var _5fa=[this.addKeyListener(_5f3,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9),this.addMouseListener(_5f2,_5f5,_5f6,_5f7,_5f8,_5f9)];return {remove:function(){_5dc.forEach(_5fa,function(h){h.remove();});}};}});return _5df;});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_5fb,dom,_5fc,_5fd,_5fe,has,lang,_5ff,_600,_601,_602,_603){var _604=_5fb("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_5ff,_600,_601,_602],{templateString:_603,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _605="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_605=val.charAt(ndx+1);var _606=val.substr(0,ndx);var _607=val.substr(ndx+3);text=_606+_605+_607;val=_606+""+_607;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_605);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_608){if(_608&&!("label" in this.params)){this._set("label",_608.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _609=this.id+"_text";_5fc.set(this.containerNode,"id",_609);if(this.accelKeyNode){_5fc.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_60a){_5fd.toggle(this.domNode,"dijitMenuItemSelected",_60a);},setLabel:function(_60b){_5fe.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_60b);},setDisabled:function(_60c){_5fe.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_60c);},_setDisabledAttr:function(_60d){this.focusNode.setAttribute("aria-disabled",_60d?"true":"false");this._set("disabled",_60d);},_setAccelKeyAttr:function(_60e){if(this.accelKeyNode){this.accelKeyNode.style.display=_60e?"":"none";this.accelKeyNode.innerHTML=_60e;_5fc.set(this.containerNode,"colSpan",_60e?"1":"2");}this._set("accelKey",_60e);}});if(has("dojo-bidi")){_604=_5fb("dijit.MenuItem",_604,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _604;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_60f,dom,_610,_611,has,i18n,lang,_612,_613,Menu,_614,_615){var _616=_60f("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_612.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_615,_setNameAttr:"focusNode",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);_611.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _617=i18n.getLocalization("dijit","common");if(this.closeNode){_610.set(this.closeNode,"title",_617.itemClose);}}},_setDisabledAttr:function(_618){this.inherited(arguments);if(this.closeNode){if(_618){_610.remove(this.closeNode,"title");}else{var _619=i18n.getLocalization("dijit","common");_610.set(this.closeNode,"title",_619.itemClose);}}},_setLabelAttr:function(_61a){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_616=_60f("dijit.layout._TabButton",_616,{_setLabelAttr:function(_61b){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _61c=_60f("dijit.layout.TabController",_612,{baseClass:"dijitTabController",templateString:"
",tabPosition:"top",buttonWidget:_616,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _61d=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 _611.contains(node,"dijitClosable")&&!_611.contains(node,"dijitTabDisabled");}});this.own(_61d);var _61e=i18n.getLocalization("dijit","common"),_61f=this;_61d.addChild(new _614({label:_61e.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _620=_613.byNode(this.getParent().currentTarget);_61f.onCloseButtonClick(_620.page);}}));}});_61c.TabButton=_616;return _61c;});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_621,dom,_622,_623){return _621("dijit.ToolbarSeparator",[_622,_623],{templateString:"
",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_624,_625,_626,_627,_628,_629,_62a,_62b){return _628("dijit.layout._LayoutWidget",[_624,_625,_626],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);_629.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _62c=this.getParent&&this.getParent();if(!(_62c&&_62c.isLayoutContainer)){this.resize();this.own(_627.on("resize",lang.hitch(this,"resize")));}},resize:function(_62d,_62e){var node=this.domNode;if(_62d){_62a.setMarginBox(node,_62d);}var mb=_62e||{};lang.mixin(mb,_62d||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_62a.getMarginBox(node),mb);}var cs=_62b.getComputedStyle(node);var me=_62a.getMarginExtents(node,cs);var be=_62a.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_62a.getPadExtents(node,cs);this._contentBox={l:_62b.toPixelValue(node,cs.paddingLeft),t:_62b.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_62f){var cls=this.baseClass+"-child "+(_62f.baseClass?this.baseClass+"-"+_62f.baseClass:"");_629.add(_62f.domNode,cls);},addChild:function(_630,_631){this.inherited(arguments);if(this._started){this._setupChild(_630);}},removeChild:function(_632){var cls=this.baseClass+"-child"+(_632.baseClass?" "+this.baseClass+"-"+_632.baseClass:"");_629.remove(_632.domNode,cls);this.inherited(arguments);}});});},"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_633,_634,_635,dom,_636,_637,_638,_639,has,keys,lang,on,_63a,_63b,_63c,_63d){function _63e(){if(this._popupWrapper){_637.destroy(this._popupWrapper);delete this._popupWrapper;}};var _63f=_635(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _640=this._firstAroundPosition,_641=_638.position(this._firstAroundNode,true),dx=_641.x-_640.x,dy=_641.y-_640.y;if(dx||dy){this._firstAroundPosition=_641;for(var i=0;i0&&_64a[pi].parent===_64a[pi-1].widget;pi--){}return _64a[pi];},open:function(args){var _64b=this._stack,_64c=args.popup,node=_64c.domNode,_64d=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_638.isBodyLtr(_64c.ownerDocument),_64e=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_64b.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_64b[_64b.length-1].widget.domNode))){this.close(_64b[_64b.length-1].widget);}var _64f=this.moveOffScreen(_64c);if(_64c.startup&&!_64c._started){_64c.startup();}var _650,_651=_638.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_650=args.maxHeight||Infinity;}else{var _652=_63c.getEffectiveBox(this.ownerDocument),_653=_64e?_638.position(_64e,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_650=Math.floor(Math.max(_653.y,_652.h-(_653.y+_653.h)));}if(_651.h>_650){var cs=_639.getComputedStyle(node),_654=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_639.set(_64f,{overflowY:"scroll",height:_650+"px",border:_654});node._originalStyle=node.style.cssText;node.style.border="none";}_636.set(_64f,{id:id,style:{zIndex:this._beginZIndex+_64b.length},"class":"dijitPopup "+(_64c.baseClass||_64c["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_64b.length==0&&_64e){this._firstAroundNode=_64e;this._firstAroundPosition=_638.position(_64e,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_64c.bgIframe){_64c.bgIframe=new _63b(_64f);}var _655=_64c.orient?lang.hitch(_64c,"orient"):null,best=_64e?_63a.around(_64f,_64e,_64d,ltr,_655):_63a.at(_64f,args,_64d=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_655);_64f.style.visibility="visible";node.style.visibility="visible";var _656=[];_656.push(on(_64f,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _657=this.getTopPopup();if(_657&&_657.onCancel){_657.onCancel();}}}})));if(_64c.onCancel&&args.onCancel){_656.push(_64c.on("cancel",args.onCancel));}_656.push(_64c.on(_64c.onExecute?"execute":"change",lang.hitch(this,function(){var _658=this.getTopPopup();if(_658&&_658.onExecute){_658.onExecute();}})));_64b.push({widget:_64c,wrapper:_64f,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_656});if(_64c.onOpen){_64c.onOpen(best);}return best;},close:function(_659){var _65a=this._stack;while((_659&&_633.some(_65a,function(elem){return elem.widget==_659;}))||(!_659&&_65a.length)){var top=_65a.pop(),_65b=top.widget,_65c=top.onClose;if(_65b.bgIframe){_65b.bgIframe.destroy();delete _65b.bgIframe;}if(_65b.onClose){_65b.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_65b&&_65b.domNode){this.hide(_65b);}if(_65c){_65c();}}if(_65a.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_63d.popup=new _63f());});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_65d,_65e,lang,_65f,_660){var _661={};_65d.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_661[name]=_65f[name];});lang.mixin(_661,{defaultDuration:_65e["defaultDuration"]||200});lang.mixin(_660,_661);return _660;});},"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(_662,_663,_664,_665,keys,lang,on,_666,_667,_668,_669,_66a,_66b,_66c){var _66d=_663("dijit.layout._StackButton",_66c,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _66e=_663("dijit.layout.StackController",[_669,_66a,_66b],{baseClass:"dijitStackController",templateString:" ",containerId:"",buttonWidget:_66d,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _668.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_666.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_666.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_666.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_666.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_666.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _66f=_668.getEnclosingWidget(evt.target);if(_66f!=this.containerNode&&!_66f.disabled&&_66f.page){for(var _670=evt.target;_670!==this.containerNode;_670=_670.parentNode){if(_664.contains(_670,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_66f.page);break;}else{if(_670==_66f.domNode){this.onButtonClick(_66f.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_662.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _671=_668.byId(this.containerId).containerNode,_672=lang.hitch(this,"pane2button"),_673={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_674=function(attr,_675){return on(_671,"attrmodified-"+attr,function(evt){var _676=_672(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_676){_676.set(_675,evt.detail.newValue);}});};for(var attr in _673){this.own(_674(attr,_673[attr]));}},destroy:function(_677){this.destroyDescendants(_677);this.inherited(arguments);},onAddChild:function(page,_678){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _679=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(_679,_678);page.controlButton=_679;if(!this._currentChild){this.onSelectChild(page);}var _67a=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_679.id:_679.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_67a);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _67b=this.pane2button(page.id);if(_67b){this.removeChild(_67b);_67b.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _67c=this.pane2button(this._currentChild.id);_67c.set("checked",false);_67c.focusNode.setAttribute("tabIndex","-1");}var _67d=this.pane2button(page.id);_67d.set("checked",true);this._currentChild=page;_67d.focusNode.setAttribute("tabIndex","0");var _67e=_668.byId(this.containerId);},onButtonClick:function(page){var _67f=this.pane2button(page.id);_667.focus(_67f.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_67f.set("checked",true);}var _680=_668.byId(this.containerId);_680.selectChild(page);},onCloseButtonClick:function(page){var _681=_668.byId(this.containerId);_681.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_667.focus(b.focusNode||b.domNode);}}},adjacent:function(_682){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_682=!_682;}var _683=this.getChildren();var idx=_662.indexOf(_683,this.pane2button(this._currentChild.id)),_684=_683[idx];var _685;do{idx=(idx+(_682?1:_683.length-1))%_683.length;_685=_683[idx];}while(_685.disabled&&_685!=_684);return _685;},onkeydown:function(e,_686){if(this.disabled||e.altKey){return;}var _687=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_687=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_687=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_687=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_687=true;}break;case keys.HOME:var _688=this.getChildren();for(var idx=0;idx<_688.length;idx++){var _689=_688[idx];if(!_689.disabled){this.onButtonClick(_689.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _688=this.getChildren();for(var idx=_688.length-1;idx>=0;idx--){var _689=_688[idx];if(!_689.disabled){this.onButtonClick(_689.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(_687!==null){this.onButtonClick(this.adjacent(_687).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_66e.StackButton=_66d;return _66e;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_68a,_68b,lang,has,win,dom,_68c,_68d,_68e,on,_68f,dnd,_690){return _68b("dojo.dnd.Mover",[_68e],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;function _691(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_68f.move,lang.hitch(this,"onFirstMove")),on(d,_68f.move,lang.hitch(this,"onMouseMove")),on(d,_68f.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_691),on(d.body,"selectstart",_691)];_690.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_690.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_68c.getMarginBox(this.node);var b=win.doc.body;var bs=_68d.getComputedStyle(b);var bm=_68c.getMarginBox(b,bs);var bc=_68c.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_68a.forEach(this.events,function(_692){_692.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_693,_694,has){var _695=has("config-requestProvider"),_696;if(1||has("host-webworker")){_696="./xhr";}else{if(0){_696="./node";}}if(!_695){_695=_696;}_693.getPlatformDefaultId=function(){return _696;};_693.load=function(id,_697,_698,_699){_694([id=="platform"?_696:_695],function(_69a){_698(_69a);});};});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_69b,_69c,_69d,_69e){return _69b("dijit.layout.TabContainer",_69c,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_69f){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_69d=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _69d({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_69f);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_69e:_69d;}}});});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_6a0,_6a1,_6a2,_6a3,_6a4,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _6a5=new function(){var _6a6=[];this.pop=function(){var _6a7;if(_6a6.length){_6a7=_6a6.pop();_6a7.style.display="";}else{if(has("ie")<9){var burl=_6a2["dojoBlankHtmlUrl"]||_6a0.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html=" ",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"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(_73e,_73f,_740,_741,_742,has,lang,on,_743,_744,when,_745,_746,_747){if(has("dijit-legacy-requires")){_743(0,function(){var _748=["dijit/layout/StackController"];require(_748);});}var _749=_740("dijit.layout.StackContainer",_747,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_741.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 _74a=this.getChildren();_73e.forEach(_74a,this._setupChild,this);if(this.persist){this.selectedChildWidget=_745.byId(_73f(this.id+"_selectedChild"));}else{_73e.some(_74a,function(_74b){if(_74b.selected){this.selectedChildWidget=_74b;}return _74b.selected;},this);}var _74c=this.selectedChildWidget;if(!_74c&&_74a[0]){_74c=this.selectedChildWidget=_74a[0];_74c.selected=true;}_744.publish(this.id+"-startup",{children:_74a,selected:_74c,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _74d=this.selectedChildWidget;if(_74d){this._showChild(_74d);}}this.inherited(arguments);},_setupChild:function(_74e){var _74f=_74e.domNode,_750=_742.place("
",_74e.domNode,"replace"),_751=_74e["aria-label"]||_74e.title||_74e.label;if(_751){_750.setAttribute("aria-label",_751);}_742.place(_74f,_750);_74e._wrapper=_750;this.inherited(arguments);if(_74f.style.display=="none"){_74f.style.display="block";}_74e.domNode.removeAttribute("title");},addChild:function(_752,_753){this.inherited(arguments);if(this._started){_744.publish(this.id+"-addChild",_752,_753);this.layout();if(!this.selectedChildWidget){this.selectChild(_752);}}},removeChild:function(page){var idx=_73e.indexOf(this.getChildren(),page);this.inherited(arguments);_742.destroy(page._wrapper);delete page._wrapper;if(this._started){_744.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _754=this.getChildren();if(_754.length){this.selectChild(_754[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_755){var d;page=_745.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_755);this._set("selectedChildWidget",page);_744.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_73f(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_756,_757){if(_757){this._hideChild(_757);}var d=this._showChild(_756);if(_756.resize){if(this.doLayout){_756.resize(this._containerContentBox||this._contentBox);}else{_756.resize();}}return d;},_adjacent:function(_758){var _759=this.getChildren();var _75a=_73e.indexOf(_759,this.selectedChildWidget);_75a+=_758?1:_759.length-1;return _759[_75a%_759.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_744.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _75b=this.selectedChildWidget;if(_75b&&_75b.resize){if(this.doLayout){_75b.resize(this._containerContentBox||this._contentBox);}else{_75b.resize();}}},_showChild:function(page){var _75c=this.getChildren();page.isFirstChild=(page==_75c[0]);page.isLastChild=(page==_75c[_75c.length-1]);page._set("selected",true);if(page._wrapper){_741.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_741.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _75d=!page.onClose||page.onClose(this,page);if(_75d){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_75e){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_73e.forEach(this.getChildren(),function(_75f){if(!_75e){this.removeChild(_75f);}_75f.destroyRecursive(_75e);},this);this._descendantsBeingDestroyed=false;}});_749.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_746,_749.ChildWidgetProperties);return _749;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _760={};lang.setObject("dojo.regexp",_760);_760.escapeString=function(str,_761){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_761&&_761.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_760.buildGroupRE=function(arr,re,_762){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i
=0?"Error":_782.indexOf(_792,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_793){this._descendants=this._getDescendantFormWidgets();_782.forEach(this._descendants,function(_794){if(!_794._started){_794.startup();}});if(!_793){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_795,_796){this.onValidStateChange(_796=="");});},destroy:function(){this.inherited(arguments);}});});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_797,_798){var _799={};lang.setObject("dojo.data.util.simpleFetch",_799);_799.errorHandler=function(_79a,_79b){if(_79b.onError){var _79c=_79b.scope||_797.global;_79b.onError.call(_79c,_79a,_79b);}};_799.fetchHandler=function(_79d,_79e){var _79f=_79e.abort||null,_7a0=false,_7a1=_79e.start?_79e.start:0,_7a2=(_79e.count&&(_79e.count!==Infinity))?(_7a1+_79e.count):_79d.length;_79e.abort=function(){_7a0=true;if(_79f){_79f.call(_79e);}};var _7a3=_79e.scope||_797.global;if(!_79e.store){_79e.store=this;}if(_79e.onBegin){_79e.onBegin.call(_7a3,_79d.length,_79e);}if(_79e.sort){_79d.sort(_798.createSortFunction(_79e.sort,this));}if(_79e.onItem){for(var i=_7a1;(i<_79d.length)&&(i<_7a2);++i){var item=_79d[i];if(!_7a0){_79e.onItem.call(_7a3,item,_79e);}}}if(_79e.onComplete&&!_7a0){var _7a4=null;if(!_79e.onItem){_7a4=_79d.slice(_7a1,_7a2);}_79e.onComplete.call(_7a3,_7a4,_79e);}};_799.fetch=function(_7a5){_7a5=_7a5||{};if(!_7a5.store){_7a5.store=this;}this._fetchItems(_7a5,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _7a5;};return _799;});},"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(_7a6,_7a7,_7a8,dom,_7a9,_7aa,_7ab,keys,lang,on,has,win,_7ac,pm,_7ad,_7ae){if(has("dijit-legacy-requires")){_7ae(0,function(){var _7af=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_7a6(_7af);});}return _7a8("dijit.Menu",_7ad,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_7a7.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_7b0){return _7ac.get(this._iframeContentDocument(_7b0))||this._iframeContentDocument(_7b0)["__parent__"]||(_7b0.name&&document.frames[_7b0.name])||null;},_iframeContentDocument:function(_7b1){return _7b1.contentDocument||(_7b1.contentWindow&&_7b1.contentWindow.document)||(_7b1.name&&document.frames[_7b1.name]&&document.frames[_7b1.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _7b2=node,_7b3=this._iframeContentWindow(_7b2);cn=win.body(_7b3.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _7b4={node:node,iframe:_7b2};_7a9.set(node,"_dijitMenu"+this.id,this._bindings.push(_7b4));var _7b5=lang.hitch(this,function(cn){var _7b6=this.selector,_7b7=_7b6?function(_7b8){return on.selector(_7b6,_7b8);}:function(_7b9){return _7b9;},self=this;return [on(cn,_7b7(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime() ${loadingState}",errorMessage:" ${errorState} ",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,markupFactory:function(_7db,node,ctor){var self=new ctor(_7db,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_7dc,_7dd){if((!_7dc||!_7dc.template)&&_7dd&&!("href" in _7dc)&&!("content" in _7dc)){_7dd=dom.byId(_7dd);var df=_7dd.ownerDocument.createDocumentFragment();while(_7dd.firstChild){df.appendChild(_7dd.firstChild);}_7dc=lang.delegate(_7dc,{content:df});}this.inherited(arguments,[_7dc,_7dd]);},postMixInProperties:function(){this.inherited(arguments);var _7de=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_7d5.substitute(this.loadingMessage,_7de);this.errorMessage=_7d5.substitute(this.errorMessage,_7de);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_7d6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_7d6.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_7d6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_7d1.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_7d1.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_7df){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _7d8(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _7e0={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_7e0,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_7e0)),_7e1;hand.then(function(html){_7e1=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _7e1;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_7e2){if(this.isLoaded){this._onUnloadHandler();}var _7e3=this._contentSetter;_7d6.forEach(this.getChildren(),function(_7e4){if(_7e4.destroyRecursive){_7e4.destroyRecursive(_7e2);}else{if(_7e4.destroy){_7e4.destroy(_7e2);}}_7e4._destroyed=true;});if(_7e3){_7d6.forEach(_7e3.parseResults,function(_7e5){if(!_7e5._destroyed){if(_7e5.destroyRecursive){_7e5.destroyRecursive(_7e2);}else{if(_7e5.destroy){_7e5.destroy(_7e2);}}_7e5._destroyed=true;}});delete _7e3.parseResults;}if(!_7e2){_7da.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_7e6){cont=this.preprocessContent(cont);this.destroyDescendants();var _7e7=this._contentSetter;if(!(_7e7&&_7e7 instanceof html._ContentSetter)){_7e7=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _7e8=this.onContentError(e);try{this.containerNode.innerHTML=_7e8;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _7e9=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_7e7.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_7e9);var self=this;return when(p&&p.then?p:_7e7.parseDeferred,function(){delete self._contentSetterParams;if(!_7e6){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_7ea){return _7ea;},_onError:function(type,err,_7eb){this.onLoadDeferred.reject(err);var _7ec=this["on"+type+"Error"].call(this,err);if(_7eb){console.error(_7eb,err);}else{if(_7ec){this._setContent(_7ec,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_7ed,_7ee,_7ef,_7f0,keys,lang,_7f1,_7f2,_7f3,_7f4){return _7ee("dijit._KeyNavContainer",[_7f3,_7f4,_7f2],{connectKeyNavHandlers:function(_7f5,_7f6){var _7f7=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_7ed.forEach(_7f5,function(code){_7f7[code]=prev;});_7ed.forEach(_7f6,function(code){_7f7[code]=next;});_7f7[keys.HOME]=lang.hitch(this,"focusFirstChild");_7f7[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_7f0.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_7ed.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_7f8,_7f9){this.inherited(arguments);this._startupChild(_7f8);},_startupChild:function(_7fa){_7fa.set("tabIndex","-1");},_getFirst:function(){var _7fb=this.getChildren();return _7fb.length?_7fb[0]:null;},_getLast:function(){var _7fc=this.getChildren();return _7fc.length?_7fc[_7fc.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_7f1.byNode(node);return node&&node.getParent()==this;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_7fd,_7fe,_7ff,_800,lang){function _801(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_802,dim){var _803=_802.resize?_802.resize(dim):_7ff.setMarginBox(_802.domNode,dim);if(_803){lang.mixin(_802,_803);}else{lang.mixin(_802,_7ff.getMarginBox(_802.domNode));lang.mixin(_802,dim);}};var _804={marginBox2contentBox:function(node,mb){var cs=_800.getComputedStyle(node);var me=_7ff.getMarginExtents(node,cs);var pb=_7ff.getPadBorderExtents(node,cs);return {l:_800.toPixelValue(node,cs.paddingLeft),t:_800.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_805,dim,_806,_807,_808){dim=lang.mixin({},dim);_7fe.add(_805,"dijitLayoutContainer");_806=_7fd.filter(_806,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_7fd.filter(_806,function(item){return item.region=="center"||item.layoutAlign=="client";}));_7fd.forEach(_806,function(_809){var elm=_809.domNode,pos=(_809.region||_809.layoutAlign);if(!pos){throw new Error("No region setting for "+_809.id);}var _80a=elm.style;_80a.left=dim.l+"px";_80a.top=dim.t+"px";_80a.position="absolute";_7fe.add(elm,"dijitAlign"+_801(pos));var _80b={};if(_807&&_807==_809.id){_80b[_809.region=="top"||_809.region=="bottom"?"h":"w"]=_808;}if(pos=="leading"){pos=_809.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_809.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_80b.w=dim.w;size(_809,_80b);dim.h-=_809.h;if(pos=="top"){dim.t+=_809.h;}else{_80a.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_80b.h=dim.h;size(_809,_80b);dim.w-=_809.w;if(pos=="left"){dim.l+=_809.w;}else{_80a.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_809,dim);}}}});}};lang.setObject("dijit.layout.utils",_804);return _804;});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_80c,_80d){return _80c("dijit._Contained",null,{_getSibling:function(_80e){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_80e=="previous"?-1:1))||null;},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_80f,dom,lang,_810,_811,_812){function _813(_814){return {id:_814.value,value:_814.value,name:lang.trim(_814.innerText||_814.textContent||"")};};return _80f("dijit.form.DataList",_811,{constructor:function(_815,_816){this.domNode=dom.byId(_816);lang.mixin(this,_815);if(this.id){_812.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_810("option",this.domNode).map(_813)}]);},destroy:function(){_812.remove(this.id);},fetchSelectedItem:function(){var _817=_810("> option[selected]",this.domNode)[0]||_810("> option",this.domNode)[0];return _817&&_813(_817);}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_818,_819,_81a,has,_81b,_81c,_81d,_81e,_81f){if(has("dijit-legacy-requires")){_81c(0,function(){var _820=["dijit/form/RadioButton"];_818(_820);});}return _819("dijit.form.CheckBox",[_81d,_81e],{templateString:_81f,baseClass:"dijitCheckBox",_setValueAttr:function(_821,_822){if(typeof _821=="string"){this.inherited(arguments);_821=true;}if(this._created){this.set("checked",_821,_822);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_81b("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_81b("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_823,_824,_825,lang,_826,dom,_827,on,_828,_829,_82a){return _824("dijit.tree._dndSelector",_82a,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_828.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_828.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_828.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_829.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_829.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _82b=[],sel=this.selection;for(var i in sel){_82b.push(sel[i]);}return _82b;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_82c){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_82c){this.anchor=node;}return node;},removeTreeNode:function(node){var _82d=_823.filter(this.getSelectedTreeNodes(),function(_82e){return !dom.isDescendant(_82e.domNode,node.domNode);});this.setSelection(_82d);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_82f){var _830=this.getSelectedTreeNodes();_823.forEach(this._setDifference(_830,_82f),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_823.forEach(this._setDifference(_82f,_830),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_823.forEach(ys,function(y){y.__exclude__=true;});var ret=_823.filter(xs,function(x){return !x.__exclude__;});_823.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _831=this.getSelectedTreeNodes();var _832=[],_833=[];_823.forEach(_831,function(node){var ary=node.getTreePath();_833.push(node);_832.push(ary);},this);var _834=_823.map(_833,function(node){return node.item;});this.tree._set("paths",_832);this.tree._set("path",_832[0]||[]);this.tree._set("selectedNodes",_833);this.tree._set("selectedNode",_833[0]||null);this.tree._set("selectedItems",_834);this.tree._set("selectedItem",_834[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_827.isLeft(e)){e.preventDefault();}var _835=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_835){return;}var copy=_826.getCopyKeyState(e),id=_835.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_835,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_826.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_836,_837){if(this.singular){if(this.anchor==node&&_836){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_837&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_838,end,_839=this.anchor;if(cr<0){_838=_839;end=node;}else{_838=node;end=_839;}var _83a=[];while(_838!=end){_83a.push(_838);_838=this.tree._getNext(_838);}_83a.push(end);this.setSelection(_83a);}else{if(this.selection[node.id]&&_836){this.removeTreeNode(node);}else{if(_836){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _83b=this.selection[key];return {data:_83b,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_825.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_83c,_83d,_83e,_83f){return _83d("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_840,_841){var _842=this.containerNode;if(_841>0){_842=_842.firstChild;while(_841>0){if(_842.nodeType==1){_841--;}_842=_842.nextSibling;}if(_842){_841="before";}else{_842=this.containerNode;_841="last";}}_83e.place(_840.domNode,_842,_841);if(this._started&&!_840._started){_840.startup();}},removeChild:function(_843){if(typeof _843=="number"){_843=this.getChildren()[_843];}if(_843){var node=_843.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_844,dir){var _845=this.getChildren(),idx=_83c.indexOf(_845,_844);return _845[idx+dir];},getIndexOfChild:function(_846){return _83c.indexOf(this.getChildren(),_846);}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_847,lang,_848,_849,xhr,_84a,_84b,_84c,_84d){var _84e=_848("dojo.data.ItemFileReadStore",[_84a],{constructor:function(_84f){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_84f.url;this._ccUrl=_84f.url;this.url=_84f.url;this._jsonData=_84f.data;this.data=null;this._datatypeMap=_84f.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_850){return _84d.fromISOString(_850);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_84f.urlPreventCache!==undefined){this.urlPreventCache=_84f.urlPreventCache?true:false;}if(_84f.hierarchical!==undefined){this.hierarchical=_84f.hierarchical?true:false;}if(_84f.clearOnClose){this.clearOnClose=true;}if("failOk" in _84f){this.failOk=_84f.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_851){if(typeof _851!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_852,_853){var _854=this.getValues(item,_852);return (_854.length>0)?_854[0]:_853;},getValues:function(item,_855){this._assertIsItem(item);this._assertIsAttribute(_855);return (item[_855]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _856=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_856.push(key);}}return _856;},hasAttribute:function(item,_857){this._assertIsItem(item);this._assertIsAttribute(_857);return (_857 in item);},containsValue:function(item,_858,_859){var _85a=undefined;if(typeof _859==="string"){_85a=_84b.patternToRegExp(_859,false);}return this._containsValue(item,_858,_859,_85a);},_containsValue:function(item,_85b,_85c,_85d){return _849.some(this.getValues(item,_85b),function(_85e){if(_85e!==null&&!lang.isObject(_85e)&&_85d){if(_85e.toString().match(_85d)){return true;}}else{if(_85c===_85e){return true;}}});},isItem:function(_85f){if(_85f&&_85f[this._storeRefPropName]===this){if(this._arrayOfAllItems[_85f[this._itemNumPropName]]===_85f){return true;}}return false;},isItemLoaded:function(_860){return this.isItem(_860);},loadItem:function(_861){this._assertIsItem(_861.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_862,_863,_864){var _865=[],i,key;if(_862.query){var _866,_867=_862.queryOptions?_862.queryOptions.ignoreCase:false;var _868={};for(key in _862.query){_866=_862.query[key];if(typeof _866==="string"){_868[key]=_84b.patternToRegExp(_866,_867);}else{if(_866 instanceof RegExp){_868[key]=_866;}}}for(i=0;i<_863.length;++i){var _869=true;var _86a=_863[i];if(_86a===null){_869=false;}else{for(key in _862.query){_866=_862.query[key];if(!this._containsValue(_86a,key,_866,_868[key])){_869=false;}}}if(_869){_865.push(_86a);}}_864(_865,_862);}else{for(i=0;i<_863.length;++i){var item=_863[i];if(item!==null){_865.push(item);}}_864(_865,_862);}},_fetchItems:function(_86b,_86c,_86d){var self=this;if(this._loadFinished){this.filter(_86b,this._getItemsArray(_86b.queryOptions),_86c);}else{if(this._jsonFileUrl!==this._ccUrl){_847.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_86b,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_86c)});}else{this._loadInProgress=true;var _86e={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _86f=xhr.get(_86e);_86f.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_86b,self._getItemsArray(_86b.queryOptions),_86c);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_86d(e,_86b);}});_86f.addErrback(function(_870){self._loadInProgress=false;_86d(_870,_86b);});var _871=null;if(_86b.abort){_871=_86b.abort;}_86b.abort=function(){var df=_86f;if(df&&df.fired===-1){df.cancel();df=null;}if(_871){_871.call(_86b);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_86b,this._getItemsArray(_86b.queryOptions),_86c);}catch(e){_86d(e,_86b);}}else{_86d(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_86b);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i]+>|]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_8a1.empty,_setNodeContent:function(node,cont){_8a1.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_8a1.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _8a4=cont.length,i=0;i]*>\s*([\s\S]+)\s*<\/body>/im);if(_8a8){cont=_8a8[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_8a9){var _8aa={},key;for(key in _8a9){if(key in _8aa){continue;}this[key]=_8a9[key];}},_parse:function(){var _8ab=this.node;try{var _8ac={};_89f.forEach(["dir","lang","textDir"],function(name){if(this[name]){_8ac[name]=this[name];}},this);var self=this;this.parseDeferred=_8a2.parse({rootNode:_8ab,noStart:!this.startup,inherited:_8ac,scope:this.parserScope}).then(function(_8ad){return self.parseResults=_8ad;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+self.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_8ae){var _8af=this["on"+type+"Error"].call(this,err);if(_8ae){console.error(_8ae,err);}else{if(_8af){html._setNodeContent(this.node,_8af,true);}}}}),set:function(node,cont,_8b0){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_8b0){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_8b0,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_8b1,_8b2,_8b3,_8b4,keys,lang,on,_8b5,_8b6,_8b7,_8b8){var _8b9=_8b1("dijit._PaletteMixin",_8b5,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_8ba){var _8bb=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _8bb(_8ba);},_preparePalette:function(_8bc,_8bd){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_8b6,lang.hitch(this,"_onCellClick")));for(var row=0;row<_8bc.length;row++){var _8be=_8b4.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_8bc[row].length;col++){var _8bf=_8bc[row][col];if(_8bf){var _8c0=this._dyeFactory(_8bf,row,col,_8bd[_8bf]);var _8c1=_8b4.create("td",{"class":this.cellClass,tabIndex:"-1",title:_8bd[_8bf],role:"gridcell"},_8be);_8c0.fillCell(_8c1,url);_8c1.idx=this._cells.length;this._cells.push({node:_8c1,dye:_8c0});}}}this._xDim=_8bc[0].length;this._yDim=_8bc.length;var _8c2={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _8c2){this.own(_8b8.addKeyListener(this.domNode,{keyCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _8c3=_8c2[key];return function(_8c4){this._navigateByKey(_8c3,_8c4);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_8b7.focus(this._currentFocus);},_onCellClick:function(evt){var _8c5=evt.target;while(_8c5.tagName!="TD"){if(!_8c5.parentNode||_8c5==this.gridNode){return;}_8c5=_8c5.parentNode;}var _8c6=this._getDye(_8c5).getValue();this._setCurrent(_8c5);_8b7.focus(_8c5);this._setValueAttr(_8c6,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(node){if("_currentFocus" in this){_8b2.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_8b2.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_8c7,_8c8){if(this._selectedCell>=0){_8b3.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_8c7){for(var i=0;i=0?_8c7:null);if(_8c8||_8c8===undefined){this.onChange(_8c7);}},onChange:function(){},_navigateByKey:function(_8c9,_8ca){if(_8ca==-1){return;}var _8cb=this._currentFocus.idx+_8c9;if(_8cb-1){var _8cc=this._cells[_8cb].node;this._setCurrent(_8cc);this.defer(lang.hitch(_8b7,"focus",_8cc));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});return _8b9;});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_8cd,_8ce,lang,i18n,_8cf,_8d0,_8d1){var _8d2=_8cd("dijit.form.ValidationTextBox",_8cf,{templateString:_8d1,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_8d3){if(_8d3!=_8d2.prototype[attr]){_8ce.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_8d3);}},_setRegExpGenAttr:function(_8d4){this._deprecateRegExp("regExpGen",_8d4);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_8d5){this._deprecateRegExp("regExp",_8d5);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_8d6,_8d7){return (new RegExp("^(?:"+this._computeRegexp(_8d7)+")"+(this.required?"":"?")+"$")).test(_8d6)&&(!this.required||!this._isEmpty(_8d6))&&(this._isEmpty(_8d6)||this.parse(_8d6,_8d7)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_8d8){return (this.trim?/^\s*$/:/^$/).test(_8d8);},getErrorMessage:function(){var _8d9=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _8da=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_8d9:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_8da:_8d9;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_8db){var _8dc="";var _8dd=this.disabled||this.isValid(_8db);if(_8dd){this._maskValidSubsetError=true;}var _8de=this._isEmpty(this.textbox.value);var _8df=!_8dd&&_8db&&this._isValidSubset();this._set("state",_8dd?"":(((((!this._hasBeenBlurred||_8db)&&_8de)||_8df)&&(this._maskValidSubsetError||(_8df&&!this._hasBeenBlurred&&_8db)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_8db&&_8df;_8dc=this.getErrorMessage(_8db);}else{if(this.state=="Incomplete"){_8dc=this.getPromptMessage(_8db);this._maskValidSubsetError=!this._hasBeenBlurred||_8db;}else{if(_8de){_8dc=this.getPromptMessage(_8db);}}}this.set("message",_8dc);return _8dd;},displayMessage:function(_8e0){if(_8e0&&this.focused){_8d0.show(_8e0,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_8d0.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_8e1){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_8e2){if(!_8e2.locale&&this.lang){_8e2.locale=this.lang;}this._set("constraints",_8e2);this._refreshState();},_setPatternAttr:function(_8e3){this._set("pattern",_8e3);this._refreshState();},_computeRegexp:function(_8e4){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_8e4);}if(p!=this._lastRegExp){var _8e5="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_8e5+=re;break;case ")":_8e5+="|$)";break;default:_8e5+="(?:"+re+"|$)";break;}});}try{"".search(_8e5);}catch(e){_8e5=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_8e5+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_8e6){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_8e7){this._set("required",_8e7);this.focusNode.setAttribute("aria-required",_8e7);this._refreshState();},_setMessageAttr:function(_8e8){this._set("message",_8e8);this.displayMessage(_8e8);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_8d0.hide(this.domNode);this.inherited(arguments);}});return _8d2;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_8e9,dom,lang,has,_8ea,_8eb){var _8ec=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _8ed="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _8ee=oSel.getRangeAt(0);if((_8ee.startContainer==_8ee.endContainer)&&((_8ee.endOffset-_8ee.startOffset)==1)&&(_8ee.startContainer.nodeType!=3)){_8ed="control";}}return _8ed;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _8ef=win.getSelection();return _8ef?_8ef.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _8f0=win.getSelection();if(_8f0&&_8f0.rangeCount){var i;var html="";for(i=0;i<_8f0.rangeCount;i++){var frag=_8f0.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _8f1=win.getSelection();return _8f1.anchorNode.childNodes[_8f1.anchorOffset];}else{var _8f2=doc.selection.createRange();if(_8f2&&_8f2.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _8f3=doc.getSelection();if(_8f3){var node=_8f3.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_8f4){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_8f5){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _8f6=node.tagName.toLowerCase();for(var i=0;i0){_904=sel.getRangeAt(0);}if(_904&&_904.compareBoundaryPoints&&doc.createRange){try{_903=doc.createRange();_903.setStart(node,0);if(_904.compareBoundaryPoints(_904.START_TO_END,_903)===1){return true;}}catch(e){}}}else{_904=doc.selection.createRange();try{_903=node.ownerDocument.body.createTextRange();_903.moveToElementText(node);}catch(e2){}if(_904&&_903){if(_904.compareEndPoints("EndToStart",_903)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_8eb.curNode;if(doc.getSelection){sel=win.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i
",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);_90a.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _915=_908(this._cookieName);if(_915){this.child.domNode.style[this.horizontal?"height":"width"]=_915;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_916=_90c.getMarginBox(this.child.domNode)[dim],_917=_907.filter(this.container.getChildren(),function(_918){return _918.region=="center";})[0];var _919=_90c.getContentBox(_917.domNode)[dim]-10;return Math.min(this.child.maxSize,_916+_919);},_startDrag:function(e){if(!this.cover){this.cover=_90b.place("
",this.child.domNode,"after");}_90a.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_90b.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_90a.add(this.domNode,"dijitSplitterShadow");_90b.place(this.fake,this.domNode,"after");}_90a.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_90a.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _91a=this._factor,_91b=this.horizontal,axis=_91b?"pageY":"pageX",_91c=e[axis],_91d=this.domNode.style,dim=_91b?"h":"w",_91e=_90d.getComputedStyle(this.child.domNode),_91f=_90c.getMarginBox(this.child.domNode,_91e)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_90c.getPadBorderExtents(this.child.domNode,_91e)[dim]+10),_920=this.region,_921=_920=="top"||_920=="bottom"?"top":"left",_922=parseInt(_91d[_921],10),_923=this._resize,_924=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_90e.move,this._drag=function(e,_925){var _926=e[axis]-_91c,_927=_91a*_926+_91f,_928=Math.max(Math.min(_927,max),min);if(_923||_925){_924(_928);}_91d[_921]=_926+_922+_91a*(_928-_927)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_90e.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_90a.toggle(this.domNode,"dijitSplitterHover",o);_90a.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_90a.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_90b.destroy(this.fake);}_90a.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){_908(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 _929=this.horizontal;var tick=1;switch(e.keyCode){case _929?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _929?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _92a=_90c.getMarginSize(this.child.domNode)[_929?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_92a,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 _92b=_909("dijit.layout._Gutter",[_910,_911],{templateString:"
",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_90a.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _92c=_909("dijit.layout.BorderContainer",_912,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_914,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_92d){this.inherited(arguments);var _92e=_92d.region,ltr=_92d.isLeftToRight();if(_92e=="leading"){_92e=ltr?"left":"right";}if(_92e=="trailing"){_92e=ltr?"right":"left";}if(_92e){if(_92e!="center"&&(_92d.splitter||this.gutters)&&!_92d._splitterWidget){var _92f=_92d.splitter?this._splitterClass:_92b;if(lang.isString(_92f)){_92f=lang.getObject(_92f);}var _930=new _92f({id:_92d.id+"_splitter",container:this,child:_92d,region:_92e,live:this.liveSplitters});_930.isSplitter=true;_92d._splitterWidget=_930;var _931=_92e=="bottom"||_92e==(this.isLeftToRight()?"right":"left");_90b.place(_930.domNode,_92d.domNode,_931?"before":"after");_930.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_932){var _933=_932._splitterWidget;if(_933){_933.destroy();delete _932._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _907.filter(this.inherited(arguments),function(_934){return !_934.isSplitter;});},getSplitter:function(_935){return _907.filter(this.getChildren(),function(_936){return _936.region==_935;})[0]._splitterWidget;},resize:function(_937,_938){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_90d.getComputedStyle(node);this.pe=_90c.getPadExtents(node,this.cs);this.pe.r=_90d.toPixelValue(node,this.cs.paddingRight);this.pe.b=_90d.toPixelValue(node,this.cs.paddingBottom);_90d.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_939,_93a){if(!this._borderBox||!this._borderBox.h){return;}var _93b=[];_907.forEach(this._getOrderedChildren(),function(pane){_93b.push(pane);if(pane._splitterWidget){_93b.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};_913.layoutChildren(this.domNode,dim,_93b,_939,_93a);},destroyRecursive:function(){_907.forEach(this.getChildren(),function(_93c){var _93d=_93c._splitterWidget;if(_93d){_93d.destroy();}delete _93c._splitterWidget;});this.inherited(arguments);}});_92c.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_92c.ChildWidgetProperties,_912.ChildWidgetProperties);lang.extend(_90f,_92c.ChildWidgetProperties);_92c._Splitter=_914;_92c._Gutter=_92b;return _92c;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_93e){return _93e._base;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_93f,dom,geom,_940,_941){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_93f.body(doc),_942=_941.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_941.create("div",{style:{overflow:"hidden",direction:"ltr"}},_942,"last"),ret=geom.position(div).x!=0;_942.removeChild(div);body.removeChild(_942);return ret;});has.add("position-fixed-support",function(win,doc){var body=_93f.body(doc),_943=_941.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_944=_941.create("span",{style:{position:"fixed",left:"0",top:"0"}},_943,"last"),ret=geom.position(_944).x!=geom.position(_943).x;_943.removeChild(_944);body.removeChild(_943);return ret;});var _945={getBox:function(doc){doc=doc||_93f.doc;var _946=(doc.compatMode=="BackCompat")?_93f.body(doc):doc.documentElement,_947=geom.docScroll(doc),w,h;if(has("touch")){var _948=_945.get(doc);w=_948.innerWidth||_946.clientWidth;h=_948.innerHeight||_946.clientHeight;}else{w=_946.clientWidth;h=_946.clientHeight;}return {l:_947.x,t:_947.y,w:w,h:h};},get:function(doc){if(has("ie")&&_945!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_93f.doc,body=_93f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _949=doc.compatMode=="BackCompat",_94a=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_94b=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_94c=(isWK||_949)?body:html,_94d=pos||geom.position(node),el=node.parentNode,_94e=function(el){return (isIE<=6||(isIE==7&&_949))?false:(has("position-fixed-support")&&(_940.get(el,"position").toLowerCase()=="fixed"));},self=this,_94f=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_94e(node)){return;}while(el){if(el==body){el=_94c;}var _950=geom.position(el),_951=_94e(el),rtl=_940.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_94c){_950.w=_94a;_950.h=_94b;if(_94c==html&&(isIE||has("trident"))&&rtl){_950.x+=_94c.offsetWidth-_950.w;}_950.x=0;_950.y=0;}else{var pb=geom.getPadBorderExtents(el);_950.w-=pb.w;_950.h-=pb.h;_950.x+=pb.l;_950.y+=pb.t;var _952=el.clientWidth,_953=_950.w-_952;if(_952>0&&_953>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_950.x+=_953;}_950.w=_952;}_952=el.clientHeight;_953=_950.h-_952;if(_952>0&&_953>0){_950.h=_952;}}if(_951){if(_950.y<0){_950.h+=_950.y;_950.y=0;}if(_950.x<0){_950.w+=_950.x;_950.x=0;}if(_950.y+_950.h>_94b){_950.h=_94b-_950.y;}if(_950.x+_950.w>_94a){_950.w=_94a-_950.x;}}var l=_94d.x-_950.x,t=_94d.y-_950.y,r=l+_94d.w-_950.w,bot=t+_94d.h-_950.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_94c||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_949)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_94f(el,s,0);s=el.scrollLeft-old;_94d.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_94c||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_94f(el,0,s);s=el.scrollTop-old;_94d.y-=s;}el=(el!=_94c)&&!_951&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_945);return _945;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_954,_955,_956){var _957={};lang.setObject("dojo.number",_957);_957.format=function(_958,_959){_959=lang.mixin({},_959||{});var _95a=i18n.normalizeLocale(_959.locale),_95b=i18n.getLocalization("dojo.cldr","number",_95a);_959.customs=_95b;var _95c=_959.pattern||_95b[(_959.type||"decimal")+"Format"];if(isNaN(_958)||Math.abs(_958)==Infinity){return null;}return _957._applyPattern(_958,_95c,_959);};_957._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_957._applyPattern=function(_95d,_95e,_95f){_95f=_95f||{};var _960=_95f.customs.group,_961=_95f.customs.decimal,_962=_95e.split(";"),_963=_962[0];_95e=_962[(_95d<0)?1:0]||("-"+_963);if(_95e.indexOf("%")!=-1){_95d*=100;}else{if(_95e.indexOf("‰")!=-1){_95d*=1000;}else{if(_95e.indexOf("¤")!=-1){_960=_95f.customs.currencyGroup||_960;_961=_95f.customs.currencyDecimal||_961;_95e=_95e.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_964,_965,_966,_967){var prop=["symbol","currency","displayName"][_966.length-1],_968=_95f[prop]||_95f.currency||"";if(!_968){return "";}return _965+_968+_967;});}else{if(_95e.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _969=_957._numberPatternRE;var _96a=_963.match(_969);if(!_96a){throw new Error("unable to find a number expression in pattern: "+_95e);}if(_95f.fractional===false){_95f.places=0;}return _95e.replace(_969,_957._formatAbsolute(_95d,_96a[0],{decimal:_961,group:_960,places:_95f.places,round:_95f.round}));};_957.round=function(_96b,_96c,_96d){var _96e=10/(_96d||10);return (_96e*+_96b).toFixed(_96c)/_96e;};if((0.9).toFixed()==0){var _96f=_957.round;_957.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 _96f(v,p,m)+(v>0?d:-d);};}_957._formatAbsolute=function(_970,_971,_972){_972=_972||{};if(_972.places===true){_972.places=0;}if(_972.places===Infinity){_972.places=6;}var _973=_971.split("."),_974=typeof _972.places=="string"&&_972.places.indexOf(","),_975=_972.places;if(_974){_975=_972.places.substring(_974+1);}else{if(!(_975>=0)){_975=(_973[1]||[]).length;}}if(!(_972.round<0)){_970=_957.round(_970,_975,_972.round);}var _976=String(Math.abs(_970)).split("."),_977=_976[1]||"";if(_973[1]||_972.places){if(_974){_972.places=_972.places.substring(0,_974);}var pad=_972.places!==undefined?_972.places:(_973[1]&&_973[1].lastIndexOf("0")+1);if(pad>_977.length){_976[1]=_955.pad(_977,pad,"0",true);}if(_975<_977.length){_976[1]=_977.substr(0,_975);}}else{if(_976[1]){_976.pop();}}var _978=_973[0].replace(",","");pad=_978.indexOf("0");if(pad!=-1){pad=_978.length-pad;if(pad>_976[0].length){_976[0]=_955.pad(_976[0],pad);}if(_978.indexOf("#")==-1){_976[0]=_976[0].substr(_976[0].length-pad);}}var _979=_973[0].lastIndexOf(","),_97a,_97b;if(_979!=-1){_97a=_973[0].length-_979-1;var _97c=_973[0].substr(0,_979);_979=_97c.lastIndexOf(",");if(_979!=-1){_97b=_97c.length-_979-1;}}var _97d=[];for(var _97e=_976[0];_97e;){var off=_97e.length-_97a;_97d.push((off>0)?_97e.substr(off):_97e);_97e=(off>0)?_97e.slice(0,off):"";if(_97b){_97a=_97b;_97b=undefined;}}_976[0]=_97d.reverse().join(_972.group||",");return _976.join(_972.decimal||".");};_957.regexp=function(_97f){return _957._parseInfo(_97f).regexp;};_957._parseInfo=function(_980){_980=_980||{};var _981=i18n.normalizeLocale(_980.locale),_982=i18n.getLocalization("dojo.cldr","number",_981),_983=_980.pattern||_982[(_980.type||"decimal")+"Format"],_984=_982.group,_985=_982.decimal,_986=1;if(_983.indexOf("%")!=-1){_986/=100;}else{if(_983.indexOf("‰")!=-1){_986/=1000;}else{var _987=_983.indexOf("¤")!=-1;if(_987){_984=_982.currencyGroup||_984;_985=_982.currencyDecimal||_985;}}}var _988=_983.split(";");if(_988.length==1){_988.push("-"+_988[0]);}var re=_956.buildGroupRE(_988,function(_989){_989="(?:"+_956.escapeString(_989,".")+")";return _989.replace(_957._numberPatternRE,function(_98a){var _98b={signed:false,separator:_980.strict?_984:[_984,""],fractional:_980.fractional,decimal:_985,exponent:false},_98c=_98a.split("."),_98d=_980.places;if(_98c.length==1&&_986!=1){_98c[1]="###";}if(_98c.length==1||_98d===0){_98b.fractional=false;}else{if(_98d===undefined){_98d=_980.pattern?_98c[1].lastIndexOf("0")+1:Infinity;}if(_98d&&_980.fractional==undefined){_98b.fractional=true;}if(!_980.places&&(_98d<_98c[1].length)){_98d+=","+_98c[1].length;}_98b.places=_98d;}var _98e=_98c[0].split(",");if(_98e.length>1){_98b.groupSize=_98e.pop().length;if(_98e.length>1){_98b.groupSize2=_98e.pop().length;}}return "("+_957._realNumberRegexp(_98b)+")";});},true);if(_987){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_98f,_990,_991,_992){var prop=["symbol","currency","displayName"][_991.length-1],_993=_956.escapeString(_980[prop]||_980.currency||"");if(!_993){return "";}_990=_990?"[\\s\\xa0]":"";_992=_992?"[\\s\\xa0]":"";if(!_980.strict){if(_990){_990+="*";}if(_992){_992+="*";}return "(?:"+_990+_993+_992+")?";}return _990+_993+_992;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_984,decimal:_985,factor:_986};};_957.parse=function(_994,_995){var info=_957._parseInfo(_995),_996=(new RegExp("^"+info.regexp+"$")).exec(_994);if(!_996){return NaN;}var _997=_996[1];if(!_996[1]){if(!_996[2]){return NaN;}_997=_996[2];info.factor*=-1;}_997=_997.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _997*info.factor;};_957._realNumberRegexp=function(_998){_998=_998||{};if(!("places" in _998)){_998.places=Infinity;}if(typeof _998.decimal!="string"){_998.decimal=".";}if(!("fractional" in _998)||/^0/.test(_998.places)){_998.fractional=[true,false];}if(!("exponent" in _998)){_998.exponent=[true,false];}if(!("eSigned" in _998)){_998.eSigned=[true,false];}var _999=_957._integerRegexp(_998),_99a=_956.buildGroupRE(_998.fractional,function(q){var re="";if(q&&(_998.places!==0)){re="\\"+_998.decimal;if(_998.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_998.places+"}";}}return re;},true);var _99b=_956.buildGroupRE(_998.exponent,function(q){if(q){return "([eE]"+_957._integerRegexp({signed:_998.eSigned})+")";}return "";});var _99c=_999+_99a;if(_99a){_99c="(?:(?:"+_99c+")|(?:"+_99a+"))";}return _99c+_99b;};_957._integerRegexp=function(_99d){_99d=_99d||{};if(!("signed" in _99d)){_99d.signed=[true,false];}if(!("separator" in _99d)){_99d.separator="";}else{if(!("groupSize" in _99d)){_99d.groupSize=3;}}var _99e=_956.buildGroupRE(_99d.signed,function(q){return q?"[-+]":"";},true);var _99f=_956.buildGroupRE(_99d.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_956.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_99d.groupSize,grp2=_99d.groupSize2;if(grp2){var _9a0="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_9a0+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_9a0;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _99e+_99f;};return _957;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_9a1,_9a2,_9a3,lang){lang.extend(_9a2,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _9a3("dijit._FocusMixin",null,{_focusManager:_9a1});});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _9a4={};lang.setObject("dojo.data.util.filter",_9a4);_9a4.patternToRegExp=function(_9a5,_9a6){var rxp="^";var c=null;for(var i=0;i<_9a5.length;i++){c=_9a5.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_9a5.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_9a6){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _9a4;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_9a7,_9a8,_9a9,lang,_9aa){return _9a9("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_9aa.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_9ab){this._startupWidgets=_9ab;for(var i=0;i<_9ab.length;i++){this._processTemplateNode(_9ab[i],function(n,p){return n[p];},function(_9ac,type,_9ad){if(type in _9ac){return _9ac.connect(_9ac,type,_9ad);}else{return _9ac.on(type,_9ad,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_9ae,_9af,_9b0){if(_9af(_9ae,"dojoType")||_9af(_9ae,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_9a7.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_9b1,_9b2,_9b3){return _9b1("dojo.fx.Toggler",null,{node:null,showFunc:_9b2.fadeIn,hideFunc:_9b2.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _9b4=this;lang.mixin(_9b4,args);_9b4.node=args.node;_9b4._showArgs=lang.mixin({},args);_9b4._showArgs.node=_9b4.node;_9b4._showArgs.duration=_9b4.showDuration;_9b4.showAnim=_9b4.showFunc(_9b4._showArgs);_9b4._hideArgs=lang.mixin({},args);_9b4._hideArgs.node=_9b4.node;_9b4._hideArgs.duration=_9b4.hideDuration;_9b4.hideAnim=_9b4.hideFunc(_9b4._hideArgs);_9b3.after(_9b4.showAnim,"beforeBegin",lang.hitch(_9b4.hideAnim,"stop",true),true);_9b3.after(_9b4.hideAnim,"beforeBegin",lang.hitch(_9b4.showAnim,"stop",true),true);},show:function(_9b5){return this.showAnim.play(_9b5||0);},hide:function(_9b6){return this.hideAnim.play(_9b6||0);}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_9b7,lang,when,_9b8,_9b9){return _9b7("dijit.form.FilteringSelect",[_9b8,_9b9],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_9ba,_9bb,_9bc,_9bd){if((_9bb&&_9bb[this.searchAttr]!==this._lastQuery)||(!_9bb&&_9ba.length&&this.store.getIdentity(_9ba[0])!=this._lastQuery)){return;}if(!_9ba.length){this.set("value","",_9bd||(_9bd===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_9ba[0],_9bd);}},_openResultList:function(_9be,_9bf,_9c0){if(_9bf[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_9c1,_9c2,_9c3,item){if(!this._onChangeActive){_9c2=null;}if(item===undefined){if(_9c1===null||_9c1===""){_9c1="";if(!lang.isString(_9c3)){this._setDisplayedValueAttr(_9c3||"",_9c2);return;}}var self=this;this._lastQuery=_9c1;when(this.store.get(_9c1),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_9c2);});}else{this.valueNode.value=_9c1;this.inherited(arguments,[_9c1,_9c2,_9c3,item]);}},_setItemAttr:function(item,_9c4,_9c5){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_9c6,_9c7){if(_9c6==null){_9c6="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_9c7=false;}if(this.store){this.closeDropDown();var _9c8=lang.clone(this.query);var qs=this._getDisplayQueryString(_9c6),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_9c8[this.searchAttr]=q;this.textbox.value=_9c6;this._lastDisplayedValue=_9c6;this._set("displayedValue",_9c6);var _9c9=this;var _9ca={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_9ca,this.fetchProperties);this._fetchHandle=this.store.query(_9c8,_9ca);when(this._fetchHandle,function(_9cb){_9c9._fetchHandle=null;_9c9._callbackSetLabel(_9cb||[],_9c8,_9ca,_9c7);},function(err){_9c9._fetchHandle=null;if(!_9c9._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _9cc={};lang.setObject("dojo.data.util.sorter",_9cc);_9cc.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_9cc.createSortFunction=function(_9cd,_9ce){var _9cf=[];function _9d0(attr,dir,comp,s){return function(_9d1,_9d2){var a=s.getValue(_9d1,attr);var b=s.getValue(_9d2,attr);return dir*comp(a,b);};};var _9d3;var map=_9ce.comparatorMap;var bc=_9cc.basicComparator;for(var i=0;i<_9cd.length;i++){_9d3=_9cd[i];var attr=_9d3.attribute;if(attr){var dir=(_9d3.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_9cf.push(_9d0(attr,dir,comp,_9ce));}}return function(rowA,rowB){var i=0;while(i<_9cf.length){var ret=_9cf[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _9cc;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_9d4,dom,has,_9d5){var _9d6=_9d4("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _9d7=e.defaultPrevented;if(!_9d7&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _9d8=_9d5.byNode(node);if(_9d8&&typeof _9d8._onSubmit=="function"){_9d8._onSubmit(e);e.preventDefault();_9d7=true;break;}}}return !_9d7;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_9d9){this._set("label",_9d9);var _9da=this.containerNode||this.focusNode;_9da.innerHTML=_9d9;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_9d6=_9d4("dijit.form._ButtonMixin",_9d6,{onLabelSet:function(){this.inherited(arguments);var _9db=this.containerNode||this.focusNode;this.applyTextDir(_9db);}});}return _9d6;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_9dc,_9dd){var _9de={};lang.setObject("dojo.colors",_9de);var _9df=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_9dc.fromRgb=function(_9e0,obj){var m=_9e0.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_9dd.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _9dc.fromArray(a,obj);}return _9dc.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_9df(m1,m2,H+1/3)*256,_9df(m1,m2,H)*256,_9df(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _9dc.fromArray(a,obj);}}return null;};var _9e1=function(c,low,high){c=Number(c);return isNaN(c)?high:c
high?high:c;};_9dc.prototype.sanitize=function(){var t=this;t.r=Math.round(_9e1(t.r,0,255));t.g=Math.round(_9e1(t.g,0,255));t.b=Math.round(_9e1(t.b,0,255));t.a=_9e1(t.a,0,1);return this;};_9de.makeGrey=_9dc.makeGrey=function(g,a){return _9dc.fromArray([g,g,g,a]);};lang.mixin(_9dc.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _9dc;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_9e2,win,_9e3){var _9e4={},hash={};var _9e5={length:0,add:function(_9e6){if(hash[_9e6.id]){throw new Error("Tried to register widget with id=="+_9e6.id+" but that id is already registered");}hash[_9e6.id]=_9e6;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_9e7){var id;do{id=_9e7+"_"+(_9e7 in _9e4?++_9e4[_9e7]:_9e4[_9e7]=0);}while(hash[id]);return _9e3._scopeName=="dijit"?id:_9e3._scopeName+"_"+id;},findWidgets:function(root,_9e8){var _9e9=[];function _9ea(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _9eb=node.getAttribute("widgetId");if(_9eb){var _9ec=hash[_9eb];if(_9ec){_9e9.push(_9ec);}}else{if(node!==_9e8){_9ea(node);}}}}};_9ea(root);return _9e9;},_destroyAll:function(){_9e3._curFocus=null;_9e3._prevFocus=null;_9e3._activeStack=[];_9e2.forEach(_9e5.findWidgets(win.body()),function(_9ed){if(!_9ed._destroyed){if(_9ed.destroyRecursive){_9ed.destroyRecursive();}else{if(_9ed.destroy){_9ed.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_9e3.registry=_9e5;return _9e5;});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_9ee,_9ef,_9f0,lang,on,_9f1){return _9ef("dijit.tree._dndContainer",null,{constructor:function(tree,_9f2){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_9f2);this.containerState="";_9f0.add(this.node,"dojoDndContainer");this.events=[on(this.node,_9f1.enter,lang.hitch(this,"onOverEvent")),on(this.node,_9f1.leave,lang.hitch(this,"onOutEvent")),_9ee.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_9ee.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_9f3){this.current=_9f3;},onMouseOut:function(){this.current=null;},_changeState:function(type,_9f4){var _9f5="dojoDnd"+type;var _9f6=type.toLowerCase()+"State";_9f0.replace(this.node,_9f5+_9f4,_9f5+this[_9f6]);this[_9f6]=_9f4;},_addItemClass:function(node,type){_9f0.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_9f0.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_9f7,lang,_9f8){var _9f9={hasWaiRole:function(elem,role){var _9fa=this.getWaiRole(elem);return role?(_9fa.indexOf(role)>-1):(_9fa.length>0);},getWaiRole:function(elem){return lang.trim((_9f7.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_9f7.set(elem,"role",role);},removeWaiRole:function(elem,role){var _9fb=_9f7.get(elem,"role");if(!_9fb){return;}if(role){var t=lang.trim((" "+_9fb+" ").replace(" "+role+" "," "));_9f7.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_9fc){return elem.hasAttribute?elem.hasAttribute("aria-"+_9fc):!!elem.getAttribute("aria-"+_9fc);},getWaiState:function(elem,_9fd){return elem.getAttribute("aria-"+_9fd)||"";},setWaiState:function(elem,_9fe,_9ff){elem.setAttribute("aria-"+_9fe,_9ff);},removeWaiState:function(elem,_a00){elem.removeAttribute("aria-"+_a00);}};lang.mixin(_9f8,_9f9);return _9f8;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_a01,_a02,_a03,_a04,_a05,dom,_a06,_a07,lang,_a08,when,_a09,_a0a){var _a0b=_a05("dijit.form._FormSelectWidget",_a0a,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_a0c){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_a0c});}},queryOptions:null,_setQueryOptionsAttr:function(_a0d){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_a0d});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_a0e){var opts=this.options||[];if(_a0e==null){return opts;}if(lang.isArrayLike(_a0e)){return _a01.map(_a0e,"return this.getOptions(item);",this);}if(lang.isString(_a0e)){_a0e={value:_a0e};}if(lang.isObject(_a0e)){if(!_a01.some(opts,function(_a0f,idx){for(var a in _a0e){if(!(a in _a0f)||_a0f[a]!=_a0e[a]){return false;}}_a0e=idx;return true;})){_a0e=-1;}}if(_a0e>=0&&_a0eb[_a28]?1:b[_a28]>a[_a28]?-1:0;});}}if(_a1b.onFetch){_a27=_a1b.onFetch.call(this,_a27,_a1b);}_a01.forEach(_a27,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_a29,_a2a,_a2b){if(_a2a==_a2b){this._onSetItem(_a29);}else{if(_a2a!=-1){this._onDeleteItem(_a29);}if(_a2b!=-1){this._onNewItem(_a29);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_a1a);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_a27);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _a1c;},_setValueAttr:function(_a2c,_a2d){if(!this._onChangeActive){_a2d=null;}if(this._loadingStore){this._pendingValue=_a2c;return;}if(_a2c==null){return;}if(lang.isArrayLike(_a2c)){_a2c=_a01.map(_a2c,function(_a2e){return lang.isObject(_a2e)?_a2e:{value:_a2e};});}else{if(lang.isObject(_a2c)){_a2c=[_a2c];}else{_a2c=[{value:_a2c}];}}_a2c=_a01.filter(this.getOptions(_a2c),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_a2c[0]||!_a2c[0].value)&&!!opts.length){_a2c[0]=opts[0];}_a01.forEach(opts,function(opt){opt.selected=_a01.some(_a2c,function(v){return v.value===opt.value;});});var val=_a01.map(_a2c,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_a01.map(_a2c,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_a2d]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_a01.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_a2f){this.set("value",this.getOptions(typeof _a2f=="string"?{label:_a2f}:_a2f));},_loadChildren:function(){if(this._loadingStore){return;}_a01.forEach(this._getChildren(),function(_a30){_a30.destroyRecursive();});_a01.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_a01.forEach(this._getChildren(),function(_a31){var _a32=_a01.some(val,function(v){return _a31.option&&(v===_a31.option.value);});if(_a32&&!self.multiple){self.focusedChild=_a31;}_a06.toggle(_a31.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_a32);_a31.domNode.setAttribute("aria-selected",_a32?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_a01.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _a01.map(_a01.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_a33){if(!_a33||!_a33.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _a34=this.store;this.removeOption({value:_a34.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _a35=this.store,_a36=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_a35.getLabel(item),_a37=(_a36?_a35.getIdentity(item):null);return {value:_a37,label:_a36,item:item};},_addOptionForItem:function(item){var _a38=this.store;if(_a38.isItemLoaded&&!_a38.isItemLoaded(item)){_a38.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _a39=this._getOptionObjForItem(item);this.addOption(_a39);},constructor:function(_a3a){this._oValue=(_a3a||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_a08("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_a07._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_a03.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _a3b=this.store;if(_a3b&&(_a3b.getIdentity||_a3b.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_a3b,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _a0b;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_a3c,_a3d,_a3e,_a3f,_a40,i18n,keys,lang,on,has,_a41,_a42,_a43,_a44,_a45,_a46,_a47,_a48,_a49){var _a4a=_a3d("dijit.form._SelectMenu",_a43,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _a4b=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_a3c.forEach(this.parentWidget._getChildren(),function(_a4c){if(_a4c.option&&(val===_a4c.option.value)){_a4b=true;this.focusChild(_a4c,false);}},this);}if(!_a4b){this.inherited(arguments);}}});var _a4d=_a3d("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_a41,_a42,_a47],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_a49,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _a4a({id:this.id+"_menu",parentWidget:this});_a3f.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_a4e){if(!_a4e.value&&!_a4e.label){return new _a45({ownerDocument:this.ownerDocument});}else{var _a4f=lang.hitch(this,"_setValueAttr",_a4e);var item=new _a44({option:_a4e,label:(this.labelType==="text"?(_a4e.label||"").toString().replace(/&/g,"&").replace(/"+lbl+"";},validate:function(_a5d){var _a5e=this.disabled||this.isValid(_a5d);this._set("state",_a5e?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_a5e?"false":"true");var _a5f=_a5e?"":this._missingMsg;if(_a5f&&this.focused&&this._hasBeenBlurred){_a46.show(_a5f,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_a46.hide(this.domNode);}this._set("message",_a5f);return _a5e;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_a46.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _a60=this._keyNavCodes;delete _a60[keys.LEFT_ARROW];delete _a60[keys.RIGHT_ARROW];},_setStyleAttr:function(_a61){this.inherited(arguments);_a3f.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_a62){this._loadChildren(true);this._isLoaded=true;_a62();},destroy:function(_a63){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_a63);delete this.dropDown;}_a46.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_a46.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_a4d=_a3d("dijit.form.Select",_a4d,{_setDisplay:function(_a64){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_a4d._Menu=_a4a;function _a65(_a66){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_a66,evt));}else{this.inherited(_a66,arguments);}};};_a4d.prototype._onContainerKeydown=_a65("_onContainerKeydown");_a4d.prototype._onContainerKeypress=_a65("_onContainerKeypress");return _a4d;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_a67,lang,when){var _a68=function(_a69){if(!_a69){return _a69;}var _a6a=!!_a69.then;if(_a6a){_a69=lang.delegate(_a69);}function _a6b(_a6c){_a69[_a6c]=function(){var args=arguments;var _a6d=when(_a69,function(_a6e){Array.prototype.unshift.call(args,_a6e);return _a68(_a67[_a6c].apply(_a67,args));});if(_a6c!=="forEach"||_a6a){return _a6d;}};};_a6b("forEach");_a6b("filter");_a6b("map");if(_a69.total==null){_a69.total=when(_a69,function(_a6f){return _a6f.length;});}return _a69;};lang.setObject("dojo.store.util.QueryResults",_a68);return _a68;});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_a70,_a71,_a72,keys,lang,on,_a73,_a74){return _a71("dijit._KeyNavMixin",_a74,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_a72.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _a75=this._keyNavCodes={};_a75[keys.HOME]=lang.hitch(this,"focusFirstChild");_a75[keys.END]=lang.hitch(this,"focusLastChild");_a75[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_a75[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_a75[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_a75[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_a76=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_a76,"focusin"),function(evt){self._onChildFocus(_a73.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_a77,last){if(!_a77){return;}if(this.focusedChild&&_a77!==this.focusedChild){this._onChildBlur(this.focusedChild);}_a77.set("tabIndex",this.tabIndex);_a77.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_a72.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_a72.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_a78){if(_a78&&_a78!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_a78.set("tabIndex",this.tabIndex);this.lastFocused=_a78;this._set("focusedChild",_a78);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_a79,_a7a){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_a7b){var _a7c=item.domNode,text=item.label||(_a7c.focusNode?_a7c.focusNode.label:"")||_a7c.innerText||_a7c.textContent||"",_a7d=text.replace(/^\s+/,"").substr(0,_a7b.length).toLowerCase();return (!!_a7b.length&&_a7d==_a7b)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_a7e){var _a7f=null,_a80,_a81=0,_a82=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_a7e;var _a83=/^(.)\1*$/.test(this._searchString);var _a84=_a83?1:this._searchString.length;_a80=this._searchString.substr(0,_a84);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _a85=this.focusedChild||null;if(_a84==1||!_a85){_a85=this._getNextFocusableChild(_a85,1);if(!_a85){return;}}var stop=_a85;do{var rc=this._keyboardSearchCompare(_a85,_a80);if(!!rc&&_a81++==0){_a7f=_a85;}if(rc==-1){_a81=-1;break;}_a85=this._getNextFocusableChild(_a85,1);}while(_a85&&_a85!=stop);});_a82();this.onKeyboardSearch(_a7f,evt,_a80,_a81);},_onChildBlur:function(){},_getNextFocusableChild:function(_a86,dir){var _a87=_a86;do{if(!_a86){_a86=this[dir>0?"_getFirst":"_getLast"]();if(!_a86){break;}}else{_a86=this._getNext(_a86,dir);}if(_a86!=null&&_a86!=_a87&&_a86.isFocusable()){return _a86;}}while(_a86!=_a87);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_a88,dir){if(_a88){_a88=_a88.domNode;while(_a88){_a88=_a88[dir<0?"previousSibling":"nextSibling"];if(_a88&&"getAttribute" in _a88){var w=_a73.byNode(_a88);if(w){return w;}}}}return null;}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_a89,on,_a8a){return _a89("dijit.form._ListBase",null,{selected:null,_listConnect:function(_a8b,_a8c){var self=this;return self.own(on(self.containerNode,on.selector(function(_a8d,_a8e,_a8f){return _a8d.parentNode==_a8f;},_a8b),function(evt){self[_a8c](evt,this);}));},selectFirstNode:function(){var _a90=this.containerNode.firstChild;while(_a90&&_a90.style.display=="none"){_a90=_a90.nextSibling;}this._setSelectedAttr(_a90,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _a91=this.selected;if(!_a91){this.selectFirstNode();}else{var next=_a91.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _a92=this.selected;if(!_a92){this.selectLastNode();}else{var prev=_a92.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_a93){if(this.selected!=node){var _a94=this.selected;if(_a94){this.onDeselect(_a94);}if(node){if(_a93){_a8a.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_a95,has,_a96,_a97,_a98,_a99,_a9a,_a9b){if(has("dijit-legacy-requires")){_a97(0,function(){var _a9c=["dijit/form/_FormValueWidget"];require(_a9c);});}return _a95("dijit.form._FormWidget",[_a98,_a9a,_a99,_a9b],{setDisabled:function(_a9d){_a96.deprecated("setDisabled("+_a9d+") is deprecated. Use set('disabled',"+_a9d+") instead.","","2.0");this.set("disabled",_a9d);},setValue:function(_a9e){_a96.deprecated("dijit.form._FormWidget:setValue("+_a9e+") is deprecated. Use set('value',"+_a9e+") instead.","","2.0");this.set("value",_a9e);},getValue:function(){_a96.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,""")+"\""):"";this.inherited(arguments);}});});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_a9f,lang,dom){var _aa0=lang.getObject("dojo.dnd",true);_aa0.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_aa0._uniqueId=0;_aa0.getUniqueId=function(){var id;do{id=_a9f._scopeName+"Unique"+(++_aa0._uniqueId);}while(dom.byId(id));return id;};_aa0._empty={};_aa0.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _aa0;});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_aa1,_aa2,_aa3,_aa4){return _aa1("dijit.CheckedMenuItem",_aa3,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_aa4,checked:false,_setCheckedAttr:function(_aa5){this.domNode.setAttribute("aria-checked",_aa5?"true":"false");this._set("checked",_aa5);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_aa6,on,_aa7,has,_aa8){var _aa9=new _aa6();var _aaa;_aa7(function(){var _aab=_aa8.getBox();_aa9._rlh=on(window,"resize",function(){var _aac=_aa8.getBox();if(_aab.h==_aac.h&&_aab.w==_aac.w){return;}_aab=_aac;_aa9.emit("resize");});if(has("ie")==8){var _aad=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_aad){_aad=screen.deviceXDPI;_aa9.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_aaa=evt.target;});on(document,"focusout",function(evt){_aaa=null;});}});_aa9.getEffectiveBox=function(doc){var box=_aa8.getBox(doc);var tag=_aaa&&_aaa.tagName&&_aaa.tagName.toLowerCase();if(has("ios")&&_aaa&&!_aaa.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_aaa.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_aaa.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _aa9;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_aae,lang,_aaf,_ab0,_ab1){var _ab2={};_ab2.getViewport=function(){return _aaf.getBox();};_ab2.placeOnScreen=_ab0.at;_ab2.placeOnScreenAroundElement=function(node,_ab3,_ab4,_ab5){var _ab6;if(lang.isArray(_ab4)){_ab6=_ab4;}else{_ab6=[];for(var key in _ab4){_ab6.push({aroundCorner:key,corner:_ab4[key]});}}return _ab0.around(node,_ab3,_ab6,true,_ab5);};_ab2.placeOnScreenAroundNode=_ab2.placeOnScreenAroundElement;_ab2.placeOnScreenAroundRectangle=_ab2.placeOnScreenAroundElement;_ab2.getPopupAroundAlignment=function(_ab7,_ab8){var _ab9={};_aae.forEach(_ab7,function(pos){var ltr=_ab8;switch(pos){case "after":_ab9[_ab8?"BR":"BL"]=_ab8?"BL":"BR";break;case "before":_ab9[_ab8?"BL":"BR"]=_ab8?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_ab9[ltr?"BL":"BR"]=ltr?"TL":"TR";_ab9[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_ab9[ltr?"TL":"TR"]=ltr?"BL":"BR";_ab9[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _ab9;};lang.mixin(_ab1,_ab2);return _ab1;});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_aba,dom,_abb,_abc,_abd,_abe){return _aba("dijit.MenuSeparator",[_abb,_abc,_abd],{templateString:_abe,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_abf,_ac0,_ac1,keys,_ac2,_ac3,_ac4,_ac5){return _abf("dijit.form._ComboBoxMenu",[_ac2,_ac3,_ac5,_ac4],{templateString:"",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_ac0.add(this.previousButton,"dijitMenuItemRtl");_ac0.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_ac0.add(node,"dijitMenuItemHover");},onUnhover:function(node){_ac0.remove(node,"dijitMenuItemHover");},onSelect:function(node){_ac0.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_ac0.remove(node,"dijitMenuItemSelected");},_page:function(up){var _ac6=0;var _ac7=this.domNode.scrollTop;var _ac8=_ac1.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_ac6<_ac8){var _ac9=this.getHighlightedOption();if(up){if(!_ac9.previousSibling||_ac9.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_ac9.nextSibling||_ac9.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _aca=this.domNode.scrollTop;_ac6+=(_aca-_ac7)*(up?-1:1);_ac7=_aca;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/touch","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_acb,_acc,_acd,_ace,_acf,dom,_ad0,_ad1,_ad2,fx,i18n,keys,lang,on,_ad3,has,_ad4,_ad5,_ad6,_ad7,_ad8,_ad9,_ada,_adb,_adc,_add,_ade,_adf,_ae0,_ae1,_ae2){var _ae3=new _acf();_ae3.resolve(true);function nop(){};var _ae4=_ace("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_adb,_add,_ade,_adc],{templateString:_ae2,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_ad9.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _ae5=i18n.getLocalization("dijit","common");lang.mixin(this,_ae5);this.inherited(arguments);},postCreate:function(){_ad2.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_acd.after(this,"onExecute",lang.hitch(this,"hide"),true);_acd.after(this,"onCancel",lang.hitch(this,"hide"),true);on(this.closeButtonNode,_ad4.press,function(e){e.stopPropagation();});this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_ae6.isTop(this)){this._getFocusItems();_ad8.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_ad8.focus(this._firstFocusItem);},_endDrag:function(){var _ae7=_ad1.position(this.domNode),_ae8=_ad5.getBox(this.ownerDocument);_ae7.y=Math.min(Math.max(_ae7.y,0),(_ae8.h-_ae7.h));_ae7.x=Math.min(Math.max(_ae7.x,0),(_ae8.w-_ae7.w));this._relativePosition=_ae7;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_ad7:_ad6)(node,{handle:this.titleBar});_acd.after(this._moveable,"onMoveStop",lang.hitch(this,"_endDrag"),true);}else{_ad0.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_acc.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:lang.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_ad0.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_ae9=_ad5.getBox(this.ownerDocument),p=this._relativePosition,bb=_ad1.position(node),l=Math.floor(_ae9.l+(p?Math.min(p.x,_ae9.w-bb.w):(_ae9.w-bb.w)/2)),t=Math.floor(_ae9.t+(p?Math.min(p.y,_ae9.h-bb.h):(_ae9.h-bb.h)/2));_ad2.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==keys.TAB){this._getFocusItems();var node=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_ad8.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_ad8.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==keys.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _ae3.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_ae6.hide(this);}var win=_ad5.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));_ad2.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _aea;this._fadeInDeferred=new _acf(lang.hitch(this,function(){_aea.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _aeb=this._fadeInDeferred.promise;_aea=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_ae6.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_ae6.isTop(this)){this._getFocusItems();_ad8.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _aeb;},hide:function(){if(!this._alreadyInitialized||!this.open){return _ae3.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _aec;this._fadeOutDeferred=new _acf(lang.hitch(this,function(){_aec.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(lang.hitch(this,"onHide"));var _aed=this._fadeOutDeferred.promise;_aec=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_ae6.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _aed;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_acc.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(node){if(node){_ad2.set(node,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _aee=_ad5.getBox(this.ownerDocument);_aee.w*=this.maxRatio;_aee.h*=this.maxRatio;var bb=_ad1.position(this.domNode);this._shrunk=false;if(bb.w>=_aee.w){dim={w:_aee.w};_ad1.setMarginBox(this.domNode,dim);bb=_ad1.position(this.domNode);this._shrunk=true;}if(bb.h>=_aee.h){if(!dim){dim={w:bb.w};}dim.h=_aee.h;this._shrunk=true;}if(dim){if(!dim.w){dim.w=bb.w;}if(!dim.h){dim.h=bb.h;}}}if(dim){_ad1.setMarginBox(this.domNode,dim);var _aef=[];if(this.titleBar){_aef.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_aef.push({domNode:this.actionBarNode,region:"bottom"});}var _af0={domNode:this.containerNode,region:"center"};_aef.push(_af0);var _af1=_ae1.marginBox2contentBox(this.domNode,dim);_ae1.layoutChildren(this.domNode,_af1,_aef);if(this._singleChild){var cb=_ae1.marginBox2contentBox(this.containerNode,_af0);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_acc.forEach(this.getChildren(),function(_af2){if(_af2.resize){_af2.resize();}});},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_ae6.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_ae4=_ace("dijit._DialogBase",_ae4,{_setTitleAttr:function(_af3){this._set("title",_af3);this.titleNode.innerHTML=_af3;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_af4){if(this._created&&this.textDir!=_af4){this._set("textDir",_af4);this.set("title",this.title);}}});}var _af5=_ace("dijit.Dialog",[_ae0,_ae4],{});_af5._DialogBase=_ae4;var _ae6=_af5._DialogLevelManager={_beginZIndex:950,show:function(_af6,_af7){ds[ds.length-1].focus=_ad8.curNode;var _af8=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_af5._DialogLevelManager._beginZIndex;_ad2.set(_af6.domNode,"zIndex",_af8);_adf.show(_af7,_af8-1);ds.push({dialog:_af6,underlayAttrs:_af7,zIndex:_af8});},hide:function(_af9){if(ds[ds.length-1].dialog==_af9){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_adf.hide();}else{_adf.show(pd.underlayAttrs,pd.zIndex-1);}if(_af9.refocus){var _afa=pd.focus;if(pd.dialog&&(!_afa||!dom.isDescendant(_afa,pd.dialog.domNode))){pd.dialog._getFocusItems();_afa=pd.dialog._firstFocusItem;}if(_afa){try{_afa.focus();}catch(e){}}}}else{var idx=_acc.indexOf(_acc.map(ds,function(elem){return elem.dialog;}),_af9);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_afb){return ds[ds.length-1].dialog==_afb;}};var ds=_af5._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_ad8.watch("curNode",function(attr,_afc,node){var _afd=ds[ds.length-1].dialog;if(node&&_afd&&!_afd._fadeOutDeferred&&node.ownerDocument==_afd.ownerDocument){do{if(node==_afd.domNode||_ad0.contains(node,"dijitPopup")){return;}}while(node=node.parentNode);_afd.focus();}});if(has("dijit-legacy-requires")){_ad3(0,function(){var _afe=["dijit/TooltipDialog"];_acb(_afe);});}return _af5;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_aff,dom,lang,_b00,win,_b01,_b02,_b03){var _b04={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _b03.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_b02:new _b02.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_b05){var sel=win.global==window?_b02:new _b02.SelectionManager(win.global);return sel.moveToBookmark(_b05);},getFocus:function(menu,_b06){var node=!_b01.curNode||(menu&&dom.isDescendant(_b01.curNode,menu.domNode))?_b03._prevFocus:_b01.curNode;return {node:node,bookmark:node&&(node==_b01.curNode)&&win.withGlobal(_b06||win.global,_b03.getBookmark),openedForWindow:_b06};},_activeStack:[],registerIframe:function(_b07){return _b01.registerIframe(_b07);},unregisterIframe:function(_b08){_b08&&_b08.remove();},registerWin:function(_b09,_b0a){return _b01.registerWin(_b09,_b0a);},unregisterWin:function(_b0b){_b0b&&_b0b.remove();}};_b01.focus=function(_b0c){if(!_b0c){return;}var node="node" in _b0c?_b0c.node:_b0c,_b0d=_b0c.bookmark,_b0e=_b0c.openedForWindow,_b0f=_b0d?_b0d.isCollapsed:false;if(node){var _b10=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_b10&&_b10.focus){try{_b10.focus();}catch(e){}}_b01._onFocusNode(node);}if(_b0d&&win.withGlobal(_b0e||win.global,_b03.isCollapsed)&&!_b0f){if(_b0e){_b0e.focus();}try{win.withGlobal(_b0e||win.global,_b03.moveToBookmark,null,[_b0d]);}catch(e2){}}};_b01.watch("curNode",function(name,_b11,_b12){_b03._curFocus=_b12;_b03._prevFocus=_b11;if(_b12){_b00.publish("focusNode",_b12);}});_b01.watch("activeStack",function(name,_b13,_b14){_b03._activeStack=_b14;});_b01.on("widget-blur",function(_b15,by){_b00.publish("widgetBlur",_b15,by);});_b01.on("widget-focus",function(_b16,by){_b00.publish("widgetFocus",_b16,by);});lang.mixin(_b03,_b04);return _b03;});},"dijit/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/common","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_b17,_b18,_b19,_b1a,_b1b,lang,_b1c,on,_b1d,_b1e,_b1f,_b20){var _b21=_b18("dijit.tree.dndSource",_b20,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_b22){if(!_b22){_b22={};}lang.mixin(this,_b22);var type=_b22.accept instanceof Array?_b22.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i0){if(!this.targetBox||_b25!=_b26){this.targetBox=_b1b.position(_b26.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_b28="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_b28="After";}}}if(_b24||_b26!=_b25||_b28!=_b27){if(_b25){this._removeItemClass(_b25.rowNode,_b27);}if(_b26){this._addItemClass(_b26.rowNode,_b28);}if(!_b26){m.canDrop(false);}else{if(_b26==this.tree.rootNode&&_b28!="Over"){m.canDrop(false);}else{var _b29=false,_b2a=false;if(m.source==this){_b2a=(_b28==="Over");for(var _b2b in this.selection){var _b2c=this.selection[_b2b];if(_b2c.item===_b26.item){_b29=true;break;}if(_b2c.getParent().id!==_b26.id){_b2a=false;}}}m.canDrop(!_b29&&!_b2a&&!this._isParentChildDrop(m.source,_b26.rowNode)&&this.checkItemAcceptance(_b26.rowNode,m.source,_b28.toLowerCase()));}}this.targetAnchor=_b26;this.dropPosition=_b28;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_b1f.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 _b2d=this.getSelectedTreeNodes();if(_b2d.length){if(_b2d.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_b2d[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_b2d=r;}_b2d=_b17.map(_b2d,function(n){return n.domNode;});m.startDrag(this,_b2d,this.copyState(_b19.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_b1c.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(_b2e){if(this!=_b2e){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_b1f.manager();m.canDrop(false);}}},onDndStart:function(_b2f,_b30,copy){if(this.isSource){this._changeState("Source",this==_b2f?(copy?"Copied":"Moved"):"");}var _b31=this.checkAcceptance(_b2f,_b30);this._changeState("Target",_b31?"":"Disabled");if(this==_b2f){_b1f.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_b32){return _b17.map(_b32,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_b33,_b34,copy){if(this.containerState=="Over"){var tree=this.tree,_b35=tree.model,_b36=this.targetAnchor,_b37=false;this.isDragging=false;var _b38;var _b39;var _b3a;_b38=(_b36&&_b36.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_b38=(_b36.getParent()&&_b36.getParent().item)||tree.item;_b39=_b36.getIndexInParent();if(this.dropPosition=="After"){_b39=_b36.getIndexInParent()+1;_b3a=_b36.getNextSibling()&&_b36.getNextSibling().item;}else{_b3a=_b36.item;}}else{_b38=(_b36&&_b36.item)||tree.item;_b37=true;}var _b3b;_b17.forEach(_b34,function(node,idx){var _b3c=_b33.getItem(node.id);if(_b17.indexOf(_b3c.type,"treeNode")!=-1){var _b3d=_b3c.data,_b3e=_b3d.item,_b3f=_b3d.getParent().item;}if(_b33==this){if(typeof _b39=="number"){if(_b38==_b3f&&_b3d.getIndexInParent()<_b39){_b39-=1;}}_b35.pasteItem(_b3e,_b3f,_b38,copy,_b39,_b3a);}else{if(_b35.isItem(_b3e)){_b35.pasteItem(_b3e,_b3f,_b38,copy,_b39,_b3a);}else{if(!_b3b){_b3b=this.itemCreator(_b34,_b36.rowNode,_b33);}_b35.newItem(_b3b[idx],_b38,_b39,_b3a);}}},this);if(_b37){this.tree._expandNode(_b36);}}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);_b1f.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_b1f.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_b40,_b41){if(!_b40.tree||_b40.tree!=this.tree){return false;}var root=_b40.tree.domNode;var ids=_b40.selection;var node=_b41.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 _b21;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_b42,dom,_b43,_b44,lang,has,_b45){var _b46;var a11y={_isElementShown:function(elem){var s=_b44.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_b43.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _b43.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _b47=elem.contentDocument;if("designMode" in _b47&&_b47.designMode=="on"){return true;}body=_b47.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_b43.get(elem,"disabled")){return _b46;}else{if(_b43.has(elem,"tabIndex")){return +_b43.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_b46;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _b48,last,_b49,_b4a,_b4b,_b4c,_b4d={};function _b4e(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _b4f=a11y._isElementShown,_b50=a11y.effectiveTabIndex;var _b51=function(_b52){for(var _b53=_b52.firstChild;_b53;_b53=_b53.nextSibling){if(_b53.nodeType!=1||(has("ie")<=9&&_b53.scopeName!=="HTML")||!_b4f(_b53)){continue;}var _b54=_b50(_b53);if(_b54>=0){if(_b54==0){if(!_b48){_b48=_b53;}last=_b53;}else{if(_b54>0){if(!_b49||_b54<_b4a){_b4a=_b54;_b49=_b53;}if(!_b4b||_b54>=_b4c){_b4c=_b54;_b4b=_b53;}}}var rn=_b4e(_b53);if(_b43.get(_b53,"checked")&&rn){_b4d[rn]=_b53;}}if(_b53.nodeName.toUpperCase()!="SELECT"){_b51(_b53);}}};if(_b4f(root)){_b51(root);}function rs(node){return _b4d[_b4e(node)]||node;};return {first:rs(_b48),last:rs(last),lowest:rs(_b49),highest:rs(_b4b)};},getFirstInTabbingOrder:function(root,doc){var _b55=a11y._getTabNavigable(dom.byId(root,doc));return _b55.lowest?_b55.lowest:_b55.first;},getLastInTabbingOrder:function(root,doc){var _b56=a11y._getTabNavigable(dom.byId(root,doc));return _b56.last?_b56.last:_b56.highest;}};1&&lang.mixin(_b45,a11y);return a11y;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_b57,_b58){return _b57("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _b59=this.checked;this._set("checked",!_b59);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_b59);return ret;},_setCheckedAttr:function(_b5a,_b5b){this._set("checked",_b5a);var node=this.focusNode||this.domNode;if(this._created){if(_b58.get(node,"checked")!=!!_b5a){_b58.set(node,"checked",!!_b5a);}}node.setAttribute(this._aria_attr,String(_b5a));this._handleOnChange(_b5a,_b5b);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_b5c,_b5d,_b5e,_b5f,has,_b60,lang,_b61,_b62,_b63,_b64,_b65,_b66){function _b67(){};function _b68(_b69){return function(obj,_b6a,_b6b,_b6c){if(obj&&typeof _b6a=="string"&&obj[_b6a]==_b67){return obj.on(_b6a.substring(2).toLowerCase(),lang.hitch(_b6b,_b6c));}return _b69.apply(_b5e,arguments);};};_b5c.around(_b5e,"connect",_b68);if(_b60.connect){_b5c.around(_b60,"connect",_b68);}var _b6d=_b5f("dijit._Widget",[_b64,_b65,_b66],{onClick:_b67,onDblClick:_b67,onKeyDown:_b67,onKeyPress:_b67,onKeyUp:_b67,onMouseDown:_b67,onMouseMove:_b67,onMouseOut:_b67,onMouseOver:_b67,onMouseLeave:_b67,onMouseEnter:_b67,onMouseUp:_b67,constructor:function(_b6e){this._toConnect={};for(var name in _b6e){if(this[name]===_b67){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_b6e[name];delete _b6e[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_b67){return _b5e.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_b6f){_b60.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_b6f);},attr:function(name,_b70){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_b60.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_b61("[widgetId]",this.containerNode).map(_b63.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_b62(0,function(){var _b71=["dijit/_base"];require(_b71);});}return _b6d;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_b72,dom,_b73,lang,on,has,_b74,_b75,win){var ios4=has("ios")<5;var _b76=has("pointer-events")||has("MSPointer"),_b77=(function(){var _b78={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_b78[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _b78;})();var _b79=has("touch-events");var _b7a,_b7b,_b7c=false,_b7d,_b7e,_b7f,_b80,_b81,_b82;var _b83;function _b84(_b85,_b86,_b87){if(_b76&&_b87){return function(node,_b88){return on(node,_b87,_b88);};}else{if(_b79){return function(node,_b89){var _b8a=on(node,_b86,function(evt){_b89.call(this,evt);_b83=(new Date()).getTime();}),_b8b=on(node,_b85,function(evt){if(!_b83||(new Date()).getTime()>_b83+1000){_b89.call(this,evt);}});return {remove:function(){_b8a.remove();_b8b.remove();}};};}else{return function(node,_b8c){return on(node,_b85,_b8c);};}}};function _b8d(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _b8e(e,_b8f,_b90){if(_b74.isRight(e)){return;}var _b91=_b8d(e.target);_b7b=!e.target.disabled&&_b91&&_b91.dojoClick;if(_b7b){_b7c=(_b7b=="useTarget");_b7d=(_b7c?_b91:e.target);if(_b7c){e.preventDefault();}_b7e=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_b7f=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_b80=(typeof _b7b=="object"?_b7b.x:(typeof _b7b=="number"?_b7b:0))||4;_b81=(typeof _b7b=="object"?_b7b.y:(typeof _b7b=="number"?_b7b:0))||4;if(!_b7a){_b7a=true;function _b92(e){if(_b7c){_b7b=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_b7d);}else{_b7b=_b7b&&(e.changedTouches?e.changedTouches[0].target:e.target)==_b7d&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_b7e)<=_b80&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_b7f)<=_b81;}};win.doc.addEventListener(_b8f,function(e){if(_b74.isRight(e)){return;}_b92(e);if(_b7c){e.preventDefault();}},true);win.doc.addEventListener(_b90,function(e){if(_b74.isRight(e)){return;}_b92(e);if(_b7b){_b82=(new Date()).getTime();var _b93=(_b7c?_b7d:e.target);if(_b93.tagName==="LABEL"){_b93=dom.byId(_b93.getAttribute("for"))||_b93;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _b94(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _b95=_b94("mousedown");var _b96=_b94("mouseup");var _b97=_b94("click");setTimeout(function(){on.emit(_b93,"mousedown",_b95);on.emit(_b93,"mouseup",_b96);on.emit(_b93,"click",_b97);_b82=(new Date()).getTime();},0);}},true);function _b98(type){win.doc.addEventListener(type,function(e){var _b99=e.target;if(_b7b&&!e._dojo_click&&(new Date()).getTime()<=_b82+1000&&!(_b99.tagName=="INPUT"&&_b73.contains(_b99,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_b99.tagName!="INPUT"||(_b99.type=="radio"&&(_b73.contains(_b99,"dijitCheckBoxInput")||_b73.contains(_b99,"mblRadioButton")))||(_b99.type=="checkbox"&&(_b73.contains(_b99,"dijitCheckBoxInput")||_b73.contains(_b99,"mblCheckBox"))))&&_b99.tagName!="TEXTAREA"&&_b99.tagName!="AUDIO"&&_b99.tagName!="VIDEO"){e.preventDefault();}}},true);};_b98("click");_b98("mousedown");_b98("mouseup");}}};var _b9a;if(has("touch")){if(_b76){_b75(function(){win.doc.addEventListener(_b77.down,function(evt){_b8e(evt,_b77.move,_b77.up);},true);});}else{_b75(function(){_b9a=win.body();win.doc.addEventListener("touchstart",function(evt){_b83=(new Date()).getTime();var _b9b=_b9a;_b9a=evt.target;on.emit(_b9b,"dojotouchout",{relatedTarget:_b9a,bubbles:true});on.emit(_b9a,"dojotouchover",{relatedTarget:_b9b,bubbles:true});_b8e(evt,"touchmove","touchend");},true);function _b9c(evt){var _b9d=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_b9d.touches=evt.touches;_b9d.altKey=evt.altKey;_b9d.changedTouches=evt.changedTouches;_b9d.ctrlKey=evt.ctrlKey;_b9d.metaKey=evt.metaKey;_b9d.shiftKey=evt.shiftKey;_b9d.targetTouches=evt.targetTouches;}return _b9d;};on(win.doc,"touchmove",function(evt){_b83=(new Date()).getTime();var _b9e=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_b9e){if(_b9a!==_b9e){on.emit(_b9a,"dojotouchout",{relatedTarget:_b9e,bubbles:true});on.emit(_b9e,"dojotouchover",{relatedTarget:_b9a,bubbles:true});_b9a=_b9e;}if(!on.emit(_b9e,"dojotouchmove",_b9c(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_b83=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_b9c(evt));});});}}var _b9f={press:_b84("mousedown","touchstart",_b77.down),move:_b84("mousemove","dojotouchmove",_b77.move),release:_b84("mouseup","dojotouchend",_b77.up),cancel:_b84(_b74.leave,"touchcancel",_b76?_b77.cancel:null),over:_b84("mouseover","dojotouchover",_b77.over),out:_b84("mouseout","dojotouchout",_b77.out),enter:_b74._eventHandler(_b84("mouseover","dojotouchover",_b77.over)),leave:_b74._eventHandler(_b84("mouseout","dojotouchout",_b77.out))};1&&(dojo.touch=_b9f);return _b9f;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_ba0,dojo,_ba1,_ba2,_ba3,dom,_ba4,geom,_ba5,_ba6){if(!dojo.isAsync){_ba5(0,function(){var _ba7=["./fx/Toggler"];_ba6(_ba7);});}var _ba8=dojo.fx={};var _ba9={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _baa=function(_bab){this._index=-1;this._animations=_bab||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_ba1.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_baa.prototype=new _ba0();lang.extend(_baa,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_ba2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_ba2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_bac,_bad){if(!this._current){this._current=this._animations[this._index=0];}if(!_bad&&this._current.status()=="playing"){return this;}var _bae=_ba2.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_baf=_ba2.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_bb0=_ba2.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_bae.remove();_baf.remove();_bb0.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_ba2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_ba2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_ba2.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_bb1,_bb2){this.pause();var _bb3=this.duration*_bb1;this._current=null;_ba1.some(this._animations,function(a,_bb4){if(_bb3<=a.duration){this._current=a;this._index=_bb4;return true;}_bb3-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_bb3/this._current.duration);}if(_bb2){this.play();}return this;},stop:function(_bb5){if(this._current){if(_bb5){for(;this._index+1this._animations.length){this._fire("onEnd");}},_call:function(_bbb,args){var t=this._pseudoAnimation;t[_bbb].apply(t,args);},play:function(_bbc,_bbd){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_bbe,_bbf){var ms=this.duration*_bbe;_ba1.forEach(this._animations,function(a){a.gotoPercent(a.duration0){this.isExpandable=true;_bc7.forEach(_bf7,function(item){var id=_bf8.getIdentity(item),_bff=tree._itemNodesMap[id],node;if(_bff){for(var i=0;i<_bff.length;i++){if(_bff[i]&&!_bff[i].getParent()){node=_bff[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_bf8.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(_bff){_bff.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_bc7.forEach(this.getChildren(),function(_c00){_c00._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _be3(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 _c01=this.getChildren();if(_c01.length==0){this.isExpandable=false;this.collapse();}_bc7.forEach(_c01,function(_c02){_c02._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_c03){this.labelNode.setAttribute("aria-selected",_c03?"true":"false");_bcc.toggle(this.rowNode,"dijitTreeRowSelected",_c03);},focus:function(){_bd5.focus(this.focusNode);}});if(has("dojo-bidi")){_be6.extend({_setTextDirAttr:function(_c04){if(_c04&&((this.textDir!=_c04)||!this._created)){this._set("textDir",_c04);this.applyTextDir(this.labelNode);_bc7.forEach(this.getChildren(),function(_c05){_c05.set("textDir",_c04);},this);}}});}var Tree=_bca("dijit.Tree",[_bd8,_bdd,_bd9,_bdc],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_bdf,persist:false,autoExpand:false,dndController:_be2,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(_c06,_c07){_bd2.publish(this.id,lang.mixin({tree:this,event:_c06},_c07||{}));},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 _bcb();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_bd3.enter),function(evt){self._onNodeMouseEnter(_bd6.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_bd3.leave),function(evt){self._onNodeMouseLeave(_bd6.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bd4.press),function(evt){self._onNodePress(_bd6.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bd4),function(evt){self._onClick(_bd6.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_bd6.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_bc8.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_bc8.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_bc8.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 _c08={};for(var i=0;ithis.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _be6(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_c45){if(_c45&&this.textDir!=_c45){this._set("textDir",_c45);this.rootNode.set("textDir",_c45);}}});}Tree.PathError=_bcf("TreePathError");Tree._TreeNode=_be6;return Tree;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_c46,has,_c47,_c48){return _c46("dijit.form._FormValueWidget",[_c47,_c48],{_layoutHackIE7:function(){if(has("ie")==7){var _c49=this.domNode;var _c4a=_c49.parentNode;var _c4b=_c49.firstChild||_c49;var _c4c=_c4b.style.filter;var _c4d=this;while(_c4a&&_c4a.clientHeight==0){(function ping(){var _c4e=_c4d.connect(_c4a,"onscroll",function(){_c4d.disconnect(_c4e);_c4b.style.filter=(new Date()).getMilliseconds();_c4d.defer(function(){_c4b.style.filter=_c4c;});});})();_c4a=_c4a.parentNode;}}}});});},"url:dijit/templates/Menu.html":"\n","url:dijit/templates/TreeNode.html":"\n","url:dijit/layout/templates/AccordionButton.html":"\n","url:dijit/templates/MenuSeparator.html":"\n","url:dijit/templates/ProgressBar.html":"\n","url:dijit/form/templates/DropDownButton.html":"▼ \n","url:dijit/form/templates/DropDownBox.html":"\n","url:dijit/templates/CheckedMenuItem.html":"\n\t\n\t\t \n\t\t\n\t \n\t \n\t \n\t \n \n","url:dijit/templates/Tooltip.html":"\n","url:dijit/form/templates/ValidationTextBox.html":"\n","url:dijit/templates/InlineEditBox.html":" \n","url:dijit/templates/ColorPalette.html":"\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"\n\t \n\t \n
","url:dijit/layout/templates/TabContainer.html":"\n","url:dijit/form/templates/ComboButton.html":"\n","url:dijit/templates/Tree.html":"\n","url:dijit/templates/Dialog.html":"\n\t
\n\t\t \n\t\t\n\t\t\tx \n\t\t \n\t
\n\t
\n\t${!actionBarTemplate}\n
\n\n","url:dijit/form/templates/TextBox.html":"\n","url:dijit/form/templates/Select.html":"\n","url:dijit/templates/MenuItem.html":"\n\t\n\t\t \n\t \n\t \n\t \n\t\n\t\t\n\t\t\t \n\t\t\t+ \n\t\t \n\t \n \n","url:dijit/layout/templates/_TabButton.html":"\n\t \n\t \n\t\n\t\t[x] \n
\n","url:dijit/form/templates/CheckBox.html":"
\n","url:dijit/layout/templates/ScrollingTabController.html":"","url:dijit/form/templates/Button.html":"● \n","url:dijit/templates/TooltipDialog.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);
\ No newline at end of file