",this.contentWidget.domNode,"after");var _29f=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_29f._buttonWidget=(new cls({contentWidget:_29f,label:_29f.title,title:_29f.tooltip,dir:_29f.dir,lang:_29f.lang,textDir:_29f.textDir,iconClass:_29f.iconClass,id:_29f.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_28d.place("
",this.domNode);_28d.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _2a0=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_2a1,_2a2){_2a0.set("label",_2a2);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_2a3,_2a4){_2a0.set("title",_2a4);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_2a5,_2a6){_2a0.set("iconClass",_2a6);}))];},_setSelectedAttr:function(_2a7){this._set("selected",_2a7);this.button.set("selected",_2a7);if(_2a7){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_288.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_2a8){this.contentWidget.destroyRecursive(_2a8);}});var _2a9=_289("dijit.layout.AccordionContainer",_297,{duration:_291.defaultDuration,buttonWidget:_29a,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 _2aa=this.selectedChildWidget;if(!_2aa){return;}var _2ab=_2aa._wrapperWidget.domNode,_2ac=_28e.getMarginExtents(_2ab),_2ad=_28e.getPadBorderExtents(_2ab),_2ae=_2aa._wrapperWidget.containerNode,_2af=_28e.getMarginExtents(_2ae),_2b0=_28e.getPadBorderExtents(_2ae),_2b1=this._contentBox;var _2b2=0;_288.forEach(this.getChildren(),function(_2b3){if(_2b3!=_2aa){_2b2+=_28e.getMarginSize(_2b3._wrapperWidget.domNode).h;}});this._verticalSpace=_2b1.h-_2b2-_2ac.h-_2ad.h-_2af.h-_2b0.h-_2aa._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_2ac.w-_2ad.w-_2af.w-_2b0.w};if(_2aa){_2aa.resize(this._containerContentBox);}},_setupChild:function(_2b4){_2b4._wrapperWidget=_29e({contentWidget:_2b4,buttonWidget:this.buttonWidget,id:_2b4.id+"_wrapper",dir:_2b4.dir,lang:_2b4.lang,textDir:_2b4.textDir,parent:this});this.inherited(arguments);},addChild:function(_2b5,_2b6){if(this._started){var _2b7=this.containerNode;if(_2b6&&typeof _2b6=="number"){var _2b8=_293.prototype.getChildren.call(this);if(_2b8&&_2b8.length>=_2b6){_2b7=_2b8[_2b6-1].domNode;_2b6="after";}}_28d.place(_2b5.domNode,_2b7,_2b6);if(!_2b5._started){_2b5.startup();}this._setupChild(_2b5);_28f.publish(this.id+"-addChild",_2b5,_2b6);this.layout();if(!this.selectedChildWidget){this.selectChild(_2b5);}}else{this.inherited(arguments);}},removeChild:function(_2b9){if(_2b9._wrapperWidget){_28d.place(_2b9.domNode,_2b9._wrapperWidget.domNode,"after");_2b9._wrapperWidget.destroy();delete _2b9._wrapperWidget;}_28c.remove(_2b9.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _288.map(this.inherited(arguments),function(_2ba){return _2ba.declaredClass=="dijit.layout._AccordionInnerContainer"?_2ba.contentWidget:_2ba;},this);},destroy:function(){if(this._animation){this._animation.stop();}_288.forEach(this.getChildren(),function(_2bb){if(_2bb._wrapperWidget){_2bb._wrapperWidget.destroy();}else{_2bb.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_2bc){_2bc._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_2bd){_2bd._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_2be,_2bf,_2c0){if(has("ie")<8){_2c0=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_2be){_2be._wrapperWidget.set("selected",true);var d=this._showChild(_2be);if(this.doLayout&&_2be.resize){_2be.resize(this._containerContentBox);}}if(_2bf){_2bf._wrapperWidget.set("selected",false);if(!_2c0){this._hideChild(_2bf);}}if(_2c0){var _2c1=_2be._wrapperWidget.containerNode,_2c2=_2bf._wrapperWidget.containerNode;var _2c3=_2be._wrapperWidget.containerNode,_2c4=_28e.getMarginExtents(_2c3),_2c5=_28e.getPadBorderExtents(_2c3),_2c6=_2c4.h+_2c5.h;_2c2.style.height=(self._verticalSpace-_2c6)+"px";this._animation=new fx.Animation({node:_2c1,duration:this.duration,curve:[1,this._verticalSpace-_2c6-1],onAnimate:function(_2c7){_2c7=Math.floor(_2c7);_2c1.style.height=_2c7+"px";_2c2.style.height=(self._verticalSpace-_2c6-_2c7)+"px";},onEnd:function(){delete self._animation;_2c1.style.height="auto";_2bf._wrapperWidget.containerNode.style.display="none";_2c2.style.height="auto";self._hideChild(_2bf);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_2c8){if(this.disabled||e.altKey||!(_2c8||e.ctrlKey)){return;}var c=e.charOrCode;if((_2c8&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_28a.stop(e);}else{if((_2c8&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_28a.stop(e);}}}});if(has("dijit-legacy-requires")){_292(0,function(){var _2c9=["dijit/layout/AccordionPane"];_287(_2c9);});}_2a9._InnerContainer=_29e;_2a9._Button=_29a;return _2a9;});},"dijit/form/ComboButton":function(){require({cache:{"url:dijit/form/templates/ComboButton.html":"
\n"}});define("dijit/form/ComboButton",["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_2ca,_2cb,keys,_2cc,_2cd,_2ce){return _2ca("dijit.form.ComboButton",_2cd,{templateString:_2ce,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_2cc.focus(this._popupStateNode);_2cb.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_2cc.focus(this.titleNode);_2cb.stop(evt);}},focus:function(_2cf){if(!this.disabled){_2cc.focus(_2cf=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/data/util/filter","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","dojo/string","./DataList","../registry","./_TextBoxMixin","./_SearchMixin"],function(_2d0,_2d1,_2d2,_2d3,keys,lang,_2d4,_2d5,has,_2d6,_2d7,_2d8,_2d9,_2da){return _2d1("dijit.form._AutoCompleterMixin",_2da,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2db){var pos=0;if(typeof (_2db.selectionStart)=="number"){pos=_2db.selectionStart;}else{if(has("ie")){var tr=_2db.ownerDocument.selection.createRange().duplicate();var ntr=_2db.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(_2dc,_2dd){_2dd=parseInt(_2dd);_2d9.selectInputText(_2dc,_2dd,_2dd);},_setDisabledAttr:function(_2de){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_2de?"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 _2df=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_2df=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(_2df);}_2d3.stop(evt);break;case keys.ENTER:if(_2df){if(_2df==pw.nextButton){this._nextSearch(1);_2d3.stop(evt);break;}else{if(_2df==pw.previousButton){this._nextSearch(-1);_2d3.stop(evt);break;}}_2d3.stop(evt);}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _2e0=this.get("displayedValue");if(pw&&(_2e0==pw._messages["previousMessage"]||_2e0==pw._messages["nextMessage"])){break;}if(_2df){this._selectOption(_2df);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2d9.selectInputText(fn,fn.value.length);var _2e1=this.ignoreCase?"toLowerCase":"substr";if(text[_2e1](0).indexOf(this.focusNode.value[_2e1](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2d9.selectInputText(fn,cpos);}}else{fn.value=text;_2d9.selectInputText(fn);}},_openResultList:function(_2e2,_2e3,_2e4){var _2e5=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_2e2.length&&_2e4.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_2e6){_2e2.nextPage(_2e6!==-1);this.focus();});this.dropDown.createOptions(_2e2,_2e4,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _2e4){if(_2e4.direction){this.dropDown.highlightFirstOption();}else{if(!_2e4.direction){this.dropDown.highlightLastOption();}}if(_2e5){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_2e3[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");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _2e7=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_2e7==pw._messages["previousMessage"]||_2e7==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_2e7);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_2e8,_2e9){var _2ea="";if(item){if(!_2e9){_2e9=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_2ea=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_2e9;}this.set("value",_2ea,_2e8,_2e9,item);},_announceOption:function(node){if(!node){return;}var _2eb;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_2eb=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_2eb=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_2eb);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2d2.get(node,"id"));this._autoCompleteText(_2eb);},_selectOption:function(_2ec){this.closeDropDown();if(_2ec){this._announceOption(_2ec);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _2ed=this.id+"_popup",_2ee=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _2ee({onChange:lang.hitch(this,this._selectOption),id:_2ed,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_2ed);}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _2ef=this.srcNodeRef;this.store=new _2d7({},_2ef);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _2f0=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_2f0):item[_2f0];}}}},postCreate:function(){var _2f1=_2d4("label[for=\""+this.id+"\"]");if(_2f1.length){if(!_2f1[0].id){_2f1[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_2f1[0].id);}this.inherited(arguments);this.connect(this,"onSearch","_openResultList");},_getMenuLabelFromItem:function(item){var _2f2=this.labelFunc(item,this.store),_2f3=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_2f2=this.doHighlight(_2f2,this._lastInput);_2f3="html";}return {html:_2f3=="html",label:_2f2};},doHighlight:function(_2f4,find){var _2f5=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2d5.escapeString(find);return this._escapeHtml(_2f4.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_2f5),"\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,_2f6){return (_2f6._oldAPI?_2f6.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_2f7,_2f8,_2f9,item){this._set("item",item||null);if(_2f7==null){_2f7="";}this.inherited(arguments);},_setTextDirAttr:function(_2fa){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_2fa);}}});});},"url:dijit/templates/ColorPalette.html":"
\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"
\n\t
\n\t
\n
","dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_2fb,_2fc,_2fd){return _2fb("dijit.form.MappedTextBox",_2fd,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,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=_2fc.place("
",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"
\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_2fe,_2ff,_300,lang,_301,_302,_303,_304,_305){return _2fe("dijit.form.ComboBoxMixin",[_304,_302],{dropDownClass:_303,hasDownArrow:true,templateString:_305,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(_306){if(!_306.get){lang.mixin(_306,{_oldAPI:true,get:function(id){var _307=new _2ff();this.fetchItemByIdentity({identity:id,onItem:function(_308){_307.resolve(_308);},onError:function(_309){_307.reject(_309);}});return _307.promise;},query:function(_30a,_30b){var _30c=new _2ff(function(){_30d.abort&&_30d.abort();});_30c.total=new _2ff();var _30d=this.fetch(lang.mixin({query:_30a,onBegin:function(_30e){_30c.total.resolve(_30e);},onComplete:function(_30f){_30c.resolve(_30f);},onError:function(_310){_30c.reject(_310);}},_30b));return _301(_30c);}});}this._set("store",_306);},postMixInProperties:function(){var _311=this.params.store||this.store;if(_311){this._setStoreAttr(_311);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _312=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_300.deprecated(_312+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_300.deprecated(_312+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_300.deprecated(_312+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_313){new _313({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_314,_315,dom,_316,keys,lang,on,_317){var _318=_315("dijit.form._TextBoxMixin",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(_319,_31a,_31b){var _31c;if(_319!==undefined){_31c=this.filter(_319);if(typeof _31b!="string"){if(_31c!==null&&((typeof _31c!="number")||!isNaN(_31c))){_31b=this.filter(this.format(_31c,this.constraints));}else{_31b="";}}}if(_31b!=null&&((typeof _31b)!="number"||!isNaN(_31b))&&this.textbox.value!=_31b){this.textbox.value=_31b;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_31b);}this.inherited(arguments,[_31c,_31a]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_31d){if(_31d==null){_31d="";}else{if(typeof _31d!="string"){_31d=String(_31d);}}this.textbox.value=_31d;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_31d);}},format:function(_31e){return _31e==null?"":(_31e.toString?_31e.toString():_31e);},parse:function(_31f){return _31f;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._processInput(evt);},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _320=function(e){var _321;if(e.type=="keydown"){_321=e.keyCode;switch(_321){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(_321){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((_321>=65&&_321<=90)||(_321>=48&&_321<=57)||_321==keys.SPACE){return;}var _322=false;for(var i in keys){if(keys[i]===e.keyCode){_322=true;break;}}if(!_322){return;}}}_321=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_321){_321=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_321){_321=229;}if(e.type=="keypress"){if(typeof _321!="string"){return;}if((_321>="a"&&_321<="z")||(_321>="A"&&_321<="Z")||(_321>="0"&&_321<="9")||(_321===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux={faux:true},attr;for(attr in e){if(attr!="layerX"&&attr!="layerY"){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_321,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}this.defer(function(){this._onInput(faux);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",lang.hitch(this,_320)));},_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=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;if(!this._isTextSelected()){_318.selectInputText(this.textbox);}});this.defer(function(){if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_323){if(!this._created||this.textDir!=_323){this._set("textDir",_323);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_318._setSelectionRange=_317._setSelectionRange=function(_324,_325,stop){if(_324.setSelectionRange){_324.setSelectionRange(_325,stop);}};_318.selectInputText=_317.selectInputText=function(_326,_327,stop){_326=dom.byId(_326);if(isNaN(_327)){_327=0;}if(isNaN(stop)){stop=_326.value?_326.value.length:0;}try{_326.focus();_318._setSelectionRange(_326,_327,stop);}catch(e){}};return _318;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_328,_329,has,_32a){return _328("dijit.form.SimpleTextarea",_32a,{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){_329.add(this.textbox,"dijitTextAreaCols");}},filter:function(_32b){if(_32b){_32b=_32b.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _32c=parseInt(this.maxLength);var _32d=this.textbox.value.replace(/\r/g,"");var _32e=_32d.length-_32c;if(_32e>0){var _32f=this.textbox;if(_32f.selectionStart){var pos=_32f.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_32d.substring(0,pos-_32e-cr)+_32d.substring(pos-cr);_32f.setSelectionRange(pos-_32e,pos-_32e);}else{if(this.ownerDocument.selection){_32f.focus();var _330=this.ownerDocument.selection.createRange();_330.moveStart("character",-_32e);_330.text="";_330.select();}}}}this.inherited(arguments);}});});},"url:dijit/layout/templates/_TabButton.html":"
\n\t
\n\t
\n\t
\n\t\t[x] \n
\n","dijit/_base/window":function(){define("dijit/_base/window",["dojo/window","../main"],function(_331,_332){_332.getDocumentWindow=function(doc){return _331.get(doc);};});},"dijit/PopupMenuItem":function(){define("dijit/PopupMenuItem",["dojo/_base/declare","dojo/dom-style","dojo/query","./registry","./MenuItem","./hccss"],function(_333,_334,_335,_336,_337){return _333("dijit.PopupMenuItem",_337,{_fillContent:function(){if(this.srcNodeRef){var _338=_335("*",this.srcNodeRef);this.inherited(arguments,[_338[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_335("[widgetId]",this.dropDownContainer)[0];this.popup=_336.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_334.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_339){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_339);}delete this.popup;}this.inherited(arguments);}});});},"dojo/hccss":function(){define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_33a,_33b,_33c,_33d,has,_33e,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_33b.blankGif||_33a.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_33d.getComputedStyle(div),_33f=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_33f&&(_33f=="none"||_33f=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_33e(90,function(){if(has("highcontrast")){_33c.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_340,_341,_342){return _340("dijit.form.RadioButton",[_341,_342],{baseClass:"dijitRadio"});});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_343,keys,_344,has,_345,win,_346){var ret=_344("dijit._OnDijitClickMixin",null,{connect:function(obj,_347,_348){return this.inherited(arguments,[obj,_347=="ondijitclick"?_346:_347,_348]);}});ret.a11yclick=_346;return ret;});},"dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"
\n"}});define("dijit/InlineEditBox",["require","dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/when","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_349,_34a,_34b,_34c,_34d,_34e,_34f,_350,i18n,_351,keys,lang,has,when,fm,_352,_353,_354,_355,_356,_357,_358,_359){var _35a=_34b("dijit._InlineEditor",[_352,_353,_354],{templateString:_359,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_34a.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)||_349(this.editor)):this.editor;var _35b=this.sourceStyle,_35c="line-height:"+_35b.lineHeight+";",_35d=_34f.getComputedStyle(this.domNode);_34a.forEach(["Weight","Family","Size","Style"],function(prop){var _35e=_35b["font"+prop],_35f=_35d["font"+prop];if(_35f!=_35e){_35c+="font-"+prop+":"+_35b["font"+prop]+";";}},this);_34a.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_35b[prop];},this);var _360=this.inlineEditBox.width;if(_360=="100%"){_35c+="width:100%;";this.domNode.style.display="block";}else{_35c+="width:"+(_360+(Number(_360)==_360?"px":""))+";";}var _361=lang.delegate(this.inlineEditBox.editorParams,{style:_35c,dir:this.dir,lang:this.lang,textDir:this.textDir});_361["displayedValue" in Cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new Cls(_361,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_34e.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");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?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_350.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_350.stop(e);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(){_357.selectInputText(this.editWidget.focusNode);});}}}});var _362=_34b("dijit.InlineEditBox",_352,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_358,editorWrapper:_35a,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;var _363={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _363){this.connect(this.displayNode,name,_363[name]);}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;}_34d.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_364){_351.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_364);},_setDisabledAttr:function(_365){this.domNode.setAttribute("aria-disabled",_365?"true":"false");if(_365){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_34d.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_365);this._set("disabled",_365);},_onMouseOver:function(){if(!this.disabled){_34d.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_34d.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_350.stop(e);}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_34c.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _366=_34e.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:_34f.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_366);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_34d.add(this.displayNode,"dijitOffScreen");_34d.remove(ww.domNode,"dijitOffScreen");_34f.set(ww.domNode,{visibility:"visible"});_34c.set(this.displayNode,"tabIndex","-1");when(ww.editWidget.onLoadDeferred,lang.hitch(ww,function(){this.defer(function(){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(_367){var ww=this.wrapperWidget;_34f.set(ww.domNode,{visibility:"hidden"});_34d.add(ww.domNode,"dijitOffScreen");_34d.remove(this.displayNode,"dijitOffScreen");_34c.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_367){fm.focus(this.displayNode);}},save:function(_368){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _369=ww.getValue();this.set("value",_369);this._showText(_368);},setValue:function(val){_351.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 _36a=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""").replace(/\n/g,"
");this.displayNode.innerHTML=_36a||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_351.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_36b){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_36b);},_setTextDirAttr:function(_36c){if(!this._created||this.textDir!=_36c){this._set("textDir",_36c);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_362._InlineEditor=_35a;return _362;});},"dojo/selector/acme":function(){define("dojo/selector/acme",["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_36d,lang,win){var trim=lang.trim;var each=_36d.forEach;var _36e=function(){return win.doc;};var _36f=(_36e().compatMode)=="BackCompat";var _370=">~+";var _371=false;var _372=function(){return true;};var _373=function(_374){if(_370.indexOf(_374.slice(-1))>=0){_374+=" * ";}else{_374+=" ";}var ts=function(s,e){return trim(_374.slice(s,e));};var _375=[];var _376=-1,_377=-1,_378=-1,_379=-1,_37a=-1,inId=-1,_37b=-1,_37c,lc="",cc="",_37d;var x=0,ql=_374.length,_37e=null,_37f=null;var _380=function(){if(_37b>=0){var tv=(_37b==x)?null:ts(_37b,x);_37e[(_370.indexOf(tv)<0)?"tag":"oper"]=tv;_37b=-1;}};var _381=function(){if(inId>=0){_37e.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _382=function(){if(_37a>=0){_37e.classes.push(ts(_37a+1,x).replace(/\\/g,""));_37a=-1;}};var _383=function(){_381();_380();_382();};var _384=function(){_383();if(_379>=0){_37e.pseudos.push({name:ts(_379+1,x)});}_37e.loops=(_37e.pseudos.length||_37e.attrs.length||_37e.classes.length);_37e.oquery=_37e.query=ts(_37d,x);_37e.otag=_37e.tag=(_37e["oper"])?null:(_37e.tag||"*");if(_37e.tag){_37e.tag=_37e.tag.toUpperCase();}if(_375.length&&(_375[_375.length-1].oper)){_37e.infixOper=_375.pop();_37e.query=_37e.infixOper.query+" "+_37e.query;}_375.push(_37e);_37e=null;};for(;lc=cc,cc=_374.charAt(x),x
=0){if(cc=="]"){if(!_37f.attr){_37f.attr=ts(_376+1,x);}else{_37f.matchFor=ts((_378||_376+1),x);}var cmf=_37f.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_37f.matchFor=cmf.slice(1,-1);}}if(_37f.matchFor){_37f.matchFor=_37f.matchFor.replace(/\\/g,"");}_37e.attrs.push(_37f);_37f=null;_376=_378=-1;}else{if(cc=="="){var _385=("|~^$*".indexOf(lc)>=0)?lc:"";_37f.type=_385+cc;_37f.attr=ts(_376+1,x-_385.length);_378=x+1;}}}else{if(_377>=0){if(cc==")"){if(_379>=0){_37f.value=ts(_377+1,x);}_379=_377=-1;}}else{if(cc=="#"){_383();inId=x+1;}else{if(cc=="."){_383();_37a=x;}else{if(cc==":"){_383();_379=x;}else{if(cc=="["){_383();_376=x;_37f={};}else{if(cc=="("){if(_379>=0){_37f={name:ts(_379+1,x),value:null};_37e.pseudos.push(_37f);}_377=x;}else{if((cc==" ")&&(lc!=cc)){_384();}}}}}}}}}return _375;};var _386=function(_387,_388){if(!_387){return _388;}if(!_388){return _387;}return function(){return _387.apply(window,arguments)&&_388.apply(window,arguments);};};var _389=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _38a=function(n){return (1==n.nodeType);};var _38b="";var _38c=function(elem,attr){if(!elem){return _38b;}if(attr=="class"){return elem.className||_38b;}if(attr=="for"){return elem.htmlFor||_38b;}if(attr=="style"){return elem.style.cssText||_38b;}return (_371?elem.getAttribute(attr):elem.getAttribute(attr,2))||_38b;};var _38d={"*=":function(attr,_38e){return function(elem){return (_38c(elem,attr).indexOf(_38e)>=0);};},"^=":function(attr,_38f){return function(elem){return (_38c(elem,attr).indexOf(_38f)==0);};},"$=":function(attr,_390){return function(elem){var ea=" "+_38c(elem,attr);var _391=ea.lastIndexOf(_390);return _391>-1&&(_391==(ea.length-_390.length));};},"~=":function(attr,_392){var tval=" "+_392+" ";return function(elem){var ea=" "+_38c(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_393){var _394=_393+"-";return function(elem){var ea=_38c(elem,attr);return ((ea==_393)||(ea.indexOf(_394)==0));};},"=":function(attr,_395){return function(elem){return (_38c(elem,attr)==_395);};}};var _396=(typeof _36e().firstChild.nextElementSibling=="undefined");var _397=!_396?"nextElementSibling":"nextSibling";var _398=!_396?"previousElementSibling":"previousSibling";var _399=(_396?_38a:_372);var _39a=function(node){while(node=node[_398]){if(_399(node)){return false;}}return true;};var _39b=function(node){while(node=node[_397]){if(_399(node)){return false;}}return true;};var _39c=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[_397]){if(_399(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _39d=function(elem){return !((_39c(elem))%2);};var _39e=function(elem){return ((_39c(elem))%2);};var _39f={"checked":function(name,_3a0){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_3a1){return function(elem){return elem.disabled;};},"enabled":function(name,_3a2){return function(elem){return !elem.disabled;};},"first-child":function(){return _39a;},"last-child":function(){return _39b;},"only-child":function(name,_3a3){return function(node){return _39a(node)&&_39b(node);};},"empty":function(name,_3a4){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,_3a5){var cz=_3a5.charAt(0);if(cz=="\""||cz=="'"){_3a5=_3a5.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_3a5)>=0);};},"not":function(name,_3a6){var p=_373(_3a6)[0];var _3a7={el:1};if(p.tag!="*"){_3a7.tag=1;}if(!p.classes.length){_3a7.classes=1;}var ntf=_3a8(p,_3a7);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3a9){var pi=parseInt;if(_3a9=="odd"){return _39e;}else{if(_3a9=="even"){return _39d;}}if(_3a9.indexOf("n")!=-1){var _3aa=_3a9.split("n",2);var pred=_3aa[0]?((_3aa[0]=="-")?-1:pi(_3aa[0])):1;var idx=_3aa[1]?pi(_3aa[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=_39c(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3a9=idx;}}var _3ab=pi(_3a9);return function(elem){return (_39c(elem)==_3ab);};}};var _3ac=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_371?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _3a8=function(_3ad,_3ae){if(!_3ad){return _372;}_3ae=_3ae||{};var ff=null;if(!("el" in _3ae)){ff=_386(ff,_38a);}if(!("tag" in _3ae)){if(_3ad.tag!="*"){ff=_386(ff,function(elem){return (elem&&((_371?elem.tagName:elem.tagName.toUpperCase())==_3ad.getTag()));});}}if(!("classes" in _3ae)){each(_3ad.classes,function(_3af,idx,arr){var re=new RegExp("(?:^|\\s)"+_3af+"(?:\\s|$)");ff=_386(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3ae)){each(_3ad.pseudos,function(_3b0){var pn=_3b0.name;if(_39f[pn]){ff=_386(ff,_39f[pn](pn,_3b0.value));}});}if(!("attrs" in _3ae)){each(_3ad.attrs,function(attr){var _3b1;var a=attr.attr;if(attr.type&&_38d[attr.type]){_3b1=_38d[attr.type](a,attr.matchFor);}else{if(a.length){_3b1=_3ac(a);}}if(_3b1){ff=_386(ff,_3b1);}});}if(!("id" in _3ae)){if(_3ad.id){ff=_386(ff,function(elem){return (!!elem&&(elem.id==_3ad.id));});}}if(!ff){if(!("default" in _3ae)){ff=_372;}}return ff;};var _3b2=function(_3b3){return function(node,ret,bag){while(node=node[_397]){if(_396&&(!_38a(node))){continue;}if((!bag||_3b4(node,bag))&&_3b3(node)){ret.push(node);}break;}return ret;};};var _3b5=function(_3b6){return function(root,ret,bag){var te=root[_397];while(te){if(_399(te)){if(bag&&!_3b4(te,bag)){break;}if(_3b6(te)){ret.push(te);}}te=te[_397];}return ret;};};var _3b7=function(_3b8){_3b8=_3b8||_372;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_399(te)&&(!bag||_3b4(te,bag))&&(_3b8(te,x))){ret.push(te);}}return ret;};};var _3b9=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _3ba={};var _3bb=function(_3bc){var _3bd=_3ba[_3bc.query];if(_3bd){return _3bd;}var io=_3bc.infixOper;var oper=(io?io.oper:"");var _3be=_3a8(_3bc,{el:1});var qt=_3bc.tag;var _3bf=("*"==qt);var ecs=_36e()["getElementsByClassName"];if(!oper){if(_3bc.id){_3be=(!_3bc.loops&&_3bf)?_372:_3a8(_3bc,{el:1,id:1});_3bd=function(root,arr){var te=dom.byId(_3bc.id,(root.ownerDocument||root));if(!te||!_3be(te)){return;}if(9==root.nodeType){return _389(te,arr);}else{if(_3b9(te,root)){return _389(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_3bc.classes.length&&!_36f){_3be=_3a8(_3bc,{el:1,classes:1,id:1});var _3c0=_3bc.classes.join(" ");_3bd=function(root,arr,bag){var ret=_389(0,arr),te,x=0;var tret=root.getElementsByClassName(_3c0);while((te=tret[x++])){if(_3be(te,root)&&_3b4(te,bag)){ret.push(te);}}return ret;};}else{if(!_3bf&&!_3bc.loops){_3bd=function(root,arr,bag){var ret=_389(0,arr),te,x=0;var tag=_3bc.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3b4(te,bag)){ret.push(te);}}return ret;};}else{_3be=_3a8(_3bc,{el:1,tag:1,id:1});_3bd=function(root,arr,bag){var ret=_389(0,arr),te,x=0;var tag=_3bc.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3be(te,root)&&_3b4(te,bag)){ret.push(te);}}return ret;};}}}}else{var _3c1={el:1};if(_3bf){_3c1.tag=1;}_3be=_3a8(_3bc,_3c1);if("+"==oper){_3bd=_3b2(_3be);}else{if("~"==oper){_3bd=_3b5(_3be);}else{if(">"==oper){_3bd=_3b7(_3be);}}}}return _3ba[_3bc.query]=_3bd;};var _3c2=function(root,_3c3){var _3c4=_389(root),qp,x,te,qpl=_3c3.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_3bb(qp);for(var j=0;(te=_3c4[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3c4=ret;}return ret;};var _3c5={},_3c6={};var _3c7=function(_3c8){var _3c9=_373(trim(_3c8));if(_3c9.length==1){var tef=_3bb(_3c9[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3c2(root,_3c9);};};var _3ca=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3cb=!!_36e()[qsa];var _3cc=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3cd=function(_3ce,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3ce;};var _3cf=/([^[]*)([^\]]*])?/g;var _3d0=function(_3d1,_3d2,att){return _3d2.replace(_3cc,_3cd)+(att||"");};var _3d3=function(_3d4,_3d5){_3d4=_3d4.replace(_3cf,_3d0);if(_3cb){var _3d6=_3c6[_3d4];if(_3d6&&!_3d5){return _3d6;}}var _3d7=_3c5[_3d4];if(_3d7){return _3d7;}var qcz=_3d4.charAt(0);var _3d8=(-1==_3d4.indexOf(" "));if((_3d4.indexOf("#")>=0)&&(_3d8)){_3d5=true;}var _3d9=(_3cb&&(!_3d5)&&(_370.indexOf(qcz)==-1)&&(!has("ie")||(_3d4.indexOf(":")==-1))&&(!(_36f&&(_3d4.indexOf(".")>=0)))&&(_3d4.indexOf(":contains")==-1)&&(_3d4.indexOf(":checked")==-1)&&(_3d4.indexOf("|=")==-1));if(_3d9){var tq=(_370.indexOf(_3d4.charAt(_3d4.length-1))>=0)?(_3d4+" *"):_3d4;return _3c6[_3d4]=function(root){try{if(!((9==root.nodeType)||_3d8)){throw "";}var r=root[qsa](tq);r[_3ca]=true;return r;}catch(e){return _3d3(_3d4,true)(root);}};}else{var _3da=_3d4.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3c5[_3d4]=((_3da.length<2)?_3c7(_3d4):function(root){var _3db=0,ret=[],tp;while((tp=_3da[_3db++])){ret=ret.concat(_3c7(tp)(root));}return ret;});}};var _3dc=0;var _3dd=has("ie")?function(node){if(_371){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3dc)||_3dc);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3dc));};var _3b4=function(node,bag){if(!bag){return 1;}var id=_3dd(node);if(!bag[id]){return bag[id]=1;}return 0;};var _3de="_zipIdx";var _3df=function(arr){if(arr&&arr.nozip){return arr;}var ret=[];if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_3dc++;var x,te;if(has("ie")&&_371){var _3e0=_3dc+"";arr[0].setAttribute(_3de,_3e0);for(x=1;te=arr[x];x++){if(arr[x].getAttribute(_3de)!=_3e0){ret.push(te);}te.setAttribute(_3de,_3e0);}}else{if(has("ie")&&arr.commentStrip){try{for(x=1;te=arr[x];x++){if(_38a(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_3de]=_3dc;}for(x=1;te=arr[x];x++){if(arr[x][_3de]!=_3dc){ret.push(te);}te[_3de]=_3dc;}}}return ret;};var _3e1=function(_3e2,root){root=root||_36e();var od=root.ownerDocument||root;_371=(od.createElement("div").tagName==="div");var r=_3d3(_3e2)(root);if(r&&r.nozip){return r;}return _3df(r);};_3e1.filter=function(_3e3,_3e4,root){var _3e5=[],_3e6=_373(_3e4),_3e7=(_3e6.length==1&&!/[^\w#\.]/.test(_3e4))?_3a8(_3e6[0]):function(node){return _36d.indexOf(_3e1(_3e4,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_3e3[x];x++){if(_3e7(te)){_3e5.push(te);}}return _3e5;};return _3e1;});},"dojo/dnd/autoscroll":function(){define("dojo/dnd/autoscroll",["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_3e8,_3e9,_3ea){var _3eb={};lang.setObject("dojo.dnd.autoscroll",_3eb);_3eb.getViewport=_3ea.getBox;_3eb.V_TRIGGER_AUTOSCROLL=32;_3eb.H_TRIGGER_AUTOSCROLL=32;_3eb.V_AUTOSCROLL_VALUE=16;_3eb.H_AUTOSCROLL_VALUE=16;var _3ec,doc=win.doc,_3ed=Infinity,_3ee=Infinity;_3eb.autoScrollStart=function(d){doc=d;_3ec=_3ea.getBox(doc);var html=win.body(doc).parentNode;_3ed=Math.max(html.scrollHeight-_3ec.h,0);_3ee=Math.max(html.scrollWidth-_3ec.w,0);};_3eb.autoScroll=function(e){var v=_3ec||_3ea.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_3eb.H_TRIGGER_AUTOSCROLL){dx=-_3eb.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_3eb.H_TRIGGER_AUTOSCROLL){dx=Math.min(_3eb.H_AUTOSCROLL_VALUE,_3ee-html.scrollLeft);}}if(e.clientY<_3eb.V_TRIGGER_AUTOSCROLL){dy=-_3eb.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_3eb.V_TRIGGER_AUTOSCROLL){dy=Math.min(_3eb.V_AUTOSCROLL_VALUE,_3ed-html.scrollTop);}}window.scrollBy(dx,dy);};_3eb._validNodes={"div":1,"p":1,"td":1};_3eb._validOverflow={"auto":1,"scroll":1};_3eb.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_3ef,_3f0;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _3eb._validNodes)){var s=_3e9.getComputedStyle(n),_3f1=(s.overflow.toLowerCase() in _3eb._validOverflow),_3f2=(s.overflowX.toLowerCase() in _3eb._validOverflow),_3f3=(s.overflowY.toLowerCase() in _3eb._validOverflow);if(_3f1||_3f2||_3f3){b=_3e8.getContentBox(n,s);t=_3e8.position(n,true);}if(_3f1||_3f2){w=Math.min(_3eb.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;}}_3ef=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_3f1||_3f3){h=Math.min(_3eb.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;}}_3f0=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_3eb.autoScroll(e);};return _3eb;});},"dijit/form/_RadioButtonMixin":function(){define("dijit/form/_RadioButtonMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","../registry"],function(_3f4,_3f5,_3f6,_3f7,lang,_3f8,_3f9){return _3f5("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_3f8("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_3fa){if(_3fa.name==this.name&&_3fa.form==this.focusNode.form){var _3fb=_3f9.getEnclosingWidget(_3fa);if(_3fb){ary.push(_3fb);}}}));return ary;},_setCheckedAttr:function(_3fc){this.inherited(arguments);if(!this._created){return;}if(_3fc){_3f4.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3fd){if(_3fd!=this&&_3fd.checked){_3fd.set("checked",false);}}));}},_getSubmitValue:function(_3fe){return _3fe===null?"on":_3fe;},_onClick:function(e){if(this.checked||this.disabled){_3f7.stop(e);return false;}if(this.readOnly){_3f7.stop(e);_3f4.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3ff){_3f6.set(this.focusNode||this.domNode,"checked",_3ff.checked);}));return false;}return this.inherited(arguments);}});});},"dojo/data/ItemFileWriteStore":function(){define("dojo/data/ItemFileWriteStore",["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_400,_401,_402,_403,_404,_405){return _400("dojo.data.ItemFileWriteStore",_404,{constructor:function(_406){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 _405.toISOString(obj,{zulu:true});};}if(_406&&(_406.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_407){if(!_407){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_408,_409){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _408!="object"&&typeof _408!="undefined"){throw new Error("newItem() was passed something other than an object");}var _40a=null;var _40b=this._getIdentifierAttribute();if(_40b===Number){_40a=this._arrayOfAllItems.length;}else{_40a=_408[_40b];if(typeof _40a==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_40a)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_40a]==="undefined");}this._assert(typeof this._pending._newItems[_40a]==="undefined");this._assert(typeof this._pending._deletedItems[_40a]==="undefined");var _40c={};_40c[this._storeRefPropName]=this;_40c[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_40a]=_40c;_40c[_40b]=[_40a];}this._arrayOfAllItems.push(_40c);var _40d=null;if(_409&&_409.parent&&_409.attribute){_40d={item:_409.parent,attribute:_409.attribute,oldValue:undefined};var _40e=this.getValues(_409.parent,_409.attribute);if(_40e&&_40e.length>0){var _40f=_40e.slice(0,_40e.length);if(_40e.length===1){_40d.oldValue=_40e[0];}else{_40d.oldValue=_40e.slice(0,_40e.length);}_40f.push(_40c);this._setValueOrValues(_409.parent,_409.attribute,_40f,false);_40d.newValue=this.getValues(_409.parent,_409.attribute);}else{this._setValueOrValues(_409.parent,_409.attribute,_40c,false);_40d.newValue=_40c;}}else{_40c[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_40c);}this._pending._newItems[_40a]=_40c;for(var key in _408){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _410=_408[key];if(!lang.isArray(_410)){_410=[_410];}_40c[key]=_410;if(this.referenceIntegrity){for(var i=0;i<_410.length;i++){var val=_410[i];if(this.isItem(val)){this._addReferenceToMap(val,_40c,key);}}}}this.onNew(_40c,_40d);return _40c;},_removeArrayElement:function(_411,_412){var _413=_401.indexOf(_411,_412);if(_413!=-1){_411.splice(_413,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _414=item[this._itemNumPropName];var _415=this.getIdentity(item);if(this.referenceIntegrity){var _416=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_401.forEach(_416,function(_417){_401.forEach(this.getValues(item,_417),function(_418){if(this.isItem(_418)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_418),attr:_417});this._removeReferenceFromMap(_418,item,_417);}},this);},this);var _419=item[this._reverseRefMap];if(_419){for(var _41a in _419){var _41b=null;if(this._itemsByIdentity){_41b=this._itemsByIdentity[_41a];}else{_41b=this._arrayOfAllItems[_41a];}if(_41b){for(var _41c in _419[_41a]){var _41d=this.getValues(_41b,_41c)||[];var _41e=_401.filter(_41d,function(_41f){return !(this.isItem(_41f)&&this.getIdentity(_41f)==_415);},this);this._removeReferenceFromMap(item,_41b,_41c);if(_41e.length<_41d.length){this._setValueOrValues(_41b,_41c,_41e,true);}}}}}}this._arrayOfAllItems[_414]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_415];}this._pending._deletedItems[_415]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_420,_421){return this._setValueOrValues(item,_420,_421,true);},setValues:function(item,_422,_423){return this._setValueOrValues(item,_422,_423,true);},unsetAttribute:function(item,_424){return this._setValueOrValues(item,_424,[],true);},_setValueOrValues:function(item,_425,_426,_427){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_425));this._assert(typeof _426!=="undefined");var _428=this._getIdentifierAttribute();if(_425==_428){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _429=this._getValueOrValues(item,_425);var _42a=this.getIdentity(item);if(!this._pending._modifiedItems[_42a]){var _42b={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_42b[key]=item[key];}else{if(key===this._reverseRefMap){_42b[key]=lang.clone(item[key]);}else{_42b[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_42a]=_42b;}var _42c=false;if(lang.isArray(_426)&&_426.length===0){_42c=delete item[_425];_426=undefined;if(this.referenceIntegrity&&_429){var _42d=_429;if(!lang.isArray(_42d)){_42d=[_42d];}for(var i=0;i<_42d.length;i++){var _42e=_42d[i];if(this.isItem(_42e)){this._removeReferenceFromMap(_42e,item,_425);}}}}else{var _42f;if(lang.isArray(_426)){_42f=_426.slice(0,_426.length);}else{_42f=[_426];}if(this.referenceIntegrity){if(_429){var _42d=_429;if(!lang.isArray(_42d)){_42d=[_42d];}var map={};_401.forEach(_42d,function(_430){if(this.isItem(_430)){var id=this.getIdentity(_430);map[id.toString()]=true;}},this);_401.forEach(_42f,function(_431){if(this.isItem(_431)){var id=this.getIdentity(_431);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_431,item,_425);}}},this);for(var rId in map){var _432;if(this._itemsByIdentity){_432=this._itemsByIdentity[rId];}else{_432=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_432,item,_425);}}else{for(var i=0;i<_42f.length;i++){var _42e=_42f[i];if(this.isItem(_42e)){this._addReferenceToMap(_42e,item,_425);}}}}item[_425]=_42f;_42c=true;}if(_427){this.onSet(item,_425,_429,_426);}return _42c;},_addReferenceToMap:function(_433,_434,_435){var _436=this.getIdentity(_434);var _437=_433[this._reverseRefMap];if(!_437){_437=_433[this._reverseRefMap]={};}var _438=_437[_436];if(!_438){_438=_437[_436]={};}_438[_435]=true;},_removeReferenceFromMap:function(_439,_43a,_43b){var _43c=this.getIdentity(_43a);var _43d=_439[this._reverseRefMap];var _43e;if(_43d){for(_43e in _43d){if(_43e==_43c){delete _43d[_43e][_43b];if(this._isEmpty(_43d[_43e])){delete _43d[_43e];}}}if(this._isEmpty(_43d)){delete _439[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i0){_44b=false;}}}return _44b;},save:function(_44c){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _44d=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_44c&&_44c.onComplete){var _44e=_44c.scope||_403.global;_44c.onComplete.call(_44e);}};var _44f=function(err){self._saveInProgress=false;if(_44c&&_44c.onError){var _450=_44c.scope||_403.global;_44c.onError.call(_450,err);}};if(this._saveEverything){var _451=this._getNewFileContentString();this._saveEverything(_44d,_44f,_451);}if(this._saveCustom){this._saveCustom(_44d,_44f);}if(!this._saveEverything&&!this._saveCustom){_44d();}},revert:function(){this._assert(!this._saveInProgress);var _452;for(_452 in this._pending._modifiedItems){var _453=this._pending._modifiedItems[_452];var _454=null;if(this._itemsByIdentity){_454=this._itemsByIdentity[_452];}else{_454=this._arrayOfAllItems[_452];}_453[this._storeRefPropName]=this;for(var key in _454){delete _454[key];}lang.mixin(_454,_453);}var _455;for(_452 in this._pending._deletedItems){_455=this._pending._deletedItems[_452];_455[this._storeRefPropName]=this;var _456=_455[this._itemNumPropName];if(_455["backup_"+this._reverseRefMap]){_455[this._reverseRefMap]=_455["backup_"+this._reverseRefMap];delete _455["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_456]=_455;if(this._itemsByIdentity){this._itemsByIdentity[_452]=_455;}if(_455[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_455);}}for(_452 in this._pending._deletedItems){_455=this._pending._deletedItems[_452];if(_455["backupRefs_"+this._reverseRefMap]){_401.forEach(_455["backupRefs_"+this._reverseRefMap],function(_457){var _458;if(this._itemsByIdentity){_458=this._itemsByIdentity[_457.id];}else{_458=this._arrayOfAllItems[_457.id];}this._addReferenceToMap(_458,_455,_457.attr);},this);delete _455["backupRefs_"+this._reverseRefMap];}}for(_452 in this._pending._newItems){var _459=this._pending._newItems[_452];_459[this._storeRefPropName]=null;this._arrayOfAllItems[_459[this._itemNumPropName]]=null;if(_459[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_459);}if(this._itemsByIdentity){delete this._itemsByIdentity[_452];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _45a=this.getIdentity(item);return new Boolean(this._pending._newItems[_45a]||this._pending._modifiedItems[_45a]||this._pending._deletedItems[_45a]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_45b,_45c,_45d){},onNew:function(_45e,_45f){},onDelete:function(_460){},close:function(_461){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.");}}}});});},"url:dijit/templates/TreeNode.html":"
\n\t\t\t \n\t\t \n\t
\n
\n","dojo/dnd/TimedMoveable":function(){define("dojo/dnd/TimedMoveable",["../_base/declare","./Moveable"],function(_462,_463){var _464=_463.prototype.onMove;return _462("dojo.dnd.TimedMoveable",_463,{timeout:40,constructor:function(node,_465){if(!_465){_465={};}if(_465.timeout&&typeof _465.timeout=="number"&&_465.timeout>=0){this.timeout=_465.timeout;}},onMoveStop:function(_466){if(_466._timer){clearTimeout(_466._timer);_464.call(this,_466,_466._leftTop);}_463.prototype.onMoveStop.apply(this,arguments);},onMove:function(_467,_468){_467._leftTop=_468;if(!_467._timer){var _469=this;_467._timer=setTimeout(function(){_467._timer=null;_464.call(_469,_467,_467._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define("dojo/NodeList-fx",["./query","./_base/lang","./_base/connect","./_base/fx","./fx"],function(_46a,lang,_46b,_46c,_46d){var _46e=_46a.NodeList;lang.extend(_46e,{_anim:function(obj,_46f,args){args=args||{};var a=_46d.combine(this.map(function(item){var _470={node:item};lang.mixin(_470,args);return obj[_46f](_470);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_46d,"wipeIn",args);},wipeOut:function(args){return this._anim(_46d,"wipeOut",args);},slideTo:function(args){return this._anim(_46d,"slideTo",args);},fadeIn:function(args){return this._anim(_46c,"fadeIn",args);},fadeOut:function(args){return this._anim(_46c,"fadeOut",args);},animateProperty:function(args){return this._anim(_46c,"animateProperty",args);},anim:function(_471,_472,_473,_474,_475){var _476=_46d.combine(this.map(function(item){return _46c.animateProperty({node:item,properties:_471,duration:_472||350,easing:_473});}));if(_474){_46b.connect(_476,"onEnd",_474);}return _476.play(_475||0);}});return _46e;});},"dijit/form/_ListMouseMixin":function(){define("dijit/form/_ListMouseMixin",["dojo/_base/declare","dojo/mouse","dojo/on","dojo/touch","./_ListBase"],function(_477,_478,on,_479,_47a){return _477("dijit.form._ListMouseMixin",_47a,{postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_479.press,function(evt){evt.preventDefault();}));this._listConnect(_479.press,"_onMouseDown");this._listConnect(_479.release,"_onMouseUp");this._listConnect(_478.enter,"_onMouseOver");this._listConnect(_478.leave,"_onMouseOut");},_onMouseDown:function(evt,_47b){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_47b);},_onMouseUp:function(evt,_47c){this._isDragging=false;var _47d=this.selected;var _47e=this._hoveredNode;if(_47d&&_47c==_47d){this.onClick(_47d);}else{if(_47e&&_47c==_47e){this._setSelectedAttr(_47e);this.onClick(_47e);}}},_onMouseOut:function(evt,_47f){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_480){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_480;this.onHover(_480);if(this._isDragging){this._setSelectedAttr(_480);}}});});},"url:dijit/templates/Tree.html":"\n","dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_481){dojo.cookie=function(name,_482,_483){var c=document.cookie,ret;if(arguments.length==1){var _484=c.match(new RegExp("(?:^|; )"+_481.escapeString(name)+"=([^;]*)"));ret=_484?decodeURIComponent(_484[1]):undefined;}else{_483=_483||{};var exp=_483.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_483.expires=d;}if(exp&&exp.toUTCString){_483.expires=exp.toUTCString();}_482=encodeURIComponent(_482);var _485=name+"="+_482,_486;for(_486 in _483){_485+="; "+_486;var _487=_483[_486];if(_487!==true){_485+="="+_487;}}document.cookie=_485;}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("dojo/cache",["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"url:dijit/form/templates/DropDownBox.html":"\n","dijit/ProgressBar":function(){require({cache:{"url:dijit/templates/ProgressBar.html":"\n"}});define("dijit/ProgressBar",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_488,_489,_48a,lang,_48b,_48c,_48d,_48e){return _489("dijit.ProgressBar",[_48c,_48d],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_48e,_indeterminateHighContrastImagePath:_488.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},update:function(_48f){lang.mixin(this,_48f||{});var tip=this.internalProgress,ap=this.domNode;var _490=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_490=Math.min(parseFloat(this.progress)/100,1);this.progress=_490*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_490=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_490);_48a.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_490*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(_491){this._set("label",_491);this.update();},_setIndeterminateAttr:function(_492){this.indeterminate=_492;this.update();},report:function(_493){return this.label?this.label:(this.indeterminate?" ":_48b.format(_493,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_494,win,_495){var _496=_495._createWrapper;_495._createWrapper=function(_497){if(!_497.declaredClass){_497={_popupWrapper:(_497.parentNode&&_494.contains(_497.parentNode,"dijitPopup"))?_497.parentNode:null,domNode:_497,destroy:function(){},ownerDocument:_497.ownerDocument,ownerDocumentBody:win.body(_497.ownerDocument)};}return _496.call(this,_497);};var _498=_495.open;_495.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 _498.call(this,args);};return _495;});},"dijit/ColorPalette":function(){require({cache:{"url:dijit/templates/ColorPalette.html":"\n"}});define("dijit/ColorPalette",["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(_499,_49a,_49b,_49c,_49d,has,i18n,_49e,_49f,_4a0,_4a1){var _4a2=_49f("dijit.ColorPalette",[_49b,_49c,_49d],{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:_49a,baseClass:"dijitColorPalette",_dyeFactory:function(_4a3,row,col,_4a4){return new this._dyeClass(_4a3,row,col,_4a4);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_49f(_4a2._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_4a2._Color=_49f("dijit._Color",_49e,{template:""+" "+" ",hcTemplate:""+" "+" ",_imagePaths:{"7x10":_499.toUrl("./themes/a11y/colors7x10.png"),"3x4":_499.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_4a5,row,col,_4a6){this._title=_4a6;this._row=row;this._col=col;this.setColor(_49e.named[_4a5]);},getValue:function(){return this.toHex();},fillCell:function(cell,_4a7){var html=_4a1.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_4a7,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"});_4a0.place(html,cell);}});return _4a2;});},"url:dijit/form/templates/Button.html":"● \n","dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4a8=function(){var n=null,_4a9=arguments,uri=[_4a9[0]];for(var i=1;i<_4a9.length;i++){if(!_4a9[i]){continue;}var _4aa=new _4a8(_4a9[i]+""),_4ab=new _4a8(uri[0]+"");if(_4aa.path==""&&!_4aa.scheme&&!_4aa.authority&&!_4aa.query){if(_4aa.fragment!=n){_4ab.fragment=_4aa.fragment;}_4aa=_4ab;}else{if(!_4aa.scheme){_4aa.scheme=_4ab.scheme;if(!_4aa.authority){_4aa.authority=_4ab.authority;if(_4aa.path.charAt(0)!="/"){var path=_4ab.path.substring(0,_4ab.path.lastIndexOf("/")+1)+_4aa.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;}}}}_4aa.path=segs.join("/");}}}}uri=[];if(_4aa.scheme){uri.push(_4aa.scheme,":");}if(_4aa.authority){uri.push("//",_4aa.authority);}uri.push(_4aa.path);if(_4aa.query){uri.push("?",_4aa.query);}if(_4aa.fragment){uri.push("#",_4aa.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;}};_4a8.prototype.toString=function(){return this.uri;};return dojo._Url=_4a8;});},"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","dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(dojo,_4ac,has,xhr){var _4ad;if(1){_4ad=function(url,sync,load){xhr("GET",{url:url,sync:!!sync,load:load,headers:dojo.config.textPluginHeaders||{}});};}else{if(_4ac.getText){_4ad=_4ac.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4ae={},_4af=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4b0=text.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(_4b0){text=_4b0[1];}}else{text="";}return text;},_4b1={},_4b2={};dojo.cache=function(_4b3,url,_4b4){var key;if(typeof _4b3=="string"){if(/\//.test(_4b3)){key=_4b3;_4b4=url;}else{key=_4ac.toUrl(_4b3.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4b3+"";_4b4=url;}var val=(_4b4!=undefined&&typeof _4b4!="string")?_4b4.value:_4b4,_4b5=_4b4&&_4b4.sanitize;if(typeof val=="string"){_4ae[key]=val;return _4b5?_4af(val):val;}else{if(val===null){delete _4ae[key];return null;}else{if(!(key in _4ae)){_4ad(key,true,function(text){_4ae[key]=text;});}return _4b5?_4af(_4ae[key]):_4ae[key];}}};return {dynamic:true,normalize:function(id,_4b6){var _4b7=id.split("!"),url=_4b7[0];return (/^\./.test(url)?_4b6(url):url)+(_4b7[1]?"!"+_4b7[1]:"");},load:function(id,_4b8,load){var _4b9=id.split("!"),_4ba=_4b9.length>1,_4bb=_4b9[0],url=_4b8.toUrl(_4b9[0]),_4bc="url:"+url,text=_4b1,_4bd=function(text){load(_4ba?_4af(text):text);};if(_4bb in _4ae){text=_4ae[_4bb];}else{if(_4bc in _4b8.cache){text=_4b8.cache[_4bc];}else{if(url in _4ae){text=_4ae[url];}}}if(text===_4b1){if(_4b2[url]){_4b2[url].push(_4bd);}else{var _4be=_4b2[url]=[_4bd];_4ad(url,!_4b8.async,function(text){_4ae[_4bb]=_4ae[url]=text;for(var i=0;i<_4be.length;){_4be[i++](text);}delete _4b2[url];});}}else{_4bd(text);}}};});},"url:dijit/form/templates/CheckBox.html":"
\n","dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_4bf,lang,_4c0,has,_4c1){var html=_4c1.doc.documentElement,ie=has("ie"),_4c2=has("opera"),maj=Math.floor,ff=has("ff"),_4c3=_4bf.boxModel.replace(/-/,""),_4c4={"dj_quirks":has("quirks"),"dj_opera":_4c2,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_4c4["dj_ie"]=true;_4c4["dj_ie"+maj(ie)]=true;_4c4["dj_iequirks"]=has("quirks");}if(ff){_4c4["dj_ff"+maj(ff)]=true;}_4c4["dj_"+_4c3]=true;var _4c5="";for(var clz in _4c4){if(_4c4[clz]){_4c5+=clz+" ";}}html.className=lang.trim(html.className+" "+_4c5);_4c0(90,function(){if(!_4bf.isBodyLtr()){var _4c6="dj_rtl dijitRtl "+_4c5.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_4c6+"dj_rtl dijitRtl "+_4c5.replace(/ /g,"-rtl "));}});return has;});},"dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_4c7,_4c8,fx,dom,_4c9,_4ca,_4cb,lang,_4cc,on,has,_4cd,_4ce,_4cf,_4d0,_4d1,_4d2,_4d3){var _4d4=_4c8("dijit._MasterTooltip",[_4cf,_4d0],{duration:_4cd.defaultDuration,templateString:_4d2,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _4d1(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_4d5,_4d6,_4d7,rtl,_4d8){if(this.aroundNode&&this.aroundNode===_4d6&&this.containerNode.innerHTML==_4d5){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_4d5;if(_4d8){this.set("textDir",_4d8);}this.containerNode.align=rtl?"right":"left";var pos=_4ce.around(this.domNode,_4d6,_4d7&&_4d7.length?_4d7:_4d9.defaultPosition,!rtl,lang.hitch(this,"orient"));var _4da=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_4da.y+((_4da.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=_4da.x+((_4da.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_4cb.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_4d6;},orient:function(node,_4db,_4dc,_4dd,_4de){this.connectorNode.style.top="";var _4df=_4dd.h,_4e0=_4dd.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"}[_4db+"-"+_4dc];this.domNode.style.width="auto";var size=_4ca.position(this.domNode);if(has("ie")==9){size.w+=2;}var _4e1=Math.min((Math.max(_4e0,1)),size.w);_4ca.setMarginBox(this.domNode,{w:_4e1});if(_4dc.charAt(0)=="B"&&_4db.charAt(0)=="B"){var bb=_4ca.position(node);var _4e2=this.connectorNode.offsetHeight;if(bb.h>_4df){var _4e3=_4df-((_4de.h+_4e2)>>1);this.connectorNode.style.top=_4e3+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_4de.h/2-_4e2/2,0),bb.h-_4e2)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_4e0);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_4e4){if(this._onDeck&&this._onDeck[1]==_4e4){this._onDeck=null;}else{if(this.aroundNode===_4e4){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_4c7.forEach(node.children,function(_4e5){this._setAutoTextDir(_4e5);},this);},_setTextDirAttr:function(_4e6){this._set("textDir",_4e6);if(_4e6=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_4d3.showTooltip=function(_4e7,_4e8,_4e9,rtl,_4ea){if(_4e9){_4e9=_4c7.map(_4e9,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_4d9._masterTT){_4d3._masterTT=_4d9._masterTT=new _4d4();}return _4d9._masterTT.show(_4e7,_4e8,_4e9,rtl,_4ea);};_4d3.hideTooltip=function(_4eb){return _4d9._masterTT&&_4d9._masterTT.hide(_4eb);};var _4d9=_4c8("dijit.Tooltip",_4cf,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_4ec){_4c7.forEach(this._connections||[],function(_4ed){_4c7.forEach(_4ed,function(_4ee){_4ee.remove();});},this);this._connectIds=_4c7.filter(lang.isArrayLike(_4ec)?_4ec:(_4ec?[_4ec]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_4c7.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_4ef=this.selector,_4f0=_4ef?function(_4f1){return on.selector(_4ef,_4f1);}:function(_4f2){return _4f2;},self=this;return [on(node,_4f0(_4cc.enter),function(){self._onHover(this);}),on(node,_4f0("focusin"),function(){self._onHover(this);}),on(node,_4f0(_4cc.leave),lang.hitch(self,"_onUnHover")),on(node,_4f0("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_4ec);},addTarget:function(node){var id=node.id||node;if(_4c7.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_4c7.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_4c9.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_4c7.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_4f3){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_4f3);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_4f4){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _4f5=this.getContent(_4f4);if(!_4f5){return;}_4d9.show(_4f5,_4f4,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_4f4;this.onShow(_4f4,this.position);},close:function(){if(this._connectNode){_4d9.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_4c7.forEach(this._connections||[],function(_4f6){_4c7.forEach(_4f6,function(_4f7){_4f7.remove();});},this);this.inherited(arguments);}});_4d9._MasterTooltip=_4d4;_4d9.show=_4d3.showTooltip;_4d9.hide=_4d3.hideTooltip;_4d9.defaultPosition=["after-centered","before-centered"];return _4d9;});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_4f8,lang){var _4f9={};lang.setObject("dojo.string",_4f9);_4f9.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("");};_4f9.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_4f9.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_4f9.substitute=function(_4fa,map,_4fb,_4fc){_4fc=_4fc||_4f8.global;_4fb=_4fb?lang.hitch(_4fc,_4fb):function(v){return v;};return _4fa.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_4fd,key,_4fe){var _4ff=lang.getObject(key,false,map);if(_4fe){_4ff=lang.getObject(_4fe,false,_4fc).call(_4fc,_4ff,key);}return _4fb(_4ff,key).toString();});};_4f9.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 _4f9;});},"url:dijit/templates/MenuSeparator.html":"","dijit/layout/AccordionPane":function(){define("dijit/layout/AccordionPane",["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_500,_501,_502){return _500("dijit.layout.AccordionPane",_502,{constructor:function(){_501.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/dijit":function(){define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_503){return _503;});},"dijit/form/DropDownButton":function(){require({cache:{"url:dijit/form/templates/DropDownButton.html":"▼ \n"}});define("dijit/form/DropDownButton",["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_504,lang,_505,_506,_507,_508,_509,_50a,_50b){return _504("dijit.form.DropDownButton",[_508,_509,_50a],{baseClass:"dijitDropDownButton",templateString:_50b,_fillContent:function(){if(this.srcNodeRef){var _50c=_505("*",this.srcNodeRef);this.inherited(arguments,[_50c[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _50d=_505("[widgetId]",this.dropDownContainer)[0];this.dropDown=_506.byNode(_50d);delete this.dropDownContainer;}if(this.dropDown){_507.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _50e=this.dropDown;return (!!_50e&&(!_50e.href||_50e.isLoaded));},loadDropDown:function(_50f){var _510=this.dropDown;var _511=_510.on("load",lang.hitch(this,function(){_511.remove();_50f();}));_510.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_512,_513,keys,has,_514){return _512("dijit.form._FormValueMixin",_514,{readOnly:false,_setReadOnlyAttr:function(_515){_513.set(this.focusNode,"readOnly",_515);this._set("readOnly",_515);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_516,_517){this._handleOnChange(_516,_517);},_handleOnChange:function(_518,_519){this._set("value",_518);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var node=e.srcElement,te=node.ownerDocument.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;node.fireEvent("onkeypress",te);}}}});});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/sniff","dojo/window","../a11y"],function(_51a,_51b,_51c,_51d,lang,_51e,has,_51f,a11y){return _51b("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(_520){this._set("disabled",_520);_51c.set(this.focusNode,"disabled",_520);if(this.valueNode){_51c.set(this.valueNode,"disabled",_520);}this.focusNode.setAttribute("aria-disabled",_520?"true":"false");if(_520){this._set("hovering",false);this._set("active",false);var _521="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_51a.forEach(lang.isArray(_521)?_521:[_521],function(_522){var node=this[_522];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 _523=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_524);this.disconnect(_523);});var _524=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_524);this.disconnect(_523);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_51f.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_51d.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
\n","dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_531,_532,_533){return _533("dijit.Destroyable",null,{destroy:function(_534){this._destroyed=true;},own:function(){_531.forEach(arguments,function(_535){var _536="destroyRecursive" in _535?"destroyRecursive":"destroy" in _535?"destroy":"remove";var odh=_532.before(this,"destroy",function(_537){_535[_536](_537);});var hdh=_532.after(_535,_536,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_538,_539,_53a,_53b,_53c,lang,_53d,has,_53e,_53f,_540){return _539("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _541=this.getParent();this._childOfLayoutWidget=_541&&_541.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_53f.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _542=[],_543=false;_53d("> *",this.containerNode).some(function(node){var _544=_53e.byNode(node);if(_544&&_544.resize){_542.push(_544);}else{if(node.offsetHeight){_543=true;}}});this._singleChild=_542.length==1&&!_543?_542[0]:null;_53a.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_545,_546){this._resizeCalled=true;this._scheduleLayout(_545,_546);},_scheduleLayout:function(_547,_548){if(this._isShown()){this._layout(_547,_548);}else{this._needLayout=true;this._changeSize=_547;this._resultSize=_548;}},_layout:function(_549,_54a){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_549){_53b.setMarginBox(this.domNode,_549);}var cn=this.containerNode;if(cn===this.domNode){var mb=_54a||{};lang.mixin(mb,_549||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_53b.getMarginBox(cn),mb);}this._contentBox=_540.marginBox2contentBox(cn,mb);}else{this._contentBox=_53b.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_53b.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_538.forEach(this.getChildren(),function(_54b){if(_54b.resize){_54b.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,_54c=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_53a.contains(node,"dijitHidden")&&_54c&&_54c.style&&(_54c.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_54d,_54e,_54f,_550){var _551=_54e("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_552){if(this._hash[_552.id]){throw new Error("Tried to register widget with id=="+_552.id+" but that id is already registered");}this._hash[_552.id]=_552;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_553){_553=_553||_54f.global;var i=0,id;for(id in this._hash){func.call(_553,this._hash[id],i++,this._hash);}return this;},filter:function(_554,_555){_555=_555||_54f.global;var res=new _551(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_554.call(_555,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _551(),id,_556;for(id in this._hash){_556=this._hash[id];if(_556.declaredClass==cls){res.add(_556);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_557){return _54d.map(this.toArray(),func,_557);},every:function(func,_558){_558=_558||_54f.global;var x=0,i;for(i in this._hash){if(!func.call(_558,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_559){_559=_559||_54f.global;var x=0,i;for(i in this._hash){if(func.call(_559,this._hash[i],x++,this._hash)){return true;}}return false;}});_54d.forEach(["forEach","filter","byClass","map","every","some"],function(func){_550[func]=_551.prototype[func];});return _551;});},"dojo/dnd/Moveable":function(){define("dojo/dnd/Moveable",["../_base/array","../_base/declare","../_base/event","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_55a,_55b,_55c,lang,dom,_55d,_55e,on,_55f,_560,dnd,_561,win){var _562=_55b("dojo.dnd.Moveable",[_55e],{handle:"",delay:0,skip:false,constructor:function(node,_563){this.node=dom.byId(node);if(!_563){_563={};}this.handle=_563.handle?dom.byId(_563.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_563.delay>0?_563.delay:0;this.skip=_563.skip;this.mover=_563.mover?_563.mover:_561;this.events=[on(this.handle,_560.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_564,node,Ctor){return new Ctor(node,_564);},destroy:function(){_55a.forEach(this.events,function(_565){_565.remove();});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,_560.move,lang.hitch(this,"onMouseMove")),on(this.handle,_560.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_55c.stop(e);},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);}_55c.stop(e);},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}_55c.stop(e);},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){_55c.stop(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_566){_55f.publish("/dnd/move/start",_566);_55d.add(win.body(),"dojoMove");_55d.add(this.node,"dojoMoveItem");},onMoveStop:function(_567){_55f.publish("/dnd/move/stop",_567);_55d.remove(win.body(),"dojoMove");_55d.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_568,_569){this.onMoving(_568,_569);var s=_568.node.style;s.left=_569.l+"px";s.top=_569.t+"px";this.onMoved(_568,_569);},onMoving:function(){},onMoved:function(){}});return _562;});},"dijit/TooltipDialog":function(){require({cache:{"url:dijit/templates/TooltipDialog.html":"
\n"}});define("dijit/TooltipDialog",["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_56a,_56b,_56c,keys,lang,_56d,_56e,_56f,_570,_571,_572,_573){return _56a("dijit.TooltipDialog",[_56e,_571,_570,_56f],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_572,_setTitleAttr:function(_574){this.containerNode.title=_574;this._set("title",_574);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_575,_576){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"}[_575+"-"+_576];_56b.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_56d.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _577=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_577.y+((_577.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=_577.x+((_577.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _578=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){this.defer("onCancel");_56c.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_578){_56d.focus(this._lastFocusItem);}_56c.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_578){_56d.focus(this._firstFocusItem);}_56c.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"dojo/store/util/SimpleQueryEngine":function(){define("dojo/store/util/SimpleQueryEngine",["../../_base/array"],function(_579){return function(_57a,_57b){switch(typeof _57a){default:throw new Error("Can not query with a "+typeof _57a);case "object":case "undefined":var _57c=_57a;_57a=function(_57d){for(var key in _57c){var _57e=_57c[key];if(_57e&&_57e.test){if(!_57e.test(_57d[key],_57d)){return false;}}else{if(_57e!=_57d[key]){return false;}}}return true;};break;case "string":if(!this[_57a]){throw new Error("No filter function "+_57a+" was found in store");}_57a=this[_57a];case "function":}function _57f(_580){var _581=_579.filter(_580,_57a);var _582=_57b&&_57b.sort;if(_582){_581.sort(typeof _582=="function"?_582:function(a,b){for(var sort,i=0;sort=_582[i];i++){var _583=a[sort.attribute];var _584=b[sort.attribute];if(_583!=_584){return !!sort.descending==(_583==null||_583>_584)?-1:1;}}return 0;});}if(_57b&&(_57b.start||_57b.count)){var _585=_581.length;_581=_581.slice(_57b.start||0,(_57b.start||0)+(_57b.count||Infinity));_581.total=_585;}return _581;};_57f.matches=_57a;return _57f;};});},"dijit/typematic":function(){define("dijit/typematic",["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_586,_587,_588,_589,lang,on,has,_58a){var _58b=(_58a.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,_58c,node,_58d,obj,_58e,_58f,_590){if(obj!=this._obj){this.stop();this._initialDelay=_58f||500;this._subsequentDelay=_58e||0.9;this._minDelay=_590||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_58c,_58d);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,_591,_592,_593,_594,_595,_596){if(_591.keyCode){_591.charOrCode=_591.keyCode;_589.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_591.charCode){_591.charOrCode=String.fromCharCode(_591.charCode);_589.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _597=[on(node,_587._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_591.charOrCode&&(_591.ctrlKey===undefined||_591.ctrlKey==evt.ctrlKey)&&(_591.altKey===undefined||_591.altKey==evt.altKey)&&(_591.metaKey===undefined||_591.metaKey==(evt.metaKey||false))&&(_591.shiftKey===undefined||_591.shiftKey==evt.shiftKey)){_588.stop(evt);_58b.trigger(evt,_592,node,_593,_591,_594,_595,_596);}else{if(_58b._obj==_591){_58b.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_58b._obj==_591){_58b.stop();}}))];return {remove:function(){_586.forEach(_597,function(h){h.remove();});}};},addMouseListener:function(node,_598,_599,_59a,_59b,_59c){var _59d=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_58b.trigger(evt,_598,node,_599,node,_59a,_59b,_59c);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_58b.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_58b.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_58b.trigger(evt,_598,node,_599,node,_59a,_59b,_59c);setTimeout(lang.hitch(this,_58b.stop),50);}}))];return {remove:function(){_586.forEach(_59d,function(h){h.remove();});}};},addListener:function(_59e,_59f,_5a0,_5a1,_5a2,_5a3,_5a4,_5a5){var _5a6=[this.addKeyListener(_59f,_5a0,_5a1,_5a2,_5a3,_5a4,_5a5),this.addMouseListener(_59e,_5a1,_5a2,_5a3,_5a4,_5a5)];return {remove:function(){_586.forEach(_5a6,function(h){h.remove();});}};}});return _58b;});},"dijit/MenuItem":function(){require({cache:{"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"}});define("dijit/MenuItem",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_5a7,dom,_5a8,_5a9,_5aa,has,_5ab,_5ac,_5ad,_5ae,_5af){return _5a7("dijit.MenuItem",[_5ab,_5ac,_5ad,_5ae],{templateString:_5af,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this.containerNode.innerHTML=val;this._set("label",val);if(this.textDir==="auto"){this.applyTextDir(this.focusNode,this.label);}},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_5b0){if(_5b0&&!("label" in this.params)){this.set("label",_5b0.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _5b1=this.id+"_text";_5a8.set(this.containerNode,"id",_5b1);if(this.accelKeyNode){_5a8.set(this.accelKeyNode,"id",this.id+"_accel");_5b1+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_5b1);dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_5b2){_5a9.toggle(this.domNode,"dijitMenuItemSelected",_5b2);},setLabel:function(_5b3){_5aa.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_5b3);},setDisabled:function(_5b4){_5aa.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_5b4);},_setDisabledAttr:function(_5b5){this.focusNode.setAttribute("aria-disabled",_5b5?"true":"false");this._set("disabled",_5b5);},_setAccelKeyAttr:function(_5b6){this.accelKeyNode.style.display=_5b6?"":"none";this.accelKeyNode.innerHTML=_5b6;_5a8.set(this.containerNode,"colSpan",_5b6?"1":"2");this._set("accelKey",_5b6);},_setTextDirAttr:function(_5b7){if(!this._created||this.textDir!=_5b7){this._set("textDir",_5b7);this.applyTextDir(this.focusNode,this.label);}}});});},"dijit/layout/TabController":function(){require({cache:{"url:dijit/layout/templates/_TabButton.html":"
\n\t
\n\t
\n\t
\n\t\t[x] \n
\n"}});define("dijit/layout/TabController",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_5b8,dom,_5b9,_5ba,i18n,lang,_5bb,_5bc,Menu,_5bd,_5be){var _5bf=_5b8("dijit.layout._TabButton",_5bb.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_5be,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);_5ba.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _5c0=i18n.getLocalization("dijit","common");if(this.closeNode){_5b9.set(this.closeNode,"title",_5c0.itemClose);}}},_setDisabledAttr:function(_5c1){this.inherited(arguments);if(this.closeNode){if(_5c1){_5b9.remove(this.closeNode,"title");}else{var _5c2=i18n.getLocalization("dijit","common");_5b9.set(this.closeNode,"title",_5c2.itemClose);}}},_setLabelAttr:function(_5c3){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});var _5c4=_5b8("dijit.layout.TabController",_5bb,{baseClass:"dijitTabController",templateString:"
",tabPosition:"top",buttonWidget:_5bf,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _5c5=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 _5ba.contains(node,"dijitClosable")&&!_5ba.contains(node,"dijitTabDisabled");}});this.own(_5c5);var _5c6=i18n.getLocalization("dijit","common"),_5c7=this;_5c5.addChild(new _5bd({label:_5c6.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _5c8=_5bc.byNode(this.getParent().currentTarget);_5c7.onCloseButtonClick(_5c8.page);}}));}});_5c4.TabButton=_5bf;return _5c4;});},"dijit/ToolbarSeparator":function(){define("dijit/ToolbarSeparator",["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_5c9,dom,_5ca,_5cb){return _5c9("dijit.ToolbarSeparator",[_5ca,_5cb],{templateString:"
",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_5cc,_5cd,_5ce,_5cf,_5d0,_5d1,_5d2,_5d3){return _5d0("dijit.layout._LayoutWidget",[_5cc,_5cd,_5ce],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_5d1.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _5d4=this.getParent&&this.getParent();if(!(_5d4&&_5d4.isLayoutContainer)){this.resize();this.own(_5cf.on("resize",lang.hitch(this,"resize")));}},resize:function(_5d5,_5d6){var node=this.domNode;if(_5d5){_5d2.setMarginBox(node,_5d5);}var mb=_5d6||{};lang.mixin(mb,_5d5||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_5d2.getMarginBox(node),mb);}var cs=_5d3.getComputedStyle(node);var me=_5d2.getMarginExtents(node,cs);var be=_5d2.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_5d2.getPadExtents(node,cs);this._contentBox={l:_5d3.toPixelValue(node,cs.paddingLeft),t:_5d3.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_5d7){var cls=this.baseClass+"-child "+(_5d7.baseClass?this.baseClass+"-"+_5d7.baseClass:"");_5d1.add(_5d7.domNode,cls);},addChild:function(_5d8,_5d9){this.inherited(arguments);if(this._started){this._setupChild(_5d8);}},removeChild:function(_5da){var cls=this.baseClass+"-child"+(_5da.baseClass?" "+this.baseClass+"-"+_5da.baseClass:"");_5d1.remove(_5da.domNode,cls);this.inherited(arguments);}});});},"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./place","./BackgroundIframe","./main"],function(_5db,_5dc,_5dd,_5de,dom,_5df,_5e0,_5e1,_5e2,_5e3,keys,lang,on,has,_5e4,_5e5,_5e6){function _5e7(){if(this._popupWrapper){_5e0.destroy(this._popupWrapper);delete this._popupWrapper;}};var _5e8=_5de(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_5e9){var _5ea=_5e9._popupWrapper,node=_5e9.domNode;if(!_5ea){_5ea=_5e0.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},_5e9.ownerDocumentBody);_5ea.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_5e9._popupWrapper=_5ea;_5dc.after(_5e9,"destroy",_5e7,true);}return _5ea;},moveOffScreen:function(_5eb){var _5ec=this._createWrapper(_5eb);_5e2.set(_5ec,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_5ed){var _5ee=this._createWrapper(_5ed);_5e2.set(_5ee,"display","none");},getTopPopup:function(){var _5ef=this._stack;for(var pi=_5ef.length-1;pi>0&&_5ef[pi].parent===_5ef[pi-1].widget;pi--){}return _5ef[pi];},open:function(args){var _5f0=this._stack,_5f1=args.popup,_5f2=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_5e1.isBodyLtr(_5f1.ownerDocument),_5f3=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_5f0.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_5f0[_5f0.length-1].widget.domNode))){this.close(_5f0[_5f0.length-1].widget);}var _5f4=this._createWrapper(_5f1);_5df.set(_5f4,{id:id,style:{zIndex:this._beginZIndex+_5f0.length},"class":"dijitPopup "+(_5f1.baseClass||_5f1["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_5f1.bgIframe){_5f1.bgIframe=new _5e5(_5f4);}}var best=_5f3?_5e4.around(_5f4,_5f3,_5f2,ltr,_5f1.orient?lang.hitch(_5f1,"orient"):null):_5e4.at(_5f4,args,_5f2=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_5f4.style.display="";_5f4.style.visibility="visible";_5f1.domNode.style.visibility="visible";var _5f5=[];_5f5.push(on(_5f4,_5dd._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_5e3.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_5e3.stop(evt);var _5f6=this.getTopPopup();if(_5f6&&_5f6.onCancel){_5f6.onCancel();}}}})));if(_5f1.onCancel&&args.onCancel){_5f5.push(_5f1.on("cancel",args.onCancel));}_5f5.push(_5f1.on(_5f1.onExecute?"execute":"change",lang.hitch(this,function(){var _5f7=this.getTopPopup();if(_5f7&&_5f7.onExecute){_5f7.onExecute();}})));_5f0.push({widget:_5f1,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_5f5});if(_5f1.onOpen){_5f1.onOpen(best);}return best;},close:function(_5f8){var _5f9=this._stack;while((_5f8&&_5db.some(_5f9,function(elem){return elem.widget==_5f8;}))||(!_5f8&&_5f9.length)){var top=_5f9.pop(),_5fa=top.widget,_5fb=top.onClose;if(_5fa.onClose){_5fa.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_5fa&&_5fa.domNode){this.hide(_5fa);}if(_5fb){_5fb();}}}});return (_5e6.popup=new _5e8());});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_5fc,_5fd,lang,_5fe,_5ff){var _600={};_5fc.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_600[name]=_5fe[name];});lang.mixin(_600,{defaultDuration:_5fd["defaultDuration"]||200});lang.mixin(_5ff,_600);return _5ff;});},"dijit/layout/StackController":function(){define("dijit/layout/StackController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_601,_602,_603,_604,keys,lang,on,_605,_606,_607,_608,_609,_60a){var _60b=_602("dijit.layout._StackButton",_60a,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _60c=_602("dijit.layout.StackController",[_607,_608,_609],{baseClass:"dijitStackController",templateString:"
",containerId:"",buttonWidget:_60b,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(_60d){this.pane2button={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");this.connect(this.containerNode,"click",function(evt){var _60e=_606.getEnclosingWidget(evt.target);if(_60e!=this.containerNode&&!_60e.disabled&&_60e.page){for(var _60f=evt.target;_60f!==this.containerNode;_60f=_60f.parentNode){if(_603.contains(_60f,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_60e.page);break;}else{if(_60f==_60e.domNode){this.onButtonClick(_60e.page);break;}}}}});},onStartup:function(info){_601.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _610=_606.byId(this.containerId).containerNode,_611=this.pane2button,_612={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled"},_613=function(attr,_614){return on(_610,"attrmodified-"+attr,function(evt){var _615=_611[evt.detail&&evt.detail.widget&&evt.detail.widget.id];if(_615){_615.set(_614,evt.detail.newValue);}});};for(var attr in _612){this.own(_613(attr,_612[attr]));}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_606.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_616){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _617=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_617,_616);this.pane2button[page.id]=_617;page.controlButton=_617;if(!this._currentChild){this.onSelectChild(page);}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _618=this.pane2button[page.id];if(_618){this.removeChild(_618);delete this.pane2button[page.id];_618.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _619=this.pane2button[this._currentChild.id];_619.set("checked",false);_619.focusNode.setAttribute("tabIndex","-1");}var _61a=this.pane2button[page.id];_61a.set("checked",true);this._currentChild=page;_61a.focusNode.setAttribute("tabIndex","0");var _61b=_606.byId(this.containerId);_61b.containerNode.setAttribute("aria-labelledby",_61a.id);},onButtonClick:function(page){var _61c=this.pane2button[page.id];_605.focus(_61c.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_61c.set("checked",true);}var _61d=_606.byId(this.containerId);_61d.selectChild(page);},onCloseButtonClick:function(page){var _61e=_606.byId(this.containerId);_61e.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_605.focus(b.focusNode||b.domNode);}}},adjacent:function(_61f){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_61f=!_61f;}var _620=this.getChildren();var idx=_601.indexOf(_620,this.pane2button[this._currentChild.id]),_621=_620[idx];var _622;do{idx=(idx+(_61f?1:_620.length-1))%_620.length;_622=_620[idx];}while(_622.disabled&&_622!=_621);return _622;},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _623=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_623=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_623=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_623=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_623=true;}break;case keys.HOME:var _624=this.getChildren();for(var idx=0;idx<_624.length;idx++){var _625=_624[idx];if(!_625.disabled){this.onButtonClick(_625.page);break;}}_604.stop(e);break;case keys.END:var _624=this.getChildren();for(var idx=_624.length-1;idx>=0;idx--){var _625=_624[idx];if(!_625.disabled){this.onButtonClick(_625.page);break;}}_604.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_604.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.onButtonClick(this.adjacent(!e.shiftKey).page);_604.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_604.stop(e);}}}}if(_623!==null){this.onButtonClick(this.adjacent(_623).page);_604.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_60c.StackButton=_60b;return _60c;});},"url:dijit/templates/TooltipDialog.html":"
\n","dojo/dnd/Mover":function(){define("dojo/dnd/Mover",["../_base/array","../_base/declare","../_base/event","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_626,_627,_628,lang,has,win,dom,_629,_62a,_62b,on,_62c,dnd,_62d){return _627("dojo.dnd.Mover",[_62b],{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;this.events=[on(d,_62c.move,lang.hitch(this,"onFirstMove")),on(d,_62c.move,lang.hitch(this,"onMouseMove")),on(d,_62c.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_628.stop),on(d.body,"selectstart",_628.stop)];_62d.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_62d.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_628.stop(e);},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_628.stop(e);},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=_629.getMarginBox(this.node);var b=win.doc.body;var bs=_62a.getComputedStyle(b);var bm=_629.getMarginBox(b,bs);var bc=_629.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(){_626.forEach(this.events,function(_62e){_62e.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dijit/layout/TabContainer":function(){define("dijit/layout/TabContainer",["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_62f,_630,_631,_632){return _62f("dijit.layout.TabContainer",_630,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_633){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_631=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _631({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},_633);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_632:_631;}}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_634,_635,_636,_637,_638,lang,on,has,win){var _639=new function(){var _63a=[];this.pop=function(){var _63b;if(_63a.length){_63b=_63a.pop();_63b.style.display="";}else{if(has("ie")<9){var burl=_636["dojoBlankHtmlUrl"]||_634.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="
\n","dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/Toolbar":function(){define("dijit/Toolbar",["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_6c9,_6ca,has,keys,_6cb,_6cc,_6cd,_6ce){if(has("dijit-legacy-requires")){_6cb(0,function(){var _6cf=["dijit/ToolbarSeparator"];_6c9(_6cf);});}return _6ca("dijit.Toolbar",[_6cc,_6ce,_6cd],{templateString:"