ttrss/lib/dojo/tt-rss-layer.js

15 lines
425 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
/*
This is an optimized version of Dojo, built for deployment and not for
development. To get sources and documentation, please visit:
http://dojotoolkit.org
*/
//>>built
require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","dijit/form/TextBox":function(){require({cache:{"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){var _b=_1("dijit.form.TextBox",[_7,_8],{templateString:_9,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _c=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_c=="hidden"||_c=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(_6("ie")<9){this.defer(function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _d=this.domNode.getElementsByTagName("INPUT");if(_d){for(var i=0;i<_d.length;i++){_d[i].style.fontFamily=ff;}}}}}catch(e){}});}},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{onmousedown:function(e){e.preventDefault();},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_e,_f,_10){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_11){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_11);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(_6("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")){_b.prototype._isTextSelected=function(){var _12=this.ownerDocument.selection.createRange();var _13=_12.parentElement();return _13==this.textbox&&_12.text.length>0;};_a._setSelectionRange=_8._setSelectionRange=function(_14,_15,_16){if(_14.createTextRange){var r=_14.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_15);r.moveEnd("character",_16-_15);r.select();}};}return _b;});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_17,_18){_18.scrollIntoView=function(_19,pos){_17.scrollIntoView(_19,pos);};});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(_1a,_1b,_1c,_1d,_1e,_1f,_20,_21,has,_22){var _23=_20("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(_24){var _25=this.declaredClass,_26=this;return _1d.substitute(_24,this,function(_27,key){if(key.charAt(0)=="!"){_27=_1a.getObject(key.substr(1),false,_26);}if(typeof _27=="undefined"){throw new Error(_25+" template:"+key);}if(_27==null){return "";}return key.charAt(0)=="!"?_27:_27.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_1e(this.templatePath,{sanitize:true});}var _28=_23.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _29;if(_1a.isString(_28)){_29=_21.toDom(this._stringRepl(_28),this.ownerDocument);if(_29.nodeType!=1){throw new Error("Invalid template: "+_28);}}else{_29=_28.cloneNode(true);}this.domNode=_29;this.inherited(arguments);this._attachTemplateNodes(_29,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_2a){var _2b=this.containerNode;if(_2a&&_2b){while(_2a.hasChildNodes()){_2b.appendChild(_2a.firstChild);}}},_attachTemplateNodes:function(_2c,_2d){var _2e=_1a.isArray(_2c)?_2c:(_2c.all||_2c.getElementsByTagName("*"));var x=_1a.isArray(_2c)?0:-1;for(;x<0||_2e[x];x++){var _2f=(x==-1)?_2c:_2e[x];if(this.widgetsInTemplate&&(_2d(_2f,"dojoType")||_2d(_2f,"data-dojo-type"))){continue;}var _30=_2d(_2f,"dojoAttachPoint")||_2d(_2f,"data-dojo-attach-point");if(_30){var _31,_32=_30.split(/\s*,\s*/);while((_31=_32.shift())){if(_1a.isArray(this[_31])){this[_31].push(_2f);}else{this[_31]=_2f;}this._attachPoints.push(_31);}}var _33=_2d(_2f,"dojoAttachEvent")||_2d(_2f,"data-dojo-attach-event");if(_33){var _34,_35=_33.split(/\s*,\s*/);var _36=_1a.trim;while((_34=_35.shift())){if(_34){var _37=null;if(_34.indexOf(":")!=-1){var _38=_34.split(":");_34=_36(_38[0]);_37=_36(_38[1]);}else{_34=_36(_34);}if(!_37){_37=_34;}this._attachEvents.push(this.connect(_2f,_1b[_34]||_34,_37));}}}}},destroyRendering:function(){_1f.forEach(this._attachPoints,function(_39){delete this[_39];},this);this._attachPoints=[];_1f.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_23._templateCache={};_23.getCachedTemplate=function(_3a,_3b,doc){var _3c=_23._templateCache;var key=_3a;var _3d=_3c[key];if(_3d){try{if(!_3d.ownerDocument||_3d.ownerDocument==(doc||document)){return _3d;}}catch(e){}_21.destroy(_3d);}_3a=_1d.trim(_3a);if(_3b||_3a.match(/\$\{([^\}]+)\}/g)){return (_3c[key]=_3a);}else{var _3e=_21.toDom(_3a,doc);if(_3e.nodeType!=1){throw new Error("Invalid template: "+_3a);}return (_3c[key]=_3e);}};if(has("ie")){_22.addOnWindowUnload(function(){var _3f=_23._templateCache;for(var key in _3f){var _40=_3f[key];if(typeof _40=="object"){_21.destroy(_40);}delete _3f[key];}});}_1a.extend(_1c,{dojoAttachEvent:"",dojoAttachPoint:""});return _23;});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_41,_42,dom,_43,has,_44,on,_45,win,_46){var _47=_42("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_41.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(_48){this.watch(_48,_44.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_49){if(!this.disabled){switch(_49.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _4a=this.baseClass.split(" ");function _4b(_4c){_4a=_4a.concat(_41.map(_4a,function(c){return c+_4c;}),"dijit"+_4c);};if(!this.isLeftToRight()){_4b("Rtl");}var _4d=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_4b(_4d);}if(this.state){_4b(this.state);}if(this.selected){_4b("Selected");}if(this._opened){_4b("Opened");}if(this.disabled){_4b("Disabled");}else{if(this.readOnly){_4b("ReadOnly");}else{if(this.active){_4b("Active");}else{if(this.hovering){_4b("Hover");}}}}if(this.focused){_4b("Focused");}var tn=this.stateNode||this.domNode,_4e={};_41.forEach(tn.className.split(" "),function(c){_4e[c]=true;});if("_stateClasses" in this){_41.forEach(this._stateClasses,function(c){delete _4e[c];});}_41.forEach(_4a,function(c){_4e[c]=true;});var _4f=[];for(var c in _4e){_4f.push(c);}tn.className=_4f.join(" ");this._stateClasses=_4a;},_subnodeCssMouseEvent:function(_50,_51,evt){if(this.disabled||this.readOnly){return;}function _52(_53){_43.toggle(_50,_51+"Hover",_53);};function _54(_55){_43.toggle(_50,_51+"Active",_55);};function _56(_57){_43.toggle(_50,_51+"Focused",_57);};switch(evt.type){case "mouseover":_52(true);break;case "mouseout":_52(false);_54(false);break;case "mousedown":case "touchstart":_54(true);break;case "mouseup":case "touchend":_54(false);break;case "focus":case "focusin":_56(true);break;case "blur":case "focusout":_56(false);break;}},_trackMouseState:function(_58,_59){_58._cssState=_59;}});_45(function(){function _5a(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var _5b=evt.target;_5b&&_5b!=evt.relatedTarget;_5b=_5b.parentNode){if(_5b._cssState){var _5c=_46.getEnclosingWidget(_5b);if(_5c){if(_5b==_5c.domNode){_5c._cssMouseEvent(evt);}else{_5c._subnodeCssMouseEvent(_5b,_5b._cssState,evt);}}}}}};function _5d(evt){evt.target=evt.srcElement;_5a(evt);};var _5e=win.body(),_5f=(has("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);_41.forEach(_5f,function(_60){if(_5e.addEventListener){_5e.addEventListener(_60,_5a,true);}else{_5e.attachEvent("on"+_60,_5d);}});on(_5e,"focusin, focusout",function(evt){var _61=evt.target;if(_61._cssState&&!_61.getAttribute("widgetId")){var _62=_46.getEnclosingWidget(_61);_62._subnodeCssMouseEvent(_61,_61._cssState,evt);}});});return _47;});},"dijit/layout/ScrollingTabController":function(){require({cache:{"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\">\n\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>"}});define("dijit/layout/ScrollingTabController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_63,_64,_65,_66,_67,fx,_68,on,_69,has,_6a,_6b,_6c,_6d,_6e,_6f,_70,_71,_72,_73){var _74=_64("dijit.layout.ScrollingTabController",[_6d,_6f],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_6b,useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_65.add(n,"tabStrip-disabled");}_65.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_67.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_68.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_75,_76){this.inherited(arguments);_67.set(this.containerNode,"width",(_67.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_77,_78){var _79=this.pane2button[_77.id];if(this._selectedTab===_79.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_69("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_66.getMarginSize(btn).w;return true;}else{_67.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _7a=this.getChildren();if(_7a.length){var _7b=_7a[this.isLeftToRight()?0:_7a.length-1].domNode,_7c=_7a[this.isLeftToRight()?_7a.length-1:0].domNode;return _7c.offsetLeft+_7c.offsetWidth-_7b.offsetLeft;}else{return 0;}},_enableBtn:function(_7d){var _7e=this._getTabsWidth();_7d=_7d||_67.get(this.scrollNode,"width");return _7e>0&&_7d<_7e;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_6e.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_66.setContentSize(this.domNode,cb);var _7f=this._enableBtn(this._contentBox.w);this._buttons.style("display",_7f?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_6e.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_67.get(this.containerNode,"width")-_67.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _80=_67.get(this.containerNode,"width")-_67.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_80);}},onSelectChild:function(_81){var tab=this.pane2button[_81.id];if(!tab||!_81){return;}var _82=tab.domNode;if(_82!=this._selectedTab){this._selectedTab=_82;if(this._postResize){var sl=this._getScroll();if(sl>_82.offsetLeft||sl+_67.get(this.scrollNode,"width")<_82.offsetLeft+_67.get(_82,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _83=this.getChildren(),_84=_67.get(this.scrollNode,"width"),_85=_67.get(this.containerNode,"width"),_86=_85-_84,_87=this._getTabsWidth();if(_83.length&&_87>_84){return {min:this.isLeftToRight()?0:_83[_83.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_83[_83.length-1].domNode.offsetLeft+_83[_83.length-1].domNode.offsetWidth)-_84:_86};}else{var _88=this.isLeftToRight()?0:_86;return {min:_88,max:_88};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_89=_67.get(this.scrollNode,"width"),_8a=this._getScrollBounds();var pos=(n.offsetLeft+_67.get(n,"width")/2)-_89/2;pos=Math.min(Math.max(pos,_8a.min),_8a.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _8b=this._getScrollBounds();x=Math.min(Math.max(x,_8b.min),_8b.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _8c=this,w=this.scrollNode,_8d=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _8e=w.scrollLeft,_8f=_8c._convertToScrollLeft(x);_8d.curve=new fx._Line(_8e,_8f);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_8d;this._setButtonClass(x);return _8d;},_getBtnNode:function(e){var n=e.target;while(n&&!_65.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_90,_91){if(_91&&_65.contains(_91,"dijitTabDisabled")){return;}var _92=_67.get(this.scrollNode,"width");var d=(_92*0.75)*_90;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_93){var _94=this._getScrollBounds();this._leftBtn.set("disabled",_93<=_94.min);this._rightBtn.set("disabled",_93>=_94.max);}});var _95=_64("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_6c,tabIndex:"",isFocusable:function(){return false;}});_64("dijit.layout._ScrollingTabControllerButton",[_72,_95]);_64("dijit.layout._ScrollingTabControllerMenuButton",[_72,_73,_95],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_96){this.dropDown=new _70({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _97=_6a.byId(this.containerId);_63.forEach(_97.getChildren(),function(_98){var _99=new _71({id:_98.id+"_stcMi",label:_98.title,iconClass:_98.iconClass,disabled:_98.disabled,ownerDocument:this.ownerDocument,dir:_98.dir,lang:_98.lang,textDir:_98.textDir,onClick:function(){_97.selectChild(_98);}});this.dropDown.addChild(_99);},this);_96();},closeDropDown:function(_9a){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _74;});},"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\" role=\"presentation\"\n\t\t/></td></tr></tbody\n></table>\n","dijit/DialogUnderlay":function(){define("dijit/DialogUnderlay",["dojo/_base/declare","dojo/dom-attr","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_9b,_9c,_9d,_9e,_9f,_a0){return _9b("dijit.DialogUnderlay",[_9e,_9f],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_9c.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_a1){this.node.className="dijitDialogUnderlay "+_a1;this._set("class",_a1);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _a2=_9d.getBox(this.ownerDocument);os.top=_a2.t+"px";os.left=_a2.l+"px";is.width=_a2.w+"px";is.height=_a2.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _a0(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_a3,_a4,_a5,_a6,win,_a7,_a8){function _a9(_aa,_ab,_ac,_ad){var _ae=_a7.getBox(_aa.ownerDocument);if(!_aa.parentNode||String(_aa.parentNode.tagName).toLowerCase()!="body"){win.body(_aa.ownerDocument).appendChild(_aa);}var _af=null;_a3.some(_ab,function(_b0){var _b1=_b0.corner;var pos=_b0.pos;var _b2=0;var _b3={w:{"L":_ae.l+_ae.w-pos.x,"R":pos.x-_ae.l,"M":_ae.w}[_b1.charAt(1)],h:{"T":_ae.t+_ae.h-pos.y,"B":pos.y-_ae.t,"M":_ae.h}[_b1.charAt(0)]};var s=_aa.style;s.left=s.right="auto";if(_ac){var res=_ac(_aa,_b0.aroundCorner,_b1,_b3,_ad);_b2=typeof res=="undefined"?0:res;}var _b4=_aa.style;var _b5=_b4.display;var _b6=_b4.visibility;if(_b4.display=="none"){_b4.visibility="hidden";_b4.display="";}var bb=_a4.position(_aa);_b4.display=_b5;_b4.visibility=_b6;var _b7={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_ae.l,Math.min(_ae.l+_ae.w,pos.x+(bb.w>>1))-bb.w)}[_b1.charAt(1)],_b8={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_ae.t,Math.min(_ae.t+_ae.h,pos.y+(bb.h>>1))-bb.h)}[_b1.charAt(0)],_b9=Math.max(_ae.l,_b7),_ba=Math.max(_ae.t,_b8),_bb=Math.min(_ae.l+_ae.w,_b7+bb.w),_bc=Math.min(_ae.t+_ae.h,_b8+bb.h),_bd=_bb-_b9,_be=_bc-_ba;_b2+=(bb.w-_bd)+(bb.h-_be);if(_af==null||_b2<_af.overflow){_af={corner:_b1,aroundCorner:_b0.aroundCorner,x:_b9,y:_ba,w:_bd,h:_be,overflow:_b2,spaceAvailable:_b3};}return !_b2;});if(_af.overflow&&_ac){_ac(_aa,_af.aroundCorner,_af.corner,_af.spaceAvailable,_ad);}var l=_a4.isBodyLtr(_aa.ownerDocument),s=_aa.style;s.top=_af.y+"px";s[l?"left":"right"]=(l?_af.x:_ae.w-_af.x-_af.w)+"px";s[l?"right":"left"]="auto";return _af;};var _bf={at:function(_c0,pos,_c1,_c2){var _c3=_a3.map(_c1,function(_c4){var c={corner:_c4,pos:{x:pos.x,y:pos.y}};if(_c2){c.pos.x+=_c4.charAt(1)=="L"?_c2.x:-_c2.x;c.pos.y+=_c4.charAt(0)=="T"?_c2.y:-_c2.y;}return c;});return _a9(_c0,_c3);},around:function(_c5,_c6,_c7,_c8,_c9){var _ca=(typeof _c6=="string"||"offsetWidth" in _c6)?_a4.position(_c6,true):_c6;if(_c6.parentNode){var _cb=_a5.getComputedStyle(_c6).position=="absolute";var _cc=_c6.parentNode;while(_cc&&_cc.nodeType==1&&_cc.nodeName!="BODY"){var _cd=_a4.position(_cc,true),pcs=_a5.getComputedStyle(_cc);if(/relative|absolute/.test(pcs.position)){_cb=false;}if(!_cb&&/hidden|auto|scroll/.test(pcs.overflow)){var _ce=Math.min(_ca.y+_ca.h,_cd.y+_cd.h);var _cf=Math.min(_ca.x+_ca.w,_cd.x+_cd.w);_ca.x=Math.max(_ca.x,_cd.x);_ca.y=Math.max(_ca.y,_cd.y);_ca.h=_ce-_ca.y;_ca.w=_cf-_ca.x;}if(pcs.position=="absolute"){_cb=true;}_cc=_cc.parentNode;}}var x=_ca.x,y=_ca.y,_d0="w" in _ca?_ca.w:(_ca.w=_ca.width),_d1="h" in _ca?_ca.h:(_a6.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_ca.height+", width:"+_d0+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_ca.height+", w:"+_d0+" }","","2.0"),_ca.h=_ca.height);var _d2=[];function _d3(_d4,_d5){_d2.push({aroundCorner:_d4,corner:_d5,pos:{x:{"L":x,"R":x+_d0,"M":x+(_d0>>1)}[_d4.charAt(1)],y:{"T":y,"B":y+_d1,"M":y+(_d1>>1)}[_d4.charAt(0)]}});};_a3.forEach(_c7,function(pos){var ltr=_c8;switch(pos){case "above-centered":_d3("TM","BM");break;case "below-centered":_d3("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_d3(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_d3(ltr?"TL":"TR",ltr?"TR":"TL");_d3(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_d3(ltr?"BL":"BR",ltr?"TL":"TR");_d3(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_d3(ltr?"TL":"TR",ltr?"BL":"BR");_d3(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_d3(pos.aroundCorner,pos.corner);}});var _d6=_a9(_c5,_d2,_c9,{w:_d0,h:_d1});_d6.aroundNodePos=_ca;return _d6;}};return _a8.place=_bf;});},"dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_d7,_d8,_d9,dom,_da,_db,_dc,_dd,has,_de,_df,on,_e0,_e1,_e2,_e3,_e4){return _d7("dijit._HasDropDown",_e4,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(this.ownerDocument,"mouseup","_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _e5=this.dropDown,_e6=false;if(e&&this._opened){var c=_dc.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_e6){if(_db.contains(t,"dijitPopup")){_e6=true;}else{t=t.parentNode;}}if(_e6){t=e.target;if(_e5.onItemClick){var _e7;while(t&&!(_e7=_e1.byNode(t))){t=t.parentNode;}if(_e7&&_e7.onClick&&_e7.getParent){_e7.getParent().onItemClick(_e7,e);}}return;}}}if(this._opened){if(_e5.focus&&_e5.autoFocus!==false){this._focusDropDownTimer=this.defer(function(){_e5.focus();delete this._focusDropDownTimer;});}}else{this.defer("focus");}if(has("touch")){this._justGotMouseUp=true;this.defer(function(){this._justGotMouseUp=false;});}},_onDropDownClick:function(e){if(has("touch")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_d9.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _e8={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_db.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_e8+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _e9=this.focusNode||this.domNode;this.own(on(this._buttonNode,"mousedown",_df.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_df.hitch(this,"_onDropDownClick")),on(_e9,"keydown",_df.hitch(this,"_onKey")),on(_e9,"keyup",_df.hitch(this,"_onKeyUp")));},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_ea=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_d9.stop(e);return;}}if(d&&this._opened&&e.keyCode==_de.ESCAPE){this.closeDropDown();_d9.stop(e);}else{if(!this._opened&&(e.keyCode==_de.DOWN_ARROW||((e.keyCode==_de.ENTER||e.keyCode==_de.SPACE)&&((_ea.tagName||"").toLowerCase()!=="input"||(_ea.type&&_ea.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_d9.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_df.hitch(d,"focus"),1);}}},_onBlur:function(){var _eb=_e2.curNode&&this.dropDown&&dom.isDescendant(_e2.curNode,this.dropDown.domNode);this.closeDropDown(_eb);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_ec){_ec();},loadAndOpenDropDown:function(){var d=new _d8(),_ed=_df.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_ed);}else{_ed();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _ee=this.dropDown,_ef=_ee.domNode,_f0=this._aroundNode||this.domNode,_f1=this;if(!this._preparedNode){this._preparedNode=true;if(_ef.style.width){this._explicitDDWidth=true;}if(_ef.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _f2={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_f2.width="";}if(!this._explicitDDHeight){_f2.height="";}_dd.set(_ef,_f2);var _f3=this.maxHeight;if(_f3==-1){var _f4=_e0.getBox(this.ownerDocument),_f5=_dc.position(_f0,false);_f3=Math.floor(Math.max(_f5.y,_f4.h-(_f5.y+_f5.h)));}_e3.moveOffScreen(_ee);if(_ee.startup&&!_ee._started){_ee.startup();}var mb=_dc.getMarginSize(_ef);var _f6=(_f3&&mb.h>_f3);_dd.set(_ef,{overflowX:"visible",overflowY:_f6?"auto":"visible"});if(_f6){mb.h=_f3;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_f0.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_f0.offsetWidth);}else{delete mb.w;}}if(_df.isFunction(_ee.resize)){_ee.resize(mb);}else{_dc.setMarginBox(_ef,mb);}}var _f7=_e3.open({parent:this,popup:_ee,around:_f0,orient:this.dropDownPosition,onExecute:function(){_f1.closeDropDown(true);},onCancel:function(){_f1.closeDropDown(true);},onClose:function(){_da.set(_f1._popupStateNode,"popupActive",false);_db.remove(_f1._popupStateNode,"dijitHasDropDownOpen");_f1._set("_opened",false);}});_da.set(this._popupStateNode,"popupActive","true");_db.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this.domNode.setAttribute("aria-expanded","true");return _f7;},closeDropDown:function(_f8){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this.domNode.setAttribute("aria-expanded","false");if(_f8){this.focus();}_e3.close(this.dropDown);this._opened=false;}}});});},"dijit/tree/TreeStoreModel":function(){define("dijit/tree/TreeStoreModel",["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_f9,_fa,_fb,_fc){return _fb("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_fd){_fc.mixin(this,_fd);this.connects=[];var _fe=this.store;if(!_fe.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_fe.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_fa.after(_fe,"onNew",_fc.hitch(this,"onNewItem"),true),_fa.after(_fe,"onDelete",_fc.hitch(this,"onDeleteItem"),true),_fa.after(_fe,"onSet",_fc.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_ff,_100){if(this.root){_ff(this.root);}else{this.store.fetch({query:this.query,onComplete:_fc.hitch(this,function(_101){if(_101.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_101.length+" items, but must return exactly one");}this.root=_101[0];_ff(this.root);}),onError:_100});}},mayHaveChildren:function(item){return _f9.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_102,_103,_104){var _105=this.store;if(!_105.isItemLoaded(_102)){var _106=_fc.hitch(this,arguments.callee);_105.loadItem({item:_102,onItem:function(_107){_106(_107,_103,_104);},onError:_104});return;}var _108=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_105.getValues(_102,this.childrenAttrs[i]);_108=_108.concat(vals);}var _109=0;if(!this.deferItemLoadingUntilExpand){_f9.forEach(_108,function(item){if(!_105.isItemLoaded(item)){_109++;}});}if(_109==0){_103(_108);}else{_f9.forEach(_108,function(item,idx){if(!_105.isItemLoaded(item)){_105.loadItem({item:item,onItem:function(item){_108[idx]=item;if(--_109==0){_103(_108);}},onError:_104});}});}},isItem:function(_10a){return this.store.isItem(_10a);},fetchItemByIdentity:function(_10b){this.store.fetchItemByIdentity(_10b);},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_10c,_10d){var _10e={parent:_10c,attribute:this.childrenAttrs[0]},_10f;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_10c,true,_10d);}else{_10f=this.store.newItem(args,_10e);if(_10f&&(_10d!=undefined)){this.pasteItem(_10f,_10c,_10c,false,_10d);}}}});}else{_10f=this.store.newItem(args,_10e);if(_10f&&(_10d!=undefined)){this.pasteItem(_10f,_10c,_10c,false,_10d);}}},pasteItem:function(_110,_111,_112,_113,_114){var _115=this.store,_116=this.childrenAttrs[0];if(_111){_f9.forEach(this.childrenAttrs,function(attr){if(_115.containsValue(_111,attr,_110)){if(!_113){var _117=_f9.filter(_115.getValues(_111,attr),function(x){return x!=_110;});_115.setValues(_111,attr,_117);}_116=attr;}});}if(_112){if(typeof _114=="number"){var _118=_115.getValues(_112,_116).slice();_118.splice(_114,0,_110);_115.setValues(_112,_116,_118);}else{_115.setValues(_112,_116,_115.getValues(_112,_116).concat(_110));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_119){if(!_119){return;}this.getChildren(_119.item,_fc.hitch(this,function(_11a){this.onChildrenChange(_119.item,_11a);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_11b){if(_f9.indexOf(this.childrenAttrs,_11b)!=-1){this.getChildren(item,_fc.hitch(this,function(_11c){this.onChildrenChange(item,_11c);}));}else{this.onChange(item);}}});});},"dijit/_MenuBase":function(){define("dijit/_MenuBase",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./popup","./registry","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_11d,_11e,dom,_11f,_120,lang,_121,on,_122,_123,pm,_124,_125,_126,_127){return _11e("dijit._MenuBase",[_125,_127,_126],{parentMenu:null,popupDelay:500,autoFocus:false,childSelector:function(node){var _128=_124.byNode(node);return node.parentNode==this.containerNode&&_128&&_128.focus;},postCreate:function(){var self=this,_129=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_129,_121.enter),function(){self.onItemHover(_124.byNode(this));}),on(this.containerNode,on.selector(_129,_121.leave),function(){self.onItemUnhover(_124.byNode(this));}),on(this.containerNode,on.selector(_129,_123),function(evt){self.onItemClick(_124.byNode(this),evt);evt.stopPropagation();evt.preventDefault();}));this.inherited(arguments);},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _12a=this._getTopMenu();if(_12a&&_12a._isMenuBar){_12a.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _12b=this.currentPopup.parentMenu;if(_12b.focusedChild){_12b.focusedChild._setSelected(false);}_12b.focusedChild=this.currentPopup.from_item;_12b.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(item){if(this.isActive){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=this.defer("_openPopup",this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;item._set("hovering",true);},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _12c=item.popup;if(_12c){this._stopPendingCloseTimer(_12c);_12c._pendingClose_timer=this.defer(function(){_12c._pendingClose_timer=null;if(_12c.parentMenu){_12c.parentMenu.currentPopup=null;}pm.close(_12c);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(_12d){if(_12d._pendingClose_timer){_12d._pendingClose_timer=_12d._pendingClose_timer.remove();}},_stopFocusTimer:function(){if(this._focus_timer){this._focus_timer=this._focus_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this._openPopup(evt.type=="keypress");}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openPopup:function(_12e){this._stopPopupTimer();var _12f=this.focusedChild;if(!_12f){return;}var _130=_12f.popup;if(!_130.isShowingNow){if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_130.parentMenu=this;_130.from_item=_12f;var self=this;pm.open({parent:this,popup:_130,around:_12f.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_12f);self._cleanUp();_12f._setSelected(true);self.focusedChild=_12f;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_130;_130.connect(_130.domNode,"onmouseenter",lang.hitch(self,"_onPopupHover"));}if(_12e&&_130.focus){_130._focus_timer=this.defer(lang.hitch(_130,function(){this._focus_timer=null;this.focus();}));}},_markActive:function(){this.isActive=true;_120.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_120.replace(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopup){if(_11d.indexOf(this._focusManager.activeStack,this.id)>=0){_11f.set(this.focusedChild.focusNode,"tabIndex",this.tabIndex);this.focusedChild.focusNode.focus();}pm.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.onItemUnhover(this.focusedChild);this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_131,_132,dom,_133,_134,_135,lang,on,_136,has,_137,_138,win,_139,a11y,_13a,_13b){var _13c=_132([_137,_135],{curNode:null,activeStack:[],constructor:function(){var _13d=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_131.before(_134,"empty",_13d);_131.before(_134,"destroy",_13d);},registerIframe:function(_13e){return this.registerWin(_13e.contentWindow,_13e);},registerWin:function(_13f,_140){var _141=this;var _142=function(evt){_141._justMouseDowned=true;setTimeout(function(){_141._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_141._onTouchNode(_140||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_13f.document.documentElement:_13f.document;if(doc){if(has("ie")){_13f.document.body.attachEvent("onmousedown",_142);var _143=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_141._onFocusNode(_140||evt.srcElement);}else{_141._onTouchNode(_140||evt.srcElement);}};doc.attachEvent("onfocusin",_143);var _144=function(evt){_141._onBlurNode(_140||evt.srcElement);};doc.attachEvent("onfocusout",_144);return {remove:function(){_13f.document.detachEvent("onmousedown",_142);doc.detachEvent("onfocusin",_143);doc.detachEvent("onfocusout",_144);doc=null;}};}else{doc.body.addEventListener("mousedown",_142,true);doc.body.addEventListener("touchstart",_142,true);var _145=function(evt){_141._onFocusNode(_140||evt.target);};doc.addEventListener("focus",_145,true);var _146=function(evt){_141._onBlurNode(_140||evt.target);};doc.addEventListener("blur",_146,true);return {remove:function(){doc.body.removeEventListener("mousedown",_142,true);doc.body.removeEventListener("touchstart",_142,true);doc.removeEventListener("focus",_145,true);doc.removeEventListener("blur",_146,true);doc=null;}};}}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _147=[];try{while(node){var _148=_133.get(node,"dijitPopupParent");if(_148){node=_13a.byId(_148).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_139.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_149=id&&_13a.byId(id);if(_149&&!(by=="mouse"&&_149.get("disabled"))){_147.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_147,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_14a,by){var _14b=this.activeStack;this.set("activeStack",_14a);for(var _14c=0;_14c<Math.min(_14b.length,_14a.length);_14c++){if(_14b[_14c]!=_14a[_14c]){break;}}var _14d;for(var i=_14b.length-1;i>=_14c;i--){_14d=_13a.byId(_14b[i]);if(_14d){_14d._hasBeenBlurred=true;_14d.set("focused",false);if(_14d._focusManager==this){_14d._onBlur(by);}this.emit("widget-blur",_14d,by);}}for(i=_14c;i<_14a.length;i++){_14d=_13a.byId(_14a[i]);if(_14d){_14d.set("focused",true);if(_14d._focusManager==this){_14d._onFocus(by);}this.emit("widget-focus",_14d,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _14e=new _13c();_136(function(){var _14f=_14e.registerWin(_139.get(win.doc));if(has("ie")){_138.addOnWindowUnload(function(){if(_14f){_14f.remove();_14f=null;}});}});_13b.focus=function(node){_14e.focus(node);};for(var attr in _14e){if(!/^_/.test(attr)){_13b.focus[attr]=typeof _14e[attr]=="function"?lang.hitch(_14e,attr):_14e[attr];}}_14e.watch(function(attr,_150,_151){_13b.focus[attr]=_151;});return _14e;});},"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_152,has,_153,_154,lang,xhr,json,_155){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _156=dojo.i18n={},_157=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_158=function(root,_159,_15a,_15b){for(var _15c=[_15a+_15b],_15d=_159.split("-"),_15e="",i=0;i<_15d.length;i++){_15e+=(_15e?"-":"")+_15d[i];if(!root||root[_15e]){_15c.push(_15a+_15e+"/"+_15b);}}return _15c;},_15f={},_160=function(_161,_162,_163){_163=_163?_163.toLowerCase():dojo.locale;_161=_161.replace(/\./g,"/");_162=_162.replace(/\./g,"/");return (/root/i.test(_163))?(_161+"/nls/"+_162):(_161+"/nls/"+_163+"/"+_162);},_164=dojo.getL10nName=function(_165,_166,_167){return _165=_155.id+"!"+_160(_165,_166,_167);},_168=function(_169,_16a,_16b,_16c,_16d,load){_169([_16a],function(root){var _16e=lang.clone(root.root),_16f=_158(!root._v1x&&root,_16d,_16b,_16c);_169(_16f,function(){for(var i=1;i<_16f.length;i++){_16e=lang.mixin(lang.clone(_16e),arguments[i]);}var _170=_16a+"/"+_16d;_15f[_170]=_16e;load();});});},_171=function(id,_172){return /^\./.test(id)?_172(id):id;},_173=function(_174){var list=_154.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_174);return list;},load=function(id,_175,load){if(has("dojo-preload-i18n-Api")){var _176=id.split("*"),_177=_176[1]=="preload";if(_177){if(!_15f[id]){_15f[id]=1;_178(_176[2],json.parse(_176[3]),1,_175);}load(1);}if(_177||_179(id,_175,load)){return;}}var _17a=_157.exec(id),_17b=_17a[1]+"/",_17c=_17a[5]||_17a[4],_17d=_17b+_17c,_17e=(_17a[5]&&_17a[4]),_17f=_17e||dojo.locale,_180=_17d+"/"+_17f,_181=_17e?[_17f]:_173(_17f),_182=_181.length,_183=function(){if(!--_182){load(lang.delegate(_15f[_180]));}};_153.forEach(_181,function(_184){var _185=_17d+"/"+_184;if(has("dojo-preload-i18n-Api")){_186(_185);}if(!_15f[_185]){_168(_175,_17d,_17b,_17c,_184,_183);}else{_183();}});};if(has("dojo-unit-tests")){var _187=_156.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _188=_156.normalizeLocale=function(_189){var _18a=_189?_189.toLowerCase():dojo.locale;return _18a=="root"?"ROOT":_18a;},isXd=function(mid,_18b){return (1&&1)?_18b.isXdUrl(_152.toUrl(mid+".js")):true;},_18c=0,_18d=[],_178=_156._preloadLocalizations=function(_18e,_18f,_190,_191){_191=_191||_152;function _192(mid,_193){if(isXd(mid,_191)||_190){_191([mid],_193);}else{_19d([mid],_193,_191);}};function _194(_195,func){var _196=_195.split("-");while(_196.length){if(func(_196.join("-"))){return;}_196.pop();}func("ROOT");};function _197(_198){_198=_188(_198);_194(_198,function(loc){if(_153.indexOf(_18f,loc)>=0){var mid=_18e.replace(/\./g,"/")+"_"+loc;_18c++;_192(mid,function(_199){for(var p in _199){_15f[_152.toAbsMid(p)+"/"+loc]=_199[p];}--_18c;while(!_18c&&_18d.length){load.apply(null,_18d.shift());}});return true;}return false;});};_197();_153.forEach(dojo.config.extraLocale,_197);},_179=function(id,_19a,load){if(_18c){_18d.push([id,_19a,load]);}return _18c;},_186=function(){};}if(1){var _19b={},_19c=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_19d=function(deps,_19e,_19f){var _1a0=[];_153.forEach(deps,function(mid){var url=_19f.toUrl(mid+".js");function load(text){var _1a1=_19c(text,_186,mid,_19b);if(_1a1===_19b){_1a0.push(_15f[url]=_19b.result);}else{if(_1a1 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_1a1);_1a1={};}_1a0.push(_15f[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1a1:{root:_1a1,_v1x:1}));}};if(_15f[url]){_1a0.push(_15f[url]);}else{var _1a2=_19f.syncLoadNls(mid);if(_1a2){_1a0.push(_1a2);}else{if(!xhr){try{_19f.getText(url,true,load);}catch(e){_1a0.push(_15f[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_1a0.push(_15f[url]={});}});}}}});_19e&&_19e.apply(null,_1a0);};_186=function(_1a3){for(var _1a4,_1a5=_1a3.split("/"),_1a6=dojo.global[_1a5[0]],i=1;_1a6&&i<_1a5.length-1;_1a6=_1a6[_1a5[i++]]){}if(_1a6){_1a4=_1a6[_1a5[i]];if(!_1a4){_1a4=_1a6[_1a5[i].replace(/-/g,"_")];}if(_1a4){_15f[_1a3]=_1a4;}}return _1a4;};_156.getLocalization=function(_1a7,_1a8,_1a9){var _1aa,_1ab=_160(_1a7,_1a8,_1a9);load(_1ab,(!isXd(_1ab,_152)?function(deps,_1ac){_19d(deps,_1ac,_152);}:_152),function(_1ad){_1aa=_1ad;});return _1aa;};if(has("dojo-unit-tests")){_187.push(function(doh){doh.register("tests.i18n.unit",function(t){var _1ae;_1ae=_19c("{prop:1}",_186,"nonsense",_19b);t.is({prop:1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("({prop:1})",_186,"nonsense",_19b);t.is({prop:1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("{'prop-x':1}",_186,"nonsense",_19b);t.is({"prop-x":1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("({'prop-x':1})",_186,"nonsense",_19b);t.is({"prop-x":1},_1ae);t.is(undefined,_1ae[1]);_1ae=_19c("define({'prop-x':1})",_186,"nonsense",_19b);t.is(_19b,_1ae);t.is({"prop-x":1},_19b.result);_1ae=_19c("define('some/module', {'prop-x':1})",_186,"nonsense",_19b);t.is(_19b,_1ae);t.is({"prop-x":1},_19b.result);_1ae=_19c("this is total nonsense and should throw an error",_186,"nonsense",_19b);t.is(_1ae instanceof Error,true);});});}}return lang.mixin(_156,{dynamic:true,normalize:_171,load:load,cache:_15f});});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_1af,has,_1b0,win){_1b0(90,function(){if(has("highcontrast")){_1af.add(win.body(),"dijit_a11y");}});return has;});},"dijit/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_1b1,_1b2,_1b3,lang,_1b4){return _1b2("dijit.tree.ForestStoreModel",_1b4,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_1b5){this.root={store:this,root:true,id:_1b5.rootId,label:_1b5.rootLabel,children:_1b5.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_1b6,_1b7,_1b8){if(_1b6===this.root){if(this.root.children){_1b7(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1b9){this.root.children=_1b9;_1b7(_1b9);}),onError:_1b8});}}else{this.inherited(arguments);}},isItem:function(_1ba){return (_1ba===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_1bb){if(_1bb.identity==this.root.id){var _1bc=_1bb.scope||_1b3.global;if(_1bb.onItem){_1bb.onItem.call(_1bc,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_1bd,_1be){if(_1bd===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_1bf,_1c0,_1c1,_1c2,_1c3){if(_1c0===this.root){if(!_1c2){this.onLeaveRoot(_1bf);}}this.inherited(arguments,[_1bf,_1c0===this.root?null:_1c0,_1c1===this.root?null:_1c1,_1c2,_1c3]);if(_1c1===this.root){this.onAddToRoot(_1bf);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _1c4=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1c5){this.root.children=_1c5;if(_1c4.length!=_1c5.length||_1b1.some(_1c4,function(item,idx){return _1c5[idx]!=item;})){this.onChildrenChange(this.root,_1c5);}})});},onNewItem:function(item,_1c6){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_1b1.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_1c7,_1c8,_1c9){this._requeryTop();this.inherited(arguments);}});});},"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_1ca,_1cb,_1cc,i18n){return _1cb("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_1cd){this.value=_1cd;this.onChange(_1cd);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_1ce){var _1cf=this._createMenuItem();var _1d0=_1ce(item);if(_1d0.html){_1cf.innerHTML=_1d0.label;}else{_1cf.appendChild(_1cf.ownerDocument.createTextNode(_1d0.label));}if(_1cf.innerHTML==""){_1cf.innerHTML="&#160;";}this.applyTextDir(_1cf,(_1cf.innerText||_1cf.textContent||""));return _1cf;},createOptions:function(_1d1,_1d2,_1d3){this.items=_1d1;this.previousButton.style.display=(_1d2.start==0)?"none":"";_1cc.set(this.previousButton,"id",this.id+"_prev");_1ca.forEach(_1d1,function(item,i){var _1d4=this._createOption(item,_1d3);_1d4.setAttribute("item",i);_1cc.set(_1d4,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1d4,this.nextButton);},this);var _1d5=false;if(_1d1.total&&!_1d1.total.then&&_1d1.total!=-1){if((_1d2.start+_1d2.count)<_1d1.total){_1d5=true;}else{if((_1d2.start+_1d2.count)>_1d1.total&&_1d2.count==_1d1.length){_1d5=true;}}}else{if(_1d2.count==_1d1.length){_1d5=true;}}this.nextButton.style.display=_1d5?"":"none";_1cc.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _1d6=this.containerNode;while(_1d6.childNodes.length>2){_1d6.removeChild(_1d6.childNodes[_1d6.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});});},"dijit/form/_SearchMixin":function(){define("dijit/form/_SearchMixin",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/sniff","dojo/string","dojo/when","../registry"],function(_1d7,_1d8,_1d9,keys,lang,_1da,has,_1db,when,_1dc){return _1d8("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT){return;}var _1dd=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_1dd=true;break;default:_1dd=typeof key=="string"||key==229;}if(_1dd){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_startSearch:function(text){this._abortQuery();var _1de=this,_1da=lang.clone(this.query),_1df={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_1db.substitute(this.queryExpr,[text]),q,_1e0=function(){var _1e1=_1de._fetchHandle=_1de.store.query(_1da,_1df);if(_1de.disabled||_1de.readOnly||(q!==_1de._lastQuery)){return;}when(_1e1,function(res){_1de._fetchHandle=null;if(!_1de.disabled&&!_1de.readOnly&&(q===_1de._lastQuery)){when(_1e1.total,function(_1e2){res.total=_1e2;var _1e3=_1de.pageSize;if(isNaN(_1e3)||_1e3>res.total){_1e3=res.total;}res.nextPage=function(_1e4){_1df.direction=_1e4=_1e4!==false;_1df.count=_1e3;if(_1e4){_1df.start+=res.length;if(_1df.start>=res.total){_1df.count=0;}}else{_1df.start-=_1e3;if(_1df.start<0){_1df.count=Math.max(_1e3+_1df.start,0);_1df.start=0;}}if(_1df.count<=0){res.length=0;_1de.onSearch(res,_1da,_1df);}else{_1e0();}};_1de.onSearch(res,_1da,_1df);});}},function(err){_1de._fetchHandle=null;if(!_1de._cancelingQuery){console.error(_1de.declaredClass+" "+err.toString());}});};lang.mixin(_1df,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=_1d7.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_1da[this.searchAttr]=q;this._queryDeferHandle=this.defer(_1e0,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_1dc.byId(list);}}this.inherited(arguments);}});});},"dojo/parser":function(){define("dojo/parser",["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_1e5,dojo,_1e6,_1e7,_1e8,_1e9,_1ea,_1eb,_1ec,_1ed,_1ee,_1ef,has,_1f0,don,_1f1){new Date("X");var _1f2=0;_1ed.after(_1e6,"extend",function(){_1f2++;},true);function _1f3(ctor){var map=ctor._nameCaseMap,_1f4=ctor.prototype;if(!map||map._extendCnt<_1f2){map=ctor._nameCaseMap={};for(var name in _1f4){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_1f2;}return map;};var _1f5={};function _1f6(_1f7){var ts=_1f7.join();if(!_1f5[ts]){var _1f8=[];for(var i=0,l=_1f7.length;i<l;i++){var t=_1f7[i];_1f8[_1f8.length]=(_1f5[t]=_1f5[t]||(_1e6.getObject(t)||(~t.indexOf("/")&&_1e5(t))));}var ctor=_1f8.shift();_1f5[ts]=_1f8.length?(ctor.createSubclass?ctor.createSubclass(_1f8):ctor.extend.apply(ctor,_1f8)):ctor;}return _1f5[ts];};var _1f9={_clearCache:function(){_1f2++;_1f5={};},_functionFromScript:function(_1fa,_1fb){var _1fc="",_1fd="",_1fe=(_1fa.getAttribute(_1fb+"args")||_1fa.getAttribute("args")),_1ff=_1fa.getAttribute("with");var _200=(_1fe||"").split(/\s*,\s*/);if(_1ff&&_1ff.length){_1e7.forEach(_1ff.split(/\s*,\s*/),function(part){_1fc+="with("+part+"){";_1fd+="}";});}return new Function(_200,_1fc+_1fa.innerHTML+_1fd);},instantiate:function(_201,_202,_203){_202=_202||{};_203=_203||{};var _204=(_203.scope||dojo._scopeName)+"Type",_205="data-"+(_203.scope||dojo._scopeName)+"-",_206=_205+"type",_207=_205+"mixins";var list=[];_1e7.forEach(_201,function(node){var type=_204 in _202?_202[_204]:node.getAttribute(_206)||node.getAttribute(_204);if(type){var _208=node.getAttribute(_207),_209=_208?[type].concat(_208.split(/\s*,\s*/)):[type];list.push({node:node,types:_209});}});return this._instantiate(list,_202,_203);},_instantiate:function(_20a,_20b,_20c){var _20d=_1e7.map(_20a,function(obj){var ctor=obj.ctor||_1f6(obj.types);if(!ctor){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(ctor,obj.node,_20b,_20c,obj.scripts,obj.inherited);},this);if(!_20b._started&&!_20c.noStart){_1e7.forEach(_20d,function(_20e){if(typeof _20e.startup==="function"&&!_20e._started){_20e.startup();}});}return _20d;},construct:function(ctor,node,_20f,_210,_211,_212){var _213=ctor&&ctor.prototype;_210=_210||{};var _214={};if(_210.defaults){_1e6.mixin(_214,_210.defaults);}if(_212){_1e6.mixin(_214,_212);}var _215;if(has("dom-attributes-explicit")){_215=node.attributes;}else{if(has("dom-attributes-specified-flag")){_215=_1e7.filter(node.attributes,function(a){return a.specified;});}else{var _216=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_217=_216.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_215=_1e7.map(_217.split(/\s+/),function(name){var _218=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_218=="enctype"?node.getAttribute(_218):node.getAttributeNode(_218).value};});}}var _219=_210.scope||dojo._scopeName,_21a="data-"+_219+"-",hash={};if(_219!=="dojo"){hash[_21a+"props"]="data-dojo-props";hash[_21a+"type"]="data-dojo-type";hash[_21a+"mixins"]="data-dojo-mixins";hash[_219+"type"]="dojoType";hash[_21a+"id"]="data-dojo-id";}var i=0,item,_21b=[],_21c,_21d;while(item=_215[i++]){var name=item.name,_21e=name.toLowerCase(),_21f=item.value;switch(hash[_21e]||_21e){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_21d=_21f;break;case "data-dojo-id":case "jsid":_21c=_21f;break;case "data-dojo-attach-point":case "dojoattachpoint":_214.dojoAttachPoint=_21f;break;case "data-dojo-attach-event":case "dojoattachevent":_214.dojoAttachEvent=_21f;break;case "class":_214["class"]=node.className;break;case "style":_214["style"]=node.style&&node.style.cssText;break;default:if(!(name in _213)){var map=_1f3(ctor);name=map[_21e]||name;}if(name in _213){switch(typeof _213[name]){case "string":_214[name]=_21f;break;case "number":_214[name]=_21f.length?Number(_21f):NaN;break;case "boolean":_214[name]=_21f.toLowerCase()!="false";break;case "function":if(_21f===""||_21f.search(/[^\w\.]+/i)!=-1){_214[name]=new Function(_21f);}else{_214[name]=_1e6.getObject(_21f,false)||new Function(_21f);}_21b.push(name);break;default:var pVal=_213[name];_214[name]=(pVal&&"length" in pVal)?(_21f?_21f.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_21f==""?new Date(""):_21f=="now"?new Date():_1ee.fromISOString(_21f)):(pVal instanceof _1eb)?(dojo.baseUrl+_21f):_1ec.fromJson(_21f);}}else{_214[name]=_21f;}}}for(var j=0;j<_21b.length;j++){var _220=_21b[j].toLowerCase();node.removeAttribute(_220);node[_220]=null;}if(_21d){try{_21d=_1ec.fromJson.call(_210.propsThis,"{"+_21d+"}");_1e6.mixin(_214,_21d);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_21d+"'");}}_1e6.mixin(_214,_20f);if(!_211){_211=(ctor&&(ctor._noScript||_213._noScript)?[]:_1f0("> script[type^='dojo/']",node));}var _221=[],_222=[],_223=[],ons=[];if(_211){for(i=0;i<_211.length;i++){var _224=_211[i];node.removeChild(_224);var _225=(_224.getAttribute(_21a+"event")||_224.getAttribute("event")),prop=_224.getAttribute(_21a+"prop"),_226=_224.getAttribute(_21a+"method"),_227=_224.getAttribute(_21a+"advice"),_228=_224.getAttribute("type"),nf=this._functionFromScript(_224,_21a);if(_225){if(_228=="dojo/connect"){_221.push({method:_225,func:nf});}else{if(_228=="dojo/on"){ons.push({event:_225,func:nf});}else{_214[_225]=nf;}}}else{if(_228=="dojo/aspect"){_221.push({method:_226,advice:_227,func:nf});}else{if(_228=="dojo/watch"){_223.push({prop:prop,func:nf});}else{_222.push(nf);}}}}}var _229=ctor.markupFactory||_213.markupFactory;var _22a=_229?_229(_214,node,ctor):new ctor(_214,node);if(_21c){_1e6.setObject(_21c,_22a);}for(i=0;i<_221.length;i++){_1ed[_221[i].advice||"after"](_22a,_221[i].method,_1e6.hitch(_22a,_221[i].func),true);}for(i=0;i<_222.length;i++){_222[i].call(_22a);}for(i=0;i<_223.length;i++){_22a.watch(_223[i].prop,_223[i].func);}for(i=0;i<ons.length;i++){don(_22a,ons[i].event,ons[i].func);}return _22a;},scan:function(root,_22b){var list=[],mids=[],_22c={};var _22d=(_22b.scope||dojo._scopeName)+"Type",_22e="data-"+(_22b.scope||dojo._scopeName)+"-",_22f=_22e+"type",_230=_22e+"textdir",_231=_22e+"mixins";var node=root.firstChild;var _232=_22b.inherited;if(!_232){function _233(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node.parentNode&&_233(node.parentNode,attr));};_232={dir:_233(root,"dir"),lang:_233(root,"lang"),textDir:_233(root,_230)};for(var key in _232){if(!_232[key]){delete _232[key];}}}var _234={inherited:_232};var _235;var _236;function _237(_238){if(!_238.inherited){_238.inherited={};var node=_238.node,_239=_237(_238.parent);var _23a={dir:node.getAttribute("dir")||_239.dir,lang:node.getAttribute("lang")||_239.lang,textDir:node.getAttribute(_230)||_239.textDir};for(var key in _23a){if(_23a[key]){_238.inherited[key]=_23a[key];}}}return _238.inherited;};while(true){if(!node){if(!_234||!_234.node){break;}node=_234.node.nextSibling;_236=false;_234=_234.parent;_235=_234.scripts;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_235&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_235.push(node);}node=node.nextSibling;continue;}if(_236){node=node.nextSibling;continue;}var type=node.getAttribute(_22f)||node.getAttribute(_22d);var _23b=node.firstChild;if(!type&&(!_23b||(_23b.nodeType==3&&!_23b.nextSibling))){node=node.nextSibling;continue;}var _23c;var ctor=null;if(type){var _23d=node.getAttribute(_231),_23e=_23d?[type].concat(_23d.split(/\s*,\s*/)):[type];try{ctor=_1f6(_23e);}catch(e){}if(!ctor){_1e7.forEach(_23e,function(t){if(~t.indexOf("/")&&!_22c[t]){_22c[t]=true;mids[mids.length]=t;}});}var _23f=ctor&&!ctor.prototype._noScript?[]:null;_23c={types:_23e,ctor:ctor,parent:_234,node:node,scripts:_23f};_23c.inherited=_237(_23c);list.push(_23c);}else{_23c={node:node,scripts:_235,parent:_234};}node=_23b;_235=_23f;_236=ctor&&ctor.prototype.stopParser&&!(_22b.template);_234=_23c;}var d=new _1ef();if(mids.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+mids.join(", "));}_1e5(mids,function(){d.resolve(_1e7.filter(list,function(_240){if(!_240.ctor){try{_240.ctor=_1f6(_240.types);}catch(e){}}var _241=_240.parent;while(_241&&!_241.types){_241=_241.parent;}var _242=_240.ctor&&_240.ctor.prototype;_240.instantiateChildren=!(_242&&_242.stopParser&&!(_22b.template));_240.instantiate=!_241||(_241.instantiate&&_241.instantiateChildren);return _240.instantiate;}));});}else{d.resolve(list);}return d.promise;},_require:function(_243){var hash=_1ec.fromJson("{"+_243.innerHTML+"}"),vars=[],mids=[],d=new _1ef();for(var name in hash){vars.push(name);mids.push(hash[name]);}_1e5(mids,function(){for(var i=0;i<vars.length;i++){_1e6.setObject(vars[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(root){var _244=new _1ef(),_245=_244.promise;_244.resolve(true);var self=this;_1f0("script[type='dojo/require']",root).forEach(function(node){_245=_245.then(function(){return self._require(node);});node.parentNode.removeChild(node);});return _245;},parse:function(_246,_247){var root;if(!_247&&_246&&_246.rootNode){_247=_246;root=_247.rootNode;}else{if(_246&&_1e6.isObject(_246)&&!("nodeType" in _246)){_247=_246;}else{root=_246;}}root=root?_1e9.byId(root):_1ea.body();_247=_247||{};var _248=_247.template?{template:true}:{},_249=[],self=this;var p=this._scanAmd(root,_247).then(function(){return self.scan(root,_247);}).then(function(_24a){return _249=_249.concat(self._instantiate(_24a,_248,_247));}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_1e6.mixin(_249,p);return _249;}};if(1){dojo.parser=_1f9;}if(_1e8.parseOnLoad){_1f1(100,_1f9,"parse");}return _1f9;});},"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\n","dojo/dnd/Manager":function(){define("dojo/dnd/Manager",["../_base/array","../_base/declare","../_base/event","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_24b,_24c,_24d,lang,win,_24e,_24f,has,keys,on,_250,_251,dnd,_252,_253){var _254=_24c("dojo.dnd.Manager",[_24f],{constructor:function(){this.avatar=null;this.source=null;this.nodes=[];this.copy=true;this.target=null;this.canDropFlag=false;this.events=[];},OFFSET_X:has("touch")?0:16,OFFSET_Y:has("touch")?-64:16,overSource:function(_255){if(this.avatar){this.target=(_255&&_255.targetState!="Disabled")?_255:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_250.publish("/dnd/source/over",_255);},outSource:function(_256){if(this.avatar){if(this.target==_256){this.target=null;this.canDropFlag=false;this.avatar.update();_250.publish("/dnd/source/over",null);}}else{_250.publish("/dnd/source/over",null);}},startDrag:function(_257,_258,copy){_252.autoScrollStart(win.doc);this.source=_257;this.nodes=_258;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_250.publish("/dnd/start",_257,_258,this.copy);this.events=[on(win.doc,_251.move,lang.hitch(this,"onMouseMove")),on(win.doc,_251.release,lang.hitch(this,"onMouseUp")),on(win.doc,"keydown",lang.hitch(this,"onKeyDown")),on(win.doc,"keyup",lang.hitch(this,"onKeyUp")),on(win.doc,"dragstart",_24d.stop),on(win.body(),"selectstart",_24d.stop)];var c="dojoDnd"+(copy?"Copy":"Move");_24e.add(win.body(),c);},canDrop:function(flag){var _259=Boolean(this.target&&flag);if(this.canDropFlag!=_259){this.canDropFlag=_259;this.avatar.update();}},stopDrag:function(){_24e.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_24b.forEach(this.events,function(_25a){_25a.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _253(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_252.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));if(this.copy!=copy){this._setCopyStatus(copy);}}if(has("touch")){e.preventDefault();}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));_250.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_250.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_250.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case keys.CTRL:var copy=Boolean(this.source.copyState(true));if(this.copy!=copy){this._setCopyStatus(copy);}break;case keys.ESCAPE:_250.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==keys.CTRL){var copy=Boolean(this.source.copyState(false));if(this.copy!=copy){this._setCopyStatus(copy);}}},_setCopyStatus:function(copy){this.copy=copy;this.source._markDndStatus(this.copy);this.updateAvatar();_24e.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_254.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _254();}return dnd._manager;};return _254;});},"dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_25b,_25c,_25d,_25e){return _25b("dijit.form.ToggleButton",[_25d,_25e],{baseClass:"dijitToggleButton",setChecked:function(_25f){_25c.deprecated("setChecked("+_25f+") is deprecated. Use set('checked',"+_25f+") instead.","","2.0");this.set("checked",_25f);}});});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/lang","../_base/array"],function(lang,_260){var _261={};lang.setObject("dojo.date.stamp",_261);_261.fromISOString=function(_262,_263){if(!_261._isoRegExp){_261._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _264=_261._isoRegExp.exec(_262),_265=null;if(_264){_264.shift();if(_264[1]){_264[1]--;}if(_264[6]){_264[6]*=1000;}if(_263){_263=new Date(_263);_260.forEach(_260.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _263["get"+prop]();}),function(_266,_267){_264[_267]=_264[_267]||_266;});}_265=new Date(_264[0]||1970,_264[1]||0,_264[2]||1,_264[3]||0,_264[4]||0,_264[5]||0,_264[6]||0);if(_264[0]<100){_265.setFullYear(_264[0]||1970);}var _268=0,_269=_264[7]&&_264[7].charAt(0);if(_269!="Z"){_268=((_264[8]||0)*60)+(Number(_264[9])||0);if(_269!="-"){_268*=-1;}}if(_269){_268-=_265.getTimezoneOffset();}if(_268){_265.setTime(_265.getTime()+_268*60000);}}return _265;};_261.toISOString=function(_26a,_26b){var _26c=function(n){return (n<10)?"0"+n:n;};_26b=_26b||{};var _26d=[],_26e=_26b.zulu?"getUTC":"get",date="";if(_26b.selector!="time"){var year=_26a[_26e+"FullYear"]();date=["0000".substr((year+"").length)+year,_26c(_26a[_26e+"Month"]()+1),_26c(_26a[_26e+"Date"]())].join("-");}_26d.push(date);if(_26b.selector!="date"){var time=[_26c(_26a[_26e+"Hours"]()),_26c(_26a[_26e+"Minutes"]()),_26c(_26a[_26e+"Seconds"]())].join(":");var _26f=_26a[_26e+"Milliseconds"]();if(_26b.milliseconds){time+="."+(_26f<100?"0":"")+_26c(_26f);}if(_26b.zulu){time+="Z";}else{if(_26b.selector!="time"){var _270=_26a.getTimezoneOffset();var _271=Math.abs(_270);time+=(_270>0?"-":"+")+_26c(Math.floor(_271/60))+":"+_26c(_271%60);}}_26d.push(time);}return _26d.join("T");};return _261;});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(_272,lang,_273,when){return _272("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_274){if(_274){this.set(_274);}},_get:function(name,_275){return typeof this[_275.g]==="function"?this[_275.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_276){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _277=this._getAttrNames(name),_278=this._get(name,_277),_279=this[_277.s],_27a;if(typeof _279==="function"){_27a=_279.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_276;}if(this._watchCallbacks){var self=this;when(_27a,function(){self._watchCallbacks(name,_278,_276);});}return this;},_changeAttrValue:function(name,_27b){var _27c=this.get(name);this[name]=_27b;if(this._watchCallbacks){this._watchCallbacks(name,_27c,_27b);}return this;},watch:function(name,_27d){var _27e=this._watchCallbacks;if(!_27e){var self=this;_27e=this._watchCallbacks=function(name,_27f,_280,_281){var _282=function(_283){if(_283){_283=_283.slice();for(var i=0,l=_283.length;i<l;i++){_283[i].call(self,name,_27f,_280);}}};_282(_27e["_"+name]);if(!_281){_282(_27e["*"]);}};}if(!_27d&&typeof name==="function"){_27d=name;name="*";}else{name="_"+name;}var _284=_27e[name];if(typeof _284!=="object"){_284=_27e[name]=[];}_284.push(_27d);var _285={};_285.unwatch=_285.remove=function(){var _286=_273.indexOf(_284,_27d);if(_286>-1){_284.splice(_286,1);}};return _285;}});});},"dijit/layout/AccordionContainer":function(){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n"}});define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html"],function(_287,_288,_289,_28a,fx,dom,_28b,_28c,_28d,_28e,keys,lang,has,_28f,_290,_291,_292,_293,_294,_295,_296,_297,_298,_299){var _29a=_289("dijit.layout._AccordionButton",[_293,_295,_296],{templateString:_299,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _29b=this.id.replace(" ","_");_28b.set(this.titleTextNode,"id",_29b+"_title");this.focusNode.setAttribute("aria-labelledby",_28b.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _28e.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _29c=this.getParent();_29c.selectChild(this.contentWidget,true);_290.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_29d){this._set("selected",_29d);this.focusNode.setAttribute("aria-expanded",_29d?"true":"false");this.focusNode.setAttribute("aria-selected",_29d?"true":"false");this.focusNode.setAttribute("tabIndex",_29d?"0":"-1");}});var _29e=_289("dijit.layout._AccordionInnerContainer",[_293,_296],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_28d.place("<div class='"+this.baseClass+"' role='presentation'>",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("<div class='dijitAccordionChildWrapper' style='display:none'>",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":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\" role=\"presentation\"\n\t\t/></td></tr></tbody\n></table>\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,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");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":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\">\n\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","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("<input type='hidden'"+(this.name?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\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:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",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":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode'/>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\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":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\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?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",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,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");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<ql;x++){if(lc=="\\"){continue;}if(!_37e){_37d=x;_37e={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _371?this.otag:this.tag;}};_37b=x;}if(_37c){if(cc==_37c){_37c=null;}continue;}else{if(cc=="'"||cc=="\""){_37c=cc;continue;}}if(_376>=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;i<qpl;i++){ret=[];qp=_3c3[i];x=_3c4.length-1;if(x>0){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&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.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&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.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;i<this._arrayOfAllItems.length;i++){var item=this._arrayOfAllItems[i];if(item&&item[this._reverseRefMap]){}}},_getValueOrValues:function(item,_43f){var _440=undefined;if(this.hasAttribute(item,_43f)){var _441=this.getValues(item,_43f);if(_441.length==1){_440=_441[0];}else{_440=_441;}}return _440;},_flatten:function(_442){if(this.isItem(_442)){return {_reference:this.getIdentity(_442)};}else{if(typeof _442==="object"){for(var type in this._datatypeMap){var _443=this._datatypeMap[type];if(lang.isObject(_443)&&!lang.isFunction(_443)){if(_442 instanceof _443.type){if(!_443.serialize){throw new Error("ItemFileWriteStore: No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_443.serialize(_442)};}}else{if(_442 instanceof _443){return {_type:type,_value:_442.toString()};}}}}return _442;}},_getNewFileContentString:function(){var _444={};var _445=this._getIdentifierAttribute();if(_445!==Number){_444.identifier=_445;}if(this._labelAttr){_444.label=this._labelAttr;}_444.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _446={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _447=this.getValues(item,key);if(_447.length==1){_446[key]=this._flatten(_447[0]);}else{var _448=[];for(var j=0;j<_447.length;++j){_448.push(this._flatten(_447[j]));_446[key]=_448;}}}}_444.items.push(_446);}}var _449=true;return _402.toJson(_444,_449);},_isEmpty:function(_44a){var _44b=true;if(lang.isObject(_44a)){var i;for(i in _44a){_44b=false;break;}}else{if(lang.isArray(_44a)){if(_44a.length>0){_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":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow dijitInline\" role=\"presentation\"\n\t\t><div data-dojo-attach-point=\"indentNode\" class=\"dijitInline\"></div\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\" tabindex=\"-1\" aria-selected=\"false\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\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":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\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":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n","dijit/ProgressBar":function(){require({cache:{"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\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?"&#160;":_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":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\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:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_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":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\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;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(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":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\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(/<body[^>]*>\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":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\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":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\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":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>","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":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\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<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_525,_526){if(this._lastValueReported==undefined&&(_526===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_525;}this._pendingOnChange=this._pendingOnChange||(typeof _525!=typeof this._lastValueReported)||(this.compare(_525,this._lastValueReported)!=0);if((this.intermediateChanges||_526||_526===undefined)&&this._pendingOnChange){this._lastValueReported=_525;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_525);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/a11yclick":function(){define("dijit/a11yclick",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window"],function(on,_527,keys,_528,has,_529,win){var _52a=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_52a=evt.target;},true);}else{(function(){var _52b=function(evt){_52a=evt.srcElement;};win.doc.attachEvent("onkeydown",_52b);_529.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_52b);});})();}function _52c(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_52d){if(/input|button/i.test(node.nodeName)){return on(node,"click",_52d);}else{var _52e=[on(node,"keydown",function(e){if(_52c(e)){_52a=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_52c(e)&&e.target==_52a){_52a=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_52d.call(this,e);})];if(has("touch")){var _52f;_52e.push(on(node,"touchend",function(e){var _530=e.target;_52f=setTimeout(function(){_52f=null;on.emit(_530,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_52f){clearTimeout(_52f);}}));}return {remove:function(){_527.forEach(_52e,function(h){h.remove();});if(_52f){clearTimeout(_52f);_52f=null;}}};}};return ret;});},"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\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":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\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":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\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":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode'/>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\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:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",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:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",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:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",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":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\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="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_63b=win.doc.createElement(html);}else{_63b=_637.create("iframe");_63b.src="javascript:\"\"";_63b.className="dijitBackgroundIframe";_63b.setAttribute("role","presentation");_638.set(_63b,"opacity",0.1);}_63b.tabIndex=-1;}return _63b;};this.push=function(_63c){_63c.style.display="none";_63a.push(_63c);};}();_635.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _63d=(this.iframe=_639.pop());node.appendChild(_63d);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_638.set(_63d,{width:"100%",height:"100%"});}}};lang.extend(_635.BackgroundIframe,{resize:function(node){if(this.iframe){_638.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_639.push(this.iframe);delete this.iframe;}}});return _635.BackgroundIframe;});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dojo/dnd/Avatar":function(){define("dojo/dnd/Avatar",["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_63e,win,dom,_63f,_640,_641,has,_642){return _63e("dojo.dnd.Avatar",null,{constructor:function(_643){this.manager=_643;this.construct();},construct:function(){var a=_641.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_644=this.manager.source,node,b=_641.create("tbody",null,a),tr=_641.create("tr",null,b),td=_641.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_641.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_641.create("span",{innerHTML:_644.generateText?this._generateText():""},td);_63f.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_644.creator){node=_644._normalizedCreator(_644.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{node=this.manager.nodes[i].cloneNode(true);if(node.tagName.toLowerCase()=="tr"){var _645=_641.create("table"),_646=_641.create("tbody",null,_645);_646.appendChild(node);node=_645;}}node.id="";tr=_641.create("tr",null,b);td=_641.create("td",null,tr);td.appendChild(node);_63f.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_641.destroy(this.node);this.node=false;},update:function(){_640.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(has("highcontrast")){var icon=dom.byId("a11yIcon");var text="+";if(this.manager.canDropFlag&&!this.manager.copy){text="< ";}else{if(!this.manager.canDropFlag&&!this.manager.copy){text="o";}else{if(!this.manager.canDropFlag){text="x";}}}icon.innerHTML=text;}_642(("tr.dojoDndAvatarHeader td span"+(has("highcontrast")?" span":"")),this.node).forEach(function(node){node.innerHTML=this.manager.source.generateText?this._generateText():"";},this);},_generateText:function(){return this.manager.nodes.length.toString();}});});},"dijit/form/Button":function(){require({cache:{"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n"}});define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_647,_648,_649,has,_64a,lang,_64b,_64c,_64d,_64e){if(has("dijit-legacy-requires")){_64b(0,function(){var _64f=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_647(_64f);});}return _648("dijit.form.Button",[_64c,_64d],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_64e,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();e.stopPropagation();}}return ok;},_fillContent:function(_650){if(_650&&(!this.params||!("label" in this.params))){var _651=lang.trim(_650.innerHTML);if(_651){this.label=_651;}}},_setShowLabelAttr:function(val){if(this.containerNode){_649.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_652){_64a.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_652);},_setLabelAttr:function(_653){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","dojo/dnd/move":function(){define("dojo/dnd/move",["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_654,_655,_656,dnd,_657,_658){var _659=_654("dojo.dnd.move.constrainedMoveable",_658,{constraints:function(){},within:false,constructor:function(node,_65a){if(!_65a){_65a={};}this.constraints=_65a.constraints;this.within=_65a.within;},onFirstMove:function(_65b){var c=this.constraintBox=this.constraints.call(this,_65b);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_655.getMarginSize(_65b.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_65c,_65d){var c=this.constraintBox,s=_65c.node.style;this.onMoving(_65c,_65d);_65d.l=_65d.l<c.l?c.l:c.r<_65d.l?c.r:_65d.l;_65d.t=_65d.t<c.t?c.t:c.b<_65d.t?c.b:_65d.t;s.left=_65d.l+"px";s.top=_65d.t+"px";this.onMoved(_65c,_65d);}});var _65e=_654("dojo.dnd.move.boxConstrainedMoveable",_659,{box:{},constructor:function(node,_65f){var box=_65f&&_65f.box;this.constraints=function(){return box;};}});var _660=_654("dojo.dnd.move.parentConstrainedMoveable",_659,{area:"content",constructor:function(node,_661){var area=_661&&_661.area;this.constraints=function(){var n=this.node.parentNode,s=_656.getComputedStyle(n),mb=_655.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_655.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=_655.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=_655.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_659,boxConstrainedMoveable:_65e,parentConstrainedMoveable:_660};});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_662,_663,_664,_665,_666,_667,dom,_668,_669,_66a,_66b,_66c,has,_66d,lang,on,_66e,_66f,_670,win,_671,_672){has.add("dijit-legacy-requires",!_66d.isAsync);if(has("dijit-legacy-requires")){_66e(0,function(){var _673=["dijit/_base/manager"];_662(_673);});}var _674={};function _675(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _676(attr){return function(val){_668[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _667("dijit._WidgetBase",[_66f,_671],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_676("lang"),dir:"",_setDirAttr:_676("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_665.blankGif||_662.toUrl("dojo/resources/blank.gif"),postscript:function(_677,_678){this.create(_677,_678);},create:function(_679,_67a){this.srcNodeRef=dom.byId(_67a);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_679){this.params=_679;lang.mixin(this,_679);}this.postMixInProperties();if(!this.id){this.id=_672.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_672.add(this);this.buildRendering();var _67b;if(this.domNode){this._applyAttributes();var _67c=this.srcNodeRef;if(_67c&&_67c.parentNode&&this.domNode!==_67c){_67c.parentNode.replaceChild(this.domNode,_67c);_67b=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_67b){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _67d=ctor.prototype;for(var _67e in _67d){if(_67e in this.attributeMap){continue;}var _67f="_set"+_67e.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_67f in _67d){list.push(_67e);}}}var _680={};for(var key in this.params||{}){_680[key]=this[key];}_663.forEach(list,function(attr){if(attr in _680){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(key in _680){this.set(key,_680[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _681=this.baseClass.split(" ");if(!this.isLeftToRight()){_681=_681.concat(_663.map(_681,function(name){return name+"Rtl";}));}_669.add(this.domNode,_681);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_663.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_682){this._beingDestroyed=true;this.destroyDescendants(_682);this.destroy(_682);},destroy:function(_683){this._beingDestroyed=true;this.uninitialize();function _684(w){if(w.destroyRecursive){w.destroyRecursive(_683);}else{if(w.destroy){w.destroy(_683);}}};_663.forEach(this._connects,lang.hitch(this,"disconnect"));_663.forEach(this._supportingWidgets,_684);if(this.domNode){_663.forEach(_672.findWidgets(this.domNode,this.containerNode),_684);}this.destroyRendering(_683);_672.remove(this.id);this._destroyed=true;},destroyRendering:function(_685){if(this.bgIframe){this.bgIframe.destroy(_685);delete this.bgIframe;}if(this.domNode){if(_685){_668.remove(this.domNode,"widgetId");}else{_66a.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_685){_66a.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_686){_663.forEach(this.getChildren(),function(_687){if(_687.destroyRecursive){_687.destroyRecursive(_686);}});},uninitialize:function(){return false;},_setStyleAttr:function(_688){var _689=this.domNode;if(lang.isObject(_688)){_66c.set(_689,_688);}else{if(_689.style.cssText){_689.style.cssText+="; "+_688;}else{_689.style.cssText=_688;}}this._set("style",_688);},_attrToDom:function(attr,_68a,_68b){_68b=arguments.length>=3?_68b:this.attributeMap[attr];_663.forEach(lang.isArray(_68b)?_68b:[_68b],function(_68c){var _68d=this[_68c.node||_68c||"domNode"];var type=_68c.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_68a)){_68a=lang.hitch(this,_68a);}var _68e=_68c.attribute?_68c.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_68d.tagName){_668.set(_68d,_68e,_68a);}else{_68d.set(_68e,_68a);}break;case "innerText":_68d.innerHTML="";_68d.appendChild(this.ownerDocument.createTextNode(_68a));break;case "innerHTML":_68d.innerHTML=_68a;break;case "class":_669.replace(_68d,_68a,this[attr]);break;}},this);},get:function(name){var _68f=this._getAttrNames(name);return this[_68f.g]?this[_68f.g]():this[name];},set:function(name,_690){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _691=this._getAttrNames(name),_692=this[_691.s];if(lang.isFunction(_692)){var _693=_692.apply(this,Array.prototype.slice.call(arguments,1));}else{var _694=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_694].tagName,_695=_674[tag]||(_674[tag]=_675(this[_694])),map=name in this.attributeMap?this.attributeMap[name]:_691.s in this?this[_691.s]:((_691.l in _695&&typeof _690!="function")||/^aria-|^data-|^role$/.test(name))?_694:null;if(map!=null){this._attrToDom(name,_690,map);}this._set(name,_690);}return _693||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_696){var _697=this[name];this[name]=_696;if(this._created&&_696!==_697){if(this._watchCallbacks){this._watchCallbacks(name,_697,_696);}this.emit("attrmodified-"+name,{detail:{prevValue:_697,newValue:_696}});}},emit:function(type,_698,_699){_698=_698||{};if(_698.bubbles===undefined){_698.bubbles=true;}if(_698.cancelable===undefined){_698.cancelable=true;}if(!_698.detail){_698.detail={};}_698.detail.widget=this;var ret,_69a=this["on"+type];if(_69a){ret=_69a.apply(this,_699?_699:[_698]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_698);}return ret;},on:function(type,func){var _69b=this._onMap(type);if(_69b){return _664.after(this,_69b,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_672.findWidgets(this.containerNode):[];},getParent:function(){return _672.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_69c,_69d){return this.own(_666.connect(obj,_69c,this,_69d))[0];},disconnect:function(_69e){_69e.remove();},subscribe:function(t,_69f){return this.own(_670.subscribe(t,lang.hitch(this,_69f)))[0];},unsubscribe:function(_6a0){_6a0.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_66b.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_66c.get(this.domNode,"display")!="none");},placeAt:function(_6a1,_6a2){var _6a3=!_6a1.tagName&&_672.byId(_6a1);if(_6a3&&_6a3.addChild&&(!_6a2||typeof _6a2==="number")){_6a3.addChild(this,_6a2);}else{var ref=_6a3?(_6a3.containerNode&&!/after|before|replace/.test(_6a2||"")?_6a3.containerNode:_6a3.domNode):dom.byId(_6a1,this.ownerDocument);_66a.place(this.domNode,ref,_6a2);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_6a4){return _6a4;},applyTextDir:function(){},defer:function(fcn,_6a5){var _6a6=setTimeout(lang.hitch(this,function(){_6a6=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_6a5||0);return {remove:function(){if(_6a6){clearTimeout(_6a6);_6a6=null;}return null;}};}});});},"dijit/layout/_TabContainerBase":function(){require({cache:{"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n"}});define("dijit/layout/_TabContainerBase",["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_6a7,_6a8,_6a9,_6aa,_6ab,_6ac,_6ad,_6ae){return _6ab("dijit.layout._TabContainerBase",[_6a8,_6aa],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_6a7,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_6ae.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_6ac.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_6ac.add(this.domNode,"dijitTabContainerNested");_6ac.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_6ac.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_6ac.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_6ac.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_6ac.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _6af=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_6af;var _6b0=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_6af},{domNode:this.containerNode,layoutAlign:"client"}];_6a9.layoutChildren(this.domNode,this._contentBox,_6b0);this._containerContentBox=_6a9.marginBox2contentBox(this.containerNode,_6b0[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _6b1=_6ad.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_6b1});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"dijit/form/Form":function(){define("dijit/form/Form",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_6b2,_6b3,_6b4,_6b5,has,_6b6,_6b7,_6b8,_6b9){return _6b2("dijit.form.Form",[_6b6,_6b7,_6b8,_6b9],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_6ba){this.encType=_6ba;_6b3.set(this.domNode,"encType",_6ba);if(has("ie")){this.domNode.encoding=_6ba;}},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);_6b4.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_6b5.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_6b4.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dojo/store/Memory":function(){define("dojo/store/Memory",["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_6bb,_6bc,_6bd){var base=null;return _6bb("dojo.store.Memory",base,{constructor:function(_6be){for(var i in _6be){this[i]=_6be[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_6bd,get:function(id){return this.data[this.index[id]];},getIdentity:function(_6bf){return _6bf[this.idProperty];},put:function(_6c0,_6c1){var data=this.data,_6c2=this.index,_6c3=this.idProperty;var id=_6c0[_6c3]=(_6c1&&"id" in _6c1)?_6c1.id:_6c3 in _6c0?_6c0[_6c3]:Math.random();if(id in _6c2){if(_6c1&&_6c1.overwrite===false){throw new Error("Object already exists");}data[_6c2[id]]=_6c0;}else{_6c2[id]=data.push(_6c0)-1;}return id;},add:function(_6c4,_6c5){(_6c5=_6c5||{}).overwrite=false;return this.put(_6c4,_6c5);},remove:function(id){var _6c6=this.index;var data=this.data;if(id in _6c6){data.splice(_6c6[id],1);this.setData(data);return true;}},query:function(_6c7,_6c8){return _6bc(this.queryEngine(_6c7,_6c8)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\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:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],this.isLeftToRight()?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);}});});},"dijit/layout/StackContainer":function(){define("dijit/layout/StackContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_6d0,_6d1,_6d2,_6d3,has,lang,_6d4,_6d5,_6d6,_6d7,_6d8){if(has("dijit-legacy-requires")){_6d4(0,function(){var _6d9=["dijit/layout/StackController"];require(_6d9);});}var _6da=_6d2("dijit.layout.StackContainer",_6d8,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_6d3.add(this.domNode,"dijitLayoutContainer");this.containerNode.setAttribute("role","tabpanel");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _6db=this.getChildren();_6d0.forEach(_6db,this._setupChild,this);if(this.persist){this.selectedChildWidget=_6d6.byId(_6d1(this.id+"_selectedChild"));}else{_6d0.some(_6db,function(_6dc){if(_6dc.selected){this.selectedChildWidget=_6dc;}return _6dc.selected;},this);}var _6dd=this.selectedChildWidget;if(!_6dd&&_6db[0]){_6dd=this.selectedChildWidget=_6db[0];_6dd.selected=true;}_6d5.publish(this.id+"-startup",{children:_6db,selected:_6dd});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _6de=this.selectedChildWidget;if(_6de){this._showChild(_6de);}}this.inherited(arguments);},_setupChild:function(_6df){this.inherited(arguments);_6d3.replace(_6df.domNode,"dijitHidden","dijitVisible");_6df.domNode.title="";},addChild:function(_6e0,_6e1){this.inherited(arguments);if(this._started){_6d5.publish(this.id+"-addChild",_6e0,_6e1);this.layout();if(!this.selectedChildWidget){this.selectChild(_6e0);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_6d5.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _6e2=this.getChildren();if(_6e2.length){this.selectChild(_6e2[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_6e3){page=_6d6.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_6e3);this._set("selectedChildWidget",page);_6d5.publish(this.id+"-selectChild",page);if(this.persist){_6d1(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_6e4,_6e5){if(_6e5){this._hideChild(_6e5);}var d=this._showChild(_6e4);if(_6e4.resize){if(this.doLayout){_6e4.resize(this._containerContentBox||this._contentBox);}else{_6e4.resize();}}return d;},_adjacent:function(_6e6){var _6e7=this.getChildren();var _6e8=_6d0.indexOf(_6e7,this.selectedChildWidget);_6e8+=_6e6?1:_6e7.length-1;return _6e7[_6e8%_6e7.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_6d5.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _6e9=this.selectedChildWidget;if(_6e9&&_6e9.resize){if(this.doLayout){_6e9.resize(this._containerContentBox||this._contentBox);}else{_6e9.resize();}}},_showChild:function(page){var _6ea=this.getChildren();page.isFirstChild=(page==_6ea[0]);page.isLastChild=(page==_6ea[_6ea.length-1]);page._set("selected",true);_6d3.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_6d3.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _6eb=page.onClose(this,page);if(_6eb){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_6ec){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_6d0.forEach(this.getChildren(),function(_6ed){if(!_6ec){this.removeChild(_6ed);}_6ed.destroyRecursive(_6ec);},this);this._descendantsBeingDestroyed=false;}});_6da.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_6d7,_6da.ChildWidgetProperties);return _6da;});},"dojo/regexp":function(){define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){var _6ee={};lang.setObject("dojo.regexp",_6ee);_6ee.escapeString=function(str,_6ef){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_6ef&&_6ef.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_6ee.buildGroupRE=function(arr,re,_6f0){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _6ee.group(b.join("|"),_6f0);};_6ee.group=function(_6f1,_6f2){return "("+(_6f2?"?:":"")+_6f1+")";};return _6ee;});},"dijit/DropDownMenu":function(){require({cache:{"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n"}});define("dijit/DropDownMenu",["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_6f3,_6f4,keys,_6f5,_6f6,_6f7){return _6f3("dijit.DropDownMenu",[_6f7,_6f6],{templateString:_6f5,baseClass:"dijitMenu",postCreate:function(){this.inherited(arguments);var l=this.isLeftToRight();this._openSubMenuKey=l?keys.RIGHT_ARROW:keys.LEFT_ARROW;this._closeSubMenuKey=l?keys.LEFT_ARROW:keys.RIGHT_ARROW;this.connectKeyNavHandlers([keys.UP_ARROW],[keys.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);_6f4.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_6f4.stop(evt);}break;}}});});},"dijit/form/_FormMixin":function(){define("dijit/form/_FormMixin",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_6f8,_6f9,_6fa,lang,on,_6fb){return _6f9("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_6fc){var res=[];_6f8.forEach(_6fc||this.getChildren(),function(_6fd){if("value" in _6fd){res.push(_6fd);}else{res=res.concat(this._getDescendantFormWidgets(_6fd.getChildren()));}},this);return res;},reset:function(){_6f8.forEach(this._getDescendantFormWidgets(),function(_6fe){if(_6fe.reset){_6fe.reset();}});},validate:function(){var _6ff=false;return _6f8.every(_6f8.map(this._getDescendantFormWidgets(),function(_700){_700._hasBeenBlurred=true;var _701=_700.disabled||!_700.validate||_700.validate();if(!_701&&!_6ff){_6fb.scrollIntoView(_700.containerNode||_700.domNode);_700.focus();_6ff=true;}return _701;}),function(item){return item;});},setValues:function(val){_6fa.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_6f8.forEach(this._getDescendantFormWidgets(),function(_702){if(!_702.name){return;}var _703=map[_702.name]||(map[_702.name]=[]);_703.push(_702);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _704=map[name],_705=lang.getObject(name,false,obj);if(_705===undefined){continue;}if(!lang.isArray(_705)){_705=[_705];}if(typeof _704[0].checked=="boolean"){_6f8.forEach(_704,function(w){w.set("value",_6f8.indexOf(_705,w.value)!=-1);});}else{if(_704[0].multiple){_704[0].set("value",_705);}else{_6f8.forEach(_704,function(w,i){w.set("value",_705[i]);});}}}},getValues:function(){_6fa.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_6f8.forEach(this._getDescendantFormWidgets(),function(_706){var name=_706.name;if(!name||_706.disabled){return;}var _707=_706.get("value");if(typeof _706.checked=="boolean"){if(/Radio/.test(_706.declaredClass)){if(_707!==false){lang.setObject(name,_707,obj);}else{_707=lang.getObject(name,false,obj);if(_707===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_707!==false){ary.push(_707);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_707);}else{lang.setObject(name,[prev,_707],obj);}}else{lang.setObject(name,_707,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _708=_6f8.map(this._descendants,function(w){return w.get("state")||"";});return _6f8.indexOf(_708,"Error")>=0?"Error":_6f8.indexOf(_708,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_709){this._descendants=this._getDescendantFormWidgets();_6f8.forEach(this._descendants,function(_70a){if(!_70a._started){_70a.startup();}});if(!_709){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_70b,_70c){this.onValidStateChange(_70c=="");});},destroy:function(){this.inherited(arguments);}});});},"dojo/data/util/simpleFetch":function(){define("dojo/data/util/simpleFetch",["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_70d,_70e){var _70f={};lang.setObject("dojo.data.util.simpleFetch",_70f);_70f.errorHandler=function(_710,_711){if(_711.onError){var _712=_711.scope||_70d.global;_711.onError.call(_712,_710,_711);}};_70f.fetchHandler=function(_713,_714){var _715=_714.abort||null,_716=false,_717=_714.start?_714.start:0,_718=(_714.count&&(_714.count!==Infinity))?(_717+_714.count):_713.length;_714.abort=function(){_716=true;if(_715){_715.call(_714);}};var _719=_714.scope||_70d.global;if(!_714.store){_714.store=this;}if(_714.onBegin){_714.onBegin.call(_719,_713.length,_714);}if(_714.sort){_713.sort(_70e.createSortFunction(_714.sort,this));}if(_714.onItem){for(var i=_717;(i<_713.length)&&(i<_718);++i){var item=_713[i];if(!_716){_714.onItem.call(_719,item,_714);}}}if(_714.onComplete&&!_716){var _71a=null;if(!_714.onItem){_71a=_713.slice(_717,_718);}_714.onComplete.call(_719,_71a,_714);}};_70f.fetch=function(_71b){_71b=_71b||{};if(!_71b.store){_71b.store=this;}this._fetchItems(_71b,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _71b;};return _70f;});},"dijit/Menu":function(){define("dijit/Menu",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_71c,_71d,_71e,_71f,dom,_720,_721,_722,keys,lang,on,has,win,_723,pm,_724,_725){if(has("dijit-legacy-requires")){_725(0,function(){var _726=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_71c(_726);});}return _71e("dijit.Menu",_724,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_71d.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_727){return _723.get(this._iframeContentDocument(_727))||this._iframeContentDocument(_727)["__parent__"]||(_727.name&&win.doc.frames[_727.name])||null;},_iframeContentDocument:function(_728){return _728.contentDocument||(_728.contentWindow&&_728.contentWindow.document)||(_728.name&&win.doc.frames[_728.name]&&win.doc.frames[_728.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _729=node,_72a=this._iframeContentWindow(_729);cn=win.body(_72a.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _72b={node:node,iframe:_729};_720.set(node,"_dijitMenu"+this.id,this._bindings.push(_72b));var _72c=lang.hitch(this,function(cn){var _72d=this.selector,_72e=_72d?function(_72f){return on.selector(_72d,_72f);}:function(_730){return _730;},self=this;return [on(cn,_72e(this.leftClickToOpen?"click":"contextmenu"),function(evt){_71f.stop(evt);self._scheduleOpen(this,_729,{x:evt.pageX,y:evt.pageY});}),on(cn,_72e("keydown"),function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_71f.stop(evt);self._scheduleOpen(this,_729);}})];});_72b.connects=cn?_72c(cn):[];if(_729){_72b.onloadHandler=lang.hitch(this,function(){var _731=this._iframeContentWindow(_729);cn=win.body(_731.document);_72b.connects=_72c(cn);});if(_729.addEventListener){_729.addEventListener("load",_72b.onloadHandler,false);}else{_729.attachEvent("onload",_72b.onloadHandler);}}},unBindDomNode:function(_732){var node;try{node=dom.byId(_732,this.ownerDocument);}catch(e){return;}var _733="_dijitMenu"+this.id;if(node&&_720.has(node,_733)){var bid=_720.get(node,_733)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _734=b.iframe;if(_734){if(_734.removeEventListener){_734.removeEventListener("load",b.onloadHandler,false);}else{_734.detachEvent("onload",b.onloadHandler);}}_720.remove(node,_733);delete this._bindings[bid];}},_scheduleOpen:function(_735,_736,_737){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_735,iframe:_736,coords:_737});},1);}},_openMyself:function(args){var _738=args.target,_739=args.iframe,_73a=args.coords;this.currentTarget=_738;if(_73a){if(_739){var ifc=_721.position(_739,true),_73b=this._iframeContentWindow(_739),_73c=_721.docScroll(_73b.document);var cs=_722.getComputedStyle(_739),tp=_722.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_739,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_739,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_739,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_739,cs.borderTopWidth):0);_73a.x+=ifc.x+left-_73c.x;_73a.y+=ifc.y+top-_73c.y;}}else{_73a=_721.position(_738,true);_73a.x+=10;_73a.y+=10;}var self=this;var _73d=this._focusManager.get("prevNode");var _73e=this._focusManager.get("curNode");var _73f=!_73e||(dom.isDescendant(_73e,this.domNode))?_73d:_73e;function _740(){if(self.refocus&&_73f){_73f.focus();}pm.close(self);};pm.open({popup:this,x:_73a.x,y:_73a.y,onExecute:_740,onCancel:_740,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_71d.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define("dijit/form/_CheckBoxMixin",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_741,_742,_743){return _741("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_744){this._set("readOnly",_744);_742.set(this.focusNode,"readOnly",_744);},_setLabelAttr:undefined,_getSubmitValue:function(_745){return !_745&&_745!==0?"on":_745;},_setValueAttr:function(_746){_746=this._getSubmitValue(_746);this._set("value",_746);_742.set(this.focusNode,"value",_746);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_742.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_743.stop(e);return false;}return this.inherited(arguments);}});});},"dijit/layout/ContentPane":function(){define("dijit/layout/ContentPane",["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_747,lang,_748,_749,_74a,_74b,html,_74c,_74d,_74e,_74f,dom,_750,_751,xhr,i18n,when){return _74e("dijit.layout.ContentPane",[_748,_749,_74a],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_747._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,create:function(_752,_753){if((!_752||!_752.template)&&_753&&!("href" in _752)&&!("content" in _752)){_753=dom.byId(_753);var df=_753.ownerDocument.createDocumentFragment();while(_753.firstChild){df.appendChild(_753.firstChild);}_752=lang.delegate(_752,{content:df});}this.inherited(arguments,[_752,_753]);},postMixInProperties:function(){this.inherited(arguments);var _754=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_74b.substitute(this.loadingMessage,_754);this.errorMessage=_74b.substitute(this.errorMessage,_754);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_750.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_74d.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_74d.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_74d.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_747.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _74f(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_747.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _74f(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_755){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _74f(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _756={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_756,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_756)),_757;hand.then(function(html){_757=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _757;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_758){if(this.isLoaded){this._onUnloadHandler();}var _759=this._contentSetter;_74d.forEach(this.getChildren(),function(_75a){if(_75a.destroyRecursive){_75a.destroyRecursive(_758);}else{if(_75a.destroy){_75a.destroy(_758);}}_75a._destroyed=true;});if(_759){_74d.forEach(_759.parseResults,function(_75b){if(!_75b._destroyed){if(_75b.destroyRecursive){_75b.destroyRecursive(_758);}else{if(_75b.destroy){_75b.destroy(_758);}}_75b._destroyed=true;}});delete _759.parseResults;}if(!_758){_751.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_75c){this.destroyDescendants();var _75d=this._contentSetter;if(!(_75d&&_75d instanceof html._ContentSetter)){_75d=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _75e=this.onContentError(e);try{this.containerNode.innerHTML=_75e;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _75f=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_75d.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_75f);var self=this;return when(p&&p.then?p:_75d.parseDeferred,function(){delete self._contentSetterParams;if(!_75c){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},_onError:function(type,err,_760){this.onLoadDeferred.reject(err);var _761=this["on"+type+"Error"].call(this,err);if(_760){console.error(_760,err);}else{if(_761){this._setContent(_761,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/_KeyNavContainer":function(){define("dijit/_KeyNavContainer",["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_762,_763,_764,_765,keys,_766,_767,_768,lang){return _766("dijit._KeyNavContainer",[_764,_763],{tabIndex:"0",connectKeyNavHandlers:function(_769,_76a){var _76b=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_765.forEach(_769,function(code){_76b[code]=prev;});_765.forEach(_76a,function(code){_76b[code]=next;});_76b[keys.HOME]=lang.hitch(this,"focusFirstChild");_76b[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_762.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_765.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_76c,_76d){this.inherited(arguments);this._startupChild(_76c);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},focusChild:function(_76e,last){if(!_76e){return;}if(this.focusedChild&&_76e!==this.focusedChild){this._onChildBlur(this.focusedChild);}_76e.set("tabIndex",this.tabIndex);_76e.focus(last?"end":"start");this._set("focusedChild",_76e);},_startupChild:function(_76f){_76f.set("tabIndex","-1");this.connect(_76f,"_onFocus",function(){_76f.set("tabIndex",this.tabIndex);});this.connect(_76f,"_onBlur",function(){_76f.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_768.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_768.set(this.domNode,"tabIndex",this.tabIndex);}this.focusedChild=null;this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();_767.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_770,dir){if(_770){_770=this._getSiblingOfChild(_770,dir);}var _771=this.getChildren();for(var i=0;i<_771.length;i++){if(!_770){_770=_771[(dir>0)?0:(_771.length-1)];}if(_770.isFocusable()){return _770;}_770=this._getSiblingOfChild(_770,dir);}return null;}});});},"dijit/layout/utils":function(){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","../main"],function(_772,_773,_774,_775,lang,_776){var _777=lang.getObject("layout",true,_776);_777.marginBox2contentBox=function(node,mb){var cs=_775.getComputedStyle(node);var me=_774.getMarginExtents(node,cs);var pb=_774.getPadBorderExtents(node,cs);return {l:_775.toPixelValue(node,cs.paddingLeft),t:_775.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _778(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_779,dim){var _77a=_779.resize?_779.resize(dim):_774.setMarginBox(_779.domNode,dim);if(_77a){lang.mixin(_779,_77a);}else{lang.mixin(_779,_774.getMarginBox(_779.domNode));lang.mixin(_779,dim);}};_777.layoutChildren=function(_77b,dim,_77c,_77d,_77e){dim=lang.mixin({},dim);_773.add(_77b,"dijitLayoutContainer");_77c=_772.filter(_77c,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_772.filter(_77c,function(item){return item.region=="center"||item.layoutAlign=="client";}));_772.forEach(_77c,function(_77f){var elm=_77f.domNode,pos=(_77f.region||_77f.layoutAlign);if(!pos){throw new Error("No region setting for "+_77f.id);}var _780=elm.style;_780.left=dim.l+"px";_780.top=dim.t+"px";_780.position="absolute";_773.add(elm,"dijitAlign"+_778(pos));var _781={};if(_77d&&_77d==_77f.id){_781[_77f.region=="top"||_77f.region=="bottom"?"h":"w"]=_77e;}if(pos=="top"||pos=="bottom"){_781.w=dim.w;size(_77f,_781);dim.h-=_77f.h;if(pos=="top"){dim.t+=_77f.h;}else{_780.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_781.h=dim.h;size(_77f,_781);dim.w-=_77f.w;if(pos=="left"){dim.l+=_77f.w;}else{_780.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_77f,dim);}}}});};return {marginBox2contentBox:_777.marginBox2contentBox,layoutChildren:_777.layoutChildren};});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_782,_783){return _782("dijit._Contained",null,{_getSibling:function(_784){var node=this.domNode;do{node=node[_784+"Sibling"];}while(node&&node.nodeType!=1);return node&&_783.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/form/DataList":function(){define("dijit/form/DataList",["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_785,dom,lang,_786,_787,_788){function _789(_78a){return {id:_78a.value,value:_78a.value,name:lang.trim(_78a.innerText||_78a.textContent||"")};};return _785("dijit.form.DataList",_787,{constructor:function(_78b,_78c){this.domNode=dom.byId(_78c);lang.mixin(this,_78b);if(this.id){_788.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_786("option",this.domNode).map(_789)}]);},destroy:function(){_788.remove(this.id);},fetchSelectedItem:function(){var _78d=_786("> option[selected]",this.domNode)[0]||_786("> option",this.domNode)[0];return _78d&&_789(_78d);}});});},"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dijit/form/CheckBox":function(){require({cache:{"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n"}});define("dijit/form/CheckBox",["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_78e,_78f,_790,has,_791,_792,_793,_794,_795){if(has("dijit-legacy-requires")){_792(0,function(){var _796=["dijit/form/RadioButton"];_78e(_796);});}return _78f("dijit.form.CheckBox",[_793,_794],{templateString:_795,baseClass:"dijitCheckBox",_setValueAttr:function(_797,_798){if(typeof _797=="string"){this.inherited(arguments);_797=true;}if(this._created){this.set("checked",_797,_798);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_791("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_791("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define("dijit/tree/_dndSelector",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/cookie","dojo/mouse","dojo/on","dojo/touch","./_dndContainer"],function(_799,_79a,_79b,_79c,_79d,lang,_79e,_79f,on,_7a0,_7a1){return _79b("dijit.tree._dndSelector",_7a1,{constructor:function(){this.selection={};this.anchor=null;if(!this.cookieName&&this.tree.id){this.cookieName=this.tree.id+"SaveSelectedCookie";}this.events.push(on(this.tree.domNode,_7a0.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_7a0.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_7a0.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _7a2=[],sel=this.selection;for(var i in sel){_7a2.push(sel[i]);}return _7a2;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_7a3){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_7a3){this.anchor=node;}return node;},removeTreeNode:function(node){this.setSelection(this._setDifference(this.getSelectedTreeNodes(),[node]));return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_7a4){var _7a5=this.getSelectedTreeNodes();_799.forEach(this._setDifference(_7a5,_7a4),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_799.forEach(this._setDifference(_7a4,_7a5),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_799.forEach(ys,function(y){y.__exclude__=true;});var ret=_799.filter(xs,function(x){return !x.__exclude__;});_799.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _7a6=this.getSelectedTreeNodes();var _7a7=[],_7a8=[],_7a9=[];_799.forEach(_7a6,function(node){var ary=node.getTreePath(),_7aa=this.tree.model;_7a8.push(node);_7a7.push(ary);ary=_799.map(ary,function(item){return _7aa.getIdentity(item);},this);_7a9.push(ary.join("/"));},this);var _7ab=_799.map(_7a8,function(node){return node.item;});this.tree._set("paths",_7a7);this.tree._set("path",_7a7[0]||[]);this.tree._set("selectedNodes",_7a8);this.tree._set("selectedNode",_7a8[0]||null);this.tree._set("selectedItems",_7ab);this.tree._set("selectedItem",_7ab[0]||null);if(this.tree.persist&&_7a9.length>0){_79e(this.cookieName,_7a9.join(","),{expires:365});}},_getSavedPaths:function(){var tree=this.tree;if(tree.persist&&tree.dndController.cookieName){var oreo,_7ac=[];oreo=_79e(tree.dndController.cookieName);if(oreo){_7ac=_799.map(oreo.split(","),function(path){return path.split("/");});}return _7ac;}},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(_79f.isLeft(e)){e.preventDefault();}else{if(e.type!="touchstart"){return;}}var _7ad=this.current,copy=_79a.isCopyKey(e),id=_7ad.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_7ad,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_79a.isCopyKey(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_7ae,_7af){if(this.singular){if(this.anchor==node&&_7ae){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_7af&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_7b0,end,_7b1=this.anchor;if(cr<0){_7b0=_7b1;end=node;}else{_7b0=node;end=_7b1;}var _7b2=[];while(_7b0!=end){_7b2.push(_7b0);_7b0=this.tree._getNextNode(_7b0);}_7b2.push(end);this.setSelection(_7b2);}else{if(this.selection[node.id]&&_7ae){this.removeTreeNode(node);}else{if(_7ae){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _7b3=this.selection[key];return {data:_7b3,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_79d.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(_7b4,_7b5,_7b6){return _7b5("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_7b7,_7b8){var _7b9=this.containerNode;if(_7b8&&typeof _7b8=="number"){var _7ba=this.getChildren();if(_7ba&&_7ba.length>=_7b8){_7b9=_7ba[_7b8-1].domNode;_7b8="after";}}_7b6.place(_7b7.domNode,_7b9,_7b8);if(this._started&&!_7b7._started){_7b7.startup();}},removeChild:function(_7bb){if(typeof _7bb=="number"){_7bb=this.getChildren()[_7bb];}if(_7bb){var node=_7bb.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_7bc,dir){var _7bd=this.getChildren(),idx=_7b4.indexOf(this.getChildren(),_7bc);return _7bd[idx+dir];},getIndexOfChild:function(_7be){return _7b4.indexOf(this.getChildren(),_7be);}});});},"dojo/data/ItemFileReadStore":function(){define("dojo/data/ItemFileReadStore",["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_7bf,lang,_7c0,_7c1,xhr,_7c2,_7c3,_7c4,_7c5){var _7c6=_7c0("dojo.data.ItemFileReadStore",[_7c2],{constructor:function(_7c7){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_7c7.url;this._ccUrl=_7c7.url;this.url=_7c7.url;this._jsonData=_7c7.data;this.data=null;this._datatypeMap=_7c7.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_7c8){return _7c5.fromISOString(_7c8);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_7c7.urlPreventCache!==undefined){this.urlPreventCache=_7c7.urlPreventCache?true:false;}if(_7c7.hierarchical!==undefined){this.hierarchical=_7c7.hierarchical?true:false;}if(_7c7.clearOnClose){this.clearOnClose=true;}if("failOk" in _7c7){this.failOk=_7c7.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_7c9){if(typeof _7c9!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_7ca,_7cb){var _7cc=this.getValues(item,_7ca);return (_7cc.length>0)?_7cc[0]:_7cb;},getValues:function(item,_7cd){this._assertIsItem(item);this._assertIsAttribute(_7cd);return (item[_7cd]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _7ce=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_7ce.push(key);}}return _7ce;},hasAttribute:function(item,_7cf){this._assertIsItem(item);this._assertIsAttribute(_7cf);return (_7cf in item);},containsValue:function(item,_7d0,_7d1){var _7d2=undefined;if(typeof _7d1==="string"){_7d2=_7c3.patternToRegExp(_7d1,false);}return this._containsValue(item,_7d0,_7d1,_7d2);},_containsValue:function(item,_7d3,_7d4,_7d5){return _7c1.some(this.getValues(item,_7d3),function(_7d6){if(_7d6!==null&&!lang.isObject(_7d6)&&_7d5){if(_7d6.toString().match(_7d5)){return true;}}else{if(_7d4===_7d6){return true;}}});},isItem:function(_7d7){if(_7d7&&_7d7[this._storeRefPropName]===this){if(this._arrayOfAllItems[_7d7[this._itemNumPropName]]===_7d7){return true;}}return false;},isItemLoaded:function(_7d8){return this.isItem(_7d8);},loadItem:function(_7d9){this._assertIsItem(_7d9.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_7da,_7db,_7dc){var _7dd=[],i,key;if(_7da.query){var _7de,_7df=_7da.queryOptions?_7da.queryOptions.ignoreCase:false;var _7e0={};for(key in _7da.query){_7de=_7da.query[key];if(typeof _7de==="string"){_7e0[key]=_7c3.patternToRegExp(_7de,_7df);}else{if(_7de instanceof RegExp){_7e0[key]=_7de;}}}for(i=0;i<_7db.length;++i){var _7e1=true;var _7e2=_7db[i];if(_7e2===null){_7e1=false;}else{for(key in _7da.query){_7de=_7da.query[key];if(!this._containsValue(_7e2,key,_7de,_7e0[key])){_7e1=false;}}}if(_7e1){_7dd.push(_7e2);}}_7dc(_7dd,_7da);}else{for(i=0;i<_7db.length;++i){var item=_7db[i];if(item!==null){_7dd.push(item);}}_7dc(_7dd,_7da);}},_fetchItems:function(_7e3,_7e4,_7e5){var self=this;if(this._loadFinished){this.filter(_7e3,this._getItemsArray(_7e3.queryOptions),_7e4);}else{if(this._jsonFileUrl!==this._ccUrl){_7bf.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_7e3,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_7e4)});}else{this._loadInProgress=true;var _7e6={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _7e7=xhr.get(_7e6);_7e7.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_7e3,self._getItemsArray(_7e3.queryOptions),_7e4);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_7e5(e,_7e3);}});_7e7.addErrback(function(_7e8){self._loadInProgress=false;_7e5(_7e8,_7e3);});var _7e9=null;if(_7e3.abort){_7e9=_7e3.abort;}_7e3.abort=function(){var df=_7e7;if(df&&df.fired===-1){df.cancel();df=null;}if(_7e9){_7e9.call(_7e3);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_7e3,this._getItemsArray(_7e3.queryOptions),_7e4);}catch(e){_7e5(e,_7e3);}}else{_7e5(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_7e3);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _7ea=this._queuedFetches[i],_7eb=_7ea.args,_7ec=_7ea.filter,_7ed=_7ea.findCallback;if(_7ec){_7ec(_7eb,this._getItemsArray(_7eb.queryOptions),_7ed);}else{this.fetchItemByIdentity(_7eb);}}this._queuedFetches=[];}},_getItemsArray:function(_7ee){if(_7ee&&_7ee.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_7ef){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_7f0){var _7f1=false,self=this;function _7f2(_7f3){return (_7f3!==null)&&(typeof _7f3==="object")&&(!lang.isArray(_7f3)||_7f1)&&(!lang.isFunction(_7f3))&&(_7f3.constructor==Object||lang.isArray(_7f3))&&(typeof _7f3._reference==="undefined")&&(typeof _7f3._type==="undefined")&&(typeof _7f3._value==="undefined")&&self.hierarchical;};function _7f4(_7f5){self._arrayOfAllItems.push(_7f5);for(var _7f6 in _7f5){var _7f7=_7f5[_7f6];if(_7f7){if(lang.isArray(_7f7)){var _7f8=_7f7;for(var k=0;k<_7f8.length;++k){var _7f9=_7f8[k];if(_7f2(_7f9)){_7f4(_7f9);}}}else{if(_7f2(_7f7)){_7f4(_7f7);}}}}};this._labelAttr=_7f0.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_7f0.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(lang.isArray(item)){_7f1=true;}_7f4(item);item[this._rootItemPropName]=true;}var _7fa={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _7fb=item[key];if(_7fb!==null){if(!lang.isArray(_7fb)){item[key]=[_7fb];}}else{item[key]=[null];}}_7fa[key]=key;}}while(_7fa[this._storeRefPropName]){this._storeRefPropName+="_";}while(_7fa[this._itemNumPropName]){this._itemNumPropName+="_";}while(_7fa[this._reverseRefMap]){this._reverseRefMap+="_";}var _7fc;var _7fd=_7f0.identifier;if(_7fd){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_7fd;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_7fc=item[_7fd];var _7fe=_7fc[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_7fe)){this._itemsByIdentity[_7fe]=item;}else{if(this._jsonFileUrl){throw new Error(this.declaredClass+": The json data as specified by: ["+this._jsonFileUrl+"] is malformed. Items within the list have identifier: ["+_7fd+"]. Value collided: ["+_7fe+"]");}else{if(this._jsonData){throw new Error(this.declaredClass+": The json data provided by the creation arguments is malformed. Items within the list have identifier: ["+_7fd+"]. Value collided: ["+_7fe+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_7fc=item[key];for(var j=0;j<_7fc.length;++j){_7fb=_7fc[j];if(_7fb!==null&&typeof _7fb=="object"){if(("_type" in _7fb)&&("_value" in _7fb)){var type=_7fb._type;var _7ff=this._datatypeMap[type];if(!_7ff){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(lang.isFunction(_7ff)){_7fc[j]=new _7ff(_7fb._value);}else{if(lang.isFunction(_7ff.deserialize)){_7fc[j]=_7ff.deserialize(_7fb._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_7fb._reference){var _800=_7fb._reference;if(!lang.isObject(_800)){_7fc[j]=this._getItemByIdentity(_800);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _801=this._arrayOfAllItems[k],_802=true;for(var _803 in _800){if(_801[_803]!=_800[_803]){_802=false;}}if(_802){_7fc[j]=_801;}}}if(this.referenceIntegrity){var _804=_7fc[j];if(this.isItem(_804)){this._addReferenceToMap(_804,item,key);}}}else{if(this.isItem(_7fb)){if(this.referenceIntegrity){this._addReferenceToMap(_7fb,item,key);}}}}}}}},_addReferenceToMap:function(_805,_806,_807){},getIdentity:function(item){var _808=this._features["dojo.data.api.Identity"];if(_808===Number){return item[this._itemNumPropName];}else{var _809=item[_808];if(_809){return _809[0];}}return null;},fetchItemByIdentity:function(_80a){var item,_80b;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){_7bf.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null&&this._jsonData==null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_80a});}else{this._loadInProgress=true;var _80c={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _80d=xhr.get(_80c);_80d.addCallback(function(data){var _80e=_80a.scope?_80a.scope:_7bf.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_80a.identity);if(_80a.onItem){_80a.onItem.call(_80e,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_80a.onError){_80a.onError.call(_80e,error);}}});_80d.addErrback(function(_80f){self._loadInProgress=false;if(_80a.onError){var _810=_80a.scope?_80a.scope:_7bf.global;_80a.onError.call(_810,_80f);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_80a.identity);if(_80a.onItem){_80b=_80a.scope?_80a.scope:_7bf.global;_80a.onItem.call(_80b,item);}}}}else{item=this._getItemByIdentity(_80a.identity);if(_80a.onItem){_80b=_80a.scope?_80a.scope:_7bf.global;_80a.onItem.call(_80b,item);}}},_getItemByIdentity:function(_811){var item=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_811)){item=this._itemsByIdentity[_811];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_811)){item=this._arrayOfAllItems[_811];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _812=this._features["dojo.data.api.Identity"];if(_812===Number){return null;}else{return [_812];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_7bf.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){var _813={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _814=xhr.get(_813);_814.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}else{if(self._loadInProgress){throw new Error(this.declaredClass+": Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_814.addErrback(function(_815){throw _815;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});lang.extend(_7c6,_7c4);return _7c6;});},"dojo/html":function(){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_816,lang,_817,_818,dom,_819,_81a){var html={};lang.setObject("dojo.html",html);var _81b=0;html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};html._emptyNode=_819.empty;html._setNodeContent=function(node,cont){_819.empty(node);if(cont){if(typeof cont=="string"){cont=_819.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _81c=cont.length,i=0;i<cont.length;i=_81c==cont.length?i+1:0){_819.place(cont[i],node,"last");}}else{_819.place(cont,node,"last");}}return node;};html._ContentSetter=_818("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_816._scopeName,startup:true,constructor:function(_81d,node){lang.mixin(this,_81d||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_81b++].join("_");}},set:function(cont,_81e){if(undefined!==cont){this.content=cont;}if(_81e){this._mixin(_81e);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _81f=this.onContentError(e);try{node.innerHTML=_81f;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_817.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_819.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _820=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_820){cont=_820[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_821){var _822={},key;for(key in _821){if(key in _822){continue;}this[key]=_821[key];}},_parse:function(){var _823=this.node;try{var _824={};_817.forEach(["dir","lang","textDir"],function(name){if(this[name]){_824[name]=this[name];}},this);var self=this;this.parseDeferred=_81a.parse({rootNode:_823,noStart:!this.startup,inherited:_824,scope:this.parserScope}).then(function(_825){return self.parseResults=_825;});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_826){var _827=this["on"+type+"Error"].call(this,err);if(_826){console.error(_826,err);}else{if(_827){html._setNodeContent(this.node,_827,true);}}}});html.set=function(node,cont,_828){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_828){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_828,{content:cont,node:node}));return op.set();}};return html;});},"dijit/_PaletteMixin":function(){define("dijit/_PaletteMixin",["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","./_CssStateMixin","./focus","./typematic"],function(_829,_82a,_82b,_82c,_82d,keys,lang,_82e,_82f,_830){return _829("dijit._PaletteMixin",[_82e],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_831){var _832=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _832(_831);},_preparePalette:function(_833,_834){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_833.length;row++){var _835=_82c.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_833[row].length;col++){var _836=_833[row][col];if(_836){var _837=this._dyeFactory(_836,row,col,_834[_836]);var _838=_82c.create("td",{"class":this.cellClass,tabIndex:"-1",title:_834[_836],role:"gridcell"},_835);_837.fillCell(_838,url);_838.idx=this._cells.length;this._cells.push({node:_838,dye:_837});}}}this._xDim=_833[0].length;this._yDim=_833.length;var _839={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _839){this.own(_830.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _83a=_839[key];return function(_83b){this._navigateByKey(_83a,_83b);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_82f.focus(this._currentFocus);},_onCellClick:function(evt){var _83c=evt.target;while(_83c.tagName!="TD"){if(!_83c.parentNode||_83c==this.gridNode){return;}_83c=_83c.parentNode;}var _83d=this._getDye(_83c).getValue();this._setCurrent(_83c);_82f.focus(_83c);this._setValueAttr(_83d,true);_82d.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_82a.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_82a.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_83e,_83f){if(this._selectedCell>=0){_82b.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_83e){for(var i=0;i<this._cells.length;i++){if(_83e==this._cells[i].dye.getValue()){this._selectedCell=i;_82b.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_83e:null);if(_83f||_83f===undefined){this.onChange(_83e);}},onChange:function(){},_navigateByKey:function(_840,_841){if(_841==-1){return;}var _842=this._currentFocus.idx+_840;if(_842<this._cells.length&&_842>-1){var _843=this._cells[_842].node;this._setCurrent(_843);this.defer(lang.hitch(_82f,"focus",_843));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});});},"dijit/form/ValidationTextBox":function(){require({cache:{"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/ValidationTextBox",["dojo/_base/declare","dojo/_base/kernel","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_844,_845,i18n,_846,_847,_848){var _849;return _849=_844("dijit.form.ValidationTextBox",_846,{templateString:_848,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_84a){if(_84a!=_849.prototype[attr]){_845.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_84a);}},_setRegExpGenAttr:function(_84b){this._deprecateRegExp("regExpGen",_84b);this.regExpGen=this._getPatternAttr;},_setRegExpAttr:function(_84c){this._deprecateRegExp("regExp",_84c);},_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_84d,_84e){return (new RegExp("^(?:"+this._getPatternAttr(_84e)+")"+(this.required?"":"?")+"$")).test(_84d)&&(!this.required||!this._isEmpty(_84d))&&(this._isEmpty(_84d)||this.parse(_84d,_84e)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_84f){return (this.trim?/^\s*$/:/^$/).test(_84f);},getErrorMessage:function(){var _850=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _851=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_850:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_851:_850;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_852){var _853="";var _854=this.disabled||this.isValid(_852);if(_854){this._maskValidSubsetError=true;}var _855=this._isEmpty(this.textbox.value);var _856=!_854&&_852&&this._isValidSubset();this._set("state",_854?"":(((((!this._hasBeenBlurred||_852)&&_855)||_856)&&(this._maskValidSubsetError||(_856&&!this._hasBeenBlurred&&_852)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_854?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_852&&_856;_853=this.getErrorMessage(_852);}else{if(this.state=="Incomplete"){_853=this.getPromptMessage(_852);this._maskValidSubsetError=!this._hasBeenBlurred||_852;}else{if(_855){_853=this.getPromptMessage(_852);}}}this.set("message",_853);return _854;},displayMessage:function(_857){if(_857&&this.focused){_847.show(_857,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_847.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_858){this.constraints={};this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_859){if(!_859.locale&&this.lang){_859.locale=this.lang;}this._set("constraints",_859);this._refreshState();},_setPatternAttr:function(_85a){this._set("pattern",_85a);},_getPatternAttr:function(_85b){var p=this.pattern;var type=(typeof p).toLowerCase();if(type=="function"){p=this.pattern(_85b||this.constraints);}if(p!=this._lastRegExp){var _85c="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_85c+=re;break;case ")":_85c+="|$)";break;default:_85c+="(?:"+re+"|$)";break;}});}try{"".search(_85c);}catch(e){_85c=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_85c+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_85d){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_85e){this._set("required",_85e);this.focusNode.setAttribute("aria-required",_85e);this._refreshState();},_setMessageAttr:function(_85f){this._set("message",_85f);this.displayMessage(_85f);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/_base/typematic":function(){define("dijit/_base/typematic",["../typematic"],function(){});},"dijit/layout/BorderContainer":function(){define("dijit/layout/BorderContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_860,_861,_862,_863,_864,_865,_866,_867,keys,lang,on,_868,_869,_86a,_86b,_86c,_86d){var _86e=_862("dijit.layout._Splitter",[_86a,_86b],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeypress:_onKeyPress,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_863.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _86f=_861(this._cookieName);if(_86f){this.child.domNode.style[this.horizontal?"height":"width"]=_86f;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_870=_865.getMarginBox(this.child.domNode)[dim],_871=_860.filter(this.container.getChildren(),function(_872){return _872.region=="center";})[0],_873=_865.getMarginBox(_871.domNode)[dim];return Math.min(this.child.maxSize,_870+_873);},_startDrag:function(e){if(!this.cover){this.cover=_864.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_863.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_864.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_863.add(this.domNode,"dijitSplitterShadow");_864.place(this.fake,this.domNode,"after");}_863.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_863.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _874=this._factor,_875=this.horizontal,axis=_875?"pageY":"pageX",_876=e[axis],_877=this.domNode.style,dim=_875?"h":"w",_878=_865.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_879=this.region,_87a=_879=="top"||_879=="bottom"?"top":"left",_87b=parseInt(_877[_87a],10),_87c=this._resize,_87d=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_868.move,this._drag=function(e,_87e){var _87f=e[axis]-_876,_880=_874*_87f+_878,_881=Math.max(Math.min(_880,max),min);if(_87c||_87e){_87d(_881);}_877[_87a]=_87f+_87b+_874*(_881-_880)+"px";}),on(de,"dragstart",_867.stop),on(this.ownerDocumentBody,"selectstart",_867.stop),on(de,_868.release,lang.hitch(this,"_stopDrag"))]);_867.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_863.toggle(this.domNode,"dijitSplitterHover",o);_863.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_863.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_864.destroy(this.fake);}_863.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_861(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyPress:function(e){this._resize=true;var _882=this.horizontal;var tick=1;switch(e.charOrCode){case _882?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _882?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _883=_865.getMarginSize(this.child.domNode)[_882?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_883,this._computeMaxSize()),this.child.minSize));_867.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _884=_862("dijit.layout._Gutter",[_86a,_86b],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_863.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _885=_862("dijit.layout.BorderContainer",_86c,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_86e,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_860.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_886){var _887=_886.region;if(_887){this.inherited(arguments);_863.add(_886.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_887=="leading"){_887=ltr?"left":"right";}if(_887=="trailing"){_887=ltr?"right":"left";}if(_887!="center"&&(_886.splitter||this.gutters)&&!_886._splitterWidget){var _888=_886.splitter?this._splitterClass:_884;if(lang.isString(_888)){_888=lang.getObject(_888);}var _889=new _888({id:_886.id+"_splitter",container:this,child:_886,region:_887,live:this.liveSplitters});_889.isSplitter=true;_886._splitterWidget=_889;_864.place(_889.domNode,_886.domNode,"after");_889.startup();}_886.region=_887;}},layout:function(){this._layoutChildren();},addChild:function(_88a,_88b){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_88c){var _88d=_88c.region;var _88e=_88c._splitterWidget;if(_88e){_88e.destroy();delete _88c._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_863.remove(_88c.domNode,this.baseClass+"Pane");_866.set(_88c.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_866.set(_88c.domNode,_88d=="top"||_88d=="bottom"?"width":"height","auto");},getChildren:function(){return _860.filter(this.inherited(arguments),function(_88f){return !_88f.isSplitter;});},getSplitter:function(_890){return _860.filter(this.getChildren(),function(_891){return _891.region==_890;})[0]._splitterWidget;},resize:function(_892,_893){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_866.getComputedStyle(node);this.pe=_865.getPadExtents(node,this.cs);this.pe.r=_866.toPixelValue(node,this.cs.paddingRight);this.pe.b=_866.toPixelValue(node,this.cs.paddingBottom);_866.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_894,_895){if(!this._borderBox||!this._borderBox.h){return;}var _896=_860.map(this.getChildren(),function(_897,idx){return {pane:_897,weight:[_897.region=="center"?Infinity:0,_897.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_897.region)?1:-1),idx]};},this);_896.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});var _898=[];_860.forEach(_896,function(_899){var pane=_899.pane;_898.push(pane);if(pane._splitterWidget){_898.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_86d.layoutChildren(this.domNode,dim,_898,_894,_895);},destroyRecursive:function(){_860.forEach(this.getChildren(),function(_89a){var _89b=_89a._splitterWidget;if(_89b){_89b.destroy();}delete _89a._splitterWidget;});this.inherited(arguments);}});_885.ChildWidgetProperties={region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity};lang.extend(_869,_885.ChildWidgetProperties);_885._Splitter=_86e;_885._Gutter=_884;return _885;});},"dijit/_base":function(){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_89c){return _89c._base;});},"dojo/window":function(){define("dojo/window",["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_89d,dom,geom,_89e){var _89f={getBox:function(doc){doc=doc||_89d.doc;var _8a0=(doc.compatMode=="BackCompat")?_89d.body(doc):doc.documentElement,_8a1=geom.docScroll(doc),w,h;if(has("touch")){var _8a2=_89f.get(doc);w=_8a2.innerWidth||_8a0.clientWidth;h=_8a2.innerHeight||_8a0.clientHeight;}else{w=_8a0.clientWidth;h=_8a0.clientHeight;}return {l:_8a1.x,t:_8a1.y,w:w,h:h};},get:function(doc){if(has("ie")&&_89f!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_89d.doc,body=_89d.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _8a3=doc.compatMode=="BackCompat",_8a4=(isIE>=9&&"frameElement" in node.ownerDocument.parentWindow)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_8a3?body:html),_8a5=isWK?body:_8a4,_8a6=_8a4.clientWidth,_8a7=_8a4.clientHeight,rtl=!geom.isBodyLtr(doc),_8a8=pos||geom.position(node),el=node.parentNode,_8a9=function(el){return ((isIE<=6||(isIE&&_8a3))?false:(_89e.get(el,"position").toLowerCase()=="fixed"));};if(_8a9(node)){return;}while(el){if(el==body){el=_8a5;}var _8aa=geom.position(el),_8ab=_8a9(el);if(el==_8a5){_8aa.w=_8a6;_8aa.h=_8a7;if(_8a5==html&&isIE&&rtl){_8aa.x+=_8a5.offsetWidth-_8aa.w;}if(_8aa.x<0||!isIE){_8aa.x=0;}if(_8aa.y<0||!isIE){_8aa.y=0;}}else{var pb=geom.getPadBorderExtents(el);_8aa.w-=pb.w;_8aa.h-=pb.h;_8aa.x+=pb.l;_8aa.y+=pb.t;var _8ac=el.clientWidth,_8ad=_8aa.w-_8ac;if(_8ac>0&&_8ad>0){_8aa.w=_8ac;_8aa.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_8ad:0;}_8ac=el.clientHeight;_8ad=_8aa.h-_8ac;if(_8ac>0&&_8ad>0){_8aa.h=_8ac;}}if(_8ab){if(_8aa.y<0){_8aa.h+=_8aa.y;_8aa.y=0;}if(_8aa.x<0){_8aa.w+=_8aa.x;_8aa.x=0;}if(_8aa.y+_8aa.h>_8a7){_8aa.h=_8a7-_8aa.y;}if(_8aa.x+_8aa.w>_8a6){_8aa.w=_8a6-_8aa.x;}}var l=_8a8.x-_8aa.x,t=_8a8.y-Math.max(_8aa.y,0),r=l+_8a8.w-_8aa.w,bot=t+_8a8.h-_8aa.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_8a3)||isIE>=9)){s=-s;}_8a8.x+=el.scrollLeft;el.scrollLeft+=s;_8a8.x-=el.scrollLeft;}if(bot*t>0){_8a8.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_8a8.y-=el.scrollTop;}el=(el!=_8a5)&&!_8ab&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_89f);return _89f;});},"dojo/number":function(){define("dojo/number",["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_8ae,_8af,_8b0){var _8b1={};lang.setObject("dojo.number",_8b1);_8b1.format=function(_8b2,_8b3){_8b3=lang.mixin({},_8b3||{});var _8b4=i18n.normalizeLocale(_8b3.locale),_8b5=i18n.getLocalization("dojo.cldr","number",_8b4);_8b3.customs=_8b5;var _8b6=_8b3.pattern||_8b5[(_8b3.type||"decimal")+"Format"];if(isNaN(_8b2)||Math.abs(_8b2)==Infinity){return null;}return _8b1._applyPattern(_8b2,_8b6,_8b3);};_8b1._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_8b1._applyPattern=function(_8b7,_8b8,_8b9){_8b9=_8b9||{};var _8ba=_8b9.customs.group,_8bb=_8b9.customs.decimal,_8bc=_8b8.split(";"),_8bd=_8bc[0];_8b8=_8bc[(_8b7<0)?1:0]||("-"+_8bd);if(_8b8.indexOf("%")!=-1){_8b7*=100;}else{if(_8b8.indexOf("‰")!=-1){_8b7*=1000;}else{if(_8b8.indexOf("¤")!=-1){_8ba=_8b9.customs.currencyGroup||_8ba;_8bb=_8b9.customs.currencyDecimal||_8bb;_8b8=_8b8.replace(/\u00a4{1,3}/,function(_8be){var prop=["symbol","currency","displayName"][_8be.length-1];return _8b9[prop]||_8b9.currency||"";});}else{if(_8b8.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _8bf=_8b1._numberPatternRE;var _8c0=_8bd.match(_8bf);if(!_8c0){throw new Error("unable to find a number expression in pattern: "+_8b8);}if(_8b9.fractional===false){_8b9.places=0;}return _8b8.replace(_8bf,_8b1._formatAbsolute(_8b7,_8c0[0],{decimal:_8bb,group:_8ba,places:_8b9.places,round:_8b9.round}));};_8b1.round=function(_8c1,_8c2,_8c3){var _8c4=10/(_8c3||10);return (_8c4*+_8c1).toFixed(_8c2)/_8c4;};if((0.9).toFixed()==0){var _8c5=_8b1.round;_8b1.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _8c5(v,p,m)+(v>0?d:-d);};}_8b1._formatAbsolute=function(_8c6,_8c7,_8c8){_8c8=_8c8||{};if(_8c8.places===true){_8c8.places=0;}if(_8c8.places===Infinity){_8c8.places=6;}var _8c9=_8c7.split("."),_8ca=typeof _8c8.places=="string"&&_8c8.places.indexOf(","),_8cb=_8c8.places;if(_8ca){_8cb=_8c8.places.substring(_8ca+1);}else{if(!(_8cb>=0)){_8cb=(_8c9[1]||[]).length;}}if(!(_8c8.round<0)){_8c6=_8b1.round(_8c6,_8cb,_8c8.round);}var _8cc=String(Math.abs(_8c6)).split("."),_8cd=_8cc[1]||"";if(_8c9[1]||_8c8.places){if(_8ca){_8c8.places=_8c8.places.substring(0,_8ca);}var pad=_8c8.places!==undefined?_8c8.places:(_8c9[1]&&_8c9[1].lastIndexOf("0")+1);if(pad>_8cd.length){_8cc[1]=_8af.pad(_8cd,pad,"0",true);}if(_8cb<_8cd.length){_8cc[1]=_8cd.substr(0,_8cb);}}else{if(_8cc[1]){_8cc.pop();}}var _8ce=_8c9[0].replace(",","");pad=_8ce.indexOf("0");if(pad!=-1){pad=_8ce.length-pad;if(pad>_8cc[0].length){_8cc[0]=_8af.pad(_8cc[0],pad);}if(_8ce.indexOf("#")==-1){_8cc[0]=_8cc[0].substr(_8cc[0].length-pad);}}var _8cf=_8c9[0].lastIndexOf(","),_8d0,_8d1;if(_8cf!=-1){_8d0=_8c9[0].length-_8cf-1;var _8d2=_8c9[0].substr(0,_8cf);_8cf=_8d2.lastIndexOf(",");if(_8cf!=-1){_8d1=_8d2.length-_8cf-1;}}var _8d3=[];for(var _8d4=_8cc[0];_8d4;){var off=_8d4.length-_8d0;_8d3.push((off>0)?_8d4.substr(off):_8d4);_8d4=(off>0)?_8d4.slice(0,off):"";if(_8d1){_8d0=_8d1;delete _8d1;}}_8cc[0]=_8d3.reverse().join(_8c8.group||",");return _8cc.join(_8c8.decimal||".");};_8b1.regexp=function(_8d5){return _8b1._parseInfo(_8d5).regexp;};_8b1._parseInfo=function(_8d6){_8d6=_8d6||{};var _8d7=i18n.normalizeLocale(_8d6.locale),_8d8=i18n.getLocalization("dojo.cldr","number",_8d7),_8d9=_8d6.pattern||_8d8[(_8d6.type||"decimal")+"Format"],_8da=_8d8.group,_8db=_8d8.decimal,_8dc=1;if(_8d9.indexOf("%")!=-1){_8dc/=100;}else{if(_8d9.indexOf("‰")!=-1){_8dc/=1000;}else{var _8dd=_8d9.indexOf("¤")!=-1;if(_8dd){_8da=_8d8.currencyGroup||_8da;_8db=_8d8.currencyDecimal||_8db;}}}var _8de=_8d9.split(";");if(_8de.length==1){_8de.push("-"+_8de[0]);}var re=_8b0.buildGroupRE(_8de,function(_8df){_8df="(?:"+_8b0.escapeString(_8df,".")+")";return _8df.replace(_8b1._numberPatternRE,function(_8e0){var _8e1={signed:false,separator:_8d6.strict?_8da:[_8da,""],fractional:_8d6.fractional,decimal:_8db,exponent:false},_8e2=_8e0.split("."),_8e3=_8d6.places;if(_8e2.length==1&&_8dc!=1){_8e2[1]="###";}if(_8e2.length==1||_8e3===0){_8e1.fractional=false;}else{if(_8e3===undefined){_8e3=_8d6.pattern?_8e2[1].lastIndexOf("0")+1:Infinity;}if(_8e3&&_8d6.fractional==undefined){_8e1.fractional=true;}if(!_8d6.places&&(_8e3<_8e2[1].length)){_8e3+=","+_8e2[1].length;}_8e1.places=_8e3;}var _8e4=_8e2[0].split(",");if(_8e4.length>1){_8e1.groupSize=_8e4.pop().length;if(_8e4.length>1){_8e1.groupSize2=_8e4.pop().length;}}return "("+_8b1._realNumberRegexp(_8e1)+")";});},true);if(_8dd){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_8e5,_8e6,_8e7,_8e8){var prop=["symbol","currency","displayName"][_8e7.length-1],_8e9=_8b0.escapeString(_8d6[prop]||_8d6.currency||"");_8e6=_8e6?"[\\s\\xa0]":"";_8e8=_8e8?"[\\s\\xa0]":"";if(!_8d6.strict){if(_8e6){_8e6+="*";}if(_8e8){_8e8+="*";}return "(?:"+_8e6+_8e9+_8e8+")?";}return _8e6+_8e9+_8e8;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_8da,decimal:_8db,factor:_8dc};};_8b1.parse=function(_8ea,_8eb){var info=_8b1._parseInfo(_8eb),_8ec=(new RegExp("^"+info.regexp+"$")).exec(_8ea);if(!_8ec){return NaN;}var _8ed=_8ec[1];if(!_8ec[1]){if(!_8ec[2]){return NaN;}_8ed=_8ec[2];info.factor*=-1;}_8ed=_8ed.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _8ed*info.factor;};_8b1._realNumberRegexp=function(_8ee){_8ee=_8ee||{};if(!("places" in _8ee)){_8ee.places=Infinity;}if(typeof _8ee.decimal!="string"){_8ee.decimal=".";}if(!("fractional" in _8ee)||/^0/.test(_8ee.places)){_8ee.fractional=[true,false];}if(!("exponent" in _8ee)){_8ee.exponent=[true,false];}if(!("eSigned" in _8ee)){_8ee.eSigned=[true,false];}var _8ef=_8b1._integerRegexp(_8ee),_8f0=_8b0.buildGroupRE(_8ee.fractional,function(q){var re="";if(q&&(_8ee.places!==0)){re="\\"+_8ee.decimal;if(_8ee.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_8ee.places+"}";}}return re;},true);var _8f1=_8b0.buildGroupRE(_8ee.exponent,function(q){if(q){return "([eE]"+_8b1._integerRegexp({signed:_8ee.eSigned})+")";}return "";});var _8f2=_8ef+_8f0;if(_8f0){_8f2="(?:(?:"+_8f2+")|(?:"+_8f0+"))";}return _8f2+_8f1;};_8b1._integerRegexp=function(_8f3){_8f3=_8f3||{};if(!("signed" in _8f3)){_8f3.signed=[true,false];}if(!("separator" in _8f3)){_8f3.separator="";}else{if(!("groupSize" in _8f3)){_8f3.groupSize=3;}}var _8f4=_8b0.buildGroupRE(_8f3.signed,function(q){return q?"[-+]":"";},true);var _8f5=_8b0.buildGroupRE(_8f3.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_8b0.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_8f3.groupSize,grp2=_8f3.groupSize2;if(grp2){var _8f6="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_8f6+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_8f6;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _8f4+_8f5;};return _8b1;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_8f7,_8f8,_8f9,lang){lang.extend(_8f8,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _8f9("dijit._FocusMixin",null,{_focusManager:_8f7});});},"dojo/data/util/filter":function(){define("dojo/data/util/filter",["../../_base/lang"],function(lang){var _8fa={};lang.setObject("dojo.data.util.filter",_8fa);_8fa.patternToRegExp=function(_8fb,_8fc){var rxp="^";var c=null;for(var i=0;i<_8fb.length;i++){c=_8fb.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_8fb.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_8fc){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _8fa;});},"dijit/_WidgetsInTemplateMixin":function(){define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser"],function(_8fd,_8fe,_8ff){return _8fe("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_8ff.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));if(!cw.isFulfilled()){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_8fd.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"dojo/fx/Toggler":function(){define("dojo/fx/Toggler",["../_base/lang","../_base/declare","../_base/fx","../_base/connect"],function(lang,_900,_901,_902){return _900("dojo.fx.Toggler",null,{node:null,showFunc:_901.fadeIn,hideFunc:_901.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _903=this;lang.mixin(_903,args);_903.node=args.node;_903._showArgs=lang.mixin({},args);_903._showArgs.node=_903.node;_903._showArgs.duration=_903.showDuration;_903.showAnim=_903.showFunc(_903._showArgs);_903._hideArgs=lang.mixin({},args);_903._hideArgs.node=_903.node;_903._hideArgs.duration=_903.hideDuration;_903.hideAnim=_903.hideFunc(_903._hideArgs);_902.connect(_903.showAnim,"beforeBegin",lang.hitch(_903.hideAnim,"stop",true));_902.connect(_903.hideAnim,"beforeBegin",lang.hitch(_903.showAnim,"stop",true));},show:function(_904){return this.showAnim.play(_904||0);},hide:function(_905){return this.hideAnim.play(_905||0);}});});},"dijit/form/FilteringSelect":function(){define("dijit/form/FilteringSelect",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_906,_907,lang,when,_908,_909){return _907("dijit.form.FilteringSelect",[_908,_909],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_90a,_90b,_90c,_90d){if((_90b&&_90b[this.searchAttr]!==this._lastQuery)||(!_90b&&_90a.length&&this.store.getIdentity(_90a[0])!=this._lastQuery)){return;}if(!_90a.length){this.set("value","",_90d||(_90d===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_90a[0],_90d);}},_openResultList:function(_90e,_90f,_910){if(_90f[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_911,_912,_913,item){if(!this._onChangeActive){_912=null;}if(item===undefined){if(_911===null||_911===""){_911="";if(!lang.isString(_913)){this._setDisplayedValueAttr(_913||"",_912);return;}}var self=this;this._lastQuery=_911;when(this.store.get(_911),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_912);});}else{this.valueNode.value=_911;this.inherited(arguments);}},_setItemAttr:function(item,_914,_915){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_916,_917){if(_916==null){_916="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_917=false;}if(this.store){this.closeDropDown();var _918=lang.clone(this.query);var qs=this._getDisplayQueryString(_916),q;if(this.store._oldAPI){q=qs;}else{q=_906.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_918[this.searchAttr]=q;this.textbox.value=_916;this._lastDisplayedValue=_916;this._set("displayedValue",_916);var _919=this;var _91a={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_91a,this.fetchProperties);this._fetchHandle=this.store.query(_918,_91a);when(this._fetchHandle,function(_91b){_919._fetchHandle=null;_919._callbackSetLabel(_91b||[],_918,_91a,_917);},function(err){_919._fetchHandle=null;if(!_919._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define("dojo/data/util/sorter",["../../_base/lang"],function(lang){var _91c={};lang.setObject("dojo.data.util.sorter",_91c);_91c.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_91c.createSortFunction=function(_91d,_91e){var _91f=[];function _920(attr,dir,comp,s){return function(_921,_922){var a=s.getValue(_921,attr);var b=s.getValue(_922,attr);return dir*comp(a,b);};};var _923;var map=_91e.comparatorMap;var bc=_91c.basicComparator;for(var i=0;i<_91d.length;i++){_923=_91d[i];var attr=_923.attribute;if(attr){var dir=(_923.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_91f.push(_920(attr,dir,comp,_91e));}}return function(rowA,rowB){var i=0;while(i<_91f.length){var ret=_91f[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _91c;});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_924,dom,_925,_926){return _924("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_925.stop(e);return false;}var _927=this.onClick(e)===false;if(!_927&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _928=_926.byNode(node);if(_928&&typeof _928._onSubmit=="function"){_928._onSubmit(e);_927=true;break;}}}if(_927){e.preventDefault();}return !_927;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_929){this._set("label",_929);(this.containerNode||this.focusNode).innerHTML=_929;}});});},"dojo/colors":function(){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_92a,_92b){var _92c={};lang.setObject("dojo.colors",_92c);var _92d=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_92a.fromRgb=function(_92e,obj){var m=_92e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_92b.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _92a.fromArray(a,obj);}return _92a.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_92d(m1,m2,H+1/3)*256,_92d(m1,m2,H)*256,_92d(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _92a.fromArray(a,obj);}}return null;};var _92f=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_92a.prototype.sanitize=function(){var t=this;t.r=Math.round(_92f(t.r,0,255));t.g=Math.round(_92f(t.g,0,255));t.b=Math.round(_92f(t.b,0,255));t.a=_92f(t.a,0,1);return this;};_92c.makeGrey=_92a.makeGrey=function(g,a){return _92a.fromArray([g,g,g,a]);};lang.mixin(_92a.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _92a;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_930,has,_931,win,_932){var _933={},hash={};var _934={length:0,add:function(_935){if(hash[_935.id]){throw new Error("Tried to register widget with id=="+_935.id+" but that id is already registered");}hash[_935.id]=_935;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_936){var id;do{id=_936+"_"+(_936 in _933?++_933[_936]:_933[_936]=0);}while(hash[id]);return _932._scopeName=="dijit"?id:_932._scopeName+"_"+id;},findWidgets:function(root,_937){var _938=[];function _939(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _93a=node.getAttribute("widgetId");if(_93a){var _93b=hash[_93a];if(_93b){_938.push(_93b);}}else{if(node!==_937){_939(node);}}}}};_939(root);return _938;},_destroyAll:function(){_932._curFocus=null;_932._prevFocus=null;_932._activeStack=[];_930.forEach(_934.findWidgets(win.body()),function(_93c){if(!_93c._destroyed){if(_93c.destroyRecursive){_93c.destroyRecursive();}else{if(_93c.destroy){_93c.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_932.registry=_934;return _934;});},"dijit/tree/_dndContainer":function(){define("dijit/tree/_dndContainer",["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/on","dojo/touch"],function(_93d,_93e,_93f,_940,lang,on,_941){return _93e("dijit.tree._dndContainer",null,{constructor:function(tree,_942){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_942);this.current=null;this.containerState="";_93f.add(this.node,"dojoDndContainer");this.events=[on(this.node,_941.enter,lang.hitch(this,"onOverEvent")),on(this.node,_941.leave,lang.hitch(this,"onOutEvent")),_93d.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_93d.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_940,"stop")),on(this.node,"selectstart",lang.hitch(_940,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_943){this.current=_943;},onMouseOut:function(){this.current=null;},_changeState:function(type,_944){var _945="dojoDnd"+type;var _946=type.toLowerCase()+"State";_93f.replace(this.node,_945+_944,_945+this[_946]);this[_946]=_944;},_addItemClass:function(node,type){_93f.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_93f.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_947,lang,_948){var _949={hasWaiRole:function(elem,role){var _94a=this.getWaiRole(elem);return role?(_94a.indexOf(role)>-1):(_94a.length>0);},getWaiRole:function(elem){return lang.trim((_947.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_947.set(elem,"role",role);},removeWaiRole:function(elem,role){var _94b=_947.get(elem,"role");if(!_94b){return;}if(role){var t=lang.trim((" "+_94b+" ").replace(" "+role+" "," "));_947.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_94c){return elem.hasAttribute?elem.hasAttribute("aria-"+_94c):!!elem.getAttribute("aria-"+_94c);},getWaiState:function(elem,_94d){return elem.getAttribute("aria-"+_94d)||"";},setWaiState:function(elem,_94e,_94f){elem.setAttribute("aria-"+_94e,_94f);},removeWaiState:function(elem,_950){elem.removeAttribute("aria-"+_950);}};lang.mixin(_948,_949);return _948;});},"dijit/form/_FormSelectWidget":function(){define("dijit/form/_FormSelectWidget",["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_951,_952,_953,_954,_955,dom,_956,_957,lang,_958,when,_959,_95a){var _95b=_955("dijit.form._FormSelectWidget",_95a,{multiple:false,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_95c){var _95d=_95c,opts=this.options||[],l=opts.length;if(_95d===undefined){return opts;}if(lang.isArray(_95d)){return _951.map(_95d,"return this.getOptions(item);",this);}if(lang.isObject(_95c)){if(!_951.some(this.options,function(o,idx){if(o===_95d||(o.value&&o.value===_95d.value)){_95d=idx;return true;}return false;})){_95d=-1;}}if(typeof _95d=="string"){for(var i=0;i<l;i++){if(opts[i].value===_95d){_95d=i;break;}}}if(typeof _95d=="number"&&_95d>=0&&_95d<l){return this.options[_95d];}return null;},addOption:function(_95e){if(!lang.isArray(_95e)){_95e=[_95e];}_951.forEach(_95e,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_95f){if(!lang.isArray(_95f)){_95f=[_95f];}var _960=this.getOptions(_95f);_951.forEach(_960,function(i){if(i){this.options=_951.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_961){if(!lang.isArray(_961)){_961=[_961];}_951.forEach(_961,function(i){var _962=this.getOptions(i),k;if(_962){for(k in i){_962[k]=i[k];}}},this);this._loadChildren();},setStore:function(_963,_964,_965){var _966=this.store;_965=_965||{};if(_966!==_963){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_963.get){lang.mixin(_963,{_oldAPI:true,get:function(id){var _967=new _952();this.fetchItemByIdentity({identity:id,onItem:function(_968){_967.resolve(_968);},onError:function(_969){_967.reject(_969);}});return _967.promise;},query:function(_96a,_96b){var _96c=new _952(function(){if(_96d.abort){_96d.abort();}});_96c.total=new _952();var _96d=this.fetch(lang.mixin({query:_96a,onBegin:function(_96e){_96c.total.resolve(_96e);},onComplete:function(_96f){_96c.resolve(_96f);},onError:function(_970){_96c.reject(_970);}},_96b));return new _959(_96c);}});if(_963.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_953.after(_963,"onNew",lang.hitch(this,"_onNewItem"),true),_953.after(_963,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_953.after(_963,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_963);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(_965.query){this._set("query",_965.query);this._set("queryOptions",_965.queryOptions);}if(_963){this._loadingStore=true;this.onLoadDeferred=new _952();this._queryRes=_963.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_971){if(this.sortByLabel&&!_965.sort&&_971.length){if(_971[0].getValue){_971.sort(_954.createSortFunction([{attribute:_963.getLabelAttributes(_971[0])[0]}],_963));}else{var _972=this.labelAttr;_971.sort(function(a,b){return a[_972]>b[_972]?1:b[_972]>a[_972]?-1:0;});}}if(_965.onFetch){_971=_965.onFetch.call(this,_971,_965);}_951.forEach(_971,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._queryRes.observe(lang.hitch(this,function(_973,_974,_975){if(_974==_975){this._onSetItem(_973);}else{if(_974!=-1){this._onDeleteItem(_973);}if(_975!=-1){this._onNewItem(_973);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_964);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_971);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _966;},_setValueAttr:function(_976,_977){if(!this._onChangeActive){_977=null;}if(this._loadingStore){this._pendingValue=_976;return;}var opts=this.getOptions()||[];if(!lang.isArray(_976)){_976=[_976];}_951.forEach(_976,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_976[idx]=_951.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_976=_951.filter(_976,function(i){return i&&i.value;});if(!this.multiple&&(!_976[0]||!_976[0].value)&&opts.length){_976[0]=opts[0];}_951.forEach(opts,function(i){i.selected=_951.some(_976,function(v){return v.value===i.value;});});var val=_951.map(_976,function(i){return i.value;}),disp=_951.map(_976,function(i){return i.label;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_977]);this._updateSelection();},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_951.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}_951.forEach(this._getChildren(),function(_978){_978.destroyRecursive();});_951.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!lang.isArray(val)){val=[val];}if(val&&val[0]){_951.forEach(this._getChildren(),function(_979){var _97a=_951.some(val,function(v){return _979.option&&(v===_979.option.value);});_956.toggle(_979.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_97a);_979.domNode.setAttribute("aria-selected",_97a?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_951.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _951.map(_951.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_97b){if(!_97b||!_97b.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _97c=this.store;this.removeOption(_97c.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _97d=this.store,_97e=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_97d.getLabel(item),_97f=(_97e?_97d.getIdentity(item):null);return {value:_97f,label:_97e,item:item};},_addOptionForItem:function(item){var _980=this.store;if(_980.isItemLoaded&&!_980.isItemLoaded(item)){_980.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _981=this._getOptionObjForItem(item);this.addOption(_981);},constructor:function(_982){this._oValue=(_982||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_958("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_957._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);this.connect(this,"onChange","_updateSelection");var _983=this.store;if(_983&&(_983.getIdentity||_983.getFeatures()["dojo.data.api.Identity"])){this.store=null;this.setStore(_983,this._oValue);}},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _95b;});},"dijit/form/Select":function(){require({cache:{"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\" data-dojo-attach-point=\"containerNode,_popupStateNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n"}});define("dijit/form/Select",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_984,_985,_986,_987,_988,_989,i18n,lang,has,_98a,_98b,Menu,_98c,_98d,_98e,_98f){var _990=_985("dijit.form._SelectMenu",Menu,{autoFocus:true,buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=this.ownerDocument.createElement("div"));n.style.cssText="overflow-x: hidden; overflow-y: scroll";if(o.parentNode){o.parentNode.replaceChild(n,o);}_987.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";o.setAttribute("role","listbox");n.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",_989.stop);},focus:function(){var _991=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_984.forEach(this.parentWidget._getChildren(),function(_992){if(_992.option&&(val===_992.option.value)){_991=true;this.focusChild(_992,false);}},this);}if(!_991){this.inherited(arguments);}},resize:function(mb){if(mb){_988.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _993=_985("dijit.form.Select",[_98a,_98b],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_98f,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new _990({id:this.id+"_menu",parentWidget:this});_987.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_994){if(!_994.value&&!_994.label){return new _98d({ownerDocument:this.ownerDocument});}else{var _995=lang.hitch(this,"_setValueAttr",_994);var item=new _98c({option:_994,label:_994.label||this.emptyLabel,onClick:_995,ownerDocument:this.ownerDocument,dir:this.dir,disabled:_994.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_996){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_996));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_997){if(_997===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_984.forEach(this._getChildren(),function(_998){_998.destroyRecursive();});var item=new _98c({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_999){this.inherited(arguments);_986.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setDisabledAttr:function(_99a){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_99b){this._set("required",_99b);this.focusNode.setAttribute("aria-required",_99b);this._refreshState();},_setOptionsAttr:function(_99c){this._isLoaded=false;this._set("options",_99c);},_setDisplay:function(_99d){var lbl=_99d||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_99e){var _99f=this.disabled||this.isValid(_99e);this._set("state",_99f?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_99f?"false":"true");var _9a0=_99f?"":this._missingMsg;if(_9a0&&this.focused&&this._hasBeenBlurred){_98e.show(_9a0,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_98e.hide(this.domNode);}this._set("message",_9a0);return _99f;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_98e.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",_989.stop);this.domNode.setAttribute("aria-expanded","false");if(has("ie")<9){this.defer(function(){try{var s=domStyle.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _9a1=this.domNode.getElementsByTagName("INPUT");if(_9a1){for(var i=0;i<_9a1.length;i++){_9a1[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setStyleAttr:function(_9a2){this.inherited(arguments);_987.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_9a3){this._loadChildren(true);this._isLoaded=true;_9a3();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},destroy:function(_9a4){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_9a4);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_98e.hide(this.domNode);this.inherited(arguments);this.validate(false);}});_993._Menu=_990;return _993;});},"dojo/store/util/QueryResults":function(){define("dojo/store/util/QueryResults",["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_9a5,lang,_9a6){var _9a7=function(_9a8){if(!_9a8){return _9a8;}if(_9a8.then){_9a8=lang.delegate(_9a8);}function _9a9(_9aa){if(!_9a8[_9aa]){_9a8[_9aa]=function(){var args=arguments;return _9a6.when(_9a8,function(_9ab){Array.prototype.unshift.call(args,_9ab);return _9a7(_9a5[_9aa].apply(_9a5,args));});};}};_9a9("forEach");_9a9("filter");_9a9("map");if(!_9a8.total){_9a8.total=_9a6.when(_9a8,function(_9ac){return _9ac.length;});}return _9a8;};lang.setObject("dojo.store.util.QueryResults",_9a7);return _9a7;});},"dijit/form/_ListBase":function(){define("dijit/form/_ListBase",["dojo/_base/declare","dojo/on","dojo/window"],function(_9ad,on,_9ae){return _9ad("dijit.form._ListBase",null,{selected:null,_listConnect:function(_9af,_9b0){var self=this;return self.own(on(self.containerNode,on.selector(function(_9b1,_9b2,_9b3){return _9b1.parentNode==_9b3;},_9af),function(evt){evt.preventDefault();self[_9b0](evt,this);}));},selectFirstNode:function(){var _9b4=this.containerNode.firstChild;while(_9b4&&_9b4.style.display=="none"){_9b4=_9b4.nextSibling;}this._setSelectedAttr(_9b4);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _9b5=this.selected;if(!_9b5){this.selectFirstNode();}else{var next=_9b5.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _9b6=this.selected;if(!_9b6){this.selectLastNode();}else{var prev=_9b6.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev);}}},_setSelectedAttr:function(node){if(this.selected!=node){var _9b7=this.selected;if(_9b7){this.onDeselect(_9b7);this.selected=null;}if(node){this.selected=node;_9ae.scrollIntoView(node);this.onSelect(node);}}else{if(node){this.onSelect(node);}}}});});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_9b8,has,_9b9,_9ba,_9bb,_9bc,_9bd,_9be){if(has("dijit-legacy-requires")){_9ba(0,function(){var _9bf=["dijit/form/_FormValueWidget"];require(_9bf);});}return _9b8("dijit.form._FormWidget",[_9bb,_9bd,_9bc,_9be],{setDisabled:function(_9c0){_9b9.deprecated("setDisabled("+_9c0+") is deprecated. Use set('disabled',"+_9c0+") instead.","","2.0");this.set("disabled",_9c0);},setValue:function(_9c1){_9b9.deprecated("dijit.form._FormWidget:setValue("+_9c1+") is deprecated. Use set('value',"+_9c1+") instead.","","2.0");this.set("value",_9c1);},getValue:function(){_9b9.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dojo/DeferredList":function(){define("dojo/DeferredList",["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_9c2,_9c3){dojo.DeferredList=function(list,_9c4,_9c5,_9c6,_9c7){var _9c8=[];_9c2.call(this);var self=this;if(list.length===0&&!_9c4){this.resolve([0,[]]);}var _9c9=0;_9c3.forEach(list,function(item,i){item.then(function(_9ca){if(_9c4){self.resolve([i,_9ca]);}else{_9cb(true,_9ca);}},function(_9cc){if(_9c5){self.reject(_9cc);}else{_9cb(false,_9cc);}if(_9c6){return null;}throw _9cc;});function _9cb(_9cd,_9ce){_9c8[i]=[_9cd,_9ce];_9c9++;if(_9c9===list.length){self.resolve(_9c8);}};});};dojo.DeferredList.prototype=new _9c2();dojo.DeferredList.prototype.gatherResults=function(_9cf){var d=new dojo.DeferredList(_9cf,false,true,false);d.addCallback(function(_9d0){var ret=[];_9c3.forEach(_9d0,function(_9d1){ret.push(_9d1[1]);});return ret;});return d;};return dojo.DeferredList;});},"dojo/dnd/common":function(){define("dojo/dnd/common",["../_base/connect","../_base/kernel","../_base/lang","../dom"],function(_9d2,_9d3,lang,dom){var _9d4=lang.getObject("dojo.dnd",true);_9d4.getCopyKeyState=_9d2.isCopyKey;_9d4._uniqueId=0;_9d4.getUniqueId=function(){var id;do{id=_9d3._scopeName+"Unique"+(++_9d4._uniqueId);}while(dom.byId(id));return id;};_9d4._empty={};_9d4.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _9d4;});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n"}});define("dijit/CheckedMenuItem",["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_9d5,_9d6,_9d7,_9d8){return _9d5("dijit.CheckedMenuItem",_9d7,{templateString:_9d8,checked:false,_setCheckedAttr:function(_9d9){_9d6.toggle(this.domNode,"dijitCheckedMenuItemChecked",_9d9);this.domNode.setAttribute("aria-checked",_9d9?"true":"false");this._set("checked",_9d9);},iconClass:"",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_9da,on,_9db,has,win,_9dc){var _9dd=new _9da();_9db(200,function(){var _9de=_9dc.getBox();_9dd._rlh=on(win.global,"resize",function(){var _9df=_9dc.getBox();if(_9de.h==_9df.h&&_9de.w==_9df.w){return;}_9de=_9df;_9dd.emit("resize");});if(has("ie")==8){var _9e0=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_9e0){_9e0=screen.deviceXDPI;_9dd.emit("resize");}},500);}});return _9dd;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_9e1,lang,_9e2,_9e3,_9e4){var _9e5={};_9e5.getViewport=function(){return _9e2.getBox();};_9e5.placeOnScreen=_9e3.at;_9e5.placeOnScreenAroundElement=function(node,_9e6,_9e7,_9e8){var _9e9;if(lang.isArray(_9e7)){_9e9=_9e7;}else{_9e9=[];for(var key in _9e7){_9e9.push({aroundCorner:key,corner:_9e7[key]});}}return _9e3.around(node,_9e6,_9e9,true,_9e8);};_9e5.placeOnScreenAroundNode=_9e5.placeOnScreenAroundElement;_9e5.placeOnScreenAroundRectangle=_9e5.placeOnScreenAroundElement;_9e5.getPopupAroundAlignment=function(_9ea,_9eb){var _9ec={};_9e1.forEach(_9ea,function(pos){var ltr=_9eb;switch(pos){case "after":_9ec[_9eb?"BR":"BL"]=_9eb?"BL":"BR";break;case "before":_9ec[_9eb?"BL":"BR"]=_9eb?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_9ec[ltr?"BL":"BR"]=ltr?"TL":"TR";_9ec[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_9ec[ltr?"TL":"TR"]=ltr?"BL":"BR";_9ec[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _9ec;};lang.mixin(_9e4,_9e5);return _9e4;});},"dijit/MenuSeparator":function(){require({cache:{"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>"}});define("dijit/MenuSeparator",["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_9ed,dom,_9ee,_9ef,_9f0,_9f1){return _9ed("dijit.MenuSeparator",[_9ee,_9ef,_9f0],{templateString:_9f1,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define("dijit/form/_ComboBoxMenu",["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_9f2,_9f3,_9f4,keys,_9f5,_9f6,_9f7,_9f8){return _9f2("dijit.form._ComboBoxMenu",[_9f5,_9f6,_9f8,_9f7],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_9f3.add(this.previousButton,"dijitMenuItemRtl");_9f3.add(this.nextButton,"dijitMenuItemRtl");}},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_9f3.add(node,"dijitMenuItemHover");},onUnhover:function(node){_9f3.remove(node,"dijitMenuItemHover");},onSelect:function(node){_9f3.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_9f3.remove(node,"dijitMenuItemSelected");},_page:function(up){var _9f9=0;var _9fa=this.domNode.scrollTop;var _9fb=_9f4.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_9f9<_9fb){var _9fc=this.getHighlightedOption();if(up){if(!_9fc.previousSibling||_9fc.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_9fc.nextSibling||_9fc.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _9fd=this.domNode.scrollTop;_9f9+=(_9fd-_9fa)*(up?-1:1);_9fa=_9fd;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","dijit/Dialog":function(){require({cache:{"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"}});define("dijit/Dialog",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","dojo/text!./templates/Dialog.html","./main","dojo/i18n!./nls/common"],function(_9fe,_9ff,_a00,_a01,_a02,dom,_a03,_a04,_a05,_a06,fx,i18n,keys,lang,on,_a07,has,_a08,_a09,_a0a,_a0b,_a0c,_a0d,_a0e,_a0f,_a10,_a11,_a12,_a13,_a14,_a15){var _a16=_a01("dijit._DialogBase",[_a0e,_a10,_a11,_a0f],{templateString:_a14,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_a0c.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},"aria-describedby":"",maxRatio:0.9,postMixInProperties:function(){var _a17=i18n.getLocalization("dijit","common");lang.mixin(this,_a17);this.inherited(arguments);},postCreate:function(){_a05.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus&&_a18.isTop(this)){this._getFocusItems(this.domNode);_a0b.focus(this._firstFocusItem);}this.inherited(arguments);},_onBlur:function(by){this.inherited(arguments);var _a19=lang.hitch(this,function(){if(this.open&&!this._destroyed&&_a18.isTop(this)){this._getFocusItems(this.domNode);_a0b.focus(this._firstFocusItem);}});if(by=="mouse"){on.once(this.ownerDocument,"mouseup",_a19);}else{_a19();}},_endDrag:function(){var _a1a=_a04.position(this.domNode),_a1b=_a08.getBox(this.ownerDocument);_a1a.y=Math.min(Math.max(_a1a.y,0),(_a1b.h-_a1a.h));_a1a.x=Math.min(Math.max(_a1a.x,0),(_a1b.w-_a1a.w));this._relativePosition=_a1a;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_a0a:_a09)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_a03.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_9ff.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),ownerDocument:this.ownerDocument};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}else{_a05.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_a04.position(this.domNode);var _a1c=_a08.getBox(this.ownerDocument);_a1c.w*=this.maxRatio;_a1c.h*=this.maxRatio;if(bb.w>=_a1c.w||bb.h>=_a1c.h){var _a1d=_a04.position(this.containerNode),w=Math.min(bb.w,_a1c.w)-(bb.w-_a1d.w),h=Math.min(bb.h,_a1c.h)-(bb.h-_a1d.h);if(this._singleChild&&this._singleChild.resize){if(typeof this._singleChildOriginalStyle=="undefined"){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;}this._singleChild.resize({w:w,h:h});}else{_a05.set(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!_a03.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_a1e=_a08.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_a04.position(node),l=Math.floor(_a1e.l+(p?p.x:(_a1e.w-bb.w)/2)),t=Math.floor(_a1e.t+(p?p.y:(_a1e.h-bb.h)/2));_a05.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.domNode);}var _a1f=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_a1f){_a0b.focus(this._lastFocusItem);}_a06.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_a1f){_a0b.focus(this._firstFocusItem);}_a06.stop(evt);}else{while(node){if(node==this.domNode||_a03.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_a06.stop(evt);}else{if(!has("opera")){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}var win=_a08.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize")));this._modalconnects.push(on(this.domNode,_a00._keypress,lang.hitch(this,"_onKey")));_a05.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _a20;this._fadeInDeferred=new _a02(lang.hitch(this,function(){_a20.stop();delete this._fadeInDeferred;}));_a20=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_a18.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_a18.isTop(this)){this._getFocusItems(this.domNode);_a0b.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _a21;this._fadeOutDeferred=new _a02(lang.hitch(this,function(){_a21.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_a21=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_a18.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},resize:function(){if(this.domNode.style.display!="none"){if(_a12._singleton){_a12._singleton.layout();}this._position();this._size();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_a18.hide(this);this.inherited(arguments);}});var _a22=_a01("dijit.Dialog",[_a13,_a16],{});_a22._DialogBase=_a16;var _a18=_a22._DialogLevelManager={_beginZIndex:950,show:function(_a23,_a24){ds[ds.length-1].focus=_a0b.curNode;var _a25=_a12._singleton;if(!_a25||_a25._destroyed){_a25=_a15._underlay=_a12._singleton=new _a12(_a24);}else{_a25.set(_a23.underlayAttrs);}var _a26=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_a22._DialogLevelManager._beginZIndex;if(ds.length==1){_a25.show();}_a05.set(_a12._singleton.domNode,"zIndex",_a26-1);_a05.set(_a23.domNode,"zIndex",_a26);ds.push({dialog:_a23,underlayAttrs:_a24,zIndex:_a26});},hide:function(_a27){if(ds[ds.length-1].dialog==_a27){ds.pop();var pd=ds[ds.length-1];if(!_a12._singleton._destroyed){if(ds.length==1){_a12._singleton.hide();}else{_a05.set(_a12._singleton.domNode,"zIndex",pd.zIndex-1);_a12._singleton.set(pd.underlayAttrs);}}if(_a27.refocus){var _a28=pd.focus;if(pd.dialog&&(!_a28||!dom.isDescendant(_a28,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_a28=pd.dialog._firstFocusItem;}if(_a28){try{_a28.focus();}catch(e){}}}}else{var idx=_9ff.indexOf(_9ff.map(ds,function(elem){return elem.dialog;}),_a27);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_a29){return ds[ds.length-1].dialog==_a29;}};var ds=_a22._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(has("dijit-legacy-requires")){_a07(0,function(){var _a2a=["dijit/TooltipDialog"];_9fe(_a2a);});}return _a22;});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_a2b,dom,lang,_a2c,win,_a2d,_a2e){var _a2f={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _a2e.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_a2d.curNode;if(win.global.getSelection){sel=win.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_a30){var _a31=win.doc,mark=_a30.mark;if(mark){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_a31.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_a31.body.createControlRange();_a2b.forEach(mark,function(n){rg.addElement(n);});}else{rg=_a31.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_a32){var node=!_a2d.curNode||(menu&&dom.isDescendant(_a2d.curNode,menu.domNode))?_a2e._prevFocus:_a2d.curNode;return {node:node,bookmark:node&&(node==_a2d.curNode)&&win.withGlobal(_a32||win.global,_a2e.getBookmark),openedForWindow:_a32};},_activeStack:[],registerIframe:function(_a33){return _a2d.registerIframe(_a33);},unregisterIframe:function(_a34){_a34&&_a34.remove();},registerWin:function(_a35,_a36){return _a2d.registerWin(_a35,_a36);},unregisterWin:function(_a37){_a37&&_a37.remove();}};_a2d.focus=function(_a38){if(!_a38){return;}var node="node" in _a38?_a38.node:_a38,_a39=_a38.bookmark,_a3a=_a38.openedForWindow,_a3b=_a39?_a39.isCollapsed:false;if(node){var _a3c=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_a3c&&_a3c.focus){try{_a3c.focus();}catch(e){}}_a2d._onFocusNode(node);}if(_a39&&win.withGlobal(_a3a||win.global,_a2e.isCollapsed)&&!_a3b){if(_a3a){_a3a.focus();}try{win.withGlobal(_a3a||win.global,_a2e.moveToBookmark,null,[_a39]);}catch(e2){}}};_a2d.watch("curNode",function(name,_a3d,_a3e){_a2e._curFocus=_a3e;_a2e._prevFocus=_a3d;if(_a3e){_a2c.publish("focusNode",_a3e);}});_a2d.watch("activeStack",function(name,_a3f,_a40){_a2e._activeStack=_a40;});_a2d.on("widget-blur",function(_a41,by){_a2c.publish("widgetBlur",_a41,by);});_a2d.on("widget-focus",function(_a42,by){_a2c.publish("widgetFocus",_a42,by);});lang.mixin(_a2e,_a2f);return _a2e;});},"dijit/tree/dndSource":function(){define("dijit/tree/dndSource",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_a43,_a44,_a45,_a46,_a47,lang,on,_a48,_a49,_a4a,_a4b){var _a4c=_a45("dijit.tree.dndSource",_a4b,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_a4d){if(!_a4d){_a4d={};}lang.mixin(this,_a4d);var type=_a4d.accept instanceof Array?_a4d.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i<type.length;++i){this.accept[type[i]]=1;}}this.isDragging=false;this.mouseDown=false;this.targetAnchor=null;this.targetBox=null;this.dropPosition="";this._lastX=0;this._lastY=0;this.sourceState="";if(this.isSource){_a46.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_a46.add(this.node,"dojoDndTarget");}this.topics=[_a49.subscribe("/dnd/source/over",lang.hitch(this,"onDndSourceOver")),_a49.subscribe("/dnd/start",lang.hitch(this,"onDndStart")),_a49.subscribe("/dnd/drop",lang.hitch(this,"onDndDrop")),_a49.subscribe("/dnd/cancel",lang.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_a4e){return this.copyOnly||_a4e;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_a4f){var m=_a4a.manager(),_a50=this.targetAnchor,_a51=this.current,_a52=this.dropPosition;var _a53="Over";if(_a51&&this.betweenThreshold>0){if(!this.targetBox||_a50!=_a51){this.targetBox=_a47.position(_a51.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_a53="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_a53="After";}}}if(_a4f||_a51!=_a50||_a53!=_a52){if(_a50){this._removeItemClass(_a50.rowNode,_a52);}if(_a51){this._addItemClass(_a51.rowNode,_a53);}if(!_a51){m.canDrop(false);}else{if(_a51==this.tree.rootNode&&_a53!="Over"){m.canDrop(false);}else{var _a54=false;if(m.source==this){for(var _a55 in this.selection){var _a56=this.selection[_a55];if(_a56.item===_a51.item){_a54=true;break;}}}if(_a54){m.canDrop(false);}else{if(this.checkItemAcceptance(_a51.rowNode,m.source,_a53.toLowerCase())&&!this._isParentChildDrop(m.source,_a51.rowNode)){m.canDrop(true);}else{m.canDrop(false);}}}}this.targetAnchor=_a51;this.dropPosition=_a53;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_a4a.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _a57=this.getSelectedTreeNodes();if(_a57.length){if(_a57.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_a57[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_a57=r;}_a57=_a43.map(_a57,function(n){return n.domNode;});m.startDrag(this,_a57,this.copyState(_a44.isCopyKey(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_a58){if(this!=_a58){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_a4a.manager();m.canDrop(false);}}},onDndStart:function(_a59,_a5a,copy){if(this.isSource){this._changeState("Source",this==_a59?(copy?"Copied":"Moved"):"");}var _a5b=this.checkAcceptance(_a59,_a5a);this._changeState("Target",_a5b?"":"Disabled");if(this==_a59){_a4a.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_a5c){return _a43.map(_a5c,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_a5d,_a5e,copy){if(this.containerState=="Over"){var tree=this.tree,_a5f=tree.model,_a60=this.targetAnchor;this.isDragging=false;var _a61;var _a62;var _a63;_a61=(_a60&&_a60.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_a61=(_a60.getParent()&&_a60.getParent().item)||tree.item;_a62=_a60.getIndexInParent();if(this.dropPosition=="After"){_a62=_a60.getIndexInParent()+1;_a63=_a60.getNextSibling()&&_a60.getNextSibling().item;}else{_a63=_a60.item;}}else{_a61=(_a60&&_a60.item)||tree.item;}var _a64;_a43.forEach(_a5e,function(node,idx){var _a65=_a5d.getItem(node.id);if(_a43.indexOf(_a65.type,"treeNode")!=-1){var _a66=_a65.data,_a67=_a66.item,_a68=_a66.getParent().item;}if(_a5d==this){if(typeof _a62=="number"){if(_a61==_a68&&_a66.getIndexInParent()<_a62){_a62-=1;}}_a5f.pasteItem(_a67,_a68,_a61,copy,_a62,_a63);}else{if(_a5f.isItem(_a67)){_a5f.pasteItem(_a67,_a68,_a61,copy,_a62,_a63);}else{if(!_a64){_a64=this.itemCreator(_a5e,_a60.rowNode,_a5d);}_a5f.newItem(_a64[idx],_a61,_a62,_a63);}}},this);this.tree._expandNode(_a60);}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_a4a.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_a4a.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_a69,_a6a){if(!_a69.tree||_a69.tree!=this.tree){return false;}var root=_a69.tree.domNode;var ids=_a69.selection;var node=_a6a.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _a4c;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_a6b,_a6c,_a6d,dom,_a6e,_a6f,has,_a70){var _a71=(_a70._isElementShown=function(elem){var s=_a6f.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_a6e.get(elem,"type")!="hidden");});_a70.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _a6e.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _a72=elem.contentDocument;if("designMode" in _a72&&_a72.designMode=="on"){return true;}body=_a72.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}};var _a73=(_a70.isTabNavigable=function(elem){if(_a6e.get(elem,"disabled")){return false;}else{if(_a6e.has(elem,"tabIndex")){return _a6e.get(elem,"tabIndex")>=0;}else{return _a70.hasDefaultTabStop(elem);}}});_a70._getTabNavigable=function(root){var _a74,last,_a75,_a76,_a77,_a78,_a79={};function _a7a(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _a7b=function(_a7c){for(var _a7d=_a7c.firstChild;_a7d;_a7d=_a7d.nextSibling){if(_a7d.nodeType!=1||(has("ie")<=9&&_a7d.scopeName!=="HTML")||!_a71(_a7d)){continue;}if(_a73(_a7d)){var _a7e=+_a6e.get(_a7d,"tabIndex");if(!_a6e.has(_a7d,"tabIndex")||_a7e==0){if(!_a74){_a74=_a7d;}last=_a7d;}else{if(_a7e>0){if(!_a75||_a7e<_a76){_a76=_a7e;_a75=_a7d;}if(!_a77||_a7e>=_a78){_a78=_a7e;_a77=_a7d;}}}var rn=_a7a(_a7d);if(_a6e.get(_a7d,"checked")&&rn){_a79[rn]=_a7d;}}if(_a7d.nodeName.toUpperCase()!="SELECT"){_a7b(_a7d);}}};if(_a71(root)){_a7b(root);}function rs(node){return _a79[_a7a(node)]||node;};return {first:rs(_a74),last:rs(last),lowest:rs(_a75),highest:rs(_a77)};};_a70.getFirstInTabbingOrder=function(root,doc){var _a7f=_a70._getTabNavigable(dom.byId(root,doc));return _a7f.lowest?_a7f.lowest:_a7f.first;};_a70.getLastInTabbingOrder=function(root,doc){var _a80=_a70._getTabNavigable(dom.byId(root,doc));return _a80.last?_a80.last:_a80.highest;};return {hasDefaultTabStop:_a70.hasDefaultTabStop,isTabNavigable:_a70.isTabNavigable,_getTabNavigable:_a70._getTabNavigable,getFirstInTabbingOrder:_a70.getFirstInTabbingOrder,getLastInTabbingOrder:_a70.getLastInTabbingOrder};});},"dijit/form/_ToggleButtonMixin":function(){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_a81,_a82){return _a81("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _a83=this.checked;this._set("checked",!_a83);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_a83);return ret;},_setCheckedAttr:function(_a84,_a85){this._set("checked",_a84);var node=this.focusNode||this.domNode;_a82.set(node,"checked",!!_a84);if(_a84){node.setAttribute("checked","");}else{node.removeAttribute("checked");}node.setAttribute(this._aria_attr,String(_a84));this._handleOnChange(_a84,_a85);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_a86,_a87,_a88,_a89,has,_a8a,lang,_a8b,_a8c,_a8d,_a8e,_a8f,_a90){function _a91(){};function _a92(_a93){return function(obj,_a94,_a95,_a96){if(obj&&typeof _a94=="string"&&obj[_a94]==_a91){return obj.on(_a94.substring(2).toLowerCase(),lang.hitch(_a95,_a96));}return _a93.apply(_a88,arguments);};};_a86.around(_a88,"connect",_a92);if(_a8a.connect){_a86.around(_a8a,"connect",_a92);}var _a97=_a89("dijit._Widget",[_a8e,_a8f,_a90],{onClick:_a91,onDblClick:_a91,onKeyDown:_a91,onKeyPress:_a91,onKeyUp:_a91,onMouseDown:_a91,onMouseMove:_a91,onMouseOut:_a91,onMouseOver:_a91,onMouseLeave:_a91,onMouseEnter:_a91,onMouseUp:_a91,constructor:function(_a98){this._toConnect={};for(var name in _a98){if(this[name]===_a91){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_a98[name];delete _a98[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_a91){return _a88.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_a99){_a8a.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_a99);},attr:function(name,_a9a){if(_a87.isDebug){var _a9b=arguments.callee._ach||(arguments.callee._ach={}),_a9c=(arguments.callee.caller||"unknown caller").toString();if(!_a9b[_a9c]){_a8a.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_a9c,"","2.0");_a9b[_a9c]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_a8a.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_a8b("[widgetId]",this.containerNode).map(_a8d.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_a8c(0,function(){var _a9d=["dijit/_base"];require(_a9d);});}return _a97;});},"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./ready","./_base/window"],function(dojo,_a9e,dom,on,has,_a9f,_aa0,win){var _aa1=has("touch");var ios4=false;if(has("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));ios4=os<5;}var _aa2,_aa3;if(_aa1){_aa0(function(){_aa3=win.body();win.doc.addEventListener("touchstart",function(evt){var _aa4=_aa3;_aa3=evt.target;on.emit(_aa4,"dojotouchout",{target:_aa4,relatedTarget:_aa3,bubbles:true});on.emit(_aa3,"dojotouchover",{target:_aa3,relatedTarget:_aa4,bubbles:true});},true);on(win.doc,"touchmove",function(evt){var _aa5=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_aa5&&_aa3!==_aa5){on.emit(_aa3,"dojotouchout",{target:_aa3,relatedTarget:_aa5,bubbles:true});on.emit(_aa5,"dojotouchover",{target:_aa5,relatedTarget:_aa3,bubbles:true});_aa3=_aa5;}});});_aa2=function(node,_aa6){return on(win.doc,"touchmove",function(evt){if(node===win.doc||dom.isDescendant(_aa3,node)){evt.target=_aa3;_aa6.call(this,evt);}});};}function _aa7(type){return function(node,_aa8){return on(node,type,_aa8);};};var _aa9={press:_aa7(_aa1?"touchstart":"mousedown"),move:_aa1?_aa2:_aa7("mousemove"),release:_aa7(_aa1?"touchend":"mouseup"),cancel:_aa1?_aa7("touchcancel"):_a9f.leave,over:_aa7(_aa1?"dojotouchover":"mouseover"),out:_aa7(_aa1?"dojotouchout":"mouseout"),enter:_a9f._eventHandler(_aa1?"dojotouchover":"mouseover"),leave:_a9f._eventHandler(_aa1?"dojotouchout":"mouseout")};1&&(dojo.touch=_aa9);return _aa9;});},"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\" data-dojo-attach-point=\"containerNode,_popupStateNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","dojo/fx":function(){define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_aaa,dojo,_aab,_aac,_aad,dom,_aae,geom,_aaf,_ab0){if(!dojo.isAsync){_aaf(0,function(){var _ab1=["./fx/Toggler"];_ab0(_ab1);});}var _ab2=dojo.fx={};var _ab3={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _ab4=function(_ab5){this._index=-1;this._animations=_ab5||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_aab.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_ab4.prototype=new _aaa();lang.extend(_ab4,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_aac.disconnect(this._onAnimateCtx);_aac.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_aac.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_aac.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_ab6,_ab7){if(!this._current){this._current=this._animations[this._index=0];}if(!_ab7&&this._current.status()=="playing"){return this;}var _ab8=_aac.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_ab9=_aac.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_aba=_aac.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_aac.disconnect(_ab8);_aac.disconnect(_ab9);_aac.disconnect(_aba);});if(this._onAnimateCtx){_aac.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_aac.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_aac.disconnect(this._onEndCtx);}this._onEndCtx=_aac.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_aac.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_aac.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_abb,_abc){this.pause();var _abd=this.duration*_abb;this._current=null;_aab.some(this._animations,function(a){if(a.duration<=_abd){this._current=a;return true;}_abd-=a.duration;return false;});if(this._current){this._current.gotoPercent(_abd/this._current.duration,_abc);}return this;},stop:function(_abe){if(this._current){if(_abe){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_aac.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_aac.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_aac.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_aac.disconnect(this._onEndCtx);}}});lang.extend(_ab4,_ab3);_ab2.chain=function(_abf){return new _ab4(_abf);};var _ac0=function(_ac1){this._animations=_ac1||[];this._connects=[];this._finished=0;this.duration=0;_aab.forEach(_ac1,function(a){var _ac2=a.duration;if(a.delay){_ac2+=a.delay;}if(this.duration<_ac2){this.duration=_ac2;}this._connects.push(_aac.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _aad.Animation({curve:[0,1],duration:this.duration});var self=this;_aab.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_aac.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_ac0,{_doAction:function(_ac3,args){_aab.forEach(this._animations,function(a){a[_ac3].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_ac4,args){var t=this._pseudoAnimation;t[_ac4].apply(t,args);},play:function(_ac5,_ac6){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_ac7,_ac8){var ms=this.duration*_ac7;_aab.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_ac8);});this._call("gotoPercent",arguments);return this;},stop:function(_ac9){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_aab.forEach(this._connects,_aac.disconnect);}});lang.extend(_ac0,_ab3);_ab2.combine=function(_aca){return new _ac0(_aca);};_ab2.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_aad.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _acb=_aae.get(node,"height");return Math.max(_acb,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_aac.connect(anim,"onStop",fini);_aac.connect(anim,"onEnd",fini);return anim;};_ab2.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_aad.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_aac.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_aac.connect(anim,"onStop",fini);_aac.connect(anim,"onEnd",fini);return anim;};_ab2.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_aae.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_aad.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_aac.connect(anim,"beforeBegin",anim,init);return anim;};return _ab2;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_acc,a11y){return _acc("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _acd=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_acd.lowest||_acd.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_acd.last||_acd.highest||this._firstFocusItem;}});});},"dijit/Tree":function(){require({cache:{"url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow dijitInline\" role=\"presentation\"\n\t\t><div data-dojo-attach-point=\"indentNode\" class=\"dijitInline\"></div\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\" tabindex=\"-1\" aria-selected=\"false\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n"}});define("dijit/Tree",["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/errors/create","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector"],function(_ace,_acf,_ad0,_ad1,_ad2,_ad3,dom,_ad4,_ad5,_ad6,_ad7,_ad8,_ad9,_ada,keys,lang,on,_adb,_adc,when,_add,_ade,_adf,_ae0,_ae1,_ae2,_ae3,_ae4,_ae5,_ae6,_ae7,_ae8,_ae9){_ad2=_ad1(_ad2,{addCallback:function(_aea){this.then(_aea);},addErrback:function(_aeb){this.then(null,_aeb);}});var _aec=_ad1("dijit._TreeNode",[_ae0,_ae1,_ae2,_ae3,_ae4],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_ae5,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_aed){var _aee=(Math.max(_aed,0)*this.tree._nodePixelIndent)+"px";_ad6.set(this.domNode,"backgroundPosition",_aee+" 0px");_ad6.set(this.indentNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_aee);_ace.forEach(this.getChildren(),function(_aef){_aef.set("indent",_aed+1);});this._set("indent",_aed);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_af0=tree.model;if(tree._v10Compat&&item===_af0.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_af1,_af2){var _af3="_"+_af1+"Class";var _af4=_af1+"Node";var _af5=this[_af3];this[_af3]=this.tree["get"+_af2+"Class"](item,this.isExpanded);_ad4.replace(this[_af4],this[_af3]||"",_af5||"");_ad6.set(this[_af4],this.tree["get"+_af2+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _af6=this.getParent();if(!_af6||!_af6.rowNode||_af6.rowNode.style.display=="none"){_ad4.add(this.domNode,"dijitTreeIsRoot");}else{_ad4.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_af7){var _af8=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_af9=["*","-","+","*"],idx=_af7?0:(this.isExpandable?(this.isExpanded?1:2):3);_ad4.replace(this.expandoNode,_af8[idx],_af8);this.expandoNodeText.innerHTML=_af9[idx];},expand:function(){if(this._expandDeferred){return this._expandDeferred;}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_ad4.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_afa=_ad9.wipeIn({node:this.containerNode,duration:_adf.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._expandDeferred=new _ad2(function(){_afa.stop();}));_afa.play();return def;},collapse:function(){if(this._collapseDeferred){return this._collapseDeferred;}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_ad4.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var def,_afb=_ad9.wipeOut({node:this.containerNode,duration:_adf.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._collapseDeferred=new _ad2(function(){_afb.stop();}));_afb.play();return def;},indent:0,setChildItems:function(_afc){var tree=this.tree,_afd=tree.model,defs=[];var _afe=this.getChildren();_ace.forEach(_afe,function(_aff){_ae2.prototype.removeChild.call(this,_aff);},this);this.defer(function(){_ace.forEach(_afe,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);var id=_afd.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _b00=_ace.indexOf(ary,node);if(_b00!=-1){ary.splice(_b00,1);}}node.destroyRecursive();}});});this.state="LOADED";if(_afc&&_afc.length>0){this.isExpandable=true;_ace.forEach(_afc,function(item){var id=_afd.getIdentity(item),_b01=tree._itemNodesMap[id],node;if(_b01){for(var i=0;i<_b01.length;i++){if(_b01[i]&&!_b01[i].getParent()){node=_b01[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_afd.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_b01){_b01.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_ace.forEach(this.getChildren(),function(_b02){_b02._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0];if(fc){fc.setFocusable(true);tree.lastFocused=fc;}else{tree.domNode.setAttribute("tabIndex","0");}}var def=new _ad3(defs);this.tree._startPaint(def);return def;},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _b03=this.getChildren();if(_b03.length==0){this.isExpandable=false;this.collapse();}_ace.forEach(_b03,function(_b04){_b04._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_b05){this.labelNode.setAttribute("aria-selected",_b05?"true":"false");_ad4.toggle(this.rowNode,"dijitTreeRowSelected",_b05);},setFocusable:function(_b06){this.labelNode.setAttribute("tabIndex",_b06?"0":"-1");},_setTextDirAttr:function(_b07){if(_b07&&((this.textDir!=_b07)||!this._created)){this._set("textDir",_b07);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_ace.forEach(this.getChildren(),function(_b08){_b08.set("textDir",_b07);},this);}}});var Tree=_ad1("dijit.Tree",[_ae0,_ae1],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_ae6,persist:true,autoExpand:false,dndController:_ae9,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_b09,_b0a){_adb.publish(this.id,lang.mixin({tree:this,event:_b09},_b0a||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _ad2();this.pendingCommandsDeferred=this.expandChildrenDeferred;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.domNode,on.selector(".dijitTreeNode",_adc.enter),function(evt){self._onNodeMouseEnter(_ade.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode",_adc.leave),function(evt){self._onNodeMouseLeave(_ade.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","click"),function(evt){self._onClick(_ade.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","dblclick"),function(evt){self._onDblClick(_ade.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keypress"),function(evt){self._onKeyPress(_ade.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keydown"),function(evt){self._onKeyDown(_ade.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","focusin"),function(evt){self._onNodeFocus(_ade.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _b0b={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_b0b[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_b0b);}this._load();if(!this.params.path&&!this.params.paths&&this.persist){this.set("paths",this.dndController._getSavedPaths());}this.onLoadDeferred=this.pendingCommandsDeferred;this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_ada.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _b0c={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_b0c.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_b0c.getChildren=lang.hitch(this,function(item,_b0d,_b0e){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_b0d,_b0e);});}this.model=new _ae8(_b0c);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);}this.domNode.appendChild(rn.domNode);var _b0f=this.model.getIdentity(item);if(this._itemNodesMap[_b0f]){this._itemNodesMap[_b0f].push(rn);}else{this._itemNodesMap[_b0f]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){this.expandChildrenDeferred.resolve(true);}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _b10=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_b10]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_b11){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(lang.hitch(this,function(){var _b12=_ace.map(_b11,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _b13=[];_ace.forEach(_b12,function(id){_b13=_b13.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_b13);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_b14){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(function(){return new _ad3(_ace.map(_b14,function(path){var d=new _ad2();path=_ace.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){_b15(path,[tree.rootNode],d);}else{d.reject(new Tree.PathError("Empty path"));}return d;}));}).then(_b16);function _b15(path,_b17,def){var _b18=path.shift();var _b19=_ace.filter(_b17,function(node){return node.getIdentity()==_b18;})[0];if(!!_b19){if(path.length){tree._expandNode(_b19).then(function(){_b15(path,_b19.getChildren(),def);});}else{def.resolve(_b19);}}else{def.reject(new Tree.PathError("Could not expand path at "+_b18));}};function _b16(_b1a){tree.set("selectedNodes",_ace.map(_ace.filter(_b1a,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_b1b){this.dndController.setSelection(_b1b);},expandAll:function(){var _b1c=this;function _b1d(node){var def=new dojo.Deferred();_b1c._expandNode(node).then(function(){var _b1e=_ace.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_ace.map(_b1e,_b1d);new dojo.DeferredList(defs).then(function(){def.resolve(true);});});return def;};return _b1d(this.rootNode);},collapseAll:function(){var _b1f=this;function _b20(node){var def=new dojo.Deferred();def.label="collapseAllDeferred";var _b21=_ace.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_ace.map(_b21,_b20);new dojo.DeferredList(defs).then(function(){if(!node.isExpanded||(node==_b1f.rootNode&&!_b1f.showRoot)){def.resolve(true);}else{_b1f._collapseNode(node).then(function(){def.resolve(true);});}});return def;};return _b20(this.rootNode);},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_b22){return (!item||this.model.mayHaveChildren(item))?(_b22?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(_b23,e){if(e.charCode<=32){return;}if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){var c=String.fromCharCode(e.charCode);this._onLetterKeyNav({node:_b23,key:c.toLowerCase()});_ad7.stop(e);}},_onKeyDown:function(_b24,e){var key=e.keyCode;var map=this._keyHandlerMap;if(!map){map={};map[keys.ENTER]=map[keys.SPACE]=map[" "]="_onEnterKey";map[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]="_onLeftArrow";map[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]="_onRightArrow";map[keys.UP_ARROW]="_onUpArrow";map[keys.DOWN_ARROW]="_onDownArrow";map[keys.HOME]="_onHomeKey";map[keys.END]="_onEndKey";this._keyHandlerMap=map;}if(this._keyHandlerMap[key]){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}this[this._keyHandlerMap[key]]({node:_b24,item:_b24.item,evt:e});_ad7.stop(e);}},_onEnterKey:function(_b25){this._publish("execute",{item:_b25.item,node:_b25.node});this.dndController.userSelect(_b25.node,_acf.isCopyKey(_b25.evt),_b25.evt.shiftKey);this.onClick(_b25.item,_b25.node,_b25.evt);},_onDownArrow:function(_b26){var node=this._getNextNode(_b26.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_b27){var node=_b27.node;var _b28=node.getPreviousSibling();if(_b28){node=_b28;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _b29=node.getChildren();node=_b29[_b29.length-1];}}else{var _b2a=node.getParent();if(!(!this.showRoot&&_b2a===this.rootNode)){node=_b2a;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_b2b){var node=_b2b.node;if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(_b2c){var node=_b2c.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _b2d=node.getParent();if(_b2d&&_b2d.isTreeNode&&!(!this.showRoot&&_b2d===this.rootNode)){this.focusNode(_b2d);}}},_onHomeKey:function(){var node=this._getRootOrFirstNode();if(node){this.focusNode(node);}},_onEndKey:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();node=c[c.length-1];}if(node&&node.isTreeNode){this.focusNode(node);}},multiCharSearchDuration:250,_onLetterKeyNav:function(_b2e){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_b2e.key;cs.timer.remove();}else{cs=this._curSearch={pattern:_b2e.key,startNode:_b2e.node};}cs.timer=this.defer(function(){delete this._curSearch;},this.multiCharSearchDuration);var node=cs.startNode;do{node=this._getNextNode(node);if(!node){node=this._getRootOrFirstNode();}}while(node!==cs.startNode&&(node.label.toLowerCase().substr(0,cs.pattern.length)!=cs.pattern));if(node&&node.isTreeNode){if(node!==cs.startNode){this.focusNode(node);}}},isExpandoNode:function(node,_b2f){return dom.isDescendant(node,_b2f.expandoNode)||dom.isDescendant(node,_b2f.expandoNodeText);},_onClick:function(_b30,e){var _b31=e.target,_b32=this.isExpandoNode(_b31,_b30);if((this.openOnClick&&_b30.isExpandable)||_b32){if(_b30.isExpandable){this._onExpandoClick({node:_b30});}}else{this._publish("execute",{item:_b30.item,node:_b30,evt:e});this.onClick(_b30.item,_b30,e);this.focusNode(_b30);}_ad7.stop(e);},_onDblClick:function(_b33,e){var _b34=e.target,_b35=(_b34==_b33.expandoNode||_b34==_b33.expandoNodeText);if((this.openOnDblClick&&_b33.isExpandable)||_b35){if(_b33.isExpandable){this._onExpandoClick({node:_b33});}}else{this._publish("execute",{item:_b33.item,node:_b33,evt:e});this.onDblClick(_b33.item,_b33,e);this.focusNode(_b33);}_ad7.stop(e);},_onExpandoClick:function(_b36){var node=_b36.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _b37=node.getNextSibling();if(_b37){return _b37;}node=node.getParent();}return null;}},_getRootOrFirstNode:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="LOADING"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){var def=new _ad2();if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _b38=this.model,item=node.item,_b39=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _ad2();_b38.getChildren(item,function(_b3a){node.unmarkProcessing();node.setChildItems(_b3a).then(function(){node._loadDeferred.resolve(_b3a);});},function(err){console.error(_b39,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}node._loadDeferred.then(lang.hitch(this,function(){node.expand().then(function(){def.resolve(true);});this.onOpen(node.item,node);this._state(node,true);}));this._startPaint(def);return def;},focusNode:function(node){_add.focus(node.labelNode);},_onNodeFocus:function(node){if(node&&node!=this.lastFocused){if(this.lastFocused&&!this.lastFocused._destroyed){this.lastFocused.setFocusable(false);}node.setFocusable(true);this.lastFocused=node;}},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _b3b=this.model,_b3c=_b3b.getIdentity(item),_b3d=this._itemNodesMap[_b3c];if(_b3d){var _b3e=this.getLabel(item),_b3f=this.getTooltip(item);_ace.forEach(_b3d,function(node){node.set({item:item,label:_b3e,tooltip:_b3f});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_b40,_b41){var _b42=this.model,_b43=_b42.getIdentity(_b40),_b44=this._itemNodesMap[_b43];if(_b44){_ace.forEach(_b44,function(_b45){_b45.setChildItems(_b41);});}},_onItemDelete:function(item){var _b46=this.model,_b47=_b46.getIdentity(item),_b48=this._itemNodesMap[_b47];if(_b48){_ace.forEach(_b48,function(node){this.dndController.removeTreeNode(node);var _b49=node.getParent();if(_b49){_b49.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_b47];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_ad0(this.cookieName);if(oreo){_ace.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_b4a){if(!this.persist){return false;}var path=_ace.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_b4a){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_ad0(this.cookieName,ary.join(","),{expires:365});}}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_b4b){if(_b4b){_ad5.setMarginBox(this.domNode,_b4b);}this._nodePixelIndent=_ad5.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var _b4c=0,_b4d=[];function _b4e(_b4f){var node=_b4f.rowNode;node.style.width="auto";_b4c=Math.max(_b4c,node.clientWidth);_b4d.push(node);if(_b4f.isExpanded){_ace.forEach(_b4f.getChildren(),_b4e);}};_b4e(this.rootNode);_b4c=Math.max(_b4c,_ad5.getContentBox(this.domNode).w);_ace.forEach(_b4d,function(node){node.style.width=_b4c+"px";});},_createTreeNode:function(args){return new _aec(args);},_setTextDirAttr:function(_b50){if(_b50&&this.textDir!=_b50){this._set("textDir",_b50);this.rootNode.set("textDir",_b50);}}});Tree.PathError=_ad8("TreePathError");Tree._TreeNode=_aec;return Tree;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_b51,has,_b52,_b53){return _b51("dijit.form._FormValueWidget",[_b52,_b53],{_layoutHackIE7:function(){if(has("ie")==7){var _b54=this.domNode;var _b55=_b54.parentNode;var _b56=_b54.firstChild||_b54;var _b57=_b56.style.filter;var _b58=this;while(_b55&&_b55.clientHeight==0){(function ping(){var _b59=_b58.connect(_b55,"onscroll",function(){_b58.disconnect(_b59);_b56.style.filter=(new Date()).getMilliseconds();_b58.defer(function(){_b56.style.filter=_b57;});});})();_b55=_b55.parentNode;}}}});});},"*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);