tt-rss/lib/dojo/tt-rss-layer.js
2013-03-18 10:26:26 +04:00

15 lines
No EOL
414 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:{"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;});},"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/_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(_2ca,_2cb,_2cc,_2cd,keys,lang,_2ce,_2cf,has,_2d0,_2d1,_2d2,_2d3,_2d4){return _2cb("dijit.form._AutoCompleterMixin",_2d4,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_2d5){var pos=0;if(typeof (_2d5.selectionStart)=="number"){pos=_2d5.selectionStart;}else{if(has("ie")){var tr=_2d5.ownerDocument.selection.createRange().duplicate();var ntr=_2d5.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(_2d6,_2d7){_2d7=parseInt(_2d7);_2d3.selectInputText(_2d6,_2d7,_2d7);},_setDisabledAttr:function(_2d8){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_2d8?"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 _2d9=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_2d9=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(_2d9);}_2cd.stop(evt);break;case keys.ENTER:if(_2d9){if(_2d9==pw.nextButton){this._nextSearch(1);_2cd.stop(evt);break;}else{if(_2d9==pw.previousButton){this._nextSearch(-1);_2cd.stop(evt);break;}}_2cd.stop(evt);}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _2da=this.get("displayedValue");if(pw&&(_2da==pw._messages["previousMessage"]||_2da==pw._messages["nextMessage"])){break;}if(_2d9){this._selectOption(_2d9);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_2d3.selectInputText(fn,fn.value.length);var _2db=this.ignoreCase?"toLowerCase":"substr";if(text[_2db](0).indexOf(this.focusNode.value[_2db](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_2d3.selectInputText(fn,cpos);}}else{fn.value=text;_2d3.selectInputText(fn);}},_openResultList:function(_2dc,_2dd,_2de){var _2df=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_2dc.length&&_2de.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_2e0){_2dc.nextPage(_2e0!==-1);this.focus();});this.dropDown.createOptions(_2dc,_2de,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _2de){if(_2de.direction){this.dropDown.highlightFirstOption();}else{if(!_2de.direction){this.dropDown.highlightLastOption();}}if(_2df){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_2dd[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 _2e1=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_2e1==pw._messages["previousMessage"]||_2e1==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_2e1);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_2e2,_2e3){var _2e4="";if(item){if(!_2e3){_2e3=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_2e4=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_2e3;}this.set("value",_2e4,_2e2,_2e3,item);},_announceOption:function(node){if(!node){return;}var _2e5;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_2e5=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_2e5=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_2e5);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_2cc.get(node,"id"));this._autoCompleteText(_2e5);},_selectOption:function(_2e6){this.closeDropDown();if(_2e6){this._announceOption(_2e6);}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 _2e7=this.id+"_popup",_2e8=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _2e8({onChange:lang.hitch(this,this._selectOption),id:_2e7,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_2e7);}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _2e9=this.srcNodeRef;this.store=new _2d1({},_2e9);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _2ea=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_2ea):item[_2ea];}}}},postCreate:function(){var _2eb=_2ce("label[for=\""+this.id+"\"]");if(_2eb.length){if(!_2eb[0].id){_2eb[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_2eb[0].id);}this.inherited(arguments);this.connect(this,"onSearch","_openResultList");},_getMenuLabelFromItem:function(item){var _2ec=this.labelFunc(item,this.store),_2ed=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_2ec=this.doHighlight(_2ec,this._lastInput);_2ed="html";}return {html:_2ed=="html",label:_2ec};},doHighlight:function(_2ee,find){var _2ef=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_2cf.escapeString(find);return this._escapeHtml(_2ee.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_2ef),"\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,_2f0){return (_2f0._oldAPI?_2f0.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_2f1,_2f2,_2f3,item){this._set("item",item||null);if(_2f1==null){_2f1="";}this.inherited(arguments);},_setTextDirAttr:function(_2f4){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_2f4);}}});});},"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(_2f5,_2f6,_2f7){return _2f5("dijit.form.MappedTextBox",_2f7,{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=_2f6.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(_2f8,_2f9,_2fa,lang,_2fb,_2fc,_2fd,_2fe,_2ff){return _2f8("dijit.form.ComboBoxMixin",[_2fe,_2fc],{dropDownClass:_2fd,hasDownArrow:true,templateString:_2ff,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(_300){if(!_300.get){lang.mixin(_300,{_oldAPI:true,get:function(id){var _301=new _2f9();this.fetchItemByIdentity({identity:id,onItem:function(_302){_301.resolve(_302);},onError:function(_303){_301.reject(_303);}});return _301.promise;},query:function(_304,_305){var _306=new _2f9(function(){_307.abort&&_307.abort();});_306.total=new _2f9();var _307=this.fetch(lang.mixin({query:_304,onBegin:function(_308){_306.total.resolve(_308);},onComplete:function(_309){_306.resolve(_309);},onError:function(_30a){_306.reject(_30a);}},_305));return _2fb(_306);}});}this._set("store",_300);},postMixInProperties:function(){var _30b=this.params.store||this.store;if(_30b){this._setStoreAttr(_30b);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _30c=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_2fa.deprecated(_30c+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_2fa.deprecated(_30c+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_2fa.deprecated(_30c+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_30d){new _30d({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(_30e,_30f,dom,_310,keys,lang,on,_311){var _312=_30f("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(_313,_314,_315){var _316;if(_313!==undefined){_316=this.filter(_313);if(typeof _315!="string"){if(_316!==null&&((typeof _316!="number")||!isNaN(_316))){_315=this.filter(this.format(_316,this.constraints));}else{_315="";}}}if(_315!=null&&((typeof _315)!="number"||!isNaN(_315))&&this.textbox.value!=_315){this.textbox.value=_315;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_315);}this.inherited(arguments,[_316,_314]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_317){if(_317==null){_317="";}else{if(typeof _317!="string"){_317=String(_317);}}this.textbox.value=_317;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_317);}},format:function(_318){return _318==null?"":(_318.toString?_318.toString():_318);},parse:function(_319){return _319;},_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 _31a=function(e){var _31b;if(e.type=="keydown"){_31b=e.keyCode;switch(_31b){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(_31b){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((_31b>=65&&_31b<=90)||(_31b>=48&&_31b<=57)||_31b==keys.SPACE){return;}var _31c=false;for(var i in keys){if(keys[i]===e.keyCode){_31c=true;break;}}if(!_31c){return;}}}_31b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_31b){_31b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_31b){_31b=229;}if(e.type=="keypress"){if(typeof _31b!="string"){return;}if((_31b>="a"&&_31b<="z")||(_31b>="A"&&_31b<="Z")||(_31b>="0"&&_31b<="9")||(_31b===" ")){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:_31b,_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,_31a)));},_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()){_312.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(_31d){if(!this._created||this.textDir!=_31d){this._set("textDir",_31d);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_312._setSelectionRange=_311._setSelectionRange=function(_31e,_31f,stop){if(_31e.setSelectionRange){_31e.setSelectionRange(_31f,stop);}};_312.selectInputText=_311.selectInputText=function(_320,_321,stop){_320=dom.byId(_320);if(isNaN(_321)){_321=0;}if(isNaN(stop)){stop=_320.value?_320.value.length:0;}try{_320.focus();_312._setSelectionRange(_320,_321,stop);}catch(e){}};return _312;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_322,_323,has,_324){return _322("dijit.form.SimpleTextarea",_324,{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){_323.add(this.textbox,"dijitTextAreaCols");}},filter:function(_325){if(_325){_325=_325.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _326=parseInt(this.maxLength);var _327=this.textbox.value.replace(/\r/g,"");var _328=_327.length-_326;if(_328>0){var _329=this.textbox;if(_329.selectionStart){var pos=_329.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_327.substring(0,pos-_328-cr)+_327.substring(pos-cr);_329.setSelectionRange(pos-_328,pos-_328);}else{if(this.ownerDocument.selection){_329.focus();var _32a=this.ownerDocument.selection.createRange();_32a.moveStart("character",-_328);_32a.text="";_32a.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(_32b,_32c){_32c.getDocumentWindow=function(doc){return _32b.get(doc);};});},"dojo/hccss":function(){define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_32d,_32e,_32f,_330,has,_331,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("+(_32e.blankGif||_32d.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_330.getComputedStyle(div),_332=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_332&&(_332=="none"||_332=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_331(90,function(){if(has("highcontrast")){_32f.add(win.body(),"dj_a11y");}});return has;});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_333,_334,_335){return _333("dijit.form.RadioButton",[_334,_335],{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,_336,keys,_337,has,_338,win,_339){var ret=_337("dijit._OnDijitClickMixin",null,{connect:function(obj,_33a,_33b){return this.inherited(arguments,[obj,_33a=="ondijitclick"?_339:_33a,_33b]);}});ret.a11yclick=_339;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(_33c,_33d,_33e,_33f,_340,_341,_342,_343,i18n,_344,keys,lang,has,when,fm,_345,_346,_347,_348,_349,_34a,_34b,_34c){var _34d=_33e("dijit._InlineEditor",[_345,_346,_347],{templateString:_34c,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_33d.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)||_33c(this.editor)):this.editor;var _34e=this.sourceStyle,_34f="line-height:"+_34e.lineHeight+";",_350=_342.getComputedStyle(this.domNode);_33d.forEach(["Weight","Family","Size","Style"],function(prop){var _351=_34e["font"+prop],_352=_350["font"+prop];if(_352!=_351){_34f+="font-"+prop+":"+_34e["font"+prop]+";";}},this);_33d.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_34e[prop];},this);var _353=this.inlineEditBox.width;if(_353=="100%"){_34f+="width:100%;";this.domNode.style.display="block";}else{_34f+="width:"+(_353+(Number(_353)==_353?"px":""))+";";}var _354=lang.delegate(this.inlineEditBox.editorParams,{style:_34f,dir:this.dir,lang:this.lang,textDir:this.textDir});_354["displayedValue" in Cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new Cls(_354,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_341.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){_343.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_343.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(){_34a.selectInputText(this.editWidget.focusNode);});}}}});var _355=_33e("dijit.InlineEditBox",_345,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_34b,editorWrapper:_34d,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 _356={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _356){this.connect(this.displayNode,name,_356[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;}_340.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_357){_344.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_357);},_setDisabledAttr:function(_358){this.domNode.setAttribute("aria-disabled",_358?"true":"false");if(_358){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_340.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_358);this._set("disabled",_358);},_onMouseOver:function(){if(!this.disabled){_340.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_340.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_343.stop(e);}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_33f.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _359=_341.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:_342.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_359);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_340.add(this.displayNode,"dijitOffScreen");_340.remove(ww.domNode,"dijitOffScreen");_342.set(ww.domNode,{visibility:"visible"});_33f.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(_35a){var ww=this.wrapperWidget;_342.set(ww.domNode,{visibility:"hidden"});_340.add(ww.domNode,"dijitOffScreen");_340.remove(this.displayNode,"dijitOffScreen");_33f.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_35a){fm.focus(this.displayNode);}},save:function(_35b){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _35c=ww.getValue();this.set("value",_35c);this._showText(_35b);},setValue:function(val){_344.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 _35d=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_35d||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(){_344.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_35e){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_35e);},_setTextDirAttr:function(_35f){if(!this._created||this.textDir!=_35f){this._set("textDir",_35f);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_355._InlineEditor=_34d;return _355;});},"dojo/selector/acme":function(){define("dojo/selector/acme",["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_360,lang,win){var trim=lang.trim;var each=_360.forEach;var _361=function(){return win.doc;};var _362=(_361().compatMode)=="BackCompat";var _363=">~+";var _364=false;var _365=function(){return true;};var _366=function(_367){if(_363.indexOf(_367.slice(-1))>=0){_367+=" * ";}else{_367+=" ";}var ts=function(s,e){return trim(_367.slice(s,e));};var _368=[];var _369=-1,_36a=-1,_36b=-1,_36c=-1,_36d=-1,inId=-1,_36e=-1,_36f,lc="",cc="",_370;var x=0,ql=_367.length,_371=null,_372=null;var _373=function(){if(_36e>=0){var tv=(_36e==x)?null:ts(_36e,x);_371[(_363.indexOf(tv)<0)?"tag":"oper"]=tv;_36e=-1;}};var _374=function(){if(inId>=0){_371.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _375=function(){if(_36d>=0){_371.classes.push(ts(_36d+1,x).replace(/\\/g,""));_36d=-1;}};var _376=function(){_374();_373();_375();};var _377=function(){_376();if(_36c>=0){_371.pseudos.push({name:ts(_36c+1,x)});}_371.loops=(_371.pseudos.length||_371.attrs.length||_371.classes.length);_371.oquery=_371.query=ts(_370,x);_371.otag=_371.tag=(_371["oper"])?null:(_371.tag||"*");if(_371.tag){_371.tag=_371.tag.toUpperCase();}if(_368.length&&(_368[_368.length-1].oper)){_371.infixOper=_368.pop();_371.query=_371.infixOper.query+" "+_371.query;}_368.push(_371);_371=null;};for(;lc=cc,cc=_367.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_371){_370=x;_371={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _364?this.otag:this.tag;}};_36e=x;}if(_36f){if(cc==_36f){_36f=null;}continue;}else{if(cc=="'"||cc=="\""){_36f=cc;continue;}}if(_369>=0){if(cc=="]"){if(!_372.attr){_372.attr=ts(_369+1,x);}else{_372.matchFor=ts((_36b||_369+1),x);}var cmf=_372.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_372.matchFor=cmf.slice(1,-1);}}if(_372.matchFor){_372.matchFor=_372.matchFor.replace(/\\/g,"");}_371.attrs.push(_372);_372=null;_369=_36b=-1;}else{if(cc=="="){var _378=("|~^$*".indexOf(lc)>=0)?lc:"";_372.type=_378+cc;_372.attr=ts(_369+1,x-_378.length);_36b=x+1;}}}else{if(_36a>=0){if(cc==")"){if(_36c>=0){_372.value=ts(_36a+1,x);}_36c=_36a=-1;}}else{if(cc=="#"){_376();inId=x+1;}else{if(cc=="."){_376();_36d=x;}else{if(cc==":"){_376();_36c=x;}else{if(cc=="["){_376();_369=x;_372={};}else{if(cc=="("){if(_36c>=0){_372={name:ts(_36c+1,x),value:null};_371.pseudos.push(_372);}_36a=x;}else{if((cc==" ")&&(lc!=cc)){_377();}}}}}}}}}return _368;};var _379=function(_37a,_37b){if(!_37a){return _37b;}if(!_37b){return _37a;}return function(){return _37a.apply(window,arguments)&&_37b.apply(window,arguments);};};var _37c=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _37d=function(n){return (1==n.nodeType);};var _37e="";var _37f=function(elem,attr){if(!elem){return _37e;}if(attr=="class"){return elem.className||_37e;}if(attr=="for"){return elem.htmlFor||_37e;}if(attr=="style"){return elem.style.cssText||_37e;}return (_364?elem.getAttribute(attr):elem.getAttribute(attr,2))||_37e;};var _380={"*=":function(attr,_381){return function(elem){return (_37f(elem,attr).indexOf(_381)>=0);};},"^=":function(attr,_382){return function(elem){return (_37f(elem,attr).indexOf(_382)==0);};},"$=":function(attr,_383){return function(elem){var ea=" "+_37f(elem,attr);var _384=ea.lastIndexOf(_383);return _384>-1&&(_384==(ea.length-_383.length));};},"~=":function(attr,_385){var tval=" "+_385+" ";return function(elem){var ea=" "+_37f(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_386){var _387=_386+"-";return function(elem){var ea=_37f(elem,attr);return ((ea==_386)||(ea.indexOf(_387)==0));};},"=":function(attr,_388){return function(elem){return (_37f(elem,attr)==_388);};}};var _389=(typeof _361().firstChild.nextElementSibling=="undefined");var _38a=!_389?"nextElementSibling":"nextSibling";var _38b=!_389?"previousElementSibling":"previousSibling";var _38c=(_389?_37d:_365);var _38d=function(node){while(node=node[_38b]){if(_38c(node)){return false;}}return true;};var _38e=function(node){while(node=node[_38a]){if(_38c(node)){return false;}}return true;};var _38f=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[_38a]){if(_38c(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _390=function(elem){return !((_38f(elem))%2);};var _391=function(elem){return ((_38f(elem))%2);};var _392={"checked":function(name,_393){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_394){return function(elem){return elem.disabled;};},"enabled":function(name,_395){return function(elem){return !elem.disabled;};},"first-child":function(){return _38d;},"last-child":function(){return _38e;},"only-child":function(name,_396){return function(node){return _38d(node)&&_38e(node);};},"empty":function(name,_397){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,_398){var cz=_398.charAt(0);if(cz=="\""||cz=="'"){_398=_398.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_398)>=0);};},"not":function(name,_399){var p=_366(_399)[0];var _39a={el:1};if(p.tag!="*"){_39a.tag=1;}if(!p.classes.length){_39a.classes=1;}var ntf=_39b(p,_39a);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_39c){var pi=parseInt;if(_39c=="odd"){return _391;}else{if(_39c=="even"){return _390;}}if(_39c.indexOf("n")!=-1){var _39d=_39c.split("n",2);var pred=_39d[0]?((_39d[0]=="-")?-1:pi(_39d[0])):1;var idx=_39d[1]?pi(_39d[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=_38f(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_39c=idx;}}var _39e=pi(_39c);return function(elem){return (_38f(elem)==_39e);};}};var _39f=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_364?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _39b=function(_3a0,_3a1){if(!_3a0){return _365;}_3a1=_3a1||{};var ff=null;if(!("el" in _3a1)){ff=_379(ff,_37d);}if(!("tag" in _3a1)){if(_3a0.tag!="*"){ff=_379(ff,function(elem){return (elem&&((_364?elem.tagName:elem.tagName.toUpperCase())==_3a0.getTag()));});}}if(!("classes" in _3a1)){each(_3a0.classes,function(_3a2,idx,arr){var re=new RegExp("(?:^|\\s)"+_3a2+"(?:\\s|$)");ff=_379(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _3a1)){each(_3a0.pseudos,function(_3a3){var pn=_3a3.name;if(_392[pn]){ff=_379(ff,_392[pn](pn,_3a3.value));}});}if(!("attrs" in _3a1)){each(_3a0.attrs,function(attr){var _3a4;var a=attr.attr;if(attr.type&&_380[attr.type]){_3a4=_380[attr.type](a,attr.matchFor);}else{if(a.length){_3a4=_39f(a);}}if(_3a4){ff=_379(ff,_3a4);}});}if(!("id" in _3a1)){if(_3a0.id){ff=_379(ff,function(elem){return (!!elem&&(elem.id==_3a0.id));});}}if(!ff){if(!("default" in _3a1)){ff=_365;}}return ff;};var _3a5=function(_3a6){return function(node,ret,bag){while(node=node[_38a]){if(_389&&(!_37d(node))){continue;}if((!bag||_3a7(node,bag))&&_3a6(node)){ret.push(node);}break;}return ret;};};var _3a8=function(_3a9){return function(root,ret,bag){var te=root[_38a];while(te){if(_38c(te)){if(bag&&!_3a7(te,bag)){break;}if(_3a9(te)){ret.push(te);}}te=te[_38a];}return ret;};};var _3aa=function(_3ab){_3ab=_3ab||_365;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_38c(te)&&(!bag||_3a7(te,bag))&&(_3ab(te,x))){ret.push(te);}}return ret;};};var _3ac=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _3ad={};var _3ae=function(_3af){var _3b0=_3ad[_3af.query];if(_3b0){return _3b0;}var io=_3af.infixOper;var oper=(io?io.oper:"");var _3b1=_39b(_3af,{el:1});var qt=_3af.tag;var _3b2=("*"==qt);var ecs=_361()["getElementsByClassName"];if(!oper){if(_3af.id){_3b1=(!_3af.loops&&_3b2)?_365:_39b(_3af,{el:1,id:1});_3b0=function(root,arr){var te=dom.byId(_3af.id,(root.ownerDocument||root));if(!te||!_3b1(te)){return;}if(9==root.nodeType){return _37c(te,arr);}else{if(_3ac(te,root)){return _37c(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_3af.classes.length&&!_362){_3b1=_39b(_3af,{el:1,classes:1,id:1});var _3b3=_3af.classes.join(" ");_3b0=function(root,arr,bag){var ret=_37c(0,arr),te,x=0;var tret=root.getElementsByClassName(_3b3);while((te=tret[x++])){if(_3b1(te,root)&&_3a7(te,bag)){ret.push(te);}}return ret;};}else{if(!_3b2&&!_3af.loops){_3b0=function(root,arr,bag){var ret=_37c(0,arr),te,x=0;var tag=_3af.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3a7(te,bag)){ret.push(te);}}return ret;};}else{_3b1=_39b(_3af,{el:1,tag:1,id:1});_3b0=function(root,arr,bag){var ret=_37c(0,arr),te,x=0;var tag=_3af.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_3b1(te,root)&&_3a7(te,bag)){ret.push(te);}}return ret;};}}}}else{var _3b4={el:1};if(_3b2){_3b4.tag=1;}_3b1=_39b(_3af,_3b4);if("+"==oper){_3b0=_3a5(_3b1);}else{if("~"==oper){_3b0=_3a8(_3b1);}else{if(">"==oper){_3b0=_3aa(_3b1);}}}}return _3ad[_3af.query]=_3b0;};var _3b5=function(root,_3b6){var _3b7=_37c(root),qp,x,te,qpl=_3b6.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_3b6[i];x=_3b7.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_3ae(qp);for(var j=0;(te=_3b7[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3b7=ret;}return ret;};var _3b8={},_3b9={};var _3ba=function(_3bb){var _3bc=_366(trim(_3bb));if(_3bc.length==1){var tef=_3ae(_3bc[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3b5(root,_3bc);};};var _3bd=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _3be=!!_361()[qsa];var _3bf=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _3c0=function(_3c1,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3c1;};var _3c2=/([^[]*)([^\]]*])?/g;var _3c3=function(_3c4,_3c5,att){return _3c5.replace(_3bf,_3c0)+(att||"");};var _3c6=function(_3c7,_3c8){_3c7=_3c7.replace(_3c2,_3c3);if(_3be){var _3c9=_3b9[_3c7];if(_3c9&&!_3c8){return _3c9;}}var _3ca=_3b8[_3c7];if(_3ca){return _3ca;}var qcz=_3c7.charAt(0);var _3cb=(-1==_3c7.indexOf(" "));if((_3c7.indexOf("#")>=0)&&(_3cb)){_3c8=true;}var _3cc=(_3be&&(!_3c8)&&(_363.indexOf(qcz)==-1)&&(!has("ie")||(_3c7.indexOf(":")==-1))&&(!(_362&&(_3c7.indexOf(".")>=0)))&&(_3c7.indexOf(":contains")==-1)&&(_3c7.indexOf(":checked")==-1)&&(_3c7.indexOf("|=")==-1));if(_3cc){var tq=(_363.indexOf(_3c7.charAt(_3c7.length-1))>=0)?(_3c7+" *"):_3c7;return _3b9[_3c7]=function(root){try{if(!((9==root.nodeType)||_3cb)){throw "";}var r=root[qsa](tq);r[_3bd]=true;return r;}catch(e){return _3c6(_3c7,true)(root);}};}else{var _3cd=_3c7.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _3b8[_3c7]=((_3cd.length<2)?_3ba(_3c7):function(root){var _3ce=0,ret=[],tp;while((tp=_3cd[_3ce++])){ret=ret.concat(_3ba(tp)(root));}return ret;});}};var _3cf=0;var _3d0=has("ie")?function(node){if(_364){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3cf)||_3cf);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3cf));};var _3a7=function(node,bag){if(!bag){return 1;}var id=_3d0(node);if(!bag[id]){return bag[id]=1;}return 0;};var _3d1="_zipIdx";var _3d2=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;}_3cf++;var x,te;if(has("ie")&&_364){var _3d3=_3cf+"";arr[0].setAttribute(_3d1,_3d3);for(x=1;te=arr[x];x++){if(arr[x].getAttribute(_3d1)!=_3d3){ret.push(te);}te.setAttribute(_3d1,_3d3);}}else{if(has("ie")&&arr.commentStrip){try{for(x=1;te=arr[x];x++){if(_37d(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_3d1]=_3cf;}for(x=1;te=arr[x];x++){if(arr[x][_3d1]!=_3cf){ret.push(te);}te[_3d1]=_3cf;}}}return ret;};var _3d4=function(_3d5,root){root=root||_361();var od=root.ownerDocument||root;_364=(od.createElement("div").tagName==="div");var r=_3c6(_3d5)(root);if(r&&r.nozip){return r;}return _3d2(r);};_3d4.filter=function(_3d6,_3d7,root){var _3d8=[],_3d9=_366(_3d7),_3da=(_3d9.length==1&&!/[^\w#\.]/.test(_3d7))?_39b(_3d9[0]):function(node){return _360.indexOf(_3d4(_3d7,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_3d6[x];x++){if(_3da(te)){_3d8.push(te);}}return _3d8;};return _3d4;});},"dojo/dnd/autoscroll":function(){define("dojo/dnd/autoscroll",["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_3db,_3dc,_3dd){var _3de={};lang.setObject("dojo.dnd.autoscroll",_3de);_3de.getViewport=_3dd.getBox;_3de.V_TRIGGER_AUTOSCROLL=32;_3de.H_TRIGGER_AUTOSCROLL=32;_3de.V_AUTOSCROLL_VALUE=16;_3de.H_AUTOSCROLL_VALUE=16;var _3df,doc=win.doc,_3e0=Infinity,_3e1=Infinity;_3de.autoScrollStart=function(d){doc=d;_3df=_3dd.getBox(doc);var html=win.body(doc).parentNode;_3e0=Math.max(html.scrollHeight-_3df.h,0);_3e1=Math.max(html.scrollWidth-_3df.w,0);};_3de.autoScroll=function(e){var v=_3df||_3dd.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_3de.H_TRIGGER_AUTOSCROLL){dx=-_3de.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_3de.H_TRIGGER_AUTOSCROLL){dx=Math.min(_3de.H_AUTOSCROLL_VALUE,_3e1-html.scrollLeft);}}if(e.clientY<_3de.V_TRIGGER_AUTOSCROLL){dy=-_3de.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_3de.V_TRIGGER_AUTOSCROLL){dy=Math.min(_3de.V_AUTOSCROLL_VALUE,_3e0-html.scrollTop);}}window.scrollBy(dx,dy);};_3de._validNodes={"div":1,"p":1,"td":1};_3de._validOverflow={"auto":1,"scroll":1};_3de.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_3e2,_3e3;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _3de._validNodes)){var s=_3dc.getComputedStyle(n),_3e4=(s.overflow.toLowerCase() in _3de._validOverflow),_3e5=(s.overflowX.toLowerCase() in _3de._validOverflow),_3e6=(s.overflowY.toLowerCase() in _3de._validOverflow);if(_3e4||_3e5||_3e6){b=_3db.getContentBox(n,s);t=_3db.position(n,true);}if(_3e4||_3e5){w=Math.min(_3de.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;}}_3e2=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_3e4||_3e6){h=Math.min(_3de.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;}}_3e3=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_3de.autoScroll(e);};return _3de;});},"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(_3e7,_3e8,_3e9,_3ea,lang,_3eb,_3ec){return _3e8("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_3eb("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_3ed){if(_3ed.name==this.name&&_3ed.form==this.focusNode.form){var _3ee=_3ec.getEnclosingWidget(_3ed);if(_3ee){ary.push(_3ee);}}}));return ary;},_setCheckedAttr:function(_3ef){this.inherited(arguments);if(!this._created){return;}if(_3ef){_3e7.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3f0){if(_3f0!=this&&_3f0.checked){_3f0.set("checked",false);}}));}},_getSubmitValue:function(_3f1){return _3f1===null?"on":_3f1;},_onClick:function(e){if(this.checked||this.disabled){_3ea.stop(e);return false;}if(this.readOnly){_3ea.stop(e);_3e7.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3f2){_3e9.set(this.focusNode||this.domNode,"checked",_3f2.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,_3f3,_3f4,_3f5,_3f6,_3f7,_3f8){return _3f3("dojo.data.ItemFileWriteStore",_3f7,{constructor:function(_3f9){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 _3f8.toISOString(obj,{zulu:true});};}if(_3f9&&(_3f9.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_3fa){if(!_3fa){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_3fb,_3fc){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _3fb!="object"&&typeof _3fb!="undefined"){throw new Error("newItem() was passed something other than an object");}var _3fd=null;var _3fe=this._getIdentifierAttribute();if(_3fe===Number){_3fd=this._arrayOfAllItems.length;}else{_3fd=_3fb[_3fe];if(typeof _3fd==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_3fd)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_3fd]==="undefined");}this._assert(typeof this._pending._newItems[_3fd]==="undefined");this._assert(typeof this._pending._deletedItems[_3fd]==="undefined");var _3ff={};_3ff[this._storeRefPropName]=this;_3ff[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_3fd]=_3ff;_3ff[_3fe]=[_3fd];}this._arrayOfAllItems.push(_3ff);var _400=null;if(_3fc&&_3fc.parent&&_3fc.attribute){_400={item:_3fc.parent,attribute:_3fc.attribute,oldValue:undefined};var _401=this.getValues(_3fc.parent,_3fc.attribute);if(_401&&_401.length>0){var _402=_401.slice(0,_401.length);if(_401.length===1){_400.oldValue=_401[0];}else{_400.oldValue=_401.slice(0,_401.length);}_402.push(_3ff);this._setValueOrValues(_3fc.parent,_3fc.attribute,_402,false);_400.newValue=this.getValues(_3fc.parent,_3fc.attribute);}else{this._setValueOrValues(_3fc.parent,_3fc.attribute,_3ff,false);_400.newValue=_3ff;}}else{_3ff[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_3ff);}this._pending._newItems[_3fd]=_3ff;for(var key in _3fb){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _403=_3fb[key];if(!lang.isArray(_403)){_403=[_403];}_3ff[key]=_403;if(this.referenceIntegrity){for(var i=0;i<_403.length;i++){var val=_403[i];if(this.isItem(val)){this._addReferenceToMap(val,_3ff,key);}}}}this.onNew(_3ff,_400);return _3ff;},_removeArrayElement:function(_404,_405){var _406=_3f4.indexOf(_404,_405);if(_406!=-1){_404.splice(_406,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _407=item[this._itemNumPropName];var _408=this.getIdentity(item);if(this.referenceIntegrity){var _409=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_3f4.forEach(_409,function(_40a){_3f4.forEach(this.getValues(item,_40a),function(_40b){if(this.isItem(_40b)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_40b),attr:_40a});this._removeReferenceFromMap(_40b,item,_40a);}},this);},this);var _40c=item[this._reverseRefMap];if(_40c){for(var _40d in _40c){var _40e=null;if(this._itemsByIdentity){_40e=this._itemsByIdentity[_40d];}else{_40e=this._arrayOfAllItems[_40d];}if(_40e){for(var _40f in _40c[_40d]){var _410=this.getValues(_40e,_40f)||[];var _411=_3f4.filter(_410,function(_412){return !(this.isItem(_412)&&this.getIdentity(_412)==_408);},this);this._removeReferenceFromMap(item,_40e,_40f);if(_411.length<_410.length){this._setValueOrValues(_40e,_40f,_411,true);}}}}}}this._arrayOfAllItems[_407]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_408];}this._pending._deletedItems[_408]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_413,_414){return this._setValueOrValues(item,_413,_414,true);},setValues:function(item,_415,_416){return this._setValueOrValues(item,_415,_416,true);},unsetAttribute:function(item,_417){return this._setValueOrValues(item,_417,[],true);},_setValueOrValues:function(item,_418,_419,_41a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_418));this._assert(typeof _419!=="undefined");var _41b=this._getIdentifierAttribute();if(_418==_41b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _41c=this._getValueOrValues(item,_418);var _41d=this.getIdentity(item);if(!this._pending._modifiedItems[_41d]){var _41e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_41e[key]=item[key];}else{if(key===this._reverseRefMap){_41e[key]=lang.clone(item[key]);}else{_41e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_41d]=_41e;}var _41f=false;if(lang.isArray(_419)&&_419.length===0){_41f=delete item[_418];_419=undefined;if(this.referenceIntegrity&&_41c){var _420=_41c;if(!lang.isArray(_420)){_420=[_420];}for(var i=0;i<_420.length;i++){var _421=_420[i];if(this.isItem(_421)){this._removeReferenceFromMap(_421,item,_418);}}}}else{var _422;if(lang.isArray(_419)){_422=_419.slice(0,_419.length);}else{_422=[_419];}if(this.referenceIntegrity){if(_41c){var _420=_41c;if(!lang.isArray(_420)){_420=[_420];}var map={};_3f4.forEach(_420,function(_423){if(this.isItem(_423)){var id=this.getIdentity(_423);map[id.toString()]=true;}},this);_3f4.forEach(_422,function(_424){if(this.isItem(_424)){var id=this.getIdentity(_424);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_424,item,_418);}}},this);for(var rId in map){var _425;if(this._itemsByIdentity){_425=this._itemsByIdentity[rId];}else{_425=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_425,item,_418);}}else{for(var i=0;i<_422.length;i++){var _421=_422[i];if(this.isItem(_421)){this._addReferenceToMap(_421,item,_418);}}}}item[_418]=_422;_41f=true;}if(_41a){this.onSet(item,_418,_41c,_419);}return _41f;},_addReferenceToMap:function(_426,_427,_428){var _429=this.getIdentity(_427);var _42a=_426[this._reverseRefMap];if(!_42a){_42a=_426[this._reverseRefMap]={};}var _42b=_42a[_429];if(!_42b){_42b=_42a[_429]={};}_42b[_428]=true;},_removeReferenceFromMap:function(_42c,_42d,_42e){var _42f=this.getIdentity(_42d);var _430=_42c[this._reverseRefMap];var _431;if(_430){for(_431 in _430){if(_431==_42f){delete _430[_431][_42e];if(this._isEmpty(_430[_431])){delete _430[_431];}}}if(this._isEmpty(_430)){delete _42c[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,_432){var _433=undefined;if(this.hasAttribute(item,_432)){var _434=this.getValues(item,_432);if(_434.length==1){_433=_434[0];}else{_433=_434;}}return _433;},_flatten:function(_435){if(this.isItem(_435)){return {_reference:this.getIdentity(_435)};}else{if(typeof _435==="object"){for(var type in this._datatypeMap){var _436=this._datatypeMap[type];if(lang.isObject(_436)&&!lang.isFunction(_436)){if(_435 instanceof _436.type){if(!_436.serialize){throw new Error("ItemFileWriteStore: No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_436.serialize(_435)};}}else{if(_435 instanceof _436){return {_type:type,_value:_435.toString()};}}}}return _435;}},_getNewFileContentString:function(){var _437={};var _438=this._getIdentifierAttribute();if(_438!==Number){_437.identifier=_438;}if(this._labelAttr){_437.label=this._labelAttr;}_437.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _439={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _43a=this.getValues(item,key);if(_43a.length==1){_439[key]=this._flatten(_43a[0]);}else{var _43b=[];for(var j=0;j<_43a.length;++j){_43b.push(this._flatten(_43a[j]));_439[key]=_43b;}}}}_437.items.push(_439);}}var _43c=true;return _3f5.toJson(_437,_43c);},_isEmpty:function(_43d){var _43e=true;if(lang.isObject(_43d)){var i;for(i in _43d){_43e=false;break;}}else{if(lang.isArray(_43d)){if(_43d.length>0){_43e=false;}}}return _43e;},save:function(_43f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _440=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_43f&&_43f.onComplete){var _441=_43f.scope||_3f6.global;_43f.onComplete.call(_441);}};var _442=function(err){self._saveInProgress=false;if(_43f&&_43f.onError){var _443=_43f.scope||_3f6.global;_43f.onError.call(_443,err);}};if(this._saveEverything){var _444=this._getNewFileContentString();this._saveEverything(_440,_442,_444);}if(this._saveCustom){this._saveCustom(_440,_442);}if(!this._saveEverything&&!this._saveCustom){_440();}},revert:function(){this._assert(!this._saveInProgress);var _445;for(_445 in this._pending._modifiedItems){var _446=this._pending._modifiedItems[_445];var _447=null;if(this._itemsByIdentity){_447=this._itemsByIdentity[_445];}else{_447=this._arrayOfAllItems[_445];}_446[this._storeRefPropName]=this;for(var key in _447){delete _447[key];}lang.mixin(_447,_446);}var _448;for(_445 in this._pending._deletedItems){_448=this._pending._deletedItems[_445];_448[this._storeRefPropName]=this;var _449=_448[this._itemNumPropName];if(_448["backup_"+this._reverseRefMap]){_448[this._reverseRefMap]=_448["backup_"+this._reverseRefMap];delete _448["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_449]=_448;if(this._itemsByIdentity){this._itemsByIdentity[_445]=_448;}if(_448[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_448);}}for(_445 in this._pending._deletedItems){_448=this._pending._deletedItems[_445];if(_448["backupRefs_"+this._reverseRefMap]){_3f4.forEach(_448["backupRefs_"+this._reverseRefMap],function(_44a){var _44b;if(this._itemsByIdentity){_44b=this._itemsByIdentity[_44a.id];}else{_44b=this._arrayOfAllItems[_44a.id];}this._addReferenceToMap(_44b,_448,_44a.attr);},this);delete _448["backupRefs_"+this._reverseRefMap];}}for(_445 in this._pending._newItems){var _44c=this._pending._newItems[_445];_44c[this._storeRefPropName]=null;this._arrayOfAllItems[_44c[this._itemNumPropName]]=null;if(_44c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_44c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_445];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _44d=this.getIdentity(item);return new Boolean(this._pending._newItems[_44d]||this._pending._modifiedItems[_44d]||this._pending._deletedItems[_44d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_44e,_44f,_450){},onNew:function(_451,_452){},onDelete:function(_453){},close:function(_454){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(_455,_456){var _457=_456.prototype.onMove;return _455("dojo.dnd.TimedMoveable",_456,{timeout:40,constructor:function(node,_458){if(!_458){_458={};}if(_458.timeout&&typeof _458.timeout=="number"&&_458.timeout>=0){this.timeout=_458.timeout;}},onMoveStop:function(_459){if(_459._timer){clearTimeout(_459._timer);_457.call(this,_459,_459._leftTop);}_456.prototype.onMoveStop.apply(this,arguments);},onMove:function(_45a,_45b){_45a._leftTop=_45b;if(!_45a._timer){var _45c=this;_45a._timer=setTimeout(function(){_45a._timer=null;_457.call(_45c,_45a,_45a._leftTop);},this.timeout);}}});});},"dojo/NodeList-fx":function(){define("dojo/NodeList-fx",["./query","./_base/lang","./_base/connect","./_base/fx","./fx"],function(_45d,lang,_45e,_45f,_460){var _461=_45d.NodeList;lang.extend(_461,{_anim:function(obj,_462,args){args=args||{};var a=_460.combine(this.map(function(item){var _463={node:item};lang.mixin(_463,args);return obj[_462](_463);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_460,"wipeIn",args);},wipeOut:function(args){return this._anim(_460,"wipeOut",args);},slideTo:function(args){return this._anim(_460,"slideTo",args);},fadeIn:function(args){return this._anim(_45f,"fadeIn",args);},fadeOut:function(args){return this._anim(_45f,"fadeOut",args);},animateProperty:function(args){return this._anim(_45f,"animateProperty",args);},anim:function(_464,_465,_466,_467,_468){var _469=_460.combine(this.map(function(item){return _45f.animateProperty({node:item,properties:_464,duration:_465||350,easing:_466});}));if(_467){_45e.connect(_469,"onEnd",_467);}return _469.play(_468||0);}});return _461;});},"dijit/form/_ListMouseMixin":function(){define("dijit/form/_ListMouseMixin",["dojo/_base/declare","dojo/mouse","dojo/on","dojo/touch","./_ListBase"],function(_46a,_46b,on,_46c,_46d){return _46a("dijit.form._ListMouseMixin",_46d,{postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_46c.press,function(evt){evt.preventDefault();}));this._listConnect(_46c.press,"_onMouseDown");this._listConnect(_46c.release,"_onMouseUp");this._listConnect(_46b.enter,"_onMouseOver");this._listConnect(_46b.leave,"_onMouseOut");},_onMouseDown:function(evt,_46e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_46e);},_onMouseUp:function(evt,_46f){this._isDragging=false;var _470=this.selected;var _471=this._hoveredNode;if(_470&&_46f==_470){this.onClick(_470);}else{if(_471&&_46f==_471){this._setSelectedAttr(_471);this.onClick(_471);}}},_onMouseOut:function(evt,_472){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_473){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_473;this.onHover(_473);if(this._isDragging){this._setSelectedAttr(_473);}}});});},"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,_474){dojo.cookie=function(name,_475,_476){var c=document.cookie,ret;if(arguments.length==1){var _477=c.match(new RegExp("(?:^|; )"+_474.escapeString(name)+"=([^;]*)"));ret=_477?decodeURIComponent(_477[1]):undefined;}else{_476=_476||{};var exp=_476.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_476.expires=d;}if(exp&&exp.toUTCString){_476.expires=exp.toUTCString();}_475=encodeURIComponent(_475);var _478=name+"="+_475,_479;for(_479 in _476){_478+="; "+_479;var _47a=_476[_479];if(_47a!==true){_478+="="+_47a;}}document.cookie=_478;}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(_47b,_47c,_47d,lang,_47e,_47f,_480,_481){return _47c("dijit.ProgressBar",[_47f,_480],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_481,_indeterminateHighContrastImagePath:_47b.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(_482){lang.mixin(this,_482||{});var tip=this.internalProgress,ap=this.domNode;var _483=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_483=Math.min(parseFloat(this.progress)/100,1);this.progress=_483*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_483=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(_483);_47d.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_483*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(_484){this._set("label",_484);this.update();},_setIndeterminateAttr:function(_485){this.indeterminate=_485;this.update();},report:function(_486){return this.label?this.label:(this.indeterminate?"&#160;":_47e.format(_486,{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(_487,win,_488){var _489=_488._createWrapper;_488._createWrapper=function(_48a){if(!_48a.declaredClass){_48a={_popupWrapper:(_48a.parentNode&&_487.contains(_48a.parentNode,"dijitPopup"))?_48a.parentNode:null,domNode:_48a,destroy:function(){},ownerDocument:_48a.ownerDocument,ownerDocumentBody:win.body(_48a.ownerDocument)};}return _489.call(this,_48a);};var _48b=_488.open;_488.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 _48b.call(this,args);};return _488;});},"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(_48c,_48d,_48e,_48f,_490,has,i18n,_491,_492,_493,_494){var _495=_492("dijit.ColorPalette",[_48e,_48f,_490],{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:_48d,baseClass:"dijitColorPalette",_dyeFactory:function(_496,row,col,_497){return new this._dyeClass(_496,row,col,_497);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_492(_495._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_495._Color=_492("dijit._Color",_491,{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":_48c.toUrl("./themes/a11y/colors7x10.png"),"3x4":_48c.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_498,row,col,_499){this._title=_499;this._row=row;this._col=col;this.setColor(_491.named[_498]);},getValue:function(){return this.toHex();},fillCell:function(cell,_49a){var html=_494.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_49a,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"});_493.place(html,cell);}});return _495;});},"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]+))?$"),_49b=function(){var n=null,_49c=arguments,uri=[_49c[0]];for(var i=1;i<_49c.length;i++){if(!_49c[i]){continue;}var _49d=new _49b(_49c[i]+""),_49e=new _49b(uri[0]+"");if(_49d.path==""&&!_49d.scheme&&!_49d.authority&&!_49d.query){if(_49d.fragment!=n){_49e.fragment=_49d.fragment;}_49d=_49e;}else{if(!_49d.scheme){_49d.scheme=_49e.scheme;if(!_49d.authority){_49d.authority=_49e.authority;if(_49d.path.charAt(0)!="/"){var path=_49e.path.substring(0,_49e.path.lastIndexOf("/")+1)+_49d.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;}}}}_49d.path=segs.join("/");}}}}uri=[];if(_49d.scheme){uri.push(_49d.scheme,":");}if(_49d.authority){uri.push("//",_49d.authority);}uri.push(_49d.path);if(_49d.query){uri.push("?",_49d.query);}if(_49d.fragment){uri.push("#",_49d.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;}};_49b.prototype.toString=function(){return this.uri;};return dojo._Url=_49b;});},"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,_49f,has,xhr){var _4a0;if(1){_4a0=function(url,sync,load){xhr("GET",{url:url,sync:!!sync,load:load,headers:dojo.config.textPluginHeaders||{}});};}else{if(_49f.getText){_4a0=_49f.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _4a1={},_4a2=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4a3=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4a3){text=_4a3[1];}}else{text="";}return text;},_4a4={},_4a5={};dojo.cache=function(_4a6,url,_4a7){var key;if(typeof _4a6=="string"){if(/\//.test(_4a6)){key=_4a6;_4a7=url;}else{key=_49f.toUrl(_4a6.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4a6+"";_4a7=url;}var val=(_4a7!=undefined&&typeof _4a7!="string")?_4a7.value:_4a7,_4a8=_4a7&&_4a7.sanitize;if(typeof val=="string"){_4a1[key]=val;return _4a8?_4a2(val):val;}else{if(val===null){delete _4a1[key];return null;}else{if(!(key in _4a1)){_4a0(key,true,function(text){_4a1[key]=text;});}return _4a8?_4a2(_4a1[key]):_4a1[key];}}};return {dynamic:true,normalize:function(id,_4a9){var _4aa=id.split("!"),url=_4aa[0];return (/^\./.test(url)?_4a9(url):url)+(_4aa[1]?"!"+_4aa[1]:"");},load:function(id,_4ab,load){var _4ac=id.split("!"),_4ad=_4ac.length>1,_4ae=_4ac[0],url=_4ab.toUrl(_4ac[0]),_4af="url:"+url,text=_4a4,_4b0=function(text){load(_4ad?_4a2(text):text);};if(_4ae in _4a1){text=_4a1[_4ae];}else{if(_4af in _4ab.cache){text=_4ab.cache[_4af];}else{if(url in _4a1){text=_4a1[url];}}}if(text===_4a4){if(_4a5[url]){_4a5[url].push(_4b0);}else{var _4b1=_4a5[url]=[_4b0];_4a0(url,!_4ab.async,function(text){_4a1[_4ae]=_4a1[url]=text;for(var i=0;i<_4b1.length;){_4b1[i++](text);}delete _4a5[url];});}}else{_4b0(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(_4b2,lang,_4b3,has,_4b4){var html=_4b4.doc.documentElement,ie=has("ie"),_4b5=has("opera"),maj=Math.floor,ff=has("ff"),_4b6=_4b2.boxModel.replace(/-/,""),_4b7={"dj_quirks":has("quirks"),"dj_opera":_4b5,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_4b7["dj_ie"]=true;_4b7["dj_ie"+maj(ie)]=true;_4b7["dj_iequirks"]=has("quirks");}if(ff){_4b7["dj_ff"+maj(ff)]=true;}_4b7["dj_"+_4b6]=true;var _4b8="";for(var clz in _4b7){if(_4b7[clz]){_4b8+=clz+" ";}}html.className=lang.trim(html.className+" "+_4b8);_4b3(90,function(){if(!_4b2.isBodyLtr()){var _4b9="dj_rtl dijitRtl "+_4b8.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_4b9+"dj_rtl dijitRtl "+_4b8.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(_4ba,_4bb,fx,dom,_4bc,_4bd,_4be,lang,_4bf,on,has,_4c0,_4c1,_4c2,_4c3,_4c4,_4c5,_4c6){var _4c7=_4bb("dijit._MasterTooltip",[_4c2,_4c3],{duration:_4c0.defaultDuration,templateString:_4c5,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _4c4(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(_4c8,_4c9,_4ca,rtl,_4cb){if(this.aroundNode&&this.aroundNode===_4c9&&this.containerNode.innerHTML==_4c8){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_4c8;if(_4cb){this.set("textDir",_4cb);}this.containerNode.align=rtl?"right":"left";var pos=_4c1.around(this.domNode,_4c9,_4ca&&_4ca.length?_4ca:_4cc.defaultPosition,!rtl,lang.hitch(this,"orient"));var _4cd=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_4cd.y+((_4cd.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=_4cd.x+((_4cd.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_4be.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_4c9;},orient:function(node,_4ce,_4cf,_4d0,_4d1){this.connectorNode.style.top="";var _4d2=_4d0.h,_4d3=_4d0.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"}[_4ce+"-"+_4cf];this.domNode.style.width="auto";var size=_4bd.position(this.domNode);if(has("ie")==9){size.w+=2;}var _4d4=Math.min((Math.max(_4d3,1)),size.w);_4bd.setMarginBox(this.domNode,{w:_4d4});if(_4cf.charAt(0)=="B"&&_4ce.charAt(0)=="B"){var bb=_4bd.position(node);var _4d5=this.connectorNode.offsetHeight;if(bb.h>_4d2){var _4d6=_4d2-((_4d1.h+_4d5)>>1);this.connectorNode.style.top=_4d6+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_4d1.h/2-_4d5/2,0),bb.h-_4d5)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_4d3);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_4d7){if(this._onDeck&&this._onDeck[1]==_4d7){this._onDeck=null;}else{if(this.aroundNode===_4d7){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);_4ba.forEach(node.children,function(_4d8){this._setAutoTextDir(_4d8);},this);},_setTextDirAttr:function(_4d9){this._set("textDir",_4d9);if(_4d9=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_4c6.showTooltip=function(_4da,_4db,_4dc,rtl,_4dd){if(_4dc){_4dc=_4ba.map(_4dc,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_4cc._masterTT){_4c6._masterTT=_4cc._masterTT=new _4c7();}return _4cc._masterTT.show(_4da,_4db,_4dc,rtl,_4dd);};_4c6.hideTooltip=function(_4de){return _4cc._masterTT&&_4cc._masterTT.hide(_4de);};var _4cc=_4bb("dijit.Tooltip",_4c2,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_4df){_4ba.forEach(this._connections||[],function(_4e0){_4ba.forEach(_4e0,function(_4e1){_4e1.remove();});},this);this._connectIds=_4ba.filter(lang.isArrayLike(_4df)?_4df:(_4df?[_4df]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_4ba.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_4e2=this.selector,_4e3=_4e2?function(_4e4){return on.selector(_4e2,_4e4);}:function(_4e5){return _4e5;},self=this;return [on(node,_4e3(_4bf.enter),function(){self._onHover(this);}),on(node,_4e3("focusin"),function(){self._onHover(this);}),on(node,_4e3(_4bf.leave),lang.hitch(self,"_onUnHover")),on(node,_4e3("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_4df);},addTarget:function(node){var id=node.id||node;if(_4ba.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_4ba.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_4bc.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_4ba.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_4e6){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_4e6);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_4e7){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _4e8=this.getContent(_4e7);if(!_4e8){return;}_4cc.show(_4e8,_4e7,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_4e7;this.onShow(_4e7,this.position);},close:function(){if(this._connectNode){_4cc.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();_4ba.forEach(this._connections||[],function(_4e9){_4ba.forEach(_4e9,function(_4ea){_4ea.remove();});},this);this.inherited(arguments);}});_4cc._MasterTooltip=_4c7;_4cc.show=_4c6.showTooltip;_4cc.hide=_4c6.hideTooltip;_4cc.defaultPosition=["after-centered","before-centered"];return _4cc;});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_4eb,lang){var _4ec={};lang.setObject("dojo.string",_4ec);_4ec.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("");};_4ec.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_4ec.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_4ec.substitute=function(_4ed,map,_4ee,_4ef){_4ef=_4ef||_4eb.global;_4ee=_4ee?lang.hitch(_4ef,_4ee):function(v){return v;};return _4ed.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_4f0,key,_4f1){var _4f2=lang.getObject(key,false,map);if(_4f1){_4f2=lang.getObject(_4f1,false,_4ef).call(_4ef,_4f2,key);}return _4ee(_4f2,key).toString();});};_4ec.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 _4ec;});},"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/dijit":function(){define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_4f3){return _4f3;});},"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(_4f4,lang,_4f5,_4f6,_4f7,_4f8,_4f9,_4fa,_4fb){return _4f4("dijit.form.DropDownButton",[_4f8,_4f9,_4fa],{baseClass:"dijitDropDownButton",templateString:_4fb,_fillContent:function(){if(this.srcNodeRef){var _4fc=_4f5("*",this.srcNodeRef);this.inherited(arguments,[_4fc[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _4fd=_4f5("[widgetId]",this.dropDownContainer)[0];this.dropDown=_4f6.byNode(_4fd);delete this.dropDownContainer;}if(this.dropDown){_4f7.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _4fe=this.dropDown;return (!!_4fe&&(!_4fe.href||_4fe.isLoaded));},loadDropDown:function(_4ff){var _500=this.dropDown;var _501=_500.on("load",lang.hitch(this,function(){_501.remove();_4ff();}));_500.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(_502,_503,keys,has,_504){return _502("dijit.form._FormValueMixin",_504,{readOnly:false,_setReadOnlyAttr:function(_505){_503.set(this.focusNode,"readOnly",_505);this._set("readOnly",_505);},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(_506,_507){this._handleOnChange(_506,_507);},_handleOnChange:function(_508,_509){this._set("value",_508);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(_50a,_50b,_50c,_50d,lang,_50e,has,_50f,a11y){return _50b("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(_510){this._set("disabled",_510);_50c.set(this.focusNode,"disabled",_510);if(this.valueNode){_50c.set(this.valueNode,"disabled",_510);}this.focusNode.setAttribute("aria-disabled",_510?"true":"false");if(_510){this._set("hovering",false);this._set("active",false);var _511="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_50a.forEach(lang.isArray(_511)?_511:[_511],function(_512){var node=this[_512];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 _513=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_514);this.disconnect(_513);});var _514=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_514);this.disconnect(_513);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_50f.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_50d.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(_515,_516){if(this._lastValueReported==undefined&&(_516===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_515;}this._pendingOnChange=this._pendingOnChange||(typeof _515!=typeof this._lastValueReported)||(this.compare(_515,this._lastValueReported)!=0);if((this.intermediateChanges||_516||_516===undefined)&&this._pendingOnChange){this._lastValueReported=_515;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_515);});}}},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,_517,keys,_518,has,_519,win){var _51a=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_51a=evt.target;},true);}else{(function(){var _51b=function(evt){_51a=evt.srcElement;};win.doc.attachEvent("onkeydown",_51b);_519.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_51b);});})();}function _51c(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_51d){if(/input|button/i.test(node.nodeName)){return on(node,"click",_51d);}else{var _51e=[on(node,"keydown",function(e){if(_51c(e)){_51a=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_51c(e)&&e.target==_51a){_51a=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_51d.call(this,e);})];if(has("touch")){var _51f;_51e.push(on(node,"touchend",function(e){var _520=e.target;_51f=setTimeout(function(){_51f=null;on.emit(_520,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_51f){clearTimeout(_51f);}}));}return {remove:function(){_517.forEach(_51e,function(h){h.remove();});if(_51f){clearTimeout(_51f);_51f=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(_521,_522,_523){return _523("dijit.Destroyable",null,{destroy:function(_524){this._destroyed=true;},own:function(){_521.forEach(arguments,function(_525){var _526="destroyRecursive" in _525?"destroyRecursive":"destroy" in _525?"destroy":"remove";var odh=_522.before(this,"destroy",function(_527){_525[_526](_527);});var hdh=_522.after(_525,_526,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(_528,_529,_52a,_52b,_52c,lang,_52d,has,_52e,_52f,_530){return _529("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _531=this.getParent();this._childOfLayoutWidget=_531&&_531.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_52f.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _532=[],_533=false;_52d("> *",this.containerNode).some(function(node){var _534=_52e.byNode(node);if(_534&&_534.resize){_532.push(_534);}else{if(node.offsetHeight){_533=true;}}});this._singleChild=_532.length==1&&!_533?_532[0]:null;_52a.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_535,_536){this._resizeCalled=true;this._scheduleLayout(_535,_536);},_scheduleLayout:function(_537,_538){if(this._isShown()){this._layout(_537,_538);}else{this._needLayout=true;this._changeSize=_537;this._resultSize=_538;}},_layout:function(_539,_53a){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_539){_52b.setMarginBox(this.domNode,_539);}var cn=this.containerNode;if(cn===this.domNode){var mb=_53a||{};lang.mixin(mb,_539||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_52b.getMarginBox(cn),mb);}this._contentBox=_530.marginBox2contentBox(cn,mb);}else{this._contentBox=_52b.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_52b.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_528.forEach(this.getChildren(),function(_53b){if(_53b.resize){_53b.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,_53c=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_52a.contains(node,"dijitHidden")&&_53c&&_53c.style&&(_53c.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(_53d,_53e,_53f,_540){var _541=_53e("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_542){if(this._hash[_542.id]){throw new Error("Tried to register widget with id=="+_542.id+" but that id is already registered");}this._hash[_542.id]=_542;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_543){_543=_543||_53f.global;var i=0,id;for(id in this._hash){func.call(_543,this._hash[id],i++,this._hash);}return this;},filter:function(_544,_545){_545=_545||_53f.global;var res=new _541(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_544.call(_545,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _541(),id,_546;for(id in this._hash){_546=this._hash[id];if(_546.declaredClass==cls){res.add(_546);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_547){return _53d.map(this.toArray(),func,_547);},every:function(func,_548){_548=_548||_53f.global;var x=0,i;for(i in this._hash){if(!func.call(_548,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_549){_549=_549||_53f.global;var x=0,i;for(i in this._hash){if(func.call(_549,this._hash[i],x++,this._hash)){return true;}}return false;}});_53d.forEach(["forEach","filter","byClass","map","every","some"],function(func){_540[func]=_541.prototype[func];});return _541;});},"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(_54a,_54b,_54c,lang,dom,_54d,_54e,on,_54f,_550,dnd,_551,win){var _552=_54b("dojo.dnd.Moveable",[_54e],{handle:"",delay:0,skip:false,constructor:function(node,_553){this.node=dom.byId(node);if(!_553){_553={};}this.handle=_553.handle?dom.byId(_553.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_553.delay>0?_553.delay:0;this.skip=_553.skip;this.mover=_553.mover?_553.mover:_551;this.events=[on(this.handle,_550.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_554,node,Ctor){return new Ctor(node,_554);},destroy:function(){_54a.forEach(this.events,function(_555){_555.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,_550.move,lang.hitch(this,"onMouseMove")),on(this.handle,_550.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_54c.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);}_54c.stop(e);},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}_54c.stop(e);},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){_54c.stop(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_556){_54f.publish("/dnd/move/start",_556);_54d.add(win.body(),"dojoMove");_54d.add(this.node,"dojoMoveItem");},onMoveStop:function(_557){_54f.publish("/dnd/move/stop",_557);_54d.remove(win.body(),"dojoMove");_54d.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_558,_559){this.onMoving(_558,_559);var s=_558.node.style;s.left=_559.l+"px";s.top=_559.t+"px";this.onMoved(_558,_559);},onMoving:function(){},onMoved:function(){}});return _552;});},"dojo/store/util/SimpleQueryEngine":function(){define("dojo/store/util/SimpleQueryEngine",["../../_base/array"],function(_55a){return function(_55b,_55c){switch(typeof _55b){default:throw new Error("Can not query with a "+typeof _55b);case "object":case "undefined":var _55d=_55b;_55b=function(_55e){for(var key in _55d){var _55f=_55d[key];if(_55f&&_55f.test){if(!_55f.test(_55e[key],_55e)){return false;}}else{if(_55f!=_55e[key]){return false;}}}return true;};break;case "string":if(!this[_55b]){throw new Error("No filter function "+_55b+" was found in store");}_55b=this[_55b];case "function":}function _560(_561){var _562=_55a.filter(_561,_55b);var _563=_55c&&_55c.sort;if(_563){_562.sort(typeof _563=="function"?_563:function(a,b){for(var sort,i=0;sort=_563[i];i++){var _564=a[sort.attribute];var _565=b[sort.attribute];if(_564!=_565){return !!sort.descending==(_564==null||_564>_565)?-1:1;}}return 0;});}if(_55c&&(_55c.start||_55c.count)){var _566=_562.length;_562=_562.slice(_55c.start||0,(_55c.start||0)+(_55c.count||Infinity));_562.total=_566;}return _562;};_560.matches=_55b;return _560;};});},"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(_567,_568,_569,_56a,lang,on,has,_56b){var _56c=(_56b.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,_56d,node,_56e,obj,_56f,_570,_571){if(obj!=this._obj){this.stop();this._initialDelay=_570||500;this._subsequentDelay=_56f||0.9;this._minDelay=_571||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_56d,_56e);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,_572,_573,_574,_575,_576,_577){if(_572.keyCode){_572.charOrCode=_572.keyCode;_56a.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_572.charCode){_572.charOrCode=String.fromCharCode(_572.charCode);_56a.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _578=[on(node,_568._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_572.charOrCode&&(_572.ctrlKey===undefined||_572.ctrlKey==evt.ctrlKey)&&(_572.altKey===undefined||_572.altKey==evt.altKey)&&(_572.metaKey===undefined||_572.metaKey==(evt.metaKey||false))&&(_572.shiftKey===undefined||_572.shiftKey==evt.shiftKey)){_569.stop(evt);_56c.trigger(evt,_573,node,_574,_572,_575,_576,_577);}else{if(_56c._obj==_572){_56c.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_56c._obj==_572){_56c.stop();}}))];return {remove:function(){_567.forEach(_578,function(h){h.remove();});}};},addMouseListener:function(node,_579,_57a,_57b,_57c,_57d){var _57e=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_56c.trigger(evt,_579,node,_57a,node,_57b,_57c,_57d);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_56c.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_56c.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_56c.trigger(evt,_579,node,_57a,node,_57b,_57c,_57d);setTimeout(lang.hitch(this,_56c.stop),50);}}))];return {remove:function(){_567.forEach(_57e,function(h){h.remove();});}};},addListener:function(_57f,_580,_581,_582,_583,_584,_585,_586){var _587=[this.addKeyListener(_580,_581,_582,_583,_584,_585,_586),this.addMouseListener(_57f,_582,_583,_584,_585,_586)];return {remove:function(){_567.forEach(_587,function(h){h.remove();});}};}});return _56c;});},"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(_588,dom,_589,_58a,_58b,has,_58c,_58d,_58e,_58f,_590){return _588("dijit.MenuItem",[_58c,_58d,_58e,_58f],{templateString:_590,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(_591){if(_591&&!("label" in this.params)){this.set("label",_591.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _592=this.id+"_text";_589.set(this.containerNode,"id",_592);if(this.accelKeyNode){_589.set(this.accelKeyNode,"id",this.id+"_accel");_592+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_592);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(_593){_58a.toggle(this.domNode,"dijitMenuItemSelected",_593);},setLabel:function(_594){_58b.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_594);},setDisabled:function(_595){_58b.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_595);},_setDisabledAttr:function(_596){this.focusNode.setAttribute("aria-disabled",_596?"true":"false");this._set("disabled",_596);},_setAccelKeyAttr:function(_597){this.accelKeyNode.style.display=_597?"":"none";this.accelKeyNode.innerHTML=_597;_589.set(this.containerNode,"colSpan",_597?"1":"2");this._set("accelKey",_597);},_setTextDirAttr:function(_598){if(!this._created||this.textDir!=_598){this._set("textDir",_598);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(_599,dom,_59a,_59b,i18n,lang,_59c,_59d,Menu,_59e,_59f){var _5a0=_599("dijit.layout._TabButton",_59c.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_59f,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);_59b.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _5a1=i18n.getLocalization("dijit","common");if(this.closeNode){_59a.set(this.closeNode,"title",_5a1.itemClose);}}},_setDisabledAttr:function(_5a2){this.inherited(arguments);if(this.closeNode){if(_5a2){_59a.remove(this.closeNode,"title");}else{var _5a3=i18n.getLocalization("dijit","common");_59a.set(this.closeNode,"title",_5a3.itemClose);}}},_setLabelAttr:function(_5a4){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});var _5a5=_599("dijit.layout.TabController",_59c,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_5a0,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _5a6=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 _59b.contains(node,"dijitClosable")&&!_59b.contains(node,"dijitTabDisabled");}});this.own(_5a6);var _5a7=i18n.getLocalization("dijit","common"),_5a8=this;_5a6.addChild(new _59e({label:_5a7.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _5a9=_59d.byNode(this.getParent().currentTarget);_5a8.onCloseButtonClick(_5a9.page);}}));}});_5a5.TabButton=_5a0;return _5a5;});},"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,_5aa,_5ab,_5ac,_5ad,_5ae,_5af,_5b0,_5b1){return _5ae("dijit.layout._LayoutWidget",[_5aa,_5ab,_5ac],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_5af.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _5b2=this.getParent&&this.getParent();if(!(_5b2&&_5b2.isLayoutContainer)){this.resize();this.own(_5ad.on("resize",lang.hitch(this,"resize")));}},resize:function(_5b3,_5b4){var node=this.domNode;if(_5b3){_5b0.setMarginBox(node,_5b3);}var mb=_5b4||{};lang.mixin(mb,_5b3||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_5b0.getMarginBox(node),mb);}var cs=_5b1.getComputedStyle(node);var me=_5b0.getMarginExtents(node,cs);var be=_5b0.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_5b0.getPadExtents(node,cs);this._contentBox={l:_5b1.toPixelValue(node,cs.paddingLeft),t:_5b1.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_5b5){var cls=this.baseClass+"-child "+(_5b5.baseClass?this.baseClass+"-"+_5b5.baseClass:"");_5af.add(_5b5.domNode,cls);},addChild:function(_5b6,_5b7){this.inherited(arguments);if(this._started){this._setupChild(_5b6);}},removeChild:function(_5b8){var cls=this.baseClass+"-child"+(_5b8.baseClass?" "+this.baseClass+"-"+_5b8.baseClass:"");_5af.remove(_5b8.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(_5b9,_5ba,_5bb,_5bc,dom,_5bd,_5be,_5bf,_5c0,_5c1,keys,lang,on,has,_5c2,_5c3,_5c4){function _5c5(){if(this._popupWrapper){_5be.destroy(this._popupWrapper);delete this._popupWrapper;}};var _5c6=_5bc(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_5c7){var _5c8=_5c7._popupWrapper,node=_5c7.domNode;if(!_5c8){_5c8=_5be.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},_5c7.ownerDocumentBody);_5c8.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_5c7._popupWrapper=_5c8;_5ba.after(_5c7,"destroy",_5c5,true);}return _5c8;},moveOffScreen:function(_5c9){var _5ca=this._createWrapper(_5c9);_5c0.set(_5ca,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_5cb){var _5cc=this._createWrapper(_5cb);_5c0.set(_5cc,"display","none");},getTopPopup:function(){var _5cd=this._stack;for(var pi=_5cd.length-1;pi>0&&_5cd[pi].parent===_5cd[pi-1].widget;pi--){}return _5cd[pi];},open:function(args){var _5ce=this._stack,_5cf=args.popup,_5d0=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_5bf.isBodyLtr(_5cf.ownerDocument),_5d1=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_5ce.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_5ce[_5ce.length-1].widget.domNode))){this.close(_5ce[_5ce.length-1].widget);}var _5d2=this._createWrapper(_5cf);_5bd.set(_5d2,{id:id,style:{zIndex:this._beginZIndex+_5ce.length},"class":"dijitPopup "+(_5cf.baseClass||_5cf["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_5cf.bgIframe){_5cf.bgIframe=new _5c3(_5d2);}}var best=_5d1?_5c2.around(_5d2,_5d1,_5d0,ltr,_5cf.orient?lang.hitch(_5cf,"orient"):null):_5c2.at(_5d2,args,_5d0=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_5d2.style.display="";_5d2.style.visibility="visible";_5cf.domNode.style.visibility="visible";var _5d3=[];_5d3.push(on(_5d2,_5bb._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_5c1.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_5c1.stop(evt);var _5d4=this.getTopPopup();if(_5d4&&_5d4.onCancel){_5d4.onCancel();}}}})));if(_5cf.onCancel&&args.onCancel){_5d3.push(_5cf.on("cancel",args.onCancel));}_5d3.push(_5cf.on(_5cf.onExecute?"execute":"change",lang.hitch(this,function(){var _5d5=this.getTopPopup();if(_5d5&&_5d5.onExecute){_5d5.onExecute();}})));_5ce.push({widget:_5cf,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_5d3});if(_5cf.onOpen){_5cf.onOpen(best);}return best;},close:function(_5d6){var _5d7=this._stack;while((_5d6&&_5b9.some(_5d7,function(elem){return elem.widget==_5d6;}))||(!_5d6&&_5d7.length)){var top=_5d7.pop(),_5d8=top.widget,_5d9=top.onClose;if(_5d8.onClose){_5d8.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_5d8&&_5d8.domNode){this.hide(_5d8);}if(_5d9){_5d9();}}}});return (_5c4.popup=new _5c6());});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_5da,_5db,lang,_5dc,_5dd){var _5de={};_5da.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_5de[name]=_5dc[name];});lang.mixin(_5de,{defaultDuration:_5db["defaultDuration"]||200});lang.mixin(_5dd,_5de);return _5dd;});},"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(_5df,_5e0,_5e1,_5e2,keys,lang,on,_5e3,_5e4,_5e5,_5e6,_5e7,_5e8){var _5e9=_5e0("dijit.layout._StackButton",_5e8,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _5ea=_5e0("dijit.layout.StackController",[_5e5,_5e6,_5e7],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_5e9,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(_5eb){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 _5ec=_5e4.getEnclosingWidget(evt.target);if(_5ec!=this.containerNode&&!_5ec.disabled&&_5ec.page){for(var _5ed=evt.target;_5ed!==this.containerNode;_5ed=_5ed.parentNode){if(_5e1.contains(_5ed,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_5ec.page);break;}else{if(_5ed==_5ec.domNode){this.onButtonClick(_5ec.page);break;}}}}});},onStartup:function(info){_5df.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _5ee=_5e4.byId(this.containerId).containerNode,_5ef=this.pane2button,_5f0={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled"},_5f1=function(attr,_5f2){return on(_5ee,"attrmodified-"+attr,function(evt){var _5f3=_5ef[evt.detail&&evt.detail.widget&&evt.detail.widget.id];if(_5f3){_5f3.set(_5f2,evt.detail.newValue);}});};for(var attr in _5f0){this.own(_5f1(attr,_5f0[attr]));}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_5e4.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_5f4){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _5f5=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(_5f5,_5f4);this.pane2button[page.id]=_5f5;page.controlButton=_5f5;if(!this._currentChild){this.onSelectChild(page);}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _5f6=this.pane2button[page.id];if(_5f6){this.removeChild(_5f6);delete this.pane2button[page.id];_5f6.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _5f7=this.pane2button[this._currentChild.id];_5f7.set("checked",false);_5f7.focusNode.setAttribute("tabIndex","-1");}var _5f8=this.pane2button[page.id];_5f8.set("checked",true);this._currentChild=page;_5f8.focusNode.setAttribute("tabIndex","0");var _5f9=_5e4.byId(this.containerId);_5f9.containerNode.setAttribute("aria-labelledby",_5f8.id);},onButtonClick:function(page){var _5fa=this.pane2button[page.id];_5e3.focus(_5fa.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_5fa.set("checked",true);}var _5fb=_5e4.byId(this.containerId);_5fb.selectChild(page);},onCloseButtonClick:function(page){var _5fc=_5e4.byId(this.containerId);_5fc.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_5e3.focus(b.focusNode||b.domNode);}}},adjacent:function(_5fd){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_5fd=!_5fd;}var _5fe=this.getChildren();var idx=_5df.indexOf(_5fe,this.pane2button[this._currentChild.id]),_5ff=_5fe[idx];var _600;do{idx=(idx+(_5fd?1:_5fe.length-1))%_5fe.length;_600=_5fe[idx];}while(_600.disabled&&_600!=_5ff);return _600;},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _601=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_601=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_601=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_601=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_601=true;}break;case keys.HOME:var _602=this.getChildren();for(var idx=0;idx<_602.length;idx++){var _603=_602[idx];if(!_603.disabled){this.onButtonClick(_603.page);break;}}_5e2.stop(e);break;case keys.END:var _602=this.getChildren();for(var idx=_602.length-1;idx>=0;idx--){var _603=_602[idx];if(!_603.disabled){this.onButtonClick(_603.page);break;}}_5e2.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_5e2.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.onButtonClick(this.adjacent(!e.shiftKey).page);_5e2.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_5e2.stop(e);}}}}if(_601!==null){this.onButtonClick(this.adjacent(_601).page);_5e2.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_5ea.StackButton=_5e9;return _5ea;});},"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(_604,_605,_606,lang,has,win,dom,_607,_608,_609,on,_60a,dnd,_60b){return _605("dojo.dnd.Mover",[_609],{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,_60a.move,lang.hitch(this,"onFirstMove")),on(d,_60a.move,lang.hitch(this,"onMouseMove")),on(d,_60a.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_606.stop),on(d.body,"selectstart",_606.stop)];_60b.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_60b.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_606.stop(e);},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_606.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=_607.getMarginBox(this.node);var b=win.doc.body;var bs=_608.getComputedStyle(b);var bm=_607.getMarginBox(b,bs);var bc=_607.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(){_604.forEach(this.events,function(_60c){_60c.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,_60d,_60e,_60f,_610){return _60d("dijit.layout.TabContainer",_60e,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_611){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_60f=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _60f({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},_611);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_610:_60f;}}});});},"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(_612,_613,_614,_615,_616,lang,on,has,win){var _617=new function(){var _618=[];this.pop=function(){var _619;if(_618.length){_619=_618.pop();_619.style.display="";}else{if(has("ie")<9){var burl=_614["dojoBlankHtmlUrl"]||_612.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\");'>";_619=win.doc.createElement(html);}else{_619=_615.create("iframe");_619.src="javascript:\"\"";_619.className="dijitBackgroundIframe";_619.setAttribute("role","presentation");_616.set(_619,"opacity",0.1);}_619.tabIndex=-1;}return _619;};this.push=function(_61a){_61a.style.display="none";_618.push(_61a);};}();_613.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _61b=(this.iframe=_617.pop());node.appendChild(_61b);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_616.set(_61b,{width:"100%",height:"100%"});}}};lang.extend(_613.BackgroundIframe,{resize:function(node){if(this.iframe){_616.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){_617.push(this.iframe);delete this.iframe;}}});return _613.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(_61c,win,dom,_61d,_61e,_61f,has,_620){return _61c("dojo.dnd.Avatar",null,{constructor:function(_621){this.manager=_621;this.construct();},construct:function(){var a=_61f.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_622=this.manager.source,node,b=_61f.create("tbody",null,a),tr=_61f.create("tr",null,b),td=_61f.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_61f.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_61f.create("span",{innerHTML:_622.generateText?this._generateText():""},td);_61d.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_622.creator){node=_622._normalizedCreator(_622.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{node=this.manager.nodes[i].cloneNode(true);if(node.tagName.toLowerCase()=="tr"){var _623=_61f.create("table"),_624=_61f.create("tbody",null,_623);_624.appendChild(node);node=_623;}}node.id="";tr=_61f.create("tr",null,b);td=_61f.create("td",null,tr);td.appendChild(node);_61d.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_61f.destroy(this.node);this.node=false;},update:function(){_61e.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;}_620(("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(_625,_626,_627,has,_628,lang,_629,_62a,_62b,_62c){if(has("dijit-legacy-requires")){_629(0,function(){var _62d=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_625(_62d);});}return _626("dijit.form.Button",[_62a,_62b],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_62c,_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(_62e){if(_62e&&(!this.params||!("label" in this.params))){var _62f=lang.trim(_62e.innerHTML);if(_62f){this.label=_62f;}}},_setShowLabelAttr:function(val){if(this.containerNode){_627.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_630){_628.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_630);},_setLabelAttr:function(_631){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(_632,_633,_634,dnd,_635,_636){var _637=_632("dojo.dnd.move.constrainedMoveable",_636,{constraints:function(){},within:false,constructor:function(node,_638){if(!_638){_638={};}this.constraints=_638.constraints;this.within=_638.within;},onFirstMove:function(_639){var c=this.constraintBox=this.constraints.call(this,_639);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_633.getMarginSize(_639.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_63a,_63b){var c=this.constraintBox,s=_63a.node.style;this.onMoving(_63a,_63b);_63b.l=_63b.l<c.l?c.l:c.r<_63b.l?c.r:_63b.l;_63b.t=_63b.t<c.t?c.t:c.b<_63b.t?c.b:_63b.t;s.left=_63b.l+"px";s.top=_63b.t+"px";this.onMoved(_63a,_63b);}});var _63c=_632("dojo.dnd.move.boxConstrainedMoveable",_637,{box:{},constructor:function(node,_63d){var box=_63d&&_63d.box;this.constraints=function(){return box;};}});var _63e=_632("dojo.dnd.move.parentConstrainedMoveable",_637,{area:"content",constructor:function(node,_63f){var area=_63f&&_63f.area;this.constraints=function(){var n=this.node.parentNode,s=_634.getComputedStyle(n),mb=_633.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_633.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=_633.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=_633.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_637,boxConstrainedMoveable:_63c,parentConstrainedMoveable:_63e};});},"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(_640,_641,_642,_643,_644,_645,dom,_646,_647,_648,_649,_64a,has,_64b,lang,on,_64c,_64d,_64e,win,_64f,_650){has.add("dijit-legacy-requires",!_64b.isAsync);if(has("dijit-legacy-requires")){_64c(0,function(){var _651=["dijit/_base/manager"];_640(_651);});}var _652={};function _653(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _654(attr){return function(val){_646[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _645("dijit._WidgetBase",[_64d,_64f],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_654("lang"),dir:"",_setDirAttr:_654("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:_643.blankGif||_640.toUrl("dojo/resources/blank.gif"),postscript:function(_655,_656){this.create(_655,_656);},create:function(_657,_658){this.srcNodeRef=dom.byId(_658);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_657){this.params=_657;lang.mixin(this,_657);}this.postMixInProperties();if(!this.id){this.id=_650.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);_650.add(this);this.buildRendering();var _659;if(this.domNode){this._applyAttributes();var _65a=this.srcNodeRef;if(_65a&&_65a.parentNode&&this.domNode!==_65a){_65a.parentNode.replaceChild(this.domNode,_65a);_659=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_659){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 _65b=ctor.prototype;for(var _65c in _65b){if(_65c in this.attributeMap){continue;}var _65d="_set"+_65c.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_65d in _65b){list.push(_65c);}}}var _65e={};for(var key in this.params||{}){_65e[key]=this[key];}_641.forEach(list,function(attr){if(attr in _65e){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(key in _65e){this.set(key,_65e[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _65f=this.baseClass.split(" ");if(!this.isLeftToRight()){_65f=_65f.concat(_641.map(_65f,function(name){return name+"Rtl";}));}_647.add(this.domNode,_65f);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_641.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_660){this._beingDestroyed=true;this.destroyDescendants(_660);this.destroy(_660);},destroy:function(_661){this._beingDestroyed=true;this.uninitialize();function _662(w){if(w.destroyRecursive){w.destroyRecursive(_661);}else{if(w.destroy){w.destroy(_661);}}};_641.forEach(this._connects,lang.hitch(this,"disconnect"));_641.forEach(this._supportingWidgets,_662);if(this.domNode){_641.forEach(_650.findWidgets(this.domNode,this.containerNode),_662);}this.destroyRendering(_661);_650.remove(this.id);this._destroyed=true;},destroyRendering:function(_663){if(this.bgIframe){this.bgIframe.destroy(_663);delete this.bgIframe;}if(this.domNode){if(_663){_646.remove(this.domNode,"widgetId");}else{_648.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_663){_648.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_664){_641.forEach(this.getChildren(),function(_665){if(_665.destroyRecursive){_665.destroyRecursive(_664);}});},uninitialize:function(){return false;},_setStyleAttr:function(_666){var _667=this.domNode;if(lang.isObject(_666)){_64a.set(_667,_666);}else{if(_667.style.cssText){_667.style.cssText+="; "+_666;}else{_667.style.cssText=_666;}}this._set("style",_666);},_attrToDom:function(attr,_668,_669){_669=arguments.length>=3?_669:this.attributeMap[attr];_641.forEach(lang.isArray(_669)?_669:[_669],function(_66a){var _66b=this[_66a.node||_66a||"domNode"];var type=_66a.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_668)){_668=lang.hitch(this,_668);}var _66c=_66a.attribute?_66a.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_66b.tagName){_646.set(_66b,_66c,_668);}else{_66b.set(_66c,_668);}break;case "innerText":_66b.innerHTML="";_66b.appendChild(this.ownerDocument.createTextNode(_668));break;case "innerHTML":_66b.innerHTML=_668;break;case "class":_647.replace(_66b,_668,this[attr]);break;}},this);},get:function(name){var _66d=this._getAttrNames(name);return this[_66d.g]?this[_66d.g]():this[name];},set:function(name,_66e){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _66f=this._getAttrNames(name),_670=this[_66f.s];if(lang.isFunction(_670)){var _671=_670.apply(this,Array.prototype.slice.call(arguments,1));}else{var _672=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_672].tagName,_673=_652[tag]||(_652[tag]=_653(this[_672])),map=name in this.attributeMap?this.attributeMap[name]:_66f.s in this?this[_66f.s]:((_66f.l in _673&&typeof _66e!="function")||/^aria-|^data-|^role$/.test(name))?_672:null;if(map!=null){this._attrToDom(name,_66e,map);}this._set(name,_66e);}return _671||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,_674){var _675=this[name];this[name]=_674;if(this._created&&_674!==_675){if(this._watchCallbacks){this._watchCallbacks(name,_675,_674);}this.emit("attrmodified-"+name,{detail:{prevValue:_675,newValue:_674}});}},emit:function(type,_676,_677){_676=_676||{};if(_676.bubbles===undefined){_676.bubbles=true;}if(_676.cancelable===undefined){_676.cancelable=true;}if(!_676.detail){_676.detail={};}_676.detail.widget=this;var ret,_678=this["on"+type];if(_678){ret=_678.apply(this,_677?_677:[_676]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_676);}return ret;},on:function(type,func){var _679=this._onMap(type);if(_679){return _642.after(this,_679,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?_650.findWidgets(this.containerNode):[];},getParent:function(){return _650.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_67a,_67b){return this.own(_644.connect(obj,_67a,this,_67b))[0];},disconnect:function(_67c){_67c.remove();},subscribe:function(t,_67d){return this.own(_64e.subscribe(t,lang.hitch(this,_67d)))[0];},unsubscribe:function(_67e){_67e.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_649.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_64a.get(this.domNode,"display")!="none");},placeAt:function(_67f,_680){var _681=!_67f.tagName&&_650.byId(_67f);if(_681&&_681.addChild&&(!_680||typeof _680==="number")){_681.addChild(this,_680);}else{var ref=_681?(_681.containerNode&&!/after|before|replace/.test(_680||"")?_681.containerNode:_681.domNode):dom.byId(_67f,this.ownerDocument);_648.place(this.domNode,ref,_680);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_682){return _682;},applyTextDir:function(){},defer:function(fcn,_683){var _684=setTimeout(lang.hitch(this,function(){_684=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_683||0);return {remove:function(){if(_684){clearTimeout(_684);_684=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(_685,_686,_687,_688,_689,_68a,_68b,_68c){return _689("dijit.layout._TabContainerBase",[_686,_688],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_685,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_68c.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_68a.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_68a.add(this.domNode,"dijitTabContainerNested");_68a.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_68a.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_68a.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_68a.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_68a.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 _68d=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_68d;var _68e=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_68d},{domNode:this.containerNode,layoutAlign:"client"}];_687.layoutChildren(this.domNode,this._contentBox,_68e);this._containerContentBox=_687.marginBox2contentBox(this.containerNode,_68e[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _68f=_68b.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_68f});}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(_690,_691,_692,_693,has,_694,_695,_696,_697){return _690("dijit.form.Form",[_694,_695,_696,_697],{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(_698){this.encType=_698;_691.set(this.domNode,"encType",_698);if(has("ie")){this.domNode.encoding=_698;}},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);_692.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_693.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_692.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(_699,_69a,_69b){var base=null;return _699("dojo.store.Memory",base,{constructor:function(_69c){for(var i in _69c){this[i]=_69c[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_69b,get:function(id){return this.data[this.index[id]];},getIdentity:function(_69d){return _69d[this.idProperty];},put:function(_69e,_69f){var data=this.data,_6a0=this.index,_6a1=this.idProperty;var id=_69e[_6a1]=(_69f&&"id" in _69f)?_69f.id:_6a1 in _69e?_69e[_6a1]:Math.random();if(id in _6a0){if(_69f&&_69f.overwrite===false){throw new Error("Object already exists");}data[_6a0[id]]=_69e;}else{_6a0[id]=data.push(_69e)-1;}return id;},add:function(_6a2,_6a3){(_6a3=_6a3||{}).overwrite=false;return this.put(_6a2,_6a3);},remove:function(id){var _6a4=this.index;var data=this.data;if(id in _6a4){data.splice(_6a4[id],1);this.setData(data);return true;}},query:function(_6a5,_6a6){return _69a(this.queryEngine(_6a5,_6a6)(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(_6a7,_6a8,has,keys,_6a9,_6aa,_6ab,_6ac){if(has("dijit-legacy-requires")){_6a9(0,function(){var _6ad=["dijit/ToolbarSeparator"];_6a7(_6ad);});}return _6a8("dijit.Toolbar",[_6aa,_6ac,_6ab],{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(_6ae,_6af,_6b0,_6b1,has,lang,_6b2,_6b3,_6b4,_6b5,_6b6){if(has("dijit-legacy-requires")){_6b2(0,function(){var _6b7=["dijit/layout/StackController"];require(_6b7);});}var _6b8=_6b0("dijit.layout.StackContainer",_6b6,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_6b1.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 _6b9=this.getChildren();_6ae.forEach(_6b9,this._setupChild,this);if(this.persist){this.selectedChildWidget=_6b4.byId(_6af(this.id+"_selectedChild"));}else{_6ae.some(_6b9,function(_6ba){if(_6ba.selected){this.selectedChildWidget=_6ba;}return _6ba.selected;},this);}var _6bb=this.selectedChildWidget;if(!_6bb&&_6b9[0]){_6bb=this.selectedChildWidget=_6b9[0];_6bb.selected=true;}_6b3.publish(this.id+"-startup",{children:_6b9,selected:_6bb});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _6bc=this.selectedChildWidget;if(_6bc){this._showChild(_6bc);}}this.inherited(arguments);},_setupChild:function(_6bd){this.inherited(arguments);_6b1.replace(_6bd.domNode,"dijitHidden","dijitVisible");_6bd.domNode.title="";},addChild:function(_6be,_6bf){this.inherited(arguments);if(this._started){_6b3.publish(this.id+"-addChild",_6be,_6bf);this.layout();if(!this.selectedChildWidget){this.selectChild(_6be);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_6b3.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _6c0=this.getChildren();if(_6c0.length){this.selectChild(_6c0[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_6c1){page=_6b4.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_6c1);this._set("selectedChildWidget",page);_6b3.publish(this.id+"-selectChild",page);if(this.persist){_6af(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_6c2,_6c3){if(_6c3){this._hideChild(_6c3);}var d=this._showChild(_6c2);if(_6c2.resize){if(this.doLayout){_6c2.resize(this._containerContentBox||this._contentBox);}else{_6c2.resize();}}return d;},_adjacent:function(_6c4){var _6c5=this.getChildren();var _6c6=_6ae.indexOf(_6c5,this.selectedChildWidget);_6c6+=_6c4?1:_6c5.length-1;return _6c5[_6c6%_6c5.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_6b3.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _6c7=this.selectedChildWidget;if(_6c7&&_6c7.resize){if(this.doLayout){_6c7.resize(this._containerContentBox||this._contentBox);}else{_6c7.resize();}}},_showChild:function(page){var _6c8=this.getChildren();page.isFirstChild=(page==_6c8[0]);page.isLastChild=(page==_6c8[_6c8.length-1]);page._set("selected",true);_6b1.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_6b1.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _6c9=page.onClose(this,page);if(_6c9){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_6ca){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_6ae.forEach(this.getChildren(),function(_6cb){if(!_6ca){this.removeChild(_6cb);}_6cb.destroyRecursive(_6ca);},this);this._descendantsBeingDestroyed=false;}});_6b8.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_6b5,_6b8.ChildWidgetProperties);return _6b8;});},"dojo/regexp":function(){define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){var _6cc={};lang.setObject("dojo.regexp",_6cc);_6cc.escapeString=function(str,_6cd){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_6cd&&_6cd.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_6cc.buildGroupRE=function(arr,re,_6ce){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _6cc.group(b.join("|"),_6ce);};_6cc.group=function(_6cf,_6d0){return "("+(_6d0?"?:":"")+_6cf+")";};return _6cc;});},"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(_6d1,_6d2,keys,_6d3,_6d4,_6d5){return _6d1("dijit.DropDownMenu",[_6d5,_6d4],{templateString:_6d3,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);_6d2.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_6d2.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(_6d6,_6d7,_6d8,lang,on,_6d9){return _6d7("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_6da){var res=[];_6d6.forEach(_6da||this.getChildren(),function(_6db){if("value" in _6db){res.push(_6db);}else{res=res.concat(this._getDescendantFormWidgets(_6db.getChildren()));}},this);return res;},reset:function(){_6d6.forEach(this._getDescendantFormWidgets(),function(_6dc){if(_6dc.reset){_6dc.reset();}});},validate:function(){var _6dd=false;return _6d6.every(_6d6.map(this._getDescendantFormWidgets(),function(_6de){_6de._hasBeenBlurred=true;var _6df=_6de.disabled||!_6de.validate||_6de.validate();if(!_6df&&!_6dd){_6d9.scrollIntoView(_6de.containerNode||_6de.domNode);_6de.focus();_6dd=true;}return _6df;}),function(item){return item;});},setValues:function(val){_6d8.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_6d6.forEach(this._getDescendantFormWidgets(),function(_6e0){if(!_6e0.name){return;}var _6e1=map[_6e0.name]||(map[_6e0.name]=[]);_6e1.push(_6e0);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _6e2=map[name],_6e3=lang.getObject(name,false,obj);if(_6e3===undefined){continue;}if(!lang.isArray(_6e3)){_6e3=[_6e3];}if(typeof _6e2[0].checked=="boolean"){_6d6.forEach(_6e2,function(w){w.set("value",_6d6.indexOf(_6e3,w.value)!=-1);});}else{if(_6e2[0].multiple){_6e2[0].set("value",_6e3);}else{_6d6.forEach(_6e2,function(w,i){w.set("value",_6e3[i]);});}}}},getValues:function(){_6d8.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_6d6.forEach(this._getDescendantFormWidgets(),function(_6e4){var name=_6e4.name;if(!name||_6e4.disabled){return;}var _6e5=_6e4.get("value");if(typeof _6e4.checked=="boolean"){if(/Radio/.test(_6e4.declaredClass)){if(_6e5!==false){lang.setObject(name,_6e5,obj);}else{_6e5=lang.getObject(name,false,obj);if(_6e5===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_6e5!==false){ary.push(_6e5);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_6e5);}else{lang.setObject(name,[prev,_6e5],obj);}}else{lang.setObject(name,_6e5,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _6e6=_6d6.map(this._descendants,function(w){return w.get("state")||"";});return _6d6.indexOf(_6e6,"Error")>=0?"Error":_6d6.indexOf(_6e6,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_6e7){this._descendants=this._getDescendantFormWidgets();_6d6.forEach(this._descendants,function(_6e8){if(!_6e8._started){_6e8.startup();}});if(!_6e7){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,_6e9,_6ea){this.onValidStateChange(_6ea=="");});},destroy:function(){this.inherited(arguments);}});});},"dojo/data/util/simpleFetch":function(){define("dojo/data/util/simpleFetch",["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_6eb,_6ec){var _6ed={};lang.setObject("dojo.data.util.simpleFetch",_6ed);_6ed.errorHandler=function(_6ee,_6ef){if(_6ef.onError){var _6f0=_6ef.scope||_6eb.global;_6ef.onError.call(_6f0,_6ee,_6ef);}};_6ed.fetchHandler=function(_6f1,_6f2){var _6f3=_6f2.abort||null,_6f4=false,_6f5=_6f2.start?_6f2.start:0,_6f6=(_6f2.count&&(_6f2.count!==Infinity))?(_6f5+_6f2.count):_6f1.length;_6f2.abort=function(){_6f4=true;if(_6f3){_6f3.call(_6f2);}};var _6f7=_6f2.scope||_6eb.global;if(!_6f2.store){_6f2.store=this;}if(_6f2.onBegin){_6f2.onBegin.call(_6f7,_6f1.length,_6f2);}if(_6f2.sort){_6f1.sort(_6ec.createSortFunction(_6f2.sort,this));}if(_6f2.onItem){for(var i=_6f5;(i<_6f1.length)&&(i<_6f6);++i){var item=_6f1[i];if(!_6f4){_6f2.onItem.call(_6f7,item,_6f2);}}}if(_6f2.onComplete&&!_6f4){var _6f8=null;if(!_6f2.onItem){_6f8=_6f1.slice(_6f5,_6f6);}_6f2.onComplete.call(_6f7,_6f8,_6f2);}};_6ed.fetch=function(_6f9){_6f9=_6f9||{};if(!_6f9.store){_6f9.store=this;}this._fetchItems(_6f9,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _6f9;};return _6ed;});},"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(_6fa,_6fb,_6fc,_6fd,dom,_6fe,_6ff,_700,keys,lang,on,has,win,_701,pm,_702,_703){if(has("dijit-legacy-requires")){_703(0,function(){var _704=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_6fa(_704);});}return _6fc("dijit.Menu",_702,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_6fb.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_705){return _701.get(this._iframeContentDocument(_705))||this._iframeContentDocument(_705)["__parent__"]||(_705.name&&win.doc.frames[_705.name])||null;},_iframeContentDocument:function(_706){return _706.contentDocument||(_706.contentWindow&&_706.contentWindow.document)||(_706.name&&win.doc.frames[_706.name]&&win.doc.frames[_706.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _707=node,_708=this._iframeContentWindow(_707);cn=win.body(_708.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _709={node:node,iframe:_707};_6fe.set(node,"_dijitMenu"+this.id,this._bindings.push(_709));var _70a=lang.hitch(this,function(cn){var _70b=this.selector,_70c=_70b?function(_70d){return on.selector(_70b,_70d);}:function(_70e){return _70e;},self=this;return [on(cn,_70c(this.leftClickToOpen?"click":"contextmenu"),function(evt){_6fd.stop(evt);self._scheduleOpen(this,_707,{x:evt.pageX,y:evt.pageY});}),on(cn,_70c("keydown"),function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_6fd.stop(evt);self._scheduleOpen(this,_707);}})];});_709.connects=cn?_70a(cn):[];if(_707){_709.onloadHandler=lang.hitch(this,function(){var _70f=this._iframeContentWindow(_707);cn=win.body(_70f.document);_709.connects=_70a(cn);});if(_707.addEventListener){_707.addEventListener("load",_709.onloadHandler,false);}else{_707.attachEvent("onload",_709.onloadHandler);}}},unBindDomNode:function(_710){var node;try{node=dom.byId(_710,this.ownerDocument);}catch(e){return;}var _711="_dijitMenu"+this.id;if(node&&_6fe.has(node,_711)){var bid=_6fe.get(node,_711)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _712=b.iframe;if(_712){if(_712.removeEventListener){_712.removeEventListener("load",b.onloadHandler,false);}else{_712.detachEvent("onload",b.onloadHandler);}}_6fe.remove(node,_711);delete this._bindings[bid];}},_scheduleOpen:function(_713,_714,_715){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_713,iframe:_714,coords:_715});},1);}},_openMyself:function(args){var _716=args.target,_717=args.iframe,_718=args.coords;this.currentTarget=_716;if(_718){if(_717){var ifc=_6ff.position(_717,true),_719=this._iframeContentWindow(_717),_71a=_6ff.docScroll(_719.document);var cs=_700.getComputedStyle(_717),tp=_700.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_717,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_717,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_717,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_717,cs.borderTopWidth):0);_718.x+=ifc.x+left-_71a.x;_718.y+=ifc.y+top-_71a.y;}}else{_718=_6ff.position(_716,true);_718.x+=10;_718.y+=10;}var self=this;var _71b=this._focusManager.get("prevNode");var _71c=this._focusManager.get("curNode");var _71d=!_71c||(dom.isDescendant(_71c,this.domNode))?_71b:_71c;function _71e(){if(self.refocus&&_71d){_71d.focus();}pm.close(self);};pm.open({popup:this,x:_718.x,y:_718.y,onExecute:_71e,onCancel:_71e,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_6fb.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(_71f,_720,_721){return _71f("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_722){this._set("readOnly",_722);_720.set(this.focusNode,"readOnly",_722);},_setLabelAttr:undefined,_getSubmitValue:function(_723){return !_723&&_723!==0?"on":_723;},_setValueAttr:function(_724){_724=this._getSubmitValue(_724);this._set("value",_724);_720.set(this.focusNode,"value",_724);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_720.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_721.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(_725,lang,_726,_727,_728,_729,html,_72a,_72b,_72c,_72d,dom,_72e,_72f,xhr,i18n,when){return _72c("dijit.layout.ContentPane",[_726,_727,_728],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_725._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(_730,_731){if((!_730||!_730.template)&&_731&&!("href" in _730)&&!("content" in _730)){_731=dom.byId(_731);var df=_731.ownerDocument.createDocumentFragment();while(_731.firstChild){df.appendChild(_731.firstChild);}_730=lang.delegate(_730,{content:df});}this.inherited(arguments,[_730,_731]);},postMixInProperties:function(){this.inherited(arguments);var _732=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_729.substitute(this.loadingMessage,_732);this.errorMessage=_729.substitute(this.errorMessage,_732);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_72e.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_72b.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_72b.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_72b.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_725.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 _72d(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){_725.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 _72d(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(_733){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 _72d(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 _734={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_734,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_734)),_735;hand.then(function(html){_735=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 _735;});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(_736){if(this.isLoaded){this._onUnloadHandler();}var _737=this._contentSetter;_72b.forEach(this.getChildren(),function(_738){if(_738.destroyRecursive){_738.destroyRecursive(_736);}else{if(_738.destroy){_738.destroy(_736);}}_738._destroyed=true;});if(_737){_72b.forEach(_737.parseResults,function(_739){if(!_739._destroyed){if(_739.destroyRecursive){_739.destroyRecursive(_736);}else{if(_739.destroy){_739.destroy(_736);}}_739._destroyed=true;}});delete _737.parseResults;}if(!_736){_72f.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_73a){this.destroyDescendants();var _73b=this._contentSetter;if(!(_73b&&_73b instanceof html._ContentSetter)){_73b=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _73c=this.onContentError(e);try{this.containerNode.innerHTML=_73c;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _73d=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=_73b.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_73d);var self=this;return when(p&&p.then?p:_73b.parseDeferred,function(){delete self._contentSetterParams;if(!_73a){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},_onError:function(type,err,_73e){this.onLoadDeferred.reject(err);var _73f=this["on"+type+"Error"].call(this,err);if(_73e){console.error(_73e,err);}else{if(_73f){this._setContent(_73f,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(_740,_741,_742,_743,keys,_744,_745,_746,lang){return _744("dijit._KeyNavContainer",[_742,_741],{tabIndex:"0",connectKeyNavHandlers:function(_747,_748){var _749=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_743.forEach(_747,function(code){_749[code]=prev;});_743.forEach(_748,function(code){_749[code]=next;});_749[keys.HOME]=lang.hitch(this,"focusFirstChild");_749[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_740.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_743.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_74a,_74b){this.inherited(arguments);this._startupChild(_74a);},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(_74c,last){if(!_74c){return;}if(this.focusedChild&&_74c!==this.focusedChild){this._onChildBlur(this.focusedChild);}_74c.set("tabIndex",this.tabIndex);_74c.focus(last?"end":"start");this._set("focusedChild",_74c);},_startupChild:function(_74d){_74d.set("tabIndex","-1");this.connect(_74d,"_onFocus",function(){_74d.set("tabIndex",this.tabIndex);});this.connect(_74d,"_onBlur",function(){_74d.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_746.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_746.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();_745.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_74e,dir){if(_74e){_74e=this._getSiblingOfChild(_74e,dir);}var _74f=this.getChildren();for(var i=0;i<_74f.length;i++){if(!_74e){_74e=_74f[(dir>0)?0:(_74f.length-1)];}if(_74e.isFocusable()){return _74e;}_74e=this._getSiblingOfChild(_74e,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(_750,_751,_752,_753,lang,_754){var _755=lang.getObject("layout",true,_754);_755.marginBox2contentBox=function(node,mb){var cs=_753.getComputedStyle(node);var me=_752.getMarginExtents(node,cs);var pb=_752.getPadBorderExtents(node,cs);return {l:_753.toPixelValue(node,cs.paddingLeft),t:_753.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _756(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_757,dim){var _758=_757.resize?_757.resize(dim):_752.setMarginBox(_757.domNode,dim);if(_758){lang.mixin(_757,_758);}else{lang.mixin(_757,_752.getMarginBox(_757.domNode));lang.mixin(_757,dim);}};_755.layoutChildren=function(_759,dim,_75a,_75b,_75c){dim=lang.mixin({},dim);_751.add(_759,"dijitLayoutContainer");_75a=_750.filter(_75a,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_750.filter(_75a,function(item){return item.region=="center"||item.layoutAlign=="client";}));_750.forEach(_75a,function(_75d){var elm=_75d.domNode,pos=(_75d.region||_75d.layoutAlign);if(!pos){throw new Error("No region setting for "+_75d.id);}var _75e=elm.style;_75e.left=dim.l+"px";_75e.top=dim.t+"px";_75e.position="absolute";_751.add(elm,"dijitAlign"+_756(pos));var _75f={};if(_75b&&_75b==_75d.id){_75f[_75d.region=="top"||_75d.region=="bottom"?"h":"w"]=_75c;}if(pos=="top"||pos=="bottom"){_75f.w=dim.w;size(_75d,_75f);dim.h-=_75d.h;if(pos=="top"){dim.t+=_75d.h;}else{_75e.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_75f.h=dim.h;size(_75d,_75f);dim.w-=_75d.w;if(pos=="left"){dim.l+=_75d.w;}else{_75e.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_75d,dim);}}}});};return {marginBox2contentBox:_755.marginBox2contentBox,layoutChildren:_755.layoutChildren};});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_760,_761){return _760("dijit._Contained",null,{_getSibling:function(_762){var node=this.domNode;do{node=node[_762+"Sibling"];}while(node&&node.nodeType!=1);return node&&_761.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(_763,dom,lang,_764,_765,_766){function _767(_768){return {id:_768.value,value:_768.value,name:lang.trim(_768.innerText||_768.textContent||"")};};return _763("dijit.form.DataList",_765,{constructor:function(_769,_76a){this.domNode=dom.byId(_76a);lang.mixin(this,_769);if(this.id){_766.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_764("option",this.domNode).map(_767)}]);},destroy:function(){_766.remove(this.id);},fetchSelectedItem:function(){var _76b=_764("> option[selected]",this.domNode)[0]||_764("> option",this.domNode)[0];return _76b&&_767(_76b);}});});},"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(_76c,_76d,_76e,has,_76f,_770,_771,_772,_773){if(has("dijit-legacy-requires")){_770(0,function(){var _774=["dijit/form/RadioButton"];_76c(_774);});}return _76d("dijit.form.CheckBox",[_771,_772],{templateString:_773,baseClass:"dijitCheckBox",_setValueAttr:function(_775,_776){if(typeof _775=="string"){this.inherited(arguments);_775=true;}if(this._created){this.set("checked",_775,_776);}},_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){_76f("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_76f("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(_777,_778,_779,_77a,_77b,lang,_77c,_77d,on,_77e,_77f){return _779("dijit.tree._dndSelector",_77f,{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,_77e.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_77e.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_77e.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _780=[],sel=this.selection;for(var i in sel){_780.push(sel[i]);}return _780;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_781){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_781){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(_782){var _783=this.getSelectedTreeNodes();_777.forEach(this._setDifference(_783,_782),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_777.forEach(this._setDifference(_782,_783),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_777.forEach(ys,function(y){y.__exclude__=true;});var ret=_777.filter(xs,function(x){return !x.__exclude__;});_777.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _784=this.getSelectedTreeNodes();var _785=[],_786=[],_787=[];_777.forEach(_784,function(node){var ary=node.getTreePath(),_788=this.tree.model;_786.push(node);_785.push(ary);ary=_777.map(ary,function(item){return _788.getIdentity(item);},this);_787.push(ary.join("/"));},this);var _789=_777.map(_786,function(node){return node.item;});this.tree._set("paths",_785);this.tree._set("path",_785[0]||[]);this.tree._set("selectedNodes",_786);this.tree._set("selectedNode",_786[0]||null);this.tree._set("selectedItems",_789);this.tree._set("selectedItem",_789[0]||null);if(this.tree.persist&&_787.length>0){_77c(this.cookieName,_787.join(","),{expires:365});}},_getSavedPaths:function(){var tree=this.tree;if(tree.persist&&tree.dndController.cookieName){var oreo,_78a=[];oreo=_77c(tree.dndController.cookieName);if(oreo){_78a=_777.map(oreo.split(","),function(path){return path.split("/");});}return _78a;}},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(_77d.isLeft(e)){e.preventDefault();}else{if(e.type!="touchstart"){return;}}var _78b=this.current,copy=_778.isCopyKey(e),id=_78b.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_78b,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_778.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,_78c,_78d){if(this.singular){if(this.anchor==node&&_78c){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_78d&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_78e,end,_78f=this.anchor;if(cr<0){_78e=_78f;end=node;}else{_78e=node;end=_78f;}var _790=[];while(_78e!=end){_790.push(_78e);_78e=this.tree._getNextNode(_78e);}_790.push(end);this.setSelection(_790);}else{if(this.selection[node.id]&&_78c){this.removeTreeNode(node);}else{if(_78c){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _791=this.selection[key];return {data:_791,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_77b.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(_792,_793,_794){return _793("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_795,_796){var _797=this.containerNode;if(_796&&typeof _796=="number"){var _798=this.getChildren();if(_798&&_798.length>=_796){_797=_798[_796-1].domNode;_796="after";}}_794.place(_795.domNode,_797,_796);if(this._started&&!_795._started){_795.startup();}},removeChild:function(_799){if(typeof _799=="number"){_799=this.getChildren()[_799];}if(_799){var node=_799.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_79a,dir){var _79b=this.getChildren(),idx=_792.indexOf(this.getChildren(),_79a);return _79b[idx+dir];},getIndexOfChild:function(_79c){return _792.indexOf(this.getChildren(),_79c);}});});},"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(_79d,lang,_79e,_79f,xhr,_7a0,_7a1,_7a2,_7a3){var _7a4=_79e("dojo.data.ItemFileReadStore",[_7a0],{constructor:function(_7a5){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_7a5.url;this._ccUrl=_7a5.url;this.url=_7a5.url;this._jsonData=_7a5.data;this.data=null;this._datatypeMap=_7a5.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_7a6){return _7a3.fromISOString(_7a6);}};}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(_7a5.urlPreventCache!==undefined){this.urlPreventCache=_7a5.urlPreventCache?true:false;}if(_7a5.hierarchical!==undefined){this.hierarchical=_7a5.hierarchical?true:false;}if(_7a5.clearOnClose){this.clearOnClose=true;}if("failOk" in _7a5){this.failOk=_7a5.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(_7a7){if(typeof _7a7!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_7a8,_7a9){var _7aa=this.getValues(item,_7a8);return (_7aa.length>0)?_7aa[0]:_7a9;},getValues:function(item,_7ab){this._assertIsItem(item);this._assertIsAttribute(_7ab);return (item[_7ab]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _7ac=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_7ac.push(key);}}return _7ac;},hasAttribute:function(item,_7ad){this._assertIsItem(item);this._assertIsAttribute(_7ad);return (_7ad in item);},containsValue:function(item,_7ae,_7af){var _7b0=undefined;if(typeof _7af==="string"){_7b0=_7a1.patternToRegExp(_7af,false);}return this._containsValue(item,_7ae,_7af,_7b0);},_containsValue:function(item,_7b1,_7b2,_7b3){return _79f.some(this.getValues(item,_7b1),function(_7b4){if(_7b4!==null&&!lang.isObject(_7b4)&&_7b3){if(_7b4.toString().match(_7b3)){return true;}}else{if(_7b2===_7b4){return true;}}});},isItem:function(_7b5){if(_7b5&&_7b5[this._storeRefPropName]===this){if(this._arrayOfAllItems[_7b5[this._itemNumPropName]]===_7b5){return true;}}return false;},isItemLoaded:function(_7b6){return this.isItem(_7b6);},loadItem:function(_7b7){this._assertIsItem(_7b7.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(_7b8,_7b9,_7ba){var _7bb=[],i,key;if(_7b8.query){var _7bc,_7bd=_7b8.queryOptions?_7b8.queryOptions.ignoreCase:false;var _7be={};for(key in _7b8.query){_7bc=_7b8.query[key];if(typeof _7bc==="string"){_7be[key]=_7a1.patternToRegExp(_7bc,_7bd);}else{if(_7bc instanceof RegExp){_7be[key]=_7bc;}}}for(i=0;i<_7b9.length;++i){var _7bf=true;var _7c0=_7b9[i];if(_7c0===null){_7bf=false;}else{for(key in _7b8.query){_7bc=_7b8.query[key];if(!this._containsValue(_7c0,key,_7bc,_7be[key])){_7bf=false;}}}if(_7bf){_7bb.push(_7c0);}}_7ba(_7bb,_7b8);}else{for(i=0;i<_7b9.length;++i){var item=_7b9[i];if(item!==null){_7bb.push(item);}}_7ba(_7bb,_7b8);}},_fetchItems:function(_7c1,_7c2,_7c3){var self=this;if(this._loadFinished){this.filter(_7c1,this._getItemsArray(_7c1.queryOptions),_7c2);}else{if(this._jsonFileUrl!==this._ccUrl){_79d.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:_7c1,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_7c2)});}else{this._loadInProgress=true;var _7c4={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _7c5=xhr.get(_7c4);_7c5.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_7c1,self._getItemsArray(_7c1.queryOptions),_7c2);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_7c3(e,_7c1);}});_7c5.addErrback(function(_7c6){self._loadInProgress=false;_7c3(_7c6,_7c1);});var _7c7=null;if(_7c1.abort){_7c7=_7c1.abort;}_7c1.abort=function(){var df=_7c5;if(df&&df.fired===-1){df.cancel();df=null;}if(_7c7){_7c7.call(_7c1);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_7c1,this._getItemsArray(_7c1.queryOptions),_7c2);}catch(e){_7c3(e,_7c1);}}else{_7c3(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_7c1);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _7c8=this._queuedFetches[i],_7c9=_7c8.args,_7ca=_7c8.filter,_7cb=_7c8.findCallback;if(_7ca){_7ca(_7c9,this._getItemsArray(_7c9.queryOptions),_7cb);}else{this.fetchItemByIdentity(_7c9);}}this._queuedFetches=[];}},_getItemsArray:function(_7cc){if(_7cc&&_7cc.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_7cd){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(_7ce){var _7cf=false,self=this;function _7d0(_7d1){return (_7d1!==null)&&(typeof _7d1==="object")&&(!lang.isArray(_7d1)||_7cf)&&(!lang.isFunction(_7d1))&&(_7d1.constructor==Object||lang.isArray(_7d1))&&(typeof _7d1._reference==="undefined")&&(typeof _7d1._type==="undefined")&&(typeof _7d1._value==="undefined")&&self.hierarchical;};function _7d2(_7d3){self._arrayOfAllItems.push(_7d3);for(var _7d4 in _7d3){var _7d5=_7d3[_7d4];if(_7d5){if(lang.isArray(_7d5)){var _7d6=_7d5;for(var k=0;k<_7d6.length;++k){var _7d7=_7d6[k];if(_7d0(_7d7)){_7d2(_7d7);}}}else{if(_7d0(_7d5)){_7d2(_7d5);}}}}};this._labelAttr=_7ce.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_7ce.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(lang.isArray(item)){_7cf=true;}_7d2(item);item[this._rootItemPropName]=true;}var _7d8={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _7d9=item[key];if(_7d9!==null){if(!lang.isArray(_7d9)){item[key]=[_7d9];}}else{item[key]=[null];}}_7d8[key]=key;}}while(_7d8[this._storeRefPropName]){this._storeRefPropName+="_";}while(_7d8[this._itemNumPropName]){this._itemNumPropName+="_";}while(_7d8[this._reverseRefMap]){this._reverseRefMap+="_";}var _7da;var _7db=_7ce.identifier;if(_7db){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_7db;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_7da=item[_7db];var _7dc=_7da[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_7dc)){this._itemsByIdentity[_7dc]=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: ["+_7db+"]. Value collided: ["+_7dc+"]");}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: ["+_7db+"]. Value collided: ["+_7dc+"]");}}}}}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){_7da=item[key];for(var j=0;j<_7da.length;++j){_7d9=_7da[j];if(_7d9!==null&&typeof _7d9=="object"){if(("_type" in _7d9)&&("_value" in _7d9)){var type=_7d9._type;var _7dd=this._datatypeMap[type];if(!_7dd){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(lang.isFunction(_7dd)){_7da[j]=new _7dd(_7d9._value);}else{if(lang.isFunction(_7dd.deserialize)){_7da[j]=_7dd.deserialize(_7d9._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(_7d9._reference){var _7de=_7d9._reference;if(!lang.isObject(_7de)){_7da[j]=this._getItemByIdentity(_7de);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _7df=this._arrayOfAllItems[k],_7e0=true;for(var _7e1 in _7de){if(_7df[_7e1]!=_7de[_7e1]){_7e0=false;}}if(_7e0){_7da[j]=_7df;}}}if(this.referenceIntegrity){var _7e2=_7da[j];if(this.isItem(_7e2)){this._addReferenceToMap(_7e2,item,key);}}}else{if(this.isItem(_7d9)){if(this.referenceIntegrity){this._addReferenceToMap(_7d9,item,key);}}}}}}}},_addReferenceToMap:function(_7e3,_7e4,_7e5){},getIdentity:function(item){var _7e6=this._features["dojo.data.api.Identity"];if(_7e6===Number){return item[this._itemNumPropName];}else{var _7e7=item[_7e6];if(_7e7){return _7e7[0];}}return null;},fetchItemByIdentity:function(_7e8){var item,_7e9;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){_79d.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:_7e8});}else{this._loadInProgress=true;var _7ea={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _7eb=xhr.get(_7ea);_7eb.addCallback(function(data){var _7ec=_7e8.scope?_7e8.scope:_79d.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_7e8.identity);if(_7e8.onItem){_7e8.onItem.call(_7ec,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_7e8.onError){_7e8.onError.call(_7ec,error);}}});_7eb.addErrback(function(_7ed){self._loadInProgress=false;if(_7e8.onError){var _7ee=_7e8.scope?_7e8.scope:_79d.global;_7e8.onError.call(_7ee,_7ed);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_7e8.identity);if(_7e8.onItem){_7e9=_7e8.scope?_7e8.scope:_79d.global;_7e8.onItem.call(_7e9,item);}}}}else{item=this._getItemByIdentity(_7e8.identity);if(_7e8.onItem){_7e9=_7e8.scope?_7e8.scope:_79d.global;_7e8.onItem.call(_7e9,item);}}},_getItemByIdentity:function(_7ef){var item=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_7ef)){item=this._itemsByIdentity[_7ef];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_7ef)){item=this._arrayOfAllItems[_7ef];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _7f0=this._features["dojo.data.api.Identity"];if(_7f0===Number){return null;}else{return [_7f0];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_79d.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 _7f1={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _7f2=xhr.get(_7f1);_7f2.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;}});_7f2.addErrback(function(_7f3){throw _7f3;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});lang.extend(_7a4,_7a2);return _7a4;});},"dojo/html":function(){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_7f4,lang,_7f5,_7f6,dom,_7f7,_7f8){var html={};lang.setObject("dojo.html",html);var _7f9=0;html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};html._emptyNode=_7f7.empty;html._setNodeContent=function(node,cont){_7f7.empty(node);if(cont){if(typeof cont=="string"){cont=_7f7.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _7fa=cont.length,i=0;i<cont.length;i=_7fa==cont.length?i+1:0){_7f7.place(cont[i],node,"last");}}else{_7f7.place(cont,node,"last");}}return node;};html._ContentSetter=_7f6("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_7f4._scopeName,startup:true,constructor:function(_7fb,node){lang.mixin(this,_7fb||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_7f9++].join("_");}},set:function(cont,_7fc){if(undefined!==cont){this.content=cont;}if(_7fc){this._mixin(_7fc);}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 _7fd=this.onContentError(e);try{node.innerHTML=_7fd;}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){_7f5.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_7f7.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _7fe=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_7fe){cont=_7fe[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(_7ff){var _800={},key;for(key in _7ff){if(key in _800){continue;}this[key]=_7ff[key];}},_parse:function(){var _801=this.node;try{var _802={};_7f5.forEach(["dir","lang","textDir"],function(name){if(this[name]){_802[name]=this[name];}},this);var self=this;this.parseDeferred=_7f8.parse({rootNode:_801,noStart:!this.startup,inherited:_802,scope:this.parserScope}).then(function(_803){return self.parseResults=_803;});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_804){var _805=this["on"+type+"Error"].call(this,err);if(_804){console.error(_804,err);}else{if(_805){html._setNodeContent(this.node,_805,true);}}}});html.set=function(node,cont,_806){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_806){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_806,{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(_807,_808,_809,_80a,_80b,keys,lang,_80c,_80d,_80e){return _807("dijit._PaletteMixin",[_80c],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_80f){var _810=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _810(_80f);},_preparePalette:function(_811,_812){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_811.length;row++){var _813=_80a.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_811[row].length;col++){var _814=_811[row][col];if(_814){var _815=this._dyeFactory(_814,row,col,_812[_814]);var _816=_80a.create("td",{"class":this.cellClass,tabIndex:"-1",title:_812[_814],role:"gridcell"},_813);_815.fillCell(_816,url);_816.idx=this._cells.length;this._cells.push({node:_816,dye:_815});}}}this._xDim=_811[0].length;this._yDim=_811.length;var _817={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _817){this.own(_80e.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _818=_817[key];return function(_819){this._navigateByKey(_818,_819);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_80d.focus(this._currentFocus);},_onCellClick:function(evt){var _81a=evt.target;while(_81a.tagName!="TD"){if(!_81a.parentNode||_81a==this.gridNode){return;}_81a=_81a.parentNode;}var _81b=this._getDye(_81a).getValue();this._setCurrent(_81a);_80d.focus(_81a);this._setValueAttr(_81b,true);_80b.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_808.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_808.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_81c,_81d){if(this._selectedCell>=0){_809.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_81c){for(var i=0;i<this._cells.length;i++){if(_81c==this._cells[i].dye.getValue()){this._selectedCell=i;_809.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_81c:null);if(_81d||_81d===undefined){this.onChange(_81c);}},onChange:function(){},_navigateByKey:function(_81e,_81f){if(_81f==-1){return;}var _820=this._currentFocus.idx+_81e;if(_820<this._cells.length&&_820>-1){var _821=this._cells[_820].node;this._setCurrent(_821);this.defer(lang.hitch(_80d,"focus",_821));}},_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(_822,_823,i18n,_824,_825,_826){var _827;return _827=_822("dijit.form.ValidationTextBox",_824,{templateString:_826,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_828){if(_828!=_827.prototype[attr]){_823.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_828);}},_setRegExpGenAttr:function(_829){this._deprecateRegExp("regExpGen",_829);this.regExpGen=this._getPatternAttr;},_setRegExpAttr:function(_82a){this._deprecateRegExp("regExp",_82a);},_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_82b,_82c){return (new RegExp("^(?:"+this._getPatternAttr(_82c)+")"+(this.required?"":"?")+"$")).test(_82b)&&(!this.required||!this._isEmpty(_82b))&&(this._isEmpty(_82b)||this.parse(_82b,_82c)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_82d){return (this.trim?/^\s*$/:/^$/).test(_82d);},getErrorMessage:function(){var _82e=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _82f=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_82e:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_82f:_82e;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_830){var _831="";var _832=this.disabled||this.isValid(_830);if(_832){this._maskValidSubsetError=true;}var _833=this._isEmpty(this.textbox.value);var _834=!_832&&_830&&this._isValidSubset();this._set("state",_832?"":(((((!this._hasBeenBlurred||_830)&&_833)||_834)&&(this._maskValidSubsetError||(_834&&!this._hasBeenBlurred&&_830)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_832?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_830&&_834;_831=this.getErrorMessage(_830);}else{if(this.state=="Incomplete"){_831=this.getPromptMessage(_830);this._maskValidSubsetError=!this._hasBeenBlurred||_830;}else{if(_833){_831=this.getPromptMessage(_830);}}}this.set("message",_831);return _832;},displayMessage:function(_835){if(_835&&this.focused){_825.show(_835,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_825.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_836){this.constraints={};this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_837){if(!_837.locale&&this.lang){_837.locale=this.lang;}this._set("constraints",_837);this._refreshState();},_setPatternAttr:function(_838){this._set("pattern",_838);},_getPatternAttr:function(_839){var p=this.pattern;var type=(typeof p).toLowerCase();if(type=="function"){p=this.pattern(_839||this.constraints);}if(p!=this._lastRegExp){var _83a="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_83a+=re;break;case ")":_83a+="|$)";break;default:_83a+="(?:"+re+"|$)";break;}});}try{"".search(_83a);}catch(e){_83a=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_83a+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_83b){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_83c){this._set("required",_83c);this.focusNode.setAttribute("aria-required",_83c);this._refreshState();},_setMessageAttr:function(_83d){this._set("message",_83d);this.displayMessage(_83d);},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(_83e,_83f,_840,_841,_842,_843,_844,_845,keys,lang,on,_846,_847,_848,_849,_84a,_84b){var _84c=_840("dijit.layout._Splitter",[_848,_849],{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);_841.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _84d=_83f(this._cookieName);if(_84d){this.child.domNode.style[this.horizontal?"height":"width"]=_84d;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_84e=_843.getMarginBox(this.child.domNode)[dim],_84f=_83e.filter(this.container.getChildren(),function(_850){return _850.region=="center";})[0],_851=_843.getMarginBox(_84f.domNode)[dim];return Math.min(this.child.maxSize,_84e+_851);},_startDrag:function(e){if(!this.cover){this.cover=_842.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_841.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_842.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_841.add(this.domNode,"dijitSplitterShadow");_842.place(this.fake,this.domNode,"after");}_841.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_841.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _852=this._factor,_853=this.horizontal,axis=_853?"pageY":"pageX",_854=e[axis],_855=this.domNode.style,dim=_853?"h":"w",_856=_843.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_857=this.region,_858=_857=="top"||_857=="bottom"?"top":"left",_859=parseInt(_855[_858],10),_85a=this._resize,_85b=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_846.move,this._drag=function(e,_85c){var _85d=e[axis]-_854,_85e=_852*_85d+_856,_85f=Math.max(Math.min(_85e,max),min);if(_85a||_85c){_85b(_85f);}_855[_858]=_85d+_859+_852*(_85f-_85e)+"px";}),on(de,"dragstart",_845.stop),on(this.ownerDocumentBody,"selectstart",_845.stop),on(de,_846.release,lang.hitch(this,"_stopDrag"))]);_845.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_841.toggle(this.domNode,"dijitSplitterHover",o);_841.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_841.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_842.destroy(this.fake);}_841.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){_83f(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 _860=this.horizontal;var tick=1;switch(e.charOrCode){case _860?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _860?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _861=_843.getMarginSize(this.child.domNode)[_860?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_861,this._computeMaxSize()),this.child.minSize));_845.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _862=_840("dijit.layout._Gutter",[_848,_849],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_841.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _863=_840("dijit.layout.BorderContainer",_84a,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_84c,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_83e.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_864){var _865=_864.region;if(_865){this.inherited(arguments);_841.add(_864.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_865=="leading"){_865=ltr?"left":"right";}if(_865=="trailing"){_865=ltr?"right":"left";}if(_865!="center"&&(_864.splitter||this.gutters)&&!_864._splitterWidget){var _866=_864.splitter?this._splitterClass:_862;if(lang.isString(_866)){_866=lang.getObject(_866);}var _867=new _866({id:_864.id+"_splitter",container:this,child:_864,region:_865,live:this.liveSplitters});_867.isSplitter=true;_864._splitterWidget=_867;_842.place(_867.domNode,_864.domNode,"after");_867.startup();}_864.region=_865;}},layout:function(){this._layoutChildren();},addChild:function(_868,_869){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_86a){var _86b=_86a.region;var _86c=_86a._splitterWidget;if(_86c){_86c.destroy();delete _86a._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_841.remove(_86a.domNode,this.baseClass+"Pane");_844.set(_86a.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_844.set(_86a.domNode,_86b=="top"||_86b=="bottom"?"width":"height","auto");},getChildren:function(){return _83e.filter(this.inherited(arguments),function(_86d){return !_86d.isSplitter;});},getSplitter:function(_86e){return _83e.filter(this.getChildren(),function(_86f){return _86f.region==_86e;})[0]._splitterWidget;},resize:function(_870,_871){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_844.getComputedStyle(node);this.pe=_843.getPadExtents(node,this.cs);this.pe.r=_844.toPixelValue(node,this.cs.paddingRight);this.pe.b=_844.toPixelValue(node,this.cs.paddingBottom);_844.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_872,_873){if(!this._borderBox||!this._borderBox.h){return;}var _874=_83e.map(this.getChildren(),function(_875,idx){return {pane:_875,weight:[_875.region=="center"?Infinity:0,_875.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_875.region)?1:-1),idx]};},this);_874.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 _876=[];_83e.forEach(_874,function(_877){var pane=_877.pane;_876.push(pane);if(pane._splitterWidget){_876.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};_84b.layoutChildren(this.domNode,dim,_876,_872,_873);},destroyRecursive:function(){_83e.forEach(this.getChildren(),function(_878){var _879=_878._splitterWidget;if(_879){_879.destroy();}delete _878._splitterWidget;});this.inherited(arguments);}});_863.ChildWidgetProperties={region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity};lang.extend(_847,_863.ChildWidgetProperties);_863._Splitter=_84c;_863._Gutter=_862;return _863;});},"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(_87a){return _87a._base;});},"dojo/window":function(){define("dojo/window",["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_87b,dom,geom,_87c){var _87d={getBox:function(doc){doc=doc||_87b.doc;var _87e=(doc.compatMode=="BackCompat")?_87b.body(doc):doc.documentElement,_87f=geom.docScroll(doc),w,h;if(has("touch")){var _880=_87d.get(doc);w=_880.innerWidth||_87e.clientWidth;h=_880.innerHeight||_87e.clientHeight;}else{w=_87e.clientWidth;h=_87e.clientHeight;}return {l:_87f.x,t:_87f.y,w:w,h:h};},get:function(doc){if(has("ie")&&_87d!==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||_87b.doc,body=_87b.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 _881=doc.compatMode=="BackCompat",_882=(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):(_881?body:html),_883=isWK?body:_882,_884=_882.clientWidth,_885=_882.clientHeight,rtl=!geom.isBodyLtr(doc),_886=pos||geom.position(node),el=node.parentNode,_887=function(el){return ((isIE<=6||(isIE&&_881))?false:(_87c.get(el,"position").toLowerCase()=="fixed"));};if(_887(node)){return;}while(el){if(el==body){el=_883;}var _888=geom.position(el),_889=_887(el);if(el==_883){_888.w=_884;_888.h=_885;if(_883==html&&isIE&&rtl){_888.x+=_883.offsetWidth-_888.w;}if(_888.x<0||!isIE){_888.x=0;}if(_888.y<0||!isIE){_888.y=0;}}else{var pb=geom.getPadBorderExtents(el);_888.w-=pb.w;_888.h-=pb.h;_888.x+=pb.l;_888.y+=pb.t;var _88a=el.clientWidth,_88b=_888.w-_88a;if(_88a>0&&_88b>0){_888.w=_88a;_888.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_88b:0;}_88a=el.clientHeight;_88b=_888.h-_88a;if(_88a>0&&_88b>0){_888.h=_88a;}}if(_889){if(_888.y<0){_888.h+=_888.y;_888.y=0;}if(_888.x<0){_888.w+=_888.x;_888.x=0;}if(_888.y+_888.h>_885){_888.h=_885-_888.y;}if(_888.x+_888.w>_884){_888.w=_884-_888.x;}}var l=_886.x-_888.x,t=_886.y-Math.max(_888.y,0),r=l+_886.w-_888.w,bot=t+_886.h-_888.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_881)||isIE>=9)){s=-s;}_886.x+=el.scrollLeft;el.scrollLeft+=s;_886.x-=el.scrollLeft;}if(bot*t>0){_886.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_886.y-=el.scrollTop;}el=(el!=_883)&&!_889&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_87d);return _87d;});},"dojo/number":function(){define("dojo/number",["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_88c,_88d,_88e){var _88f={};lang.setObject("dojo.number",_88f);_88f.format=function(_890,_891){_891=lang.mixin({},_891||{});var _892=i18n.normalizeLocale(_891.locale),_893=i18n.getLocalization("dojo.cldr","number",_892);_891.customs=_893;var _894=_891.pattern||_893[(_891.type||"decimal")+"Format"];if(isNaN(_890)||Math.abs(_890)==Infinity){return null;}return _88f._applyPattern(_890,_894,_891);};_88f._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_88f._applyPattern=function(_895,_896,_897){_897=_897||{};var _898=_897.customs.group,_899=_897.customs.decimal,_89a=_896.split(";"),_89b=_89a[0];_896=_89a[(_895<0)?1:0]||("-"+_89b);if(_896.indexOf("%")!=-1){_895*=100;}else{if(_896.indexOf("‰")!=-1){_895*=1000;}else{if(_896.indexOf("¤")!=-1){_898=_897.customs.currencyGroup||_898;_899=_897.customs.currencyDecimal||_899;_896=_896.replace(/\u00a4{1,3}/,function(_89c){var prop=["symbol","currency","displayName"][_89c.length-1];return _897[prop]||_897.currency||"";});}else{if(_896.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _89d=_88f._numberPatternRE;var _89e=_89b.match(_89d);if(!_89e){throw new Error("unable to find a number expression in pattern: "+_896);}if(_897.fractional===false){_897.places=0;}return _896.replace(_89d,_88f._formatAbsolute(_895,_89e[0],{decimal:_899,group:_898,places:_897.places,round:_897.round}));};_88f.round=function(_89f,_8a0,_8a1){var _8a2=10/(_8a1||10);return (_8a2*+_89f).toFixed(_8a0)/_8a2;};if((0.9).toFixed()==0){var _8a3=_88f.round;_88f.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 _8a3(v,p,m)+(v>0?d:-d);};}_88f._formatAbsolute=function(_8a4,_8a5,_8a6){_8a6=_8a6||{};if(_8a6.places===true){_8a6.places=0;}if(_8a6.places===Infinity){_8a6.places=6;}var _8a7=_8a5.split("."),_8a8=typeof _8a6.places=="string"&&_8a6.places.indexOf(","),_8a9=_8a6.places;if(_8a8){_8a9=_8a6.places.substring(_8a8+1);}else{if(!(_8a9>=0)){_8a9=(_8a7[1]||[]).length;}}if(!(_8a6.round<0)){_8a4=_88f.round(_8a4,_8a9,_8a6.round);}var _8aa=String(Math.abs(_8a4)).split("."),_8ab=_8aa[1]||"";if(_8a7[1]||_8a6.places){if(_8a8){_8a6.places=_8a6.places.substring(0,_8a8);}var pad=_8a6.places!==undefined?_8a6.places:(_8a7[1]&&_8a7[1].lastIndexOf("0")+1);if(pad>_8ab.length){_8aa[1]=_88d.pad(_8ab,pad,"0",true);}if(_8a9<_8ab.length){_8aa[1]=_8ab.substr(0,_8a9);}}else{if(_8aa[1]){_8aa.pop();}}var _8ac=_8a7[0].replace(",","");pad=_8ac.indexOf("0");if(pad!=-1){pad=_8ac.length-pad;if(pad>_8aa[0].length){_8aa[0]=_88d.pad(_8aa[0],pad);}if(_8ac.indexOf("#")==-1){_8aa[0]=_8aa[0].substr(_8aa[0].length-pad);}}var _8ad=_8a7[0].lastIndexOf(","),_8ae,_8af;if(_8ad!=-1){_8ae=_8a7[0].length-_8ad-1;var _8b0=_8a7[0].substr(0,_8ad);_8ad=_8b0.lastIndexOf(",");if(_8ad!=-1){_8af=_8b0.length-_8ad-1;}}var _8b1=[];for(var _8b2=_8aa[0];_8b2;){var off=_8b2.length-_8ae;_8b1.push((off>0)?_8b2.substr(off):_8b2);_8b2=(off>0)?_8b2.slice(0,off):"";if(_8af){_8ae=_8af;delete _8af;}}_8aa[0]=_8b1.reverse().join(_8a6.group||",");return _8aa.join(_8a6.decimal||".");};_88f.regexp=function(_8b3){return _88f._parseInfo(_8b3).regexp;};_88f._parseInfo=function(_8b4){_8b4=_8b4||{};var _8b5=i18n.normalizeLocale(_8b4.locale),_8b6=i18n.getLocalization("dojo.cldr","number",_8b5),_8b7=_8b4.pattern||_8b6[(_8b4.type||"decimal")+"Format"],_8b8=_8b6.group,_8b9=_8b6.decimal,_8ba=1;if(_8b7.indexOf("%")!=-1){_8ba/=100;}else{if(_8b7.indexOf("‰")!=-1){_8ba/=1000;}else{var _8bb=_8b7.indexOf("¤")!=-1;if(_8bb){_8b8=_8b6.currencyGroup||_8b8;_8b9=_8b6.currencyDecimal||_8b9;}}}var _8bc=_8b7.split(";");if(_8bc.length==1){_8bc.push("-"+_8bc[0]);}var re=_88e.buildGroupRE(_8bc,function(_8bd){_8bd="(?:"+_88e.escapeString(_8bd,".")+")";return _8bd.replace(_88f._numberPatternRE,function(_8be){var _8bf={signed:false,separator:_8b4.strict?_8b8:[_8b8,""],fractional:_8b4.fractional,decimal:_8b9,exponent:false},_8c0=_8be.split("."),_8c1=_8b4.places;if(_8c0.length==1&&_8ba!=1){_8c0[1]="###";}if(_8c0.length==1||_8c1===0){_8bf.fractional=false;}else{if(_8c1===undefined){_8c1=_8b4.pattern?_8c0[1].lastIndexOf("0")+1:Infinity;}if(_8c1&&_8b4.fractional==undefined){_8bf.fractional=true;}if(!_8b4.places&&(_8c1<_8c0[1].length)){_8c1+=","+_8c0[1].length;}_8bf.places=_8c1;}var _8c2=_8c0[0].split(",");if(_8c2.length>1){_8bf.groupSize=_8c2.pop().length;if(_8c2.length>1){_8bf.groupSize2=_8c2.pop().length;}}return "("+_88f._realNumberRegexp(_8bf)+")";});},true);if(_8bb){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_8c3,_8c4,_8c5,_8c6){var prop=["symbol","currency","displayName"][_8c5.length-1],_8c7=_88e.escapeString(_8b4[prop]||_8b4.currency||"");_8c4=_8c4?"[\\s\\xa0]":"";_8c6=_8c6?"[\\s\\xa0]":"";if(!_8b4.strict){if(_8c4){_8c4+="*";}if(_8c6){_8c6+="*";}return "(?:"+_8c4+_8c7+_8c6+")?";}return _8c4+_8c7+_8c6;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_8b8,decimal:_8b9,factor:_8ba};};_88f.parse=function(_8c8,_8c9){var info=_88f._parseInfo(_8c9),_8ca=(new RegExp("^"+info.regexp+"$")).exec(_8c8);if(!_8ca){return NaN;}var _8cb=_8ca[1];if(!_8ca[1]){if(!_8ca[2]){return NaN;}_8cb=_8ca[2];info.factor*=-1;}_8cb=_8cb.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _8cb*info.factor;};_88f._realNumberRegexp=function(_8cc){_8cc=_8cc||{};if(!("places" in _8cc)){_8cc.places=Infinity;}if(typeof _8cc.decimal!="string"){_8cc.decimal=".";}if(!("fractional" in _8cc)||/^0/.test(_8cc.places)){_8cc.fractional=[true,false];}if(!("exponent" in _8cc)){_8cc.exponent=[true,false];}if(!("eSigned" in _8cc)){_8cc.eSigned=[true,false];}var _8cd=_88f._integerRegexp(_8cc),_8ce=_88e.buildGroupRE(_8cc.fractional,function(q){var re="";if(q&&(_8cc.places!==0)){re="\\"+_8cc.decimal;if(_8cc.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_8cc.places+"}";}}return re;},true);var _8cf=_88e.buildGroupRE(_8cc.exponent,function(q){if(q){return "([eE]"+_88f._integerRegexp({signed:_8cc.eSigned})+")";}return "";});var _8d0=_8cd+_8ce;if(_8ce){_8d0="(?:(?:"+_8d0+")|(?:"+_8ce+"))";}return _8d0+_8cf;};_88f._integerRegexp=function(_8d1){_8d1=_8d1||{};if(!("signed" in _8d1)){_8d1.signed=[true,false];}if(!("separator" in _8d1)){_8d1.separator="";}else{if(!("groupSize" in _8d1)){_8d1.groupSize=3;}}var _8d2=_88e.buildGroupRE(_8d1.signed,function(q){return q?"[-+]":"";},true);var _8d3=_88e.buildGroupRE(_8d1.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_88e.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_8d1.groupSize,grp2=_8d1.groupSize2;if(grp2){var _8d4="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_8d4+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_8d4;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _8d2+_8d3;};return _88f;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_8d5,_8d6,_8d7,lang){lang.extend(_8d6,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _8d7("dijit._FocusMixin",null,{_focusManager:_8d5});});},"dojo/data/util/filter":function(){define("dojo/data/util/filter",["../../_base/lang"],function(lang){var _8d8={};lang.setObject("dojo.data.util.filter",_8d8);_8d8.patternToRegExp=function(_8d9,_8da){var rxp="^";var c=null;for(var i=0;i<_8d9.length;i++){c=_8d9.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_8d9.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(_8da){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _8d8;});},"dijit/_WidgetsInTemplateMixin":function(){define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser"],function(_8db,_8dc,_8dd){return _8dc("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_8dd.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(){_8db.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,_8de,_8df,_8e0){return _8de("dojo.fx.Toggler",null,{node:null,showFunc:_8df.fadeIn,hideFunc:_8df.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _8e1=this;lang.mixin(_8e1,args);_8e1.node=args.node;_8e1._showArgs=lang.mixin({},args);_8e1._showArgs.node=_8e1.node;_8e1._showArgs.duration=_8e1.showDuration;_8e1.showAnim=_8e1.showFunc(_8e1._showArgs);_8e1._hideArgs=lang.mixin({},args);_8e1._hideArgs.node=_8e1.node;_8e1._hideArgs.duration=_8e1.hideDuration;_8e1.hideAnim=_8e1.hideFunc(_8e1._hideArgs);_8e0.connect(_8e1.showAnim,"beforeBegin",lang.hitch(_8e1.hideAnim,"stop",true));_8e0.connect(_8e1.hideAnim,"beforeBegin",lang.hitch(_8e1.showAnim,"stop",true));},show:function(_8e2){return this.showAnim.play(_8e2||0);},hide:function(_8e3){return this.hideAnim.play(_8e3||0);}});});},"dijit/form/FilteringSelect":function(){define("dijit/form/FilteringSelect",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_8e4,_8e5,lang,when,_8e6,_8e7){return _8e5("dijit.form.FilteringSelect",[_8e6,_8e7],{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(_8e8,_8e9,_8ea,_8eb){if((_8e9&&_8e9[this.searchAttr]!==this._lastQuery)||(!_8e9&&_8e8.length&&this.store.getIdentity(_8e8[0])!=this._lastQuery)){return;}if(!_8e8.length){this.set("value","",_8eb||(_8eb===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_8e8[0],_8eb);}},_openResultList:function(_8ec,_8ed,_8ee){if(_8ed[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(_8ef,_8f0,_8f1,item){if(!this._onChangeActive){_8f0=null;}if(item===undefined){if(_8ef===null||_8ef===""){_8ef="";if(!lang.isString(_8f1)){this._setDisplayedValueAttr(_8f1||"",_8f0);return;}}var self=this;this._lastQuery=_8ef;when(this.store.get(_8ef),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_8f0);});}else{this.valueNode.value=_8ef;this.inherited(arguments);}},_setItemAttr:function(item,_8f2,_8f3){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_8f4,_8f5){if(_8f4==null){_8f4="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_8f5=false;}if(this.store){this.closeDropDown();var _8f6=lang.clone(this.query);var qs=this._getDisplayQueryString(_8f4),q;if(this.store._oldAPI){q=qs;}else{q=_8e4.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_8f6[this.searchAttr]=q;this.textbox.value=_8f4;this._lastDisplayedValue=_8f4;this._set("displayedValue",_8f4);var _8f7=this;var _8f8={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_8f8,this.fetchProperties);this._fetchHandle=this.store.query(_8f6,_8f8);when(this._fetchHandle,function(_8f9){_8f7._fetchHandle=null;_8f7._callbackSetLabel(_8f9||[],_8f6,_8f8,_8f5);},function(err){_8f7._fetchHandle=null;if(!_8f7._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 _8fa={};lang.setObject("dojo.data.util.sorter",_8fa);_8fa.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;};_8fa.createSortFunction=function(_8fb,_8fc){var _8fd=[];function _8fe(attr,dir,comp,s){return function(_8ff,_900){var a=s.getValue(_8ff,attr);var b=s.getValue(_900,attr);return dir*comp(a,b);};};var _901;var map=_8fc.comparatorMap;var bc=_8fa.basicComparator;for(var i=0;i<_8fb.length;i++){_901=_8fb[i];var attr=_901.attribute;if(attr){var dir=(_901.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_8fd.push(_8fe(attr,dir,comp,_8fc));}}return function(rowA,rowB){var i=0;while(i<_8fd.length){var ret=_8fd[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _8fa;});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_902,dom,_903,_904){return _902("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_903.stop(e);return false;}var _905=this.onClick(e)===false;if(!_905&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _906=_904.byNode(node);if(_906&&typeof _906._onSubmit=="function"){_906._onSubmit(e);_905=true;break;}}}if(_905){e.preventDefault();}return !_905;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_907){this._set("label",_907);(this.containerNode||this.focusNode).innerHTML=_907;}});});},"dojo/colors":function(){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_908,_909){var _90a={};lang.setObject("dojo.colors",_90a);var _90b=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=_908.fromRgb=function(_90c,obj){var m=_90c.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=_909.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _908.fromArray(a,obj);}return _908.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=[_90b(m1,m2,H+1/3)*256,_90b(m1,m2,H)*256,_90b(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _908.fromArray(a,obj);}}return null;};var _90d=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_908.prototype.sanitize=function(){var t=this;t.r=Math.round(_90d(t.r,0,255));t.g=Math.round(_90d(t.g,0,255));t.b=Math.round(_90d(t.b,0,255));t.a=_90d(t.a,0,1);return this;};_90a.makeGrey=_908.makeGrey=function(g,a){return _908.fromArray([g,g,g,a]);};lang.mixin(_908.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 _908;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_90e,has,_90f,win,_910){var _911={},hash={};var _912={length:0,add:function(_913){if(hash[_913.id]){throw new Error("Tried to register widget with id=="+_913.id+" but that id is already registered");}hash[_913.id]=_913;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(_914){var id;do{id=_914+"_"+(_914 in _911?++_911[_914]:_911[_914]=0);}while(hash[id]);return _910._scopeName=="dijit"?id:_910._scopeName+"_"+id;},findWidgets:function(root,_915){var _916=[];function _917(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _918=node.getAttribute("widgetId");if(_918){var _919=hash[_918];if(_919){_916.push(_919);}}else{if(node!==_915){_917(node);}}}}};_917(root);return _916;},_destroyAll:function(){_910._curFocus=null;_910._prevFocus=null;_910._activeStack=[];_90e.forEach(_912.findWidgets(win.body()),function(_91a){if(!_91a._destroyed){if(_91a.destroyRecursive){_91a.destroyRecursive();}else{if(_91a.destroy){_91a.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};_910.registry=_912;return _912;});},"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(_91b,_91c,_91d,_91e,lang,on,_91f){return _91c("dijit.tree._dndContainer",null,{constructor:function(tree,_920){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_920);this.current=null;this.containerState="";_91d.add(this.node,"dojoDndContainer");this.events=[on(this.node,_91f.enter,lang.hitch(this,"onOverEvent")),on(this.node,_91f.leave,lang.hitch(this,"onOutEvent")),_91b.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_91b.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_91e,"stop")),on(this.node,"selectstart",lang.hitch(_91e,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_921){this.current=_921;},onMouseOut:function(){this.current=null;},_changeState:function(type,_922){var _923="dojoDnd"+type;var _924=type.toLowerCase()+"State";_91d.replace(this.node,_923+_922,_923+this[_924]);this[_924]=_922;},_addItemClass:function(node,type){_91d.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_91d.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(_925,lang,_926){var _927={hasWaiRole:function(elem,role){var _928=this.getWaiRole(elem);return role?(_928.indexOf(role)>-1):(_928.length>0);},getWaiRole:function(elem){return lang.trim((_925.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_925.set(elem,"role",role);},removeWaiRole:function(elem,role){var _929=_925.get(elem,"role");if(!_929){return;}if(role){var t=lang.trim((" "+_929+" ").replace(" "+role+" "," "));_925.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_92a){return elem.hasAttribute?elem.hasAttribute("aria-"+_92a):!!elem.getAttribute("aria-"+_92a);},getWaiState:function(elem,_92b){return elem.getAttribute("aria-"+_92b)||"";},setWaiState:function(elem,_92c,_92d){elem.setAttribute("aria-"+_92c,_92d);},removeWaiState:function(elem,_92e){elem.removeAttribute("aria-"+_92e);}};lang.mixin(_926,_927);return _926;});},"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(_92f,_930,_931,_932,_933,dom,_934,_935,lang,_936,when,_937,_938){var _939=_933("dijit.form._FormSelectWidget",_938,{multiple:false,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_93a){var _93b=_93a,opts=this.options||[],l=opts.length;if(_93b===undefined){return opts;}if(lang.isArray(_93b)){return _92f.map(_93b,"return this.getOptions(item);",this);}if(lang.isObject(_93a)){if(!_92f.some(this.options,function(o,idx){if(o===_93b||(o.value&&o.value===_93b.value)){_93b=idx;return true;}return false;})){_93b=-1;}}if(typeof _93b=="string"){for(var i=0;i<l;i++){if(opts[i].value===_93b){_93b=i;break;}}}if(typeof _93b=="number"&&_93b>=0&&_93b<l){return this.options[_93b];}return null;},addOption:function(_93c){if(!lang.isArray(_93c)){_93c=[_93c];}_92f.forEach(_93c,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_93d){if(!lang.isArray(_93d)){_93d=[_93d];}var _93e=this.getOptions(_93d);_92f.forEach(_93e,function(i){if(i){this.options=_92f.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_93f){if(!lang.isArray(_93f)){_93f=[_93f];}_92f.forEach(_93f,function(i){var _940=this.getOptions(i),k;if(_940){for(k in i){_940[k]=i[k];}}},this);this._loadChildren();},setStore:function(_941,_942,_943){var _944=this.store;_943=_943||{};if(_944!==_941){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_941.get){lang.mixin(_941,{_oldAPI:true,get:function(id){var _945=new _930();this.fetchItemByIdentity({identity:id,onItem:function(_946){_945.resolve(_946);},onError:function(_947){_945.reject(_947);}});return _945.promise;},query:function(_948,_949){var _94a=new _930(function(){if(_94b.abort){_94b.abort();}});_94a.total=new _930();var _94b=this.fetch(lang.mixin({query:_948,onBegin:function(_94c){_94a.total.resolve(_94c);},onComplete:function(_94d){_94a.resolve(_94d);},onError:function(_94e){_94a.reject(_94e);}},_949));return new _937(_94a);}});if(_941.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_931.after(_941,"onNew",lang.hitch(this,"_onNewItem"),true),_931.after(_941,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_931.after(_941,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_941);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(_943.query){this._set("query",_943.query);this._set("queryOptions",_943.queryOptions);}if(_941){this._loadingStore=true;this.onLoadDeferred=new _930();this._queryRes=_941.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_94f){if(this.sortByLabel&&!_943.sort&&_94f.length){if(_94f[0].getValue){_94f.sort(_932.createSortFunction([{attribute:_941.getLabelAttributes(_94f[0])[0]}],_941));}else{var _950=this.labelAttr;_94f.sort(function(a,b){return a[_950]>b[_950]?1:b[_950]>a[_950]?-1:0;});}}if(_943.onFetch){_94f=_943.onFetch.call(this,_94f,_943);}_92f.forEach(_94f,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._queryRes.observe(lang.hitch(this,function(_951,_952,_953){if(_952==_953){this._onSetItem(_951);}else{if(_952!=-1){this._onDeleteItem(_951);}if(_953!=-1){this._onNewItem(_951);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_942);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_94f);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _944;},_setValueAttr:function(_954,_955){if(!this._onChangeActive){_955=null;}if(this._loadingStore){this._pendingValue=_954;return;}var opts=this.getOptions()||[];if(!lang.isArray(_954)){_954=[_954];}_92f.forEach(_954,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_954[idx]=_92f.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_954=_92f.filter(_954,function(i){return i&&i.value;});if(!this.multiple&&(!_954[0]||!_954[0].value)&&opts.length){_954[0]=opts[0];}_92f.forEach(opts,function(i){i.selected=_92f.some(_954,function(v){return v.value===i.value;});});var val=_92f.map(_954,function(i){return i.value;}),disp=_92f.map(_954,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],_955]);this._updateSelection();},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_92f.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;}_92f.forEach(this._getChildren(),function(_956){_956.destroyRecursive();});_92f.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]){_92f.forEach(this._getChildren(),function(_957){var _958=_92f.some(val,function(v){return _957.option&&(v===_957.option.value);});_934.toggle(_957.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_958);_957.domNode.setAttribute("aria-selected",_958?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_92f.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 _92f.map(_92f.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_959){if(!_959||!_959.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _95a=this.store;this.removeOption(_95a.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _95b=this.store,_95c=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_95b.getLabel(item),_95d=(_95c?_95b.getIdentity(item):null);return {value:_95d,label:_95c,item:item};},_addOptionForItem:function(item){var _95e=this.store;if(_95e.isItemLoaded&&!_95e.isItemLoaded(item)){_95e.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _95f=this._getOptionObjForItem(item);this.addOption(_95f);},constructor:function(_960){this._oValue=(_960||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_936("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_935._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 _961=this.store;if(_961&&(_961.getIdentity||_961.getFeatures()["dojo.data.api.Identity"])){this.store=null;this.setStore(_961,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 _939;});},"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(_962,_963,_964,_965,_966,_967,i18n,lang,has,_968,_969,Menu,_96a,_96b,_96c,_96d){var _96e=_963("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);}_965.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",_967.stop);},focus:function(){var _96f=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_962.forEach(this.parentWidget._getChildren(),function(_970){if(_970.option&&(val===_970.option.value)){_96f=true;this.focusChild(_970,false);}},this);}if(!_96f){this.inherited(arguments);}},resize:function(mb){if(mb){_966.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _971=_963("dijit.form.Select",[_968,_969],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_96d,_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 _96e({id:this.id+"_menu",parentWidget:this});_965.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_972){if(!_972.value&&!_972.label){return new _96b({ownerDocument:this.ownerDocument});}else{var _973=lang.hitch(this,"_setValueAttr",_972);var item=new _96a({option:_972,label:_972.label||this.emptyLabel,onClick:_973,ownerDocument:this.ownerDocument,dir:this.dir,disabled:_972.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_974){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_974));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_975){if(_975===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_962.forEach(this._getChildren(),function(_976){_976.destroyRecursive();});var item=new _96a({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(_977){this.inherited(arguments);_964.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setDisabledAttr:function(_978){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_979){this._set("required",_979);this.focusNode.setAttribute("aria-required",_979);this._refreshState();},_setOptionsAttr:function(_97a){this._isLoaded=false;this._set("options",_97a);},_setDisplay:function(_97b){var lbl=_97b||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_97c){var _97d=this.disabled||this.isValid(_97c);this._set("state",_97d?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_97d?"false":"true");var _97e=_97d?"":this._missingMsg;if(_97e&&this.focused&&this._hasBeenBlurred){_96c.show(_97e,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_96c.hide(this.domNode);}this._set("message",_97e);return _97d;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_96c.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",_967.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 _97f=this.domNode.getElementsByTagName("INPUT");if(_97f){for(var i=0;i<_97f.length;i++){_97f[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setStyleAttr:function(_980){this.inherited(arguments);_965.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_981){this._loadChildren(true);this._isLoaded=true;_981();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},destroy:function(_982){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_982);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_96c.hide(this.domNode);this.inherited(arguments);this.validate(false);}});_971._Menu=_96e;return _971;});},"dojo/store/util/QueryResults":function(){define("dojo/store/util/QueryResults",["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_983,lang,_984){var _985=function(_986){if(!_986){return _986;}if(_986.then){_986=lang.delegate(_986);}function _987(_988){if(!_986[_988]){_986[_988]=function(){var args=arguments;return _984.when(_986,function(_989){Array.prototype.unshift.call(args,_989);return _985(_983[_988].apply(_983,args));});};}};_987("forEach");_987("filter");_987("map");if(!_986.total){_986.total=_984.when(_986,function(_98a){return _98a.length;});}return _986;};lang.setObject("dojo.store.util.QueryResults",_985);return _985;});},"dijit/form/_ListBase":function(){define("dijit/form/_ListBase",["dojo/_base/declare","dojo/on","dojo/window"],function(_98b,on,_98c){return _98b("dijit.form._ListBase",null,{selected:null,_listConnect:function(_98d,_98e){var self=this;return self.own(on(self.containerNode,on.selector(function(_98f,_990,_991){return _98f.parentNode==_991;},_98d),function(evt){evt.preventDefault();self[_98e](evt,this);}));},selectFirstNode:function(){var _992=this.containerNode.firstChild;while(_992&&_992.style.display=="none"){_992=_992.nextSibling;}this._setSelectedAttr(_992);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _993=this.selected;if(!_993){this.selectFirstNode();}else{var next=_993.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _994=this.selected;if(!_994){this.selectLastNode();}else{var prev=_994.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 _995=this.selected;if(_995){this.onDeselect(_995);this.selected=null;}if(node){this.selected=node;_98c.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(_996,has,_997,_998,_999,_99a,_99b,_99c){if(has("dijit-legacy-requires")){_998(0,function(){var _99d=["dijit/form/_FormValueWidget"];require(_99d);});}return _996("dijit.form._FormWidget",[_999,_99b,_99a,_99c],{setDisabled:function(_99e){_997.deprecated("setDisabled("+_99e+") is deprecated. Use set('disabled',"+_99e+") instead.","","2.0");this.set("disabled",_99e);},setValue:function(_99f){_997.deprecated("dijit.form._FormWidget:setValue("+_99f+") is deprecated. Use set('value',"+_99f+") instead.","","2.0");this.set("value",_99f);},getValue:function(){_997.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,_9a0,_9a1){dojo.DeferredList=function(list,_9a2,_9a3,_9a4,_9a5){var _9a6=[];_9a0.call(this);var self=this;if(list.length===0&&!_9a2){this.resolve([0,[]]);}var _9a7=0;_9a1.forEach(list,function(item,i){item.then(function(_9a8){if(_9a2){self.resolve([i,_9a8]);}else{_9a9(true,_9a8);}},function(_9aa){if(_9a3){self.reject(_9aa);}else{_9a9(false,_9aa);}if(_9a4){return null;}throw _9aa;});function _9a9(_9ab,_9ac){_9a6[i]=[_9ab,_9ac];_9a7++;if(_9a7===list.length){self.resolve(_9a6);}};});};dojo.DeferredList.prototype=new _9a0();dojo.DeferredList.prototype.gatherResults=function(_9ad){var d=new dojo.DeferredList(_9ad,false,true,false);d.addCallback(function(_9ae){var ret=[];_9a1.forEach(_9ae,function(_9af){ret.push(_9af[1]);});return ret;});return d;};return dojo.DeferredList;});},"dojo/dnd/common":function(){define("dojo/dnd/common",["../_base/connect","../_base/kernel","../_base/lang","../dom"],function(_9b0,_9b1,lang,dom){var _9b2=lang.getObject("dojo.dnd",true);_9b2.getCopyKeyState=_9b0.isCopyKey;_9b2._uniqueId=0;_9b2.getUniqueId=function(){var id;do{id=_9b1._scopeName+"Unique"+(++_9b2._uniqueId);}while(dom.byId(id));return id;};_9b2._empty={};_9b2.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 _9b2;});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_9b3,on,_9b4,has,win,_9b5){var _9b6=new _9b3();_9b4(200,function(){var _9b7=_9b5.getBox();_9b6._rlh=on(win.global,"resize",function(){var _9b8=_9b5.getBox();if(_9b7.h==_9b8.h&&_9b7.w==_9b8.w){return;}_9b7=_9b8;_9b6.emit("resize");});if(has("ie")==8){var _9b9=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_9b9){_9b9=screen.deviceXDPI;_9b6.emit("resize");}},500);}});return _9b6;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_9ba,lang,_9bb,_9bc,_9bd){var _9be={};_9be.getViewport=function(){return _9bb.getBox();};_9be.placeOnScreen=_9bc.at;_9be.placeOnScreenAroundElement=function(node,_9bf,_9c0,_9c1){var _9c2;if(lang.isArray(_9c0)){_9c2=_9c0;}else{_9c2=[];for(var key in _9c0){_9c2.push({aroundCorner:key,corner:_9c0[key]});}}return _9bc.around(node,_9bf,_9c2,true,_9c1);};_9be.placeOnScreenAroundNode=_9be.placeOnScreenAroundElement;_9be.placeOnScreenAroundRectangle=_9be.placeOnScreenAroundElement;_9be.getPopupAroundAlignment=function(_9c3,_9c4){var _9c5={};_9ba.forEach(_9c3,function(pos){var ltr=_9c4;switch(pos){case "after":_9c5[_9c4?"BR":"BL"]=_9c4?"BL":"BR";break;case "before":_9c5[_9c4?"BL":"BR"]=_9c4?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_9c5[ltr?"BL":"BR"]=ltr?"TL":"TR";_9c5[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_9c5[ltr?"TL":"TR"]=ltr?"BL":"BR";_9c5[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _9c5;};lang.mixin(_9bd,_9be);return _9bd;});},"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(_9c6,dom,_9c7,_9c8,_9c9,_9ca){return _9c6("dijit.MenuSeparator",[_9c7,_9c8,_9c9],{templateString:_9ca,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(_9cb,_9cc,_9cd,keys,_9ce,_9cf,_9d0,_9d1){return _9cb("dijit.form._ComboBoxMenu",[_9ce,_9cf,_9d1,_9d0],{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()){_9cc.add(this.previousButton,"dijitMenuItemRtl");_9cc.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){_9cc.add(node,"dijitMenuItemHover");},onUnhover:function(node){_9cc.remove(node,"dijitMenuItemHover");},onSelect:function(node){_9cc.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_9cc.remove(node,"dijitMenuItemSelected");},_page:function(up){var _9d2=0;var _9d3=this.domNode.scrollTop;var _9d4=_9cd.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_9d2<_9d4){var _9d5=this.getHighlightedOption();if(up){if(!_9d5.previousSibling||_9d5.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_9d5.nextSibling||_9d5.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _9d6=this.domNode.scrollTop;_9d2+=(_9d6-_9d3)*(up?-1:1);_9d3=_9d6;}},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(_9d7,_9d8,_9d9,_9da,_9db,dom,_9dc,_9dd,_9de,_9df,fx,i18n,keys,lang,on,_9e0,has,_9e1,_9e2,_9e3,_9e4,_9e5,_9e6,_9e7,_9e8,_9e9,_9ea,_9eb,_9ec,_9ed,_9ee){var _9ef=_9da("dijit._DialogBase",[_9e7,_9e9,_9ea,_9e8],{templateString:_9ed,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_9e5.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 _9f0=i18n.getLocalization("dijit","common");lang.mixin(this,_9f0);this.inherited(arguments);},postCreate:function(){_9de.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&&_9f1.isTop(this)){this._getFocusItems(this.domNode);_9e4.focus(this._firstFocusItem);}this.inherited(arguments);},_onBlur:function(by){this.inherited(arguments);var _9f2=lang.hitch(this,function(){if(this.open&&!this._destroyed&&_9f1.isTop(this)){this._getFocusItems(this.domNode);_9e4.focus(this._firstFocusItem);}});if(by=="mouse"){on.once(this.ownerDocument,"mouseup",_9f2);}else{_9f2();}},_endDrag:function(){var _9f3=_9dd.position(this.domNode),_9f4=_9e1.getBox(this.ownerDocument);_9f3.y=Math.min(Math.max(_9f3.y,0),(_9f4.h-_9f3.h));_9f3.x=Math.min(Math.max(_9f3.x,0),(_9f4.w-_9f3.w));this._relativePosition=_9f3;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_9e3:_9e2)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_9dc.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_9d8.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{_9de.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_9dd.position(this.domNode);var _9f5=_9e1.getBox(this.ownerDocument);_9f5.w*=this.maxRatio;_9f5.h*=this.maxRatio;if(bb.w>=_9f5.w||bb.h>=_9f5.h){var _9f6=_9dd.position(this.containerNode),w=Math.min(bb.w,_9f5.w)-(bb.w-_9f6.w),h=Math.min(bb.h,_9f5.h)-(bb.h-_9f6.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{_9de.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(!_9dc.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_9f7=_9e1.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_9dd.position(node),l=Math.floor(_9f7.l+(p?p.x:(_9f7.w-bb.w)/2)),t=Math.floor(_9f7.t+(p?p.y:(_9f7.h-bb.h)/2));_9de.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 _9f8=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_9f8){_9e4.focus(this._lastFocusItem);}_9df.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_9f8){_9e4.focus(this._firstFocusItem);}_9df.stop(evt);}else{while(node){if(node==this.domNode||_9dc.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_9df.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=_9e1.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize")));this._modalconnects.push(on(this.domNode,_9d9._keypress,lang.hitch(this,"_onKey")));_9de.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _9f9;this._fadeInDeferred=new _9db(lang.hitch(this,function(){_9f9.stop();delete this._fadeInDeferred;}));_9f9=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_9f1.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_9f1.isTop(this)){this._getFocusItems(this.domNode);_9e4.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 _9fa;this._fadeOutDeferred=new _9db(lang.hitch(this,function(){_9fa.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_9fa=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_9f1.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(_9eb._singleton){_9eb._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();}_9f1.hide(this);this.inherited(arguments);}});var _9fb=_9da("dijit.Dialog",[_9ec,_9ef],{});_9fb._DialogBase=_9ef;var _9f1=_9fb._DialogLevelManager={_beginZIndex:950,show:function(_9fc,_9fd){ds[ds.length-1].focus=_9e4.curNode;var _9fe=_9eb._singleton;if(!_9fe||_9fe._destroyed){_9fe=_9ee._underlay=_9eb._singleton=new _9eb(_9fd);}else{_9fe.set(_9fc.underlayAttrs);}var _9ff=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_9fb._DialogLevelManager._beginZIndex;if(ds.length==1){_9fe.show();}_9de.set(_9eb._singleton.domNode,"zIndex",_9ff-1);_9de.set(_9fc.domNode,"zIndex",_9ff);ds.push({dialog:_9fc,underlayAttrs:_9fd,zIndex:_9ff});},hide:function(_a00){if(ds[ds.length-1].dialog==_a00){ds.pop();var pd=ds[ds.length-1];if(!_9eb._singleton._destroyed){if(ds.length==1){_9eb._singleton.hide();}else{_9de.set(_9eb._singleton.domNode,"zIndex",pd.zIndex-1);_9eb._singleton.set(pd.underlayAttrs);}}if(_a00.refocus){var _a01=pd.focus;if(pd.dialog&&(!_a01||!dom.isDescendant(_a01,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_a01=pd.dialog._firstFocusItem;}if(_a01){try{_a01.focus();}catch(e){}}}}else{var idx=_9d8.indexOf(_9d8.map(ds,function(elem){return elem.dialog;}),_a00);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_a02){return ds[ds.length-1].dialog==_a02;}};var ds=_9fb._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(has("dijit-legacy-requires")){_9e0(0,function(){var _a03=["dijit/TooltipDialog"];_9d7(_a03);});}return _9fb;});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_a04,dom,lang,_a05,win,_a06,_a07){var _a08={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _a07.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_a06.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(_a09){var _a0a=win.doc,mark=_a09.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(_a0a.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_a0a.body.createControlRange();_a04.forEach(mark,function(n){rg.addElement(n);});}else{rg=_a0a.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_a0b){var node=!_a06.curNode||(menu&&dom.isDescendant(_a06.curNode,menu.domNode))?_a07._prevFocus:_a06.curNode;return {node:node,bookmark:node&&(node==_a06.curNode)&&win.withGlobal(_a0b||win.global,_a07.getBookmark),openedForWindow:_a0b};},_activeStack:[],registerIframe:function(_a0c){return _a06.registerIframe(_a0c);},unregisterIframe:function(_a0d){_a0d&&_a0d.remove();},registerWin:function(_a0e,_a0f){return _a06.registerWin(_a0e,_a0f);},unregisterWin:function(_a10){_a10&&_a10.remove();}};_a06.focus=function(_a11){if(!_a11){return;}var node="node" in _a11?_a11.node:_a11,_a12=_a11.bookmark,_a13=_a11.openedForWindow,_a14=_a12?_a12.isCollapsed:false;if(node){var _a15=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_a15&&_a15.focus){try{_a15.focus();}catch(e){}}_a06._onFocusNode(node);}if(_a12&&win.withGlobal(_a13||win.global,_a07.isCollapsed)&&!_a14){if(_a13){_a13.focus();}try{win.withGlobal(_a13||win.global,_a07.moveToBookmark,null,[_a12]);}catch(e2){}}};_a06.watch("curNode",function(name,_a16,_a17){_a07._curFocus=_a17;_a07._prevFocus=_a16;if(_a17){_a05.publish("focusNode",_a17);}});_a06.watch("activeStack",function(name,_a18,_a19){_a07._activeStack=_a19;});_a06.on("widget-blur",function(_a1a,by){_a05.publish("widgetBlur",_a1a,by);});_a06.on("widget-focus",function(_a1b,by){_a05.publish("widgetFocus",_a1b,by);});lang.mixin(_a07,_a08);return _a07;});},"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(_a1c,_a1d,_a1e,_a1f,_a20,lang,on,_a21,_a22,_a23,_a24){var _a25=_a1e("dijit.tree.dndSource",_a24,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_a26){if(!_a26){_a26={};}lang.mixin(this,_a26);var type=_a26.accept instanceof Array?_a26.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){_a1f.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_a1f.add(this.node,"dojoDndTarget");}this.topics=[_a22.subscribe("/dnd/source/over",lang.hitch(this,"onDndSourceOver")),_a22.subscribe("/dnd/start",lang.hitch(this,"onDndStart")),_a22.subscribe("/dnd/drop",lang.hitch(this,"onDndDrop")),_a22.subscribe("/dnd/cancel",lang.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_a27){return this.copyOnly||_a27;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_a28){var m=_a23.manager(),_a29=this.targetAnchor,_a2a=this.current,_a2b=this.dropPosition;var _a2c="Over";if(_a2a&&this.betweenThreshold>0){if(!this.targetBox||_a29!=_a2a){this.targetBox=_a20.position(_a2a.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_a2c="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_a2c="After";}}}if(_a28||_a2a!=_a29||_a2c!=_a2b){if(_a29){this._removeItemClass(_a29.rowNode,_a2b);}if(_a2a){this._addItemClass(_a2a.rowNode,_a2c);}if(!_a2a){m.canDrop(false);}else{if(_a2a==this.tree.rootNode&&_a2c!="Over"){m.canDrop(false);}else{var _a2d=false;if(m.source==this){for(var _a2e in this.selection){var _a2f=this.selection[_a2e];if(_a2f.item===_a2a.item){_a2d=true;break;}}}if(_a2d){m.canDrop(false);}else{if(this.checkItemAcceptance(_a2a.rowNode,m.source,_a2c.toLowerCase())&&!this._isParentChildDrop(m.source,_a2a.rowNode)){m.canDrop(true);}else{m.canDrop(false);}}}}this.targetAnchor=_a2a;this.dropPosition=_a2c;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_a23.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 _a30=this.getSelectedTreeNodes();if(_a30.length){if(_a30.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_a30[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_a30=r;}_a30=_a1c.map(_a30,function(n){return n.domNode;});m.startDrag(this,_a30,this.copyState(_a1d.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(_a31){if(this!=_a31){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_a23.manager();m.canDrop(false);}}},onDndStart:function(_a32,_a33,copy){if(this.isSource){this._changeState("Source",this==_a32?(copy?"Copied":"Moved"):"");}var _a34=this.checkAcceptance(_a32,_a33);this._changeState("Target",_a34?"":"Disabled");if(this==_a32){_a23.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_a35){return _a1c.map(_a35,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_a36,_a37,copy){if(this.containerState=="Over"){var tree=this.tree,_a38=tree.model,_a39=this.targetAnchor;this.isDragging=false;var _a3a;var _a3b;var _a3c;_a3a=(_a39&&_a39.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_a3a=(_a39.getParent()&&_a39.getParent().item)||tree.item;_a3b=_a39.getIndexInParent();if(this.dropPosition=="After"){_a3b=_a39.getIndexInParent()+1;_a3c=_a39.getNextSibling()&&_a39.getNextSibling().item;}else{_a3c=_a39.item;}}else{_a3a=(_a39&&_a39.item)||tree.item;}var _a3d;_a1c.forEach(_a37,function(node,idx){var _a3e=_a36.getItem(node.id);if(_a1c.indexOf(_a3e.type,"treeNode")!=-1){var _a3f=_a3e.data,_a40=_a3f.item,_a41=_a3f.getParent().item;}if(_a36==this){if(typeof _a3b=="number"){if(_a3a==_a41&&_a3f.getIndexInParent()<_a3b){_a3b-=1;}}_a38.pasteItem(_a40,_a41,_a3a,copy,_a3b,_a3c);}else{if(_a38.isItem(_a40)){_a38.pasteItem(_a40,_a41,_a3a,copy,_a3b,_a3c);}else{if(!_a3d){_a3d=this.itemCreator(_a37,_a39.rowNode,_a36);}_a38.newItem(_a3d[idx],_a3a,_a3b,_a3c);}}},this);this.tree._expandNode(_a39);}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);_a23.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_a23.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_a42,_a43){if(!_a42.tree||_a42.tree!=this.tree){return false;}var root=_a42.tree.domNode;var ids=_a42.selection;var node=_a43.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 _a25;});},"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(_a44,_a45,_a46,dom,_a47,_a48,has,_a49){var _a4a=(_a49._isElementShown=function(elem){var s=_a48.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_a47.get(elem,"type")!="hidden");});_a49.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _a47.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _a4b=elem.contentDocument;if("designMode" in _a4b&&_a4b.designMode=="on"){return true;}body=_a4b.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 _a4c=(_a49.isTabNavigable=function(elem){if(_a47.get(elem,"disabled")){return false;}else{if(_a47.has(elem,"tabIndex")){return _a47.get(elem,"tabIndex")>=0;}else{return _a49.hasDefaultTabStop(elem);}}});_a49._getTabNavigable=function(root){var _a4d,last,_a4e,_a4f,_a50,_a51,_a52={};function _a53(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _a54=function(_a55){for(var _a56=_a55.firstChild;_a56;_a56=_a56.nextSibling){if(_a56.nodeType!=1||(has("ie")<=9&&_a56.scopeName!=="HTML")||!_a4a(_a56)){continue;}if(_a4c(_a56)){var _a57=+_a47.get(_a56,"tabIndex");if(!_a47.has(_a56,"tabIndex")||_a57==0){if(!_a4d){_a4d=_a56;}last=_a56;}else{if(_a57>0){if(!_a4e||_a57<_a4f){_a4f=_a57;_a4e=_a56;}if(!_a50||_a57>=_a51){_a51=_a57;_a50=_a56;}}}var rn=_a53(_a56);if(_a47.get(_a56,"checked")&&rn){_a52[rn]=_a56;}}if(_a56.nodeName.toUpperCase()!="SELECT"){_a54(_a56);}}};if(_a4a(root)){_a54(root);}function rs(node){return _a52[_a53(node)]||node;};return {first:rs(_a4d),last:rs(last),lowest:rs(_a4e),highest:rs(_a50)};};_a49.getFirstInTabbingOrder=function(root,doc){var _a58=_a49._getTabNavigable(dom.byId(root,doc));return _a58.lowest?_a58.lowest:_a58.first;};_a49.getLastInTabbingOrder=function(root,doc){var _a59=_a49._getTabNavigable(dom.byId(root,doc));return _a59.last?_a59.last:_a59.highest;};return {hasDefaultTabStop:_a49.hasDefaultTabStop,isTabNavigable:_a49.isTabNavigable,_getTabNavigable:_a49._getTabNavigable,getFirstInTabbingOrder:_a49.getFirstInTabbingOrder,getLastInTabbingOrder:_a49.getLastInTabbingOrder};});},"dijit/form/_ToggleButtonMixin":function(){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_a5a,_a5b){return _a5a("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _a5c=this.checked;this._set("checked",!_a5c);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_a5c);return ret;},_setCheckedAttr:function(_a5d,_a5e){this._set("checked",_a5d);var node=this.focusNode||this.domNode;_a5b.set(node,"checked",!!_a5d);if(_a5d){node.setAttribute("checked","");}else{node.removeAttribute("checked");}node.setAttribute(this._aria_attr,String(_a5d));this._handleOnChange(_a5d,_a5e);},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(_a5f,_a60,_a61,_a62,has,_a63,lang,_a64,_a65,_a66,_a67,_a68,_a69){function _a6a(){};function _a6b(_a6c){return function(obj,_a6d,_a6e,_a6f){if(obj&&typeof _a6d=="string"&&obj[_a6d]==_a6a){return obj.on(_a6d.substring(2).toLowerCase(),lang.hitch(_a6e,_a6f));}return _a6c.apply(_a61,arguments);};};_a5f.around(_a61,"connect",_a6b);if(_a63.connect){_a5f.around(_a63,"connect",_a6b);}var _a70=_a62("dijit._Widget",[_a67,_a68,_a69],{onClick:_a6a,onDblClick:_a6a,onKeyDown:_a6a,onKeyPress:_a6a,onKeyUp:_a6a,onMouseDown:_a6a,onMouseMove:_a6a,onMouseOut:_a6a,onMouseOver:_a6a,onMouseLeave:_a6a,onMouseEnter:_a6a,onMouseUp:_a6a,constructor:function(_a71){this._toConnect={};for(var name in _a71){if(this[name]===_a6a){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_a71[name];delete _a71[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)]===_a6a){return _a61.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_a72){_a63.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_a72);},attr:function(name,_a73){if(_a60.isDebug){var _a74=arguments.callee._ach||(arguments.callee._ach={}),_a75=(arguments.callee.caller||"unknown caller").toString();if(!_a74[_a75]){_a63.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_a75,"","2.0");_a74[_a75]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_a63.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_a64("[widgetId]",this.containerNode).map(_a66.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_a65(0,function(){var _a76=["dijit/_base"];require(_a76);});}return _a70;});},"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./ready","./_base/window"],function(dojo,_a77,dom,on,has,_a78,_a79,win){var _a7a=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 _a7b,_a7c;if(_a7a){_a79(function(){_a7c=win.body();win.doc.addEventListener("touchstart",function(evt){var _a7d=_a7c;_a7c=evt.target;on.emit(_a7d,"dojotouchout",{target:_a7d,relatedTarget:_a7c,bubbles:true});on.emit(_a7c,"dojotouchover",{target:_a7c,relatedTarget:_a7d,bubbles:true});},true);on(win.doc,"touchmove",function(evt){var _a7e=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_a7e&&_a7c!==_a7e){on.emit(_a7c,"dojotouchout",{target:_a7c,relatedTarget:_a7e,bubbles:true});on.emit(_a7e,"dojotouchover",{target:_a7e,relatedTarget:_a7c,bubbles:true});_a7c=_a7e;}});});_a7b=function(node,_a7f){return on(win.doc,"touchmove",function(evt){if(node===win.doc||dom.isDescendant(_a7c,node)){evt.target=_a7c;_a7f.call(this,evt);}});};}function _a80(type){return function(node,_a81){return on(node,type,_a81);};};var _a82={press:_a80(_a7a?"touchstart":"mousedown"),move:_a7a?_a7b:_a80("mousemove"),release:_a80(_a7a?"touchend":"mouseup"),cancel:_a7a?_a80("touchcancel"):_a78.leave,over:_a80(_a7a?"dojotouchover":"mouseover"),out:_a80(_a7a?"dojotouchout":"mouseout"),enter:_a78._eventHandler(_a7a?"dojotouchover":"mouseover"),leave:_a78._eventHandler(_a7a?"dojotouchout":"mouseout")};1&&(dojo.touch=_a82);return _a82;});},"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,_a83,dojo,_a84,_a85,_a86,dom,_a87,geom,_a88,_a89){if(!dojo.isAsync){_a88(0,function(){var _a8a=["./fx/Toggler"];_a89(_a8a);});}var _a8b=dojo.fx={};var _a8c={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _a8d=function(_a8e){this._index=-1;this._animations=_a8e||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_a84.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_a8d.prototype=new _a83();lang.extend(_a8d,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_a85.disconnect(this._onAnimateCtx);_a85.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=_a85.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_a85.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_a8f,_a90){if(!this._current){this._current=this._animations[this._index=0];}if(!_a90&&this._current.status()=="playing"){return this;}var _a91=_a85.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_a92=_a85.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_a93=_a85.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_a85.disconnect(_a91);_a85.disconnect(_a92);_a85.disconnect(_a93);});if(this._onAnimateCtx){_a85.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_a85.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_a85.disconnect(this._onEndCtx);}this._onEndCtx=_a85.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_a85.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_a85.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_a94,_a95){this.pause();var _a96=this.duration*_a94;this._current=null;_a84.some(this._animations,function(a){if(a.duration<=_a96){this._current=a;return true;}_a96-=a.duration;return false;});if(this._current){this._current.gotoPercent(_a96/this._current.duration,_a95);}return this;},stop:function(_a97){if(this._current){if(_a97){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_a85.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_a85.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_a85.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_a85.disconnect(this._onEndCtx);}}});lang.extend(_a8d,_a8c);_a8b.chain=function(_a98){return new _a8d(_a98);};var _a99=function(_a9a){this._animations=_a9a||[];this._connects=[];this._finished=0;this.duration=0;_a84.forEach(_a9a,function(a){var _a9b=a.duration;if(a.delay){_a9b+=a.delay;}if(this.duration<_a9b){this.duration=_a9b;}this._connects.push(_a85.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _a86.Animation({curve:[0,1],duration:this.duration});var self=this;_a84.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_a85.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_a99,{_doAction:function(_a9c,args){_a84.forEach(this._animations,function(a){a[_a9c].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_a9d,args){var t=this._pseudoAnimation;t[_a9d].apply(t,args);},play:function(_a9e,_a9f){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(_aa0,_aa1){var ms=this.duration*_aa0;_a84.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_aa1);});this._call("gotoPercent",arguments);return this;},stop:function(_aa2){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_a84.forEach(this._connects,_a85.disconnect);}});lang.extend(_a99,_a8c);_a8b.combine=function(_aa3){return new _a99(_aa3);};_a8b.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_a86.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 _aa4=_a87.get(node,"height");return Math.max(_aa4,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_a85.connect(anim,"onStop",fini);_a85.connect(anim,"onEnd",fini);return anim;};_a8b.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_a86.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_a85.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_a85.connect(anim,"onStop",fini);_a85.connect(anim,"onEnd",fini);return anim;};_a8b.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_a87.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=_a86.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_a85.connect(anim,"beforeBegin",anim,init);return anim;};return _a8b;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_aa5,a11y){return _aa5("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _aa6=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_aa6.lowest||_aa6.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_aa6.last||_aa6.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(_aa7,_aa8,_aa9,_aaa,_aab,_aac,dom,_aad,_aae,_aaf,_ab0,_ab1,_ab2,_ab3,keys,lang,on,_ab4,_ab5,when,_ab6,_ab7,_ab8,_ab9,_aba,_abb,_abc,_abd,_abe,_abf,_ac0,_ac1,_ac2){_aab=_aaa(_aab,{addCallback:function(_ac3){this.then(_ac3);},addErrback:function(_ac4){this.then(null,_ac4);}});var _ac5=_aaa("dijit._TreeNode",[_ab9,_aba,_abb,_abc,_abd],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_abe,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(_ac6){var _ac7=(Math.max(_ac6,0)*this.tree._nodePixelIndent)+"px";_aaf.set(this.domNode,"backgroundPosition",_ac7+" 0px");_aaf.set(this.indentNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_ac7);_aa7.forEach(this.getChildren(),function(_ac8){_ac8.set("indent",_ac6+1);});this._set("indent",_ac6);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_ac9=tree.model;if(tree._v10Compat&&item===_ac9.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,_aca,_acb){var _acc="_"+_aca+"Class";var _acd=_aca+"Node";var _ace=this[_acc];this[_acc]=this.tree["get"+_acb+"Class"](item,this.isExpanded);_aad.replace(this[_acd],this[_acc]||"",_ace||"");_aaf.set(this[_acd],this.tree["get"+_acb+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _acf=this.getParent();if(!_acf||!_acf.rowNode||_acf.rowNode.style.display=="none"){_aad.add(this.domNode,"dijitTreeIsRoot");}else{_aad.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_ad0){var _ad1=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_ad2=["*","-","+","*"],idx=_ad0?0:(this.isExpandable?(this.isExpanded?1:2):3);_aad.replace(this.expandoNode,_ad1[idx],_ad1);this.expandoNodeText.innerHTML=_ad2[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");}_aad.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,_ad3=_ab2.wipeIn({node:this.containerNode,duration:_ab8.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._expandDeferred=new _aab(function(){_ad3.stop();}));_ad3.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");}_aad.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var def,_ad4=_ab2.wipeOut({node:this.containerNode,duration:_ab8.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._collapseDeferred=new _aab(function(){_ad4.stop();}));_ad4.play();return def;},indent:0,setChildItems:function(_ad5){var tree=this.tree,_ad6=tree.model,defs=[];var _ad7=this.getChildren();_aa7.forEach(_ad7,function(_ad8){_abb.prototype.removeChild.call(this,_ad8);},this);this.defer(function(){_aa7.forEach(_ad7,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);var id=_ad6.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _ad9=_aa7.indexOf(ary,node);if(_ad9!=-1){ary.splice(_ad9,1);}}node.destroyRecursive();}});});this.state="LOADED";if(_ad5&&_ad5.length>0){this.isExpandable=true;_aa7.forEach(_ad5,function(item){var id=_ad6.getIdentity(item),_ada=tree._itemNodesMap[id],node;if(_ada){for(var i=0;i<_ada.length;i++){if(_ada[i]&&!_ada[i].getParent()){node=_ada[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_ad6.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(_ada){_ada.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_aa7.forEach(this.getChildren(),function(_adb){_adb._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 _aac(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 _adc=this.getChildren();if(_adc.length==0){this.isExpandable=false;this.collapse();}_aa7.forEach(_adc,function(_add){_add._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_ade){this.labelNode.setAttribute("aria-selected",_ade?"true":"false");_aad.toggle(this.rowNode,"dijitTreeRowSelected",_ade);},setFocusable:function(_adf){this.labelNode.setAttribute("tabIndex",_adf?"0":"-1");},_setTextDirAttr:function(_ae0){if(_ae0&&((this.textDir!=_ae0)||!this._created)){this._set("textDir",_ae0);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_aa7.forEach(this.getChildren(),function(_ae1){_ae1.set("textDir",_ae0);},this);}}});var Tree=_aaa("dijit.Tree",[_ab9,_aba],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_abf,persist:true,autoExpand:false,dndController:_ac2,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(_ae2,_ae3){_ab4.publish(this.id,lang.mixin({tree:this,event:_ae2},_ae3||{}));},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 _aab();this.pendingCommandsDeferred=this.expandChildrenDeferred;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.domNode,on.selector(".dijitTreeNode",_ab5.enter),function(evt){self._onNodeMouseEnter(_ab7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode",_ab5.leave),function(evt){self._onNodeMouseLeave(_ab7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","click"),function(evt){self._onClick(_ab7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","dblclick"),function(evt){self._onDblClick(_ab7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keypress"),function(evt){self._onKeyPress(_ab7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keydown"),function(evt){self._onKeyDown(_ab7.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","focusin"),function(evt){self._onNodeFocus(_ab7.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 _ae4={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_ae4[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_ae4);}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;_ab3.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _ae5={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_ae5.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_ae5.getChildren=lang.hitch(this,function(item,_ae6,_ae7){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_ae6,_ae7);});}this.model=new _ac1(_ae5);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 _ae8=this.model.getIdentity(item);if(this._itemNodesMap[_ae8]){this._itemNodesMap[_ae8].push(rn);}else{this._itemNodesMap[_ae8]=[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 _ae9=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_ae9]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_aea){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(lang.hitch(this,function(){var _aeb=_aa7.map(_aea,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _aec=[];_aa7.forEach(_aeb,function(id){_aec=_aec.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_aec);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_aed){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(function(){return new _aac(_aa7.map(_aed,function(path){var d=new _aab();path=_aa7.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){_aee(path,[tree.rootNode],d);}else{d.reject(new Tree.PathError("Empty path"));}return d;}));}).then(_aef);function _aee(path,_af0,def){var _af1=path.shift();var _af2=_aa7.filter(_af0,function(node){return node.getIdentity()==_af1;})[0];if(!!_af2){if(path.length){tree._expandNode(_af2).then(function(){_aee(path,_af2.getChildren(),def);});}else{def.resolve(_af2);}}else{def.reject(new Tree.PathError("Could not expand path at "+_af1));}};function _aef(_af3){tree.set("selectedNodes",_aa7.map(_aa7.filter(_af3,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_af4){this.dndController.setSelection(_af4);},expandAll:function(){var _af5=this;function _af6(node){var def=new dojo.Deferred();_af5._expandNode(node).then(function(){var _af7=_aa7.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_aa7.map(_af7,_af6);new dojo.DeferredList(defs).then(function(){def.resolve(true);});});return def;};return _af6(this.rootNode);},collapseAll:function(){var _af8=this;function _af9(node){var def=new dojo.Deferred();def.label="collapseAllDeferred";var _afa=_aa7.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_aa7.map(_afa,_af9);new dojo.DeferredList(defs).then(function(){if(!node.isExpanded||(node==_af8.rootNode&&!_af8.showRoot)){def.resolve(true);}else{_af8._collapseNode(node).then(function(){def.resolve(true);});}});return def;};return _af9(this.rootNode);},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_afb){return (!item||this.model.mayHaveChildren(item))?(_afb?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(_afc,e){if(e.charCode<=32){return;}if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){var c=String.fromCharCode(e.charCode);this._onLetterKeyNav({node:_afc,key:c.toLowerCase()});_ab0.stop(e);}},_onKeyDown:function(_afd,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:_afd,item:_afd.item,evt:e});_ab0.stop(e);}},_onEnterKey:function(_afe){this._publish("execute",{item:_afe.item,node:_afe.node});this.dndController.userSelect(_afe.node,_aa8.isCopyKey(_afe.evt),_afe.evt.shiftKey);this.onClick(_afe.item,_afe.node,_afe.evt);},_onDownArrow:function(_aff){var node=this._getNextNode(_aff.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_b00){var node=_b00.node;var _b01=node.getPreviousSibling();if(_b01){node=_b01;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _b02=node.getChildren();node=_b02[_b02.length-1];}}else{var _b03=node.getParent();if(!(!this.showRoot&&_b03===this.rootNode)){node=_b03;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_b04){var node=_b04.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(_b05){var node=_b05.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _b06=node.getParent();if(_b06&&_b06.isTreeNode&&!(!this.showRoot&&_b06===this.rootNode)){this.focusNode(_b06);}}},_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(_b07){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_b07.key;cs.timer.remove();}else{cs=this._curSearch={pattern:_b07.key,startNode:_b07.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,_b08){return dom.isDescendant(node,_b08.expandoNode)||dom.isDescendant(node,_b08.expandoNodeText);},_onClick:function(_b09,e){var _b0a=e.target,_b0b=this.isExpandoNode(_b0a,_b09);if((this.openOnClick&&_b09.isExpandable)||_b0b){if(_b09.isExpandable){this._onExpandoClick({node:_b09});}}else{this._publish("execute",{item:_b09.item,node:_b09,evt:e});this.onClick(_b09.item,_b09,e);this.focusNode(_b09);}_ab0.stop(e);},_onDblClick:function(_b0c,e){var _b0d=e.target,_b0e=(_b0d==_b0c.expandoNode||_b0d==_b0c.expandoNodeText);if((this.openOnDblClick&&_b0c.isExpandable)||_b0e){if(_b0c.isExpandable){this._onExpandoClick({node:_b0c});}}else{this._publish("execute",{item:_b0c.item,node:_b0c,evt:e});this.onDblClick(_b0c.item,_b0c,e);this.focusNode(_b0c);}_ab0.stop(e);},_onExpandoClick:function(_b0f){var node=_b0f.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 _b10=node.getNextSibling();if(_b10){return _b10;}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 _aab();if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _b11=this.model,item=node.item,_b12=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _aab();_b11.getChildren(item,function(_b13){node.unmarkProcessing();node.setChildItems(_b13).then(function(){node._loadDeferred.resolve(_b13);});},function(err){console.error(_b12,": 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){_ab6.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 _b14=this.model,_b15=_b14.getIdentity(item),_b16=this._itemNodesMap[_b15];if(_b16){var _b17=this.getLabel(item),_b18=this.getTooltip(item);_aa7.forEach(_b16,function(node){node.set({item:item,label:_b17,tooltip:_b18});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_b19,_b1a){var _b1b=this.model,_b1c=_b1b.getIdentity(_b19),_b1d=this._itemNodesMap[_b1c];if(_b1d){_aa7.forEach(_b1d,function(_b1e){_b1e.setChildItems(_b1a);});}},_onItemDelete:function(item){var _b1f=this.model,_b20=_b1f.getIdentity(item),_b21=this._itemNodesMap[_b20];if(_b21){_aa7.forEach(_b21,function(node){this.dndController.removeTreeNode(node);var _b22=node.getParent();if(_b22){_b22.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_b20];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_aa9(this.cookieName);if(oreo){_aa7.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_b23){if(!this.persist){return false;}var path=_aa7.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_b23){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);}_aa9(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(_b24){if(_b24){_aae.setMarginBox(this.domNode,_b24);}this._nodePixelIndent=_aae.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 _b25=0,_b26=[];function _b27(_b28){var node=_b28.rowNode;node.style.width="auto";_b25=Math.max(_b25,node.clientWidth);_b26.push(node);if(_b28.isExpanded){_aa7.forEach(_b28.getChildren(),_b27);}};_b27(this.rootNode);_b25=Math.max(_b25,_aae.getContentBox(this.domNode).w);_aa7.forEach(_b26,function(node){node.style.width=_b25+"px";});},_createTreeNode:function(args){return new _ac5(args);},_setTextDirAttr:function(_b29){if(_b29&&this.textDir!=_b29){this._set("textDir",_b29);this.rootNode.set("textDir",_b29);}}});Tree.PathError=_ab1("TreePathError");Tree._TreeNode=_ac5;return Tree;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_b2a,has,_b2b,_b2c){return _b2a("dijit.form._FormValueWidget",[_b2b,_b2c],{_layoutHackIE7:function(){if(has("ie")==7){var _b2d=this.domNode;var _b2e=_b2d.parentNode;var _b2f=_b2d.firstChild||_b2d;var _b30=_b2f.style.filter;var _b31=this;while(_b2e&&_b2e.clientHeight==0){(function ping(){var _b32=_b31.connect(_b2e,"onscroll",function(){_b31.disconnect(_b32);_b2f.style.filter=(new Date()).getMilliseconds();_b31.defer(function(){_b2f.style.filter=_b30;});});})();_b2e=_b2e.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);